@teambit/env 1.0.811 → 1.0.812

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- (self.__loadChunks_EnvTemplate=self.__loadChunks_EnvTemplate||[]).push([[41],{5041:(__unused_webpack_module,__unused_webpack___webpack_exports__,__webpack_require__)=>{"use strict";var main_d3e6dea9=__webpack_require__(78756);(0,main_d3e6dea9.e)({"teambit.workspace/workspace":{name:"bit",icon:"https://static.bit.dev/bit-logo.svg",defaultScope:"teambit.bit",defaultDirectory:"components",resolveEnvsFromRoots:!1},"teambit.dependencies/dependency-resolver":{policy:{dependencies:{"@babel/core":"7.28.3","@babel/plugin-proposal-decorators":"7.28.0","@babel/plugin-transform-class-properties":"7.27.1","@babel/plugin-transform-modules-commonjs":"7.27.1","@babel/plugin-transform-object-rest-spread":"7.28.0","@babel/plugin-transform-runtime":"7.28.3","@babel/preset-env":"7.28.3","@babel/preset-react":"7.27.1","@babel/preset-typescript":"7.27.1","@babel/register":"7.28.3","@babel/runtime":"7.28.3","@babel/types":"7.28.2","@bitdev/node.generators.node-templates":"^4.0.1","@bitdev/react.generators.react-templates":"^4.0.2","@bitdev/symphony.generators.symphony-templates":"^3.0.4","@dagrejs/dagre":"^1.1.2","@graphql-modules/core":"0.7.17","@graphql-tools/schema":"^10.0.0","@jest/test-result":"29.3.1","@lydell/node-pty":"^1.0.0","@mdx-js/mdx":"1.6.21","@mdx-js/react":"1.6.22","@modelcontextprotocol/sdk":"^1.22.0","@monaco-editor/react":"4.4.6","@parcel/watcher":"^2.5.1","@pmmmwh/react-refresh-webpack-plugin":"0.5.4","@pnpm/client":"1001.1.1","@pnpm/colorize-semver-diff":"1.0.1","@pnpm/config":"1004.4.0","@pnpm/core":"1011.0.0","@pnpm/default-reporter":"1002.0.9","@pnpm/dependency-path":"1001.1.2","@pnpm/error":"1000.0.5","@pnpm/fetch":"1000.2.5","@pnpm/list":"^1000.1.2","@pnpm/lockfile.filtering":"^1001.0.20","@pnpm/lockfile.fs":"^1001.1.20","@pnpm/lockfile.types":"^1002.0.1","@pnpm/logger":"1001.0.1","@pnpm/modules-yaml":"1000.3.5","@pnpm/network.ca-file":"3.0.3","@pnpm/node-fetch":"^1.0.0","@pnpm/npm-resolver":"1004.3.0","@pnpm/package-store":"1003.0.0","@pnpm/parse-overrides":"1001.0.3","@pnpm/plugin-commands-publishing":"1000.2.16","@pnpm/plugin-commands-rebuild":"1003.0.0","@pnpm/registry-mock":"3.48.0","@pnpm/reviewing.dependencies-hierarchy":"^1001.1.2","@pnpm/semver-diff":"1.1.0","@pnpm/sort-packages":"1000.0.10","@pnpm/store-connection-manager":"1002.2.1","@pnpm/types":"1000.8.0","@pnpm/worker":"1000.2.0","@pnpm/workspace.pkgs-graph":"1000.0.23","@react-hook/latest":"1.0.3","@svgr/webpack":"8.1.0","@teambit/any-fs":"0.0.5","@teambit/api-reference.explorer.api-reference-explorer":"^0.0.39","@teambit/api-reference.hooks.use-api":"^0.0.57","@teambit/api-reference.hooks.use-api-ref-url":"^0.0.25","@teambit/api-reference.hooks.use-api-renderers":"^0.0.37","@teambit/api-reference.models.api-node-renderer":"^0.0.53","@teambit/api-reference.models.api-reference-model":"^0.0.53","@teambit/api-reference.overview.api-reference-table-of-contents":"^0.0.39","@teambit/api-reference.renderers.api-node-details":"^0.0.82","@teambit/api-reference.renderers.class":"^0.0.84","@teambit/api-reference.renderers.decorator":"^0.0.40","@teambit/api-reference.renderers.default-node-renderers":"^0.0.2","@teambit/api-reference.renderers.enum":"^0.0.84","@teambit/api-reference.renderers.function":"^0.0.86","@teambit/api-reference.renderers.grouped-schema-nodes-summary":"^0.0.80","@teambit/api-reference.renderers.inference-type":"^0.0.64","@teambit/api-reference.renderers.interface":"^0.0.84","@teambit/api-reference.renderers.parameter":"^0.0.67","@teambit/api-reference.renderers.react":"^0.0.69","@teambit/api-reference.renderers.schema-node-member-summary":"^0.0.78","@teambit/api-reference.renderers.schema-nodes-index":"^0.0.72","@teambit/api-reference.renderers.this":"^0.0.71","@teambit/api-reference.renderers.tuple-type":"^0.0.15","@teambit/api-reference.renderers.type":"^0.0.82","@teambit/api-reference.renderers.type-array":"^0.0.55","@teambit/api-reference.renderers.type-intersection":"^0.0.55","@teambit/api-reference.renderers.type-literal":"^0.0.75","@teambit/api-reference.renderers.type-ref":"^0.0.99","@teambit/api-reference.renderers.type-union":"^0.0.55","@teambit/api-reference.renderers.unresolved":"^0.0.82","@teambit/api-reference.renderers.variable":"^0.0.82","@teambit/api-reference.sections.api-reference-page":"^0.0.120","@teambit/api-reference.sections.api-reference-section":"^0.0.16","@teambit/api-reference.utils.code-editor-options":"^0.0.16","@teambit/api-reference.utils.copy-schema-node":"^0.0.45","@teambit/api-reference.utils.custom-prism-syntax-highlighter-theme":"^0.0.16","@teambit/api-reference.utils.group-schema-node-by-signature":"^0.0.45","@teambit/api-reference.utils.schema-node-signature-transform":"^0.0.47","@teambit/api-reference.utils.sort-api-nodes":"^0.0.53","@teambit/base-react.navigation.link":"^2.0.33","@teambit/base-react.themes.theme-switcher":"^1.1.2","@teambit/base-ui.constants.storage":"1.0.0","@teambit/base-ui.graph.tree.indent":"1.0.0","@teambit/base-ui.graph.tree.inflate-paths":"1.0.0","@teambit/base-ui.graph.tree.recursive-tree":"1.0.5","@teambit/base-ui.graph.tree.tree-context":"1.0.5","@teambit/base-ui.layout.breakpoints":"1.0.0","@teambit/base-ui.layout.page-frame":"1.0.0","@teambit/base-ui.loaders.loader-ribbon":"1.0.0","@teambit/base-ui.loaders.skeleton":"1.0.1","@teambit/base-ui.routing.nav-link":"^1.0.4","@teambit/base-ui.routing.routing-provider":"^1.0.4","@teambit/base-ui.styles.flex-center":"1.0.0","@teambit/base-ui.surfaces.card":"1.0.1","@teambit/base-ui.surfaces.split-pane.hover-splitter":"1.0.0","@teambit/base-ui.surfaces.split-pane.split-pane":"1.0.0","@teambit/base-ui.text.muted-text":"1.0.1","@teambit/base-ui.text.paragraph":"1.0.1","@teambit/base-ui.theme.colors":"1.0.0","@teambit/base-ui.theme.dark-theme":"1.0.2","@teambit/base-ui.theme.fonts.book":"1.0.2","@teambit/base-ui.theme.fonts.roboto":"1.0.0","@teambit/base-ui.theme.theme-provider":"1.0.1","@teambit/base-ui.utils.composer":"1.0.0","@teambit/base-ui.utils.string.affix":"1.0.0","@teambit/base-ui.utils.time-ago":"1.0.1","@teambit/bit-error":"~0.0.404","@teambit/bit.content.what-is-bit":"1.96.12","@teambit/bvm.config":"^1.0.1","@teambit/bvm.list":"0.1.15","@teambit/bvm.path":"^0.1.2","@teambit/capsule":"0.0.12","@teambit/code.ui.code-compare-section":"0.0.7","@teambit/code.ui.code-tab-tree":"^0.0.620","@teambit/code.ui.hooks.use-code-params":"0.0.497","@teambit/code.ui.object-formatter":"0.0.1","@teambit/code.ui.queries.get-component-code":"^0.0.503","@teambit/code.ui.queries.get-file-content":"^0.0.505","@teambit/code.ui.utils.get-file-icon":"0.0.496","@teambit/community.starters.hello-world":"^0.0.16","@teambit/compilation.babel-compiler":"^1.1.18","@teambit/compilation.content.compiler-overview":"1.96.17","@teambit/component-id":"^1.2.4","@teambit/component-version":"^1.0.4","@teambit/component.content.component-overview":"1.95.0","@teambit/component.content.dev-files":"1.95.9","@teambit/component.instructions.exporting-components":"0.0.7","@teambit/component.ui.artifacts.artifacts-tree":"^0.0.28","@teambit/component.ui.artifacts.models.component-artifacts-model":"^0.0.12","@teambit/component.ui.artifacts.queries.use-component-artifacts":"^0.0.14","@teambit/component.ui.component-compare.compare-aspects.compare-aspects":"^0.0.152","@teambit/component.ui.component-compare.hooks.use-component-compare":"^0.0.113","@teambit/component.ui.component-compare.hooks.use-component-compare-url":"^0.0.13","@teambit/component.ui.component-compare.layouts.compare-split-layout-preset":"^0.0.10","@teambit/component.ui.component-compare.models.component-compare-change-type":"^0.0.7","@teambit/component.ui.component-compare.models.component-compare-hooks":"^0.0.11","@teambit/component.ui.component-compare.models.component-compare-model":"^0.0.112","@teambit/component.ui.component-compare.models.component-compare-state":"^0.0.7","@teambit/component.ui.component-compare.status-resolver":"^0.0.9","@teambit/component.ui.component-compare.utils.group-by-version":"^0.0.8","@teambit/component.ui.component-compare.utils.sort-logs":"^0.0.8","@teambit/component.ui.component-compare.utils.sort-tabs":"0.0.104","@teambit/component.ui.component-deprecated":"^0.0.41","@teambit/component.ui.component-meta":"^0.0.368","@teambit/component.ui.component-size":"^0.0.77","@teambit/component.ui.component-status-resolver":"^0.0.510","@teambit/component.ui.deprecation-icon":"^0.0.509","@teambit/component.ui.hooks.use-fetch-docs":"^0.0.21","@teambit/component.ui.version-label":"^0.0.509","@teambit/compositions.ui.composition-compare":"^0.0.258","@teambit/compositions.ui.composition-compare-section":"^0.0.101","@teambit/compositions.ui.composition-live-controls":"^0.0.3","@teambit/compositions.ui.compositions-menu-bar":"^0.0.177","@teambit/compositions.ui.compositions-overview":"^0.0.10","@teambit/compositions.ui.hooks.use-composition":"^0.0.177","@teambit/defender.content.formatter-overview":"1.96.10","@teambit/defender.content.linter-overview":"1.95.0","@teambit/defender.content.tester-overview":"1.95.0","@teambit/defender.eslint-linter":"^1.0.56","@teambit/defender.fs.global-bit-temp-dir":"0.0.1","@teambit/defender.jest-tester":"^2.0.17","@teambit/defender.mocha-tester":"^1.0.33","@teambit/defender.prettier-formatter":"^1.0.23","@teambit/defender.tester-task":"^1.0.14","@teambit/defender.ui.test-compare-section":"^0.0.101","@teambit/defender.ui.test-loader":"^0.0.504","@teambit/defender.ui.test-table":"^0.0.511","@teambit/dependencies.modules.packages-excluder":"^1.0.8","@teambit/dependencies.pnpm.dep-path":"1.0.1","@teambit/design.buttons.action-button":"^0.0.4","@teambit/design.content.table":"^0.0.2","@teambit/design.controls.menu":"^0.0.1","@teambit/design.elements.icon":"1.0.24","@teambit/design.inputs.date-picker":"^0.0.3","@teambit/design.inputs.dropdown":"^1.3.3","@teambit/design.inputs.input-text":"^1.1.4","@teambit/design.inputs.selectors.checkbox-item":"1.2.0","@teambit/design.inputs.selectors.menu-item":"^1.1.0","@teambit/design.inputs.text-area":"^0.0.20","@teambit/design.inputs.toggle-button":"0.0.13","@teambit/design.inputs.toggle-switch":"^0.0.8","@teambit/design.navigation.responsive-navbar":"^0.0.8","@teambit/design.skeletons.base-skeleton":"^0.0.2","@teambit/design.theme.icons-font":"2.0.29","@teambit/design.themes.dark-theme":"1.91.51","@teambit/design.themes.theme-toggler":"^0.1.56","@teambit/design.ui.alert-card":"0.0.27","@teambit/design.ui.brand.logo":"1.96.19","@teambit/design.ui.contributors":"0.0.514","@teambit/design.ui.empty-box":"0.0.364","@teambit/design.ui.heading":"1.0.26","@teambit/design.ui.icon-button":"1.1.28","@teambit/design.ui.input.color-picker":"^0.0.56","@teambit/design.ui.input.option-button":"1.0.13","@teambit/design.ui.input.radio":"1.1.13","@teambit/design.ui.input.toggle":"1.0.22","@teambit/design.ui.navigation.link":"^1.96.12","@teambit/design.ui.pages.not-found":"0.0.371","@teambit/design.ui.pages.server-error":"0.0.368","@teambit/design.ui.pages.standalone-not-found-page":"0.0.370","@teambit/design.ui.pill-label":"0.0.360","@teambit/design.ui.round-loader":"0.0.355","@teambit/design.ui.separator":"0.0.367","@teambit/design.ui.skeletons.sidebar-loader":"0.0.5","@teambit/design.ui.styles.colors-by-letter":"0.0.41","@teambit/design.ui.styles.ellipsis":"0.0.357","@teambit/design.ui.surfaces.menu.link-item":"^1.0.13","@teambit/design.ui.surfaces.menu.section":"^0.0.357","@teambit/design.ui.surfaces.status-message-card":"0.0.18","@teambit/design.ui.tree":"0.0.16","@teambit/docs.content.docs-overview":"1.96.8","@teambit/docs.entities.doc":"0.0.12","@teambit/docs.ui.overview-compare":"^1.0.12","@teambit/docs.ui.overview-compare-section":"^0.0.102","@teambit/documenter.theme.theme-compositions":"4.1.5","@teambit/documenter.theme.theme-context":"4.0.7","@teambit/documenter.ui.code-snippet":"^4.2.7","@teambit/documenter.ui.copied-message":"4.1.8","@teambit/documenter.ui.copy-box":"^4.1.20","@teambit/documenter.ui.heading":"4.1.8","@teambit/documenter.ui.label":"4.0.9","@teambit/documenter.ui.linked-heading":"4.1.10","@teambit/documenter.ui.paragraph":"^4.1.8","@teambit/documenter.ui.property-table":"4.1.11","@teambit/documenter.ui.section":"4.1.7","@teambit/documenter.ui.separator":"4.1.7","@teambit/documenter.ui.table":"4.1.10","@teambit/documenter.ui.table-heading-row":"4.0.11","@teambit/documenter.ui.table-row":"4.1.14","@teambit/evangelist.elements.button":"1.0.6","@teambit/evangelist.elements.icon":"1.0.5","@teambit/evangelist.input.checkbox.label":"^1.1.0","@teambit/evangelist.surfaces.dropdown":"1.0.3","@teambit/explorer.ui.command-bar":"^2.0.19","@teambit/explorer.ui.component-card":"^0.0.51","@teambit/explorer.ui.gallery.component-grid":"0.0.496","@teambit/git.modules.git-ignore":"^1.0.2","@teambit/gitconfig":"2.0.10","@teambit/graph.cleargraph":"0.0.11","@teambit/harmony":"0.4.7","@teambit/html.modules.inject-html-element":"0.0.5","@teambit/lane-id":"~0.0.312","@teambit/lanes.ui.compare.lane-compare":"^0.0.205","@teambit/lanes.ui.compare.lane-compare-page":"^0.0.173","@teambit/lanes.ui.icons.lane-icon":"^0.0.9","@teambit/lanes.ui.lane-details":"^0.0.205","@teambit/lanes.ui.menus.lanes-overview-menu":"^0.0.11","@teambit/lanes.ui.navigation.lane-switcher":"^0.0.235","@teambit/legacy-bit-id":"^1.1.3","@teambit/mdx.compilers.mdx-transpiler":"^1.0.11","@teambit/mdx.generator.mdx-templates":"^1.0.14","@teambit/mdx.modules.mdx-loader":"^1.0.15","@teambit/mdx.ui.mdx-layout":"^1.0.12","@teambit/mdx.ui.mdx-scope-context":"^1.0.7","@teambit/node.deps-detectors.detective-es6":"~0.0.6","@teambit/node.utils.esm-loader":"^0.0.7","@teambit/pkg.config.auth":"^0.0.3","@teambit/pkg.content.packages-overview":"1.96.9","@teambit/pkg.entities.registry":"^0.0.4","@teambit/pkg.package-json.validator":"0.0.1","@teambit/preview.cli.dev-server-events-listener":"^0.0.1","@teambit/preview.modules.preview-modules":"^1.0.3","@teambit/react.content.react-overview":"1.96.5","@teambit/react.instructions.react.adding-compositions":"0.0.7","@teambit/react.instructions.react.adding-tests":"0.0.6","@teambit/react.jest.react-jest":"^1.0.37","@teambit/react.rendering.ssr":"^1.0.3","@teambit/react.ui.component-highlighter":"0.2.5","@teambit/react.webpack.react-webpack":"^1.0.50","@teambit/scope.content.scope-overview":"1.96.8","@teambit/scope.ui.empty-scope":"^0.0.510","@teambit/scope.ui.hooks.use-scope":"^0.0.456","@teambit/scope.ui.scope-details":"^0.0.526","@teambit/scope.ui.scope-icon":"0.0.99","@teambit/scopes.scope-descriptor":"^0.0.34","@teambit/scopes.scope-id":"^0.0.9","@teambit/styling.deps-detectors.detective-css":"~0.0.6","@teambit/styling.deps-detectors.detective-less":"~0.0.6","@teambit/styling.deps-detectors.detective-sass":"~0.0.9","@teambit/styling.deps-detectors.detective-scss":"~0.0.9","@teambit/styling.deps-lookups.lookup-styling":"~0.0.4","@teambit/tagged-exports":"^0.0.47","@teambit/tests-results":"^1.0.5","@teambit/toolbox.fs.readdir-skip-system-files":"~0.0.2","@teambit/toolbox.network.agent":"~0.0.554","@teambit/toolbox.object.sorter":"~0.0.2","@teambit/toolbox.time.time-format":"^0.0.502","@teambit/typescript.deps-detectors.detective-typescript":"~0.0.10","@teambit/typescript.deps-lookups.lookup-typescript":"~0.0.2","@teambit/typescript.typescript-compiler":"^2.0.63","@teambit/ui-foundation.ui.constants.z-indexes":"^0.0.504","@teambit/ui-foundation.ui.corner":"^0.0.520","@teambit/ui-foundation.ui.empty-component-gallery":"^0.0.512","@teambit/ui-foundation.ui.full-loader":"^0.0.500","@teambit/ui-foundation.ui.global-loader":"^0.0.502","@teambit/ui-foundation.ui.hooks.use-data-query":"^0.0.506","@teambit/ui-foundation.ui.hooks.use-is-mobile":"^0.0.200","@teambit/ui-foundation.ui.hooks.use-user-agent":"^0.0.200","@teambit/ui-foundation.ui.is-browser":"^0.0.500","@teambit/ui-foundation.ui.keycap":"^0.0.500","@teambit/ui-foundation.ui.main-dropdown":"^0.0.505","@teambit/ui-foundation.ui.menu":"^0.0.503","@teambit/ui-foundation.ui.menu-widget-icon":"^0.0.502","@teambit/ui-foundation.ui.navigation.react-router-adapter":"^6.1.3","@teambit/ui-foundation.ui.notifications.notification-center":"^0.0.523","@teambit/ui-foundation.ui.notifications.notification-context":"^0.0.501","@teambit/ui-foundation.ui.notifications.store":"^0.0.500","@teambit/ui-foundation.ui.react-router.use-query":"^0.0.505","@teambit/ui-foundation.ui.top-bar":"^0.0.515","@teambit/ui-foundation.ui.tree.drawer":"^1.0.0","@teambit/ui-foundation.ui.tree.file-tree":"0.0.526","@teambit/ui-foundation.ui.tree.folder-tree-node":"0.0.510","@teambit/ui-foundation.ui.tree.tree-node":"0.0.517","@teambit/ui-foundation.ui.use-box.bottom-link":"^0.0.119","@teambit/ui-foundation.ui.use-box.dropdown":"^0.0.150","@teambit/ui-foundation.ui.use-box.menu":"^1.0.16","@teambit/ui-foundation.ui.use-box.scope-menu":"^0.0.147","@teambit/ui-foundation.ui.use-box.tab":"^0.0.122","@teambit/workspace.content.variants":"1.96.7","@teambit/workspace.content.workspace-overview":"1.96.6","@teambit/workspace.root-components":"^1.0.1","@teambit/workspace.ui.empty-workspace":"^0.0.509","@teambit/workspace.ui.load-preview":"^0.0.504","@testing-library/jest-dom":"5.16.5","@testing-library/react":"12.1.5","@tippyjs/react":"4.2.0","@types/archiver":"5.3.1","@types/cacache":"12.0.1","@types/chai":"4.2.15","@types/chai-arrays":"1.0.3","@types/chai-fs":"2.0.2","@types/chai-string":"1.4.2","@types/classnames":"^2.3.4","@types/cli-table":"^0.3.0","@types/cors":"2.8.10","@types/didyoumean":"1.2.0","@types/diff":"^5.2.3","@types/eslint":"8.56.6","@types/eventsource":"^1.1.15","@types/express":"4.17.21","@types/find-root":"1.1.2","@types/fs-extra":"9.0.7","@types/graphlib":"2.1.7","@types/http-proxy":"^1.17.16","@types/http-proxy-agent":"2.0.2","@types/lodash":"4.14.165","@types/lodash.compact":"3.0.6","@types/lodash.flatten":"4.4.6","@types/lodash.head":"4.0.6","@types/mdx-js__react":"1.5.5","@types/memoizee":"0.4.5","@types/mime":"2.0.3","@types/mini-css-extract-plugin":"2.2.0","@types/minimatch":"3.0.4","@types/mocha":"9.1.0","@types/mousetrap":"1.6.5","@types/node":"22.10.5","@types/node-fetch":"2.5.12","@types/normalize-path":"^3.0.0","@types/object-hash":"1.3.4","@types/pluralize":"0.0.29","@types/prettier":"2.7.3","@types/pretty-time":"^1.1.5","@types/react":"^17.0.67","@types/react-dev-utils":"9.0.15","@types/react-dom":"^17.0.21","@types/react-syntax-highlighter":"15.5.13","@types/react-tabs":"2.3.2","@types/sass":"1.45.0","@types/semver":"7.5.8","@types/ssri":"^7.1.5","@types/testing-library__jest-dom":"5.9.5","@types/ua-parser-js":"0.7.35","@types/url-join":"4.0.0","@types/uuid":"8.3.4","@types/webpack":"5.28.5","@types/yargs":"17.0.0","@typescript-eslint/parser":"8.39.0","@typescript-eslint/typescript-estree":"8.39.0","@viz-js/viz":"^3.4.0","@yarnpkg/cli":"3.6.1","@yarnpkg/core":"3.5.2","@yarnpkg/fslib":"2.10.3","@yarnpkg/parsers":"2.5.1","@yarnpkg/plugin-npm":"2.7.4","@yarnpkg/plugin-pack":"3.2.0",agentkeepalive:"4.1.4","apollo-link-context":"1.0.20","apollo-link-http":"1.5.17","apollo-link-ws":"1.0.20","apollo-server":"2.26.2","apollo-utilities":"1.3.4",archiver:"5.3.1",archy:"1.0.0","array-difference":"0.0.2",assert:"^2.1.0","async-mutex":"0.3.1","async-retry":"^1.3.3","babel-plugin-transform-typescript-metadata":"0.3.2","body-parser":"1.20.3",buffer:"6.0.3",cacache:"19.0.1",camelcase:"6.2.0",chai:"4.3.0","chai-arrays":"1.1.0","chai-fs":"1.0.0","chai-string":"1.5.0","chai-subset":"^1.6.0",chalk:"4.1.2",checksum:"0.1.1",chokidar:"3.6.0",classnames:"^2.5.1","cli-highlight":"2.1.9","cli-spinners":"1.3.1","cli-table":"0.3.6",comlink:"4.3.0","command-exists":"1.2.9","comment-json":"4.2.5","compression-webpack-plugin":"11.0.0","copy-to-clipboard":"3.3.1","core-js":"3.9.0",cors:"2.8.5","credentials-by-uri":"2.0.0","cross-env":"7.0.3","cross-fetch":"3.1.5","css-minimizer-webpack-plugin":"^6.0.0",debug:"4.3.4","detect-indent":"5.0.0","detect-newline":"3.1.0","detective-amd":"3.0.1","detective-stylus":"1.0.0",didyoumean:"1.2.1",diff:"^7.0.0",doctrine:"2.1.0",dreidels:"0.6.1","enhanced-resolve":"4.5.0",enquirer:"2.4.1",eslint:"8.56.0","eslint-config-prettier":"8.5.0","eslint-import-resolver-node":"0.3.4","eslint-plugin-import":"2.29.1","eslint-plugin-mocha":"6.3.0","eslint-plugin-promise":"7.2.1","eslint-plugin-react":"7.33.2",eventemitter2:"6.4.4",events:"^3.3.0",eventsource:"^2.0.2",execa:"2.1.0","expose-loader":"3.1.0",express:"4.21.2","express-graphql":"0.12.0","express-history-api-fallback":"2.2.1",filenamify:"4.2.0","find-root":"1.1.0",firstline:"2.0.2",flatted:"3.1.0","fs-extra":"10.0.0","fuse.js":"6.6.2","get-tsconfig":"4.2.0",glob:"7.1.6",globby:"11.0.1","graceful-fs":"4.2.10",graphlib:"2.1.8","graphql-disable-introspection":"^1.2.0","graphql-request":"6.1.0","graphql-subscriptions":"1.2.0","graphql-tag":"2.12.1","graphql-type-json":"0.3.2","group-array":"1.0.0",history:"5.3.0","html-webpack-plugin":"5.3.2","http-proxy":"1.18.1","http-proxy-agent":"4.0.1","http-proxy-middleware":"^3.0.3","https-proxy-agent":"5.0.0","humanize-duration":"3.23.1","humanize-string":"2.1.0",ignore:"3.3.10",ini:"2.0.0","inject-body-webpack-plugin":"1.3.0","insert-string-after":"1.0.0","insert-string-before":"1.0.0","is-binary-path":"2.1.0","is-builtin-module":"3.1.0","is-primitive":"3.0.1","is-relative-path":"2.0.0",isbinaryfile:"4.0.6",jest:"29.3.1","jest-message-util":"29.3.1","jest-watcher":"29.7.0","js-yaml":"npm:@zkochan/js-yaml@0.0.7","json-formatter-js":"2.3.4","junit-report-builder":"3.0.1",less:"^4.1.1","lint-staged":"^12.5.0",lodash:"4.17.21","lodash.compact":"3.0.1","lodash.head":"4.0.1","lodash.partition":"4.6.0","lru-cache":"10.4.3",memoizee:"0.4.15",mime:"2.5.2","mini-css-extract-plugin":"2.2.2",minimatch:"3.0.5",mocha:"11.1.0","mocha-junit-reporter":"2.2.1","mocha-multi-reporters":"1.5.1","module-definition":"3.3.1",moment:"2.29.4",mousetrap:"1.6.5",multimatch:"5.0.0","nerf-dart":"1.0.0","node-fetch":"2.6.7","node-source-walk":"4.2.0","normalize-path":"3.0.0","object-diff":"0.0.4","object-hash":"2.1.1",open:"8.4.2","open-editor":"3.0.0",ora:"5.4.1","p-filter":"2.1.0","p-limit":"3.1.0","p-locate":"5.0.0","p-map":"4.0.0","p-map-series":"2.1.0","p-queue":"6.6.2","pad-right":"0.2.2","parse-gitignore":"1.0.1","parse-package-name":"0.1.0","path-browserify":"^1.0.1","path-to-regexp":"6.3.0",penpal:"6.2.2",pino:"8.7.0","pino-pretty":"9.1.1",pluralize:"8.0.0",postcss:"8.4.45","postcss-flexbugs-fixes":"5.0.2","postcss-loader":"7.0.1","postcss-preset-env":"7.8.2",prettier:"3.3.3","prettier-eslint":"16.3.0","pretty-bytes":"5.6.0","pretty-time":"1.1.0",process:"0.11.10","prop-types":"^15.8.1",punycode:"^2.3.1","query-string":"7.0.0","react-animate-height":"2.0.23","react-dev-utils":"12.0.1","react-docgen":"5.3.1","react-error-boundary":"^3.0.0","react-error-overlay":"6.0.9","react-syntax-highlighter":"15.6.1","react-tabs":"3.2.0","react-test-renderer":"17.0.2",reactflow:"^11.11.3","read-pkg-up":"7.0.1","regenerator-runtime":"0.13.7","reset-css":"5.0.1",resolve:"1.20.0","resolve-dependency-path":"2.0.0","resolve-from":"5.0.0","resolve-link-target":"^1.0.1","resolve-url-loader":"5.0.0",rewire:"7.0.0",rimraf:"3.0.2",sass:"1.63.6",semver:"7.7.1","semver-intersect":"1.4.0","semver-range-intersect":"0.3.1","serialize-error":"5.0.0","simple-git":"^3.28.0",sinon:"17.0.1","socks-proxy-agent":"5.0.0",ssri:"10.0.1","string-format":"0.5.0",string_decoder:"^1.3.0","stringify-package":"1.0.1","strip-ansi":"6.0.0","stylus-lookup":"3.0.2","subscriptions-transport-ws":"0.9.18","symlink-dir":"^9.0.0",table:"6.7.3",tar:"7.4.3","tar-fs":"2.1.3","tar-stream":"2.2.0",tempy:"1.0.1","terser-webpack-plugin":"5.2.0","tippy.js":"6.2.7","ts-graphviz":"^2.1.6","type-coverage":"2.15.1",typescript:"5.9.2","ua-parser-js":"0.7.40","uid-number":"0.0.6",uniqid:"5.3.0",url:"^0.11.3","url-join":"4.0.1","user-home":"^3.0.0",util:"^0.12.5",uuid:"8.3.2","validate-npm-package-name":"6.0.0","version-selector-type":"3.0.0",vinyl:"2.2.1","vinyl-file":"3.0.0","vscode-jsonrpc":"6.0.0","vscode-languageserver-types":"3.16.0","vue-component-meta":"^2.2.10",webpack:"5.97.1","webpack-assets-manifest":"5.1.0","webpack-dev-server":"4.15.2","webpack-manifest-plugin":"5.0.0","webpack-merge":"5.8.0","workbox-webpack-plugin":"7.1.0","write-file-atomic":"5.0.0",ws:"7.5.10",yaml:"1.10.2",yargs:"17.0.1",yesno:"0.4.0",yn:"2.0.0",zod:"^3.24.4"},peerDependencies:{"@apollo/client":"^3.6.0","@teambit/base-react.navigation.link":"2.0.33","@testing-library/react":"^12.1.5","core-js":"^3.10.0",graphql:"15.8.0",mz:"2.7.0",react:"17.0.2","react-dom":"17.0.2","react-router-dom":"^6.22.3"}},linkCoreAspects:!1,packageManager:"teambit.dependencies/pnpm",rootComponents:!0,overrides:{"react-router-dom@6":"^6.30.1","subscriptions-transport-ws@0.9":"^0.9.19","@teambit/base-react.navigation.link@2":"2.0.33","lodash@4":"4.17.21","trim@0":"0.0.3","@teambit/harmony":"0.4.7","@types/fs-capacitor":"2.0.0","@types/node":"22.10.5","signal-exit@4":"^4.0.2","@types/react":"^17.0.67","@types/react-dom":"^17.0.21","cross-spawn@7":"^7.0.5","minio@7.0":"7.1.3","uri-js":"npm:uri-js-replace",encoding:"-"},nodeVersion:"22.14.0",engineStrict:!0,packageImportMethod:"copy",packageManagerArgs:[],devFilePatterns:["**/*.spec.ts"],strictPeerDependencies:!0,autoInstallPeers:!0,savePrefix:"",extraArgs:[],peerDependencyRules:{allowAny:["react","react-dom","@testing-library/react","@teambit/legacy","typescript"],ignoreMissing:[]},capsuleSelfReference:!0},"teambit.preview/preview":{bundlingStrategy:"component",maxChunkSize:5},"teambit.generator/generator":{aspects:["teambit.harmony/aspect"]},"teambit.component/issues":{ignoreIssues:["CircularDependencies"]},"teambit.workspace/variants":{"*,!{*/**}":{"teambit.pkg/pkg":{packageManagerPublishArgs:["--access public"],packageJson:{name:"@teambit/{name}"}}},"{*/**}":{"teambit.dependencies/dependency-resolver":{policy:{dependencies:{},devDependencies:{"@types/mocha":"9.1.0"},peerDependencies:{}}}},"scopes/harmony/bit":{"teambit.component/issues":{ignoreIssues:["ImportNonMainFiles"]},"teambit.pkg/pkg":{packageManagerPublishArgs:["--access public"],packageJson:{name:"@teambit/{name}",bvm:{node:"22.14.0"},engines:{node:">=18.12.0"},repository:{type:"git",url:"https://github.com/teambit/bit"}}},"teambit.dependencies/dependency-resolver":{policy:{dependencies:{"@teambit/base-react.navigation.link":"2.0.33","@teambit/ui-foundation.ui.navigation.react-router-adapter":"6.1.3","@apollo/client":"3.6.9","@teambit/legacy":"2.1.0","@yarnpkg/cli":"3.6.1","@yarnpkg/core":"3.5.2","@yarnpkg/plugin-pack":"3.2.0","@types/react":"^17.0.67","@types/react-dom":"^17.0.21",graphql:"15.8.0",browserslist:"4.23.3","reflect-metadata":"0.1.13","monaco-editor":"0.33.0",mz:"2.7.0",react:"17.0.2","react-dom":"17.0.2","core-js":"3.13.0",postcss:"8.4.18",buffer:"6.0.3",process:"0.11.10","react-router-dom":"6.3.0",typescript:"5.9.2","@parcel/css":"^1.8.3",lightningcss:"^1.20.0","@swc/css":"^0.0.20"},devDependencies:{},peerDependencies:{"@teambit/base-react.navigation.link":"-","@teambit/legacy":"-","@teambit/ui-foundation.ui.navigation.react-router-adapter":"-",browserslist:"-",graphql:"-",react:"-","react-dom":"-","react-router-dom":"-","core-js":"-"}}}},"scopes/harmony/node":{"teambit.component/issues":{ignoreIssues:["ImportNonMainFiles"]},"teambit.dependencies/dependency-resolver":{policy:{}}},"components/legacy":{"teambit.pkg/pkg":{}},"components/bit":{"teambit.pkg/pkg":{}},"components/mcp":{"teambit.pkg/pkg":{}},"components/typescript-compiler":{"teambit.pkg/pkg":{}},"components/scope/remotes":{"teambit.pkg/pkg":{}},"scopes/component/sources":{"teambit.pkg/pkg":{}},"scopes/component/snap-distance":{"teambit.pkg/pkg":{}},"scopes/scope/network":{"teambit.pkg/pkg":{}},"scopes/scope/remote-actions":{"teambit.pkg/pkg":{}},"components/semantics/doc-parser":{"teambit.pkg/pkg":{}}},"teambit.git/ci":{commitMessageScript:"node scripts/generate-merge-commit-message.js"},"teambit.harmony/bit":"teambit.workspace/workspace"})},78756:(__unused_webpack_module,exports,__webpack_require__)=>{var __webpack_unused_export__;/*! For license information please see main.d3e6dea9.cjs.LICENSE.txt */(()=>{var e={8401:(e2,t2,n2)=>{"use strict";function r2(e3){return e3.split("-")[0]}function i(e3){return e3.split("-")[1]}function o(e3){return["top","bottom"].includes(r2(e3))?"x":"y"}function s(e3){return e3==="y"?"height":"width"}function a(e3,t3,n3){let{reference:a2,floating:u2}=e3;const c2=a2.x+a2.width/2-u2.width/2,l2=a2.y+a2.height/2-u2.height/2,f2=o(t3),p2=s(f2),d2=a2[p2]/2-u2[p2]/2,h2=f2==="x";let v2;switch(r2(t3)){case"top":v2={x:c2,y:a2.y-u2.height};break;case"bottom":v2={x:c2,y:a2.y+a2.height};break;case"right":v2={x:a2.x+a2.width,y:l2};break;case"left":v2={x:a2.x-u2.width,y:l2};break;default:v2={x:a2.x,y:a2.y}}switch(i(t3)){case"start":v2[f2]-=d2*(n3&&h2?-1:1);break;case"end":v2[f2]+=d2*(n3&&h2?-1:1)}return v2}function u(e3){return typeof e3!="number"?function(e4){return{top:0,right:0,bottom:0,left:0,...e4}}(e3):{top:e3,right:e3,bottom:e3,left:e3}}function c(e3){return{...e3,top:e3.y,left:e3.x,right:e3.x+e3.width,bottom:e3.y+e3.height}}async function l(e3,t3){var n3;t3===void 0&&(t3={});const{x:r3,y:i2,platform:o2,rects:s2,elements:a2,strategy:l2}=e3,{boundary:f2="clippingAncestors",rootBoundary:p2="viewport",elementContext:d2="floating",altBoundary:h2=!1,padding:v2=0}=t3,m2=u(v2),g2=a2[h2?d2==="floating"?"reference":"floating":d2],y2=c(await o2.getClippingRect({element:(n3=await(o2.isElement==null?void 0:o2.isElement(g2)))==null||n3?g2:g2.contextElement||await(o2.getDocumentElement==null?void 0:o2.getDocumentElement(a2.floating)),boundary:f2,rootBoundary:p2,strategy:l2})),E2=c(o2.convertOffsetParentRelativeRectToViewportRelativeRect?await o2.convertOffsetParentRelativeRectToViewportRelativeRect({rect:d2==="floating"?{...s2.floating,x:r3,y:i2}:s2.reference,offsetParent:await(o2.getOffsetParent==null?void 0:o2.getOffsetParent(a2.floating)),strategy:l2}):s2[d2]);return{top:y2.top-E2.top+m2.top,bottom:E2.bottom-y2.bottom+m2.bottom,left:y2.left-E2.left+m2.left,right:E2.right-y2.right+m2.right}}n2.r(t2),n2.d(t2,{arrow:()=>ve,autoPlacement:()=>w,autoUpdate:()=>ue,computePosition:()=>ce,detectOverflow:()=>l,flip:()=>O,getOverflowAncestors:()=>ie,hide:()=>S,inline:()=>P,limitShift:()=>x,offset:()=>N,shift:()=>R,size:()=>j,useFloating:()=>he});const f=Math.min,p=Math.max;function d(e3,t3,n3){return p(e3,f(t3,n3))}const h=e3=>({name:"arrow",options:e3,async fn(t3){const{element:n3,padding:r3=0}=e3??{},{x:a2,y:c2,placement:l2,rects:f2,platform:p2}=t3;if(n3==null)return{};const h2=u(r3),v2={x:a2,y:c2},m2=o(l2),g2=i(l2),y2=s(m2),E2=await p2.getDimensions(n3),b2=m2==="y"?"top":"left",_2=m2==="y"?"bottom":"right",w2=f2.reference[y2]+f2.reference[m2]-v2[m2]-f2.floating[y2],O2=v2[m2]-f2.reference[m2],T2=await(p2.getOffsetParent==null?void 0:p2.getOffsetParent(n3));let I2=T2?m2==="y"?T2.clientHeight||0:T2.clientWidth||0:0;I2===0&&(I2=f2.floating[y2]);const S2=w2/2-O2/2,N2=h2[b2],A2=I2-E2[y2]-h2[_2],R2=I2/2-E2[y2]/2+S2,x2=d(N2,R2,A2),j2=(g2==="start"?h2[b2]:h2[_2])>0&&R2!==x2&&f2.reference[y2]<=f2.floating[y2];return{[m2]:v2[m2]-(j2?R2<N2?N2-R2:A2-R2:0),data:{[m2]:x2,centerOffset:R2-x2}}}}),v={left:"right",right:"left",bottom:"top",top:"bottom"};function m(e3){return e3.replace(/left|right|bottom|top/g,e4=>v[e4])}function g(e3,t3,n3){n3===void 0&&(n3=!1);const r3=i(e3),a2=o(e3),u2=s(a2);let c2=a2==="x"?r3===(n3?"end":"start")?"right":"left":r3==="start"?"bottom":"top";return t3.reference[u2]>t3.floating[u2]&&(c2=m(c2)),{main:c2,cross:m(c2)}}const y={start:"end",end:"start"};function E(e3){return e3.replace(/start|end/g,e4=>y[e4])}const b=["top","right","bottom","left"],_=b.reduce((e3,t3)=>e3.concat(t3,t3+"-start",t3+"-end"),[]),w=function(e3){return e3===void 0&&(e3={}),{name:"autoPlacement",options:e3,async fn(t3){var n3,o2,s2,a2,u2;const{x:c2,y:f2,rects:p2,middlewareData:d2,placement:h2,platform:v2,elements:m2}=t3,{alignment:y2=null,allowedPlacements:b2=_,autoAlignment:w2=!0,...O2}=e3,T2=function(e4,t4,n4){return(e4?[...n4.filter(t5=>i(t5)===e4),...n4.filter(t5=>i(t5)!==e4)]:n4.filter(e5=>r2(e5)===e5)).filter(n5=>!e4||i(n5)===e4||!!t4&&E(n5)!==n5)}(y2,w2,b2),I2=await l(t3,O2),S2=(n3=(o2=d2.autoPlacement)==null?void 0:o2.index)!=null?n3:0,N2=T2[S2];if(N2==null)return{};const{main:A2,cross:R2}=g(N2,p2,await(v2.isRTL==null?void 0:v2.isRTL(m2.floating)));if(h2!==N2)return{x:c2,y:f2,reset:{placement:T2[0]}};const x2=[I2[r2(N2)],I2[A2],I2[R2]],j2=[...(s2=(a2=d2.autoPlacement)==null?void 0:a2.overflows)!=null?s2:[],{placement:N2,overflows:x2}],P2=T2[S2+1];if(P2)return{data:{index:S2+1,overflows:j2},reset:{placement:P2}};const D2=j2.slice().sort((e4,t4)=>e4.overflows[0]-t4.overflows[0]),L2=(u2=D2.find(e4=>{let{overflows:t4}=e4;return t4.every(e5=>e5<=0)}))==null?void 0:u2.placement,M2=L2??D2[0].placement;return M2!==h2?{data:{index:S2+1,overflows:j2},reset:{placement:M2}}:{}}}},O=function(e3){return e3===void 0&&(e3={}),{name:"flip",options:e3,async fn(t3){var n3;const{placement:i2,middlewareData:o2,rects:s2,initialPlacement:a2,platform:u2,elements:c2}=t3,{mainAxis:f2=!0,crossAxis:p2=!0,fallbackPlacements:d2,fallbackStrategy:h2="bestFit",flipAlignment:v2=!0,...y2}=e3,b2=r2(i2),_2=d2||(b2!==a2&&v2?function(e4){const t4=m(e4);return[E(e4),t4,E(t4)]}(a2):[m(a2)]),w2=[a2,..._2],O2=await l(t3,y2),T2=[];let I2=((n3=o2.flip)==null?void 0:n3.overflows)||[];if(f2&&T2.push(O2[b2]),p2){const{main:e4,cross:t4}=g(i2,s2,await(u2.isRTL==null?void 0:u2.isRTL(c2.floating)));T2.push(O2[e4],O2[t4])}if(I2=[...I2,{placement:i2,overflows:T2}],!T2.every(e4=>e4<=0)){var S2,N2;const e4=((S2=(N2=o2.flip)==null?void 0:N2.index)!=null?S2:0)+1,t4=w2[e4];if(t4)return{data:{index:e4,overflows:I2},reset:{placement:t4}};let n4="bottom";switch(h2){case"bestFit":{var A2;const e5=(A2=I2.map(e6=>[e6,e6.overflows.filter(e7=>e7>0).reduce((e7,t5)=>e7+t5,0)]).sort((e6,t5)=>e6[1]-t5[1])[0])==null?void 0:A2[0].placement;e5&&(n4=e5);break}case"initialPlacement":n4=a2}if(i2!==n4)return{reset:{placement:n4}}}return{}}}};function T(e3,t3){return{top:e3.top-t3.height,right:e3.right-t3.width,bottom:e3.bottom-t3.height,left:e3.left-t3.width}}function I(e3){return b.some(t3=>e3[t3]>=0)}const S=function(e3){let{strategy:t3="referenceHidden",...n3}=e3===void 0?{}:e3;return{name:"hide",async fn(e4){const{rects:r3}=e4;switch(t3){case"referenceHidden":{const t4=T(await l(e4,{...n3,elementContext:"reference"}),r3.reference);return{data:{referenceHiddenOffsets:t4,referenceHidden:I(t4)}}}case"escaped":{const t4=T(await l(e4,{...n3,altBoundary:!0}),r3.floating);return{data:{escapedOffsets:t4,escaped:I(t4)}}}default:return{}}}}},N=function(e3){return e3===void 0&&(e3=0),{name:"offset",options:e3,async fn(t3){const{x:n3,y:s2}=t3,a2=await async function(e4,t4){const{placement:n4,platform:s3,elements:a3}=e4,u2=await(s3.isRTL==null?void 0:s3.isRTL(a3.floating)),c2=r2(n4),l2=i(n4),f2=o(n4)==="x",p2=["left","top"].includes(c2)?-1:1,d2=u2&&f2?-1:1,h2=typeof t4=="function"?t4(e4):t4;let{mainAxis:v2,crossAxis:m2,alignmentAxis:g2}=typeof h2=="number"?{mainAxis:h2,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...h2};return l2&&typeof g2=="number"&&(m2=l2==="end"?-1*g2:g2),f2?{x:m2*d2,y:v2*p2}:{x:v2*p2,y:m2*d2}}(t3,e3);return{x:n3+a2.x,y:s2+a2.y,data:a2}}}};function A(e3){return e3==="x"?"y":"x"}const R=function(e3){return e3===void 0&&(e3={}),{name:"shift",options:e3,async fn(t3){const{x:n3,y:i2,placement:s2}=t3,{mainAxis:a2=!0,crossAxis:u2=!1,limiter:c2={fn:e4=>{let{x:t4,y:n4}=e4;return{x:t4,y:n4}}},...f2}=e3,p2={x:n3,y:i2},h2=await l(t3,f2),v2=o(r2(s2)),m2=A(v2);let g2=p2[v2],y2=p2[m2];if(a2){const e4=v2==="y"?"bottom":"right";g2=d(g2+h2[v2==="y"?"top":"left"],g2,g2-h2[e4])}if(u2){const e4=m2==="y"?"bottom":"right";y2=d(y2+h2[m2==="y"?"top":"left"],y2,y2-h2[e4])}const E2=c2.fn({...t3,[v2]:g2,[m2]:y2});return{...E2,data:{x:E2.x-n3,y:E2.y-i2}}}}},x=function(e3){return e3===void 0&&(e3={}),{options:e3,fn(t3){const{x:n3,y:i2,placement:s2,rects:a2,middlewareData:u2}=t3,{offset:c2=0,mainAxis:l2=!0,crossAxis:f2=!0}=e3,p2={x:n3,y:i2},d2=o(s2),h2=A(d2);let v2=p2[d2],m2=p2[h2];const g2=typeof c2=="function"?c2({...a2,placement:s2}):c2,y2=typeof g2=="number"?{mainAxis:g2,crossAxis:0}:{mainAxis:0,crossAxis:0,...g2};if(l2){const e4=d2==="y"?"height":"width",t4=a2.reference[d2]-a2.floating[e4]+y2.mainAxis,n4=a2.reference[d2]+a2.reference[e4]-y2.mainAxis;v2<t4?v2=t4:v2>n4&&(v2=n4)}if(f2){var E2,b2,_2,w2;const e4=d2==="y"?"width":"height",t4=["top","left"].includes(r2(s2)),n4=a2.reference[h2]-a2.floating[e4]+(t4&&(E2=(b2=u2.offset)==null?void 0:b2[h2])!=null?E2:0)+(t4?0:y2.crossAxis),i3=a2.reference[h2]+a2.reference[e4]+(t4?0:(_2=(w2=u2.offset)==null?void 0:w2[h2])!=null?_2:0)-(t4?y2.crossAxis:0);m2<n4?m2=n4:m2>i3&&(m2=i3)}return{[d2]:v2,[h2]:m2}}}},j=function(e3){return e3===void 0&&(e3={}),{name:"size",options:e3,async fn(t3){const{placement:n3,rects:o2,platform:s2,elements:a2}=t3,{apply:u2,...c2}=e3,f2=await l(t3,c2),d2=r2(n3),h2=i(n3);let v2,m2;d2==="top"||d2==="bottom"?(v2=d2,m2=h2===(await(s2.isRTL==null?void 0:s2.isRTL(a2.floating))?"start":"end")?"left":"right"):(m2=d2,v2=h2==="end"?"top":"bottom");const g2=p(f2.left,0),y2=p(f2.right,0),E2=p(f2.top,0),b2=p(f2.bottom,0),_2={availableHeight:o2.floating.height-(["left","right"].includes(n3)?2*(E2!==0||b2!==0?E2+b2:p(f2.top,f2.bottom)):f2[v2]),availableWidth:o2.floating.width-(["top","bottom"].includes(n3)?2*(g2!==0||y2!==0?g2+y2:p(f2.left,f2.right)):f2[m2])},w2=await s2.getDimensions(a2.floating);u2?.({...t3,..._2});const O2=await s2.getDimensions(a2.floating);return w2.width!==O2.width||w2.height!==O2.height?{reset:{rects:!0}}:{}}}},P=function(e3){return e3===void 0&&(e3={}),{name:"inline",options:e3,async fn(t3){var n3;const{placement:i2,elements:s2,rects:a2,platform:l2,strategy:d2}=t3,{padding:h2=2,x:v2,y:m2}=e3,g2=c(l2.convertOffsetParentRelativeRectToViewportRelativeRect?await l2.convertOffsetParentRelativeRectToViewportRelativeRect({rect:a2.reference,offsetParent:await(l2.getOffsetParent==null?void 0:l2.getOffsetParent(s2.floating)),strategy:d2}):a2.reference),y2=(n3=await(l2.getClientRects==null?void 0:l2.getClientRects(s2.reference)))!=null?n3:[],E2=u(h2),b2=await l2.getElementRects({reference:{getBoundingClientRect:function(){var e4;if(y2.length===2&&y2[0].left>y2[1].right&&v2!=null&&m2!=null)return(e4=y2.find(e5=>v2>e5.left-E2.left&&v2<e5.right+E2.right&&m2>e5.top-E2.top&&m2<e5.bottom+E2.bottom))!=null?e4:g2;if(y2.length>=2){if(o(i2)==="x"){const e6=y2[0],t5=y2[y2.length-1],n5=r2(i2)==="top",o2=e6.top,s4=t5.bottom,a4=n5?e6.left:t5.left,u3=n5?e6.right:t5.right;return{top:o2,bottom:s4,left:a4,right:u3,width:u3-a4,height:s4-o2,x:a4,y:o2}}const e5=r2(i2)==="left",t4=p(...y2.map(e6=>e6.right)),n4=f(...y2.map(e6=>e6.left)),s3=y2.filter(r3=>e5?r3.left===n4:r3.right===t4),a3=s3[0].top,u2=s3[s3.length-1].bottom;return{top:a3,bottom:u2,left:n4,right:t4,width:t4-n4,height:u2-a3,x:n4,y:a3}}return g2}},floating:s2.floating,strategy:d2});return a2.reference.x!==b2.reference.x||a2.reference.y!==b2.reference.y||a2.reference.width!==b2.reference.width||a2.reference.height!==b2.reference.height?{reset:{rects:b2}}:{}}}};function D(e3){return e3&&e3.document&&e3.location&&e3.alert&&e3.setInterval}function L(e3){if(e3==null)return window;if(!D(e3)){const t3=e3.ownerDocument;return t3&&t3.defaultView||window}return e3}function M(e3){return L(e3).getComputedStyle(e3)}function k(e3){return D(e3)?"":e3?(e3.nodeName||"").toLowerCase():""}function C(){const e3=navigator.userAgentData;return e3!=null&&e3.brands?e3.brands.map(e4=>e4.brand+"/"+e4.version).join(" "):navigator.userAgent}function F(e3){return e3 instanceof L(e3).HTMLElement}function V(e3){return e3 instanceof L(e3).Element}function $(e3){return typeof ShadowRoot<"u"&&(e3 instanceof L(e3).ShadowRoot||e3 instanceof ShadowRoot)}function U(e3){const{overflow:t3,overflowX:n3,overflowY:r3}=M(e3);return/auto|scroll|overlay|hidden/.test(t3+r3+n3)}function B(e3){return["table","td","th"].includes(k(e3))}function H(e3){const t3=/firefox/i.test(C()),n3=M(e3);return n3.transform!=="none"||n3.perspective!=="none"||n3.contain==="paint"||["transform","perspective"].includes(n3.willChange)||t3&&n3.willChange==="filter"||t3&&!!n3.filter&&n3.filter!=="none"}function G(){return!/^((?!chrome|android).)*safari/i.test(C())}const q=Math.min,W=Math.max,z=Math.round;function Y(e3,t3,n3){var r3,i2,o2,s2;t3===void 0&&(t3=!1),n3===void 0&&(n3=!1);const a2=e3.getBoundingClientRect();let u2=1,c2=1;t3&&F(e3)&&(u2=e3.offsetWidth>0&&z(a2.width)/e3.offsetWidth||1,c2=e3.offsetHeight>0&&z(a2.height)/e3.offsetHeight||1);const l2=V(e3)?L(e3):window,f2=!G()&&n3,p2=(a2.left+(f2&&(r3=(i2=l2.visualViewport)==null?void 0:i2.offsetLeft)!=null?r3:0))/u2,d2=(a2.top+(f2&&(o2=(s2=l2.visualViewport)==null?void 0:s2.offsetTop)!=null?o2:0))/c2,h2=a2.width/u2,v2=a2.height/c2;return{width:h2,height:v2,top:d2,right:p2+h2,bottom:d2+v2,left:p2,x:p2,y:d2}}function X(e3){return(t3=e3,(t3 instanceof L(t3).Node?e3.ownerDocument:e3.document)||window.document).documentElement;var t3}function J(e3){return V(e3)?{scrollLeft:e3.scrollLeft,scrollTop:e3.scrollTop}:{scrollLeft:e3.pageXOffset,scrollTop:e3.pageYOffset}}function Q(e3){return Y(X(e3)).left+J(e3).scrollLeft}function K(e3,t3,n3){const r3=F(t3),i2=X(t3),o2=Y(e3,r3&&function(e4){const t4=Y(e4);return z(t4.width)!==e4.offsetWidth||z(t4.height)!==e4.offsetHeight}(t3),n3==="fixed");let s2={scrollLeft:0,scrollTop:0};const a2={x:0,y:0};if(r3||!r3&&n3!=="fixed")if((k(t3)!=="body"||U(i2))&&(s2=J(t3)),F(t3)){const e4=Y(t3,!0);a2.x=e4.x+t3.clientLeft,a2.y=e4.y+t3.clientTop}else i2&&(a2.x=Q(i2));return{x:o2.left+s2.scrollLeft-a2.x,y:o2.top+s2.scrollTop-a2.y,width:o2.width,height:o2.height}}function Z(e3){return k(e3)==="html"?e3:e3.assignedSlot||e3.parentNode||($(e3)?e3.host:null)||X(e3)}function ee(e3){return F(e3)&&getComputedStyle(e3).position!=="fixed"?e3.offsetParent:null}function te(e3){const t3=L(e3);let n3=ee(e3);for(;n3&&B(n3)&&getComputedStyle(n3).position==="static";)n3=ee(n3);return n3&&(k(n3)==="html"||k(n3)==="body"&&getComputedStyle(n3).position==="static"&&!H(n3))?t3:n3||function(e4){let t4=Z(e4);for($(t4)&&(t4=t4.host);F(t4)&&!["html","body"].includes(k(t4));){if(H(t4))return t4;t4=t4.parentNode}return null}(e3)||t3}function ne(e3){if(F(e3))return{width:e3.offsetWidth,height:e3.offsetHeight};const t3=Y(e3);return{width:t3.width,height:t3.height}}function re(e3){const t3=Z(e3);return["html","body","#document"].includes(k(t3))?e3.ownerDocument.body:F(t3)&&U(t3)?t3:re(t3)}function ie(e3,t3){var n3;t3===void 0&&(t3=[]);const r3=re(e3),i2=r3===((n3=e3.ownerDocument)==null?void 0:n3.body),o2=L(r3),s2=i2?[o2].concat(o2.visualViewport||[],U(r3)?r3:[]):r3,a2=t3.concat(s2);return i2?a2:a2.concat(ie(s2))}function oe(e3,t3,n3){return t3==="viewport"?c(function(e4,t4){const n4=L(e4),r3=X(e4),i2=n4.visualViewport;let o2=r3.clientWidth,s2=r3.clientHeight,a2=0,u2=0;if(i2){o2=i2.width,s2=i2.height;const e5=G();(e5||!e5&&t4==="fixed")&&(a2=i2.offsetLeft,u2=i2.offsetTop)}return{width:o2,height:s2,x:a2,y:u2}}(e3,n3)):V(t3)?function(e4,t4){const n4=Y(e4,!1,t4==="fixed"),r3=n4.top+e4.clientTop,i2=n4.left+e4.clientLeft;return{top:r3,left:i2,x:i2,y:r3,right:i2+e4.clientWidth,bottom:r3+e4.clientHeight,width:e4.clientWidth,height:e4.clientHeight}}(t3,n3):c(function(e4){var t4;const n4=X(e4),r3=J(e4),i2=(t4=e4.ownerDocument)==null?void 0:t4.body,o2=W(n4.scrollWidth,n4.clientWidth,i2?i2.scrollWidth:0,i2?i2.clientWidth:0),s2=W(n4.scrollHeight,n4.clientHeight,i2?i2.scrollHeight:0,i2?i2.clientHeight:0);let a2=-r3.scrollLeft+Q(e4);const u2=-r3.scrollTop;return M(i2||n4).direction==="rtl"&&(a2+=W(n4.clientWidth,i2?i2.clientWidth:0)-o2),{width:o2,height:s2,x:a2,y:u2}}(X(e3)))}function se(e3){const t3=ie(e3),n3=["absolute","fixed"].includes(M(e3).position)&&F(e3)?te(e3):e3;return V(n3)?t3.filter(e4=>V(e4)&&function(e5,t4){const n4=t4.getRootNode==null?void 0:t4.getRootNode();if(e5.contains(t4))return!0;if(n4&&$(n4)){let n5=t4;do{if(n5&&e5===n5)return!0;n5=n5.parentNode||n5.host}while(n5)}return!1}(e4,n3)&&k(e4)!=="body"):[]}const ae={getClippingRect:function(e3){let{element:t3,boundary:n3,rootBoundary:r3,strategy:i2}=e3;const o2=[...n3==="clippingAncestors"?se(t3):[].concat(n3),r3],s2=o2[0],a2=o2.reduce((e4,n4)=>{const r4=oe(t3,n4,i2);return e4.top=W(r4.top,e4.top),e4.right=q(r4.right,e4.right),e4.bottom=q(r4.bottom,e4.bottom),e4.left=W(r4.left,e4.left),e4},oe(t3,s2,i2));return{width:a2.right-a2.left,height:a2.bottom-a2.top,x:a2.left,y:a2.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e3){let{rect:t3,offsetParent:n3,strategy:r3}=e3;const i2=F(n3),o2=X(n3);if(n3===o2)return t3;let s2={scrollLeft:0,scrollTop:0};const a2={x:0,y:0};if((i2||!i2&&r3!=="fixed")&&((k(n3)!=="body"||U(o2))&&(s2=J(n3)),F(n3))){const e4=Y(n3,!0);a2.x=e4.x+n3.clientLeft,a2.y=e4.y+n3.clientTop}return{...t3,x:t3.x-s2.scrollLeft+a2.x,y:t3.y-s2.scrollTop+a2.y}},isElement:V,getDimensions:ne,getOffsetParent:te,getDocumentElement:X,getElementRects:e3=>{let{reference:t3,floating:n3,strategy:r3}=e3;return{reference:K(t3,te(n3),r3),floating:{...ne(n3),x:0,y:0}}},getClientRects:e3=>Array.from(e3.getClientRects()),isRTL:e3=>M(e3).direction==="rtl"};function ue(e3,t3,n3,r3){r3===void 0&&(r3={});const{ancestorScroll:i2=!0,ancestorResize:o2=!0,elementResize:s2=!0,animationFrame:a2=!1}=r3,u2=i2&&!a2,c2=o2&&!a2,l2=u2||c2?[...V(e3)?ie(e3):[],...ie(t3)]:[];l2.forEach(e4=>{u2&&e4.addEventListener("scroll",n3,{passive:!0}),c2&&e4.addEventListener("resize",n3)});let f2,p2=null;if(s2){let r4=!0;p2=new ResizeObserver(()=>{r4||n3(),r4=!1}),V(e3)&&!a2&&p2.observe(e3),p2.observe(t3)}let d2=a2?Y(e3):null;return a2&&function t4(){const r4=Y(e3);!d2||r4.x===d2.x&&r4.y===d2.y&&r4.width===d2.width&&r4.height===d2.height||n3(),d2=r4,f2=requestAnimationFrame(t4)}(),n3(),()=>{var e4;l2.forEach(e5=>{u2&&e5.removeEventListener("scroll",n3),c2&&e5.removeEventListener("resize",n3)}),(e4=p2)==null||e4.disconnect(),p2=null,a2&&cancelAnimationFrame(f2)}}const ce=(e3,t3,n3)=>(async(e4,t4,n4)=>{const{placement:r3="bottom",strategy:i2="absolute",middleware:o2=[],platform:s2}=n4,u2=await(s2.isRTL==null?void 0:s2.isRTL(t4));let c2=await s2.getElementRects({reference:e4,floating:t4,strategy:i2}),{x:l2,y:f2}=a(c2,r3,u2),p2=r3,d2={},h2=0;for(let n5=0;n5<o2.length;n5++){const{name:v2,fn:m2}=o2[n5],{x:g2,y:y2,data:E2,reset:b2}=await m2({x:l2,y:f2,initialPlacement:r3,placement:p2,strategy:i2,middlewareData:d2,rects:c2,platform:s2,elements:{reference:e4,floating:t4}});l2=g2??l2,f2=y2??f2,d2={...d2,[v2]:{...d2[v2],...E2}},b2&&h2<=50&&(h2++,typeof b2=="object"&&(b2.placement&&(p2=b2.placement),b2.rects&&(c2=b2.rects===!0?await s2.getElementRects({reference:e4,floating:t4,strategy:i2}):b2.rects),{x:l2,y:f2}=a(c2,p2,u2)),n5=-1)}return{x:l2,y:f2,placement:p2,strategy:i2,middlewareData:d2}})(e3,t3,{platform:ae,...n3});var le=n2(2015),fe=n2(2326),pe=typeof document<"u"?le.useLayoutEffect:le.useEffect;function de(e3,t3){if(e3===t3)return!0;if(typeof e3!=typeof t3)return!1;if(typeof e3=="function"&&e3.toString()===t3.toString())return!0;let n3,r3,i2;if(e3&&t3&&typeof e3=="object"){if(Array.isArray(e3)){if(n3=e3.length,n3!=t3.length)return!1;for(r3=n3;r3--!=0;)if(!de(e3[r3],t3[r3]))return!1;return!0}if(i2=Object.keys(e3),n3=i2.length,n3!==Object.keys(t3).length)return!1;for(r3=n3;r3--!=0;)if(!Object.prototype.hasOwnProperty.call(t3,i2[r3]))return!1;for(r3=n3;r3--!=0;){const n4=i2[r3];if(!(n4==="_owner"&&e3.$$typeof||de(e3[n4],t3[n4])))return!1}return!0}return e3!=e3&&t3!=t3}function he(e3){let{middleware:t3,placement:n3="bottom",strategy:r3="absolute",whileElementsMounted:i2}=e3===void 0?{}:e3;const o2=le.useRef(null),s2=le.useRef(null),a2=function(e4){const t4=le.useRef(e4);return pe(()=>{t4.current=e4}),t4}(i2),u2=le.useRef(null),[c2,l2]=le.useState({x:null,y:null,strategy:r3,placement:n3,middlewareData:{}}),[f2,p2]=le.useState(t3);de(f2?.map(e4=>{let{options:t4}=e4;return t4}),t3?.map(e4=>{let{options:t4}=e4;return t4}))||p2(t3);const d2=le.useCallback(()=>{o2.current&&s2.current&&ce(o2.current,s2.current,{middleware:f2,placement:n3,strategy:r3}).then(e4=>{h2.current&&fe.flushSync(()=>{l2(e4)})})},[f2,n3,r3]);pe(()=>{h2.current&&d2()},[d2]);const h2=le.useRef(!1);pe(()=>(h2.current=!0,()=>{h2.current=!1}),[]);const v2=le.useCallback(()=>{if(typeof u2.current=="function"&&(u2.current(),u2.current=null),o2.current&&s2.current)if(a2.current){const e4=a2.current(o2.current,s2.current,d2);u2.current=e4}else d2()},[d2,a2]),m2=le.useCallback(e4=>{o2.current=e4,v2()},[v2]),g2=le.useCallback(e4=>{s2.current=e4,v2()},[v2]),y2=le.useMemo(()=>({reference:o2,floating:s2}),[]);return le.useMemo(()=>({...c2,update:d2,refs:y2,reference:m2,floating:g2}),[c2,d2,y2,m2,g2])}const ve=e3=>{const{element:t3,padding:n3}=e3;return{name:"arrow",options:e3,fn:e4=>function(e5){return Object.prototype.hasOwnProperty.call(e5,"current")}(t3)?t3.current!=null?h({element:t3.current,padding:n3}).fn(e4):{}:t3?h({element:t3,padding:n3}).fn(e4):{}}}},2895:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.NativeLink=void 0;var r2=n2(7593);Object.defineProperty(t2,"NativeLink",{enumerable:!0,get:function(){return r2.NativeLink}})},7593:function(e2,t2,n2){"use strict";var r2=this&&this.__createBinding||(Object.create?function(e3,t3,n3,r3){r3===void 0&&(r3=n3),Object.defineProperty(e3,r3,{enumerable:!0,get:function(){return t3[n3]}})}:function(e3,t3,n3,r3){r3===void 0&&(r3=n3),e3[r3]=t3[n3]}),i=this&&this.__setModuleDefault||(Object.create?function(e3,t3){Object.defineProperty(e3,"default",{enumerable:!0,value:t3})}:function(e3,t3){e3.default=t3}),o=this&&this.__importStar||function(e3){if(e3&&e3.__esModule)return e3;var t3={};if(e3!=null)for(var n3 in e3)n3!=="default"&&Object.prototype.hasOwnProperty.call(e3,n3)&&r2(t3,e3,n3);return i(t3,e3),t3},s=this&&this.__rest||function(e3,t3){var n3={};for(var r3 in e3)Object.prototype.hasOwnProperty.call(e3,r3)&&t3.indexOf(r3)<0&&(n3[r3]=e3[r3]);if(e3!=null&&typeof Object.getOwnPropertySymbols=="function"){var i2=0;for(r3=Object.getOwnPropertySymbols(e3);i2<r3.length;i2++)t3.indexOf(r3[i2])<0&&Object.prototype.propertyIsEnumerable.call(e3,r3[i2])&&(n3[r3[i2]]=e3[r3[i2]])}return n3};Object.defineProperty(t2,"__esModule",{value:!0}),t2.NativeLink=void 0;const a=o(n2(2015)),u={rel:"noopener",target:"_blank"};t2.NativeLink=function(e3){var{href:t3="",external:n3,replace:r3,onClick:i2}=e3,o2=s(e3,["href","external","replace","onClick"]);const c=n3?u:{},l=a.useCallback(e4=>{const o3=i2?.(e4);return e4.defaultPrevented||!r3||n3||(e4.preventDefault(),window.location.replace(t3)),o3},[t3,r3,i2]);return a.default.createElement("a",Object.assign({},o2,c,{onClick:l,href:t3}))}},4445:(e2,t2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.affix=void 0,t2.affix=function(e3="",t3,n2=""){return t3?`${e3}${t3}${n2}`:""}},1611:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.affix=void 0;var r2=n2(4445);Object.defineProperty(t2,"affix",{enumerable:!0,get:function(){return r2.affix}})},5950:(e2,t2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.BitError=void 0;class n2 extends Error{constructor(e3){super(e3||""),this.isUserError=!0,this.name=this.constructor.name}report(){return this.message}}t2.BitError=n2},4490:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.BitError=void 0;var r2=n2(5950);Object.defineProperty(t2,"BitError",{enumerable:!0,get:function(){return r2.BitError}})},8635:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.ComponentIdList=void 0;const r2=n2(2935),i=n2(1936),o=n2(6578);class s extends Array{toStringArray(){return this.map(e3=>e3.toString())}has(e3){return Boolean(this.search(e3))}hasWithoutVersion(e3){return Boolean(this.searchWithoutVersion(e3))}hasWithoutScopeAndVersion(e3){return Boolean(this.searchWithoutScopeAndVersion(e3))}search(e3){return this.find(t3=>t3.fullName===e3.fullName&&t3.scope===e3.scope&&t3._legacy.hasSameVersion(e3._legacy))}searchWithoutVersion(e3){return this.find(t3=>t3.fullName===e3.fullName&&t3.scope===e3.scope)}searchWithoutScopeAndVersion(e3){return this.find(t3=>t3.fullName===e3.fullName)}searchStrWithoutVersion(e3){return this.find(t3=>t3.toStringWithoutVersion()===e3)}filterExact(e3){return this.filter(t3=>t3.fullName===e3.fullName&&t3.scope===e3.scope&&t3.hasSameVersion(e3))}filterWithoutVersion(e3){return this.filter(t3=>t3.fullName===e3.fullName&&t3.scope===e3.scope)}removeIfExist(e3){return s.fromArray(this.filter(t3=>!t3.isEqual(e3)))}toObject(){return this.reduce((e3,t3)=>(e3[t3.toString()]=t3,e3),{})}toString(){return this.map(e3=>e3.toString()).join(", ")}toGroupByIdWithoutVersion(){return this.reduce((e3,t3)=>{const n3=t3.toStringWithoutVersion();return e3[n3]?e3[n3].push(t3):e3[n3]=new s(t3),e3},{})}toGroupByScopeName(){return this.reduce((e3,t3)=>{const n3=t3.scope;return e3[n3]?e3[n3].push(t3):e3[n3]=new s(t3),e3},{})}findDuplicationsIgnoreVersion(){const e3={};return this.forEach(t3=>{const n3=this.filterWithoutVersion(t3);n3.length>1&&(e3[t3.toStringWithoutVersion()]=n3)}),e3}add(e3){e3.forEach(e4=>{this.search(e4)||this.push(e4)})}static fromArray(e3){const t3=new s;return e3.forEach(e4=>t3.push(e4)),t3}static uniqFromArray(e3){const t3=(0,r2.uniqBy)(e3,e4=>e4.toString());return s.fromArray(t3)}static fromStringArray(e3=[]){return s.fromArray(e3.map(e4=>o.ComponentID.fromString(e4)))}throwForDuplicationIgnoreVersion(){this.forEach(e3=>{const t3=this.filterWithoutVersion(e3);if(t3.length>1)throw new Error(`componentIds has "${e3.toStringWithoutVersion()}" duplicated as following:
1
+ (self.__loadChunks_EnvTemplate=self.__loadChunks_EnvTemplate||[]).push([[608],{95608:(__unused_webpack_module,__unused_webpack___webpack_exports__,__webpack_require__)=>{"use strict";var main_bd0aab87=__webpack_require__(57582);(0,main_bd0aab87.e)({"teambit.workspace/workspace":{name:"bit",icon:"https://static.bit.dev/bit-logo.svg",defaultScope:"teambit.bit",defaultDirectory:"components",resolveEnvsFromRoots:!1},"teambit.dependencies/dependency-resolver":{policy:{dependencies:{"@babel/core":"7.28.3","@babel/plugin-proposal-decorators":"7.28.0","@babel/plugin-transform-class-properties":"7.27.1","@babel/plugin-transform-modules-commonjs":"7.27.1","@babel/plugin-transform-object-rest-spread":"7.28.0","@babel/plugin-transform-runtime":"7.28.3","@babel/preset-env":"7.28.3","@babel/preset-react":"7.27.1","@babel/preset-typescript":"7.27.1","@babel/register":"7.28.3","@babel/runtime":"7.28.3","@babel/types":"7.28.2","@bitdev/node.generators.node-templates":"^4.0.1","@bitdev/react.generators.react-templates":"^4.0.2","@bitdev/symphony.generators.symphony-templates":"^3.0.4","@dagrejs/dagre":"^1.1.2","@graphql-modules/core":"0.7.17","@graphql-tools/schema":"^10.0.0","@jest/test-result":"29.3.1","@lydell/node-pty":"^1.0.0","@mdx-js/mdx":"1.6.21","@mdx-js/react":"1.6.22","@modelcontextprotocol/sdk":"^1.22.0","@monaco-editor/react":"4.4.6","@parcel/watcher":"^2.5.1","@pmmmwh/react-refresh-webpack-plugin":"0.5.4","@pnpm/client":"1001.1.1","@pnpm/colorize-semver-diff":"1.0.1","@pnpm/config":"1004.4.0","@pnpm/core":"1011.0.0","@pnpm/default-reporter":"1002.0.9","@pnpm/dependency-path":"1001.1.2","@pnpm/error":"1000.0.5","@pnpm/fetch":"1000.2.5","@pnpm/list":"^1000.1.2","@pnpm/lockfile.filtering":"^1001.0.20","@pnpm/lockfile.fs":"^1001.1.20","@pnpm/lockfile.types":"^1002.0.1","@pnpm/logger":"1001.0.1","@pnpm/modules-yaml":"1000.3.5","@pnpm/network.ca-file":"3.0.3","@pnpm/node-fetch":"^1.0.0","@pnpm/npm-resolver":"1004.3.0","@pnpm/package-store":"1003.0.0","@pnpm/parse-overrides":"1001.0.3","@pnpm/plugin-commands-publishing":"1000.2.16","@pnpm/plugin-commands-rebuild":"1003.0.0","@pnpm/registry-mock":"3.48.0","@pnpm/reviewing.dependencies-hierarchy":"^1001.1.2","@pnpm/semver-diff":"1.1.0","@pnpm/sort-packages":"1000.0.10","@pnpm/store-connection-manager":"1002.2.1","@pnpm/types":"1000.8.0","@pnpm/worker":"1000.2.0","@pnpm/workspace.pkgs-graph":"1000.0.23","@react-hook/latest":"1.0.3","@svgr/webpack":"8.1.0","@teambit/any-fs":"0.0.5","@teambit/api-reference.explorer.api-reference-explorer":"^0.0.39","@teambit/api-reference.hooks.use-api":"^0.0.57","@teambit/api-reference.hooks.use-api-ref-url":"^0.0.25","@teambit/api-reference.hooks.use-api-renderers":"^0.0.37","@teambit/api-reference.models.api-node-renderer":"^0.0.53","@teambit/api-reference.models.api-reference-model":"^0.0.53","@teambit/api-reference.overview.api-reference-table-of-contents":"^0.0.39","@teambit/api-reference.renderers.api-node-details":"^0.0.82","@teambit/api-reference.renderers.class":"^0.0.84","@teambit/api-reference.renderers.decorator":"^0.0.40","@teambit/api-reference.renderers.default-node-renderers":"^0.0.2","@teambit/api-reference.renderers.enum":"^0.0.84","@teambit/api-reference.renderers.function":"^0.0.86","@teambit/api-reference.renderers.grouped-schema-nodes-summary":"^0.0.80","@teambit/api-reference.renderers.inference-type":"^0.0.64","@teambit/api-reference.renderers.interface":"^0.0.84","@teambit/api-reference.renderers.parameter":"^0.0.67","@teambit/api-reference.renderers.react":"^0.0.69","@teambit/api-reference.renderers.schema-node-member-summary":"^0.0.78","@teambit/api-reference.renderers.schema-nodes-index":"^0.0.72","@teambit/api-reference.renderers.this":"^0.0.71","@teambit/api-reference.renderers.tuple-type":"^0.0.15","@teambit/api-reference.renderers.type":"^0.0.82","@teambit/api-reference.renderers.type-array":"^0.0.55","@teambit/api-reference.renderers.type-intersection":"^0.0.55","@teambit/api-reference.renderers.type-literal":"^0.0.75","@teambit/api-reference.renderers.type-ref":"^0.0.99","@teambit/api-reference.renderers.type-union":"^0.0.55","@teambit/api-reference.renderers.unresolved":"^0.0.82","@teambit/api-reference.renderers.variable":"^0.0.82","@teambit/api-reference.sections.api-reference-page":"^0.0.120","@teambit/api-reference.sections.api-reference-section":"^0.0.16","@teambit/api-reference.utils.code-editor-options":"^0.0.16","@teambit/api-reference.utils.copy-schema-node":"^0.0.45","@teambit/api-reference.utils.custom-prism-syntax-highlighter-theme":"^0.0.16","@teambit/api-reference.utils.group-schema-node-by-signature":"^0.0.45","@teambit/api-reference.utils.schema-node-signature-transform":"^0.0.47","@teambit/api-reference.utils.sort-api-nodes":"^0.0.53","@teambit/base-react.navigation.link":"^2.0.33","@teambit/base-react.themes.theme-switcher":"^1.1.2","@teambit/base-ui.constants.storage":"1.0.0","@teambit/base-ui.graph.tree.indent":"1.0.0","@teambit/base-ui.graph.tree.inflate-paths":"1.0.0","@teambit/base-ui.graph.tree.recursive-tree":"1.0.5","@teambit/base-ui.graph.tree.tree-context":"1.0.5","@teambit/base-ui.layout.breakpoints":"1.0.0","@teambit/base-ui.layout.page-frame":"1.0.0","@teambit/base-ui.loaders.loader-ribbon":"1.0.0","@teambit/base-ui.loaders.skeleton":"1.0.1","@teambit/base-ui.routing.nav-link":"^1.0.4","@teambit/base-ui.routing.routing-provider":"^1.0.4","@teambit/base-ui.styles.flex-center":"1.0.0","@teambit/base-ui.surfaces.card":"1.0.1","@teambit/base-ui.surfaces.split-pane.hover-splitter":"1.0.0","@teambit/base-ui.surfaces.split-pane.split-pane":"1.0.0","@teambit/base-ui.text.muted-text":"1.0.1","@teambit/base-ui.text.paragraph":"1.0.1","@teambit/base-ui.theme.colors":"1.0.0","@teambit/base-ui.theme.dark-theme":"1.0.2","@teambit/base-ui.theme.fonts.book":"1.0.2","@teambit/base-ui.theme.fonts.roboto":"1.0.0","@teambit/base-ui.theme.theme-provider":"1.0.1","@teambit/base-ui.utils.composer":"1.0.0","@teambit/base-ui.utils.string.affix":"1.0.0","@teambit/base-ui.utils.time-ago":"1.0.1","@teambit/bit-error":"~0.0.404","@teambit/bit.content.what-is-bit":"1.96.12","@teambit/bvm.config":"^1.0.1","@teambit/bvm.list":"0.1.15","@teambit/bvm.path":"^0.1.2","@teambit/capsule":"0.0.12","@teambit/code.ui.code-compare-section":"0.0.7","@teambit/code.ui.code-tab-tree":"^0.0.620","@teambit/code.ui.hooks.use-code-params":"0.0.497","@teambit/code.ui.object-formatter":"0.0.1","@teambit/code.ui.queries.get-component-code":"^0.0.503","@teambit/code.ui.queries.get-file-content":"^0.0.505","@teambit/code.ui.utils.get-file-icon":"0.0.496","@teambit/community.starters.hello-world":"^0.0.16","@teambit/compilation.babel-compiler":"^1.1.18","@teambit/compilation.content.compiler-overview":"1.96.17","@teambit/component-id":"^1.2.4","@teambit/component-version":"^1.0.4","@teambit/component.content.component-overview":"1.95.0","@teambit/component.content.dev-files":"1.95.9","@teambit/component.instructions.exporting-components":"0.0.7","@teambit/component.ui.artifacts.artifacts-tree":"^0.0.28","@teambit/component.ui.artifacts.models.component-artifacts-model":"^0.0.12","@teambit/component.ui.artifacts.queries.use-component-artifacts":"^0.0.14","@teambit/component.ui.component-compare.compare-aspects.compare-aspects":"^0.0.152","@teambit/component.ui.component-compare.hooks.use-component-compare":"^0.0.113","@teambit/component.ui.component-compare.hooks.use-component-compare-url":"^0.0.13","@teambit/component.ui.component-compare.layouts.compare-split-layout-preset":"^0.0.10","@teambit/component.ui.component-compare.models.component-compare-change-type":"^0.0.7","@teambit/component.ui.component-compare.models.component-compare-hooks":"^0.0.11","@teambit/component.ui.component-compare.models.component-compare-model":"^0.0.112","@teambit/component.ui.component-compare.models.component-compare-state":"^0.0.7","@teambit/component.ui.component-compare.status-resolver":"^0.0.9","@teambit/component.ui.component-compare.utils.group-by-version":"^0.0.8","@teambit/component.ui.component-compare.utils.sort-logs":"^0.0.8","@teambit/component.ui.component-compare.utils.sort-tabs":"0.0.104","@teambit/component.ui.component-deprecated":"^0.0.41","@teambit/component.ui.component-meta":"^0.0.368","@teambit/component.ui.component-size":"^0.0.77","@teambit/component.ui.component-status-resolver":"^0.0.510","@teambit/component.ui.deprecation-icon":"^0.0.509","@teambit/component.ui.hooks.use-fetch-docs":"^0.0.21","@teambit/component.ui.version-label":"^0.0.509","@teambit/compositions.ui.composition-compare":"^0.0.258","@teambit/compositions.ui.composition-compare-section":"^0.0.101","@teambit/compositions.ui.composition-live-controls":"^0.0.3","@teambit/compositions.ui.compositions-menu-bar":"^0.0.177","@teambit/compositions.ui.compositions-overview":"^0.0.10","@teambit/compositions.ui.hooks.use-composition":"^0.0.177","@teambit/defender.content.formatter-overview":"1.96.10","@teambit/defender.content.linter-overview":"1.95.0","@teambit/defender.content.tester-overview":"1.95.0","@teambit/defender.eslint-linter":"^1.0.56","@teambit/defender.fs.global-bit-temp-dir":"0.0.1","@teambit/defender.jest-tester":"^2.0.17","@teambit/defender.mocha-tester":"^1.0.33","@teambit/defender.prettier-formatter":"^1.0.23","@teambit/defender.tester-task":"^1.0.14","@teambit/defender.ui.test-compare-section":"^0.0.101","@teambit/defender.ui.test-loader":"^0.0.504","@teambit/defender.ui.test-table":"^0.0.511","@teambit/dependencies.modules.packages-excluder":"^1.0.8","@teambit/dependencies.pnpm.dep-path":"1.0.1","@teambit/design.buttons.action-button":"^0.0.4","@teambit/design.content.table":"^0.0.2","@teambit/design.controls.menu":"^0.0.1","@teambit/design.elements.icon":"1.0.24","@teambit/design.inputs.date-picker":"^0.0.3","@teambit/design.inputs.dropdown":"^1.3.3","@teambit/design.inputs.input-text":"^1.1.4","@teambit/design.inputs.selectors.checkbox-item":"1.2.0","@teambit/design.inputs.selectors.menu-item":"^1.1.0","@teambit/design.inputs.text-area":"^0.0.20","@teambit/design.inputs.toggle-button":"0.0.13","@teambit/design.inputs.toggle-switch":"^0.0.8","@teambit/design.navigation.responsive-navbar":"^0.0.8","@teambit/design.skeletons.base-skeleton":"^0.0.2","@teambit/design.theme.icons-font":"2.0.29","@teambit/design.themes.dark-theme":"1.91.51","@teambit/design.themes.theme-toggler":"^0.1.56","@teambit/design.ui.alert-card":"0.0.27","@teambit/design.ui.brand.logo":"1.96.19","@teambit/design.ui.contributors":"0.0.514","@teambit/design.ui.empty-box":"0.0.364","@teambit/design.ui.heading":"1.0.26","@teambit/design.ui.icon-button":"1.1.28","@teambit/design.ui.input.color-picker":"^0.0.56","@teambit/design.ui.input.option-button":"1.0.13","@teambit/design.ui.input.radio":"1.1.13","@teambit/design.ui.input.toggle":"1.0.22","@teambit/design.ui.navigation.link":"^1.96.12","@teambit/design.ui.pages.not-found":"0.0.371","@teambit/design.ui.pages.server-error":"0.0.368","@teambit/design.ui.pages.standalone-not-found-page":"0.0.370","@teambit/design.ui.pill-label":"0.0.360","@teambit/design.ui.round-loader":"0.0.355","@teambit/design.ui.separator":"0.0.367","@teambit/design.ui.skeletons.sidebar-loader":"0.0.5","@teambit/design.ui.styles.colors-by-letter":"0.0.41","@teambit/design.ui.styles.ellipsis":"0.0.357","@teambit/design.ui.surfaces.menu.link-item":"^1.0.13","@teambit/design.ui.surfaces.menu.section":"^0.0.357","@teambit/design.ui.surfaces.status-message-card":"0.0.18","@teambit/design.ui.tree":"0.0.16","@teambit/docs.content.docs-overview":"1.96.8","@teambit/docs.entities.doc":"0.0.12","@teambit/docs.ui.overview-compare":"^1.0.12","@teambit/docs.ui.overview-compare-section":"^0.0.102","@teambit/documenter.theme.theme-compositions":"4.1.5","@teambit/documenter.theme.theme-context":"4.0.7","@teambit/documenter.ui.code-snippet":"^4.2.7","@teambit/documenter.ui.copied-message":"4.1.8","@teambit/documenter.ui.copy-box":"^4.1.20","@teambit/documenter.ui.heading":"4.1.8","@teambit/documenter.ui.label":"4.0.9","@teambit/documenter.ui.linked-heading":"4.1.10","@teambit/documenter.ui.paragraph":"^4.1.8","@teambit/documenter.ui.property-table":"4.1.11","@teambit/documenter.ui.section":"4.1.7","@teambit/documenter.ui.separator":"4.1.7","@teambit/documenter.ui.table":"4.1.10","@teambit/documenter.ui.table-heading-row":"4.0.11","@teambit/documenter.ui.table-row":"4.1.14","@teambit/evangelist.elements.button":"1.0.6","@teambit/evangelist.elements.icon":"1.0.5","@teambit/evangelist.input.checkbox.label":"^1.1.0","@teambit/evangelist.surfaces.dropdown":"1.0.3","@teambit/explorer.ui.command-bar":"^2.0.19","@teambit/explorer.ui.component-card":"^0.0.51","@teambit/explorer.ui.gallery.component-grid":"0.0.496","@teambit/git.modules.git-ignore":"^1.0.2","@teambit/gitconfig":"2.0.10","@teambit/graph.cleargraph":"0.0.11","@teambit/harmony":"0.4.7","@teambit/html.modules.inject-html-element":"0.0.5","@teambit/lane-id":"~0.0.312","@teambit/lanes.ui.compare.lane-compare":"^0.0.205","@teambit/lanes.ui.compare.lane-compare-page":"^0.0.173","@teambit/lanes.ui.icons.lane-icon":"^0.0.9","@teambit/lanes.ui.lane-details":"^0.0.205","@teambit/lanes.ui.menus.lanes-overview-menu":"^0.0.11","@teambit/lanes.ui.navigation.lane-switcher":"^0.0.235","@teambit/legacy-bit-id":"^1.1.3","@teambit/mdx.compilers.mdx-transpiler":"^1.0.11","@teambit/mdx.generator.mdx-templates":"^1.0.14","@teambit/mdx.modules.mdx-loader":"^1.0.15","@teambit/mdx.ui.mdx-layout":"^1.0.12","@teambit/mdx.ui.mdx-scope-context":"^1.0.7","@teambit/node.deps-detectors.detective-es6":"~0.0.6","@teambit/node.utils.esm-loader":"^0.0.7","@teambit/pkg.config.auth":"^0.0.3","@teambit/pkg.content.packages-overview":"1.96.9","@teambit/pkg.entities.registry":"^0.0.4","@teambit/pkg.package-json.validator":"0.0.1","@teambit/preview.cli.dev-server-events-listener":"^0.0.1","@teambit/preview.modules.preview-modules":"^1.0.3","@teambit/react.content.react-overview":"1.96.5","@teambit/react.instructions.react.adding-compositions":"0.0.7","@teambit/react.instructions.react.adding-tests":"0.0.6","@teambit/react.jest.react-jest":"^1.0.37","@teambit/react.rendering.ssr":"^1.0.3","@teambit/react.ui.component-highlighter":"0.2.5","@teambit/react.webpack.react-webpack":"^1.0.50","@teambit/scope.content.scope-overview":"1.96.8","@teambit/scope.ui.empty-scope":"^0.0.510","@teambit/scope.ui.hooks.use-scope":"^0.0.456","@teambit/scope.ui.scope-details":"^0.0.526","@teambit/scope.ui.scope-icon":"0.0.99","@teambit/scopes.scope-descriptor":"^0.0.34","@teambit/scopes.scope-id":"^0.0.9","@teambit/styling.deps-detectors.detective-css":"~0.0.6","@teambit/styling.deps-detectors.detective-less":"~0.0.6","@teambit/styling.deps-detectors.detective-sass":"~0.0.9","@teambit/styling.deps-detectors.detective-scss":"~0.0.9","@teambit/styling.deps-lookups.lookup-styling":"~0.0.4","@teambit/tagged-exports":"^0.0.47","@teambit/tests-results":"^1.0.5","@teambit/toolbox.fs.readdir-skip-system-files":"~0.0.2","@teambit/toolbox.network.agent":"~0.0.554","@teambit/toolbox.object.sorter":"~0.0.2","@teambit/toolbox.time.time-format":"^0.0.502","@teambit/typescript.deps-detectors.detective-typescript":"~0.0.10","@teambit/typescript.deps-lookups.lookup-typescript":"~0.0.2","@teambit/typescript.typescript-compiler":"^2.0.63","@teambit/ui-foundation.ui.constants.z-indexes":"^0.0.504","@teambit/ui-foundation.ui.corner":"^0.0.520","@teambit/ui-foundation.ui.empty-component-gallery":"^0.0.512","@teambit/ui-foundation.ui.full-loader":"^0.0.500","@teambit/ui-foundation.ui.global-loader":"^0.0.502","@teambit/ui-foundation.ui.hooks.use-data-query":"^0.0.506","@teambit/ui-foundation.ui.hooks.use-is-mobile":"^0.0.200","@teambit/ui-foundation.ui.hooks.use-user-agent":"^0.0.200","@teambit/ui-foundation.ui.is-browser":"^0.0.500","@teambit/ui-foundation.ui.keycap":"^0.0.500","@teambit/ui-foundation.ui.main-dropdown":"^0.0.505","@teambit/ui-foundation.ui.menu":"^0.0.503","@teambit/ui-foundation.ui.menu-widget-icon":"^0.0.502","@teambit/ui-foundation.ui.navigation.react-router-adapter":"^6.1.3","@teambit/ui-foundation.ui.notifications.notification-center":"^0.0.523","@teambit/ui-foundation.ui.notifications.notification-context":"^0.0.501","@teambit/ui-foundation.ui.notifications.store":"^0.0.500","@teambit/ui-foundation.ui.react-router.use-query":"^0.0.505","@teambit/ui-foundation.ui.top-bar":"^0.0.515","@teambit/ui-foundation.ui.tree.drawer":"^1.0.0","@teambit/ui-foundation.ui.tree.file-tree":"0.0.526","@teambit/ui-foundation.ui.tree.folder-tree-node":"0.0.510","@teambit/ui-foundation.ui.tree.tree-node":"0.0.517","@teambit/ui-foundation.ui.use-box.bottom-link":"^0.0.119","@teambit/ui-foundation.ui.use-box.dropdown":"^0.0.150","@teambit/ui-foundation.ui.use-box.menu":"^1.0.16","@teambit/ui-foundation.ui.use-box.scope-menu":"^0.0.147","@teambit/ui-foundation.ui.use-box.tab":"^0.0.122","@teambit/workspace.content.variants":"1.96.7","@teambit/workspace.content.workspace-overview":"1.96.6","@teambit/workspace.root-components":"^1.0.1","@teambit/workspace.ui.empty-workspace":"^0.0.509","@teambit/workspace.ui.load-preview":"^0.0.504","@testing-library/jest-dom":"5.16.5","@testing-library/react":"12.1.5","@tippyjs/react":"4.2.0","@types/archiver":"5.3.1","@types/cacache":"12.0.1","@types/chai":"4.2.15","@types/chai-arrays":"1.0.3","@types/chai-fs":"2.0.2","@types/chai-string":"1.4.2","@types/classnames":"^2.3.4","@types/cli-table":"^0.3.0","@types/cors":"2.8.10","@types/didyoumean":"1.2.0","@types/diff":"^5.2.3","@types/eslint":"8.56.6","@types/eventsource":"^1.1.15","@types/express":"4.17.21","@types/find-root":"1.1.2","@types/fs-extra":"9.0.7","@types/graphlib":"2.1.7","@types/http-proxy":"^1.17.16","@types/http-proxy-agent":"2.0.2","@types/lodash":"4.14.165","@types/lodash.compact":"3.0.6","@types/lodash.flatten":"4.4.6","@types/lodash.head":"4.0.6","@types/mdx-js__react":"1.5.5","@types/memoizee":"0.4.5","@types/mime":"2.0.3","@types/mini-css-extract-plugin":"2.2.0","@types/minimatch":"3.0.4","@types/mocha":"9.1.0","@types/mousetrap":"1.6.5","@types/node":"22.10.5","@types/node-fetch":"2.5.12","@types/normalize-path":"^3.0.0","@types/object-hash":"1.3.4","@types/pluralize":"0.0.29","@types/prettier":"2.7.3","@types/pretty-time":"^1.1.5","@types/react":"^17.0.67","@types/react-dev-utils":"9.0.15","@types/react-dom":"^17.0.21","@types/react-syntax-highlighter":"15.5.13","@types/react-tabs":"2.3.2","@types/sass":"1.45.0","@types/semver":"7.5.8","@types/ssri":"^7.1.5","@types/testing-library__jest-dom":"5.9.5","@types/ua-parser-js":"0.7.35","@types/url-join":"4.0.0","@types/uuid":"8.3.4","@types/webpack":"5.28.5","@types/yargs":"17.0.0","@typescript-eslint/parser":"8.39.0","@typescript-eslint/typescript-estree":"8.39.0","@viz-js/viz":"^3.4.0","@yarnpkg/cli":"3.6.1","@yarnpkg/core":"3.5.2","@yarnpkg/fslib":"2.10.3","@yarnpkg/parsers":"2.5.1","@yarnpkg/plugin-npm":"2.7.4","@yarnpkg/plugin-pack":"3.2.0",agentkeepalive:"4.1.4","apollo-link-context":"1.0.20","apollo-link-http":"1.5.17","apollo-link-ws":"1.0.20","apollo-server":"2.26.2","apollo-utilities":"1.3.4",archiver:"5.3.1",archy:"1.0.0","array-difference":"0.0.2",assert:"^2.1.0","async-mutex":"0.3.1","async-retry":"^1.3.3","babel-plugin-transform-typescript-metadata":"0.3.2","body-parser":"1.20.3",buffer:"6.0.3",cacache:"19.0.1",camelcase:"6.2.0",chai:"4.3.0","chai-arrays":"1.1.0","chai-fs":"1.0.0","chai-string":"1.5.0","chai-subset":"^1.6.0",chalk:"4.1.2",checksum:"0.1.1",chokidar:"3.6.0",classnames:"^2.5.1","cli-highlight":"2.1.9","cli-spinners":"1.3.1","cli-table":"0.3.6",comlink:"4.3.0","command-exists":"1.2.9","comment-json":"4.2.5","compression-webpack-plugin":"11.0.0","copy-to-clipboard":"3.3.1","core-js":"3.9.0",cors:"2.8.5","credentials-by-uri":"2.0.0","cross-env":"7.0.3","cross-fetch":"3.1.5","css-minimizer-webpack-plugin":"^6.0.0",debug:"4.3.4","detect-indent":"5.0.0","detect-newline":"3.1.0","detective-amd":"3.0.1","detective-stylus":"1.0.0",didyoumean:"1.2.1",diff:"^7.0.0",doctrine:"2.1.0",dreidels:"0.6.1","enhanced-resolve":"4.5.0",enquirer:"2.4.1",eslint:"8.56.0","eslint-config-prettier":"8.5.0","eslint-import-resolver-node":"0.3.4","eslint-plugin-import":"2.29.1","eslint-plugin-mocha":"6.3.0","eslint-plugin-promise":"7.2.1","eslint-plugin-react":"7.33.2",eventemitter2:"6.4.4",events:"^3.3.0",eventsource:"^2.0.2",execa:"2.1.0","expose-loader":"3.1.0",express:"4.21.2","express-graphql":"0.12.0","express-history-api-fallback":"2.2.1",filenamify:"4.2.0","find-root":"1.1.0",firstline:"2.0.2",flatted:"3.1.0","fs-extra":"10.0.0","fuse.js":"6.6.2","get-tsconfig":"4.2.0",glob:"7.1.6",globby:"11.0.1","graceful-fs":"4.2.10",graphlib:"2.1.8","graphql-disable-introspection":"^1.2.0","graphql-request":"6.1.0","graphql-subscriptions":"1.2.0","graphql-tag":"2.12.1","graphql-type-json":"0.3.2","group-array":"1.0.0",history:"5.3.0","html-webpack-plugin":"5.3.2","http-proxy":"1.18.1","http-proxy-agent":"4.0.1","http-proxy-middleware":"^3.0.3","https-proxy-agent":"5.0.0","humanize-duration":"3.23.1","humanize-string":"2.1.0",ignore:"3.3.10",ini:"2.0.0","inject-body-webpack-plugin":"1.3.0","insert-string-after":"1.0.0","insert-string-before":"1.0.0","is-binary-path":"2.1.0","is-builtin-module":"3.1.0","is-primitive":"3.0.1","is-relative-path":"2.0.0",isbinaryfile:"4.0.6",jest:"29.3.1","jest-message-util":"29.3.1","jest-watcher":"29.7.0","js-yaml":"npm:@zkochan/js-yaml@0.0.7","json-formatter-js":"2.3.4","junit-report-builder":"3.0.1",less:"^4.1.1","lint-staged":"^12.5.0",lodash:"4.17.21","lodash.compact":"3.0.1","lodash.head":"4.0.1","lodash.partition":"4.6.0","lru-cache":"10.4.3",memoizee:"0.4.15",mime:"2.5.2","mini-css-extract-plugin":"2.2.2",minimatch:"3.0.5",mocha:"11.1.0","mocha-junit-reporter":"2.2.1","mocha-multi-reporters":"1.5.1","module-definition":"3.3.1",moment:"2.29.4",mousetrap:"1.6.5",multimatch:"5.0.0","nerf-dart":"1.0.0","node-fetch":"2.6.7","node-source-walk":"4.2.0","normalize-path":"3.0.0","object-diff":"0.0.4","object-hash":"2.1.1",open:"8.4.2","open-editor":"3.0.0",ora:"5.4.1","p-filter":"2.1.0","p-limit":"3.1.0","p-locate":"5.0.0","p-map":"4.0.0","p-map-series":"2.1.0","p-queue":"6.6.2","pad-right":"0.2.2","parse-gitignore":"1.0.1","parse-package-name":"0.1.0","path-browserify":"^1.0.1","path-to-regexp":"6.3.0",penpal:"6.2.2",pino:"8.7.0","pino-pretty":"9.1.1",pluralize:"8.0.0",postcss:"8.4.45","postcss-flexbugs-fixes":"5.0.2","postcss-loader":"7.0.1","postcss-preset-env":"7.8.2",prettier:"3.3.3","prettier-eslint":"16.3.0","pretty-bytes":"5.6.0","pretty-time":"1.1.0",process:"0.11.10","prop-types":"^15.8.1",punycode:"^2.3.1","query-string":"7.0.0","react-animate-height":"2.0.23","react-dev-utils":"12.0.1","react-docgen":"5.3.1","react-error-boundary":"^3.0.0","react-error-overlay":"6.0.9","react-syntax-highlighter":"15.6.1","react-tabs":"3.2.0","react-test-renderer":"17.0.2",reactflow:"^11.11.3","read-pkg-up":"7.0.1","regenerator-runtime":"0.13.7","reset-css":"5.0.1",resolve:"1.20.0","resolve-dependency-path":"2.0.0","resolve-from":"5.0.0","resolve-link-target":"^1.0.1","resolve-url-loader":"5.0.0",rewire:"7.0.0",rimraf:"3.0.2",sass:"1.63.6",semver:"7.7.1","semver-intersect":"1.4.0","semver-range-intersect":"0.3.1","serialize-error":"5.0.0","simple-git":"^3.28.0",sinon:"17.0.1","socks-proxy-agent":"5.0.0",ssri:"10.0.1","string-format":"0.5.0",string_decoder:"^1.3.0","stringify-package":"1.0.1","strip-ansi":"6.0.0","stylus-lookup":"3.0.2","subscriptions-transport-ws":"0.9.18","symlink-dir":"^9.0.0",table:"6.7.3",tar:"7.4.3","tar-fs":"2.1.3","tar-stream":"2.2.0",tempy:"1.0.1","terser-webpack-plugin":"5.2.0","tippy.js":"6.2.7","ts-graphviz":"^2.1.6","type-coverage":"2.15.1",typescript:"5.9.2","ua-parser-js":"0.7.40","uid-number":"0.0.6",uniqid:"5.3.0",url:"^0.11.3","url-join":"4.0.1","user-home":"^3.0.0",util:"^0.12.5",uuid:"8.3.2","validate-npm-package-name":"6.0.0","version-selector-type":"3.0.0",vinyl:"2.2.1","vinyl-file":"3.0.0","vscode-jsonrpc":"6.0.0","vscode-languageserver-types":"3.16.0","vue-component-meta":"^2.2.10",webpack:"5.97.1","webpack-assets-manifest":"5.1.0","webpack-dev-server":"4.15.2","webpack-manifest-plugin":"5.0.0","webpack-merge":"5.8.0","workbox-webpack-plugin":"7.1.0","write-file-atomic":"5.0.0",ws:"7.5.10",yaml:"1.10.2",yargs:"17.0.1",yesno:"0.4.0",yn:"2.0.0",zod:"^3.24.4"},peerDependencies:{"@apollo/client":"^3.6.0","@teambit/base-react.navigation.link":"2.0.33","@testing-library/react":"^12.1.5","core-js":"^3.10.0",graphql:"15.8.0",mz:"2.7.0",react:"17.0.2","react-dom":"17.0.2","react-router-dom":"^6.22.3"}},linkCoreAspects:!1,packageManager:"teambit.dependencies/pnpm",rootComponents:!0,overrides:{"react-router-dom@6":"^6.30.1","subscriptions-transport-ws@0.9":"^0.9.19","@teambit/base-react.navigation.link@2":"2.0.33","lodash@4":"4.17.21","trim@0":"0.0.3","@teambit/harmony":"0.4.7","@types/fs-capacitor":"2.0.0","@types/node":"22.10.5","signal-exit@4":"^4.0.2","@types/react":"^17.0.67","@types/react-dom":"^17.0.21","cross-spawn@7":"^7.0.5","minio@7.0":"7.1.3","uri-js":"npm:uri-js-replace",encoding:"-"},nodeVersion:"22.14.0",engineStrict:!0,packageImportMethod:"copy",packageManagerArgs:[],devFilePatterns:["**/*.spec.ts"],strictPeerDependencies:!0,autoInstallPeers:!0,savePrefix:"",extraArgs:[],peerDependencyRules:{allowAny:["react","react-dom","@testing-library/react","@teambit/legacy","typescript"],ignoreMissing:[]},capsuleSelfReference:!0},"teambit.preview/preview":{bundlingStrategy:"component",maxChunkSize:5},"teambit.generator/generator":{aspects:["teambit.harmony/aspect"]},"teambit.component/issues":{ignoreIssues:["CircularDependencies"]},"teambit.workspace/variants":{"*,!{*/**}":{"teambit.pkg/pkg":{packageManagerPublishArgs:["--access public"],packageJson:{name:"@teambit/{name}"}}},"{*/**}":{"teambit.dependencies/dependency-resolver":{policy:{dependencies:{},devDependencies:{"@types/mocha":"9.1.0"},peerDependencies:{}}}},"scopes/harmony/bit":{"teambit.component/issues":{ignoreIssues:["ImportNonMainFiles"]},"teambit.pkg/pkg":{packageManagerPublishArgs:["--access public"],packageJson:{name:"@teambit/{name}",bvm:{node:"22.14.0"},engines:{node:">=18.12.0"},repository:{type:"git",url:"https://github.com/teambit/bit"}}},"teambit.dependencies/dependency-resolver":{policy:{dependencies:{"@teambit/base-react.navigation.link":"2.0.33","@teambit/ui-foundation.ui.navigation.react-router-adapter":"6.1.3","@apollo/client":"3.6.9","@teambit/legacy":"2.1.0","@yarnpkg/cli":"3.6.1","@yarnpkg/core":"3.5.2","@yarnpkg/plugin-pack":"3.2.0","@types/react":"^17.0.67","@types/react-dom":"^17.0.21",graphql:"15.8.0",browserslist:"4.23.3","reflect-metadata":"0.1.13","monaco-editor":"0.33.0",mz:"2.7.0",react:"17.0.2","react-dom":"17.0.2","core-js":"3.13.0",postcss:"8.4.18",buffer:"6.0.3",process:"0.11.10","react-router-dom":"6.3.0",typescript:"5.9.2","@parcel/css":"^1.8.3",lightningcss:"^1.20.0","@swc/css":"^0.0.20"},devDependencies:{},peerDependencies:{"@teambit/base-react.navigation.link":"-","@teambit/legacy":"-","@teambit/ui-foundation.ui.navigation.react-router-adapter":"-",browserslist:"-",graphql:"-",react:"-","react-dom":"-","react-router-dom":"-","core-js":"-"}}}},"scopes/harmony/node":{"teambit.component/issues":{ignoreIssues:["ImportNonMainFiles"]},"teambit.dependencies/dependency-resolver":{policy:{}}},"components/legacy":{"teambit.pkg/pkg":{}},"components/bit":{"teambit.pkg/pkg":{}},"components/mcp":{"teambit.pkg/pkg":{}},"components/typescript-compiler":{"teambit.pkg/pkg":{}},"components/scope/remotes":{"teambit.pkg/pkg":{}},"scopes/component/sources":{"teambit.pkg/pkg":{}},"scopes/component/snap-distance":{"teambit.pkg/pkg":{}},"scopes/scope/network":{"teambit.pkg/pkg":{}},"scopes/scope/remote-actions":{"teambit.pkg/pkg":{}},"components/semantics/doc-parser":{"teambit.pkg/pkg":{}}},"teambit.git/ci":{commitMessageScript:"node scripts/generate-merge-commit-message.js"},"teambit.harmony/bit":"teambit.workspace/workspace"})},57582:(__unused_webpack_module,exports,__webpack_require__)=>{var __webpack_unused_export__;/*! For license information please see main.bd0aab87.cjs.LICENSE.txt */(()=>{var e={8401:(e2,t2,n2)=>{"use strict";function r2(e3){return e3.split("-")[0]}function i(e3){return e3.split("-")[1]}function o(e3){return["top","bottom"].includes(r2(e3))?"x":"y"}function s(e3){return e3==="y"?"height":"width"}function a(e3,t3,n3){let{reference:a2,floating:u2}=e3;const c2=a2.x+a2.width/2-u2.width/2,l2=a2.y+a2.height/2-u2.height/2,f2=o(t3),p2=s(f2),d2=a2[p2]/2-u2[p2]/2,h2=f2==="x";let v2;switch(r2(t3)){case"top":v2={x:c2,y:a2.y-u2.height};break;case"bottom":v2={x:c2,y:a2.y+a2.height};break;case"right":v2={x:a2.x+a2.width,y:l2};break;case"left":v2={x:a2.x-u2.width,y:l2};break;default:v2={x:a2.x,y:a2.y}}switch(i(t3)){case"start":v2[f2]-=d2*(n3&&h2?-1:1);break;case"end":v2[f2]+=d2*(n3&&h2?-1:1)}return v2}function u(e3){return typeof e3!="number"?function(e4){return{top:0,right:0,bottom:0,left:0,...e4}}(e3):{top:e3,right:e3,bottom:e3,left:e3}}function c(e3){return{...e3,top:e3.y,left:e3.x,right:e3.x+e3.width,bottom:e3.y+e3.height}}async function l(e3,t3){var n3;t3===void 0&&(t3={});const{x:r3,y:i2,platform:o2,rects:s2,elements:a2,strategy:l2}=e3,{boundary:f2="clippingAncestors",rootBoundary:p2="viewport",elementContext:d2="floating",altBoundary:h2=!1,padding:v2=0}=t3,m2=u(v2),g2=a2[h2?d2==="floating"?"reference":"floating":d2],y2=c(await o2.getClippingRect({element:(n3=await(o2.isElement==null?void 0:o2.isElement(g2)))==null||n3?g2:g2.contextElement||await(o2.getDocumentElement==null?void 0:o2.getDocumentElement(a2.floating)),boundary:f2,rootBoundary:p2,strategy:l2})),E2=c(o2.convertOffsetParentRelativeRectToViewportRelativeRect?await o2.convertOffsetParentRelativeRectToViewportRelativeRect({rect:d2==="floating"?{...s2.floating,x:r3,y:i2}:s2.reference,offsetParent:await(o2.getOffsetParent==null?void 0:o2.getOffsetParent(a2.floating)),strategy:l2}):s2[d2]);return{top:y2.top-E2.top+m2.top,bottom:E2.bottom-y2.bottom+m2.bottom,left:y2.left-E2.left+m2.left,right:E2.right-y2.right+m2.right}}n2.r(t2),n2.d(t2,{arrow:()=>ve,autoPlacement:()=>w,autoUpdate:()=>ue,computePosition:()=>ce,detectOverflow:()=>l,flip:()=>O,getOverflowAncestors:()=>ie,hide:()=>S,inline:()=>P,limitShift:()=>x,offset:()=>N,shift:()=>R,size:()=>j,useFloating:()=>he});const f=Math.min,p=Math.max;function d(e3,t3,n3){return p(e3,f(t3,n3))}const h=e3=>({name:"arrow",options:e3,async fn(t3){const{element:n3,padding:r3=0}=e3??{},{x:a2,y:c2,placement:l2,rects:f2,platform:p2}=t3;if(n3==null)return{};const h2=u(r3),v2={x:a2,y:c2},m2=o(l2),g2=i(l2),y2=s(m2),E2=await p2.getDimensions(n3),b2=m2==="y"?"top":"left",_2=m2==="y"?"bottom":"right",w2=f2.reference[y2]+f2.reference[m2]-v2[m2]-f2.floating[y2],O2=v2[m2]-f2.reference[m2],T2=await(p2.getOffsetParent==null?void 0:p2.getOffsetParent(n3));let I2=T2?m2==="y"?T2.clientHeight||0:T2.clientWidth||0:0;I2===0&&(I2=f2.floating[y2]);const S2=w2/2-O2/2,N2=h2[b2],A2=I2-E2[y2]-h2[_2],R2=I2/2-E2[y2]/2+S2,x2=d(N2,R2,A2),j2=(g2==="start"?h2[b2]:h2[_2])>0&&R2!==x2&&f2.reference[y2]<=f2.floating[y2];return{[m2]:v2[m2]-(j2?R2<N2?N2-R2:A2-R2:0),data:{[m2]:x2,centerOffset:R2-x2}}}}),v={left:"right",right:"left",bottom:"top",top:"bottom"};function m(e3){return e3.replace(/left|right|bottom|top/g,e4=>v[e4])}function g(e3,t3,n3){n3===void 0&&(n3=!1);const r3=i(e3),a2=o(e3),u2=s(a2);let c2=a2==="x"?r3===(n3?"end":"start")?"right":"left":r3==="start"?"bottom":"top";return t3.reference[u2]>t3.floating[u2]&&(c2=m(c2)),{main:c2,cross:m(c2)}}const y={start:"end",end:"start"};function E(e3){return e3.replace(/start|end/g,e4=>y[e4])}const b=["top","right","bottom","left"],_=b.reduce((e3,t3)=>e3.concat(t3,t3+"-start",t3+"-end"),[]),w=function(e3){return e3===void 0&&(e3={}),{name:"autoPlacement",options:e3,async fn(t3){var n3,o2,s2,a2,u2;const{x:c2,y:f2,rects:p2,middlewareData:d2,placement:h2,platform:v2,elements:m2}=t3,{alignment:y2=null,allowedPlacements:b2=_,autoAlignment:w2=!0,...O2}=e3,T2=function(e4,t4,n4){return(e4?[...n4.filter(t5=>i(t5)===e4),...n4.filter(t5=>i(t5)!==e4)]:n4.filter(e5=>r2(e5)===e5)).filter(n5=>!e4||i(n5)===e4||!!t4&&E(n5)!==n5)}(y2,w2,b2),I2=await l(t3,O2),S2=(n3=(o2=d2.autoPlacement)==null?void 0:o2.index)!=null?n3:0,N2=T2[S2];if(N2==null)return{};const{main:A2,cross:R2}=g(N2,p2,await(v2.isRTL==null?void 0:v2.isRTL(m2.floating)));if(h2!==N2)return{x:c2,y:f2,reset:{placement:T2[0]}};const x2=[I2[r2(N2)],I2[A2],I2[R2]],j2=[...(s2=(a2=d2.autoPlacement)==null?void 0:a2.overflows)!=null?s2:[],{placement:N2,overflows:x2}],P2=T2[S2+1];if(P2)return{data:{index:S2+1,overflows:j2},reset:{placement:P2}};const D2=j2.slice().sort((e4,t4)=>e4.overflows[0]-t4.overflows[0]),L2=(u2=D2.find(e4=>{let{overflows:t4}=e4;return t4.every(e5=>e5<=0)}))==null?void 0:u2.placement,M2=L2??D2[0].placement;return M2!==h2?{data:{index:S2+1,overflows:j2},reset:{placement:M2}}:{}}}},O=function(e3){return e3===void 0&&(e3={}),{name:"flip",options:e3,async fn(t3){var n3;const{placement:i2,middlewareData:o2,rects:s2,initialPlacement:a2,platform:u2,elements:c2}=t3,{mainAxis:f2=!0,crossAxis:p2=!0,fallbackPlacements:d2,fallbackStrategy:h2="bestFit",flipAlignment:v2=!0,...y2}=e3,b2=r2(i2),_2=d2||(b2!==a2&&v2?function(e4){const t4=m(e4);return[E(e4),t4,E(t4)]}(a2):[m(a2)]),w2=[a2,..._2],O2=await l(t3,y2),T2=[];let I2=((n3=o2.flip)==null?void 0:n3.overflows)||[];if(f2&&T2.push(O2[b2]),p2){const{main:e4,cross:t4}=g(i2,s2,await(u2.isRTL==null?void 0:u2.isRTL(c2.floating)));T2.push(O2[e4],O2[t4])}if(I2=[...I2,{placement:i2,overflows:T2}],!T2.every(e4=>e4<=0)){var S2,N2;const e4=((S2=(N2=o2.flip)==null?void 0:N2.index)!=null?S2:0)+1,t4=w2[e4];if(t4)return{data:{index:e4,overflows:I2},reset:{placement:t4}};let n4="bottom";switch(h2){case"bestFit":{var A2;const e5=(A2=I2.map(e6=>[e6,e6.overflows.filter(e7=>e7>0).reduce((e7,t5)=>e7+t5,0)]).sort((e6,t5)=>e6[1]-t5[1])[0])==null?void 0:A2[0].placement;e5&&(n4=e5);break}case"initialPlacement":n4=a2}if(i2!==n4)return{reset:{placement:n4}}}return{}}}};function T(e3,t3){return{top:e3.top-t3.height,right:e3.right-t3.width,bottom:e3.bottom-t3.height,left:e3.left-t3.width}}function I(e3){return b.some(t3=>e3[t3]>=0)}const S=function(e3){let{strategy:t3="referenceHidden",...n3}=e3===void 0?{}:e3;return{name:"hide",async fn(e4){const{rects:r3}=e4;switch(t3){case"referenceHidden":{const t4=T(await l(e4,{...n3,elementContext:"reference"}),r3.reference);return{data:{referenceHiddenOffsets:t4,referenceHidden:I(t4)}}}case"escaped":{const t4=T(await l(e4,{...n3,altBoundary:!0}),r3.floating);return{data:{escapedOffsets:t4,escaped:I(t4)}}}default:return{}}}}},N=function(e3){return e3===void 0&&(e3=0),{name:"offset",options:e3,async fn(t3){const{x:n3,y:s2}=t3,a2=await async function(e4,t4){const{placement:n4,platform:s3,elements:a3}=e4,u2=await(s3.isRTL==null?void 0:s3.isRTL(a3.floating)),c2=r2(n4),l2=i(n4),f2=o(n4)==="x",p2=["left","top"].includes(c2)?-1:1,d2=u2&&f2?-1:1,h2=typeof t4=="function"?t4(e4):t4;let{mainAxis:v2,crossAxis:m2,alignmentAxis:g2}=typeof h2=="number"?{mainAxis:h2,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...h2};return l2&&typeof g2=="number"&&(m2=l2==="end"?-1*g2:g2),f2?{x:m2*d2,y:v2*p2}:{x:v2*p2,y:m2*d2}}(t3,e3);return{x:n3+a2.x,y:s2+a2.y,data:a2}}}};function A(e3){return e3==="x"?"y":"x"}const R=function(e3){return e3===void 0&&(e3={}),{name:"shift",options:e3,async fn(t3){const{x:n3,y:i2,placement:s2}=t3,{mainAxis:a2=!0,crossAxis:u2=!1,limiter:c2={fn:e4=>{let{x:t4,y:n4}=e4;return{x:t4,y:n4}}},...f2}=e3,p2={x:n3,y:i2},h2=await l(t3,f2),v2=o(r2(s2)),m2=A(v2);let g2=p2[v2],y2=p2[m2];if(a2){const e4=v2==="y"?"bottom":"right";g2=d(g2+h2[v2==="y"?"top":"left"],g2,g2-h2[e4])}if(u2){const e4=m2==="y"?"bottom":"right";y2=d(y2+h2[m2==="y"?"top":"left"],y2,y2-h2[e4])}const E2=c2.fn({...t3,[v2]:g2,[m2]:y2});return{...E2,data:{x:E2.x-n3,y:E2.y-i2}}}}},x=function(e3){return e3===void 0&&(e3={}),{options:e3,fn(t3){const{x:n3,y:i2,placement:s2,rects:a2,middlewareData:u2}=t3,{offset:c2=0,mainAxis:l2=!0,crossAxis:f2=!0}=e3,p2={x:n3,y:i2},d2=o(s2),h2=A(d2);let v2=p2[d2],m2=p2[h2];const g2=typeof c2=="function"?c2({...a2,placement:s2}):c2,y2=typeof g2=="number"?{mainAxis:g2,crossAxis:0}:{mainAxis:0,crossAxis:0,...g2};if(l2){const e4=d2==="y"?"height":"width",t4=a2.reference[d2]-a2.floating[e4]+y2.mainAxis,n4=a2.reference[d2]+a2.reference[e4]-y2.mainAxis;v2<t4?v2=t4:v2>n4&&(v2=n4)}if(f2){var E2,b2,_2,w2;const e4=d2==="y"?"width":"height",t4=["top","left"].includes(r2(s2)),n4=a2.reference[h2]-a2.floating[e4]+(t4&&(E2=(b2=u2.offset)==null?void 0:b2[h2])!=null?E2:0)+(t4?0:y2.crossAxis),i3=a2.reference[h2]+a2.reference[e4]+(t4?0:(_2=(w2=u2.offset)==null?void 0:w2[h2])!=null?_2:0)-(t4?y2.crossAxis:0);m2<n4?m2=n4:m2>i3&&(m2=i3)}return{[d2]:v2,[h2]:m2}}}},j=function(e3){return e3===void 0&&(e3={}),{name:"size",options:e3,async fn(t3){const{placement:n3,rects:o2,platform:s2,elements:a2}=t3,{apply:u2,...c2}=e3,f2=await l(t3,c2),d2=r2(n3),h2=i(n3);let v2,m2;d2==="top"||d2==="bottom"?(v2=d2,m2=h2===(await(s2.isRTL==null?void 0:s2.isRTL(a2.floating))?"start":"end")?"left":"right"):(m2=d2,v2=h2==="end"?"top":"bottom");const g2=p(f2.left,0),y2=p(f2.right,0),E2=p(f2.top,0),b2=p(f2.bottom,0),_2={availableHeight:o2.floating.height-(["left","right"].includes(n3)?2*(E2!==0||b2!==0?E2+b2:p(f2.top,f2.bottom)):f2[v2]),availableWidth:o2.floating.width-(["top","bottom"].includes(n3)?2*(g2!==0||y2!==0?g2+y2:p(f2.left,f2.right)):f2[m2])},w2=await s2.getDimensions(a2.floating);u2?.({...t3,..._2});const O2=await s2.getDimensions(a2.floating);return w2.width!==O2.width||w2.height!==O2.height?{reset:{rects:!0}}:{}}}},P=function(e3){return e3===void 0&&(e3={}),{name:"inline",options:e3,async fn(t3){var n3;const{placement:i2,elements:s2,rects:a2,platform:l2,strategy:d2}=t3,{padding:h2=2,x:v2,y:m2}=e3,g2=c(l2.convertOffsetParentRelativeRectToViewportRelativeRect?await l2.convertOffsetParentRelativeRectToViewportRelativeRect({rect:a2.reference,offsetParent:await(l2.getOffsetParent==null?void 0:l2.getOffsetParent(s2.floating)),strategy:d2}):a2.reference),y2=(n3=await(l2.getClientRects==null?void 0:l2.getClientRects(s2.reference)))!=null?n3:[],E2=u(h2),b2=await l2.getElementRects({reference:{getBoundingClientRect:function(){var e4;if(y2.length===2&&y2[0].left>y2[1].right&&v2!=null&&m2!=null)return(e4=y2.find(e5=>v2>e5.left-E2.left&&v2<e5.right+E2.right&&m2>e5.top-E2.top&&m2<e5.bottom+E2.bottom))!=null?e4:g2;if(y2.length>=2){if(o(i2)==="x"){const e6=y2[0],t5=y2[y2.length-1],n5=r2(i2)==="top",o2=e6.top,s4=t5.bottom,a4=n5?e6.left:t5.left,u3=n5?e6.right:t5.right;return{top:o2,bottom:s4,left:a4,right:u3,width:u3-a4,height:s4-o2,x:a4,y:o2}}const e5=r2(i2)==="left",t4=p(...y2.map(e6=>e6.right)),n4=f(...y2.map(e6=>e6.left)),s3=y2.filter(r3=>e5?r3.left===n4:r3.right===t4),a3=s3[0].top,u2=s3[s3.length-1].bottom;return{top:a3,bottom:u2,left:n4,right:t4,width:t4-n4,height:u2-a3,x:n4,y:a3}}return g2}},floating:s2.floating,strategy:d2});return a2.reference.x!==b2.reference.x||a2.reference.y!==b2.reference.y||a2.reference.width!==b2.reference.width||a2.reference.height!==b2.reference.height?{reset:{rects:b2}}:{}}}};function D(e3){return e3&&e3.document&&e3.location&&e3.alert&&e3.setInterval}function L(e3){if(e3==null)return window;if(!D(e3)){const t3=e3.ownerDocument;return t3&&t3.defaultView||window}return e3}function M(e3){return L(e3).getComputedStyle(e3)}function k(e3){return D(e3)?"":e3?(e3.nodeName||"").toLowerCase():""}function C(){const e3=navigator.userAgentData;return e3!=null&&e3.brands?e3.brands.map(e4=>e4.brand+"/"+e4.version).join(" "):navigator.userAgent}function F(e3){return e3 instanceof L(e3).HTMLElement}function V(e3){return e3 instanceof L(e3).Element}function $(e3){return typeof ShadowRoot<"u"&&(e3 instanceof L(e3).ShadowRoot||e3 instanceof ShadowRoot)}function U(e3){const{overflow:t3,overflowX:n3,overflowY:r3}=M(e3);return/auto|scroll|overlay|hidden/.test(t3+r3+n3)}function B(e3){return["table","td","th"].includes(k(e3))}function H(e3){const t3=/firefox/i.test(C()),n3=M(e3);return n3.transform!=="none"||n3.perspective!=="none"||n3.contain==="paint"||["transform","perspective"].includes(n3.willChange)||t3&&n3.willChange==="filter"||t3&&!!n3.filter&&n3.filter!=="none"}function G(){return!/^((?!chrome|android).)*safari/i.test(C())}const q=Math.min,W=Math.max,z=Math.round;function Y(e3,t3,n3){var r3,i2,o2,s2;t3===void 0&&(t3=!1),n3===void 0&&(n3=!1);const a2=e3.getBoundingClientRect();let u2=1,c2=1;t3&&F(e3)&&(u2=e3.offsetWidth>0&&z(a2.width)/e3.offsetWidth||1,c2=e3.offsetHeight>0&&z(a2.height)/e3.offsetHeight||1);const l2=V(e3)?L(e3):window,f2=!G()&&n3,p2=(a2.left+(f2&&(r3=(i2=l2.visualViewport)==null?void 0:i2.offsetLeft)!=null?r3:0))/u2,d2=(a2.top+(f2&&(o2=(s2=l2.visualViewport)==null?void 0:s2.offsetTop)!=null?o2:0))/c2,h2=a2.width/u2,v2=a2.height/c2;return{width:h2,height:v2,top:d2,right:p2+h2,bottom:d2+v2,left:p2,x:p2,y:d2}}function X(e3){return(t3=e3,(t3 instanceof L(t3).Node?e3.ownerDocument:e3.document)||window.document).documentElement;var t3}function J(e3){return V(e3)?{scrollLeft:e3.scrollLeft,scrollTop:e3.scrollTop}:{scrollLeft:e3.pageXOffset,scrollTop:e3.pageYOffset}}function Q(e3){return Y(X(e3)).left+J(e3).scrollLeft}function K(e3,t3,n3){const r3=F(t3),i2=X(t3),o2=Y(e3,r3&&function(e4){const t4=Y(e4);return z(t4.width)!==e4.offsetWidth||z(t4.height)!==e4.offsetHeight}(t3),n3==="fixed");let s2={scrollLeft:0,scrollTop:0};const a2={x:0,y:0};if(r3||!r3&&n3!=="fixed")if((k(t3)!=="body"||U(i2))&&(s2=J(t3)),F(t3)){const e4=Y(t3,!0);a2.x=e4.x+t3.clientLeft,a2.y=e4.y+t3.clientTop}else i2&&(a2.x=Q(i2));return{x:o2.left+s2.scrollLeft-a2.x,y:o2.top+s2.scrollTop-a2.y,width:o2.width,height:o2.height}}function Z(e3){return k(e3)==="html"?e3:e3.assignedSlot||e3.parentNode||($(e3)?e3.host:null)||X(e3)}function ee(e3){return F(e3)&&getComputedStyle(e3).position!=="fixed"?e3.offsetParent:null}function te(e3){const t3=L(e3);let n3=ee(e3);for(;n3&&B(n3)&&getComputedStyle(n3).position==="static";)n3=ee(n3);return n3&&(k(n3)==="html"||k(n3)==="body"&&getComputedStyle(n3).position==="static"&&!H(n3))?t3:n3||function(e4){let t4=Z(e4);for($(t4)&&(t4=t4.host);F(t4)&&!["html","body"].includes(k(t4));){if(H(t4))return t4;t4=t4.parentNode}return null}(e3)||t3}function ne(e3){if(F(e3))return{width:e3.offsetWidth,height:e3.offsetHeight};const t3=Y(e3);return{width:t3.width,height:t3.height}}function re(e3){const t3=Z(e3);return["html","body","#document"].includes(k(t3))?e3.ownerDocument.body:F(t3)&&U(t3)?t3:re(t3)}function ie(e3,t3){var n3;t3===void 0&&(t3=[]);const r3=re(e3),i2=r3===((n3=e3.ownerDocument)==null?void 0:n3.body),o2=L(r3),s2=i2?[o2].concat(o2.visualViewport||[],U(r3)?r3:[]):r3,a2=t3.concat(s2);return i2?a2:a2.concat(ie(s2))}function oe(e3,t3,n3){return t3==="viewport"?c(function(e4,t4){const n4=L(e4),r3=X(e4),i2=n4.visualViewport;let o2=r3.clientWidth,s2=r3.clientHeight,a2=0,u2=0;if(i2){o2=i2.width,s2=i2.height;const e5=G();(e5||!e5&&t4==="fixed")&&(a2=i2.offsetLeft,u2=i2.offsetTop)}return{width:o2,height:s2,x:a2,y:u2}}(e3,n3)):V(t3)?function(e4,t4){const n4=Y(e4,!1,t4==="fixed"),r3=n4.top+e4.clientTop,i2=n4.left+e4.clientLeft;return{top:r3,left:i2,x:i2,y:r3,right:i2+e4.clientWidth,bottom:r3+e4.clientHeight,width:e4.clientWidth,height:e4.clientHeight}}(t3,n3):c(function(e4){var t4;const n4=X(e4),r3=J(e4),i2=(t4=e4.ownerDocument)==null?void 0:t4.body,o2=W(n4.scrollWidth,n4.clientWidth,i2?i2.scrollWidth:0,i2?i2.clientWidth:0),s2=W(n4.scrollHeight,n4.clientHeight,i2?i2.scrollHeight:0,i2?i2.clientHeight:0);let a2=-r3.scrollLeft+Q(e4);const u2=-r3.scrollTop;return M(i2||n4).direction==="rtl"&&(a2+=W(n4.clientWidth,i2?i2.clientWidth:0)-o2),{width:o2,height:s2,x:a2,y:u2}}(X(e3)))}function se(e3){const t3=ie(e3),n3=["absolute","fixed"].includes(M(e3).position)&&F(e3)?te(e3):e3;return V(n3)?t3.filter(e4=>V(e4)&&function(e5,t4){const n4=t4.getRootNode==null?void 0:t4.getRootNode();if(e5.contains(t4))return!0;if(n4&&$(n4)){let n5=t4;do{if(n5&&e5===n5)return!0;n5=n5.parentNode||n5.host}while(n5)}return!1}(e4,n3)&&k(e4)!=="body"):[]}const ae={getClippingRect:function(e3){let{element:t3,boundary:n3,rootBoundary:r3,strategy:i2}=e3;const o2=[...n3==="clippingAncestors"?se(t3):[].concat(n3),r3],s2=o2[0],a2=o2.reduce((e4,n4)=>{const r4=oe(t3,n4,i2);return e4.top=W(r4.top,e4.top),e4.right=q(r4.right,e4.right),e4.bottom=q(r4.bottom,e4.bottom),e4.left=W(r4.left,e4.left),e4},oe(t3,s2,i2));return{width:a2.right-a2.left,height:a2.bottom-a2.top,x:a2.left,y:a2.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e3){let{rect:t3,offsetParent:n3,strategy:r3}=e3;const i2=F(n3),o2=X(n3);if(n3===o2)return t3;let s2={scrollLeft:0,scrollTop:0};const a2={x:0,y:0};if((i2||!i2&&r3!=="fixed")&&((k(n3)!=="body"||U(o2))&&(s2=J(n3)),F(n3))){const e4=Y(n3,!0);a2.x=e4.x+n3.clientLeft,a2.y=e4.y+n3.clientTop}return{...t3,x:t3.x-s2.scrollLeft+a2.x,y:t3.y-s2.scrollTop+a2.y}},isElement:V,getDimensions:ne,getOffsetParent:te,getDocumentElement:X,getElementRects:e3=>{let{reference:t3,floating:n3,strategy:r3}=e3;return{reference:K(t3,te(n3),r3),floating:{...ne(n3),x:0,y:0}}},getClientRects:e3=>Array.from(e3.getClientRects()),isRTL:e3=>M(e3).direction==="rtl"};function ue(e3,t3,n3,r3){r3===void 0&&(r3={});const{ancestorScroll:i2=!0,ancestorResize:o2=!0,elementResize:s2=!0,animationFrame:a2=!1}=r3,u2=i2&&!a2,c2=o2&&!a2,l2=u2||c2?[...V(e3)?ie(e3):[],...ie(t3)]:[];l2.forEach(e4=>{u2&&e4.addEventListener("scroll",n3,{passive:!0}),c2&&e4.addEventListener("resize",n3)});let f2,p2=null;if(s2){let r4=!0;p2=new ResizeObserver(()=>{r4||n3(),r4=!1}),V(e3)&&!a2&&p2.observe(e3),p2.observe(t3)}let d2=a2?Y(e3):null;return a2&&function t4(){const r4=Y(e3);!d2||r4.x===d2.x&&r4.y===d2.y&&r4.width===d2.width&&r4.height===d2.height||n3(),d2=r4,f2=requestAnimationFrame(t4)}(),n3(),()=>{var e4;l2.forEach(e5=>{u2&&e5.removeEventListener("scroll",n3),c2&&e5.removeEventListener("resize",n3)}),(e4=p2)==null||e4.disconnect(),p2=null,a2&&cancelAnimationFrame(f2)}}const ce=(e3,t3,n3)=>(async(e4,t4,n4)=>{const{placement:r3="bottom",strategy:i2="absolute",middleware:o2=[],platform:s2}=n4,u2=await(s2.isRTL==null?void 0:s2.isRTL(t4));let c2=await s2.getElementRects({reference:e4,floating:t4,strategy:i2}),{x:l2,y:f2}=a(c2,r3,u2),p2=r3,d2={},h2=0;for(let n5=0;n5<o2.length;n5++){const{name:v2,fn:m2}=o2[n5],{x:g2,y:y2,data:E2,reset:b2}=await m2({x:l2,y:f2,initialPlacement:r3,placement:p2,strategy:i2,middlewareData:d2,rects:c2,platform:s2,elements:{reference:e4,floating:t4}});l2=g2??l2,f2=y2??f2,d2={...d2,[v2]:{...d2[v2],...E2}},b2&&h2<=50&&(h2++,typeof b2=="object"&&(b2.placement&&(p2=b2.placement),b2.rects&&(c2=b2.rects===!0?await s2.getElementRects({reference:e4,floating:t4,strategy:i2}):b2.rects),{x:l2,y:f2}=a(c2,p2,u2)),n5=-1)}return{x:l2,y:f2,placement:p2,strategy:i2,middlewareData:d2}})(e3,t3,{platform:ae,...n3});var le=n2(2015),fe=n2(2326),pe=typeof document<"u"?le.useLayoutEffect:le.useEffect;function de(e3,t3){if(e3===t3)return!0;if(typeof e3!=typeof t3)return!1;if(typeof e3=="function"&&e3.toString()===t3.toString())return!0;let n3,r3,i2;if(e3&&t3&&typeof e3=="object"){if(Array.isArray(e3)){if(n3=e3.length,n3!=t3.length)return!1;for(r3=n3;r3--!=0;)if(!de(e3[r3],t3[r3]))return!1;return!0}if(i2=Object.keys(e3),n3=i2.length,n3!==Object.keys(t3).length)return!1;for(r3=n3;r3--!=0;)if(!Object.prototype.hasOwnProperty.call(t3,i2[r3]))return!1;for(r3=n3;r3--!=0;){const n4=i2[r3];if(!(n4==="_owner"&&e3.$$typeof||de(e3[n4],t3[n4])))return!1}return!0}return e3!=e3&&t3!=t3}function he(e3){let{middleware:t3,placement:n3="bottom",strategy:r3="absolute",whileElementsMounted:i2}=e3===void 0?{}:e3;const o2=le.useRef(null),s2=le.useRef(null),a2=function(e4){const t4=le.useRef(e4);return pe(()=>{t4.current=e4}),t4}(i2),u2=le.useRef(null),[c2,l2]=le.useState({x:null,y:null,strategy:r3,placement:n3,middlewareData:{}}),[f2,p2]=le.useState(t3);de(f2?.map(e4=>{let{options:t4}=e4;return t4}),t3?.map(e4=>{let{options:t4}=e4;return t4}))||p2(t3);const d2=le.useCallback(()=>{o2.current&&s2.current&&ce(o2.current,s2.current,{middleware:f2,placement:n3,strategy:r3}).then(e4=>{h2.current&&fe.flushSync(()=>{l2(e4)})})},[f2,n3,r3]);pe(()=>{h2.current&&d2()},[d2]);const h2=le.useRef(!1);pe(()=>(h2.current=!0,()=>{h2.current=!1}),[]);const v2=le.useCallback(()=>{if(typeof u2.current=="function"&&(u2.current(),u2.current=null),o2.current&&s2.current)if(a2.current){const e4=a2.current(o2.current,s2.current,d2);u2.current=e4}else d2()},[d2,a2]),m2=le.useCallback(e4=>{o2.current=e4,v2()},[v2]),g2=le.useCallback(e4=>{s2.current=e4,v2()},[v2]),y2=le.useMemo(()=>({reference:o2,floating:s2}),[]);return le.useMemo(()=>({...c2,update:d2,refs:y2,reference:m2,floating:g2}),[c2,d2,y2,m2,g2])}const ve=e3=>{const{element:t3,padding:n3}=e3;return{name:"arrow",options:e3,fn:e4=>function(e5){return Object.prototype.hasOwnProperty.call(e5,"current")}(t3)?t3.current!=null?h({element:t3.current,padding:n3}).fn(e4):{}:t3?h({element:t3,padding:n3}).fn(e4):{}}}},2895:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.NativeLink=void 0;var r2=n2(7593);Object.defineProperty(t2,"NativeLink",{enumerable:!0,get:function(){return r2.NativeLink}})},7593:function(e2,t2,n2){"use strict";var r2=this&&this.__createBinding||(Object.create?function(e3,t3,n3,r3){r3===void 0&&(r3=n3),Object.defineProperty(e3,r3,{enumerable:!0,get:function(){return t3[n3]}})}:function(e3,t3,n3,r3){r3===void 0&&(r3=n3),e3[r3]=t3[n3]}),i=this&&this.__setModuleDefault||(Object.create?function(e3,t3){Object.defineProperty(e3,"default",{enumerable:!0,value:t3})}:function(e3,t3){e3.default=t3}),o=this&&this.__importStar||function(e3){if(e3&&e3.__esModule)return e3;var t3={};if(e3!=null)for(var n3 in e3)n3!=="default"&&Object.prototype.hasOwnProperty.call(e3,n3)&&r2(t3,e3,n3);return i(t3,e3),t3},s=this&&this.__rest||function(e3,t3){var n3={};for(var r3 in e3)Object.prototype.hasOwnProperty.call(e3,r3)&&t3.indexOf(r3)<0&&(n3[r3]=e3[r3]);if(e3!=null&&typeof Object.getOwnPropertySymbols=="function"){var i2=0;for(r3=Object.getOwnPropertySymbols(e3);i2<r3.length;i2++)t3.indexOf(r3[i2])<0&&Object.prototype.propertyIsEnumerable.call(e3,r3[i2])&&(n3[r3[i2]]=e3[r3[i2]])}return n3};Object.defineProperty(t2,"__esModule",{value:!0}),t2.NativeLink=void 0;const a=o(n2(2015)),u={rel:"noopener",target:"_blank"};t2.NativeLink=function(e3){var{href:t3="",external:n3,replace:r3,onClick:i2}=e3,o2=s(e3,["href","external","replace","onClick"]);const c=n3?u:{},l=a.useCallback(e4=>{const o3=i2?.(e4);return e4.defaultPrevented||!r3||n3||(e4.preventDefault(),window.location.replace(t3)),o3},[t3,r3,i2]);return a.default.createElement("a",Object.assign({},o2,c,{onClick:l,href:t3}))}},4445:(e2,t2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.affix=void 0,t2.affix=function(e3="",t3,n2=""){return t3?`${e3}${t3}${n2}`:""}},1611:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.affix=void 0;var r2=n2(4445);Object.defineProperty(t2,"affix",{enumerable:!0,get:function(){return r2.affix}})},5950:(e2,t2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.BitError=void 0;class n2 extends Error{constructor(e3){super(e3||""),this.isUserError=!0,this.name=this.constructor.name}report(){return this.message}}t2.BitError=n2},4490:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.BitError=void 0;var r2=n2(5950);Object.defineProperty(t2,"BitError",{enumerable:!0,get:function(){return r2.BitError}})},8635:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.ComponentIdList=void 0;const r2=n2(2935),i=n2(1936),o=n2(6578);class s extends Array{toStringArray(){return this.map(e3=>e3.toString())}has(e3){return Boolean(this.search(e3))}hasWithoutVersion(e3){return Boolean(this.searchWithoutVersion(e3))}hasWithoutScopeAndVersion(e3){return Boolean(this.searchWithoutScopeAndVersion(e3))}search(e3){return this.find(t3=>t3.fullName===e3.fullName&&t3.scope===e3.scope&&t3._legacy.hasSameVersion(e3._legacy))}searchWithoutVersion(e3){return this.find(t3=>t3.fullName===e3.fullName&&t3.scope===e3.scope)}searchWithoutScopeAndVersion(e3){return this.find(t3=>t3.fullName===e3.fullName)}searchStrWithoutVersion(e3){return this.find(t3=>t3.toStringWithoutVersion()===e3)}filterExact(e3){return this.filter(t3=>t3.fullName===e3.fullName&&t3.scope===e3.scope&&t3.hasSameVersion(e3))}filterWithoutVersion(e3){return this.filter(t3=>t3.fullName===e3.fullName&&t3.scope===e3.scope)}removeIfExist(e3){return s.fromArray(this.filter(t3=>!t3.isEqual(e3)))}toObject(){return this.reduce((e3,t3)=>(e3[t3.toString()]=t3,e3),{})}toString(){return this.map(e3=>e3.toString()).join(", ")}toGroupByIdWithoutVersion(){return this.reduce((e3,t3)=>{const n3=t3.toStringWithoutVersion();return e3[n3]?e3[n3].push(t3):e3[n3]=new s(t3),e3},{})}toGroupByScopeName(){return this.reduce((e3,t3)=>{const n3=t3.scope;return e3[n3]?e3[n3].push(t3):e3[n3]=new s(t3),e3},{})}findDuplicationsIgnoreVersion(){const e3={};return this.forEach(t3=>{const n3=this.filterWithoutVersion(t3);n3.length>1&&(e3[t3.toStringWithoutVersion()]=n3)}),e3}add(e3){e3.forEach(e4=>{this.search(e4)||this.push(e4)})}static fromArray(e3){const t3=new s;return e3.forEach(e4=>t3.push(e4)),t3}static uniqFromArray(e3){const t3=(0,r2.uniqBy)(e3,e4=>e4.toString());return s.fromArray(t3)}static fromStringArray(e3=[]){return s.fromArray(e3.map(e4=>o.ComponentID.fromString(e4)))}throwForDuplicationIgnoreVersion(){this.forEach(e3=>{const t3=this.filterWithoutVersion(e3);if(t3.length>1)throw new Error(`componentIds has "${e3.toStringWithoutVersion()}" duplicated as following:
2
2
  ${t3.map(e4=>e4.toString()).join(`
3
3
  `)}`)})}toVersionLatest(){return s.uniqFromArray(this.map(e3=>e3.changeVersion(i.LATEST_VERSION)))}clone(){return s.fromArray(this.map(e3=>e3.clone()))}}t2.ComponentIdList=s},6578:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.ComponentID=void 0;const r2=n2(5575),i=n2(1904);class o{constructor(e3,t3){if(this._legacy=e3,this._scope=t3,!e3.name)throw new Error(`ComponentID expects to get an object with "name" prop. got ${e3}`);if(!t3&&!e3.scope)throw new i.MissingScope(e3)}hasVersion(){return this._legacy.hasVersion()}get version(){return this._legacy.version}get namespace(){return this._legacy.name.split("/").slice(0,-1).join("/")}get fullName(){return this._legacy.name}get name(){const e3=this._legacy.name.split("/");return e3[e3.length-1]}get scope(){const e3=this._legacy.scope;if(e3)return e3;if(!this._scope)throw new Error("scope cannot be undefined");return this._scope}changeScope(e3){const t3=this._legacy.changeScope(e3);return o.fromLegacy(t3,this.scope)}changeDefaultScope(e3){return o.fromLegacy(this._legacy,e3)}changeVersion(e3){const t3=this._legacy.changeVersion(e3);return o.fromLegacy(t3,this.scope)}isEqual(e3,t3){return o.isEqual(this,e3,t3)}isEqualWithoutVersion(e3){return this.isEqual(e3,{ignoreVersion:!0})}isLocal(e3){return this._legacy.isLocal(e3)}hasScope(){return this._legacy.hasScope()}serialize(){return this.toObject()}static deserialize(e3){return o.fromObject(e3)}static isValidVersion(e3){return r2.BitId.isValidVersion(e3)}static getVersionFromString(e3){return e3.split(r2.VERSION_DELIMITER)[1]}static getStringWithoutVersion(e3){return e3.split(r2.VERSION_DELIMITER)[0]}getVersionPreReleaseData(){return this._legacy.getVersionPreReleaseData()}toStringWithoutVersion(){let e3=this._legacy;return this._scope&&!this._legacy.scope&&(e3=e3.changeScope(this._scope)),e3.toStringWithoutVersion()}hasSameVersion(e3){return this._legacy.hasSameVersion(e3._legacy)}toString(e3={}){let t3=this._legacy;this._scope&&!this._legacy.scope&&(t3=t3.changeScope(this._scope));const n3=t3.toString(!1,e3.ignoreVersion);return e3.fsCompatible?n3.replace(/\//g,"_").replace(/\./g,"_").replace(/-/g,"_"):n3}toObject(){const e3=this._legacy.serialize();return e3.scope||(e3.scope=this.scope),e3}clone(){return o.fromLegacy(this._legacy.clone(),this._scope)}static tryFromString(e3,t3){try{return o.fromString(e3,t3)}catch{return}}static isValidCompIdStr(e3){return Boolean(o.tryFromString(e3))}static fromString(e3,t3){const n3=r2.BitId.parse(e3,!0);if(!t3&&!n3.scope)throw new i.MissingScope(e3);return new o(n3,t3)}static fromLegacyString(e3,t3){const n3=r2.BitId.parse(e3,!1);return new o(n3,t3)}static fromObject(e3,t3){if(e3 instanceof o)throw new Error(`ComponentID.fromObject expect to get an object, got an instance of ComponentID: ${e3.toString()}`);return o.fromLegacy(new r2.BitId(e3),t3)}static isValidObject(e3){return typeof e3=="object"&&typeof e3.name=="string"&&typeof e3.scope=="string"}static isEqual(e3,t3,n3={}){if(!e3&&!t3)return!0;if(!e3||!t3)return!1;const r3=e3.scope===t3.scope&&e3.toString({ignoreVersion:n3.ignoreVersion})===t3.toString({ignoreVersion:n3.ignoreVersion});return n3.ignoreVersion?r3:r3&&e3.hasSameVersion(t3)}static isEqualObj(e3,t3,n3={}){if(!e3&&!t3)return!0;if(!e3||!t3)return!1;let r3=e3.scope===t3.scope&&e3.name===t3.name;return n3.ignoreVersion||(r3=r3&&e3.version===t3.version),r3}static fromLegacy(e3,t3){if(!t3&&!e3.scope)throw new i.MissingScope(e3);return new o(e3,t3)}static sortIds(e3){return e3.sort((e4,t3)=>e4.toString().localeCompare(t3.toString()))}}t2.ComponentID=o},1904:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.MissingScope=void 0;const r2=n2(6805);Object.defineProperty(t2,"MissingScope",{enumerable:!0,get:function(){return r2.MissingScope}})},6805:(e2,t2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.MissingScope=void 0;class n2 extends Error{constructor(e3){super(`scope is missing from a component-id "${e3.toString()}".
4
4
  in case you just upgraded bit version to >= 1.2.10 and you're getting this error, please run "bit cc" and then "bit status" to fix it.
@@ -18,7 +18,7 @@ if this is a scope on bit.cloud please add the organization name before the scop
18
18
  ${t3.map(e4=>e4.toString()).join(`
19
19
  `)}`)})}toVersionLatest(){return a.uniqFromArray(this.map(e3=>e3.changeVersion(o.LATEST_VERSION)))}clone(){const e3=this.map(e4=>e4.clone());return new a(...e3)}}t2.default=a},3796:function(e2,t2,n2){"use strict";var r2=this&&this.__importDefault||function(e3){return e3&&e3.__esModule?e3:{default:e3}};Object.defineProperty(t2,"__esModule",{value:!0}),t2.InvalidScopeNameFromRemote=t2.InvalidScopeName=t2.InvalidName=t2.InvalidIdChunk=t2.InvalidBitId=void 0;const i=r2(n2(7611));t2.InvalidBitId=i.default;const o=r2(n2(9273));t2.InvalidIdChunk=o.default;const s=r2(n2(8991));t2.InvalidName=s.default;const a=r2(n2(7060));t2.InvalidScopeName=a.default;const u=r2(n2(4872));t2.InvalidScopeNameFromRemote=u.default},7611:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0});const r2=n2(4490);class i extends r2.BitError{constructor(e3){super(`error: component ID "${e3}" is invalid, please use the following format: [scope]/<name>`)}}t2.default=i},9273:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0});const r2=n2(4490);class i extends r2.BitError{constructor(e3){super(`error: "${e3}" is invalid, component IDs can only contain alphanumeric, lowercase characters, and the following ["-", "_", "$", "!"]`)}}t2.default=i},8991:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0});const r2=n2(4490);class i extends r2.BitError{constructor(e3){super(`error: "${e3}" is invalid, component names can only contain alphanumeric, lowercase characters, and the following ["-", "_", "$", "!", "/"]`)}}t2.default=i},4872:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0});const r2=n2(4490);class i extends r2.BitError{constructor(e3){super(`cannot find scope '${e3}'.
20
20
  if you are targeting a self-hosted scope, please ensure the scope is configured in your remotes (via "bit remote" command) and that the scope name is correct.
21
- if this is a scope on bit.cloud please add the organization name before the scope (yourOrg.some-scope-name)`),this.scopeName=e3}}t2.default=i},7060:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0});const r2=n2(4490);class i extends r2.BitError{constructor(e3,t3,n3){super(`error: "${t3||e3}" ${n3?`configured in variant "${n3}" `:""}is invalid, component scope names can only contain alphanumeric, lowercase characters, and the following ["-", "_", "$", "!"]`)}}t2.default=i},7973:function(e2,t2,n2){"use strict";var r2=this&&this.__createBinding||(Object.create?function(e3,t3,n3,r3){r3===void 0&&(r3=n3);var i2=Object.getOwnPropertyDescriptor(t3,n3);i2&&!("get"in i2?!t3.__esModule:i2.writable||i2.configurable)||(i2={enumerable:!0,get:function(){return t3[n3]}}),Object.defineProperty(e3,r3,i2)}:function(e3,t3,n3,r3){r3===void 0&&(r3=n3),e3[r3]=t3[n3]}),i=this&&this.__setModuleDefault||(Object.create?function(e3,t3){Object.defineProperty(e3,"default",{enumerable:!0,value:t3})}:function(e3,t3){e3.default=t3}),o=this&&this.__importStar||function(e3){if(e3&&e3.__esModule)return e3;var t3={};if(e3!=null)for(var n3 in e3)n3!=="default"&&Object.prototype.hasOwnProperty.call(e3,n3)&&r2(t3,e3,n3);return i(t3,e3),t3},s=this&&this.__importDefault||function(e3){return e3&&e3.__esModule?e3:{default:e3}};Object.defineProperty(t2,"__esModule",{value:!0}),t2.InvalidScopeNameFromRemote=t2.InvalidScopeName=t2.InvalidName=t2.isValidIdChunk=t2.isValidScopeName=t2.VERSION_DELIMITER=t2.BitIds=t2.BitId=void 0;const a=o(n2(1026));t2.BitId=a.default,Object.defineProperty(t2,"VERSION_DELIMITER",{enumerable:!0,get:function(){return a.VERSION_DELIMITER}});const u=s(n2(6321));t2.BitIds=u.default;const c=n2(3796);Object.defineProperty(t2,"InvalidName",{enumerable:!0,get:function(){return c.InvalidName}}),Object.defineProperty(t2,"InvalidScopeName",{enumerable:!0,get:function(){return c.InvalidScopeName}}),Object.defineProperty(t2,"InvalidScopeNameFromRemote",{enumerable:!0,get:function(){return c.InvalidScopeNameFromRemote}});const l=s(n2(1857));t2.isValidScopeName=l.default;const f=s(n2(1724));t2.isValidIdChunk=f.default},1724:(e2,t2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.default=function(e3,t3=!0){return typeof e3=="string"&&!e3.includes("//")&&(t3?n2:r2).test(e3)};const n2=/^[-_a-z0-9/]+$/,r2=/^[-_a-z0-9]+$/},1857:(e2,t2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.default=function(e3){return typeof e3=="string"&&n2.test(e3)};const n2=/^[$\-_!a-z0-9]+[.]?[$\-_!a-z0-9]+$/},6300:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.linkModules=t2.PreviewModules=t2.PREVIEW_MODULES=void 0;var r2=n2(668);Object.defineProperty(t2,"PREVIEW_MODULES",{enumerable:!0,get:function(){return r2.PREVIEW_MODULES}}),Object.defineProperty(t2,"PreviewModules",{enumerable:!0,get:function(){return r2.PreviewModules}}),Object.defineProperty(t2,"linkModules",{enumerable:!0,get:function(){return r2.linkModules}})},668:(e2,t2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.linkModules=t2.PREVIEW_MODULES=t2.PreviewModules=void 0;class n2 extends Map{constructor(){super(...arguments),this.onSet=new Set}set(e3,t3){return super.set(e3,t3),this.onSet.forEach(e4=>e4()),this}loadComponentPreviews(e3,t3){Object.entries(t3).forEach(([t4,n3])=>{const r2=this.get(t4);r2&&(r2.componentMap[e3]=n3)})}}t2.PreviewModules=n2,t2.PREVIEW_MODULES=typeof window<"u"?(window.__bit_preview_modules||(window.__bit_preview_modules=new n2),window.__bit_preview_modules):new n2,t2.linkModules=function(e3,n3){t2.PREVIEW_MODULES.set(e3,n3)}},833:(e2,t2)=>{"use strict";function n2(e3){for(let t3=e3;t3!==null&&t3.type!==null;t3=t3.return)if(typeof t3.type=="function"||typeof t3.type=="object"&&typeof t3.type.render=="function")return t3;return null}Object.defineProperty(t2,"__esModule",{value:!0}),t2.fiberToPrototype=t2.toRootFiber=t2.domToFiber=void 0,t2.domToFiber=function(e3){if(!e3)return null;const t3=Object.keys(e3).find(e4=>e4.startsWith("__reactFiber")||e4.startsWith("__reactInternalInstance"));return t3&&e3[t3]||null},t2.toRootFiber=n2,t2.fiberToPrototype=function(e3){var t3;return((t3=n2(e3))===null||t3===void 0?void 0:t3.type)||null}},7304:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.domToReacts=t2.domToReact=t2.toRootElement=void 0;const r2=n2(833);function i(e3){if(e3===null)return[];const t3=(0,r2.domToFiber)(e3);return function(e4){const t4=[];let n3=e4;for(;n3&&n3.type!==null&&typeof n3.type!="string";)t4.push(n3.type),n3=n3.return;return t4}((0,r2.toRootFiber)(t3))}t2.toRootElement=function(e3){const t3=(0,r2.toRootFiber)((0,r2.domToFiber)(e3));if(!t3)return null;for(let n3=e3;n3;n3=n3.parentElement){const e4=(0,r2.domToFiber)(n3);if(!e4)return null;const i2=e4.return;if(e4===t3||i2===t3)return n3}return null},t2.domToReact=function(e3){return i(e3).pop()},t2.domToReacts=i},9046:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.fiberToPrototype=t2.toRootFiber=t2.domToFiber=t2.toRootElement=t2.domToReacts=t2.domToReact=void 0;var r2=n2(7304);Object.defineProperty(t2,"domToReact",{enumerable:!0,get:function(){return r2.domToReact}}),Object.defineProperty(t2,"domToReacts",{enumerable:!0,get:function(){return r2.domToReacts}}),Object.defineProperty(t2,"toRootElement",{enumerable:!0,get:function(){return r2.toRootElement}});var i=n2(833);Object.defineProperty(t2,"domToFiber",{enumerable:!0,get:function(){return i.domToFiber}}),Object.defineProperty(t2,"toRootFiber",{enumerable:!0,get:function(){return i.toRootFiber}}),Object.defineProperty(t2,"fiberToPrototype",{enumerable:!0,get:function(){return i.fiberToPrototype}})},773:function(e2,t2,n2){"use strict";var r2=this&&this.__rest||function(e3,t3){var n3={};for(var r3 in e3)Object.prototype.hasOwnProperty.call(e3,r3)&&t3.indexOf(r3)<0&&(n3[r3]=e3[r3]);if(e3!=null&&typeof Object.getOwnPropertySymbols=="function"){var i2=0;for(r3=Object.getOwnPropertySymbols(e3);i2<r3.length;i2++)t3.indexOf(r3[i2])<0&&Object.prototype.propertyIsEnumerable.call(e3,r3[i2])&&(n3[r3[i2]]=e3[r3[i2]])}return n3},i=this&&this.__importDefault||function(e3){return e3&&e3.__esModule?e3:{default:e3}};Object.defineProperty(t2,"__esModule",{value:!0}),t2.ChildrenHighlighter=function(e3){var{watchMotion:t3=!1}=e3,n3=r2(e3,["watchMotion"]);return o.default.createElement(s.HybridHighlighter,Object.assign({},n3,{mode:"allChildren",watchMotion:t3}))};const o=i(n2(2015)),s=n2(7459)},8690:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.ChildrenHighlighter=t2.useChildrenHighlighter=void 0;var r2=n2(1707);Object.defineProperty(t2,"useChildrenHighlighter",{enumerable:!0,get:function(){return r2.useChildrenHighlighter}});var i=n2(773);Object.defineProperty(t2,"ChildrenHighlighter",{enumerable:!0,get:function(){return i.ChildrenHighlighter}})},1707:function(e2,t2,n2){"use strict";var r2=this&&this.__importDefault||function(e3){return e3&&e3.__esModule?e3:{default:e3}};Object.defineProperty(t2,"__esModule",{value:!0}),t2.useChildrenHighlighter=function({onChange:e3,disabled:t3,scopeRef:n3,scopeClass:r3="",rule:l,componentRule:f}){(0,i.useEffect)(()=>{const i2={},p=n3.current;if(!p||t3)return;let d=Array.from(p.querySelectorAll(function(e4=":scope"){return`:not(${`${e4} ${u.excludeHighlighterSelector}, ${e4} ${u.excludeHighlighterSelector} *`}, ${`${e4} ${u.skipHighlighterSelector}, ${e4} ${u.skipHighlighterSelector} *`})`}(`.${r3}`)));l&&(d=d.filter(e4=>(0,c.ruleMatcher)(e4,l)));const h=d.map(s.toRootElement).filter(e4=>!!e4);new Set(h).forEach(e4=>{if(!e4)return;const t4=(0,s.domToReacts)(e4).filter(e5=>(0,a.hasComponentMeta)(e5)&&(0,c.componentRuleMatcher)({meta:e5[a.componentMetaField]},f));if(t4.length<1)return;const n4=(0,o.default)(e4);i2[n4]={element:e4,components:t4}}),e3(i2)},[t3,r3])};const i=n2(2015),o=r2(n2(5692)),s=n2(9046),a=n2(5489),u=n2(28),c=n2(7905)},9581:function(e2,t2,n2){"use strict";var r2=this&&this.__rest||function(e3,t3){var n3={};for(var r3 in e3)Object.prototype.hasOwnProperty.call(e3,r3)&&t3.indexOf(r3)<0&&(n3[r3]=e3[r3]);if(e3!=null&&typeof Object.getOwnPropertySymbols=="function"){var i2=0;for(r3=Object.getOwnPropertySymbols(e3);i2<r3.length;i2++)t3.indexOf(r3[i2])<0&&Object.prototype.propertyIsEnumerable.call(e3,r3[i2])&&(n3[r3[i2]]=e3[r3[i2]])}return n3},i=this&&this.__importDefault||function(e3){return e3&&e3.__esModule?e3:{default:e3}};Object.defineProperty(t2,"__esModule",{value:!0}),t2.ElementHighlighter=function(e3){var{targetRef:t3,components:n3,placement:i2="top",watchMotion:f,className:p,classes:d}=e3,h=r2(e3,["targetRef","components","placement","watchMotion","className","classes"]);return o.default.createElement("div",Object.assign({},h,c.skipHighlighterAttr,{className:(0,s.default)(d?.container,l.default.container,p)}),o.default.createElement(a.Frame,{targetRef:t3,className:(0,s.default)(l.default.frame,d?.frame),watchMotion:f}),n3&&o.default.createElement(u.LabelContainer,{targetRef:t3,className:l.default.label,placement:i2,watchMotion:f},o.default.createElement(u.Label,{components:n3,className:d?.label})))};const o=i(n2(2015)),s=i(n2(7500)),a=n2(4132),u=n2(7179),c=n2(28),l=i(n2(9385))},4919:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.ElementHighlighter=void 0;var r2=n2(9581);Object.defineProperty(t2,"ElementHighlighter",{enumerable:!0,get:function(){return r2.ElementHighlighter}})},1829:function(e2,t2,n2){"use strict";var r2=this&&this.__createBinding||(Object.create?function(e3,t3,n3,r3){r3===void 0&&(r3=n3);var i2=Object.getOwnPropertyDescriptor(t3,n3);i2&&!("get"in i2?!t3.__esModule:i2.writable||i2.configurable)||(i2={enumerable:!0,get:function(){return t3[n3]}}),Object.defineProperty(e3,r3,i2)}:function(e3,t3,n3,r3){r3===void 0&&(r3=n3),e3[r3]=t3[n3]}),i=this&&this.__setModuleDefault||(Object.create?function(e3,t3){Object.defineProperty(e3,"default",{enumerable:!0,value:t3})}:function(e3,t3){e3.default=t3}),o=this&&this.__importStar||function(e3){if(e3&&e3.__esModule)return e3;var t3={};if(e3!=null)for(var n3 in e3)n3!=="default"&&Object.prototype.hasOwnProperty.call(e3,n3)&&r2(t3,e3,n3);return i(t3,e3),t3},s=this&&this.__awaiter||function(e3,t3,n3,r3){return new(n3||(n3=Promise))(function(i2,o2){function s2(e4){try{u2(r3.next(e4))}catch(e5){o2(e5)}}function a2(e4){try{u2(r3.throw(e4))}catch(e5){o2(e5)}}function u2(e4){e4.done?i2(e4.value):function(e5){return e5 instanceof n3?e5:new n3(function(t4){t4(e5)})}(e4.value).then(s2,a2)}u2((r3=r3.apply(e3,t3||[])).next())})},a=this&&this.__importDefault||function(e3){return e3&&e3.__esModule?e3:{default:e3}};Object.defineProperty(t2,"__esModule",{value:!0}),t2.Frame=function({targetRef:e3,watchMotion:t3,className:n3,stylesClass:r3=f.default.overlayBorder,style:i2}){var o2;const a2=(0,u.useRef)({width:0,height:0}),{x:g,y,strategy:E,reference:b,floating:_,update:w,refs:O,middlewareData:T}=(0,l.useFloating)({placement:"bottom-start",middleware:[{name:"align-to-target",fn:({rects:e4})=>(e4.floating=Object.assign(Object.assign({},e4.floating),{width:e4.reference.width+2*p,height:e4.reference.height+2*p}),{})},(0,l.offset)(({rects:e4})=>-e4.reference.height),(0,l.offset)(()=>({mainAxis:-p,crossAxis:-p})),{name:"shiftPositive",fn:e4=>s(this,void 0,void 0,function*(){const t4=yield(0,l.detectOverflow)(e4,h),n4={x:t4.left>0?e4.x+t4.left:e4.x,y:t4.top>0?e4.y+t4.top:e4.y},r4={x:n4.x-e4.x,y:n4.y-e4.y};return Object.assign(Object.assign({},n4),{data:r4})})},(0,l.size)({rootBoundary:"document",padding:d,apply({elements:e4,rects:t4,availableHeight:n4,availableWidth:r4,middlewareData:i3}){const o3=i3[v]||{x:0,y:0},s2=2*p-o3.x,u2=2*p-o3.y,c2={width:t4.reference.width+s2,height:t4.reference.height+u2,maxWidth:r4,maxHeight:n4};Object.assign(e4.floating.style,c2),a2.current=c2}}),(0,l.hide)({strategy:"referenceHidden"})]});(0,u.useLayoutEffect)(()=>{b(e3.current)},[e3.current]),(0,u.useEffect)(()=>O.reference.current&&O.floating.current&&m?(0,l.autoUpdate)(O.reference.current,O.floating.current,w,{animationFrame:t3}):()=>{},[O.reference.current,O.floating.current,w,t3]);const I=!(!((o2=T.hide)===null||o2===void 0)&&o2.referenceHidden);return u.default.createElement("div",{ref:_,className:(0,c.default)(n3,r3,!I&&f.default.hidden),style:Object.assign(Object.assign(Object.assign({},i2),a2.current),{position:E,top:y??0,left:g??0})})};const u=o(n2(2015)),c=a(n2(7500)),l=n2(8401),f=a(n2(3649)),p=+f.default.offset||6,d=0,h={rootBoundary:"document",padding:d},v="shiftPositive",m=typeof window<"u"&&!!window.ResizeObserver},4132:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.Frame=void 0;var r2=n2(1829);Object.defineProperty(t2,"Frame",{enumerable:!0,get:function(){return r2.Frame}})},2559:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.bubbleToComponent=function(e3,{elementRule:t3,componentRule:n3,propagateSameParents:r3=!0}={}){var o2,a,u,c,l;if(e3?.__vnode){const t4=(a=(o2=e3.__vnode)===null||o2===void 0?void 0:o2.ctx)===null||a===void 0?void 0:a.type,n4=t4?.__bit_component,r4=(l=(c=(u=e3.__vnode)===null||u===void 0?void 0:u.ctx)===null||c===void 0?void 0:c.ctx)===null||l===void 0?void 0:l.$el;if(r4&&n4)return{element:r4,components:[{[i.componentMetaField]:n4}]}}let f=s(e3,t3,n3);if(!r3)return f;for(;f;){const e4=s(f.element.parentElement,t3,n3),r4=f?.components.slice(-1).pop(),o3=e4?.components.slice(-1).pop();if(r4?.[i.componentMetaField].id!==o3?.[i.componentMetaField].id)return f;f=e4}};const r2=n2(9046),i=n2(5489),o=n2(7905);function s(e3,t3,n3){for(let s2=e3;s2;s2=s2.parentElement){if(s2=(0,r2.toRootElement)(s2),!s2)return;if((0,o.ruleMatcher)(s2,t3)){const e4=(0,r2.domToReacts)(s2).filter(e5=>(0,i.hasComponentMeta)(e5)&&(0,o.componentRuleMatcher)({meta:e5[i.componentMetaField]},n3));return e4.length<1?void 0:{element:s2,components:e4}}}}},857:function(e2,t2,n2){"use strict";var r2=this&&this.__rest||function(e3,t3){var n3={};for(var r3 in e3)Object.prototype.hasOwnProperty.call(e3,r3)&&t3.indexOf(r3)<0&&(n3[r3]=e3[r3]);if(e3!=null&&typeof Object.getOwnPropertySymbols=="function"){var i2=0;for(r3=Object.getOwnPropertySymbols(e3);i2<r3.length;i2++)t3.indexOf(r3[i2])<0&&Object.prototype.propertyIsEnumerable.call(e3,r3[i2])&&(n3[r3[i2]]=e3[r3[i2]])}return n3},i=this&&this.__importDefault||function(e3){return e3&&e3.__esModule?e3:{default:e3}};Object.defineProperty(t2,"__esModule",{value:!0}),t2.HoverHighlighter=function(e3){var t3=r2(e3,[]);return o.default.createElement(s.HybridHighlighter,Object.assign({},t3,{mode:"hover"}))};const o=i(n2(2015)),s=n2(7459)},7325:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.HoverHighlighter=t2.useHoverHighlighter=void 0;var r2=n2(2767);Object.defineProperty(t2,"useHoverHighlighter",{enumerable:!0,get:function(){return r2.useHoverHighlighter}});var i=n2(857);Object.defineProperty(t2,"HoverHighlighter",{enumerable:!0,get:function(){return i.HoverHighlighter}})},2767:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.useHoverHighlighter=function(e3,t3={},{debounceDuration:n3,scopeClass:u,disabled:c,rule:l,componentRule:f}){const{handleElement:p}=function({onChange:e4,scopeClass:t4="",debounceDuration:n4,disabled:o2,rule:u2,componentRule:c2}){const l2=(0,i.useDebouncedCallback)(n5=>{if(!n5||n5.hasAttribute("data-nullify-component-highlight")||n5.closest(`.${t4} ${s.excludeHighlighterSelector}`))return void e4(void 0);if(n5.closest(`.${t4} ${s.skipHighlighterSelector}`))return;const r3=(0,a.bubbleToComponent)(n5,{elementRule:u2,componentRule:c2});r3&&e4({element:r3.element,components:r3.components})},n4);return(0,r2.useEffect)(()=>{o2&&l2.cancel()},[o2,l2]),{handleElement:l2}}({onChange:e3,scopeClass:u,debounceDuration:n3,disabled:c,rule:l,componentRule:f});return(0,o.useHoverSelection)(c?void 0:p,t3)};const r2=n2(2015),i=n2(3724),o=n2(2840),s=n2(28),a=n2(2559)},9991:function(e2,t2,n2){"use strict";var r2=this&&this.__createBinding||(Object.create?function(e3,t3,n3,r3){r3===void 0&&(r3=n3);var i2=Object.getOwnPropertyDescriptor(t3,n3);i2&&!("get"in i2?!t3.__esModule:i2.writable||i2.configurable)||(i2={enumerable:!0,get:function(){return t3[n3]}}),Object.defineProperty(e3,r3,i2)}:function(e3,t3,n3,r3){r3===void 0&&(r3=n3),e3[r3]=t3[n3]}),i=this&&this.__setModuleDefault||(Object.create?function(e3,t3){Object.defineProperty(e3,"default",{enumerable:!0,value:t3})}:function(e3,t3){e3.default=t3}),o=this&&this.__importStar||function(e3){if(e3&&e3.__esModule)return e3;var t3={};if(e3!=null)for(var n3 in e3)n3!=="default"&&Object.prototype.hasOwnProperty.call(e3,n3)&&r2(t3,e3,n3);return i(t3,e3),t3},s=this&&this.__rest||function(e3,t3){var n3={};for(var r3 in e3)Object.prototype.hasOwnProperty.call(e3,r3)&&t3.indexOf(r3)<0&&(n3[r3]=e3[r3]);if(e3!=null&&typeof Object.getOwnPropertySymbols=="function"){var i2=0;for(r3=Object.getOwnPropertySymbols(e3);i2<r3.length;i2++)t3.indexOf(r3[i2])<0&&Object.prototype.propertyIsEnumerable.call(e3,r3[i2])&&(n3[r3[i2]]=e3[r3[i2]])}return n3},a=this&&this.__importDefault||function(e3){return e3&&e3.__esModule?e3:{default:e3}};Object.defineProperty(t2,"__esModule",{value:!0}),t2.HybridHighlighter=function(e3){var{disabled:t3,mode:n3="hover",debounceSelection:r3=80,watchMotion:i2=!0,placement:o2,rule:a2,componentRule:h,classes:v,highlightStyle:m,className:g,style:y,bgColor:E,bgColorHover:b,bgColorActive:_,children:w}=e3,O=s(e3,["disabled","mode","debounceSelection","watchMotion","placement","rule","componentRule","classes","highlightStyle","className","style","bgColor","bgColorHover","bgColorActive","children"]);const T=(0,u.createRef)(),[I,S]=(0,u.useState)({}),N=(0,u.useRef)(`hl-scope-${(0,l.v4)()}`).current,A=Object.entries(I).length>0;(0,u.useEffect)(()=>{t3&&S({})},[t3]);const R=(0,f.useHoverHighlighter)(e4=>S(e4?{"hover-target":e4}:{}),O,{debounceDuration:A?r3:0,scopeClass:N,disabled:t3||n3!=="hover",rule:a2,componentRule:h});(0,d.useChildrenHighlighter)({onChange:S,scopeRef:T,scopeClass:N,disabled:t3||n3!=="allChildren",rule:a2,componentRule:h});const x=(0,u.useMemo)(()=>Object.assign({"--bit-highlighter-color":E,"--bit-highlighter-color-hover":b,"--bit-highlighter-color-active":_},y),[E,b,_,y]);return u.default.createElement("div",Object.assign({ref:T},O,R,{style:x,className:(0,c.default)(g,N),"data-nullify-component-highlight":!0}),w,Object.entries(I).map(([e4,t4])=>u.default.createElement(p.ElementHighlighter,{key:e4,targetRef:{current:t4.element},components:t4.components,classes:v,style:m,placement:o2,watchMotion:i2})))};const u=o(n2(2015)),c=a(n2(7500)),l=n2(637),f=n2(7325),p=n2(4919),d=n2(8690)},7459:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.HybridHighlighter=void 0;var r2=n2(9991);Object.defineProperty(t2,"HybridHighlighter",{enumerable:!0,get:function(){return r2.HybridHighlighter}})},28:function(e2,t2,n2){"use strict";var r2=this&&this.__importDefault||function(e3){return e3&&e3.__esModule?e3:{default:e3}};Object.defineProperty(t2,"__esModule",{value:!0}),t2.skipHighlighterSelector=t2.skipHighlighterAttr=t2.skipHighlighterAttrName=t2.excludeHighlighterAtt=t2.excludeHighlighterSelector=t2.excludeHighlighterAttrName=void 0,t2.ExcludeHighlighter=function(e3){return i.default.createElement("div",Object.assign({},e3,t2.excludeHighlighterAtt))};const i=r2(n2(2015));t2.excludeHighlighterAttrName="data-ignore-component-highlight",t2.excludeHighlighterSelector=`[${t2.excludeHighlighterAttrName}]`,t2.excludeHighlighterAtt={[t2.excludeHighlighterAttrName]:!0},t2.skipHighlighterAttrName="data-skip-component-highlight",t2.skipHighlighterAttr={[t2.skipHighlighterAttrName]:!0},t2.skipHighlighterSelector=`[${t2.skipHighlighterAttrName}]`},5110:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.skipHighlighterAttrName=t2.skipHighlighterAttr=t2.excludeHighlighterAttrName=t2.excludeHighlighterAtt=t2.ExcludeHighlighter=t2.ElementHighlighter=t2.ChildrenHighlighter=t2.HoverHighlighter=t2.ComponentHighlighter=void 0;var r2=n2(7459);Object.defineProperty(t2,"ComponentHighlighter",{enumerable:!0,get:function(){return r2.HybridHighlighter}});var i=n2(7325);Object.defineProperty(t2,"HoverHighlighter",{enumerable:!0,get:function(){return i.HoverHighlighter}});var o=n2(8690);Object.defineProperty(t2,"ChildrenHighlighter",{enumerable:!0,get:function(){return o.ChildrenHighlighter}});var s=n2(4919);Object.defineProperty(t2,"ElementHighlighter",{enumerable:!0,get:function(){return s.ElementHighlighter}});var a=n2(28);Object.defineProperty(t2,"ExcludeHighlighter",{enumerable:!0,get:function(){return a.ExcludeHighlighter}}),Object.defineProperty(t2,"excludeHighlighterAtt",{enumerable:!0,get:function(){return a.excludeHighlighterAtt}}),Object.defineProperty(t2,"excludeHighlighterAttrName",{enumerable:!0,get:function(){return a.excludeHighlighterAttrName}}),Object.defineProperty(t2,"skipHighlighterAttr",{enumerable:!0,get:function(){return a.skipHighlighterAttr}}),Object.defineProperty(t2,"skipHighlighterAttrName",{enumerable:!0,get:function(){return a.skipHighlighterAttrName}})},439:function(e2,t2,n2){"use strict";var r2=this&&this.__createBinding||(Object.create?function(e3,t3,n3,r3){r3===void 0&&(r3=n3);var i2=Object.getOwnPropertyDescriptor(t3,n3);i2&&!("get"in i2?!t3.__esModule:i2.writable||i2.configurable)||(i2={enumerable:!0,get:function(){return t3[n3]}}),Object.defineProperty(e3,r3,i2)}:function(e3,t3,n3,r3){r3===void 0&&(r3=n3),e3[r3]=t3[n3]}),i=this&&this.__setModuleDefault||(Object.create?function(e3,t3){Object.defineProperty(e3,"default",{enumerable:!0,value:t3})}:function(e3,t3){e3.default=t3}),o=this&&this.__importStar||function(e3){if(e3&&e3.__esModule)return e3;var t3={};if(e3!=null)for(var n3 in e3)n3!=="default"&&Object.prototype.hasOwnProperty.call(e3,n3)&&r2(t3,e3,n3);return i(t3,e3),t3},s=this&&this.__importDefault||function(e3){return e3&&e3.__esModule?e3:{default:e3}};Object.defineProperty(t2,"__esModule",{value:!0}),t2.ComponentStrip=void 0;const a=o(n2(2015)),u=n2(2895),c=n2(1001),l=n2(6528),f=n2(5489),p=s(n2(1071)),d=n2(5698);function h({link:e3,children:t3,className:n3}){const r3=e3?u.NativeLink:"span";return a.default.createElement(r3,{href:e3,external:!!e3,className:n3},t3)}t2.ComponentStrip=(0,a.forwardRef)(function({component:e3,children:t3},n3){const{id:r3,homepage:i2,exported:o2}=typeof(v=e3)=="string"?{id:v,exported:!0}:v[f.componentMetaField],s2=(0,a.useMemo)(()=>c.ComponentID.tryFromString(r3),[r3]),u2=i2||(0,d.calcComponentLink)(s2,o2);var v;return a.default.createElement("div",{className:p.default.componentStrip,ref:n3},!s2&&a.default.createElement(h,{link:i2},r3),s2&&a.default.createElement(h,{link:l.ScopeUrl.toUrl(s2.scope)},s2.scope),s2&&a.default.createElement(h,{link:u2,className:p.default.nameBlock},a.default.createElement("span",null,s2.fullName),s2.version&&s2.version!=="latest"&&a.default.createElement("span",{className:p.default.version},"@",s2.version)),t3)})},7179:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.LabelContainer=t2.Label=void 0;var r2=n2(4609);Object.defineProperty(t2,"Label",{enumerable:!0,get:function(){return r2.Label}});var i=n2(1016);Object.defineProperty(t2,"LabelContainer",{enumerable:!0,get:function(){return i.LabelContainer}})},1016:function(e2,t2,n2){"use strict";var r2=this&&this.__createBinding||(Object.create?function(e3,t3,n3,r3){r3===void 0&&(r3=n3);var i2=Object.getOwnPropertyDescriptor(t3,n3);i2&&!("get"in i2?!t3.__esModule:i2.writable||i2.configurable)||(i2={enumerable:!0,get:function(){return t3[n3]}}),Object.defineProperty(e3,r3,i2)}:function(e3,t3,n3,r3){r3===void 0&&(r3=n3),e3[r3]=t3[n3]}),i=this&&this.__setModuleDefault||(Object.create?function(e3,t3){Object.defineProperty(e3,"default",{enumerable:!0,value:t3})}:function(e3,t3){e3.default=t3}),o=this&&this.__importStar||function(e3){if(e3&&e3.__esModule)return e3;var t3={};if(e3!=null)for(var n3 in e3)n3!=="default"&&Object.prototype.hasOwnProperty.call(e3,n3)&&r2(t3,e3,n3);return i(t3,e3),t3},s=this&&this.__rest||function(e3,t3){var n3={};for(var r3 in e3)Object.prototype.hasOwnProperty.call(e3,r3)&&t3.indexOf(r3)<0&&(n3[r3]=e3[r3]);if(e3!=null&&typeof Object.getOwnPropertySymbols=="function"){var i2=0;for(r3=Object.getOwnPropertySymbols(e3);i2<r3.length;i2++)t3.indexOf(r3[i2])<0&&Object.prototype.propertyIsEnumerable.call(e3,r3[i2])&&(n3[r3[i2]]=e3[r3[i2]])}return n3},a=this&&this.__importDefault||function(e3){return e3&&e3.__esModule?e3:{default:e3}};Object.defineProperty(t2,"__esModule",{value:!0}),t2.LabelContainer=function(e3){var t3,{targetRef:n3,offset:r3,placement:i2,flip:o2=!0,watchMotion:a2,className:h,style:v}=e3,m=s(e3,["targetRef","offset","placement","flip","watchMotion","className","style"]);const{x:g,y,strategy:E,floating:b,reference:_,refs:w,update:O,middlewareData:T}=(0,f.useFloating)({placement:i2,middleware:(0,l.default)([r3&&(0,f.offset)({mainAxis:r3[0],crossAxis:r3[1]}),o2&&(0,f.flip)(),(0,f.shift)({rootBoundary:"document",mainAxis:!0,crossAxis:!0}),(0,f.hide)({strategy:"referenceHidden"})])});(0,u.useLayoutEffect)(()=>{_(n3.current)},[n3.current,_]),(0,u.useEffect)(()=>w.reference.current&&w.floating.current&&d?(0,f.autoUpdate)(w.reference.current,w.floating.current,O,{animationFrame:!!a2}):()=>{},[w.reference.current,w.floating.current,O,a2]);const I=!(!((t3=T.hide)===null||t3===void 0)&&t3.referenceHidden);return u.default.createElement("div",Object.assign({},m,{ref:b,className:(0,c.default)(h,!I&&p.default.hidden),style:Object.assign(Object.assign({},v),{position:E,top:y??0,left:g??0})}))};const u=o(n2(2015)),c=a(n2(7500)),l=a(n2(763)),f=n2(8401),p=a(n2(173)),d=typeof window<"u"&&!!window.ResizeObserver},4609:function(e2,t2,n2){"use strict";var r2=this&&this.__createBinding||(Object.create?function(e3,t3,n3,r3){r3===void 0&&(r3=n3);var i2=Object.getOwnPropertyDescriptor(t3,n3);i2&&!("get"in i2?!t3.__esModule:i2.writable||i2.configurable)||(i2={enumerable:!0,get:function(){return t3[n3]}}),Object.defineProperty(e3,r3,i2)}:function(e3,t3,n3,r3){r3===void 0&&(r3=n3),e3[r3]=t3[n3]}),i=this&&this.__setModuleDefault||(Object.create?function(e3,t3){Object.defineProperty(e3,"default",{enumerable:!0,value:t3})}:function(e3,t3){e3.default=t3}),o=this&&this.__importStar||function(e3){if(e3&&e3.__esModule)return e3;var t3={};if(e3!=null)for(var n3 in e3)n3!=="default"&&Object.prototype.hasOwnProperty.call(e3,n3)&&r2(t3,e3,n3);return i(t3,e3),t3},s=this&&this.__rest||function(e3,t3){var n3={};for(var r3 in e3)Object.prototype.hasOwnProperty.call(e3,r3)&&t3.indexOf(r3)<0&&(n3[r3]=e3[r3]);if(e3!=null&&typeof Object.getOwnPropertySymbols=="function"){var i2=0;for(r3=Object.getOwnPropertySymbols(e3);i2<r3.length;i2++)t3.indexOf(r3[i2])<0&&Object.prototype.propertyIsEnumerable.call(e3,r3[i2])&&(n3[r3[i2]]=e3[r3[i2]])}return n3},a=this&&this.__importDefault||function(e3){return e3&&e3.__esModule?e3:{default:e3}};Object.defineProperty(t2,"__esModule",{value:!0}),t2.Label=function(e3){var{components:t3}=e3,n3=s(e3,["components"]);const[r3,i2]=(0,u.useState)(!1),o2=t3.slice(-1).pop();if(!o2)return null;const a2=t3.length>1;return(0,u.useEffect)(()=>{i2(!1)},[t3]),u.default.createElement(p.OtherComponentsPopper,{components:t3,visible:r3,placement:"bottom-start"},u.default.createElement(f.ComponentStrip,Object.assign({},n3,{component:o2}),a2&&u.default.createElement("span",{className:(0,c.default)(l.default.othersTooltip,r3&&l.default.active),onClick:()=>i2(e4=>!e4)})))};const u=o(n2(2015)),c=a(n2(7500)),l=a(n2(173)),f=n2(439),p=n2(3434)},5698:function(e2,t2,n2){"use strict";var r2=this&&this.__importDefault||function(e3){return e3&&e3.__esModule?e3:{default:e3}};Object.defineProperty(t2,"__esModule",{value:!0}),t2.calcComponentLink=function(e3,t3){return e3?t3?o.ComponentUrl.toUrl(e3):(0,i.default)("/",e3.fullName):void 0};const i=r2(n2(2176)),o=n2(6528)},3434:function(e2,t2,n2){"use strict";var r2=this&&this.__rest||function(e3,t3){var n3={};for(var r3 in e3)Object.prototype.hasOwnProperty.call(e3,r3)&&t3.indexOf(r3)<0&&(n3[r3]=e3[r3]);if(e3!=null&&typeof Object.getOwnPropertySymbols=="function"){var i2=0;for(r3=Object.getOwnPropertySymbols(e3);i2<r3.length;i2++)t3.indexOf(r3[i2])<0&&Object.prototype.propertyIsEnumerable.call(e3,r3[i2])&&(n3[r3[i2]]=e3[r3[i2]])}return n3},i=this&&this.__importDefault||function(e3){return e3&&e3.__esModule?e3:{default:e3}};Object.defineProperty(t2,"__esModule",{value:!0}),t2.OtherComponentsPopper=function(e3){var{components:t3,children:n3,start:i2,end:c=-1,placement:l="bottom",interactive:f=!0}=e3,p=r2(e3,["components","children","start","end","placement","interactive"]);const d=o.default.createElement(o.default.Fragment,null,t3.slice(i2,c).reverse().map((e4,t4)=>o.default.createElement(a.ComponentStrip,{key:t4,component:e4})));return o.default.createElement(s.default,Object.assign({placement:l,interactive:f},p,{render:e4=>o.default.createElement("div",Object.assign({},e4,{className:u.default.othersContainer}),d)}),n3)};const o=i(n2(2015)),s=i(n2(1002)),a=n2(439),u=i(n2(173))},7905:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.ruleMatcher=function(e3,t3){return typeof t3=="string"?e3.matches(t3):typeof t3!="function"||t3(e3)},t2.componentRuleMatcher=function(e3,t3){if(typeof t3=="string"){const n3=r2.ComponentID.tryFromString(e3.meta.id),i=r2.ComponentID.tryFromString(t3);return r2.ComponentID.isEqual(i,n3,{ignoreVersion:!0})}if(Array.isArray(t3)){const n3=r2.ComponentID.tryFromString(e3.meta.id);return t3.map(e4=>r2.ComponentID.tryFromString(e4)).some(e4=>r2.ComponentID.isEqual(n3,e4,{ignoreVersion:!0}))}return typeof t3!="function"||t3(e3)};const r2=n2(1001)},8242:(e2,t2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.hasComponentMeta=t2.componentMetaProperties=t2.componentMetaField=void 0,t2.componentMetaField="__bit_component",t2.componentMetaProperties={componentId:"id",homepageUrl:"homepage",isExported:"exported"},t2.hasComponentMeta=function(e3){return e3&&typeof e3.__bit_component=="object"&&typeof e3.__bit_component.id=="string"}},4464:function(e2,t2,n2){"use strict";var r2=this&&this.__importDefault||function(e3){return e3&&e3.__esModule?e3:{default:e3}};Object.defineProperty(t2,"__esModule",{value:!0}),t2.MockedComponentWithMeta=void 0;const i=r2(n2(2015)),o=n2(8242);function s(e3){return i.default.createElement("button",Object.assign({type:"button"},e3))}t2.MockedComponentWithMeta=s,s[o.componentMetaField]={id:"teambit.base-ui/input/button"}},5489:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.MockedComponentWithMeta=t2.componentMetaProperties=t2.componentMetaField=t2.hasComponentMeta=void 0;var r2=n2(8242);Object.defineProperty(t2,"hasComponentMeta",{enumerable:!0,get:function(){return r2.hasComponentMeta}}),Object.defineProperty(t2,"componentMetaField",{enumerable:!0,get:function(){return r2.componentMetaField}}),Object.defineProperty(t2,"componentMetaProperties",{enumerable:!0,get:function(){return r2.componentMetaProperties}});var i=n2(4464);Object.defineProperty(t2,"MockedComponentWithMeta",{enumerable:!0,get:function(){return i.MockedComponentWithMeta}})},5318:function(e2,t2,n2){"use strict";var r2=this&&this.__createBinding||(Object.create?function(e3,t3,n3,r3){r3===void 0&&(r3=n3),Object.defineProperty(e3,r3,{enumerable:!0,get:function(){return t3[n3]}})}:function(e3,t3,n3,r3){r3===void 0&&(r3=n3),e3[r3]=t3[n3]}),i=this&&this.__setModuleDefault||(Object.create?function(e3,t3){Object.defineProperty(e3,"default",{enumerable:!0,value:t3})}:function(e3,t3){e3.default=t3}),o=this&&this.__importStar||function(e3){if(e3&&e3.__esModule)return e3;var t3={};if(e3!=null)for(var n3 in e3)n3!=="default"&&Object.prototype.hasOwnProperty.call(e3,n3)&&r2(t3,e3,n3);return i(t3,e3),t3},s=this&&this.__rest||function(e3,t3){var n3={};for(var r3 in e3)Object.prototype.hasOwnProperty.call(e3,r3)&&t3.indexOf(r3)<0&&(n3[r3]=e3[r3]);if(e3!=null&&typeof Object.getOwnPropertySymbols=="function"){var i2=0;for(r3=Object.getOwnPropertySymbols(e3);i2<r3.length;i2++)t3.indexOf(r3[i2])<0&&Object.prototype.propertyIsEnumerable.call(e3,r3[i2])&&(n3[r3[i2]]=e3[r3[i2]])}return n3};Object.defineProperty(t2,"__esModule",{value:!0}),t2.useHoverSelection=t2.HoverSelector=void 0;const a=o(n2(2015));function u(e3,t3={}){const{onMouseOver:n3,onMouseLeave:r3}=t3,i2=(0,a.useCallback)(t4=>{n3?.(t4);const{target:r4}=t4;r4&&e3?.(r4)},[n3,e3]),o2=(0,a.useCallback)(t4=>{r3?.(t4),e3?.(null)},[r3,e3]);return e3?{onMouseOver:i2,onMouseLeave:o2}:{}}t2.HoverSelector=function(e3){var{onElementChange:t3,disabled:n3}=e3,r3=s(e3,["onElementChange","disabled"]);const i2=u(t3,r3);return a.default.createElement("div",Object.assign({},r3,n3?{}:i2))},t2.useHoverSelection=u},2840:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.useHoverSelection=t2.HoverSelector=void 0;var r2=n2(5318);Object.defineProperty(t2,"HoverSelector",{enumerable:!0,get:function(){return r2.HoverSelector}}),Object.defineProperty(t2,"useHoverSelection",{enumerable:!0,get:function(){return r2.useHoverSelection}})},5867:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.isBrowser=void 0;var r2=n2(6238);Object.defineProperty(t2,"isBrowser",{enumerable:!0,get:function(){return r2.isBrowser}})},6238:(e2,t2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.isBrowser=void 0;const n2=typeof window<"u";t2.isBrowser=n2},1002:(e2,t2,n2)=>{"use strict";function r2(e3){if(e3==null)return window;if(e3.toString()!=="[object Window]"){var t3=e3.ownerDocument;return t3&&t3.defaultView||window}return e3}function i(e3){return e3 instanceof r2(e3).Element||e3 instanceof Element}function o(e3){return e3 instanceof r2(e3).HTMLElement||e3 instanceof HTMLElement}function s(e3){return typeof ShadowRoot<"u"&&(e3 instanceof r2(e3).ShadowRoot||e3 instanceof ShadowRoot)}n2.r(t2),n2.d(t2,{default:()=>ot,tippy:()=>Be,useSingleton:()=>it});var a=Math.max,u=Math.min,c=Math.round;function l(){var e3=navigator.userAgentData;return e3!=null&&e3.brands&&Array.isArray(e3.brands)?e3.brands.map(function(e4){return e4.brand+"/"+e4.version}).join(" "):navigator.userAgent}function f(){return!/^((?!chrome|android).)*safari/i.test(l())}function p(e3,t3,n3){t3===void 0&&(t3=!1),n3===void 0&&(n3=!1);var s2=e3.getBoundingClientRect(),a2=1,u2=1;t3&&o(e3)&&(a2=e3.offsetWidth>0&&c(s2.width)/e3.offsetWidth||1,u2=e3.offsetHeight>0&&c(s2.height)/e3.offsetHeight||1);var l2=(i(e3)?r2(e3):window).visualViewport,p2=!f()&&n3,d2=(s2.left+(p2&&l2?l2.offsetLeft:0))/a2,h2=(s2.top+(p2&&l2?l2.offsetTop:0))/u2,v2=s2.width/a2,m2=s2.height/u2;return{width:v2,height:m2,top:h2,right:d2+v2,bottom:h2+m2,left:d2,x:d2,y:h2}}function d(e3){var t3=r2(e3);return{scrollLeft:t3.pageXOffset,scrollTop:t3.pageYOffset}}function h(e3){return e3?(e3.nodeName||"").toLowerCase():null}function v(e3){return((i(e3)?e3.ownerDocument:e3.document)||window.document).documentElement}function m(e3){return p(v(e3)).left+d(e3).scrollLeft}function g(e3){return r2(e3).getComputedStyle(e3)}function y(e3){var t3=g(e3),n3=t3.overflow,r3=t3.overflowX,i2=t3.overflowY;return/auto|scroll|overlay|hidden/.test(n3+i2+r3)}function E(e3,t3,n3){n3===void 0&&(n3=!1);var i2,s2,a2=o(t3),u2=o(t3)&&function(e4){var t4=e4.getBoundingClientRect(),n4=c(t4.width)/e4.offsetWidth||1,r3=c(t4.height)/e4.offsetHeight||1;return n4!==1||r3!==1}(t3),l2=v(t3),f2=p(e3,u2,n3),g2={scrollLeft:0,scrollTop:0},E2={x:0,y:0};return(a2||!a2&&!n3)&&((h(t3)!=="body"||y(l2))&&(g2=(i2=t3)!==r2(i2)&&o(i2)?{scrollLeft:(s2=i2).scrollLeft,scrollTop:s2.scrollTop}:d(i2)),o(t3)?((E2=p(t3,!0)).x+=t3.clientLeft,E2.y+=t3.clientTop):l2&&(E2.x=m(l2))),{x:f2.left+g2.scrollLeft-E2.x,y:f2.top+g2.scrollTop-E2.y,width:f2.width,height:f2.height}}function b(e3){var t3=p(e3),n3=e3.offsetWidth,r3=e3.offsetHeight;return Math.abs(t3.width-n3)<=1&&(n3=t3.width),Math.abs(t3.height-r3)<=1&&(r3=t3.height),{x:e3.offsetLeft,y:e3.offsetTop,width:n3,height:r3}}function _(e3){return h(e3)==="html"?e3:e3.assignedSlot||e3.parentNode||(s(e3)?e3.host:null)||v(e3)}function w(e3){return["html","body","#document"].indexOf(h(e3))>=0?e3.ownerDocument.body:o(e3)&&y(e3)?e3:w(_(e3))}function O(e3,t3){var n3;t3===void 0&&(t3=[]);var i2=w(e3),o2=i2===((n3=e3.ownerDocument)==null?void 0:n3.body),s2=r2(i2),a2=o2?[s2].concat(s2.visualViewport||[],y(i2)?i2:[]):i2,u2=t3.concat(a2);return o2?u2:u2.concat(O(_(a2)))}function T(e3){return["table","td","th"].indexOf(h(e3))>=0}function I(e3){return o(e3)&&g(e3).position!=="fixed"?e3.offsetParent:null}function S(e3){for(var t3=r2(e3),n3=I(e3);n3&&T(n3)&&g(n3).position==="static";)n3=I(n3);return n3&&(h(n3)==="html"||h(n3)==="body"&&g(n3).position==="static")?t3:n3||function(e4){var t4=/firefox/i.test(l());if(/Trident/i.test(l())&&o(e4)&&g(e4).position==="fixed")return null;var n4=_(e4);for(s(n4)&&(n4=n4.host);o(n4)&&["html","body"].indexOf(h(n4))<0;){var r3=g(n4);if(r3.transform!=="none"||r3.perspective!=="none"||r3.contain==="paint"||["transform","perspective"].indexOf(r3.willChange)!==-1||t4&&r3.willChange==="filter"||t4&&r3.filter&&r3.filter!=="none")return n4;n4=n4.parentNode}return null}(e3)||t3}var N="top",A="bottom",R="right",x="left",j="auto",P=[N,A,R,x],D="start",L="end",M="viewport",k="popper",C=P.reduce(function(e3,t3){return e3.concat([t3+"-"+D,t3+"-"+L])},[]),F=[].concat(P,[j]).reduce(function(e3,t3){return e3.concat([t3,t3+"-"+D,t3+"-"+L])},[]),V=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function $(e3){var t3=new Map,n3=new Set,r3=[];function i2(e4){n3.add(e4.name),[].concat(e4.requires||[],e4.requiresIfExists||[]).forEach(function(e5){if(!n3.has(e5)){var r4=t3.get(e5);r4&&i2(r4)}}),r3.push(e4)}return e3.forEach(function(e4){t3.set(e4.name,e4)}),e3.forEach(function(e4){n3.has(e4.name)||i2(e4)}),r3}var U={placement:"bottom",modifiers:[],strategy:"absolute"};function B(){for(var e3=arguments.length,t3=new Array(e3),n3=0;n3<e3;n3++)t3[n3]=arguments[n3];return!t3.some(function(e4){return!(e4&&typeof e4.getBoundingClientRect=="function")})}function H(e3){e3===void 0&&(e3={});var t3=e3,n3=t3.defaultModifiers,r3=n3===void 0?[]:n3,o2=t3.defaultOptions,s2=o2===void 0?U:o2;return function(e4,t4,n4){n4===void 0&&(n4=s2);var o3,a2,u2={placement:"bottom",orderedModifiers:[],options:Object.assign({},U,s2),modifiersData:{},elements:{reference:e4,popper:t4},attributes:{},styles:{}},c2=[],l2=!1,f2={state:u2,setOptions:function(n5){var o4=typeof n5=="function"?n5(u2.options):n5;p2(),u2.options=Object.assign({},s2,u2.options,o4),u2.scrollParents={reference:i(e4)?O(e4):e4.contextElement?O(e4.contextElement):[],popper:O(t4)};var a3,l3,d2=function(e5){var t5=$(e5);return V.reduce(function(e6,n6){return e6.concat(t5.filter(function(e7){return e7.phase===n6}))},[])}((a3=[].concat(r3,u2.options.modifiers),l3=a3.reduce(function(e5,t5){var n6=e5[t5.name];return e5[t5.name]=n6?Object.assign({},n6,t5,{options:Object.assign({},n6.options,t5.options),data:Object.assign({},n6.data,t5.data)}):t5,e5},{}),Object.keys(l3).map(function(e5){return l3[e5]})));return u2.orderedModifiers=d2.filter(function(e5){return e5.enabled}),u2.orderedModifiers.forEach(function(e5){var t5=e5.name,n6=e5.options,r4=n6===void 0?{}:n6,i2=e5.effect;if(typeof i2=="function"){var o5=i2({state:u2,name:t5,instance:f2,options:r4});c2.push(o5||function(){})}}),f2.update()},forceUpdate:function(){if(!l2){var e5=u2.elements,t5=e5.reference,n5=e5.popper;if(B(t5,n5)){u2.rects={reference:E(t5,S(n5),u2.options.strategy==="fixed"),popper:b(n5)},u2.reset=!1,u2.placement=u2.options.placement,u2.orderedModifiers.forEach(function(e6){return u2.modifiersData[e6.name]=Object.assign({},e6.data)});for(var r4=0;r4<u2.orderedModifiers.length;r4++)if(u2.reset!==!0){var i2=u2.orderedModifiers[r4],o4=i2.fn,s3=i2.options,a3=s3===void 0?{}:s3,c3=i2.name;typeof o4=="function"&&(u2=o4({state:u2,options:a3,name:c3,instance:f2})||u2)}else u2.reset=!1,r4=-1}}},update:(o3=function(){return new Promise(function(e5){f2.forceUpdate(),e5(u2)})},function(){return a2||(a2=new Promise(function(e5){Promise.resolve().then(function(){a2=void 0,e5(o3())})})),a2}),destroy:function(){p2(),l2=!0}};if(!B(e4,t4))return f2;function p2(){c2.forEach(function(e5){return e5()}),c2=[]}return f2.setOptions(n4).then(function(e5){!l2&&n4.onFirstUpdate&&n4.onFirstUpdate(e5)}),f2}}var G={passive:!0};function q(e3){return e3.split("-")[0]}function W(e3){return e3.split("-")[1]}function z(e3){return["top","bottom"].indexOf(e3)>=0?"x":"y"}function Y(e3){var t3,n3=e3.reference,r3=e3.element,i2=e3.placement,o2=i2?q(i2):null,s2=i2?W(i2):null,a2=n3.x+n3.width/2-r3.width/2,u2=n3.y+n3.height/2-r3.height/2;switch(o2){case N:t3={x:a2,y:n3.y-r3.height};break;case A:t3={x:a2,y:n3.y+n3.height};break;case R:t3={x:n3.x+n3.width,y:u2};break;case x:t3={x:n3.x-r3.width,y:u2};break;default:t3={x:n3.x,y:n3.y}}var c2=o2?z(o2):null;if(c2!=null){var l2=c2==="y"?"height":"width";switch(s2){case D:t3[c2]=t3[c2]-(n3[l2]/2-r3[l2]/2);break;case L:t3[c2]=t3[c2]+(n3[l2]/2-r3[l2]/2)}}return t3}var X={top:"auto",right:"auto",bottom:"auto",left:"auto"};function J(e3){var t3,n3=e3.popper,i2=e3.popperRect,o2=e3.placement,s2=e3.variation,a2=e3.offsets,u2=e3.position,l2=e3.gpuAcceleration,f2=e3.adaptive,p2=e3.roundOffsets,d2=e3.isFixed,h2=a2.x,m2=h2===void 0?0:h2,y2=a2.y,E2=y2===void 0?0:y2,b2=typeof p2=="function"?p2({x:m2,y:E2}):{x:m2,y:E2};m2=b2.x,E2=b2.y;var _2=a2.hasOwnProperty("x"),w2=a2.hasOwnProperty("y"),O2=x,T2=N,I2=window;if(f2){var j2=S(n3),P2="clientHeight",D2="clientWidth";j2===r2(n3)&&g(j2=v(n3)).position!=="static"&&u2==="absolute"&&(P2="scrollHeight",D2="scrollWidth"),(o2===N||(o2===x||o2===R)&&s2===L)&&(T2=A,E2-=(d2&&j2===I2&&I2.visualViewport?I2.visualViewport.height:j2[P2])-i2.height,E2*=l2?1:-1),o2!==x&&(o2!==N&&o2!==A||s2!==L)||(O2=R,m2-=(d2&&j2===I2&&I2.visualViewport?I2.visualViewport.width:j2[D2])-i2.width,m2*=l2?1:-1)}var M2,k2=Object.assign({position:u2},f2&&X),C2=p2===!0?function(e4,t4){var n4=e4.x,r3=e4.y,i3=t4.devicePixelRatio||1;return{x:c(n4*i3)/i3||0,y:c(r3*i3)/i3||0}}({x:m2,y:E2},r2(n3)):{x:m2,y:E2};return m2=C2.x,E2=C2.y,l2?Object.assign({},k2,((M2={})[T2]=w2?"0":"",M2[O2]=_2?"0":"",M2.transform=(I2.devicePixelRatio||1)<=1?"translate("+m2+"px, "+E2+"px)":"translate3d("+m2+"px, "+E2+"px, 0)",M2)):Object.assign({},k2,((t3={})[T2]=w2?E2+"px":"",t3[O2]=_2?m2+"px":"",t3.transform="",t3))}var Q={left:"right",right:"left",bottom:"top",top:"bottom"};function K(e3){return e3.replace(/left|right|bottom|top/g,function(e4){return Q[e4]})}var Z={start:"end",end:"start"};function ee(e3){return e3.replace(/start|end/g,function(e4){return Z[e4]})}function te(e3,t3){var n3=t3.getRootNode&&t3.getRootNode();if(e3.contains(t3))return!0;if(n3&&s(n3)){var r3=t3;do{if(r3&&e3.isSameNode(r3))return!0;r3=r3.parentNode||r3.host}while(r3)}return!1}function ne(e3){return Object.assign({},e3,{left:e3.x,top:e3.y,right:e3.x+e3.width,bottom:e3.y+e3.height})}function re(e3,t3,n3){return t3===M?ne(function(e4,t4){var n4=r2(e4),i2=v(e4),o2=n4.visualViewport,s2=i2.clientWidth,a2=i2.clientHeight,u2=0,c2=0;if(o2){s2=o2.width,a2=o2.height;var l2=f();(l2||!l2&&t4==="fixed")&&(u2=o2.offsetLeft,c2=o2.offsetTop)}return{width:s2,height:a2,x:u2+m(e4),y:c2}}(e3,n3)):i(t3)?function(e4,t4){var n4=p(e4,!1,t4==="fixed");return n4.top=n4.top+e4.clientTop,n4.left=n4.left+e4.clientLeft,n4.bottom=n4.top+e4.clientHeight,n4.right=n4.left+e4.clientWidth,n4.width=e4.clientWidth,n4.height=e4.clientHeight,n4.x=n4.left,n4.y=n4.top,n4}(t3,n3):ne(function(e4){var t4,n4=v(e4),r3=d(e4),i2=(t4=e4.ownerDocument)==null?void 0:t4.body,o2=a(n4.scrollWidth,n4.clientWidth,i2?i2.scrollWidth:0,i2?i2.clientWidth:0),s2=a(n4.scrollHeight,n4.clientHeight,i2?i2.scrollHeight:0,i2?i2.clientHeight:0),u2=-r3.scrollLeft+m(e4),c2=-r3.scrollTop;return g(i2||n4).direction==="rtl"&&(u2+=a(n4.clientWidth,i2?i2.clientWidth:0)-o2),{width:o2,height:s2,x:u2,y:c2}}(v(e3)))}function ie(e3){return Object.assign({},{top:0,right:0,bottom:0,left:0},e3)}function oe(e3,t3){return t3.reduce(function(t4,n3){return t4[n3]=e3,t4},{})}function se(e3,t3){t3===void 0&&(t3={});var n3=t3,r3=n3.placement,s2=r3===void 0?e3.placement:r3,c2=n3.strategy,l2=c2===void 0?e3.strategy:c2,f2=n3.boundary,d2=f2===void 0?"clippingParents":f2,m2=n3.rootBoundary,y2=m2===void 0?M:m2,E2=n3.elementContext,b2=E2===void 0?k:E2,w2=n3.altBoundary,T2=w2!==void 0&&w2,I2=n3.padding,x2=I2===void 0?0:I2,j2=ie(typeof x2!="number"?x2:oe(x2,P)),D2=b2===k?"reference":k,L2=e3.rects.popper,C2=e3.elements[T2?D2:b2],F2=function(e4,t4,n4,r4){var s3=t4==="clippingParents"?function(e5){var t5=O(_(e5)),n5=["absolute","fixed"].indexOf(g(e5).position)>=0&&o(e5)?S(e5):e5;return i(n5)?t5.filter(function(e6){return i(e6)&&te(e6,n5)&&h(e6)!=="body"}):[]}(e4):[].concat(t4),c3=[].concat(s3,[n4]),l3=c3[0],f3=c3.reduce(function(t5,n5){var i2=re(e4,n5,r4);return t5.top=a(i2.top,t5.top),t5.right=u(i2.right,t5.right),t5.bottom=u(i2.bottom,t5.bottom),t5.left=a(i2.left,t5.left),t5},re(e4,l3,r4));return f3.width=f3.right-f3.left,f3.height=f3.bottom-f3.top,f3.x=f3.left,f3.y=f3.top,f3}(i(C2)?C2:C2.contextElement||v(e3.elements.popper),d2,y2,l2),V2=p(e3.elements.reference),$2=Y({reference:V2,element:L2,strategy:"absolute",placement:s2}),U2=ne(Object.assign({},L2,$2)),B2=b2===k?U2:V2,H2={top:F2.top-B2.top+j2.top,bottom:B2.bottom-F2.bottom+j2.bottom,left:F2.left-B2.left+j2.left,right:B2.right-F2.right+j2.right},G2=e3.modifiersData.offset;if(b2===k&&G2){var q2=G2[s2];Object.keys(H2).forEach(function(e4){var t4=[R,A].indexOf(e4)>=0?1:-1,n4=[N,A].indexOf(e4)>=0?"y":"x";H2[e4]+=q2[n4]*t4})}return H2}function ae(e3,t3,n3){return a(e3,u(t3,n3))}function ue(e3,t3,n3){return n3===void 0&&(n3={x:0,y:0}),{top:e3.top-t3.height-n3.y,right:e3.right-t3.width+n3.x,bottom:e3.bottom-t3.height+n3.y,left:e3.left-t3.width-n3.x}}function ce(e3){return[N,R,A,x].some(function(t3){return e3[t3]>=0})}var le=H({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e3){var t3=e3.state,n3=e3.instance,i2=e3.options,o2=i2.scroll,s2=o2===void 0||o2,a2=i2.resize,u2=a2===void 0||a2,c2=r2(t3.elements.popper),l2=[].concat(t3.scrollParents.reference,t3.scrollParents.popper);return s2&&l2.forEach(function(e4){e4.addEventListener("scroll",n3.update,G)}),u2&&c2.addEventListener("resize",n3.update,G),function(){s2&&l2.forEach(function(e4){e4.removeEventListener("scroll",n3.update,G)}),u2&&c2.removeEventListener("resize",n3.update,G)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e3){var t3=e3.state,n3=e3.name;t3.modifiersData[n3]=Y({reference:t3.rects.reference,element:t3.rects.popper,strategy:"absolute",placement:t3.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e3){var t3=e3.state,n3=e3.options,r3=n3.gpuAcceleration,i2=r3===void 0||r3,o2=n3.adaptive,s2=o2===void 0||o2,a2=n3.roundOffsets,u2=a2===void 0||a2,c2={placement:q(t3.placement),variation:W(t3.placement),popper:t3.elements.popper,popperRect:t3.rects.popper,gpuAcceleration:i2,isFixed:t3.options.strategy==="fixed"};t3.modifiersData.popperOffsets!=null&&(t3.styles.popper=Object.assign({},t3.styles.popper,J(Object.assign({},c2,{offsets:t3.modifiersData.popperOffsets,position:t3.options.strategy,adaptive:s2,roundOffsets:u2})))),t3.modifiersData.arrow!=null&&(t3.styles.arrow=Object.assign({},t3.styles.arrow,J(Object.assign({},c2,{offsets:t3.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u2})))),t3.attributes.popper=Object.assign({},t3.attributes.popper,{"data-popper-placement":t3.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e3){var t3=e3.state;Object.keys(t3.elements).forEach(function(e4){var n3=t3.styles[e4]||{},r3=t3.attributes[e4]||{},i2=t3.elements[e4];o(i2)&&h(i2)&&(Object.assign(i2.style,n3),Object.keys(r3).forEach(function(e5){var t4=r3[e5];t4===!1?i2.removeAttribute(e5):i2.setAttribute(e5,t4===!0?"":t4)}))})},effect:function(e3){var t3=e3.state,n3={popper:{position:t3.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t3.elements.popper.style,n3.popper),t3.styles=n3,t3.elements.arrow&&Object.assign(t3.elements.arrow.style,n3.arrow),function(){Object.keys(t3.elements).forEach(function(e4){var r3=t3.elements[e4],i2=t3.attributes[e4]||{},s2=Object.keys(t3.styles.hasOwnProperty(e4)?t3.styles[e4]:n3[e4]).reduce(function(e5,t4){return e5[t4]="",e5},{});o(r3)&&h(r3)&&(Object.assign(r3.style,s2),Object.keys(i2).forEach(function(e5){r3.removeAttribute(e5)}))})}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e3){var t3=e3.state,n3=e3.options,r3=e3.name,i2=n3.offset,o2=i2===void 0?[0,0]:i2,s2=F.reduce(function(e4,n4){return e4[n4]=function(e5,t4,n5){var r4=q(e5),i3=[x,N].indexOf(r4)>=0?-1:1,o3=typeof n5=="function"?n5(Object.assign({},t4,{placement:e5})):n5,s3=o3[0],a3=o3[1];return s3=s3||0,a3=(a3||0)*i3,[x,R].indexOf(r4)>=0?{x:a3,y:s3}:{x:s3,y:a3}}(n4,t3.rects,o2),e4},{}),a2=s2[t3.placement],u2=a2.x,c2=a2.y;t3.modifiersData.popperOffsets!=null&&(t3.modifiersData.popperOffsets.x+=u2,t3.modifiersData.popperOffsets.y+=c2),t3.modifiersData[r3]=s2}},{name:"flip",enabled:!0,phase:"main",fn:function(e3){var t3=e3.state,n3=e3.options,r3=e3.name;if(!t3.modifiersData[r3]._skip){for(var i2=n3.mainAxis,o2=i2===void 0||i2,s2=n3.altAxis,a2=s2===void 0||s2,u2=n3.fallbackPlacements,c2=n3.padding,l2=n3.boundary,f2=n3.rootBoundary,p2=n3.altBoundary,d2=n3.flipVariations,h2=d2===void 0||d2,v2=n3.allowedAutoPlacements,m2=t3.options.placement,g2=q(m2),y2=u2||(g2!==m2&&h2?function(e4){if(q(e4)===j)return[];var t4=K(e4);return[ee(e4),t4,ee(t4)]}(m2):[K(m2)]),E2=[m2].concat(y2).reduce(function(e4,n4){return e4.concat(q(n4)===j?function(e5,t4){t4===void 0&&(t4={});var n5=t4,r4=n5.placement,i3=n5.boundary,o3=n5.rootBoundary,s3=n5.padding,a3=n5.flipVariations,u3=n5.allowedAutoPlacements,c3=u3===void 0?F:u3,l3=W(r4),f3=l3?a3?C:C.filter(function(e6){return W(e6)===l3}):P,p3=f3.filter(function(e6){return c3.indexOf(e6)>=0});p3.length===0&&(p3=f3);var d3=p3.reduce(function(t5,n6){return t5[n6]=se(e5,{placement:n6,boundary:i3,rootBoundary:o3,padding:s3})[q(n6)],t5},{});return Object.keys(d3).sort(function(e6,t5){return d3[e6]-d3[t5]})}(t3,{placement:n4,boundary:l2,rootBoundary:f2,padding:c2,flipVariations:h2,allowedAutoPlacements:v2}):n4)},[]),b2=t3.rects.reference,_2=t3.rects.popper,w2=new Map,O2=!0,T2=E2[0],I2=0;I2<E2.length;I2++){var S2=E2[I2],L2=q(S2),M2=W(S2)===D,k2=[N,A].indexOf(L2)>=0,V2=k2?"width":"height",$2=se(t3,{placement:S2,boundary:l2,rootBoundary:f2,altBoundary:p2,padding:c2}),U2=k2?M2?R:x:M2?A:N;b2[V2]>_2[V2]&&(U2=K(U2));var B2=K(U2),H2=[];if(o2&&H2.push($2[L2]<=0),a2&&H2.push($2[U2]<=0,$2[B2]<=0),H2.every(function(e4){return e4})){T2=S2,O2=!1;break}w2.set(S2,H2)}if(O2)for(var G2=function(e4){var t4=E2.find(function(t5){var n4=w2.get(t5);if(n4)return n4.slice(0,e4).every(function(e5){return e5})});if(t4)return T2=t4,"break"},z2=h2?3:1;z2>0&&G2(z2)!=="break";z2--);t3.placement!==T2&&(t3.modifiersData[r3]._skip=!0,t3.placement=T2,t3.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e3){var t3=e3.state,n3=e3.options,r3=e3.name,i2=n3.mainAxis,o2=i2===void 0||i2,s2=n3.altAxis,c2=s2!==void 0&&s2,l2=n3.boundary,f2=n3.rootBoundary,p2=n3.altBoundary,d2=n3.padding,h2=n3.tether,v2=h2===void 0||h2,m2=n3.tetherOffset,g2=m2===void 0?0:m2,y2=se(t3,{boundary:l2,rootBoundary:f2,padding:d2,altBoundary:p2}),E2=q(t3.placement),_2=W(t3.placement),w2=!_2,O2=z(E2),T2=O2==="x"?"y":"x",I2=t3.modifiersData.popperOffsets,j2=t3.rects.reference,P2=t3.rects.popper,L2=typeof g2=="function"?g2(Object.assign({},t3.rects,{placement:t3.placement})):g2,M2=typeof L2=="number"?{mainAxis:L2,altAxis:L2}:Object.assign({mainAxis:0,altAxis:0},L2),k2=t3.modifiersData.offset?t3.modifiersData.offset[t3.placement]:null,C2={x:0,y:0};if(I2){if(o2){var F2,V2=O2==="y"?N:x,$2=O2==="y"?A:R,U2=O2==="y"?"height":"width",B2=I2[O2],H2=B2+y2[V2],G2=B2-y2[$2],Y2=v2?-P2[U2]/2:0,X2=_2===D?j2[U2]:P2[U2],J2=_2===D?-P2[U2]:-j2[U2],Q2=t3.elements.arrow,K2=v2&&Q2?b(Q2):{width:0,height:0},Z2=t3.modifiersData["arrow#persistent"]?t3.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},ee2=Z2[V2],te2=Z2[$2],ne2=ae(0,j2[U2],K2[U2]),re2=w2?j2[U2]/2-Y2-ne2-ee2-M2.mainAxis:X2-ne2-ee2-M2.mainAxis,ie2=w2?-j2[U2]/2+Y2+ne2+te2+M2.mainAxis:J2+ne2+te2+M2.mainAxis,oe2=t3.elements.arrow&&S(t3.elements.arrow),ue2=oe2?O2==="y"?oe2.clientTop||0:oe2.clientLeft||0:0,ce2=(F2=k2?.[O2])!=null?F2:0,le2=B2+ie2-ce2,fe2=ae(v2?u(H2,B2+re2-ce2-ue2):H2,B2,v2?a(G2,le2):G2);I2[O2]=fe2,C2[O2]=fe2-B2}if(c2){var pe2,de2=O2==="x"?N:x,he2=O2==="x"?A:R,ve2=I2[T2],me2=T2==="y"?"height":"width",ge2=ve2+y2[de2],ye2=ve2-y2[he2],Ee2=[N,x].indexOf(E2)!==-1,be2=(pe2=k2?.[T2])!=null?pe2:0,_e2=Ee2?ge2:ve2-j2[me2]-P2[me2]-be2+M2.altAxis,we2=Ee2?ve2+j2[me2]+P2[me2]-be2-M2.altAxis:ye2,Oe2=v2&&Ee2?function(e4,t4,n4){var r4=ae(e4,t4,n4);return r4>n4?n4:r4}(_e2,ve2,we2):ae(v2?_e2:ge2,ve2,v2?we2:ye2);I2[T2]=Oe2,C2[T2]=Oe2-ve2}t3.modifiersData[r3]=C2}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e3){var t3,n3=e3.state,r3=e3.name,i2=e3.options,o2=n3.elements.arrow,s2=n3.modifiersData.popperOffsets,a2=q(n3.placement),u2=z(a2),c2=[x,R].indexOf(a2)>=0?"height":"width";if(o2&&s2){var l2=function(e4,t4){return ie(typeof(e4=typeof e4=="function"?e4(Object.assign({},t4.rects,{placement:t4.placement})):e4)!="number"?e4:oe(e4,P))}(i2.padding,n3),f2=b(o2),p2=u2==="y"?N:x,d2=u2==="y"?A:R,h2=n3.rects.reference[c2]+n3.rects.reference[u2]-s2[u2]-n3.rects.popper[c2],v2=s2[u2]-n3.rects.reference[u2],m2=S(o2),g2=m2?u2==="y"?m2.clientHeight||0:m2.clientWidth||0:0,y2=h2/2-v2/2,E2=l2[p2],_2=g2-f2[c2]-l2[d2],w2=g2/2-f2[c2]/2+y2,O2=ae(E2,w2,_2),T2=u2;n3.modifiersData[r3]=((t3={})[T2]=O2,t3.centerOffset=O2-w2,t3)}},effect:function(e3){var t3=e3.state,n3=e3.options.element,r3=n3===void 0?"[data-popper-arrow]":n3;r3!=null&&(typeof r3!="string"||(r3=t3.elements.popper.querySelector(r3)))&&te(t3.elements.popper,r3)&&(t3.elements.arrow=r3)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e3){var t3=e3.state,n3=e3.name,r3=t3.rects.reference,i2=t3.rects.popper,o2=t3.modifiersData.preventOverflow,s2=se(t3,{elementContext:"reference"}),a2=se(t3,{altBoundary:!0}),u2=ue(s2,r3),c2=ue(a2,i2,o2),l2=ce(u2),f2=ce(c2);t3.modifiersData[n3]={referenceClippingOffsets:u2,popperEscapeOffsets:c2,isReferenceHidden:l2,hasPopperEscaped:f2},t3.attributes.popper=Object.assign({},t3.attributes.popper,{"data-popper-reference-hidden":l2,"data-popper-escaped":f2})}}]}),fe={passive:!0,capture:!0};function pe(e3,t3,n3){if(Array.isArray(e3)){var r3=e3[t3];return r3??(Array.isArray(n3)?n3[t3]:n3)}return e3}function de(e3,t3){var n3={}.toString.call(e3);return n3.indexOf("[object")===0&&n3.indexOf(t3+"]")>-1}function he(e3,t3){return typeof e3=="function"?e3.apply(void 0,t3):e3}function ve(e3,t3){return t3===0?e3:function(r3){clearTimeout(n3),n3=setTimeout(function(){e3(r3)},t3)};var n3}function me(e3){return[].concat(e3)}function ge(e3,t3){e3.indexOf(t3)===-1&&e3.push(t3)}function ye(e3){return[].slice.call(e3)}function Ee(){return document.createElement("div")}function be(e3){return["Element","Fragment"].some(function(t3){return de(e3,t3)})}function _e(e3,t3){e3.forEach(function(e4){e4&&(e4.style.transitionDuration=t3+"ms")})}function we(e3,t3){e3.forEach(function(e4){e4&&e4.setAttribute("data-state",t3)})}function Oe(e3,t3,n3){var r3=t3+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(t4){e3[r3](t4,n3)})}var Te={isTouch:!1},Ie=0;function Se(){Te.isTouch||(Te.isTouch=!0,window.performance&&document.addEventListener("mousemove",Ne))}function Ne(){var e3=performance.now();e3-Ie<20&&(Te.isTouch=!1,document.removeEventListener("mousemove",Ne)),Ie=e3}function Ae(){var e3=document.activeElement;if(function(e4){return!(!e4||!e4._tippy||e4._tippy.reference!==e4)}(e3)){var t3=e3._tippy;e3.blur&&!t3.state.isVisible&&e3.blur()}}var Re=typeof window<"u"&&typeof document<"u"?navigator.userAgent:"",xe=/MSIE |Trident\//.test(Re),je=Object.assign({appendTo:function(){return document.body},aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},{animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},{},{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),Pe=Object.keys(je);function De(e3){var t3=(e3.plugins||[]).reduce(function(t4,n3){var r3=n3.name,i2=n3.defaultValue;return r3&&(t4[r3]=e3[r3]!==void 0?e3[r3]:i2),t4},{});return Object.assign({},e3,{},t3)}function Le(e3,t3){var n3=Object.assign({},t3,{content:he(t3.content,[e3])},t3.ignoreAttributes?{}:function(e4,t4){return(t4?Object.keys(De(Object.assign({},je,{plugins:t4}))):Pe).reduce(function(t5,n4){var r3=(e4.getAttribute("data-tippy-"+n4)||"").trim();if(!r3)return t5;if(n4==="content")t5[n4]=r3;else try{t5[n4]=JSON.parse(r3)}catch{t5[n4]=r3}return t5},{})}(e3,t3.plugins));return n3.aria=Object.assign({},je.aria,{},n3.aria),n3.aria={expanded:n3.aria.expanded==="auto"?t3.interactive:n3.aria.expanded,content:n3.aria.content==="auto"?t3.interactive?null:"describedby":n3.aria.content},n3}function Me(e3){var t3=e3.firstElementChild,n3=ye(t3.children);return{box:t3,content:n3.find(function(e4){return e4.classList.contains("tippy-content")}),arrow:n3.find(function(e4){return e4.classList.contains("tippy-arrow")||e4.classList.contains("tippy-svg-arrow")}),backdrop:n3.find(function(e4){return e4.classList.contains("tippy-backdrop")})}}var ke=1,Ce=[],Fe=[];function Ve(e3,t3){var n3,r3,i2,o2,s2,a2,u2,c2,l2,f2=Le(e3,Object.assign({},je,{},De((n3=t3,Object.keys(n3).reduce(function(e4,t4){return n3[t4]!==void 0&&(e4[t4]=n3[t4]),e4},{}))))),p2=!1,d2=!1,h2=!1,v2=!1,m2=[],g2=ve(Y2,f2.interactiveDebounce),y2=ke++,E2=(l2=f2.plugins).filter(function(e4,t4){return l2.indexOf(e4)===t4}),b2={id:y2,reference:e3,popper:Ee(),popperInstance:null,props:f2,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:E2,clearDelayTimeouts:function(){clearTimeout(r3),clearTimeout(i2),cancelAnimationFrame(o2)},setProps:function(t4){if(!b2.state.isDestroyed){L2("onBeforeUpdate",[b2,t4]),W2();var n4=b2.props,r4=Le(e3,Object.assign({},b2.props,{},t4,{ignoreAttributes:!0}));b2.props=r4,q2(),n4.interactiveDebounce!==r4.interactiveDebounce&&(C2(),g2=ve(Y2,r4.interactiveDebounce)),n4.triggerTarget&&!r4.triggerTarget?me(n4.triggerTarget).forEach(function(e4){e4.removeAttribute("aria-expanded")}):r4.triggerTarget&&e3.removeAttribute("aria-expanded"),k2(),D2(),O2&&O2(n4,r4),b2.popperInstance&&(K2(),ee2().forEach(function(e4){requestAnimationFrame(e4._tippy.popperInstance.forceUpdate)})),L2("onAfterUpdate",[b2,t4])}},setContent:function(e4){b2.setProps({content:e4})},show:function(){var e4=b2.state.isVisible,t4=b2.state.isDestroyed,n4=!b2.state.isEnabled,r4=Te.isTouch&&!b2.props.touch,i3=pe(b2.props.duration,0,je.duration);if(!(e4||t4||n4||r4||R2().hasAttribute("disabled")||(L2("onShow",[b2],!1),b2.props.onShow(b2)===!1))){if(b2.state.isVisible=!0,A2()&&(w2.style.visibility="visible"),D2(),U2(),b2.state.isMounted||(w2.style.transition="none"),A2()){var o3=j2();_e([o3.box,o3.content],0)}var s3,a3,c3;u2=function(){if(b2.state.isVisible&&!v2){if(v2=!0,w2.offsetHeight,w2.style.transition=b2.props.moveTransition,A2()&&b2.props.animation){var e5=j2(),t5=e5.box,n5=e5.content;_e([t5,n5],i3),we([t5,n5],"visible")}M2(),k2(),ge(Fe,b2),b2.state.isMounted=!0,L2("onMount",[b2]),b2.props.animation&&A2()&&function(e6){H2(e6,function(){b2.state.isShown=!0,L2("onShown",[b2])})}(i3)}},a3=b2.props.appendTo,c3=R2(),(s3=b2.props.interactive&&a3===je.appendTo||a3==="parent"?c3.parentNode:he(a3,[c3])).contains(w2)||s3.appendChild(w2),K2()}},hide:function(){var e4=!b2.state.isVisible,t4=b2.state.isDestroyed,n4=!b2.state.isEnabled,r4=pe(b2.props.duration,1,je.duration);if(!(e4||t4||n4)&&(L2("onHide",[b2],!1),b2.props.onHide(b2)!==!1)){if(b2.state.isVisible=!1,b2.state.isShown=!1,v2=!1,p2=!1,A2()&&(w2.style.visibility="hidden"),C2(),B2(),D2(),A2()){var i3=j2(),o3=i3.box,s3=i3.content;b2.props.animation&&(_e([o3,s3],r4),we([o3,s3],"hidden"))}M2(),k2(),b2.props.animation?A2()&&function(e5,t5){H2(e5,function(){!b2.state.isVisible&&w2.parentNode&&w2.parentNode.contains(w2)&&t5()})}(r4,b2.unmount):b2.unmount()}},hideWithInteractivity:function(e4){x2().addEventListener("mousemove",g2),ge(Ce,g2),g2(e4)},enable:function(){b2.state.isEnabled=!0},disable:function(){b2.hide(),b2.state.isEnabled=!1},unmount:function(){b2.state.isVisible&&b2.hide(),b2.state.isMounted&&(Z2(),ee2().forEach(function(e4){e4._tippy.unmount()}),w2.parentNode&&w2.parentNode.removeChild(w2),Fe=Fe.filter(function(e4){return e4!==b2}),b2.state.isMounted=!1,L2("onHidden",[b2]))},destroy:function(){b2.state.isDestroyed||(b2.clearDelayTimeouts(),b2.unmount(),W2(),delete e3._tippy,b2.state.isDestroyed=!0,L2("onDestroy",[b2]))}};if(!f2.render)return b2;var _2=f2.render(b2),w2=_2.popper,O2=_2.onUpdate;w2.setAttribute("data-tippy-root",""),w2.id="tippy-"+b2.id,b2.popper=w2,e3._tippy=b2,w2._tippy=b2;var T2=E2.map(function(e4){return e4.fn(b2)}),I2=e3.hasAttribute("aria-expanded");return q2(),k2(),D2(),L2("onCreate",[b2]),f2.showOnCreate&&te2(),w2.addEventListener("mouseenter",function(){b2.props.interactive&&b2.state.isVisible&&b2.clearDelayTimeouts()}),w2.addEventListener("mouseleave",function(e4){b2.props.interactive&&b2.props.trigger.indexOf("mouseenter")>=0&&(x2().addEventListener("mousemove",g2),g2(e4))}),b2;function S2(){var e4=b2.props.touch;return Array.isArray(e4)?e4:[e4,0]}function N2(){return S2()[0]==="hold"}function A2(){var e4;return!!((e4=b2.props.render)!=null&&e4.$$tippy)}function R2(){return c2||e3}function x2(){var e4,t4=R2().parentNode;return t4&&(e4=me(t4)[0])&&e4.ownerDocument||document}function j2(){return Me(w2)}function P2(e4){return b2.state.isMounted&&!b2.state.isVisible||Te.isTouch||s2&&s2.type==="focus"?0:pe(b2.props.delay,e4?0:1,je.delay)}function D2(){w2.style.pointerEvents=b2.props.interactive&&b2.state.isVisible?"":"none",w2.style.zIndex=""+b2.props.zIndex}function L2(e4,t4,n4){var r4;n4===void 0&&(n4=!0),T2.forEach(function(n5){n5[e4]&&n5[e4].apply(void 0,t4)}),n4&&(r4=b2.props)[e4].apply(r4,t4)}function M2(){var t4=b2.props.aria;if(t4.content){var n4="aria-"+t4.content,r4=w2.id;me(b2.props.triggerTarget||e3).forEach(function(e4){var t5=e4.getAttribute(n4);if(b2.state.isVisible)e4.setAttribute(n4,t5?t5+" "+r4:r4);else{var i3=t5&&t5.replace(r4,"").trim();i3?e4.setAttribute(n4,i3):e4.removeAttribute(n4)}})}}function k2(){!I2&&b2.props.aria.expanded&&me(b2.props.triggerTarget||e3).forEach(function(e4){b2.props.interactive?e4.setAttribute("aria-expanded",b2.state.isVisible&&e4===R2()?"true":"false"):e4.removeAttribute("aria-expanded")})}function C2(){x2().removeEventListener("mousemove",g2),Ce=Ce.filter(function(e4){return e4!==g2})}function F2(e4){if(!(Te.isTouch&&(h2||e4.type==="mousedown")||b2.props.interactive&&w2.contains(e4.target))){if(R2().contains(e4.target)){if(Te.isTouch||b2.state.isVisible&&b2.props.trigger.indexOf("click")>=0)return}else L2("onClickOutside",[b2,e4]);b2.props.hideOnClick===!0&&(b2.clearDelayTimeouts(),b2.hide(),d2=!0,setTimeout(function(){d2=!1}),b2.state.isMounted||B2())}}function V2(){h2=!0}function $2(){h2=!1}function U2(){var e4=x2();e4.addEventListener("mousedown",F2,!0),e4.addEventListener("touchend",F2,fe),e4.addEventListener("touchstart",$2,fe),e4.addEventListener("touchmove",V2,fe)}function B2(){var e4=x2();e4.removeEventListener("mousedown",F2,!0),e4.removeEventListener("touchend",F2,fe),e4.removeEventListener("touchstart",$2,fe),e4.removeEventListener("touchmove",V2,fe)}function H2(e4,t4){var n4=j2().box;function r4(e5){e5.target===n4&&(Oe(n4,"remove",r4),t4())}if(e4===0)return t4();Oe(n4,"remove",a2),Oe(n4,"add",r4),a2=r4}function G2(t4,n4,r4){r4===void 0&&(r4=!1),me(b2.props.triggerTarget||e3).forEach(function(e4){e4.addEventListener(t4,n4,r4),m2.push({node:e4,eventType:t4,handler:n4,options:r4})})}function q2(){N2()&&(G2("touchstart",z2,{passive:!0}),G2("touchend",X2,{passive:!0})),function(e4){return e4.split(/\s+/).filter(Boolean)}(b2.props.trigger).forEach(function(e4){if(e4!=="manual")switch(G2(e4,z2),e4){case"mouseenter":G2("mouseleave",X2);break;case"focus":G2(xe?"focusout":"blur",J2);break;case"focusin":G2("focusout",J2)}})}function W2(){m2.forEach(function(e4){var t4=e4.node,n4=e4.eventType,r4=e4.handler,i3=e4.options;t4.removeEventListener(n4,r4,i3)}),m2=[]}function z2(e4){var t4,n4=!1;if(b2.state.isEnabled&&!Q2(e4)&&!d2){var r4=((t4=s2)==null?void 0:t4.type)==="focus";s2=e4,c2=e4.currentTarget,k2(),!b2.state.isVisible&&function(e5){return de(e5,"MouseEvent")}(e4)&&Ce.forEach(function(t5){return t5(e4)}),e4.type==="click"&&(b2.props.trigger.indexOf("mouseenter")<0||p2)&&b2.props.hideOnClick!==!1&&b2.state.isVisible?n4=!0:te2(e4),e4.type==="click"&&(p2=!n4),n4&&!r4&&ne2(e4)}}function Y2(e4){var t4=e4.target,n4=R2().contains(t4)||w2.contains(t4);if(e4.type!=="mousemove"||!n4){var r4=ee2().concat(w2).map(function(e5){var t5,n5=(t5=e5._tippy.popperInstance)==null?void 0:t5.state;return n5?{popperRect:e5.getBoundingClientRect(),popperState:n5,props:f2}:null}).filter(Boolean);(function(e5,t5){var n5=t5.clientX,r5=t5.clientY;return e5.every(function(e6){var t6=e6.popperRect,i3=e6.popperState,o3=e6.props.interactiveBorder,s3=i3.placement.split("-")[0],a3=i3.modifiersData.offset;if(!a3)return!0;var u3=s3==="bottom"?a3.top.y:0,c3=s3==="top"?a3.bottom.y:0,l3=s3==="right"?a3.left.x:0,f3=s3==="left"?a3.right.x:0,p3=t6.top-r5+u3>o3,d3=r5-t6.bottom-c3>o3,h3=t6.left-n5+l3>o3,v3=n5-t6.right-f3>o3;return p3||d3||h3||v3})})(r4,e4)&&(C2(),ne2(e4))}}function X2(e4){Q2(e4)||b2.props.trigger.indexOf("click")>=0&&p2||(b2.props.interactive?b2.hideWithInteractivity(e4):ne2(e4))}function J2(e4){b2.props.trigger.indexOf("focusin")<0&&e4.target!==R2()||b2.props.interactive&&e4.relatedTarget&&w2.contains(e4.relatedTarget)||ne2(e4)}function Q2(e4){return!!Te.isTouch&&N2()!==e4.type.indexOf("touch")>=0}function K2(){Z2();var t4=b2.props,n4=t4.popperOptions,r4=t4.placement,i3=t4.offset,o3=t4.getReferenceClientRect,s3=t4.moveTransition,a3=A2()?Me(w2).arrow:null,c3=o3?{getBoundingClientRect:o3,contextElement:o3.contextElement||R2()}:e3,l3=[{name:"offset",options:{offset:i3}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!s3}},{name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e4){var t5=e4.state;if(A2()){var n5=j2().box;["placement","reference-hidden","escaped"].forEach(function(e5){e5==="placement"?n5.setAttribute("data-placement",t5.placement):t5.attributes.popper["data-popper-"+e5]?n5.setAttribute("data-"+e5,""):n5.removeAttribute("data-"+e5)}),t5.attributes.popper={}}}}];A2()&&a3&&l3.push({name:"arrow",options:{element:a3,padding:3}}),l3.push.apply(l3,n4?.modifiers||[]),b2.popperInstance=le(c3,w2,Object.assign({},n4,{placement:r4,onFirstUpdate:u2,modifiers:l3}))}function Z2(){b2.popperInstance&&(b2.popperInstance.destroy(),b2.popperInstance=null)}function ee2(){return ye(w2.querySelectorAll("[data-tippy-root]"))}function te2(e4){b2.clearDelayTimeouts(),e4&&L2("onTrigger",[b2,e4]),U2();var t4=P2(!0),n4=S2(),i3=n4[0],o3=n4[1];Te.isTouch&&i3==="hold"&&o3&&(t4=o3),t4?r3=setTimeout(function(){b2.show()},t4):b2.show()}function ne2(e4){if(b2.clearDelayTimeouts(),L2("onUntrigger",[b2,e4]),b2.state.isVisible){if(!(b2.props.trigger.indexOf("mouseenter")>=0&&b2.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e4.type)>=0&&p2)){var t4=P2(!1);t4?i2=setTimeout(function(){b2.state.isVisible&&b2.hide()},t4):o2=requestAnimationFrame(function(){b2.hide()})}}else B2()}}function $e(e3,t3){t3===void 0&&(t3={});var n3=je.plugins.concat(t3.plugins||[]);document.addEventListener("touchstart",Se,fe),window.addEventListener("blur",Ae);var r3=Object.assign({},t3,{plugins:n3}),i2=function(e4){return be(e4)?[e4]:function(e5){return de(e5,"NodeList")}(e4)?ye(e4):Array.isArray(e4)?e4:ye(document.querySelectorAll(e4))}(e3).reduce(function(e4,t4){var n4=t4&&Ve(t4,r3);return n4&&e4.push(n4),e4},[]);return be(e3)?i2[0]:i2}$e.defaultProps=je,$e.setDefaultProps=function(e3){Object.keys(e3).forEach(function(t3){je[t3]=e3[t3]})},$e.currentInput=Te;var Ue=function(e3,t3){t3===void 0&&(t3={});var n3,r3=e3,i2=[],o2=t3.overrides,s2=[];function a2(){i2=r3.map(function(e4){return e4.reference})}function u2(e4){r3.forEach(function(t4){e4?t4.enable():t4.disable()})}function c2(e4){return r3.map(function(t4){var r4=t4.setProps;return t4.setProps=function(i3){r4(i3),t4.reference===n3&&e4.setProps(i3)},function(){t4.setProps=r4}})}u2(!1),a2();var l2,f2,p2,d2={fn:function(){return{onDestroy:function(){u2(!0)},onTrigger:function(e4,t4){var s3=t4.currentTarget,a3=i2.indexOf(s3);if(s3!==n3){n3=s3;var u3=(o2||[]).concat("content").reduce(function(e5,t5){return e5[t5]=r3[a3].props[t5],e5},{});e4.setProps(Object.assign({},u3,{getReferenceClientRect:typeof u3.getReferenceClientRect=="function"?u3.getReferenceClientRect:function(){return s3.getBoundingClientRect()}}))}}}}},h2=$e(Ee(),Object.assign({},(l2=t3,f2=["overrides"],p2=Object.assign({},l2),f2.forEach(function(e4){delete p2[e4]}),p2),{plugins:[d2].concat(t3.plugins||[]),triggerTarget:i2})),v2=h2.setProps;return h2.setProps=function(e4){o2=e4.overrides||o2,v2(e4)},h2.setInstances=function(e4){u2(!0),s2.forEach(function(e5){return e5()}),r3=e4,u2(!1),a2(),c2(h2),h2.setProps({triggerTarget:i2})},s2=c2(h2),h2};$e.setDefaultProps({animation:!1});const Be=$e;var He=n2(2015),Ge=n2.n(He),qe=n2(2326);function We(e3,t3){if(e3==null)return{};var n3,r3,i2={},o2=Object.keys(e3);for(r3=0;r3<o2.length;r3++)n3=o2[r3],t3.indexOf(n3)>=0||(i2[n3]=e3[n3]);return i2}var ze=typeof window<"u"&&typeof document<"u";function Ye(e3,t3){e3&&(typeof e3=="function"&&e3(t3),{}.hasOwnProperty.call(e3,"current")&&(e3.current=t3))}function Xe(){return ze&&document.createElement("div")}function Je(e3,t3){var n3,r3;return Object.assign({},t3,{popperOptions:Object.assign({},e3.popperOptions,t3.popperOptions,{modifiers:[].concat((((n3=e3.popperOptions)==null?void 0:n3.modifiers)||[]).filter(function(e4){return e4.name.indexOf("tippy")>=0}),((r3=t3.popperOptions)==null?void 0:r3.modifiers)||[])})})}var Qe=ze?He.useLayoutEffect:He.useEffect;function Ke(e3){var t3=(0,He.useRef)();return t3.current||(t3.current=typeof e3=="function"?e3():e3),t3.current}function Ze(e3,t3,n3){n3.split(/\s+/).forEach(function(n4){n4&&e3.classList[t3](n4)})}var et={name:"className",defaultValue:"",fn:function(e3){var t3=e3.popper.firstElementChild,n3=function(){var t4;return!!((t4=e3.props.render)!=null&&t4.$$tippy)};function r3(){e3.props.className&&!n3()||Ze(t3,"add",e3.props.className)}return{onCreate:r3,onBeforeUpdate:function(){n3()&&Ze(t3,"remove",e3.props.className)},onAfterUpdate:r3}}};function tt(e3){return function(t3){var n3=t3.children,r3=t3.content,i2=t3.visible,o2=t3.singleton,s2=t3.render,a2=t3.reference,u2=t3.disabled,c2=u2!==void 0&&u2,l2=t3.ignoreAttributes,f2=l2===void 0||l2,p2=(t3.__source,t3.__self,We(t3,["children","content","visible","singleton","render","reference","disabled","ignoreAttributes","__source","__self"])),d2=i2!==void 0,h2=o2!==void 0,v2=(0,He.useState)(!1),m2=v2[0],g2=v2[1],y2=(0,He.useState)({}),E2=y2[0],b2=y2[1],_2=(0,He.useState)(),w2=_2[0],O2=_2[1],T2=Ke(function(){return{container:Xe(),renders:1}}),I2=Object.assign({ignoreAttributes:f2},p2,{content:T2.container});d2&&(I2.trigger="manual",I2.hideOnClick=!1),h2&&(c2=!0);var S2=I2,N2=I2.plugins||[];s2&&(S2=Object.assign({},I2,{plugins:h2?[].concat(N2,[{fn:function(){return{onTrigger:function(e4,t4){var n4=o2.data.children.find(function(e5){return e5.instance.reference===t4.currentTarget}).content;O2(n4)}}}}]):N2,render:function(){return{popper:T2.container}}}));var A2=[a2].concat(n3?[n3.type]:[]);return Qe(function(){var t4=a2;a2&&a2.hasOwnProperty("current")&&(t4=a2.current);var n4=e3(t4||T2.ref||Xe(),Object.assign({},S2,{plugins:[et].concat(I2.plugins||[])}));return T2.instance=n4,c2&&n4.disable(),i2&&n4.show(),h2&&o2.hook({instance:n4,content:r3,props:S2}),g2(!0),function(){n4.destroy(),o2?.cleanup(n4)}},A2),Qe(function(){if(T2.renders!==1){var e4=T2.instance;e4.setProps(Je(e4.props,S2)),c2?e4.disable():e4.enable(),d2&&(i2?e4.show():e4.hide()),h2&&o2.hook({instance:e4,content:r3,props:S2})}else T2.renders++}),Qe(function(){var e4;if(s2){var t4=T2.instance;t4.setProps({popperOptions:Object.assign({},t4.props.popperOptions,{modifiers:[].concat(((e4=t4.props.popperOptions)==null?void 0:e4.modifiers)||[],[{name:"$$tippyReact",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e5){var t5,n4=e5.state,r4=(t5=n4.modifiersData)==null?void 0:t5.hide;E2.placement===n4.placement&&E2.referenceHidden===r4?.isReferenceHidden&&E2.escaped===r4?.hasPopperEscaped||b2({placement:n4.placement,referenceHidden:r4?.isReferenceHidden,escaped:r4?.hasPopperEscaped}),n4.attributes.popper={}}}])})})}},[E2.placement,E2.referenceHidden,E2.escaped].concat(A2)),Ge().createElement(Ge().Fragment,null,n3?(0,He.cloneElement)(n3,{ref:function(e4){T2.ref=e4,Ye(n3.ref,e4)}}):null,m2&&(0,qe.createPortal)(s2?s2(function(e4){var t4={"data-placement":e4.placement};return e4.referenceHidden&&(t4["data-reference-hidden"]=""),e4.escaped&&(t4["data-escaped"]=""),t4}(E2),w2,T2.instance):r3,T2.container))}}function nt(e3){return function(t3){var n3=t3===void 0?{}:t3,r3=n3.disabled,i2=r3!==void 0&&r3,o2=n3.overrides,s2=o2===void 0?[]:o2,a2=(0,He.useState)(!1),u2=a2[0],c2=a2[1],l2=Ke({children:[],renders:1});return Qe(function(){if(u2){var t4=l2.children,n4=l2.sourceData;if(n4){var r4=e3(t4.map(function(e4){return e4.instance}),Object.assign({},n4.props,{popperOptions:n4.instance.props.popperOptions,overrides:s2,plugins:[et].concat(n4.props.plugins||[])}));return l2.instance=r4,i2&&r4.disable(),function(){r4.destroy(),l2.children=t4.filter(function(e4){return!e4.instance.state.isDestroyed})}}}else c2(!0)},[u2]),Qe(function(){if(u2)if(l2.renders!==1){var e4=l2.children,t4=l2.instance,n4=l2.sourceData;if(t4&&n4){var r4=n4.props,o3=(r4.content,We(r4,["content"]));t4.setProps(Je(t4,Object.assign({},o3,{overrides:s2}))),t4.setInstances(e4.map(function(e5){return e5.instance})),i2?t4.disable():t4.enable()}}else l2.renders++}),(0,He.useMemo)(function(){return[{data:l2,hook:function(e4){l2.sourceData=e4},cleanup:function(){l2.sourceData=null}},{hook:function(e4){l2.children.find(function(t4){var n4=t4.instance;return e4.instance===n4})||l2.children.push(e4)},cleanup:function(e4){l2.children=l2.children.filter(function(t4){return t4.instance!==e4})}}]},[])}}var rt=function(e3,t3){return(0,He.forwardRef)(function(n3,r3){var i2=n3.children,o2=We(n3,["children"]);return Ge().createElement(e3,Object.assign({},t3,o2),i2?(0,He.cloneElement)(i2,{ref:function(e4){Ye(r3,e4),Ye(i2.ref,e4)}}):null)})},it=nt(Ue);const ot=rt(tt(Be),{render:function(){return""}})},4487:(e2,t2)=>{var n2;(function(){"use strict";var r2={}.hasOwnProperty;function i(){for(var e3=[],t3=0;t3<arguments.length;t3++){var n3=arguments[t3];if(n3){var o=typeof n3;if(o==="string"||o==="number")e3.push(n3);else if(Array.isArray(n3)&&n3.length){var s=i.apply(null,n3);s&&e3.push(s)}else if(o==="object")for(var a in n3)r2.call(n3,a)&&n3[a]&&e3.push(a)}}return e3.join(" ")}e2.exports?(i.default=i,e2.exports=i):(n2=function(){return i}.apply(t2,[]))===void 0||(e2.exports=n2)})()},2570:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0});var r2=n2(380);t2.tarjan=r2.tarjan},380:function(e2,t2,n2){"use strict";var r2=this&&this.__importDefault||function(e3){return e3&&e3.__esModule?e3:{default:e3}};Object.defineProperty(t2,"__esModule",{value:!0});const i=r2(n2(2935));t2.tarjan=function(e3){var t3=0,n3=[],r3={},o=[];function s(a){var u=r3[a]={onStack:!0,lowlink:t3,index:t3++};if(n3.push(a),[...e3.successors(a).keys()].forEach(function(e4){i.default.has(r3,e4)?r3[e4].onStack&&(u.lowlink=Math.min(u.lowlink,r3[e4].index)):(s(e4),u.lowlink=Math.min(u.lowlink,r3[e4].lowlink))}),u.lowlink===u.index){var c,l=[];do c=n3.pop(),r3[c].onStack=!1,l.push(c);while(a!==c);o.push(l)}}return[...e3.nodes.keys()].forEach(function(e4){i.default.has(r3,e4)||s(e4)}),o}},2842:(e2,t2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.GraphEdge=class{constructor(e3,t3,n2){this.sourceId=e3,this.targetId=t3,this.sourceId=e3,this.targetId=t3,this.attr=n2}stringify(){let e3="";return e3=this.attr.stringify&&typeof this.attr.stringify=="function"?this.attr.stringify():JSON.stringify(this.attr),e3}static fromObject(e3,t3){if(!e3.hasOwnProperty("sourceId"))throw Error("missing source id");if(!e3.hasOwnProperty("targetId"))throw Error("missing target id");return{sourceId:e3.sourceId,targetId:e3.targetId,edge:t3(e3.edge)}}static edgeId(e3,t3){return`${e3}->${t3}`}static parseEdgeId(e3){const t3=e3.split("->");return t3.length===2?{sourceId:t3[0],targetId:t3[1]}:{sourceId:"",targetId:""}}get nodes(){return[this.sourceId,this.targetId]}},t2.genericParseEdge=function(e3){return Object.keys(e3).length===0&&e3.constructor===Object||typeof e3!="object"?e3:JSON.parse(e3)},t2.genericEdgeToJson=function(e3){return e3}},7509:(e2,t2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0});class n2 extends Error{constructor(e3){super(e3),Object.setPrototypeOf(this,new.target.prototype)}}t2.CyclicError=n2;class r2 extends Error{constructor(e3){super(e3),Object.setPrototypeOf(this,new.target.prototype)}}t2.NodeDoesntExist=r2},3871:function(e2,t2,n2){"use strict";var r2=this&&this.__importDefault||function(e3){return e3&&e3.__esModule?e3:{default:e3}};Object.defineProperty(t2,"__esModule",{value:!0});const i=n2(1895),o=n2(1895),s=n2(1895),a=r2(n2(2935)),u=n2(2570),c=n2(7287),l=n2(2842);class f{constructor(e3=[],t3=[]){this._nodes=new Map,this._edges=new Map,e3.forEach(e4=>this.setNode(e4.id,e4.node)),t3.forEach(e4=>this.setEdge(e4.sourceId,e4.targetId,e4.edge))}create(e3=[],t3=[]){return new f(e3,t3)}get _userNodes(){return this._transformToUserNodeMap(this._nodes)}get _userEdges(){return this._transformToUserEdgeMap(this._edges)}_transformToUserNodeMap(e3){let t3=new Map;for(const[n3,r3]of e3.entries())t3.set(n3,r3.attr);return t3}_transformToUserEdgeMap(e3){let t3=new Map;for(const[n3,r3]of e3.entries())t3.set(n3,r3.attr);return t3}setNode(e3,t3,n3=!0){if(this.hasNode(e3)){if(n3){let n4=this._node(e3);n4&&(n4.attr=t3)}}else{let n4=new i.GraphNode(e3,t3);this._nodes.set(e3,n4)}return this}setEdge(e3,t3,n3,r3=!0){if(this.hasEdge(e3,t3)){if(r3){let r4=this._edge(e3,t3);return r4&&(r4.attr=n3),this}return this}const i2=o.GraphEdge.edgeId(e3,t3);let s2=new o.GraphEdge(e3,t3,n3);if(this._edges.set(i2,s2),!this._nodes.has(e3))throw Error("source node does not exist");{let t4=this._nodes.get(e3);t4!==void 0&&t4.setOutEdge(i2)}if(!this._nodes.has(t3))throw Error("target node does not exist");{let e4=this._nodes.get(t3);e4!==void 0&&e4.setInEdge(i2)}return this}setNodes(e3,t3=!0){return e3.forEach(e4=>{if(this.hasNode(e4.id)){if(t3){let t4=this._node(e4.id);t4&&(t4.attr=e4.node)}}else this.setNode(e4.id,e4.node)}),this}setEdges(e3,t3=!0){return e3.forEach(e4=>{if(this.hasEdge(e4.sourceId,e4.targetId)){if(t3){let t4=this._edge(e4.sourceId,e4.targetId);t4&&(t4.attr=e4.edge)}}else this.setEdge(e4.sourceId,e4.targetId,e4.edge)}),this}hasNode(e3){return this._nodes.has(e3)}hasEdge(e3,t3){return this._edges.has(o.GraphEdge.edgeId(e3,t3))}node(e3){var t3;return(t3=this._nodes.get(e3))===null||t3===void 0?void 0:t3.attr}edge(e3,t3){var n3;return(n3=this._edges.get(o.GraphEdge.edgeId(e3,t3)))===null||n3===void 0?void 0:n3.attr}_node(e3){return this._nodes.get(e3)}_edge(e3,t3){return this._edges.get(o.GraphEdge.edgeId(e3,t3))}_edgeById(e3){return this._edges.get(e3)}edgeNodesById(e3){var t3,n3;return{sourceId:(t3=this._edges.get(e3))===null||t3===void 0?void 0:t3.sourceId,targetId:(n3=this._edges.get(e3))===null||n3===void 0?void 0:n3.targetId}}get nodes(){return this._userNodes}get graphNodes(){return this._nodes}get edges(){return this._userEdges}get graphEdges(){return this._edges}nodeCount(){return[...this._nodes.keys()].length}edgeCount(){return[...this._edges.keys()].length}sources(){return[...this._nodes.values()].filter(e3=>e3.isSource()).map(e3=>e3.attr)}sinks(){return[...this._nodes.values()].filter(e3=>e3.isSink()).map(e3=>e3.attr)}deleteNode(e3){const t3=this._node(e3);t3!==void 0&&(t3.nodeEdges.forEach(e4=>{const{sourceId:t4,targetId:n3}=o.GraphEdge.parseEdgeId(e4);this.deleteEdge(t4,n3)}),this._nodes.delete(e3))}deleteEdge(e3,t3){const n3=o.GraphEdge.edgeId(e3,t3);if(this._edges.get(n3)!==void 0){let r3=this._nodes.get(e3);r3!==void 0&&r3.deleteEdge(n3);let i2=this._nodes.get(t3);i2!==void 0&&i2.deleteEdge(n3)}this._edges.delete(n3)}inEdges(e3){return this._transformToUserEdgeMap(this._inEdges(e3))}outEdges(e3){return this._transformToUserEdgeMap(this._outEdges(e3))}nodeEdges(e3){return this._transformToUserEdgeMap(this._nodeEdges(e3))}_inEdges(e3){let t3=new Map;const n3=this._node(e3);return n3===void 0||n3.inEdges.forEach(e4=>{let{sourceId:n4,targetId:r3}=o.GraphEdge.parseEdgeId(e4),i2=this._edge(n4,r3);i2!==void 0&&t3.set(e4,i2)}),t3}_outEdges(e3){let t3=new Map;const n3=this._node(e3);return n3===void 0||n3.outEdges.forEach(e4=>{let{sourceId:n4,targetId:r3}=o.GraphEdge.parseEdgeId(e4),i2=this._edge(n4,r3);i2!==void 0&&t3.set(e4,i2)}),t3}_nodeEdges(e3){let t3=new Map;const n3=this._node(e3);return n3===void 0||n3.nodeEdges.forEach(e4=>{let{sourceId:n4,targetId:r3}=o.GraphEdge.parseEdgeId(e4),i2=this._edge(n4,r3);i2!==void 0&&t3.set(e4,i2)}),t3}successors(e3,t3=p){return this._transformToUserNodeMap(this._successors(e3,t3))}predecessors(e3,t3=p){return this._transformToUserNodeMap(this._predecessors(e3,t3))}neighbors(e3,t3=p){return this._transformToUserNodeMap(this._neighbors(e3,t3))}_successors(e3,t3=p){let n3=new Map;const r3=this._node(e3);return r3===void 0||r3.outEdges.forEach(e4=>{var r4;const i2=(r4=this._edges.get(e4))===null||r4===void 0?void 0:r4.attr;if(i2!=null&&t3(i2)){const{sourceId:t4,targetId:r5}=o.GraphEdge.parseEdgeId(e4),i3=this._node(r5);r5&&i3!==void 0&&n3.set(r5,i3)}}),n3}_predecessors(e3,t3=p){let n3=new Map;const r3=this._node(e3);return r3===void 0||r3.inEdges.forEach(e4=>{var r4;const i2=(r4=this._edges.get(e4))===null||r4===void 0?void 0:r4.attr;if(i2!=null&&t3(i2)){const{sourceId:t4,targetId:r5}=o.GraphEdge.parseEdgeId(e4),i3=this._node(t4);t4&&i3!==void 0&&n3.set(t4,i3)}}),n3}_neighbors(e3,t3=p){return new Map([...this._predecessors(e3,t3),...this._successors(e3,t3)])}successorsSubgraph(e3,t3=p){return this._buildSubgraphs(e3,t3,"successors")}_alreadyProcessed(e3,t3){for(const n3 of t3)if(n3.hasNode(e3))return!0;return!1}_buildSubgraphs(e3,t3,n3){let r3=[];if(!Array.isArray(e3))return this._buildSubgraph(e3,t3,n3);if(e3.forEach(e4=>{this._alreadyProcessed(e4,r3)||r3.push(this._buildSubgraph(e4,t3,n3))}),r3.length===1)return r3[0];let i2=this.create();return r3.length&&(i2=r3[0].merge(r3)),i2}_buildSubgraph(e3,t3,n3){let r3=this.create(),i2=this._node(e3);if(!i2)throw new Error("Node does not exist on graph");return r3.setNode(e3,i2.attr),n3==="successors"?this._successorsSubgraphUtil(e3,r3,{},t3):this._predecessorsSubgraphUtil(e3,r3,{},t3)}_successorsSubgraphUtil(e3,t3,n3={},r3){const i2=[...this._successors(e3,r3).keys()];return i2.length>0&&!n3[e3]&&i2.forEach(i3=>{n3[e3]=!0;const s2=this._nodes.get(i3),a2=this._edges.get(o.GraphEdge.edgeId(e3,i3));if(s2!==void 0&&a2!=null)return t3.setNode(i3,s2.attr),t3.setEdge(e3,i3,a2.attr),this._successorsSubgraphUtil(i3,t3,n3,r3)}),t3}successorsArray(e3,t3=p){const n3=a.default.uniq(this._successorsArrayUtil(e3,[],{},t3));let r3=[];return n3.forEach(e4=>{let t4=this.node(e4);t4!=null&&r3.push(t4)}),r3}_successorsArrayUtil(e3,t3=[],n3={},r3=p){const i2=[...this._successors(e3,r3).keys()];return i2.length>0&&!n3[e3]&&i2.forEach(i3=>(n3[e3]=!0,t3.push(i3),this._successorsArrayUtil(i3,t3,n3,r3))),t3}successorsLayers(e3,t3=p,n3="fromSource"){let r3=this.successorsSubgraph(e3,t3);if(this.isCyclic(r3))throw new Error("cyclic dependency");let i2=[];return i2[0]=[e3],d(this._successorsLayersUtil([e3],i2,0,t3),n3)}_successorsLayersUtil(e3,t3,n3,r3=p){if(e3.length>0){let e4=n3+1;return t3.push([]),t3[n3].forEach(n4=>{const i2=[...this.successors(n4,r3).keys()];t3[e4]=t3[e4].concat(i2)}),this._successorsLayersUtil(t3[e4],t3,e4,r3)}return t3}predecessorsSubgraph(e3,t3=p){return this._buildSubgraphs(e3,t3,"predecessors")}_predecessorsSubgraphUtil(e3,t3,n3={},r3=p){const i2=[...this._predecessors(e3,r3).keys()];return i2.length>0&&!n3[e3]&&i2.forEach(i3=>{n3[e3]=!0;const s2=this._nodes.get(i3),a2=this._edges.get(o.GraphEdge.edgeId(i3,e3));if(s2!==void 0&&a2!=null)return t3.setNode(i3,s2.attr),t3.setEdge(i3,e3,a2.attr),this._predecessorsSubgraphUtil(i3,t3,n3,r3)}),t3}predecessorsArray(e3,t3=p){const n3=a.default.uniq(this._predecessorsArrayUtil(e3,[],{},t3));let r3=[];return n3.forEach(e4=>{let t4=this.node(e4);t4!=null&&r3.push(t4)}),r3}_predecessorsArrayUtil(e3,t3=[],n3={},r3=p){const i2=[...this._predecessors(e3,r3).keys()];return i2.length>0&&!n3[e3]&&i2.forEach(i3=>(n3[e3]=!0,t3.push(i3),this._predecessorsArrayUtil(i3,t3,n3,r3))),t3}predecessorsLayers(e3,t3=p,n3="fromSource"){let r3=this.predecessorsSubgraph(e3,t3);if(this.isCyclic(r3))throw new Error("cyclic sub-graph");let i2=[];return i2[0]=[e3],d(this._predecessorsLayersUtil([e3],i2,0,t3),n3)}_predecessorsLayersUtil(e3,t3,n3,r3=p){if(e3.length>0){let e4=n3+1;return t3.push([]),t3[n3].forEach(n4=>{const i2=[...this.predecessors(n4,r3).keys()];t3[e4]=t3[e4].concat(i2)}),this._predecessorsLayersUtil(t3[e4],t3,e4,r3)}return t3}toposort(e3=!1){let t3=this._toposort().map(e4=>this.node(e4));return t3=a.default.compact(t3),e3?t3.reverse():t3}_transformEdges(){let e3=[];return this._edges.forEach(t3=>{e3.push([t3.sourceId,t3.targetId])}),e3}_toposort(){const e3=[...this._nodes.keys()],t3=this._transformEdges();var n3=e3.length,r3=new Array(n3),i2={},o2=n3,a2=function(e4){for(var t4=new Map,n4=0,r4=e4.length;n4<r4;n4++){var i3=e4[n4];t4.has(i3[0])||t4.set(i3[0],new Set),t4.has(i3[1])||t4.set(i3[1],new Set),t4.get(i3[0]).add(i3[1])}return t4}(t3),u2=function(e4){for(var t4=new Map,n4=0,r4=e4.length;n4<r4;n4++)t4.set(e4[n4],n4);return t4}(e3);for(t3.forEach(function(e4){if(!u2.has(e4[0])||!u2.has(e4[1]))throw new Error("Unknown node. There is an unknown node in the supplied edges.")});o2--;)i2[o2]||c2(e3[o2],o2,new Set);return r3;function c2(e4,t4,o3){if(o3.has(e4)){var l2;try{l2=", node was:"+JSON.stringify(e4)}catch{l2=""}throw new s.CyclicError("Cyclic dependency"+l2)}if(!u2.has(e4))throw new Error("Found unknown node. Make sure to provide all involved nodes. Unknown node: "+JSON.stringify(e4));if(!i2[t4]){i2[t4]=!0;var f2=a2.get(e4)||new Set;if(t4=(f2=Array.from(f2)).length){o3.add(e4);do{var p2=f2[--t4];c2(p2,u2.get(p2),o3)}while(t4);o3.delete(e4)}r3[--n3]=e4}}}isCyclic(e3=this){try{e3.toposort()}catch(e4){if(e4 instanceof s.CyclicError)return!0;throw e4}return!1}findCycles(e3=this){return t3=e3,a.default.filter(u.tarjan(t3),function(e4){return e4.length>1||e4.length===1&&t3.hasEdge(e4[0],e4[0])});var t3}merge(e3){let t3=this;return e3.forEach(e4=>{var n3,r3;for(let[n4,r4]of e4.nodes)t3.setNode(n4,r4);for(let[i2,o2]of e4.edges){const a2=(n3=e4._edges.get(i2))===null||n3===void 0?void 0:n3.sourceId,u2=(r3=e4._edges.get(i2))===null||r3===void 0?void 0:r3.targetId;if(t3.edges.has(i2)&&a2&&u2)t3.setEdge(a2,u2,o2);else{if(!(a2&&u2&&t3.hasNode(a2)&&t3.hasNode(u2)))throw s.NodeDoesntExist;t3.setEdge(a2,u2,o2)}}}),t3}allPaths(e3,t3){return this._allPaths(e3,t3,[],[])}_allPaths(e3,t3,n3,r3,i2={}){return i2[e3]=!0,n3.push(e3),e3===t3?r3.push(a.default.cloneDeep(n3)):[...this._successors(e3).keys()].forEach(e4=>{i2[e4]||this._allPaths(e4,t3,n3,r3,i2)}),n3.pop(),i2[e3]=!1,r3}toJson(e3){return e3?this._toJson(e3,"object"):this._toJson(this,"object")}stringify(e3){return e3?this._toJson(e3,"string"):this._toJson(this,"string")}static parse(e3,t3=c.genericParseNode,n3=l.genericParseEdge){return this._fromJson(e3,t3,n3)}_toJson(e3,t3){let n3=[];for(let[r4,i3]of e3.nodes.entries()){const i4=e3._node(r4);if(i4){let e4;e4=t3==="object"?i4.attr.toJson&&typeof i4.attr.toJson=="function"?i4.attr.toJson():c.genericNodeToJson(i4.attr):i4.stringify(),n3.push({id:r4,node:e4})}}let r3=[];for(let[n4,i3]of e3.edges.entries()){const i4=e3._edgeById(n4);if(i4){let e4;e4=t3==="object"?i4.attr.toJson&&typeof i4.attr.toJson=="function"?i4.attr.toJson():c.genericNodeToJson(i4.attr):i4.stringify(),r3.push({sourceId:i4.sourceId,targetId:i4.targetId,edge:e4})}}let i2={nodes:n3,edges:r3};return t3==="object"?i2:JSON.stringify(i2)}static _fromJson(e3,t3,n3){const r3=typeof e3=="string"?JSON.parse(e3):e3;let s2=new f;if(!r3.hasOwnProperty("nodes")||!r3.hasOwnProperty("edges"))throw Error("missing properties on JSON. Should contain nodes: {id: string, node: N}[], and edges: {sourceId: string, targetId: string, edge:E}[]");return r3.nodes.forEach(e4=>{const n4=i.GraphNode.fromObject(e4,t3);s2.setNode(n4.id,n4.node)}),r3.edges.forEach(e4=>{const t4=o.GraphEdge.fromObject(e4,n3);s2.setEdge(t4.sourceId,t4.targetId,t4.edge)}),s2}bfs(){}dfs(){}}function p(){return!0}function d(e3,t3){let n3=[],r3=[];e3=e3.reverse();let i2=0;return e3.forEach(e4=>{e4.length>0&&(n3.push([]),e4.forEach(e5=>{r3.indexOf(e5)==-1&&(r3.push(e5),n3[i2].push(e5))}),i2++)}),t3==="fromSource"?n3.reverse():n3}t2.Graph=f},1895:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0});var r2=n2(2842);t2.GraphEdge=r2.GraphEdge;var i=n2(7287);t2.GraphNode=i.GraphNode;var o=n2(7509);t2.CyclicError=o.CyclicError,t2.NodeDoesntExist=o.NodeDoesntExist;var s=n2(3871);t2.Graph=s.Graph},7287:function(e2,t2,n2){"use strict";var r2=this&&this.__importDefault||function(e3){return e3&&e3.__esModule?e3:{default:e3}};Object.defineProperty(t2,"__esModule",{value:!0});const i=n2(2935),o=r2(n2(2935));t2.GraphNode=class{constructor(e3,t3,n3,r3){this.id=e3,this.attr=t3,this._inEdges=n3||[],this._outEdges=r3||[]}setInEdge(e3){this._inEdges.push(e3)}setOutEdge(e3){this._outEdges.push(e3)}deleteEdge(e3){o.default.remove(this._inEdges,function(t3){return t3===e3}),o.default.remove(this._outEdges,function(t3){return t3===e3})}get inEdges(){return this._inEdges}get outEdges(){return this._outEdges}get nodeEdges(){return this._inEdges.concat(this._outEdges)}isSource(){return this._inEdges.length===0&&this._outEdges.length>0}isSink(){return this._inEdges.length>0&&this._outEdges.length===0}equals(e3){return this.id===e3.id&&i.isEqual(this.attr,e3.attr)}stringify(){let e3="";return e3=this.attr.stringify&&typeof this.attr.stringify=="function"?this.attr.stringify():JSON.stringify(this.attr),e3}static fromObject(e3,t3){if(!e3.hasOwnProperty("id"))throw Error("missing object id");return{id:e3.id,node:t3(e3.node)}}},t2.genericParseNode=function(e3){return Object.keys(e3).length===0&&e3.constructor===Object||typeof e3!="object"?e3:JSON.parse(e3)},t2.genericNodeToJson=function(e3){return e3}},2607:function(e2,t2){var n2=typeof self<"u"?self:this,r2=function(){function e3(){this.fetch=!1,this.DOMException=n2.DOMException}return e3.prototype=n2,new e3}();(function(e3){(function(t3){var n3="URLSearchParams"in e3,r3="Symbol"in e3&&"iterator"in Symbol,i2="FileReader"in e3&&"Blob"in e3&&function(){try{return new Blob,!0}catch{return!1}}(),o="FormData"in e3,s="ArrayBuffer"in e3;if(s)var a=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],u=ArrayBuffer.isView||function(e4){return e4&&a.indexOf(Object.prototype.toString.call(e4))>-1};function c(e4){if(typeof e4!="string"&&(e4=String(e4)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(e4))throw new TypeError("Invalid character in header field name");return e4.toLowerCase()}function l(e4){return typeof e4!="string"&&(e4=String(e4)),e4}function f(e4){var t4={next:function(){var t5=e4.shift();return{done:t5===void 0,value:t5}}};return r3&&(t4[Symbol.iterator]=function(){return t4}),t4}function p(e4){this.map={},e4 instanceof p?e4.forEach(function(e5,t4){this.append(t4,e5)},this):Array.isArray(e4)?e4.forEach(function(e5){this.append(e5[0],e5[1])},this):e4&&Object.getOwnPropertyNames(e4).forEach(function(t4){this.append(t4,e4[t4])},this)}function d(e4){if(e4.bodyUsed)return Promise.reject(new TypeError("Already read"));e4.bodyUsed=!0}function h(e4){return new Promise(function(t4,n4){e4.onload=function(){t4(e4.result)},e4.onerror=function(){n4(e4.error)}})}function v(e4){var t4=new FileReader,n4=h(t4);return t4.readAsArrayBuffer(e4),n4}function m(e4){if(e4.slice)return e4.slice(0);var t4=new Uint8Array(e4.byteLength);return t4.set(new Uint8Array(e4)),t4.buffer}function g(){return this.bodyUsed=!1,this._initBody=function(e4){var t4;this._bodyInit=e4,e4?typeof e4=="string"?this._bodyText=e4:i2&&Blob.prototype.isPrototypeOf(e4)?this._bodyBlob=e4:o&&FormData.prototype.isPrototypeOf(e4)?this._bodyFormData=e4:n3&&URLSearchParams.prototype.isPrototypeOf(e4)?this._bodyText=e4.toString():s&&i2&&(t4=e4)&&DataView.prototype.isPrototypeOf(t4)?(this._bodyArrayBuffer=m(e4.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):s&&(ArrayBuffer.prototype.isPrototypeOf(e4)||u(e4))?this._bodyArrayBuffer=m(e4):this._bodyText=e4=Object.prototype.toString.call(e4):this._bodyText="",this.headers.get("content-type")||(typeof e4=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):n3&&URLSearchParams.prototype.isPrototypeOf(e4)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},i2&&(this.blob=function(){var e4=d(this);if(e4)return e4;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?d(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(v)}),this.text=function(){var e4,t4,n4,r4=d(this);if(r4)return r4;if(this._bodyBlob)return e4=this._bodyBlob,n4=h(t4=new FileReader),t4.readAsText(e4),n4;if(this._bodyArrayBuffer)return Promise.resolve(function(e5){for(var t5=new Uint8Array(e5),n5=new Array(t5.length),r5=0;r5<t5.length;r5++)n5[r5]=String.fromCharCode(t5[r5]);return n5.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},o&&(this.formData=function(){return this.text().then(b)}),this.json=function(){return this.text().then(JSON.parse)},this}p.prototype.append=function(e4,t4){e4=c(e4),t4=l(t4);var n4=this.map[e4];this.map[e4]=n4?n4+", "+t4:t4},p.prototype.delete=function(e4){delete this.map[c(e4)]},p.prototype.get=function(e4){return e4=c(e4),this.has(e4)?this.map[e4]:null},p.prototype.has=function(e4){return this.map.hasOwnProperty(c(e4))},p.prototype.set=function(e4,t4){this.map[c(e4)]=l(t4)},p.prototype.forEach=function(e4,t4){for(var n4 in this.map)this.map.hasOwnProperty(n4)&&e4.call(t4,this.map[n4],n4,this)},p.prototype.keys=function(){var e4=[];return this.forEach(function(t4,n4){e4.push(n4)}),f(e4)},p.prototype.values=function(){var e4=[];return this.forEach(function(t4){e4.push(t4)}),f(e4)},p.prototype.entries=function(){var e4=[];return this.forEach(function(t4,n4){e4.push([n4,t4])}),f(e4)},r3&&(p.prototype[Symbol.iterator]=p.prototype.entries);var y=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function E(e4,t4){var n4,r4,i3=(t4=t4||{}).body;if(e4 instanceof E){if(e4.bodyUsed)throw new TypeError("Already read");this.url=e4.url,this.credentials=e4.credentials,t4.headers||(this.headers=new p(e4.headers)),this.method=e4.method,this.mode=e4.mode,this.signal=e4.signal,i3||e4._bodyInit==null||(i3=e4._bodyInit,e4.bodyUsed=!0)}else this.url=String(e4);if(this.credentials=t4.credentials||this.credentials||"same-origin",!t4.headers&&this.headers||(this.headers=new p(t4.headers)),this.method=(r4=(n4=t4.method||this.method||"GET").toUpperCase(),y.indexOf(r4)>-1?r4:n4),this.mode=t4.mode||this.mode||null,this.signal=t4.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&i3)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(i3)}function b(e4){var t4=new FormData;return e4.trim().split("&").forEach(function(e5){if(e5){var n4=e5.split("="),r4=n4.shift().replace(/\+/g," "),i3=n4.join("=").replace(/\+/g," ");t4.append(decodeURIComponent(r4),decodeURIComponent(i3))}}),t4}function _(e4,t4){t4||(t4={}),this.type="default",this.status=t4.status===void 0?200:t4.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t4?t4.statusText:"OK",this.headers=new p(t4.headers),this.url=t4.url||"",this._initBody(e4)}E.prototype.clone=function(){return new E(this,{body:this._bodyInit})},g.call(E.prototype),g.call(_.prototype),_.prototype.clone=function(){return new _(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new p(this.headers),url:this.url})},_.error=function(){var e4=new _(null,{status:0,statusText:""});return e4.type="error",e4};var w=[301,302,303,307,308];_.redirect=function(e4,t4){if(w.indexOf(t4)===-1)throw new RangeError("Invalid status code");return new _(null,{status:t4,headers:{location:e4}})},t3.DOMException=e3.DOMException;try{new t3.DOMException}catch{t3.DOMException=function(e5,t4){this.message=e5,this.name=t4;var n4=Error(e5);this.stack=n4.stack},t3.DOMException.prototype=Object.create(Error.prototype),t3.DOMException.prototype.constructor=t3.DOMException}function O(e4,n4){return new Promise(function(r4,o2){var s2=new E(e4,n4);if(s2.signal&&s2.signal.aborted)return o2(new t3.DOMException("Aborted","AbortError"));var a2=new XMLHttpRequest;function u2(){a2.abort()}a2.onload=function(){var e5,t4,n5={status:a2.status,statusText:a2.statusText,headers:(e5=a2.getAllResponseHeaders()||"",t4=new p,e5.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach(function(e6){var n6=e6.split(":"),r5=n6.shift().trim();if(r5){var i4=n6.join(":").trim();t4.append(r5,i4)}}),t4)};n5.url="responseURL"in a2?a2.responseURL:n5.headers.get("X-Request-URL");var i3="response"in a2?a2.response:a2.responseText;r4(new _(i3,n5))},a2.onerror=function(){o2(new TypeError("Network request failed"))},a2.ontimeout=function(){o2(new TypeError("Network request failed"))},a2.onabort=function(){o2(new t3.DOMException("Aborted","AbortError"))},a2.open(s2.method,s2.url,!0),s2.credentials==="include"?a2.withCredentials=!0:s2.credentials==="omit"&&(a2.withCredentials=!1),"responseType"in a2&&i2&&(a2.responseType="blob"),s2.headers.forEach(function(e5,t4){a2.setRequestHeader(t4,e5)}),s2.signal&&(s2.signal.addEventListener("abort",u2),a2.onreadystatechange=function(){a2.readyState===4&&s2.signal.removeEventListener("abort",u2)}),a2.send(s2._bodyInit===void 0?null:s2._bodyInit)})}O.polyfill=!0,e3.fetch||(e3.fetch=O,e3.Headers=p,e3.Request=E,e3.Response=_),t3.Headers=p,t3.Request=E,t3.Response=_,t3.fetch=O,Object.defineProperty(t3,"__esModule",{value:!0})})({})})(r2),r2.fetch.ponyfill=!0,delete r2.fetch.polyfill;var i=r2;(t2=i.fetch).default=i.fetch,t2.fetch=i.fetch,t2.Headers=i.Headers,t2.Request=i.Request,t2.Response=i.Response,e2.exports=t2},9936:e2=>{"use strict";e2.exports=function(e3,t2){if(typeof e3!="string")throw new TypeError("Expected a string");return t2=t2===void 0?"_":t2,e3.replace(/([a-z\d])([A-Z])/g,"$1"+t2+"$2").replace(/([A-Z]+)([A-Z][a-z\d]+)/g,"$1"+t2+"$2").toLowerCase()}},4233:e2=>{"use strict";var t2="%[a-f0-9]{2}",n2=new RegExp("("+t2+")|([^%]+?)","gi"),r2=new RegExp("("+t2+")+","gi");function i(e3,t3){try{return[decodeURIComponent(e3.join(""))]}catch{}if(e3.length===1)return e3;t3=t3||1;var n3=e3.slice(0,t3),r3=e3.slice(t3);return Array.prototype.concat.call([],i(n3),i(r3))}function o(e3){try{return decodeURIComponent(e3)}catch{for(var t3=e3.match(n2)||[],r3=1;r3<t3.length;r3++)t3=(e3=i(t3,r3).join("")).match(n2)||[];return e3}}e2.exports=function(e3){if(typeof e3!="string")throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e3+"`");try{return e3=e3.replace(/\+/g," "),decodeURIComponent(e3)}catch{return function(e4){for(var t4={"%FE%FF":"\uFFFD\uFFFD","%FF%FE":"\uFFFD\uFFFD"},n3=r2.exec(e4);n3;){try{t4[n3[0]]=decodeURIComponent(n3[0])}catch{var i2=o(n3[0]);i2!==n3[0]&&(t4[n3[0]]=i2)}n3=r2.exec(e4)}t4["%C2"]="\uFFFD";for(var s=Object.keys(t4),a=0;a<s.length;a++){var u=s[a];e4=e4.replace(new RegExp(u,"g"),t4[u])}return e4}(e3)}}},7551:(e2,t2,n2)=>{var r2,i=n2(8558);(function(o){var s=Object.hasOwnProperty,a=Array.isArray?Array.isArray:function(e3){return Object.prototype.toString.call(e3)==="[object Array]"},u=typeof i=="object"&&typeof i.nextTick=="function",c=typeof Symbol=="function",l=typeof Reflect=="object",f=typeof setImmediate=="function"?setImmediate:setTimeout,p=c?l&&typeof Reflect.ownKeys=="function"?Reflect.ownKeys:function(e3){var t3=Object.getOwnPropertyNames(e3);return t3.push.apply(t3,Object.getOwnPropertySymbols(e3)),t3}:Object.keys;function d(){this._events={},this._conf&&h.call(this,this._conf)}function h(e3){e3&&(this._conf=e3,e3.delimiter&&(this.delimiter=e3.delimiter),e3.maxListeners!==o&&(this._maxListeners=e3.maxListeners),e3.wildcard&&(this.wildcard=e3.wildcard),e3.newListener&&(this._newListener=e3.newListener),e3.removeListener&&(this._removeListener=e3.removeListener),e3.verboseMemoryLeak&&(this.verboseMemoryLeak=e3.verboseMemoryLeak),e3.ignoreErrors&&(this.ignoreErrors=e3.ignoreErrors),this.wildcard&&(this.listenerTree={}))}function v(e3,t3){var n3="(node) warning: possible EventEmitter memory leak detected. "+e3+" listeners added. Use emitter.setMaxListeners() to increase limit.";if(this.verboseMemoryLeak&&(n3+=" Event name: "+t3+"."),i!==void 0&&i.emitWarning){var r3=new Error(n3);r3.name="MaxListenersExceededWarning",r3.emitter=this,r3.count=e3,i.emitWarning(r3)}else console.error(n3),console.trace&&console.trace()}var m=function(e3,t3,n3){var r3=arguments.length;switch(r3){case 0:return[];case 1:return[e3];case 2:return[e3,t3];case 3:return[e3,t3,n3];default:for(var i2=new Array(r3);r3--;)i2[r3]=arguments[r3];return i2}};function g(e3,t3){for(var n3={},r3=e3.length,i2=t3?value.length:0,s2=0;s2<r3;s2++)n3[e3[s2]]=s2<i2?t3[s2]:o;return n3}function y(e3,t3,n3){var r3,i2;if(this._emitter=e3,this._target=t3,this._listeners={},this._listenersCount=0,(n3.on||n3.off)&&(r3=n3.on,i2=n3.off),t3.addEventListener?(r3=t3.addEventListener,i2=t3.removeEventListener):t3.addListener?(r3=t3.addListener,i2=t3.removeListener):t3.on&&(r3=t3.on,i2=t3.off),!r3&&!i2)throw Error("target does not implement any known event API");if(typeof r3!="function")throw TypeError("on method must be a function");if(typeof i2!="function")throw TypeError("off method must be a function");this._on=r3,this._off=i2;var o2=e3._observers;o2?o2.push(this):e3._observers=[this]}function E(e3,t3,n3,r3){var i2=Object.assign({},t3);if(!e3)return i2;if(typeof e3!="object")throw TypeError("options must be an object");var a2,u2,c2,l2=Object.keys(e3),f2=l2.length;function p2(e4){throw Error('Invalid "'+a2+'" option value'+(e4?". Reason: "+e4:""))}for(var d2=0;d2<f2;d2++){if(a2=l2[d2],!r3&&!s.call(t3,a2))throw Error('Unknown "'+a2+'" option');(u2=e3[a2])!==o&&(c2=n3[a2],i2[a2]=c2?c2(u2,p2):u2)}return i2}function b(e3,t3){return typeof e3=="function"&&e3.hasOwnProperty("prototype")||t3("value must be a constructor"),e3}function _(e3){var t3="value must be type of "+e3.join("|"),n3=e3.length,r3=e3[0],i2=e3[1];return n3===1?function(e4,n4){if(typeof e4===r3)return e4;n4(t3)}:n3===2?function(e4,n4){var o2=typeof e4;if(o2===r3||o2===i2)return e4;n4(t3)}:function(r4,i3){for(var o2=typeof r4,s2=n3;s2-- >0;)if(o2===e3[s2])return r4;i3(t3)}}Object.assign(y.prototype,{subscribe:function(e3,t3,n3){var r3=this,i2=this._target,o2=this._emitter,s2=this._listeners,a2=function(){var r4=m.apply(null,arguments),s3={data:r4,name:t3,original:e3};n3?n3.call(i2,s3)!==!1&&o2.emit.apply(o2,[s3.name].concat(r4)):o2.emit.apply(o2,[t3].concat(r4))};if(s2[e3])throw Error("Event '"+e3+"' is already listening");this._listenersCount++,o2._newListener&&o2._removeListener&&!r3._onNewListener?(this._onNewListener=function(n4){n4===t3&&s2[e3]===null&&(s2[e3]=a2,r3._on.call(i2,e3,a2))},o2.on("newListener",this._onNewListener),this._onRemoveListener=function(n4){n4===t3&&!o2.hasListeners(n4)&&s2[e3]&&(s2[e3]=null,r3._off.call(i2,e3,a2))},s2[e3]=null,o2.on("removeListener",this._onRemoveListener)):(s2[e3]=a2,r3._on.call(i2,e3,a2))},unsubscribe:function(e3){var t3,n3,r3,i2=this,o2=this._listeners,s2=this._emitter,a2=this._off,u2=this._target;if(e3&&typeof e3!="string")throw TypeError("event must be a string");function c2(){i2._onNewListener&&(s2.off("newListener",i2._onNewListener),s2.off("removeListener",i2._onRemoveListener),i2._onNewListener=null,i2._onRemoveListener=null);var e4=I.call(s2,i2);s2._observers.splice(e4,1)}if(e3){if(!(t3=o2[e3]))return;a2.call(u2,e3,t3),delete o2[e3],--this._listenersCount||c2()}else{for(r3=(n3=p(o2)).length;r3-- >0;)e3=n3[r3],a2.call(u2,e3,o2[e3]);this._listeners={},this._listenersCount=0,c2()}}});var w=_(["function"]),O=_(["object","function"]);function T(e3,t3,n3){var r3,i2,o2,s2=0,a2=new e3(function(u2,c2,l2){function f2(){i2&&(i2=null),s2&&(clearTimeout(s2),s2=0)}n3=E(n3,{timeout:0,overload:!1},{timeout:function(e4,t4){return(typeof(e4*=1)!="number"||e4<0||!Number.isFinite(e4))&&t4("timeout must be a positive number"),e4}}),r3=!n3.overload&&typeof e3.prototype.cancel=="function"&&typeof l2=="function";var p2=function(e4){f2(),u2(e4)},d2=function(e4){f2(),c2(e4)};r3?t3(p2,d2,l2):(i2=[function(e4){d2(e4||Error("canceled"))}],t3(p2,d2,function(e4){if(o2)throw Error("Unable to subscribe on cancel event asynchronously");if(typeof e4!="function")throw TypeError("onCancel callback must be a function");i2.push(e4)}),o2=!0),n3.timeout>0&&(s2=setTimeout(function(){var e4=Error("timeout");e4.code="ETIMEDOUT",s2=0,a2.cancel(e4),c2(e4)},n3.timeout))});return r3||(a2.cancel=function(e4){if(i2){for(var t4=i2.length,n4=1;n4<t4;n4++)i2[n4](e4);i2[0](e4),i2=null}}),a2}function I(e3){var t3=this._observers;if(!t3)return-1;for(var n3=t3.length,r3=0;r3<n3;r3++)if(t3[r3]._target===e3)return r3;return-1}function S(e3,t3,n3,r3,i2){if(!n3)return null;if(r3===0){var o2=typeof t3;if(o2==="string"){var s2,a2,u2=0,c2=0,l2=this.delimiter,f2=l2.length;if((a2=t3.indexOf(l2))!==-1){s2=new Array(5);do s2[u2++]=t3.slice(c2,a2),c2=a2+f2;while((a2=t3.indexOf(l2,c2))!==-1);s2[u2++]=t3.slice(c2),t3=s2,i2=u2}else t3=[t3],i2=1}else o2==="object"?i2=t3.length:(t3=[t3],i2=1)}var d2,h2,v2,m2,g2,y2,E2,b2=null,_2=t3[r3],w2=t3[r3+1];if(r3===i2&&n3._listeners)return typeof n3._listeners=="function"?(e3&&e3.push(n3._listeners),[n3]):(e3&&e3.push.apply(e3,n3._listeners),[n3]);if(_2==="*"){for(a2=(y2=p(n3)).length;a2-- >0;)(d2=y2[a2])!=="_listeners"&&(E2=S(e3,t3,n3[d2],r3+1,i2))&&(b2?b2.push.apply(b2,E2):b2=E2);return b2}if(_2==="**"){for((g2=r3+1===i2||r3+2===i2&&w2==="*")&&n3._listeners&&(b2=S(e3,t3,n3,i2,i2)),a2=(y2=p(n3)).length;a2-- >0;)(d2=y2[a2])!=="_listeners"&&(d2==="*"||d2==="**"?(n3[d2]._listeners&&!g2&&(E2=S(e3,t3,n3[d2],i2,i2))&&(b2?b2.push.apply(b2,E2):b2=E2),E2=S(e3,t3,n3[d2],r3,i2)):E2=S(e3,t3,n3[d2],d2===w2?r3+2:r3,i2),E2&&(b2?b2.push.apply(b2,E2):b2=E2));return b2}if(n3[_2]&&(b2=S(e3,t3,n3[_2],r3+1,i2)),(h2=n3["*"])&&S(e3,t3,h2,r3+1,i2),v2=n3["**"])if(r3<i2)for(v2._listeners&&S(e3,t3,v2,i2,i2),a2=(y2=p(v2)).length;a2-- >0;)(d2=y2[a2])!=="_listeners"&&(d2===w2?S(e3,t3,v2[d2],r3+2,i2):d2===_2?S(e3,t3,v2[d2],r3+1,i2):((m2={})[d2]=v2[d2],S(e3,t3,{"**":m2},r3+1,i2)));else v2._listeners?S(e3,t3,v2,i2,i2):v2["*"]&&v2["*"]._listeners&&S(e3,t3,v2["*"],i2,i2);return b2}function N(e3,t3,n3){var r3,i2,o2=0,s2=0,a2=this.delimiter,u2=a2.length;if(typeof e3=="string")if((r3=e3.indexOf(a2))!==-1){i2=new Array(5);do i2[o2++]=e3.slice(s2,r3),s2=r3+u2;while((r3=e3.indexOf(a2,s2))!==-1);i2[o2++]=e3.slice(s2)}else i2=[e3],o2=1;else i2=e3,o2=e3.length;if(o2>1){for(r3=0;r3+1<o2;r3++)if(i2[r3]==="**"&&i2[r3+1]==="**")return}var c2,l2=this.listenerTree;for(r3=0;r3<o2;r3++)if(l2=l2[c2=i2[r3]]||(l2[c2]={}),r3===o2-1)return l2._listeners?(typeof l2._listeners=="function"&&(l2._listeners=[l2._listeners]),n3?l2._listeners.unshift(t3):l2._listeners.push(t3),!l2._listeners.warned&&this._maxListeners>0&&l2._listeners.length>this._maxListeners&&(l2._listeners.warned=!0,v.call(this,l2._listeners.length,c2))):l2._listeners=t3,!0;return!0}function A(e3,t3,n3,r3){for(var i2,o2,s2,a2,u2=p(e3),c2=u2.length,l2=e3._listeners;c2-- >0;)i2=e3[o2=u2[c2]],s2=o2==="_listeners"?n3:n3?n3.concat(o2):[o2],a2=r3||typeof o2=="symbol",l2&&t3.push(a2?s2:s2.join(this.delimiter)),typeof i2=="object"&&A.call(this,i2,t3,s2,a2);return t3}function R(e3){for(var t3,n3,r3,i2=p(e3),o2=i2.length;o2-- >0;)(t3=e3[n3=i2[o2]])&&(r3=!0,n3==="_listeners"||R(t3)||delete e3[n3]);return r3}function x(e3,t3,n3){this.emitter=e3,this.event=t3,this.listener=n3}function j(e3,t3,n3){if(n3===!0)s2=!0;else if(n3===!1)r3=!0;else{if(!n3||typeof n3!="object")throw TypeError("options should be an object or true");var r3=n3.async,s2=n3.promisify,a2=n3.nextTick,c2=n3.objectify}if(r3||a2||s2){var l2=t3,p2=t3._origin||t3;if(a2&&!u)throw Error("process.nextTick is not supported");s2===o&&(s2=t3.constructor.name==="AsyncFunction"),t3=function(){var e4=arguments,t4=this,n4=this.event;return s2?a2?Promise.resolve():new Promise(function(e5){f(e5)}).then(function(){return t4.event=n4,l2.apply(t4,e4)}):(a2?i.nextTick:f)(function(){t4.event=n4,l2.apply(t4,e4)})},t3._async=!0,t3._origin=p2}return[t3,c2?new x(this,e3,t3):this]}function P(e3){this._events={},this._newListener=!1,this._removeListener=!1,this.verboseMemoryLeak=!1,h.call(this,e3)}x.prototype.off=function(){return this.emitter.off(this.event,this.listener),this},P.EventEmitter2=P,P.prototype.listenTo=function(e3,t3,n3){if(typeof e3!="object")throw TypeError("target musts be an object");var r3=this;function i2(t4){if(typeof t4!="object")throw TypeError("events must be an object");var i3,o2=n3.reducers,s2=I.call(r3,e3);i3=s2===-1?new y(r3,e3,n3):r3._observers[s2];for(var a2,u2=p(t4),c2=u2.length,l2=typeof o2=="function",f2=0;f2<c2;f2++)a2=u2[f2],i3.subscribe(a2,t4[a2]||a2,l2?o2:o2&&o2[a2])}return n3=E(n3,{on:o,off:o,reducers:o},{on:w,off:w,reducers:O}),a(t3)?i2(g(t3)):i2(typeof t3=="string"?g(t3.split(/\s+/)):t3),this},P.prototype.stopListeningTo=function(e3,t3){var n3=this._observers;if(!n3)return!1;var r3,i2=n3.length,o2=!1;if(e3&&typeof e3!="object")throw TypeError("target should be an object");for(;i2-- >0;)r3=n3[i2],e3&&r3._target!==e3||(r3.unsubscribe(t3),o2=!0);return o2},P.prototype.delimiter=".",P.prototype.setMaxListeners=function(e3){e3!==o&&(this._maxListeners=e3,this._conf||(this._conf={}),this._conf.maxListeners=e3)},P.prototype.getMaxListeners=function(){return this._maxListeners},P.prototype.event="",P.prototype.once=function(e3,t3,n3){return this._once(e3,t3,!1,n3)},P.prototype.prependOnceListener=function(e3,t3,n3){return this._once(e3,t3,!0,n3)},P.prototype._once=function(e3,t3,n3,r3){return this._many(e3,1,t3,n3,r3)},P.prototype.many=function(e3,t3,n3,r3){return this._many(e3,t3,n3,!1,r3)},P.prototype.prependMany=function(e3,t3,n3,r3){return this._many(e3,t3,n3,!0,r3)},P.prototype._many=function(e3,t3,n3,r3,i2){var o2=this;if(typeof n3!="function")throw new Error("many only accepts instances of Function");function s2(){return--t3==0&&o2.off(e3,s2),n3.apply(this,arguments)}return s2._origin=n3,this._on(e3,s2,r3,i2)},P.prototype.emit=function(){if(!this._events&&!this._all)return!1;this._events||d.call(this);var e3,t3,n3,r3,i2,o2,s2=arguments[0],a2=this.wildcard;if(s2==="newListener"&&!this._newListener&&!this._events.newListener)return!1;if(a2&&(e3=s2,s2!=="newListener"&&s2!=="removeListener"&&typeof s2=="object")){if(n3=s2.length,c){for(r3=0;r3<n3;r3++)if(typeof s2[r3]=="symbol"){o2=!0;break}}o2||(s2=s2.join(this.delimiter))}var u2,l2=arguments.length;if(this._all&&this._all.length)for(r3=0,n3=(u2=this._all.slice()).length;r3<n3;r3++)switch(this.event=s2,l2){case 1:u2[r3].call(this,s2);break;case 2:u2[r3].call(this,s2,arguments[1]);break;case 3:u2[r3].call(this,s2,arguments[1],arguments[2]);break;default:u2[r3].apply(this,arguments)}if(a2)u2=[],S.call(this,u2,e3,this.listenerTree,0,n3);else{if(typeof(u2=this._events[s2])=="function"){switch(this.event=s2,l2){case 1:u2.call(this);break;case 2:u2.call(this,arguments[1]);break;case 3:u2.call(this,arguments[1],arguments[2]);break;default:for(t3=new Array(l2-1),i2=1;i2<l2;i2++)t3[i2-1]=arguments[i2];u2.apply(this,t3)}return!0}u2&&(u2=u2.slice())}if(u2&&u2.length){if(l2>3)for(t3=new Array(l2-1),i2=1;i2<l2;i2++)t3[i2-1]=arguments[i2];for(r3=0,n3=u2.length;r3<n3;r3++)switch(this.event=s2,l2){case 1:u2[r3].call(this);break;case 2:u2[r3].call(this,arguments[1]);break;case 3:u2[r3].call(this,arguments[1],arguments[2]);break;default:u2[r3].apply(this,t3)}return!0}if(!this.ignoreErrors&&!this._all&&s2==="error")throw arguments[1]instanceof Error?arguments[1]:new Error("Uncaught, unspecified 'error' event.");return!!this._all},P.prototype.emitAsync=function(){if(!this._events&&!this._all)return!1;this._events||d.call(this);var e3,t3,n3,r3,i2,o2,s2=arguments[0],a2=this.wildcard;if(s2==="newListener"&&!this._newListener&&!this._events.newListener)return Promise.resolve([!1]);if(a2&&(e3=s2,s2!=="newListener"&&s2!=="removeListener"&&typeof s2=="object")){if(r3=s2.length,c){for(i2=0;i2<r3;i2++)if(typeof s2[i2]=="symbol"){t3=!0;break}}t3||(s2=s2.join(this.delimiter))}var u2,l2=[],f2=arguments.length;if(this._all)for(i2=0,r3=this._all.length;i2<r3;i2++)switch(this.event=s2,f2){case 1:l2.push(this._all[i2].call(this,s2));break;case 2:l2.push(this._all[i2].call(this,s2,arguments[1]));break;case 3:l2.push(this._all[i2].call(this,s2,arguments[1],arguments[2]));break;default:l2.push(this._all[i2].apply(this,arguments))}if(a2?(u2=[],S.call(this,u2,e3,this.listenerTree,0)):u2=this._events[s2],typeof u2=="function")switch(this.event=s2,f2){case 1:l2.push(u2.call(this));break;case 2:l2.push(u2.call(this,arguments[1]));break;case 3:l2.push(u2.call(this,arguments[1],arguments[2]));break;default:for(n3=new Array(f2-1),o2=1;o2<f2;o2++)n3[o2-1]=arguments[o2];l2.push(u2.apply(this,n3))}else if(u2&&u2.length){if(u2=u2.slice(),f2>3)for(n3=new Array(f2-1),o2=1;o2<f2;o2++)n3[o2-1]=arguments[o2];for(i2=0,r3=u2.length;i2<r3;i2++)switch(this.event=s2,f2){case 1:l2.push(u2[i2].call(this));break;case 2:l2.push(u2[i2].call(this,arguments[1]));break;case 3:l2.push(u2[i2].call(this,arguments[1],arguments[2]));break;default:l2.push(u2[i2].apply(this,n3))}}else if(!this.ignoreErrors&&!this._all&&s2==="error")return arguments[1]instanceof Error?Promise.reject(arguments[1]):Promise.reject("Uncaught, unspecified 'error' event.");return Promise.all(l2)},P.prototype.on=function(e3,t3,n3){return this._on(e3,t3,!1,n3)},P.prototype.prependListener=function(e3,t3,n3){return this._on(e3,t3,!0,n3)},P.prototype.onAny=function(e3){return this._onAny(e3,!1)},P.prototype.prependAny=function(e3){return this._onAny(e3,!0)},P.prototype.addListener=P.prototype.on,P.prototype._onAny=function(e3,t3){if(typeof e3!="function")throw new Error("onAny only accepts instances of Function");return this._all||(this._all=[]),t3?this._all.unshift(e3):this._all.push(e3),this},P.prototype._on=function(e3,t3,n3,r3){if(typeof e3=="function")return this._onAny(e3,t3),this;if(typeof t3!="function")throw new Error("on only accepts instances of Function");this._events||d.call(this);var i2,s2=this;return r3!==o&&(t3=(i2=j.call(this,e3,t3,r3))[0],s2=i2[1]),this._newListener&&this.emit("newListener",e3,t3),this.wildcard?(N.call(this,e3,t3,n3),s2):(this._events[e3]?(typeof this._events[e3]=="function"&&(this._events[e3]=[this._events[e3]]),n3?this._events[e3].unshift(t3):this._events[e3].push(t3),!this._events[e3].warned&&this._maxListeners>0&&this._events[e3].length>this._maxListeners&&(this._events[e3].warned=!0,v.call(this,this._events[e3].length,e3))):this._events[e3]=t3,s2)},P.prototype.off=function(e3,t3){if(typeof t3!="function")throw new Error("removeListener only takes instances of Function");var n3,r3=[];if(this.wildcard){var i2=typeof e3=="string"?e3.split(this.delimiter):e3.slice();if(!(r3=S.call(this,null,i2,this.listenerTree,0)))return this}else{if(!this._events[e3])return this;n3=this._events[e3],r3.push({_listeners:n3})}for(var o2=0;o2<r3.length;o2++){var s2=r3[o2];if(n3=s2._listeners,a(n3)){for(var u2=-1,c2=0,l2=n3.length;c2<l2;c2++)if(n3[c2]===t3||n3[c2].listener&&n3[c2].listener===t3||n3[c2]._origin&&n3[c2]._origin===t3){u2=c2;break}if(u2<0)continue;return this.wildcard?s2._listeners.splice(u2,1):this._events[e3].splice(u2,1),n3.length===0&&(this.wildcard?delete s2._listeners:delete this._events[e3]),this._removeListener&&this.emit("removeListener",e3,t3),this}(n3===t3||n3.listener&&n3.listener===t3||n3._origin&&n3._origin===t3)&&(this.wildcard?delete s2._listeners:delete this._events[e3],this._removeListener&&this.emit("removeListener",e3,t3))}return this.listenerTree&&R(this.listenerTree),this},P.prototype.offAny=function(e3){var t3,n3=0,r3=0;if(e3&&this._all&&this._all.length>0){for(n3=0,r3=(t3=this._all).length;n3<r3;n3++)if(e3===t3[n3])return t3.splice(n3,1),this._removeListener&&this.emit("removeListenerAny",e3),this}else{if(t3=this._all,this._removeListener)for(n3=0,r3=t3.length;n3<r3;n3++)this.emit("removeListenerAny",t3[n3]);this._all=[]}return this},P.prototype.removeListener=P.prototype.off,P.prototype.removeAllListeners=function(e3){if(e3===o)return!this._events||d.call(this),this;if(this.wildcard){var t3,n3=S.call(this,null,e3,this.listenerTree,0);if(!n3)return this;for(t3=0;t3<n3.length;t3++)n3[t3]._listeners=null;this.listenerTree&&R(this.listenerTree)}else this._events&&(this._events[e3]=null);return this},P.prototype.listeners=function(e3){var t3,n3,r3,i2,s2,a2=this._events;if(e3===o){if(this.wildcard)throw Error("event name required for wildcard emitter");if(!a2)return[];for(i2=(t3=p(a2)).length,r3=[];i2-- >0;)typeof(n3=a2[t3[i2]])=="function"?r3.push(n3):r3.push.apply(r3,n3);return r3}if(this.wildcard){if(!(s2=this.listenerTree))return[];var u2=[],c2=typeof e3=="string"?e3.split(this.delimiter):e3.slice();return S.call(this,u2,c2,s2,0),u2}return a2&&(n3=a2[e3])?typeof n3=="function"?[n3]:n3:[]},P.prototype.eventNames=function(e3){var t3=this._events;return this.wildcard?A.call(this,this.listenerTree,[],null,e3):t3?p(t3):[]},P.prototype.listenerCount=function(e3){return this.listeners(e3).length},P.prototype.hasListeners=function(e3){if(this.wildcard){var t3=[],n3=typeof e3=="string"?e3.split(this.delimiter):e3.slice();return S.call(this,t3,n3,this.listenerTree,0),t3.length>0}var r3=this._events,i2=this._all;return!!(i2&&i2.length||r3&&(e3===o?p(r3).length:r3[e3]))},P.prototype.listenersAny=function(){return this._all?this._all:[]},P.prototype.waitFor=function(e3,t3){var n3=this,r3=typeof t3;return r3==="number"?t3={timeout:t3}:r3==="function"&&(t3={filter:t3}),T((t3=E(t3,{timeout:0,filter:o,handleError:!1,Promise,overload:!1},{filter:w,Promise:b})).Promise,function(r4,i2,o2){function s2(){var o3=t3.filter;if(!o3||o3.apply(n3,arguments))if(n3.off(e3,s2),t3.handleError){var a2=arguments[0];a2?i2(a2):r4(m.apply(null,arguments).slice(1))}else r4(m.apply(null,arguments))}o2(function(){n3.off(e3,s2)}),n3._on(e3,s2,!1)},{timeout:t3.timeout,overload:t3.overload})};var D=P.prototype;Object.defineProperties(P,{defaultMaxListeners:{get:function(){return D._maxListeners},set:function(e3){if(typeof e3!="number"||e3<0||Number.isNaN(e3))throw TypeError("n must be a non-negative number");D._maxListeners=e3},enumerable:!0},once:{value:function(e3,t3,n3){return T((n3=E(n3,{Promise,timeout:0,overload:!1},{Promise:b})).Promise,function(n4,r3,i2){var o2;if(typeof e3.addEventListener=="function")return o2=function(){n4(m.apply(null,arguments))},i2(function(){e3.removeEventListener(t3,o2)}),void e3.addEventListener(t3,o2,{once:!0});var s2,a2=function(){s2&&e3.removeListener("error",s2),n4(m.apply(null,arguments))};t3!=="error"&&(s2=function(n5){e3.removeListener(t3,a2),r3(n5)},e3.once("error",s2)),i2(function(){s2&&e3.removeListener("error",s2),e3.removeListener(t3,a2)}),e3.once(t3,a2)},{timeout:n3.timeout,overload:n3.overload})},writable:!0,configurable:!0}}),Object.defineProperties(D,{_maxListeners:{value:10,writable:!0,configurable:!0},_observers:{value:null,writable:!0,configurable:!0}}),(r2=function(){return P}.call(t2,n2,t2,e2))===o||(e2.exports=r2)})()},6901:e2=>{"use strict";e2.exports=function(e3,t2){for(var n2={},r2=Object.keys(e3),i=Array.isArray(t2),o=0;o<r2.length;o++){var s=r2[o],a=e3[s];(i?t2.indexOf(s)!==-1:t2(s,a,e3))&&(n2[s]=a)}return n2}},5692:function(e2){e2.exports=function(){function e3(){return(e3=Object.assign?Object.assign.bind():function(e4){for(var t3=1;t3<arguments.length;t3++){var n2=arguments[t3];for(var r2 in n2)({}).hasOwnProperty.call(n2,r2)&&(e4[r2]=n2[r2])}return e4}).apply(null,arguments)}var t2={ignoreId:!1};return function(n2,r2){var i=e3({},t2,r2),o=n2;if(o&&o.id&&!i.ignoreId)return'//*[@id="'+o.id+'"]';for(var s=[];o&&(Node.ELEMENT_NODE===o.nodeType||Node.TEXT_NODE===o.nodeType);){for(var a=0,u=!1,c=o.previousSibling;c;)c.nodeType!==Node.DOCUMENT_TYPE_NODE&&c.nodeName===o.nodeName&&a++,c=c.previousSibling;for(c=o.nextSibling;c;){if(c.nodeName===o.nodeName){u=!0;break}c=c.nextSibling}var l=a||u?"["+(a+1)+"]":"",f=o.nodeType!=Node.TEXT_NODE?(o.prefix?o.prefix+":":"")+o.localName+l:"text()"+(l||"[1]");s.push(f),o=o.parentNode}return s.length?"/"+s.reverse().join("/"):""}}()},8539:e2=>{"use strict";e2.exports=function(e3){return typeof e3=="object"?e3===null:typeof e3!="function"}},763:e2=>{e2.exports=function(e3){for(var t2=-1,n2=e3?e3.length:0,r2=0,i=[];++t2<n2;){var o=e3[t2];o&&(i[r2++]=o)}return i}},7065:(e2,t2,n2)=>{var r2=typeof n2.g=="object"&&n2.g&&n2.g.Object===Object&&n2.g,i=typeof self=="object"&&self&&self.Object===Object&&self,o=r2||i||Function("return this")();function s(e3,t3){for(var n3=-1,r3=t3.length,i2=e3.length;++n3<r3;)e3[i2+n3]=t3[n3];return e3}var a=Object.prototype,u=a.hasOwnProperty,c=a.toString,l=o.Symbol,f=a.propertyIsEnumerable,p=l?l.isConcatSpreadable:void 0;function d(e3,t3,n3,r3,i2){var o2=-1,a2=e3.length;for(n3||(n3=h),i2||(i2=[]);++o2<a2;){var u2=e3[o2];t3>0&&n3(u2)?t3>1?d(u2,t3-1,n3,r3,i2):s(i2,u2):r3||(i2[i2.length]=u2)}return i2}function h(e3){return v(e3)||function(e4){return function(e5){return function(e6){return!!e6&&typeof e6=="object"}(e5)&&function(e6){return e6!=null&&function(e7){return typeof e7=="number"&&e7>-1&&e7%1==0&&e7<=9007199254740991}(e6.length)&&!function(e7){var t3=function(e8){var t4=typeof e8;return!!e8&&(t4=="object"||t4=="function")}(e7)?c.call(e7):"";return t3=="[object Function]"||t3=="[object GeneratorFunction]"}(e6)}(e5)}(e4)&&u.call(e4,"callee")&&(!f.call(e4,"callee")||c.call(e4)=="[object Arguments]")}(e3)||!!(p&&e3&&e3[p])}var v=Array.isArray;e2.exports=function(e3){return e3&&e3.length?d(e3,1):[]}},994:e2=>{e2.exports=function(e3){return e3&&e3.length?e3[0]:void 0}},2935:function(e2,t2,n2){var r2;e2=n2.nmd(e2),function(){var i,o="Expected a function",s="__lodash_hash_undefined__",a="__lodash_placeholder__",u=32,c=128,l=1/0,f=9007199254740991,p=NaN,d=4294967295,h=[["ary",c],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",u],["partialRight",64],["rearg",256]],v="[object Arguments]",m="[object Array]",g="[object Boolean]",y="[object Date]",E="[object Error]",b="[object Function]",_="[object GeneratorFunction]",w="[object Map]",O="[object Number]",T="[object Object]",I="[object Promise]",S="[object RegExp]",N="[object Set]",A="[object String]",R="[object Symbol]",x="[object WeakMap]",j="[object ArrayBuffer]",P="[object DataView]",D="[object Float32Array]",L="[object Float64Array]",M="[object Int8Array]",k="[object Int16Array]",C="[object Int32Array]",F="[object Uint8Array]",V="[object Uint8ClampedArray]",$="[object Uint16Array]",U="[object Uint32Array]",B=/\b__p \+= '';/g,H=/\b(__p \+=) '' \+/g,G=/(__e\(.*?\)|\b__t\)) \+\n'';/g,q=/&(?:amp|lt|gt|quot|#39);/g,W=/[&<>"']/g,z=RegExp(q.source),Y=RegExp(W.source),X=/<%-([\s\S]+?)%>/g,J=/<%([\s\S]+?)%>/g,Q=/<%=([\s\S]+?)%>/g,K=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Z=/^\w*$/,ee=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,te=/[\\^$.*+?()[\]{}|]/g,ne=RegExp(te.source),re=/^\s+/,ie=/\s/,oe=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,se=/\{\n\/\* \[wrapped with (.+)\] \*/,ae=/,? & /,ue=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ce=/[()=,{}\[\]\/\s]/,le=/\\(\\)?/g,fe=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,pe=/\w*$/,de=/^[-+]0x[0-9a-f]+$/i,he=/^0b[01]+$/i,ve=/^\[object .+?Constructor\]$/,me=/^0o[0-7]+$/i,ge=/^(?:0|[1-9]\d*)$/,ye=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ee=/($^)/,be=/['\n\r\u2028\u2029\\]/g,_e="\\ud800-\\udfff",we="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Oe="\\u2700-\\u27bf",Te="a-z\\xdf-\\xf6\\xf8-\\xff",Ie="A-Z\\xc0-\\xd6\\xd8-\\xde",Se="\\ufe0e\\ufe0f",Ne="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Ae="["+_e+"]",Re="["+Ne+"]",xe="["+we+"]",je="\\d+",Pe="["+Oe+"]",De="["+Te+"]",Le="[^"+_e+Ne+je+Oe+Te+Ie+"]",Me="\\ud83c[\\udffb-\\udfff]",ke="[^"+_e+"]",Ce="(?:\\ud83c[\\udde6-\\uddff]){2}",Fe="[\\ud800-\\udbff][\\udc00-\\udfff]",Ve="["+Ie+"]",$e="\\u200d",Ue="(?:"+De+"|"+Le+")",Be="(?:"+Ve+"|"+Le+")",He="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",Ge="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",qe="(?:"+xe+"|"+Me+")?",We="["+Se+"]?",ze=We+qe+"(?:"+$e+"(?:"+[ke,Ce,Fe].join("|")+")"+We+qe+")*",Ye="(?:"+[Pe,Ce,Fe].join("|")+")"+ze,Xe="(?:"+[ke+xe+"?",xe,Ce,Fe,Ae].join("|")+")",Je=RegExp("['\u2019]","g"),Qe=RegExp(xe,"g"),Ke=RegExp(Me+"(?="+Me+")|"+Xe+ze,"g"),Ze=RegExp([Ve+"?"+De+"+"+He+"(?="+[Re,Ve,"$"].join("|")+")",Be+"+"+Ge+"(?="+[Re,Ve+Ue,"$"].join("|")+")",Ve+"?"+Ue+"+"+He,Ve+"+"+Ge,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",je,Ye].join("|"),"g"),et=RegExp("["+$e+_e+we+Se+"]"),tt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,nt=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],rt=-1,it={};it[D]=it[L]=it[M]=it[k]=it[C]=it[F]=it[V]=it[$]=it[U]=!0,it[v]=it[m]=it[j]=it[g]=it[P]=it[y]=it[E]=it[b]=it[w]=it[O]=it[T]=it[S]=it[N]=it[A]=it[x]=!1;var ot={};ot[v]=ot[m]=ot[j]=ot[P]=ot[g]=ot[y]=ot[D]=ot[L]=ot[M]=ot[k]=ot[C]=ot[w]=ot[O]=ot[T]=ot[S]=ot[N]=ot[A]=ot[R]=ot[F]=ot[V]=ot[$]=ot[U]=!0,ot[E]=ot[b]=ot[x]=!1;var st={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},at=parseFloat,ut=parseInt,ct=typeof n2.g=="object"&&n2.g&&n2.g.Object===Object&&n2.g,lt=typeof self=="object"&&self&&self.Object===Object&&self,ft=ct||lt||Function("return this")(),pt=t2&&!t2.nodeType&&t2,dt=pt&&e2&&!e2.nodeType&&e2,ht=dt&&dt.exports===pt,vt=ht&&ct.process,mt=function(){try{return dt&&dt.require&&dt.require("util").types||vt&&vt.binding&&vt.binding("util")}catch{}}(),gt=mt&&mt.isArrayBuffer,yt=mt&&mt.isDate,Et=mt&&mt.isMap,bt=mt&&mt.isRegExp,_t=mt&&mt.isSet,wt=mt&&mt.isTypedArray;function Ot(e3,t3,n3){switch(n3.length){case 0:return e3.call(t3);case 1:return e3.call(t3,n3[0]);case 2:return e3.call(t3,n3[0],n3[1]);case 3:return e3.call(t3,n3[0],n3[1],n3[2])}return e3.apply(t3,n3)}function Tt(e3,t3,n3,r3){for(var i2=-1,o2=e3==null?0:e3.length;++i2<o2;){var s2=e3[i2];t3(r3,s2,n3(s2),e3)}return r3}function It(e3,t3){for(var n3=-1,r3=e3==null?0:e3.length;++n3<r3&&t3(e3[n3],n3,e3)!==!1;);return e3}function St(e3,t3){for(var n3=e3==null?0:e3.length;n3--&&t3(e3[n3],n3,e3)!==!1;);return e3}function Nt(e3,t3){for(var n3=-1,r3=e3==null?0:e3.length;++n3<r3;)if(!t3(e3[n3],n3,e3))return!1;return!0}function At(e3,t3){for(var n3=-1,r3=e3==null?0:e3.length,i2=0,o2=[];++n3<r3;){var s2=e3[n3];t3(s2,n3,e3)&&(o2[i2++]=s2)}return o2}function Rt(e3,t3){return!(e3==null||!e3.length)&&Vt(e3,t3,0)>-1}function xt(e3,t3,n3){for(var r3=-1,i2=e3==null?0:e3.length;++r3<i2;)if(n3(t3,e3[r3]))return!0;return!1}function jt(e3,t3){for(var n3=-1,r3=e3==null?0:e3.length,i2=Array(r3);++n3<r3;)i2[n3]=t3(e3[n3],n3,e3);return i2}function Pt(e3,t3){for(var n3=-1,r3=t3.length,i2=e3.length;++n3<r3;)e3[i2+n3]=t3[n3];return e3}function Dt(e3,t3,n3,r3){var i2=-1,o2=e3==null?0:e3.length;for(r3&&o2&&(n3=e3[++i2]);++i2<o2;)n3=t3(n3,e3[i2],i2,e3);return n3}function Lt(e3,t3,n3,r3){var i2=e3==null?0:e3.length;for(r3&&i2&&(n3=e3[--i2]);i2--;)n3=t3(n3,e3[i2],i2,e3);return n3}function Mt(e3,t3){for(var n3=-1,r3=e3==null?0:e3.length;++n3<r3;)if(t3(e3[n3],n3,e3))return!0;return!1}var kt=Ht("length");function Ct(e3,t3,n3){var r3;return n3(e3,function(e4,n4,i2){if(t3(e4,n4,i2))return r3=n4,!1}),r3}function Ft(e3,t3,n3,r3){for(var i2=e3.length,o2=n3+(r3?1:-1);r3?o2--:++o2<i2;)if(t3(e3[o2],o2,e3))return o2;return-1}function Vt(e3,t3,n3){return t3==t3?function(e4,t4,n4){for(var r3=n4-1,i2=e4.length;++r3<i2;)if(e4[r3]===t4)return r3;return-1}(e3,t3,n3):Ft(e3,Ut,n3)}function $t(e3,t3,n3,r3){for(var i2=n3-1,o2=e3.length;++i2<o2;)if(r3(e3[i2],t3))return i2;return-1}function Ut(e3){return e3!=e3}function Bt(e3,t3){var n3=e3==null?0:e3.length;return n3?Wt(e3,t3)/n3:p}function Ht(e3){return function(t3){return t3==null?i:t3[e3]}}function Gt(e3){return function(t3){return e3==null?i:e3[t3]}}function qt(e3,t3,n3,r3,i2){return i2(e3,function(e4,i3,o2){n3=r3?(r3=!1,e4):t3(n3,e4,i3,o2)}),n3}function Wt(e3,t3){for(var n3,r3=-1,o2=e3.length;++r3<o2;){var s2=t3(e3[r3]);s2!==i&&(n3=n3===i?s2:n3+s2)}return n3}function zt(e3,t3){for(var n3=-1,r3=Array(e3);++n3<e3;)r3[n3]=t3(n3);return r3}function Yt(e3){return e3&&e3.slice(0,pn(e3)+1).replace(re,"")}function Xt(e3){return function(t3){return e3(t3)}}function Jt(e3,t3){return jt(t3,function(t4){return e3[t4]})}function Qt(e3,t3){return e3.has(t3)}function Kt(e3,t3){for(var n3=-1,r3=e3.length;++n3<r3&&Vt(t3,e3[n3],0)>-1;);return n3}function Zt(e3,t3){for(var n3=e3.length;n3--&&Vt(t3,e3[n3],0)>-1;);return n3}var en=Gt({\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"}),tn=Gt({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function nn(e3){return"\\"+st[e3]}function rn(e3){return et.test(e3)}function on(e3){var t3=-1,n3=Array(e3.size);return e3.forEach(function(e4,r3){n3[++t3]=[r3,e4]}),n3}function sn(e3,t3){return function(n3){return e3(t3(n3))}}function an(e3,t3){for(var n3=-1,r3=e3.length,i2=0,o2=[];++n3<r3;){var s2=e3[n3];s2!==t3&&s2!==a||(e3[n3]=a,o2[i2++]=n3)}return o2}function un(e3){var t3=-1,n3=Array(e3.size);return e3.forEach(function(e4){n3[++t3]=e4}),n3}function cn(e3){var t3=-1,n3=Array(e3.size);return e3.forEach(function(e4){n3[++t3]=[e4,e4]}),n3}function ln(e3){return rn(e3)?function(e4){for(var t3=Ke.lastIndex=0;Ke.test(e4);)++t3;return t3}(e3):kt(e3)}function fn(e3){return rn(e3)?function(e4){return e4.match(Ke)||[]}(e3):function(e4){return e4.split("")}(e3)}function pn(e3){for(var t3=e3.length;t3--&&ie.test(e3.charAt(t3)););return t3}var dn=Gt({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"}),hn=function e3(t3){var n3,r3=(t3=t3==null?ft:hn.defaults(ft.Object(),t3,hn.pick(ft,nt))).Array,ie2=t3.Date,_e2=t3.Error,we2=t3.Function,Oe2=t3.Math,Te2=t3.Object,Ie2=t3.RegExp,Se2=t3.String,Ne2=t3.TypeError,Ae2=r3.prototype,Re2=we2.prototype,xe2=Te2.prototype,je2=t3["__core-js_shared__"],Pe2=Re2.toString,De2=xe2.hasOwnProperty,Le2=0,Me2=(n3=/[^.]+$/.exec(je2&&je2.keys&&je2.keys.IE_PROTO||""))?"Symbol(src)_1."+n3:"",ke2=xe2.toString,Ce2=Pe2.call(Te2),Fe2=ft._,Ve2=Ie2("^"+Pe2.call(De2).replace(te,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),$e2=ht?t3.Buffer:i,Ue2=t3.Symbol,Be2=t3.Uint8Array,He2=$e2?$e2.allocUnsafe:i,Ge2=sn(Te2.getPrototypeOf,Te2),qe2=Te2.create,We2=xe2.propertyIsEnumerable,ze2=Ae2.splice,Ye2=Ue2?Ue2.isConcatSpreadable:i,Xe2=Ue2?Ue2.iterator:i,Ke2=Ue2?Ue2.toStringTag:i,et2=function(){try{var e4=uo(Te2,"defineProperty");return e4({},"",{}),e4}catch{}}(),st2=t3.clearTimeout!==ft.clearTimeout&&t3.clearTimeout,ct2=ie2&&ie2.now!==ft.Date.now&&ie2.now,lt2=t3.setTimeout!==ft.setTimeout&&t3.setTimeout,pt2=Oe2.ceil,dt2=Oe2.floor,vt2=Te2.getOwnPropertySymbols,mt2=$e2?$e2.isBuffer:i,kt2=t3.isFinite,Gt2=Ae2.join,vn=sn(Te2.keys,Te2),mn=Oe2.max,gn=Oe2.min,yn=ie2.now,En=t3.parseInt,bn=Oe2.random,_n=Ae2.reverse,wn=uo(t3,"DataView"),On=uo(t3,"Map"),Tn=uo(t3,"Promise"),In=uo(t3,"Set"),Sn=uo(t3,"WeakMap"),Nn=uo(Te2,"create"),An=Sn&&new Sn,Rn={},xn=Co(wn),jn=Co(On),Pn=Co(Tn),Dn=Co(In),Ln=Co(Sn),Mn=Ue2?Ue2.prototype:i,kn=Mn?Mn.valueOf:i,Cn=Mn?Mn.toString:i;function Fn(e4){if(ea(e4)&&!Hs(e4)&&!(e4 instanceof Bn)){if(e4 instanceof Un)return e4;if(De2.call(e4,"__wrapped__"))return Fo(e4)}return new Un(e4)}var Vn=function(){function e4(){}return function(t4){if(!Zs(t4))return{};if(qe2)return qe2(t4);e4.prototype=t4;var n4=new e4;return e4.prototype=i,n4}}();function $n(){}function Un(e4,t4){this.__wrapped__=e4,this.__actions__=[],this.__chain__=!!t4,this.__index__=0,this.__values__=i}function Bn(e4){this.__wrapped__=e4,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=d,this.__views__=[]}function Hn(e4){var t4=-1,n4=e4==null?0:e4.length;for(this.clear();++t4<n4;){var r4=e4[t4];this.set(r4[0],r4[1])}}function Gn(e4){var t4=-1,n4=e4==null?0:e4.length;for(this.clear();++t4<n4;){var r4=e4[t4];this.set(r4[0],r4[1])}}function qn(e4){var t4=-1,n4=e4==null?0:e4.length;for(this.clear();++t4<n4;){var r4=e4[t4];this.set(r4[0],r4[1])}}function Wn(e4){var t4=-1,n4=e4==null?0:e4.length;for(this.__data__=new qn;++t4<n4;)this.add(e4[t4])}function zn(e4){var t4=this.__data__=new Gn(e4);this.size=t4.size}function Yn(e4,t4){var n4=Hs(e4),r4=!n4&&Bs(e4),i2=!n4&&!r4&&zs(e4),o2=!n4&&!r4&&!i2&&ua(e4),s2=n4||r4||i2||o2,a2=s2?zt(e4.length,Se2):[],u2=a2.length;for(var c2 in e4)!t4&&!De2.call(e4,c2)||s2&&(c2=="length"||i2&&(c2=="offset"||c2=="parent")||o2&&(c2=="buffer"||c2=="byteLength"||c2=="byteOffset")||mo(c2,u2))||a2.push(c2);return a2}function Xn(e4){var t4=e4.length;return t4?e4[qr(0,t4-1)]:i}function Jn(e4,t4){return Po(Si(e4),or(t4,0,e4.length))}function Qn(e4){return Po(Si(e4))}function Kn(e4,t4,n4){(n4!==i&&!Vs(e4[t4],n4)||n4===i&&!(t4 in e4))&&rr(e4,t4,n4)}function Zn(e4,t4,n4){var r4=e4[t4];De2.call(e4,t4)&&Vs(r4,n4)&&(n4!==i||t4 in e4)||rr(e4,t4,n4)}function er(e4,t4){for(var n4=e4.length;n4--;)if(Vs(e4[n4][0],t4))return n4;return-1}function tr(e4,t4,n4,r4){return lr(e4,function(e5,i2,o2){t4(r4,e5,n4(e5),o2)}),r4}function nr(e4,t4){return e4&&Ni(t4,xa(t4),e4)}function rr(e4,t4,n4){t4=="__proto__"&&et2?et2(e4,t4,{configurable:!0,enumerable:!0,value:n4,writable:!0}):e4[t4]=n4}function ir(e4,t4){for(var n4=-1,o2=t4.length,s2=r3(o2),a2=e4==null;++n4<o2;)s2[n4]=a2?i:Ia(e4,t4[n4]);return s2}function or(e4,t4,n4){return e4==e4&&(n4!==i&&(e4=e4<=n4?e4:n4),t4!==i&&(e4=e4>=t4?e4:t4)),e4}function sr(e4,t4,n4,r4,o2,s2){var a2,u2=1&t4,c2=2&t4,l2=4&t4;if(n4&&(a2=o2?n4(e4,r4,o2,s2):n4(e4)),a2!==i)return a2;if(!Zs(e4))return e4;var f2=Hs(e4);if(f2){if(a2=function(e5){var t5=e5.length,n5=new e5.constructor(t5);return t5&&typeof e5[0]=="string"&&De2.call(e5,"index")&&(n5.index=e5.index,n5.input=e5.input),n5}(e4),!u2)return Si(e4,a2)}else{var p2=fo(e4),d2=p2==b||p2==_;if(zs(e4))return bi(e4,u2);if(p2==T||p2==v||d2&&!o2){if(a2=c2||d2?{}:ho(e4),!u2)return c2?function(e5,t5){return Ni(e5,lo(e5),t5)}(e4,function(e5,t5){return e5&&Ni(t5,ja(t5),e5)}(a2,e4)):function(e5,t5){return Ni(e5,co(e5),t5)}(e4,nr(a2,e4))}else{if(!ot[p2])return o2?e4:{};a2=function(e5,t5,n5){var r5,i2=e5.constructor;switch(t5){case j:return _i(e5);case g:case y:return new i2(+e5);case P:return function(e6,t6){var n6=t6?_i(e6.buffer):e6.buffer;return new e6.constructor(n6,e6.byteOffset,e6.byteLength)}(e5,n5);case D:case L:case M:case k:case C:case F:case V:case $:case U:return wi(e5,n5);case w:return new i2;case O:case A:return new i2(e5);case S:return function(e6){var t6=new e6.constructor(e6.source,pe.exec(e6));return t6.lastIndex=e6.lastIndex,t6}(e5);case N:return new i2;case R:return r5=e5,kn?Te2(kn.call(r5)):{}}}(e4,p2,u2)}}s2||(s2=new zn);var h2=s2.get(e4);if(h2)return h2;s2.set(e4,a2),oa(e4)?e4.forEach(function(r5){a2.add(sr(r5,t4,n4,r5,e4,s2))}):ta(e4)&&e4.forEach(function(r5,i2){a2.set(i2,sr(r5,t4,n4,i2,e4,s2))});var m2=f2?i:(l2?c2?to:eo:c2?ja:xa)(e4);return It(m2||e4,function(r5,i2){m2&&(r5=e4[i2=r5]),Zn(a2,i2,sr(r5,t4,n4,i2,e4,s2))}),a2}function ar(e4,t4,n4){var r4=n4.length;if(e4==null)return!r4;for(e4=Te2(e4);r4--;){var o2=n4[r4],s2=t4[o2],a2=e4[o2];if(a2===i&&!(o2 in e4)||!s2(a2))return!1}return!0}function ur(e4,t4,n4){if(typeof e4!="function")throw new Ne2(o);return Ao(function(){e4.apply(i,n4)},t4)}function cr(e4,t4,n4,r4){var i2=-1,o2=Rt,s2=!0,a2=e4.length,u2=[],c2=t4.length;if(!a2)return u2;n4&&(t4=jt(t4,Xt(n4))),r4?(o2=xt,s2=!1):t4.length>=200&&(o2=Qt,s2=!1,t4=new Wn(t4));e:for(;++i2<a2;){var l2=e4[i2],f2=n4==null?l2:n4(l2);if(l2=r4||l2!==0?l2:0,s2&&f2==f2){for(var p2=c2;p2--;)if(t4[p2]===f2)continue e;u2.push(l2)}else o2(t4,f2,r4)||u2.push(l2)}return u2}Fn.templateSettings={escape:X,evaluate:J,interpolate:Q,variable:"",imports:{_:Fn}},Fn.prototype=$n.prototype,Fn.prototype.constructor=Fn,Un.prototype=Vn($n.prototype),Un.prototype.constructor=Un,Bn.prototype=Vn($n.prototype),Bn.prototype.constructor=Bn,Hn.prototype.clear=function(){this.__data__=Nn?Nn(null):{},this.size=0},Hn.prototype.delete=function(e4){var t4=this.has(e4)&&delete this.__data__[e4];return this.size-=t4?1:0,t4},Hn.prototype.get=function(e4){var t4=this.__data__;if(Nn){var n4=t4[e4];return n4===s?i:n4}return De2.call(t4,e4)?t4[e4]:i},Hn.prototype.has=function(e4){var t4=this.__data__;return Nn?t4[e4]!==i:De2.call(t4,e4)},Hn.prototype.set=function(e4,t4){var n4=this.__data__;return this.size+=this.has(e4)?0:1,n4[e4]=Nn&&t4===i?s:t4,this},Gn.prototype.clear=function(){this.__data__=[],this.size=0},Gn.prototype.delete=function(e4){var t4=this.__data__,n4=er(t4,e4);return!(n4<0||(n4==t4.length-1?t4.pop():ze2.call(t4,n4,1),--this.size,0))},Gn.prototype.get=function(e4){var t4=this.__data__,n4=er(t4,e4);return n4<0?i:t4[n4][1]},Gn.prototype.has=function(e4){return er(this.__data__,e4)>-1},Gn.prototype.set=function(e4,t4){var n4=this.__data__,r4=er(n4,e4);return r4<0?(++this.size,n4.push([e4,t4])):n4[r4][1]=t4,this},qn.prototype.clear=function(){this.size=0,this.__data__={hash:new Hn,map:new(On||Gn),string:new Hn}},qn.prototype.delete=function(e4){var t4=so(this,e4).delete(e4);return this.size-=t4?1:0,t4},qn.prototype.get=function(e4){return so(this,e4).get(e4)},qn.prototype.has=function(e4){return so(this,e4).has(e4)},qn.prototype.set=function(e4,t4){var n4=so(this,e4),r4=n4.size;return n4.set(e4,t4),this.size+=n4.size==r4?0:1,this},Wn.prototype.add=Wn.prototype.push=function(e4){return this.__data__.set(e4,s),this},Wn.prototype.has=function(e4){return this.__data__.has(e4)},zn.prototype.clear=function(){this.__data__=new Gn,this.size=0},zn.prototype.delete=function(e4){var t4=this.__data__,n4=t4.delete(e4);return this.size=t4.size,n4},zn.prototype.get=function(e4){return this.__data__.get(e4)},zn.prototype.has=function(e4){return this.__data__.has(e4)},zn.prototype.set=function(e4,t4){var n4=this.__data__;if(n4 instanceof Gn){var r4=n4.__data__;if(!On||r4.length<199)return r4.push([e4,t4]),this.size=++n4.size,this;n4=this.__data__=new qn(r4)}return n4.set(e4,t4),this.size=n4.size,this};var lr=xi(yr),fr=xi(Er,!0);function pr(e4,t4){var n4=!0;return lr(e4,function(e5,r4,i2){return n4=!!t4(e5,r4,i2)}),n4}function dr(e4,t4,n4){for(var r4=-1,o2=e4.length;++r4<o2;){var s2=e4[r4],a2=t4(s2);if(a2!=null&&(u2===i?a2==a2&&!aa(a2):n4(a2,u2)))var u2=a2,c2=s2}return c2}function hr(e4,t4){var n4=[];return lr(e4,function(e5,r4,i2){t4(e5,r4,i2)&&n4.push(e5)}),n4}function vr(e4,t4,n4,r4,i2){var o2=-1,s2=e4.length;for(n4||(n4=vo),i2||(i2=[]);++o2<s2;){var a2=e4[o2];t4>0&&n4(a2)?t4>1?vr(a2,t4-1,n4,r4,i2):Pt(i2,a2):r4||(i2[i2.length]=a2)}return i2}var mr=ji(),gr=ji(!0);function yr(e4,t4){return e4&&mr(e4,t4,xa)}function Er(e4,t4){return e4&&gr(e4,t4,xa)}function br(e4,t4){return At(t4,function(t5){return Js(e4[t5])})}function _r(e4,t4){for(var n4=0,r4=(t4=mi(t4,e4)).length;e4!=null&&n4<r4;)e4=e4[ko(t4[n4++])];return n4&&n4==r4?e4:i}function wr(e4,t4,n4){var r4=t4(e4);return Hs(e4)?r4:Pt(r4,n4(e4))}function Or(e4){return e4==null?e4===i?"[object Undefined]":"[object Null]":Ke2&&Ke2 in Te2(e4)?function(e5){var t4=De2.call(e5,Ke2),n4=e5[Ke2];try{e5[Ke2]=i;var r4=!0}catch{}var o2=ke2.call(e5);return r4&&(t4?e5[Ke2]=n4:delete e5[Ke2]),o2}(e4):function(e5){return ke2.call(e5)}(e4)}function Tr(e4,t4){return e4>t4}function Ir(e4,t4){return e4!=null&&De2.call(e4,t4)}function Sr(e4,t4){return e4!=null&&t4 in Te2(e4)}function Nr(e4,t4,n4){for(var o2=n4?xt:Rt,s2=e4[0].length,a2=e4.length,u2=a2,c2=r3(a2),l2=1/0,f2=[];u2--;){var p2=e4[u2];u2&&t4&&(p2=jt(p2,Xt(t4))),l2=gn(p2.length,l2),c2[u2]=!n4&&(t4||s2>=120&&p2.length>=120)?new Wn(u2&&p2):i}p2=e4[0];var d2=-1,h2=c2[0];e:for(;++d2<s2&&f2.length<l2;){var v2=p2[d2],m2=t4?t4(v2):v2;if(v2=n4||v2!==0?v2:0,!(h2?Qt(h2,m2):o2(f2,m2,n4))){for(u2=a2;--u2;){var g2=c2[u2];if(!(g2?Qt(g2,m2):o2(e4[u2],m2,n4)))continue e}h2&&h2.push(m2),f2.push(v2)}}return f2}function Ar(e4,t4,n4){var r4=(e4=Io(e4,t4=mi(t4,e4)))==null?e4:e4[ko(Xo(t4))];return r4==null?i:Ot(r4,e4,n4)}function Rr(e4){return ea(e4)&&Or(e4)==v}function xr(e4,t4,n4,r4,o2){return e4===t4||(e4==null||t4==null||!ea(e4)&&!ea(t4)?e4!=e4&&t4!=t4:function(e5,t5,n5,r5,o3,s2){var a2=Hs(e5),u2=Hs(t5),c2=a2?m:fo(e5),l2=u2?m:fo(t5),f2=(c2=c2==v?T:c2)==T,p2=(l2=l2==v?T:l2)==T,d2=c2==l2;if(d2&&zs(e5)){if(!zs(t5))return!1;a2=!0,f2=!1}if(d2&&!f2)return s2||(s2=new zn),a2||ua(e5)?Ki(e5,t5,n5,r5,o3,s2):function(e6,t6,n6,r6,i2,o4,s3){switch(n6){case P:if(e6.byteLength!=t6.byteLength||e6.byteOffset!=t6.byteOffset)return!1;e6=e6.buffer,t6=t6.buffer;case j:return!(e6.byteLength!=t6.byteLength||!o4(new Be2(e6),new Be2(t6)));case g:case y:case O:return Vs(+e6,+t6);case E:return e6.name==t6.name&&e6.message==t6.message;case S:case A:return e6==t6+"";case w:var a3=on;case N:var u3=1&r6;if(a3||(a3=un),e6.size!=t6.size&&!u3)return!1;var c3=s3.get(e6);if(c3)return c3==t6;r6|=2,s3.set(e6,t6);var l3=Ki(a3(e6),a3(t6),r6,i2,o4,s3);return s3.delete(e6),l3;case R:if(kn)return kn.call(e6)==kn.call(t6)}return!1}(e5,t5,c2,n5,r5,o3,s2);if(!(1&n5)){var h2=f2&&De2.call(e5,"__wrapped__"),b2=p2&&De2.call(t5,"__wrapped__");if(h2||b2){var _2=h2?e5.value():e5,I2=b2?t5.value():t5;return s2||(s2=new zn),o3(_2,I2,n5,r5,s2)}}return!!d2&&(s2||(s2=new zn),function(e6,t6,n6,r6,o4,s3){var a3=1&n6,u3=eo(e6),c3=u3.length;if(c3!=eo(t6).length&&!a3)return!1;for(var l3=c3;l3--;){var f3=u3[l3];if(!(a3?f3 in t6:De2.call(t6,f3)))return!1}var p3=s3.get(e6),d3=s3.get(t6);if(p3&&d3)return p3==t6&&d3==e6;var h3=!0;s3.set(e6,t6),s3.set(t6,e6);for(var v2=a3;++l3<c3;){var m2=e6[f3=u3[l3]],g2=t6[f3];if(r6)var y2=a3?r6(g2,m2,f3,t6,e6,s3):r6(m2,g2,f3,e6,t6,s3);if(!(y2===i?m2===g2||o4(m2,g2,n6,r6,s3):y2)){h3=!1;break}v2||(v2=f3=="constructor")}if(h3&&!v2){var E2=e6.constructor,b3=t6.constructor;E2==b3||!("constructor"in e6)||!("constructor"in t6)||typeof E2=="function"&&E2 instanceof E2&&typeof b3=="function"&&b3 instanceof b3||(h3=!1)}return s3.delete(e6),s3.delete(t6),h3}(e5,t5,n5,r5,o3,s2))}(e4,t4,n4,r4,xr,o2))}function jr(e4,t4,n4,r4){var o2=n4.length,s2=o2,a2=!r4;if(e4==null)return!s2;for(e4=Te2(e4);o2--;){var u2=n4[o2];if(a2&&u2[2]?u2[1]!==e4[u2[0]]:!(u2[0]in e4))return!1}for(;++o2<s2;){var c2=(u2=n4[o2])[0],l2=e4[c2],f2=u2[1];if(a2&&u2[2]){if(l2===i&&!(c2 in e4))return!1}else{var p2=new zn;if(r4)var d2=r4(l2,f2,c2,e4,t4,p2);if(!(d2===i?xr(f2,l2,3,r4,p2):d2))return!1}}return!0}function Pr(e4){return!(!Zs(e4)||(t4=e4,Me2&&Me2 in t4))&&(Js(e4)?Ve2:ve).test(Co(e4));var t4}function Dr(e4){return typeof e4=="function"?e4:e4==null?nu:typeof e4=="object"?Hs(e4)?Fr(e4[0],e4[1]):Cr(e4):fu(e4)}function Lr(e4){if(!_o(e4))return vn(e4);var t4=[];for(var n4 in Te2(e4))De2.call(e4,n4)&&n4!="constructor"&&t4.push(n4);return t4}function Mr(e4,t4){return e4<t4}function kr(e4,t4){var n4=-1,i2=qs(e4)?r3(e4.length):[];return lr(e4,function(e5,r4,o2){i2[++n4]=t4(e5,r4,o2)}),i2}function Cr(e4){var t4=ao(e4);return t4.length==1&&t4[0][2]?Oo(t4[0][0],t4[0][1]):function(n4){return n4===e4||jr(n4,e4,t4)}}function Fr(e4,t4){return yo(e4)&&wo(t4)?Oo(ko(e4),t4):function(n4){var r4=Ia(n4,e4);return r4===i&&r4===t4?Sa(n4,e4):xr(t4,r4,3)}}function Vr(e4,t4,n4,r4,o2){e4!==t4&&mr(t4,function(s2,a2){if(o2||(o2=new zn),Zs(s2))(function(e5,t5,n5,r5,o3,s3,a3){var u3=So(e5,n5),c2=So(t5,n5),l2=a3.get(c2);if(l2)Kn(e5,n5,l2);else{var f2=s3?s3(u3,c2,n5+"",e5,t5,a3):i,p2=f2===i;if(p2){var d2=Hs(c2),h2=!d2&&zs(c2),v2=!d2&&!h2&&ua(c2);f2=c2,d2||h2||v2?Hs(u3)?f2=u3:Ws(u3)?f2=Si(u3):h2?(p2=!1,f2=bi(c2,!0)):v2?(p2=!1,f2=wi(c2,!0)):f2=[]:ra(c2)||Bs(c2)?(f2=u3,Bs(u3)?f2=ma(u3):Zs(u3)&&!Js(u3)||(f2=ho(c2))):p2=!1}p2&&(a3.set(c2,f2),o3(f2,c2,r5,s3,a3),a3.delete(c2)),Kn(e5,n5,f2)}})(e4,t4,a2,n4,Vr,r4,o2);else{var u2=r4?r4(So(e4,a2),s2,a2+"",e4,t4,o2):i;u2===i&&(u2=s2),Kn(e4,a2,u2)}},ja)}function $r(e4,t4){var n4=e4.length;if(n4)return mo(t4+=t4<0?n4:0,n4)?e4[t4]:i}function Ur(e4,t4,n4){t4=t4.length?jt(t4,function(e5){return Hs(e5)?function(t5){return _r(t5,e5.length===1?e5[0]:e5)}:e5}):[nu];var r4=-1;t4=jt(t4,Xt(oo()));var i2=kr(e4,function(e5,n5,i3){var o2=jt(t4,function(t5){return t5(e5)});return{criteria:o2,index:++r4,value:e5}});return function(e5){var t5=e5.length;for(e5.sort(function(e6,t6){return function(e7,t7,n5){for(var r5=-1,i3=e7.criteria,o2=t7.criteria,s2=i3.length,a2=n5.length;++r5<s2;){var u2=Oi(i3[r5],o2[r5]);if(u2)return r5>=a2?u2:u2*(n5[r5]=="desc"?-1:1)}return e7.index-t7.index}(e6,t6,n4)});t5--;)e5[t5]=e5[t5].value;return e5}(i2)}function Br(e4,t4,n4){for(var r4=-1,i2=t4.length,o2={};++r4<i2;){var s2=t4[r4],a2=_r(e4,s2);n4(a2,s2)&&Jr(o2,mi(s2,e4),a2)}return o2}function Hr(e4,t4,n4,r4){var i2=r4?$t:Vt,o2=-1,s2=t4.length,a2=e4;for(e4===t4&&(t4=Si(t4)),n4&&(a2=jt(e4,Xt(n4)));++o2<s2;)for(var u2=0,c2=t4[o2],l2=n4?n4(c2):c2;(u2=i2(a2,l2,u2,r4))>-1;)a2!==e4&&ze2.call(a2,u2,1),ze2.call(e4,u2,1);return e4}function Gr(e4,t4){for(var n4=e4?t4.length:0,r4=n4-1;n4--;){var i2=t4[n4];if(n4==r4||i2!==o2){var o2=i2;mo(i2)?ze2.call(e4,i2,1):ui(e4,i2)}}return e4}function qr(e4,t4){return e4+dt2(bn()*(t4-e4+1))}function Wr(e4,t4){var n4="";if(!e4||t4<1||t4>f)return n4;do t4%2&&(n4+=e4),(t4=dt2(t4/2))&&(e4+=e4);while(t4);return n4}function zr(e4,t4){return Ro(To(e4,t4,nu),e4+"")}function Yr(e4){return Xn(Va(e4))}function Xr(e4,t4){var n4=Va(e4);return Po(n4,or(t4,0,n4.length))}function Jr(e4,t4,n4,r4){if(!Zs(e4))return e4;for(var o2=-1,s2=(t4=mi(t4,e4)).length,a2=s2-1,u2=e4;u2!=null&&++o2<s2;){var c2=ko(t4[o2]),l2=n4;if(c2==="__proto__"||c2==="constructor"||c2==="prototype")return e4;if(o2!=a2){var f2=u2[c2];(l2=r4?r4(f2,c2,u2):i)===i&&(l2=Zs(f2)?f2:mo(t4[o2+1])?[]:{})}Zn(u2,c2,l2),u2=u2[c2]}return e4}var Qr=An?function(e4,t4){return An.set(e4,t4),e4}:nu,Kr=et2?function(e4,t4){return et2(e4,"toString",{configurable:!0,enumerable:!1,value:Za(t4),writable:!0})}:nu;function Zr(e4){return Po(Va(e4))}function ei(e4,t4,n4){var i2=-1,o2=e4.length;t4<0&&(t4=-t4>o2?0:o2+t4),(n4=n4>o2?o2:n4)<0&&(n4+=o2),o2=t4>n4?0:n4-t4>>>0,t4>>>=0;for(var s2=r3(o2);++i2<o2;)s2[i2]=e4[i2+t4];return s2}function ti(e4,t4){var n4;return lr(e4,function(e5,r4,i2){return!(n4=t4(e5,r4,i2))}),!!n4}function ni(e4,t4,n4){var r4=0,i2=e4==null?r4:e4.length;if(typeof t4=="number"&&t4==t4&&i2<=2147483647){for(;r4<i2;){var o2=r4+i2>>>1,s2=e4[o2];s2!==null&&!aa(s2)&&(n4?s2<=t4:s2<t4)?r4=o2+1:i2=o2}return i2}return ri(e4,t4,nu,n4)}function ri(e4,t4,n4,r4){var o2=0,s2=e4==null?0:e4.length;if(s2===0)return 0;for(var a2=(t4=n4(t4))!=t4,u2=t4===null,c2=aa(t4),l2=t4===i;o2<s2;){var f2=dt2((o2+s2)/2),p2=n4(e4[f2]),d2=p2!==i,h2=p2===null,v2=p2==p2,m2=aa(p2);if(a2)var g2=r4||v2;else g2=l2?v2&&(r4||d2):u2?v2&&d2&&(r4||!h2):c2?v2&&d2&&!h2&&(r4||!m2):!h2&&!m2&&(r4?p2<=t4:p2<t4);g2?o2=f2+1:s2=f2}return gn(s2,4294967294)}function ii(e4,t4){for(var n4=-1,r4=e4.length,i2=0,o2=[];++n4<r4;){var s2=e4[n4],a2=t4?t4(s2):s2;if(!n4||!Vs(a2,u2)){var u2=a2;o2[i2++]=s2===0?0:s2}}return o2}function oi(e4){return typeof e4=="number"?e4:aa(e4)?p:+e4}function si(e4){if(typeof e4=="string")return e4;if(Hs(e4))return jt(e4,si)+"";if(aa(e4))return Cn?Cn.call(e4):"";var t4=e4+"";return t4=="0"&&1/e4==-1/0?"-0":t4}function ai(e4,t4,n4){var r4=-1,i2=Rt,o2=e4.length,s2=!0,a2=[],u2=a2;if(n4)s2=!1,i2=xt;else if(o2>=200){var c2=t4?null:Wi(e4);if(c2)return un(c2);s2=!1,i2=Qt,u2=new Wn}else u2=t4?[]:a2;e:for(;++r4<o2;){var l2=e4[r4],f2=t4?t4(l2):l2;if(l2=n4||l2!==0?l2:0,s2&&f2==f2){for(var p2=u2.length;p2--;)if(u2[p2]===f2)continue e;t4&&u2.push(f2),a2.push(l2)}else i2(u2,f2,n4)||(u2!==a2&&u2.push(f2),a2.push(l2))}return a2}function ui(e4,t4){return(e4=Io(e4,t4=mi(t4,e4)))==null||delete e4[ko(Xo(t4))]}function ci(e4,t4,n4,r4){return Jr(e4,t4,n4(_r(e4,t4)),r4)}function li(e4,t4,n4,r4){for(var i2=e4.length,o2=r4?i2:-1;(r4?o2--:++o2<i2)&&t4(e4[o2],o2,e4););return n4?ei(e4,r4?0:o2,r4?o2+1:i2):ei(e4,r4?o2+1:0,r4?i2:o2)}function fi(e4,t4){var n4=e4;return n4 instanceof Bn&&(n4=n4.value()),Dt(t4,function(e5,t5){return t5.func.apply(t5.thisArg,Pt([e5],t5.args))},n4)}function pi(e4,t4,n4){var i2=e4.length;if(i2<2)return i2?ai(e4[0]):[];for(var o2=-1,s2=r3(i2);++o2<i2;)for(var a2=e4[o2],u2=-1;++u2<i2;)u2!=o2&&(s2[o2]=cr(s2[o2]||a2,e4[u2],t4,n4));return ai(vr(s2,1),t4,n4)}function di(e4,t4,n4){for(var r4=-1,o2=e4.length,s2=t4.length,a2={};++r4<o2;){var u2=r4<s2?t4[r4]:i;n4(a2,e4[r4],u2)}return a2}function hi(e4){return Ws(e4)?e4:[]}function vi(e4){return typeof e4=="function"?e4:nu}function mi(e4,t4){return Hs(e4)?e4:yo(e4,t4)?[e4]:Mo(ga(e4))}var gi=zr;function yi(e4,t4,n4){var r4=e4.length;return n4=n4===i?r4:n4,!t4&&n4>=r4?e4:ei(e4,t4,n4)}var Ei=st2||function(e4){return ft.clearTimeout(e4)};function bi(e4,t4){if(t4)return e4.slice();var n4=e4.length,r4=He2?He2(n4):new e4.constructor(n4);return e4.copy(r4),r4}function _i(e4){var t4=new e4.constructor(e4.byteLength);return new Be2(t4).set(new Be2(e4)),t4}function wi(e4,t4){var n4=t4?_i(e4.buffer):e4.buffer;return new e4.constructor(n4,e4.byteOffset,e4.length)}function Oi(e4,t4){if(e4!==t4){var n4=e4!==i,r4=e4===null,o2=e4==e4,s2=aa(e4),a2=t4!==i,u2=t4===null,c2=t4==t4,l2=aa(t4);if(!u2&&!l2&&!s2&&e4>t4||s2&&a2&&c2&&!u2&&!l2||r4&&a2&&c2||!n4&&c2||!o2)return 1;if(!r4&&!s2&&!l2&&e4<t4||l2&&n4&&o2&&!r4&&!s2||u2&&n4&&o2||!a2&&o2||!c2)return-1}return 0}function Ti(e4,t4,n4,i2){for(var o2=-1,s2=e4.length,a2=n4.length,u2=-1,c2=t4.length,l2=mn(s2-a2,0),f2=r3(c2+l2),p2=!i2;++u2<c2;)f2[u2]=t4[u2];for(;++o2<a2;)(p2||o2<s2)&&(f2[n4[o2]]=e4[o2]);for(;l2--;)f2[u2++]=e4[o2++];return f2}function Ii(e4,t4,n4,i2){for(var o2=-1,s2=e4.length,a2=-1,u2=n4.length,c2=-1,l2=t4.length,f2=mn(s2-u2,0),p2=r3(f2+l2),d2=!i2;++o2<f2;)p2[o2]=e4[o2];for(var h2=o2;++c2<l2;)p2[h2+c2]=t4[c2];for(;++a2<u2;)(d2||o2<s2)&&(p2[h2+n4[a2]]=e4[o2++]);return p2}function Si(e4,t4){var n4=-1,i2=e4.length;for(t4||(t4=r3(i2));++n4<i2;)t4[n4]=e4[n4];return t4}function Ni(e4,t4,n4,r4){var o2=!n4;n4||(n4={});for(var s2=-1,a2=t4.length;++s2<a2;){var u2=t4[s2],c2=r4?r4(n4[u2],e4[u2],u2,n4,e4):i;c2===i&&(c2=e4[u2]),o2?rr(n4,u2,c2):Zn(n4,u2,c2)}return n4}function Ai(e4,t4){return function(n4,r4){var i2=Hs(n4)?Tt:tr,o2=t4?t4():{};return i2(n4,e4,oo(r4,2),o2)}}function Ri(e4){return zr(function(t4,n4){var r4=-1,o2=n4.length,s2=o2>1?n4[o2-1]:i,a2=o2>2?n4[2]:i;for(s2=e4.length>3&&typeof s2=="function"?(o2--,s2):i,a2&&go(n4[0],n4[1],a2)&&(s2=o2<3?i:s2,o2=1),t4=Te2(t4);++r4<o2;){var u2=n4[r4];u2&&e4(t4,u2,r4,s2)}return t4})}function xi(e4,t4){return function(n4,r4){if(n4==null)return n4;if(!qs(n4))return e4(n4,r4);for(var i2=n4.length,o2=t4?i2:-1,s2=Te2(n4);(t4?o2--:++o2<i2)&&r4(s2[o2],o2,s2)!==!1;);return n4}}function ji(e4){return function(t4,n4,r4){for(var i2=-1,o2=Te2(t4),s2=r4(t4),a2=s2.length;a2--;){var u2=s2[e4?a2:++i2];if(n4(o2[u2],u2,o2)===!1)break}return t4}}function Pi(e4){return function(t4){var n4=rn(t4=ga(t4))?fn(t4):i,r4=n4?n4[0]:t4.charAt(0),o2=n4?yi(n4,1).join(""):t4.slice(1);return r4[e4]()+o2}}function Di(e4){return function(t4){return Dt(Ja(Ba(t4).replace(Je,"")),e4,"")}}function Li(e4){return function(){var t4=arguments;switch(t4.length){case 0:return new e4;case 1:return new e4(t4[0]);case 2:return new e4(t4[0],t4[1]);case 3:return new e4(t4[0],t4[1],t4[2]);case 4:return new e4(t4[0],t4[1],t4[2],t4[3]);case 5:return new e4(t4[0],t4[1],t4[2],t4[3],t4[4]);case 6:return new e4(t4[0],t4[1],t4[2],t4[3],t4[4],t4[5]);case 7:return new e4(t4[0],t4[1],t4[2],t4[3],t4[4],t4[5],t4[6])}var n4=Vn(e4.prototype),r4=e4.apply(n4,t4);return Zs(r4)?r4:n4}}function Mi(e4){return function(t4,n4,r4){var o2=Te2(t4);if(!qs(t4)){var s2=oo(n4,3);t4=xa(t4),n4=function(e5){return s2(o2[e5],e5,o2)}}var a2=e4(t4,n4,r4);return a2>-1?o2[s2?t4[a2]:a2]:i}}function ki(e4){return Zi(function(t4){var n4=t4.length,r4=n4,s2=Un.prototype.thru;for(e4&&t4.reverse();r4--;){var a2=t4[r4];if(typeof a2!="function")throw new Ne2(o);if(s2&&!u2&&ro(a2)=="wrapper")var u2=new Un([],!0)}for(r4=u2?r4:n4;++r4<n4;){var c2=ro(a2=t4[r4]),l2=c2=="wrapper"?no(a2):i;u2=l2&&Eo(l2[0])&&l2[1]==424&&!l2[4].length&&l2[9]==1?u2[ro(l2[0])].apply(u2,l2[3]):a2.length==1&&Eo(a2)?u2[c2]():u2.thru(a2)}return function(){var e5=arguments,r5=e5[0];if(u2&&e5.length==1&&Hs(r5))return u2.plant(r5).value();for(var i2=0,o2=n4?t4[i2].apply(this,e5):r5;++i2<n4;)o2=t4[i2].call(this,o2);return o2}})}function Ci(e4,t4,n4,o2,s2,a2,u2,l2,f2,p2){var d2=t4&c,h2=1&t4,v2=2&t4,m2=24&t4,g2=512&t4,y2=v2?i:Li(e4);return function c2(){for(var E2=arguments.length,b2=r3(E2),_2=E2;_2--;)b2[_2]=arguments[_2];if(m2)var w2=io(c2),O2=function(e5,t5){for(var n5=e5.length,r4=0;n5--;)e5[n5]===t5&&++r4;return r4}(b2,w2);if(o2&&(b2=Ti(b2,o2,s2,m2)),a2&&(b2=Ii(b2,a2,u2,m2)),E2-=O2,m2&&E2<p2){var T2=an(b2,w2);return Gi(e4,t4,Ci,c2.placeholder,n4,b2,T2,l2,f2,p2-E2)}var I2=h2?n4:this,S2=v2?I2[e4]:e4;return E2=b2.length,l2?b2=function(e5,t5){for(var n5=e5.length,r4=gn(t5.length,n5),o3=Si(e5);r4--;){var s3=t5[r4];e5[r4]=mo(s3,n5)?o3[s3]:i}return e5}(b2,l2):g2&&E2>1&&b2.reverse(),d2&&f2<E2&&(b2.length=f2),this&&this!==ft&&this instanceof c2&&(S2=y2||Li(S2)),S2.apply(I2,b2)}}function Fi(e4,t4){return function(n4,r4){return function(e5,t5,n5,r5){return yr(e5,function(e6,i2,o2){t5(r5,n5(e6),i2,o2)}),r5}(n4,e4,t4(r4),{})}}function Vi(e4,t4){return function(n4,r4){var o2;if(n4===i&&r4===i)return t4;if(n4!==i&&(o2=n4),r4!==i){if(o2===i)return r4;typeof n4=="string"||typeof r4=="string"?(n4=si(n4),r4=si(r4)):(n4=oi(n4),r4=oi(r4)),o2=e4(n4,r4)}return o2}}function $i(e4){return Zi(function(t4){return t4=jt(t4,Xt(oo())),zr(function(n4){var r4=this;return e4(t4,function(e5){return Ot(e5,r4,n4)})})})}function Ui(e4,t4){var n4=(t4=t4===i?" ":si(t4)).length;if(n4<2)return n4?Wr(t4,e4):t4;var r4=Wr(t4,pt2(e4/ln(t4)));return rn(t4)?yi(fn(r4),0,e4).join(""):r4.slice(0,e4)}function Bi(e4){return function(t4,n4,o2){return o2&&typeof o2!="number"&&go(t4,n4,o2)&&(n4=o2=i),t4=pa(t4),n4===i?(n4=t4,t4=0):n4=pa(n4),function(e5,t5,n5,i2){for(var o3=-1,s2=mn(pt2((t5-e5)/(n5||1)),0),a2=r3(s2);s2--;)a2[i2?s2:++o3]=e5,e5+=n5;return a2}(t4,n4,o2=o2===i?t4<n4?1:-1:pa(o2),e4)}}function Hi(e4){return function(t4,n4){return typeof t4=="string"&&typeof n4=="string"||(t4=va(t4),n4=va(n4)),e4(t4,n4)}}function Gi(e4,t4,n4,r4,o2,s2,a2,c2,l2,f2){var p2=8&t4;t4|=p2?u:64,4&(t4&=~(p2?64:u))||(t4&=-4);var d2=[e4,t4,o2,p2?s2:i,p2?a2:i,p2?i:s2,p2?i:a2,c2,l2,f2],h2=n4.apply(i,d2);return Eo(e4)&&No(h2,d2),h2.placeholder=r4,xo(h2,e4,t4)}function qi(e4){var t4=Oe2[e4];return function(e5,n4){if(e5=va(e5),(n4=n4==null?0:gn(da(n4),292))&&kt2(e5)){var r4=(ga(e5)+"e").split("e");return+((r4=(ga(t4(r4[0]+"e"+(+r4[1]+n4)))+"e").split("e"))[0]+"e"+(+r4[1]-n4))}return t4(e5)}}var Wi=In&&1/un(new In([,-0]))[1]==l?function(e4){return new In(e4)}:au;function zi(e4){return function(t4){var n4=fo(t4);return n4==w?on(t4):n4==N?cn(t4):function(e5,t5){return jt(t5,function(t6){return[t6,e5[t6]]})}(t4,e4(t4))}}function Yi(e4,t4,n4,s2,l2,f2,p2,d2){var h2=2&t4;if(!h2&&typeof e4!="function")throw new Ne2(o);var v2=s2?s2.length:0;if(v2||(t4&=-97,s2=l2=i),p2=p2===i?p2:mn(da(p2),0),d2=d2===i?d2:da(d2),v2-=l2?l2.length:0,64&t4){var m2=s2,g2=l2;s2=l2=i}var y2=h2?i:no(e4),E2=[e4,t4,n4,s2,l2,m2,g2,f2,p2,d2];if(y2&&function(e5,t5){var n5=e5[1],r4=t5[1],i2=n5|r4,o2=i2<131,s3=r4==c&&n5==8||r4==c&&n5==256&&e5[7].length<=t5[8]||r4==384&&t5[7].length<=t5[8]&&n5==8;if(!o2&&!s3)return e5;1&r4&&(e5[2]=t5[2],i2|=1&n5?0:4);var u2=t5[3];if(u2){var l3=e5[3];e5[3]=l3?Ti(l3,u2,t5[4]):u2,e5[4]=l3?an(e5[3],a):t5[4]}(u2=t5[5])&&(l3=e5[5],e5[5]=l3?Ii(l3,u2,t5[6]):u2,e5[6]=l3?an(e5[5],a):t5[6]),(u2=t5[7])&&(e5[7]=u2),r4&c&&(e5[8]=e5[8]==null?t5[8]:gn(e5[8],t5[8])),e5[9]==null&&(e5[9]=t5[9]),e5[0]=t5[0],e5[1]=i2}(E2,y2),e4=E2[0],t4=E2[1],n4=E2[2],s2=E2[3],l2=E2[4],!(d2=E2[9]=E2[9]===i?h2?0:e4.length:mn(E2[9]-v2,0))&&24&t4&&(t4&=-25),t4&&t4!=1)b2=t4==8||t4==16?function(e5,t5,n5){var o2=Li(e5);return function s3(){for(var a2=arguments.length,u2=r3(a2),c2=a2,l3=io(s3);c2--;)u2[c2]=arguments[c2];var f3=a2<3&&u2[0]!==l3&&u2[a2-1]!==l3?[]:an(u2,l3);return(a2-=f3.length)<n5?Gi(e5,t5,Ci,s3.placeholder,i,u2,f3,i,i,n5-a2):Ot(this&&this!==ft&&this instanceof s3?o2:e5,this,u2)}}(e4,t4,d2):t4!=u&&t4!=33||l2.length?Ci.apply(i,E2):function(e5,t5,n5,i2){var o2=1&t5,s3=Li(e5);return function t6(){for(var a2=-1,u2=arguments.length,c2=-1,l3=i2.length,f3=r3(l3+u2),p3=this&&this!==ft&&this instanceof t6?s3:e5;++c2<l3;)f3[c2]=i2[c2];for(;u2--;)f3[c2++]=arguments[++a2];return Ot(p3,o2?n5:this,f3)}}(e4,t4,n4,s2);else var b2=function(e5,t5,n5){var r4=1&t5,i2=Li(e5);return function t6(){return(this&&this!==ft&&this instanceof t6?i2:e5).apply(r4?n5:this,arguments)}}(e4,t4,n4);return xo((y2?Qr:No)(b2,E2),e4,t4)}function Xi(e4,t4,n4,r4){return e4===i||Vs(e4,xe2[n4])&&!De2.call(r4,n4)?t4:e4}function Ji(e4,t4,n4,r4,o2,s2){return Zs(e4)&&Zs(t4)&&(s2.set(t4,e4),Vr(e4,t4,i,Ji,s2),s2.delete(t4)),e4}function Qi(e4){return ra(e4)?i:e4}function Ki(e4,t4,n4,r4,o2,s2){var a2=1&n4,u2=e4.length,c2=t4.length;if(u2!=c2&&!(a2&&c2>u2))return!1;var l2=s2.get(e4),f2=s2.get(t4);if(l2&&f2)return l2==t4&&f2==e4;var p2=-1,d2=!0,h2=2&n4?new Wn:i;for(s2.set(e4,t4),s2.set(t4,e4);++p2<u2;){var v2=e4[p2],m2=t4[p2];if(r4)var g2=a2?r4(m2,v2,p2,t4,e4,s2):r4(v2,m2,p2,e4,t4,s2);if(g2!==i){if(g2)continue;d2=!1;break}if(h2){if(!Mt(t4,function(e5,t5){if(!Qt(h2,t5)&&(v2===e5||o2(v2,e5,n4,r4,s2)))return h2.push(t5)})){d2=!1;break}}else if(v2!==m2&&!o2(v2,m2,n4,r4,s2)){d2=!1;break}}return s2.delete(e4),s2.delete(t4),d2}function Zi(e4){return Ro(To(e4,i,Go),e4+"")}function eo(e4){return wr(e4,xa,co)}function to(e4){return wr(e4,ja,lo)}var no=An?function(e4){return An.get(e4)}:au;function ro(e4){for(var t4=e4.name+"",n4=Rn[t4],r4=De2.call(Rn,t4)?n4.length:0;r4--;){var i2=n4[r4],o2=i2.func;if(o2==null||o2==e4)return i2.name}return t4}function io(e4){return(De2.call(Fn,"placeholder")?Fn:e4).placeholder}function oo(){var e4=Fn.iteratee||ru;return e4=e4===ru?Dr:e4,arguments.length?e4(arguments[0],arguments[1]):e4}function so(e4,t4){var n4=e4.__data__;return function(e5){var t5=typeof e5;return t5=="string"||t5=="number"||t5=="symbol"||t5=="boolean"?e5!=="__proto__":e5===null}(t4)?n4[typeof t4=="string"?"string":"hash"]:n4.map}function ao(e4){for(var t4=xa(e4),n4=t4.length;n4--;){var r4=t4[n4],i2=e4[r4];t4[n4]=[r4,i2,wo(i2)]}return t4}function uo(e4,t4){var n4=function(e5,t5){return e5==null?i:e5[t5]}(e4,t4);return Pr(n4)?n4:i}var co=vt2?function(e4){return e4==null?[]:(e4=Te2(e4),At(vt2(e4),function(t4){return We2.call(e4,t4)}))}:hu,lo=vt2?function(e4){for(var t4=[];e4;)Pt(t4,co(e4)),e4=Ge2(e4);return t4}:hu,fo=Or;function po(e4,t4,n4){for(var r4=-1,i2=(t4=mi(t4,e4)).length,o2=!1;++r4<i2;){var s2=ko(t4[r4]);if(!(o2=e4!=null&&n4(e4,s2)))break;e4=e4[s2]}return o2||++r4!=i2?o2:!!(i2=e4==null?0:e4.length)&&Ks(i2)&&mo(s2,i2)&&(Hs(e4)||Bs(e4))}function ho(e4){return typeof e4.constructor!="function"||_o(e4)?{}:Vn(Ge2(e4))}function vo(e4){return Hs(e4)||Bs(e4)||!!(Ye2&&e4&&e4[Ye2])}function mo(e4,t4){var n4=typeof e4;return!!(t4=t4??f)&&(n4=="number"||n4!="symbol"&&ge.test(e4))&&e4>-1&&e4%1==0&&e4<t4}function go(e4,t4,n4){if(!Zs(n4))return!1;var r4=typeof t4;return!!(r4=="number"?qs(n4)&&mo(t4,n4.length):r4=="string"&&t4 in n4)&&Vs(n4[t4],e4)}function yo(e4,t4){if(Hs(e4))return!1;var n4=typeof e4;return!(n4!="number"&&n4!="symbol"&&n4!="boolean"&&e4!=null&&!aa(e4))||Z.test(e4)||!K.test(e4)||t4!=null&&e4 in Te2(t4)}function Eo(e4){var t4=ro(e4),n4=Fn[t4];if(typeof n4!="function"||!(t4 in Bn.prototype))return!1;if(e4===n4)return!0;var r4=no(n4);return!!r4&&e4===r4[0]}(wn&&fo(new wn(new ArrayBuffer(1)))!=P||On&&fo(new On)!=w||Tn&&fo(Tn.resolve())!=I||In&&fo(new In)!=N||Sn&&fo(new Sn)!=x)&&(fo=function(e4){var t4=Or(e4),n4=t4==T?e4.constructor:i,r4=n4?Co(n4):"";if(r4)switch(r4){case xn:return P;case jn:return w;case Pn:return I;case Dn:return N;case Ln:return x}return t4});var bo=je2?Js:vu;function _o(e4){var t4=e4&&e4.constructor;return e4===(typeof t4=="function"&&t4.prototype||xe2)}function wo(e4){return e4==e4&&!Zs(e4)}function Oo(e4,t4){return function(n4){return n4!=null&&n4[e4]===t4&&(t4!==i||e4 in Te2(n4))}}function To(e4,t4,n4){return t4=mn(t4===i?e4.length-1:t4,0),function(){for(var i2=arguments,o2=-1,s2=mn(i2.length-t4,0),a2=r3(s2);++o2<s2;)a2[o2]=i2[t4+o2];o2=-1;for(var u2=r3(t4+1);++o2<t4;)u2[o2]=i2[o2];return u2[t4]=n4(a2),Ot(e4,this,u2)}}function Io(e4,t4){return t4.length<2?e4:_r(e4,ei(t4,0,-1))}function So(e4,t4){if((t4!=="constructor"||typeof e4[t4]!="function")&&t4!="__proto__")return e4[t4]}var No=jo(Qr),Ao=lt2||function(e4,t4){return ft.setTimeout(e4,t4)},Ro=jo(Kr);function xo(e4,t4,n4){var r4=t4+"";return Ro(e4,function(e5,t5){var n5=t5.length;if(!n5)return e5;var r5=n5-1;return t5[r5]=(n5>1?"& ":"")+t5[r5],t5=t5.join(n5>2?", ":" "),e5.replace(oe,`{
21
+ if this is a scope on bit.cloud please add the organization name before the scope (yourOrg.some-scope-name)`),this.scopeName=e3}}t2.default=i},7060:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0});const r2=n2(4490);class i extends r2.BitError{constructor(e3,t3,n3){super(`error: "${t3||e3}" ${n3?`configured in variant "${n3}" `:""}is invalid, component scope names can only contain alphanumeric, lowercase characters, and the following ["-", "_", "$", "!"]`)}}t2.default=i},7973:function(e2,t2,n2){"use strict";var r2=this&&this.__createBinding||(Object.create?function(e3,t3,n3,r3){r3===void 0&&(r3=n3);var i2=Object.getOwnPropertyDescriptor(t3,n3);i2&&!("get"in i2?!t3.__esModule:i2.writable||i2.configurable)||(i2={enumerable:!0,get:function(){return t3[n3]}}),Object.defineProperty(e3,r3,i2)}:function(e3,t3,n3,r3){r3===void 0&&(r3=n3),e3[r3]=t3[n3]}),i=this&&this.__setModuleDefault||(Object.create?function(e3,t3){Object.defineProperty(e3,"default",{enumerable:!0,value:t3})}:function(e3,t3){e3.default=t3}),o=this&&this.__importStar||function(e3){if(e3&&e3.__esModule)return e3;var t3={};if(e3!=null)for(var n3 in e3)n3!=="default"&&Object.prototype.hasOwnProperty.call(e3,n3)&&r2(t3,e3,n3);return i(t3,e3),t3},s=this&&this.__importDefault||function(e3){return e3&&e3.__esModule?e3:{default:e3}};Object.defineProperty(t2,"__esModule",{value:!0}),t2.InvalidScopeNameFromRemote=t2.InvalidScopeName=t2.InvalidName=t2.isValidIdChunk=t2.isValidScopeName=t2.VERSION_DELIMITER=t2.BitIds=t2.BitId=void 0;const a=o(n2(1026));t2.BitId=a.default,Object.defineProperty(t2,"VERSION_DELIMITER",{enumerable:!0,get:function(){return a.VERSION_DELIMITER}});const u=s(n2(6321));t2.BitIds=u.default;const c=n2(3796);Object.defineProperty(t2,"InvalidName",{enumerable:!0,get:function(){return c.InvalidName}}),Object.defineProperty(t2,"InvalidScopeName",{enumerable:!0,get:function(){return c.InvalidScopeName}}),Object.defineProperty(t2,"InvalidScopeNameFromRemote",{enumerable:!0,get:function(){return c.InvalidScopeNameFromRemote}});const l=s(n2(1857));t2.isValidScopeName=l.default;const f=s(n2(1724));t2.isValidIdChunk=f.default},1724:(e2,t2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.default=function(e3,t3=!0){return typeof e3=="string"&&!e3.includes("//")&&(t3?n2:r2).test(e3)};const n2=/^[-_a-z0-9/]+$/,r2=/^[-_a-z0-9]+$/},1857:(e2,t2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.default=function(e3){return typeof e3=="string"&&n2.test(e3)};const n2=/^[$\-_!a-z0-9]+[.]?[$\-_!a-z0-9]+$/},6300:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.linkModules=t2.PreviewModules=t2.PREVIEW_MODULES=void 0;var r2=n2(668);Object.defineProperty(t2,"PREVIEW_MODULES",{enumerable:!0,get:function(){return r2.PREVIEW_MODULES}}),Object.defineProperty(t2,"PreviewModules",{enumerable:!0,get:function(){return r2.PreviewModules}}),Object.defineProperty(t2,"linkModules",{enumerable:!0,get:function(){return r2.linkModules}})},668:(e2,t2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.linkModules=t2.PREVIEW_MODULES=t2.PreviewModules=void 0;class n2 extends Map{constructor(){super(...arguments),this.onSet=new Set}set(e3,t3){return super.set(e3,t3),this.onSet.forEach(e4=>e4()),this}loadComponentPreviews(e3,t3){Object.entries(t3).forEach(([t4,n3])=>{const r2=this.get(t4);r2&&(r2.componentMap[e3]=n3)})}}t2.PreviewModules=n2,t2.PREVIEW_MODULES=typeof window<"u"?(window.__bit_preview_modules||(window.__bit_preview_modules=new n2),window.__bit_preview_modules):new n2,t2.linkModules=function(e3,n3){t2.PREVIEW_MODULES.set(e3,n3)}},833:(e2,t2)=>{"use strict";function n2(e3){for(let t3=e3;t3!==null&&t3.type!==null;t3=t3.return)if(typeof t3.type=="function"||typeof t3.type=="object"&&typeof t3.type.render=="function")return t3;return null}Object.defineProperty(t2,"__esModule",{value:!0}),t2.fiberToPrototype=t2.toRootFiber=t2.domToFiber=void 0,t2.domToFiber=function(e3){if(!e3)return null;const t3=Object.keys(e3).find(e4=>e4.startsWith("__reactFiber")||e4.startsWith("__reactInternalInstance"));return t3&&e3[t3]||null},t2.toRootFiber=n2,t2.fiberToPrototype=function(e3){var t3;return((t3=n2(e3))===null||t3===void 0?void 0:t3.type)||null}},7304:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.domToReacts=t2.domToReact=t2.toRootElement=void 0;const r2=n2(833);function i(e3){if(e3===null)return[];const t3=(0,r2.domToFiber)(e3);return function(e4){const t4=[];let n3=e4;for(;n3&&n3.type!==null&&typeof n3.type!="string";)t4.push(n3.type),n3=n3.return;return t4}((0,r2.toRootFiber)(t3))}t2.toRootElement=function(e3){const t3=(0,r2.toRootFiber)((0,r2.domToFiber)(e3));if(!t3)return null;for(let n3=e3;n3;n3=n3.parentElement){const e4=(0,r2.domToFiber)(n3);if(!e4)return null;const i2=e4.return;if(e4===t3||i2===t3)return n3}return null},t2.domToReact=function(e3){return i(e3).pop()},t2.domToReacts=i},9046:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.fiberToPrototype=t2.toRootFiber=t2.domToFiber=t2.toRootElement=t2.domToReacts=t2.domToReact=void 0;var r2=n2(7304);Object.defineProperty(t2,"domToReact",{enumerable:!0,get:function(){return r2.domToReact}}),Object.defineProperty(t2,"domToReacts",{enumerable:!0,get:function(){return r2.domToReacts}}),Object.defineProperty(t2,"toRootElement",{enumerable:!0,get:function(){return r2.toRootElement}});var i=n2(833);Object.defineProperty(t2,"domToFiber",{enumerable:!0,get:function(){return i.domToFiber}}),Object.defineProperty(t2,"toRootFiber",{enumerable:!0,get:function(){return i.toRootFiber}}),Object.defineProperty(t2,"fiberToPrototype",{enumerable:!0,get:function(){return i.fiberToPrototype}})},773:function(e2,t2,n2){"use strict";var r2=this&&this.__rest||function(e3,t3){var n3={};for(var r3 in e3)Object.prototype.hasOwnProperty.call(e3,r3)&&t3.indexOf(r3)<0&&(n3[r3]=e3[r3]);if(e3!=null&&typeof Object.getOwnPropertySymbols=="function"){var i2=0;for(r3=Object.getOwnPropertySymbols(e3);i2<r3.length;i2++)t3.indexOf(r3[i2])<0&&Object.prototype.propertyIsEnumerable.call(e3,r3[i2])&&(n3[r3[i2]]=e3[r3[i2]])}return n3},i=this&&this.__importDefault||function(e3){return e3&&e3.__esModule?e3:{default:e3}};Object.defineProperty(t2,"__esModule",{value:!0}),t2.ChildrenHighlighter=function(e3){var{watchMotion:t3=!1}=e3,n3=r2(e3,["watchMotion"]);return o.default.createElement(s.HybridHighlighter,Object.assign({},n3,{mode:"allChildren",watchMotion:t3}))};const o=i(n2(2015)),s=n2(7459)},8690:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.ChildrenHighlighter=t2.useChildrenHighlighter=void 0;var r2=n2(1707);Object.defineProperty(t2,"useChildrenHighlighter",{enumerable:!0,get:function(){return r2.useChildrenHighlighter}});var i=n2(773);Object.defineProperty(t2,"ChildrenHighlighter",{enumerable:!0,get:function(){return i.ChildrenHighlighter}})},1707:function(e2,t2,n2){"use strict";var r2=this&&this.__importDefault||function(e3){return e3&&e3.__esModule?e3:{default:e3}};Object.defineProperty(t2,"__esModule",{value:!0}),t2.useChildrenHighlighter=function({onChange:e3,disabled:t3,scopeRef:n3,scopeClass:r3="",rule:l,componentRule:f}){(0,i.useEffect)(()=>{const i2={},p=n3.current;if(!p||t3)return;let d=Array.from(p.querySelectorAll(function(e4=":scope"){return`:not(${`${e4} ${u.excludeHighlighterSelector}, ${e4} ${u.excludeHighlighterSelector} *`}, ${`${e4} ${u.skipHighlighterSelector}, ${e4} ${u.skipHighlighterSelector} *`})`}(`.${r3}`)));l&&(d=d.filter(e4=>(0,c.ruleMatcher)(e4,l)));const h=d.map(s.toRootElement).filter(e4=>!!e4);new Set(h).forEach(e4=>{if(!e4)return;const t4=(0,s.domToReacts)(e4).filter(e5=>(0,a.hasComponentMeta)(e5)&&(0,c.componentRuleMatcher)({meta:e5[a.componentMetaField]},f));if(t4.length<1)return;const n4=(0,o.default)(e4);i2[n4]={element:e4,components:t4}}),e3(i2)},[t3,r3])};const i=n2(2015),o=r2(n2(5692)),s=n2(9046),a=n2(5489),u=n2(28),c=n2(7905)},9581:function(e2,t2,n2){"use strict";var r2=this&&this.__rest||function(e3,t3){var n3={};for(var r3 in e3)Object.prototype.hasOwnProperty.call(e3,r3)&&t3.indexOf(r3)<0&&(n3[r3]=e3[r3]);if(e3!=null&&typeof Object.getOwnPropertySymbols=="function"){var i2=0;for(r3=Object.getOwnPropertySymbols(e3);i2<r3.length;i2++)t3.indexOf(r3[i2])<0&&Object.prototype.propertyIsEnumerable.call(e3,r3[i2])&&(n3[r3[i2]]=e3[r3[i2]])}return n3},i=this&&this.__importDefault||function(e3){return e3&&e3.__esModule?e3:{default:e3}};Object.defineProperty(t2,"__esModule",{value:!0}),t2.ElementHighlighter=function(e3){var{targetRef:t3,components:n3,placement:i2="top",watchMotion:f,className:p,classes:d}=e3,h=r2(e3,["targetRef","components","placement","watchMotion","className","classes"]);return o.default.createElement("div",Object.assign({},h,c.skipHighlighterAttr,{className:(0,s.default)(d?.container,l.default.container,p)}),o.default.createElement(a.Frame,{targetRef:t3,className:(0,s.default)(l.default.frame,d?.frame),watchMotion:f}),n3&&o.default.createElement(u.LabelContainer,{targetRef:t3,className:l.default.label,placement:i2,watchMotion:f},o.default.createElement(u.Label,{components:n3,className:d?.label})))};const o=i(n2(2015)),s=i(n2(7500)),a=n2(4132),u=n2(7179),c=n2(28),l=i(n2(9385))},4919:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.ElementHighlighter=void 0;var r2=n2(9581);Object.defineProperty(t2,"ElementHighlighter",{enumerable:!0,get:function(){return r2.ElementHighlighter}})},1829:function(e2,t2,n2){"use strict";var r2=this&&this.__createBinding||(Object.create?function(e3,t3,n3,r3){r3===void 0&&(r3=n3);var i2=Object.getOwnPropertyDescriptor(t3,n3);i2&&!("get"in i2?!t3.__esModule:i2.writable||i2.configurable)||(i2={enumerable:!0,get:function(){return t3[n3]}}),Object.defineProperty(e3,r3,i2)}:function(e3,t3,n3,r3){r3===void 0&&(r3=n3),e3[r3]=t3[n3]}),i=this&&this.__setModuleDefault||(Object.create?function(e3,t3){Object.defineProperty(e3,"default",{enumerable:!0,value:t3})}:function(e3,t3){e3.default=t3}),o=this&&this.__importStar||function(e3){if(e3&&e3.__esModule)return e3;var t3={};if(e3!=null)for(var n3 in e3)n3!=="default"&&Object.prototype.hasOwnProperty.call(e3,n3)&&r2(t3,e3,n3);return i(t3,e3),t3},s=this&&this.__awaiter||function(e3,t3,n3,r3){return new(n3||(n3=Promise))(function(i2,o2){function s2(e4){try{u2(r3.next(e4))}catch(e5){o2(e5)}}function a2(e4){try{u2(r3.throw(e4))}catch(e5){o2(e5)}}function u2(e4){e4.done?i2(e4.value):function(e5){return e5 instanceof n3?e5:new n3(function(t4){t4(e5)})}(e4.value).then(s2,a2)}u2((r3=r3.apply(e3,t3||[])).next())})},a=this&&this.__importDefault||function(e3){return e3&&e3.__esModule?e3:{default:e3}};Object.defineProperty(t2,"__esModule",{value:!0}),t2.Frame=function({targetRef:e3,watchMotion:t3,className:n3,stylesClass:r3=f.default.overlayBorder,style:i2}){var o2;const a2=(0,u.useRef)({width:0,height:0}),{x:g,y,strategy:E,reference:b,floating:_,update:w,refs:O,middlewareData:T}=(0,l.useFloating)({placement:"bottom-start",middleware:[{name:"align-to-target",fn:({rects:e4})=>(e4.floating=Object.assign(Object.assign({},e4.floating),{width:e4.reference.width+2*p,height:e4.reference.height+2*p}),{})},(0,l.offset)(({rects:e4})=>-e4.reference.height),(0,l.offset)(()=>({mainAxis:-p,crossAxis:-p})),{name:"shiftPositive",fn:e4=>s(this,void 0,void 0,function*(){const t4=yield(0,l.detectOverflow)(e4,h),n4={x:t4.left>0?e4.x+t4.left:e4.x,y:t4.top>0?e4.y+t4.top:e4.y},r4={x:n4.x-e4.x,y:n4.y-e4.y};return Object.assign(Object.assign({},n4),{data:r4})})},(0,l.size)({rootBoundary:"document",padding:d,apply({elements:e4,rects:t4,availableHeight:n4,availableWidth:r4,middlewareData:i3}){const o3=i3[v]||{x:0,y:0},s2=2*p-o3.x,u2=2*p-o3.y,c2={width:t4.reference.width+s2,height:t4.reference.height+u2,maxWidth:r4,maxHeight:n4};Object.assign(e4.floating.style,c2),a2.current=c2}}),(0,l.hide)({strategy:"referenceHidden"})]});(0,u.useLayoutEffect)(()=>{b(e3.current)},[e3.current]),(0,u.useEffect)(()=>O.reference.current&&O.floating.current&&m?(0,l.autoUpdate)(O.reference.current,O.floating.current,w,{animationFrame:t3}):()=>{},[O.reference.current,O.floating.current,w,t3]);const I=!(!((o2=T.hide)===null||o2===void 0)&&o2.referenceHidden);return u.default.createElement("div",{ref:_,className:(0,c.default)(n3,r3,!I&&f.default.hidden),style:Object.assign(Object.assign(Object.assign({},i2),a2.current),{position:E,top:y??0,left:g??0})})};const u=o(n2(2015)),c=a(n2(7500)),l=n2(8401),f=a(n2(3649)),p=+f.default.offset||6,d=0,h={rootBoundary:"document",padding:d},v="shiftPositive",m=typeof window<"u"&&!!window.ResizeObserver},4132:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.Frame=void 0;var r2=n2(1829);Object.defineProperty(t2,"Frame",{enumerable:!0,get:function(){return r2.Frame}})},2559:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.bubbleToComponent=function(e3,{elementRule:t3,componentRule:n3,propagateSameParents:r3=!0}={}){var o2,a,u,c,l;if(e3?.__vnode){const t4=(a=(o2=e3.__vnode)===null||o2===void 0?void 0:o2.ctx)===null||a===void 0?void 0:a.type,n4=t4?.__bit_component,r4=(l=(c=(u=e3.__vnode)===null||u===void 0?void 0:u.ctx)===null||c===void 0?void 0:c.ctx)===null||l===void 0?void 0:l.$el;if(r4&&n4)return{element:r4,components:[{[i.componentMetaField]:n4}]}}let f=s(e3,t3,n3);if(!r3)return f;for(;f;){const e4=s(f.element.parentElement,t3,n3),r4=f?.components.slice(-1).pop(),o3=e4?.components.slice(-1).pop();if(r4?.[i.componentMetaField].id!==o3?.[i.componentMetaField].id)return f;f=e4}};const r2=n2(9046),i=n2(5489),o=n2(7905);function s(e3,t3,n3){for(let s2=e3;s2;s2=s2.parentElement){if(s2=(0,r2.toRootElement)(s2),!s2)return;if((0,o.ruleMatcher)(s2,t3)){const e4=(0,r2.domToReacts)(s2).filter(e5=>(0,i.hasComponentMeta)(e5)&&(0,o.componentRuleMatcher)({meta:e5[i.componentMetaField]},n3));return e4.length<1?void 0:{element:s2,components:e4}}}}},857:function(e2,t2,n2){"use strict";var r2=this&&this.__rest||function(e3,t3){var n3={};for(var r3 in e3)Object.prototype.hasOwnProperty.call(e3,r3)&&t3.indexOf(r3)<0&&(n3[r3]=e3[r3]);if(e3!=null&&typeof Object.getOwnPropertySymbols=="function"){var i2=0;for(r3=Object.getOwnPropertySymbols(e3);i2<r3.length;i2++)t3.indexOf(r3[i2])<0&&Object.prototype.propertyIsEnumerable.call(e3,r3[i2])&&(n3[r3[i2]]=e3[r3[i2]])}return n3},i=this&&this.__importDefault||function(e3){return e3&&e3.__esModule?e3:{default:e3}};Object.defineProperty(t2,"__esModule",{value:!0}),t2.HoverHighlighter=function(e3){var t3=r2(e3,[]);return o.default.createElement(s.HybridHighlighter,Object.assign({},t3,{mode:"hover"}))};const o=i(n2(2015)),s=n2(7459)},7325:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.HoverHighlighter=t2.useHoverHighlighter=void 0;var r2=n2(2767);Object.defineProperty(t2,"useHoverHighlighter",{enumerable:!0,get:function(){return r2.useHoverHighlighter}});var i=n2(857);Object.defineProperty(t2,"HoverHighlighter",{enumerable:!0,get:function(){return i.HoverHighlighter}})},2767:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.useHoverHighlighter=function(e3,t3={},{debounceDuration:n3,scopeClass:u,disabled:c,rule:l,componentRule:f}){const{handleElement:p}=function({onChange:e4,scopeClass:t4="",debounceDuration:n4,disabled:o2,rule:u2,componentRule:c2}){const l2=(0,i.useDebouncedCallback)(n5=>{if(!n5||n5.hasAttribute("data-nullify-component-highlight")||n5.closest(`.${t4} ${s.excludeHighlighterSelector}`))return void e4(void 0);if(n5.closest(`.${t4} ${s.skipHighlighterSelector}`))return;const r3=(0,a.bubbleToComponent)(n5,{elementRule:u2,componentRule:c2});r3&&e4({element:r3.element,components:r3.components})},n4);return(0,r2.useEffect)(()=>{o2&&l2.cancel()},[o2,l2]),{handleElement:l2}}({onChange:e3,scopeClass:u,debounceDuration:n3,disabled:c,rule:l,componentRule:f});return(0,o.useHoverSelection)(c?void 0:p,t3)};const r2=n2(2015),i=n2(3724),o=n2(2840),s=n2(28),a=n2(2559)},9991:function(e2,t2,n2){"use strict";var r2=this&&this.__createBinding||(Object.create?function(e3,t3,n3,r3){r3===void 0&&(r3=n3);var i2=Object.getOwnPropertyDescriptor(t3,n3);i2&&!("get"in i2?!t3.__esModule:i2.writable||i2.configurable)||(i2={enumerable:!0,get:function(){return t3[n3]}}),Object.defineProperty(e3,r3,i2)}:function(e3,t3,n3,r3){r3===void 0&&(r3=n3),e3[r3]=t3[n3]}),i=this&&this.__setModuleDefault||(Object.create?function(e3,t3){Object.defineProperty(e3,"default",{enumerable:!0,value:t3})}:function(e3,t3){e3.default=t3}),o=this&&this.__importStar||function(e3){if(e3&&e3.__esModule)return e3;var t3={};if(e3!=null)for(var n3 in e3)n3!=="default"&&Object.prototype.hasOwnProperty.call(e3,n3)&&r2(t3,e3,n3);return i(t3,e3),t3},s=this&&this.__rest||function(e3,t3){var n3={};for(var r3 in e3)Object.prototype.hasOwnProperty.call(e3,r3)&&t3.indexOf(r3)<0&&(n3[r3]=e3[r3]);if(e3!=null&&typeof Object.getOwnPropertySymbols=="function"){var i2=0;for(r3=Object.getOwnPropertySymbols(e3);i2<r3.length;i2++)t3.indexOf(r3[i2])<0&&Object.prototype.propertyIsEnumerable.call(e3,r3[i2])&&(n3[r3[i2]]=e3[r3[i2]])}return n3},a=this&&this.__importDefault||function(e3){return e3&&e3.__esModule?e3:{default:e3}};Object.defineProperty(t2,"__esModule",{value:!0}),t2.HybridHighlighter=function(e3){var{disabled:t3,mode:n3="hover",debounceSelection:r3=80,watchMotion:i2=!0,placement:o2,rule:a2,componentRule:h,classes:v,highlightStyle:m,className:g,style:y,bgColor:E,bgColorHover:b,bgColorActive:_,children:w}=e3,O=s(e3,["disabled","mode","debounceSelection","watchMotion","placement","rule","componentRule","classes","highlightStyle","className","style","bgColor","bgColorHover","bgColorActive","children"]);const T=(0,u.createRef)(),[I,S]=(0,u.useState)({}),N=(0,u.useRef)(`hl-scope-${(0,l.v4)()}`).current,A=Object.entries(I).length>0;(0,u.useEffect)(()=>{t3&&S({})},[t3]);const R=(0,f.useHoverHighlighter)(e4=>S(e4?{"hover-target":e4}:{}),O,{debounceDuration:A?r3:0,scopeClass:N,disabled:t3||n3!=="hover",rule:a2,componentRule:h});(0,d.useChildrenHighlighter)({onChange:S,scopeRef:T,scopeClass:N,disabled:t3||n3!=="allChildren",rule:a2,componentRule:h});const x=(0,u.useMemo)(()=>Object.assign({"--bit-highlighter-color":E,"--bit-highlighter-color-hover":b,"--bit-highlighter-color-active":_},y),[E,b,_,y]);return u.default.createElement("div",Object.assign({ref:T},O,R,{style:x,className:(0,c.default)(g,N),"data-nullify-component-highlight":!0}),w,Object.entries(I).map(([e4,t4])=>u.default.createElement(p.ElementHighlighter,{key:e4,targetRef:{current:t4.element},components:t4.components,classes:v,style:m,placement:o2,watchMotion:i2})))};const u=o(n2(2015)),c=a(n2(7500)),l=n2(637),f=n2(7325),p=n2(4919),d=n2(8690)},7459:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.HybridHighlighter=void 0;var r2=n2(9991);Object.defineProperty(t2,"HybridHighlighter",{enumerable:!0,get:function(){return r2.HybridHighlighter}})},28:function(e2,t2,n2){"use strict";var r2=this&&this.__importDefault||function(e3){return e3&&e3.__esModule?e3:{default:e3}};Object.defineProperty(t2,"__esModule",{value:!0}),t2.skipHighlighterSelector=t2.skipHighlighterAttr=t2.skipHighlighterAttrName=t2.excludeHighlighterAtt=t2.excludeHighlighterSelector=t2.excludeHighlighterAttrName=void 0,t2.ExcludeHighlighter=function(e3){return i.default.createElement("div",Object.assign({},e3,t2.excludeHighlighterAtt))};const i=r2(n2(2015));t2.excludeHighlighterAttrName="data-ignore-component-highlight",t2.excludeHighlighterSelector=`[${t2.excludeHighlighterAttrName}]`,t2.excludeHighlighterAtt={[t2.excludeHighlighterAttrName]:!0},t2.skipHighlighterAttrName="data-skip-component-highlight",t2.skipHighlighterAttr={[t2.skipHighlighterAttrName]:!0},t2.skipHighlighterSelector=`[${t2.skipHighlighterAttrName}]`},5110:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.skipHighlighterAttrName=t2.skipHighlighterAttr=t2.excludeHighlighterAttrName=t2.excludeHighlighterAtt=t2.ExcludeHighlighter=t2.ElementHighlighter=t2.ChildrenHighlighter=t2.HoverHighlighter=t2.ComponentHighlighter=void 0;var r2=n2(7459);Object.defineProperty(t2,"ComponentHighlighter",{enumerable:!0,get:function(){return r2.HybridHighlighter}});var i=n2(7325);Object.defineProperty(t2,"HoverHighlighter",{enumerable:!0,get:function(){return i.HoverHighlighter}});var o=n2(8690);Object.defineProperty(t2,"ChildrenHighlighter",{enumerable:!0,get:function(){return o.ChildrenHighlighter}});var s=n2(4919);Object.defineProperty(t2,"ElementHighlighter",{enumerable:!0,get:function(){return s.ElementHighlighter}});var a=n2(28);Object.defineProperty(t2,"ExcludeHighlighter",{enumerable:!0,get:function(){return a.ExcludeHighlighter}}),Object.defineProperty(t2,"excludeHighlighterAtt",{enumerable:!0,get:function(){return a.excludeHighlighterAtt}}),Object.defineProperty(t2,"excludeHighlighterAttrName",{enumerable:!0,get:function(){return a.excludeHighlighterAttrName}}),Object.defineProperty(t2,"skipHighlighterAttr",{enumerable:!0,get:function(){return a.skipHighlighterAttr}}),Object.defineProperty(t2,"skipHighlighterAttrName",{enumerable:!0,get:function(){return a.skipHighlighterAttrName}})},439:function(e2,t2,n2){"use strict";var r2=this&&this.__createBinding||(Object.create?function(e3,t3,n3,r3){r3===void 0&&(r3=n3);var i2=Object.getOwnPropertyDescriptor(t3,n3);i2&&!("get"in i2?!t3.__esModule:i2.writable||i2.configurable)||(i2={enumerable:!0,get:function(){return t3[n3]}}),Object.defineProperty(e3,r3,i2)}:function(e3,t3,n3,r3){r3===void 0&&(r3=n3),e3[r3]=t3[n3]}),i=this&&this.__setModuleDefault||(Object.create?function(e3,t3){Object.defineProperty(e3,"default",{enumerable:!0,value:t3})}:function(e3,t3){e3.default=t3}),o=this&&this.__importStar||function(e3){if(e3&&e3.__esModule)return e3;var t3={};if(e3!=null)for(var n3 in e3)n3!=="default"&&Object.prototype.hasOwnProperty.call(e3,n3)&&r2(t3,e3,n3);return i(t3,e3),t3},s=this&&this.__importDefault||function(e3){return e3&&e3.__esModule?e3:{default:e3}};Object.defineProperty(t2,"__esModule",{value:!0}),t2.ComponentStrip=void 0;const a=o(n2(2015)),u=n2(2895),c=n2(1001),l=n2(6528),f=n2(5489),p=s(n2(1071)),d=n2(5698);function h({link:e3,children:t3,className:n3}){const r3=e3?u.NativeLink:"span";return a.default.createElement(r3,{href:e3,external:!!e3,className:n3},t3)}t2.ComponentStrip=(0,a.forwardRef)(function({component:e3,children:t3},n3){const{id:r3,homepage:i2,exported:o2}=typeof(v=e3)=="string"?{id:v,exported:!0}:v[f.componentMetaField],s2=(0,a.useMemo)(()=>c.ComponentID.tryFromString(r3),[r3]),u2=i2||(0,d.calcComponentLink)(s2,o2);var v;return a.default.createElement("div",{className:p.default.componentStrip,ref:n3},!s2&&a.default.createElement(h,{link:i2},r3),s2&&a.default.createElement(h,{link:l.ScopeUrl.toUrl(s2.scope)},s2.scope),s2&&a.default.createElement(h,{link:u2,className:p.default.nameBlock},a.default.createElement("span",null,s2.fullName),s2.version&&s2.version!=="latest"&&a.default.createElement("span",{className:p.default.version},"@",s2.version)),t3)})},7179:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.LabelContainer=t2.Label=void 0;var r2=n2(4609);Object.defineProperty(t2,"Label",{enumerable:!0,get:function(){return r2.Label}});var i=n2(1016);Object.defineProperty(t2,"LabelContainer",{enumerable:!0,get:function(){return i.LabelContainer}})},1016:function(e2,t2,n2){"use strict";var r2=this&&this.__createBinding||(Object.create?function(e3,t3,n3,r3){r3===void 0&&(r3=n3);var i2=Object.getOwnPropertyDescriptor(t3,n3);i2&&!("get"in i2?!t3.__esModule:i2.writable||i2.configurable)||(i2={enumerable:!0,get:function(){return t3[n3]}}),Object.defineProperty(e3,r3,i2)}:function(e3,t3,n3,r3){r3===void 0&&(r3=n3),e3[r3]=t3[n3]}),i=this&&this.__setModuleDefault||(Object.create?function(e3,t3){Object.defineProperty(e3,"default",{enumerable:!0,value:t3})}:function(e3,t3){e3.default=t3}),o=this&&this.__importStar||function(e3){if(e3&&e3.__esModule)return e3;var t3={};if(e3!=null)for(var n3 in e3)n3!=="default"&&Object.prototype.hasOwnProperty.call(e3,n3)&&r2(t3,e3,n3);return i(t3,e3),t3},s=this&&this.__rest||function(e3,t3){var n3={};for(var r3 in e3)Object.prototype.hasOwnProperty.call(e3,r3)&&t3.indexOf(r3)<0&&(n3[r3]=e3[r3]);if(e3!=null&&typeof Object.getOwnPropertySymbols=="function"){var i2=0;for(r3=Object.getOwnPropertySymbols(e3);i2<r3.length;i2++)t3.indexOf(r3[i2])<0&&Object.prototype.propertyIsEnumerable.call(e3,r3[i2])&&(n3[r3[i2]]=e3[r3[i2]])}return n3},a=this&&this.__importDefault||function(e3){return e3&&e3.__esModule?e3:{default:e3}};Object.defineProperty(t2,"__esModule",{value:!0}),t2.LabelContainer=function(e3){var t3,{targetRef:n3,offset:r3,placement:i2,flip:o2=!0,watchMotion:a2,className:h,style:v}=e3,m=s(e3,["targetRef","offset","placement","flip","watchMotion","className","style"]);const{x:g,y,strategy:E,floating:b,reference:_,refs:w,update:O,middlewareData:T}=(0,f.useFloating)({placement:i2,middleware:(0,l.default)([r3&&(0,f.offset)({mainAxis:r3[0],crossAxis:r3[1]}),o2&&(0,f.flip)(),(0,f.shift)({rootBoundary:"document",mainAxis:!0,crossAxis:!0}),(0,f.hide)({strategy:"referenceHidden"})])});(0,u.useLayoutEffect)(()=>{_(n3.current)},[n3.current,_]),(0,u.useEffect)(()=>w.reference.current&&w.floating.current&&d?(0,f.autoUpdate)(w.reference.current,w.floating.current,O,{animationFrame:!!a2}):()=>{},[w.reference.current,w.floating.current,O,a2]);const I=!(!((t3=T.hide)===null||t3===void 0)&&t3.referenceHidden);return u.default.createElement("div",Object.assign({},m,{ref:b,className:(0,c.default)(h,!I&&p.default.hidden),style:Object.assign(Object.assign({},v),{position:E,top:y??0,left:g??0})}))};const u=o(n2(2015)),c=a(n2(7500)),l=a(n2(763)),f=n2(8401),p=a(n2(173)),d=typeof window<"u"&&!!window.ResizeObserver},4609:function(e2,t2,n2){"use strict";var r2=this&&this.__createBinding||(Object.create?function(e3,t3,n3,r3){r3===void 0&&(r3=n3);var i2=Object.getOwnPropertyDescriptor(t3,n3);i2&&!("get"in i2?!t3.__esModule:i2.writable||i2.configurable)||(i2={enumerable:!0,get:function(){return t3[n3]}}),Object.defineProperty(e3,r3,i2)}:function(e3,t3,n3,r3){r3===void 0&&(r3=n3),e3[r3]=t3[n3]}),i=this&&this.__setModuleDefault||(Object.create?function(e3,t3){Object.defineProperty(e3,"default",{enumerable:!0,value:t3})}:function(e3,t3){e3.default=t3}),o=this&&this.__importStar||function(e3){if(e3&&e3.__esModule)return e3;var t3={};if(e3!=null)for(var n3 in e3)n3!=="default"&&Object.prototype.hasOwnProperty.call(e3,n3)&&r2(t3,e3,n3);return i(t3,e3),t3},s=this&&this.__rest||function(e3,t3){var n3={};for(var r3 in e3)Object.prototype.hasOwnProperty.call(e3,r3)&&t3.indexOf(r3)<0&&(n3[r3]=e3[r3]);if(e3!=null&&typeof Object.getOwnPropertySymbols=="function"){var i2=0;for(r3=Object.getOwnPropertySymbols(e3);i2<r3.length;i2++)t3.indexOf(r3[i2])<0&&Object.prototype.propertyIsEnumerable.call(e3,r3[i2])&&(n3[r3[i2]]=e3[r3[i2]])}return n3},a=this&&this.__importDefault||function(e3){return e3&&e3.__esModule?e3:{default:e3}};Object.defineProperty(t2,"__esModule",{value:!0}),t2.Label=function(e3){var{components:t3}=e3,n3=s(e3,["components"]);const[r3,i2]=(0,u.useState)(!1),o2=t3.slice(-1).pop();if(!o2)return null;const a2=t3.length>1;return(0,u.useEffect)(()=>{i2(!1)},[t3]),u.default.createElement(p.OtherComponentsPopper,{components:t3,visible:r3,placement:"bottom-start"},u.default.createElement(f.ComponentStrip,Object.assign({},n3,{component:o2}),a2&&u.default.createElement("span",{className:(0,c.default)(l.default.othersTooltip,r3&&l.default.active),onClick:()=>i2(e4=>!e4)})))};const u=o(n2(2015)),c=a(n2(7500)),l=a(n2(173)),f=n2(439),p=n2(3434)},5698:function(e2,t2,n2){"use strict";var r2=this&&this.__importDefault||function(e3){return e3&&e3.__esModule?e3:{default:e3}};Object.defineProperty(t2,"__esModule",{value:!0}),t2.calcComponentLink=function(e3,t3){return e3?t3?o.ComponentUrl.toUrl(e3):(0,i.default)("/",e3.fullName):void 0};const i=r2(n2(2176)),o=n2(6528)},3434:function(e2,t2,n2){"use strict";var r2=this&&this.__rest||function(e3,t3){var n3={};for(var r3 in e3)Object.prototype.hasOwnProperty.call(e3,r3)&&t3.indexOf(r3)<0&&(n3[r3]=e3[r3]);if(e3!=null&&typeof Object.getOwnPropertySymbols=="function"){var i2=0;for(r3=Object.getOwnPropertySymbols(e3);i2<r3.length;i2++)t3.indexOf(r3[i2])<0&&Object.prototype.propertyIsEnumerable.call(e3,r3[i2])&&(n3[r3[i2]]=e3[r3[i2]])}return n3},i=this&&this.__importDefault||function(e3){return e3&&e3.__esModule?e3:{default:e3}};Object.defineProperty(t2,"__esModule",{value:!0}),t2.OtherComponentsPopper=function(e3){var{components:t3,children:n3,start:i2,end:c=-1,placement:l="bottom",interactive:f=!0}=e3,p=r2(e3,["components","children","start","end","placement","interactive"]);const d=o.default.createElement(o.default.Fragment,null,t3.slice(i2,c).reverse().map((e4,t4)=>o.default.createElement(a.ComponentStrip,{key:t4,component:e4})));return o.default.createElement(s.default,Object.assign({placement:l,interactive:f},p,{render:e4=>o.default.createElement("div",Object.assign({},e4,{className:u.default.othersContainer}),d)}),n3)};const o=i(n2(2015)),s=i(n2(1002)),a=n2(439),u=i(n2(173))},7905:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.ruleMatcher=function(e3,t3){return typeof t3=="string"?e3.matches(t3):typeof t3!="function"||t3(e3)},t2.componentRuleMatcher=function(e3,t3){if(typeof t3=="string"){const n3=r2.ComponentID.tryFromString(e3.meta.id),i=r2.ComponentID.tryFromString(t3);return r2.ComponentID.isEqual(i,n3,{ignoreVersion:!0})}if(Array.isArray(t3)){const n3=r2.ComponentID.tryFromString(e3.meta.id);return t3.map(e4=>r2.ComponentID.tryFromString(e4)).some(e4=>r2.ComponentID.isEqual(n3,e4,{ignoreVersion:!0}))}return typeof t3!="function"||t3(e3)};const r2=n2(1001)},8242:(e2,t2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.hasComponentMeta=t2.componentMetaProperties=t2.componentMetaField=void 0,t2.componentMetaField="__bit_component",t2.componentMetaProperties={componentId:"id",homepageUrl:"homepage",isExported:"exported"},t2.hasComponentMeta=function(e3){return e3&&typeof e3.__bit_component=="object"&&typeof e3.__bit_component.id=="string"}},4464:function(e2,t2,n2){"use strict";var r2=this&&this.__importDefault||function(e3){return e3&&e3.__esModule?e3:{default:e3}};Object.defineProperty(t2,"__esModule",{value:!0}),t2.MockedComponentWithMeta=void 0;const i=r2(n2(2015)),o=n2(8242);function s(e3){return i.default.createElement("button",Object.assign({type:"button"},e3))}t2.MockedComponentWithMeta=s,s[o.componentMetaField]={id:"teambit.base-ui/input/button"}},5489:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.MockedComponentWithMeta=t2.componentMetaProperties=t2.componentMetaField=t2.hasComponentMeta=void 0;var r2=n2(8242);Object.defineProperty(t2,"hasComponentMeta",{enumerable:!0,get:function(){return r2.hasComponentMeta}}),Object.defineProperty(t2,"componentMetaField",{enumerable:!0,get:function(){return r2.componentMetaField}}),Object.defineProperty(t2,"componentMetaProperties",{enumerable:!0,get:function(){return r2.componentMetaProperties}});var i=n2(4464);Object.defineProperty(t2,"MockedComponentWithMeta",{enumerable:!0,get:function(){return i.MockedComponentWithMeta}})},5318:function(e2,t2,n2){"use strict";var r2=this&&this.__createBinding||(Object.create?function(e3,t3,n3,r3){r3===void 0&&(r3=n3),Object.defineProperty(e3,r3,{enumerable:!0,get:function(){return t3[n3]}})}:function(e3,t3,n3,r3){r3===void 0&&(r3=n3),e3[r3]=t3[n3]}),i=this&&this.__setModuleDefault||(Object.create?function(e3,t3){Object.defineProperty(e3,"default",{enumerable:!0,value:t3})}:function(e3,t3){e3.default=t3}),o=this&&this.__importStar||function(e3){if(e3&&e3.__esModule)return e3;var t3={};if(e3!=null)for(var n3 in e3)n3!=="default"&&Object.prototype.hasOwnProperty.call(e3,n3)&&r2(t3,e3,n3);return i(t3,e3),t3},s=this&&this.__rest||function(e3,t3){var n3={};for(var r3 in e3)Object.prototype.hasOwnProperty.call(e3,r3)&&t3.indexOf(r3)<0&&(n3[r3]=e3[r3]);if(e3!=null&&typeof Object.getOwnPropertySymbols=="function"){var i2=0;for(r3=Object.getOwnPropertySymbols(e3);i2<r3.length;i2++)t3.indexOf(r3[i2])<0&&Object.prototype.propertyIsEnumerable.call(e3,r3[i2])&&(n3[r3[i2]]=e3[r3[i2]])}return n3};Object.defineProperty(t2,"__esModule",{value:!0}),t2.useHoverSelection=t2.HoverSelector=void 0;const a=o(n2(2015));function u(e3,t3={}){const{onMouseOver:n3,onMouseLeave:r3}=t3,i2=(0,a.useCallback)(t4=>{n3?.(t4);const{target:r4}=t4;r4&&e3?.(r4)},[n3,e3]),o2=(0,a.useCallback)(t4=>{r3?.(t4),e3?.(null)},[r3,e3]);return e3?{onMouseOver:i2,onMouseLeave:o2}:{}}t2.HoverSelector=function(e3){var{onElementChange:t3,disabled:n3}=e3,r3=s(e3,["onElementChange","disabled"]);const i2=u(t3,r3);return a.default.createElement("div",Object.assign({},r3,n3?{}:i2))},t2.useHoverSelection=u},2840:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.useHoverSelection=t2.HoverSelector=void 0;var r2=n2(5318);Object.defineProperty(t2,"HoverSelector",{enumerable:!0,get:function(){return r2.HoverSelector}}),Object.defineProperty(t2,"useHoverSelection",{enumerable:!0,get:function(){return r2.useHoverSelection}})},5867:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.isBrowser=void 0;var r2=n2(6238);Object.defineProperty(t2,"isBrowser",{enumerable:!0,get:function(){return r2.isBrowser}})},6238:(e2,t2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.isBrowser=void 0;const n2=typeof window<"u";t2.isBrowser=n2},1002:(e2,t2,n2)=>{"use strict";function r2(e3){if(e3==null)return window;if(e3.toString()!=="[object Window]"){var t3=e3.ownerDocument;return t3&&t3.defaultView||window}return e3}function i(e3){return e3 instanceof r2(e3).Element||e3 instanceof Element}function o(e3){return e3 instanceof r2(e3).HTMLElement||e3 instanceof HTMLElement}function s(e3){return typeof ShadowRoot<"u"&&(e3 instanceof r2(e3).ShadowRoot||e3 instanceof ShadowRoot)}n2.r(t2),n2.d(t2,{default:()=>ot,tippy:()=>Be,useSingleton:()=>it});var a=Math.max,u=Math.min,c=Math.round;function l(){var e3=navigator.userAgentData;return e3!=null&&e3.brands&&Array.isArray(e3.brands)?e3.brands.map(function(e4){return e4.brand+"/"+e4.version}).join(" "):navigator.userAgent}function f(){return!/^((?!chrome|android).)*safari/i.test(l())}function p(e3,t3,n3){t3===void 0&&(t3=!1),n3===void 0&&(n3=!1);var s2=e3.getBoundingClientRect(),a2=1,u2=1;t3&&o(e3)&&(a2=e3.offsetWidth>0&&c(s2.width)/e3.offsetWidth||1,u2=e3.offsetHeight>0&&c(s2.height)/e3.offsetHeight||1);var l2=(i(e3)?r2(e3):window).visualViewport,p2=!f()&&n3,d2=(s2.left+(p2&&l2?l2.offsetLeft:0))/a2,h2=(s2.top+(p2&&l2?l2.offsetTop:0))/u2,v2=s2.width/a2,m2=s2.height/u2;return{width:v2,height:m2,top:h2,right:d2+v2,bottom:h2+m2,left:d2,x:d2,y:h2}}function d(e3){var t3=r2(e3);return{scrollLeft:t3.pageXOffset,scrollTop:t3.pageYOffset}}function h(e3){return e3?(e3.nodeName||"").toLowerCase():null}function v(e3){return((i(e3)?e3.ownerDocument:e3.document)||window.document).documentElement}function m(e3){return p(v(e3)).left+d(e3).scrollLeft}function g(e3){return r2(e3).getComputedStyle(e3)}function y(e3){var t3=g(e3),n3=t3.overflow,r3=t3.overflowX,i2=t3.overflowY;return/auto|scroll|overlay|hidden/.test(n3+i2+r3)}function E(e3,t3,n3){n3===void 0&&(n3=!1);var i2,s2,a2=o(t3),u2=o(t3)&&function(e4){var t4=e4.getBoundingClientRect(),n4=c(t4.width)/e4.offsetWidth||1,r3=c(t4.height)/e4.offsetHeight||1;return n4!==1||r3!==1}(t3),l2=v(t3),f2=p(e3,u2,n3),g2={scrollLeft:0,scrollTop:0},E2={x:0,y:0};return(a2||!a2&&!n3)&&((h(t3)!=="body"||y(l2))&&(g2=(i2=t3)!==r2(i2)&&o(i2)?{scrollLeft:(s2=i2).scrollLeft,scrollTop:s2.scrollTop}:d(i2)),o(t3)?((E2=p(t3,!0)).x+=t3.clientLeft,E2.y+=t3.clientTop):l2&&(E2.x=m(l2))),{x:f2.left+g2.scrollLeft-E2.x,y:f2.top+g2.scrollTop-E2.y,width:f2.width,height:f2.height}}function b(e3){var t3=p(e3),n3=e3.offsetWidth,r3=e3.offsetHeight;return Math.abs(t3.width-n3)<=1&&(n3=t3.width),Math.abs(t3.height-r3)<=1&&(r3=t3.height),{x:e3.offsetLeft,y:e3.offsetTop,width:n3,height:r3}}function _(e3){return h(e3)==="html"?e3:e3.assignedSlot||e3.parentNode||(s(e3)?e3.host:null)||v(e3)}function w(e3){return["html","body","#document"].indexOf(h(e3))>=0?e3.ownerDocument.body:o(e3)&&y(e3)?e3:w(_(e3))}function O(e3,t3){var n3;t3===void 0&&(t3=[]);var i2=w(e3),o2=i2===((n3=e3.ownerDocument)==null?void 0:n3.body),s2=r2(i2),a2=o2?[s2].concat(s2.visualViewport||[],y(i2)?i2:[]):i2,u2=t3.concat(a2);return o2?u2:u2.concat(O(_(a2)))}function T(e3){return["table","td","th"].indexOf(h(e3))>=0}function I(e3){return o(e3)&&g(e3).position!=="fixed"?e3.offsetParent:null}function S(e3){for(var t3=r2(e3),n3=I(e3);n3&&T(n3)&&g(n3).position==="static";)n3=I(n3);return n3&&(h(n3)==="html"||h(n3)==="body"&&g(n3).position==="static")?t3:n3||function(e4){var t4=/firefox/i.test(l());if(/Trident/i.test(l())&&o(e4)&&g(e4).position==="fixed")return null;var n4=_(e4);for(s(n4)&&(n4=n4.host);o(n4)&&["html","body"].indexOf(h(n4))<0;){var r3=g(n4);if(r3.transform!=="none"||r3.perspective!=="none"||r3.contain==="paint"||["transform","perspective"].indexOf(r3.willChange)!==-1||t4&&r3.willChange==="filter"||t4&&r3.filter&&r3.filter!=="none")return n4;n4=n4.parentNode}return null}(e3)||t3}var N="top",A="bottom",R="right",x="left",j="auto",P=[N,A,R,x],D="start",L="end",M="viewport",k="popper",C=P.reduce(function(e3,t3){return e3.concat([t3+"-"+D,t3+"-"+L])},[]),F=[].concat(P,[j]).reduce(function(e3,t3){return e3.concat([t3,t3+"-"+D,t3+"-"+L])},[]),V=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function $(e3){var t3=new Map,n3=new Set,r3=[];function i2(e4){n3.add(e4.name),[].concat(e4.requires||[],e4.requiresIfExists||[]).forEach(function(e5){if(!n3.has(e5)){var r4=t3.get(e5);r4&&i2(r4)}}),r3.push(e4)}return e3.forEach(function(e4){t3.set(e4.name,e4)}),e3.forEach(function(e4){n3.has(e4.name)||i2(e4)}),r3}var U={placement:"bottom",modifiers:[],strategy:"absolute"};function B(){for(var e3=arguments.length,t3=new Array(e3),n3=0;n3<e3;n3++)t3[n3]=arguments[n3];return!t3.some(function(e4){return!(e4&&typeof e4.getBoundingClientRect=="function")})}function H(e3){e3===void 0&&(e3={});var t3=e3,n3=t3.defaultModifiers,r3=n3===void 0?[]:n3,o2=t3.defaultOptions,s2=o2===void 0?U:o2;return function(e4,t4,n4){n4===void 0&&(n4=s2);var o3,a2,u2={placement:"bottom",orderedModifiers:[],options:Object.assign({},U,s2),modifiersData:{},elements:{reference:e4,popper:t4},attributes:{},styles:{}},c2=[],l2=!1,f2={state:u2,setOptions:function(n5){var o4=typeof n5=="function"?n5(u2.options):n5;p2(),u2.options=Object.assign({},s2,u2.options,o4),u2.scrollParents={reference:i(e4)?O(e4):e4.contextElement?O(e4.contextElement):[],popper:O(t4)};var a3,l3,d2=function(e5){var t5=$(e5);return V.reduce(function(e6,n6){return e6.concat(t5.filter(function(e7){return e7.phase===n6}))},[])}((a3=[].concat(r3,u2.options.modifiers),l3=a3.reduce(function(e5,t5){var n6=e5[t5.name];return e5[t5.name]=n6?Object.assign({},n6,t5,{options:Object.assign({},n6.options,t5.options),data:Object.assign({},n6.data,t5.data)}):t5,e5},{}),Object.keys(l3).map(function(e5){return l3[e5]})));return u2.orderedModifiers=d2.filter(function(e5){return e5.enabled}),u2.orderedModifiers.forEach(function(e5){var t5=e5.name,n6=e5.options,r4=n6===void 0?{}:n6,i2=e5.effect;if(typeof i2=="function"){var o5=i2({state:u2,name:t5,instance:f2,options:r4});c2.push(o5||function(){})}}),f2.update()},forceUpdate:function(){if(!l2){var e5=u2.elements,t5=e5.reference,n5=e5.popper;if(B(t5,n5)){u2.rects={reference:E(t5,S(n5),u2.options.strategy==="fixed"),popper:b(n5)},u2.reset=!1,u2.placement=u2.options.placement,u2.orderedModifiers.forEach(function(e6){return u2.modifiersData[e6.name]=Object.assign({},e6.data)});for(var r4=0;r4<u2.orderedModifiers.length;r4++)if(u2.reset!==!0){var i2=u2.orderedModifiers[r4],o4=i2.fn,s3=i2.options,a3=s3===void 0?{}:s3,c3=i2.name;typeof o4=="function"&&(u2=o4({state:u2,options:a3,name:c3,instance:f2})||u2)}else u2.reset=!1,r4=-1}}},update:(o3=function(){return new Promise(function(e5){f2.forceUpdate(),e5(u2)})},function(){return a2||(a2=new Promise(function(e5){Promise.resolve().then(function(){a2=void 0,e5(o3())})})),a2}),destroy:function(){p2(),l2=!0}};if(!B(e4,t4))return f2;function p2(){c2.forEach(function(e5){return e5()}),c2=[]}return f2.setOptions(n4).then(function(e5){!l2&&n4.onFirstUpdate&&n4.onFirstUpdate(e5)}),f2}}var G={passive:!0};function q(e3){return e3.split("-")[0]}function W(e3){return e3.split("-")[1]}function z(e3){return["top","bottom"].indexOf(e3)>=0?"x":"y"}function Y(e3){var t3,n3=e3.reference,r3=e3.element,i2=e3.placement,o2=i2?q(i2):null,s2=i2?W(i2):null,a2=n3.x+n3.width/2-r3.width/2,u2=n3.y+n3.height/2-r3.height/2;switch(o2){case N:t3={x:a2,y:n3.y-r3.height};break;case A:t3={x:a2,y:n3.y+n3.height};break;case R:t3={x:n3.x+n3.width,y:u2};break;case x:t3={x:n3.x-r3.width,y:u2};break;default:t3={x:n3.x,y:n3.y}}var c2=o2?z(o2):null;if(c2!=null){var l2=c2==="y"?"height":"width";switch(s2){case D:t3[c2]=t3[c2]-(n3[l2]/2-r3[l2]/2);break;case L:t3[c2]=t3[c2]+(n3[l2]/2-r3[l2]/2)}}return t3}var X={top:"auto",right:"auto",bottom:"auto",left:"auto"};function J(e3){var t3,n3=e3.popper,i2=e3.popperRect,o2=e3.placement,s2=e3.variation,a2=e3.offsets,u2=e3.position,l2=e3.gpuAcceleration,f2=e3.adaptive,p2=e3.roundOffsets,d2=e3.isFixed,h2=a2.x,m2=h2===void 0?0:h2,y2=a2.y,E2=y2===void 0?0:y2,b2=typeof p2=="function"?p2({x:m2,y:E2}):{x:m2,y:E2};m2=b2.x,E2=b2.y;var _2=a2.hasOwnProperty("x"),w2=a2.hasOwnProperty("y"),O2=x,T2=N,I2=window;if(f2){var j2=S(n3),P2="clientHeight",D2="clientWidth";j2===r2(n3)&&g(j2=v(n3)).position!=="static"&&u2==="absolute"&&(P2="scrollHeight",D2="scrollWidth"),(o2===N||(o2===x||o2===R)&&s2===L)&&(T2=A,E2-=(d2&&j2===I2&&I2.visualViewport?I2.visualViewport.height:j2[P2])-i2.height,E2*=l2?1:-1),o2!==x&&(o2!==N&&o2!==A||s2!==L)||(O2=R,m2-=(d2&&j2===I2&&I2.visualViewport?I2.visualViewport.width:j2[D2])-i2.width,m2*=l2?1:-1)}var M2,k2=Object.assign({position:u2},f2&&X),C2=p2===!0?function(e4,t4){var n4=e4.x,r3=e4.y,i3=t4.devicePixelRatio||1;return{x:c(n4*i3)/i3||0,y:c(r3*i3)/i3||0}}({x:m2,y:E2},r2(n3)):{x:m2,y:E2};return m2=C2.x,E2=C2.y,l2?Object.assign({},k2,((M2={})[T2]=w2?"0":"",M2[O2]=_2?"0":"",M2.transform=(I2.devicePixelRatio||1)<=1?"translate("+m2+"px, "+E2+"px)":"translate3d("+m2+"px, "+E2+"px, 0)",M2)):Object.assign({},k2,((t3={})[T2]=w2?E2+"px":"",t3[O2]=_2?m2+"px":"",t3.transform="",t3))}var Q={left:"right",right:"left",bottom:"top",top:"bottom"};function K(e3){return e3.replace(/left|right|bottom|top/g,function(e4){return Q[e4]})}var Z={start:"end",end:"start"};function ee(e3){return e3.replace(/start|end/g,function(e4){return Z[e4]})}function te(e3,t3){var n3=t3.getRootNode&&t3.getRootNode();if(e3.contains(t3))return!0;if(n3&&s(n3)){var r3=t3;do{if(r3&&e3.isSameNode(r3))return!0;r3=r3.parentNode||r3.host}while(r3)}return!1}function ne(e3){return Object.assign({},e3,{left:e3.x,top:e3.y,right:e3.x+e3.width,bottom:e3.y+e3.height})}function re(e3,t3,n3){return t3===M?ne(function(e4,t4){var n4=r2(e4),i2=v(e4),o2=n4.visualViewport,s2=i2.clientWidth,a2=i2.clientHeight,u2=0,c2=0;if(o2){s2=o2.width,a2=o2.height;var l2=f();(l2||!l2&&t4==="fixed")&&(u2=o2.offsetLeft,c2=o2.offsetTop)}return{width:s2,height:a2,x:u2+m(e4),y:c2}}(e3,n3)):i(t3)?function(e4,t4){var n4=p(e4,!1,t4==="fixed");return n4.top=n4.top+e4.clientTop,n4.left=n4.left+e4.clientLeft,n4.bottom=n4.top+e4.clientHeight,n4.right=n4.left+e4.clientWidth,n4.width=e4.clientWidth,n4.height=e4.clientHeight,n4.x=n4.left,n4.y=n4.top,n4}(t3,n3):ne(function(e4){var t4,n4=v(e4),r3=d(e4),i2=(t4=e4.ownerDocument)==null?void 0:t4.body,o2=a(n4.scrollWidth,n4.clientWidth,i2?i2.scrollWidth:0,i2?i2.clientWidth:0),s2=a(n4.scrollHeight,n4.clientHeight,i2?i2.scrollHeight:0,i2?i2.clientHeight:0),u2=-r3.scrollLeft+m(e4),c2=-r3.scrollTop;return g(i2||n4).direction==="rtl"&&(u2+=a(n4.clientWidth,i2?i2.clientWidth:0)-o2),{width:o2,height:s2,x:u2,y:c2}}(v(e3)))}function ie(e3){return Object.assign({},{top:0,right:0,bottom:0,left:0},e3)}function oe(e3,t3){return t3.reduce(function(t4,n3){return t4[n3]=e3,t4},{})}function se(e3,t3){t3===void 0&&(t3={});var n3=t3,r3=n3.placement,s2=r3===void 0?e3.placement:r3,c2=n3.strategy,l2=c2===void 0?e3.strategy:c2,f2=n3.boundary,d2=f2===void 0?"clippingParents":f2,m2=n3.rootBoundary,y2=m2===void 0?M:m2,E2=n3.elementContext,b2=E2===void 0?k:E2,w2=n3.altBoundary,T2=w2!==void 0&&w2,I2=n3.padding,x2=I2===void 0?0:I2,j2=ie(typeof x2!="number"?x2:oe(x2,P)),D2=b2===k?"reference":k,L2=e3.rects.popper,C2=e3.elements[T2?D2:b2],F2=function(e4,t4,n4,r4){var s3=t4==="clippingParents"?function(e5){var t5=O(_(e5)),n5=["absolute","fixed"].indexOf(g(e5).position)>=0&&o(e5)?S(e5):e5;return i(n5)?t5.filter(function(e6){return i(e6)&&te(e6,n5)&&h(e6)!=="body"}):[]}(e4):[].concat(t4),c3=[].concat(s3,[n4]),l3=c3[0],f3=c3.reduce(function(t5,n5){var i2=re(e4,n5,r4);return t5.top=a(i2.top,t5.top),t5.right=u(i2.right,t5.right),t5.bottom=u(i2.bottom,t5.bottom),t5.left=a(i2.left,t5.left),t5},re(e4,l3,r4));return f3.width=f3.right-f3.left,f3.height=f3.bottom-f3.top,f3.x=f3.left,f3.y=f3.top,f3}(i(C2)?C2:C2.contextElement||v(e3.elements.popper),d2,y2,l2),V2=p(e3.elements.reference),$2=Y({reference:V2,element:L2,strategy:"absolute",placement:s2}),U2=ne(Object.assign({},L2,$2)),B2=b2===k?U2:V2,H2={top:F2.top-B2.top+j2.top,bottom:B2.bottom-F2.bottom+j2.bottom,left:F2.left-B2.left+j2.left,right:B2.right-F2.right+j2.right},G2=e3.modifiersData.offset;if(b2===k&&G2){var q2=G2[s2];Object.keys(H2).forEach(function(e4){var t4=[R,A].indexOf(e4)>=0?1:-1,n4=[N,A].indexOf(e4)>=0?"y":"x";H2[e4]+=q2[n4]*t4})}return H2}function ae(e3,t3,n3){return a(e3,u(t3,n3))}function ue(e3,t3,n3){return n3===void 0&&(n3={x:0,y:0}),{top:e3.top-t3.height-n3.y,right:e3.right-t3.width+n3.x,bottom:e3.bottom-t3.height+n3.y,left:e3.left-t3.width-n3.x}}function ce(e3){return[N,R,A,x].some(function(t3){return e3[t3]>=0})}var le=H({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e3){var t3=e3.state,n3=e3.instance,i2=e3.options,o2=i2.scroll,s2=o2===void 0||o2,a2=i2.resize,u2=a2===void 0||a2,c2=r2(t3.elements.popper),l2=[].concat(t3.scrollParents.reference,t3.scrollParents.popper);return s2&&l2.forEach(function(e4){e4.addEventListener("scroll",n3.update,G)}),u2&&c2.addEventListener("resize",n3.update,G),function(){s2&&l2.forEach(function(e4){e4.removeEventListener("scroll",n3.update,G)}),u2&&c2.removeEventListener("resize",n3.update,G)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e3){var t3=e3.state,n3=e3.name;t3.modifiersData[n3]=Y({reference:t3.rects.reference,element:t3.rects.popper,strategy:"absolute",placement:t3.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e3){var t3=e3.state,n3=e3.options,r3=n3.gpuAcceleration,i2=r3===void 0||r3,o2=n3.adaptive,s2=o2===void 0||o2,a2=n3.roundOffsets,u2=a2===void 0||a2,c2={placement:q(t3.placement),variation:W(t3.placement),popper:t3.elements.popper,popperRect:t3.rects.popper,gpuAcceleration:i2,isFixed:t3.options.strategy==="fixed"};t3.modifiersData.popperOffsets!=null&&(t3.styles.popper=Object.assign({},t3.styles.popper,J(Object.assign({},c2,{offsets:t3.modifiersData.popperOffsets,position:t3.options.strategy,adaptive:s2,roundOffsets:u2})))),t3.modifiersData.arrow!=null&&(t3.styles.arrow=Object.assign({},t3.styles.arrow,J(Object.assign({},c2,{offsets:t3.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u2})))),t3.attributes.popper=Object.assign({},t3.attributes.popper,{"data-popper-placement":t3.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e3){var t3=e3.state;Object.keys(t3.elements).forEach(function(e4){var n3=t3.styles[e4]||{},r3=t3.attributes[e4]||{},i2=t3.elements[e4];o(i2)&&h(i2)&&(Object.assign(i2.style,n3),Object.keys(r3).forEach(function(e5){var t4=r3[e5];t4===!1?i2.removeAttribute(e5):i2.setAttribute(e5,t4===!0?"":t4)}))})},effect:function(e3){var t3=e3.state,n3={popper:{position:t3.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t3.elements.popper.style,n3.popper),t3.styles=n3,t3.elements.arrow&&Object.assign(t3.elements.arrow.style,n3.arrow),function(){Object.keys(t3.elements).forEach(function(e4){var r3=t3.elements[e4],i2=t3.attributes[e4]||{},s2=Object.keys(t3.styles.hasOwnProperty(e4)?t3.styles[e4]:n3[e4]).reduce(function(e5,t4){return e5[t4]="",e5},{});o(r3)&&h(r3)&&(Object.assign(r3.style,s2),Object.keys(i2).forEach(function(e5){r3.removeAttribute(e5)}))})}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e3){var t3=e3.state,n3=e3.options,r3=e3.name,i2=n3.offset,o2=i2===void 0?[0,0]:i2,s2=F.reduce(function(e4,n4){return e4[n4]=function(e5,t4,n5){var r4=q(e5),i3=[x,N].indexOf(r4)>=0?-1:1,o3=typeof n5=="function"?n5(Object.assign({},t4,{placement:e5})):n5,s3=o3[0],a3=o3[1];return s3=s3||0,a3=(a3||0)*i3,[x,R].indexOf(r4)>=0?{x:a3,y:s3}:{x:s3,y:a3}}(n4,t3.rects,o2),e4},{}),a2=s2[t3.placement],u2=a2.x,c2=a2.y;t3.modifiersData.popperOffsets!=null&&(t3.modifiersData.popperOffsets.x+=u2,t3.modifiersData.popperOffsets.y+=c2),t3.modifiersData[r3]=s2}},{name:"flip",enabled:!0,phase:"main",fn:function(e3){var t3=e3.state,n3=e3.options,r3=e3.name;if(!t3.modifiersData[r3]._skip){for(var i2=n3.mainAxis,o2=i2===void 0||i2,s2=n3.altAxis,a2=s2===void 0||s2,u2=n3.fallbackPlacements,c2=n3.padding,l2=n3.boundary,f2=n3.rootBoundary,p2=n3.altBoundary,d2=n3.flipVariations,h2=d2===void 0||d2,v2=n3.allowedAutoPlacements,m2=t3.options.placement,g2=q(m2),y2=u2||(g2!==m2&&h2?function(e4){if(q(e4)===j)return[];var t4=K(e4);return[ee(e4),t4,ee(t4)]}(m2):[K(m2)]),E2=[m2].concat(y2).reduce(function(e4,n4){return e4.concat(q(n4)===j?function(e5,t4){t4===void 0&&(t4={});var n5=t4,r4=n5.placement,i3=n5.boundary,o3=n5.rootBoundary,s3=n5.padding,a3=n5.flipVariations,u3=n5.allowedAutoPlacements,c3=u3===void 0?F:u3,l3=W(r4),f3=l3?a3?C:C.filter(function(e6){return W(e6)===l3}):P,p3=f3.filter(function(e6){return c3.indexOf(e6)>=0});p3.length===0&&(p3=f3);var d3=p3.reduce(function(t5,n6){return t5[n6]=se(e5,{placement:n6,boundary:i3,rootBoundary:o3,padding:s3})[q(n6)],t5},{});return Object.keys(d3).sort(function(e6,t5){return d3[e6]-d3[t5]})}(t3,{placement:n4,boundary:l2,rootBoundary:f2,padding:c2,flipVariations:h2,allowedAutoPlacements:v2}):n4)},[]),b2=t3.rects.reference,_2=t3.rects.popper,w2=new Map,O2=!0,T2=E2[0],I2=0;I2<E2.length;I2++){var S2=E2[I2],L2=q(S2),M2=W(S2)===D,k2=[N,A].indexOf(L2)>=0,V2=k2?"width":"height",$2=se(t3,{placement:S2,boundary:l2,rootBoundary:f2,altBoundary:p2,padding:c2}),U2=k2?M2?R:x:M2?A:N;b2[V2]>_2[V2]&&(U2=K(U2));var B2=K(U2),H2=[];if(o2&&H2.push($2[L2]<=0),a2&&H2.push($2[U2]<=0,$2[B2]<=0),H2.every(function(e4){return e4})){T2=S2,O2=!1;break}w2.set(S2,H2)}if(O2)for(var G2=function(e4){var t4=E2.find(function(t5){var n4=w2.get(t5);if(n4)return n4.slice(0,e4).every(function(e5){return e5})});if(t4)return T2=t4,"break"},z2=h2?3:1;z2>0&&G2(z2)!=="break";z2--);t3.placement!==T2&&(t3.modifiersData[r3]._skip=!0,t3.placement=T2,t3.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e3){var t3=e3.state,n3=e3.options,r3=e3.name,i2=n3.mainAxis,o2=i2===void 0||i2,s2=n3.altAxis,c2=s2!==void 0&&s2,l2=n3.boundary,f2=n3.rootBoundary,p2=n3.altBoundary,d2=n3.padding,h2=n3.tether,v2=h2===void 0||h2,m2=n3.tetherOffset,g2=m2===void 0?0:m2,y2=se(t3,{boundary:l2,rootBoundary:f2,padding:d2,altBoundary:p2}),E2=q(t3.placement),_2=W(t3.placement),w2=!_2,O2=z(E2),T2=O2==="x"?"y":"x",I2=t3.modifiersData.popperOffsets,j2=t3.rects.reference,P2=t3.rects.popper,L2=typeof g2=="function"?g2(Object.assign({},t3.rects,{placement:t3.placement})):g2,M2=typeof L2=="number"?{mainAxis:L2,altAxis:L2}:Object.assign({mainAxis:0,altAxis:0},L2),k2=t3.modifiersData.offset?t3.modifiersData.offset[t3.placement]:null,C2={x:0,y:0};if(I2){if(o2){var F2,V2=O2==="y"?N:x,$2=O2==="y"?A:R,U2=O2==="y"?"height":"width",B2=I2[O2],H2=B2+y2[V2],G2=B2-y2[$2],Y2=v2?-P2[U2]/2:0,X2=_2===D?j2[U2]:P2[U2],J2=_2===D?-P2[U2]:-j2[U2],Q2=t3.elements.arrow,K2=v2&&Q2?b(Q2):{width:0,height:0},Z2=t3.modifiersData["arrow#persistent"]?t3.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},ee2=Z2[V2],te2=Z2[$2],ne2=ae(0,j2[U2],K2[U2]),re2=w2?j2[U2]/2-Y2-ne2-ee2-M2.mainAxis:X2-ne2-ee2-M2.mainAxis,ie2=w2?-j2[U2]/2+Y2+ne2+te2+M2.mainAxis:J2+ne2+te2+M2.mainAxis,oe2=t3.elements.arrow&&S(t3.elements.arrow),ue2=oe2?O2==="y"?oe2.clientTop||0:oe2.clientLeft||0:0,ce2=(F2=k2?.[O2])!=null?F2:0,le2=B2+ie2-ce2,fe2=ae(v2?u(H2,B2+re2-ce2-ue2):H2,B2,v2?a(G2,le2):G2);I2[O2]=fe2,C2[O2]=fe2-B2}if(c2){var pe2,de2=O2==="x"?N:x,he2=O2==="x"?A:R,ve2=I2[T2],me2=T2==="y"?"height":"width",ge2=ve2+y2[de2],ye2=ve2-y2[he2],Ee2=[N,x].indexOf(E2)!==-1,be2=(pe2=k2?.[T2])!=null?pe2:0,_e2=Ee2?ge2:ve2-j2[me2]-P2[me2]-be2+M2.altAxis,we2=Ee2?ve2+j2[me2]+P2[me2]-be2-M2.altAxis:ye2,Oe2=v2&&Ee2?function(e4,t4,n4){var r4=ae(e4,t4,n4);return r4>n4?n4:r4}(_e2,ve2,we2):ae(v2?_e2:ge2,ve2,v2?we2:ye2);I2[T2]=Oe2,C2[T2]=Oe2-ve2}t3.modifiersData[r3]=C2}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e3){var t3,n3=e3.state,r3=e3.name,i2=e3.options,o2=n3.elements.arrow,s2=n3.modifiersData.popperOffsets,a2=q(n3.placement),u2=z(a2),c2=[x,R].indexOf(a2)>=0?"height":"width";if(o2&&s2){var l2=function(e4,t4){return ie(typeof(e4=typeof e4=="function"?e4(Object.assign({},t4.rects,{placement:t4.placement})):e4)!="number"?e4:oe(e4,P))}(i2.padding,n3),f2=b(o2),p2=u2==="y"?N:x,d2=u2==="y"?A:R,h2=n3.rects.reference[c2]+n3.rects.reference[u2]-s2[u2]-n3.rects.popper[c2],v2=s2[u2]-n3.rects.reference[u2],m2=S(o2),g2=m2?u2==="y"?m2.clientHeight||0:m2.clientWidth||0:0,y2=h2/2-v2/2,E2=l2[p2],_2=g2-f2[c2]-l2[d2],w2=g2/2-f2[c2]/2+y2,O2=ae(E2,w2,_2),T2=u2;n3.modifiersData[r3]=((t3={})[T2]=O2,t3.centerOffset=O2-w2,t3)}},effect:function(e3){var t3=e3.state,n3=e3.options.element,r3=n3===void 0?"[data-popper-arrow]":n3;r3!=null&&(typeof r3!="string"||(r3=t3.elements.popper.querySelector(r3)))&&te(t3.elements.popper,r3)&&(t3.elements.arrow=r3)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e3){var t3=e3.state,n3=e3.name,r3=t3.rects.reference,i2=t3.rects.popper,o2=t3.modifiersData.preventOverflow,s2=se(t3,{elementContext:"reference"}),a2=se(t3,{altBoundary:!0}),u2=ue(s2,r3),c2=ue(a2,i2,o2),l2=ce(u2),f2=ce(c2);t3.modifiersData[n3]={referenceClippingOffsets:u2,popperEscapeOffsets:c2,isReferenceHidden:l2,hasPopperEscaped:f2},t3.attributes.popper=Object.assign({},t3.attributes.popper,{"data-popper-reference-hidden":l2,"data-popper-escaped":f2})}}]}),fe={passive:!0,capture:!0};function pe(e3,t3,n3){if(Array.isArray(e3)){var r3=e3[t3];return r3??(Array.isArray(n3)?n3[t3]:n3)}return e3}function de(e3,t3){var n3={}.toString.call(e3);return n3.indexOf("[object")===0&&n3.indexOf(t3+"]")>-1}function he(e3,t3){return typeof e3=="function"?e3.apply(void 0,t3):e3}function ve(e3,t3){return t3===0?e3:function(r3){clearTimeout(n3),n3=setTimeout(function(){e3(r3)},t3)};var n3}function me(e3){return[].concat(e3)}function ge(e3,t3){e3.indexOf(t3)===-1&&e3.push(t3)}function ye(e3){return[].slice.call(e3)}function Ee(){return document.createElement("div")}function be(e3){return["Element","Fragment"].some(function(t3){return de(e3,t3)})}function _e(e3,t3){e3.forEach(function(e4){e4&&(e4.style.transitionDuration=t3+"ms")})}function we(e3,t3){e3.forEach(function(e4){e4&&e4.setAttribute("data-state",t3)})}function Oe(e3,t3,n3){var r3=t3+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(t4){e3[r3](t4,n3)})}var Te={isTouch:!1},Ie=0;function Se(){Te.isTouch||(Te.isTouch=!0,window.performance&&document.addEventListener("mousemove",Ne))}function Ne(){var e3=performance.now();e3-Ie<20&&(Te.isTouch=!1,document.removeEventListener("mousemove",Ne)),Ie=e3}function Ae(){var e3=document.activeElement;if(function(e4){return!(!e4||!e4._tippy||e4._tippy.reference!==e4)}(e3)){var t3=e3._tippy;e3.blur&&!t3.state.isVisible&&e3.blur()}}var Re=typeof window<"u"&&typeof document<"u"?navigator.userAgent:"",xe=/MSIE |Trident\//.test(Re),je=Object.assign({appendTo:function(){return document.body},aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},{animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},{},{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),Pe=Object.keys(je);function De(e3){var t3=(e3.plugins||[]).reduce(function(t4,n3){var r3=n3.name,i2=n3.defaultValue;return r3&&(t4[r3]=e3[r3]!==void 0?e3[r3]:i2),t4},{});return Object.assign({},e3,{},t3)}function Le(e3,t3){var n3=Object.assign({},t3,{content:he(t3.content,[e3])},t3.ignoreAttributes?{}:function(e4,t4){return(t4?Object.keys(De(Object.assign({},je,{plugins:t4}))):Pe).reduce(function(t5,n4){var r3=(e4.getAttribute("data-tippy-"+n4)||"").trim();if(!r3)return t5;if(n4==="content")t5[n4]=r3;else try{t5[n4]=JSON.parse(r3)}catch{t5[n4]=r3}return t5},{})}(e3,t3.plugins));return n3.aria=Object.assign({},je.aria,{},n3.aria),n3.aria={expanded:n3.aria.expanded==="auto"?t3.interactive:n3.aria.expanded,content:n3.aria.content==="auto"?t3.interactive?null:"describedby":n3.aria.content},n3}function Me(e3){var t3=e3.firstElementChild,n3=ye(t3.children);return{box:t3,content:n3.find(function(e4){return e4.classList.contains("tippy-content")}),arrow:n3.find(function(e4){return e4.classList.contains("tippy-arrow")||e4.classList.contains("tippy-svg-arrow")}),backdrop:n3.find(function(e4){return e4.classList.contains("tippy-backdrop")})}}var ke=1,Ce=[],Fe=[];function Ve(e3,t3){var n3,r3,i2,o2,s2,a2,u2,c2,l2,f2=Le(e3,Object.assign({},je,{},De((n3=t3,Object.keys(n3).reduce(function(e4,t4){return n3[t4]!==void 0&&(e4[t4]=n3[t4]),e4},{}))))),p2=!1,d2=!1,h2=!1,v2=!1,m2=[],g2=ve(Y2,f2.interactiveDebounce),y2=ke++,E2=(l2=f2.plugins).filter(function(e4,t4){return l2.indexOf(e4)===t4}),b2={id:y2,reference:e3,popper:Ee(),popperInstance:null,props:f2,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:E2,clearDelayTimeouts:function(){clearTimeout(r3),clearTimeout(i2),cancelAnimationFrame(o2)},setProps:function(t4){if(!b2.state.isDestroyed){L2("onBeforeUpdate",[b2,t4]),W2();var n4=b2.props,r4=Le(e3,Object.assign({},b2.props,{},t4,{ignoreAttributes:!0}));b2.props=r4,q2(),n4.interactiveDebounce!==r4.interactiveDebounce&&(C2(),g2=ve(Y2,r4.interactiveDebounce)),n4.triggerTarget&&!r4.triggerTarget?me(n4.triggerTarget).forEach(function(e4){e4.removeAttribute("aria-expanded")}):r4.triggerTarget&&e3.removeAttribute("aria-expanded"),k2(),D2(),O2&&O2(n4,r4),b2.popperInstance&&(K2(),ee2().forEach(function(e4){requestAnimationFrame(e4._tippy.popperInstance.forceUpdate)})),L2("onAfterUpdate",[b2,t4])}},setContent:function(e4){b2.setProps({content:e4})},show:function(){var e4=b2.state.isVisible,t4=b2.state.isDestroyed,n4=!b2.state.isEnabled,r4=Te.isTouch&&!b2.props.touch,i3=pe(b2.props.duration,0,je.duration);if(!(e4||t4||n4||r4||R2().hasAttribute("disabled")||(L2("onShow",[b2],!1),b2.props.onShow(b2)===!1))){if(b2.state.isVisible=!0,A2()&&(w2.style.visibility="visible"),D2(),U2(),b2.state.isMounted||(w2.style.transition="none"),A2()){var o3=j2();_e([o3.box,o3.content],0)}var s3,a3,c3;u2=function(){if(b2.state.isVisible&&!v2){if(v2=!0,w2.offsetHeight,w2.style.transition=b2.props.moveTransition,A2()&&b2.props.animation){var e5=j2(),t5=e5.box,n5=e5.content;_e([t5,n5],i3),we([t5,n5],"visible")}M2(),k2(),ge(Fe,b2),b2.state.isMounted=!0,L2("onMount",[b2]),b2.props.animation&&A2()&&function(e6){H2(e6,function(){b2.state.isShown=!0,L2("onShown",[b2])})}(i3)}},a3=b2.props.appendTo,c3=R2(),(s3=b2.props.interactive&&a3===je.appendTo||a3==="parent"?c3.parentNode:he(a3,[c3])).contains(w2)||s3.appendChild(w2),K2()}},hide:function(){var e4=!b2.state.isVisible,t4=b2.state.isDestroyed,n4=!b2.state.isEnabled,r4=pe(b2.props.duration,1,je.duration);if(!(e4||t4||n4)&&(L2("onHide",[b2],!1),b2.props.onHide(b2)!==!1)){if(b2.state.isVisible=!1,b2.state.isShown=!1,v2=!1,p2=!1,A2()&&(w2.style.visibility="hidden"),C2(),B2(),D2(),A2()){var i3=j2(),o3=i3.box,s3=i3.content;b2.props.animation&&(_e([o3,s3],r4),we([o3,s3],"hidden"))}M2(),k2(),b2.props.animation?A2()&&function(e5,t5){H2(e5,function(){!b2.state.isVisible&&w2.parentNode&&w2.parentNode.contains(w2)&&t5()})}(r4,b2.unmount):b2.unmount()}},hideWithInteractivity:function(e4){x2().addEventListener("mousemove",g2),ge(Ce,g2),g2(e4)},enable:function(){b2.state.isEnabled=!0},disable:function(){b2.hide(),b2.state.isEnabled=!1},unmount:function(){b2.state.isVisible&&b2.hide(),b2.state.isMounted&&(Z2(),ee2().forEach(function(e4){e4._tippy.unmount()}),w2.parentNode&&w2.parentNode.removeChild(w2),Fe=Fe.filter(function(e4){return e4!==b2}),b2.state.isMounted=!1,L2("onHidden",[b2]))},destroy:function(){b2.state.isDestroyed||(b2.clearDelayTimeouts(),b2.unmount(),W2(),delete e3._tippy,b2.state.isDestroyed=!0,L2("onDestroy",[b2]))}};if(!f2.render)return b2;var _2=f2.render(b2),w2=_2.popper,O2=_2.onUpdate;w2.setAttribute("data-tippy-root",""),w2.id="tippy-"+b2.id,b2.popper=w2,e3._tippy=b2,w2._tippy=b2;var T2=E2.map(function(e4){return e4.fn(b2)}),I2=e3.hasAttribute("aria-expanded");return q2(),k2(),D2(),L2("onCreate",[b2]),f2.showOnCreate&&te2(),w2.addEventListener("mouseenter",function(){b2.props.interactive&&b2.state.isVisible&&b2.clearDelayTimeouts()}),w2.addEventListener("mouseleave",function(e4){b2.props.interactive&&b2.props.trigger.indexOf("mouseenter")>=0&&(x2().addEventListener("mousemove",g2),g2(e4))}),b2;function S2(){var e4=b2.props.touch;return Array.isArray(e4)?e4:[e4,0]}function N2(){return S2()[0]==="hold"}function A2(){var e4;return!!((e4=b2.props.render)!=null&&e4.$$tippy)}function R2(){return c2||e3}function x2(){var e4,t4=R2().parentNode;return t4&&(e4=me(t4)[0])&&e4.ownerDocument||document}function j2(){return Me(w2)}function P2(e4){return b2.state.isMounted&&!b2.state.isVisible||Te.isTouch||s2&&s2.type==="focus"?0:pe(b2.props.delay,e4?0:1,je.delay)}function D2(){w2.style.pointerEvents=b2.props.interactive&&b2.state.isVisible?"":"none",w2.style.zIndex=""+b2.props.zIndex}function L2(e4,t4,n4){var r4;n4===void 0&&(n4=!0),T2.forEach(function(n5){n5[e4]&&n5[e4].apply(void 0,t4)}),n4&&(r4=b2.props)[e4].apply(r4,t4)}function M2(){var t4=b2.props.aria;if(t4.content){var n4="aria-"+t4.content,r4=w2.id;me(b2.props.triggerTarget||e3).forEach(function(e4){var t5=e4.getAttribute(n4);if(b2.state.isVisible)e4.setAttribute(n4,t5?t5+" "+r4:r4);else{var i3=t5&&t5.replace(r4,"").trim();i3?e4.setAttribute(n4,i3):e4.removeAttribute(n4)}})}}function k2(){!I2&&b2.props.aria.expanded&&me(b2.props.triggerTarget||e3).forEach(function(e4){b2.props.interactive?e4.setAttribute("aria-expanded",b2.state.isVisible&&e4===R2()?"true":"false"):e4.removeAttribute("aria-expanded")})}function C2(){x2().removeEventListener("mousemove",g2),Ce=Ce.filter(function(e4){return e4!==g2})}function F2(e4){if(!(Te.isTouch&&(h2||e4.type==="mousedown")||b2.props.interactive&&w2.contains(e4.target))){if(R2().contains(e4.target)){if(Te.isTouch||b2.state.isVisible&&b2.props.trigger.indexOf("click")>=0)return}else L2("onClickOutside",[b2,e4]);b2.props.hideOnClick===!0&&(b2.clearDelayTimeouts(),b2.hide(),d2=!0,setTimeout(function(){d2=!1}),b2.state.isMounted||B2())}}function V2(){h2=!0}function $2(){h2=!1}function U2(){var e4=x2();e4.addEventListener("mousedown",F2,!0),e4.addEventListener("touchend",F2,fe),e4.addEventListener("touchstart",$2,fe),e4.addEventListener("touchmove",V2,fe)}function B2(){var e4=x2();e4.removeEventListener("mousedown",F2,!0),e4.removeEventListener("touchend",F2,fe),e4.removeEventListener("touchstart",$2,fe),e4.removeEventListener("touchmove",V2,fe)}function H2(e4,t4){var n4=j2().box;function r4(e5){e5.target===n4&&(Oe(n4,"remove",r4),t4())}if(e4===0)return t4();Oe(n4,"remove",a2),Oe(n4,"add",r4),a2=r4}function G2(t4,n4,r4){r4===void 0&&(r4=!1),me(b2.props.triggerTarget||e3).forEach(function(e4){e4.addEventListener(t4,n4,r4),m2.push({node:e4,eventType:t4,handler:n4,options:r4})})}function q2(){N2()&&(G2("touchstart",z2,{passive:!0}),G2("touchend",X2,{passive:!0})),function(e4){return e4.split(/\s+/).filter(Boolean)}(b2.props.trigger).forEach(function(e4){if(e4!=="manual")switch(G2(e4,z2),e4){case"mouseenter":G2("mouseleave",X2);break;case"focus":G2(xe?"focusout":"blur",J2);break;case"focusin":G2("focusout",J2)}})}function W2(){m2.forEach(function(e4){var t4=e4.node,n4=e4.eventType,r4=e4.handler,i3=e4.options;t4.removeEventListener(n4,r4,i3)}),m2=[]}function z2(e4){var t4,n4=!1;if(b2.state.isEnabled&&!Q2(e4)&&!d2){var r4=((t4=s2)==null?void 0:t4.type)==="focus";s2=e4,c2=e4.currentTarget,k2(),!b2.state.isVisible&&function(e5){return de(e5,"MouseEvent")}(e4)&&Ce.forEach(function(t5){return t5(e4)}),e4.type==="click"&&(b2.props.trigger.indexOf("mouseenter")<0||p2)&&b2.props.hideOnClick!==!1&&b2.state.isVisible?n4=!0:te2(e4),e4.type==="click"&&(p2=!n4),n4&&!r4&&ne2(e4)}}function Y2(e4){var t4=e4.target,n4=R2().contains(t4)||w2.contains(t4);if(e4.type!=="mousemove"||!n4){var r4=ee2().concat(w2).map(function(e5){var t5,n5=(t5=e5._tippy.popperInstance)==null?void 0:t5.state;return n5?{popperRect:e5.getBoundingClientRect(),popperState:n5,props:f2}:null}).filter(Boolean);(function(e5,t5){var n5=t5.clientX,r5=t5.clientY;return e5.every(function(e6){var t6=e6.popperRect,i3=e6.popperState,o3=e6.props.interactiveBorder,s3=i3.placement.split("-")[0],a3=i3.modifiersData.offset;if(!a3)return!0;var u3=s3==="bottom"?a3.top.y:0,c3=s3==="top"?a3.bottom.y:0,l3=s3==="right"?a3.left.x:0,f3=s3==="left"?a3.right.x:0,p3=t6.top-r5+u3>o3,d3=r5-t6.bottom-c3>o3,h3=t6.left-n5+l3>o3,v3=n5-t6.right-f3>o3;return p3||d3||h3||v3})})(r4,e4)&&(C2(),ne2(e4))}}function X2(e4){Q2(e4)||b2.props.trigger.indexOf("click")>=0&&p2||(b2.props.interactive?b2.hideWithInteractivity(e4):ne2(e4))}function J2(e4){b2.props.trigger.indexOf("focusin")<0&&e4.target!==R2()||b2.props.interactive&&e4.relatedTarget&&w2.contains(e4.relatedTarget)||ne2(e4)}function Q2(e4){return!!Te.isTouch&&N2()!==e4.type.indexOf("touch")>=0}function K2(){Z2();var t4=b2.props,n4=t4.popperOptions,r4=t4.placement,i3=t4.offset,o3=t4.getReferenceClientRect,s3=t4.moveTransition,a3=A2()?Me(w2).arrow:null,c3=o3?{getBoundingClientRect:o3,contextElement:o3.contextElement||R2()}:e3,l3=[{name:"offset",options:{offset:i3}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!s3}},{name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e4){var t5=e4.state;if(A2()){var n5=j2().box;["placement","reference-hidden","escaped"].forEach(function(e5){e5==="placement"?n5.setAttribute("data-placement",t5.placement):t5.attributes.popper["data-popper-"+e5]?n5.setAttribute("data-"+e5,""):n5.removeAttribute("data-"+e5)}),t5.attributes.popper={}}}}];A2()&&a3&&l3.push({name:"arrow",options:{element:a3,padding:3}}),l3.push.apply(l3,n4?.modifiers||[]),b2.popperInstance=le(c3,w2,Object.assign({},n4,{placement:r4,onFirstUpdate:u2,modifiers:l3}))}function Z2(){b2.popperInstance&&(b2.popperInstance.destroy(),b2.popperInstance=null)}function ee2(){return ye(w2.querySelectorAll("[data-tippy-root]"))}function te2(e4){b2.clearDelayTimeouts(),e4&&L2("onTrigger",[b2,e4]),U2();var t4=P2(!0),n4=S2(),i3=n4[0],o3=n4[1];Te.isTouch&&i3==="hold"&&o3&&(t4=o3),t4?r3=setTimeout(function(){b2.show()},t4):b2.show()}function ne2(e4){if(b2.clearDelayTimeouts(),L2("onUntrigger",[b2,e4]),b2.state.isVisible){if(!(b2.props.trigger.indexOf("mouseenter")>=0&&b2.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e4.type)>=0&&p2)){var t4=P2(!1);t4?i2=setTimeout(function(){b2.state.isVisible&&b2.hide()},t4):o2=requestAnimationFrame(function(){b2.hide()})}}else B2()}}function $e(e3,t3){t3===void 0&&(t3={});var n3=je.plugins.concat(t3.plugins||[]);document.addEventListener("touchstart",Se,fe),window.addEventListener("blur",Ae);var r3=Object.assign({},t3,{plugins:n3}),i2=function(e4){return be(e4)?[e4]:function(e5){return de(e5,"NodeList")}(e4)?ye(e4):Array.isArray(e4)?e4:ye(document.querySelectorAll(e4))}(e3).reduce(function(e4,t4){var n4=t4&&Ve(t4,r3);return n4&&e4.push(n4),e4},[]);return be(e3)?i2[0]:i2}$e.defaultProps=je,$e.setDefaultProps=function(e3){Object.keys(e3).forEach(function(t3){je[t3]=e3[t3]})},$e.currentInput=Te;var Ue=function(e3,t3){t3===void 0&&(t3={});var n3,r3=e3,i2=[],o2=t3.overrides,s2=[];function a2(){i2=r3.map(function(e4){return e4.reference})}function u2(e4){r3.forEach(function(t4){e4?t4.enable():t4.disable()})}function c2(e4){return r3.map(function(t4){var r4=t4.setProps;return t4.setProps=function(i3){r4(i3),t4.reference===n3&&e4.setProps(i3)},function(){t4.setProps=r4}})}u2(!1),a2();var l2,f2,p2,d2={fn:function(){return{onDestroy:function(){u2(!0)},onTrigger:function(e4,t4){var s3=t4.currentTarget,a3=i2.indexOf(s3);if(s3!==n3){n3=s3;var u3=(o2||[]).concat("content").reduce(function(e5,t5){return e5[t5]=r3[a3].props[t5],e5},{});e4.setProps(Object.assign({},u3,{getReferenceClientRect:typeof u3.getReferenceClientRect=="function"?u3.getReferenceClientRect:function(){return s3.getBoundingClientRect()}}))}}}}},h2=$e(Ee(),Object.assign({},(l2=t3,f2=["overrides"],p2=Object.assign({},l2),f2.forEach(function(e4){delete p2[e4]}),p2),{plugins:[d2].concat(t3.plugins||[]),triggerTarget:i2})),v2=h2.setProps;return h2.setProps=function(e4){o2=e4.overrides||o2,v2(e4)},h2.setInstances=function(e4){u2(!0),s2.forEach(function(e5){return e5()}),r3=e4,u2(!1),a2(),c2(h2),h2.setProps({triggerTarget:i2})},s2=c2(h2),h2};$e.setDefaultProps({animation:!1});const Be=$e;var He=n2(2015),Ge=n2.n(He),qe=n2(2326);function We(e3,t3){if(e3==null)return{};var n3,r3,i2={},o2=Object.keys(e3);for(r3=0;r3<o2.length;r3++)n3=o2[r3],t3.indexOf(n3)>=0||(i2[n3]=e3[n3]);return i2}var ze=typeof window<"u"&&typeof document<"u";function Ye(e3,t3){e3&&(typeof e3=="function"&&e3(t3),{}.hasOwnProperty.call(e3,"current")&&(e3.current=t3))}function Xe(){return ze&&document.createElement("div")}function Je(e3,t3){var n3,r3;return Object.assign({},t3,{popperOptions:Object.assign({},e3.popperOptions,t3.popperOptions,{modifiers:[].concat((((n3=e3.popperOptions)==null?void 0:n3.modifiers)||[]).filter(function(e4){return e4.name.indexOf("tippy")>=0}),((r3=t3.popperOptions)==null?void 0:r3.modifiers)||[])})})}var Qe=ze?He.useLayoutEffect:He.useEffect;function Ke(e3){var t3=(0,He.useRef)();return t3.current||(t3.current=typeof e3=="function"?e3():e3),t3.current}function Ze(e3,t3,n3){n3.split(/\s+/).forEach(function(n4){n4&&e3.classList[t3](n4)})}var et={name:"className",defaultValue:"",fn:function(e3){var t3=e3.popper.firstElementChild,n3=function(){var t4;return!!((t4=e3.props.render)!=null&&t4.$$tippy)};function r3(){e3.props.className&&!n3()||Ze(t3,"add",e3.props.className)}return{onCreate:r3,onBeforeUpdate:function(){n3()&&Ze(t3,"remove",e3.props.className)},onAfterUpdate:r3}}};function tt(e3){return function(t3){var n3=t3.children,r3=t3.content,i2=t3.visible,o2=t3.singleton,s2=t3.render,a2=t3.reference,u2=t3.disabled,c2=u2!==void 0&&u2,l2=t3.ignoreAttributes,f2=l2===void 0||l2,p2=(t3.__source,t3.__self,We(t3,["children","content","visible","singleton","render","reference","disabled","ignoreAttributes","__source","__self"])),d2=i2!==void 0,h2=o2!==void 0,v2=(0,He.useState)(!1),m2=v2[0],g2=v2[1],y2=(0,He.useState)({}),E2=y2[0],b2=y2[1],_2=(0,He.useState)(),w2=_2[0],O2=_2[1],T2=Ke(function(){return{container:Xe(),renders:1}}),I2=Object.assign({ignoreAttributes:f2},p2,{content:T2.container});d2&&(I2.trigger="manual",I2.hideOnClick=!1),h2&&(c2=!0);var S2=I2,N2=I2.plugins||[];s2&&(S2=Object.assign({},I2,{plugins:h2?[].concat(N2,[{fn:function(){return{onTrigger:function(e4,t4){var n4=o2.data.children.find(function(e5){return e5.instance.reference===t4.currentTarget}).content;O2(n4)}}}}]):N2,render:function(){return{popper:T2.container}}}));var A2=[a2].concat(n3?[n3.type]:[]);return Qe(function(){var t4=a2;a2&&a2.hasOwnProperty("current")&&(t4=a2.current);var n4=e3(t4||T2.ref||Xe(),Object.assign({},S2,{plugins:[et].concat(I2.plugins||[])}));return T2.instance=n4,c2&&n4.disable(),i2&&n4.show(),h2&&o2.hook({instance:n4,content:r3,props:S2}),g2(!0),function(){n4.destroy(),o2?.cleanup(n4)}},A2),Qe(function(){if(T2.renders!==1){var e4=T2.instance;e4.setProps(Je(e4.props,S2)),c2?e4.disable():e4.enable(),d2&&(i2?e4.show():e4.hide()),h2&&o2.hook({instance:e4,content:r3,props:S2})}else T2.renders++}),Qe(function(){var e4;if(s2){var t4=T2.instance;t4.setProps({popperOptions:Object.assign({},t4.props.popperOptions,{modifiers:[].concat(((e4=t4.props.popperOptions)==null?void 0:e4.modifiers)||[],[{name:"$$tippyReact",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e5){var t5,n4=e5.state,r4=(t5=n4.modifiersData)==null?void 0:t5.hide;E2.placement===n4.placement&&E2.referenceHidden===r4?.isReferenceHidden&&E2.escaped===r4?.hasPopperEscaped||b2({placement:n4.placement,referenceHidden:r4?.isReferenceHidden,escaped:r4?.hasPopperEscaped}),n4.attributes.popper={}}}])})})}},[E2.placement,E2.referenceHidden,E2.escaped].concat(A2)),Ge().createElement(Ge().Fragment,null,n3?(0,He.cloneElement)(n3,{ref:function(e4){T2.ref=e4,Ye(n3.ref,e4)}}):null,m2&&(0,qe.createPortal)(s2?s2(function(e4){var t4={"data-placement":e4.placement};return e4.referenceHidden&&(t4["data-reference-hidden"]=""),e4.escaped&&(t4["data-escaped"]=""),t4}(E2),w2,T2.instance):r3,T2.container))}}function nt(e3){return function(t3){var n3=t3===void 0?{}:t3,r3=n3.disabled,i2=r3!==void 0&&r3,o2=n3.overrides,s2=o2===void 0?[]:o2,a2=(0,He.useState)(!1),u2=a2[0],c2=a2[1],l2=Ke({children:[],renders:1});return Qe(function(){if(u2){var t4=l2.children,n4=l2.sourceData;if(n4){var r4=e3(t4.map(function(e4){return e4.instance}),Object.assign({},n4.props,{popperOptions:n4.instance.props.popperOptions,overrides:s2,plugins:[et].concat(n4.props.plugins||[])}));return l2.instance=r4,i2&&r4.disable(),function(){r4.destroy(),l2.children=t4.filter(function(e4){return!e4.instance.state.isDestroyed})}}}else c2(!0)},[u2]),Qe(function(){if(u2)if(l2.renders!==1){var e4=l2.children,t4=l2.instance,n4=l2.sourceData;if(t4&&n4){var r4=n4.props,o3=(r4.content,We(r4,["content"]));t4.setProps(Je(t4,Object.assign({},o3,{overrides:s2}))),t4.setInstances(e4.map(function(e5){return e5.instance})),i2?t4.disable():t4.enable()}}else l2.renders++}),(0,He.useMemo)(function(){return[{data:l2,hook:function(e4){l2.sourceData=e4},cleanup:function(){l2.sourceData=null}},{hook:function(e4){l2.children.find(function(t4){var n4=t4.instance;return e4.instance===n4})||l2.children.push(e4)},cleanup:function(e4){l2.children=l2.children.filter(function(t4){return t4.instance!==e4})}}]},[])}}var rt=function(e3,t3){return(0,He.forwardRef)(function(n3,r3){var i2=n3.children,o2=We(n3,["children"]);return Ge().createElement(e3,Object.assign({},t3,o2),i2?(0,He.cloneElement)(i2,{ref:function(e4){Ye(r3,e4),Ye(i2.ref,e4)}}):null)})},it=nt(Ue);const ot=rt(tt(Be),{render:function(){return""}})},2570:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0});var r2=n2(380);t2.tarjan=r2.tarjan},380:function(e2,t2,n2){"use strict";var r2=this&&this.__importDefault||function(e3){return e3&&e3.__esModule?e3:{default:e3}};Object.defineProperty(t2,"__esModule",{value:!0});const i=r2(n2(2935));t2.tarjan=function(e3){var t3=0,n3=[],r3={},o=[];function s(a){var u=r3[a]={onStack:!0,lowlink:t3,index:t3++};if(n3.push(a),[...e3.successors(a).keys()].forEach(function(e4){i.default.has(r3,e4)?r3[e4].onStack&&(u.lowlink=Math.min(u.lowlink,r3[e4].index)):(s(e4),u.lowlink=Math.min(u.lowlink,r3[e4].lowlink))}),u.lowlink===u.index){var c,l=[];do c=n3.pop(),r3[c].onStack=!1,l.push(c);while(a!==c);o.push(l)}}return[...e3.nodes.keys()].forEach(function(e4){i.default.has(r3,e4)||s(e4)}),o}},2842:(e2,t2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.GraphEdge=class{constructor(e3,t3,n2){this.sourceId=e3,this.targetId=t3,this.sourceId=e3,this.targetId=t3,this.attr=n2}stringify(){let e3="";return e3=this.attr.stringify&&typeof this.attr.stringify=="function"?this.attr.stringify():JSON.stringify(this.attr),e3}static fromObject(e3,t3){if(!e3.hasOwnProperty("sourceId"))throw Error("missing source id");if(!e3.hasOwnProperty("targetId"))throw Error("missing target id");return{sourceId:e3.sourceId,targetId:e3.targetId,edge:t3(e3.edge)}}static edgeId(e3,t3){return`${e3}->${t3}`}static parseEdgeId(e3){const t3=e3.split("->");return t3.length===2?{sourceId:t3[0],targetId:t3[1]}:{sourceId:"",targetId:""}}get nodes(){return[this.sourceId,this.targetId]}},t2.genericParseEdge=function(e3){return Object.keys(e3).length===0&&e3.constructor===Object||typeof e3!="object"?e3:JSON.parse(e3)},t2.genericEdgeToJson=function(e3){return e3}},7509:(e2,t2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0});class n2 extends Error{constructor(e3){super(e3),Object.setPrototypeOf(this,new.target.prototype)}}t2.CyclicError=n2;class r2 extends Error{constructor(e3){super(e3),Object.setPrototypeOf(this,new.target.prototype)}}t2.NodeDoesntExist=r2},3871:function(e2,t2,n2){"use strict";var r2=this&&this.__importDefault||function(e3){return e3&&e3.__esModule?e3:{default:e3}};Object.defineProperty(t2,"__esModule",{value:!0});const i=n2(1895),o=n2(1895),s=n2(1895),a=r2(n2(2935)),u=n2(2570),c=n2(7287),l=n2(2842);class f{constructor(e3=[],t3=[]){this._nodes=new Map,this._edges=new Map,e3.forEach(e4=>this.setNode(e4.id,e4.node)),t3.forEach(e4=>this.setEdge(e4.sourceId,e4.targetId,e4.edge))}create(e3=[],t3=[]){return new f(e3,t3)}get _userNodes(){return this._transformToUserNodeMap(this._nodes)}get _userEdges(){return this._transformToUserEdgeMap(this._edges)}_transformToUserNodeMap(e3){let t3=new Map;for(const[n3,r3]of e3.entries())t3.set(n3,r3.attr);return t3}_transformToUserEdgeMap(e3){let t3=new Map;for(const[n3,r3]of e3.entries())t3.set(n3,r3.attr);return t3}setNode(e3,t3,n3=!0){if(this.hasNode(e3)){if(n3){let n4=this._node(e3);n4&&(n4.attr=t3)}}else{let n4=new i.GraphNode(e3,t3);this._nodes.set(e3,n4)}return this}setEdge(e3,t3,n3,r3=!0){if(this.hasEdge(e3,t3)){if(r3){let r4=this._edge(e3,t3);return r4&&(r4.attr=n3),this}return this}const i2=o.GraphEdge.edgeId(e3,t3);let s2=new o.GraphEdge(e3,t3,n3);if(this._edges.set(i2,s2),!this._nodes.has(e3))throw Error("source node does not exist");{let t4=this._nodes.get(e3);t4!==void 0&&t4.setOutEdge(i2)}if(!this._nodes.has(t3))throw Error("target node does not exist");{let e4=this._nodes.get(t3);e4!==void 0&&e4.setInEdge(i2)}return this}setNodes(e3,t3=!0){return e3.forEach(e4=>{if(this.hasNode(e4.id)){if(t3){let t4=this._node(e4.id);t4&&(t4.attr=e4.node)}}else this.setNode(e4.id,e4.node)}),this}setEdges(e3,t3=!0){return e3.forEach(e4=>{if(this.hasEdge(e4.sourceId,e4.targetId)){if(t3){let t4=this._edge(e4.sourceId,e4.targetId);t4&&(t4.attr=e4.edge)}}else this.setEdge(e4.sourceId,e4.targetId,e4.edge)}),this}hasNode(e3){return this._nodes.has(e3)}hasEdge(e3,t3){return this._edges.has(o.GraphEdge.edgeId(e3,t3))}node(e3){var t3;return(t3=this._nodes.get(e3))===null||t3===void 0?void 0:t3.attr}edge(e3,t3){var n3;return(n3=this._edges.get(o.GraphEdge.edgeId(e3,t3)))===null||n3===void 0?void 0:n3.attr}_node(e3){return this._nodes.get(e3)}_edge(e3,t3){return this._edges.get(o.GraphEdge.edgeId(e3,t3))}_edgeById(e3){return this._edges.get(e3)}edgeNodesById(e3){var t3,n3;return{sourceId:(t3=this._edges.get(e3))===null||t3===void 0?void 0:t3.sourceId,targetId:(n3=this._edges.get(e3))===null||n3===void 0?void 0:n3.targetId}}get nodes(){return this._userNodes}get graphNodes(){return this._nodes}get edges(){return this._userEdges}get graphEdges(){return this._edges}nodeCount(){return[...this._nodes.keys()].length}edgeCount(){return[...this._edges.keys()].length}sources(){return[...this._nodes.values()].filter(e3=>e3.isSource()).map(e3=>e3.attr)}sinks(){return[...this._nodes.values()].filter(e3=>e3.isSink()).map(e3=>e3.attr)}deleteNode(e3){const t3=this._node(e3);t3!==void 0&&(t3.nodeEdges.forEach(e4=>{const{sourceId:t4,targetId:n3}=o.GraphEdge.parseEdgeId(e4);this.deleteEdge(t4,n3)}),this._nodes.delete(e3))}deleteEdge(e3,t3){const n3=o.GraphEdge.edgeId(e3,t3);if(this._edges.get(n3)!==void 0){let r3=this._nodes.get(e3);r3!==void 0&&r3.deleteEdge(n3);let i2=this._nodes.get(t3);i2!==void 0&&i2.deleteEdge(n3)}this._edges.delete(n3)}inEdges(e3){return this._transformToUserEdgeMap(this._inEdges(e3))}outEdges(e3){return this._transformToUserEdgeMap(this._outEdges(e3))}nodeEdges(e3){return this._transformToUserEdgeMap(this._nodeEdges(e3))}_inEdges(e3){let t3=new Map;const n3=this._node(e3);return n3===void 0||n3.inEdges.forEach(e4=>{let{sourceId:n4,targetId:r3}=o.GraphEdge.parseEdgeId(e4),i2=this._edge(n4,r3);i2!==void 0&&t3.set(e4,i2)}),t3}_outEdges(e3){let t3=new Map;const n3=this._node(e3);return n3===void 0||n3.outEdges.forEach(e4=>{let{sourceId:n4,targetId:r3}=o.GraphEdge.parseEdgeId(e4),i2=this._edge(n4,r3);i2!==void 0&&t3.set(e4,i2)}),t3}_nodeEdges(e3){let t3=new Map;const n3=this._node(e3);return n3===void 0||n3.nodeEdges.forEach(e4=>{let{sourceId:n4,targetId:r3}=o.GraphEdge.parseEdgeId(e4),i2=this._edge(n4,r3);i2!==void 0&&t3.set(e4,i2)}),t3}successors(e3,t3=p){return this._transformToUserNodeMap(this._successors(e3,t3))}predecessors(e3,t3=p){return this._transformToUserNodeMap(this._predecessors(e3,t3))}neighbors(e3,t3=p){return this._transformToUserNodeMap(this._neighbors(e3,t3))}_successors(e3,t3=p){let n3=new Map;const r3=this._node(e3);return r3===void 0||r3.outEdges.forEach(e4=>{var r4;const i2=(r4=this._edges.get(e4))===null||r4===void 0?void 0:r4.attr;if(i2!=null&&t3(i2)){const{sourceId:t4,targetId:r5}=o.GraphEdge.parseEdgeId(e4),i3=this._node(r5);r5&&i3!==void 0&&n3.set(r5,i3)}}),n3}_predecessors(e3,t3=p){let n3=new Map;const r3=this._node(e3);return r3===void 0||r3.inEdges.forEach(e4=>{var r4;const i2=(r4=this._edges.get(e4))===null||r4===void 0?void 0:r4.attr;if(i2!=null&&t3(i2)){const{sourceId:t4,targetId:r5}=o.GraphEdge.parseEdgeId(e4),i3=this._node(t4);t4&&i3!==void 0&&n3.set(t4,i3)}}),n3}_neighbors(e3,t3=p){return new Map([...this._predecessors(e3,t3),...this._successors(e3,t3)])}successorsSubgraph(e3,t3=p){return this._buildSubgraphs(e3,t3,"successors")}_alreadyProcessed(e3,t3){for(const n3 of t3)if(n3.hasNode(e3))return!0;return!1}_buildSubgraphs(e3,t3,n3){let r3=[];if(!Array.isArray(e3))return this._buildSubgraph(e3,t3,n3);if(e3.forEach(e4=>{this._alreadyProcessed(e4,r3)||r3.push(this._buildSubgraph(e4,t3,n3))}),r3.length===1)return r3[0];let i2=this.create();return r3.length&&(i2=r3[0].merge(r3)),i2}_buildSubgraph(e3,t3,n3){let r3=this.create(),i2=this._node(e3);if(!i2)throw new Error("Node does not exist on graph");return r3.setNode(e3,i2.attr),n3==="successors"?this._successorsSubgraphUtil(e3,r3,{},t3):this._predecessorsSubgraphUtil(e3,r3,{},t3)}_successorsSubgraphUtil(e3,t3,n3={},r3){const i2=[...this._successors(e3,r3).keys()];return i2.length>0&&!n3[e3]&&i2.forEach(i3=>{n3[e3]=!0;const s2=this._nodes.get(i3),a2=this._edges.get(o.GraphEdge.edgeId(e3,i3));if(s2!==void 0&&a2!=null)return t3.setNode(i3,s2.attr),t3.setEdge(e3,i3,a2.attr),this._successorsSubgraphUtil(i3,t3,n3,r3)}),t3}successorsArray(e3,t3=p){const n3=a.default.uniq(this._successorsArrayUtil(e3,[],{},t3));let r3=[];return n3.forEach(e4=>{let t4=this.node(e4);t4!=null&&r3.push(t4)}),r3}_successorsArrayUtil(e3,t3=[],n3={},r3=p){const i2=[...this._successors(e3,r3).keys()];return i2.length>0&&!n3[e3]&&i2.forEach(i3=>(n3[e3]=!0,t3.push(i3),this._successorsArrayUtil(i3,t3,n3,r3))),t3}successorsLayers(e3,t3=p,n3="fromSource"){let r3=this.successorsSubgraph(e3,t3);if(this.isCyclic(r3))throw new Error("cyclic dependency");let i2=[];return i2[0]=[e3],d(this._successorsLayersUtil([e3],i2,0,t3),n3)}_successorsLayersUtil(e3,t3,n3,r3=p){if(e3.length>0){let e4=n3+1;return t3.push([]),t3[n3].forEach(n4=>{const i2=[...this.successors(n4,r3).keys()];t3[e4]=t3[e4].concat(i2)}),this._successorsLayersUtil(t3[e4],t3,e4,r3)}return t3}predecessorsSubgraph(e3,t3=p){return this._buildSubgraphs(e3,t3,"predecessors")}_predecessorsSubgraphUtil(e3,t3,n3={},r3=p){const i2=[...this._predecessors(e3,r3).keys()];return i2.length>0&&!n3[e3]&&i2.forEach(i3=>{n3[e3]=!0;const s2=this._nodes.get(i3),a2=this._edges.get(o.GraphEdge.edgeId(i3,e3));if(s2!==void 0&&a2!=null)return t3.setNode(i3,s2.attr),t3.setEdge(i3,e3,a2.attr),this._predecessorsSubgraphUtil(i3,t3,n3,r3)}),t3}predecessorsArray(e3,t3=p){const n3=a.default.uniq(this._predecessorsArrayUtil(e3,[],{},t3));let r3=[];return n3.forEach(e4=>{let t4=this.node(e4);t4!=null&&r3.push(t4)}),r3}_predecessorsArrayUtil(e3,t3=[],n3={},r3=p){const i2=[...this._predecessors(e3,r3).keys()];return i2.length>0&&!n3[e3]&&i2.forEach(i3=>(n3[e3]=!0,t3.push(i3),this._predecessorsArrayUtil(i3,t3,n3,r3))),t3}predecessorsLayers(e3,t3=p,n3="fromSource"){let r3=this.predecessorsSubgraph(e3,t3);if(this.isCyclic(r3))throw new Error("cyclic sub-graph");let i2=[];return i2[0]=[e3],d(this._predecessorsLayersUtil([e3],i2,0,t3),n3)}_predecessorsLayersUtil(e3,t3,n3,r3=p){if(e3.length>0){let e4=n3+1;return t3.push([]),t3[n3].forEach(n4=>{const i2=[...this.predecessors(n4,r3).keys()];t3[e4]=t3[e4].concat(i2)}),this._predecessorsLayersUtil(t3[e4],t3,e4,r3)}return t3}toposort(e3=!1){let t3=this._toposort().map(e4=>this.node(e4));return t3=a.default.compact(t3),e3?t3.reverse():t3}_transformEdges(){let e3=[];return this._edges.forEach(t3=>{e3.push([t3.sourceId,t3.targetId])}),e3}_toposort(){const e3=[...this._nodes.keys()],t3=this._transformEdges();var n3=e3.length,r3=new Array(n3),i2={},o2=n3,a2=function(e4){for(var t4=new Map,n4=0,r4=e4.length;n4<r4;n4++){var i3=e4[n4];t4.has(i3[0])||t4.set(i3[0],new Set),t4.has(i3[1])||t4.set(i3[1],new Set),t4.get(i3[0]).add(i3[1])}return t4}(t3),u2=function(e4){for(var t4=new Map,n4=0,r4=e4.length;n4<r4;n4++)t4.set(e4[n4],n4);return t4}(e3);for(t3.forEach(function(e4){if(!u2.has(e4[0])||!u2.has(e4[1]))throw new Error("Unknown node. There is an unknown node in the supplied edges.")});o2--;)i2[o2]||c2(e3[o2],o2,new Set);return r3;function c2(e4,t4,o3){if(o3.has(e4)){var l2;try{l2=", node was:"+JSON.stringify(e4)}catch{l2=""}throw new s.CyclicError("Cyclic dependency"+l2)}if(!u2.has(e4))throw new Error("Found unknown node. Make sure to provide all involved nodes. Unknown node: "+JSON.stringify(e4));if(!i2[t4]){i2[t4]=!0;var f2=a2.get(e4)||new Set;if(t4=(f2=Array.from(f2)).length){o3.add(e4);do{var p2=f2[--t4];c2(p2,u2.get(p2),o3)}while(t4);o3.delete(e4)}r3[--n3]=e4}}}isCyclic(e3=this){try{e3.toposort()}catch(e4){if(e4 instanceof s.CyclicError)return!0;throw e4}return!1}findCycles(e3=this){return t3=e3,a.default.filter(u.tarjan(t3),function(e4){return e4.length>1||e4.length===1&&t3.hasEdge(e4[0],e4[0])});var t3}merge(e3){let t3=this;return e3.forEach(e4=>{var n3,r3;for(let[n4,r4]of e4.nodes)t3.setNode(n4,r4);for(let[i2,o2]of e4.edges){const a2=(n3=e4._edges.get(i2))===null||n3===void 0?void 0:n3.sourceId,u2=(r3=e4._edges.get(i2))===null||r3===void 0?void 0:r3.targetId;if(t3.edges.has(i2)&&a2&&u2)t3.setEdge(a2,u2,o2);else{if(!(a2&&u2&&t3.hasNode(a2)&&t3.hasNode(u2)))throw s.NodeDoesntExist;t3.setEdge(a2,u2,o2)}}}),t3}allPaths(e3,t3){return this._allPaths(e3,t3,[],[])}_allPaths(e3,t3,n3,r3,i2={}){return i2[e3]=!0,n3.push(e3),e3===t3?r3.push(a.default.cloneDeep(n3)):[...this._successors(e3).keys()].forEach(e4=>{i2[e4]||this._allPaths(e4,t3,n3,r3,i2)}),n3.pop(),i2[e3]=!1,r3}toJson(e3){return e3?this._toJson(e3,"object"):this._toJson(this,"object")}stringify(e3){return e3?this._toJson(e3,"string"):this._toJson(this,"string")}static parse(e3,t3=c.genericParseNode,n3=l.genericParseEdge){return this._fromJson(e3,t3,n3)}_toJson(e3,t3){let n3=[];for(let[r4,i3]of e3.nodes.entries()){const i4=e3._node(r4);if(i4){let e4;e4=t3==="object"?i4.attr.toJson&&typeof i4.attr.toJson=="function"?i4.attr.toJson():c.genericNodeToJson(i4.attr):i4.stringify(),n3.push({id:r4,node:e4})}}let r3=[];for(let[n4,i3]of e3.edges.entries()){const i4=e3._edgeById(n4);if(i4){let e4;e4=t3==="object"?i4.attr.toJson&&typeof i4.attr.toJson=="function"?i4.attr.toJson():c.genericNodeToJson(i4.attr):i4.stringify(),r3.push({sourceId:i4.sourceId,targetId:i4.targetId,edge:e4})}}let i2={nodes:n3,edges:r3};return t3==="object"?i2:JSON.stringify(i2)}static _fromJson(e3,t3,n3){const r3=typeof e3=="string"?JSON.parse(e3):e3;let s2=new f;if(!r3.hasOwnProperty("nodes")||!r3.hasOwnProperty("edges"))throw Error("missing properties on JSON. Should contain nodes: {id: string, node: N}[], and edges: {sourceId: string, targetId: string, edge:E}[]");return r3.nodes.forEach(e4=>{const n4=i.GraphNode.fromObject(e4,t3);s2.setNode(n4.id,n4.node)}),r3.edges.forEach(e4=>{const t4=o.GraphEdge.fromObject(e4,n3);s2.setEdge(t4.sourceId,t4.targetId,t4.edge)}),s2}bfs(){}dfs(){}}function p(){return!0}function d(e3,t3){let n3=[],r3=[];e3=e3.reverse();let i2=0;return e3.forEach(e4=>{e4.length>0&&(n3.push([]),e4.forEach(e5=>{r3.indexOf(e5)==-1&&(r3.push(e5),n3[i2].push(e5))}),i2++)}),t3==="fromSource"?n3.reverse():n3}t2.Graph=f},1895:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0});var r2=n2(2842);t2.GraphEdge=r2.GraphEdge;var i=n2(7287);t2.GraphNode=i.GraphNode;var o=n2(7509);t2.CyclicError=o.CyclicError,t2.NodeDoesntExist=o.NodeDoesntExist;var s=n2(3871);t2.Graph=s.Graph},7287:function(e2,t2,n2){"use strict";var r2=this&&this.__importDefault||function(e3){return e3&&e3.__esModule?e3:{default:e3}};Object.defineProperty(t2,"__esModule",{value:!0});const i=n2(2935),o=r2(n2(2935));t2.GraphNode=class{constructor(e3,t3,n3,r3){this.id=e3,this.attr=t3,this._inEdges=n3||[],this._outEdges=r3||[]}setInEdge(e3){this._inEdges.push(e3)}setOutEdge(e3){this._outEdges.push(e3)}deleteEdge(e3){o.default.remove(this._inEdges,function(t3){return t3===e3}),o.default.remove(this._outEdges,function(t3){return t3===e3})}get inEdges(){return this._inEdges}get outEdges(){return this._outEdges}get nodeEdges(){return this._inEdges.concat(this._outEdges)}isSource(){return this._inEdges.length===0&&this._outEdges.length>0}isSink(){return this._inEdges.length>0&&this._outEdges.length===0}equals(e3){return this.id===e3.id&&i.isEqual(this.attr,e3.attr)}stringify(){let e3="";return e3=this.attr.stringify&&typeof this.attr.stringify=="function"?this.attr.stringify():JSON.stringify(this.attr),e3}static fromObject(e3,t3){if(!e3.hasOwnProperty("id"))throw Error("missing object id");return{id:e3.id,node:t3(e3.node)}}},t2.genericParseNode=function(e3){return Object.keys(e3).length===0&&e3.constructor===Object||typeof e3!="object"?e3:JSON.parse(e3)},t2.genericNodeToJson=function(e3){return e3}},2607:function(e2,t2){var n2=typeof self<"u"?self:this,r2=function(){function e3(){this.fetch=!1,this.DOMException=n2.DOMException}return e3.prototype=n2,new e3}();(function(e3){(function(t3){var n3="URLSearchParams"in e3,r3="Symbol"in e3&&"iterator"in Symbol,i2="FileReader"in e3&&"Blob"in e3&&function(){try{return new Blob,!0}catch{return!1}}(),o="FormData"in e3,s="ArrayBuffer"in e3;if(s)var a=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],u=ArrayBuffer.isView||function(e4){return e4&&a.indexOf(Object.prototype.toString.call(e4))>-1};function c(e4){if(typeof e4!="string"&&(e4=String(e4)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(e4))throw new TypeError("Invalid character in header field name");return e4.toLowerCase()}function l(e4){return typeof e4!="string"&&(e4=String(e4)),e4}function f(e4){var t4={next:function(){var t5=e4.shift();return{done:t5===void 0,value:t5}}};return r3&&(t4[Symbol.iterator]=function(){return t4}),t4}function p(e4){this.map={},e4 instanceof p?e4.forEach(function(e5,t4){this.append(t4,e5)},this):Array.isArray(e4)?e4.forEach(function(e5){this.append(e5[0],e5[1])},this):e4&&Object.getOwnPropertyNames(e4).forEach(function(t4){this.append(t4,e4[t4])},this)}function d(e4){if(e4.bodyUsed)return Promise.reject(new TypeError("Already read"));e4.bodyUsed=!0}function h(e4){return new Promise(function(t4,n4){e4.onload=function(){t4(e4.result)},e4.onerror=function(){n4(e4.error)}})}function v(e4){var t4=new FileReader,n4=h(t4);return t4.readAsArrayBuffer(e4),n4}function m(e4){if(e4.slice)return e4.slice(0);var t4=new Uint8Array(e4.byteLength);return t4.set(new Uint8Array(e4)),t4.buffer}function g(){return this.bodyUsed=!1,this._initBody=function(e4){var t4;this._bodyInit=e4,e4?typeof e4=="string"?this._bodyText=e4:i2&&Blob.prototype.isPrototypeOf(e4)?this._bodyBlob=e4:o&&FormData.prototype.isPrototypeOf(e4)?this._bodyFormData=e4:n3&&URLSearchParams.prototype.isPrototypeOf(e4)?this._bodyText=e4.toString():s&&i2&&(t4=e4)&&DataView.prototype.isPrototypeOf(t4)?(this._bodyArrayBuffer=m(e4.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):s&&(ArrayBuffer.prototype.isPrototypeOf(e4)||u(e4))?this._bodyArrayBuffer=m(e4):this._bodyText=e4=Object.prototype.toString.call(e4):this._bodyText="",this.headers.get("content-type")||(typeof e4=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):n3&&URLSearchParams.prototype.isPrototypeOf(e4)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},i2&&(this.blob=function(){var e4=d(this);if(e4)return e4;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?d(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(v)}),this.text=function(){var e4,t4,n4,r4=d(this);if(r4)return r4;if(this._bodyBlob)return e4=this._bodyBlob,n4=h(t4=new FileReader),t4.readAsText(e4),n4;if(this._bodyArrayBuffer)return Promise.resolve(function(e5){for(var t5=new Uint8Array(e5),n5=new Array(t5.length),r5=0;r5<t5.length;r5++)n5[r5]=String.fromCharCode(t5[r5]);return n5.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},o&&(this.formData=function(){return this.text().then(b)}),this.json=function(){return this.text().then(JSON.parse)},this}p.prototype.append=function(e4,t4){e4=c(e4),t4=l(t4);var n4=this.map[e4];this.map[e4]=n4?n4+", "+t4:t4},p.prototype.delete=function(e4){delete this.map[c(e4)]},p.prototype.get=function(e4){return e4=c(e4),this.has(e4)?this.map[e4]:null},p.prototype.has=function(e4){return this.map.hasOwnProperty(c(e4))},p.prototype.set=function(e4,t4){this.map[c(e4)]=l(t4)},p.prototype.forEach=function(e4,t4){for(var n4 in this.map)this.map.hasOwnProperty(n4)&&e4.call(t4,this.map[n4],n4,this)},p.prototype.keys=function(){var e4=[];return this.forEach(function(t4,n4){e4.push(n4)}),f(e4)},p.prototype.values=function(){var e4=[];return this.forEach(function(t4){e4.push(t4)}),f(e4)},p.prototype.entries=function(){var e4=[];return this.forEach(function(t4,n4){e4.push([n4,t4])}),f(e4)},r3&&(p.prototype[Symbol.iterator]=p.prototype.entries);var y=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function E(e4,t4){var n4,r4,i3=(t4=t4||{}).body;if(e4 instanceof E){if(e4.bodyUsed)throw new TypeError("Already read");this.url=e4.url,this.credentials=e4.credentials,t4.headers||(this.headers=new p(e4.headers)),this.method=e4.method,this.mode=e4.mode,this.signal=e4.signal,i3||e4._bodyInit==null||(i3=e4._bodyInit,e4.bodyUsed=!0)}else this.url=String(e4);if(this.credentials=t4.credentials||this.credentials||"same-origin",!t4.headers&&this.headers||(this.headers=new p(t4.headers)),this.method=(r4=(n4=t4.method||this.method||"GET").toUpperCase(),y.indexOf(r4)>-1?r4:n4),this.mode=t4.mode||this.mode||null,this.signal=t4.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&i3)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(i3)}function b(e4){var t4=new FormData;return e4.trim().split("&").forEach(function(e5){if(e5){var n4=e5.split("="),r4=n4.shift().replace(/\+/g," "),i3=n4.join("=").replace(/\+/g," ");t4.append(decodeURIComponent(r4),decodeURIComponent(i3))}}),t4}function _(e4,t4){t4||(t4={}),this.type="default",this.status=t4.status===void 0?200:t4.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t4?t4.statusText:"OK",this.headers=new p(t4.headers),this.url=t4.url||"",this._initBody(e4)}E.prototype.clone=function(){return new E(this,{body:this._bodyInit})},g.call(E.prototype),g.call(_.prototype),_.prototype.clone=function(){return new _(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new p(this.headers),url:this.url})},_.error=function(){var e4=new _(null,{status:0,statusText:""});return e4.type="error",e4};var w=[301,302,303,307,308];_.redirect=function(e4,t4){if(w.indexOf(t4)===-1)throw new RangeError("Invalid status code");return new _(null,{status:t4,headers:{location:e4}})},t3.DOMException=e3.DOMException;try{new t3.DOMException}catch{t3.DOMException=function(e5,t4){this.message=e5,this.name=t4;var n4=Error(e5);this.stack=n4.stack},t3.DOMException.prototype=Object.create(Error.prototype),t3.DOMException.prototype.constructor=t3.DOMException}function O(e4,n4){return new Promise(function(r4,o2){var s2=new E(e4,n4);if(s2.signal&&s2.signal.aborted)return o2(new t3.DOMException("Aborted","AbortError"));var a2=new XMLHttpRequest;function u2(){a2.abort()}a2.onload=function(){var e5,t4,n5={status:a2.status,statusText:a2.statusText,headers:(e5=a2.getAllResponseHeaders()||"",t4=new p,e5.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach(function(e6){var n6=e6.split(":"),r5=n6.shift().trim();if(r5){var i4=n6.join(":").trim();t4.append(r5,i4)}}),t4)};n5.url="responseURL"in a2?a2.responseURL:n5.headers.get("X-Request-URL");var i3="response"in a2?a2.response:a2.responseText;r4(new _(i3,n5))},a2.onerror=function(){o2(new TypeError("Network request failed"))},a2.ontimeout=function(){o2(new TypeError("Network request failed"))},a2.onabort=function(){o2(new t3.DOMException("Aborted","AbortError"))},a2.open(s2.method,s2.url,!0),s2.credentials==="include"?a2.withCredentials=!0:s2.credentials==="omit"&&(a2.withCredentials=!1),"responseType"in a2&&i2&&(a2.responseType="blob"),s2.headers.forEach(function(e5,t4){a2.setRequestHeader(t4,e5)}),s2.signal&&(s2.signal.addEventListener("abort",u2),a2.onreadystatechange=function(){a2.readyState===4&&s2.signal.removeEventListener("abort",u2)}),a2.send(s2._bodyInit===void 0?null:s2._bodyInit)})}O.polyfill=!0,e3.fetch||(e3.fetch=O,e3.Headers=p,e3.Request=E,e3.Response=_),t3.Headers=p,t3.Request=E,t3.Response=_,t3.fetch=O,Object.defineProperty(t3,"__esModule",{value:!0})})({})})(r2),r2.fetch.ponyfill=!0,delete r2.fetch.polyfill;var i=r2;(t2=i.fetch).default=i.fetch,t2.fetch=i.fetch,t2.Headers=i.Headers,t2.Request=i.Request,t2.Response=i.Response,e2.exports=t2},9936:e2=>{"use strict";e2.exports=function(e3,t2){if(typeof e3!="string")throw new TypeError("Expected a string");return t2=t2===void 0?"_":t2,e3.replace(/([a-z\d])([A-Z])/g,"$1"+t2+"$2").replace(/([A-Z]+)([A-Z][a-z\d]+)/g,"$1"+t2+"$2").toLowerCase()}},4233:e2=>{"use strict";var t2="%[a-f0-9]{2}",n2=new RegExp("("+t2+")|([^%]+?)","gi"),r2=new RegExp("("+t2+")+","gi");function i(e3,t3){try{return[decodeURIComponent(e3.join(""))]}catch{}if(e3.length===1)return e3;t3=t3||1;var n3=e3.slice(0,t3),r3=e3.slice(t3);return Array.prototype.concat.call([],i(n3),i(r3))}function o(e3){try{return decodeURIComponent(e3)}catch{for(var t3=e3.match(n2)||[],r3=1;r3<t3.length;r3++)t3=(e3=i(t3,r3).join("")).match(n2)||[];return e3}}e2.exports=function(e3){if(typeof e3!="string")throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e3+"`");try{return e3=e3.replace(/\+/g," "),decodeURIComponent(e3)}catch{return function(e4){for(var t4={"%FE%FF":"\uFFFD\uFFFD","%FF%FE":"\uFFFD\uFFFD"},n3=r2.exec(e4);n3;){try{t4[n3[0]]=decodeURIComponent(n3[0])}catch{var i2=o(n3[0]);i2!==n3[0]&&(t4[n3[0]]=i2)}n3=r2.exec(e4)}t4["%C2"]="\uFFFD";for(var s=Object.keys(t4),a=0;a<s.length;a++){var u=s[a];e4=e4.replace(new RegExp(u,"g"),t4[u])}return e4}(e3)}}},7551:(e2,t2,n2)=>{var r2,i=n2(8558);(function(o){var s=Object.hasOwnProperty,a=Array.isArray?Array.isArray:function(e3){return Object.prototype.toString.call(e3)==="[object Array]"},u=typeof i=="object"&&typeof i.nextTick=="function",c=typeof Symbol=="function",l=typeof Reflect=="object",f=typeof setImmediate=="function"?setImmediate:setTimeout,p=c?l&&typeof Reflect.ownKeys=="function"?Reflect.ownKeys:function(e3){var t3=Object.getOwnPropertyNames(e3);return t3.push.apply(t3,Object.getOwnPropertySymbols(e3)),t3}:Object.keys;function d(){this._events={},this._conf&&h.call(this,this._conf)}function h(e3){e3&&(this._conf=e3,e3.delimiter&&(this.delimiter=e3.delimiter),e3.maxListeners!==o&&(this._maxListeners=e3.maxListeners),e3.wildcard&&(this.wildcard=e3.wildcard),e3.newListener&&(this._newListener=e3.newListener),e3.removeListener&&(this._removeListener=e3.removeListener),e3.verboseMemoryLeak&&(this.verboseMemoryLeak=e3.verboseMemoryLeak),e3.ignoreErrors&&(this.ignoreErrors=e3.ignoreErrors),this.wildcard&&(this.listenerTree={}))}function v(e3,t3){var n3="(node) warning: possible EventEmitter memory leak detected. "+e3+" listeners added. Use emitter.setMaxListeners() to increase limit.";if(this.verboseMemoryLeak&&(n3+=" Event name: "+t3+"."),i!==void 0&&i.emitWarning){var r3=new Error(n3);r3.name="MaxListenersExceededWarning",r3.emitter=this,r3.count=e3,i.emitWarning(r3)}else console.error(n3),console.trace&&console.trace()}var m=function(e3,t3,n3){var r3=arguments.length;switch(r3){case 0:return[];case 1:return[e3];case 2:return[e3,t3];case 3:return[e3,t3,n3];default:for(var i2=new Array(r3);r3--;)i2[r3]=arguments[r3];return i2}};function g(e3,t3){for(var n3={},r3=e3.length,i2=t3?value.length:0,s2=0;s2<r3;s2++)n3[e3[s2]]=s2<i2?t3[s2]:o;return n3}function y(e3,t3,n3){var r3,i2;if(this._emitter=e3,this._target=t3,this._listeners={},this._listenersCount=0,(n3.on||n3.off)&&(r3=n3.on,i2=n3.off),t3.addEventListener?(r3=t3.addEventListener,i2=t3.removeEventListener):t3.addListener?(r3=t3.addListener,i2=t3.removeListener):t3.on&&(r3=t3.on,i2=t3.off),!r3&&!i2)throw Error("target does not implement any known event API");if(typeof r3!="function")throw TypeError("on method must be a function");if(typeof i2!="function")throw TypeError("off method must be a function");this._on=r3,this._off=i2;var o2=e3._observers;o2?o2.push(this):e3._observers=[this]}function E(e3,t3,n3,r3){var i2=Object.assign({},t3);if(!e3)return i2;if(typeof e3!="object")throw TypeError("options must be an object");var a2,u2,c2,l2=Object.keys(e3),f2=l2.length;function p2(e4){throw Error('Invalid "'+a2+'" option value'+(e4?". Reason: "+e4:""))}for(var d2=0;d2<f2;d2++){if(a2=l2[d2],!r3&&!s.call(t3,a2))throw Error('Unknown "'+a2+'" option');(u2=e3[a2])!==o&&(c2=n3[a2],i2[a2]=c2?c2(u2,p2):u2)}return i2}function b(e3,t3){return typeof e3=="function"&&e3.hasOwnProperty("prototype")||t3("value must be a constructor"),e3}function _(e3){var t3="value must be type of "+e3.join("|"),n3=e3.length,r3=e3[0],i2=e3[1];return n3===1?function(e4,n4){if(typeof e4===r3)return e4;n4(t3)}:n3===2?function(e4,n4){var o2=typeof e4;if(o2===r3||o2===i2)return e4;n4(t3)}:function(r4,i3){for(var o2=typeof r4,s2=n3;s2-- >0;)if(o2===e3[s2])return r4;i3(t3)}}Object.assign(y.prototype,{subscribe:function(e3,t3,n3){var r3=this,i2=this._target,o2=this._emitter,s2=this._listeners,a2=function(){var r4=m.apply(null,arguments),s3={data:r4,name:t3,original:e3};n3?n3.call(i2,s3)!==!1&&o2.emit.apply(o2,[s3.name].concat(r4)):o2.emit.apply(o2,[t3].concat(r4))};if(s2[e3])throw Error("Event '"+e3+"' is already listening");this._listenersCount++,o2._newListener&&o2._removeListener&&!r3._onNewListener?(this._onNewListener=function(n4){n4===t3&&s2[e3]===null&&(s2[e3]=a2,r3._on.call(i2,e3,a2))},o2.on("newListener",this._onNewListener),this._onRemoveListener=function(n4){n4===t3&&!o2.hasListeners(n4)&&s2[e3]&&(s2[e3]=null,r3._off.call(i2,e3,a2))},s2[e3]=null,o2.on("removeListener",this._onRemoveListener)):(s2[e3]=a2,r3._on.call(i2,e3,a2))},unsubscribe:function(e3){var t3,n3,r3,i2=this,o2=this._listeners,s2=this._emitter,a2=this._off,u2=this._target;if(e3&&typeof e3!="string")throw TypeError("event must be a string");function c2(){i2._onNewListener&&(s2.off("newListener",i2._onNewListener),s2.off("removeListener",i2._onRemoveListener),i2._onNewListener=null,i2._onRemoveListener=null);var e4=I.call(s2,i2);s2._observers.splice(e4,1)}if(e3){if(!(t3=o2[e3]))return;a2.call(u2,e3,t3),delete o2[e3],--this._listenersCount||c2()}else{for(r3=(n3=p(o2)).length;r3-- >0;)e3=n3[r3],a2.call(u2,e3,o2[e3]);this._listeners={},this._listenersCount=0,c2()}}});var w=_(["function"]),O=_(["object","function"]);function T(e3,t3,n3){var r3,i2,o2,s2=0,a2=new e3(function(u2,c2,l2){function f2(){i2&&(i2=null),s2&&(clearTimeout(s2),s2=0)}n3=E(n3,{timeout:0,overload:!1},{timeout:function(e4,t4){return(typeof(e4*=1)!="number"||e4<0||!Number.isFinite(e4))&&t4("timeout must be a positive number"),e4}}),r3=!n3.overload&&typeof e3.prototype.cancel=="function"&&typeof l2=="function";var p2=function(e4){f2(),u2(e4)},d2=function(e4){f2(),c2(e4)};r3?t3(p2,d2,l2):(i2=[function(e4){d2(e4||Error("canceled"))}],t3(p2,d2,function(e4){if(o2)throw Error("Unable to subscribe on cancel event asynchronously");if(typeof e4!="function")throw TypeError("onCancel callback must be a function");i2.push(e4)}),o2=!0),n3.timeout>0&&(s2=setTimeout(function(){var e4=Error("timeout");e4.code="ETIMEDOUT",s2=0,a2.cancel(e4),c2(e4)},n3.timeout))});return r3||(a2.cancel=function(e4){if(i2){for(var t4=i2.length,n4=1;n4<t4;n4++)i2[n4](e4);i2[0](e4),i2=null}}),a2}function I(e3){var t3=this._observers;if(!t3)return-1;for(var n3=t3.length,r3=0;r3<n3;r3++)if(t3[r3]._target===e3)return r3;return-1}function S(e3,t3,n3,r3,i2){if(!n3)return null;if(r3===0){var o2=typeof t3;if(o2==="string"){var s2,a2,u2=0,c2=0,l2=this.delimiter,f2=l2.length;if((a2=t3.indexOf(l2))!==-1){s2=new Array(5);do s2[u2++]=t3.slice(c2,a2),c2=a2+f2;while((a2=t3.indexOf(l2,c2))!==-1);s2[u2++]=t3.slice(c2),t3=s2,i2=u2}else t3=[t3],i2=1}else o2==="object"?i2=t3.length:(t3=[t3],i2=1)}var d2,h2,v2,m2,g2,y2,E2,b2=null,_2=t3[r3],w2=t3[r3+1];if(r3===i2&&n3._listeners)return typeof n3._listeners=="function"?(e3&&e3.push(n3._listeners),[n3]):(e3&&e3.push.apply(e3,n3._listeners),[n3]);if(_2==="*"){for(a2=(y2=p(n3)).length;a2-- >0;)(d2=y2[a2])!=="_listeners"&&(E2=S(e3,t3,n3[d2],r3+1,i2))&&(b2?b2.push.apply(b2,E2):b2=E2);return b2}if(_2==="**"){for((g2=r3+1===i2||r3+2===i2&&w2==="*")&&n3._listeners&&(b2=S(e3,t3,n3,i2,i2)),a2=(y2=p(n3)).length;a2-- >0;)(d2=y2[a2])!=="_listeners"&&(d2==="*"||d2==="**"?(n3[d2]._listeners&&!g2&&(E2=S(e3,t3,n3[d2],i2,i2))&&(b2?b2.push.apply(b2,E2):b2=E2),E2=S(e3,t3,n3[d2],r3,i2)):E2=S(e3,t3,n3[d2],d2===w2?r3+2:r3,i2),E2&&(b2?b2.push.apply(b2,E2):b2=E2));return b2}if(n3[_2]&&(b2=S(e3,t3,n3[_2],r3+1,i2)),(h2=n3["*"])&&S(e3,t3,h2,r3+1,i2),v2=n3["**"])if(r3<i2)for(v2._listeners&&S(e3,t3,v2,i2,i2),a2=(y2=p(v2)).length;a2-- >0;)(d2=y2[a2])!=="_listeners"&&(d2===w2?S(e3,t3,v2[d2],r3+2,i2):d2===_2?S(e3,t3,v2[d2],r3+1,i2):((m2={})[d2]=v2[d2],S(e3,t3,{"**":m2},r3+1,i2)));else v2._listeners?S(e3,t3,v2,i2,i2):v2["*"]&&v2["*"]._listeners&&S(e3,t3,v2["*"],i2,i2);return b2}function N(e3,t3,n3){var r3,i2,o2=0,s2=0,a2=this.delimiter,u2=a2.length;if(typeof e3=="string")if((r3=e3.indexOf(a2))!==-1){i2=new Array(5);do i2[o2++]=e3.slice(s2,r3),s2=r3+u2;while((r3=e3.indexOf(a2,s2))!==-1);i2[o2++]=e3.slice(s2)}else i2=[e3],o2=1;else i2=e3,o2=e3.length;if(o2>1){for(r3=0;r3+1<o2;r3++)if(i2[r3]==="**"&&i2[r3+1]==="**")return}var c2,l2=this.listenerTree;for(r3=0;r3<o2;r3++)if(l2=l2[c2=i2[r3]]||(l2[c2]={}),r3===o2-1)return l2._listeners?(typeof l2._listeners=="function"&&(l2._listeners=[l2._listeners]),n3?l2._listeners.unshift(t3):l2._listeners.push(t3),!l2._listeners.warned&&this._maxListeners>0&&l2._listeners.length>this._maxListeners&&(l2._listeners.warned=!0,v.call(this,l2._listeners.length,c2))):l2._listeners=t3,!0;return!0}function A(e3,t3,n3,r3){for(var i2,o2,s2,a2,u2=p(e3),c2=u2.length,l2=e3._listeners;c2-- >0;)i2=e3[o2=u2[c2]],s2=o2==="_listeners"?n3:n3?n3.concat(o2):[o2],a2=r3||typeof o2=="symbol",l2&&t3.push(a2?s2:s2.join(this.delimiter)),typeof i2=="object"&&A.call(this,i2,t3,s2,a2);return t3}function R(e3){for(var t3,n3,r3,i2=p(e3),o2=i2.length;o2-- >0;)(t3=e3[n3=i2[o2]])&&(r3=!0,n3==="_listeners"||R(t3)||delete e3[n3]);return r3}function x(e3,t3,n3){this.emitter=e3,this.event=t3,this.listener=n3}function j(e3,t3,n3){if(n3===!0)s2=!0;else if(n3===!1)r3=!0;else{if(!n3||typeof n3!="object")throw TypeError("options should be an object or true");var r3=n3.async,s2=n3.promisify,a2=n3.nextTick,c2=n3.objectify}if(r3||a2||s2){var l2=t3,p2=t3._origin||t3;if(a2&&!u)throw Error("process.nextTick is not supported");s2===o&&(s2=t3.constructor.name==="AsyncFunction"),t3=function(){var e4=arguments,t4=this,n4=this.event;return s2?a2?Promise.resolve():new Promise(function(e5){f(e5)}).then(function(){return t4.event=n4,l2.apply(t4,e4)}):(a2?i.nextTick:f)(function(){t4.event=n4,l2.apply(t4,e4)})},t3._async=!0,t3._origin=p2}return[t3,c2?new x(this,e3,t3):this]}function P(e3){this._events={},this._newListener=!1,this._removeListener=!1,this.verboseMemoryLeak=!1,h.call(this,e3)}x.prototype.off=function(){return this.emitter.off(this.event,this.listener),this},P.EventEmitter2=P,P.prototype.listenTo=function(e3,t3,n3){if(typeof e3!="object")throw TypeError("target musts be an object");var r3=this;function i2(t4){if(typeof t4!="object")throw TypeError("events must be an object");var i3,o2=n3.reducers,s2=I.call(r3,e3);i3=s2===-1?new y(r3,e3,n3):r3._observers[s2];for(var a2,u2=p(t4),c2=u2.length,l2=typeof o2=="function",f2=0;f2<c2;f2++)a2=u2[f2],i3.subscribe(a2,t4[a2]||a2,l2?o2:o2&&o2[a2])}return n3=E(n3,{on:o,off:o,reducers:o},{on:w,off:w,reducers:O}),a(t3)?i2(g(t3)):i2(typeof t3=="string"?g(t3.split(/\s+/)):t3),this},P.prototype.stopListeningTo=function(e3,t3){var n3=this._observers;if(!n3)return!1;var r3,i2=n3.length,o2=!1;if(e3&&typeof e3!="object")throw TypeError("target should be an object");for(;i2-- >0;)r3=n3[i2],e3&&r3._target!==e3||(r3.unsubscribe(t3),o2=!0);return o2},P.prototype.delimiter=".",P.prototype.setMaxListeners=function(e3){e3!==o&&(this._maxListeners=e3,this._conf||(this._conf={}),this._conf.maxListeners=e3)},P.prototype.getMaxListeners=function(){return this._maxListeners},P.prototype.event="",P.prototype.once=function(e3,t3,n3){return this._once(e3,t3,!1,n3)},P.prototype.prependOnceListener=function(e3,t3,n3){return this._once(e3,t3,!0,n3)},P.prototype._once=function(e3,t3,n3,r3){return this._many(e3,1,t3,n3,r3)},P.prototype.many=function(e3,t3,n3,r3){return this._many(e3,t3,n3,!1,r3)},P.prototype.prependMany=function(e3,t3,n3,r3){return this._many(e3,t3,n3,!0,r3)},P.prototype._many=function(e3,t3,n3,r3,i2){var o2=this;if(typeof n3!="function")throw new Error("many only accepts instances of Function");function s2(){return--t3==0&&o2.off(e3,s2),n3.apply(this,arguments)}return s2._origin=n3,this._on(e3,s2,r3,i2)},P.prototype.emit=function(){if(!this._events&&!this._all)return!1;this._events||d.call(this);var e3,t3,n3,r3,i2,o2,s2=arguments[0],a2=this.wildcard;if(s2==="newListener"&&!this._newListener&&!this._events.newListener)return!1;if(a2&&(e3=s2,s2!=="newListener"&&s2!=="removeListener"&&typeof s2=="object")){if(n3=s2.length,c){for(r3=0;r3<n3;r3++)if(typeof s2[r3]=="symbol"){o2=!0;break}}o2||(s2=s2.join(this.delimiter))}var u2,l2=arguments.length;if(this._all&&this._all.length)for(r3=0,n3=(u2=this._all.slice()).length;r3<n3;r3++)switch(this.event=s2,l2){case 1:u2[r3].call(this,s2);break;case 2:u2[r3].call(this,s2,arguments[1]);break;case 3:u2[r3].call(this,s2,arguments[1],arguments[2]);break;default:u2[r3].apply(this,arguments)}if(a2)u2=[],S.call(this,u2,e3,this.listenerTree,0,n3);else{if(typeof(u2=this._events[s2])=="function"){switch(this.event=s2,l2){case 1:u2.call(this);break;case 2:u2.call(this,arguments[1]);break;case 3:u2.call(this,arguments[1],arguments[2]);break;default:for(t3=new Array(l2-1),i2=1;i2<l2;i2++)t3[i2-1]=arguments[i2];u2.apply(this,t3)}return!0}u2&&(u2=u2.slice())}if(u2&&u2.length){if(l2>3)for(t3=new Array(l2-1),i2=1;i2<l2;i2++)t3[i2-1]=arguments[i2];for(r3=0,n3=u2.length;r3<n3;r3++)switch(this.event=s2,l2){case 1:u2[r3].call(this);break;case 2:u2[r3].call(this,arguments[1]);break;case 3:u2[r3].call(this,arguments[1],arguments[2]);break;default:u2[r3].apply(this,t3)}return!0}if(!this.ignoreErrors&&!this._all&&s2==="error")throw arguments[1]instanceof Error?arguments[1]:new Error("Uncaught, unspecified 'error' event.");return!!this._all},P.prototype.emitAsync=function(){if(!this._events&&!this._all)return!1;this._events||d.call(this);var e3,t3,n3,r3,i2,o2,s2=arguments[0],a2=this.wildcard;if(s2==="newListener"&&!this._newListener&&!this._events.newListener)return Promise.resolve([!1]);if(a2&&(e3=s2,s2!=="newListener"&&s2!=="removeListener"&&typeof s2=="object")){if(r3=s2.length,c){for(i2=0;i2<r3;i2++)if(typeof s2[i2]=="symbol"){t3=!0;break}}t3||(s2=s2.join(this.delimiter))}var u2,l2=[],f2=arguments.length;if(this._all)for(i2=0,r3=this._all.length;i2<r3;i2++)switch(this.event=s2,f2){case 1:l2.push(this._all[i2].call(this,s2));break;case 2:l2.push(this._all[i2].call(this,s2,arguments[1]));break;case 3:l2.push(this._all[i2].call(this,s2,arguments[1],arguments[2]));break;default:l2.push(this._all[i2].apply(this,arguments))}if(a2?(u2=[],S.call(this,u2,e3,this.listenerTree,0)):u2=this._events[s2],typeof u2=="function")switch(this.event=s2,f2){case 1:l2.push(u2.call(this));break;case 2:l2.push(u2.call(this,arguments[1]));break;case 3:l2.push(u2.call(this,arguments[1],arguments[2]));break;default:for(n3=new Array(f2-1),o2=1;o2<f2;o2++)n3[o2-1]=arguments[o2];l2.push(u2.apply(this,n3))}else if(u2&&u2.length){if(u2=u2.slice(),f2>3)for(n3=new Array(f2-1),o2=1;o2<f2;o2++)n3[o2-1]=arguments[o2];for(i2=0,r3=u2.length;i2<r3;i2++)switch(this.event=s2,f2){case 1:l2.push(u2[i2].call(this));break;case 2:l2.push(u2[i2].call(this,arguments[1]));break;case 3:l2.push(u2[i2].call(this,arguments[1],arguments[2]));break;default:l2.push(u2[i2].apply(this,n3))}}else if(!this.ignoreErrors&&!this._all&&s2==="error")return arguments[1]instanceof Error?Promise.reject(arguments[1]):Promise.reject("Uncaught, unspecified 'error' event.");return Promise.all(l2)},P.prototype.on=function(e3,t3,n3){return this._on(e3,t3,!1,n3)},P.prototype.prependListener=function(e3,t3,n3){return this._on(e3,t3,!0,n3)},P.prototype.onAny=function(e3){return this._onAny(e3,!1)},P.prototype.prependAny=function(e3){return this._onAny(e3,!0)},P.prototype.addListener=P.prototype.on,P.prototype._onAny=function(e3,t3){if(typeof e3!="function")throw new Error("onAny only accepts instances of Function");return this._all||(this._all=[]),t3?this._all.unshift(e3):this._all.push(e3),this},P.prototype._on=function(e3,t3,n3,r3){if(typeof e3=="function")return this._onAny(e3,t3),this;if(typeof t3!="function")throw new Error("on only accepts instances of Function");this._events||d.call(this);var i2,s2=this;return r3!==o&&(t3=(i2=j.call(this,e3,t3,r3))[0],s2=i2[1]),this._newListener&&this.emit("newListener",e3,t3),this.wildcard?(N.call(this,e3,t3,n3),s2):(this._events[e3]?(typeof this._events[e3]=="function"&&(this._events[e3]=[this._events[e3]]),n3?this._events[e3].unshift(t3):this._events[e3].push(t3),!this._events[e3].warned&&this._maxListeners>0&&this._events[e3].length>this._maxListeners&&(this._events[e3].warned=!0,v.call(this,this._events[e3].length,e3))):this._events[e3]=t3,s2)},P.prototype.off=function(e3,t3){if(typeof t3!="function")throw new Error("removeListener only takes instances of Function");var n3,r3=[];if(this.wildcard){var i2=typeof e3=="string"?e3.split(this.delimiter):e3.slice();if(!(r3=S.call(this,null,i2,this.listenerTree,0)))return this}else{if(!this._events[e3])return this;n3=this._events[e3],r3.push({_listeners:n3})}for(var o2=0;o2<r3.length;o2++){var s2=r3[o2];if(n3=s2._listeners,a(n3)){for(var u2=-1,c2=0,l2=n3.length;c2<l2;c2++)if(n3[c2]===t3||n3[c2].listener&&n3[c2].listener===t3||n3[c2]._origin&&n3[c2]._origin===t3){u2=c2;break}if(u2<0)continue;return this.wildcard?s2._listeners.splice(u2,1):this._events[e3].splice(u2,1),n3.length===0&&(this.wildcard?delete s2._listeners:delete this._events[e3]),this._removeListener&&this.emit("removeListener",e3,t3),this}(n3===t3||n3.listener&&n3.listener===t3||n3._origin&&n3._origin===t3)&&(this.wildcard?delete s2._listeners:delete this._events[e3],this._removeListener&&this.emit("removeListener",e3,t3))}return this.listenerTree&&R(this.listenerTree),this},P.prototype.offAny=function(e3){var t3,n3=0,r3=0;if(e3&&this._all&&this._all.length>0){for(n3=0,r3=(t3=this._all).length;n3<r3;n3++)if(e3===t3[n3])return t3.splice(n3,1),this._removeListener&&this.emit("removeListenerAny",e3),this}else{if(t3=this._all,this._removeListener)for(n3=0,r3=t3.length;n3<r3;n3++)this.emit("removeListenerAny",t3[n3]);this._all=[]}return this},P.prototype.removeListener=P.prototype.off,P.prototype.removeAllListeners=function(e3){if(e3===o)return!this._events||d.call(this),this;if(this.wildcard){var t3,n3=S.call(this,null,e3,this.listenerTree,0);if(!n3)return this;for(t3=0;t3<n3.length;t3++)n3[t3]._listeners=null;this.listenerTree&&R(this.listenerTree)}else this._events&&(this._events[e3]=null);return this},P.prototype.listeners=function(e3){var t3,n3,r3,i2,s2,a2=this._events;if(e3===o){if(this.wildcard)throw Error("event name required for wildcard emitter");if(!a2)return[];for(i2=(t3=p(a2)).length,r3=[];i2-- >0;)typeof(n3=a2[t3[i2]])=="function"?r3.push(n3):r3.push.apply(r3,n3);return r3}if(this.wildcard){if(!(s2=this.listenerTree))return[];var u2=[],c2=typeof e3=="string"?e3.split(this.delimiter):e3.slice();return S.call(this,u2,c2,s2,0),u2}return a2&&(n3=a2[e3])?typeof n3=="function"?[n3]:n3:[]},P.prototype.eventNames=function(e3){var t3=this._events;return this.wildcard?A.call(this,this.listenerTree,[],null,e3):t3?p(t3):[]},P.prototype.listenerCount=function(e3){return this.listeners(e3).length},P.prototype.hasListeners=function(e3){if(this.wildcard){var t3=[],n3=typeof e3=="string"?e3.split(this.delimiter):e3.slice();return S.call(this,t3,n3,this.listenerTree,0),t3.length>0}var r3=this._events,i2=this._all;return!!(i2&&i2.length||r3&&(e3===o?p(r3).length:r3[e3]))},P.prototype.listenersAny=function(){return this._all?this._all:[]},P.prototype.waitFor=function(e3,t3){var n3=this,r3=typeof t3;return r3==="number"?t3={timeout:t3}:r3==="function"&&(t3={filter:t3}),T((t3=E(t3,{timeout:0,filter:o,handleError:!1,Promise,overload:!1},{filter:w,Promise:b})).Promise,function(r4,i2,o2){function s2(){var o3=t3.filter;if(!o3||o3.apply(n3,arguments))if(n3.off(e3,s2),t3.handleError){var a2=arguments[0];a2?i2(a2):r4(m.apply(null,arguments).slice(1))}else r4(m.apply(null,arguments))}o2(function(){n3.off(e3,s2)}),n3._on(e3,s2,!1)},{timeout:t3.timeout,overload:t3.overload})};var D=P.prototype;Object.defineProperties(P,{defaultMaxListeners:{get:function(){return D._maxListeners},set:function(e3){if(typeof e3!="number"||e3<0||Number.isNaN(e3))throw TypeError("n must be a non-negative number");D._maxListeners=e3},enumerable:!0},once:{value:function(e3,t3,n3){return T((n3=E(n3,{Promise,timeout:0,overload:!1},{Promise:b})).Promise,function(n4,r3,i2){var o2;if(typeof e3.addEventListener=="function")return o2=function(){n4(m.apply(null,arguments))},i2(function(){e3.removeEventListener(t3,o2)}),void e3.addEventListener(t3,o2,{once:!0});var s2,a2=function(){s2&&e3.removeListener("error",s2),n4(m.apply(null,arguments))};t3!=="error"&&(s2=function(n5){e3.removeListener(t3,a2),r3(n5)},e3.once("error",s2)),i2(function(){s2&&e3.removeListener("error",s2),e3.removeListener(t3,a2)}),e3.once(t3,a2)},{timeout:n3.timeout,overload:n3.overload})},writable:!0,configurable:!0}}),Object.defineProperties(D,{_maxListeners:{value:10,writable:!0,configurable:!0},_observers:{value:null,writable:!0,configurable:!0}}),(r2=function(){return P}.call(t2,n2,t2,e2))===o||(e2.exports=r2)})()},6901:e2=>{"use strict";e2.exports=function(e3,t2){for(var n2={},r2=Object.keys(e3),i=Array.isArray(t2),o=0;o<r2.length;o++){var s=r2[o],a=e3[s];(i?t2.indexOf(s)!==-1:t2(s,a,e3))&&(n2[s]=a)}return n2}},5692:function(e2){e2.exports=function(){function e3(){return(e3=Object.assign?Object.assign.bind():function(e4){for(var t3=1;t3<arguments.length;t3++){var n2=arguments[t3];for(var r2 in n2)({}).hasOwnProperty.call(n2,r2)&&(e4[r2]=n2[r2])}return e4}).apply(null,arguments)}var t2={ignoreId:!1};return function(n2,r2){var i=e3({},t2,r2),o=n2;if(o&&o.id&&!i.ignoreId)return'//*[@id="'+o.id+'"]';for(var s=[];o&&(Node.ELEMENT_NODE===o.nodeType||Node.TEXT_NODE===o.nodeType);){for(var a=0,u=!1,c=o.previousSibling;c;)c.nodeType!==Node.DOCUMENT_TYPE_NODE&&c.nodeName===o.nodeName&&a++,c=c.previousSibling;for(c=o.nextSibling;c;){if(c.nodeName===o.nodeName){u=!0;break}c=c.nextSibling}var l=a||u?"["+(a+1)+"]":"",f=o.nodeType!=Node.TEXT_NODE?(o.prefix?o.prefix+":":"")+o.localName+l:"text()"+(l||"[1]");s.push(f),o=o.parentNode}return s.length?"/"+s.reverse().join("/"):""}}()},8539:e2=>{"use strict";e2.exports=function(e3){return typeof e3=="object"?e3===null:typeof e3!="function"}},763:e2=>{e2.exports=function(e3){for(var t2=-1,n2=e3?e3.length:0,r2=0,i=[];++t2<n2;){var o=e3[t2];o&&(i[r2++]=o)}return i}},7065:(e2,t2,n2)=>{var r2=typeof n2.g=="object"&&n2.g&&n2.g.Object===Object&&n2.g,i=typeof self=="object"&&self&&self.Object===Object&&self,o=r2||i||Function("return this")();function s(e3,t3){for(var n3=-1,r3=t3.length,i2=e3.length;++n3<r3;)e3[i2+n3]=t3[n3];return e3}var a=Object.prototype,u=a.hasOwnProperty,c=a.toString,l=o.Symbol,f=a.propertyIsEnumerable,p=l?l.isConcatSpreadable:void 0;function d(e3,t3,n3,r3,i2){var o2=-1,a2=e3.length;for(n3||(n3=h),i2||(i2=[]);++o2<a2;){var u2=e3[o2];t3>0&&n3(u2)?t3>1?d(u2,t3-1,n3,r3,i2):s(i2,u2):r3||(i2[i2.length]=u2)}return i2}function h(e3){return v(e3)||function(e4){return function(e5){return function(e6){return!!e6&&typeof e6=="object"}(e5)&&function(e6){return e6!=null&&function(e7){return typeof e7=="number"&&e7>-1&&e7%1==0&&e7<=9007199254740991}(e6.length)&&!function(e7){var t3=function(e8){var t4=typeof e8;return!!e8&&(t4=="object"||t4=="function")}(e7)?c.call(e7):"";return t3=="[object Function]"||t3=="[object GeneratorFunction]"}(e6)}(e5)}(e4)&&u.call(e4,"callee")&&(!f.call(e4,"callee")||c.call(e4)=="[object Arguments]")}(e3)||!!(p&&e3&&e3[p])}var v=Array.isArray;e2.exports=function(e3){return e3&&e3.length?d(e3,1):[]}},994:e2=>{e2.exports=function(e3){return e3&&e3.length?e3[0]:void 0}},2935:function(e2,t2,n2){var r2;e2=n2.nmd(e2),function(){var i,o="Expected a function",s="__lodash_hash_undefined__",a="__lodash_placeholder__",u=32,c=128,l=1/0,f=9007199254740991,p=NaN,d=4294967295,h=[["ary",c],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",u],["partialRight",64],["rearg",256]],v="[object Arguments]",m="[object Array]",g="[object Boolean]",y="[object Date]",E="[object Error]",b="[object Function]",_="[object GeneratorFunction]",w="[object Map]",O="[object Number]",T="[object Object]",I="[object Promise]",S="[object RegExp]",N="[object Set]",A="[object String]",R="[object Symbol]",x="[object WeakMap]",j="[object ArrayBuffer]",P="[object DataView]",D="[object Float32Array]",L="[object Float64Array]",M="[object Int8Array]",k="[object Int16Array]",C="[object Int32Array]",F="[object Uint8Array]",V="[object Uint8ClampedArray]",$="[object Uint16Array]",U="[object Uint32Array]",B=/\b__p \+= '';/g,H=/\b(__p \+=) '' \+/g,G=/(__e\(.*?\)|\b__t\)) \+\n'';/g,q=/&(?:amp|lt|gt|quot|#39);/g,W=/[&<>"']/g,z=RegExp(q.source),Y=RegExp(W.source),X=/<%-([\s\S]+?)%>/g,J=/<%([\s\S]+?)%>/g,Q=/<%=([\s\S]+?)%>/g,K=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Z=/^\w*$/,ee=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,te=/[\\^$.*+?()[\]{}|]/g,ne=RegExp(te.source),re=/^\s+/,ie=/\s/,oe=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,se=/\{\n\/\* \[wrapped with (.+)\] \*/,ae=/,? & /,ue=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ce=/[()=,{}\[\]\/\s]/,le=/\\(\\)?/g,fe=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,pe=/\w*$/,de=/^[-+]0x[0-9a-f]+$/i,he=/^0b[01]+$/i,ve=/^\[object .+?Constructor\]$/,me=/^0o[0-7]+$/i,ge=/^(?:0|[1-9]\d*)$/,ye=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ee=/($^)/,be=/['\n\r\u2028\u2029\\]/g,_e="\\ud800-\\udfff",we="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Oe="\\u2700-\\u27bf",Te="a-z\\xdf-\\xf6\\xf8-\\xff",Ie="A-Z\\xc0-\\xd6\\xd8-\\xde",Se="\\ufe0e\\ufe0f",Ne="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Ae="["+_e+"]",Re="["+Ne+"]",xe="["+we+"]",je="\\d+",Pe="["+Oe+"]",De="["+Te+"]",Le="[^"+_e+Ne+je+Oe+Te+Ie+"]",Me="\\ud83c[\\udffb-\\udfff]",ke="[^"+_e+"]",Ce="(?:\\ud83c[\\udde6-\\uddff]){2}",Fe="[\\ud800-\\udbff][\\udc00-\\udfff]",Ve="["+Ie+"]",$e="\\u200d",Ue="(?:"+De+"|"+Le+")",Be="(?:"+Ve+"|"+Le+")",He="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",Ge="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",qe="(?:"+xe+"|"+Me+")?",We="["+Se+"]?",ze=We+qe+"(?:"+$e+"(?:"+[ke,Ce,Fe].join("|")+")"+We+qe+")*",Ye="(?:"+[Pe,Ce,Fe].join("|")+")"+ze,Xe="(?:"+[ke+xe+"?",xe,Ce,Fe,Ae].join("|")+")",Je=RegExp("['\u2019]","g"),Qe=RegExp(xe,"g"),Ke=RegExp(Me+"(?="+Me+")|"+Xe+ze,"g"),Ze=RegExp([Ve+"?"+De+"+"+He+"(?="+[Re,Ve,"$"].join("|")+")",Be+"+"+Ge+"(?="+[Re,Ve+Ue,"$"].join("|")+")",Ve+"?"+Ue+"+"+He,Ve+"+"+Ge,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",je,Ye].join("|"),"g"),et=RegExp("["+$e+_e+we+Se+"]"),tt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,nt=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],rt=-1,it={};it[D]=it[L]=it[M]=it[k]=it[C]=it[F]=it[V]=it[$]=it[U]=!0,it[v]=it[m]=it[j]=it[g]=it[P]=it[y]=it[E]=it[b]=it[w]=it[O]=it[T]=it[S]=it[N]=it[A]=it[x]=!1;var ot={};ot[v]=ot[m]=ot[j]=ot[P]=ot[g]=ot[y]=ot[D]=ot[L]=ot[M]=ot[k]=ot[C]=ot[w]=ot[O]=ot[T]=ot[S]=ot[N]=ot[A]=ot[R]=ot[F]=ot[V]=ot[$]=ot[U]=!0,ot[E]=ot[b]=ot[x]=!1;var st={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},at=parseFloat,ut=parseInt,ct=typeof n2.g=="object"&&n2.g&&n2.g.Object===Object&&n2.g,lt=typeof self=="object"&&self&&self.Object===Object&&self,ft=ct||lt||Function("return this")(),pt=t2&&!t2.nodeType&&t2,dt=pt&&e2&&!e2.nodeType&&e2,ht=dt&&dt.exports===pt,vt=ht&&ct.process,mt=function(){try{return dt&&dt.require&&dt.require("util").types||vt&&vt.binding&&vt.binding("util")}catch{}}(),gt=mt&&mt.isArrayBuffer,yt=mt&&mt.isDate,Et=mt&&mt.isMap,bt=mt&&mt.isRegExp,_t=mt&&mt.isSet,wt=mt&&mt.isTypedArray;function Ot(e3,t3,n3){switch(n3.length){case 0:return e3.call(t3);case 1:return e3.call(t3,n3[0]);case 2:return e3.call(t3,n3[0],n3[1]);case 3:return e3.call(t3,n3[0],n3[1],n3[2])}return e3.apply(t3,n3)}function Tt(e3,t3,n3,r3){for(var i2=-1,o2=e3==null?0:e3.length;++i2<o2;){var s2=e3[i2];t3(r3,s2,n3(s2),e3)}return r3}function It(e3,t3){for(var n3=-1,r3=e3==null?0:e3.length;++n3<r3&&t3(e3[n3],n3,e3)!==!1;);return e3}function St(e3,t3){for(var n3=e3==null?0:e3.length;n3--&&t3(e3[n3],n3,e3)!==!1;);return e3}function Nt(e3,t3){for(var n3=-1,r3=e3==null?0:e3.length;++n3<r3;)if(!t3(e3[n3],n3,e3))return!1;return!0}function At(e3,t3){for(var n3=-1,r3=e3==null?0:e3.length,i2=0,o2=[];++n3<r3;){var s2=e3[n3];t3(s2,n3,e3)&&(o2[i2++]=s2)}return o2}function Rt(e3,t3){return!(e3==null||!e3.length)&&Vt(e3,t3,0)>-1}function xt(e3,t3,n3){for(var r3=-1,i2=e3==null?0:e3.length;++r3<i2;)if(n3(t3,e3[r3]))return!0;return!1}function jt(e3,t3){for(var n3=-1,r3=e3==null?0:e3.length,i2=Array(r3);++n3<r3;)i2[n3]=t3(e3[n3],n3,e3);return i2}function Pt(e3,t3){for(var n3=-1,r3=t3.length,i2=e3.length;++n3<r3;)e3[i2+n3]=t3[n3];return e3}function Dt(e3,t3,n3,r3){var i2=-1,o2=e3==null?0:e3.length;for(r3&&o2&&(n3=e3[++i2]);++i2<o2;)n3=t3(n3,e3[i2],i2,e3);return n3}function Lt(e3,t3,n3,r3){var i2=e3==null?0:e3.length;for(r3&&i2&&(n3=e3[--i2]);i2--;)n3=t3(n3,e3[i2],i2,e3);return n3}function Mt(e3,t3){for(var n3=-1,r3=e3==null?0:e3.length;++n3<r3;)if(t3(e3[n3],n3,e3))return!0;return!1}var kt=Ht("length");function Ct(e3,t3,n3){var r3;return n3(e3,function(e4,n4,i2){if(t3(e4,n4,i2))return r3=n4,!1}),r3}function Ft(e3,t3,n3,r3){for(var i2=e3.length,o2=n3+(r3?1:-1);r3?o2--:++o2<i2;)if(t3(e3[o2],o2,e3))return o2;return-1}function Vt(e3,t3,n3){return t3==t3?function(e4,t4,n4){for(var r3=n4-1,i2=e4.length;++r3<i2;)if(e4[r3]===t4)return r3;return-1}(e3,t3,n3):Ft(e3,Ut,n3)}function $t(e3,t3,n3,r3){for(var i2=n3-1,o2=e3.length;++i2<o2;)if(r3(e3[i2],t3))return i2;return-1}function Ut(e3){return e3!=e3}function Bt(e3,t3){var n3=e3==null?0:e3.length;return n3?Wt(e3,t3)/n3:p}function Ht(e3){return function(t3){return t3==null?i:t3[e3]}}function Gt(e3){return function(t3){return e3==null?i:e3[t3]}}function qt(e3,t3,n3,r3,i2){return i2(e3,function(e4,i3,o2){n3=r3?(r3=!1,e4):t3(n3,e4,i3,o2)}),n3}function Wt(e3,t3){for(var n3,r3=-1,o2=e3.length;++r3<o2;){var s2=t3(e3[r3]);s2!==i&&(n3=n3===i?s2:n3+s2)}return n3}function zt(e3,t3){for(var n3=-1,r3=Array(e3);++n3<e3;)r3[n3]=t3(n3);return r3}function Yt(e3){return e3&&e3.slice(0,pn(e3)+1).replace(re,"")}function Xt(e3){return function(t3){return e3(t3)}}function Jt(e3,t3){return jt(t3,function(t4){return e3[t4]})}function Qt(e3,t3){return e3.has(t3)}function Kt(e3,t3){for(var n3=-1,r3=e3.length;++n3<r3&&Vt(t3,e3[n3],0)>-1;);return n3}function Zt(e3,t3){for(var n3=e3.length;n3--&&Vt(t3,e3[n3],0)>-1;);return n3}var en=Gt({\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"}),tn=Gt({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function nn(e3){return"\\"+st[e3]}function rn(e3){return et.test(e3)}function on(e3){var t3=-1,n3=Array(e3.size);return e3.forEach(function(e4,r3){n3[++t3]=[r3,e4]}),n3}function sn(e3,t3){return function(n3){return e3(t3(n3))}}function an(e3,t3){for(var n3=-1,r3=e3.length,i2=0,o2=[];++n3<r3;){var s2=e3[n3];s2!==t3&&s2!==a||(e3[n3]=a,o2[i2++]=n3)}return o2}function un(e3){var t3=-1,n3=Array(e3.size);return e3.forEach(function(e4){n3[++t3]=e4}),n3}function cn(e3){var t3=-1,n3=Array(e3.size);return e3.forEach(function(e4){n3[++t3]=[e4,e4]}),n3}function ln(e3){return rn(e3)?function(e4){for(var t3=Ke.lastIndex=0;Ke.test(e4);)++t3;return t3}(e3):kt(e3)}function fn(e3){return rn(e3)?function(e4){return e4.match(Ke)||[]}(e3):function(e4){return e4.split("")}(e3)}function pn(e3){for(var t3=e3.length;t3--&&ie.test(e3.charAt(t3)););return t3}var dn=Gt({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"}),hn=function e3(t3){var n3,r3=(t3=t3==null?ft:hn.defaults(ft.Object(),t3,hn.pick(ft,nt))).Array,ie2=t3.Date,_e2=t3.Error,we2=t3.Function,Oe2=t3.Math,Te2=t3.Object,Ie2=t3.RegExp,Se2=t3.String,Ne2=t3.TypeError,Ae2=r3.prototype,Re2=we2.prototype,xe2=Te2.prototype,je2=t3["__core-js_shared__"],Pe2=Re2.toString,De2=xe2.hasOwnProperty,Le2=0,Me2=(n3=/[^.]+$/.exec(je2&&je2.keys&&je2.keys.IE_PROTO||""))?"Symbol(src)_1."+n3:"",ke2=xe2.toString,Ce2=Pe2.call(Te2),Fe2=ft._,Ve2=Ie2("^"+Pe2.call(De2).replace(te,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),$e2=ht?t3.Buffer:i,Ue2=t3.Symbol,Be2=t3.Uint8Array,He2=$e2?$e2.allocUnsafe:i,Ge2=sn(Te2.getPrototypeOf,Te2),qe2=Te2.create,We2=xe2.propertyIsEnumerable,ze2=Ae2.splice,Ye2=Ue2?Ue2.isConcatSpreadable:i,Xe2=Ue2?Ue2.iterator:i,Ke2=Ue2?Ue2.toStringTag:i,et2=function(){try{var e4=uo(Te2,"defineProperty");return e4({},"",{}),e4}catch{}}(),st2=t3.clearTimeout!==ft.clearTimeout&&t3.clearTimeout,ct2=ie2&&ie2.now!==ft.Date.now&&ie2.now,lt2=t3.setTimeout!==ft.setTimeout&&t3.setTimeout,pt2=Oe2.ceil,dt2=Oe2.floor,vt2=Te2.getOwnPropertySymbols,mt2=$e2?$e2.isBuffer:i,kt2=t3.isFinite,Gt2=Ae2.join,vn=sn(Te2.keys,Te2),mn=Oe2.max,gn=Oe2.min,yn=ie2.now,En=t3.parseInt,bn=Oe2.random,_n=Ae2.reverse,wn=uo(t3,"DataView"),On=uo(t3,"Map"),Tn=uo(t3,"Promise"),In=uo(t3,"Set"),Sn=uo(t3,"WeakMap"),Nn=uo(Te2,"create"),An=Sn&&new Sn,Rn={},xn=Co(wn),jn=Co(On),Pn=Co(Tn),Dn=Co(In),Ln=Co(Sn),Mn=Ue2?Ue2.prototype:i,kn=Mn?Mn.valueOf:i,Cn=Mn?Mn.toString:i;function Fn(e4){if(ea(e4)&&!Hs(e4)&&!(e4 instanceof Bn)){if(e4 instanceof Un)return e4;if(De2.call(e4,"__wrapped__"))return Fo(e4)}return new Un(e4)}var Vn=function(){function e4(){}return function(t4){if(!Zs(t4))return{};if(qe2)return qe2(t4);e4.prototype=t4;var n4=new e4;return e4.prototype=i,n4}}();function $n(){}function Un(e4,t4){this.__wrapped__=e4,this.__actions__=[],this.__chain__=!!t4,this.__index__=0,this.__values__=i}function Bn(e4){this.__wrapped__=e4,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=d,this.__views__=[]}function Hn(e4){var t4=-1,n4=e4==null?0:e4.length;for(this.clear();++t4<n4;){var r4=e4[t4];this.set(r4[0],r4[1])}}function Gn(e4){var t4=-1,n4=e4==null?0:e4.length;for(this.clear();++t4<n4;){var r4=e4[t4];this.set(r4[0],r4[1])}}function qn(e4){var t4=-1,n4=e4==null?0:e4.length;for(this.clear();++t4<n4;){var r4=e4[t4];this.set(r4[0],r4[1])}}function Wn(e4){var t4=-1,n4=e4==null?0:e4.length;for(this.__data__=new qn;++t4<n4;)this.add(e4[t4])}function zn(e4){var t4=this.__data__=new Gn(e4);this.size=t4.size}function Yn(e4,t4){var n4=Hs(e4),r4=!n4&&Bs(e4),i2=!n4&&!r4&&zs(e4),o2=!n4&&!r4&&!i2&&ua(e4),s2=n4||r4||i2||o2,a2=s2?zt(e4.length,Se2):[],u2=a2.length;for(var c2 in e4)!t4&&!De2.call(e4,c2)||s2&&(c2=="length"||i2&&(c2=="offset"||c2=="parent")||o2&&(c2=="buffer"||c2=="byteLength"||c2=="byteOffset")||mo(c2,u2))||a2.push(c2);return a2}function Xn(e4){var t4=e4.length;return t4?e4[qr(0,t4-1)]:i}function Jn(e4,t4){return Po(Si(e4),or(t4,0,e4.length))}function Qn(e4){return Po(Si(e4))}function Kn(e4,t4,n4){(n4!==i&&!Vs(e4[t4],n4)||n4===i&&!(t4 in e4))&&rr(e4,t4,n4)}function Zn(e4,t4,n4){var r4=e4[t4];De2.call(e4,t4)&&Vs(r4,n4)&&(n4!==i||t4 in e4)||rr(e4,t4,n4)}function er(e4,t4){for(var n4=e4.length;n4--;)if(Vs(e4[n4][0],t4))return n4;return-1}function tr(e4,t4,n4,r4){return lr(e4,function(e5,i2,o2){t4(r4,e5,n4(e5),o2)}),r4}function nr(e4,t4){return e4&&Ni(t4,xa(t4),e4)}function rr(e4,t4,n4){t4=="__proto__"&&et2?et2(e4,t4,{configurable:!0,enumerable:!0,value:n4,writable:!0}):e4[t4]=n4}function ir(e4,t4){for(var n4=-1,o2=t4.length,s2=r3(o2),a2=e4==null;++n4<o2;)s2[n4]=a2?i:Ia(e4,t4[n4]);return s2}function or(e4,t4,n4){return e4==e4&&(n4!==i&&(e4=e4<=n4?e4:n4),t4!==i&&(e4=e4>=t4?e4:t4)),e4}function sr(e4,t4,n4,r4,o2,s2){var a2,u2=1&t4,c2=2&t4,l2=4&t4;if(n4&&(a2=o2?n4(e4,r4,o2,s2):n4(e4)),a2!==i)return a2;if(!Zs(e4))return e4;var f2=Hs(e4);if(f2){if(a2=function(e5){var t5=e5.length,n5=new e5.constructor(t5);return t5&&typeof e5[0]=="string"&&De2.call(e5,"index")&&(n5.index=e5.index,n5.input=e5.input),n5}(e4),!u2)return Si(e4,a2)}else{var p2=fo(e4),d2=p2==b||p2==_;if(zs(e4))return bi(e4,u2);if(p2==T||p2==v||d2&&!o2){if(a2=c2||d2?{}:ho(e4),!u2)return c2?function(e5,t5){return Ni(e5,lo(e5),t5)}(e4,function(e5,t5){return e5&&Ni(t5,ja(t5),e5)}(a2,e4)):function(e5,t5){return Ni(e5,co(e5),t5)}(e4,nr(a2,e4))}else{if(!ot[p2])return o2?e4:{};a2=function(e5,t5,n5){var r5,i2=e5.constructor;switch(t5){case j:return _i(e5);case g:case y:return new i2(+e5);case P:return function(e6,t6){var n6=t6?_i(e6.buffer):e6.buffer;return new e6.constructor(n6,e6.byteOffset,e6.byteLength)}(e5,n5);case D:case L:case M:case k:case C:case F:case V:case $:case U:return wi(e5,n5);case w:return new i2;case O:case A:return new i2(e5);case S:return function(e6){var t6=new e6.constructor(e6.source,pe.exec(e6));return t6.lastIndex=e6.lastIndex,t6}(e5);case N:return new i2;case R:return r5=e5,kn?Te2(kn.call(r5)):{}}}(e4,p2,u2)}}s2||(s2=new zn);var h2=s2.get(e4);if(h2)return h2;s2.set(e4,a2),oa(e4)?e4.forEach(function(r5){a2.add(sr(r5,t4,n4,r5,e4,s2))}):ta(e4)&&e4.forEach(function(r5,i2){a2.set(i2,sr(r5,t4,n4,i2,e4,s2))});var m2=f2?i:(l2?c2?to:eo:c2?ja:xa)(e4);return It(m2||e4,function(r5,i2){m2&&(r5=e4[i2=r5]),Zn(a2,i2,sr(r5,t4,n4,i2,e4,s2))}),a2}function ar(e4,t4,n4){var r4=n4.length;if(e4==null)return!r4;for(e4=Te2(e4);r4--;){var o2=n4[r4],s2=t4[o2],a2=e4[o2];if(a2===i&&!(o2 in e4)||!s2(a2))return!1}return!0}function ur(e4,t4,n4){if(typeof e4!="function")throw new Ne2(o);return Ao(function(){e4.apply(i,n4)},t4)}function cr(e4,t4,n4,r4){var i2=-1,o2=Rt,s2=!0,a2=e4.length,u2=[],c2=t4.length;if(!a2)return u2;n4&&(t4=jt(t4,Xt(n4))),r4?(o2=xt,s2=!1):t4.length>=200&&(o2=Qt,s2=!1,t4=new Wn(t4));e:for(;++i2<a2;){var l2=e4[i2],f2=n4==null?l2:n4(l2);if(l2=r4||l2!==0?l2:0,s2&&f2==f2){for(var p2=c2;p2--;)if(t4[p2]===f2)continue e;u2.push(l2)}else o2(t4,f2,r4)||u2.push(l2)}return u2}Fn.templateSettings={escape:X,evaluate:J,interpolate:Q,variable:"",imports:{_:Fn}},Fn.prototype=$n.prototype,Fn.prototype.constructor=Fn,Un.prototype=Vn($n.prototype),Un.prototype.constructor=Un,Bn.prototype=Vn($n.prototype),Bn.prototype.constructor=Bn,Hn.prototype.clear=function(){this.__data__=Nn?Nn(null):{},this.size=0},Hn.prototype.delete=function(e4){var t4=this.has(e4)&&delete this.__data__[e4];return this.size-=t4?1:0,t4},Hn.prototype.get=function(e4){var t4=this.__data__;if(Nn){var n4=t4[e4];return n4===s?i:n4}return De2.call(t4,e4)?t4[e4]:i},Hn.prototype.has=function(e4){var t4=this.__data__;return Nn?t4[e4]!==i:De2.call(t4,e4)},Hn.prototype.set=function(e4,t4){var n4=this.__data__;return this.size+=this.has(e4)?0:1,n4[e4]=Nn&&t4===i?s:t4,this},Gn.prototype.clear=function(){this.__data__=[],this.size=0},Gn.prototype.delete=function(e4){var t4=this.__data__,n4=er(t4,e4);return!(n4<0||(n4==t4.length-1?t4.pop():ze2.call(t4,n4,1),--this.size,0))},Gn.prototype.get=function(e4){var t4=this.__data__,n4=er(t4,e4);return n4<0?i:t4[n4][1]},Gn.prototype.has=function(e4){return er(this.__data__,e4)>-1},Gn.prototype.set=function(e4,t4){var n4=this.__data__,r4=er(n4,e4);return r4<0?(++this.size,n4.push([e4,t4])):n4[r4][1]=t4,this},qn.prototype.clear=function(){this.size=0,this.__data__={hash:new Hn,map:new(On||Gn),string:new Hn}},qn.prototype.delete=function(e4){var t4=so(this,e4).delete(e4);return this.size-=t4?1:0,t4},qn.prototype.get=function(e4){return so(this,e4).get(e4)},qn.prototype.has=function(e4){return so(this,e4).has(e4)},qn.prototype.set=function(e4,t4){var n4=so(this,e4),r4=n4.size;return n4.set(e4,t4),this.size+=n4.size==r4?0:1,this},Wn.prototype.add=Wn.prototype.push=function(e4){return this.__data__.set(e4,s),this},Wn.prototype.has=function(e4){return this.__data__.has(e4)},zn.prototype.clear=function(){this.__data__=new Gn,this.size=0},zn.prototype.delete=function(e4){var t4=this.__data__,n4=t4.delete(e4);return this.size=t4.size,n4},zn.prototype.get=function(e4){return this.__data__.get(e4)},zn.prototype.has=function(e4){return this.__data__.has(e4)},zn.prototype.set=function(e4,t4){var n4=this.__data__;if(n4 instanceof Gn){var r4=n4.__data__;if(!On||r4.length<199)return r4.push([e4,t4]),this.size=++n4.size,this;n4=this.__data__=new qn(r4)}return n4.set(e4,t4),this.size=n4.size,this};var lr=xi(yr),fr=xi(Er,!0);function pr(e4,t4){var n4=!0;return lr(e4,function(e5,r4,i2){return n4=!!t4(e5,r4,i2)}),n4}function dr(e4,t4,n4){for(var r4=-1,o2=e4.length;++r4<o2;){var s2=e4[r4],a2=t4(s2);if(a2!=null&&(u2===i?a2==a2&&!aa(a2):n4(a2,u2)))var u2=a2,c2=s2}return c2}function hr(e4,t4){var n4=[];return lr(e4,function(e5,r4,i2){t4(e5,r4,i2)&&n4.push(e5)}),n4}function vr(e4,t4,n4,r4,i2){var o2=-1,s2=e4.length;for(n4||(n4=vo),i2||(i2=[]);++o2<s2;){var a2=e4[o2];t4>0&&n4(a2)?t4>1?vr(a2,t4-1,n4,r4,i2):Pt(i2,a2):r4||(i2[i2.length]=a2)}return i2}var mr=ji(),gr=ji(!0);function yr(e4,t4){return e4&&mr(e4,t4,xa)}function Er(e4,t4){return e4&&gr(e4,t4,xa)}function br(e4,t4){return At(t4,function(t5){return Js(e4[t5])})}function _r(e4,t4){for(var n4=0,r4=(t4=mi(t4,e4)).length;e4!=null&&n4<r4;)e4=e4[ko(t4[n4++])];return n4&&n4==r4?e4:i}function wr(e4,t4,n4){var r4=t4(e4);return Hs(e4)?r4:Pt(r4,n4(e4))}function Or(e4){return e4==null?e4===i?"[object Undefined]":"[object Null]":Ke2&&Ke2 in Te2(e4)?function(e5){var t4=De2.call(e5,Ke2),n4=e5[Ke2];try{e5[Ke2]=i;var r4=!0}catch{}var o2=ke2.call(e5);return r4&&(t4?e5[Ke2]=n4:delete e5[Ke2]),o2}(e4):function(e5){return ke2.call(e5)}(e4)}function Tr(e4,t4){return e4>t4}function Ir(e4,t4){return e4!=null&&De2.call(e4,t4)}function Sr(e4,t4){return e4!=null&&t4 in Te2(e4)}function Nr(e4,t4,n4){for(var o2=n4?xt:Rt,s2=e4[0].length,a2=e4.length,u2=a2,c2=r3(a2),l2=1/0,f2=[];u2--;){var p2=e4[u2];u2&&t4&&(p2=jt(p2,Xt(t4))),l2=gn(p2.length,l2),c2[u2]=!n4&&(t4||s2>=120&&p2.length>=120)?new Wn(u2&&p2):i}p2=e4[0];var d2=-1,h2=c2[0];e:for(;++d2<s2&&f2.length<l2;){var v2=p2[d2],m2=t4?t4(v2):v2;if(v2=n4||v2!==0?v2:0,!(h2?Qt(h2,m2):o2(f2,m2,n4))){for(u2=a2;--u2;){var g2=c2[u2];if(!(g2?Qt(g2,m2):o2(e4[u2],m2,n4)))continue e}h2&&h2.push(m2),f2.push(v2)}}return f2}function Ar(e4,t4,n4){var r4=(e4=Io(e4,t4=mi(t4,e4)))==null?e4:e4[ko(Xo(t4))];return r4==null?i:Ot(r4,e4,n4)}function Rr(e4){return ea(e4)&&Or(e4)==v}function xr(e4,t4,n4,r4,o2){return e4===t4||(e4==null||t4==null||!ea(e4)&&!ea(t4)?e4!=e4&&t4!=t4:function(e5,t5,n5,r5,o3,s2){var a2=Hs(e5),u2=Hs(t5),c2=a2?m:fo(e5),l2=u2?m:fo(t5),f2=(c2=c2==v?T:c2)==T,p2=(l2=l2==v?T:l2)==T,d2=c2==l2;if(d2&&zs(e5)){if(!zs(t5))return!1;a2=!0,f2=!1}if(d2&&!f2)return s2||(s2=new zn),a2||ua(e5)?Ki(e5,t5,n5,r5,o3,s2):function(e6,t6,n6,r6,i2,o4,s3){switch(n6){case P:if(e6.byteLength!=t6.byteLength||e6.byteOffset!=t6.byteOffset)return!1;e6=e6.buffer,t6=t6.buffer;case j:return!(e6.byteLength!=t6.byteLength||!o4(new Be2(e6),new Be2(t6)));case g:case y:case O:return Vs(+e6,+t6);case E:return e6.name==t6.name&&e6.message==t6.message;case S:case A:return e6==t6+"";case w:var a3=on;case N:var u3=1&r6;if(a3||(a3=un),e6.size!=t6.size&&!u3)return!1;var c3=s3.get(e6);if(c3)return c3==t6;r6|=2,s3.set(e6,t6);var l3=Ki(a3(e6),a3(t6),r6,i2,o4,s3);return s3.delete(e6),l3;case R:if(kn)return kn.call(e6)==kn.call(t6)}return!1}(e5,t5,c2,n5,r5,o3,s2);if(!(1&n5)){var h2=f2&&De2.call(e5,"__wrapped__"),b2=p2&&De2.call(t5,"__wrapped__");if(h2||b2){var _2=h2?e5.value():e5,I2=b2?t5.value():t5;return s2||(s2=new zn),o3(_2,I2,n5,r5,s2)}}return!!d2&&(s2||(s2=new zn),function(e6,t6,n6,r6,o4,s3){var a3=1&n6,u3=eo(e6),c3=u3.length;if(c3!=eo(t6).length&&!a3)return!1;for(var l3=c3;l3--;){var f3=u3[l3];if(!(a3?f3 in t6:De2.call(t6,f3)))return!1}var p3=s3.get(e6),d3=s3.get(t6);if(p3&&d3)return p3==t6&&d3==e6;var h3=!0;s3.set(e6,t6),s3.set(t6,e6);for(var v2=a3;++l3<c3;){var m2=e6[f3=u3[l3]],g2=t6[f3];if(r6)var y2=a3?r6(g2,m2,f3,t6,e6,s3):r6(m2,g2,f3,e6,t6,s3);if(!(y2===i?m2===g2||o4(m2,g2,n6,r6,s3):y2)){h3=!1;break}v2||(v2=f3=="constructor")}if(h3&&!v2){var E2=e6.constructor,b3=t6.constructor;E2==b3||!("constructor"in e6)||!("constructor"in t6)||typeof E2=="function"&&E2 instanceof E2&&typeof b3=="function"&&b3 instanceof b3||(h3=!1)}return s3.delete(e6),s3.delete(t6),h3}(e5,t5,n5,r5,o3,s2))}(e4,t4,n4,r4,xr,o2))}function jr(e4,t4,n4,r4){var o2=n4.length,s2=o2,a2=!r4;if(e4==null)return!s2;for(e4=Te2(e4);o2--;){var u2=n4[o2];if(a2&&u2[2]?u2[1]!==e4[u2[0]]:!(u2[0]in e4))return!1}for(;++o2<s2;){var c2=(u2=n4[o2])[0],l2=e4[c2],f2=u2[1];if(a2&&u2[2]){if(l2===i&&!(c2 in e4))return!1}else{var p2=new zn;if(r4)var d2=r4(l2,f2,c2,e4,t4,p2);if(!(d2===i?xr(f2,l2,3,r4,p2):d2))return!1}}return!0}function Pr(e4){return!(!Zs(e4)||(t4=e4,Me2&&Me2 in t4))&&(Js(e4)?Ve2:ve).test(Co(e4));var t4}function Dr(e4){return typeof e4=="function"?e4:e4==null?nu:typeof e4=="object"?Hs(e4)?Fr(e4[0],e4[1]):Cr(e4):fu(e4)}function Lr(e4){if(!_o(e4))return vn(e4);var t4=[];for(var n4 in Te2(e4))De2.call(e4,n4)&&n4!="constructor"&&t4.push(n4);return t4}function Mr(e4,t4){return e4<t4}function kr(e4,t4){var n4=-1,i2=qs(e4)?r3(e4.length):[];return lr(e4,function(e5,r4,o2){i2[++n4]=t4(e5,r4,o2)}),i2}function Cr(e4){var t4=ao(e4);return t4.length==1&&t4[0][2]?Oo(t4[0][0],t4[0][1]):function(n4){return n4===e4||jr(n4,e4,t4)}}function Fr(e4,t4){return yo(e4)&&wo(t4)?Oo(ko(e4),t4):function(n4){var r4=Ia(n4,e4);return r4===i&&r4===t4?Sa(n4,e4):xr(t4,r4,3)}}function Vr(e4,t4,n4,r4,o2){e4!==t4&&mr(t4,function(s2,a2){if(o2||(o2=new zn),Zs(s2))(function(e5,t5,n5,r5,o3,s3,a3){var u3=So(e5,n5),c2=So(t5,n5),l2=a3.get(c2);if(l2)Kn(e5,n5,l2);else{var f2=s3?s3(u3,c2,n5+"",e5,t5,a3):i,p2=f2===i;if(p2){var d2=Hs(c2),h2=!d2&&zs(c2),v2=!d2&&!h2&&ua(c2);f2=c2,d2||h2||v2?Hs(u3)?f2=u3:Ws(u3)?f2=Si(u3):h2?(p2=!1,f2=bi(c2,!0)):v2?(p2=!1,f2=wi(c2,!0)):f2=[]:ra(c2)||Bs(c2)?(f2=u3,Bs(u3)?f2=ma(u3):Zs(u3)&&!Js(u3)||(f2=ho(c2))):p2=!1}p2&&(a3.set(c2,f2),o3(f2,c2,r5,s3,a3),a3.delete(c2)),Kn(e5,n5,f2)}})(e4,t4,a2,n4,Vr,r4,o2);else{var u2=r4?r4(So(e4,a2),s2,a2+"",e4,t4,o2):i;u2===i&&(u2=s2),Kn(e4,a2,u2)}},ja)}function $r(e4,t4){var n4=e4.length;if(n4)return mo(t4+=t4<0?n4:0,n4)?e4[t4]:i}function Ur(e4,t4,n4){t4=t4.length?jt(t4,function(e5){return Hs(e5)?function(t5){return _r(t5,e5.length===1?e5[0]:e5)}:e5}):[nu];var r4=-1;t4=jt(t4,Xt(oo()));var i2=kr(e4,function(e5,n5,i3){var o2=jt(t4,function(t5){return t5(e5)});return{criteria:o2,index:++r4,value:e5}});return function(e5){var t5=e5.length;for(e5.sort(function(e6,t6){return function(e7,t7,n5){for(var r5=-1,i3=e7.criteria,o2=t7.criteria,s2=i3.length,a2=n5.length;++r5<s2;){var u2=Oi(i3[r5],o2[r5]);if(u2)return r5>=a2?u2:u2*(n5[r5]=="desc"?-1:1)}return e7.index-t7.index}(e6,t6,n4)});t5--;)e5[t5]=e5[t5].value;return e5}(i2)}function Br(e4,t4,n4){for(var r4=-1,i2=t4.length,o2={};++r4<i2;){var s2=t4[r4],a2=_r(e4,s2);n4(a2,s2)&&Jr(o2,mi(s2,e4),a2)}return o2}function Hr(e4,t4,n4,r4){var i2=r4?$t:Vt,o2=-1,s2=t4.length,a2=e4;for(e4===t4&&(t4=Si(t4)),n4&&(a2=jt(e4,Xt(n4)));++o2<s2;)for(var u2=0,c2=t4[o2],l2=n4?n4(c2):c2;(u2=i2(a2,l2,u2,r4))>-1;)a2!==e4&&ze2.call(a2,u2,1),ze2.call(e4,u2,1);return e4}function Gr(e4,t4){for(var n4=e4?t4.length:0,r4=n4-1;n4--;){var i2=t4[n4];if(n4==r4||i2!==o2){var o2=i2;mo(i2)?ze2.call(e4,i2,1):ui(e4,i2)}}return e4}function qr(e4,t4){return e4+dt2(bn()*(t4-e4+1))}function Wr(e4,t4){var n4="";if(!e4||t4<1||t4>f)return n4;do t4%2&&(n4+=e4),(t4=dt2(t4/2))&&(e4+=e4);while(t4);return n4}function zr(e4,t4){return Ro(To(e4,t4,nu),e4+"")}function Yr(e4){return Xn(Va(e4))}function Xr(e4,t4){var n4=Va(e4);return Po(n4,or(t4,0,n4.length))}function Jr(e4,t4,n4,r4){if(!Zs(e4))return e4;for(var o2=-1,s2=(t4=mi(t4,e4)).length,a2=s2-1,u2=e4;u2!=null&&++o2<s2;){var c2=ko(t4[o2]),l2=n4;if(c2==="__proto__"||c2==="constructor"||c2==="prototype")return e4;if(o2!=a2){var f2=u2[c2];(l2=r4?r4(f2,c2,u2):i)===i&&(l2=Zs(f2)?f2:mo(t4[o2+1])?[]:{})}Zn(u2,c2,l2),u2=u2[c2]}return e4}var Qr=An?function(e4,t4){return An.set(e4,t4),e4}:nu,Kr=et2?function(e4,t4){return et2(e4,"toString",{configurable:!0,enumerable:!1,value:Za(t4),writable:!0})}:nu;function Zr(e4){return Po(Va(e4))}function ei(e4,t4,n4){var i2=-1,o2=e4.length;t4<0&&(t4=-t4>o2?0:o2+t4),(n4=n4>o2?o2:n4)<0&&(n4+=o2),o2=t4>n4?0:n4-t4>>>0,t4>>>=0;for(var s2=r3(o2);++i2<o2;)s2[i2]=e4[i2+t4];return s2}function ti(e4,t4){var n4;return lr(e4,function(e5,r4,i2){return!(n4=t4(e5,r4,i2))}),!!n4}function ni(e4,t4,n4){var r4=0,i2=e4==null?r4:e4.length;if(typeof t4=="number"&&t4==t4&&i2<=2147483647){for(;r4<i2;){var o2=r4+i2>>>1,s2=e4[o2];s2!==null&&!aa(s2)&&(n4?s2<=t4:s2<t4)?r4=o2+1:i2=o2}return i2}return ri(e4,t4,nu,n4)}function ri(e4,t4,n4,r4){var o2=0,s2=e4==null?0:e4.length;if(s2===0)return 0;for(var a2=(t4=n4(t4))!=t4,u2=t4===null,c2=aa(t4),l2=t4===i;o2<s2;){var f2=dt2((o2+s2)/2),p2=n4(e4[f2]),d2=p2!==i,h2=p2===null,v2=p2==p2,m2=aa(p2);if(a2)var g2=r4||v2;else g2=l2?v2&&(r4||d2):u2?v2&&d2&&(r4||!h2):c2?v2&&d2&&!h2&&(r4||!m2):!h2&&!m2&&(r4?p2<=t4:p2<t4);g2?o2=f2+1:s2=f2}return gn(s2,4294967294)}function ii(e4,t4){for(var n4=-1,r4=e4.length,i2=0,o2=[];++n4<r4;){var s2=e4[n4],a2=t4?t4(s2):s2;if(!n4||!Vs(a2,u2)){var u2=a2;o2[i2++]=s2===0?0:s2}}return o2}function oi(e4){return typeof e4=="number"?e4:aa(e4)?p:+e4}function si(e4){if(typeof e4=="string")return e4;if(Hs(e4))return jt(e4,si)+"";if(aa(e4))return Cn?Cn.call(e4):"";var t4=e4+"";return t4=="0"&&1/e4==-1/0?"-0":t4}function ai(e4,t4,n4){var r4=-1,i2=Rt,o2=e4.length,s2=!0,a2=[],u2=a2;if(n4)s2=!1,i2=xt;else if(o2>=200){var c2=t4?null:Wi(e4);if(c2)return un(c2);s2=!1,i2=Qt,u2=new Wn}else u2=t4?[]:a2;e:for(;++r4<o2;){var l2=e4[r4],f2=t4?t4(l2):l2;if(l2=n4||l2!==0?l2:0,s2&&f2==f2){for(var p2=u2.length;p2--;)if(u2[p2]===f2)continue e;t4&&u2.push(f2),a2.push(l2)}else i2(u2,f2,n4)||(u2!==a2&&u2.push(f2),a2.push(l2))}return a2}function ui(e4,t4){return(e4=Io(e4,t4=mi(t4,e4)))==null||delete e4[ko(Xo(t4))]}function ci(e4,t4,n4,r4){return Jr(e4,t4,n4(_r(e4,t4)),r4)}function li(e4,t4,n4,r4){for(var i2=e4.length,o2=r4?i2:-1;(r4?o2--:++o2<i2)&&t4(e4[o2],o2,e4););return n4?ei(e4,r4?0:o2,r4?o2+1:i2):ei(e4,r4?o2+1:0,r4?i2:o2)}function fi(e4,t4){var n4=e4;return n4 instanceof Bn&&(n4=n4.value()),Dt(t4,function(e5,t5){return t5.func.apply(t5.thisArg,Pt([e5],t5.args))},n4)}function pi(e4,t4,n4){var i2=e4.length;if(i2<2)return i2?ai(e4[0]):[];for(var o2=-1,s2=r3(i2);++o2<i2;)for(var a2=e4[o2],u2=-1;++u2<i2;)u2!=o2&&(s2[o2]=cr(s2[o2]||a2,e4[u2],t4,n4));return ai(vr(s2,1),t4,n4)}function di(e4,t4,n4){for(var r4=-1,o2=e4.length,s2=t4.length,a2={};++r4<o2;){var u2=r4<s2?t4[r4]:i;n4(a2,e4[r4],u2)}return a2}function hi(e4){return Ws(e4)?e4:[]}function vi(e4){return typeof e4=="function"?e4:nu}function mi(e4,t4){return Hs(e4)?e4:yo(e4,t4)?[e4]:Mo(ga(e4))}var gi=zr;function yi(e4,t4,n4){var r4=e4.length;return n4=n4===i?r4:n4,!t4&&n4>=r4?e4:ei(e4,t4,n4)}var Ei=st2||function(e4){return ft.clearTimeout(e4)};function bi(e4,t4){if(t4)return e4.slice();var n4=e4.length,r4=He2?He2(n4):new e4.constructor(n4);return e4.copy(r4),r4}function _i(e4){var t4=new e4.constructor(e4.byteLength);return new Be2(t4).set(new Be2(e4)),t4}function wi(e4,t4){var n4=t4?_i(e4.buffer):e4.buffer;return new e4.constructor(n4,e4.byteOffset,e4.length)}function Oi(e4,t4){if(e4!==t4){var n4=e4!==i,r4=e4===null,o2=e4==e4,s2=aa(e4),a2=t4!==i,u2=t4===null,c2=t4==t4,l2=aa(t4);if(!u2&&!l2&&!s2&&e4>t4||s2&&a2&&c2&&!u2&&!l2||r4&&a2&&c2||!n4&&c2||!o2)return 1;if(!r4&&!s2&&!l2&&e4<t4||l2&&n4&&o2&&!r4&&!s2||u2&&n4&&o2||!a2&&o2||!c2)return-1}return 0}function Ti(e4,t4,n4,i2){for(var o2=-1,s2=e4.length,a2=n4.length,u2=-1,c2=t4.length,l2=mn(s2-a2,0),f2=r3(c2+l2),p2=!i2;++u2<c2;)f2[u2]=t4[u2];for(;++o2<a2;)(p2||o2<s2)&&(f2[n4[o2]]=e4[o2]);for(;l2--;)f2[u2++]=e4[o2++];return f2}function Ii(e4,t4,n4,i2){for(var o2=-1,s2=e4.length,a2=-1,u2=n4.length,c2=-1,l2=t4.length,f2=mn(s2-u2,0),p2=r3(f2+l2),d2=!i2;++o2<f2;)p2[o2]=e4[o2];for(var h2=o2;++c2<l2;)p2[h2+c2]=t4[c2];for(;++a2<u2;)(d2||o2<s2)&&(p2[h2+n4[a2]]=e4[o2++]);return p2}function Si(e4,t4){var n4=-1,i2=e4.length;for(t4||(t4=r3(i2));++n4<i2;)t4[n4]=e4[n4];return t4}function Ni(e4,t4,n4,r4){var o2=!n4;n4||(n4={});for(var s2=-1,a2=t4.length;++s2<a2;){var u2=t4[s2],c2=r4?r4(n4[u2],e4[u2],u2,n4,e4):i;c2===i&&(c2=e4[u2]),o2?rr(n4,u2,c2):Zn(n4,u2,c2)}return n4}function Ai(e4,t4){return function(n4,r4){var i2=Hs(n4)?Tt:tr,o2=t4?t4():{};return i2(n4,e4,oo(r4,2),o2)}}function Ri(e4){return zr(function(t4,n4){var r4=-1,o2=n4.length,s2=o2>1?n4[o2-1]:i,a2=o2>2?n4[2]:i;for(s2=e4.length>3&&typeof s2=="function"?(o2--,s2):i,a2&&go(n4[0],n4[1],a2)&&(s2=o2<3?i:s2,o2=1),t4=Te2(t4);++r4<o2;){var u2=n4[r4];u2&&e4(t4,u2,r4,s2)}return t4})}function xi(e4,t4){return function(n4,r4){if(n4==null)return n4;if(!qs(n4))return e4(n4,r4);for(var i2=n4.length,o2=t4?i2:-1,s2=Te2(n4);(t4?o2--:++o2<i2)&&r4(s2[o2],o2,s2)!==!1;);return n4}}function ji(e4){return function(t4,n4,r4){for(var i2=-1,o2=Te2(t4),s2=r4(t4),a2=s2.length;a2--;){var u2=s2[e4?a2:++i2];if(n4(o2[u2],u2,o2)===!1)break}return t4}}function Pi(e4){return function(t4){var n4=rn(t4=ga(t4))?fn(t4):i,r4=n4?n4[0]:t4.charAt(0),o2=n4?yi(n4,1).join(""):t4.slice(1);return r4[e4]()+o2}}function Di(e4){return function(t4){return Dt(Ja(Ba(t4).replace(Je,"")),e4,"")}}function Li(e4){return function(){var t4=arguments;switch(t4.length){case 0:return new e4;case 1:return new e4(t4[0]);case 2:return new e4(t4[0],t4[1]);case 3:return new e4(t4[0],t4[1],t4[2]);case 4:return new e4(t4[0],t4[1],t4[2],t4[3]);case 5:return new e4(t4[0],t4[1],t4[2],t4[3],t4[4]);case 6:return new e4(t4[0],t4[1],t4[2],t4[3],t4[4],t4[5]);case 7:return new e4(t4[0],t4[1],t4[2],t4[3],t4[4],t4[5],t4[6])}var n4=Vn(e4.prototype),r4=e4.apply(n4,t4);return Zs(r4)?r4:n4}}function Mi(e4){return function(t4,n4,r4){var o2=Te2(t4);if(!qs(t4)){var s2=oo(n4,3);t4=xa(t4),n4=function(e5){return s2(o2[e5],e5,o2)}}var a2=e4(t4,n4,r4);return a2>-1?o2[s2?t4[a2]:a2]:i}}function ki(e4){return Zi(function(t4){var n4=t4.length,r4=n4,s2=Un.prototype.thru;for(e4&&t4.reverse();r4--;){var a2=t4[r4];if(typeof a2!="function")throw new Ne2(o);if(s2&&!u2&&ro(a2)=="wrapper")var u2=new Un([],!0)}for(r4=u2?r4:n4;++r4<n4;){var c2=ro(a2=t4[r4]),l2=c2=="wrapper"?no(a2):i;u2=l2&&Eo(l2[0])&&l2[1]==424&&!l2[4].length&&l2[9]==1?u2[ro(l2[0])].apply(u2,l2[3]):a2.length==1&&Eo(a2)?u2[c2]():u2.thru(a2)}return function(){var e5=arguments,r5=e5[0];if(u2&&e5.length==1&&Hs(r5))return u2.plant(r5).value();for(var i2=0,o2=n4?t4[i2].apply(this,e5):r5;++i2<n4;)o2=t4[i2].call(this,o2);return o2}})}function Ci(e4,t4,n4,o2,s2,a2,u2,l2,f2,p2){var d2=t4&c,h2=1&t4,v2=2&t4,m2=24&t4,g2=512&t4,y2=v2?i:Li(e4);return function c2(){for(var E2=arguments.length,b2=r3(E2),_2=E2;_2--;)b2[_2]=arguments[_2];if(m2)var w2=io(c2),O2=function(e5,t5){for(var n5=e5.length,r4=0;n5--;)e5[n5]===t5&&++r4;return r4}(b2,w2);if(o2&&(b2=Ti(b2,o2,s2,m2)),a2&&(b2=Ii(b2,a2,u2,m2)),E2-=O2,m2&&E2<p2){var T2=an(b2,w2);return Gi(e4,t4,Ci,c2.placeholder,n4,b2,T2,l2,f2,p2-E2)}var I2=h2?n4:this,S2=v2?I2[e4]:e4;return E2=b2.length,l2?b2=function(e5,t5){for(var n5=e5.length,r4=gn(t5.length,n5),o3=Si(e5);r4--;){var s3=t5[r4];e5[r4]=mo(s3,n5)?o3[s3]:i}return e5}(b2,l2):g2&&E2>1&&b2.reverse(),d2&&f2<E2&&(b2.length=f2),this&&this!==ft&&this instanceof c2&&(S2=y2||Li(S2)),S2.apply(I2,b2)}}function Fi(e4,t4){return function(n4,r4){return function(e5,t5,n5,r5){return yr(e5,function(e6,i2,o2){t5(r5,n5(e6),i2,o2)}),r5}(n4,e4,t4(r4),{})}}function Vi(e4,t4){return function(n4,r4){var o2;if(n4===i&&r4===i)return t4;if(n4!==i&&(o2=n4),r4!==i){if(o2===i)return r4;typeof n4=="string"||typeof r4=="string"?(n4=si(n4),r4=si(r4)):(n4=oi(n4),r4=oi(r4)),o2=e4(n4,r4)}return o2}}function $i(e4){return Zi(function(t4){return t4=jt(t4,Xt(oo())),zr(function(n4){var r4=this;return e4(t4,function(e5){return Ot(e5,r4,n4)})})})}function Ui(e4,t4){var n4=(t4=t4===i?" ":si(t4)).length;if(n4<2)return n4?Wr(t4,e4):t4;var r4=Wr(t4,pt2(e4/ln(t4)));return rn(t4)?yi(fn(r4),0,e4).join(""):r4.slice(0,e4)}function Bi(e4){return function(t4,n4,o2){return o2&&typeof o2!="number"&&go(t4,n4,o2)&&(n4=o2=i),t4=pa(t4),n4===i?(n4=t4,t4=0):n4=pa(n4),function(e5,t5,n5,i2){for(var o3=-1,s2=mn(pt2((t5-e5)/(n5||1)),0),a2=r3(s2);s2--;)a2[i2?s2:++o3]=e5,e5+=n5;return a2}(t4,n4,o2=o2===i?t4<n4?1:-1:pa(o2),e4)}}function Hi(e4){return function(t4,n4){return typeof t4=="string"&&typeof n4=="string"||(t4=va(t4),n4=va(n4)),e4(t4,n4)}}function Gi(e4,t4,n4,r4,o2,s2,a2,c2,l2,f2){var p2=8&t4;t4|=p2?u:64,4&(t4&=~(p2?64:u))||(t4&=-4);var d2=[e4,t4,o2,p2?s2:i,p2?a2:i,p2?i:s2,p2?i:a2,c2,l2,f2],h2=n4.apply(i,d2);return Eo(e4)&&No(h2,d2),h2.placeholder=r4,xo(h2,e4,t4)}function qi(e4){var t4=Oe2[e4];return function(e5,n4){if(e5=va(e5),(n4=n4==null?0:gn(da(n4),292))&&kt2(e5)){var r4=(ga(e5)+"e").split("e");return+((r4=(ga(t4(r4[0]+"e"+(+r4[1]+n4)))+"e").split("e"))[0]+"e"+(+r4[1]-n4))}return t4(e5)}}var Wi=In&&1/un(new In([,-0]))[1]==l?function(e4){return new In(e4)}:au;function zi(e4){return function(t4){var n4=fo(t4);return n4==w?on(t4):n4==N?cn(t4):function(e5,t5){return jt(t5,function(t6){return[t6,e5[t6]]})}(t4,e4(t4))}}function Yi(e4,t4,n4,s2,l2,f2,p2,d2){var h2=2&t4;if(!h2&&typeof e4!="function")throw new Ne2(o);var v2=s2?s2.length:0;if(v2||(t4&=-97,s2=l2=i),p2=p2===i?p2:mn(da(p2),0),d2=d2===i?d2:da(d2),v2-=l2?l2.length:0,64&t4){var m2=s2,g2=l2;s2=l2=i}var y2=h2?i:no(e4),E2=[e4,t4,n4,s2,l2,m2,g2,f2,p2,d2];if(y2&&function(e5,t5){var n5=e5[1],r4=t5[1],i2=n5|r4,o2=i2<131,s3=r4==c&&n5==8||r4==c&&n5==256&&e5[7].length<=t5[8]||r4==384&&t5[7].length<=t5[8]&&n5==8;if(!o2&&!s3)return e5;1&r4&&(e5[2]=t5[2],i2|=1&n5?0:4);var u2=t5[3];if(u2){var l3=e5[3];e5[3]=l3?Ti(l3,u2,t5[4]):u2,e5[4]=l3?an(e5[3],a):t5[4]}(u2=t5[5])&&(l3=e5[5],e5[5]=l3?Ii(l3,u2,t5[6]):u2,e5[6]=l3?an(e5[5],a):t5[6]),(u2=t5[7])&&(e5[7]=u2),r4&c&&(e5[8]=e5[8]==null?t5[8]:gn(e5[8],t5[8])),e5[9]==null&&(e5[9]=t5[9]),e5[0]=t5[0],e5[1]=i2}(E2,y2),e4=E2[0],t4=E2[1],n4=E2[2],s2=E2[3],l2=E2[4],!(d2=E2[9]=E2[9]===i?h2?0:e4.length:mn(E2[9]-v2,0))&&24&t4&&(t4&=-25),t4&&t4!=1)b2=t4==8||t4==16?function(e5,t5,n5){var o2=Li(e5);return function s3(){for(var a2=arguments.length,u2=r3(a2),c2=a2,l3=io(s3);c2--;)u2[c2]=arguments[c2];var f3=a2<3&&u2[0]!==l3&&u2[a2-1]!==l3?[]:an(u2,l3);return(a2-=f3.length)<n5?Gi(e5,t5,Ci,s3.placeholder,i,u2,f3,i,i,n5-a2):Ot(this&&this!==ft&&this instanceof s3?o2:e5,this,u2)}}(e4,t4,d2):t4!=u&&t4!=33||l2.length?Ci.apply(i,E2):function(e5,t5,n5,i2){var o2=1&t5,s3=Li(e5);return function t6(){for(var a2=-1,u2=arguments.length,c2=-1,l3=i2.length,f3=r3(l3+u2),p3=this&&this!==ft&&this instanceof t6?s3:e5;++c2<l3;)f3[c2]=i2[c2];for(;u2--;)f3[c2++]=arguments[++a2];return Ot(p3,o2?n5:this,f3)}}(e4,t4,n4,s2);else var b2=function(e5,t5,n5){var r4=1&t5,i2=Li(e5);return function t6(){return(this&&this!==ft&&this instanceof t6?i2:e5).apply(r4?n5:this,arguments)}}(e4,t4,n4);return xo((y2?Qr:No)(b2,E2),e4,t4)}function Xi(e4,t4,n4,r4){return e4===i||Vs(e4,xe2[n4])&&!De2.call(r4,n4)?t4:e4}function Ji(e4,t4,n4,r4,o2,s2){return Zs(e4)&&Zs(t4)&&(s2.set(t4,e4),Vr(e4,t4,i,Ji,s2),s2.delete(t4)),e4}function Qi(e4){return ra(e4)?i:e4}function Ki(e4,t4,n4,r4,o2,s2){var a2=1&n4,u2=e4.length,c2=t4.length;if(u2!=c2&&!(a2&&c2>u2))return!1;var l2=s2.get(e4),f2=s2.get(t4);if(l2&&f2)return l2==t4&&f2==e4;var p2=-1,d2=!0,h2=2&n4?new Wn:i;for(s2.set(e4,t4),s2.set(t4,e4);++p2<u2;){var v2=e4[p2],m2=t4[p2];if(r4)var g2=a2?r4(m2,v2,p2,t4,e4,s2):r4(v2,m2,p2,e4,t4,s2);if(g2!==i){if(g2)continue;d2=!1;break}if(h2){if(!Mt(t4,function(e5,t5){if(!Qt(h2,t5)&&(v2===e5||o2(v2,e5,n4,r4,s2)))return h2.push(t5)})){d2=!1;break}}else if(v2!==m2&&!o2(v2,m2,n4,r4,s2)){d2=!1;break}}return s2.delete(e4),s2.delete(t4),d2}function Zi(e4){return Ro(To(e4,i,Go),e4+"")}function eo(e4){return wr(e4,xa,co)}function to(e4){return wr(e4,ja,lo)}var no=An?function(e4){return An.get(e4)}:au;function ro(e4){for(var t4=e4.name+"",n4=Rn[t4],r4=De2.call(Rn,t4)?n4.length:0;r4--;){var i2=n4[r4],o2=i2.func;if(o2==null||o2==e4)return i2.name}return t4}function io(e4){return(De2.call(Fn,"placeholder")?Fn:e4).placeholder}function oo(){var e4=Fn.iteratee||ru;return e4=e4===ru?Dr:e4,arguments.length?e4(arguments[0],arguments[1]):e4}function so(e4,t4){var n4=e4.__data__;return function(e5){var t5=typeof e5;return t5=="string"||t5=="number"||t5=="symbol"||t5=="boolean"?e5!=="__proto__":e5===null}(t4)?n4[typeof t4=="string"?"string":"hash"]:n4.map}function ao(e4){for(var t4=xa(e4),n4=t4.length;n4--;){var r4=t4[n4],i2=e4[r4];t4[n4]=[r4,i2,wo(i2)]}return t4}function uo(e4,t4){var n4=function(e5,t5){return e5==null?i:e5[t5]}(e4,t4);return Pr(n4)?n4:i}var co=vt2?function(e4){return e4==null?[]:(e4=Te2(e4),At(vt2(e4),function(t4){return We2.call(e4,t4)}))}:hu,lo=vt2?function(e4){for(var t4=[];e4;)Pt(t4,co(e4)),e4=Ge2(e4);return t4}:hu,fo=Or;function po(e4,t4,n4){for(var r4=-1,i2=(t4=mi(t4,e4)).length,o2=!1;++r4<i2;){var s2=ko(t4[r4]);if(!(o2=e4!=null&&n4(e4,s2)))break;e4=e4[s2]}return o2||++r4!=i2?o2:!!(i2=e4==null?0:e4.length)&&Ks(i2)&&mo(s2,i2)&&(Hs(e4)||Bs(e4))}function ho(e4){return typeof e4.constructor!="function"||_o(e4)?{}:Vn(Ge2(e4))}function vo(e4){return Hs(e4)||Bs(e4)||!!(Ye2&&e4&&e4[Ye2])}function mo(e4,t4){var n4=typeof e4;return!!(t4=t4??f)&&(n4=="number"||n4!="symbol"&&ge.test(e4))&&e4>-1&&e4%1==0&&e4<t4}function go(e4,t4,n4){if(!Zs(n4))return!1;var r4=typeof t4;return!!(r4=="number"?qs(n4)&&mo(t4,n4.length):r4=="string"&&t4 in n4)&&Vs(n4[t4],e4)}function yo(e4,t4){if(Hs(e4))return!1;var n4=typeof e4;return!(n4!="number"&&n4!="symbol"&&n4!="boolean"&&e4!=null&&!aa(e4))||Z.test(e4)||!K.test(e4)||t4!=null&&e4 in Te2(t4)}function Eo(e4){var t4=ro(e4),n4=Fn[t4];if(typeof n4!="function"||!(t4 in Bn.prototype))return!1;if(e4===n4)return!0;var r4=no(n4);return!!r4&&e4===r4[0]}(wn&&fo(new wn(new ArrayBuffer(1)))!=P||On&&fo(new On)!=w||Tn&&fo(Tn.resolve())!=I||In&&fo(new In)!=N||Sn&&fo(new Sn)!=x)&&(fo=function(e4){var t4=Or(e4),n4=t4==T?e4.constructor:i,r4=n4?Co(n4):"";if(r4)switch(r4){case xn:return P;case jn:return w;case Pn:return I;case Dn:return N;case Ln:return x}return t4});var bo=je2?Js:vu;function _o(e4){var t4=e4&&e4.constructor;return e4===(typeof t4=="function"&&t4.prototype||xe2)}function wo(e4){return e4==e4&&!Zs(e4)}function Oo(e4,t4){return function(n4){return n4!=null&&n4[e4]===t4&&(t4!==i||e4 in Te2(n4))}}function To(e4,t4,n4){return t4=mn(t4===i?e4.length-1:t4,0),function(){for(var i2=arguments,o2=-1,s2=mn(i2.length-t4,0),a2=r3(s2);++o2<s2;)a2[o2]=i2[t4+o2];o2=-1;for(var u2=r3(t4+1);++o2<t4;)u2[o2]=i2[o2];return u2[t4]=n4(a2),Ot(e4,this,u2)}}function Io(e4,t4){return t4.length<2?e4:_r(e4,ei(t4,0,-1))}function So(e4,t4){if((t4!=="constructor"||typeof e4[t4]!="function")&&t4!="__proto__")return e4[t4]}var No=jo(Qr),Ao=lt2||function(e4,t4){return ft.setTimeout(e4,t4)},Ro=jo(Kr);function xo(e4,t4,n4){var r4=t4+"";return Ro(e4,function(e5,t5){var n5=t5.length;if(!n5)return e5;var r5=n5-1;return t5[r5]=(n5>1?"& ":"")+t5[r5],t5=t5.join(n5>2?", ":" "),e5.replace(oe,`{
22
22
  /* [wrapped with `+t5+`] */
23
23
  `)}(r4,function(e5,t5){return It(h,function(n5){var r5="_."+n5[0];t5&n5[1]&&!Rt(e5,r5)&&e5.push(r5)}),e5.sort()}(function(e5){var t5=e5.match(se);return t5?t5[1].split(ae):[]}(r4),n4)))}function jo(e4){var t4=0,n4=0;return function(){var r4=yn(),o2=16-(r4-n4);if(n4=r4,o2>0){if(++t4>=800)return arguments[0]}else t4=0;return e4.apply(i,arguments)}}function Po(e4,t4){var n4=-1,r4=e4.length,o2=r4-1;for(t4=t4===i?r4:t4;++n4<t4;){var s2=qr(n4,o2),a2=e4[s2];e4[s2]=e4[n4],e4[n4]=a2}return e4.length=t4,e4}var Do,Lo,Mo=(Do=Ds(function(e4){var t4=[];return e4.charCodeAt(0)===46&&t4.push(""),e4.replace(ee,function(e5,n4,r4,i2){t4.push(r4?i2.replace(le,"$1"):n4||e5)}),t4},function(e4){return Lo.size===500&&Lo.clear(),e4}),Lo=Do.cache,Do);function ko(e4){if(typeof e4=="string"||aa(e4))return e4;var t4=e4+"";return t4=="0"&&1/e4==-1/0?"-0":t4}function Co(e4){if(e4!=null){try{return Pe2.call(e4)}catch{}try{return e4+""}catch{}}return""}function Fo(e4){if(e4 instanceof Bn)return e4.clone();var t4=new Un(e4.__wrapped__,e4.__chain__);return t4.__actions__=Si(e4.__actions__),t4.__index__=e4.__index__,t4.__values__=e4.__values__,t4}var Vo=zr(function(e4,t4){return Ws(e4)?cr(e4,vr(t4,1,Ws,!0)):[]}),$o=zr(function(e4,t4){var n4=Xo(t4);return Ws(n4)&&(n4=i),Ws(e4)?cr(e4,vr(t4,1,Ws,!0),oo(n4,2)):[]}),Uo=zr(function(e4,t4){var n4=Xo(t4);return Ws(n4)&&(n4=i),Ws(e4)?cr(e4,vr(t4,1,Ws,!0),i,n4):[]});function Bo(e4,t4,n4){var r4=e4==null?0:e4.length;if(!r4)return-1;var i2=n4==null?0:da(n4);return i2<0&&(i2=mn(r4+i2,0)),Ft(e4,oo(t4,3),i2)}function Ho(e4,t4,n4){var r4=e4==null?0:e4.length;if(!r4)return-1;var o2=r4-1;return n4!==i&&(o2=da(n4),o2=n4<0?mn(r4+o2,0):gn(o2,r4-1)),Ft(e4,oo(t4,3),o2,!0)}function Go(e4){return e4!=null&&e4.length?vr(e4,1):[]}function qo(e4){return e4&&e4.length?e4[0]:i}var Wo=zr(function(e4){var t4=jt(e4,hi);return t4.length&&t4[0]===e4[0]?Nr(t4):[]}),zo=zr(function(e4){var t4=Xo(e4),n4=jt(e4,hi);return t4===Xo(n4)?t4=i:n4.pop(),n4.length&&n4[0]===e4[0]?Nr(n4,oo(t4,2)):[]}),Yo=zr(function(e4){var t4=Xo(e4),n4=jt(e4,hi);return(t4=typeof t4=="function"?t4:i)&&n4.pop(),n4.length&&n4[0]===e4[0]?Nr(n4,i,t4):[]});function Xo(e4){var t4=e4==null?0:e4.length;return t4?e4[t4-1]:i}var Jo=zr(Qo);function Qo(e4,t4){return e4&&e4.length&&t4&&t4.length?Hr(e4,t4):e4}var Ko=Zi(function(e4,t4){var n4=e4==null?0:e4.length,r4=ir(e4,t4);return Gr(e4,jt(t4,function(e5){return mo(e5,n4)?+e5:e5}).sort(Oi)),r4});function Zo(e4){return e4==null?e4:_n.call(e4)}var es=zr(function(e4){return ai(vr(e4,1,Ws,!0))}),ts=zr(function(e4){var t4=Xo(e4);return Ws(t4)&&(t4=i),ai(vr(e4,1,Ws,!0),oo(t4,2))}),ns=zr(function(e4){var t4=Xo(e4);return t4=typeof t4=="function"?t4:i,ai(vr(e4,1,Ws,!0),i,t4)});function rs(e4){if(!e4||!e4.length)return[];var t4=0;return e4=At(e4,function(e5){if(Ws(e5))return t4=mn(e5.length,t4),!0}),zt(t4,function(t5){return jt(e4,Ht(t5))})}function is(e4,t4){if(!e4||!e4.length)return[];var n4=rs(e4);return t4==null?n4:jt(n4,function(e5){return Ot(t4,i,e5)})}var os=zr(function(e4,t4){return Ws(e4)?cr(e4,t4):[]}),ss=zr(function(e4){return pi(At(e4,Ws))}),as=zr(function(e4){var t4=Xo(e4);return Ws(t4)&&(t4=i),pi(At(e4,Ws),oo(t4,2))}),us=zr(function(e4){var t4=Xo(e4);return t4=typeof t4=="function"?t4:i,pi(At(e4,Ws),i,t4)}),cs=zr(rs),ls=zr(function(e4){var t4=e4.length,n4=t4>1?e4[t4-1]:i;return n4=typeof n4=="function"?(e4.pop(),n4):i,is(e4,n4)});function fs(e4){var t4=Fn(e4);return t4.__chain__=!0,t4}function ps(e4,t4){return t4(e4)}var ds=Zi(function(e4){var t4=e4.length,n4=t4?e4[0]:0,r4=this.__wrapped__,o2=function(t5){return ir(t5,e4)};return!(t4>1||this.__actions__.length)&&r4 instanceof Bn&&mo(n4)?((r4=r4.slice(n4,+n4+(t4?1:0))).__actions__.push({func:ps,args:[o2],thisArg:i}),new Un(r4,this.__chain__).thru(function(e5){return t4&&!e5.length&&e5.push(i),e5})):this.thru(o2)}),hs=Ai(function(e4,t4,n4){De2.call(e4,n4)?++e4[n4]:rr(e4,n4,1)}),vs=Mi(Bo),ms=Mi(Ho);function gs(e4,t4){return(Hs(e4)?It:lr)(e4,oo(t4,3))}function ys(e4,t4){return(Hs(e4)?St:fr)(e4,oo(t4,3))}var Es=Ai(function(e4,t4,n4){De2.call(e4,n4)?e4[n4].push(t4):rr(e4,n4,[t4])}),bs=zr(function(e4,t4,n4){var i2=-1,o2=typeof t4=="function",s2=qs(e4)?r3(e4.length):[];return lr(e4,function(e5){s2[++i2]=o2?Ot(t4,e5,n4):Ar(e5,t4,n4)}),s2}),_s=Ai(function(e4,t4,n4){rr(e4,n4,t4)});function ws(e4,t4){return(Hs(e4)?jt:kr)(e4,oo(t4,3))}var Os=Ai(function(e4,t4,n4){e4[n4?0:1].push(t4)},function(){return[[],[]]}),Ts=zr(function(e4,t4){if(e4==null)return[];var n4=t4.length;return n4>1&&go(e4,t4[0],t4[1])?t4=[]:n4>2&&go(t4[0],t4[1],t4[2])&&(t4=[t4[0]]),Ur(e4,vr(t4,1),[])}),Is=ct2||function(){return ft.Date.now()};function Ss(e4,t4,n4){return t4=n4?i:t4,t4=e4&&t4==null?e4.length:t4,Yi(e4,c,i,i,i,i,t4)}function Ns(e4,t4){var n4;if(typeof t4!="function")throw new Ne2(o);return e4=da(e4),function(){return--e4>0&&(n4=t4.apply(this,arguments)),e4<=1&&(t4=i),n4}}var As=zr(function(e4,t4,n4){var r4=1;if(n4.length){var i2=an(n4,io(As));r4|=u}return Yi(e4,r4,t4,n4,i2)}),Rs=zr(function(e4,t4,n4){var r4=3;if(n4.length){var i2=an(n4,io(Rs));r4|=u}return Yi(t4,r4,e4,n4,i2)});function xs(e4,t4,n4){var r4,s2,a2,u2,c2,l2,f2=0,p2=!1,d2=!1,h2=!0;if(typeof e4!="function")throw new Ne2(o);function v2(t5){var n5=r4,o2=s2;return r4=s2=i,f2=t5,u2=e4.apply(o2,n5)}function m2(e5){var n5=e5-l2;return l2===i||n5>=t4||n5<0||d2&&e5-f2>=a2}function g2(){var e5=Is();if(m2(e5))return y2(e5);c2=Ao(g2,function(e6){var n5=t4-(e6-l2);return d2?gn(n5,a2-(e6-f2)):n5}(e5))}function y2(e5){return c2=i,h2&&r4?v2(e5):(r4=s2=i,u2)}function E2(){var e5=Is(),n5=m2(e5);if(r4=arguments,s2=this,l2=e5,n5){if(c2===i)return function(e6){return f2=e6,c2=Ao(g2,t4),p2?v2(e6):u2}(l2);if(d2)return Ei(c2),c2=Ao(g2,t4),v2(l2)}return c2===i&&(c2=Ao(g2,t4)),u2}return t4=va(t4)||0,Zs(n4)&&(p2=!!n4.leading,a2=(d2="maxWait"in n4)?mn(va(n4.maxWait)||0,t4):a2,h2="trailing"in n4?!!n4.trailing:h2),E2.cancel=function(){c2!==i&&Ei(c2),f2=0,r4=l2=s2=c2=i},E2.flush=function(){return c2===i?u2:y2(Is())},E2}var js=zr(function(e4,t4){return ur(e4,1,t4)}),Ps=zr(function(e4,t4,n4){return ur(e4,va(t4)||0,n4)});function Ds(e4,t4){if(typeof e4!="function"||t4!=null&&typeof t4!="function")throw new Ne2(o);var n4=function(){var r4=arguments,i2=t4?t4.apply(this,r4):r4[0],o2=n4.cache;if(o2.has(i2))return o2.get(i2);var s2=e4.apply(this,r4);return n4.cache=o2.set(i2,s2)||o2,s2};return n4.cache=new(Ds.Cache||qn),n4}function Ls(e4){if(typeof e4!="function")throw new Ne2(o);return function(){var t4=arguments;switch(t4.length){case 0:return!e4.call(this);case 1:return!e4.call(this,t4[0]);case 2:return!e4.call(this,t4[0],t4[1]);case 3:return!e4.call(this,t4[0],t4[1],t4[2])}return!e4.apply(this,t4)}}Ds.Cache=qn;var Ms=gi(function(e4,t4){var n4=(t4=t4.length==1&&Hs(t4[0])?jt(t4[0],Xt(oo())):jt(vr(t4,1),Xt(oo()))).length;return zr(function(r4){for(var i2=-1,o2=gn(r4.length,n4);++i2<o2;)r4[i2]=t4[i2].call(this,r4[i2]);return Ot(e4,this,r4)})}),ks=zr(function(e4,t4){var n4=an(t4,io(ks));return Yi(e4,u,i,t4,n4)}),Cs=zr(function(e4,t4){var n4=an(t4,io(Cs));return Yi(e4,64,i,t4,n4)}),Fs=Zi(function(e4,t4){return Yi(e4,256,i,i,i,t4)});function Vs(e4,t4){return e4===t4||e4!=e4&&t4!=t4}var $s=Hi(Tr),Us=Hi(function(e4,t4){return e4>=t4}),Bs=Rr(function(){return arguments}())?Rr:function(e4){return ea(e4)&&De2.call(e4,"callee")&&!We2.call(e4,"callee")},Hs=r3.isArray,Gs=gt?Xt(gt):function(e4){return ea(e4)&&Or(e4)==j};function qs(e4){return e4!=null&&Ks(e4.length)&&!Js(e4)}function Ws(e4){return ea(e4)&&qs(e4)}var zs=mt2||vu,Ys=yt?Xt(yt):function(e4){return ea(e4)&&Or(e4)==y};function Xs(e4){if(!ea(e4))return!1;var t4=Or(e4);return t4==E||t4=="[object DOMException]"||typeof e4.message=="string"&&typeof e4.name=="string"&&!ra(e4)}function Js(e4){if(!Zs(e4))return!1;var t4=Or(e4);return t4==b||t4==_||t4=="[object AsyncFunction]"||t4=="[object Proxy]"}function Qs(e4){return typeof e4=="number"&&e4==da(e4)}function Ks(e4){return typeof e4=="number"&&e4>-1&&e4%1==0&&e4<=f}function Zs(e4){var t4=typeof e4;return e4!=null&&(t4=="object"||t4=="function")}function ea(e4){return e4!=null&&typeof e4=="object"}var ta=Et?Xt(Et):function(e4){return ea(e4)&&fo(e4)==w};function na(e4){return typeof e4=="number"||ea(e4)&&Or(e4)==O}function ra(e4){if(!ea(e4)||Or(e4)!=T)return!1;var t4=Ge2(e4);if(t4===null)return!0;var n4=De2.call(t4,"constructor")&&t4.constructor;return typeof n4=="function"&&n4 instanceof n4&&Pe2.call(n4)==Ce2}var ia=bt?Xt(bt):function(e4){return ea(e4)&&Or(e4)==S},oa=_t?Xt(_t):function(e4){return ea(e4)&&fo(e4)==N};function sa(e4){return typeof e4=="string"||!Hs(e4)&&ea(e4)&&Or(e4)==A}function aa(e4){return typeof e4=="symbol"||ea(e4)&&Or(e4)==R}var ua=wt?Xt(wt):function(e4){return ea(e4)&&Ks(e4.length)&&!!it[Or(e4)]},ca=Hi(Mr),la=Hi(function(e4,t4){return e4<=t4});function fa(e4){if(!e4)return[];if(qs(e4))return sa(e4)?fn(e4):Si(e4);if(Xe2&&e4[Xe2])return function(e5){for(var t5,n4=[];!(t5=e5.next()).done;)n4.push(t5.value);return n4}(e4[Xe2]());var t4=fo(e4);return(t4==w?on:t4==N?un:Va)(e4)}function pa(e4){return e4?(e4=va(e4))===l||e4===-1/0?17976931348623157e292*(e4<0?-1:1):e4==e4?e4:0:e4===0?e4:0}function da(e4){var t4=pa(e4),n4=t4%1;return t4==t4?n4?t4-n4:t4:0}function ha(e4){return e4?or(da(e4),0,d):0}function va(e4){if(typeof e4=="number")return e4;if(aa(e4))return p;if(Zs(e4)){var t4=typeof e4.valueOf=="function"?e4.valueOf():e4;e4=Zs(t4)?t4+"":t4}if(typeof e4!="string")return e4===0?e4:+e4;e4=Yt(e4);var n4=he.test(e4);return n4||me.test(e4)?ut(e4.slice(2),n4?2:8):de.test(e4)?p:+e4}function ma(e4){return Ni(e4,ja(e4))}function ga(e4){return e4==null?"":si(e4)}var ya=Ri(function(e4,t4){if(_o(t4)||qs(t4))Ni(t4,xa(t4),e4);else for(var n4 in t4)De2.call(t4,n4)&&Zn(e4,n4,t4[n4])}),Ea=Ri(function(e4,t4){Ni(t4,ja(t4),e4)}),ba=Ri(function(e4,t4,n4,r4){Ni(t4,ja(t4),e4,r4)}),_a=Ri(function(e4,t4,n4,r4){Ni(t4,xa(t4),e4,r4)}),wa=Zi(ir),Oa=zr(function(e4,t4){e4=Te2(e4);var n4=-1,r4=t4.length,o2=r4>2?t4[2]:i;for(o2&&go(t4[0],t4[1],o2)&&(r4=1);++n4<r4;)for(var s2=t4[n4],a2=ja(s2),u2=-1,c2=a2.length;++u2<c2;){var l2=a2[u2],f2=e4[l2];(f2===i||Vs(f2,xe2[l2])&&!De2.call(e4,l2))&&(e4[l2]=s2[l2])}return e4}),Ta=zr(function(e4){return e4.push(i,Ji),Ot(Da,i,e4)});function Ia(e4,t4,n4){var r4=e4==null?i:_r(e4,t4);return r4===i?n4:r4}function Sa(e4,t4){return e4!=null&&po(e4,t4,Sr)}var Na=Fi(function(e4,t4,n4){t4!=null&&typeof t4.toString!="function"&&(t4=ke2.call(t4)),e4[t4]=n4},Za(nu)),Aa=Fi(function(e4,t4,n4){t4!=null&&typeof t4.toString!="function"&&(t4=ke2.call(t4)),De2.call(e4,t4)?e4[t4].push(n4):e4[t4]=[n4]},oo),Ra=zr(Ar);function xa(e4){return qs(e4)?Yn(e4):Lr(e4)}function ja(e4){return qs(e4)?Yn(e4,!0):function(e5){if(!Zs(e5))return function(e6){var t5=[];if(e6!=null)for(var n5 in Te2(e6))t5.push(n5);return t5}(e5);var t4=_o(e5),n4=[];for(var r4 in e5)(r4!="constructor"||!t4&&De2.call(e5,r4))&&n4.push(r4);return n4}(e4)}var Pa=Ri(function(e4,t4,n4){Vr(e4,t4,n4)}),Da=Ri(function(e4,t4,n4,r4){Vr(e4,t4,n4,r4)}),La=Zi(function(e4,t4){var n4={};if(e4==null)return n4;var r4=!1;t4=jt(t4,function(t5){return t5=mi(t5,e4),r4||(r4=t5.length>1),t5}),Ni(e4,to(e4),n4),r4&&(n4=sr(n4,7,Qi));for(var i2=t4.length;i2--;)ui(n4,t4[i2]);return n4}),Ma=Zi(function(e4,t4){return e4==null?{}:function(e5,t5){return Br(e5,t5,function(t6,n4){return Sa(e5,n4)})}(e4,t4)});function ka(e4,t4){if(e4==null)return{};var n4=jt(to(e4),function(e5){return[e5]});return t4=oo(t4),Br(e4,n4,function(e5,n5){return t4(e5,n5[0])})}var Ca=zi(xa),Fa=zi(ja);function Va(e4){return e4==null?[]:Jt(e4,xa(e4))}var $a=Di(function(e4,t4,n4){return t4=t4.toLowerCase(),e4+(n4?Ua(t4):t4)});function Ua(e4){return Xa(ga(e4).toLowerCase())}function Ba(e4){return(e4=ga(e4))&&e4.replace(ye,en).replace(Qe,"")}var Ha=Di(function(e4,t4,n4){return e4+(n4?"-":"")+t4.toLowerCase()}),Ga=Di(function(e4,t4,n4){return e4+(n4?" ":"")+t4.toLowerCase()}),qa=Pi("toLowerCase"),Wa=Di(function(e4,t4,n4){return e4+(n4?"_":"")+t4.toLowerCase()}),za=Di(function(e4,t4,n4){return e4+(n4?" ":"")+Xa(t4)}),Ya=Di(function(e4,t4,n4){return e4+(n4?" ":"")+t4.toUpperCase()}),Xa=Pi("toUpperCase");function Ja(e4,t4,n4){return e4=ga(e4),(t4=n4?i:t4)===i?function(e5){return tt.test(e5)}(e4)?function(e5){return e5.match(Ze)||[]}(e4):function(e5){return e5.match(ue)||[]}(e4):e4.match(t4)||[]}var Qa=zr(function(e4,t4){try{return Ot(e4,i,t4)}catch(e5){return Xs(e5)?e5:new _e2(e5)}}),Ka=Zi(function(e4,t4){return It(t4,function(t5){t5=ko(t5),rr(e4,t5,As(e4[t5],e4))}),e4});function Za(e4){return function(){return e4}}var eu=ki(),tu=ki(!0);function nu(e4){return e4}function ru(e4){return Dr(typeof e4=="function"?e4:sr(e4,1))}var iu=zr(function(e4,t4){return function(n4){return Ar(n4,e4,t4)}}),ou=zr(function(e4,t4){return function(n4){return Ar(e4,n4,t4)}});function su(e4,t4,n4){var r4=xa(t4),i2=br(t4,r4);n4!=null||Zs(t4)&&(i2.length||!r4.length)||(n4=t4,t4=e4,e4=this,i2=br(t4,xa(t4)));var o2=!(Zs(n4)&&"chain"in n4&&!n4.chain),s2=Js(e4);return It(i2,function(n5){var r5=t4[n5];e4[n5]=r5,s2&&(e4.prototype[n5]=function(){var t5=this.__chain__;if(o2||t5){var n6=e4(this.__wrapped__);return(n6.__actions__=Si(this.__actions__)).push({func:r5,args:arguments,thisArg:e4}),n6.__chain__=t5,n6}return r5.apply(e4,Pt([this.value()],arguments))})}),e4}function au(){}var uu=$i(jt),cu=$i(Nt),lu=$i(Mt);function fu(e4){return yo(e4)?Ht(ko(e4)):function(e5){return function(t4){return _r(t4,e5)}}(e4)}var pu=Bi(),du=Bi(!0);function hu(){return[]}function vu(){return!1}var mu,gu=Vi(function(e4,t4){return e4+t4},0),yu=qi("ceil"),Eu=Vi(function(e4,t4){return e4/t4},1),bu=qi("floor"),_u=Vi(function(e4,t4){return e4*t4},1),wu=qi("round"),Ou=Vi(function(e4,t4){return e4-t4},0);return Fn.after=function(e4,t4){if(typeof t4!="function")throw new Ne2(o);return e4=da(e4),function(){if(--e4<1)return t4.apply(this,arguments)}},Fn.ary=Ss,Fn.assign=ya,Fn.assignIn=Ea,Fn.assignInWith=ba,Fn.assignWith=_a,Fn.at=wa,Fn.before=Ns,Fn.bind=As,Fn.bindAll=Ka,Fn.bindKey=Rs,Fn.castArray=function(){if(!arguments.length)return[];var e4=arguments[0];return Hs(e4)?e4:[e4]},Fn.chain=fs,Fn.chunk=function(e4,t4,n4){t4=(n4?go(e4,t4,n4):t4===i)?1:mn(da(t4),0);var o2=e4==null?0:e4.length;if(!o2||t4<1)return[];for(var s2=0,a2=0,u2=r3(pt2(o2/t4));s2<o2;)u2[a2++]=ei(e4,s2,s2+=t4);return u2},Fn.compact=function(e4){for(var t4=-1,n4=e4==null?0:e4.length,r4=0,i2=[];++t4<n4;){var o2=e4[t4];o2&&(i2[r4++]=o2)}return i2},Fn.concat=function(){var e4=arguments.length;if(!e4)return[];for(var t4=r3(e4-1),n4=arguments[0],i2=e4;i2--;)t4[i2-1]=arguments[i2];return Pt(Hs(n4)?Si(n4):[n4],vr(t4,1))},Fn.cond=function(e4){var t4=e4==null?0:e4.length,n4=oo();return e4=t4?jt(e4,function(e5){if(typeof e5[1]!="function")throw new Ne2(o);return[n4(e5[0]),e5[1]]}):[],zr(function(n5){for(var r4=-1;++r4<t4;){var i2=e4[r4];if(Ot(i2[0],this,n5))return Ot(i2[1],this,n5)}})},Fn.conforms=function(e4){return function(e5){var t4=xa(e5);return function(n4){return ar(n4,e5,t4)}}(sr(e4,1))},Fn.constant=Za,Fn.countBy=hs,Fn.create=function(e4,t4){var n4=Vn(e4);return t4==null?n4:nr(n4,t4)},Fn.curry=function e4(t4,n4,r4){var o2=Yi(t4,8,i,i,i,i,i,n4=r4?i:n4);return o2.placeholder=e4.placeholder,o2},Fn.curryRight=function e4(t4,n4,r4){var o2=Yi(t4,16,i,i,i,i,i,n4=r4?i:n4);return o2.placeholder=e4.placeholder,o2},Fn.debounce=xs,Fn.defaults=Oa,Fn.defaultsDeep=Ta,Fn.defer=js,Fn.delay=Ps,Fn.difference=Vo,Fn.differenceBy=$o,Fn.differenceWith=Uo,Fn.drop=function(e4,t4,n4){var r4=e4==null?0:e4.length;return r4?ei(e4,(t4=n4||t4===i?1:da(t4))<0?0:t4,r4):[]},Fn.dropRight=function(e4,t4,n4){var r4=e4==null?0:e4.length;return r4?ei(e4,0,(t4=r4-(t4=n4||t4===i?1:da(t4)))<0?0:t4):[]},Fn.dropRightWhile=function(e4,t4){return e4&&e4.length?li(e4,oo(t4,3),!0,!0):[]},Fn.dropWhile=function(e4,t4){return e4&&e4.length?li(e4,oo(t4,3),!0):[]},Fn.fill=function(e4,t4,n4,r4){var o2=e4==null?0:e4.length;return o2?(n4&&typeof n4!="number"&&go(e4,t4,n4)&&(n4=0,r4=o2),function(e5,t5,n5,r5){var o3=e5.length;for((n5=da(n5))<0&&(n5=-n5>o3?0:o3+n5),(r5=r5===i||r5>o3?o3:da(r5))<0&&(r5+=o3),r5=n5>r5?0:ha(r5);n5<r5;)e5[n5++]=t5;return e5}(e4,t4,n4,r4)):[]},Fn.filter=function(e4,t4){return(Hs(e4)?At:hr)(e4,oo(t4,3))},Fn.flatMap=function(e4,t4){return vr(ws(e4,t4),1)},Fn.flatMapDeep=function(e4,t4){return vr(ws(e4,t4),l)},Fn.flatMapDepth=function(e4,t4,n4){return n4=n4===i?1:da(n4),vr(ws(e4,t4),n4)},Fn.flatten=Go,Fn.flattenDeep=function(e4){return e4!=null&&e4.length?vr(e4,l):[]},Fn.flattenDepth=function(e4,t4){return e4!=null&&e4.length?vr(e4,t4=t4===i?1:da(t4)):[]},Fn.flip=function(e4){return Yi(e4,512)},Fn.flow=eu,Fn.flowRight=tu,Fn.fromPairs=function(e4){for(var t4=-1,n4=e4==null?0:e4.length,r4={};++t4<n4;){var i2=e4[t4];r4[i2[0]]=i2[1]}return r4},Fn.functions=function(e4){return e4==null?[]:br(e4,xa(e4))},Fn.functionsIn=function(e4){return e4==null?[]:br(e4,ja(e4))},Fn.groupBy=Es,Fn.initial=function(e4){return e4!=null&&e4.length?ei(e4,0,-1):[]},Fn.intersection=Wo,Fn.intersectionBy=zo,Fn.intersectionWith=Yo,Fn.invert=Na,Fn.invertBy=Aa,Fn.invokeMap=bs,Fn.iteratee=ru,Fn.keyBy=_s,Fn.keys=xa,Fn.keysIn=ja,Fn.map=ws,Fn.mapKeys=function(e4,t4){var n4={};return t4=oo(t4,3),yr(e4,function(e5,r4,i2){rr(n4,t4(e5,r4,i2),e5)}),n4},Fn.mapValues=function(e4,t4){var n4={};return t4=oo(t4,3),yr(e4,function(e5,r4,i2){rr(n4,r4,t4(e5,r4,i2))}),n4},Fn.matches=function(e4){return Cr(sr(e4,1))},Fn.matchesProperty=function(e4,t4){return Fr(e4,sr(t4,1))},Fn.memoize=Ds,Fn.merge=Pa,Fn.mergeWith=Da,Fn.method=iu,Fn.methodOf=ou,Fn.mixin=su,Fn.negate=Ls,Fn.nthArg=function(e4){return e4=da(e4),zr(function(t4){return $r(t4,e4)})},Fn.omit=La,Fn.omitBy=function(e4,t4){return ka(e4,Ls(oo(t4)))},Fn.once=function(e4){return Ns(2,e4)},Fn.orderBy=function(e4,t4,n4,r4){return e4==null?[]:(Hs(t4)||(t4=t4==null?[]:[t4]),Hs(n4=r4?i:n4)||(n4=n4==null?[]:[n4]),Ur(e4,t4,n4))},Fn.over=uu,Fn.overArgs=Ms,Fn.overEvery=cu,Fn.overSome=lu,Fn.partial=ks,Fn.partialRight=Cs,Fn.partition=Os,Fn.pick=Ma,Fn.pickBy=ka,Fn.property=fu,Fn.propertyOf=function(e4){return function(t4){return e4==null?i:_r(e4,t4)}},Fn.pull=Jo,Fn.pullAll=Qo,Fn.pullAllBy=function(e4,t4,n4){return e4&&e4.length&&t4&&t4.length?Hr(e4,t4,oo(n4,2)):e4},Fn.pullAllWith=function(e4,t4,n4){return e4&&e4.length&&t4&&t4.length?Hr(e4,t4,i,n4):e4},Fn.pullAt=Ko,Fn.range=pu,Fn.rangeRight=du,Fn.rearg=Fs,Fn.reject=function(e4,t4){return(Hs(e4)?At:hr)(e4,Ls(oo(t4,3)))},Fn.remove=function(e4,t4){var n4=[];if(!e4||!e4.length)return n4;var r4=-1,i2=[],o2=e4.length;for(t4=oo(t4,3);++r4<o2;){var s2=e4[r4];t4(s2,r4,e4)&&(n4.push(s2),i2.push(r4))}return Gr(e4,i2),n4},Fn.rest=function(e4,t4){if(typeof e4!="function")throw new Ne2(o);return zr(e4,t4=t4===i?t4:da(t4))},Fn.reverse=Zo,Fn.sampleSize=function(e4,t4,n4){return t4=(n4?go(e4,t4,n4):t4===i)?1:da(t4),(Hs(e4)?Jn:Xr)(e4,t4)},Fn.set=function(e4,t4,n4){return e4==null?e4:Jr(e4,t4,n4)},Fn.setWith=function(e4,t4,n4,r4){return r4=typeof r4=="function"?r4:i,e4==null?e4:Jr(e4,t4,n4,r4)},Fn.shuffle=function(e4){return(Hs(e4)?Qn:Zr)(e4)},Fn.slice=function(e4,t4,n4){var r4=e4==null?0:e4.length;return r4?(n4&&typeof n4!="number"&&go(e4,t4,n4)?(t4=0,n4=r4):(t4=t4==null?0:da(t4),n4=n4===i?r4:da(n4)),ei(e4,t4,n4)):[]},Fn.sortBy=Ts,Fn.sortedUniq=function(e4){return e4&&e4.length?ii(e4):[]},Fn.sortedUniqBy=function(e4,t4){return e4&&e4.length?ii(e4,oo(t4,2)):[]},Fn.split=function(e4,t4,n4){return n4&&typeof n4!="number"&&go(e4,t4,n4)&&(t4=n4=i),(n4=n4===i?d:n4>>>0)?(e4=ga(e4))&&(typeof t4=="string"||t4!=null&&!ia(t4))&&!(t4=si(t4))&&rn(e4)?yi(fn(e4),0,n4):e4.split(t4,n4):[]},Fn.spread=function(e4,t4){if(typeof e4!="function")throw new Ne2(o);return t4=t4==null?0:mn(da(t4),0),zr(function(n4){var r4=n4[t4],i2=yi(n4,0,t4);return r4&&Pt(i2,r4),Ot(e4,this,i2)})},Fn.tail=function(e4){var t4=e4==null?0:e4.length;return t4?ei(e4,1,t4):[]},Fn.take=function(e4,t4,n4){return e4&&e4.length?ei(e4,0,(t4=n4||t4===i?1:da(t4))<0?0:t4):[]},Fn.takeRight=function(e4,t4,n4){var r4=e4==null?0:e4.length;return r4?ei(e4,(t4=r4-(t4=n4||t4===i?1:da(t4)))<0?0:t4,r4):[]},Fn.takeRightWhile=function(e4,t4){return e4&&e4.length?li(e4,oo(t4,3),!1,!0):[]},Fn.takeWhile=function(e4,t4){return e4&&e4.length?li(e4,oo(t4,3)):[]},Fn.tap=function(e4,t4){return t4(e4),e4},Fn.throttle=function(e4,t4,n4){var r4=!0,i2=!0;if(typeof e4!="function")throw new Ne2(o);return Zs(n4)&&(r4="leading"in n4?!!n4.leading:r4,i2="trailing"in n4?!!n4.trailing:i2),xs(e4,t4,{leading:r4,maxWait:t4,trailing:i2})},Fn.thru=ps,Fn.toArray=fa,Fn.toPairs=Ca,Fn.toPairsIn=Fa,Fn.toPath=function(e4){return Hs(e4)?jt(e4,ko):aa(e4)?[e4]:Si(Mo(ga(e4)))},Fn.toPlainObject=ma,Fn.transform=function(e4,t4,n4){var r4=Hs(e4),i2=r4||zs(e4)||ua(e4);if(t4=oo(t4,4),n4==null){var o2=e4&&e4.constructor;n4=i2?r4?new o2:[]:Zs(e4)&&Js(o2)?Vn(Ge2(e4)):{}}return(i2?It:yr)(e4,function(e5,r5,i3){return t4(n4,e5,r5,i3)}),n4},Fn.unary=function(e4){return Ss(e4,1)},Fn.union=es,Fn.unionBy=ts,Fn.unionWith=ns,Fn.uniq=function(e4){return e4&&e4.length?ai(e4):[]},Fn.uniqBy=function(e4,t4){return e4&&e4.length?ai(e4,oo(t4,2)):[]},Fn.uniqWith=function(e4,t4){return t4=typeof t4=="function"?t4:i,e4&&e4.length?ai(e4,i,t4):[]},Fn.unset=function(e4,t4){return e4==null||ui(e4,t4)},Fn.unzip=rs,Fn.unzipWith=is,Fn.update=function(e4,t4,n4){return e4==null?e4:ci(e4,t4,vi(n4))},Fn.updateWith=function(e4,t4,n4,r4){return r4=typeof r4=="function"?r4:i,e4==null?e4:ci(e4,t4,vi(n4),r4)},Fn.values=Va,Fn.valuesIn=function(e4){return e4==null?[]:Jt(e4,ja(e4))},Fn.without=os,Fn.words=Ja,Fn.wrap=function(e4,t4){return ks(vi(t4),e4)},Fn.xor=ss,Fn.xorBy=as,Fn.xorWith=us,Fn.zip=cs,Fn.zipObject=function(e4,t4){return di(e4||[],t4||[],Zn)},Fn.zipObjectDeep=function(e4,t4){return di(e4||[],t4||[],Jr)},Fn.zipWith=ls,Fn.entries=Ca,Fn.entriesIn=Fa,Fn.extend=Ea,Fn.extendWith=ba,su(Fn,Fn),Fn.add=gu,Fn.attempt=Qa,Fn.camelCase=$a,Fn.capitalize=Ua,Fn.ceil=yu,Fn.clamp=function(e4,t4,n4){return n4===i&&(n4=t4,t4=i),n4!==i&&(n4=(n4=va(n4))==n4?n4:0),t4!==i&&(t4=(t4=va(t4))==t4?t4:0),or(va(e4),t4,n4)},Fn.clone=function(e4){return sr(e4,4)},Fn.cloneDeep=function(e4){return sr(e4,5)},Fn.cloneDeepWith=function(e4,t4){return sr(e4,5,t4=typeof t4=="function"?t4:i)},Fn.cloneWith=function(e4,t4){return sr(e4,4,t4=typeof t4=="function"?t4:i)},Fn.conformsTo=function(e4,t4){return t4==null||ar(e4,t4,xa(t4))},Fn.deburr=Ba,Fn.defaultTo=function(e4,t4){return e4==null||e4!=e4?t4:e4},Fn.divide=Eu,Fn.endsWith=function(e4,t4,n4){e4=ga(e4),t4=si(t4);var r4=e4.length,o2=n4=n4===i?r4:or(da(n4),0,r4);return(n4-=t4.length)>=0&&e4.slice(n4,o2)==t4},Fn.eq=Vs,Fn.escape=function(e4){return(e4=ga(e4))&&Y.test(e4)?e4.replace(W,tn):e4},Fn.escapeRegExp=function(e4){return(e4=ga(e4))&&ne.test(e4)?e4.replace(te,"\\$&"):e4},Fn.every=function(e4,t4,n4){var r4=Hs(e4)?Nt:pr;return n4&&go(e4,t4,n4)&&(t4=i),r4(e4,oo(t4,3))},Fn.find=vs,Fn.findIndex=Bo,Fn.findKey=function(e4,t4){return Ct(e4,oo(t4,3),yr)},Fn.findLast=ms,Fn.findLastIndex=Ho,Fn.findLastKey=function(e4,t4){return Ct(e4,oo(t4,3),Er)},Fn.floor=bu,Fn.forEach=gs,Fn.forEachRight=ys,Fn.forIn=function(e4,t4){return e4==null?e4:mr(e4,oo(t4,3),ja)},Fn.forInRight=function(e4,t4){return e4==null?e4:gr(e4,oo(t4,3),ja)},Fn.forOwn=function(e4,t4){return e4&&yr(e4,oo(t4,3))},Fn.forOwnRight=function(e4,t4){return e4&&Er(e4,oo(t4,3))},Fn.get=Ia,Fn.gt=$s,Fn.gte=Us,Fn.has=function(e4,t4){return e4!=null&&po(e4,t4,Ir)},Fn.hasIn=Sa,Fn.head=qo,Fn.identity=nu,Fn.includes=function(e4,t4,n4,r4){e4=qs(e4)?e4:Va(e4),n4=n4&&!r4?da(n4):0;var i2=e4.length;return n4<0&&(n4=mn(i2+n4,0)),sa(e4)?n4<=i2&&e4.indexOf(t4,n4)>-1:!!i2&&Vt(e4,t4,n4)>-1},Fn.indexOf=function(e4,t4,n4){var r4=e4==null?0:e4.length;if(!r4)return-1;var i2=n4==null?0:da(n4);return i2<0&&(i2=mn(r4+i2,0)),Vt(e4,t4,i2)},Fn.inRange=function(e4,t4,n4){return t4=pa(t4),n4===i?(n4=t4,t4=0):n4=pa(n4),function(e5,t5,n5){return e5>=gn(t5,n5)&&e5<mn(t5,n5)}(e4=va(e4),t4,n4)},Fn.invoke=Ra,Fn.isArguments=Bs,Fn.isArray=Hs,Fn.isArrayBuffer=Gs,Fn.isArrayLike=qs,Fn.isArrayLikeObject=Ws,Fn.isBoolean=function(e4){return e4===!0||e4===!1||ea(e4)&&Or(e4)==g},Fn.isBuffer=zs,Fn.isDate=Ys,Fn.isElement=function(e4){return ea(e4)&&e4.nodeType===1&&!ra(e4)},Fn.isEmpty=function(e4){if(e4==null)return!0;if(qs(e4)&&(Hs(e4)||typeof e4=="string"||typeof e4.splice=="function"||zs(e4)||ua(e4)||Bs(e4)))return!e4.length;var t4=fo(e4);if(t4==w||t4==N)return!e4.size;if(_o(e4))return!Lr(e4).length;for(var n4 in e4)if(De2.call(e4,n4))return!1;return!0},Fn.isEqual=function(e4,t4){return xr(e4,t4)},Fn.isEqualWith=function(e4,t4,n4){var r4=(n4=typeof n4=="function"?n4:i)?n4(e4,t4):i;return r4===i?xr(e4,t4,i,n4):!!r4},Fn.isError=Xs,Fn.isFinite=function(e4){return typeof e4=="number"&&kt2(e4)},Fn.isFunction=Js,Fn.isInteger=Qs,Fn.isLength=Ks,Fn.isMap=ta,Fn.isMatch=function(e4,t4){return e4===t4||jr(e4,t4,ao(t4))},Fn.isMatchWith=function(e4,t4,n4){return n4=typeof n4=="function"?n4:i,jr(e4,t4,ao(t4),n4)},Fn.isNaN=function(e4){return na(e4)&&e4!=+e4},Fn.isNative=function(e4){if(bo(e4))throw new _e2("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Pr(e4)},Fn.isNil=function(e4){return e4==null},Fn.isNull=function(e4){return e4===null},Fn.isNumber=na,Fn.isObject=Zs,Fn.isObjectLike=ea,Fn.isPlainObject=ra,Fn.isRegExp=ia,Fn.isSafeInteger=function(e4){return Qs(e4)&&e4>=-9007199254740991&&e4<=f},Fn.isSet=oa,Fn.isString=sa,Fn.isSymbol=aa,Fn.isTypedArray=ua,Fn.isUndefined=function(e4){return e4===i},Fn.isWeakMap=function(e4){return ea(e4)&&fo(e4)==x},Fn.isWeakSet=function(e4){return ea(e4)&&Or(e4)=="[object WeakSet]"},Fn.join=function(e4,t4){return e4==null?"":Gt2.call(e4,t4)},Fn.kebabCase=Ha,Fn.last=Xo,Fn.lastIndexOf=function(e4,t4,n4){var r4=e4==null?0:e4.length;if(!r4)return-1;var o2=r4;return n4!==i&&(o2=(o2=da(n4))<0?mn(r4+o2,0):gn(o2,r4-1)),t4==t4?function(e5,t5,n5){for(var r5=n5+1;r5--;)if(e5[r5]===t5)return r5;return r5}(e4,t4,o2):Ft(e4,Ut,o2,!0)},Fn.lowerCase=Ga,Fn.lowerFirst=qa,Fn.lt=ca,Fn.lte=la,Fn.max=function(e4){return e4&&e4.length?dr(e4,nu,Tr):i},Fn.maxBy=function(e4,t4){return e4&&e4.length?dr(e4,oo(t4,2),Tr):i},Fn.mean=function(e4){return Bt(e4,nu)},Fn.meanBy=function(e4,t4){return Bt(e4,oo(t4,2))},Fn.min=function(e4){return e4&&e4.length?dr(e4,nu,Mr):i},Fn.minBy=function(e4,t4){return e4&&e4.length?dr(e4,oo(t4,2),Mr):i},Fn.stubArray=hu,Fn.stubFalse=vu,Fn.stubObject=function(){return{}},Fn.stubString=function(){return""},Fn.stubTrue=function(){return!0},Fn.multiply=_u,Fn.nth=function(e4,t4){return e4&&e4.length?$r(e4,da(t4)):i},Fn.noConflict=function(){return ft._===this&&(ft._=Fe2),this},Fn.noop=au,Fn.now=Is,Fn.pad=function(e4,t4,n4){e4=ga(e4);var r4=(t4=da(t4))?ln(e4):0;if(!t4||r4>=t4)return e4;var i2=(t4-r4)/2;return Ui(dt2(i2),n4)+e4+Ui(pt2(i2),n4)},Fn.padEnd=function(e4,t4,n4){e4=ga(e4);var r4=(t4=da(t4))?ln(e4):0;return t4&&r4<t4?e4+Ui(t4-r4,n4):e4},Fn.padStart=function(e4,t4,n4){e4=ga(e4);var r4=(t4=da(t4))?ln(e4):0;return t4&&r4<t4?Ui(t4-r4,n4)+e4:e4},Fn.parseInt=function(e4,t4,n4){return n4||t4==null?t4=0:t4&&(t4=+t4),En(ga(e4).replace(re,""),t4||0)},Fn.random=function(e4,t4,n4){if(n4&&typeof n4!="boolean"&&go(e4,t4,n4)&&(t4=n4=i),n4===i&&(typeof t4=="boolean"?(n4=t4,t4=i):typeof e4=="boolean"&&(n4=e4,e4=i)),e4===i&&t4===i?(e4=0,t4=1):(e4=pa(e4),t4===i?(t4=e4,e4=0):t4=pa(t4)),e4>t4){var r4=e4;e4=t4,t4=r4}if(n4||e4%1||t4%1){var o2=bn();return gn(e4+o2*(t4-e4+at("1e-"+((o2+"").length-1))),t4)}return qr(e4,t4)},Fn.reduce=function(e4,t4,n4){var r4=Hs(e4)?Dt:qt,i2=arguments.length<3;return r4(e4,oo(t4,4),n4,i2,lr)},Fn.reduceRight=function(e4,t4,n4){var r4=Hs(e4)?Lt:qt,i2=arguments.length<3;return r4(e4,oo(t4,4),n4,i2,fr)},Fn.repeat=function(e4,t4,n4){return t4=(n4?go(e4,t4,n4):t4===i)?1:da(t4),Wr(ga(e4),t4)},Fn.replace=function(){var e4=arguments,t4=ga(e4[0]);return e4.length<3?t4:t4.replace(e4[1],e4[2])},Fn.result=function(e4,t4,n4){var r4=-1,o2=(t4=mi(t4,e4)).length;for(o2||(o2=1,e4=i);++r4<o2;){var s2=e4==null?i:e4[ko(t4[r4])];s2===i&&(r4=o2,s2=n4),e4=Js(s2)?s2.call(e4):s2}return e4},Fn.round=wu,Fn.runInContext=e3,Fn.sample=function(e4){return(Hs(e4)?Xn:Yr)(e4)},Fn.size=function(e4){if(e4==null)return 0;if(qs(e4))return sa(e4)?ln(e4):e4.length;var t4=fo(e4);return t4==w||t4==N?e4.size:Lr(e4).length},Fn.snakeCase=Wa,Fn.some=function(e4,t4,n4){var r4=Hs(e4)?Mt:ti;return n4&&go(e4,t4,n4)&&(t4=i),r4(e4,oo(t4,3))},Fn.sortedIndex=function(e4,t4){return ni(e4,t4)},Fn.sortedIndexBy=function(e4,t4,n4){return ri(e4,t4,oo(n4,2))},Fn.sortedIndexOf=function(e4,t4){var n4=e4==null?0:e4.length;if(n4){var r4=ni(e4,t4);if(r4<n4&&Vs(e4[r4],t4))return r4}return-1},Fn.sortedLastIndex=function(e4,t4){return ni(e4,t4,!0)},Fn.sortedLastIndexBy=function(e4,t4,n4){return ri(e4,t4,oo(n4,2),!0)},Fn.sortedLastIndexOf=function(e4,t4){if(e4!=null&&e4.length){var n4=ni(e4,t4,!0)-1;if(Vs(e4[n4],t4))return n4}return-1},Fn.startCase=za,Fn.startsWith=function(e4,t4,n4){return e4=ga(e4),n4=n4==null?0:or(da(n4),0,e4.length),t4=si(t4),e4.slice(n4,n4+t4.length)==t4},Fn.subtract=Ou,Fn.sum=function(e4){return e4&&e4.length?Wt(e4,nu):0},Fn.sumBy=function(e4,t4){return e4&&e4.length?Wt(e4,oo(t4,2)):0},Fn.template=function(e4,t4,n4){var r4=Fn.templateSettings;n4&&go(e4,t4,n4)&&(t4=i),e4=ga(e4),t4=ba({},t4,r4,Xi);var o2,s2,a2=ba({},t4.imports,r4.imports,Xi),u2=xa(a2),c2=Jt(a2,u2),l2=0,f2=t4.interpolate||Ee,p2="__p += '",d2=Ie2((t4.escape||Ee).source+"|"+f2.source+"|"+(f2===Q?fe:Ee).source+"|"+(t4.evaluate||Ee).source+"|$","g"),h2="//# sourceURL="+(De2.call(t4,"sourceURL")?(t4.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++rt+"]")+`
24
24
  `;e4.replace(d2,function(t5,n5,r5,i2,a3,u3){return r5||(r5=i2),p2+=e4.slice(l2,u3).replace(be,nn),n5&&(o2=!0,p2+=`' +
@@ -53,7 +53,7 @@ Run "bit envs" to see other components that uses the same env`)}}t2.PreviewOutpu
53
53
  }
54
54
  }
55
55
  }
56
- `},7154:(e2,t2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.loadLink=function({href:e3}){return new Promise((t3,n2)=>{const r2=document.createElement("link");e3.endsWith(".css")&&r2.setAttribute("rel","stylesheet"),r2.setAttribute("href",e3),r2.onload=()=>t3(),r2.onerror=(e4,t4,r3,i,o)=>n2(o||new Error(`[preview.preview] failed to load link: ${e4}`)),document.head.appendChild(r2)})},t2.loadScript=function({src:e3}){return new Promise((t3,n2)=>{const r2=document.createElement("script");r2.setAttribute("defer","defer"),r2.src=e3,r2.onload=()=>t3(),r2.onerror=(e4,t4,r3,i,o)=>n2(o||new Error(`[preview.preview] failed to load script: ${e4}`)),document.head.appendChild(r2)})}},2268:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0});var r2={PreviewAspect:!0,PreviewRuntime:!0,ENV_PREVIEW_STRATEGY_NAME:!0,COMPONENT_PREVIEW_STRATEGY_NAME:!0};function i(){const e3=n2(3389);return i=function(){return e3},e3}Object.defineProperty(t2,"COMPONENT_PREVIEW_STRATEGY_NAME",{enumerable:!0,get:function(){return s().COMPONENT_PREVIEW_STRATEGY_NAME}}),Object.defineProperty(t2,"ENV_PREVIEW_STRATEGY_NAME",{enumerable:!0,get:function(){return s().ENV_PREVIEW_STRATEGY_NAME}}),Object.defineProperty(t2,"PreviewAspect",{enumerable:!0,get:function(){return i().PreviewAspect}}),Object.defineProperty(t2,"PreviewRuntime",{enumerable:!0,get:function(){return i().PreviewRuntime}}),Object.defineProperty(t2,"default",{enumerable:!0,get:function(){return i().PreviewAspect}});var o=n2(2709);function s(){const e3=n2(9285);return s=function(){return e3},e3}Object.keys(o).forEach(function(e3){e3!=="default"&&e3!=="__esModule"&&(Object.prototype.hasOwnProperty.call(r2,e3)||e3 in t2&&t2[e3]===o[e3]||Object.defineProperty(t2,e3,{enumerable:!0,get:function(){return o[e3]}}))})},9663:(e2,t2,n2)=>{"use strict";function r2(){const e3=n2(6300);return r2=function(){return e3},e3}Object.defineProperty(t2,"__esModule",{value:!0}),Object.defineProperty(t2,"PREVIEW_MODULES",{enumerable:!0,get:function(){return r2().PREVIEW_MODULES}}),Object.defineProperty(t2,"PreviewModules",{enumerable:!0,get:function(){return r2().PreviewModules}}),Object.defineProperty(t2,"linkModules",{enumerable:!0,get:function(){return r2().linkModules}})},3389:(e2,t2,n2)=>{"use strict";function r2(){const e3=n2(2337);return r2=function(){return e3},e3}Object.defineProperty(t2,"__esModule",{value:!0}),t2.default=t2.PreviewRuntime=t2.PreviewAspect=void 0;const i=t2.PreviewRuntime=new(r2()).RuntimeDefinition("preview"),o=t2.PreviewAspect=r2().Aspect.create({id:"teambit.preview/preview",dependencies:[],defaultConfig:{},declareRuntime:i});t2.default=o},755:(e2,t2,n2)=>{"use strict";function r2(){const e3=n2(8410);return r2=function(){return e3},e3}function i(){const e3=n2(2337);return i=function(){return e3},e3}function o(){const e3=n2(2435);return o=function(){return e3},e3}function s(){const e3=(t3=n2(2607))&&t3.__esModule?t3:{default:t3};var t3;return s=function(){return e3},e3}function a(){const e3=n2(2935);return a=function(){return e3},e3}function u(){const e3=n2(7414);return u=function(){return e3},e3}function c(){const e3=n2(3389);return c=function(){return e3},e3}function l(){const e3=n2(2709);return l=function(){return e3},e3}function f(){const e3=n2(2269);return f=function(){return e3},e3}function p(){const e3=n2(9442);return p=function(){return e3},e3}function d(){const e3=n2(4606);return d=function(){return e3},e3}function h(){const e3=n2(9663);return h=function(){return e3},e3}function v(){const e3=n2(7154);return v=function(){return e3},e3}function m(){const e3=n2(6575);return m=function(){return e3},e3}function g(e3,t3,n3){return(t3=function(e4){var t4=function(e5){if(typeof e5!="object"||!e5)return e5;var t5=e5[Symbol.toPrimitive];if(t5!==void 0){var n4=t5.call(e5,"string");if(typeof n4!="object")return n4;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e5)}(e4);return typeof t4=="symbol"?t4:t4+""}(t3))in e3?Object.defineProperty(e3,t3,{value:n3,enumerable:!0,configurable:!0,writable:!0}):e3[t3]=n3,e3}class y{constructor(e3,t3,n3){this.pubsub=e3,this.previewSlot=t3,this.renderingContextSlot=n3,g(this,"isDev",!1),g(this,"_setupPromise",void 0),g(this,"setup",()=>this.isReady()?Promise.resolve():(this._setupPromise??=new Promise(e4=>{h().PREVIEW_MODULES.onSet.add(()=>{this.isReady()&&e4()})}),this._setupPromise)),g(this,"render",async e4=>{window.document.body.style.width="fit-content";const{previewName:t4,componentId:n4,envId:r3}=this.getLocation(),i2=t4||this.getDefault();e4&&(this.isDev=e4==="teambit.workspace/workspace");const o2=this.getPreview(i2);if(!o2||!n4)throw new(u()).PreviewNotFound(t4);const s2=await Promise.all((o2.include||[]).map(async e5=>{const t5=this.getPreview(e5);if(!t5)return;const r4=await this.getPreviewModule(e5,n4);return t5.selectPreviewModel?.(n4.fullName,r4)})),c2=this.getQuery(),l2=this.getParam(c2,"onlyOverview")==="true"?[]:s2.filter(e5=>!!e5).map(e5=>{if(!e5.default||!(0,a().isObject)(e5.default))return e5;const t5=Object.keys(e5).filter(e6=>e6!=="default"),n5=Object.keys(e5.default);return(0,a().intersection)(t5,n5).length===n5.length?e5.default:e5}),f2=this.isDev?await this.getComponentAspects(n4.toString()):void 0,p2=await this.getPreviewModule(i2,n4),d2=o2.render(n4,r3||"",p2,l2,this.getRenderingContext(f2));return this.reportSize(),this.setViewport(),this.setFullScreen(),d2}),g(this,"componentAspectsCache",new(d()).LRUCache({max:100,ttl:432e5})),g(this,"getComponentAspects",async e4=>{const t4=this.componentAspectsCache.get(e4);if(t4)return t4;const n4=await(0,p().fetchComponentAspects)(e4);return this.componentAspectsCache.set(e4,n4),n4}),this.registerClickPubSub()}registerClickPubSub(){window.addEventListener("click",e3=>{const t3=Date.now(),n3=Object.assign({},e3);this.pubsub.pub(c().PreviewAspect.id,new(l()).ClickInsideAnIframeEvent(t3,n3))})}isReady(){const{previewName:e3}=this.getLocation(),t3=e3||this.getDefault();if(!h().PREVIEW_MODULES.has(t3))return!1;const n3=this.getPreview(t3);return!!n3&&!!(n3.include?.every(e4=>h().PREVIEW_MODULES.has(e4))??1)}setFullScreen(){const e3=this.getQuery();if(!this.getParam(e3,"fullscreen"))return;const t3=window.document.getElementById("root");t3&&(t3.style.height="100vh")}setViewport(){const e3=this.getQuery(),t3=this.getParam(e3,"viewport");t3?window.document.body.style.maxWidth=`${t3}px`:window.document.body.style.width="100%"}reportSize(){if(!window?.parent||!window?.document)return;const e3=()=>{const{width:e4,height:t4}=(()=>{const e5=window.document.getElementById("root")??window.document.documentElement,t5=e5.style.height;e5.style.height="auto";const n4=e5.scrollHeight,r4=e5.scrollWidth;return e5.style.height=t5,{width:r4,height:n4}})();this.pubsub.pub(c().PreviewAspect.id,new(m()).SizeEvent({width:e4,height:t4}))};e3();const t3=(0,a().debounce)(e3,100),n3=new ResizeObserver(t3);n3.observe(window.document.documentElement);const r3=window.document.getElementById("root");r3&&n3.observe(r3)}async getPreviewModule(e3,t3){const n3=t3.fullName,r3=h().PREVIEW_MODULES.get(e3);if(!r3)throw new Error(`[preview.preview] missing preview "${e3}"`);if(r3.componentMap[n3])return r3;const i2=await this.fetchComponentPreview(t3,e3);h().PREVIEW_MODULES.loadComponentPreviews(n3,i2);const o2=i2[e3],s2=i2[`${e3}_metadata`];return{modulesMap:r3.modulesMap,componentMap:{[t3.fullName]:o2},componentMapMetadata:{[t3.fullName]:s2}}}async fetchComponentPreview(e3,t3){let n3;const r3=await this.fetchComponentPreviewFiles(e3,t3);return r3===null?{}:(await Promise.all(r3.map(t4=>{if(!t4.endsWith("-preview.js"))return this.addComponentFileElement(e3,t4);n3=t4})),n3?this.loadPreviewScript(e3,t3,n3):{})}addComponentFileElement(e3,t3){if(t3.endsWith(".js"))return this.addComponentFileScriptElement(e3,t3);this.addComponentFileLinkElement(e3,t3).catch(e4=>{throw new Error(`[preview.preview] failed loading asset "${t3}". Error - "${e4?.toString()}"`)})}async fetchComponentPreviewFiles(e3,t3){const n3=`/api/${e3.toString()}/~aspect/preview-assets`,r3=await(0,s().default)(n3);if(r3.status>=400)throw new(u()).PreviewNotFound(t3);const i2=await r3.json();if(i2.isBundledWithEnv)return null;if(!i2.files||!i2.files.length)throw new(u()).PreviewNotFound(t3);return i2.files}addComponentFileScriptElement(e3,t3){const n3=`/api/${e3.toString()}/~aspect/component-preview/${t3}`;return(0,v().loadScript)({src:n3})}addComponentFileLinkElement(e3,t3){const n3=`/api/${e3.toString()}/~aspect/component-preview/${t3}`;return(0,v().loadLink)({href:n3})}async loadPreviewScript(e3,t3,n3){const r3=`/api/${e3.toString()}/~aspect/component-preview/${n3}`;await(0,v().loadScript)({src:r3});const i2=`${e3.toStringWithoutVersion()}-preview`,o2=window[i2];if(!o2)throw new(u()).PreviewNotFound(t3);return o2}registerPreview(e3){return this.previewSlot.register(e3),this}getRenderingContext(e3){return new(f()).RenderingContext(this.renderingContextSlot,{aspectsFilter:e3})}registerRenderContext(e3){return this.renderingContextSlot.register(e3),this}getDefault(){const e3=this.previewSlot.values();return e3.find(e4=>e4.default)?.name||e3[0].name}getPreview(e3){return this.previewSlot.values().find(t3=>t3.name===e3)}getParam(e3,t3){return new URLSearchParams(e3).get(t3)}getQuery(){const e3=window.location.hash.substring(1),[,t3]=e3.split("?");return t3}getLocation(){const e3=window.location.hash.substring(1),[t3,n3]=e3.split("?");return{previewName:this.getParam(n3,"preview"),envId:this.getParam(n3,"env"),componentId:o().ComponentID.tryFromString(t3)}}static async provider([e3],t3,[n3,r3]){const i2=new y(e3,n3,r3);return window.addEventListener("hashchange",()=>{i2.render()}),i2}}g(y,"runtime",c().PreviewRuntime),g(y,"dependencies",[r2().PubsubAspect]),g(y,"slots",[i().Slot.withType(),i().Slot.withType()]),c().PreviewAspect.addRuntime(y)},2269:(e2,t2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.RenderingContext=void 0,t2.RenderingContext=class{constructor(e3,t3={}){this.contexts=e3,this.options=t3}get(e3){return this.contexts.get(e3)?.(this.options)}}},6575:(e2,t2,n2)=>{"use strict";function r2(){const e3=n2(8410);return r2=function(){return e3},e3}Object.defineProperty(t2,"__esModule",{value:!0}),t2.SizeEvent=void 0;class i extends r2().BitBaseEvent{constructor(e3){super(i.TYPE,"0.0.1",new Date().getTime(),e3)}}var o,s,a;t2.SizeEvent=i,o=i,a="preview-size",(s=function(e3){var t3=function(e4){if(typeof e4!="object"||!e4)return e4;var t4=e4[Symbol.toPrimitive];if(t4!==void 0){var n3=t4.call(e4,"string");if(typeof n3!="object")return n3;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e4)}(e3);return typeof t3=="symbol"?t3:t3+""}(s="TYPE"))in o?Object.defineProperty(o,s,{value:a,enumerable:!0,configurable:!0,writable:!0}):o[s]=a},9285:(e2,t2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.ENV_PREVIEW_STRATEGY_NAME=t2.COMPONENT_PREVIEW_STRATEGY_NAME=void 0,t2.ENV_PREVIEW_STRATEGY_NAME="env",t2.COMPONENT_PREVIEW_STRATEGY_NAME="component"},8434:(e2,t2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.BitBaseEvent=void 0,t2.BitBaseEvent=class{constructor(e3,t3,n2,r2){this.type=e3,this.version=t3,this.timestamp=n2,this.data=r2}}},8410:(e2,t2,n2)=>{"use strict";function r2(){const e3=n2(6525);return r2=function(){return e3},e3}function i(){const e3=n2(8434);return i=function(){return e3},e3}function o(){const e3=n2(9665);return o=function(){return e3},e3}Object.defineProperty(t2,"__esModule",{value:!0}),Object.defineProperty(t2,"BitBaseEvent",{enumerable:!0,get:function(){return i().BitBaseEvent}}),Object.defineProperty(t2,"PubsubAspect",{enumerable:!0,get:function(){return r2().PubsubAspect}}),Object.defineProperty(t2,"default",{enumerable:!0,get:function(){return r2().PubsubAspect}}),Object.defineProperty(t2,"usePubSub",{enumerable:!0,get:function(){return o().usePubSub}}),Object.defineProperty(t2,"usePubSubIframe",{enumerable:!0,get:function(){return o().usePubSubIframe}})},7559:(e2,t2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.PubSubNoParentError=void 0;class n2 extends Error{constructor(){super("could not connect to parent window"),this.name="PubSubNoParentError"}}t2.PubSubNoParentError=n2},9665:(e2,t2,n2)=>{"use strict";function r2(){const e3=i(n2(2015));return r2=function(){return e3},e3}function i(e3,t3){if(typeof WeakMap=="function")var n3=new WeakMap,r3=new WeakMap;return(i=function(e4,t4){if(!t4&&e4&&e4.__esModule)return e4;var i2,o2,s2={__proto__:null,default:e4};if(e4===null||typeof e4!="object"&&typeof e4!="function")return s2;if(i2=t4?r3:n3){if(i2.has(e4))return i2.get(e4);i2.set(e4,s2)}for(const t5 in e4)t5!=="default"&&{}.hasOwnProperty.call(e4,t5)&&((o2=(i2=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e4,t5))&&(o2.get||o2.set)?i2(s2,t5,o2):s2[t5]=e4[t5]);return s2})(e3,t3)}Object.defineProperty(t2,"__esModule",{value:!0}),t2.createProvider=function(e3){return({children:t3})=>r2().default.createElement(o.Provider,{value:e3},t3)},t2.pubsubRegistry=void 0,t2.usePubSub=s,t2.usePubSubIframe=function(e3){const t3=s();(0,r2().useEffect)(()=>{if(!e3?.current||!t3)return()=>{};const n3=t3.connect(e3.current);return()=>n3()},[e3?.current,t3])};const o=t2.pubsubRegistry=(0,r2().createContext)(void 0);function s(){return(0,r2().useContext)(o)}},6525:(e2,t2,n2)=>{"use strict";function r2(){const e3=n2(2337);return r2=function(){return e3},e3}Object.defineProperty(t2,"__esModule",{value:!0}),t2.default=t2.PubsubAspect=void 0;const i=t2.PubsubAspect=r2().Aspect.create({id:"teambit.harmony/pubsub",dependencies:[]});t2.default=i},9283:(e2,t2,n2)=>{"use strict";function r2(){const e3=n2(2268);return r2=function(){return e3},e3}function i(){const e3=n2(5867);return i=function(){return e3},e3}function o(){const e3=n2(7551);return o=function(){return e3},e3}function s(){const e3=n2(8926);return s=function(){return e3},e3}function a(){const e3=n2(7559);return a=function(){return e3},e3}function u(){const e3=n2(6525);return u=function(){return e3},e3}function c(e3,t3,n3){return(t3=function(e4){var t4=function(e5){if(typeof e5!="object"||!e5)return e5;var t5=e5[Symbol.toPrimitive];if(t5!==void 0){var n4=t5.call(e5,"string");if(typeof n4!="object")return n4;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e5)}(e4);return typeof t4=="symbol"?t4:t4+""}(t3))in e3?Object.defineProperty(e3,t3,{value:n3,enumerable:!0,configurable:!0,writable:!0}):e3[t3]=n3,e3}class l{constructor(){c(this,"_parentPubsub",void 0),c(this,"events",new(o()).EventEmitter2),c(this,"connectToParentPubSub",(e3=10)=>{if(e3<=0)throw new(a()).PubSubNoParentError;return(0,s().connectToParent)({timeout:300,methods:{pub:this.handleMessageFromParent}}).promise.then(e4=>this._parentPubsub=e4).catch(t3=>{if(t3.code!==s().ErrorCode.ConnectionTimeout)throw t3;return this.connectToParentPubSub(e3-1)})}),c(this,"handleMessageFromParent",(e3,t3)=>{this.events.emit(e3,t3)})}sub(e3,t3){const n3=this.events;return n3.on(e3,t3),()=>{n3.off(e3,t3)}}pub(e3,t3){this.events.emit(e3,t3),this._parentPubsub?.pub(e3,t3).catch(e4=>{console.error("[Pubsub.preview]",e4)})}inIframe(){try{return i().isBrowser&&window.self!==window.top}catch{return!1}}static async provider(){const e3=new l;return e3.inIframe()&&e3.connectToParentPubSub().catch(e4=>{e4 instanceof a().PubSubNoParentError||console.error("[Pubsub.preview]",e4)}),e3}}c(l,"runtime",r2().PreviewRuntime),u().PubsubAspect.addRuntime(l)},1110:function(e2,t2,n2){"use strict";var r2,i=this&&this.__createBinding||(Object.create?function(e3,t3,n3,r3){r3===void 0&&(r3=n3);var i2=Object.getOwnPropertyDescriptor(t3,n3);i2&&!("get"in i2?!t3.__esModule:i2.writable||i2.configurable)||(i2={enumerable:!0,get:function(){return t3[n3]}}),Object.defineProperty(e3,r3,i2)}:function(e3,t3,n3,r3){r3===void 0&&(r3=n3),e3[r3]=t3[n3]}),o=this&&this.__setModuleDefault||(Object.create?function(e3,t3){Object.defineProperty(e3,"default",{enumerable:!0,value:t3})}:function(e3,t3){e3.default=t3}),s=this&&this.__importStar||(r2=function(e3){return r2=Object.getOwnPropertyNames||function(e4){var t3=[];for(var n3 in e4)Object.prototype.hasOwnProperty.call(e4,n3)&&(t3[t3.length]=n3);return t3},r2(e3)},function(e3){if(e3&&e3.__esModule)return e3;var t3={};if(e3!=null)for(var n3=r2(e3),s2=0;s2<n3.length;s2++)n3[s2]!=="default"&&i(t3,e3,n3[s2]);return o(t3,e3),t3}),a=this&&this.__importDefault||function(e3){return e3&&e3.__esModule?e3:{default:e3}};Object.defineProperty(t2,"__esModule",{value:!0}),t2.HighlighterProvider=t2.PARAM_NAME=void 0;const u=s(n2(2015)),c=a(n2(4487)),l=n2(5110),f=a(n2(887)),p=a(n2(108));t2.PARAM_NAME="highlighter";const d={container:p.default.label};t2.HighlighterProvider=({children:e3})=>{const n3=function(){const[e4,t3]=(0,u.useState)(window?window.location.hash:"");return(0,u.useEffect)(()=>{const e5=()=>{t3(window.location.hash)};return e5(),window.addEventListener("hashchange",e5),()=>{window.removeEventListener("hashchange",e5)}},[]),e4}(),r3=(0,u.useMemo)(()=>{const e4=n3.split("?")[1];return f.default.parse(e4)[t2.PARAM_NAME]==="true"},[n3]);return u.default.createElement(l.ComponentHighlighter,{disabled:!r3,className:(0,c.default)(p.default.highlighter,r3&&p.default.active),classes:d},e3)}},9493:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.HighlighterProvider=void 0;var r2=n2(1110);Object.defineProperty(t2,"HighlighterProvider",{enumerable:!0,get:function(){return r2.HighlighterProvider}})},7075:(e2,t2,n2)=>{"use strict";function r2(){const e3=n2(2337);return r2=function(){return e3},e3}Object.defineProperty(t2,"__esModule",{value:!0}),t2.default=t2.ReactAspect=void 0;const i=t2.ReactAspect=r2().Aspect.create({id:"teambit.react/react"});t2.default=i},3893:(e2,t2,n2)=>{"use strict";function r2(){const e3=(t3=n2(7065))&&t3.__esModule?t3:{default:t3};var t3;return r2=function(){return e3},e3}function i(){const e3=n2(2337);return i=function(){return e3},e3}function o(){const e3=n2(2268);return o=function(){return e3},e3}function s(){const e3=n2(9493);return s=function(){return e3},e3}function a(){const e3=n2(7075);return a=function(){return e3},e3}function u(e3,t3,n3){return(t3=function(e4){var t4=function(e5){if(typeof e5!="object"||!e5)return e5;var t5=e5[Symbol.toPrimitive];if(t5!==void 0){var n4=t5.call(e5,"string");if(typeof n4!="object")return n4;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e5)}(e4);return typeof t4=="symbol"?t4:t4+""}(t3))in e3?Object.defineProperty(e3,t3,{value:n3,enumerable:!0,configurable:!0,writable:!0}):e3[t3]=n3,e3}class c{constructor(e3,t3){this.preview=e3,this.providerSlot=t3,u(this,"getRenderingContext",({aspectsFilter:e4})=>{let t4=this.providerSlot.toArray();if(e4){const n3=new Set(e4);n3.add(a().ReactAspect.id),t4=t4.filter(([e5])=>n3.has(e5))}return{providers:(0,r2().default)(t4.map(([,e5])=>e5))}})}registerProvider(e3){this.providerSlot.register(e3)}static async provider([e3],t3,[n3]){const r3=new c(e3,n3);return r3.registerProvider([s().HighlighterProvider]),e3.registerRenderContext(r3.getRenderingContext),r3}}u(c,"runtime",o().PreviewRuntime),u(c,"slots",[i().Slot.withType()]),u(c,"dependencies",[o().PreviewAspect]),a().ReactAspect.addRuntime(c)},2015:e2=>{"use strict";e2.exports=__webpack_require__(37953)},2326:e2=>{"use strict";e2.exports=__webpack_require__(88705)},7500:(e2,t2)=>{var n2;(function(){"use strict";var r2={}.hasOwnProperty;function i(){for(var e3="",t3=0;t3<arguments.length;t3++){var n3=arguments[t3];n3&&(e3=s(e3,o(n3)))}return e3}function o(e3){if(typeof e3=="string"||typeof e3=="number")return e3;if(typeof e3!="object")return"";if(Array.isArray(e3))return i.apply(null,e3);if(e3.toString!==Object.prototype.toString&&!e3.toString.toString().includes("[native code]"))return e3.toString();var t3="";for(var n3 in e3)r2.call(e3,n3)&&e3[n3]&&(t3=s(t3,n3));return t3}function s(e3,t3){return t3?e3?e3+" "+t3:e3+t3:e3}e2.exports?(i.default=i,e2.exports=i):(n2=function(){return i}.apply(t2,[]))===void 0||(e2.exports=n2)})()},3922:(e2,t2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.defaultJsonSerializer=void 0,t2.defaultJsonSerializer=JSON},4927:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.GraphQLWebSocketClient=void 0;const r2=n2(6917),i=n2(5928),o="ping",s="pong",a="complete";class u{get type(){return this._type}get id(){return this._id}get payload(){return this._payload}constructor(e3,t3,n3){this._type=e3,this._payload=t3,this._id=n3}get text(){const e3={type:this.type};return this.id!=null&&this.id!=null&&(e3.id=this.id),this.payload!=null&&this.payload!=null&&(e3.payload=this.payload),JSON.stringify(e3)}static parse(e3,t3){const{type:n3,payload:r3,id:i2}=JSON.parse(e3);return new u(n3,t3(r3),i2)}}class c{constructor(e3,{onInit:t3,onAcknowledged:n3,onPing:r3,onPong:c2}){this.socketState={acknowledged:!1,lastRequestId:0,subscriptions:{}},this.socket=e3,e3.addEventListener("open",async n4=>{var r4;this.socketState.acknowledged=!1,this.socketState.subscriptions={},e3.send((r4=t3?await t3():null,new u("connection_init",r4)).text)}),e3.addEventListener("close",e4=>{this.socketState.acknowledged=!1,this.socketState.subscriptions={}}),e3.addEventListener("error",e4=>{console.error(e4)}),e3.addEventListener("message",t4=>{try{const f=function(e4,t5=e5=>e5){return u.parse(e4,t5)}(t4.data);switch(f.type){case"connection_ack":return void(this.socketState.acknowledged?console.warn("Duplicate CONNECTION_ACK message ignored"):(this.socketState.acknowledged=!0,n3&&n3(f.payload)));case o:return void(r3?r3(f.payload).then(t5=>e3.send(l(t5).text)):e3.send(l(null).text));case s:return void(c2&&c2(f.payload))}if(!this.socketState.acknowledged||f.id===void 0||f.id===null||!this.socketState.subscriptions[f.id])return;const{query:p,variables:d,subscriber:h}=this.socketState.subscriptions[f.id];switch(f.type){case"next":return!f.payload.errors&&f.payload.data&&h.next&&h.next(f.payload.data),void(f.payload.errors&&h.error&&h.error(new i.ClientError({...f.payload,status:200},{query:p,variables:d})));case"error":return void(h.error&&h.error(new i.ClientError({errors:f.payload,status:200},{query:p,variables:d})));case a:return h.complete&&h.complete(),void delete this.socketState.subscriptions[f.id]}}catch(t5){console.error(t5),e3.close(1006)}e3.close(4400,"Unknown graphql-ws message.")})}makeSubscribe(e3,t3,n3,r3){const i2=(this.socketState.lastRequestId++).toString();var o2,s2;return this.socketState.subscriptions[i2]={query:e3,variables:r3,subscriber:n3},this.socket.send((o2=i2,s2={query:e3,operationName:t3,variables:r3},new u("subscribe",s2,o2)).text),()=>{this.socket.send(function(e4){return new u(a,void 0,e4)}(i2).text),delete this.socketState.subscriptions[i2]}}rawRequest(e3,t3){return new Promise((n3,r3)=>{let i2;this.rawSubscribe(e3,{next:(e4,t4)=>i2={data:e4,extensions:t4},error:r3,complete:()=>n3(i2)},t3)})}request(e3,t3){return new Promise((n3,r3)=>{let i2;this.subscribe(e3,{next:e4=>i2=e4,error:r3,complete:()=>n3(i2)},t3)})}subscribe(e3,t3,n3){const{query:i2,operationName:o2}=(0,r2.resolveRequestDocument)(e3);return this.makeSubscribe(i2,o2,t3,n3)}rawSubscribe(e3,t3,n3){return this.makeSubscribe(e3,void 0,t3,n3)}ping(e3){this.socket.send(function(e4){return new u(o,e4,void 0)}(e3).text)}close(){this.socket.close(1e3)}}function l(e3){return new u(s,e3,void 0)}c.PROTOCOL="graphql-transport-ws",t2.GraphQLWebSocketClient=c},3028:(e2,t2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.HeadersInstanceToPlainObject=t2.uppercase=void 0,t2.uppercase=e3=>e3.toUpperCase(),t2.HeadersInstanceToPlainObject=e3=>{const t3={};return e3.forEach((e4,n2)=>{t3[n2]=e4}),t3}},6313:function(e2,t2,n2){"use strict";var r2=this&&this.__createBinding||(Object.create?function(e3,t3,n3,r3){r3===void 0&&(r3=n3);var i2=Object.getOwnPropertyDescriptor(t3,n3);i2&&!("get"in i2?!t3.__esModule:i2.writable||i2.configurable)||(i2={enumerable:!0,get:function(){return t3[n3]}}),Object.defineProperty(e3,r3,i2)}:function(e3,t3,n3,r3){r3===void 0&&(r3=n3),e3[r3]=t3[n3]}),i=this&&this.__setModuleDefault||(Object.create?function(e3,t3){Object.defineProperty(e3,"default",{enumerable:!0,value:t3})}:function(e3,t3){e3.default=t3}),o=this&&this.__importStar||function(e3){if(e3&&e3.__esModule)return e3;var t3={};if(e3!=null)for(var n3 in e3)n3!=="default"&&Object.prototype.hasOwnProperty.call(e3,n3)&&r2(t3,e3,n3);return i(t3,e3),t3};Object.defineProperty(t2,"__esModule",{value:!0}),t2.request=t2.rawRequest=t2.GraphQLClient=t2.ClientError=t2.batchRequests=t2.resolveRequestDocument=t2.GraphQLWebSocketClient=t2.gql=void 0;const s=n2(3922),a=n2(3028),u=n2(7491),c=n2(6917),l=n2(5928);Object.defineProperty(t2,"ClientError",{enumerable:!0,get:function(){return l.ClientError}});const f=o(n2(2607)),p=f,d=e3=>{let t3={};return e3&&(typeof Headers<"u"&&e3 instanceof Headers||p&&p.Headers&&e3 instanceof p.Headers?t3=(0,a.HeadersInstanceToPlainObject)(e3):Array.isArray(e3)?e3.forEach(([e4,n3])=>{e4&&n3!==void 0&&(t3[e4]=n3)}):t3=e3),t3},h=e3=>e3.replace(/([\s,]|#[^\n\r]+)+/g," ").trim();class v{constructor(e3,t3={}){this.url=e3,this.requestConfig=t3,this.rawRequest=async(...e4)=>{const[t4,n3,r3]=e4,i2=(0,u.parseRawRequestArgs)(t4,n3,r3),{headers:o2,fetch:s2=f.default,method:a2="POST",requestMiddleware:l2,responseMiddleware:p2,...h2}=this.requestConfig,{url:v2}=this;i2.signal!==void 0&&(h2.signal=i2.signal);const{operationName:g2}=(0,c.resolveRequestDocument)(i2.query);return m({url:v2,query:i2.query,variables:i2.variables,headers:{...d(_(o2)),...d(i2.requestHeaders)},operationName:g2,fetch:s2,method:a2,fetchOptions:h2,middleware:l2}).then(e5=>(p2&&p2(e5),e5)).catch(e5=>{throw p2&&p2(e5),e5})}}async request(e3,...t3){const[n3,r3]=t3,i2=(0,u.parseRequestArgs)(e3,n3,r3),{headers:o2,fetch:s2=f.default,method:a2="POST",requestMiddleware:l2,responseMiddleware:p2,...h2}=this.requestConfig,{url:v2}=this;i2.signal!==void 0&&(h2.signal=i2.signal);const{query:g2,operationName:y2}=(0,c.resolveRequestDocument)(i2.document);return m({url:v2,query:g2,variables:i2.variables,headers:{...d(_(o2)),...d(i2.requestHeaders)},operationName:y2,fetch:s2,method:a2,fetchOptions:h2,middleware:l2}).then(e4=>(p2&&p2(e4),e4.data)).catch(e4=>{throw p2&&p2(e4),e4})}batchRequests(e3,t3){const n3=(0,u.parseBatchRequestArgs)(e3,t3),{headers:r3,...i2}=this.requestConfig;n3.signal!==void 0&&(i2.signal=n3.signal);const o2=n3.documents.map(({document:e4})=>(0,c.resolveRequestDocument)(e4).query),s2=n3.documents.map(({variables:e4})=>e4);return m({url:this.url,query:o2,variables:s2,headers:{...d(_(r3)),...d(n3.requestHeaders)},operationName:void 0,fetch:this.requestConfig.fetch??f.default,method:this.requestConfig.method||"POST",fetchOptions:i2,middleware:this.requestConfig.requestMiddleware}).then(e4=>(this.requestConfig.responseMiddleware&&this.requestConfig.responseMiddleware(e4),e4.data)).catch(e4=>{throw this.requestConfig.responseMiddleware&&this.requestConfig.responseMiddleware(e4),e4})}setHeaders(e3){return this.requestConfig.headers=e3,this}setHeader(e3,t3){const{headers:n3}=this.requestConfig;return n3?n3[e3]=t3:this.requestConfig.headers={[e3]:t3},this}setEndpoint(e3){return this.url=e3,this}}t2.GraphQLClient=v;const m=async e3=>{const{query:t3,variables:n3,fetchOptions:r3}=e3,i2=(d2=(0,a.uppercase)(e3.method??"post"),async e4=>{const{url:t4,query:n4,variables:r4,operationName:i3,fetch:o3,fetchOptions:a2,middleware:u3}=e4,c3={...e4.headers};let l2,f3="";d2==="POST"?(l2=E(n4,r4,i3,a2.jsonSerializer),typeof l2=="string"&&(c3["Content-Type"]="application/json")):f3=(e5=>{if(!Array.isArray(e5.query)){const t6=e5,n6=[`query=${encodeURIComponent(h(t6.query))}`];return e5.variables&&n6.push(`variables=${encodeURIComponent(t6.jsonSerializer.stringify(t6.variables))}`),t6.operationName&&n6.push(`operationName=${encodeURIComponent(t6.operationName)}`),n6.join("&")}if(e5.variables!==void 0&&!Array.isArray(e5.variables))throw new Error("Cannot create query with given variable type, array expected");const t5=e5,n5=e5.query.reduce((e6,n6,r5)=>(e6.push({query:h(n6),variables:t5.variables?t5.jsonSerializer.stringify(t5.variables[r5]):void 0}),e6),[]);return`query=${encodeURIComponent(t5.jsonSerializer.stringify(n5))}`})({query:n4,variables:r4,operationName:i3,jsonSerializer:a2.jsonSerializer??s.defaultJsonSerializer});const p3={method:d2,headers:c3,body:l2,...a2};let v2=t4,m2=p3;if(u3){const e5=await Promise.resolve(u3({...p3,url:t4,operationName:i3,variables:r4})),{url:n5,...o4}=e5;v2=n5,m2=o4}return f3&&(v2=`${v2}?${f3}`),await o3(v2,m2)}),o2=Array.isArray(e3.query),u2=await i2(e3),c2=await b(u2,r3.jsonSerializer??s.defaultJsonSerializer),f2=Array.isArray(c2)?!c2.some(({data:e4})=>!e4):Boolean(c2.data),p2=Array.isArray(c2)||!c2.errors||Array.isArray(c2.errors)&&!c2.errors.length||r3.errorPolicy==="all"||r3.errorPolicy==="ignore";var d2;if(u2.ok&&p2&&f2){const{errors:e4,...t4}=(Array.isArray(c2),c2),n4=r3.errorPolicy==="ignore"?t4:c2;return{...o2?{data:n4}:n4,headers:u2.headers,status:u2.status}}{const e4=typeof c2=="string"?{error:c2}:c2;throw new l.ClientError({...e4,status:u2.status,headers:u2.headers},{query:t3,variables:n3})}};async function g(e3,t3,...n3){const r3=(0,u.parseRequestExtendedArgs)(e3,t3,...n3);return new v(r3.url).request({...r3})}t2.rawRequest=async(...e3)=>{const[t3,n3,...r3]=e3,i2=(0,u.parseRawRequestExtendedArgs)(t3,n3,...r3);return new v(i2.url).rawRequest({...i2})},t2.request=g,t2.batchRequests=async(...e3)=>{const t3=y(e3);return new v(t3.url).batchRequests(t3)};const y=e3=>e3.length===1?e3[0]:{url:e3[0],documents:e3[1],requestHeaders:e3[2],signal:void 0},E=(e3,t3,n3,r3)=>{const i2=r3??s.defaultJsonSerializer;if(!Array.isArray(e3))return i2.stringify({query:e3,variables:t3,operationName:n3});if(t3!==void 0&&!Array.isArray(t3))throw new Error("Cannot create request body with given variable type, array expected");const o2=e3.reduce((e4,n4,r4)=>(e4.push({query:n4,variables:t3?t3[r4]:void 0}),e4),[]);return i2.stringify(o2)},b=async(e3,t3)=>{let n3;return e3.headers.forEach((e4,t4)=>{t4.toLowerCase()==="content-type"&&(n3=e4)}),n3&&(n3.toLowerCase().startsWith("application/json")||n3.toLowerCase().startsWith("application/graphql+json")||n3.toLowerCase().startsWith("application/graphql-response+json"))?t3.parse(await e3.text()):e3.text()},_=e3=>typeof e3=="function"?e3():e3;t2.gql=(e3,...t3)=>e3.reduce((e4,n3,r3)=>`${e4}${n3}${r3 in t3?String(t3[r3]):""}`,"");var w=n2(4927);Object.defineProperty(t2,"GraphQLWebSocketClient",{enumerable:!0,get:function(){return w.GraphQLWebSocketClient}});var O=n2(6917);Object.defineProperty(t2,"resolveRequestDocument",{enumerable:!0,get:function(){return O.resolveRequestDocument}}),t2.default=g},7491:(e2,t2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.parseRawRequestExtendedArgs=t2.parseRequestExtendedArgs=t2.parseBatchRequestArgs=t2.parseRawRequestArgs=t2.parseRequestArgs=void 0,t2.parseRequestArgs=(e3,t3,n2)=>e3.document?e3:{document:e3,variables:t3,requestHeaders:n2,signal:void 0},t2.parseRawRequestArgs=(e3,t3,n2)=>e3.query?e3:{query:e3,variables:t3,requestHeaders:n2,signal:void 0},t2.parseBatchRequestArgs=(e3,t3)=>e3.documents?e3:{documents:e3,requestHeaders:t3,signal:void 0},t2.parseRequestExtendedArgs=(e3,t3,...n2)=>{const[r2,i]=n2;return e3.document?e3:{url:e3,document:t3,variables:r2,requestHeaders:i,signal:void 0}},t2.parseRawRequestExtendedArgs=(e3,t3,...n2)=>{const[r2,i]=n2;return e3.query?e3:{url:e3,query:t3,variables:r2,requestHeaders:i,signal:void 0}}},6917:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.resolveRequestDocument=void 0;const r2=n2(2874),i=e3=>{let t3;const n3=e3.definitions.filter(e4=>e4.kind==="OperationDefinition");return n3.length===1&&(t3=n3[0]?.name?.value),t3};t2.resolveRequestDocument=e3=>{if(typeof e3=="string"){let t4;try{const n3=(0,r2.parse)(e3);t4=i(n3)}catch{}return{query:e3,operationName:t4}}const t3=i(e3);return{query:(0,r2.print)(e3),operationName:t3}}},5928:(e2,t2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.ClientError=void 0;class n2 extends Error{constructor(e3,t3){super(`${n2.extractMessage(e3)}: ${JSON.stringify({response:e3,request:t3})}`),Object.setPrototypeOf(this,n2.prototype),this.response=e3,this.request=t3,typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(this,n2)}static extractMessage(e3){return e3.errors?.[0]?.message??`GraphQL Error (Code: ${e3.status})`}}t2.ClientError=n2},4606:(e2,t2,n2)=>{"use strict";var r2=n2(8558);Object.defineProperty(t2,"__esModule",{value:!0}),t2.LRUCache=void 0;const i=typeof performance=="object"&&performance&&typeof performance.now=="function"?performance:Date,o=new Set,s=typeof r2=="object"&&r2?r2:{},a=(e3,t3,n3,r3)=>{typeof s.emitWarning=="function"?s.emitWarning(e3,t3,n3,r3):console.error(`[${n3}] ${t3}: ${e3}`)};let u=globalThis.AbortController,c=globalThis.AbortSignal;if(u===void 0){c=class{onabort;_onabort=[];reason;aborted=!1;addEventListener(e4,t4){this._onabort.push(t4)}},u=class{constructor(){t3()}signal=new c;abort(e4){if(!this.signal.aborted){this.signal.reason=e4,this.signal.aborted=!0;for(const t4 of this.signal._onabort)t4(e4);this.signal.onabort?.(e4)}}};let e3=s.env?.LRU_CACHE_IGNORE_AC_WARNING!=="1";const t3=()=>{e3&&(e3=!1,a("AbortController is not defined. If using lru-cache in node 14, load an AbortController polyfill from the `node-abort-controller` package. A minimal polyfill is provided for use by LRUCache.fetch(), but it should not be relied upon in other contexts (eg, passing it to other APIs that use AbortController/AbortSignal might have undesirable effects). You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.","NO_ABORT_CONTROLLER","ENOTSUP",t3))}}Symbol("type");const l=e3=>e3&&e3===Math.floor(e3)&&e3>0&&isFinite(e3),f=e3=>l(e3)?e3<=Math.pow(2,8)?Uint8Array:e3<=Math.pow(2,16)?Uint16Array:e3<=Math.pow(2,32)?Uint32Array:e3<=Number.MAX_SAFE_INTEGER?p:null:null;class p extends Array{constructor(e3){super(e3),this.fill(0)}}class d{heap;length;static#e=!1;static create(e3){const t3=f(e3);if(!t3)return[];d.#e=!0;const n3=new d(e3,t3);return d.#e=!1,n3}constructor(e3,t3){if(!d.#e)throw new TypeError("instantiate Stack using Stack.create(n)");this.heap=new t3(e3),this.length=0}push(e3){this.heap[this.length++]=e3}pop(){return this.heap[--this.length]}}class h{#t;#n;#r;#i;#o;#s;ttl;ttlResolution;ttlAutopurge;updateAgeOnGet;updateAgeOnHas;allowStale;noDisposeOnSet;noUpdateTTL;maxEntrySize;sizeCalculation;noDeleteOnFetchRejection;noDeleteOnStaleGet;allowStaleOnFetchAbort;allowStaleOnFetchRejection;ignoreFetchAbort;#a;#u;#c;#l;#f;#p;#d;#h;#v;#m;#g;#y;#E;#b;#_;#w;#O;static unsafeExposeInternals(e3){return{starts:e3.#E,ttls:e3.#b,sizes:e3.#y,keyMap:e3.#c,keyList:e3.#l,valList:e3.#f,next:e3.#p,prev:e3.#d,get head(){return e3.#h},get tail(){return e3.#v},free:e3.#m,isBackgroundFetch:t3=>e3.#T(t3),backgroundFetch:(t3,n3,r3,i2)=>e3.#I(t3,n3,r3,i2),moveToTail:t3=>e3.#S(t3),indexes:t3=>e3.#N(t3),rindexes:t3=>e3.#A(t3),isStale:t3=>e3.#R(t3)}}get max(){return this.#t}get maxSize(){return this.#n}get calculatedSize(){return this.#u}get size(){return this.#a}get fetchMethod(){return this.#o}get memoMethod(){return this.#s}get dispose(){return this.#r}get disposeAfter(){return this.#i}constructor(e3){const{max:t3=0,ttl:n3,ttlResolution:r3=1,ttlAutopurge:i2,updateAgeOnGet:s2,updateAgeOnHas:u2,allowStale:c2,dispose:p2,disposeAfter:v,noDisposeOnSet:m,noUpdateTTL:g,maxSize:y=0,maxEntrySize:E=0,sizeCalculation:b,fetchMethod:_,memoMethod:w,noDeleteOnFetchRejection:O,noDeleteOnStaleGet:T,allowStaleOnFetchRejection:I,allowStaleOnFetchAbort:S,ignoreFetchAbort:N}=e3;if(t3!==0&&!l(t3))throw new TypeError("max option must be a nonnegative integer");const A=t3?f(t3):Array;if(!A)throw new Error("invalid max value: "+t3);if(this.#t=t3,this.#n=y,this.maxEntrySize=E||this.#n,this.sizeCalculation=b,this.sizeCalculation){if(!this.#n&&!this.maxEntrySize)throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");if(typeof this.sizeCalculation!="function")throw new TypeError("sizeCalculation set to non-function")}if(w!==void 0&&typeof w!="function")throw new TypeError("memoMethod must be a function if defined");if(this.#s=w,_!==void 0&&typeof _!="function")throw new TypeError("fetchMethod must be a function if specified");if(this.#o=_,this.#w=!!_,this.#c=new Map,this.#l=new Array(t3).fill(void 0),this.#f=new Array(t3).fill(void 0),this.#p=new A(t3),this.#d=new A(t3),this.#h=0,this.#v=0,this.#m=d.create(t3),this.#a=0,this.#u=0,typeof p2=="function"&&(this.#r=p2),typeof v=="function"?(this.#i=v,this.#g=[]):(this.#i=void 0,this.#g=void 0),this.#_=!!this.#r,this.#O=!!this.#i,this.noDisposeOnSet=!!m,this.noUpdateTTL=!!g,this.noDeleteOnFetchRejection=!!O,this.allowStaleOnFetchRejection=!!I,this.allowStaleOnFetchAbort=!!S,this.ignoreFetchAbort=!!N,this.maxEntrySize!==0){if(this.#n!==0&&!l(this.#n))throw new TypeError("maxSize must be a positive integer if specified");if(!l(this.maxEntrySize))throw new TypeError("maxEntrySize must be a positive integer if specified");this.#x()}if(this.allowStale=!!c2,this.noDeleteOnStaleGet=!!T,this.updateAgeOnGet=!!s2,this.updateAgeOnHas=!!u2,this.ttlResolution=l(r3)||r3===0?r3:1,this.ttlAutopurge=!!i2,this.ttl=n3||0,this.ttl){if(!l(this.ttl))throw new TypeError("ttl must be a positive integer if specified");this.#j()}if(this.#t===0&&this.ttl===0&&this.#n===0)throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!this.#t&&!this.#n){const e4="LRU_CACHE_UNBOUNDED";(e5=>!o.has(e5))(e4)&&(o.add(e4),a("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",e4,h))}}getRemainingTTL(e3){return this.#c.has(e3)?1/0:0}#j(){const e3=new p(this.#t),t3=new p(this.#t);this.#b=e3,this.#E=t3,this.#P=(n4,r4,o2=i.now())=>{if(t3[n4]=r4!==0?o2:0,e3[n4]=r4,r4!==0&&this.ttlAutopurge){const e4=setTimeout(()=>{this.#R(n4)&&this.#D(this.#l[n4],"expire")},r4+1);e4.unref&&e4.unref()}},this.#L=n4=>{t3[n4]=e3[n4]!==0?i.now():0},this.#M=(i2,o2)=>{if(e3[o2]){const s2=e3[o2],a2=t3[o2];if(!s2||!a2)return;i2.ttl=s2,i2.start=a2,i2.now=n3||r3();const u2=i2.now-a2;i2.remainingTTL=s2-u2}};let n3=0;const r3=()=>{const e4=i.now();if(this.ttlResolution>0){n3=e4;const t4=setTimeout(()=>n3=0,this.ttlResolution);t4.unref&&t4.unref()}return e4};this.getRemainingTTL=i2=>{const o2=this.#c.get(i2);if(o2===void 0)return 0;const s2=e3[o2],a2=t3[o2];return s2&&a2?s2-((n3||r3())-a2):1/0},this.#R=i2=>{const o2=t3[i2],s2=e3[i2];return!!s2&&!!o2&&(n3||r3())-o2>s2}}#L=()=>{};#M=()=>{};#P=()=>{};#R=()=>!1;#x(){const e3=new p(this.#t);this.#u=0,this.#y=e3,this.#k=t3=>{this.#u-=e3[t3],e3[t3]=0},this.#C=(e4,t3,n3,r3)=>{if(this.#T(t3))return 0;if(!l(n3)){if(!r3)throw new TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.");if(typeof r3!="function")throw new TypeError("sizeCalculation must be a function");if(n3=r3(t3,e4),!l(n3))throw new TypeError("sizeCalculation return invalid (expect positive integer)")}return n3},this.#F=(t3,n3,r3)=>{if(e3[t3]=n3,this.#n){const n4=this.#n-e3[t3];for(;this.#u>n4;)this.#V(!0)}this.#u+=e3[t3],r3&&(r3.entrySize=n3,r3.totalCalculatedSize=this.#u)}}#k=e3=>{};#F=(e3,t3,n3)=>{};#C=(e3,t3,n3,r3)=>{if(n3||r3)throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache");return 0};*#N({allowStale:e3=this.allowStale}={}){if(this.#a)for(let t3=this.#v;this.#$(t3)&&(!e3&&this.#R(t3)||(yield t3),t3!==this.#h);)t3=this.#d[t3]}*#A({allowStale:e3=this.allowStale}={}){if(this.#a)for(let t3=this.#h;this.#$(t3)&&(!e3&&this.#R(t3)||(yield t3),t3!==this.#v);)t3=this.#p[t3]}#$(e3){return e3!==void 0&&this.#c.get(this.#l[e3])===e3}*entries(){for(const e3 of this.#N())this.#f[e3]===void 0||this.#l[e3]===void 0||this.#T(this.#f[e3])||(yield[this.#l[e3],this.#f[e3]])}*rentries(){for(const e3 of this.#A())this.#f[e3]===void 0||this.#l[e3]===void 0||this.#T(this.#f[e3])||(yield[this.#l[e3],this.#f[e3]])}*keys(){for(const e3 of this.#N()){const t3=this.#l[e3];t3===void 0||this.#T(this.#f[e3])||(yield t3)}}*rkeys(){for(const e3 of this.#A()){const t3=this.#l[e3];t3===void 0||this.#T(this.#f[e3])||(yield t3)}}*values(){for(const e3 of this.#N())this.#f[e3]===void 0||this.#T(this.#f[e3])||(yield this.#f[e3])}*rvalues(){for(const e3 of this.#A())this.#f[e3]===void 0||this.#T(this.#f[e3])||(yield this.#f[e3])}[Symbol.iterator](){return this.entries()}[Symbol.toStringTag]="LRUCache";find(e3,t3={}){for(const n3 of this.#N()){const r3=this.#f[n3],i2=this.#T(r3)?r3.__staleWhileFetching:r3;if(i2!==void 0&&e3(i2,this.#l[n3],this))return this.get(this.#l[n3],t3)}}forEach(e3,t3=this){for(const n3 of this.#N()){const r3=this.#f[n3],i2=this.#T(r3)?r3.__staleWhileFetching:r3;i2!==void 0&&e3.call(t3,i2,this.#l[n3],this)}}rforEach(e3,t3=this){for(const n3 of this.#A()){const r3=this.#f[n3],i2=this.#T(r3)?r3.__staleWhileFetching:r3;i2!==void 0&&e3.call(t3,i2,this.#l[n3],this)}}purgeStale(){let e3=!1;for(const t3 of this.#A({allowStale:!0}))this.#R(t3)&&(this.#D(this.#l[t3],"expire"),e3=!0);return e3}info(e3){const t3=this.#c.get(e3);if(t3===void 0)return;const n3=this.#f[t3],r3=this.#T(n3)?n3.__staleWhileFetching:n3;if(r3===void 0)return;const o2={value:r3};if(this.#b&&this.#E){const e4=this.#b[t3],n4=this.#E[t3];if(e4&&n4){const t4=e4-(i.now()-n4);o2.ttl=t4,o2.start=Date.now()}}return this.#y&&(o2.size=this.#y[t3]),o2}dump(){const e3=[];for(const t3 of this.#N({allowStale:!0})){const n3=this.#l[t3],r3=this.#f[t3],o2=this.#T(r3)?r3.__staleWhileFetching:r3;if(o2===void 0||n3===void 0)continue;const s2={value:o2};if(this.#b&&this.#E){s2.ttl=this.#b[t3];const e4=i.now()-this.#E[t3];s2.start=Math.floor(Date.now()-e4)}this.#y&&(s2.size=this.#y[t3]),e3.unshift([n3,s2])}return e3}load(e3){this.clear();for(const[t3,n3]of e3){if(n3.start){const e4=Date.now()-n3.start;n3.start=i.now()-e4}this.set(t3,n3.value,n3)}}set(e3,t3,n3={}){if(t3===void 0)return this.delete(e3),this;const{ttl:r3=this.ttl,start:i2,noDisposeOnSet:o2=this.noDisposeOnSet,sizeCalculation:s2=this.sizeCalculation,status:a2}=n3;let{noUpdateTTL:u2=this.noUpdateTTL}=n3;const c2=this.#C(e3,t3,n3.size||0,s2);if(this.maxEntrySize&&c2>this.maxEntrySize)return a2&&(a2.set="miss",a2.maxEntrySizeExceeded=!0),this.#D(e3,"set"),this;let l2=this.#a===0?void 0:this.#c.get(e3);if(l2===void 0)l2=this.#a===0?this.#v:this.#m.length!==0?this.#m.pop():this.#a===this.#t?this.#V(!1):this.#a,this.#l[l2]=e3,this.#f[l2]=t3,this.#c.set(e3,l2),this.#p[this.#v]=l2,this.#d[l2]=this.#v,this.#v=l2,this.#a++,this.#F(l2,c2,a2),a2&&(a2.set="add"),u2=!1;else{this.#S(l2);const n4=this.#f[l2];if(t3!==n4){if(this.#w&&this.#T(n4)){n4.__abortController.abort(new Error("replaced"));const{__staleWhileFetching:t4}=n4;t4===void 0||o2||(this.#_&&this.#r?.(t4,e3,"set"),this.#O&&this.#g?.push([t4,e3,"set"]))}else o2||(this.#_&&this.#r?.(n4,e3,"set"),this.#O&&this.#g?.push([n4,e3,"set"]));if(this.#k(l2),this.#F(l2,c2,a2),this.#f[l2]=t3,a2){a2.set="replace";const e4=n4&&this.#T(n4)?n4.__staleWhileFetching:n4;e4!==void 0&&(a2.oldValue=e4)}}else a2&&(a2.set="update")}if(r3===0||this.#b||this.#j(),this.#b&&(u2||this.#P(l2,r3,i2),a2&&this.#M(a2,l2)),!o2&&this.#O&&this.#g){const e4=this.#g;let t4;for(;t4=e4?.shift();)this.#i?.(...t4)}return this}pop(){try{for(;this.#a;){const e3=this.#f[this.#h];if(this.#V(!0),this.#T(e3)){if(e3.__staleWhileFetching)return e3.__staleWhileFetching}else if(e3!==void 0)return e3}}finally{if(this.#O&&this.#g){const e3=this.#g;let t3;for(;t3=e3?.shift();)this.#i?.(...t3)}}}#V(e3){const t3=this.#h,n3=this.#l[t3],r3=this.#f[t3];return this.#w&&this.#T(r3)?r3.__abortController.abort(new Error("evicted")):(this.#_||this.#O)&&(this.#_&&this.#r?.(r3,n3,"evict"),this.#O&&this.#g?.push([r3,n3,"evict"])),this.#k(t3),e3&&(this.#l[t3]=void 0,this.#f[t3]=void 0,this.#m.push(t3)),this.#a===1?(this.#h=this.#v=0,this.#m.length=0):this.#h=this.#p[t3],this.#c.delete(n3),this.#a--,t3}has(e3,t3={}){const{updateAgeOnHas:n3=this.updateAgeOnHas,status:r3}=t3,i2=this.#c.get(e3);if(i2!==void 0){const e4=this.#f[i2];if(this.#T(e4)&&e4.__staleWhileFetching===void 0)return!1;if(!this.#R(i2))return n3&&this.#L(i2),r3&&(r3.has="hit",this.#M(r3,i2)),!0;r3&&(r3.has="stale",this.#M(r3,i2))}else r3&&(r3.has="miss");return!1}peek(e3,t3={}){const{allowStale:n3=this.allowStale}=t3,r3=this.#c.get(e3);if(r3===void 0||!n3&&this.#R(r3))return;const i2=this.#f[r3];return this.#T(i2)?i2.__staleWhileFetching:i2}#I(e3,t3,n3,r3){const i2=t3===void 0?void 0:this.#f[t3];if(this.#T(i2))return i2;const o2=new u,{signal:s2}=n3;s2?.addEventListener("abort",()=>o2.abort(s2.reason),{signal:o2.signal});const a2={signal:o2.signal,options:n3,context:r3},c2=(r4,i3=!1)=>{const{aborted:s3}=o2.signal,u2=n3.ignoreFetchAbort&&r4!==void 0;if(n3.status&&(s3&&!i3?(n3.status.fetchAborted=!0,n3.status.fetchError=o2.signal.reason,u2&&(n3.status.fetchAbortIgnored=!0)):n3.status.fetchResolved=!0),s3&&!u2&&!i3)return l2(o2.signal.reason);const c3=f2;return this.#f[t3]===f2&&(r4===void 0?c3.__staleWhileFetching?this.#f[t3]=c3.__staleWhileFetching:this.#D(e3,"fetch"):(n3.status&&(n3.status.fetchUpdated=!0),this.set(e3,r4,a2.options))),r4},l2=r4=>{const{aborted:i3}=o2.signal,s3=i3&&n3.allowStaleOnFetchAbort,a3=s3||n3.allowStaleOnFetchRejection,u2=a3||n3.noDeleteOnFetchRejection,c3=f2;if(this.#f[t3]===f2&&(u2&&c3.__staleWhileFetching!==void 0?s3||(this.#f[t3]=c3.__staleWhileFetching):this.#D(e3,"fetch")),a3)return n3.status&&c3.__staleWhileFetching!==void 0&&(n3.status.returnedStale=!0),c3.__staleWhileFetching;if(c3.__returned===c3)throw r4};n3.status&&(n3.status.fetchDispatched=!0);const f2=new Promise((t4,r4)=>{const s3=this.#o?.(e3,i2,a2);s3&&s3 instanceof Promise&&s3.then(e4=>t4(e4===void 0?void 0:e4),r4),o2.signal.addEventListener("abort",()=>{n3.ignoreFetchAbort&&!n3.allowStaleOnFetchAbort||(t4(void 0),n3.allowStaleOnFetchAbort&&(t4=e4=>c2(e4,!0)))})}).then(c2,e4=>(n3.status&&(n3.status.fetchRejected=!0,n3.status.fetchError=e4),l2(e4))),p2=Object.assign(f2,{__abortController:o2,__staleWhileFetching:i2,__returned:void 0});return t3===void 0?(this.set(e3,p2,{...a2.options,status:void 0}),t3=this.#c.get(e3)):this.#f[t3]=p2,p2}#T(e3){if(!this.#w)return!1;const t3=e3;return!!t3&&t3 instanceof Promise&&t3.hasOwnProperty("__staleWhileFetching")&&t3.__abortController instanceof u}async fetch(e3,t3={}){const{allowStale:n3=this.allowStale,updateAgeOnGet:r3=this.updateAgeOnGet,noDeleteOnStaleGet:i2=this.noDeleteOnStaleGet,ttl:o2=this.ttl,noDisposeOnSet:s2=this.noDisposeOnSet,size:a2=0,sizeCalculation:u2=this.sizeCalculation,noUpdateTTL:c2=this.noUpdateTTL,noDeleteOnFetchRejection:l2=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:f2=this.allowStaleOnFetchRejection,ignoreFetchAbort:p2=this.ignoreFetchAbort,allowStaleOnFetchAbort:d2=this.allowStaleOnFetchAbort,context:h2,forceRefresh:v=!1,status:m,signal:g}=t3;if(!this.#w)return m&&(m.fetch="get"),this.get(e3,{allowStale:n3,updateAgeOnGet:r3,noDeleteOnStaleGet:i2,status:m});const y={allowStale:n3,updateAgeOnGet:r3,noDeleteOnStaleGet:i2,ttl:o2,noDisposeOnSet:s2,size:a2,sizeCalculation:u2,noUpdateTTL:c2,noDeleteOnFetchRejection:l2,allowStaleOnFetchRejection:f2,allowStaleOnFetchAbort:d2,ignoreFetchAbort:p2,status:m,signal:g};let E=this.#c.get(e3);if(E===void 0){m&&(m.fetch="miss");const t4=this.#I(e3,E,y,h2);return t4.__returned=t4}{const t4=this.#f[E];if(this.#T(t4)){const e4=n3&&t4.__staleWhileFetching!==void 0;return m&&(m.fetch="inflight",e4&&(m.returnedStale=!0)),e4?t4.__staleWhileFetching:t4.__returned=t4}const i3=this.#R(E);if(!v&&!i3)return m&&(m.fetch="hit"),this.#S(E),r3&&this.#L(E),m&&this.#M(m,E),t4;const o3=this.#I(e3,E,y,h2),s3=o3.__staleWhileFetching!==void 0&&n3;return m&&(m.fetch=i3?"stale":"refresh",s3&&i3&&(m.returnedStale=!0)),s3?o3.__staleWhileFetching:o3.__returned=o3}}async forceFetch(e3,t3={}){const n3=await this.fetch(e3,t3);if(n3===void 0)throw new Error("fetch() returned undefined");return n3}memo(e3,t3={}){const n3=this.#s;if(!n3)throw new Error("no memoMethod provided to constructor");const{context:r3,forceRefresh:i2,...o2}=t3,s2=this.get(e3,o2);if(!i2&&s2!==void 0)return s2;const a2=n3(e3,s2,{options:o2,context:r3});return this.set(e3,a2,o2),a2}get(e3,t3={}){const{allowStale:n3=this.allowStale,updateAgeOnGet:r3=this.updateAgeOnGet,noDeleteOnStaleGet:i2=this.noDeleteOnStaleGet,status:o2}=t3,s2=this.#c.get(e3);if(s2!==void 0){const t4=this.#f[s2],a2=this.#T(t4);return o2&&this.#M(o2,s2),this.#R(s2)?(o2&&(o2.get="stale"),a2?(o2&&n3&&t4.__staleWhileFetching!==void 0&&(o2.returnedStale=!0),n3?t4.__staleWhileFetching:void 0):(i2||this.#D(e3,"expire"),o2&&n3&&(o2.returnedStale=!0),n3?t4:void 0)):(o2&&(o2.get="hit"),a2?t4.__staleWhileFetching:(this.#S(s2),r3&&this.#L(s2),t4))}o2&&(o2.get="miss")}#U(e3,t3){this.#d[t3]=e3,this.#p[e3]=t3}#S(e3){e3!==this.#v&&(e3===this.#h?this.#h=this.#p[e3]:this.#U(this.#d[e3],this.#p[e3]),this.#U(this.#v,e3),this.#v=e3)}delete(e3){return this.#D(e3,"delete")}#D(e3,t3){let n3=!1;if(this.#a!==0){const r3=this.#c.get(e3);if(r3!==void 0)if(n3=!0,this.#a===1)this.#B(t3);else{this.#k(r3);const n4=this.#f[r3];if(this.#T(n4)?n4.__abortController.abort(new Error("deleted")):(this.#_||this.#O)&&(this.#_&&this.#r?.(n4,e3,t3),this.#O&&this.#g?.push([n4,e3,t3])),this.#c.delete(e3),this.#l[r3]=void 0,this.#f[r3]=void 0,r3===this.#v)this.#v=this.#d[r3];else if(r3===this.#h)this.#h=this.#p[r3];else{const e4=this.#d[r3];this.#p[e4]=this.#p[r3];const t4=this.#p[r3];this.#d[t4]=this.#d[r3]}this.#a--,this.#m.push(r3)}}if(this.#O&&this.#g?.length){const e4=this.#g;let t4;for(;t4=e4?.shift();)this.#i?.(...t4)}return n3}clear(){return this.#B("delete")}#B(e3){for(const t3 of this.#A({allowStale:!0})){const n3=this.#f[t3];if(this.#T(n3))n3.__abortController.abort(new Error("deleted"));else{const r3=this.#l[t3];this.#_&&this.#r?.(n3,r3,e3),this.#O&&this.#g?.push([n3,r3,e3])}}if(this.#c.clear(),this.#f.fill(void 0),this.#l.fill(void 0),this.#b&&this.#E&&(this.#b.fill(0),this.#E.fill(0)),this.#y&&this.#y.fill(0),this.#h=0,this.#v=0,this.#m.length=0,this.#u=0,this.#a=0,this.#O&&this.#g){const e4=this.#g;let t3;for(;t3=e4?.shift();)this.#i?.(...t3)}}}t2.LRUCache=h},2874:(e2,t2,n2)=>{"use strict";n2.r(t2),n2.d(t2,{BREAK:()=>Ee,BreakingChangeType:()=>Ds,DEFAULT_DEPRECATION_REASON:()=>qn,DangerousChangeType:()=>Ls,DirectiveLocation:()=>X,ExecutableDefinitionsRule:()=>jr,FieldsOnCorrectTypeRule:()=>$r,FragmentsOnCompositeTypesRule:()=>Cr,GraphQLBoolean:()=>En,GraphQLDeprecatedDirective:()=>Wn,GraphQLDirective:()=>Bn,GraphQLEnumType:()=>Zt,GraphQLError:()=>N,GraphQLFloat:()=>mn,GraphQLID:()=>bn,GraphQLIncludeDirective:()=>Hn,GraphQLInputObjectType:()=>tn,GraphQLInt:()=>vn,GraphQLInterfaceType:()=>Jt,GraphQLList:()=>xt,GraphQLNonNull:()=>jt,GraphQLObjectType:()=>Ht,GraphQLScalarType:()=>Bt,GraphQLSchema:()=>Zn,GraphQLSkipDirective:()=>Gn,GraphQLSpecifiedByDirective:()=>zn,GraphQLString:()=>yn,GraphQLUnionType:()=>Qt,Kind:()=>j,KnownArgumentNamesRule:()=>ei,KnownDirectivesRule:()=>Xr,KnownFragmentNamesRule:()=>Br,KnownTypeNamesRule:()=>Mr,Lexer:()=>ee,Location:()=>M,LoneAnonymousOperationRule:()=>Dr,LoneSchemaDefinitionRule:()=>Si,NoDeprecatedCustomRule:()=>ko,NoFragmentCyclesRule:()=>qr,NoSchemaIntrospectionCustomRule:()=>Co,NoUndefinedVariablesRule:()=>zr,NoUnusedFragmentsRule:()=>Hr,NoUnusedVariablesRule:()=>Yr,OverlappingFieldsCanBeMergedRule:()=>hi,PossibleFragmentSpreadsRule:()=>Gr,PossibleTypeExtensionsRule:()=>Li,ProvidedRequiredArgumentsRule:()=>ui,ScalarLeafsRule:()=>Vr,SchemaMetaFieldDef:()=>Ln,SingleFieldSubscriptionsRule:()=>Lr,Source:()=>z,Token:()=>k,TokenKind:()=>F,TypeInfo:()=>Er,TypeKind:()=>Pn,TypeMetaFieldDef:()=>Mn,TypeNameMetaFieldDef:()=>kn,UniqueArgumentNamesRule:()=>ni,UniqueDirectiveNamesRule:()=>Pi,UniqueDirectivesPerLocationRule:()=>Jr,UniqueEnumValueNamesRule:()=>Ri,UniqueFieldDefinitionNamesRule:()=>xi,UniqueFragmentNamesRule:()=>Ur,UniqueInputFieldNamesRule:()=>Ii,UniqueOperationNamesRule:()=>Pr,UniqueOperationTypesRule:()=>Ni,UniqueTypeNamesRule:()=>Ai,UniqueVariableNamesRule:()=>Wr,ValidationContext:()=>Ui,ValuesOfCorrectTypeRule:()=>ri,VariablesAreInputTypesRule:()=>Fr,VariablesInAllowedPositionRule:()=>fi,__Directive:()=>Sn,__DirectiveLocation:()=>Nn,__EnumValue:()=>jn,__Field:()=>Rn,__InputValue:()=>xn,__Schema:()=>In,__Type:()=>An,__TypeKind:()=>Dn,assertAbstractType:()=>Rt,assertCompositeType:()=>Nt,assertDirective:()=>Un,assertEnumType:()=>dt,assertInputObjectType:()=>vt,assertInputType:()=>_t,assertInterfaceType:()=>ct,assertLeafType:()=>It,assertListType:()=>gt,assertNamedType:()=>Ft,assertNonNullType:()=>Et,assertNullableType:()=>Mt,assertObjectType:()=>at,assertOutputType:()=>Ot,assertScalarType:()=>ot,assertSchema:()=>Kn,assertType:()=>rt,assertUnionType:()=>ft,assertValidName:()=>Ne,assertValidSchema:()=>nr,assertWrappingType:()=>Dt,astFromValue:()=>On,buildASTSchema:()=>ns,buildClientSchema:()=>Wo,buildSchema:()=>rs,coerceInputValue:()=>Ji,concatAST:()=>Ts,createSourceEventStream:()=>Mo,defaultFieldResolver:()=>Io,defaultTypeResolver:()=>To,doTypesOverlap:()=>an,execute:()=>no,executeSync:()=>ro,extendSchema:()=>Jo,findBreakingChanges:()=>Ms,findDangerousChanges:()=>ks,findDeprecatedUsages:()=>Xs,formatError:()=>Fo,getDescription:()=>ts,getDirectiveValues:()=>eo,getIntrospectionQuery:()=>Uo,getLocation:()=>f,getNamedType:()=>Vt,getNullableType:()=>kt,getOperationAST:()=>Bo,getOperationRootType:()=>Wi,getVisitFn:()=>we,graphql:()=>No,graphqlSync:()=>Ao,introspectionFromSchema:()=>qo,introspectionTypes:()=>Cn,isAbstractType:()=>At,isCompositeType:()=>St,isDefinitionNode:()=>wr,isDirective:()=>$n,isEnumType:()=>pt,isEqualType:()=>on,isExecutableDefinitionNode:()=>Or,isInputObjectType:()=>ht,isInputType:()=>bt,isInterfaceType:()=>ut,isIntrospectionType:()=>Fn,isLeafType:()=>Tt,isListType:()=>mt,isNamedType:()=>Ct,isNonNullType:()=>yt,isNullableType:()=>Lt,isObjectType:()=>st,isOutputType:()=>wt,isRequiredArgument:()=>Xt,isRequiredInputField:()=>rn,isScalarType:()=>it,isSchema:()=>Qn,isSelectionNode:()=>Tr,isSpecifiedDirective:()=>Xn,isSpecifiedScalarType:()=>wn,isType:()=>nt,isTypeDefinitionNode:()=>Ar,isTypeExtensionNode:()=>xr,isTypeNode:()=>Sr,isTypeSubTypeOf:()=>sn,isTypeSystemDefinitionNode:()=>Nr,isTypeSystemExtensionNode:()=>Rr,isUnionType:()=>lt,isValidNameError:()=>Ae,isValueNode:()=>Ir,isWrappingType:()=>Pt,lexicographicSortSchema:()=>as,locatedError:()=>Ie,parse:()=>pe,parseType:()=>he,parseValue:()=>de,print:()=>Ge,printError:()=>R,printIntrospectionSchema:()=>ps,printLocation:()=>p,printSchema:()=>fs,printSourceLocation:()=>d,printType:()=>ms,responsePathAsArray:()=>qi,separateOperations:()=>Is,specifiedDirectives:()=>Yn,specifiedRules:()=>ki,specifiedScalarTypes:()=>_n,stripIgnoredCharacters:()=>As,subscribe:()=>Do,syntaxError:()=>x,typeFromAST:()=>yr,validate:()=>Bi,validateSchema:()=>tr,valueFromAST:()=>Yi,valueFromASTUntyped:()=>Ze,version:()=>r2,versionInfo:()=>i,visit:()=>be,visitInParallel:()=>_e,visitWithTypeInfo:()=>_r});var r2="15.8.0",i=Object.freeze({major:15,minor:8,patch:0,preReleaseTag:null});function o(e3){return typeof e3?.then=="function"}function s(e3){return s=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e4){return typeof e4}:function(e4){return e4&&typeof Symbol=="function"&&e4.constructor===Symbol&&e4!==Symbol.prototype?"symbol":typeof e4},s(e3)}function a(e3){return s(e3)=="object"&&e3!==null}var u=typeof Symbol=="function"&&Symbol.iterator!=null?Symbol.iterator:"@@iterator",c=typeof Symbol=="function"&&Symbol.asyncIterator!=null?Symbol.asyncIterator:"@@asyncIterator",l=typeof Symbol=="function"&&Symbol.toStringTag!=null?Symbol.toStringTag:"@@toStringTag";function f(e3,t3){for(var n3,r3=/\r\n|[\n\r]/g,i2=1,o2=t3+1;(n3=r3.exec(e3.body))&&n3.index<t3;)i2+=1,o2=t3+1-(n3.index+n3[0].length);return{line:i2,column:o2}}function p(e3){return d(e3.source,f(e3.source,e3.start))}function d(e3,t3){var n3=e3.locationOffset.column-1,r3=v(n3)+e3.body,i2=t3.line-1,o2=e3.locationOffset.line-1,s2=t3.line+o2,a2=t3.line===1?n3:0,u2=t3.column+a2,c2="".concat(e3.name,":").concat(s2,":").concat(u2,`
56
+ `},7154:(e2,t2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.loadLink=function({href:e3}){return new Promise((t3,n2)=>{const r2=document.createElement("link");e3.endsWith(".css")&&r2.setAttribute("rel","stylesheet"),r2.setAttribute("href",e3),r2.onload=()=>t3(),r2.onerror=(e4,t4,r3,i,o)=>n2(o||new Error(`[preview.preview] failed to load link: ${e4}`)),document.head.appendChild(r2)})},t2.loadScript=function({src:e3}){return new Promise((t3,n2)=>{const r2=document.createElement("script");r2.setAttribute("defer","defer"),r2.src=e3,r2.onload=()=>t3(),r2.onerror=(e4,t4,r3,i,o)=>n2(o||new Error(`[preview.preview] failed to load script: ${e4}`)),document.head.appendChild(r2)})}},2268:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0});var r2={PreviewAspect:!0,PreviewRuntime:!0,ENV_PREVIEW_STRATEGY_NAME:!0,COMPONENT_PREVIEW_STRATEGY_NAME:!0};function i(){const e3=n2(3389);return i=function(){return e3},e3}Object.defineProperty(t2,"COMPONENT_PREVIEW_STRATEGY_NAME",{enumerable:!0,get:function(){return s().COMPONENT_PREVIEW_STRATEGY_NAME}}),Object.defineProperty(t2,"ENV_PREVIEW_STRATEGY_NAME",{enumerable:!0,get:function(){return s().ENV_PREVIEW_STRATEGY_NAME}}),Object.defineProperty(t2,"PreviewAspect",{enumerable:!0,get:function(){return i().PreviewAspect}}),Object.defineProperty(t2,"PreviewRuntime",{enumerable:!0,get:function(){return i().PreviewRuntime}}),Object.defineProperty(t2,"default",{enumerable:!0,get:function(){return i().PreviewAspect}});var o=n2(2709);function s(){const e3=n2(9285);return s=function(){return e3},e3}Object.keys(o).forEach(function(e3){e3!=="default"&&e3!=="__esModule"&&(Object.prototype.hasOwnProperty.call(r2,e3)||e3 in t2&&t2[e3]===o[e3]||Object.defineProperty(t2,e3,{enumerable:!0,get:function(){return o[e3]}}))})},9663:(e2,t2,n2)=>{"use strict";function r2(){const e3=n2(6300);return r2=function(){return e3},e3}Object.defineProperty(t2,"__esModule",{value:!0}),Object.defineProperty(t2,"PREVIEW_MODULES",{enumerable:!0,get:function(){return r2().PREVIEW_MODULES}}),Object.defineProperty(t2,"PreviewModules",{enumerable:!0,get:function(){return r2().PreviewModules}}),Object.defineProperty(t2,"linkModules",{enumerable:!0,get:function(){return r2().linkModules}})},3389:(e2,t2,n2)=>{"use strict";function r2(){const e3=n2(2337);return r2=function(){return e3},e3}Object.defineProperty(t2,"__esModule",{value:!0}),t2.default=t2.PreviewRuntime=t2.PreviewAspect=void 0;const i=t2.PreviewRuntime=new(r2()).RuntimeDefinition("preview"),o=t2.PreviewAspect=r2().Aspect.create({id:"teambit.preview/preview",dependencies:[],defaultConfig:{},declareRuntime:i});t2.default=o},755:(e2,t2,n2)=>{"use strict";function r2(){const e3=n2(8410);return r2=function(){return e3},e3}function i(){const e3=n2(2337);return i=function(){return e3},e3}function o(){const e3=n2(2435);return o=function(){return e3},e3}function s(){const e3=(t3=n2(2607))&&t3.__esModule?t3:{default:t3};var t3;return s=function(){return e3},e3}function a(){const e3=n2(2935);return a=function(){return e3},e3}function u(){const e3=n2(7414);return u=function(){return e3},e3}function c(){const e3=n2(3389);return c=function(){return e3},e3}function l(){const e3=n2(2709);return l=function(){return e3},e3}function f(){const e3=n2(2269);return f=function(){return e3},e3}function p(){const e3=n2(9442);return p=function(){return e3},e3}function d(){const e3=n2(4606);return d=function(){return e3},e3}function h(){const e3=n2(9663);return h=function(){return e3},e3}function v(){const e3=n2(7154);return v=function(){return e3},e3}function m(){const e3=n2(6575);return m=function(){return e3},e3}function g(e3,t3,n3){return(t3=function(e4){var t4=function(e5){if(typeof e5!="object"||!e5)return e5;var t5=e5[Symbol.toPrimitive];if(t5!==void 0){var n4=t5.call(e5,"string");if(typeof n4!="object")return n4;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e5)}(e4);return typeof t4=="symbol"?t4:t4+""}(t3))in e3?Object.defineProperty(e3,t3,{value:n3,enumerable:!0,configurable:!0,writable:!0}):e3[t3]=n3,e3}class y{constructor(e3,t3,n3){this.pubsub=e3,this.previewSlot=t3,this.renderingContextSlot=n3,g(this,"isDev",!1),g(this,"_setupPromise",void 0),g(this,"setup",()=>this.isReady()?Promise.resolve():(this._setupPromise??=new Promise(e4=>{h().PREVIEW_MODULES.onSet.add(()=>{this.isReady()&&e4()})}),this._setupPromise)),g(this,"render",async e4=>{window.document.body.style.width="fit-content";const{previewName:t4,componentId:n4,envId:r3}=this.getLocation(),i2=t4||this.getDefault();e4&&(this.isDev=e4==="teambit.workspace/workspace");const o2=this.getPreview(i2);if(!o2||!n4)throw new(u()).PreviewNotFound(t4);const s2=await Promise.all((o2.include||[]).map(async e5=>{const t5=this.getPreview(e5);if(!t5)return;const r4=await this.getPreviewModule(e5,n4);return t5.selectPreviewModel?.(n4.fullName,r4)})),c2=this.getQuery(),l2=this.getParam(c2,"onlyOverview")==="true"?[]:s2.filter(e5=>!!e5).map(e5=>{if(!e5.default||!(0,a().isObject)(e5.default))return e5;const t5=Object.keys(e5).filter(e6=>e6!=="default"),n5=Object.keys(e5.default);return(0,a().intersection)(t5,n5).length===n5.length?e5.default:e5}),f2=this.isDev?await this.getComponentAspects(n4.toString()):void 0,p2=await this.getPreviewModule(i2,n4),d2=o2.render(n4,r3||"",p2,l2,this.getRenderingContext(f2));return this.reportSize(),this.setViewport(),this.setFullScreen(),d2}),g(this,"componentAspectsCache",new(d()).LRUCache({max:100,ttl:432e5})),g(this,"getComponentAspects",async e4=>{const t4=this.componentAspectsCache.get(e4);if(t4)return t4;const n4=await(0,p().fetchComponentAspects)(e4);return this.componentAspectsCache.set(e4,n4),n4}),this.registerClickPubSub()}registerClickPubSub(){window.addEventListener("click",e3=>{const t3=Date.now(),n3=Object.assign({},e3);this.pubsub.pub(c().PreviewAspect.id,new(l()).ClickInsideAnIframeEvent(t3,n3))})}isReady(){const{previewName:e3}=this.getLocation(),t3=e3||this.getDefault();if(!h().PREVIEW_MODULES.has(t3))return!1;const n3=this.getPreview(t3);return!!n3&&!!(n3.include?.every(e4=>h().PREVIEW_MODULES.has(e4))??1)}setFullScreen(){const e3=this.getQuery();if(!this.getParam(e3,"fullscreen"))return;const t3=window.document.getElementById("root");t3&&(t3.style.height="100vh")}setViewport(){const e3=this.getQuery(),t3=this.getParam(e3,"viewport");t3?window.document.body.style.maxWidth=`${t3}px`:window.document.body.style.width="100%"}reportSize(){if(!window?.parent||!window?.document)return;const e3=()=>{const{width:e4,height:t4}=(()=>{const e5=window.document.getElementById("root")??window.document.documentElement,t5=e5.style.height;e5.style.height="auto";const n4=e5.scrollHeight,r4=e5.scrollWidth;return e5.style.height=t5,{width:r4,height:n4}})();this.pubsub.pub(c().PreviewAspect.id,new(m()).SizeEvent({width:e4,height:t4}))};e3();const t3=(0,a().debounce)(e3,100),n3=new ResizeObserver(t3);n3.observe(window.document.documentElement);const r3=window.document.getElementById("root");r3&&n3.observe(r3)}async getPreviewModule(e3,t3){const n3=t3.fullName,r3=h().PREVIEW_MODULES.get(e3);if(!r3)throw new Error(`[preview.preview] missing preview "${e3}"`);if(r3.componentMap[n3])return r3;const i2=await this.fetchComponentPreview(t3,e3);h().PREVIEW_MODULES.loadComponentPreviews(n3,i2);const o2=i2[e3],s2=i2[`${e3}_metadata`];return{modulesMap:r3.modulesMap,componentMap:{[t3.fullName]:o2},componentMapMetadata:{[t3.fullName]:s2}}}async fetchComponentPreview(e3,t3){let n3;const r3=await this.fetchComponentPreviewFiles(e3,t3);return r3===null?{}:(await Promise.all(r3.map(t4=>{if(!t4.endsWith("-preview.js"))return this.addComponentFileElement(e3,t4);n3=t4})),n3?this.loadPreviewScript(e3,t3,n3):{})}addComponentFileElement(e3,t3){if(t3.endsWith(".js"))return this.addComponentFileScriptElement(e3,t3);this.addComponentFileLinkElement(e3,t3).catch(e4=>{throw new Error(`[preview.preview] failed loading asset "${t3}". Error - "${e4?.toString()}"`)})}async fetchComponentPreviewFiles(e3,t3){const n3=`/api/${e3.toString()}/~aspect/preview-assets`,r3=await(0,s().default)(n3);if(r3.status>=400)throw new(u()).PreviewNotFound(t3);const i2=await r3.json();if(i2.isBundledWithEnv)return null;if(!i2.files||!i2.files.length)throw new(u()).PreviewNotFound(t3);return i2.files}addComponentFileScriptElement(e3,t3){const n3=`/api/${e3.toString()}/~aspect/component-preview/${t3}`;return(0,v().loadScript)({src:n3})}addComponentFileLinkElement(e3,t3){const n3=`/api/${e3.toString()}/~aspect/component-preview/${t3}`;return(0,v().loadLink)({href:n3})}async loadPreviewScript(e3,t3,n3){const r3=`/api/${e3.toString()}/~aspect/component-preview/${n3}`;await(0,v().loadScript)({src:r3});const i2=`${e3.toStringWithoutVersion()}-preview`,o2=window[i2];if(!o2)throw new(u()).PreviewNotFound(t3);return o2}registerPreview(e3){return this.previewSlot.register(e3),this}getRenderingContext(e3){return new(f()).RenderingContext(this.renderingContextSlot,{aspectsFilter:e3})}registerRenderContext(e3){return this.renderingContextSlot.register(e3),this}getDefault(){const e3=this.previewSlot.values();return e3.find(e4=>e4.default)?.name||e3[0].name}getPreview(e3){return this.previewSlot.values().find(t3=>t3.name===e3)}getParam(e3,t3){return new URLSearchParams(e3).get(t3)}getQuery(){const e3=window.location.hash.substring(1),[,t3]=e3.split("?");return t3}getLocation(){const e3=window.location.hash.substring(1),[t3,n3]=e3.split("?");return{previewName:this.getParam(n3,"preview"),envId:this.getParam(n3,"env"),componentId:o().ComponentID.tryFromString(t3)}}static async provider([e3],t3,[n3,r3]){const i2=new y(e3,n3,r3);return window.addEventListener("hashchange",()=>{i2.render()}),i2}}g(y,"runtime",c().PreviewRuntime),g(y,"dependencies",[r2().PubsubAspect]),g(y,"slots",[i().Slot.withType(),i().Slot.withType()]),c().PreviewAspect.addRuntime(y)},2269:(e2,t2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.RenderingContext=void 0,t2.RenderingContext=class{constructor(e3,t3={}){this.contexts=e3,this.options=t3}get(e3){return this.contexts.get(e3)?.(this.options)}}},6575:(e2,t2,n2)=>{"use strict";function r2(){const e3=n2(8410);return r2=function(){return e3},e3}Object.defineProperty(t2,"__esModule",{value:!0}),t2.SizeEvent=void 0;class i extends r2().BitBaseEvent{constructor(e3){super(i.TYPE,"0.0.1",new Date().getTime(),e3)}}var o,s,a;t2.SizeEvent=i,o=i,a="preview-size",(s=function(e3){var t3=function(e4){if(typeof e4!="object"||!e4)return e4;var t4=e4[Symbol.toPrimitive];if(t4!==void 0){var n3=t4.call(e4,"string");if(typeof n3!="object")return n3;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e4)}(e3);return typeof t3=="symbol"?t3:t3+""}(s="TYPE"))in o?Object.defineProperty(o,s,{value:a,enumerable:!0,configurable:!0,writable:!0}):o[s]=a},9285:(e2,t2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.ENV_PREVIEW_STRATEGY_NAME=t2.COMPONENT_PREVIEW_STRATEGY_NAME=void 0,t2.ENV_PREVIEW_STRATEGY_NAME="env",t2.COMPONENT_PREVIEW_STRATEGY_NAME="component"},8434:(e2,t2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.BitBaseEvent=void 0,t2.BitBaseEvent=class{constructor(e3,t3,n2,r2){this.type=e3,this.version=t3,this.timestamp=n2,this.data=r2}}},8410:(e2,t2,n2)=>{"use strict";function r2(){const e3=n2(6525);return r2=function(){return e3},e3}function i(){const e3=n2(8434);return i=function(){return e3},e3}function o(){const e3=n2(9665);return o=function(){return e3},e3}Object.defineProperty(t2,"__esModule",{value:!0}),Object.defineProperty(t2,"BitBaseEvent",{enumerable:!0,get:function(){return i().BitBaseEvent}}),Object.defineProperty(t2,"PubsubAspect",{enumerable:!0,get:function(){return r2().PubsubAspect}}),Object.defineProperty(t2,"default",{enumerable:!0,get:function(){return r2().PubsubAspect}}),Object.defineProperty(t2,"usePubSub",{enumerable:!0,get:function(){return o().usePubSub}}),Object.defineProperty(t2,"usePubSubIframe",{enumerable:!0,get:function(){return o().usePubSubIframe}})},7559:(e2,t2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.PubSubNoParentError=void 0;class n2 extends Error{constructor(){super("could not connect to parent window"),this.name="PubSubNoParentError"}}t2.PubSubNoParentError=n2},9665:(e2,t2,n2)=>{"use strict";function r2(){const e3=i(n2(2015));return r2=function(){return e3},e3}function i(e3,t3){if(typeof WeakMap=="function")var n3=new WeakMap,r3=new WeakMap;return(i=function(e4,t4){if(!t4&&e4&&e4.__esModule)return e4;var i2,o2,s2={__proto__:null,default:e4};if(e4===null||typeof e4!="object"&&typeof e4!="function")return s2;if(i2=t4?r3:n3){if(i2.has(e4))return i2.get(e4);i2.set(e4,s2)}for(const t5 in e4)t5!=="default"&&{}.hasOwnProperty.call(e4,t5)&&((o2=(i2=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e4,t5))&&(o2.get||o2.set)?i2(s2,t5,o2):s2[t5]=e4[t5]);return s2})(e3,t3)}Object.defineProperty(t2,"__esModule",{value:!0}),t2.createProvider=function(e3){return({children:t3})=>r2().default.createElement(o.Provider,{value:e3},t3)},t2.pubsubRegistry=void 0,t2.usePubSub=s,t2.usePubSubIframe=function(e3){const t3=s();(0,r2().useEffect)(()=>{if(!e3?.current||!t3)return()=>{};const n3=t3.connect(e3.current);return()=>n3()},[e3?.current,t3])};const o=t2.pubsubRegistry=(0,r2().createContext)(void 0);function s(){return(0,r2().useContext)(o)}},6525:(e2,t2,n2)=>{"use strict";function r2(){const e3=n2(2337);return r2=function(){return e3},e3}Object.defineProperty(t2,"__esModule",{value:!0}),t2.default=t2.PubsubAspect=void 0;const i=t2.PubsubAspect=r2().Aspect.create({id:"teambit.harmony/pubsub",dependencies:[]});t2.default=i},9283:(e2,t2,n2)=>{"use strict";function r2(){const e3=n2(2268);return r2=function(){return e3},e3}function i(){const e3=n2(5867);return i=function(){return e3},e3}function o(){const e3=n2(7551);return o=function(){return e3},e3}function s(){const e3=n2(8926);return s=function(){return e3},e3}function a(){const e3=n2(7559);return a=function(){return e3},e3}function u(){const e3=n2(6525);return u=function(){return e3},e3}function c(e3,t3,n3){return(t3=function(e4){var t4=function(e5){if(typeof e5!="object"||!e5)return e5;var t5=e5[Symbol.toPrimitive];if(t5!==void 0){var n4=t5.call(e5,"string");if(typeof n4!="object")return n4;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e5)}(e4);return typeof t4=="symbol"?t4:t4+""}(t3))in e3?Object.defineProperty(e3,t3,{value:n3,enumerable:!0,configurable:!0,writable:!0}):e3[t3]=n3,e3}class l{constructor(){c(this,"_parentPubsub",void 0),c(this,"events",new(o()).EventEmitter2),c(this,"connectToParentPubSub",(e3=10)=>{if(e3<=0)throw new(a()).PubSubNoParentError;return(0,s().connectToParent)({timeout:300,methods:{pub:this.handleMessageFromParent}}).promise.then(e4=>this._parentPubsub=e4).catch(t3=>{if(t3.code!==s().ErrorCode.ConnectionTimeout)throw t3;return this.connectToParentPubSub(e3-1)})}),c(this,"handleMessageFromParent",(e3,t3)=>{this.events.emit(e3,t3)})}sub(e3,t3){const n3=this.events;return n3.on(e3,t3),()=>{n3.off(e3,t3)}}pub(e3,t3){this.events.emit(e3,t3),this._parentPubsub?.pub(e3,t3).catch(e4=>{console.error("[Pubsub.preview]",e4)})}inIframe(){try{return i().isBrowser&&window.self!==window.top}catch{return!1}}static async provider(){const e3=new l;return e3.inIframe()&&e3.connectToParentPubSub().catch(e4=>{e4 instanceof a().PubSubNoParentError||console.error("[Pubsub.preview]",e4)}),e3}}c(l,"runtime",r2().PreviewRuntime),u().PubsubAspect.addRuntime(l)},1110:function(e2,t2,n2){"use strict";var r2,i=this&&this.__createBinding||(Object.create?function(e3,t3,n3,r3){r3===void 0&&(r3=n3);var i2=Object.getOwnPropertyDescriptor(t3,n3);i2&&!("get"in i2?!t3.__esModule:i2.writable||i2.configurable)||(i2={enumerable:!0,get:function(){return t3[n3]}}),Object.defineProperty(e3,r3,i2)}:function(e3,t3,n3,r3){r3===void 0&&(r3=n3),e3[r3]=t3[n3]}),o=this&&this.__setModuleDefault||(Object.create?function(e3,t3){Object.defineProperty(e3,"default",{enumerable:!0,value:t3})}:function(e3,t3){e3.default=t3}),s=this&&this.__importStar||(r2=function(e3){return r2=Object.getOwnPropertyNames||function(e4){var t3=[];for(var n3 in e4)Object.prototype.hasOwnProperty.call(e4,n3)&&(t3[t3.length]=n3);return t3},r2(e3)},function(e3){if(e3&&e3.__esModule)return e3;var t3={};if(e3!=null)for(var n3=r2(e3),s2=0;s2<n3.length;s2++)n3[s2]!=="default"&&i(t3,e3,n3[s2]);return o(t3,e3),t3}),a=this&&this.__importDefault||function(e3){return e3&&e3.__esModule?e3:{default:e3}};Object.defineProperty(t2,"__esModule",{value:!0}),t2.HighlighterProvider=t2.PARAM_NAME=void 0;const u=s(n2(2015)),c=a(n2(7500)),l=n2(5110),f=a(n2(887)),p=a(n2(108));t2.PARAM_NAME="highlighter";const d={container:p.default.label};t2.HighlighterProvider=({children:e3})=>{const n3=function(){const[e4,t3]=(0,u.useState)(window?window.location.hash:"");return(0,u.useEffect)(()=>{const e5=()=>{t3(window.location.hash)};return e5(),window.addEventListener("hashchange",e5),()=>{window.removeEventListener("hashchange",e5)}},[]),e4}(),r3=(0,u.useMemo)(()=>{const e4=n3.split("?")[1];return f.default.parse(e4)[t2.PARAM_NAME]==="true"},[n3]);return u.default.createElement(l.ComponentHighlighter,{disabled:!r3,className:(0,c.default)(p.default.highlighter,r3&&p.default.active),classes:d},e3)}},9493:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.HighlighterProvider=void 0;var r2=n2(1110);Object.defineProperty(t2,"HighlighterProvider",{enumerable:!0,get:function(){return r2.HighlighterProvider}})},7075:(e2,t2,n2)=>{"use strict";function r2(){const e3=n2(2337);return r2=function(){return e3},e3}Object.defineProperty(t2,"__esModule",{value:!0}),t2.default=t2.ReactAspect=void 0;const i=t2.ReactAspect=r2().Aspect.create({id:"teambit.react/react"});t2.default=i},3893:(e2,t2,n2)=>{"use strict";function r2(){const e3=(t3=n2(7065))&&t3.__esModule?t3:{default:t3};var t3;return r2=function(){return e3},e3}function i(){const e3=n2(2337);return i=function(){return e3},e3}function o(){const e3=n2(2268);return o=function(){return e3},e3}function s(){const e3=n2(9493);return s=function(){return e3},e3}function a(){const e3=n2(7075);return a=function(){return e3},e3}function u(e3,t3,n3){return(t3=function(e4){var t4=function(e5){if(typeof e5!="object"||!e5)return e5;var t5=e5[Symbol.toPrimitive];if(t5!==void 0){var n4=t5.call(e5,"string");if(typeof n4!="object")return n4;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e5)}(e4);return typeof t4=="symbol"?t4:t4+""}(t3))in e3?Object.defineProperty(e3,t3,{value:n3,enumerable:!0,configurable:!0,writable:!0}):e3[t3]=n3,e3}class c{constructor(e3,t3){this.preview=e3,this.providerSlot=t3,u(this,"getRenderingContext",({aspectsFilter:e4})=>{let t4=this.providerSlot.toArray();if(e4){const n3=new Set(e4);n3.add(a().ReactAspect.id),t4=t4.filter(([e5])=>n3.has(e5))}return{providers:(0,r2().default)(t4.map(([,e5])=>e5))}})}registerProvider(e3){this.providerSlot.register(e3)}static async provider([e3],t3,[n3]){const r3=new c(e3,n3);return r3.registerProvider([s().HighlighterProvider]),e3.registerRenderContext(r3.getRenderingContext),r3}}u(c,"runtime",o().PreviewRuntime),u(c,"slots",[i().Slot.withType()]),u(c,"dependencies",[o().PreviewAspect]),a().ReactAspect.addRuntime(c)},2015:e2=>{"use strict";e2.exports=__webpack_require__(37953)},2326:e2=>{"use strict";e2.exports=__webpack_require__(88705)},7500:(e2,t2)=>{var n2;(function(){"use strict";var r2={}.hasOwnProperty;function i(){for(var e3="",t3=0;t3<arguments.length;t3++){var n3=arguments[t3];n3&&(e3=s(e3,o(n3)))}return e3}function o(e3){if(typeof e3=="string"||typeof e3=="number")return e3;if(typeof e3!="object")return"";if(Array.isArray(e3))return i.apply(null,e3);if(e3.toString!==Object.prototype.toString&&!e3.toString.toString().includes("[native code]"))return e3.toString();var t3="";for(var n3 in e3)r2.call(e3,n3)&&e3[n3]&&(t3=s(t3,n3));return t3}function s(e3,t3){return t3?e3?e3+" "+t3:e3+t3:e3}e2.exports?(i.default=i,e2.exports=i):(n2=function(){return i}.apply(t2,[]))===void 0||(e2.exports=n2)})()},3922:(e2,t2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.defaultJsonSerializer=void 0,t2.defaultJsonSerializer=JSON},4927:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.GraphQLWebSocketClient=void 0;const r2=n2(6917),i=n2(5928),o="ping",s="pong",a="complete";class u{get type(){return this._type}get id(){return this._id}get payload(){return this._payload}constructor(e3,t3,n3){this._type=e3,this._payload=t3,this._id=n3}get text(){const e3={type:this.type};return this.id!=null&&this.id!=null&&(e3.id=this.id),this.payload!=null&&this.payload!=null&&(e3.payload=this.payload),JSON.stringify(e3)}static parse(e3,t3){const{type:n3,payload:r3,id:i2}=JSON.parse(e3);return new u(n3,t3(r3),i2)}}class c{constructor(e3,{onInit:t3,onAcknowledged:n3,onPing:r3,onPong:c2}){this.socketState={acknowledged:!1,lastRequestId:0,subscriptions:{}},this.socket=e3,e3.addEventListener("open",async n4=>{var r4;this.socketState.acknowledged=!1,this.socketState.subscriptions={},e3.send((r4=t3?await t3():null,new u("connection_init",r4)).text)}),e3.addEventListener("close",e4=>{this.socketState.acknowledged=!1,this.socketState.subscriptions={}}),e3.addEventListener("error",e4=>{console.error(e4)}),e3.addEventListener("message",t4=>{try{const f=function(e4,t5=e5=>e5){return u.parse(e4,t5)}(t4.data);switch(f.type){case"connection_ack":return void(this.socketState.acknowledged?console.warn("Duplicate CONNECTION_ACK message ignored"):(this.socketState.acknowledged=!0,n3&&n3(f.payload)));case o:return void(r3?r3(f.payload).then(t5=>e3.send(l(t5).text)):e3.send(l(null).text));case s:return void(c2&&c2(f.payload))}if(!this.socketState.acknowledged||f.id===void 0||f.id===null||!this.socketState.subscriptions[f.id])return;const{query:p,variables:d,subscriber:h}=this.socketState.subscriptions[f.id];switch(f.type){case"next":return!f.payload.errors&&f.payload.data&&h.next&&h.next(f.payload.data),void(f.payload.errors&&h.error&&h.error(new i.ClientError({...f.payload,status:200},{query:p,variables:d})));case"error":return void(h.error&&h.error(new i.ClientError({errors:f.payload,status:200},{query:p,variables:d})));case a:return h.complete&&h.complete(),void delete this.socketState.subscriptions[f.id]}}catch(t5){console.error(t5),e3.close(1006)}e3.close(4400,"Unknown graphql-ws message.")})}makeSubscribe(e3,t3,n3,r3){const i2=(this.socketState.lastRequestId++).toString();var o2,s2;return this.socketState.subscriptions[i2]={query:e3,variables:r3,subscriber:n3},this.socket.send((o2=i2,s2={query:e3,operationName:t3,variables:r3},new u("subscribe",s2,o2)).text),()=>{this.socket.send(function(e4){return new u(a,void 0,e4)}(i2).text),delete this.socketState.subscriptions[i2]}}rawRequest(e3,t3){return new Promise((n3,r3)=>{let i2;this.rawSubscribe(e3,{next:(e4,t4)=>i2={data:e4,extensions:t4},error:r3,complete:()=>n3(i2)},t3)})}request(e3,t3){return new Promise((n3,r3)=>{let i2;this.subscribe(e3,{next:e4=>i2=e4,error:r3,complete:()=>n3(i2)},t3)})}subscribe(e3,t3,n3){const{query:i2,operationName:o2}=(0,r2.resolveRequestDocument)(e3);return this.makeSubscribe(i2,o2,t3,n3)}rawSubscribe(e3,t3,n3){return this.makeSubscribe(e3,void 0,t3,n3)}ping(e3){this.socket.send(function(e4){return new u(o,e4,void 0)}(e3).text)}close(){this.socket.close(1e3)}}function l(e3){return new u(s,e3,void 0)}c.PROTOCOL="graphql-transport-ws",t2.GraphQLWebSocketClient=c},3028:(e2,t2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.HeadersInstanceToPlainObject=t2.uppercase=void 0,t2.uppercase=e3=>e3.toUpperCase(),t2.HeadersInstanceToPlainObject=e3=>{const t3={};return e3.forEach((e4,n2)=>{t3[n2]=e4}),t3}},6313:function(e2,t2,n2){"use strict";var r2=this&&this.__createBinding||(Object.create?function(e3,t3,n3,r3){r3===void 0&&(r3=n3);var i2=Object.getOwnPropertyDescriptor(t3,n3);i2&&!("get"in i2?!t3.__esModule:i2.writable||i2.configurable)||(i2={enumerable:!0,get:function(){return t3[n3]}}),Object.defineProperty(e3,r3,i2)}:function(e3,t3,n3,r3){r3===void 0&&(r3=n3),e3[r3]=t3[n3]}),i=this&&this.__setModuleDefault||(Object.create?function(e3,t3){Object.defineProperty(e3,"default",{enumerable:!0,value:t3})}:function(e3,t3){e3.default=t3}),o=this&&this.__importStar||function(e3){if(e3&&e3.__esModule)return e3;var t3={};if(e3!=null)for(var n3 in e3)n3!=="default"&&Object.prototype.hasOwnProperty.call(e3,n3)&&r2(t3,e3,n3);return i(t3,e3),t3};Object.defineProperty(t2,"__esModule",{value:!0}),t2.request=t2.rawRequest=t2.GraphQLClient=t2.ClientError=t2.batchRequests=t2.resolveRequestDocument=t2.GraphQLWebSocketClient=t2.gql=void 0;const s=n2(3922),a=n2(3028),u=n2(7491),c=n2(6917),l=n2(5928);Object.defineProperty(t2,"ClientError",{enumerable:!0,get:function(){return l.ClientError}});const f=o(n2(2607)),p=f,d=e3=>{let t3={};return e3&&(typeof Headers<"u"&&e3 instanceof Headers||p&&p.Headers&&e3 instanceof p.Headers?t3=(0,a.HeadersInstanceToPlainObject)(e3):Array.isArray(e3)?e3.forEach(([e4,n3])=>{e4&&n3!==void 0&&(t3[e4]=n3)}):t3=e3),t3},h=e3=>e3.replace(/([\s,]|#[^\n\r]+)+/g," ").trim();class v{constructor(e3,t3={}){this.url=e3,this.requestConfig=t3,this.rawRequest=async(...e4)=>{const[t4,n3,r3]=e4,i2=(0,u.parseRawRequestArgs)(t4,n3,r3),{headers:o2,fetch:s2=f.default,method:a2="POST",requestMiddleware:l2,responseMiddleware:p2,...h2}=this.requestConfig,{url:v2}=this;i2.signal!==void 0&&(h2.signal=i2.signal);const{operationName:g2}=(0,c.resolveRequestDocument)(i2.query);return m({url:v2,query:i2.query,variables:i2.variables,headers:{...d(_(o2)),...d(i2.requestHeaders)},operationName:g2,fetch:s2,method:a2,fetchOptions:h2,middleware:l2}).then(e5=>(p2&&p2(e5),e5)).catch(e5=>{throw p2&&p2(e5),e5})}}async request(e3,...t3){const[n3,r3]=t3,i2=(0,u.parseRequestArgs)(e3,n3,r3),{headers:o2,fetch:s2=f.default,method:a2="POST",requestMiddleware:l2,responseMiddleware:p2,...h2}=this.requestConfig,{url:v2}=this;i2.signal!==void 0&&(h2.signal=i2.signal);const{query:g2,operationName:y2}=(0,c.resolveRequestDocument)(i2.document);return m({url:v2,query:g2,variables:i2.variables,headers:{...d(_(o2)),...d(i2.requestHeaders)},operationName:y2,fetch:s2,method:a2,fetchOptions:h2,middleware:l2}).then(e4=>(p2&&p2(e4),e4.data)).catch(e4=>{throw p2&&p2(e4),e4})}batchRequests(e3,t3){const n3=(0,u.parseBatchRequestArgs)(e3,t3),{headers:r3,...i2}=this.requestConfig;n3.signal!==void 0&&(i2.signal=n3.signal);const o2=n3.documents.map(({document:e4})=>(0,c.resolveRequestDocument)(e4).query),s2=n3.documents.map(({variables:e4})=>e4);return m({url:this.url,query:o2,variables:s2,headers:{...d(_(r3)),...d(n3.requestHeaders)},operationName:void 0,fetch:this.requestConfig.fetch??f.default,method:this.requestConfig.method||"POST",fetchOptions:i2,middleware:this.requestConfig.requestMiddleware}).then(e4=>(this.requestConfig.responseMiddleware&&this.requestConfig.responseMiddleware(e4),e4.data)).catch(e4=>{throw this.requestConfig.responseMiddleware&&this.requestConfig.responseMiddleware(e4),e4})}setHeaders(e3){return this.requestConfig.headers=e3,this}setHeader(e3,t3){const{headers:n3}=this.requestConfig;return n3?n3[e3]=t3:this.requestConfig.headers={[e3]:t3},this}setEndpoint(e3){return this.url=e3,this}}t2.GraphQLClient=v;const m=async e3=>{const{query:t3,variables:n3,fetchOptions:r3}=e3,i2=(d2=(0,a.uppercase)(e3.method??"post"),async e4=>{const{url:t4,query:n4,variables:r4,operationName:i3,fetch:o3,fetchOptions:a2,middleware:u3}=e4,c3={...e4.headers};let l2,f3="";d2==="POST"?(l2=E(n4,r4,i3,a2.jsonSerializer),typeof l2=="string"&&(c3["Content-Type"]="application/json")):f3=(e5=>{if(!Array.isArray(e5.query)){const t6=e5,n6=[`query=${encodeURIComponent(h(t6.query))}`];return e5.variables&&n6.push(`variables=${encodeURIComponent(t6.jsonSerializer.stringify(t6.variables))}`),t6.operationName&&n6.push(`operationName=${encodeURIComponent(t6.operationName)}`),n6.join("&")}if(e5.variables!==void 0&&!Array.isArray(e5.variables))throw new Error("Cannot create query with given variable type, array expected");const t5=e5,n5=e5.query.reduce((e6,n6,r5)=>(e6.push({query:h(n6),variables:t5.variables?t5.jsonSerializer.stringify(t5.variables[r5]):void 0}),e6),[]);return`query=${encodeURIComponent(t5.jsonSerializer.stringify(n5))}`})({query:n4,variables:r4,operationName:i3,jsonSerializer:a2.jsonSerializer??s.defaultJsonSerializer});const p3={method:d2,headers:c3,body:l2,...a2};let v2=t4,m2=p3;if(u3){const e5=await Promise.resolve(u3({...p3,url:t4,operationName:i3,variables:r4})),{url:n5,...o4}=e5;v2=n5,m2=o4}return f3&&(v2=`${v2}?${f3}`),await o3(v2,m2)}),o2=Array.isArray(e3.query),u2=await i2(e3),c2=await b(u2,r3.jsonSerializer??s.defaultJsonSerializer),f2=Array.isArray(c2)?!c2.some(({data:e4})=>!e4):Boolean(c2.data),p2=Array.isArray(c2)||!c2.errors||Array.isArray(c2.errors)&&!c2.errors.length||r3.errorPolicy==="all"||r3.errorPolicy==="ignore";var d2;if(u2.ok&&p2&&f2){const{errors:e4,...t4}=(Array.isArray(c2),c2),n4=r3.errorPolicy==="ignore"?t4:c2;return{...o2?{data:n4}:n4,headers:u2.headers,status:u2.status}}{const e4=typeof c2=="string"?{error:c2}:c2;throw new l.ClientError({...e4,status:u2.status,headers:u2.headers},{query:t3,variables:n3})}};async function g(e3,t3,...n3){const r3=(0,u.parseRequestExtendedArgs)(e3,t3,...n3);return new v(r3.url).request({...r3})}t2.rawRequest=async(...e3)=>{const[t3,n3,...r3]=e3,i2=(0,u.parseRawRequestExtendedArgs)(t3,n3,...r3);return new v(i2.url).rawRequest({...i2})},t2.request=g,t2.batchRequests=async(...e3)=>{const t3=y(e3);return new v(t3.url).batchRequests(t3)};const y=e3=>e3.length===1?e3[0]:{url:e3[0],documents:e3[1],requestHeaders:e3[2],signal:void 0},E=(e3,t3,n3,r3)=>{const i2=r3??s.defaultJsonSerializer;if(!Array.isArray(e3))return i2.stringify({query:e3,variables:t3,operationName:n3});if(t3!==void 0&&!Array.isArray(t3))throw new Error("Cannot create request body with given variable type, array expected");const o2=e3.reduce((e4,n4,r4)=>(e4.push({query:n4,variables:t3?t3[r4]:void 0}),e4),[]);return i2.stringify(o2)},b=async(e3,t3)=>{let n3;return e3.headers.forEach((e4,t4)=>{t4.toLowerCase()==="content-type"&&(n3=e4)}),n3&&(n3.toLowerCase().startsWith("application/json")||n3.toLowerCase().startsWith("application/graphql+json")||n3.toLowerCase().startsWith("application/graphql-response+json"))?t3.parse(await e3.text()):e3.text()},_=e3=>typeof e3=="function"?e3():e3;t2.gql=(e3,...t3)=>e3.reduce((e4,n3,r3)=>`${e4}${n3}${r3 in t3?String(t3[r3]):""}`,"");var w=n2(4927);Object.defineProperty(t2,"GraphQLWebSocketClient",{enumerable:!0,get:function(){return w.GraphQLWebSocketClient}});var O=n2(6917);Object.defineProperty(t2,"resolveRequestDocument",{enumerable:!0,get:function(){return O.resolveRequestDocument}}),t2.default=g},7491:(e2,t2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.parseRawRequestExtendedArgs=t2.parseRequestExtendedArgs=t2.parseBatchRequestArgs=t2.parseRawRequestArgs=t2.parseRequestArgs=void 0,t2.parseRequestArgs=(e3,t3,n2)=>e3.document?e3:{document:e3,variables:t3,requestHeaders:n2,signal:void 0},t2.parseRawRequestArgs=(e3,t3,n2)=>e3.query?e3:{query:e3,variables:t3,requestHeaders:n2,signal:void 0},t2.parseBatchRequestArgs=(e3,t3)=>e3.documents?e3:{documents:e3,requestHeaders:t3,signal:void 0},t2.parseRequestExtendedArgs=(e3,t3,...n2)=>{const[r2,i]=n2;return e3.document?e3:{url:e3,document:t3,variables:r2,requestHeaders:i,signal:void 0}},t2.parseRawRequestExtendedArgs=(e3,t3,...n2)=>{const[r2,i]=n2;return e3.query?e3:{url:e3,query:t3,variables:r2,requestHeaders:i,signal:void 0}}},6917:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.resolveRequestDocument=void 0;const r2=n2(2874),i=e3=>{let t3;const n3=e3.definitions.filter(e4=>e4.kind==="OperationDefinition");return n3.length===1&&(t3=n3[0]?.name?.value),t3};t2.resolveRequestDocument=e3=>{if(typeof e3=="string"){let t4;try{const n3=(0,r2.parse)(e3);t4=i(n3)}catch{}return{query:e3,operationName:t4}}const t3=i(e3);return{query:(0,r2.print)(e3),operationName:t3}}},5928:(e2,t2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.ClientError=void 0;class n2 extends Error{constructor(e3,t3){super(`${n2.extractMessage(e3)}: ${JSON.stringify({response:e3,request:t3})}`),Object.setPrototypeOf(this,n2.prototype),this.response=e3,this.request=t3,typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(this,n2)}static extractMessage(e3){return e3.errors?.[0]?.message??`GraphQL Error (Code: ${e3.status})`}}t2.ClientError=n2},4606:(e2,t2,n2)=>{"use strict";var r2=n2(8558);Object.defineProperty(t2,"__esModule",{value:!0}),t2.LRUCache=void 0;const i=typeof performance=="object"&&performance&&typeof performance.now=="function"?performance:Date,o=new Set,s=typeof r2=="object"&&r2?r2:{},a=(e3,t3,n3,r3)=>{typeof s.emitWarning=="function"?s.emitWarning(e3,t3,n3,r3):console.error(`[${n3}] ${t3}: ${e3}`)};let u=globalThis.AbortController,c=globalThis.AbortSignal;if(u===void 0){c=class{onabort;_onabort=[];reason;aborted=!1;addEventListener(e4,t4){this._onabort.push(t4)}},u=class{constructor(){t3()}signal=new c;abort(e4){if(!this.signal.aborted){this.signal.reason=e4,this.signal.aborted=!0;for(const t4 of this.signal._onabort)t4(e4);this.signal.onabort?.(e4)}}};let e3=s.env?.LRU_CACHE_IGNORE_AC_WARNING!=="1";const t3=()=>{e3&&(e3=!1,a("AbortController is not defined. If using lru-cache in node 14, load an AbortController polyfill from the `node-abort-controller` package. A minimal polyfill is provided for use by LRUCache.fetch(), but it should not be relied upon in other contexts (eg, passing it to other APIs that use AbortController/AbortSignal might have undesirable effects). You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.","NO_ABORT_CONTROLLER","ENOTSUP",t3))}}Symbol("type");const l=e3=>e3&&e3===Math.floor(e3)&&e3>0&&isFinite(e3),f=e3=>l(e3)?e3<=Math.pow(2,8)?Uint8Array:e3<=Math.pow(2,16)?Uint16Array:e3<=Math.pow(2,32)?Uint32Array:e3<=Number.MAX_SAFE_INTEGER?p:null:null;class p extends Array{constructor(e3){super(e3),this.fill(0)}}class d{heap;length;static#e=!1;static create(e3){const t3=f(e3);if(!t3)return[];d.#e=!0;const n3=new d(e3,t3);return d.#e=!1,n3}constructor(e3,t3){if(!d.#e)throw new TypeError("instantiate Stack using Stack.create(n)");this.heap=new t3(e3),this.length=0}push(e3){this.heap[this.length++]=e3}pop(){return this.heap[--this.length]}}class h{#t;#n;#r;#i;#o;#s;ttl;ttlResolution;ttlAutopurge;updateAgeOnGet;updateAgeOnHas;allowStale;noDisposeOnSet;noUpdateTTL;maxEntrySize;sizeCalculation;noDeleteOnFetchRejection;noDeleteOnStaleGet;allowStaleOnFetchAbort;allowStaleOnFetchRejection;ignoreFetchAbort;#a;#u;#c;#l;#f;#p;#d;#h;#v;#m;#g;#y;#E;#b;#_;#w;#O;static unsafeExposeInternals(e3){return{starts:e3.#E,ttls:e3.#b,sizes:e3.#y,keyMap:e3.#c,keyList:e3.#l,valList:e3.#f,next:e3.#p,prev:e3.#d,get head(){return e3.#h},get tail(){return e3.#v},free:e3.#m,isBackgroundFetch:t3=>e3.#T(t3),backgroundFetch:(t3,n3,r3,i2)=>e3.#I(t3,n3,r3,i2),moveToTail:t3=>e3.#S(t3),indexes:t3=>e3.#N(t3),rindexes:t3=>e3.#A(t3),isStale:t3=>e3.#R(t3)}}get max(){return this.#t}get maxSize(){return this.#n}get calculatedSize(){return this.#u}get size(){return this.#a}get fetchMethod(){return this.#o}get memoMethod(){return this.#s}get dispose(){return this.#r}get disposeAfter(){return this.#i}constructor(e3){const{max:t3=0,ttl:n3,ttlResolution:r3=1,ttlAutopurge:i2,updateAgeOnGet:s2,updateAgeOnHas:u2,allowStale:c2,dispose:p2,disposeAfter:v,noDisposeOnSet:m,noUpdateTTL:g,maxSize:y=0,maxEntrySize:E=0,sizeCalculation:b,fetchMethod:_,memoMethod:w,noDeleteOnFetchRejection:O,noDeleteOnStaleGet:T,allowStaleOnFetchRejection:I,allowStaleOnFetchAbort:S,ignoreFetchAbort:N}=e3;if(t3!==0&&!l(t3))throw new TypeError("max option must be a nonnegative integer");const A=t3?f(t3):Array;if(!A)throw new Error("invalid max value: "+t3);if(this.#t=t3,this.#n=y,this.maxEntrySize=E||this.#n,this.sizeCalculation=b,this.sizeCalculation){if(!this.#n&&!this.maxEntrySize)throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");if(typeof this.sizeCalculation!="function")throw new TypeError("sizeCalculation set to non-function")}if(w!==void 0&&typeof w!="function")throw new TypeError("memoMethod must be a function if defined");if(this.#s=w,_!==void 0&&typeof _!="function")throw new TypeError("fetchMethod must be a function if specified");if(this.#o=_,this.#w=!!_,this.#c=new Map,this.#l=new Array(t3).fill(void 0),this.#f=new Array(t3).fill(void 0),this.#p=new A(t3),this.#d=new A(t3),this.#h=0,this.#v=0,this.#m=d.create(t3),this.#a=0,this.#u=0,typeof p2=="function"&&(this.#r=p2),typeof v=="function"?(this.#i=v,this.#g=[]):(this.#i=void 0,this.#g=void 0),this.#_=!!this.#r,this.#O=!!this.#i,this.noDisposeOnSet=!!m,this.noUpdateTTL=!!g,this.noDeleteOnFetchRejection=!!O,this.allowStaleOnFetchRejection=!!I,this.allowStaleOnFetchAbort=!!S,this.ignoreFetchAbort=!!N,this.maxEntrySize!==0){if(this.#n!==0&&!l(this.#n))throw new TypeError("maxSize must be a positive integer if specified");if(!l(this.maxEntrySize))throw new TypeError("maxEntrySize must be a positive integer if specified");this.#x()}if(this.allowStale=!!c2,this.noDeleteOnStaleGet=!!T,this.updateAgeOnGet=!!s2,this.updateAgeOnHas=!!u2,this.ttlResolution=l(r3)||r3===0?r3:1,this.ttlAutopurge=!!i2,this.ttl=n3||0,this.ttl){if(!l(this.ttl))throw new TypeError("ttl must be a positive integer if specified");this.#j()}if(this.#t===0&&this.ttl===0&&this.#n===0)throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!this.#t&&!this.#n){const e4="LRU_CACHE_UNBOUNDED";(e5=>!o.has(e5))(e4)&&(o.add(e4),a("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",e4,h))}}getRemainingTTL(e3){return this.#c.has(e3)?1/0:0}#j(){const e3=new p(this.#t),t3=new p(this.#t);this.#b=e3,this.#E=t3,this.#P=(n4,r4,o2=i.now())=>{if(t3[n4]=r4!==0?o2:0,e3[n4]=r4,r4!==0&&this.ttlAutopurge){const e4=setTimeout(()=>{this.#R(n4)&&this.#D(this.#l[n4],"expire")},r4+1);e4.unref&&e4.unref()}},this.#L=n4=>{t3[n4]=e3[n4]!==0?i.now():0},this.#M=(i2,o2)=>{if(e3[o2]){const s2=e3[o2],a2=t3[o2];if(!s2||!a2)return;i2.ttl=s2,i2.start=a2,i2.now=n3||r3();const u2=i2.now-a2;i2.remainingTTL=s2-u2}};let n3=0;const r3=()=>{const e4=i.now();if(this.ttlResolution>0){n3=e4;const t4=setTimeout(()=>n3=0,this.ttlResolution);t4.unref&&t4.unref()}return e4};this.getRemainingTTL=i2=>{const o2=this.#c.get(i2);if(o2===void 0)return 0;const s2=e3[o2],a2=t3[o2];return s2&&a2?s2-((n3||r3())-a2):1/0},this.#R=i2=>{const o2=t3[i2],s2=e3[i2];return!!s2&&!!o2&&(n3||r3())-o2>s2}}#L=()=>{};#M=()=>{};#P=()=>{};#R=()=>!1;#x(){const e3=new p(this.#t);this.#u=0,this.#y=e3,this.#k=t3=>{this.#u-=e3[t3],e3[t3]=0},this.#C=(e4,t3,n3,r3)=>{if(this.#T(t3))return 0;if(!l(n3)){if(!r3)throw new TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.");if(typeof r3!="function")throw new TypeError("sizeCalculation must be a function");if(n3=r3(t3,e4),!l(n3))throw new TypeError("sizeCalculation return invalid (expect positive integer)")}return n3},this.#F=(t3,n3,r3)=>{if(e3[t3]=n3,this.#n){const n4=this.#n-e3[t3];for(;this.#u>n4;)this.#V(!0)}this.#u+=e3[t3],r3&&(r3.entrySize=n3,r3.totalCalculatedSize=this.#u)}}#k=e3=>{};#F=(e3,t3,n3)=>{};#C=(e3,t3,n3,r3)=>{if(n3||r3)throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache");return 0};*#N({allowStale:e3=this.allowStale}={}){if(this.#a)for(let t3=this.#v;this.#$(t3)&&(!e3&&this.#R(t3)||(yield t3),t3!==this.#h);)t3=this.#d[t3]}*#A({allowStale:e3=this.allowStale}={}){if(this.#a)for(let t3=this.#h;this.#$(t3)&&(!e3&&this.#R(t3)||(yield t3),t3!==this.#v);)t3=this.#p[t3]}#$(e3){return e3!==void 0&&this.#c.get(this.#l[e3])===e3}*entries(){for(const e3 of this.#N())this.#f[e3]===void 0||this.#l[e3]===void 0||this.#T(this.#f[e3])||(yield[this.#l[e3],this.#f[e3]])}*rentries(){for(const e3 of this.#A())this.#f[e3]===void 0||this.#l[e3]===void 0||this.#T(this.#f[e3])||(yield[this.#l[e3],this.#f[e3]])}*keys(){for(const e3 of this.#N()){const t3=this.#l[e3];t3===void 0||this.#T(this.#f[e3])||(yield t3)}}*rkeys(){for(const e3 of this.#A()){const t3=this.#l[e3];t3===void 0||this.#T(this.#f[e3])||(yield t3)}}*values(){for(const e3 of this.#N())this.#f[e3]===void 0||this.#T(this.#f[e3])||(yield this.#f[e3])}*rvalues(){for(const e3 of this.#A())this.#f[e3]===void 0||this.#T(this.#f[e3])||(yield this.#f[e3])}[Symbol.iterator](){return this.entries()}[Symbol.toStringTag]="LRUCache";find(e3,t3={}){for(const n3 of this.#N()){const r3=this.#f[n3],i2=this.#T(r3)?r3.__staleWhileFetching:r3;if(i2!==void 0&&e3(i2,this.#l[n3],this))return this.get(this.#l[n3],t3)}}forEach(e3,t3=this){for(const n3 of this.#N()){const r3=this.#f[n3],i2=this.#T(r3)?r3.__staleWhileFetching:r3;i2!==void 0&&e3.call(t3,i2,this.#l[n3],this)}}rforEach(e3,t3=this){for(const n3 of this.#A()){const r3=this.#f[n3],i2=this.#T(r3)?r3.__staleWhileFetching:r3;i2!==void 0&&e3.call(t3,i2,this.#l[n3],this)}}purgeStale(){let e3=!1;for(const t3 of this.#A({allowStale:!0}))this.#R(t3)&&(this.#D(this.#l[t3],"expire"),e3=!0);return e3}info(e3){const t3=this.#c.get(e3);if(t3===void 0)return;const n3=this.#f[t3],r3=this.#T(n3)?n3.__staleWhileFetching:n3;if(r3===void 0)return;const o2={value:r3};if(this.#b&&this.#E){const e4=this.#b[t3],n4=this.#E[t3];if(e4&&n4){const t4=e4-(i.now()-n4);o2.ttl=t4,o2.start=Date.now()}}return this.#y&&(o2.size=this.#y[t3]),o2}dump(){const e3=[];for(const t3 of this.#N({allowStale:!0})){const n3=this.#l[t3],r3=this.#f[t3],o2=this.#T(r3)?r3.__staleWhileFetching:r3;if(o2===void 0||n3===void 0)continue;const s2={value:o2};if(this.#b&&this.#E){s2.ttl=this.#b[t3];const e4=i.now()-this.#E[t3];s2.start=Math.floor(Date.now()-e4)}this.#y&&(s2.size=this.#y[t3]),e3.unshift([n3,s2])}return e3}load(e3){this.clear();for(const[t3,n3]of e3){if(n3.start){const e4=Date.now()-n3.start;n3.start=i.now()-e4}this.set(t3,n3.value,n3)}}set(e3,t3,n3={}){if(t3===void 0)return this.delete(e3),this;const{ttl:r3=this.ttl,start:i2,noDisposeOnSet:o2=this.noDisposeOnSet,sizeCalculation:s2=this.sizeCalculation,status:a2}=n3;let{noUpdateTTL:u2=this.noUpdateTTL}=n3;const c2=this.#C(e3,t3,n3.size||0,s2);if(this.maxEntrySize&&c2>this.maxEntrySize)return a2&&(a2.set="miss",a2.maxEntrySizeExceeded=!0),this.#D(e3,"set"),this;let l2=this.#a===0?void 0:this.#c.get(e3);if(l2===void 0)l2=this.#a===0?this.#v:this.#m.length!==0?this.#m.pop():this.#a===this.#t?this.#V(!1):this.#a,this.#l[l2]=e3,this.#f[l2]=t3,this.#c.set(e3,l2),this.#p[this.#v]=l2,this.#d[l2]=this.#v,this.#v=l2,this.#a++,this.#F(l2,c2,a2),a2&&(a2.set="add"),u2=!1;else{this.#S(l2);const n4=this.#f[l2];if(t3!==n4){if(this.#w&&this.#T(n4)){n4.__abortController.abort(new Error("replaced"));const{__staleWhileFetching:t4}=n4;t4===void 0||o2||(this.#_&&this.#r?.(t4,e3,"set"),this.#O&&this.#g?.push([t4,e3,"set"]))}else o2||(this.#_&&this.#r?.(n4,e3,"set"),this.#O&&this.#g?.push([n4,e3,"set"]));if(this.#k(l2),this.#F(l2,c2,a2),this.#f[l2]=t3,a2){a2.set="replace";const e4=n4&&this.#T(n4)?n4.__staleWhileFetching:n4;e4!==void 0&&(a2.oldValue=e4)}}else a2&&(a2.set="update")}if(r3===0||this.#b||this.#j(),this.#b&&(u2||this.#P(l2,r3,i2),a2&&this.#M(a2,l2)),!o2&&this.#O&&this.#g){const e4=this.#g;let t4;for(;t4=e4?.shift();)this.#i?.(...t4)}return this}pop(){try{for(;this.#a;){const e3=this.#f[this.#h];if(this.#V(!0),this.#T(e3)){if(e3.__staleWhileFetching)return e3.__staleWhileFetching}else if(e3!==void 0)return e3}}finally{if(this.#O&&this.#g){const e3=this.#g;let t3;for(;t3=e3?.shift();)this.#i?.(...t3)}}}#V(e3){const t3=this.#h,n3=this.#l[t3],r3=this.#f[t3];return this.#w&&this.#T(r3)?r3.__abortController.abort(new Error("evicted")):(this.#_||this.#O)&&(this.#_&&this.#r?.(r3,n3,"evict"),this.#O&&this.#g?.push([r3,n3,"evict"])),this.#k(t3),e3&&(this.#l[t3]=void 0,this.#f[t3]=void 0,this.#m.push(t3)),this.#a===1?(this.#h=this.#v=0,this.#m.length=0):this.#h=this.#p[t3],this.#c.delete(n3),this.#a--,t3}has(e3,t3={}){const{updateAgeOnHas:n3=this.updateAgeOnHas,status:r3}=t3,i2=this.#c.get(e3);if(i2!==void 0){const e4=this.#f[i2];if(this.#T(e4)&&e4.__staleWhileFetching===void 0)return!1;if(!this.#R(i2))return n3&&this.#L(i2),r3&&(r3.has="hit",this.#M(r3,i2)),!0;r3&&(r3.has="stale",this.#M(r3,i2))}else r3&&(r3.has="miss");return!1}peek(e3,t3={}){const{allowStale:n3=this.allowStale}=t3,r3=this.#c.get(e3);if(r3===void 0||!n3&&this.#R(r3))return;const i2=this.#f[r3];return this.#T(i2)?i2.__staleWhileFetching:i2}#I(e3,t3,n3,r3){const i2=t3===void 0?void 0:this.#f[t3];if(this.#T(i2))return i2;const o2=new u,{signal:s2}=n3;s2?.addEventListener("abort",()=>o2.abort(s2.reason),{signal:o2.signal});const a2={signal:o2.signal,options:n3,context:r3},c2=(r4,i3=!1)=>{const{aborted:s3}=o2.signal,u2=n3.ignoreFetchAbort&&r4!==void 0;if(n3.status&&(s3&&!i3?(n3.status.fetchAborted=!0,n3.status.fetchError=o2.signal.reason,u2&&(n3.status.fetchAbortIgnored=!0)):n3.status.fetchResolved=!0),s3&&!u2&&!i3)return l2(o2.signal.reason);const c3=f2;return this.#f[t3]===f2&&(r4===void 0?c3.__staleWhileFetching?this.#f[t3]=c3.__staleWhileFetching:this.#D(e3,"fetch"):(n3.status&&(n3.status.fetchUpdated=!0),this.set(e3,r4,a2.options))),r4},l2=r4=>{const{aborted:i3}=o2.signal,s3=i3&&n3.allowStaleOnFetchAbort,a3=s3||n3.allowStaleOnFetchRejection,u2=a3||n3.noDeleteOnFetchRejection,c3=f2;if(this.#f[t3]===f2&&(u2&&c3.__staleWhileFetching!==void 0?s3||(this.#f[t3]=c3.__staleWhileFetching):this.#D(e3,"fetch")),a3)return n3.status&&c3.__staleWhileFetching!==void 0&&(n3.status.returnedStale=!0),c3.__staleWhileFetching;if(c3.__returned===c3)throw r4};n3.status&&(n3.status.fetchDispatched=!0);const f2=new Promise((t4,r4)=>{const s3=this.#o?.(e3,i2,a2);s3&&s3 instanceof Promise&&s3.then(e4=>t4(e4===void 0?void 0:e4),r4),o2.signal.addEventListener("abort",()=>{n3.ignoreFetchAbort&&!n3.allowStaleOnFetchAbort||(t4(void 0),n3.allowStaleOnFetchAbort&&(t4=e4=>c2(e4,!0)))})}).then(c2,e4=>(n3.status&&(n3.status.fetchRejected=!0,n3.status.fetchError=e4),l2(e4))),p2=Object.assign(f2,{__abortController:o2,__staleWhileFetching:i2,__returned:void 0});return t3===void 0?(this.set(e3,p2,{...a2.options,status:void 0}),t3=this.#c.get(e3)):this.#f[t3]=p2,p2}#T(e3){if(!this.#w)return!1;const t3=e3;return!!t3&&t3 instanceof Promise&&t3.hasOwnProperty("__staleWhileFetching")&&t3.__abortController instanceof u}async fetch(e3,t3={}){const{allowStale:n3=this.allowStale,updateAgeOnGet:r3=this.updateAgeOnGet,noDeleteOnStaleGet:i2=this.noDeleteOnStaleGet,ttl:o2=this.ttl,noDisposeOnSet:s2=this.noDisposeOnSet,size:a2=0,sizeCalculation:u2=this.sizeCalculation,noUpdateTTL:c2=this.noUpdateTTL,noDeleteOnFetchRejection:l2=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:f2=this.allowStaleOnFetchRejection,ignoreFetchAbort:p2=this.ignoreFetchAbort,allowStaleOnFetchAbort:d2=this.allowStaleOnFetchAbort,context:h2,forceRefresh:v=!1,status:m,signal:g}=t3;if(!this.#w)return m&&(m.fetch="get"),this.get(e3,{allowStale:n3,updateAgeOnGet:r3,noDeleteOnStaleGet:i2,status:m});const y={allowStale:n3,updateAgeOnGet:r3,noDeleteOnStaleGet:i2,ttl:o2,noDisposeOnSet:s2,size:a2,sizeCalculation:u2,noUpdateTTL:c2,noDeleteOnFetchRejection:l2,allowStaleOnFetchRejection:f2,allowStaleOnFetchAbort:d2,ignoreFetchAbort:p2,status:m,signal:g};let E=this.#c.get(e3);if(E===void 0){m&&(m.fetch="miss");const t4=this.#I(e3,E,y,h2);return t4.__returned=t4}{const t4=this.#f[E];if(this.#T(t4)){const e4=n3&&t4.__staleWhileFetching!==void 0;return m&&(m.fetch="inflight",e4&&(m.returnedStale=!0)),e4?t4.__staleWhileFetching:t4.__returned=t4}const i3=this.#R(E);if(!v&&!i3)return m&&(m.fetch="hit"),this.#S(E),r3&&this.#L(E),m&&this.#M(m,E),t4;const o3=this.#I(e3,E,y,h2),s3=o3.__staleWhileFetching!==void 0&&n3;return m&&(m.fetch=i3?"stale":"refresh",s3&&i3&&(m.returnedStale=!0)),s3?o3.__staleWhileFetching:o3.__returned=o3}}async forceFetch(e3,t3={}){const n3=await this.fetch(e3,t3);if(n3===void 0)throw new Error("fetch() returned undefined");return n3}memo(e3,t3={}){const n3=this.#s;if(!n3)throw new Error("no memoMethod provided to constructor");const{context:r3,forceRefresh:i2,...o2}=t3,s2=this.get(e3,o2);if(!i2&&s2!==void 0)return s2;const a2=n3(e3,s2,{options:o2,context:r3});return this.set(e3,a2,o2),a2}get(e3,t3={}){const{allowStale:n3=this.allowStale,updateAgeOnGet:r3=this.updateAgeOnGet,noDeleteOnStaleGet:i2=this.noDeleteOnStaleGet,status:o2}=t3,s2=this.#c.get(e3);if(s2!==void 0){const t4=this.#f[s2],a2=this.#T(t4);return o2&&this.#M(o2,s2),this.#R(s2)?(o2&&(o2.get="stale"),a2?(o2&&n3&&t4.__staleWhileFetching!==void 0&&(o2.returnedStale=!0),n3?t4.__staleWhileFetching:void 0):(i2||this.#D(e3,"expire"),o2&&n3&&(o2.returnedStale=!0),n3?t4:void 0)):(o2&&(o2.get="hit"),a2?t4.__staleWhileFetching:(this.#S(s2),r3&&this.#L(s2),t4))}o2&&(o2.get="miss")}#U(e3,t3){this.#d[t3]=e3,this.#p[e3]=t3}#S(e3){e3!==this.#v&&(e3===this.#h?this.#h=this.#p[e3]:this.#U(this.#d[e3],this.#p[e3]),this.#U(this.#v,e3),this.#v=e3)}delete(e3){return this.#D(e3,"delete")}#D(e3,t3){let n3=!1;if(this.#a!==0){const r3=this.#c.get(e3);if(r3!==void 0)if(n3=!0,this.#a===1)this.#B(t3);else{this.#k(r3);const n4=this.#f[r3];if(this.#T(n4)?n4.__abortController.abort(new Error("deleted")):(this.#_||this.#O)&&(this.#_&&this.#r?.(n4,e3,t3),this.#O&&this.#g?.push([n4,e3,t3])),this.#c.delete(e3),this.#l[r3]=void 0,this.#f[r3]=void 0,r3===this.#v)this.#v=this.#d[r3];else if(r3===this.#h)this.#h=this.#p[r3];else{const e4=this.#d[r3];this.#p[e4]=this.#p[r3];const t4=this.#p[r3];this.#d[t4]=this.#d[r3]}this.#a--,this.#m.push(r3)}}if(this.#O&&this.#g?.length){const e4=this.#g;let t4;for(;t4=e4?.shift();)this.#i?.(...t4)}return n3}clear(){return this.#B("delete")}#B(e3){for(const t3 of this.#A({allowStale:!0})){const n3=this.#f[t3];if(this.#T(n3))n3.__abortController.abort(new Error("deleted"));else{const r3=this.#l[t3];this.#_&&this.#r?.(n3,r3,e3),this.#O&&this.#g?.push([n3,r3,e3])}}if(this.#c.clear(),this.#f.fill(void 0),this.#l.fill(void 0),this.#b&&this.#E&&(this.#b.fill(0),this.#E.fill(0)),this.#y&&this.#y.fill(0),this.#h=0,this.#v=0,this.#m.length=0,this.#u=0,this.#a=0,this.#O&&this.#g){const e4=this.#g;let t3;for(;t3=e4?.shift();)this.#i?.(...t3)}}}t2.LRUCache=h},2874:(e2,t2,n2)=>{"use strict";n2.r(t2),n2.d(t2,{BREAK:()=>Ee,BreakingChangeType:()=>Ds,DEFAULT_DEPRECATION_REASON:()=>qn,DangerousChangeType:()=>Ls,DirectiveLocation:()=>X,ExecutableDefinitionsRule:()=>jr,FieldsOnCorrectTypeRule:()=>$r,FragmentsOnCompositeTypesRule:()=>Cr,GraphQLBoolean:()=>En,GraphQLDeprecatedDirective:()=>Wn,GraphQLDirective:()=>Bn,GraphQLEnumType:()=>Zt,GraphQLError:()=>N,GraphQLFloat:()=>mn,GraphQLID:()=>bn,GraphQLIncludeDirective:()=>Hn,GraphQLInputObjectType:()=>tn,GraphQLInt:()=>vn,GraphQLInterfaceType:()=>Jt,GraphQLList:()=>xt,GraphQLNonNull:()=>jt,GraphQLObjectType:()=>Ht,GraphQLScalarType:()=>Bt,GraphQLSchema:()=>Zn,GraphQLSkipDirective:()=>Gn,GraphQLSpecifiedByDirective:()=>zn,GraphQLString:()=>yn,GraphQLUnionType:()=>Qt,Kind:()=>j,KnownArgumentNamesRule:()=>ei,KnownDirectivesRule:()=>Xr,KnownFragmentNamesRule:()=>Br,KnownTypeNamesRule:()=>Mr,Lexer:()=>ee,Location:()=>M,LoneAnonymousOperationRule:()=>Dr,LoneSchemaDefinitionRule:()=>Si,NoDeprecatedCustomRule:()=>ko,NoFragmentCyclesRule:()=>qr,NoSchemaIntrospectionCustomRule:()=>Co,NoUndefinedVariablesRule:()=>zr,NoUnusedFragmentsRule:()=>Hr,NoUnusedVariablesRule:()=>Yr,OverlappingFieldsCanBeMergedRule:()=>hi,PossibleFragmentSpreadsRule:()=>Gr,PossibleTypeExtensionsRule:()=>Li,ProvidedRequiredArgumentsRule:()=>ui,ScalarLeafsRule:()=>Vr,SchemaMetaFieldDef:()=>Ln,SingleFieldSubscriptionsRule:()=>Lr,Source:()=>z,Token:()=>k,TokenKind:()=>F,TypeInfo:()=>Er,TypeKind:()=>Pn,TypeMetaFieldDef:()=>Mn,TypeNameMetaFieldDef:()=>kn,UniqueArgumentNamesRule:()=>ni,UniqueDirectiveNamesRule:()=>Pi,UniqueDirectivesPerLocationRule:()=>Jr,UniqueEnumValueNamesRule:()=>Ri,UniqueFieldDefinitionNamesRule:()=>xi,UniqueFragmentNamesRule:()=>Ur,UniqueInputFieldNamesRule:()=>Ii,UniqueOperationNamesRule:()=>Pr,UniqueOperationTypesRule:()=>Ni,UniqueTypeNamesRule:()=>Ai,UniqueVariableNamesRule:()=>Wr,ValidationContext:()=>Ui,ValuesOfCorrectTypeRule:()=>ri,VariablesAreInputTypesRule:()=>Fr,VariablesInAllowedPositionRule:()=>fi,__Directive:()=>Sn,__DirectiveLocation:()=>Nn,__EnumValue:()=>jn,__Field:()=>Rn,__InputValue:()=>xn,__Schema:()=>In,__Type:()=>An,__TypeKind:()=>Dn,assertAbstractType:()=>Rt,assertCompositeType:()=>Nt,assertDirective:()=>Un,assertEnumType:()=>dt,assertInputObjectType:()=>vt,assertInputType:()=>_t,assertInterfaceType:()=>ct,assertLeafType:()=>It,assertListType:()=>gt,assertNamedType:()=>Ft,assertNonNullType:()=>Et,assertNullableType:()=>Mt,assertObjectType:()=>at,assertOutputType:()=>Ot,assertScalarType:()=>ot,assertSchema:()=>Kn,assertType:()=>rt,assertUnionType:()=>ft,assertValidName:()=>Ne,assertValidSchema:()=>nr,assertWrappingType:()=>Dt,astFromValue:()=>On,buildASTSchema:()=>ns,buildClientSchema:()=>Wo,buildSchema:()=>rs,coerceInputValue:()=>Ji,concatAST:()=>Ts,createSourceEventStream:()=>Mo,defaultFieldResolver:()=>Io,defaultTypeResolver:()=>To,doTypesOverlap:()=>an,execute:()=>no,executeSync:()=>ro,extendSchema:()=>Jo,findBreakingChanges:()=>Ms,findDangerousChanges:()=>ks,findDeprecatedUsages:()=>Xs,formatError:()=>Fo,getDescription:()=>ts,getDirectiveValues:()=>eo,getIntrospectionQuery:()=>Uo,getLocation:()=>f,getNamedType:()=>Vt,getNullableType:()=>kt,getOperationAST:()=>Bo,getOperationRootType:()=>Wi,getVisitFn:()=>we,graphql:()=>No,graphqlSync:()=>Ao,introspectionFromSchema:()=>qo,introspectionTypes:()=>Cn,isAbstractType:()=>At,isCompositeType:()=>St,isDefinitionNode:()=>wr,isDirective:()=>$n,isEnumType:()=>pt,isEqualType:()=>on,isExecutableDefinitionNode:()=>Or,isInputObjectType:()=>ht,isInputType:()=>bt,isInterfaceType:()=>ut,isIntrospectionType:()=>Fn,isLeafType:()=>Tt,isListType:()=>mt,isNamedType:()=>Ct,isNonNullType:()=>yt,isNullableType:()=>Lt,isObjectType:()=>st,isOutputType:()=>wt,isRequiredArgument:()=>Xt,isRequiredInputField:()=>rn,isScalarType:()=>it,isSchema:()=>Qn,isSelectionNode:()=>Tr,isSpecifiedDirective:()=>Xn,isSpecifiedScalarType:()=>wn,isType:()=>nt,isTypeDefinitionNode:()=>Ar,isTypeExtensionNode:()=>xr,isTypeNode:()=>Sr,isTypeSubTypeOf:()=>sn,isTypeSystemDefinitionNode:()=>Nr,isTypeSystemExtensionNode:()=>Rr,isUnionType:()=>lt,isValidNameError:()=>Ae,isValueNode:()=>Ir,isWrappingType:()=>Pt,lexicographicSortSchema:()=>as,locatedError:()=>Ie,parse:()=>pe,parseType:()=>he,parseValue:()=>de,print:()=>Ge,printError:()=>R,printIntrospectionSchema:()=>ps,printLocation:()=>p,printSchema:()=>fs,printSourceLocation:()=>d,printType:()=>ms,responsePathAsArray:()=>qi,separateOperations:()=>Is,specifiedDirectives:()=>Yn,specifiedRules:()=>ki,specifiedScalarTypes:()=>_n,stripIgnoredCharacters:()=>As,subscribe:()=>Do,syntaxError:()=>x,typeFromAST:()=>yr,validate:()=>Bi,validateSchema:()=>tr,valueFromAST:()=>Yi,valueFromASTUntyped:()=>Ze,version:()=>r2,versionInfo:()=>i,visit:()=>be,visitInParallel:()=>_e,visitWithTypeInfo:()=>_r});var r2="15.8.0",i=Object.freeze({major:15,minor:8,patch:0,preReleaseTag:null});function o(e3){return typeof e3?.then=="function"}function s(e3){return s=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e4){return typeof e4}:function(e4){return e4&&typeof Symbol=="function"&&e4.constructor===Symbol&&e4!==Symbol.prototype?"symbol":typeof e4},s(e3)}function a(e3){return s(e3)=="object"&&e3!==null}var u=typeof Symbol=="function"&&Symbol.iterator!=null?Symbol.iterator:"@@iterator",c=typeof Symbol=="function"&&Symbol.asyncIterator!=null?Symbol.asyncIterator:"@@asyncIterator",l=typeof Symbol=="function"&&Symbol.toStringTag!=null?Symbol.toStringTag:"@@toStringTag";function f(e3,t3){for(var n3,r3=/\r\n|[\n\r]/g,i2=1,o2=t3+1;(n3=r3.exec(e3.body))&&n3.index<t3;)i2+=1,o2=t3+1-(n3.index+n3[0].length);return{line:i2,column:o2}}function p(e3){return d(e3.source,f(e3.source,e3.start))}function d(e3,t3){var n3=e3.locationOffset.column-1,r3=v(n3)+e3.body,i2=t3.line-1,o2=e3.locationOffset.line-1,s2=t3.line+o2,a2=t3.line===1?n3:0,u2=t3.column+a2,c2="".concat(e3.name,":").concat(s2,":").concat(u2,`
57
57
  `),l2=r3.split(/\r\n|[\n\r]/g),f2=l2[i2];if(f2.length>120){for(var p2=Math.floor(u2/80),d2=u2%80,m2=[],g2=0;g2<f2.length;g2+=80)m2.push(f2.slice(g2,g2+80));return c2+h([["".concat(s2),m2[0]]].concat(m2.slice(1,p2+1).map(function(e4){return["",e4]}),[[" ",v(d2-1)+"^"],["",m2[p2+1]]]))}return c2+h([["".concat(s2-1),l2[i2-1]],["".concat(s2),f2],["",v(u2-1)+"^"],["".concat(s2+1),l2[i2+1]]])}function h(e3){var t3=e3.filter(function(e4){return e4[0],e4[1]!==void 0}),n3=Math.max.apply(Math,t3.map(function(e4){return e4[0].length}));return t3.map(function(e4){var t4,r3=e4[0],i2=e4[1];return v(n3-(t4=r3).length)+t4+(i2?" | "+i2:" |")}).join(`
58
58
  `)}function v(e3){return Array(e3+1).join(" ")}function m(e3){return m=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e4){return typeof e4}:function(e4){return e4&&typeof Symbol=="function"&&e4.constructor===Symbol&&e4!==Symbol.prototype?"symbol":typeof e4},m(e3)}function g(e3,t3){var n3=Object.keys(e3);if(Object.getOwnPropertySymbols){var r3=Object.getOwnPropertySymbols(e3);t3&&(r3=r3.filter(function(t4){return Object.getOwnPropertyDescriptor(e3,t4).enumerable})),n3.push.apply(n3,r3)}return n3}function y(e3,t3,n3){return t3 in e3?Object.defineProperty(e3,t3,{value:n3,enumerable:!0,configurable:!0,writable:!0}):e3[t3]=n3,e3}function E(e3,t3){for(var n3=0;n3<t3.length;n3++){var r3=t3[n3];r3.enumerable=r3.enumerable||!1,r3.configurable=!0,"value"in r3&&(r3.writable=!0),Object.defineProperty(e3,r3.key,r3)}}function b(e3,t3){return!t3||m(t3)!=="object"&&typeof t3!="function"?_(e3):t3}function _(e3){if(e3===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e3}function w(e3){var t3=typeof Map=="function"?new Map:void 0;return w=function(e4){if(e4===null||(n3=e4,Function.toString.call(n3).indexOf("[native code]")===-1))return e4;var n3;if(typeof e4!="function")throw new TypeError("Super expression must either be null or a function");if(t3!==void 0){if(t3.has(e4))return t3.get(e4);t3.set(e4,r3)}function r3(){return O(e4,arguments,S(this).constructor)}return r3.prototype=Object.create(e4.prototype,{constructor:{value:r3,enumerable:!1,writable:!0,configurable:!0}}),I(r3,e4)},w(e3)}function O(e3,t3,n3){return O=T()?Reflect.construct:function(e4,t4,n4){var r3=[null];r3.push.apply(r3,t4);var i2=new(Function.bind.apply(e4,r3));return n4&&I(i2,n4.prototype),i2},O.apply(null,arguments)}function T(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function I(e3,t3){return I=Object.setPrototypeOf||function(e4,t4){return e4.__proto__=t4,e4},I(e3,t3)}function S(e3){return S=Object.setPrototypeOf?Object.getPrototypeOf:function(e4){return e4.__proto__||Object.getPrototypeOf(e4)},S(e3)}var N=function(e3){(function(e4,t4){if(typeof t4!="function"&&t4!==null)throw new TypeError("Super expression must either be null or a function");e4.prototype=Object.create(t4&&t4.prototype,{constructor:{value:e4,writable:!0,configurable:!0}}),t4&&I(e4,t4)})(s2,e3);var t3,n3,r3,i2,o2=(t3=s2,n3=T(),function(){var e4,r4=S(t3);if(n3){var i3=S(this).constructor;e4=Reflect.construct(r4,arguments,i3)}else e4=r4.apply(this,arguments);return b(this,e4)});function s2(e4,t4,n4,r4,i3,u2,c2){var l2,p2,d2,h2;(function(e5,t5){if(!(e5 instanceof t5))throw new TypeError("Cannot call a class as a function")})(this,s2),(h2=o2.call(this,e4)).name="GraphQLError",h2.originalError=u2??void 0,h2.nodes=A(Array.isArray(t4)?t4:t4?[t4]:void 0);for(var v2=[],m2=0,E2=(w2=h2.nodes)!==null&&w2!==void 0?w2:[];m2<E2.length;m2++){var w2,O2=E2[m2].loc;O2!=null&&v2.push(O2)}v2=A(v2),h2.source=n4??((l2=v2)===null||l2===void 0?void 0:l2[0].source),h2.positions=r4??((p2=v2)===null||p2===void 0?void 0:p2.map(function(e5){return e5.start})),h2.locations=r4&&n4?r4.map(function(e5){return f(n4,e5)}):(d2=v2)===null||d2===void 0?void 0:d2.map(function(e5){return f(e5.source,e5.start)}),h2.path=i3??void 0;var T2=u2?.extensions;return c2==null&&a(T2)?h2.extensions=function(e5){for(var t5=1;t5<arguments.length;t5++){var n5=arguments[t5]!=null?arguments[t5]:{};t5%2?g(Object(n5),!0).forEach(function(t6){y(e5,t6,n5[t6])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e5,Object.getOwnPropertyDescriptors(n5)):g(Object(n5)).forEach(function(t6){Object.defineProperty(e5,t6,Object.getOwnPropertyDescriptor(n5,t6))})}return e5}({},T2):h2.extensions=c2??{},Object.defineProperties(_(h2),{message:{enumerable:!0},locations:{enumerable:h2.locations!=null},path:{enumerable:h2.path!=null},extensions:{enumerable:h2.extensions!=null&&Object.keys(h2.extensions).length>0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),u2!=null&&u2.stack?(Object.defineProperty(_(h2),"stack",{value:u2.stack,writable:!0,configurable:!0}),b(h2)):(Error.captureStackTrace?Error.captureStackTrace(_(h2),s2):Object.defineProperty(_(h2),"stack",{value:Error().stack,writable:!0,configurable:!0}),h2)}return r3=s2,(i2=[{key:"toString",value:function(){return R(this)}},{key:l,get:function(){return"Object"}}])&&E(r3.prototype,i2),s2}(w(Error));function A(e3){return e3===void 0||e3.length===0?void 0:e3}function R(e3){var t3=e3.message;if(e3.nodes)for(var n3=0,r3=e3.nodes;n3<r3.length;n3++){var i2=r3[n3];i2.loc&&(t3+=`
59
59