diff --git a/.vscode/launch.json b/.vscode/launch.json index d086046114..5dda1e6513 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -11,7 +11,7 @@ "mode": "auto", "program": "${workspaceFolder}", "env": { - "PORT": "8888", + "PORT": "8899", "Go_Proxy_BingAI_Debug": "true", "Go_Proxy_BingAI_SOCKS_URL": "192.168.0.88:1070", // "Go_Proxy_BingAI_SOCKS_USER": "xxx", diff --git a/README.md b/README.md index 08817cf189..789e763cad 100644 --- a/README.md +++ b/README.md @@ -6,8 +6,6 @@ ⭐ 无需登录即可畅聊 -⭐ 无单次对话次数限制 - ⭐ 需要画图等高级功能时,可登录微软账号设置用户 Cookie 进行体验 ⭐ 遇到一切问题,先点左下角 ![新主题](./docs/img/bing-clear.png) 试试,不行使用刷新大法(Shift + F5 或 Ctrl + Shift + R 或 右上角设置中的重置),最终大招就 清理浏览器缓存 及 Cookie ,比如(24 小时限制、未登录提示等等) @@ -72,7 +70,7 @@ - https://bing-vercel.vcanbb.top -- https://go-proxy-bingai-git-master-adams549659584.vercel.app +- https://go-proxy-bingai-adams549659584.vercel.app ### Render 搭建 @@ -187,8 +185,8 @@ RAILWAY_DOCKERFILE_PATH=docker/Dockerfile ## TODO - [x] 撰写 -- [ ] Vue3 重构 -- [ ] 提示词 -- [ ] 保存历史消息 +- [x] Vue3 重构 +- [x] 提示词 +- [x] 历史聊条 - [ ] 导出消息到本地(Markdown、图片、PDF) - [ ] 简单访问权限控制 diff --git a/Taskfile.yaml b/Taskfile.yaml new file mode 100644 index 0000000000..43fe676b76 --- /dev/null +++ b/Taskfile.yaml @@ -0,0 +1,244 @@ +version: '3' + +vars: + BUILD_VERSION: + sh: git describe --tags + BUILD_DATE: + sh: date "+%F %T" + COMMIT_ID: + sh: git rev-parse HEAD + +tasks: + clean: + cmds: + - rm -rf frontend/node_modules + - rm -rf release + # extended globbing is not supported + # - rm -rf web/!(web.go) + - cp web/web.go web.go + - rm -rf web/* + - mv web.go web/web.go + build_web: + dir: frontend + cmds: + # - pnpm build + - pnpm install && pnpm build + build_tpl: + label: build-{{.TASK}} + cmds: + - | + GOOS={{.GOOS}} GOARCH={{.GOARCH}} GOARM={{.GOARM}} GOMIPS={{.GOMIPS}} GOAMD64={{.GOAMD64}} \ + go build -tags netgo -trimpath -o release/go_proxy_bingai_{{.TASK}} -ldflags \ + "-w -s -X 'main.version={{.BUILD_VERSION}}' -X 'main.buildDate={{.BUILD_DATE}}' -X 'main.commitID={{.COMMIT_ID}}'" + linux_386: + cmds: + - task: build_tpl + vars: { + TASK: "{{.TASK}}", + GOOS: linux, + GOARCH: 386 + } + linux_amd64: + cmds: + - task: build_tpl + vars: { + TASK: "{{.TASK}}", + GOOS: linux, + GOARCH: amd64 + } + linux_amd64_v2: + cmds: + - task: build_tpl + vars: { + TASK: "{{.TASK}}", + GOOS: linux, + GOARCH: amd64, + GOAMD64: v2 + } + linux_amd64_v3: + cmds: + - task: build_tpl + vars: { + TASK: "{{.TASK}}", + GOOS: linux, + GOARCH: amd64, + GOAMD64: v3 + } + linux_amd64_v4: + cmds: + - task: build_tpl + vars: { + TASK: "{{.TASK}}", + GOOS: linux, + GOARCH: amd64, + GOAMD64: v4 + } + linux_armv5: + cmds: + - task: build_tpl + vars: { + TASK: "{{.TASK}}", + GOOS: linux, + GOARCH: arm, + GOARM: 5 + } + linux_armv6: + cmds: + - task: build_tpl + vars: { + TASK: "{{.TASK}}", + GOOS: linux, + GOARCH: arm, + GOARM: 6 + } + linux_armv7: + cmds: + - task: build_tpl + vars: { + TASK: "{{.TASK}}", + GOOS: linux, + GOARCH: arm, + GOARM: 7 + } + linux_armv8: + cmds: + - task: build_tpl + vars: { + TASK: "{{.TASK}}", + GOOS: linux, + GOARCH: arm64 + } + linux_mips_hardfloat: + cmds: + - task: build_tpl + vars: { + TASK: "{{.TASK}}", + GOOS: linux, + GOARCH: mips, + GOMIPS: hardfloat + } + linux_mipsle_softfloat: + cmds: + - task: build_tpl + vars: { + TASK: "{{.TASK}}", + GOOS: linux, + GOARCH: mipsle, + GOMIPS: softfloat + } + linux_mipsle_hardfloat: + cmds: + - task: build_tpl + vars: { + TASK: "{{.TASK}}", + GOOS: linux, + GOARCH: mipsle, + GOMIPS: hardfloat + } + linux_mips64: + cmds: + - task: build_tpl + vars: { + TASK: "{{.TASK}}", + GOOS: linux, + GOARCH: mips64 + } + linux_mips64le: + cmds: + - task: build_tpl + vars: { + TASK: "{{.TASK}}", + GOOS: linux, + GOARCH: mips64le + } + windows_386.exe: + cmds: + - task: build_tpl + vars: { + TASK: "{{.TASK}}", + GOOS: windows, + GOARCH: 386 + } + windows_amd64.exe: + cmds: + - task: build_tpl + vars: { + TASK: "{{.TASK}}", + GOOS: windows, + GOARCH: amd64 + } + windows_amd64_v2.exe: + cmds: + - task: build_tpl + vars: { + TASK: "{{.TASK}}", + GOOS: windows, + GOARCH: amd64, + GOAMD64: v2 + } + windows_amd64_v3.exe: + cmds: + - task: build_tpl + vars: { + TASK: "{{.TASK}}", + GOOS: windows, + GOARCH: amd64, + GOAMD64: v3 + } + windows_amd64_v4.exe: + cmds: + - task: build_tpl + vars: { + TASK: "{{.TASK}}", + GOOS: windows, + GOARCH: amd64, + GOAMD64: v4 + } + darwin_amd64: + cmds: + - task: build_tpl + vars: { + TASK: "{{.TASK}}", + GOOS: darwin, + GOARCH: amd64, + } + darwin_arm64: + cmds: + - task: build_tpl + vars: { + TASK: "{{.TASK}}", + GOOS: darwin, + GOARCH: arm64, + } + docker: + cmds: + - docker build -t adams549659584/go-proxy-bingai:{{.BUILD_VERSION}} -f docker/Dockerfile . + - docker tag adams549659584/go-proxy-bingai:{{.BUILD_VERSION}} adams549659584/go-proxy-bingai + default: + cmds: + - task: clean + - task: build_web + - task: linux_386 + - task: linux_amd64 + - task: linux_amd64_v2 + - task: linux_amd64_v3 + - task: linux_amd64_v4 + - task: linux_armv5 + - task: linux_armv6 + - task: linux_armv7 + - task: linux_armv8 + - task: linux_mips_hardfloat + - task: linux_mipsle_softfloat + - task: linux_mipsle_hardfloat + - task: linux_mips64 + - task: linux_mips64le + - task: windows_386.exe + - task: windows_amd64.exe + - task: windows_amd64_v2.exe + - task: windows_amd64_v3.exe + - task: windows_amd64_v4.exe + - task: darwin_amd64 + - task: darwin_arm64 + release: + cmds: + - task: default diff --git a/api/web.go b/api/web.go index e3fce7c8a9..3ac4830775 100644 --- a/api/web.go +++ b/api/web.go @@ -7,7 +7,7 @@ import ( ) func WebStatic(w http.ResponseWriter, r *http.Request) { - if _, ok := web.WEB_PATH_MAP[r.URL.Path]; ok { + if _, ok := web.WEB_PATH_MAP[r.URL.Path]; ok || r.URL.Path == common.PROXY_WEB_PREFIX_PATH { http.StripPrefix(common.PROXY_WEB_PREFIX_PATH, http.FileServer(web.GetWebFS())).ServeHTTP(w, r) } else { common.NewSingleHostReverseProxy(common.BING_URL).ServeHTTP(w, r) diff --git a/common/proxy.go b/common/proxy.go index b3577d05af..b931e0c107 100644 --- a/common/proxy.go +++ b/common/proxy.go @@ -44,7 +44,7 @@ var ( USER_TOKEN_COOKIE_NAME = "_U" RAND_IP_COOKIE_NAME = "BingAI_Rand_IP" PROXY_WEB_PREFIX_PATH = "/web/" - PROXY_WEB_PAGE_PATH = PROXY_WEB_PREFIX_PATH + "chat.html" + PROXY_WEB_PAGE_PATH = PROXY_WEB_PREFIX_PATH + "index.html" ) func NewSingleHostReverseProxy(target *url.URL) *httputil.ReverseProxy { @@ -150,6 +150,11 @@ func NewSingleHostReverseProxy(target *url.URL) *httputil.ReverseProxy { } } + // 跨域 + res.Header.Set("Access-Control-Allow-Origin", "*") + res.Header.Set("Access-Control-Allow-Methods", "*") + res.Header.Set("Access-Control-Allow-Headers", "*") + return nil } errorHandler := func(res http.ResponseWriter, req *http.Request, err error) { diff --git a/frontend/.env b/frontend/.env new file mode 100644 index 0000000000..d30a2f77be --- /dev/null +++ b/frontend/.env @@ -0,0 +1 @@ +VITE_BASE_API_URL=https://devbing.vcanbb.top \ No newline at end of file diff --git a/frontend/.eslintrc.cjs b/frontend/.eslintrc.cjs new file mode 100644 index 0000000000..6f40582dda --- /dev/null +++ b/frontend/.eslintrc.cjs @@ -0,0 +1,15 @@ +/* eslint-env node */ +require('@rushstack/eslint-patch/modern-module-resolution') + +module.exports = { + root: true, + 'extends': [ + 'plugin:vue/vue3-essential', + 'eslint:recommended', + '@vue/eslint-config-typescript', + '@vue/eslint-config-prettier/skip-formatting' + ], + parserOptions: { + ecmaVersion: 'latest' + } +} diff --git a/frontend/.gitignore b/frontend/.gitignore new file mode 100644 index 0000000000..38adffa64e --- /dev/null +++ b/frontend/.gitignore @@ -0,0 +1,28 @@ +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +pnpm-debug.log* +lerna-debug.log* + +node_modules +.DS_Store +dist +dist-ssr +coverage +*.local + +/cypress/videos/ +/cypress/screenshots/ + +# Editor directories and files +.vscode/* +!.vscode/extensions.json +.idea +*.suo +*.ntvs* +*.njsproj +*.sln +*.sw? diff --git a/frontend/.prettierrc.config.js b/frontend/.prettierrc.config.js new file mode 100644 index 0000000000..30548bc872 --- /dev/null +++ b/frontend/.prettierrc.config.js @@ -0,0 +1,9 @@ +module.exports = { + plugins: [require('prettier-plugin-tailwindcss')], + $schema: 'https://json.schemastore.org/prettierrc', + semi: true, + tabWidth: 2, + singleQuote: true, + printWidth: 100, + trailingComma: 'none', +}; diff --git a/frontend/.vscode/extensions.json b/frontend/.vscode/extensions.json new file mode 100644 index 0000000000..1f690c3770 --- /dev/null +++ b/frontend/.vscode/extensions.json @@ -0,0 +1,9 @@ +{ + "recommendations": [ + "vue.volar", + "vue.vscode-typescript-vue-plugin", + "bradlc.vscode-tailwindcss", + "esbenp.prettier-vscode", + "dbaeumer.vscode-eslint" + ] +} diff --git a/frontend/README.md b/frontend/README.md new file mode 100644 index 0000000000..44ecd3b84f --- /dev/null +++ b/frontend/README.md @@ -0,0 +1,46 @@ +# go-proxy-bingai + +This template should help get you started developing with Vue 3 in Vite. + +## Recommended IDE Setup + +[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur) + [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin). + +## Type Support for `.vue` Imports in TS + +TypeScript cannot handle type information for `.vue` imports by default, so we replace the `tsc` CLI with `vue-tsc` for type checking. In editors, we need [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin) to make the TypeScript language service aware of `.vue` types. + +If the standalone TypeScript plugin doesn't feel fast enough to you, Volar has also implemented a [Take Over Mode](https://github.com/johnsoncodehk/volar/discussions/471#discussioncomment-1361669) that is more performant. You can enable it by the following steps: + +1. Disable the built-in TypeScript Extension + 1) Run `Extensions: Show Built-in Extensions` from VSCode's command palette + 2) Find `TypeScript and JavaScript Language Features`, right click and select `Disable (Workspace)` +2. Reload the VSCode window by running `Developer: Reload Window` from the command palette. + +## Customize configuration + +See [Vite Configuration Reference](https://vitejs.dev/config/). + +## Project Setup + +```sh +pnpm install +``` + +### Compile and Hot-Reload for Development + +```sh +pnpm dev +``` + +### Type-Check, Compile and Minify for Production + +```sh +pnpm build +``` + +### Lint with [ESLint](https://eslint.org/) + +```sh +pnpm lint +``` diff --git a/frontend/index.html b/frontend/index.html new file mode 100644 index 0000000000..7adc9e96c9 --- /dev/null +++ b/frontend/index.html @@ -0,0 +1,109 @@ + + + + + + + + + + + + BingAI - 聊天 + + + + + + + +
+
+
+
+
+ + +
+ + +
+
+
+
+
+ +
+ + + + \ No newline at end of file diff --git a/frontend/package.json b/frontend/package.json new file mode 100644 index 0000000000..f0a5d3bff9 --- /dev/null +++ b/frontend/package.json @@ -0,0 +1,43 @@ +{ + "name": "go-proxy-bingai", + "version": "1.6.0", + "private": true, + "scripts": { + "dev": "vite", + "build": "run-p type-check build-only", + "preview": "vite preview", + "build-only": "vite build", + "type-check": "vue-tsc --noEmit -p tsconfig.app.json --composite false", + "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", + "format": "prettier --write src/" + }, + "dependencies": { + "pinia": "^2.0.36", + "pinia-plugin-persistedstate": "^3.1.0", + "vue": "^3.3.2", + "vue-router": "^4.2.0", + "vue3-virtual-scroll-list": "^0.2.1" + }, + "devDependencies": { + "@rushstack/eslint-patch": "^1.2.0", + "@tsconfig/node18": "^2.0.1", + "@types/node": "^18.16.8", + "@vitejs/plugin-vue": "^4.2.3", + "@vue/eslint-config-prettier": "^7.1.0", + "@vue/eslint-config-typescript": "^11.0.3", + "@vue/tsconfig": "^0.4.0", + "autoprefixer": "^10.4.14", + "eslint": "^8.39.0", + "eslint-plugin-vue": "^9.11.0", + "naive-ui": "^2.34.3", + "npm-run-all": "^4.1.5", + "postcss": "^8.4.23", + "prettier": "^2.8.8", + "prettier-plugin-tailwindcss": "^0.2.8", + "tailwindcss": "^3.3.2", + "typescript": "~5.0.4", + "vite": "^4.3.5", + "vite-plugin-pwa": "^0.14.7", + "vue-tsc": "^1.6.4" + } +} diff --git a/frontend/pnpm-lock.yaml b/frontend/pnpm-lock.yaml new file mode 100644 index 0000000000..13b5c4bcc8 --- /dev/null +++ b/frontend/pnpm-lock.yaml @@ -0,0 +1,4874 @@ +lockfileVersion: '6.0' + +dependencies: + pinia: + specifier: ^2.0.36 + version: 2.0.36(typescript@5.0.4)(vue@3.3.2) + pinia-plugin-persistedstate: + specifier: ^3.1.0 + version: 3.1.0(pinia@2.0.36) + vue: + specifier: ^3.3.2 + version: 3.3.2 + vue-router: + specifier: ^4.2.0 + version: 4.2.0(vue@3.3.2) + vue3-virtual-scroll-list: + specifier: ^0.2.1 + version: 0.2.1(vue@3.3.2) + +devDependencies: + '@rushstack/eslint-patch': + specifier: ^1.2.0 + version: 1.2.0 + '@tsconfig/node18': + specifier: ^2.0.1 + version: 2.0.1 + '@types/node': + specifier: ^18.16.8 + version: 18.16.9 + '@vitejs/plugin-vue': + specifier: ^4.2.3 + version: 4.2.3(vite@4.3.5)(vue@3.3.2) + '@vue/eslint-config-prettier': + specifier: ^7.1.0 + version: 7.1.0(eslint@8.40.0)(prettier@2.8.8) + '@vue/eslint-config-typescript': + specifier: ^11.0.3 + version: 11.0.3(eslint-plugin-vue@9.12.0)(eslint@8.40.0)(typescript@5.0.4) + '@vue/tsconfig': + specifier: ^0.4.0 + version: 0.4.0 + autoprefixer: + specifier: ^10.4.14 + version: 10.4.14(postcss@8.4.23) + eslint: + specifier: ^8.39.0 + version: 8.40.0 + eslint-plugin-vue: + specifier: ^9.11.0 + version: 9.12.0(eslint@8.40.0) + naive-ui: + specifier: ^2.34.3 + version: 2.34.3(vue@3.3.2) + npm-run-all: + specifier: ^4.1.5 + version: 4.1.5 + postcss: + specifier: ^8.4.23 + version: 8.4.23 + prettier: + specifier: ^2.8.8 + version: 2.8.8 + prettier-plugin-tailwindcss: + specifier: ^0.2.8 + version: 0.2.8(prettier@2.8.8) + tailwindcss: + specifier: ^3.3.2 + version: 3.3.2 + typescript: + specifier: ~5.0.4 + version: 5.0.4 + vite: + specifier: ^4.3.5 + version: 4.3.5(@types/node@18.16.9) + vite-plugin-pwa: + specifier: ^0.14.7 + version: 0.14.7(vite@4.3.5)(workbox-build@6.5.4)(workbox-window@6.5.4) + vue-tsc: + specifier: ^1.6.4 + version: 1.6.5(typescript@5.0.4) + +packages: + + /@alloc/quick-lru@5.2.0: + resolution: {integrity: sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw==} + engines: {node: '>=10'} + dev: true + + /@ampproject/remapping@2.2.1: + resolution: {integrity: sha512-lFMjJTrFL3j7L9yBxwYfCq2k6qqwHyzuUl/XBnif78PWTJYyL/dfowQHWE3sp6U6ZzqWiiIZnpTMO96zhkjwtg==} + engines: {node: '>=6.0.0'} + dependencies: + '@jridgewell/gen-mapping': 0.3.3 + '@jridgewell/trace-mapping': 0.3.18 + dev: true + + /@apideck/better-ajv-errors@0.3.6(ajv@8.12.0): + resolution: {integrity: sha512-P+ZygBLZtkp0qqOAJJVX4oX/sFo5JR3eBWwwuqHHhK0GIgQOKWrAfiAaWX0aArHkRWHMuggFEgAZNxVPwPZYaA==} + engines: {node: '>=10'} + peerDependencies: + ajv: '>=8' + dependencies: + ajv: 8.12.0 + json-schema: 0.4.0 + jsonpointer: 5.0.1 + leven: 3.1.0 + dev: true + + /@babel/code-frame@7.21.4: + resolution: {integrity: sha512-LYvhNKfwWSPpocw8GI7gpK2nq3HSDuEPC/uSYaALSJu9xjsalaaYFOq0Pwt5KmVqwEbZlDu81aLXwBOmD/Fv9g==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/highlight': 7.18.6 + dev: true + + /@babel/compat-data@7.21.7: + resolution: {integrity: sha512-KYMqFYTaenzMK4yUtf4EW9wc4N9ef80FsbMtkwool5zpwl4YrT1SdWYSTRcT94KO4hannogdS+LxY7L+arP3gA==} + engines: {node: '>=6.9.0'} + dev: true + + /@babel/core@7.21.8: + resolution: {integrity: sha512-YeM22Sondbo523Sz0+CirSPnbj9bG3P0CdHcBZdqUuaeOaYEFbOLoGU7lebvGP6P5J/WE9wOn7u7C4J9HvS1xQ==} + engines: {node: '>=6.9.0'} + dependencies: + '@ampproject/remapping': 2.2.1 + '@babel/code-frame': 7.21.4 + '@babel/generator': 7.21.5 + '@babel/helper-compilation-targets': 7.21.5(@babel/core@7.21.8) + '@babel/helper-module-transforms': 7.21.5 + '@babel/helpers': 7.21.5 + '@babel/parser': 7.21.8 + '@babel/template': 7.20.7 + '@babel/traverse': 7.21.5 + '@babel/types': 7.21.5 + convert-source-map: 1.9.0 + debug: 4.3.4 + gensync: 1.0.0-beta.2 + json5: 2.2.3 + semver: 6.3.0 + transitivePeerDependencies: + - supports-color + dev: true + + /@babel/generator@7.21.5: + resolution: {integrity: sha512-SrKK/sRv8GesIW1bDagf9cCG38IOMYZusoe1dfg0D8aiUe3Amvoj1QtjTPAWcfrZFvIwlleLb0gxzQidL9w14w==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/types': 7.21.5 + '@jridgewell/gen-mapping': 0.3.3 + '@jridgewell/trace-mapping': 0.3.18 + jsesc: 2.5.2 + dev: true + + /@babel/helper-annotate-as-pure@7.18.6: + resolution: {integrity: sha512-duORpUiYrEpzKIop6iNbjnwKLAKnJ47csTyRACyEmWj0QdUrm5aqNJGHSSEQSUAvNW0ojX0dOmK9dZduvkfeXA==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/types': 7.21.5 + dev: true + + /@babel/helper-builder-binary-assignment-operator-visitor@7.21.5: + resolution: {integrity: sha512-uNrjKztPLkUk7bpCNC0jEKDJzzkvel/W+HguzbN8krA+LPfC1CEobJEvAvGka2A/M+ViOqXdcRL0GqPUJSjx9g==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/types': 7.21.5 + dev: true + + /@babel/helper-compilation-targets@7.21.5(@babel/core@7.21.8): + resolution: {integrity: sha512-1RkbFGUKex4lvsB9yhIfWltJM5cZKUftB2eNajaDv3dCMEp49iBG0K14uH8NnX9IPux2+mK7JGEOB0jn48/J6w==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0 + dependencies: + '@babel/compat-data': 7.21.7 + '@babel/core': 7.21.8 + '@babel/helper-validator-option': 7.21.0 + browserslist: 4.21.5 + lru-cache: 5.1.1 + semver: 6.3.0 + dev: true + + /@babel/helper-create-class-features-plugin@7.21.8(@babel/core@7.21.8): + resolution: {integrity: sha512-+THiN8MqiH2AczyuZrnrKL6cAxFRRQDKW9h1YkBvbgKmAm6mwiacig1qT73DHIWMGo40GRnsEfN3LA+E6NtmSw==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0 + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-annotate-as-pure': 7.18.6 + '@babel/helper-environment-visitor': 7.21.5 + '@babel/helper-function-name': 7.21.0 + '@babel/helper-member-expression-to-functions': 7.21.5 + '@babel/helper-optimise-call-expression': 7.18.6 + '@babel/helper-replace-supers': 7.21.5 + '@babel/helper-skip-transparent-expression-wrappers': 7.20.0 + '@babel/helper-split-export-declaration': 7.18.6 + semver: 6.3.0 + transitivePeerDependencies: + - supports-color + dev: true + + /@babel/helper-create-regexp-features-plugin@7.21.8(@babel/core@7.21.8): + resolution: {integrity: sha512-zGuSdedkFtsFHGbexAvNuipg1hbtitDLo2XE8/uf6Y9sOQV1xsYX/2pNbtedp/X0eU1pIt+kGvaqHCowkRbS5g==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0 + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-annotate-as-pure': 7.18.6 + regexpu-core: 5.3.2 + semver: 6.3.0 + dev: true + + /@babel/helper-define-polyfill-provider@0.3.3(@babel/core@7.21.8): + resolution: {integrity: sha512-z5aQKU4IzbqCC1XH0nAqfsFLMVSo22SBKUc0BxGrLkolTdPTructy0ToNnlO2zA4j9Q/7pjMZf0DSY+DSTYzww==} + peerDependencies: + '@babel/core': ^7.4.0-0 + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-compilation-targets': 7.21.5(@babel/core@7.21.8) + '@babel/helper-plugin-utils': 7.21.5 + debug: 4.3.4 + lodash.debounce: 4.0.8 + resolve: 1.22.2 + semver: 6.3.0 + transitivePeerDependencies: + - supports-color + dev: true + + /@babel/helper-environment-visitor@7.21.5: + resolution: {integrity: sha512-IYl4gZ3ETsWocUWgsFZLM5i1BYx9SoemminVEXadgLBa9TdeorzgLKm8wWLA6J1N/kT3Kch8XIk1laNzYoHKvQ==} + engines: {node: '>=6.9.0'} + dev: true + + /@babel/helper-function-name@7.21.0: + resolution: {integrity: sha512-HfK1aMRanKHpxemaY2gqBmL04iAPOPRj7DxtNbiDOrJK+gdwkiNRVpCpUJYbUT+aZyemKN8brqTOxzCaG6ExRg==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/template': 7.20.7 + '@babel/types': 7.21.5 + dev: true + + /@babel/helper-hoist-variables@7.18.6: + resolution: {integrity: sha512-UlJQPkFqFULIcyW5sbzgbkxn2FKRgwWiRexcuaR8RNJRy8+LLveqPjwZV/bwrLZCN0eUHD/x8D0heK1ozuoo6Q==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/types': 7.21.5 + dev: true + + /@babel/helper-member-expression-to-functions@7.21.5: + resolution: {integrity: sha512-nIcGfgwpH2u4n9GG1HpStW5Ogx7x7ekiFHbjjFRKXbn5zUvqO9ZgotCO4x1aNbKn/x/xOUaXEhyNHCwtFCpxWg==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/types': 7.21.5 + dev: true + + /@babel/helper-module-imports@7.21.4: + resolution: {integrity: sha512-orajc5T2PsRYUN3ZryCEFeMDYwyw09c/pZeaQEZPH0MpKzSvn3e0uXsDBu3k03VI+9DBiRo+l22BfKTpKwa/Wg==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/types': 7.21.5 + dev: true + + /@babel/helper-module-transforms@7.21.5: + resolution: {integrity: sha512-bI2Z9zBGY2q5yMHoBvJ2a9iX3ZOAzJPm7Q8Yz6YeoUjU/Cvhmi2G4QyTNyPBqqXSgTjUxRg3L0xV45HvkNWWBw==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/helper-environment-visitor': 7.21.5 + '@babel/helper-module-imports': 7.21.4 + '@babel/helper-simple-access': 7.21.5 + '@babel/helper-split-export-declaration': 7.18.6 + '@babel/helper-validator-identifier': 7.19.1 + '@babel/template': 7.20.7 + '@babel/traverse': 7.21.5 + '@babel/types': 7.21.5 + transitivePeerDependencies: + - supports-color + dev: true + + /@babel/helper-optimise-call-expression@7.18.6: + resolution: {integrity: sha512-HP59oD9/fEHQkdcbgFCnbmgH5vIQTJbxh2yf+CdM89/glUNnuzr87Q8GIjGEnOktTROemO0Pe0iPAYbqZuOUiA==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/types': 7.21.5 + dev: true + + /@babel/helper-plugin-utils@7.21.5: + resolution: {integrity: sha512-0WDaIlXKOX/3KfBK/dwP1oQGiPh6rjMkT7HIRv7i5RR2VUMwrx5ZL0dwBkKx7+SW1zwNdgjHd34IMk5ZjTeHVg==} + engines: {node: '>=6.9.0'} + dev: true + + /@babel/helper-remap-async-to-generator@7.18.9(@babel/core@7.21.8): + resolution: {integrity: sha512-dI7q50YKd8BAv3VEfgg7PS7yD3Rtbi2J1XMXaalXO0W0164hYLnh8zpjRS0mte9MfVp/tltvr/cfdXPvJr1opA==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0 + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-annotate-as-pure': 7.18.6 + '@babel/helper-environment-visitor': 7.21.5 + '@babel/helper-wrap-function': 7.20.5 + '@babel/types': 7.21.5 + transitivePeerDependencies: + - supports-color + dev: true + + /@babel/helper-replace-supers@7.21.5: + resolution: {integrity: sha512-/y7vBgsr9Idu4M6MprbOVUfH3vs7tsIfnVWv/Ml2xgwvyH6LTngdfbf5AdsKwkJy4zgy1X/kuNrEKvhhK28Yrg==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/helper-environment-visitor': 7.21.5 + '@babel/helper-member-expression-to-functions': 7.21.5 + '@babel/helper-optimise-call-expression': 7.18.6 + '@babel/template': 7.20.7 + '@babel/traverse': 7.21.5 + '@babel/types': 7.21.5 + transitivePeerDependencies: + - supports-color + dev: true + + /@babel/helper-simple-access@7.21.5: + resolution: {integrity: sha512-ENPDAMC1wAjR0uaCUwliBdiSl1KBJAVnMTzXqi64c2MG8MPR6ii4qf7bSXDqSFbr4W6W028/rf5ivoHop5/mkg==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/types': 7.21.5 + dev: true + + /@babel/helper-skip-transparent-expression-wrappers@7.20.0: + resolution: {integrity: sha512-5y1JYeNKfvnT8sZcK9DVRtpTbGiomYIHviSP3OQWmDPU3DeH4a1ZlT/N2lyQ5P8egjcRaT/Y9aNqUxK0WsnIIg==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/types': 7.21.5 + dev: true + + /@babel/helper-split-export-declaration@7.18.6: + resolution: {integrity: sha512-bde1etTx6ZyTmobl9LLMMQsaizFVZrquTEHOqKeQESMKo4PlObf+8+JA25ZsIpZhT/WEd39+vOdLXAFG/nELpA==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/types': 7.21.5 + dev: true + + /@babel/helper-string-parser@7.21.5: + resolution: {integrity: sha512-5pTUx3hAJaZIdW99sJ6ZUUgWq/Y+Hja7TowEnLNMm1VivRgZQL3vpBY3qUACVsvw+yQU6+YgfBVmcbLaZtrA1w==} + engines: {node: '>=6.9.0'} + + /@babel/helper-validator-identifier@7.19.1: + resolution: {integrity: sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w==} + engines: {node: '>=6.9.0'} + + /@babel/helper-validator-option@7.21.0: + resolution: {integrity: sha512-rmL/B8/f0mKS2baE9ZpyTcTavvEuWhTTW8amjzXNvYG4AwBsqTLikfXsEofsJEfKHf+HQVQbFOHy6o+4cnC/fQ==} + engines: {node: '>=6.9.0'} + dev: true + + /@babel/helper-wrap-function@7.20.5: + resolution: {integrity: sha512-bYMxIWK5mh+TgXGVqAtnu5Yn1un+v8DDZtqyzKRLUzrh70Eal2O3aZ7aPYiMADO4uKlkzOiRiZ6GX5q3qxvW9Q==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/helper-function-name': 7.21.0 + '@babel/template': 7.20.7 + '@babel/traverse': 7.21.5 + '@babel/types': 7.21.5 + transitivePeerDependencies: + - supports-color + dev: true + + /@babel/helpers@7.21.5: + resolution: {integrity: sha512-BSY+JSlHxOmGsPTydUkPf1MdMQ3M81x5xGCOVgWM3G8XH77sJ292Y2oqcp0CbbgxhqBuI46iUz1tT7hqP7EfgA==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/template': 7.20.7 + '@babel/traverse': 7.21.5 + '@babel/types': 7.21.5 + transitivePeerDependencies: + - supports-color + dev: true + + /@babel/highlight@7.18.6: + resolution: {integrity: sha512-u7stbOuYjaPezCuLj29hNW1v64M2Md2qupEKP1fHc7WdOA3DgLh37suiSrZYY7haUB7iBeQZ9P1uiRF359do3g==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/helper-validator-identifier': 7.19.1 + chalk: 2.4.2 + js-tokens: 4.0.0 + dev: true + + /@babel/parser@7.21.8: + resolution: {integrity: sha512-6zavDGdzG3gUqAdWvlLFfk+36RilI+Pwyuuh7HItyeScCWP3k6i8vKclAQ0bM/0y/Kz/xiwvxhMv9MgTJP5gmA==} + engines: {node: '>=6.0.0'} + hasBin: true + dependencies: + '@babel/types': 7.21.5 + + /@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@7.18.6(@babel/core@7.21.8): + resolution: {integrity: sha512-Dgxsyg54Fx1d4Nge8UnvTrED63vrwOdPmyvPzlNN/boaliRP54pm3pGzZD1SJUwrBA+Cs/xdG8kXX6Mn/RfISQ==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0 + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 + dev: true + + /@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@7.20.7(@babel/core@7.21.8): + resolution: {integrity: sha512-sbr9+wNE5aXMBBFBICk01tt7sBf2Oc9ikRFEcem/ZORup9IMUdNhW7/wVLEbbtlWOsEubJet46mHAL2C8+2jKQ==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.13.0 + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 + '@babel/helper-skip-transparent-expression-wrappers': 7.20.0 + '@babel/plugin-proposal-optional-chaining': 7.21.0(@babel/core@7.21.8) + dev: true + + /@babel/plugin-proposal-async-generator-functions@7.20.7(@babel/core@7.21.8): + resolution: {integrity: sha512-xMbiLsn/8RK7Wq7VeVytytS2L6qE69bXPB10YCmMdDZbKF4okCqY74pI/jJQ/8U0b/F6NrT2+14b8/P9/3AMGA==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-environment-visitor': 7.21.5 + '@babel/helper-plugin-utils': 7.21.5 + '@babel/helper-remap-async-to-generator': 7.18.9(@babel/core@7.21.8) + '@babel/plugin-syntax-async-generators': 7.8.4(@babel/core@7.21.8) + transitivePeerDependencies: + - supports-color + dev: true + + /@babel/plugin-proposal-class-properties@7.18.6(@babel/core@7.21.8): + resolution: {integrity: sha512-cumfXOF0+nzZrrN8Rf0t7M+tF6sZc7vhQwYQck9q1/5w2OExlD+b4v4RpMJFaV1Z7WcDRgO6FqvxqxGlwo+RHQ==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-create-class-features-plugin': 7.21.8(@babel/core@7.21.8) + '@babel/helper-plugin-utils': 7.21.5 + transitivePeerDependencies: + - supports-color + dev: true + + /@babel/plugin-proposal-class-static-block@7.21.0(@babel/core@7.21.8): + resolution: {integrity: sha512-XP5G9MWNUskFuP30IfFSEFB0Z6HzLIUcjYM4bYOPHXl7eiJ9HFv8tWj6TXTN5QODiEhDZAeI4hLok2iHFFV4hw==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.12.0 + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-create-class-features-plugin': 7.21.8(@babel/core@7.21.8) + '@babel/helper-plugin-utils': 7.21.5 + '@babel/plugin-syntax-class-static-block': 7.14.5(@babel/core@7.21.8) + transitivePeerDependencies: + - supports-color + dev: true + + /@babel/plugin-proposal-dynamic-import@7.18.6(@babel/core@7.21.8): + resolution: {integrity: sha512-1auuwmK+Rz13SJj36R+jqFPMJWyKEDd7lLSdOj4oJK0UTgGueSAtkrCvz9ewmgyU/P941Rv2fQwZJN8s6QruXw==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 + '@babel/plugin-syntax-dynamic-import': 7.8.3(@babel/core@7.21.8) + dev: true + + /@babel/plugin-proposal-export-namespace-from@7.18.9(@babel/core@7.21.8): + resolution: {integrity: sha512-k1NtHyOMvlDDFeb9G5PhUXuGj8m/wiwojgQVEhJ/fsVsMCpLyOP4h0uGEjYJKrRI+EVPlb5Jk+Gt9P97lOGwtA==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 + '@babel/plugin-syntax-export-namespace-from': 7.8.3(@babel/core@7.21.8) + dev: true + + /@babel/plugin-proposal-json-strings@7.18.6(@babel/core@7.21.8): + resolution: {integrity: sha512-lr1peyn9kOdbYc0xr0OdHTZ5FMqS6Di+H0Fz2I/JwMzGmzJETNeOFq2pBySw6X/KFL5EWDjlJuMsUGRFb8fQgQ==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 + '@babel/plugin-syntax-json-strings': 7.8.3(@babel/core@7.21.8) + dev: true + + /@babel/plugin-proposal-logical-assignment-operators@7.20.7(@babel/core@7.21.8): + resolution: {integrity: sha512-y7C7cZgpMIjWlKE5T7eJwp+tnRYM89HmRvWM5EQuB5BoHEONjmQ8lSNmBUwOyy/GFRsohJED51YBF79hE1djug==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 + '@babel/plugin-syntax-logical-assignment-operators': 7.10.4(@babel/core@7.21.8) + dev: true + + /@babel/plugin-proposal-nullish-coalescing-operator@7.18.6(@babel/core@7.21.8): + resolution: {integrity: sha512-wQxQzxYeJqHcfppzBDnm1yAY0jSRkUXR2z8RePZYrKwMKgMlE8+Z6LUno+bd6LvbGh8Gltvy74+9pIYkr+XkKA==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 + '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3(@babel/core@7.21.8) + dev: true + + /@babel/plugin-proposal-numeric-separator@7.18.6(@babel/core@7.21.8): + resolution: {integrity: sha512-ozlZFogPqoLm8WBr5Z8UckIoE4YQ5KESVcNudyXOR8uqIkliTEgJ3RoketfG6pmzLdeZF0H/wjE9/cCEitBl7Q==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 + '@babel/plugin-syntax-numeric-separator': 7.10.4(@babel/core@7.21.8) + dev: true + + /@babel/plugin-proposal-object-rest-spread@7.20.7(@babel/core@7.21.8): + resolution: {integrity: sha512-d2S98yCiLxDVmBmE8UjGcfPvNEUbA1U5q5WxaWFUGRzJSVAZqm5W6MbPct0jxnegUZ0niLeNX+IOzEs7wYg9Dg==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/compat-data': 7.21.7 + '@babel/core': 7.21.8 + '@babel/helper-compilation-targets': 7.21.5(@babel/core@7.21.8) + '@babel/helper-plugin-utils': 7.21.5 + '@babel/plugin-syntax-object-rest-spread': 7.8.3(@babel/core@7.21.8) + '@babel/plugin-transform-parameters': 7.21.3(@babel/core@7.21.8) + dev: true + + /@babel/plugin-proposal-optional-catch-binding@7.18.6(@babel/core@7.21.8): + resolution: {integrity: sha512-Q40HEhs9DJQyaZfUjjn6vE8Cv4GmMHCYuMGIWUnlxH6400VGxOuwWsPt4FxXxJkC/5eOzgn0z21M9gMT4MOhbw==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 + '@babel/plugin-syntax-optional-catch-binding': 7.8.3(@babel/core@7.21.8) + dev: true + + /@babel/plugin-proposal-optional-chaining@7.21.0(@babel/core@7.21.8): + resolution: {integrity: sha512-p4zeefM72gpmEe2fkUr/OnOXpWEf8nAgk7ZYVqqfFiyIG7oFfVZcCrU64hWn5xp4tQ9LkV4bTIa5rD0KANpKNA==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 + '@babel/helper-skip-transparent-expression-wrappers': 7.20.0 + '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.21.8) + dev: true + + /@babel/plugin-proposal-private-methods@7.18.6(@babel/core@7.21.8): + resolution: {integrity: sha512-nutsvktDItsNn4rpGItSNV2sz1XwS+nfU0Rg8aCx3W3NOKVzdMjJRu0O5OkgDp3ZGICSTbgRpxZoWsxoKRvbeA==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-create-class-features-plugin': 7.21.8(@babel/core@7.21.8) + '@babel/helper-plugin-utils': 7.21.5 + transitivePeerDependencies: + - supports-color + dev: true + + /@babel/plugin-proposal-private-property-in-object@7.21.0(@babel/core@7.21.8): + resolution: {integrity: sha512-ha4zfehbJjc5MmXBlHec1igel5TJXXLDDRbuJ4+XT2TJcyD9/V1919BA8gMvsdHcNMBy4WBUBiRb3nw/EQUtBw==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-annotate-as-pure': 7.18.6 + '@babel/helper-create-class-features-plugin': 7.21.8(@babel/core@7.21.8) + '@babel/helper-plugin-utils': 7.21.5 + '@babel/plugin-syntax-private-property-in-object': 7.14.5(@babel/core@7.21.8) + transitivePeerDependencies: + - supports-color + dev: true + + /@babel/plugin-proposal-unicode-property-regex@7.18.6(@babel/core@7.21.8): + resolution: {integrity: sha512-2BShG/d5yoZyXZfVePH91urL5wTG6ASZU9M4o03lKK8u8UW1y08OMttBSOADTcJrnPMpvDXRG3G8fyLh4ovs8w==} + engines: {node: '>=4'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-create-regexp-features-plugin': 7.21.8(@babel/core@7.21.8) + '@babel/helper-plugin-utils': 7.21.5 + dev: true + + /@babel/plugin-syntax-async-generators@7.8.4(@babel/core@7.21.8): + resolution: {integrity: sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 + dev: true + + /@babel/plugin-syntax-class-properties@7.12.13(@babel/core@7.21.8): + resolution: {integrity: sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 + dev: true + + /@babel/plugin-syntax-class-static-block@7.14.5(@babel/core@7.21.8): + resolution: {integrity: sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 + dev: true + + /@babel/plugin-syntax-dynamic-import@7.8.3(@babel/core@7.21.8): + resolution: {integrity: sha512-5gdGbFon+PszYzqs83S3E5mpi7/y/8M9eC90MRTZfduQOYW76ig6SOSPNe41IG5LoP3FGBn2N0RjVDSQiS94kQ==} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 + dev: true + + /@babel/plugin-syntax-export-namespace-from@7.8.3(@babel/core@7.21.8): + resolution: {integrity: sha512-MXf5laXo6c1IbEbegDmzGPwGNTsHZmEy6QGznu5Sh2UCWvueywb2ee+CCE4zQiZstxU9BMoQO9i6zUFSY0Kj0Q==} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 + dev: true + + /@babel/plugin-syntax-import-assertions@7.20.0(@babel/core@7.21.8): + resolution: {integrity: sha512-IUh1vakzNoWalR8ch/areW7qFopR2AEw03JlG7BbrDqmQ4X3q9uuipQwSGrUn7oGiemKjtSLDhNtQHzMHr1JdQ==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 + dev: true + + /@babel/plugin-syntax-import-meta@7.10.4(@babel/core@7.21.8): + resolution: {integrity: sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g==} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 + dev: true + + /@babel/plugin-syntax-json-strings@7.8.3(@babel/core@7.21.8): + resolution: {integrity: sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 + dev: true + + /@babel/plugin-syntax-logical-assignment-operators@7.10.4(@babel/core@7.21.8): + resolution: {integrity: sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 + dev: true + + /@babel/plugin-syntax-nullish-coalescing-operator@7.8.3(@babel/core@7.21.8): + resolution: {integrity: sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 + dev: true + + /@babel/plugin-syntax-numeric-separator@7.10.4(@babel/core@7.21.8): + resolution: {integrity: sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 + dev: true + + /@babel/plugin-syntax-object-rest-spread@7.8.3(@babel/core@7.21.8): + resolution: {integrity: sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 + dev: true + + /@babel/plugin-syntax-optional-catch-binding@7.8.3(@babel/core@7.21.8): + resolution: {integrity: sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 + dev: true + + /@babel/plugin-syntax-optional-chaining@7.8.3(@babel/core@7.21.8): + resolution: {integrity: sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 + dev: true + + /@babel/plugin-syntax-private-property-in-object@7.14.5(@babel/core@7.21.8): + resolution: {integrity: sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 + dev: true + + /@babel/plugin-syntax-top-level-await@7.14.5(@babel/core@7.21.8): + resolution: {integrity: sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 + dev: true + + /@babel/plugin-transform-arrow-functions@7.21.5(@babel/core@7.21.8): + resolution: {integrity: sha512-wb1mhwGOCaXHDTcsRYMKF9e5bbMgqwxtqa2Y1ifH96dXJPwbuLX9qHy3clhrxVqgMz7nyNXs8VkxdH8UBcjKqA==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 + dev: true + + /@babel/plugin-transform-async-to-generator@7.20.7(@babel/core@7.21.8): + resolution: {integrity: sha512-Uo5gwHPT9vgnSXQxqGtpdufUiWp96gk7yiP4Mp5bm1QMkEmLXBO7PAGYbKoJ6DhAwiNkcHFBol/x5zZZkL/t0Q==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-module-imports': 7.21.4 + '@babel/helper-plugin-utils': 7.21.5 + '@babel/helper-remap-async-to-generator': 7.18.9(@babel/core@7.21.8) + transitivePeerDependencies: + - supports-color + dev: true + + /@babel/plugin-transform-block-scoped-functions@7.18.6(@babel/core@7.21.8): + resolution: {integrity: sha512-ExUcOqpPWnliRcPqves5HJcJOvHvIIWfuS4sroBUenPuMdmW+SMHDakmtS7qOo13sVppmUijqeTv7qqGsvURpQ==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 + dev: true + + /@babel/plugin-transform-block-scoping@7.21.0(@babel/core@7.21.8): + resolution: {integrity: sha512-Mdrbunoh9SxwFZapeHVrwFmri16+oYotcZysSzhNIVDwIAb1UV+kvnxULSYq9J3/q5MDG+4X6w8QVgD1zhBXNQ==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 + dev: true + + /@babel/plugin-transform-classes@7.21.0(@babel/core@7.21.8): + resolution: {integrity: sha512-RZhbYTCEUAe6ntPehC4hlslPWosNHDox+vAs4On/mCLRLfoDVHf6hVEd7kuxr1RnHwJmxFfUM3cZiZRmPxJPXQ==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-annotate-as-pure': 7.18.6 + '@babel/helper-compilation-targets': 7.21.5(@babel/core@7.21.8) + '@babel/helper-environment-visitor': 7.21.5 + '@babel/helper-function-name': 7.21.0 + '@babel/helper-optimise-call-expression': 7.18.6 + '@babel/helper-plugin-utils': 7.21.5 + '@babel/helper-replace-supers': 7.21.5 + '@babel/helper-split-export-declaration': 7.18.6 + globals: 11.12.0 + transitivePeerDependencies: + - supports-color + dev: true + + /@babel/plugin-transform-computed-properties@7.21.5(@babel/core@7.21.8): + resolution: {integrity: sha512-TR653Ki3pAwxBxUe8srfF3e4Pe3FTA46uaNHYyQwIoM4oWKSoOZiDNyHJ0oIoDIUPSRQbQG7jzgVBX3FPVne1Q==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 + '@babel/template': 7.20.7 + dev: true + + /@babel/plugin-transform-destructuring@7.21.3(@babel/core@7.21.8): + resolution: {integrity: sha512-bp6hwMFzuiE4HqYEyoGJ/V2LeIWn+hLVKc4pnj++E5XQptwhtcGmSayM029d/j2X1bPKGTlsyPwAubuU22KhMA==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 + dev: true + + /@babel/plugin-transform-dotall-regex@7.18.6(@babel/core@7.21.8): + resolution: {integrity: sha512-6S3jpun1eEbAxq7TdjLotAsl4WpQI9DxfkycRcKrjhQYzU87qpXdknpBg/e+TdcMehqGnLFi7tnFUBR02Vq6wg==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-create-regexp-features-plugin': 7.21.8(@babel/core@7.21.8) + '@babel/helper-plugin-utils': 7.21.5 + dev: true + + /@babel/plugin-transform-duplicate-keys@7.18.9(@babel/core@7.21.8): + resolution: {integrity: sha512-d2bmXCtZXYc59/0SanQKbiWINadaJXqtvIQIzd4+hNwkWBgyCd5F/2t1kXoUdvPMrxzPvhK6EMQRROxsue+mfw==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 + dev: true + + /@babel/plugin-transform-exponentiation-operator@7.18.6(@babel/core@7.21.8): + resolution: {integrity: sha512-wzEtc0+2c88FVR34aQmiz56dxEkxr2g8DQb/KfaFa1JYXOFVsbhvAonFN6PwVWj++fKmku8NP80plJ5Et4wqHw==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-builder-binary-assignment-operator-visitor': 7.21.5 + '@babel/helper-plugin-utils': 7.21.5 + dev: true + + /@babel/plugin-transform-for-of@7.21.5(@babel/core@7.21.8): + resolution: {integrity: sha512-nYWpjKW/7j/I/mZkGVgHJXh4bA1sfdFnJoOXwJuj4m3Q2EraO/8ZyrkCau9P5tbHQk01RMSt6KYLCsW7730SXQ==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 + dev: true + + /@babel/plugin-transform-function-name@7.18.9(@babel/core@7.21.8): + resolution: {integrity: sha512-WvIBoRPaJQ5yVHzcnJFor7oS5Ls0PYixlTYE63lCj2RtdQEl15M68FXQlxnG6wdraJIXRdR7KI+hQ7q/9QjrCQ==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-compilation-targets': 7.21.5(@babel/core@7.21.8) + '@babel/helper-function-name': 7.21.0 + '@babel/helper-plugin-utils': 7.21.5 + dev: true + + /@babel/plugin-transform-literals@7.18.9(@babel/core@7.21.8): + resolution: {integrity: sha512-IFQDSRoTPnrAIrI5zoZv73IFeZu2dhu6irxQjY9rNjTT53VmKg9fenjvoiOWOkJ6mm4jKVPtdMzBY98Fp4Z4cg==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 + dev: true + + /@babel/plugin-transform-member-expression-literals@7.18.6(@babel/core@7.21.8): + resolution: {integrity: sha512-qSF1ihLGO3q+/g48k85tUjD033C29TNTVB2paCwZPVmOsjn9pClvYYrM2VeJpBY2bcNkuny0YUyTNRyRxJ54KA==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 + dev: true + + /@babel/plugin-transform-modules-amd@7.20.11(@babel/core@7.21.8): + resolution: {integrity: sha512-NuzCt5IIYOW0O30UvqktzHYR2ud5bOWbY0yaxWZ6G+aFzOMJvrs5YHNikrbdaT15+KNO31nPOy5Fim3ku6Zb5g==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-module-transforms': 7.21.5 + '@babel/helper-plugin-utils': 7.21.5 + transitivePeerDependencies: + - supports-color + dev: true + + /@babel/plugin-transform-modules-commonjs@7.21.5(@babel/core@7.21.8): + resolution: {integrity: sha512-OVryBEgKUbtqMoB7eG2rs6UFexJi6Zj6FDXx+esBLPTCxCNxAY9o+8Di7IsUGJ+AVhp5ncK0fxWUBd0/1gPhrQ==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-module-transforms': 7.21.5 + '@babel/helper-plugin-utils': 7.21.5 + '@babel/helper-simple-access': 7.21.5 + transitivePeerDependencies: + - supports-color + dev: true + + /@babel/plugin-transform-modules-systemjs@7.20.11(@babel/core@7.21.8): + resolution: {integrity: sha512-vVu5g9BPQKSFEmvt2TA4Da5N+QVS66EX21d8uoOihC+OCpUoGvzVsXeqFdtAEfVa5BILAeFt+U7yVmLbQnAJmw==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-hoist-variables': 7.18.6 + '@babel/helper-module-transforms': 7.21.5 + '@babel/helper-plugin-utils': 7.21.5 + '@babel/helper-validator-identifier': 7.19.1 + transitivePeerDependencies: + - supports-color + dev: true + + /@babel/plugin-transform-modules-umd@7.18.6(@babel/core@7.21.8): + resolution: {integrity: sha512-dcegErExVeXcRqNtkRU/z8WlBLnvD4MRnHgNs3MytRO1Mn1sHRyhbcpYbVMGclAqOjdW+9cfkdZno9dFdfKLfQ==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-module-transforms': 7.21.5 + '@babel/helper-plugin-utils': 7.21.5 + transitivePeerDependencies: + - supports-color + dev: true + + /@babel/plugin-transform-named-capturing-groups-regex@7.20.5(@babel/core@7.21.8): + resolution: {integrity: sha512-mOW4tTzi5iTLnw+78iEq3gr8Aoq4WNRGpmSlrogqaiCBoR1HFhpU4JkpQFOHfeYx3ReVIFWOQJS4aZBRvuZ6mA==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0 + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-create-regexp-features-plugin': 7.21.8(@babel/core@7.21.8) + '@babel/helper-plugin-utils': 7.21.5 + dev: true + + /@babel/plugin-transform-new-target@7.18.6(@babel/core@7.21.8): + resolution: {integrity: sha512-DjwFA/9Iu3Z+vrAn+8pBUGcjhxKguSMlsFqeCKbhb9BAV756v0krzVK04CRDi/4aqmk8BsHb4a/gFcaA5joXRw==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 + dev: true + + /@babel/plugin-transform-object-super@7.18.6(@babel/core@7.21.8): + resolution: {integrity: sha512-uvGz6zk+pZoS1aTZrOvrbj6Pp/kK2mp45t2B+bTDre2UgsZZ8EZLSJtUg7m/no0zOJUWgFONpB7Zv9W2tSaFlA==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 + '@babel/helper-replace-supers': 7.21.5 + transitivePeerDependencies: + - supports-color + dev: true + + /@babel/plugin-transform-parameters@7.21.3(@babel/core@7.21.8): + resolution: {integrity: sha512-Wxc+TvppQG9xWFYatvCGPvZ6+SIUxQ2ZdiBP+PHYMIjnPXD+uThCshaz4NZOnODAtBjjcVQQ/3OKs9LW28purQ==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 + dev: true + + /@babel/plugin-transform-property-literals@7.18.6(@babel/core@7.21.8): + resolution: {integrity: sha512-cYcs6qlgafTud3PAzrrRNbQtfpQ8+y/+M5tKmksS9+M1ckbH6kzY8MrexEM9mcA6JDsukE19iIRvAyYl463sMg==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 + dev: true + + /@babel/plugin-transform-regenerator@7.21.5(@babel/core@7.21.8): + resolution: {integrity: sha512-ZoYBKDb6LyMi5yCsByQ5jmXsHAQDDYeexT1Szvlmui+lADvfSecr5Dxd/PkrTC3pAD182Fcju1VQkB4oCp9M+w==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 + regenerator-transform: 0.15.1 + dev: true + + /@babel/plugin-transform-reserved-words@7.18.6(@babel/core@7.21.8): + resolution: {integrity: sha512-oX/4MyMoypzHjFrT1CdivfKZ+XvIPMFXwwxHp/r0Ddy2Vuomt4HDFGmft1TAY2yiTKiNSsh3kjBAzcM8kSdsjA==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 + dev: true + + /@babel/plugin-transform-shorthand-properties@7.18.6(@babel/core@7.21.8): + resolution: {integrity: sha512-eCLXXJqv8okzg86ywZJbRn19YJHU4XUa55oz2wbHhaQVn/MM+XhukiT7SYqp/7o00dg52Rj51Ny+Ecw4oyoygw==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 + dev: true + + /@babel/plugin-transform-spread@7.20.7(@babel/core@7.21.8): + resolution: {integrity: sha512-ewBbHQ+1U/VnH1fxltbJqDeWBU1oNLG8Dj11uIv3xVf7nrQu0bPGe5Rf716r7K5Qz+SqtAOVswoVunoiBtGhxw==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 + '@babel/helper-skip-transparent-expression-wrappers': 7.20.0 + dev: true + + /@babel/plugin-transform-sticky-regex@7.18.6(@babel/core@7.21.8): + resolution: {integrity: sha512-kfiDrDQ+PBsQDO85yj1icueWMfGfJFKN1KCkndygtu/C9+XUfydLC8Iv5UYJqRwy4zk8EcplRxEOeLyjq1gm6Q==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 + dev: true + + /@babel/plugin-transform-template-literals@7.18.9(@babel/core@7.21.8): + resolution: {integrity: sha512-S8cOWfT82gTezpYOiVaGHrCbhlHgKhQt8XH5ES46P2XWmX92yisoZywf5km75wv5sYcXDUCLMmMxOLCtthDgMA==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 + dev: true + + /@babel/plugin-transform-typeof-symbol@7.18.9(@babel/core@7.21.8): + resolution: {integrity: sha512-SRfwTtF11G2aemAZWivL7PD+C9z52v9EvMqH9BuYbabyPuKUvSWks3oCg6041pT925L4zVFqaVBeECwsmlguEw==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 + dev: true + + /@babel/plugin-transform-unicode-escapes@7.21.5(@babel/core@7.21.8): + resolution: {integrity: sha512-LYm/gTOwZqsYohlvFUe/8Tujz75LqqVC2w+2qPHLR+WyWHGCZPN1KBpJCJn+4Bk4gOkQy/IXKIge6az5MqwlOg==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 + dev: true + + /@babel/plugin-transform-unicode-regex@7.18.6(@babel/core@7.21.8): + resolution: {integrity: sha512-gE7A6Lt7YLnNOL3Pb9BNeZvi+d8l7tcRrG4+pwJjK9hD2xX4mEvjlQW60G9EEmfXVYRPv9VRQcyegIVHCql/AA==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-create-regexp-features-plugin': 7.21.8(@babel/core@7.21.8) + '@babel/helper-plugin-utils': 7.21.5 + dev: true + + /@babel/preset-env@7.21.5(@babel/core@7.21.8): + resolution: {integrity: sha512-wH00QnTTldTbf/IefEVyChtRdw5RJvODT/Vb4Vcxq1AZvtXj6T0YeX0cAcXhI6/BdGuiP3GcNIL4OQbI2DVNxg==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/compat-data': 7.21.7 + '@babel/core': 7.21.8 + '@babel/helper-compilation-targets': 7.21.5(@babel/core@7.21.8) + '@babel/helper-plugin-utils': 7.21.5 + '@babel/helper-validator-option': 7.21.0 + '@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression': 7.18.6(@babel/core@7.21.8) + '@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining': 7.20.7(@babel/core@7.21.8) + '@babel/plugin-proposal-async-generator-functions': 7.20.7(@babel/core@7.21.8) + '@babel/plugin-proposal-class-properties': 7.18.6(@babel/core@7.21.8) + '@babel/plugin-proposal-class-static-block': 7.21.0(@babel/core@7.21.8) + '@babel/plugin-proposal-dynamic-import': 7.18.6(@babel/core@7.21.8) + '@babel/plugin-proposal-export-namespace-from': 7.18.9(@babel/core@7.21.8) + '@babel/plugin-proposal-json-strings': 7.18.6(@babel/core@7.21.8) + '@babel/plugin-proposal-logical-assignment-operators': 7.20.7(@babel/core@7.21.8) + '@babel/plugin-proposal-nullish-coalescing-operator': 7.18.6(@babel/core@7.21.8) + '@babel/plugin-proposal-numeric-separator': 7.18.6(@babel/core@7.21.8) + '@babel/plugin-proposal-object-rest-spread': 7.20.7(@babel/core@7.21.8) + '@babel/plugin-proposal-optional-catch-binding': 7.18.6(@babel/core@7.21.8) + '@babel/plugin-proposal-optional-chaining': 7.21.0(@babel/core@7.21.8) + '@babel/plugin-proposal-private-methods': 7.18.6(@babel/core@7.21.8) + '@babel/plugin-proposal-private-property-in-object': 7.21.0(@babel/core@7.21.8) + '@babel/plugin-proposal-unicode-property-regex': 7.18.6(@babel/core@7.21.8) + '@babel/plugin-syntax-async-generators': 7.8.4(@babel/core@7.21.8) + '@babel/plugin-syntax-class-properties': 7.12.13(@babel/core@7.21.8) + '@babel/plugin-syntax-class-static-block': 7.14.5(@babel/core@7.21.8) + '@babel/plugin-syntax-dynamic-import': 7.8.3(@babel/core@7.21.8) + '@babel/plugin-syntax-export-namespace-from': 7.8.3(@babel/core@7.21.8) + '@babel/plugin-syntax-import-assertions': 7.20.0(@babel/core@7.21.8) + '@babel/plugin-syntax-import-meta': 7.10.4(@babel/core@7.21.8) + '@babel/plugin-syntax-json-strings': 7.8.3(@babel/core@7.21.8) + '@babel/plugin-syntax-logical-assignment-operators': 7.10.4(@babel/core@7.21.8) + '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3(@babel/core@7.21.8) + '@babel/plugin-syntax-numeric-separator': 7.10.4(@babel/core@7.21.8) + '@babel/plugin-syntax-object-rest-spread': 7.8.3(@babel/core@7.21.8) + '@babel/plugin-syntax-optional-catch-binding': 7.8.3(@babel/core@7.21.8) + '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.21.8) + '@babel/plugin-syntax-private-property-in-object': 7.14.5(@babel/core@7.21.8) + '@babel/plugin-syntax-top-level-await': 7.14.5(@babel/core@7.21.8) + '@babel/plugin-transform-arrow-functions': 7.21.5(@babel/core@7.21.8) + '@babel/plugin-transform-async-to-generator': 7.20.7(@babel/core@7.21.8) + '@babel/plugin-transform-block-scoped-functions': 7.18.6(@babel/core@7.21.8) + '@babel/plugin-transform-block-scoping': 7.21.0(@babel/core@7.21.8) + '@babel/plugin-transform-classes': 7.21.0(@babel/core@7.21.8) + '@babel/plugin-transform-computed-properties': 7.21.5(@babel/core@7.21.8) + '@babel/plugin-transform-destructuring': 7.21.3(@babel/core@7.21.8) + '@babel/plugin-transform-dotall-regex': 7.18.6(@babel/core@7.21.8) + '@babel/plugin-transform-duplicate-keys': 7.18.9(@babel/core@7.21.8) + '@babel/plugin-transform-exponentiation-operator': 7.18.6(@babel/core@7.21.8) + '@babel/plugin-transform-for-of': 7.21.5(@babel/core@7.21.8) + '@babel/plugin-transform-function-name': 7.18.9(@babel/core@7.21.8) + '@babel/plugin-transform-literals': 7.18.9(@babel/core@7.21.8) + '@babel/plugin-transform-member-expression-literals': 7.18.6(@babel/core@7.21.8) + '@babel/plugin-transform-modules-amd': 7.20.11(@babel/core@7.21.8) + '@babel/plugin-transform-modules-commonjs': 7.21.5(@babel/core@7.21.8) + '@babel/plugin-transform-modules-systemjs': 7.20.11(@babel/core@7.21.8) + '@babel/plugin-transform-modules-umd': 7.18.6(@babel/core@7.21.8) + '@babel/plugin-transform-named-capturing-groups-regex': 7.20.5(@babel/core@7.21.8) + '@babel/plugin-transform-new-target': 7.18.6(@babel/core@7.21.8) + '@babel/plugin-transform-object-super': 7.18.6(@babel/core@7.21.8) + '@babel/plugin-transform-parameters': 7.21.3(@babel/core@7.21.8) + '@babel/plugin-transform-property-literals': 7.18.6(@babel/core@7.21.8) + '@babel/plugin-transform-regenerator': 7.21.5(@babel/core@7.21.8) + '@babel/plugin-transform-reserved-words': 7.18.6(@babel/core@7.21.8) + '@babel/plugin-transform-shorthand-properties': 7.18.6(@babel/core@7.21.8) + '@babel/plugin-transform-spread': 7.20.7(@babel/core@7.21.8) + '@babel/plugin-transform-sticky-regex': 7.18.6(@babel/core@7.21.8) + '@babel/plugin-transform-template-literals': 7.18.9(@babel/core@7.21.8) + '@babel/plugin-transform-typeof-symbol': 7.18.9(@babel/core@7.21.8) + '@babel/plugin-transform-unicode-escapes': 7.21.5(@babel/core@7.21.8) + '@babel/plugin-transform-unicode-regex': 7.18.6(@babel/core@7.21.8) + '@babel/preset-modules': 0.1.5(@babel/core@7.21.8) + '@babel/types': 7.21.5 + babel-plugin-polyfill-corejs2: 0.3.3(@babel/core@7.21.8) + babel-plugin-polyfill-corejs3: 0.6.0(@babel/core@7.21.8) + babel-plugin-polyfill-regenerator: 0.4.1(@babel/core@7.21.8) + core-js-compat: 3.30.2 + semver: 6.3.0 + transitivePeerDependencies: + - supports-color + dev: true + + /@babel/preset-modules@0.1.5(@babel/core@7.21.8): + resolution: {integrity: sha512-A57th6YRG7oR3cq/yt/Y84MvGgE0eJG2F1JLhKuyG+jFxEgrd/HAMJatiFtmOiZurz+0DkrvbheCLaV5f2JfjA==} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-plugin-utils': 7.21.5 + '@babel/plugin-proposal-unicode-property-regex': 7.18.6(@babel/core@7.21.8) + '@babel/plugin-transform-dotall-regex': 7.18.6(@babel/core@7.21.8) + '@babel/types': 7.21.5 + esutils: 2.0.3 + dev: true + + /@babel/regjsgen@0.8.0: + resolution: {integrity: sha512-x/rqGMdzj+fWZvCOYForTghzbtqPDZ5gPwaoNGHdgDfF2QA/XZbCBp4Moo5scrkAMPhB7z26XM/AaHuIJdgauA==} + dev: true + + /@babel/runtime@7.21.5: + resolution: {integrity: sha512-8jI69toZqqcsnqGGqwGS4Qb1VwLOEp4hz+CXPywcvjs60u3B4Pom/U/7rm4W8tMOYEB+E9wgD0mW1l3r8qlI9Q==} + engines: {node: '>=6.9.0'} + dependencies: + regenerator-runtime: 0.13.11 + dev: true + + /@babel/template@7.20.7: + resolution: {integrity: sha512-8SegXApWe6VoNw0r9JHpSteLKTpTiLZ4rMlGIm9JQ18KiCtyQiAMEazujAHrUS5flrcqYZa75ukev3P6QmUwUw==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/code-frame': 7.21.4 + '@babel/parser': 7.21.8 + '@babel/types': 7.21.5 + dev: true + + /@babel/traverse@7.21.5: + resolution: {integrity: sha512-AhQoI3YjWi6u/y/ntv7k48mcrCXmus0t79J9qPNlk/lAsFlCiJ047RmbfMOawySTHtywXhbXgpx/8nXMYd+oFw==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/code-frame': 7.21.4 + '@babel/generator': 7.21.5 + '@babel/helper-environment-visitor': 7.21.5 + '@babel/helper-function-name': 7.21.0 + '@babel/helper-hoist-variables': 7.18.6 + '@babel/helper-split-export-declaration': 7.18.6 + '@babel/parser': 7.21.8 + '@babel/types': 7.21.5 + debug: 4.3.4 + globals: 11.12.0 + transitivePeerDependencies: + - supports-color + dev: true + + /@babel/types@7.21.5: + resolution: {integrity: sha512-m4AfNvVF2mVC/F7fDEdH2El3HzUg9It/XsCxZiOTTA3m3qYfcSVSbTfM6Q9xG+hYDniZssYhlXKKUMD5m8tF4Q==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/helper-string-parser': 7.21.5 + '@babel/helper-validator-identifier': 7.19.1 + to-fast-properties: 2.0.0 + + /@css-render/plugin-bem@0.15.12(css-render@0.15.12): + resolution: {integrity: sha512-Lq2jSOZn+wYQtsyaFj6QRz2EzAnd3iW5fZeHO1WSXQdVYwvwGX0ZiH3X2JQgtgYLT1yeGtrwrqJdNdMEUD2xTw==} + peerDependencies: + css-render: ~0.15.12 + dependencies: + css-render: 0.15.12 + dev: true + + /@css-render/vue3-ssr@0.15.12(vue@3.3.2): + resolution: {integrity: sha512-AQLGhhaE0F+rwybRCkKUdzBdTEM/5PZBYy+fSYe1T9z9+yxMuV/k7ZRqa4M69X+EI1W8pa4kc9Iq2VjQkZx4rg==} + peerDependencies: + vue: ^3.0.11 + dependencies: + vue: 3.3.2 + dev: true + + /@emotion/hash@0.8.0: + resolution: {integrity: sha512-kBJtf7PH6aWwZ6fka3zQ0p6SBYzx4fl1LoZXE2RrnYST9Xljm7WfKJrU4g/Xr3Beg72MLrp1AWNUmuYJTL7Cow==} + dev: true + + /@esbuild/android-arm64@0.17.19: + resolution: {integrity: sha512-KBMWvEZooR7+kzY0BtbTQn0OAYY7CsiydT63pVEaPtVYF0hXbUaOyZog37DKxK7NF3XacBJOpYT4adIJh+avxA==} + engines: {node: '>=12'} + cpu: [arm64] + os: [android] + requiresBuild: true + dev: true + optional: true + + /@esbuild/android-arm@0.17.19: + resolution: {integrity: sha512-rIKddzqhmav7MSmoFCmDIb6e2W57geRsM94gV2l38fzhXMwq7hZoClug9USI2pFRGL06f4IOPHHpFNOkWieR8A==} + engines: {node: '>=12'} + cpu: [arm] + os: [android] + requiresBuild: true + dev: true + optional: true + + /@esbuild/android-x64@0.17.19: + resolution: {integrity: sha512-uUTTc4xGNDT7YSArp/zbtmbhO0uEEK9/ETW29Wk1thYUJBz3IVnvgEiEwEa9IeLyvnpKrWK64Utw2bgUmDveww==} + engines: {node: '>=12'} + cpu: [x64] + os: [android] + requiresBuild: true + dev: true + optional: true + + /@esbuild/darwin-arm64@0.17.19: + resolution: {integrity: sha512-80wEoCfF/hFKM6WE1FyBHc9SfUblloAWx6FJkFWTWiCoht9Mc0ARGEM47e67W9rI09YoUxJL68WHfDRYEAvOhg==} + engines: {node: '>=12'} + cpu: [arm64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + + /@esbuild/darwin-x64@0.17.19: + resolution: {integrity: sha512-IJM4JJsLhRYr9xdtLytPLSH9k/oxR3boaUIYiHkAawtwNOXKE8KoU8tMvryogdcT8AU+Bflmh81Xn6Q0vTZbQw==} + engines: {node: '>=12'} + cpu: [x64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + + /@esbuild/freebsd-arm64@0.17.19: + resolution: {integrity: sha512-pBwbc7DufluUeGdjSU5Si+P3SoMF5DQ/F/UmTSb8HXO80ZEAJmrykPyzo1IfNbAoaqw48YRpv8shwd1NoI0jcQ==} + engines: {node: '>=12'} + cpu: [arm64] + os: [freebsd] + requiresBuild: true + dev: true + optional: true + + /@esbuild/freebsd-x64@0.17.19: + resolution: {integrity: sha512-4lu+n8Wk0XlajEhbEffdy2xy53dpR06SlzvhGByyg36qJw6Kpfk7cp45DR/62aPH9mtJRmIyrXAS5UWBrJT6TQ==} + engines: {node: '>=12'} + cpu: [x64] + os: [freebsd] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-arm64@0.17.19: + resolution: {integrity: sha512-ct1Tg3WGwd3P+oZYqic+YZF4snNl2bsnMKRkb3ozHmnM0dGWuxcPTTntAF6bOP0Sp4x0PjSF+4uHQ1xvxfRKqg==} + engines: {node: '>=12'} + cpu: [arm64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-arm@0.17.19: + resolution: {integrity: sha512-cdmT3KxjlOQ/gZ2cjfrQOtmhG4HJs6hhvm3mWSRDPtZ/lP5oe8FWceS10JaSJC13GBd4eH/haHnqf7hhGNLerA==} + engines: {node: '>=12'} + cpu: [arm] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-ia32@0.17.19: + resolution: {integrity: sha512-w4IRhSy1VbsNxHRQpeGCHEmibqdTUx61Vc38APcsRbuVgK0OPEnQ0YD39Brymn96mOx48Y2laBQGqgZ0j9w6SQ==} + engines: {node: '>=12'} + cpu: [ia32] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-loong64@0.17.19: + resolution: {integrity: sha512-2iAngUbBPMq439a+z//gE+9WBldoMp1s5GWsUSgqHLzLJ9WoZLZhpwWuym0u0u/4XmZ3gpHmzV84PonE+9IIdQ==} + engines: {node: '>=12'} + cpu: [loong64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-mips64el@0.17.19: + resolution: {integrity: sha512-LKJltc4LVdMKHsrFe4MGNPp0hqDFA1Wpt3jE1gEyM3nKUvOiO//9PheZZHfYRfYl6AwdTH4aTcXSqBerX0ml4A==} + engines: {node: '>=12'} + cpu: [mips64el] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-ppc64@0.17.19: + resolution: {integrity: sha512-/c/DGybs95WXNS8y3Ti/ytqETiW7EU44MEKuCAcpPto3YjQbyK3IQVKfF6nbghD7EcLUGl0NbiL5Rt5DMhn5tg==} + engines: {node: '>=12'} + cpu: [ppc64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-riscv64@0.17.19: + resolution: {integrity: sha512-FC3nUAWhvFoutlhAkgHf8f5HwFWUL6bYdvLc/TTuxKlvLi3+pPzdZiFKSWz/PF30TB1K19SuCxDTI5KcqASJqA==} + engines: {node: '>=12'} + cpu: [riscv64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-s390x@0.17.19: + resolution: {integrity: sha512-IbFsFbxMWLuKEbH+7sTkKzL6NJmG2vRyy6K7JJo55w+8xDk7RElYn6xvXtDW8HCfoKBFK69f3pgBJSUSQPr+4Q==} + engines: {node: '>=12'} + cpu: [s390x] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-x64@0.17.19: + resolution: {integrity: sha512-68ngA9lg2H6zkZcyp22tsVt38mlhWde8l3eJLWkyLrp4HwMUr3c1s/M2t7+kHIhvMjglIBrFpncX1SzMckomGw==} + engines: {node: '>=12'} + cpu: [x64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@esbuild/netbsd-x64@0.17.19: + resolution: {integrity: sha512-CwFq42rXCR8TYIjIfpXCbRX0rp1jo6cPIUPSaWwzbVI4aOfX96OXY8M6KNmtPcg7QjYeDmN+DD0Wp3LaBOLf4Q==} + engines: {node: '>=12'} + cpu: [x64] + os: [netbsd] + requiresBuild: true + dev: true + optional: true + + /@esbuild/openbsd-x64@0.17.19: + resolution: {integrity: sha512-cnq5brJYrSZ2CF6c35eCmviIN3k3RczmHz8eYaVlNasVqsNY+JKohZU5MKmaOI+KkllCdzOKKdPs762VCPC20g==} + engines: {node: '>=12'} + cpu: [x64] + os: [openbsd] + requiresBuild: true + dev: true + optional: true + + /@esbuild/sunos-x64@0.17.19: + resolution: {integrity: sha512-vCRT7yP3zX+bKWFeP/zdS6SqdWB8OIpaRq/mbXQxTGHnIxspRtigpkUcDMlSCOejlHowLqII7K2JKevwyRP2rg==} + engines: {node: '>=12'} + cpu: [x64] + os: [sunos] + requiresBuild: true + dev: true + optional: true + + /@esbuild/win32-arm64@0.17.19: + resolution: {integrity: sha512-yYx+8jwowUstVdorcMdNlzklLYhPxjniHWFKgRqH7IFlUEa0Umu3KuYplf1HUZZ422e3NU9F4LGb+4O0Kdcaag==} + engines: {node: '>=12'} + cpu: [arm64] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /@esbuild/win32-ia32@0.17.19: + resolution: {integrity: sha512-eggDKanJszUtCdlVs0RB+h35wNlb5v4TWEkq4vZcmVt5u/HiDZrTXe2bWFQUez3RgNHwx/x4sk5++4NSSicKkw==} + engines: {node: '>=12'} + cpu: [ia32] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /@esbuild/win32-x64@0.17.19: + resolution: {integrity: sha512-lAhycmKnVOuRYNtRtatQR1LPQf2oYCkRGkSFnseDAKPl8lu5SOsK/e1sXe5a0Pc5kHIHe6P2I/ilntNv2xf3cA==} + engines: {node: '>=12'} + cpu: [x64] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /@eslint-community/eslint-utils@4.4.0(eslint@8.40.0): + resolution: {integrity: sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + peerDependencies: + eslint: ^6.0.0 || ^7.0.0 || >=8.0.0 + dependencies: + eslint: 8.40.0 + eslint-visitor-keys: 3.4.1 + dev: true + + /@eslint-community/regexpp@4.5.1: + resolution: {integrity: sha512-Z5ba73P98O1KUYCCJTUeVpja9RcGoMdncZ6T49FCUl2lN38JtCJ+3WgIDBv0AuY4WChU5PmtJmOCTlN6FZTFKQ==} + engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0} + dev: true + + /@eslint/eslintrc@2.0.3: + resolution: {integrity: sha512-+5gy6OQfk+xx3q0d6jGZZC3f3KzAkXc/IanVxd1is/VIIziRqqt3ongQz0FiTUXqTk0c7aDB3OaFuKnuSoJicQ==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + dependencies: + ajv: 6.12.6 + debug: 4.3.4 + espree: 9.5.2 + globals: 13.20.0 + ignore: 5.2.4 + import-fresh: 3.3.0 + js-yaml: 4.1.0 + minimatch: 3.1.2 + strip-json-comments: 3.1.1 + transitivePeerDependencies: + - supports-color + dev: true + + /@eslint/js@8.40.0: + resolution: {integrity: sha512-ElyB54bJIhXQYVKjDSvCkPO1iU1tSAeVQJbllWJq1XQSmmA4dgFk8CbiBGpiOPxleE48vDogxCtmMYku4HSVLA==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + dev: true + + /@humanwhocodes/config-array@0.11.8: + resolution: {integrity: sha512-UybHIJzJnR5Qc/MsD9Kr+RpO2h+/P1GhOwdiLPXK5TWk5sgTdu88bTD9UP+CKbPPh5Rni1u0GjAdYQLemG8g+g==} + engines: {node: '>=10.10.0'} + dependencies: + '@humanwhocodes/object-schema': 1.2.1 + debug: 4.3.4 + minimatch: 3.1.2 + transitivePeerDependencies: + - supports-color + dev: true + + /@humanwhocodes/module-importer@1.0.1: + resolution: {integrity: sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==} + engines: {node: '>=12.22'} + dev: true + + /@humanwhocodes/object-schema@1.2.1: + resolution: {integrity: sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==} + dev: true + + /@jridgewell/gen-mapping@0.3.3: + resolution: {integrity: sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==} + engines: {node: '>=6.0.0'} + dependencies: + '@jridgewell/set-array': 1.1.2 + '@jridgewell/sourcemap-codec': 1.4.15 + '@jridgewell/trace-mapping': 0.3.18 + dev: true + + /@jridgewell/resolve-uri@3.1.0: + resolution: {integrity: sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w==} + engines: {node: '>=6.0.0'} + dev: true + + /@jridgewell/set-array@1.1.2: + resolution: {integrity: sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==} + engines: {node: '>=6.0.0'} + dev: true + + /@jridgewell/source-map@0.3.3: + resolution: {integrity: sha512-b+fsZXeLYi9fEULmfBrhxn4IrPlINf8fiNarzTof004v3lFdntdwa9PF7vFJqm3mg7s+ScJMxXaE3Acp1irZcg==} + dependencies: + '@jridgewell/gen-mapping': 0.3.3 + '@jridgewell/trace-mapping': 0.3.18 + dev: true + + /@jridgewell/sourcemap-codec@1.4.14: + resolution: {integrity: sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==} + dev: true + + /@jridgewell/sourcemap-codec@1.4.15: + resolution: {integrity: sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==} + + /@jridgewell/trace-mapping@0.3.18: + resolution: {integrity: sha512-w+niJYzMHdd7USdiH2U6869nqhD2nbfZXND5Yp93qIbEmnDNk7PD48o+YchRVpzMU7M6jVCbenTR7PA1FLQ9pA==} + dependencies: + '@jridgewell/resolve-uri': 3.1.0 + '@jridgewell/sourcemap-codec': 1.4.14 + dev: true + + /@juggle/resize-observer@3.4.0: + resolution: {integrity: sha512-dfLbk+PwWvFzSxwk3n5ySL0hfBog779o8h68wK/7/APo/7cgyWp5jcXockbxdk5kFRkbeXWm4Fbi9FrdN381sA==} + dev: true + + /@nodelib/fs.scandir@2.1.5: + resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==} + engines: {node: '>= 8'} + dependencies: + '@nodelib/fs.stat': 2.0.5 + run-parallel: 1.2.0 + dev: true + + /@nodelib/fs.stat@2.0.5: + resolution: {integrity: sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==} + engines: {node: '>= 8'} + dev: true + + /@nodelib/fs.walk@1.2.8: + resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==} + engines: {node: '>= 8'} + dependencies: + '@nodelib/fs.scandir': 2.1.5 + fastq: 1.15.0 + dev: true + + /@rollup/plugin-babel@5.3.1(@babel/core@7.21.8)(rollup@2.79.1): + resolution: {integrity: sha512-WFfdLWU/xVWKeRQnKmIAQULUI7Il0gZnBIH/ZFO069wYIfPu+8zrfp/KMW0atmELoRDq8FbiP3VCss9MhCut7Q==} + engines: {node: '>= 10.0.0'} + peerDependencies: + '@babel/core': ^7.0.0 + '@types/babel__core': ^7.1.9 + rollup: ^1.20.0||^2.0.0 + peerDependenciesMeta: + '@types/babel__core': + optional: true + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-module-imports': 7.21.4 + '@rollup/pluginutils': 3.1.0(rollup@2.79.1) + rollup: 2.79.1 + dev: true + + /@rollup/plugin-node-resolve@11.2.1(rollup@2.79.1): + resolution: {integrity: sha512-yc2n43jcqVyGE2sqV5/YCmocy9ArjVAP/BeXyTtADTBBX6V0e5UMqwO8CdQ0kzjb6zu5P1qMzsScCMRvE9OlVg==} + engines: {node: '>= 10.0.0'} + peerDependencies: + rollup: ^1.20.0||^2.0.0 + dependencies: + '@rollup/pluginutils': 3.1.0(rollup@2.79.1) + '@types/resolve': 1.17.1 + builtin-modules: 3.3.0 + deepmerge: 4.3.1 + is-module: 1.0.0 + resolve: 1.22.2 + rollup: 2.79.1 + dev: true + + /@rollup/plugin-replace@2.4.2(rollup@2.79.1): + resolution: {integrity: sha512-IGcu+cydlUMZ5En85jxHH4qj2hta/11BHq95iHEyb2sbgiN0eCdzvUcHw5gt9pBL5lTi4JDYJ1acCoMGpTvEZg==} + peerDependencies: + rollup: ^1.20.0 || ^2.0.0 + dependencies: + '@rollup/pluginutils': 3.1.0(rollup@2.79.1) + magic-string: 0.25.9 + rollup: 2.79.1 + dev: true + + /@rollup/plugin-replace@5.0.2(rollup@3.21.7): + resolution: {integrity: sha512-M9YXNekv/C/iHHK+cvORzfRYfPbq0RDD8r0G+bMiTXjNGKulPnCT9O3Ss46WfhI6ZOCgApOP7xAdmCQJ+U2LAA==} + engines: {node: '>=14.0.0'} + peerDependencies: + rollup: ^1.20.0||^2.0.0||^3.0.0 + peerDependenciesMeta: + rollup: + optional: true + dependencies: + '@rollup/pluginutils': 5.0.2(rollup@3.21.7) + magic-string: 0.27.0 + rollup: 3.21.7 + dev: true + + /@rollup/pluginutils@3.1.0(rollup@2.79.1): + resolution: {integrity: sha512-GksZ6pr6TpIjHm8h9lSQ8pi8BE9VeubNT0OMJ3B5uZJ8pz73NPiqOtCog/x2/QzM1ENChPKxMDhiQuRHsqc+lg==} + engines: {node: '>= 8.0.0'} + peerDependencies: + rollup: ^1.20.0||^2.0.0 + dependencies: + '@types/estree': 0.0.39 + estree-walker: 1.0.1 + picomatch: 2.3.1 + rollup: 2.79.1 + dev: true + + /@rollup/pluginutils@5.0.2(rollup@3.21.7): + resolution: {integrity: sha512-pTd9rIsP92h+B6wWwFbW8RkZv4hiR/xKsqre4SIuAOaOEQRxi0lqLke9k2/7WegC85GgUs9pjmOjCUi3In4vwA==} + engines: {node: '>=14.0.0'} + peerDependencies: + rollup: ^1.20.0||^2.0.0||^3.0.0 + peerDependenciesMeta: + rollup: + optional: true + dependencies: + '@types/estree': 1.0.1 + estree-walker: 2.0.2 + picomatch: 2.3.1 + rollup: 3.21.7 + dev: true + + /@rushstack/eslint-patch@1.2.0: + resolution: {integrity: sha512-sXo/qW2/pAcmT43VoRKOJbDOfV3cYpq3szSVfIThQXNt+E4DfKj361vaAt3c88U5tPUxzEswam7GW48PJqtKAg==} + dev: true + + /@surma/rollup-plugin-off-main-thread@2.2.3: + resolution: {integrity: sha512-lR8q/9W7hZpMWweNiAKU7NQerBnzQQLvi8qnTDU/fxItPhtZVMbPV3lbCwjhIlNBe9Bbr5V+KHshvWmVSG9cxQ==} + dependencies: + ejs: 3.1.9 + json5: 2.2.3 + magic-string: 0.25.9 + string.prototype.matchall: 4.0.8 + dev: true + + /@tsconfig/node18@2.0.1: + resolution: {integrity: sha512-UqdfvuJK0SArA2CxhKWwwAWfnVSXiYe63bVpMutc27vpngCntGUZQETO24pEJ46zU6XM+7SpqYoMgcO3bM11Ew==} + dev: true + + /@types/estree@0.0.39: + resolution: {integrity: sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw==} + dev: true + + /@types/estree@1.0.1: + resolution: {integrity: sha512-LG4opVs2ANWZ1TJoKc937iMmNstM/d0ae1vNbnBvBhqCSezgVUOzcLCqbI5elV8Vy6WKwKjaqR+zO9VKirBBCA==} + dev: true + + /@types/json-schema@7.0.11: + resolution: {integrity: sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ==} + dev: true + + /@types/katex@0.14.0: + resolution: {integrity: sha512-+2FW2CcT0K3P+JMR8YG846bmDwplKUTsWgT2ENwdQ1UdVfRk3GQrh6Mi4sTopy30gI8Uau5CEqHTDZ6YvWIUPA==} + dev: true + + /@types/lodash-es@4.17.7: + resolution: {integrity: sha512-z0ptr6UI10VlU6l5MYhGwS4mC8DZyYer2mCoyysZtSF7p26zOX8UpbrV0YpNYLGS8K4PUFIyEr62IMFFjveSiQ==} + dependencies: + '@types/lodash': 4.14.194 + dev: true + + /@types/lodash@4.14.194: + resolution: {integrity: sha512-r22s9tAS7imvBt2lyHC9B8AGwWnXaYb1tY09oyLkXDs4vArpYJzw09nj8MLx5VfciBPGIb+ZwG0ssYnEPJxn/g==} + dev: true + + /@types/node@18.16.9: + resolution: {integrity: sha512-IeB32oIV4oGArLrd7znD2rkHQ6EDCM+2Sr76dJnrHwv9OHBTTM6nuDLK9bmikXzPa0ZlWMWtRGo/Uw4mrzQedA==} + dev: true + + /@types/resolve@1.17.1: + resolution: {integrity: sha512-yy7HuzQhj0dhGpD8RLXSZWEkLsV9ibvxvi6EiJ3bkqLAO1RGo0WbkWQiwpRlSFymTJRz0d3k5LM3kkx8ArDbLw==} + dependencies: + '@types/node': 18.16.9 + dev: true + + /@types/semver@7.5.0: + resolution: {integrity: sha512-G8hZ6XJiHnuhQKR7ZmysCeJWE08o8T0AXtk5darsCaTVsYZhhgUrq53jizaR2FvsoeCwJhlmwTjkXBY5Pn/ZHw==} + dev: true + + /@types/trusted-types@2.0.3: + resolution: {integrity: sha512-NfQ4gyz38SL8sDNrSixxU2Os1a5xcdFxipAFxYEuLUlvU2uDwS4NUpsImcf1//SlWItCVMMLiylsxbmNMToV/g==} + dev: true + + /@typescript-eslint/eslint-plugin@5.59.5(@typescript-eslint/parser@5.59.5)(eslint@8.40.0)(typescript@5.0.4): + resolution: {integrity: sha512-feA9xbVRWJZor+AnLNAr7A8JRWeZqHUf4T9tlP+TN04b05pFVhO5eN7/O93Y/1OUlLMHKbnJisgDURs/qvtqdg==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + peerDependencies: + '@typescript-eslint/parser': ^5.0.0 + eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 + typescript: '*' + peerDependenciesMeta: + typescript: + optional: true + dependencies: + '@eslint-community/regexpp': 4.5.1 + '@typescript-eslint/parser': 5.59.5(eslint@8.40.0)(typescript@5.0.4) + '@typescript-eslint/scope-manager': 5.59.5 + '@typescript-eslint/type-utils': 5.59.5(eslint@8.40.0)(typescript@5.0.4) + '@typescript-eslint/utils': 5.59.5(eslint@8.40.0)(typescript@5.0.4) + debug: 4.3.4 + eslint: 8.40.0 + grapheme-splitter: 1.0.4 + ignore: 5.2.4 + natural-compare-lite: 1.4.0 + semver: 7.5.1 + tsutils: 3.21.0(typescript@5.0.4) + typescript: 5.0.4 + transitivePeerDependencies: + - supports-color + dev: true + + /@typescript-eslint/parser@5.59.5(eslint@8.40.0)(typescript@5.0.4): + resolution: {integrity: sha512-NJXQC4MRnF9N9yWqQE2/KLRSOLvrrlZb48NGVfBa+RuPMN6B7ZcK5jZOvhuygv4D64fRKnZI4L4p8+M+rfeQuw==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + peerDependencies: + eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 + typescript: '*' + peerDependenciesMeta: + typescript: + optional: true + dependencies: + '@typescript-eslint/scope-manager': 5.59.5 + '@typescript-eslint/types': 5.59.5 + '@typescript-eslint/typescript-estree': 5.59.5(typescript@5.0.4) + debug: 4.3.4 + eslint: 8.40.0 + typescript: 5.0.4 + transitivePeerDependencies: + - supports-color + dev: true + + /@typescript-eslint/scope-manager@5.59.5: + resolution: {integrity: sha512-jVecWwnkX6ZgutF+DovbBJirZcAxgxC0EOHYt/niMROf8p4PwxxG32Qdhj/iIQQIuOflLjNkxoXyArkcIP7C3A==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + dependencies: + '@typescript-eslint/types': 5.59.5 + '@typescript-eslint/visitor-keys': 5.59.5 + dev: true + + /@typescript-eslint/type-utils@5.59.5(eslint@8.40.0)(typescript@5.0.4): + resolution: {integrity: sha512-4eyhS7oGym67/pSxA2mmNq7X164oqDYNnZCUayBwJZIRVvKpBCMBzFnFxjeoDeShjtO6RQBHBuwybuX3POnDqg==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + peerDependencies: + eslint: '*' + typescript: '*' + peerDependenciesMeta: + typescript: + optional: true + dependencies: + '@typescript-eslint/typescript-estree': 5.59.5(typescript@5.0.4) + '@typescript-eslint/utils': 5.59.5(eslint@8.40.0)(typescript@5.0.4) + debug: 4.3.4 + eslint: 8.40.0 + tsutils: 3.21.0(typescript@5.0.4) + typescript: 5.0.4 + transitivePeerDependencies: + - supports-color + dev: true + + /@typescript-eslint/types@5.59.5: + resolution: {integrity: sha512-xkfRPHbqSH4Ggx4eHRIO/eGL8XL4Ysb4woL8c87YuAo8Md7AUjyWKa9YMwTL519SyDPrfEgKdewjkxNCVeJW7w==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + dev: true + + /@typescript-eslint/typescript-estree@5.59.5(typescript@5.0.4): + resolution: {integrity: sha512-+XXdLN2CZLZcD/mO7mQtJMvCkzRfmODbeSKuMY/yXbGkzvA9rJyDY5qDYNoiz2kP/dmyAxXquL2BvLQLJFPQIg==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + peerDependencies: + typescript: '*' + peerDependenciesMeta: + typescript: + optional: true + dependencies: + '@typescript-eslint/types': 5.59.5 + '@typescript-eslint/visitor-keys': 5.59.5 + debug: 4.3.4 + globby: 11.1.0 + is-glob: 4.0.3 + semver: 7.5.1 + tsutils: 3.21.0(typescript@5.0.4) + typescript: 5.0.4 + transitivePeerDependencies: + - supports-color + dev: true + + /@typescript-eslint/utils@5.59.5(eslint@8.40.0)(typescript@5.0.4): + resolution: {integrity: sha512-sCEHOiw+RbyTii9c3/qN74hYDPNORb8yWCoPLmB7BIflhplJ65u2PBpdRla12e3SSTJ2erRkPjz7ngLHhUegxA==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + peerDependencies: + eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 + dependencies: + '@eslint-community/eslint-utils': 4.4.0(eslint@8.40.0) + '@types/json-schema': 7.0.11 + '@types/semver': 7.5.0 + '@typescript-eslint/scope-manager': 5.59.5 + '@typescript-eslint/types': 5.59.5 + '@typescript-eslint/typescript-estree': 5.59.5(typescript@5.0.4) + eslint: 8.40.0 + eslint-scope: 5.1.1 + semver: 7.5.1 + transitivePeerDependencies: + - supports-color + - typescript + dev: true + + /@typescript-eslint/visitor-keys@5.59.5: + resolution: {integrity: sha512-qL+Oz+dbeBRTeyJTIy0eniD3uvqU7x+y1QceBismZ41hd4aBSRh8UAw4pZP0+XzLuPZmx4raNMq/I+59W2lXKA==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + dependencies: + '@typescript-eslint/types': 5.59.5 + eslint-visitor-keys: 3.4.1 + dev: true + + /@vitejs/plugin-vue@4.2.3(vite@4.3.5)(vue@3.3.2): + resolution: {integrity: sha512-R6JDUfiZbJA9cMiguQ7jxALsgiprjBeHL5ikpXfJCH62pPHtI+JdJ5xWj6Ev73yXSlYl86+blXn1kZHQ7uElxw==} + engines: {node: ^14.18.0 || >=16.0.0} + peerDependencies: + vite: ^4.0.0 + vue: ^3.2.25 + dependencies: + vite: 4.3.5(@types/node@18.16.9) + vue: 3.3.2 + dev: true + + /@volar/language-core@1.4.1: + resolution: {integrity: sha512-EIY+Swv+TjsWpxOxujjMf1ZXqOjg9MT2VMXZ+1dKva0wD8W0L6EtptFFcCJdBbcKmGMFkr57Qzz9VNMWhs3jXQ==} + dependencies: + '@volar/source-map': 1.4.1 + dev: true + + /@volar/source-map@1.4.1: + resolution: {integrity: sha512-bZ46ad72dsbzuOWPUtJjBXkzSQzzSejuR3CT81+GvTEI2E994D8JPXzM3tl98zyCNnjgs4OkRyliImL1dvJ5BA==} + dependencies: + muggle-string: 0.2.2 + dev: true + + /@volar/typescript@1.4.1-patch.2(typescript@5.0.4): + resolution: {integrity: sha512-lPFYaGt8OdMEzNGJJChF40uYqMO4Z/7Q9fHPQC/NRVtht43KotSXLrkPandVVMf9aPbiJ059eAT+fwHGX16k4w==} + peerDependencies: + typescript: '*' + dependencies: + '@volar/language-core': 1.4.1 + typescript: 5.0.4 + dev: true + + /@volar/vue-language-core@1.6.5: + resolution: {integrity: sha512-IF2b6hW4QAxfsLd5mePmLgtkXzNi+YnH6ltCd80gb7+cbdpFMjM1I+w+nSg2kfBTyfu+W8useCZvW89kPTBpzg==} + dependencies: + '@volar/language-core': 1.4.1 + '@volar/source-map': 1.4.1 + '@vue/compiler-dom': 3.3.2 + '@vue/compiler-sfc': 3.3.2 + '@vue/reactivity': 3.3.2 + '@vue/shared': 3.3.2 + minimatch: 9.0.0 + muggle-string: 0.2.2 + vue-template-compiler: 2.7.14 + dev: true + + /@volar/vue-typescript@1.6.5(typescript@5.0.4): + resolution: {integrity: sha512-er9rVClS4PHztMUmtPMDTl+7c7JyrxweKSAEe/o/Noeq2bQx6v3/jZHVHBe8ZNUti5ubJL/+Tg8L3bzmlalV8A==} + peerDependencies: + typescript: '*' + dependencies: + '@volar/typescript': 1.4.1-patch.2(typescript@5.0.4) + '@volar/vue-language-core': 1.6.5 + typescript: 5.0.4 + dev: true + + /@vue/compiler-core@3.3.2: + resolution: {integrity: sha512-CKZWo1dzsQYTNTft7whzjL0HsrEpMfiK7pjZ2WFE3bC1NA7caUjWioHSK+49y/LK7Bsm4poJZzAMnvZMQ7OTeg==} + dependencies: + '@babel/parser': 7.21.8 + '@vue/shared': 3.3.2 + estree-walker: 2.0.2 + source-map-js: 1.0.2 + + /@vue/compiler-dom@3.3.2: + resolution: {integrity: sha512-6gS3auANuKXLw0XH6QxkWqyPYPunziS2xb6VRenM3JY7gVfZcJvkCBHkb5RuNY1FCbBO3lkIi0CdXUCW1c7SXw==} + dependencies: + '@vue/compiler-core': 3.3.2 + '@vue/shared': 3.3.2 + + /@vue/compiler-sfc@3.3.2: + resolution: {integrity: sha512-jG4jQy28H4BqzEKsQqqW65BZgmo3vzdLHTBjF+35RwtDdlFE+Fk1VWJYUnDMMqkFBo6Ye1ltSKVOMPgkzYj7SQ==} + dependencies: + '@babel/parser': 7.21.8 + '@vue/compiler-core': 3.3.2 + '@vue/compiler-dom': 3.3.2 + '@vue/compiler-ssr': 3.3.2 + '@vue/reactivity-transform': 3.3.2 + '@vue/shared': 3.3.2 + estree-walker: 2.0.2 + magic-string: 0.30.0 + postcss: 8.4.23 + source-map-js: 1.0.2 + + /@vue/compiler-ssr@3.3.2: + resolution: {integrity: sha512-K8OfY5FQtZaSOJHHe8xhEfIfLrefL/Y9frv4k4NsyQL3+0lRKxr9QuJhfdBDjkl7Fhz8CzKh63mULvmOfx3l2w==} + dependencies: + '@vue/compiler-dom': 3.3.2 + '@vue/shared': 3.3.2 + + /@vue/devtools-api@6.5.0: + resolution: {integrity: sha512-o9KfBeaBmCKl10usN4crU53fYtC1r7jJwdGKjPT24t348rHxgfpZ0xL3Xm/gLUYnc0oTp8LAmrxOeLyu6tbk2Q==} + dev: false + + /@vue/eslint-config-prettier@7.1.0(eslint@8.40.0)(prettier@2.8.8): + resolution: {integrity: sha512-Pv/lVr0bAzSIHLd9iz0KnvAr4GKyCEl+h52bc4e5yWuDVtLgFwycF7nrbWTAQAS+FU6q1geVd07lc6EWfJiWKQ==} + peerDependencies: + eslint: '>= 7.28.0' + prettier: '>= 2.0.0' + dependencies: + eslint: 8.40.0 + eslint-config-prettier: 8.8.0(eslint@8.40.0) + eslint-plugin-prettier: 4.2.1(eslint-config-prettier@8.8.0)(eslint@8.40.0)(prettier@2.8.8) + prettier: 2.8.8 + dev: true + + /@vue/eslint-config-typescript@11.0.3(eslint-plugin-vue@9.12.0)(eslint@8.40.0)(typescript@5.0.4): + resolution: {integrity: sha512-dkt6W0PX6H/4Xuxg/BlFj5xHvksjpSlVjtkQCpaYJBIEuKj2hOVU7r+TIe+ysCwRYFz/lGqvklntRkCAibsbPw==} + engines: {node: ^14.17.0 || >=16.0.0} + peerDependencies: + eslint: ^6.2.0 || ^7.0.0 || ^8.0.0 + eslint-plugin-vue: ^9.0.0 + typescript: '*' + peerDependenciesMeta: + typescript: + optional: true + dependencies: + '@typescript-eslint/eslint-plugin': 5.59.5(@typescript-eslint/parser@5.59.5)(eslint@8.40.0)(typescript@5.0.4) + '@typescript-eslint/parser': 5.59.5(eslint@8.40.0)(typescript@5.0.4) + eslint: 8.40.0 + eslint-plugin-vue: 9.12.0(eslint@8.40.0) + typescript: 5.0.4 + vue-eslint-parser: 9.2.1(eslint@8.40.0) + transitivePeerDependencies: + - supports-color + dev: true + + /@vue/reactivity-transform@3.3.2: + resolution: {integrity: sha512-iu2WaQvlJHdnONrsyv4ibIEnSsuKF+aHFngGj/y1lwpHQtalpVhKg9wsKMoiKXS9zPNjG9mNKzJS9vudvjzvyg==} + dependencies: + '@babel/parser': 7.21.8 + '@vue/compiler-core': 3.3.2 + '@vue/shared': 3.3.2 + estree-walker: 2.0.2 + magic-string: 0.30.0 + + /@vue/reactivity@3.3.2: + resolution: {integrity: sha512-yX8C4uTgg2Tdj+512EEMnMKbLveoITl7YdQX35AYgx8vBvQGszKiiCN46g4RY6/deeo/5DLbeUUGxCq1qWMf5g==} + dependencies: + '@vue/shared': 3.3.2 + + /@vue/runtime-core@3.3.2: + resolution: {integrity: sha512-qSl95qj0BvKfcsO+hICqFEoLhJn6++HtsPxmTkkadFbuhe3uQfJ8HmQwvEr7xbxBd2rcJB6XOJg7nWAn/ymC5A==} + dependencies: + '@vue/reactivity': 3.3.2 + '@vue/shared': 3.3.2 + + /@vue/runtime-dom@3.3.2: + resolution: {integrity: sha512-+drStsJT+0mtgHdarT7cXZReCcTFfm6ptxMrz0kAW5hms6UNBd8Q1pi4JKlncAhu+Ld/TevsSp7pqAZxBBoGng==} + dependencies: + '@vue/runtime-core': 3.3.2 + '@vue/shared': 3.3.2 + csstype: 3.1.2 + + /@vue/server-renderer@3.3.2(vue@3.3.2): + resolution: {integrity: sha512-QCwh6OGwJg6GDLE0fbQhRTR6tnU+XDJ1iCsTYHXBiezCXAhqMygFRij7BiLF4ytvvHcg5kX9joX5R5vP85++wg==} + peerDependencies: + vue: 3.3.2 + dependencies: + '@vue/compiler-ssr': 3.3.2 + '@vue/shared': 3.3.2 + vue: 3.3.2 + + /@vue/shared@3.3.2: + resolution: {integrity: sha512-0rFu3h8JbclbnvvKrs7Fe5FNGV9/5X2rPD7KmOzhLSUAiQH5//Hq437Gv0fR5Mev3u/nbtvmLl8XgwCU20/ZfQ==} + + /@vue/tsconfig@0.4.0: + resolution: {integrity: sha512-CPuIReonid9+zOG/CGTT05FXrPYATEqoDGNrEaqS4hwcw5BUNM2FguC0mOwJD4Jr16UpRVl9N0pY3P+srIbqmg==} + dev: true + + /acorn-jsx@5.3.2(acorn@8.8.2): + resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==} + peerDependencies: + acorn: ^6.0.0 || ^7.0.0 || ^8.0.0 + dependencies: + acorn: 8.8.2 + dev: true + + /acorn@8.8.2: + resolution: {integrity: sha512-xjIYgE8HBrkpd/sJqOGNspf8uHG+NOHGOw6a/Urj8taM2EXfdNAH2oFcPeIFfsv3+kz/mJrS5VuMqbNLjCa2vw==} + engines: {node: '>=0.4.0'} + hasBin: true + dev: true + + /ajv@6.12.6: + resolution: {integrity: sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==} + dependencies: + fast-deep-equal: 3.1.3 + fast-json-stable-stringify: 2.1.0 + json-schema-traverse: 0.4.1 + uri-js: 4.4.1 + dev: true + + /ajv@8.12.0: + resolution: {integrity: sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==} + dependencies: + fast-deep-equal: 3.1.3 + json-schema-traverse: 1.0.0 + require-from-string: 2.0.2 + uri-js: 4.4.1 + dev: true + + /ansi-regex@5.0.1: + resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==} + engines: {node: '>=8'} + dev: true + + /ansi-styles@3.2.1: + resolution: {integrity: sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==} + engines: {node: '>=4'} + dependencies: + color-convert: 1.9.3 + dev: true + + /ansi-styles@4.3.0: + resolution: {integrity: sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==} + engines: {node: '>=8'} + dependencies: + color-convert: 2.0.1 + dev: true + + /any-promise@1.3.0: + resolution: {integrity: sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==} + dev: true + + /anymatch@3.1.3: + resolution: {integrity: sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==} + engines: {node: '>= 8'} + dependencies: + normalize-path: 3.0.0 + picomatch: 2.3.1 + dev: true + + /arg@5.0.2: + resolution: {integrity: sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg==} + dev: true + + /argparse@2.0.1: + resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==} + dev: true + + /array-buffer-byte-length@1.0.0: + resolution: {integrity: sha512-LPuwb2P+NrQw3XhxGc36+XSvuBPopovXYTR9Ew++Du9Yb/bx5AzBfrIsBoj0EZUifjQU+sHL21sseZ3jerWO/A==} + dependencies: + call-bind: 1.0.2 + is-array-buffer: 3.0.2 + dev: true + + /array-union@2.1.0: + resolution: {integrity: sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==} + engines: {node: '>=8'} + dev: true + + /async-validator@4.2.5: + resolution: {integrity: sha512-7HhHjtERjqlNbZtqNqy2rckN/SpOOlmDliet+lP7k+eKZEjPk3DgyeU9lIXLdeLz0uBbbVp+9Qdow9wJWgwwfg==} + dev: true + + /async@3.2.4: + resolution: {integrity: sha512-iAB+JbDEGXhyIUavoDl9WP/Jj106Kz9DEn1DPgYw5ruDn0e3Wgi3sKFm55sASdGBNOQB8F59d9qQ7deqrHA8wQ==} + dev: true + + /at-least-node@1.0.0: + resolution: {integrity: sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg==} + engines: {node: '>= 4.0.0'} + dev: true + + /autoprefixer@10.4.14(postcss@8.4.23): + resolution: {integrity: sha512-FQzyfOsTlwVzjHxKEqRIAdJx9niO6VCBCoEwax/VLSoQF29ggECcPuBqUMZ+u8jCZOPSy8b8/8KnuFbp0SaFZQ==} + engines: {node: ^10 || ^12 || >=14} + hasBin: true + peerDependencies: + postcss: ^8.1.0 + dependencies: + browserslist: 4.21.5 + caniuse-lite: 1.0.30001487 + fraction.js: 4.2.0 + normalize-range: 0.1.2 + picocolors: 1.0.0 + postcss: 8.4.23 + postcss-value-parser: 4.2.0 + dev: true + + /available-typed-arrays@1.0.5: + resolution: {integrity: sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==} + engines: {node: '>= 0.4'} + dev: true + + /babel-plugin-polyfill-corejs2@0.3.3(@babel/core@7.21.8): + resolution: {integrity: sha512-8hOdmFYFSZhqg2C/JgLUQ+t52o5nirNwaWM2B9LWteozwIvM14VSwdsCAUET10qT+kmySAlseadmfeeSWFCy+Q==} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/compat-data': 7.21.7 + '@babel/core': 7.21.8 + '@babel/helper-define-polyfill-provider': 0.3.3(@babel/core@7.21.8) + semver: 6.3.0 + transitivePeerDependencies: + - supports-color + dev: true + + /babel-plugin-polyfill-corejs3@0.6.0(@babel/core@7.21.8): + resolution: {integrity: sha512-+eHqR6OPcBhJOGgsIar7xoAB1GcSwVUA3XjAd7HJNzOXT4wv6/H7KIdA/Nc60cvUlDbKApmqNvD1B1bzOt4nyA==} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-define-polyfill-provider': 0.3.3(@babel/core@7.21.8) + core-js-compat: 3.30.2 + transitivePeerDependencies: + - supports-color + dev: true + + /babel-plugin-polyfill-regenerator@0.4.1(@babel/core@7.21.8): + resolution: {integrity: sha512-NtQGmyQDXjQqQ+IzRkBVwEOz9lQ4zxAQZgoAYEtU9dJjnl1Oc98qnN7jcp+bE7O7aYzVpavXE3/VKXNzUbh7aw==} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.21.8 + '@babel/helper-define-polyfill-provider': 0.3.3(@babel/core@7.21.8) + transitivePeerDependencies: + - supports-color + dev: true + + /balanced-match@1.0.2: + resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==} + dev: true + + /binary-extensions@2.2.0: + resolution: {integrity: sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==} + engines: {node: '>=8'} + dev: true + + /boolbase@1.0.0: + resolution: {integrity: sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==} + dev: true + + /brace-expansion@1.1.11: + resolution: {integrity: sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==} + dependencies: + balanced-match: 1.0.2 + concat-map: 0.0.1 + dev: true + + /brace-expansion@2.0.1: + resolution: {integrity: sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==} + dependencies: + balanced-match: 1.0.2 + dev: true + + /braces@3.0.2: + resolution: {integrity: sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==} + engines: {node: '>=8'} + dependencies: + fill-range: 7.0.1 + dev: true + + /browserslist@4.21.5: + resolution: {integrity: sha512-tUkiguQGW7S3IhB7N+c2MV/HZPSCPAAiYBZXLsBhFB/PCy6ZKKsZrmBayHV9fdGV/ARIfJ14NkxKzRDjvp7L6w==} + engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} + hasBin: true + dependencies: + caniuse-lite: 1.0.30001487 + electron-to-chromium: 1.4.394 + node-releases: 2.0.10 + update-browserslist-db: 1.0.11(browserslist@4.21.5) + dev: true + + /buffer-from@1.1.2: + resolution: {integrity: sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==} + dev: true + + /builtin-modules@3.3.0: + resolution: {integrity: sha512-zhaCDicdLuWN5UbN5IMnFqNMhNfo919sH85y2/ea+5Yg9TsTkeZxpL+JLbp6cgYFS4sRLp3YV4S6yDuqVWHYOw==} + engines: {node: '>=6'} + dev: true + + /call-bind@1.0.2: + resolution: {integrity: sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==} + dependencies: + function-bind: 1.1.1 + get-intrinsic: 1.2.0 + dev: true + + /callsites@3.1.0: + resolution: {integrity: sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==} + engines: {node: '>=6'} + dev: true + + /camelcase-css@2.0.1: + resolution: {integrity: sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA==} + engines: {node: '>= 6'} + dev: true + + /caniuse-lite@1.0.30001487: + resolution: {integrity: sha512-83564Z3yWGqXsh2vaH/mhXfEM0wX+NlBCm1jYHOb97TrTWJEmPTccZgeLTPBUUb0PNVo+oomb7wkimZBIERClA==} + dev: true + + /chalk@2.4.2: + resolution: {integrity: sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==} + engines: {node: '>=4'} + dependencies: + ansi-styles: 3.2.1 + escape-string-regexp: 1.0.5 + supports-color: 5.5.0 + dev: true + + /chalk@4.1.2: + resolution: {integrity: sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==} + engines: {node: '>=10'} + dependencies: + ansi-styles: 4.3.0 + supports-color: 7.2.0 + dev: true + + /chokidar@3.5.3: + resolution: {integrity: sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==} + engines: {node: '>= 8.10.0'} + dependencies: + anymatch: 3.1.3 + braces: 3.0.2 + glob-parent: 5.1.2 + is-binary-path: 2.1.0 + is-glob: 4.0.3 + normalize-path: 3.0.0 + readdirp: 3.6.0 + optionalDependencies: + fsevents: 2.3.2 + dev: true + + /color-convert@1.9.3: + resolution: {integrity: sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==} + dependencies: + color-name: 1.1.3 + dev: true + + /color-convert@2.0.1: + resolution: {integrity: sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==} + engines: {node: '>=7.0.0'} + dependencies: + color-name: 1.1.4 + dev: true + + /color-name@1.1.3: + resolution: {integrity: sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==} + dev: true + + /color-name@1.1.4: + resolution: {integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==} + dev: true + + /commander@2.20.3: + resolution: {integrity: sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==} + dev: true + + /commander@4.1.1: + resolution: {integrity: sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==} + engines: {node: '>= 6'} + dev: true + + /common-tags@1.8.2: + resolution: {integrity: sha512-gk/Z852D2Wtb//0I+kRFNKKE9dIIVirjoqPoA1wJU+XePVXZfGeBpk45+A1rKO4Q43prqWBNY/MiIeRLbPWUaA==} + engines: {node: '>=4.0.0'} + dev: true + + /concat-map@0.0.1: + resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==} + dev: true + + /convert-source-map@1.9.0: + resolution: {integrity: sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==} + dev: true + + /core-js-compat@3.30.2: + resolution: {integrity: sha512-nriW1nuJjUgvkEjIot1Spwakz52V9YkYHZAQG6A1eCgC8AA1p0zngrQEP9R0+V6hji5XilWKG1Bd0YRppmGimA==} + dependencies: + browserslist: 4.21.5 + dev: true + + /cross-spawn@6.0.5: + resolution: {integrity: sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==} + engines: {node: '>=4.8'} + dependencies: + nice-try: 1.0.5 + path-key: 2.0.1 + semver: 5.7.1 + shebang-command: 1.2.0 + which: 1.3.1 + dev: true + + /cross-spawn@7.0.3: + resolution: {integrity: sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==} + engines: {node: '>= 8'} + dependencies: + path-key: 3.1.1 + shebang-command: 2.0.0 + which: 2.0.2 + dev: true + + /crypto-random-string@2.0.0: + resolution: {integrity: sha512-v1plID3y9r/lPhviJ1wrXpLeyUIGAZ2SHNYTEapm7/8A9nLPoyvVp3RK/EPFqn5kEznyWgYZNsRtYYIWbuG8KA==} + engines: {node: '>=8'} + dev: true + + /css-render@0.15.12: + resolution: {integrity: sha512-eWzS66patiGkTTik+ipO9qNGZ+uNuGyTmnz6/+EJIiFg8+3yZRpnMwgFo8YdXhQRsiePzehnusrxVvugNjXzbw==} + dependencies: + '@emotion/hash': 0.8.0 + csstype: 3.0.11 + dev: true + + /cssesc@3.0.0: + resolution: {integrity: sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==} + engines: {node: '>=4'} + hasBin: true + dev: true + + /csstype@3.0.11: + resolution: {integrity: sha512-sa6P2wJ+CAbgyy4KFssIb/JNMLxFvKF1pCYCSXS8ZMuqZnMsrxqI2E5sPyoTpxoPU/gVZMzr2zjOfg8GIZOMsw==} + dev: true + + /csstype@3.1.2: + resolution: {integrity: sha512-I7K1Uu0MBPzaFKg4nI5Q7Vs2t+3gWWW648spaF+Rg7pI9ds18Ugn+lvg4SHczUdKlHI5LWBXyqfS8+DufyBsgQ==} + + /date-fns-tz@1.3.8(date-fns@2.30.0): + resolution: {integrity: sha512-qwNXUFtMHTTU6CFSFjoJ80W8Fzzp24LntbjFFBgL/faqds4e5mo9mftoRLgr3Vi1trISsg4awSpYVsOQCRnapQ==} + peerDependencies: + date-fns: '>=2.0.0' + dependencies: + date-fns: 2.30.0 + dev: true + + /date-fns@2.30.0: + resolution: {integrity: sha512-fnULvOpxnC5/Vg3NCiWelDsLiUc9bRwAPs/+LfTLNvetFCtCTN+yQz15C/fs4AwX1R9K5GLtLfn8QW+dWisaAw==} + engines: {node: '>=0.11'} + dependencies: + '@babel/runtime': 7.21.5 + dev: true + + /de-indent@1.0.2: + resolution: {integrity: sha512-e/1zu3xH5MQryN2zdVaF0OrdNLUbvWxzMbi+iNA6Bky7l1RoP8a2fIbRocyHclXt/arDrrR6lL3TqFD9pMQTsg==} + dev: true + + /debug@4.3.4: + resolution: {integrity: sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==} + engines: {node: '>=6.0'} + peerDependencies: + supports-color: '*' + peerDependenciesMeta: + supports-color: + optional: true + dependencies: + ms: 2.1.2 + dev: true + + /deep-is@0.1.4: + resolution: {integrity: sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==} + dev: true + + /deepmerge@4.3.1: + resolution: {integrity: sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==} + engines: {node: '>=0.10.0'} + dev: true + + /define-properties@1.2.0: + resolution: {integrity: sha512-xvqAVKGfT1+UAvPwKTVw/njhdQ8ZhXK4lI0bCIuCMrp2up9nPnaDftrLtmpTazqd1o+UY4zgzU+avtMbDP+ldA==} + engines: {node: '>= 0.4'} + dependencies: + has-property-descriptors: 1.0.0 + object-keys: 1.1.1 + dev: true + + /didyoumean@1.2.2: + resolution: {integrity: sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw==} + dev: true + + /dir-glob@3.0.1: + resolution: {integrity: sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==} + engines: {node: '>=8'} + dependencies: + path-type: 4.0.0 + dev: true + + /dlv@1.1.3: + resolution: {integrity: sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA==} + dev: true + + /doctrine@3.0.0: + resolution: {integrity: sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==} + engines: {node: '>=6.0.0'} + dependencies: + esutils: 2.0.3 + dev: true + + /ejs@3.1.9: + resolution: {integrity: sha512-rC+QVNMJWv+MtPgkt0y+0rVEIdbtxVADApW9JXrUVlzHetgcyczP/E7DJmWJ4fJCZF2cPcBk0laWO9ZHMG3DmQ==} + engines: {node: '>=0.10.0'} + hasBin: true + dependencies: + jake: 10.8.5 + dev: true + + /electron-to-chromium@1.4.394: + resolution: {integrity: sha512-0IbC2cfr8w5LxTz+nmn2cJTGafsK9iauV2r5A5scfzyovqLrxuLoxOHE5OBobP3oVIggJT+0JfKnw9sm87c8Hw==} + dev: true + + /error-ex@1.3.2: + resolution: {integrity: sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==} + dependencies: + is-arrayish: 0.2.1 + dev: true + + /es-abstract@1.21.2: + resolution: {integrity: sha512-y/B5POM2iBnIxCiernH1G7rC9qQoM77lLIMQLuob0zhp8C56Po81+2Nj0WFKnd0pNReDTnkYryc+zhOzpEIROg==} + engines: {node: '>= 0.4'} + dependencies: + array-buffer-byte-length: 1.0.0 + available-typed-arrays: 1.0.5 + call-bind: 1.0.2 + es-set-tostringtag: 2.0.1 + es-to-primitive: 1.2.1 + function.prototype.name: 1.1.5 + get-intrinsic: 1.2.0 + get-symbol-description: 1.0.0 + globalthis: 1.0.3 + gopd: 1.0.1 + has: 1.0.3 + has-property-descriptors: 1.0.0 + has-proto: 1.0.1 + has-symbols: 1.0.3 + internal-slot: 1.0.5 + is-array-buffer: 3.0.2 + is-callable: 1.2.7 + is-negative-zero: 2.0.2 + is-regex: 1.1.4 + is-shared-array-buffer: 1.0.2 + is-string: 1.0.7 + is-typed-array: 1.1.10 + is-weakref: 1.0.2 + object-inspect: 1.12.3 + object-keys: 1.1.1 + object.assign: 4.1.4 + regexp.prototype.flags: 1.5.0 + safe-regex-test: 1.0.0 + string.prototype.trim: 1.2.7 + string.prototype.trimend: 1.0.6 + string.prototype.trimstart: 1.0.6 + typed-array-length: 1.0.4 + unbox-primitive: 1.0.2 + which-typed-array: 1.1.9 + dev: true + + /es-set-tostringtag@2.0.1: + resolution: {integrity: sha512-g3OMbtlwY3QewlqAiMLI47KywjWZoEytKr8pf6iTC8uJq5bIAH52Z9pnQ8pVL6whrCto53JZDuUIsifGeLorTg==} + engines: {node: '>= 0.4'} + dependencies: + get-intrinsic: 1.2.0 + has: 1.0.3 + has-tostringtag: 1.0.0 + dev: true + + /es-to-primitive@1.2.1: + resolution: {integrity: sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==} + engines: {node: '>= 0.4'} + dependencies: + is-callable: 1.2.7 + is-date-object: 1.0.5 + is-symbol: 1.0.4 + dev: true + + /esbuild@0.17.19: + resolution: {integrity: sha512-XQ0jAPFkK/u3LcVRcvVHQcTIqD6E2H1fvZMA5dQPSOWb3suUbWbfbRf94pjc0bNzRYLfIrDRQXr7X+LHIm5oHw==} + engines: {node: '>=12'} + hasBin: true + requiresBuild: true + optionalDependencies: + '@esbuild/android-arm': 0.17.19 + '@esbuild/android-arm64': 0.17.19 + '@esbuild/android-x64': 0.17.19 + '@esbuild/darwin-arm64': 0.17.19 + '@esbuild/darwin-x64': 0.17.19 + '@esbuild/freebsd-arm64': 0.17.19 + '@esbuild/freebsd-x64': 0.17.19 + '@esbuild/linux-arm': 0.17.19 + '@esbuild/linux-arm64': 0.17.19 + '@esbuild/linux-ia32': 0.17.19 + '@esbuild/linux-loong64': 0.17.19 + '@esbuild/linux-mips64el': 0.17.19 + '@esbuild/linux-ppc64': 0.17.19 + '@esbuild/linux-riscv64': 0.17.19 + '@esbuild/linux-s390x': 0.17.19 + '@esbuild/linux-x64': 0.17.19 + '@esbuild/netbsd-x64': 0.17.19 + '@esbuild/openbsd-x64': 0.17.19 + '@esbuild/sunos-x64': 0.17.19 + '@esbuild/win32-arm64': 0.17.19 + '@esbuild/win32-ia32': 0.17.19 + '@esbuild/win32-x64': 0.17.19 + dev: true + + /escalade@3.1.1: + resolution: {integrity: sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==} + engines: {node: '>=6'} + dev: true + + /escape-string-regexp@1.0.5: + resolution: {integrity: sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==} + engines: {node: '>=0.8.0'} + dev: true + + /escape-string-regexp@4.0.0: + resolution: {integrity: sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==} + engines: {node: '>=10'} + dev: true + + /eslint-config-prettier@8.8.0(eslint@8.40.0): + resolution: {integrity: sha512-wLbQiFre3tdGgpDv67NQKnJuTlcUVYHas3k+DZCc2U2BadthoEY4B7hLPvAxaqdyOGCzuLfii2fqGph10va7oA==} + hasBin: true + peerDependencies: + eslint: '>=7.0.0' + dependencies: + eslint: 8.40.0 + dev: true + + /eslint-plugin-prettier@4.2.1(eslint-config-prettier@8.8.0)(eslint@8.40.0)(prettier@2.8.8): + resolution: {integrity: sha512-f/0rXLXUt0oFYs8ra4w49wYZBG5GKZpAYsJSm6rnYL5uVDjd+zowwMwVZHnAjf4edNrKpCDYfXDgmRE/Ak7QyQ==} + engines: {node: '>=12.0.0'} + peerDependencies: + eslint: '>=7.28.0' + eslint-config-prettier: '*' + prettier: '>=2.0.0' + peerDependenciesMeta: + eslint-config-prettier: + optional: true + dependencies: + eslint: 8.40.0 + eslint-config-prettier: 8.8.0(eslint@8.40.0) + prettier: 2.8.8 + prettier-linter-helpers: 1.0.0 + dev: true + + /eslint-plugin-vue@9.12.0(eslint@8.40.0): + resolution: {integrity: sha512-xH8PgpDW2WwmFSmRfs/3iWogef1CJzQqX264I65zz77jDuxF2yLy7+GA2diUM8ZNATuSl1+UehMQkb5YEyau5w==} + engines: {node: ^14.17.0 || >=16.0.0} + peerDependencies: + eslint: ^6.2.0 || ^7.0.0 || ^8.0.0 + dependencies: + '@eslint-community/eslint-utils': 4.4.0(eslint@8.40.0) + eslint: 8.40.0 + natural-compare: 1.4.0 + nth-check: 2.1.1 + postcss-selector-parser: 6.0.12 + semver: 7.5.1 + vue-eslint-parser: 9.2.1(eslint@8.40.0) + xml-name-validator: 4.0.0 + transitivePeerDependencies: + - supports-color + dev: true + + /eslint-scope@5.1.1: + resolution: {integrity: sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==} + engines: {node: '>=8.0.0'} + dependencies: + esrecurse: 4.3.0 + estraverse: 4.3.0 + dev: true + + /eslint-scope@7.2.0: + resolution: {integrity: sha512-DYj5deGlHBfMt15J7rdtyKNq/Nqlv5KfU4iodrQ019XESsRnwXH9KAE0y3cwtUHDo2ob7CypAnCqefh6vioWRw==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + dependencies: + esrecurse: 4.3.0 + estraverse: 5.3.0 + dev: true + + /eslint-visitor-keys@3.4.1: + resolution: {integrity: sha512-pZnmmLwYzf+kWaM/Qgrvpen51upAktaaiI01nsJD/Yr3lMOdNtq0cxkrrg16w64VtisN6okbs7Q8AfGqj4c9fA==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + dev: true + + /eslint@8.40.0: + resolution: {integrity: sha512-bvR+TsP9EHL3TqNtj9sCNJVAFK3fBN8Q7g5waghxyRsPLIMwL73XSKnZFK0hk/O2ANC+iAoq6PWMQ+IfBAJIiQ==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + hasBin: true + dependencies: + '@eslint-community/eslint-utils': 4.4.0(eslint@8.40.0) + '@eslint-community/regexpp': 4.5.1 + '@eslint/eslintrc': 2.0.3 + '@eslint/js': 8.40.0 + '@humanwhocodes/config-array': 0.11.8 + '@humanwhocodes/module-importer': 1.0.1 + '@nodelib/fs.walk': 1.2.8 + ajv: 6.12.6 + chalk: 4.1.2 + cross-spawn: 7.0.3 + debug: 4.3.4 + doctrine: 3.0.0 + escape-string-regexp: 4.0.0 + eslint-scope: 7.2.0 + eslint-visitor-keys: 3.4.1 + espree: 9.5.2 + esquery: 1.5.0 + esutils: 2.0.3 + fast-deep-equal: 3.1.3 + file-entry-cache: 6.0.1 + find-up: 5.0.0 + glob-parent: 6.0.2 + globals: 13.20.0 + grapheme-splitter: 1.0.4 + ignore: 5.2.4 + import-fresh: 3.3.0 + imurmurhash: 0.1.4 + is-glob: 4.0.3 + is-path-inside: 3.0.3 + js-sdsl: 4.4.0 + js-yaml: 4.1.0 + json-stable-stringify-without-jsonify: 1.0.1 + levn: 0.4.1 + lodash.merge: 4.6.2 + minimatch: 3.1.2 + natural-compare: 1.4.0 + optionator: 0.9.1 + strip-ansi: 6.0.1 + strip-json-comments: 3.1.1 + text-table: 0.2.0 + transitivePeerDependencies: + - supports-color + dev: true + + /espree@9.5.2: + resolution: {integrity: sha512-7OASN1Wma5fum5SrNhFMAMJxOUAbhyfQ8dQ//PJaJbNw0URTPWqIghHWt1MmAANKhHZIYOHruW4Kw4ruUWOdGw==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + dependencies: + acorn: 8.8.2 + acorn-jsx: 5.3.2(acorn@8.8.2) + eslint-visitor-keys: 3.4.1 + dev: true + + /esquery@1.5.0: + resolution: {integrity: sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==} + engines: {node: '>=0.10'} + dependencies: + estraverse: 5.3.0 + dev: true + + /esrecurse@4.3.0: + resolution: {integrity: sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==} + engines: {node: '>=4.0'} + dependencies: + estraverse: 5.3.0 + dev: true + + /estraverse@4.3.0: + resolution: {integrity: sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==} + engines: {node: '>=4.0'} + dev: true + + /estraverse@5.3.0: + resolution: {integrity: sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==} + engines: {node: '>=4.0'} + dev: true + + /estree-walker@1.0.1: + resolution: {integrity: sha512-1fMXF3YP4pZZVozF8j/ZLfvnR8NSIljt56UhbZ5PeeDmmGHpgpdwQt7ITlGvYaQukCvuBRMLEiKiYC+oeIg4cg==} + dev: true + + /estree-walker@2.0.2: + resolution: {integrity: sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==} + + /esutils@2.0.3: + resolution: {integrity: sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==} + engines: {node: '>=0.10.0'} + dev: true + + /evtd@0.2.4: + resolution: {integrity: sha512-qaeGN5bx63s/AXgQo8gj6fBkxge+OoLddLniox5qtLAEY5HSnuSlISXVPxnSae1dWblvTh4/HoMIB+mbMsvZzw==} + dev: true + + /fast-deep-equal@3.1.3: + resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==} + dev: true + + /fast-diff@1.2.0: + resolution: {integrity: sha512-xJuoT5+L99XlZ8twedaRf6Ax2TgQVxvgZOYoPKqZufmJib0tL2tegPBOZb1pVNgIhlqDlA0eO0c3wBvQcmzx4w==} + dev: true + + /fast-glob@3.2.12: + resolution: {integrity: sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w==} + engines: {node: '>=8.6.0'} + dependencies: + '@nodelib/fs.stat': 2.0.5 + '@nodelib/fs.walk': 1.2.8 + glob-parent: 5.1.2 + merge2: 1.4.1 + micromatch: 4.0.5 + dev: true + + /fast-json-stable-stringify@2.1.0: + resolution: {integrity: sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==} + dev: true + + /fast-levenshtein@2.0.6: + resolution: {integrity: sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==} + dev: true + + /fastq@1.15.0: + resolution: {integrity: sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw==} + dependencies: + reusify: 1.0.4 + dev: true + + /file-entry-cache@6.0.1: + resolution: {integrity: sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==} + engines: {node: ^10.12.0 || >=12.0.0} + dependencies: + flat-cache: 3.0.4 + dev: true + + /filelist@1.0.4: + resolution: {integrity: sha512-w1cEuf3S+DrLCQL7ET6kz+gmlJdbq9J7yXCSjK/OZCPA+qEN1WyF4ZAf0YYJa4/shHJra2t/d/r8SV4Ji+x+8Q==} + dependencies: + minimatch: 5.1.6 + dev: true + + /fill-range@7.0.1: + resolution: {integrity: sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==} + engines: {node: '>=8'} + dependencies: + to-regex-range: 5.0.1 + dev: true + + /find-up@5.0.0: + resolution: {integrity: sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==} + engines: {node: '>=10'} + dependencies: + locate-path: 6.0.0 + path-exists: 4.0.0 + dev: true + + /flat-cache@3.0.4: + resolution: {integrity: sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg==} + engines: {node: ^10.12.0 || >=12.0.0} + dependencies: + flatted: 3.2.7 + rimraf: 3.0.2 + dev: true + + /flatted@3.2.7: + resolution: {integrity: sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ==} + dev: true + + /for-each@0.3.3: + resolution: {integrity: sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==} + dependencies: + is-callable: 1.2.7 + dev: true + + /fraction.js@4.2.0: + resolution: {integrity: sha512-MhLuK+2gUcnZe8ZHlaaINnQLl0xRIGRfcGk2yl8xoQAfHrSsL3rYu6FCmBdkdbhc9EPlwyGHewaRsvwRMJtAlA==} + dev: true + + /fs-extra@9.1.0: + resolution: {integrity: sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==} + engines: {node: '>=10'} + dependencies: + at-least-node: 1.0.0 + graceful-fs: 4.2.11 + jsonfile: 6.1.0 + universalify: 2.0.0 + dev: true + + /fs.realpath@1.0.0: + resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==} + dev: true + + /fsevents@2.3.2: + resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==} + engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} + os: [darwin] + requiresBuild: true + dev: true + optional: true + + /function-bind@1.1.1: + resolution: {integrity: sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==} + dev: true + + /function.prototype.name@1.1.5: + resolution: {integrity: sha512-uN7m/BzVKQnCUF/iW8jYea67v++2u7m5UgENbHRtdDVclOUP+FMPlCNdmk0h/ysGyo2tavMJEDqJAkJdRa1vMA==} + engines: {node: '>= 0.4'} + dependencies: + call-bind: 1.0.2 + define-properties: 1.2.0 + es-abstract: 1.21.2 + functions-have-names: 1.2.3 + dev: true + + /functions-have-names@1.2.3: + resolution: {integrity: sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==} + dev: true + + /gensync@1.0.0-beta.2: + resolution: {integrity: sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==} + engines: {node: '>=6.9.0'} + dev: true + + /get-intrinsic@1.2.0: + resolution: {integrity: sha512-L049y6nFOuom5wGyRc3/gdTLO94dySVKRACj1RmJZBQXlbTMhtNIgkWkUHq+jYmZvKf14EW1EoJnnjbmoHij0Q==} + dependencies: + function-bind: 1.1.1 + has: 1.0.3 + has-symbols: 1.0.3 + dev: true + + /get-own-enumerable-property-symbols@3.0.2: + resolution: {integrity: sha512-I0UBV/XOz1XkIJHEUDMZAbzCThU/H8DxmSfmdGcKPnVhu2VfFqr34jr9777IyaTYvxjedWhqVIilEDsCdP5G6g==} + dev: true + + /get-symbol-description@1.0.0: + resolution: {integrity: sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==} + engines: {node: '>= 0.4'} + dependencies: + call-bind: 1.0.2 + get-intrinsic: 1.2.0 + dev: true + + /glob-parent@5.1.2: + resolution: {integrity: sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==} + engines: {node: '>= 6'} + dependencies: + is-glob: 4.0.3 + dev: true + + /glob-parent@6.0.2: + resolution: {integrity: sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==} + engines: {node: '>=10.13.0'} + dependencies: + is-glob: 4.0.3 + dev: true + + /glob@7.1.6: + resolution: {integrity: sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==} + dependencies: + fs.realpath: 1.0.0 + inflight: 1.0.6 + inherits: 2.0.4 + minimatch: 3.1.2 + once: 1.4.0 + path-is-absolute: 1.0.1 + dev: true + + /glob@7.2.3: + resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==} + dependencies: + fs.realpath: 1.0.0 + inflight: 1.0.6 + inherits: 2.0.4 + minimatch: 3.1.2 + once: 1.4.0 + path-is-absolute: 1.0.1 + dev: true + + /globals@11.12.0: + resolution: {integrity: sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==} + engines: {node: '>=4'} + dev: true + + /globals@13.20.0: + resolution: {integrity: sha512-Qg5QtVkCy/kv3FUSlu4ukeZDVf9ee0iXLAUYX13gbR17bnejFTzr4iS9bY7kwCf1NztRNm1t91fjOiyx4CSwPQ==} + engines: {node: '>=8'} + dependencies: + type-fest: 0.20.2 + dev: true + + /globalthis@1.0.3: + resolution: {integrity: sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA==} + engines: {node: '>= 0.4'} + dependencies: + define-properties: 1.2.0 + dev: true + + /globby@11.1.0: + resolution: {integrity: sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==} + engines: {node: '>=10'} + dependencies: + array-union: 2.1.0 + dir-glob: 3.0.1 + fast-glob: 3.2.12 + ignore: 5.2.4 + merge2: 1.4.1 + slash: 3.0.0 + dev: true + + /gopd@1.0.1: + resolution: {integrity: sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==} + dependencies: + get-intrinsic: 1.2.0 + dev: true + + /graceful-fs@4.2.11: + resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==} + dev: true + + /grapheme-splitter@1.0.4: + resolution: {integrity: sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ==} + dev: true + + /has-bigints@1.0.2: + resolution: {integrity: sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==} + dev: true + + /has-flag@3.0.0: + resolution: {integrity: sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==} + engines: {node: '>=4'} + dev: true + + /has-flag@4.0.0: + resolution: {integrity: sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==} + engines: {node: '>=8'} + dev: true + + /has-property-descriptors@1.0.0: + resolution: {integrity: sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ==} + dependencies: + get-intrinsic: 1.2.0 + dev: true + + /has-proto@1.0.1: + resolution: {integrity: sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg==} + engines: {node: '>= 0.4'} + dev: true + + /has-symbols@1.0.3: + resolution: {integrity: sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==} + engines: {node: '>= 0.4'} + dev: true + + /has-tostringtag@1.0.0: + resolution: {integrity: sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==} + engines: {node: '>= 0.4'} + dependencies: + has-symbols: 1.0.3 + dev: true + + /has@1.0.3: + resolution: {integrity: sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==} + engines: {node: '>= 0.4.0'} + dependencies: + function-bind: 1.1.1 + dev: true + + /he@1.2.0: + resolution: {integrity: sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==} + hasBin: true + dev: true + + /highlight.js@11.8.0: + resolution: {integrity: sha512-MedQhoqVdr0U6SSnWPzfiadUcDHfN/Wzq25AkXiQv9oiOO/sG0S7XkvpFIqWBl9Yq1UYyYOOVORs5UW2XlPyzg==} + engines: {node: '>=12.0.0'} + dev: true + + /hosted-git-info@2.8.9: + resolution: {integrity: sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==} + dev: true + + /idb@7.1.1: + resolution: {integrity: sha512-gchesWBzyvGHRO9W8tzUWFDycow5gwjvFKfyV9FF32Y7F50yZMp7mP+T2mJIWFx49zicqyC4uefHM17o6xKIVQ==} + dev: true + + /ignore@5.2.4: + resolution: {integrity: sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==} + engines: {node: '>= 4'} + dev: true + + /import-fresh@3.3.0: + resolution: {integrity: sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==} + engines: {node: '>=6'} + dependencies: + parent-module: 1.0.1 + resolve-from: 4.0.0 + dev: true + + /imurmurhash@0.1.4: + resolution: {integrity: sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==} + engines: {node: '>=0.8.19'} + dev: true + + /inflight@1.0.6: + resolution: {integrity: sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==} + dependencies: + once: 1.4.0 + wrappy: 1.0.2 + dev: true + + /inherits@2.0.4: + resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==} + dev: true + + /internal-slot@1.0.5: + resolution: {integrity: sha512-Y+R5hJrzs52QCG2laLn4udYVnxsfny9CpOhNhUvk/SSSVyF6T27FzRbF0sroPidSu3X8oEAkOn2K804mjpt6UQ==} + engines: {node: '>= 0.4'} + dependencies: + get-intrinsic: 1.2.0 + has: 1.0.3 + side-channel: 1.0.4 + dev: true + + /is-array-buffer@3.0.2: + resolution: {integrity: sha512-y+FyyR/w8vfIRq4eQcM1EYgSTnmHXPqaF+IgzgraytCFq5Xh8lllDVmAZolPJiZttZLeFSINPYMaEJ7/vWUa1w==} + dependencies: + call-bind: 1.0.2 + get-intrinsic: 1.2.0 + is-typed-array: 1.1.10 + dev: true + + /is-arrayish@0.2.1: + resolution: {integrity: sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==} + dev: true + + /is-bigint@1.0.4: + resolution: {integrity: sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==} + dependencies: + has-bigints: 1.0.2 + dev: true + + /is-binary-path@2.1.0: + resolution: {integrity: sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==} + engines: {node: '>=8'} + dependencies: + binary-extensions: 2.2.0 + dev: true + + /is-boolean-object@1.1.2: + resolution: {integrity: sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==} + engines: {node: '>= 0.4'} + dependencies: + call-bind: 1.0.2 + has-tostringtag: 1.0.0 + dev: true + + /is-callable@1.2.7: + resolution: {integrity: sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==} + engines: {node: '>= 0.4'} + dev: true + + /is-core-module@2.12.0: + resolution: {integrity: sha512-RECHCBCd/viahWmwj6enj19sKbHfJrddi/6cBDsNTKbNq0f7VeaUkBo60BqzvPqo/W54ChS62Z5qyun7cfOMqQ==} + dependencies: + has: 1.0.3 + dev: true + + /is-date-object@1.0.5: + resolution: {integrity: sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==} + engines: {node: '>= 0.4'} + dependencies: + has-tostringtag: 1.0.0 + dev: true + + /is-extglob@2.1.1: + resolution: {integrity: sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==} + engines: {node: '>=0.10.0'} + dev: true + + /is-glob@4.0.3: + resolution: {integrity: sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==} + engines: {node: '>=0.10.0'} + dependencies: + is-extglob: 2.1.1 + dev: true + + /is-module@1.0.0: + resolution: {integrity: sha512-51ypPSPCoTEIN9dy5Oy+h4pShgJmPCygKfyRCISBI+JoWT/2oJvK8QPxmwv7b/p239jXrm9M1mlQbyKJ5A152g==} + dev: true + + /is-negative-zero@2.0.2: + resolution: {integrity: sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA==} + engines: {node: '>= 0.4'} + dev: true + + /is-number-object@1.0.7: + resolution: {integrity: sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ==} + engines: {node: '>= 0.4'} + dependencies: + has-tostringtag: 1.0.0 + dev: true + + /is-number@7.0.0: + resolution: {integrity: sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==} + engines: {node: '>=0.12.0'} + dev: true + + /is-obj@1.0.1: + resolution: {integrity: sha512-l4RyHgRqGN4Y3+9JHVrNqO+tN0rV5My76uW5/nuO4K1b6vw5G8d/cmFjP9tRfEsdhZNt0IFdZuK/c2Vr4Nb+Qg==} + engines: {node: '>=0.10.0'} + dev: true + + /is-path-inside@3.0.3: + resolution: {integrity: sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==} + engines: {node: '>=8'} + dev: true + + /is-regex@1.1.4: + resolution: {integrity: sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==} + engines: {node: '>= 0.4'} + dependencies: + call-bind: 1.0.2 + has-tostringtag: 1.0.0 + dev: true + + /is-regexp@1.0.0: + resolution: {integrity: sha512-7zjFAPO4/gwyQAAgRRmqeEeyIICSdmCqa3tsVHMdBzaXXRiqopZL4Cyghg/XulGWrtABTpbnYYzzIRffLkP4oA==} + engines: {node: '>=0.10.0'} + dev: true + + /is-shared-array-buffer@1.0.2: + resolution: {integrity: sha512-sqN2UDu1/0y6uvXyStCOzyhAjCSlHceFoMKJW8W9EU9cvic/QdsZ0kEU93HEy3IUEFZIiH/3w+AH/UQbPHNdhA==} + dependencies: + call-bind: 1.0.2 + dev: true + + /is-stream@2.0.1: + resolution: {integrity: sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==} + engines: {node: '>=8'} + dev: true + + /is-string@1.0.7: + resolution: {integrity: sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==} + engines: {node: '>= 0.4'} + dependencies: + has-tostringtag: 1.0.0 + dev: true + + /is-symbol@1.0.4: + resolution: {integrity: sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==} + engines: {node: '>= 0.4'} + dependencies: + has-symbols: 1.0.3 + dev: true + + /is-typed-array@1.1.10: + resolution: {integrity: sha512-PJqgEHiWZvMpaFZ3uTc8kHPM4+4ADTlDniuQL7cU/UDA0Ql7F70yGfHph3cLNe+c9toaigv+DFzTJKhc2CtO6A==} + engines: {node: '>= 0.4'} + dependencies: + available-typed-arrays: 1.0.5 + call-bind: 1.0.2 + for-each: 0.3.3 + gopd: 1.0.1 + has-tostringtag: 1.0.0 + dev: true + + /is-weakref@1.0.2: + resolution: {integrity: sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==} + dependencies: + call-bind: 1.0.2 + dev: true + + /isexe@2.0.0: + resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==} + dev: true + + /jake@10.8.5: + resolution: {integrity: sha512-sVpxYeuAhWt0OTWITwT98oyV0GsXyMlXCF+3L1SuafBVUIr/uILGRB+NqwkzhgXKvoJpDIpQvqkUALgdmQsQxw==} + engines: {node: '>=10'} + hasBin: true + dependencies: + async: 3.2.4 + chalk: 4.1.2 + filelist: 1.0.4 + minimatch: 3.1.2 + dev: true + + /jest-worker@26.6.2: + resolution: {integrity: sha512-KWYVV1c4i+jbMpaBC+U++4Va0cp8OisU185o73T1vo99hqi7w8tSJfUXYswwqqrjzwxa6KpRK54WhPvwf5w6PQ==} + engines: {node: '>= 10.13.0'} + dependencies: + '@types/node': 18.16.9 + merge-stream: 2.0.0 + supports-color: 7.2.0 + dev: true + + /jiti@1.18.2: + resolution: {integrity: sha512-QAdOptna2NYiSSpv0O/BwoHBSmz4YhpzJHyi+fnMRTXFjp7B8i/YG5Z8IfusxB1ufjcD2Sre1F3R+nX3fvy7gg==} + hasBin: true + dev: true + + /js-sdsl@4.4.0: + resolution: {integrity: sha512-FfVSdx6pJ41Oa+CF7RDaFmTnCaFhua+SNYQX74riGOpl96x+2jQCqEfQ2bnXu/5DPCqlRuiqyvTJM0Qjz26IVg==} + dev: true + + /js-tokens@4.0.0: + resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==} + dev: true + + /js-yaml@4.1.0: + resolution: {integrity: sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==} + hasBin: true + dependencies: + argparse: 2.0.1 + dev: true + + /jsesc@0.5.0: + resolution: {integrity: sha512-uZz5UnB7u4T9LvwmFqXii7pZSouaRPorGs5who1Ip7VO0wxanFvBL7GkM6dTHlgX+jhBApRetaWpnDabOeTcnA==} + hasBin: true + dev: true + + /jsesc@2.5.2: + resolution: {integrity: sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==} + engines: {node: '>=4'} + hasBin: true + dev: true + + /json-parse-better-errors@1.0.2: + resolution: {integrity: sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==} + dev: true + + /json-schema-traverse@0.4.1: + resolution: {integrity: sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==} + dev: true + + /json-schema-traverse@1.0.0: + resolution: {integrity: sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==} + dev: true + + /json-schema@0.4.0: + resolution: {integrity: sha512-es94M3nTIfsEPisRafak+HDLfHXnKBhV3vU5eqPcS3flIWqcxJWgXHXiey3YrpaNsanY5ei1VoYEbOzijuq9BA==} + dev: true + + /json-stable-stringify-without-jsonify@1.0.1: + resolution: {integrity: sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==} + dev: true + + /json5@2.2.3: + resolution: {integrity: sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==} + engines: {node: '>=6'} + hasBin: true + dev: true + + /jsonfile@6.1.0: + resolution: {integrity: sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==} + dependencies: + universalify: 2.0.0 + optionalDependencies: + graceful-fs: 4.2.11 + dev: true + + /jsonpointer@5.0.1: + resolution: {integrity: sha512-p/nXbhSEcu3pZRdkW1OfJhpsVtW1gd4Wa1fnQc9YLiTfAjn0312eMKimbdIQzuZl9aa9xUGaRlP9T/CJE/ditQ==} + engines: {node: '>=0.10.0'} + dev: true + + /leven@3.1.0: + resolution: {integrity: sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==} + engines: {node: '>=6'} + dev: true + + /levn@0.4.1: + resolution: {integrity: sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==} + engines: {node: '>= 0.8.0'} + dependencies: + prelude-ls: 1.2.1 + type-check: 0.4.0 + dev: true + + /lilconfig@2.1.0: + resolution: {integrity: sha512-utWOt/GHzuUxnLKxB6dk81RoOeoNeHgbrXiuGk4yyF5qlRz+iIVWu56E2fqGHFrXz0QNUhLB/8nKqvRH66JKGQ==} + engines: {node: '>=10'} + dev: true + + /lines-and-columns@1.2.4: + resolution: {integrity: sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==} + dev: true + + /load-json-file@4.0.0: + resolution: {integrity: sha512-Kx8hMakjX03tiGTLAIdJ+lL0htKnXjEZN6hk/tozf/WOuYGdZBJrZ+rCJRbVCugsjB3jMLn9746NsQIf5VjBMw==} + engines: {node: '>=4'} + dependencies: + graceful-fs: 4.2.11 + parse-json: 4.0.0 + pify: 3.0.0 + strip-bom: 3.0.0 + dev: true + + /locate-path@6.0.0: + resolution: {integrity: sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==} + engines: {node: '>=10'} + dependencies: + p-locate: 5.0.0 + dev: true + + /lodash-es@4.17.21: + resolution: {integrity: sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==} + dev: true + + /lodash.debounce@4.0.8: + resolution: {integrity: sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow==} + dev: true + + /lodash.merge@4.6.2: + resolution: {integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==} + dev: true + + /lodash.sortby@4.7.0: + resolution: {integrity: sha512-HDWXG8isMntAyRF5vZ7xKuEvOhT4AhlRt/3czTSjvGUxjYCBVRQY48ViDHyfYz9VIoBkW4TMGQNapx+l3RUwdA==} + dev: true + + /lodash@4.17.21: + resolution: {integrity: sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==} + dev: true + + /lru-cache@5.1.1: + resolution: {integrity: sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==} + dependencies: + yallist: 3.1.1 + dev: true + + /lru-cache@6.0.0: + resolution: {integrity: sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==} + engines: {node: '>=10'} + dependencies: + yallist: 4.0.0 + dev: true + + /magic-string@0.25.9: + resolution: {integrity: sha512-RmF0AsMzgt25qzqqLc1+MbHmhdx0ojF2Fvs4XnOqz2ZOBXzzkEwc/dJQZCYHAn7v1jbVOjAZfK8msRn4BxO4VQ==} + dependencies: + sourcemap-codec: 1.4.8 + dev: true + + /magic-string@0.27.0: + resolution: {integrity: sha512-8UnnX2PeRAPZuN12svgR9j7M1uWMovg/CEnIwIG0LFkXSJJe4PdfUGiTGl8V9bsBHFUtfVINcSyYxd7q+kx9fA==} + engines: {node: '>=12'} + dependencies: + '@jridgewell/sourcemap-codec': 1.4.15 + dev: true + + /magic-string@0.30.0: + resolution: {integrity: sha512-LA+31JYDJLs82r2ScLrlz1GjSgu66ZV518eyWT+S8VhyQn/JL0u9MeBOvQMGYiPk1DBiSN9DDMOcXvigJZaViQ==} + engines: {node: '>=12'} + dependencies: + '@jridgewell/sourcemap-codec': 1.4.15 + + /memorystream@0.3.1: + resolution: {integrity: sha512-S3UwM3yj5mtUSEfP41UZmt/0SCoVYUcU1rkXv+BQ5Ig8ndL4sPoJNBUJERafdPb5jjHJGuMgytgKvKIf58XNBw==} + engines: {node: '>= 0.10.0'} + dev: true + + /merge-stream@2.0.0: + resolution: {integrity: sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==} + dev: true + + /merge2@1.4.1: + resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==} + engines: {node: '>= 8'} + dev: true + + /micromatch@4.0.5: + resolution: {integrity: sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==} + engines: {node: '>=8.6'} + dependencies: + braces: 3.0.2 + picomatch: 2.3.1 + dev: true + + /minimatch@3.1.2: + resolution: {integrity: sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==} + dependencies: + brace-expansion: 1.1.11 + dev: true + + /minimatch@5.1.6: + resolution: {integrity: sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==} + engines: {node: '>=10'} + dependencies: + brace-expansion: 2.0.1 + dev: true + + /minimatch@9.0.0: + resolution: {integrity: sha512-0jJj8AvgKqWN05mrwuqi8QYKx1WmYSUoKSxu5Qhs9prezTz10sxAHGNZe9J9cqIJzta8DWsleh2KaVaLl6Ru2w==} + engines: {node: '>=16 || 14 >=14.17'} + dependencies: + brace-expansion: 2.0.1 + dev: true + + /ms@2.1.2: + resolution: {integrity: sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==} + dev: true + + /muggle-string@0.2.2: + resolution: {integrity: sha512-YVE1mIJ4VpUMqZObFndk9CJu6DBJR/GB13p3tXuNbwD4XExaI5EOuRl6BHeIDxIqXZVxSfAC+y6U1Z/IxCfKUg==} + dev: true + + /mz@2.7.0: + resolution: {integrity: sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==} + dependencies: + any-promise: 1.3.0 + object-assign: 4.1.1 + thenify-all: 1.6.0 + dev: true + + /naive-ui@2.34.3(vue@3.3.2): + resolution: {integrity: sha512-fUMr0dzb/iGsOTWgoblPVobY5X5dihQ1eam5dA+H74oyLYAvgX4pL96xQFPBLIYqvyRFBAsN85kHN5pLqdtpxA==} + peerDependencies: + vue: ^3.0.0 + dependencies: + '@css-render/plugin-bem': 0.15.12(css-render@0.15.12) + '@css-render/vue3-ssr': 0.15.12(vue@3.3.2) + '@types/katex': 0.14.0 + '@types/lodash': 4.14.194 + '@types/lodash-es': 4.17.7 + async-validator: 4.2.5 + css-render: 0.15.12 + date-fns: 2.30.0 + date-fns-tz: 1.3.8(date-fns@2.30.0) + evtd: 0.2.4 + highlight.js: 11.8.0 + lodash: 4.17.21 + lodash-es: 4.17.21 + seemly: 0.3.6 + treemate: 0.3.11 + vdirs: 0.1.8(vue@3.3.2) + vooks: 0.2.12(vue@3.3.2) + vue: 3.3.2 + vueuc: 0.4.51(vue@3.3.2) + dev: true + + /nanoid@3.3.6: + resolution: {integrity: sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA==} + engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} + hasBin: true + + /natural-compare-lite@1.4.0: + resolution: {integrity: sha512-Tj+HTDSJJKaZnfiuw+iaF9skdPpTo2GtEly5JHnWV/hfv2Qj/9RKsGISQtLh2ox3l5EAGw487hnBee0sIJ6v2g==} + dev: true + + /natural-compare@1.4.0: + resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==} + dev: true + + /nice-try@1.0.5: + resolution: {integrity: sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==} + dev: true + + /node-releases@2.0.10: + resolution: {integrity: sha512-5GFldHPXVG/YZmFzJvKK2zDSzPKhEp0+ZR5SVaoSag9fsL5YgHbUHDfnG5494ISANDcK4KwPXAx2xqVEydmd7w==} + dev: true + + /normalize-package-data@2.5.0: + resolution: {integrity: sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==} + dependencies: + hosted-git-info: 2.8.9 + resolve: 1.22.2 + semver: 5.7.1 + validate-npm-package-license: 3.0.4 + dev: true + + /normalize-path@3.0.0: + resolution: {integrity: sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==} + engines: {node: '>=0.10.0'} + dev: true + + /normalize-range@0.1.2: + resolution: {integrity: sha512-bdok/XvKII3nUpklnV6P2hxtMNrCboOjAcyBuQnWEhO665FwrSNRxU+AqpsyvO6LgGYPspN+lu5CLtw4jPRKNA==} + engines: {node: '>=0.10.0'} + dev: true + + /npm-run-all@4.1.5: + resolution: {integrity: sha512-Oo82gJDAVcaMdi3nuoKFavkIHBRVqQ1qvMb+9LHk/cF4P6B2m8aP04hGf7oL6wZ9BuGwX1onlLhpuoofSyoQDQ==} + engines: {node: '>= 4'} + hasBin: true + dependencies: + ansi-styles: 3.2.1 + chalk: 2.4.2 + cross-spawn: 6.0.5 + memorystream: 0.3.1 + minimatch: 3.1.2 + pidtree: 0.3.1 + read-pkg: 3.0.0 + shell-quote: 1.8.1 + string.prototype.padend: 3.1.4 + dev: true + + /nth-check@2.1.1: + resolution: {integrity: sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==} + dependencies: + boolbase: 1.0.0 + dev: true + + /object-assign@4.1.1: + resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==} + engines: {node: '>=0.10.0'} + dev: true + + /object-hash@3.0.0: + resolution: {integrity: sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw==} + engines: {node: '>= 6'} + dev: true + + /object-inspect@1.12.3: + resolution: {integrity: sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g==} + dev: true + + /object-keys@1.1.1: + resolution: {integrity: sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==} + engines: {node: '>= 0.4'} + dev: true + + /object.assign@4.1.4: + resolution: {integrity: sha512-1mxKf0e58bvyjSCtKYY4sRe9itRk3PJpquJOjeIkz885CczcI4IvJJDLPS72oowuSh+pBxUFROpX+TU++hxhZQ==} + engines: {node: '>= 0.4'} + dependencies: + call-bind: 1.0.2 + define-properties: 1.2.0 + has-symbols: 1.0.3 + object-keys: 1.1.1 + dev: true + + /once@1.4.0: + resolution: {integrity: sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==} + dependencies: + wrappy: 1.0.2 + dev: true + + /optionator@0.9.1: + resolution: {integrity: sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw==} + engines: {node: '>= 0.8.0'} + dependencies: + deep-is: 0.1.4 + fast-levenshtein: 2.0.6 + levn: 0.4.1 + prelude-ls: 1.2.1 + type-check: 0.4.0 + word-wrap: 1.2.3 + dev: true + + /p-limit@3.1.0: + resolution: {integrity: sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==} + engines: {node: '>=10'} + dependencies: + yocto-queue: 0.1.0 + dev: true + + /p-locate@5.0.0: + resolution: {integrity: sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==} + engines: {node: '>=10'} + dependencies: + p-limit: 3.1.0 + dev: true + + /parent-module@1.0.1: + resolution: {integrity: sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==} + engines: {node: '>=6'} + dependencies: + callsites: 3.1.0 + dev: true + + /parse-json@4.0.0: + resolution: {integrity: sha512-aOIos8bujGN93/8Ox/jPLh7RwVnPEysynVFE+fQZyg6jKELEHwzgKdLRFHUgXJL6kylijVSBC4BvN9OmsB48Rw==} + engines: {node: '>=4'} + dependencies: + error-ex: 1.3.2 + json-parse-better-errors: 1.0.2 + dev: true + + /path-exists@4.0.0: + resolution: {integrity: sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==} + engines: {node: '>=8'} + dev: true + + /path-is-absolute@1.0.1: + resolution: {integrity: sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==} + engines: {node: '>=0.10.0'} + dev: true + + /path-key@2.0.1: + resolution: {integrity: sha512-fEHGKCSmUSDPv4uoj8AlD+joPlq3peND+HRYyxFz4KPw4z926S/b8rIuFs2FYJg3BwsxJf6A9/3eIdLaYC+9Dw==} + engines: {node: '>=4'} + dev: true + + /path-key@3.1.1: + resolution: {integrity: sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==} + engines: {node: '>=8'} + dev: true + + /path-parse@1.0.7: + resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==} + dev: true + + /path-type@3.0.0: + resolution: {integrity: sha512-T2ZUsdZFHgA3u4e5PfPbjd7HDDpxPnQb5jN0SrDsjNSuVXHJqtwTnWqG0B1jZrgmJ/7lj1EmVIByWt1gxGkWvg==} + engines: {node: '>=4'} + dependencies: + pify: 3.0.0 + dev: true + + /path-type@4.0.0: + resolution: {integrity: sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==} + engines: {node: '>=8'} + dev: true + + /picocolors@1.0.0: + resolution: {integrity: sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==} + + /picomatch@2.3.1: + resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==} + engines: {node: '>=8.6'} + dev: true + + /pidtree@0.3.1: + resolution: {integrity: sha512-qQbW94hLHEqCg7nhby4yRC7G2+jYHY4Rguc2bjw7Uug4GIJuu1tvf2uHaZv5Q8zdt+WKJ6qK1FOI6amaWUo5FA==} + engines: {node: '>=0.10'} + hasBin: true + dev: true + + /pify@2.3.0: + resolution: {integrity: sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==} + engines: {node: '>=0.10.0'} + dev: true + + /pify@3.0.0: + resolution: {integrity: sha512-C3FsVNH1udSEX48gGX1xfvwTWfsYWj5U+8/uK15BGzIGrKoUpghX8hWZwa/OFnakBiiVNmBvemTJR5mcy7iPcg==} + engines: {node: '>=4'} + dev: true + + /pinia-plugin-persistedstate@3.1.0(pinia@2.0.36): + resolution: {integrity: sha512-8UN+vYMEPBdgNLwceY08mi5olI0wkYaEb8b6hD6xW7SnBRuPydWHlEhZvUWgNb/ibuf4PvufpvtS+dmhYjJQOw==} + peerDependencies: + pinia: ^2.0.0 + dependencies: + pinia: 2.0.36(typescript@5.0.4)(vue@3.3.2) + dev: false + + /pinia@2.0.36(typescript@5.0.4)(vue@3.3.2): + resolution: {integrity: sha512-4UKApwjlmJH+VuHKgA+zQMddcCb3ezYnyewQ9NVrsDqZ/j9dMv5+rh+1r48whKNdpFkZAWVxhBp5ewYaYX9JcQ==} + peerDependencies: + '@vue/composition-api': ^1.4.0 + typescript: '>=4.4.4' + vue: ^2.6.14 || ^3.2.0 + peerDependenciesMeta: + '@vue/composition-api': + optional: true + typescript: + optional: true + dependencies: + '@vue/devtools-api': 6.5.0 + typescript: 5.0.4 + vue: 3.3.2 + vue-demi: 0.14.1(vue@3.3.2) + dev: false + + /pirates@4.0.5: + resolution: {integrity: sha512-8V9+HQPupnaXMA23c5hvl69zXvTwTzyAYasnkb0Tts4XvO4CliqONMOnvlq26rkhLC3nWDFBJf73LU1e1VZLaQ==} + engines: {node: '>= 6'} + dev: true + + /postcss-import@15.1.0(postcss@8.4.23): + resolution: {integrity: sha512-hpr+J05B2FVYUAXHeK1YyI267J/dDDhMU6B6civm8hSY1jYJnBXxzKDKDswzJmtLHryrjhnDjqqp/49t8FALew==} + engines: {node: '>=14.0.0'} + peerDependencies: + postcss: ^8.0.0 + dependencies: + postcss: 8.4.23 + postcss-value-parser: 4.2.0 + read-cache: 1.0.0 + resolve: 1.22.2 + dev: true + + /postcss-js@4.0.1(postcss@8.4.23): + resolution: {integrity: sha512-dDLF8pEO191hJMtlHFPRa8xsizHaM82MLfNkUHdUtVEV3tgTp5oj+8qbEqYM57SLfc74KSbw//4SeJma2LRVIw==} + engines: {node: ^12 || ^14 || >= 16} + peerDependencies: + postcss: ^8.4.21 + dependencies: + camelcase-css: 2.0.1 + postcss: 8.4.23 + dev: true + + /postcss-load-config@4.0.1(postcss@8.4.23): + resolution: {integrity: sha512-vEJIc8RdiBRu3oRAI0ymerOn+7rPuMvRXslTvZUKZonDHFIczxztIyJ1urxM1x9JXEikvpWWTUUqal5j/8QgvA==} + engines: {node: '>= 14'} + peerDependencies: + postcss: '>=8.0.9' + ts-node: '>=9.0.0' + peerDependenciesMeta: + postcss: + optional: true + ts-node: + optional: true + dependencies: + lilconfig: 2.1.0 + postcss: 8.4.23 + yaml: 2.2.2 + dev: true + + /postcss-nested@6.0.1(postcss@8.4.23): + resolution: {integrity: sha512-mEp4xPMi5bSWiMbsgoPfcP74lsWLHkQbZc3sY+jWYd65CUwXrUaTp0fmNpa01ZcETKlIgUdFN/MpS2xZtqL9dQ==} + engines: {node: '>=12.0'} + peerDependencies: + postcss: ^8.2.14 + dependencies: + postcss: 8.4.23 + postcss-selector-parser: 6.0.12 + dev: true + + /postcss-selector-parser@6.0.12: + resolution: {integrity: sha512-NdxGCAZdRrwVI1sy59+Wzrh+pMMHxapGnpfenDVlMEXoOcvt4pGE0JLK9YY2F5dLxcFYA/YbVQKhcGU+FtSYQg==} + engines: {node: '>=4'} + dependencies: + cssesc: 3.0.0 + util-deprecate: 1.0.2 + dev: true + + /postcss-value-parser@4.2.0: + resolution: {integrity: sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==} + dev: true + + /postcss@8.4.23: + resolution: {integrity: sha512-bQ3qMcpF6A/YjR55xtoTr0jGOlnPOKAIMdOWiv0EIT6HVPEaJiJB4NLljSbiHoC2RX7DN5Uvjtpbg1NPdwv1oA==} + engines: {node: ^10 || ^12 || >=14} + dependencies: + nanoid: 3.3.6 + picocolors: 1.0.0 + source-map-js: 1.0.2 + + /prelude-ls@1.2.1: + resolution: {integrity: sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==} + engines: {node: '>= 0.8.0'} + dev: true + + /prettier-linter-helpers@1.0.0: + resolution: {integrity: sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w==} + engines: {node: '>=6.0.0'} + dependencies: + fast-diff: 1.2.0 + dev: true + + /prettier-plugin-tailwindcss@0.2.8(prettier@2.8.8): + resolution: {integrity: sha512-KgPcEnJeIijlMjsA6WwYgRs5rh3/q76oInqtMXBA/EMcamrcYJpyhtRhyX1ayT9hnHlHTuO8sIifHF10WuSDKg==} + engines: {node: '>=12.17.0'} + peerDependencies: + '@ianvs/prettier-plugin-sort-imports': '*' + '@prettier/plugin-pug': '*' + '@shopify/prettier-plugin-liquid': '*' + '@shufo/prettier-plugin-blade': '*' + '@trivago/prettier-plugin-sort-imports': '*' + prettier: '>=2.2.0' + prettier-plugin-astro: '*' + prettier-plugin-css-order: '*' + prettier-plugin-import-sort: '*' + prettier-plugin-jsdoc: '*' + prettier-plugin-organize-attributes: '*' + prettier-plugin-organize-imports: '*' + prettier-plugin-style-order: '*' + prettier-plugin-svelte: '*' + prettier-plugin-twig-melody: '*' + peerDependenciesMeta: + '@ianvs/prettier-plugin-sort-imports': + optional: true + '@prettier/plugin-pug': + optional: true + '@shopify/prettier-plugin-liquid': + optional: true + '@shufo/prettier-plugin-blade': + optional: true + '@trivago/prettier-plugin-sort-imports': + optional: true + prettier-plugin-astro: + optional: true + prettier-plugin-css-order: + optional: true + prettier-plugin-import-sort: + optional: true + prettier-plugin-jsdoc: + optional: true + prettier-plugin-organize-attributes: + optional: true + prettier-plugin-organize-imports: + optional: true + prettier-plugin-style-order: + optional: true + prettier-plugin-svelte: + optional: true + prettier-plugin-twig-melody: + optional: true + dependencies: + prettier: 2.8.8 + dev: true + + /prettier@2.8.8: + resolution: {integrity: sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==} + engines: {node: '>=10.13.0'} + hasBin: true + dev: true + + /pretty-bytes@5.6.0: + resolution: {integrity: sha512-FFw039TmrBqFK8ma/7OL3sDz/VytdtJr044/QUJtH0wK9lb9jLq9tJyIxUwtQJHwar2BqtiA4iCWSwo9JLkzFg==} + engines: {node: '>=6'} + dev: true + + /pretty-bytes@6.1.0: + resolution: {integrity: sha512-Rk753HI8f4uivXi4ZCIYdhmG1V+WKzvRMg/X+M42a6t7D07RcmopXJMDNk6N++7Bl75URRGsb40ruvg7Hcp2wQ==} + engines: {node: ^14.13.1 || >=16.0.0} + dev: true + + /punycode@2.3.0: + resolution: {integrity: sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA==} + engines: {node: '>=6'} + dev: true + + /queue-microtask@1.2.3: + resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==} + dev: true + + /randombytes@2.1.0: + resolution: {integrity: sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==} + dependencies: + safe-buffer: 5.2.1 + dev: true + + /read-cache@1.0.0: + resolution: {integrity: sha512-Owdv/Ft7IjOgm/i0xvNDZ1LrRANRfew4b2prF3OWMQLxLfu3bS8FVhCsrSCMK4lR56Y9ya+AThoTpDCTxCmpRA==} + dependencies: + pify: 2.3.0 + dev: true + + /read-pkg@3.0.0: + resolution: {integrity: sha512-BLq/cCO9two+lBgiTYNqD6GdtK8s4NpaWrl6/rCO9w0TUS8oJl7cmToOZfRYllKTISY6nt1U7jQ53brmKqY6BA==} + engines: {node: '>=4'} + dependencies: + load-json-file: 4.0.0 + normalize-package-data: 2.5.0 + path-type: 3.0.0 + dev: true + + /readdirp@3.6.0: + resolution: {integrity: sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==} + engines: {node: '>=8.10.0'} + dependencies: + picomatch: 2.3.1 + dev: true + + /regenerate-unicode-properties@10.1.0: + resolution: {integrity: sha512-d1VudCLoIGitcU/hEg2QqvyGZQmdC0Lf8BqdOMXGFSvJP4bNV1+XqbPQeHHLD51Jh4QJJ225dlIFvY4Ly6MXmQ==} + engines: {node: '>=4'} + dependencies: + regenerate: 1.4.2 + dev: true + + /regenerate@1.4.2: + resolution: {integrity: sha512-zrceR/XhGYU/d/opr2EKO7aRHUeiBI8qjtfHqADTwZd6Szfy16la6kqD0MIUs5z5hx6AaKa+PixpPrR289+I0A==} + dev: true + + /regenerator-runtime@0.13.11: + resolution: {integrity: sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg==} + dev: true + + /regenerator-transform@0.15.1: + resolution: {integrity: sha512-knzmNAcuyxV+gQCufkYcvOqX/qIIfHLv0u5x79kRxuGojfYVky1f15TzZEu2Avte8QGepvUNTnLskf8E6X6Vyg==} + dependencies: + '@babel/runtime': 7.21.5 + dev: true + + /regexp.prototype.flags@1.5.0: + resolution: {integrity: sha512-0SutC3pNudRKgquxGoRGIz946MZVHqbNfPjBdxeOhBrdgDKlRoXmYLQN9xRbrR09ZXWeGAdPuif7egofn6v5LA==} + engines: {node: '>= 0.4'} + dependencies: + call-bind: 1.0.2 + define-properties: 1.2.0 + functions-have-names: 1.2.3 + dev: true + + /regexpu-core@5.3.2: + resolution: {integrity: sha512-RAM5FlZz+Lhmo7db9L298p2vHP5ZywrVXmVXpmAD9GuL5MPH6t9ROw1iA/wfHkQ76Qe7AaPF0nGuim96/IrQMQ==} + engines: {node: '>=4'} + dependencies: + '@babel/regjsgen': 0.8.0 + regenerate: 1.4.2 + regenerate-unicode-properties: 10.1.0 + regjsparser: 0.9.1 + unicode-match-property-ecmascript: 2.0.0 + unicode-match-property-value-ecmascript: 2.1.0 + dev: true + + /regjsparser@0.9.1: + resolution: {integrity: sha512-dQUtn90WanSNl+7mQKcXAgZxvUe7Z0SqXlgzv0za4LwiUhyzBC58yQO3liFoUgu8GiJVInAhJjkj1N0EtQ5nkQ==} + hasBin: true + dependencies: + jsesc: 0.5.0 + dev: true + + /require-from-string@2.0.2: + resolution: {integrity: sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==} + engines: {node: '>=0.10.0'} + dev: true + + /resolve-from@4.0.0: + resolution: {integrity: sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==} + engines: {node: '>=4'} + dev: true + + /resolve@1.22.2: + resolution: {integrity: sha512-Sb+mjNHOULsBv818T40qSPeRiuWLyaGMa5ewydRLFimneixmVy2zdivRl+AF6jaYPC8ERxGDmFSiqui6SfPd+g==} + hasBin: true + dependencies: + is-core-module: 2.12.0 + path-parse: 1.0.7 + supports-preserve-symlinks-flag: 1.0.0 + dev: true + + /reusify@1.0.4: + resolution: {integrity: sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==} + engines: {iojs: '>=1.0.0', node: '>=0.10.0'} + dev: true + + /rimraf@3.0.2: + resolution: {integrity: sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==} + hasBin: true + dependencies: + glob: 7.2.3 + dev: true + + /rollup-plugin-terser@7.0.2(rollup@2.79.1): + resolution: {integrity: sha512-w3iIaU4OxcF52UUXiZNsNeuXIMDvFrr+ZXK6bFZ0Q60qyVfq4uLptoS4bbq3paG3x216eQllFZX7zt6TIImguQ==} + deprecated: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-terser + peerDependencies: + rollup: ^2.0.0 + dependencies: + '@babel/code-frame': 7.21.4 + jest-worker: 26.6.2 + rollup: 2.79.1 + serialize-javascript: 4.0.0 + terser: 5.17.3 + dev: true + + /rollup@2.79.1: + resolution: {integrity: sha512-uKxbd0IhMZOhjAiD5oAFp7BqvkA4Dv47qpOCtaNvng4HBwdbWtdOh8f5nZNuk2rp51PMGk3bzfWu5oayNEuYnw==} + engines: {node: '>=10.0.0'} + hasBin: true + optionalDependencies: + fsevents: 2.3.2 + dev: true + + /rollup@3.21.7: + resolution: {integrity: sha512-KXPaEuR8FfUoK2uHwNjxTmJ18ApyvD6zJpYv9FOJSqLStmt6xOY84l1IjK2dSolQmoXknrhEFRaPRgOPdqCT5w==} + engines: {node: '>=14.18.0', npm: '>=8.0.0'} + hasBin: true + optionalDependencies: + fsevents: 2.3.2 + dev: true + + /run-parallel@1.2.0: + resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==} + dependencies: + queue-microtask: 1.2.3 + dev: true + + /safe-buffer@5.2.1: + resolution: {integrity: sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==} + dev: true + + /safe-regex-test@1.0.0: + resolution: {integrity: sha512-JBUUzyOgEwXQY1NuPtvcj/qcBDbDmEvWufhlnXZIm75DEHp+afM1r1ujJpJsV/gSM4t59tpDyPi1sd6ZaPFfsA==} + dependencies: + call-bind: 1.0.2 + get-intrinsic: 1.2.0 + is-regex: 1.1.4 + dev: true + + /seemly@0.3.6: + resolution: {integrity: sha512-lEV5VB8BUKTo/AfktXJcy+JeXns26ylbMkIUco8CYREsQijuz4mrXres2Q+vMLdwkuLxJdIPQ8IlCIxLYm71Yw==} + dev: true + + /semver@5.7.1: + resolution: {integrity: sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==} + hasBin: true + dev: true + + /semver@6.3.0: + resolution: {integrity: sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==} + hasBin: true + dev: true + + /semver@7.5.1: + resolution: {integrity: sha512-Wvss5ivl8TMRZXXESstBA4uR5iXgEN/VC5/sOcuXdVLzcdkz4HWetIoRfG5gb5X+ij/G9rw9YoGn3QoQ8OCSpw==} + engines: {node: '>=10'} + hasBin: true + dependencies: + lru-cache: 6.0.0 + dev: true + + /serialize-javascript@4.0.0: + resolution: {integrity: sha512-GaNA54380uFefWghODBWEGisLZFj00nS5ACs6yHa9nLqlLpVLO8ChDGeKRjZnV4Nh4n0Qi7nhYZD/9fCPzEqkw==} + dependencies: + randombytes: 2.1.0 + dev: true + + /shebang-command@1.2.0: + resolution: {integrity: sha512-EV3L1+UQWGor21OmnvojK36mhg+TyIKDh3iFBKBohr5xeXIhNBcx8oWdgkTEEQ+BEFFYdLRuqMfd5L84N1V5Vg==} + engines: {node: '>=0.10.0'} + dependencies: + shebang-regex: 1.0.0 + dev: true + + /shebang-command@2.0.0: + resolution: {integrity: sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==} + engines: {node: '>=8'} + dependencies: + shebang-regex: 3.0.0 + dev: true + + /shebang-regex@1.0.0: + resolution: {integrity: sha512-wpoSFAxys6b2a2wHZ1XpDSgD7N9iVjg29Ph9uV/uaP9Ex/KXlkTZTeddxDPSYQpgvzKLGJke2UU0AzoGCjNIvQ==} + engines: {node: '>=0.10.0'} + dev: true + + /shebang-regex@3.0.0: + resolution: {integrity: sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==} + engines: {node: '>=8'} + dev: true + + /shell-quote@1.8.1: + resolution: {integrity: sha512-6j1W9l1iAs/4xYBI1SYOVZyFcCis9b4KCLQ8fgAGG07QvzaRLVVRQvAy85yNmmZSjYjg4MWh4gNvlPujU/5LpA==} + dev: true + + /side-channel@1.0.4: + resolution: {integrity: sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==} + dependencies: + call-bind: 1.0.2 + get-intrinsic: 1.2.0 + object-inspect: 1.12.3 + dev: true + + /slash@3.0.0: + resolution: {integrity: sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==} + engines: {node: '>=8'} + dev: true + + /source-map-js@1.0.2: + resolution: {integrity: sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==} + engines: {node: '>=0.10.0'} + + /source-map-support@0.5.21: + resolution: {integrity: sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==} + dependencies: + buffer-from: 1.1.2 + source-map: 0.6.1 + dev: true + + /source-map@0.6.1: + resolution: {integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==} + engines: {node: '>=0.10.0'} + dev: true + + /source-map@0.8.0-beta.0: + resolution: {integrity: sha512-2ymg6oRBpebeZi9UUNsgQ89bhx01TcTkmNTGnNO88imTmbSgy4nfujrgVEFKWpMTEGA11EDkTt7mqObTPdigIA==} + engines: {node: '>= 8'} + dependencies: + whatwg-url: 7.1.0 + dev: true + + /sourcemap-codec@1.4.8: + resolution: {integrity: sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==} + deprecated: Please use @jridgewell/sourcemap-codec instead + dev: true + + /spdx-correct@3.2.0: + resolution: {integrity: sha512-kN9dJbvnySHULIluDHy32WHRUu3Og7B9sbY7tsFLctQkIqnMh3hErYgdMjTYuqmcXX+lK5T1lnUt3G7zNswmZA==} + dependencies: + spdx-expression-parse: 3.0.1 + spdx-license-ids: 3.0.13 + dev: true + + /spdx-exceptions@2.3.0: + resolution: {integrity: sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==} + dev: true + + /spdx-expression-parse@3.0.1: + resolution: {integrity: sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==} + dependencies: + spdx-exceptions: 2.3.0 + spdx-license-ids: 3.0.13 + dev: true + + /spdx-license-ids@3.0.13: + resolution: {integrity: sha512-XkD+zwiqXHikFZm4AX/7JSCXA98U5Db4AFd5XUg/+9UNtnH75+Z9KxtpYiJZx36mUDVOwH83pl7yvCer6ewM3w==} + dev: true + + /string.prototype.matchall@4.0.8: + resolution: {integrity: sha512-6zOCOcJ+RJAQshcTvXPHoxoQGONa3e/Lqx90wUA+wEzX78sg5Bo+1tQo4N0pohS0erG9qtCqJDjNCQBjeWVxyg==} + dependencies: + call-bind: 1.0.2 + define-properties: 1.2.0 + es-abstract: 1.21.2 + get-intrinsic: 1.2.0 + has-symbols: 1.0.3 + internal-slot: 1.0.5 + regexp.prototype.flags: 1.5.0 + side-channel: 1.0.4 + dev: true + + /string.prototype.padend@3.1.4: + resolution: {integrity: sha512-67otBXoksdjsnXXRUq+KMVTdlVRZ2af422Y0aTyTjVaoQkGr3mxl2Bc5emi7dOQ3OGVVQQskmLEWwFXwommpNw==} + engines: {node: '>= 0.4'} + dependencies: + call-bind: 1.0.2 + define-properties: 1.2.0 + es-abstract: 1.21.2 + dev: true + + /string.prototype.trim@1.2.7: + resolution: {integrity: sha512-p6TmeT1T3411M8Cgg9wBTMRtY2q9+PNy9EV1i2lIXUN/btt763oIfxwN3RR8VU6wHX8j/1CFy0L+YuThm6bgOg==} + engines: {node: '>= 0.4'} + dependencies: + call-bind: 1.0.2 + define-properties: 1.2.0 + es-abstract: 1.21.2 + dev: true + + /string.prototype.trimend@1.0.6: + resolution: {integrity: sha512-JySq+4mrPf9EsDBEDYMOb/lM7XQLulwg5R/m1r0PXEFqrV0qHvl58sdTilSXtKOflCsK2E8jxf+GKC0T07RWwQ==} + dependencies: + call-bind: 1.0.2 + define-properties: 1.2.0 + es-abstract: 1.21.2 + dev: true + + /string.prototype.trimstart@1.0.6: + resolution: {integrity: sha512-omqjMDaY92pbn5HOX7f9IccLA+U1tA9GvtU4JrodiXFfYB7jPzzHpRzpglLAjtUV6bB557zwClJezTqnAiYnQA==} + dependencies: + call-bind: 1.0.2 + define-properties: 1.2.0 + es-abstract: 1.21.2 + dev: true + + /stringify-object@3.3.0: + resolution: {integrity: sha512-rHqiFh1elqCQ9WPLIC8I0Q/g/wj5J1eMkyoiD6eoQApWHP0FtlK7rqnhmabL5VUY9JQCcqwwvlOaSuutekgyrw==} + engines: {node: '>=4'} + dependencies: + get-own-enumerable-property-symbols: 3.0.2 + is-obj: 1.0.1 + is-regexp: 1.0.0 + dev: true + + /strip-ansi@6.0.1: + resolution: {integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==} + engines: {node: '>=8'} + dependencies: + ansi-regex: 5.0.1 + dev: true + + /strip-bom@3.0.0: + resolution: {integrity: sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==} + engines: {node: '>=4'} + dev: true + + /strip-comments@2.0.1: + resolution: {integrity: sha512-ZprKx+bBLXv067WTCALv8SSz5l2+XhpYCsVtSqlMnkAXMWDq+/ekVbl1ghqP9rUHTzv6sm/DwCOiYutU/yp1fw==} + engines: {node: '>=10'} + dev: true + + /strip-json-comments@3.1.1: + resolution: {integrity: sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==} + engines: {node: '>=8'} + dev: true + + /sucrase@3.32.0: + resolution: {integrity: sha512-ydQOU34rpSyj2TGyz4D2p8rbktIOZ8QY9s+DGLvFU1i5pWJE8vkpruCjGCMHsdXwnD7JDcS+noSwM/a7zyNFDQ==} + engines: {node: '>=8'} + hasBin: true + dependencies: + '@jridgewell/gen-mapping': 0.3.3 + commander: 4.1.1 + glob: 7.1.6 + lines-and-columns: 1.2.4 + mz: 2.7.0 + pirates: 4.0.5 + ts-interface-checker: 0.1.13 + dev: true + + /supports-color@5.5.0: + resolution: {integrity: sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==} + engines: {node: '>=4'} + dependencies: + has-flag: 3.0.0 + dev: true + + /supports-color@7.2.0: + resolution: {integrity: sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==} + engines: {node: '>=8'} + dependencies: + has-flag: 4.0.0 + dev: true + + /supports-preserve-symlinks-flag@1.0.0: + resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==} + engines: {node: '>= 0.4'} + dev: true + + /tailwindcss@3.3.2: + resolution: {integrity: sha512-9jPkMiIBXvPc2KywkraqsUfbfj+dHDb+JPWtSJa9MLFdrPyazI7q6WX2sUrm7R9eVR7qqv3Pas7EvQFzxKnI6w==} + engines: {node: '>=14.0.0'} + hasBin: true + dependencies: + '@alloc/quick-lru': 5.2.0 + arg: 5.0.2 + chokidar: 3.5.3 + didyoumean: 1.2.2 + dlv: 1.1.3 + fast-glob: 3.2.12 + glob-parent: 6.0.2 + is-glob: 4.0.3 + jiti: 1.18.2 + lilconfig: 2.1.0 + micromatch: 4.0.5 + normalize-path: 3.0.0 + object-hash: 3.0.0 + picocolors: 1.0.0 + postcss: 8.4.23 + postcss-import: 15.1.0(postcss@8.4.23) + postcss-js: 4.0.1(postcss@8.4.23) + postcss-load-config: 4.0.1(postcss@8.4.23) + postcss-nested: 6.0.1(postcss@8.4.23) + postcss-selector-parser: 6.0.12 + postcss-value-parser: 4.2.0 + resolve: 1.22.2 + sucrase: 3.32.0 + transitivePeerDependencies: + - ts-node + dev: true + + /temp-dir@2.0.0: + resolution: {integrity: sha512-aoBAniQmmwtcKp/7BzsH8Cxzv8OL736p7v1ihGb5e9DJ9kTwGWHrQrVB5+lfVDzfGrdRzXch+ig7LHaY1JTOrg==} + engines: {node: '>=8'} + dev: true + + /tempy@0.6.0: + resolution: {integrity: sha512-G13vtMYPT/J8A4X2SjdtBTphZlrp1gKv6hZiOjw14RCWg6GbHuQBGtjlx75xLbYV/wEc0D7G5K4rxKP/cXk8Bw==} + engines: {node: '>=10'} + dependencies: + is-stream: 2.0.1 + temp-dir: 2.0.0 + type-fest: 0.16.0 + unique-string: 2.0.0 + dev: true + + /terser@5.17.3: + resolution: {integrity: sha512-AudpAZKmZHkG9jueayypz4duuCFJMMNGRMwaPvQKWfxKedh8Z2x3OCoDqIIi1xx5+iwx1u6Au8XQcc9Lke65Yg==} + engines: {node: '>=10'} + hasBin: true + dependencies: + '@jridgewell/source-map': 0.3.3 + acorn: 8.8.2 + commander: 2.20.3 + source-map-support: 0.5.21 + dev: true + + /text-table@0.2.0: + resolution: {integrity: sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==} + dev: true + + /thenify-all@1.6.0: + resolution: {integrity: sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==} + engines: {node: '>=0.8'} + dependencies: + thenify: 3.3.1 + dev: true + + /thenify@3.3.1: + resolution: {integrity: sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==} + dependencies: + any-promise: 1.3.0 + dev: true + + /to-fast-properties@2.0.0: + resolution: {integrity: sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==} + engines: {node: '>=4'} + + /to-regex-range@5.0.1: + resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==} + engines: {node: '>=8.0'} + dependencies: + is-number: 7.0.0 + dev: true + + /tr46@1.0.1: + resolution: {integrity: sha512-dTpowEjclQ7Kgx5SdBkqRzVhERQXov8/l9Ft9dVM9fmg0W0KQSVaXX9T4i6twCPNtYiZM53lpSSUAwJbFPOHxA==} + dependencies: + punycode: 2.3.0 + dev: true + + /treemate@0.3.11: + resolution: {integrity: sha512-M8RGFoKtZ8dF+iwJfAJTOH/SM4KluKOKRJpjCMhI8bG3qB74zrFoArKZ62ll0Fr3mqkMJiQOmWYkdYgDeITYQg==} + dev: true + + /ts-interface-checker@0.1.13: + resolution: {integrity: sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==} + dev: true + + /tslib@1.14.1: + resolution: {integrity: sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==} + dev: true + + /tsutils@3.21.0(typescript@5.0.4): + resolution: {integrity: sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==} + engines: {node: '>= 6'} + peerDependencies: + typescript: '>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta' + dependencies: + tslib: 1.14.1 + typescript: 5.0.4 + dev: true + + /type-check@0.4.0: + resolution: {integrity: sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==} + engines: {node: '>= 0.8.0'} + dependencies: + prelude-ls: 1.2.1 + dev: true + + /type-fest@0.16.0: + resolution: {integrity: sha512-eaBzG6MxNzEn9kiwvtre90cXaNLkmadMWa1zQMs3XORCXNbsH/OewwbxC5ia9dCxIxnTAsSxXJaa/p5y8DlvJg==} + engines: {node: '>=10'} + dev: true + + /type-fest@0.20.2: + resolution: {integrity: sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==} + engines: {node: '>=10'} + dev: true + + /typed-array-length@1.0.4: + resolution: {integrity: sha512-KjZypGq+I/H7HI5HlOoGHkWUUGq+Q0TPhQurLbyrVrvnKTBgzLhIJ7j6J/XTQOi0d1RjyZ0wdas8bKs2p0x3Ng==} + dependencies: + call-bind: 1.0.2 + for-each: 0.3.3 + is-typed-array: 1.1.10 + dev: true + + /typescript@5.0.4: + resolution: {integrity: sha512-cW9T5W9xY37cc+jfEnaUvX91foxtHkza3Nw3wkoF4sSlKn0MONdkdEndig/qPBWXNkmplh3NzayQzCiHM4/hqw==} + engines: {node: '>=12.20'} + hasBin: true + + /unbox-primitive@1.0.2: + resolution: {integrity: sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==} + dependencies: + call-bind: 1.0.2 + has-bigints: 1.0.2 + has-symbols: 1.0.3 + which-boxed-primitive: 1.0.2 + dev: true + + /unicode-canonical-property-names-ecmascript@2.0.0: + resolution: {integrity: sha512-yY5PpDlfVIU5+y/BSCxAJRBIS1Zc2dDG3Ujq+sR0U+JjUevW2JhocOF+soROYDSaAezOzOKuyyixhD6mBknSmQ==} + engines: {node: '>=4'} + dev: true + + /unicode-match-property-ecmascript@2.0.0: + resolution: {integrity: sha512-5kaZCrbp5mmbz5ulBkDkbY0SsPOjKqVS35VpL9ulMPfSl0J0Xsm+9Evphv9CoIZFwre7aJoa94AY6seMKGVN5Q==} + engines: {node: '>=4'} + dependencies: + unicode-canonical-property-names-ecmascript: 2.0.0 + unicode-property-aliases-ecmascript: 2.1.0 + dev: true + + /unicode-match-property-value-ecmascript@2.1.0: + resolution: {integrity: sha512-qxkjQt6qjg/mYscYMC0XKRn3Rh0wFPlfxB0xkt9CfyTvpX1Ra0+rAmdX2QyAobptSEvuy4RtpPRui6XkV+8wjA==} + engines: {node: '>=4'} + dev: true + + /unicode-property-aliases-ecmascript@2.1.0: + resolution: {integrity: sha512-6t3foTQI9qne+OZoVQB/8x8rk2k1eVy1gRXhV3oFQ5T6R1dqQ1xtin3XqSlx3+ATBkliTaR/hHyJBm+LVPNM8w==} + engines: {node: '>=4'} + dev: true + + /unique-string@2.0.0: + resolution: {integrity: sha512-uNaeirEPvpZWSgzwsPGtU2zVSTrn/8L5q/IexZmH0eH6SA73CmAA5U4GwORTxQAZs95TAXLNqeLoPPNO5gZfWg==} + engines: {node: '>=8'} + dependencies: + crypto-random-string: 2.0.0 + dev: true + + /universalify@2.0.0: + resolution: {integrity: sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==} + engines: {node: '>= 10.0.0'} + dev: true + + /upath@1.2.0: + resolution: {integrity: sha512-aZwGpamFO61g3OlfT7OQCHqhGnW43ieH9WZeP7QxN/G/jS4jfqUkZxoryvJgVPEcrl5NL/ggHsSmLMHuH64Lhg==} + engines: {node: '>=4'} + dev: true + + /update-browserslist-db@1.0.11(browserslist@4.21.5): + resolution: {integrity: sha512-dCwEFf0/oT85M1fHBg4F0jtLwJrutGoHSQXCh7u4o2t1drG+c0a9Flnqww6XUKSfQMPpJBRjU8d4RXB09qtvaA==} + hasBin: true + peerDependencies: + browserslist: '>= 4.21.0' + dependencies: + browserslist: 4.21.5 + escalade: 3.1.1 + picocolors: 1.0.0 + dev: true + + /uri-js@4.4.1: + resolution: {integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==} + dependencies: + punycode: 2.3.0 + dev: true + + /util-deprecate@1.0.2: + resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} + dev: true + + /validate-npm-package-license@3.0.4: + resolution: {integrity: sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==} + dependencies: + spdx-correct: 3.2.0 + spdx-expression-parse: 3.0.1 + dev: true + + /vdirs@0.1.8(vue@3.3.2): + resolution: {integrity: sha512-H9V1zGRLQZg9b+GdMk8MXDN2Lva0zx72MPahDKc30v+DtwKjfyOSXWRIX4t2mhDubM1H09gPhWeth/BJWPHGUw==} + peerDependencies: + vue: ^3.0.11 + dependencies: + evtd: 0.2.4 + vue: 3.3.2 + dev: true + + /vite-plugin-pwa@0.14.7(vite@4.3.5)(workbox-build@6.5.4)(workbox-window@6.5.4): + resolution: {integrity: sha512-dNJaf0fYOWncmjxv9HiSa2xrSjipjff7IkYE5oIUJ2x5HKu3cXgA8LRgzOwTc5MhwyFYRSU0xyN0Phbx3NsQYw==} + peerDependencies: + vite: ^3.1.0 || ^4.0.0 + workbox-build: ^6.5.4 + workbox-window: ^6.5.4 + dependencies: + '@rollup/plugin-replace': 5.0.2(rollup@3.21.7) + debug: 4.3.4 + fast-glob: 3.2.12 + pretty-bytes: 6.1.0 + rollup: 3.21.7 + vite: 4.3.5(@types/node@18.16.9) + workbox-build: 6.5.4 + workbox-window: 6.5.4 + transitivePeerDependencies: + - supports-color + dev: true + + /vite@4.3.5(@types/node@18.16.9): + resolution: {integrity: sha512-0gEnL9wiRFxgz40o/i/eTBwm+NEbpUeTWhzKrZDSdKm6nplj+z4lKz8ANDgildxHm47Vg8EUia0aicKbawUVVA==} + engines: {node: ^14.18.0 || >=16.0.0} + hasBin: true + peerDependencies: + '@types/node': '>= 14' + less: '*' + sass: '*' + stylus: '*' + sugarss: '*' + terser: ^5.4.0 + peerDependenciesMeta: + '@types/node': + optional: true + less: + optional: true + sass: + optional: true + stylus: + optional: true + sugarss: + optional: true + terser: + optional: true + dependencies: + '@types/node': 18.16.9 + esbuild: 0.17.19 + postcss: 8.4.23 + rollup: 3.21.7 + optionalDependencies: + fsevents: 2.3.2 + dev: true + + /vooks@0.2.12(vue@3.3.2): + resolution: {integrity: sha512-iox0I3RZzxtKlcgYaStQYKEzWWGAduMmq+jS7OrNdQo1FgGfPMubGL3uGHOU9n97NIvfFDBGnpSvkWyb/NSn/Q==} + peerDependencies: + vue: ^3.0.0 + dependencies: + evtd: 0.2.4 + vue: 3.3.2 + dev: true + + /vue-demi@0.14.1(vue@3.3.2): + resolution: {integrity: sha512-rt+yuCtXvscYot9SQQj3WKZJVSriPNqVkpVBNEHPzSgBv7QIYzsS410VqVgvx8f9AAPgjg+XPKvmV3vOqqkJQQ==} + engines: {node: '>=12'} + hasBin: true + requiresBuild: true + peerDependencies: + '@vue/composition-api': ^1.0.0-rc.1 + vue: ^3.0.0-0 || ^2.6.0 + peerDependenciesMeta: + '@vue/composition-api': + optional: true + dependencies: + vue: 3.3.2 + dev: false + + /vue-eslint-parser@9.2.1(eslint@8.40.0): + resolution: {integrity: sha512-tPOex4n6jit4E7h68auOEbDMwE58XiP4dylfaVTCOVCouR45g+QFDBjgIdEU52EXJxKyjgh91dLfN2rxUcV0bQ==} + engines: {node: ^14.17.0 || >=16.0.0} + peerDependencies: + eslint: '>=6.0.0' + dependencies: + debug: 4.3.4 + eslint: 8.40.0 + eslint-scope: 7.2.0 + eslint-visitor-keys: 3.4.1 + espree: 9.5.2 + esquery: 1.5.0 + lodash: 4.17.21 + semver: 7.5.1 + transitivePeerDependencies: + - supports-color + dev: true + + /vue-router@4.2.0(vue@3.3.2): + resolution: {integrity: sha512-c+usESa6ZoWsm4PPdzRSyenp5A4dsUtnDJnrI03fY1IpIihA9TK3x5ffgkFDpjhLJZewsXoKURapNLFdZjuqTg==} + peerDependencies: + vue: ^3.2.0 + dependencies: + '@vue/devtools-api': 6.5.0 + vue: 3.3.2 + dev: false + + /vue-template-compiler@2.7.14: + resolution: {integrity: sha512-zyA5Y3ArvVG0NacJDkkzJuPQDF8RFeRlzV2vLeSnhSpieO6LK2OVbdLPi5MPPs09Ii+gMO8nY4S3iKQxBxDmWQ==} + dependencies: + de-indent: 1.0.2 + he: 1.2.0 + dev: true + + /vue-tsc@1.6.5(typescript@5.0.4): + resolution: {integrity: sha512-Wtw3J7CC+JM2OR56huRd5iKlvFWpvDiU+fO1+rqyu4V2nMTotShz4zbOZpW5g9fUOcjnyZYfBo5q5q+D/q27JA==} + hasBin: true + peerDependencies: + typescript: '*' + dependencies: + '@volar/vue-language-core': 1.6.5 + '@volar/vue-typescript': 1.6.5(typescript@5.0.4) + semver: 7.5.1 + typescript: 5.0.4 + dev: true + + /vue3-virtual-scroll-list@0.2.1(vue@3.3.2): + resolution: {integrity: sha512-G4KxITUOy9D4ro15zOp40D6ogmMefzjIyMsBKqN3xGbV1P6dlKYMx+BBXCKm3Nr/6iipcUKM272Sh2AJRyWMyQ==} + peerDependencies: + vue: '>=3.0.0' + dependencies: + vue: 3.3.2 + dev: false + + /vue@3.3.2: + resolution: {integrity: sha512-98hJcAhyDwZoOo2flAQBSPVYG/o0HA9ivIy2ktHshjE+6/q8IMQ+kvDKQzOZTFPxvnNMcGM+zS2A00xeZMA7tA==} + dependencies: + '@vue/compiler-dom': 3.3.2 + '@vue/compiler-sfc': 3.3.2 + '@vue/runtime-dom': 3.3.2 + '@vue/server-renderer': 3.3.2(vue@3.3.2) + '@vue/shared': 3.3.2 + + /vueuc@0.4.51(vue@3.3.2): + resolution: {integrity: sha512-pLiMChM4f+W8czlIClGvGBYo656lc2Y0/mXFSCydcSmnCR1izlKPGMgiYBGjbY9FDkFG8a2HEVz7t0DNzBWbDw==} + peerDependencies: + vue: ^3.0.11 + dependencies: + '@css-render/vue3-ssr': 0.15.12(vue@3.3.2) + '@juggle/resize-observer': 3.4.0 + css-render: 0.15.12 + evtd: 0.2.4 + seemly: 0.3.6 + vdirs: 0.1.8(vue@3.3.2) + vooks: 0.2.12(vue@3.3.2) + vue: 3.3.2 + dev: true + + /webidl-conversions@4.0.2: + resolution: {integrity: sha512-YQ+BmxuTgd6UXZW3+ICGfyqRyHXVlD5GtQr5+qjiNW7bF0cqrzX500HVXPBOvgXb5YnzDd+h0zqyv61KUD7+Sg==} + dev: true + + /whatwg-url@7.1.0: + resolution: {integrity: sha512-WUu7Rg1DroM7oQvGWfOiAK21n74Gg+T4elXEQYkOhtyLeWiJFoOGLXPKI/9gzIie9CtwVLm8wtw6YJdKyxSjeg==} + dependencies: + lodash.sortby: 4.7.0 + tr46: 1.0.1 + webidl-conversions: 4.0.2 + dev: true + + /which-boxed-primitive@1.0.2: + resolution: {integrity: sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==} + dependencies: + is-bigint: 1.0.4 + is-boolean-object: 1.1.2 + is-number-object: 1.0.7 + is-string: 1.0.7 + is-symbol: 1.0.4 + dev: true + + /which-typed-array@1.1.9: + resolution: {integrity: sha512-w9c4xkx6mPidwp7180ckYWfMmvxpjlZuIudNtDf4N/tTAUB8VJbX25qZoAsrtGuYNnGw3pa0AXgbGKRB8/EceA==} + engines: {node: '>= 0.4'} + dependencies: + available-typed-arrays: 1.0.5 + call-bind: 1.0.2 + for-each: 0.3.3 + gopd: 1.0.1 + has-tostringtag: 1.0.0 + is-typed-array: 1.1.10 + dev: true + + /which@1.3.1: + resolution: {integrity: sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==} + hasBin: true + dependencies: + isexe: 2.0.0 + dev: true + + /which@2.0.2: + resolution: {integrity: sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==} + engines: {node: '>= 8'} + hasBin: true + dependencies: + isexe: 2.0.0 + dev: true + + /word-wrap@1.2.3: + resolution: {integrity: sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==} + engines: {node: '>=0.10.0'} + dev: true + + /workbox-background-sync@6.5.4: + resolution: {integrity: sha512-0r4INQZMyPky/lj4Ou98qxcThrETucOde+7mRGJl13MPJugQNKeZQOdIJe/1AchOP23cTqHcN/YVpD6r8E6I8g==} + dependencies: + idb: 7.1.1 + workbox-core: 6.5.4 + dev: true + + /workbox-broadcast-update@6.5.4: + resolution: {integrity: sha512-I/lBERoH1u3zyBosnpPEtcAVe5lwykx9Yg1k6f8/BGEPGaMMgZrwVrqL1uA9QZ1NGGFoyE6t9i7lBjOlDhFEEw==} + dependencies: + workbox-core: 6.5.4 + dev: true + + /workbox-build@6.5.4: + resolution: {integrity: sha512-kgRevLXEYvUW9WS4XoziYqZ8Q9j/2ziJYEtTrjdz5/L/cTUa2XfyMP2i7c3p34lgqJ03+mTiz13SdFef2POwbA==} + engines: {node: '>=10.0.0'} + dependencies: + '@apideck/better-ajv-errors': 0.3.6(ajv@8.12.0) + '@babel/core': 7.21.8 + '@babel/preset-env': 7.21.5(@babel/core@7.21.8) + '@babel/runtime': 7.21.5 + '@rollup/plugin-babel': 5.3.1(@babel/core@7.21.8)(rollup@2.79.1) + '@rollup/plugin-node-resolve': 11.2.1(rollup@2.79.1) + '@rollup/plugin-replace': 2.4.2(rollup@2.79.1) + '@surma/rollup-plugin-off-main-thread': 2.2.3 + ajv: 8.12.0 + common-tags: 1.8.2 + fast-json-stable-stringify: 2.1.0 + fs-extra: 9.1.0 + glob: 7.2.3 + lodash: 4.17.21 + pretty-bytes: 5.6.0 + rollup: 2.79.1 + rollup-plugin-terser: 7.0.2(rollup@2.79.1) + source-map: 0.8.0-beta.0 + stringify-object: 3.3.0 + strip-comments: 2.0.1 + tempy: 0.6.0 + upath: 1.2.0 + workbox-background-sync: 6.5.4 + workbox-broadcast-update: 6.5.4 + workbox-cacheable-response: 6.5.4 + workbox-core: 6.5.4 + workbox-expiration: 6.5.4 + workbox-google-analytics: 6.5.4 + workbox-navigation-preload: 6.5.4 + workbox-precaching: 6.5.4 + workbox-range-requests: 6.5.4 + workbox-recipes: 6.5.4 + workbox-routing: 6.5.4 + workbox-strategies: 6.5.4 + workbox-streams: 6.5.4 + workbox-sw: 6.5.4 + workbox-window: 6.5.4 + transitivePeerDependencies: + - '@types/babel__core' + - supports-color + dev: true + + /workbox-cacheable-response@6.5.4: + resolution: {integrity: sha512-DCR9uD0Fqj8oB2TSWQEm1hbFs/85hXXoayVwFKLVuIuxwJaihBsLsp4y7J9bvZbqtPJ1KlCkmYVGQKrBU4KAug==} + dependencies: + workbox-core: 6.5.4 + dev: true + + /workbox-core@6.5.4: + resolution: {integrity: sha512-OXYb+m9wZm8GrORlV2vBbE5EC1FKu71GGp0H4rjmxmF4/HLbMCoTFws87M3dFwgpmg0v00K++PImpNQ6J5NQ6Q==} + dev: true + + /workbox-expiration@6.5.4: + resolution: {integrity: sha512-jUP5qPOpH1nXtjGGh1fRBa1wJL2QlIb5mGpct3NzepjGG2uFFBn4iiEBiI9GUmfAFR2ApuRhDydjcRmYXddiEQ==} + dependencies: + idb: 7.1.1 + workbox-core: 6.5.4 + dev: true + + /workbox-google-analytics@6.5.4: + resolution: {integrity: sha512-8AU1WuaXsD49249Wq0B2zn4a/vvFfHkpcFfqAFHNHwln3jK9QUYmzdkKXGIZl9wyKNP+RRX30vcgcyWMcZ9VAg==} + dependencies: + workbox-background-sync: 6.5.4 + workbox-core: 6.5.4 + workbox-routing: 6.5.4 + workbox-strategies: 6.5.4 + dev: true + + /workbox-navigation-preload@6.5.4: + resolution: {integrity: sha512-IIwf80eO3cr8h6XSQJF+Hxj26rg2RPFVUmJLUlM0+A2GzB4HFbQyKkrgD5y2d84g2IbJzP4B4j5dPBRzamHrng==} + dependencies: + workbox-core: 6.5.4 + dev: true + + /workbox-precaching@6.5.4: + resolution: {integrity: sha512-hSMezMsW6btKnxHB4bFy2Qfwey/8SYdGWvVIKFaUm8vJ4E53JAY+U2JwLTRD8wbLWoP6OVUdFlXsTdKu9yoLTg==} + dependencies: + workbox-core: 6.5.4 + workbox-routing: 6.5.4 + workbox-strategies: 6.5.4 + dev: true + + /workbox-range-requests@6.5.4: + resolution: {integrity: sha512-Je2qR1NXCFC8xVJ/Lux6saH6IrQGhMpDrPXWZWWS8n/RD+WZfKa6dSZwU+/QksfEadJEr/NfY+aP/CXFFK5JFg==} + dependencies: + workbox-core: 6.5.4 + dev: true + + /workbox-recipes@6.5.4: + resolution: {integrity: sha512-QZNO8Ez708NNwzLNEXTG4QYSKQ1ochzEtRLGaq+mr2PyoEIC1xFW7MrWxrONUxBFOByksds9Z4//lKAX8tHyUA==} + dependencies: + workbox-cacheable-response: 6.5.4 + workbox-core: 6.5.4 + workbox-expiration: 6.5.4 + workbox-precaching: 6.5.4 + workbox-routing: 6.5.4 + workbox-strategies: 6.5.4 + dev: true + + /workbox-routing@6.5.4: + resolution: {integrity: sha512-apQswLsbrrOsBUWtr9Lf80F+P1sHnQdYodRo32SjiByYi36IDyL2r7BH1lJtFX8fwNHDa1QOVY74WKLLS6o5Pg==} + dependencies: + workbox-core: 6.5.4 + dev: true + + /workbox-strategies@6.5.4: + resolution: {integrity: sha512-DEtsxhx0LIYWkJBTQolRxG4EI0setTJkqR4m7r4YpBdxtWJH1Mbg01Cj8ZjNOO8etqfA3IZaOPHUxCs8cBsKLw==} + dependencies: + workbox-core: 6.5.4 + dev: true + + /workbox-streams@6.5.4: + resolution: {integrity: sha512-FXKVh87d2RFXkliAIheBojBELIPnWbQdyDvsH3t74Cwhg0fDheL1T8BqSM86hZvC0ZESLsznSYWw+Va+KVbUzg==} + dependencies: + workbox-core: 6.5.4 + workbox-routing: 6.5.4 + dev: true + + /workbox-sw@6.5.4: + resolution: {integrity: sha512-vo2RQo7DILVRoH5LjGqw3nphavEjK4Qk+FenXeUsknKn14eCNedHOXWbmnvP4ipKhlE35pvJ4yl4YYf6YsJArA==} + dev: true + + /workbox-window@6.5.4: + resolution: {integrity: sha512-HnLZJDwYBE+hpG25AQBO8RUWBJRaCsI9ksQJEp3aCOFCaG5kqaToAYXFRAHxzRluM2cQbGzdQF5rjKPWPA1fug==} + dependencies: + '@types/trusted-types': 2.0.3 + workbox-core: 6.5.4 + dev: true + + /wrappy@1.0.2: + resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==} + dev: true + + /xml-name-validator@4.0.0: + resolution: {integrity: sha512-ICP2e+jsHvAj2E2lIHxa5tjXRlKDJo4IdvPvCXbXQGdzSfmSpNVyIKMvoZHjDY9DP0zV17iI85o90vRFXNccRw==} + engines: {node: '>=12'} + dev: true + + /yallist@3.1.1: + resolution: {integrity: sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==} + dev: true + + /yallist@4.0.0: + resolution: {integrity: sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==} + dev: true + + /yaml@2.2.2: + resolution: {integrity: sha512-CBKFWExMn46Foo4cldiChEzn7S7SRV+wqiluAb6xmueD/fGyRHIhX8m14vVGgeFWjN540nKCNVj6P21eQjgTuA==} + engines: {node: '>= 14'} + dev: true + + /yocto-queue@0.1.0: + resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==} + engines: {node: '>=10'} + dev: true diff --git a/frontend/postcss.config.js b/frontend/postcss.config.js new file mode 100644 index 0000000000..33ad091d26 --- /dev/null +++ b/frontend/postcss.config.js @@ -0,0 +1,6 @@ +module.exports = { + plugins: { + tailwindcss: {}, + autoprefixer: {}, + }, +} diff --git a/frontend/public/compose.html b/frontend/public/compose.html new file mode 100644 index 0000000000..b53bb43a34 --- /dev/null +++ b/frontend/public/compose.html @@ -0,0 +1,2669 @@ + + + + + + BingAI - 撰写 + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
    +
  1. +
    + +
    +
    +
    +
    + + +
    +
    +
    +
    +
  2. +
  3. +
    +
  4. +
+
+ + +
+ + + + \ No newline at end of file diff --git a/frontend/public/favicon.ico b/frontend/public/favicon.ico new file mode 100644 index 0000000000..0de5147416 Binary files /dev/null and b/frontend/public/favicon.ico differ diff --git a/frontend/public/img/logo.svg b/frontend/public/img/logo.svg new file mode 100644 index 0000000000..d62662364f --- /dev/null +++ b/frontend/public/img/logo.svg @@ -0,0 +1,71 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/frontend/public/img/pwa/logo-192.png b/frontend/public/img/pwa/logo-192.png new file mode 100644 index 0000000000..9102eae93d Binary files /dev/null and b/frontend/public/img/pwa/logo-192.png differ diff --git a/frontend/public/img/pwa/logo-512.png b/frontend/public/img/pwa/logo-512.png new file mode 100644 index 0000000000..c8ea3b7f74 Binary files /dev/null and b/frontend/public/img/pwa/logo-512.png differ diff --git a/frontend/public/js/bing/chat/amd.js b/frontend/public/js/bing/chat/amd.js new file mode 100644 index 0000000000..c15dde7325 --- /dev/null +++ b/frontend/public/js/bing/chat/amd.js @@ -0,0 +1,2 @@ +/* eslint-disable */ +var amd,define,require;(function(n){function e(n,i,u){t[n]||(t[n]={dependencies:i,callback:u},r(n))}function r(n){if(n){if(n)return u(n)}else{if(!f){for(var r in t)u(r);f=!0}return i}}function u(n){var s,e;if(i[n])return i[n];if(t.hasOwnProperty(n)){var h=t[n],f=h.dependencies,l=h.callback,a=r,o={},c=[a,o];if(f.length<2)throw"invalid usage";else if(f.length>2)for(s=f.slice(2,f.length),e=0;e0)for(o=!1,f=0;f=0?encodeURIComponent(atob(decodeURIComponent(h[1]))):h[1])):f=encodeURIComponent(n[u]("href")),clc.furl&&!n[u]("data-private")?o+="&url="+f:clc.mfurl&&(o+="&abc="+f));r&&(o+="&source="+r);c="";clc.mc&&(c="&c="+ctcc++);l="&"+o+c;_w.si_sbwu(l)||_w[e]&&_w[e](l,n,i,s);break}if(t)break}}catch(v){_w.SharedLogHelper?SharedLogHelper.LogWarning("clickEX",null,v):(new Image).src=_G.lsUrl+'&Type=Event.ClientInst&DATA=[{"T":"CI.Warning","FID":"CI","Name":"JSWarning","Text":'+v.message+"}]"}return!0};_w.si_sbwu||(_w.si_sbwu=function(){return!1}),function(){_w._G&&(_G.si_ct_e="click")}();var wlc_d = 1500, wlc_t =63819372483;;var perf;(function(n){function f(n){return i.hasOwnProperty(n)?i[n]:n}function e(n){var t="S";return n==0?t="P":n==2&&(t="M"),t}function o(n){for(var c,i=[],t={},r,l=0;l").concat(i,"<\/TS><\/D><\/E>"),s="".concat(h,"<\/Events>").concat(i,"<\/STS><\/ClientInstRequest>"),u=!_w.navigator||!navigator[o];if(!u)try{navigator[o](e,s)}catch(c){u=!0}u&&(r=sj_gx(),r.open("POST",e,!0),r.setRequestHeader("Content-Type","text/xml"),r.send(s))}}(window.perf);var perf;(function(n){function a(){return c(Math.random()*1e4)}function o(){return y?c(f.now())+l:+new Date}function v(n,r,f){t.length===0&&i&&sb_st(u,1e3);t.push({k:n,v:r,t:f})}function p(n){return i||(r=n),!i}function w(n,t){t||(t=o());v(n,t,0)}function b(n,t){v(n,t,1)}function u(){var u,f;if(t.length){for(u=0;u=0){for(r in f)h=f[r],typeof h=="number"&&h>0&&r!=="navigationStart"&&r!==s&&u.mark(r,h);_G.FCT&&u.mark("FN",_G.FCT);_G.BCT&&u.mark("BN",_G.BCT)}u.record("nav",s in f?f[s]:performance[s].type)}e="connection";c="";_w.navigator&&navigator[e]&&(c=',"net":"'.concat(navigator[e].type,'"'),navigator[e].downlinkMax&&(c+=',"dlMax":"'.concat(navigator[e].downlinkMax,'"')));_G.PPImg=new Image;_G.PPImg.src=_G.lsUrl+'&Type=Event.CPT&DATA={"pp":{"S":"'+(t||"L")+'",'+o.join(",")+',"CT":'+(n-_G.ST)+',"IL":'+_d.images.length+"}"+(_G.C1?","+_G.C1:"")+c+"}"+(_G.P?"&P="+_G.P:"")+(_G.DA?"&DA="+_G.DA:"")+(_G.MN?"&MN="+_G.MN:"");_G.PPS=1;sb_st(function(){u&&u.flush();sj_evt.fire("onPP");sj_evt.fire(_w.p1)},1)}};_w.onbeforeunload=function(){si_PP(new Date,"A")};sj_evt.bind("ajax.requestSent",function(){window.perf&&perf.reset()});var sj_log=function(n,t,i){var r=new RegExp('"',"g");(new Image).src=_G.lsUrl+'&Type=Event.ClientInst&DATA=[{"T":"'+n+'","FID":"CI","Name":"'+t+'","Text":"'+escape(i.replace(r,""))+'"}]'};var BM=BM||{},adrule="."+_G.adc+" > ul";BM.rules={".b_scopebar":[0,80,0],".b_logo":[-1,-1,0],".b_searchboxForm":[100,19,0],"#id_h":[-1,-1,0],"#b_tween":[-1,-1,1],"#b_results":[100,-1,1],"#b_context":[710,-1,1],"#b_navheader":[-1,-1,0],"#bfb-answer":[-1,-1,1],".tab-menu > ul":[-1,-1,1],".b_footer":[0,-1,0],"#b_notificationContainer":[-1,-1,0],"#ajaxMaskLayer":[-1,-1,0],"img,div[data-src],.rms_img":[-1,-1,0],iframe:[-1,-1,0]};BM.rules[adrule]=[-1,-1,1];var BM=BM||{};(function(n){function u(n,u){n in t||(t[n]=[]);!u.compute||n in r||(r[n]=u.compute);!u.unload||n in i||(i[n]=u.unload);u.load&&u.load()}function f(n,i){t[n].push({t:s(),i:i})}function e(n){return n in i&&i[n](),n in t?t[n]:void 0}function o(){for(var n in r)r[n]()}function s(){return window.performance&&performance.now?Math.round(performance.now()):new Date-window.si_ST}var t={},i={},r={};n.wireup=u;n.enqueue=f;n.dequeue=e;n.trigger=o})(BM);(function(n){function i(){var i=document.documentElement,r=document.body,u="innerWidth"in window?window.innerWidth:i.clientWidth,f="innerHeight"in window?window.innerHeight:i.clientHeight,e=window.pageXOffset||i.scrollLeft,o=window.pageYOffset||i.scrollTop,s=document.visibilityState||"default";n.enqueue(t,{x:e,y:o,w:u,h:f,dw:r.clientWidth,dh:r.clientHeight,v:s})}var t="V";n.wireup(t,{load:null,compute:i,unload:null})})(BM);(function(n){function i(){var e,o,u,s,f,r;if(document.querySelector&&document.querySelectorAll){e=[];o=n.rules;for(u in o)for(s=o[u],u+=!s[2]?"":" >*",f=document.querySelectorAll(u),r=0;r 0 ? n.split('&') : [], + h = s.length, + i = null; + for (u = 0; u < h; u++) + (f = s[u]), (e = f.indexOf('=')), e > 0 && ((i = f.substr(0, e)), i.charAt(0) == '?' && (i = i.substr(1)), i && ((i = i.toLowerCase()), (r[i] = f.substr(e + 1)))); + return t && ((o = r.first), (r.first = null == o || o == '0' ? 1 : parseInt(o))), r; +} +function parseQueryParams() { + var n = ''; + return ( + (n = typeof Bing != 'undefined' && Bing.Url && Bing.Location ? Bing.Url.getQueryString(Bing.Location.get()) : _w.location.search.substring(1)), parseQueryParamsFromQuery(n) + ); +} +function convertQueryParamsToUrlStr(n, t) { + t === void 0 && (t = null); + var i = t ? t : _w.location.pathname.replace(/^\/+/, '/'); + return i + '?' + queryParamsToString(n); +} +function queryParamsToString(n) { + for (var e, o, r, u, s, f, t = [], i = 1; i < arguments.length; i++) t[i - 1] = arguments[i]; + if (((e = []), (u = t.length), u == 0)) for (s in n) n.hasOwnProperty(s) && (t.push(s), u++); + for (f = 0; f < u; f++) (o = t[f]), (r = n[o]), (r || r === 0) && e.push(o + '=' + r); + return e.join('&'); +} +function getCurrentQuery() { + if (!currentQuery) { + var n = parseQueryParams(); + currentQuery = n.q; + } + return currentQuery; +} +function extractDomainFromUrl(n, t, i) { + var r, u, f, e; + return typeof n != 'string' + ? null + : ((r = n), + (u = r.indexOf('://')), + u >= 0 && !t && ((r = r.substr(u + 3)), (u = -1)), + (u = u >= 0 ? u + 3 : 0), + (f = r.indexOf(':', u)), + f >= 0 && (r = r.substr(0, f)), + (f = r.indexOf('/', u)), + f >= 0 && (r = r.substr(0, f)), + (e = i ? r.indexOf('www.') : -1), + e >= 0 && (r = r.substr(u + 4)), + r); +} +function addCommonPersistedParams(n) { + var i = parseQueryParams(), + t = queryParamsToString( + i, + 'atlahostname', + 'cdghostname', + 'thhostname', + 'testhooks', + 'adlt', + 'akamaithumb', + 'safesearch', + 'perf', + 'mockimages', + 'mobile', + 'anid', + 'isuserauth', + 'uncrunched', + 'clientid', + 'currentdate', + 'iss' + ), + r = n.indexOf('?') === -1 ? '?' : '&'; + return (t = t.length > 0 ? r + t : ''), n + t; +} +var currentQuery = null; +var fab_config = { fabStyle: 1, fabSbAction: 'FocusSearchBox', fabSbActionHover: 'None', fabSbActionData: 'None', fabTooltip: '', micFabAlwaysVisible: false, fabClickNoAS: true }; +sj_be( + _w, + 'click', + function () { + _G.UIWP = true; + }, + 1 +); diff --git a/frontend/public/js/bing/chat/core.js b/frontend/public/js/bing/chat/core.js new file mode 100644 index 0000000000..b302e430f1 --- /dev/null +++ b/frontend/public/js/bing/chat/core.js @@ -0,0 +1,20 @@ +/* eslint-disable */ +(function (n, t) { + onload = function () { + _G.BPT = new Date(); + // n && n(); + !_w.sb_ppCPL && + t && + sb_st(function () { + t(new Date()); + }, 0); + }; +})(_w.onload, _w.si_PP); +_w.rms.js( + { 'A:rms:answers:Shared:BingCore.Bundle': '/rp/oJ7sDoXkkNOICsnFb57ZJHBrHcw.br.js' }, + { 'A:rms:answers:Web:SydneyFSCHelper': '/rp/zIWGH0CtsF1-0jQOvc01HUV4uVQ.br.js' }, + { 'A:rms:answers:VisualSystem:ConversationScope': '/rp/YFRe970EMtFzujI9pBYZBGpdHEo.br.js' }, + { 'A:rms:answers:CodexBundle:cib-bundle': '/rp/w7_rwsxIfLFmlNCVn4MbZuevoMI.br.js' }, + { 'A:rms:answers:SharedStaticAssets:speech-sdk': '/rp/6slp3E-BqFf904Cz6cCWPY1bh9E.br.js' }, + { 'A:rms:answers:Web:SydneyFullScreenConv': '/rp/gyKl-0hbVjb5hHMqC3ZejA90ZN4.br.js' }, +); diff --git a/frontend/public/js/bing/chat/global.js b/frontend/public/js/bing/chat/global.js new file mode 100644 index 0000000000..4139e15b92 --- /dev/null +++ b/frontend/public/js/bing/chat/global.js @@ -0,0 +1,63 @@ +/* eslint-disable */ +try { + const logPathReg = new RegExp('/fd/ls/|/web/xls.aspx'); + const _oldSendBeacon = navigator.sendBeacon; + navigator.sendBeacon = function (url, data) { + if (logPathReg.test(url)) { + return true; + } + return _oldSendBeacon.call(this, url, data); + }; + const xhrOpen = window.XMLHttpRequest.prototype.open; + window.XMLHttpRequest.prototype.open = function (method, url) { + if (logPathReg.test(url)) { + this.isLog = true; + } + return xhrOpen.call(this, method, url); + }; + const xhrSend = window.XMLHttpRequest.prototype.send; + window.XMLHttpRequest.prototype.send = function (body) { + if (this.isLog) { + return this.abort(); + } + return xhrSend.call(this, body); + }; + // const OriginalImage = Image; + // Image = function () { + // const image = new OriginalImage(); + // const originalSet = image.__proto__.__lookupSetter__('src'); + // image.__proto__.__defineSetter__('src', function (value) { + // if (logPathReg.test(value)) { + // return; + // } + // originalSet.call(this, value); + // }); + // return image; + // }; +} catch (error) { + console.error(error); +}; +_G = { + Region: 'US', + Lang: 'zh-CN', + ST: typeof si_ST !== 'undefined' ? si_ST : new Date(), + Mkt: 'en-US', + RevIpCC: 'us', + RTL: false, + Ver: '20', + IG: '0', + EventID: '645c60c3f55a42549d538c31cf5dd366', + V: 'web', + P: 'SERP', + DA: 'PUSE01', + SUIH: 'FfN6lYBDNDOEzj4vnSOJqQ', + adc: 'b_ad', + EF: { cookss: 1, bmcov: 1, crossdomainfix: 1, bmasynctrigger: 1, bmasynctrigger3: 1, newtabsloppyclick: 1, chevroncheckmousemove: 1 }, + gpUrl: '/fd/ls/GLinkPing.aspx?', +}; +_G.lsUrl = '/fd/ls/l?IG=' + _G.IG; +curUrl = '/search'; +function si_T(a) { + return true; +} +_G.CTT = '3000'; diff --git a/frontend/public/js/bing/chat/lib.js b/frontend/public/js/bing/chat/lib.js new file mode 100644 index 0000000000..02b3fd7413 --- /dev/null +++ b/frontend/public/js/bing/chat/lib.js @@ -0,0 +1,97 @@ +/* eslint-disable */ +var Lib; +(function (n) { + var t; + (function (n) { + function u(n, t) { + var r, i; + if (t == null || n == null) throw new TypeError('Null element passed to Lib.CssClass'); + if (n.indexOf) return n.indexOf(t); + for (r = n.length, i = 0; i < r; i++) if (n[i] === t) return i; + return -1; + } + function f(n, u) { + if (n == null) throw new TypeError('Null element passed to Lib.CssClass. add className:' + u); + if (!i(n, u)) + if (r && n.classList) n.classList.add(u); + else { + var f = t(n) + ' ' + u; + o(n, f); + } + } + function e(n, f) { + var e, s, h; + if (n == null) + throw new TypeError('Null element passed to Lib.CssClass. remove className:' + f); + i(n, f) && + (r && n.classList + ? n.classList.remove(f) + : ((e = t(n).split(' ')), + (s = u(e, f)), + s >= 0 && e.splice(s, 1), + (h = e.join(' ')), + o(n, h))); + } + function s(n, t) { + if (n == null) + throw new TypeError('Null element passed to Lib.CssClass. toggle className:' + t); + r && n.classList ? n.classList.toggle(t) : i(n, t) ? e(n, t) : f(n, t); + } + function i(n, i) { + var f, e; + if (n == null) + throw new TypeError('Null element passed to Lib.CssClass. contains className:' + i); + return r && n.classList + ? n.classList.contains(i) + : ((f = t(n)), f) + ? ((e = f.split(' ')), u(e, i) >= 0) + : !1; + } + function h(n, i) { + var f, e, r, u, o; + if (n.getElementsByClassName) return n.getElementsByClassName(i); + for (f = n.getElementsByTagName('*'), e = [], r = 0; r < f.length; r++) + (u = f[r]), u && ((o = t(u)), o && o.indexOf(i) !== -1 && e.push(u)); + return e; + } + function o(n, t) { + n instanceof SVGElement ? n.setAttribute('class', t) : (n.className = t); + } + function t(n) { + return n instanceof SVGElement ? n.getAttribute('class') : n.className; + } + var r = typeof document.body.classList != 'undefined'; + n.add = f; + n.remove = e; + n.toggle = s; + n.contains = i; + n.getElementByClassName = h; + n.getClassAttribute = t; + })((t = n.CssClass || (n.CssClass = {}))); +})(Lib || (Lib = {})); + +function getBrowserWidth() { + var t = _d.documentElement, + n = Math.round(_w.innerWidth || t.clientWidth); + return n < 100 && (n = 1496), n; +} +function getBrowserHeight() { + var t = _d.documentElement, + n = Math.round(_w.innerHeight || t.clientHeight); + return n < 100 && (n = 796), n; +} +function getBrowserScrollWidth() { + var n = Math.round(_d.body.clientWidth); + return n < 100 && (n = 1496), n; +} +function getBrowserScrollHeight() { + var n = Math.round(_d.body.clientHeight); + return n < 100 && (n = 796), n; +} + +window.ClientObserver = { + getBrowserWidth: getBrowserWidth, + getBrowserHeight: getBrowserHeight, + getBrowserScrollWidth: getBrowserScrollWidth, + getBrowserScrollHeight: getBrowserScrollHeight +}; diff --git a/frontend/src/App.vue b/frontend/src/App.vue new file mode 100644 index 0000000000..03ddb544a5 --- /dev/null +++ b/frontend/src/App.vue @@ -0,0 +1,23 @@ + + + diff --git a/frontend/src/assets/css/base.css b/frontend/src/assets/css/base.css new file mode 100644 index 0000000000..bd6213e1df --- /dev/null +++ b/frontend/src/assets/css/base.css @@ -0,0 +1,3 @@ +@tailwind base; +@tailwind components; +@tailwind utilities; \ No newline at end of file diff --git a/frontend/src/assets/css/conversation.css b/frontend/src/assets/css/conversation.css new file mode 100644 index 0000000000..16c31ef338 --- /dev/null +++ b/frontend/src/assets/css/conversation.css @@ -0,0 +1,15 @@ +/* 移除顶部背景遮挡 */ +.scroller>.top { + display: none !important; +} + +/* 移除顶部边距 */ +.scroller>.scroller-positioner>.content { + padding-top: 0 !important; +} + +/* 聊天记录 */ +.scroller .side-panel { + position: fixed; + right: 10px; +} \ No newline at end of file diff --git a/frontend/src/assets/css/main.css b/frontend/src/assets/css/main.css new file mode 100644 index 0000000000..a1e1556c67 --- /dev/null +++ b/frontend/src/assets/css/main.css @@ -0,0 +1 @@ +@import './base.css'; \ No newline at end of file diff --git a/web/img/setting.svg b/frontend/src/assets/img/setting.svg similarity index 100% rename from web/img/setting.svg rename to frontend/src/assets/img/setting.svg diff --git a/frontend/src/assets/js/bing/chat/core.js b/frontend/src/assets/js/bing/chat/core.js new file mode 100644 index 0000000000..b302e430f1 --- /dev/null +++ b/frontend/src/assets/js/bing/chat/core.js @@ -0,0 +1,20 @@ +/* eslint-disable */ +(function (n, t) { + onload = function () { + _G.BPT = new Date(); + // n && n(); + !_w.sb_ppCPL && + t && + sb_st(function () { + t(new Date()); + }, 0); + }; +})(_w.onload, _w.si_PP); +_w.rms.js( + { 'A:rms:answers:Shared:BingCore.Bundle': '/rp/oJ7sDoXkkNOICsnFb57ZJHBrHcw.br.js' }, + { 'A:rms:answers:Web:SydneyFSCHelper': '/rp/zIWGH0CtsF1-0jQOvc01HUV4uVQ.br.js' }, + { 'A:rms:answers:VisualSystem:ConversationScope': '/rp/YFRe970EMtFzujI9pBYZBGpdHEo.br.js' }, + { 'A:rms:answers:CodexBundle:cib-bundle': '/rp/w7_rwsxIfLFmlNCVn4MbZuevoMI.br.js' }, + { 'A:rms:answers:SharedStaticAssets:speech-sdk': '/rp/6slp3E-BqFf904Cz6cCWPY1bh9E.br.js' }, + { 'A:rms:answers:Web:SydneyFullScreenConv': '/rp/gyKl-0hbVjb5hHMqC3ZejA90ZN4.br.js' }, +); diff --git a/frontend/src/assets/js/bing/chat/lib.js b/frontend/src/assets/js/bing/chat/lib.js new file mode 100644 index 0000000000..02b3fd7413 --- /dev/null +++ b/frontend/src/assets/js/bing/chat/lib.js @@ -0,0 +1,97 @@ +/* eslint-disable */ +var Lib; +(function (n) { + var t; + (function (n) { + function u(n, t) { + var r, i; + if (t == null || n == null) throw new TypeError('Null element passed to Lib.CssClass'); + if (n.indexOf) return n.indexOf(t); + for (r = n.length, i = 0; i < r; i++) if (n[i] === t) return i; + return -1; + } + function f(n, u) { + if (n == null) throw new TypeError('Null element passed to Lib.CssClass. add className:' + u); + if (!i(n, u)) + if (r && n.classList) n.classList.add(u); + else { + var f = t(n) + ' ' + u; + o(n, f); + } + } + function e(n, f) { + var e, s, h; + if (n == null) + throw new TypeError('Null element passed to Lib.CssClass. remove className:' + f); + i(n, f) && + (r && n.classList + ? n.classList.remove(f) + : ((e = t(n).split(' ')), + (s = u(e, f)), + s >= 0 && e.splice(s, 1), + (h = e.join(' ')), + o(n, h))); + } + function s(n, t) { + if (n == null) + throw new TypeError('Null element passed to Lib.CssClass. toggle className:' + t); + r && n.classList ? n.classList.toggle(t) : i(n, t) ? e(n, t) : f(n, t); + } + function i(n, i) { + var f, e; + if (n == null) + throw new TypeError('Null element passed to Lib.CssClass. contains className:' + i); + return r && n.classList + ? n.classList.contains(i) + : ((f = t(n)), f) + ? ((e = f.split(' ')), u(e, i) >= 0) + : !1; + } + function h(n, i) { + var f, e, r, u, o; + if (n.getElementsByClassName) return n.getElementsByClassName(i); + for (f = n.getElementsByTagName('*'), e = [], r = 0; r < f.length; r++) + (u = f[r]), u && ((o = t(u)), o && o.indexOf(i) !== -1 && e.push(u)); + return e; + } + function o(n, t) { + n instanceof SVGElement ? n.setAttribute('class', t) : (n.className = t); + } + function t(n) { + return n instanceof SVGElement ? n.getAttribute('class') : n.className; + } + var r = typeof document.body.classList != 'undefined'; + n.add = f; + n.remove = e; + n.toggle = s; + n.contains = i; + n.getElementByClassName = h; + n.getClassAttribute = t; + })((t = n.CssClass || (n.CssClass = {}))); +})(Lib || (Lib = {})); + +function getBrowserWidth() { + var t = _d.documentElement, + n = Math.round(_w.innerWidth || t.clientWidth); + return n < 100 && (n = 1496), n; +} +function getBrowserHeight() { + var t = _d.documentElement, + n = Math.round(_w.innerHeight || t.clientHeight); + return n < 100 && (n = 796), n; +} +function getBrowserScrollWidth() { + var n = Math.round(_d.body.clientWidth); + return n < 100 && (n = 1496), n; +} +function getBrowserScrollHeight() { + var n = Math.round(_d.body.clientHeight); + return n < 100 && (n = 796), n; +} + +window.ClientObserver = { + getBrowserWidth: getBrowserWidth, + getBrowserHeight: getBrowserHeight, + getBrowserScrollWidth: getBrowserScrollWidth, + getBrowserScrollHeight: getBrowserScrollHeight +}; diff --git a/frontend/src/components/ChatNav/ChatNav.vue b/frontend/src/components/ChatNav/ChatNav.vue new file mode 100644 index 0000000000..9d24938899 --- /dev/null +++ b/frontend/src/components/ChatNav/ChatNav.vue @@ -0,0 +1,150 @@ + + + diff --git a/frontend/src/components/ChatNav/ChatNavItem.vue b/frontend/src/components/ChatNav/ChatNavItem.vue new file mode 100644 index 0000000000..14d5dd645f --- /dev/null +++ b/frontend/src/components/ChatNav/ChatNavItem.vue @@ -0,0 +1,16 @@ + + + diff --git a/frontend/src/components/ChatPromptStore/ChatPromptItem.vue b/frontend/src/components/ChatPromptStore/ChatPromptItem.vue new file mode 100644 index 0000000000..89c848ebc1 --- /dev/null +++ b/frontend/src/components/ChatPromptStore/ChatPromptItem.vue @@ -0,0 +1,40 @@ + + + diff --git a/frontend/src/components/ChatPromptStore/ChatPromptStore.vue b/frontend/src/components/ChatPromptStore/ChatPromptStore.vue new file mode 100644 index 0000000000..5a599cd307 --- /dev/null +++ b/frontend/src/components/ChatPromptStore/ChatPromptStore.vue @@ -0,0 +1,193 @@ + + + diff --git a/frontend/src/main.ts b/frontend/src/main.ts new file mode 100644 index 0000000000..68d7c73146 --- /dev/null +++ b/frontend/src/main.ts @@ -0,0 +1,14 @@ +import './assets/css/main.css'; + +import { createApp } from 'vue'; +import { setupStore } from './stores'; + +import App from './App.vue'; +import router from './router'; + +const app = createApp(App); + +setupStore(app); +app.use(router); + +app.mount('#app'); diff --git a/frontend/src/router/index.ts b/frontend/src/router/index.ts new file mode 100644 index 0000000000..0f9d733df2 --- /dev/null +++ b/frontend/src/router/index.ts @@ -0,0 +1,15 @@ +import { createRouter, createWebHashHistory } from 'vue-router'; + +const router = createRouter({ + // history: createWebHistory(import.meta.env.BASE_URL), + history: createWebHashHistory(import.meta.env.BASE_URL), + routes: [ + { + path: '/', + name: 'chat', + component: () => import('@/views/chat/index.vue'), + }, + ], +}); + +export default router; diff --git a/frontend/src/stores/index.ts b/frontend/src/stores/index.ts new file mode 100644 index 0000000000..68eccb0a86 --- /dev/null +++ b/frontend/src/stores/index.ts @@ -0,0 +1,10 @@ +import type { App } from 'vue'; +import { createPinia } from 'pinia'; +import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'; + +export const store = createPinia(); +store.use(piniaPluginPersistedstate); + +export function setupStore(app: App) { + app.use(store); +} diff --git a/frontend/src/stores/modules/prompt/index.ts b/frontend/src/stores/modules/prompt/index.ts new file mode 100644 index 0000000000..ebec8b1952 --- /dev/null +++ b/frontend/src/stores/modules/prompt/index.ts @@ -0,0 +1,114 @@ +import { ref, computed } from 'vue'; +import { defineStore } from 'pinia'; + +export interface IPrompt { + act: string; + prompt: string; +} +export interface IPromptDownloadConfig { + type: 1 | 2; + name: string; + url: string; + refer: string; + isDownloading?: boolean; +} + +export interface IOptPromptResult { + result: boolean; + msg?: string; + data?: T; +} + +export const usePromptStore = defineStore( + 'prompt-store', + () => { + const promptDownloadConfig = ref>([ + { + type: 1, + name: 'ChatGPT 中文调教指南 - 简体', + url: 'https://raw.githubusercontent.com/PlexPt/awesome-chatgpt-prompts-zh/main/prompts-zh.json', + refer: 'https://github.com/PlexPt/awesome-chatgpt-prompts-zh', + }, + { + type: 1, + name: 'ChatGPT 中文调教指南 - 繁体', + url: 'https://raw.githubusercontent.com/PlexPt/awesome-chatgpt-prompts-zh/main/prompts-zh-TW.json', + refer: 'https://github.com/PlexPt/awesome-chatgpt-prompts-zh', + }, + { + type: 1, + name: 'Awesome ChatGPT Prompts', + url: 'https://raw.githubusercontent.com/f/awesome-chatgpt-prompts/main/prompts.csv', + refer: 'https://github.com/f/awesome-chatgpt-prompts', + }, + { + type: 2, + name: '', + url: '', + refer: '', + }, + ]); + const isShowPromptSotre = ref(false); + const isShowChatPrompt = ref(false); + const promptList = ref>([]); + const keyword = ref(''); + const selectedPromptIndex = ref(0); + + const optPromptConfig = ref<{ + isShow: boolean; + type?: 'add' | 'edit'; + title?: '添加提示词' | '编辑提示词'; + tmpPrompt?: IPrompt; + newPrompt: IPrompt; + }>({ + isShow: false, + newPrompt: { + act: '', + prompt: '', + }, + }); + + const searchPromptList = computed(() => { + if (!keyword.value) { + return promptList.value; + } + return promptList.value?.filter((x) => x.act.includes(keyword.value) || x.prompt.includes(keyword.value)); + }); + + function addPrompt(list: Array): IOptPromptResult<{ successCount: number }> { + if (list instanceof Array && list.every((x) => x.act && x.prompt)) { + if (promptList.value.length === 0) { + promptList.value.push(...list); + return { + result: true, + data: { + successCount: list.length, + }, + }; + } + const newPromptList = list.filter((x) => promptList.value?.every((exist) => x.act !== exist.act && x.prompt !== exist.prompt)); + promptList.value.push(...newPromptList); + return { + result: true, + data: { + successCount: newPromptList.length, + }, + }; + } else { + return { + result: false, + msg: '提示词格式有误', + }; + } + } + + return { promptDownloadConfig, isShowPromptSotre, isShowChatPrompt, promptList, keyword, searchPromptList, selectedPromptIndex, optPromptConfig, addPrompt }; + }, + { + persist: { + key: 'prompt-store', + storage: localStorage, + paths: ['promptList'], + }, + } +); diff --git a/frontend/src/utils/cookies.ts b/frontend/src/utils/cookies.ts new file mode 100644 index 0000000000..900ab94997 --- /dev/null +++ b/frontend/src/utils/cookies.ts @@ -0,0 +1,23 @@ +export function get(name: string) { + const v = document.cookie.match('(^|;) ?' + name + '=([^;]*)(;|$)'); + return v ? v[2] : null; +} + +export function set(name: string, value: string, minutes = 0, path = '/', domain = '') { + let cookie = name + '=' + value + ';path=' + path; + if (domain) { + cookie += ';domain=' + domain; + } + if (minutes > 0) { + const d = new Date(); + d.setTime(d.getTime() + minutes * 60 * 1000); + cookie += ';expires=' + d.toUTCString(); + } + document.cookie = cookie; +} + +const cookies = { + get, + set, +}; +export default cookies; diff --git a/frontend/src/utils/utils.ts b/frontend/src/utils/utils.ts new file mode 100644 index 0000000000..3fb971fb46 --- /dev/null +++ b/frontend/src/utils/utils.ts @@ -0,0 +1,6 @@ +export const isMobile = () => { + const mobileRegex = /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i; + return mobileRegex.test(navigator.userAgent); +}; + +export const sleep = (timeout: number) => new Promise((resolve, reject) => setTimeout(resolve, timeout)); diff --git a/frontend/src/views/chat/components/ChatPrompt/ChatPrompt.vue b/frontend/src/views/chat/components/ChatPrompt/ChatPrompt.vue new file mode 100644 index 0000000000..d5e7396b94 --- /dev/null +++ b/frontend/src/views/chat/components/ChatPrompt/ChatPrompt.vue @@ -0,0 +1,232 @@ + + + diff --git a/frontend/src/views/chat/components/ChatPrompt/ChatPromptItem.vue b/frontend/src/views/chat/components/ChatPrompt/ChatPromptItem.vue new file mode 100644 index 0000000000..f6727d84eb --- /dev/null +++ b/frontend/src/views/chat/components/ChatPrompt/ChatPromptItem.vue @@ -0,0 +1,39 @@ + + + diff --git a/frontend/src/views/chat/index.vue b/frontend/src/views/chat/index.vue new file mode 100644 index 0000000000..5d12e7b70d --- /dev/null +++ b/frontend/src/views/chat/index.vue @@ -0,0 +1,13 @@ + + + diff --git a/frontend/tailwind.config.js b/frontend/tailwind.config.js new file mode 100644 index 0000000000..9897a67f2f --- /dev/null +++ b/frontend/tailwind.config.js @@ -0,0 +1,12 @@ +/** @type {import('tailwindcss').Config} */ +module.exports = { + // 禁用预加载,修复tailwind样式 与 naive-ui button等样式等冲突问题 + corePlugins: { + preflight: false, + }, + content: ['./index.html', './src/**/*.{vue,js,ts,jsx,tsx}'], + theme: { + extend: {}, + }, + plugins: [], +}; diff --git a/frontend/tsconfig.app.json b/frontend/tsconfig.app.json new file mode 100644 index 0000000000..0a2c51521c --- /dev/null +++ b/frontend/tsconfig.app.json @@ -0,0 +1,20 @@ +{ + "extends": "@vue/tsconfig/tsconfig.dom.json", + "include": [ + "types", + "src/**/*", + "src/**/*.vue", + ], + "exclude": [ + "src/**/__tests__/*" + ], + "compilerOptions": { + "composite": true, + "baseUrl": ".", + "paths": { + "@/*": [ + "./src/*" + ] + } + } +} \ No newline at end of file diff --git a/frontend/tsconfig.json b/frontend/tsconfig.json new file mode 100644 index 0000000000..66b5e5703e --- /dev/null +++ b/frontend/tsconfig.json @@ -0,0 +1,11 @@ +{ + "files": [], + "references": [ + { + "path": "./tsconfig.node.json" + }, + { + "path": "./tsconfig.app.json" + } + ] +} diff --git a/frontend/tsconfig.node.json b/frontend/tsconfig.node.json new file mode 100644 index 0000000000..4cee01efc7 --- /dev/null +++ b/frontend/tsconfig.node.json @@ -0,0 +1,18 @@ +{ + "extends": "@tsconfig/node18/tsconfig.json", + "include": [ + "vite.config.*", + "vitest.config.*", + "cypress.config.*", + "playwright.config.*", + "package.json" + ], + "compilerOptions": { + "composite": true, + "resolveJsonModule": true, + "module": "ESNext", + "types": [ + "node" + ] + }, +} \ No newline at end of file diff --git a/frontend/types/env.d.ts b/frontend/types/env.d.ts new file mode 100644 index 0000000000..a82d3055ff --- /dev/null +++ b/frontend/types/env.d.ts @@ -0,0 +1,123 @@ +/// + +declare module '*.vue' { + import type { DefineComponent } from 'vue'; + const component: DefineComponent<{}, {}, any>; + export default component; +} + +declare module 'vue3-virtual-scroll-list' { + import type { defineComponent } from 'vue'; + + const VirtualProps = { + dataKey: { + type: [String, Function], + required: true, + }, + dataSources: { + type: Array, + required: true, + default: () => [], + }, + dataComponent: { + type: [Object, Function], + required: true, + }, + + keeps: { + type: Number, + default: 30, + }, + extraProps: { + type: Object, + }, + estimateSize: { + type: Number, + default: 50, + }, + + direction: { + type: String as PropType<'vertical' | 'horizontal'>, + default: 'vertical', // the other value is horizontal + }, + start: { + type: Number, + default: 0, + }, + offset: { + type: Number, + default: 0, + }, + topThreshold: { + type: Number, + default: 0, + }, + bottomThreshold: { + type: Number, + default: 0, + }, + pageMode: { + type: Boolean, + default: false, + }, + rootTag: { + type: String, + default: 'div', + }, + wrapTag: { + type: String, + default: 'div', + }, + wrapClass: { + type: String, + default: 'wrap', + }, + wrapStyle: { + type: Object, + }, + itemTag: { + type: String, + default: 'div', + }, + itemClass: { + type: String, + default: '', + }, + itemClassAdd: { + type: Function, + }, + itemStyle: { + type: Object, + }, + headerTag: { + type: String, + default: 'div', + }, + headerClass: { + type: String, + default: '', + }, + headerStyle: { + type: Object, + }, + footerTag: { + type: String, + default: 'div', + }, + footerClass: { + type: String, + default: '', + }, + footerStyle: { + type: Object, + }, + itemScopedSlots: { + type: Object, + }, + }; + const VirtualList = defineComponent({ + name: 'VirtualList', + props: VirtualProps, + }); + export default VirtualList; +} diff --git a/frontend/types/global.d.ts b/frontend/types/global.d.ts new file mode 100644 index 0000000000..c4d18c1f97 --- /dev/null +++ b/frontend/types/global.d.ts @@ -0,0 +1,62 @@ +declare const sj_evt: { + bind: (n: string, t: Function, i: boolean, r?: any) => void; + fire: (n: string) => void; +}; +declare const SydneyFullScreenConv: { + initWithWaitlistUpdate: (n: object, t: number) => void; +}; +declare const CIB: { + version: { + buildTimestamp: string; + commit: string; + version: string; + }; + vm: { + actionBar: { + /** + * 输入框 + */ + input: HTMLTextAreaElement; + /** + * 输入框文本 + */ + inputText: string; + /** + * 自动建议的前置文本 + */ + autoSuggestPrependedText: string; + /** + * 自动建议附加文本 + */ + autoSuggestAppendedText: string; + }; + }; + config: { + features: {}; + sydney: { + hostnamesToBypassSecureConnection: string[]; + expiryInMinutes: number; + }; + }; + manager: { + chat: { + // 是否请求响应中 + isRequestPending: boolean; + }; + conversation: { + updateId: (Id: string, expiry: Date, clientId: string, signature: string) => {}; + }; + }; +}; + +declare const __APP_INFO__: { + buildTimestamp: number; + name: string; + version: string; + dependencies: { + [key in string]: string; + }; + devDependencies: { + [key in string]: string; + }; +}; diff --git a/frontend/vite.config.ts b/frontend/vite.config.ts new file mode 100644 index 0000000000..7c9b154eee --- /dev/null +++ b/frontend/vite.config.ts @@ -0,0 +1,109 @@ +import { fileURLToPath, URL } from 'node:url'; +import { defineConfig, loadEnv } from 'vite'; +import vue from '@vitejs/plugin-vue'; +import pkg from './package.json'; +import { VitePWA } from 'vite-plugin-pwa'; + +const { name, version, dependencies, devDependencies } = pkg; +const __APP_INFO__ = { + buildTimestamp: Date.now(), + name, + version, + dependencies, + devDependencies, +}; + +// https://vitejs.dev/config/ +export default defineConfig(({ command, mode }) => { + const env = loadEnv(mode, process.cwd(), ''); + return { + base: '/web', + server: { + port: 4000, + open: false, + host: '0.0.0.0', + proxy: { + '^/(?!web)': { + target: env.VITE_BASE_API_URL, + changeOrigin: true, + }, + }, + }, + define: { + __APP_INFO__: JSON.stringify(__APP_INFO__), + }, + plugins: [ + vue(), + VitePWA({ + // devOptions: { + // enabled: true + // }, + manifest: { + name: 'BingAI', + short_name: 'BingAI', + // 加上图标就可以安装为 web app + icons: [ + { + src: './img/pwa/logo-192.png', + sizes: '192x192', + type: 'image/png', + }, + { + src: './img/pwa/logo-512.png', + sizes: '512x512', + type: 'image/png', + }, + { + src: './img/pwa/logo-512.png', + sizes: '512x512', + type: 'image/png', + purpose: 'any maskable', + }, + ], + }, + registerType: 'autoUpdate', + workbox: { + globPatterns: ['**/*.{js,css,html,ico,png,svg}'], + runtimeCaching: [ + { + urlPattern: /(.*?)\.(js|css|ts)/, // js /css /ts静态资源缓存 + handler: 'CacheFirst', + options: { + cacheName: `js-css-cache`, + expiration: { + maxEntries: 100, + maxAgeSeconds: 60 * 60 * 24 * 7, + }, + cacheableResponse: { + statuses: [0, 200], + }, + }, + }, + { + urlPattern: /(.*?)\.(png|jpe?g|svg|gif|bmp|psd|tiff|tga|eps|ico)/, // 图片缓存 + handler: 'CacheFirst', + options: { + cacheName: `image-cache`, + expiration: { + maxEntries: 100, + maxAgeSeconds: 60 * 60 * 24 * 7, + }, + cacheableResponse: { + statuses: [0, 200], + }, + }, + }, + ], + }, + }), + ], + resolve: { + alias: { + '@': fileURLToPath(new URL('./src', import.meta.url)), + }, + }, + build: { + outDir: '../web', + }, + }; +}); diff --git a/web/assets/index-020e1a7c.js b/web/assets/index-020e1a7c.js new file mode 100644 index 0000000000..edae6de858 --- /dev/null +++ b/web/assets/index-020e1a7c.js @@ -0,0 +1,1160 @@ +import{r as L,w as Ce,o as Xe,a as Je,i as Ra,c as D,b as Oa,h as _a,d as no,e as Se,f as Ma,g as Te,j as We,k as ie,m as Lr,l as Er,p as Jt,u as Be,n as K,q as Pe,s as Ar,t as Ba,v as pt,x as an,C as La,y as Ea,z as Z,A as Dr,B as u,D as Fr,L as oo,E as qt,F as Qt,G as er,H as Aa,I as Da,J as Nr,K as Fa,M as Ze,N as io,O as Hr,P as jr,Q as mt,R as ao,S as Sr,T as ln,U as Na,V as sn,W as dn,X as Kt,Y as Ha,Z as un,_ as ja,$ as Wa,a0 as Ua,a1 as Va,a2 as Ka,a3 as qa,a4 as Ga,a5 as lo,a6 as Ue,a7 as _e,a8 as k,a9 as B,aa as H,ab as Ie,ac as re,ad as Ae,ae as ce,af as ne,ag as ze,ah as W,ai as Xa,aj as ot,ak as $t,al as cn,am as so,an as fn,ao as hn,ap as Ya,aq as Ot,ar as Ge,as as je,at as uo,au as pn,av as Za,aw as he,ax as co,ay as ue,az as te,aA as _t,aB as Ja,aC as vn,aD as fo,aE as ho,aF as po,aG as ft,aH as Qa,aI as el,aJ as tl,aK as vo,aL as rl,aM as nl,aN as ol,aO as Wr,aP as Mt,aQ as Pt,aR as il,aS as Ur,aT as Gt,aU as go,aV as al,aW as ll,aX as gn,aY as sl,aZ as mn,a_ as dl,a$ as Pr,b0 as ul,b1 as cl,b2 as bt,b3 as fl,b4 as mo,b5 as bo,b6 as yo,b7 as wo,b8 as xo,b9 as be,ba as bn,bb as hl,bc as pl,bd as ve,be as Ne,bf as it,bg as Bt,bh as U,bi as He,bj as J,bk as Y,bl as zt,bm as vt,bn as vl,bo as Co,bp as gl,bq as yn,br as ml,bs as kr,bt as bl}from"./index-e6d14a26.js";let Xt=[];const So=new WeakMap;function yl(){Xt.forEach(e=>e(...So.get(e))),Xt=[]}function Po(e,...t){So.set(e,t),!Xt.includes(e)&&Xt.push(e)===1&&requestAnimationFrame(yl)}function wn(e,t){let{target:r}=e;for(;r;){if(r.dataset&&r.dataset[t]!==void 0)return!0;r=r.parentElement}return!1}function wl(e,t="default",r=[]){const o=e.$slots[t];return o===void 0?r:o()}function xl(e){return t=>{t?e.value=t.$el:e.value=null}}const Cl=/^(\d|\.)+$/,xn=/(\d|\.)+/;function Fe(e,{c:t=1,offset:r=0,attachPx:n=!0}={}){if(typeof e=="number"){const o=(e+r)*t;return o===0?"0":`${o}px`}else if(typeof e=="string")if(Cl.test(e)){const o=(Number(e)+r)*t;return n?o===0?"0":`${o}px`:`${o}`}else{const o=xn.exec(e);return o?e.replace(xn,String((Number(o[0])+r)*t)):e}return e}let sr;function Sl(){return sr===void 0&&(sr=navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom")),sr}function Pl(e,t,r){if(!t)return e;const n=L(e.value);let o=null;return Ce(e,i=>{o!==null&&window.clearTimeout(o),i===!0?r&&!r.value?n.value=!0:o=window.setTimeout(()=>{n.value=!0},t):n.value=!1}),n}let ht,Tt;const kl=()=>{var e,t;ht=Ra?(t=(e=document)===null||e===void 0?void 0:e.fonts)===null||t===void 0?void 0:t.ready:void 0,Tt=!1,ht!==void 0?ht.then(()=>{Tt=!0}):Tt=!0};kl();function $l(e){if(Tt)return;let t=!1;Xe(()=>{Tt||ht==null||ht.then(()=>{t||e()})}),Je(()=>{t=!0})}function tr(e,t){return Ce(e,r=>{r!==void 0&&(t.value=r)}),D(()=>e.value===void 0?t.value:e.value)}function zl(e,t){return D(()=>{for(const r of t)if(e[r]!==void 0)return e[r];return e[t[t.length-1]]})}function Tl(e={},t){const r=Oa({ctrl:!1,command:!1,win:!1,shift:!1,tab:!1}),{keydown:n,keyup:o}=e,i=a=>{switch(a.key){case"Control":r.ctrl=!0;break;case"Meta":r.command=!0,r.win=!0;break;case"Shift":r.shift=!0;break;case"Tab":r.tab=!0;break}n!==void 0&&Object.keys(n).forEach(d=>{if(d!==a.key)return;const c=n[d];if(typeof c=="function")c(a);else{const{stop:f=!1,prevent:h=!1}=c;f&&a.stopPropagation(),h&&a.preventDefault(),c.handler(a)}})},l=a=>{switch(a.key){case"Control":r.ctrl=!1;break;case"Meta":r.command=!1,r.win=!1;break;case"Shift":r.shift=!1;break;case"Tab":r.tab=!1;break}o!==void 0&&Object.keys(o).forEach(d=>{if(d!==a.key)return;const c=o[d];if(typeof c=="function")c(a);else{const{stop:f=!1,prevent:h=!1}=c;f&&a.stopPropagation(),h&&a.preventDefault(),c.handler(a)}})},s=()=>{(t===void 0||t.value)&&(Te("keydown",document,i),Te("keyup",document,l)),t!==void 0&&Ce(t,a=>{a?(Te("keydown",document,i),Te("keyup",document,l)):(Se("keydown",document,i),Se("keyup",document,l))})};return _a()?(no(s),Je(()=>{(t===void 0||t.value)&&(Se("keydown",document,i),Se("keyup",document,l))})):s(),Ma(r)}const Il=We("n-internal-select-menu-body"),ko="__disabled__";function gt(e){const t=ie(Lr,null),r=ie(Er,null),n=ie(Jt,null),o=ie(Il,null),i=L();if(typeof document<"u"){i.value=document.fullscreenElement;const l=()=>{i.value=document.fullscreenElement};Xe(()=>{Te("fullscreenchange",document,l)}),Je(()=>{Se("fullscreenchange",document,l)})}return Be(()=>{var l;const{to:s}=e;return s!==void 0?s===!1?ko:s===!0?i.value||"body":s:t!=null&&t.value?(l=t.value.$el)!==null&&l!==void 0?l:t.value:r!=null&&r.value?r.value:n!=null&&n.value?n.value:o!=null&&o.value?o.value:s??(i.value||"body")})}gt.tdkey=ko;gt.propTo={type:[String,Object,Boolean],default:void 0};let Ye=null;function $o(){if(Ye===null&&(Ye=document.getElementById("v-binder-view-measurer"),Ye===null)){Ye=document.createElement("div"),Ye.id="v-binder-view-measurer";const{style:e}=Ye;e.position="fixed",e.left="0",e.right="0",e.top="0",e.bottom="0",e.pointerEvents="none",e.visibility="hidden",document.body.appendChild(Ye)}return Ye.getBoundingClientRect()}function Rl(e,t){const r=$o();return{top:t,left:e,height:0,width:0,right:r.width-e,bottom:r.height-t}}function dr(e){const t=e.getBoundingClientRect(),r=$o();return{left:t.left-r.left,top:t.top-r.top,bottom:r.height+r.top-t.bottom,right:r.width+r.left-t.right,width:t.width,height:t.height}}function Ol(e){return e.nodeType===9?null:e.parentNode}function zo(e){if(e===null)return null;const t=Ol(e);if(t===null)return null;if(t.nodeType===9)return document;if(t.nodeType===1){const{overflow:r,overflowX:n,overflowY:o}=getComputedStyle(t);if(/(auto|scroll|overlay)/.test(r+o+n))return t}return zo(t)}const _l=K({name:"Binder",props:{syncTargetWithParent:Boolean,syncTarget:{type:Boolean,default:!0}},setup(e){var t;Pe("VBinder",(t=Ar())===null||t===void 0?void 0:t.proxy);const r=ie("VBinder",null),n=L(null),o=x=>{n.value=x,r&&e.syncTargetWithParent&&r.setTargetRef(x)};let i=[];const l=()=>{let x=n.value;for(;x=zo(x),x!==null;)i.push(x);for(const z of i)Te("scroll",z,f,!0)},s=()=>{for(const x of i)Se("scroll",x,f,!0);i=[]},a=new Set,d=x=>{a.size===0&&l(),a.has(x)||a.add(x)},c=x=>{a.has(x)&&a.delete(x),a.size===0&&s()},f=()=>{Po(h)},h=()=>{a.forEach(x=>x())},p=new Set,y=x=>{p.size===0&&Te("resize",window,m),p.has(x)||p.add(x)},S=x=>{p.has(x)&&p.delete(x),p.size===0&&Se("resize",window,m)},m=()=>{p.forEach(x=>x())};return Je(()=>{Se("resize",window,m),s()}),{targetRef:n,setTargetRef:o,addScrollListener:d,removeScrollListener:c,addResizeListener:y,removeResizeListener:S}},render(){return Ba("binder",this.$slots)}}),To=_l,Io=K({name:"Target",setup(){const{setTargetRef:e,syncTarget:t}=ie("VBinder");return{syncTarget:t,setTargetDirective:{mounted:e,updated:e}}},render(){const{syncTarget:e,setTargetDirective:t}=this;return e?pt(an("follower",this.$slots),[[t]]):an("follower",this.$slots)}}),lt="@@mmoContext",Ml={mounted(e,{value:t}){e[lt]={handler:void 0},typeof t=="function"&&(e[lt].handler=t,Te("mousemoveoutside",e,t))},updated(e,{value:t}){const r=e[lt];typeof t=="function"?r.handler?r.handler!==t&&(Se("mousemoveoutside",e,r.handler),r.handler=t,Te("mousemoveoutside",e,t)):(e[lt].handler=t,Te("mousemoveoutside",e,t)):r.handler&&(Se("mousemoveoutside",e,r.handler),r.handler=void 0)},unmounted(e){const{handler:t}=e[lt];t&&Se("mousemoveoutside",e,t),e[lt].handler=void 0}},Bl=Ml,{c:Ft}=La(),Ll="vueuc-style",Nt={top:"bottom",bottom:"top",left:"right",right:"left"},Cn={start:"end",center:"center",end:"start"},ur={top:"height",bottom:"height",left:"width",right:"width"},El={"bottom-start":"top left",bottom:"top center","bottom-end":"top right","top-start":"bottom left",top:"bottom center","top-end":"bottom right","right-start":"top left",right:"center left","right-end":"bottom left","left-start":"top right",left:"center right","left-end":"bottom right"},Al={"bottom-start":"bottom left",bottom:"bottom center","bottom-end":"bottom right","top-start":"top left",top:"top center","top-end":"top right","right-start":"top right",right:"center right","right-end":"bottom right","left-start":"top left",left:"center left","left-end":"bottom left"},Dl={"bottom-start":"right","bottom-end":"left","top-start":"right","top-end":"left","right-start":"bottom","right-end":"top","left-start":"bottom","left-end":"top"},Sn={top:!0,bottom:!1,left:!0,right:!1},Pn={top:"end",bottom:"start",left:"end",right:"start"};function Fl(e,t,r,n,o,i){if(!o||i)return{placement:e,top:0,left:0};const[l,s]=e.split("-");let a=s??"center",d={top:0,left:0};const c=(p,y,S)=>{let m=0,x=0;const z=r[p]-t[y]-t[p];return z>0&&n&&(S?x=Sn[y]?z:-z:m=Sn[y]?z:-z),{left:m,top:x}},f=l==="left"||l==="right";if(a!=="center"){const p=Dl[e],y=Nt[p],S=ur[p];if(r[S]>t[S]){if(t[p]+t[S]t[y]&&(a=Cn[s])}else{const p=l==="bottom"||l==="top"?"left":"top",y=Nt[p],S=ur[p],m=(r[S]-t[S])/2;(t[p]t[y]?(a=Pn[p],d=c(S,p,f)):(a=Pn[y],d=c(S,y,f)))}let h=l;return t[l] *",{pointerEvents:"all"})])]),Ro=K({name:"Follower",inheritAttrs:!1,props:{show:Boolean,enabled:{type:Boolean,default:void 0},placement:{type:String,default:"bottom"},syncTrigger:{type:Array,default:["resize","scroll"]},to:[String,Object],flip:{type:Boolean,default:!0},internalShift:Boolean,x:Number,y:Number,width:String,minWidth:String,containerClass:String,teleportDisabled:Boolean,zindexable:{type:Boolean,default:!0},zIndex:Number,overlap:Boolean},setup(e){const t=ie("VBinder"),r=Be(()=>e.enabled!==void 0?e.enabled:e.show),n=L(null),o=L(null),i=()=>{const{syncTrigger:h}=e;h.includes("scroll")&&t.addScrollListener(a),h.includes("resize")&&t.addResizeListener(a)},l=()=>{t.removeScrollListener(a),t.removeResizeListener(a)};Xe(()=>{r.value&&(a(),i())});const s=Ea();jl.mount({id:"vueuc/binder",head:!0,anchorMetaName:Ll,ssr:s}),Je(()=>{l()}),$l(()=>{r.value&&a()});const a=()=>{if(!r.value)return;const h=n.value;if(h===null)return;const p=t.targetRef,{x:y,y:S,overlap:m}=e,x=y!==void 0&&S!==void 0?Rl(y,S):dr(p);h.style.setProperty("--v-target-width",`${Math.round(x.width)}px`),h.style.setProperty("--v-target-height",`${Math.round(x.height)}px`);const{width:z,minWidth:O,placement:w,internalShift:g,flip:M}=e;h.setAttribute("v-placement",w),m?h.setAttribute("v-overlap",""):h.removeAttribute("v-overlap");const{style:b}=h;z==="target"?b.width=`${x.width}px`:z!==void 0?b.width=z:b.width="",O==="target"?b.minWidth=`${x.width}px`:O!==void 0?b.minWidth=O:b.minWidth="";const R=dr(h),P=dr(o.value),{left:T,top:N,placement:E}=Fl(w,x,R,g,M,m),_=Nl(E,m),{left:C,top:$,transform:F}=Hl(E,P,x,N,T,m);h.setAttribute("v-placement",E),h.style.setProperty("--v-offset-left",`${Math.round(T)}px`),h.style.setProperty("--v-offset-top",`${Math.round(N)}px`),h.style.transform=`translateX(${C}) translateY(${$}) ${F}`,h.style.setProperty("--v-transform-origin",_),h.style.transformOrigin=_};Ce(r,h=>{h?(i(),d()):l()});const d=()=>{qt().then(a).catch(h=>console.error(h))};["placement","x","y","internalShift","flip","width","overlap","minWidth"].forEach(h=>{Ce(Z(e,h),a)}),["teleportDisabled"].forEach(h=>{Ce(Z(e,h),d)}),Ce(Z(e,"syncTrigger"),h=>{h.includes("resize")?t.addResizeListener(a):t.removeResizeListener(a),h.includes("scroll")?t.addScrollListener(a):t.removeScrollListener(a)});const c=Dr(),f=Be(()=>{const{to:h}=e;if(h!==void 0)return h;c.value});return{VBinder:t,mergedEnabled:r,offsetContainerRef:o,followerRef:n,mergedTo:f,syncPosition:a}},render(){return u(oo,{show:this.show,to:this.mergedTo,disabled:this.teleportDisabled},{default:()=>{var e,t;const r=u("div",{class:["v-binder-follower-container",this.containerClass],ref:"offsetContainerRef"},[u("div",{class:"v-binder-follower-content",ref:"followerRef"},(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e))]);return this.zindexable?pt(r,[[Fr,{enabled:this.mergedEnabled,zIndex:this.zIndex}]]):r}})}});var Wl=Qt(er,"WeakMap");const $r=Wl;var Ul=Aa(Object.keys,Object);const Vl=Ul;var Kl=Object.prototype,ql=Kl.hasOwnProperty;function Gl(e){if(!Da(e))return Vl(e);var t=[];for(var r in Object(e))ql.call(e,r)&&r!="constructor"&&t.push(r);return t}function Vr(e){return Nr(e)?Fa(e):Gl(e)}var Xl=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Yl=/^\w*$/;function Kr(e,t){if(Ze(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||io(e)?!0:Yl.test(e)||!Xl.test(e)||t!=null&&e in Object(t)}var Zl="Expected a function";function qr(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(Zl);var r=function(){var n=arguments,o=t?t.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);var l=e.apply(this,n);return r.cache=i.set(o,l)||i,l};return r.cache=new(qr.Cache||Hr),r}qr.Cache=Hr;var Jl=500;function Ql(e){var t=qr(e,function(n){return r.size===Jl&&r.clear(),n}),r=t.cache;return t}var es=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ts=/\\(\\)?/g,rs=Ql(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(es,function(r,n,o,i){t.push(o?i.replace(ts,"$1"):n||r)}),t});const ns=rs;function Oo(e,t){return Ze(e)?e:Kr(e,t)?[e]:ns(jr(e))}var os=1/0;function rr(e){if(typeof e=="string"||io(e))return e;var t=e+"";return t=="0"&&1/e==-os?"-0":t}function _o(e,t){t=Oo(t,e);for(var r=0,n=t.length;e!=null&&rs))return!1;var d=i.get(e),c=i.get(t);if(d&&c)return d==t&&c==e;var f=-1,h=!0,p=r&yd?new Yt:void 0;for(i.set(e,t),i.set(t,e);++f`Please load all ${e}'s descendants before checking it.`},Time:{dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss"},DatePicker:{yearFormat:"yyyy",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"yyyy-MM",dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss",quarterFormat:"yyyy-qqq",clear:"Clear",now:"Now",confirm:"Confirm",selectTime:"Select Time",selectDate:"Select Date",datePlaceholder:"Select Date",datetimePlaceholder:"Select Date and Time",monthPlaceholder:"Select Month",yearPlaceholder:"Select Year",quarterPlaceholder:"Select Quarter",startDatePlaceholder:"Start Date",endDatePlaceholder:"End Date",startDatetimePlaceholder:"Start Date and Time",endDatetimePlaceholder:"End Date and Time",startMonthPlaceholder:"Start Month",endMonthPlaceholder:"End Month",monthBeforeYear:!0,firstDayOfWeek:6,today:"Today"},DataTable:{checkTableAll:"Select all in the table",uncheckTableAll:"Unselect all in the table",confirm:"Confirm",clear:"Clear"},LegacyTransfer:{sourceTitle:"Source",targetTitle:"Target"},Transfer:{selectAll:"Select all",unselectAll:"Unselect all",clearAll:"Clear",total:e=>`Total ${e} items`,selected:e=>`${e} items selected`},Empty:{description:"No Data"},Select:{placeholder:"Please Select"},TimePicker:{placeholder:"Select Time",positiveText:"OK",negativeText:"Cancel",now:"Now"},Pagination:{goto:"Goto",selectionSuffix:"page"},DynamicTags:{add:"Add"},Log:{loading:"Loading"},Input:{placeholder:"Please Input"},InputNumber:{placeholder:"Please Input"},DynamicInput:{create:"Create"},ThemeEditor:{title:"Theme Editor",clearAllVars:"Clear All Variables",clearSearch:"Clear Search",filterCompName:"Filter Component Name",filterVarName:"Filter Variable Name",import:"Import",export:"Export",restore:"Reset to Default"},Image:{tipPrevious:"Previous picture (←)",tipNext:"Next picture (→)",tipCounterclockwise:"Counterclockwise",tipClockwise:"Clockwise",tipZoomOut:"Zoom out",tipZoomIn:"Zoom in",tipClose:"Close (Esc)",tipOriginalSize:"Zoom to original size"}},hu=fu;function fr(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=t.width?String(t.width):e.defaultWidth,n=e.formats[r]||e.formats[e.defaultWidth];return n}}function Ct(e){return function(t,r){var n=r!=null&&r.context?String(r.context):"standalone",o;if(n==="formatting"&&e.formattingValues){var i=e.defaultFormattingWidth||e.defaultWidth,l=r!=null&&r.width?String(r.width):i;o=e.formattingValues[l]||e.formattingValues[i]}else{var s=e.defaultWidth,a=r!=null&&r.width?String(r.width):e.defaultWidth;o=e.values[a]||e.values[s]}var d=e.argumentCallback?e.argumentCallback(t):t;return o[d]}}function St(e){return function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=r.width,o=n&&e.matchPatterns[n]||e.matchPatterns[e.defaultMatchWidth],i=t.match(o);if(!i)return null;var l=i[0],s=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],a=Array.isArray(s)?vu(s,function(f){return f.test(l)}):pu(s,function(f){return f.test(l)}),d;d=e.valueCallback?e.valueCallback(a):a,d=r.valueCallback?r.valueCallback(d):d;var c=t.slice(l.length);return{value:d,rest:c}}}function pu(e,t){for(var r in e)if(e.hasOwnProperty(r)&&t(e[r]))return r}function vu(e,t){for(var r=0;r1&&arguments[1]!==void 0?arguments[1]:{},n=t.match(e.matchPattern);if(!n)return null;var o=n[0],i=t.match(e.parsePattern);if(!i)return null;var l=e.valueCallback?e.valueCallback(i[0]):i[0];l=r.valueCallback?r.valueCallback(l):l;var s=t.slice(o.length);return{value:l,rest:s}}}var mu={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},bu=function(t,r,n){var o,i=mu[t];return typeof i=="string"?o=i:r===1?o=i.one:o=i.other.replace("{{count}}",r.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+o:o+" ago":o};const yu=bu;var wu={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},xu={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Cu={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Su={date:fr({formats:wu,defaultWidth:"full"}),time:fr({formats:xu,defaultWidth:"full"}),dateTime:fr({formats:Cu,defaultWidth:"full"})};const Pu=Su;var ku={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},$u=function(t,r,n,o){return ku[t]};const zu=$u;var Tu={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Iu={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Ru={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Ou={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},_u={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},Mu={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Bu=function(t,r){var n=Number(t),o=n%100;if(o>20||o<10)switch(o%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},Lu={ordinalNumber:Bu,era:Ct({values:Tu,defaultWidth:"wide"}),quarter:Ct({values:Iu,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:Ct({values:Ru,defaultWidth:"wide"}),day:Ct({values:Ou,defaultWidth:"wide"}),dayPeriod:Ct({values:_u,defaultWidth:"wide",formattingValues:Mu,defaultFormattingWidth:"wide"})};const Eu=Lu;var Au=/^(\d+)(th|st|nd|rd)?/i,Du=/\d+/i,Fu={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},Nu={any:[/^b/i,/^(a|c)/i]},Hu={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},ju={any:[/1/i,/2/i,/3/i,/4/i]},Wu={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},Uu={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Vu={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},Ku={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},qu={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},Gu={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},Xu={ordinalNumber:gu({matchPattern:Au,parsePattern:Du,valueCallback:function(t){return parseInt(t,10)}}),era:St({matchPatterns:Fu,defaultMatchWidth:"wide",parsePatterns:Nu,defaultParseWidth:"any"}),quarter:St({matchPatterns:Hu,defaultMatchWidth:"wide",parsePatterns:ju,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:St({matchPatterns:Wu,defaultMatchWidth:"wide",parsePatterns:Uu,defaultParseWidth:"any"}),day:St({matchPatterns:Vu,defaultMatchWidth:"wide",parsePatterns:Ku,defaultParseWidth:"any"}),dayPeriod:St({matchPatterns:qu,defaultMatchWidth:"any",parsePatterns:Gu,defaultParseWidth:"any"})};const Yu=Xu;var Zu={code:"en-US",formatDistance:yu,formatLong:Pu,formatRelative:zu,localize:Eu,match:Yu,options:{weekStartsOn:0,firstWeekContainsDate:1}};const Ju=Zu,Qu={name:"en-US",locale:Ju},ec=Qu;function Xr(e){const{mergedLocaleRef:t,mergedDateLocaleRef:r}=ie(lo,null)||{},n=D(()=>{var i,l;return(l=(i=t==null?void 0:t.value)===null||i===void 0?void 0:i[e])!==null&&l!==void 0?l:hu[e]});return{dateLocaleRef:D(()=>{var i;return(i=r==null?void 0:r.value)!==null&&i!==void 0?i:ec}),localeRef:n}}const tc=K({name:"Add",render(){return u("svg",{width:"512",height:"512",viewBox:"0 0 512 512",fill:"none",xmlns:"http://www.w3.org/2000/svg"},u("path",{d:"M256 112V400M400 256H112",stroke:"currentColor","stroke-width":"32","stroke-linecap":"round","stroke-linejoin":"round"}))}}),rc=Ue("attach",u("svg",{viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},u("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},u("g",{fill:"currentColor","fill-rule":"nonzero"},u("path",{d:"M3.25735931,8.70710678 L7.85355339,4.1109127 C8.82986412,3.13460197 10.4127766,3.13460197 11.3890873,4.1109127 C12.365398,5.08722343 12.365398,6.67013588 11.3890873,7.64644661 L6.08578644,12.9497475 C5.69526215,13.3402718 5.06209717,13.3402718 4.67157288,12.9497475 C4.28104858,12.5592232 4.28104858,11.9260582 4.67157288,11.5355339 L9.97487373,6.23223305 C10.1701359,6.0369709 10.1701359,5.72038841 9.97487373,5.52512627 C9.77961159,5.32986412 9.4630291,5.32986412 9.26776695,5.52512627 L3.96446609,10.8284271 C3.18341751,11.6094757 3.18341751,12.8758057 3.96446609,13.6568542 C4.74551468,14.4379028 6.01184464,14.4379028 6.79289322,13.6568542 L12.0961941,8.35355339 C13.4630291,6.98671837 13.4630291,4.77064094 12.0961941,3.40380592 C10.7293591,2.0369709 8.51328163,2.0369709 7.14644661,3.40380592 L2.55025253,8 C2.35499039,8.19526215 2.35499039,8.51184464 2.55025253,8.70710678 C2.74551468,8.90236893 3.06209717,8.90236893 3.25735931,8.70710678 Z"}))))),nc=K({name:"ChevronRight",render(){return u("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},u("path",{d:"M5.64645 3.14645C5.45118 3.34171 5.45118 3.65829 5.64645 3.85355L9.79289 8L5.64645 12.1464C5.45118 12.3417 5.45118 12.6583 5.64645 12.8536C5.84171 13.0488 6.15829 13.0488 6.35355 12.8536L10.8536 8.35355C11.0488 8.15829 11.0488 7.84171 10.8536 7.64645L6.35355 3.14645C6.15829 2.95118 5.84171 2.95118 5.64645 3.14645Z",fill:"currentColor"}))}}),Xo=K({name:"Eye",render(){return u("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},u("path",{d:"M255.66 112c-77.94 0-157.89 45.11-220.83 135.33a16 16 0 0 0-.27 17.77C82.92 340.8 161.8 400 255.66 400c92.84 0 173.34-59.38 221.79-135.25a16.14 16.14 0 0 0 0-17.47C428.89 172.28 347.8 112 255.66 112z",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"}),u("circle",{cx:"256",cy:"256",r:"80",fill:"none",stroke:"currentColor","stroke-miterlimit":"10","stroke-width":"32"}))}}),oc=K({name:"EyeOff",render(){return u("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},u("path",{d:"M432 448a15.92 15.92 0 0 1-11.31-4.69l-352-352a16 16 0 0 1 22.62-22.62l352 352A16 16 0 0 1 432 448z",fill:"currentColor"}),u("path",{d:"M255.66 384c-41.49 0-81.5-12.28-118.92-36.5c-34.07-22-64.74-53.51-88.7-91v-.08c19.94-28.57 41.78-52.73 65.24-72.21a2 2 0 0 0 .14-2.94L93.5 161.38a2 2 0 0 0-2.71-.12c-24.92 21-48.05 46.76-69.08 76.92a31.92 31.92 0 0 0-.64 35.54c26.41 41.33 60.4 76.14 98.28 100.65C162 402 207.9 416 255.66 416a239.13 239.13 0 0 0 75.8-12.58a2 2 0 0 0 .77-3.31l-21.58-21.58a4 4 0 0 0-3.83-1a204.8 204.8 0 0 1-51.16 6.47z",fill:"currentColor"}),u("path",{d:"M490.84 238.6c-26.46-40.92-60.79-75.68-99.27-100.53C349 110.55 302 96 255.66 96a227.34 227.34 0 0 0-74.89 12.83a2 2 0 0 0-.75 3.31l21.55 21.55a4 4 0 0 0 3.88 1a192.82 192.82 0 0 1 50.21-6.69c40.69 0 80.58 12.43 118.55 37c34.71 22.4 65.74 53.88 89.76 91a.13.13 0 0 1 0 .16a310.72 310.72 0 0 1-64.12 72.73a2 2 0 0 0-.15 2.95l19.9 19.89a2 2 0 0 0 2.7.13a343.49 343.49 0 0 0 68.64-78.48a32.2 32.2 0 0 0-.1-34.78z",fill:"currentColor"}),u("path",{d:"M256 160a95.88 95.88 0 0 0-21.37 2.4a2 2 0 0 0-1 3.38l112.59 112.56a2 2 0 0 0 3.38-1A96 96 0 0 0 256 160z",fill:"currentColor"}),u("path",{d:"M165.78 233.66a2 2 0 0 0-3.38 1a96 96 0 0 0 115 115a2 2 0 0 0 1-3.38z",fill:"currentColor"}))}}),ic=Ue("trash",u("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},u("path",{d:"M432,144,403.33,419.74A32,32,0,0,1,371.55,448H140.46a32,32,0,0,1-31.78-28.26L80,144",style:"fill: none; stroke: currentcolor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 32px;"}),u("rect",{x:"32",y:"64",width:"448",height:"80",rx:"16",ry:"16",style:"fill: none; stroke: currentcolor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 32px;"}),u("line",{x1:"312",y1:"240",x2:"200",y2:"352",style:"fill: none; stroke: currentcolor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 32px;"}),u("line",{x1:"312",y1:"352",x2:"200",y2:"240",style:"fill: none; stroke: currentcolor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 32px;"}))),ac=Ue("download",u("svg",{viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},u("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},u("g",{fill:"currentColor","fill-rule":"nonzero"},u("path",{d:"M3.5,13 L12.5,13 C12.7761424,13 13,13.2238576 13,13.5 C13,13.7454599 12.8231248,13.9496084 12.5898756,13.9919443 L12.5,14 L3.5,14 C3.22385763,14 3,13.7761424 3,13.5 C3,13.2545401 3.17687516,13.0503916 3.41012437,13.0080557 L3.5,13 L12.5,13 L3.5,13 Z M7.91012437,1.00805567 L8,1 C8.24545989,1 8.44960837,1.17687516 8.49194433,1.41012437 L8.5,1.5 L8.5,10.292 L11.1819805,7.6109127 C11.3555469,7.43734635 11.6249713,7.4180612 11.8198394,7.55305725 L11.8890873,7.6109127 C12.0626536,7.78447906 12.0819388,8.05390346 11.9469427,8.2487716 L11.8890873,8.31801948 L8.35355339,11.8535534 C8.17998704,12.0271197 7.91056264,12.0464049 7.7156945,11.9114088 L7.64644661,11.8535534 L4.1109127,8.31801948 C3.91565056,8.12275734 3.91565056,7.80617485 4.1109127,7.6109127 C4.28447906,7.43734635 4.55390346,7.4180612 4.7487716,7.55305725 L4.81801948,7.6109127 L7.5,10.292 L7.5,1.5 C7.5,1.25454011 7.67687516,1.05039163 7.91012437,1.00805567 L8,1 L7.91012437,1.00805567 Z"}))))),lc=K({name:"Empty",render(){return u("svg",{viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},u("path",{d:"M26 7.5C26 11.0899 23.0899 14 19.5 14C15.9101 14 13 11.0899 13 7.5C13 3.91015 15.9101 1 19.5 1C23.0899 1 26 3.91015 26 7.5ZM16.8536 4.14645C16.6583 3.95118 16.3417 3.95118 16.1464 4.14645C15.9512 4.34171 15.9512 4.65829 16.1464 4.85355L18.7929 7.5L16.1464 10.1464C15.9512 10.3417 15.9512 10.6583 16.1464 10.8536C16.3417 11.0488 16.6583 11.0488 16.8536 10.8536L19.5 8.20711L22.1464 10.8536C22.3417 11.0488 22.6583 11.0488 22.8536 10.8536C23.0488 10.6583 23.0488 10.3417 22.8536 10.1464L20.2071 7.5L22.8536 4.85355C23.0488 4.65829 23.0488 4.34171 22.8536 4.14645C22.6583 3.95118 22.3417 3.95118 22.1464 4.14645L19.5 6.79289L16.8536 4.14645Z",fill:"currentColor"}),u("path",{d:"M25 22.75V12.5991C24.5572 13.0765 24.053 13.4961 23.5 13.8454V16H17.5L17.3982 16.0068C17.0322 16.0565 16.75 16.3703 16.75 16.75C16.75 18.2688 15.5188 19.5 14 19.5C12.4812 19.5 11.25 18.2688 11.25 16.75L11.2432 16.6482C11.1935 16.2822 10.8797 16 10.5 16H4.5V7.25C4.5 6.2835 5.2835 5.5 6.25 5.5H12.2696C12.4146 4.97463 12.6153 4.47237 12.865 4H6.25C4.45507 4 3 5.45507 3 7.25V22.75C3 24.5449 4.45507 26 6.25 26H21.75C23.5449 26 25 24.5449 25 22.75ZM4.5 22.75V17.5H9.81597L9.85751 17.7041C10.2905 19.5919 11.9808 21 14 21L14.215 20.9947C16.2095 20.8953 17.842 19.4209 18.184 17.5H23.5V22.75C23.5 23.7165 22.7165 24.5 21.75 24.5H6.25C5.2835 24.5 4.5 23.7165 4.5 22.75Z",fill:"currentColor"}))}}),sc=Ue("cancel",u("svg",{viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},u("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},u("g",{fill:"currentColor","fill-rule":"nonzero"},u("path",{d:"M2.58859116,2.7156945 L2.64644661,2.64644661 C2.82001296,2.47288026 3.08943736,2.45359511 3.2843055,2.58859116 L3.35355339,2.64644661 L8,7.293 L12.6464466,2.64644661 C12.8417088,2.45118446 13.1582912,2.45118446 13.3535534,2.64644661 C13.5488155,2.84170876 13.5488155,3.15829124 13.3535534,3.35355339 L8.707,8 L13.3535534,12.6464466 C13.5271197,12.820013 13.5464049,13.0894374 13.4114088,13.2843055 L13.3535534,13.3535534 C13.179987,13.5271197 12.9105626,13.5464049 12.7156945,13.4114088 L12.6464466,13.3535534 L8,8.707 L3.35355339,13.3535534 C3.15829124,13.5488155 2.84170876,13.5488155 2.64644661,13.3535534 C2.45118446,13.1582912 2.45118446,12.8417088 2.64644661,12.6464466 L7.293,8 L2.64644661,3.35355339 C2.47288026,3.17998704 2.45359511,2.91056264 2.58859116,2.7156945 L2.64644661,2.64644661 L2.58859116,2.7156945 Z"}))))),dc=K({name:"ChevronDown",render(){return u("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},u("path",{d:"M3.14645 5.64645C3.34171 5.45118 3.65829 5.45118 3.85355 5.64645L8 9.79289L12.1464 5.64645C12.3417 5.45118 12.6583 5.45118 12.8536 5.64645C13.0488 5.84171 13.0488 6.15829 12.8536 6.35355L8.35355 10.8536C8.15829 11.0488 7.84171 11.0488 7.64645 10.8536L3.14645 6.35355C2.95118 6.15829 2.95118 5.84171 3.14645 5.64645Z",fill:"currentColor"}))}}),uc=Ue("clear",u("svg",{viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},u("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},u("g",{fill:"currentColor","fill-rule":"nonzero"},u("path",{d:"M8,2 C11.3137085,2 14,4.6862915 14,8 C14,11.3137085 11.3137085,14 8,14 C4.6862915,14 2,11.3137085 2,8 C2,4.6862915 4.6862915,2 8,2 Z M6.5343055,5.83859116 C6.33943736,5.70359511 6.07001296,5.72288026 5.89644661,5.89644661 L5.89644661,5.89644661 L5.83859116,5.9656945 C5.70359511,6.16056264 5.72288026,6.42998704 5.89644661,6.60355339 L5.89644661,6.60355339 L7.293,8 L5.89644661,9.39644661 L5.83859116,9.4656945 C5.70359511,9.66056264 5.72288026,9.92998704 5.89644661,10.1035534 L5.89644661,10.1035534 L5.9656945,10.1614088 C6.16056264,10.2964049 6.42998704,10.2771197 6.60355339,10.1035534 L6.60355339,10.1035534 L8,8.707 L9.39644661,10.1035534 L9.4656945,10.1614088 C9.66056264,10.2964049 9.92998704,10.2771197 10.1035534,10.1035534 L10.1035534,10.1035534 L10.1614088,10.0343055 C10.2964049,9.83943736 10.2771197,9.57001296 10.1035534,9.39644661 L10.1035534,9.39644661 L8.707,8 L10.1035534,6.60355339 L10.1614088,6.5343055 C10.2964049,6.33943736 10.2771197,6.07001296 10.1035534,5.89644661 L10.1035534,5.89644661 L10.0343055,5.83859116 C9.83943736,5.70359511 9.57001296,5.72288026 9.39644661,5.89644661 L9.39644661,5.89644661 L8,7.293 L6.60355339,5.89644661 Z"}))))),cc=Ue("retry",u("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},u("path",{d:"M320,146s24.36-12-64-12A160,160,0,1,0,416,294",style:"fill: none; stroke: currentcolor; stroke-linecap: round; stroke-miterlimit: 10; stroke-width: 32px;"}),u("polyline",{points:"256 58 336 138 256 218",style:"fill: none; stroke: currentcolor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 32px;"}))),fc=Ue("rotateClockwise",u("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},u("path",{d:"M3 10C3 6.13401 6.13401 3 10 3C13.866 3 17 6.13401 17 10C17 12.7916 15.3658 15.2026 13 16.3265V14.5C13 14.2239 12.7761 14 12.5 14C12.2239 14 12 14.2239 12 14.5V17.5C12 17.7761 12.2239 18 12.5 18H15.5C15.7761 18 16 17.7761 16 17.5C16 17.2239 15.7761 17 15.5 17H13.8758C16.3346 15.6357 18 13.0128 18 10C18 5.58172 14.4183 2 10 2C5.58172 2 2 5.58172 2 10C2 10.2761 2.22386 10.5 2.5 10.5C2.77614 10.5 3 10.2761 3 10Z",fill:"currentColor"}),u("path",{d:"M10 12C11.1046 12 12 11.1046 12 10C12 8.89543 11.1046 8 10 8C8.89543 8 8 8.89543 8 10C8 11.1046 8.89543 12 10 12ZM10 11C9.44772 11 9 10.5523 9 10C9 9.44772 9.44772 9 10 9C10.5523 9 11 9.44772 11 10C11 10.5523 10.5523 11 10 11Z",fill:"currentColor"}))),hc=Ue("rotateClockwise",u("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},u("path",{d:"M17 10C17 6.13401 13.866 3 10 3C6.13401 3 3 6.13401 3 10C3 12.7916 4.63419 15.2026 7 16.3265V14.5C7 14.2239 7.22386 14 7.5 14C7.77614 14 8 14.2239 8 14.5V17.5C8 17.7761 7.77614 18 7.5 18H4.5C4.22386 18 4 17.7761 4 17.5C4 17.2239 4.22386 17 4.5 17H6.12422C3.66539 15.6357 2 13.0128 2 10C2 5.58172 5.58172 2 10 2C14.4183 2 18 5.58172 18 10C18 10.2761 17.7761 10.5 17.5 10.5C17.2239 10.5 17 10.2761 17 10Z",fill:"currentColor"}),u("path",{d:"M10 12C8.89543 12 8 11.1046 8 10C8 8.89543 8.89543 8 10 8C11.1046 8 12 8.89543 12 10C12 11.1046 11.1046 12 10 12ZM10 11C10.5523 11 11 10.5523 11 10C11 9.44772 10.5523 9 10 9C9.44772 9 9 9.44772 9 10C9 10.5523 9.44772 11 10 11Z",fill:"currentColor"}))),pc=Ue("zoomIn",u("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},u("path",{d:"M11.5 8.5C11.5 8.22386 11.2761 8 11 8H9V6C9 5.72386 8.77614 5.5 8.5 5.5C8.22386 5.5 8 5.72386 8 6V8H6C5.72386 8 5.5 8.22386 5.5 8.5C5.5 8.77614 5.72386 9 6 9H8V11C8 11.2761 8.22386 11.5 8.5 11.5C8.77614 11.5 9 11.2761 9 11V9H11C11.2761 9 11.5 8.77614 11.5 8.5Z",fill:"currentColor"}),u("path",{d:"M8.5 3C11.5376 3 14 5.46243 14 8.5C14 9.83879 13.5217 11.0659 12.7266 12.0196L16.8536 16.1464C17.0488 16.3417 17.0488 16.6583 16.8536 16.8536C16.68 17.0271 16.4106 17.0464 16.2157 16.9114L16.1464 16.8536L12.0196 12.7266C11.0659 13.5217 9.83879 14 8.5 14C5.46243 14 3 11.5376 3 8.5C3 5.46243 5.46243 3 8.5 3ZM8.5 4C6.01472 4 4 6.01472 4 8.5C4 10.9853 6.01472 13 8.5 13C10.9853 13 13 10.9853 13 8.5C13 6.01472 10.9853 4 8.5 4Z",fill:"currentColor"}))),vc=Ue("zoomOut",u("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},u("path",{d:"M11 8C11.2761 8 11.5 8.22386 11.5 8.5C11.5 8.77614 11.2761 9 11 9H6C5.72386 9 5.5 8.77614 5.5 8.5C5.5 8.22386 5.72386 8 6 8H11Z",fill:"currentColor"}),u("path",{d:"M14 8.5C14 5.46243 11.5376 3 8.5 3C5.46243 3 3 5.46243 3 8.5C3 11.5376 5.46243 14 8.5 14C9.83879 14 11.0659 13.5217 12.0196 12.7266L16.1464 16.8536L16.2157 16.9114C16.4106 17.0464 16.68 17.0271 16.8536 16.8536C17.0488 16.6583 17.0488 16.3417 16.8536 16.1464L12.7266 12.0196C13.5217 11.0659 14 9.83879 14 8.5ZM4 8.5C4 6.01472 6.01472 4 8.5 4C10.9853 4 13 6.01472 13 8.5C13 10.9853 10.9853 13 8.5 13C6.01472 13 4 10.9853 4 8.5Z",fill:"currentColor"}))),gc=K({name:"ResizeSmall",render(){return u("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},u("g",{fill:"none"},u("path",{d:"M5.5 4A1.5 1.5 0 0 0 4 5.5v1a.5.5 0 0 1-1 0v-1A2.5 2.5 0 0 1 5.5 3h1a.5.5 0 0 1 0 1h-1zM16 5.5A1.5 1.5 0 0 0 14.5 4h-1a.5.5 0 0 1 0-1h1A2.5 2.5 0 0 1 17 5.5v1a.5.5 0 0 1-1 0v-1zm0 9a1.5 1.5 0 0 1-1.5 1.5h-1a.5.5 0 0 0 0 1h1a2.5 2.5 0 0 0 2.5-2.5v-1a.5.5 0 0 0-1 0v1zm-12 0A1.5 1.5 0 0 0 5.5 16h1.25a.5.5 0 0 1 0 1H5.5A2.5 2.5 0 0 1 3 14.5v-1.25a.5.5 0 0 1 1 0v1.25zM8.5 7A1.5 1.5 0 0 0 7 8.5v3A1.5 1.5 0 0 0 8.5 13h3a1.5 1.5 0 0 0 1.5-1.5v-3A1.5 1.5 0 0 0 11.5 7h-3zM8 8.5a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 .5.5v3a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-3z",fill:"currentColor"})))}});function Hn(e){return Array.isArray(e)?e:[e]}const Rr={STOP:"STOP"};function Yo(e,t){const r=t(e);e.children!==void 0&&r!==Rr.STOP&&e.children.forEach(n=>Yo(n,t))}function mc(e,t={}){const{preserveGroup:r=!1}=t,n=[],o=r?l=>{l.isLeaf||(n.push(l.key),i(l.children))}:l=>{l.isLeaf||(l.isGroup||n.push(l.key),i(l.children))};function i(l){l.forEach(o)}return i(e),n}function bc(e,t){const{isLeaf:r}=e;return r!==void 0?r:!t(e)}function yc(e){return e.children}function wc(e){return e.key}function xc(){return!1}function Cc(e,t){const{isLeaf:r}=e;return!(r===!1&&!Array.isArray(t(e)))}function Sc(e){return e.disabled===!0}function Pc(e,t){return e.isLeaf===!1&&!Array.isArray(t(e))}function hr(e){var t;return e==null?[]:Array.isArray(e)?e:(t=e.checkedKeys)!==null&&t!==void 0?t:[]}function pr(e){var t;return e==null||Array.isArray(e)?[]:(t=e.indeterminateKeys)!==null&&t!==void 0?t:[]}function kc(e,t){const r=new Set(e);return t.forEach(n=>{r.has(n)||r.add(n)}),Array.from(r)}function $c(e,t){const r=new Set(e);return t.forEach(n=>{r.has(n)&&r.delete(n)}),Array.from(r)}function zc(e){return(e==null?void 0:e.type)==="group"}class Tc extends Error{constructor(){super(),this.message="SubtreeNotLoadedError: checking a subtree whose required nodes are not fully loaded."}}function Ic(e,t,r,n){return Zt(t.concat(e),r,n,!1)}function Rc(e,t){const r=new Set;return e.forEach(n=>{const o=t.treeNodeMap.get(n);if(o!==void 0){let i=o.parent;for(;i!==null&&!(i.disabled||r.has(i.key));)r.add(i.key),i=i.parent}}),r}function Oc(e,t,r,n){const o=Zt(t,r,n,!1),i=Zt(e,r,n,!0),l=Rc(e,r),s=[];return o.forEach(a=>{(i.has(a)||l.has(a))&&s.push(a)}),s.forEach(a=>o.delete(a)),o}function vr(e,t){const{checkedKeys:r,keysToCheck:n,keysToUncheck:o,indeterminateKeys:i,cascade:l,leafOnly:s,checkStrategy:a,allowNotLoaded:d}=e;if(!l)return n!==void 0?{checkedKeys:kc(r,n),indeterminateKeys:Array.from(i)}:o!==void 0?{checkedKeys:$c(r,o),indeterminateKeys:Array.from(i)}:{checkedKeys:Array.from(r),indeterminateKeys:Array.from(i)};const{levelTreeNodeMap:c}=t;let f;o!==void 0?f=Oc(o,r,t,d):n!==void 0?f=Ic(n,r,t,d):f=Zt(r,t,d,!1);const h=a==="parent",p=a==="child"||s,y=f,S=new Set,m=Math.max.apply(null,Array.from(c.keys()));for(let x=m;x>=0;x-=1){const z=x===0,O=c.get(x);for(const w of O){if(w.isLeaf)continue;const{key:g,shallowLoaded:M}=w;if(p&&M&&w.children.forEach(T=>{!T.disabled&&!T.isLeaf&&T.shallowLoaded&&y.has(T.key)&&y.delete(T.key)}),w.disabled||!M)continue;let b=!0,R=!1,P=!0;for(const T of w.children){const N=T.key;if(!T.disabled){if(P&&(P=!1),y.has(N))R=!0;else if(S.has(N)){R=!0,b=!1;break}else if(b=!1,R)break}}b&&!P?(h&&w.children.forEach(T=>{!T.disabled&&y.has(T.key)&&y.delete(T.key)}),y.add(g)):R&&S.add(g),z&&p&&y.has(g)&&y.delete(g)}}return{checkedKeys:Array.from(y),indeterminateKeys:Array.from(S)}}function Zt(e,t,r,n){const{treeNodeMap:o,getChildren:i}=t,l=new Set,s=new Set(e);return e.forEach(a=>{const d=o.get(a);d!==void 0&&Yo(d,c=>{if(c.disabled)return Rr.STOP;const{key:f}=c;if(!l.has(f)&&(l.add(f),s.add(f),Pc(c.rawNode,i))){if(n)return Rr.STOP;if(!r)throw new Tc}})}),s}function _c(e,{includeGroup:t=!1,includeSelf:r=!0},n){var o;const i=n.treeNodeMap;let l=e==null?null:(o=i.get(e))!==null&&o!==void 0?o:null;const s={keyPath:[],treeNodePath:[],treeNode:l};if(l!=null&&l.ignored)return s.treeNode=null,s;for(;l;)!l.ignored&&(t||!l.isGroup)&&s.treeNodePath.push(l),l=l.parent;return s.treeNodePath.reverse(),r||s.treeNodePath.pop(),s.keyPath=s.treeNodePath.map(a=>a.key),s}function Mc(e){if(e.length===0)return null;const t=e[0];return t.isGroup||t.ignored||t.disabled?t.getNext():t}function Bc(e,t){const r=e.siblings,n=r.length,{index:o}=e;return t?r[(o+1)%n]:o===r.length-1?null:r[o+1]}function jn(e,t,{loop:r=!1,includeDisabled:n=!1}={}){const o=t==="prev"?Lc:Bc,i={reverse:t==="prev"};let l=!1,s=null;function a(d){if(d!==null){if(d===e){if(!l)l=!0;else if(!e.disabled&&!e.isGroup){s=e;return}}else if((!d.disabled||n)&&!d.ignored&&!d.isGroup){s=d;return}if(d.isGroup){const c=Yr(d,i);c!==null?s=c:a(o(d,r))}else{const c=o(d,!1);if(c!==null)a(c);else{const f=Ec(d);f!=null&&f.isGroup?a(o(f,r)):r&&a(o(d,!0))}}}}return a(e),s}function Lc(e,t){const r=e.siblings,n=r.length,{index:o}=e;return t?r[(o-1+n)%n]:o===0?null:r[o-1]}function Ec(e){return e.parent}function Yr(e,t={}){const{reverse:r=!1}=t,{children:n}=e;if(n){const{length:o}=n,i=r?o-1:0,l=r?-1:o,s=r?-1:1;for(let a=i;a!==l;a+=s){const d=n[a];if(!d.disabled&&!d.ignored)if(d.isGroup){const c=Yr(d,t);if(c!==null)return c}else return d}}return null}const Ac={getChild(){return this.ignored?null:Yr(this)},getParent(){const{parent:e}=this;return e!=null&&e.isGroup?e.getParent():e},getNext(e={}){return jn(this,"next",e)},getPrev(e={}){return jn(this,"prev",e)}};function Dc(e,t){const r=t?new Set(t):void 0,n=[];function o(i){i.forEach(l=>{n.push(l),!(l.isLeaf||!l.children||l.ignored)&&(l.isGroup||r===void 0||r.has(l.key))&&o(l.children)})}return o(e),n}function Fc(e,t){const r=e.key;for(;t;){if(t.key===r)return!0;t=t.parent}return!1}function Zo(e,t,r,n,o,i=null,l=0){const s=[];return e.forEach((a,d)=>{var c;const f=Object.create(n);if(f.rawNode=a,f.siblings=s,f.level=l,f.index=d,f.isFirstChild=d===0,f.isLastChild=d+1===e.length,f.parent=i,!f.ignored){const h=o(a);Array.isArray(h)&&(f.children=Zo(h,t,r,n,o,f,l+1))}s.push(f),t.set(f.key,f),r.has(l)||r.set(l,[]),(c=r.get(l))===null||c===void 0||c.push(f)}),s}function Nc(e,t={}){var r;const n=new Map,o=new Map,{getDisabled:i=Sc,getIgnored:l=xc,getIsGroup:s=zc,getKey:a=wc}=t,d=(r=t.getChildren)!==null&&r!==void 0?r:yc,c=t.ignoreEmptyChildren?w=>{const g=d(w);return Array.isArray(g)?g.length?g:null:g}:d,f=Object.assign({get key(){return a(this.rawNode)},get disabled(){return i(this.rawNode)},get isGroup(){return s(this.rawNode)},get isLeaf(){return bc(this.rawNode,c)},get shallowLoaded(){return Cc(this.rawNode,c)},get ignored(){return l(this.rawNode)},contains(w){return Fc(this,w)}},Ac),h=Zo(e,n,o,f,c);function p(w){if(w==null)return null;const g=n.get(w);return g&&!g.isGroup&&!g.ignored?g:null}function y(w){if(w==null)return null;const g=n.get(w);return g&&!g.ignored?g:null}function S(w,g){const M=y(w);return M?M.getPrev(g):null}function m(w,g){const M=y(w);return M?M.getNext(g):null}function x(w){const g=y(w);return g?g.getParent():null}function z(w){const g=y(w);return g?g.getChild():null}const O={treeNodes:h,treeNodeMap:n,levelTreeNodeMap:o,maxLevel:Math.max(...o.keys()),getChildren:c,getFlattenedNodes(w){return Dc(h,w)},getNode:p,getPrev:S,getNext:m,getParent:x,getChild:z,getFirstAvailableNode(){return Mc(h)},getPath(w,g={}){return _c(w,g,O)},getCheckedKeys(w,g={}){const{cascade:M=!0,leafOnly:b=!1,checkStrategy:R="all",allowNotLoaded:P=!1}=g;return vr({checkedKeys:hr(w),indeterminateKeys:pr(w),cascade:M,leafOnly:b,checkStrategy:R,allowNotLoaded:P},O)},check(w,g,M={}){const{cascade:b=!0,leafOnly:R=!1,checkStrategy:P="all",allowNotLoaded:T=!1}=M;return vr({checkedKeys:hr(g),indeterminateKeys:pr(g),keysToCheck:w==null?[]:Hn(w),cascade:b,leafOnly:R,checkStrategy:P,allowNotLoaded:T},O)},uncheck(w,g,M={}){const{cascade:b=!0,leafOnly:R=!1,checkStrategy:P="all",allowNotLoaded:T=!1}=M;return vr({checkedKeys:hr(g),indeterminateKeys:pr(g),keysToUncheck:w==null?[]:Hn(w),cascade:b,leafOnly:R,checkStrategy:P,allowNotLoaded:T},O)},getNonLeafKeys(w={}){return mc(h,w)}};return O}const Hc={iconSizeSmall:"34px",iconSizeMedium:"40px",iconSizeLarge:"46px",iconSizeHuge:"52px"},jc=e=>{const{textColorDisabled:t,iconColor:r,textColor2:n,fontSizeSmall:o,fontSizeMedium:i,fontSizeLarge:l,fontSizeHuge:s}=e;return Object.assign(Object.assign({},Hc),{fontSizeSmall:o,fontSizeMedium:i,fontSizeLarge:l,fontSizeHuge:s,textColor:t,iconColor:r,extraTextColor:n})},Wc={name:"Empty",common:_e,self:jc},Uc=Wc,Vc=k("empty",` + display: flex; + flex-direction: column; + align-items: center; + font-size: var(--n-font-size); +`,[B("icon",` + width: var(--n-icon-size); + height: var(--n-icon-size); + font-size: var(--n-icon-size); + line-height: var(--n-icon-size); + color: var(--n-icon-color); + transition: + color .3s var(--n-bezier); + `,[H("+",[B("description",` + margin-top: 8px; + `)])]),B("description",` + transition: color .3s var(--n-bezier); + color: var(--n-text-color); + `),B("extra",` + text-align: center; + transition: color .3s var(--n-bezier); + margin-top: 12px; + color: var(--n-extra-text-color); + `)]),Kc=Object.assign(Object.assign({},re.props),{description:String,showDescription:{type:Boolean,default:!0},showIcon:{type:Boolean,default:!0},size:{type:String,default:"medium"},renderIcon:Function}),Jo=K({name:"Empty",props:Kc,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:r}=Ie(e),n=re("Empty","-empty",Vc,Uc,e,t),{localeRef:o}=Xr("Empty"),i=ie(lo,null),l=D(()=>{var c,f,h;return(c=e.description)!==null&&c!==void 0?c:(h=(f=i==null?void 0:i.mergedComponentPropsRef.value)===null||f===void 0?void 0:f.Empty)===null||h===void 0?void 0:h.description}),s=D(()=>{var c,f;return((f=(c=i==null?void 0:i.mergedComponentPropsRef.value)===null||c===void 0?void 0:c.Empty)===null||f===void 0?void 0:f.renderIcon)||(()=>u(lc,null))}),a=D(()=>{const{size:c}=e,{common:{cubicBezierEaseInOut:f},self:{[ne("iconSize",c)]:h,[ne("fontSize",c)]:p,textColor:y,iconColor:S,extraTextColor:m}}=n.value;return{"--n-icon-size":h,"--n-font-size":p,"--n-bezier":f,"--n-text-color":y,"--n-icon-color":S,"--n-extra-text-color":m}}),d=r?Ae("empty",D(()=>{let c="";const{size:f}=e;return c+=f[0],c}),a,e):void 0;return{mergedClsPrefix:t,mergedRenderIcon:s,localizedDescription:D(()=>l.value||o.value.description),cssVars:r?void 0:a,themeClass:d==null?void 0:d.themeClass,onRender:d==null?void 0:d.onRender}},render(){const{$slots:e,mergedClsPrefix:t,onRender:r}=this;return r==null||r(),u("div",{class:[`${t}-empty`,this.themeClass],style:this.cssVars},this.showIcon?u("div",{class:`${t}-empty__icon`},e.icon?e.icon():u(ce,{clsPrefix:t},{default:this.mergedRenderIcon})):null,this.showDescription?u("div",{class:`${t}-empty__description`},e.default?e.default():this.localizedDescription):null,e.extra?u("div",{class:`${t}-empty__extra`},e.extra()):null)}}),qc={space:"6px",spaceArrow:"10px",arrowOffset:"10px",arrowOffsetVertical:"10px",arrowHeight:"6px",padding:"8px 14px"},Gc=e=>{const{boxShadow2:t,popoverColor:r,textColor2:n,borderRadius:o,fontSize:i,dividerColor:l}=e;return Object.assign(Object.assign({},qc),{fontSize:i,borderRadius:o,color:r,dividerColor:l,textColor:n,boxShadow:t})},Xc={name:"Popover",common:_e,self:Gc},Zr=Xc,gr={top:"bottom",bottom:"top",left:"right",right:"left"},me="var(--n-arrow-height) * 1.414",Yc=H([k("popover",` + transition: + box-shadow .3s var(--n-bezier), + background-color .3s var(--n-bezier), + color .3s var(--n-bezier); + position: relative; + font-size: var(--n-font-size); + color: var(--n-text-color); + box-shadow: var(--n-box-shadow); + word-break: break-word; + `,[H(">",[k("scrollbar",` + height: inherit; + max-height: inherit; + `)]),ze("raw",` + background-color: var(--n-color); + border-radius: var(--n-border-radius); + `,[ze("scrollable",[ze("show-header-or-footer","padding: var(--n-padding);")])]),B("header",` + padding: var(--n-padding); + border-bottom: 1px solid var(--n-divider-color); + transition: border-color .3s var(--n-bezier); + `),B("footer",` + padding: var(--n-padding); + border-top: 1px solid var(--n-divider-color); + transition: border-color .3s var(--n-bezier); + `),W("scrollable, show-header-or-footer",[B("content",` + padding: var(--n-padding); + `)])]),k("popover-shared",` + transform-origin: inherit; + `,[k("popover-arrow-wrapper",` + position: absolute; + overflow: hidden; + pointer-events: none; + `,[k("popover-arrow",` + transition: background-color .3s var(--n-bezier); + position: absolute; + display: block; + width: calc(${me}); + height: calc(${me}); + box-shadow: 0 0 8px 0 rgba(0, 0, 0, .12); + transform: rotate(45deg); + background-color: var(--n-color); + pointer-events: all; + `)]),H("&.popover-transition-enter-from, &.popover-transition-leave-to",` + opacity: 0; + transform: scale(.85); + `),H("&.popover-transition-enter-to, &.popover-transition-leave-from",` + transform: scale(1); + opacity: 1; + `),H("&.popover-transition-enter-active",` + transition: + box-shadow .3s var(--n-bezier), + background-color .3s var(--n-bezier), + color .3s var(--n-bezier), + opacity .15s var(--n-bezier-ease-out), + transform .15s var(--n-bezier-ease-out); + `),H("&.popover-transition-leave-active",` + transition: + box-shadow .3s var(--n-bezier), + background-color .3s var(--n-bezier), + color .3s var(--n-bezier), + opacity .15s var(--n-bezier-ease-in), + transform .15s var(--n-bezier-ease-in); + `)]),Me("top-start",` + top: calc(${me} / -2); + left: calc(${qe("top-start")} - var(--v-offset-left)); + `),Me("top",` + top: calc(${me} / -2); + transform: translateX(calc(${me} / -2)) rotate(45deg); + left: 50%; + `),Me("top-end",` + top: calc(${me} / -2); + right: calc(${qe("top-end")} + var(--v-offset-left)); + `),Me("bottom-start",` + bottom: calc(${me} / -2); + left: calc(${qe("bottom-start")} - var(--v-offset-left)); + `),Me("bottom",` + bottom: calc(${me} / -2); + transform: translateX(calc(${me} / -2)) rotate(45deg); + left: 50%; + `),Me("bottom-end",` + bottom: calc(${me} / -2); + right: calc(${qe("bottom-end")} + var(--v-offset-left)); + `),Me("left-start",` + left: calc(${me} / -2); + top: calc(${qe("left-start")} - var(--v-offset-top)); + `),Me("left",` + left: calc(${me} / -2); + transform: translateY(calc(${me} / -2)) rotate(45deg); + top: 50%; + `),Me("left-end",` + left: calc(${me} / -2); + bottom: calc(${qe("left-end")} + var(--v-offset-top)); + `),Me("right-start",` + right: calc(${me} / -2); + top: calc(${qe("right-start")} - var(--v-offset-top)); + `),Me("right",` + right: calc(${me} / -2); + transform: translateY(calc(${me} / -2)) rotate(45deg); + top: 50%; + `),Me("right-end",` + right: calc(${me} / -2); + bottom: calc(${qe("right-end")} + var(--v-offset-top)); + `),...du({top:["right-start","left-start"],right:["top-end","bottom-end"],bottom:["right-end","left-end"],left:["top-start","bottom-start"]},(e,t)=>{const r=["right","left"].includes(t),n=r?"width":"height";return e.map(o=>{const i=o.split("-")[1]==="end",s=`calc((${`var(--v-target-${n}, 0px)`} - ${me}) / 2)`,a=qe(o);return H(`[v-placement="${o}"] >`,[k("popover-shared",[W("center-arrow",[k("popover-arrow",`${t}: calc(max(${s}, ${a}) ${i?"+":"-"} var(--v-offset-${r?"left":"top"}));`)])])])})})]);function qe(e){return["top","bottom"].includes(e.split("-")[0])?"var(--n-arrow-offset)":"var(--n-arrow-offset-vertical)"}function Me(e,t){const r=e.split("-")[0],n=["top","bottom"].includes(r)?"height: var(--n-space-arrow);":"width: var(--n-space-arrow);";return H(`[v-placement="${e}"] >`,[k("popover-shared",` + margin-${gr[r]}: var(--n-space); + `,[W("show-arrow",` + margin-${gr[r]}: var(--n-space-arrow); + `),W("overlap",` + margin: 0; + `),Xa("popover-arrow-wrapper",` + right: 0; + left: 0; + top: 0; + bottom: 0; + ${r}: 100%; + ${gr[r]}: auto; + ${n} + `,[k("popover-arrow",t)])])])}const Qo=Object.assign(Object.assign({},re.props),{to:gt.propTo,show:Boolean,trigger:String,showArrow:Boolean,delay:Number,duration:Number,raw:Boolean,arrowPointToCenter:Boolean,arrowStyle:[String,Object],displayDirective:String,x:Number,y:Number,flip:Boolean,overlap:Boolean,placement:String,width:[Number,String],keepAliveOnHover:Boolean,scrollable:Boolean,contentStyle:[Object,String],headerStyle:[Object,String],footerStyle:[Object,String],internalDeactivateImmediately:Boolean,animated:Boolean,onClickoutside:Function,internalTrapFocus:Boolean,internalOnAfterLeave:Function,minWidth:Number,maxWidth:Number}),ei=({arrowStyle:e,clsPrefix:t})=>u("div",{key:"__popover-arrow__",class:`${t}-popover-arrow-wrapper`},u("div",{class:`${t}-popover-arrow`,style:e})),Zc=K({name:"PopoverBody",inheritAttrs:!1,props:Qo,setup(e,{slots:t,attrs:r}){const{namespaceRef:n,mergedClsPrefixRef:o,inlineThemeDisabled:i}=Ie(e),l=re("Popover","-popover",Yc,Zr,e,o),s=L(null),a=ie("NPopover"),d=L(null),c=L(e.show),f=L(!1);ot(()=>{const{show:b}=e;b&&!Sl()&&!e.internalDeactivateImmediately&&(f.value=!0)});const h=D(()=>{const{trigger:b,onClickoutside:R}=e,P=[],{positionManuallyRef:{value:T}}=a;return T||(b==="click"&&!R&&P.push([cn,w,void 0,{capture:!0}]),b==="hover"&&P.push([Bl,O])),R&&P.push([cn,w,void 0,{capture:!0}]),(e.displayDirective==="show"||e.animated&&f.value)&&P.push([so,e.show]),P}),p=D(()=>{const b=e.width==="trigger"?void 0:Fe(e.width),R=[];b&&R.push({width:b});const{maxWidth:P,minWidth:T}=e;return P&&R.push({maxWidth:Fe(P)}),T&&R.push({maxWidth:Fe(T)}),i||R.push(y.value),R}),y=D(()=>{const{common:{cubicBezierEaseInOut:b,cubicBezierEaseIn:R,cubicBezierEaseOut:P},self:{space:T,spaceArrow:N,padding:E,fontSize:_,textColor:C,dividerColor:$,color:F,boxShadow:A,borderRadius:q,arrowHeight:Q,arrowOffset:fe,arrowOffsetVertical:ye}}=l.value;return{"--n-box-shadow":A,"--n-bezier":b,"--n-bezier-ease-in":R,"--n-bezier-ease-out":P,"--n-font-size":_,"--n-text-color":C,"--n-color":F,"--n-divider-color":$,"--n-border-radius":q,"--n-arrow-height":Q,"--n-arrow-offset":fe,"--n-arrow-offset-vertical":ye,"--n-padding":E,"--n-space":T,"--n-space-arrow":N}}),S=i?Ae("popover",void 0,y,e):void 0;a.setBodyInstance({syncPosition:m}),Je(()=>{a.setBodyInstance(null)}),Ce(Z(e,"show"),b=>{e.animated||(b?c.value=!0:c.value=!1)});function m(){var b;(b=s.value)===null||b===void 0||b.syncPosition()}function x(b){e.trigger==="hover"&&e.keepAliveOnHover&&e.show&&a.handleMouseEnter(b)}function z(b){e.trigger==="hover"&&e.keepAliveOnHover&&a.handleMouseLeave(b)}function O(b){e.trigger==="hover"&&!g().contains(fn(b))&&a.handleMouseMoveOutside(b)}function w(b){(e.trigger==="click"&&!g().contains(fn(b))||e.onClickoutside)&&a.handleClickOutside(b)}function g(){return a.getTriggerElement()}Pe(Jt,d),Pe(Er,null),Pe(Lr,null);function M(){if(S==null||S.onRender(),!(e.displayDirective==="show"||e.show||e.animated&&f.value))return null;let R;const P=a.internalRenderBodyRef.value,{value:T}=o;if(P)R=P([`${T}-popover-shared`,S==null?void 0:S.themeClass.value,e.overlap&&`${T}-popover-shared--overlap`,e.showArrow&&`${T}-popover-shared--show-arrow`,e.arrowPointToCenter&&`${T}-popover-shared--center-arrow`],d,p.value,x,z);else{const{value:N}=a.extraClassRef,{internalTrapFocus:E}=e,_=!hn(t.header)||!hn(t.footer),C=()=>{var $;const F=_?u(je,null,Ge(t.header,Q=>Q?u("div",{class:`${T}-popover__header`,style:e.headerStyle},Q):null),Ge(t.default,Q=>Q?u("div",{class:`${T}-popover__content`,style:e.contentStyle},t):null),Ge(t.footer,Q=>Q?u("div",{class:`${T}-popover__footer`,style:e.footerStyle},Q):null)):e.scrollable?($=t.default)===null||$===void 0?void 0:$.call(t):u("div",{class:`${T}-popover__content`,style:e.contentStyle},t),A=e.scrollable?u(uo,{contentClass:_?void 0:`${T}-popover__content`,contentStyle:_?void 0:e.contentStyle},{default:()=>F}):F,q=e.showArrow?ei({arrowStyle:e.arrowStyle,clsPrefix:T}):null;return[A,q]};R=u("div",Ot({class:[`${T}-popover`,`${T}-popover-shared`,S==null?void 0:S.themeClass.value,N.map($=>`${T}-${$}`),{[`${T}-popover--scrollable`]:e.scrollable,[`${T}-popover--show-header-or-footer`]:_,[`${T}-popover--raw`]:e.raw,[`${T}-popover-shared--overlap`]:e.overlap,[`${T}-popover-shared--show-arrow`]:e.showArrow,[`${T}-popover-shared--center-arrow`]:e.arrowPointToCenter}],ref:d,style:p.value,onKeydown:a.handleKeydown,onMouseenter:x,onMouseleave:z},r),E?u(Ya,{active:e.show,autoFocus:!0},{default:C}):C())}return pt(R,h.value)}return{displayed:f,namespace:n,isMounted:a.isMountedRef,zIndex:a.zIndexRef,followerRef:s,adjustedTo:gt(e),followerEnabled:c,renderContentNode:M}},render(){return u(Ro,{ref:"followerRef",zIndex:this.zIndex,show:this.show,enabled:this.followerEnabled,to:this.adjustedTo,x:this.x,y:this.y,flip:this.flip,placement:this.placement,containerClass:this.namespace,overlap:this.overlap,width:this.width==="trigger"?"target":void 0,teleportDisabled:this.adjustedTo===gt.tdkey},{default:()=>this.animated?u($t,{name:"popover-transition",appear:this.isMounted,onEnter:()=>{this.followerEnabled=!0},onAfterLeave:()=>{var e;(e=this.internalOnAfterLeave)===null||e===void 0||e.call(this),this.followerEnabled=!1,this.displayed=!1}},{default:this.renderContentNode}):this.renderContentNode()})}}),Jc=Object.keys(Qo),Qc={focus:["onFocus","onBlur"],click:["onClick"],hover:["onMouseenter","onMouseleave"],manual:[],nested:["onFocus","onBlur","onMouseenter","onMouseleave","onClick"]};function ef(e,t,r){Qc[t].forEach(n=>{e.props?e.props=Object.assign({},e.props):e.props={};const o=e.props[n],i=r[n];o?e.props[n]=(...l)=>{o(...l),i(...l)}:e.props[n]=i})}const tf=he("").type,nr={show:{type:Boolean,default:void 0},defaultShow:Boolean,showArrow:{type:Boolean,default:!0},trigger:{type:String,default:"hover"},delay:{type:Number,default:100},duration:{type:Number,default:100},raw:Boolean,placement:{type:String,default:"top"},x:Number,y:Number,arrowPointToCenter:Boolean,disabled:Boolean,getDisabled:Function,displayDirective:{type:String,default:"if"},arrowStyle:[String,Object],flip:{type:Boolean,default:!0},animated:{type:Boolean,default:!0},width:{type:[Number,String],default:void 0},overlap:Boolean,keepAliveOnHover:{type:Boolean,default:!0},zIndex:Number,to:gt.propTo,scrollable:Boolean,contentStyle:[Object,String],headerStyle:[Object,String],footerStyle:[Object,String],onClickoutside:Function,"onUpdate:show":[Function,Array],onUpdateShow:[Function,Array],internalDeactivateImmediately:Boolean,internalSyncTargetWithParent:Boolean,internalInheritedEventHandlers:{type:Array,default:()=>[]},internalTrapFocus:Boolean,internalExtraClass:{type:Array,default:()=>[]},onShow:[Function,Array],onHide:[Function,Array],arrow:{type:Boolean,default:void 0},minWidth:Number,maxWidth:Number},rf=Object.assign(Object.assign(Object.assign({},re.props),nr),{internalOnAfterLeave:Function,internalRenderBody:Function}),ti=K({name:"Popover",inheritAttrs:!1,props:rf,__popover__:!0,setup(e){const t=Dr(),r=L(null),n=D(()=>e.show),o=L(e.defaultShow),i=tr(n,o),l=Be(()=>e.disabled?!1:i.value),s=()=>{if(e.disabled)return!0;const{getDisabled:C}=e;return!!(C!=null&&C())},a=()=>s()?!1:i.value,d=zl(e,["arrow","showArrow"]),c=D(()=>e.overlap?!1:d.value);let f=null;const h=L(null),p=L(null),y=Be(()=>e.x!==void 0&&e.y!==void 0);function S(C){const{"onUpdate:show":$,onUpdateShow:F,onShow:A,onHide:q}=e;o.value=C,$&&ue($,C),F&&ue(F,C),C&&A&&ue(A,!0),C&&q&&ue(q,!1)}function m(){f&&f.syncPosition()}function x(){const{value:C}=h;C&&(window.clearTimeout(C),h.value=null)}function z(){const{value:C}=p;C&&(window.clearTimeout(C),p.value=null)}function O(){const C=s();if(e.trigger==="focus"&&!C){if(a())return;S(!0)}}function w(){const C=s();if(e.trigger==="focus"&&!C){if(!a())return;S(!1)}}function g(){const C=s();if(e.trigger==="hover"&&!C){if(z(),h.value!==null||a())return;const $=()=>{S(!0),h.value=null},{delay:F}=e;F===0?$():h.value=window.setTimeout($,F)}}function M(){const C=s();if(e.trigger==="hover"&&!C){if(x(),p.value!==null||!a())return;const $=()=>{S(!1),p.value=null},{duration:F}=e;F===0?$():p.value=window.setTimeout($,F)}}function b(){M()}function R(C){var $;a()&&(e.trigger==="click"&&(x(),z(),S(!1)),($=e.onClickoutside)===null||$===void 0||$.call(e,C))}function P(){if(e.trigger==="click"&&!s()){x(),z();const C=!a();S(C)}}function T(C){e.internalTrapFocus&&C.key==="Escape"&&(x(),z(),S(!1))}function N(C){o.value=C}function E(){var C;return(C=r.value)===null||C===void 0?void 0:C.targetRef}function _(C){f=C}return Pe("NPopover",{getTriggerElement:E,handleKeydown:T,handleMouseEnter:g,handleMouseLeave:M,handleClickOutside:R,handleMouseMoveOutside:b,setBodyInstance:_,positionManuallyRef:y,isMountedRef:t,zIndexRef:Z(e,"zIndex"),extraClassRef:Z(e,"internalExtraClass"),internalRenderBodyRef:Z(e,"internalRenderBody")}),ot(()=>{i.value&&s()&&S(!1)}),{binderInstRef:r,positionManually:y,mergedShowConsideringDisabledProp:l,uncontrolledShow:o,mergedShowArrow:c,getMergedShow:a,setShow:N,handleClick:P,handleMouseEnter:g,handleMouseLeave:M,handleFocus:O,handleBlur:w,syncPosition:m}},render(){var e;const{positionManually:t,$slots:r}=this;let n,o=!1;if(!t&&(r.activator?n=pn(r,"activator"):n=pn(r,"trigger"),n)){n=Za(n),n=n.type===tf?u("span",[n]):n;const i={onClick:this.handleClick,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onFocus:this.handleFocus,onBlur:this.handleBlur};if(!((e=n.type)===null||e===void 0)&&e.__popover__)o=!0,n.props||(n.props={internalSyncTargetWithParent:!0,internalInheritedEventHandlers:[]}),n.props.internalSyncTargetWithParent=!0,n.props.internalInheritedEventHandlers?n.props.internalInheritedEventHandlers=[i,...n.props.internalInheritedEventHandlers]:n.props.internalInheritedEventHandlers=[i];else{const{internalInheritedEventHandlers:l}=this,s=[i,...l],a={onBlur:d=>{s.forEach(c=>{c.onBlur(d)})},onFocus:d=>{s.forEach(c=>{c.onFocus(d)})},onClick:d=>{s.forEach(c=>{c.onClick(d)})},onMouseenter:d=>{s.forEach(c=>{c.onMouseenter(d)})},onMouseleave:d=>{s.forEach(c=>{c.onMouseleave(d)})}};ef(n,l?"nested":t?"manual":this.trigger,a)}}return u(To,{ref:"binderInstRef",syncTarget:!o,syncTargetWithParent:this.internalSyncTargetWithParent},{default:()=>{this.mergedShowConsideringDisabledProp;const i=this.getMergedShow();return[this.internalTrapFocus&&i?pt(u("div",{style:{position:"fixed",inset:0}}),[[Fr,{enabled:i,zIndex:this.zIndex}]]):null,t?null:u(Io,null,{default:()=>n}),u(Zc,co(this.$props,Jc,Object.assign(Object.assign({},this.$attrs),{showArrow:this.mergedShowArrow,show:i})),{default:()=>{var l,s;return(s=(l=this.$slots).default)===null||s===void 0?void 0:s.call(l)},header:()=>{var l,s;return(s=(l=this.$slots).header)===null||s===void 0?void 0:s.call(l)},footer:()=>{var l,s;return(s=(l=this.$slots).footer)===null||s===void 0?void 0:s.call(l)}})]}})}}),nf={closeIconSizeTiny:"12px",closeIconSizeSmall:"12px",closeIconSizeMedium:"14px",closeIconSizeLarge:"14px",closeSizeTiny:"16px",closeSizeSmall:"16px",closeSizeMedium:"18px",closeSizeLarge:"18px",padding:"0 7px",closeMargin:"0 0 0 4px",closeMarginRtl:"0 4px 0 0"},of=e=>{const{textColor2:t,primaryColorHover:r,primaryColorPressed:n,primaryColor:o,infoColor:i,successColor:l,warningColor:s,errorColor:a,baseColor:d,borderColor:c,opacityDisabled:f,tagColor:h,closeIconColor:p,closeIconColorHover:y,closeIconColorPressed:S,borderRadiusSmall:m,fontSizeMini:x,fontSizeTiny:z,fontSizeSmall:O,fontSizeMedium:w,heightMini:g,heightTiny:M,heightSmall:b,heightMedium:R,closeColorHover:P,closeColorPressed:T,buttonColor2Hover:N,buttonColor2Pressed:E,fontWeightStrong:_}=e;return Object.assign(Object.assign({},nf),{closeBorderRadius:m,heightTiny:g,heightSmall:M,heightMedium:b,heightLarge:R,borderRadius:m,opacityDisabled:f,fontSizeTiny:x,fontSizeSmall:z,fontSizeMedium:O,fontSizeLarge:w,fontWeightStrong:_,textColorCheckable:t,textColorHoverCheckable:t,textColorPressedCheckable:t,textColorChecked:d,colorCheckable:"#0000",colorHoverCheckable:N,colorPressedCheckable:E,colorChecked:o,colorCheckedHover:r,colorCheckedPressed:n,border:`1px solid ${c}`,textColor:t,color:h,colorBordered:"rgb(250, 250, 252)",closeIconColor:p,closeIconColorHover:y,closeIconColorPressed:S,closeColorHover:P,closeColorPressed:T,borderPrimary:`1px solid ${te(o,{alpha:.3})}`,textColorPrimary:o,colorPrimary:te(o,{alpha:.12}),colorBorderedPrimary:te(o,{alpha:.1}),closeIconColorPrimary:o,closeIconColorHoverPrimary:o,closeIconColorPressedPrimary:o,closeColorHoverPrimary:te(o,{alpha:.12}),closeColorPressedPrimary:te(o,{alpha:.18}),borderInfo:`1px solid ${te(i,{alpha:.3})}`,textColorInfo:i,colorInfo:te(i,{alpha:.12}),colorBorderedInfo:te(i,{alpha:.1}),closeIconColorInfo:i,closeIconColorHoverInfo:i,closeIconColorPressedInfo:i,closeColorHoverInfo:te(i,{alpha:.12}),closeColorPressedInfo:te(i,{alpha:.18}),borderSuccess:`1px solid ${te(l,{alpha:.3})}`,textColorSuccess:l,colorSuccess:te(l,{alpha:.12}),colorBorderedSuccess:te(l,{alpha:.1}),closeIconColorSuccess:l,closeIconColorHoverSuccess:l,closeIconColorPressedSuccess:l,closeColorHoverSuccess:te(l,{alpha:.12}),closeColorPressedSuccess:te(l,{alpha:.18}),borderWarning:`1px solid ${te(s,{alpha:.35})}`,textColorWarning:s,colorWarning:te(s,{alpha:.15}),colorBorderedWarning:te(s,{alpha:.12}),closeIconColorWarning:s,closeIconColorHoverWarning:s,closeIconColorPressedWarning:s,closeColorHoverWarning:te(s,{alpha:.12}),closeColorPressedWarning:te(s,{alpha:.18}),borderError:`1px solid ${te(a,{alpha:.23})}`,textColorError:a,colorError:te(a,{alpha:.1}),colorBorderedError:te(a,{alpha:.08}),closeIconColorError:a,closeIconColorHoverError:a,closeIconColorPressedError:a,closeColorHoverError:te(a,{alpha:.12}),closeColorPressedError:te(a,{alpha:.18})})},af={name:"Tag",common:_e,self:of},lf=af,sf={color:Object,type:{type:String,default:"default"},round:Boolean,size:{type:String,default:"medium"},closable:Boolean,disabled:{type:Boolean,default:void 0}},df=k("tag",` + white-space: nowrap; + position: relative; + box-sizing: border-box; + cursor: default; + display: inline-flex; + align-items: center; + flex-wrap: nowrap; + padding: var(--n-padding); + border-radius: var(--n-border-radius); + color: var(--n-text-color); + background-color: var(--n-color); + transition: + border-color .3s var(--n-bezier), + background-color .3s var(--n-bezier), + color .3s var(--n-bezier), + box-shadow .3s var(--n-bezier), + opacity .3s var(--n-bezier); + line-height: 1; + height: var(--n-height); + font-size: var(--n-font-size); +`,[W("strong",` + font-weight: var(--n-font-weight-strong); + `),B("border",` + pointer-events: none; + position: absolute; + left: 0; + right: 0; + top: 0; + bottom: 0; + border-radius: inherit; + border: var(--n-border); + transition: border-color .3s var(--n-bezier); + `),B("icon",` + display: flex; + margin: 0 4px 0 0; + color: var(--n-text-color); + transition: color .3s var(--n-bezier); + font-size: var(--n-avatar-size-override); + `),B("avatar",` + display: flex; + margin: 0 6px 0 0; + `),B("close",` + margin: var(--n-close-margin); + transition: + background-color .3s var(--n-bezier), + color .3s var(--n-bezier); + `),W("round",` + padding: 0 calc(var(--n-height) / 3); + border-radius: calc(var(--n-height) / 2); + `,[B("icon",` + margin: 0 4px 0 calc((var(--n-height) - 8px) / -2); + `),B("avatar",` + margin: 0 6px 0 calc((var(--n-height) - 8px) / -2); + `),W("closable",` + padding: 0 calc(var(--n-height) / 4) 0 calc(var(--n-height) / 3); + `)]),W("icon, avatar",[W("round",` + padding: 0 calc(var(--n-height) / 3) 0 calc(var(--n-height) / 2); + `)]),W("disabled",` + cursor: not-allowed !important; + opacity: var(--n-opacity-disabled); + `),W("checkable",` + cursor: pointer; + box-shadow: none; + color: var(--n-text-color-checkable); + background-color: var(--n-color-checkable); + `,[ze("disabled",[H("&:hover","background-color: var(--n-color-hover-checkable);",[ze("checked","color: var(--n-text-color-hover-checkable);")]),H("&:active","background-color: var(--n-color-pressed-checkable);",[ze("checked","color: var(--n-text-color-pressed-checkable);")])]),W("checked",` + color: var(--n-text-color-checked); + background-color: var(--n-color-checked); + `,[ze("disabled",[H("&:hover","background-color: var(--n-color-checked-hover);"),H("&:active","background-color: var(--n-color-checked-pressed);")])])])]),uf=Object.assign(Object.assign(Object.assign({},re.props),sf),{bordered:{type:Boolean,default:void 0},checked:Boolean,checkable:Boolean,strong:Boolean,triggerClickOnClose:Boolean,onClose:[Array,Function],onMouseenter:Function,onMouseleave:Function,"onUpdate:checked":Function,onUpdateChecked:Function,internalCloseFocusable:{type:Boolean,default:!0},internalCloseIsButtonTag:{type:Boolean,default:!0},onCheckedChange:Function}),cf=We("n-tag"),ri=K({name:"Tag",props:uf,setup(e){const t=L(null),{mergedBorderedRef:r,mergedClsPrefixRef:n,inlineThemeDisabled:o,mergedRtlRef:i}=Ie(e),l=re("Tag","-tag",df,lf,e,n);Pe(cf,{roundRef:Z(e,"round")});function s(p){if(!e.disabled&&e.checkable){const{checked:y,onCheckedChange:S,onUpdateChecked:m,"onUpdate:checked":x}=e;m&&m(!y),x&&x(!y),S&&S(!y)}}function a(p){if(e.triggerClickOnClose||p.stopPropagation(),!e.disabled){const{onClose:y}=e;y&&ue(y,p)}}const d={setTextContent(p){const{value:y}=t;y&&(y.textContent=p)}},c=_t("Tag",i,n),f=D(()=>{const{type:p,size:y,color:{color:S,textColor:m}={}}=e,{common:{cubicBezierEaseInOut:x},self:{padding:z,closeMargin:O,closeMarginRtl:w,borderRadius:g,opacityDisabled:M,textColorCheckable:b,textColorHoverCheckable:R,textColorPressedCheckable:P,textColorChecked:T,colorCheckable:N,colorHoverCheckable:E,colorPressedCheckable:_,colorChecked:C,colorCheckedHover:$,colorCheckedPressed:F,closeBorderRadius:A,fontWeightStrong:q,[ne("colorBordered",p)]:Q,[ne("closeSize",y)]:fe,[ne("closeIconSize",y)]:ye,[ne("fontSize",y)]:ge,[ne("height",y)]:Re,[ne("color",p)]:oe,[ne("textColor",p)]:ke,[ne("border",p)]:we,[ne("closeIconColor",p)]:ee,[ne("closeIconColorHover",p)]:Le,[ne("closeIconColorPressed",p)]:Ve,[ne("closeColorHover",p)]:Ke,[ne("closeColorPressed",p)]:Ee}}=l.value;return{"--n-font-weight-strong":q,"--n-avatar-size-override":`calc(${Re} - 8px)`,"--n-bezier":x,"--n-border-radius":g,"--n-border":we,"--n-close-icon-size":ye,"--n-close-color-pressed":Ee,"--n-close-color-hover":Ke,"--n-close-border-radius":A,"--n-close-icon-color":ee,"--n-close-icon-color-hover":Le,"--n-close-icon-color-pressed":Ve,"--n-close-icon-color-disabled":ee,"--n-close-margin":O,"--n-close-margin-rtl":w,"--n-close-size":fe,"--n-color":S||(r.value?Q:oe),"--n-color-checkable":N,"--n-color-checked":C,"--n-color-checked-hover":$,"--n-color-checked-pressed":F,"--n-color-hover-checkable":E,"--n-color-pressed-checkable":_,"--n-font-size":ge,"--n-height":Re,"--n-opacity-disabled":M,"--n-padding":z,"--n-text-color":m||ke,"--n-text-color-checkable":b,"--n-text-color-checked":T,"--n-text-color-hover-checkable":R,"--n-text-color-pressed-checkable":P}}),h=o?Ae("tag",D(()=>{let p="";const{type:y,size:S,color:{color:m,textColor:x}={}}=e;return p+=y[0],p+=S[0],m&&(p+=`a${vn(m)}`),x&&(p+=`b${vn(x)}`),r.value&&(p+="c"),p}),f,e):void 0;return Object.assign(Object.assign({},d),{rtlEnabled:c,mergedClsPrefix:n,contentRef:t,mergedBordered:r,handleClick:s,handleCloseClick:a,cssVars:o?void 0:f,themeClass:h==null?void 0:h.themeClass,onRender:h==null?void 0:h.onRender})},render(){var e,t;const{mergedClsPrefix:r,rtlEnabled:n,closable:o,color:{borderColor:i}={},round:l,onRender:s,$slots:a}=this;s==null||s();const d=Ge(a.avatar,f=>f&&u("div",{class:`${r}-tag__avatar`},f)),c=Ge(a.icon,f=>f&&u("div",{class:`${r}-tag__icon`},f));return u("div",{class:[`${r}-tag`,this.themeClass,{[`${r}-tag--rtl`]:n,[`${r}-tag--strong`]:this.strong,[`${r}-tag--disabled`]:this.disabled,[`${r}-tag--checkable`]:this.checkable,[`${r}-tag--checked`]:this.checkable&&this.checked,[`${r}-tag--round`]:l,[`${r}-tag--avatar`]:d,[`${r}-tag--icon`]:c,[`${r}-tag--closable`]:o}],style:this.cssVars,onClick:this.handleClick,onMouseenter:this.onMouseenter,onMouseleave:this.onMouseleave},c||d,u("span",{class:`${r}-tag__content`,ref:"contentRef"},(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e)),!this.checkable&&o?u(Ja,{clsPrefix:r,class:`${r}-tag__close`,disabled:this.disabled,onClick:this.handleCloseClick,focusable:this.internalCloseFocusable,round:l,isButtonTag:this.internalCloseIsButtonTag,absolute:!0}):null,!this.checkable&&this.mergedBordered?u("div",{class:`${r}-tag__border`,style:{borderColor:i}}):null)}}),ff=k("base-clear",` + flex-shrink: 0; + height: 1em; + width: 1em; + position: relative; +`,[H(">",[B("clear",` + font-size: var(--n-clear-size); + height: 1em; + width: 1em; + cursor: pointer; + color: var(--n-clear-color); + transition: color .3s var(--n-bezier); + display: flex; + `,[H("&:hover",` + color: var(--n-clear-color-hover)!important; + `),H("&:active",` + color: var(--n-clear-color-pressed)!important; + `)]),B("placeholder",` + display: flex; + `),B("clear, placeholder",` + position: absolute; + left: 50%; + top: 50%; + transform: translateX(-50%) translateY(-50%); + `,[fo({originalTransform:"translateX(-50%) translateY(-50%)",left:"50%",top:"50%"})])])]),Or=K({name:"BaseClear",props:{clsPrefix:{type:String,required:!0},show:Boolean,onClear:Function},setup(e){return ho("-base-clear",ff,Z(e,"clsPrefix")),{handleMouseDown(t){t.preventDefault()}}},render(){const{clsPrefix:e}=this;return u("div",{class:`${e}-base-clear`},u(po,null,{default:()=>{var t,r;return this.show?u("div",{key:"dismiss",class:`${e}-base-clear__clear`,onClick:this.onClear,onMousedown:this.handleMouseDown,"data-clear":!0},ft(this.$slots.icon,()=>[u(ce,{clsPrefix:e},{default:()=>u(uc,null)})])):u("div",{key:"icon",class:`${e}-base-clear__placeholder`},(r=(t=this.$slots).placeholder)===null||r===void 0?void 0:r.call(t))}}))}}),hf=K({name:"InternalSelectionSuffix",props:{clsPrefix:{type:String,required:!0},showArrow:{type:Boolean,default:void 0},showClear:{type:Boolean,default:void 0},loading:{type:Boolean,default:!1},onClear:Function},setup(e,{slots:t}){return()=>{const{clsPrefix:r}=e;return u(Qa,{clsPrefix:r,class:`${r}-base-suffix`,strokeWidth:24,scale:.85,show:e.loading},{default:()=>e.showArrow?u(Or,{clsPrefix:r,show:e.showClear,onClear:e.onClear},{placeholder:()=>u(ce,{clsPrefix:r,class:`${r}-base-suffix__arrow`},{default:()=>ft(t.default,()=>[u(dc,null)])})}):null})}}}),pf={paddingTiny:"0 8px",paddingSmall:"0 10px",paddingMedium:"0 12px",paddingLarge:"0 14px",clearSize:"16px"},vf=e=>{const{textColor2:t,textColor3:r,textColorDisabled:n,primaryColor:o,primaryColorHover:i,inputColor:l,inputColorDisabled:s,borderColor:a,warningColor:d,warningColorHover:c,errorColor:f,errorColorHover:h,borderRadius:p,lineHeight:y,fontSizeTiny:S,fontSizeSmall:m,fontSizeMedium:x,fontSizeLarge:z,heightTiny:O,heightSmall:w,heightMedium:g,heightLarge:M,actionColor:b,clearColor:R,clearColorHover:P,clearColorPressed:T,placeholderColor:N,placeholderColorDisabled:E,iconColor:_,iconColorDisabled:C,iconColorHover:$,iconColorPressed:F}=e;return Object.assign(Object.assign({},pf),{countTextColorDisabled:n,countTextColor:r,heightTiny:O,heightSmall:w,heightMedium:g,heightLarge:M,fontSizeTiny:S,fontSizeSmall:m,fontSizeMedium:x,fontSizeLarge:z,lineHeight:y,lineHeightTextarea:y,borderRadius:p,iconSize:"16px",groupLabelColor:b,groupLabelTextColor:t,textColor:t,textColorDisabled:n,textDecorationColor:t,caretColor:o,placeholderColor:N,placeholderColorDisabled:E,color:l,colorDisabled:s,colorFocus:l,groupLabelBorder:`1px solid ${a}`,border:`1px solid ${a}`,borderHover:`1px solid ${i}`,borderDisabled:`1px solid ${a}`,borderFocus:`1px solid ${i}`,boxShadowFocus:`0 0 0 2px ${te(o,{alpha:.2})}`,loadingColor:o,loadingColorWarning:d,borderWarning:`1px solid ${d}`,borderHoverWarning:`1px solid ${c}`,colorFocusWarning:l,borderFocusWarning:`1px solid ${c}`,boxShadowFocusWarning:`0 0 0 2px ${te(d,{alpha:.2})}`,caretColorWarning:d,loadingColorError:f,borderError:`1px solid ${f}`,borderHoverError:`1px solid ${h}`,colorFocusError:l,borderFocusError:`1px solid ${h}`,boxShadowFocusError:`0 0 0 2px ${te(f,{alpha:.2})}`,caretColorError:f,clearColor:R,clearColorHover:P,clearColorPressed:T,iconColor:_,iconColorDisabled:C,iconColorHover:$,iconColorPressed:F,suffixTextColor:t})},gf={name:"Input",common:_e,self:vf},mf=gf,ni=We("n-input");function bf(e){let t=0;for(const r of e)t++;return t}function jt(e){return e===""||e==null}function yf(e){const t=L(null);function r(){const{value:i}=e;if(!(i!=null&&i.focus)){o();return}const{selectionStart:l,selectionEnd:s,value:a}=i;if(l==null||s==null){o();return}t.value={start:l,end:s,beforeText:a.slice(0,l),afterText:a.slice(s)}}function n(){var i;const{value:l}=t,{value:s}=e;if(!l||!s)return;const{value:a}=s,{start:d,beforeText:c,afterText:f}=l;let h=a.length;if(a.endsWith(f))h=a.length-f.length;else if(a.startsWith(c))h=c.length;else{const p=c[d-1],y=a.indexOf(p,d-1);y!==-1&&(h=y+1)}(i=s.setSelectionRange)===null||i===void 0||i.call(s,h,h)}function o(){t.value=null}return Ce(e,o),{recordCursor:r,restoreCursor:n}}const Wn=K({name:"InputWordCount",setup(e,{slots:t}){const{mergedValueRef:r,maxlengthRef:n,mergedClsPrefixRef:o,countGraphemesRef:i}=ie(ni),l=D(()=>{const{value:s}=r;return s===null||Array.isArray(s)?0:(i.value||bf)(s)});return()=>{const{value:s}=n,{value:a}=r;return u("span",{class:`${o.value}-input-word-count`},el(t.default,{value:a===null||Array.isArray(a)?"":a},()=>[s===void 0?l.value:`${l.value} / ${s}`]))}}}),wf=k("input",` + max-width: 100%; + cursor: text; + line-height: 1.5; + z-index: auto; + outline: none; + box-sizing: border-box; + position: relative; + display: inline-flex; + border-radius: var(--n-border-radius); + background-color: var(--n-color); + transition: background-color .3s var(--n-bezier); + font-size: var(--n-font-size); + --n-padding-vertical: calc((var(--n-height) - 1.5 * var(--n-font-size)) / 2); +`,[B("input, textarea",` + overflow: hidden; + flex-grow: 1; + position: relative; + `),B("input-el, textarea-el, input-mirror, textarea-mirror, separator, placeholder",` + box-sizing: border-box; + font-size: inherit; + line-height: 1.5; + font-family: inherit; + border: none; + outline: none; + background-color: #0000; + text-align: inherit; + transition: + -webkit-text-fill-color .3s var(--n-bezier), + caret-color .3s var(--n-bezier), + color .3s var(--n-bezier), + text-decoration-color .3s var(--n-bezier); + `),B("input-el, textarea-el",` + -webkit-appearance: none; + scrollbar-width: none; + width: 100%; + min-width: 0; + text-decoration-color: var(--n-text-decoration-color); + color: var(--n-text-color); + caret-color: var(--n-caret-color); + background-color: transparent; + `,[H("&::-webkit-scrollbar, &::-webkit-scrollbar-track-piece, &::-webkit-scrollbar-thumb",` + width: 0; + height: 0; + display: none; + `),H("&::placeholder",` + color: #0000; + -webkit-text-fill-color: transparent !important; + `),H("&:-webkit-autofill ~",[B("placeholder","display: none;")])]),W("round",[ze("textarea","border-radius: calc(var(--n-height) / 2);")]),B("placeholder",` + pointer-events: none; + position: absolute; + left: 0; + right: 0; + top: 0; + bottom: 0; + overflow: hidden; + color: var(--n-placeholder-color); + `,[H("span",` + width: 100%; + display: inline-block; + `)]),W("textarea",[B("placeholder","overflow: visible;")]),ze("autosize","width: 100%;"),W("autosize",[B("textarea-el, input-el",` + position: absolute; + top: 0; + left: 0; + height: 100%; + `)]),k("input-wrapper",` + overflow: hidden; + display: inline-flex; + flex-grow: 1; + position: relative; + padding-left: var(--n-padding-left); + padding-right: var(--n-padding-right); + `),B("input-mirror",` + padding: 0; + height: var(--n-height); + line-height: var(--n-height); + overflow: hidden; + visibility: hidden; + position: static; + white-space: pre; + pointer-events: none; + `),B("input-el",` + padding: 0; + height: var(--n-height); + line-height: var(--n-height); + `,[H("+",[B("placeholder",` + display: flex; + align-items: center; + `)])]),ze("textarea",[B("placeholder","white-space: nowrap;")]),B("eye",` + transition: color .3s var(--n-bezier); + `),W("textarea","width: 100%;",[k("input-word-count",` + position: absolute; + right: var(--n-padding-right); + bottom: var(--n-padding-vertical); + `),W("resizable",[k("input-wrapper",` + resize: vertical; + min-height: var(--n-height); + `)]),B("textarea-el, textarea-mirror, placeholder",` + height: 100%; + padding-left: 0; + padding-right: 0; + padding-top: var(--n-padding-vertical); + padding-bottom: var(--n-padding-vertical); + word-break: break-word; + display: inline-block; + vertical-align: bottom; + box-sizing: border-box; + line-height: var(--n-line-height-textarea); + margin: 0; + resize: none; + white-space: pre-wrap; + `),B("textarea-mirror",` + width: 100%; + pointer-events: none; + overflow: hidden; + visibility: hidden; + position: static; + white-space: pre-wrap; + overflow-wrap: break-word; + `)]),W("pair",[B("input-el, placeholder","text-align: center;"),B("separator",` + display: flex; + align-items: center; + transition: color .3s var(--n-bezier); + color: var(--n-text-color); + white-space: nowrap; + `,[k("icon",` + color: var(--n-icon-color); + `),k("base-icon",` + color: var(--n-icon-color); + `)])]),W("disabled",` + cursor: not-allowed; + background-color: var(--n-color-disabled); + `,[B("border","border: var(--n-border-disabled);"),B("input-el, textarea-el",` + cursor: not-allowed; + color: var(--n-text-color-disabled); + text-decoration-color: var(--n-text-color-disabled); + `),B("placeholder","color: var(--n-placeholder-color-disabled);"),B("separator","color: var(--n-text-color-disabled);",[k("icon",` + color: var(--n-icon-color-disabled); + `),k("base-icon",` + color: var(--n-icon-color-disabled); + `)]),k("input-word-count",` + color: var(--n-count-text-color-disabled); + `),B("suffix, prefix","color: var(--n-text-color-disabled);",[k("icon",` + color: var(--n-icon-color-disabled); + `),k("internal-icon",` + color: var(--n-icon-color-disabled); + `)])]),ze("disabled",[B("eye",` + display: flex; + align-items: center; + justify-content: center; + color: var(--n-icon-color); + cursor: pointer; + `,[H("&:hover",` + color: var(--n-icon-color-hover); + `),H("&:active",` + color: var(--n-icon-color-pressed); + `)]),H("&:hover",[B("state-border","border: var(--n-border-hover);")]),W("focus","background-color: var(--n-color-focus);",[B("state-border",` + border: var(--n-border-focus); + box-shadow: var(--n-box-shadow-focus); + `)])]),B("border, state-border",` + box-sizing: border-box; + position: absolute; + left: 0; + right: 0; + top: 0; + bottom: 0; + pointer-events: none; + border-radius: inherit; + border: var(--n-border); + transition: + box-shadow .3s var(--n-bezier), + border-color .3s var(--n-bezier); + `),B("state-border",` + border-color: #0000; + z-index: 1; + `),B("prefix","margin-right: 4px;"),B("suffix",` + margin-left: 4px; + `),B("suffix, prefix",` + transition: color .3s var(--n-bezier); + flex-wrap: nowrap; + flex-shrink: 0; + line-height: var(--n-height); + white-space: nowrap; + display: inline-flex; + align-items: center; + justify-content: center; + color: var(--n-suffix-text-color); + `,[k("base-loading",` + font-size: var(--n-icon-size); + margin: 0 2px; + color: var(--n-loading-color); + `),k("base-clear",` + font-size: var(--n-icon-size); + `,[B("placeholder",[k("base-icon",` + transition: color .3s var(--n-bezier); + color: var(--n-icon-color); + font-size: var(--n-icon-size); + `)])]),H(">",[k("icon",` + transition: color .3s var(--n-bezier); + color: var(--n-icon-color); + font-size: var(--n-icon-size); + `)]),k("base-icon",` + font-size: var(--n-icon-size); + `)]),k("input-word-count",` + pointer-events: none; + line-height: 1.5; + font-size: .85em; + color: var(--n-count-text-color); + transition: color .3s var(--n-bezier); + margin-left: 4px; + font-variant: tabular-nums; + `),["warning","error"].map(e=>W(`${e}-status`,[ze("disabled",[k("base-loading",` + color: var(--n-loading-color-${e}) + `),B("input-el, textarea-el",` + caret-color: var(--n-caret-color-${e}); + `),B("state-border",` + border: var(--n-border-${e}); + `),H("&:hover",[B("state-border",` + border: var(--n-border-hover-${e}); + `)]),H("&:focus",` + background-color: var(--n-color-focus-${e}); + `,[B("state-border",` + box-shadow: var(--n-box-shadow-focus-${e}); + border: var(--n-border-focus-${e}); + `)]),W("focus",` + background-color: var(--n-color-focus-${e}); + `,[B("state-border",` + box-shadow: var(--n-box-shadow-focus-${e}); + border: var(--n-border-focus-${e}); + `)])])]))]),xf=k("input",[W("disabled",[B("input-el, textarea-el",` + -webkit-text-fill-color: var(--n-text-color-disabled); + `)])]),Cf=Object.assign(Object.assign({},re.props),{bordered:{type:Boolean,default:void 0},type:{type:String,default:"text"},placeholder:[Array,String],defaultValue:{type:[String,Array],default:null},value:[String,Array],disabled:{type:Boolean,default:void 0},size:String,rows:{type:[Number,String],default:3},round:Boolean,minlength:[String,Number],maxlength:[String,Number],clearable:Boolean,autosize:{type:[Boolean,Object],default:!1},pair:Boolean,separator:String,readonly:{type:[String,Boolean],default:!1},passivelyActivated:Boolean,showPasswordOn:String,stateful:{type:Boolean,default:!0},autofocus:Boolean,inputProps:Object,resizable:{type:Boolean,default:!0},showCount:Boolean,loading:{type:Boolean,default:void 0},allowInput:Function,renderCount:Function,onMousedown:Function,onKeydown:Function,onKeyup:Function,onInput:[Function,Array],onFocus:[Function,Array],onBlur:[Function,Array],onClick:[Function,Array],onChange:[Function,Array],onClear:[Function,Array],countGraphemes:Function,status:String,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],textDecoration:[String,Array],attrSize:{type:Number,default:20},onInputBlur:[Function,Array],onInputFocus:[Function,Array],onDeactivate:[Function,Array],onActivate:[Function,Array],onWrapperFocus:[Function,Array],onWrapperBlur:[Function,Array],internalDeactivateOnEnter:Boolean,internalForceFocus:Boolean,internalLoadingBeforeSuffix:Boolean,showPasswordToggle:Boolean}),kt=K({name:"Input",props:Cf,setup(e){const{mergedClsPrefixRef:t,mergedBorderedRef:r,inlineThemeDisabled:n,mergedRtlRef:o}=Ie(e),i=re("Input","-input",wf,mf,e,t);tl&&ho("-input-safari",xf,t);const l=L(null),s=L(null),a=L(null),d=L(null),c=L(null),f=L(null),h=L(null),p=yf(h),y=L(null),{localeRef:S}=Xr("Input"),m=L(e.defaultValue),x=Z(e,"value"),z=tr(x,m),O=vo(e),{mergedSizeRef:w,mergedDisabledRef:g,mergedStatusRef:M}=O,b=L(!1),R=L(!1),P=L(!1),T=L(!1);let N=null;const E=D(()=>{const{placeholder:v,pair:I}=e;return I?Array.isArray(v)?v:v===void 0?["",""]:[v,v]:v===void 0?[S.value.placeholder]:[v]}),_=D(()=>{const{value:v}=P,{value:I}=z,{value:G}=E;return!v&&(jt(I)||Array.isArray(I)&&jt(I[0]))&&G[0]}),C=D(()=>{const{value:v}=P,{value:I}=z,{value:G}=E;return!v&&G[1]&&(jt(I)||Array.isArray(I)&&jt(I[1]))}),$=Be(()=>e.internalForceFocus||b.value),F=Be(()=>{if(g.value||e.readonly||!e.clearable||!$.value&&!R.value)return!1;const{value:v}=z,{value:I}=$;return e.pair?!!(Array.isArray(v)&&(v[0]||v[1]))&&(R.value||I):!!v&&(R.value||I)}),A=D(()=>{const{showPasswordOn:v}=e;if(v)return v;if(e.showPasswordToggle)return"click"}),q=L(!1),Q=D(()=>{const{textDecoration:v}=e;return v?Array.isArray(v)?v.map(I=>({textDecoration:I})):[{textDecoration:v}]:["",""]}),fe=L(void 0),ye=()=>{var v,I;if(e.type==="textarea"){const{autosize:G}=e;if(G&&(fe.value=(I=(v=y.value)===null||v===void 0?void 0:v.$el)===null||I===void 0?void 0:I.offsetWidth),!s.value||typeof G=="boolean")return;const{paddingTop:de,paddingBottom:pe,lineHeight:se}=window.getComputedStyle(s.value),Qe=Number(de.slice(0,-2)),et=Number(pe.slice(0,-2)),tt=Number(se.slice(0,-2)),{value:wt}=a;if(!wt)return;if(G.minRows){const xt=Math.max(G.minRows,1),lr=`${Qe+et+tt*xt}px`;wt.style.minHeight=lr}if(G.maxRows){const xt=`${Qe+et+tt*G.maxRows}px`;wt.style.maxHeight=xt}}},ge=D(()=>{const{maxlength:v}=e;return v===void 0?void 0:Number(v)});Xe(()=>{const{value:v}=z;Array.isArray(v)||ar(v)});const Re=Ar().proxy;function oe(v){const{onUpdateValue:I,"onUpdate:value":G,onInput:de}=e,{nTriggerFormInput:pe}=O;I&&ue(I,v),G&&ue(G,v),de&&ue(de,v),m.value=v,pe()}function ke(v){const{onChange:I}=e,{nTriggerFormChange:G}=O;I&&ue(I,v),m.value=v,G()}function we(v){const{onBlur:I}=e,{nTriggerFormBlur:G}=O;I&&ue(I,v),G()}function ee(v){const{onFocus:I}=e,{nTriggerFormFocus:G}=O;I&&ue(I,v),G()}function Le(v){const{onClear:I}=e;I&&ue(I,v)}function Ve(v){const{onInputBlur:I}=e;I&&ue(I,v)}function Ke(v){const{onInputFocus:I}=e;I&&ue(I,v)}function Ee(){const{onDeactivate:v}=e;v&&ue(v)}function j(){const{onActivate:v}=e;v&&ue(v)}function X(v){const{onClick:I}=e;I&&ue(I,v)}function V(v){const{onWrapperFocus:I}=e;I&&ue(I,v)}function ae(v){const{onWrapperBlur:I}=e;I&&ue(I,v)}function le(){P.value=!0}function $e(v){P.value=!1,v.target===f.value?xe(v,1):xe(v,0)}function xe(v,I=0,G="input"){const de=v.target.value;if(ar(de),v instanceof InputEvent&&!v.isComposing&&(P.value=!1),e.type==="textarea"){const{value:se}=y;se&&se.syncUnifiedContainer()}if(N=de,P.value)return;p.recordCursor();const pe=Oe(de);if(pe)if(!e.pair)G==="input"?oe(de):ke(de);else{let{value:se}=z;Array.isArray(se)?se=[se[0],se[1]]:se=["",""],se[I]=de,G==="input"?oe(se):ke(se)}Re.$forceUpdate(),pe||qt(p.restoreCursor)}function Oe(v){const{countGraphemes:I,maxlength:G,minlength:de}=e;if(I){let se;if(G!==void 0&&(se===void 0&&(se=I(v)),se>Number(G))||de!==void 0&&(se===void 0&&(se=I(v)),se{de.preventDefault(),Se("mouseup",document,I)};if(Te("mouseup",document,I),A.value!=="mousedown")return;q.value=!0;const G=()=>{q.value=!1,Se("mouseup",document,G)};Te("mouseup",document,G)}function Li(v){var I;switch((I=e.onKeydown)===null||I===void 0||I.call(e,v),v.key){case"Escape":ir();break;case"Enter":Ei(v);break}}function Ei(v){var I,G;if(e.passivelyActivated){const{value:de}=T;if(de){e.internalDeactivateOnEnter&&ir();return}v.preventDefault(),e.type==="textarea"?(I=s.value)===null||I===void 0||I.focus():(G=c.value)===null||G===void 0||G.focus()}}function ir(){e.passivelyActivated&&(T.value=!1,qt(()=>{var v;(v=l.value)===null||v===void 0||v.focus()}))}function rn(){var v,I,G;g.value||(e.passivelyActivated?(v=l.value)===null||v===void 0||v.focus():((I=s.value)===null||I===void 0||I.focus(),(G=c.value)===null||G===void 0||G.focus()))}function Ai(){var v;!((v=l.value)===null||v===void 0)&&v.contains(document.activeElement)&&document.activeElement.blur()}function Di(){var v,I;(v=s.value)===null||v===void 0||v.select(),(I=c.value)===null||I===void 0||I.select()}function Fi(){g.value||(s.value?s.value.focus():c.value&&c.value.focus())}function Ni(){const{value:v}=l;v!=null&&v.contains(document.activeElement)&&v!==document.activeElement&&ir()}function Hi(v){if(e.type==="textarea"){const{value:I}=s;I==null||I.scrollTo(v)}else{const{value:I}=c;I==null||I.scrollTo(v)}}function ar(v){const{type:I,pair:G,autosize:de}=e;if(!G&&de)if(I==="textarea"){const{value:pe}=a;pe&&(pe.textContent=(v??"")+`\r +`)}else{const{value:pe}=d;pe&&(v?pe.textContent=v:pe.innerHTML=" ")}}function ji(){ye()}const nn=L({top:"0"});function Wi(v){var I;const{scrollTop:G}=v.target;nn.value.top=`${-G}px`,(I=y.value)===null||I===void 0||I.syncUnifiedContainer()}let At=null;ot(()=>{const{autosize:v,type:I}=e;v&&I==="textarea"?At=Ce(z,G=>{!Array.isArray(G)&&G!==N&&ar(G)}):At==null||At()});let Dt=null;ot(()=>{e.type==="textarea"?Dt=Ce(z,v=>{var I;!Array.isArray(v)&&v!==N&&((I=y.value)===null||I===void 0||I.syncUnifiedContainer())}):Dt==null||Dt()}),Pe(ni,{mergedValueRef:z,maxlengthRef:ge,mergedClsPrefixRef:t,countGraphemesRef:Z(e,"countGraphemes")});const Ui={wrapperElRef:l,inputElRef:c,textareaElRef:s,isCompositing:P,focus:rn,blur:Ai,select:Di,deactivate:Ni,activate:Fi,scrollTo:Hi},Vi=_t("Input",o,t),on=D(()=>{const{value:v}=w,{common:{cubicBezierEaseInOut:I},self:{color:G,borderRadius:de,textColor:pe,caretColor:se,caretColorError:Qe,caretColorWarning:et,textDecorationColor:tt,border:wt,borderDisabled:xt,borderHover:lr,borderFocus:Ki,placeholderColor:qi,placeholderColorDisabled:Gi,lineHeightTextarea:Xi,colorDisabled:Yi,colorFocus:Zi,textColorDisabled:Ji,boxShadowFocus:Qi,iconSize:ea,colorFocusWarning:ta,boxShadowFocusWarning:ra,borderWarning:na,borderFocusWarning:oa,borderHoverWarning:ia,colorFocusError:aa,boxShadowFocusError:la,borderError:sa,borderFocusError:da,borderHoverError:ua,clearSize:ca,clearColor:fa,clearColorHover:ha,clearColorPressed:pa,iconColor:va,iconColorDisabled:ga,suffixTextColor:ma,countTextColor:ba,countTextColorDisabled:ya,iconColorHover:wa,iconColorPressed:xa,loadingColor:Ca,loadingColorError:Sa,loadingColorWarning:Pa,[ne("padding",v)]:ka,[ne("fontSize",v)]:$a,[ne("height",v)]:za}}=i.value,{left:Ta,right:Ia}=ol(ka);return{"--n-bezier":I,"--n-count-text-color":ba,"--n-count-text-color-disabled":ya,"--n-color":G,"--n-font-size":$a,"--n-border-radius":de,"--n-height":za,"--n-padding-left":Ta,"--n-padding-right":Ia,"--n-text-color":pe,"--n-caret-color":se,"--n-text-decoration-color":tt,"--n-border":wt,"--n-border-disabled":xt,"--n-border-hover":lr,"--n-border-focus":Ki,"--n-placeholder-color":qi,"--n-placeholder-color-disabled":Gi,"--n-icon-size":ea,"--n-line-height-textarea":Xi,"--n-color-disabled":Yi,"--n-color-focus":Zi,"--n-text-color-disabled":Ji,"--n-box-shadow-focus":Qi,"--n-loading-color":Ca,"--n-caret-color-warning":et,"--n-color-focus-warning":ta,"--n-box-shadow-focus-warning":ra,"--n-border-warning":na,"--n-border-focus-warning":oa,"--n-border-hover-warning":ia,"--n-loading-color-warning":Pa,"--n-caret-color-error":Qe,"--n-color-focus-error":aa,"--n-box-shadow-focus-error":la,"--n-border-error":sa,"--n-border-focus-error":da,"--n-border-hover-error":ua,"--n-loading-color-error":Sa,"--n-clear-color":fa,"--n-clear-size":ca,"--n-clear-color-hover":ha,"--n-clear-color-pressed":pa,"--n-icon-color":va,"--n-icon-color-hover":wa,"--n-icon-color-pressed":xa,"--n-icon-color-disabled":ga,"--n-suffix-text-color":ma}}),at=n?Ae("input",D(()=>{const{value:v}=w;return v[0]}),on,e):void 0;return Object.assign(Object.assign({},Ui),{wrapperElRef:l,inputElRef:c,inputMirrorElRef:d,inputEl2Ref:f,textareaElRef:s,textareaMirrorElRef:a,textareaScrollbarInstRef:y,rtlEnabled:Vi,uncontrolledValue:m,mergedValue:z,passwordVisible:q,mergedPlaceholder:E,showPlaceholder1:_,showPlaceholder2:C,mergedFocus:$,isComposing:P,activated:T,showClearButton:F,mergedSize:w,mergedDisabled:g,textDecorationStyle:Q,mergedClsPrefix:t,mergedBordered:r,mergedShowPasswordOn:A,placeholderStyle:nn,mergedStatus:M,textAreaScrollContainerWidth:fe,handleTextAreaScroll:Wi,handleCompositionStart:le,handleCompositionEnd:$e,handleInput:xe,handleInputBlur:De,handleInputFocus:Pi,handleWrapperBlur:ki,handleWrapperFocus:$i,handleMouseEnter:Oi,handleMouseLeave:_i,handleMouseDown:Ri,handleChange:zi,handleClick:Ti,handleClear:Ii,handlePasswordToggleClick:Mi,handlePasswordToggleMousedown:Bi,handleWrapperKeydown:Li,handleTextAreaMirrorResize:ji,getTextareaScrollContainer:()=>s.value,mergedTheme:i,cssVars:n?void 0:on,themeClass:at==null?void 0:at.themeClass,onRender:at==null?void 0:at.onRender})},render(){var e,t;const{mergedClsPrefix:r,mergedStatus:n,themeClass:o,type:i,countGraphemes:l,onRender:s}=this,a=this.$slots;return s==null||s(),u("div",{ref:"wrapperElRef",class:[`${r}-input`,o,n&&`${r}-input--${n}-status`,{[`${r}-input--rtl`]:this.rtlEnabled,[`${r}-input--disabled`]:this.mergedDisabled,[`${r}-input--textarea`]:i==="textarea",[`${r}-input--resizable`]:this.resizable&&!this.autosize,[`${r}-input--autosize`]:this.autosize,[`${r}-input--round`]:this.round&&i!=="textarea",[`${r}-input--pair`]:this.pair,[`${r}-input--focus`]:this.mergedFocus,[`${r}-input--stateful`]:this.stateful}],style:this.cssVars,tabindex:!this.mergedDisabled&&this.passivelyActivated&&!this.activated?0:void 0,onFocus:this.handleWrapperFocus,onBlur:this.handleWrapperBlur,onClick:this.handleClick,onMousedown:this.handleMouseDown,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onCompositionstart:this.handleCompositionStart,onCompositionend:this.handleCompositionEnd,onKeyup:this.onKeyup,onKeydown:this.handleWrapperKeydown},u("div",{class:`${r}-input-wrapper`},Ge(a.prefix,d=>d&&u("div",{class:`${r}-input__prefix`},d)),i==="textarea"?u(rl,{ref:"textareaScrollbarInstRef",class:`${r}-input__textarea`,container:this.getTextareaScrollContainer,triggerDisplayManually:!0,useUnifiedContainer:!0,internalHoistYRail:!0},{default:()=>{var d,c;const{textAreaScrollContainerWidth:f}=this,h={width:this.autosize&&f&&`${f}px`};return u(je,null,u("textarea",Object.assign({},this.inputProps,{ref:"textareaElRef",class:[`${r}-input__textarea-el`,(d=this.inputProps)===null||d===void 0?void 0:d.class],autofocus:this.autofocus,rows:Number(this.rows),placeholder:this.placeholder,value:this.mergedValue,disabled:this.mergedDisabled,maxlength:l?void 0:this.maxlength,minlength:l?void 0:this.minlength,readonly:this.readonly,tabindex:this.passivelyActivated&&!this.activated?-1:void 0,style:[this.textDecorationStyle[0],(c=this.inputProps)===null||c===void 0?void 0:c.style,h],onBlur:this.handleInputBlur,onFocus:p=>this.handleInputFocus(p,2),onInput:this.handleInput,onChange:this.handleChange,onScroll:this.handleTextAreaScroll})),this.showPlaceholder1?u("div",{class:`${r}-input__placeholder`,style:[this.placeholderStyle,h],key:"placeholder"},this.mergedPlaceholder[0]):null,this.autosize?u(nl,{onResize:this.handleTextAreaMirrorResize},{default:()=>u("div",{ref:"textareaMirrorElRef",class:`${r}-input__textarea-mirror`,key:"mirror"})}):null)}}):u("div",{class:`${r}-input__input`},u("input",Object.assign({type:i==="password"&&this.mergedShowPasswordOn&&this.passwordVisible?"text":i},this.inputProps,{ref:"inputElRef",class:[`${r}-input__input-el`,(e=this.inputProps)===null||e===void 0?void 0:e.class],style:[this.textDecorationStyle[0],(t=this.inputProps)===null||t===void 0?void 0:t.style],tabindex:this.passivelyActivated&&!this.activated?-1:void 0,placeholder:this.mergedPlaceholder[0],disabled:this.mergedDisabled,maxlength:l?void 0:this.maxlength,minlength:l?void 0:this.minlength,value:Array.isArray(this.mergedValue)?this.mergedValue[0]:this.mergedValue,readonly:this.readonly,autofocus:this.autofocus,size:this.attrSize,onBlur:this.handleInputBlur,onFocus:d=>this.handleInputFocus(d,0),onInput:d=>this.handleInput(d,0),onChange:d=>this.handleChange(d,0)})),this.showPlaceholder1?u("div",{class:`${r}-input__placeholder`},u("span",null,this.mergedPlaceholder[0])):null,this.autosize?u("div",{class:`${r}-input__input-mirror`,key:"mirror",ref:"inputMirrorElRef"}," "):null),!this.pair&&Ge(a.suffix,d=>d||this.clearable||this.showCount||this.mergedShowPasswordOn||this.loading!==void 0?u("div",{class:`${r}-input__suffix`},[Ge(a["clear-icon-placeholder"],c=>(this.clearable||c)&&u(Or,{clsPrefix:r,show:this.showClearButton,onClear:this.handleClear},{placeholder:()=>c,icon:()=>{var f,h;return(h=(f=this.$slots)["clear-icon"])===null||h===void 0?void 0:h.call(f)}})),this.internalLoadingBeforeSuffix?null:d,this.loading!==void 0?u(hf,{clsPrefix:r,loading:this.loading,showArrow:!1,showClear:!1,style:this.cssVars}):null,this.internalLoadingBeforeSuffix?d:null,this.showCount&&this.type!=="textarea"?u(Wn,null,{default:c=>{var f;return(f=a.count)===null||f===void 0?void 0:f.call(a,c)}}):null,this.mergedShowPasswordOn&&this.type==="password"?u("div",{class:`${r}-input__eye`,onMousedown:this.handlePasswordToggleMousedown,onClick:this.handlePasswordToggleClick},this.passwordVisible?ft(a["password-visible-icon"],()=>[u(ce,{clsPrefix:r},{default:()=>u(Xo,null)})]):ft(a["password-invisible-icon"],()=>[u(ce,{clsPrefix:r},{default:()=>u(oc,null)})])):null]):null)),this.pair?u("span",{class:`${r}-input__separator`},ft(a.separator,()=>[this.separator])):null,this.pair?u("div",{class:`${r}-input-wrapper`},u("div",{class:`${r}-input__input`},u("input",{ref:"inputEl2Ref",type:this.type,class:`${r}-input__input-el`,tabindex:this.passivelyActivated&&!this.activated?-1:void 0,placeholder:this.mergedPlaceholder[1],disabled:this.mergedDisabled,maxlength:l?void 0:this.maxlength,minlength:l?void 0:this.minlength,value:Array.isArray(this.mergedValue)?this.mergedValue[1]:void 0,readonly:this.readonly,style:this.textDecorationStyle[1],onBlur:this.handleInputBlur,onFocus:d=>this.handleInputFocus(d,1),onInput:d=>this.handleInput(d,1),onChange:d=>this.handleChange(d,1)}),this.showPlaceholder2?u("div",{class:`${r}-input__placeholder`},u("span",null,this.mergedPlaceholder[1])):null),Ge(a.suffix,d=>(this.clearable||d)&&u("div",{class:`${r}-input__suffix`},[this.clearable&&u(Or,{clsPrefix:r,show:this.showClearButton,onClear:this.handleClear},{icon:()=>{var c;return(c=a["clear-icon"])===null||c===void 0?void 0:c.call(a)},placeholder:()=>{var c;return(c=a["clear-icon-placeholder"])===null||c===void 0?void 0:c.call(a)}}),d]))):null,this.mergedBordered?u("div",{class:`${r}-input__border`}):null,this.mergedBordered?u("div",{class:`${r}-input__state-border`}):null,this.showCount&&i==="textarea"?u(Wn,null,{default:d=>{var c;const{renderCount:f}=this;return f?f(d):(c=a.count)===null||c===void 0?void 0:c.call(a,d)}}):null)}}),mr=Wr&&"loading"in document.createElement("img"),Sf=(e={})=>{var t;const{root:r=null}=e;return{hash:`${e.rootMargin||"0px 0px 0px 0px"}-${Array.isArray(e.threshold)?e.threshold.join(","):(t=e.threshold)!==null&&t!==void 0?t:"0"}`,options:Object.assign(Object.assign({},e),{root:(typeof r=="string"?document.querySelector(r):r)||document.documentElement})}},br=new WeakMap,yr=new WeakMap,wr=new WeakMap,Pf=(e,t,r)=>{if(!e)return()=>{};const n=Sf(t),{root:o}=n.options;let i;const l=br.get(o);l?i=l:(i=new Map,br.set(o,i));let s,a;i.has(n.hash)?(a=i.get(n.hash),a[1].has(e)||(s=a[0],a[1].add(e),s.observe(e))):(s=new IntersectionObserver(f=>{f.forEach(h=>{if(h.isIntersecting){const p=yr.get(h.target),y=wr.get(h.target);p&&p(),y&&(y.value=!0)}})},n.options),s.observe(e),a=[s,new Set([e])],i.set(n.hash,a));let d=!1;const c=()=>{d||(yr.delete(e),wr.delete(e),d=!0,a[1].has(e)&&(a[0].unobserve(e),a[1].delete(e)),a[1].size<=0&&i.delete(n.hash),i.size||br.delete(o))};return yr.set(e,c),wr.set(e,r),c},kf={padding:"8px 14px"},$f=e=>{const{borderRadius:t,boxShadow2:r,baseColor:n}=e;return Object.assign(Object.assign({},kf),{borderRadius:t,boxShadow:r,color:Pt(n,"rgba(0, 0, 0, .85)"),textColor:n})},zf=Mt({name:"Tooltip",common:_e,peers:{Popover:Zr},self:$f}),Jr=zf,Tf=Mt({name:"Ellipsis",common:_e,peers:{Tooltip:Jr}}),If=Tf,Rf={padding:"4px 0",optionIconSizeSmall:"14px",optionIconSizeMedium:"16px",optionIconSizeLarge:"16px",optionIconSizeHuge:"18px",optionSuffixWidthSmall:"14px",optionSuffixWidthMedium:"14px",optionSuffixWidthLarge:"16px",optionSuffixWidthHuge:"16px",optionIconSuffixWidthSmall:"32px",optionIconSuffixWidthMedium:"32px",optionIconSuffixWidthLarge:"36px",optionIconSuffixWidthHuge:"36px",optionPrefixWidthSmall:"14px",optionPrefixWidthMedium:"14px",optionPrefixWidthLarge:"16px",optionPrefixWidthHuge:"16px",optionIconPrefixWidthSmall:"36px",optionIconPrefixWidthMedium:"36px",optionIconPrefixWidthLarge:"40px",optionIconPrefixWidthHuge:"40px"},Of=e=>{const{primaryColor:t,textColor2:r,dividerColor:n,hoverColor:o,popoverColor:i,invertedColor:l,borderRadius:s,fontSizeSmall:a,fontSizeMedium:d,fontSizeLarge:c,fontSizeHuge:f,heightSmall:h,heightMedium:p,heightLarge:y,heightHuge:S,textColor3:m,opacityDisabled:x}=e;return Object.assign(Object.assign({},Rf),{optionHeightSmall:h,optionHeightMedium:p,optionHeightLarge:y,optionHeightHuge:S,borderRadius:s,fontSizeSmall:a,fontSizeMedium:d,fontSizeLarge:c,fontSizeHuge:f,optionTextColor:r,optionTextColorHover:r,optionTextColorActive:t,optionTextColorChildActive:t,color:i,dividerColor:n,suffixColor:r,prefixColor:r,optionColorHover:o,optionColorActive:te(t,{alpha:.1}),groupHeaderTextColor:m,optionTextColorInverted:"#BBB",optionTextColorHoverInverted:"#FFF",optionTextColorActiveInverted:"#FFF",optionTextColorChildActiveInverted:"#FFF",colorInverted:l,dividerColorInverted:"#BBB",suffixColorInverted:"#BBB",prefixColorInverted:"#BBB",optionColorHoverInverted:t,optionColorActiveInverted:t,groupHeaderTextColorInverted:"#AAA",optionOpacityDisabled:x})},_f=Mt({name:"Dropdown",common:_e,peers:{Popover:Zr},self:Of}),Mf=_f,Bf=Object.assign(Object.assign({},nr),re.props),oi=K({name:"Tooltip",props:Bf,__popover__:!0,setup(e){const t=re("Tooltip","-tooltip",void 0,Jr,e),r=L(null);return Object.assign(Object.assign({},{syncPosition(){r.value.syncPosition()},setShow(o){r.value.setShow(o)}}),{popoverRef:r,mergedTheme:t,popoverThemeOverrides:D(()=>t.value.self)})},render(){const{mergedTheme:e,internalExtraClass:t}=this;return u(ti,Object.assign(Object.assign({},this.$props),{theme:e.peers.Popover,themeOverrides:e.peerOverrides.Popover,builtinThemeOverrides:this.popoverThemeOverrides,internalExtraClass:t.concat("tooltip"),ref:"popoverRef"}),this.$slots)}}),Lf=k("ellipsis",{overflow:"hidden"},[ze("line-clamp",` + white-space: nowrap; + display: inline-block; + vertical-align: bottom; + max-width: 100%; + `),W("line-clamp",` + display: -webkit-inline-box; + -webkit-box-orient: vertical; + `),W("cursor-pointer",` + cursor: pointer; + `)]);function Un(e){return`${e}-ellipsis--line-clamp`}function Vn(e,t){return`${e}-ellipsis--cursor-${t}`}const Ef=Object.assign(Object.assign({},re.props),{expandTrigger:String,lineClamp:[Number,String],tooltip:{type:[Boolean,Object],default:!0}}),ii=K({name:"Ellipsis",inheritAttrs:!1,props:Ef,setup(e,{slots:t,attrs:r}){const{mergedClsPrefixRef:n}=Ie(e),o=re("Ellipsis","-ellipsis",Lf,If,e,n),i=L(null),l=L(null),s=L(null),a=L(!1),d=D(()=>{const{lineClamp:m}=e,{value:x}=a;return m!==void 0?{textOverflow:"","-webkit-line-clamp":x?"":m}:{textOverflow:x?"":"ellipsis","-webkit-line-clamp":""}});function c(){let m=!1;const{value:x}=a;if(x)return!0;const{value:z}=i;if(z){const{lineClamp:O}=e;if(p(z),O!==void 0)m=z.scrollHeight<=z.offsetHeight;else{const{value:w}=l;w&&(m=w.getBoundingClientRect().width<=z.getBoundingClientRect().width)}y(z,m)}return m}const f=D(()=>e.expandTrigger==="click"?()=>{var m;const{value:x}=a;x&&((m=s.value)===null||m===void 0||m.setShow(!1)),a.value=!x}:void 0);il(()=>{var m;e.tooltip&&((m=s.value)===null||m===void 0||m.setShow(!1))});const h=()=>u("span",Object.assign({},Ot(r,{class:[`${n.value}-ellipsis`,e.lineClamp!==void 0?Un(n.value):void 0,e.expandTrigger==="click"?Vn(n.value,"pointer"):void 0],style:d.value}),{ref:"triggerRef",onClick:f.value,onMouseenter:e.expandTrigger==="click"?c:void 0}),e.lineClamp?t:u("span",{ref:"triggerInnerRef"},t));function p(m){if(!m)return;const x=d.value,z=Un(n.value);e.lineClamp!==void 0?S(m,z,"add"):S(m,z,"remove");for(const O in x)m.style[O]!==x[O]&&(m.style[O]=x[O])}function y(m,x){const z=Vn(n.value,"pointer");e.expandTrigger==="click"&&!x?S(m,z,"add"):S(m,z,"remove")}function S(m,x,z){z==="add"?m.classList.contains(x)||m.classList.add(x):m.classList.contains(x)&&m.classList.remove(x)}return{mergedTheme:o,triggerRef:i,triggerInnerRef:l,tooltipRef:s,handleClick:f,renderTrigger:h,getTooltipDisabled:c}},render(){var e;const{tooltip:t,renderTrigger:r,$slots:n}=this;if(t){const{mergedTheme:o}=this;return u(oi,Object.assign({ref:"tooltipRef",placement:"top"},t,{getDisabled:this.getTooltipDisabled,theme:o.peers.Tooltip,themeOverrides:o.peerOverrides.Tooltip}),{trigger:r,default:(e=n.tooltip)!==null&&e!==void 0?e:n.default})}else return r()}}),ai=K({name:"DropdownDivider",props:{clsPrefix:{type:String,required:!0}},render(){return u("div",{class:`${this.clsPrefix}-dropdown-divider`})}}),Af=e=>{const{textColorBase:t,opacity1:r,opacity2:n,opacity3:o,opacity4:i,opacity5:l}=e;return{color:t,opacity1Depth:r,opacity2Depth:n,opacity3Depth:o,opacity4Depth:i,opacity5Depth:l}},Df={name:"Icon",common:_e,self:Af},Ff=Df,Nf=k("icon",` + height: 1em; + width: 1em; + line-height: 1em; + text-align: center; + display: inline-block; + position: relative; + fill: currentColor; + transform: translateZ(0); +`,[W("color-transition",{transition:"color .3s var(--n-bezier)"}),W("depth",{color:"var(--n-color)"},[H("svg",{opacity:"var(--n-opacity)",transition:"opacity .3s var(--n-bezier)"})]),H("svg",{height:"1em",width:"1em"})]),Hf=Object.assign(Object.assign({},re.props),{depth:[String,Number],size:[Number,String],color:String,component:Object}),jf=K({_n_icon__:!0,name:"Icon",inheritAttrs:!1,props:Hf,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:r}=Ie(e),n=re("Icon","-icon",Nf,Ff,e,t),o=D(()=>{const{depth:l}=e,{common:{cubicBezierEaseInOut:s},self:a}=n.value;if(l!==void 0){const{color:d,[`opacity${l}Depth`]:c}=a;return{"--n-bezier":s,"--n-color":d,"--n-opacity":c}}return{"--n-bezier":s,"--n-color":"","--n-opacity":""}}),i=r?Ae("icon",D(()=>`${e.depth||"d"}`),o,e):void 0;return{mergedClsPrefix:t,mergedStyle:D(()=>{const{size:l,color:s}=e;return{fontSize:Fe(l),color:s}}),cssVars:r?void 0:o,themeClass:i==null?void 0:i.themeClass,onRender:i==null?void 0:i.onRender}},render(){var e;const{$parent:t,depth:r,mergedClsPrefix:n,component:o,onRender:i,themeClass:l}=this;return!((e=t==null?void 0:t.$options)===null||e===void 0)&&e._n_icon__&&Ur("icon","don't wrap `n-icon` inside `n-icon`"),i==null||i(),u("i",Ot(this.$attrs,{role:"img",class:[`${n}-icon`,l,{[`${n}-icon--depth`]:r,[`${n}-icon--color-transition`]:r!==void 0}],style:[this.cssVars,this.mergedStyle]}),o?u(o):this.$slots)}}),Qr=We("n-dropdown-menu"),or=We("n-dropdown"),Kn=We("n-dropdown-option");function _r(e,t){return e.type==="submenu"||e.type===void 0&&e[t]!==void 0}function Wf(e){return e.type==="group"}function li(e){return e.type==="divider"}function Uf(e){return e.type==="render"}const si=K({name:"DropdownOption",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0},parentKey:{type:[String,Number],default:null},placement:{type:String,default:"right-start"},props:Object,scrollable:Boolean},setup(e){const t=ie(or),{hoverKeyRef:r,keyboardKeyRef:n,lastToggledSubmenuKeyRef:o,pendingKeyPathRef:i,activeKeyPathRef:l,animatedRef:s,mergedShowRef:a,renderLabelRef:d,renderIconRef:c,labelFieldRef:f,childrenFieldRef:h,renderOptionRef:p,nodePropsRef:y,menuPropsRef:S}=t,m=ie(Kn,null),x=ie(Qr),z=ie(Jt),O=D(()=>e.tmNode.rawNode),w=D(()=>{const{value:A}=h;return _r(e.tmNode.rawNode,A)}),g=D(()=>{const{disabled:A}=e.tmNode;return A}),M=D(()=>{if(!w.value)return!1;const{key:A,disabled:q}=e.tmNode;if(q)return!1;const{value:Q}=r,{value:fe}=n,{value:ye}=o,{value:ge}=i;return Q!==null?ge.includes(A):fe!==null?ge.includes(A)&&ge[ge.length-1]!==A:ye!==null?ge.includes(A):!1}),b=D(()=>n.value===null&&!s.value),R=Pl(M,300,b),P=D(()=>!!(m!=null&&m.enteringSubmenuRef.value)),T=L(!1);Pe(Kn,{enteringSubmenuRef:T});function N(){T.value=!0}function E(){T.value=!1}function _(){const{parentKey:A,tmNode:q}=e;q.disabled||a.value&&(o.value=A,n.value=null,r.value=q.key)}function C(){const{tmNode:A}=e;A.disabled||a.value&&r.value!==A.key&&_()}function $(A){if(e.tmNode.disabled||!a.value)return;const{relatedTarget:q}=A;q&&!wn({target:q},"dropdownOption")&&!wn({target:q},"scrollbarRail")&&(r.value=null)}function F(){const{value:A}=w,{tmNode:q}=e;a.value&&!A&&!q.disabled&&(t.doSelect(q.key,q.rawNode),t.doUpdateShow(!1))}return{labelField:f,renderLabel:d,renderIcon:c,siblingHasIcon:x.showIconRef,siblingHasSubmenu:x.hasSubmenuRef,menuProps:S,popoverBody:z,animated:s,mergedShowSubmenu:D(()=>R.value&&!P.value),rawNode:O,hasSubmenu:w,pending:Be(()=>{const{value:A}=i,{key:q}=e.tmNode;return A.includes(q)}),childActive:Be(()=>{const{value:A}=l,{key:q}=e.tmNode,Q=A.findIndex(fe=>q===fe);return Q===-1?!1:Q{const{value:A}=l,{key:q}=e.tmNode,Q=A.findIndex(fe=>q===fe);return Q===-1?!1:Q===A.length-1}),mergedDisabled:g,renderOption:p,nodeProps:y,handleClick:F,handleMouseMove:C,handleMouseEnter:_,handleMouseLeave:$,handleSubmenuBeforeEnter:N,handleSubmenuAfterEnter:E}},render(){var e,t;const{animated:r,rawNode:n,mergedShowSubmenu:o,clsPrefix:i,siblingHasIcon:l,siblingHasSubmenu:s,renderLabel:a,renderIcon:d,renderOption:c,nodeProps:f,props:h,scrollable:p}=this;let y=null;if(o){const z=(e=this.menuProps)===null||e===void 0?void 0:e.call(this,n,n.children);y=u(di,Object.assign({},z,{clsPrefix:i,scrollable:this.scrollable,tmNodes:this.tmNode.children,parentKey:this.tmNode.key}))}const S={class:[`${i}-dropdown-option-body`,this.pending&&`${i}-dropdown-option-body--pending`,this.active&&`${i}-dropdown-option-body--active`,this.childActive&&`${i}-dropdown-option-body--child-active`,this.mergedDisabled&&`${i}-dropdown-option-body--disabled`],onMousemove:this.handleMouseMove,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onClick:this.handleClick},m=f==null?void 0:f(n),x=u("div",Object.assign({class:[`${i}-dropdown-option`,m==null?void 0:m.class],"data-dropdown-option":!0},m),u("div",Ot(S,h),[u("div",{class:[`${i}-dropdown-option-body__prefix`,l&&`${i}-dropdown-option-body__prefix--show-icon`]},[d?d(n):Gt(n.icon)]),u("div",{"data-dropdown-option":!0,class:`${i}-dropdown-option-body__label`},a?a(n):Gt((t=n[this.labelField])!==null&&t!==void 0?t:n.title)),u("div",{"data-dropdown-option":!0,class:[`${i}-dropdown-option-body__suffix`,s&&`${i}-dropdown-option-body__suffix--has-submenu`]},this.hasSubmenu?u(jf,null,{default:()=>u(nc,null)}):null)]),this.hasSubmenu?u(To,null,{default:()=>[u(Io,null,{default:()=>u("div",{class:`${i}-dropdown-offset-container`},u(Ro,{show:this.mergedShowSubmenu,placement:this.placement,to:p&&this.popoverBody||void 0,teleportDisabled:!p},{default:()=>u("div",{class:`${i}-dropdown-menu-wrapper`},r?u($t,{onBeforeEnter:this.handleSubmenuBeforeEnter,onAfterEnter:this.handleSubmenuAfterEnter,name:"fade-in-scale-up-transition",appear:!0},{default:()=>y}):y)}))})]}):null);return c?c({node:x,option:n}):x}}),Vf=K({name:"DropdownGroupHeader",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0}},setup(){const{showIconRef:e,hasSubmenuRef:t}=ie(Qr),{renderLabelRef:r,labelFieldRef:n,nodePropsRef:o,renderOptionRef:i}=ie(or);return{labelField:n,showIcon:e,hasSubmenu:t,renderLabel:r,nodeProps:o,renderOption:i}},render(){var e;const{clsPrefix:t,hasSubmenu:r,showIcon:n,nodeProps:o,renderLabel:i,renderOption:l}=this,{rawNode:s}=this.tmNode,a=u("div",Object.assign({class:`${t}-dropdown-option`},o==null?void 0:o(s)),u("div",{class:`${t}-dropdown-option-body ${t}-dropdown-option-body--group`},u("div",{"data-dropdown-option":!0,class:[`${t}-dropdown-option-body__prefix`,n&&`${t}-dropdown-option-body__prefix--show-icon`]},Gt(s.icon)),u("div",{class:`${t}-dropdown-option-body__label`,"data-dropdown-option":!0},i?i(s):Gt((e=s.title)!==null&&e!==void 0?e:s[this.labelField])),u("div",{class:[`${t}-dropdown-option-body__suffix`,r&&`${t}-dropdown-option-body__suffix--has-submenu`],"data-dropdown-option":!0})));return l?l({node:a,option:s}):a}}),Kf=K({name:"NDropdownGroup",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0},parentKey:{type:[String,Number],default:null}},render(){const{tmNode:e,parentKey:t,clsPrefix:r}=this,{children:n}=e;return u(je,null,u(Vf,{clsPrefix:r,tmNode:e,key:e.key}),n==null?void 0:n.map(o=>{const{rawNode:i}=o;return i.show===!1?null:li(i)?u(ai,{clsPrefix:r,key:o.key}):o.isGroup?(Ur("dropdown","`group` node is not allowed to be put in `group` node."),null):u(si,{clsPrefix:r,tmNode:o,parentKey:t,key:o.key})}))}}),qf=K({name:"DropdownRenderOption",props:{tmNode:{type:Object,required:!0}},render(){const{rawNode:{render:e,props:t}}=this.tmNode;return u("div",t,[e==null?void 0:e()])}}),di=K({name:"DropdownMenu",props:{scrollable:Boolean,showArrow:Boolean,arrowStyle:[String,Object],clsPrefix:{type:String,required:!0},tmNodes:{type:Array,default:()=>[]},parentKey:{type:[String,Number],default:null}},setup(e){const{renderIconRef:t,childrenFieldRef:r}=ie(or);Pe(Qr,{showIconRef:D(()=>{const o=t.value;return e.tmNodes.some(i=>{var l;if(i.isGroup)return(l=i.children)===null||l===void 0?void 0:l.some(({rawNode:a})=>o?o(a):a.icon);const{rawNode:s}=i;return o?o(s):s.icon})}),hasSubmenuRef:D(()=>{const{value:o}=r;return e.tmNodes.some(i=>{var l;if(i.isGroup)return(l=i.children)===null||l===void 0?void 0:l.some(({rawNode:a})=>_r(a,o));const{rawNode:s}=i;return _r(s,o)})})});const n=L(null);return Pe(Lr,null),Pe(Er,null),Pe(Jt,n),{bodyRef:n}},render(){const{parentKey:e,clsPrefix:t,scrollable:r}=this,n=this.tmNodes.map(o=>{const{rawNode:i}=o;return i.show===!1?null:Uf(i)?u(qf,{tmNode:o,key:o.key}):li(i)?u(ai,{clsPrefix:t,key:o.key}):Wf(i)?u(Kf,{clsPrefix:t,tmNode:o,parentKey:e,key:o.key}):u(si,{clsPrefix:t,tmNode:o,parentKey:e,key:o.key,props:i.props,scrollable:r})});return u("div",{class:[`${t}-dropdown-menu`,r&&`${t}-dropdown-menu--scrollable`],ref:"bodyRef"},r?u(uo,{contentClass:`${t}-dropdown-menu__content`},{default:()=>n}):n,this.showArrow?ei({clsPrefix:t,arrowStyle:this.arrowStyle}):null)}}),Gf=k("dropdown-menu",` + transform-origin: var(--v-transform-origin); + background-color: var(--n-color); + border-radius: var(--n-border-radius); + box-shadow: var(--n-box-shadow); + position: relative; + transition: + background-color .3s var(--n-bezier), + box-shadow .3s var(--n-bezier); +`,[go(),k("dropdown-option",` + position: relative; + `,[H("a",` + text-decoration: none; + color: inherit; + outline: none; + `,[H("&::before",` + content: ""; + position: absolute; + left: 0; + right: 0; + top: 0; + bottom: 0; + `)]),k("dropdown-option-body",` + display: flex; + cursor: pointer; + position: relative; + height: var(--n-option-height); + line-height: var(--n-option-height); + font-size: var(--n-font-size); + color: var(--n-option-text-color); + transition: color .3s var(--n-bezier); + `,[H("&::before",` + content: ""; + position: absolute; + top: 0; + bottom: 0; + left: 4px; + right: 4px; + transition: background-color .3s var(--n-bezier); + border-radius: var(--n-border-radius); + `),ze("disabled",[W("pending",` + color: var(--n-option-text-color-hover); + `,[B("prefix, suffix",` + color: var(--n-option-text-color-hover); + `),H("&::before","background-color: var(--n-option-color-hover);")]),W("active",` + color: var(--n-option-text-color-active); + `,[B("prefix, suffix",` + color: var(--n-option-text-color-active); + `),H("&::before","background-color: var(--n-option-color-active);")]),W("child-active",` + color: var(--n-option-text-color-child-active); + `,[B("prefix, suffix",` + color: var(--n-option-text-color-child-active); + `)])]),W("disabled",` + cursor: not-allowed; + opacity: var(--n-option-opacity-disabled); + `),W("group",` + font-size: calc(var(--n-font-size) - 1px); + color: var(--n-group-header-text-color); + `,[B("prefix",` + width: calc(var(--n-option-prefix-width) / 2); + `,[W("show-icon",` + width: calc(var(--n-option-icon-prefix-width) / 2); + `)])]),B("prefix",` + width: var(--n-option-prefix-width); + display: flex; + justify-content: center; + align-items: center; + color: var(--n-prefix-color); + transition: color .3s var(--n-bezier); + z-index: 1; + `,[W("show-icon",` + width: var(--n-option-icon-prefix-width); + `),k("icon",` + font-size: var(--n-option-icon-size); + `)]),B("label",` + white-space: nowrap; + flex: 1; + z-index: 1; + `),B("suffix",` + box-sizing: border-box; + flex-grow: 0; + flex-shrink: 0; + display: flex; + justify-content: flex-end; + align-items: center; + min-width: var(--n-option-suffix-width); + padding: 0 8px; + transition: color .3s var(--n-bezier); + color: var(--n-suffix-color); + z-index: 1; + `,[W("has-submenu",` + width: var(--n-option-icon-suffix-width); + `),k("icon",` + font-size: var(--n-option-icon-size); + `)]),k("dropdown-menu","pointer-events: all;")]),k("dropdown-offset-container",` + pointer-events: none; + position: absolute; + left: 0; + right: 0; + top: -4px; + bottom: -4px; + `)]),k("dropdown-divider",` + transition: background-color .3s var(--n-bezier); + background-color: var(--n-divider-color); + height: 1px; + margin: 4px 0; + `),k("dropdown-menu-wrapper",` + transform-origin: var(--v-transform-origin); + width: fit-content; + `),H(">",[k("scrollbar",` + height: inherit; + max-height: inherit; + `)]),ze("scrollable",` + padding: var(--n-padding); + `),W("scrollable",[B("content",` + padding: var(--n-padding); + `)])]),Xf={animated:{type:Boolean,default:!0},keyboard:{type:Boolean,default:!0},size:{type:String,default:"medium"},inverted:Boolean,placement:{type:String,default:"bottom"},onSelect:[Function,Array],options:{type:Array,default:()=>[]},menuProps:Function,showArrow:Boolean,renderLabel:Function,renderIcon:Function,renderOption:Function,nodeProps:Function,labelField:{type:String,default:"label"},keyField:{type:String,default:"key"},childrenField:{type:String,default:"children"},value:[String,Number]},Yf=Object.keys(nr),Zf=Object.assign(Object.assign(Object.assign({},nr),Xf),re.props),qn=K({name:"Dropdown",inheritAttrs:!1,props:Zf,setup(e){const t=L(!1),r=tr(Z(e,"show"),t),n=D(()=>{const{keyField:E,childrenField:_}=e;return Nc(e.options,{getKey(C){return C[E]},getDisabled(C){return C.disabled===!0},getIgnored(C){return C.type==="divider"||C.type==="render"},getChildren(C){return C[_]}})}),o=D(()=>n.value.treeNodes),i=L(null),l=L(null),s=L(null),a=D(()=>{var E,_,C;return(C=(_=(E=i.value)!==null&&E!==void 0?E:l.value)!==null&&_!==void 0?_:s.value)!==null&&C!==void 0?C:null}),d=D(()=>n.value.getPath(a.value).keyPath),c=D(()=>n.value.getPath(e.value).keyPath),f=Be(()=>e.keyboard&&r.value);Tl({keydown:{ArrowUp:{prevent:!0,handler:g},ArrowRight:{prevent:!0,handler:w},ArrowDown:{prevent:!0,handler:M},ArrowLeft:{prevent:!0,handler:O},Enter:{prevent:!0,handler:b},Escape:z}},f);const{mergedClsPrefixRef:h,inlineThemeDisabled:p}=Ie(e),y=re("Dropdown","-dropdown",Gf,Mf,e,h);Pe(or,{labelFieldRef:Z(e,"labelField"),childrenFieldRef:Z(e,"childrenField"),renderLabelRef:Z(e,"renderLabel"),renderIconRef:Z(e,"renderIcon"),hoverKeyRef:i,keyboardKeyRef:l,lastToggledSubmenuKeyRef:s,pendingKeyPathRef:d,activeKeyPathRef:c,animatedRef:Z(e,"animated"),mergedShowRef:r,nodePropsRef:Z(e,"nodeProps"),renderOptionRef:Z(e,"renderOption"),menuPropsRef:Z(e,"menuProps"),doSelect:S,doUpdateShow:m}),Ce(r,E=>{!e.animated&&!E&&x()});function S(E,_){const{onSelect:C}=e;C&&ue(C,E,_)}function m(E){const{"onUpdate:show":_,onUpdateShow:C}=e;_&&ue(_,E),C&&ue(C,E),t.value=E}function x(){i.value=null,l.value=null,s.value=null}function z(){m(!1)}function O(){P("left")}function w(){P("right")}function g(){P("up")}function M(){P("down")}function b(){const E=R();E!=null&&E.isLeaf&&r.value&&(S(E.key,E.rawNode),m(!1))}function R(){var E;const{value:_}=n,{value:C}=a;return!_||C===null?null:(E=_.getNode(C))!==null&&E!==void 0?E:null}function P(E){const{value:_}=a,{value:{getFirstAvailableNode:C}}=n;let $=null;if(_===null){const F=C();F!==null&&($=F.key)}else{const F=R();if(F){let A;switch(E){case"down":A=F.getNext();break;case"up":A=F.getPrev();break;case"right":A=F.getChild();break;case"left":A=F.getParent();break}A&&($=A.key)}}$!==null&&(i.value=null,l.value=$)}const T=D(()=>{const{size:E,inverted:_}=e,{common:{cubicBezierEaseInOut:C},self:$}=y.value,{padding:F,dividerColor:A,borderRadius:q,optionOpacityDisabled:Q,[ne("optionIconSuffixWidth",E)]:fe,[ne("optionSuffixWidth",E)]:ye,[ne("optionIconPrefixWidth",E)]:ge,[ne("optionPrefixWidth",E)]:Re,[ne("fontSize",E)]:oe,[ne("optionHeight",E)]:ke,[ne("optionIconSize",E)]:we}=$,ee={"--n-bezier":C,"--n-font-size":oe,"--n-padding":F,"--n-border-radius":q,"--n-option-height":ke,"--n-option-prefix-width":Re,"--n-option-icon-prefix-width":ge,"--n-option-suffix-width":ye,"--n-option-icon-suffix-width":fe,"--n-option-icon-size":we,"--n-divider-color":A,"--n-option-opacity-disabled":Q};return _?(ee["--n-color"]=$.colorInverted,ee["--n-option-color-hover"]=$.optionColorHoverInverted,ee["--n-option-color-active"]=$.optionColorActiveInverted,ee["--n-option-text-color"]=$.optionTextColorInverted,ee["--n-option-text-color-hover"]=$.optionTextColorHoverInverted,ee["--n-option-text-color-active"]=$.optionTextColorActiveInverted,ee["--n-option-text-color-child-active"]=$.optionTextColorChildActiveInverted,ee["--n-prefix-color"]=$.prefixColorInverted,ee["--n-suffix-color"]=$.suffixColorInverted,ee["--n-group-header-text-color"]=$.groupHeaderTextColorInverted):(ee["--n-color"]=$.color,ee["--n-option-color-hover"]=$.optionColorHover,ee["--n-option-color-active"]=$.optionColorActive,ee["--n-option-text-color"]=$.optionTextColor,ee["--n-option-text-color-hover"]=$.optionTextColorHover,ee["--n-option-text-color-active"]=$.optionTextColorActive,ee["--n-option-text-color-child-active"]=$.optionTextColorChildActive,ee["--n-prefix-color"]=$.prefixColor,ee["--n-suffix-color"]=$.suffixColor,ee["--n-group-header-text-color"]=$.groupHeaderTextColor),ee}),N=p?Ae("dropdown",D(()=>`${e.size[0]}${e.inverted?"i":""}`),T,e):void 0;return{mergedClsPrefix:h,mergedTheme:y,tmNodes:o,mergedShow:r,handleAfterLeave:()=>{e.animated&&x()},doUpdateShow:m,cssVars:p?void 0:T,themeClass:N==null?void 0:N.themeClass,onRender:N==null?void 0:N.onRender}},render(){const e=(n,o,i,l,s)=>{var a;const{mergedClsPrefix:d,menuProps:c}=this;(a=this.onRender)===null||a===void 0||a.call(this);const f=(c==null?void 0:c(void 0,this.tmNodes.map(p=>p.rawNode)))||{},h={ref:xl(o),class:[n,`${d}-dropdown`,this.themeClass],clsPrefix:d,tmNodes:this.tmNodes,style:[i,this.cssVars],showArrow:this.showArrow,arrowStyle:this.arrowStyle,scrollable:this.scrollable,onMouseenter:l,onMouseleave:s};return u(di,Ot(this.$attrs,h,f))},{mergedTheme:t}=this,r={show:this.mergedShow,theme:t.peers.Popover,themeOverrides:t.peerOverrides.Popover,internalOnAfterLeave:this.handleAfterLeave,internalRenderBody:e,onUpdateShow:this.doUpdateShow,"onUpdate:show":void 0};return u(ti,Object.assign({},co(this.$props,Yf),r),{trigger:()=>{var n,o;return(o=(n=this.$slots).default)===null||o===void 0?void 0:o.call(n)}})}}),Jf={gapSmall:"4px 8px",gapMedium:"8px 12px",gapLarge:"12px 16px"},Qf=()=>Jf,eh={name:"Space",self:Qf},th=eh;let xr;const rh=()=>{if(!Wr)return!0;if(xr===void 0){const e=document.createElement("div");e.style.display="flex",e.style.flexDirection="column",e.style.rowGap="1px",e.appendChild(document.createElement("div")),e.appendChild(document.createElement("div")),document.body.appendChild(e);const t=e.scrollHeight===1;return document.body.removeChild(e),xr=t}return xr},nh=Object.assign(Object.assign({},re.props),{align:String,justify:{type:String,default:"start"},inline:Boolean,vertical:Boolean,size:{type:[String,Number,Array],default:"medium"},wrapItem:{type:Boolean,default:!0},itemStyle:[String,Object],wrap:{type:Boolean,default:!0},internalUseGap:{type:Boolean,default:void 0}}),oh=K({name:"Space",props:nh,setup(e){const{mergedClsPrefixRef:t,mergedRtlRef:r}=Ie(e),n=re("Space","-space",void 0,th,e,t),o=_t("Space",r,t);return{useGap:rh(),rtlEnabled:o,mergedClsPrefix:t,margin:D(()=>{const{size:i}=e;if(Array.isArray(i))return{horizontal:i[0],vertical:i[1]};if(typeof i=="number")return{horizontal:i,vertical:i};const{self:{[ne("gap",i)]:l}}=n.value,{row:s,col:a}=ll(l);return{horizontal:gn(a),vertical:gn(s)}})}},render(){const{vertical:e,align:t,inline:r,justify:n,itemStyle:o,margin:i,wrap:l,mergedClsPrefix:s,rtlEnabled:a,useGap:d,wrapItem:c,internalUseGap:f}=this,h=al(wl(this));if(!h.length)return null;const p=`${i.horizontal}px`,y=`${i.horizontal/2}px`,S=`${i.vertical}px`,m=`${i.vertical/2}px`,x=h.length-1,z=n.startsWith("space-");return u("div",{role:"none",class:[`${s}-space`,a&&`${s}-space--rtl`],style:{display:r?"inline-flex":"flex",flexDirection:e?"column":"row",justifyContent:["start","end"].includes(n)?"flex-"+n:n,flexWrap:!l||e?"nowrap":"wrap",marginTop:d||e?"":`-${m}`,marginBottom:d||e?"":`-${m}`,alignItems:t,gap:d?`${i.vertical}px ${i.horizontal}px`:""}},!c&&(d||f)?h:h.map((O,w)=>u("div",{role:"none",style:[o,{maxWidth:"100%"},d?"":e?{marginBottom:w!==x?S:""}:a?{marginLeft:z?n==="space-between"&&w===x?"":y:w!==x?p:"",marginRight:z?n==="space-between"&&w===0?"":y:"",paddingTop:m,paddingBottom:m}:{marginRight:z?n==="space-between"&&w===x?"":y:w!==x?p:"",marginLeft:z?n==="space-between"&&w===0?"":y:"",paddingTop:m,paddingBottom:m}]},O)))}}),en=Object.assign(Object.assign({},re.props),{showToolbar:{type:Boolean,default:!0},showToolbarTooltip:Boolean}),ui=We("n-image");function ih(){return{toolbarIconColor:"rgba(255, 255, 255, .9)",toolbarColor:"rgba(0, 0, 0, .35)",toolbarBoxShadow:"none",toolbarBorderRadius:"24px"}}const ah=Mt({name:"Image",common:_e,peers:{Tooltip:Jr},self:ih}),lh=e=>{const{textColor2:t,cardColor:r,modalColor:n,popoverColor:o,dividerColor:i,borderRadius:l,fontSize:s,hoverColor:a}=e;return{textColor:t,color:r,colorHover:a,colorModal:n,colorHoverModal:Pt(n,a),colorPopover:o,colorHoverPopover:Pt(o,a),borderColor:i,borderColorModal:Pt(n,i),borderColorPopover:Pt(o,i),borderRadius:l,fontSize:s}},sh={name:"List",common:_e,self:lh},dh=sh,uh=e=>{const{infoColor:t,successColor:r,warningColor:n,errorColor:o,textColor2:i,progressRailColor:l,fontSize:s,fontWeight:a}=e;return{fontSize:s,fontSizeCircle:"28px",fontWeightCircle:a,railColor:l,railHeight:"8px",iconSizeCircle:"36px",iconSizeLine:"18px",iconColor:t,iconColorInfo:t,iconColorSuccess:r,iconColorWarning:n,iconColorError:o,textColorCircle:i,textColorLineInner:"rgb(255, 255, 255)",textColorLineOuter:i,fillColor:t,fillColorInfo:t,fillColorSuccess:r,fillColorWarning:n,fillColorError:o,lineBgProcessing:"linear-gradient(90deg, rgba(255, 255, 255, .3) 0%, rgba(255, 255, 255, .5) 100%)"}},ch={name:"Progress",common:_e,self:uh},ci=ch,fh=e=>{const{textColor1:t,textColor2:r,fontWeightStrong:n,fontSize:o}=e;return{fontSize:o,titleTextColor:t,textColor:r,titleFontWeight:n}},hh={name:"Thing",common:_e,self:fh},ph=hh,vh=e=>{const{iconColor:t,primaryColor:r,errorColor:n,textColor2:o,successColor:i,opacityDisabled:l,actionColor:s,borderColor:a,hoverColor:d,lineHeight:c,borderRadius:f,fontSize:h}=e;return{fontSize:h,lineHeight:c,borderRadius:f,draggerColor:s,draggerBorder:`1px dashed ${a}`,draggerBorderHover:`1px dashed ${r}`,itemColorHover:d,itemColorHoverError:te(n,{alpha:.06}),itemTextColor:o,itemTextColorError:n,itemTextColorSuccess:i,itemIconColor:t,itemDisabledOpacity:l,itemBorderImageCardError:`1px solid ${n}`,itemBorderImageCard:`1px solid ${a}`}},gh=Mt({name:"Upload",common:_e,peers:{Button:sl,Progress:ci},self:vh}),mh=gh,bh=u("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},u("path",{d:"M6 5C5.75454 5 5.55039 5.17688 5.50806 5.41012L5.5 5.5V14.5C5.5 14.7761 5.72386 15 6 15C6.24546 15 6.44961 14.8231 6.49194 14.5899L6.5 14.5V5.5C6.5 5.22386 6.27614 5 6 5ZM13.8536 5.14645C13.68 4.97288 13.4106 4.9536 13.2157 5.08859L13.1464 5.14645L8.64645 9.64645C8.47288 9.82001 8.4536 10.0894 8.58859 10.2843L8.64645 10.3536L13.1464 14.8536C13.3417 15.0488 13.6583 15.0488 13.8536 14.8536C14.0271 14.68 14.0464 14.4106 13.9114 14.2157L13.8536 14.1464L9.70711 10L13.8536 5.85355C14.0488 5.65829 14.0488 5.34171 13.8536 5.14645Z",fill:"currentColor"})),yh=u("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},u("path",{d:"M13.5 5C13.7455 5 13.9496 5.17688 13.9919 5.41012L14 5.5V14.5C14 14.7761 13.7761 15 13.5 15C13.2545 15 13.0504 14.8231 13.0081 14.5899L13 14.5V5.5C13 5.22386 13.2239 5 13.5 5ZM5.64645 5.14645C5.82001 4.97288 6.08944 4.9536 6.28431 5.08859L6.35355 5.14645L10.8536 9.64645C11.0271 9.82001 11.0464 10.0894 10.9114 10.2843L10.8536 10.3536L6.35355 14.8536C6.15829 15.0488 5.84171 15.0488 5.64645 14.8536C5.47288 14.68 5.4536 14.4106 5.58859 14.2157L5.64645 14.1464L9.79289 10L5.64645 5.85355C5.45118 5.65829 5.45118 5.34171 5.64645 5.14645Z",fill:"currentColor"})),wh=u("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},u("path",{d:"M4.089 4.216l.057-.07a.5.5 0 0 1 .638-.057l.07.057L10 9.293l5.146-5.147a.5.5 0 0 1 .638-.057l.07.057a.5.5 0 0 1 .057.638l-.057.07L10.707 10l5.147 5.146a.5.5 0 0 1 .057.638l-.057.07a.5.5 0 0 1-.638.057l-.07-.057L10 10.707l-5.146 5.147a.5.5 0 0 1-.638.057l-.07-.057a.5.5 0 0 1-.057-.638l.057-.07L9.293 10L4.146 4.854a.5.5 0 0 1-.057-.638l.057-.07l-.057.07z",fill:"currentColor"})),xh=H([H("body >",[k("image-container","position: fixed;")]),k("image-preview-container",` + position: fixed; + left: 0; + right: 0; + top: 0; + bottom: 0; + display: flex; + `),k("image-preview-overlay",` + z-index: -1; + position: absolute; + left: 0; + right: 0; + top: 0; + bottom: 0; + background: rgba(0, 0, 0, .3); + `,[mn()]),k("image-preview-toolbar",` + z-index: 1; + position: absolute; + left: 50%; + transform: translateX(-50%); + border-radius: var(--n-toolbar-border-radius); + height: 48px; + bottom: 40px; + padding: 0 12px; + background: var(--n-toolbar-color); + box-shadow: var(--n-toolbar-box-shadow); + color: var(--n-toolbar-icon-color); + transition: color .3s var(--n-bezier); + display: flex; + align-items: center; + `,[k("base-icon",` + padding: 0 8px; + font-size: 28px; + cursor: pointer; + `),mn()]),k("image-preview-wrapper",` + position: absolute; + left: 0; + right: 0; + top: 0; + bottom: 0; + display: flex; + pointer-events: none; + `,[go()]),k("image-preview",` + user-select: none; + -webkit-user-select: none; + pointer-events: all; + margin: auto; + max-height: calc(100vh - 32px); + max-width: calc(100vw - 32px); + transition: transform .3s var(--n-bezier); + `),k("image",` + display: inline-flex; + max-height: 100%; + max-width: 100%; + `,[ze("preview-disabled",` + cursor: pointer; + `),H("img",` + border-radius: inherit; + `)])]),Wt=32,fi=K({name:"ImagePreview",props:Object.assign(Object.assign({},en),{onNext:Function,onPrev:Function,clsPrefix:{type:String,required:!0}}),setup(e){const t=re("Image","-image",xh,ah,e,Z(e,"clsPrefix"));let r=null;const n=L(null),o=L(null),i=L(void 0),l=L(!1),s=L(!1),{localeRef:a}=Xr("Image");function d(){const{value:j}=o;if(!r||!j)return;const{style:X}=j,V=r.getBoundingClientRect(),ae=V.left+V.width/2,le=V.top+V.height/2;X.transformOrigin=`${ae}px ${le}px`}function c(j){var X,V;switch(j.key){case" ":j.preventDefault();break;case"ArrowLeft":(X=e.onPrev)===null||X===void 0||X.call(e);break;case"ArrowRight":(V=e.onNext)===null||V===void 0||V.call(e);break;case"Escape":ke();break}}Ce(l,j=>{j?Te("keydown",document,c):Se("keydown",document,c)}),Je(()=>{Se("keydown",document,c)});let f=0,h=0,p=0,y=0,S=0,m=0,x=0,z=0,O=!1;function w(j){const{clientX:X,clientY:V}=j;p=X-f,y=V-h,Po(oe)}function g(j){const{mouseUpClientX:X,mouseUpClientY:V,mouseDownClientX:ae,mouseDownClientY:le}=j,$e=ae-X,xe=le-V,Oe=`vertical${xe>0?"Top":"Bottom"}`,De=`horizontal${$e>0?"Left":"Right"}`;return{moveVerticalDirection:Oe,moveHorizontalDirection:De,deltaHorizontal:$e,deltaVertical:xe}}function M(j){const{value:X}=n;if(!X)return{offsetX:0,offsetY:0};const V=X.getBoundingClientRect(),{moveVerticalDirection:ae,moveHorizontalDirection:le,deltaHorizontal:$e,deltaVertical:xe}=j||{};let Oe=0,De=0;return V.width<=window.innerWidth?Oe=0:V.left>0?Oe=(V.width-window.innerWidth)/2:V.right0?De=(V.height-window.innerHeight)/2:V.bottom.5){const j=_;E-=1,_=Math.max(.5,Math.pow(N,E));const X=j-_;oe(!1);const V=M();_+=X,oe(!1),_-=X,p=V.offsetX,y=V.offsetY,oe()}}function oe(j=!0){var X;const{value:V}=n;if(!V)return;const{style:ae}=V,le=dl((X=R==null?void 0:R.previewedImgPropsRef.value)===null||X===void 0?void 0:X.style);let $e="";if(typeof le=="string")$e=le+";";else for(const Oe in le)$e+=`${cu(Oe)}: ${le[Oe]};`;const xe=`transform-origin: center; transform: translateX(${p}px) translateY(${y}px) rotate(${C}deg) scale(${_});`;O?ae.cssText=$e+"cursor: grabbing; transition: none;"+xe:ae.cssText=$e+"cursor: grab;"+xe+(j?"":"transition: none;"),j||V.offsetHeight}function ke(){l.value=!l.value,s.value=!0}function we(){_=ye(),E=Math.ceil(Math.log(_)/Math.log(N)),p=0,y=0,oe()}const ee={setPreviewSrc:j=>{i.value=j},setThumbnailEl:j=>{r=j},toggleShow:ke};function Le(j,X){if(e.showToolbarTooltip){const{value:V}=t;return u(oi,{to:!1,theme:V.peers.Tooltip,themeOverrides:V.peerOverrides.Tooltip,keepAliveOnHover:!1},{default:()=>a.value[X],trigger:()=>j})}else return j}const Ve=D(()=>{const{common:{cubicBezierEaseInOut:j},self:{toolbarIconColor:X,toolbarBorderRadius:V,toolbarBoxShadow:ae,toolbarColor:le}}=t.value;return{"--n-bezier":j,"--n-toolbar-icon-color":X,"--n-toolbar-color":le,"--n-toolbar-border-radius":V,"--n-toolbar-box-shadow":ae}}),{inlineThemeDisabled:Ke}=Ie(),Ee=Ke?Ae("image-preview",void 0,Ve,e):void 0;return Object.assign({previewRef:n,previewWrapperRef:o,previewSrc:i,show:l,appear:Dr(),displayed:s,previewedImgProps:R==null?void 0:R.previewedImgPropsRef,handleWheel(j){j.preventDefault()},handlePreviewMousedown:P,handlePreviewDblclick:T,syncTransformOrigin:d,handleAfterLeave:()=>{$(),C=0,s.value=!1},handleDragStart:j=>{var X,V;(V=(X=R==null?void 0:R.previewedImgPropsRef.value)===null||X===void 0?void 0:X.onDragstart)===null||V===void 0||V.call(X,j),j.preventDefault()},zoomIn:ge,zoomOut:Re,rotateCounterclockwise:q,rotateClockwise:Q,handleSwitchPrev:F,handleSwitchNext:A,withTooltip:Le,resizeToOrignalImageSize:we,cssVars:Ke?void 0:Ve,themeClass:Ee==null?void 0:Ee.themeClass,onRender:Ee==null?void 0:Ee.onRender},ee)},render(){var e,t;const{clsPrefix:r}=this;return u(je,null,(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e),u(oo,{show:this.show},{default:()=>{var n;return this.show||this.displayed?((n=this.onRender)===null||n===void 0||n.call(this),pt(u("div",{class:[`${r}-image-preview-container`,this.themeClass],style:this.cssVars,onWheel:this.handleWheel},u($t,{name:"fade-in-transition",appear:this.appear},{default:()=>this.show?u("div",{class:`${r}-image-preview-overlay`,onClick:this.toggleShow}):null}),this.showToolbar?u($t,{name:"fade-in-transition",appear:this.appear},{default:()=>{if(!this.show)return null;const{withTooltip:o}=this;return u("div",{class:`${r}-image-preview-toolbar`},this.onPrev?u(je,null,o(u(ce,{clsPrefix:r,onClick:this.handleSwitchPrev},{default:()=>bh}),"tipPrevious"),o(u(ce,{clsPrefix:r,onClick:this.handleSwitchNext},{default:()=>yh}),"tipNext")):null,o(u(ce,{clsPrefix:r,onClick:this.rotateCounterclockwise},{default:()=>u(hc,null)}),"tipCounterclockwise"),o(u(ce,{clsPrefix:r,onClick:this.rotateClockwise},{default:()=>u(fc,null)}),"tipClockwise"),o(u(ce,{clsPrefix:r,onClick:this.resizeToOrignalImageSize},{default:()=>u(gc,null)}),"tipOriginalSize"),o(u(ce,{clsPrefix:r,onClick:this.zoomOut},{default:()=>u(vc,null)}),"tipZoomOut"),o(u(ce,{clsPrefix:r,onClick:this.zoomIn},{default:()=>u(pc,null)}),"tipZoomIn"),o(u(ce,{clsPrefix:r,onClick:this.toggleShow},{default:()=>wh}),"tipClose"))}}):null,u($t,{name:"fade-in-scale-up-transition",onAfterLeave:this.handleAfterLeave,appear:this.appear,onEnter:this.syncTransformOrigin,onBeforeLeave:this.syncTransformOrigin},{default:()=>{const{previewedImgProps:o={}}=this;return pt(u("div",{class:`${r}-image-preview-wrapper`,ref:"previewWrapperRef"},u("img",Object.assign({},o,{draggable:!1,onMousedown:this.handlePreviewMousedown,onDblclick:this.handlePreviewDblclick,class:[`${r}-image-preview`,o.class],key:this.previewSrc,src:this.previewSrc,ref:"previewRef",onDragstart:this.handleDragStart}))),[[so,this.show]])}})),[[Fr,{enabled:this.show}]])):null}}))}}),hi=We("n-image-group"),Ch=en,Sh=K({name:"ImageGroup",props:Ch,setup(e){let t;const{mergedClsPrefixRef:r}=Ie(e),n=`c${Pr()}`,o=Ar(),i=a=>{var d;t=a,(d=s.value)===null||d===void 0||d.setPreviewSrc(a)};function l(a){if(!(o!=null&&o.proxy))return;const c=o.proxy.$el.parentElement.querySelectorAll(`[data-group-id=${n}]:not([data-error=true])`);if(!c.length)return;const f=Array.from(c).findIndex(h=>h.dataset.previewSrc===t);~f?i(c[(f+a+c.length)%c.length].dataset.previewSrc):i(c[0].dataset.previewSrc)}Pe(hi,{mergedClsPrefixRef:r,setPreviewSrc:i,setThumbnailEl:a=>{var d;(d=s.value)===null||d===void 0||d.setThumbnailEl(a)},toggleShow:()=>{var a;(a=s.value)===null||a===void 0||a.toggleShow()},groupId:n});const s=L(null);return{mergedClsPrefix:r,previewInstRef:s,next:()=>l(1),prev:()=>l(-1)}},render(){return u(fi,{theme:this.theme,themeOverrides:this.themeOverrides,clsPrefix:this.mergedClsPrefix,ref:"previewInstRef",onPrev:this.prev,onNext:this.next,showToolbar:this.showToolbar,showToolbarTooltip:this.showToolbarTooltip},this.$slots)}}),Ph=Object.assign({alt:String,height:[String,Number],imgProps:Object,previewedImgProps:Object,lazy:Boolean,intersectionObserverOptions:Object,objectFit:{type:String,default:"fill"},previewSrc:String,fallbackSrc:String,width:[String,Number],src:String,previewDisabled:Boolean,loadDescription:String,onError:Function,onLoad:Function},en),Mr=K({name:"Image",props:Ph,inheritAttrs:!1,setup(e){const t=L(null),r=L(!1),n=L(null),o=ie(hi,null),{mergedClsPrefixRef:i}=o||Ie(e),l={click:()=>{if(e.previewDisabled||r.value)return;const d=e.previewSrc||e.src;if(o){o.setPreviewSrc(d),o.setThumbnailEl(t.value),o.toggleShow();return}const{value:c}=n;c&&(c.setPreviewSrc(d),c.setThumbnailEl(t.value),c.toggleShow())}},s=L(!e.lazy);Xe(()=>{var d;(d=t.value)===null||d===void 0||d.setAttribute("data-group-id",(o==null?void 0:o.groupId)||"")}),Xe(()=>{if(mr)return;let d;const c=ot(()=>{d==null||d(),d=void 0,e.lazy&&(d=Pf(t.value,e.intersectionObserverOptions,s))});Je(()=>{c(),d==null||d()})}),ot(()=>{var d;e.src,(d=e.imgProps)===null||d===void 0||d.src,r.value=!1});const a=L(!1);return Pe(ui,{previewedImgPropsRef:Z(e,"previewedImgProps")}),Object.assign({mergedClsPrefix:i,groupId:o==null?void 0:o.groupId,previewInstRef:n,imageRef:t,showError:r,shouldStartLoading:s,loaded:a,mergedOnClick:d=>{var c,f;l.click(),(f=(c=e.imgProps)===null||c===void 0?void 0:c.onClick)===null||f===void 0||f.call(c,d)},mergedOnError:d=>{if(!s.value)return;r.value=!0;const{onError:c,imgProps:{onError:f}={}}=e;c==null||c(d),f==null||f(d)},mergedOnLoad:d=>{const{onLoad:c,imgProps:{onLoad:f}={}}=e;c==null||c(d),f==null||f(d),a.value=!0}},l)},render(){var e,t;const{mergedClsPrefix:r,imgProps:n={},loaded:o,$attrs:i,lazy:l}=this,s=(t=(e=this.$slots).placeholder)===null||t===void 0?void 0:t.call(e),a=this.src||n.src||"",d=u("img",Object.assign(Object.assign({},n),{ref:"imageRef",width:this.width||n.width,height:this.height||n.height,src:mr?a:this.showError?this.fallbackSrc:this.shouldStartLoading?a:void 0,alt:this.alt||n.alt,"aria-label":this.alt||n.alt,onClick:this.mergedOnClick,onError:this.mergedOnError,onLoad:this.mergedOnLoad,loading:mr&&l&&!this.intersectionObserverOptions?"lazy":"eager",style:[n.style||"",s&&!o?{height:"0",width:"0",visibility:"hidden"}:"",{objectFit:this.objectFit}],"data-error":this.showError,"data-preview-src":this.previewSrc||this.src}));return u("div",Object.assign({},i,{role:"none",class:[i.class,`${r}-image`,(this.previewDisabled||this.showError)&&`${r}-image--preview-disabled`]}),this.groupId?d:u(fi,{theme:this.theme,themeOverrides:this.themeOverrides,clsPrefix:r,ref:"previewInstRef",showToolbar:this.showToolbar,showToolbarTooltip:this.showToolbarTooltip},{default:()=>d}),!o&&s)}}),kh=H([k("list",` + --n-merged-border-color: var(--n-border-color); + --n-merged-color: var(--n-color); + --n-merged-color-hover: var(--n-color-hover); + margin: 0; + font-size: var(--n-font-size); + transition: + background-color .3s var(--n-bezier), + color .3s var(--n-bezier), + border-color .3s var(--n-bezier); + padding: 0; + list-style-type: none; + color: var(--n-text-color); + background-color: var(--n-merged-color); + `,[W("show-divider",[k("list-item",[H("&:not(:last-child)",[B("divider",` + background-color: var(--n-merged-border-color); + `)])])]),W("clickable",[k("list-item",` + cursor: pointer; + `)]),W("bordered",` + border: 1px solid var(--n-merged-border-color); + border-radius: var(--n-border-radius); + `),W("hoverable",[k("list-item",` + border-radius: var(--n-border-radius); + `,[H("&:hover",` + background-color: var(--n-merged-color-hover); + `,[B("divider",` + background-color: transparent; + `)])])]),W("bordered, hoverable",[k("list-item",` + padding: 12px 20px; + `),B("header, footer",` + padding: 12px 20px; + `)]),B("header, footer",` + padding: 12px 0; + box-sizing: border-box; + transition: border-color .3s var(--n-bezier); + `,[H("&:not(:last-child)",` + border-bottom: 1px solid var(--n-merged-border-color); + `)]),k("list-item",` + position: relative; + padding: 12px 0; + box-sizing: border-box; + display: flex; + flex-wrap: nowrap; + align-items: center; + transition: + background-color .3s var(--n-bezier), + border-color .3s var(--n-bezier); + `,[B("prefix",` + margin-right: 20px; + flex: 0; + `),B("suffix",` + margin-left: 20px; + flex: 0; + `),B("main",` + flex: 1; + `),B("divider",` + height: 1px; + position: absolute; + bottom: 0; + left: 0; + right: 0; + background-color: transparent; + transition: background-color .3s var(--n-bezier); + pointer-events: none; + `)])]),ul(k("list",` + --n-merged-color-hover: var(--n-color-hover-modal); + --n-merged-color: var(--n-color-modal); + --n-merged-border-color: var(--n-border-color-modal); + `)),cl(k("list",` + --n-merged-color-hover: var(--n-color-hover-popover); + --n-merged-color: var(--n-color-popover); + --n-merged-border-color: var(--n-border-color-popover); + `))]),$h=Object.assign(Object.assign({},re.props),{size:{type:String,default:"medium"},bordered:Boolean,clickable:Boolean,hoverable:Boolean,showDivider:{type:Boolean,default:!0}}),pi=We("n-list"),zh=K({name:"List",props:$h,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:r,mergedRtlRef:n}=Ie(e),o=_t("List",n,t),i=re("List","-list",kh,dh,e,t);Pe(pi,{showDividerRef:Z(e,"showDivider"),mergedClsPrefixRef:t});const l=D(()=>{const{common:{cubicBezierEaseInOut:a},self:{fontSize:d,textColor:c,color:f,colorModal:h,colorPopover:p,borderColor:y,borderColorModal:S,borderColorPopover:m,borderRadius:x,colorHover:z,colorHoverModal:O,colorHoverPopover:w}}=i.value;return{"--n-font-size":d,"--n-bezier":a,"--n-text-color":c,"--n-color":f,"--n-border-radius":x,"--n-border-color":y,"--n-border-color-modal":S,"--n-border-color-popover":m,"--n-color-modal":h,"--n-color-popover":p,"--n-color-hover":z,"--n-color-hover-modal":O,"--n-color-hover-popover":w}}),s=r?Ae("list",void 0,l,e):void 0;return{mergedClsPrefix:t,rtlEnabled:o,cssVars:r?void 0:l,themeClass:s==null?void 0:s.themeClass,onRender:s==null?void 0:s.onRender}},render(){var e;const{$slots:t,mergedClsPrefix:r,onRender:n}=this;return n==null||n(),u("ul",{class:[`${r}-list`,this.rtlEnabled&&`${r}-list--rtl`,this.bordered&&`${r}-list--bordered`,this.showDivider&&`${r}-list--show-divider`,this.hoverable&&`${r}-list--hoverable`,this.clickable&&`${r}-list--clickable`,this.themeClass],style:this.cssVars},t.header?u("div",{class:`${r}-list__header`},t.header()):null,(e=t.default)===null||e===void 0?void 0:e.call(t),t.footer?u("div",{class:`${r}-list__footer`},t.footer()):null)}}),Th=K({name:"ListItem",setup(){const e=ie(pi,null);return e||bt("list-item","`n-list-item` must be placed in `n-list`."),{showDivider:e.showDividerRef,mergedClsPrefix:e.mergedClsPrefixRef}},render(){const{$slots:e,mergedClsPrefix:t}=this;return u("li",{class:`${t}-list-item`},e.prefix?u("div",{class:`${t}-list-item__prefix`},e.prefix()):null,e.default?u("div",{class:`${t}-list-item__main`},e):null,e.suffix?u("div",{class:`${t}-list-item__suffix`},e.suffix()):null,this.showDivider&&u("div",{class:`${t}-list-item__divider`}))}});function tn(){const e=ie(fl,null);return e===null&&bt("use-message","No outer founded. See prerequisite in https://www.naiveui.com/en-US/os-theme/components/message for more details. If you want to use `useMessage` outside setup, please check https://www.naiveui.com/zh-CN/os-theme/components/message#Q-&-A."),e}const Ih=H([k("progress",{display:"inline-block"},[k("progress-icon",` + color: var(--n-icon-color); + transition: color .3s var(--n-bezier); + `),W("line",` + width: 100%; + display: block; + `,[k("progress-content",` + display: flex; + align-items: center; + `,[k("progress-graph",{flex:1})]),k("progress-custom-content",{marginLeft:"14px"}),k("progress-icon",` + width: 30px; + padding-left: 14px; + height: var(--n-icon-size-line); + line-height: var(--n-icon-size-line); + font-size: var(--n-icon-size-line); + `,[W("as-text",` + color: var(--n-text-color-line-outer); + text-align: center; + width: 40px; + font-size: var(--n-font-size); + padding-left: 4px; + transition: color .3s var(--n-bezier); + `)])]),W("circle, dashboard",{width:"120px"},[k("progress-custom-content",` + position: absolute; + left: 50%; + top: 50%; + transform: translateX(-50%) translateY(-50%); + display: flex; + align-items: center; + justify-content: center; + `),k("progress-text",` + position: absolute; + left: 50%; + top: 50%; + transform: translateX(-50%) translateY(-50%); + display: flex; + align-items: center; + color: inherit; + font-size: var(--n-font-size-circle); + color: var(--n-text-color-circle); + font-weight: var(--n-font-weight-circle); + transition: color .3s var(--n-bezier); + white-space: nowrap; + `),k("progress-icon",` + position: absolute; + left: 50%; + top: 50%; + transform: translateX(-50%) translateY(-50%); + display: flex; + align-items: center; + color: var(--n-icon-color); + font-size: var(--n-icon-size-circle); + `)]),W("multiple-circle",` + width: 200px; + color: inherit; + `,[k("progress-text",` + font-weight: var(--n-font-weight-circle); + color: var(--n-text-color-circle); + position: absolute; + left: 50%; + top: 50%; + transform: translateX(-50%) translateY(-50%); + display: flex; + align-items: center; + justify-content: center; + transition: color .3s var(--n-bezier); + `)]),k("progress-content",{position:"relative"}),k("progress-graph",{position:"relative"},[k("progress-graph-circle",[H("svg",{verticalAlign:"bottom"}),k("progress-graph-circle-fill",` + stroke: var(--n-fill-color); + transition: + opacity .3s var(--n-bezier), + stroke .3s var(--n-bezier), + stroke-dasharray .3s var(--n-bezier); + `,[W("empty",{opacity:0})]),k("progress-graph-circle-rail",` + transition: stroke .3s var(--n-bezier); + overflow: hidden; + stroke: var(--n-rail-color); + `)]),k("progress-graph-line",[W("indicator-inside",[k("progress-graph-line-rail",` + height: 16px; + line-height: 16px; + border-radius: 10px; + `,[k("progress-graph-line-fill",` + height: inherit; + border-radius: 10px; + `),k("progress-graph-line-indicator",` + background: #0000; + white-space: nowrap; + text-align: right; + margin-left: 14px; + margin-right: 14px; + height: inherit; + font-size: 12px; + color: var(--n-text-color-line-inner); + transition: color .3s var(--n-bezier); + `)])]),W("indicator-inside-label",` + height: 16px; + display: flex; + align-items: center; + `,[k("progress-graph-line-rail",` + flex: 1; + transition: background-color .3s var(--n-bezier); + `),k("progress-graph-line-indicator",` + background: var(--n-fill-color); + font-size: 12px; + transform: translateZ(0); + display: flex; + vertical-align: middle; + height: 16px; + line-height: 16px; + padding: 0 10px; + border-radius: 10px; + position: absolute; + white-space: nowrap; + color: var(--n-text-color-line-inner); + transition: + right .2s var(--n-bezier), + color .3s var(--n-bezier), + background-color .3s var(--n-bezier); + `)]),k("progress-graph-line-rail",` + position: relative; + overflow: hidden; + height: var(--n-rail-height); + border-radius: 5px; + background-color: var(--n-rail-color); + transition: background-color .3s var(--n-bezier); + `,[k("progress-graph-line-fill",` + background: var(--n-fill-color); + position: relative; + border-radius: 5px; + height: inherit; + width: 100%; + max-width: 0%; + transition: + background-color .3s var(--n-bezier), + max-width .2s var(--n-bezier); + `,[W("processing",[H("&::after",` + content: ""; + background-image: var(--n-line-bg-processing); + animation: progress-processing-animation 2s var(--n-bezier) infinite; + `)])])])])])]),H("@keyframes progress-processing-animation",` + 0% { + position: absolute; + left: 0; + top: 0; + bottom: 0; + right: 100%; + opacity: 1; + } + 66% { + position: absolute; + left: 0; + top: 0; + bottom: 0; + right: 0; + opacity: 0; + } + 100% { + position: absolute; + left: 0; + top: 0; + bottom: 0; + right: 0; + opacity: 0; + } + `)]),Rh={success:u(mo,null),error:u(bo,null),warning:u(yo,null),info:u(wo,null)},Oh=K({name:"ProgressLine",props:{clsPrefix:{type:String,required:!0},percentage:{type:Number,default:0},railColor:String,railStyle:[String,Object],fillColor:String,status:{type:String,required:!0},indicatorPlacement:{type:String,required:!0},indicatorTextColor:String,unit:{type:String,default:"%"},processing:{type:Boolean,required:!0},showIndicator:{type:Boolean,required:!0},height:[String,Number],railBorderRadius:[String,Number],fillBorderRadius:[String,Number]},setup(e,{slots:t}){const r=D(()=>Fe(e.height)),n=D(()=>e.railBorderRadius!==void 0?Fe(e.railBorderRadius):e.height!==void 0?Fe(e.height,{c:.5}):""),o=D(()=>e.fillBorderRadius!==void 0?Fe(e.fillBorderRadius):e.railBorderRadius!==void 0?Fe(e.railBorderRadius):e.height!==void 0?Fe(e.height,{c:.5}):"");return()=>{const{indicatorPlacement:i,railColor:l,railStyle:s,percentage:a,unit:d,indicatorTextColor:c,status:f,showIndicator:h,fillColor:p,processing:y,clsPrefix:S}=e;return u("div",{class:`${S}-progress-content`,role:"none"},u("div",{class:`${S}-progress-graph`,"aria-hidden":!0},u("div",{class:[`${S}-progress-graph-line`,{[`${S}-progress-graph-line--indicator-${i}`]:!0}]},u("div",{class:`${S}-progress-graph-line-rail`,style:[{backgroundColor:l,height:r.value,borderRadius:n.value},s]},u("div",{class:[`${S}-progress-graph-line-fill`,y&&`${S}-progress-graph-line-fill--processing`],style:{maxWidth:`${e.percentage}%`,backgroundColor:p,height:r.value,lineHeight:r.value,borderRadius:o.value}},i==="inside"?u("div",{class:`${S}-progress-graph-line-indicator`,style:{color:c}},a,d):null)))),h&&i==="outside"?u("div",null,t.default?u("div",{class:`${S}-progress-custom-content`,style:{color:c},role:"none"},t.default()):f==="default"?u("div",{role:"none",class:`${S}-progress-icon ${S}-progress-icon--as-text`,style:{color:c}},a,d):u("div",{class:`${S}-progress-icon`,"aria-hidden":!0},u(ce,{clsPrefix:S},{default:()=>Rh[f]}))):null)}}}),_h={success:u(mo,null),error:u(bo,null),warning:u(yo,null),info:u(wo,null)},Mh=K({name:"ProgressCircle",props:{clsPrefix:{type:String,required:!0},status:{type:String,required:!0},strokeWidth:{type:Number,required:!0},fillColor:String,railColor:String,railStyle:[String,Object],percentage:{type:Number,default:0},offsetDegree:{type:Number,default:0},showIndicator:{type:Boolean,required:!0},indicatorTextColor:String,unit:String,viewBoxWidth:{type:Number,required:!0},gapDegree:{type:Number,required:!0},gapOffsetDegree:{type:Number,default:0}},setup(e,{slots:t}){function r(n,o,i){const{gapDegree:l,viewBoxWidth:s,strokeWidth:a}=e,d=50,c=0,f=d,h=0,p=2*d,y=50+a/2,S=`M ${y},${y} m ${c},${f} + a ${d},${d} 0 1 1 ${h},${-p} + a ${d},${d} 0 1 1 ${-h},${p}`,m=Math.PI*2*d,x={stroke:i,strokeDasharray:`${n/100*(m-l)}px ${s*8}px`,strokeDashoffset:`-${l/2}px`,transformOrigin:o?"center":void 0,transform:o?`rotate(${o}deg)`:void 0};return{pathString:S,pathStyle:x}}return()=>{const{fillColor:n,railColor:o,strokeWidth:i,offsetDegree:l,status:s,percentage:a,showIndicator:d,indicatorTextColor:c,unit:f,gapOffsetDegree:h,clsPrefix:p}=e,{pathString:y,pathStyle:S}=r(100,0,o),{pathString:m,pathStyle:x}=r(a,l,n),z=100+i;return u("div",{class:`${p}-progress-content`,role:"none"},u("div",{class:`${p}-progress-graph`,"aria-hidden":!0},u("div",{class:`${p}-progress-graph-circle`,style:{transform:h?`rotate(${h}deg)`:void 0}},u("svg",{viewBox:`0 0 ${z} ${z}`},u("g",null,u("path",{class:`${p}-progress-graph-circle-rail`,d:y,"stroke-width":i,"stroke-linecap":"round",fill:"none",style:S})),u("g",null,u("path",{class:[`${p}-progress-graph-circle-fill`,a===0&&`${p}-progress-graph-circle-fill--empty`],d:m,"stroke-width":i,"stroke-linecap":"round",fill:"none",style:x}))))),d?u("div",null,t.default?u("div",{class:`${p}-progress-custom-content`,role:"none"},t.default()):s!=="default"?u("div",{class:`${p}-progress-icon`,"aria-hidden":!0},u(ce,{clsPrefix:p},{default:()=>_h[s]})):u("div",{class:`${p}-progress-text`,style:{color:c},role:"none"},u("span",{class:`${p}-progress-text__percentage`},a),u("span",{class:`${p}-progress-text__unit`},f))):null)}}});function Gn(e,t,r=100){return`m ${r/2} ${r/2-e} a ${e} ${e} 0 1 1 0 ${2*e} a ${e} ${e} 0 1 1 0 -${2*e}`}const Bh=K({name:"ProgressMultipleCircle",props:{clsPrefix:{type:String,required:!0},viewBoxWidth:{type:Number,required:!0},percentage:{type:Array,default:[0]},strokeWidth:{type:Number,required:!0},circleGap:{type:Number,required:!0},showIndicator:{type:Boolean,required:!0},fillColor:{type:Array,default:()=>[]},railColor:{type:Array,default:()=>[]},railStyle:{type:Array,default:()=>[]}},setup(e,{slots:t}){const r=D(()=>e.percentage.map((o,i)=>`${Math.PI*o/100*(e.viewBoxWidth/2-e.strokeWidth/2*(1+2*i)-e.circleGap*i)*2}, ${e.viewBoxWidth*8}`));return()=>{const{viewBoxWidth:n,strokeWidth:o,circleGap:i,showIndicator:l,fillColor:s,railColor:a,railStyle:d,percentage:c,clsPrefix:f}=e;return u("div",{class:`${f}-progress-content`,role:"none"},u("div",{class:`${f}-progress-graph`,"aria-hidden":!0},u("div",{class:`${f}-progress-graph-circle`},u("svg",{viewBox:`0 0 ${n} ${n}`},c.map((h,p)=>u("g",{key:p},u("path",{class:`${f}-progress-graph-circle-rail`,d:Gn(n/2-o/2*(1+2*p)-i*p,o,n),"stroke-width":o,"stroke-linecap":"round",fill:"none",style:[{strokeDashoffset:0,stroke:a[p]},d[p]]}),u("path",{class:[`${f}-progress-graph-circle-fill`,h===0&&`${f}-progress-graph-circle-fill--empty`],d:Gn(n/2-o/2*(1+2*p)-i*p,o,n),"stroke-width":o,"stroke-linecap":"round",fill:"none",style:{strokeDasharray:r.value[p],strokeDashoffset:0,stroke:s[p]}})))))),l&&t.default?u("div",null,u("div",{class:`${f}-progress-text`},t.default())):null)}}}),Lh=Object.assign(Object.assign({},re.props),{processing:Boolean,type:{type:String,default:"line"},gapDegree:Number,gapOffsetDegree:Number,status:{type:String,default:"default"},railColor:[String,Array],railStyle:[String,Array],color:[String,Array],viewBoxWidth:{type:Number,default:100},strokeWidth:{type:Number,default:7},percentage:[Number,Array],unit:{type:String,default:"%"},showIndicator:{type:Boolean,default:!0},indicatorPosition:{type:String,default:"outside"},indicatorPlacement:{type:String,default:"outside"},indicatorTextColor:String,circleGap:{type:Number,default:1},height:Number,borderRadius:[String,Number],fillBorderRadius:[String,Number],offsetDegree:Number}),Eh=K({name:"Progress",props:Lh,setup(e){const t=D(()=>e.indicatorPlacement||e.indicatorPosition),r=D(()=>{if(e.gapDegree||e.gapDegree===0)return e.gapDegree;if(e.type==="dashboard")return 75}),{mergedClsPrefixRef:n,inlineThemeDisabled:o}=Ie(e),i=re("Progress","-progress",Ih,ci,e,n),l=D(()=>{const{status:a}=e,{common:{cubicBezierEaseInOut:d},self:{fontSize:c,fontSizeCircle:f,railColor:h,railHeight:p,iconSizeCircle:y,iconSizeLine:S,textColorCircle:m,textColorLineInner:x,textColorLineOuter:z,lineBgProcessing:O,fontWeightCircle:w,[ne("iconColor",a)]:g,[ne("fillColor",a)]:M}}=i.value;return{"--n-bezier":d,"--n-fill-color":M,"--n-font-size":c,"--n-font-size-circle":f,"--n-font-weight-circle":w,"--n-icon-color":g,"--n-icon-size-circle":y,"--n-icon-size-line":S,"--n-line-bg-processing":O,"--n-rail-color":h,"--n-rail-height":p,"--n-text-color-circle":m,"--n-text-color-line-inner":x,"--n-text-color-line-outer":z}}),s=o?Ae("progress",D(()=>e.status[0]),l,e):void 0;return{mergedClsPrefix:n,mergedIndicatorPlacement:t,gapDeg:r,cssVars:o?void 0:l,themeClass:s==null?void 0:s.themeClass,onRender:s==null?void 0:s.onRender}},render(){const{type:e,cssVars:t,indicatorTextColor:r,showIndicator:n,status:o,railColor:i,railStyle:l,color:s,percentage:a,viewBoxWidth:d,strokeWidth:c,mergedIndicatorPlacement:f,unit:h,borderRadius:p,fillBorderRadius:y,height:S,processing:m,circleGap:x,mergedClsPrefix:z,gapDeg:O,gapOffsetDegree:w,themeClass:g,$slots:M,onRender:b}=this;return b==null||b(),u("div",{class:[g,`${z}-progress`,`${z}-progress--${e}`,`${z}-progress--${o}`],style:t,"aria-valuemax":100,"aria-valuemin":0,"aria-valuenow":a,role:e==="circle"||e==="line"||e==="dashboard"?"progressbar":"none"},e==="circle"||e==="dashboard"?u(Mh,{clsPrefix:z,status:o,showIndicator:n,indicatorTextColor:r,railColor:i,fillColor:s,railStyle:l,offsetDegree:this.offsetDegree,percentage:a,viewBoxWidth:d,strokeWidth:c,gapDegree:O===void 0?e==="dashboard"?75:0:O,gapOffsetDegree:w,unit:h},M):e==="line"?u(Oh,{clsPrefix:z,status:o,showIndicator:n,indicatorTextColor:r,railColor:i,fillColor:s,railStyle:l,percentage:a,processing:m,indicatorPlacement:f,unit:h,fillBorderRadius:y,railBorderRadius:p,height:S},M):e==="multiple-circle"?u(Bh,{clsPrefix:z,strokeWidth:c,railColor:i,fillColor:s,railStyle:l,viewBoxWidth:d,percentage:a,showIndicator:n,circleGap:x},M):null)}}),Ah=k("thing",` + display: flex; + transition: color .3s var(--n-bezier); + font-size: var(--n-font-size); + color: var(--n-text-color); +`,[k("thing-avatar",` + margin-right: 12px; + margin-top: 2px; + `),k("thing-avatar-header-wrapper",` + display: flex; + flex-wrap: nowrap; + `,[k("thing-header-wrapper",` + flex: 1; + `)]),k("thing-main",` + flex-grow: 1; + `,[k("thing-header",` + display: flex; + margin-bottom: 4px; + justify-content: space-between; + align-items: center; + `,[B("title",` + font-size: 16px; + font-weight: var(--n-title-font-weight); + transition: color .3s var(--n-bezier); + color: var(--n-title-text-color); + `)]),B("description",[H("&:not(:last-child)",` + margin-bottom: 4px; + `)]),B("content",[H("&:not(:first-child)",` + margin-top: 12px; + `)]),B("footer",[H("&:not(:first-child)",` + margin-top: 12px; + `)]),B("action",[H("&:not(:first-child)",` + margin-top: 12px; + `)])])]),Dh=Object.assign(Object.assign({},re.props),{title:String,titleExtra:String,description:String,descriptionStyle:[String,Object],content:String,contentStyle:[String,Object],contentIndented:Boolean}),vi=K({name:"Thing",props:Dh,setup(e,{slots:t}){const{mergedClsPrefixRef:r,inlineThemeDisabled:n,mergedRtlRef:o}=Ie(e),i=re("Thing","-thing",Ah,ph,e,r),l=_t("Thing",o,r),s=D(()=>{const{self:{titleTextColor:d,textColor:c,titleFontWeight:f,fontSize:h},common:{cubicBezierEaseInOut:p}}=i.value;return{"--n-bezier":p,"--n-font-size":h,"--n-text-color":c,"--n-title-font-weight":f,"--n-title-text-color":d}}),a=n?Ae("thing",void 0,s,e):void 0;return()=>{var d;const{value:c}=r,f=l?l.value:!1;return(d=a==null?void 0:a.onRender)===null||d===void 0||d.call(a),u("div",{class:[`${c}-thing`,a==null?void 0:a.themeClass,f&&`${c}-thing--rtl`],style:n?void 0:s.value},t.avatar&&e.contentIndented?u("div",{class:`${c}-thing-avatar`},t.avatar()):null,u("div",{class:`${c}-thing-main`},!e.contentIndented&&(t.header||e.title||t["header-extra"]||e.titleExtra||t.avatar)?u("div",{class:`${c}-thing-avatar-header-wrapper`},t.avatar?u("div",{class:`${c}-thing-avatar`},t.avatar()):null,t.header||e.title||t["header-extra"]||e.titleExtra?u("div",{class:`${c}-thing-header-wrapper`},u("div",{class:`${c}-thing-header`},t.header||e.title?u("div",{class:`${c}-thing-header__title`},t.header?t.header():e.title):null,t["header-extra"]||e.titleExtra?u("div",{class:`${c}-thing-header__extra`},t["header-extra"]?t["header-extra"]():e.titleExtra):null),t.description||e.description?u("div",{class:`${c}-thing-main__description`,style:e.descriptionStyle},t.description?t.description():e.description):null):null):u(je,null,t.header||e.title||t["header-extra"]||e.titleExtra?u("div",{class:`${c}-thing-header`},t.header||e.title?u("div",{class:`${c}-thing-header__title`},t.header?t.header():e.title):null,t["header-extra"]||e.titleExtra?u("div",{class:`${c}-thing-header__extra`},t["header-extra"]?t["header-extra"]():e.titleExtra):null):null,t.description||e.description?u("div",{class:`${c}-thing-main__description`,style:e.descriptionStyle},t.description?t.description():e.description):null),t.default||e.content?u("div",{class:`${c}-thing-main__content`,style:e.contentStyle},t.default?t.default():e.content):null,t.footer?u("div",{class:`${c}-thing-main__footer`},t.footer()):null,t.action?u("div",{class:`${c}-thing-main__action`},t.action()):null))}}}),yt=We("n-upload"),gi="__UPLOAD_DRAGGER__",Fh=K({name:"UploadDragger",[gi]:!0,setup(e,{slots:t}){const r=ie(yt,null);return r||bt("upload-dragger","`n-upload-dragger` must be placed inside `n-upload`."),()=>{const{mergedClsPrefixRef:{value:n},mergedDisabledRef:{value:o},maxReachedRef:{value:i}}=r;return u("div",{class:[`${n}-upload-dragger`,(o||i)&&`${n}-upload-dragger--disabled`]},t)}}});var mi=globalThis&&globalThis.__awaiter||function(e,t,r,n){function o(i){return i instanceof r?i:new r(function(l){l(i)})}return new(r||(r=Promise))(function(i,l){function s(c){try{d(n.next(c))}catch(f){l(f)}}function a(c){try{d(n.throw(c))}catch(f){l(f)}}function d(c){c.done?i(c.value):o(c.value).then(s,a)}d((n=n.apply(e,t||[])).next())})};const bi=e=>e.includes("image/"),Xn=(e="")=>{const t=e.split("/"),n=t[t.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(n)||[""])[0]},Yn=/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico)$/i,yi=e=>{if(e.type)return bi(e.type);const t=Xn(e.name||"");if(Yn.test(t))return!0;const r=e.thumbnailUrl||e.url||"",n=Xn(r);return!!(/^data:image\//.test(r)||Yn.test(n))};function Nh(e){return mi(this,void 0,void 0,function*(){return yield new Promise(t=>{if(!e.type||!bi(e.type)){t("");return}t(window.URL.createObjectURL(e))})})}const Hh=Wr&&window.FileReader&&window.File;function jh(e){return e.isDirectory}function Wh(e){return e.isFile}function Uh(e,t){return mi(this,void 0,void 0,function*(){const r=[];let n,o=0;function i(){o++}function l(){o--,o||n(r)}function s(a){a.forEach(d=>{if(d){if(i(),t&&jh(d)){const c=d.createReader();i(),c.readEntries(f=>{s(f),l()},()=>{l()})}else Wh(d)&&(i(),d.file(c=>{r.push({file:c,entry:d,source:"dnd"}),l()},()=>{l()}));l()}})}return yield new Promise(a=>{n=a,s(e)}),r})}function Rt(e){const{id:t,name:r,percentage:n,status:o,url:i,file:l,thumbnailUrl:s,type:a,fullPath:d,batchId:c}=e;return{id:t,name:r,percentage:n??null,status:o,url:i??null,file:l??null,thumbnailUrl:s??null,type:a??null,fullPath:d??null,batchId:c??null}}function Vh(e,t,r){return e=e.toLowerCase(),t=t.toLocaleLowerCase(),r=r.toLocaleLowerCase(),r.split(",").map(o=>o.trim()).filter(Boolean).some(o=>{if(o.startsWith(".")){if(e.endsWith(o))return!0}else if(o.includes("/")){const[i,l]=t.split("/"),[s,a]=o.split("/");if((s==="*"||i&&s&&s===i)&&(a==="*"||l&&a&&a===l))return!0}else return!0;return!1})}const Kh=(e,t)=>{if(!e)return;const r=document.createElement("a");r.href=e,t!==void 0&&(r.download=t),document.body.appendChild(r),r.click(),document.body.removeChild(r)},wi=K({name:"UploadTrigger",props:{abstract:Boolean},setup(e,{slots:t}){const r=ie(yt,null);r||bt("upload-trigger","`n-upload-trigger` must be placed inside `n-upload`.");const{mergedClsPrefixRef:n,mergedDisabledRef:o,maxReachedRef:i,listTypeRef:l,dragOverRef:s,openOpenFileDialog:a,draggerInsideRef:d,handleFileAddition:c,mergedDirectoryDndRef:f,triggerStyleRef:h}=r,p=D(()=>l.value==="image-card");function y(){o.value||i.value||a()}function S(O){O.preventDefault(),s.value=!0}function m(O){O.preventDefault(),s.value=!0}function x(O){O.preventDefault(),s.value=!1}function z(O){var w;if(O.preventDefault(),!d.value||o.value||i.value){s.value=!1;return}const g=(w=O.dataTransfer)===null||w===void 0?void 0:w.items;g!=null&&g.length?Uh(Array.from(g).map(M=>M.webkitGetAsEntry()),f.value).then(M=>{c(M)}).finally(()=>{s.value=!1}):s.value=!1}return()=>{var O;const{value:w}=n;return e.abstract?(O=t.default)===null||O===void 0?void 0:O.call(t,{handleClick:y,handleDrop:z,handleDragOver:S,handleDragEnter:m,handleDragLeave:x}):u("div",{class:[`${w}-upload-trigger`,(o.value||i.value)&&`${w}-upload-trigger--disabled`,p.value&&`${w}-upload-trigger--image-card`],style:h.value,onClick:y,onDrop:z,onDragover:S,onDragenter:m,onDragleave:x},p.value?u(Fh,null,{default:()=>ft(t.default,()=>[u(ce,{clsPrefix:w},{default:()=>u(tc,null)})])}):t)}}}),qh=K({name:"UploadProgress",props:{show:Boolean,percentage:{type:Number,required:!0},status:{type:String,required:!0}},setup(){return{mergedTheme:ie(yt).mergedThemeRef}},render(){return u(xo,null,{default:()=>this.show?u(Eh,{type:"line",showIndicator:!1,percentage:this.percentage,status:this.status,height:2,theme:this.mergedTheme.peers.Progress,themeOverrides:this.mergedTheme.peerOverrides.Progress}):null})}}),Gh=u("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 28 28"},u("g",{fill:"none"},u("path",{d:"M21.75 3A3.25 3.25 0 0 1 25 6.25v15.5A3.25 3.25 0 0 1 21.75 25H6.25A3.25 3.25 0 0 1 3 21.75V6.25A3.25 3.25 0 0 1 6.25 3h15.5zm.583 20.4l-7.807-7.68a.75.75 0 0 0-.968-.07l-.084.07l-7.808 7.68c.183.065.38.1.584.1h15.5c.204 0 .4-.035.583-.1l-7.807-7.68l7.807 7.68zM21.75 4.5H6.25A1.75 1.75 0 0 0 4.5 6.25v15.5c0 .208.036.408.103.593l7.82-7.692a2.25 2.25 0 0 1 3.026-.117l.129.117l7.82 7.692c.066-.185.102-.385.102-.593V6.25a1.75 1.75 0 0 0-1.75-1.75zm-3.25 3a2.5 2.5 0 1 1 0 5a2.5 2.5 0 0 1 0-5zm0 1.5a1 1 0 1 0 0 2a1 1 0 0 0 0-2z",fill:"currentColor"}))),Xh=u("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 28 28"},u("g",{fill:"none"},u("path",{d:"M6.4 2A2.4 2.4 0 0 0 4 4.4v19.2A2.4 2.4 0 0 0 6.4 26h15.2a2.4 2.4 0 0 0 2.4-2.4V11.578c0-.729-.29-1.428-.805-1.944l-6.931-6.931A2.4 2.4 0 0 0 14.567 2H6.4zm-.9 2.4a.9.9 0 0 1 .9-.9H14V10a2 2 0 0 0 2 2h6.5v11.6a.9.9 0 0 1-.9.9H6.4a.9.9 0 0 1-.9-.9V4.4zm16.44 6.1H16a.5.5 0 0 1-.5-.5V4.06l6.44 6.44z",fill:"currentColor"})));var Yh=globalThis&&globalThis.__awaiter||function(e,t,r,n){function o(i){return i instanceof r?i:new r(function(l){l(i)})}return new(r||(r=Promise))(function(i,l){function s(c){try{d(n.next(c))}catch(f){l(f)}}function a(c){try{d(n.throw(c))}catch(f){l(f)}}function d(c){c.done?i(c.value):o(c.value).then(s,a)}d((n=n.apply(e,t||[])).next())})};const Ut={paddingMedium:"0 3px",heightMedium:"24px",iconSizeMedium:"18px"},Zh=K({name:"UploadFile",props:{clsPrefix:{type:String,required:!0},file:{type:Object,required:!0},listType:{type:String,required:!0}},setup(e){const t=ie(yt),r=L(null),n=L(""),o=D(()=>{const{file:g}=e;return g.status==="finished"?"success":g.status==="error"?"error":"info"}),i=D(()=>{const{file:g}=e;if(g.status==="error")return"error"}),l=D(()=>{const{file:g}=e;return g.status==="uploading"}),s=D(()=>{if(!t.showCancelButtonRef.value)return!1;const{file:g}=e;return["uploading","pending","error"].includes(g.status)}),a=D(()=>{if(!t.showRemoveButtonRef.value)return!1;const{file:g}=e;return["finished"].includes(g.status)}),d=D(()=>{if(!t.showDownloadButtonRef.value)return!1;const{file:g}=e;return["finished"].includes(g.status)}),c=D(()=>{if(!t.showRetryButtonRef.value)return!1;const{file:g}=e;return["error"].includes(g.status)}),f=Be(()=>n.value||e.file.thumbnailUrl||e.file.url),h=D(()=>{if(!t.showPreviewButtonRef.value)return!1;const{file:{status:g},listType:M}=e;return["finished"].includes(g)&&f.value&&M==="image-card"});function p(){t.submit(e.file.id)}function y(g){g.preventDefault();const{file:M}=e;["finished","pending","error"].includes(M.status)?m(M):["uploading"].includes(M.status)?z(M):Ur("upload","The button clicked type is unknown.")}function S(g){g.preventDefault(),x(e.file)}function m(g){const{xhrMap:M,doChange:b,onRemoveRef:{value:R},mergedFileListRef:{value:P}}=t;Promise.resolve(R?R({file:Object.assign({},g),fileList:P}):!0).then(T=>{if(T===!1)return;const N=Object.assign({},g,{status:"removed"});M.delete(g.id),b(N,void 0,{remove:!0})})}function x(g){const{onDownloadRef:{value:M}}=t;Promise.resolve(M?M(Object.assign({},g)):!0).then(b=>{b!==!1&&Kh(g.url,g.name)})}function z(g){const{xhrMap:M}=t,b=M.get(g.id);b==null||b.abort(),m(Object.assign({},g))}function O(){const{onPreviewRef:{value:g}}=t;if(g)g(e.file);else if(e.listType==="image-card"){const{value:M}=r;if(!M)return;M.click()}}const w=()=>Yh(this,void 0,void 0,function*(){const{listType:g}=e;g!=="image"&&g!=="image-card"||t.shouldUseThumbnailUrlRef.value(e.file)&&(n.value=yield t.getFileThumbnailUrlResolver(e.file))});return ot(()=>{w()}),{mergedTheme:t.mergedThemeRef,progressStatus:o,buttonType:i,showProgress:l,disabled:t.mergedDisabledRef,showCancelButton:s,showRemoveButton:a,showDownloadButton:d,showRetryButton:c,showPreviewButton:h,mergedThumbnailUrl:f,shouldUseThumbnailUrl:t.shouldUseThumbnailUrlRef,renderIcon:t.renderIconRef,imageRef:r,handleRemoveOrCancelClick:y,handleDownloadClick:S,handleRetryClick:p,handlePreviewClick:O}},render(){const{clsPrefix:e,mergedTheme:t,listType:r,file:n,renderIcon:o}=this;let i;const l=r==="image";l||r==="image-card"?i=!this.shouldUseThumbnailUrl(n)||!this.mergedThumbnailUrl?u("span",{class:`${e}-upload-file-info__thumbnail`},o?o(n):yi(n)?u(ce,{clsPrefix:e},{default:()=>Gh}):u(ce,{clsPrefix:e},{default:()=>Xh})):u("a",{rel:"noopener noreferer",target:"_blank",href:n.url||void 0,class:`${e}-upload-file-info__thumbnail`,onClick:this.handlePreviewClick},r==="image-card"?u(Mr,{src:this.mergedThumbnailUrl||void 0,previewSrc:n.url||void 0,alt:n.name,ref:"imageRef"}):u("img",{src:this.mergedThumbnailUrl||void 0,alt:n.name})):i=u("span",{class:`${e}-upload-file-info__thumbnail`},o?o(n):u(ce,{clsPrefix:e},{default:()=>u(rc,null)}));const a=u(qh,{show:this.showProgress,percentage:n.percentage||0,status:this.progressStatus}),d=r==="text"||r==="image";return u("div",{class:[`${e}-upload-file`,`${e}-upload-file--${this.progressStatus}-status`,n.url&&n.status!=="error"&&r!=="image-card"&&`${e}-upload-file--with-url`,`${e}-upload-file--${r}-type`]},u("div",{class:`${e}-upload-file-info`},i,u("div",{class:`${e}-upload-file-info__name`},d&&(n.url&&n.status!=="error"?u("a",{rel:"noopener noreferer",target:"_blank",href:n.url||void 0,onClick:this.handlePreviewClick},n.name):u("span",{onClick:this.handlePreviewClick},n.name)),l&&a),u("div",{class:[`${e}-upload-file-info__action`,`${e}-upload-file-info__action--${r}-type`]},this.showPreviewButton?u(be,{key:"preview",quaternary:!0,type:this.buttonType,onClick:this.handlePreviewClick,theme:t.peers.Button,themeOverrides:t.peerOverrides.Button,builtinThemeOverrides:Ut},{icon:()=>u(ce,{clsPrefix:e},{default:()=>u(Xo,null)})}):null,(this.showRemoveButton||this.showCancelButton)&&!this.disabled&&u(be,{key:"cancelOrTrash",theme:t.peers.Button,themeOverrides:t.peerOverrides.Button,quaternary:!0,builtinThemeOverrides:Ut,type:this.buttonType,onClick:this.handleRemoveOrCancelClick},{icon:()=>u(po,null,{default:()=>this.showRemoveButton?u(ce,{clsPrefix:e,key:"trash"},{default:()=>u(ic,null)}):u(ce,{clsPrefix:e,key:"cancel"},{default:()=>u(sc,null)})})}),this.showRetryButton&&!this.disabled&&u(be,{key:"retry",quaternary:!0,type:this.buttonType,onClick:this.handleRetryClick,theme:t.peers.Button,themeOverrides:t.peerOverrides.Button,builtinThemeOverrides:Ut},{icon:()=>u(ce,{clsPrefix:e},{default:()=>u(cc,null)})}),this.showDownloadButton?u(be,{key:"download",quaternary:!0,type:this.buttonType,onClick:this.handleDownloadClick,theme:t.peers.Button,themeOverrides:t.peerOverrides.Button,builtinThemeOverrides:Ut},{icon:()=>u(ce,{clsPrefix:e},{default:()=>u(ac,null)})}):null)),!l&&a)}}),Jh=K({name:"UploadFileList",setup(e,{slots:t}){const r=ie(yt,null);r||bt("upload-file-list","`n-upload-file-list` must be placed inside `n-upload`.");const{abstractRef:n,mergedClsPrefixRef:o,listTypeRef:i,mergedFileListRef:l,fileListStyleRef:s,cssVarsRef:a,themeClassRef:d,maxReachedRef:c,showTriggerRef:f,imageGroupPropsRef:h}=r,p=D(()=>i.value==="image-card"),y=()=>l.value.map(m=>u(Zh,{clsPrefix:o.value,key:m.id,file:m,listType:i.value})),S=()=>p.value?u(Sh,Object.assign({},h.value),{default:y}):u(xo,{group:!0},{default:y});return()=>{const{value:m}=o,{value:x}=n;return u("div",{class:[`${m}-upload-file-list`,p.value&&`${m}-upload-file-list--grid`,x?d==null?void 0:d.value:void 0],style:[x&&a?a.value:"",s.value]},S(),f.value&&!c.value&&p.value&&u(wi,null,t))}}}),Qh=H([k("upload","width: 100%;",[W("dragger-inside",[k("upload-trigger",` + display: block; + `)]),W("drag-over",[k("upload-dragger",` + border: var(--n-dragger-border-hover); + `)])]),k("upload-dragger",` + cursor: pointer; + box-sizing: border-box; + width: 100%; + text-align: center; + border-radius: var(--n-border-radius); + padding: 24px; + opacity: 1; + transition: + opacity .3s var(--n-bezier), + border-color .3s var(--n-bezier), + background-color .3s var(--n-bezier); + background-color: var(--n-dragger-color); + border: var(--n-dragger-border); + `,[H("&:hover",` + border: var(--n-dragger-border-hover); + `),W("disabled",` + cursor: not-allowed; + `)]),k("upload-trigger",` + display: inline-block; + box-sizing: border-box; + opacity: 1; + transition: opacity .3s var(--n-bezier); + `,[H("+",[k("upload-file-list","margin-top: 8px;")]),W("disabled",` + opacity: var(--n-item-disabled-opacity); + cursor: not-allowed; + `),W("image-card",` + width: 96px; + height: 96px; + `,[k("base-icon",` + font-size: 24px; + `),k("upload-dragger",` + padding: 0; + height: 100%; + width: 100%; + display: flex; + align-items: center; + justify-content: center; + `)])]),k("upload-file-list",` + line-height: var(--n-line-height); + opacity: 1; + transition: opacity .3s var(--n-bezier); + `,[H("a, img","outline: none;"),W("disabled",` + opacity: var(--n-item-disabled-opacity); + cursor: not-allowed; + `,[k("upload-file","cursor: not-allowed;")]),W("grid",` + display: grid; + grid-template-columns: repeat(auto-fill, 96px); + grid-gap: 8px; + margin-top: 0; + `),k("upload-file",` + display: block; + box-sizing: border-box; + cursor: default; + padding: 0px 12px 0 6px; + transition: background-color .3s var(--n-bezier); + border-radius: var(--n-border-radius); + `,[bn(),k("progress",[bn({foldPadding:!0})]),H("&:hover",` + background-color: var(--n-item-color-hover); + `,[k("upload-file-info",[B("action",` + opacity: 1; + `)])]),W("image-type",` + border-radius: var(--n-border-radius); + text-decoration: underline; + text-decoration-color: #0000; + `,[k("upload-file-info",` + padding-top: 0px; + padding-bottom: 0px; + width: 100%; + height: 100%; + display: flex; + justify-content: space-between; + align-items: center; + padding: 6px 0; + `,[k("progress",` + padding: 2px 0; + margin-bottom: 0; + `),B("name",` + padding: 0 8px; + `),B("thumbnail",` + width: 32px; + height: 32px; + font-size: 28px; + display: flex; + justify-content: center; + align-items: center; + `,[H("img",` + width: 100%; + `)])])]),W("text-type",[k("progress",` + box-sizing: border-box; + padding-bottom: 6px; + margin-bottom: 6px; + `)]),W("image-card-type",` + position: relative; + width: 96px; + height: 96px; + border: var(--n-item-border-image-card); + border-radius: var(--n-border-radius); + padding: 0; + display: flex; + align-items: center; + justify-content: center; + transition: border-color .3s var(--n-bezier), background-color .3s var(--n-bezier); + border-radius: var(--n-border-radius); + overflow: hidden; + `,[k("progress",` + position: absolute; + left: 8px; + bottom: 8px; + right: 8px; + width: unset; + `),k("upload-file-info",` + padding: 0; + width: 100%; + height: 100%; + `,[B("thumbnail",` + width: 100%; + height: 100%; + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + font-size: 36px; + `,[H("img",` + width: 100%; + `)])]),H("&::before",` + position: absolute; + z-index: 1; + left: 0; + right: 0; + top: 0; + bottom: 0; + border-radius: inherit; + opacity: 0; + transition: opacity .2s var(--n-bezier); + content: ""; + `),H("&:hover",[H("&::before","opacity: 1;"),k("upload-file-info",[B("thumbnail","opacity: .12;")])])]),W("error-status",[H("&:hover",` + background-color: var(--n-item-color-hover-error); + `),k("upload-file-info",[B("name","color: var(--n-item-text-color-error);"),B("thumbnail","color: var(--n-item-text-color-error);")]),W("image-card-type",` + border: var(--n-item-border-image-card-error); + `)]),W("with-url",` + cursor: pointer; + `,[k("upload-file-info",[B("name",` + color: var(--n-item-text-color-success); + text-decoration-color: var(--n-item-text-color-success); + `,[H("a",` + text-decoration: underline; + `)])])]),k("upload-file-info",` + position: relative; + padding-top: 6px; + padding-bottom: 6px; + display: flex; + flex-wrap: nowrap; + `,[B("thumbnail",` + font-size: 18px; + opacity: 1; + transition: opacity .2s var(--n-bezier); + color: var(--n-item-icon-color); + `,[k("base-icon",` + margin-right: 2px; + vertical-align: middle; + transition: color .3s var(--n-bezier); + `)]),B("action",` + padding-top: inherit; + padding-bottom: inherit; + position: absolute; + right: 0; + top: 0; + bottom: 0; + width: 80px; + display: flex; + align-items: center; + transition: opacity .2s var(--n-bezier); + justify-content: flex-end; + opacity: 0; + `,[k("button",[H("&:not(:last-child)",{marginRight:"4px"}),k("base-icon",[H("svg",[fo()])])]),W("image-type",` + position: relative; + max-width: 80px; + width: auto; + `),W("image-card-type",` + z-index: 2; + position: absolute; + width: 100%; + height: 100%; + left: 0; + right: 0; + bottom: 0; + top: 0; + display: flex; + justify-content: center; + align-items: center; + `)]),B("name",` + color: var(--n-item-text-color); + flex: 1; + display: flex; + justify-content: center; + text-overflow: ellipsis; + overflow: hidden; + flex-direction: column; + text-decoration-color: #0000; + font-size: var(--n-font-size); + transition: + color .3s var(--n-bezier), + text-decoration-color .3s var(--n-bezier); + `,[H("a",` + color: inherit; + text-decoration: underline; + `)])])])]),k("upload-file-input",` + display: block; + width: 0; + height: 0; + opacity: 0; + `)]);var Zn=globalThis&&globalThis.__awaiter||function(e,t,r,n){function o(i){return i instanceof r?i:new r(function(l){l(i)})}return new(r||(r=Promise))(function(i,l){function s(c){try{d(n.next(c))}catch(f){l(f)}}function a(c){try{d(n.throw(c))}catch(f){l(f)}}function d(c){c.done?i(c.value):o(c.value).then(s,a)}d((n=n.apply(e,t||[])).next())})};function ep(e,t,r){const{doChange:n,xhrMap:o}=e;let i=0;function l(a){var d;let c=Object.assign({},t,{status:"error",percentage:i});o.delete(t.id),c=Rt(((d=e.onError)===null||d===void 0?void 0:d.call(e,{file:c,event:a}))||c),n(c,a)}function s(a){var d;if(e.isErrorState){if(e.isErrorState(r)){l(a);return}}else if(r.status<200||r.status>=300){l(a);return}let c=Object.assign({},t,{status:"finished",percentage:i});o.delete(t.id),c=Rt(((d=e.onFinish)===null||d===void 0?void 0:d.call(e,{file:c,event:a}))||c),n(c,a)}return{handleXHRLoad:s,handleXHRError:l,handleXHRAbort(a){const d=Object.assign({},t,{status:"removed",file:null,percentage:i});o.delete(t.id),n(d,a)},handleXHRProgress(a){const d=Object.assign({},t,{status:"uploading"});if(a.lengthComputable){const c=Math.ceil(a.loaded/a.total*100);d.percentage=c,i=c}n(d,a)}}}function tp(e){const{inst:t,file:r,data:n,headers:o,withCredentials:i,action:l,customRequest:s}=e,{doChange:a}=e.inst;let d=0;s({file:r,data:n,headers:o,withCredentials:i,action:l,onProgress(c){const f=Object.assign({},r,{status:"uploading"}),h=c.percent;f.percentage=h,d=h,a(f)},onFinish(){var c;let f=Object.assign({},r,{status:"finished",percentage:d});f=Rt(((c=t.onFinish)===null||c===void 0?void 0:c.call(t,{file:f}))||f),a(f)},onError(){var c;let f=Object.assign({},r,{status:"error",percentage:d});f=Rt(((c=t.onError)===null||c===void 0?void 0:c.call(t,{file:f}))||f),a(f)}})}function rp(e,t,r){const n=ep(e,t,r);r.onabort=n.handleXHRAbort,r.onerror=n.handleXHRError,r.onload=n.handleXHRLoad,r.upload&&(r.upload.onprogress=n.handleXHRProgress)}function xi(e,t){return typeof e=="function"?e({file:t}):e||{}}function np(e,t,r){const n=xi(t,r);n&&Object.keys(n).forEach(o=>{e.setRequestHeader(o,n[o])})}function op(e,t,r){const n=xi(t,r);n&&Object.keys(n).forEach(o=>{e.append(o,n[o])})}function ip(e,t,r,{method:n,action:o,withCredentials:i,responseType:l,headers:s,data:a}){const d=new XMLHttpRequest;d.responseType=l,e.xhrMap.set(r.id,d),d.withCredentials=i;const c=new FormData;if(op(c,a,r),c.append(t,r.file),rp(e,r,d),o!==void 0){d.open(n.toUpperCase(),o),np(d,s,r),d.send(c);const f=Object.assign({},r,{status:"uploading"});e.doChange(f)}}const ap=Object.assign(Object.assign({},re.props),{name:{type:String,default:"file"},accept:String,action:String,customRequest:Function,directory:Boolean,directoryDnd:{type:Boolean,default:void 0},method:{type:String,default:"POST"},multiple:Boolean,showFileList:{type:Boolean,default:!0},data:[Object,Function],headers:[Object,Function],withCredentials:Boolean,responseType:{type:String,default:""},disabled:{type:Boolean,default:void 0},onChange:Function,onRemove:Function,onFinish:Function,onError:Function,onBeforeUpload:Function,isErrorState:Function,onDownload:Function,defaultUpload:{type:Boolean,default:!0},fileList:Array,"onUpdate:fileList":[Function,Array],onUpdateFileList:[Function,Array],fileListStyle:[String,Object],defaultFileList:{type:Array,default:()=>[]},showCancelButton:{type:Boolean,default:!0},showRemoveButton:{type:Boolean,default:!0},showDownloadButton:Boolean,showRetryButton:{type:Boolean,default:!0},showPreviewButton:{type:Boolean,default:!0},listType:{type:String,default:"text"},onPreview:Function,shouldUseThumbnailUrl:{type:Function,default:e=>Hh?yi(e):!1},createThumbnailUrl:Function,abstract:Boolean,max:Number,showTrigger:{type:Boolean,default:!0},imageGroupProps:Object,inputProps:Object,triggerStyle:[String,Object],renderIcon:Object}),lp=K({name:"Upload",props:ap,setup(e){e.abstract&&e.listType==="image-card"&&bt("upload","when the list-type is image-card, abstract is not supported.");const{mergedClsPrefixRef:t,inlineThemeDisabled:r}=Ie(e),n=re("Upload","-upload",Qh,mh,e,t),o=vo(e),i=D(()=>{const{max:P}=e;return P!==void 0?p.value.length>=P:!1}),l=L(e.defaultFileList),s=Z(e,"fileList"),a=L(null),d={value:!1},c=L(!1),f=new Map,h=tr(s,l),p=D(()=>h.value.map(Rt));function y(){var P;(P=a.value)===null||P===void 0||P.click()}function S(P){const T=P.target;z(T.files?Array.from(T.files).map(N=>({file:N,entry:null,source:"input"})):null,P),T.value=""}function m(P){const{"onUpdate:fileList":T,onUpdateFileList:N}=e;T&&ue(T,P),N&&ue(N,P),l.value=P}const x=D(()=>e.multiple||e.directory);function z(P,T){if(!P||P.length===0)return;const{onBeforeUpload:N}=e;P=x.value?P:[P[0]];const{max:E,accept:_}=e;P=P.filter(({file:$,source:F})=>F==="dnd"&&(_!=null&&_.trim())?Vh($.name,$.type,_):!0),E&&(P=P.slice(0,E-p.value.length));const C=Pr();Promise.all(P.map(({file:$,entry:F})=>Zn(this,void 0,void 0,function*(){var A;const q={id:Pr(),batchId:C,name:$.name,status:"pending",percentage:0,file:$,url:null,type:$.type,thumbnailUrl:null,fullPath:(A=F==null?void 0:F.fullPath)!==null&&A!==void 0?A:`/${$.webkitRelativePath||$.name}`};return!N||(yield N({file:q,fileList:p.value}))!==!1?q:null}))).then($=>Zn(this,void 0,void 0,function*(){let F=Promise.resolve();return $.forEach(A=>{F=F.then(qt).then(()=>{A&&w(A,T,{append:!0})})}),yield F})).then(()=>{e.defaultUpload&&O()})}function O(P){const{method:T,action:N,withCredentials:E,headers:_,data:C,name:$}=e,F=P!==void 0?p.value.filter(q=>q.id===P):p.value,A=P!==void 0;F.forEach(q=>{const{status:Q}=q;(Q==="pending"||Q==="error"&&A)&&(e.customRequest?tp({inst:{doChange:w,xhrMap:f,onFinish:e.onFinish,onError:e.onError},file:q,action:N,withCredentials:E,headers:_,data:C,customRequest:e.customRequest}):ip({doChange:w,xhrMap:f,onFinish:e.onFinish,onError:e.onError,isErrorState:e.isErrorState},$,q,{method:T,action:N,withCredentials:E,responseType:e.responseType,headers:_,data:C}))})}const w=(P,T,N={append:!1,remove:!1})=>{const{append:E,remove:_}=N,C=Array.from(p.value),$=C.findIndex(F=>F.id===P.id);if(E||_||~$){E?C.push(P):_?C.splice($,1):C.splice($,1,P);const{onChange:F}=e;F&&F({file:P,fileList:C,event:T}),m(C)}};function g(P){var T;if(P.thumbnailUrl)return P.thumbnailUrl;const{createThumbnailUrl:N}=e;return N?(T=N(P.file,P))!==null&&T!==void 0?T:P.url||"":P.url?P.url:P.file?Nh(P.file):""}const M=D(()=>{const{common:{cubicBezierEaseInOut:P},self:{draggerColor:T,draggerBorder:N,draggerBorderHover:E,itemColorHover:_,itemColorHoverError:C,itemTextColorError:$,itemTextColorSuccess:F,itemTextColor:A,itemIconColor:q,itemDisabledOpacity:Q,lineHeight:fe,borderRadius:ye,fontSize:ge,itemBorderImageCardError:Re,itemBorderImageCard:oe}}=n.value;return{"--n-bezier":P,"--n-border-radius":ye,"--n-dragger-border":N,"--n-dragger-border-hover":E,"--n-dragger-color":T,"--n-font-size":ge,"--n-item-color-hover":_,"--n-item-color-hover-error":C,"--n-item-disabled-opacity":Q,"--n-item-icon-color":q,"--n-item-text-color":A,"--n-item-text-color-error":$,"--n-item-text-color-success":F,"--n-line-height":fe,"--n-item-border-image-card-error":Re,"--n-item-border-image-card":oe}}),b=r?Ae("upload",void 0,M,e):void 0;Pe(yt,{mergedClsPrefixRef:t,mergedThemeRef:n,showCancelButtonRef:Z(e,"showCancelButton"),showDownloadButtonRef:Z(e,"showDownloadButton"),showRemoveButtonRef:Z(e,"showRemoveButton"),showRetryButtonRef:Z(e,"showRetryButton"),onRemoveRef:Z(e,"onRemove"),onDownloadRef:Z(e,"onDownload"),mergedFileListRef:p,triggerStyleRef:Z(e,"triggerStyle"),shouldUseThumbnailUrlRef:Z(e,"shouldUseThumbnailUrl"),renderIconRef:Z(e,"renderIcon"),xhrMap:f,submit:O,doChange:w,showPreviewButtonRef:Z(e,"showPreviewButton"),onPreviewRef:Z(e,"onPreview"),getFileThumbnailUrlResolver:g,listTypeRef:Z(e,"listType"),dragOverRef:c,openOpenFileDialog:y,draggerInsideRef:d,handleFileAddition:z,mergedDisabledRef:o.mergedDisabledRef,maxReachedRef:i,fileListStyleRef:Z(e,"fileListStyle"),abstractRef:Z(e,"abstract"),acceptRef:Z(e,"accept"),cssVarsRef:r?void 0:M,themeClassRef:b==null?void 0:b.themeClass,onRender:b==null?void 0:b.onRender,showTriggerRef:Z(e,"showTrigger"),imageGroupPropsRef:Z(e,"imageGroupProps"),mergedDirectoryDndRef:D(()=>{var P;return(P=e.directoryDnd)!==null&&P!==void 0?P:e.directory})});const R={clear:()=>{l.value=[]},submit:O,openOpenFileDialog:y};return Object.assign({mergedClsPrefix:t,draggerInsideRef:d,inputElRef:a,mergedTheme:n,dragOver:c,mergedMultiple:x,cssVars:r?void 0:M,themeClass:b==null?void 0:b.themeClass,onRender:b==null?void 0:b.onRender,handleFileInputChange:S},R)},render(){var e,t;const{draggerInsideRef:r,mergedClsPrefix:n,$slots:o,directory:i,onRender:l}=this;if(o.default&&!this.abstract){const a=o.default()[0];!((e=a==null?void 0:a.type)===null||e===void 0)&&e[gi]&&(r.value=!0)}const s=u("input",Object.assign({},this.inputProps,{ref:"inputElRef",type:"file",class:`${n}-upload-file-input`,accept:this.accept,multiple:this.mergedMultiple,onChange:this.handleFileInputChange,webkitdirectory:i||void 0,directory:i||void 0}));return this.abstract?u(je,null,(t=o.default)===null||t===void 0?void 0:t.call(o),u(hl,{to:"body"},s)):(l==null||l(),u("div",{class:[`${n}-upload`,r.value&&`${n}-upload--dragger-inside`,this.dragOver&&`${n}-upload--drag-over`,this.themeClass],style:this.cssVars},s,this.showTrigger&&this.listType!=="image-card"&&u(wi,null,o),this.showFileList&&u(Jh,null,o)))}}),Jn="/web/assets/setting-c6ca7b14.svg";function sp(e){const t=document.cookie.match("(^|;) ?"+e+"=([^;]*)(;|$)");return t?t[2]:null}function dp(e,t,r=0,n="/",o=""){let i=e+"="+t+";path="+n;if(o&&(i+=";domain="+o),r>0){const l=new Date;l.setTime(l.getTime()+r*60*1e3),i+=";expires="+l.toUTCString()}document.cookie=i}const ut={get:sp,set:dp},Lt=pl("prompt-store",()=>{const e=L([{type:1,name:"ChatGPT 中文调教指南 - 简体",url:"https://raw.githubusercontent.com/PlexPt/awesome-chatgpt-prompts-zh/main/prompts-zh.json",refer:"https://github.com/PlexPt/awesome-chatgpt-prompts-zh"},{type:1,name:"ChatGPT 中文调教指南 - 繁体",url:"https://raw.githubusercontent.com/PlexPt/awesome-chatgpt-prompts-zh/main/prompts-zh-TW.json",refer:"https://github.com/PlexPt/awesome-chatgpt-prompts-zh"},{type:1,name:"Awesome ChatGPT Prompts",url:"https://raw.githubusercontent.com/f/awesome-chatgpt-prompts/main/prompts.csv",refer:"https://github.com/f/awesome-chatgpt-prompts"},{type:2,name:"",url:"",refer:""}]),t=L(!1),r=L(!1),n=L([]),o=L(""),i=L(0),l=L({isShow:!1,newPrompt:{act:"",prompt:""}}),s=D(()=>{var d;return o.value?(d=n.value)==null?void 0:d.filter(c=>c.act.includes(o.value)||c.prompt.includes(o.value)):n.value});function a(d){if(d instanceof Array&&d.every(c=>c.act&&c.prompt)){if(n.value.length===0)return n.value.push(...d),{result:!0,data:{successCount:d.length}};const c=d.filter(f=>{var h;return(h=n.value)==null?void 0:h.every(p=>f.act!==p.act&&f.prompt!==p.prompt)});return n.value.push(...c),{result:!0,data:{successCount:c.length}}}else return{result:!1,msg:"提示词格式有误"}}return{promptDownloadConfig:e,isShowPromptSotre:t,isShowChatPrompt:r,promptList:n,keyword:o,searchPromptList:s,selectedPromptIndex:i,optPromptConfig:l,addPrompt:a}},{persist:{key:"prompt-store",storage:localStorage,paths:["promptList"]}}),up=["href"],cp={key:1},fp=K({__name:"ChatNavItem",props:{navConfig:{}},setup(e){return(t,r)=>t.navConfig.url?(ve(),Ne("a",{key:0,href:t.navConfig.url,target:"_blank",rel:"noopener noreferrer"},it(t.navConfig.label),9,up)):(ve(),Ne("div",cp,it(t.navConfig.label),1))}}),hp=()=>/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),pp=e=>new Promise((t,r)=>setTimeout(t,e)),vp=vt("div",{class:"text-3xl py-2"},"设置用户",-1),gp=vt("div",{class:"text-xl py-2"},"将删除包括 Cookie 等的所有缓存?",-1),Cr="_U",mp="BingAI_Rand_IP",bp=K({__name:"ChatNav",setup(e){const t=L(!1),r=L(!1),n=L(""),o=tn(),i=Lt(),{isShowPromptSotre:l}=Bt(i),s=L(!1),a={github:"github",setToken:"setToken",compose:"compose",promptStore:"promptStore",reset:"reset",version:"version"},d=[{key:a.github,label:"开源地址",url:"https://github.com/adams549659584/go-proxy-bingai"},{key:a.version,label:"版本信息"},{key:a.promptStore,label:"提示词库"},{key:a.setToken,label:"设置用户"},{key:a.compose,label:"撰写文章",url:"/web/compose.html"},{key:a.reset,label:"一键重置"}],c=S=>u(fp,{navConfig:S}),f=S=>{switch(S){case a.version:o.success("当前版本号为:1.6.0");break;case a.promptStore:l.value=!0;break;case a.setToken:n.value=ut.get(Cr)||"",r.value=!0;break;case a.reset:s.value=!0;break}},h=async()=>{s.value=!1,ut.set(Cr,"",-1),ut.set(mp,"",-1),await y(),o.success("清理完成"),window.location.reload()},p=()=>{if(!n.value){o.warning("请先填入用户 Cookie");return}ut.set(Cr,n.value,7*24*60,"/"),r.value=!1},y=async()=>{localStorage.clear(),sessionStorage.clear();const S=await caches.keys();for(const m of S)await caches.open(m).then(async x=>{const z=await x.keys();return await Promise.all(z.map(O=>(console.log("del cache : ",O.url),x.delete(O))))})};return(S,m)=>(ve(),Ne(je,null,[U(hp)()?(ve(),He(U(qn),{key:0,class:"select-none",show:t.value,options:d,"render-label":c,onSelect:f},{default:J(()=>[Y(U(Mr),{class:"fixed top-6 right-4 cursor-pointer",src:U(Jn),alt:"设置菜单","preview-disabled":!0,onClick:m[0]||(m[0]=x=>t.value=!t.value)},null,8,["src"])]),_:1},8,["show"])):(ve(),He(U(qn),{key:1,class:"select-none",trigger:"hover",options:d,"render-label":c,onSelect:f},{default:J(()=>[Y(U(Mr),{class:"fixed top-6 right-6 cursor-pointer",src:U(Jn),alt:"设置菜单","preview-disabled":!0},null,8,["src"])]),_:1})),Y(U(zt),{show:r.value,"onUpdate:show":m[3]||(m[3]=x=>r.value=x),preset:"dialog","show-icon":!1},{header:J(()=>[vp]),action:J(()=>[Y(U(be),{size:"large",onClick:m[2]||(m[2]=x=>r.value=!1)},{default:J(()=>[he("取消")]),_:1}),Y(U(be),{size:"large",type:"info",onClick:p},{default:J(()=>[he("保存")]),_:1})]),default:J(()=>[Y(U(kt),{size:"large",value:n.value,"onUpdate:value":m[1]||(m[1]=x=>n.value=x),type:"text",placeholder:"用户 Cookie ,仅需要 _U 的值"},null,8,["value"])]),_:1},8,["show"]),Y(U(zt),{show:s.value,"onUpdate:show":m[5]||(m[5]=x=>s.value=x),preset:"dialog","show-icon":!1},{header:J(()=>[gp]),action:J(()=>[Y(U(be),{size:"large",onClick:m[4]||(m[4]=x=>s.value=!1)},{default:J(()=>[he("取消")]),_:1}),Y(U(be),{size:"large",type:"warning",onClick:h},{default:J(()=>[he("确定")]),_:1})]),_:1},8,["show"])],64))}});function Qn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Vt(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);rthis.range.start)){var n=Math.max(r-this.param.buffer,0);this.checkRange(n,this.getEndByStart(n))}}},{key:"handleBehind",value:function(){var r=this.getScrollOvers();rr&&(l=o-1)}return n>0?--n:0}},{key:"getIndexOffset",value:function(r){if(!r)return 0;for(var n=0,o=0,i=0;i=F&&n("tobottom")},x=function(C){var $=p(),F=y(),A=S();$<0||$+F>A+1||!A||(f.handleScroll($),m($,F,A,C))},z=function(){var C=t.dataKey,$=t.dataSources,F=$===void 0?[]:$;return F.map(function(A){return typeof C=="function"?C(A):A[C]})},O=function(C){a.value=C},w=function(){f=new zp({slotHeaderSize:0,slotFooterSize:0,keeps:t.keeps,estimateSize:t.estimateSize,buffer:Math.round(t.keeps/3),uniqueIds:z()},O),a.value=f.getRange()},g=function(C){if(C>=t.dataSources.length-1)T();else{var $=f.getOffset(C);M($)}},M=function(C){t.pageMode?(document.body[s]=C,document.documentElement[s]=C):d.value&&(d.value[s]=C)},b=function(){for(var C=[],$=a.value,F=$.start,A=$.end,q=t.dataSources,Q=t.dataKey,fe=t.itemClass,ye=t.itemTag,ge=t.itemStyle,Re=t.extraProps,oe=t.dataComponent,ke=t.itemScopedSlots,we=F;we<=A;we++){var ee=q[we];if(ee){var Le=typeof Q=="function"?Q(ee):ee[Q];typeof Le=="string"||typeof Le=="number"?C.push(Y(Op,{index:we,tag:ye,event:It.ITEM,horizontal:l,uniqueKey:Le,source:ee,extraProps:Re,component:oe,scopedSlots:ke,style:ge,class:"".concat(fe).concat(t.itemClassAdd?" "+t.itemClassAdd(we):""),onItemResize:R},null)):console.warn("Cannot get the data-key '".concat(Q,"' from data-sources."))}else console.warn("Cannot get the index '".concat(we,"' from data-sources."))}return C},R=function(C,$){f.saveSize(C,$),n("resized",C,$)},P=function(C,$,F){C===ct.HEADER?f.updateParam("slotHeaderSize",$):C===ct.FOOTER&&f.updateParam("slotFooterSize",$),F&&f.handleSlotSizeChange()},T=function _(){if(c.value){var C=c.value[l?"offsetLeft":"offsetTop"];M(C),setTimeout(function(){p()+y(){o.value=o.value.filter(d=>d.act!==a.act&&d.prompt!==a.prompt),r.success("删除提示词成功")},s=a=>{i.value.isShow=!0,i.value.type="edit",i.value.title="编辑提示词",i.value.tmpPrompt=a,i.value.newPrompt={...a}};return(a,d)=>(ve(),He(U(vi),{class:"hover:bg-gray-100 cursor-pointer p-5"},{description:J(()=>[Y(U(ri),{class:"max-w-[150px] xl:max-w-[680px] overflow-ellipsis overflow-hidden",type:"info"},{default:J(()=>[he(it(t.source.act),1)]),_:1}),vt("div",_p,[Y(U(be),{secondary:"",type:"info",size:"small",onClick:d[0]||(d[0]=c=>s(t.source))},{default:J(()=>[he("编辑")]),_:1}),Y(U(be),{secondary:"",class:"ml-2",type:"error",size:"small",onClick:d[1]||(d[1]=c=>l(t.source))},{default:J(()=>[he("删除")]),_:1})])]),default:J(()=>[Y(U(ii),{tooltip:!1,"line-clamp":2},{default:J(()=>[he(it(t.source.prompt),1)]),_:1})]),_:1}))}}),Bp={class:"flex justify-start flex-wrap gap-2 px-5 pb-2"},Lp=["href"],Ep={class:"flex justify-center gap-5"},Ap=["href"],Dp=K({__name:"ChatPromptStore",setup(e){const t=tn(),r=Lt(),{promptDownloadConfig:n,isShowPromptSotre:o,promptList:i,keyword:l,searchPromptList:s,optPromptConfig:a}=Bt(r),d=L(!1),c=L(!1),f=L(!1),h=()=>{a.value.isShow=!0,a.value.type="add",a.value.title="添加提示词",a.value.newPrompt={act:"",prompt:""}},p=()=>{const{type:O,tmpPrompt:w,newPrompt:g}=a.value;if(!g.act)return t.error("提示词标题不能为空");if(!g.prompt)return t.error("提示词描述不能为空");if(O==="add")i.value=[g,...i.value],t.success("添加提示词成功");else if(O==="edit"){if(g.act===(w==null?void 0:w.act)&&g.prompt===(w==null?void 0:w.prompt)){t.warning("提示词未变更"),a.value.isShow=!1;return}const M=i.value.findIndex(b=>b.act===(w==null?void 0:w.act)&&b.prompt===(w==null?void 0:w.prompt));M>-1?(i.value[M]=g,t.success("编辑提示词成功")):t.error("编辑提示词出错")}a.value.isShow=!1},y=O=>new Promise((w,g)=>{const M=new FileReader;M.onload=function(b){var R;w((R=b.target)==null?void 0:R.result)},M.onerror=g,M.readAsText(O)}),S=async O=>{var w;if(O.file.file){c.value=!0;const g=await y(O.file.file),M=JSON.parse(g),b=r.addPrompt(M);b.result?(t.info(`上传文件含 ${M.length} 条数据`),t.success(`成功导入 ${(w=b.data)==null?void 0:w.successCount} 条有效数据`)):t.error(b.msg||"提示词格式有误"),c.value=!1}else t.error("上传文件有误")},m=()=>{if(i.value.length===0)return t.error("暂无可导出的提示词数据");f.value=!0;const O=JSON.stringify(i.value),w=new Blob([O],{type:"application/json"}),g=URL.createObjectURL(w),M=document.createElement("a");M.href=g,M.download="BingAIPrompts.json",M.click(),URL.revokeObjectURL(g),t.success("导出提示词库成功"),f.value=!1},x=()=>{i.value=[],t.success("清空提示词库成功")},z=async O=>{var M;if(!O.url)return t.error("请先输入下载链接");O.isDownloading=!0;let w;if(O.url.endsWith(".json"))w=await fetch(O.url).then(b=>b.json());else if(O.url.endsWith(".csv")){const b=await fetch(O.url).then(R=>R.text());console.log(b),w=b.split(` +`).filter(R=>R).map(R=>{var T;const P=R.split('","');return{act:P[0].slice(1),prompt:(T=P[1])==null?void 0:T.slice(1)}}),w.shift()}else return O.isDownloading=!1,t.error("暂不支持下载此后缀的提示词");O.isDownloading=!1;const g=r.addPrompt(w);g.result?(t.info(`下载文件含 ${w.length} 条数据`),t.success(`成功导入 ${(M=g.data)==null?void 0:M.successCount} 条有效数据`)):t.error(g.msg||"提示词格式有误")};return(O,w)=>(ve(),Ne(je,null,[Y(U(zt),{class:"w-11/12 xl:w-[900px]",show:U(o),"onUpdate:show":w[2]||(w[2]=g=>yn(o)?o.value=g:null),preset:"card",title:"提示词库"},{default:J(()=>[vt("div",Bp,[Y(U(kt),{class:"basis-full xl:basis-0 xl:min-w-[300px]",placeholder:"搜索提示词",value:U(l),"onUpdate:value":w[0]||(w[0]=g=>yn(l)?l.value=g:null),clearable:!0},null,8,["value"]),Y(U(be),{secondary:"",type:"info",onClick:w[1]||(w[1]=g=>d.value=!0)},{default:J(()=>[he("下载")]),_:1}),Y(U(be),{secondary:"",type:"info",onClick:h},{default:J(()=>[he("添加")]),_:1}),Y(U(lp),{class:"w-auto",accept:".json","default-upload":!1,"show-file-list":!1,onChange:S},{default:J(()=>[Y(U(be),{secondary:"",type:"success",loading:c.value},{default:J(()=>[he("导入")]),_:1},8,["loading"])]),_:1}),Y(U(be),{secondary:"",type:"success",onClick:m,loading:f.value},{default:J(()=>[he("导出")]),_:1},8,["loading"]),Y(U(be),{secondary:"",type:"error",onClick:x},{default:J(()=>[he("清空")]),_:1})]),U(s).length>0?(ve(),He(U(Si),{key:0,class:"h-[40vh] xl:h-[60vh] overflow-y-auto","data-key":"prompt","data-sources":U(s),"data-component":Mp,keeps:10},null,8,["data-sources"])):(ve(),He(U(Jo),{key:1,class:"h-[60vh] flex justify-center items-center",description:"无数据"}))]),_:1},8,["show"]),Y(U(zt),{class:"w-11/12 xl:w-[600px]",show:U(a).isShow,"onUpdate:show":w[5]||(w[5]=g=>U(a).isShow=g),preset:"card",title:U(a).title},{default:J(()=>[Y(U(oh),{vertical:""},{default:J(()=>[he(" 标题 "),Y(U(kt),{placeholder:"请输入标题",value:U(a).newPrompt.act,"onUpdate:value":w[3]||(w[3]=g=>U(a).newPrompt.act=g)},null,8,["value"]),he(" 描述 "),Y(U(kt),{placeholder:"请输入描述",type:"textarea",value:U(a).newPrompt.prompt,"onUpdate:value":w[4]||(w[4]=g=>U(a).newPrompt.prompt=g)},null,8,["value"]),Y(U(be),{block:"",secondary:"",type:"info",onClick:p},{default:J(()=>[he("保存")]),_:1})]),_:1})]),_:1},8,["show","title"]),Y(U(zt),{class:"w-11/12 xl:w-[600px]",show:d.value,"onUpdate:show":w[6]||(w[6]=g=>d.value=g),preset:"card",title:"下载提示词"},{default:J(()=>[Y(U(zh),{class:"overflow-y-auto rounded-lg",hoverable:"",clickable:""},{default:J(()=>[(ve(!0),Ne(je,null,ml(U(n),(g,M)=>(ve(),He(U(Th),{key:M},{suffix:J(()=>[vt("div",Ep,[g.type===1?(ve(),Ne("a",{key:0,class:"no-underline",href:g.refer,target:"_blank",rel:"noopener noreferrer"},[Y(U(be),{secondary:""},{default:J(()=>[he("来源")]),_:1})],8,Ap)):kr("",!0),Y(U(be),{secondary:"",type:"info",onClick:b=>z(g),loading:g.isDownloading},{default:J(()=>[he("下载")]),_:2},1032,["onClick","loading"])])]),default:J(()=>[g.type===1?(ve(),Ne("a",{key:0,class:"no-underline text-blue-500",href:g.url,target:"_blank",rel:"noopener noreferrer"},it(g.name),9,Lp)):g.type===2?(ve(),He(U(kt),{key:1,placeholder:"请输入下载链接,支持 json 及 csv ",value:g.url,"onUpdate:value":b=>g.url=b},null,8,["value","onUpdate:value"])):kr("",!0)]),_:2},1024))),128))]),_:1})]),_:1},8,["show"])],64))}}),Fp=`/* 移除顶部背景遮挡 */\r +.scroller>.top {\r + display: none !important;\r +}\r +\r +/* 移除顶部边距 */\r +.scroller>.scroller-positioner>.content {\r + padding-top: 0 !important;\r +}\r +\r +/* 聊天记录 */\r +.scroller .side-panel {\r + position: fixed;\r + right: 10px;\r +}`,Np=K({__name:"ChatPromptItem",props:{index:{},source:{}},setup(e){const t=e,r=Lt(),{selectedPromptIndex:n,isShowChatPrompt:o,keyword:i}=Bt(r),l=s=>{s&&(i.value="",CIB.vm.actionBar.inputText=s.prompt,CIB.vm.actionBar.input.focus(),o.value=!1)};return(s,a)=>(ve(),He(U(vi),{class:bl(["hover:bg-gray-100 cursor-pointer px-5 h-[130px] flex justify-start items-center",{"bg-gray-100":s.index===U(n)}]),onClick:a[0]||(a[0]=d=>l(t.source))},{description:J(()=>[Y(U(ri),{type:"info"},{default:J(()=>[he(it(t.source.act),1)]),_:1})]),default:J(()=>[Y(U(ii),{tooltip:!1,"line-clamp":2},{default:J(()=>[he(it(t.source.prompt),1)]),_:1})]),_:1},8,["class"]))}}),Hp={key:0,class:"box-border fixed bottom-[110px] w-full flex justify-center px-[14px] md:px-[170px] xl:px-[220px] z-999"},jp=vt("div",{class:"w-0 md:w-[60px]"},null,-1),Wp=10,Up="_U",Vp="BingAI_Rand_IP",Kp=K({__name:"ChatPrompt",setup(e){const t=Lt(),{isShowPromptSotre:r,isShowChatPrompt:n,keyword:o,promptList:i,searchPromptList:l,selectedPromptIndex:s}=Bt(t),a=L(),d=L(!1);Xe(async()=>{await c(),SydneyFullScreenConv.initWithWaitlistUpdate({cookLoc:{}},10),f(),y(),S()});const c=async()=>new Promise((b,R)=>{sj_evt.bind("sydFSC.init",b,!0),sj_evt.fire("showSydFSC")}),f=()=>{ut.get(Up)||p()},h=()=>{const b=new Date;return b.setMinutes(b.getMinutes()+CIB.config.sydney.expiryInMinutes),b},p=async(b=0)=>{var P;if(b>=Wp){console.log(`已重试 ${b} 次,自动创建停止`);return}const R=await fetch("/turing/conversation/create",{credentials:"include"}).then(T=>T.json()).catch(T=>"error");((P=R==null?void 0:R.result)==null?void 0:P.value)==="Success"?(console.log("成功创建会话ID : ",R.conversationId),CIB.manager.conversation.updateId(R.conversationId,h(),R.clientId,R.conversationSignature)):(await pp(300),b+=1,console.log(`开始第 ${b} 次重试创建会话ID`),ut.set(Vp,"",-1),p(b))},y=()=>{var T,N,E,_,C,$,F,A;location.hostname==="localhost"&&(CIB.config.sydney.hostnamesToBypassSecureConnection=CIB.config.sydney.hostnamesToBypassSecureConnection.filter(q=>q!==location.hostname));const b=document.querySelector("cib-serp");b==null||b.setAttribute("alignment","center");const R=(T=b==null?void 0:b.shadowRoot)==null?void 0:T.querySelector("cib-conversation");(C=(_=(E=(N=R==null?void 0:R.shadowRoot)==null?void 0:N.querySelector("cib-welcome-container"))==null?void 0:E.shadowRoot)==null?void 0:_.querySelector(".learn-tog-item"))==null||C.remove(),(F=($=b==null?void 0:b.shadowRoot)==null?void 0:$.querySelector("cib-serp-feedback"))==null||F.remove();const P=document.createElement("style");P.innerText=Fp,(A=R.shadowRoot)==null||A.append(P)},S=()=>{var P,T;const b=(T=(P=document.querySelector("#b_sydConvCont > cib-serp"))==null?void 0:P.shadowRoot)==null?void 0:T.querySelector("#cib-action-bar-main"),R=b.handleInputTextKey;b.handleInputTextKey=function(N){if(!(N.key==="Enter"&&n.value))return R.apply(this,[N])},CIB.vm.actionBar.input.addEventListener("compositionstart",m),CIB.vm.actionBar.input.addEventListener("compositionend",x),CIB.vm.actionBar.input.addEventListener("change",z),CIB.vm.actionBar.input.addEventListener("input",z),CIB.vm.actionBar.input.addEventListener("keydown",g),CIB.vm.actionBar.input.addEventListener("focus",O),CIB.vm.actionBar.input.addEventListener("blur",w)},m=b=>{d.value=!0},x=b=>{d.value=!1,z(b)},z=b=>{var R;d.value||(b instanceof InputEvent||b instanceof CompositionEvent)&&b.target instanceof HTMLTextAreaElement&&((R=b.target.value)!=null&&R.startsWith("/")?(n.value=!0,o.value=b.target.value.slice(1),s.value=0):(o.value="",n.value=!1))},O=b=>{},w=b=>{setTimeout(()=>{n.value=!1},200)},g=b=>{var P,T;switch(b.key){case"ArrowUp":{b.preventDefault();const N=((P=a.value)==null?void 0:P.getOffset())||0;s.value=Math.round(N/130),s.value>0&&(s.value--,a.value&&a.value.scrollToIndex(s.value))}break;case"ArrowDown":{b.preventDefault();const N=((T=a.value)==null?void 0:T.getOffset())||0;s.value=Math.round(N/130),s.value{b&&(o.value="",CIB.vm.actionBar.inputText=b.prompt,n.value=!1)};return(b,R)=>(ve(),Ne("main",null,[U(n)?(ve(),Ne("div",Hp,[jp,U(i).length>0?(ve(),He(U(Si),{key:0,ref_key:"scrollbarRef",ref:a,class:"bg-white w-full max-w-[1060px] max-h-[390px] rounded-xl overflow-y-auto","data-key":"prompt","data-sources":U(l),"data-component":Np,keeps:10},null,8,["data-sources"])):(ve(),He(U(Jo),{key:1,class:"bg-white w-full max-w-[1060px] max-h-[390px] rounded-xl py-6",description:"暂无提示词数据"},{extra:J(()=>[Y(U(be),{secondary:"",type:"info",onClick:R[0]||(R[0]=P=>r.value=!0)},{default:J(()=>[he("去添加")]),_:1})]),_:1}))])):kr("",!0)]))}}),Gp=K({__name:"index",setup(e){return(t,r)=>(ve(),Ne("main",null,[Y(bp),Y(Dp),Y(Kp)]))}});export{Gp as default}; diff --git a/web/assets/index-2128d00b.css b/web/assets/index-2128d00b.css new file mode 100644 index 0000000000..3741562841 --- /dev/null +++ b/web/assets/index-2128d00b.css @@ -0,0 +1 @@ +*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.fixed{position:fixed}.bottom-\[110px\]{bottom:110px}.right-4{right:1rem}.right-6{right:1.5rem}.top-6{top:1.5rem}.float-right{float:right}.ml-2{margin-left:.5rem}.box-border{box-sizing:border-box}.block{display:block}.flex{display:flex}.hidden{display:none}.h-\[130px\]{height:130px}.h-\[40vh\]{height:40vh}.h-\[60vh\]{height:60vh}.max-h-\[390px\]{max-height:390px}.w-0{width:0px}.w-11\/12{width:91.666667%}.w-auto{width:auto}.w-full{width:100%}.max-w-\[1060px\]{max-width:1060px}.max-w-\[150px\]{max-width:150px}.basis-full{flex-basis:100%}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-center{justify-content:center}.gap-2{gap:.5rem}.gap-5{gap:1.25rem}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.overflow-ellipsis{text-overflow:ellipsis}.rounded-lg{border-radius:.5rem}.rounded-xl{border-radius:.75rem}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.p-5{padding:1.25rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-\[14px\]{padding-left:14px;padding-right:14px}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.pb-2{padding-bottom:.5rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-blue-500{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity))}.no-underline{text-decoration-line:none}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.hover\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}@media (min-width: 768px){.md\:w-\[60px\]{width:60px}.md\:px-\[170px\]{padding-left:170px;padding-right:170px}}@media (min-width: 1280px){.xl\:h-\[60vh\]{height:60vh}.xl\:w-\[600px\]{width:600px}.xl\:w-\[900px\]{width:900px}.xl\:min-w-\[300px\]{min-width:300px}.xl\:max-w-\[680px\]{max-width:680px}.xl\:basis-0{flex-basis:0px}.xl\:px-\[220px\]{padding-left:220px;padding-right:220px}} diff --git a/web/assets/index-e6d14a26.js b/web/assets/index-e6d14a26.js new file mode 100644 index 0000000000..1424e5d8e5 --- /dev/null +++ b/web/assets/index-e6d14a26.js @@ -0,0 +1,651 @@ +(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const s of i.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();function Mi(e,t){const n=Object.create(null),r=e.split(",");for(let o=0;o!!n[o.toLowerCase()]:o=>!!n[o]}const Re={},Rn=[],ct=()=>{},xf=()=>!1,Cf=/^on[^a-z]/,xo=e=>Cf.test(e),Hi=e=>e.startsWith("onUpdate:"),ke=Object.assign,Fi=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},wf=Object.prototype.hasOwnProperty,ve=(e,t)=>wf.call(e,t),le=Array.isArray,Tn=e=>Co(e)==="[object Map]",Oa=e=>Co(e)==="[object Set]",ue=e=>typeof e=="function",Be=e=>typeof e=="string",Li=e=>typeof e=="symbol",_e=e=>e!==null&&typeof e=="object",za=e=>_e(e)&&ue(e.then)&&ue(e.catch),Ia=Object.prototype.toString,Co=e=>Ia.call(e),Sf=e=>Co(e).slice(8,-1),Aa=e=>Co(e)==="[object Object]",ji=e=>Be(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,no=Mi(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),wo=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},_f=/-(\w)/g,In=wo(e=>e.replace(_f,(t,n)=>n?n.toUpperCase():"")),Ef=/\B([A-Z])/g,Ln=wo(e=>e.replace(Ef,"-$1").toLowerCase()),ka=wo(e=>e.charAt(0).toUpperCase()+e.slice(1)),Do=wo(e=>e?`on${ka(e)}`:""),mr=(e,t)=>!Object.is(e,t),No=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},$f=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Pf=e=>{const t=Be(e)?Number(e):NaN;return isNaN(t)?e:t};let Ps;const ii=()=>Ps||(Ps=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Di(e){if(le(e)){const t={};for(let n=0;n{if(n){const r=n.split(Tf);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Ni(e){let t="";if(Be(e))t=e;else if(le(e))for(let n=0;nBe(e)?e:e==null?"":le(e)||_e(e)&&(e.toString===Ia||!ue(e.toString))?JSON.stringify(e,Ma,2):String(e),Ma=(e,t)=>t&&t.__v_isRef?Ma(e,t.value):Tn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o])=>(n[`${r} =>`]=o,n),{})}:Oa(t)?{[`Set(${t.size})`]:[...t.values()]}:_e(t)&&!le(t)&&!Aa(t)?String(t):t;let tt;class Ha{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=tt,!t&&tt&&(this.index=(tt.scopes||(tt.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=tt;try{return tt=this,t()}finally{tt=n}}}on(){tt=this}off(){tt=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n{const t=new Set(e);return t.w=0,t.n=0,t},ja=e=>(e.w&Vt)>0,Da=e=>(e.n&Vt)>0,Mf=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r{(u==="length"||u>=a)&&l.push(c)})}else switch(n!==void 0&&l.push(s.get(n)),t){case"add":le(e)?ji(n)&&l.push(s.get("length")):(l.push(s.get(fn)),Tn(e)&&l.push(s.get(li)));break;case"delete":le(e)||(l.push(s.get(fn)),Tn(e)&&l.push(s.get(li)));break;case"set":Tn(e)&&l.push(s.get(fn));break}if(l.length===1)l[0]&&ai(l[0]);else{const a=[];for(const c of l)c&&a.push(...c);ai(Wi(a))}}function ai(e,t){const n=le(e)?e:[...e];for(const r of n)r.computed&&Ts(r);for(const r of n)r.computed||Ts(r)}function Ts(e,t){(e!==lt||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function Ff(e,t){var n;return(n=ao.get(e))==null?void 0:n.get(t)}const Lf=Mi("__proto__,__v_isRef,__isVue"),Ua=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Li)),jf=Ki(),Df=Ki(!1,!0),Nf=Ki(!0),Os=Wf();function Wf(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=ge(this);for(let i=0,s=this.length;i{e[t]=function(...n){jn();const r=ge(this)[t].apply(this,n);return Dn(),r}}),e}function Uf(e){const t=ge(this);return et(t,"has",e),t.hasOwnProperty(e)}function Ki(e=!1,t=!1){return function(r,o,i){if(o==="__v_isReactive")return!e;if(o==="__v_isReadonly")return e;if(o==="__v_isShallow")return t;if(o==="__v_raw"&&i===(e?t?sd:Xa:t?Ga:qa).get(r))return r;const s=le(r);if(!e){if(s&&ve(Os,o))return Reflect.get(Os,o,i);if(o==="hasOwnProperty")return Uf}const l=Reflect.get(r,o,i);return(Li(o)?Ua.has(o):Lf(o))||(e||et(r,"get",o),t)?l:Oe(l)?s&&ji(o)?l:l.value:_e(l)?e?Ot(l):Xt(l):l}}const Kf=Ka(),Vf=Ka(!0);function Ka(e=!1){return function(n,r,o,i){let s=n[r];if(An(s)&&Oe(s)&&!Oe(o))return!1;if(!e&&(!co(o)&&!An(o)&&(s=ge(s),o=ge(o)),!le(n)&&Oe(s)&&!Oe(o)))return s.value=o,!0;const l=le(n)&&ji(r)?Number(r)e,So=e=>Reflect.getPrototypeOf(e);function Lr(e,t,n=!1,r=!1){e=e.__v_raw;const o=ge(e),i=ge(t);n||(t!==i&&et(o,"get",t),et(o,"get",i));const{has:s}=So(o),l=r?Vi:n?Xi:br;if(s.call(o,t))return l(e.get(t));if(s.call(o,i))return l(e.get(i));e!==o&&e.get(t)}function jr(e,t=!1){const n=this.__v_raw,r=ge(n),o=ge(e);return t||(e!==o&&et(r,"has",e),et(r,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function Dr(e,t=!1){return e=e.__v_raw,!t&&et(ge(e),"iterate",fn),Reflect.get(e,"size",e)}function zs(e){e=ge(e);const t=ge(this);return So(t).has.call(t,e)||(t.add(e),Tt(t,"add",e,e)),this}function Is(e,t){t=ge(t);const n=ge(this),{has:r,get:o}=So(n);let i=r.call(n,e);i||(e=ge(e),i=r.call(n,e));const s=o.call(n,e);return n.set(e,t),i?mr(t,s)&&Tt(n,"set",e,t):Tt(n,"add",e,t),this}function As(e){const t=ge(this),{has:n,get:r}=So(t);let o=n.call(t,e);o||(e=ge(e),o=n.call(t,e)),r&&r.call(t,e);const i=t.delete(e);return o&&Tt(t,"delete",e,void 0),i}function ks(){const e=ge(this),t=e.size!==0,n=e.clear();return t&&Tt(e,"clear",void 0,void 0),n}function Nr(e,t){return function(r,o){const i=this,s=i.__v_raw,l=ge(s),a=t?Vi:e?Xi:br;return!e&&et(l,"iterate",fn),s.forEach((c,u)=>r.call(o,a(c),a(u),i))}}function Wr(e,t,n){return function(...r){const o=this.__v_raw,i=ge(o),s=Tn(i),l=e==="entries"||e===Symbol.iterator&&s,a=e==="keys"&&s,c=o[e](...r),u=n?Vi:t?Xi:br;return!t&&et(i,"iterate",a?li:fn),{next(){const{value:f,done:d}=c.next();return d?{value:f,done:d}:{value:l?[u(f[0]),u(f[1])]:u(f),done:d}},[Symbol.iterator](){return this}}}}function Mt(e){return function(...t){return e==="delete"?!1:this}}function Jf(){const e={get(i){return Lr(this,i)},get size(){return Dr(this)},has:jr,add:zs,set:Is,delete:As,clear:ks,forEach:Nr(!1,!1)},t={get(i){return Lr(this,i,!1,!0)},get size(){return Dr(this)},has:jr,add:zs,set:Is,delete:As,clear:ks,forEach:Nr(!1,!0)},n={get(i){return Lr(this,i,!0)},get size(){return Dr(this,!0)},has(i){return jr.call(this,i,!0)},add:Mt("add"),set:Mt("set"),delete:Mt("delete"),clear:Mt("clear"),forEach:Nr(!0,!1)},r={get(i){return Lr(this,i,!0,!0)},get size(){return Dr(this,!0)},has(i){return jr.call(this,i,!0)},add:Mt("add"),set:Mt("set"),delete:Mt("delete"),clear:Mt("clear"),forEach:Nr(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=Wr(i,!1,!1),n[i]=Wr(i,!0,!1),t[i]=Wr(i,!1,!0),r[i]=Wr(i,!0,!0)}),[e,n,t,r]}const[Qf,ed,td,nd]=Jf();function qi(e,t){const n=t?e?nd:td:e?ed:Qf;return(r,o,i)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(ve(n,o)&&o in r?n:r,o,i)}const rd={get:qi(!1,!1)},od={get:qi(!1,!0)},id={get:qi(!0,!1)},qa=new WeakMap,Ga=new WeakMap,Xa=new WeakMap,sd=new WeakMap;function ld(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function ad(e){return e.__v_skip||!Object.isExtensible(e)?0:ld(Sf(e))}function Xt(e){return An(e)?e:Gi(e,!1,Va,rd,qa)}function cd(e){return Gi(e,!1,Zf,od,Ga)}function Ot(e){return Gi(e,!0,Yf,id,Xa)}function Gi(e,t,n,r,o){if(!_e(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=o.get(e);if(i)return i;const s=ad(e);if(s===0)return e;const l=new Proxy(e,s===2?r:n);return o.set(e,l),l}function Rt(e){return An(e)?Rt(e.__v_raw):!!(e&&e.__v_isReactive)}function An(e){return!!(e&&e.__v_isReadonly)}function co(e){return!!(e&&e.__v_isShallow)}function Ya(e){return Rt(e)||An(e)}function ge(e){const t=e&&e.__v_raw;return t?ge(t):e}function qt(e){return lo(e,"__v_skip",!0),e}const br=e=>_e(e)?Xt(e):e,Xi=e=>_e(e)?Ot(e):e;function Za(e){Ut&<&&(e=ge(e),Wa(e.dep||(e.dep=Wi())))}function Ja(e,t){e=ge(e);const n=e.dep;n&&ai(n)}function Oe(e){return!!(e&&e.__v_isRef===!0)}function se(e){return Qa(e,!1)}function ud(e){return Qa(e,!0)}function Qa(e,t){return Oe(e)?e:new fd(e,t)}class fd{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:ge(t),this._value=n?t:br(t)}get value(){return Za(this),this._value}set value(t){const n=this.__v_isShallow||co(t)||An(t);t=n?t:ge(t),mr(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:br(t),Ja(this))}}function Ct(e){return Oe(e)?e.value:e}const dd={get:(e,t,n)=>Ct(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return Oe(o)&&!Oe(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function ec(e){return Rt(e)?e:new Proxy(e,dd)}function hd(e){const t=le(e)?new Array(e.length):{};for(const n in e)t[n]=tc(e,n);return t}class pd{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Ff(ge(this._object),this._key)}}class gd{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function zt(e,t,n){return Oe(e)?e:ue(e)?new gd(e):_e(e)&&arguments.length>1?tc(e,t,n):se(e)}function tc(e,t,n){const r=e[t];return Oe(r)?r:new pd(e,t,n)}class vd{constructor(t,n,r,o){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new Ui(t,()=>{this._dirty||(this._dirty=!0,Ja(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=r}get value(){const t=ge(this);return Za(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function md(e,t,n=!1){let r,o;const i=ue(e);return i?(r=e,o=ct):(r=e.get,o=e.set),new vd(r,o,i||!o,n)}function Kt(e,t,n,r){let o;try{o=r?e(...r):e()}catch(i){_o(i,t,n)}return o}function st(e,t,n,r){if(ue(e)){const i=Kt(e,t,n,r);return i&&za(i)&&i.catch(s=>{_o(s,t,n)}),i}const o=[];for(let i=0;i>>1;xr(Ne[r])xt&&Ne.splice(t,1)}function Cd(e){le(e)?On.push(...e):(!Pt||!Pt.includes(e,e.allowRecurse?nn+1:nn))&&On.push(e),rc()}function Bs(e,t=yr?xt+1:0){for(;txr(n)-xr(r)),nn=0;nne.id==null?1/0:e.id,wd=(e,t)=>{const n=xr(e)-xr(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function ic(e){ci=!1,yr=!0,Ne.sort(wd);const t=ct;try{for(xt=0;xtBe(v)?v.trim():v)),f&&(o=n.map($f))}let l,a=r[l=Do(t)]||r[l=Do(In(t))];!a&&i&&(a=r[l=Do(Ln(t))]),a&&st(a,e,6,o);const c=r[l+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,st(c,e,6,o)}}function sc(e,t,n=!1){const r=t.emitsCache,o=r.get(e);if(o!==void 0)return o;const i=e.emits;let s={},l=!1;if(!ue(e)){const a=c=>{const u=sc(c,t,!0);u&&(l=!0,ke(s,u))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!i&&!l?(_e(e)&&r.set(e,null),null):(le(i)?i.forEach(a=>s[a]=null):ke(s,i),_e(e)&&r.set(e,s),s)}function Eo(e,t){return!e||!xo(t)?!1:(t=t.slice(2).replace(/Once$/,""),ve(e,t[0].toLowerCase()+t.slice(1))||ve(e,Ln(t))||ve(e,t))}let We=null,lc=null;function uo(e){const t=We;return We=e,lc=e&&e.type.__scopeId||null,t}function ro(e,t=We,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&qs(-1);const i=uo(t);let s;try{s=e(...o)}finally{uo(i),r._d&&qs(1)}return s};return r._n=!0,r._c=!0,r._d=!0,r}function Wo(e){const{type:t,vnode:n,proxy:r,withProxy:o,props:i,propsOptions:[s],slots:l,attrs:a,emit:c,render:u,renderCache:f,data:d,setupState:v,ctx:p,inheritAttrs:w}=e;let y,b;const S=uo(e);try{if(n.shapeFlag&4){const _=o||r;y=bt(u.call(_,_,f,i,v,d,p)),b=a}else{const _=t;y=bt(_.length>1?_(i,{attrs:a,slots:l,emit:c}):_(i,null)),b=t.props?a:_d(a)}}catch(_){ur.length=0,_o(_,e,1),y=Fe(Ge)}let F=y;if(b&&w!==!1){const _=Object.keys(b),{shapeFlag:P}=F;_.length&&P&7&&(s&&_.some(Hi)&&(b=Ed(b,s)),F=It(F,b))}return n.dirs&&(F=It(F),F.dirs=F.dirs?F.dirs.concat(n.dirs):n.dirs),n.transition&&(F.transition=n.transition),y=F,uo(S),y}const _d=e=>{let t;for(const n in e)(n==="class"||n==="style"||xo(n))&&((t||(t={}))[n]=e[n]);return t},Ed=(e,t)=>{const n={};for(const r in e)(!Hi(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function $d(e,t,n){const{props:r,children:o,component:i}=e,{props:s,children:l,patchFlag:a}=t,c=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return r?Ms(r,s,c):!!s;if(a&8){const u=t.dynamicProps;for(let f=0;fe.__isSuspense;function Td(e,t){t&&t.pendingBranch?le(e)?t.effects.push(...e):t.effects.push(e):Cd(e)}function Ji(e,t){return Qi(e,null,t)}const Ur={};function ut(e,t,n){return Qi(e,t,n)}function Qi(e,t,{immediate:n,deep:r,flush:o,onTrack:i,onTrigger:s}=Re){var l;const a=La()===((l=Le)==null?void 0:l.scope)?Le:null;let c,u=!1,f=!1;if(Oe(e)?(c=()=>e.value,u=co(e)):Rt(e)?(c=()=>e,r=!0):le(e)?(f=!0,u=e.some(_=>Rt(_)||co(_)),c=()=>e.map(_=>{if(Oe(_))return _.value;if(Rt(_))return sn(_);if(ue(_))return Kt(_,a,2)})):ue(e)?t?c=()=>Kt(e,a,2):c=()=>{if(!(a&&a.isUnmounted))return d&&d(),st(e,a,3,[v])}:c=ct,t&&r){const _=c;c=()=>sn(_())}let d,v=_=>{d=S.onStop=()=>{Kt(_,a,4)}},p;if($r)if(v=ct,t?n&&st(t,a,3,[c(),f?[]:void 0,v]):c(),o==="sync"){const _=bh();p=_.__watcherHandles||(_.__watcherHandles=[])}else return ct;let w=f?new Array(e.length).fill(Ur):Ur;const y=()=>{if(S.active)if(t){const _=S.run();(r||u||(f?_.some((P,z)=>mr(P,w[z])):mr(_,w)))&&(d&&d(),st(t,a,3,[_,w===Ur?void 0:f&&w[0]===Ur?[]:w,v]),w=_)}else S.run()};y.allowRecurse=!!t;let b;o==="sync"?b=y:o==="post"?b=()=>Qe(y,a&&a.suspense):(y.pre=!0,a&&(y.id=a.uid),b=()=>Zi(y));const S=new Ui(c,b);t?n?y():w=S.run():o==="post"?Qe(S.run.bind(S),a&&a.suspense):S.run();const F=()=>{S.stop(),a&&a.scope&&Fi(a.scope.effects,S)};return p&&p.push(F),F}function Od(e,t,n){const r=this.proxy,o=Be(e)?e.includes(".")?ac(r,e):()=>r[e]:e.bind(r,r);let i;ue(t)?i=t:(i=t.handler,n=t);const s=Le;Bn(this);const l=Qi(o,i.bind(r),n);return s?Bn(s):dn(),l}function ac(e,t){const n=t.split(".");return()=>{let r=e;for(let o=0;o{sn(n,t)});else if(Aa(e))for(const n in e)sn(e[n],t);return e}function ui(e,t){const n=We;if(n===null)return e;const r=Oo(n)||n.proxy,o=e.dirs||(e.dirs=[]);for(let i=0;i{e.isMounted=!0}),dt(()=>{e.isUnmounting=!0}),e}const ot=[Function,Array],uc={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:ot,onEnter:ot,onAfterEnter:ot,onEnterCancelled:ot,onBeforeLeave:ot,onLeave:ot,onAfterLeave:ot,onLeaveCancelled:ot,onBeforeAppear:ot,onAppear:ot,onAfterAppear:ot,onAppearCancelled:ot},zd={name:"BaseTransition",props:uc,setup(e,{slots:t}){const n=Ar(),r=cc();let o;return()=>{const i=t.default&&es(t.default(),!0);if(!i||!i.length)return;let s=i[0];if(i.length>1){for(const w of i)if(w.type!==Ge){s=w;break}}const l=ge(e),{mode:a}=l;if(r.isLeaving)return Uo(s);const c=Hs(s);if(!c)return Uo(s);const u=Cr(c,l,r,n);wr(c,u);const f=n.subTree,d=f&&Hs(f);let v=!1;const{getTransitionKey:p}=c.type;if(p){const w=p();o===void 0?o=w:w!==o&&(o=w,v=!0)}if(d&&d.type!==Ge&&(!rn(c,d)||v)){const w=Cr(d,l,r,n);if(wr(d,w),a==="out-in")return r.isLeaving=!0,w.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&n.update()},Uo(s);a==="in-out"&&c.type!==Ge&&(w.delayLeave=(y,b,S)=>{const F=fc(r,d);F[String(d.key)]=d,y._leaveCb=()=>{b(),y._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=S})}return s}}},Id=zd;function fc(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function Cr(e,t,n,r){const{appear:o,mode:i,persisted:s=!1,onBeforeEnter:l,onEnter:a,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:f,onLeave:d,onAfterLeave:v,onLeaveCancelled:p,onBeforeAppear:w,onAppear:y,onAfterAppear:b,onAppearCancelled:S}=t,F=String(e.key),_=fc(n,e),P=(C,A)=>{C&&st(C,r,9,A)},z=(C,A)=>{const j=A[1];P(C,A),le(C)?C.every(W=>W.length<=1)&&j():C.length<=1&&j()},m={mode:i,persisted:s,beforeEnter(C){let A=l;if(!n.isMounted)if(o)A=w||l;else return;C._leaveCb&&C._leaveCb(!0);const j=_[F];j&&rn(e,j)&&j.el._leaveCb&&j.el._leaveCb(),P(A,[C])},enter(C){let A=a,j=c,W=u;if(!n.isMounted)if(o)A=y||a,j=b||c,W=S||u;else return;let k=!1;const Q=C._enterCb=te=>{k||(k=!0,te?P(W,[C]):P(j,[C]),m.delayedLeave&&m.delayedLeave(),C._enterCb=void 0)};A?z(A,[C,Q]):Q()},leave(C,A){const j=String(e.key);if(C._enterCb&&C._enterCb(!0),n.isUnmounting)return A();P(f,[C]);let W=!1;const k=C._leaveCb=Q=>{W||(W=!0,A(),Q?P(p,[C]):P(v,[C]),C._leaveCb=void 0,_[j]===e&&delete _[j])};_[j]=e,d?z(d,[C,k]):k()},clone(C){return Cr(C,t,n,r)}};return m}function Uo(e){if($o(e))return e=It(e),e.children=null,e}function Hs(e){return $o(e)?e.children?e.children[0]:void 0:e}function wr(e,t){e.shapeFlag&6&&e.component?wr(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function es(e,t=!1,n){let r=[],o=0;for(let i=0;i1)for(let i=0;ike({name:e.name},t,{setup:e}))():e}const lr=e=>!!e.type.__asyncLoader,$o=e=>e.type.__isKeepAlive;function dc(e,t){pc(e,"a",t)}function hc(e,t){pc(e,"da",t)}function pc(e,t,n=Le){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Po(t,r,n),n){let o=n.parent;for(;o&&o.parent;)$o(o.parent.vnode)&&Ad(r,t,n,o),o=o.parent}}function Ad(e,t,n,r){const o=Po(t,e,r,!0);vc(()=>{Fi(r[t],o)},n)}function Po(e,t,n=Le,r=!1){if(n){const o=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...s)=>{if(n.isUnmounted)return;jn(),Bn(n);const l=st(t,n,e,s);return dn(),Dn(),l});return r?o.unshift(i):o.push(i),i}}const At=e=>(t,n=Le)=>(!$r||e==="sp")&&Po(e,(...r)=>t(...r),n),bn=At("bm"),Yt=At("m"),kd=At("bu"),gc=At("u"),dt=At("bum"),vc=At("um"),Bd=At("sp"),Md=At("rtg"),Hd=At("rtc");function Fd(e,t=Le){Po("ec",e,t)}const Ld=Symbol.for("v-ndc");function Dx(e,t,n,r){let o;const i=n&&n[r];if(le(e)||Be(e)){o=new Array(e.length);for(let s=0,l=e.length;st(s,l,void 0,i&&i[l]));else{const s=Object.keys(e);o=new Array(s.length);for(let l=0,a=s.length;l_r(t)?!(t.type===Ge||t.type===Me&&!mc(t.children)):!0)?e:null}const fi=e=>e?Oc(e)?Oo(e)||e.proxy:fi(e.parent):null,ar=ke(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>fi(e.parent),$root:e=>fi(e.root),$emit:e=>e.emit,$options:e=>ts(e),$forceUpdate:e=>e.f||(e.f=()=>Zi(e.update)),$nextTick:e=>e.n||(e.n=kn.bind(e.proxy)),$watch:e=>Od.bind(e)}),Ko=(e,t)=>e!==Re&&!e.__isScriptSetup&&ve(e,t),Dd={get({_:e},t){const{ctx:n,setupState:r,data:o,props:i,accessCache:s,type:l,appContext:a}=e;let c;if(t[0]!=="$"){const v=s[t];if(v!==void 0)switch(v){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return i[t]}else{if(Ko(r,t))return s[t]=1,r[t];if(o!==Re&&ve(o,t))return s[t]=2,o[t];if((c=e.propsOptions[0])&&ve(c,t))return s[t]=3,i[t];if(n!==Re&&ve(n,t))return s[t]=4,n[t];di&&(s[t]=0)}}const u=ar[t];let f,d;if(u)return t==="$attrs"&&et(e,"get",t),u(e);if((f=l.__cssModules)&&(f=f[t]))return f;if(n!==Re&&ve(n,t))return s[t]=4,n[t];if(d=a.config.globalProperties,ve(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:i}=e;return Ko(o,t)?(o[t]=n,!0):r!==Re&&ve(r,t)?(r[t]=n,!0):ve(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,propsOptions:i}},s){let l;return!!n[s]||e!==Re&&ve(e,s)||Ko(t,s)||(l=i[0])&&ve(l,s)||ve(r,s)||ve(ar,s)||ve(o.config.globalProperties,s)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ve(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Fs(e){return le(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let di=!0;function Nd(e){const t=ts(e),n=e.proxy,r=e.ctx;di=!1,t.beforeCreate&&Ls(t.beforeCreate,e,"bc");const{data:o,computed:i,methods:s,watch:l,provide:a,inject:c,created:u,beforeMount:f,mounted:d,beforeUpdate:v,updated:p,activated:w,deactivated:y,beforeDestroy:b,beforeUnmount:S,destroyed:F,unmounted:_,render:P,renderTracked:z,renderTriggered:m,errorCaptured:C,serverPrefetch:A,expose:j,inheritAttrs:W,components:k,directives:Q,filters:te}=t;if(c&&Wd(c,r,null),s)for(const K in s){const re=s[K];ue(re)&&(r[K]=re.bind(n))}if(o){const K=o.call(n,n);_e(K)&&(e.data=Xt(K))}if(di=!0,i)for(const K in i){const re=i[K],Ce=ue(re)?re.bind(n,n):ue(re.get)?re.get.bind(n,n):ct,we=!ue(re)&&ue(re.set)?re.set.bind(n):ct,Se=V({get:Ce,set:we});Object.defineProperty(r,K,{enumerable:!0,configurable:!0,get:()=>Se.value,set:Te=>Se.value=Te})}if(l)for(const K in l)bc(l[K],r,n,K);if(a){const K=ue(a)?a.call(n):a;Reflect.ownKeys(K).forEach(re=>{qe(re,K[re])})}u&&Ls(u,e,"c");function oe(K,re){le(re)?re.forEach(Ce=>K(Ce.bind(n))):re&&K(re.bind(n))}if(oe(bn,f),oe(Yt,d),oe(kd,v),oe(gc,p),oe(dc,w),oe(hc,y),oe(Fd,C),oe(Hd,z),oe(Md,m),oe(dt,S),oe(vc,_),oe(Bd,A),le(j))if(j.length){const K=e.exposed||(e.exposed={});j.forEach(re=>{Object.defineProperty(K,re,{get:()=>n[re],set:Ce=>n[re]=Ce})})}else e.exposed||(e.exposed={});P&&e.render===ct&&(e.render=P),W!=null&&(e.inheritAttrs=W),k&&(e.components=k),Q&&(e.directives=Q)}function Wd(e,t,n=ct){le(e)&&(e=hi(e));for(const r in e){const o=e[r];let i;_e(o)?"default"in o?i=ze(o.from||r,o.default,!0):i=ze(o.from||r):i=ze(o),Oe(i)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:s=>i.value=s}):t[r]=i}}function Ls(e,t,n){st(le(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function bc(e,t,n,r){const o=r.includes(".")?ac(n,r):()=>n[r];if(Be(e)){const i=t[e];ue(i)&&ut(o,i)}else if(ue(e))ut(o,e.bind(n));else if(_e(e))if(le(e))e.forEach(i=>bc(i,t,n,r));else{const i=ue(e.handler)?e.handler.bind(n):t[e.handler];ue(i)&&ut(o,i,e)}}function ts(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:i,config:{optionMergeStrategies:s}}=e.appContext,l=i.get(t);let a;return l?a=l:!o.length&&!n&&!r?a=t:(a={},o.length&&o.forEach(c=>fo(a,c,s,!0)),fo(a,t,s)),_e(t)&&i.set(t,a),a}function fo(e,t,n,r=!1){const{mixins:o,extends:i}=t;i&&fo(e,i,n,!0),o&&o.forEach(s=>fo(e,s,n,!0));for(const s in t)if(!(r&&s==="expose")){const l=Ud[s]||n&&n[s];e[s]=l?l(e[s],t[s]):t[s]}return e}const Ud={data:js,props:Ds,emits:Ds,methods:or,computed:or,beforeCreate:Ke,created:Ke,beforeMount:Ke,mounted:Ke,beforeUpdate:Ke,updated:Ke,beforeDestroy:Ke,beforeUnmount:Ke,destroyed:Ke,unmounted:Ke,activated:Ke,deactivated:Ke,errorCaptured:Ke,serverPrefetch:Ke,components:or,directives:or,watch:Vd,provide:js,inject:Kd};function js(e,t){return t?e?function(){return ke(ue(e)?e.call(this,this):e,ue(t)?t.call(this,this):t)}:t:e}function Kd(e,t){return or(hi(e),hi(t))}function hi(e){if(le(e)){const t={};for(let n=0;n1)return n&&ue(t)?t.call(r&&r.proxy):t}}function Xd(e,t,n,r=!1){const o={},i={};lo(i,To,1),e.propsDefaults=Object.create(null),xc(e,t,o,i);for(const s in e.propsOptions[0])s in o||(o[s]=void 0);n?e.props=r?o:cd(o):e.type.props?e.props=o:e.props=i,e.attrs=i}function Yd(e,t,n,r){const{props:o,attrs:i,vnode:{patchFlag:s}}=e,l=ge(o),[a]=e.propsOptions;let c=!1;if((r||s>0)&&!(s&16)){if(s&8){const u=e.vnode.dynamicProps;for(let f=0;f{a=!0;const[d,v]=Cc(f,t,!0);ke(s,d),v&&l.push(...v)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!i&&!a)return _e(e)&&r.set(e,Rn),Rn;if(le(i))for(let u=0;u-1,v[1]=w<0||p-1||ve(v,"default"))&&l.push(f)}}}const c=[s,l];return _e(e)&&r.set(e,c),c}function Ns(e){return e[0]!=="$"}function Ws(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function Us(e,t){return Ws(e)===Ws(t)}function Ks(e,t){return le(t)?t.findIndex(n=>Us(n,e)):ue(t)&&Us(t,e)?0:-1}const wc=e=>e[0]==="_"||e==="$stable",ns=e=>le(e)?e.map(bt):[bt(e)],Zd=(e,t,n)=>{if(t._n)return t;const r=ro((...o)=>ns(t(...o)),n);return r._c=!1,r},Sc=(e,t,n)=>{const r=e._ctx;for(const o in e){if(wc(o))continue;const i=e[o];if(ue(i))t[o]=Zd(o,i,r);else if(i!=null){const s=ns(i);t[o]=()=>s}}},_c=(e,t)=>{const n=ns(t);e.slots.default=()=>n},Jd=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=ge(t),lo(t,"_",n)):Sc(t,e.slots={})}else e.slots={},t&&_c(e,t);lo(e.slots,To,1)},Qd=(e,t,n)=>{const{vnode:r,slots:o}=e;let i=!0,s=Re;if(r.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:(ke(o,t),!n&&l===1&&delete o._):(i=!t.$stable,Sc(t,o)),s=t}else t&&(_c(e,t),s={default:1});if(i)for(const l in o)!wc(l)&&!(l in s)&&delete o[l]};function gi(e,t,n,r,o=!1){if(le(e)){e.forEach((d,v)=>gi(d,t&&(le(t)?t[v]:t),n,r,o));return}if(lr(r)&&!o)return;const i=r.shapeFlag&4?Oo(r.component)||r.component.proxy:r.el,s=o?null:i,{i:l,r:a}=e,c=t&&t.r,u=l.refs===Re?l.refs={}:l.refs,f=l.setupState;if(c!=null&&c!==a&&(Be(c)?(u[c]=null,ve(f,c)&&(f[c]=null)):Oe(c)&&(c.value=null)),ue(a))Kt(a,l,12,[s,u]);else{const d=Be(a),v=Oe(a);if(d||v){const p=()=>{if(e.f){const w=d?ve(f,a)?f[a]:u[a]:a.value;o?le(w)&&Fi(w,i):le(w)?w.includes(i)||w.push(i):d?(u[a]=[i],ve(f,a)&&(f[a]=u[a])):(a.value=[i],e.k&&(u[e.k]=a.value))}else d?(u[a]=s,ve(f,a)&&(f[a]=s)):v&&(a.value=s,e.k&&(u[e.k]=s))};s?(p.id=-1,Qe(p,n)):p()}}}const Qe=Td;function eh(e){return th(e)}function th(e,t){const n=ii();n.__VUE__=!0;const{insert:r,remove:o,patchProp:i,createElement:s,createText:l,createComment:a,setText:c,setElementText:u,parentNode:f,nextSibling:d,setScopeId:v=ct,insertStaticContent:p}=e,w=(h,g,x,$=null,O=null,B=null,N=!1,L=null,M=!!g.dynamicChildren)=>{if(h===g)return;h&&!rn(h,g)&&($=R(h),Te(h,O,B,!0),h=null),g.patchFlag===-2&&(M=!1,g.dynamicChildren=null);const{type:T,ref:Z,shapeFlag:q}=g;switch(T){case Ro:y(h,g,x,$);break;case Ge:b(h,g,x,$);break;case Vo:h==null&&S(g,x,$,N);break;case Me:k(h,g,x,$,O,B,N,L,M);break;default:q&1?P(h,g,x,$,O,B,N,L,M):q&6?Q(h,g,x,$,O,B,N,L,M):(q&64||q&128)&&T.process(h,g,x,$,O,B,N,L,M,I)}Z!=null&&O&&gi(Z,h&&h.ref,B,g||h,!g)},y=(h,g,x,$)=>{if(h==null)r(g.el=l(g.children),x,$);else{const O=g.el=h.el;g.children!==h.children&&c(O,g.children)}},b=(h,g,x,$)=>{h==null?r(g.el=a(g.children||""),x,$):g.el=h.el},S=(h,g,x,$)=>{[h.el,h.anchor]=p(h.children,g,x,$,h.el,h.anchor)},F=({el:h,anchor:g},x,$)=>{let O;for(;h&&h!==g;)O=d(h),r(h,x,$),h=O;r(g,x,$)},_=({el:h,anchor:g})=>{let x;for(;h&&h!==g;)x=d(h),o(h),h=x;o(g)},P=(h,g,x,$,O,B,N,L,M)=>{N=N||g.type==="svg",h==null?z(g,x,$,O,B,N,L,M):A(h,g,O,B,N,L,M)},z=(h,g,x,$,O,B,N,L)=>{let M,T;const{type:Z,props:q,shapeFlag:Y,transition:ae,dirs:he}=h;if(M=h.el=s(h.type,B,q&&q.is,q),Y&8?u(M,h.children):Y&16&&C(h.children,M,null,$,O,B&&Z!=="foreignObject",N,L),he&&Zt(h,null,$,"created"),m(M,h,h.scopeId,N,$),q){for(const me in q)me!=="value"&&!no(me)&&i(M,me,null,q[me],B,h.children,$,O,fe);"value"in q&&i(M,"value",null,q.value),(T=q.onVnodeBeforeMount)&>(T,$,h)}he&&Zt(h,null,$,"beforeMount");const be=(!O||O&&!O.pendingBranch)&&ae&&!ae.persisted;be&&ae.beforeEnter(M),r(M,g,x),((T=q&&q.onVnodeMounted)||be||he)&&Qe(()=>{T&>(T,$,h),be&&ae.enter(M),he&&Zt(h,null,$,"mounted")},O)},m=(h,g,x,$,O)=>{if(x&&v(h,x),$)for(let B=0;B<$.length;B++)v(h,$[B]);if(O){let B=O.subTree;if(g===B){const N=O.vnode;m(h,N,N.scopeId,N.slotScopeIds,O.parent)}}},C=(h,g,x,$,O,B,N,L,M=0)=>{for(let T=M;T{const L=g.el=h.el;let{patchFlag:M,dynamicChildren:T,dirs:Z}=g;M|=h.patchFlag&16;const q=h.props||Re,Y=g.props||Re;let ae;x&&Jt(x,!1),(ae=Y.onVnodeBeforeUpdate)&>(ae,x,g,h),Z&&Zt(g,h,x,"beforeUpdate"),x&&Jt(x,!0);const he=O&&g.type!=="foreignObject";if(T?j(h.dynamicChildren,T,L,x,$,he,B):N||re(h,g,L,null,x,$,he,B,!1),M>0){if(M&16)W(L,g,q,Y,x,$,O);else if(M&2&&q.class!==Y.class&&i(L,"class",null,Y.class,O),M&4&&i(L,"style",q.style,Y.style,O),M&8){const be=g.dynamicProps;for(let me=0;me{ae&>(ae,x,g,h),Z&&Zt(g,h,x,"updated")},$)},j=(h,g,x,$,O,B,N)=>{for(let L=0;L{if(x!==$){if(x!==Re)for(const L in x)!no(L)&&!(L in $)&&i(h,L,x[L],null,N,g.children,O,B,fe);for(const L in $){if(no(L))continue;const M=$[L],T=x[L];M!==T&&L!=="value"&&i(h,L,T,M,N,g.children,O,B,fe)}"value"in $&&i(h,"value",x.value,$.value)}},k=(h,g,x,$,O,B,N,L,M)=>{const T=g.el=h?h.el:l(""),Z=g.anchor=h?h.anchor:l("");let{patchFlag:q,dynamicChildren:Y,slotScopeIds:ae}=g;ae&&(L=L?L.concat(ae):ae),h==null?(r(T,x,$),r(Z,x,$),C(g.children,x,Z,O,B,N,L,M)):q>0&&q&64&&Y&&h.dynamicChildren?(j(h.dynamicChildren,Y,x,O,B,N,L),(g.key!=null||O&&g===O.subTree)&&rs(h,g,!0)):re(h,g,x,Z,O,B,N,L,M)},Q=(h,g,x,$,O,B,N,L,M)=>{g.slotScopeIds=L,h==null?g.shapeFlag&512?O.ctx.activate(g,x,$,N,M):te(g,x,$,O,B,N,M):ne(h,g,M)},te=(h,g,x,$,O,B,N)=>{const L=h.component=fh(h,$,O);if($o(h)&&(L.ctx.renderer=I),dh(L),L.asyncDep){if(O&&O.registerDep(L,oe),!h.el){const M=L.subTree=Fe(Ge);b(null,M,g,x)}return}oe(L,h,g,x,O,B,N)},ne=(h,g,x)=>{const $=g.component=h.component;if($d(h,g,x))if($.asyncDep&&!$.asyncResolved){K($,g,x);return}else $.next=g,xd($.update),$.update();else g.el=h.el,$.vnode=g},oe=(h,g,x,$,O,B,N)=>{const L=()=>{if(h.isMounted){let{next:Z,bu:q,u:Y,parent:ae,vnode:he}=h,be=Z,me;Jt(h,!1),Z?(Z.el=he.el,K(h,Z,N)):Z=he,q&&No(q),(me=Z.props&&Z.props.onVnodeBeforeUpdate)&>(me,ae,Z,he),Jt(h,!0);const Ie=Wo(h),Ue=h.subTree;h.subTree=Ie,w(Ue,Ie,f(Ue.el),R(Ue),h,O,B),Z.el=Ie.el,be===null&&Pd(h,Ie.el),Y&&Qe(Y,O),(me=Z.props&&Z.props.onVnodeUpdated)&&Qe(()=>gt(me,ae,Z,he),O)}else{let Z;const{el:q,props:Y}=g,{bm:ae,m:he,parent:be}=h,me=lr(g);if(Jt(h,!1),ae&&No(ae),!me&&(Z=Y&&Y.onVnodeBeforeMount)&>(Z,be,g),Jt(h,!0),q&&pe){const Ie=()=>{h.subTree=Wo(h),pe(q,h.subTree,h,O,null)};me?g.type.__asyncLoader().then(()=>!h.isUnmounted&&Ie()):Ie()}else{const Ie=h.subTree=Wo(h);w(null,Ie,x,$,h,O,B),g.el=Ie.el}if(he&&Qe(he,O),!me&&(Z=Y&&Y.onVnodeMounted)){const Ie=g;Qe(()=>gt(Z,be,Ie),O)}(g.shapeFlag&256||be&&lr(be.vnode)&&be.vnode.shapeFlag&256)&&h.a&&Qe(h.a,O),h.isMounted=!0,g=x=$=null}},M=h.effect=new Ui(L,()=>Zi(T),h.scope),T=h.update=()=>M.run();T.id=h.uid,Jt(h,!0),T()},K=(h,g,x)=>{g.component=h;const $=h.vnode.props;h.vnode=g,h.next=null,Yd(h,g.props,$,x),Qd(h,g.children,x),jn(),Bs(),Dn()},re=(h,g,x,$,O,B,N,L,M=!1)=>{const T=h&&h.children,Z=h?h.shapeFlag:0,q=g.children,{patchFlag:Y,shapeFlag:ae}=g;if(Y>0){if(Y&128){we(T,q,x,$,O,B,N,L,M);return}else if(Y&256){Ce(T,q,x,$,O,B,N,L,M);return}}ae&8?(Z&16&&fe(T,O,B),q!==T&&u(x,q)):Z&16?ae&16?we(T,q,x,$,O,B,N,L,M):fe(T,O,B,!0):(Z&8&&u(x,""),ae&16&&C(q,x,$,O,B,N,L,M))},Ce=(h,g,x,$,O,B,N,L,M)=>{h=h||Rn,g=g||Rn;const T=h.length,Z=g.length,q=Math.min(T,Z);let Y;for(Y=0;YZ?fe(h,O,B,!0,!1,q):C(g,x,$,O,B,N,L,M,q)},we=(h,g,x,$,O,B,N,L,M)=>{let T=0;const Z=g.length;let q=h.length-1,Y=Z-1;for(;T<=q&&T<=Y;){const ae=h[T],he=g[T]=M?Nt(g[T]):bt(g[T]);if(rn(ae,he))w(ae,he,x,null,O,B,N,L,M);else break;T++}for(;T<=q&&T<=Y;){const ae=h[q],he=g[Y]=M?Nt(g[Y]):bt(g[Y]);if(rn(ae,he))w(ae,he,x,null,O,B,N,L,M);else break;q--,Y--}if(T>q){if(T<=Y){const ae=Y+1,he=aeY)for(;T<=q;)Te(h[T],O,B,!0),T++;else{const ae=T,he=T,be=new Map;for(T=he;T<=Y;T++){const Ye=g[T]=M?Nt(g[T]):bt(g[T]);Ye.key!=null&&be.set(Ye.key,T)}let me,Ie=0;const Ue=Y-he+1;let pt=!1,Fr=0;const Bt=new Array(Ue);for(T=0;T=Ue){Te(Ye,O,B,!0);continue}let H;if(Ye.key!=null)H=be.get(Ye.key);else for(me=he;me<=Y;me++)if(Bt[me-he]===0&&rn(Ye,g[me])){H=me;break}H===void 0?Te(Ye,O,B,!0):(Bt[H-he]=T+1,H>=Fr?Fr=H:pt=!0,w(Ye,g[H],x,null,O,B,N,L,M),Ie++)}const wt=pt?nh(Bt):Rn;for(me=wt.length-1,T=Ue-1;T>=0;T--){const Ye=he+T,H=g[Ye],J=Ye+1{const{el:B,type:N,transition:L,children:M,shapeFlag:T}=h;if(T&6){Se(h.component.subTree,g,x,$);return}if(T&128){h.suspense.move(g,x,$);return}if(T&64){N.move(h,g,x,I);return}if(N===Me){r(B,g,x);for(let q=0;qL.enter(B),O);else{const{leave:q,delayLeave:Y,afterLeave:ae}=L,he=()=>r(B,g,x),be=()=>{q(B,()=>{he(),ae&&ae()})};Y?Y(B,he,be):be()}else r(B,g,x)},Te=(h,g,x,$=!1,O=!1)=>{const{type:B,props:N,ref:L,children:M,dynamicChildren:T,shapeFlag:Z,patchFlag:q,dirs:Y}=h;if(L!=null&&gi(L,null,x,h,!0),Z&256){g.ctx.deactivate(h);return}const ae=Z&1&&Y,he=!lr(h);let be;if(he&&(be=N&&N.onVnodeBeforeUnmount)&>(be,g,h),Z&6)Xe(h.component,x,$);else{if(Z&128){h.suspense.unmount(x,$);return}ae&&Zt(h,null,g,"beforeUnmount"),Z&64?h.type.remove(h,g,x,O,I,$):T&&(B!==Me||q>0&&q&64)?fe(T,g,x,!1,!0):(B===Me&&q&384||!O&&Z&16)&&fe(M,g,x),$&&rt(h)}(he&&(be=N&&N.onVnodeUnmounted)||ae)&&Qe(()=>{be&>(be,g,h),ae&&Zt(h,null,g,"unmounted")},x)},rt=h=>{const{type:g,el:x,anchor:$,transition:O}=h;if(g===Me){ht(x,$);return}if(g===Vo){_(h);return}const B=()=>{o(x),O&&!O.persisted&&O.afterLeave&&O.afterLeave()};if(h.shapeFlag&1&&O&&!O.persisted){const{leave:N,delayLeave:L}=O,M=()=>N(x,B);L?L(h.el,B,M):M()}else B()},ht=(h,g)=>{let x;for(;h!==g;)x=d(h),o(h),h=x;o(g)},Xe=(h,g,x)=>{const{bum:$,scope:O,update:B,subTree:N,um:L}=h;$&&No($),O.stop(),B&&(B.active=!1,Te(N,h,g,x)),L&&Qe(L,g),Qe(()=>{h.isUnmounted=!0},g),g&&g.pendingBranch&&!g.isUnmounted&&h.asyncDep&&!h.asyncResolved&&h.suspenseId===g.pendingId&&(g.deps--,g.deps===0&&g.resolve())},fe=(h,g,x,$=!1,O=!1,B=0)=>{for(let N=B;Nh.shapeFlag&6?R(h.component.subTree):h.shapeFlag&128?h.suspense.next():d(h.anchor||h.el),U=(h,g,x)=>{h==null?g._vnode&&Te(g._vnode,null,null,!0):w(g._vnode||null,h,g,null,null,null,x),Bs(),oc(),g._vnode=h},I={p:w,um:Te,m:Se,r:rt,mt:te,mc:C,pc:re,pbc:j,n:R,o:e};let X,pe;return t&&([X,pe]=t(I)),{render:U,hydrate:X,createApp:Gd(U,X)}}function Jt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function rs(e,t,n=!1){const r=e.children,o=t.children;if(le(r)&&le(o))for(let i=0;i>1,e[n[l]]0&&(t[r]=n[i-1]),n[i]=r)}}for(i=n.length,s=n[i-1];i-- >0;)n[i]=s,s=t[s];return n}const rh=e=>e.__isTeleport,cr=e=>e&&(e.disabled||e.disabled===""),Vs=e=>typeof SVGElement<"u"&&e instanceof SVGElement,vi=(e,t)=>{const n=e&&e.to;return Be(n)?t?t(n):null:n},oh={__isTeleport:!0,process(e,t,n,r,o,i,s,l,a,c){const{mc:u,pc:f,pbc:d,o:{insert:v,querySelector:p,createText:w,createComment:y}}=c,b=cr(t.props);let{shapeFlag:S,children:F,dynamicChildren:_}=t;if(e==null){const P=t.el=w(""),z=t.anchor=w("");v(P,n,r),v(z,n,r);const m=t.target=vi(t.props,p),C=t.targetAnchor=w("");m&&(v(C,m),s=s||Vs(m));const A=(j,W)=>{S&16&&u(F,j,W,o,i,s,l,a)};b?A(n,z):m&&A(m,C)}else{t.el=e.el;const P=t.anchor=e.anchor,z=t.target=e.target,m=t.targetAnchor=e.targetAnchor,C=cr(e.props),A=C?n:z,j=C?P:m;if(s=s||Vs(z),_?(d(e.dynamicChildren,_,A,o,i,s,l),rs(e,t,!0)):a||f(e,t,A,j,o,i,s,l,!1),b)C||Kr(t,n,P,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const W=t.target=vi(t.props,p);W&&Kr(t,W,null,c,0)}else C&&Kr(t,z,m,c,1)}$c(t)},remove(e,t,n,r,{um:o,o:{remove:i}},s){const{shapeFlag:l,children:a,anchor:c,targetAnchor:u,target:f,props:d}=e;if(f&&i(u),(s||!cr(d))&&(i(c),l&16))for(let v=0;v0?at||Rn:null,sh(),Sr>0&&at&&at.push(e),e}function Nx(e,t,n,r,o,i){return Pc(Tc(e,t,n,r,o,i,!0))}function is(e,t,n,r,o){return Pc(Fe(e,t,n,r,o,!0))}function _r(e){return e?e.__v_isVNode===!0:!1}function rn(e,t){return e.type===t.type&&e.key===t.key}const To="__vInternal",Rc=({key:e})=>e??null,oo=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Be(e)||Oe(e)||ue(e)?{i:We,r:e,k:t,f:!!n}:e:null);function Tc(e,t=null,n=null,r=0,o=null,i=e===Me?0:1,s=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Rc(t),ref:t&&oo(t),scopeId:lc,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:We};return l?(ss(a,n),i&128&&e.normalize(a)):n&&(a.shapeFlag|=Be(n)?8:16),Sr>0&&!s&&at&&(a.patchFlag>0||i&6)&&a.patchFlag!==32&&at.push(a),a}const Fe=lh;function lh(e,t=null,n=null,r=0,o=null,i=!1){if((!e||e===Ld)&&(e=Ge),_r(e)){const l=It(e,t,!0);return n&&ss(l,n),Sr>0&&!i&&at&&(l.shapeFlag&6?at[at.indexOf(e)]=l:at.push(l)),l.patchFlag|=-2,l}if(vh(e)&&(e=e.__vccOpts),t){t=ah(t);let{class:l,style:a}=t;l&&!Be(l)&&(t.class=Ni(l)),_e(a)&&(Ya(a)&&!le(a)&&(a=ke({},a)),t.style=Di(a))}const s=Be(e)?1:Rd(e)?128:rh(e)?64:_e(e)?4:ue(e)?2:0;return Tc(e,t,n,r,o,s,i,!0)}function ah(e){return e?Ya(e)||To in e?ke({},e):e:null}function It(e,t,n=!1){const{props:r,ref:o,patchFlag:i,children:s}=e,l=t?ls(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Rc(l),ref:t&&t.ref?n&&o?le(o)?o.concat(oo(t)):[o,oo(t)]:oo(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Me?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&It(e.ssContent),ssFallback:e.ssFallback&&It(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Er(e=" ",t=0){return Fe(Ro,null,e,t)}function Wx(e="",t=!1){return t?(os(),is(Ge,null,e)):Fe(Ge,null,e)}function bt(e){return e==null||typeof e=="boolean"?Fe(Ge):le(e)?Fe(Me,null,e.slice()):typeof e=="object"?Nt(e):Fe(Ro,null,String(e))}function Nt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:It(e)}function ss(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(le(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),ss(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!(To in t)?t._ctx=We:o===3&&We&&(We.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ue(t)?(t={default:t,_ctx:We},n=32):(t=String(t),r&64?(n=16,t=[Er(t)]):n=8);e.children=t,e.shapeFlag|=n}function ls(...e){const t={};for(let n=0;nLe||We;let as,wn,Gs="__VUE_INSTANCE_SETTERS__";(wn=ii()[Gs])||(wn=ii()[Gs]=[]),wn.push(e=>Le=e),as=e=>{wn.length>1?wn.forEach(t=>t(e)):wn[0](e)};const Bn=e=>{as(e),e.scope.on()},dn=()=>{Le&&Le.scope.off(),as(null)};function Oc(e){return e.vnode.shapeFlag&4}let $r=!1;function dh(e,t=!1){$r=t;const{props:n,children:r}=e.vnode,o=Oc(e);Xd(e,n,o,t),Jd(e,r);const i=o?hh(e,t):void 0;return $r=!1,i}function hh(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=qt(new Proxy(e.ctx,Dd));const{setup:r}=n;if(r){const o=e.setupContext=r.length>1?gh(e):null;Bn(e),jn();const i=Kt(r,e,0,[e.props,o]);if(Dn(),dn(),za(i)){if(i.then(dn,dn),t)return i.then(s=>{Xs(e,s,t)}).catch(s=>{_o(s,e,0)});e.asyncDep=i}else Xs(e,i,t)}else zc(e,t)}function Xs(e,t,n){ue(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:_e(t)&&(e.setupState=ec(t)),zc(e,n)}let Ys;function zc(e,t,n){const r=e.type;if(!e.render){if(!t&&Ys&&!r.render){const o=r.template||ts(e).template;if(o){const{isCustomElement:i,compilerOptions:s}=e.appContext.config,{delimiters:l,compilerOptions:a}=r,c=ke(ke({isCustomElement:i,delimiters:l},s),a);r.render=Ys(o,c)}}e.render=r.render||ct}Bn(e),jn(),Nd(e),Dn(),dn()}function ph(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return et(e,"get","$attrs"),t[n]}}))}function gh(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return ph(e)},slots:e.slots,emit:e.emit,expose:t}}function Oo(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(ec(qt(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in ar)return ar[n](e)},has(t,n){return n in t||n in ar}}))}function vh(e){return ue(e)&&"__vccOpts"in e}const V=(e,t)=>md(e,t,$r);function E(e,t,n){const r=arguments.length;return r===2?_e(t)&&!le(t)?_r(t)?Fe(e,null,[t]):Fe(e,t):Fe(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&_r(n)&&(n=[n]),Fe(e,t,n))}const mh=Symbol.for("v-scx"),bh=()=>ze(mh),yh="3.3.2",xh="http://www.w3.org/2000/svg",on=typeof document<"u"?document:null,Zs=on&&on.createElement("template"),Ch={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o=t?on.createElementNS(xh,e):on.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>on.createTextNode(e),createComment:e=>on.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>on.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,i){const s=n?n.previousSibling:t.lastChild;if(o&&(o===i||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===i||!(o=o.nextSibling)););else{Zs.innerHTML=r?`${e}`:e;const l=Zs.content;if(r){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}t.insertBefore(l,n)}return[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function wh(e,t,n){const r=e._vtc;r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function Sh(e,t,n){const r=e.style,o=Be(n);if(n&&!o){if(t&&!Be(t))for(const i in t)n[i]==null&&mi(r,i,"");for(const i in n)mi(r,i,n[i])}else{const i=r.display;o?t!==n&&(r.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(r.display=i)}}const Js=/\s*!important$/;function mi(e,t,n){if(le(n))n.forEach(r=>mi(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=_h(e,t);Js.test(n)?e.setProperty(Ln(r),n.replace(Js,""),"important"):e[r]=n}}const Qs=["Webkit","Moz","ms"],qo={};function _h(e,t){const n=qo[t];if(n)return n;let r=In(t);if(r!=="filter"&&r in e)return qo[t]=r;r=ka(r);for(let o=0;oGo||(zh.then(()=>Go=0),Go=Date.now());function Ah(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;st(kh(r,n.value),t,5,[r])};return n.value=e,n.attached=Ih(),n}function kh(e,t){if(le(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>o=>!o._stopped&&r&&r(o))}else return t}const nl=/^on[a-z]/,Bh=(e,t,n,r,o=!1,i,s,l,a)=>{t==="class"?wh(e,r,o):t==="style"?Sh(e,n,r):xo(t)?Hi(t)||Th(e,t,n,r,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Mh(e,t,r,o))?$h(e,t,r,i,s,l,a):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Eh(e,t,r,o))};function Mh(e,t,n,r){return r?!!(t==="innerHTML"||t==="textContent"||t in e&&nl.test(t)&&ue(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||nl.test(t)&&Be(n)?!1:t in e}const Ht="transition",Zn="animation",Gt=(e,{slots:t})=>E(Id,Ac(e),t);Gt.displayName="Transition";const Ic={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Hh=Gt.props=ke({},uc,Ic),Qt=(e,t=[])=>{le(e)?e.forEach(n=>n(...t)):e&&e(...t)},rl=e=>e?le(e)?e.some(t=>t.length>1):e.length>1:!1;function Ac(e){const t={};for(const k in e)k in Ic||(t[k]=e[k]);if(e.css===!1)return t;const{name:n="v",type:r,duration:o,enterFromClass:i=`${n}-enter-from`,enterActiveClass:s=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:a=i,appearActiveClass:c=s,appearToClass:u=l,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:v=`${n}-leave-to`}=e,p=Fh(o),w=p&&p[0],y=p&&p[1],{onBeforeEnter:b,onEnter:S,onEnterCancelled:F,onLeave:_,onLeaveCancelled:P,onBeforeAppear:z=b,onAppear:m=S,onAppearCancelled:C=F}=t,A=(k,Q,te)=>{jt(k,Q?u:l),jt(k,Q?c:s),te&&te()},j=(k,Q)=>{k._isLeaving=!1,jt(k,f),jt(k,v),jt(k,d),Q&&Q()},W=k=>(Q,te)=>{const ne=k?m:S,oe=()=>A(Q,k,te);Qt(ne,[Q,oe]),ol(()=>{jt(Q,k?a:i),$t(Q,k?u:l),rl(ne)||il(Q,r,w,oe)})};return ke(t,{onBeforeEnter(k){Qt(b,[k]),$t(k,i),$t(k,s)},onBeforeAppear(k){Qt(z,[k]),$t(k,a),$t(k,c)},onEnter:W(!1),onAppear:W(!0),onLeave(k,Q){k._isLeaving=!0;const te=()=>j(k,Q);$t(k,f),Bc(),$t(k,d),ol(()=>{k._isLeaving&&(jt(k,f),$t(k,v),rl(_)||il(k,r,y,te))}),Qt(_,[k,te])},onEnterCancelled(k){A(k,!1),Qt(F,[k])},onAppearCancelled(k){A(k,!0),Qt(C,[k])},onLeaveCancelled(k){j(k),Qt(P,[k])}})}function Fh(e){if(e==null)return null;if(_e(e))return[Xo(e.enter),Xo(e.leave)];{const t=Xo(e);return[t,t]}}function Xo(e){return Pf(e)}function $t(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function jt(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function ol(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Lh=0;function il(e,t,n,r){const o=e._endId=++Lh,i=()=>{o===e._endId&&r()};if(n)return setTimeout(i,n);const{type:s,timeout:l,propCount:a}=kc(e,t);if(!s)return r();const c=s+"end";let u=0;const f=()=>{e.removeEventListener(c,d),i()},d=v=>{v.target===e&&++u>=a&&f()};setTimeout(()=>{u(n[p]||"").split(", "),o=r(`${Ht}Delay`),i=r(`${Ht}Duration`),s=sl(o,i),l=r(`${Zn}Delay`),a=r(`${Zn}Duration`),c=sl(l,a);let u=null,f=0,d=0;t===Ht?s>0&&(u=Ht,f=s,d=i.length):t===Zn?c>0&&(u=Zn,f=c,d=a.length):(f=Math.max(s,c),u=f>0?s>c?Ht:Zn:null,d=u?u===Ht?i.length:a.length:0);const v=u===Ht&&/\b(transform|all)(,|$)/.test(r(`${Ht}Property`).toString());return{type:u,timeout:f,propCount:d,hasTransform:v}}function sl(e,t){for(;e.lengthll(n)+ll(e[r])))}function ll(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function Bc(){return document.body.offsetHeight}const Mc=new WeakMap,Hc=new WeakMap,Fc={name:"TransitionGroup",props:ke({},Hh,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Ar(),r=cc();let o,i;return gc(()=>{if(!o.length)return;const s=e.moveClass||`${e.name||"v"}-move`;if(!Kh(o[0].el,n.vnode.el,s))return;o.forEach(Nh),o.forEach(Wh);const l=o.filter(Uh);Bc(),l.forEach(a=>{const c=a.el,u=c.style;$t(c,s),u.transform=u.webkitTransform=u.transitionDuration="";const f=c._moveCb=d=>{d&&d.target!==c||(!d||/transform$/.test(d.propertyName))&&(c.removeEventListener("transitionend",f),c._moveCb=null,jt(c,s))};c.addEventListener("transitionend",f)})}),()=>{const s=ge(e),l=Ac(s);let a=s.tag||Me;o=i,i=t.default?es(t.default()):[];for(let c=0;cdelete e.mode;Fc.props;const Dh=Fc;function Nh(e){const t=e.el;t._moveCb&&t._moveCb(),t._enterCb&&t._enterCb()}function Wh(e){Hc.set(e,e.el.getBoundingClientRect())}function Uh(e){const t=Mc.get(e),n=Hc.get(e),r=t.left-n.left,o=t.top-n.top;if(r||o){const i=e.el.style;return i.transform=i.webkitTransform=`translate(${r}px,${o}px)`,i.transitionDuration="0s",e}}function Kh(e,t,n){const r=e.cloneNode();e._vtc&&e._vtc.forEach(s=>{s.split(/\s+/).forEach(l=>l&&r.classList.remove(l))}),n.split(/\s+/).forEach(s=>s&&r.classList.add(s)),r.style.display="none";const o=t.nodeType===1?t:t.parentNode;o.appendChild(r);const{hasTransform:i}=kc(r);return o.removeChild(r),i}const al={beforeMount(e,{value:t},{transition:n}){e._vod=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Jn(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),Jn(e,!0),r.enter(e)):r.leave(e,()=>{Jn(e,!1)}):Jn(e,t))},beforeUnmount(e,{value:t}){Jn(e,t)}};function Jn(e,t){e.style.display=t?e._vod:"none"}const Vh=ke({patchProp:Bh},Ch);let cl;function qh(){return cl||(cl=eh(Vh))}const Gh=(...e)=>{const t=qh().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=Xh(r);if(!o)return;const i=t._component;!ue(i)&&!i.render&&!i.template&&(i.template=o.innerHTML),o.innerHTML="";const s=n(o,!1,o instanceof SVGElement);return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),s},t};function Xh(e){return Be(e)?document.querySelector(e):e}var Yh=!1;/*! + * pinia v2.0.36 + * (c) 2023 Eduardo San Martin Morote + * @license MIT + */let Lc;const zo=e=>Lc=e,jc=Symbol();function bi(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var fr;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(fr||(fr={}));function Zh(){const e=Fa(!0),t=e.run(()=>se({}));let n=[],r=[];const o=qt({install(i){zo(o),o._a=i,i.provide(jc,o),i.config.globalProperties.$pinia=o,r.forEach(s=>n.push(s)),r=[]},use(i){return!this._a&&!Yh?r.push(i):n.push(i),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return o}const Dc=()=>{};function ul(e,t,n,r=Dc){e.push(t);const o=()=>{const i=e.indexOf(t);i>-1&&(e.splice(i,1),r())};return!n&&La()&&Bf(o),o}function Sn(e,...t){e.slice().forEach(n=>{n(...t)})}function yi(e,t){e instanceof Map&&t instanceof Map&&t.forEach((n,r)=>e.set(r,n)),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const r=t[n],o=e[n];bi(o)&&bi(r)&&e.hasOwnProperty(n)&&!Oe(r)&&!Rt(r)?e[n]=yi(o,r):e[n]=r}return e}const Jh=Symbol();function Qh(e){return!bi(e)||!e.hasOwnProperty(Jh)}const{assign:Dt}=Object;function ep(e){return!!(Oe(e)&&e.effect)}function tp(e,t,n,r){const{state:o,actions:i,getters:s}=t,l=n.state.value[e];let a;function c(){l||(n.state.value[e]=o?o():{});const u=hd(n.state.value[e]);return Dt(u,i,Object.keys(s||{}).reduce((f,d)=>(f[d]=qt(V(()=>{zo(n);const v=n._s.get(e);return s[d].call(v,v)})),f),{}))}return a=Nc(e,c,t,n,r,!0),a}function Nc(e,t,n={},r,o,i){let s;const l=Dt({actions:{}},n),a={deep:!0};let c,u,f=qt([]),d=qt([]),v;const p=r.state.value[e];!i&&!p&&(r.state.value[e]={}),se({});let w;function y(m){let C;c=u=!1,typeof m=="function"?(m(r.state.value[e]),C={type:fr.patchFunction,storeId:e,events:v}):(yi(r.state.value[e],m),C={type:fr.patchObject,payload:m,storeId:e,events:v});const A=w=Symbol();kn().then(()=>{w===A&&(c=!0)}),u=!0,Sn(f,C,r.state.value[e])}const b=i?function(){const{state:C}=n,A=C?C():{};this.$patch(j=>{Dt(j,A)})}:Dc;function S(){s.stop(),f=[],d=[],r._s.delete(e)}function F(m,C){return function(){zo(r);const A=Array.from(arguments),j=[],W=[];function k(ne){j.push(ne)}function Q(ne){W.push(ne)}Sn(d,{args:A,name:m,store:P,after:k,onError:Q});let te;try{te=C.apply(this&&this.$id===e?this:P,A)}catch(ne){throw Sn(W,ne),ne}return te instanceof Promise?te.then(ne=>(Sn(j,ne),ne)).catch(ne=>(Sn(W,ne),Promise.reject(ne))):(Sn(j,te),te)}}const _={_p:r,$id:e,$onAction:ul.bind(null,d),$patch:y,$reset:b,$subscribe(m,C={}){const A=ul(f,m,C.detached,()=>j()),j=s.run(()=>ut(()=>r.state.value[e],W=>{(C.flush==="sync"?u:c)&&m({storeId:e,type:fr.direct,events:v},W)},Dt({},a,C)));return A},$dispose:S},P=Xt(_);r._s.set(e,P);const z=r._e.run(()=>(s=Fa(),s.run(()=>t())));for(const m in z){const C=z[m];if(Oe(C)&&!ep(C)||Rt(C))i||(p&&Qh(C)&&(Oe(C)?C.value=p[m]:yi(C,p[m])),r.state.value[e][m]=C);else if(typeof C=="function"){const A=F(m,C);z[m]=A,l.actions[m]=C}}return Dt(P,z),Dt(ge(P),z),Object.defineProperty(P,"$state",{get:()=>r.state.value[e],set:m=>{y(C=>{Dt(C,m)})}}),r._p.forEach(m=>{Dt(P,s.run(()=>m({store:P,app:r._a,pinia:r,options:l})))}),p&&i&&n.hydrate&&n.hydrate(P.$state,p),c=!0,u=!0,P}function Ux(e,t,n){let r,o;const i=typeof t=="function";typeof e=="string"?(r=e,o=i?n:t):(o=e,r=e.id);function s(l,a){const c=Ar();return l=l||c&&ze(jc,null),l&&zo(l),l=Lc,l._s.has(r)||(i?Nc(r,t,o,l):tp(r,o,l)),l._s.get(r)}return s.$id=r,s}function Kx(e){{e=ge(e);const t={};for(const n in e){const r=e[n];(Oe(r)||Rt(r))&&(t[n]=zt(e,n))}return t}}function np(e){return typeof e=="object"&&e!==null}function fl(e,t){return e=np(e)?e:Object.create(null),new Proxy(e,{get(n,r,o){return r==="key"?Reflect.get(n,r,o):Reflect.get(n,r,o)||Reflect.get(t,r,o)}})}function rp(e,t){return t.reduce((n,r)=>n==null?void 0:n[r],e)}function op(e,t,n){return t.slice(0,-1).reduce((r,o)=>/^(__proto__)$/.test(o)?{}:r[o]=r[o]||{},e)[t[t.length-1]]=n,e}function ip(e,t){return t.reduce((n,r)=>{const o=r.split(".");return op(n,o,rp(e,o))},{})}function dl(e,{storage:t,serializer:n,key:r,debug:o}){try{const i=t==null?void 0:t.getItem(r);i&&e.$patch(n==null?void 0:n.deserialize(i))}catch(i){o&&console.error(i)}}function hl(e,{storage:t,serializer:n,key:r,paths:o,debug:i}){try{const s=Array.isArray(o)?ip(e,o):e;t.setItem(r,n.serialize(s))}catch(s){i&&console.error(s)}}function sp(e={}){return t=>{const{auto:n=!1}=e,{options:{persist:r=n},store:o}=t;if(!r)return;const i=(Array.isArray(r)?r.map(s=>fl(s,e)):[fl(r,e)]).map(({storage:s=localStorage,beforeRestore:l=null,afterRestore:a=null,serializer:c={serialize:JSON.stringify,deserialize:JSON.parse},key:u=o.$id,paths:f=null,debug:d=!1})=>{var v;return{storage:s,beforeRestore:l,afterRestore:a,serializer:c,key:((v=e.key)!=null?v:p=>p)(u),paths:f,debug:d}});o.$persist=()=>{i.forEach(s=>{hl(o.$state,s)})},o.$hydrate=({runHooks:s=!0}={})=>{i.forEach(l=>{const{beforeRestore:a,afterRestore:c}=l;s&&(a==null||a(t)),dl(o,l),s&&(c==null||c(t))})},i.forEach(s=>{const{beforeRestore:l,afterRestore:a}=s;l==null||l(t),dl(o,s),a==null||a(t),o.$subscribe((c,u)=>{hl(u,s)},{detached:!0})})}}var lp=sp();const Wc=Zh();Wc.use(lp);function ap(e){e.use(Wc)}function cs(e){return e.composedPath()[0]||null}function Vx(e){return typeof e=="string"?e.endsWith("px")?Number(e.slice(0,e.length-2)):Number(e):e}function cp(e,t){const n=e.trim().split(/\s+/g),r={top:n[0]};switch(n.length){case 1:r.right=n[0],r.bottom=n[0],r.left=n[0];break;case 2:r.right=n[1],r.left=n[1],r.bottom=n[0];break;case 3:r.right=n[1],r.bottom=n[2],r.left=n[1];break;case 4:r.right=n[1],r.bottom=n[2],r.left=n[3];break;default:throw new Error("[seemly/getMargin]:"+e+" is not a valid value.")}return t===void 0?r:r[t]}function qx(e,t){const[n,r]=e.split(" ");return t?t==="row"?n:r:{row:n,col:r||n}}const pl={black:"#000",silver:"#C0C0C0",gray:"#808080",white:"#FFF",maroon:"#800000",red:"#F00",purple:"#800080",fuchsia:"#F0F",green:"#008000",lime:"#0F0",olive:"#808000",yellow:"#FF0",navy:"#000080",blue:"#00F",teal:"#008080",aqua:"#0FF",transparent:"#0000"},Nn="^\\s*",Wn="\\s*$",ln="\\s*((\\.\\d+)|(\\d+(\\.\\d*)?))\\s*",an="([0-9A-Fa-f])",cn="([0-9A-Fa-f]{2})",up=new RegExp(`${Nn}rgb\\s*\\(${ln},${ln},${ln}\\)${Wn}`),fp=new RegExp(`${Nn}rgba\\s*\\(${ln},${ln},${ln},${ln}\\)${Wn}`),dp=new RegExp(`${Nn}#${an}${an}${an}${Wn}`),hp=new RegExp(`${Nn}#${cn}${cn}${cn}${Wn}`),pp=new RegExp(`${Nn}#${an}${an}${an}${an}${Wn}`),gp=new RegExp(`${Nn}#${cn}${cn}${cn}${cn}${Wn}`);function Je(e){return parseInt(e,16)}function gn(e){try{let t;if(t=hp.exec(e))return[Je(t[1]),Je(t[2]),Je(t[3]),1];if(t=up.exec(e))return[De(t[1]),De(t[5]),De(t[9]),1];if(t=fp.exec(e))return[De(t[1]),De(t[5]),De(t[9]),dr(t[13])];if(t=dp.exec(e))return[Je(t[1]+t[1]),Je(t[2]+t[2]),Je(t[3]+t[3]),1];if(t=gp.exec(e))return[Je(t[1]),Je(t[2]),Je(t[3]),dr(Je(t[4])/255)];if(t=pp.exec(e))return[Je(t[1]+t[1]),Je(t[2]+t[2]),Je(t[3]+t[3]),dr(Je(t[4]+t[4])/255)];if(e in pl)return gn(pl[e]);throw new Error(`[seemly/rgba]: Invalid color value ${e}.`)}catch(t){throw t}}function vp(e){return e>1?1:e<0?0:e}function xi(e,t,n,r){return`rgba(${De(e)}, ${De(t)}, ${De(n)}, ${vp(r)})`}function Yo(e,t,n,r,o){return De((e*t*(1-r)+n*r)/o)}function us(e,t){Array.isArray(e)||(e=gn(e)),Array.isArray(t)||(t=gn(t));const n=e[3],r=t[3],o=dr(n+r-n*r);return xi(Yo(e[0],n,t[0],r,o),Yo(e[1],n,t[1],r,o),Yo(e[2],n,t[2],r,o),o)}function Vr(e,t){const[n,r,o,i=1]=Array.isArray(e)?e:gn(e);return t.alpha?xi(n,r,o,t.alpha):xi(n,r,o,i)}function qr(e,t){const[n,r,o,i=1]=Array.isArray(e)?e:gn(e),{lightness:s=1,alpha:l=1}=t;return mp([n*s,r*s,o*s,i*l])}function dr(e){const t=Math.round(Number(e)*100)/100;return t>1?1:t<0?0:t}function De(e){const t=Math.round(Number(e));return t>255?255:t<0?0:t}function mp(e){const[t,n,r]=e;return 3 in e?`rgba(${De(t)}, ${De(n)}, ${De(r)}, ${dr(e[3])})`:`rgba(${De(t)}, ${De(n)}, ${De(r)}, 1)`}function fs(e=8){return Math.random().toString(16).slice(2,2+e)}function po(e,t=[],n){const r={};return t.forEach(o=>{r[o]=e[o]}),Object.assign(r,n)}function Uc(e,t=[],n){const r={};return Object.getOwnPropertyNames(e).forEach(i=>{t.includes(i)||(r[i]=e[i])}),Object.assign(r,n)}function Ci(e,t=!0,n=[]){return e.forEach(r=>{if(r!==null){if(typeof r!="object"){(typeof r=="string"||typeof r=="number")&&n.push(Er(String(r)));return}if(Array.isArray(r)){Ci(r,t,n);return}if(r.type===Me){if(r.children===null)return;Array.isArray(r.children)&&Ci(r.children,t,n)}else r.type!==Ge&&n.push(r)}}),n}function un(e,...t){if(Array.isArray(e))e.forEach(n=>un(n,...t));else return e(...t)}function ds(e){return Object.keys(e)}const tn=(e,...t)=>typeof e=="function"?e(...t):typeof e=="string"?Er(e):typeof e=="number"?Er(String(e)):null;function go(e,t){console.error(`[naive/${e}]: ${t}`)}function bp(e,t){throw new Error(`[naive/${e}]: ${t}`)}function yp(e,t="default",n=void 0){const r=e[t];if(!r)return go("getFirstSlotVNode",`slot[${t}] is empty`),null;const o=Ci(r(n));return o.length===1?o[0]:(go("getFirstSlotVNode",`slot[${t}] should have exactly one child`),null)}function Gx(e){return e}function kr(e){return e.some(t=>_r(t)?!(t.type===Ge||t.type===Me&&!kr(t.children)):!0)?e:null}function gl(e,t){return e&&kr(e())||t()}function Xx(e,t,n){return e&&kr(e(t))||n(t)}function yt(e,t){const n=e&&kr(e());return t(n||null)}function xp(e){return!(e&&kr(e()))}const vl=Ee({render(){var e,t;return(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e)}});function ml(e){return e.replace(/#|\(|\)|,|\s/g,"_")}function Cp(e){let t=0;for(let n=0;n{let o=Cp(r);if(o){if(o===1){e.forEach(s=>{n.push(r.replace("&",s))});return}}else{e.forEach(s=>{n.push((s&&s+" ")+r)});return}let i=[r];for(;o--;){const s=[];i.forEach(l=>{e.forEach(a=>{s.push(l.replace("&",a))})}),i=s}i.forEach(s=>n.push(s))}),n}function _p(e,t){const n=[];return t.split(Kc).forEach(r=>{e.forEach(o=>{n.push((o&&o+" ")+r)})}),n}function Ep(e){let t=[""];return e.forEach(n=>{n=n&&n.trim(),n&&(n.includes("&")?t=Sp(t,n):t=_p(t,n))}),t.join(", ").replace(wp," ")}function bl(e){if(!e)return;const t=e.parentElement;t&&t.removeChild(e)}function Io(e){return document.querySelector(`style[cssr-id="${e}"]`)}function $p(e){const t=document.createElement("style");return t.setAttribute("cssr-id",e),t}function Gr(e){return e?/^\s*@(s|m)/.test(e):!1}const Pp=/[A-Z]/g;function Vc(e){return e.replace(Pp,t=>"-"+t.toLowerCase())}function Rp(e,t=" "){return typeof e=="object"&&e!==null?` { +`+Object.entries(e).map(n=>t+` ${Vc(n[0])}: ${n[1]};`).join(` +`)+` +`+t+"}":`: ${e};`}function Tp(e,t,n){return typeof e=="function"?e({context:t.context,props:n}):e}function yl(e,t,n,r){if(!t)return"";const o=Tp(t,n,r);if(!o)return"";if(typeof o=="string")return`${e} { +${o} +}`;const i=Object.keys(o);if(i.length===0)return n.config.keepEmptyBlock?e+` { +}`:"";const s=e?[e+" {"]:[];return i.forEach(l=>{const a=o[l];if(l==="raw"){s.push(` +`+a+` +`);return}l=Vc(l),a!=null&&s.push(` ${l}${Rp(a)}`)}),e&&s.push("}"),s.join(` +`)}function wi(e,t,n){e&&e.forEach(r=>{if(Array.isArray(r))wi(r,t,n);else if(typeof r=="function"){const o=r(t);Array.isArray(o)?wi(o,t,n):o&&n(o)}else r&&n(r)})}function qc(e,t,n,r,o,i){const s=e.$;let l="";if(!s||typeof s=="string")Gr(s)?l=s:t.push(s);else if(typeof s=="function"){const u=s({context:r.context,props:o});Gr(u)?l=u:t.push(u)}else if(s.before&&s.before(r.context),!s.$||typeof s.$=="string")Gr(s.$)?l=s.$:t.push(s.$);else if(s.$){const u=s.$({context:r.context,props:o});Gr(u)?l=u:t.push(u)}const a=Ep(t),c=yl(a,e.props,r,o);l?(n.push(`${l} {`),i&&c&&i.insertRule(`${l} { +${c} +} +`)):(i&&c&&i.insertRule(c),!i&&c.length&&n.push(c)),e.children&&wi(e.children,{context:r.context,props:o},u=>{if(typeof u=="string"){const f=yl(a,{raw:u},r,o);i?i.insertRule(f):n.push(f)}else qc(u,t,n,r,o,i)}),t.pop(),l&&n.push("}"),s&&s.after&&s.after(r.context)}function Gc(e,t,n,r=!1){const o=[];return qc(e,[],o,t,n,r?e.instance.__styleSheet:void 0),r?"":o.join(` + +`)}function Pr(e){for(var t=0,n,r=0,o=e.length;o>=4;++r,o-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}typeof window<"u"&&(window.__cssrContext={});function Op(e,t,n){const{els:r}=t;if(n===void 0)r.forEach(bl),t.els=[];else{const o=Io(n);o&&r.includes(o)&&(bl(o),t.els=r.filter(i=>i!==o))}}function xl(e,t){e.push(t)}function zp(e,t,n,r,o,i,s,l,a){if(i&&!a){if(n===void 0){console.error("[css-render/mount]: `id` is required in `silent` mode.");return}const d=window.__cssrContext;d[n]||(d[n]=!0,Gc(t,e,r,i));return}let c;if(n===void 0&&(c=t.render(r),n=Pr(c)),a){a.adapter(n,c??t.render(r));return}const u=Io(n);if(u!==null&&!s)return u;const f=u??$p(n);if(c===void 0&&(c=t.render(r)),f.textContent=c,u!==null)return u;if(l){const d=document.head.querySelector(`meta[name="${l}"]`);if(d)return document.head.insertBefore(f,d),xl(t.els,f),f}return o?document.head.insertBefore(f,document.head.querySelector("style, link")):document.head.appendChild(f),xl(t.els,f),f}function Ip(e){return Gc(this,this.instance,e)}function Ap(e={}){const{id:t,ssr:n,props:r,head:o=!1,silent:i=!1,force:s=!1,anchorMetaName:l}=e;return zp(this.instance,this,t,r,o,i,s,l,n)}function kp(e={}){const{id:t}=e;Op(this.instance,this,t)}const Xr=function(e,t,n,r){return{instance:e,$:t,props:n,children:r,els:[],render:Ip,mount:Ap,unmount:kp}},Bp=function(e,t,n,r){return Array.isArray(t)?Xr(e,{$:null},null,t):Array.isArray(n)?Xr(e,t,null,n):Array.isArray(r)?Xr(e,t,n,r):Xr(e,t,n,null)};function Mp(e={}){let t=null;const n={c:(...r)=>Bp(n,...r),use:(r,...o)=>r.install(n,...o),find:Io,context:{},config:e,get __styleSheet(){if(!t){const r=document.createElement("style");return document.head.appendChild(r),t=document.styleSheets[document.styleSheets.length-1],t}return t}};return n}function Hp(e,t){if(e===void 0)return!1;if(t){const{context:{ids:n}}=t;return n.has(e)}return Io(e)!==null}function Fp(e){let t=".",n="__",r="--",o;if(e){let p=e.blockPrefix;p&&(t=p),p=e.elementPrefix,p&&(n=p),p=e.modifierPrefix,p&&(r=p)}const i={install(p){o=p.c;const w=p.context;w.bem={},w.bem.b=null,w.bem.els=null}};function s(p){let w,y;return{before(b){w=b.bem.b,y=b.bem.els,b.bem.els=null},after(b){b.bem.b=w,b.bem.els=y},$({context:b,props:S}){return p=typeof p=="string"?p:p({context:b,props:S}),b.bem.b=p,`${(S==null?void 0:S.bPrefix)||t}${b.bem.b}`}}}function l(p){let w;return{before(y){w=y.bem.els},after(y){y.bem.els=w},$({context:y,props:b}){return p=typeof p=="string"?p:p({context:y,props:b}),y.bem.els=p.split(",").map(S=>S.trim()),y.bem.els.map(S=>`${(b==null?void 0:b.bPrefix)||t}${y.bem.b}${n}${S}`).join(", ")}}}function a(p){return{$({context:w,props:y}){p=typeof p=="string"?p:p({context:w,props:y});const b=p.split(",").map(_=>_.trim());function S(_){return b.map(P=>`&${(y==null?void 0:y.bPrefix)||t}${w.bem.b}${_!==void 0?`${n}${_}`:""}${r}${P}`).join(", ")}const F=w.bem.els;return F!==null?S(F[0]):S()}}}function c(p){return{$({context:w,props:y}){p=typeof p=="string"?p:p({context:w,props:y});const b=w.bem.els;return`&:not(${(y==null?void 0:y.bPrefix)||t}${w.bem.b}${b!==null&&b.length>0?`${n}${b[0]}`:""}${r}${p})`}}}return Object.assign(i,{cB:(...p)=>o(s(p[0]),p[1],p[2]),cE:(...p)=>o(l(p[0]),p[1],p[2]),cM:(...p)=>o(a(p[0]),p[1],p[2]),cNotM:(...p)=>o(c(p[0]),p[1],p[2])}),i}function ie(e,t){return e+(t==="default"?"":t.replace(/^[a-z]/,n=>n.toUpperCase()))}ie("abc","def");const Lp="n",Rr=`.${Lp}-`,jp="__",Dp="--",Xc=Mp(),Yc=Fp({blockPrefix:Rr,elementPrefix:jp,modifierPrefix:Dp});Xc.use(Yc);const{c:D,find:Yx}=Xc,{cB:xe,cE:G,cM:de,cNotM:Si}=Yc;function Zc(e){return D(({props:{bPrefix:t}})=>`${t||Rr}modal, ${t||Rr}drawer`,[e])}function Np(e){return D(({props:{bPrefix:t}})=>`${t||Rr}popover`,[e])}function Jc(e){return D(({props:{bPrefix:t}})=>`&${t||Rr}modal`,e)}const Zx=(...e)=>D(">",[xe(...e)]),Br=typeof document<"u"&&typeof window<"u",Wp=new WeakSet;function Up(e){return!Wp.has(e)}function Kp(e){const t=se(!!e.value);if(t.value)return Ot(t);const n=ut(e,r=>{r&&(t.value=!0,n())});return Ot(t)}function _i(e){const t=V(e),n=se(t.value);return ut(t,r=>{n.value=r}),typeof e=="function"?n:{__v_isRef:!0,get value(){return n.value},set value(r){e.set(r)}}}function Qc(){return Ar()!==null}const eu=typeof window<"u";function io(e){return e.composedPath()[0]}const Vp={mousemoveoutside:new WeakMap,clickoutside:new WeakMap};function qp(e,t,n){if(e==="mousemoveoutside"){const r=o=>{t.contains(io(o))||n(o)};return{mousemove:r,touchstart:r}}else if(e==="clickoutside"){let r=!1;const o=s=>{r=!t.contains(io(s))},i=s=>{r&&(t.contains(io(s))||n(s))};return{mousedown:o,mouseup:i,touchstart:o,touchend:i}}return console.error(`[evtd/create-trap-handler]: name \`${e}\` is invalid. This could be a bug of evtd.`),{}}function tu(e,t,n){const r=Vp[e];let o=r.get(t);o===void 0&&r.set(t,o=new WeakMap);let i=o.get(n);return i===void 0&&o.set(n,i=qp(e,t,n)),i}function Gp(e,t,n,r){if(e==="mousemoveoutside"||e==="clickoutside"){const o=tu(e,t,n);return Object.keys(o).forEach(i=>{it(i,document,o[i],r)}),!0}return!1}function Xp(e,t,n,r){if(e==="mousemoveoutside"||e==="clickoutside"){const o=tu(e,t,n);return Object.keys(o).forEach(i=>{Ve(i,document,o[i],r)}),!0}return!1}function Yp(){if(typeof window>"u")return{on:()=>{},off:()=>{}};const e=new WeakMap,t=new WeakMap;function n(){e.set(this,!0)}function r(){e.set(this,!0),t.set(this,!0)}function o(m,C,A){const j=m[C];return m[C]=function(){return A.apply(m,arguments),j.apply(m,arguments)},m}function i(m,C){m[C]=Event.prototype[C]}const s=new WeakMap,l=Object.getOwnPropertyDescriptor(Event.prototype,"currentTarget");function a(){var m;return(m=s.get(this))!==null&&m!==void 0?m:null}function c(m,C){l!==void 0&&Object.defineProperty(m,"currentTarget",{configurable:!0,enumerable:!0,get:C??l.get})}const u={bubble:{},capture:{}},f={};function d(){const m=function(C){const{type:A,eventPhase:j,bubbles:W}=C,k=io(C);if(j===2)return;const Q=j===1?"capture":"bubble";let te=k;const ne=[];for(;te===null&&(te=window),ne.push(te),te!==window;)te=te.parentNode||null;const oe=u.capture[A],K=u.bubble[A];if(o(C,"stopPropagation",n),o(C,"stopImmediatePropagation",r),c(C,a),Q==="capture"){if(oe===void 0)return;for(let re=ne.length-1;re>=0&&!e.has(C);--re){const Ce=ne[re],we=oe.get(Ce);if(we!==void 0){s.set(C,Ce);for(const Se of we){if(t.has(C))break;Se(C)}}if(re===0&&!W&&K!==void 0){const Se=K.get(Ce);if(Se!==void 0)for(const Te of Se){if(t.has(C))break;Te(C)}}}}else if(Q==="bubble"){if(K===void 0)return;for(let re=0;rek(C))};return m.displayName="evtdUnifiedWindowEventHandler",m}const p=d(),w=v();function y(m,C){const A=u[m];return A[C]===void 0&&(A[C]=new Map,window.addEventListener(C,p,m==="capture")),A[C]}function b(m){return f[m]===void 0&&(f[m]=new Set,window.addEventListener(m,w)),f[m]}function S(m,C){let A=m.get(C);return A===void 0&&m.set(C,A=new Set),A}function F(m,C,A,j){const W=u[C][A];if(W!==void 0){const k=W.get(m);if(k!==void 0&&k.has(j))return!0}return!1}function _(m,C){const A=f[m];return!!(A!==void 0&&A.has(C))}function P(m,C,A,j){let W;if(typeof j=="object"&&j.once===!0?W=oe=>{z(m,C,W,j),A(oe)}:W=A,Gp(m,C,W,j))return;const Q=j===!0||typeof j=="object"&&j.capture===!0?"capture":"bubble",te=y(Q,m),ne=S(te,C);if(ne.has(W)||ne.add(W),C===window){const oe=b(m);oe.has(W)||oe.add(W)}}function z(m,C,A,j){if(Xp(m,C,A,j))return;const k=j===!0||typeof j=="object"&&j.capture===!0,Q=k?"capture":"bubble",te=y(Q,m),ne=S(te,C);if(C===window&&!F(C,k?"bubble":"capture",m,A)&&_(m,A)){const K=f[m];K.delete(A),K.size===0&&(window.removeEventListener(m,w),f[m]=void 0)}ne.has(A)&&ne.delete(A),ne.size===0&&te.delete(C),te.size===0&&(window.removeEventListener(m,p,Q==="capture"),u[Q][m]=void 0)}return{on:P,off:z}}const{on:it,off:Ve}=Yp(),ir=se(null);function Cl(e){if(e.clientX>0||e.clientY>0)ir.value={x:e.clientX,y:e.clientY};else{const{target:t}=e;if(t instanceof Element){const{left:n,top:r,width:o,height:i}=t.getBoundingClientRect();n>0||r>0?ir.value={x:n+o/2,y:r+i/2}:ir.value={x:0,y:0}}else ir.value=null}}let Yr=0,wl=!0;function nu(){if(!eu)return Ot(se(null));Yr===0&&it("click",document,Cl,!0);const e=()=>{Yr+=1};return wl&&(wl=Qc())?(bn(e),dt(()=>{Yr-=1,Yr===0&&Ve("click",document,Cl,!0)})):e(),Ot(ir)}const Zp=se(void 0);let Zr=0;function Sl(){Zp.value=Date.now()}let _l=!0;function ru(e){if(!eu)return Ot(se(!1));const t=se(!1);let n=null;function r(){n!==null&&window.clearTimeout(n)}function o(){r(),t.value=!0,n=window.setTimeout(()=>{t.value=!1},e)}Zr===0&&it("click",window,Sl,!0);const i=()=>{Zr+=1,it("click",window,o,!0)};return _l&&(_l=Qc())?(bn(i),dt(()=>{Zr-=1,Zr===0&&Ve("click",window,Sl,!0),Ve("click",window,o,!0),r()})):i(),Ot(t)}function ou(){const e=se(!1);return Yt(()=>{e.value=!0}),Ot(e)}const Jp=(typeof window>"u"?!1:/iPad|iPhone|iPod/.test(navigator.platform)||navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1)&&!window.MSStream;function Qp(){return Jp}const eg="n-modal-body",iu="n-modal",tg="n-drawer-body",ng="n-popover-body";function El(e,t,n="default"){const r=t[n];if(r===void 0)throw new Error(`[vueuc/${e}]: slot[${n}] is empty.`);return r()}function Ei(e,t=!0,n=[]){return e.forEach(r=>{if(r!==null){if(typeof r!="object"){(typeof r=="string"||typeof r=="number")&&n.push(Er(String(r)));return}if(Array.isArray(r)){Ei(r,t,n);return}if(r.type===Me){if(r.children===null)return;Array.isArray(r.children)&&Ei(r.children,t,n)}else r.type!==Ge&&n.push(r)}}),n}function Jx(e,t,n="default"){const r=t[n];if(r===void 0)throw new Error(`[vueuc/${e}]: slot[${n}] is empty.`);const o=Ei(r());if(o.length===1)return o[0];throw new Error(`[vueuc/${e}]: slot[${n}] should have exactly one child.`)}const _n="@@coContext",rg={mounted(e,{value:t,modifiers:n}){e[_n]={handler:void 0},typeof t=="function"&&(e[_n].handler=t,it("clickoutside",e,t,{capture:n.capture}))},updated(e,{value:t,modifiers:n}){const r=e[_n];typeof t=="function"?r.handler?r.handler!==t&&(Ve("clickoutside",e,r.handler,{capture:n.capture}),r.handler=t,it("clickoutside",e,t,{capture:n.capture})):(e[_n].handler=t,it("clickoutside",e,t,{capture:n.capture})):r.handler&&(Ve("clickoutside",e,r.handler,{capture:n.capture}),r.handler=void 0)},unmounted(e,{modifiers:t}){const{handler:n}=e[_n];n&&Ve("clickoutside",e,n,{capture:t.capture}),e[_n].handler=void 0}},og=rg;function ig(e,t){console.error(`[vdirs/${e}]: ${t}`)}class sg{constructor(){this.elementZIndex=new Map,this.nextZIndex=2e3}get elementCount(){return this.elementZIndex.size}ensureZIndex(t,n){const{elementZIndex:r}=this;if(n!==void 0){t.style.zIndex=`${n}`,r.delete(t);return}const{nextZIndex:o}=this;r.has(t)&&r.get(t)+1===this.nextZIndex||(t.style.zIndex=`${o}`,r.set(t,o),this.nextZIndex=o+1,this.squashState())}unregister(t,n){const{elementZIndex:r}=this;r.has(t)?r.delete(t):n===void 0&&ig("z-index-manager/unregister-element","Element not found when unregistering."),this.squashState()}squashState(){const{elementCount:t}=this;t||(this.nextZIndex=2e3),this.nextZIndex-t>2500&&this.rearrange()}rearrange(){const t=Array.from(this.elementZIndex.entries());t.sort((n,r)=>n[1]-r[1]),this.nextZIndex=2e3,t.forEach(n=>{const r=n[0],o=this.nextZIndex++;`${o}`!==r.style.zIndex&&(r.style.zIndex=`${o}`)})}}const Zo=new sg,En="@@ziContext",lg={mounted(e,t){const{value:n={}}=t,{zIndex:r,enabled:o}=n;e[En]={enabled:!!o,initialized:!1},o&&(Zo.ensureZIndex(e,r),e[En].initialized=!0)},updated(e,t){const{value:n={}}=t,{zIndex:r,enabled:o}=n,i=e[En].enabled;o&&!i&&(Zo.ensureZIndex(e,r),e[En].initialized=!0),e[En].enabled=!!o},unmounted(e,t){if(!e[En].initialized)return;const{value:n={}}=t,{zIndex:r}=n;Zo.unregister(e,r)}},ag=lg,su=Symbol("@css-render/vue3-ssr");function cg(e,t){return``}function ug(e,t){const n=ze(su,null);if(n===null){console.error("[css-render/vue3-ssr]: no ssr context found.");return}const{styles:r,ids:o}=n;o.has(e)||r!==null&&(o.add(e),r.push(cg(e,t)))}const fg=typeof document<"u";function Ao(){if(fg)return;const e=ze(su,null);if(e!==null)return{adapter:ug,context:e}}function $l(e,t){console.error(`[vueuc/${e}]: ${t}`)}function Pl(e){return typeof e=="string"?document.querySelector(e):e()}const dg=Ee({name:"LazyTeleport",props:{to:{type:[String,Object],default:void 0},disabled:Boolean,show:{type:Boolean,required:!0}},setup(e){return{showTeleport:Kp(zt(e,"show")),mergedTo:V(()=>{const{to:t}=e;return t??"body"})}},render(){return this.showTeleport?this.disabled?El("lazy-teleport",this.$slots):E(Ec,{disabled:this.disabled,to:this.mergedTo},El("lazy-teleport",this.$slots)):null}});var hn=[],hg=function(){return hn.some(function(e){return e.activeTargets.length>0})},pg=function(){return hn.some(function(e){return e.skippedTargets.length>0})},Rl="ResizeObserver loop completed with undelivered notifications.",gg=function(){var e;typeof ErrorEvent=="function"?e=new ErrorEvent("error",{message:Rl}):(e=document.createEvent("Event"),e.initEvent("error",!1,!1),e.message=Rl),window.dispatchEvent(e)},Tr;(function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(Tr||(Tr={}));var pn=function(e){return Object.freeze(e)},vg=function(){function e(t,n){this.inlineSize=t,this.blockSize=n,pn(this)}return e}(),lu=function(){function e(t,n,r,o){return this.x=t,this.y=n,this.width=r,this.height=o,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,pn(this)}return e.prototype.toJSON=function(){var t=this,n=t.x,r=t.y,o=t.top,i=t.right,s=t.bottom,l=t.left,a=t.width,c=t.height;return{x:n,y:r,top:o,right:i,bottom:s,left:l,width:a,height:c}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),hs=function(e){return e instanceof SVGElement&&"getBBox"in e},au=function(e){if(hs(e)){var t=e.getBBox(),n=t.width,r=t.height;return!n&&!r}var o=e,i=o.offsetWidth,s=o.offsetHeight;return!(i||s||e.getClientRects().length)},Tl=function(e){var t;if(e instanceof Element)return!0;var n=(t=e==null?void 0:e.ownerDocument)===null||t===void 0?void 0:t.defaultView;return!!(n&&e instanceof n.Element)},mg=function(e){switch(e.tagName){case"INPUT":if(e.type!=="image")break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},hr=typeof window<"u"?window:{},Jr=new WeakMap,Ol=/auto|scroll/,bg=/^tb|vertical/,yg=/msie|trident/i.test(hr.navigator&&hr.navigator.userAgent),vt=function(e){return parseFloat(e||"0")},zn=function(e,t,n){return e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=!1),new vg((n?t:e)||0,(n?e:t)||0)},zl=pn({devicePixelContentBoxSize:zn(),borderBoxSize:zn(),contentBoxSize:zn(),contentRect:new lu(0,0,0,0)}),cu=function(e,t){if(t===void 0&&(t=!1),Jr.has(e)&&!t)return Jr.get(e);if(au(e))return Jr.set(e,zl),zl;var n=getComputedStyle(e),r=hs(e)&&e.ownerSVGElement&&e.getBBox(),o=!yg&&n.boxSizing==="border-box",i=bg.test(n.writingMode||""),s=!r&&Ol.test(n.overflowY||""),l=!r&&Ol.test(n.overflowX||""),a=r?0:vt(n.paddingTop),c=r?0:vt(n.paddingRight),u=r?0:vt(n.paddingBottom),f=r?0:vt(n.paddingLeft),d=r?0:vt(n.borderTopWidth),v=r?0:vt(n.borderRightWidth),p=r?0:vt(n.borderBottomWidth),w=r?0:vt(n.borderLeftWidth),y=f+c,b=a+u,S=w+v,F=d+p,_=l?e.offsetHeight-F-e.clientHeight:0,P=s?e.offsetWidth-S-e.clientWidth:0,z=o?y+S:0,m=o?b+F:0,C=r?r.width:vt(n.width)-z-P,A=r?r.height:vt(n.height)-m-_,j=C+y+P+S,W=A+b+_+F,k=pn({devicePixelContentBoxSize:zn(Math.round(C*devicePixelRatio),Math.round(A*devicePixelRatio),i),borderBoxSize:zn(j,W,i),contentBoxSize:zn(C,A,i),contentRect:new lu(f,a,C,A)});return Jr.set(e,k),k},uu=function(e,t,n){var r=cu(e,n),o=r.borderBoxSize,i=r.contentBoxSize,s=r.devicePixelContentBoxSize;switch(t){case Tr.DEVICE_PIXEL_CONTENT_BOX:return s;case Tr.BORDER_BOX:return o;default:return i}},xg=function(){function e(t){var n=cu(t);this.target=t,this.contentRect=n.contentRect,this.borderBoxSize=pn([n.borderBoxSize]),this.contentBoxSize=pn([n.contentBoxSize]),this.devicePixelContentBoxSize=pn([n.devicePixelContentBoxSize])}return e}(),fu=function(e){if(au(e))return 1/0;for(var t=0,n=e.parentNode;n;)t+=1,n=n.parentNode;return t},Cg=function(){var e=1/0,t=[];hn.forEach(function(s){if(s.activeTargets.length!==0){var l=[];s.activeTargets.forEach(function(c){var u=new xg(c.target),f=fu(c.target);l.push(u),c.lastReportedSize=uu(c.target,c.observedBox),fe?n.activeTargets.push(o):n.skippedTargets.push(o))})})},wg=function(){var e=0;for(Il(e);hg();)e=Cg(),Il(e);return pg()&&gg(),e>0},Jo,du=[],Sg=function(){return du.splice(0).forEach(function(e){return e()})},_g=function(e){if(!Jo){var t=0,n=document.createTextNode(""),r={characterData:!0};new MutationObserver(function(){return Sg()}).observe(n,r),Jo=function(){n.textContent="".concat(t?t--:t++)}}du.push(e),Jo()},Eg=function(e){_g(function(){requestAnimationFrame(e)})},so=0,$g=function(){return!!so},Pg=250,Rg={attributes:!0,characterData:!0,childList:!0,subtree:!0},Al=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],kl=function(e){return e===void 0&&(e=0),Date.now()+e},Qo=!1,Tg=function(){function e(){var t=this;this.stopped=!0,this.listener=function(){return t.schedule()}}return e.prototype.run=function(t){var n=this;if(t===void 0&&(t=Pg),!Qo){Qo=!0;var r=kl(t);Eg(function(){var o=!1;try{o=wg()}finally{if(Qo=!1,t=r-kl(),!$g())return;o?n.run(1e3):t>0?n.run(t):n.start()}})}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var t=this,n=function(){return t.observer&&t.observer.observe(document.body,Rg)};document.body?n():hr.addEventListener("DOMContentLoaded",n)},e.prototype.start=function(){var t=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),Al.forEach(function(n){return hr.addEventListener(n,t.listener,!0)}))},e.prototype.stop=function(){var t=this;this.stopped||(this.observer&&this.observer.disconnect(),Al.forEach(function(n){return hr.removeEventListener(n,t.listener,!0)}),this.stopped=!0)},e}(),$i=new Tg,Bl=function(e){!so&&e>0&&$i.start(),so+=e,!so&&$i.stop()},Og=function(e){return!hs(e)&&!mg(e)&&getComputedStyle(e).display==="inline"},zg=function(){function e(t,n){this.target=t,this.observedBox=n||Tr.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var t=uu(this.target,this.observedBox,!0);return Og(this.target)&&(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),Ig=function(){function e(t,n){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=t,this.callback=n}return e}(),Qr=new WeakMap,Ml=function(e,t){for(var n=0;n=0&&(i&&hn.splice(hn.indexOf(r),1),r.observationTargets.splice(o,1),Bl(-1))},e.disconnect=function(t){var n=this,r=Qr.get(t);r.observationTargets.slice().forEach(function(o){return n.unobserve(t,o.target)}),r.activeTargets.splice(0,r.activeTargets.length)},e}(),Ag=function(){function e(t){if(arguments.length===0)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if(typeof t!="function")throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");eo.connect(this,t)}return e.prototype.observe=function(t,n){if(arguments.length===0)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!Tl(t))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");eo.observe(this,t,n)},e.prototype.unobserve=function(t){if(arguments.length===0)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!Tl(t))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");eo.unobserve(this,t)},e.prototype.disconnect=function(){eo.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();class kg{constructor(){this.handleResize=this.handleResize.bind(this),this.observer=new(typeof window<"u"&&window.ResizeObserver||Ag)(this.handleResize),this.elHandlersMap=new Map}handleResize(t){for(const n of t){const r=this.elHandlersMap.get(n.target);r!==void 0&&r(n)}}registerHandler(t,n){this.elHandlersMap.set(t,n),this.observer.observe(t)}unregisterHandler(t){this.elHandlersMap.has(t)&&(this.elHandlersMap.delete(t),this.observer.unobserve(t))}}const Hl=new kg,Fl=Ee({name:"ResizeObserver",props:{onResize:Function},setup(e){let t=!1;const n=Ar().proxy;function r(o){const{onResize:i}=e;i!==void 0&&i(o)}Yt(()=>{const o=n.$el;if(o===void 0){$l("resize-observer","$el does not exist.");return}if(o.nextElementSibling!==o.nextSibling&&o.nodeType===3&&o.nodeValue!==""){$l("resize-observer","$el can not be observed (it may be a text node).");return}o.nextElementSibling!==null&&(Hl.registerHandler(o.nextElementSibling,r),t=!0)}),dt(()=>{t&&Hl.unregisterHandler(n.$el.nextElementSibling)})},render(){return jd(this.$slots,"default")}});function hu(e){return e instanceof HTMLElement}function pu(e){for(let t=0;t=0;t--){const n=e.childNodes[t];if(hu(n)&&(vu(n)||gu(n)))return!0}return!1}function vu(e){if(!Bg(e))return!1;try{e.focus({preventScroll:!0})}catch{}return document.activeElement===e}function Bg(e){if(e.tabIndex>0||e.tabIndex===0&&e.getAttribute("tabIndex")!==null)return!0;if(e.getAttribute("disabled"))return!1;switch(e.nodeName){case"A":return!!e.href&&e.rel!=="ignore";case"INPUT":return e.type!=="hidden"&&e.type!=="file";case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}}let Qn=[];const Mg=Ee({name:"FocusTrap",props:{disabled:Boolean,active:Boolean,autoFocus:{type:Boolean,default:!0},onEsc:Function,initialFocusTo:String,finalFocusTo:String,returnFocusOnDeactivated:{type:Boolean,default:!0}},setup(e){const t=fs(),n=se(null),r=se(null);let o=!1,i=!1;const s=typeof document>"u"?null:document.activeElement;function l(){return Qn[Qn.length-1]===t}function a(y){var b;y.code==="Escape"&&l()&&((b=e.onEsc)===null||b===void 0||b.call(e,y))}Yt(()=>{ut(()=>e.active,y=>{y?(f(),it("keydown",document,a)):(Ve("keydown",document,a),o&&d())},{immediate:!0})}),dt(()=>{Ve("keydown",document,a),o&&d()});function c(y){if(!i&&l()){const b=u();if(b===null||b.contains(cs(y)))return;v("first")}}function u(){const y=n.value;if(y===null)return null;let b=y;for(;b=b.nextSibling,!(b===null||b instanceof Element&&b.tagName==="DIV"););return b}function f(){var y;if(!e.disabled){if(Qn.push(t),e.autoFocus){const{initialFocusTo:b}=e;b===void 0?v("first"):(y=Pl(b))===null||y===void 0||y.focus({preventScroll:!0})}o=!0,document.addEventListener("focus",c,!0)}}function d(){var y;if(e.disabled||(document.removeEventListener("focus",c,!0),Qn=Qn.filter(S=>S!==t),l()))return;const{finalFocusTo:b}=e;b!==void 0?(y=Pl(b))===null||y===void 0||y.focus({preventScroll:!0}):e.returnFocusOnDeactivated&&s instanceof HTMLElement&&(i=!0,s.focus({preventScroll:!0}),i=!1)}function v(y){if(l()&&e.active){const b=n.value,S=r.value;if(b!==null&&S!==null){const F=u();if(F==null||F===S){i=!0,b.focus({preventScroll:!0}),i=!1;return}i=!0;const _=y==="first"?pu(F):gu(F);i=!1,_||(i=!0,b.focus({preventScroll:!0}),i=!1)}}}function p(y){if(i)return;const b=u();b!==null&&(y.relatedTarget!==null&&b.contains(y.relatedTarget)?v("last"):v("first"))}function w(y){i||(y.relatedTarget!==null&&y.relatedTarget===n.value?v("last"):v("first"))}return{focusableStartRef:n,focusableEndRef:r,focusableStyle:"position: absolute; height: 0; width: 0;",handleStartFocus:p,handleEndFocus:w}},render(){const{default:e}=this.$slots;if(e===void 0)return null;if(this.disabled)return e();const{active:t,focusableStyle:n}=this;return E(Me,null,[E("div",{"aria-hidden":"true",tabindex:t?"0":"-1",ref:"focusableStartRef",style:n,onFocus:this.handleStartFocus}),e(),E("div",{"aria-hidden":"true",style:n,ref:"focusableEndRef",tabindex:t?"0":"-1",onFocus:this.handleEndFocus})])}});let $n=0,Ll="",jl="",Dl="",Nl="";const Wl=se("0px");function Hg(e){if(typeof document>"u")return;const t=document.documentElement;let n,r=!1;const o=()=>{t.style.marginRight=Ll,t.style.overflow=jl,t.style.overflowX=Dl,t.style.overflowY=Nl,Wl.value="0px"};Yt(()=>{n=ut(e,i=>{if(i){if(!$n){const s=window.innerWidth-t.offsetWidth;s>0&&(Ll=t.style.marginRight,t.style.marginRight=`${s}px`,Wl.value=`${s}px`),jl=t.style.overflow,Dl=t.style.overflowX,Nl=t.style.overflowY,t.style.overflow="hidden",t.style.overflowX="hidden",t.style.overflowY="hidden"}r=!0,$n++}else $n--,$n||o(),r=!1},{immediate:!0})}),dt(()=>{n==null||n(),r&&($n--,$n||o(),r=!1)})}const ps=se(!1),Ul=()=>{ps.value=!0},Kl=()=>{ps.value=!1};let er=0;const Fg=()=>(Br&&(bn(()=>{er||(window.addEventListener("compositionstart",Ul),window.addEventListener("compositionend",Kl)),er++}),dt(()=>{er<=1?(window.removeEventListener("compositionstart",Ul),window.removeEventListener("compositionend",Kl),er=0):er--})),ps);function Lg(e){const t={isDeactivated:!1};let n=!1;return dc(()=>{if(t.isDeactivated=!1,!n){n=!0;return}e()}),hc(()=>{t.isDeactivated=!0,n||(n=!0)}),t}const Vl="n-form-item";function jg(e,{defaultSize:t="medium",mergedSize:n,mergedDisabled:r}={}){const o=ze(Vl,null);qe(Vl,null);const i=V(n?()=>n(o):()=>{const{size:a}=e;if(a)return a;if(o){const{mergedSize:c}=o;if(c.value!==void 0)return c.value}return t}),s=V(r?()=>r(o):()=>{const{disabled:a}=e;return a!==void 0?a:o?o.disabled.value:!1}),l=V(()=>{const{status:a}=e;return a||(o==null?void 0:o.mergedValidationStatus.value)});return dt(()=>{o&&o.restoreValidation()}),{mergedSizeRef:i,mergedDisabledRef:s,mergedStatusRef:l,nTriggerFormBlur(){o&&o.handleContentBlur()},nTriggerFormChange(){o&&o.handleContentChange()},nTriggerFormFocus(){o&&o.handleContentFocus()},nTriggerFormInput(){o&&o.handleContentInput()}}}var Dg=typeof global=="object"&&global&&global.Object===Object&&global;const mu=Dg;var Ng=typeof self=="object"&&self&&self.Object===Object&&self,Wg=mu||Ng||Function("return this")();const Un=Wg;var Ug=Un.Symbol;const Mn=Ug;var bu=Object.prototype,Kg=bu.hasOwnProperty,Vg=bu.toString,tr=Mn?Mn.toStringTag:void 0;function qg(e){var t=Kg.call(e,tr),n=e[tr];try{e[tr]=void 0;var r=!0}catch{}var o=Vg.call(e);return r&&(t?e[tr]=n:delete e[tr]),o}var Gg=Object.prototype,Xg=Gg.toString;function Yg(e){return Xg.call(e)}var Zg="[object Null]",Jg="[object Undefined]",ql=Mn?Mn.toStringTag:void 0;function Mr(e){return e==null?e===void 0?Jg:Zg:ql&&ql in Object(e)?qg(e):Yg(e)}function Kn(e){return e!=null&&typeof e=="object"}var Qg="[object Symbol]";function ev(e){return typeof e=="symbol"||Kn(e)&&Mr(e)==Qg}function tv(e,t){for(var n=-1,r=e==null?0:e.length,o=Array(r);++n0){if(++t>=$v)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function Ov(e){return function(){return e}}var zv=function(){try{var e=vs(Object,"defineProperty");return e({},"",{}),e}catch{}}();const mo=zv;var Iv=mo?function(e,t){return mo(e,"toString",{configurable:!0,enumerable:!1,value:Ov(t),writable:!0})}:xu;const Av=Iv;var kv=Tv(Av);const Bv=kv;var Mv=9007199254740991,Hv=/^(?:0|[1-9]\d*)$/;function Cu(e,t){var n=typeof e;return t=t??Mv,!!t&&(n=="number"||n!="symbol"&&Hv.test(e))&&e>-1&&e%1==0&&e-1&&e%1==0&&e<=Uv}function bs(e){return e!=null&&wu(e.length)&&!gs(e)}function Kv(e,t,n){if(!yn(n))return!1;var r=typeof t;return(r=="number"?bs(n)&&Cu(t,n.length):r=="string"&&t in n)?ko(n[t],e):!1}function Vv(e){return Wv(function(t,n){var r=-1,o=n.length,i=o>1?n[o-1]:void 0,s=o>2?n[2]:void 0;for(i=e.length>3&&typeof i=="function"?(o--,i):void 0,s&&Kv(n[0],n[1],s)&&(i=o<3?void 0:i,o=1),t=Object(t);++r-1}function ob(e,t){var n=this.__data__,r=Bo(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function kt(e){var t=-1,n=e==null?0:e.length;for(this.clear();++to?0:o+t),n=n>o?o:n,n<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(o);++r=r?e:xb(e,t,n)}var wb="\\ud800-\\udfff",Sb="\\u0300-\\u036f",_b="\\ufe20-\\ufe2f",Eb="\\u20d0-\\u20ff",$b=Sb+_b+Eb,Pb="\\ufe0e\\ufe0f",Rb="\\u200d",Tb=RegExp("["+Rb+wb+$b+Pb+"]");function Au(e){return Tb.test(e)}function Ob(e){return e.split("")}var ku="\\ud800-\\udfff",zb="\\u0300-\\u036f",Ib="\\ufe20-\\ufe2f",Ab="\\u20d0-\\u20ff",kb=zb+Ib+Ab,Bb="\\ufe0e\\ufe0f",Mb="["+ku+"]",Ri="["+kb+"]",Ti="\\ud83c[\\udffb-\\udfff]",Hb="(?:"+Ri+"|"+Ti+")",Bu="[^"+ku+"]",Mu="(?:\\ud83c[\\udde6-\\uddff]){2}",Hu="[\\ud800-\\udbff][\\udc00-\\udfff]",Fb="\\u200d",Fu=Hb+"?",Lu="["+Bb+"]?",Lb="(?:"+Fb+"(?:"+[Bu,Mu,Hu].join("|")+")"+Lu+Fu+")*",jb=Lu+Fu+Lb,Db="(?:"+[Bu+Ri+"?",Ri,Mu,Hu,Mb].join("|")+")",Nb=RegExp(Ti+"(?="+Ti+")|"+Db+jb,"g");function Wb(e){return e.match(Nb)||[]}function Ub(e){return Au(e)?Wb(e):Ob(e)}function Kb(e){return function(t){t=db(t);var n=Au(t)?Ub(t):void 0,r=n?n[0]:t.charAt(0),o=n?Cb(n,1).join(""):t.slice(1);return r[e]()+o}}var Vb=Kb("toUpperCase");const qb=Vb;function Gb(){this.__data__=new kt,this.size=0}function Xb(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function Yb(e){return this.__data__.get(e)}function Zb(e){return this.__data__.has(e)}var Jb=200;function Qb(e,t){var n=this.__data__;if(n instanceof kt){var r=n.__data__;if(!Ou||r.length{const u=i==null?void 0:i.value;n.mount({id:u===void 0?t:u+t,head:!0,props:{bPrefix:u?`.${u}-`:void 0},anchorMetaName:zr,ssr:s}),l!=null&&l.preflightStyleDisabled||Nu.mount({id:"n-global",head:!0,anchorMetaName:zr,ssr:s})};s?c():bn(c)}return V(()=>{var c;const{theme:{common:u,self:f,peers:d={}}={},themeOverrides:v={},builtinThemeOverrides:p={}}=o,{common:w,peers:y}=v,{common:b=void 0,[e]:{common:S=void 0,self:F=void 0,peers:_={}}={}}=(l==null?void 0:l.mergedThemeRef.value)||{},{common:P=void 0,[e]:z={}}=(l==null?void 0:l.mergedThemeOverridesRef.value)||{},{common:m,peers:C={}}=z,A=sr({},u||S||b||r.common,P,m,w),j=sr((c=f||F||r.self)===null||c===void 0?void 0:c(A),p,z,v);return{common:A,self:j,peers:sr({},r.peers,_,d),peerOverrides:sr({},p.peers,C,y)}})}nt.props={theme:Object,themeOverrides:Object,builtinThemeOverrides:Object};const Wu="n";function Cn(e={},t={defaultBordered:!0}){const n=ze(mn,null);return{inlineThemeDisabled:n==null?void 0:n.inlineThemeDisabled,mergedRtlRef:n==null?void 0:n.mergedRtlRef,mergedComponentPropsRef:n==null?void 0:n.mergedComponentPropsRef,mergedBreakpointsRef:n==null?void 0:n.mergedBreakpointsRef,mergedBorderedRef:V(()=>{var r,o;const{bordered:i}=e;return i!==void 0?i:(o=(r=n==null?void 0:n.mergedBorderedRef.value)!==null&&r!==void 0?r:t.defaultBordered)!==null&&o!==void 0?o:!0}),mergedClsPrefixRef:V(()=>(n==null?void 0:n.mergedClsPrefixRef.value)||Wu),namespaceRef:V(()=>n==null?void 0:n.mergedNamespaceRef.value)}}function Ho(e,t,n){if(!t)return;const r=Ao(),o=ze(mn,null),i=()=>{const s=n==null?void 0:n.value;t.mount({id:s===void 0?e:s+e,head:!0,anchorMetaName:zr,props:{bPrefix:s?`.${s}-`:void 0},ssr:r}),o!=null&&o.preflightStyleDisabled||Nu.mount({id:"n-global",head:!0,anchorMetaName:zr,ssr:r})};r?i():bn(i)}function Gn(e,t,n,r){var o;n||bp("useThemeClass","cssVarsRef is not passed");const i=(o=ze(mn,null))===null||o===void 0?void 0:o.mergedThemeHashRef,s=se(""),l=Ao();let a;const c=`__${e}`,u=()=>{let f=c;const d=t?t.value:void 0,v=i==null?void 0:i.value;v&&(f+="-"+v),d&&(f+="-"+d);const{themeOverrides:p,builtinThemeOverrides:w}=r;p&&(f+="-"+Pr(JSON.stringify(p))),w&&(f+="-"+Pr(JSON.stringify(w))),s.value=f,a=()=>{const y=n.value;let b="";for(const S in y)b+=`${S}: ${y[S]};`;D(`.${f}`,b).mount({id:f,ssr:l}),a=void 0}};return Ji(()=>{u()}),{themeClass:s,onRender:()=>{a==null||a()}}}function Fo(e,t,n){if(!t)return;const r=Ao(),o=V(()=>{const{value:s}=t;if(!s)return;const l=s[e];if(l)return l}),i=()=>{Ji(()=>{const{value:s}=n,l=`${s}${e}Rtl`;if(Hp(l,r))return;const{value:a}=o;a&&a.style.mount({id:l,head:!0,anchorMetaName:zr,props:{bPrefix:s?`.${s}-`:void 0},ssr:r})})};return r?i():bn(i),o}function Hr(e,t){return Ee({name:qb(e),setup(){var n;const r=(n=ze(mn,null))===null||n===void 0?void 0:n.mergedIconsRef;return()=>{var o;const i=(o=r==null?void 0:r.value)===null||o===void 0?void 0:o[e];return i?i():t}}})}const v0=Hr("close",E("svg",{viewBox:"0 0 12 12",version:"1.1",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0},E("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},E("g",{fill:"currentColor","fill-rule":"nonzero"},E("path",{d:"M2.08859116,2.2156945 L2.14644661,2.14644661 C2.32001296,1.97288026 2.58943736,1.95359511 2.7843055,2.08859116 L2.85355339,2.14644661 L6,5.293 L9.14644661,2.14644661 C9.34170876,1.95118446 9.65829124,1.95118446 9.85355339,2.14644661 C10.0488155,2.34170876 10.0488155,2.65829124 9.85355339,2.85355339 L6.707,6 L9.85355339,9.14644661 C10.0271197,9.32001296 10.0464049,9.58943736 9.91140884,9.7843055 L9.85355339,9.85355339 C9.67998704,10.0271197 9.41056264,10.0464049 9.2156945,9.91140884 L9.14644661,9.85355339 L6,6.707 L2.85355339,9.85355339 C2.65829124,10.0488155 2.34170876,10.0488155 2.14644661,9.85355339 C1.95118446,9.65829124 1.95118446,9.34170876 2.14644661,9.14644661 L5.293,6 L2.14644661,2.85355339 C1.97288026,2.67998704 1.95359511,2.41056264 2.08859116,2.2156945 L2.14644661,2.14644661 L2.08859116,2.2156945 Z"}))))),Uu=Hr("error",E("svg",{viewBox:"0 0 48 48",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},E("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},E("g",{"fill-rule":"nonzero"},E("path",{d:"M24,4 C35.045695,4 44,12.954305 44,24 C44,35.045695 35.045695,44 24,44 C12.954305,44 4,35.045695 4,24 C4,12.954305 12.954305,4 24,4 Z M17.8838835,16.1161165 L17.7823881,16.0249942 C17.3266086,15.6583353 16.6733914,15.6583353 16.2176119,16.0249942 L16.1161165,16.1161165 L16.0249942,16.2176119 C15.6583353,16.6733914 15.6583353,17.3266086 16.0249942,17.7823881 L16.1161165,17.8838835 L22.233,24 L16.1161165,30.1161165 L16.0249942,30.2176119 C15.6583353,30.6733914 15.6583353,31.3266086 16.0249942,31.7823881 L16.1161165,31.8838835 L16.2176119,31.9750058 C16.6733914,32.3416647 17.3266086,32.3416647 17.7823881,31.9750058 L17.8838835,31.8838835 L24,25.767 L30.1161165,31.8838835 L30.2176119,31.9750058 C30.6733914,32.3416647 31.3266086,32.3416647 31.7823881,31.9750058 L31.8838835,31.8838835 L31.9750058,31.7823881 C32.3416647,31.3266086 32.3416647,30.6733914 31.9750058,30.2176119 L31.8838835,30.1161165 L25.767,24 L31.8838835,17.8838835 L31.9750058,17.7823881 C32.3416647,17.3266086 32.3416647,16.6733914 31.9750058,16.2176119 L31.8838835,16.1161165 L31.7823881,16.0249942 C31.3266086,15.6583353 30.6733914,15.6583353 30.2176119,16.0249942 L30.1161165,16.1161165 L24,22.233 L17.8838835,16.1161165 L17.7823881,16.0249942 L17.8838835,16.1161165 Z"}))))),Ii=Hr("info",E("svg",{viewBox:"0 0 28 28",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},E("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},E("g",{"fill-rule":"nonzero"},E("path",{d:"M14,2 C20.6274,2 26,7.37258 26,14 C26,20.6274 20.6274,26 14,26 C7.37258,26 2,20.6274 2,14 C2,7.37258 7.37258,2 14,2 Z M14,11 C13.4477,11 13,11.4477 13,12 L13,12 L13,20 C13,20.5523 13.4477,21 14,21 C14.5523,21 15,20.5523 15,20 L15,20 L15,12 C15,11.4477 14.5523,11 14,11 Z M14,6.75 C13.3096,6.75 12.75,7.30964 12.75,8 C12.75,8.69036 13.3096,9.25 14,9.25 C14.6904,9.25 15.25,8.69036 15.25,8 C15.25,7.30964 14.6904,6.75 14,6.75 Z"}))))),Ku=Hr("success",E("svg",{viewBox:"0 0 48 48",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},E("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},E("g",{"fill-rule":"nonzero"},E("path",{d:"M24,4 C35.045695,4 44,12.954305 44,24 C44,35.045695 35.045695,44 24,44 C12.954305,44 4,35.045695 4,24 C4,12.954305 12.954305,4 24,4 Z M32.6338835,17.6161165 C32.1782718,17.1605048 31.4584514,17.1301307 30.9676119,17.5249942 L30.8661165,17.6161165 L20.75,27.732233 L17.1338835,24.1161165 C16.6457281,23.6279612 15.8542719,23.6279612 15.3661165,24.1161165 C14.9105048,24.5717282 14.8801307,25.2915486 15.2749942,25.7823881 L15.3661165,25.8838835 L19.8661165,30.3838835 C20.3217282,30.8394952 21.0415486,30.8698693 21.5323881,30.4750058 L21.6338835,30.3838835 L32.6338835,19.3838835 C33.1220388,18.8957281 33.1220388,18.1042719 32.6338835,17.6161165 Z"}))))),Vu=Hr("warning",E("svg",{viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},E("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},E("g",{"fill-rule":"nonzero"},E("path",{d:"M12,2 C17.523,2 22,6.478 22,12 C22,17.522 17.523,22 12,22 C6.477,22 2,17.522 2,12 C2,6.478 6.477,2 12,2 Z M12.0018002,15.0037242 C11.450254,15.0037242 11.0031376,15.4508407 11.0031376,16.0023869 C11.0031376,16.553933 11.450254,17.0010495 12.0018002,17.0010495 C12.5533463,17.0010495 13.0004628,16.553933 13.0004628,16.0023869 C13.0004628,15.4508407 12.5533463,15.0037242 12.0018002,15.0037242 Z M11.99964,7 C11.4868042,7.00018474 11.0642719,7.38637706 11.0066858,7.8837365 L11,8.00036004 L11.0018003,13.0012393 L11.00857,13.117858 C11.0665141,13.6151758 11.4893244,14.0010638 12.0021602,14.0008793 C12.514996,14.0006946 12.9375283,13.6145023 12.9951144,13.1171428 L13.0018002,13.0005193 L13,7.99964009 L12.9932303,7.8830214 C12.9352861,7.38570354 12.5124758,6.99981552 11.99964,7 Z"}))))),ys=Ee({name:"BaseIconSwitchTransition",setup(e,{slots:t}){const n=ou();return()=>E(Gt,{name:"icon-switch-transition",appear:n.value},t)}}),qu=Ee({name:"FadeInExpandTransition",props:{appear:Boolean,group:Boolean,mode:String,onLeave:Function,onAfterLeave:Function,onAfterEnter:Function,width:Boolean,reverse:Boolean},setup(e,{slots:t}){function n(l){e.width?l.style.maxWidth=`${l.offsetWidth}px`:l.style.maxHeight=`${l.offsetHeight}px`,l.offsetWidth}function r(l){e.width?l.style.maxWidth="0":l.style.maxHeight="0",l.offsetWidth;const{onLeave:a}=e;a&&a()}function o(l){e.width?l.style.maxWidth="":l.style.maxHeight="";const{onAfterLeave:a}=e;a&&a()}function i(l){if(l.style.transition="none",e.width){const a=l.offsetWidth;l.style.maxWidth="0",l.offsetWidth,l.style.transition="",l.style.maxWidth=`${a}px`}else if(e.reverse)l.style.maxHeight=`${l.offsetHeight}px`,l.offsetHeight,l.style.transition="",l.style.maxHeight="0";else{const a=l.offsetHeight;l.style.maxHeight="0",l.offsetWidth,l.style.transition="",l.style.maxHeight=`${a}px`}l.offsetWidth}function s(l){var a;e.width?l.style.maxWidth="":e.reverse||(l.style.maxHeight=""),(a=e.onAfterEnter)===null||a===void 0||a.call(e)}return()=>{const l=e.group?Dh:Gt;return E(l,{name:e.width?"fade-in-width-expand-transition":"fade-in-height-expand-transition",mode:e.mode,appear:e.appear,onEnter:i,onAfterEnter:s,onBeforeLeave:n,onLeave:r,onAfterLeave:o},t)}}}),m0=xe("base-icon",` + height: 1em; + width: 1em; + line-height: 1em; + text-align: center; + display: inline-block; + position: relative; + fill: currentColor; + transform: translateZ(0); +`,[D("svg",` + height: 1em; + width: 1em; + `)]),xs=Ee({name:"BaseIcon",props:{role:String,ariaLabel:String,ariaDisabled:{type:Boolean,default:void 0},ariaHidden:{type:Boolean,default:void 0},clsPrefix:{type:String,required:!0},onClick:Function,onMousedown:Function,onMouseup:Function},setup(e){Ho("-base-icon",m0,zt(e,"clsPrefix"))},render(){return E("i",{class:`${this.clsPrefix}-base-icon`,onClick:this.onClick,onMousedown:this.onMousedown,onMouseup:this.onMouseup,role:this.role,"aria-label":this.ariaLabel,"aria-hidden":this.ariaHidden,"aria-disabled":this.ariaDisabled},this.$slots)}}),b0=xe("base-close",` + display: flex; + align-items: center; + justify-content: center; + cursor: pointer; + background-color: transparent; + color: var(--n-close-icon-color); + border-radius: var(--n-close-border-radius); + height: var(--n-close-size); + width: var(--n-close-size); + font-size: var(--n-close-icon-size); + outline: none; + border: none; + position: relative; + padding: 0; +`,[de("absolute",` + height: var(--n-close-icon-size); + width: var(--n-close-icon-size); + `),D("&::before",` + content: ""; + position: absolute; + width: var(--n-close-size); + height: var(--n-close-size); + left: 50%; + top: 50%; + transform: translateY(-50%) translateX(-50%); + transition: inherit; + border-radius: inherit; + `),Si("disabled",[D("&:hover",` + color: var(--n-close-icon-color-hover); + `),D("&:hover::before",` + background-color: var(--n-close-color-hover); + `),D("&:focus::before",` + background-color: var(--n-close-color-hover); + `),D("&:active",` + color: var(--n-close-icon-color-pressed); + `),D("&:active::before",` + background-color: var(--n-close-color-pressed); + `)]),de("disabled",` + cursor: not-allowed; + color: var(--n-close-icon-color-disabled); + background-color: transparent; + `),de("round",[D("&::before",` + border-radius: 50%; + `)])]),Cs=Ee({name:"BaseClose",props:{isButtonTag:{type:Boolean,default:!0},clsPrefix:{type:String,required:!0},disabled:{type:Boolean,default:void 0},focusable:{type:Boolean,default:!0},round:Boolean,onClick:Function,absolute:Boolean},setup(e){return Ho("-base-close",b0,zt(e,"clsPrefix")),()=>{const{clsPrefix:t,disabled:n,absolute:r,round:o,isButtonTag:i}=e;return E(i?"button":"div",{type:i?"button":void 0,tabindex:n||!e.focusable?-1:0,"aria-disabled":n,"aria-label":"close",role:i?void 0:"button",disabled:n,class:[`${t}-base-close`,r&&`${t}-base-close--absolute`,n&&`${t}-base-close--disabled`,o&&`${t}-base-close--round`],onMousedown:l=>{e.focusable||l.preventDefault()},onClick:e.onClick},E(xs,{clsPrefix:t},{default:()=>E(v0,null)}))}}}),{cubicBezierEaseInOut:y0}=xn;function bo({originalTransform:e="",left:t=0,top:n=0,transition:r=`all .3s ${y0} !important`}={}){return[D("&.icon-switch-transition-enter-from, &.icon-switch-transition-leave-to",{transform:e+" scale(0.75)",left:t,top:n,opacity:0}),D("&.icon-switch-transition-enter-to, &.icon-switch-transition-leave-from",{transform:`scale(1) ${e}`,left:t,top:n,opacity:1}),D("&.icon-switch-transition-enter-active, &.icon-switch-transition-leave-active",{transformOrigin:"center",position:"absolute",left:t,top:n,transition:r})]}const x0=D([D("@keyframes loading-container-rotate",` + to { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); + } + `),D("@keyframes loading-layer-rotate",` + 12.5% { + -webkit-transform: rotate(135deg); + transform: rotate(135deg); + } + 25% { + -webkit-transform: rotate(270deg); + transform: rotate(270deg); + } + 37.5% { + -webkit-transform: rotate(405deg); + transform: rotate(405deg); + } + 50% { + -webkit-transform: rotate(540deg); + transform: rotate(540deg); + } + 62.5% { + -webkit-transform: rotate(675deg); + transform: rotate(675deg); + } + 75% { + -webkit-transform: rotate(810deg); + transform: rotate(810deg); + } + 87.5% { + -webkit-transform: rotate(945deg); + transform: rotate(945deg); + } + 100% { + -webkit-transform: rotate(1080deg); + transform: rotate(1080deg); + } + `),D("@keyframes loading-left-spin",` + from { + -webkit-transform: rotate(265deg); + transform: rotate(265deg); + } + 50% { + -webkit-transform: rotate(130deg); + transform: rotate(130deg); + } + to { + -webkit-transform: rotate(265deg); + transform: rotate(265deg); + } + `),D("@keyframes loading-right-spin",` + from { + -webkit-transform: rotate(-265deg); + transform: rotate(-265deg); + } + 50% { + -webkit-transform: rotate(-130deg); + transform: rotate(-130deg); + } + to { + -webkit-transform: rotate(-265deg); + transform: rotate(-265deg); + } + `),xe("base-loading",` + position: relative; + line-height: 0; + width: 1em; + height: 1em; + `,[G("transition-wrapper",` + position: absolute; + width: 100%; + height: 100%; + `,[bo()]),G("container",` + display: inline-flex; + position: relative; + direction: ltr; + line-height: 0; + animation: loading-container-rotate 1568.2352941176ms linear infinite; + font-size: 0; + letter-spacing: 0; + white-space: nowrap; + opacity: 1; + width: 100%; + height: 100%; + `,[G("svg",` + stroke: var(--n-text-color); + fill: transparent; + position: absolute; + height: 100%; + overflow: hidden; + `),G("container-layer",` + position: absolute; + width: 100%; + height: 100%; + animation: loading-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both; + `,[G("container-layer-left",` + display: inline-flex; + position: relative; + width: 50%; + height: 100%; + overflow: hidden; + `,[G("svg",` + animation: loading-left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both; + width: 200%; + `)]),G("container-layer-patch",` + position: absolute; + top: 0; + left: 47.5%; + box-sizing: border-box; + width: 5%; + height: 100%; + overflow: hidden; + `,[G("svg",` + left: -900%; + width: 2000%; + transform: rotate(180deg); + `)]),G("container-layer-right",` + display: inline-flex; + position: relative; + width: 50%; + height: 100%; + overflow: hidden; + `,[G("svg",` + animation: loading-right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both; + left: -100%; + width: 200%; + `)])])]),G("placeholder",` + position: absolute; + left: 50%; + top: 50%; + transform: translateX(-50%) translateY(-50%); + `,[bo({left:"50%",top:"50%",originalTransform:"translateX(-50%) translateY(-50%)"})])])]),C0={strokeWidth:{type:Number,default:28},stroke:{type:String,default:void 0}},Gu=Ee({name:"BaseLoading",props:Object.assign({clsPrefix:{type:String,required:!0},show:{type:Boolean,default:!0},scale:{type:Number,default:1},radius:{type:Number,default:100}},C0),setup(e){Ho("-base-loading",x0,zt(e,"clsPrefix"))},render(){const{clsPrefix:e,radius:t,strokeWidth:n,stroke:r,scale:o}=this,i=t/o;return E("div",{class:`${e}-base-loading`,role:"img","aria-label":"loading"},E(ys,null,{default:()=>this.show?E("div",{key:"icon",class:`${e}-base-loading__transition-wrapper`},E("div",{class:`${e}-base-loading__container`},E("div",{class:`${e}-base-loading__container-layer`},E("div",{class:`${e}-base-loading__container-layer-left`},E("svg",{class:`${e}-base-loading__svg`,viewBox:`0 0 ${2*i} ${2*i}`,xmlns:"http://www.w3.org/2000/svg",style:{color:r}},E("circle",{fill:"none",stroke:"currentColor","stroke-width":n,"stroke-linecap":"round",cx:i,cy:i,r:t-n/2,"stroke-dasharray":4.91*t,"stroke-dashoffset":2.46*t}))),E("div",{class:`${e}-base-loading__container-layer-patch`},E("svg",{class:`${e}-base-loading__svg`,viewBox:`0 0 ${2*i} ${2*i}`,xmlns:"http://www.w3.org/2000/svg",style:{color:r}},E("circle",{fill:"none",stroke:"currentColor","stroke-width":n,"stroke-linecap":"round",cx:i,cy:i,r:t-n/2,"stroke-dasharray":4.91*t,"stroke-dashoffset":2.46*t}))),E("div",{class:`${e}-base-loading__container-layer-right`},E("svg",{class:`${e}-base-loading__svg`,viewBox:`0 0 ${2*i} ${2*i}`,xmlns:"http://www.w3.org/2000/svg",style:{color:r}},E("circle",{fill:"none",stroke:"currentColor","stroke-width":n,"stroke-linecap":"round",cx:i,cy:i,r:t-n/2,"stroke-dasharray":4.91*t,"stroke-dashoffset":2.46*t})))))):E("div",{key:"placeholder",class:`${e}-base-loading__placeholder`},this.$slots)}))}}),ee={neutralBase:"#FFF",neutralInvertBase:"#000",neutralTextBase:"#000",neutralPopover:"#fff",neutralCard:"#fff",neutralModal:"#fff",neutralBody:"#fff",alpha1:"0.82",alpha2:"0.72",alpha3:"0.38",alpha4:"0.24",alpha5:"0.18",alphaClose:"0.6",alphaDisabled:"0.5",alphaDisabledInput:"0.02",alphaPending:"0.05",alphaTablePending:"0.02",alphaPressed:"0.07",alphaAvatar:"0.2",alphaRail:"0.14",alphaProgressRail:".08",alphaBorder:"0.12",alphaDivider:"0.06",alphaInput:"0",alphaAction:"0.02",alphaTab:"0.04",alphaScrollbar:"0.25",alphaScrollbarHover:"0.4",alphaCode:"0.05",alphaTag:"0.02",primaryHover:"#36ad6a",primaryDefault:"#18a058",primaryActive:"#0c7a43",primarySuppl:"#36ad6a",infoHover:"#4098fc",infoDefault:"#2080f0",infoActive:"#1060c9",infoSuppl:"#4098fc",errorHover:"#de576d",errorDefault:"#d03050",errorActive:"#ab1f3f",errorSuppl:"#de576d",warningHover:"#fcb040",warningDefault:"#f0a020",warningActive:"#c97c10",warningSuppl:"#fcb040",successHover:"#36ad6a",successDefault:"#18a058",successActive:"#0c7a43",successSuppl:"#36ad6a"},w0=gn(ee.neutralBase),Xu=gn(ee.neutralInvertBase),S0="rgba("+Xu.slice(0,3).join(", ")+", ";function aa(e){return S0+String(e)+")"}function je(e){const t=Array.from(Xu);return t[3]=Number(e),us(w0,t)}const _0=Object.assign(Object.assign({name:"common"},xn),{baseColor:ee.neutralBase,primaryColor:ee.primaryDefault,primaryColorHover:ee.primaryHover,primaryColorPressed:ee.primaryActive,primaryColorSuppl:ee.primarySuppl,infoColor:ee.infoDefault,infoColorHover:ee.infoHover,infoColorPressed:ee.infoActive,infoColorSuppl:ee.infoSuppl,successColor:ee.successDefault,successColorHover:ee.successHover,successColorPressed:ee.successActive,successColorSuppl:ee.successSuppl,warningColor:ee.warningDefault,warningColorHover:ee.warningHover,warningColorPressed:ee.warningActive,warningColorSuppl:ee.warningSuppl,errorColor:ee.errorDefault,errorColorHover:ee.errorHover,errorColorPressed:ee.errorActive,errorColorSuppl:ee.errorSuppl,textColorBase:ee.neutralTextBase,textColor1:"rgb(31, 34, 37)",textColor2:"rgb(51, 54, 57)",textColor3:"rgb(118, 124, 130)",textColorDisabled:je(ee.alpha4),placeholderColor:je(ee.alpha4),placeholderColorDisabled:je(ee.alpha5),iconColor:je(ee.alpha4),iconColorHover:qr(je(ee.alpha4),{lightness:.75}),iconColorPressed:qr(je(ee.alpha4),{lightness:.9}),iconColorDisabled:je(ee.alpha5),opacity1:ee.alpha1,opacity2:ee.alpha2,opacity3:ee.alpha3,opacity4:ee.alpha4,opacity5:ee.alpha5,dividerColor:"rgb(239, 239, 245)",borderColor:"rgb(224, 224, 230)",closeIconColor:je(Number(ee.alphaClose)),closeIconColorHover:je(Number(ee.alphaClose)),closeIconColorPressed:je(Number(ee.alphaClose)),closeColorHover:"rgba(0, 0, 0, .09)",closeColorPressed:"rgba(0, 0, 0, .13)",clearColor:je(ee.alpha4),clearColorHover:qr(je(ee.alpha4),{lightness:.75}),clearColorPressed:qr(je(ee.alpha4),{lightness:.9}),scrollbarColor:aa(ee.alphaScrollbar),scrollbarColorHover:aa(ee.alphaScrollbarHover),scrollbarWidth:"5px",scrollbarHeight:"5px",scrollbarBorderRadius:"5px",progressRailColor:je(ee.alphaProgressRail),railColor:"rgb(219, 219, 223)",popoverColor:ee.neutralPopover,tableColor:ee.neutralCard,cardColor:ee.neutralCard,modalColor:ee.neutralModal,bodyColor:ee.neutralBody,tagColor:"#eee",avatarColor:je(ee.alphaAvatar),invertedColor:"rgb(0, 20, 40)",inputColor:je(ee.alphaInput),codeColor:"rgb(244, 244, 248)",tabColor:"rgb(247, 247, 250)",actionColor:"rgb(250, 250, 252)",tableHeaderColor:"rgb(250, 250, 252)",hoverColor:"rgb(243, 243, 245)",tableColorHover:"rgba(0, 0, 100, 0.03)",tableColorStriped:"rgba(0, 0, 100, 0.02)",pressedColor:"rgb(237, 237, 239)",opacityDisabled:ee.alphaDisabled,inputColorDisabled:"rgb(250, 250, 252)",buttonColor2:"rgba(46, 51, 56, .05)",buttonColor2Hover:"rgba(46, 51, 56, .09)",buttonColor2Pressed:"rgba(46, 51, 56, .13)",boxShadow1:"0 1px 2px -2px rgba(0, 0, 0, .08), 0 3px 6px 0 rgba(0, 0, 0, .06), 0 5px 12px 4px rgba(0, 0, 0, .04)",boxShadow2:"0 3px 6px -4px rgba(0, 0, 0, .12), 0 6px 16px 0 rgba(0, 0, 0, .08), 0 9px 28px 8px rgba(0, 0, 0, .05)",boxShadow3:"0 6px 16px -9px rgba(0, 0, 0, .08), 0 9px 28px 0 rgba(0, 0, 0, .05), 0 12px 48px 16px rgba(0, 0, 0, .03)"}),Xn=_0,E0=e=>{const{scrollbarColor:t,scrollbarColorHover:n}=e;return{color:t,colorHover:n}},$0={name:"Scrollbar",common:Xn,self:E0},Yu=$0,{cubicBezierEaseInOut:ca}=xn;function Zu({name:e="fade-in",enterDuration:t="0.2s",leaveDuration:n="0.2s",enterCubicBezier:r=ca,leaveCubicBezier:o=ca}={}){return[D(`&.${e}-transition-enter-active`,{transition:`all ${t} ${r}!important`}),D(`&.${e}-transition-leave-active`,{transition:`all ${n} ${o}!important`}),D(`&.${e}-transition-enter-from, &.${e}-transition-leave-to`,{opacity:0}),D(`&.${e}-transition-leave-from, &.${e}-transition-enter-to`,{opacity:1})]}const P0=xe("scrollbar",` + overflow: hidden; + position: relative; + z-index: auto; + height: 100%; + width: 100%; +`,[D(">",[xe("scrollbar-container",` + width: 100%; + overflow: scroll; + height: 100%; + max-height: inherit; + scrollbar-width: none; + `,[D("&::-webkit-scrollbar, &::-webkit-scrollbar-track-piece, &::-webkit-scrollbar-thumb",` + width: 0; + height: 0; + display: none; + `),D(">",[xe("scrollbar-content",` + box-sizing: border-box; + min-width: 100%; + `)])])]),D(">, +",[xe("scrollbar-rail",` + position: absolute; + pointer-events: none; + user-select: none; + -webkit-user-select: none; + `,[de("horizontal",` + left: 2px; + right: 2px; + bottom: 4px; + height: var(--n-scrollbar-height); + `,[D(">",[G("scrollbar",` + height: var(--n-scrollbar-height); + border-radius: var(--n-scrollbar-border-radius); + right: 0; + `)])]),de("vertical",` + right: 4px; + top: 2px; + bottom: 2px; + width: var(--n-scrollbar-width); + `,[D(">",[G("scrollbar",` + width: var(--n-scrollbar-width); + border-radius: var(--n-scrollbar-border-radius); + bottom: 0; + `)])]),de("disabled",[D(">",[G("scrollbar",{pointerEvents:"none"})])]),D(">",[G("scrollbar",` + position: absolute; + cursor: pointer; + pointer-events: all; + background-color: var(--n-scrollbar-color); + transition: background-color .2s var(--n-scrollbar-bezier); + `,[Zu(),D("&:hover",{backgroundColor:"var(--n-scrollbar-color-hover)"})])])])])]),R0=Object.assign(Object.assign({},nt.props),{size:{type:Number,default:5},duration:{type:Number,default:0},scrollable:{type:Boolean,default:!0},xScrollable:Boolean,trigger:{type:String,default:"hover"},useUnifiedContainer:Boolean,triggerDisplayManually:Boolean,container:Function,content:Function,containerClass:String,containerStyle:[String,Object],contentClass:String,contentStyle:[String,Object],horizontalRailStyle:[String,Object],verticalRailStyle:[String,Object],onScroll:Function,onWheel:Function,onResize:Function,internalOnUpdateScrollLeft:Function,internalHoistYRail:Boolean}),Ju=Ee({name:"Scrollbar",props:R0,inheritAttrs:!1,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n,mergedRtlRef:r}=Cn(e),o=Fo("Scrollbar",r,t),i=se(null),s=se(null),l=se(null),a=se(null),c=se(null),u=se(null),f=se(null),d=se(null),v=se(null),p=se(null),w=se(null),y=se(0),b=se(0),S=se(!1),F=se(!1);let _=!1,P=!1,z,m,C=0,A=0,j=0,W=0;const k=Qp(),Q=V(()=>{const{value:H}=d,{value:J}=u,{value:ce}=p;return H===null||J===null||ce===null?0:Math.min(H,ce*H/J+e.size*1.5)}),te=V(()=>`${Q.value}px`),ne=V(()=>{const{value:H}=v,{value:J}=f,{value:ce}=w;return H===null||J===null||ce===null?0:ce*H/J+e.size*1.5}),oe=V(()=>`${ne.value}px`),K=V(()=>{const{value:H}=d,{value:J}=y,{value:ce}=u,{value:$e}=p;if(H===null||ce===null||$e===null)return 0;{const He=ce-H;return He?J/He*($e-Q.value):0}}),re=V(()=>`${K.value}px`),Ce=V(()=>{const{value:H}=v,{value:J}=b,{value:ce}=f,{value:$e}=w;if(H===null||ce===null||$e===null)return 0;{const He=ce-H;return He?J/He*($e-ne.value):0}}),we=V(()=>`${Ce.value}px`),Se=V(()=>{const{value:H}=d,{value:J}=u;return H!==null&&J!==null&&J>H}),Te=V(()=>{const{value:H}=v,{value:J}=f;return H!==null&&J!==null&&J>H}),rt=V(()=>{const{trigger:H}=e;return H==="none"||S.value}),ht=V(()=>{const{trigger:H}=e;return H==="none"||F.value}),Xe=V(()=>{const{container:H}=e;return H?H():s.value}),fe=V(()=>{const{content:H}=e;return H?H():l.value}),R=Lg(()=>{e.container||X({top:y.value,left:b.value})}),U=()=>{R.isDeactivated||Y()},I=H=>{if(R.isDeactivated)return;const{onResize:J}=e;J&&J(H),Y()},X=(H,J)=>{if(!e.scrollable)return;if(typeof H=="number"){h(J??0,H,0,!1,"auto");return}const{left:ce,top:$e,index:He,elSize:Ze,position:St,behavior:Ae,el:_t,debounce:Yn=!0}=H;(ce!==void 0||$e!==void 0)&&h(ce??0,$e??0,0,!1,Ae),_t!==void 0?h(0,_t.offsetTop,_t.offsetHeight,Yn,Ae):He!==void 0&&Ze!==void 0?h(0,He*Ze,Ze,Yn,Ae):St==="bottom"?h(0,Number.MAX_SAFE_INTEGER,0,!1,Ae):St==="top"&&h(0,0,0,!1,Ae)},pe=(H,J)=>{if(!e.scrollable)return;const{value:ce}=Xe;ce&&(typeof H=="object"?ce.scrollBy(H):ce.scrollBy(H,J||0))};function h(H,J,ce,$e,He){const{value:Ze}=Xe;if(Ze){if($e){const{scrollTop:St,offsetHeight:Ae}=Ze;if(J>St){J+ce<=St+Ae||Ze.scrollTo({left:H,top:J+ce-Ae,behavior:He});return}}Ze.scrollTo({left:H,top:J,behavior:He})}}function g(){N(),L(),Y()}function x(){$()}function $(){O(),B()}function O(){m!==void 0&&window.clearTimeout(m),m=window.setTimeout(()=>{F.value=!1},e.duration)}function B(){z!==void 0&&window.clearTimeout(z),z=window.setTimeout(()=>{S.value=!1},e.duration)}function N(){z!==void 0&&window.clearTimeout(z),S.value=!0}function L(){m!==void 0&&window.clearTimeout(m),F.value=!0}function M(H){const{onScroll:J}=e;J&&J(H),T()}function T(){const{value:H}=Xe;H&&(y.value=H.scrollTop,b.value=H.scrollLeft*(o!=null&&o.value?-1:1))}function Z(){const{value:H}=fe;H&&(u.value=H.offsetHeight,f.value=H.offsetWidth);const{value:J}=Xe;J&&(d.value=J.offsetHeight,v.value=J.offsetWidth);const{value:ce}=c,{value:$e}=a;ce&&(w.value=ce.offsetWidth),$e&&(p.value=$e.offsetHeight)}function q(){const{value:H}=Xe;H&&(y.value=H.scrollTop,b.value=H.scrollLeft*(o!=null&&o.value?-1:1),d.value=H.offsetHeight,v.value=H.offsetWidth,u.value=H.scrollHeight,f.value=H.scrollWidth);const{value:J}=c,{value:ce}=a;J&&(w.value=J.offsetWidth),ce&&(p.value=ce.offsetHeight)}function Y(){e.scrollable&&(e.useUnifiedContainer?q():(Z(),T()))}function ae(H){var J;return!(!((J=i.value)===null||J===void 0)&&J.contains(cs(H)))}function he(H){H.preventDefault(),H.stopPropagation(),P=!0,it("mousemove",window,be,!0),it("mouseup",window,me,!0),A=b.value,j=o!=null&&o.value?window.innerWidth-H.clientX:H.clientX}function be(H){if(!P)return;z!==void 0&&window.clearTimeout(z),m!==void 0&&window.clearTimeout(m);const{value:J}=v,{value:ce}=f,{value:$e}=ne;if(J===null||ce===null)return;const Ze=(o!=null&&o.value?window.innerWidth-H.clientX-j:H.clientX-j)*(ce-J)/(J-$e),St=ce-J;let Ae=A+Ze;Ae=Math.min(St,Ae),Ae=Math.max(Ae,0);const{value:_t}=Xe;if(_t){_t.scrollLeft=Ae*(o!=null&&o.value?-1:1);const{internalOnUpdateScrollLeft:Yn}=e;Yn&&Yn(Ae)}}function me(H){H.preventDefault(),H.stopPropagation(),Ve("mousemove",window,be,!0),Ve("mouseup",window,me,!0),P=!1,Y(),ae(H)&&$()}function Ie(H){H.preventDefault(),H.stopPropagation(),_=!0,it("mousemove",window,Ue,!0),it("mouseup",window,pt,!0),C=y.value,W=H.clientY}function Ue(H){if(!_)return;z!==void 0&&window.clearTimeout(z),m!==void 0&&window.clearTimeout(m);const{value:J}=d,{value:ce}=u,{value:$e}=Q;if(J===null||ce===null)return;const Ze=(H.clientY-W)*(ce-J)/(J-$e),St=ce-J;let Ae=C+Ze;Ae=Math.min(St,Ae),Ae=Math.max(Ae,0);const{value:_t}=Xe;_t&&(_t.scrollTop=Ae)}function pt(H){H.preventDefault(),H.stopPropagation(),Ve("mousemove",window,Ue,!0),Ve("mouseup",window,pt,!0),_=!1,Y(),ae(H)&&$()}Ji(()=>{const{value:H}=Te,{value:J}=Se,{value:ce}=t,{value:$e}=c,{value:He}=a;$e&&(H?$e.classList.remove(`${ce}-scrollbar-rail--disabled`):$e.classList.add(`${ce}-scrollbar-rail--disabled`)),He&&(J?He.classList.remove(`${ce}-scrollbar-rail--disabled`):He.classList.add(`${ce}-scrollbar-rail--disabled`))}),Yt(()=>{e.container||Y()}),dt(()=>{z!==void 0&&window.clearTimeout(z),m!==void 0&&window.clearTimeout(m),Ve("mousemove",window,Ue,!0),Ve("mouseup",window,pt,!0)});const Fr=nt("Scrollbar","-scrollbar",P0,Yu,e,t),Bt=V(()=>{const{common:{cubicBezierEaseInOut:H,scrollbarBorderRadius:J,scrollbarHeight:ce,scrollbarWidth:$e},self:{color:He,colorHover:Ze}}=Fr.value;return{"--n-scrollbar-bezier":H,"--n-scrollbar-color":He,"--n-scrollbar-color-hover":Ze,"--n-scrollbar-border-radius":J,"--n-scrollbar-width":$e,"--n-scrollbar-height":ce}}),wt=n?Gn("scrollbar",void 0,Bt,e):void 0;return Object.assign(Object.assign({},{scrollTo:X,scrollBy:pe,sync:Y,syncUnifiedContainer:q,handleMouseEnterWrapper:g,handleMouseLeaveWrapper:x}),{mergedClsPrefix:t,rtlEnabled:o,containerScrollTop:y,wrapperRef:i,containerRef:s,contentRef:l,yRailRef:a,xRailRef:c,needYBar:Se,needXBar:Te,yBarSizePx:te,xBarSizePx:oe,yBarTopPx:re,xBarLeftPx:we,isShowXBar:rt,isShowYBar:ht,isIos:k,handleScroll:M,handleContentResize:U,handleContainerResize:I,handleYScrollMouseDown:Ie,handleXScrollMouseDown:he,cssVars:n?void 0:Bt,themeClass:wt==null?void 0:wt.themeClass,onRender:wt==null?void 0:wt.onRender})},render(){var e;const{$slots:t,mergedClsPrefix:n,triggerDisplayManually:r,rtlEnabled:o,internalHoistYRail:i}=this;if(!this.scrollable)return(e=t.default)===null||e===void 0?void 0:e.call(t);const s=this.trigger==="none",l=()=>E("div",{ref:"yRailRef",class:[`${n}-scrollbar-rail`,`${n}-scrollbar-rail--vertical`],"data-scrollbar-rail":!0,style:this.verticalRailStyle,"aria-hidden":!0},E(s?vl:Gt,s?null:{name:"fade-in-transition"},{default:()=>this.needYBar&&this.isShowYBar&&!this.isIos?E("div",{class:`${n}-scrollbar-rail__scrollbar`,style:{height:this.yBarSizePx,top:this.yBarTopPx},onMousedown:this.handleYScrollMouseDown}):null})),a=()=>{var u,f;return(u=this.onRender)===null||u===void 0||u.call(this),E("div",ls(this.$attrs,{role:"none",ref:"wrapperRef",class:[`${n}-scrollbar`,this.themeClass,o&&`${n}-scrollbar--rtl`],style:this.cssVars,onMouseenter:r?void 0:this.handleMouseEnterWrapper,onMouseleave:r?void 0:this.handleMouseLeaveWrapper}),[this.container?(f=t.default)===null||f===void 0?void 0:f.call(t):E("div",{role:"none",ref:"containerRef",class:[`${n}-scrollbar-container`,this.containerClass],style:this.containerStyle,onScroll:this.handleScroll,onWheel:this.onWheel},E(Fl,{onResize:this.handleContentResize},{default:()=>E("div",{ref:"contentRef",role:"none",style:[{width:this.xScrollable?"fit-content":null},this.contentStyle],class:[`${n}-scrollbar-content`,this.contentClass]},t)})),i?null:l(),this.xScrollable&&E("div",{ref:"xRailRef",class:[`${n}-scrollbar-rail`,`${n}-scrollbar-rail--horizontal`],style:this.horizontalRailStyle,"data-scrollbar-rail":!0,"aria-hidden":!0},E(s?vl:Gt,s?null:{name:"fade-in-transition"},{default:()=>this.needXBar&&this.isShowXBar&&!this.isIos?E("div",{class:`${n}-scrollbar-rail__scrollbar`,style:{width:this.xBarSizePx,right:o?this.xBarLeftPx:void 0,left:o?void 0:this.xBarLeftPx},onMousedown:this.handleXScrollMouseDown}):null}))])},c=this.container?a():E(Fl,{onResize:this.handleContainerResize},{default:a});return i?E(Me,null,c,l()):c}}),T0=Ju,e1=Ju,{cubicBezierEaseIn:ua,cubicBezierEaseOut:fa}=xn;function O0({transformOrigin:e="inherit",duration:t=".2s",enterScale:n=".9",originalTransform:r="",originalTransition:o=""}={}){return[D("&.fade-in-scale-up-transition-leave-active",{transformOrigin:e,transition:`opacity ${t} ${ua}, transform ${t} ${ua} ${o&&","+o}`}),D("&.fade-in-scale-up-transition-enter-active",{transformOrigin:e,transition:`opacity ${t} ${fa}, transform ${t} ${fa} ${o&&","+o}`}),D("&.fade-in-scale-up-transition-enter-from, &.fade-in-scale-up-transition-leave-to",{opacity:0,transform:`${r} scale(${n})`}),D("&.fade-in-scale-up-transition-leave-from, &.fade-in-scale-up-transition-enter-to",{opacity:1,transform:`${r} scale(1)`})]}const z0=xe("base-wave",` + position: absolute; + left: 0; + right: 0; + top: 0; + bottom: 0; + border-radius: inherit; +`),I0=Ee({name:"BaseWave",props:{clsPrefix:{type:String,required:!0}},setup(e){Ho("-base-wave",z0,zt(e,"clsPrefix"));const t=se(null),n=se(!1);let r=null;return dt(()=>{r!==null&&window.clearTimeout(r)}),{active:n,selfRef:t,play(){r!==null&&(window.clearTimeout(r),n.value=!1,r=null),kn(()=>{var o;(o=t.value)===null||o===void 0||o.offsetHeight,n.value=!0,r=window.setTimeout(()=>{n.value=!1,r=null},1e3)})}}},render(){const{clsPrefix:e}=this;return E("div",{ref:"selfRef","aria-hidden":!0,class:[`${e}-base-wave`,this.active&&`${e}-base-wave--active`]})}}),{cubicBezierEaseInOut:Ft}=xn;function A0({duration:e=".2s",delay:t=".1s"}={}){return[D("&.fade-in-width-expand-transition-leave-from, &.fade-in-width-expand-transition-enter-to",{opacity:1}),D("&.fade-in-width-expand-transition-leave-to, &.fade-in-width-expand-transition-enter-from",` + opacity: 0!important; + margin-left: 0!important; + margin-right: 0!important; + `),D("&.fade-in-width-expand-transition-leave-active",` + overflow: hidden; + transition: + opacity ${e} ${Ft}, + max-width ${e} ${Ft} ${t}, + margin-left ${e} ${Ft} ${t}, + margin-right ${e} ${Ft} ${t}; + `),D("&.fade-in-width-expand-transition-enter-active",` + overflow: hidden; + transition: + opacity ${e} ${Ft} ${t}, + max-width ${e} ${Ft}, + margin-left ${e} ${Ft}, + margin-right ${e} ${Ft}; + `)]}const{cubicBezierEaseInOut:mt,cubicBezierEaseOut:k0,cubicBezierEaseIn:B0}=xn;function M0({overflow:e="hidden",duration:t=".3s",originalTransition:n="",leavingDelay:r="0s",foldPadding:o=!1,enterToProps:i=void 0,leaveToProps:s=void 0,reverse:l=!1}={}){const a=l?"leave":"enter",c=l?"enter":"leave";return[D(`&.fade-in-height-expand-transition-${c}-from, + &.fade-in-height-expand-transition-${a}-to`,Object.assign(Object.assign({},i),{opacity:1})),D(`&.fade-in-height-expand-transition-${c}-to, + &.fade-in-height-expand-transition-${a}-from`,Object.assign(Object.assign({},s),{opacity:0,marginTop:"0 !important",marginBottom:"0 !important",paddingTop:o?"0 !important":void 0,paddingBottom:o?"0 !important":void 0})),D(`&.fade-in-height-expand-transition-${c}-active`,` + overflow: ${e}; + transition: + max-height ${t} ${mt} ${r}, + opacity ${t} ${k0} ${r}, + margin-top ${t} ${mt} ${r}, + margin-bottom ${t} ${mt} ${r}, + padding-top ${t} ${mt} ${r}, + padding-bottom ${t} ${mt} ${r} + ${n?","+n:""} + `),D(`&.fade-in-height-expand-transition-${a}-active`,` + overflow: ${e}; + transition: + max-height ${t} ${mt}, + opacity ${t} ${B0}, + margin-top ${t} ${mt}, + margin-bottom ${t} ${mt}, + padding-top ${t} ${mt}, + padding-bottom ${t} ${mt} + ${n?","+n:""} + `)]}const H0=Br&&"chrome"in window;Br&&navigator.userAgent.includes("Firefox");const F0=Br&&navigator.userAgent.includes("Safari")&&!H0;function en(e){return us(e,[255,255,255,.16])}function to(e){return us(e,[0,0,0,.12])}const L0="n-button-group",j0={paddingTiny:"0 6px",paddingSmall:"0 10px",paddingMedium:"0 14px",paddingLarge:"0 18px",paddingRoundTiny:"0 10px",paddingRoundSmall:"0 14px",paddingRoundMedium:"0 18px",paddingRoundLarge:"0 22px",iconMarginTiny:"6px",iconMarginSmall:"6px",iconMarginMedium:"6px",iconMarginLarge:"6px",iconSizeTiny:"14px",iconSizeSmall:"18px",iconSizeMedium:"18px",iconSizeLarge:"20px",rippleDuration:".6s"},D0=e=>{const{heightTiny:t,heightSmall:n,heightMedium:r,heightLarge:o,borderRadius:i,fontSizeTiny:s,fontSizeSmall:l,fontSizeMedium:a,fontSizeLarge:c,opacityDisabled:u,textColor2:f,textColor3:d,primaryColorHover:v,primaryColorPressed:p,borderColor:w,primaryColor:y,baseColor:b,infoColor:S,infoColorHover:F,infoColorPressed:_,successColor:P,successColorHover:z,successColorPressed:m,warningColor:C,warningColorHover:A,warningColorPressed:j,errorColor:W,errorColorHover:k,errorColorPressed:Q,fontWeight:te,buttonColor2:ne,buttonColor2Hover:oe,buttonColor2Pressed:K,fontWeightStrong:re}=e;return Object.assign(Object.assign({},j0),{heightTiny:t,heightSmall:n,heightMedium:r,heightLarge:o,borderRadiusTiny:i,borderRadiusSmall:i,borderRadiusMedium:i,borderRadiusLarge:i,fontSizeTiny:s,fontSizeSmall:l,fontSizeMedium:a,fontSizeLarge:c,opacityDisabled:u,colorOpacitySecondary:"0.16",colorOpacitySecondaryHover:"0.22",colorOpacitySecondaryPressed:"0.28",colorSecondary:ne,colorSecondaryHover:oe,colorSecondaryPressed:K,colorTertiary:ne,colorTertiaryHover:oe,colorTertiaryPressed:K,colorQuaternary:"#0000",colorQuaternaryHover:oe,colorQuaternaryPressed:K,color:"#0000",colorHover:"#0000",colorPressed:"#0000",colorFocus:"#0000",colorDisabled:"#0000",textColor:f,textColorTertiary:d,textColorHover:v,textColorPressed:p,textColorFocus:v,textColorDisabled:f,textColorText:f,textColorTextHover:v,textColorTextPressed:p,textColorTextFocus:v,textColorTextDisabled:f,textColorGhost:f,textColorGhostHover:v,textColorGhostPressed:p,textColorGhostFocus:v,textColorGhostDisabled:f,border:`1px solid ${w}`,borderHover:`1px solid ${v}`,borderPressed:`1px solid ${p}`,borderFocus:`1px solid ${v}`,borderDisabled:`1px solid ${w}`,rippleColor:y,colorPrimary:y,colorHoverPrimary:v,colorPressedPrimary:p,colorFocusPrimary:v,colorDisabledPrimary:y,textColorPrimary:b,textColorHoverPrimary:b,textColorPressedPrimary:b,textColorFocusPrimary:b,textColorDisabledPrimary:b,textColorTextPrimary:y,textColorTextHoverPrimary:v,textColorTextPressedPrimary:p,textColorTextFocusPrimary:v,textColorTextDisabledPrimary:f,textColorGhostPrimary:y,textColorGhostHoverPrimary:v,textColorGhostPressedPrimary:p,textColorGhostFocusPrimary:v,textColorGhostDisabledPrimary:y,borderPrimary:`1px solid ${y}`,borderHoverPrimary:`1px solid ${v}`,borderPressedPrimary:`1px solid ${p}`,borderFocusPrimary:`1px solid ${v}`,borderDisabledPrimary:`1px solid ${y}`,rippleColorPrimary:y,colorInfo:S,colorHoverInfo:F,colorPressedInfo:_,colorFocusInfo:F,colorDisabledInfo:S,textColorInfo:b,textColorHoverInfo:b,textColorPressedInfo:b,textColorFocusInfo:b,textColorDisabledInfo:b,textColorTextInfo:S,textColorTextHoverInfo:F,textColorTextPressedInfo:_,textColorTextFocusInfo:F,textColorTextDisabledInfo:f,textColorGhostInfo:S,textColorGhostHoverInfo:F,textColorGhostPressedInfo:_,textColorGhostFocusInfo:F,textColorGhostDisabledInfo:S,borderInfo:`1px solid ${S}`,borderHoverInfo:`1px solid ${F}`,borderPressedInfo:`1px solid ${_}`,borderFocusInfo:`1px solid ${F}`,borderDisabledInfo:`1px solid ${S}`,rippleColorInfo:S,colorSuccess:P,colorHoverSuccess:z,colorPressedSuccess:m,colorFocusSuccess:z,colorDisabledSuccess:P,textColorSuccess:b,textColorHoverSuccess:b,textColorPressedSuccess:b,textColorFocusSuccess:b,textColorDisabledSuccess:b,textColorTextSuccess:P,textColorTextHoverSuccess:z,textColorTextPressedSuccess:m,textColorTextFocusSuccess:z,textColorTextDisabledSuccess:f,textColorGhostSuccess:P,textColorGhostHoverSuccess:z,textColorGhostPressedSuccess:m,textColorGhostFocusSuccess:z,textColorGhostDisabledSuccess:P,borderSuccess:`1px solid ${P}`,borderHoverSuccess:`1px solid ${z}`,borderPressedSuccess:`1px solid ${m}`,borderFocusSuccess:`1px solid ${z}`,borderDisabledSuccess:`1px solid ${P}`,rippleColorSuccess:P,colorWarning:C,colorHoverWarning:A,colorPressedWarning:j,colorFocusWarning:A,colorDisabledWarning:C,textColorWarning:b,textColorHoverWarning:b,textColorPressedWarning:b,textColorFocusWarning:b,textColorDisabledWarning:b,textColorTextWarning:C,textColorTextHoverWarning:A,textColorTextPressedWarning:j,textColorTextFocusWarning:A,textColorTextDisabledWarning:f,textColorGhostWarning:C,textColorGhostHoverWarning:A,textColorGhostPressedWarning:j,textColorGhostFocusWarning:A,textColorGhostDisabledWarning:C,borderWarning:`1px solid ${C}`,borderHoverWarning:`1px solid ${A}`,borderPressedWarning:`1px solid ${j}`,borderFocusWarning:`1px solid ${A}`,borderDisabledWarning:`1px solid ${C}`,rippleColorWarning:C,colorError:W,colorHoverError:k,colorPressedError:Q,colorFocusError:k,colorDisabledError:W,textColorError:b,textColorHoverError:b,textColorPressedError:b,textColorFocusError:b,textColorDisabledError:b,textColorTextError:W,textColorTextHoverError:k,textColorTextPressedError:Q,textColorTextFocusError:k,textColorTextDisabledError:f,textColorGhostError:W,textColorGhostHoverError:k,textColorGhostPressedError:Q,textColorGhostFocusError:k,textColorGhostDisabledError:W,borderError:`1px solid ${W}`,borderHoverError:`1px solid ${k}`,borderPressedError:`1px solid ${Q}`,borderFocusError:`1px solid ${k}`,borderDisabledError:`1px solid ${W}`,rippleColorError:W,waveOpacity:"0.6",fontWeight:te,fontWeightStrong:re})},N0={name:"Button",common:Xn,self:D0},Qu=N0,W0=D([xe("button",` + margin: 0; + font-weight: var(--n-font-weight); + line-height: 1; + font-family: inherit; + padding: var(--n-padding); + height: var(--n-height); + font-size: var(--n-font-size); + border-radius: var(--n-border-radius); + color: var(--n-text-color); + background-color: var(--n-color); + width: var(--n-width); + white-space: nowrap; + outline: none; + position: relative; + z-index: auto; + border: none; + display: inline-flex; + flex-wrap: nowrap; + flex-shrink: 0; + align-items: center; + justify-content: center; + user-select: none; + -webkit-user-select: none; + text-align: center; + cursor: pointer; + text-decoration: none; + transition: + color .3s var(--n-bezier), + background-color .3s var(--n-bezier), + opacity .3s var(--n-bezier), + border-color .3s var(--n-bezier); + `,[de("color",[G("border",{borderColor:"var(--n-border-color)"}),de("disabled",[G("border",{borderColor:"var(--n-border-color-disabled)"})]),Si("disabled",[D("&:focus",[G("state-border",{borderColor:"var(--n-border-color-focus)"})]),D("&:hover",[G("state-border",{borderColor:"var(--n-border-color-hover)"})]),D("&:active",[G("state-border",{borderColor:"var(--n-border-color-pressed)"})]),de("pressed",[G("state-border",{borderColor:"var(--n-border-color-pressed)"})])])]),de("disabled",{backgroundColor:"var(--n-color-disabled)",color:"var(--n-text-color-disabled)"},[G("border",{border:"var(--n-border-disabled)"})]),Si("disabled",[D("&:focus",{backgroundColor:"var(--n-color-focus)",color:"var(--n-text-color-focus)"},[G("state-border",{border:"var(--n-border-focus)"})]),D("&:hover",{backgroundColor:"var(--n-color-hover)",color:"var(--n-text-color-hover)"},[G("state-border",{border:"var(--n-border-hover)"})]),D("&:active",{backgroundColor:"var(--n-color-pressed)",color:"var(--n-text-color-pressed)"},[G("state-border",{border:"var(--n-border-pressed)"})]),de("pressed",{backgroundColor:"var(--n-color-pressed)",color:"var(--n-text-color-pressed)"},[G("state-border",{border:"var(--n-border-pressed)"})])]),de("loading","cursor: wait;"),xe("base-wave",` + pointer-events: none; + top: 0; + right: 0; + bottom: 0; + left: 0; + animation-iteration-count: 1; + animation-duration: var(--n-ripple-duration); + animation-timing-function: var(--n-bezier-ease-out), var(--n-bezier-ease-out); + `,[de("active",{zIndex:1,animationName:"button-wave-spread, button-wave-opacity"})]),Br&&"MozBoxSizing"in document.createElement("div").style?D("&::moz-focus-inner",{border:0}):null,G("border, state-border",` + position: absolute; + left: 0; + top: 0; + right: 0; + bottom: 0; + border-radius: inherit; + transition: border-color .3s var(--n-bezier); + pointer-events: none; + `),G("border",{border:"var(--n-border)"}),G("state-border",{border:"var(--n-border)",borderColor:"#0000",zIndex:1}),G("icon",` + margin: var(--n-icon-margin); + margin-left: 0; + height: var(--n-icon-size); + width: var(--n-icon-size); + max-width: var(--n-icon-size); + font-size: var(--n-icon-size); + position: relative; + flex-shrink: 0; + `,[xe("icon-slot",` + height: var(--n-icon-size); + width: var(--n-icon-size); + position: absolute; + left: 0; + top: 50%; + transform: translateY(-50%); + display: flex; + align-items: center; + justify-content: center; + `,[bo({top:"50%",originalTransform:"translateY(-50%)"})]),A0()]),G("content",` + display: flex; + align-items: center; + flex-wrap: nowrap; + min-width: 0; + `,[D("~",[G("icon",{margin:"var(--n-icon-margin)",marginRight:0})])]),de("block",` + display: flex; + width: 100%; + `),de("dashed",[G("border, state-border",{borderStyle:"dashed !important"})]),de("disabled",{cursor:"not-allowed",opacity:"var(--n-opacity-disabled)"})]),D("@keyframes button-wave-spread",{from:{boxShadow:"0 0 0.5px 0 var(--n-ripple-color)"},to:{boxShadow:"0 0 0.5px 4.5px var(--n-ripple-color)"}}),D("@keyframes button-wave-opacity",{from:{opacity:"var(--n-wave-opacity)"},to:{opacity:0}})]),U0=Object.assign(Object.assign({},nt.props),{color:String,textColor:String,text:Boolean,block:Boolean,loading:Boolean,disabled:Boolean,circle:Boolean,size:String,ghost:Boolean,round:Boolean,secondary:Boolean,tertiary:Boolean,quaternary:Boolean,strong:Boolean,focusable:{type:Boolean,default:!0},keyboard:{type:Boolean,default:!0},tag:{type:String,default:"button"},type:{type:String,default:"default"},dashed:Boolean,renderIcon:Function,iconPlacement:{type:String,default:"left"},attrType:{type:String,default:"button"},bordered:{type:Boolean,default:!0},onClick:[Function,Array],nativeFocusBehavior:{type:Boolean,default:!F0}}),K0=Ee({name:"Button",props:U0,setup(e){const t=se(null),n=se(null),r=se(!1),o=_i(()=>!e.quaternary&&!e.tertiary&&!e.secondary&&!e.text&&(!e.color||e.ghost||e.dashed)&&e.bordered),i=ze(L0,{}),{mergedSizeRef:s}=jg({},{defaultSize:"medium",mergedSize:_=>{const{size:P}=e;if(P)return P;const{size:z}=i;if(z)return z;const{mergedSize:m}=_||{};return m?m.value:"medium"}}),l=V(()=>e.focusable&&!e.disabled),a=_=>{var P;l.value||_.preventDefault(),!e.nativeFocusBehavior&&(_.preventDefault(),!e.disabled&&l.value&&((P=t.value)===null||P===void 0||P.focus({preventScroll:!0})))},c=_=>{var P;if(!e.disabled&&!e.loading){const{onClick:z}=e;z&&un(z,_),e.text||(P=n.value)===null||P===void 0||P.play()}},u=_=>{switch(_.key){case"Enter":if(!e.keyboard)return;r.value=!1}},f=_=>{switch(_.key){case"Enter":if(!e.keyboard||e.loading){_.preventDefault();return}r.value=!0}},d=()=>{r.value=!1},{inlineThemeDisabled:v,mergedClsPrefixRef:p,mergedRtlRef:w}=Cn(e),y=nt("Button","-button",W0,Qu,e,p),b=Fo("Button",w,p),S=V(()=>{const _=y.value,{common:{cubicBezierEaseInOut:P,cubicBezierEaseOut:z},self:m}=_,{rippleDuration:C,opacityDisabled:A,fontWeight:j,fontWeightStrong:W}=m,k=s.value,{dashed:Q,type:te,ghost:ne,text:oe,color:K,round:re,circle:Ce,textColor:we,secondary:Se,tertiary:Te,quaternary:rt,strong:ht}=e,Xe={"font-weight":ht?W:j};let fe={"--n-color":"initial","--n-color-hover":"initial","--n-color-pressed":"initial","--n-color-focus":"initial","--n-color-disabled":"initial","--n-ripple-color":"initial","--n-text-color":"initial","--n-text-color-hover":"initial","--n-text-color-pressed":"initial","--n-text-color-focus":"initial","--n-text-color-disabled":"initial"};const R=te==="tertiary",U=te==="default",I=R?"default":te;if(oe){const M=we||K;fe={"--n-color":"#0000","--n-color-hover":"#0000","--n-color-pressed":"#0000","--n-color-focus":"#0000","--n-color-disabled":"#0000","--n-ripple-color":"#0000","--n-text-color":M||m[ie("textColorText",I)],"--n-text-color-hover":M?en(M):m[ie("textColorTextHover",I)],"--n-text-color-pressed":M?to(M):m[ie("textColorTextPressed",I)],"--n-text-color-focus":M?en(M):m[ie("textColorTextHover",I)],"--n-text-color-disabled":M||m[ie("textColorTextDisabled",I)]}}else if(ne||Q){const M=we||K;fe={"--n-color":"#0000","--n-color-hover":"#0000","--n-color-pressed":"#0000","--n-color-focus":"#0000","--n-color-disabled":"#0000","--n-ripple-color":K||m[ie("rippleColor",I)],"--n-text-color":M||m[ie("textColorGhost",I)],"--n-text-color-hover":M?en(M):m[ie("textColorGhostHover",I)],"--n-text-color-pressed":M?to(M):m[ie("textColorGhostPressed",I)],"--n-text-color-focus":M?en(M):m[ie("textColorGhostHover",I)],"--n-text-color-disabled":M||m[ie("textColorGhostDisabled",I)]}}else if(Se){const M=U?m.textColor:R?m.textColorTertiary:m[ie("color",I)],T=K||M,Z=te!=="default"&&te!=="tertiary";fe={"--n-color":Z?Vr(T,{alpha:Number(m.colorOpacitySecondary)}):m.colorSecondary,"--n-color-hover":Z?Vr(T,{alpha:Number(m.colorOpacitySecondaryHover)}):m.colorSecondaryHover,"--n-color-pressed":Z?Vr(T,{alpha:Number(m.colorOpacitySecondaryPressed)}):m.colorSecondaryPressed,"--n-color-focus":Z?Vr(T,{alpha:Number(m.colorOpacitySecondaryHover)}):m.colorSecondaryHover,"--n-color-disabled":m.colorSecondary,"--n-ripple-color":"#0000","--n-text-color":T,"--n-text-color-hover":T,"--n-text-color-pressed":T,"--n-text-color-focus":T,"--n-text-color-disabled":T}}else if(Te||rt){const M=U?m.textColor:R?m.textColorTertiary:m[ie("color",I)],T=K||M;Te?(fe["--n-color"]=m.colorTertiary,fe["--n-color-hover"]=m.colorTertiaryHover,fe["--n-color-pressed"]=m.colorTertiaryPressed,fe["--n-color-focus"]=m.colorSecondaryHover,fe["--n-color-disabled"]=m.colorTertiary):(fe["--n-color"]=m.colorQuaternary,fe["--n-color-hover"]=m.colorQuaternaryHover,fe["--n-color-pressed"]=m.colorQuaternaryPressed,fe["--n-color-focus"]=m.colorQuaternaryHover,fe["--n-color-disabled"]=m.colorQuaternary),fe["--n-ripple-color"]="#0000",fe["--n-text-color"]=T,fe["--n-text-color-hover"]=T,fe["--n-text-color-pressed"]=T,fe["--n-text-color-focus"]=T,fe["--n-text-color-disabled"]=T}else fe={"--n-color":K||m[ie("color",I)],"--n-color-hover":K?en(K):m[ie("colorHover",I)],"--n-color-pressed":K?to(K):m[ie("colorPressed",I)],"--n-color-focus":K?en(K):m[ie("colorFocus",I)],"--n-color-disabled":K||m[ie("colorDisabled",I)],"--n-ripple-color":K||m[ie("rippleColor",I)],"--n-text-color":we||(K?m.textColorPrimary:R?m.textColorTertiary:m[ie("textColor",I)]),"--n-text-color-hover":we||(K?m.textColorHoverPrimary:m[ie("textColorHover",I)]),"--n-text-color-pressed":we||(K?m.textColorPressedPrimary:m[ie("textColorPressed",I)]),"--n-text-color-focus":we||(K?m.textColorFocusPrimary:m[ie("textColorFocus",I)]),"--n-text-color-disabled":we||(K?m.textColorDisabledPrimary:m[ie("textColorDisabled",I)])};let X={"--n-border":"initial","--n-border-hover":"initial","--n-border-pressed":"initial","--n-border-focus":"initial","--n-border-disabled":"initial"};oe?X={"--n-border":"none","--n-border-hover":"none","--n-border-pressed":"none","--n-border-focus":"none","--n-border-disabled":"none"}:X={"--n-border":m[ie("border",I)],"--n-border-hover":m[ie("borderHover",I)],"--n-border-pressed":m[ie("borderPressed",I)],"--n-border-focus":m[ie("borderFocus",I)],"--n-border-disabled":m[ie("borderDisabled",I)]};const{[ie("height",k)]:pe,[ie("fontSize",k)]:h,[ie("padding",k)]:g,[ie("paddingRound",k)]:x,[ie("iconSize",k)]:$,[ie("borderRadius",k)]:O,[ie("iconMargin",k)]:B,waveOpacity:N}=m,L={"--n-width":Ce&&!oe?pe:"initial","--n-height":oe?"initial":pe,"--n-font-size":h,"--n-padding":Ce||oe?"initial":re?x:g,"--n-icon-size":$,"--n-icon-margin":B,"--n-border-radius":oe?"initial":Ce||re?pe:O};return Object.assign(Object.assign(Object.assign(Object.assign({"--n-bezier":P,"--n-bezier-ease-out":z,"--n-ripple-duration":C,"--n-opacity-disabled":A,"--n-wave-opacity":N},Xe),fe),X),L)}),F=v?Gn("button",V(()=>{let _="";const{dashed:P,type:z,ghost:m,text:C,color:A,round:j,circle:W,textColor:k,secondary:Q,tertiary:te,quaternary:ne,strong:oe}=e;P&&(_+="a"),m&&(_+="b"),C&&(_+="c"),j&&(_+="d"),W&&(_+="e"),Q&&(_+="f"),te&&(_+="g"),ne&&(_+="h"),oe&&(_+="i"),A&&(_+="j"+ml(A)),k&&(_+="k"+ml(k));const{value:K}=s;return _+="l"+K[0],_+="m"+z[0],_}),S,e):void 0;return{selfElRef:t,waveElRef:n,mergedClsPrefix:p,mergedFocusable:l,mergedSize:s,showBorder:o,enterPressed:r,rtlEnabled:b,handleMousedown:a,handleKeydown:f,handleBlur:d,handleKeyup:u,handleClick:c,customColorCssVars:V(()=>{const{color:_}=e;if(!_)return null;const P=en(_);return{"--n-border-color":_,"--n-border-color-hover":P,"--n-border-color-pressed":to(_),"--n-border-color-focus":P,"--n-border-color-disabled":_}}),cssVars:v?void 0:S,themeClass:F==null?void 0:F.themeClass,onRender:F==null?void 0:F.onRender}},render(){const{mergedClsPrefix:e,tag:t,onRender:n}=this;n==null||n();const r=yt(this.$slots.default,o=>o&&E("span",{class:`${e}-button__content`},o));return E(t,{ref:"selfElRef",class:[this.themeClass,`${e}-button`,`${e}-button--${this.type}-type`,`${e}-button--${this.mergedSize}-type`,this.rtlEnabled&&`${e}-button--rtl`,this.disabled&&`${e}-button--disabled`,this.block&&`${e}-button--block`,this.enterPressed&&`${e}-button--pressed`,!this.text&&this.dashed&&`${e}-button--dashed`,this.color&&`${e}-button--color`,this.secondary&&`${e}-button--secondary`,this.loading&&`${e}-button--loading`,this.ghost&&`${e}-button--ghost`],tabindex:this.mergedFocusable?0:-1,type:this.attrType,style:this.cssVars,disabled:this.disabled,onClick:this.handleClick,onBlur:this.handleBlur,onMousedown:this.handleMousedown,onKeyup:this.handleKeyup,onKeydown:this.handleKeydown},this.iconPlacement==="right"&&r,E(qu,{width:!0},{default:()=>yt(this.$slots.icon,o=>(this.loading||this.renderIcon||o)&&E("span",{class:`${e}-button__icon`,style:{margin:xp(this.$slots.default)?"0":""}},E(ys,null,{default:()=>this.loading?E(Gu,{clsPrefix:e,key:"loading",class:`${e}-icon-slot`,strokeWidth:20}):E("div",{key:"icon",class:`${e}-icon-slot`,role:"none"},this.renderIcon?this.renderIcon():o)})))}),this.iconPlacement==="left"&&r,this.text?null:E(I0,{ref:"waveElRef",clsPrefix:e}),this.showBorder?E("div",{"aria-hidden":!0,class:`${e}-button__border`,style:this.customColorCssVars}):null,this.showBorder?E("div",{"aria-hidden":!0,class:`${e}-button__state-border`,style:this.customColorCssVars}):null)}}),da=K0,V0={paddingSmall:"12px 16px 12px",paddingMedium:"19px 24px 20px",paddingLarge:"23px 32px 24px",paddingHuge:"27px 40px 28px",titleFontSizeSmall:"16px",titleFontSizeMedium:"18px",titleFontSizeLarge:"18px",titleFontSizeHuge:"18px",closeIconSize:"18px",closeSize:"22px"},q0=e=>{const{primaryColor:t,borderRadius:n,lineHeight:r,fontSize:o,cardColor:i,textColor2:s,textColor1:l,dividerColor:a,fontWeightStrong:c,closeIconColor:u,closeIconColorHover:f,closeIconColorPressed:d,closeColorHover:v,closeColorPressed:p,modalColor:w,boxShadow1:y,popoverColor:b,actionColor:S}=e;return Object.assign(Object.assign({},V0),{lineHeight:r,color:i,colorModal:w,colorPopover:b,colorTarget:t,colorEmbedded:S,colorEmbeddedModal:S,colorEmbeddedPopover:S,textColor:s,titleTextColor:l,borderColor:a,actionColor:S,titleFontWeight:c,closeColorHover:v,closeColorPressed:p,closeBorderRadius:n,closeIconColor:u,closeIconColorHover:f,closeIconColorPressed:d,fontSizeSmall:o,fontSizeMedium:o,fontSizeLarge:o,fontSizeHuge:o,boxShadow:y,borderRadius:n})},G0={name:"Card",common:Xn,self:q0},ef=G0,X0=D([xe("card",` + font-size: var(--n-font-size); + line-height: var(--n-line-height); + display: flex; + flex-direction: column; + width: 100%; + box-sizing: border-box; + position: relative; + border-radius: var(--n-border-radius); + background-color: var(--n-color); + color: var(--n-text-color); + word-break: break-word; + transition: + color .3s var(--n-bezier), + background-color .3s var(--n-bezier), + box-shadow .3s var(--n-bezier), + border-color .3s var(--n-bezier); + `,[Jc({background:"var(--n-color-modal)"}),de("hoverable",[D("&:hover","box-shadow: var(--n-box-shadow);")]),de("content-segmented",[D(">",[G("content",{paddingTop:"var(--n-padding-bottom)"})])]),de("content-soft-segmented",[D(">",[G("content",` + margin: 0 var(--n-padding-left); + padding: var(--n-padding-bottom) 0; + `)])]),de("footer-segmented",[D(">",[G("footer",{paddingTop:"var(--n-padding-bottom)"})])]),de("footer-soft-segmented",[D(">",[G("footer",` + padding: var(--n-padding-bottom) 0; + margin: 0 var(--n-padding-left); + `)])]),D(">",[xe("card-header",` + box-sizing: border-box; + display: flex; + align-items: center; + font-size: var(--n-title-font-size); + padding: + var(--n-padding-top) + var(--n-padding-left) + var(--n-padding-bottom) + var(--n-padding-left); + `,[G("main",` + font-weight: var(--n-title-font-weight); + transition: color .3s var(--n-bezier); + flex: 1; + min-width: 0; + color: var(--n-title-text-color); + `),G("extra",` + display: flex; + align-items: center; + font-size: var(--n-font-size); + font-weight: 400; + transition: color .3s var(--n-bezier); + color: var(--n-text-color); + `),G("close",` + margin: 0 0 0 8px; + transition: + background-color .3s var(--n-bezier), + color .3s var(--n-bezier); + `)]),G("action",` + box-sizing: border-box; + transition: + background-color .3s var(--n-bezier), + border-color .3s var(--n-bezier); + background-clip: padding-box; + background-color: var(--n-action-color); + `),G("content","flex: 1; min-width: 0;"),G("content, footer",` + box-sizing: border-box; + padding: 0 var(--n-padding-left) var(--n-padding-bottom) var(--n-padding-left); + font-size: var(--n-font-size); + `,[D("&:first-child",{paddingTop:"var(--n-padding-bottom)"})]),G("action",` + background-color: var(--n-action-color); + padding: var(--n-padding-bottom) var(--n-padding-left); + border-bottom-left-radius: var(--n-border-radius); + border-bottom-right-radius: var(--n-border-radius); + `)]),xe("card-cover",` + overflow: hidden; + width: 100%; + border-radius: var(--n-border-radius) var(--n-border-radius) 0 0; + `,[D("img",` + display: block; + width: 100%; + `)]),de("bordered",` + border: 1px solid var(--n-border-color); + `,[D("&:target","border-color: var(--n-color-target);")]),de("action-segmented",[D(">",[G("action",[D("&:not(:first-child)",{borderTop:"1px solid var(--n-border-color)"})])])]),de("content-segmented, content-soft-segmented",[D(">",[G("content",{transition:"border-color 0.3s var(--n-bezier)"},[D("&:not(:first-child)",{borderTop:"1px solid var(--n-border-color)"})])])]),de("footer-segmented, footer-soft-segmented",[D(">",[G("footer",{transition:"border-color 0.3s var(--n-bezier)"},[D("&:not(:first-child)",{borderTop:"1px solid var(--n-border-color)"})])])]),de("embedded",` + background-color: var(--n-color-embedded); + `)]),Zc(xe("card",` + background: var(--n-color-modal); + `,[de("embedded",` + background-color: var(--n-color-embedded-modal); + `)])),Np(xe("card",` + background: var(--n-color-popover); + `,[de("embedded",` + background-color: var(--n-color-embedded-popover); + `)]))]),ws={title:String,contentStyle:[Object,String],headerStyle:[Object,String],headerExtraStyle:[Object,String],footerStyle:[Object,String],embedded:Boolean,segmented:{type:[Boolean,Object],default:!1},size:{type:String,default:"medium"},bordered:{type:Boolean,default:!0},closable:Boolean,hoverable:Boolean,role:String,onClose:[Function,Array],tag:{type:String,default:"div"}},Y0=ds(ws),Z0=Object.assign(Object.assign({},nt.props),ws),J0=Ee({name:"Card",props:Z0,setup(e){const t=()=>{const{onClose:c}=e;c&&un(c)},{inlineThemeDisabled:n,mergedClsPrefixRef:r,mergedRtlRef:o}=Cn(e),i=nt("Card","-card",X0,ef,e,r),s=Fo("Card",o,r),l=V(()=>{const{size:c}=e,{self:{color:u,colorModal:f,colorTarget:d,textColor:v,titleTextColor:p,titleFontWeight:w,borderColor:y,actionColor:b,borderRadius:S,lineHeight:F,closeIconColor:_,closeIconColorHover:P,closeIconColorPressed:z,closeColorHover:m,closeColorPressed:C,closeBorderRadius:A,closeIconSize:j,closeSize:W,boxShadow:k,colorPopover:Q,colorEmbedded:te,colorEmbeddedModal:ne,colorEmbeddedPopover:oe,[ie("padding",c)]:K,[ie("fontSize",c)]:re,[ie("titleFontSize",c)]:Ce},common:{cubicBezierEaseInOut:we}}=i.value,{top:Se,left:Te,bottom:rt}=cp(K);return{"--n-bezier":we,"--n-border-radius":S,"--n-color":u,"--n-color-modal":f,"--n-color-popover":Q,"--n-color-embedded":te,"--n-color-embedded-modal":ne,"--n-color-embedded-popover":oe,"--n-color-target":d,"--n-text-color":v,"--n-line-height":F,"--n-action-color":b,"--n-title-text-color":p,"--n-title-font-weight":w,"--n-close-icon-color":_,"--n-close-icon-color-hover":P,"--n-close-icon-color-pressed":z,"--n-close-color-hover":m,"--n-close-color-pressed":C,"--n-border-color":y,"--n-box-shadow":k,"--n-padding-top":Se,"--n-padding-bottom":rt,"--n-padding-left":Te,"--n-font-size":re,"--n-title-font-size":Ce,"--n-close-size":W,"--n-close-icon-size":j,"--n-close-border-radius":A}}),a=n?Gn("card",V(()=>e.size[0]),l,e):void 0;return{rtlEnabled:s,mergedClsPrefix:r,mergedTheme:i,handleCloseClick:t,cssVars:n?void 0:l,themeClass:a==null?void 0:a.themeClass,onRender:a==null?void 0:a.onRender}},render(){const{segmented:e,bordered:t,hoverable:n,mergedClsPrefix:r,rtlEnabled:o,onRender:i,embedded:s,tag:l,$slots:a}=this;return i==null||i(),E(l,{class:[`${r}-card`,this.themeClass,s&&`${r}-card--embedded`,{[`${r}-card--rtl`]:o,[`${r}-card--content${typeof e!="boolean"&&e.content==="soft"?"-soft":""}-segmented`]:e===!0||e!==!1&&e.content,[`${r}-card--footer${typeof e!="boolean"&&e.footer==="soft"?"-soft":""}-segmented`]:e===!0||e!==!1&&e.footer,[`${r}-card--action-segmented`]:e===!0||e!==!1&&e.action,[`${r}-card--bordered`]:t,[`${r}-card--hoverable`]:n}],style:this.cssVars,role:this.role},yt(a.cover,c=>c&&E("div",{class:`${r}-card-cover`,role:"none"},c)),yt(a.header,c=>c||this.title||this.closable?E("div",{class:`${r}-card-header`,style:this.headerStyle},E("div",{class:`${r}-card-header__main`,role:"heading"},c||this.title),yt(a["header-extra"],u=>u&&E("div",{class:`${r}-card-header__extra`,style:this.headerExtraStyle},u)),this.closable?E(Cs,{clsPrefix:r,class:`${r}-card-header__close`,onClick:this.handleCloseClick,absolute:!0}):null):null),yt(a.default,c=>c&&E("div",{class:`${r}-card__content`,style:this.contentStyle,role:"none"},c)),yt(a.footer,c=>c&&[E("div",{class:`${r}-card__footer`,style:this.footerStyle,role:"none"},c)]),yt(a.action,c=>c&&E("div",{class:`${r}-card__action`,role:"none"},c)))}}),Q0={abstract:Boolean,bordered:{type:Boolean,default:void 0},clsPrefix:String,locale:Object,dateLocale:Object,namespace:String,rtl:Array,tag:{type:String,default:"div"},hljs:Object,katex:Object,theme:Object,themeOverrides:Object,componentOptions:Object,icons:Object,breakpoints:Object,preflightStyleDisabled:Boolean,inlineThemeDisabled:{type:Boolean,default:void 0},as:{type:String,validator:()=>(go("config-provider","`as` is deprecated, please use `tag` instead."),!0),default:void 0}},ey=Ee({name:"ConfigProvider",alias:["App"],props:Q0,setup(e){const t=ze(mn,null),n=V(()=>{const{theme:p}=e;if(p===null)return;const w=t==null?void 0:t.mergedThemeRef.value;return p===void 0?w:w===void 0?p:Object.assign({},w,p)}),r=V(()=>{const{themeOverrides:p}=e;if(p!==null){if(p===void 0)return t==null?void 0:t.mergedThemeOverridesRef.value;{const w=t==null?void 0:t.mergedThemeOverridesRef.value;return w===void 0?p:sr({},w,p)}}}),o=_i(()=>{const{namespace:p}=e;return p===void 0?t==null?void 0:t.mergedNamespaceRef.value:p}),i=_i(()=>{const{bordered:p}=e;return p===void 0?t==null?void 0:t.mergedBorderedRef.value:p}),s=V(()=>{const{icons:p}=e;return p===void 0?t==null?void 0:t.mergedIconsRef.value:p}),l=V(()=>{const{componentOptions:p}=e;return p!==void 0?p:t==null?void 0:t.mergedComponentPropsRef.value}),a=V(()=>{const{clsPrefix:p}=e;return p!==void 0?p:t==null?void 0:t.mergedClsPrefixRef.value}),c=V(()=>{var p;const{rtl:w}=e;if(w===void 0)return t==null?void 0:t.mergedRtlRef.value;const y={};for(const b of w)y[b.name]=qt(b),(p=b.peers)===null||p===void 0||p.forEach(S=>{S.name in y||(y[S.name]=qt(S))});return y}),u=V(()=>e.breakpoints||(t==null?void 0:t.mergedBreakpointsRef.value)),f=e.inlineThemeDisabled||(t==null?void 0:t.inlineThemeDisabled),d=e.preflightStyleDisabled||(t==null?void 0:t.preflightStyleDisabled),v=V(()=>{const{value:p}=n,{value:w}=r,y=w&&Object.keys(w).length!==0,b=p==null?void 0:p.name;return b?y?`${b}-${Pr(JSON.stringify(r.value))}`:b:y?Pr(JSON.stringify(r.value)):""});return qe(mn,{mergedThemeHashRef:v,mergedBreakpointsRef:u,mergedRtlRef:c,mergedIconsRef:s,mergedComponentPropsRef:l,mergedBorderedRef:i,mergedNamespaceRef:o,mergedClsPrefixRef:a,mergedLocaleRef:V(()=>{const{locale:p}=e;if(p!==null)return p===void 0?t==null?void 0:t.mergedLocaleRef.value:p}),mergedDateLocaleRef:V(()=>{const{dateLocale:p}=e;if(p!==null)return p===void 0?t==null?void 0:t.mergedDateLocaleRef.value:p}),mergedHljsRef:V(()=>{const{hljs:p}=e;return p===void 0?t==null?void 0:t.mergedHljsRef.value:p}),mergedKatexRef:V(()=>{const{katex:p}=e;return p===void 0?t==null?void 0:t.mergedKatexRef.value:p}),mergedThemeRef:n,mergedThemeOverridesRef:r,inlineThemeDisabled:f||!1,preflightStyleDisabled:d||!1}),{mergedClsPrefix:a,mergedBordered:i,mergedNamespace:o,mergedTheme:n,mergedThemeOverrides:r}},render(){var e,t,n,r;return this.abstract?(r=(n=this.$slots).default)===null||r===void 0?void 0:r.call(n):E(this.as||this.tag,{class:`${this.mergedClsPrefix||Wu}-config-provider`},(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e))}}),ty={titleFontSize:"18px",padding:"16px 28px 20px 28px",iconSize:"28px",actionSpace:"12px",contentMargin:"8px 0 16px 0",iconMargin:"0 4px 0 0",iconMarginIconTop:"4px 0 8px 0",closeSize:"22px",closeIconSize:"18px",closeMargin:"20px 26px 0 0",closeMarginIconTop:"10px 16px 0 0"},ny=e=>{const{textColor1:t,textColor2:n,modalColor:r,closeIconColor:o,closeIconColorHover:i,closeIconColorPressed:s,closeColorHover:l,closeColorPressed:a,infoColor:c,successColor:u,warningColor:f,errorColor:d,primaryColor:v,dividerColor:p,borderRadius:w,fontWeightStrong:y,lineHeight:b,fontSize:S}=e;return Object.assign(Object.assign({},ty),{fontSize:S,lineHeight:b,border:`1px solid ${p}`,titleTextColor:t,textColor:n,color:r,closeColorHover:l,closeColorPressed:a,closeIconColor:o,closeIconColorHover:i,closeIconColorPressed:s,closeBorderRadius:w,iconColor:v,iconColorInfo:c,iconColorSuccess:u,iconColorWarning:f,iconColorError:d,borderRadius:w,titleFontWeight:y})},ry={name:"Dialog",common:Xn,peers:{Button:Qu},self:ny},tf=ry,Lo={icon:Function,type:{type:String,default:"default"},title:[String,Function],closable:{type:Boolean,default:!0},negativeText:String,positiveText:String,positiveButtonProps:Object,negativeButtonProps:Object,content:[String,Function],action:Function,showIcon:{type:Boolean,default:!0},loading:Boolean,bordered:Boolean,iconPlacement:String,onPositiveClick:Function,onNegativeClick:Function,onClose:Function},nf=ds(Lo),oy=D([xe("dialog",` + word-break: break-word; + line-height: var(--n-line-height); + position: relative; + background: var(--n-color); + color: var(--n-text-color); + box-sizing: border-box; + margin: auto; + border-radius: var(--n-border-radius); + padding: var(--n-padding); + transition: + border-color .3s var(--n-bezier), + background-color .3s var(--n-bezier), + color .3s var(--n-bezier); + `,[G("icon",{color:"var(--n-icon-color)"}),de("bordered",{border:"var(--n-border)"}),de("icon-top",[G("close",{margin:"var(--n-close-margin)"}),G("icon",{margin:"var(--n-icon-margin)"}),G("content",{textAlign:"center"}),G("title",{justifyContent:"center"}),G("action",{justifyContent:"center"})]),de("icon-left",[G("icon",{margin:"var(--n-icon-margin)"}),de("closable",[G("title",` + padding-right: calc(var(--n-close-size) + 6px); + `)])]),G("close",` + position: absolute; + right: 0; + top: 0; + margin: var(--n-close-margin); + transition: + background-color .3s var(--n-bezier), + color .3s var(--n-bezier); + z-index: 1; + `),G("content",` + font-size: var(--n-font-size); + margin: var(--n-content-margin); + position: relative; + word-break: break-word; + `,[de("last","margin-bottom: 0;")]),G("action",` + display: flex; + justify-content: flex-end; + `,[D("> *:not(:last-child)",{marginRight:"var(--n-action-space)"})]),G("icon",{fontSize:"var(--n-icon-size)",transition:"color .3s var(--n-bezier)"}),G("title",` + transition: color .3s var(--n-bezier); + display: flex; + align-items: center; + font-size: var(--n-title-font-size); + font-weight: var(--n-title-font-weight); + color: var(--n-title-text-color); + `),xe("dialog-icon-container",{display:"flex",justifyContent:"center"})]),Zc(xe("dialog",` + width: 446px; + max-width: calc(100vw - 32px); + `)),xe("dialog",[Jc(` + width: 446px; + max-width: calc(100vw - 32px); + `)])]),iy={default:()=>E(Ii,null),info:()=>E(Ii,null),success:()=>E(Ku,null),warning:()=>E(Vu,null),error:()=>E(Uu,null)},rf=Ee({name:"Dialog",alias:["NimbusConfirmCard","Confirm"],props:Object.assign(Object.assign({},nt.props),Lo),setup(e){const{mergedComponentPropsRef:t,mergedClsPrefixRef:n,inlineThemeDisabled:r}=Cn(e),o=V(()=>{var f,d;const{iconPlacement:v}=e;return v||((d=(f=t==null?void 0:t.value)===null||f===void 0?void 0:f.Dialog)===null||d===void 0?void 0:d.iconPlacement)||"left"});function i(f){const{onPositiveClick:d}=e;d&&d(f)}function s(f){const{onNegativeClick:d}=e;d&&d(f)}function l(){const{onClose:f}=e;f&&f()}const a=nt("Dialog","-dialog",oy,tf,e,n),c=V(()=>{const{type:f}=e,d=o.value,{common:{cubicBezierEaseInOut:v},self:{fontSize:p,lineHeight:w,border:y,titleTextColor:b,textColor:S,color:F,closeBorderRadius:_,closeColorHover:P,closeColorPressed:z,closeIconColor:m,closeIconColorHover:C,closeIconColorPressed:A,closeIconSize:j,borderRadius:W,titleFontWeight:k,titleFontSize:Q,padding:te,iconSize:ne,actionSpace:oe,contentMargin:K,closeSize:re,[d==="top"?"iconMarginIconTop":"iconMargin"]:Ce,[d==="top"?"closeMarginIconTop":"closeMargin"]:we,[ie("iconColor",f)]:Se}}=a.value;return{"--n-font-size":p,"--n-icon-color":Se,"--n-bezier":v,"--n-close-margin":we,"--n-icon-margin":Ce,"--n-icon-size":ne,"--n-close-size":re,"--n-close-icon-size":j,"--n-close-border-radius":_,"--n-close-color-hover":P,"--n-close-color-pressed":z,"--n-close-icon-color":m,"--n-close-icon-color-hover":C,"--n-close-icon-color-pressed":A,"--n-color":F,"--n-text-color":S,"--n-border-radius":W,"--n-padding":te,"--n-line-height":w,"--n-border":y,"--n-content-margin":K,"--n-title-font-size":Q,"--n-title-font-weight":k,"--n-title-text-color":b,"--n-action-space":oe}}),u=r?Gn("dialog",V(()=>`${e.type[0]}${o.value[0]}`),c,e):void 0;return{mergedClsPrefix:n,mergedIconPlacement:o,mergedTheme:a,handlePositiveClick:i,handleNegativeClick:s,handleCloseClick:l,cssVars:r?void 0:c,themeClass:u==null?void 0:u.themeClass,onRender:u==null?void 0:u.onRender}},render(){var e;const{bordered:t,mergedIconPlacement:n,cssVars:r,closable:o,showIcon:i,title:s,content:l,action:a,negativeText:c,positiveText:u,positiveButtonProps:f,negativeButtonProps:d,handlePositiveClick:v,handleNegativeClick:p,mergedTheme:w,loading:y,type:b,mergedClsPrefix:S}=this;(e=this.onRender)===null||e===void 0||e.call(this);const F=i?E(xs,{clsPrefix:S,class:`${S}-dialog__icon`},{default:()=>yt(this.$slots.icon,P=>P||(this.icon?tn(this.icon):iy[this.type]()))}):null,_=yt(this.$slots.action,P=>P||u||c||a?E("div",{class:`${S}-dialog__action`},P||(a?[tn(a)]:[this.negativeText&&E(da,Object.assign({theme:w.peers.Button,themeOverrides:w.peerOverrides.Button,ghost:!0,size:"small",onClick:p},d),{default:()=>tn(this.negativeText)}),this.positiveText&&E(da,Object.assign({theme:w.peers.Button,themeOverrides:w.peerOverrides.Button,size:"small",type:b==="default"?"primary":b,disabled:y,loading:y,onClick:v},f),{default:()=>tn(this.positiveText)})])):null);return E("div",{class:[`${S}-dialog`,this.themeClass,this.closable&&`${S}-dialog--closable`,`${S}-dialog--icon-${n}`,t&&`${S}-dialog--bordered`],style:r,role:"dialog"},o?E(Cs,{clsPrefix:S,class:`${S}-dialog__close`,onClick:this.handleCloseClick}):null,i&&n==="top"?E("div",{class:`${S}-dialog-icon-container`},F):null,E("div",{class:`${S}-dialog__title`},i&&n==="left"?F:null,gl(this.$slots.header,()=>[tn(s)])),E("div",{class:[`${S}-dialog__content`,_?"":`${S}-dialog__content--last`]},gl(this.$slots.default,()=>[tn(l)])),_)}}),of="n-dialog-provider",sy="n-dialog-api",ly="n-dialog-reactive-list",ay=e=>{const{modalColor:t,textColor2:n,boxShadow3:r}=e;return{color:t,textColor:n,boxShadow:r}},cy={name:"Modal",common:Xn,peers:{Scrollbar:Yu,Dialog:tf,Card:ef},self:ay},uy=cy,Ss=Object.assign(Object.assign({},ws),Lo),fy=ds(Ss),dy=Ee({name:"ModalBody",inheritAttrs:!1,props:Object.assign(Object.assign({show:{type:Boolean,required:!0},preset:String,displayDirective:{type:String,required:!0},trapFocus:{type:Boolean,default:!0},autoFocus:{type:Boolean,default:!0},blockScroll:Boolean},Ss),{renderMask:Function,onClickoutside:Function,onBeforeLeave:{type:Function,required:!0},onAfterLeave:{type:Function,required:!0},onPositiveClick:{type:Function,required:!0},onNegativeClick:{type:Function,required:!0},onClose:{type:Function,required:!0},onAfterEnter:Function,onEsc:Function}),setup(e){const t=se(null),n=se(null),r=se(e.show),o=se(null),i=se(null);ut(zt(e,"show"),y=>{y&&(r.value=!0)}),Hg(V(()=>e.blockScroll&&r.value));const s=ze(iu);function l(){if(s.transformOriginRef.value==="center")return"";const{value:y}=o,{value:b}=i;if(y===null||b===null)return"";if(n.value){const S=n.value.containerScrollTop;return`${y}px ${b+S}px`}return""}function a(y){if(s.transformOriginRef.value==="center")return;const b=s.getMousePosition();if(!b||!n.value)return;const S=n.value.containerScrollTop,{offsetLeft:F,offsetTop:_}=y;if(b){const P=b.y,z=b.x;o.value=-(F-z),i.value=-(_-P-S)}y.style.transformOrigin=l()}function c(y){kn(()=>{a(y)})}function u(y){y.style.transformOrigin=l(),e.onBeforeLeave()}function f(){r.value=!1,o.value=null,i.value=null,e.onAfterLeave()}function d(){const{onClose:y}=e;y&&y()}function v(){e.onNegativeClick()}function p(){e.onPositiveClick()}const w=se(null);return ut(w,y=>{y&&kn(()=>{const b=y.el;b&&t.value!==b&&(t.value=b)})}),qe(eg,t),qe(tg,null),qe(ng,null),{mergedTheme:s.mergedThemeRef,appear:s.appearRef,isMounted:s.isMountedRef,mergedClsPrefix:s.mergedClsPrefixRef,bodyRef:t,scrollbarRef:n,displayed:r,childNodeRef:w,handlePositiveClick:p,handleNegativeClick:v,handleCloseClick:d,handleAfterLeave:f,handleBeforeLeave:u,handleEnter:c}},render(){const{$slots:e,$attrs:t,handleEnter:n,handleAfterLeave:r,handleBeforeLeave:o,preset:i,mergedClsPrefix:s}=this;let l=null;if(!i){if(l=yp(e),!l){go("modal","default slot is empty");return}l=It(l),l.props=ls({class:`${s}-modal`},t,l.props||{})}return this.displayDirective==="show"||this.displayed||this.show?ui(E("div",{role:"none",class:`${s}-modal-body-wrapper`},E(T0,{ref:"scrollbarRef",theme:this.mergedTheme.peers.Scrollbar,themeOverrides:this.mergedTheme.peerOverrides.Scrollbar,contentClass:`${s}-modal-scroll-content`},{default:()=>{var a;return[(a=this.renderMask)===null||a===void 0?void 0:a.call(this),E(Mg,{disabled:!this.trapFocus,active:this.show,onEsc:this.onEsc,autoFocus:this.autoFocus},{default:()=>{var c;return E(Gt,{name:"fade-in-scale-up-transition",appear:(c=this.appear)!==null&&c!==void 0?c:this.isMounted,onEnter:n,onAfterEnter:this.onAfterEnter,onAfterLeave:r,onBeforeLeave:o},{default:()=>{const u=[[al,this.show]],{onClickoutside:f}=this;return f&&u.push([og,this.onClickoutside,void 0,{capture:!0}]),ui(this.preset==="confirm"||this.preset==="dialog"?E(rf,Object.assign({},this.$attrs,{class:[`${s}-modal`,this.$attrs.class],ref:"bodyRef",theme:this.mergedTheme.peers.Dialog,themeOverrides:this.mergedTheme.peerOverrides.Dialog},po(this.$props,nf),{"aria-modal":"true"}),e):this.preset==="card"?E(J0,Object.assign({},this.$attrs,{ref:"bodyRef",class:[`${s}-modal`,this.$attrs.class],theme:this.mergedTheme.peers.Card,themeOverrides:this.mergedTheme.peerOverrides.Card},po(this.$props,Y0),{"aria-modal":"true",role:"dialog"}),e):this.childNodeRef=l,u)}})}})]}})),[[al,this.displayDirective==="if"||this.displayed||this.show]]):null}}),hy=D([xe("modal-container",` + position: fixed; + left: 0; + top: 0; + height: 0; + width: 0; + display: flex; + `),xe("modal-mask",` + position: fixed; + left: 0; + right: 0; + top: 0; + bottom: 0; + background-color: rgba(0, 0, 0, .4); + `,[Zu({enterDuration:".25s",leaveDuration:".25s",enterCubicBezier:"var(--n-bezier-ease-out)",leaveCubicBezier:"var(--n-bezier-ease-out)"})]),xe("modal-body-wrapper",` + position: fixed; + left: 0; + right: 0; + top: 0; + bottom: 0; + overflow: visible; + `,[xe("modal-scroll-content",` + min-height: 100%; + display: flex; + position: relative; + `)]),xe("modal",` + position: relative; + align-self: center; + color: var(--n-text-color); + margin: auto; + box-shadow: var(--n-box-shadow); + `,[O0({duration:".25s",enterScale:".5"})])]),py=Object.assign(Object.assign(Object.assign(Object.assign({},nt.props),{show:Boolean,unstableShowMask:{type:Boolean,default:!0},maskClosable:{type:Boolean,default:!0},preset:String,to:[String,Object],displayDirective:{type:String,default:"if"},transformOrigin:{type:String,default:"mouse"},zIndex:Number,autoFocus:{type:Boolean,default:!0},trapFocus:{type:Boolean,default:!0},closeOnEsc:{type:Boolean,default:!0},blockScroll:{type:Boolean,default:!0}}),Ss),{onEsc:Function,"onUpdate:show":[Function,Array],onUpdateShow:[Function,Array],onAfterEnter:Function,onBeforeLeave:Function,onAfterLeave:Function,onClose:Function,onPositiveClick:Function,onNegativeClick:Function,onMaskClick:Function,internalDialog:Boolean,internalAppear:{type:Boolean,default:void 0},overlayStyle:[String,Object],onBeforeHide:Function,onAfterHide:Function,onHide:Function}),gy=Ee({name:"Modal",inheritAttrs:!1,props:py,setup(e){const t=se(null),{mergedClsPrefixRef:n,namespaceRef:r,inlineThemeDisabled:o}=Cn(e),i=nt("Modal","-modal",hy,uy,e,n),s=ru(64),l=nu(),a=ou(),c=e.internalDialog?ze(of,null):null,u=Fg();function f(P){const{onUpdateShow:z,"onUpdate:show":m,onHide:C}=e;z&&un(z,P),m&&un(m,P),C&&!P&&C(P)}function d(){const{onClose:P}=e;P?Promise.resolve(P()).then(z=>{z!==!1&&f(!1)}):f(!1)}function v(){const{onPositiveClick:P}=e;P?Promise.resolve(P()).then(z=>{z!==!1&&f(!1)}):f(!1)}function p(){const{onNegativeClick:P}=e;P?Promise.resolve(P()).then(z=>{z!==!1&&f(!1)}):f(!1)}function w(){const{onBeforeLeave:P,onBeforeHide:z}=e;P&&un(P),z&&z()}function y(){const{onAfterLeave:P,onAfterHide:z}=e;P&&un(P),z&&z()}function b(P){var z;const{onMaskClick:m}=e;m&&m(P),e.maskClosable&&!((z=t.value)===null||z===void 0)&&z.contains(cs(P))&&f(!1)}function S(P){var z;(z=e.onEsc)===null||z===void 0||z.call(e),e.show&&e.closeOnEsc&&Up(P)&&!u.value&&f(!1)}qe(iu,{getMousePosition:()=>{if(c){const{clickedRef:P,clickPositionRef:z}=c;if(P.value&&z.value)return z.value}return s.value?l.value:null},mergedClsPrefixRef:n,mergedThemeRef:i,isMountedRef:a,appearRef:zt(e,"internalAppear"),transformOriginRef:zt(e,"transformOrigin")});const F=V(()=>{const{common:{cubicBezierEaseOut:P},self:{boxShadow:z,color:m,textColor:C}}=i.value;return{"--n-bezier-ease-out":P,"--n-box-shadow":z,"--n-color":m,"--n-text-color":C}}),_=o?Gn("theme-class",void 0,F,e):void 0;return{mergedClsPrefix:n,namespace:r,isMounted:a,containerRef:t,presetProps:V(()=>po(e,fy)),handleEsc:S,handleAfterLeave:y,handleClickoutside:b,handleBeforeLeave:w,doUpdateShow:f,handleNegativeClick:p,handlePositiveClick:v,handleCloseClick:d,cssVars:o?void 0:F,themeClass:_==null?void 0:_.themeClass,onRender:_==null?void 0:_.onRender}},render(){const{mergedClsPrefix:e}=this;return E(dg,{to:this.to,show:this.show},{default:()=>{var t;(t=this.onRender)===null||t===void 0||t.call(this);const{unstableShowMask:n}=this;return ui(E("div",{role:"none",ref:"containerRef",class:[`${e}-modal-container`,this.themeClass,this.namespace],style:this.cssVars},E(dy,Object.assign({style:this.overlayStyle},this.$attrs,{ref:"bodyWrapper",displayDirective:this.displayDirective,show:this.show,preset:this.preset,autoFocus:this.autoFocus,trapFocus:this.trapFocus,blockScroll:this.blockScroll},this.presetProps,{onEsc:this.handleEsc,onClose:this.handleCloseClick,onNegativeClick:this.handleNegativeClick,onPositiveClick:this.handlePositiveClick,onBeforeLeave:this.handleBeforeLeave,onAfterEnter:this.onAfterEnter,onAfterLeave:this.handleAfterLeave,onClickoutside:n?void 0:this.handleClickoutside,renderMask:n?()=>{var r;return E(Gt,{name:"fade-in-transition",key:"mask",appear:(r=this.internalAppear)!==null&&r!==void 0?r:this.isMounted},{default:()=>this.show?E("div",{"aria-hidden":!0,ref:"containerRef",class:`${e}-modal-mask`,onClick:this.handleClickoutside}):null})}:void 0}),this.$slots)),[[ag,{zIndex:this.zIndex,enabled:this.show}]])}})}}),vy=Object.assign(Object.assign({},Lo),{onAfterEnter:Function,onAfterLeave:Function,transformOrigin:String,blockScroll:{type:Boolean,default:!0},closeOnEsc:{type:Boolean,default:!0},onEsc:Function,autoFocus:{type:Boolean,default:!0},internalStyle:[String,Object],maskClosable:{type:Boolean,default:!0},onPositiveClick:Function,onNegativeClick:Function,onClose:Function,onMaskClick:Function}),my=Ee({name:"DialogEnvironment",props:Object.assign(Object.assign({},vy),{internalKey:{type:String,required:!0},to:[String,Object],onInternalAfterLeave:{type:Function,required:!0}}),setup(e){const t=se(!0);function n(){const{onInternalAfterLeave:u,internalKey:f,onAfterLeave:d}=e;u&&u(f),d&&d()}function r(u){const{onPositiveClick:f}=e;f?Promise.resolve(f(u)).then(d=>{d!==!1&&a()}):a()}function o(u){const{onNegativeClick:f}=e;f?Promise.resolve(f(u)).then(d=>{d!==!1&&a()}):a()}function i(){const{onClose:u}=e;u?Promise.resolve(u()).then(f=>{f!==!1&&a()}):a()}function s(u){const{onMaskClick:f,maskClosable:d}=e;f&&(f(u),d&&a())}function l(){const{onEsc:u}=e;u&&u()}function a(){t.value=!1}function c(u){t.value=u}return{show:t,hide:a,handleUpdateShow:c,handleAfterLeave:n,handleCloseClick:i,handleNegativeClick:o,handlePositiveClick:r,handleMaskClick:s,handleEsc:l}},render(){const{handlePositiveClick:e,handleUpdateShow:t,handleNegativeClick:n,handleCloseClick:r,handleAfterLeave:o,handleMaskClick:i,handleEsc:s,to:l,maskClosable:a,show:c}=this;return E(gy,{show:c,onUpdateShow:t,onMaskClick:i,onEsc:s,to:l,maskClosable:a,onAfterEnter:this.onAfterEnter,onAfterLeave:o,closeOnEsc:this.closeOnEsc,blockScroll:this.blockScroll,autoFocus:this.autoFocus,transformOrigin:this.transformOrigin,internalAppear:!0,internalDialog:!0},{default:()=>E(rf,Object.assign({},po(this.$props,nf),{style:this.internalStyle,onClose:r,onNegativeClick:n,onPositiveClick:e}))})}}),by={injectionKey:String,to:[String,Object]},yy=Ee({name:"DialogProvider",props:by,setup(){const e=se([]),t={};function n(l={}){const a=fs(),c=Xt(Object.assign(Object.assign({},l),{key:a,destroy:()=>{t[`n-dialog-${a}`].hide()}}));return e.value.push(c),c}const r=["info","success","warning","error"].map(l=>a=>n(Object.assign(Object.assign({},a),{type:l})));function o(l){const{value:a}=e;a.splice(a.findIndex(c=>c.key===l),1)}function i(){Object.values(t).forEach(l=>l.hide())}const s={create:n,destroyAll:i,info:r[0],success:r[1],warning:r[2],error:r[3]};return qe(sy,s),qe(of,{clickedRef:ru(64),clickPositionRef:nu()}),qe(ly,e),Object.assign(Object.assign({},s),{dialogList:e,dialogInstRefs:t,handleAfterLeave:o})},render(){var e,t;return E(Me,null,[this.dialogList.map(n=>E(my,Uc(n,["destroy","style"],{internalStyle:n.style,to:this.to,ref:r=>{r===null?delete this.dialogInstRefs[`n-dialog-${n.key}`]:this.dialogInstRefs[`n-dialog-${n.key}`]=r},internalKey:n.key,onInternalAfterLeave:this.handleAfterLeave}))),(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e)])}}),xy={margin:"0 0 8px 0",padding:"10px 20px",maxWidth:"720px",minWidth:"420px",iconMargin:"0 10px 0 0",closeMargin:"0 0 0 10px",closeSize:"20px",closeIconSize:"16px",iconSize:"20px",fontSize:"14px"},Cy=e=>{const{textColor2:t,closeIconColor:n,closeIconColorHover:r,closeIconColorPressed:o,infoColor:i,successColor:s,errorColor:l,warningColor:a,popoverColor:c,boxShadow2:u,primaryColor:f,lineHeight:d,borderRadius:v,closeColorHover:p,closeColorPressed:w}=e;return Object.assign(Object.assign({},xy),{closeBorderRadius:v,textColor:t,textColorInfo:t,textColorSuccess:t,textColorError:t,textColorWarning:t,textColorLoading:t,color:c,colorInfo:c,colorSuccess:c,colorError:c,colorWarning:c,colorLoading:c,boxShadow:u,boxShadowInfo:u,boxShadowSuccess:u,boxShadowError:u,boxShadowWarning:u,boxShadowLoading:u,iconColor:t,iconColorInfo:i,iconColorSuccess:s,iconColorWarning:a,iconColorError:l,iconColorLoading:f,closeColorHover:p,closeColorPressed:w,closeIconColor:n,closeIconColorHover:r,closeIconColorPressed:o,closeColorHoverInfo:p,closeColorPressedInfo:w,closeIconColorInfo:n,closeIconColorHoverInfo:r,closeIconColorPressedInfo:o,closeColorHoverSuccess:p,closeColorPressedSuccess:w,closeIconColorSuccess:n,closeIconColorHoverSuccess:r,closeIconColorPressedSuccess:o,closeColorHoverError:p,closeColorPressedError:w,closeIconColorError:n,closeIconColorHoverError:r,closeIconColorPressedError:o,closeColorHoverWarning:p,closeColorPressedWarning:w,closeIconColorWarning:n,closeIconColorHoverWarning:r,closeIconColorPressedWarning:o,closeColorHoverLoading:p,closeColorPressedLoading:w,closeIconColorLoading:n,closeIconColorHoverLoading:r,closeIconColorPressedLoading:o,loadingColor:f,lineHeight:d,borderRadius:v})},wy={name:"Message",common:Xn,self:Cy},Sy=wy,sf={icon:Function,type:{type:String,default:"info"},content:[String,Number,Function],showIcon:{type:Boolean,default:!0},closable:Boolean,keepAliveOnHover:Boolean,onClose:Function,onMouseenter:Function,onMouseleave:Function},_y="n-message-api",lf="n-message-provider",Ey=D([xe("message-wrapper",` + margin: var(--n-margin); + z-index: 0; + transform-origin: top center; + display: flex; + `,[M0({overflow:"visible",originalTransition:"transform .3s var(--n-bezier)",enterToProps:{transform:"scale(1)"},leaveToProps:{transform:"scale(0.85)"}})]),xe("message",` + box-sizing: border-box; + display: flex; + align-items: center; + transition: + color .3s var(--n-bezier), + box-shadow .3s var(--n-bezier), + background-color .3s var(--n-bezier), + opacity .3s var(--n-bezier), + transform .3s var(--n-bezier), + margin-bottom .3s var(--n-bezier); + padding: var(--n-padding); + border-radius: var(--n-border-radius); + flex-wrap: nowrap; + overflow: hidden; + max-width: var(--n-max-width); + color: var(--n-text-color); + background-color: var(--n-color); + box-shadow: var(--n-box-shadow); + `,[G("content",` + display: inline-block; + line-height: var(--n-line-height); + font-size: var(--n-font-size); + `),G("icon",` + position: relative; + margin: var(--n-icon-margin); + height: var(--n-icon-size); + width: var(--n-icon-size); + font-size: var(--n-icon-size); + flex-shrink: 0; + `,[["default","info","success","warning","error","loading"].map(e=>de(`${e}-type`,[D("> *",` + color: var(--n-icon-color-${e}); + transition: color .3s var(--n-bezier); + `)])),D("> *",` + position: absolute; + left: 0; + top: 0; + right: 0; + bottom: 0; + `,[bo()])]),G("close",` + margin: var(--n-close-margin); + transition: + background-color .3s var(--n-bezier), + color .3s var(--n-bezier); + flex-shrink: 0; + `,[D("&:hover",` + color: var(--n-close-icon-color-hover); + `),D("&:active",` + color: var(--n-close-icon-color-pressed); + `)])]),xe("message-container",` + z-index: 6000; + position: fixed; + height: 0; + overflow: visible; + display: flex; + flex-direction: column; + align-items: center; + `,[de("top",` + top: 12px; + left: 0; + right: 0; + `),de("top-left",` + top: 12px; + left: 12px; + right: 0; + align-items: flex-start; + `),de("top-right",` + top: 12px; + left: 0; + right: 12px; + align-items: flex-end; + `),de("bottom",` + bottom: 4px; + left: 0; + right: 0; + justify-content: flex-end; + `),de("bottom-left",` + bottom: 4px; + left: 12px; + right: 0; + justify-content: flex-end; + align-items: flex-start; + `),de("bottom-right",` + bottom: 4px; + left: 0; + right: 12px; + justify-content: flex-end; + align-items: flex-end; + `)])]),$y={info:()=>E(Ii,null),success:()=>E(Ku,null),warning:()=>E(Vu,null),error:()=>E(Uu,null),default:()=>null},Py=Ee({name:"Message",props:Object.assign(Object.assign({},sf),{render:Function}),setup(e){const{inlineThemeDisabled:t,mergedRtlRef:n}=Cn(e),{props:r,mergedClsPrefixRef:o}=ze(lf),i=Fo("Message",n,o),s=nt("Message","-message",Ey,Sy,r,o),l=V(()=>{const{type:c}=e,{common:{cubicBezierEaseInOut:u},self:{padding:f,margin:d,maxWidth:v,iconMargin:p,closeMargin:w,closeSize:y,iconSize:b,fontSize:S,lineHeight:F,borderRadius:_,iconColorInfo:P,iconColorSuccess:z,iconColorWarning:m,iconColorError:C,iconColorLoading:A,closeIconSize:j,closeBorderRadius:W,[ie("textColor",c)]:k,[ie("boxShadow",c)]:Q,[ie("color",c)]:te,[ie("closeColorHover",c)]:ne,[ie("closeColorPressed",c)]:oe,[ie("closeIconColor",c)]:K,[ie("closeIconColorPressed",c)]:re,[ie("closeIconColorHover",c)]:Ce}}=s.value;return{"--n-bezier":u,"--n-margin":d,"--n-padding":f,"--n-max-width":v,"--n-font-size":S,"--n-icon-margin":p,"--n-icon-size":b,"--n-close-icon-size":j,"--n-close-border-radius":W,"--n-close-size":y,"--n-close-margin":w,"--n-text-color":k,"--n-color":te,"--n-box-shadow":Q,"--n-icon-color-info":P,"--n-icon-color-success":z,"--n-icon-color-warning":m,"--n-icon-color-error":C,"--n-icon-color-loading":A,"--n-close-color-hover":ne,"--n-close-color-pressed":oe,"--n-close-icon-color":K,"--n-close-icon-color-pressed":re,"--n-close-icon-color-hover":Ce,"--n-line-height":F,"--n-border-radius":_}}),a=t?Gn("message",V(()=>e.type[0]),l,{}):void 0;return{mergedClsPrefix:o,rtlEnabled:i,messageProviderProps:r,handleClose(){var c;(c=e.onClose)===null||c===void 0||c.call(e)},cssVars:t?void 0:l,themeClass:a==null?void 0:a.themeClass,onRender:a==null?void 0:a.onRender,placement:r.placement}},render(){const{render:e,type:t,closable:n,content:r,mergedClsPrefix:o,cssVars:i,themeClass:s,onRender:l,icon:a,handleClose:c,showIcon:u}=this;l==null||l();let f;return E("div",{class:[`${o}-message-wrapper`,s],onMouseenter:this.onMouseenter,onMouseleave:this.onMouseleave,style:[{alignItems:this.placement.startsWith("top")?"flex-start":"flex-end"},i]},e?e(this.$props):E("div",{class:[`${o}-message ${o}-message--${t}-type`,this.rtlEnabled&&`${o}-message--rtl`]},(f=Ry(a,t,o))&&u?E("div",{class:`${o}-message__icon ${o}-message__icon--${t}-type`},E(ys,null,{default:()=>f})):null,E("div",{class:`${o}-message__content`},tn(r)),n?E(Cs,{clsPrefix:o,class:`${o}-message__close`,onClick:c,absolute:!0}):null))}});function Ry(e,t,n){if(typeof e=="function")return e();{const r=t==="loading"?E(Gu,{clsPrefix:n,strokeWidth:24,scale:.85}):$y[t]();return r?E(xs,{clsPrefix:n,key:t},{default:()=>r}):null}}const Ty=Ee({name:"MessageEnvironment",props:Object.assign(Object.assign({},sf),{duration:{type:Number,default:3e3},onAfterLeave:Function,onLeave:Function,internalKey:{type:String,required:!0},onInternalAfterLeave:Function,onHide:Function,onAfterHide:Function}),setup(e){let t=null;const n=se(!0);Yt(()=>{r()});function r(){const{duration:u}=e;u&&(t=window.setTimeout(s,u))}function o(u){u.currentTarget===u.target&&t!==null&&(window.clearTimeout(t),t=null)}function i(u){u.currentTarget===u.target&&r()}function s(){const{onHide:u}=e;n.value=!1,t&&(window.clearTimeout(t),t=null),u&&u()}function l(){const{onClose:u}=e;u&&u(),s()}function a(){const{onAfterLeave:u,onInternalAfterLeave:f,onAfterHide:d,internalKey:v}=e;u&&u(),f&&f(v),d&&d()}function c(){s()}return{show:n,hide:s,handleClose:l,handleAfterLeave:a,handleMouseleave:i,handleMouseenter:o,deactivate:c}},render(){return E(qu,{appear:!0,onAfterLeave:this.handleAfterLeave,onLeave:this.onLeave},{default:()=>[this.show?E(Py,{content:this.content,type:this.type,icon:this.icon,showIcon:this.showIcon,closable:this.closable,onClose:this.handleClose,onMouseenter:this.keepAliveOnHover?this.handleMouseenter:void 0,onMouseleave:this.keepAliveOnHover?this.handleMouseleave:void 0}):null]})}}),Oy=Object.assign(Object.assign({},nt.props),{to:[String,Object],duration:{type:Number,default:3e3},keepAliveOnHover:Boolean,max:Number,placement:{type:String,default:"top"},closable:Boolean,containerStyle:[String,Object]}),zy=Ee({name:"MessageProvider",props:Oy,setup(e){const{mergedClsPrefixRef:t}=Cn(e),n=se([]),r=se({}),o={create(a,c){return i(a,Object.assign({type:"default"},c))},info(a,c){return i(a,Object.assign(Object.assign({},c),{type:"info"}))},success(a,c){return i(a,Object.assign(Object.assign({},c),{type:"success"}))},warning(a,c){return i(a,Object.assign(Object.assign({},c),{type:"warning"}))},error(a,c){return i(a,Object.assign(Object.assign({},c),{type:"error"}))},loading(a,c){return i(a,Object.assign(Object.assign({},c),{type:"loading"}))},destroyAll:l};qe(lf,{props:e,mergedClsPrefixRef:t}),qe(_y,o);function i(a,c){const u=fs(),f=Xt(Object.assign(Object.assign({},c),{content:a,key:u,destroy:()=>{var v;(v=r.value[u])===null||v===void 0||v.hide()}})),{max:d}=e;return d&&n.value.length>=d&&n.value.shift(),n.value.push(f),f}function s(a){n.value.splice(n.value.findIndex(c=>c.key===a),1),delete r.value[a]}function l(){Object.values(r.value).forEach(a=>{a.hide()})}return Object.assign({mergedClsPrefix:t,messageRefs:r,messageList:n,handleAfterLeave:s},o)},render(){var e,t,n;return E(Me,null,(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e),this.messageList.length?E(Ec,{to:(n=this.to)!==null&&n!==void 0?n:"body"},E("div",{class:[`${this.mergedClsPrefix}-message-container`,`${this.mergedClsPrefix}-message-container--${this.placement}`],key:"message-container",style:this.containerStyle},this.messageList.map(r=>E(Ty,Object.assign({ref:o=>{o&&(this.messageRefs[r.key]=o)},internalKey:r.key,onInternalAfterLeave:this.handleAfterLeave},Uc(r,["destroy"],void 0),{duration:r.duration===void 0?this.duration:r.duration,keepAliveOnHover:r.keepAliveOnHover===void 0?this.keepAliveOnHover:r.keepAliveOnHover,closable:r.closable===void 0?this.closable:r.closable}))))):null)}});/*! + * vue-router v4.2.0 + * (c) 2023 Eduardo San Martin Morote + * @license MIT + */const Pn=typeof window<"u";function Iy(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const ye=Object.assign;function ni(e,t){const n={};for(const r in t){const o=t[r];n[r]=ft(o)?o.map(e):e(o)}return n}const gr=()=>{},ft=Array.isArray,Ay=/\/$/,ky=e=>e.replace(Ay,"");function ri(e,t,n="/"){let r,o={},i="",s="";const l=t.indexOf("#");let a=t.indexOf("?");return l=0&&(a=-1),a>-1&&(r=t.slice(0,a),i=t.slice(a+1,l>-1?l:t.length),o=e(i)),l>-1&&(r=r||t.slice(0,l),s=t.slice(l,t.length)),r=Fy(r??t,n),{fullPath:r+(i&&"?")+i+s,path:r,query:o,hash:s}}function By(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function ha(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function My(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&Hn(t.matched[r],n.matched[o])&&af(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Hn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function af(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Hy(e[n],t[n]))return!1;return!0}function Hy(e,t){return ft(e)?pa(e,t):ft(t)?pa(t,e):e===t}function pa(e,t){return ft(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function Fy(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];(o===".."||o===".")&&r.push("");let i=n.length-1,s,l;for(s=0;s1&&i--;else break;return n.slice(0,i).join("/")+"/"+r.slice(s-(s===r.length?1:0)).join("/")}var Ir;(function(e){e.pop="pop",e.push="push"})(Ir||(Ir={}));var vr;(function(e){e.back="back",e.forward="forward",e.unknown=""})(vr||(vr={}));function Ly(e){if(!e)if(Pn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),ky(e)}const jy=/^[^#]+#/;function Dy(e,t){return e.replace(jy,"#")+t}function Ny(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const jo=()=>({left:window.pageXOffset,top:window.pageYOffset});function Wy(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=Ny(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function ga(e,t){return(history.state?history.state.position-t:-1)+e}const Ai=new Map;function Uy(e,t){Ai.set(e,t)}function Ky(e){const t=Ai.get(e);return Ai.delete(e),t}let Vy=()=>location.protocol+"//"+location.host;function cf(e,t){const{pathname:n,search:r,hash:o}=t,i=e.indexOf("#");if(i>-1){let l=o.includes(e.slice(i))?e.slice(i).length:1,a=o.slice(l);return a[0]!=="/"&&(a="/"+a),ha(a,"")}return ha(n,e)+r+o}function qy(e,t,n,r){let o=[],i=[],s=null;const l=({state:d})=>{const v=cf(e,location),p=n.value,w=t.value;let y=0;if(d){if(n.value=v,t.value=d,s&&s===p){s=null;return}y=w?d.position-w.position:0}else r(v);o.forEach(b=>{b(n.value,p,{delta:y,type:Ir.pop,direction:y?y>0?vr.forward:vr.back:vr.unknown})})};function a(){s=n.value}function c(d){o.push(d);const v=()=>{const p=o.indexOf(d);p>-1&&o.splice(p,1)};return i.push(v),v}function u(){const{history:d}=window;d.state&&d.replaceState(ye({},d.state,{scroll:jo()}),"")}function f(){for(const d of i)d();i=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:a,listen:c,destroy:f}}function va(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?jo():null}}function Gy(e){const{history:t,location:n}=window,r={value:cf(e,n)},o={value:t.state};o.value||i(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(a,c,u){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+a:Vy()+e+a;try{t[u?"replaceState":"pushState"](c,"",d),o.value=c}catch(v){console.error(v),n[u?"replace":"assign"](d)}}function s(a,c){const u=ye({},t.state,va(o.value.back,a,o.value.forward,!0),c,{position:o.value.position});i(a,u,!0),r.value=a}function l(a,c){const u=ye({},o.value,t.state,{forward:a,scroll:jo()});i(u.current,u,!0);const f=ye({},va(r.value,a,null),{position:u.position+1},c);i(a,f,!1),r.value=a}return{location:r,state:o,push:l,replace:s}}function Xy(e){e=Ly(e);const t=Gy(e),n=qy(e,t.state,t.location,t.replace);function r(i,s=!0){s||n.pauseListeners(),history.go(i)}const o=ye({location:"",base:e,go:r,createHref:Dy.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function Yy(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),Xy(e)}function Zy(e){return typeof e=="string"||e&&typeof e=="object"}function uf(e){return typeof e=="string"||typeof e=="symbol"}const Lt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},ff=Symbol("");var ma;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(ma||(ma={}));function Fn(e,t){return ye(new Error,{type:e,[ff]:!0},t)}function Et(e,t){return e instanceof Error&&ff in e&&(t==null||!!(e.type&t))}const ba="[^/]+?",Jy={sensitive:!1,strict:!1,start:!0,end:!0},Qy=/[.+*?^${}()[\]/\\]/g;function ex(e,t){const n=ye({},Jy,t),r=[];let o=n.start?"^":"";const i=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(o+="/");for(let f=0;ft.length?t.length===1&&t[0]===40+40?1:-1:0}function nx(e,t){let n=0;const r=e.score,o=t.score;for(;n0&&t[t.length-1]<0}const rx={type:0,value:""},ox=/[a-zA-Z0-9_]/;function ix(e){if(!e)return[[]];if(e==="/")return[[rx]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(v){throw new Error(`ERR (${n})/"${c}": ${v}`)}let n=0,r=n;const o=[];let i;function s(){i&&o.push(i),i=[]}let l=0,a,c="",u="";function f(){c&&(n===0?i.push({type:0,value:c}):n===1||n===2||n===3?(i.length>1&&(a==="*"||a==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:c,regexp:u,repeatable:a==="*"||a==="+",optional:a==="*"||a==="?"})):t("Invalid state to consume buffer"),c="")}function d(){c+=a}for(;l{s(S)}:gr}function s(u){if(uf(u)){const f=r.get(u);f&&(r.delete(u),n.splice(n.indexOf(f),1),f.children.forEach(s),f.alias.forEach(s))}else{const f=n.indexOf(u);f>-1&&(n.splice(f,1),u.record.name&&r.delete(u.record.name),u.children.forEach(s),u.alias.forEach(s))}}function l(){return n}function a(u){let f=0;for(;f=0&&(u.record.path!==n[f].record.path||!df(u,n[f]));)f++;n.splice(f,0,u),u.record.name&&!Ca(u)&&r.set(u.record.name,u)}function c(u,f){let d,v={},p,w;if("name"in u&&u.name){if(d=r.get(u.name),!d)throw Fn(1,{location:u});w=d.record.name,v=ye(xa(f.params,d.keys.filter(S=>!S.optional).map(S=>S.name)),u.params&&xa(u.params,d.keys.map(S=>S.name))),p=d.stringify(v)}else if("path"in u)p=u.path,d=n.find(S=>S.re.test(p)),d&&(v=d.parse(p),w=d.record.name);else{if(d=f.name?r.get(f.name):n.find(S=>S.re.test(f.path)),!d)throw Fn(1,{location:u,currentLocation:f});w=d.record.name,v=ye({},f.params,u.params),p=d.stringify(v)}const y=[];let b=d;for(;b;)y.unshift(b.record),b=b.parent;return{name:w,path:p,params:v,matched:y,meta:ux(y)}}return e.forEach(u=>i(u)),{addRoute:i,resolve:c,removeRoute:s,getRoutes:l,getRecordMatcher:o}}function xa(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function ax(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:cx(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function cx(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="boolean"?n:n[r];return t}function Ca(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function ux(e){return e.reduce((t,n)=>ye(t,n.meta),{})}function wa(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function df(e,t){return t.children.some(n=>n===e||df(e,n))}const hf=/#/g,fx=/&/g,dx=/\//g,hx=/=/g,px=/\?/g,pf=/\+/g,gx=/%5B/g,vx=/%5D/g,gf=/%5E/g,mx=/%60/g,vf=/%7B/g,bx=/%7C/g,mf=/%7D/g,yx=/%20/g;function _s(e){return encodeURI(""+e).replace(bx,"|").replace(gx,"[").replace(vx,"]")}function xx(e){return _s(e).replace(vf,"{").replace(mf,"}").replace(gf,"^")}function ki(e){return _s(e).replace(pf,"%2B").replace(yx,"+").replace(hf,"%23").replace(fx,"%26").replace(mx,"`").replace(vf,"{").replace(mf,"}").replace(gf,"^")}function Cx(e){return ki(e).replace(hx,"%3D")}function wx(e){return _s(e).replace(hf,"%23").replace(px,"%3F")}function Sx(e){return e==null?"":wx(e).replace(dx,"%2F")}function yo(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function _x(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;oi&&ki(i)):[r&&ki(r)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function Ex(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=ft(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}const $x=Symbol(""),_a=Symbol(""),Es=Symbol(""),bf=Symbol(""),Bi=Symbol("");function nr(){let e=[];function t(r){return e.push(r),()=>{const o=e.indexOf(r);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e,reset:n}}function Wt(e,t,n,r,o){const i=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((s,l)=>{const a=f=>{f===!1?l(Fn(4,{from:n,to:t})):f instanceof Error?l(f):Zy(f)?l(Fn(2,{from:t,to:f})):(i&&r.enterCallbacks[o]===i&&typeof f=="function"&&i.push(f),s())},c=e.call(r&&r.instances[o],t,n,a);let u=Promise.resolve(c);e.length<3&&(u=u.then(a)),u.catch(f=>l(f))})}function oi(e,t,n,r){const o=[];for(const i of e)for(const s in i.components){let l=i.components[s];if(!(t!=="beforeRouteEnter"&&!i.instances[s]))if(Px(l)){const c=(l.__vccOpts||l)[t];c&&o.push(Wt(c,n,r,i,s))}else{let a=l();o.push(()=>a.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${s}" at "${i.path}"`));const u=Iy(c)?c.default:c;i.components[s]=u;const d=(u.__vccOpts||u)[t];return d&&Wt(d,n,r,i,s)()}))}}return o}function Px(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Ea(e){const t=ze(Es),n=ze(bf),r=V(()=>t.resolve(Ct(e.to))),o=V(()=>{const{matched:a}=r.value,{length:c}=a,u=a[c-1],f=n.matched;if(!u||!f.length)return-1;const d=f.findIndex(Hn.bind(null,u));if(d>-1)return d;const v=$a(a[c-2]);return c>1&&$a(u)===v&&f[f.length-1].path!==v?f.findIndex(Hn.bind(null,a[c-2])):d}),i=V(()=>o.value>-1&&zx(n.params,r.value.params)),s=V(()=>o.value>-1&&o.value===n.matched.length-1&&af(n.params,r.value.params));function l(a={}){return Ox(a)?t[Ct(e.replace)?"replace":"push"](Ct(e.to)).catch(gr):Promise.resolve()}return{route:r,href:V(()=>r.value.href),isActive:i,isExactActive:s,navigate:l}}const Rx=Ee({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Ea,setup(e,{slots:t}){const n=Xt(Ea(e)),{options:r}=ze(Es),o=V(()=>({[Pa(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Pa(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&t.default(n);return e.custom?i:E("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},i)}}}),Tx=Rx;function Ox(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function zx(e,t){for(const n in t){const r=t[n],o=e[n];if(typeof r=="string"){if(r!==o)return!1}else if(!ft(o)||o.length!==r.length||r.some((i,s)=>i!==o[s]))return!1}return!0}function $a(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Pa=(e,t,n)=>e??t??n,Ix=Ee({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=ze(Bi),o=V(()=>e.route||r.value),i=ze(_a,0),s=V(()=>{let c=Ct(i);const{matched:u}=o.value;let f;for(;(f=u[c])&&!f.components;)c++;return c}),l=V(()=>o.value.matched[s.value]);qe(_a,V(()=>s.value+1)),qe($x,l),qe(Bi,o);const a=se();return ut(()=>[a.value,l.value,e.name],([c,u,f],[d,v,p])=>{u&&(u.instances[f]=c,v&&v!==u&&c&&c===d&&(u.leaveGuards.size||(u.leaveGuards=v.leaveGuards),u.updateGuards.size||(u.updateGuards=v.updateGuards))),c&&u&&(!v||!Hn(u,v)||!d)&&(u.enterCallbacks[f]||[]).forEach(w=>w(c))},{flush:"post"}),()=>{const c=o.value,u=e.name,f=l.value,d=f&&f.components[u];if(!d)return Ra(n.default,{Component:d,route:c});const v=f.props[u],p=v?v===!0?c.params:typeof v=="function"?v(c):v:null,y=E(d,ye({},p,t,{onVnodeUnmounted:b=>{b.component.isUnmounted&&(f.instances[u]=null)},ref:a}));return Ra(n.default,{Component:y,route:c})||y}}});function Ra(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const yf=Ix;function Ax(e){const t=lx(e.routes,e),n=e.parseQuery||_x,r=e.stringifyQuery||Sa,o=e.history,i=nr(),s=nr(),l=nr(),a=ud(Lt);let c=Lt;Pn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=ni.bind(null,R=>""+R),f=ni.bind(null,Sx),d=ni.bind(null,yo);function v(R,U){let I,X;return uf(R)?(I=t.getRecordMatcher(R),X=U):X=R,t.addRoute(X,I)}function p(R){const U=t.getRecordMatcher(R);U&&t.removeRoute(U)}function w(){return t.getRoutes().map(R=>R.record)}function y(R){return!!t.getRecordMatcher(R)}function b(R,U){if(U=ye({},U||a.value),typeof R=="string"){const x=ri(n,R,U.path),$=t.resolve({path:x.path},U),O=o.createHref(x.fullPath);return ye(x,$,{params:d($.params),hash:yo(x.hash),redirectedFrom:void 0,href:O})}let I;if("path"in R)I=ye({},R,{path:ri(n,R.path,U.path).path});else{const x=ye({},R.params);for(const $ in x)x[$]==null&&delete x[$];I=ye({},R,{params:f(x)}),U.params=f(U.params)}const X=t.resolve(I,U),pe=R.hash||"";X.params=u(d(X.params));const h=By(r,ye({},R,{hash:xx(pe),path:X.path})),g=o.createHref(h);return ye({fullPath:h,hash:pe,query:r===Sa?Ex(R.query):R.query||{}},X,{redirectedFrom:void 0,href:g})}function S(R){return typeof R=="string"?ri(n,R,a.value.path):ye({},R)}function F(R,U){if(c!==R)return Fn(8,{from:U,to:R})}function _(R){return m(R)}function P(R){return _(ye(S(R),{replace:!0}))}function z(R){const U=R.matched[R.matched.length-1];if(U&&U.redirect){const{redirect:I}=U;let X=typeof I=="function"?I(R):I;return typeof X=="string"&&(X=X.includes("?")||X.includes("#")?X=S(X):{path:X},X.params={}),ye({query:R.query,hash:R.hash,params:"path"in X?{}:R.params},X)}}function m(R,U){const I=c=b(R),X=a.value,pe=R.state,h=R.force,g=R.replace===!0,x=z(I);if(x)return m(ye(S(x),{state:typeof x=="object"?ye({},pe,x.state):pe,force:h,replace:g}),U||I);const $=I;$.redirectedFrom=U;let O;return!h&&My(r,X,I)&&(O=Fn(16,{to:$,from:X}),Se(X,X,!0,!1)),(O?Promise.resolve(O):j($,X)).catch(B=>Et(B)?Et(B,2)?B:we(B):re(B,$,X)).then(B=>{if(B){if(Et(B,2))return m(ye({replace:g},S(B.to),{state:typeof B.to=="object"?ye({},pe,B.to.state):pe,force:h}),U||$)}else B=k($,X,!0,g,pe);return W($,X,B),B})}function C(R,U){const I=F(R,U);return I?Promise.reject(I):Promise.resolve()}function A(R){const U=ht.values().next().value;return U&&typeof U.runWithContext=="function"?U.runWithContext(R):R()}function j(R,U){let I;const[X,pe,h]=kx(R,U);I=oi(X.reverse(),"beforeRouteLeave",R,U);for(const x of X)x.leaveGuards.forEach($=>{I.push(Wt($,R,U))});const g=C.bind(null,R,U);return I.push(g),fe(I).then(()=>{I=[];for(const x of i.list())I.push(Wt(x,R,U));return I.push(g),fe(I)}).then(()=>{I=oi(pe,"beforeRouteUpdate",R,U);for(const x of pe)x.updateGuards.forEach($=>{I.push(Wt($,R,U))});return I.push(g),fe(I)}).then(()=>{I=[];for(const x of R.matched)if(x.beforeEnter&&!U.matched.includes(x))if(ft(x.beforeEnter))for(const $ of x.beforeEnter)I.push(Wt($,R,U));else I.push(Wt(x.beforeEnter,R,U));return I.push(g),fe(I)}).then(()=>(R.matched.forEach(x=>x.enterCallbacks={}),I=oi(h,"beforeRouteEnter",R,U),I.push(g),fe(I))).then(()=>{I=[];for(const x of s.list())I.push(Wt(x,R,U));return I.push(g),fe(I)}).catch(x=>Et(x,8)?x:Promise.reject(x))}function W(R,U,I){for(const X of l.list())A(()=>X(R,U,I))}function k(R,U,I,X,pe){const h=F(R,U);if(h)return h;const g=U===Lt,x=Pn?history.state:{};I&&(X||g?o.replace(R.fullPath,ye({scroll:g&&x&&x.scroll},pe)):o.push(R.fullPath,pe)),a.value=R,Se(R,U,I,g),we()}let Q;function te(){Q||(Q=o.listen((R,U,I)=>{if(!Xe.listening)return;const X=b(R),pe=z(X);if(pe){m(ye(pe,{replace:!0}),X).catch(gr);return}c=X;const h=a.value;Pn&&Uy(ga(h.fullPath,I.delta),jo()),j(X,h).catch(g=>Et(g,12)?g:Et(g,2)?(m(g.to,X).then(x=>{Et(x,20)&&!I.delta&&I.type===Ir.pop&&o.go(-1,!1)}).catch(gr),Promise.reject()):(I.delta&&o.go(-I.delta,!1),re(g,X,h))).then(g=>{g=g||k(X,h,!1),g&&(I.delta&&!Et(g,8)?o.go(-I.delta,!1):I.type===Ir.pop&&Et(g,20)&&o.go(-1,!1)),W(X,h,g)}).catch(gr)}))}let ne=nr(),oe=nr(),K;function re(R,U,I){we(R);const X=oe.list();return X.length?X.forEach(pe=>pe(R,U,I)):console.error(R),Promise.reject(R)}function Ce(){return K&&a.value!==Lt?Promise.resolve():new Promise((R,U)=>{ne.add([R,U])})}function we(R){return K||(K=!R,te(),ne.list().forEach(([U,I])=>R?I(R):U()),ne.reset()),R}function Se(R,U,I,X){const{scrollBehavior:pe}=e;if(!Pn||!pe)return Promise.resolve();const h=!I&&Ky(ga(R.fullPath,0))||(X||!I)&&history.state&&history.state.scroll||null;return kn().then(()=>pe(R,U,h)).then(g=>g&&Wy(g)).catch(g=>re(g,R,U))}const Te=R=>o.go(R);let rt;const ht=new Set,Xe={currentRoute:a,listening:!0,addRoute:v,removeRoute:p,hasRoute:y,getRoutes:w,resolve:b,options:e,push:_,replace:P,go:Te,back:()=>Te(-1),forward:()=>Te(1),beforeEach:i.add,beforeResolve:s.add,afterEach:l.add,onError:oe.add,isReady:Ce,install(R){const U=this;R.component("RouterLink",Tx),R.component("RouterView",yf),R.config.globalProperties.$router=U,Object.defineProperty(R.config.globalProperties,"$route",{enumerable:!0,get:()=>Ct(a)}),Pn&&!rt&&a.value===Lt&&(rt=!0,_(o.location).catch(pe=>{}));const I={};for(const pe in Lt)I[pe]=V(()=>a.value[pe]);R.provide(Es,U),R.provide(bf,Xt(I)),R.provide(Bi,a);const X=R.unmount;ht.add(R),R.unmount=function(){ht.delete(R),ht.size<1&&(c=Lt,Q&&Q(),Q=null,a.value=Lt,rt=!1,K=!1),X()}}};function fe(R){return R.reduce((U,I)=>U.then(()=>A(I)),Promise.resolve())}return Xe}function kx(e,t){const n=[],r=[],o=[],i=Math.max(t.matched.length,e.matched.length);for(let s=0;sHn(c,l))?r.push(l):n.push(l));const a=e.matched[s];a&&(t.matched.find(c=>Hn(c,a))||o.push(a))}return[n,r,o]}const Bx=Ee({__name:"App",setup(e){const t={common:{primaryColor:"#2080F0FF",primaryColorHover:"#4098FCFF",primaryColorPressed:"#1060C9FF",primaryColorSuppl:"#4098FCFF"}};return(n,r)=>(os(),is(Ct(ey),{"theme-overrides":t},{default:ro(()=>[Fe(Ct(yy),null,{default:ro(()=>[Fe(Ct(zy),null,{default:ro(()=>[Fe(Ct(yf))]),_:1})]),_:1})]),_:1}))}}),Mx="modulepreload",Hx=function(e){return"/web/"+e},Ta={},Fx=function(t,n,r){if(!n||n.length===0)return t();const o=document.getElementsByTagName("link");return Promise.all(n.map(i=>{if(i=Hx(i),i in Ta)return;Ta[i]=!0;const s=i.endsWith(".css"),l=s?'[rel="stylesheet"]':"";if(!!r)for(let u=o.length-1;u>=0;u--){const f=o[u];if(f.href===i&&(!s||f.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${l}`))return;const c=document.createElement("link");if(c.rel=s?"stylesheet":Mx,s||(c.as="script",c.crossOrigin=""),c.href=i,document.head.appendChild(c),s)return new Promise((u,f)=>{c.addEventListener("load",u),c.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${i}`)))})})).then(()=>t())},Lx=Ax({history:Yy("/web"),routes:[{path:"/",name:"chat",component:()=>Fx(()=>import("./index-020e1a7c.js"),[])}]}),$s=Gh(Bx);ap($s);$s.use(Lx);$s.mount("#app");export{wu as $,ou as A,E as B,Mp as C,ag as D,kn as E,vs as F,Un as G,Bm as H,Su as I,bs as J,km as K,dg as L,vo as M,ev as N,Vn as O,db as P,dv as Q,Mr as R,Ou as S,Mn as T,ko as U,la as V,$u as W,qn as X,Ru as Y,Kn as Z,yn as _,dt as a,fs as a$,Cu as a0,Pi as a1,xu as a2,a0 as a3,tv as a4,mn as a5,Hr as a6,Xn as a7,xe as a8,G as a9,Fo as aA,Cs as aB,ml as aC,bo as aD,Ho as aE,ys as aF,gl as aG,Gu as aH,Xx as aI,F0 as aJ,jg as aK,T0 as aL,Fl as aM,cp as aN,Br as aO,Qx as aP,us as aQ,hc as aR,go as aS,tn as aT,O0 as aU,Ci as aV,qx as aW,Vx as aX,Qu as aY,Zu as aZ,Di as a_,D as aa,Cn as ab,nt as ac,Gn as ad,xs as ae,ie as af,Si as ag,de as ah,Zx as ai,Ji as aj,Gt as ak,og as al,al as am,cs as an,xp as ao,Mg as ap,ls as aq,yt as ar,Me as as,e1 as at,yp as au,It as av,Er as aw,po as ax,un as ay,Vr as az,Xt as b,Zc as b0,Np as b1,bp as b2,_y as b3,Ku as b4,Uu as b5,Vu as b6,Ii as b7,qu as b8,da as b9,M0 as ba,Ec as bb,Ux as bc,os as bd,Nx as be,jx as bf,Kx as bg,Ct as bh,is as bi,ro as bj,Fe as bk,gy as bl,Tc as bm,dc as bn,vc as bo,gc as bp,Oe as bq,Dx as br,Wx as bs,Ni as bt,V as c,bn as d,Ve as e,Ot as f,it as g,Qc as h,eu as i,Gx as j,ze as k,tg as l,eg as m,Ee as n,Yt as o,ng as p,qe as q,se as r,Ar as s,El as t,_i as u,ui as v,ut as w,Jx as x,Ao as y,zt as z}; diff --git a/web/assets/setting-c6ca7b14.svg b/web/assets/setting-c6ca7b14.svg new file mode 100644 index 0000000000..2e48a90cb5 --- /dev/null +++ b/web/assets/setting-c6ca7b14.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web/chat.html b/web/chat.html deleted file mode 100644 index 096efcbf77..0000000000 --- a/web/chat.html +++ /dev/null @@ -1,128 +0,0 @@ - - - - - - BingAI - 聊天 - - - - - - - - - - - - - - - - - - - -
-
-
-
-
- - -
-
-
-
-
- - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/web/compose.html b/web/compose.html index a60ba998e8..b53bb43a34 100644 --- a/web/compose.html +++ b/web/compose.html @@ -12,7 +12,7 @@ + +
+
+
+
+
+ + + + + + \ No newline at end of file diff --git a/web/js/bing/chat/amd.js b/web/js/bing/chat/amd.js new file mode 100644 index 0000000000..c15dde7325 --- /dev/null +++ b/web/js/bing/chat/amd.js @@ -0,0 +1,2 @@ +/* eslint-disable */ +var amd,define,require;(function(n){function e(n,i,u){t[n]||(t[n]={dependencies:i,callback:u},r(n))}function r(n){if(n){if(n)return u(n)}else{if(!f){for(var r in t)u(r);f=!0}return i}}function u(n){var s,e;if(i[n])return i[n];if(t.hasOwnProperty(n)){var h=t[n],f=h.dependencies,l=h.callback,a=r,o={},c=[a,o];if(f.length<2)throw"invalid usage";else if(f.length>2)for(s=f.slice(2,f.length),e=0;e0)for(o=!1,f=0;f=0?encodeURIComponent(atob(decodeURIComponent(h[1]))):h[1])):f=encodeURIComponent(n[u]("href")),clc.furl&&!n[u]("data-private")?o+="&url="+f:clc.mfurl&&(o+="&abc="+f));r&&(o+="&source="+r);c="";clc.mc&&(c="&c="+ctcc++);l="&"+o+c;_w.si_sbwu(l)||_w[e]&&_w[e](l,n,i,s);break}if(t)break}}catch(v){_w.SharedLogHelper?SharedLogHelper.LogWarning("clickEX",null,v):(new Image).src=_G.lsUrl+'&Type=Event.ClientInst&DATA=[{"T":"CI.Warning","FID":"CI","Name":"JSWarning","Text":'+v.message+"}]"}return!0};_w.si_sbwu||(_w.si_sbwu=function(){return!1}),function(){_w._G&&(_G.si_ct_e="click")}();var wlc_d = 1500, wlc_t =63819372483;;var perf;(function(n){function f(n){return i.hasOwnProperty(n)?i[n]:n}function e(n){var t="S";return n==0?t="P":n==2&&(t="M"),t}function o(n){for(var c,i=[],t={},r,l=0;l").concat(i,"<\/TS><\/D><\/E>"),s="".concat(h,"<\/Events>").concat(i,"<\/STS><\/ClientInstRequest>"),u=!_w.navigator||!navigator[o];if(!u)try{navigator[o](e,s)}catch(c){u=!0}u&&(r=sj_gx(),r.open("POST",e,!0),r.setRequestHeader("Content-Type","text/xml"),r.send(s))}}(window.perf);var perf;(function(n){function a(){return c(Math.random()*1e4)}function o(){return y?c(f.now())+l:+new Date}function v(n,r,f){t.length===0&&i&&sb_st(u,1e3);t.push({k:n,v:r,t:f})}function p(n){return i||(r=n),!i}function w(n,t){t||(t=o());v(n,t,0)}function b(n,t){v(n,t,1)}function u(){var u,f;if(t.length){for(u=0;u=0){for(r in f)h=f[r],typeof h=="number"&&h>0&&r!=="navigationStart"&&r!==s&&u.mark(r,h);_G.FCT&&u.mark("FN",_G.FCT);_G.BCT&&u.mark("BN",_G.BCT)}u.record("nav",s in f?f[s]:performance[s].type)}e="connection";c="";_w.navigator&&navigator[e]&&(c=',"net":"'.concat(navigator[e].type,'"'),navigator[e].downlinkMax&&(c+=',"dlMax":"'.concat(navigator[e].downlinkMax,'"')));_G.PPImg=new Image;_G.PPImg.src=_G.lsUrl+'&Type=Event.CPT&DATA={"pp":{"S":"'+(t||"L")+'",'+o.join(",")+',"CT":'+(n-_G.ST)+',"IL":'+_d.images.length+"}"+(_G.C1?","+_G.C1:"")+c+"}"+(_G.P?"&P="+_G.P:"")+(_G.DA?"&DA="+_G.DA:"")+(_G.MN?"&MN="+_G.MN:"");_G.PPS=1;sb_st(function(){u&&u.flush();sj_evt.fire("onPP");sj_evt.fire(_w.p1)},1)}};_w.onbeforeunload=function(){si_PP(new Date,"A")};sj_evt.bind("ajax.requestSent",function(){window.perf&&perf.reset()});var sj_log=function(n,t,i){var r=new RegExp('"',"g");(new Image).src=_G.lsUrl+'&Type=Event.ClientInst&DATA=[{"T":"'+n+'","FID":"CI","Name":"'+t+'","Text":"'+escape(i.replace(r,""))+'"}]'};var BM=BM||{},adrule="."+_G.adc+" > ul";BM.rules={".b_scopebar":[0,80,0],".b_logo":[-1,-1,0],".b_searchboxForm":[100,19,0],"#id_h":[-1,-1,0],"#b_tween":[-1,-1,1],"#b_results":[100,-1,1],"#b_context":[710,-1,1],"#b_navheader":[-1,-1,0],"#bfb-answer":[-1,-1,1],".tab-menu > ul":[-1,-1,1],".b_footer":[0,-1,0],"#b_notificationContainer":[-1,-1,0],"#ajaxMaskLayer":[-1,-1,0],"img,div[data-src],.rms_img":[-1,-1,0],iframe:[-1,-1,0]};BM.rules[adrule]=[-1,-1,1];var BM=BM||{};(function(n){function u(n,u){n in t||(t[n]=[]);!u.compute||n in r||(r[n]=u.compute);!u.unload||n in i||(i[n]=u.unload);u.load&&u.load()}function f(n,i){t[n].push({t:s(),i:i})}function e(n){return n in i&&i[n](),n in t?t[n]:void 0}function o(){for(var n in r)r[n]()}function s(){return window.performance&&performance.now?Math.round(performance.now()):new Date-window.si_ST}var t={},i={},r={};n.wireup=u;n.enqueue=f;n.dequeue=e;n.trigger=o})(BM);(function(n){function i(){var i=document.documentElement,r=document.body,u="innerWidth"in window?window.innerWidth:i.clientWidth,f="innerHeight"in window?window.innerHeight:i.clientHeight,e=window.pageXOffset||i.scrollLeft,o=window.pageYOffset||i.scrollTop,s=document.visibilityState||"default";n.enqueue(t,{x:e,y:o,w:u,h:f,dw:r.clientWidth,dh:r.clientHeight,v:s})}var t="V";n.wireup(t,{load:null,compute:i,unload:null})})(BM);(function(n){function i(){var e,o,u,s,f,r;if(document.querySelector&&document.querySelectorAll){e=[];o=n.rules;for(u in o)for(s=o[u],u+=!s[2]?"":" >*",f=document.querySelectorAll(u),r=0;r 0 ? n.split('&') : [], + h = s.length, + i = null; + for (u = 0; u < h; u++) + (f = s[u]), (e = f.indexOf('=')), e > 0 && ((i = f.substr(0, e)), i.charAt(0) == '?' && (i = i.substr(1)), i && ((i = i.toLowerCase()), (r[i] = f.substr(e + 1)))); + return t && ((o = r.first), (r.first = null == o || o == '0' ? 1 : parseInt(o))), r; +} +function parseQueryParams() { + var n = ''; + return ( + (n = typeof Bing != 'undefined' && Bing.Url && Bing.Location ? Bing.Url.getQueryString(Bing.Location.get()) : _w.location.search.substring(1)), parseQueryParamsFromQuery(n) + ); +} +function convertQueryParamsToUrlStr(n, t) { + t === void 0 && (t = null); + var i = t ? t : _w.location.pathname.replace(/^\/+/, '/'); + return i + '?' + queryParamsToString(n); +} +function queryParamsToString(n) { + for (var e, o, r, u, s, f, t = [], i = 1; i < arguments.length; i++) t[i - 1] = arguments[i]; + if (((e = []), (u = t.length), u == 0)) for (s in n) n.hasOwnProperty(s) && (t.push(s), u++); + for (f = 0; f < u; f++) (o = t[f]), (r = n[o]), (r || r === 0) && e.push(o + '=' + r); + return e.join('&'); +} +function getCurrentQuery() { + if (!currentQuery) { + var n = parseQueryParams(); + currentQuery = n.q; + } + return currentQuery; +} +function extractDomainFromUrl(n, t, i) { + var r, u, f, e; + return typeof n != 'string' + ? null + : ((r = n), + (u = r.indexOf('://')), + u >= 0 && !t && ((r = r.substr(u + 3)), (u = -1)), + (u = u >= 0 ? u + 3 : 0), + (f = r.indexOf(':', u)), + f >= 0 && (r = r.substr(0, f)), + (f = r.indexOf('/', u)), + f >= 0 && (r = r.substr(0, f)), + (e = i ? r.indexOf('www.') : -1), + e >= 0 && (r = r.substr(u + 4)), + r); +} +function addCommonPersistedParams(n) { + var i = parseQueryParams(), + t = queryParamsToString( + i, + 'atlahostname', + 'cdghostname', + 'thhostname', + 'testhooks', + 'adlt', + 'akamaithumb', + 'safesearch', + 'perf', + 'mockimages', + 'mobile', + 'anid', + 'isuserauth', + 'uncrunched', + 'clientid', + 'currentdate', + 'iss' + ), + r = n.indexOf('?') === -1 ? '?' : '&'; + return (t = t.length > 0 ? r + t : ''), n + t; +} +var currentQuery = null; +var fab_config = { fabStyle: 1, fabSbAction: 'FocusSearchBox', fabSbActionHover: 'None', fabSbActionData: 'None', fabTooltip: '', micFabAlwaysVisible: false, fabClickNoAS: true }; +sj_be( + _w, + 'click', + function () { + _G.UIWP = true; + }, + 1 +); diff --git a/web/js/bing/chat/core.js b/web/js/bing/chat/core.js new file mode 100644 index 0000000000..b302e430f1 --- /dev/null +++ b/web/js/bing/chat/core.js @@ -0,0 +1,20 @@ +/* eslint-disable */ +(function (n, t) { + onload = function () { + _G.BPT = new Date(); + // n && n(); + !_w.sb_ppCPL && + t && + sb_st(function () { + t(new Date()); + }, 0); + }; +})(_w.onload, _w.si_PP); +_w.rms.js( + { 'A:rms:answers:Shared:BingCore.Bundle': '/rp/oJ7sDoXkkNOICsnFb57ZJHBrHcw.br.js' }, + { 'A:rms:answers:Web:SydneyFSCHelper': '/rp/zIWGH0CtsF1-0jQOvc01HUV4uVQ.br.js' }, + { 'A:rms:answers:VisualSystem:ConversationScope': '/rp/YFRe970EMtFzujI9pBYZBGpdHEo.br.js' }, + { 'A:rms:answers:CodexBundle:cib-bundle': '/rp/w7_rwsxIfLFmlNCVn4MbZuevoMI.br.js' }, + { 'A:rms:answers:SharedStaticAssets:speech-sdk': '/rp/6slp3E-BqFf904Cz6cCWPY1bh9E.br.js' }, + { 'A:rms:answers:Web:SydneyFullScreenConv': '/rp/gyKl-0hbVjb5hHMqC3ZejA90ZN4.br.js' }, +); diff --git a/web/js/bing/chat/global.js b/web/js/bing/chat/global.js new file mode 100644 index 0000000000..4139e15b92 --- /dev/null +++ b/web/js/bing/chat/global.js @@ -0,0 +1,63 @@ +/* eslint-disable */ +try { + const logPathReg = new RegExp('/fd/ls/|/web/xls.aspx'); + const _oldSendBeacon = navigator.sendBeacon; + navigator.sendBeacon = function (url, data) { + if (logPathReg.test(url)) { + return true; + } + return _oldSendBeacon.call(this, url, data); + }; + const xhrOpen = window.XMLHttpRequest.prototype.open; + window.XMLHttpRequest.prototype.open = function (method, url) { + if (logPathReg.test(url)) { + this.isLog = true; + } + return xhrOpen.call(this, method, url); + }; + const xhrSend = window.XMLHttpRequest.prototype.send; + window.XMLHttpRequest.prototype.send = function (body) { + if (this.isLog) { + return this.abort(); + } + return xhrSend.call(this, body); + }; + // const OriginalImage = Image; + // Image = function () { + // const image = new OriginalImage(); + // const originalSet = image.__proto__.__lookupSetter__('src'); + // image.__proto__.__defineSetter__('src', function (value) { + // if (logPathReg.test(value)) { + // return; + // } + // originalSet.call(this, value); + // }); + // return image; + // }; +} catch (error) { + console.error(error); +}; +_G = { + Region: 'US', + Lang: 'zh-CN', + ST: typeof si_ST !== 'undefined' ? si_ST : new Date(), + Mkt: 'en-US', + RevIpCC: 'us', + RTL: false, + Ver: '20', + IG: '0', + EventID: '645c60c3f55a42549d538c31cf5dd366', + V: 'web', + P: 'SERP', + DA: 'PUSE01', + SUIH: 'FfN6lYBDNDOEzj4vnSOJqQ', + adc: 'b_ad', + EF: { cookss: 1, bmcov: 1, crossdomainfix: 1, bmasynctrigger: 1, bmasynctrigger3: 1, newtabsloppyclick: 1, chevroncheckmousemove: 1 }, + gpUrl: '/fd/ls/GLinkPing.aspx?', +}; +_G.lsUrl = '/fd/ls/l?IG=' + _G.IG; +curUrl = '/search'; +function si_T(a) { + return true; +} +_G.CTT = '3000'; diff --git a/web/js/bing/chat/lib.js b/web/js/bing/chat/lib.js new file mode 100644 index 0000000000..02b3fd7413 --- /dev/null +++ b/web/js/bing/chat/lib.js @@ -0,0 +1,97 @@ +/* eslint-disable */ +var Lib; +(function (n) { + var t; + (function (n) { + function u(n, t) { + var r, i; + if (t == null || n == null) throw new TypeError('Null element passed to Lib.CssClass'); + if (n.indexOf) return n.indexOf(t); + for (r = n.length, i = 0; i < r; i++) if (n[i] === t) return i; + return -1; + } + function f(n, u) { + if (n == null) throw new TypeError('Null element passed to Lib.CssClass. add className:' + u); + if (!i(n, u)) + if (r && n.classList) n.classList.add(u); + else { + var f = t(n) + ' ' + u; + o(n, f); + } + } + function e(n, f) { + var e, s, h; + if (n == null) + throw new TypeError('Null element passed to Lib.CssClass. remove className:' + f); + i(n, f) && + (r && n.classList + ? n.classList.remove(f) + : ((e = t(n).split(' ')), + (s = u(e, f)), + s >= 0 && e.splice(s, 1), + (h = e.join(' ')), + o(n, h))); + } + function s(n, t) { + if (n == null) + throw new TypeError('Null element passed to Lib.CssClass. toggle className:' + t); + r && n.classList ? n.classList.toggle(t) : i(n, t) ? e(n, t) : f(n, t); + } + function i(n, i) { + var f, e; + if (n == null) + throw new TypeError('Null element passed to Lib.CssClass. contains className:' + i); + return r && n.classList + ? n.classList.contains(i) + : ((f = t(n)), f) + ? ((e = f.split(' ')), u(e, i) >= 0) + : !1; + } + function h(n, i) { + var f, e, r, u, o; + if (n.getElementsByClassName) return n.getElementsByClassName(i); + for (f = n.getElementsByTagName('*'), e = [], r = 0; r < f.length; r++) + (u = f[r]), u && ((o = t(u)), o && o.indexOf(i) !== -1 && e.push(u)); + return e; + } + function o(n, t) { + n instanceof SVGElement ? n.setAttribute('class', t) : (n.className = t); + } + function t(n) { + return n instanceof SVGElement ? n.getAttribute('class') : n.className; + } + var r = typeof document.body.classList != 'undefined'; + n.add = f; + n.remove = e; + n.toggle = s; + n.contains = i; + n.getElementByClassName = h; + n.getClassAttribute = t; + })((t = n.CssClass || (n.CssClass = {}))); +})(Lib || (Lib = {})); + +function getBrowserWidth() { + var t = _d.documentElement, + n = Math.round(_w.innerWidth || t.clientWidth); + return n < 100 && (n = 1496), n; +} +function getBrowserHeight() { + var t = _d.documentElement, + n = Math.round(_w.innerHeight || t.clientHeight); + return n < 100 && (n = 796), n; +} +function getBrowserScrollWidth() { + var n = Math.round(_d.body.clientWidth); + return n < 100 && (n = 1496), n; +} +function getBrowserScrollHeight() { + var n = Math.round(_d.body.clientHeight); + return n < 100 && (n = 796), n; +} + +window.ClientObserver = { + getBrowserWidth: getBrowserWidth, + getBrowserHeight: getBrowserHeight, + getBrowserScrollWidth: getBrowserScrollWidth, + getBrowserScrollHeight: getBrowserScrollHeight +}; diff --git a/web/js/index.js b/web/js/index.js deleted file mode 100644 index c00a5c4bdf..0000000000 --- a/web/js/index.js +++ /dev/null @@ -1,259 +0,0 @@ -var Lib; -(function (n) { - var t; - (function (n) { - function u(n, t) { - var r, i; - if (t == null || n == null) throw new TypeError('Null element passed to Lib.CssClass'); - if (n.indexOf) return n.indexOf(t); - for (r = n.length, i = 0; i < r; i++) if (n[i] === t) return i; - return -1; - } - function f(n, u) { - if (n == null) throw new TypeError('Null element passed to Lib.CssClass. add className:' + u); - if (!i(n, u)) - if (r && n.classList) n.classList.add(u); - else { - var f = t(n) + ' ' + u; - o(n, f); - } - } - function e(n, f) { - var e, s, h; - if (n == null) throw new TypeError('Null element passed to Lib.CssClass. remove className:' + f); - i(n, f) && (r && n.classList ? n.classList.remove(f) : ((e = t(n).split(' ')), (s = u(e, f)), s >= 0 && e.splice(s, 1), (h = e.join(' ')), o(n, h))); - } - function s(n, t) { - if (n == null) throw new TypeError('Null element passed to Lib.CssClass. toggle className:' + t); - r && n.classList ? n.classList.toggle(t) : i(n, t) ? e(n, t) : f(n, t); - } - function i(n, i) { - var f, e; - if (n == null) throw new TypeError('Null element passed to Lib.CssClass. contains className:' + i); - return r && n.classList ? n.classList.contains(i) : ((f = t(n)), f) ? ((e = f.split(' ')), u(e, i) >= 0) : !1; - } - function h(n, i) { - var f, e, r, u, o; - if (n.getElementsByClassName) return n.getElementsByClassName(i); - for (f = n.getElementsByTagName('*'), e = [], r = 0; r < f.length; r++) (u = f[r]), u && ((o = t(u)), o && o.indexOf(i) !== -1 && e.push(u)); - return e; - } - function o(n, t) { - n instanceof SVGElement ? n.setAttribute('class', t) : (n.className = t); - } - function t(n) { - return n instanceof SVGElement ? n.getAttribute('class') : n.className; - } - var r = typeof document.body.classList != 'undefined'; - n.add = f; - n.remove = e; - n.toggle = s; - n.contains = i; - n.getElementByClassName = h; - n.getClassAttribute = t; - })((t = n.CssClass || (n.CssClass = {}))); -})(Lib || (Lib = {})); - -function getBrowserWidth() { - var t = _d.documentElement, - n = Math.round(_w.innerWidth || t.clientWidth); - return n < 100 && (n = 1496), n; -} -function getBrowserHeight() { - var t = _d.documentElement, - n = Math.round(_w.innerHeight || t.clientHeight); - return n < 100 && (n = 796), n; -} -function getBrowserScrollWidth() { - var n = Math.round(_d.body.clientWidth); - return n < 100 && (n = 1496), n; -} -function getBrowserScrollHeight() { - var n = Math.round(_d.body.clientHeight); - return n < 100 && (n = 796), n; -} - -window.ClientObserver = { - getBrowserWidth: getBrowserWidth, - getBrowserHeight: getBrowserHeight, - getBrowserScrollWidth: getBrowserScrollWidth, - getBrowserScrollHeight: getBrowserScrollHeight, -}; - -function getCookie(name) { - const v = document.cookie.match('(^|;) ?' + name + '=([^;]*)(;|$)'); - return v ? v[2] : null; -} - -function setCookie(name, value, minutes = 0, path = '/', domain = '') { - let cookie = name + '=' + value + ';path=' + path; - if (domain) { - cookie += ';domain=' + domain; - } - if (minutes > 0) { - const d = new Date(); - d.setTime(d.getTime() + minutes * 60 * 1000); - cookie += ';expires=' + d.toUTCString(); - } - document.cookie = cookie; -} - -async function registerSW() { - if ('serviceWorker' in navigator && workbox) { - window.addEventListener('load', async function () { - const wb = new workbox.Workbox('sw.js'); - let oldSWVersion; - wb.addEventListener('installed', async function (event) { - console.log('Service Worker 安装成功:', event); - const newSWVersion = await wb.messageSW({ type: 'GET_VERSION' }); - if (newSWVersion !== oldSWVersion) { - await clearCache(); - alert(`新版本 ${newSWVersion} 已就绪,刷新后即可体验 !`); - window.location.reload(); - } - }); - - wb.addEventListener('activated', function (event) { - console.log('Service Worker 激活成功:', event); - }); - - wb.addEventListener('updated', function (event) { - console.log('Service Worker 更新成功:', event); - }); - const swRegistration = await wb.register(); - oldSWVersion = await wb.messageSW({ type: 'GET_VERSION' }); - console.log('Service Worker Version:', oldSWVersion); - }); - } -} -registerSW(); - -const sleep = (timeout) => new Promise((resolve, reject) => setTimeout(resolve, timeout)); -function getConversationExpiry() { - const B = new Date(); - return B.setMinutes(B.getMinutes() + CIB.config.sydney.expiryInMinutes), B; -} -const maxTryCreateConversationIdCount = 10; -async function tryCreateConversationId(trycount = 0) { - if (trycount >= maxTryCreateConversationIdCount) { - console.log(`已重试 ${trycount} 次,自动创建停止`); - return; - } - const conversationRes = await fetch('/turing/conversation/create', { - credentials: 'include', - }) - .then((res) => res.json()) - .catch((err) => `error`); - if (conversationRes?.result?.value === 'Success') { - console.log('成功创建会话ID : ', conversationRes.conversationId); - CIB.manager.conversation.updateId(conversationRes.conversationId, getConversationExpiry(), conversationRes.clientId, conversationRes.conversationSignature); - } else { - await sleep(300); - trycount += 1; - console.log(`开始第 ${trycount} 次重试创建会话ID`); - setCookie('BingAI_Rand_IP', '', -1); - tryCreateConversationId(trycount); - } -} - -function hideLoading() { - const loadingEle = document.querySelector('.loading-spinner'); - loadingEle.addEventListener('transitionend', function () { - loadingEle.remove(); - }); - loadingEle.classList.add('hidden'); -} - -async function clearCache() { - // del storage - localStorage.clear(); - sessionStorage.clear(); - // del sw - const cacheKeys = await caches.keys(); - for (const cacheKey of cacheKeys) { - await caches.open(cacheKey).then(async (cache) => { - const requests = await cache.keys(); - return await Promise.all( - requests.map((request) => { - console.log(`del cache : `, request.url); - return cache.delete(request); - }) - ); - }); - } -} - -(function () { - var config = { cookLoc: {} }; - sj_evt.bind( - 'sydFSC.init', - () => { - var SydFSCModule = false ? SydneyFullScreenConvMob : SydneyFullScreenConv; - if (SydFSCModule && SydFSCModule.initWithWaitlistUpdate) { - SydFSCModule.initWithWaitlistUpdate(config, 10); - - // 隐藏加载中 - hideLoading(); - - // 支持 localhost 可开发调试用 - if (location.hostname === 'localhost') { - CIB.config.sydney.hostnamesToBypassSecureConnection = CIB.config.sydney.hostnamesToBypassSecureConnection.filter((x) => x !== location.hostname); - } - - // todo 反馈暂时无法使用,先移除 - document - .querySelector('cib-serp') - .shadowRoot.querySelector('cib-conversation') - .shadowRoot.querySelector('cib-welcome-container') - .shadowRoot.querySelector('.learn-tog-item') - .remove(); - document.querySelector('cib-serp').shadowRoot.querySelector('cib-serp-feedback').remove(); - // 移除顶部背景遮挡 - document.querySelector('cib-serp').shadowRoot.querySelector('cib-conversation').shadowRoot.querySelector('.scroller > .top').style.display = 'none'; - // 移除顶部边距 - document - .querySelector('cib-serp') - .shadowRoot.querySelector('cib-conversation') - .shadowRoot.querySelector('.scroller > .scroller-positioner > .content').style.paddingTop = 0; - - // 用户 cookie - const userCookieName = '_U'; - const randIpCookieName = 'BingAI_Rand_IP'; - const userCookieVal = getCookie(userCookieName); - const chatLoginBgEle = document.querySelector('.chat-login-bg'); - if (!userCookieVal) { - // chatLoginBgEle.style.display = 'flex'; - tryCreateConversationId(); - } - document.querySelector('.chat-login-btn-save').onclick = function () { - const cookie = document.querySelector('.chat-login-inp-cookie').value; - if (cookie) { - setCookie(userCookieName, cookie, 7 * 24 * 60); - chatLoginBgEle.style.display = 'none'; - } - // else { - // setCookie(userCookieName, '', -1); - // } - }; - document.querySelector('.chat-login-btn-cancel').onclick = function () { - chatLoginBgEle.style.display = 'none'; - }; - document.querySelector('.chat-login-btn-reset').onclick = async function () { - // del cookie - setCookie(userCookieName, '', -1); - setCookie(randIpCookieName, '', -1); - await clearCache(); - chatLoginBgEle.style.display = 'none'; - window.location.reload(); - }; - document.querySelector('.nav__title-setting').onclick = function () { - const userCookieVal = getCookie(userCookieName); - document.querySelector('.chat-login-inp-cookie').value = userCookieVal; - chatLoginBgEle.style.display = 'flex'; - }; - } - }, - true - ); -})(); -sj_evt.fire('showSydFSC'); diff --git a/web/js/sw/workbox-sw.js b/web/js/sw/workbox-sw.js deleted file mode 100644 index 2950d95ffa..0000000000 --- a/web/js/sw/workbox-sw.js +++ /dev/null @@ -1,2 +0,0 @@ -!function(){"use strict";try{self["workbox:sw:6.5.3"]&&_()}catch(t){}const t={backgroundSync:"background-sync",broadcastUpdate:"broadcast-update",cacheableResponse:"cacheable-response",core:"core",expiration:"expiration",googleAnalytics:"offline-ga",navigationPreload:"navigation-preload",precaching:"precaching",rangeRequests:"range-requests",routing:"routing",strategies:"strategies",streams:"streams",recipes:"recipes"};self.workbox=new class{constructor(){return this.v={},this.Pt={debug:"localhost"===self.location.hostname,modulePathPrefix:null,modulePathCb:null},this.$t=this.Pt.debug?"dev":"prod",this.Ct=!1,new Proxy(this,{get(e,s){if(e[s])return e[s];const o=t[s];return o&&e.loadModule("workbox-"+o),e[s]}})}setConfig(t={}){if(this.Ct)throw new Error("Config must be set before accessing workbox.* modules");Object.assign(this.Pt,t),this.$t=this.Pt.debug?"dev":"prod"}loadModule(t){const e=this.jt(t);try{importScripts(e),this.Ct=!0}catch(s){throw console.error(`Unable to import module '${t}' from '${e}'.`),s}}jt(t){if(this.Pt.modulePathCb)return this.Pt.modulePathCb(t,this.Pt.debug);let e=["https://storage.googleapis.com/workbox-cdn/releases/6.5.3"];const s=`${t}.${this.$t}.js`,o=this.Pt.modulePathPrefix;return o&&(e=o.split("/"),""===e[e.length-1]&&e.splice(e.length-1,1)),e.push(s),e.join("/")}}}(); - diff --git a/web/js/sw/workbox-window.prod.umd.min.js b/web/js/sw/workbox-window.prod.umd.min.js deleted file mode 100644 index de93a26d8e..0000000000 --- a/web/js/sw/workbox-window.prod.umd.min.js +++ /dev/null @@ -1,7 +0,0 @@ -/** - * Skipped minification because the original files appears to be already minified. - * Original file: /npm/workbox-window@6.5.4/build/workbox-window.prod.umd.js - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -!function(n,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((n="undefined"!=typeof globalThis?globalThis:n||self).workbox={})}(this,(function(n){"use strict";try{self["workbox:window:6.5.3"]&&_()}catch(n){}function t(n,t){return new Promise((function(r){var e=new MessageChannel;e.port1.onmessage=function(n){r(n.data)},n.postMessage(t,[e.port2])}))}function r(n,t){for(var r=0;rn.length)&&(t=n.length);for(var r=0,e=new Array(t);r=n.length?{done:!0}:{done:!1,value:n[i++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(r=n[Symbol.iterator]()).next.bind(r)}try{self["workbox:core:6.5.3"]&&_()}catch(n){}var o=function(){var n=this;this.promise=new Promise((function(t,r){n.resolve=t,n.reject=r}))};function u(n,t){var r=location.href;return new URL(n,r).href===new URL(t,r).href}var a=function(n,t){this.type=n,Object.assign(this,t)};function c(n,t,r){return r?t?t(n):n:(n&&n.then||(n=Promise.resolve(n)),t?n.then(t):n)}function f(){}var s={type:"SKIP_WAITING"};function v(n,t){if(!t)return n&&n.then?n.then(f):Promise.resolve()}var h=function(n){var e,i;function f(t,r){var e,i;return void 0===r&&(r={}),(e=n.call(this)||this).nn={},e.tn=0,e.rn=new o,e.en=new o,e.on=new o,e.un=0,e.an=new Set,e.cn=function(){var n=e.fn,t=n.installing;e.tn>0||!u(t.scriptURL,e.sn.toString())||performance.now()>e.un+6e4?(e.vn=t,n.removeEventListener("updatefound",e.cn)):(e.hn=t,e.an.add(t),e.rn.resolve(t)),++e.tn,t.addEventListener("statechange",e.ln)},e.ln=function(n){var t=e.fn,r=n.target,i=r.state,o=r===e.vn,u={sw:r,isExternal:o,originalEvent:n};!o&&e.dn&&(u.isUpdate=!0),e.dispatchEvent(new a(i,u)),"installed"===i?e.mn=self.setTimeout((function(){"installed"===i&&t.waiting===r&&e.dispatchEvent(new a("waiting",u))}),200):"activating"===i&&(clearTimeout(e.mn),o||e.en.resolve(r))},e.wn=function(n){var t=e.hn,r=t!==navigator.serviceWorker.controller;e.dispatchEvent(new a("controlling",{isExternal:r,originalEvent:n,sw:t,isUpdate:e.dn})),r||e.on.resolve(t)},e.gn=(i=function(n){var t=n.data,r=n.ports,i=n.source;return c(e.getSW(),(function(){e.an.has(i)&&e.dispatchEvent(new a("message",{data:t,originalEvent:n,ports:r,sw:i}))}))},function(){for(var n=[],t=0;t 0 ? _d.getElementsByClassName("b_top")[0] : null, - tt = !r ? !1 : r.getElementsByClassName("b_wpt_ch").length > 0 || r.getElementsByClassName("qna-sydney").length > 0, - wu = _ge("b_header"), - y && wu && sj_b.insertBefore(y, wu), - t = _d.createElement("div"), - t === null || t === void 0 ? void 0 : t.setAttribute("slot", "firstAnswer"), - t === null || t === void 0 ? void 0 : t.setAttribute("id", "sydFirstAnswer"), - t.style.maxWidth = "648px", - SydFSCHelper.setConfigs(n), - SydFSCHelper.setEventListeners(), - SydFSCHelper.setSydFSCEligibleState(!0), - u = CIB.insertAt(y), - vt && (SydWelcomeScreen === null || SydWelcomeScreen === void 0 ? void 0 : SydWelcomeScreen.setContent(u)), - tf = SydFSCHelper.getConfigOrDefault((su = _w._sydConvConfig) === null || su === void 0 ? void 0 : su.isCompliantSydneyEndpointEnabled, !1), - tf && (MsbSydneyHelper.addTenantLogoToHeader(), - MsbSydneyHelper.disableTones()), - rf = SydFSCHelper.getConfigOrDefault((hu = _w._sydConvConfig) === null || hu === void 0 ? void 0 : hu.useAccountLinkingForConversationLimitUpsell, !1), - rf && (CIB.config.bing.signIn.query.action = "acclink", - CIB.config.bing.signIn.query.crea = "MY04B", - CIB.config.bing.signIn.query.pn = "AccountLinking_Chat", - CIB.config.bing.signIn.query.publ = "BingIP"), - u.setAttribute("alignment", "center"), - hf && CIB.config.sydney.request.optionsSets.push("dlbing"), - nf && CIB.config.sydney.request.optionsSets.push(nf), - kt) - SydFSCHelper.lastQuery = SydFSCHelper.getQuery().toLowerCase().trim(); - else { - CIB.config.greeting.shouldSendBotGreeting = SydFSCHelper.shouldForceSendBotGreeting; - oi || (sj_evt.bind("ajax.unload", function() { - SydFSCHelper.shouldResetBotGreeting = !1 - }), - sj_evt.bind("ajax.load", function() { - SydFSCHelper.shouldResetBotGreeting = !0 - })); - CIB.onConversationRequestStateChange(function(n) { - n || CIB.config.greeting.shouldSendBotGreeting || !SydFSCHelper.shouldResetBotGreeting || (CIB.config.greeting.shouldSendBotGreeting = !0) - }) - } - uf = SydFSCHelper.getConfigOrDefault((cu = _w._sydConvConfig) === null || cu === void 0 ? void 0 : cu.disResetTT, !1); - uf && (bu = (au = (lu = u === null || u === void 0 ? void 0 : u.shadowRoot) === null || lu === void 0 ? void 0 : lu.querySelector("cib-action-bar")) === null || au === void 0 ? void 0 : au.shadowRoot, - bu && (h = sj_ce("style"), - h.textContent = "\n cib-tooltip {\n display: none !important;\n }\n ", - bu.appendChild(h))); - SydFSCHelper.setTestMocks(); - dt && (ff = new URLSearchParams(_w.location.search), - ku = ff.get("convid"), - ku && ru(ku)); - i = (vu = _d.querySelector("cib-serp")) === null || vu === void 0 ? void 0 : vu.shadowRoot; - p = i === null || i === void 0 ? void 0 : i.querySelector("cib-conversation"); - p && p.shadowRoot && (o = p.shadowRoot.querySelector(".scroller"), - h = sj_ce("style"), - sf && (h.textContent = "\n cib-notification-container {\n display: none;\n }\n "), - p.shadowRoot.appendChild(h)); - cf && (du = (pu = (yu = i === null || i === void 0 ? void 0 : i.querySelector("cib-action-bar")) === null || yu === void 0 ? void 0 : yu.shadowRoot) === null || pu === void 0 ? void 0 : pu.querySelector(".autosuggest-text"), - du && (du.style.display = "none")); - gu = "ontouchstart"in window || !!navigator.maxTouchPoints && navigator.maxTouchPoints > 0; - ef = c && (ci || li || ClientObserver.getBrowserWidth() < 780); - gu && Log.Log("ClientInst", "Codex", "TouchD"); - e || ri || ei || ef || gu && fi || (sj_be(_w, "mousewheel", bi), - sj_be(_w, "touchstart", ki), - sj_be(_w, "touchmove", di), - sj_be(_w, "touchend", gi), - c && (sj_be(_w, "keydown", nr), - sj_be(_w, "resize", tr))); - SydFSCHelper.triggerShareFlow(); - pi(); - sj_evt.bind("ajax.load", pi); - l && (SydFSCHelper.setupHistory(), - SydFSCHelper.checkInitialState()); - lr(); - e && tu(); - SydFSCHelper.triggerClarity(); - CIB.onResetConversation(function() { - SydFSCHelper.shouldMove1TAnswers(b, s) && wi() - }); - if (CIB.onMobileUpsellPopupShown) - CIB.onMobileUpsellPopupShown(function() { - var n = { - convId: CIB.manager.conversation.id - }; - SydFSCHelper.SydLog("SystemEvent", "MobileUpsell", "MobileUpsellPopupShown", n); - SydFSCHelper.createRequest("sydchat/writeConvId", JSON.stringify(n)) - }); - si && SydFSCHelper.processCachedResponseUsingCIB(JSON.parse(hi)) - } - } - function pi() { - sj_evt.bind("hideSydFSC", function(n) { - var c, t, i, y, u, o, r, h; - if (!rt) { - if (rt = !0, - Log.Log("ClientInst", "Codex", "LeaveConversationMode"), - f || Lib.CssClass.remove(sj_b, g), - c = _ge("sb_form"), - c && Lib.CssClass.contains(c, "hassbi") && Lib.CssClass.remove(c, "hassbi"), - CIB.hideConversation(), - f || e || (Lib.CssClass.add(_d.documentElement, "b_delayOvflw"), - SydFSCHelper.shouldMove1TAnswers(b, s) && wi(), - t = _ge("b-scopeListItem-web"), - t && t.children.length > 0 && (t.parentElement.removeAttribute("role"), - t.children[0].setAttribute("aria-current", "page"), - t.children[0].removeAttribute("aria-selected"), - t.children[0].removeAttribute("role"), - Lib.CssClass.add(t, "b_active"), - _ge("b_skip_to_content").setAttribute("tabindex", "0")), - i = _ge("b-scopeListItem-conv"), - i && i.children.length > 0 && (i.children[0].removeAttribute("role"), - i.children[0].removeAttribute("aria-selected"), - i.children[0].setAttribute("aria-current", "false"), - Lib.CssClass.remove(i, "b_active"))), - _G[SydFSCHelper.SYD_PREV_MODE] != _G[SydFSCHelper.SYD_MODE] && (_G[SydFSCHelper.SYD_PREV_MODE] = _G[SydFSCHelper.SYD_MODE], - l && (y = n && n.length > 1 ? n[1] : !1, - y || SydFSCHelper.pushSydHistory(!1))), - _G[SydFSCHelper.SYD_MODE] = "serp", - ut) { - if (u = _ge("b_pole"), - !u) { - for (u = sj_ce("div", "b_pole"), - o = _d.querySelector("main"), - r = _ge("b_results"); r && o && r.parentElement != o; ) - r = r.parentElement; - o && r && o.insertBefore(u, r) - } - SydFSCHelper.addCarousel(u) - } else if (wt && (h = CIB.vm.conversation.model.messages.filter(function(n) { - return n.type === "meta" && n.text != "Generating answers for you..." || n.type === "text" && n.author === "user" - }), - h && h.length > 0)) { - var a = h[h.length - 1].text.split("`") - , v = a.length == 1 ? a[0] : a.length == 3 ? a[1] : "" - , p = _ge("sb_form_go") - , w = _ge("sb_form_q"); - _w.sj_isAjax && v && w.value.toLowerCase() != v.toLowerCase() && p && (w.value = v, - SydFSCHelper.lastQuery = v, - p.click()) - } - rt = !1 - } - }); - sb_st(function() { - sj_evt.bind("showSydFSC", br, !0) - }, 0); - sj_evt.fire("convInit:done") - } - function cr() { - var n; - r = ((n = _d.getElementsByClassName("b_top")) === null || n === void 0 ? void 0 : n.length) > 0 ? _d.getElementsByClassName("b_top")[0] : null; - at = sj_b.querySelector("#b_sydTigerCont") != null; - tt = !!r && r.querySelector("#sydwrap_wrapper") != null; - k && (i = sj_b.querySelector("#sydwrap_wrapper #b_syd_sm_chat .b_wpt_chat"), - i && (Lib.CssClass.add(i, yt), - ni = i.querySelector(".b_wpt_creator_content") != null)) - } - function lr() { - var n = _ge("id_hbfo"); - sj_be(n, "click", function(n) { - var r = n.target, t, i; - _G[SydFSCHelper.SYD_MODE] == "conversation" && r && (t = ar(r), - t && t.target != "_blank" && (i = "", - t.href.indexOf("/profile/") >= 0 ? i = "profile" : t.href.indexOf("/account/") >= 0 && (i = "account"), - SydFSCHelper.LogIntEvent("ConversationViewExit", "Conversation", { - source: "ClickMenu", - target: i - }))) - }) - } - function ar(n) { - while (n != null) { - if (n.tagName == "A" && Lib.CssClass.contains(n, "hb_section")) - return n; - n = n.parentElement - } - return null - } - function et(n, t, i) { - i === void 0 && (i = !1); - t && n && (i ? n.prepend(t) : n.appendChild(t)) - } - function vr(n) { - var u, f, e, o, s, h; - if (!st) { - et(_ge("b_sydtoporpole"), n); - return - } - var l = _d.querySelector("cib-serp") - , i = (f = (u = _d.querySelector("cib-serp")) === null || u === void 0 ? void 0 : u.shadowRoot) === null || f === void 0 ? void 0 : f.querySelector("cib-conversation") - , r = (o = (e = i === null || i === void 0 ? void 0 : i.shadowRoot) === null || e === void 0 ? void 0 : e.querySelector(".scroller")) === null || o === void 0 ? void 0 : o.querySelector(".main cib-welcome-container") - , c = (h = (s = i === null || i === void 0 ? void 0 : i.shadowRoot) === null || s === void 0 ? void 0 : s.querySelector(".scroller")) === null || h === void 0 ? void 0 : h.querySelector(".main"); - i === null || i === void 0 ? void 0 : i.appendChild(a); - r ? r === null || r === void 0 ? void 0 : r.after(v) : c === null || c === void 0 ? void 0 : c.prepend(v); - t === null || t === void 0 ? void 0 : t.appendChild(n); - lt; - et(l, t) - } - function yr() { - if (cr(), - k) { - if (!i || ti && ni) - return; - (s || tt && !at) && sb_st(function() { - vr(i) - }, or) - } - } - function wi() { - if (k) { - if (!i) - return; - var n = sj_b.querySelector("#sydwrap_wrapper #b_syd_sm_chat"); - n && !n.contains(i) && (Lib.CssClass.remove(i, yt), - et(n, i, !0)) - } - } - function pr() { - var n = new URLSearchParams(_w.location.search) - , t = n.get("sendquery"); - return t === "1" - } - function wr() { - var n = document.getElementById("conv-css-link"); - n.setAttribute("rel", "stylesheet") - } - function br(n) { - var v, y, p, w, k, h, c, a, u, t, i, r, o, rt; - if (!it) { - it = !0; - SydFSCHelper.updateResponseToneAfterSerp(); - CIB.config.features.enableAds = !0; - gt && (k = CIB.config.sydney.request.optionsSets.indexOf("nocacheread"), - k >= 0 && CIB.config.sydney.request.optionsSets.splice(k, 1)); - ai && wr(); - h = _ge("b_header"); - h && Lib.CssClass.contains(h, ot) && (Lib.CssClass.remove(h, ot), - SydFSCHelper.LogIntEvent("ConversationViewEnter", "Scope", { - source: "ShowConv" - })); - ut && SydFSCHelper.removeQueries(); - c = n && n.length > 1 ? n[1] : null; - a = n && n.length > 2 ? n[2] : null; - s = n && n.length > 3 ? n[3] == er : !1; - var d = n && n.length > 5 ? n[5] : null - , ft = n && n.length > 6 ? n[6] : !1 - , nt = n && n.length > 7 ? n[7] : !1; - if (f || e || (_w.scrollY > 0 && _w.scrollTo(0, 0), - Lib.CssClass.add(_d.documentElement, "b_disOvflw"), - Lib.CssClass.remove(_d.documentElement, "b_delayOvflw")), - f || Lib.CssClass.add(sj_b, g), - SydFSCHelper.shouldMove1TAnswers(b, s, c) && yr(), - c && SydFSCHelper.sendFirstQuery(c.toLowerCase().trim(), a, d, nt || pr()), - CIB.showConversation(), - ft && (u = [], - d && u.push({ - author: "user", - text: d - }), - a && u.push({ - author: "bot", - text: a - }), - ct && u.length != 0 && CIB.registerContext(u), - CIB.toggleSpeechEnabled(), - CIB.triggerMic()), - !f && !e && (t = _ge("b-scopeListItem-web"), - t && t.children.length > 0 && (t.parentElement.setAttribute("role", "tablist"), - t.children[0].setAttribute("aria-current", "false"), - t.children[0].setAttribute("aria-selected", "false"), - t.children[0].setAttribute("role", "tab"), - Lib.CssClass.remove(t, "b_active")), - i = _ge("b-scopeListItem-conv"), - i && i.children.length > 0 && (i.children[0].setAttribute("aria-current", "page"), - i.children[0].setAttribute("role", "tab"), - i.children[0].setAttribute("aria-selected", "true"), - Lib.CssClass.add(i, "b_active"), - _ge("b_skip_to_content").setAttribute("tabindex", "-1")), - r = _d.querySelector(".b_sydConvMode"), - o = (w = (p = (y = (v = r === null || r === void 0 ? void 0 : r.querySelector("cib-serp")) === null || v === void 0 ? void 0 : v.shadowRoot) === null || y === void 0 ? void 0 : y.querySelector("cib-action-bar")) === null || p === void 0 ? void 0 : p.shadowRoot) === null || w === void 0 ? void 0 : w.querySelector(".input-container .text-input textarea"), - o && !nt && o.focus(), - r && o && nt)) { - sj_be(r, "keyup", tt); - function tt(n) { - (n.code == "Tab" || n.keyCode == 9 || n.key == "Tab") && o.focus(); - r.removeEventListener("keyup", tt) - } - } - _G[SydFSCHelper.SYD_PREV_MODE] != _G[SydFSCHelper.SYD_MODE] && (_G[SydFSCHelper.SYD_PREV_MODE] = _G[SydFSCHelper.SYD_MODE], - l && (rt = n && n.length > 4 ? n[4] : !1, - rt || SydFSCHelper.pushSydHistory(!0))); - vi || kr(); - _G[SydFSCHelper.SYD_MODE] = "conversation"; - it = !1 - } - } - function kr() { - var n = ClientObserver.getBrowserWidth() - , t = ClientObserver.getBrowserHeight(); - SydFSCHelper.set2TQueryConfigs(n, t, ii) - } - function bi(n) { - var t = 0; - n || (n = window.event); - n.wheelDelta ? t = n.wheelDelta / 60 : n.detail && (t = -n.detail / 2); - rr(t, nt) - } - function ki(n) { - ft = n.changedTouches[0].clientY; - d = n.touches && n.touches.length > 1 ? !0 : !1 - } - function di(n) { - var t = n.changedTouches[0].clientY - ft; - rr(t, fr, !0) - } - function gi(n) { - h = 0; - y = !1; - p = !1; - ft = 0; - d = n.touches && n.touches.length !== 0 - } - function nr() { - ci = !0; - c && (ir(), - sj_ue(_w, "keydown", nr)) - } - function tr() { - li = !0; - c && (ir(), - sj_ue(_w, "resize", tr)) - } - function ir() { - sj_ue(_w, "mousewheel", bi); - sj_ue(_w, "touchstart", ki); - sj_ue(_w, "touchmove", di); - sj_ue(_w, "touchend", gi) - } - function dr() { - var n = _ge("b_sydConvCont"); - n && Lib.CssClass.contains(document.body, "b_sydConvMode") && Lib.CssClass.add(_ge("b_content"), "b_hide") - } - function gr() { - var n = _ge("b_sydConvCont"); - n && Lib.CssClass.contains(document.body, "b_sydConvMode") && Lib.CssClass.remove(_ge("b_content"), "b_hide") - } - function rr(n, t, i) { - i === void 0 && (i = !1); - sb_ct(pt); - y || (w = Lib.CssClass.contains(sj_b, g), - p = w ? nu() : _w.scrollY == 0); - y = !0; - p && (h += n); - i || (pt = sb_st(function() { - h = 0; - y = !1; - p = !1 - }, 150)); - !w && h > t && _G[SydFSCHelper.SYD_MODE] != "conversation" && !d ? (SydFSCHelper.LogIntEvent("ConversationViewEnter", "Scope", { - source: "ScrollUp" - }), - SydFSCHelper.triggerSydFSCQueryWithContext()) : ht && w && h < -1 * t && _G[SydFSCHelper.SYD_MODE] == "conversation" && !ui && !d && (SydFSCHelper.LogIntEvent("ConversationViewExit", "Scope", { - source: "ScrollDown", - target: _G[SydFSCHelper.SYD_PREV_MODE] - }), - sj_evt.fire("hideSydFSC"), - sb_st(function() { - _w.scrollTo(0, 0) - }, 1)) - } - function nu() { - return !o ? !1 : Math.abs(o.scrollTop - (o.scrollHeight - o.offsetHeight)) < 1 - } - function tu() { - var t, i, r, e = _ge("b_sydOvrClose"), n, u, f; - e && sj_be(e, "click", function() { - sj_evt.fire("hideSydFSC") - }); - n = (r = (i = (t = _d.querySelector("#b_sydConvCont cib-serp")) === null || t === void 0 ? void 0 : t.shadowRoot) === null || i === void 0 ? void 0 : i.querySelector("cib-action-bar")) === null || r === void 0 ? void 0 : r.shadowRoot; - u = n === null || n === void 0 ? void 0 : n.querySelector(".outside-left-container"); - u && (u.style.display = "none"); - bt && n && (f = sj_ce("style"), - f.textContent = "\n .control.microphone {\n display: none;\n }\n ", - n.appendChild(f)) - } - function iu(n, t) { - var i, r; - n === void 0 && (n = null); - t === void 0 && (t = nt); - r = (i = _w._sydPayWallConfig) === null || i === void 0 ? void 0 : i.loadSydneyConvResWithPayWall; - r ? sj_evt.bind("waitlistUpdate:eligible", yi, !0) : yi(n); - nt = t - } - function ru(n) { - CIB.loadConversation(n); - SydFSCHelper.lastQuery = SydFSCHelper.getQuery().toLowerCase().trim() - } - var g = "b_sydConvMode", ot = "b_sydShowConv", ur = "b_sydConvCont", nt = 10, fr = 100, st, ht, ct, l, lt = !1, r, tt, i = null, at = !1, u, vt, o, t, a, v, er = "SYDX_WRAPPER", s = !1, yt = "b_sydxwrappedanswer", or = 1e3, it = !1, rt = !1, h = 0, pt, y = !1, p = !1, w = !1, sr = !1, b = !1, wt = !1, ut = !1, f = !1, e = !1, ft, k = !1, bt = !1, kt = !1, dt = !1, hr = !1, gt = !1, ni = !1, ti = !1, ii = !1, ri = !1, ui = !1, c = !1, fi = !1, ei = !1, oi = !1, si = !1, hi = "", ci = !1, li = !1, d = !1, ai, vi = !1; - (typeof sj_b == "undefined" || sj_b == null) && (window.sj_b = document.body); - n.initWithWaitlistUpdate = iu; - sj_evt.fire("sydFSC.init"); - sj_be(_w, "beforeprint", dr); - sj_be(_w, "afterprint", gr) -} -)(SydneyFullScreenConv || (SydneyFullScreenConv = {})) diff --git a/web/manifest.webmanifest b/web/manifest.webmanifest index c750d862d2..8420cc3021 100644 --- a/web/manifest.webmanifest +++ b/web/manifest.webmanifest @@ -1,27 +1 @@ -{ - "name": "BingAI", - "short_name": "BingAI", - "start_url": "./chat.html", - "display": "standalone", - "background_color": "#ffffff", - "lang": "en", - "scope": "./", - "icons": [ - { - "src": "./img/pwa/logo-192.png", - "sizes": "192x192", - "type": "image/png" - }, - { - "src": "./img/pwa/logo-512.png", - "sizes": "512x512", - "type": "image/png" - }, - { - "src": "./img/pwa/logo-512.png", - "sizes": "512x512", - "type": "image/png", - "purpose": "any maskable" - } - ] -} \ No newline at end of file +{"name":"BingAI","short_name":"BingAI","start_url":"/web/","display":"standalone","background_color":"#ffffff","lang":"en","scope":"/web/","icons":[{"src":"./img/pwa/logo-192.png","sizes":"192x192","type":"image/png"},{"src":"./img/pwa/logo-512.png","sizes":"512x512","type":"image/png"},{"src":"./img/pwa/logo-512.png","sizes":"512x512","type":"image/png","purpose":"any maskable"}]} diff --git a/web/registerSW.js b/web/registerSW.js new file mode 100644 index 0000000000..cf288972b1 --- /dev/null +++ b/web/registerSW.js @@ -0,0 +1 @@ +if('serviceWorker' in navigator) {window.addEventListener('load', () => {navigator.serviceWorker.register('/web/sw.js', { scope: '/web/' })})} \ No newline at end of file diff --git a/web/sw.js b/web/sw.js index 4071b8f224..48c094ff88 100644 --- a/web/sw.js +++ b/web/sw.js @@ -1,150 +1 @@ -// 引入workbox 框架 -importScripts('./js/sw/workbox-sw.js'); - -const SW_VERSION = 'v1.5.0'; -const CACHE_PREFIX = 'BingAI'; - -workbox.setConfig({ debug: false, logLevel: 'warn' }); - -workbox.core.setCacheNameDetails({ - prefix: CACHE_PREFIX, -}); - -// Updating SW lifecycle to update the app after user triggered refresh -// workbox.core.skipWaiting(); -workbox.core.clientsClaim(); - -// 注册成功后要立即缓存的资源列表 -workbox.precaching.precacheAndRoute([ - // css - { - url: '/web/css/index.css', - revision: '2023.05.08', - }, - // js - { - url: '/web/js/sw/workbox-sw.js', - revision: '2023.05.06', - }, - { - url: '/web/js/sw/workbox-window.prod.umd.min.js', - revision: '2023.05.06', - }, - { - url: '/rp/oJ7sDoXkkNOICsnFb57ZJHBrHcw.br.js', - revision: '2023.05.06', - }, - { - url: '/rp/TX6KXuLRS5pzZvnN8FM7MahUoUQ.br.js', - revision: '2023.05.06', - }, - { - url: '/rp/YFRe970EMtFzujI9pBYZBGpdHEo.br.js', - revision: '2023.05.06', - }, - { - url: '/rp/LOB20GsbD-KR9Gwi_Ukp8-BJZCQ.br.js', - revision: '2023.05.06', - }, - { - url: '/rp/6slp3E-BqFf904Cz6cCWPY1bh9E.br.js', - revision: '2023.05.06', - }, - { - url: '/web/js/sydneyfullscreenconv.js', - revision: '2023.05.06', - }, - { - url: '/web/js/index.js', - revision: '2023.05.08', - }, - // html - { - url: '/web/chat.html', - revision: '2023.05.09', - }, - { - url: '/web/compose.html', - revision: '2023.05.09', - }, - // ico - { - url: '/web/img/logo.svg', - revision: '2023.05.06', - }, -]); - -workbox.precaching.cleanupOutdatedCaches(); - -// image -workbox.routing.registerRoute( - ({ request }) => request.destination === 'image' && !request.url.includes('/fd/ls/l'), - new workbox.strategies.CacheFirst({ - cacheName: `${CACHE_PREFIX}-image`, - plugins: [ - new workbox.expiration.ExpirationPlugin({ - maxEntries: 60, // 60 个 - maxAgeSeconds: 7 * 24 * 60 * 60, // 7 天 - }), - ], - }) -); -// css -workbox.routing.registerRoute( - ({ request }) => request.destination === 'style', - new workbox.strategies.CacheFirst({ - cacheName: `${CACHE_PREFIX}-css`, - plugins: [ - new workbox.expiration.ExpirationPlugin({ - maxEntries: 60, // 60 个 - maxAgeSeconds: 7 * 24 * 60 * 60, // 7 天 - }), - ], - }) -); -// js -workbox.routing.registerRoute( - ({ request }) => request.destination === 'script', - new workbox.strategies.CacheFirst({ - cacheName: `${CACHE_PREFIX}-js`, - plugins: [ - new workbox.expiration.ExpirationPlugin({ - maxEntries: 60, // 60 个 - maxAgeSeconds: 7 * 24 * 60 * 60, // 7 天 - }), - ], - }) -); - -// service worker通过message和主线程通讯 -self.addEventListener('message', (event) => { - const replyPort = event.ports[0]; - const message = event.data; - // console.log(`sw message : `, message); - if (message.type === 'SKIP_WAITING') { - self.skipWaiting(); - } - if (replyPort && message && message.type === 'GET_VERSION') { - replyPort.postMessage(SW_VERSION); - } -}); - -// 安装阶段可删除旧缓存等等 -// self.addEventListener('install', async (event) => { -// const cacheKeys = await caches.keys(); -// for (const cacheKey of cacheKeys) { -// await caches.open(cacheKey).then(async (cache) => { -// const requests = await cache.keys(); -// return await Promise.all( -// requests.map((request) => { -// if (true || request.url.includes('xxx')) { -// console.log(`del cache : `, request.url); -// return cache.delete(request); -// } else { -// return Promise.resolve(); -// } -// }) -// ); -// }); -// } -// }); +if(!self.define){let e,s={};const i=(i,n)=>(i=new URL(i+".js",n).href,s[i]||new Promise((s=>{if("document"in self){const e=document.createElement("script");e.src=i,e.onload=s,document.head.appendChild(e)}else e=i,importScripts(i),s()})).then((()=>{let e=s[i];if(!e)throw new Error(`Module ${i} didn’t register its module`);return e})));self.define=(n,c)=>{const a=e||("document"in self?document.currentScript.src:"")||location.href;if(s[a])return;let r={};const o=e=>i(e,a),d={module:{uri:a},exports:r,require:o};s[a]=Promise.all(n.map((e=>d[e]||o(e)))).then((e=>(c(...e),r)))}}define(["./workbox-118fddf1"],(function(e){"use strict";self.skipWaiting(),e.clientsClaim(),e.precacheAndRoute([{url:"assets/index-020e1a7c.js",revision:null},{url:"assets/index-2128d00b.css",revision:null},{url:"assets/index-e6d14a26.js",revision:null},{url:"assets/setting-c6ca7b14.svg",revision:null},{url:"compose.html",revision:"8cfeef87aec62d9a0400b2ad90cdf9ea"},{url:"favicon.ico",revision:"1272c70e1b86b8956598a0349d2f193c"},{url:"img/logo.svg",revision:"1da58864f14c1a8c28f8587d6dcbc5d0"},{url:"img/pwa/logo-192.png",revision:"be40443731d9d4ead5e9b1f1a6070135"},{url:"img/pwa/logo-512.png",revision:"1217f1c90acb9f231e3135fa44af7efc"},{url:"index.html",revision:"9e84667ecd8832319090590b1df1e6a0"},{url:"js/bing/chat/amd.js",revision:"8d773dc8f2e78b9d29e990aed7821774"},{url:"js/bing/chat/config.js",revision:"3bd7b84479a1f1dcc850abdd4d383a3c"},{url:"js/bing/chat/core.js",revision:"8c11521fd9f049b6ac91e5ad415c2db1"},{url:"js/bing/chat/global.js",revision:"2b5db148d13525a415ecf4e2c929ec43"},{url:"js/bing/chat/lib.js",revision:"1a0f8f43cc025b7b5995e885fed1a3e6"},{url:"registerSW.js",revision:"bf6c2f29aef95e09b1f72cf59f427a55"},{url:"./img/pwa/logo-192.png",revision:"be40443731d9d4ead5e9b1f1a6070135"},{url:"./img/pwa/logo-512.png",revision:"1217f1c90acb9f231e3135fa44af7efc"},{url:"manifest.webmanifest",revision:"ae4ef030ae5d2d4894669fd82aac028d"}],{}),e.cleanupOutdatedCaches(),e.registerRoute(new e.NavigationRoute(e.createHandlerBoundToURL("index.html"))),e.registerRoute(/(.*?)\.(js|css|ts)/,new e.CacheFirst({cacheName:"js-css-cache",plugins:[new e.ExpirationPlugin({maxEntries:100,maxAgeSeconds:604800}),new e.CacheableResponsePlugin({statuses:[0,200]})]}),"GET"),e.registerRoute(/(.*?)\.(png|jpe?g|svg|gif|bmp|psd|tiff|tga|eps|ico)/,new e.CacheFirst({cacheName:"image-cache",plugins:[new e.ExpirationPlugin({maxEntries:100,maxAgeSeconds:604800}),new e.CacheableResponsePlugin({statuses:[0,200]})]}),"GET")})); diff --git a/web/workbox-118fddf1.js b/web/workbox-118fddf1.js new file mode 100644 index 0000000000..a492f33903 --- /dev/null +++ b/web/workbox-118fddf1.js @@ -0,0 +1 @@ +define(["exports"],(function(t){"use strict";try{self["workbox:core:6.5.3"]&&_()}catch(t){}const e=(t,...e)=>{let s=t;return e.length>0&&(s+=` :: ${JSON.stringify(e)}`),s};class s extends Error{constructor(t,s){super(e(t,s)),this.name=t,this.details=s}}try{self["workbox:routing:6.5.3"]&&_()}catch(t){}const n=t=>t&&"object"==typeof t?t:{handle:t};class i{constructor(t,e,s="GET"){this.handler=n(e),this.match=t,this.method=s}setCatchHandler(t){this.catchHandler=n(t)}}class r extends i{constructor(t,e,s){super((({url:e})=>{const s=t.exec(e.href);if(s&&(e.origin===location.origin||0===s.index))return s.slice(1)}),e,s)}}class a{constructor(){this.t=new Map,this.i=new Map}get routes(){return this.t}addFetchListener(){self.addEventListener("fetch",(t=>{const{request:e}=t,s=this.handleRequest({request:e,event:t});s&&t.respondWith(s)}))}addCacheListener(){self.addEventListener("message",(t=>{if(t.data&&"CACHE_URLS"===t.data.type){const{payload:e}=t.data,s=Promise.all(e.urlsToCache.map((e=>{"string"==typeof e&&(e=[e]);const s=new Request(...e);return this.handleRequest({request:s,event:t})})));t.waitUntil(s),t.ports&&t.ports[0]&&s.then((()=>t.ports[0].postMessage(!0)))}}))}handleRequest({request:t,event:e}){const s=new URL(t.url,location.href);if(!s.protocol.startsWith("http"))return;const n=s.origin===location.origin,{params:i,route:r}=this.findMatchingRoute({event:e,request:t,sameOrigin:n,url:s});let a=r&&r.handler;const o=t.method;if(!a&&this.i.has(o)&&(a=this.i.get(o)),!a)return;let c;try{c=a.handle({url:s,request:t,event:e,params:i})}catch(t){c=Promise.reject(t)}const h=r&&r.catchHandler;return c instanceof Promise&&(this.o||h)&&(c=c.catch((async n=>{if(h)try{return await h.handle({url:s,request:t,event:e,params:i})}catch(t){t instanceof Error&&(n=t)}if(this.o)return this.o.handle({url:s,request:t,event:e});throw n}))),c}findMatchingRoute({url:t,sameOrigin:e,request:s,event:n}){const i=this.t.get(s.method)||[];for(const r of i){let i;const a=r.match({url:t,sameOrigin:e,request:s,event:n});if(a)return i=a,(Array.isArray(i)&&0===i.length||a.constructor===Object&&0===Object.keys(a).length||"boolean"==typeof a)&&(i=void 0),{route:r,params:i}}return{}}setDefaultHandler(t,e="GET"){this.i.set(e,n(t))}setCatchHandler(t){this.o=n(t)}registerRoute(t){this.t.has(t.method)||this.t.set(t.method,[]),this.t.get(t.method).push(t)}unregisterRoute(t){if(!this.t.has(t.method))throw new s("unregister-route-but-not-found-with-method",{method:t.method});const e=this.t.get(t.method).indexOf(t);if(!(e>-1))throw new s("unregister-route-route-not-registered");this.t.get(t.method).splice(e,1)}}let o;const c=()=>(o||(o=new a,o.addFetchListener(),o.addCacheListener()),o);function h(t,e,n){let a;if("string"==typeof t){const s=new URL(t,location.href);a=new i((({url:t})=>t.href===s.href),e,n)}else if(t instanceof RegExp)a=new r(t,e,n);else if("function"==typeof t)a=new i(t,e,n);else{if(!(t instanceof i))throw new s("unsupported-route-type",{moduleName:"workbox-routing",funcName:"registerRoute",paramName:"capture"});a=t}return c().registerRoute(a),a}const u={googleAnalytics:"googleAnalytics",precache:"precache-v2",prefix:"workbox",runtime:"runtime",suffix:"undefined"!=typeof registration?registration.scope:""},l=t=>[u.prefix,t,u.suffix].filter((t=>t&&t.length>0)).join("-"),f=t=>t||l(u.precache),w=t=>t||l(u.runtime);function d(t){t.then((()=>{}))}const p=new Set;function y(){return y=Object.assign?Object.assign.bind():function(t){for(var e=1;ee.some((e=>t instanceof e));let m,R;const v=new WeakMap,b=new WeakMap,q=new WeakMap,D=new WeakMap,U=new WeakMap;let x={get(t,e,s){if(t instanceof IDBTransaction){if("done"===e)return b.get(t);if("objectStoreNames"===e)return t.objectStoreNames||q.get(t);if("store"===e)return s.objectStoreNames[1]?void 0:s.objectStore(s.objectStoreNames[0])}return C(t[e])},set:(t,e,s)=>(t[e]=s,!0),has:(t,e)=>t instanceof IDBTransaction&&("done"===e||"store"===e)||e in t};function L(t){return t!==IDBDatabase.prototype.transaction||"objectStoreNames"in IDBTransaction.prototype?(R||(R=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])).includes(t)?function(...e){return t.apply(E(this),e),C(v.get(this))}:function(...e){return C(t.apply(E(this),e))}:function(e,...s){const n=t.call(E(this),e,...s);return q.set(n,e.sort?e.sort():[e]),C(n)}}function I(t){return"function"==typeof t?L(t):(t instanceof IDBTransaction&&function(t){if(b.has(t))return;const e=new Promise(((e,s)=>{const n=()=>{t.removeEventListener("complete",i),t.removeEventListener("error",r),t.removeEventListener("abort",r)},i=()=>{e(),n()},r=()=>{s(t.error||new DOMException("AbortError","AbortError")),n()};t.addEventListener("complete",i),t.addEventListener("error",r),t.addEventListener("abort",r)}));b.set(t,e)}(t),g(t,m||(m=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction]))?new Proxy(t,x):t)}function C(t){if(t instanceof IDBRequest)return function(t){const e=new Promise(((e,s)=>{const n=()=>{t.removeEventListener("success",i),t.removeEventListener("error",r)},i=()=>{e(C(t.result)),n()},r=()=>{s(t.error),n()};t.addEventListener("success",i),t.addEventListener("error",r)}));return e.then((e=>{e instanceof IDBCursor&&v.set(e,t)})).catch((()=>{})),U.set(e,t),e}(t);if(D.has(t))return D.get(t);const e=I(t);return e!==t&&(D.set(t,e),U.set(e,t)),e}const E=t=>U.get(t);const O=["get","getKey","getAll","getAllKeys","count"],N=["put","add","delete","clear"],B=new Map;function k(t,e){if(!(t instanceof IDBDatabase)||e in t||"string"!=typeof e)return;if(B.get(e))return B.get(e);const s=e.replace(/FromIndex$/,""),n=e!==s,i=N.includes(s);if(!(s in(n?IDBIndex:IDBObjectStore).prototype)||!i&&!O.includes(s))return;const r=async function(t,...e){const r=this.transaction(t,i?"readwrite":"readonly");let a=r.store;return n&&(a=a.index(e.shift())),(await Promise.all([a[s](...e),i&&r.done]))[0]};return B.set(e,r),r}x=(t=>y({},t,{get:(e,s,n)=>k(e,s)||t.get(e,s,n),has:(e,s)=>!!k(e,s)||t.has(e,s)}))(x);try{self["workbox:expiration:6.5.3"]&&_()}catch(t){}const M="cache-entries",T=t=>{const e=new URL(t,location.href);return e.hash="",e.href};class j{constructor(t){this.h=null,this.u=t}l(t){const e=t.createObjectStore(M,{keyPath:"id"});e.createIndex("cacheName","cacheName",{unique:!1}),e.createIndex("timestamp","timestamp",{unique:!1})}p(t){this.l(t),this.u&&function(t,{blocked:e}={}){const s=indexedDB.deleteDatabase(t);e&&s.addEventListener("blocked",(t=>e(t.oldVersion,t))),C(s).then((()=>{}))}(this.u)}async setTimestamp(t,e){const s={url:t=T(t),timestamp:e,cacheName:this.u,id:this.g(t)},n=(await this.getDb()).transaction(M,"readwrite",{durability:"relaxed"});await n.store.put(s),await n.done}async getTimestamp(t){const e=await this.getDb(),s=await e.get(M,this.g(t));return null==s?void 0:s.timestamp}async expireEntries(t,e){const s=await this.getDb();let n=await s.transaction(M).store.index("timestamp").openCursor(null,"prev");const i=[];let r=0;for(;n;){const s=n.value;s.cacheName===this.u&&(t&&s.timestamp=e?i.push(n.value):r++),n=await n.continue()}const a=[];for(const t of i)await s.delete(M,t.id),a.push(t.url);return a}g(t){return this.u+"|"+T(t)}async getDb(){return this.h||(this.h=await function(t,e,{blocked:s,upgrade:n,blocking:i,terminated:r}={}){const a=indexedDB.open(t,e),o=C(a);return n&&a.addEventListener("upgradeneeded",(t=>{n(C(a.result),t.oldVersion,t.newVersion,C(a.transaction),t)})),s&&a.addEventListener("blocked",(t=>s(t.oldVersion,t.newVersion,t))),o.then((t=>{r&&t.addEventListener("close",(()=>r())),i&&t.addEventListener("versionchange",(t=>i(t.oldVersion,t.newVersion,t)))})).catch((()=>{})),o}("workbox-expiration",1,{upgrade:this.p.bind(this)})),this.h}}class P{constructor(t,e={}){this.m=!1,this.R=!1,this.v=e.maxEntries,this.q=e.maxAgeSeconds,this.D=e.matchOptions,this.u=t,this.U=new j(t)}async expireEntries(){if(this.m)return void(this.R=!0);this.m=!0;const t=this.q?Date.now()-1e3*this.q:0,e=await this.U.expireEntries(t,this.v),s=await self.caches.open(this.u);for(const t of e)await s.delete(t,this.D);this.m=!1,this.R&&(this.R=!1,d(this.expireEntries()))}async updateTimestamp(t){await this.U.setTimestamp(t,Date.now())}async isURLExpired(t){if(this.q){const e=await this.U.getTimestamp(t),s=Date.now()-1e3*this.q;return void 0===e||et.headers.get(e)===this.L[e]))),e}}function S(t,e){const s=new URL(t);for(const t of e)s.searchParams.delete(t);return s.href}class K{constructor(){this.promise=new Promise(((t,e)=>{this.resolve=t,this.reject=e}))}}try{self["workbox:strategies:6.5.3"]&&_()}catch(t){}function A(t){return"string"==typeof t?new Request(t):t}class F{constructor(t,e){this.I={},Object.assign(this,e),this.event=e.event,this.C=t,this.O=new K,this.N=[],this.B=[...t.plugins],this.k=new Map;for(const t of this.B)this.k.set(t,{});this.event.waitUntil(this.O.promise)}async fetch(t){const{event:e}=this;let n=A(t);if("navigate"===n.mode&&e instanceof FetchEvent&&e.preloadResponse){const t=await e.preloadResponse;if(t)return t}const i=this.hasCallback("fetchDidFail")?n.clone():null;try{for(const t of this.iterateCallbacks("requestWillFetch"))n=await t({request:n.clone(),event:e})}catch(t){if(t instanceof Error)throw new s("plugin-error-request-will-fetch",{thrownErrorMessage:t.message})}const r=n.clone();try{let t;t=await fetch(n,"navigate"===n.mode?void 0:this.C.fetchOptions);for(const s of this.iterateCallbacks("fetchDidSucceed"))t=await s({event:e,request:r,response:t});return t}catch(t){throw i&&await this.runCallbacks("fetchDidFail",{error:t,event:e,originalRequest:i.clone(),request:r.clone()}),t}}async fetchAndCachePut(t){const e=await this.fetch(t),s=e.clone();return this.waitUntil(this.cachePut(t,s)),e}async cacheMatch(t){const e=A(t);let s;const{cacheName:n,matchOptions:i}=this.C,r=await this.getCacheKey(e,"read"),a=Object.assign(Object.assign({},i),{cacheName:n});s=await caches.match(r,a);for(const t of this.iterateCallbacks("cachedResponseWillBeUsed"))s=await t({cacheName:n,matchOptions:i,cachedResponse:s,request:r,event:this.event})||void 0;return s}async cachePut(t,e){const n=A(t);var i;await(i=0,new Promise((t=>setTimeout(t,i))));const r=await this.getCacheKey(n,"write");if(!e)throw new s("cache-put-with-no-response",{url:(a=r.url,new URL(String(a),location.href).href.replace(new RegExp(`^${location.origin}`),""))});var a;const o=await this.M(e);if(!o)return!1;const{cacheName:c,matchOptions:h}=this.C,u=await self.caches.open(c),l=this.hasCallback("cacheDidUpdate"),f=l?await async function(t,e,s,n){const i=S(e.url,s);if(e.url===i)return t.match(e,n);const r=Object.assign(Object.assign({},n),{ignoreSearch:!0}),a=await t.keys(e,r);for(const e of a)if(i===S(e.url,s))return t.match(e,n)}(u,r.clone(),["__WB_REVISION__"],h):null;try{await u.put(r,l?o.clone():o)}catch(t){if(t instanceof Error)throw"QuotaExceededError"===t.name&&await async function(){for(const t of p)await t()}(),t}for(const t of this.iterateCallbacks("cacheDidUpdate"))await t({cacheName:c,oldResponse:f,newResponse:o.clone(),request:r,event:this.event});return!0}async getCacheKey(t,e){const s=`${t.url} | ${e}`;if(!this.I[s]){let n=t;for(const t of this.iterateCallbacks("cacheKeyWillBeUsed"))n=A(await t({mode:e,request:n,event:this.event,params:this.params}));this.I[s]=n}return this.I[s]}hasCallback(t){for(const e of this.C.plugins)if(t in e)return!0;return!1}async runCallbacks(t,e){for(const s of this.iterateCallbacks(t))await s(e)}*iterateCallbacks(t){for(const e of this.C.plugins)if("function"==typeof e[t]){const s=this.k.get(e),n=n=>{const i=Object.assign(Object.assign({},n),{state:s});return e[t](i)};yield n}}waitUntil(t){return this.N.push(t),t}async doneWaiting(){let t;for(;t=this.N.shift();)await t}destroy(){this.O.resolve(null)}async M(t){let e=t,s=!1;for(const t of this.iterateCallbacks("cacheWillUpdate"))if(e=await t({request:this.request,response:e,event:this.event})||void 0,s=!0,!e)break;return s||e&&200!==e.status&&(e=void 0),e}}class H{constructor(t={}){this.cacheName=w(t.cacheName),this.plugins=t.plugins||[],this.fetchOptions=t.fetchOptions,this.matchOptions=t.matchOptions}handle(t){const[e]=this.handleAll(t);return e}handleAll(t){t instanceof FetchEvent&&(t={event:t,request:t.request});const e=t.event,s="string"==typeof t.request?new Request(t.request):t.request,n="params"in t?t.params:void 0,i=new F(this,{event:e,request:s,params:n}),r=this.T(i,s,e);return[r,this.j(r,i,s,e)]}async T(t,e,n){let i;await t.runCallbacks("handlerWillStart",{event:n,request:e});try{if(i=await this.P(e,t),!i||"error"===i.type)throw new s("no-response",{url:e.url})}catch(s){if(s instanceof Error)for(const r of t.iterateCallbacks("handlerDidError"))if(i=await r({error:s,event:n,request:e}),i)break;if(!i)throw s}for(const s of t.iterateCallbacks("handlerWillRespond"))i=await s({event:n,request:e,response:i});return i}async j(t,e,s,n){let i,r;try{i=await t}catch(r){}try{await e.runCallbacks("handlerDidRespond",{event:n,request:s,response:i}),await e.doneWaiting()}catch(t){t instanceof Error&&(r=t)}if(await e.runCallbacks("handlerDidComplete",{event:n,request:s,response:i,error:r}),e.destroy(),r)throw r}}function $(t,e){const s=e();return t.waitUntil(s),s}try{self["workbox:precaching:6.5.3"]&&_()}catch(t){}function G(t){if(!t)throw new s("add-to-cache-list-unexpected-type",{entry:t});if("string"==typeof t){const e=new URL(t,location.href);return{cacheKey:e.href,url:e.href}}const{revision:e,url:n}=t;if(!n)throw new s("add-to-cache-list-unexpected-type",{entry:t});if(!e){const t=new URL(n,location.href);return{cacheKey:t.href,url:t.href}}const i=new URL(n,location.href),r=new URL(n,location.href);return i.searchParams.set("__WB_REVISION__",e),{cacheKey:i.href,url:r.href}}class V{constructor(){this.updatedURLs=[],this.notUpdatedURLs=[],this.handlerWillStart=async({request:t,state:e})=>{e&&(e.originalRequest=t)},this.cachedResponseWillBeUsed=async({event:t,state:e,cachedResponse:s})=>{if("install"===t.type&&e&&e.originalRequest&&e.originalRequest instanceof Request){const t=e.originalRequest.url;s?this.notUpdatedURLs.push(t):this.updatedURLs.push(t)}return s}}}class J{constructor({precacheController:t}){this.cacheKeyWillBeUsed=async({request:t,params:e})=>{const s=(null==e?void 0:e.cacheKey)||this.W.getCacheKeyForURL(t.url);return s?new Request(s,{headers:t.headers}):t},this.W=t}}let Q,z;async function X(t,e){let n=null;if(t.url){n=new URL(t.url).origin}if(n!==self.location.origin)throw new s("cross-origin-copy-response",{origin:n});const i=t.clone(),r={headers:new Headers(i.headers),status:i.status,statusText:i.statusText},a=e?e(r):r,o=function(){if(void 0===Q){const t=new Response("");if("body"in t)try{new Response(t.body),Q=!0}catch(t){Q=!1}Q=!1}return Q}()?i.body:await i.blob();return new Response(o,a)}class Y extends H{constructor(t={}){t.cacheName=f(t.cacheName),super(t),this.S=!1!==t.fallbackToNetwork,this.plugins.push(Y.copyRedirectedCacheableResponsesPlugin)}async P(t,e){const s=await e.cacheMatch(t);return s||(e.event&&"install"===e.event.type?await this.K(t,e):await this.A(t,e))}async A(t,e){let n;const i=e.params||{};if(!this.S)throw new s("missing-precache-entry",{cacheName:this.cacheName,url:t.url});{const s=i.integrity,r=t.integrity,a=!r||r===s;n=await e.fetch(new Request(t,{integrity:"no-cors"!==t.mode?r||s:void 0})),s&&a&&"no-cors"!==t.mode&&(this.F(),await e.cachePut(t,n.clone()))}return n}async K(t,e){this.F();const n=await e.fetch(t);if(!await e.cachePut(t,n.clone()))throw new s("bad-precaching-response",{url:t.url,status:n.status});return n}F(){let t=null,e=0;for(const[s,n]of this.plugins.entries())n!==Y.copyRedirectedCacheableResponsesPlugin&&(n===Y.defaultPrecacheCacheabilityPlugin&&(t=s),n.cacheWillUpdate&&e++);0===e?this.plugins.push(Y.defaultPrecacheCacheabilityPlugin):e>1&&null!==t&&this.plugins.splice(t,1)}}Y.defaultPrecacheCacheabilityPlugin={cacheWillUpdate:async({response:t})=>!t||t.status>=400?null:t},Y.copyRedirectedCacheableResponsesPlugin={cacheWillUpdate:async({response:t})=>t.redirected?await X(t):t};class Z{constructor({cacheName:t,plugins:e=[],fallbackToNetwork:s=!0}={}){this.H=new Map,this.$=new Map,this.G=new Map,this.C=new Y({cacheName:f(t),plugins:[...e,new J({precacheController:this})],fallbackToNetwork:s}),this.install=this.install.bind(this),this.activate=this.activate.bind(this)}get strategy(){return this.C}precache(t){this.addToCacheList(t),this.V||(self.addEventListener("install",this.install),self.addEventListener("activate",this.activate),this.V=!0)}addToCacheList(t){const e=[];for(const n of t){"string"==typeof n?e.push(n):n&&void 0===n.revision&&e.push(n.url);const{cacheKey:t,url:i}=G(n),r="string"!=typeof n&&n.revision?"reload":"default";if(this.H.has(i)&&this.H.get(i)!==t)throw new s("add-to-cache-list-conflicting-entries",{firstEntry:this.H.get(i),secondEntry:t});if("string"!=typeof n&&n.integrity){if(this.G.has(t)&&this.G.get(t)!==n.integrity)throw new s("add-to-cache-list-conflicting-integrities",{url:i});this.G.set(t,n.integrity)}if(this.H.set(i,t),this.$.set(i,r),e.length>0){const t=`Workbox is precaching URLs without revision info: ${e.join(", ")}\nThis is generally NOT safe. Learn more at https://bit.ly/wb-precache`;console.warn(t)}}}install(t){return $(t,(async()=>{const e=new V;this.strategy.plugins.push(e);for(const[e,s]of this.H){const n=this.G.get(s),i=this.$.get(e),r=new Request(e,{integrity:n,cache:i,credentials:"same-origin"});await Promise.all(this.strategy.handleAll({params:{cacheKey:s},request:r,event:t}))}const{updatedURLs:s,notUpdatedURLs:n}=e;return{updatedURLs:s,notUpdatedURLs:n}}))}activate(t){return $(t,(async()=>{const t=await self.caches.open(this.strategy.cacheName),e=await t.keys(),s=new Set(this.H.values()),n=[];for(const i of e)s.has(i.url)||(await t.delete(i),n.push(i.url));return{deletedURLs:n}}))}getURLsToCacheKeys(){return this.H}getCachedURLs(){return[...this.H.keys()]}getCacheKeyForURL(t){const e=new URL(t,location.href);return this.H.get(e.href)}getIntegrityForCacheKey(t){return this.G.get(t)}async matchPrecache(t){const e=t instanceof Request?t.url:t,s=this.getCacheKeyForURL(e);if(s){return(await self.caches.open(this.strategy.cacheName)).match(s)}}createHandlerBoundToURL(t){const e=this.getCacheKeyForURL(t);if(!e)throw new s("non-precached-url",{url:t});return s=>(s.request=new Request(t),s.params=Object.assign({cacheKey:e},s.params),this.strategy.handle(s))}}const tt=()=>(z||(z=new Z),z);class et extends i{constructor(t,e){super((({request:s})=>{const n=t.getURLsToCacheKeys();for(const i of function*(t,{ignoreURLParametersMatching:e=[/^utm_/,/^fbclid$/],directoryIndex:s="index.html",cleanURLs:n=!0,urlManipulation:i}={}){const r=new URL(t,location.href);r.hash="",yield r.href;const a=function(t,e=[]){for(const s of[...t.searchParams.keys()])e.some((t=>t.test(s)))&&t.searchParams.delete(s);return t}(r,e);if(yield a.href,s&&a.pathname.endsWith("/")){const t=new URL(a.href);t.pathname+=s,yield t.href}if(n){const t=new URL(a.href);t.pathname+=".html",yield t.href}if(i){const t=i({url:r});for(const e of t)yield e.href}}(s.url,e)){const e=n.get(i);if(e){return{cacheKey:e,integrity:t.getIntegrityForCacheKey(e)}}}}),t.strategy)}}t.CacheFirst=class extends H{async P(t,e){let n,i=await e.cacheMatch(t);if(!i)try{i=await e.fetchAndCachePut(t)}catch(t){t instanceof Error&&(n=t)}if(!i)throw new s("no-response",{url:t.url,error:n});return i}},t.CacheableResponsePlugin=class{constructor(t){this.cacheWillUpdate=async({response:t})=>this.J.isResponseCacheable(t)?t:null,this.J=new W(t)}},t.ExpirationPlugin=class{constructor(t={}){this.cachedResponseWillBeUsed=async({event:t,request:e,cacheName:s,cachedResponse:n})=>{if(!n)return null;const i=this.X(n),r=this.Y(s);d(r.expireEntries());const a=r.updateTimestamp(e.url);if(t)try{t.waitUntil(a)}catch(t){}return i?n:null},this.cacheDidUpdate=async({cacheName:t,request:e})=>{const s=this.Y(t);await s.updateTimestamp(e.url),await s.expireEntries()},this.Z=t,this.q=t.maxAgeSeconds,this.tt=new Map,t.purgeOnQuotaError&&function(t){p.add(t)}((()=>this.deleteCacheAndMetadata()))}Y(t){if(t===w())throw new s("expire-custom-caches-only");let e=this.tt.get(t);return e||(e=new P(t,this.Z),this.tt.set(t,e)),e}X(t){if(!this.q)return!0;const e=this.et(t);if(null===e)return!0;return e>=Date.now()-1e3*this.q}et(t){if(!t.headers.has("date"))return null;const e=t.headers.get("date"),s=new Date(e).getTime();return isNaN(s)?null:s}async deleteCacheAndMetadata(){for(const[t,e]of this.tt)await self.caches.delete(t),await e.delete();this.tt=new Map}},t.NavigationRoute=class extends i{constructor(t,{allowlist:e=[/./],denylist:s=[]}={}){super((t=>this.st(t)),t),this.nt=e,this.it=s}st({url:t,request:e}){if(e&&"navigate"!==e.mode)return!1;const s=t.pathname+t.search;for(const t of this.it)if(t.test(s))return!1;return!!this.nt.some((t=>t.test(s)))}},t.cleanupOutdatedCaches=function(){self.addEventListener("activate",(t=>{const e=f();t.waitUntil((async(t,e="-precache-")=>{const s=(await self.caches.keys()).filter((s=>s.includes(e)&&s.includes(self.registration.scope)&&s!==t));return await Promise.all(s.map((t=>self.caches.delete(t)))),s})(e).then((t=>{})))}))},t.clientsClaim=function(){self.addEventListener("activate",(()=>self.clients.claim()))},t.createHandlerBoundToURL=function(t){return tt().createHandlerBoundToURL(t)},t.precacheAndRoute=function(t,e){!function(t){tt().precache(t)}(t),function(t){const e=tt();h(new et(e,t))}(e)},t.registerRoute=h}));