From 13566b2aeb042f27ca33f3bee36fc89bfb717ef2 Mon Sep 17 00:00:00 2001 From: leiyun Date: Fri, 20 Mar 2026 22:12:56 +0800 Subject: [PATCH] =?UTF-8?q?init:=20=E8=82=A0=E6=84=88=E5=90=8C=E8=A1=8C?= =?UTF-8?q?=E5=90=8E=E7=AB=AF=E9=A1=B9=E7=9B=AE=E5=88=9D=E5=A7=8B=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .eslintrc | 3 + .gitignore | 37 + README.md | 67 + development.js | 12 + nginx.conf | 50 + package.json | 59 + pm2.json | 15 + pnpm-lock.yaml | 8624 ++++++ production.js | 11 + restart.sh | 26 + sql/content.sql | 22 + sql/init.sql | 148 + sql/message.sql | 13 + sql/myinfo.sql | 9 + sql/sign.sql | 9 + sql/subscribe.sql | 15 + sql/verify.sql | 40 + sql/wechat_user.sql | 18 + src/bootstrap/master.js | 1 + src/bootstrap/worker.js | 1 + src/config/adapter.js | 112 + src/config/adapter.production.js | 46 + src/config/config.js | 13 + src/config/config.production.js | 4 + src/config/cos.js | 39 + src/config/extend.js | 11 + src/config/faceid.js | 10 + src/config/middleware.js | 44 + src/config/ocr.js | 9 + src/config/router.js | 87 + src/config/sms.js | 34 + src/controller/admin/auth.js | 127 + src/controller/admin/content.js | 94 + src/controller/admin/dashboard.js | 33 + src/controller/admin/patient.js | 429 + src/controller/admin/system/log.js | 62 + src/controller/admin/system/role.js | 281 + src/controller/admin/system/sms.js | 50 + src/controller/admin/system/user.js | 268 + src/controller/admin/upload.js | 306 + src/controller/base.js | 324 + src/controller/common.js | 184 + src/controller/index.js | 5 + src/controller/mp.js | 499 + src/logic/index.js | 5 + src/model/content.js | 31 + src/model/index.js | 3 + src/model/message.js | 5 + src/model/operation_log.js | 2 + src/model/patient.js | 170 + src/model/patient_audit.js | 5 + src/model/sms_log.js | 5 + src/model/sys_region.js | 9 + src/model/wechat_user.js | 19 + src/service/screenshot.js | 165 + src/service/wechat.js | 212 + test/index.js | 7 + view/admin/auth_login.html | 277 + view/admin/common/_header.html | 70 + view/admin/common/_sidebar.html | 67 + view/admin/content_index.html | 301 + view/admin/dashboard_index.html | 219 + view/admin/layout.html | 129 + view/admin/patient_detail.html | 294 + view/admin/patient_index.html | 490 + view/admin/system/log_index.html | 145 + view/admin/system/role_index.html | 310 + view/admin/system/sms_index.html | 139 + view/admin/system/user_index.html | 410 + view/error_404.html | 42 + view/error_500.html | 37 + www/static/cover/.gitkeep | 0 www/static/cover/cover01.jpg | Bin 0 -> 19069 bytes www/static/cover/cover02.jpg | Bin 0 -> 26365 bytes www/static/cover/cover03.jpg | Bin 0 -> 15792 bytes www/static/cover/cover04.jpg | Bin 0 -> 12612 bytes www/static/cover/cover05.jpg | Bin 0 -> 20584 bytes www/static/cover/cover06.jpg | Bin 0 -> 16469 bytes www/static/cover/cover_def.jpg | Bin 0 -> 16469 bytes www/static/css/.gitkeep | 0 www/static/css/admin.css | 226 + www/static/css/web.css | 1409 + www/static/css/web_1024.css | 28 + www/static/css/web_480.css | 78 + www/static/css/web_768.css | 235 + www/static/favicon.ico | Bin 0 -> 25577 bytes www/static/iconfont/iconfont.css | 43 + www/static/iconfont/iconfont.ttf | Bin 0 -> 3348 bytes www/static/iconfont/iconfont.woff | Bin 0 -> 2208 bytes www/static/iconfont/iconfont.woff2 | Bin 0 -> 1736 bytes www/static/images/404.png | Bin 0 -> 20243 bytes www/static/images/favicon.ico | Bin 0 -> 16958 bytes www/static/images/folder.png | Bin 0 -> 494 bytes www/static/images/icon-backtop.png | Bin 0 -> 2853 bytes www/static/images/icon-contact.png | Bin 0 -> 820 bytes www/static/images/icon-email-apply.png | Bin 0 -> 2270 bytes www/static/images/icon-link.png | Bin 0 -> 1057 bytes www/static/images/icon-qrcode.png | Bin 0 -> 3329 bytes www/static/images/icon-wechat-white.png | Bin 0 -> 1414 bytes www/static/images/icon-wechat.png | Bin 0 -> 5722 bytes www/static/images/icon-weibo.png | Bin 0 -> 6656 bytes www/static/images/logo.png | Bin 0 -> 64060 bytes www/static/images/search-empty.png | Bin 0 -> 26273 bytes www/static/images/time_fill.png | Bin 0 -> 962 bytes www/static/js/.gitkeep | 0 www/static/lib/echarts/echarts.min.js | 45 + www/static/lib/element-plus-icons/index.js | 3 + www/static/lib/element-plus/index.css | 1 + www/static/lib/element-plus/index.full.min.js | 81 + .../lib/element-plus/locale/zh-cn.min.js | 2 + www/static/lib/ol/ol.css | 350 + www/static/lib/ol/ol.js | 4 + www/static/lib/qrcode/qrcode.min.js | 1 + www/static/lib/swiper/swiper-bundle.min.css | 13 + www/static/lib/swiper/swiper-bundle.min.js | 14 + www/static/lib/tailwindcss/browser.js | 8 + www/static/lib/vue/vue.global.prod.js | 13 + www/static/lib/wangeditor/css/style.css | 27 + www/static/lib/wangeditor/index.js | 24129 ++++++++++++++++ www/static/lib/xlsx/xlsx.full.min.js | 24 + 120 files changed, 42553 insertions(+) create mode 100644 .eslintrc create mode 100644 .gitignore create mode 100644 README.md create mode 100644 development.js create mode 100644 nginx.conf create mode 100644 package.json create mode 100644 pm2.json create mode 100644 pnpm-lock.yaml create mode 100644 production.js create mode 100644 restart.sh create mode 100644 sql/content.sql create mode 100644 sql/init.sql create mode 100644 sql/message.sql create mode 100644 sql/myinfo.sql create mode 100644 sql/sign.sql create mode 100644 sql/subscribe.sql create mode 100644 sql/verify.sql create mode 100644 sql/wechat_user.sql create mode 100644 src/bootstrap/master.js create mode 100644 src/bootstrap/worker.js create mode 100644 src/config/adapter.js create mode 100644 src/config/adapter.production.js create mode 100644 src/config/config.js create mode 100644 src/config/config.production.js create mode 100644 src/config/cos.js create mode 100644 src/config/extend.js create mode 100644 src/config/faceid.js create mode 100644 src/config/middleware.js create mode 100644 src/config/ocr.js create mode 100644 src/config/router.js create mode 100644 src/config/sms.js create mode 100644 src/controller/admin/auth.js create mode 100644 src/controller/admin/content.js create mode 100644 src/controller/admin/dashboard.js create mode 100644 src/controller/admin/patient.js create mode 100644 src/controller/admin/system/log.js create mode 100644 src/controller/admin/system/role.js create mode 100644 src/controller/admin/system/sms.js create mode 100644 src/controller/admin/system/user.js create mode 100644 src/controller/admin/upload.js create mode 100644 src/controller/base.js create mode 100644 src/controller/common.js create mode 100644 src/controller/index.js create mode 100644 src/controller/mp.js create mode 100644 src/logic/index.js create mode 100644 src/model/content.js create mode 100644 src/model/index.js create mode 100644 src/model/message.js create mode 100644 src/model/operation_log.js create mode 100644 src/model/patient.js create mode 100644 src/model/patient_audit.js create mode 100644 src/model/sms_log.js create mode 100644 src/model/sys_region.js create mode 100644 src/model/wechat_user.js create mode 100644 src/service/screenshot.js create mode 100644 src/service/wechat.js create mode 100644 test/index.js create mode 100644 view/admin/auth_login.html create mode 100644 view/admin/common/_header.html create mode 100644 view/admin/common/_sidebar.html create mode 100644 view/admin/content_index.html create mode 100644 view/admin/dashboard_index.html create mode 100644 view/admin/layout.html create mode 100644 view/admin/patient_detail.html create mode 100644 view/admin/patient_index.html create mode 100644 view/admin/system/log_index.html create mode 100644 view/admin/system/role_index.html create mode 100644 view/admin/system/sms_index.html create mode 100644 view/admin/system/user_index.html create mode 100644 view/error_404.html create mode 100644 view/error_500.html create mode 100644 www/static/cover/.gitkeep create mode 100644 www/static/cover/cover01.jpg create mode 100644 www/static/cover/cover02.jpg create mode 100644 www/static/cover/cover03.jpg create mode 100644 www/static/cover/cover04.jpg create mode 100644 www/static/cover/cover05.jpg create mode 100644 www/static/cover/cover06.jpg create mode 100644 www/static/cover/cover_def.jpg create mode 100644 www/static/css/.gitkeep create mode 100644 www/static/css/admin.css create mode 100644 www/static/css/web.css create mode 100644 www/static/css/web_1024.css create mode 100644 www/static/css/web_480.css create mode 100644 www/static/css/web_768.css create mode 100644 www/static/favicon.ico create mode 100644 www/static/iconfont/iconfont.css create mode 100644 www/static/iconfont/iconfont.ttf create mode 100644 www/static/iconfont/iconfont.woff create mode 100644 www/static/iconfont/iconfont.woff2 create mode 100644 www/static/images/404.png create mode 100644 www/static/images/favicon.ico create mode 100644 www/static/images/folder.png create mode 100644 www/static/images/icon-backtop.png create mode 100644 www/static/images/icon-contact.png create mode 100644 www/static/images/icon-email-apply.png create mode 100644 www/static/images/icon-link.png create mode 100644 www/static/images/icon-qrcode.png create mode 100644 www/static/images/icon-wechat-white.png create mode 100644 www/static/images/icon-wechat.png create mode 100644 www/static/images/icon-weibo.png create mode 100644 www/static/images/logo.png create mode 100644 www/static/images/search-empty.png create mode 100644 www/static/images/time_fill.png create mode 100644 www/static/js/.gitkeep create mode 100644 www/static/lib/echarts/echarts.min.js create mode 100644 www/static/lib/element-plus-icons/index.js create mode 100644 www/static/lib/element-plus/index.css create mode 100644 www/static/lib/element-plus/index.full.min.js create mode 100644 www/static/lib/element-plus/locale/zh-cn.min.js create mode 100644 www/static/lib/ol/ol.css create mode 100644 www/static/lib/ol/ol.js create mode 100644 www/static/lib/qrcode/qrcode.min.js create mode 100644 www/static/lib/swiper/swiper-bundle.min.css create mode 100644 www/static/lib/swiper/swiper-bundle.min.js create mode 100644 www/static/lib/tailwindcss/browser.js create mode 100644 www/static/lib/vue/vue.global.prod.js create mode 100644 www/static/lib/wangeditor/css/style.css create mode 100644 www/static/lib/wangeditor/index.js create mode 100644 www/static/lib/xlsx/xlsx.full.min.js diff --git a/.eslintrc b/.eslintrc new file mode 100644 index 0000000..3b1360e --- /dev/null +++ b/.eslintrc @@ -0,0 +1,3 @@ +{ + "extends": "think" +} \ No newline at end of file diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..bb446e2 --- /dev/null +++ b/.gitignore @@ -0,0 +1,37 @@ +# Logs +logs +*.log + +# Runtime data +pids +*.pid +*.seed + +# Directory for instrumented libs generated by jscoverage/JSCover +lib-cov + +# Coverage directory used by tools like istanbul +coverage/ + +# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) +.grunt + +# node-waf configuration +.lock-wscript + +# Dependency directory +# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git +node_modules/ + +# IDE config +.idea + +# output +output/ +output.tar.gz + +runtime/ +app/ + +config.development.js +adapter.development.js diff --git a/README.md b/README.md new file mode 100644 index 0000000..7aa527d --- /dev/null +++ b/README.md @@ -0,0 +1,67 @@ +# 北京维康慈善基金会官网 + +基于 ThinkJS 3.x 的慈善基金会官网系统,包含前台展示和后台管理。 + +## 技术栈 + +- **后端**: ThinkJS 3.x + MySQL + Redis +- **前台**: Nunjucks模板 + Swiper.js + 原生CSS +- **后台**: Vue 3 + Element Plus + Tailwind CSS +- **认证**: JWT Token + +## 功能模块 + +### 前台 +- 首页全屏滚动(Swiper Fullpage) +- Banner轮播(支持毛玻璃效果) +- 捐赠数据公示(统计卡片 + 滚动明细) +- 公益项目展示(Tab切换 + 背景联动) +- 新闻动态 +- 合作伙伴 +- 响应式适配(移动端汉堡菜单) + +### 后台管理 +- 用户/角色管理 +- 栏目管理(树形结构) +- 内容类型:Banner、图文、文字列表、图片、单页、人员、岗位、捐赠收支 +- 网站配置 +- 药品援助数据管理 + +## 快速开始 + +```bash +# 安装依赖 +pnpm install + +# 开发环境 +pnpm start + +# 生产环境 +node production.js +``` + +## 目录结构 + +``` +├── src/ +│ ├── controller/ # 控制器 +│ ├── model/ # 数据模型 +│ ├── config/ # 配置文件 +│ └── logic/ # 逻辑层 +├── view/ +│ ├── admin/ # 后台视图 +│ ├── common/ # 前台公共组件 +│ ├── layout.html # 前台布局 +│ └── index_index.html # 首页 +├── www/static/ # 静态资源 +└── sql/ # 数据库脚本 +``` + +## 数据库 + +执行 `sql/` 目录下的SQL脚本初始化数据库。 + +## 访问地址 + +- 前台: http://localhost:8360/ +- 后台: http://localhost:8360/admin/login.html diff --git a/development.js b/development.js new file mode 100644 index 0000000..b4bd1b8 --- /dev/null +++ b/development.js @@ -0,0 +1,12 @@ +const path = require('path'); +const Application = require('thinkjs'); +const watcher = require('think-watcher'); + +const instance = new Application({ + ROOT_PATH: __dirname, + APP_PATH: path.join(__dirname, 'src'), + watcher: watcher, + env: 'development' +}); + +instance.run(); diff --git a/nginx.conf b/nginx.conf new file mode 100644 index 0000000..7a0ea9f --- /dev/null +++ b/nginx.conf @@ -0,0 +1,50 @@ +# HTTP -> HTTPS 强制跳转 +server { + listen 80; + server_name wk.aionline.cc; + return 301 https://$host$request_uri; +} + +# HTTPS +server { + listen 443 ssl; + http2 on; + server_name wk.aionline.cc; + root /home/www/pap_web/www; + + ssl_certificate /etc/nginx/ssl/wk.aionline.cc.pem; + ssl_certificate_key /etc/nginx/ssl/wk.aionline.cc.key; + ssl_protocols TLSv1.2 TLSv1.3; + ssl_ciphers HIGH:!aNULL:!MD5; + + set $node_port 8361; + + index index.js index.html index.htm; + + # 静态资源直接返回,长缓存 + location ~ /static/ { + etag on; + expires max; + } + + # 上传文件目录 + location /upload/ { + alias /home/www/pap_web/www/upload/; + etag on; + expires 7d; + } + + # 其余请求代理到 Node + location / { + proxy_http_version 1.1; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header X-Forwarded-Proto $scheme; + proxy_set_header Host $http_host; + proxy_set_header X-NginX-Proxy true; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection "upgrade"; + proxy_pass http://127.0.0.1:$node_port; + proxy_redirect off; + } +} diff --git a/package.json b/package.json new file mode 100644 index 0000000..5513c58 --- /dev/null +++ b/package.json @@ -0,0 +1,59 @@ +{ + "name": "cytx_api", + "description": "cytx_api management system", + "version": "1.0.0", + "author": "leiyun ", + "scripts": { + "start": "node development.js", + "test": "THINK_UNIT_TEST=1 nyc ava test/ && nyc report --reporter=html", + "lint": "eslint src/", + "lint-fix": "eslint --fix src/" + }, + "dependencies": { + "axios": "^1.13.5", + "cheerio": "^1.2.0", + "cos-nodejs-sdk-v5": "^2.14.0", + "dayjs": "^1.11.20", + "jsonwebtoken": "^9.0.3", + "puppeteer": "^24.39.1", + "sharp": "^0.33.0", + "svg-captcha": "^1.4.0", + "tencentcloud-sdk-nodejs": "^4.1.198", + "think-cache": "^1.0.0", + "think-cache-file": "^1.0.8", + "think-cache-redis": "^1.2.6", + "think-logger3": "^1.0.0", + "think-model": "^1.0.0", + "think-model-mysql": "^1.0.0", + "think-session": "^1.0.0", + "think-session-file": "^1.0.5", + "think-view": "^1.0.0", + "think-view-nunjucks": "^1.0.1", + "thinkjs": "^3.0.0" + }, + "devDependencies": { + "ava": "^0.18.0", + "eslint": "^4.2.0", + "eslint-config-think": "^1.0.0", + "nyc": "^7.0.0", + "think-watcher": "^3.0.0" + }, + "repository": "", + "license": "MIT", + "engines": { + "node": ">=6.0.0" + }, + "readmeFilename": "README.md", + "thinkjs": { + "metadata": { + "name": "cytx_api", + "description": "cytx_api management system", + "author": "leiyun ", + "babel": false + }, + "projectName": "cytx_api", + "template": "D:\\Program Files\\nvm\\nvm\\v24.10.0\\node_modules\\think-cli\\default_template", + "clone": false, + "isMultiModule": false + } +} \ No newline at end of file diff --git a/pm2.json b/pm2.json new file mode 100644 index 0000000..0fd9bff --- /dev/null +++ b/pm2.json @@ -0,0 +1,15 @@ +{ + "apps": [{ + "name": "cytx_api", + "script": "production.js", + "cwd": "/home/www/cytx_api", + "exec_mode": "fork", + "max_memory_restart": "1G", + "autorestart": true, + "node_args": [], + "args": [], + "env": { + + } + }] +} diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml new file mode 100644 index 0000000..b7b2a1f --- /dev/null +++ b/pnpm-lock.yaml @@ -0,0 +1,8624 @@ +lockfileVersion: '9.0' + +settings: + autoInstallPeers: true + excludeLinksFromLockfile: false + +importers: + + .: + dependencies: + axios: + specifier: ^1.13.5 + version: 1.13.5 + cheerio: + specifier: ^1.2.0 + version: 1.2.0 + cos-nodejs-sdk-v5: + specifier: ^2.14.0 + version: 2.15.4 + dayjs: + specifier: ^1.11.20 + version: 1.11.20 + jsonwebtoken: + specifier: ^9.0.3 + version: 9.0.3 + puppeteer: + specifier: ^24.39.1 + version: 24.39.1 + sharp: + specifier: ^0.33.0 + version: 0.33.5 + svg-captcha: + specifier: ^1.4.0 + version: 1.4.0 + tencentcloud-sdk-nodejs: + specifier: ^4.1.198 + version: 4.1.198 + think-cache: + specifier: ^1.0.0 + version: 1.1.2 + think-cache-file: + specifier: ^1.0.8 + version: 1.1.2 + think-cache-redis: + specifier: ^1.2.6 + version: 1.2.6 + think-logger3: + specifier: ^1.0.0 + version: 1.4.0 + think-model: + specifier: ^1.0.0 + version: 1.5.4 + think-model-mysql: + specifier: ^1.0.0 + version: 1.1.7 + think-session: + specifier: ^1.0.0 + version: 1.1.6 + think-session-file: + specifier: ^1.0.5 + version: 1.1.4 + think-view: + specifier: ^1.0.0 + version: 1.0.13 + think-view-nunjucks: + specifier: ^1.0.1 + version: 1.0.11 + thinkjs: + specifier: ^3.0.0 + version: 3.2.15 + devDependencies: + ava: + specifier: ^0.18.0 + version: 0.18.2 + eslint: + specifier: ^4.2.0 + version: 4.19.1 + eslint-config-think: + specifier: ^1.0.0 + version: 1.0.3(eslint@4.19.1) + nyc: + specifier: ^7.0.0 + version: 7.1.0 + think-watcher: + specifier: ^3.0.0 + version: 3.0.4 + +packages: + + '@ava/babel-preset-stage-4@1.1.0': + resolution: {integrity: sha512-oWqTnIGXW3k72UFidXzW0ONlO7hnO9x02S/QReJ7NBGeiBH9cUHY9+EfV6C8PXC6YJH++WrliEq03wMSJGNZFg==} + engines: {node: '>=4'} + + '@ava/babel-preset-transform-test-files@2.0.1': + resolution: {integrity: sha512-IWDAF+UbrlMEF3Uacb8eXBOlzBWjSnZw/dlDFmQ/C6wFjQGDHz3GXj+sBWVUMxKqFvll7sgIjeQID0lQBH//Zw==} + engines: {node: '>=4'} + + '@ava/pretty-format@1.1.0': + resolution: {integrity: sha512-dUfHVmktEiqWtSJWGjI3GohO5rNZm6FLBYLN8Fx9cOf8SjYyFuxuvn3u9NLHoaZR63O/7uBv/Uf0VNEYgNJZCA==} + + '@babel/code-frame@7.29.0': + resolution: {integrity: sha512-9NhCeYjq9+3uxgdtp20LSiJXJvN0FeCtNGpJxuMFZ1Kv3cWUNb6DOhJwUvcVCzKGR66cw4njwM6hrJLqgOwbcw==} + engines: {node: '>=6.9.0'} + + '@babel/generator@7.29.1': + resolution: {integrity: sha512-qsaF+9Qcm2Qv8SRIMMscAvG4O3lJ0F1GuMo5HR/Bp02LopNgnZBC/EkbevHFeGs4ls/oPz9v+Bsmzbkbe+0dUw==} + engines: {node: '>=6.9.0'} + + '@babel/helper-globals@7.28.0': + resolution: {integrity: sha512-+W6cISkXFa1jXsDEdYA8HeevQT/FULhxzR99pxphltZcVaugps53THCeiWA8SguxxpSp3gKPiuYfSWopkLQ4hw==} + engines: {node: '>=6.9.0'} + + '@babel/helper-string-parser@7.27.1': + resolution: {integrity: sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA==} + engines: {node: '>=6.9.0'} + + '@babel/helper-validator-identifier@7.28.5': + resolution: {integrity: sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q==} + engines: {node: '>=6.9.0'} + + '@babel/parser@7.29.0': + resolution: {integrity: sha512-IyDgFV5GeDUVX4YdF/3CPULtVGSXXMLh1xVIgdCgxApktqnQV0r7/8Nqthg+8YLGaAtdyIlo2qIdZrbCv4+7ww==} + engines: {node: '>=6.0.0'} + hasBin: true + + '@babel/template@7.28.6': + resolution: {integrity: sha512-YA6Ma2KsCdGb+WC6UpBVFJGXL58MDA6oyONbjyF/+5sBgxY/dwkhLogbMT2GXXyU84/IhRw/2D1Os1B/giz+BQ==} + engines: {node: '>=6.9.0'} + + '@babel/traverse@7.29.0': + resolution: {integrity: sha512-4HPiQr0X7+waHfyXPZpWPfWL/J7dcN1mx9gL6WdQVMbPnF3+ZhSMs8tCxN7oHddJE9fhNE7+lxdnlyemKfJRuA==} + engines: {node: '>=6.9.0'} + + '@babel/types@7.29.0': + resolution: {integrity: sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A==} + engines: {node: '>=6.9.0'} + + '@emnapi/runtime@1.8.1': + resolution: {integrity: sha512-mehfKSMWjjNol8659Z8KxEMrdSJDDot5SXMq00dM8BN4o+CLNXQ0xH2V7EchNHV4RmbZLmmPdEaXZc5H2FXmDg==} + + '@img/sharp-darwin-arm64@0.33.5': + resolution: {integrity: sha512-UT4p+iz/2H4twwAoLCqfA9UH5pI6DggwKEGuaPy7nCVQ8ZsiY5PIcrRvD1DzuY3qYL07NtIQcWnBSY/heikIFQ==} + engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} + cpu: [arm64] + os: [darwin] + + '@img/sharp-darwin-x64@0.33.5': + resolution: {integrity: sha512-fyHac4jIc1ANYGRDxtiqelIbdWkIuQaI84Mv45KvGRRxSAa7o7d1ZKAOBaYbnepLC1WqxfpimdeWfvqqSGwR2Q==} + engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} + cpu: [x64] + os: [darwin] + + '@img/sharp-libvips-darwin-arm64@1.0.4': + resolution: {integrity: sha512-XblONe153h0O2zuFfTAbQYAX2JhYmDHeWikp1LM9Hul9gVPjFY427k6dFEcOL72O01QxQsWi761svJ/ev9xEDg==} + cpu: [arm64] + os: [darwin] + + '@img/sharp-libvips-darwin-x64@1.0.4': + resolution: {integrity: sha512-xnGR8YuZYfJGmWPvmlunFaWJsb9T/AO2ykoP3Fz/0X5XV2aoYBPkX6xqCQvUTKKiLddarLaxpzNe+b1hjeWHAQ==} + cpu: [x64] + os: [darwin] + + '@img/sharp-libvips-linux-arm64@1.0.4': + resolution: {integrity: sha512-9B+taZ8DlyyqzZQnoeIvDVR/2F4EbMepXMc/NdVbkzsJbzkUjhXv/70GQJ7tdLA4YJgNP25zukcxpX2/SueNrA==} + cpu: [arm64] + os: [linux] + libc: [glibc] + + '@img/sharp-libvips-linux-arm@1.0.5': + resolution: {integrity: sha512-gvcC4ACAOPRNATg/ov8/MnbxFDJqf/pDePbBnuBDcjsI8PssmjoKMAz4LtLaVi+OnSb5FK/yIOamqDwGmXW32g==} + cpu: [arm] + os: [linux] + libc: [glibc] + + '@img/sharp-libvips-linux-s390x@1.0.4': + resolution: {integrity: sha512-u7Wz6ntiSSgGSGcjZ55im6uvTrOxSIS8/dgoVMoiGE9I6JAfU50yH5BoDlYA1tcuGS7g/QNtetJnxA6QEsCVTA==} + cpu: [s390x] + os: [linux] + libc: [glibc] + + '@img/sharp-libvips-linux-x64@1.0.4': + resolution: {integrity: sha512-MmWmQ3iPFZr0Iev+BAgVMb3ZyC4KeFc3jFxnNbEPas60e1cIfevbtuyf9nDGIzOaW9PdnDciJm+wFFaTlj5xYw==} + cpu: [x64] + os: [linux] + libc: [glibc] + + '@img/sharp-libvips-linuxmusl-arm64@1.0.4': + resolution: {integrity: sha512-9Ti+BbTYDcsbp4wfYib8Ctm1ilkugkA/uscUn6UXK1ldpC1JjiXbLfFZtRlBhjPZ5o1NCLiDbg8fhUPKStHoTA==} + cpu: [arm64] + os: [linux] + libc: [musl] + + '@img/sharp-libvips-linuxmusl-x64@1.0.4': + resolution: {integrity: sha512-viYN1KX9m+/hGkJtvYYp+CCLgnJXwiQB39damAO7WMdKWlIhmYTfHjwSbQeUK/20vY154mwezd9HflVFM1wVSw==} + cpu: [x64] + os: [linux] + libc: [musl] + + '@img/sharp-linux-arm64@0.33.5': + resolution: {integrity: sha512-JMVv+AMRyGOHtO1RFBiJy/MBsgz0x4AWrT6QoEVVTyh1E39TrCUpTRI7mx9VksGX4awWASxqCYLCV4wBZHAYxA==} + engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} + cpu: [arm64] + os: [linux] + libc: [glibc] + + '@img/sharp-linux-arm@0.33.5': + resolution: {integrity: sha512-JTS1eldqZbJxjvKaAkxhZmBqPRGmxgu+qFKSInv8moZ2AmT5Yib3EQ1c6gp493HvrvV8QgdOXdyaIBrhvFhBMQ==} + engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} + cpu: [arm] + os: [linux] + libc: [glibc] + + '@img/sharp-linux-s390x@0.33.5': + resolution: {integrity: sha512-y/5PCd+mP4CA/sPDKl2961b+C9d+vPAveS33s6Z3zfASk2j5upL6fXVPZi7ztePZ5CuH+1kW8JtvxgbuXHRa4Q==} + engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} + cpu: [s390x] + os: [linux] + libc: [glibc] + + '@img/sharp-linux-x64@0.33.5': + resolution: {integrity: sha512-opC+Ok5pRNAzuvq1AG0ar+1owsu842/Ab+4qvU879ippJBHvyY5n2mxF1izXqkPYlGuP/M556uh53jRLJmzTWA==} + engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} + cpu: [x64] + os: [linux] + libc: [glibc] + + '@img/sharp-linuxmusl-arm64@0.33.5': + resolution: {integrity: sha512-XrHMZwGQGvJg2V/oRSUfSAfjfPxO+4DkiRh6p2AFjLQztWUuY/o8Mq0eMQVIY7HJ1CDQUJlxGGZRw1a5bqmd1g==} + engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} + cpu: [arm64] + os: [linux] + libc: [musl] + + '@img/sharp-linuxmusl-x64@0.33.5': + resolution: {integrity: sha512-WT+d/cgqKkkKySYmqoZ8y3pxx7lx9vVejxW/W4DOFMYVSkErR+w7mf2u8m/y4+xHe7yY9DAXQMWQhpnMuFfScw==} + engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} + cpu: [x64] + os: [linux] + libc: [musl] + + '@img/sharp-wasm32@0.33.5': + resolution: {integrity: sha512-ykUW4LVGaMcU9lu9thv85CbRMAwfeadCJHRsg2GmeRa/cJxsVY9Rbd57JcMxBkKHag5U/x7TSBpScF4U8ElVzg==} + engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} + cpu: [wasm32] + + '@img/sharp-win32-ia32@0.33.5': + resolution: {integrity: sha512-T36PblLaTwuVJ/zw/LaH0PdZkRz5rd3SmMHX8GSmR7vtNSP5Z6bQkExdSK7xGWyxLw4sUknBuugTelgw2faBbQ==} + engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} + cpu: [ia32] + os: [win32] + + '@img/sharp-win32-x64@0.33.5': + resolution: {integrity: sha512-MpY/o8/8kj+EcnxwvrP4aTJSWw/aZ7JIGR4aBeZkZw5B7/Jn+tY9/VNwtcoGmdT7GfggGIU4kygOMSbYnOrAbg==} + engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} + cpu: [x64] + os: [win32] + + '@jridgewell/gen-mapping@0.3.13': + resolution: {integrity: sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==} + + '@jridgewell/resolve-uri@3.1.2': + resolution: {integrity: sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==} + engines: {node: '>=6.0.0'} + + '@jridgewell/sourcemap-codec@1.5.5': + resolution: {integrity: sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==} + + '@jridgewell/trace-mapping@0.3.31': + resolution: {integrity: sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==} + + '@puppeteer/browsers@2.13.0': + resolution: {integrity: sha512-46BZJYJjc/WwmKjsvDFykHtXrtomsCIrwYQPOP7VfMJoZY2bsDF9oROBABR3paDjDcmkUye1Pb1BqdcdiipaWA==} + engines: {node: '>=18'} + hasBin: true + + '@rtsao/scc@1.1.0': + resolution: {integrity: sha512-zt6OdqaDoOnJ1ZYsCYGt9YmWzDXl4vQdKTyJev62gFhRGKdx7mcT54V9KIjg+d2wi9EXsPvAPKe7i7WjfVWB8g==} + + '@tootallnate/quickjs-emscripten@0.23.0': + resolution: {integrity: sha512-C5Mc6rdnsaJDjO3UpGW/CQTHtCKaYlScZTly4JIu97Jxo/odCiH0ITnDXSJPTOrEKk/ycSZ0AOgTmkDtkOsvIA==} + + '@types/json5@0.0.29': + resolution: {integrity: sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==} + + '@types/keyv@3.1.4': + resolution: {integrity: sha512-BQ5aZNSCpj7D6K2ksrRCTmKRLEpnPvWDiLPfoGyhZ++8YtiK9d/3DBKPJgry359X/P1PfruyYwvnvwFjuEiEIg==} + + '@types/node@25.2.3': + resolution: {integrity: sha512-m0jEgYlYz+mDJZ2+F4v8D1AyQb+QzsNqRuI7xg1VQX/KlKS0qT9r1Mo16yo5F/MtifXFgaofIFsdFMox2SxIbQ==} + + '@types/responselike@1.0.3': + resolution: {integrity: sha512-H/+L+UkTV33uf49PH5pCAUBVPNj2nDBXTN+qS1dOwyyg24l3CcicicCA7ca+HMvJBZcFgl5r8e+RR6elsb4Lyw==} + + '@types/yauzl@2.10.3': + resolution: {integrity: sha512-oJoftv0LSuaDZE3Le4DbKX+KS9G36NzOeSap90UIK0yMA/NhKJhqlSGtNDORNRaIbQfzjXDrQa0ytJ6mNRGz/Q==} + + a-sync-waterfall@1.0.1: + resolution: {integrity: sha512-RYTOHHdWipFUliRFMCS4X2Yn2X8M87V/OpSqWzKKOGhzqyUxzyVmhHDH9sAvG+ZuQf/TAOFsLCpMw09I1ufUnA==} + + accepts@1.3.8: + resolution: {integrity: sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==} + engines: {node: '>= 0.6'} + + acorn-jsx@3.0.1: + resolution: {integrity: sha512-AU7pnZkguthwBjKgCg6998ByQNIMjbuDQZ8bb78QAFZwPfmKia8AIzgY/gWgqCjnht8JLdXmB4YxA0KaV60ncQ==} + + acorn@3.3.0: + resolution: {integrity: sha512-OLUyIIZ7mF5oaAUT1w0TFqQS81q3saT46x8t7ukpPjMNk+nbs4ZHhs7ToV8EWnLYLepjETXd4XaCE4uxkMeqUw==} + engines: {node: '>=0.4.0'} + hasBin: true + + acorn@5.7.4: + resolution: {integrity: sha512-1D++VG7BhrtvQpNbBzovKNc1FLGGEE/oGe7b9xJm/RFHMBeUaUGpluV9RLjZa47YFdPcDAenEYuq9pQPcMdLJg==} + engines: {node: '>=0.4.0'} + hasBin: true + + agent-base@6.0.2: + resolution: {integrity: sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==} + engines: {node: '>= 6.0.0'} + + agent-base@7.1.4: + resolution: {integrity: sha512-MnA+YT8fwfJPgBx3m60MNqakm30XOkyIoH1y6huTQvC0PwZG7ki8NacLBcrPbNoo8vEZy7Jpuk7+jMO+CUovTQ==} + engines: {node: '>= 14'} + + ajv-formats@1.6.1: + resolution: {integrity: sha512-4CjkH20If1lhR5CGtqkrVg3bbOtFEG80X9v6jDOIUhbzzbB+UzPBGy8GQhUNVZ0yvMHdMpawCOcy5ydGMsagGQ==} + peerDependencies: + ajv: ^7.0.0 + peerDependenciesMeta: + ajv: + optional: true + + ajv-keywords@2.1.1: + resolution: {integrity: sha512-ZFztHzVRdGLAzJmpUT9LNFLe1YiVOEylcaNpEutM26PVTCtOD919IMfD01CgbRouB42Dd9atjx1HseC15DgOZA==} + peerDependencies: + ajv: ^5.0.0 + + ajv@5.5.2: + resolution: {integrity: sha512-Ajr4IcMXq/2QmMkEmSvxqfLN5zGmJ92gHXAeOXq1OekoH2rfDNsgdDoL2f7QaRCy7G/E6TpxBVdRuNraMztGHw==} + + ajv@6.12.6: + resolution: {integrity: sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==} + + ajv@7.2.4: + resolution: {integrity: sha512-nBeQgg/ZZA3u3SYxyaDvpvDtgZ/EZPF547ARgZBrG9Bhu1vKDwAIjtIf+sDtJUKa2zOcEbmRLBRSyMraS/Oy1A==} + + ansi-align@1.1.0: + resolution: {integrity: sha512-ncgIO/ZeFcsh3cye0NgGPb5h/3vCiKJxp6HvPtqsFvEL/4b/G2tNgrr8EOYN5RSVnGx69k8dFYSBG/w1yKX58Q==} + + ansi-escapes@3.2.0: + resolution: {integrity: sha512-cBhpre4ma+U0T1oM5fXg7Dy1Jw7zzwv7lt/GoCpr+hDQJoYnKVPLL4dCvSEFMmQurOQvSrwT7SL/DAlhBI97RQ==} + engines: {node: '>=4'} + + ansi-regex@2.1.1: + resolution: {integrity: sha512-TIGnTpdo+E3+pCyAluZvtED5p5wCqLdezCyhPZzKPcxvFplEt4i+W7OONCKgeZFT3+y5NZZfOOS/Bdcanm1MYA==} + engines: {node: '>=0.10.0'} + + ansi-regex@3.0.1: + resolution: {integrity: sha512-+O9Jct8wf++lXxxFc4hc8LsjaSq0HFzzL7cVsw8pRDIPdjKD2mT4ytDZlLuSBZ4cLKZFXIrMGO7DbQCtMJJMKw==} + engines: {node: '>=4'} + + ansi-regex@5.0.1: + resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==} + engines: {node: '>=8'} + + ansi-styles@1.0.0: + resolution: {integrity: sha512-3iF4FIKdxaVYT3JqQuY3Wat/T2t7TRbbQ94Fu50ZUCbLy4TFbTzr90NOHQodQkNqmeEGCw8WbeP78WNi6SKYUA==} + engines: {node: '>=0.8.0'} + + ansi-styles@2.2.1: + resolution: {integrity: sha512-kmCevFghRiWM7HB5zTPULl4r9bVFSWjz62MhqizDGUrq2NWuNMQyuv4tHHoKJHs69M/MF64lEcHdYIocrdWQYA==} + engines: {node: '>=0.10.0'} + + ansi-styles@3.2.1: + resolution: {integrity: sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==} + engines: {node: '>=4'} + + ansi-styles@4.3.0: + resolution: {integrity: sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==} + engines: {node: '>=8'} + + any-promise@1.3.0: + resolution: {integrity: sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==} + + anymatch@1.3.2: + resolution: {integrity: sha512-0XNayC8lTHQ2OI8aljNCN3sSx6hsr/1+rlcDAotXJR7C1oZZHCNsfpbKwMjRA3Uqb5tF1Rae2oloTr4xpq+WjA==} + + argparse@1.0.10: + resolution: {integrity: sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==} + + argparse@2.0.1: + resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==} + + arr-diff@2.0.0: + resolution: {integrity: sha512-dtXTVMkh6VkEEA7OhXnN1Ecb8aAGFdZ1LFxtOCoqj4qkyOJMt7+qs6Ahdy6p/NQCPYsRSXXivhSB/J5E9jmYKA==} + engines: {node: '>=0.10.0'} + + arr-diff@4.0.0: + resolution: {integrity: sha512-YVIQ82gZPGBebQV/a8dar4AitzCQs0jjXwMPZllpXMaGjXPYVUawSxQrRsjhjupyVxEvbHgUmIhKVlND+j02kA==} + engines: {node: '>=0.10.0'} + + arr-exclude@1.0.0: + resolution: {integrity: sha512-TiXbMMkPQNfoHcVi6jeU6IejGAFlcn0hYgVVe7tCiqL/ZtxbNkhDSMarUQjg/PAe9NQNvRd6YCVNutzo3Fxdug==} + engines: {node: '>=0.10.0'} + + arr-flatten@1.1.0: + resolution: {integrity: sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg==} + engines: {node: '>=0.10.0'} + + arr-union@3.1.0: + resolution: {integrity: sha512-sKpyeERZ02v1FeCZT8lrfJq5u6goHCtpTAzPwJYe7c8SPFOboNjNg1vz2L4VTn9T4PQxEx13TbXLmYUcS6Ug7Q==} + engines: {node: '>=0.10.0'} + + array-buffer-byte-length@1.0.2: + resolution: {integrity: sha512-LHE+8BuR7RYGDKvnrmcuSq3tDcKv9OFEXQt/HpbZhY7V6h0zlUXutnAD82GiFx9rdieCMjkvtcsPqBwgUl1Iiw==} + engines: {node: '>= 0.4'} + + array-differ@1.0.0: + resolution: {integrity: sha512-LeZY+DZDRnvP7eMuQ6LHfCzUGxAAIViUBliK24P3hWXL6y4SortgR6Nim6xrkfSLlmH0+k+9NYNwVC2s53ZrYQ==} + engines: {node: '>=0.10.0'} + + array-find-index@1.0.2: + resolution: {integrity: sha512-M1HQyIXcBGtVywBt8WVdim+lrNaK7VHp99Qt5pSNziXznKHViIBbXWtfRTpEFpF/c4FdfxNAsCCwPp5phBYJtw==} + engines: {node: '>=0.10.0'} + + array-includes@3.1.9: + resolution: {integrity: sha512-FmeCCAenzH0KH381SPT5FZmiA/TmpndpcaShhfgEN9eCVjnFBqq3l1xrI42y8+PPLI6hypzou4GXw00WHmPBLQ==} + engines: {node: '>= 0.4'} + + array-union@1.0.2: + resolution: {integrity: sha512-Dxr6QJj/RdU/hCaBjOfxW+q6lyuVE6JFWIrAUpuOOhoJJoQ99cUn3igRaHVB5P9WrgFVN0FfArM3x0cueOU8ng==} + engines: {node: '>=0.10.0'} + + array-uniq@1.0.3: + resolution: {integrity: sha512-MNha4BWQ6JbwhFhj03YK552f7cb3AzoE8SzeljgChvL1dl3IcvggXVz1DilzySZkCja+CXuZbdW7yATchWn8/Q==} + engines: {node: '>=0.10.0'} + + array-unique@0.2.1: + resolution: {integrity: sha512-G2n5bG5fSUCpnsXz4+8FUkYsGPkNfLn9YvS66U5qbTIXI2Ynnlo4Bi42bWv+omKUCqz+ejzfClwne0alJWJPhg==} + engines: {node: '>=0.10.0'} + + array-unique@0.3.2: + resolution: {integrity: sha512-SleRWjh9JUud2wH1hPs9rZBZ33H6T9HOiL0uwGnGx9FpE6wKGyfWugmbkEOIs6qWrZhg0LWeLziLrEwQJhs5mQ==} + engines: {node: '>=0.10.0'} + + array.prototype.findlastindex@1.2.6: + resolution: {integrity: sha512-F/TKATkzseUExPlfvmwQKGITM3DGTK+vkAsCZoDc5daVygbJBnjEUCbgkAvVFsgfXfX4YIqZ/27G3k3tdXrTxQ==} + engines: {node: '>= 0.4'} + + array.prototype.flat@1.3.3: + resolution: {integrity: sha512-rwG/ja1neyLqCuGZ5YYrznA62D4mZXg0i1cIskIUKSiqF3Cje9/wXAls9B9s1Wa2fomMsIv8czB8jZcPmxCXFg==} + engines: {node: '>= 0.4'} + + array.prototype.flatmap@1.3.3: + resolution: {integrity: sha512-Y7Wt51eKJSyi80hFrJCePGGNo5ktJCslFuboqJsbf57CCPcm5zztluPlc4/aD8sWsKvlwatezpV4U1efk8kpjg==} + engines: {node: '>= 0.4'} + + arraybuffer.prototype.slice@1.0.4: + resolution: {integrity: sha512-BNoCY6SXXPQ7gF2opIP4GBE+Xw7U+pHMYKuzjgCN3GwiaIR09UUeKfheyIry77QtrCBlC0KK0q5/TER/tYh3PQ==} + engines: {node: '>= 0.4'} + + arrify@1.0.1: + resolution: {integrity: sha512-3CYzex9M9FGQjCGMGyi6/31c8GJbgb0qGyrx5HWxPd0aCwh4cB2YjMb2Xf9UuoogrMrlO9cTqnB5rI5GHZTcUA==} + engines: {node: '>=0.10.0'} + + asap@2.0.6: + resolution: {integrity: sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA==} + + asn1@0.2.6: + resolution: {integrity: sha512-ix/FxPn0MDjeyJ7i/yoHGFt/EX6LyNbxSEhPPXODPL+KB0VPk86UYfL0lMdy+KCnv+fmvIzySwaK5COwqVbWTQ==} + + assert-plus@1.0.0: + resolution: {integrity: sha512-NfJ4UzBCcQGLDlQq7nHxH+tv3kyZ0hHQqF5BO6J7tNJeP5do1llPr8dZ8zHonfhAu0PHAdMkSo+8o0wxg9lZWw==} + engines: {node: '>=0.8'} + + assign-symbols@1.0.0: + resolution: {integrity: sha512-Q+JC7Whu8HhmTdBph/Tq59IoRtoy6KAm5zzPv00WdujX82lbAL8K7WVjne7vdCsAmbF4AYaDOPyO3k0kl8qIrw==} + engines: {node: '>=0.10.0'} + + ast-types@0.13.4: + resolution: {integrity: sha512-x1FCFnFifvYDDzTaLII71vG5uvDwgtmDTEVWAxrgeiR8VjMONcCXJx7E+USjDtHlwFmt9MysbqgF9b9Vjr6w+w==} + engines: {node: '>=4'} + + async-each@1.0.6: + resolution: {integrity: sha512-c646jH1avxr+aVpndVMeAfYw7wAa6idufrlN3LPA4PmKS0QEGp6PIC9nwz0WQkkvBGAMEki3pFdtxaF39J9vvg==} + + async-function@1.0.0: + resolution: {integrity: sha512-hsU18Ae8CDTR6Kgu9DYf0EbCr/a5iGL0rytQDobUcdpYOKokk8LEjVphnXkDkgpi0wYVsqrXuP0bZxJaTqdgoA==} + engines: {node: '>= 0.4'} + + asynckit@0.4.0: + resolution: {integrity: sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==} + + atob@2.1.2: + resolution: {integrity: sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==} + engines: {node: '>= 4.5.0'} + hasBin: true + + atomically@1.7.0: + resolution: {integrity: sha512-Xcz9l0z7y9yQ9rdDaxlmaI4uJHf/T8g9hOEzJcsEqX2SjCj4J20uK7+ldkDHMbpJDK76wF7xEIgxc/vSlsfw5w==} + engines: {node: '>=10.12.0'} + + auto-bind@1.2.1: + resolution: {integrity: sha512-/W9yj1yKmBLwpexwAujeD9YHwYmRuWFGV8HWE7smQab797VeHa4/cnE2NFeDhA+E+5e/OGBI8763EhLjfZ/MXA==} + engines: {node: '>=4'} + + ava-init@0.2.1: + resolution: {integrity: sha512-lXwK5LM+2g1euDRqW1mcSX/tqzY1QU7EjKpqayFPPtNRmbSYZ8RzPO5tqluTToijmtjp2M+pNpVdbcHssC4glg==} + engines: {node: '>=4'} + + ava@0.18.2: + resolution: {integrity: sha512-uarnGkAe6sHTY1srbC6/Pa2bJdpeeECSaiqaAJPCaFa+YrBPlVsso/cee174OWtGLv2o2Mz6flZvSs52BXHfcA==} + engines: {node: '>=4'} + hasBin: true + + available-typed-arrays@1.0.7: + resolution: {integrity: sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==} + engines: {node: '>= 0.4'} + + aws-sign2@0.7.0: + resolution: {integrity: sha512-08kcGqnYf/YmjoRhfxyu+CLxBjUtHLXLXX/vUfx9l2LYzG3c1m61nrpyFUZI6zeS+Li/wWMMidD9KgrqtGq3mA==} + + aws4@1.13.2: + resolution: {integrity: sha512-lHe62zvbTB5eEABUVi/AwVh0ZKY9rMMDhmm+eeyuuUQbQ3+J+fONVQOZyj+DdrvD4BY33uYniyRJ4UJIaSKAfw==} + + axios@1.13.5: + resolution: {integrity: sha512-cz4ur7Vb0xS4/KUN0tPWe44eqxrIu31me+fbang3ijiNscE129POzipJJA6zniq2C/Z6sJCjMimjS8Lc/GAs8Q==} + + b4a@1.8.0: + resolution: {integrity: sha512-qRuSmNSkGQaHwNbM7J78Wwy+ghLEYF1zNrSeMxj4Kgw6y33O3mXcQ6Ie9fRvfU/YnxWkOchPXbaLb73TkIsfdg==} + peerDependencies: + react-native-b4a: '*' + peerDependenciesMeta: + react-native-b4a: + optional: true + + babel-code-frame@6.26.0: + resolution: {integrity: sha512-XqYMR2dfdGMW+hd0IUZ2PwK+fGeFkOxZJ0wY+JaQAHzt1Zx8LcvpiZD2NiGkEG8qx0CfkAOr5xt76d1e8vG90g==} + + babel-core@6.26.3: + resolution: {integrity: sha512-6jyFLuDmeidKmUEb3NM+/yawG0M2bDZ9Z1qbZP59cyHLz8kYGKYwpJP0UwUKKUiTRNvxfLesJnTedqczP7cTDA==} + + babel-eslint@10.1.0: + resolution: {integrity: sha512-ifWaTHQ0ce+448CYop8AdrQiBsGrnC+bMgfyKFdi6EsPLTAWG+QfyDeM6OH+FmWnKvEq5NnBMLvlBUPKQZoDSg==} + engines: {node: '>=6'} + deprecated: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates. + peerDependencies: + eslint: '>= 4.12.1' + + babel-generator@6.26.1: + resolution: {integrity: sha512-HyfwY6ApZj7BYTcJURpM5tznulaBvyio7/0d4zFOeMPUmfxkCjHocCuoLa2SAGzBI8AREcH3eP3758F672DppA==} + + babel-helper-builder-binary-assignment-operator-visitor@6.24.1: + resolution: {integrity: sha512-gCtfYORSG1fUMX4kKraymq607FWgMWg+j42IFPc18kFQEsmtaibP4UrqsXt8FlEJle25HUd4tsoDR7H2wDhe9Q==} + + babel-helper-call-delegate@6.24.1: + resolution: {integrity: sha512-RL8n2NiEj+kKztlrVJM9JT1cXzzAdvWFh76xh/H1I4nKwunzE4INBXn8ieCZ+wh4zWszZk7NBS1s/8HR5jDkzQ==} + + babel-helper-explode-assignable-expression@6.24.1: + resolution: {integrity: sha512-qe5csbhbvq6ccry9G7tkXbzNtcDiH4r51rrPUbwwoTzZ18AqxWYRZT6AOmxrpxKnQBW0pYlBI/8vh73Z//78nQ==} + + babel-helper-function-name@6.24.1: + resolution: {integrity: sha512-Oo6+e2iX+o9eVvJ9Y5eKL5iryeRdsIkwRYheCuhYdVHsdEQysbc2z2QkqCLIYnNxkT5Ss3ggrHdXiDI7Dhrn4Q==} + + babel-helper-get-function-arity@6.24.1: + resolution: {integrity: sha512-WfgKFX6swFB1jS2vo+DwivRN4NB8XUdM3ij0Y1gnC21y1tdBoe6xjVnd7NSI6alv+gZXCtJqvrTeMW3fR/c0ng==} + + babel-helper-hoist-variables@6.24.1: + resolution: {integrity: sha512-zAYl3tqerLItvG5cKYw7f1SpvIxS9zi7ohyGHaI9cgDUjAT6YcY9jIEH5CstetP5wHIVSceXwNS7Z5BpJg+rOw==} + + babel-helper-regex@6.26.0: + resolution: {integrity: sha512-VlPiWmqmGJp0x0oK27Out1D+71nVVCTSdlbhIVoaBAj2lUgrNjBCRR9+llO4lTSb2O4r7PJg+RobRkhBrf6ofg==} + + babel-helper-remap-async-to-generator@6.24.1: + resolution: {integrity: sha512-RYqaPD0mQyQIFRu7Ho5wE2yvA/5jxqCIj/Lv4BXNq23mHYu/vxikOy2JueLiBxQknwapwrJeNCesvY0ZcfnlHg==} + + babel-helpers@6.24.1: + resolution: {integrity: sha512-n7pFrqQm44TCYvrCDb0MqabAF+JUBq+ijBvNMUxpkLjJaAu32faIexewMumrH5KLLJ1HDyT0PTEqRyAe/GwwuQ==} + + babel-messages@6.23.0: + resolution: {integrity: sha512-Bl3ZiA+LjqaMtNYopA9TYE9HP1tQ+E5dLxE0XrAzcIJeK2UqF0/EaqXwBn9esd4UmTfEab+P+UYQ1GnioFIb/w==} + + babel-plugin-ava-throws-helper@1.0.0: + resolution: {integrity: sha512-+cUf3TWqZSLwhQ0OzgBM+0kCoooEsDp0/2RvBRNV7Qx/FkD2mItzvJtj0WdDcCJF+QgIexuPYH7bYw6vX7fJDw==} + engines: {node: '>=4'} + + babel-plugin-check-es2015-constants@6.22.0: + resolution: {integrity: sha512-B1M5KBP29248dViEo1owyY32lk1ZSH2DaNNrXLGt8lyjjHm7pBqAdQ7VKUPR6EEDO323+OvT3MQXbCin8ooWdA==} + + babel-plugin-espower@2.4.0: + resolution: {integrity: sha512-/+SRpy7pKgTI28oEHfn1wkuM5QFAdRq8WNsOOih1dVrdV6A/WbNbRZyl0eX5eyDgtb0lOE27PeDFuCX2j8OxVg==} + + babel-plugin-syntax-async-functions@6.13.0: + resolution: {integrity: sha512-4Zp4unmHgw30A1eWI5EpACji2qMocisdXhAftfhXoSV9j0Tvj6nRFE3tOmRY912E0FMRm/L5xWE7MGVT2FoLnw==} + + babel-plugin-syntax-exponentiation-operator@6.13.0: + resolution: {integrity: sha512-Z/flU+T9ta0aIEKl1tGEmN/pZiI1uXmCiGFRegKacQfEJzp7iNsKloZmyJlQr+75FCJtiFfGIK03SiCvCt9cPQ==} + + babel-plugin-syntax-trailing-function-commas@6.22.0: + resolution: {integrity: sha512-Gx9CH3Q/3GKbhs07Bszw5fPTlU+ygrOGfAhEt7W2JICwufpC4SuO0mG0+4NykPBSYPMJhqvVlDBU17qB1D+hMQ==} + + babel-plugin-transform-async-to-generator@6.24.1: + resolution: {integrity: sha512-7BgYJujNCg0Ti3x0c/DL3tStvnKS6ktIYOmo9wginv/dfZOrbSZ+qG4IRRHMBOzZ5Awb1skTiAsQXg/+IWkZYw==} + + babel-plugin-transform-es2015-destructuring@6.23.0: + resolution: {integrity: sha512-aNv/GDAW0j/f4Uy1OEPZn1mqD+Nfy9viFGBfQ5bZyT35YqOiqx7/tXdyfZkJ1sC21NyEsBdfDY6PYmLHF4r5iA==} + + babel-plugin-transform-es2015-function-name@6.24.1: + resolution: {integrity: sha512-iFp5KIcorf11iBqu/y/a7DK3MN5di3pNCzto61FqCNnUX4qeBwcV1SLqe10oXNnCaxBUImX3SckX2/o1nsrTcg==} + + babel-plugin-transform-es2015-modules-commonjs@6.26.2: + resolution: {integrity: sha512-CV9ROOHEdrjcwhIaJNBGMBCodN+1cfkwtM1SbUHmvyy35KGT7fohbpOxkE2uLz1o6odKK2Ck/tz47z+VqQfi9Q==} + + babel-plugin-transform-es2015-parameters@6.24.1: + resolution: {integrity: sha512-8HxlW+BB5HqniD+nLkQ4xSAVq3bR/pcYW9IigY+2y0dI+Y7INFeTbfAQr+63T3E4UDsZGjyb+l9txUnABWxlOQ==} + + babel-plugin-transform-es2015-spread@6.22.0: + resolution: {integrity: sha512-3Ghhi26r4l3d0Js933E5+IhHwk0A1yiutj9gwvzmFbVV0sPMYk2lekhOufHBswX7NCoSeF4Xrl3sCIuSIa+zOg==} + + babel-plugin-transform-es2015-sticky-regex@6.24.1: + resolution: {integrity: sha512-CYP359ADryTo3pCsH0oxRo/0yn6UsEZLqYohHmvLQdfS9xkf+MbCzE3/Kolw9OYIY4ZMilH25z/5CbQbwDD+lQ==} + + babel-plugin-transform-es2015-unicode-regex@6.24.1: + resolution: {integrity: sha512-v61Dbbihf5XxnYjtBN04B/JBvsScY37R1cZT5r9permN1cp+b70DY3Ib3fIkgn1DI9U3tGgBJZVD8p/mE/4JbQ==} + + babel-plugin-transform-exponentiation-operator@6.24.1: + resolution: {integrity: sha512-LzXDmbMkklvNhprr20//RStKVcT8Cu+SQtX18eMHLhjHf2yFzwtQ0S2f0jQ+89rokoNdmwoSqYzAhq86FxlLSQ==} + + babel-plugin-transform-strict-mode@6.24.1: + resolution: {integrity: sha512-j3KtSpjyLSJxNoCDrhwiJad8kw0gJ9REGj8/CqL0HeRyLnvUNYV9zcqluL6QJSXh3nfsLEmSLvwRfGzrgR96Pw==} + + babel-register@6.26.0: + resolution: {integrity: sha512-veliHlHX06wjaeY8xNITbveXSiI+ASFnOqvne/LaIJIqOWi2Ogmj91KOugEz/hoh/fwMhXNBJPCv8Xaz5CyM4A==} + + babel-runtime@6.26.0: + resolution: {integrity: sha512-ITKNuq2wKlW1fJg9sSW52eepoYgZBggvOAHC0u/CYu/qxQ9EVzThCgR69BnSXLHjy2f7SY5zaQ4yt7H9ZVxY2g==} + + babel-template@6.26.0: + resolution: {integrity: sha512-PCOcLFW7/eazGUKIoqH97sO9A2UYMahsn/yRQ7uOk37iutwjq7ODtcTNF+iFDSHNfkctqsLRjLP7URnOx0T1fg==} + + babel-traverse@6.26.0: + resolution: {integrity: sha512-iSxeXx7apsjCHe9c7n8VtRXGzI2Bk1rBSOJgCCjfyXb6v1aCqE1KSEpq/8SXuVN8Ka/Rh1WDTF0MDzkvTA4MIA==} + + babel-types@6.26.0: + resolution: {integrity: sha512-zhe3V/26rCWsEZK8kZN+HaQj5yQ1CilTObixFzKW1UWjqG7618Twz6YEsCnjfg5gBcJh02DrpCkS9h98ZqDY+g==} + + babylon@6.18.0: + resolution: {integrity: sha512-q/UEjfGJ2Cm3oKV71DJz9d25TPnq5rhBVL2Q4fA5wcC3jcrdn7+SssEybFIxwAvvP+YCsCYNKughoF33GxgycQ==} + hasBin: true + + balanced-match@1.0.2: + resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==} + + bare-events@2.8.2: + resolution: {integrity: sha512-riJjyv1/mHLIPX4RwiK+oW9/4c3TEUeORHKefKAKnZ5kyslbN+HXowtbaVEqt4IMUB7OXlfixcs6gsFeo/jhiQ==} + peerDependencies: + bare-abort-controller: '*' + peerDependenciesMeta: + bare-abort-controller: + optional: true + + bare-fs@4.5.6: + resolution: {integrity: sha512-1QovqDrR80Pmt5HPAsMsXTCFcDYr+NSUKW6nd6WO5v0JBmnItc/irNRzm2KOQ5oZ69P37y+AMujNyNtG+1Rggw==} + engines: {bare: '>=1.16.0'} + peerDependencies: + bare-buffer: '*' + peerDependenciesMeta: + bare-buffer: + optional: true + + bare-os@3.8.0: + resolution: {integrity: sha512-Dc9/SlwfxkXIGYhvMQNUtKaXCaGkZYGcd1vuNUUADVqzu4/vQfvnMkYYOUnt2VwQ2AqKr/8qAVFRtwETljgeFg==} + engines: {bare: '>=1.14.0'} + + bare-path@3.0.0: + resolution: {integrity: sha512-tyfW2cQcB5NN8Saijrhqn0Zh7AnFNsnczRcuWODH0eYAXBsJ5gVxAUuNr7tsHSC6IZ77cA0SitzT+s47kot8Mw==} + + bare-stream@2.10.0: + resolution: {integrity: sha512-DOPZF/DDcDruKDA43cOw6e9Quq5daua7ygcAwJE/pKJsRWhgSSemi7qVNGE5kyDIxIeN1533G/zfbvWX7Wcb9w==} + peerDependencies: + bare-buffer: '*' + bare-events: '*' + peerDependenciesMeta: + bare-buffer: + optional: true + bare-events: + optional: true + + bare-url@2.4.0: + resolution: {integrity: sha512-NSTU5WN+fy/L0DDenfE8SXQna4voXuW0FHM7wH8i3/q9khUSchfPbPezO4zSFMnDGIf9YE+mt/RWhZgNRKRIXA==} + + base@0.11.2: + resolution: {integrity: sha512-5T6P4xPgpp0YDFvSWwEZ4NoE3aM4QBQXDzmVbraCkFj8zHM+mba8SyqB5DbZWyR7mYHo6Y7BdQo3MoA4m0TeQg==} + engines: {node: '>=0.10.0'} + + basic-ftp@5.2.0: + resolution: {integrity: sha512-VoMINM2rqJwJgfdHq6RiUudKt2BV+FY5ZFezP/ypmwayk68+NzzAQy4XXLlqsGD4MCzq3DrmNFD/uUmBJuGoXw==} + engines: {node: '>=10.0.0'} + + bcrypt-pbkdf@1.0.2: + resolution: {integrity: sha512-qeFIXtP4MSoi6NLqO12WfqARWWuCKi2Rn/9hJLEmtB5yTNr9DqFWkJRCf2qShWzPeAMRnOgCrq0sg/KLv5ES9w==} + + bignumber.js@9.0.0: + resolution: {integrity: sha512-t/OYhhJ2SD+YGBQcjY8GzzDHEk9f3nerxjtfa6tlMXfe7frs/WozhvCNoGvpM0P3bNf3Gq5ZRMlGr5f3r4/N8A==} + + binary-extensions@1.13.1: + resolution: {integrity: sha512-Un7MIEDdUC5gNpcGDV97op1Ywk748MpHcFTHoYs6qnj1Z3j7I53VG3nwZhKzoBZmbdRNnb6WRdFlwl7tSDuZGw==} + engines: {node: '>=0.10.0'} + + bindings@1.5.0: + resolution: {integrity: sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==} + + bluebird@3.7.2: + resolution: {integrity: sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==} + + boolbase@1.0.0: + resolution: {integrity: sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==} + + boxen@0.6.0: + resolution: {integrity: sha512-yL8sYzt0avlYGOY6LqtECkGrJOY3cCLAbFPaNfgE+4fD45ZrdYqLdY8yF4bqyTkpfW9e6W0YqBkN7dIn/PrZoA==} + engines: {node: '>=0.10.0'} + + brace-expansion@1.1.12: + resolution: {integrity: sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==} + + braces@1.8.5: + resolution: {integrity: sha512-xU7bpz2ytJl1bH9cgIurjpg/n8Gohy9GTw81heDYLJQ4RU60dlyJsa+atVF2pI0yMMvKxI9HkKwjePCj5XI1hw==} + engines: {node: '>=0.10.0'} + + braces@2.3.2: + resolution: {integrity: sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==} + engines: {node: '>=0.10.0'} + + buf-compare@1.0.1: + resolution: {integrity: sha512-Bvx4xH00qweepGc43xFvMs5BKASXTbHaHm6+kDYIK9p/4iFwjATQkmPKHQSgJZzKbAymhztRbXUf1Nqhzl73/Q==} + engines: {node: '>=0.10.0'} + + buffer-crc32@0.2.13: + resolution: {integrity: sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ==} + + buffer-equal-constant-time@1.0.1: + resolution: {integrity: sha512-zRpUiDwd/xk6ADqPMATG8vc9VPrkck7T07OIx0gnjmJAnHnTVXNQG3vfvWNuiZIkwu9KrKdA1iJKfsfTVxE6NA==} + + buffer-from@1.1.2: + resolution: {integrity: sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==} + + bytes@3.1.2: + resolution: {integrity: sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==} + engines: {node: '>= 0.8'} + + cache-base@1.0.1: + resolution: {integrity: sha512-AKcdTnFSWATd5/GCPRxr2ChwIJ85CeyrEyjRHlKxQ56d4XJMGym0uAiKn0xbLOGOl3+yRpOTi484dVCEc5AUzQ==} + engines: {node: '>=0.10.0'} + + cache-content-type@1.0.1: + resolution: {integrity: sha512-IKufZ1o4Ut42YUrZSo8+qnMTrFuKkvyoLXUywKz9GJ5BrhOFGhLdkx9sG4KAnVvbY6kEcSFjLQul+DVmBm2bgA==} + engines: {node: '>= 6.0.0'} + + caching-transform@1.0.1: + resolution: {integrity: sha512-TYu6IoS+HzPivTKBDbGbkdNE7V3GP9ETNuO1L901jhtIdmMmE4S5SXxXvIMPt4+poeqSGY47NQz1GFh3toDHqw==} + engines: {node: '>=0.10.0'} + + call-bind-apply-helpers@1.0.2: + resolution: {integrity: sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==} + engines: {node: '>= 0.4'} + + call-bind@1.0.8: + resolution: {integrity: sha512-oKlSFMcMwpUg2ednkhQ454wfWiU/ul3CkJe/PEHcTKuiX6RpbehUiFMXu13HalGZxfUwCQzZG747YXBn1im9ww==} + engines: {node: '>= 0.4'} + + call-bound@1.0.4: + resolution: {integrity: sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg==} + engines: {node: '>= 0.4'} + + call-matcher@1.1.0: + resolution: {integrity: sha512-IoQLeNwwf9KTNbtSA7aEBb1yfDbdnzwjCetjkC8io5oGeOmK2CBNdg0xr+tadRYKO0p7uQyZzvon0kXlZbvGrw==} + + call-signature@0.0.2: + resolution: {integrity: sha512-qvYvkAVcoae0obt8OsZn0VEBHeEpvYIZDy1gGYtZDJG0fHawew+Mi0dBjieFz8F8dzQ2Kr19+nsDm+T5XFVs+Q==} + engines: {node: '>=0.10.0'} + + caller-path@0.1.0: + resolution: {integrity: sha512-UJiE1otjXPF5/x+T3zTnSFiTOEmJoGTD9HmBoxnCUwho61a2eSNn/VwtwuIBDAo2SEOv1AJ7ARI5gCmohFLu/g==} + engines: {node: '>=0.10.0'} + + callsites@0.2.0: + resolution: {integrity: sha512-Zv4Dns9IbXXmPkgRRUjAaJQgfN4xX5p6+RQFhWUqscdvvK2xK/ZL8b3IXIJsj+4sD+f24NwnWy2BY8AJ82JB0A==} + engines: {node: '>=0.10.0'} + + callsites@3.1.0: + resolution: {integrity: sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==} + engines: {node: '>=6'} + + camelcase-keys@2.1.0: + resolution: {integrity: sha512-bA/Z/DERHKqoEOrp+qeGKw1QlvEQkGZSc0XaY6VnTxZr+Kv1G5zFwttpjv8qxZ/sBPT4nthwZaAcsAZTJlSKXQ==} + engines: {node: '>=0.10.0'} + + camelcase@2.1.1: + resolution: {integrity: sha512-DLIsRzJVBQu72meAKPkWQOLcujdXT32hwdfnkI1frSiSRMK1MofjKHf+MEx0SB6fjEFXL8fBDv1dKymBlOp4Qw==} + engines: {node: '>=0.10.0'} + + capture-stack-trace@1.0.2: + resolution: {integrity: sha512-X/WM2UQs6VMHUtjUDnZTRI+i1crWteJySFzr9UpGoQa4WQffXVTTXuekjl7TjZRlcF2XfjgITT0HxZ9RnxeT0w==} + engines: {node: '>=0.10.0'} + + caseless@0.12.0: + resolution: {integrity: sha512-4tYFyifaFfGacoiObjJegolkwSU4xQNGbVgUiNYVUxbQ2x2lUsFvY4hVgVzGiIe6WLOPqycWXA40l+PWsxthUw==} + + chalk@0.4.0: + resolution: {integrity: sha512-sQfYDlfv2DGVtjdoQqxS0cEZDroyG8h6TamA6rvxwlrU5BaSLDx9xhatBYl2pxZ7gmpNaPFVwBtdGdu5rQ+tYQ==} + engines: {node: '>=0.8.0'} + + chalk@1.1.3: + resolution: {integrity: sha512-U3lRVLMSlsCfjqYPbLyVv11M9CPW4I728d6TCKMAOJueEeB9/8o+eSsMnxPJD+Q+K909sdESg7C+tIkoH6on1A==} + engines: {node: '>=0.10.0'} + + chalk@2.4.2: + resolution: {integrity: sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==} + engines: {node: '>=4'} + + chardet@0.4.2: + resolution: {integrity: sha512-j/Toj7f1z98Hh2cYo2BVr85EpIRWqUi7rtRSGxh/cqUjqrnJe9l9UE7IUGd2vQ2p+kSHLkSzObQPZPLUC6TQwg==} + + cheerio-select@2.1.0: + resolution: {integrity: sha512-9v9kG0LvzrlcungtnJtpGNxY+fzECQKhK4EGJX2vByejiMX84MFNQw4UxPJl3bFbTMw+Dfs37XaIkCwTZfLh4g==} + + cheerio@1.2.0: + resolution: {integrity: sha512-WDrybc/gKFpTYQutKIK6UvfcuxijIZfMfXaYm8NMsPQxSYvf+13fXUJ4rztGGbJcBQ/GF55gvrZ0Bc0bj/mqvg==} + engines: {node: '>=20.18.1'} + + chokidar@1.7.0: + resolution: {integrity: sha512-mk8fAWcRUOxY7btlLtitj3A45jOwSAxH4tOFOoEGbVsl6cL6pPMWUy7dwZ/canfj3QEdP6FHSnf/l1c6/WkzVg==} + + chromium-bidi@14.0.0: + resolution: {integrity: sha512-9gYlLtS6tStdRWzrtXaTMnqcM4dudNegMXJxkR0I/CXObHalYeYcAMPrL19eroNZHtJ8DQmu1E+ZNOYu/IXMXw==} + peerDependencies: + devtools-protocol: '*' + + ci-info@1.6.0: + resolution: {integrity: sha512-vsGdkwSCDpWmP80ncATX7iea5DWQemg1UgCW5J8tqjU3lYw4FBYuj89J0CTVomA7BEfvSZd84GmHko+MxFQU2A==} + + circular-json@0.3.3: + resolution: {integrity: sha512-UZK3NBx2Mca+b5LsG7bY183pHWt5Y1xts4P3Pz7ENTwGVnJOUWbRb3ocjvX7hx9tq/yTAdclXm9sZ38gNuem4A==} + deprecated: CircularJSON is in maintenance only, flatted is its successor. + + class-utils@0.3.6: + resolution: {integrity: sha512-qOhPa/Fj7s6TY8H8esGu5QNpMMQxz79h+urzrNYN6mn+9BnxlDGf5QZ+XeCDsxSjPqsSR56XOZOJmpeurnLMeg==} + engines: {node: '>=0.10.0'} + + clean-stack@1.3.0: + resolution: {integrity: sha512-4CCmhqt4yqbQQI9REDKCf+N6U3SToC5o7PoKCq4veHvr30TJ2Vmz1mYYF23VC0E7Z13tf4CXh9jXY0VC+Jtdng==} + engines: {node: '>=4'} + + clean-yaml-object@0.1.0: + resolution: {integrity: sha512-3yONmlN9CSAkzNwnRCiJQ7Q2xK5mWuEfL3PuTZcAUzhObbXsfsnMptJzXwz93nc5zn9V9TwCVMmV7w4xsm43dw==} + engines: {node: '>=0.10.0'} + + cli-boxes@1.0.0: + resolution: {integrity: sha512-3Fo5wu8Ytle8q9iCzS4D2MWVL2X7JVWRiS1BnXbTFDhS9c/REkM9vd1AmabsoZoY5/dGi5TT9iKL8Kb6DeBRQg==} + engines: {node: '>=0.10.0'} + + cli-cursor@2.1.0: + resolution: {integrity: sha512-8lgKz8LmCRYZZQDpRyT2m5rKJ08TnU4tR9FFFW2rxpxR1FzWi4PQ/NfyODchAatHaUgnSPVcx/R5w6NuTBzFiw==} + engines: {node: '>=4'} + + cli-spinners@1.3.1: + resolution: {integrity: sha512-1QL4544moEsDVH9T/l6Cemov/37iv1RtoKf7NJ04A60+4MREXNfx/QvavbH6QoGdsD4N4Mwy49cmaINR/o2mdg==} + engines: {node: '>=4'} + + cli-truncate@0.2.1: + resolution: {integrity: sha512-f4r4yJnbT++qUPI9NR4XLDLq41gQ+uqnPItWG0F5ZkehuNiTTa3EY0S4AqTSUOeJ7/zU41oWPQSNkW5BqPL9bg==} + engines: {node: '>=0.10.0'} + + cli-width@2.2.1: + resolution: {integrity: sha512-GRMWDxpOB6Dgk2E5Uo+3eEBvtOOlimMmpbFiKuLFnQzYDavtLFY3K5ona41jgN/WdRZtG7utuVSVTL4HbZHGkw==} + + cliui@8.0.1: + resolution: {integrity: sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==} + engines: {node: '>=12'} + + cluster-key-slot@1.1.2: + resolution: {integrity: sha512-RMr0FhtfXemyinomL4hrWcYJxmX6deFdCxpJzhDttxgO1+bcCnkk+9drydLVDmAMG7NE6aN/fl4F7ucU/90gAA==} + engines: {node: '>=0.10.0'} + + co-with-promise@4.6.0: + resolution: {integrity: sha512-WVBNmNJDqfiLcCt25n4ruZxESZdcCOT686aZ+D3p+PnJqdRysi+qVfH051dNOmI/hQJUUwFMDj3aCAMGLo8tQA==} + engines: {iojs: '>= 1.0.0', node: '>= 0.10.0'} + + co@4.6.0: + resolution: {integrity: sha512-QVb0dM5HvG+uaxitm8wONl7jltx8dqhfU33DcqtOZcLSVIKSDDLDi7+0LbAKiyI8hD9u42m2YxXSkMGWThaecQ==} + engines: {iojs: '>= 1.0.0', node: '>= 0.12.0'} + + code-excerpt@2.1.1: + resolution: {integrity: sha512-tJLhH3EpFm/1x7heIW0hemXJTUU5EWl2V0EIX558jp05Mt1U6DVryCgkp3l37cxqs+DNbNgxG43SkwJXpQ14Jw==} + engines: {node: '>=4'} + + code-point-at@1.1.0: + resolution: {integrity: sha512-RpAVKQA5T63xEj6/giIbUEtZwJ4UFIc3ZtvEkiaUERylqe8xb5IvqcgOurZLahv93CLKfxcw5YI+DZcUBRyLXA==} + engines: {node: '>=0.10.0'} + + collection-visit@1.0.0: + resolution: {integrity: sha512-lNkKvzEeMBBjUGHZ+q6z9pSJla0KWAQPvtzhEV9+iGyQYG+pBpl7xKDhxoNSOZH2hhv0v5k0y2yAM4o4SjoSkw==} + engines: {node: '>=0.10.0'} + + color-convert@1.9.3: + resolution: {integrity: sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==} + + color-convert@2.0.1: + resolution: {integrity: sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==} + engines: {node: '>=7.0.0'} + + color-name@1.1.3: + resolution: {integrity: sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==} + + color-name@1.1.4: + resolution: {integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==} + + color-string@1.9.1: + resolution: {integrity: sha512-shrVawQFojnZv6xM40anx4CkoDP+fZsw/ZerEMsW/pyzsRbElpsL/DBVW7q3ExxwusdNXI3lXpuhEZkzs8p5Eg==} + + color@4.2.3: + resolution: {integrity: sha512-1rXeuUUiGGrykh+CeBdu5Ie7OJwinCgQY0bc7GCRxy5xVHy+moaqkpL/jqQq0MtQOeYcrqEz4abc5f0KtU7W4A==} + engines: {node: '>=12.5.0'} + + combined-stream@1.0.8: + resolution: {integrity: sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==} + engines: {node: '>= 0.8'} + + commander@5.1.0: + resolution: {integrity: sha512-P0CysNDQ7rtVw4QIQtm+MRxV66vKFSvlsQvGYXZWR3qFU0jlMKHZZZgw8e+8DSah4UDKMqnknRDQz+xuQXQ/Zg==} + engines: {node: '>= 6'} + + common-path-prefix@1.0.0: + resolution: {integrity: sha512-StWMCZw9nTO+RnxMCcapnQQqeZpaDvCD9+0Rrl8ZphFKWcJPyUGiEl64WoAkA+WJIxwKYzxldhYHU+EW1fQ2mQ==} + + commondir@1.0.1: + resolution: {integrity: sha512-W9pAhw0ja1Edb5GVdIF1mjZw/ASI0AlShXM83UUGe2DVr5TdAPEA1OA8m/g8zWp9x6On7gqufY+FatDbC3MDQg==} + + component-emitter@1.3.1: + resolution: {integrity: sha512-T0+barUSQRTUQASh8bx02dl+DhF54GtIDY13Y3m9oWTklKbb3Wv974meRpeZ3lp1JpLVECWWNHC4vaG2XHXouQ==} + + concat-map@0.0.1: + resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==} + + concat-stream@1.6.2: + resolution: {integrity: sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==} + engines: {'0': node >= 0.8} + + conf@9.0.2: + resolution: {integrity: sha512-rLSiilO85qHgaTBIIHQpsv8z+NnVfZq3cKuYNCXN1AOqPzced0GWZEe/A517VldRLyQYXUMyV+vszavE2jSAqw==} + engines: {node: '>=10'} + + configstore@2.1.0: + resolution: {integrity: sha512-BOCxwwxF5WPspp1OBq9j0JLyL5JgJOTssz9PdOHr8VWjFijaC3PpjU48vFEX3uxx8sTusnVQckLbNzBq6fmkGw==} + engines: {node: '>=0.10.0'} + + content-disposition@0.5.4: + resolution: {integrity: sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==} + engines: {node: '>= 0.6'} + + content-type@1.0.5: + resolution: {integrity: sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==} + engines: {node: '>= 0.6'} + + convert-source-map@1.9.0: + resolution: {integrity: sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==} + + convert-to-spaces@1.0.2: + resolution: {integrity: sha512-cj09EBuObp9gZNQCzc7hByQyrs6jVGE+o9kSJmeUoj+GiPiJvi5LYqEH/Hmme4+MTLHM+Ejtq+FChpjjEnsPdQ==} + engines: {node: '>= 4'} + + cookies@0.8.0: + resolution: {integrity: sha512-8aPsApQfebXnuI+537McwYsDtjVxGm8gTIzQI3FDW6t5t/DAhERxtnbEPN/8RX+uZthoz4eCOgloXaE5cYyNow==} + engines: {node: '>= 0.8'} + + cookies@0.9.1: + resolution: {integrity: sha512-TG2hpqe4ELx54QER/S3HQ9SRVnQnGBtKUz5bLQWtYAQ+o6GpgMs6sYUvaiJjVxb+UXwhRhAEP3m7LbsIZ77Hmw==} + engines: {node: '>= 0.8'} + + copy-descriptor@0.1.1: + resolution: {integrity: sha512-XgZ0pFcakEUlbwQEVNg3+QAis1FyTL3Qel9FYy8pSkQqoG3PNoT0bOCQtOXcOkur21r2Eq2kI+IE+gsmAEVlYw==} + engines: {node: '>=0.10.0'} + + core-assert@0.2.1: + resolution: {integrity: sha512-IG97qShIP+nrJCXMCgkNZgH7jZQ4n8RpPyPeXX++T6avR/KhLhgLiHKoEn5Rc1KjfycSfA9DMa6m+4C4eguHhw==} + engines: {node: '>=0.10.0'} + + core-js@2.6.12: + resolution: {integrity: sha512-Kb2wC0fvsWfQrgk8HU5lW6U/Lcs8+9aaYcy4ZFc6DDlo4nZ7n70dEgE5rtR0oG6ufKDUnrwfWL1mXR5ljDatrQ==} + deprecated: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js. + + core-util-is@1.0.2: + resolution: {integrity: sha512-3lqz5YjWTYnW6dlDa5TLaTCcShfar1e40rmcJVwCBJC6mWlFuj0eCHIElmG1g5kyuJ/GD+8Wn4FFCcz4gJPfaQ==} + + core-util-is@1.0.3: + resolution: {integrity: sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==} + + cos-nodejs-sdk-v5@2.15.4: + resolution: {integrity: sha512-TP/iYTvKKKhRK89on9SRfSMGEw/9SFAAU8EC1kdT5Fmpx7dAwaCNM2+R2H1TSYoQt+03rwOs8QEfNkX8GOHjHQ==} + engines: {node: '>= 6'} + + cosmiconfig@9.0.1: + resolution: {integrity: sha512-hr4ihw+DBqcvrsEDioRO31Z17x71pUYoNe/4h6Z0wB72p7MU7/9gH8Q3s12NFhHPfYBBOV3qyfUxmr/Yn3shnQ==} + engines: {node: '>=14'} + peerDependencies: + typescript: '>=4.9.5' + peerDependenciesMeta: + typescript: + optional: true + + create-error-class@3.0.2: + resolution: {integrity: sha512-gYTKKexFO3kh200H1Nit76sRwRtOY32vQd3jpAQKpLtZqyNsSQNfI4N7o3eP2wUjV35pTWKRYqFUDBvUha/Pkw==} + engines: {node: '>=0.10.0'} + + cron-parser@2.18.0: + resolution: {integrity: sha512-s4odpheTyydAbTBQepsqd2rNWGa2iV3cyo8g7zbI2QQYGLVsfbhmwukayS1XHppe02Oy1fg7mg6xoaraVJeEcg==} + engines: {node: '>=0.8'} + + cross-spawn@5.1.0: + resolution: {integrity: sha512-pTgQJ5KC0d2hcY8eyL1IzlBPYjTkyH72XRZPnLyKus2mBfNjQs3klqbJU2VILqZryAZUt9JOb3h/mWMy23/f5A==} + + css-select@5.2.2: + resolution: {integrity: sha512-TizTzUddG/xYLA3NXodFM0fSbNizXjOKhqiQQwvhlspadZokn1KDy0NZFS0wuEubIYAV5/c1/lAr0TaaFXEXzw==} + + css-what@6.2.2: + resolution: {integrity: sha512-u/O3vwbptzhMs3L1fQE82ZSLHQQfto5gyZzwteVIEyeaY5Fc7R4dapF/BvRoSYFeqfBk4m0V1Vafq5Pjv25wvA==} + engines: {node: '>= 6'} + + currently-unhandled@0.4.1: + resolution: {integrity: sha512-/fITjgjGU50vjQ4FH6eUoYu+iUoUKIXws2hL15JJpIR+BbTxaXQsMuuyjtNh2WqsSBS5nsaZHFsFecyw5CCAng==} + engines: {node: '>=0.10.0'} + + dashdash@1.14.1: + resolution: {integrity: sha512-jRFi8UDGo6j+odZiEpjazZaWqEal3w/basFjQHQEwVtZJGDpxbH1MeYluwCS8Xq5wmLJooDlMgvVarmWfGM44g==} + engines: {node: '>=0.10'} + + data-uri-to-buffer@6.0.2: + resolution: {integrity: sha512-7hvf7/GW8e86rW0ptuwS3OcBGDjIi6SZva7hCyWC0yYry2cOPmLIjXAUHI6DK2HsnwJd9ifmt57i8eV2n4YNpw==} + engines: {node: '>= 14'} + + data-view-buffer@1.0.2: + resolution: {integrity: sha512-EmKO5V3OLXh1rtK2wgXRansaK1/mtVdTUEiEI0W8RkvgT05kfxaH29PliLnpLP73yYO6142Q72QNa8Wx/A5CqQ==} + engines: {node: '>= 0.4'} + + data-view-byte-length@1.0.2: + resolution: {integrity: sha512-tuhGbE6CfTM9+5ANGf+oQb72Ky/0+s3xKUpHvShfiz2RxMFgFPjsXuRLBVMtvMs15awe45SRb83D6wH4ew6wlQ==} + engines: {node: '>= 0.4'} + + data-view-byte-offset@1.0.1: + resolution: {integrity: sha512-BS8PfmtDGnrgYdOonGZQdLZslWIeCGFP9tpan0hi1Co2Zr2NKADsvGYA8XxuG/4UWgJ6Cjtv+YJnB6MM69QGlQ==} + engines: {node: '>= 0.4'} + + date-format@4.0.14: + resolution: {integrity: sha512-39BOQLs9ZjKh0/patS9nrT8wc3ioX3/eA/zgbKNopnF2wCqJEoxywwwElATYvRsXdnOxA/OQeQoFZ3rFjVajhg==} + engines: {node: '>=4.0'} + + date-time@0.1.1: + resolution: {integrity: sha512-p4psdkgdNA6x0600SKbfWiOomNb33ADBMRHf49GMhYVgJsPefZlMSLXXVWWUpbqSxB3DL5/cxKa6a8i3XPK5Xg==} + engines: {node: '>=0.10.0'} + + dayjs@1.11.20: + resolution: {integrity: sha512-YbwwqR/uYpeoP4pu043q+LTDLFBLApUP6VxRihdfNTqu4ubqMlGDLd6ErXhEgsyvY0K6nCs7nggYumAN+9uEuQ==} + + debounce-fn@4.0.0: + resolution: {integrity: sha512-8pYCQiL9Xdcg0UPSD3d+0KMlOjp+KGU5EPwYddgzQ7DATsg4fuUDjQtsYLmWjnk2obnNHgV3vE2Y4jejSOJVBQ==} + engines: {node: '>=10'} + + debug@2.6.9: + resolution: {integrity: sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==} + peerDependencies: + supports-color: '*' + peerDependenciesMeta: + supports-color: + optional: true + + debug@3.2.7: + resolution: {integrity: sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==} + peerDependencies: + supports-color: '*' + peerDependenciesMeta: + supports-color: + optional: true + + debug@4.4.3: + resolution: {integrity: sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==} + engines: {node: '>=6.0'} + peerDependencies: + supports-color: '*' + peerDependenciesMeta: + supports-color: + optional: true + + decamelize@1.2.0: + resolution: {integrity: sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA==} + engines: {node: '>=0.10.0'} + + decode-uri-component@0.2.2: + resolution: {integrity: sha512-FqUYQ+8o158GyGTrMFJms9qh3CqTKvAqgqsTnkLI8sKu0028orqBhxNMFkFen0zGyg6epACD32pjVk58ngIErQ==} + engines: {node: '>=0.10'} + + deep-equal@1.0.1: + resolution: {integrity: sha512-bHtC0iYvWhyaTzvV3CZgPeZQqCOBGyGsVV7v4eevpdkLHfiSrXUdBG+qAuSz4RI70sszvjQ1QSZ98An1yNwpSw==} + + deep-equal@1.1.2: + resolution: {integrity: sha512-5tdhKF6DbU7iIzrIOa1AOUt39ZRm13cmL1cGEh//aqR8x9+tNfbywRf0n5FD/18OKMdo7DNEtrX2t22ZAkI+eg==} + engines: {node: '>= 0.4'} + + deep-extend@0.6.0: + resolution: {integrity: sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==} + engines: {node: '>=4.0.0'} + + deep-is@0.1.4: + resolution: {integrity: sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==} + + define-data-property@1.1.4: + resolution: {integrity: sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==} + engines: {node: '>= 0.4'} + + define-properties@1.2.1: + resolution: {integrity: sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg==} + engines: {node: '>= 0.4'} + + define-property@0.2.5: + resolution: {integrity: sha512-Rr7ADjQZenceVOAKop6ALkkRAmH1A4Gx9hV/7ZujPUN2rkATqFO0JZLZInbAjpZYoJ1gUx8MRMQVkYemcbMSTA==} + engines: {node: '>=0.10.0'} + + define-property@1.0.0: + resolution: {integrity: sha512-cZTYKFWspt9jZsMscWo8sc/5lbPC9Q0N5nBLgb+Yd915iL3udB1uFgS3B8YCx66UVHq018DAVFoee7x+gxggeA==} + engines: {node: '>=0.10.0'} + + define-property@2.0.2: + resolution: {integrity: sha512-jwK2UV4cnPpbcG7+VRARKTZPUWowwXA8bzH5NP6ud0oeAxyYPuGZUAC7hMugpCdz4BeSZl2Dl9k66CHJ/46ZYQ==} + engines: {node: '>=0.10.0'} + + degenerator@5.0.1: + resolution: {integrity: sha512-TllpMR/t0M5sqCXfj85i4XaAzxmS5tVA16dqvdkMwGmzI+dXLXnw3J+3Vdv7VKw+ThlTMboK6i9rnZ6Nntj5CQ==} + engines: {node: '>= 14'} + + delayed-stream@1.0.0: + resolution: {integrity: sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==} + engines: {node: '>=0.4.0'} + + delegates@1.0.0: + resolution: {integrity: sha512-bd2L678uiWATM6m5Z1VzNCErI3jiGzt6HGY8OVICs40JQq/HALfbyNJmp0UDakEY4pMMaN0Ly5om/B1VI/+xfQ==} + + depd@1.1.2: + resolution: {integrity: sha512-7emPTl6Dpo6JRXOXjLRxck+FlLRX5847cLKEn00PLAgc3g2hTZZgr+e4c2v6QpSmLeFP3n5yUo7ft6avBK/5jQ==} + engines: {node: '>= 0.6'} + + depd@2.0.0: + resolution: {integrity: sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==} + engines: {node: '>= 0.8'} + + destroy@1.2.0: + resolution: {integrity: sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==} + engines: {node: '>= 0.8', npm: 1.2.8000 || >= 1.4.16} + + detect-indent@4.0.0: + resolution: {integrity: sha512-BDKtmHlOzwI7iRuEkhzsnPoi5ypEhWAJB5RvHWe1kMr06js3uK5B3734i3ui5Yd+wOJV1cpE4JnivPD283GU/A==} + engines: {node: '>=0.10.0'} + + detect-indent@5.0.0: + resolution: {integrity: sha512-rlpvsxUtM0PQvy9iZe640/IWwWYyBsTApREbA1pHOpmOUIl9MkP/U4z7vTtg4Oaojvqhxt7sdufnT0EzGaR31g==} + engines: {node: '>=4'} + + detect-libc@2.1.2: + resolution: {integrity: sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==} + engines: {node: '>=8'} + + devtools-protocol@0.0.1581282: + resolution: {integrity: sha512-nv7iKtNZQshSW2hKzYNr46nM/Cfh5SEvE2oV0/SEGgc9XupIY5ggf84Cz8eJIkBce7S3bmTAauFD6aysMpnqsQ==} + + diff@3.5.1: + resolution: {integrity: sha512-Z3u54A8qGyqFOSr2pk0ijYs8mOE9Qz8kTvtKeBI+upoG9j04Sq+oI7W8zAJiQybDcESET8/uIdHzs0p3k4fZlw==} + engines: {node: '>=0.3.1'} + + doctrine@2.1.0: + resolution: {integrity: sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==} + engines: {node: '>=0.10.0'} + + dom-serializer@2.0.0: + resolution: {integrity: sha512-wIkAryiqt/nV5EQKqQpo3SToSOV9J0DnbJqwK7Wv/Trc92zIAYZ4FlMu+JPFW1DfGFt81ZTCGgDEabffXeLyJg==} + + domelementtype@2.3.0: + resolution: {integrity: sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw==} + + domhandler@5.0.3: + resolution: {integrity: sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w==} + engines: {node: '>= 4'} + + domutils@3.2.2: + resolution: {integrity: sha512-6kZKyUajlDuqlHKVX1w7gyslj9MPIXzIFiz/rGu35uC1wMi+kMhQwGhl4lt9unC9Vb9INnY9Z3/ZA3+FhASLaw==} + + dot-prop@3.0.0: + resolution: {integrity: sha512-k4ELWeEU3uCcwub7+dWydqQBRjAjkV9L33HjVRG5Xo2QybI6ja/v+4W73SRi8ubCqJz0l9XsTP1NbewfyqaSlw==} + engines: {node: '>=0.10.0'} + + dot-prop@4.2.1: + resolution: {integrity: sha512-l0p4+mIuJIua0mhxGoh4a+iNL9bmeK5DvnSVQa6T0OhrVmaEa1XScX5Etc673FePCJOArq/4Pa2cLGODUWTPOQ==} + engines: {node: '>=4'} + + dot-prop@6.0.1: + resolution: {integrity: sha512-tE7ztYzXHIeyvc7N+hR3oi7FIbf/NIjVP9hmAt3yMXzrQ072/fpjGLx2GxNxGxUl5V73MEqYzioOMoVhGMJ5cA==} + engines: {node: '>=10'} + + double-ended-queue@2.1.0-0: + resolution: {integrity: sha512-+BNfZ+deCo8hMNpDqDnvT+c0XpJ5cUa6mqYq89bho2Ifze4URTqRkcwR399hWoTrTkbZ/XJYDgP6rc7pRgffEQ==} + + dunder-proto@1.0.1: + resolution: {integrity: sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==} + engines: {node: '>= 0.4'} + + duplexer2@0.1.4: + resolution: {integrity: sha512-asLFVfWWtJ90ZyOUHMqk7/S2w2guQKxUI2itj3d92ADHhxUSbCMGi1f1cBcJ7xM1To+pE/Khbwo1yuNbMEPKeA==} + + ecc-jsbn@0.1.2: + resolution: {integrity: sha512-eh9O+hwRHNbG4BLTjEl3nw044CkGm5X6LoaCf7LPp7UU8Qrt47JYNi6nPX8xjW97TKGKm1ouctg0QSpZe9qrnw==} + + ecdsa-sig-formatter@1.0.11: + resolution: {integrity: sha512-nagl3RYrbNv6kQkeJIpt6NJZy8twLB/2vtz6yN9Z4vRKHN4/QZJIEbqohALSgwKdnksuY3k5Addp5lg8sVoVcQ==} + + ee-first@1.1.1: + resolution: {integrity: sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==} + + emoji-regex@8.0.0: + resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==} + + empower-core@0.6.2: + resolution: {integrity: sha512-w9QJ4ROqcjJHWNw+TvpKVeLQV1GQtoFO6aqKoj5IlHi0qxG1Y2157Kg6+5ujs5Bxzm8AgOiOvBCRbNkt6RPe9Q==} + + encodeurl@1.0.2: + resolution: {integrity: sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==} + engines: {node: '>= 0.8'} + + encoding-sniffer@0.2.1: + resolution: {integrity: sha512-5gvq20T6vfpekVtqrYQsSCFZ1wEg5+wW0/QaZMWkFr6BqD3NfKs0rLCx4rrVlSWJeZb5NBJgVLswK/w2MWU+Gw==} + + end-of-stream@1.4.5: + resolution: {integrity: sha512-ooEGc6HP26xXq/N+GCGOT0JKCLDGrq2bQUZrQ7gyrJiZANJ/8YDTxTpQBXGMn+WbIQXNVpyWymm7KYVICQnyOg==} + + entities@4.5.0: + resolution: {integrity: sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==} + engines: {node: '>=0.12'} + + entities@6.0.1: + resolution: {integrity: sha512-aN97NXWF6AWBTahfVOIrB/NShkzi5H7F9r1s9mD3cDj4Ko5f2qhhVoYMibXF7GlLveb/D2ioWay8lxI97Ven3g==} + engines: {node: '>=0.12'} + + entities@7.0.1: + resolution: {integrity: sha512-TWrgLOFUQTH994YUyl1yT4uyavY5nNB5muff+RtWaqNVCAK408b5ZnnbNAUEWLTCpum9w6arT70i1XdQ4UeOPA==} + engines: {node: '>=0.12'} + + env-paths@2.2.1: + resolution: {integrity: sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==} + engines: {node: '>=6'} + + equal-length@1.0.1: + resolution: {integrity: sha512-TK2m7MvWPt/v3dan0BCNp99pytIE5UGrUj7F0KZirNX8xz8fDFUAZfgm8uB5FuQq9u0sMeDocYBfEhsd1nwGoA==} + engines: {node: '>=4'} + + error-ex@1.3.4: + resolution: {integrity: sha512-sqQamAnR14VgCr1A618A3sGrygcpK+HEbenA/HiEAkkUwcZIIB/tgWqHFxWgOyDh4nB4JCRimh79dR5Ywc9MDQ==} + + es-abstract@1.24.1: + resolution: {integrity: sha512-zHXBLhP+QehSSbsS9Pt23Gg964240DPd6QCf8WpkqEXxQ7fhdZzYsocOr5u7apWonsS5EjZDmTF+/slGMyasvw==} + engines: {node: '>= 0.4'} + + es-define-property@1.0.1: + resolution: {integrity: sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==} + engines: {node: '>= 0.4'} + + es-errors@1.3.0: + resolution: {integrity: sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==} + engines: {node: '>= 0.4'} + + es-object-atoms@1.1.1: + resolution: {integrity: sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==} + engines: {node: '>= 0.4'} + + es-set-tostringtag@2.1.0: + resolution: {integrity: sha512-j6vWzfrGVfyXxge+O0x5sh6cvxAog0a/4Rdd2K36zCMV5eJ+/+tOAngRO8cODMNWbVRdVlmGZQL2YS3yR8bIUA==} + engines: {node: '>= 0.4'} + + es-shim-unscopables@1.1.0: + resolution: {integrity: sha512-d9T8ucsEhh8Bi1woXCf+TIKDIROLG5WCkxg8geBCbvk22kzwC5G2OnXVMO6FUsvQlgUUXQ2itephWDLqDzbeCw==} + engines: {node: '>= 0.4'} + + es-to-primitive@1.3.0: + resolution: {integrity: sha512-w+5mJ3GuFL+NjVtJlvydShqE1eN3h3PbI7/5LAsYJP/2qtuMXjfL2LpHSRqo4b4eSF5K/DH1JXKUAHSB2UW50g==} + engines: {node: '>= 0.4'} + + escalade@3.2.0: + resolution: {integrity: sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==} + engines: {node: '>=6'} + + escape-html@1.0.3: + resolution: {integrity: sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==} + + escape-string-regexp@1.0.5: + resolution: {integrity: sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==} + engines: {node: '>=0.8.0'} + + escape-string-regexp@2.0.0: + resolution: {integrity: sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==} + engines: {node: '>=8'} + + escodegen@2.1.0: + resolution: {integrity: sha512-2NlIDTwUWJN0mRPQOdtQBzbUHvdGY2P1VXSyU83Q3xKxM7WHX2Ql8dKq782Q9TgQUNOLEzEYu9bzLNj1q88I5w==} + engines: {node: '>=6.0'} + hasBin: true + + eslint-config-think@1.0.3: + resolution: {integrity: sha512-TojqumNtS9IPuF1L00b5wBAm66LLVIC5xsGASvThaa3tcvRHEOu95qJPxaXA697lsVSKSuByUwjgKIlhn2Meew==} + engines: {node: '>=6.0.0'} + + eslint-import-resolver-node@0.3.9: + resolution: {integrity: sha512-WFj2isz22JahUv+B788TlO3N6zL3nNJGU8CcZbPZvVEkBPaJdCV4vy5wyghty5ROFbCRnm132v8BScu5/1BQ8g==} + + eslint-module-utils@2.12.1: + resolution: {integrity: sha512-L8jSWTze7K2mTg0vos/RuLRS5soomksDPoJLXIslC7c8Wmut3bx7CPpJijDcBZtxQ5lrbUdM+s0OlNbz0DCDNw==} + engines: {node: '>=4'} + peerDependencies: + '@typescript-eslint/parser': '*' + eslint: '*' + eslint-import-resolver-node: '*' + eslint-import-resolver-typescript: '*' + eslint-import-resolver-webpack: '*' + peerDependenciesMeta: + '@typescript-eslint/parser': + optional: true + eslint: + optional: true + eslint-import-resolver-node: + optional: true + eslint-import-resolver-typescript: + optional: true + eslint-import-resolver-webpack: + optional: true + + eslint-plugin-import@2.32.0: + resolution: {integrity: sha512-whOE1HFo/qJDyX4SnXzP4N6zOWn79WhnCUY/iDR0mPfQZO8wcYE4JClzI2oZrhBnnMUCBCHZhO6VQyoBU95mZA==} + engines: {node: '>=4'} + peerDependencies: + '@typescript-eslint/parser': '*' + eslint: ^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8 || ^9 + peerDependenciesMeta: + '@typescript-eslint/parser': + optional: true + + eslint-plugin-node@5.2.1: + resolution: {integrity: sha512-xhPXrh0Vl/b7870uEbaumb2Q+LxaEcOQ3kS1jtIXanBAwpMre1l5q/l2l/hESYJGEFKuI78bp6Uw50hlpr7B+g==} + engines: {node: '>=4'} + peerDependencies: + eslint: '>=3.1.0' + + eslint-plugin-promise@3.8.0: + resolution: {integrity: sha512-JiFL9UFR15NKpHyGii1ZcvmtIqa3UTwiDAGb8atSffe43qJ3+1czVGN6UtkklpcJ2DVnqvTMzEKRaJdBkAL2aQ==} + engines: {node: '>=4'} + + eslint-plugin-standard@3.1.0: + resolution: {integrity: sha512-fVcdyuKRr0EZ4fjWl3c+gp1BANFJD1+RaWa2UPYfMZ6jCtp5RG00kSaXnK/dE5sYzt4kaWJ9qdxqUfc0d9kX0w==} + peerDependencies: + eslint: '>=3.19.0' + + eslint-scope@3.7.3: + resolution: {integrity: sha512-W+B0SvF4gamyCTmUc+uITPY0989iXVfKvhwtmJocTaYoc/3khEHmEmvfY/Gn9HA9VV75jrQECsHizkNw1b68FA==} + engines: {node: '>=4.0.0'} + + eslint-visitor-keys@1.3.0: + resolution: {integrity: sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ==} + engines: {node: '>=4'} + + eslint@4.19.1: + resolution: {integrity: sha512-bT3/1x1EbZB7phzYu7vCr1v3ONuzDtX8WjuM9c0iYxe+cq+pwcKEoQjl7zd3RpC6YOLgnSy3cTN58M2jcoPDIQ==} + engines: {node: '>=4'} + deprecated: This version is no longer supported. Please see https://eslint.org/version-support for other options. + hasBin: true + + espower-location-detector@1.0.0: + resolution: {integrity: sha512-Y/3H6ytYwqC3YcOc0gOU22Lp3eI5GAFGOymTdzFyfaiglKgtsw2dePOgXY3yrV+QcLPMPiVYwBU9RKaDoh2bbQ==} + + espree@3.5.4: + resolution: {integrity: sha512-yAcIQxtmMiB/jL32dzEp2enBeidsB7xWPLNiw3IIkpVds1P+h7qF9YwJq1yUNzp2OKXgAprs4F61ih66UsoD1A==} + engines: {node: '>=0.10.0'} + + esprima@4.0.1: + resolution: {integrity: sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==} + engines: {node: '>=4'} + hasBin: true + + espurify@1.8.1: + resolution: {integrity: sha512-ZDko6eY/o+D/gHCWyHTU85mKDgYcS4FJj7S+YD6WIInm7GQ6AnOjmcL4+buFV/JOztVLELi/7MmuGU5NHta0Mg==} + + esquery@1.7.0: + resolution: {integrity: sha512-Ap6G0WQwcU/LHsvLwON1fAQX9Zp0A2Y6Y/cJBl9r/JbW90Zyg4/zbG6zzKa2OTALELarYHmKu0GhpM5EO+7T0g==} + engines: {node: '>=0.10'} + + esrecurse@4.3.0: + resolution: {integrity: sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==} + engines: {node: '>=4.0'} + + estraverse@4.3.0: + resolution: {integrity: sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==} + engines: {node: '>=4.0'} + + estraverse@5.3.0: + resolution: {integrity: sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==} + engines: {node: '>=4.0'} + + esutils@2.0.3: + resolution: {integrity: sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==} + engines: {node: '>=0.10.0'} + + events-universal@1.0.1: + resolution: {integrity: sha512-LUd5euvbMLpwOF8m6ivPCbhQeSiYVNb8Vs0fQ8QjXo0JTkEHpz8pxdQf0gStltaPpw0Cca8b39KxvK9cfKRiAw==} + + execa@0.7.0: + resolution: {integrity: sha512-RztN09XglpYI7aBBrJCPW95jEH7YF1UEPOoX9yDhUTPdp7mK+CQvnLTuD10BNXZ3byLTu2uehZ8EcKT/4CGiFw==} + engines: {node: '>=4'} + + expand-brackets@0.1.5: + resolution: {integrity: sha512-hxx03P2dJxss6ceIeri9cmYOT4SRs3Zk3afZwWpOsRqLqprhTR8u++SlC+sFGsQr7WGFPdMF7Gjc1njDLDK6UA==} + engines: {node: '>=0.10.0'} + + expand-brackets@2.1.4: + resolution: {integrity: sha512-w/ozOKR9Obk3qoWeY/WDi6MFta9AoMR+zud60mdnbniMcBxRuFJyDt2LdX/14A1UABeqk+Uk+LDfUpvoGKppZA==} + engines: {node: '>=0.10.0'} + + expand-range@1.8.2: + resolution: {integrity: sha512-AFASGfIlnIbkKPQwX1yHaDjFvh/1gyKJODme52V6IORh69uEYgZp0o9C+qsIGNVEiuuhQU0CSSl++Rlegg1qvA==} + engines: {node: '>=0.10.0'} + + extend-shallow@2.0.1: + resolution: {integrity: sha512-zCnTtlxNoAiDc3gqY2aYAWFx7XWWiasuF2K8Me5WbN8otHKTUKBwjPtNpRs/rbUZm7KxWAaNj7P1a/p52GbVug==} + engines: {node: '>=0.10.0'} + + extend-shallow@3.0.2: + resolution: {integrity: sha512-BwY5b5Ql4+qZoefgMj2NUmx+tehVTH/Kf4k1ZEtOHNFcm2wSxMRo992l6X3TIgni2eZVTZ85xMOjF31fwZAj6Q==} + engines: {node: '>=0.10.0'} + + extend@3.0.2: + resolution: {integrity: sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==} + + external-editor@2.2.0: + resolution: {integrity: sha512-bSn6gvGxKt+b7+6TKEv1ZycHleA7aHhRHyAqJyp5pbUFuYYNIzpZnQDk7AsYckyWdEnTeAnay0aCy2aV6iTk9A==} + engines: {node: '>=0.12'} + + extglob@0.3.2: + resolution: {integrity: sha512-1FOj1LOwn42TMrruOHGt18HemVnbwAmAak7krWk+wa93KXxGbK+2jpezm+ytJYDaBX0/SPLZFHKM7m+tKobWGg==} + engines: {node: '>=0.10.0'} + + extglob@2.0.4: + resolution: {integrity: sha512-Nmb6QXkELsuBr24CJSkilo6UHHgbekK5UiZgfE6UHD3Eb27YC6oD+bhcT+tJ6cl8dmsgdQxnWlcry8ksBIBLpw==} + engines: {node: '>=0.10.0'} + + extract-zip@2.0.1: + resolution: {integrity: sha512-GDhU9ntwuKyGXdZBUgTIe+vXnWj0fppUEtMDL0+idd5Sta8TGpHssn/eusA9mrPr9qNDym6SxAYZjNvCn/9RBg==} + engines: {node: '>= 10.17.0'} + hasBin: true + + extsprintf@1.3.0: + resolution: {integrity: sha512-11Ndz7Nv+mvAC1j0ktTa7fAb0vLyGGX+rMHNBYQviQDGU0Hw7lhctJANqbPhu9nV9/izT/IntTgZ7Im/9LJs9g==} + engines: {'0': node >=0.6.0} + + fast-deep-equal@1.1.0: + resolution: {integrity: sha512-fueX787WZKCV0Is4/T2cyAdM4+x1S3MXXOAhavE1ys/W42SHAPacLTQhucja22QBYrfGw50M2sRiXPtTGv9Ymw==} + + fast-deep-equal@3.1.3: + resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==} + + fast-fifo@1.3.2: + resolution: {integrity: sha512-/d9sfos4yxzpwkDkuN7k2SqFKtYNmCTzgfEpz82x34IM9/zc8KGxQoXg1liNC/izpRM/MBdt44Nmx41ZWqk+FQ==} + + fast-json-stable-stringify@2.1.0: + resolution: {integrity: sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==} + + fast-levenshtein@2.0.6: + resolution: {integrity: sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==} + + fast-xml-parser@4.2.5: + resolution: {integrity: sha512-B9/wizE4WngqQftFPmdaMYlXoJlJOYxGQOanC77fq9k8+Z0v5dDSVh+3glErdIROP//s/jgb7ZuxKfB8nVyo0g==} + hasBin: true + + fd-slicer@1.1.0: + resolution: {integrity: sha512-cE1qsB/VwyQozZ+q1dGxR8LBYNZeofhEdUNGSMbQD3Gw2lAzX9Zb3uIU6Ebc/Fmyjo9AWWfnn0AUCHqtevs/8g==} + + figures@2.0.0: + resolution: {integrity: sha512-Oa2M9atig69ZkfwiApY8F2Yy+tzMbazyvqv21R0NsSC8floSOC09BbT1ITWAdoMGQvJ/aZnR1KMwdx9tvHnTNA==} + engines: {node: '>=4'} + + file-entry-cache@2.0.0: + resolution: {integrity: sha512-uXP/zGzxxFvFfcZGgBIwotm+Tdc55ddPAzF7iHshP4YGaXMww7rSF9peD9D1sui5ebONg5UobsZv+FfgEpGv/w==} + engines: {node: '>=0.10.0'} + + file-uri-to-path@1.0.0: + resolution: {integrity: sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==} + + filename-regex@2.0.1: + resolution: {integrity: sha512-BTCqyBaWBTsauvnHiE8i562+EdJj+oUpkqWp2R1iCoR8f6oo8STRu3of7WJJ0TqWtxN50a5YFpzYK4Jj9esYfQ==} + engines: {node: '>=0.10.0'} + + fill-range@2.2.4: + resolution: {integrity: sha512-cnrcCbj01+j2gTG921VZPnHbjmdAf8oQV/iGeV2kZxGSyfYjjTyY79ErsK1WJWMpw6DaApEX72binqJE+/d+5Q==} + engines: {node: '>=0.10.0'} + + fill-range@4.0.0: + resolution: {integrity: sha512-VcpLTWqWDiTerugjj8e3+esbg+skS3M9e54UuR3iCeIDMXCLTsAH8hTSzDQU/X6/6t3eYkOKoZSef2PlU6U1XQ==} + engines: {node: '>=0.10.0'} + + filled-array@1.1.0: + resolution: {integrity: sha512-4XwZ1k4rgoF3Yap59MyXFmiUh2zu9fht32NYPSRYwLv4o8BWHxi60I1VH5kHje14qGMoS3qyfHQUsN16ROOugQ==} + engines: {node: '>=0.10.0'} + + find-cache-dir@0.1.1: + resolution: {integrity: sha512-Z9XSBoNE7xQiV6MSgPuCfyMokH2K7JdpRkOYE1+mu3d4BFJtx3GW+f6Bo4q8IX6rlf5MYbLBKW0pjl2cWdkm2A==} + engines: {node: '>=0.10.0'} + + find-up@1.1.2: + resolution: {integrity: sha512-jvElSjyuo4EMQGoTwo1uJU5pQMwTW5lS1x05zzfJuTIyLR3zwO27LYrxNg+dlvKpGOuGy/MzBdXh80g0ve5+HA==} + engines: {node: '>=0.10.0'} + + find-up@2.1.0: + resolution: {integrity: sha512-NWzkk0jSJtTt08+FBFMvXoeZnOJD+jTtsRmBYbAIzJdX6l7dLgR7CTubCM5/eDdPUBvLCeVasP1brfVR/9/EZQ==} + engines: {node: '>=4'} + + find-up@3.0.0: + resolution: {integrity: sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==} + engines: {node: '>=6'} + + flat-cache@1.3.4: + resolution: {integrity: sha512-VwyB3Lkgacfik2vhqR4uv2rvebqmDvFu4jlN/C1RzWoJEo8I7z4Q404oiqYCkq41mni8EzQnm95emU9seckwtg==} + engines: {node: '>=0.10.0'} + + flatted@3.3.3: + resolution: {integrity: sha512-GX+ysw4PBCz0PzosHDepZGANEuFCMLrnRTiEy9McGjmkCQYwRq4A/X786G/fjM/+OjsWSU1ZrY5qyARZmO/uwg==} + + flexbuffer@0.0.6: + resolution: {integrity: sha512-OapHwT5Ug1c3iiv8JNrwh/3XGjP45l/2iwfl25chePrvCgl0786ZvsJK+hxCCaUZjPm1lHdh5LHZhmKRxunziA==} + + fn-name@2.0.1: + resolution: {integrity: sha512-oIDB1rXf3BUnn00bh2jVM0byuqr94rBh6g7ZfdKcbmp1we2GQtPzKdloyvBXHs+q3fvxB8EqX5ecFba3RwCSjA==} + engines: {node: '>=0.10.0'} + + follow-redirects@1.15.11: + resolution: {integrity: sha512-deG2P0JfjrTxl50XGCDyfI97ZGVCxIpfKYmfyrQ54n5FO/0gfIES8C/Psl6kWVDolizcaaxZJnTS0QSMxvnsBQ==} + engines: {node: '>=4.0'} + peerDependencies: + debug: '*' + peerDependenciesMeta: + debug: + optional: true + + for-each@0.3.5: + resolution: {integrity: sha512-dKx12eRCVIzqCxFGplyFKJMPvLEWgmNtUrpTiJIR5u97zEhRG8ySrtboPHZXx7daLxQVrl643cTzbab2tkQjxg==} + engines: {node: '>= 0.4'} + + for-in@1.0.2: + resolution: {integrity: sha512-7EwmXrOjyL+ChxMhmG5lnW9MPt1aIeZEwKhQzoBUdTV0N3zuwWDZYVJatDvZ2OyzPUvdIAZDsCetk3coyMfcnQ==} + engines: {node: '>=0.10.0'} + + for-own@0.1.5: + resolution: {integrity: sha512-SKmowqGTJoPzLO1T0BBJpkfp3EMacCMOuH40hOUbrbzElVktk4DioXVM99QkLCyKoiuOmyjgcWMpVz2xjE7LZw==} + engines: {node: '>=0.10.0'} + + forever-agent@0.6.1: + resolution: {integrity: sha512-j0KLYPhm6zeac4lz3oJ3o65qvgQCcPubiyotZrXqEaG4hNagNYO8qdlUrX5vwqv9ohqeT/Z3j6+yW067yWWdUw==} + + form-data@2.3.3: + resolution: {integrity: sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==} + engines: {node: '>= 0.12'} + + form-data@3.0.4: + resolution: {integrity: sha512-f0cRzm6dkyVYV3nPoooP8XlccPQukegwhAnpoLcXy+X+A8KfpGOoXwDr9FLZd3wzgLaBGQBE3lY93Zm/i1JvIQ==} + engines: {node: '>= 6'} + + form-data@4.0.5: + resolution: {integrity: sha512-8RipRLol37bNs2bhoV67fiTEvdTrbMUYcFTiy3+wuuOnUog2QBHCZWXDRijWQfAkhBj2Uf5UnVaiWwA5vdd82w==} + engines: {node: '>= 6'} + + formidable@1.2.6: + resolution: {integrity: sha512-KcpbcpuLNOwrEjnbpMC0gS+X8ciDoZE1kkqzat4a8vrprf+s9pKNQ/QIwWfbfs4ltgmFl3MD177SNTkve3BwGQ==} + deprecated: 'Please upgrade to latest, formidable@v2 or formidable@v3! Check these notes: https://bit.ly/2ZEqIau' + + fragment-cache@0.2.1: + resolution: {integrity: sha512-GMBAbW9antB8iZRHLoGw0b3HANt57diZYFO/HL1JGIC1MjKrdmhxvrJbupnVvpys0zsz7yBApXdQyfepKly2kA==} + engines: {node: '>=0.10.0'} + + fresh@0.5.2: + resolution: {integrity: sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==} + engines: {node: '>= 0.6'} + + fs-extra@8.1.0: + resolution: {integrity: sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==} + engines: {node: '>=6 <7 || >=8'} + + fs.realpath@1.0.0: + resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==} + + fsevents@1.2.13: + resolution: {integrity: sha512-oWb1Z6mkHIskLzEJ/XWX0srkpkTQ7vaopMQkyaEIoq0fmtFVxOthb8cCxeT+p3ynTdkk/RZwbgG4brR5BeWECw==} + engines: {node: '>= 4.0'} + os: [darwin] + deprecated: Upgrade to fsevents v2 to mitigate potential security issues + + function-bind@1.1.2: + resolution: {integrity: sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==} + + function.prototype.name@1.1.8: + resolution: {integrity: sha512-e5iwyodOHhbMr/yNrc7fDYG4qlbIvI5gajyzPnb5TCwyhjApznQh1BMFou9b30SevY43gCJKXycoCBjMbsuW0Q==} + engines: {node: '>= 0.4'} + + functional-red-black-tree@1.0.1: + resolution: {integrity: sha512-dsKNQNdj6xA3T+QlADDA7mOSlX0qiMINjn0cgr+eGHGsbSHzTabcIogz2+p/iqP1Xs6EP/sS2SbqH+brGTbq0g==} + + functions-have-names@1.2.3: + resolution: {integrity: sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==} + + generator-function@2.0.1: + resolution: {integrity: sha512-SFdFmIJi+ybC0vjlHN0ZGVGHc3lgE0DxPAT0djjVg+kjOnSqclqmj0KQ7ykTOLP6YxoqOvuAODGdcHJn+43q3g==} + engines: {node: '>= 0.4'} + + get-caller-file@2.0.5: + resolution: {integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==} + engines: {node: 6.* || 8.* || >= 10.*} + + get-intrinsic@1.3.0: + resolution: {integrity: sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==} + engines: {node: '>= 0.4'} + + get-port@2.1.0: + resolution: {integrity: sha512-Za6hwpIQjqx3rxtqHZpVdn4r/74EkANdpp4GKJO2GcjsRrnMD5QfiuDIcEckUrtmCIC13FNZqNkhmucZvNrjhg==} + engines: {node: '>=0.10.0'} + + get-proto@1.0.1: + resolution: {integrity: sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==} + engines: {node: '>= 0.4'} + + get-stdin@4.0.1: + resolution: {integrity: sha512-F5aQMywwJ2n85s4hJPTT9RPxGmubonuB10MNYo17/xph174n2MIR33HRguhzVag10O/npM7SPk73LMZNP+FaWw==} + engines: {node: '>=0.10.0'} + + get-stream@3.0.0: + resolution: {integrity: sha512-GlhdIUuVakc8SJ6kK0zAFbiGzRFzNnY4jUuEbV9UROo4Y+0Ny4fjvcZFVTeDA4odpFyOQzaw6hXukJSq/f28sQ==} + engines: {node: '>=4'} + + get-stream@5.2.0: + resolution: {integrity: sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==} + engines: {node: '>=8'} + + get-stream@6.0.1: + resolution: {integrity: sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==} + engines: {node: '>=10'} + + get-symbol-description@1.1.0: + resolution: {integrity: sha512-w9UMqWwJxHNOvoNzSJ2oPF5wvYcvP7jUvYzhp67yEhTi17ZDBBC1z9pTdGuzjD+EFIqLSYRweZjqfiPzQ06Ebg==} + engines: {node: '>= 0.4'} + + get-uri@6.0.5: + resolution: {integrity: sha512-b1O07XYq8eRuVzBNgJLstU6FYc1tS6wnMtF1I1D9lE8LxZSOGZ7LhxN54yPP6mGw5f2CkXY2BQUL9Fx41qvcIg==} + engines: {node: '>= 14'} + + get-value@2.0.6: + resolution: {integrity: sha512-Ln0UQDlxH1BapMu3GPtf7CuYNwRZf2gwCuPqbyG6pB8WfmFpzqcy4xtAaAMUhnNqjMKTiCPZG2oMT3YSx8U2NA==} + engines: {node: '>=0.10.0'} + + getpass@0.1.7: + resolution: {integrity: sha512-0fzj9JxOLfJ+XGLhR8ze3unN0KZCgZwiSSDz168VERjK8Wl8kVSdcu2kspd4s4wtAa1y/qrVRiAA0WclVsu0ng==} + + glob-base@0.3.0: + resolution: {integrity: sha512-ab1S1g1EbO7YzauaJLkgLp7DZVAqj9M/dvKlTt8DkXA2tiOIcSMrlVI2J1RZyB5iJVccEscjGn+kpOG9788MHA==} + engines: {node: '>=0.10.0'} + + glob-parent@2.0.0: + resolution: {integrity: sha512-JDYOvfxio/t42HKdxkAYaCiBN7oYiuxykOxKxdaUW5Qn0zaYN3gRQWolrwdnf0shM9/EP0ebuuTmyoXNr1cC5w==} + + glob@7.2.3: + resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==} + deprecated: Glob versions prior to v9 are no longer supported + + globals@11.12.0: + resolution: {integrity: sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==} + engines: {node: '>=4'} + + globals@9.18.0: + resolution: {integrity: sha512-S0nG3CLEQiY/ILxqtztTWH/3iRRdyBLw6KMDxnKMchrtbj2OFmehVh0WUCfW3DUrIgx/qFrJPICrq4Z4sTR9UQ==} + engines: {node: '>=0.10.0'} + + globalthis@1.0.4: + resolution: {integrity: sha512-DpLKbNU4WylpxJykQujfCcwYWiV/Jhm50Goo0wrVILAv5jOr9d+H+UR3PhSCD2rCCEIg0uc+G+muBTwD54JhDQ==} + engines: {node: '>= 0.4'} + + globby@6.1.0: + resolution: {integrity: sha512-KVbFv2TQtbzCoxAnfD6JcHZTYCzyliEaaeM/gH8qQdkKr5s0OP9scEgvdcngyk7AVdY6YVW/TJHd+lQ/Df3Daw==} + engines: {node: '>=0.10.0'} + + gopd@1.2.0: + resolution: {integrity: sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==} + engines: {node: '>= 0.4'} + + got@5.7.1: + resolution: {integrity: sha512-1qd54GLxvVgzuidFmw9ze9umxS3rzhdBH6Wt6BTYrTQUXTN01vGGYXwzLzYLowNx8HBH3/c7kRyvx90fh13i7Q==} + engines: {node: '>=0.10.0 <7'} + + graceful-fs@4.2.11: + resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==} + + har-schema@2.0.0: + resolution: {integrity: sha512-Oqluz6zhGX8cyRaTQlFMPw80bSJVG2x/cFb8ZPhUILGgHka9SsokCCOQgpveePerqidZOrT14ipqfJb7ILcW5Q==} + engines: {node: '>=4'} + + har-validator@5.1.5: + resolution: {integrity: sha512-nmT2T0lljbxdQZfspsno9hgrG3Uir6Ks5afism62poxqBM6sDnMEuPmzTq8XN0OEwqKLLdh1jQI3qyE66Nzb3w==} + engines: {node: '>=6'} + deprecated: this library is no longer supported + + has-ansi@2.0.0: + resolution: {integrity: sha512-C8vBJ8DwUCx19vhm7urhTuUsr4/IyP6l4VzNQDv+ryHQObW3TTTp9yB68WpYgRe2bbaGuZ/se74IqFeVnMnLZg==} + engines: {node: '>=0.10.0'} + + has-bigints@1.1.0: + resolution: {integrity: sha512-R3pbpkcIqv2Pm3dUwgjclDRVmWpTJW2DcMzcIhEXEx1oh/CEMObMm3KLmRJOdvhM7o4uQBnwr8pzRK2sJWIqfg==} + engines: {node: '>= 0.4'} + + has-color@0.1.7: + resolution: {integrity: sha512-kaNz5OTAYYmt646Hkqw50/qyxP2vFnTVu5AQ1Zmk22Kk5+4Qx6BpO8+u7IKsML5fOsFk0ZT0AcCJNYwcvaLBvw==} + engines: {node: '>=0.10.0'} + + has-flag@2.0.0: + resolution: {integrity: sha512-P+1n3MnwjR/Epg9BBo1KT8qbye2g2Ou4sFumihwt6I4tsUX7jnLcX4BTOSKg/B1ZrIYMN9FcEnG4x5a7NB8Eng==} + engines: {node: '>=0.10.0'} + + has-flag@3.0.0: + resolution: {integrity: sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==} + engines: {node: '>=4'} + + has-property-descriptors@1.0.2: + resolution: {integrity: sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==} + + has-proto@1.2.0: + resolution: {integrity: sha512-KIL7eQPfHQRC8+XluaIw7BHUwwqL19bQn4hzNgdr+1wXoU0KKj6rufu47lhY7KbJR2C6T6+PfyN0Ea7wkSS+qQ==} + engines: {node: '>= 0.4'} + + has-symbols@1.1.0: + resolution: {integrity: sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==} + engines: {node: '>= 0.4'} + + has-tostringtag@1.0.2: + resolution: {integrity: sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==} + engines: {node: '>= 0.4'} + + has-value@0.3.1: + resolution: {integrity: sha512-gpG936j8/MzaeID5Yif+577c17TxaDmhuyVgSwtnL/q8UUTySg8Mecb+8Cf1otgLoD7DDH75axp86ER7LFsf3Q==} + engines: {node: '>=0.10.0'} + + has-value@1.0.0: + resolution: {integrity: sha512-IBXk4GTsLYdQ7Rvt+GRBrFSVEkmuOUy4re0Xjd9kJSUQpnTrWR4/y9RpfexN9vkAPMFuQoeWKwqzPozRTlasGw==} + engines: {node: '>=0.10.0'} + + has-values@0.1.4: + resolution: {integrity: sha512-J8S0cEdWuQbqD9//tlZxiMuMNmxB8PlEwvYwuxsTmR1G5RXUePEX/SJn7aD0GMLieuZYSwNH0cQuJGwnYunXRQ==} + engines: {node: '>=0.10.0'} + + has-values@1.0.0: + resolution: {integrity: sha512-ODYZC64uqzmtfGMEAX/FvZiRyWLpAC3vYnNunURUnkGVTS+mI0smVsWaPydRBsE3g+ok7h960jChO8mFcWlHaQ==} + engines: {node: '>=0.10.0'} + + has-yarn@1.0.0: + resolution: {integrity: sha512-UAI4b48aqrdez88CwMfC9s+gcJ25O1qg0/hS5eKOsIF5tOw2EYcgGsryYF6TEI5G8SeCYzFBt5Z04D/BDABYSQ==} + engines: {node: '>=4'} + + hasown@2.0.2: + resolution: {integrity: sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==} + engines: {node: '>= 0.4'} + + home-or-tmp@2.0.0: + resolution: {integrity: sha512-ycURW7oUxE2sNiPVw1HVEFsW+ecOpJ5zaj7eC0RlwhibhRBod20muUN8qu/gzx956YrLolVvs1MTXwKgC2rVEg==} + engines: {node: '>=0.10.0'} + + hosted-git-info@2.8.9: + resolution: {integrity: sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==} + + htmlparser2@10.1.0: + resolution: {integrity: sha512-VTZkM9GWRAtEpveh7MSF6SjjrpNVNNVJfFup7xTY3UpFtm67foy9HDVXneLtFVt4pMz5kZtgNcvCniNFb1hlEQ==} + + http-assert@1.5.0: + resolution: {integrity: sha512-uPpH7OKX4H25hBmU6G1jWNaqJGpTXxey+YOUizJUAgu0AjLUeC8D73hTrhvDS5D+GJN1DN1+hhc/eF/wpxtp0w==} + engines: {node: '>= 0.8'} + + http-errors@1.6.3: + resolution: {integrity: sha512-lks+lVC8dgGyh97jxvxeYTWQFvh4uw4yC12gVl63Cg30sjPX4wuGcdkICVXDAESr6OJGjqGA8Iz5mkeN6zlD7A==} + engines: {node: '>= 0.6'} + + http-errors@1.8.1: + resolution: {integrity: sha512-Kpk9Sm7NmI+RHhnj6OIWDI1d6fIoFAtFt9RLaTMRlg/8w49juAStsrBgp0Dp4OdxdVbRIeKhtCUvoi/RuAhO4g==} + engines: {node: '>= 0.6'} + + http-errors@2.0.1: + resolution: {integrity: sha512-4FbRdAX+bSdmo4AUFuS0WNiPz8NgFt+r8ThgNWmlrjQjt1Q7ZR9+zTlce2859x4KSXrwIsaeTqDoKQmtP8pLmQ==} + engines: {node: '>= 0.8'} + + http-proxy-agent@7.0.2: + resolution: {integrity: sha512-T1gkAiYYDWYx3V5Bmyu7HcfcvL7mUrTWiM6yOfa3PIphViJ/gFPbvidQ+veqSOHci/PxBcDabeUNCzpOODJZig==} + engines: {node: '>= 14'} + + http-signature@1.2.0: + resolution: {integrity: sha512-CAbnr6Rz4CYQkLYUtSNXxQPUH2gK8f3iWexVlsnMeD+GjlsQ0Xsy1cOX+mN3dtxYomRy21CiOzU8Uhw6OwncEQ==} + engines: {node: '>=0.8', npm: '>=1.3.7'} + + https-proxy-agent@5.0.1: + resolution: {integrity: sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==} + engines: {node: '>= 6'} + + https-proxy-agent@7.0.6: + resolution: {integrity: sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw==} + engines: {node: '>= 14'} + + iconv-lite@0.4.24: + resolution: {integrity: sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==} + engines: {node: '>=0.10.0'} + + iconv-lite@0.6.3: + resolution: {integrity: sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==} + engines: {node: '>=0.10.0'} + + ignore-by-default@1.0.1: + resolution: {integrity: sha512-Ius2VYcGNk7T90CppJqcIkS5ooHUZyIQK+ClZfMfMNFEF9VSE73Fq+906u/CWu92x4gzZMWOwfFYckPObzdEbA==} + + ignore@3.3.10: + resolution: {integrity: sha512-Pgs951kaMm5GXP7MOvxERINe3gsaVjUWFm+UZPSq9xYriQAksyhg0csnS0KXSNRD5NmNdapXEpjxG49+AKh/ug==} + + import-fresh@3.3.1: + resolution: {integrity: sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ==} + engines: {node: '>=6'} + + imurmurhash@0.1.4: + resolution: {integrity: sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==} + engines: {node: '>=0.8.19'} + + indent-string@2.1.0: + resolution: {integrity: sha512-aqwDFWSgSgfRaEwao5lg5KEcVd/2a+D1rvoG7NdilmYz0NwRk6StWpWdz/Hpk34MKPpx7s8XxUqimfcQK6gGlg==} + engines: {node: '>=0.10.0'} + + indent-string@3.2.0: + resolution: {integrity: sha512-BYqTHXTGUIvg7t1r4sJNKcbDZkL92nkXA8YtRpbjFHRHGDL/NtUeiBJMeE60kIFN/Mg8ESaWQvftaYMGJzQZCQ==} + engines: {node: '>=4'} + + inflation@2.1.0: + resolution: {integrity: sha512-t54PPJHG1Pp7VQvxyVCJ9mBbjG3Hqryges9bXoOO6GExCPa+//i/d5GSuFtpx3ALLd7lgIAur6zrIlBQyJuMlQ==} + engines: {node: '>= 0.8.0'} + + inflight@1.0.6: + resolution: {integrity: sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==} + deprecated: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. + + inherits@2.0.3: + resolution: {integrity: sha512-x00IRNXNy63jwGkJmzPigoySHbaqpNuzKbBOmzK+g2OdZpQ9w+sxCN+VSB3ja7IAge2OP2qpfxTjeNcyjmW1uw==} + + inherits@2.0.4: + resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==} + + ini@1.3.8: + resolution: {integrity: sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==} + + ini@5.0.0: + resolution: {integrity: sha512-+N0ngpO3e7cRUWOJAS7qw0IZIVc6XPrW4MlFBdD066F2L4k1L6ker3hLqSq7iXxU5tgS4WGkIUElWn5vogAEnw==} + engines: {node: ^18.17.0 || >=20.5.0} + + inquirer@3.3.0: + resolution: {integrity: sha512-h+xtnyk4EwKvFWHrUYsWErEVR+igKtLdchu+o0Z1RL7VU/jVMFbYir2bp6bAj8efFNxWqHX0dIss6fJQ+/+qeQ==} + + internal-slot@1.1.0: + resolution: {integrity: sha512-4gd7VpWNQNB4UKKCFFVcp1AVv+FMOgs9NKzjHKusc8jTMhd5eL1NqQqOpE0KzMds804/yHlglp3uxgluOqAPLw==} + engines: {node: '>= 0.4'} + + invariant@2.2.4: + resolution: {integrity: sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA==} + + ioredis@2.5.0: + resolution: {integrity: sha512-2jcmF1oVbNf8z+BJ8OmlwKsT+tqOJsJJuTh8qAX5Hwo0424E92A3qu9qcWM9vRhP0R4gCrJ9Y72QZwuVj8weMw==} + engines: {iojs: '>= 1.0.0', node: '>= 0.10.16'} + + ip-address@10.1.0: + resolution: {integrity: sha512-XXADHxXmvT9+CRxhXg56LJovE+bmWnEWB78LB83VZTprKTmaC5QfruXocxzTZ2Kl0DNwKuBdlIhjL8LeY8Sf8Q==} + engines: {node: '>= 12'} + + irregular-plurals@1.4.0: + resolution: {integrity: sha512-kniTIJmaZYiwa17eTtWIfm0K342seyugl6vuC8DiiyiRAJWAVlLkqGCI0Im0neo0TkXw+pRcKaBPRdcKHnQJ6Q==} + engines: {node: '>=0.10.0'} + + is-accessor-descriptor@1.0.1: + resolution: {integrity: sha512-YBUanLI8Yoihw923YeFUS5fs0fF2f5TSFTNiYAAzhhDscDa3lEqYuz1pDOEP5KvX94I9ey3vsqjJcLVFVU+3QA==} + engines: {node: '>= 0.10'} + + is-arguments@1.2.0: + resolution: {integrity: sha512-7bVbi0huj/wrIAOzb8U1aszg9kdi3KN/CyU19CTI7tAoZYEZoL9yCDXpbXN+uPsuWnP02cyug1gleqq+TU+YCA==} + engines: {node: '>= 0.4'} + + is-array-buffer@3.0.5: + resolution: {integrity: sha512-DDfANUiiG2wC1qawP66qlTugJeL5HyzMpfr8lLK+jMQirGzNod0B12cFB/9q838Ru27sBwfw78/rdoU7RERz6A==} + engines: {node: '>= 0.4'} + + is-arrayish@0.2.1: + resolution: {integrity: sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==} + + is-arrayish@0.3.4: + resolution: {integrity: sha512-m6UrgzFVUYawGBh1dUsWR5M2Clqic9RVXC/9f8ceNlv2IcO9j9J/z8UoCLPqtsPBFNzEpfR3xftohbfqDx8EQA==} + + is-async-function@2.1.1: + resolution: {integrity: sha512-9dgM/cZBnNvjzaMYHVoxxfPj2QXt22Ev7SuuPrs+xav0ukGB0S6d4ydZdEiM48kLx5kDV+QBPrpVnFyefL8kkQ==} + engines: {node: '>= 0.4'} + + is-bigint@1.1.0: + resolution: {integrity: sha512-n4ZT37wG78iz03xPRKJrHTdZbe3IicyucEtdRsV5yglwc3GyUfbAfpSeD0FJ41NbUNSt5wbhqfp1fS+BgnvDFQ==} + engines: {node: '>= 0.4'} + + is-binary-path@1.0.1: + resolution: {integrity: sha512-9fRVlXc0uCxEDj1nQzaWONSpbTfx0FmJfzHF7pwlI8DkWGoHBBea4Pg5Ky0ojwwxQmnSifgbKkI06Qv0Ljgj+Q==} + engines: {node: '>=0.10.0'} + + is-boolean-object@1.2.2: + resolution: {integrity: sha512-wa56o2/ElJMYqjCjGkXri7it5FbebW5usLw/nPmCMs5DeZ7eziSYZhSmPRn0txqeW4LnAmQQU7FgqLpsEFKM4A==} + engines: {node: '>= 0.4'} + + is-buffer@1.1.6: + resolution: {integrity: sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==} + + is-callable@1.2.7: + resolution: {integrity: sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==} + engines: {node: '>= 0.4'} + + is-ci@1.2.1: + resolution: {integrity: sha512-s6tfsaQaQi3JNciBH6shVqEDvhGut0SUXr31ag8Pd8BBbVVlcGfWhpPmEOoM6RJ5TFhbypvf5yyRw/VXW1IiWg==} + hasBin: true + + is-core-module@2.16.1: + resolution: {integrity: sha512-UfoeMA6fIJ8wTYFEUjelnaGI67v6+N7qXJEvQuIGa99l4xsCruSYOVSQ0uPANn4dAzm8lkYPaKLrrijLq7x23w==} + engines: {node: '>= 0.4'} + + is-data-descriptor@1.0.1: + resolution: {integrity: sha512-bc4NlCDiCr28U4aEsQ3Qs2491gVq4V8G7MQyws968ImqjKuYtTJXrl7Vq7jsN7Ly/C3xj5KWFrY7sHNeDkAzXw==} + engines: {node: '>= 0.4'} + + is-data-view@1.0.2: + resolution: {integrity: sha512-RKtWF8pGmS87i2D6gqQu/l7EYRlVdfzemCJN/P3UOs//x1QE7mfhvzHIApBTRf7axvT6DMGwSwBXYCT0nfB9xw==} + engines: {node: '>= 0.4'} + + is-date-object@1.1.0: + resolution: {integrity: sha512-PwwhEakHVKTdRNVOw+/Gyh0+MzlCl4R6qKvkhuvLtPMggI1WAHt9sOwZxQLSGpUaDnrdyDsomoRgNnCfKNSXXg==} + engines: {node: '>= 0.4'} + + is-descriptor@0.1.7: + resolution: {integrity: sha512-C3grZTvObeN1xud4cRWl366OMXZTj0+HGyk4hvfpx4ZHt1Pb60ANSXqCK7pdOTeUQpRzECBSTphqvD7U+l22Eg==} + engines: {node: '>= 0.4'} + + is-descriptor@1.0.3: + resolution: {integrity: sha512-JCNNGbwWZEVaSPtS45mdtrneRWJFp07LLmykxeFV5F6oBvNF8vHSfJuJgoT472pSfk+Mf8VnlrspaFBHWM8JAw==} + engines: {node: '>= 0.4'} + + is-dotfile@1.0.3: + resolution: {integrity: sha512-9YclgOGtN/f8zx0Pr4FQYMdibBiTaH3sn52vjYip4ZSf6C4/6RfTEZ+MR4GvKhCxdPh21Bg42/WL55f6KSnKpg==} + engines: {node: '>=0.10.0'} + + is-equal-shallow@0.1.3: + resolution: {integrity: sha512-0EygVC5qPvIyb+gSz7zdD5/AAoS6Qrx1e//6N4yv4oNm30kqvdmG66oZFWVlQHUWe5OjP08FuTw2IdT0EOTcYA==} + engines: {node: '>=0.10.0'} + + is-error@2.2.2: + resolution: {integrity: sha512-IOQqts/aHWbiisY5DuPJQ0gcbvaLFCa7fBa9xoLfxBZvQ+ZI/Zh9xoI7Gk+G64N0FdK4AbibytHht2tWgpJWLg==} + + is-extendable@0.1.1: + resolution: {integrity: sha512-5BMULNob1vgFX6EjQw5izWDxrecWK9AM72rugNr0TFldMOi0fj6Jk+zeKIt0xGj4cEfQIJth4w3OKWOJ4f+AFw==} + engines: {node: '>=0.10.0'} + + is-extendable@1.0.1: + resolution: {integrity: sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==} + engines: {node: '>=0.10.0'} + + is-extglob@1.0.0: + resolution: {integrity: sha512-7Q+VbVafe6x2T+Tu6NcOf6sRklazEPmBoB3IWk3WdGZM2iGUwU/Oe3Wtq5lSEkDTTlpp8yx+5t4pzO/i9Ty1ww==} + engines: {node: '>=0.10.0'} + + is-extglob@2.1.1: + resolution: {integrity: sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==} + engines: {node: '>=0.10.0'} + + is-finalizationregistry@1.1.1: + resolution: {integrity: sha512-1pC6N8qWJbWoPtEjgcL2xyhQOP491EQjeUo3qTKcmV8YSDDJrOepfG8pcC7h/QgnQHYSv0mJ3Z/ZWxmatVrysg==} + engines: {node: '>= 0.4'} + + is-finite@1.1.0: + resolution: {integrity: sha512-cdyMtqX/BOqqNBBiKlIVkytNHm49MtMlYyn1zxzvJKWmFMlGzm+ry5BBfYyeY9YmNKbRSo/o7OX9w9ale0wg3w==} + engines: {node: '>=0.10.0'} + + is-fullwidth-code-point@1.0.0: + resolution: {integrity: sha512-1pqUqRjkhPJ9miNq9SwMfdvi6lBJcd6eFxvfaivQhaH3SgisfiuudvFntdKOmxuee/77l+FPjKrQjWvmPjWrRw==} + engines: {node: '>=0.10.0'} + + is-fullwidth-code-point@2.0.0: + resolution: {integrity: sha512-VHskAKYM8RfSFXwee5t5cbN5PZeq1Wrh6qd5bkyiXIf6UQcN6w/A0eXM9r6t8d+GYOh+o6ZhiEnb88LN/Y8m2w==} + engines: {node: '>=4'} + + is-fullwidth-code-point@3.0.0: + resolution: {integrity: sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==} + engines: {node: '>=8'} + + is-generator-fn@1.0.0: + resolution: {integrity: sha512-95jJZX6O/gdekidH2usRBr9WdRw4LU56CttPstXFxvG0r3QUE9eaIdz2p2Y7zrm6jxz7SjByAo1AtzwGlRvfOg==} + engines: {node: '>=0.10.0'} + + is-generator-function@1.1.2: + resolution: {integrity: sha512-upqt1SkGkODW9tsGNG5mtXTXtECizwtS2kA161M+gJPc1xdb/Ax629af6YrTwcOeQHbewrPNlE5Dx7kzvXTizA==} + engines: {node: '>= 0.4'} + + is-glob@2.0.1: + resolution: {integrity: sha512-a1dBeB19NXsf/E0+FHqkagizel/LQw2DjSQpvQrj3zT+jYPpaUCryPnrQajXKFLCMuf4I6FhRpaGtw4lPrG6Eg==} + engines: {node: '>=0.10.0'} + + is-glob@4.0.3: + resolution: {integrity: sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==} + engines: {node: '>=0.10.0'} + + is-map@2.0.3: + resolution: {integrity: sha512-1Qed0/Hr2m+YqxnM09CjA2d/i6YZNfF6R2oRAOj36eUdS6qIV/huPJNSEpKbupewFs+ZsJlxsjjPbc0/afW6Lw==} + engines: {node: '>= 0.4'} + + is-nan@1.3.2: + resolution: {integrity: sha512-E+zBKpQ2t6MEo1VsonYmluk9NxGrbzpeeLC2xIViuO2EjU2xsXsBPwTr3Ykv9l08UYEVEdWeRZNouaZqF6RN0w==} + engines: {node: '>= 0.4'} + + is-negative-zero@2.0.3: + resolution: {integrity: sha512-5KoIu2Ngpyek75jXodFvnafB6DJgr3u8uuK0LEZJjrU19DrMD3EVERaR8sjz8CCGgpZvxPl9SuE1GMVPFHx1mw==} + engines: {node: '>= 0.4'} + + is-npm@1.0.0: + resolution: {integrity: sha512-9r39FIr3d+KD9SbX0sfMsHzb5PP3uimOiwr3YupUaUFG4W0l1U57Rx3utpttV7qz5U3jmrO5auUa04LU9pyHsg==} + engines: {node: '>=0.10.0'} + + is-number-object@1.1.1: + resolution: {integrity: sha512-lZhclumE1G6VYD8VHe35wFaIif+CTy5SJIi5+3y4psDgWu4wPDoBhF8NxUOinEc7pHgiTsT6MaBb92rKhhD+Xw==} + engines: {node: '>= 0.4'} + + is-number@2.1.0: + resolution: {integrity: sha512-QUzH43Gfb9+5yckcrSA0VBDwEtDUchrk4F6tfJZQuNzDJbEDB9cZNzSfXGQ1jqmdDY/kl41lUOWM9syA8z8jlg==} + engines: {node: '>=0.10.0'} + + is-number@3.0.0: + resolution: {integrity: sha512-4cboCqIpliH+mAvFNegjZQ4kgKc3ZUhQVr3HvWbSh5q3WH2v82ct+T2Y1hdU5Gdtorx/cLifQjqCbL7bpznLTg==} + engines: {node: '>=0.10.0'} + + is-number@4.0.0: + resolution: {integrity: sha512-rSklcAIlf1OmFdyAqbnWTLVelsQ58uvZ66S/ZyawjWqIviTWCjg2PzVGw8WUA+nNuPTqb4wgA+NszrJ+08LlgQ==} + engines: {node: '>=0.10.0'} + + is-obj@1.0.1: + resolution: {integrity: sha512-l4RyHgRqGN4Y3+9JHVrNqO+tN0rV5My76uW5/nuO4K1b6vw5G8d/cmFjP9tRfEsdhZNt0IFdZuK/c2Vr4Nb+Qg==} + engines: {node: '>=0.10.0'} + + is-obj@2.0.0: + resolution: {integrity: sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w==} + engines: {node: '>=8'} + + is-observable@0.2.0: + resolution: {integrity: sha512-4JymFIKLU+QyN0J+Q1YMWGXGF/FbL/RPkr5R9UlTdvWmSYRQPeoub00WZ4EiWOEVxWz/djoPxNFF+iuBSJzYCw==} + engines: {node: '>=0.10.0'} + + is-plain-obj@1.1.0: + resolution: {integrity: sha512-yvkRyxmFKEOQ4pNXCmJG5AEQNlXJS5LaONXo5/cLdTZdWvsZ1ioJEonLGAosKlMWE8lwUy/bJzMjcw8az73+Fg==} + engines: {node: '>=0.10.0'} + + is-plain-object@2.0.4: + resolution: {integrity: sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==} + engines: {node: '>=0.10.0'} + + is-posix-bracket@0.1.1: + resolution: {integrity: sha512-Yu68oeXJ7LeWNmZ3Zov/xg/oDBnBK2RNxwYY1ilNJX+tKKZqgPK+qOn/Gs9jEu66KDY9Netf5XLKNGzas/vPfQ==} + engines: {node: '>=0.10.0'} + + is-primitive@2.0.0: + resolution: {integrity: sha512-N3w1tFaRfk3UrPfqeRyD+GYDASU3W5VinKhlORy8EWVf/sIdDL9GAcew85XmktCfH+ngG7SRXEVDoO18WMdB/Q==} + engines: {node: '>=0.10.0'} + + is-promise@2.2.2: + resolution: {integrity: sha512-+lP4/6lKUBfQjZ2pdxThZvLUAafmZb8OAxFb8XXtiQmS35INgr85hdOGoEs124ez1FCnZJt6jau/T+alh58QFQ==} + + is-redirect@1.0.0: + resolution: {integrity: sha512-cr/SlUEe5zOGmzvj9bUyC4LVvkNVAXu4GytXLNMr1pny+a65MpQ9IJzFHD5vi7FyJgb4qt27+eS3TuQnqB+RQw==} + engines: {node: '>=0.10.0'} + + is-regex@1.2.1: + resolution: {integrity: sha512-MjYsKHO5O7mCsmRGxWcLWheFqN9DJ/2TmngvjKXihe6efViPqc274+Fx/4fYj/r03+ESvBdTXK0V6tA3rgez1g==} + engines: {node: '>= 0.4'} + + is-resolvable@1.1.0: + resolution: {integrity: sha512-qgDYXFSR5WvEfuS5dMj6oTMEbrrSaM0CrFk2Yiq/gXnBvD9pMa2jGXxyhGLfvhZpuMZe18CJpFxAt3CRs42NMg==} + + is-retry-allowed@1.2.0: + resolution: {integrity: sha512-RUbUeKwvm3XG2VYamhJL1xFktgjvPzL0Hq8C+6yrWIswDy3BIXGqCxhxkc30N9jqK311gVU137K8Ei55/zVJRg==} + engines: {node: '>=0.10.0'} + + is-set@2.0.3: + resolution: {integrity: sha512-iPAjerrse27/ygGLxw+EBR9agv9Y6uLeYVJMu+QNCoouJ1/1ri0mGrcWpfCqFZuzzx3WjtwxG098X+n4OuRkPg==} + engines: {node: '>= 0.4'} + + is-shared-array-buffer@1.0.4: + resolution: {integrity: sha512-ISWac8drv4ZGfwKl5slpHG9OwPNty4jOWPRIhBpxOoD+hqITiwuipOQ2bNthAzwA3B4fIjO4Nln74N0S9byq8A==} + engines: {node: '>= 0.4'} + + is-stream@1.1.0: + resolution: {integrity: sha512-uQPm8kcs47jx38atAcWTVxyltQYoPT68y9aWYdV6yWXSyW8mzSat0TL6CiWdZeCdF3KrAvpVtnHbTv4RN+rqdQ==} + engines: {node: '>=0.10.0'} + + is-stream@2.0.1: + resolution: {integrity: sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==} + engines: {node: '>=8'} + + is-string@1.1.1: + resolution: {integrity: sha512-BtEeSsoaQjlSPBemMQIrY1MY0uM6vnS1g5fmufYOtnxLGUZM2178PKbhsk7Ffv58IX+ZtcvoGwccYsh0PglkAA==} + engines: {node: '>= 0.4'} + + is-symbol@1.1.1: + resolution: {integrity: sha512-9gGx6GTtCQM73BgmHQXfDmLtfjjTUDSyoxTCbp5WtoixAhfgsDirWIcVQ/IHpvI5Vgd5i/J5F7B9cN/WlVbC/w==} + engines: {node: '>= 0.4'} + + is-typed-array@1.1.15: + resolution: {integrity: sha512-p3EcsicXjit7SaskXHs1hA91QxgTw46Fv6EFKKGS5DRFLD8yKnohjF3hxoju94b/OcMZoQukzpPpBE9uLVKzgQ==} + engines: {node: '>= 0.4'} + + is-typedarray@1.0.0: + resolution: {integrity: sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA==} + + is-url@1.2.4: + resolution: {integrity: sha512-ITvGim8FhRiYe4IQ5uHSkj7pVaPDrCTkNd3yq3cV7iZAcJdHTUMPMEHcqSOy9xZ9qFenQCvi+2wjH9a1nXqHww==} + + is-utf8@0.2.1: + resolution: {integrity: sha512-rMYPYvCzsXywIsldgLaSoPlw5PfoB/ssr7hY4pLfcodrA5M/eArza1a9VmTiNIBNMjOGr1Ow9mTyU2o69U6U9Q==} + + is-weakmap@2.0.2: + resolution: {integrity: sha512-K5pXYOm9wqY1RgjpL3YTkF39tni1XajUIkawTLUo9EZEVUFga5gSQJF8nNS7ZwJQ02y+1YCNYcMh+HIf1ZqE+w==} + engines: {node: '>= 0.4'} + + is-weakref@1.1.1: + resolution: {integrity: sha512-6i9mGWSlqzNMEqpCp93KwRS1uUOodk2OJ6b+sq7ZPDSy2WuI5NFIxp/254TytR8ftefexkWn5xNiHUNpPOfSew==} + engines: {node: '>= 0.4'} + + is-weakset@2.0.4: + resolution: {integrity: sha512-mfcwb6IzQyOKTs84CQMrOwW4gQcaTOAWJ0zzJCl2WSPDrWk/OzDaImWFH3djXhb24g4eudZfLRozAvPGw4d9hQ==} + engines: {node: '>= 0.4'} + + is-windows@1.0.2: + resolution: {integrity: sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==} + engines: {node: '>=0.10.0'} + + isarray@0.0.1: + resolution: {integrity: sha512-D2S+3GLxWH+uhrNEcoh/fnmYeP8E8/zHl644d/jdA0g2uyXvy3sb0qxotE+ne0LtccHknQzWwZEzhak7oJ0COQ==} + + isarray@1.0.0: + resolution: {integrity: sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==} + + isarray@2.0.5: + resolution: {integrity: sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==} + + isexe@2.0.0: + resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==} + + isobject@2.1.0: + resolution: {integrity: sha512-+OUdGJlgjOBZDfxnDjYYG6zp487z0JGNQq3cYQYg5f5hKR+syHMsaztzGeml/4kGG55CSpKSpWTY+jYGgsHLgA==} + engines: {node: '>=0.10.0'} + + isobject@3.0.1: + resolution: {integrity: sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg==} + engines: {node: '>=0.10.0'} + + isstream@0.1.2: + resolution: {integrity: sha512-Yljz7ffyPbrLpLngrMtZ7NduUgVvi6wG9RJ9IUcyCd59YQ911PBJphODUcbOVbqYfxe1wuYf/LJ8PauMRwsM/g==} + + jest-diff@18.1.0: + resolution: {integrity: sha512-PzsL3/aLCOfJyvF6cqp6N6kzkImNfDXAkWIU/9y84WPPTf82Dnhkxex/LD/3nR6Z38VBrsefGTQLSF4yoPlMgg==} + + jest-file-exists@17.0.0: + resolution: {integrity: sha512-JXkEL1QPduQCc6wgexD0vArivwYAlIXLSMM75HrjXM+LtRZlvX57dWaviudOHUBHraUapyY7O+dTlAu+6hNQ6A==} + + jest-matcher-utils@18.1.0: + resolution: {integrity: sha512-OQoK0lv62J+CgFZlLkIvHsmW93oEUa+poci8m4T5KfdeQvRFTNEnYSaxqbG7Gv/If3Ib1NVx1ILIxyo5aTl5hA==} + + jest-mock@18.0.0: + resolution: {integrity: sha512-Vou/x9kOIB1y8OnCXx/NZJtDSy9aKB0hJVsDLiSOlf6UGMsvcB2g0VA1W8td4zglGQRu0QZkPZ2n3W/X9F1Gig==} + + jest-snapshot@18.1.0: + resolution: {integrity: sha512-EvZk0LjuB881yWOr+yqYuO+XrNtzP7BPOcknexBr4TNiiFrA14w8DZgkZ1U+JmtpRPBj3nIFuYArDYZsnCyFOA==} + + jest-util@18.1.0: + resolution: {integrity: sha512-ffxeN/edEn8QfLiJs8j65M8Cob2QHswpF9zGPBmRKXFi7vr+Aj3J67LwP3kWUMTDm0acS2tirrmJEfd3D/W7LQ==} + + js-tokens@3.0.2: + resolution: {integrity: sha512-RjTcuD4xjtthQkaWH7dFlH85L+QaVtSoOyGdZ3g6HFhS9dFNDfLyqgm2NFe2X6cQpeFmt0452FJjFG5UameExg==} + + js-tokens@4.0.0: + resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==} + + js-yaml@3.14.2: + resolution: {integrity: sha512-PMSmkqxr106Xa156c2M265Z+FTrPl+oxd/rgOQy2tijQeK5TxQ43psO1ZCwhVOSdnn+RzkzlRz/eY4BgJBYVpg==} + hasBin: true + + js-yaml@4.1.1: + resolution: {integrity: sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA==} + hasBin: true + + jsbn@0.1.1: + resolution: {integrity: sha512-UVU9dibq2JcFWxQPA6KCqj5O42VOmAY3zQUfEKxU0KpTGXwNoCjkX1e13eHNvw/xPynt6pU0rZ1htjWTNTSXsg==} + + jsesc@0.5.0: + resolution: {integrity: sha512-uZz5UnB7u4T9LvwmFqXii7pZSouaRPorGs5who1Ip7VO0wxanFvBL7GkM6dTHlgX+jhBApRetaWpnDabOeTcnA==} + hasBin: true + + jsesc@1.3.0: + resolution: {integrity: sha512-Mke0DA0QjUWuJlhsE0ZPPhYiJkRap642SmI/4ztCFaUs6V2AiH1sfecc+57NgaryfAA2VR3v6O+CSjC1jZJKOA==} + hasBin: true + + jsesc@3.1.0: + resolution: {integrity: sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==} + engines: {node: '>=6'} + hasBin: true + + json-bigint@1.0.0: + resolution: {integrity: sha512-SiPv/8VpZuWbvLSMtTDU8hEfrZWg/mH/nV/b4o0CYbSxu1UIQPLdwKOCIyLQX+VIPO5vrLX3i8qtqFyhdPSUSQ==} + + json-parse-better-errors@1.0.2: + resolution: {integrity: sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==} + + json-parse-even-better-errors@2.3.1: + resolution: {integrity: sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==} + + json-schema-traverse@0.3.1: + resolution: {integrity: sha512-4JD/Ivzg7PoW8NzdrBSr3UFwC9mHgvI7Z6z3QGBsSHgKaRTUDmyZAAKJo2UbG1kUVfS9WS8bi36N49U1xw43DA==} + + json-schema-traverse@0.4.1: + resolution: {integrity: sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==} + + json-schema-traverse@1.0.0: + resolution: {integrity: sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==} + + json-schema-typed@7.0.3: + resolution: {integrity: sha512-7DE8mpG+/fVw+dTpjbxnx47TaMnDfOI1jwft9g1VybltZCduyRQPJPvc+zzKY9WPHxhPWczyFuYa6I8Mw4iU5A==} + + json-schema@0.4.0: + resolution: {integrity: sha512-es94M3nTIfsEPisRafak+HDLfHXnKBhV3vU5eqPcS3flIWqcxJWgXHXiey3YrpaNsanY5ei1VoYEbOzijuq9BA==} + + json-stable-stringify-without-jsonify@1.0.1: + resolution: {integrity: sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==} + + json-stringify-safe@5.0.1: + resolution: {integrity: sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA==} + + json5@0.5.1: + resolution: {integrity: sha512-4xrs1aW+6N5DalkqSVA8fxh458CXvR99WU8WLKmq4v8eWAL86Xo3BVqyd3SkA9wEVjCMqyvvRRkshAdOnBp5rw==} + hasBin: true + + json5@1.0.2: + resolution: {integrity: sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==} + hasBin: true + + jsonfile@4.0.0: + resolution: {integrity: sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==} + + jsonwebtoken@9.0.3: + resolution: {integrity: sha512-MT/xP0CrubFRNLNKvxJ2BYfy53Zkm++5bX9dtuPbqAeQpTVe0MQTFhao8+Cp//EmJp244xt6Drw/GVEGCUj40g==} + engines: {node: '>=12', npm: '>=6'} + + jsprim@1.4.2: + resolution: {integrity: sha512-P2bSOMAc/ciLz6DzgjVlGJP9+BrJWu5UDGK70C2iweC5QBIeFf0ZXRvGjEj2uYgrY2MkAAhsSWHDWlFtEroZWw==} + engines: {node: '>=0.6.0'} + + jwa@2.0.1: + resolution: {integrity: sha512-hRF04fqJIP8Abbkq5NKGN0Bbr3JxlQ+qhZufXVr0DvujKy93ZCbXZMHDL4EOtodSbCWxOqR8MS1tXA5hwqCXDg==} + + jws@4.0.1: + resolution: {integrity: sha512-EKI/M/yqPncGUUh44xz0PxSidXFr/+r0pA70+gIYhjv+et7yxM+s29Y+VGDkovRofQem0fs7Uvf4+YmAdyRduA==} + + keygrip@1.1.0: + resolution: {integrity: sha512-iYSchDJ+liQ8iwbSI2QqsQOvqv58eJCEanyJPJi+Khyu8smkcKSFUCbPwzFcL7YVtZ6eONjqRX/38caJ7QjRAQ==} + engines: {node: '>= 0.6'} + deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info. + + kind-of@3.2.2: + resolution: {integrity: sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==} + engines: {node: '>=0.10.0'} + + kind-of@4.0.0: + resolution: {integrity: sha512-24XsCxmEbRwEDbz/qz3stgin8TTzZ1ESR56OMCN0ujYg+vRutNSiOj9bHH9u85DKgXguraugV5sFuvbD4FW/hw==} + engines: {node: '>=0.10.0'} + + kind-of@6.0.3: + resolution: {integrity: sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==} + engines: {node: '>=0.10.0'} + + koa-compose@4.1.0: + resolution: {integrity: sha512-8ODW8TrDuMYvXRwra/Kh7/rJo9BtOfPc6qO8eAfC80CnCvSjSl0bkRM24X6/XBBEyj0v1nRUQ1LyOy3dbqOWXw==} + + koa-convert@2.0.0: + resolution: {integrity: sha512-asOvN6bFlSnxewce2e/DK3p4tltyfC4VM7ZwuTuepI7dEQVcvpyFuBcEARu1+Hxg8DIwytce2n7jrZtRlPrARA==} + engines: {node: '>= 10'} + + koa-send@3.3.0: + resolution: {integrity: sha512-5AH9ZrP8k9X13K5aAdyI+XPzqzKDMcM3omVgaWsTntQiZxIL9nkrvxgmjB8fmMXsNobvhIern21RNNSHCLSOeg==} + + koa@2.16.3: + resolution: {integrity: sha512-zPPuIt+ku1iCpFBRwseMcPYQ1cJL8l60rSmKeOuGfOXyE6YnTBmf2aEFNL2HQGrD0cPcLO/t+v9RTgC+fwEh/g==} + engines: {node: ^4.8.4 || ^6.10.1 || ^7.10.1 || >= 8.1.4} + + last-line-stream@1.0.0: + resolution: {integrity: sha512-A9su/wrZOLGwo27plXO4hCBttJx9JvALtnmq4UFe9KCAFHuk1rZFuVv+4AXlBAnb/ex7IKf81Tfo32hXDhQuxg==} + engines: {node: '>=0.10.0'} + + latest-version@2.0.0: + resolution: {integrity: sha512-8925wFYLfWBciewimt0VmDyYw0GFCRcbFSTrZGt4JgQ7lh5jb/kodMlUt0uMaxXdRKVi+7F3ib30N7fTv83ikw==} + engines: {node: '>=0.10.0'} + + lazy-req@1.1.0: + resolution: {integrity: sha512-Vn/JuGaYykbelAVNAhfVJxuwHQCOSNE6mqMtD+gnd+QORlAHwWVmVFqQga3yWt84G5vAwEwpT6sAsZ+tgJ88/Q==} + engines: {node: '>=0.10.0'} + + levn@0.3.0: + resolution: {integrity: sha512-0OO4y2iOHix2W6ujICbKIaEQXvFQHue65vUG3pb5EUomzPI90z9hsA1VsO/dbIIpC53J8gxM9Q4Oho0jrCM/yA==} + engines: {node: '>= 0.8.0'} + + lines-and-columns@1.2.4: + resolution: {integrity: sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==} + + load-json-file@1.1.0: + resolution: {integrity: sha512-cy7ZdNRXdablkXYNI049pthVeXFurRyb9+hA/dZzerZ0pGTx42z+y+ssxBaVV2l70t1muq5IdKhn4UtcoGUY9A==} + engines: {node: '>=0.10.0'} + + load-json-file@2.0.0: + resolution: {integrity: sha512-3p6ZOGNbiX4CdvEd1VcE6yi78UrGNpjHO33noGwHCnT/o2fyllJDepsm8+mFFv/DvtwFHht5HIHSyOy5a+ChVQ==} + engines: {node: '>=4'} + + load-json-file@4.0.0: + resolution: {integrity: sha512-Kx8hMakjX03tiGTLAIdJ+lL0htKnXjEZN6hk/tozf/WOuYGdZBJrZ+rCJRbVCugsjB3jMLn9746NsQIf5VjBMw==} + engines: {node: '>=4'} + + locate-path@2.0.0: + resolution: {integrity: sha512-NCI2kiDkyR7VeEKm27Kda/iQHyKJe1Bu0FlTbYp3CqJu+9IFe9bLyAjMxf5ZDDbEg+iMPzB5zYyUTSm8wVTKmA==} + engines: {node: '>=4'} + + locate-path@3.0.0: + resolution: {integrity: sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==} + engines: {node: '>=6'} + + lodash.debounce@4.0.8: + resolution: {integrity: sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow==} + + lodash.difference@4.5.0: + resolution: {integrity: sha512-dS2j+W26TQ7taQBGN8Lbbq04ssV3emRw4NY58WErlTO29pIqS0HmoT5aJ9+TUQ1N3G+JOZSji4eugsWwGp9yPA==} + + lodash.flatten@4.4.0: + resolution: {integrity: sha512-C5N2Z3DgnnKr0LOpv/hKCgKdb7ZZwafIrsesve6lmzvZIRZRGaZ/l6Q8+2W7NaT+ZwO3fFlSCzCzrDCFdJfZ4g==} + + lodash.includes@4.3.0: + resolution: {integrity: sha512-W3Bx6mdkRTGtlJISOvVD/lbqjTlPPUDTMnlXZFnVwi9NKJ6tiAk6LVdlhZMm17VZisqhKcgzpO5Wz91PCt5b0w==} + + lodash.isboolean@3.0.3: + resolution: {integrity: sha512-Bz5mupy2SVbPHURB98VAcw+aHh4vRV5IPNhILUCsOzRmsTmSQ17jIuqopAentWoehktxGd9e/hbIXq980/1QJg==} + + lodash.isequal@4.5.0: + resolution: {integrity: sha512-pDo3lu8Jhfjqls6GkMgpahsF9kCyayhgykjyLMNFTKWrpVdAQtYyB4muAMWozBB4ig/dtWAmsMxLEI8wuz+DYQ==} + deprecated: This package is deprecated. Use require('node:util').isDeepStrictEqual instead. + + lodash.isinteger@4.0.4: + resolution: {integrity: sha512-DBwtEWN2caHQ9/imiNeEA5ys1JoRtRfY3d7V9wkqtbycnAmTvRRmbHKDV4a0EYc678/dia0jrte4tjYwVBaZUA==} + + lodash.isnumber@3.0.3: + resolution: {integrity: sha512-QYqzpfwO3/CWf3XP+Z+tkQsfaLL/EnUlXWVkIk5FUPc4sBdTehEqZONuyRt2P67PXAk+NXmTBcc97zw9t1FQrw==} + + lodash.isplainobject@4.0.6: + resolution: {integrity: sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA==} + + lodash.isstring@4.0.1: + resolution: {integrity: sha512-0wJxfxH1wgO3GrbuP+dTTk7op+6L41QCXbGINEmD+ny/G/eCqGzxyCsh7159S+mgDDcoarnBw6PC1PS5+wUGgw==} + + lodash.merge@4.6.2: + resolution: {integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==} + + lodash.once@4.1.1: + resolution: {integrity: sha512-Sb487aTOCr9drQVL8pIxOzVhafOjZN9UU54hiN8PU3uAiSV7lx1yYNpbNmex2PK6dSJoNTSJUUswT651yww3Mg==} + + lodash@4.17.23: + resolution: {integrity: sha512-LgVTMpQtIopCi79SJeDiP0TfWi5CNEc/L/aRdTh3yIvmZXTnheWpKjSZhnvMl8iXbC1tFg9gdHHDMLoV7CnG+w==} + + log4js@6.9.1: + resolution: {integrity: sha512-1somDdy9sChrr9/f4UlzhdaGfDR2c/SaD2a4T7qEkG4jTS57/B3qmnjLYePwQ8cqWnUHZI0iAKxMBpCZICiZ2g==} + engines: {node: '>=8.0'} + + long-timeout@0.1.1: + resolution: {integrity: sha512-BFRuQUqc7x2NWxfJBCyUrN8iYUYznzL9JROmRz1gZ6KlOIgmoD+njPVbb+VNn2nGMKggMsK79iUNErillsrx7w==} + + loose-envify@1.4.0: + resolution: {integrity: sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==} + hasBin: true + + loud-rejection@1.6.0: + resolution: {integrity: sha512-RPNliZOFkqFumDhvYqOaNY4Uz9oJM2K9tC6JWsJJsNdhuONW4LQHRBpb0qf4pJApVffI5N39SwzWZJuEhfd7eQ==} + engines: {node: '>=0.10.0'} + + lowercase-keys@1.0.1: + resolution: {integrity: sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA==} + engines: {node: '>=0.10.0'} + + lru-cache@4.1.5: + resolution: {integrity: sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g==} + + lru-cache@7.18.3: + resolution: {integrity: sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==} + engines: {node: '>=12'} + + make-dir@1.3.0: + resolution: {integrity: sha512-2w31R7SJtieJJnQtGc7RVL2StM2vGYVfqUOvUDxH6bC6aJTxPxTF0GnIgCyu7tjockiUWAYQRbxa7vKn34s5sQ==} + engines: {node: '>=4'} + + make-dir@3.1.0: + resolution: {integrity: sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==} + engines: {node: '>=8'} + + map-cache@0.2.2: + resolution: {integrity: sha512-8y/eV9QQZCiyn1SprXSrCmqJN0yNRATe+PO8ztwqrvrbdRLA3eYJF0yaR0YayLWkMbsQSKWS9N2gPcGEc4UsZg==} + engines: {node: '>=0.10.0'} + + map-obj@1.0.1: + resolution: {integrity: sha512-7N/q3lyZ+LVCp7PzuxrJr4KMbBE2hW7BT7YNia330OFxIf4d3r5zVpicP2650l7CPN6RM9zOJRl3NGpqSiw3Eg==} + engines: {node: '>=0.10.0'} + + map-visit@1.0.0: + resolution: {integrity: sha512-4y7uGv8bd2WdM9vpQsiQNo41Ln1NvhvDRuVt0k2JZQ+ezN2uaQes7lZeZ+QQUHOLQAtDaBJ+7wCbi+ab/KFs+w==} + engines: {node: '>=0.10.0'} + + matcher@0.1.2: + resolution: {integrity: sha512-e+Sqhn8HEY9cAUCBacJHDqFneV1kc1r9m1uH6QMTCb8vWjaHlBkzDmJ6YLgruFquiWmhxFIJUQqj+xWoiqh/Ew==} + engines: {node: '>=0.10.0'} + + math-intrinsics@1.1.0: + resolution: {integrity: sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==} + engines: {node: '>= 0.4'} + + math-random@1.0.4: + resolution: {integrity: sha512-rUxjysqif/BZQH2yhd5Aaq7vXMSx9NdEsQcyA07uEzIvxgI7zIr33gGsh+RU0/XjmQpCW7RsVof1vlkvQVCK5A==} + + max-timeout@1.0.0: + resolution: {integrity: sha512-sXo5y3ioLf/ha4MTOOMfSqZx2ymTsBMku9uwKLldT2/hcIK8bOhUvYuv/Wvc0huUwfOEvg97+6jvSAhQJ8cXTw==} + engines: {node: '>=0.10.0'} + + md5-hex@1.3.0: + resolution: {integrity: sha512-lJEPhRxivsaliY4C6REebtP1Lo8yoQsq2bLVP8mJ6Vvzwu3fXQShzHcWnAqdDm1Y42jhZFg0XRpnrKfZ5mYP6w==} + engines: {node: '>=0.10.0'} + + md5-hex@2.0.0: + resolution: {integrity: sha512-0HLfzJTZ7707VBNM1ydr5sTb+IZLhmU4u2TVA+Eenfn/Ed42/gn10smbAPiuEm/jNgjvWKUiMNihqJQ6flus9w==} + engines: {node: '>=4'} + + md5-o-matic@0.1.1: + resolution: {integrity: sha512-QBJSFpsedXUl/Lgs4ySdB2XCzUEcJ3ujpbagdZCkRaYIaC0kFnID8jhc84KEiVv6dNFtIrmW7bqow0lDxgJi6A==} + + media-typer@0.3.0: + resolution: {integrity: sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==} + engines: {node: '>= 0.6'} + + meow@3.7.0: + resolution: {integrity: sha512-TNdwZs0skRlpPpCUK25StC4VH+tP5GgeY1HQOOGP+lQ2xtdkN2VtT/5tiX9k3IWpkBPV9b3LsAWXn4GGi/PrSA==} + engines: {node: '>=0.10.0'} + + methods@1.1.2: + resolution: {integrity: sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==} + engines: {node: '>= 0.6'} + + micromatch@2.3.11: + resolution: {integrity: sha512-LnU2XFEk9xxSJ6rfgAry/ty5qwUTyHYOBU0g4R6tIw5ljwgGIBmiKhRWLw5NpMOnrgUNcDJ4WMp8rl3sYVHLNA==} + engines: {node: '>=0.10.0'} + + micromatch@3.1.10: + resolution: {integrity: sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==} + engines: {node: '>=0.10.0'} + + mime-db@1.52.0: + resolution: {integrity: sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==} + engines: {node: '>= 0.6'} + + mime-types@2.1.35: + resolution: {integrity: sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==} + engines: {node: '>= 0.6'} + + mimic-fn@1.2.0: + resolution: {integrity: sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ==} + engines: {node: '>=4'} + + mimic-fn@2.1.0: + resolution: {integrity: sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==} + engines: {node: '>=6'} + + mimic-fn@3.1.0: + resolution: {integrity: sha512-Ysbi9uYW9hFyfrThdDEQuykN4Ey6BuwPD2kpI5ES/nFTDn/98yxYNLZJcgUAKPT/mcrLLKaGzJR9YVxJrIdASQ==} + engines: {node: '>=8'} + + minimatch@3.1.2: + resolution: {integrity: sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==} + + minimist@1.2.8: + resolution: {integrity: sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==} + + mitt@3.0.1: + resolution: {integrity: sha512-vKivATfr97l2/QBCYAkXYDbrIWPM2IIKEl7YPhjCvKlG3kE2gm+uBo6nEXK3M5/Ffh/FLpKExzOQ3JJoJGFKBw==} + + mixin-deep@1.3.2: + resolution: {integrity: sha512-WRoDn//mXBiJ1H40rqa3vH0toePwSsGb45iInWlTySa+Uu4k3tYUSxa2v1KqAiLtvlrSzaExqS1gtk96A9zvEA==} + engines: {node: '>=0.10.0'} + + mkdirp@0.5.6: + resolution: {integrity: sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==} + hasBin: true + + moment-timezone@0.5.48: + resolution: {integrity: sha512-f22b8LV1gbTO2ms2j2z13MuPogNoh5UzxL3nzNAYKGraILnbGc9NEE6dyiiiLv46DGRb8A4kg8UKWLjPthxBHw==} + + moment@2.30.1: + resolution: {integrity: sha512-uEmtNhbDOrWPFS+hdjFCBfy9f2YoyzRpwcl+DqpC6taX21FzsTLQVbMV/W7PzNSX6x/bhC1zA3c2UQ5NzH6how==} + + ms@0.7.3: + resolution: {integrity: sha512-lrKNzMWqQZgwJahtrtrM+9NgOoDUveDrVmm5aGXrf3BdtL0mq7X6IVzoZaw+TfNti29eHd1/8GI+h45K5cQ6/w==} + + ms@1.0.0: + resolution: {integrity: sha512-85ytwCiGUnD84ui6ULG1KBFMaZgHW3jg5KPr9jt+ZPYt75+XK+JGbYddGrBQ+RSHXOhekCnCZwJywBoFvFl0kw==} + + ms@2.0.0: + resolution: {integrity: sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==} + + ms@2.1.3: + resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==} + + multimatch@2.1.0: + resolution: {integrity: sha512-0mzK8ymiWdehTBiJh0vClAzGyQbdtyWqzSVx//EK4N/D+599RFlGfTAsKw2zMSABtDG9C6Ul2+t8f2Lbdjf5mA==} + engines: {node: '>=0.10.0'} + + mute-stream@0.0.7: + resolution: {integrity: sha512-r65nCZhrbXXb6dXOACihYApHw2Q6pV0M3V0PSxd74N0+D8nzAdEAITq2oAjA1jVnKI+tGvEBUpqiMh0+rW6zDQ==} + + mysql@2.18.1: + resolution: {integrity: sha512-Bca+gk2YWmqp2Uf6k5NFEurwY/0td0cpebAucFpY/3jhrwrVGuxU2uQFCHjU19SJfje0yQvi+rVWdq78hR5lig==} + engines: {node: '>= 0.6'} + + mz@2.7.0: + resolution: {integrity: sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==} + + nan@2.25.0: + resolution: {integrity: sha512-0M90Ag7Xn5KMLLZ7zliPWP3rT90P6PN+IzVFS0VqmnPktBk3700xUVv8Ikm9EUaUE5SDWdp/BIxdENzVznpm1g==} + + nanomatch@1.2.13: + resolution: {integrity: sha512-fpoe2T0RbHwBTBUOftAfBPaDEi06ufaUai0mE6Yn1kacc3SnTErfb/h+X94VXzI64rKFHYImXSvdwGGCmwOqCA==} + engines: {node: '>=0.10.0'} + + natural-compare@1.4.0: + resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==} + + negotiator@0.6.3: + resolution: {integrity: sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==} + engines: {node: '>= 0.6'} + + netmask@2.0.2: + resolution: {integrity: sha512-dBpDMdxv9Irdq66304OLfEmQ9tbNRFnFTuZiLo+bD+r332bBmMJ8GBLXklIXXgxd3+v9+KUnZaUR5PJMa75Gsg==} + engines: {node: '>= 0.4.0'} + + node-fetch@2.7.0: + resolution: {integrity: sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==} + engines: {node: 4.x || >=6.0.0} + peerDependencies: + encoding: ^0.1.0 + peerDependenciesMeta: + encoding: + optional: true + + node-schedule@1.3.3: + resolution: {integrity: sha512-uF9Ubn6luOPrcAYKfsXWimcJ1tPFtQ8I85wb4T3NgJQrXazEzojcFZVk46ZlLHby3eEJChgkV/0T689IsXh2Gw==} + + node-status-codes@1.0.0: + resolution: {integrity: sha512-1cBMgRxdMWE8KeWCqk2RIOrvUb0XCwYfEsY5/y2NlXyq4Y/RumnOZvTj4Nbr77+Vb2C+kyBoRTdkNOS8L3d/aQ==} + engines: {node: '>=0.10.0'} + + normalize-package-data@2.5.0: + resolution: {integrity: sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==} + + normalize-path@2.1.1: + resolution: {integrity: sha512-3pKJwH184Xo/lnH6oyP1q2pMd7HcypqqmRs91/6/i2CGtWwIKGCkOOMTm/zXbgTEWHw1uNpNi/igc3ePOYHb6w==} + engines: {node: '>=0.10.0'} + + npm-run-path@2.0.2: + resolution: {integrity: sha512-lJxZYlT4DW/bRUtFh1MQIWqmLwQfAxnqWG4HhEdjMlkrJYnJn0Jrr2u3mgxqaWsdiBc76TYkTG/mhrnYTuzfHw==} + engines: {node: '>=4'} + + nth-check@2.1.1: + resolution: {integrity: sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==} + + number-is-nan@1.0.1: + resolution: {integrity: sha512-4jbtZXNAsfZbAHiiqjLPBiCl16dES1zI4Hpzzxw61Tk+loF+sBDBKx1ICKKKwIqQ7M0mFn1TmkN7euSncWgHiQ==} + engines: {node: '>=0.10.0'} + + nunjucks@3.2.4: + resolution: {integrity: sha512-26XRV6BhkgK0VOxfbU5cQI+ICFUtMLixv1noZn1tGU38kQH5A5nmmbk/O45xdyBhD1esk47nKrY0mvQpZIhRjQ==} + engines: {node: '>= 6.9.0'} + hasBin: true + peerDependencies: + chokidar: ^3.3.0 + peerDependenciesMeta: + chokidar: + optional: true + + nyc@7.1.0: + resolution: {integrity: sha512-wRbNaMQqz1XoqZA7TI0xxGOcPxCjZbpbMlQqznCr5xHqO6/4EEBc38C6SwPOA0rvciYKHRdmHIENPsIx5v54VA==} + hasBin: true + bundledDependencies: + - arrify + - caching-transform + - convert-source-map + - default-require-extensions + - find-cache-dir + - find-up + - foreground-child + - glob + - istanbul-lib-coverage + - istanbul-lib-hook + - istanbul-lib-instrument + - istanbul-lib-report + - istanbul-lib-source-maps + - istanbul-reports + - md5-hex + - micromatch + - mkdirp + - pkg-up + - resolve-from + - rimraf + - signal-exit + - spawn-wrap + - test-exclude + - yargs + - yargs-parser + + oauth-sign@0.9.0: + resolution: {integrity: sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==} + + object-assign@4.1.1: + resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==} + engines: {node: '>=0.10.0'} + + object-copy@0.1.0: + resolution: {integrity: sha512-79LYn6VAb63zgtmAteVOWo9Vdj71ZVBy3Pbse+VqxDpEP83XuujMrGqHIwAXJ5I/aM0zU7dIyIAhifVTPrNItQ==} + engines: {node: '>=0.10.0'} + + object-inspect@1.13.4: + resolution: {integrity: sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew==} + engines: {node: '>= 0.4'} + + object-is@1.1.6: + resolution: {integrity: sha512-F8cZ+KfGlSGi09lJT7/Nd6KJZ9ygtvYC0/UYYLI9nmQKLMnydpB9yvbv9K1uSkEu7FU9vYPmVwLg328tX+ot3Q==} + engines: {node: '>= 0.4'} + + object-keys@1.1.1: + resolution: {integrity: sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==} + engines: {node: '>= 0.4'} + + object-visit@1.0.1: + resolution: {integrity: sha512-GBaMwwAVK9qbQN3Scdo0OyvgPW7l3lnaVMj84uTOZlswkX0KpF6fyDBJhtTthf7pymztoN36/KEr1DyhF96zEA==} + engines: {node: '>=0.10.0'} + + object.assign@4.1.7: + resolution: {integrity: sha512-nK28WOo+QIjBkDduTINE4JkF/UJJKyf2EJxvJKfblDpyg0Q+pkOHNTL0Qwy6NP6FhE/EnzV73BxxqcJaXY9anw==} + engines: {node: '>= 0.4'} + + object.fromentries@2.0.8: + resolution: {integrity: sha512-k6E21FzySsSK5a21KRADBd/NGneRegFO5pLHfdQLpRDETUNJueLXs3WCzyQ3tFRDYgbq3KHGXfTbi2bs8WQ6rQ==} + engines: {node: '>= 0.4'} + + object.groupby@1.0.3: + resolution: {integrity: sha512-+Lhy3TQTuzXI5hevh8sBGqbmurHbbIjAi0Z4S63nthVLmLxfbj4T54a4CfZrXIrt9iP4mVAPYMo/v99taj3wjQ==} + engines: {node: '>= 0.4'} + + object.omit@2.0.1: + resolution: {integrity: sha512-UiAM5mhmIuKLsOvrL+B0U2d1hXHF3bFYWIuH1LMpuV2EJEHG1Ntz06PgLEHjm6VFd87NpH8rastvPoyv6UW2fA==} + engines: {node: '>=0.10.0'} + + object.pick@1.3.0: + resolution: {integrity: sha512-tqa/UMy/CCoYmj+H5qc07qvSL9dqcs/WZENZ1JbtWBlATP+iVOe778gE6MSijnyCnORzDuX6hU+LA4SZ09YjFQ==} + engines: {node: '>=0.10.0'} + + object.values@1.2.1: + resolution: {integrity: sha512-gXah6aZrcUxjWg2zR2MwouP2eHlCBzdV4pygudehaKXSGW4v2AsRQUK+lwwXhii6KFZcunEnmSUoYp5CXibxtA==} + engines: {node: '>= 0.4'} + + observable-to-promise@0.4.0: + resolution: {integrity: sha512-/e9WRNDQoetZciJeB6Wc6r8nF1cwLtATbwG1oQjpL3v8nHmfhIGKRqy7VBq8GgXsQ7pLoslcbj6yMhJTxmx8/g==} + engines: {node: '>=0.10.0'} + + on-finished@2.4.1: + resolution: {integrity: sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==} + engines: {node: '>= 0.8'} + + once@1.4.0: + resolution: {integrity: sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==} + + onetime@2.0.1: + resolution: {integrity: sha512-oyyPpiMaKARvvcgip+JV+7zci5L8D1W9RZIz2l1o08AM3pfspitVWnPt3mzHcBPp12oYMTy0pqrFs/C+m3EwsQ==} + engines: {node: '>=4'} + + onetime@5.1.2: + resolution: {integrity: sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==} + engines: {node: '>=6'} + + only@0.0.2: + resolution: {integrity: sha512-Fvw+Jemq5fjjyWz6CpKx6w9s7xxqo3+JCyM0WXWeCSOboZ8ABkyvP8ID4CZuChA/wxSx+XSJmdOm8rGVyJ1hdQ==} + + opentype.js@0.7.3: + resolution: {integrity: sha512-Veui5vl2bLonFJ/SjX/WRWJT3SncgiZNnKUyahmXCc2sa1xXW15u3R/3TN5+JFiP7RsjK5ER4HA5eWaEmV9deA==} + hasBin: true + + option-chain@0.1.1: + resolution: {integrity: sha512-UsON6bnN9BuNmFV7odYf9XSKmUoaRfq/5ru5zCPK5vIzo23dtyhoWnHUBQ3cra8/W8+D33hkn/9OgKcWi2F+yg==} + engines: {node: '>=0.10.0'} + + optionator@0.8.3: + resolution: {integrity: sha512-+IW9pACdk3XWmmTXG8m3upGUJst5XRGzxMRjXzAuJ1XnIFNvfhjjIuYkDvysnPQ7qzqVzLt78BCruntqRhWQbA==} + engines: {node: '>= 0.8.0'} + + os-homedir@1.0.2: + resolution: {integrity: sha512-B5JU3cabzk8c67mRRd3ECmROafjYMXbuzlwtqdM8IbS8ktlTix8aFGb2bAGKrSRIlnfKwovGUUr72JUPyOb6kQ==} + engines: {node: '>=0.10.0'} + + os-tmpdir@1.0.2: + resolution: {integrity: sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==} + engines: {node: '>=0.10.0'} + + osenv@0.1.5: + resolution: {integrity: sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g==} + deprecated: This package is no longer supported. + + own-keys@1.0.1: + resolution: {integrity: sha512-qFOyK5PjiWZd+QQIh+1jhdb9LpxTF0qs7Pm8o5QHYZ0M3vKqSqzsZaEB6oWlxZ+q2sJBMI/Ktgd2N5ZwQoRHfg==} + engines: {node: '>= 0.4'} + + p-finally@1.0.0: + resolution: {integrity: sha512-LICb2p9CB7FS+0eR1oqWnHhp0FljGLZCWBE9aix0Uye9W8LTQPwMTYVGWQWIw9RdQiDg4+epXQODwIYJtSJaow==} + engines: {node: '>=4'} + + p-limit@1.3.0: + resolution: {integrity: sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==} + engines: {node: '>=4'} + + p-limit@2.3.0: + resolution: {integrity: sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==} + engines: {node: '>=6'} + + p-locate@2.0.0: + resolution: {integrity: sha512-nQja7m7gSKuewoVRen45CtVfODR3crN3goVQ0DDZ9N3yHxgpkuBhZqsaiotSQRrADUrne346peY7kT3TSACykg==} + engines: {node: '>=4'} + + p-locate@3.0.0: + resolution: {integrity: sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==} + engines: {node: '>=6'} + + p-try@1.0.0: + resolution: {integrity: sha512-U1etNYuMJoIz3ZXSrrySFjsXQTWOx2/jdi86L+2pRvph/qMKL6sbcCYdH23fqsbm8TH2Gn0OybpT4eSFlCVHww==} + engines: {node: '>=4'} + + p-try@2.2.0: + resolution: {integrity: sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==} + engines: {node: '>=6'} + + pac-proxy-agent@7.2.0: + resolution: {integrity: sha512-TEB8ESquiLMc0lV8vcd5Ql/JAKAoyzHFXaStwjkzpOpC5Yv+pIzLfHvjTSdf3vpa2bMiUQrg9i6276yn8666aA==} + engines: {node: '>= 14'} + + pac-resolver@7.0.1: + resolution: {integrity: sha512-5NPgf87AT2STgwa2ntRMr45jTKrYBGkVU36yT0ig/n/GMAa3oPqhZfIQ2kMEimReg0+t9kZViDVZ83qfVUlckg==} + engines: {node: '>= 14'} + + package-hash@1.2.0: + resolution: {integrity: sha512-W5ILqaI3G6bXDuYb7TrQ95TFHfFdjiunpp61PAXj7z32TgJ5NIBaoqZVI6AXUQy/qcqPoFnz0hAZY9KyKd4xNA==} + + package-json@2.4.0: + resolution: {integrity: sha512-PRg65iXMTt/uK8Rfh5zvzkUbfAPitF17YaCY+IbHsYgksiLvtzWWTUildHth3mVaZ7871OJ7gtP4LBRBlmAdXg==} + engines: {node: '>=0.10.0'} + + parent-module@1.0.1: + resolution: {integrity: sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==} + engines: {node: '>=6'} + + parse-glob@3.0.4: + resolution: {integrity: sha512-FC5TeK0AwXzq3tUBFtH74naWkPQCEWs4K+xMxWZBlKDWu0bVHXGZa+KKqxKidd7xwhdZ19ZNuF2uO1M/r196HA==} + engines: {node: '>=0.10.0'} + + parse-json@2.2.0: + resolution: {integrity: sha512-QR/GGaKCkhwk1ePQNYDRKYZ3mwU9ypsKhB0XyFnLQdomyEqk3e8wpW3V5Jp88zbxK4n5ST1nqo+g9juTpownhQ==} + engines: {node: '>=0.10.0'} + + parse-json@4.0.0: + resolution: {integrity: sha512-aOIos8bujGN93/8Ox/jPLh7RwVnPEysynVFE+fQZyg6jKELEHwzgKdLRFHUgXJL6kylijVSBC4BvN9OmsB48Rw==} + engines: {node: '>=4'} + + parse-json@5.2.0: + resolution: {integrity: sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==} + engines: {node: '>=8'} + + parse-ms@0.1.2: + resolution: {integrity: sha512-VwMglE9412ifMHcRFEVJePEpreQh90wjIiOdP0UQQGKV4l+QprdKI+p5noXTkmGjznBMb40s+VymcclATAVvYA==} + engines: {node: '>=0.10.0'} + + parse-ms@1.0.1: + resolution: {integrity: sha512-LpH1Cf5EYuVjkBvCDBYvkUPh+iv2bk3FHflxHkpCYT0/FZ1d3N3uJaLiHr4yGuMcFUhv6eAivitTvWZI4B/chg==} + engines: {node: '>=0.10.0'} + + parse5-htmlparser2-tree-adapter@7.1.0: + resolution: {integrity: sha512-ruw5xyKs6lrpo9x9rCZqZZnIUntICjQAd0Wsmp396Ul9lN/h+ifgVV1x1gZHi8euej6wTfpqX8j+BFQxF0NS/g==} + + parse5-parser-stream@7.1.2: + resolution: {integrity: sha512-JyeQc9iwFLn5TbvvqACIF/VXG6abODeB3Fwmv/TGdLk2LfbWkaySGY72at4+Ty7EkPZj854u4CrICqNk2qIbow==} + + parse5@7.3.0: + resolution: {integrity: sha512-IInvU7fabl34qmi9gY8XOVxhYyMyuH2xUNpb2q8/Y+7552KlejkRvqvD19nMoUW/uQGGbqNpA6Tufu5FL5BZgw==} + + parseurl@1.3.3: + resolution: {integrity: sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==} + engines: {node: '>= 0.8'} + + pascalcase@0.1.1: + resolution: {integrity: sha512-XHXfu/yOQRy9vYOtUDVMN60OEJjW013GoObG1o+xwQTpB9eYJX/BjXMsdW13ZDPruFhYYn0AG22w0xgQMwl3Nw==} + engines: {node: '>=0.10.0'} + + path-exists@2.1.0: + resolution: {integrity: sha512-yTltuKuhtNeFJKa1PiRzfLAU5182q1y4Eb4XCJ3PBqyzEDkAZRzBrKKBct682ls9reBVHf9udYLN5Nd+K1B9BQ==} + engines: {node: '>=0.10.0'} + + path-exists@3.0.0: + resolution: {integrity: sha512-bpC7GYwiDYQ4wYLe+FA8lhRjhQCMcQGuSgGGqDkg/QerRWw9CmGRT0iSOVRSZJ29NMLZgIzqaljJ63oaL4NIJQ==} + engines: {node: '>=4'} + + path-is-absolute@1.0.1: + resolution: {integrity: sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==} + engines: {node: '>=0.10.0'} + + path-is-inside@1.0.2: + resolution: {integrity: sha512-DUWJr3+ULp4zXmol/SZkFf3JGsS9/SIv+Y3Rt93/UjPpDpklB5f1er4O3POIbUuUJ3FXgqte2Q7SrU6zAqwk8w==} + + path-key@2.0.1: + resolution: {integrity: sha512-fEHGKCSmUSDPv4uoj8AlD+joPlq3peND+HRYyxFz4KPw4z926S/b8rIuFs2FYJg3BwsxJf6A9/3eIdLaYC+9Dw==} + engines: {node: '>=4'} + + path-parse@1.0.7: + resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==} + + path-to-regexp@1.9.0: + resolution: {integrity: sha512-xIp7/apCFJuUHdDLWe8O1HIkb0kQrOMb/0u6FXQjemHn/ii5LrIzU6bdECnsiTF/GjZkMEKg1xdiZwNqDYlZ6g==} + + path-type@1.1.0: + resolution: {integrity: sha512-S4eENJz1pkiQn9Znv33Q+deTOKmbl+jj1Fl+qiP/vYezj+S8x+J3Uo0ISrx/QoEvIlOaDWJhPaRd1flJ9HXZqg==} + engines: {node: '>=0.10.0'} + + path-type@2.0.0: + resolution: {integrity: sha512-dUnb5dXUf+kzhC/W/F4e5/SkluXIFf5VUHolW1Eg1irn1hGWjPGdsRcvYJ1nD6lhk8Ir7VM0bHJKsYTx8Jx9OQ==} + engines: {node: '>=4'} + + pend@1.2.0: + resolution: {integrity: sha512-F3asv42UuXchdzt+xXqfW1OGlVBe+mxa2mqI0pg5yAHZPvFmY3Y6drSf/GQ1A86WgWEN9Kzh/WrgKa6iGcHXLg==} + + performance-now@2.1.0: + resolution: {integrity: sha512-7EAHlyLHI56VEIdK57uwHdHKIaAGbnXPiw0yWbarQZOKaKpvUIgW0jWRVLiatnM+XXlSwsanIBH/hzGMJulMow==} + + picocolors@1.1.1: + resolution: {integrity: sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==} + + pify@2.3.0: + resolution: {integrity: sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==} + engines: {node: '>=0.10.0'} + + pify@3.0.0: + resolution: {integrity: sha512-C3FsVNH1udSEX48gGX1xfvwTWfsYWj5U+8/uK15BGzIGrKoUpghX8hWZwa/OFnakBiiVNmBvemTJR5mcy7iPcg==} + engines: {node: '>=4'} + + pinkie-promise@1.0.0: + resolution: {integrity: sha512-5mvtVNse2Ml9zpFKkWBpGsTPwm3DKhs+c95prO/F6E7d6DN0FPqxs6LONpLNpyD7Iheb7QN4BbUoKJgo+DnkQA==} + engines: {node: '>=0.10.0'} + + pinkie-promise@2.0.1: + resolution: {integrity: sha512-0Gni6D4UcLTbv9c57DfxDGdr41XfgUjqWZu492f0cIGr16zDU06BWP/RAEvOuo7CQ0CNjHaLlM59YJJFm3NWlw==} + engines: {node: '>=0.10.0'} + + pinkie@1.0.0: + resolution: {integrity: sha512-VFVaU1ysKakao68ktZm76PIdOhvEfoNNRaGkyLln9Os7r0/MCxqHjHyBM7dT3pgTiBybqiPtpqKfpENwdBp50Q==} + engines: {node: '>=0.10.0'} + + pinkie@2.0.4: + resolution: {integrity: sha512-MnUuEycAemtSaeFSjXKW/aroV7akBbY+Sv+RkyqFjgAe73F+MR0TBWKBRDkmfWq/HiFmdavfZ1G7h4SPZXaCSg==} + engines: {node: '>=0.10.0'} + + pkg-conf@2.1.0: + resolution: {integrity: sha512-C+VUP+8jis7EsQZIhDYmS5qlNtjv2yP4SNtjXK9AP1ZcTRlnSfuumaTnRfYZnYgUUYVIKqL0fRvmUGDV2fmp6g==} + engines: {node: '>=4'} + + pkg-dir@1.0.0: + resolution: {integrity: sha512-c6pv3OE78mcZ92ckebVDqg0aWSoKhOTbwCV6qbCWMk546mAL9pZln0+QsN/yQ7fkucd4+yJPLrCBXNt8Ruk+Eg==} + engines: {node: '>=0.10.0'} + + pkg-up@3.1.0: + resolution: {integrity: sha512-nDywThFk1i4BQK4twPQ6TA4RT8bDY96yeuCVBWL3ePARCiEKDRSrNGbFIgUJpLp+XeIR65v8ra7WuJOFUBtkMA==} + engines: {node: '>=8'} + + plur@1.0.0: + resolution: {integrity: sha512-qSnKBSZeDY8ApxwhfVIwKwF36KVJqb1/9nzYYq3j3vdwocULCXT8f8fQGkiw1Nk9BGfxiDagEe/pwakA+bOBqw==} + engines: {node: '>=0.10.0'} + + plur@2.1.2: + resolution: {integrity: sha512-WhcHk576xg9y/iv6RWOuroZgsqvCbJN+XGvAypCJwLAYs2iWDp5LUmvaCdV6JR2O0SMBf8l6p7A94AyLCFVMlQ==} + engines: {node: '>=0.10.0'} + + pluralize@7.0.0: + resolution: {integrity: sha512-ARhBOdzS3e41FbkW/XWrTEtukqqLoK5+Z/4UeDaLuSW+39JPeFgs4gCGqsrJHVZX0fUrx//4OF0K1CUGwlIFow==} + engines: {node: '>=4'} + + posix-character-classes@0.1.1: + resolution: {integrity: sha512-xTgYBc3fuo7Yt7JbiuFxSYGToMoz8fLoE6TC9Wx1P/u+LfeThMOAqmuyECnlBaaJb+u1m9hHiXUEtwW4OzfUJg==} + engines: {node: '>=0.10.0'} + + possible-typed-array-names@1.1.0: + resolution: {integrity: sha512-/+5VFTchJDoVj3bhoqi6UeymcD00DAwb1nJwamzPvHEszJ4FpF6SNNbUbOS8yI56qHzdV8eK0qEfOSiodkTdxg==} + engines: {node: '>= 0.4'} + + prelude-ls@1.1.2: + resolution: {integrity: sha512-ESF23V4SKG6lVSGZgYNpbsiaAkdab6ZgOxe52p7+Kid3W3u3bxR4Vfd/o21dmN7jSt0IwgZ4v5MUd26FEtXE9w==} + engines: {node: '>= 0.8.0'} + + prepend-http@1.0.4: + resolution: {integrity: sha512-PhmXi5XmoyKw1Un4E+opM2KcsJInDvKyuOumcjjw3waw86ZNjHwVUOOWLc4bCzLdcKNaWBH9e99sbWzDQsVaYg==} + engines: {node: '>=0.10.0'} + + preserve@0.2.0: + resolution: {integrity: sha512-s/46sYeylUfHNjI+sA/78FAHlmIuKqI9wNnzEOGehAlUUYeObv5C2mOinXBjyUyWmJ2SfcS2/ydApH4hTF4WXQ==} + engines: {node: '>=0.10.0'} + + pretty-format@18.1.0: + resolution: {integrity: sha512-jlKL5u/PZajHEwJyYiTUwZ3P+zUTp7XylRdIxX5zchNpMJT0Z3lR/+I6g6e8JY8EY7Qk8iSj0BdUZTRXQtixYg==} + + pretty-ms@0.2.2: + resolution: {integrity: sha512-ah/vWDJAT0arxQwVcSGp6etaLTZr4IsrXTy/khfjimzdYgSxYWzTMByrtpJUWinAnVY8szDg+qQhsE5MUMz3lQ==} + engines: {node: '>=0.10.0'} + hasBin: true + + pretty-ms@2.1.0: + resolution: {integrity: sha512-H2enpsxzDhuzRl3zeSQpQMirn8dB0Z/gxW96j06tMfTviUWvX14gjKb7qd1gtkUyYhDPuoNe00K5PqNvy2oQNg==} + engines: {node: '>=0.10.0'} + + private@0.1.8: + resolution: {integrity: sha512-VvivMrbvd2nKkiG38qjULzlc+4Vx4wm/whI9pQD35YrARNnhxeiRktSOhSukRLFNlzg6Br/cJPet5J/u19r/mg==} + engines: {node: '>= 0.6'} + + process-nextick-args@2.0.1: + resolution: {integrity: sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==} + + progress@2.0.3: + resolution: {integrity: sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==} + engines: {node: '>=0.4.0'} + + proxy-agent@6.5.0: + resolution: {integrity: sha512-TmatMXdr2KlRiA2CyDu8GqR8EjahTG3aY3nXjdzFyoZbmB8hrBsTyMezhULIXKnC0jpfjlmiZ3+EaCzoInSu/A==} + engines: {node: '>= 14'} + + proxy-from-env@1.1.0: + resolution: {integrity: sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==} + + pseudomap@1.0.2: + resolution: {integrity: sha512-b/YwNhb8lk1Zz2+bXXpS/LK9OisiZZ1SNsSLxN1x2OXVEhW2Ckr/7mWE5vrC1ZTiJlD9g19jWszTmJsB+oEpFQ==} + + psl@1.15.0: + resolution: {integrity: sha512-JZd3gMVBAVQkSs6HdNZo9Sdo0LNcQeMNP3CozBJb3JYC/QUYZTnKxP+f8oWRX4rHP5EurWxqAHTSwUCjlNKa1w==} + + pump@3.0.4: + resolution: {integrity: sha512-VS7sjc6KR7e1ukRFhQSY5LM2uBWAUPiOPa/A3mkKmiMwSmRFUITt0xuj+/lesgnCv+dPIEYlkzrcyXgquIHMcA==} + + punycode@2.3.1: + resolution: {integrity: sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==} + engines: {node: '>=6'} + + puppeteer-core@24.39.1: + resolution: {integrity: sha512-AMqQIKoEhPS6CilDzw0Gd1brLri3emkC+1N2J6ZCCuY1Cglo56M63S0jOeBZDQlemOiRd686MYVMl9ELJBzN3A==} + engines: {node: '>=18'} + + puppeteer@24.39.1: + resolution: {integrity: sha512-68Zc9QpcVvfxp2C+3UL88TyUogEAn5tSylXidbEuEXvhiqK1+v65zeBU5ubinAgEHMGr3dcSYqvYrGtdzsPI3w==} + engines: {node: '>=18'} + hasBin: true + + qs@6.5.3: + resolution: {integrity: sha512-qxXIEh4pCGfHICj1mAJQ2/2XVZkjCDTcEgfoSQxc/fYivUZxTkk7L3bDBJSoNrEzXI17oUO5Dp07ktqE5KzczA==} + engines: {node: '>=0.6'} + + randomatic@3.1.1: + resolution: {integrity: sha512-TuDE5KxZ0J461RVjrJZCJc+J+zCkTb1MbH9AQUq68sMhOMcy9jLcb3BrZKgp9q9Ncltdg4QVqWrH02W2EFFVYw==} + engines: {node: '>= 0.10.0'} + + raw-body@2.5.3: + resolution: {integrity: sha512-s4VSOf6yN0rvbRZGxs8Om5CWj6seneMwK3oDb4lWDH0UPhWcxwOWw5+qk24bxq87szX1ydrwylIOp2uG1ojUpA==} + engines: {node: '>= 0.8'} + + rc@1.2.8: + resolution: {integrity: sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==} + hasBin: true + + read-all-stream@3.1.0: + resolution: {integrity: sha512-DI1drPHbmBcUDWrJ7ull/F2Qb8HkwBncVx8/RpKYFSIACYaVRQReISYPdZz/mt1y1+qMCOrfReTopERmaxtP6w==} + engines: {node: '>=0.10.0'} + + read-pkg-up@1.0.1: + resolution: {integrity: sha512-WD9MTlNtI55IwYUS27iHh9tK3YoIVhxis8yKhLpTqWtml739uXc9NWTpxoHkfZf3+DkCCsXox94/VWZniuZm6A==} + engines: {node: '>=0.10.0'} + + read-pkg-up@2.0.0: + resolution: {integrity: sha512-1orxQfbWGUiTn9XsPlChs6rLie/AV9jwZTGmu2NZw/CUDJQchXJFYE0Fq5j7+n558T1JhDWLdhyd1Zj+wLY//w==} + engines: {node: '>=4'} + + read-pkg@1.1.0: + resolution: {integrity: sha512-7BGwRHqt4s/uVbuyoeejRn4YmFnYZiFl4AuaeXHlgZf3sONF0SOGlxs2Pw8g6hCKupo08RafIO5YXFNOKTfwsQ==} + engines: {node: '>=0.10.0'} + + read-pkg@2.0.0: + resolution: {integrity: sha512-eFIBOPW7FGjzBuk3hdXEuNSiTZS/xEMlH49HxMyzb0hyPfu4EhVjT2DH32K1hSSmVq4sebAWnZuuY5auISUTGA==} + engines: {node: '>=4'} + + readable-stream@2.3.7: + resolution: {integrity: sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==} + + readable-stream@2.3.8: + resolution: {integrity: sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==} + + readdirp@2.2.1: + resolution: {integrity: sha512-1JU/8q+VgFZyxwrJ+SVIOsh+KywWGpds3NTqikiKpDMZWScmAYyKIgqkO+ARvNWJfXeXR1zxz7aHF4u4CyH6vQ==} + engines: {node: '>=0.10'} + + redent@1.0.0: + resolution: {integrity: sha512-qtW5hKzGQZqKoh6JNSD+4lfitfPKGz42e6QwiRmPM5mmKtR0N41AbJRYu0xJi7nhOJ4WDgRkKvAk6tw4WIwR4g==} + engines: {node: '>=0.10.0'} + + redis-commands@1.7.0: + resolution: {integrity: sha512-nJWqw3bTFy21hX/CPKHth6sfhZbdiHP6bTawSgQBlKOVRG7EZkfHbbHwQJnrE4vsQf0CMNE+3gJ4Fmm16vdVlQ==} + + redis-parser@1.3.0: + resolution: {integrity: sha512-pPJS2ChF11wKm+YsHrRKON3m6MLGjBS+o9aXn6AjQqip+qMzk0zIG//jEagK+nKO5zrNljI1IdNV8JcvKrs0Iw==} + engines: {node: '>=0.10.0'} + + reflect.getprototypeof@1.0.10: + resolution: {integrity: sha512-00o4I+DVrefhv+nX0ulyi3biSHCPDe+yLv5o/p6d/UVlirijB8E16FtfwSAi4g3tcqrQ4lRAqQSoFEZJehYEcw==} + engines: {node: '>= 0.4'} + + regenerate@1.4.2: + resolution: {integrity: sha512-zrceR/XhGYU/d/opr2EKO7aRHUeiBI8qjtfHqADTwZd6Szfy16la6kqD0MIUs5z5hx6AaKa+PixpPrR289+I0A==} + + regenerator-runtime@0.11.1: + resolution: {integrity: sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg==} + + regex-cache@0.4.4: + resolution: {integrity: sha512-nVIZwtCjkC9YgvWkpM55B5rBhBYRZhAaJbgcFYXXsHnbZ9UZI9nnVWYZpBlCqv9ho2eZryPnWrZGsOdPwVWXWQ==} + engines: {node: '>=0.10.0'} + + regex-not@1.0.2: + resolution: {integrity: sha512-J6SDjUgDxQj5NusnOtdFxDwN/+HWykR8GELwctJ7mdqhcyy1xEc4SRFHUXvxTp661YaVKAjfRLZ9cCqS6tn32A==} + engines: {node: '>=0.10.0'} + + regexp.prototype.flags@1.5.4: + resolution: {integrity: sha512-dYqgNSZbDwkaJ2ceRd9ojCGjBq+mOm9LmtXnAnEGyHhN/5R7iDW2TRw3h+o/jCFxus3P2LfWIIiwowAjANm7IA==} + engines: {node: '>= 0.4'} + + regexpp@1.1.0: + resolution: {integrity: sha512-LOPw8FpgdQF9etWMaAfG/WRthIdXJGYp4mJ2Jgn/2lpkbod9jPn0t9UqN7AxBOKNfzRbYyVfgc7Vk4t/MpnXgw==} + engines: {node: '>=4.0.0'} + + regexpu-core@2.0.0: + resolution: {integrity: sha512-tJ9+S4oKjxY8IZ9jmjnp/mtytu1u3iyIQAfmI51IKWH6bFf7XR1ybtaO6j7INhZKXOTYADk7V5qxaqLkmNxiZQ==} + + registry-auth-token@3.4.0: + resolution: {integrity: sha512-4LM6Fw8eBQdwMYcES4yTnn2TqIasbXuwDx3um+QRs7S55aMKCBKBxvPXl2RiUjHwuJLTyYfxSpmfSAjQpcuP+A==} + + registry-url@3.1.0: + resolution: {integrity: sha512-ZbgR5aZEdf4UKZVBPYIgaglBmSF2Hi94s2PcIHhRGFjKYu+chjJdYfHn4rt3hB6eCKLJ8giVIIfgMa1ehDfZKA==} + engines: {node: '>=0.10.0'} + + regjsgen@0.2.0: + resolution: {integrity: sha512-x+Y3yA24uF68m5GA+tBjbGYo64xXVJpbToBaWCoSNSc1hdk6dfctaRWrNFTVJZIIhL5GxW8zwjoixbnifnK59g==} + + regjsparser@0.1.5: + resolution: {integrity: sha512-jlQ9gYLfk2p3V5Ag5fYhA7fv7OHzd1KUH0PRP46xc3TgwjwgROIW572AfYg/X9kaNq/LJnu6oJcFRXlIrGoTRw==} + hasBin: true + + remove-trailing-separator@1.1.0: + resolution: {integrity: sha512-/hS+Y0u3aOfIETiaiirUFwDBDzmXPvO+jAfKTitUngIPzdKc6Z0LoFjM/CK5PL4C+eKwHohlHAb6H0VFfmmUsw==} + + repeat-element@1.1.4: + resolution: {integrity: sha512-LFiNfRcSu7KK3evMyYOuCzv3L10TW7yC1G2/+StMjK8Y6Vqd2MG7r/Qjw4ghtuCOjFvlnms/iMmLqpvW/ES/WQ==} + engines: {node: '>=0.10.0'} + + repeat-string@1.6.1: + resolution: {integrity: sha512-PV0dzCYDNfRi1jCDbJzpW7jNNDRuCOG/jI5ctQcGKt/clZD+YcPS3yIlWuTJMmESC8aevCFmWJy5wjAFgNqN6w==} + engines: {node: '>=0.10'} + + repeating@2.0.1: + resolution: {integrity: sha512-ZqtSMuVybkISo2OWvqvm7iHSWngvdaW3IpsT9/uP8v4gMi591LY6h35wdOfvQdWCKFWZWm2Y1Opp4kV7vQKT6A==} + engines: {node: '>=0.10.0'} + + request@2.88.2: + resolution: {integrity: sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw==} + engines: {node: '>= 6'} + deprecated: request has been deprecated, see https://github.com/request/request/issues/3142 + + require-directory@2.1.1: + resolution: {integrity: sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==} + engines: {node: '>=0.10.0'} + + require-from-string@2.0.2: + resolution: {integrity: sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==} + engines: {node: '>=0.10.0'} + + require-precompiled@0.1.0: + resolution: {integrity: sha512-UWQr7MdatK8cF0JXrrqVPal2sUdhpCj8f4sC7VMDONA/+WSVv5ElRku3qDEZ+FIqoN91zhhfB+t1P3+qQNaYGQ==} + engines: {node: '>=0.10.0'} + + require-uncached@1.0.3: + resolution: {integrity: sha512-Xct+41K3twrbBHdxAgMoOS+cNcoqIjfM2/VxBF4LL2hVph7YsF8VSKyQ3BDFZwEVbok9yeDl2le/qo0S77WG2w==} + engines: {node: '>=0.10.0'} + + resolve-cwd@1.0.0: + resolution: {integrity: sha512-ac27EnKWWlc2yQ/5GCoCGecqVJ9MSmgiwvUYOS+9A+M0dn1FdP5mnsDZ9gwx+lAvh/d7f4RFn4jLfggRRYxPxw==} + engines: {node: '>=0.10.0'} + + resolve-from@1.0.1: + resolution: {integrity: sha512-kT10v4dhrlLNcnO084hEjvXCI1wUG9qZLoz2RogxqDQQYy7IxjI/iMUkOtQTNEh6rzHxvdQWHsJyel1pKOVCxg==} + engines: {node: '>=0.10.0'} + + resolve-from@2.0.0: + resolution: {integrity: sha512-qpFcKaXsq8+oRoLilkwyc7zHGF5i9Q2/25NIgLQQ/+VVv9rU4qvr6nXVAw1DsnXJyQkZsR4Ytfbtg5ehfcUssQ==} + engines: {node: '>=0.10.0'} + + resolve-from@4.0.0: + resolution: {integrity: sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==} + engines: {node: '>=4'} + + resolve-path@1.4.0: + resolution: {integrity: sha512-i1xevIst/Qa+nA9olDxLWnLk8YZbi8R/7JPbCMcgyWaFR6bKWaexgJgEB5oc2PKMjYdrHynyz0NY+if+H98t1w==} + engines: {node: '>= 0.8'} + + resolve-url@0.2.1: + resolution: {integrity: sha512-ZuF55hVUQaaczgOIwqWzkEcEidmlD/xl44x1UZnhOXcYuFN2S6+rcxpG+C1N3So0wvNI3DmJICUFfu2SxhBmvg==} + deprecated: https://github.com/lydell/resolve-url#deprecated + + resolve@1.22.11: + resolution: {integrity: sha512-RfqAvLnMl313r7c9oclB1HhUEAezcpLjz95wFH4LVuhk9JF/r22qmVP9AMmOU4vMX7Q8pN8jwNg/CSpdFnMjTQ==} + engines: {node: '>= 0.4'} + hasBin: true + + restore-cursor@2.0.0: + resolution: {integrity: sha512-6IzJLuGi4+R14vwagDHX+JrXmPVtPpn4mffDJ1UdR7/Edm87fl6yi8mMBIVvFtJaNTUvjughmW4hwLhRG7gC1Q==} + engines: {node: '>=4'} + + ret@0.1.15: + resolution: {integrity: sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg==} + engines: {node: '>=0.12'} + + rfdc@1.4.1: + resolution: {integrity: sha512-q1b3N5QkRUWUl7iyylaaj3kOpIT0N2i9MqIEQXP73GVsN9cw3fdx8X63cEmWhJGi2PPCF23Ijp7ktmd39rawIA==} + + rimraf@2.6.3: + resolution: {integrity: sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA==} + deprecated: Rimraf versions prior to v4 are no longer supported + hasBin: true + + run-async@2.4.1: + resolution: {integrity: sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ==} + engines: {node: '>=0.12.0'} + + rx-lite-aggregates@4.0.8: + resolution: {integrity: sha512-3xPNZGW93oCjiO7PtKxRK6iOVYBWBvtf9QHDfU23Oc+dLIQmAV//UnyXV/yihv81VS/UqoQPk4NegS8EFi55Hg==} + + rx-lite@4.0.8: + resolution: {integrity: sha512-Cun9QucwK6MIrp3mry/Y7hqD1oFqTYLQ4pGxaHTjIdaFDWRGGLikqp6u8LcWJnzpoALg9hap+JGk8sFIUuEGNA==} + + safe-array-concat@1.1.3: + resolution: {integrity: sha512-AURm5f0jYEOydBj7VQlVvDrjeFgthDdEF5H1dP+6mNpoXOMo1quQqJ4wvJDyRZ9+pO3kGWoOdmV08cSv2aJV6Q==} + engines: {node: '>=0.4'} + + safe-buffer@5.1.2: + resolution: {integrity: sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==} + + safe-buffer@5.2.1: + resolution: {integrity: sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==} + + safe-push-apply@1.0.0: + resolution: {integrity: sha512-iKE9w/Z7xCzUMIZqdBsp6pEQvwuEebH4vdpjcDWnyzaI6yl6O9FHvVpmGelvEHNsoY6wGblkxR6Zty/h00WiSA==} + engines: {node: '>= 0.4'} + + safe-regex-test@1.1.0: + resolution: {integrity: sha512-x/+Cz4YrimQxQccJf5mKEbIa1NzeCRNI5Ecl/ekmlYaampdNLPalVyIcCZNNH3MvmqBugV5TMYZXv0ljslUlaw==} + engines: {node: '>= 0.4'} + + safe-regex@1.1.0: + resolution: {integrity: sha512-aJXcif4xnaNUzvUuC5gcb46oTS7zvg4jpMTnuqtrEPlR3vFr4pxtdTwaF1Qs3Enjn9HK+ZlwQui+a7z0SywIzg==} + + safer-buffer@2.1.2: + resolution: {integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==} + + sax@1.4.4: + resolution: {integrity: sha512-1n3r/tGXO6b6VXMdFT54SHzT9ytu9yr7TaELowdYpMqY/Ao7EnlQGmAQ1+RatX7Tkkdm6hONI2owqNx2aZj5Sw==} + engines: {node: '>=11.0.0'} + + semver-diff@2.1.0: + resolution: {integrity: sha512-gL8F8L4ORwsS0+iQ34yCYv///jsOq0ZL7WP55d1HnJ32o7tyFYEFQZQA22mrLIacZdU6xecaBBZ+uEiffGNyXw==} + engines: {node: '>=0.10.0'} + + semver@5.3.0: + resolution: {integrity: sha512-mfmm3/H9+67MCVix1h+IXTpDwL6710LyHuk7+cWC9T1mE0qz4iHhh6r4hU2wrIT9iTsAAC2XQRvfblL028cpLw==} + hasBin: true + + semver@5.7.2: + resolution: {integrity: sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==} + hasBin: true + + semver@6.3.1: + resolution: {integrity: sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==} + hasBin: true + + semver@7.7.4: + resolution: {integrity: sha512-vFKC2IEtQnVhpT78h1Yp8wzwrf8CM+MzKMHGJZfBtzhZNycRFnXsHk6E5TxIkkMsgNS7mdX3AGB7x2QM2di4lA==} + engines: {node: '>=10'} + hasBin: true + + set-function-length@1.2.2: + resolution: {integrity: sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==} + engines: {node: '>= 0.4'} + + set-function-name@2.0.2: + resolution: {integrity: sha512-7PGFlmtwsEADb0WYyvCMa1t+yke6daIG4Wirafur5kcf+MhUnPms1UeR0CKQdTZD81yESwMHbtn+TR+dMviakQ==} + engines: {node: '>= 0.4'} + + set-proto@1.0.0: + resolution: {integrity: sha512-RJRdvCo6IAnPdsvP/7m6bsQqNnn1FCBX5ZNtFL98MmFF/4xAIJTIg1YbHW5DC2W5SKZanrC6i4HsJqlajw/dZw==} + engines: {node: '>= 0.4'} + + set-value@2.0.1: + resolution: {integrity: sha512-JxHc1weCN68wRY0fhCoXpyK55m/XPHafOmK4UWD7m2CI14GMcFypt4w/0+NV5f/ZMby2F6S2wwA7fgynh9gWSw==} + engines: {node: '>=0.10.0'} + + setprototypeof@1.1.0: + resolution: {integrity: sha512-BvE/TwpZX4FXExxOxZyRGQQv651MSwmWKZGqvmPcRIjDqWub67kTKuIMx43cZZrS/cBBzwBcNDWoFxt2XEFIpQ==} + + setprototypeof@1.2.0: + resolution: {integrity: sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==} + + sharp@0.33.5: + resolution: {integrity: sha512-haPVm1EkS9pgvHrQ/F3Xy+hgcuMV0Wm9vfIBSiwZ05k+xgb0PkBQpGsAA/oWdDobNaZTH5ppvHtzCFbnSEwHVw==} + engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} + + shebang-command@1.2.0: + resolution: {integrity: sha512-EV3L1+UQWGor21OmnvojK36mhg+TyIKDh3iFBKBohr5xeXIhNBcx8oWdgkTEEQ+BEFFYdLRuqMfd5L84N1V5Vg==} + engines: {node: '>=0.10.0'} + + shebang-regex@1.0.0: + resolution: {integrity: sha512-wpoSFAxys6b2a2wHZ1XpDSgD7N9iVjg29Ph9uV/uaP9Ex/KXlkTZTeddxDPSYQpgvzKLGJke2UU0AzoGCjNIvQ==} + engines: {node: '>=0.10.0'} + + side-channel-list@1.0.0: + resolution: {integrity: sha512-FCLHtRD/gnpCiCHEiJLOwdmFP+wzCmDEkc9y7NsYxeF4u7Btsn1ZuwgwJGxImImHicJArLP4R0yX4c2KCrMrTA==} + engines: {node: '>= 0.4'} + + side-channel-map@1.0.1: + resolution: {integrity: sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA==} + engines: {node: '>= 0.4'} + + side-channel-weakmap@1.0.2: + resolution: {integrity: sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A==} + engines: {node: '>= 0.4'} + + side-channel@1.1.0: + resolution: {integrity: sha512-ZX99e6tRweoUXqR+VBrslhda51Nh5MTQwou5tnUDgbtyM0dBgmhEDtWGP/xbKn6hqfPRHujUNwz5fy/wbbhnpw==} + engines: {node: '>= 0.4'} + + signal-exit@3.0.7: + resolution: {integrity: sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==} + + simple-swizzle@0.2.4: + resolution: {integrity: sha512-nAu1WFPQSMNr2Zn9PGSZK9AGn4t/y97lEm+MXTtUDwfP0ksAIX4nO+6ruD9Jwut4C49SB1Ws+fbXsm/yScWOHw==} + + slash@1.0.0: + resolution: {integrity: sha512-3TYDR7xWt4dIqV2JauJr+EJeW356RXijHeUlO+8djJ+uBXPn8/2dpzBc8yQhh583sVvc9CvFAeQVgijsH+PNNg==} + engines: {node: '>=0.10.0'} + + slice-ansi@0.0.4: + resolution: {integrity: sha512-up04hB2hR92PgjpyU3y/eg91yIBILyjVY26NvvciY3EVVPjybkMszMpXQ9QAkcS3I5rtJBDLoTxxg+qvW8c7rw==} + engines: {node: '>=0.10.0'} + + slice-ansi@1.0.0: + resolution: {integrity: sha512-POqxBK6Lb3q6s047D/XsDVNPnF9Dl8JSaqe9h9lURl0OdNqy/ujDrOiIHtsqXMGbWWTIomRzAMaTyawAU//Reg==} + engines: {node: '>=4'} + + slide@1.1.6: + resolution: {integrity: sha512-NwrtjCg+lZoqhFU8fOwl4ay2ei8PaqCBOUV3/ektPY9trO1yQ1oXEfmHAhKArUVUr/hOHvy5f6AdP17dCM0zMw==} + + smart-buffer@4.2.0: + resolution: {integrity: sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg==} + engines: {node: '>= 6.0.0', npm: '>= 3.0.0'} + + snapdragon-node@2.1.1: + resolution: {integrity: sha512-O27l4xaMYt/RSQ5TR3vpWCAB5Kb/czIcqUFOM/C4fYcLnbZUc1PkjTAMjof2pBWaSTwOUd6qUHcFGVGj7aIwnw==} + engines: {node: '>=0.10.0'} + + snapdragon-util@3.0.1: + resolution: {integrity: sha512-mbKkMdQKsjX4BAL4bRYTj21edOf8cN7XHdYUJEe+Zn99hVEYcMvKPct1IqNe7+AZPirn8BCDOQBHQZknqmKlZQ==} + engines: {node: '>=0.10.0'} + + snapdragon@0.8.2: + resolution: {integrity: sha512-FtyOnWN/wCHTVXOMwvSv26d+ko5vWlIDD6zoUJ7LW8vh+ZBC8QdljveRP+crNrtBwioEUWy/4dMtbBjA4ioNlg==} + engines: {node: '>=0.10.0'} + + socks-proxy-agent@8.0.5: + resolution: {integrity: sha512-HehCEsotFqbPW9sJ8WVYB6UbmIMv7kUUORIF2Nncq4VQvBfNBLibW9YZR5dlYCSUhwcD628pRllm7n+E+YTzJw==} + engines: {node: '>= 14'} + + socks@2.8.7: + resolution: {integrity: sha512-HLpt+uLy/pxB+bum/9DzAgiKS8CX1EvbWxI4zlmgGCExImLdiad2iCwXT5Z4c9c3Eq8rP2318mPW2c+QbtjK8A==} + engines: {node: '>= 10.0.0', npm: '>= 3.0.0'} + + sort-keys@2.0.0: + resolution: {integrity: sha512-/dPCrG1s3ePpWm6yBbxZq5Be1dXGLyLn9Z791chDC3NFrpkVbWGzkBwPN1knaciexFXgRJ7hzdnwZ4stHSDmjg==} + engines: {node: '>=4'} + + sorted-array-functions@1.3.0: + resolution: {integrity: sha512-2sqgzeFlid6N4Z2fUQ1cvFmTOLRi/sEDzSQ0OKYchqgoPmQBVyM3959qYx3fpS6Esef80KjmpgPeEr028dP3OA==} + + source-map-resolve@0.5.3: + resolution: {integrity: sha512-Htz+RnsXWk5+P2slx5Jh3Q66vhQj1Cllm0zvnaY98+NFx+Dv2CF/f5O/t8x+KaNdrdIAsruNzoh/KpialbqAnw==} + deprecated: See https://github.com/lydell/source-map-resolve#deprecated + + source-map-support@0.4.18: + resolution: {integrity: sha512-try0/JqxPLF9nOjvSta7tVondkP5dwgyLDjVoyMDlmjugT2lRZ1OfsrYTkCd2hkDnJTKRbO/Rl3orm8vlsUzbA==} + + source-map-url@0.4.1: + resolution: {integrity: sha512-cPiFOTLUKvJFIg4SKVScy4ilPPW6rFgMgfuZJPNoDuMs3nC1HbMUycBoJw77xFIp6z1UJQJOfx6C9GMH80DiTw==} + deprecated: See https://github.com/lydell/source-map-url#deprecated + + source-map@0.5.7: + resolution: {integrity: sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ==} + engines: {node: '>=0.10.0'} + + source-map@0.6.1: + resolution: {integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==} + engines: {node: '>=0.10.0'} + + spdx-correct@3.2.0: + resolution: {integrity: sha512-kN9dJbvnySHULIluDHy32WHRUu3Og7B9sbY7tsFLctQkIqnMh3hErYgdMjTYuqmcXX+lK5T1lnUt3G7zNswmZA==} + + spdx-exceptions@2.5.0: + resolution: {integrity: sha512-PiU42r+xO4UbUS1buo3LPJkjlO7430Xn5SVAhdpzzsPHsjbYVflnnFdATgabnLude+Cqu25p6N+g2lw/PFsa4w==} + + spdx-expression-parse@3.0.1: + resolution: {integrity: sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==} + + spdx-license-ids@3.0.22: + resolution: {integrity: sha512-4PRT4nh1EImPbt2jASOKHX7PB7I+e4IWNLvkKFDxNhJlfjbYlleYQh285Z/3mPTHSAK/AvdMmw5BNNuYH8ShgQ==} + + split-string@3.1.0: + resolution: {integrity: sha512-NzNVhJDYpwceVVii8/Hu6DKfD2G+NrQHlS/V/qgv763EYudVwEcMQNxd2lh+0VrUByXN/oJkl5grOhYWvQUYiw==} + engines: {node: '>=0.10.0'} + + sprintf-js@1.0.3: + resolution: {integrity: sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==} + + sqlstring@2.3.1: + resolution: {integrity: sha512-ooAzh/7dxIG5+uDik1z/Rd1vli0+38izZhGzSa34FwR7IbelPWCCKSNIl8jlL/F7ERvy8CB2jNeM1E9i9mXMAQ==} + engines: {node: '>= 0.6'} + + sshpk@1.18.0: + resolution: {integrity: sha512-2p2KJZTSqQ/I3+HX42EpYOa2l3f8Erv8MWKsy2I9uf4wA7yFIkXRffYdsx86y6z4vHtV8u7g+pPlr8/4ouAxsQ==} + engines: {node: '>=0.10.0'} + hasBin: true + + stack-trace@0.0.9: + resolution: {integrity: sha512-vjUc6sfgtgY0dxCdnc40mK6Oftjo9+2K8H/NG81TMhgL392FtiPA9tn9RLyTxXmTLPJPjF3VyzFp6bsWFLisMQ==} + + stack-utils@1.0.5: + resolution: {integrity: sha512-KZiTzuV3CnSnSvgMRrARVCj+Ht7rMbauGDK0LdVFRGyenwdylpajAp4Q0i6SX8rEmbTpMMf6ryq2gb8pPq2WgQ==} + engines: {node: '>=8'} + + static-extend@0.1.2: + resolution: {integrity: sha512-72E9+uLc27Mt718pMHt9VMNiAL4LMsmDbBva8mxWUCkT07fSzEGMYUCk0XWY6lp0j6RBAG4cJ3mWuZv2OE3s0g==} + engines: {node: '>=0.10.0'} + + statuses@1.5.0: + resolution: {integrity: sha512-OpZ3zP+jT1PI7I8nemJX4AKmAX070ZkYPVWV/AaKTJl+tXCTGyVdC1a4SL8RUQYEwk/f34ZX8UTykN68FwrqAA==} + engines: {node: '>= 0.6'} + + statuses@2.0.2: + resolution: {integrity: sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw==} + engines: {node: '>= 0.8'} + + stop-iteration-iterator@1.1.0: + resolution: {integrity: sha512-eLoXW/DHyl62zxY4SCaIgnRhuMr6ri4juEYARS8E6sCEqzKpOiE521Ucofdx+KnDZl5xmvGYaaKCk5FEOxJCoQ==} + engines: {node: '>= 0.4'} + + streamroller@3.1.5: + resolution: {integrity: sha512-KFxaM7XT+irxvdqSP1LGLgNWbYN7ay5owZ3r/8t77p+EtSUAfUgtl7be3xtqtOmGUl9K9YPO2ca8133RlTjvKw==} + engines: {node: '>=8.0'} + + streamx@2.25.0: + resolution: {integrity: sha512-0nQuG6jf1w+wddNEEXCF4nTg3LtufWINB5eFEN+5TNZW7KWJp6x87+JFL43vaAUPyCfH1wID+mNVyW6OHtFamg==} + + string-hash@1.1.3: + resolution: {integrity: sha512-kJUvRUFK49aub+a7T1nNE66EJbZBMnBgoC1UbCZ5n6bsZKBRga4KgBRTMn/pFkeCZSYtNeSyMxPDM0AXWELk2A==} + + string-width@1.0.2: + resolution: {integrity: sha512-0XsVpQLnVCXHJfyEs8tC0zpTVIr5PKKsQtkT29IwupnPTjtPmQ3xT/4yCREF9hYkV/3M3kzcUTSAZT6a6h81tw==} + engines: {node: '>=0.10.0'} + + string-width@2.1.1: + resolution: {integrity: sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==} + engines: {node: '>=4'} + + string-width@4.2.3: + resolution: {integrity: sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==} + engines: {node: '>=8'} + + string.prototype.trim@1.2.10: + resolution: {integrity: sha512-Rs66F0P/1kedk5lyYyH9uBzuiI/kNRmwJAR9quK6VOtIpZ2G+hMZd+HQbbv25MgCA6gEffoMZYxlTod4WcdrKA==} + engines: {node: '>= 0.4'} + + string.prototype.trimend@1.0.9: + resolution: {integrity: sha512-G7Ok5C6E/j4SGfyLCloXTrngQIQU3PWtXGst3yM7Bea9FRURf1S42ZHlZZtsNque2FN2PoUhfZXYLNWwEr4dLQ==} + engines: {node: '>= 0.4'} + + string.prototype.trimstart@1.0.8: + resolution: {integrity: sha512-UXSH262CSZY1tfu3G3Secr6uGLCFVPMhIqHjlgCUtCCcgihYc/xKs9djMTMUOb2j1mVSeU8EU6NWc/iQKU6Gfg==} + engines: {node: '>= 0.4'} + + string_decoder@1.1.1: + resolution: {integrity: sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==} + + strip-ansi@0.1.1: + resolution: {integrity: sha512-behete+3uqxecWlDAm5lmskaSaISA+ThQ4oNNBDTBJt0x2ppR6IPqfZNuj6BLaLJ/Sji4TPZlcRyOis8wXQTLg==} + engines: {node: '>=0.8.0'} + hasBin: true + + strip-ansi@3.0.1: + resolution: {integrity: sha512-VhumSSbBqDTP8p2ZLKj40UjBCV4+v8bUSEpUb4KjRgWk9pbqGF4REFj6KEagidb2f/M6AzC0EmFyDNGaw9OCzg==} + engines: {node: '>=0.10.0'} + + strip-ansi@4.0.0: + resolution: {integrity: sha512-4XaJ2zQdCzROZDivEVIDPkcQn8LMFSa8kj8Gxb/Lnwzv9A8VctNZ+lfivC/sV3ivW8ElJTERXZoPBRrZKkNKow==} + engines: {node: '>=4'} + + strip-ansi@6.0.1: + resolution: {integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==} + engines: {node: '>=8'} + + strip-bom-buf@1.0.0: + resolution: {integrity: sha512-1sUIL1jck0T1mhOLP2c696BIznzT525Lkub+n4jjMHjhjhoAQA6Ye659DxdlZBr0aLDMQoTxKIpnlqxgtwjsuQ==} + engines: {node: '>=4'} + + strip-bom@2.0.0: + resolution: {integrity: sha512-kwrX1y7czp1E69n2ajbG65mIo9dqvJ+8aBQXOGVxqwvNbsXdFM6Lq37dLAY3mknUwru8CfcCbfOLL/gMo+fi3g==} + engines: {node: '>=0.10.0'} + + strip-bom@3.0.0: + resolution: {integrity: sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==} + engines: {node: '>=4'} + + strip-eof@1.0.0: + resolution: {integrity: sha512-7FCwGGmx8mD5xQd3RPUvnSpUXHM3BWuzjtpD4TXsfcZ9EL4azvVVUscFYwD9nx8Kh+uCBC00XBtAykoMHwTh8Q==} + engines: {node: '>=0.10.0'} + + strip-indent@1.0.1: + resolution: {integrity: sha512-I5iQq6aFMM62fBEAIB/hXzwJD6EEZ0xEGCX2t7oXqaKPIRgt4WruAQ285BISgdkP+HLGWyeGmNJcpIwFeRYRUA==} + engines: {node: '>=0.10.0'} + hasBin: true + + strip-json-comments@2.0.1: + resolution: {integrity: sha512-4gB8na07fecVVkOI6Rs4e7T6NOTki5EmL7TUduTs6bu3EdnSycntVJ4re8kgZA+wx9IueI2Y11bfbgwtzuE0KQ==} + engines: {node: '>=0.10.0'} + + strnum@1.1.2: + resolution: {integrity: sha512-vrN+B7DBIoTTZjnPNewwhx6cBA/H+IS7rfW68n7XxC1y7uoiGQBxaKzqucGUgavX15dJgiGztLJ8vxuEzwqBdA==} + + supports-color@2.0.0: + resolution: {integrity: sha512-KKNVtd6pCYgPIKU4cp2733HWYCpplQhddZLBUryaAHou723x+FRzQ5Df824Fj+IyyuiQTRoub4SnIFfIcrp70g==} + engines: {node: '>=0.8.0'} + + supports-color@5.5.0: + resolution: {integrity: sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==} + engines: {node: '>=4'} + + supports-preserve-symlinks-flag@1.0.0: + resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==} + engines: {node: '>= 0.4'} + + svg-captcha@1.4.0: + resolution: {integrity: sha512-/fkkhavXPE57zRRCjNqAP3txRCSncpMx3NnNZL7iEoyAtYwUjPhJxW6FQTQPG5UPEmCrbFoXS10C3YdJlW7PDg==} + engines: {node: '>=4.x'} + + symbol-observable@0.2.4: + resolution: {integrity: sha512-6WFhZ1sqIAG3g55T6RJcOYldJmFrdsnM7adeuFUp1aJwo9EWwMFC0zYHNGGyDvJU/aqPzkQyIsMdNek1u9oRzQ==} + engines: {node: '>=0.10.0'} + + table@4.0.2: + resolution: {integrity: sha512-UUkEAPdSGxtRpiV9ozJ5cMTtYiqz7Ni1OGqLXRCynrvzdtR1p+cfOWe2RJLwvUG8hNanaSRjecIqwOjqeatDsA==} + + tar-fs@3.1.2: + resolution: {integrity: sha512-QGxxTxxyleAdyM3kpFs14ymbYmNFrfY+pHj7Z8FgtbZ7w2//VAgLMac7sT6nRpIHjppXO2AwwEOg0bPFVRcmXw==} + + tar-stream@3.1.8: + resolution: {integrity: sha512-U6QpVRyCGHva435KoNWy9PRoi2IFYCgtEhq9nmrPPpbRacPs9IH4aJ3gbrFC8dPcXvdSZ4XXfXT5Fshbp2MtlQ==} + + teex@1.0.1: + resolution: {integrity: sha512-eYE6iEI62Ni1H8oIa7KlDU6uQBtqr4Eajni3wX7rpfXD8ysFx8z0+dri+KWEPWpBsxXfxu58x/0jvTVT1ekOSg==} + + tencentcloud-sdk-nodejs@4.1.198: + resolution: {integrity: sha512-W1jy+cV/C8/Tfg4Lstc7DvanPda2KTkvA5b0LOVaSvXLUUKQkYh6MToBX2lJgk/JAeHppH0qYgGjlaxreJ0EZA==} + engines: {node: '>=10'} + + text-decoder@1.2.7: + resolution: {integrity: sha512-vlLytXkeP4xvEq2otHeJfSQIRyWxo/oZGEbXrtEEF9Hnmrdly59sUbzZ/QgyWuLYHctCHxFF4tRQZNQ9k60ExQ==} + + text-table@0.2.0: + resolution: {integrity: sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==} + + thenify-all@1.6.0: + resolution: {integrity: sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==} + engines: {node: '>=0.8'} + + thenify@3.3.1: + resolution: {integrity: sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==} + + think-cache-file@1.1.2: + resolution: {integrity: sha512-LLGDpFurDnE8XFdwzRJszchVipx47NDnxW50xeOOTxKqWve3ptl5ZdIcF14Kc/qUrrmJT+x2SXdcu0VfpjlLWA==} + + think-cache-redis@1.2.6: + resolution: {integrity: sha512-zs6n9RnWcDNjGlrxFOXZkRa8AQ/uWHQhm6CAHSKy1zoBJKKbxMUs0w68RmA5tEiL1Gd+AohW6QeGgHfSnPt44A==} + + think-cache@1.1.2: + resolution: {integrity: sha512-Xgp0vr4IbgN3YacTct1gWNtenxnpgh6vI/0Em5S6z3iQpWLEI1CTV9L5d78/1ZMNELO0GVk0+MdqEUSbaa19wQ==} + engines: {node: '>=6.0.0'} + + think-cluster@1.5.8: + resolution: {integrity: sha512-SkkXO5an9fMcK4IX+6FaIwFrZMR3D6lW16Rjz782X8INUdCYf8bsZNO4ZbCBhwRHIi6B9FzmsIWnGI1Zkdxufg==} + engines: {node: '>=6.0.0'} + + think-config@1.1.3: + resolution: {integrity: sha512-BESywQ9at4xyzwtago8ApgWBxYksfHWKmlwPOqrAWUk+gkpNy1bwcPCvlCcMz5O4MZOZwBeY8wMX5dmH66548g==} + engines: {node: '>=6.0.0'} + + think-controller@1.0.5: + resolution: {integrity: sha512-MP6sEJUPe3/DI7fajWwu2QWdksWdyqG6H8VMdOF9juv9f3tFMvOU/lG/6MKaUR1IUn34oxeCB+W9pl3WIBqpgQ==} + engines: {node: '>=6.0.0'} + + think-crontab@1.0.4: + resolution: {integrity: sha512-iAmhZE3ApAwRuzEhmjigBaGj9VRCBjkT2Bkk85HsFcDKXlFZphO5dEemOqCT0viHo1NuJGj1CTNGB5Glo2Z02A==} + engines: {node: '>=6.0.0'} + + think-debounce@1.0.4: + resolution: {integrity: sha512-DWRFd3dQEGKK1Mh5kENsVA0+O12NxJbFRKk6X3cxpK0aplPQDFbdrfyS+C2Z2jomt1RbPniXUt0mGh1YrNGbAQ==} + engines: {node: '>=6.0.0'} + + think-gc@1.0.3: + resolution: {integrity: sha512-7mSJbGHROylk2+vO7DyZOfg4niQRwE/9r4SCIPuJCyZxwuBItb5yZkDZc5LvN0ojOO7OMQX9S074bpGBCLKGTQ==} + engines: {node: '>=6.0.0'} + + think-helper@1.1.4: + resolution: {integrity: sha512-JRAgo8CuevJ9rXazGKR91EQMbTA2xxe5w0f8/P8yeyQkaen0ZcJv4laurisg/n1gjE/xuy4zyevhCTWKVgxf8g==} + engines: {node: '>=6.0.0'} + + think-instance@1.0.2: + resolution: {integrity: sha512-vLSgu8fBV0Kg+4pS8lyn0Jkeb0GcZZ8hmRYjKKwyOCNVt9wIPeKfrYx1SvKTbTUxJwNjgf5AloW0fJdTCXHLmg==} + engines: {node: '>=6.0.0'} + + think-loader@1.2.2: + resolution: {integrity: sha512-WTZD/8vC7TvNgREFnX5qwpl/iNqwJCwgFD9MoyQHEWDAuYidsuqVgAPJR6WFprRs2vkJvCQ+uBjral/ZzFoozQ==} + engines: {node: '>=6.0.0'} + + think-logger3@1.4.0: + resolution: {integrity: sha512-JySaFRc08BUvOHwB10Rt6qK4TRGpwmdJXxp5lPCS2rjZHmD9I6ko2jNK7q0H3yxmqNSJBcBwXz7TR5ypk003jQ==} + + think-logic@1.2.2: + resolution: {integrity: sha512-nzWubVr51XZYZ2L0c4TxFw+xOZu829s43n5R5+eW2kBzdjppmf2HgcxHttxGy+cafjFMCohHpQF6KP0aSgRIoA==} + engines: {node: '>=6.0.0'} + + think-meta@1.0.6: + resolution: {integrity: sha512-dSQPcjFFrI/2eYEFTXqFMjZXMIDn1aE3vrGhPHCLHTsglMJ/5CxHIoCO+2mvnu+BGnbDdv3WTurJX+VAz2bv7Q==} + engines: {node: '>=6.0.0'} + + think-mock-http@1.0.6: + resolution: {integrity: sha512-z/oxSO+LZShKNVkL8KAb7vqyhFkpL4cT1WRy0kIEWQVVxGmNsRh71uiirBiRNN3Uw34qUlphtd8dBA7TYX4uvA==} + engines: {node: '>=6.0.0'} + + think-model-abstract@1.6.5: + resolution: {integrity: sha512-ojDTK1es/KqX+92iQdIeN8Bo7ABZW4l0rKDbxz60NTWD0nMGSaP5SFLNir1OhI/wxX1llv2Cw0h8JftTRfW+DA==} + + think-model-mysql@1.1.7: + resolution: {integrity: sha512-HQN66b7RcIzKPnfS2xfDAPlgoy5aFaw4oOMBgHzraMzUco5R/CxoyWrbrL+C+zbKTjstY5UMo5GCJFPBqzJOng==} + + think-model@1.5.4: + resolution: {integrity: sha512-oZJGL0c/WHKnQEU+h3f7HfgDwTEc/AvgkY80qV4tvRTAZFjxPPz/uPBqEvyUEj8+ZtHzsBCa2RoVazPR8EoP0A==} + + think-ms@1.0.3: + resolution: {integrity: sha512-2Ppgqt1oxtj52fuarlERMJaLtwGkDvp9zf7x17cDzEpWILBONuBv4/axz9QljK12BwlAkUV/I9jKsB5TKRZv6A==} + engines: {node: '>=6.0.0'} + + think-mysql@1.4.4: + resolution: {integrity: sha512-COn8a6gq+wJqUNbkMRgHpJCgSzo5FGCBU4c05B38bhUoSuOGYVcEkLH0qd+uEy8SpivHPTSCNzzCJn7ZlUtbKA==} + engines: {node: '>=6.0.0'} + + think-payload@1.4.0: + resolution: {integrity: sha512-5oJLC1aOvjF/WF2xskkiezgOuIwDvPhCryZZnxhdmcsG5cwLDTvaMg7blG5NMAWQ3YsGlgso2K8D3ojc559+6w==} + + think-pm2@1.0.0: + resolution: {integrity: sha512-oDSqJj7/iTcquztY/WXiJ9t2YMEiXE/K1gyrOslH6Czd7V73YLMHB/hNIGbJLFdNAuQNufGa26L92TFx/mNzaw==} + engines: {node: '>=6.0.0'} + + think-redis@1.1.4: + resolution: {integrity: sha512-cbUcceOtjCae/O5I4Z6n41/pVRSCjieecYij4Z70G/tlDmqUbJl6C96Ng2dlVn2l5tNXMjNTv01Rpeh88wcRHA==} + + think-resource@1.0.3: + resolution: {integrity: sha512-NEaSBinj95yr5z2rM1Sx89P90iKZMhkIFzW/EgstnYEFQJRQO43mFByqZBhR01pOU3YL34Y+jL8Zjxd0szRrMg==} + engines: {node: '>=6.0.0'} + + think-router@1.3.5: + resolution: {integrity: sha512-0Gclu9ZivfNX1cT2FgL3ISwi8a7jL5CEQgzXtspL/15Ane6pg0qCbuh9c98kJI4c8JIPvmehjeXrPT2u/qikZw==} + engines: {node: '>=6.0.0'} + + think-session-file@1.1.4: + resolution: {integrity: sha512-/xuNRcM4xEwRgDLrlXtIQTF3NrO5wMOh7Qi2bhYauX7WbfDI6fOBckiNCTXLRUbdlpoC0r2tMAym7hl71QZNBA==} + engines: {node: '>=6.0.0'} + + think-session@1.1.6: + resolution: {integrity: sha512-AIinWPjQhpNesUqo3tLgiTJSiNLIsU+lXujaNHl1dTs1u7njo2Gc4wYWSJ0/4tInipbQCM+OdPq+NosBUvKY/w==} + engines: {node: '>=6.0.0'} + + think-store-file@1.1.1: + resolution: {integrity: sha512-t6+62s+z8yKKgY0lYmULarzKQ2T/QqgmNiaDdrlGU0oRCocBIHNSYpC5NPm5n+8kvflzdlZDnwUS5Z0QeoHO8A==} + + think-trace@1.0.18: + resolution: {integrity: sha512-ghTO3movOuT3gmWu1Fbv5XHTOkFCmcSOIFw8xMu4SEoW7em+XLHkG/w5mHRklua5vsZ8xdfYEaNBV06c1b0Rrg==} + + think-validator@1.6.7: + resolution: {integrity: sha512-igc0kNrfjucJ+CCeG33wsAxMHGPW3UdP1R3lFE8WJj5n9MdgqwxNZsT3sqHqp1TuowAV+1hCM+DV+1fXAF6XxA==} + + think-view-nunjucks@1.0.11: + resolution: {integrity: sha512-k3GifChMsXfDvDXodozCMwhkRoLfpYjAp2RJxwFeVeerih42chLZ3yy/Va9szmiKYhVDq+N3csMi5G0zEunQhw==} + + think-view@1.0.13: + resolution: {integrity: sha512-qBrMIp8cqcWm5EZsYBG53ud3oYAdnfpRO2NwKbcchD3iGKV1NAYRVRMOPTIfgYU/jPqrrvBJ20YjZ7BLhLIyHw==} + engines: {node: '>=6.0.0'} + + think-watcher@3.0.4: + resolution: {integrity: sha512-wLF7EAf4vAOEEg7tQWXhsXgrtLxtcIpFXmCQenUNOTyTQvY7NpI0GYJ8UOpQZ7qScMJk99fOV8+sVHRphHxynw==} + engines: {node: '>=6.0.0'} + + thinkjs@3.2.15: + resolution: {integrity: sha512-/jPy+QIIS+92uetRA7itigrlJXL6c/j+xBPJGaVT3LX2/zwlQ1VvjDUWu9SaaatWDYPVY44Em647QxsEjY9TXQ==} + engines: {node: '>=6.0.0'} + + through2@2.0.5: + resolution: {integrity: sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==} + + through@2.3.8: + resolution: {integrity: sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==} + + time-require@0.1.2: + resolution: {integrity: sha512-IqcSpa1sVNleRbC9eHnN7p7vwEHNmsjsXUDqjlnvo4+2VLJ7/gIY2XACTBuRhMB4weYbDYKsR3av2ySykRhDIA==} + engines: {node: '>= 0.10.0'} + + timed-out@3.1.3: + resolution: {integrity: sha512-3RB4qgvPkxF/FGPnrzaWLhW1rxNK2sdH0mFjbhxkfTR6QXvcM3EtYm9L44UrhODZrZ+yhDXeMncLqi8QXn2MJg==} + engines: {node: '>=0.10.0'} + + tiny-inflate@1.0.3: + resolution: {integrity: sha512-pkY1fj1cKHb2seWDy0B16HeWyczlJA9/WW3u3c4z/NiWDsO3DOU5D7nhTLE9CF0yXv/QZFY7sEJmj24dK+Rrqw==} + + tmp@0.0.33: + resolution: {integrity: sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==} + engines: {node: '>=0.6.0'} + + to-fast-properties@1.0.3: + resolution: {integrity: sha512-lxrWP8ejsq+7E3nNjwYmUBMAgjMTZoTI+sdBOpvNyijeDLa29LUn9QaoXAHv4+Z578hbmHHJKZknzxVtvo77og==} + engines: {node: '>=0.10.0'} + + to-object-path@0.3.0: + resolution: {integrity: sha512-9mWHdnGRuh3onocaHzukyvCZhzvr6tiflAy/JRFXcJX0TjgfWA9pk9t8CMbzmBE4Jfw58pXbkngtBtqYxzNEyg==} + engines: {node: '>=0.10.0'} + + to-regex-range@2.1.1: + resolution: {integrity: sha512-ZZWNfCjUokXXDGXFpZehJIkZqq91BcULFq/Pi7M5i4JnxXdhMKAK682z8bCW3o8Hj1wuuzoKcW3DfVzaP6VuNg==} + engines: {node: '>=0.10.0'} + + to-regex@3.0.2: + resolution: {integrity: sha512-FWtleNAtZ/Ki2qtqej2CXTOayOH9bHDQF+Q48VpWyDXjbYxA4Yz8iDB31zXOBUlOHHKidDbqGVrTUvQMPmBGBw==} + engines: {node: '>=0.10.0'} + + toidentifier@1.0.1: + resolution: {integrity: sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==} + engines: {node: '>=0.6'} + + tough-cookie@2.5.0: + resolution: {integrity: sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g==} + engines: {node: '>=0.8'} + + tr46@0.0.3: + resolution: {integrity: sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==} + + trim-newlines@1.0.0: + resolution: {integrity: sha512-Nm4cF79FhSTzrLKGDMi3I4utBtFv8qKy4sq1enftf2gMdpqI8oVQTAfySkTz5r49giVzDj88SVZXP4CeYQwjaw==} + engines: {node: '>=0.10.0'} + + trim-right@1.0.1: + resolution: {integrity: sha512-WZGXGstmCWgeevgTL54hrCuw1dyMQIzWy7ZfqRJfSmJZBwklI15egmQytFP6bPidmw3M8d5yEowl1niq4vmqZw==} + engines: {node: '>=0.10.0'} + + tsconfig-paths@3.15.0: + resolution: {integrity: sha512-2Ac2RgzDe/cn48GvOe3M+o82pEFewD3UPbyoUHHdKasHwJKjds4fLXWf/Ux5kATBKN20oaFGu+jbElp1pos0mg==} + + tslib@1.13.0: + resolution: {integrity: sha512-i/6DQjL8Xf3be4K/E6Wgpekn5Qasl1usyw++dAA35Ue5orEn65VIxOA+YvNNl9HV3qv70T7CNwjODHZrLwvd1Q==} + + tslib@2.8.1: + resolution: {integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==} + + tsscmp@1.0.6: + resolution: {integrity: sha512-LxhtAkPDTkVCMQjt2h6eBVY28KCjikZqZfMcC15YBeNjkgUpdCfBu5HoiOTDu86v6smE8yOjyEktJ8hlbANHQA==} + engines: {node: '>=0.6.x'} + + tunnel-agent@0.6.0: + resolution: {integrity: sha512-McnNiV1l8RYeY8tBgEpuodCC1mLUdbSN+CYBL7kJsJNInOP8UjDDEwdk6Mw60vdLLrr5NHKZhMAOSrR2NZuQ+w==} + + tweetnacl@0.14.5: + resolution: {integrity: sha512-KXXFFdAbFXY4geFIwoyNK+f5Z1b7swfXABfL7HXCmoIWMKU3dmS26672A4EeQtDzLKy7SXmfBu51JolvEKwtGA==} + + type-check@0.3.2: + resolution: {integrity: sha512-ZCmOJdvOWDBYJlzAoFkC+Q0+bUyEOS1ltgp1MGU03fqHG+dbi9tBFU2Rd9QKiDZFAYrhPh2JUf7rZRIuHRKtOg==} + engines: {node: '>= 0.8.0'} + + type-is@1.6.18: + resolution: {integrity: sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==} + engines: {node: '>= 0.6'} + + typed-array-buffer@1.0.3: + resolution: {integrity: sha512-nAYYwfY3qnzX30IkA6AQZjVbtK6duGontcQm1WSG1MD94YLqK0515GNApXkoxKOWMusVssAHWLh9SeaoefYFGw==} + engines: {node: '>= 0.4'} + + typed-array-byte-length@1.0.3: + resolution: {integrity: sha512-BaXgOuIxz8n8pIq3e7Atg/7s+DpiYrxn4vdot3w9KbnBhcRQq6o3xemQdIfynqSeXeDrF32x+WvfzmOjPiY9lg==} + engines: {node: '>= 0.4'} + + typed-array-byte-offset@1.0.4: + resolution: {integrity: sha512-bTlAFB/FBYMcuX81gbL4OcpH5PmlFHqlCCpAl8AlEzMz5k53oNDvN8p1PNOWLEmI2x4orp3raOFB51tv9X+MFQ==} + engines: {node: '>= 0.4'} + + typed-array-length@1.0.7: + resolution: {integrity: sha512-3KS2b+kL7fsuk/eJZ7EQdnEmQoaho/r6KUef7hxvltNA5DR8NAUM+8wJMbJyZ4G9/7i3v5zPBIMN5aybAh2/Jg==} + engines: {node: '>= 0.4'} + + typed-query-selector@2.12.1: + resolution: {integrity: sha512-uzR+FzI8qrUEIu96oaeBJmd9E7CFEiQ3goA5qCVgc4s5llSubcfGHq9yUstZx/k4s9dXHVKsE35YWoFyvEqEHA==} + + typedarray@0.0.6: + resolution: {integrity: sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA==} + + uid2@0.0.3: + resolution: {integrity: sha512-5gSP1liv10Gjp8cMEnFd6shzkL/D6W1uhXSFNCxDC+YI8+L8wkCYCbJ7n77Ezb4wE/xzMogecE+DtamEe9PZjg==} + + unbox-primitive@1.1.0: + resolution: {integrity: sha512-nWJ91DjeOkej/TA8pXQ3myruKpKEYgqvpw9lz4OPHj/NWFNluYrjbz9j01CJ8yKQd2g4jFoOkINCTW2I5LEEyw==} + engines: {node: '>= 0.4'} + + undici-types@7.16.0: + resolution: {integrity: sha512-Zz+aZWSj8LE6zoxD+xrjh4VfkIG8Ya6LvYkZqtUQGJPZjYl53ypCaUwWqo7eI0x66KBGeRo+mlBEkMSeSZ38Nw==} + + undici@7.22.0: + resolution: {integrity: sha512-RqslV2Us5BrllB+JeiZnK4peryVTndy9Dnqq62S3yYRRTj0tFQCwEniUy2167skdGOy3vqRzEvl1Dm4sV2ReDg==} + engines: {node: '>=20.18.1'} + + union-value@1.0.1: + resolution: {integrity: sha512-tJfXmxMeWYnczCVs7XAEvIV7ieppALdyepWMkHkwciRpZraG/xwT+s2JN8+pr1+8jCRf80FFzvr+MpQeeoF4Xg==} + engines: {node: '>=0.10.0'} + + unique-temp-dir@1.0.0: + resolution: {integrity: sha512-tE68ki2FndoVdPioyiz8mYaJeX3xU/9lk4dml7KlLKEkWLtDGAYeg5LGjE2dMkzB8d6R3HbcKTn/I14nukP2dw==} + engines: {node: '>=0.10.0'} + + universalify@0.1.2: + resolution: {integrity: sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==} + engines: {node: '>= 4.0.0'} + + unpipe@1.0.0: + resolution: {integrity: sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==} + engines: {node: '>= 0.8'} + + unset-value@1.0.0: + resolution: {integrity: sha512-PcA2tsuGSF9cnySLHTLSh2qrQiJ70mn+r+Glzxv2TWZblxsxCC52BDlZoPCsz7STd9pN7EZetkWZBAvk4cgZdQ==} + engines: {node: '>=0.10.0'} + + unzip-response@1.0.2: + resolution: {integrity: sha512-pwCcjjhEcpW45JZIySExBHYv5Y9EeL2OIGEfrSKp2dMUFGFv4CpvZkwJbVge8OvGH2BNNtJBx67DuKuJhf+N5Q==} + engines: {node: '>=0.10'} + + update-notifier@1.0.3: + resolution: {integrity: sha512-iQSLFuxB2ZFAxXGN28DTxk/GNGlBmtqawvguYDtChAHI9Xjy0z7c7hpw6ywutK34SEDYTpLEsAM1ATMq5pcQsw==} + engines: {node: '>=0.10.0'} + + uri-js@4.4.1: + resolution: {integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==} + + urix@0.1.0: + resolution: {integrity: sha512-Am1ousAhSLBeB9cG/7k7r2R0zj50uDRlZHPGbazid5s9rlF1F/QKYObEKSIunSjIOkJZqwRRLpvewjEkM7pSqg==} + deprecated: Please see https://github.com/lydell/urix#deprecated + + url-parse-lax@1.0.0: + resolution: {integrity: sha512-BVA4lR5PIviy2PMseNd2jbFQ+jwSwQGdJejf5ctd1rEXt0Ypd7yanUK9+lYechVlN5VaTJGsu2U/3MDDu6KgBA==} + engines: {node: '>=0.10.0'} + + use@3.1.1: + resolution: {integrity: sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ==} + engines: {node: '>=0.10.0'} + + util-deprecate@1.0.2: + resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} + + uuid@2.0.3: + resolution: {integrity: sha512-FULf7fayPdpASncVy4DLh3xydlXEJJpvIELjYjNeQWYUZ9pclcpvCZSr2gkmN2FrrGcI7G/cJsIEwk5/8vfXpg==} + deprecated: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. + + uuid@3.4.0: + resolution: {integrity: sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==} + deprecated: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. + hasBin: true + + uuid@7.0.3: + resolution: {integrity: sha512-DPSke0pXhTZgoF/d+WSt2QaKMCFSfx7QegxEWT+JOuHF5aWrKEn0G+ztjuJg/gG8/ItK+rbPCD/yNv8yyih6Cg==} + hasBin: true + + uuid@9.0.1: + resolution: {integrity: sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA==} + hasBin: true + + validate-npm-package-license@3.0.4: + resolution: {integrity: sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==} + + validator@9.4.1: + resolution: {integrity: sha512-YV5KjzvRmSyJ1ee/Dm5UED0G+1L4GZnLN3w6/T+zZm8scVua4sOhYKWTUrKa0H/tMiJyO9QLHMPN+9mB/aMunA==} + engines: {node: '>= 0.10'} + + vary@1.1.2: + resolution: {integrity: sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==} + engines: {node: '>= 0.8'} + + verror@1.10.0: + resolution: {integrity: sha512-ZZKSmDAEFOijERBLkmYfJ+vmk3w+7hOLYDNkRCuRuMJGEmqYNCNLyBBFwWKVMhfwaEF3WOd0Zlw86U/WC/+nYw==} + engines: {'0': node >=0.6.0} + + webdriver-bidi-protocol@0.4.1: + resolution: {integrity: sha512-ARrjNjtWRRs2w4Tk7nqrf2gBI0QXWuOmMCx2hU+1jUt6d00MjMxURrhxhGbrsoiZKJrhTSTzbIrc554iKI10qw==} + + webidl-conversions@3.0.1: + resolution: {integrity: sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==} + + whatwg-encoding@3.1.1: + resolution: {integrity: sha512-6qN4hJdMwfYBtE3YBTTHhoeuUrDBPZmbQaxWAqSALV/MeEnR5z1xd8UKud2RAkFoPkmB+hli1TZSnyi84xz1vQ==} + engines: {node: '>=18'} + + whatwg-mimetype@4.0.0: + resolution: {integrity: sha512-QaKxh0eNIi2mE9p2vEdzfagOKHCcj1pJ56EEHGQOVxp8r9/iszLUUV7v89x9O1p/T+NlTM5W7jW6+cz4Fq1YVg==} + engines: {node: '>=18'} + + whatwg-url@5.0.0: + resolution: {integrity: sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==} + + which-boxed-primitive@1.1.1: + resolution: {integrity: sha512-TbX3mj8n0odCBFVlY8AxkqcHASw3L60jIuF8jFP78az3C2YhmGvqbHBpAjTRH2/xqYunrJ9g1jSyjCjpoWzIAA==} + engines: {node: '>= 0.4'} + + which-builtin-type@1.2.1: + resolution: {integrity: sha512-6iBczoX+kDQ7a3+YJBnh3T+KZRxM/iYNPXicqk66/Qfm1b93iu+yOImkg0zHbj5LNOcNv1TEADiZ0xa34B4q6Q==} + engines: {node: '>= 0.4'} + + which-collection@1.0.2: + resolution: {integrity: sha512-K4jVyjnBdgvc86Y6BkaLZEN933SwYOuBFkdmBu9ZfkcAbdVbpITnDmjvZ/aQjRXQrv5EPkTnD1s39GiiqbngCw==} + engines: {node: '>= 0.4'} + + which-typed-array@1.1.20: + resolution: {integrity: sha512-LYfpUkmqwl0h9A2HL09Mms427Q1RZWuOHsukfVcKRq9q95iQxdw0ix1JQrqbcDR9PH1QDwf5Qo8OZb5lksZ8Xg==} + engines: {node: '>= 0.4'} + + which@1.3.1: + resolution: {integrity: sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==} + hasBin: true + + widest-line@1.0.0: + resolution: {integrity: sha512-r5vvGtqsHUHn98V0jURY4Ts86xJf6+SzK9rpWdV8/73nURB3WFPIHd67aOvPw2fSuunIyHjAUqiJ2TY0x4E5gw==} + engines: {node: '>=0.10.0'} + + word-wrap@1.2.5: + resolution: {integrity: sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==} + engines: {node: '>=0.10.0'} + + wrap-ansi@7.0.0: + resolution: {integrity: sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==} + engines: {node: '>=10'} + + wrappy@1.0.2: + resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==} + + write-file-atomic@1.3.4: + resolution: {integrity: sha512-SdrHoC/yVBPpV0Xq/mUZQIpW2sWXAShb/V4pomcJXh92RuaO+f3UTWItiR3Px+pLnV2PvC2/bfn5cwr5X6Vfxw==} + + write-file-atomic@2.4.3: + resolution: {integrity: sha512-GaETH5wwsX+GcnzhPgKcKjJ6M2Cq3/iZp1WyY/X1CSqrW+jVNM9Y7D8EC2sM4ZG/V8wZlSniJnCKWPmBYAucRQ==} + + write-json-file@2.3.0: + resolution: {integrity: sha512-84+F0igFp2dPD6UpAQjOUX3CdKUOqUzn6oE9sDBNzUXINR5VceJ1rauZltqQB/bcYsx3EpKys4C7/PivKUAiWQ==} + engines: {node: '>=4'} + + write-pkg@3.2.0: + resolution: {integrity: sha512-tX2ifZ0YqEFOF1wjRW2Pk93NLsj02+n1UP5RvO6rCs0K6R2g1padvf006cY74PQJKMGS2r42NK7FD0dG6Y6paw==} + engines: {node: '>=4'} + + write@0.2.1: + resolution: {integrity: sha512-CJ17OoULEKXpA5pef3qLj5AxTJ6mSt7g84he2WIskKwqFO4T97d5V7Tadl0DYDk7qyUOQD5WlUlOMChaYrhxeA==} + engines: {node: '>=0.10.0'} + + ws@8.19.0: + resolution: {integrity: sha512-blAT2mjOEIi0ZzruJfIhb3nps74PRWTCz1IjglWEEpQl5XS/UNama6u2/rjFkDDouqr4L67ry+1aGIALViWjDg==} + engines: {node: '>=10.0.0'} + peerDependencies: + bufferutil: ^4.0.1 + utf-8-validate: '>=5.0.2' + peerDependenciesMeta: + bufferutil: + optional: true + utf-8-validate: + optional: true + + xdg-basedir@2.0.0: + resolution: {integrity: sha512-NF1pPn594TaRSUO/HARoB4jK8I+rWgcpVlpQCK6/6o5PHyLUt2CSiDrpUZbQ6rROck+W2EwF8mBJcTs+W98J9w==} + engines: {node: '>=0.10.0'} + + xml2js@0.4.23: + resolution: {integrity: sha512-ySPiMjM0+pLDftHgXY4By0uswI3SPKLDw/i3UXbnO8M/p28zqexCUoPmQFrYD+/1BzhGJSs2i1ERWKJAtiLrug==} + engines: {node: '>=4.0.0'} + + xmlbuilder@11.0.1: + resolution: {integrity: sha512-fDlsI/kFEx7gLvbecc0/ohLG50fugQp8ryHzMTuW9vSa1GJ0XYWKnhsUx7oie3G98+r56aTQIUB4kht42R3JvA==} + engines: {node: '>=4.0'} + + xtend@4.0.2: + resolution: {integrity: sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==} + engines: {node: '>=0.4'} + + y18n@5.0.8: + resolution: {integrity: sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==} + engines: {node: '>=10'} + + yallist@2.1.2: + resolution: {integrity: sha512-ncTzHV7NvsQZkYe1DW7cbDLm0YpzHmZF5r/iyP3ZnQtMiJ+pjzisCiMNI+Sj+xQF5pXhSHxSB3uDbsBTzY/c2A==} + + yargs-parser@21.1.1: + resolution: {integrity: sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==} + engines: {node: '>=12'} + + yargs@17.7.2: + resolution: {integrity: sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==} + engines: {node: '>=12'} + + yauzl@2.10.0: + resolution: {integrity: sha512-p4a9I6X6nu6IhoGmBqAcbJy1mlC4j27vEPZX9F4L4/vZT3Lyq1VkFHw/V/PUcB9Buo+DG3iHkT0x3Qya58zc3g==} + + ylru@1.4.0: + resolution: {integrity: sha512-2OQsPNEmBCvXuFlIni/a+Rn+R2pHW9INm0BxXJ4hVDA8TirqMj+J/Rp9ItLatT/5pZqWwefVrTQcHpixsxnVlA==} + engines: {node: '>= 4.0.0'} + + zod@3.25.76: + resolution: {integrity: sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==} + +snapshots: + + '@ava/babel-preset-stage-4@1.1.0': + dependencies: + babel-plugin-check-es2015-constants: 6.22.0 + babel-plugin-syntax-trailing-function-commas: 6.22.0 + babel-plugin-transform-async-to-generator: 6.24.1 + babel-plugin-transform-es2015-destructuring: 6.23.0 + babel-plugin-transform-es2015-function-name: 6.24.1 + babel-plugin-transform-es2015-modules-commonjs: 6.26.2 + babel-plugin-transform-es2015-parameters: 6.24.1 + babel-plugin-transform-es2015-spread: 6.22.0 + babel-plugin-transform-es2015-sticky-regex: 6.24.1 + babel-plugin-transform-es2015-unicode-regex: 6.24.1 + babel-plugin-transform-exponentiation-operator: 6.24.1 + package-hash: 1.2.0 + transitivePeerDependencies: + - supports-color + + '@ava/babel-preset-transform-test-files@2.0.1': + dependencies: + babel-plugin-ava-throws-helper: 1.0.0 + babel-plugin-espower: 2.4.0 + package-hash: 1.2.0 + transitivePeerDependencies: + - supports-color + + '@ava/pretty-format@1.1.0': + dependencies: + ansi-styles: 2.2.1 + esutils: 2.0.3 + + '@babel/code-frame@7.29.0': + dependencies: + '@babel/helper-validator-identifier': 7.28.5 + js-tokens: 4.0.0 + picocolors: 1.1.1 + + '@babel/generator@7.29.1': + dependencies: + '@babel/parser': 7.29.0 + '@babel/types': 7.29.0 + '@jridgewell/gen-mapping': 0.3.13 + '@jridgewell/trace-mapping': 0.3.31 + jsesc: 3.1.0 + + '@babel/helper-globals@7.28.0': {} + + '@babel/helper-string-parser@7.27.1': {} + + '@babel/helper-validator-identifier@7.28.5': {} + + '@babel/parser@7.29.0': + dependencies: + '@babel/types': 7.29.0 + + '@babel/template@7.28.6': + dependencies: + '@babel/code-frame': 7.29.0 + '@babel/parser': 7.29.0 + '@babel/types': 7.29.0 + + '@babel/traverse@7.29.0': + dependencies: + '@babel/code-frame': 7.29.0 + '@babel/generator': 7.29.1 + '@babel/helper-globals': 7.28.0 + '@babel/parser': 7.29.0 + '@babel/template': 7.28.6 + '@babel/types': 7.29.0 + debug: 4.4.3 + transitivePeerDependencies: + - supports-color + + '@babel/types@7.29.0': + dependencies: + '@babel/helper-string-parser': 7.27.1 + '@babel/helper-validator-identifier': 7.28.5 + + '@emnapi/runtime@1.8.1': + dependencies: + tslib: 2.8.1 + optional: true + + '@img/sharp-darwin-arm64@0.33.5': + optionalDependencies: + '@img/sharp-libvips-darwin-arm64': 1.0.4 + optional: true + + '@img/sharp-darwin-x64@0.33.5': + optionalDependencies: + '@img/sharp-libvips-darwin-x64': 1.0.4 + optional: true + + '@img/sharp-libvips-darwin-arm64@1.0.4': + optional: true + + '@img/sharp-libvips-darwin-x64@1.0.4': + optional: true + + '@img/sharp-libvips-linux-arm64@1.0.4': + optional: true + + '@img/sharp-libvips-linux-arm@1.0.5': + optional: true + + '@img/sharp-libvips-linux-s390x@1.0.4': + optional: true + + '@img/sharp-libvips-linux-x64@1.0.4': + optional: true + + '@img/sharp-libvips-linuxmusl-arm64@1.0.4': + optional: true + + '@img/sharp-libvips-linuxmusl-x64@1.0.4': + optional: true + + '@img/sharp-linux-arm64@0.33.5': + optionalDependencies: + '@img/sharp-libvips-linux-arm64': 1.0.4 + optional: true + + '@img/sharp-linux-arm@0.33.5': + optionalDependencies: + '@img/sharp-libvips-linux-arm': 1.0.5 + optional: true + + '@img/sharp-linux-s390x@0.33.5': + optionalDependencies: + '@img/sharp-libvips-linux-s390x': 1.0.4 + optional: true + + '@img/sharp-linux-x64@0.33.5': + optionalDependencies: + '@img/sharp-libvips-linux-x64': 1.0.4 + optional: true + + '@img/sharp-linuxmusl-arm64@0.33.5': + optionalDependencies: + '@img/sharp-libvips-linuxmusl-arm64': 1.0.4 + optional: true + + '@img/sharp-linuxmusl-x64@0.33.5': + optionalDependencies: + '@img/sharp-libvips-linuxmusl-x64': 1.0.4 + optional: true + + '@img/sharp-wasm32@0.33.5': + dependencies: + '@emnapi/runtime': 1.8.1 + optional: true + + '@img/sharp-win32-ia32@0.33.5': + optional: true + + '@img/sharp-win32-x64@0.33.5': + optional: true + + '@jridgewell/gen-mapping@0.3.13': + dependencies: + '@jridgewell/sourcemap-codec': 1.5.5 + '@jridgewell/trace-mapping': 0.3.31 + + '@jridgewell/resolve-uri@3.1.2': {} + + '@jridgewell/sourcemap-codec@1.5.5': {} + + '@jridgewell/trace-mapping@0.3.31': + dependencies: + '@jridgewell/resolve-uri': 3.1.2 + '@jridgewell/sourcemap-codec': 1.5.5 + + '@puppeteer/browsers@2.13.0': + dependencies: + debug: 4.4.3 + extract-zip: 2.0.1 + progress: 2.0.3 + proxy-agent: 6.5.0 + semver: 7.7.4 + tar-fs: 3.1.2 + yargs: 17.7.2 + transitivePeerDependencies: + - bare-abort-controller + - bare-buffer + - react-native-b4a + - supports-color + + '@rtsao/scc@1.1.0': {} + + '@tootallnate/quickjs-emscripten@0.23.0': {} + + '@types/json5@0.0.29': {} + + '@types/keyv@3.1.4': + dependencies: + '@types/node': 25.2.3 + + '@types/node@25.2.3': + dependencies: + undici-types: 7.16.0 + + '@types/responselike@1.0.3': + dependencies: + '@types/node': 25.2.3 + + '@types/yauzl@2.10.3': + dependencies: + '@types/node': 25.2.3 + optional: true + + a-sync-waterfall@1.0.1: {} + + accepts@1.3.8: + dependencies: + mime-types: 2.1.35 + negotiator: 0.6.3 + + acorn-jsx@3.0.1: + dependencies: + acorn: 3.3.0 + + acorn@3.3.0: {} + + acorn@5.7.4: {} + + agent-base@6.0.2: + dependencies: + debug: 4.4.3 + transitivePeerDependencies: + - supports-color + + agent-base@7.1.4: {} + + ajv-formats@1.6.1(ajv@7.2.4): + optionalDependencies: + ajv: 7.2.4 + + ajv-keywords@2.1.1(ajv@5.5.2): + dependencies: + ajv: 5.5.2 + + ajv@5.5.2: + dependencies: + co: 4.6.0 + fast-deep-equal: 1.1.0 + fast-json-stable-stringify: 2.1.0 + json-schema-traverse: 0.3.1 + + ajv@6.12.6: + 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 + + ajv@7.2.4: + dependencies: + fast-deep-equal: 3.1.3 + json-schema-traverse: 1.0.0 + require-from-string: 2.0.2 + uri-js: 4.4.1 + + ansi-align@1.1.0: + dependencies: + string-width: 1.0.2 + + ansi-escapes@3.2.0: {} + + ansi-regex@2.1.1: {} + + ansi-regex@3.0.1: {} + + ansi-regex@5.0.1: {} + + ansi-styles@1.0.0: {} + + ansi-styles@2.2.1: {} + + ansi-styles@3.2.1: + dependencies: + color-convert: 1.9.3 + + ansi-styles@4.3.0: + dependencies: + color-convert: 2.0.1 + + any-promise@1.3.0: {} + + anymatch@1.3.2: + dependencies: + micromatch: 2.3.11 + normalize-path: 2.1.1 + + argparse@1.0.10: + dependencies: + sprintf-js: 1.0.3 + + argparse@2.0.1: {} + + arr-diff@2.0.0: + dependencies: + arr-flatten: 1.1.0 + + arr-diff@4.0.0: {} + + arr-exclude@1.0.0: {} + + arr-flatten@1.1.0: {} + + arr-union@3.1.0: {} + + array-buffer-byte-length@1.0.2: + dependencies: + call-bound: 1.0.4 + is-array-buffer: 3.0.5 + + array-differ@1.0.0: {} + + array-find-index@1.0.2: {} + + array-includes@3.1.9: + dependencies: + call-bind: 1.0.8 + call-bound: 1.0.4 + define-properties: 1.2.1 + es-abstract: 1.24.1 + es-object-atoms: 1.1.1 + get-intrinsic: 1.3.0 + is-string: 1.1.1 + math-intrinsics: 1.1.0 + + array-union@1.0.2: + dependencies: + array-uniq: 1.0.3 + + array-uniq@1.0.3: {} + + array-unique@0.2.1: {} + + array-unique@0.3.2: {} + + array.prototype.findlastindex@1.2.6: + dependencies: + call-bind: 1.0.8 + call-bound: 1.0.4 + define-properties: 1.2.1 + es-abstract: 1.24.1 + es-errors: 1.3.0 + es-object-atoms: 1.1.1 + es-shim-unscopables: 1.1.0 + + array.prototype.flat@1.3.3: + dependencies: + call-bind: 1.0.8 + define-properties: 1.2.1 + es-abstract: 1.24.1 + es-shim-unscopables: 1.1.0 + + array.prototype.flatmap@1.3.3: + dependencies: + call-bind: 1.0.8 + define-properties: 1.2.1 + es-abstract: 1.24.1 + es-shim-unscopables: 1.1.0 + + arraybuffer.prototype.slice@1.0.4: + dependencies: + array-buffer-byte-length: 1.0.2 + call-bind: 1.0.8 + define-properties: 1.2.1 + es-abstract: 1.24.1 + es-errors: 1.3.0 + get-intrinsic: 1.3.0 + is-array-buffer: 3.0.5 + + arrify@1.0.1: {} + + asap@2.0.6: {} + + asn1@0.2.6: + dependencies: + safer-buffer: 2.1.2 + + assert-plus@1.0.0: {} + + assign-symbols@1.0.0: {} + + ast-types@0.13.4: + dependencies: + tslib: 2.8.1 + + async-each@1.0.6: {} + + async-function@1.0.0: {} + + asynckit@0.4.0: {} + + atob@2.1.2: {} + + atomically@1.7.0: {} + + auto-bind@1.2.1: {} + + ava-init@0.2.1: + dependencies: + arr-exclude: 1.0.0 + execa: 0.7.0 + has-yarn: 1.0.0 + read-pkg-up: 2.0.0 + write-pkg: 3.2.0 + + ava@0.18.2: + dependencies: + '@ava/babel-preset-stage-4': 1.1.0 + '@ava/babel-preset-transform-test-files': 2.0.1 + '@ava/pretty-format': 1.1.0 + arr-flatten: 1.1.0 + array-union: 1.0.2 + array-uniq: 1.0.3 + arrify: 1.0.1 + auto-bind: 1.2.1 + ava-init: 0.2.1 + babel-code-frame: 6.26.0 + babel-core: 6.26.3 + bluebird: 3.7.2 + caching-transform: 1.0.1 + chalk: 1.1.3 + chokidar: 1.7.0 + clean-stack: 1.3.0 + clean-yaml-object: 0.1.0 + cli-cursor: 2.1.0 + cli-spinners: 1.3.1 + cli-truncate: 0.2.1 + co-with-promise: 4.6.0 + code-excerpt: 2.1.1 + common-path-prefix: 1.0.0 + convert-source-map: 1.9.0 + core-assert: 0.2.1 + currently-unhandled: 0.4.1 + debug: 2.6.9 + diff: 3.5.1 + dot-prop: 4.2.1 + empower-core: 0.6.2 + equal-length: 1.0.1 + figures: 2.0.0 + find-cache-dir: 0.1.1 + fn-name: 2.0.1 + get-port: 2.1.0 + globby: 6.1.0 + has-flag: 2.0.0 + ignore-by-default: 1.0.1 + indent-string: 3.2.0 + is-ci: 1.2.1 + is-generator-fn: 1.0.0 + is-obj: 1.0.1 + is-observable: 0.2.0 + is-promise: 2.2.2 + jest-snapshot: 18.1.0 + last-line-stream: 1.0.0 + lodash.debounce: 4.0.8 + lodash.difference: 4.5.0 + lodash.flatten: 4.4.0 + lodash.isequal: 4.5.0 + loud-rejection: 1.6.0 + matcher: 0.1.2 + max-timeout: 1.0.0 + md5-hex: 2.0.0 + meow: 3.7.0 + ms: 0.7.3 + multimatch: 2.1.0 + observable-to-promise: 0.4.0 + option-chain: 0.1.1 + package-hash: 1.2.0 + pkg-conf: 2.1.0 + plur: 2.1.2 + pretty-ms: 2.1.0 + require-precompiled: 0.1.0 + resolve-cwd: 1.0.0 + slash: 1.0.0 + source-map-support: 0.4.18 + stack-utils: 1.0.5 + strip-ansi: 3.0.1 + strip-bom-buf: 1.0.0 + time-require: 0.1.2 + unique-temp-dir: 1.0.0 + update-notifier: 1.0.3 + transitivePeerDependencies: + - supports-color + + available-typed-arrays@1.0.7: + dependencies: + possible-typed-array-names: 1.1.0 + + aws-sign2@0.7.0: {} + + aws4@1.13.2: {} + + axios@1.13.5: + dependencies: + follow-redirects: 1.15.11 + form-data: 4.0.5 + proxy-from-env: 1.1.0 + transitivePeerDependencies: + - debug + + b4a@1.8.0: {} + + babel-code-frame@6.26.0: + dependencies: + chalk: 1.1.3 + esutils: 2.0.3 + js-tokens: 3.0.2 + + babel-core@6.26.3: + dependencies: + babel-code-frame: 6.26.0 + babel-generator: 6.26.1 + babel-helpers: 6.24.1 + babel-messages: 6.23.0 + babel-register: 6.26.0 + babel-runtime: 6.26.0 + babel-template: 6.26.0 + babel-traverse: 6.26.0 + babel-types: 6.26.0 + babylon: 6.18.0 + convert-source-map: 1.9.0 + debug: 2.6.9 + json5: 0.5.1 + lodash: 4.17.23 + minimatch: 3.1.2 + path-is-absolute: 1.0.1 + private: 0.1.8 + slash: 1.0.0 + source-map: 0.5.7 + transitivePeerDependencies: + - supports-color + + babel-eslint@10.1.0(eslint@4.19.1): + dependencies: + '@babel/code-frame': 7.29.0 + '@babel/parser': 7.29.0 + '@babel/traverse': 7.29.0 + '@babel/types': 7.29.0 + eslint: 4.19.1 + eslint-visitor-keys: 1.3.0 + resolve: 1.22.11 + transitivePeerDependencies: + - supports-color + + babel-generator@6.26.1: + dependencies: + babel-messages: 6.23.0 + babel-runtime: 6.26.0 + babel-types: 6.26.0 + detect-indent: 4.0.0 + jsesc: 1.3.0 + lodash: 4.17.23 + source-map: 0.5.7 + trim-right: 1.0.1 + + babel-helper-builder-binary-assignment-operator-visitor@6.24.1: + dependencies: + babel-helper-explode-assignable-expression: 6.24.1 + babel-runtime: 6.26.0 + babel-types: 6.26.0 + transitivePeerDependencies: + - supports-color + + babel-helper-call-delegate@6.24.1: + dependencies: + babel-helper-hoist-variables: 6.24.1 + babel-runtime: 6.26.0 + babel-traverse: 6.26.0 + babel-types: 6.26.0 + transitivePeerDependencies: + - supports-color + + babel-helper-explode-assignable-expression@6.24.1: + dependencies: + babel-runtime: 6.26.0 + babel-traverse: 6.26.0 + babel-types: 6.26.0 + transitivePeerDependencies: + - supports-color + + babel-helper-function-name@6.24.1: + dependencies: + babel-helper-get-function-arity: 6.24.1 + babel-runtime: 6.26.0 + babel-template: 6.26.0 + babel-traverse: 6.26.0 + babel-types: 6.26.0 + transitivePeerDependencies: + - supports-color + + babel-helper-get-function-arity@6.24.1: + dependencies: + babel-runtime: 6.26.0 + babel-types: 6.26.0 + + babel-helper-hoist-variables@6.24.1: + dependencies: + babel-runtime: 6.26.0 + babel-types: 6.26.0 + + babel-helper-regex@6.26.0: + dependencies: + babel-runtime: 6.26.0 + babel-types: 6.26.0 + lodash: 4.17.23 + + babel-helper-remap-async-to-generator@6.24.1: + dependencies: + babel-helper-function-name: 6.24.1 + babel-runtime: 6.26.0 + babel-template: 6.26.0 + babel-traverse: 6.26.0 + babel-types: 6.26.0 + transitivePeerDependencies: + - supports-color + + babel-helpers@6.24.1: + dependencies: + babel-runtime: 6.26.0 + babel-template: 6.26.0 + transitivePeerDependencies: + - supports-color + + babel-messages@6.23.0: + dependencies: + babel-runtime: 6.26.0 + + babel-plugin-ava-throws-helper@1.0.0: + dependencies: + babel-template: 6.26.0 + babel-types: 6.26.0 + transitivePeerDependencies: + - supports-color + + babel-plugin-check-es2015-constants@6.22.0: + dependencies: + babel-runtime: 6.26.0 + + babel-plugin-espower@2.4.0: + dependencies: + babel-generator: 6.26.1 + babylon: 6.18.0 + call-matcher: 1.1.0 + core-js: 2.6.12 + espower-location-detector: 1.0.0 + espurify: 1.8.1 + estraverse: 4.3.0 + + babel-plugin-syntax-async-functions@6.13.0: {} + + babel-plugin-syntax-exponentiation-operator@6.13.0: {} + + babel-plugin-syntax-trailing-function-commas@6.22.0: {} + + babel-plugin-transform-async-to-generator@6.24.1: + dependencies: + babel-helper-remap-async-to-generator: 6.24.1 + babel-plugin-syntax-async-functions: 6.13.0 + babel-runtime: 6.26.0 + transitivePeerDependencies: + - supports-color + + babel-plugin-transform-es2015-destructuring@6.23.0: + dependencies: + babel-runtime: 6.26.0 + + babel-plugin-transform-es2015-function-name@6.24.1: + dependencies: + babel-helper-function-name: 6.24.1 + babel-runtime: 6.26.0 + babel-types: 6.26.0 + transitivePeerDependencies: + - supports-color + + babel-plugin-transform-es2015-modules-commonjs@6.26.2: + dependencies: + babel-plugin-transform-strict-mode: 6.24.1 + babel-runtime: 6.26.0 + babel-template: 6.26.0 + babel-types: 6.26.0 + transitivePeerDependencies: + - supports-color + + babel-plugin-transform-es2015-parameters@6.24.1: + dependencies: + babel-helper-call-delegate: 6.24.1 + babel-helper-get-function-arity: 6.24.1 + babel-runtime: 6.26.0 + babel-template: 6.26.0 + babel-traverse: 6.26.0 + babel-types: 6.26.0 + transitivePeerDependencies: + - supports-color + + babel-plugin-transform-es2015-spread@6.22.0: + dependencies: + babel-runtime: 6.26.0 + + babel-plugin-transform-es2015-sticky-regex@6.24.1: + dependencies: + babel-helper-regex: 6.26.0 + babel-runtime: 6.26.0 + babel-types: 6.26.0 + + babel-plugin-transform-es2015-unicode-regex@6.24.1: + dependencies: + babel-helper-regex: 6.26.0 + babel-runtime: 6.26.0 + regexpu-core: 2.0.0 + + babel-plugin-transform-exponentiation-operator@6.24.1: + dependencies: + babel-helper-builder-binary-assignment-operator-visitor: 6.24.1 + babel-plugin-syntax-exponentiation-operator: 6.13.0 + babel-runtime: 6.26.0 + transitivePeerDependencies: + - supports-color + + babel-plugin-transform-strict-mode@6.24.1: + dependencies: + babel-runtime: 6.26.0 + babel-types: 6.26.0 + + babel-register@6.26.0: + dependencies: + babel-core: 6.26.3 + babel-runtime: 6.26.0 + core-js: 2.6.12 + home-or-tmp: 2.0.0 + lodash: 4.17.23 + mkdirp: 0.5.6 + source-map-support: 0.4.18 + transitivePeerDependencies: + - supports-color + + babel-runtime@6.26.0: + dependencies: + core-js: 2.6.12 + regenerator-runtime: 0.11.1 + + babel-template@6.26.0: + dependencies: + babel-runtime: 6.26.0 + babel-traverse: 6.26.0 + babel-types: 6.26.0 + babylon: 6.18.0 + lodash: 4.17.23 + transitivePeerDependencies: + - supports-color + + babel-traverse@6.26.0: + dependencies: + babel-code-frame: 6.26.0 + babel-messages: 6.23.0 + babel-runtime: 6.26.0 + babel-types: 6.26.0 + babylon: 6.18.0 + debug: 2.6.9 + globals: 9.18.0 + invariant: 2.2.4 + lodash: 4.17.23 + transitivePeerDependencies: + - supports-color + + babel-types@6.26.0: + dependencies: + babel-runtime: 6.26.0 + esutils: 2.0.3 + lodash: 4.17.23 + to-fast-properties: 1.0.3 + + babylon@6.18.0: {} + + balanced-match@1.0.2: {} + + bare-events@2.8.2: {} + + bare-fs@4.5.6: + dependencies: + bare-events: 2.8.2 + bare-path: 3.0.0 + bare-stream: 2.10.0(bare-events@2.8.2) + bare-url: 2.4.0 + fast-fifo: 1.3.2 + transitivePeerDependencies: + - bare-abort-controller + - react-native-b4a + + bare-os@3.8.0: {} + + bare-path@3.0.0: + dependencies: + bare-os: 3.8.0 + + bare-stream@2.10.0(bare-events@2.8.2): + dependencies: + streamx: 2.25.0 + teex: 1.0.1 + optionalDependencies: + bare-events: 2.8.2 + transitivePeerDependencies: + - bare-abort-controller + - react-native-b4a + + bare-url@2.4.0: + dependencies: + bare-path: 3.0.0 + + base@0.11.2: + dependencies: + cache-base: 1.0.1 + class-utils: 0.3.6 + component-emitter: 1.3.1 + define-property: 1.0.0 + isobject: 3.0.1 + mixin-deep: 1.3.2 + pascalcase: 0.1.1 + + basic-ftp@5.2.0: {} + + bcrypt-pbkdf@1.0.2: + dependencies: + tweetnacl: 0.14.5 + + bignumber.js@9.0.0: {} + + binary-extensions@1.13.1: {} + + bindings@1.5.0: + dependencies: + file-uri-to-path: 1.0.0 + optional: true + + bluebird@3.7.2: {} + + boolbase@1.0.0: {} + + boxen@0.6.0: + dependencies: + ansi-align: 1.1.0 + camelcase: 2.1.1 + chalk: 1.1.3 + cli-boxes: 1.0.0 + filled-array: 1.1.0 + object-assign: 4.1.1 + repeating: 2.0.1 + string-width: 1.0.2 + widest-line: 1.0.0 + + brace-expansion@1.1.12: + dependencies: + balanced-match: 1.0.2 + concat-map: 0.0.1 + + braces@1.8.5: + dependencies: + expand-range: 1.8.2 + preserve: 0.2.0 + repeat-element: 1.1.4 + + braces@2.3.2: + dependencies: + arr-flatten: 1.1.0 + array-unique: 0.3.2 + extend-shallow: 2.0.1 + fill-range: 4.0.0 + isobject: 3.0.1 + repeat-element: 1.1.4 + snapdragon: 0.8.2 + snapdragon-node: 2.1.1 + split-string: 3.1.0 + to-regex: 3.0.2 + transitivePeerDependencies: + - supports-color + + buf-compare@1.0.1: {} + + buffer-crc32@0.2.13: {} + + buffer-equal-constant-time@1.0.1: {} + + buffer-from@1.1.2: {} + + bytes@3.1.2: {} + + cache-base@1.0.1: + dependencies: + collection-visit: 1.0.0 + component-emitter: 1.3.1 + get-value: 2.0.6 + has-value: 1.0.0 + isobject: 3.0.1 + set-value: 2.0.1 + to-object-path: 0.3.0 + union-value: 1.0.1 + unset-value: 1.0.0 + + cache-content-type@1.0.1: + dependencies: + mime-types: 2.1.35 + ylru: 1.4.0 + + caching-transform@1.0.1: + dependencies: + md5-hex: 1.3.0 + mkdirp: 0.5.6 + write-file-atomic: 1.3.4 + + call-bind-apply-helpers@1.0.2: + dependencies: + es-errors: 1.3.0 + function-bind: 1.1.2 + + call-bind@1.0.8: + dependencies: + call-bind-apply-helpers: 1.0.2 + es-define-property: 1.0.1 + get-intrinsic: 1.3.0 + set-function-length: 1.2.2 + + call-bound@1.0.4: + dependencies: + call-bind-apply-helpers: 1.0.2 + get-intrinsic: 1.3.0 + + call-matcher@1.1.0: + dependencies: + core-js: 2.6.12 + deep-equal: 1.1.2 + espurify: 1.8.1 + estraverse: 4.3.0 + + call-signature@0.0.2: {} + + caller-path@0.1.0: + dependencies: + callsites: 0.2.0 + + callsites@0.2.0: {} + + callsites@3.1.0: {} + + camelcase-keys@2.1.0: + dependencies: + camelcase: 2.1.1 + map-obj: 1.0.1 + + camelcase@2.1.1: {} + + capture-stack-trace@1.0.2: {} + + caseless@0.12.0: {} + + chalk@0.4.0: + dependencies: + ansi-styles: 1.0.0 + has-color: 0.1.7 + strip-ansi: 0.1.1 + + chalk@1.1.3: + dependencies: + ansi-styles: 2.2.1 + escape-string-regexp: 1.0.5 + has-ansi: 2.0.0 + strip-ansi: 3.0.1 + supports-color: 2.0.0 + + chalk@2.4.2: + dependencies: + ansi-styles: 3.2.1 + escape-string-regexp: 1.0.5 + supports-color: 5.5.0 + + chardet@0.4.2: {} + + cheerio-select@2.1.0: + dependencies: + boolbase: 1.0.0 + css-select: 5.2.2 + css-what: 6.2.2 + domelementtype: 2.3.0 + domhandler: 5.0.3 + domutils: 3.2.2 + + cheerio@1.2.0: + dependencies: + cheerio-select: 2.1.0 + dom-serializer: 2.0.0 + domhandler: 5.0.3 + domutils: 3.2.2 + encoding-sniffer: 0.2.1 + htmlparser2: 10.1.0 + parse5: 7.3.0 + parse5-htmlparser2-tree-adapter: 7.1.0 + parse5-parser-stream: 7.1.2 + undici: 7.22.0 + whatwg-mimetype: 4.0.0 + + chokidar@1.7.0: + dependencies: + anymatch: 1.3.2 + async-each: 1.0.6 + glob-parent: 2.0.0 + inherits: 2.0.4 + is-binary-path: 1.0.1 + is-glob: 2.0.1 + path-is-absolute: 1.0.1 + readdirp: 2.2.1 + optionalDependencies: + fsevents: 1.2.13 + transitivePeerDependencies: + - supports-color + + chromium-bidi@14.0.0(devtools-protocol@0.0.1581282): + dependencies: + devtools-protocol: 0.0.1581282 + mitt: 3.0.1 + zod: 3.25.76 + + ci-info@1.6.0: {} + + circular-json@0.3.3: {} + + class-utils@0.3.6: + dependencies: + arr-union: 3.1.0 + define-property: 0.2.5 + isobject: 3.0.1 + static-extend: 0.1.2 + + clean-stack@1.3.0: {} + + clean-yaml-object@0.1.0: {} + + cli-boxes@1.0.0: {} + + cli-cursor@2.1.0: + dependencies: + restore-cursor: 2.0.0 + + cli-spinners@1.3.1: {} + + cli-truncate@0.2.1: + dependencies: + slice-ansi: 0.0.4 + string-width: 1.0.2 + + cli-width@2.2.1: {} + + cliui@8.0.1: + dependencies: + string-width: 4.2.3 + strip-ansi: 6.0.1 + wrap-ansi: 7.0.0 + + cluster-key-slot@1.1.2: {} + + co-with-promise@4.6.0: + dependencies: + pinkie-promise: 1.0.0 + + co@4.6.0: {} + + code-excerpt@2.1.1: + dependencies: + convert-to-spaces: 1.0.2 + + code-point-at@1.1.0: {} + + collection-visit@1.0.0: + dependencies: + map-visit: 1.0.0 + object-visit: 1.0.1 + + color-convert@1.9.3: + dependencies: + color-name: 1.1.3 + + color-convert@2.0.1: + dependencies: + color-name: 1.1.4 + + color-name@1.1.3: {} + + color-name@1.1.4: {} + + color-string@1.9.1: + dependencies: + color-name: 1.1.3 + simple-swizzle: 0.2.4 + + color@4.2.3: + dependencies: + color-convert: 2.0.1 + color-string: 1.9.1 + + combined-stream@1.0.8: + dependencies: + delayed-stream: 1.0.0 + + commander@5.1.0: {} + + common-path-prefix@1.0.0: {} + + commondir@1.0.1: {} + + component-emitter@1.3.1: {} + + concat-map@0.0.1: {} + + concat-stream@1.6.2: + dependencies: + buffer-from: 1.1.2 + inherits: 2.0.4 + readable-stream: 2.3.8 + typedarray: 0.0.6 + + conf@9.0.2: + dependencies: + ajv: 7.2.4 + ajv-formats: 1.6.1(ajv@7.2.4) + atomically: 1.7.0 + debounce-fn: 4.0.0 + dot-prop: 6.0.1 + env-paths: 2.2.1 + json-schema-typed: 7.0.3 + make-dir: 3.1.0 + onetime: 5.1.2 + pkg-up: 3.1.0 + semver: 7.7.4 + + configstore@2.1.0: + dependencies: + dot-prop: 3.0.0 + graceful-fs: 4.2.11 + mkdirp: 0.5.6 + object-assign: 4.1.1 + os-tmpdir: 1.0.2 + osenv: 0.1.5 + uuid: 2.0.3 + write-file-atomic: 1.3.4 + xdg-basedir: 2.0.0 + + content-disposition@0.5.4: + dependencies: + safe-buffer: 5.2.1 + + content-type@1.0.5: {} + + convert-source-map@1.9.0: {} + + convert-to-spaces@1.0.2: {} + + cookies@0.8.0: + dependencies: + depd: 2.0.0 + keygrip: 1.1.0 + + cookies@0.9.1: + dependencies: + depd: 2.0.0 + keygrip: 1.1.0 + + copy-descriptor@0.1.1: {} + + core-assert@0.2.1: + dependencies: + buf-compare: 1.0.1 + is-error: 2.2.2 + + core-js@2.6.12: {} + + core-util-is@1.0.2: {} + + core-util-is@1.0.3: {} + + cos-nodejs-sdk-v5@2.15.4: + dependencies: + conf: 9.0.2 + fast-xml-parser: 4.2.5 + mime-types: 2.1.35 + request: 2.88.2 + + cosmiconfig@9.0.1: + dependencies: + env-paths: 2.2.1 + import-fresh: 3.3.1 + js-yaml: 4.1.1 + parse-json: 5.2.0 + + create-error-class@3.0.2: + dependencies: + capture-stack-trace: 1.0.2 + + cron-parser@2.18.0: + dependencies: + is-nan: 1.3.2 + moment-timezone: 0.5.48 + + cross-spawn@5.1.0: + dependencies: + lru-cache: 4.1.5 + shebang-command: 1.2.0 + which: 1.3.1 + + css-select@5.2.2: + dependencies: + boolbase: 1.0.0 + css-what: 6.2.2 + domhandler: 5.0.3 + domutils: 3.2.2 + nth-check: 2.1.1 + + css-what@6.2.2: {} + + currently-unhandled@0.4.1: + dependencies: + array-find-index: 1.0.2 + + dashdash@1.14.1: + dependencies: + assert-plus: 1.0.0 + + data-uri-to-buffer@6.0.2: {} + + data-view-buffer@1.0.2: + dependencies: + call-bound: 1.0.4 + es-errors: 1.3.0 + is-data-view: 1.0.2 + + data-view-byte-length@1.0.2: + dependencies: + call-bound: 1.0.4 + es-errors: 1.3.0 + is-data-view: 1.0.2 + + data-view-byte-offset@1.0.1: + dependencies: + call-bound: 1.0.4 + es-errors: 1.3.0 + is-data-view: 1.0.2 + + date-format@4.0.14: {} + + date-time@0.1.1: {} + + dayjs@1.11.20: {} + + debounce-fn@4.0.0: + dependencies: + mimic-fn: 3.1.0 + + debug@2.6.9: + dependencies: + ms: 2.0.0 + + debug@3.2.7: + dependencies: + ms: 2.1.3 + + debug@4.4.3: + dependencies: + ms: 2.1.3 + + decamelize@1.2.0: {} + + decode-uri-component@0.2.2: {} + + deep-equal@1.0.1: {} + + deep-equal@1.1.2: + dependencies: + is-arguments: 1.2.0 + is-date-object: 1.1.0 + is-regex: 1.2.1 + object-is: 1.1.6 + object-keys: 1.1.1 + regexp.prototype.flags: 1.5.4 + + deep-extend@0.6.0: {} + + deep-is@0.1.4: {} + + define-data-property@1.1.4: + dependencies: + es-define-property: 1.0.1 + es-errors: 1.3.0 + gopd: 1.2.0 + + define-properties@1.2.1: + dependencies: + define-data-property: 1.1.4 + has-property-descriptors: 1.0.2 + object-keys: 1.1.1 + + define-property@0.2.5: + dependencies: + is-descriptor: 0.1.7 + + define-property@1.0.0: + dependencies: + is-descriptor: 1.0.3 + + define-property@2.0.2: + dependencies: + is-descriptor: 1.0.3 + isobject: 3.0.1 + + degenerator@5.0.1: + dependencies: + ast-types: 0.13.4 + escodegen: 2.1.0 + esprima: 4.0.1 + + delayed-stream@1.0.0: {} + + delegates@1.0.0: {} + + depd@1.1.2: {} + + depd@2.0.0: {} + + destroy@1.2.0: {} + + detect-indent@4.0.0: + dependencies: + repeating: 2.0.1 + + detect-indent@5.0.0: {} + + detect-libc@2.1.2: {} + + devtools-protocol@0.0.1581282: {} + + diff@3.5.1: {} + + doctrine@2.1.0: + dependencies: + esutils: 2.0.3 + + dom-serializer@2.0.0: + dependencies: + domelementtype: 2.3.0 + domhandler: 5.0.3 + entities: 4.5.0 + + domelementtype@2.3.0: {} + + domhandler@5.0.3: + dependencies: + domelementtype: 2.3.0 + + domutils@3.2.2: + dependencies: + dom-serializer: 2.0.0 + domelementtype: 2.3.0 + domhandler: 5.0.3 + + dot-prop@3.0.0: + dependencies: + is-obj: 1.0.1 + + dot-prop@4.2.1: + dependencies: + is-obj: 1.0.1 + + dot-prop@6.0.1: + dependencies: + is-obj: 2.0.0 + + double-ended-queue@2.1.0-0: {} + + dunder-proto@1.0.1: + dependencies: + call-bind-apply-helpers: 1.0.2 + es-errors: 1.3.0 + gopd: 1.2.0 + + duplexer2@0.1.4: + dependencies: + readable-stream: 2.3.8 + + ecc-jsbn@0.1.2: + dependencies: + jsbn: 0.1.1 + safer-buffer: 2.1.2 + + ecdsa-sig-formatter@1.0.11: + dependencies: + safe-buffer: 5.2.1 + + ee-first@1.1.1: {} + + emoji-regex@8.0.0: {} + + empower-core@0.6.2: + dependencies: + call-signature: 0.0.2 + core-js: 2.6.12 + + encodeurl@1.0.2: {} + + encoding-sniffer@0.2.1: + dependencies: + iconv-lite: 0.6.3 + whatwg-encoding: 3.1.1 + + end-of-stream@1.4.5: + dependencies: + once: 1.4.0 + + entities@4.5.0: {} + + entities@6.0.1: {} + + entities@7.0.1: {} + + env-paths@2.2.1: {} + + equal-length@1.0.1: {} + + error-ex@1.3.4: + dependencies: + is-arrayish: 0.2.1 + + es-abstract@1.24.1: + dependencies: + array-buffer-byte-length: 1.0.2 + arraybuffer.prototype.slice: 1.0.4 + available-typed-arrays: 1.0.7 + call-bind: 1.0.8 + call-bound: 1.0.4 + data-view-buffer: 1.0.2 + data-view-byte-length: 1.0.2 + data-view-byte-offset: 1.0.1 + es-define-property: 1.0.1 + es-errors: 1.3.0 + es-object-atoms: 1.1.1 + es-set-tostringtag: 2.1.0 + es-to-primitive: 1.3.0 + function.prototype.name: 1.1.8 + get-intrinsic: 1.3.0 + get-proto: 1.0.1 + get-symbol-description: 1.1.0 + globalthis: 1.0.4 + gopd: 1.2.0 + has-property-descriptors: 1.0.2 + has-proto: 1.2.0 + has-symbols: 1.1.0 + hasown: 2.0.2 + internal-slot: 1.1.0 + is-array-buffer: 3.0.5 + is-callable: 1.2.7 + is-data-view: 1.0.2 + is-negative-zero: 2.0.3 + is-regex: 1.2.1 + is-set: 2.0.3 + is-shared-array-buffer: 1.0.4 + is-string: 1.1.1 + is-typed-array: 1.1.15 + is-weakref: 1.1.1 + math-intrinsics: 1.1.0 + object-inspect: 1.13.4 + object-keys: 1.1.1 + object.assign: 4.1.7 + own-keys: 1.0.1 + regexp.prototype.flags: 1.5.4 + safe-array-concat: 1.1.3 + safe-push-apply: 1.0.0 + safe-regex-test: 1.1.0 + set-proto: 1.0.0 + stop-iteration-iterator: 1.1.0 + string.prototype.trim: 1.2.10 + string.prototype.trimend: 1.0.9 + string.prototype.trimstart: 1.0.8 + typed-array-buffer: 1.0.3 + typed-array-byte-length: 1.0.3 + typed-array-byte-offset: 1.0.4 + typed-array-length: 1.0.7 + unbox-primitive: 1.1.0 + which-typed-array: 1.1.20 + + es-define-property@1.0.1: {} + + es-errors@1.3.0: {} + + es-object-atoms@1.1.1: + dependencies: + es-errors: 1.3.0 + + es-set-tostringtag@2.1.0: + dependencies: + es-errors: 1.3.0 + get-intrinsic: 1.3.0 + has-tostringtag: 1.0.2 + hasown: 2.0.2 + + es-shim-unscopables@1.1.0: + dependencies: + hasown: 2.0.2 + + es-to-primitive@1.3.0: + dependencies: + is-callable: 1.2.7 + is-date-object: 1.1.0 + is-symbol: 1.1.1 + + escalade@3.2.0: {} + + escape-html@1.0.3: {} + + escape-string-regexp@1.0.5: {} + + escape-string-regexp@2.0.0: {} + + escodegen@2.1.0: + dependencies: + esprima: 4.0.1 + estraverse: 5.3.0 + esutils: 2.0.3 + optionalDependencies: + source-map: 0.6.1 + + eslint-config-think@1.0.3(eslint@4.19.1): + dependencies: + babel-eslint: 10.1.0(eslint@4.19.1) + eslint-plugin-import: 2.32.0(eslint@4.19.1) + eslint-plugin-node: 5.2.1(eslint@4.19.1) + eslint-plugin-promise: 3.8.0 + eslint-plugin-standard: 3.1.0(eslint@4.19.1) + transitivePeerDependencies: + - '@typescript-eslint/parser' + - eslint + - eslint-import-resolver-typescript + - eslint-import-resolver-webpack + - supports-color + + eslint-import-resolver-node@0.3.9: + dependencies: + debug: 3.2.7 + is-core-module: 2.16.1 + resolve: 1.22.11 + transitivePeerDependencies: + - supports-color + + eslint-module-utils@2.12.1(eslint-import-resolver-node@0.3.9)(eslint@4.19.1): + dependencies: + debug: 3.2.7 + optionalDependencies: + eslint: 4.19.1 + eslint-import-resolver-node: 0.3.9 + transitivePeerDependencies: + - supports-color + + eslint-plugin-import@2.32.0(eslint@4.19.1): + dependencies: + '@rtsao/scc': 1.1.0 + array-includes: 3.1.9 + array.prototype.findlastindex: 1.2.6 + array.prototype.flat: 1.3.3 + array.prototype.flatmap: 1.3.3 + debug: 3.2.7 + doctrine: 2.1.0 + eslint: 4.19.1 + eslint-import-resolver-node: 0.3.9 + eslint-module-utils: 2.12.1(eslint-import-resolver-node@0.3.9)(eslint@4.19.1) + hasown: 2.0.2 + is-core-module: 2.16.1 + is-glob: 4.0.3 + minimatch: 3.1.2 + object.fromentries: 2.0.8 + object.groupby: 1.0.3 + object.values: 1.2.1 + semver: 6.3.1 + string.prototype.trimend: 1.0.9 + tsconfig-paths: 3.15.0 + transitivePeerDependencies: + - eslint-import-resolver-typescript + - eslint-import-resolver-webpack + - supports-color + + eslint-plugin-node@5.2.1(eslint@4.19.1): + dependencies: + eslint: 4.19.1 + ignore: 3.3.10 + minimatch: 3.1.2 + resolve: 1.22.11 + semver: 5.3.0 + + eslint-plugin-promise@3.8.0: {} + + eslint-plugin-standard@3.1.0(eslint@4.19.1): + dependencies: + eslint: 4.19.1 + + eslint-scope@3.7.3: + dependencies: + esrecurse: 4.3.0 + estraverse: 4.3.0 + + eslint-visitor-keys@1.3.0: {} + + eslint@4.19.1: + dependencies: + ajv: 5.5.2 + babel-code-frame: 6.26.0 + chalk: 2.4.2 + concat-stream: 1.6.2 + cross-spawn: 5.1.0 + debug: 3.2.7 + doctrine: 2.1.0 + eslint-scope: 3.7.3 + eslint-visitor-keys: 1.3.0 + espree: 3.5.4 + esquery: 1.7.0 + esutils: 2.0.3 + file-entry-cache: 2.0.0 + functional-red-black-tree: 1.0.1 + glob: 7.2.3 + globals: 11.12.0 + ignore: 3.3.10 + imurmurhash: 0.1.4 + inquirer: 3.3.0 + is-resolvable: 1.1.0 + js-yaml: 3.14.2 + json-stable-stringify-without-jsonify: 1.0.1 + levn: 0.3.0 + lodash: 4.17.23 + minimatch: 3.1.2 + mkdirp: 0.5.6 + natural-compare: 1.4.0 + optionator: 0.8.3 + path-is-inside: 1.0.2 + pluralize: 7.0.0 + progress: 2.0.3 + regexpp: 1.1.0 + require-uncached: 1.0.3 + semver: 5.7.2 + strip-ansi: 4.0.0 + strip-json-comments: 2.0.1 + table: 4.0.2 + text-table: 0.2.0 + transitivePeerDependencies: + - supports-color + + espower-location-detector@1.0.0: + dependencies: + is-url: 1.2.4 + path-is-absolute: 1.0.1 + source-map: 0.5.7 + xtend: 4.0.2 + + espree@3.5.4: + dependencies: + acorn: 5.7.4 + acorn-jsx: 3.0.1 + + esprima@4.0.1: {} + + espurify@1.8.1: + dependencies: + core-js: 2.6.12 + + esquery@1.7.0: + dependencies: + estraverse: 5.3.0 + + esrecurse@4.3.0: + dependencies: + estraverse: 5.3.0 + + estraverse@4.3.0: {} + + estraverse@5.3.0: {} + + esutils@2.0.3: {} + + events-universal@1.0.1: + dependencies: + bare-events: 2.8.2 + transitivePeerDependencies: + - bare-abort-controller + + execa@0.7.0: + dependencies: + cross-spawn: 5.1.0 + get-stream: 3.0.0 + is-stream: 1.1.0 + npm-run-path: 2.0.2 + p-finally: 1.0.0 + signal-exit: 3.0.7 + strip-eof: 1.0.0 + + expand-brackets@0.1.5: + dependencies: + is-posix-bracket: 0.1.1 + + expand-brackets@2.1.4: + dependencies: + debug: 2.6.9 + define-property: 0.2.5 + extend-shallow: 2.0.1 + posix-character-classes: 0.1.1 + regex-not: 1.0.2 + snapdragon: 0.8.2 + to-regex: 3.0.2 + transitivePeerDependencies: + - supports-color + + expand-range@1.8.2: + dependencies: + fill-range: 2.2.4 + + extend-shallow@2.0.1: + dependencies: + is-extendable: 0.1.1 + + extend-shallow@3.0.2: + dependencies: + assign-symbols: 1.0.0 + is-extendable: 1.0.1 + + extend@3.0.2: {} + + external-editor@2.2.0: + dependencies: + chardet: 0.4.2 + iconv-lite: 0.4.24 + tmp: 0.0.33 + + extglob@0.3.2: + dependencies: + is-extglob: 1.0.0 + + extglob@2.0.4: + dependencies: + array-unique: 0.3.2 + define-property: 1.0.0 + expand-brackets: 2.1.4 + extend-shallow: 2.0.1 + fragment-cache: 0.2.1 + regex-not: 1.0.2 + snapdragon: 0.8.2 + to-regex: 3.0.2 + transitivePeerDependencies: + - supports-color + + extract-zip@2.0.1: + dependencies: + debug: 4.4.3 + get-stream: 5.2.0 + yauzl: 2.10.0 + optionalDependencies: + '@types/yauzl': 2.10.3 + transitivePeerDependencies: + - supports-color + + extsprintf@1.3.0: {} + + fast-deep-equal@1.1.0: {} + + fast-deep-equal@3.1.3: {} + + fast-fifo@1.3.2: {} + + fast-json-stable-stringify@2.1.0: {} + + fast-levenshtein@2.0.6: {} + + fast-xml-parser@4.2.5: + dependencies: + strnum: 1.1.2 + + fd-slicer@1.1.0: + dependencies: + pend: 1.2.0 + + figures@2.0.0: + dependencies: + escape-string-regexp: 1.0.5 + + file-entry-cache@2.0.0: + dependencies: + flat-cache: 1.3.4 + object-assign: 4.1.1 + + file-uri-to-path@1.0.0: + optional: true + + filename-regex@2.0.1: {} + + fill-range@2.2.4: + dependencies: + is-number: 2.1.0 + isobject: 2.1.0 + randomatic: 3.1.1 + repeat-element: 1.1.4 + repeat-string: 1.6.1 + + fill-range@4.0.0: + dependencies: + extend-shallow: 2.0.1 + is-number: 3.0.0 + repeat-string: 1.6.1 + to-regex-range: 2.1.1 + + filled-array@1.1.0: {} + + find-cache-dir@0.1.1: + dependencies: + commondir: 1.0.1 + mkdirp: 0.5.6 + pkg-dir: 1.0.0 + + find-up@1.1.2: + dependencies: + path-exists: 2.1.0 + pinkie-promise: 2.0.1 + + find-up@2.1.0: + dependencies: + locate-path: 2.0.0 + + find-up@3.0.0: + dependencies: + locate-path: 3.0.0 + + flat-cache@1.3.4: + dependencies: + circular-json: 0.3.3 + graceful-fs: 4.2.11 + rimraf: 2.6.3 + write: 0.2.1 + + flatted@3.3.3: {} + + flexbuffer@0.0.6: {} + + fn-name@2.0.1: {} + + follow-redirects@1.15.11: {} + + for-each@0.3.5: + dependencies: + is-callable: 1.2.7 + + for-in@1.0.2: {} + + for-own@0.1.5: + dependencies: + for-in: 1.0.2 + + forever-agent@0.6.1: {} + + form-data@2.3.3: + dependencies: + asynckit: 0.4.0 + combined-stream: 1.0.8 + mime-types: 2.1.35 + + form-data@3.0.4: + dependencies: + asynckit: 0.4.0 + combined-stream: 1.0.8 + es-set-tostringtag: 2.1.0 + hasown: 2.0.2 + mime-types: 2.1.35 + + form-data@4.0.5: + dependencies: + asynckit: 0.4.0 + combined-stream: 1.0.8 + es-set-tostringtag: 2.1.0 + hasown: 2.0.2 + mime-types: 2.1.35 + + formidable@1.2.6: {} + + fragment-cache@0.2.1: + dependencies: + map-cache: 0.2.2 + + fresh@0.5.2: {} + + fs-extra@8.1.0: + dependencies: + graceful-fs: 4.2.11 + jsonfile: 4.0.0 + universalify: 0.1.2 + + fs.realpath@1.0.0: {} + + fsevents@1.2.13: + dependencies: + bindings: 1.5.0 + nan: 2.25.0 + optional: true + + function-bind@1.1.2: {} + + function.prototype.name@1.1.8: + dependencies: + call-bind: 1.0.8 + call-bound: 1.0.4 + define-properties: 1.2.1 + functions-have-names: 1.2.3 + hasown: 2.0.2 + is-callable: 1.2.7 + + functional-red-black-tree@1.0.1: {} + + functions-have-names@1.2.3: {} + + generator-function@2.0.1: {} + + get-caller-file@2.0.5: {} + + get-intrinsic@1.3.0: + dependencies: + call-bind-apply-helpers: 1.0.2 + es-define-property: 1.0.1 + es-errors: 1.3.0 + es-object-atoms: 1.1.1 + function-bind: 1.1.2 + get-proto: 1.0.1 + gopd: 1.2.0 + has-symbols: 1.1.0 + hasown: 2.0.2 + math-intrinsics: 1.1.0 + + get-port@2.1.0: + dependencies: + pinkie-promise: 2.0.1 + + get-proto@1.0.1: + dependencies: + dunder-proto: 1.0.1 + es-object-atoms: 1.1.1 + + get-stdin@4.0.1: {} + + get-stream@3.0.0: {} + + get-stream@5.2.0: + dependencies: + pump: 3.0.4 + + get-stream@6.0.1: {} + + get-symbol-description@1.1.0: + dependencies: + call-bound: 1.0.4 + es-errors: 1.3.0 + get-intrinsic: 1.3.0 + + get-uri@6.0.5: + dependencies: + basic-ftp: 5.2.0 + data-uri-to-buffer: 6.0.2 + debug: 4.4.3 + transitivePeerDependencies: + - supports-color + + get-value@2.0.6: {} + + getpass@0.1.7: + dependencies: + assert-plus: 1.0.0 + + glob-base@0.3.0: + dependencies: + glob-parent: 2.0.0 + is-glob: 2.0.1 + + glob-parent@2.0.0: + dependencies: + is-glob: 2.0.1 + + glob@7.2.3: + 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 + + globals@11.12.0: {} + + globals@9.18.0: {} + + globalthis@1.0.4: + dependencies: + define-properties: 1.2.1 + gopd: 1.2.0 + + globby@6.1.0: + dependencies: + array-union: 1.0.2 + glob: 7.2.3 + object-assign: 4.1.1 + pify: 2.3.0 + pinkie-promise: 2.0.1 + + gopd@1.2.0: {} + + got@5.7.1: + dependencies: + '@types/keyv': 3.1.4 + '@types/responselike': 1.0.3 + create-error-class: 3.0.2 + duplexer2: 0.1.4 + is-redirect: 1.0.0 + is-retry-allowed: 1.2.0 + is-stream: 1.1.0 + lowercase-keys: 1.0.1 + node-status-codes: 1.0.0 + object-assign: 4.1.1 + parse-json: 2.2.0 + pinkie-promise: 2.0.1 + read-all-stream: 3.1.0 + readable-stream: 2.3.8 + timed-out: 3.1.3 + unzip-response: 1.0.2 + url-parse-lax: 1.0.0 + + graceful-fs@4.2.11: {} + + har-schema@2.0.0: {} + + har-validator@5.1.5: + dependencies: + ajv: 6.12.6 + har-schema: 2.0.0 + + has-ansi@2.0.0: + dependencies: + ansi-regex: 2.1.1 + + has-bigints@1.1.0: {} + + has-color@0.1.7: {} + + has-flag@2.0.0: {} + + has-flag@3.0.0: {} + + has-property-descriptors@1.0.2: + dependencies: + es-define-property: 1.0.1 + + has-proto@1.2.0: + dependencies: + dunder-proto: 1.0.1 + + has-symbols@1.1.0: {} + + has-tostringtag@1.0.2: + dependencies: + has-symbols: 1.1.0 + + has-value@0.3.1: + dependencies: + get-value: 2.0.6 + has-values: 0.1.4 + isobject: 2.1.0 + + has-value@1.0.0: + dependencies: + get-value: 2.0.6 + has-values: 1.0.0 + isobject: 3.0.1 + + has-values@0.1.4: {} + + has-values@1.0.0: + dependencies: + is-number: 3.0.0 + kind-of: 4.0.0 + + has-yarn@1.0.0: {} + + hasown@2.0.2: + dependencies: + function-bind: 1.1.2 + + home-or-tmp@2.0.0: + dependencies: + os-homedir: 1.0.2 + os-tmpdir: 1.0.2 + + hosted-git-info@2.8.9: {} + + htmlparser2@10.1.0: + dependencies: + domelementtype: 2.3.0 + domhandler: 5.0.3 + domutils: 3.2.2 + entities: 7.0.1 + + http-assert@1.5.0: + dependencies: + deep-equal: 1.0.1 + http-errors: 1.8.1 + + http-errors@1.6.3: + dependencies: + depd: 1.1.2 + inherits: 2.0.3 + setprototypeof: 1.1.0 + statuses: 1.5.0 + + http-errors@1.8.1: + dependencies: + depd: 1.1.2 + inherits: 2.0.4 + setprototypeof: 1.2.0 + statuses: 1.5.0 + toidentifier: 1.0.1 + + http-errors@2.0.1: + dependencies: + depd: 2.0.0 + inherits: 2.0.4 + setprototypeof: 1.2.0 + statuses: 2.0.2 + toidentifier: 1.0.1 + + http-proxy-agent@7.0.2: + dependencies: + agent-base: 7.1.4 + debug: 4.4.3 + transitivePeerDependencies: + - supports-color + + http-signature@1.2.0: + dependencies: + assert-plus: 1.0.0 + jsprim: 1.4.2 + sshpk: 1.18.0 + + https-proxy-agent@5.0.1: + dependencies: + agent-base: 6.0.2 + debug: 4.4.3 + transitivePeerDependencies: + - supports-color + + https-proxy-agent@7.0.6: + dependencies: + agent-base: 7.1.4 + debug: 4.4.3 + transitivePeerDependencies: + - supports-color + + iconv-lite@0.4.24: + dependencies: + safer-buffer: 2.1.2 + + iconv-lite@0.6.3: + dependencies: + safer-buffer: 2.1.2 + + ignore-by-default@1.0.1: {} + + ignore@3.3.10: {} + + import-fresh@3.3.1: + dependencies: + parent-module: 1.0.1 + resolve-from: 4.0.0 + + imurmurhash@0.1.4: {} + + indent-string@2.1.0: + dependencies: + repeating: 2.0.1 + + indent-string@3.2.0: {} + + inflation@2.1.0: {} + + inflight@1.0.6: + dependencies: + once: 1.4.0 + wrappy: 1.0.2 + + inherits@2.0.3: {} + + inherits@2.0.4: {} + + ini@1.3.8: {} + + ini@5.0.0: {} + + inquirer@3.3.0: + dependencies: + ansi-escapes: 3.2.0 + chalk: 2.4.2 + cli-cursor: 2.1.0 + cli-width: 2.2.1 + external-editor: 2.2.0 + figures: 2.0.0 + lodash: 4.17.23 + mute-stream: 0.0.7 + run-async: 2.4.1 + rx-lite: 4.0.8 + rx-lite-aggregates: 4.0.8 + string-width: 2.1.1 + strip-ansi: 4.0.0 + through: 2.3.8 + + internal-slot@1.1.0: + dependencies: + es-errors: 1.3.0 + hasown: 2.0.2 + side-channel: 1.1.0 + + invariant@2.2.4: + dependencies: + loose-envify: 1.4.0 + + ioredis@2.5.0: + dependencies: + bluebird: 3.7.2 + cluster-key-slot: 1.1.2 + debug: 2.6.9 + double-ended-queue: 2.1.0-0 + flexbuffer: 0.0.6 + lodash: 4.17.23 + redis-commands: 1.7.0 + redis-parser: 1.3.0 + transitivePeerDependencies: + - supports-color + + ip-address@10.1.0: {} + + irregular-plurals@1.4.0: {} + + is-accessor-descriptor@1.0.1: + dependencies: + hasown: 2.0.2 + + is-arguments@1.2.0: + dependencies: + call-bound: 1.0.4 + has-tostringtag: 1.0.2 + + is-array-buffer@3.0.5: + dependencies: + call-bind: 1.0.8 + call-bound: 1.0.4 + get-intrinsic: 1.3.0 + + is-arrayish@0.2.1: {} + + is-arrayish@0.3.4: {} + + is-async-function@2.1.1: + dependencies: + async-function: 1.0.0 + call-bound: 1.0.4 + get-proto: 1.0.1 + has-tostringtag: 1.0.2 + safe-regex-test: 1.1.0 + + is-bigint@1.1.0: + dependencies: + has-bigints: 1.1.0 + + is-binary-path@1.0.1: + dependencies: + binary-extensions: 1.13.1 + + is-boolean-object@1.2.2: + dependencies: + call-bound: 1.0.4 + has-tostringtag: 1.0.2 + + is-buffer@1.1.6: {} + + is-callable@1.2.7: {} + + is-ci@1.2.1: + dependencies: + ci-info: 1.6.0 + + is-core-module@2.16.1: + dependencies: + hasown: 2.0.2 + + is-data-descriptor@1.0.1: + dependencies: + hasown: 2.0.2 + + is-data-view@1.0.2: + dependencies: + call-bound: 1.0.4 + get-intrinsic: 1.3.0 + is-typed-array: 1.1.15 + + is-date-object@1.1.0: + dependencies: + call-bound: 1.0.4 + has-tostringtag: 1.0.2 + + is-descriptor@0.1.7: + dependencies: + is-accessor-descriptor: 1.0.1 + is-data-descriptor: 1.0.1 + + is-descriptor@1.0.3: + dependencies: + is-accessor-descriptor: 1.0.1 + is-data-descriptor: 1.0.1 + + is-dotfile@1.0.3: {} + + is-equal-shallow@0.1.3: + dependencies: + is-primitive: 2.0.0 + + is-error@2.2.2: {} + + is-extendable@0.1.1: {} + + is-extendable@1.0.1: + dependencies: + is-plain-object: 2.0.4 + + is-extglob@1.0.0: {} + + is-extglob@2.1.1: {} + + is-finalizationregistry@1.1.1: + dependencies: + call-bound: 1.0.4 + + is-finite@1.1.0: {} + + is-fullwidth-code-point@1.0.0: + dependencies: + number-is-nan: 1.0.1 + + is-fullwidth-code-point@2.0.0: {} + + is-fullwidth-code-point@3.0.0: {} + + is-generator-fn@1.0.0: {} + + is-generator-function@1.1.2: + dependencies: + call-bound: 1.0.4 + generator-function: 2.0.1 + get-proto: 1.0.1 + has-tostringtag: 1.0.2 + safe-regex-test: 1.1.0 + + is-glob@2.0.1: + dependencies: + is-extglob: 1.0.0 + + is-glob@4.0.3: + dependencies: + is-extglob: 2.1.1 + + is-map@2.0.3: {} + + is-nan@1.3.2: + dependencies: + call-bind: 1.0.8 + define-properties: 1.2.1 + + is-negative-zero@2.0.3: {} + + is-npm@1.0.0: {} + + is-number-object@1.1.1: + dependencies: + call-bound: 1.0.4 + has-tostringtag: 1.0.2 + + is-number@2.1.0: + dependencies: + kind-of: 3.2.2 + + is-number@3.0.0: + dependencies: + kind-of: 3.2.2 + + is-number@4.0.0: {} + + is-obj@1.0.1: {} + + is-obj@2.0.0: {} + + is-observable@0.2.0: + dependencies: + symbol-observable: 0.2.4 + + is-plain-obj@1.1.0: {} + + is-plain-object@2.0.4: + dependencies: + isobject: 3.0.1 + + is-posix-bracket@0.1.1: {} + + is-primitive@2.0.0: {} + + is-promise@2.2.2: {} + + is-redirect@1.0.0: {} + + is-regex@1.2.1: + dependencies: + call-bound: 1.0.4 + gopd: 1.2.0 + has-tostringtag: 1.0.2 + hasown: 2.0.2 + + is-resolvable@1.1.0: {} + + is-retry-allowed@1.2.0: {} + + is-set@2.0.3: {} + + is-shared-array-buffer@1.0.4: + dependencies: + call-bound: 1.0.4 + + is-stream@1.1.0: {} + + is-stream@2.0.1: {} + + is-string@1.1.1: + dependencies: + call-bound: 1.0.4 + has-tostringtag: 1.0.2 + + is-symbol@1.1.1: + dependencies: + call-bound: 1.0.4 + has-symbols: 1.1.0 + safe-regex-test: 1.1.0 + + is-typed-array@1.1.15: + dependencies: + which-typed-array: 1.1.20 + + is-typedarray@1.0.0: {} + + is-url@1.2.4: {} + + is-utf8@0.2.1: {} + + is-weakmap@2.0.2: {} + + is-weakref@1.1.1: + dependencies: + call-bound: 1.0.4 + + is-weakset@2.0.4: + dependencies: + call-bound: 1.0.4 + get-intrinsic: 1.3.0 + + is-windows@1.0.2: {} + + isarray@0.0.1: {} + + isarray@1.0.0: {} + + isarray@2.0.5: {} + + isexe@2.0.0: {} + + isobject@2.1.0: + dependencies: + isarray: 1.0.0 + + isobject@3.0.1: {} + + isstream@0.1.2: {} + + jest-diff@18.1.0: + dependencies: + chalk: 1.1.3 + diff: 3.5.1 + jest-matcher-utils: 18.1.0 + pretty-format: 18.1.0 + + jest-file-exists@17.0.0: {} + + jest-matcher-utils@18.1.0: + dependencies: + chalk: 1.1.3 + pretty-format: 18.1.0 + + jest-mock@18.0.0: {} + + jest-snapshot@18.1.0: + dependencies: + jest-diff: 18.1.0 + jest-file-exists: 17.0.0 + jest-matcher-utils: 18.1.0 + jest-util: 18.1.0 + natural-compare: 1.4.0 + pretty-format: 18.1.0 + + jest-util@18.1.0: + dependencies: + chalk: 1.1.3 + diff: 3.5.1 + graceful-fs: 4.2.11 + jest-file-exists: 17.0.0 + jest-mock: 18.0.0 + mkdirp: 0.5.6 + + js-tokens@3.0.2: {} + + js-tokens@4.0.0: {} + + js-yaml@3.14.2: + dependencies: + argparse: 1.0.10 + esprima: 4.0.1 + + js-yaml@4.1.1: + dependencies: + argparse: 2.0.1 + + jsbn@0.1.1: {} + + jsesc@0.5.0: {} + + jsesc@1.3.0: {} + + jsesc@3.1.0: {} + + json-bigint@1.0.0: + dependencies: + bignumber.js: 9.0.0 + + json-parse-better-errors@1.0.2: {} + + json-parse-even-better-errors@2.3.1: {} + + json-schema-traverse@0.3.1: {} + + json-schema-traverse@0.4.1: {} + + json-schema-traverse@1.0.0: {} + + json-schema-typed@7.0.3: {} + + json-schema@0.4.0: {} + + json-stable-stringify-without-jsonify@1.0.1: {} + + json-stringify-safe@5.0.1: {} + + json5@0.5.1: {} + + json5@1.0.2: + dependencies: + minimist: 1.2.8 + + jsonfile@4.0.0: + optionalDependencies: + graceful-fs: 4.2.11 + + jsonwebtoken@9.0.3: + dependencies: + jws: 4.0.1 + lodash.includes: 4.3.0 + lodash.isboolean: 3.0.3 + lodash.isinteger: 4.0.4 + lodash.isnumber: 3.0.3 + lodash.isplainobject: 4.0.6 + lodash.isstring: 4.0.1 + lodash.once: 4.1.1 + ms: 2.1.3 + semver: 7.7.4 + + jsprim@1.4.2: + dependencies: + assert-plus: 1.0.0 + extsprintf: 1.3.0 + json-schema: 0.4.0 + verror: 1.10.0 + + jwa@2.0.1: + dependencies: + buffer-equal-constant-time: 1.0.1 + ecdsa-sig-formatter: 1.0.11 + safe-buffer: 5.2.1 + + jws@4.0.1: + dependencies: + jwa: 2.0.1 + safe-buffer: 5.2.1 + + keygrip@1.1.0: + dependencies: + tsscmp: 1.0.6 + + kind-of@3.2.2: + dependencies: + is-buffer: 1.1.6 + + kind-of@4.0.0: + dependencies: + is-buffer: 1.1.6 + + kind-of@6.0.3: {} + + koa-compose@4.1.0: {} + + koa-convert@2.0.0: + dependencies: + co: 4.6.0 + koa-compose: 4.1.0 + + koa-send@3.3.0: + dependencies: + co: 4.6.0 + debug: 2.6.9 + mz: 2.7.0 + resolve-path: 1.4.0 + transitivePeerDependencies: + - supports-color + + koa@2.16.3: + dependencies: + accepts: 1.3.8 + cache-content-type: 1.0.1 + content-disposition: 0.5.4 + content-type: 1.0.5 + cookies: 0.9.1 + debug: 4.4.3 + delegates: 1.0.0 + depd: 2.0.0 + destroy: 1.2.0 + encodeurl: 1.0.2 + escape-html: 1.0.3 + fresh: 0.5.2 + http-assert: 1.5.0 + http-errors: 1.8.1 + is-generator-function: 1.1.2 + koa-compose: 4.1.0 + koa-convert: 2.0.0 + on-finished: 2.4.1 + only: 0.0.2 + parseurl: 1.3.3 + statuses: 1.5.0 + type-is: 1.6.18 + vary: 1.1.2 + transitivePeerDependencies: + - supports-color + + last-line-stream@1.0.0: + dependencies: + through2: 2.0.5 + + latest-version@2.0.0: + dependencies: + package-json: 2.4.0 + + lazy-req@1.1.0: {} + + levn@0.3.0: + dependencies: + prelude-ls: 1.1.2 + type-check: 0.3.2 + + lines-and-columns@1.2.4: {} + + load-json-file@1.1.0: + dependencies: + graceful-fs: 4.2.11 + parse-json: 2.2.0 + pify: 2.3.0 + pinkie-promise: 2.0.1 + strip-bom: 2.0.0 + + load-json-file@2.0.0: + dependencies: + graceful-fs: 4.2.11 + parse-json: 2.2.0 + pify: 2.3.0 + strip-bom: 3.0.0 + + load-json-file@4.0.0: + dependencies: + graceful-fs: 4.2.11 + parse-json: 4.0.0 + pify: 3.0.0 + strip-bom: 3.0.0 + + locate-path@2.0.0: + dependencies: + p-locate: 2.0.0 + path-exists: 3.0.0 + + locate-path@3.0.0: + dependencies: + p-locate: 3.0.0 + path-exists: 3.0.0 + + lodash.debounce@4.0.8: {} + + lodash.difference@4.5.0: {} + + lodash.flatten@4.4.0: {} + + lodash.includes@4.3.0: {} + + lodash.isboolean@3.0.3: {} + + lodash.isequal@4.5.0: {} + + lodash.isinteger@4.0.4: {} + + lodash.isnumber@3.0.3: {} + + lodash.isplainobject@4.0.6: {} + + lodash.isstring@4.0.1: {} + + lodash.merge@4.6.2: {} + + lodash.once@4.1.1: {} + + lodash@4.17.23: {} + + log4js@6.9.1: + dependencies: + date-format: 4.0.14 + debug: 4.4.3 + flatted: 3.3.3 + rfdc: 1.4.1 + streamroller: 3.1.5 + transitivePeerDependencies: + - supports-color + + long-timeout@0.1.1: {} + + loose-envify@1.4.0: + dependencies: + js-tokens: 4.0.0 + + loud-rejection@1.6.0: + dependencies: + currently-unhandled: 0.4.1 + signal-exit: 3.0.7 + + lowercase-keys@1.0.1: {} + + lru-cache@4.1.5: + dependencies: + pseudomap: 1.0.2 + yallist: 2.1.2 + + lru-cache@7.18.3: {} + + make-dir@1.3.0: + dependencies: + pify: 3.0.0 + + make-dir@3.1.0: + dependencies: + semver: 6.3.1 + + map-cache@0.2.2: {} + + map-obj@1.0.1: {} + + map-visit@1.0.0: + dependencies: + object-visit: 1.0.1 + + matcher@0.1.2: + dependencies: + escape-string-regexp: 1.0.5 + + math-intrinsics@1.1.0: {} + + math-random@1.0.4: {} + + max-timeout@1.0.0: {} + + md5-hex@1.3.0: + dependencies: + md5-o-matic: 0.1.1 + + md5-hex@2.0.0: + dependencies: + md5-o-matic: 0.1.1 + + md5-o-matic@0.1.1: {} + + media-typer@0.3.0: {} + + meow@3.7.0: + dependencies: + camelcase-keys: 2.1.0 + decamelize: 1.2.0 + loud-rejection: 1.6.0 + map-obj: 1.0.1 + minimist: 1.2.8 + normalize-package-data: 2.5.0 + object-assign: 4.1.1 + read-pkg-up: 1.0.1 + redent: 1.0.0 + trim-newlines: 1.0.0 + + methods@1.1.2: {} + + micromatch@2.3.11: + dependencies: + arr-diff: 2.0.0 + array-unique: 0.2.1 + braces: 1.8.5 + expand-brackets: 0.1.5 + extglob: 0.3.2 + filename-regex: 2.0.1 + is-extglob: 1.0.0 + is-glob: 2.0.1 + kind-of: 3.2.2 + normalize-path: 2.1.1 + object.omit: 2.0.1 + parse-glob: 3.0.4 + regex-cache: 0.4.4 + + micromatch@3.1.10: + dependencies: + arr-diff: 4.0.0 + array-unique: 0.3.2 + braces: 2.3.2 + define-property: 2.0.2 + extend-shallow: 3.0.2 + extglob: 2.0.4 + fragment-cache: 0.2.1 + kind-of: 6.0.3 + nanomatch: 1.2.13 + object.pick: 1.3.0 + regex-not: 1.0.2 + snapdragon: 0.8.2 + to-regex: 3.0.2 + transitivePeerDependencies: + - supports-color + + mime-db@1.52.0: {} + + mime-types@2.1.35: + dependencies: + mime-db: 1.52.0 + + mimic-fn@1.2.0: {} + + mimic-fn@2.1.0: {} + + mimic-fn@3.1.0: {} + + minimatch@3.1.2: + dependencies: + brace-expansion: 1.1.12 + + minimist@1.2.8: {} + + mitt@3.0.1: {} + + mixin-deep@1.3.2: + dependencies: + for-in: 1.0.2 + is-extendable: 1.0.1 + + mkdirp@0.5.6: + dependencies: + minimist: 1.2.8 + + moment-timezone@0.5.48: + dependencies: + moment: 2.30.1 + + moment@2.30.1: {} + + ms@0.7.3: {} + + ms@1.0.0: {} + + ms@2.0.0: {} + + ms@2.1.3: {} + + multimatch@2.1.0: + dependencies: + array-differ: 1.0.0 + array-union: 1.0.2 + arrify: 1.0.1 + minimatch: 3.1.2 + + mute-stream@0.0.7: {} + + mysql@2.18.1: + dependencies: + bignumber.js: 9.0.0 + readable-stream: 2.3.7 + safe-buffer: 5.1.2 + sqlstring: 2.3.1 + + mz@2.7.0: + dependencies: + any-promise: 1.3.0 + object-assign: 4.1.1 + thenify-all: 1.6.0 + + nan@2.25.0: + optional: true + + nanomatch@1.2.13: + dependencies: + arr-diff: 4.0.0 + array-unique: 0.3.2 + define-property: 2.0.2 + extend-shallow: 3.0.2 + fragment-cache: 0.2.1 + is-windows: 1.0.2 + kind-of: 6.0.3 + object.pick: 1.3.0 + regex-not: 1.0.2 + snapdragon: 0.8.2 + to-regex: 3.0.2 + transitivePeerDependencies: + - supports-color + + natural-compare@1.4.0: {} + + negotiator@0.6.3: {} + + netmask@2.0.2: {} + + node-fetch@2.7.0: + dependencies: + whatwg-url: 5.0.0 + + node-schedule@1.3.3: + dependencies: + cron-parser: 2.18.0 + long-timeout: 0.1.1 + sorted-array-functions: 1.3.0 + + node-status-codes@1.0.0: {} + + normalize-package-data@2.5.0: + dependencies: + hosted-git-info: 2.8.9 + resolve: 1.22.11 + semver: 5.7.2 + validate-npm-package-license: 3.0.4 + + normalize-path@2.1.1: + dependencies: + remove-trailing-separator: 1.1.0 + + npm-run-path@2.0.2: + dependencies: + path-key: 2.0.1 + + nth-check@2.1.1: + dependencies: + boolbase: 1.0.0 + + number-is-nan@1.0.1: {} + + nunjucks@3.2.4: + dependencies: + a-sync-waterfall: 1.0.1 + asap: 2.0.6 + commander: 5.1.0 + + nyc@7.1.0: {} + + oauth-sign@0.9.0: {} + + object-assign@4.1.1: {} + + object-copy@0.1.0: + dependencies: + copy-descriptor: 0.1.1 + define-property: 0.2.5 + kind-of: 3.2.2 + + object-inspect@1.13.4: {} + + object-is@1.1.6: + dependencies: + call-bind: 1.0.8 + define-properties: 1.2.1 + + object-keys@1.1.1: {} + + object-visit@1.0.1: + dependencies: + isobject: 3.0.1 + + object.assign@4.1.7: + dependencies: + call-bind: 1.0.8 + call-bound: 1.0.4 + define-properties: 1.2.1 + es-object-atoms: 1.1.1 + has-symbols: 1.1.0 + object-keys: 1.1.1 + + object.fromentries@2.0.8: + dependencies: + call-bind: 1.0.8 + define-properties: 1.2.1 + es-abstract: 1.24.1 + es-object-atoms: 1.1.1 + + object.groupby@1.0.3: + dependencies: + call-bind: 1.0.8 + define-properties: 1.2.1 + es-abstract: 1.24.1 + + object.omit@2.0.1: + dependencies: + for-own: 0.1.5 + is-extendable: 0.1.1 + + object.pick@1.3.0: + dependencies: + isobject: 3.0.1 + + object.values@1.2.1: + dependencies: + call-bind: 1.0.8 + call-bound: 1.0.4 + define-properties: 1.2.1 + es-object-atoms: 1.1.1 + + observable-to-promise@0.4.0: + dependencies: + is-observable: 0.2.0 + symbol-observable: 0.2.4 + + on-finished@2.4.1: + dependencies: + ee-first: 1.1.1 + + once@1.4.0: + dependencies: + wrappy: 1.0.2 + + onetime@2.0.1: + dependencies: + mimic-fn: 1.2.0 + + onetime@5.1.2: + dependencies: + mimic-fn: 2.1.0 + + only@0.0.2: {} + + opentype.js@0.7.3: + dependencies: + tiny-inflate: 1.0.3 + + option-chain@0.1.1: + dependencies: + object-assign: 4.1.1 + + optionator@0.8.3: + dependencies: + deep-is: 0.1.4 + fast-levenshtein: 2.0.6 + levn: 0.3.0 + prelude-ls: 1.1.2 + type-check: 0.3.2 + word-wrap: 1.2.5 + + os-homedir@1.0.2: {} + + os-tmpdir@1.0.2: {} + + osenv@0.1.5: + dependencies: + os-homedir: 1.0.2 + os-tmpdir: 1.0.2 + + own-keys@1.0.1: + dependencies: + get-intrinsic: 1.3.0 + object-keys: 1.1.1 + safe-push-apply: 1.0.0 + + p-finally@1.0.0: {} + + p-limit@1.3.0: + dependencies: + p-try: 1.0.0 + + p-limit@2.3.0: + dependencies: + p-try: 2.2.0 + + p-locate@2.0.0: + dependencies: + p-limit: 1.3.0 + + p-locate@3.0.0: + dependencies: + p-limit: 2.3.0 + + p-try@1.0.0: {} + + p-try@2.2.0: {} + + pac-proxy-agent@7.2.0: + dependencies: + '@tootallnate/quickjs-emscripten': 0.23.0 + agent-base: 7.1.4 + debug: 4.4.3 + get-uri: 6.0.5 + http-proxy-agent: 7.0.2 + https-proxy-agent: 7.0.6 + pac-resolver: 7.0.1 + socks-proxy-agent: 8.0.5 + transitivePeerDependencies: + - supports-color + + pac-resolver@7.0.1: + dependencies: + degenerator: 5.0.1 + netmask: 2.0.2 + + package-hash@1.2.0: + dependencies: + md5-hex: 1.3.0 + + package-json@2.4.0: + dependencies: + got: 5.7.1 + registry-auth-token: 3.4.0 + registry-url: 3.1.0 + semver: 5.7.2 + + parent-module@1.0.1: + dependencies: + callsites: 3.1.0 + + parse-glob@3.0.4: + dependencies: + glob-base: 0.3.0 + is-dotfile: 1.0.3 + is-extglob: 1.0.0 + is-glob: 2.0.1 + + parse-json@2.2.0: + dependencies: + error-ex: 1.3.4 + + parse-json@4.0.0: + dependencies: + error-ex: 1.3.4 + json-parse-better-errors: 1.0.2 + + parse-json@5.2.0: + dependencies: + '@babel/code-frame': 7.29.0 + error-ex: 1.3.4 + json-parse-even-better-errors: 2.3.1 + lines-and-columns: 1.2.4 + + parse-ms@0.1.2: {} + + parse-ms@1.0.1: {} + + parse5-htmlparser2-tree-adapter@7.1.0: + dependencies: + domhandler: 5.0.3 + parse5: 7.3.0 + + parse5-parser-stream@7.1.2: + dependencies: + parse5: 7.3.0 + + parse5@7.3.0: + dependencies: + entities: 6.0.1 + + parseurl@1.3.3: {} + + pascalcase@0.1.1: {} + + path-exists@2.1.0: + dependencies: + pinkie-promise: 2.0.1 + + path-exists@3.0.0: {} + + path-is-absolute@1.0.1: {} + + path-is-inside@1.0.2: {} + + path-key@2.0.1: {} + + path-parse@1.0.7: {} + + path-to-regexp@1.9.0: + dependencies: + isarray: 0.0.1 + + path-type@1.1.0: + dependencies: + graceful-fs: 4.2.11 + pify: 2.3.0 + pinkie-promise: 2.0.1 + + path-type@2.0.0: + dependencies: + pify: 2.3.0 + + pend@1.2.0: {} + + performance-now@2.1.0: {} + + picocolors@1.1.1: {} + + pify@2.3.0: {} + + pify@3.0.0: {} + + pinkie-promise@1.0.0: + dependencies: + pinkie: 1.0.0 + + pinkie-promise@2.0.1: + dependencies: + pinkie: 2.0.4 + + pinkie@1.0.0: {} + + pinkie@2.0.4: {} + + pkg-conf@2.1.0: + dependencies: + find-up: 2.1.0 + load-json-file: 4.0.0 + + pkg-dir@1.0.0: + dependencies: + find-up: 1.1.2 + + pkg-up@3.1.0: + dependencies: + find-up: 3.0.0 + + plur@1.0.0: {} + + plur@2.1.2: + dependencies: + irregular-plurals: 1.4.0 + + pluralize@7.0.0: {} + + posix-character-classes@0.1.1: {} + + possible-typed-array-names@1.1.0: {} + + prelude-ls@1.1.2: {} + + prepend-http@1.0.4: {} + + preserve@0.2.0: {} + + pretty-format@18.1.0: + dependencies: + ansi-styles: 2.2.1 + + pretty-ms@0.2.2: + dependencies: + parse-ms: 0.1.2 + + pretty-ms@2.1.0: + dependencies: + is-finite: 1.1.0 + parse-ms: 1.0.1 + plur: 1.0.0 + + private@0.1.8: {} + + process-nextick-args@2.0.1: {} + + progress@2.0.3: {} + + proxy-agent@6.5.0: + dependencies: + agent-base: 7.1.4 + debug: 4.4.3 + http-proxy-agent: 7.0.2 + https-proxy-agent: 7.0.6 + lru-cache: 7.18.3 + pac-proxy-agent: 7.2.0 + proxy-from-env: 1.1.0 + socks-proxy-agent: 8.0.5 + transitivePeerDependencies: + - supports-color + + proxy-from-env@1.1.0: {} + + pseudomap@1.0.2: {} + + psl@1.15.0: + dependencies: + punycode: 2.3.1 + + pump@3.0.4: + dependencies: + end-of-stream: 1.4.5 + once: 1.4.0 + + punycode@2.3.1: {} + + puppeteer-core@24.39.1: + dependencies: + '@puppeteer/browsers': 2.13.0 + chromium-bidi: 14.0.0(devtools-protocol@0.0.1581282) + debug: 4.4.3 + devtools-protocol: 0.0.1581282 + typed-query-selector: 2.12.1 + webdriver-bidi-protocol: 0.4.1 + ws: 8.19.0 + transitivePeerDependencies: + - bare-abort-controller + - bare-buffer + - bufferutil + - react-native-b4a + - supports-color + - utf-8-validate + + puppeteer@24.39.1: + dependencies: + '@puppeteer/browsers': 2.13.0 + chromium-bidi: 14.0.0(devtools-protocol@0.0.1581282) + cosmiconfig: 9.0.1 + devtools-protocol: 0.0.1581282 + puppeteer-core: 24.39.1 + typed-query-selector: 2.12.1 + transitivePeerDependencies: + - bare-abort-controller + - bare-buffer + - bufferutil + - react-native-b4a + - supports-color + - typescript + - utf-8-validate + + qs@6.5.3: {} + + randomatic@3.1.1: + dependencies: + is-number: 4.0.0 + kind-of: 6.0.3 + math-random: 1.0.4 + + raw-body@2.5.3: + dependencies: + bytes: 3.1.2 + http-errors: 2.0.1 + iconv-lite: 0.4.24 + unpipe: 1.0.0 + + rc@1.2.8: + dependencies: + deep-extend: 0.6.0 + ini: 1.3.8 + minimist: 1.2.8 + strip-json-comments: 2.0.1 + + read-all-stream@3.1.0: + dependencies: + pinkie-promise: 2.0.1 + readable-stream: 2.3.8 + + read-pkg-up@1.0.1: + dependencies: + find-up: 1.1.2 + read-pkg: 1.1.0 + + read-pkg-up@2.0.0: + dependencies: + find-up: 2.1.0 + read-pkg: 2.0.0 + + read-pkg@1.1.0: + dependencies: + load-json-file: 1.1.0 + normalize-package-data: 2.5.0 + path-type: 1.1.0 + + read-pkg@2.0.0: + dependencies: + load-json-file: 2.0.0 + normalize-package-data: 2.5.0 + path-type: 2.0.0 + + readable-stream@2.3.7: + dependencies: + core-util-is: 1.0.3 + inherits: 2.0.4 + isarray: 1.0.0 + process-nextick-args: 2.0.1 + safe-buffer: 5.1.2 + string_decoder: 1.1.1 + util-deprecate: 1.0.2 + + readable-stream@2.3.8: + dependencies: + core-util-is: 1.0.3 + inherits: 2.0.4 + isarray: 1.0.0 + process-nextick-args: 2.0.1 + safe-buffer: 5.1.2 + string_decoder: 1.1.1 + util-deprecate: 1.0.2 + + readdirp@2.2.1: + dependencies: + graceful-fs: 4.2.11 + micromatch: 3.1.10 + readable-stream: 2.3.8 + transitivePeerDependencies: + - supports-color + + redent@1.0.0: + dependencies: + indent-string: 2.1.0 + strip-indent: 1.0.1 + + redis-commands@1.7.0: {} + + redis-parser@1.3.0: {} + + reflect.getprototypeof@1.0.10: + dependencies: + call-bind: 1.0.8 + define-properties: 1.2.1 + es-abstract: 1.24.1 + es-errors: 1.3.0 + es-object-atoms: 1.1.1 + get-intrinsic: 1.3.0 + get-proto: 1.0.1 + which-builtin-type: 1.2.1 + + regenerate@1.4.2: {} + + regenerator-runtime@0.11.1: {} + + regex-cache@0.4.4: + dependencies: + is-equal-shallow: 0.1.3 + + regex-not@1.0.2: + dependencies: + extend-shallow: 3.0.2 + safe-regex: 1.1.0 + + regexp.prototype.flags@1.5.4: + dependencies: + call-bind: 1.0.8 + define-properties: 1.2.1 + es-errors: 1.3.0 + get-proto: 1.0.1 + gopd: 1.2.0 + set-function-name: 2.0.2 + + regexpp@1.1.0: {} + + regexpu-core@2.0.0: + dependencies: + regenerate: 1.4.2 + regjsgen: 0.2.0 + regjsparser: 0.1.5 + + registry-auth-token@3.4.0: + dependencies: + rc: 1.2.8 + safe-buffer: 5.2.1 + + registry-url@3.1.0: + dependencies: + rc: 1.2.8 + + regjsgen@0.2.0: {} + + regjsparser@0.1.5: + dependencies: + jsesc: 0.5.0 + + remove-trailing-separator@1.1.0: {} + + repeat-element@1.1.4: {} + + repeat-string@1.6.1: {} + + repeating@2.0.1: + dependencies: + is-finite: 1.1.0 + + request@2.88.2: + dependencies: + aws-sign2: 0.7.0 + aws4: 1.13.2 + caseless: 0.12.0 + combined-stream: 1.0.8 + extend: 3.0.2 + forever-agent: 0.6.1 + form-data: 2.3.3 + har-validator: 5.1.5 + http-signature: 1.2.0 + is-typedarray: 1.0.0 + isstream: 0.1.2 + json-stringify-safe: 5.0.1 + mime-types: 2.1.35 + oauth-sign: 0.9.0 + performance-now: 2.1.0 + qs: 6.5.3 + safe-buffer: 5.2.1 + tough-cookie: 2.5.0 + tunnel-agent: 0.6.0 + uuid: 3.4.0 + + require-directory@2.1.1: {} + + require-from-string@2.0.2: {} + + require-precompiled@0.1.0: {} + + require-uncached@1.0.3: + dependencies: + caller-path: 0.1.0 + resolve-from: 1.0.1 + + resolve-cwd@1.0.0: + dependencies: + resolve-from: 2.0.0 + + resolve-from@1.0.1: {} + + resolve-from@2.0.0: {} + + resolve-from@4.0.0: {} + + resolve-path@1.4.0: + dependencies: + http-errors: 1.6.3 + path-is-absolute: 1.0.1 + + resolve-url@0.2.1: {} + + resolve@1.22.11: + dependencies: + is-core-module: 2.16.1 + path-parse: 1.0.7 + supports-preserve-symlinks-flag: 1.0.0 + + restore-cursor@2.0.0: + dependencies: + onetime: 2.0.1 + signal-exit: 3.0.7 + + ret@0.1.15: {} + + rfdc@1.4.1: {} + + rimraf@2.6.3: + dependencies: + glob: 7.2.3 + + run-async@2.4.1: {} + + rx-lite-aggregates@4.0.8: + dependencies: + rx-lite: 4.0.8 + + rx-lite@4.0.8: {} + + safe-array-concat@1.1.3: + dependencies: + call-bind: 1.0.8 + call-bound: 1.0.4 + get-intrinsic: 1.3.0 + has-symbols: 1.1.0 + isarray: 2.0.5 + + safe-buffer@5.1.2: {} + + safe-buffer@5.2.1: {} + + safe-push-apply@1.0.0: + dependencies: + es-errors: 1.3.0 + isarray: 2.0.5 + + safe-regex-test@1.1.0: + dependencies: + call-bound: 1.0.4 + es-errors: 1.3.0 + is-regex: 1.2.1 + + safe-regex@1.1.0: + dependencies: + ret: 0.1.15 + + safer-buffer@2.1.2: {} + + sax@1.4.4: {} + + semver-diff@2.1.0: + dependencies: + semver: 5.7.2 + + semver@5.3.0: {} + + semver@5.7.2: {} + + semver@6.3.1: {} + + semver@7.7.4: {} + + set-function-length@1.2.2: + dependencies: + define-data-property: 1.1.4 + es-errors: 1.3.0 + function-bind: 1.1.2 + get-intrinsic: 1.3.0 + gopd: 1.2.0 + has-property-descriptors: 1.0.2 + + set-function-name@2.0.2: + dependencies: + define-data-property: 1.1.4 + es-errors: 1.3.0 + functions-have-names: 1.2.3 + has-property-descriptors: 1.0.2 + + set-proto@1.0.0: + dependencies: + dunder-proto: 1.0.1 + es-errors: 1.3.0 + es-object-atoms: 1.1.1 + + set-value@2.0.1: + dependencies: + extend-shallow: 2.0.1 + is-extendable: 0.1.1 + is-plain-object: 2.0.4 + split-string: 3.1.0 + + setprototypeof@1.1.0: {} + + setprototypeof@1.2.0: {} + + sharp@0.33.5: + dependencies: + color: 4.2.3 + detect-libc: 2.1.2 + semver: 7.7.4 + optionalDependencies: + '@img/sharp-darwin-arm64': 0.33.5 + '@img/sharp-darwin-x64': 0.33.5 + '@img/sharp-libvips-darwin-arm64': 1.0.4 + '@img/sharp-libvips-darwin-x64': 1.0.4 + '@img/sharp-libvips-linux-arm': 1.0.5 + '@img/sharp-libvips-linux-arm64': 1.0.4 + '@img/sharp-libvips-linux-s390x': 1.0.4 + '@img/sharp-libvips-linux-x64': 1.0.4 + '@img/sharp-libvips-linuxmusl-arm64': 1.0.4 + '@img/sharp-libvips-linuxmusl-x64': 1.0.4 + '@img/sharp-linux-arm': 0.33.5 + '@img/sharp-linux-arm64': 0.33.5 + '@img/sharp-linux-s390x': 0.33.5 + '@img/sharp-linux-x64': 0.33.5 + '@img/sharp-linuxmusl-arm64': 0.33.5 + '@img/sharp-linuxmusl-x64': 0.33.5 + '@img/sharp-wasm32': 0.33.5 + '@img/sharp-win32-ia32': 0.33.5 + '@img/sharp-win32-x64': 0.33.5 + + shebang-command@1.2.0: + dependencies: + shebang-regex: 1.0.0 + + shebang-regex@1.0.0: {} + + side-channel-list@1.0.0: + dependencies: + es-errors: 1.3.0 + object-inspect: 1.13.4 + + side-channel-map@1.0.1: + dependencies: + call-bound: 1.0.4 + es-errors: 1.3.0 + get-intrinsic: 1.3.0 + object-inspect: 1.13.4 + + side-channel-weakmap@1.0.2: + dependencies: + call-bound: 1.0.4 + es-errors: 1.3.0 + get-intrinsic: 1.3.0 + object-inspect: 1.13.4 + side-channel-map: 1.0.1 + + side-channel@1.1.0: + dependencies: + es-errors: 1.3.0 + object-inspect: 1.13.4 + side-channel-list: 1.0.0 + side-channel-map: 1.0.1 + side-channel-weakmap: 1.0.2 + + signal-exit@3.0.7: {} + + simple-swizzle@0.2.4: + dependencies: + is-arrayish: 0.3.4 + + slash@1.0.0: {} + + slice-ansi@0.0.4: {} + + slice-ansi@1.0.0: + dependencies: + is-fullwidth-code-point: 2.0.0 + + slide@1.1.6: {} + + smart-buffer@4.2.0: {} + + snapdragon-node@2.1.1: + dependencies: + define-property: 1.0.0 + isobject: 3.0.1 + snapdragon-util: 3.0.1 + + snapdragon-util@3.0.1: + dependencies: + kind-of: 3.2.2 + + snapdragon@0.8.2: + dependencies: + base: 0.11.2 + debug: 2.6.9 + define-property: 0.2.5 + extend-shallow: 2.0.1 + map-cache: 0.2.2 + source-map: 0.5.7 + source-map-resolve: 0.5.3 + use: 3.1.1 + transitivePeerDependencies: + - supports-color + + socks-proxy-agent@8.0.5: + dependencies: + agent-base: 7.1.4 + debug: 4.4.3 + socks: 2.8.7 + transitivePeerDependencies: + - supports-color + + socks@2.8.7: + dependencies: + ip-address: 10.1.0 + smart-buffer: 4.2.0 + + sort-keys@2.0.0: + dependencies: + is-plain-obj: 1.1.0 + + sorted-array-functions@1.3.0: {} + + source-map-resolve@0.5.3: + dependencies: + atob: 2.1.2 + decode-uri-component: 0.2.2 + resolve-url: 0.2.1 + source-map-url: 0.4.1 + urix: 0.1.0 + + source-map-support@0.4.18: + dependencies: + source-map: 0.5.7 + + source-map-url@0.4.1: {} + + source-map@0.5.7: {} + + source-map@0.6.1: + optional: true + + spdx-correct@3.2.0: + dependencies: + spdx-expression-parse: 3.0.1 + spdx-license-ids: 3.0.22 + + spdx-exceptions@2.5.0: {} + + spdx-expression-parse@3.0.1: + dependencies: + spdx-exceptions: 2.5.0 + spdx-license-ids: 3.0.22 + + spdx-license-ids@3.0.22: {} + + split-string@3.1.0: + dependencies: + extend-shallow: 3.0.2 + + sprintf-js@1.0.3: {} + + sqlstring@2.3.1: {} + + sshpk@1.18.0: + dependencies: + asn1: 0.2.6 + assert-plus: 1.0.0 + bcrypt-pbkdf: 1.0.2 + dashdash: 1.14.1 + ecc-jsbn: 0.1.2 + getpass: 0.1.7 + jsbn: 0.1.1 + safer-buffer: 2.1.2 + tweetnacl: 0.14.5 + + stack-trace@0.0.9: {} + + stack-utils@1.0.5: + dependencies: + escape-string-regexp: 2.0.0 + + static-extend@0.1.2: + dependencies: + define-property: 0.2.5 + object-copy: 0.1.0 + + statuses@1.5.0: {} + + statuses@2.0.2: {} + + stop-iteration-iterator@1.1.0: + dependencies: + es-errors: 1.3.0 + internal-slot: 1.1.0 + + streamroller@3.1.5: + dependencies: + date-format: 4.0.14 + debug: 4.4.3 + fs-extra: 8.1.0 + transitivePeerDependencies: + - supports-color + + streamx@2.25.0: + dependencies: + events-universal: 1.0.1 + fast-fifo: 1.3.2 + text-decoder: 1.2.7 + transitivePeerDependencies: + - bare-abort-controller + - react-native-b4a + + string-hash@1.1.3: {} + + string-width@1.0.2: + dependencies: + code-point-at: 1.1.0 + is-fullwidth-code-point: 1.0.0 + strip-ansi: 3.0.1 + + string-width@2.1.1: + dependencies: + is-fullwidth-code-point: 2.0.0 + strip-ansi: 4.0.0 + + string-width@4.2.3: + dependencies: + emoji-regex: 8.0.0 + is-fullwidth-code-point: 3.0.0 + strip-ansi: 6.0.1 + + string.prototype.trim@1.2.10: + dependencies: + call-bind: 1.0.8 + call-bound: 1.0.4 + define-data-property: 1.1.4 + define-properties: 1.2.1 + es-abstract: 1.24.1 + es-object-atoms: 1.1.1 + has-property-descriptors: 1.0.2 + + string.prototype.trimend@1.0.9: + dependencies: + call-bind: 1.0.8 + call-bound: 1.0.4 + define-properties: 1.2.1 + es-object-atoms: 1.1.1 + + string.prototype.trimstart@1.0.8: + dependencies: + call-bind: 1.0.8 + define-properties: 1.2.1 + es-object-atoms: 1.1.1 + + string_decoder@1.1.1: + dependencies: + safe-buffer: 5.1.2 + + strip-ansi@0.1.1: {} + + strip-ansi@3.0.1: + dependencies: + ansi-regex: 2.1.1 + + strip-ansi@4.0.0: + dependencies: + ansi-regex: 3.0.1 + + strip-ansi@6.0.1: + dependencies: + ansi-regex: 5.0.1 + + strip-bom-buf@1.0.0: + dependencies: + is-utf8: 0.2.1 + + strip-bom@2.0.0: + dependencies: + is-utf8: 0.2.1 + + strip-bom@3.0.0: {} + + strip-eof@1.0.0: {} + + strip-indent@1.0.1: + dependencies: + get-stdin: 4.0.1 + + strip-json-comments@2.0.1: {} + + strnum@1.1.2: {} + + supports-color@2.0.0: {} + + supports-color@5.5.0: + dependencies: + has-flag: 3.0.0 + + supports-preserve-symlinks-flag@1.0.0: {} + + svg-captcha@1.4.0: + dependencies: + opentype.js: 0.7.3 + + symbol-observable@0.2.4: {} + + table@4.0.2: + dependencies: + ajv: 5.5.2 + ajv-keywords: 2.1.1(ajv@5.5.2) + chalk: 2.4.2 + lodash: 4.17.23 + slice-ansi: 1.0.0 + string-width: 2.1.1 + + tar-fs@3.1.2: + dependencies: + pump: 3.0.4 + tar-stream: 3.1.8 + optionalDependencies: + bare-fs: 4.5.6 + bare-path: 3.0.0 + transitivePeerDependencies: + - bare-abort-controller + - bare-buffer + - react-native-b4a + + tar-stream@3.1.8: + dependencies: + b4a: 1.8.0 + bare-fs: 4.5.6 + fast-fifo: 1.3.2 + streamx: 2.25.0 + transitivePeerDependencies: + - bare-abort-controller + - bare-buffer + - react-native-b4a + + teex@1.0.1: + dependencies: + streamx: 2.25.0 + transitivePeerDependencies: + - bare-abort-controller + - react-native-b4a + + tencentcloud-sdk-nodejs@4.1.198: + dependencies: + form-data: 3.0.4 + get-stream: 6.0.1 + https-proxy-agent: 5.0.1 + ini: 5.0.0 + is-stream: 2.0.1 + json-bigint: 1.0.0 + node-fetch: 2.7.0 + tslib: 1.13.0 + uuid: 9.0.1 + transitivePeerDependencies: + - encoding + - supports-color + + text-decoder@1.2.7: + dependencies: + b4a: 1.8.0 + transitivePeerDependencies: + - react-native-b4a + + text-table@0.2.0: {} + + thenify-all@1.6.0: + dependencies: + thenify: 3.3.1 + + thenify@3.3.1: + dependencies: + any-promise: 1.3.0 + + think-cache-file@1.1.2: + dependencies: + think-debounce: 1.0.4 + think-gc: 1.0.3 + think-helper: 1.1.4 + think-store-file: 1.1.1 + + think-cache-redis@1.2.6: + dependencies: + think-helper: 1.1.4 + think-redis: 1.1.4 + transitivePeerDependencies: + - supports-color + + think-cache@1.1.2: + dependencies: + think-debounce: 1.0.4 + think-helper: 1.1.4 + + think-cluster@1.5.8: + dependencies: + debug: 2.6.9 + string-hash: 1.1.3 + think-helper: 1.1.4 + transitivePeerDependencies: + - supports-color + + think-config@1.1.3: + dependencies: + think-helper: 1.1.4 + + think-controller@1.0.5: + dependencies: + think-helper: 1.1.4 + + think-crontab@1.0.4: + dependencies: + debug: 2.6.9 + node-schedule: 1.3.3 + think-cluster: 1.5.8 + think-helper: 1.1.4 + think-mock-http: 1.0.6 + transitivePeerDependencies: + - supports-color + + think-debounce@1.0.4: {} + + think-gc@1.0.3: + dependencies: + think-helper: 1.1.4 + think-ms: 1.0.3 + + think-helper@1.1.4: + dependencies: + core-util-is: 1.0.3 + lodash.merge: 4.6.2 + ms: 1.0.0 + uuid: 7.0.3 + + think-instance@1.0.2: + dependencies: + think-helper: 1.1.4 + + think-loader@1.2.2: + dependencies: + debug: 2.6.9 + path-to-regexp: 1.9.0 + think-helper: 1.1.4 + thinkjs: 3.2.15 + transitivePeerDependencies: + - supports-color + + think-logger3@1.4.0: + dependencies: + log4js: 6.9.1 + transitivePeerDependencies: + - supports-color + + think-logic@1.2.2: + dependencies: + think-helper: 1.1.4 + + think-meta@1.0.6: + dependencies: + think-helper: 1.1.4 + + think-mock-http@1.0.6: + dependencies: + debug: 2.6.9 + think-helper: 1.1.4 + transitivePeerDependencies: + - supports-color + + think-model-abstract@1.6.5: + dependencies: + debug: 3.2.7 + think-helper: 1.1.4 + transitivePeerDependencies: + - supports-color + + think-model-mysql@1.1.7: + dependencies: + think-debounce: 1.0.4 + think-helper: 1.1.4 + think-model-abstract: 1.6.5 + think-mysql: 1.4.4 + transitivePeerDependencies: + - supports-color + + think-model@1.5.4: + dependencies: + think-cache: 1.1.2 + think-debounce: 1.0.4 + think-helper: 1.1.4 + think-model-abstract: 1.6.5 + transitivePeerDependencies: + - supports-color + + think-ms@1.0.3: + dependencies: + ms: 1.0.0 + + think-mysql@1.4.4: + dependencies: + debug: 2.6.9 + mysql: 2.18.1 + think-debounce: 1.0.4 + think-helper: 1.1.4 + think-instance: 1.0.2 + transitivePeerDependencies: + - supports-color + + think-payload@1.4.0: + dependencies: + formidable: 1.2.6 + inflation: 2.1.0 + on-finished: 2.4.1 + raw-body: 2.5.3 + think-helper: 1.1.4 + xml2js: 0.4.23 + + think-pm2@1.0.0: {} + + think-redis@1.1.4: + dependencies: + ioredis: 2.5.0 + think-debounce: 1.0.4 + think-helper: 1.1.4 + transitivePeerDependencies: + - supports-color + + think-resource@1.0.3: + dependencies: + debug: 2.6.9 + koa-send: 3.3.0 + think-helper: 1.1.4 + transitivePeerDependencies: + - supports-color + + think-router@1.3.5: + dependencies: + debug: 2.6.9 + path-to-regexp: 1.9.0 + think-helper: 1.1.4 + transitivePeerDependencies: + - supports-color + + think-session-file@1.1.4: + dependencies: + debug: 2.6.9 + think-debounce: 1.0.4 + think-gc: 1.0.3 + think-helper: 1.1.4 + think-store-file: 1.1.1 + transitivePeerDependencies: + - supports-color + + think-session@1.1.6: + dependencies: + think-helper: 1.1.4 + + think-store-file@1.1.1: + dependencies: + think-debounce: 1.0.4 + think-helper: 1.1.4 + + think-trace@1.0.18: + dependencies: + source-map-support: 0.4.18 + stack-trace: 0.0.9 + statuses: 1.5.0 + think-helper: 1.1.4 + + think-validator@1.6.7: + dependencies: + think-helper: 1.1.4 + validator: 9.4.1 + + think-view-nunjucks@1.0.11: + dependencies: + nunjucks: 3.2.4 + think-helper: 1.1.4 + transitivePeerDependencies: + - chokidar + + think-view@1.0.13: + dependencies: + debug: 2.6.9 + methods: 1.1.2 + think-helper: 1.1.4 + transitivePeerDependencies: + - supports-color + + think-watcher@3.0.4: + dependencies: + debug: 2.6.9 + think-helper: 1.1.4 + transitivePeerDependencies: + - supports-color + + thinkjs@3.2.15: + dependencies: + cookies: 0.8.0 + debug: 3.2.7 + destroy: 1.2.0 + koa: 2.16.3 + on-finished: 2.4.1 + think-cluster: 1.5.8 + think-config: 1.1.3 + think-controller: 1.0.5 + think-crontab: 1.0.4 + think-helper: 1.1.4 + think-loader: 1.2.2 + think-logger3: 1.4.0 + think-logic: 1.2.2 + think-meta: 1.0.6 + think-mock-http: 1.0.6 + think-payload: 1.4.0 + think-pm2: 1.0.0 + think-resource: 1.0.3 + think-router: 1.3.5 + think-trace: 1.0.18 + think-validator: 1.6.7 + transitivePeerDependencies: + - supports-color + + through2@2.0.5: + dependencies: + readable-stream: 2.3.8 + xtend: 4.0.2 + + through@2.3.8: {} + + time-require@0.1.2: + dependencies: + chalk: 0.4.0 + date-time: 0.1.1 + pretty-ms: 0.2.2 + text-table: 0.2.0 + + timed-out@3.1.3: {} + + tiny-inflate@1.0.3: {} + + tmp@0.0.33: + dependencies: + os-tmpdir: 1.0.2 + + to-fast-properties@1.0.3: {} + + to-object-path@0.3.0: + dependencies: + kind-of: 3.2.2 + + to-regex-range@2.1.1: + dependencies: + is-number: 3.0.0 + repeat-string: 1.6.1 + + to-regex@3.0.2: + dependencies: + define-property: 2.0.2 + extend-shallow: 3.0.2 + regex-not: 1.0.2 + safe-regex: 1.1.0 + + toidentifier@1.0.1: {} + + tough-cookie@2.5.0: + dependencies: + psl: 1.15.0 + punycode: 2.3.1 + + tr46@0.0.3: {} + + trim-newlines@1.0.0: {} + + trim-right@1.0.1: {} + + tsconfig-paths@3.15.0: + dependencies: + '@types/json5': 0.0.29 + json5: 1.0.2 + minimist: 1.2.8 + strip-bom: 3.0.0 + + tslib@1.13.0: {} + + tslib@2.8.1: {} + + tsscmp@1.0.6: {} + + tunnel-agent@0.6.0: + dependencies: + safe-buffer: 5.2.1 + + tweetnacl@0.14.5: {} + + type-check@0.3.2: + dependencies: + prelude-ls: 1.1.2 + + type-is@1.6.18: + dependencies: + media-typer: 0.3.0 + mime-types: 2.1.35 + + typed-array-buffer@1.0.3: + dependencies: + call-bound: 1.0.4 + es-errors: 1.3.0 + is-typed-array: 1.1.15 + + typed-array-byte-length@1.0.3: + dependencies: + call-bind: 1.0.8 + for-each: 0.3.5 + gopd: 1.2.0 + has-proto: 1.2.0 + is-typed-array: 1.1.15 + + typed-array-byte-offset@1.0.4: + dependencies: + available-typed-arrays: 1.0.7 + call-bind: 1.0.8 + for-each: 0.3.5 + gopd: 1.2.0 + has-proto: 1.2.0 + is-typed-array: 1.1.15 + reflect.getprototypeof: 1.0.10 + + typed-array-length@1.0.7: + dependencies: + call-bind: 1.0.8 + for-each: 0.3.5 + gopd: 1.2.0 + is-typed-array: 1.1.15 + possible-typed-array-names: 1.1.0 + reflect.getprototypeof: 1.0.10 + + typed-query-selector@2.12.1: {} + + typedarray@0.0.6: {} + + uid2@0.0.3: {} + + unbox-primitive@1.1.0: + dependencies: + call-bound: 1.0.4 + has-bigints: 1.1.0 + has-symbols: 1.1.0 + which-boxed-primitive: 1.1.1 + + undici-types@7.16.0: {} + + undici@7.22.0: {} + + union-value@1.0.1: + dependencies: + arr-union: 3.1.0 + get-value: 2.0.6 + is-extendable: 0.1.1 + set-value: 2.0.1 + + unique-temp-dir@1.0.0: + dependencies: + mkdirp: 0.5.6 + os-tmpdir: 1.0.2 + uid2: 0.0.3 + + universalify@0.1.2: {} + + unpipe@1.0.0: {} + + unset-value@1.0.0: + dependencies: + has-value: 0.3.1 + isobject: 3.0.1 + + unzip-response@1.0.2: {} + + update-notifier@1.0.3: + dependencies: + boxen: 0.6.0 + chalk: 1.1.3 + configstore: 2.1.0 + is-npm: 1.0.0 + latest-version: 2.0.0 + lazy-req: 1.1.0 + semver-diff: 2.1.0 + xdg-basedir: 2.0.0 + + uri-js@4.4.1: + dependencies: + punycode: 2.3.1 + + urix@0.1.0: {} + + url-parse-lax@1.0.0: + dependencies: + prepend-http: 1.0.4 + + use@3.1.1: {} + + util-deprecate@1.0.2: {} + + uuid@2.0.3: {} + + uuid@3.4.0: {} + + uuid@7.0.3: {} + + uuid@9.0.1: {} + + validate-npm-package-license@3.0.4: + dependencies: + spdx-correct: 3.2.0 + spdx-expression-parse: 3.0.1 + + validator@9.4.1: {} + + vary@1.1.2: {} + + verror@1.10.0: + dependencies: + assert-plus: 1.0.0 + core-util-is: 1.0.2 + extsprintf: 1.3.0 + + webdriver-bidi-protocol@0.4.1: {} + + webidl-conversions@3.0.1: {} + + whatwg-encoding@3.1.1: + dependencies: + iconv-lite: 0.6.3 + + whatwg-mimetype@4.0.0: {} + + whatwg-url@5.0.0: + dependencies: + tr46: 0.0.3 + webidl-conversions: 3.0.1 + + which-boxed-primitive@1.1.1: + dependencies: + is-bigint: 1.1.0 + is-boolean-object: 1.2.2 + is-number-object: 1.1.1 + is-string: 1.1.1 + is-symbol: 1.1.1 + + which-builtin-type@1.2.1: + dependencies: + call-bound: 1.0.4 + function.prototype.name: 1.1.8 + has-tostringtag: 1.0.2 + is-async-function: 2.1.1 + is-date-object: 1.1.0 + is-finalizationregistry: 1.1.1 + is-generator-function: 1.1.2 + is-regex: 1.2.1 + is-weakref: 1.1.1 + isarray: 2.0.5 + which-boxed-primitive: 1.1.1 + which-collection: 1.0.2 + which-typed-array: 1.1.20 + + which-collection@1.0.2: + dependencies: + is-map: 2.0.3 + is-set: 2.0.3 + is-weakmap: 2.0.2 + is-weakset: 2.0.4 + + which-typed-array@1.1.20: + dependencies: + available-typed-arrays: 1.0.7 + call-bind: 1.0.8 + call-bound: 1.0.4 + for-each: 0.3.5 + get-proto: 1.0.1 + gopd: 1.2.0 + has-tostringtag: 1.0.2 + + which@1.3.1: + dependencies: + isexe: 2.0.0 + + widest-line@1.0.0: + dependencies: + string-width: 1.0.2 + + word-wrap@1.2.5: {} + + wrap-ansi@7.0.0: + dependencies: + ansi-styles: 4.3.0 + string-width: 4.2.3 + strip-ansi: 6.0.1 + + wrappy@1.0.2: {} + + write-file-atomic@1.3.4: + dependencies: + graceful-fs: 4.2.11 + imurmurhash: 0.1.4 + slide: 1.1.6 + + write-file-atomic@2.4.3: + dependencies: + graceful-fs: 4.2.11 + imurmurhash: 0.1.4 + signal-exit: 3.0.7 + + write-json-file@2.3.0: + dependencies: + detect-indent: 5.0.0 + graceful-fs: 4.2.11 + make-dir: 1.3.0 + pify: 3.0.0 + sort-keys: 2.0.0 + write-file-atomic: 2.4.3 + + write-pkg@3.2.0: + dependencies: + sort-keys: 2.0.0 + write-json-file: 2.3.0 + + write@0.2.1: + dependencies: + mkdirp: 0.5.6 + + ws@8.19.0: {} + + xdg-basedir@2.0.0: + dependencies: + os-homedir: 1.0.2 + + xml2js@0.4.23: + dependencies: + sax: 1.4.4 + xmlbuilder: 11.0.1 + + xmlbuilder@11.0.1: {} + + xtend@4.0.2: {} + + y18n@5.0.8: {} + + yallist@2.1.2: {} + + yargs-parser@21.1.1: {} + + yargs@17.7.2: + dependencies: + cliui: 8.0.1 + escalade: 3.2.0 + get-caller-file: 2.0.5 + require-directory: 2.1.1 + string-width: 4.2.3 + y18n: 5.0.8 + yargs-parser: 21.1.1 + + yauzl@2.10.0: + dependencies: + buffer-crc32: 0.2.13 + fd-slicer: 1.1.0 + + ylru@1.4.0: {} + + zod@3.25.76: {} diff --git a/production.js b/production.js new file mode 100644 index 0000000..e959b1f --- /dev/null +++ b/production.js @@ -0,0 +1,11 @@ +const path = require('path'); +const Application = require('thinkjs'); + +const instance = new Application({ + ROOT_PATH: __dirname, + APP_PATH: path.join(__dirname, 'src'), + proxy: true, // use proxy + env: 'production' +}); + +instance.run(); diff --git a/restart.sh b/restart.sh new file mode 100644 index 0000000..221f9c2 --- /dev/null +++ b/restart.sh @@ -0,0 +1,26 @@ +#!/bin/bash +set -e + +echo "===== 1. 拉取最新代码 =====" +git fetch --all +git reset --hard origin/master +echo "代码更新完成" + +echo "" +echo "===== 2. 安装依赖 =====" +pnpm i +echo "依赖安装完成" + +echo "" +echo "===== 3. 重启服务 =====" +if pm2 describe vk_web > /dev/null 2>&1; then + pm2 restart vk_web + echo "pm2 已重启 vk_web" +else + pm2 start pm2.json + echo "pm2 已启动 vk_web" +fi + +echo "" +pm2 status +echo "===== 部署完成 =====" diff --git a/sql/content.sql b/sql/content.sql new file mode 100644 index 0000000..fde6d23 --- /dev/null +++ b/sql/content.sql @@ -0,0 +1,22 @@ +CREATE TABLE `content` ( + `id` int NOT NULL AUTO_INCREMENT COMMENT '主键', + `content_key` varchar(50) NOT NULL COMMENT '内容标识(唯一)', + `title` varchar(100) NOT NULL COMMENT '标题', + `remark` varchar(200) DEFAULT NULL COMMENT '备注', + `content` longtext COMMENT '富文本内容', + `status` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态(1:启用 0:禁用)', + `sort` int NOT NULL DEFAULT '0' COMMENT '排序(数值越大越靠前)', + `create_by` int DEFAULT NULL COMMENT '创建人', + `create_time` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间', + `update_by` int DEFAULT NULL COMMENT '修改人', + `update_time` datetime DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP COMMENT '修改时间', + `is_deleted` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否删除(0:否 1:是)', + PRIMARY KEY (`id`), + UNIQUE KEY `uk_content_key` (`content_key`) +) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='内容管理表'; + +-- 初始化首页内容 +INSERT INTO `content` (`content_key`, `title`, `content`, `remark`, `status`, `sort`) VALUES +('index_content', '肠愈同行患者关爱项目', '

您好!安心医患者关爱项目——肠愈同行患者关爱项目(下称"项目")是由北京维康慈善基金会发起(下称"基金会"),提供基因检测(基因检测列表包含但不限于:KRAS NRAS BRAF ERBB2 PIK3CA)帮助结直肠癌患者及时得到规范化、有效的治疗,减轻肿瘤患者因疾病诊断产生的家庭经济负担,从而帮助到更多中国结直肠癌患者获益。

', '首页项目介绍内容', 1, 0), +('privacy_policy', '隐私协议', '

隐私协议内容待补充

', '隐私协议', 1, 0), +('about_us', '关于我们', '

关于我们内容待补充

', '关于我们', 1, 0); diff --git a/sql/init.sql b/sql/init.sql new file mode 100644 index 0000000..06b3adf --- /dev/null +++ b/sql/init.sql @@ -0,0 +1,148 @@ +-- cytx_api 初始化脚本 +-- 数据库:pap_cytx +-- 需要的表:admin_user, admin_role, operation_log + +CREATE DATABASE IF NOT EXISTS `pap_cytx` DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci; +USE `pap_cytx`; + +SET NAMES utf8mb4; +SET FOREIGN_KEY_CHECKS = 0; + +-- ======================================== +-- 管理员用户表 +-- ======================================== +CREATE TABLE IF NOT EXISTS `admin_user` ( + `id` int unsigned NOT NULL AUTO_INCREMENT, + `username` varchar(50) NOT NULL COMMENT '用户名', + `password` varchar(64) NOT NULL COMMENT '密码(MD5)', + `nickname` varchar(50) DEFAULT '' COMMENT '昵称', + `avatar` varchar(255) DEFAULT '' COMMENT '头像', + `email` varchar(100) DEFAULT '' COMMENT '邮箱', + `phone` varchar(20) DEFAULT '' COMMENT '手机号', + `role_id` int unsigned DEFAULT 0 COMMENT '角色ID', + `last_login_time` datetime DEFAULT NULL COMMENT '最后登录时间', + `last_login_ip` varchar(50) DEFAULT '' COMMENT '最后登录IP', + `login_fail_count` int DEFAULT 0 COMMENT '当日登录失败次数', + `login_fail_date` date DEFAULT NULL COMMENT '最后登录失败日期', + `status` tinyint(1) DEFAULT 1 COMMENT '状态: 1启用 0停用', + `is_deleted` tinyint(1) DEFAULT 0 COMMENT '软删除: 0正常 1已删除', + `create_by` int unsigned DEFAULT 0 COMMENT '创建人ID', + `update_by` int unsigned DEFAULT 0 COMMENT '修改人ID', + `create_time` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间', + `update_time` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间', + PRIMARY KEY (`id`), + UNIQUE KEY `uk_username` (`username`), + KEY `idx_role_id` (`role_id`), + KEY `idx_status` (`status`), + KEY `idx_is_deleted` (`is_deleted`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='管理员用户表'; + +-- ======================================== +-- 角色表 +-- ======================================== +CREATE TABLE IF NOT EXISTS `admin_role` ( + `id` int unsigned NOT NULL AUTO_INCREMENT, + `name` varchar(50) NOT NULL COMMENT '角色名称', + `code` varchar(50) DEFAULT '' COMMENT '角色编码', + `description` varchar(200) DEFAULT '' COMMENT '角色描述', + `permissions` json DEFAULT NULL COMMENT '权限列表(JSON)', + `is_default` tinyint(1) DEFAULT 0 COMMENT '是否默认角色: 0否 1是', + `sort` int DEFAULT 0 COMMENT '排序', + `status` tinyint(1) DEFAULT 1 COMMENT '状态: 1启用 0停用', + `is_deleted` tinyint(1) DEFAULT 0 COMMENT '软删除: 0正常 1已删除', + `create_by` int unsigned DEFAULT 0 COMMENT '创建人ID', + `update_by` int unsigned DEFAULT 0 COMMENT '修改人ID', + `create_time` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间', + `update_time` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间', + PRIMARY KEY (`id`), + KEY `idx_status` (`status`), + KEY `idx_is_deleted` (`is_deleted`), + KEY `idx_sort` (`sort`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='角色表'; + +-- ======================================== +-- 操作日志表 +-- ======================================== +CREATE TABLE IF NOT EXISTS `operation_log` ( + `id` int NOT NULL AUTO_INCREMENT, + `user_id` int DEFAULT 0 COMMENT '操作人ID', + `username` varchar(50) DEFAULT '' COMMENT '操作人用户名', + `action` varchar(20) DEFAULT '' COMMENT '操作类型: login/logout/add/edit/delete/export', + `module` varchar(50) DEFAULT '' COMMENT '操作模块', + `description` varchar(500) DEFAULT '' COMMENT '操作描述', + `ip` varchar(50) DEFAULT '' COMMENT 'IP地址', + `user_agent` varchar(500) DEFAULT '' COMMENT '浏览器UA', + `create_time` datetime DEFAULT CURRENT_TIMESTAMP, + PRIMARY KEY (`id`), + KEY `idx_user` (`user_id`), + KEY `idx_action` (`action`), + KEY `idx_time` (`create_time`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='操作日志'; + +-- ======================================== +-- 患者表 +-- ======================================== +CREATE TABLE IF NOT EXISTS `patient` ( + `id` int unsigned NOT NULL AUTO_INCREMENT, + `patient_no` varchar(30) NOT NULL COMMENT '患者编号(YYYYMM+雪花ID)', + `name` varchar(50) NOT NULL COMMENT '姓名', + `phone` varchar(20) NOT NULL COMMENT '手机号', + `id_card` varchar(18) NOT NULL COMMENT '身份证号', + `gender` varchar(4) DEFAULT '' COMMENT '性别', + `birth_date` date DEFAULT NULL COMMENT '出生日期', + `province_code` varchar(6) DEFAULT '' COMMENT '省编码', + `city_code` varchar(6) DEFAULT '' COMMENT '市编码', + `district_code` varchar(6) DEFAULT '' COMMENT '区编码', + `address` varchar(255) DEFAULT '' COMMENT '详细地址', + `tag` varchar(50) DEFAULT '' COMMENT '标识(如直肠癌)', + `documents` json DEFAULT NULL COMMENT '上传资料(检查报告等)JSON数组', + `sign_income` varchar(255) DEFAULT '' COMMENT '个人可支配收入声明文件URL', + `sign_privacy` varchar(255) DEFAULT '' COMMENT '个人信息处理同意书文件URL', + `sign_promise` varchar(255) DEFAULT '' COMMENT '声明与承诺文件URL', + `status` tinyint(1) DEFAULT 0 COMMENT '状态: 0待审核 1审核通过 2已驳回', + `is_deleted` tinyint(1) DEFAULT 0 COMMENT '软删除: 0正常 1已删除', + `create_by` int unsigned DEFAULT 0 COMMENT '创建人ID', + `update_by` int unsigned DEFAULT 0 COMMENT '修改人ID', + `create_time` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间', + `update_time` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间', + PRIMARY KEY (`id`), + UNIQUE KEY `uk_patient_no` (`patient_no`), + KEY `idx_status` (`status`), + KEY `idx_is_deleted` (`is_deleted`), + KEY `idx_phone` (`phone`), + KEY `idx_id_card` (`id_card`), + KEY `idx_tag` (`tag`), + KEY `idx_create_time` (`create_time`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='患者表'; + +-- ======================================== +-- 患者审核记录表 +-- ======================================== +CREATE TABLE IF NOT EXISTS `patient_audit` ( + `id` int unsigned NOT NULL AUTO_INCREMENT, + `patient_id` int unsigned NOT NULL COMMENT '患者ID', + `action` varchar(20) NOT NULL COMMENT '操作: submit/approve/reject', + `reason` varchar(500) DEFAULT '' COMMENT '驳回原因', + `operator_id` int unsigned DEFAULT 0 COMMENT '操作人ID', + `operator_name` varchar(50) DEFAULT '' COMMENT '操作人姓名', + `is_deleted` tinyint(1) DEFAULT 0 COMMENT '软删除: 0正常 1已删除', + `create_time` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '操作时间', + PRIMARY KEY (`id`), + KEY `idx_patient_id` (`patient_id`), + KEY `idx_action` (`action`), + KEY `idx_is_deleted` (`is_deleted`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='患者审核记录表'; + +-- ======================================== +-- 初始化数据 +-- ======================================== + +-- 默认角色 +INSERT INTO `admin_role` (`id`, `name`, `code`, `description`, `permissions`, `is_default`, `sort`) VALUES +(1, '超级管理员', 'ADMIN', '拥有所有权限', '["*"]', 1, 1); + +-- 默认管理员 (密码: Admin123) +INSERT INTO `admin_user` (`username`, `password`, `nickname`, `role_id`) VALUES +('admin', '0192023a7bbd73250516f069df18b500', '超级管理员', 1); + +SET FOREIGN_KEY_CHECKS = 1; diff --git a/sql/message.sql b/sql/message.sql new file mode 100644 index 0000000..3af1718 --- /dev/null +++ b/sql/message.sql @@ -0,0 +1,13 @@ +-- 消息表 +CREATE TABLE `message` ( + `id` INT UNSIGNED AUTO_INCREMENT PRIMARY KEY, + `patient_id` INT UNSIGNED NOT NULL COMMENT '患者ID', + `type` TINYINT NOT NULL DEFAULT 0 COMMENT '类型:1=审核通过 2=审核拒绝', + `title` VARCHAR(100) NOT NULL DEFAULT '' COMMENT '标题', + `content` TEXT COMMENT '详细内容', + `reason` VARCHAR(500) NOT NULL DEFAULT '' COMMENT '驳回原因', + `is_read` TINYINT NOT NULL DEFAULT 0 COMMENT '0=未读 1=已读', + `create_time` DATETIME DEFAULT CURRENT_TIMESTAMP, + KEY `idx_patient_id` (`patient_id`), + KEY `idx_is_read` (`patient_id`, `is_read`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='消息通知'; diff --git a/sql/myinfo.sql b/sql/myinfo.sql new file mode 100644 index 0000000..0e7d349 --- /dev/null +++ b/sql/myinfo.sql @@ -0,0 +1,9 @@ +-- 我的资料相关表结构变更 +-- 数据库:pap_cytx + +USE `pap_cytx`; + +-- patient 表新增应急联系人字段 +ALTER TABLE `patient` + ADD COLUMN `emergency_contact` varchar(50) DEFAULT '' COMMENT '应急联系人姓名' AFTER `address`, + ADD COLUMN `emergency_phone` varchar(20) DEFAULT '' COMMENT '应急联系人电话' AFTER `emergency_contact`; diff --git a/sql/sign.sql b/sql/sign.sql new file mode 100644 index 0000000..567395b --- /dev/null +++ b/sql/sign.sql @@ -0,0 +1,9 @@ +-- 签署功能:patient 表新增金额字段 +ALTER TABLE `patient` + ADD COLUMN `income_amount` decimal(10,2) DEFAULT NULL COMMENT '月可支配收入金额' AFTER `sign_promise`; + +-- content 表插入3条协议内容(content_key 唯一,如已存在请跳过) +INSERT IGNORE INTO `content` (`content_key`, `title`, `remark`, `content`, `status`, `sort`, `is_deleted`, `create_time`) VALUES +('sign_income', '个人可支配收入声明', '签署协议-收入声明', '

本人在此声明,本人目前的个人可支配收入情况如下。本人承诺以下信息真实、准确、完整,如有虚假,愿承担相应法律责任。

本人理解,该声明将用于评估本人参与患者援助项目的资格,平台有权对所提供的信息进行核实。

', 1, 0, 0, NOW()), +('sign_privacy', '个人信息处理同意书', '签署协议-隐私同意书', '

为了向您提供患者援助服务,我们需要收集和处理您的个人信息。根据《中华人民共和国个人信息保护法》等相关法律法规,特向您告知以下事项:

一、我们将收集您的姓名、身份证号、联系方式、医疗诊断信息等个人信息,用于患者身份核实、援助资格评估及药品配送等服务。

二、您的个人信息将被严格保密,仅用于本项目相关服务,未经您的同意不会向第三方披露,法律法规另有规定的除外。

三、您有权随时查阅、更正或删除您的个人信息,也有权撤回本同意书。撤回同意不影响撤回前基于同意所进行的个人信息处理活动的合法性。

四、我们将采取必要的安全技术措施保护您的个人信息安全,防止信息泄露、篡改或丢失。

', 1, 0, 0, NOW()), +('sign_promise', '声明与承诺', '签署协议-声明承诺', '

本人在此郑重声明并承诺如下:

一、本人提交的所有资料和信息均真实、准确、完整,不存在任何虚假、遗漏或误导性内容。

二、本人承诺所申请的援助药品仅供本人使用,不会转让、转售或以其他方式提供给他人。

三、本人理解并同意,如提供虚假信息或违反上述承诺,项目方有权取消本人的援助资格,并追究相应法律责任。

四、本人自愿参与本患者援助项目,并已充分了解项目的相关规则和要求。

', 1, 0, 0, NOW()); diff --git a/sql/subscribe.sql b/sql/subscribe.sql new file mode 100644 index 0000000..f8376e2 --- /dev/null +++ b/sql/subscribe.sql @@ -0,0 +1,15 @@ +-- 订阅消息模板配置 +-- 数据库:pap_cytx + +USE `pap_cytx`; + +-- sys_wechat_app 新增订阅消息模板字段 +ALTER TABLE `sys_wechat_app` + ADD COLUMN `subscribe_templates` text DEFAULT NULL COMMENT '订阅消息模板配置JSON' AFTER `token_expires_at`; + +-- wechat_user 新增小程序版本字段(用于订阅消息推送到对应版本) +ALTER TABLE `wechat_user` + ADD COLUMN `mp_env_version` varchar(20) DEFAULT 'release' COMMENT '小程序版本: develop/trial/release' AFTER `patient_id`; + +-- 更新 pap_mini_cytx 应用的模板配置 +UPDATE `sys_wechat_app` SET `subscribe_templates` = '{"audit_result":"OcMLIGS8pMnpGzZmPkdMEOmmWmvvvU_nN-kmiK5sUGE"}' WHERE `remark` = 'pap_mini_cytx'; diff --git a/sql/verify.sql b/sql/verify.sql new file mode 100644 index 0000000..1f2ddf1 --- /dev/null +++ b/sql/verify.sql @@ -0,0 +1,40 @@ +-- 实名认证相关表结构变更 +-- 数据库:pap_cytx + +USE `pap_cytx`; + +-- ======================================== +-- patient 表新增实名认证字段 +-- ======================================== +ALTER TABLE `patient` + ADD COLUMN `auth_status` tinyint(1) DEFAULT 0 COMMENT '认证状态: 0未认证 1已认证' AFTER `status`, + ADD COLUMN `id_card_type` tinyint DEFAULT 1 COMMENT '证件类型: 1身份证 2无证件儿童 3临时身份证' AFTER `id_card`, + ADD COLUMN `id_card_front` varchar(500) DEFAULT '' COMMENT '证件正面照URL' AFTER `id_card_type`, + ADD COLUMN `id_card_back` varchar(500) DEFAULT '' COMMENT '证件反面照URL' AFTER `id_card_front`, + ADD COLUMN `photo` varchar(500) DEFAULT '' COMMENT '免冠照片URL(无证件儿童)' AFTER `id_card_back`, + ADD COLUMN `issuing_authority` varchar(100) DEFAULT '' COMMENT '发证机关' AFTER `birth_date`, + ADD COLUMN `valid_period` varchar(50) DEFAULT '' COMMENT '有效期限' AFTER `issuing_authority`, + ADD COLUMN `auth_time` datetime DEFAULT NULL COMMENT '认证时间' AFTER `auth_status`; + +-- ======================================== +-- 短信日志表 +-- ======================================== +CREATE TABLE IF NOT EXISTS `sms_log` ( + `id` int unsigned NOT NULL AUTO_INCREMENT, + `mobile` varchar(20) NOT NULL COMMENT '手机号', + `template_id` varchar(50) DEFAULT '' COMMENT '模板ID', + `template_params` varchar(500) DEFAULT '' COMMENT '模板参数JSON', + `sms_type` tinyint DEFAULT 1 COMMENT '类型: 1验证码', + `biz_type` varchar(50) DEFAULT '' COMMENT '业务类型: real_name_auth/bind_mobile', + `code` varchar(10) DEFAULT '' COMMENT '验证码', + `expire_time` datetime DEFAULT NULL COMMENT '过期时间', + `status` tinyint DEFAULT 0 COMMENT '状态: 0待发送 1已发送 2发送失败', + `fail_reason` varchar(500) DEFAULT NULL COMMENT '失败原因', + `provider_msg_id` varchar(100) DEFAULT NULL COMMENT '运营商消息ID', + `ip` varchar(50) DEFAULT '' COMMENT '请求IP', + `create_time` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间', + PRIMARY KEY (`id`), + KEY `idx_mobile` (`mobile`), + KEY `idx_biz_type` (`biz_type`), + KEY `idx_create_time` (`create_time`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='短信日志表'; diff --git a/sql/wechat_user.sql b/sql/wechat_user.sql new file mode 100644 index 0000000..35b4d3a --- /dev/null +++ b/sql/wechat_user.sql @@ -0,0 +1,18 @@ +-- 微信用户表 +CREATE TABLE IF NOT EXISTS `wechat_user` ( + `id` int unsigned NOT NULL AUTO_INCREMENT, + `open_id` varchar(64) NOT NULL COMMENT '微信openid', + `union_id` varchar(64) DEFAULT NULL COMMENT '微信unionid', + `app_remark` varchar(50) NOT NULL COMMENT '应用标识(对应sys_wechat_app.remark)', + `nickname` varchar(100) DEFAULT '' COMMENT '昵称', + `avatar` varchar(500) DEFAULT '' COMMENT '头像URL', + `phone` varchar(20) DEFAULT '' COMMENT '手机号(微信授权)', + `patient_id` int unsigned DEFAULT NULL COMMENT '关联患者ID', + `status` tinyint(1) NOT NULL DEFAULT 1 COMMENT '状态: 1启用 0停用', + `create_time` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间', + `update_time` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间', + PRIMARY KEY (`id`), + UNIQUE KEY `uk_openid_app` (`open_id`, `app_remark`), + KEY `idx_patient_id` (`patient_id`), + KEY `idx_phone` (`phone`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='微信用户表'; diff --git a/src/bootstrap/master.js b/src/bootstrap/master.js new file mode 100644 index 0000000..f59eb6d --- /dev/null +++ b/src/bootstrap/master.js @@ -0,0 +1 @@ +// invoked in master diff --git a/src/bootstrap/worker.js b/src/bootstrap/worker.js new file mode 100644 index 0000000..b53b75d --- /dev/null +++ b/src/bootstrap/worker.js @@ -0,0 +1 @@ +// invoked in worker diff --git a/src/config/adapter.js b/src/config/adapter.js new file mode 100644 index 0000000..34a5421 --- /dev/null +++ b/src/config/adapter.js @@ -0,0 +1,112 @@ +const fileCache = require('think-cache-file'); +const nunjucks = require('think-view-nunjucks'); +const fileSession = require('think-session-file'); +const mysql = require('think-model-mysql'); +const {Console, File, DateFile} = require('think-logger3'); +const path = require('path'); +const isDev = think.env === 'development'; + +/** + * cache adapter config + * @type {Object} + */ +exports.cache = { + type: 'file', + common: { + timeout: 24 * 60 * 60 * 1000 // millisecond + }, + file: { + handle: fileCache, + cachePath: path.join(think.ROOT_PATH, 'runtime/cache'), // absoulte path is necessarily required + pathDepth: 1, + gcInterval: 24 * 60 * 60 * 1000 // gc interval + } +}; + +/** + * model adapter config + * @type {Object} + */ +exports.model = { + type: 'pap', + common: { + logConnect: isDev, + logSql: isDev, + logger: msg => think.logger.info(msg) + }, + // pap 测试数据库 + pap: { + handle: mysql, + database: 'pap_cytx', + prefix: '', + encoding: 'utf8mb4', + charset: 'UTF8MB4_UNICODE_CI', + host: 'sh-cynosdbmysql-grp-jjq5h0fk.sql.tencentcdb.com', + port: '26821', + user: 'root', + password: '5orKUdDN3QhESVcS', + dateStrings: true, + connectionLimit: 10 + } +}; + +/** + * session adapter config + * @type {Object} + */ +exports.session = { + type: 'file', + common: { + cookie: { + name: 'thinkjs' + // keys: ['werwer', 'werwer'], + // signed: true + } + }, + file: { + handle: fileSession, + sessionPath: path.join(think.ROOT_PATH, 'runtime/session') + } +}; + +/** + * view adapter config + * @type {Object} + */ +exports.view = { + type: 'nunjucks', + common: { + viewPath: path.join(think.ROOT_PATH, 'view'), + sep: '_', + extname: '.html' + }, + nunjucks: { + handle: nunjucks + } +}; + +/** + * logger adapter config + * @type {Object} + */ +exports.logger = { + type: isDev ? 'console' : 'dateFile', + console: { + handle: Console + }, + file: { + handle: File, + backups: 10, // max chunk number + absolute: true, + maxLogSize: 50 * 1024, // 50M + filename: path.join(think.ROOT_PATH, 'logs/app.log') + }, + dateFile: { + handle: DateFile, + level: 'ALL', + absolute: true, + pattern: '-yyyy-MM-dd', + alwaysIncludePattern: true, + filename: path.join(think.ROOT_PATH, 'logs/app.log') + } +}; diff --git a/src/config/adapter.production.js b/src/config/adapter.production.js new file mode 100644 index 0000000..ae478e1 --- /dev/null +++ b/src/config/adapter.production.js @@ -0,0 +1,46 @@ +const mysql = require('think-model-mysql'); +const redisCache = require('think-cache-redis'); + +/** + * 生产环境 cache adapter config + * @type {Object} + */ +exports.cache = { + type: 'redis', + common: { + timeout: 24 * 60 * 60 * 1000 + }, + redis: { + handle: redisCache, + host: '127.0.0.1', + port: 6319, + password: '8cLgEgZSdWr57CTe', + timeout: 0, + log_connect: true + } +}; + +/** + * 生产环境 model adapter config + * @type {Object} + */ +exports.model = { + type: 'pap', + common: { + logConnect: false, + logSql: false, + logger: msg => think.logger.info(msg) + }, + // pap 线上数据库 + // pap: { + // handle: mysql, + // database: 'pap_web', + // prefix: '', + // encoding: 'utf8mb4', + // host: 'sh-cynosdbmysql-grp-jjq5h0fk.sql.tencentcdb.com', + // port: '26822', + // user: 'root', + // password: '5orKUdDN3QhESVcS', + // dateStrings: true + // } +}; diff --git a/src/config/config.js b/src/config/config.js new file mode 100644 index 0000000..7af4033 --- /dev/null +++ b/src/config/config.js @@ -0,0 +1,13 @@ +const path = require('path'); + +// default config +module.exports = { + workers: 1, + port: 8361, + version: '2026031822', // 静态资源版本号,发版时更新,用于缓存刷新 + errnoField: 'code', // errno field + errmsgField: 'msg', // errmsg field + error: { + template_404: path.join(think.ROOT_PATH, 'view/error_404.html') + } +}; diff --git a/src/config/config.production.js b/src/config/config.production.js new file mode 100644 index 0000000..eaa19e2 --- /dev/null +++ b/src/config/config.production.js @@ -0,0 +1,4 @@ +// production config, it will load in production enviroment +module.exports = { + workers: 0 +}; diff --git a/src/config/cos.js b/src/config/cos.js new file mode 100644 index 0000000..f865d21 --- /dev/null +++ b/src/config/cos.js @@ -0,0 +1,39 @@ +// 腾讯云 COS 配置 +module.exports = { + // COS 配置 + secretId: process.env.COS_SECRET_ID || 'AKIDcH6qOipkT0Lo9HJ8kEhaJrBML8f4GF1l', + secretKey: process.env.COS_SECRET_KEY || 'Yt1vc5LNCnBSdeS2RdbMvHOIyTkoeIjw', + bucket: process.env.COS_BUCKET || 'pap-1314297964', + region: process.env.COS_REGION || 'ap-shanghai', + + // URL 配置 + bucketUrl: 'https://pap-1314297964.cos.ap-shanghai.myqcloud.com', + cdnUrl: 'https://cdn.csybhelp.com', + + // 文件配置 + allowedImageTypes: ['image/jpeg', 'image/jpg', 'image/png', 'image/gif', 'image/webp', 'image/bmp', 'image/svg+xml'], + allowedDocTypes: [ + 'application/pdf', + 'application/msword', + 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', + 'application/vnd.ms-excel', + 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', + 'application/vnd.ms-powerpoint', + 'application/vnd.openxmlformats-officedocument.presentationml.presentation', + 'text/plain' + ], + allowedVideoTypes: ['video/mp4', 'video/mpeg', 'video/quicktime', 'video/x-msvideo', 'video/x-ms-wmv'], + + // 文件大小限制(字节) + maxImageSize: 10 * 1024 * 1024, // 10MB + maxDocSize: 50 * 1024 * 1024, // 50MB + maxVideoSize: 200 * 1024 * 1024, // 200MB + + // 图片压缩配置 + imageCompress: { + quality: 80, // 压缩质量 0-100 + maxWidth: 1920, // 最大宽度 + maxHeight: 1920, // 最大高度 + minSize: 100 * 1024 // 最小压缩大小(字节),小于此值不压缩,默认 100KB + } +}; diff --git a/src/config/extend.js b/src/config/extend.js new file mode 100644 index 0000000..5c62a62 --- /dev/null +++ b/src/config/extend.js @@ -0,0 +1,11 @@ +const view = require('think-view'); +const model = require('think-model'); +const cache = require('think-cache'); +const session = require('think-session'); + +module.exports = [ + view, // make application support view + model(think.app), + cache, + session +]; diff --git a/src/config/faceid.js b/src/config/faceid.js new file mode 100644 index 0000000..53e6168 --- /dev/null +++ b/src/config/faceid.js @@ -0,0 +1,10 @@ +// 腾讯云身份核验配置(密钥与COS共用) +const cosConfig = require('./cos.js'); + +module.exports = { + secretId: cosConfig.secretId, + secretKey: cosConfig.secretKey, + region: 'ap-guangzhou', + // 是否启用身份核验(开发环境可关闭,跳过核验) + enabled: false +}; diff --git a/src/config/middleware.js b/src/config/middleware.js new file mode 100644 index 0000000..488a8f7 --- /dev/null +++ b/src/config/middleware.js @@ -0,0 +1,44 @@ +const path = require('path'); +const isDev = think.env === 'development'; + +module.exports = [ + { + handle: 'meta', + options: { + logRequest: isDev, + sendResponseTime: isDev + } + }, + { + handle: 'resource', + enable: isDev, + options: { + root: path.join(think.ROOT_PATH, 'www'), + publicPath: /^\/(static|favicon\.ico)/ + } + }, + { + handle: 'trace', + enable: !think.isCli, + options: { + debug: isDev, + templates: isDev ? {} : { + 404: path.join(think.ROOT_PATH, 'view/error_404.html'), + 500: path.join(think.ROOT_PATH, 'view/error_500.html') + } + } + }, + { + handle: 'payload', + options: { + keepExtensions: true, + limit: '5mb' + } + }, + { + handle: 'router', + options: {} + }, + 'logic', + 'controller' +]; diff --git a/src/config/ocr.js b/src/config/ocr.js new file mode 100644 index 0000000..4b6efd9 --- /dev/null +++ b/src/config/ocr.js @@ -0,0 +1,9 @@ +// 腾讯云 OCR 配置(密钥与COS共用) +const cosConfig = require('./cos.js'); + +module.exports = { + secretId: cosConfig.secretId, + secretKey: cosConfig.secretKey, + region: 'ap-guangzhou', + enabled: true +}; diff --git a/src/config/router.js b/src/config/router.js new file mode 100644 index 0000000..500e15a --- /dev/null +++ b/src/config/router.js @@ -0,0 +1,87 @@ +module.exports = [ + // 后台管理路由 + ['/admin/login', 'admin/auth/login', 'get'], + ['/admin/auth/login', 'admin/auth/doLogin', 'post'], + ['/admin/auth/captcha', 'admin/auth/captcha', 'get'], + ['/admin/logout', 'admin/auth/logout'], + + // 后台页面 + ['/admin/dashboard', 'admin/dashboard/index'], + ['/admin/dashboard/stats', 'admin/dashboard/stats'], + + // 系统管理 - 用户 + ['/admin/system/user', 'admin/system/user/index'], + ['/admin/system/user/list', 'admin/system/user/list'], + ['/admin/system/user/detail', 'admin/system/user/detail'], + ['/admin/system/user/add', 'admin/system/user/add', 'post'], + ['/admin/system/user/edit', 'admin/system/user/edit', 'post'], + ['/admin/system/user/resetPassword', 'admin/system/user/resetPassword', 'post'], + ['/admin/system/user/delete', 'admin/system/user/delete', 'post'], + ['/admin/system/user/toggleStatus', 'admin/system/user/toggleStatus', 'post'], + ['/admin/system/user/unlock', 'admin/system/user/unlock', 'post'], + + // 系统管理 - 角色 + ['/admin/system/role', 'admin/system/role/index'], + ['/admin/system/role/list', 'admin/system/role/list'], + ['/admin/system/role/all', 'admin/system/role/all'], + ['/admin/system/role/detail', 'admin/system/role/detail'], + ['/admin/system/role/add', 'admin/system/role/add', 'post'], + ['/admin/system/role/edit', 'admin/system/role/edit', 'post'], + ['/admin/system/role/delete', 'admin/system/role/delete', 'post'], + ['/admin/system/role/batchDelete', 'admin/system/role/batchDelete', 'post'], + ['/admin/system/role/assignPermissions', 'admin/system/role/assignPermissions', 'post'], + + // 系统管理 - 操作日志 + ['/admin/system/log', 'admin/system/log/index'], + ['/admin/system/log/list', 'admin/system/log/list'], + ['/admin/system/log/clear', 'admin/system/log/clear', 'post'], + + // 系统管理 - 短信记录 + ['/admin/system/sms', 'admin/system/sms/index'], + ['/admin/system/sms/list', 'admin/system/sms/list'], + + // 患者管理 + ['/admin/patient', 'admin/patient/index'], + ['/admin/patient/list', 'admin/patient/list'], + ['/admin/patient/detail', 'admin/patient/detail'], + ['/admin/patient/info', 'admin/patient/info'], + ['/admin/patient/add', 'admin/patient/add', 'post'], + ['/admin/patient/edit', 'admin/patient/edit', 'post'], + ['/admin/patient/approve', 'admin/patient/approve', 'post'], + ['/admin/patient/reject', 'admin/patient/reject', 'post'], + ['/admin/patient/export', 'admin/patient/export'], + // 公共接口 + ['/common/regions', 'common/regions'], + ['/common/ocr/idcard', 'common/ocrIdcard', 'post'], + ['/common/ocr/hmt', 'common/ocrHmt', 'post'], + ['/api/content', 'common/content'], + + // 小程序接口 + ['/api/mp/login', 'mp/login', 'post'], + ['/api/mp/userinfo', 'mp/userinfo'], + ['/api/mp/upload', 'mp/upload', 'post'], + ['/api/mp/sendSmsCode', 'mp/sendSmsCode', 'post'], + ['/api/mp/authInfo', 'mp/authInfo'], + ['/api/mp/authSubmit', 'mp/authSubmit', 'post'], + ['/api/mp/changePhone', 'mp/changePhone', 'post'], + ['/api/mp/myInfo', 'mp/myInfo'], + ['/api/mp/saveMyInfo', 'mp/saveMyInfo', 'post'], + ['/api/mp/sign', 'mp/sign', 'post'], + ['/api/mp/updateAvatar', 'mp/updateAvatar', 'post'], + ['/api/mp/messages', 'mp/messages'], + ['/api/mp/messageDetail', 'mp/messageDetail'], + ['/api/mp/unreadCount', 'mp/unreadCount'], + ['/api/mp/subscribeConfig', 'mp/subscribeConfig'], + + // 内容管理 + ['/admin/content', 'admin/content/index'], + ['/admin/content/list', 'admin/content/list'], + ['/admin/content/detail', 'admin/content/detail'], + ['/admin/content/add', 'admin/content/add', 'post'], + ['/admin/content/edit', 'admin/content/edit', 'post'], + ['/admin/content/delete', 'admin/content/delete', 'post'], + + // 文件上传 + ['/admin/upload', 'admin/upload/index', 'post'], + ['/admin/upload/config', 'admin/upload/config'], +]; diff --git a/src/config/sms.js b/src/config/sms.js new file mode 100644 index 0000000..645a6ac --- /dev/null +++ b/src/config/sms.js @@ -0,0 +1,34 @@ +// 腾讯云短信配置(密钥与COS共用) +const cosConfig = require('./cos.js'); + +module.exports = { + secretId: cosConfig.secretId, + secretKey: cosConfig.secretKey, + + // 短信应用ID(腾讯云短信控制台获取) + smsSdkAppId: '1401080111', + + // 短信签名 + signName: '上海成善创研', + + // 地域 + region: 'ap-guangzhou', + + // 模板ID + templates: { + code: '2614695', // 验证码:{1}验证码, {2}分钟 + auditApproved: '2614698', // 审核通过(无变量) + auditRejected: '2614700' // 审核失败:{1}驳回原因 + }, + + // 验证码配置 + code: { + length: 6, + expireMinutes: 5, + intervalSeconds: 60, + dailyLimit: 10 + }, + + // 是否启用短信发送(关闭时仅打印日志不真实发送) + enabled: true +}; diff --git a/src/controller/admin/auth.js b/src/controller/admin/auth.js new file mode 100644 index 0000000..64a9a10 --- /dev/null +++ b/src/controller/admin/auth.js @@ -0,0 +1,127 @@ +const Base = require('../base'); +const svgCaptcha = require('svg-captcha'); + +module.exports = class extends Base { + // 登录页面 + async loginAction() { + // 已登录状态访问登录页,自动退出 + if (this.cookie('admin_token')) { + this.cookie('admin_token', null); + } + this.assign('siteConfig', {}); + this.assign('now_year', new Date().getFullYear()); + return this.display(); + } + + // 图形验证码 + async captchaAction() { + const captcha = svgCaptcha.create({ + size: 4, + ignoreChars: '0oO1lIi', + noise: 3, + color: true, + background: '#f0f2f5', + width: 120, + height: 40 + }); + // 存入session + await this.session('captcha', captcha.text.toLowerCase()); + this.ctx.type = 'image/svg+xml'; + this.ctx.body = captcha.data; + } + + // 登录接口 + async doLoginAction() { + const { username, password, remember, captcha } = this.post(); + + if (!username || !password) { + return this.fail('请输入用户名和密码'); + } + + // 验证码校验 + if (!captcha) { + return this.fail('请输入验证码'); + } + const sessionCaptcha = await this.session('captcha'); + // 用完即清 + await this.session('captcha', null); + if (!sessionCaptcha || captcha.toLowerCase() !== sessionCaptcha) { + return this.fail('验证码错误'); + } + + // 查找用户(不限status,锁定判断在后面) + const user = await this.model('admin_user') + .where({ username, is_deleted: 0 }) + .find(); + + if (think.isEmpty(user)) { + return this.fail('用户名或密码错误'); + } + + // 账号停用 + if (user.status !== 1) { + return this.fail('账号已被禁用,请联系管理员'); + } + + // 锁定判断:当日错误>=5次 + const today = new Date().toISOString().slice(0, 10); + const failDate = user.login_fail_date ? new Date(user.login_fail_date).toISOString().slice(0, 10) : null; + const failCount = (failDate === today) ? (user.login_fail_count || 0) : 0; + + if (failCount >= 5) { + return this.fail('密码错误次数过多,账号已锁定,请联系管理员或次日自动解锁'); + } + + // 密码验证 + if (user.password !== think.md5(password)) { + const newCount = failCount + 1; + await this.model('admin_user').where({ id: user.id }).update({ + login_fail_count: newCount, + login_fail_date: today + }); + const remain = 5 - newCount; + if (remain <= 0) { + return this.fail('密码错误次数过多,账号已锁定,请联系管理员或次日自动解锁'); + } + return this.fail(`密码错误,还剩${remain}次机会`); + } + + // 登录成功,清除错误计数,更新登录信息 + await this.model('admin_user').where({ id: user.id }).update({ + login_fail_count: 0, + login_fail_date: null, + last_login_time: think.datetime(), + last_login_ip: this.ctx.ip || '' + }); + + // 生成JWT Token + const token = Base.generateToken({ + id: user.id, + username: user.username, + role_id: user.role_id + }); + + const cookieOpts = { + httpOnly: true, + path: '/' + }; + if (remember) { + cookieOpts.maxAge = Base.JWT_EXPIRES_IN * 1000; + } + this.cookie('admin_token', token, cookieOpts); + + this.adminUser = { id: user.id, username: user.username }; + await this.log('login', '系统', `${user.username} 登录系统`); + + return this.success({ token }); + } + + // 退出登录 + async logoutAction() { + if (this.adminUser) { + await this.log('logout', '系统', `${this.adminUser.username} 退出系统`); + } + this.cookie('admin_token', null); + return this.redirect('/admin/login.html'); + } +}; diff --git a/src/controller/admin/content.js b/src/controller/admin/content.js new file mode 100644 index 0000000..211ebac --- /dev/null +++ b/src/controller/admin/content.js @@ -0,0 +1,94 @@ +const Base = require('../base'); + +module.exports = class extends Base { + // 内容管理页面 + async indexAction() { + this.assign('currentPage', 'content'); + this.assign('pageTitle', '内容管理'); + this.assign('breadcrumb', [{ name: '内容管理' }]); + this.assign('adminUser', this.adminUser || {}); + this.assign('canAdd', this.isSuperAdmin || (this.userPermissions || []).includes('content:add')); + this.assign('canEdit', this.isSuperAdmin || (this.userPermissions || []).includes('content:edit')); + this.assign('canDelete', this.isSuperAdmin || (this.userPermissions || []).includes('content:delete')); + return this.display(); + } + + // 列表接口 + async listAction() { + const { keyword, status, page = 1, pageSize = 10 } = this.get(); + const list = await this.model('content').getList({ keyword, status, page, pageSize }); + return this.success(list); + } + + // 详情接口 + async detailAction() { + const { id } = this.get(); + if (!id) return this.fail('参数错误'); + const item = await this.model('content').where({ id, is_deleted: 0 }).find(); + if (think.isEmpty(item)) return this.fail('内容不存在'); + return this.success(item); + } + + // 新增 + async addAction() { + const { content_key, title, remark, content, status = 1, sort = 0 } = this.post(); + if (!content_key || !title) return this.fail('内容标识和标题不能为空'); + + // 检查 key 唯一 + const exist = await this.model('content') + .where({ content_key, is_deleted: 0 }) + .find(); + if (!think.isEmpty(exist)) return this.fail('内容标识已存在'); + + const id = await this.model('content').add({ + content_key, title, + remark: remark || '', + content: content || '', + status: status ? 1 : 0, + sort: sort || 0, + create_by: this.adminUser?.id || 0 + }); + + await this.log('add', '内容管理', `新增内容「${title}」(key:${content_key})`); + return this.success({ id }); + } + + // 编辑(content_key 不可修改) + async editAction() { + const { id, title, remark, content, status, sort } = this.post(); + if (!id) return this.fail('参数错误'); + if (!title) return this.fail('标题不能为空'); + + const item = await this.model('content').where({ id, is_deleted: 0 }).find(); + if (think.isEmpty(item)) return this.fail('内容不存在'); + + await this.model('content').where({ id }).update({ + title, + remark: remark !== undefined ? remark : item.remark, + content: content !== undefined ? content : item.content, + status: status !== undefined ? (status ? 1 : 0) : item.status, + sort: sort !== undefined ? sort : item.sort, + update_by: this.adminUser?.id || 0 + }); + + await this.log('edit', '内容管理', `编辑内容「${title}」(ID:${id})`); + return this.success(); + } + + // 删除 + async deleteAction() { + const { id } = this.post(); + if (!id) return this.fail('参数错误'); + + const item = await this.model('content').where({ id, is_deleted: 0 }).find(); + if (think.isEmpty(item)) return this.fail('内容不存在'); + + await this.model('content').where({ id }).update({ + is_deleted: 1, + update_by: this.adminUser?.id || 0 + }); + + await this.log('delete', '内容管理', `删除内容「${item.title}」(ID:${id})`); + return this.success(); + } +}; diff --git a/src/controller/admin/dashboard.js b/src/controller/admin/dashboard.js new file mode 100644 index 0000000..fd01ad4 --- /dev/null +++ b/src/controller/admin/dashboard.js @@ -0,0 +1,33 @@ +const Base = require('../base'); + +module.exports = class extends Base { + async indexAction() { + this.assign('currentPage', 'dashboard'); + this.assign('pageTitle', '控制台'); + this.assign('adminUser', this.adminUser || {}); + this.assign('canView', this.isSuperAdmin || (this.userPermissions || []).includes('patient:view')); + return this.display(); + } + + // 控制台统计数据接口 + async statsAction() { + const model = this.model('patient'); + const [counts, todayCounts, trend, recent] = await Promise.all([ + model.getStatusCounts(), + model.getTodayCounts(), + model.getDailyTrend(30), + model.getRecentList(10) + ]); + + return this.success({ + counts, + todayCounts, + trend: trend.map(r => ({ + date: r.date, + total: parseInt(r.total, 10) || 0, + rectal: parseInt(r.rectal, 10) || 0 + })), + recent + }); + } +}; diff --git a/src/controller/admin/patient.js b/src/controller/admin/patient.js new file mode 100644 index 0000000..7a82b5a --- /dev/null +++ b/src/controller/admin/patient.js @@ -0,0 +1,429 @@ +const Base = require('../base.js'); + +module.exports = class extends Base { + // 患者列表页面 + async indexAction() { + this.assign('currentPage', 'patient'); + this.assign('pageTitle', '患者管理'); + this.assign('breadcrumb', [{ name: '患者管理' }]); + this.assign('adminUser', this.adminUser || {}); + this.assign('canAdd', this.isSuperAdmin || (this.userPermissions || []).includes('patient:add')); + this.assign('canEdit', this.isSuperAdmin || (this.userPermissions || []).includes('patient:edit')); + this.assign('canExport', this.isSuperAdmin || (this.userPermissions || []).includes('patient:export')); + this.assign('canAudit', this.isSuperAdmin || (this.userPermissions || []).includes('patient:audit')); + this.assign('canView', this.isSuperAdmin || (this.userPermissions || []).includes('patient:view')); + return this.display(); + } + + // 获取患者列表接口 + async listAction() { + const { keyword, tag, status, startDate, endDate, province_code, city_code, district_code, page = 1, pageSize = 10 } = this.get(); + const model = this.model('patient'); + const list = await model.getList({ keyword, tag, status, startDate, endDate, province_code, city_code, district_code, page, pageSize }); + + // 收集所有省市区 code 批量查询名称 + const allCodes = new Set(); + list.data.forEach(item => { + if (item.province_code) allCodes.add(item.province_code); + if (item.city_code) allCodes.add(item.city_code); + if (item.district_code) allCodes.add(item.district_code); + }); + const regionMap = {}; + if (allCodes.size) { + const regions = await this.model('sys_region') + .where({ code: ['in', [...allCodes]] }) + .select(); + regions.forEach(r => { regionMap[r.code] = r.name; }); + } + + // 脱敏 + 拼接地区 + list.data.forEach(item => { + if (item.id_card && item.id_card.length === 18) { + item.id_card_mask = item.id_card.slice(0, 3) + '***********' + item.id_card.slice(-4); + } else { + item.id_card_mask = item.id_card || ''; + } + if (item.phone && item.phone.length === 11) { + item.phone_mask = item.phone.slice(0, 3) + '****' + item.phone.slice(-4); + } else { + item.phone_mask = item.phone || ''; + } + const pName = regionMap[item.province_code] || ''; + const cName = regionMap[item.city_code] || ''; + const dName = regionMap[item.district_code] || ''; + item.region_name = [pName, cName, dName].filter(Boolean).join(' '); + }); + + const counts = await model.getStatusCounts(); + return this.success({ ...list, counts }); + } + + // 患者详情页面 + async detailAction() { + const { id } = this.get(); + if (!id) return this.redirect('/admin/patient.html'); + + this.assign('currentPage', 'patient'); + this.assign('pageTitle', '患者详情'); + this.assign('breadcrumb', [ + { name: '患者管理', url: '/admin/patient.html' }, + { name: '患者详情' } + ]); + this.assign('patientId', id); + this.assign('adminUser', this.adminUser || {}); + this.assign('canAudit', this.isSuperAdmin || (this.userPermissions || []).includes('patient:audit')); + return this.display(); + } + + // 获取患者详情接口(不脱敏) + async infoAction() { + const { id } = this.get(); + if (!id) return this.fail('参数错误'); + + const patient = await this.model('patient') + .where({ id, is_deleted: 0 }) + .find(); + + if (think.isEmpty(patient)) { + return this.fail('患者不存在'); + } + + // 解析 JSON 字段 + try { + patient.documents = JSON.parse(patient.documents || '[]'); + } catch (e) { + patient.documents = []; + } + + // 查询省市区名称 + if (patient.province_code || patient.city_code || patient.district_code) { + const codes = [patient.province_code, patient.city_code, patient.district_code].filter(Boolean); + if (codes.length) { + const regions = await this.model('sys_region') + .where({ code: ['in', codes] }) + .select(); + const regionMap = {}; + regions.forEach(r => { regionMap[r.code] = r.name; }); + patient.province_name = regionMap[patient.province_code] || ''; + patient.city_name = regionMap[patient.city_code] || ''; + patient.district_name = regionMap[patient.district_code] || ''; + } + } + + // 获取审核记录 + const audits = await this.model('patient_audit') + .where({ patient_id: id }) + .order('id DESC') + .select(); + + return this.success({ patient, audits }); + } + + // 新增患者 + async addAction() { + const data = this.post(); + const { name, phone, id_card, gender, birth_date, province_code, city_code, district_code, address, emergency_contact, emergency_phone, tag, documents, sign_income, sign_privacy, sign_promise } = data; + + if (!name || !phone || !id_card || !gender || !birth_date) { + return this.fail('请填写完整信息'); + } + + if (!province_code || !city_code || !district_code) { + return this.fail('请选择省市区'); + } + + if (!address) { + return this.fail('请填写详细地址'); + } + + if (!/^1\d{10}$/.test(phone)) { + return this.fail('手机号格式不正确'); + } + + if (!/^\d{17}[\dXx]$/.test(id_card)) { + return this.fail('身份证号格式不正确'); + } + + const model = this.model('patient'); + const patientNo = model.generatePatientNo(); + + const id = await model.add({ + patient_no: patientNo, + name, + phone, + id_card, + gender, + birth_date, + province_code: province_code || '', + city_code: city_code || '', + district_code: district_code || '', + address: address || '', + emergency_contact: emergency_contact || '', + emergency_phone: emergency_phone || '', + tag: tag || '', + documents: JSON.stringify(documents || []), + sign_income: sign_income || '', + sign_privacy: sign_privacy || '', + sign_promise: sign_promise || '', + status: 0, + create_by: this.adminUser?.id || 0 + }); + + // 记录审核日志 + await this.model('patient_audit').add({ + patient_id: id, + action: 'submit', + operator_id: this.adminUser?.id || 0, + operator_name: this.adminUser?.nickname || this.adminUser?.username || '' + }); + + await this.log('add', '患者管理', `新增患者「${name}」编号:${patientNo}`); + return this.success({ id, patient_no: patientNo }); + } + + // 审核通过 + async approveAction() { + const { id } = this.post(); + if (!id) return this.fail('参数错误'); + + const patient = await this.model('patient') + .where({ id, is_deleted: 0 }) + .find(); + + if (think.isEmpty(patient)) return this.fail('患者不存在'); + if (patient.status === 1) return this.fail('该患者已审核通过'); + + await this.model('patient').where({ id }).update({ + status: 1, + update_by: this.adminUser?.id || 0 + }); + + await this.model('patient_audit').add({ + patient_id: id, + action: 'approve', + operator_id: this.adminUser?.id || 0, + operator_name: this.adminUser?.nickname || this.adminUser?.username || '' + }); + + // 发送消息通知 + await this.model('message').add({ + patient_id: id, + type: 1, + title: '审核通过', + content: '您提交的个人资料已审核通过。', + reason: '' + }); + + // 发送订阅消息 + await this._sendAuditSubscribeMessage(id, patient.name, '审核通过'); + + // 发送短信通知 + await this._sendAuditSms(patient.phone, 'approved'); + + await this.log('edit', '患者管理', `审核通过患者(ID:${id})`); + return this.success(); + } + + // 驳回 + async rejectAction() { + const { id, reason } = this.post(); + if (!id) return this.fail('参数错误'); + if (!reason) return this.fail('请填写驳回原因'); + + const patient = await this.model('patient') + .where({ id, is_deleted: 0 }) + .find(); + + if (think.isEmpty(patient)) return this.fail('患者不存在'); + if (patient.status === 2) return this.fail('该患者已被驳回'); + + await this.model('patient').where({ id }).update({ + status: 2, + update_by: this.adminUser?.id || 0 + }); + + await this.model('patient_audit').add({ + patient_id: id, + action: 'reject', + reason, + operator_id: this.adminUser?.id || 0, + operator_name: this.adminUser?.nickname || this.adminUser?.username || '' + }); + + // 发送消息通知 + await this.model('message').add({ + patient_id: id, + type: 2, + title: '审核未通过', + content: '您提交的个人资料未通过审核,请根据以下原因修改后重新提交。', + reason: reason + }); + + // 发送订阅消息 + await this._sendAuditSubscribeMessage(id, patient.name, '审核驳回'); + + // 发送短信通知 + await this._sendAuditSms(patient.phone, 'rejected', reason); + + await this.log('edit', '患者管理', `驳回患者(ID:${id}),原因:${reason}`); + return this.success(); + } + + // 编辑患者 + async editAction() { + const data = this.post(); + const { id, name, phone, id_card, gender, birth_date, province_code, city_code, district_code, address, emergency_contact, emergency_phone, tag, documents, sign_income, sign_privacy, sign_promise } = data; + + if (!id) return this.fail('参数错误'); + if (!name || !phone || !id_card || !gender || !birth_date) return this.fail('请填写完整信息'); + if (!province_code || !city_code || !district_code) return this.fail('请选择省市区'); + if (!address) return this.fail('请填写详细地址'); + if (!/^1\d{10}$/.test(phone)) return this.fail('手机号格式不正确'); + if (!/^\d{17}[\dXx]$/.test(id_card)) return this.fail('身份证号格式不正确'); + + const patient = await this.model('patient').where({ id, is_deleted: 0 }).find(); + if (think.isEmpty(patient)) return this.fail('患者不存在'); + + await this.model('patient').where({ id }).update({ + name, phone, id_card, gender, birth_date, + province_code, city_code, district_code, + address: address || '', + emergency_contact: emergency_contact || '', + emergency_phone: emergency_phone || '', + tag: tag || '', + documents: JSON.stringify(documents || []), + sign_income: sign_income || '', + sign_privacy: sign_privacy || '', + sign_promise: sign_promise || '', + update_by: this.adminUser?.id || 0 + }); + + await this.log('edit', '患者管理', `编辑患者「${name}」(ID:${id})`); + return this.success(); + } + + // 导出患者数据(CSV,不脱敏) + async exportAction() { + const { keyword, tag, status, startDate, endDate, province_code, city_code, district_code } = this.get(); + const model = this.model('patient'); + const list = await model.getAll({ keyword, tag, status, startDate, endDate, province_code, city_code, district_code }); + + // 批量查省市区名称 + const allCodes = new Set(); + list.forEach(item => { + if (item.province_code) allCodes.add(item.province_code); + if (item.city_code) allCodes.add(item.city_code); + if (item.district_code) allCodes.add(item.district_code); + }); + const regionMap = {}; + if (allCodes.size) { + const regions = await this.model('sys_region') + .where({ code: ['in', [...allCodes]] }) + .select(); + regions.forEach(r => { regionMap[r.code] = r.name; }); + } + + // 批量查最近一条审核记录(审核日期、驳回原因) + const patientIds = list.map(item => item.id); + const auditMap = {}; + if (patientIds.length) { + const audits = await this.model('patient_audit') + .where({ patient_id: ['in', patientIds], action: ['in', ['approve', 'reject']] }) + .order('id DESC') + .select(); + audits.forEach(a => { + if (!auditMap[a.patient_id]) auditMap[a.patient_id] = a; + }); + } + + const statusMap = { '-1': '待提交', 0: '待审核', 1: '审核通过', 2: '已驳回' }; + const header = ['ID', '姓名', '性别', '身份证', '手机号', '省份', '城市', '审核状态', '审核日期', '审核驳回原因', '瘤种']; + const rows = list.map(item => { + const audit = auditMap[item.id]; + return [ + item.patient_no, + item.name, + item.gender, + item.id_card, + item.phone, + regionMap[item.province_code] || '', + regionMap[item.city_code] || '', + statusMap[item.status] || '', + audit ? (audit.create_time || '') : '', + (audit && audit.action === 'reject') ? (audit.reason || '') : '', + item.tag || '' + ]; + }); + + // 生成 CSV(带 BOM 以支持 Excel 中文) + const csvContent = [header, ...rows] + .map(row => row.map(cell => `"${String(cell || '').replace(/"/g, '""')}"`).join(',')) + .join('\n'); + const bom = '\uFEFF'; + + this.ctx.set('Content-Type', 'text/csv; charset=utf-8'); + this.ctx.set('Content-Disposition', `attachment; filename=patients_${Date.now()}.csv`); + this.ctx.body = bom + csvContent; + + await this.log('export', '患者管理', `导出患者数据 ${list.length} 条`); + } + + // @private 发送审核结果订阅消息 + async _sendAuditSubscribeMessage(patientId, patientName, result) { + try { + const APP_REMARK = 'pap_mini_cytx'; + // 查找该患者关联的微信用户 + const wechatUser = await this.model('wechat_user') + .where({ patient_id: patientId, app_remark: APP_REMARK, status: 1 }) + .find(); + if (think.isEmpty(wechatUser) || !wechatUser.open_id) return; + + const wechatService = this.service('wechat'); + const templates = await wechatService.getSubscribeTemplates(APP_REMARK); + const templateId = templates.audit_result; + if (!templateId) return; + + // 映射小程序版本: __wxConfig.envVersion -> miniprogram_state + // develop -> developer, trial -> trial, release -> formal + const envMap = { develop: 'developer', trial: 'trial', release: 'formal' }; + const miniprogramState = envMap[wechatUser.mp_env_version] || 'formal'; + + const dayjs = require('dayjs'); + await wechatService.sendSubscribeMessage({ + remark: APP_REMARK, + openid: wechatUser.open_id, + templateId, + page: 'pages/profile/profile', + miniprogramState, + data: { + thing2: { value: '肠愈同行患者关爱' }, + thing14: { value: patientName || '用户' }, + phrase1: { value: result }, + time13: { value: dayjs().format('YYYY-MM-DD HH:mm:ss') } + } + }); + } catch (error) { + // 订阅消息发送失败不影响审核流程 + think.logger.error('[Subscribe] 审核消息发送失败:', error); + } + } + + // @private 发送审核结果短信通知 + async _sendAuditSms(phone, type, reason) { + if (!phone) return; + try { + const smsConfig = require('../../config/sms.js'); + const templates = smsConfig.templates; + if (type === 'approved' && templates.auditApproved) { + await this.sendNotifySms(phone, templates.auditApproved, [], 'audit_approved'); + } else if (type === 'rejected' && templates.auditRejected) { + // 驳回原因截取前20字符(短信模板变量有长度限制) + const shortReason = (reason || '资料不符合要求').slice(0, 20); + await this.sendNotifySms(phone, templates.auditRejected, [shortReason], 'audit_rejected'); + } + } catch (error) { + think.logger.error('[SMS] 审核短信发送失败:', error); + } + } + +}; diff --git a/src/controller/admin/system/log.js b/src/controller/admin/system/log.js new file mode 100644 index 0000000..200f89b --- /dev/null +++ b/src/controller/admin/system/log.js @@ -0,0 +1,62 @@ +const Base = require('../../base'); + +module.exports = class extends Base { + async indexAction() { + this.assign('currentPage', 'sys-log'); + this.assign('pageTitle', '操作日志'); + this.assign('breadcrumb', [ + { name: '系统管理', url: '/admin/system/user.html' }, + { name: '操作日志' } + ]); + return this.display(); + } + + async listAction() { + const keyword = this.get('keyword') || ''; + const action = this.get('action') || ''; + const startDate = this.get('startDate') || ''; + const endDate = this.get('endDate') || ''; + const page = this.get('page') || 1; + const pageSize = this.get('pageSize') || 20; + + const model = this.model('operation_log'); + const where = {}; + + if (keyword) { + where._complex = { + username: ['like', `%${keyword}%`], + description: ['like', `%${keyword}%`], + _logic: 'or' + }; + } + if (action) { + where.action = action; + } + if (startDate) { + where.create_time = where.create_time || {}; + where.create_time = ['>=', startDate + ' 00:00:00']; + } + if (startDate && endDate) { + where.create_time = ['between', [startDate + ' 00:00:00', endDate + ' 23:59:59']]; + } else if (endDate) { + where.create_time = ['<=', endDate + ' 23:59:59']; + } + + const list = await model.where(where) + .order('id DESC') + .page(page, pageSize) + .countSelect(); + + return this.json({ code: 0, data: list }); + } + + async clearAction() { + const days = this.post('days') || 30; + const date = new Date(); + date.setDate(date.getDate() - days); + const dateStr = date.toISOString().slice(0, 10); + await this.model('operation_log').where({ create_time: ['<', dateStr + ' 00:00:00'] }).delete(); + await this.log('delete', '操作日志', `清理${days}天前的日志`); + return this.json({ code: 0, msg: `已清理${days}天前的日志` }); + } +}; diff --git a/src/controller/admin/system/role.js b/src/controller/admin/system/role.js new file mode 100644 index 0000000..ddeed75 --- /dev/null +++ b/src/controller/admin/system/role.js @@ -0,0 +1,281 @@ +const Base = require('../../base'); + +module.exports = class extends Base { + // 角色列表页面 + async indexAction() { + this.assign('currentPage', 'sys-role'); + this.assign('pageTitle', '角色权限'); + this.assign('breadcrumb', [ + { name: '系统管理', url: '/admin/system/user.html' }, + { name: '角色权限' } + ]); + + // 权限树数据 + this.assign('permissionTree', await this.getPermissionTree()); + + this.assign('adminUser', this.adminUser || {}); + + return this.display(); + } + + // 获取角色列表接口 + async listAction() { + const { keyword, page = 1, pageSize = 20 } = this.get(); + + const where = { is_deleted: 0 }; + + if (keyword) { + where.name = ['like', `%${keyword}%`]; + } + + const list = await this.model('admin_role') + .where(where) + .order('sort ASC, id ASC') + .page(page, pageSize) + .countSelect(); + + return this.success(list); + } + + // 获取所有角色(下拉用) + async allAction() { + const list = await this.model('admin_role') + .where({ is_deleted: 0, status: 1 }) + .order('sort ASC') + .select(); + + return this.success(list); + } + + // 获取单个角色 + async detailAction() { + const { id } = this.get(); + if (!id) return this.fail('参数错误'); + + const role = await this.model('admin_role') + .where({ id, is_deleted: 0 }) + .find(); + + if (think.isEmpty(role)) { + return this.fail('角色不存在'); + } + + // 解析 permissions JSON 字符串为数组 + try { + role.permissions = JSON.parse(role.permissions || '[]'); + } catch (e) { + role.permissions = []; + } + + return this.success(role); + } + + // 新增角色 + async addAction() { + const { name, code, description, is_default = 0, sort = 0 } = this.post(); + + if (!name) { + return this.fail('角色名称不能为空'); + } + + // 检查名称是否存在 + const exist = await this.model('admin_role') + .where({ name, is_deleted: 0 }) + .find(); + + if (!think.isEmpty(exist)) { + return this.fail('角色名称已存在'); + } + + const data = { + name, + code: code || '', + description: description || '', + permissions: JSON.stringify([]), + is_default: is_default ? 1 : 0, + sort: sort || 0, + create_by: this.adminUser?.id || 0 + }; + + const id = await this.model('admin_role').add(data); + await this.log('add', '角色管理', `新增角色「${name}」`); + return this.success({ id }); + } + + // 编辑角色 + async editAction() { + const { id, name, code, description, is_default, sort } = this.post(); + + if (!id) return this.fail('参数错误'); + + const role = await this.model('admin_role') + .where({ id, is_deleted: 0 }) + .find(); + + if (think.isEmpty(role)) { + return this.fail('角色不存在'); + } + + // 默认角色不能编辑 + if (role.is_default === 1) { + return this.fail('默认角色不能编辑'); + } + + // 检查名称是否重复 + if (name && name !== role.name) { + const exist = await this.model('admin_role') + .where({ name, is_deleted: 0, id: ['!=', id] }) + .find(); + + if (!think.isEmpty(exist)) { + return this.fail('角色名称已存在'); + } + } + + const data = { + name: name || role.name, + code: code !== undefined ? code : role.code, + description: description !== undefined ? description : role.description, + is_default: is_default !== undefined ? (is_default ? 1 : 0) : role.is_default, + sort: sort !== undefined ? sort : role.sort, + update_by: this.adminUser?.id || 0 + }; + + await this.model('admin_role').where({ id }).update(data); + await this.log('edit', '角色管理', `编辑角色「${name || role.name}」(ID:${id})`); + return this.success(); + } + + // 分配权限 + async assignPermissionsAction() { + const { id, permissions } = this.post(); + + if (!id) return this.fail('参数错误'); + + const role = await this.model('admin_role') + .where({ id, is_deleted: 0 }) + .find(); + + if (think.isEmpty(role)) { + return this.fail('角色不存在'); + } + + await this.model('admin_role') + .where({ id }) + .update({ + permissions: JSON.stringify(permissions || []), + update_by: this.adminUser?.id || 0 + }); + + await this.log('edit', '角色管理', `分配权限「${role.name}」(ID:${id})`); + return this.success(); + } + + // 删除角色 + async deleteAction() { + const { id } = this.post(); + + if (!id) return this.fail('参数错误'); + + const role = await this.model('admin_role') + .where({ id, is_deleted: 0 }) + .find(); + + if (think.isEmpty(role)) { + return this.fail('角色不存在'); + } + + // 默认角色不能删除 + if (role.is_default === 1) { + return this.fail('默认角色不能删除'); + } + + // 检查是否有用户使用该角色 + const userCount = await this.model('admin_user') + .where({ role_id: id, is_deleted: 0 }) + .count(); + + if (userCount > 0) { + return this.fail(`该角色下有 ${userCount} 个用户,无法删除`); + } + + await this.model('admin_role') + .where({ id }) + .update({ + is_deleted: 1, + update_by: this.adminUser?.id || 0 + }); + + await this.log('delete', '角色管理', `删除角色「${role.name}」(ID:${id})`); + return this.success(); + } + + // 批量删除 + async batchDeleteAction() { + const { ids } = this.post(); + + if (!ids || !ids.length) return this.fail('参数错误'); + + // 检查是否包含默认角色 + const defaultCount = await this.model('admin_role') + .where({ id: ['in', ids], is_default: 1, is_deleted: 0 }) + .count(); + + if (defaultCount > 0) { + return this.fail('选中的角色包含默认角色,无法删除'); + } + + // 检查是否有用户使用这些角色 + const userCount = await this.model('admin_user') + .where({ role_id: ['in', ids], is_deleted: 0 }) + .count(); + + if (userCount > 0) { + return this.fail(`选中的角色下有 ${userCount} 个用户,无法删除`); + } + + await this.model('admin_role') + .where({ id: ['in', ids] }) + .update({ + is_deleted: 1, + update_by: this.adminUser?.id || 0 + }); + + await this.log('delete', '角色管理', `批量删除角色(IDs:${ids.join(',')})`); + return this.success(); + } + + // 获取权限树配置 + async getPermissionTree() { + return [ + { + name: '患者管理', key: 'patient', + children: [ + { name: '查看', key: 'patient:view' }, + { name: '新增', key: 'patient:add' }, + { name: '编辑', key: 'patient:edit' }, + { name: '导出', key: 'patient:export' }, + { name: '审核', key: 'patient:audit' } + ] + }, + { + name: '内容管理', key: 'content', + children: [ + { name: '查看', key: 'content:view' }, + { name: '新增', key: 'content:add' }, + { name: '编辑', key: 'content:edit' }, + { name: '删除', key: 'content:delete' } + ] + }, + { + name: '系统管理', key: 'setting:system', + children: [ + { name: '用户管理', key: 'setting:system:user' }, + { name: '角色权限', key: 'setting:system:role' }, + { name: '操作日志', key: 'setting:system:log' }, + { name: '短信记录', key: 'setting:system:sms' } + ] + } + ]; + } +}; diff --git a/src/controller/admin/system/sms.js b/src/controller/admin/system/sms.js new file mode 100644 index 0000000..627eaed --- /dev/null +++ b/src/controller/admin/system/sms.js @@ -0,0 +1,50 @@ +const Base = require('../../base'); + +module.exports = class extends Base { + async indexAction() { + this.assign('currentPage', 'sys-sms'); + this.assign('pageTitle', '短信记录'); + this.assign('breadcrumb', [ + { name: '系统管理', url: '/admin/system/user.html' }, + { name: '短信记录' } + ]); + return this.display(); + } + + async listAction() { + const keyword = this.get('keyword') || ''; + const status = this.get('status'); + const bizType = this.get('bizType') || ''; + const startDate = this.get('startDate') || ''; + const endDate = this.get('endDate') || ''; + const page = this.get('page') || 1; + const pageSize = this.get('pageSize') || 20; + + const model = this.model('sms_log'); + const where = {}; + + if (keyword) { + where.mobile = ['like', `%${keyword}%`]; + } + if (status !== '' && status !== undefined) { + where.status = parseInt(status); + } + if (bizType) { + where.biz_type = bizType; + } + if (startDate && endDate) { + where.create_time = ['between', [startDate + ' 00:00:00', endDate + ' 23:59:59']]; + } else if (startDate) { + where.create_time = ['>=', startDate + ' 00:00:00']; + } else if (endDate) { + where.create_time = ['<=', endDate + ' 23:59:59']; + } + + const list = await model.where(where) + .order('id DESC') + .page(page, pageSize) + .countSelect(); + + return this.json({ code: 0, data: list }); + } +}; diff --git a/src/controller/admin/system/user.js b/src/controller/admin/system/user.js new file mode 100644 index 0000000..6f0df1e --- /dev/null +++ b/src/controller/admin/system/user.js @@ -0,0 +1,268 @@ +const Base = require('../../base'); + +module.exports = class extends Base { + // 用户列表页面 + async indexAction() { + this.assign('currentPage', 'sys-user'); + this.assign('pageTitle', '用户管理'); + this.assign('breadcrumb', [ + { name: '系统管理', url: '/admin/system/user.html' }, + { name: '用户管理' } + ]); + + // 获取角色列表 + const roles = await this.model('admin_role') + .where({ is_deleted: 0 }) + .select(); + this.assign('roles', roles); + + // 当前登录用户 + this.assign('adminUser', this.adminUser || {}); + + return this.display(); + } + + // 获取用户列表接口 + async listAction() { + const { keyword, role_id, status, page = 1, pageSize = 10 } = this.get(); + + const where = { is_deleted: 0 }; + + if (keyword) { + where._complex = { + username: ['like', `%${keyword}%`], + nickname: ['like', `%${keyword}%`], + _logic: 'or' + }; + } + + if (role_id) { + where.role_id = role_id; + } + + if (status !== undefined && status !== '') { + where.status = parseInt(status, 10); + } + + const list = await this.model('admin_user') + .where(where) + .order('id ASC') + .page(page, pageSize) + .countSelect(); + + // 获取角色名称 + const roleIds = [...new Set(list.data.map(item => item.role_id))]; + const roles = roleIds.length ? await this.model('admin_role') + .where({ id: ['in', roleIds] }) + .select() : []; + const roleMap = {}; + roles.forEach(r => roleMap[r.id] = r.name); + + list.data.forEach(item => { + item.role_name = roleMap[item.role_id] || '-'; + delete item.password; + }); + + return this.success(list); + } + + // 获取单个用户 + async detailAction() { + const { id } = this.get(); + if (!id) return this.fail('参数错误'); + + const user = await this.model('admin_user') + .where({ id, is_deleted: 0 }) + .find(); + + if (think.isEmpty(user)) { + return this.fail('用户不存在'); + } + + delete user.password; + return this.success(user); + } + + // 新增用户 + async addAction() { + const { username, password, nickname, email, phone, role_id, status = 1 } = this.post(); + + if (!username || !password) { + return this.fail('用户名和密码不能为空'); + } + + // 密码强度校验 + const pwdErr = this.checkPasswordStrength(password); + if (pwdErr) return this.fail(pwdErr); + + // 检查用户名是否存在 + const exist = await this.model('admin_user') + .where({ username, is_deleted: 0 }) + .find(); + + if (!think.isEmpty(exist)) { + return this.fail('用户名已存在'); + } + + const data = { + username, + password: think.md5(password), + nickname: nickname || '', + email: email || '', + phone: phone || '', + role_id: role_id || 0, + status, + create_by: this.adminUser?.id || 0 + }; + + const id = await this.model('admin_user').add(data); + await this.log('add', '用户管理', `新增用户「${username}」`); + return this.success({ id }); + } + + // 编辑用户 + async editAction() { + const { id, nickname, email, phone, role_id, status } = this.post(); + + if (!id) return this.fail('参数错误'); + + const user = await this.model('admin_user') + .where({ id, is_deleted: 0 }) + .find(); + + if (think.isEmpty(user)) { + return this.fail('用户不存在'); + } + + const data = { + nickname: nickname || user.nickname, + email: email || user.email, + phone: phone || user.phone, + role_id: role_id !== undefined ? role_id : user.role_id, + status: status !== undefined ? status : user.status, + update_by: this.adminUser?.id || 0 + }; + + await this.model('admin_user').where({ id }).update(data); + await this.log('edit', '用户管理', `编辑用户(ID:${id})`); + return this.success(); + } + + // 重置密码 + async resetPasswordAction() { + const { id, password } = this.post(); + + if (!id || !password) { + return this.fail('参数错误'); + } + + // 密码强度校验 + const pwdErr = this.checkPasswordStrength(password); + if (pwdErr) return this.fail(pwdErr); + + const user = await this.model('admin_user') + .where({ id, is_deleted: 0 }) + .find(); + + if (think.isEmpty(user)) { + return this.fail('用户不存在'); + } + + await this.model('admin_user') + .where({ id }) + .update({ + password: think.md5(password), + update_by: this.adminUser?.id || 0 + }); + + await this.log('edit', '用户管理', `重置用户密码(ID:${id})`); + return this.success(); + } + + // 删除用户(软删除) + async deleteAction() { + const { id } = this.post(); + + if (!id) return this.fail('参数错误'); + + // 不能删除自己 + if (id == this.adminUser?.id) { + return this.fail('不能删除当前登录用户'); + } + + await this.model('admin_user') + .where({ id }) + .update({ + is_deleted: 1, + update_by: this.adminUser?.id || 0 + }); + + await this.log('delete', '用户管理', `删除用户(ID:${id})`); + return this.success(); + } + + // 切换状态 + async toggleStatusAction() { + const { id } = this.post(); + + if (!id) return this.fail('参数错误'); + + const user = await this.model('admin_user') + .where({ id, is_deleted: 0 }) + .find(); + + if (think.isEmpty(user)) { + return this.fail('用户不存在'); + } + + // 不能禁用自己 + if (id == this.adminUser?.id) { + return this.fail('不能禁用当前登录用户'); + } + + await this.model('admin_user') + .where({ id }) + .update({ + status: user.status === 1 ? 0 : 1, + update_by: this.adminUser?.id || 0 + }); + + return this.success(); + } + + // 解锁用户(清除登录失败计数) + async unlockAction() { + const { id } = this.post(); + if (!id) return this.fail('参数错误'); + + const user = await this.model('admin_user') + .where({ id, is_deleted: 0 }) + .find(); + + if (think.isEmpty(user)) { + return this.fail('用户不存在'); + } + + await this.model('admin_user') + .where({ id }) + .update({ login_fail_count: 0, login_fail_date: null }); + + await this.log('edit', '用户管理', `解锁用户「${user.username}」`); + return this.success(); + } + + // 密码强度校验:至少8位,大写/小写/数字至少包含两种 + checkPasswordStrength(pwd) { + if (!pwd || pwd.length < 8) { + return '密码长度不能少于8位'; + } + let types = 0; + if (/[a-z]/.test(pwd)) types++; + if (/[A-Z]/.test(pwd)) types++; + if (/\d/.test(pwd)) types++; + if (types < 2) { + return '密码需包含大写字母、小写字母、数字中的至少两种'; + } + return null; + } +}; diff --git a/src/controller/admin/upload.js b/src/controller/admin/upload.js new file mode 100644 index 0000000..4dfe577 --- /dev/null +++ b/src/controller/admin/upload.js @@ -0,0 +1,306 @@ +const Base = require('../base.js'); +const COS = require('cos-nodejs-sdk-v5'); +const fs = require('fs'); +const path = require('path'); +const cosConfig = require('../../config/cos.js'); + +module.exports = class extends Base { + /** + * 文件上传 + * POST /admin/upload + */ + async indexAction() { + // 辅助函数:延迟 + const sleep = (ms) => new Promise(resolve => setTimeout(resolve, ms)); + + // 获取文件(处理 ThinkJS 文件获取延迟问题) + let file = this.file('file'); + let filePath = file ? file.path : ''; + + if (!filePath) { + await sleep(1000); + file = this.file('file'); + filePath = file ? file.path : ''; + if (!filePath) { + await sleep(1000); + file = this.file('file'); + filePath = file ? file.path : ''; + if (!filePath) { + return this.fail('请选择要上传的文件'); + } + } + } + + try { + // 获取文件信息 + const originalName = file.name; + const fileSize = file.size; + const mimeType = file.type; + + // 验证文件类型和大小 + const validation = this.validateFile(mimeType, fileSize); + if (!validation.valid) { + // 删除临时文件 + if (fs.existsSync(filePath)) { + fs.unlinkSync(filePath); + } + return this.fail(validation.message); + } + + // 生成存储路径(按日期分类) + const now = new Date(); + const year = now.getFullYear(); + const month = String(now.getMonth() + 1).padStart(2, '0'); + const day = String(now.getDate()).padStart(2, '0'); + const dateFolder = `${year}/${month}/${day}`; + + // 生成文件名(保留原文件名,添加时间戳避免重复) + const timestamp = Date.now(); + const ext = path.extname(originalName); + const baseName = path.basename(originalName, ext); + const fileName = `${baseName}_${timestamp}${ext}`; + const cosKey = `uploads/${dateFolder}/${fileName}`; + + // 如果是图片,进行压缩处理 + let uploadFilePath = filePath; + let actualFileSize = fileSize; + + if (this.isImage(mimeType)) { + // 检查文件大小是否需要压缩 + if (fileSize < cosConfig.imageCompress.minSize) { + think.logger.info(`图片小于 ${cosConfig.imageCompress.minSize / 1024}KB,跳过压缩`); + } else { + try { + const compressResult = await this.compressImage(filePath, mimeType); + // 比较压缩后的文件大小,如果压缩后更大则使用原图 + if (compressResult.compressedPath && compressResult.compressedSize < fileSize) { + uploadFilePath = compressResult.compressedPath; + actualFileSize = compressResult.compressedSize; + think.logger.info(`图片压缩成功: ${fileSize} -> ${compressResult.compressedSize} (节省 ${((1 - compressResult.compressedSize / fileSize) * 100).toFixed(2)}%)`); + } else { + think.logger.info('压缩后文件更大,使用原图上传'); + // 删除压缩后的文件 + if (compressResult.compressedPath && fs.existsSync(compressResult.compressedPath)) { + try { + fs.unlinkSync(compressResult.compressedPath); + } catch (e) { + think.logger.warn('删除压缩文件失败:', e.message); + } + } + } + } catch (compressError) { + think.logger.warn('图片压缩失败,使用原图上传:', compressError); + // 压缩失败时使用原图 + } + } + } + + // 初始化 COS 客户端 + const cos = new COS({ + SecretId: cosConfig.secretId, + SecretKey: cosConfig.secretKey + }); + + // 上传文件到 COS + const uploadResult = await new Promise((resolve, reject) => { + cos.putObject({ + Bucket: cosConfig.bucket, + Region: cosConfig.region, + Key: cosKey, + Body: fs.createReadStream(uploadFilePath), + ContentType: mimeType, + onProgress: (progressData) => { + // 可以在这里处理上传进度 + } + }, (err, data) => { + if (err) { + reject(err); + } else { + resolve(data); + } + }); + }); + + // 清理临时文件(延迟删除,避免 Windows 文件句柄未释放问题) + setTimeout(() => { + try { + if (fs.existsSync(filePath)) { + fs.unlinkSync(filePath); + } + } catch (e) { + think.logger.warn('删除临时文件失败:', e.message); + } + try { + if (uploadFilePath !== filePath && fs.existsSync(uploadFilePath)) { + fs.unlinkSync(uploadFilePath); + } + } catch (e) { + think.logger.warn('删除压缩文件失败:', e.message); + } + }, 1000); + + // 返回结果 + if (uploadResult.statusCode === 200) { + const bucketUrl = `https://${uploadResult.Location}`; + const cdnUrl = bucketUrl.replace(cosConfig.bucketUrl, cosConfig.cdnUrl); + + return this.success({ + url: cdnUrl, + name: originalName, + bucket_url: bucketUrl, + file_name: originalName, + file_size: actualFileSize, + mime_type: mimeType + }); + } else { + return this.fail('文件上传失败'); + } + } catch (error) { + think.logger.error('文件上传失败:', error); + // 清理临时文件 + if (file && file.path && fs.existsSync(file.path)) { + try { + fs.unlinkSync(file.path); + } catch (cleanError) { + think.logger.error('清理临时文件失败:', cleanError); + } + } + return this.fail('文件上传失败: ' + error.message); + } + } + + /** + * 验证文件类型和大小 + */ + validateFile(mimeType, fileSize) { + const allAllowedTypes = [ + ...cosConfig.allowedImageTypes, + ...cosConfig.allowedDocTypes, + ...cosConfig.allowedVideoTypes + ]; + + // 验证文件类型 + if (!allAllowedTypes.includes(mimeType)) { + return { + valid: false, + message: '不支持的文件类型' + }; + } + + // 验证文件大小 + let maxSize = 0; + if (cosConfig.allowedImageTypes.includes(mimeType)) { + maxSize = cosConfig.maxImageSize; + } else if (cosConfig.allowedDocTypes.includes(mimeType)) { + maxSize = cosConfig.maxDocSize; + } else if (cosConfig.allowedVideoTypes.includes(mimeType)) { + maxSize = cosConfig.maxVideoSize; + } + + if (fileSize > maxSize) { + const maxSizeMB = (maxSize / 1024 / 1024).toFixed(0); + return { + valid: false, + message: `文件大小不能超过 ${maxSizeMB}MB` + }; + } + + return { valid: true }; + } + + /** + * 判断是否为图片 + */ + isImage(mimeType) { + return cosConfig.allowedImageTypes.includes(mimeType); + } + + /** + * 压缩图片 + * 返回压缩后的文件路径和文件大小 + */ + async compressImage(filePath, mimeType) { + // 尝试加载 sharp,如果没有安装则跳过压缩 + let sharp; + try { + sharp = require('sharp'); + } catch (e) { + think.logger.warn('sharp 模块未安装,跳过图片压缩'); + return { compressedPath: null, compressedSize: 0 }; + } + + const compressedPath = filePath + '_compressed'; + const { quality, maxWidth, maxHeight } = cosConfig.imageCompress; + + try { + const image = sharp(filePath); + const metadata = await image.metadata(); + + // 计算缩放尺寸 + let resizeOptions = {}; + if (metadata.width > maxWidth || metadata.height > maxHeight) { + resizeOptions = { + width: maxWidth, + height: maxHeight, + fit: 'inside', + withoutEnlargement: true + }; + } + + // 根据图片类型选择压缩格式 + let outputOptions = {}; + if (mimeType === 'image/jpeg' || mimeType === 'image/jpg') { + outputOptions = { quality }; + await image.resize(resizeOptions).jpeg(outputOptions).toFile(compressedPath); + } else if (mimeType === 'image/png') { + outputOptions = { quality, compressionLevel: 9 }; + await image.resize(resizeOptions).png(outputOptions).toFile(compressedPath); + } else if (mimeType === 'image/webp') { + outputOptions = { quality }; + await image.resize(resizeOptions).webp(outputOptions).toFile(compressedPath); + } else { + // 其他格式不压缩 + return { + compressedPath: null, + compressedSize: 0 + }; + } + + // 获取压缩后的文件大小 + const stats = fs.statSync(compressedPath); + const compressedSize = stats.size; + + return { + compressedPath, + compressedSize + }; + } catch (error) { + think.logger.error('图片压缩失败:', error); + throw error; + } + } + + /** + * 获取上传配置信息 + * GET /admin/upload/config + */ + async configAction() { + try { + return this.success({ + allowedTypes: { + images: cosConfig.allowedImageTypes, + documents: cosConfig.allowedDocTypes, + videos: cosConfig.allowedVideoTypes + }, + maxSize: { + image: cosConfig.maxImageSize, + document: cosConfig.maxDocSize, + video: cosConfig.maxVideoSize + } + }); + } catch (error) { + think.logger.error('获取上传配置失败:', error); + return this.fail('获取上传配置失败'); + } + } +}; diff --git a/src/controller/base.js b/src/controller/base.js new file mode 100644 index 0000000..d2641f9 --- /dev/null +++ b/src/controller/base.js @@ -0,0 +1,324 @@ +const jwt = require('jsonwebtoken'); + +// JWT配置 +const JWT_SECRET = think.md5('yzx'); +const JWT_EXPIRES_IN = 24 * 60 * 60; + +// 白名单配置 +const WHITE_LIST = [ + '/admin/login', + '/admin/auth/login', + '/admin/auth/captcha', + '/admin/logout', + '/api/content', + '/api/mp/login', + '/common/ocr/idcard', + '/common/ocr/hmt', +]; + +module.exports = class extends think.Controller { + async __before() { + const path = this.ctx.path; + + // 白名单放行(同时匹配带.html后缀的路径) + const pathNoSuffix = path.replace(/\.html$/, ''); + if (WHITE_LIST.includes(path) || WHITE_LIST.includes(pathNoSuffix)) { + return; + } + + // 后台路由需要验证JWT + if (path.startsWith('/admin')) { + const token = this.cookie('admin_token') || this.header('authorization')?.replace('Bearer ', ''); + + if (!token) { + return this.handleUnauthorized(); + } + + try { + const decoded = jwt.verify(token, JWT_SECRET); + this.adminUser = decoded; + + if (!this.isAjax()) { + this.assign('version', think.config('version')); + await this.loadUserPermissions(); + this.assign('adminUser', this.adminUser || {}); + } + } catch (err) { + return this.handleUnauthorized(); + } + } + + // 小程序API路由验证JWT + if (path.startsWith('/api/mp/')) { + const token = this.header('authorization')?.replace('Bearer ', ''); + if (token) { + try { + const decoded = jwt.verify(token, JWT_SECRET); + if (decoded.type === 'mp') { + this.mpUser = decoded; + } + } catch (err) { + // token无效,mpUser为空,由具体action判断是否需要登录 + } + } + } + } + + // 加载用户权限 + async loadUserPermissions() { + if (!this.adminUser) return; + + // 查询用户昵称补充到 adminUser + const userInfo = await this.model('admin_user') + .field('nickname') + .where({ id: this.adminUser.id, is_deleted: 0 }) + .find(); + if (!think.isEmpty(userInfo)) { + this.adminUser.nickname = userInfo.nickname || ''; + } + + const role = await this.model('admin_role') + .where({ id: this.adminUser.role_id, is_deleted: 0 }) + .find(); + + let perms = []; + let isSuper = false; + if (!think.isEmpty(role)) { + isSuper = role.is_default === 1 && (role.code === 'ADMIN' || role.name === '超级管理员'); + if (!isSuper) { + try { + perms = JSON.parse(role.permissions || '[]'); + } catch (e) { + perms = []; + } + } + } + this.userPermissions = perms; + this.isSuperAdmin = isSuper; + this.assign('userPermissions', perms); + this.assign('isSuperAdmin', isSuper); + } + + // 未授权处理 + handleUnauthorized() { + if (this.isAjax()) { + return this.fail(401, '请先登录'); + } + return this.redirect('/admin/login.html'); + } + + // 判断是否Ajax请求 + isAjax() { + return this.header('x-requested-with') === 'XMLHttpRequest' || + this.header('accept')?.includes('application/json'); + } + + // 生成JWT Token + static generateToken(payload) { + return jwt.sign(payload, JWT_SECRET, { expiresIn: JWT_EXPIRES_IN }); + } + + // 记录操作日志 + async log(action, module, description) { + try { + const user = this.adminUser || {}; + await this.model('operation_log').add({ + user_id: user.id || 0, + username: user.username || '', + action: action || '', + module: module || '', + description: description || '', + ip: this.ctx.ip || '', + user_agent: (this.header('user-agent') || '').slice(0, 500) + }); + } catch (e) { + // 日志写入失败不影响业务 + } + } + + /** + * 发送短信验证码 + * @param {string} mobile - 手机号 + * @param {string} bizType - 业务类型 + * @returns {Object} { success, message, code? } + */ + async sendSmsCode(mobile, bizType) { + const dayjs = require('dayjs'); + const smsConfig = require('../config/sms.js'); + const codeConfig = smsConfig.code; + const ip = this.ctx.ip || ''; + + // 检查发送频率 + const rateLimitKey = `sms:rate_limit:${mobile}:${bizType}`; + const lastSendTime = await think.cache(rateLimitKey); + if (lastSendTime) { + const elapsed = Math.floor((Date.now() - lastSendTime) / 1000); + const remaining = codeConfig.intervalSeconds - elapsed; + if (remaining > 0) { + return { success: false, message: `请${remaining}秒后再试` }; + } + } + + // 检查每日发送次数 + const today = dayjs().format('YYYY-MM-DD'); + const dailyKey = `sms:daily:${mobile}:${today}`; + const dailyCount = (await think.cache(dailyKey)) || 0; + if (dailyCount >= codeConfig.dailyLimit) { + return { success: false, message: '今日发送次数已达上限' }; + } + + // 生成验证码 + const code = String(Math.floor(Math.pow(10, codeConfig.length - 1) + Math.random() * 9 * Math.pow(10, codeConfig.length - 1))); + const expireTime = dayjs().add(codeConfig.expireMinutes, 'minute').toDate(); + + // 记录到数据库 + const smsLogModel = this.model('sms_log'); + const logId = await smsLogModel.add({ + mobile, + template_id: smsConfig.templates.code, + template_params: JSON.stringify({ code }), + sms_type: 1, + biz_type: bizType, + code, + expire_time: think.datetime(expireTime), + status: 0, + ip, + create_time: think.datetime(new Date()) + }); + + // 发送短信 + let sendResult = { success: true, msgId: null }; + if (smsConfig.enabled && smsConfig.smsSdkAppId && smsConfig.templates.code) { + sendResult = await this._sendTencentSms(mobile, smsConfig.templates.code, [code, String(codeConfig.expireMinutes)]); + } else { + think.logger.info(`[SMS-DEV] 手机号: ${mobile}, 验证码: ${code}, 业务: ${bizType}`); + } + + // 更新发送状态 + await smsLogModel.where({ id: logId }).update({ + status: sendResult.success ? 1 : 2, + fail_reason: sendResult.success ? null : sendResult.message, + provider_msg_id: sendResult.msgId + }); + + if (!sendResult.success) { + return { success: false, message: sendResult.message || '短信发送失败' }; + } + + // 存入缓存 + const codeKey = `sms:code:${mobile}:${bizType}`; + await think.cache(codeKey, code, { timeout: codeConfig.expireMinutes * 60 * 1000 }); + await think.cache(rateLimitKey, Date.now(), { timeout: codeConfig.intervalSeconds * 1000 }); + await think.cache(dailyKey, dailyCount + 1, { timeout: 24 * 60 * 60 * 1000 }); + + return { success: true, message: '验证码已发送', code }; + } + + /** + * 校验短信验证码 + */ + async verifySmsCode(mobile, bizType, code) { + const codeKey = `sms:code:${mobile}:${bizType}`; + const cachedCode = await think.cache(codeKey); + + if (!cachedCode) { + return { success: false, message: '验证码已过期,请重新获取' }; + } + if (cachedCode !== code) { + return { success: false, message: '验证码错误' }; + } + + await think.cache(codeKey, null); + return { success: true, message: '验证成功' }; + } + + /** + * 发送通知短信(非验证码类) + * @param {string} mobile - 手机号 + * @param {string} templateId - 模板ID + * @param {string[]} templateParams - 模板参数数组 + * @param {string} bizType - 业务类型(用于日志) + * @returns {Object} { success, message } + */ + async sendNotifySms(mobile, templateId, templateParams = [], bizType = 'notify') { + const smsConfig = require('../config/sms.js'); + const ip = this.ctx?.ip || ''; + + // 记录到数据库 + const smsLogModel = this.model('sms_log'); + const logId = await smsLogModel.add({ + mobile, + template_id: templateId, + template_params: JSON.stringify(templateParams), + sms_type: 2, + biz_type: bizType, + code: '', + status: 0, + ip, + create_time: think.datetime(new Date()) + }); + + let sendResult = { success: true, msgId: null }; + if (smsConfig.enabled && smsConfig.smsSdkAppId) { + sendResult = await this._sendTencentSms(mobile, templateId, templateParams); + } else { + think.logger.info(`[SMS-DEV] 通知短信 手机号: ${mobile}, 模板: ${templateId}, 参数: ${JSON.stringify(templateParams)}, 业务: ${bizType}`); + } + + await smsLogModel.where({ id: logId }).update({ + status: sendResult.success ? 1 : 2, + fail_reason: sendResult.success ? null : sendResult.message, + provider_msg_id: sendResult.msgId + }); + + return sendResult; + } + + /** + * 发送腾讯云短信 + * @private + */ + async _sendTencentSms(mobile, templateId, templateParams) { + const smsConfig = require('../config/sms.js'); + try { + const tencentcloud = require('tencentcloud-sdk-nodejs'); + const SmsClient = tencentcloud.sms.v20210111.Client; + + const client = new SmsClient({ + credential: { + secretId: smsConfig.secretId, + secretKey: smsConfig.secretKey + }, + region: smsConfig.region, + profile: { + httpProfile: { endpoint: 'sms.tencentcloudapi.com' } + } + }); + + const result = await client.SendSms({ + PhoneNumberSet: [`+86${mobile}`], + SmsSdkAppId: smsConfig.smsSdkAppId, + SignName: smsConfig.signName, + TemplateId: templateId, + TemplateParamSet: templateParams + }); + + const sendStatus = result.SendStatusSet?.[0]; + if (sendStatus?.Code === 'Ok') { + return { success: true, msgId: sendStatus.SerialNo }; + } + return { success: false, message: sendStatus?.Message || '发送失败' }; + } catch (error) { + think.logger.error('[SMS] 腾讯云短信发送失败:', error); + return { success: false, message: error.message }; + } + } + + static get JWT_SECRET() { + return JWT_SECRET; + } + + static get JWT_EXPIRES_IN() { + return JWT_EXPIRES_IN; + } +}; diff --git a/src/controller/common.js b/src/controller/common.js new file mode 100644 index 0000000..2bd23b9 --- /dev/null +++ b/src/controller/common.js @@ -0,0 +1,184 @@ +module.exports = class extends think.Controller { + /** + * 根据 content_key 获取内容 + * GET /api/content?key=xxx + */ + async contentAction() { + const key = this.get('key'); + if (!key) return this.json({ code: 1, msg: '参数错误' }); + + try { + const item = await this.model('content').getByKey(key); + if (think.isEmpty(item)) { + return this.json({ code: 1, msg: '内容不存在' }); + } + return this.json({ code: 0, data: item }); + } catch (error) { + think.logger.error('获取内容失败:', error); + return this.json({ code: 1, msg: '获取内容失败' }); + } + } + + /** + * 身份证OCR识别 + * POST /common/ocr/idcard + */ + async ocrIdcardAction() { + const { imageUrl, cardSide = 'FRONT' } = this.post(); + if (!imageUrl) { + return this.json({ code: 1, msg: '请上传证件图片' }); + } + + const ocrConfig = require('../config/ocr.js'); + + if (!ocrConfig.enabled || !ocrConfig.secretId) { + return this.json({ code: 0, data: this._getMockIdCardData(cardSide), msg: 'OCR识别成功(模拟数据)' }); + } + + try { + const tencentcloud = require('tencentcloud-sdk-nodejs'); + const OcrClient = tencentcloud.ocr.v20181119.Client; + + const client = new OcrClient({ + credential: { secretId: ocrConfig.secretId, secretKey: ocrConfig.secretKey }, + region: ocrConfig.region, + profile: { httpProfile: { endpoint: 'ocr.tencentcloudapi.com' } } + }); + + const result = await client.IDCardOCR({ ImageUrl: imageUrl, CardSide: cardSide }); + + const data = cardSide === 'FRONT' ? { + name: result.Name || '', + sex: result.Sex || '', + nation: result.Nation || '', + birth: result.Birth || '', + address: result.Address || '', + idNum: result.IdNum || '' + } : { + authority: result.Authority || '', + validDate: result.ValidDate || '' + }; + + return this.json({ code: 0, data, msg: 'OCR识别成功' }); + } catch (error) { + think.logger.error('[OCR] 身份证识别失败:', error); + return this.json({ code: 1, msg: error.message || 'OCR识别失败' }); + } + } + + /** + * 港澳台通行证OCR识别 + * POST /common/ocr/hmt + */ + async ocrHmtAction() { + const { imageUrl } = this.post(); + if (!imageUrl) { + return this.json({ code: 1, msg: '请上传证件图片' }); + } + + const ocrConfig = require('../config/ocr.js'); + + if (!ocrConfig.enabled || !ocrConfig.secretId) { + return this.json({ code: 0, data: this._getMockHmtData(), msg: 'OCR识别成功(模拟数据)' }); + } + + try { + const tencentcloud = require('tencentcloud-sdk-nodejs'); + const OcrClient = tencentcloud.ocr.v20181119.Client; + + const client = new OcrClient({ + credential: { secretId: ocrConfig.secretId, secretKey: ocrConfig.secretKey }, + region: ocrConfig.region, + profile: { httpProfile: { endpoint: 'ocr.tencentcloudapi.com' } } + }); + + const result = await client.MainlandPermitOCR({ ImageUrl: imageUrl }); + + return this.json({ + code: 0, + data: { + name: result.Name || '', + englishName: result.EnglishName || '', + sex: result.Sex || '', + birth: result.Birthday || '', + idNum: result.Number || '', + issueAuthority: result.IssueAuthority || '', + validDate: result.ValidDate || '', + issueAddress: result.IssueAddress || '', + type: result.Type || '' + }, + msg: 'OCR识别成功' + }); + } catch (error) { + think.logger.error('[OCR] 港澳台通行证识别失败:', error); + return this.json({ code: 1, msg: error.message || 'OCR识别失败' }); + } + } + + _getMockIdCardData(cardSide) { + if (cardSide === 'FRONT') { + return { + name: '张三', sex: '男', nation: '汉', + birth: '1990/01/01', address: '北京市朝阳区xxx街道xxx号', + idNum: '110101199001011234' + }; + } + return { authority: '北京市公安局朝阳分局', validDate: '2020.01.01-2040.01.01' }; + } + + _getMockHmtData() { + return { + name: '李小红', englishName: 'LI XIAOHONG', sex: '女', + birth: '1992.08.20', idNum: 'H12345678', + issueAuthority: '公安部出入境管理局', validDate: '2020.01.01-2030.01.01', + issueAddress: '广东', type: '港澳居民来往内地通行证' + }; + } + + /** + * 获取省市区树形数据(一次返回) + * GET /common/regions + */ + async regionsAction() { + try { + const regionModel = this.model('sys_region'); + const regions = await regionModel + .where({ status: 1 }) + .order('code ASC') + .select(); + + // 分离省、市、区 + const provinces = []; + const cityMap = {}; + const districtMap = {}; + + regions.forEach(r => { + const code = r.code; + if (code.endsWith('0000')) { + provinces.push({ code, name: r.name, children: [] }); + } else if (code.endsWith('00')) { + const parentCode = code.substring(0, 2) + '0000'; + if (!cityMap[parentCode]) cityMap[parentCode] = []; + cityMap[parentCode].push({ code, name: r.name, children: [] }); + } else { + const parentCode = code.substring(0, 4) + '00'; + if (!districtMap[parentCode]) districtMap[parentCode] = []; + districtMap[parentCode].push({ code, name: r.name }); + } + }); + + // 组装树 + provinces.forEach(p => { + p.children = cityMap[p.code] || []; + p.children.forEach(c => { + c.children = districtMap[c.code] || []; + }); + }); + + return this.json({ code: 0, data: provinces }); + } catch (error) { + think.logger.error('获取省市区数据失败:', error); + return this.json({ code: 1, msg: '获取省市区数据失败' }); + } + } +}; diff --git a/src/controller/index.js b/src/controller/index.js new file mode 100644 index 0000000..3cc6466 --- /dev/null +++ b/src/controller/index.js @@ -0,0 +1,5 @@ +module.exports = class extends think.Controller { + indexAction() { + return this.redirect('/admin/dashboard.html'); + } +}; diff --git a/src/controller/mp.js b/src/controller/mp.js new file mode 100644 index 0000000..1e352ee --- /dev/null +++ b/src/controller/mp.js @@ -0,0 +1,499 @@ +const Base = require('./base'); +const jwt = require('jsonwebtoken'); +const COS = require('cos-nodejs-sdk-v5'); +const fs = require('fs'); +const path = require('path'); +const cosConfig = require('../config/cos.js'); + +const APP_REMARK = 'pap_mini_cytx'; + +module.exports = class extends Base { + // POST /api/mp/login + async loginAction() { + const code = this.post('code'); + if (!code) return this.json({ code: 1, msg: '缺少code参数' }); + try { + const wechatService = this.service('wechat'); + const session = await wechatService.code2Session(code, APP_REMARK); + const { openid, unionid } = session; + if (!openid) return this.json({ code: 1, msg: '获取openid失败' }); + + const userModel = this.model('wechat_user'); + let user = await userModel.findByOpenId(openid, APP_REMARK); + if (think.isEmpty(user)) { + const id = await userModel.createUser({ + open_id: openid, union_id: unionid || '', app_remark: APP_REMARK, + nickname: '微信用户', status: 1 + }); + user = await userModel.where({ id }).find(); + } + if (user.status !== 1) return this.json({ code: 1, msg: '账号已被停用' }); + + const token = jwt.sign( + { id: user.id, open_id: user.open_id, type: 'mp' }, + Base.JWT_SECRET, { expiresIn: 7 * 24 * 60 * 60 } + ); + let patient = null; + if (user.patient_id) { + patient = await this.model('patient') + .field('id, patient_no, name, phone, status, auth_status') + .where({ id: user.patient_id, is_deleted: 0 }).find(); + if (think.isEmpty(patient)) patient = null; + } + return this.json({ code: 0, data: { token, userInfo: { + id: user.id, nickname: user.nickname || '', avatar: user.avatar || '', + phone: user.phone || '', patient_id: user.patient_id || null, patient + }}}); + } catch (error) { + think.logger.error('login error:', error); + return this.json({ code: 1, msg: error.message || '登录失败' }); + } + } + // GET /api/mp/userinfo + async userinfoAction() { + const mpUser = this.mpUser; + if (!mpUser) return this.json({ code: 1009, msg: '请先登录' }); + try { + const user = await this.model('wechat_user').where({ id: mpUser.id, status: 1 }).find(); + if (think.isEmpty(user)) return this.json({ code: 1009, msg: '用户不存在' }); + let patient = null; + if (user.patient_id) { + patient = await this.model('patient') + .field('id, patient_no, name, phone, status, auth_status') + .where({ id: user.patient_id, is_deleted: 0 }).find(); + if (think.isEmpty(patient)) patient = null; + } + return this.json({ code: 0, data: { + id: user.id, nickname: user.nickname || '', avatar: user.avatar || '', + phone: user.phone || '', patient_id: user.patient_id || null, patient + }}); + } catch (error) { + think.logger.error('userinfo error:', error); + return this.json({ code: 1, msg: '获取用户信息失败' }); + } + } + + // POST /api/mp/upload + async uploadAction() { + const mpUser = this.mpUser; + if (!mpUser) return this.json({ code: 1009, msg: '请先登录' }); + const sleep = (ms) => new Promise(resolve => setTimeout(resolve, ms)); + let file = this.file('file'); + let filePath = file ? file.path : ''; + if (!filePath) { + await sleep(1000); + file = this.file('file'); + filePath = file ? file.path : ''; + if (!filePath) return this.json({ code: 1, msg: '请选择要上传的文件' }); + } + try { + const originalName = file.name; + const mimeType = file.type; + const now = new Date(); + const dateFolder = now.getFullYear() + '/' + String(now.getMonth() + 1).padStart(2, '0') + '/' + String(now.getDate()).padStart(2, '0'); + const ext = path.extname(originalName); + const baseName = path.basename(originalName, ext); + const fileName = baseName + '_' + Date.now() + ext; + const cosKey = 'uploads/' + dateFolder + '/' + fileName; + const cos = new COS({ SecretId: cosConfig.secretId, SecretKey: cosConfig.secretKey }); + const uploadResult = await new Promise((resolve, reject) => { + cos.putObject({ + Bucket: cosConfig.bucket, Region: cosConfig.region, Key: cosKey, + Body: fs.createReadStream(filePath), ContentType: mimeType + }, (err, data) => { if (err) reject(err); else resolve(data); }); + }); + setTimeout(() => { try { if (fs.existsSync(filePath)) fs.unlinkSync(filePath); } catch (e) {} }, 1000); + if (uploadResult.statusCode === 200) { + const bucketUrl = 'https://' + uploadResult.Location; + const cdnUrl = bucketUrl.replace(cosConfig.bucketUrl, cosConfig.cdnUrl); + return this.json({ code: 0, data: { url: cdnUrl } }); + } + return this.json({ code: 1, msg: '文件上传失败' }); + } catch (error) { + think.logger.error('upload error:', error); + if (file && file.path && fs.existsSync(file.path)) { try { fs.unlinkSync(file.path); } catch (e) {} } + return this.json({ code: 1, msg: '文件上传失败: ' + error.message }); + } + } + // POST /api/mp/sendSmsCode + async sendSmsCodeAction() { + const mpUser = this.mpUser; + if (!mpUser) return this.json({ code: 1009, msg: '请先登录' }); + const { mobile, bizType = 'real_name_auth' } = this.post(); + if (!mobile || !/^1[3-9]\d{9}$/.test(mobile)) { + return this.json({ code: 1, msg: '请输入正确的手机号' }); + } + const result = await this.sendSmsCode(mobile, bizType); + if (!result.success) return this.json({ code: 1, msg: result.message }); + const smsConfig = require('../config/sms.js'); + const data = smsConfig.enabled ? {} : { code: result.code }; + return this.json({ code: 0, data, msg: result.message }); + } + + // GET /api/mp/authInfo + async authInfoAction() { + const mpUser = this.mpUser; + if (!mpUser) return this.json({ code: 1009, msg: '请先登录' }); + try { + const user = await this.model('wechat_user').where({ id: mpUser.id, status: 1 }).find(); + if (think.isEmpty(user) || !user.patient_id) return this.json({ code: 0, data: { authStatus: 0 } }); + const patient = await this.model('patient').where({ id: user.patient_id, is_deleted: 0 }).find(); + if (think.isEmpty(patient)) return this.json({ code: 0, data: { authStatus: 0 } }); + return this.json({ code: 0, data: { + authStatus: patient.auth_status || 0, + idCardType: patient.id_card_type || 1, + idCardFront: patient.id_card_front || '', + idCardBack: patient.id_card_back || '', + photo: patient.photo || '', + realName: patient.name || '', + idCard: patient.id_card || '', + gender: patient.gender || '', + birthday: patient.birth_date || '', + issuingAuthority: patient.issuing_authority || '', + validPeriod: patient.valid_period || '', + phone: patient.phone || '', + authTime: patient.auth_time || '' + }}); + } catch (error) { + think.logger.error('authInfo error:', error); + return this.json({ code: 1, msg: '获取认证信息失败' }); + } + } + // POST /api/mp/authSubmit + async authSubmitAction() { + const mpUser = this.mpUser; + if (!mpUser) return this.json({ code: 1009, msg: '请先登录' }); + const { idCardType, idCardFront, idCardBack, photo, realName, idCard, gender, birthday, issuingAuthority, validPeriod, mobile, code } = this.post(); + if (!realName) return this.json({ code: 1, msg: '请输入证件姓名' }); + if (!idCard) return this.json({ code: 1, msg: '请输入证件号码' }); + const cardTypeInt = parseInt(idCardType) || 1; + if (cardTypeInt === 2) { + if (!photo) return this.json({ code: 1, msg: '请上传免冠照片' }); + } else { + if (!idCardFront) return this.json({ code: 1, msg: '请上传证件正面照片' }); + if (!idCardBack) return this.json({ code: 1, msg: '请上传证件反面照片' }); + } + if (!mobile || !/^1[3-9]\d{9}$/.test(mobile)) return this.json({ code: 1, msg: '请输入正确的手机号' }); + if (!code || !/^\d{6}$/.test(code)) return this.json({ code: 1, msg: '请输入6位验证码' }); + + const verifyResult = await this.verifySmsCode(mobile, 'real_name_auth', code); + if (!verifyResult.success) return this.json({ code: 1, msg: verifyResult.message }); + + const patientModel = this.model('patient'); + const userModel = this.model('wechat_user'); + const currentUser = await userModel.where({ id: mpUser.id }).find(); + const existPatient = await patientModel.where({ + id_card: idCard, is_deleted: 0, + ...(currentUser.patient_id ? { id: ['!=', currentUser.patient_id] } : {}) + }).find(); + if (!think.isEmpty(existPatient)) return this.json({ code: 1, msg: '该证件号已被其他用户认证' }); + + if (cardTypeInt === 1 || cardTypeInt === 3) { + const faceidConfig = require('../config/faceid.js'); + if (faceidConfig.enabled) { + const verifyIdResult = await this._verifyIdCard(realName, idCard); + if (!verifyIdResult.success) return this.json({ code: 1, msg: verifyIdResult.message }); + } + } + + const now = think.datetime(new Date()); + try { + if (currentUser.patient_id) { + await patientModel.where({ id: currentUser.patient_id }).update({ + name: realName, phone: mobile, id_card: idCard, id_card_type: cardTypeInt, + id_card_front: idCardFront || '', id_card_back: idCardBack || '', photo: photo || '', + gender: gender || '', birth_date: birthday || null, + issuing_authority: issuingAuthority || '', valid_period: validPeriod || '', + auth_status: 1, auth_time: now, update_time: now + }); + } else { + const patientNo = patientModel.generatePatientNo(); + const patientId = await patientModel.add({ + patient_no: patientNo, name: realName, phone: mobile, id_card: idCard, + id_card_type: cardTypeInt, id_card_front: idCardFront || '', id_card_back: idCardBack || '', + photo: photo || '', gender: gender || '', birth_date: birthday || null, + issuing_authority: issuingAuthority || '', valid_period: validPeriod || '', + auth_status: 1, auth_time: now, status: -1, is_deleted: 0, create_time: now, update_time: now + }); + await userModel.where({ id: mpUser.id }).update({ patient_id: patientId, update_time: now }); + } + return this.json({ code: 0, data: {}, msg: '实名认证成功' }); + } catch (error) { + think.logger.error('authSubmit error:', error); + return this.json({ code: 1, msg: '认证失败: ' + error.message }); + } + } + // GET /api/mp/myInfo + async myInfoAction() { + const mpUser = this.mpUser; + if (!mpUser) return this.json({ code: 1009, msg: '请先登录' }); + try { + const user = await this.model('wechat_user').where({ id: mpUser.id, status: 1 }).find(); + if (think.isEmpty(user) || !user.patient_id) return this.json({ code: 0, data: null }); + const patient = await this.model('patient').where({ id: user.patient_id, is_deleted: 0 }).find(); + if (think.isEmpty(patient)) return this.json({ code: 0, data: null }); + + const codes = [patient.province_code, patient.city_code, patient.district_code].filter(Boolean); + const regionMap = {}; + if (codes.length) { + const regions = await this.model('sys_region').where({ code: ['in', codes] }).select(); + regions.forEach(r => { regionMap[r.code] = r.name; }); + } + let documents = []; + try { documents = JSON.parse(patient.documents || '[]'); } catch (e) { documents = []; } + + // 如果是驳回状态,查最近一条驳回原因 + let rejectReason = ''; + if (patient.status === 2) { + const audit = await this.model('patient_audit') + .where({ patient_id: user.patient_id, action: 'reject' }) + .order('id DESC') + .find(); + if (!think.isEmpty(audit)) rejectReason = audit.reason || ''; + } + + return this.json({ code: 0, data: { + name: patient.name || '', id_card: patient.id_card || '', phone: patient.phone || '', + gender: patient.gender || '', birth_date: patient.birth_date || '', + province_code: patient.province_code || '', city_code: patient.city_code || '', + district_code: patient.district_code || '', + province_name: regionMap[patient.province_code] || '', + city_name: regionMap[patient.city_code] || '', + district_name: regionMap[patient.district_code] || '', + address: patient.address || '', + emergency_contact: patient.emergency_contact || '', + emergency_phone: patient.emergency_phone || '', + tag: patient.tag || '', documents, + sign_income: patient.sign_income || '', + sign_privacy: patient.sign_privacy || '', + sign_promise: patient.sign_promise || '', + income_amount: patient.income_amount || '', + status: patient.status, auth_status: patient.auth_status || 0, + reject_reason: rejectReason + }}); + } catch (error) { + think.logger.error('myInfo error:', error); + return this.json({ code: 1, msg: '获取资料失败' }); + } + } + + // POST /api/mp/saveMyInfo + async saveMyInfoAction() { + const mpUser = this.mpUser; + if (!mpUser) return this.json({ code: 1009, msg: '请先登录' }); + const { gender, province_code, city_code, district_code, address, emergency_contact, emergency_phone, tag, documents, sign_income, sign_privacy, sign_promise, income_amount, mp_env_version } = this.post(); + const user = await this.model('wechat_user').where({ id: mpUser.id, status: 1 }).find(); + if (think.isEmpty(user) || !user.patient_id) return this.json({ code: 1, msg: '请先完成实名认证' }); + if (!province_code || !city_code || !district_code) return this.json({ code: 1, msg: '请选择省市区' }); + if (!address) return this.json({ code: 1, msg: '请填写详细地址' }); + + const now = think.datetime(new Date()); + try { + // 更新小程序版本标识(用于订阅消息推送到对应版本) + if (mp_env_version) { + await this.model('wechat_user').where({ id: mpUser.id }).update({ mp_env_version }); + } + await this.model('patient').where({ id: user.patient_id }).update({ + gender: gender || '', province_code: province_code || '', city_code: city_code || '', + district_code: district_code || '', address: address || '', + emergency_contact: emergency_contact || '', emergency_phone: emergency_phone || '', + tag: tag || '', documents: JSON.stringify(documents || []), + sign_income: sign_income || '', + sign_privacy: sign_privacy || '', + sign_promise: sign_promise || '', + income_amount: income_amount || null, + status: 0, + update_time: now + }); + // 记录提交审核日志 + await this.model('patient_audit').add({ + patient_id: user.patient_id, + action: 'submit', + operator_id: 0, + operator_name: '用户自助提交' + }); + return this.json({ code: 0, data: {}, msg: '提交成功' }); + } catch (error) { + think.logger.error('saveMyInfo error:', error); + return this.json({ code: 1, msg: '保存失败: ' + error.message }); + } + } + // POST /api/mp/changePhone + async changePhoneAction() { + const mpUser = this.mpUser; + if (!mpUser) return this.json({ code: 1009, msg: '请先登录' }); + const { mobile, code } = this.post(); + if (!mobile || !/^1[3-9]\d{9}$/.test(mobile)) return this.json({ code: 1, msg: '请输入正确的手机号' }); + if (!code || !/^\d{6}$/.test(code)) return this.json({ code: 1, msg: '请输入6位验证码' }); + const verifyResult = await this.verifySmsCode(mobile, 'change_phone', code); + if (!verifyResult.success) return this.json({ code: 1, msg: verifyResult.message }); + const now = think.datetime(new Date()); + const userModel = this.model('wechat_user'); + try { + await userModel.where({ id: mpUser.id }).update({ phone: mobile, update_time: now }); + const user = await userModel.where({ id: mpUser.id }).find(); + if (user.patient_id) { + await this.model('patient').where({ id: user.patient_id }).update({ phone: mobile, update_time: now }); + } + return this.json({ code: 0, data: {}, msg: '手机号修改成功' }); + } catch (error) { + think.logger.error('changePhone error:', error); + return this.json({ code: 1, msg: '修改失败: ' + error.message }); + } + } + + // POST /api/mp/sign - 签署协议,生成合成图返回URL(不写库) + async signAction() { + const mpUser = this.mpUser; + if (!mpUser) return this.json({ code: 1009, msg: '请先登录' }); + const { type, signImage, amount } = this.post(); + const validTypes = ['income', 'privacy', 'promise']; + if (!validTypes.includes(type)) return this.json({ code: 1, msg: '签署类型错误' }); + if (!signImage) return this.json({ code: 1, msg: '请先签名' }); + if (type === 'income' && (!amount || Number(amount) <= 0)) { + return this.json({ code: 1, msg: '请填写有效的收入金额' }); + } + + try { + // 获取患者姓名 + const user = await this.model('wechat_user').where({ id: mpUser.id, status: 1 }).find(); + if (think.isEmpty(user) || !user.patient_id) return this.json({ code: 1, msg: '请先完成实名认证' }); + const patient = await this.model('patient').field('name').where({ id: user.patient_id, is_deleted: 0 }).find(); + if (think.isEmpty(patient)) return this.json({ code: 1, msg: '患者信息不存在' }); + + // 获取协议内容 + const contentKey = 'sign_' + type; + const doc = await this.model('content').getByKey(contentKey); + if (think.isEmpty(doc)) return this.json({ code: 1, msg: '协议内容未配置' }); + + const signTime = think.datetime(new Date()); + + // 调用截图服务生成合成图 + const screenshotService = this.service('screenshot'); + const url = await screenshotService.generate({ + title: doc.title, + content: doc.content, + signImageUrl: signImage, + signerName: patient.name, + signTime, + amount: type === 'income' ? amount : null + }); + + return this.json({ code: 0, data: { url }, msg: '签署成功' }); + } catch (error) { + think.logger.error('sign error:', error); + return this.json({ code: 1, msg: '签署失败: ' + error.message }); + } + } + + // POST /api/mp/updateAvatar - 更新头像 + async updateAvatarAction() { + const mpUser = this.mpUser; + if (!mpUser) return this.json({ code: 1009, msg: '请先登录' }); + const { avatar } = this.post(); + if (!avatar) return this.json({ code: 1, msg: '请上传头像' }); + const now = think.datetime(new Date()); + try { + await this.model('wechat_user').where({ id: mpUser.id }).update({ avatar, update_time: now }); + return this.json({ code: 0, data: { avatar }, msg: '头像更新成功' }); + } catch (error) { + think.logger.error('updateAvatar error:', error); + return this.json({ code: 1, msg: '更新失败: ' + error.message }); + } + } + + // GET /api/mp/messages - 消息列表 + async messagesAction() { + const mpUser = this.mpUser; + if (!mpUser) return this.json({ code: 1009, msg: '请先登录' }); + const { page = 1, pageSize = 20 } = this.get(); + try { + const user = await this.model('wechat_user').where({ id: mpUser.id, status: 1 }).find(); + if (think.isEmpty(user) || !user.patient_id) return this.json({ code: 0, data: { data: [], count: 0, totalPages: 0, currentPage: 1 } }); + const list = await this.model('message') + .where({ patient_id: user.patient_id }) + .order('id DESC') + .page(page, pageSize) + .countSelect(); + return this.json({ code: 0, data: list }); + } catch (error) { + think.logger.error('messages error:', error); + return this.json({ code: 1, msg: '获取消息失败' }); + } + } + + // GET /api/mp/messageDetail - 消息详情(同时标记已读) + async messageDetailAction() { + const mpUser = this.mpUser; + if (!mpUser) return this.json({ code: 1009, msg: '请先登录' }); + const { id } = this.get(); + if (!id) return this.json({ code: 1, msg: '参数错误' }); + try { + const user = await this.model('wechat_user').where({ id: mpUser.id, status: 1 }).find(); + if (think.isEmpty(user) || !user.patient_id) return this.json({ code: 1, msg: '无权访问' }); + const msg = await this.model('message').where({ id, patient_id: user.patient_id }).find(); + if (think.isEmpty(msg)) return this.json({ code: 1, msg: '消息不存在' }); + // 标记已读 + if (!msg.is_read) { + await this.model('message').where({ id }).update({ is_read: 1 }); + } + // 查患者姓名 + const patient = await this.model('patient').field('name').where({ id: user.patient_id }).find(); + msg.patient_name = patient ? patient.name : ''; + return this.json({ code: 0, data: msg }); + } catch (error) { + think.logger.error('messageDetail error:', error); + return this.json({ code: 1, msg: '获取消息详情失败' }); + } + } + + // GET /api/mp/unreadCount - 未读消息数 + async unreadCountAction() { + const mpUser = this.mpUser; + if (!mpUser) return this.json({ code: 1009, msg: '请先登录' }); + try { + const user = await this.model('wechat_user').where({ id: mpUser.id, status: 1 }).find(); + if (think.isEmpty(user) || !user.patient_id) return this.json({ code: 0, data: { count: 0 } }); + const count = await this.model('message').where({ patient_id: user.patient_id, is_read: 0 }).count(); + return this.json({ code: 0, data: { count } }); + } catch (error) { + think.logger.error('unreadCount error:', error); + return this.json({ code: 0, data: { count: 0 } }); + } + } + + // GET /api/mp/subscribeConfig - 获取订阅消息模板配置 + async subscribeConfigAction() { + try { + const wechatService = this.service('wechat'); + const templates = await wechatService.getSubscribeTemplates(APP_REMARK); + return this.json({ code: 0, data: templates }); + } catch (error) { + think.logger.error('subscribeConfig error:', error); + return this.json({ code: 0, data: {} }); + } + } + + // @private + async _verifyIdCard(name, idCard) { + const faceidConfig = require('../config/faceid.js'); + try { + const tencentcloud = require('tencentcloud-sdk-nodejs'); + const FaceidClient = tencentcloud.faceid.v20180301.Client; + const client = new FaceidClient({ + credential: { secretId: faceidConfig.secretId, secretKey: faceidConfig.secretKey }, + region: faceidConfig.region, + profile: { httpProfile: { endpoint: 'faceid.tencentcloudapi.com' } } + }); + const result = await client.IdCardVerification({ IdCard: idCard, Name: name }); + if (result.Result === '0') return { success: true, message: '身份核验通过' }; + if (result.Result === '1') return { success: false, message: '姓名与身份证号不匹配' }; + if (result.Result === '2') return { success: false, message: '身份证号格式错误' }; + if (result.Result === '3') return { success: false, message: '姓名格式错误' }; + return { success: false, message: result.Description || '身份核验失败' }; + } catch (error) { + think.logger.error('[FaceId] verify error:', error); + return { success: false, message: error.message || '身份核验服务异常' }; + } + } +}; diff --git a/src/logic/index.js b/src/logic/index.js new file mode 100644 index 0000000..54c1cc2 --- /dev/null +++ b/src/logic/index.js @@ -0,0 +1,5 @@ +module.exports = class extends think.Logic { + indexAction() { + + } +}; diff --git a/src/model/content.js b/src/model/content.js new file mode 100644 index 0000000..b0838b3 --- /dev/null +++ b/src/model/content.js @@ -0,0 +1,31 @@ +module.exports = class extends think.Model { + /** + * 分页列表 + */ + async getList({ keyword, status, page = 1, pageSize = 10 }) { + const where = { is_deleted: 0 }; + if (keyword) { + where._complex = { + title: ['like', `%${keyword}%`], + content_key: ['like', `%${keyword}%`], + _logic: 'or' + }; + } + if (status !== undefined && status !== '') { + where.status = status; + } + return this.where(where) + .order('sort DESC, id DESC') + .page(page, pageSize) + .countSelect(); + } + + /** + * 根据 content_key 获取内容 + */ + async getByKey(contentKey) { + return this.where({ content_key: contentKey, status: 1, is_deleted: 0 }) + .field('title, content') + .find(); + } +}; diff --git a/src/model/index.js b/src/model/index.js new file mode 100644 index 0000000..cab52cf --- /dev/null +++ b/src/model/index.js @@ -0,0 +1,3 @@ +module.exports = class extends think.Model { + +}; diff --git a/src/model/message.js b/src/model/message.js new file mode 100644 index 0000000..8f81bed --- /dev/null +++ b/src/model/message.js @@ -0,0 +1,5 @@ +module.exports = class extends think.Model { + get tableName() { + return 'message'; + } +}; diff --git a/src/model/operation_log.js b/src/model/operation_log.js new file mode 100644 index 0000000..ca49fd2 --- /dev/null +++ b/src/model/operation_log.js @@ -0,0 +1,2 @@ +module.exports = class extends think.Model { +}; diff --git a/src/model/patient.js b/src/model/patient.js new file mode 100644 index 0000000..1e2f06c --- /dev/null +++ b/src/model/patient.js @@ -0,0 +1,170 @@ +// 简易雪花算法生成器(单进程适用) +let sequence = 0; +let lastTimestamp = -1; +function snowflakeId() { + let ts = Date.now(); + if (ts === lastTimestamp) { + sequence = (sequence + 1) & 0xFFF; + if (sequence === 0) { + while (Date.now() <= ts) { /* wait */ } + ts = Date.now(); + } + } else { + sequence = Math.floor(Math.random() * 16); + } + lastTimestamp = ts; + // 取时间戳后8位 + 序列号3位 = 11位数字 + const tsStr = String(ts).slice(-8); + const seqStr = String(sequence).padStart(3, '0'); + return tsStr + seqStr; +} + +module.exports = class extends think.Model { + /** + * 生成患者编号: YYYYMM + 11位雪花ID + */ + generatePatientNo() { + const now = new Date(); + const ym = String(now.getFullYear()) + String(now.getMonth() + 1).padStart(2, '0'); + return ym + snowflakeId(); + } + + /** + * 获取患者列表(分页) + */ + async getList({ keyword, tag, status, startDate, endDate, province_code, city_code, district_code, page = 1, pageSize = 10 }) { + const where = this._buildWhere({ keyword, tag, status, startDate, endDate, province_code, city_code, district_code }); + return this.where(where) + .order('id DESC') + .page(page, pageSize) + .countSelect(); + } + + /** + * 获取全部患者(不分页,用于导出) + */ + async getAll({ keyword, tag, status, startDate, endDate, province_code, city_code, district_code }) { + const where = this._buildWhere({ keyword, tag, status, startDate, endDate, province_code, city_code, district_code }); + return this.where(where).order('id DESC').select(); + } + + /** + * 构建筛选条件 + */ + _buildWhere({ keyword, tag, status, startDate, endDate, province_code, city_code, district_code }) { + const where = { is_deleted: 0 }; + + if (keyword) { + where._complex = { + name: ['like', `%${keyword}%`], + phone: ['like', `%${keyword}%`], + patient_no: ['like', `%${keyword}%`], + _logic: 'or' + }; + } + + if (tag !== undefined && tag !== '') { + if (tag === 'none') { + where.tag = ['=', '']; + } else { + where.tag = tag; + } + } + + if (status !== undefined && status !== '') { + where.status = parseInt(status, 10); + } + + if (startDate && endDate) { + where.create_time = ['between', `${startDate} 00:00:00`, `${endDate} 23:59:59`]; + } else if (startDate) { + where.create_time = ['>=', `${startDate} 00:00:00`]; + } else if (endDate) { + where.create_time = ['<=', `${endDate} 23:59:59`]; + } + + if (province_code) where.province_code = province_code; + if (city_code) where.city_code = city_code; + if (district_code) where.district_code = district_code; + + return where; + } + + /** + * 获取最近30天每日新增趋势(全部 + 直肠癌) + */ + async getDailyTrend(days = 30) { + const sql = `SELECT + DATE(create_time) AS date, + COUNT(*) AS total, + SUM(tag = '直肠癌') AS rectal + FROM patient WHERE is_deleted = 0 + AND create_time >= DATE_SUB(CURDATE(), INTERVAL ${parseInt(days, 10)} DAY) + GROUP BY DATE(create_time) ORDER BY date ASC`; + return this.query(sql); + } + + /** + * 获取最近提交记录 + */ + async getRecentList(limit = 10) { + const list = await this.where({ is_deleted: 0 }) + .order('id DESC') + .limit(limit) + .select(); + // 脱敏 + list.forEach(item => { + if (item.phone && item.phone.length === 11) { + item.phone_mask = item.phone.slice(0, 3) + '****' + item.phone.slice(-4); + } else { + item.phone_mask = item.phone || ''; + } + }); + return list; + } + + /** + * 获取今日各状态新增数量 + */ + async getTodayCounts() { + const sql = `SELECT + COUNT(*) AS \`all\`, + SUM(status = -1) AS draft, + SUM(status = 0) AS pending, + SUM(status = 1) AS approved, + SUM(status = 2) AS rejected + FROM patient WHERE is_deleted = 0 + AND DATE(create_time) = CURDATE()`; + const rows = await this.query(sql); + const row = rows[0] || {}; + return { + all: parseInt(row.all, 10) || 0, + draft: parseInt(row.draft, 10) || 0, + pending: parseInt(row.pending, 10) || 0, + approved: parseInt(row.approved, 10) || 0, + rejected: parseInt(row.rejected, 10) || 0 + }; + } + + /** + * 获取各状态数量(单次查询) + */ + async getStatusCounts() { + const sql = `SELECT + COUNT(*) AS \`all\`, + SUM(status = -1) AS draft, + SUM(status = 0) AS pending, + SUM(status = 1) AS approved, + SUM(status = 2) AS rejected + FROM patient WHERE is_deleted = 0`; + const rows = await this.query(sql); + const row = rows[0] || {}; + return { + all: parseInt(row.all, 10) || 0, + draft: parseInt(row.draft, 10) || 0, + pending: parseInt(row.pending, 10) || 0, + approved: parseInt(row.approved, 10) || 0, + rejected: parseInt(row.rejected, 10) || 0 + }; + } +}; diff --git a/src/model/patient_audit.js b/src/model/patient_audit.js new file mode 100644 index 0000000..80d4c67 --- /dev/null +++ b/src/model/patient_audit.js @@ -0,0 +1,5 @@ +module.exports = class extends think.Model { + get tableName() { + return 'patient_audit'; + } +}; diff --git a/src/model/sms_log.js b/src/model/sms_log.js new file mode 100644 index 0000000..38eedbf --- /dev/null +++ b/src/model/sms_log.js @@ -0,0 +1,5 @@ +module.exports = class extends think.Model { + get tableName() { + return 'sms_log'; + } +}; diff --git a/src/model/sys_region.js b/src/model/sys_region.js new file mode 100644 index 0000000..07e50c3 --- /dev/null +++ b/src/model/sys_region.js @@ -0,0 +1,9 @@ +module.exports = class extends think.Model { + get tableName() { + return 'sys_region'; + } + + get pk() { + return 'code'; + } +}; diff --git a/src/model/wechat_user.js b/src/model/wechat_user.js new file mode 100644 index 0000000..1af3fb1 --- /dev/null +++ b/src/model/wechat_user.js @@ -0,0 +1,19 @@ +module.exports = class extends think.Model { + get tableName() { + return 'wechat_user'; + } + + /** + * 根据 openid + app_remark 查找用户 + */ + async findByOpenId(openId, appRemark) { + return this.where({ open_id: openId, app_remark: appRemark }).find(); + } + + /** + * 创建微信用户 + */ + async createUser(data) { + return this.add(data); + } +}; diff --git a/src/service/screenshot.js b/src/service/screenshot.js new file mode 100644 index 0000000..c7a0df0 --- /dev/null +++ b/src/service/screenshot.js @@ -0,0 +1,165 @@ +const COS = require('cos-nodejs-sdk-v5'); +const cosConfig = require('../config/cos.js'); + +module.exports = class extends think.Service { + /** + * 生成签署合成图 + * @param {Object} params + * @param {string} params.title - 协议标题 + * @param {string} params.content - 协议富文本内容 + * @param {string} params.signImageUrl - 签名图片URL + * @param {string} params.signerName - 签署人姓名 + * @param {string} params.signTime - 签署时间 + * @param {number} [params.amount] - 收入金额(仅income类型) + * @returns {string} 合成图COS URL + */ + async generate({ title, content, signImageUrl, signerName, signTime, amount }) { + const puppeteer = require('puppeteer'); + + const html = this._buildHtml({ title, content, signImageUrl, signerName, signTime, amount }); + + let browser; + try { + browser = await puppeteer.launch({ + headless: 'new', + args: [ + '--no-sandbox', + '--disable-setuid-sandbox', + '--disable-gpu', + '--disable-dev-shm-usage', + '--font-render-hinting=none' + ] + }); + + const page = await browser.newPage(); + await page.setViewport({ width: 750, height: 1000, deviceScaleFactor: 2 }); + await page.setContent(html, { waitUntil: 'networkidle0', timeout: 15000 }); + + // 等签名图片加载 + await page.waitForSelector('.sign-img', { timeout: 5000 }).catch(() => {}); + + const screenshot = await page.screenshot({ fullPage: true, type: 'png' }); + await browser.close(); + browser = null; + + // 上传到 COS + const url = await this._uploadToCos(screenshot); + return url; + } catch (error) { + if (browser) await browser.close().catch(() => {}); + throw error; + } + } + + /** + * 构建 HTML 模板 + */ + _buildHtml({ title, content, signImageUrl, signerName, signTime, amount }) { + const amountHtml = amount ? ` +
+ 个人月可支配收入: + ¥${amount} +
` : ''; + + return ` + + + + + + +
${title}
+
${content}
+ ${amountHtml} +
+
+ 签名: + +
+
签署人:${signerName}
+
签署时间:${signTime}
+
+ +`; + } + + /** + * 上传截图到 COS + */ + async _uploadToCos(buffer) { + const cos = new COS({ SecretId: cosConfig.secretId, SecretKey: cosConfig.secretKey }); + const now = new Date(); + const dateFolder = `${now.getFullYear()}/${String(now.getMonth() + 1).padStart(2, '0')}/${String(now.getDate()).padStart(2, '0')}`; + const fileName = `sign_${Date.now()}.png`; + const cosKey = `signs/${dateFolder}/${fileName}`; + + const result = await new Promise((resolve, reject) => { + cos.putObject({ + Bucket: cosConfig.bucket, + Region: cosConfig.region, + Key: cosKey, + Body: buffer, + ContentType: 'image/png' + }, (err, data) => { + if (err) reject(err); + else resolve(data); + }); + }); + + if (result.statusCode === 200) { + const bucketUrl = `https://${result.Location}`; + return bucketUrl.replace(cosConfig.bucketUrl, cosConfig.cdnUrl); + } + throw new Error('截图上传COS失败'); + } +}; diff --git a/src/service/wechat.js b/src/service/wechat.js new file mode 100644 index 0000000..4aed470 --- /dev/null +++ b/src/service/wechat.js @@ -0,0 +1,212 @@ +const dayjs = require('dayjs'); +const axios = require('axios'); + +module.exports = class extends think.Service { + /** + * 刷新单个应用的 access_token + * @param {Object} app 应用配置 + * @returns {Object} 刷新结果 + */ + async refreshToken(app) { + const now = dayjs().unix(); + const diffSeconds = app.token_expires_at ? app.token_expires_at - now : 0; + + // 大于10分钟(600秒)跳过 + if (diffSeconds > 600) { + return { + success: true, + app_name: app.app_name, + skipped: true, + expires_in: Math.floor(diffSeconds / 60) + '分钟' + }; + } + + // 调用稳定版接口 + const url = 'https://api.weixin.qq.com/cgi-bin/stable_token'; + try { + const { data: res } = await axios.post(url, { + grant_type: 'client_credential', + appid: app.app_id, + secret: app.app_secret, + force_refresh: diffSeconds <= 600 && diffSeconds > 0 + }); + + if (res.access_token) { + const tokenExpiresAt = dayjs().unix() + res.expires_in; + await this.model('sys_wechat_app').where({ id: app.id }).update({ + access_token: res.access_token, + token_expires_at: tokenExpiresAt + }); + return { + success: true, + app_name: app.app_name, + refreshed: true, + expires_at: dayjs.unix(tokenExpiresAt).format('YYYY-MM-DD HH:mm:ss') + }; + } + return { success: false, app_name: app.app_name, error: res.errmsg || '未知错误' }; + } catch (error) { + think.logger.error(`刷新token失败[${app.app_name}]:`, error); + return { success: false, app_name: app.app_name, error: error.message }; + } + } + + /** + * 刷新所有启用应用的 token + * @returns {Array} 刷新结果列表 + */ + async refreshAllTokens() { + const apps = await this.model('sys_wechat_app').where({ status: 1 }).select(); + const results = []; + for (const app of apps) { + const result = await this.refreshToken(app); + results.push(result); + } + return results; + } + + /** + * 检查并刷新过期的 token + * @param {Object} app 应用配置 + * @returns {String|null} access_token + */ + async checkAndRefreshToken(app) { + if (think.isEmpty(app)) return null; + + const now = dayjs().unix(); + // token 不存在或已过期(小于1分钟视为过期) + if (!app.access_token || !app.token_expires_at || app.token_expires_at - now < 60) { + const result = await this.refreshToken(app); + if (result.success && result.refreshed) { + // 重新查询获取最新 token + const updated = await this.model('sys_wechat_app').where({ id: app.id }).find(); + return updated.access_token; + } + return null; + } + return app.access_token; + } + + /** + * 获取 access_token(供其他模块调用) + * @param {String} appId 应用AppID + * @returns {String|null} access_token + */ + async getAccessToken(appId) { + const app = await this.model('sys_wechat_app').where({ app_id: appId, status: 1 }).find(); + return this.checkAndRefreshToken(app); + } + + /** + * 根据 remark 获取 access_token + * @param {String} remark 备注标识,如 pap_mini + * @returns {String|null} access_token + */ + async getAccessTokenByRemark(remark) { + const app = await this.model('sys_wechat_app').where({ remark, status: 1 }).find(); + return this.checkAndRefreshToken(app); + } + + /** + * 用 code 换取 openid 和 session_key(通用方法) + * @param {String} code 微信登录 code + * @param {String} remark 应用标识,如 pap_mini、pap_mini_doctor + * @returns {Object} { openid, session_key, unionid } + */ + async code2Session(code, remark) { + const app = await this.model('sys_wechat_app').where({ remark, status: 1 }).find(); + if (think.isEmpty(app)) { + throw new Error(`未找到应用配置: ${remark}`); + } + + const url = `https://api.weixin.qq.com/sns/jscode2session?appid=${app.app_id}&secret=${app.app_secret}&js_code=${code}&grant_type=authorization_code`; + + const { data } = await axios.get(url, { timeout: 10000 }); + + if (data.errcode) { + think.logger.error('code2Session失败:', data); + throw new Error(data.errmsg || '获取openid失败'); + } + + return { + openid: data.openid, + session_key: data.session_key, + unionid: data.unionid || null + }; + } + + /** + * 获取应用的订阅消息模板配置 + * @param {String} remark 应用标识 + * @returns {Object} 模板配置 { audit_result: 'xxx', ... } + */ + async getSubscribeTemplates(remark) { + const app = await this.model('sys_wechat_app').where({ remark, status: 1 }).find(); + if (think.isEmpty(app) || !app.subscribe_templates) return {}; + try { + return JSON.parse(app.subscribe_templates); + } catch (e) { + return {}; + } + } + + /** + * 发送订阅消息 + * @param {Object} options + * @param {String} options.remark 应用标识 + * @param {String} options.openid 接收者openid + * @param {String} options.templateId 模板ID + * @param {String} options.page 跳转页面 + * @param {Object} options.data 模板数据 + * @param {String} options.miniprogramState 小程序版本: developer/trial/formal,默认formal + * @returns {Object} { success, error } + */ + async sendSubscribeMessage({ remark, openid, templateId, page, data, miniprogramState }) { + try { + const accessToken = await this.getAccessTokenByRemark(remark); + if (!accessToken) { + think.logger.error('[Subscribe] 获取access_token失败'); + return { success: false, error: '获取access_token失败' }; + } + const url = `https://api.weixin.qq.com/cgi-bin/message/subscribe/send?access_token=${accessToken}`; + const body = { + touser: openid, + template_id: templateId, + page: page || '', + data, + miniprogram_state: miniprogramState || 'formal' + }; + const { data: res } = await axios.post(url, body, { timeout: 10000 }); + if (res.errcode === 0) { + think.logger.info(`[Subscribe] 发送成功 openid=${openid} tmpl=${templateId}`); + return { success: true }; + } + think.logger.error(`[Subscribe] 发送失败:`, res); + return { success: false, error: res.errmsg || '发送失败' }; + } catch (error) { + think.logger.error('[Subscribe] 发送异常:', error); + return { success: false, error: error.message }; + } + } + + /** + * 用 phoneCode 换取用户手机号 + * @param {String} phoneCode - 前端 getPhoneNumber 回调中的 code + * @param {String} remark - 应用标识,如 pap_mini + * @returns {Object} { phoneNumber, purePhoneNumber, countryCode } + */ + async getPhoneNumber(phoneCode, remark) { + const accessToken = await this.getAccessTokenByRemark(remark); + if (!accessToken) { + throw new Error('获取access_token失败'); + } + const url = `https://api.weixin.qq.com/wxa/business/getuserphonenumber?access_token=${accessToken}`; + const { data } = await axios.post(url, { code: phoneCode }, { timeout: 10000 }); + if (data.errcode) { + think.logger.error('getPhoneNumber失败:', data); + throw new Error(data.errmsg || '获取手机号失败'); + } + return data.phone_info; + } + +}; diff --git a/test/index.js b/test/index.js new file mode 100644 index 0000000..6d6f39f --- /dev/null +++ b/test/index.js @@ -0,0 +1,7 @@ +const test = require('ava'); +const path = require('path'); +require(path.join(process.cwd(), 'production.js')); + +test('first test', t => { + const indexModel = think.model('index'); +}) diff --git a/view/admin/auth_login.html b/view/admin/auth_login.html new file mode 100644 index 0000000..66c2e46 --- /dev/null +++ b/view/admin/auth_login.html @@ -0,0 +1,277 @@ + + + + + + 登录 - 肠愈同行患者关爱 + + + + +
+ +
+ + + + + + + + diff --git a/view/admin/common/_header.html b/view/admin/common/_header.html new file mode 100644 index 0000000..caa3a56 --- /dev/null +++ b/view/admin/common/_header.html @@ -0,0 +1,70 @@ +
+
+ +
+
+ + +
+
+
{{ adminUser.nickname[0] if adminUser.nickname else '管' }}
+ {{ adminUser.nickname or adminUser.username or '管理员' }} + +
+ +
+
+
+ diff --git a/view/admin/common/_sidebar.html b/view/admin/common/_sidebar.html new file mode 100644 index 0000000..e868448 --- /dev/null +++ b/view/admin/common/_sidebar.html @@ -0,0 +1,67 @@ + diff --git a/view/admin/content_index.html b/view/admin/content_index.html new file mode 100644 index 0000000..339de54 --- /dev/null +++ b/view/admin/content_index.html @@ -0,0 +1,301 @@ +{% extends "./layout.html" %} + +{% block title %}内容管理{% endblock %} + +{% block css %} + + +{% endblock %} + +{% block content %} +
+ + + + + + + + + + + + + + 搜索 + 重置 + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+ + + +
+ + + +
创建后不可修改
+
+ + + + + + + +
+
+
+
+
+ + + + + + +
+
+ +
+ + + +
+
+
+
+
${ previewData.title }
+
+
+
+
+
+
+{% endblock %} + +{% block js %} + + +{% endblock %} diff --git a/view/admin/dashboard_index.html b/view/admin/dashboard_index.html new file mode 100644 index 0000000..6114498 --- /dev/null +++ b/view/admin/dashboard_index.html @@ -0,0 +1,219 @@ +{% extends "./layout.html" %} + +{% block title %}控制台{% endblock %} + +{% block css %} + +{% endblock %} + +{% block content %} +
+ +
+
+
+ +
+
+
患者总数
+
${ counts.all.toLocaleString() }
+
今日新增 +${ todayCounts.all }
+
+
+
+
+ +
+
+
待审核
+
${ counts.pending.toLocaleString() }
+
今日新增 +${ todayCounts.pending }
+
+
+
+
+ +
+
+
已驳回
+
${ counts.rejected.toLocaleString() }
+
今日新增 +${ todayCounts.rejected }
+
+
+
+
+ +
+
+
审核通过
+
${ counts.approved.toLocaleString() }
+
今日新增 +${ todayCounts.approved }
+
+
+
+ + +
+

患者新增趋势(近30天)

+
+
+ + +
+

最近提交记录

+ + + + + + + + + + + + + + + + + + + +
+
+{% endblock %} + +{% block js %} + + +{% endblock %} diff --git a/view/admin/layout.html b/view/admin/layout.html new file mode 100644 index 0000000..3250659 --- /dev/null +++ b/view/admin/layout.html @@ -0,0 +1,129 @@ + + + + + + {% block title %}管理后台{% endblock %} - 肠愈同行管理系统 + + + + + + + + + {% block css %}{% endblock %} + + +
+ {% include "./common/_sidebar.html" %} + +
+ {% include "./common/_header.html" %} + +
+ {% block content %}{% endblock %} +
+
+
+
+ + + + + + + + + + + +{% block js %}{% endblock %} + + + diff --git a/view/admin/patient_detail.html b/view/admin/patient_detail.html new file mode 100644 index 0000000..d81e582 --- /dev/null +++ b/view/admin/patient_detail.html @@ -0,0 +1,294 @@ +{% extends "./layout.html" %} + +{% block title %}患者详情{% endblock %} + +{% block css %} + +{% endblock %} + +{% block content %} +
+
+ + + + + + +
+

基本信息

+
+
患者编号:${ patient.patient_no }
+
姓名:${ patient.name }
+
性别:${ patient.gender }
+
手机号:${ patient.phone }
+
身份证号:${ patient.id_card }
+
出生日期:${ patient.birth_date }
+
+ 所在地区: + ${ patient.province_name } ${ patient.city_name } ${ patient.district_name } +
+
详细地址:${ patient.address }
+
+ 瘤种: + + ${ patient.tag } + + +
+
提交时间:${ patient.create_time }
+
紧急联系人:${ patient.emergency_contact || '—' }
+
紧急联系电话:${ patient.emergency_phone || '—' }
+
+
+ + +
+

上传资料

+

患者上传的检查报告单或出院诊断证明书

+
+
+ +
资料 ${ idx + 1 }
+
+
+ +
+ + +
+

签字材料

+

患者签署的三份授权材料

+
+
+
${ item.label }
+ + + +
+
+
+ + +
+

审核记录

+
    +
  • +
    ${ item.create_time }
    +
    ${ item.operator_name || '系统' } 提交了患者资料,等待审核
    +
    ${ item.operator_name } 审核通过
    +
    ${ item.operator_name } 驳回了资料
    +
    驳回原因:${ item.reason }
    +
  • +
+ +
+
+ + +
+ 返 回 + 审核通过 + 驳 回 +
+ + + +

请选择或填写驳回原因(必填):

+
+ ${ r } +
+ +
+ 取消 + 确认驳回 +
+
+
+{% endblock %} + +{% block js %} + +{% endblock %} diff --git a/view/admin/patient_index.html b/view/admin/patient_index.html new file mode 100644 index 0000000..8c360f2 --- /dev/null +++ b/view/admin/patient_index.html @@ -0,0 +1,490 @@ +{% extends "./layout.html" %} + +{% block title %}患者管理{% endblock %} + +{% block content %} +
+ + + + + + + + + + + + + + + + + + + + 搜索 + 重置 + + +
+ 新增患者 + 导出 +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + × +
+ +
+
+
+
+
+
+ + +
+ + + ${ addForm.sign_income ? '✅' : '📄' } 个人可支配收入声明 + + + + + ${ addForm.sign_privacy ? '✅' : '📄' } 个人信息处理同意书 + + + + + ${ addForm.sign_promise ? '✅' : '📄' } 声明与承诺 + + +
+
+
+
+
+ +
+
+{% endblock %} + +{% block js %} + +{% endblock %} diff --git a/view/admin/system/log_index.html b/view/admin/system/log_index.html new file mode 100644 index 0000000..c685a12 --- /dev/null +++ b/view/admin/system/log_index.html @@ -0,0 +1,145 @@ +{% extends "../layout.html" %} + +{% block title %}操作日志{% endblock %} + +{% block content %} +
+ + + + +
+ + + + + + + + + + + 搜索 + 重置 +
+ + +
+ ${ total } 条记录 +
+ + + + + + + + + + + + + + + + + + + +
+ +
+
+
+{% endblock %} + +{% block js %} + +{% endblock %} diff --git a/view/admin/system/role_index.html b/view/admin/system/role_index.html new file mode 100644 index 0000000..358bc0d --- /dev/null +++ b/view/admin/system/role_index.html @@ -0,0 +1,310 @@ +{% extends "../layout.html" %} + +{% block title %}角色权限{% endblock %} + +{% block content %} +
+ + + + + + + + 搜索 + 重置 + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+ 全部展开 +
+ + +
+
+{% endblock %} + +{% block js %} + +{% endblock %} diff --git a/view/admin/system/sms_index.html b/view/admin/system/sms_index.html new file mode 100644 index 0000000..1a64b47 --- /dev/null +++ b/view/admin/system/sms_index.html @@ -0,0 +1,139 @@ +{% extends "../layout.html" %} + +{% block title %}短信记录{% endblock %} + +{% block content %} +
+ + + + +
+ + + + + + + + + + + + 搜索 + 重置 +
+ + +
+ ${ total } 条记录 +
+ + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+
+{% endblock %} + +{% block js %} + +{% endblock %} diff --git a/view/admin/system/user_index.html b/view/admin/system/user_index.html new file mode 100644 index 0000000..bc6154a --- /dev/null +++ b/view/admin/system/user_index.html @@ -0,0 +1,410 @@ +{% extends "../layout.html" %} + +{% block title %}用户管理{% endblock %} + +{% block content %} +
+ + + + + + + + + + + + + + + + + + + 搜索 + 重置 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+ + + + + + + + + +
+
+ + + +
+ ${ pwdStrengthText } +
+
+ + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+
+ + + +
+ ${ resetPwdStrengthText } +
+
+
+ +
+
+{% endblock %} + +{% block js %} + +{% endblock %} diff --git a/view/error_404.html b/view/error_404.html new file mode 100644 index 0000000..6640ce4 --- /dev/null +++ b/view/error_404.html @@ -0,0 +1,42 @@ + + + + + + 页面未找到 - 404 + + + +
+ 首页 +
+
+
+ 404 +

您访问的页面可能已被移除、名称已更改或暂时不可用。
请检查网址是否正确,或返回首页继续浏览。

+ +
+
+
© 肠愈同行管理系统
+ + diff --git a/view/error_500.html b/view/error_500.html new file mode 100644 index 0000000..923fa50 --- /dev/null +++ b/view/error_500.html @@ -0,0 +1,37 @@ + + + + + + 服务器错误 - 500 + + + +
+ 首页肠愈同行管理系统 +
+
+
+
500
+

服务器开小差了

+

服务器遇到了一些问题,请稍后再试。
如果问题持续存在,请联系管理员。

+ 返回首页 +
+
+
© 肠愈同行管理系统
+ + diff --git a/www/static/cover/.gitkeep b/www/static/cover/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/www/static/cover/cover01.jpg b/www/static/cover/cover01.jpg new file mode 100644 index 0000000000000000000000000000000000000000..952839e57040b1894a885745b952d85a78eca7f8 GIT binary patch literal 19069 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 D{Ey2f literal 0 HcmV?d00001 diff --git a/www/static/cover/cover02.jpg b/www/static/cover/cover02.jpg new file mode 100644 index 0000000000000000000000000000000000000000..ab4f84f5318ec8d7ef56913b34723546cecef046 GIT binary patch literal 26365 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 literal 0 HcmV?d00001 diff --git a/www/static/cover/cover04.jpg b/www/static/cover/cover04.jpg new file mode 100644 index 0000000000000000000000000000000000000000..d3cb1652fb2177aa89b0c39fdf9b8b151f7d7337 GIT binary patch literal 12612 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 AO#lD@ literal 0 HcmV?d00001 diff --git a/www/static/cover/cover_def.jpg b/www/static/cover/cover_def.jpg new file mode 100644 index 0000000000000000000000000000000000000000..6ac503c55d84a0e8ad463454627b6f92a835db90 GIT binary patch literal 16469 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 AO#lD@ literal 0 HcmV?d00001 diff --git a/www/static/css/.gitkeep b/www/static/css/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/www/static/css/admin.css b/www/static/css/admin.css new file mode 100644 index 0000000..f4de9e9 --- /dev/null +++ b/www/static/css/admin.css @@ -0,0 +1,226 @@ +/* ===== Admin Layout - vue3-element-admin style ===== */ +/* 基础重置 - 使用较低优先级,不覆盖 Tailwind 工具类 */ +*,*::before,*::after{box-sizing:border-box;} +ul,ol{list-style:none;margin:0;padding:0;} +:root{ + --primary:#E8751A; + --primary-dark:#C96012; + --primary-light:#F5A623; + --primary-bg:rgba(232,117,26,.08); + --blue:#1A3550; + --white:#fff; + --bg:#f0f2f5; + --card:#fff; + --text:#303133; + --text-regular:#606266; + --text-secondary:#909399; + --text-placeholder:#c0c4cc; + --border:#e4e7ed; + --border-light:#ebeef5; + --success:#67c23a; + --warning:#e6a23c; + --danger:#f56c6c; + --info:#909399; + --sidebar-bg:#1d1e1f; + --sidebar-text:rgba(255,255,255,.65); + --sidebar-active-bg:var(--primary); + --sidebar-width:210px; + --header-height:50px; + --font-cn:"Source Han Sans SC","Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif; + --font-en:"Roboto",sans-serif; + --radius:4px; + --shadow:0 2px 12px rgba(0,0,0,.06); +} +html{font-size:14px;} +body{font-family:var(--font-cn);color:var(--text);background:var(--bg);min-height:100vh;} +a{text-decoration:none;color:inherit;} +img{max-width:100%;display:block;} + +/* ===== Layout ===== */ +.admin-layout{display:flex;min-height:100vh;} + +/* ===== Sidebar ===== */ +.sidebar{ + width:var(--sidebar-width);background:var(--sidebar-bg); + position:fixed;top:0;left:0;bottom:0;z-index:100; + display:flex;flex-direction:column;transition:.3s;overflow:hidden; +} +.sidebar-logo{ + height:var(--header-height);display:flex;align-items:center; + padding:0 16px;border-bottom:1px solid rgba(255,255,255,.08);gap:10px;flex-shrink:0; + background:var(--white); +} +.sidebar-logo img{height:36px;width:auto;} +.sidebar-logo svg{width:28px;height:28px;color:var(--primary);flex-shrink:0;} +.sidebar-logo span{font-size:14px;font-weight:600;color:#333;white-space:nowrap;overflow:hidden;} + +.sidebar-menu{flex:1;overflow-y:auto;padding:6px 0;} +.sidebar-menu::-webkit-scrollbar{width:0;} + +.menu-group{margin-bottom:2px;} +.menu-group-title{ + padding:20px 16px 6px;font-size:11px;color:rgba(255,255,255,.3); + text-transform:uppercase;letter-spacing:1px;font-weight:500; +} +.menu-item{ + display:flex;align-items:center;gap:10px;padding:0 16px;height:42px; + color:var(--sidebar-text);cursor:pointer;transition:.15s;position:relative; + font-size:13px;border-radius:0; +} +.menu-item:hover{color:rgba(255,255,255,.9);background:rgba(255,255,255,.06);} +.menu-item.active{color:var(--white);background:var(--primary);} +.menu-item svg{width:18px;height:18px;flex-shrink:0;opacity:1;} +.menu-item.active svg{opacity:1;} +.menu-item span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;} + +/* 子菜单 */ +.submenu-items{display:none;overflow:hidden;} +.menu-parent.open .submenu-items{display:block;} +.menu-parent>.menu-item .arrow{ + margin-left:auto;transition:.2s;opacity:.9;display:flex;align-items:center; +} +.menu-parent>.menu-item .arrow svg{width:12px;height:12px;} +.menu-parent.open>.menu-item .arrow{transform:rotate(180deg);} +.submenu-items .menu-item{padding-left:46px;height:38px;font-size:12.5px;} + +/* ===== Main Area ===== */ +.main-area{flex:1;margin-left:var(--sidebar-width);display:flex;flex-direction:column;height:100vh;min-width:0;overflow-x:hidden;overflow-y:auto;} + +/* ===== Top Header ===== */ +.top-header{ + height:var(--header-height);background:var(--white); + border-bottom:1px solid var(--border-light);display:flex; + align-items:center;justify-content:space-between;padding:0 20px; + position:sticky;top:0;z-index:90; +} +.header-left{display:flex;align-items:center;gap:16px;} +.breadcrumb{display:flex;align-items:center;gap:6px;font-size:13px;color:var(--text-secondary);} +.breadcrumb a{color:var(--text-secondary);transition:.15s;} +.breadcrumb a:hover{color:var(--primary);} +.breadcrumb .sep{color:var(--text-placeholder);} +.breadcrumb .current{color:var(--text);} + +.header-right{display:flex;align-items:center;gap:16px;} +.header-btn{ + width:34px;height:34px;border-radius:50%;display:flex;align-items:center;justify-content:center; + cursor:pointer;transition:.15s;color:var(--text-secondary);background:none;border:none; +} +.header-btn:hover{background:var(--bg);color:var(--text);} +.header-btn svg{width:18px;height:18px;} +.header-avatar{ + display:flex;align-items:center;gap:8px;cursor:pointer;padding:4px 8px; + border-radius:var(--radius);transition:.15s; +} +.header-avatar:hover{background:var(--bg);} +.header-avatar img{width:30px;height:30px;border-radius:50%;background:var(--border);} +.avatar-placeholder{ + width:30px;height:30px;border-radius:50%;background:var(--primary); + color:var(--white);display:flex;align-items:center;justify-content:center; + font-size:12px;font-weight:600; +} +.header-avatar span{font-size:13px;color:var(--text-regular);} + +/* User Dropdown */ +.header-user{position:relative;} +.user-dropdown-menu{ + position:absolute;top:100%;right:0;margin-top:6px; + min-width:160px;background:#fff;border-radius:var(--radius); + box-shadow:0 6px 24px rgba(0,0,0,.12);border:1px solid var(--border-light); + opacity:0;visibility:hidden;transform:translateY(-4px);transition:.2s; + z-index:100;padding:6px 0; +} +.header-user.open .user-dropdown-menu{opacity:1;visibility:visible;transform:translateY(0);} +.dropdown-item{ + display:flex;align-items:center;gap:8px;padding:8px 16px; + font-size:13px;color:var(--text-regular);transition:.15s;cursor:pointer;text-decoration:none; +} +.dropdown-item:hover{background:var(--bg);color:var(--text);} +.dropdown-item-danger{color:var(--danger);} +.dropdown-item-danger:hover{background:rgba(245,108,108,.06);color:var(--danger);} +.dropdown-divider{height:1px;background:var(--border-light);margin:4px 0;} + +/* ===== Content ===== */ +.page-content{flex:1;padding:20px;overflow-x:auto;} + +/* ===== Tags View ===== */ +.tags-view{ + display:flex;align-items:center;gap:6px;padding:6px 20px; + background:var(--white);border-bottom:1px solid var(--border-light); + overflow-x:auto;flex-shrink:0; +} +.tags-view::-webkit-scrollbar{height:0;} +.tag-item{ + display:flex;align-items:center;gap:4px;padding:4px 12px; + border-radius:3px;font-size:12px;cursor:pointer;white-space:nowrap; + border:1px solid var(--border);color:var(--text-secondary);transition:.15s; + background:var(--white); +} +.tag-item:hover{color:var(--primary);border-color:var(--primary);} +.tag-item.active{background:var(--primary);color:var(--white);border-color:var(--primary);} +.tag-item .tag-close{ + font-size:10px;margin-left:2px;opacity:.6;transition:.15s; + width:14px;height:14px;display:flex;align-items:center;justify-content:center; + border-radius:50%; +} +.tag-item .tag-close:hover{opacity:1;background:rgba(0,0,0,.1);} +.tag-item.active .tag-close:hover{background:rgba(255,255,255,.3);} + +/* ===== Common Components ===== */ +.card{background:var(--card);border-radius:var(--radius);box-shadow:var(--shadow);padding:20px;} +.card-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px;} +.card-title{font-size:15px;font-weight:600;color:var(--text);} + +/* Table - 仅保留颜色 */ +.el-table{width:100%;border-collapse:collapse;font-size:13px;} +.el-table thead{background:#fafafa;} +.el-table th{padding:10px 12px;text-align:left;font-weight:600;color:var(--text-regular);border-bottom:2px solid var(--border-light);font-size:12px;} +.el-table td{padding:10px 12px;border-bottom:1px solid var(--border-light);color:var(--text-regular);} +.el-table tbody tr:hover td{background:#fafafa;} + +/* Buttons - 仅保留颜色 */ +.el-btn{color:var(--text-regular);cursor:pointer;} +.el-btn:hover{color:var(--primary);} +.el-btn-primary{background:var(--primary);color:var(--white);} +.el-btn-primary:hover{background:var(--primary-dark);color:var(--white);} +.el-btn-success{background:var(--success);color:var(--white);} +.el-btn-danger{background:var(--danger);color:var(--white);} +.el-btn-text{color:var(--primary);cursor:pointer;} +.el-btn-text:hover{color:var(--primary-dark);} + +/* Badge / Tag - 仅保留颜色 */ +.el-tag-success{background:#f0f9eb;color:var(--success);} +.el-tag-warning{background:#fdf6ec;color:var(--warning);} +.el-tag-danger{background:#fef0f0;color:var(--danger);} +.el-tag-info{background:#f4f4f5;color:var(--info);} +.el-tag-primary{background:var(--primary-bg);color:var(--primary);} + +/* Pagination */ +.pagination{display:flex;align-items:center;justify-content:flex-end;gap:4px;margin-top:16px;font-size:13px;} +.pagination .page-info{color:var(--text-secondary);margin-right:8px;} +.page-btn{ + min-width:30px;height:30px;display:flex;align-items:center;justify-content:center; + border:1px solid var(--border);border-radius:var(--radius);cursor:pointer; + background:var(--white);color:var(--text-regular);font-size:13px;transition:.15s; + padding:0 6px; +} +.page-btn:hover{color:var(--primary);border-color:var(--primary);} +.page-btn.active{background:var(--primary);color:var(--white);border-color:var(--primary);} +.page-btn.disabled{color:var(--text-placeholder);cursor:not-allowed;} + +/* Form inputs - 仅保留颜色 */ +.el-input:focus{border-color:var(--primary);} +.el-input::placeholder{color:var(--text-placeholder);} + +/* Search bar */ +.filter-bar{display:flex;align-items:center;gap:10px;margin-bottom:16px;flex-wrap:wrap;} +.filter-bar label{font-size:13px;color:var(--text-secondary);white-space:nowrap;} + +/* ===== 页面标题栏(通用) ===== */ +.page-title-bar{display:flex;align-items:center;gap:12px;margin-bottom:16px;} +.page-title-text{font-size:16px;font-weight:600;color:var(--text);} + +/* WangEditor 编辑区域最大高度限制 */ +.w-e-text-container .w-e-scroll { max-height: 80vh; } + +/* 日期范围选择器宽度覆盖 */ +.el-date-editor--daterange.el-input__wrapper { width: 220px !important; max-width: 220px !important; } diff --git a/www/static/css/web.css b/www/static/css/web.css new file mode 100644 index 0000000..4033bd0 --- /dev/null +++ b/www/static/css/web.css @@ -0,0 +1,1409 @@ +/* ===== Reset & Variables ===== */ +*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;} +ul,ol{list-style:none;} +:root{ + --orange:#E8751A; + --orange-dark:#C96012; + --orange-light:#F5A623; + --red:#CC2929; + --red-light:#E84040; + --blue:#3B82C4; + --blue-dark:#1A3550; + --white:#fff; + --gray-bg:#F5F6F8; + --gray-100:#ECEEF1; + --gray-300:#C4C8CE; + --gray-400:#A0A5AD; + --gray-500:#7A8290; + --gray-600:#565C67; + --gray-700:#3D4451; + --gray-900:#1A1D24; + --font-cn:"Microsoft YaHei","PingFang SC",sans-serif; + --font-en:"Roboto",sans-serif; +} +html,body{height:100%;font-family:var(--font-cn);color:var(--gray-900);line-height:1.7;background:#fff;} + +/* Iconfont 场景化样式 */ +.iconfont.icon-view{font-size:14px;color:var(--gray-500);} +.iconfont.icon-phone{font-size:18px;color:var(--orange);} +.iconfont.icon-email{font-size:18px;color:#165DFF;} +.iconfont.icon-dizhi{font-size:14px;color:#E8751A;} +.iconfont.icon-clipboard{font-size:14px;color:var(--orange);} +.iconfont.icon-email-empty{font-size:48px;color:var(--gray-300);} +.iconfont.icon-lock{font-size:13px;color:var(--gray-400);} +.ct-info-icon .iconfont{font-size:20px;} +.ct-info-icon.orange .iconfont{color:var(--orange);} +.ct-info-icon.blue .iconfont{color:#165DFF;} +.ct-info-icon.green .iconfont{color:#00B42A;} +.ct-map-header .iconfont{font-size:18px;color:var(--orange);} +.job-tag.location .iconfont{font-size:12px;} +.job-contact .iconfont{font-size:14px;} +.job-nav-title .iconfont{font-size:15px;} +.proj-detail-meta .iconfont,.article-detail-meta .iconfont{font-size:14px;color:var(--gray-500);vertical-align:-1px;} +a{text-decoration:none;color:inherit;transition:.2s;} +img{max-width:100%;display:block;image-rendering:crisp-edges;image-rendering:-webkit-optimize-contrast;image-rendering:-moz-crisp-edges;} + +/* ===== Fixed Header ===== */ +.fixed-header{ + position:fixed;top:0;left:0;right:0;z-index:1000; + display:flex;align-items:center; + padding:0 60px;height:72px; + background:rgba(255,255,255,.92);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px); + box-shadow:0 2px 12px rgba(0,0,0,.04); + transition:all .4s; +} +.logo{display:flex;align-items:center;position:relative;z-index:2;} +.logo-img{height:44px;width:auto;transition:.3s;} + +.header-right{display:flex;align-items:center;gap:12px;margin-left:auto;position:relative;z-index:2;} +.header-nav{display:flex;align-items:center;gap:4px;position:absolute;left:50%;transform:translateX(-50%);white-space:nowrap;} +.nav-link{ + position:relative;padding:8px 14px;font-size:15px;font-weight:500; + color:var(--gray-700);letter-spacing:1px;transition:.25s;border-radius:4px;white-space:nowrap; +} +.nav-link:hover,.nav-link.active{color:var(--orange);} + +/* Dropdown */ +.nav-dropdown{position:relative;} +.nav-dropdown .dropdown-menu{ + position:absolute;top:100%;left:50%;transform:translateX(-50%) translateY(4px); + min-width:160px;background:rgba(255,255,255,.98);backdrop-filter:blur(12px);border-radius:8px; + box-shadow:0 8px 32px rgba(0,0,0,.12);padding:8px 0;border:1px solid rgba(0,0,0,.06); + opacity:0;visibility:hidden;transition:.25s;pointer-events:none; +} +.nav-dropdown:hover .dropdown-menu{opacity:1;visibility:visible;transform:translateX(-50%) translateY(0);pointer-events:auto;} +.dropdown-menu a{display:block;padding:10px 24px;font-size:14px;color:var(--gray-700);white-space:nowrap;transition:.15s;text-align:center;} +.dropdown-menu a:hover{color:var(--orange);background:rgba(232,117,26,.04);} + + +/* Header Search */ +.header-search{position:relative;display:flex;align-items:center;} +.header-search-btn{background:none;border:none;cursor:pointer;color:var(--gray-500);padding:6px;border-radius:50%;transition:.2s;display:flex;align-items:center;justify-content:center;} +.header-search-btn:hover{color:var(--orange);} +.header-search-box{position:absolute;right:0;top:50%;transform:translateY(-50%);width:0;overflow:hidden;transition:width .3s;display:flex;align-items:center;background:#fff;border-radius:24px;border:1px solid transparent;height:38px;} +.header-search-box.open{width:260px;border-color:var(--orange);box-shadow:0 2px 12px rgba(0,0,0,.08);} +.header-search-box input{flex:1;border:none;outline:none;font-size:14px;padding:0 12px;height:100%;background:transparent;font-family:var(--font-cn);color:var(--gray-900);min-width:0;} +.header-search-box input::placeholder{color:var(--gray-300);} +.header-search-go{background:var(--orange);border:none;cursor:pointer;color:#fff;width:30px;height:30px;border-radius:50%;display:flex;align-items:center;justify-content:center;margin-right:4px;flex-shrink:0;transition:.2s;} +.header-search-go:hover{background:var(--orange-dark);} +.header-search-mobile{display:none;color:var(--gray-500);padding:6px;transition:.2s;} +.header-search-mobile:hover{color:var(--orange);} + +/* Mobile Menu Button */ +.mobile-menu-btn{ + display:none;width:32px;height:32px;background:none;border:none;cursor:pointer; + flex-direction:column;justify-content:center;align-items:center;gap:5px;padding:4px; +} +.mobile-menu-btn span{display:block;width:20px;height:2px;background:var(--gray-700);transition:.3s;} + +/* Mobile Menu Overlay */ +.mobile-menu-overlay{ + position:fixed;inset:0;background:rgba(0,0,0,.5);z-index:1001; + opacity:0;visibility:hidden;transition:.3s; +} +.mobile-menu-overlay.open{opacity:1;visibility:visible;} + +/* Mobile Menu Drawer */ +.mobile-menu{ + position:fixed;top:0;right:-280px;width:280px;height:100%; + background:#fff;z-index:1002;transition:.3s; + display:flex;flex-direction:column; +} +.mobile-menu.open{right:0;} +.mobile-menu-header{ + display:flex;align-items:center;justify-content:space-between; + padding:16px 20px;border-bottom:1px solid var(--gray-100); +} +.mobile-logo{height:32px;} +.mobile-menu-close{ + width:32px;height:32px;background:none;border:none; + font-size:24px;color:var(--gray-500);cursor:pointer; +} +.mobile-nav{flex:1;overflow-y:auto;padding:12px 0;} +.mobile-nav-item{border-bottom:1px solid var(--gray-100);} +.mobile-nav-link{ + display:flex;align-items:center;justify-content:space-between; + padding:14px 20px;font-size:15px;color:var(--gray-700); +} +.mobile-nav-arrow{font-size:18px;transition:.3s;} +.mobile-nav-item.open .mobile-nav-arrow{transform:rotate(90deg);} +.mobile-nav-sub{display:none;background:var(--gray-bg);padding:8px 0;} +.mobile-nav-item.open .mobile-nav-sub{display:block;} +.mobile-nav-sub a{display:block;padding:10px 20px 10px 36px;font-size:14px;color:var(--gray-500);} +.mobile-nav-sub a:hover{color:var(--orange);} + + +/* ===== Swiper Fullpage ===== */ +.swiper-fullpage{width:100%;height:100vh;overflow:hidden;} +.swiper-fullpage .swiper-slide{height:100vh!important;overflow:hidden;position:relative;} + +/* ===== Slide Labels (right side dots) ===== */ +.slide-labels{ + position:fixed;right:36px;top:50%;transform:translateY(-50%);z-index:999; + display:flex;flex-direction:column;gap:24px; +} +.slide-label{ + display:flex;align-items:center;gap:10px;cursor:pointer; + flex-direction:row-reverse; +} +.slide-label .dot{ + width:10px;height:10px;border-radius:50%; + background:rgba(255,255,255,.3);border:2px solid rgba(255,255,255,.5); + transition:.3s;flex-shrink:0; +} +.slide-label.active .dot{ + background:var(--orange);border-color:var(--orange); + width:10px;height:24px;border-radius:5px; +} +.slide-label .txt{ + font-size:12px;color:rgba(255,255,255,.5);letter-spacing:1px; + opacity:0;transform:translateX(8px);transition:.25s;white-space:nowrap; +} +.slide-label:hover .txt{opacity:1;transform:translateX(0);} +.slide-label.active .txt{opacity:1;transform:translateX(0);color:var(--orange);} +.slide-labels.light .slide-label .dot{background:rgba(0,0,0,.1);border-color:rgba(0,0,0,.2);} +.slide-labels.light .slide-label.active .dot{background:var(--orange);border-color:var(--orange);} +.slide-labels.light .slide-label .txt{color:rgba(0,0,0,.3);} +.slide-labels.light .slide-label.active .txt{color:var(--orange);} + +/* ===== Slide 1: Banner ===== */ +.slide-banner{background:#0a0a0a;height:100vh;position:relative;} +.banner-swiper{width:100%;height:100%;} +.banner-swiper .swiper-slide{height:100vh!important;overflow:hidden;} +.banner-slide-bg{ + position:absolute;inset:0; + background:center/cover no-repeat; + filter:brightness(.85);transition:transform 6s ease-out; +} +.banner-swiper .swiper-slide-active .banner-slide-bg{transform:scale(1.05);} +.banner-slide-content{ + position:absolute;top:50%;left:120px;transform:translateY(-50%); + z-index:2;display:flex;flex-direction:column; + align-items:flex-start;max-width:700px; +} +.banner-slide-content.pos-left{left:120px;right:auto;align-items:flex-start;text-align:left;} +.banner-slide-content.pos-center{left:50%;transform:translate(-50%,-50%);align-items:center;text-align:center;} +.banner-slide-content.pos-right{left:auto;right:120px;align-items:flex-end;text-align:right;} +.banner-slide-content.glass-on{ + background:rgba(0,0,0,.25);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px); + border-radius:16px;border:1px solid rgba(255,255,255,.1); + padding:48px 60px; +} +.banner-slide-content.pos-center.glass-on{transform:translate(-50%,-50%);} +.banner-slide-content h1{ + font-size:48px;font-weight:700;color:#fff;line-height:1.3; + margin-bottom:20px;letter-spacing:2px; + opacity:0;transform:translateY(40px);transition:all .8s .3s; +} +.banner-swiper .swiper-slide-active .banner-slide-content h1{opacity:1;transform:translateY(0);} +.banner-slide-content .desc{ + font-size:16px;color:rgba(255,255,255,.75);line-height:1.9;max-width:600px; + margin-bottom:40px; + opacity:0;transform:translateY(30px);transition:all .8s .5s; +} +.banner-swiper .swiper-slide-active .banner-slide-content .desc{opacity:1;transform:translateY(0);} +.banner-slide-content .btns{ + display:flex;gap:16px; + opacity:0;transform:translateY(20px);transition:all .8s .7s; +} +.banner-swiper .swiper-slide-active .banner-slide-content .btns{opacity:1;transform:translateY(0);} +.banner-swiper .swiper-pagination{bottom:90px!important;} +.banner-swiper .swiper-pagination-bullet{ + width:32px;height:4px;border-radius:2px; + background:rgba(255,255,255,.35);opacity:1;border:none;transition:.3s; +} +.banner-swiper .swiper-pagination-bullet-active{width:48px;background:var(--orange);} + +.btn-primary{ + padding:14px 40px;border-radius:30px;font-size:15px;font-weight:600; + background:var(--orange);color:#fff;letter-spacing:1px;transition:.3s; + display:inline-block; +} +.btn-primary:hover{background:var(--orange-dark);transform:translateY(-2px);box-shadow:0 8px 24px rgba(232,117,26,.3);} +.btn-ghost{ + padding:14px 40px;border-radius:30px;font-size:15px;font-weight:600; + background:transparent;color:#fff;border:1.5px solid rgba(255,255,255,.5); + letter-spacing:1px;transition:.3s;display:inline-block; +} +.btn-ghost:hover{border-color:#fff;background:rgba(255,255,255,.1);} + +.scroll-hint{ + position:absolute;bottom:40px;left:50%;transform:translateX(-50%);z-index:2; + display:flex;flex-direction:column;align-items:center;gap:8px; + color:rgba(255,255,255,.5);font-size:12px;letter-spacing:2px; +} +.scroll-hint .mouse{ + width:24px;height:38px;border:2px solid rgba(255,255,255,.4);border-radius:12px; + position:relative; +} +.scroll-hint .mouse::after{ + content:"";position:absolute;top:6px;left:50%;transform:translateX(-50%); + width:3px;height:8px;background:rgba(255,255,255,.6);border-radius:2px; + animation:scrollDown 1.8s infinite; +} +@keyframes scrollDown{0%{opacity:1;top:6px;}100%{opacity:0;top:22px;}} + +/* ===== Slide 2: Donation Data ===== */ +.slide-donation{ + background:linear-gradient(135deg,#fff8f0 0%,#fff 50%,#f0f7ff 100%); + display:flex;align-items:center;justify-content:center; + height:100vh;padding-top:72px; +} +.donation-wrap{ + width:100%;max-width:1300px;padding:0 40px; + max-height:calc(100vh - 72px);overflow:hidden; + opacity:0;transform:translateY(50px);transition:all .9s .2s; + display:flex;flex-direction:column; +} +.swiper-slide-active .donation-wrap{opacity:1;transform:translateY(0);} + +.section-head{text-align:center;margin-bottom:2vh;} +.section-head h2{font-size:clamp(24px,3vw,36px);font-weight:700;color:var(--gray-900);margin-bottom:4px;} +.section-head h2::after{content:"";display:block;width:40px;height:3px;background:linear-gradient(90deg,var(--red),var(--orange));margin:8px auto 0;border-radius:2px;} +.section-head .en{font-family:var(--font-en);font-size:13px;color:var(--gray-300);letter-spacing:3px;text-transform:uppercase;} + +.data-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:2vh;} +.data-card{ + background:rgba(255,255,255,.65);backdrop-filter:blur(16px); + border-radius:14px;padding:18px 16px;text-align:center; + box-shadow:0 8px 32px rgba(0,0,0,.06),inset 0 1px 0 rgba(255,255,255,.8); + border:1px solid rgba(255,255,255,.6);transition:.3s; +} +.data-card:hover{transform:translateY(-4px);box-shadow:0 16px 48px rgba(232,117,26,.12);border-color:var(--orange-light);} +.data-card .label{font-size:14px;color:var(--gray-500);margin-bottom:4px;} +.data-card .amount{font-family:var(--font-en);font-size:clamp(20px,2.2vw,28px);font-weight:700;color:var(--orange);} +.data-card .amount .unit{font-size:14px;color:var(--gray-500);font-weight:400;margin-left:4px;} +.data-card .note{font-size:12px;color:var(--gray-300);margin-top:2px;} + +.donation-tables{display:grid;grid-template-columns:1fr 1fr;gap:16px;flex:1;min-height:0;} +.dtable{ + background:rgba(255,255,255,.6);backdrop-filter:blur(16px); + border-radius:14px;padding:14px; + box-shadow:0 8px 32px rgba(0,0,0,.06);border:1px solid rgba(255,255,255,.6); +} +.dtable h3{font-size:14px;font-weight:600;color:var(--gray-900);margin-bottom:6px;padding-bottom:5px;border-bottom:2px solid var(--orange-light);} +.dtable table{width:100%;border-collapse:collapse;font-size:13px;table-layout:fixed;} +.dtable th{text-align:center;padding:5px 8px;color:var(--gray-500);font-weight:500;border-bottom:1px solid var(--gray-100);} +.dtable td{text-align:center;padding:5px 8px;color:var(--gray-700);border-bottom:1px solid var(--gray-100);} +.dtable .td-r{font-family:var(--font-en);font-weight:500;color:var(--orange);} +.dtable-head{margin-bottom:0;} +.dtable-scroll-wrap{max-height:140px;overflow:hidden;position:relative;} +.dtable-scroll-wrap.donation-scroll .dtable-scroll-inner{animation:donationScroll 15s linear infinite;} +.dtable-scroll-wrap.donation-scroll:hover .dtable-scroll-inner{animation-play-state:paused;} +@keyframes donationScroll{0%{transform:translateY(0);}100%{transform:translateY(-50%);}} + +.dtable-drug{grid-column:1/-1;} +.dtable-drug h3{border-bottom-color:var(--orange);} +.dtable-drug .drug-name{color:var(--orange);font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;display:block;} +.drug-scroll-wrap{max-height:140px;overflow:hidden;position:relative;} +.drug-scroll-inner{animation:drugScroll 18s linear infinite;} +.drug-scroll-wrap:hover .drug-scroll-inner{animation-play-state:paused;} +@keyframes drugScroll{0%{transform:translateY(0);}100%{transform:translateY(-50%);}} + + +/* ===== Slide 3: Projects ===== */ +.slide-projects{ + position:relative;height:100vh;overflow:hidden;cursor:grab; +} +.slide-projects.dragging{cursor:grabbing;} +.slide-projects .proj-bg{ + position:absolute;inset:0; + background:center/cover no-repeat; + filter:brightness(.65); + transition:opacity .8s,transform 6s ease-out; + opacity:0; +} +.slide-projects .proj-bg.active{opacity:1;} +.swiper-slide-active .slide-projects .proj-bg.active{transform:scale(1.04);} + +.proj-info-card{ + position:absolute;top:50%;right:8%;transform:translateY(-50%); + width:380px; + background:rgba(232,117,26,.88);backdrop-filter:blur(8px); + border-radius:4px;padding:48px 40px;color:#fff; + opacity:0;transform:translateY(-50%) translateX(40px); + transition:all .7s .3s;z-index:5; +} +.swiper-slide-active .proj-info-card{opacity:1;transform:translateY(-50%) translateX(0);} +.proj-info-card .card-label{ + font-size:13px;letter-spacing:3px;opacity:.8;margin-bottom:12px; + display:flex;align-items:center;gap:8px; +} +.proj-info-card .card-label::before{ + content:"";display:block;width:24px;height:2px;background:var(--red-light);opacity:.8; +} +.proj-info-card h3{font-size:28px;font-weight:700;line-height:1.4;margin-bottom:16px;} +.proj-info-card .card-divider{width:40px;height:2px;background:#fff;opacity:.5;margin-bottom:16px;} +.proj-info-card p{font-size:15px;line-height:1.9;opacity:.9;margin-bottom:24px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;} +.proj-info-card .card-btn{ + display:inline-flex;align-items:center;gap:6px; + padding:10px 28px;border:1.5px solid rgba(255,255,255,.6);border-radius:24px; + font-size:14px;color:#fff;transition:.3s; +} +.proj-info-card .card-btn:hover{background:rgba(255,255,255,.15);border-color:#fff;} + +.proj-tabs{ + position:absolute;bottom:60px;left:50%;transform:translateX(-50%); + z-index:5;display:flex;gap:0;max-width:60vw; +} +.proj-tab{ + padding:14px 28px;cursor:pointer; + font-size:14px;color:rgba(255,255,255,.6); + border-bottom:3px solid transparent; + transition:.3s;white-space:nowrap;letter-spacing:1px; + overflow:hidden;text-overflow:ellipsis;max-width:200px; +} +.proj-tab:hover{color:rgba(255,255,255,.85);} +.proj-tab.active{color:#fff;border-bottom-color:var(--red);font-weight:600;} + +/* Mobile project nav (hidden on PC) */ +.proj-mobile-nav{display:none;} +.proj-nav-btn{ + width:32px;height:32px;border-radius:50%;border:1.5px solid rgba(255,255,255,.6); + background:rgba(0,0,0,.2);color:#fff;font-size:20px;line-height:1; + cursor:pointer;transition:.2s;display:flex;align-items:center;justify-content:center; +} +.proj-nav-btn:hover{background:rgba(255,255,255,.2);border-color:#fff;} +.proj-counter{font-size:13px;color:rgba(255,255,255,.8);letter-spacing:1px;} + +.proj-more-link{ + position:absolute;bottom:24px;left:50%;transform:translateX(-50%); + z-index:5;font-size:13px;color:rgba(255,255,255,.5); + letter-spacing:2px;transition:.2s; +} +.proj-more-link:hover{color:var(--orange);} + +/* ===== Slide 4: News ===== */ +.slide-news{ + background:#fff; + display:flex;align-items:center;justify-content:center; + height:100vh;padding-top:72px; +} +.news-wrap{ + width:100%;max-width:1200px;padding:0 60px; + max-height:calc(100vh - 72px);overflow:hidden; + opacity:0;transform:translateY(50px);transition:all .9s .2s; +} +.swiper-slide-active .news-wrap{opacity:1;transform:translateY(0);} + +.news-grid{display:grid;grid-template-columns:1fr 1fr;gap:36px;align-items:stretch;} +.news-featured{border-radius:14px;overflow:hidden;position:relative;cursor:pointer;display:flex;} +.news-featured img{width:100%;height:100%;object-fit:cover;transition:.5s;} +.news-featured:hover img{transform:scale(1.03);} +.news-featured .overlay{ + position:absolute;bottom:0;left:0;right:0; + padding:24px;background:linear-gradient(transparent,rgba(0,0,0,.7)); + color:#fff; +} +.news-featured .overlay h3{font-size:16px;font-weight:600;margin-bottom:4px;} +.news-featured .overlay .date{font-size:13px;opacity:.7;} + +.news-list{display:flex;flex-direction:column;gap:0;} +.news-item{ + display:flex;align-items:flex-start;gap:16px; + padding:14px 0;border-bottom:1px solid var(--gray-100); + cursor:pointer;transition:.2s; +} +.news-item:hover{padding-left:8px;} +.news-item .date-box{flex-shrink:0;width:54px;text-align:center;} +.news-item .date-box .day{font-family:var(--font-en);font-size:28px;font-weight:700;color:var(--orange);line-height:1;} +.news-item .date-box .ym{font-size:12px;color:var(--gray-300);white-space:nowrap;margin-top:2px;} +.news-item .text h4{font-size:14px;font-weight:500;color:var(--gray-900);margin-bottom:4px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;} +.news-item .text p{font-size:13px;color:var(--gray-500);display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;} + +.more-link{font-size:13px;color:var(--orange);letter-spacing:1px;} +.more-link:hover{text-decoration:underline;} + +/* ===== Slide 5: Partners + Footer ===== */ +.slide-footer{ + background:#F8F9FA; + display:flex;flex-direction:column;justify-content:flex-start;align-items:center; + height:100vh;padding-top:72px;overflow:hidden; +} +.partners-section{ + width:100%;max-width:1200px;padding:40px 60px;flex:1; + display:flex;flex-direction:column; + opacity:0;transform:translateY(50px);transition:all .9s .2s; +} +.swiper-slide-active .partners-section{opacity:1;transform:translateY(0);} + +/* Partners carousel - 2 rows, 5 per row */ +.partners-carousel-wrap{ + position:relative;width:100%;flex:1;display:flex;align-items:center; +} +.partners-carousel-viewport{ + flex:1;overflow:hidden;margin:0 50px; +} +.partners-carousel{ + display:grid;grid-template-rows:repeat(2,1fr);grid-auto-flow:column;grid-auto-columns:calc((100% - 80px) / 5); + gap:20px;transition:transform .5s ease; +} +.partner-item{ + background:#fff;border-radius:12px;padding:20px; + display:flex;align-items:center;justify-content:center; + box-shadow:0 2px 12px rgba(0,0,0,.03);border:1px solid var(--gray-100); + transition:.3s;min-height:160px;position:relative;overflow:hidden; +} +.partner-item:hover{box-shadow:0 8px 24px rgba(0,0,0,.08);transform:translateY(-2px);} +.partner-item img{max-height:100px;width:auto;filter:grayscale(.3);transition:.3s;} +.partner-item:hover img{filter:grayscale(0);} +.partner-name{ + position:absolute;bottom:0;left:0;right:0;background:rgba(0,0,0,.65);color:#fff;font-size:13px; + text-align:center;padding:8px 6px;opacity:0;transition:opacity .25s;pointer-events:none; +} +.partner-item:hover .partner-name{opacity:1;} + +/* Carousel navigation - only show when needed */ +.partners-nav{ + position:absolute;top:50%;transform:translateY(-50%); + width:40px;height:40px;border-radius:50%; + background:rgba(255,255,255,.9);border:1px solid var(--gray-100); + display:none;align-items:center;justify-content:center; + cursor:pointer;transition:.3s;z-index:10; + box-shadow:0 2px 12px rgba(0,0,0,.08); +} +.partners-carousel-wrap.has-more .partners-nav{display:flex;} +.partners-nav:hover{background:#fff;box-shadow:0 4px 16px rgba(0,0,0,.12);} +.partners-nav.prev{left:0;} +.partners-nav.next{right:0;} +.partners-nav svg{width:20px;height:20px;stroke:var(--gray-700);} + +/* Footer */ +.footer-component{ + width:100%; + background:linear-gradient(to bottom,#fb8c1e,#f27019); + position:relative;display:flex;flex-direction:column;flex-shrink:0; +} +.footer-main{flex:1;display:flex;align-items:center;padding:40px 0 20px;} +.footer-content{ + max-width:1200px;width:100%;margin:0 auto;padding:0; + display:flex;justify-content:space-between;align-items:flex-start;gap:40px; +} +.footer-left{flex:1;display:flex;flex-direction:column;gap:12px;padding-right:60px;} +.footer-logo{width:180px;height:auto;} +.footer-title{font-size:22px;font-weight:600;color:#fff;letter-spacing:1px;} +.footer-info p{font-size:14px;color:#fff;line-height:2;text-indent:2em;} + +.footer-mid{flex:1;display:flex;align-items:flex-start;gap:40px;} +.footer-qr-section{flex:0 0 auto;} +.footer-section{display:flex;flex-direction:column;gap:8px;} +.footer-section-title{ + font-size:16px;font-weight:700;color:#fff;margin-bottom:8px; + display:flex;align-items:center;gap:8px; +} +.footer-section-title svg{flex-shrink:0;} + +.footer-links-list{display:grid;grid-template-columns:repeat(2,auto);gap:6px 0;list-style:none;padding:0;margin:0;} +.footer-links-list li{font-size:14px;line-height:1.5;white-space:nowrap;padding-right:12px;border-right:1px solid rgba(255,255,255,.4);} +.footer-links-list li:nth-child(2n){border-right:none;padding-right:0;padding-left:12px;} +.footer-links-list a{color:#fff;transition:color .2s;white-space:nowrap;} +.footer-links-list a:hover{color:#fedab7;} + +.footer-contact{font-size:13px;color:#fff;line-height:1.8;} +.footer-contact a{color:#fff;transition:color .2s;} +.footer-contact a:hover{color:#fedab7;} + +.footer-qr{text-align:center;} +.footer-qr img{width:100px;height:auto;border-radius:4px;background:#fff;object-fit:contain;} + +.footer-bottom{border-top:1px solid rgba(255,255,255,.2);padding:16px 0;} +.footer-bottom-content{ + max-width:1200px;width:100%;margin:0 auto;padding:0; + display:flex;justify-content:space-between;align-items:center; +} +.footer-copyright{font-size:13px;color:#fedab7;} +.footer-company{font-size:13px;color:#fedab7;} + +/* ===== Responsive ===== */ +/* ===== Column Page ===== */ +.col-banner{ + position:relative;height:280px; + background:center/cover no-repeat var(--orange); + display:flex;align-items:center;justify-content:center; + margin-top:72px; +} +.col-banner-overlay{ + position:absolute;inset:0; + background:linear-gradient(180deg,rgba(0,0,0,.15) 0%,rgba(0,0,0,.4) 100%); +} +.col-banner-content{ + position:relative;z-index:1;text-align:center;color:#fff; +} +.col-banner-content h1{ + font-size:42px;font-weight:700;letter-spacing:2px;margin-bottom:12px; +} +.col-banner-en{ + font-family:var(--font-en);font-size:16px;letter-spacing:3px; + text-transform:uppercase;opacity:.9;margin-bottom:16px; +} +.col-banner-desc{ + font-size:18px;opacity:.95;letter-spacing:2px; +} + +/* Sub Tabs */ +.col-tabs-wrap{ + background:var(--gray-bg);border-bottom:none; + position:sticky;top:72px;z-index:100;padding:12px 0; +} +.col-tabs{ + max-width:1200px;margin:0 auto;display:flex;justify-content:center; + gap:24px;align-items:center; +} +.col-tab{ + padding:6px 32px;font-size:16px;color:#606266; + border:none;border-radius:24px;transition:.3s;white-space:nowrap; + font-weight:500;background:transparent; +} +.col-tab:hover{color:#fff;background:rgba(232,117,26,.8);} +.col-tab.active{ + color:#fff;background:var(--orange);font-weight:600; +} + +/* Breadcrumb */ +.col-breadcrumb-wrap{ + background:#fff;border-bottom:none; +} +.col-breadcrumb{ + max-width:1200px;margin:0 auto;padding:20px 0; + font-size:14px;color:#909399; +} +.col-breadcrumb a{color:#606266;transition:.2s;} +.col-breadcrumb a:hover{color:var(--orange);} +.col-breadcrumb .sep{margin:0 8px;color:#C0C4CC;} +.col-breadcrumb .current{color:var(--orange);} + +/* Content Area */ +.col-content-wrap{background:#fff;min-height:50vh;} +.col-content{ + max-width:1200px;margin:0 auto;padding:0 0 40px; +} +.col-empty{ + text-align:center;padding:80px 0;color:var(--gray-300);font-size:15px;grid-column:1/-1; +} + +/* Section Title */ +.col-section-title{ + font-size:28px;font-weight:700;color:var(--gray-900); + margin-bottom:32px;padding-bottom:16px; + border-bottom:3px solid var(--orange);display:inline-block; +} + +/* Page Content */ +.col-page-body{line-height:2;font-size:15px;color:var(--gray-700);} +.col-page-body img{max-width:100%;height:auto;border-radius:8px;margin:16px auto;display:block;} +.col-page-body p{margin-bottom:16px;} + +/* Article List V2 */ +.col-article-list-v2{display:flex;flex-direction:column;gap:32px;} + +/* Featured (first article) */ +.col-art-featured{ + display:block;position:relative;border-radius:14px;overflow:hidden; + height:400px;box-shadow:0 8px 32px rgba(0,0,0,.1); +} +.col-art-featured-img{width:100%;height:100%;} +.col-art-featured-img img{width:100%;height:100%;object-fit:cover;transition:.6s;} +.col-art-featured:hover .col-art-featured-img img{transform:scale(1.04);} +.col-art-featured-overlay{ + position:absolute;bottom:0;left:0;right:0; + padding:28px 32px;background:linear-gradient(transparent 0%,rgba(0,0,0,.35) 30%,rgba(0,0,0,.8) 100%); + color:#fff; +} +.col-art-featured-overlay h3{font-size:22px;font-weight:700;line-height:1.5;margin-bottom:6px;} +.col-art-featured-overlay p{font-size:14px;opacity:.8;line-height:1.7;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;} +.col-art-date{font-size:12px;opacity:.6;margin-top:6px;display:inline-flex;align-items:center;gap:4px;} +.col-art-date::before{content:'';display:inline-block;width:14px;height:14px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E") no-repeat center/contain;opacity:.7;} +.col-art-tag{ + display:inline-block;padding:4px 12px;border-radius:4px; + background:var(--orange);color:#fff;font-size:12px;font-weight:600; + margin-bottom:10px;letter-spacing:.5px; +} + +/* Card list */ +.col-art-cards{display:flex;flex-direction:column;gap:20px;} +.col-art-card{ + display:flex;gap:0;border-radius:12px;overflow:hidden; + background:#fff;box-shadow:0 2px 12px rgba(0,0,0,.06); + border:1px solid var(--gray-100);transition:.3s; +} +.col-art-card:hover{box-shadow:0 8px 28px rgba(232,117,26,.1);border-color:rgba(232,117,26,.2);transform:translateY(-2px);} +.col-art-card{height:180px;} +.col-art-card-cover{flex-shrink:0;width:260px;height:100%;overflow:hidden;} +.col-art-card-cover img{width:100%;height:100%;object-fit:cover;transition:.4s;} +.col-art-card:hover .col-art-card-cover img{transform:scale(1.06);} +.col-art-no-cover{ + width:100%;height:100%;display:flex;align-items:center;justify-content:center; + background:linear-gradient(135deg,var(--orange) 0%,var(--orange-dark) 100%); + color:#fff;font-size:28px;font-weight:700;letter-spacing:2px; +} +.col-art-card-body{ + flex:1;padding:20px 24px;display:flex;flex-direction:column;justify-content:space-between; +} +.col-art-tag-sm{ + display:inline-block;padding:2px 10px;border-radius:4px; + background:rgba(232,117,26,.08);color:var(--orange);font-size:12px;font-weight:500; + margin-bottom:8px; +} +.col-art-card-body h4{font-size:17px;font-weight:600;color:var(--gray-900);line-height:1.5;margin-bottom:6px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;} +.col-art-card-body p{font-size:13px;color:var(--gray-500);line-height:1.7;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:0;} +.col-art-card-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:auto;padding-top:12px;} +.col-art-card-date{font-size:12px;color:var(--gray-300);font-family:var(--font-en);display:inline-flex;align-items:center;gap:4px;} +.col-art-card-date::before{content:'';display:inline-block;width:13px;height:13px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23C4C8CE' stroke-width='2'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E") no-repeat center/contain;} +.col-art-card-more{font-size:13px;color:var(--orange);font-weight:500;opacity:0;transition:.3s;} +.col-art-card:hover .col-art-card-more{opacity:1;} + +/* Image Grid (Certificate Style) */ +.col-image-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;} +.col-image-item{ + background:#fff;border-radius:8px;overflow:hidden; + box-shadow:0 4px 16px rgba(0,0,0,.08);transition:.3s;cursor:pointer; +} +.col-image-item:hover{transform:translateY(-4px);box-shadow:0 12px 32px rgba(232,117,26,.15);} +.col-image-thumb{ + width:100%;height:320px;background:var(--gray-bg); + display:flex;align-items:center;justify-content:center;overflow:hidden; +} +.col-image-thumb img{width:100%;height:100%;object-fit:contain;padding:16px;} +.col-image-title{ + padding:16px;text-align:center;font-size:14px;color:var(--gray-900);background:#fff; +} + +/* Text List */ +.col-text-list{display:flex;flex-direction:column;} +.col-text-item{ + display:flex;align-items:center;justify-content:space-between; + padding:16px 0;border-bottom:1px solid var(--gray-100);transition:.2s; +} +.col-text-item:hover{padding-left:8px;} +.col-text-title{font-size:15px;color:var(--gray-700);} +.col-text-title a{color:var(--gray-700);transition:.2s;} +.col-text-title a:hover{color:var(--orange);} +.col-text-date{font-size:13px;color:var(--gray-300);flex-shrink:0;margin-left:24px;} + +/* Person Grid (Team Member Card Style) */ +/* Featured first person - large horizontal card */ +.board-featured{ + display:flex;gap:40px;align-items:flex-start; + background:#fff;border:1px solid #ececec;border-radius:12px; + padding:36px;margin-bottom:48px;transition:.3s; +} +.board-featured:hover{box-shadow:0 8px 24px rgba(0,0,0,.1);} +.board-featured .featured-photo{ + width:280px;min-width:280px;height:340px; + border-radius:8px;overflow:hidden;background:#F5F6F8; +} +.board-featured .featured-photo img{width:100%;height:100%;object-fit:cover;} +.board-featured .featured-info{flex:1;} +.board-featured .featured-info h3{font-size:26px;font-weight:700;color:#303133;margin-bottom:8px;} +.board-featured .featured-info .position{font-size:15px;font-weight:700;color:#E8751A;margin-bottom:20px;} +.board-featured .featured-info .bio{font-size:14px;color:#606266;line-height:2;} +/* Team grid */ +.team-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;row-gap:40px;} +.team-member{ + background:#fff;border-radius:12px;overflow:hidden; + border:1px solid #ececec;transition:.3s;text-align:center; +} +.team-member:hover{box-shadow:0 8px 24px rgba(0,0,0,.1);} +.member-photo{ + width:160px;height:160px;border-radius:6px; + background:#F5F6F8;overflow:hidden;margin:24px auto 0; +} +.member-photo img{width:100%;height:100%;object-fit:cover;} +.member-placeholder{ + width:100%;height:100%;display:flex;align-items:center;justify-content:center; + background:var(--orange);color:#fff;font-size:48px;font-weight:700; +} +.member-info{padding:16px 20px 24px;} +.member-info h3{font-size:22px;font-weight:600;color:#303133;margin-bottom:6px;} +.member-position{font-size:14px;font-weight:700;color:#E8751A;margin-bottom:12px;} +.member-bio{ + font-size:14px;color:#606266;line-height:1.8;text-align:left; + display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden; +} + +/* Job Recruitment - Arco Design Style */ +.job-layout{display:grid;grid-template-columns:200px 1fr;gap:24px;align-items:start;} +.job-layout .job-hero-banner{grid-column:1 / -1;} +.job-hero-banner{background:linear-gradient(135deg,#EDF4FF 0%,#E8EDFB 100%);border-radius:16px;padding:20px 32px;display:flex;align-items:center;justify-content:space-between;position:relative;overflow:hidden;} +.job-hero-banner::before{content:'';position:absolute;top:-40px;right:-40px;width:160px;height:160px;background:rgba(22,93,255,.06);border-radius:50%;} +.job-hero-text h2{font-size:24px;font-weight:700;color:#1D2129;margin-bottom:8px;} +.job-hero-text p{font-size:14px;color:#4E5969;line-height:1.8;} +.job-hero-stats{display:flex;gap:32px;position:relative;z-index:1;} +.job-hero-stat{text-align:center;} +.job-hero-stat .num{font-size:28px;font-weight:700;color:#165DFF;line-height:1;margin-bottom:4px;} +.job-hero-stat .label{font-size:12px;color:#86909C;} +.job-nav{position:sticky;top:60px;background:#fff;border:1px solid #F2F3F5;border-radius:12px;overflow:hidden;} +.job-nav-title{padding:14px 16px;font-size:14px;font-weight:600;color:#1D2129;border-bottom:1px solid #F2F3F5;background:#FAFBFC;} +.job-nav-list{list-style:none;padding:6px 0;margin:0;} +.job-nav-list li a{display:block;padding:10px 16px;font-size:13px;color:#4E5969;text-decoration:none;border-left:3px solid transparent;transition:all .2s;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;} +.job-nav-list li a:hover{color:#165DFF;background:#F7F8FA;} +.job-nav-list li a.active{color:#165DFF;background:#EDF4FF;border-left-color:#165DFF;font-weight:500;} +.job-main{display:flex;flex-direction:column;gap:20px;} +.job-card{background:#fff;border:1px solid #F2F3F5;border-radius:16px;overflow:hidden;transition:all .25s;} +.job-card:hover{border-color:#E5E6EB;box-shadow:0 8px 24px rgba(0,0,0,.06);} +.job-card-header{padding:24px 28px 20px;border-bottom:1px solid #F2F3F5;display:flex;align-items:center;justify-content:space-between;} +.job-card-title{display:flex;align-items:center;gap:12px;flex-wrap:wrap;} +.job-card-title h3{font-size:18px;font-weight:600;color:#1D2129;} +.job-card-tags{display:flex;gap:8px;} +.job-tag{padding:3px 10px;font-size:12px;border-radius:4px;font-weight:500;} +.job-tag.location{background:#EDF4FF;color:#165DFF;} +.job-tag.type{border-radius:4px;font-weight:500;} +.job-tag.type.fulltime{background:#E8FFEA;color:#00B42A;} +.job-tag.type.parttime{background:#FFF3E8;color:#E8751A;} +.job-card-body{padding:24px 28px;} +.job-section{margin-bottom:20px;} +.job-section:last-child{margin-bottom:0;} +.job-section-title{font-size:14px;font-weight:600;color:#1D2129;margin-bottom:12px;display:flex;align-items:center;gap:8px;} +.job-section-title::before{content:'';width:3px;height:14px;background:#165DFF;border-radius:2px;} +.job-section-content{font-size:14px;color:#4E5969;line-height:1.9;padding-left:11px;white-space:pre-line;} +.job-card-footer{padding:16px 28px;background:#FAFBFC;border-top:1px solid #F2F3F5;display:flex;align-items:center;justify-content:space-between;} +.job-contact{font-size:13px;color:#86909C;display:flex;align-items:center;gap:16px;} +.job-contact a{color:#165DFF;text-decoration:none;font-weight:500;} +.job-contact a:hover{text-decoration:underline;} +.job-apply-btn{padding:7px 24px;background:linear-gradient(135deg,#165DFF,#3B82F6);color:#fff;border:none;border-radius:6px;font-size:13px;font-weight:500;cursor:pointer;transition:all .2s;text-decoration:none;display:inline-block;} +.job-apply-btn:hover{box-shadow:0 4px 12px rgba(22,93,255,.3);transform:translateY(-1px);} +.job-empty{text-align:center;padding:60px 20px;color:#C9CDD4;grid-column:1 / -1;} +.job-empty .empty-icon{font-size:48px;margin-bottom:16px;} +.job-empty p{font-size:14px;color:#86909C;} + +/* Column Page Responsive */ +/* ===== Form Page (前台表单) ===== */ +.col-form-btn-wrap{text-align:center;padding:40px 0 20px;} +.col-form-btn{ + display:inline-block;padding:14px 60px;border:none;border-radius:30px; + background:var(--orange);color:#fff;font-size:16px;font-weight:600; + cursor:pointer;transition:.3s;letter-spacing:1px; +} +.col-form-btn:hover{background:var(--orange-dark);transform:translateY(-2px);box-shadow:0 8px 24px rgba(232,117,26,.3);} + +/* Form Dialog Overlay */ +.col-form-overlay{ + position:fixed;inset:0;z-index:2000;background:rgba(0,0,0,.5); + display:flex;align-items:center;justify-content:center; + opacity:0;visibility:hidden;transition:.3s; +} +.col-form-overlay.open{opacity:1;visibility:visible;} +.col-form-dialog{ + background:#fff;border-radius:12px;width:90%;max-width:520px; + max-height:85vh;display:flex;flex-direction:column; + box-shadow:0 20px 60px rgba(0,0,0,.2); + transform:translateY(20px);transition:.3s; +} +.col-form-overlay.open .col-form-dialog{transform:translateY(0);} +.col-form-dialog-header{ + display:flex;align-items:center;justify-content:space-between; + padding:20px 24px;border-bottom:1px solid var(--gray-100); + font-size:18px;font-weight:600;color:var(--gray-900); +} +.col-form-close{ + width:32px;height:32px;border:none;background:none; + font-size:24px;color:var(--gray-500);cursor:pointer;transition:.2s; +} +.col-form-close:hover{color:var(--gray-900);} +.col-form-dialog-body{flex:1;overflow-y:auto;padding:24px;} + +.col-form-group{margin-bottom:20px;} +.col-form-label{display:block;font-size:14px;font-weight:500;color:var(--gray-700);margin-bottom:8px;} +.col-form-required{color:#E84040;margin-left:2px;} +.col-form-input,.col-form-textarea{ + width:100%;padding:10px 14px;border:1px solid var(--gray-100);border-radius:6px; + font-size:14px;color:var(--gray-900);transition:.2s;font-family:inherit; +} +.col-form-input:focus,.col-form-textarea:focus{outline:none;border-color:var(--orange);box-shadow:0 0 0 2px rgba(232,117,26,.1);} +.col-form-textarea{resize:vertical;min-height:80px;} +.col-form-options{display:flex;flex-wrap:wrap;gap:12px;} +.col-form-radio,.col-form-checkbox{ + display:flex;align-items:center;gap:6px;cursor:pointer;font-size:14px;color:var(--gray-700); +} +.col-form-radio input,.col-form-checkbox input{accent-color:var(--orange);} +.col-form-upload{display:flex;flex-direction:column;gap:8px;} +.col-form-upload-area{ + border:2px dashed var(--gray-100);border-radius:8px;cursor:pointer;transition:.2s;overflow:hidden; +} +.col-form-upload-area:hover{border-color:var(--orange);background:rgba(232,117,26,.02);} +.col-form-upload-preview{min-height:100px;display:flex;align-items:center;justify-content:center;} +.col-form-upload-preview img{max-width:100%;max-height:200px;object-fit:contain;display:block;margin:0 auto;} +.col-form-upload-placeholder{ + display:flex;flex-direction:column;align-items:center;gap:8px; + color:var(--gray-400);font-size:13px;padding:24px; +} +.col-form-dialog-footer{padding:16px 24px;border-top:1px solid var(--gray-100);} +.col-form-submit{ + display:block;width:100%;padding:12px;border:none;border-radius:8px; + background:var(--orange);color:#fff;font-size:16px;font-weight:600; + cursor:pointer;transition:.3s; +} +.col-form-submit:hover{background:var(--orange-dark);} + +/* ===== Inline Form (页面内嵌表单) ===== */ +.col-inline-form-wrap{ + margin-top:48px;max-width:680px;margin-left:auto;margin-right:auto; + background:var(--gray-bg);border-radius:16px;padding:40px 48px; + border:1px solid var(--gray-100); +} +.col-inline-form-header{text-align:center;margin-bottom:32px;} +.col-inline-form-header h3{ + font-size:22px;font-weight:700;color:var(--gray-900);margin-bottom:8px; + position:relative;display:inline-block; +} +.col-inline-form-header h3::after{ + content:'';display:block;width:40px;height:3px; + background:linear-gradient(90deg,var(--orange),var(--orange-light)); + margin:10px auto 0;border-radius:2px; +} +.col-inline-form-header p{font-size:14px;color:var(--gray-500);margin-top:8px;} + +.col-inline-form{display:flex;flex-direction:column;gap:0;} + +.col-ifield{margin-bottom:24px;} +.col-ifield-label{display:block;font-size:14px;font-weight:600;color:var(--gray-700);margin-bottom:8px;} +.col-ifield-req{color:#E84040;margin-left:2px;} +.col-ifield-input,.col-ifield-textarea{ + width:100%;padding:12px 16px;border:1px solid var(--gray-100);border-radius:8px; + font-size:14px;color:var(--gray-900);transition:.2s;font-family:inherit; + background:#fff; +} +.col-ifield-input:focus,.col-ifield-textarea:focus{ + outline:none;border-color:var(--orange); + box-shadow:0 0 0 3px rgba(232,117,26,.1); +} +.col-ifield-textarea{resize:vertical;min-height:100px;} +.col-ifield-options{display:flex;flex-wrap:wrap;gap:16px;} +.col-ifield-radio,.col-ifield-checkbox{ + display:flex;align-items:center;gap:8px;cursor:pointer; + font-size:14px;color:var(--gray-700); + padding:8px 16px;background:#fff;border:1px solid var(--gray-100); + border-radius:8px;transition:.2s; +} +.col-ifield-radio:hover,.col-ifield-checkbox:hover{border-color:var(--orange);background:rgba(232,117,26,.02);} +.col-ifield-radio input,.col-ifield-checkbox input{accent-color:var(--orange);} + +.col-ifield-upload{display:flex;flex-direction:column;gap:8px;} +.col-ifield-upload-area{ + border:2px dashed var(--gray-100);border-radius:12px;cursor:pointer; + transition:.2s;overflow:hidden;background:#fff; +} +.col-ifield-upload-area:hover{border-color:var(--orange);background:rgba(232,117,26,.02);} +.col-ifield-upload-preview{min-height:120px;display:flex;align-items:center;justify-content:center;} +.col-ifield-upload-preview img{max-width:100%;max-height:200px;object-fit:contain;display:block;margin:0 auto;} +.col-ifield-upload-placeholder{ + display:flex;flex-direction:column;align-items:center;gap:8px; + color:var(--gray-300);font-size:13px;padding:32px; +} + +.col-ifield-submit-wrap{text-align:center;margin-top:8px;} +.col-ifield-submit{ + display:inline-block;padding:14px 80px;border:none;border-radius:30px; + background:var(--orange);color:#fff;font-size:16px;font-weight:600; + cursor:pointer;transition:.3s;letter-spacing:1px; +} +.col-ifield-submit:hover{background:var(--orange-dark);transform:translateY(-2px);box-shadow:0 8px 24px rgba(232,117,26,.3);} +.col-ifield-submit:disabled{opacity:.7;cursor:not-allowed;transform:none;box-shadow:none;} + +/* ========== Article Detail ========== */ +.article-detail-wrap{max-width:1200px;margin:0 auto;padding:20px 40px 60px;display:grid;grid-template-columns:1fr 300px;gap:40px;align-items:start;} +.article-detail-main{min-width:0;} +.article-header{margin-bottom:32px;} +.article-title{font-size:32px;font-weight:700;color:var(--gray-900);line-height:1.4;margin-bottom:16px;} +.article-meta{display:flex;gap:24px;align-items:center;flex-wrap:wrap;padding:16px 0;border-bottom:1px solid var(--gray-100);margin-bottom:32px;font-size:14px;color:var(--gray-400);} +.article-meta span{display:flex;align-items:center;gap:6px;} +.article-share{display:flex;align-items:center;gap:8px;margin-left:auto;} +.article-share-label{font-size:14px;color:var(--gray-600);margin-right:4px;} +.article-share-btn{width:32px;height:32px;border:none;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:.3s;background:var(--gray-bg);color:var(--gray-600);} +.article-share-btn.wechat:hover{background:#07C160;color:#fff;transform:translateY(-2px);} +.article-share-btn.weibo:hover{background:#E6162D;color:#fff;transform:translateY(-2px);} +.article-body{font-size:16px;line-height:2;color:var(--gray-700);} +.article-body h2{font-size:20px;font-weight:600;color:var(--gray-900);margin:28px 0 14px;border-left:4px solid var(--orange);padding-left:14px;} +.article-body h3{font-size:17px;font-weight:600;color:var(--gray-900);margin:20px 0 10px;} +.article-body p{margin-bottom:14px;} +.article-body img{max-width:100%;border-radius:6px;margin:12px auto;display:block;} +.article-body blockquote{border-left:4px solid var(--orange);padding:14px 20px;margin:16px 0;background:var(--orange-light);color:var(--gray-600);} +.article-body ul,.article-body ol{padding-left:26px;margin-bottom:14px;} +.article-body li{margin-bottom:6px;} +.article-body table{width:100%;border-collapse:collapse;margin:16px 0;} +.article-body td,.article-body th{border:1px solid var(--gray-100);padding:10px 14px;font-size:14px;} +.article-body th{background:var(--gray-bg);font-weight:600;} +.article-body a{color:var(--orange);} +/* 上一篇/下一篇卡片 */ +.article-nav{display:flex;justify-content:space-between;gap:24px;margin-top:48px;padding-top:32px;border-top:1px solid var(--gray-100);} +.article-nav-item{flex:1;padding:20px;background:var(--gray-bg);border-radius:10px;text-decoration:none;transition:.3s;min-width:0;} +.article-nav-item:hover{background:#fff;box-shadow:0 4px 16px rgba(0,0,0,.08);transform:translateY(-2px);} +.article-nav-item.next{text-align:right;} +.article-nav-label{display:block;font-size:13px;color:var(--gray-400);margin-bottom:8px;} +.article-nav-title{display:block;font-size:15px;color:var(--gray-900);line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;} +.article-nav-item:hover .article-nav-title{color:var(--orange);} +.article-nav-item.disabled{pointer-events:none;opacity:.6;} +/* 侧边栏 */ +.article-sidebar{position:sticky;top:20px;display:flex;flex-direction:column;gap:24px;} +.sidebar-section{background:var(--gray-bg);border-radius:12px;padding:24px 20px;} +.sidebar-title{font-size:16px;font-weight:600;color:var(--gray-900);margin-bottom:16px;padding-bottom:12px;border-bottom:2px solid var(--orange);} +.related-list{display:flex;flex-direction:column;} +.related-item{display:flex;flex-direction:column;gap:4px;padding:12px 0;border-bottom:1px solid var(--gray-100);text-decoration:none;transition:.2s;} +.related-item:last-child{border-bottom:none;} +.related-item:hover .related-name{color:var(--orange);} +.related-date{font-size:12px;color:var(--gray-400);} +.related-name{font-size:14px;color:var(--gray-600);line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;transition:.2s;} +.category-list{display:flex;flex-direction:column;} +.category-item{display:flex;justify-content:space-between;align-items:center;padding:10px 16px;font-size:14px;color:var(--gray-600);text-decoration:none;border-radius:6px;transition:.2s;} +.category-item:hover{color:var(--orange);background:rgba(232,117,26,.08);} +.category-item.active{color:var(--orange);font-weight:600;background:rgba(232,117,26,.08);} +.category-count{font-size:12px;background:var(--gray-100);color:var(--gray-400);padding:2px 8px;border-radius:10px;} +.category-item.active .category-count{background:rgba(232,117,26,.15);color:var(--orange);} +/* 微信分享弹窗 */ +.qr-modal{display:none;position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.6);z-index:10000;align-items:center;justify-content:center;} +.qr-modal.show{display:flex;} +.qr-modal-content{background:#fff;border-radius:12px;padding:32px;text-align:center;max-width:320px;} +.qr-modal-title{font-size:18px;font-weight:600;color:var(--gray-900);margin-bottom:16px;} +.qr-code{width:200px;height:200px;margin:0 auto 16px;background:var(--gray-bg);display:flex;align-items:center;justify-content:center;border-radius:8px;} +.qr-tip{font-size:14px;color:var(--gray-400);margin-bottom:20px;} +.qr-close-btn{width:100%;padding:10px;background:var(--orange);color:#fff;border:none;border-radius:6px;font-size:14px;cursor:pointer;transition:.2s;} +.qr-close-btn:hover{background:#C96012;} +/* ===== Text Card Grid (封面卡片) ===== */ +.col-text-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;} +.col-text-card{ + display:block;background:#fff;border-radius:8px;overflow:hidden; + box-shadow:0 4px 16px rgba(0,0,0,.08);transition:.3s;cursor:pointer; + position:relative; +} +.col-text-card:hover{transform:translateY(-4px);box-shadow:0 12px 32px rgba(232,117,26,.15);} +.col-text-cover{ + width:100%;aspect-ratio:300/426;overflow:hidden;background:var(--gray-bg);position:relative; +} +.col-text-cover img{width:100%;height:100%;object-fit:cover;transition:.3s;} +.col-text-card:hover .col-text-cover img{transform:scale(1.05);} +.col-text-file-tag{ + position:absolute;top:12px;right:12px;z-index:2; + padding:4px 12px;border-radius:4px; + background:var(--orange);color:#fff;font-size:12px;font-weight:700; + letter-spacing:.5px;font-family:var(--font-en); +} +.col-text-overlay{ + position:absolute;top:0;left:0;right:0;bottom:0; + display:flex;align-items:flex-start;justify-content:center; + padding:24px;padding-top:28%;text-align:center; +} +.col-text-overlay-title{ + color:#333;font-size:16px;font-weight:600;line-height:1.8; + text-shadow:0 1px 2px rgba(255,255,255,.8),0 0 8px rgba(255,255,255,.6); + display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden; +} +.col-text-date-badge{ + position:absolute;right:8px;bottom:8px; + padding:4px 10px;border-radius:4px; + background:rgba(0,0,0,.55);color:#fff;font-size:12px; + font-family:var(--font-en);letter-spacing:.5px; +} +.col-text-placeholder{ + display:flex;align-items:center;justify-content:center; + background:linear-gradient(135deg,var(--orange) 0%,var(--orange-dark) 100%); +} +.col-text-placeholder-inner{ + text-align:center;padding:24px;color:#fff; +} +.col-text-placeholder-title{ + display:block;font-size:16px;font-weight:600;line-height:1.6; + display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden; +} +.col-text-placeholder-year{ + display:block;font-family:var(--font-en);font-size:32px;font-weight:700; + margin-top:12px;opacity:.8; +} +/* (card info removed - using date badge only) */ + +/* ===== Document List (文档列表样式) ===== */ +.doc-list{display:flex;flex-direction:column;} +.doc-item{display:flex;align-items:center;justify-content:space-between;padding:20px 0;border-bottom:1px solid var(--gray-100);transition:.3s;text-decoration:none;cursor:pointer;} +.doc-item:hover{background:rgba(232,117,26,.03);padding-left:16px;padding-right:16px;} +.doc-item:hover .doc-title{color:var(--orange);} +.doc-item-left{display:flex;align-items:center;gap:16px;flex:1;min-width:0;} +.doc-tag{display:inline-block;padding:4px 12px;background:rgba(232,117,26,.08);color:var(--orange);border-radius:4px;font-size:12px;white-space:nowrap;flex-shrink:0;} +.doc-title{font-size:16px;color:var(--gray-900);transition:.3s;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;} +.doc-date{font-size:14px;color:var(--gray-400);white-space:nowrap;margin-left:24px;} + +/* ===== Text Detail Download ===== */ +.text-detail-download{ + margin-top:40px;padding:24px;background:var(--gray-bg);border-radius:8px; + text-align:center; +} +.text-download-btn{ + display:inline-flex;align-items:center;gap:10px; + padding:12px 32px;background:var(--orange);color:#fff; + border-radius:24px;font-size:15px;font-weight:500;transition:.3s; +} +.text-download-btn:hover{background:var(--orange-dark);transform:translateY(-2px);box-shadow:0 8px 24px rgba(232,117,26,.3);color:#fff;} +.text-download-type{ + display:inline-block;padding:2px 8px;background:rgba(255,255,255,.25); + border-radius:3px;font-size:11px;font-weight:600;letter-spacing:.5px; +} + +/* Text Grid Responsive */ +/* ===== Home Generic Section (text/person/page/job etc.) ===== */ +.slide-section{ + height:100vh;display:flex;align-items:center;justify-content:center; + background:#F8F9FA;padding:80px 60px; +} +.section-wrap{width:100%;max-width:1200px;margin:0 auto;} + +/* Home text grid */ +.home-text-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;} +.home-text-card{ + display:block;position:relative;border-radius:8px;overflow:hidden; + aspect-ratio:300/426;background:#eee;transition:transform .3s; +} +.home-text-card:hover{transform:translateY(-4px);} +.home-text-card .cover{width:100%;height:100%;background-size:cover;background-position:center;} +.home-text-card .cover-placeholder{ + display:flex;align-items:center;justify-content:center; + background:linear-gradient(135deg,var(--orange),var(--orange-light)); + color:#fff;font-size:16px;padding:20px;text-align:center; +} +.home-text-card .date-badge{ + position:absolute;bottom:10px;right:10px; + background:rgba(0,0,0,.5);color:#fff;font-size:12px; + padding:2px 8px;border-radius:4px; +} + +/* Home person grid */ +.home-person-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:24px;text-align:center;} +.home-person-card .avatar{ + width:120px;height:120px;border-radius:50%;margin:0 auto 12px; + background-size:cover;background-position:center;background-color:#eee; +} +.home-person-card .name{font-size:16px;font-weight:600;margin-bottom:4px;} +.home-person-card .title{font-size:13px;color:var(--gray-500);} + +/* Home page content */ +.home-page-content{max-height:60vh;overflow-y:auto;line-height:1.8;} +.home-page-content img{max-width:100%;height:auto;} + +/* Slide with footer - allow scroll for content + footer */ +.slide-with-footer{flex-direction:column;justify-content:flex-start;overflow-y:auto;padding-bottom:0;} +.slide-with-footer .section-wrap{flex:1;display:flex;flex-direction:column;justify-content:center;padding-bottom:20px;} +.slide-with-footer>.footer-component{margin:0 -60px;width:calc(100% + 120px);flex-shrink:0;} + +/* Home form */ +.home-form-wrap{max-width:600px;margin:20px auto 0;} +.home-inline-form .home-form-field{margin-bottom:16px;} +.home-inline-form .home-form-field label{display:block;font-size:14px;color:#333;margin-bottom:6px;font-weight:500;} +.home-inline-form .home-form-field input, +.home-inline-form .home-form-field textarea, +.home-inline-form .home-form-field select{width:100%;padding:10px 12px;border:1px solid #ddd;border-radius:6px;font-size:14px;outline:none;transition:border-color .3s;} +.home-inline-form .home-form-field input:focus, +.home-inline-form .home-form-field textarea:focus, +.home-inline-form .home-form-field select:focus{border-color:#ff7800;} +.home-inline-form .home-form-field textarea{resize:vertical;min-height:80px;} +.home-form-submit{text-align:center;padding-top:10px;} +.home-form-submit button{background:#ff7800;color:#fff;border:none;padding:12px 48px;border-radius:6px;font-size:15px;cursor:pointer;transition:background .3s;} +.home-form-submit button:hover{background:#e66a00;} + +/* Home job list */ +.home-job-list{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;} +.home-job-card{background:#fff;border:1px solid #eee;border-radius:8px;padding:20px;transition:box-shadow .3s;} +.home-job-card:hover{box-shadow:0 4px 16px rgba(0,0,0,.08);} +.home-job-card .job-title{font-size:16px;font-weight:600;color:#333;margin-bottom:8px;} +.home-job-card .job-meta{display:flex;gap:12px;font-size:13px;color:#999;margin-bottom:8px;} +.home-job-card .job-meta span{display:flex;align-items:center;gap:4px;} +.home-job-card .job-desc{font-size:13px;color:#666;line-height:1.6;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;} + +/* ===== About Intro Section ===== */ +.about-intro-section{margin-bottom:60px;} +.about-intro-section:last-child{margin-bottom:0;} +.about-section-header{display:flex;align-items:baseline;gap:12px;margin-bottom:40px;} +.about-section-header h2{font-size:24px;font-weight:700;color:#1D2129;position:relative;padding-left:14px;} +.about-section-header h2::before{content:'';position:absolute;left:0;top:50%;transform:translateY(-50%);width:4px;height:22px;border-radius:2px;background:#E8751A;} +.about-section-header p{font-size:13px;color:#C9CDD4;letter-spacing:2px;} +.about-section-alt{background:#F7F8FA;border-radius:16px;padding:48px 40px;margin-top:48px;} + +/* Intro Hero */ +.about-intro-hero{display:grid;grid-template-columns:1fr 500px;gap:40px;align-items:end;background:#fff;border:1px solid #F2F3F5;border-radius:16px;padding:36px;} +.about-intro-hero-text{display:flex;flex-direction:column;gap:16px;} +.about-intro-hero-text p{font-size:15px;color:#4E5969;line-height:2;} +.about-intro-hero-img{border-radius:16px;overflow:hidden;border:1px solid #F2F3F5;} +.about-intro-hero-img img{width:100%;height:auto;display:block;object-fit:cover;} + +/* Stats */ +.about-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:20px;} +.about-stat-card{background:#fff;border:1px solid #F2F3F5;border-radius:12px;padding:24px 16px;text-align:center;transition:all .2s;} +.about-stat-card:hover{border-color:#E8751A;box-shadow:0 4px 16px rgba(232,117,26,.1);} +.about-stat-num{font-size:32px;font-weight:700;color:#E8751A;line-height:1.2;margin-bottom:4px;white-space:nowrap;} +.about-stat-num span{font-size:14px;font-weight:500;color:#86909C;margin-left:2px;} +.about-stat-label{font-size:13px;color:#86909C;} + +/* Values */ +.about-values-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:28px;} +.about-value-card{background:#fff;border:1px solid #F2F3F5;border-radius:12px;padding:28px 24px;text-align:center;transition:all .25s;position:relative;overflow:hidden;} +.about-value-card::before{content:'';position:absolute;top:0;left:0;right:0;height:3px;background:#E8751A;transform:scaleX(0);transition:transform .3s;transform-origin:left;} +.about-value-card:hover{border-color:#E5E6EB;box-shadow:0 8px 24px rgba(0,0,0,.06);} +.about-value-card:hover::before{transform:scaleX(1);} +.about-value-icon{width:64px;height:64px;border-radius:14px;margin:0 auto 16px;display:flex;align-items:center;justify-content:center;background:rgba(232,117,26,.1);} +.about-value-icon img{width:36px;height:36px;filter:brightness(0) saturate(100%) invert(55%) sepia(95%) saturate(600%) hue-rotate(360deg) brightness(95%) contrast(90%);} +.about-value-card h3{font-size:17px;font-weight:600;color:#1D2129;margin-bottom:8px;} +.about-value-card p{font-size:14px;color:#86909C;line-height:1.7;} +.about-scope-card{background:#fff;border:1px solid #F2F3F5;border-radius:12px;padding:28px 32px;} +.about-scope-card h3{font-size:16px;font-weight:600;color:#1D2129;margin-bottom:14px;padding-left:12px;border-left:3px solid #E8751A;} +.about-scope-card p{font-size:14px;color:#4E5969;line-height:2;} + +/* Strategy */ +.about-strategy-row{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;} +.about-strategy-card{background:#fff;border:1px solid #F2F3F5;border-radius:12px;overflow:hidden;transition:all .25s;} +.about-strategy-card:hover{border-color:#E5E6EB;box-shadow:0 8px 24px rgba(0,0,0,.06);transform:translateY(-2px);} +.about-strategy-img{width:100%;height:220px;object-fit:cover;display:block;background:#F2F3F5;} +.about-strategy-body{position:relative;padding:40px 24px 28px;text-align:center;} +.about-strategy-badge{width:56px;height:56px;border-radius:50%;position:absolute;top:-28px;left:50%;transform:translateX(-50%);display:flex;align-items:center;justify-content:center;font-size:22px;font-weight:700;color:#fff;box-shadow:0 4px 12px rgba(0,0,0,.1);border:3px solid #fff;} +.about-badge-blue{background:linear-gradient(135deg,#165DFF,#3B82F6);} +.about-badge-orange{background:linear-gradient(135deg,#E8751A,#F5A623);} +.about-badge-green{background:linear-gradient(135deg,#00B42A,#34D399);} +.about-badge-red{background:linear-gradient(135deg,#F53F3F,#F76560);} +.about-badge-purple{background:linear-gradient(135deg,#722ED1,#9254DE);} +.about-badge-cyan{background:linear-gradient(135deg,#0FC6C2,#14C9C9);} +.about-badge-gold{background:linear-gradient(135deg,#D4A017,#FAAD14);} +.about-badge-pink{background:linear-gradient(135deg,#EB2F96,#F759AB);} +.about-strategy-card h3{font-size:18px;font-weight:600;color:#1D2129;margin-bottom:10px;} +.about-strategy-card p{font-size:14px;color:#86909C;line-height:1.8;} + +/* Qualifications */ +.about-qual-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;} +.about-qual-card{background:#fff;border:1px solid #ebeef0;border-radius:12px;padding:24px 16px;text-align:center;transition:all .25s;} +.about-qual-card:hover{border-color:#dcdfe3;} +.about-qual-img{width:100%;height:auto;border-radius:8px;margin-bottom:12px;} +.about-qual-card h4{font-size:14px;font-weight:600;color:#1D2129;margin-bottom:6px;line-height:1.5;} +.about-qual-card p{font-size:12px;color:#C9CDD4;line-height:1.6;} + +/* Compliance */ +.about-compliance-banner{background:linear-gradient(135deg,#1D2129 0%,#2A3441 100%);border-radius:16px;padding:40px;color:#fff;position:relative;overflow:hidden;} +.about-compliance-banner::before{content:'';position:absolute;top:-50px;right:-50px;width:180px;height:180px;border-radius:50%;background:rgba(232,117,26,.12);} +.about-compliance-banner>*{position:relative;z-index:1;} +.about-compliance-lead{font-size:14px;color:rgba(255,255,255,.6);line-height:1.9;margin-bottom:28px;} +.about-compliance-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;} +.about-compliance-item{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.08);border-radius:12px;padding:22px;transition:all .2s;} +.about-compliance-item:hover{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.15);} +.about-compliance-item h4{font-size:15px;color:#E8751A;margin-bottom:8px;font-weight:600;} +.about-compliance-item p{font-size:13px;color:rgba(255,255,255,.55);line-height:1.8;} + +/* About Intro Responsive */ +/* ===== Contact Us ===== */ +.ct-layout{display:grid;grid-template-columns:1fr 1fr;gap:32px;align-items:stretch;} +.ct-info-panel{display:flex;flex-direction:column;gap:20px;} +.ct-brand-card{background:linear-gradient(135deg,#FFF7ED 0%,#FFF0E0 100%);border-radius:16px;padding:28px 24px;position:relative;overflow:hidden;} +.ct-brand-card::before{content:'';position:absolute;top:-30px;right:-30px;width:120px;height:120px;background:rgba(232,117,26,.08);border-radius:50%;} +.ct-brand-card h3{font-size:20px;font-weight:700;color:#1D2129;margin-bottom:8px;position:relative;z-index:1;} +.ct-brand-card .ct-en{font-size:13px;color:#86909C;font-style:italic;margin-bottom:12px;position:relative;z-index:1;} +.ct-brand-card p{font-size:14px;color:#4E5969;line-height:1.8;position:relative;z-index:1;} + +.ct-info-list{background:#fff;border:1px solid #F2F3F5;border-radius:16px;overflow:hidden;} +.ct-info-row{display:flex;align-items:center;gap:14px;padding:16px 24px;transition:background .2s;} +.ct-info-row:not(:last-child){border-bottom:1px solid #F7F8FA;} +.ct-info-row:hover{background:#FAFBFC;} +.ct-info-icon{width:36px;height:36px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:18px;flex-shrink:0;} +.ct-info-icon.orange{background:rgba(232,117,26,.1);} +.ct-info-icon.blue{background:rgba(22,93,255,.1);} +.ct-info-icon.green{background:rgba(0,180,42,.1);} +.ct-info-icon.purple{background:rgba(114,46,209,.1);} +.ct-info-text{flex:1;} +.ct-info-text .ct-label{font-size:12px;color:#86909C;margin-bottom:2px;} +.ct-info-text .ct-value{font-size:14px;color:#1D2129;font-weight:500;} +.ct-info-text .ct-value a{color:#E8751A;text-decoration:none;} +.ct-info-text .ct-value a:hover{text-decoration:underline;} + +.ct-qr-row{gap:16px;} +.ct-qr-inline{width:72px;height:72px;border-radius:10px;border:1px solid #F2F3F5;flex-shrink:0;object-fit:cover;} + +.ct-map-panel{display:flex;flex-direction:column;height:100%;} +.ct-map-card{background:#fff;border:1px solid #F2F3F5;border-radius:16px;overflow:hidden;flex:1;display:flex;flex-direction:column;} +.ct-map-header{padding:16px 24px;border-bottom:1px solid #F2F3F5;display:flex;align-items:center;gap:8px;} +.ct-map-header h4{font-size:15px;font-weight:600;color:#1D2129;} +.ct-map-body{width:100%;flex:1;min-height:380px;background:#F7F8FA;display:flex;align-items:center;justify-content:center;color:#C9CDD4;font-size:14px;} + +/* Contact Responsive */ +/* Map tooltip */ +.ct-map-tooltip{background:#fff;color:#1D2129;font-size:13px;padding:6px 12px;border-radius:8px;box-shadow:0 2px 8px rgba(0,0,0,.15);white-space:nowrap;pointer-events:none;} +#ct-ol-map{min-height:380px;} +#ct-ol-map canvas{border-radius:0 0 16px 16px;} + +/* ===== Search Result Page ===== */ +.search-header{background:#fff;padding:16px 0;box-shadow:0 2px 8px rgba(0,0,0,.04);} +.search-header-inner{max-width:1200px;margin:0 auto;padding:0 20px;} +.search-box{max-width:800px;margin:0 auto;display:flex;align-items:center;background:#F5F6F8;border-radius:50px;padding:0 8px 0 32px;border:1px solid var(--orange);height:56px;} +.search-box input{flex:1;border:none;background:transparent;outline:none;font-size:16px;padding:0;height:100%;font-family:var(--font-cn);color:var(--gray-900);} +.search-box input::placeholder{color:var(--gray-300);} +.search-box-btn{background:var(--orange);border:none;cursor:pointer;color:#fff;width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;transition:.2s;flex-shrink:0;} +.search-box-btn:hover{background:var(--orange-dark);} +.search-clear-btn{background:none;border:none;cursor:pointer;color:var(--gray-300);width:28px;height:28px;display:flex;align-items:center;justify-content:center;flex-shrink:0;padding:0;transition:color .2s;} +.search-clear-btn:hover{color:var(--gray-500);} +.search-container{max-width:1200px;margin:0 auto;padding:40px 20px 60px;} +.search-info{margin-bottom:32px;padding-bottom:20px;border-bottom:2px solid #E4E7ED;} +.search-keyword-text{font-size:18px;color:var(--gray-900);margin-bottom:8px;} +.search-keyword-text .kw{color:var(--orange);font-weight:600;} +.search-stats{font-size:14px;color:var(--gray-500);} +.filter-tabs{display:flex;gap:16px;margin-bottom:32px;flex-wrap:wrap;} +.filter-tab{padding:8px 24px;font-size:14px;color:#606266;background:#fff;border:1px solid #DCDFE6;border-radius:20px;cursor:pointer;transition:.3s;text-decoration:none;} +.filter-tab:hover{color:var(--orange);border-color:var(--orange);} +.filter-tab.active{color:#fff;background:var(--orange);border-color:var(--orange);} +.result-list{display:flex;flex-direction:column;gap:24px;} +.result-item{background:#fff;border-radius:12px;padding:32px;border:1px solid #F2F3F5;transition:all .25s;display:block;text-decoration:none;color:inherit;} +.result-item:hover{border-color:#E5E6EB;box-shadow:0 8px 24px rgba(0,0,0,.06);} +.result-header{display:flex;align-items:center;gap:12px;margin-bottom:12px;} +.result-type{display:inline-block;padding:4px 12px;background:#FFF8F0;color:var(--orange);border-radius:4px;font-size:12px;font-weight:600;} +.result-date{font-size:14px;color:var(--gray-500);} +.result-title{font-size:20px;font-weight:600;color:var(--gray-900);margin-bottom:12px;line-height:1.4;} +.result-title .highlight{color:var(--orange);background:rgba(232,117,26,.1);padding:0 4px;} +.result-desc{font-size:15px;line-height:1.8;color:#606266;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;} +.result-desc .highlight{color:var(--orange);font-weight:600;} +.result-footer{margin-top:16px;padding-top:16px;border-top:1px solid #F5F6F8;display:flex;align-items:center;justify-content:space-between;} +.result-path{font-size:13px;color:var(--gray-500);} +.result-more{font-size:14px;color:var(--orange);display:flex;align-items:center;gap:4px;} +.search-empty{text-align:center;padding:80px 20px;background:#fff;border-radius:12px;} +.search-empty-icon{font-size:64px;color:#C0C4CC;margin-bottom:24px;} +.search-empty h3{font-size:20px;color:var(--gray-900);margin-bottom:12px;} +.search-empty p{font-size:15px;color:var(--gray-500);line-height:1.8;} +.search-pagination{display:flex;justify-content:center;align-items:center;gap:8px;margin-top:40px;} +.page-btn{min-width:40px;height:40px;padding:0 12px;background:#fff;border:1px solid #DCDFE6;border-radius:6px;font-size:14px;color:#606266;cursor:pointer;transition:.3s;display:flex;align-items:center;justify-content:center;text-decoration:none;} +.page-btn:hover{color:var(--orange);border-color:var(--orange);} +.page-btn.active{color:#fff;background:var(--orange);border-color:var(--orange);} +.page-btn.disabled{opacity:.5;cursor:not-allowed;pointer-events:none;} + +/* ========== Project List ========== */ +.project-list { display: flex; flex-direction: column; gap: 32px; } +.project-item { + display: grid; grid-template-columns: 445px 1fr; gap: 32px; + background: #fff; border-radius: 12px; overflow: hidden; + border: 1px solid #F2F3F5; transition: all 0.25s; + text-decoration: none; color: inherit; +} +.project-item:hover { border-color: #E5E6EB; box-shadow: 0 8px 24px rgba(0,0,0,0.06); } +.project-cover { + width: 445px; height: 280px; background: #F5F6F8; + display: flex; align-items: center; justify-content: center; overflow: hidden; +} +.project-cover img { width: 100%; height: 100%; object-fit: cover; } +.project-cover-placeholder { font-size: 16px; color: #909399; } +.project-info { padding: 32px 32px 32px 0; display: flex; flex-direction: column; justify-content: space-between; } +.project-header { margin-bottom: 16px; } +.project-title { font-size: 22px; font-weight: 600; color: #303133; margin-bottom: 12px; line-height: 1.4; } +.project-meta { display: flex; align-items: center; gap: 16px; font-size: 14px; color: #909399; } +.project-tag { display: inline-block; padding: 4px 12px; background: #FFF8F0; color: #E8751A; border-radius: 4px; font-size: 12px; } +.project-date { display: flex; align-items: center; gap: 4px; } +.project-desc { + font-size: 15px; line-height: 1.8; color: #606266; margin-bottom: 20px; + display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; +} +.project-footer { display: flex; align-items: center; justify-content: space-between; } +.project-stats { display: flex; gap: 24px; font-size: 14px; color: #909399; } +.project-stat-item { display: flex; align-items: center; gap: 6px; } +.project-stat-item .label { color: #909399; } +.project-stat-item .value { color: #E8751A; font-weight: 600; } +.view-detail-btn { + padding: 8px 24px; background: transparent; color: #E8751A; + border: 1px solid #E8751A; border-radius: 20px; font-size: 14px; + cursor: pointer; transition: 0.3s; display: inline-block; +} +.view-detail-btn:hover { background: #E8751A; color: #fff; } + +@media (max-width: 768px) { + .view-detail-btn { display: none; } +} + +/* ========== Project Detail ========== */ +.proj-detail-wrap { + max-width: 1200px; margin: 0 auto; padding: 40px 0 60px; + display: grid; grid-template-columns: 1fr 280px; gap: 40px; align-items: start; +} +.proj-detail-main:only-child { grid-column: 1 / -1; } +.proj-detail-main { background: #fff; } +.proj-detail-title { font-size: 32px; font-weight: 700; color: #303133; margin-bottom: 16px; line-height: 1.4; } +.proj-detail-meta { + display: flex; gap: 24px; align-items: center; padding: 16px 0; + border-bottom: 1px solid #E4E7ED; margin-bottom: 32px; font-size: 14px; color: #909399; +} +.proj-detail-meta span{display:flex;align-items:center;gap:6px;} +.proj-section { margin-bottom: 48px; } +.proj-section:last-child { margin-bottom: 0; } +.proj-section-title { + font-size: 24px; font-weight: 700; color: #303133; + margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid #E8751A; +} +.proj-section-content { font-size: 16px; line-height: 2; color: #606266; } +.proj-section-content p { margin-bottom: 16px; } +.proj-section-content img { max-width: 100%; border-radius: 8px; margin: 24px auto; display: block; } + +/* Timeline */ +.proj-timeline { position: relative; padding-left: 0; } +.proj-timeline-item { + display: grid; grid-template-columns: 120px 1fr; gap: 40px; + margin-bottom: 48px; position: relative; +} +.proj-timeline-item:last-child { margin-bottom: 0; } +.proj-timeline-item::before { + content: ""; position: absolute; left: 140px; top: 30px; bottom: -62px; + width: 2px; background: #E4E7ED; transform: translateX(-50%); +} +.proj-timeline-item:last-child::before { display: none; } +.proj-timeline-item::after { + content: ""; position: absolute; left: 140px; top: 16px; + width: 12px; height: 12px; background: #E8751A; border-radius: 50%; + border: 3px solid #fff; box-shadow: 0 0 0 2px #E8751A; + transform: translateX(-50%); z-index: 1; +} +.proj-timeline-date { text-align: right; padding-top: 4px; position: relative; white-space: nowrap; } +.proj-timeline-year { font-size: 18px; font-weight: 700; color: #E8751A; } +.proj-timeline-body { background: #F5F6F8; border-radius: 12px; padding: 24px 28px; min-width: 0; overflow: hidden; } +.proj-timeline-year-mobile { display: none; font-size: 16px; font-weight: 700; color: #E8751A; margin-bottom: 12px; } +.proj-timeline-title { font-size: 20px; font-weight: 700; color: #303133; margin-bottom: 12px; } +.proj-timeline-period { font-size: 16px; font-weight: 600; color: #606266; margin-bottom: 16px; } +.proj-timeline-body p { font-size: 15px; line-height: 2; color: #606266; margin-bottom: 20px; } +.proj-timeline-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 20px; } +.proj-timeline-stat { display: flex; align-items: baseline; font-size: 14px; } +.proj-stat-label { color: #909399; margin-right: 8px; white-space: nowrap; } +.proj-stat-value { color: #303133; font-weight: 500; } + +/* Sidebar Anchor Nav */ +.proj-detail-sidebar { position: sticky; top: 80px; } +.proj-anchor-nav { background: #F5F6F8; border-radius: 12px; padding: 24px 20px; } +.proj-anchor-title { + font-size: 16px; font-weight: 600; color: #303133; + margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid #E8751A; +} +.proj-anchor-list { display: flex; flex-direction: column; } +.proj-anchor-item { + padding: 10px 16px; font-size: 15px; color: #606266; cursor: pointer; + transition: 0.2s; border-radius: 6px; text-decoration: none; display: block; + border-left: 3px solid transparent; +} +.proj-anchor-item:hover { color: #E8751A; background: rgba(232,117,26,0.08); padding-left: 20px; } +.proj-anchor-item.active { + color: #E8751A; background: rgba(232,117,26,0.08); + border-left-color: #E8751A; font-weight: 600; +} + +/* ========== Side Toolbar ========== */ +.side-toolbar { + position: fixed; right: 20px; bottom: 120px; z-index: 999; + display: flex; flex-direction: column; gap: 4px; + opacity: 0; visibility: hidden; transform: translateY(20px); + transition: opacity .3s, visibility .3s, transform .3s; +} +.side-toolbar.show { opacity: 1; visibility: visible; transform: translateY(0); } +.side-tool { + width: 48px; height: 48px; background: #E8751A; border-radius: 8px; + display: flex; align-items: center; justify-content: center; + cursor: pointer; transition: background .2s, box-shadow .2s; + box-shadow: 0 2px 12px rgba(232,117,26,0.3); +} +.side-tool:hover { background: #d06816; box-shadow: 0 4px 20px rgba(232,117,26,0.45); } +.side-tool-icon { width: 24px; height: 24px; } +/* QR popover */ +.side-tool-qr { position: relative; } +.side-tool-qrpop { + position: absolute; right: 56px; bottom: -20px; + background: #fff; border-radius: 10px; padding: 16px; + box-shadow: 0 4px 24px rgba(0,0,0,0.15); + opacity: 0; visibility: hidden; transform: translateX(8px); + transition: opacity .25s, visibility .25s, transform .25s; + display: flex; flex-direction: column; align-items: center; gap: 10px; + pointer-events: none; white-space: nowrap; min-width: 160px; +} +.side-tool-qr:hover .side-tool-qrpop { + opacity: 1; visibility: visible; transform: translateX(0); pointer-events: auto; +} +.side-tool-qrpop-tip { font-size: 12px; color: #b0b0b0; } +.side-tool-qrpop img { width: 130px; height: 130px; border-radius: 6px; display: block; } diff --git a/www/static/css/web_1024.css b/www/static/css/web_1024.css new file mode 100644 index 0000000..f289dd2 --- /dev/null +++ b/www/static/css/web_1024.css @@ -0,0 +1,28 @@ +/* ===== max-width: 1440px ===== */ +@media(max-width:1440px){ + .nav-link{padding:8px 10px;font-size:14px;letter-spacing:0.5px;} + .header-nav{gap:2px;} +} + +/* ===== max-width: 1024px ===== */ +@media(max-width:1024px){ + .fixed-header{padding:0 24px;} + .banner-slide-content{left:40px;max-width:600px;} + .banner-slide-content.pos-left{left:40px;} + .banner-slide-content.pos-right{right:40px;} + .banner-slide-content.glass-on{padding:36px 40px;} + .banner-slide-content h1{font-size:32px;} + .data-cards{gap:12px;} + .donation-tables{gap:12px;} + .donation-wrap,.news-wrap{padding:0 32px;} + .proj-info-card{width:340px;padding:36px 32px;right:5%;} + .proj-info-card h3{font-size:24px;} + .proj-info-card p{font-size:14px;} + .proj-tab{padding:12px 20px;font-size:13px;} + .news-grid{gap:24px;} + .partners-grid{grid-template-columns:repeat(4,1fr);} + .partners-section{padding:40px 32px;} + .slide-labels{display:none;} + .col-text-grid{grid-template-columns:repeat(3,1fr);gap:20px;} + .article-detail-wrap{grid-template-columns:1fr 240px;gap:28px;padding:20px 24px 60px;} +} diff --git a/www/static/css/web_480.css b/www/static/css/web_480.css new file mode 100644 index 0000000..70c091d --- /dev/null +++ b/www/static/css/web_480.css @@ -0,0 +1,78 @@ +/* ===== max-width: 480px ===== */ +@media(max-width:480px){ + .fixed-header{padding:0 16px;height:56px;} + .logo-img{height:38px;} + .banner-slide-content{left:16px;right:16px;max-width:calc(100% - 32px);} + .banner-slide-content.pos-left{left:16px;right:auto;} + .banner-slide-content.pos-right{left:auto;right:16px;} + .banner-slide-content.glass-on{padding:20px 24px;} + .banner-slide-content h1{font-size:20px;} + .banner-slide-content .desc{font-size:14px;} + .btn-primary,.btn-ghost{padding:10px 24px;font-size:13px;} + .donation-wrap,.news-wrap{padding:0 12px;} + .section-head h2{font-size:20px;} + .data-cards{gap:6px;} + .data-card{padding:8px 6px;border-radius:10px;} + .data-card .label{font-size:11px;margin-bottom:2px;} + .data-card .amount{font-size:16px;} + .data-card .note{font-size:10px;} + .donation-tables{gap:8px;} + .dtable{padding:8px 10px;border-radius:10px;} + .dtable h3{font-size:12px;margin-bottom:4px;padding-bottom:4px;} + .dtable td,.dtable th{font-size:11px;padding:3px 4px;} + .dtable-scroll-wrap{max-height:140px;} + .drug-scroll-wrap{max-height:140px;} + .dtable-drug th:nth-child(3),.dtable-drug td:nth-child(3){display:none;} + .proj-info-card{margin:0 12px;padding:20px 14px;} + .proj-info-card h3{font-size:18px;} + .proj-info-card p{font-size:13px;margin-bottom:12px;-webkit-line-clamp:3;display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;} + .proj-info-card .card-label{font-size:11px;margin-bottom:8px;} + .proj-info-card .card-btn{padding:8px 20px;font-size:12px;} + .proj-tabs{display:none;} + .news-item .date-box .day{font-size:22px;} + .news-item .text h4{font-size:13px;} + .partners-carousel{display:grid;grid-template-rows:none;grid-auto-flow:unset;grid-template-columns:repeat(2,1fr);grid-auto-columns:unset;gap:8px;transform:none!important;} + .partner-item{padding:12px;border-radius:8px;min-height:auto;height:auto;} + .partner-item img{max-height:40px;} + .footer-title{font-size:18px;margin-bottom:12px;} + .footer-info p{font-size:12px;} + .footer-qr img{width:80px;height:auto;} + .footer-qr span{font-size:11px;} + .section-head{margin-bottom:0.5vh;} + .section-head .en{display:none;} + .slide-footer{padding-top:56px;} + .slide-donation{padding-top:56px;} + .slide-news{padding-top:56px;} +} + +/* Column Page */ +@media(max-width:480px){ + .col-banner{height:180px;} + .col-banner-content h1{font-size:22px;} + .col-banner-en{font-size:12px;} + .col-tab{padding:5px 16px;font-size:13px;} + .col-content{padding:0 16px 20px;} + .col-art-featured{height:220px;} + .col-art-featured-overlay h3{font-size:16px;} + .col-art-card{flex-direction:column;} + .col-art-card-cover{width:100%;height:180px;} + .col-art-card-body{padding:16px;} + .col-image-grid{grid-template-columns:1fr;gap:12px;} + .col-person-grid,.team-grid{grid-template-columns:1fr;gap:12px;} +} + +/* Text Grid */ +@media(max-width:480px){ + .col-text-grid{grid-template-columns:repeat(2,1fr);gap:12px;} + .col-text-placeholder-title{font-size:13px;-webkit-line-clamp:3;} + .col-text-placeholder-year{font-size:24px;} + .col-text-card-info{padding:10px;} + .col-text-card-title{font-size:13px;} +} + +/* Detail Meta */ +@media(max-width:480px){ + .proj-detail-meta,.article-detail-meta{flex-wrap:wrap;gap:8px 16px;font-size:13px;} + .proj-detail-meta .article-share,.article-detail-meta .article-share{width:100%;} + .proj-detail-title,.article-detail-title{font-size:22px;} +} diff --git a/www/static/css/web_768.css b/www/static/css/web_768.css new file mode 100644 index 0000000..66fab43 --- /dev/null +++ b/www/static/css/web_768.css @@ -0,0 +1,235 @@ +/* ===== max-width: 768px ===== */ + +/* Footer */ +@media(max-width:768px){ + .footer-component{padding:0;} + .footer-content{flex-direction:column;gap:24px;padding:0 20px;} + .footer-left{flex:none;width:100%;padding-right:0;} + .footer-mid{flex-direction:column;gap:20px;width:100%;} + .footer-qr-section{width:100%;} + .footer-bottom-content{flex-direction:column;gap:8px;padding:0 20px;text-align:center;} + .footer-main{padding:24px 0 16px;} + .footer-links-list{grid-template-columns:repeat(3,auto);} + .footer-links-list li, + .footer-links-list li:nth-child(2n){padding:0 10px;border-right:1px solid rgba(255,255,255,.4);padding-left:10px;} + .footer-links-list li:nth-child(3n+1){padding-left:0;} + .footer-links-list li:nth-child(3n){border-right:none;padding-right:0;} +} + +/* Swiper Fullpage & Slides */ +@media(max-width:768px){ + .swiper-fullpage{height:auto!important;overflow:visible!important;} + .swiper-fullpage>.swiper-wrapper{flex-direction:column!important;transform:none!important;} + .swiper-fullpage>.swiper-wrapper>.swiper-slide{height:auto!important;overflow:visible!important;position:static!important;transform:none!important;z-index:auto!important;} + .swiper-fullpage .swiper-slide{height:auto!important;overflow:visible!important;} + .slide-labels{display:none!important;} + .slide-banner{height:100vh;} + .banner-swiper,.banner-swiper .swiper-slide{height:100vh!important;} + .slide-donation{height:auto;min-height:auto;padding:80px 0 40px;} + .slide-news{height:auto;min-height:auto;padding:80px 0 40px;} + .slide-projects{height:80vh;min-height:500px;} + .slide-section{height:auto;min-height:auto;padding:40px 16px 20px;} + .slide-footer{height:auto;min-height:auto;padding-top:60px;} + .slide-with-footer{overflow:visible;overflow-y:visible;} + .slide-with-footer>.footer-component{margin:0;width:100%;} + .slide-with-footer .section-wrap{padding-bottom:0;} + .slide-with-footer.slide-section{padding-bottom:0;} + .donation-wrap,.news-wrap{opacity:1;transform:none;max-height:none;overflow:visible;} + .partners-section{opacity:1;transform:none;} + .swiper-slide-active .donation-wrap, + .swiper-slide-active .news-wrap, + .swiper-slide-active .partners-section{opacity:1;transform:none;} + + /* Header & Mobile */ + .header-nav{display:none;} + .mobile-menu-btn{display:flex;} + .header-search{display:none;} + .header-search-mobile{display:flex;} + + /* Banner */ + .banner-slide-content{left:24px;right:24px;max-width:calc(100% - 48px);} + .banner-slide-content.pos-left{left:24px;right:auto;max-width:calc(100% - 48px);} + .banner-slide-content.pos-center{left:50%;right:auto;} + .banner-slide-content.pos-right{left:auto;right:24px;max-width:calc(100% - 48px);} + .banner-slide-content.glass-on{padding:24px 28px;background:rgba(0,0,0,.1);backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px);} + .banner-slide-content h1{font-size:26px;} + + /* Donation */ + .donation-wrap,.news-wrap{padding:0 20px;} + .data-cards{grid-template-columns:1fr;gap:8px;} + .data-card{padding:12px 8px;} + .data-card .amount{font-size:18px;} + .data-card .label{font-size:12px;} + .data-card .note{font-size:11px;} + .donation-tables{grid-template-columns:1fr;gap:8px;} + .dtable-drug{grid-column:1/-1;} + .dtable-scroll-wrap{max-height:140px;} + .drug-scroll-wrap{max-height:140px;} + .dtable{padding:10px 12px;} + .dtable h3{font-size:13px;margin-bottom:4px;padding-bottom:4px;} + .dtable td,.dtable th{font-size:12px;padding:4px 6px;} + + /* Projects */ + .proj-info-card{ + position:relative;top:auto;right:auto;left:auto;bottom:auto; + transform:none;width:auto;margin:0 20px;padding:24px 20px; + opacity:1;max-height:none;overflow:visible; + background:rgba(232,117,26,.2);backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px); + } + .swiper-slide-active .proj-info-card{transform:none;opacity:1;} + .proj-info-card h3{font-size:20px;margin-bottom:10px;} + .proj-info-card p{font-size:14px;margin-bottom:16px;line-height:1.6;} + .slide-projects{display:flex;flex-direction:column;justify-content:flex-end;padding-bottom:20px;} + .slide-projects .proj-bg{opacity:0;filter:brightness(.85);} + .slide-projects .proj-bg.active{opacity:1;} + .proj-tabs{display:none;} + .proj-mobile-nav{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;} + .proj-tab{padding:6px 12px;font-size:12px;flex-shrink:0;max-width:none;} + .proj-more-link{display:none;} + + /* News */ + .news-grid{grid-template-columns:1fr;} + .news-featured img{height:200px;} + + /* Partners */ + .partners-carousel-viewport{margin:0;} + .partners-carousel{display:grid;grid-template-rows:none;grid-auto-flow:unset;grid-template-columns:repeat(2,1fr);grid-auto-columns:unset;gap:12px;transform:none!important;padding-bottom:20px;} + .partner-item{min-height:auto;height:auto;} + .partners-nav{display:none!important;} + .partners-section{padding:24px 20px;} + .section-head{margin-bottom:1vh;} +} + +/* Column Page */ +@media(max-width:768px){ + .col-banner{height:220px;} + .col-banner-content h1{font-size:28px;} + .col-tabs-wrap{top:56px;} + .col-tabs{overflow-x:auto;justify-content:flex-start;padding:0 16px;-webkit-overflow-scrolling:touch;} + .col-tab{padding:6px 20px;font-size:14px;white-space:nowrap;} + .col-content{padding:0 20px 24px;} + .col-breadcrumb{padding:16px 20px;} + .col-art-featured{height:280px;} + .col-art-featured-overlay{padding:20px;} + .col-art-featured-overlay h3{font-size:18px;} + .col-art-card-cover{width:180px;height:140px;} + .col-image-grid{grid-template-columns:1fr;gap:16px;} + .col-image-thumb{height:280px;} + .col-person-grid,.team-grid{grid-template-columns:repeat(2,1fr);gap:16px;row-gap:24px;} + .member-photo{width:120px;height:120px;} + .board-featured{flex-direction:column;padding:24px;gap:24px;} + .board-featured .featured-photo{width:100%;min-width:unset;height:260px;} + .job-layout{grid-template-columns:1fr;} + .job-nav{display:none;} + .job-hero-banner{flex-direction:column;gap:20px;text-align:center;padding:28px 20px;} + .job-hero-stats{gap:24px;} + .job-card-header{flex-direction:column;gap:12px;align-items:flex-start;} + .job-card-footer{flex-direction:column;gap:12px;align-items:flex-start;} +} + +/* Inline Form */ +@media(max-width:768px){ + .col-inline-form-wrap{padding:24px 20px;border-radius:12px;margin-top:32px;} + .col-inline-form-header h3{font-size:18px;} + .col-ifield-options{gap:10px;} + .col-ifield-submit{padding:12px 48px;font-size:15px;} +} + +/* Article Detail */ +@media(max-width:768px){ + .article-detail-wrap{grid-template-columns:1fr;padding:20px 16px 40px;gap:32px;} + .article-title{font-size:24px;} + .article-meta{flex-direction:column;align-items:flex-start;gap:8px;} + .article-share{margin-left:0;} + .article-nav{flex-direction:column;gap:12px;} + .article-nav-item.next{text-align:left;} +} + +/* Text Grid & Detail */ +@media(max-width:768px){ + .col-text-grid{grid-template-columns:repeat(2,1fr);gap:16px;} + .doc-item{flex-direction:column;align-items:flex-start;gap:8px;} + .doc-item-left{flex-direction:column;align-items:flex-start;gap:8px;} + .doc-date{margin-left:0;} .text-nav-next{text-align:left;} +} + +/* Home Generic Section */ +@media(max-width:768px){ + .slide-section{height:auto;min-height:auto;padding:40px 16px 20px;} + .home-text-grid{grid-template-columns:repeat(2,1fr);gap:12px;} + .home-person-grid{grid-template-columns:repeat(2,1fr);gap:16px;} + .home-job-list{grid-template-columns:1fr;} + .home-form-wrap{max-width:100%;} + .slide-with-footer>.footer-component{margin:0 -16px;width:calc(100% + 32px);} +} + +/* About Intro */ +@media(max-width:768px){ + .about-intro-hero{grid-template-columns:1fr;gap:24px;} + .about-stats{grid-template-columns:repeat(2,1fr);} + .about-values-grid{grid-template-columns:1fr;} + .about-strategy-row{grid-template-columns:1fr;} + .about-qual-grid{grid-template-columns:repeat(2,1fr);} + .about-compliance-banner{padding:24px 20px;} + .about-compliance-grid{grid-template-columns:1fr;} + .about-section-alt{padding:28px 20px;} + .about-section-header{margin-bottom:28px;flex-wrap:wrap;} + .about-section-header h2{font-size:20px;} +} + +/* Contact */ +@media(max-width:768px){ + .ct-layout{grid-template-columns:1fr;gap:20px;} + .ct-brand-card{padding:20px 18px;} + .ct-map-body{min-height:260px;} +} + +/* Search */ +@media(max-width:768px){ + .search-box{height:48px;padding:0 6px 0 20px;} + .search-box input{font-size:14px;} + .search-box-btn{width:36px;height:36px;} + .search-container{padding:24px 16px 40px;} + .result-item{padding:24px 20px;} + .result-title{font-size:18px;} + .result-desc{font-size:14px;} + .filter-tabs{gap:8px;} + .filter-tab{padding:6px 16px;font-size:13px;} +} + +/* Project List */ +@media(max-width:768px){ +.project-item { grid-template-columns: 1fr; gap: 0; } +.project-cover { width: 100%; height: 220px; } +.project-info { padding: 24px 20px; } +.project-title { font-size: 18px; } +.project-desc { font-size: 14px; -webkit-line-clamp: 2; } +.project-footer { flex-direction: column; align-items: flex-start; gap: 16px; } +.project-stats { width: 100%; justify-content: space-between; } +} + +/* Project Detail */ +@media(max-width:768px){ +.proj-detail-wrap { grid-template-columns: 1fr; padding: 30px 20px; gap: 0; } +.proj-detail-sidebar { display: none; } +.proj-detail-title { font-size: 24px; } +.proj-detail-meta { flex-wrap: wrap; gap: 8px 16px; font-size: 13px; } +.proj-detail-meta .article-share { width: 100%; margin-left: 0; } +.proj-section-title { font-size: 20px; } +.proj-timeline-item { display: block; margin-bottom: 20px; } +.proj-timeline-item::before, .proj-timeline-item::after { display: none; } +.proj-timeline-date { display: none; } +.proj-timeline-year-mobile { display: block; } +.proj-timeline-body { padding: 20px; } +.proj-timeline-title { font-size: 18px; } +.proj-timeline-period { font-size: 14px; } +.proj-timeline-stats { grid-template-columns: 1fr; gap: 10px; } +} + +/* Side Toolbar */ +@media(max-width:768px){ +.side-toolbar { right: 12px; bottom: 80px; } +.side-tool { width: 42px; height: 42px; } +.side-tool-icon { width: 20px; height: 20px; } +.side-tool-qr { display: none; } +} diff --git a/www/static/favicon.ico b/www/static/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..3667c242c54322b80c8efc40ecc1f35bf9cf5471 GIT binary patch literal 25577 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

W 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 XC&EVC6%;V@pM{c4Y>8;6S%q=J~VnWCVw!5 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 E0QqVNwg3PC literal 0 HcmV?d00001 diff --git a/www/static/iconfont/iconfont.css b/www/static/iconfont/iconfont.css new file mode 100644 index 0000000..e85b3ff --- /dev/null +++ b/www/static/iconfont/iconfont.css @@ -0,0 +1,43 @@ +@font-face { + font-family: "iconfont"; /* Project id 5139270 */ + src: url('iconfont.woff2?t=1773493729847') format('woff2'), + url('iconfont.woff?t=1773493729847') format('woff'), + url('iconfont.ttf?t=1773493729847') format('truetype'); +} + +.iconfont { + font-family: "iconfont" !important; + font-size: 16px; + font-style: normal; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +.icon-clipboard:before { + content: "\eac1"; +} + +.icon-view:before { + content: "\e60d"; +} + +.icon-lock:before { + content: "\e62f"; +} + +.icon-email-empty:before { + content: "\e618"; +} + +.icon-dizhi:before { + content: "\e61f"; +} + +.icon-email:before { + content: "\e61a"; +} + +.icon-phone:before { + content: "\e8c6"; +} + diff --git a/www/static/iconfont/iconfont.ttf b/www/static/iconfont/iconfont.ttf new file mode 100644 index 0000000000000000000000000000000000000000..646caa4dbcd182c11d924f383ffc79596073bf28 GIT binary patch literal 3348 zcmd@X`)^xU`TNd&*uGA#llT!Qw&QC%aojxY#BuC4ZIVG=EK5g|v=N1At?M|C){o3_ zyLCuVsS;XfH<$zy;un5kzYGnjzaW9=4@8{MYsLI>^48fmi1uA-*)>Ag-VwG4zDccf ztz3UfBY^gPM4eWu7V@^+a+LOSWJ@{!)CRW04`|)b*DLvQvFXRhZU88gBy)A6x>K)MT8_O8HV#(vI)TXV434Gdw2t`&OExQ_iDoF?u2Z>f1sXpVcgL=Z-3 zY6s$O6wb*G*QxQsu?kgyJwBzv*A*CmF<_I^b0=PsAPI#1jB;XSY8igD(|Bjw@COKgf-6ME zCEYEI3w%(cWs*&q0MKWWk~SufZxfb7eKe962rt6pG;g9x^gE3^{+;%n@J{OXt9Q2d z$Vc~Mi280pV<+EjR&Ja~evpWpjY~rAlmGY9U^rmea)XU~)oeT;cj%1p#zVT(ZZ@7t zJ7Kf&Snj0E#$$B*RkM+Q;m)?%tmyt4{rEkWVRiO+j~!VQV2l^k}wV@;4xT( zI$Wc;#9Dn`j~t80@!`xk#-g&VxdVqH>FjWGCXO~an!`wNw&=&M-81V<&gn(!F`|f}# zTJLy7Ccz}qKPEYwo`1khf6>|Gq~8nwHM|rHdK*J-zuz5d^af*GGxJ1(@H6&vx~V&1 zkfIQky&iIVI-7}iM{TlAMUUZ{G`VRE2}xCmCNVRH=??U$h`XH`f5P82G!$D}oEtwn zHFb1+ZtZcM2u@kHOy6R_O$vaRdPnIbQvKX zGGc1;M!MrU5MuVV((C}?GQ^3 z``lSwbhh|niP5EGyoE7+3z>j#20VHn<%0*`^aON0si>;LJJu*EKIQ!AL^zbqOe#KC zZb1KGrrqDsmco_(kyKwW(%h1WOeo%_Ca=R{(dG^Y-KyiJ(%7inbf|ajzDjnd;0v$- z6~pc^N_|qfwF6sy9*T@D+KXNzIy`yFAdVwT>AZ9gHOIUjFQ=p(6uDex*ov9AITGzo zVt0Hv7mLPdM-UIvWixy+%BB%*Hc6dPC7TVY7?VPOF5KpH3XGvkRYLkJ>An}Qqs=b5 zrd^`lhI($`#M$|j{y|7lUC91%-DT{iy)Fwh7zx4wt|3k`gAOI!)*Tz|F3yA;E|o%X zZ20le?q8lgK&j$K1M{iW{DA%nGS%e>{f>(^_L~ZZxDMQZbc^kMB7Buz-gZdvtmc{G zr6l2XXfQpF+2M?lMa>6uImTK}AD`{*Kb||CiaQz`9V@T*_s!0oJ~Wv~OwLaw5>p9b z#K1iIjjvreoNy=?|9SQF+-zUJ9}_a(R_K8&>ChFYJng_7l7}7W zqcKiNDPuh9LYeM1*@iMt;%v7&6SqmSrxktKVSGY=OLU+jU>6hgPw_cP!skR${`7rW zz)zTsosgsjL1y|JgcLlIBxW3<{h@ z#3_bMe~soMdzAKmOho!`1%bbjbhGc>63z;};D#_9A`9ri(@9g2)J`HDrZF7i_q2JA zGI2LqL&-(i$3E1CHTvm2=7)plQ?j(+SspUk!d-0naN zyQKMa4d3-?+=(slj`fxR=|M_xB=vThnJ}YwCt$$>;iDET65M0K65VfU3zi8#YQYNh z!juI&iQ@)YjiQ4j#Nnz1^Dl~*ESP}`zp!9|@UL00NbnylSOOn>V8JrscP&_fC2X`{ zC&aNZQ7h)_#bxc>Wo^Ast*lfl_5E?7xO%aaukBCw$E9LzbG=&829pE(sF`A=Slef_ zd1*CWudiq;wQ5(&z2HR5L_XF(~iV zW)m)vv^42hCyg{}HR4nzXxh@RNSc%g)+m5{?L6@*5Ovb{xTq6$gf7z5f9%<(Pa1ZX zjr+pLEB+n+S;dYF1r$+28Et4s2RI6)^^J4Yd~I30v|fBtq`w>&oW*i}z0_YUZ`3bK T%j-|CtxE<*+E}Yrip2Nd%A@y} literal 0 HcmV?d00001 diff --git a/www/static/iconfont/iconfont.woff b/www/static/iconfont/iconfont.woff new file mode 100644 index 0000000000000000000000000000000000000000..a5b61457c805542eabba71f620d09ab4a1e925f5 GIT binary patch literal 2208 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 A)Bpeg literal 0 HcmV?d00001 diff --git a/www/static/iconfont/iconfont.woff2 b/www/static/iconfont/iconfont.woff2 new file mode 100644 index 0000000000000000000000000000000000000000..65912cae0c5d5152b0ba3cbe959d86ab41a1e316 GIT binary patch literal 1736 zcmV;(1~>V4Pew8T0RR9100zha3jhEB01XrX00w&i0RR9100000000000000000000 z0000SR0d!GgLDdvFp38OHUcCAAPW)z1Rw>3X9s5+77L@Il<@_~{(0aSOHXhULdcxN zU323c3XKz7lm(gpq%Zo(H6L>oevgO$=05M6nI!X*MN-QJ)UE6BRfr0W1ya5&YkY0l zi2VJ#*&ig-gU$|kY8Iqx9$G45Dcm5sXKd_3r`W~ zoi-l-LSAt-;E!o80BS7*Y1So}yActt;TZpd&+fm(;+Oq+miPRX-*`a(TkqC9 zT;UB=-G0ohwtKaYnwMJ^3k1afKmGfgoENtkYk3|;^MbRq%kAPz)A6Z2!!A;4UqZ=AHe#H~F*g!Y;5Z`87eI$E4 z;5&jDzn-D<`zmEmw95aL;dW4JpU5iZJpwPkNA6XywHCiEEXNf*cKke1^zbVpG>iVlHSdHG-2Ks@wz*p+(c$Vtn=GG}#Qa!>^Gs2X7 ziQ!;gABRO@Dv5jY*n-J3DqgJ|CXc367@nD8Vul`Fl5QE+l4fMG8~!G@HRZ&VakY=j zrIS?(Nm#5%yMJHNqjR(HRM!SQ~8OUf-|Qm8ik&lOlt?2=|E1LHsU#3tr7>T{M3tRErrTolVH9 zZEPVPg~s44w5s#aJ0|z|!J-g>C=={kz(JUE0FoKsAe(a;TZoULvEnnd=KKr2OA&Xr z!G7GQSVVKkL3B(b-1cCA@w8mjY9(@Z`DnH-UW?dHH$(|DX)0%JD1g{0_UY_)S~!j& z7&ho9^2F;QpD##+*q{g5Inu>(q0vSo({ygq9`pl+h0r*N1EIsTfY;3~D1aH5EB?Mp zh*K9I8cW31I#`{&5L+jhkxT@vO%)(@xRb_C-JC2qbT9~}U@_xI$dmb?@JXp4LZ~_6 zf!GZf$u%MoGMdpHh@q;;^)>#7c@^}Wx2=&PM~Nod=%U8NIl-TL)h&`VWBT* e_r@SU?e=8{n}oP&n8Q8Y<;E&aSjZI&AOHa78#(C! literal 0 HcmV?d00001 diff --git a/www/static/images/404.png b/www/static/images/404.png new file mode 100644 index 0000000000000000000000000000000000000000..408c9b78d76782d7bf8f963b980f7e2925afd2b7 GIT binary patch literal 20243 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 literal 0 HcmV?d00001 diff --git a/www/static/images/favicon.ico b/www/static/images/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..e0a79f39419c05ecc04ba3bb388cf8238cf68e5d GIT binary patch literal 16958 zcmeHMJ967F5QQd1x}?jvvrFH?nj9e35qtzklU_Q8J08Wk34H{WDma370jvh*2oM26 z#7bOwz%>`d=e_-4DJivpzvWWF^+7%UR_d2h>Jb{K)D{}*&1Y$aT!jH)Ko}4P#xbyZ z)eoH8ICSyR&wus%^IB`>t%;+^>;1FV8|Ju=cEP>op$v}#?CrJSM?VcC$?FmPVt?^} z_PO8YK#70Je|c#>I7;$=a{kA9A*b0G9#d!5j(=Dm-w}e&6zM49XAJO1AV#~2ykiJ{ z4*9&h-Tj_P4n#E&qk`rJZXypSAH{ zX8pP2ZwH@^m*Ic-`cU^ri@d~6tfiCc;`;c>SCO+)jpjTr`QSgl*W4T*8z=bX{7=j= z{m1DyKGG-UpO|k>(O1C#0dM1fhcPGo?!3`+#ZSL=&JjP^9{hcl_Ft{_3u2!ue*gPN zGhW5ZgUpzLTzTki>bq}R@xF*|&I2w^7s-JlwOgZ}098s&@ z$-$N~W?*dGl7P*Ze4A%y0y^B&)}wC!a)=qgid|~U9^bkV#SQEegFq&2NBdk>QWrq zp6@{mxuB%=67nJ!_~qs0y}SJWBuhLf_@M&w4p0-&1cVOgD!3wl|B1Q* z{SBt}CO8nYnxO#`00`#cSev0fw$;=UZO3kAI^_ZYS|C2KW|I`RnX*A#z?5YP+sf5T zdJivB$LsB3{K?q}7=En)!Di|}+^4tjDk|b<0doW(!Qca+_W)qWG(jWFy=hMqZ~=>k zcy$1avAwVoWyb}eNg%rF;`OM{IJ1e1 ze3Ll+GXdUwl3?f7c>-93kAQo~1@N`l%+09^$U7HJKobx;ps$e7KykSyAhuB0Kobxe zC@$9o#1;x0XaYh5#pRlS*g|0go&ciDe}%?UJ;sp>Ciy#*%P|U;Ky;xf*D4_Iq%?uN6Zi%I0RR7X k(;kKZ000I_L_t&o0E*jlaN$k7=>Px#07*qoM6N<$f~YjuPyhe` literal 0 HcmV?d00001 diff --git a/www/static/images/icon-backtop.png b/www/static/images/icon-backtop.png new file mode 100644 index 0000000000000000000000000000000000000000..b79f8dec6306debe59f124282e6e87b2b6f10e8d GIT binary patch literal 2853 zcmd^BYgm$L8h-hP5-}6l`yh?tp_hcpE<%?@aG zz^T>2DNkXP6FEi=LN(Qtqnno0T6xImG@)jSsR;YB;lJJez1PmK?|Z-dexCb&pXYgb zIYf>inPRQ6007gl(4Z&)Q1BH6Fbm-$f!)La0Q){HXhTeHwd(m$=Cj}Mr9&f_#pMBP zbSVLcFH&O4f9D>S$DofBa5%W)AC~Vy|AnyH4f#~;TwU+G|JSar5#-@$bZ_sJ$-}#+ zwHql>me0X~U;v8nAb^erxMe7S4*63pk1>~(K4z#xCi`|pOfl5ApO2d6@3vHrrGFqc z^$T0<+ZfqO^o>Le*Pl701yJ;$}zxU^}kzUSh*UfPEHihzB;K1zXXLlYNbnQO{0ir z`lbHb_!(I<0fRVTT(wun1Tot) zf+1ufid<&yqN|Ht8-cMX0?u;dDo&4H#j655x$0p+c37iYl2Z&ZPh1fCxh;llEn%<| zBIaiu`fd!D7dJG%Igc`YK;D1@HkV&01rx$M#zmbDz-#Ll25)~006XNR{LeyLDgaet z>h{^f1t_%DCh@a5sw+aT#~LiCN8VYb|817zGU93Vuv=BOEn{f=RFqA<$P0cYx0l+Q}h)cq@1l6 z_GSw=o{E1>D>Se1Xj<_wr@b9t(6BbJ);r04X=DBNd3=D+sS_`3{p*b4Qbv$~#ltz@ zzf^VP;e#c;EMH3febL8JNcgBH^qWCK8YJ8?t2#2=Gycdx7;w>rrYvUNo9G;n;tMWA z35@J|g6%$SaT3ypn=51n z2cr_`z!N$+oiD@N{R28M&QEgtp@EcSP%wvkl)y6jtb5CQ^8~i3H~d3SmUO>aGmmeA z_ys+FT*YIaggE71wj}ZmJ{HD{;2a!<_%C|=#3YYdttdA~a)fuD=V!T`oMaQcUwkp* z_Ypc6)jQbEAy}VpHJw`&&Yxq4Hyn&VKNkx}k(77!%wAYSN%?q)=a#g)#zjQt%S1a9 zTO~WZo|Lcu)mxucSO;763bu;j+h^0w6e-P$R^?=v9i zudi>&@xj$uQF7&p?{trJ9d!Nf1(}FdrHg0_+6b%yS4S=P5X%e zcUM&g;zRr}Umk&m$9$>i2^_pXZNrsTYuMq(#sYkaw;=upEZ=ScY|wj!*SJUjWpTnz zV|8xr=)`KGP*C#97AmO4&_-cuhxSVE`VPU%9aZs&{{s_`>ubd8gab2;?`UQp`@2Ft z;DPki#SN6*;iOj(huegLm;oEko#ks^h#c?5xwl#5)t#b=W?0{vMTygWKzpO^l*z2j zm#1hR2F;Rxo!;+3Kw-kpA$VN@My90Xq1GIHe_Lr4F}oSit*YX^RYVjw?th-3b3~0D zQOlx8KVrByQ*{}tw@Kgq{Oi&j*=ma;z_}V3q^XKm-u7J}CuLb2)_cc($KSVjmuM0QEnpbhG~Vd-wka)f#~Xd)-*Vf;RZ~7lZ{z K1YHcI@Bb&0QJ+`< literal 0 HcmV?d00001 diff --git a/www/static/images/icon-contact.png b/www/static/images/icon-contact.png new file mode 100644 index 0000000000000000000000000000000000000000..0007d3db1611c8e52bf5149b0ccc453706ed0da4 GIT binary patch literal 820 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 II;Vst0P{rXg#Z8m literal 0 HcmV?d00001 diff --git a/www/static/images/icon-wechat-white.png b/www/static/images/icon-wechat-white.png new file mode 100644 index 0000000000000000000000000000000000000000..4ea751adaa8325178aad8d394fbe5e8fe295fca3 GIT binary patch literal 1414 zcmV;11$p|3P)b zaN!BCSu0SOkbs0LbwxQD?Ng#Q{~b z3yzZ=WCqzpf3{Mq0y6+|{836jMXel{szD)}$cUqXU;;qS6Lq3Au=oH2INxQ%0dx;k zRsnF%A2R9#quc;D2wCU4hpCDHEa<%V_DME01;H!!brt}(@Dh>tw)q+mxK4e)X`KW> z&a)3Kd;USzT#N2RuOe%K7deP^zAA!j2W+aajh{{eAT^xEs*2@dyWPHuzC`aLz^FNb zLS&Fd4tmxgfT${#KgHRJlLG);^ew6Xo>((A7PI}02h{%%)e2joc@_)+kQG*>ry6sk zHR6&Qi+Si`99-`*NQtlI5U+YO+Lf|Kb}VhhB?*_{G zeAxL9A*nDG&KMp$yew&>D<#O5;(UMz4E+?}|vgBr~}2xGiEj+2EZ)XfYC?&RfhB2C8{_*M>XU78lWo#`R_e1KIiN}kS)ca+ha{ibCFhv4@;+&O zZi!&+0RV0mBV4mdMfB0hbyrjPtRUdnMm1X!%E`pMtdZkoe2@i60JJcvT8k74t;AhV z^al|zDBv{DvHi|XWX12Xh@!}6>Ld_!{jez6eNa28t+GRMBJ zP6+_E8FQNW>IiU?4!wh4e< z`Uj2&nrt0@6j>|_6pA4Fm}~+-jO<||+C^ObNks;b0f0D3ex{Jm!a$7)01Ov3iJbHh zg(kWJPs$y(XA*c50A<~iW;rwu0z$$X&ZlJb;avm(WdY6~0|cCB9ehpFA^>1X4+PEy zhFTM8Uv!=Y7XyIB0YQY3Tu)>L!!3x&XVbpFz@h+nLj(fv2Od<+BCjo#r zst1J63bscnGdS4+jcC*Ms;E;hSH=T6DFD1>0)iAKEBvc+t2r_RV0e#+r7OHk;A6i7 z0`q_-_KoSo?IZ!%B>v>Ce{yFtLOcKm2oS$8^MFfe`yTo+0DPNVZ#f{ylq^_Y%UJ^8 zowL*{02Y+anP<&_bB?aXw>1MSD4jFUkI#U)!TApW0RR7z6KZn+000I_L_t&o0PzLj UkRSrM?*IS*07*qoM6N<$f{6-o9RL6T literal 0 HcmV?d00001 diff --git a/www/static/images/icon-wechat.png b/www/static/images/icon-wechat.png new file mode 100644 index 0000000000000000000000000000000000000000..73c702b60902329e20874a715817b37d2b003e36 GIT binary patch literal 5722 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 literal 0 HcmV?d00001 diff --git a/www/static/images/icon-weibo.png b/www/static/images/icon-weibo.png new file mode 100644 index 0000000000000000000000000000000000000000..f742a7811b017097d2a4d213c05df041fa6ffac2 GIT binary patch literal 6656 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 literal 0 HcmV?d00001 diff --git a/www/static/images/logo.png b/www/static/images/logo.png new file mode 100644 index 0000000000000000000000000000000000000000..99d55db2ef6a84ee827d00ffebe27897632b650e GIT binary patch literal 64060 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 Kl`WS62mU|NR&aO# literal 0 HcmV?d00001 diff --git a/www/static/images/search-empty.png b/www/static/images/search-empty.png new file mode 100644 index 0000000000000000000000000000000000000000..e70f263c3c34ce12744480c03b9c460d0fdf0ff8 GIT binary patch literal 26273 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 J?+x4|{~x5u^{D^= literal 0 HcmV?d00001 diff --git a/www/static/images/time_fill.png b/www/static/images/time_fill.png new file mode 100644 index 0000000000000000000000000000000000000000..3ec403024e7ff48d5069c1effc41dfc6a579591e GIT binary patch literal 962 zcmV;z13mnSP)v4fT0mQ| zeg_~>!S|xkNbVz_HU|KtBN6P#@M*IE(k{B^wCRX0WXO`;UcFiXq$Xn)pRxqs(hGgE z00LsGP+N@bpcLa><6V^nz{C|j@a{9J3k!fqJph2Mu>e3106^AO1h5K+xCuA0DoY*L zOI9Nn0ggk6ZW==`HQKM2ER6*KwhEgHDcYHpY%$lp#{#WvjpJHpIkrX%K#>{*K*{G7 zdAG$kp~{3eJ=ULLGI8~1RnTYwBus+<&<(eQ)Zct~3t*`Ad%l9fuP4`iKBfhre^kVl zLEd-_*GA)iB^Cg(nbl|kl)S1!V?H?mV;)8cyRWDY0J_LWny0?UH8f4%&d%s?03a@z zB(FG+DV1sR0-zUom`@^uv;nk0lP{PTKpW~u{1|2=-cR4+(h*S#0Ail-lfc~b;dTr+ zr=@5p-Ae)BVIY#q0I<7NVouP2mEkJ^;F&_q<@zIg;wa*mzF9|fSbHr1tW$_3rZU{$ zHt{~(#PcTNp`#H13;}_u3^M}mZ;=o?tQqsgdK&}45fGRWxbDj{j9VllJXVO^!cCjD z0?;0Ea6vjvw=&LYjmGFATx96I6M*)VLk5CwhY+-+`JHH>>_?BYB;KP8Hn0u#IFDZu zLqc`ldjaHYg%GqP{u>Bo9ET!M5?<)%a+Y*jq6{{$&HMJb9t@z5h(5j#5AY8F0RR8Q kN1+Y?000I_L_t&o05UOzaK;1pkN^Mx07*qoM6N<$g2Yv)bpQYW literal 0 HcmV?d00001 diff --git a/www/static/js/.gitkeep b/www/static/js/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/www/static/lib/echarts/echarts.min.js b/www/static/lib/echarts/echarts.min.js new file mode 100644 index 0000000..a3e9805 --- /dev/null +++ b/www/static/lib/echarts/echarts.min.js @@ -0,0 +1,45 @@ + +/* +* Licensed to the Apache Software Foundation (ASF) under one +* or more contributor license agreements. See the NOTICE file +* distributed with this work for additional information +* regarding copyright ownership. The ASF licenses this file +* to you under the Apache License, Version 2.0 (the +* "License"); you may not use this file except in compliance +* with the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + +!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).echarts={})}(this,(function(t){"use strict"; +/*! ***************************************************************************** + Copyright (c) Microsoft Corporation. + + Permission to use, copy, modify, and/or distribute this software for any + purpose with or without fee is hereby granted. + + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH + REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY + AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, + INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM + LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR + OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + PERFORMANCE OF THIS SOFTWARE. + ***************************************************************************** */var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},e(t,n)};function n(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}var i=function(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1},r=new function(){this.browser=new i,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow="undefined"!=typeof window};"object"==typeof wx&&"function"==typeof wx.getSystemInfoSync?(r.wxa=!0,r.touchEventsSupported=!0):"undefined"==typeof document&&"undefined"!=typeof self?r.worker=!0:!r.hasGlobalWindow||"Deno"in window?(r.node=!0,r.svgSupported=!0):function(t,e){var n=e.browser,i=t.match(/Firefox\/([\d.]+)/),r=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),o=t.match(/Edge?\/([\d.]+)/),a=/micromessenger/i.test(t);i&&(n.firefox=!0,n.version=i[1]);r&&(n.ie=!0,n.version=r[1]);o&&(n.edge=!0,n.version=o[1],n.newEdge=+o[1].split(".")[0]>18);a&&(n.weChat=!0);e.svgSupported="undefined"!=typeof SVGRect,e.touchEventsSupported="ontouchstart"in window&&!n.ie&&!n.edge,e.pointerEventsSupported="onpointerdown"in window&&(n.edge||n.ie&&+n.version>=11),e.domSupported="undefined"!=typeof document;var s=document.documentElement.style;e.transform3dSupported=(n.ie&&"transition"in s||n.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),e.transformSupported=e.transform3dSupported||n.ie&&+n.version>=9}(navigator.userAgent,r);var o="sans-serif",a="12px "+o;var s,l,u=function(t){var e={};if("undefined"==typeof JSON)return e;for(var n=0;n=0)o=r*t.length;else for(var c=0;c>1)%2;a.style.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",i[s]+":0",r[l]+":0",i[1-s]+":auto",r[1-l]+":auto",""].join("!important;"),t.appendChild(a),n.push(a)}return n}(e,a),l=function(t,e,n){for(var i=n?"invTrans":"trans",r=e[i],o=e.srcCoords,a=[],s=[],l=!0,u=0;u<4;u++){var h=t[u].getBoundingClientRect(),c=2*u,p=h.left,d=h.top;a.push(p,d),l=l&&o&&p===o[c]&&d===o[c+1],s.push(t[u].offsetLeft,t[u].offsetTop)}return l&&r?r:(e.srcCoords=a,e[i]=n?$t(s,a):$t(a,s))}(s,a,o);if(l)return l(t,n,i),!0}return!1}function ee(t){return"CANVAS"===t.nodeName.toUpperCase()}var ne=/([&<>"'])/g,ie={"&":"&","<":"<",">":">",'"':""","'":"'"};function re(t){return null==t?"":(t+"").replace(ne,(function(t,e){return ie[e]}))}var oe=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,ae=[],se=r.browser.firefox&&+r.browser.version.split(".")[0]<39;function le(t,e,n,i){return n=n||{},i?ue(t,e,n):se&&null!=e.layerX&&e.layerX!==e.offsetX?(n.zrX=e.layerX,n.zrY=e.layerY):null!=e.offsetX?(n.zrX=e.offsetX,n.zrY=e.offsetY):ue(t,e,n),n}function ue(t,e,n){if(r.domSupported&&t.getBoundingClientRect){var i=e.clientX,o=e.clientY;if(ee(t)){var a=t.getBoundingClientRect();return n.zrX=i-a.left,void(n.zrY=o-a.top)}if(te(ae,t,i,o))return n.zrX=ae[0],void(n.zrY=ae[1])}n.zrX=n.zrY=0}function he(t){return t||window.event}function ce(t,e,n){if(null!=(e=he(e)).zrX)return e;var i=e.type;if(i&&i.indexOf("touch")>=0){var r="touchend"!==i?e.targetTouches[0]:e.changedTouches[0];r&&le(t,r,e,n)}else{le(t,e,e,n);var o=function(t){var e=t.wheelDelta;if(e)return e;var n=t.deltaX,i=t.deltaY;if(null==n||null==i)return e;return 3*(0!==i?Math.abs(i):Math.abs(n))*(i>0?-1:i<0?1:n>0?-1:1)}(e);e.zrDelta=o?o/120:-(e.detail||0)/3}var a=e.button;return null==e.which&&void 0!==a&&oe.test(e.type)&&(e.which=1&a?1:2&a?3:4&a?2:0),e}function pe(t,e,n,i){t.addEventListener(e,n,i)}var de=function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0};function fe(t){return 2===t.which||3===t.which}var ge=function(){function t(){this._track=[]}return t.prototype.recognize=function(t,e,n){return this._doTrack(t,e,n),this._recognize(t)},t.prototype.clear=function(){return this._track.length=0,this},t.prototype._doTrack=function(t,e,n){var i=t.touches;if(i){for(var r={points:[],touches:[],target:e,event:t},o=0,a=i.length;o1&&r&&r.length>1){var a=ye(r)/ye(o);!isFinite(a)&&(a=1),e.pinchScale=a;var s=[((i=r)[0][0]+i[1][0])/2,(i[0][1]+i[1][1])/2];return e.pinchX=s[0],e.pinchY=s[1],{type:"pinch",target:t[0].target,event:e}}}}};function me(){return[1,0,0,1,0,0]}function xe(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}function _e(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function be(t,e,n){var i=e[0]*n[0]+e[2]*n[1],r=e[1]*n[0]+e[3]*n[1],o=e[0]*n[2]+e[2]*n[3],a=e[1]*n[2]+e[3]*n[3],s=e[0]*n[4]+e[2]*n[5]+e[4],l=e[1]*n[4]+e[3]*n[5]+e[5];return t[0]=i,t[1]=r,t[2]=o,t[3]=a,t[4]=s,t[5]=l,t}function we(t,e,n){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4]+n[0],t[5]=e[5]+n[1],t}function Se(t,e,n,i){void 0===i&&(i=[0,0]);var r=e[0],o=e[2],a=e[4],s=e[1],l=e[3],u=e[5],h=Math.sin(n),c=Math.cos(n);return t[0]=r*c+s*h,t[1]=-r*h+s*c,t[2]=o*c+l*h,t[3]=-o*h+c*l,t[4]=c*(a-i[0])+h*(u-i[1])+i[0],t[5]=c*(u-i[1])-h*(a-i[0])+i[1],t}function Me(t,e,n){var i=n[0],r=n[1];return t[0]=e[0]*i,t[1]=e[1]*r,t[2]=e[2]*i,t[3]=e[3]*r,t[4]=e[4]*i,t[5]=e[5]*r,t}function Ie(t,e){var n=e[0],i=e[2],r=e[4],o=e[1],a=e[3],s=e[5],l=n*a-o*i;return l?(l=1/l,t[0]=a*l,t[1]=-o*l,t[2]=-i*l,t[3]=n*l,t[4]=(i*s-a*r)*l,t[5]=(o*r-n*s)*l,t):null}function Te(t){var e=[1,0,0,1,0,0];return _e(e,t),e}var Ce=Object.freeze({__proto__:null,create:me,identity:xe,copy:_e,mul:be,translate:we,rotate:Se,scale:Me,invert:Ie,clone:Te}),De=function(){function t(t,e){this.x=t||0,this.y=e||0}return t.prototype.copy=function(t){return this.x=t.x,this.y=t.y,this},t.prototype.clone=function(){return new t(this.x,this.y)},t.prototype.set=function(t,e){return this.x=t,this.y=e,this},t.prototype.equal=function(t){return t.x===this.x&&t.y===this.y},t.prototype.add=function(t){return this.x+=t.x,this.y+=t.y,this},t.prototype.scale=function(t){this.x*=t,this.y*=t},t.prototype.scaleAndAdd=function(t,e){this.x+=t.x*e,this.y+=t.y*e},t.prototype.sub=function(t){return this.x-=t.x,this.y-=t.y,this},t.prototype.dot=function(t){return this.x*t.x+this.y*t.y},t.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},t.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},t.prototype.normalize=function(){var t=this.len();return this.x/=t,this.y/=t,this},t.prototype.distance=function(t){var e=this.x-t.x,n=this.y-t.y;return Math.sqrt(e*e+n*n)},t.prototype.distanceSquare=function(t){var e=this.x-t.x,n=this.y-t.y;return e*e+n*n},t.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},t.prototype.transform=function(t){if(t){var e=this.x,n=this.y;return this.x=t[0]*e+t[2]*n+t[4],this.y=t[1]*e+t[3]*n+t[5],this}},t.prototype.toArray=function(t){return t[0]=this.x,t[1]=this.y,t},t.prototype.fromArray=function(t){this.x=t[0],this.y=t[1]},t.set=function(t,e,n){t.x=e,t.y=n},t.copy=function(t,e){t.x=e.x,t.y=e.y},t.len=function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},t.lenSquare=function(t){return t.x*t.x+t.y*t.y},t.dot=function(t,e){return t.x*e.x+t.y*e.y},t.add=function(t,e,n){t.x=e.x+n.x,t.y=e.y+n.y},t.sub=function(t,e,n){t.x=e.x-n.x,t.y=e.y-n.y},t.scale=function(t,e,n){t.x=e.x*n,t.y=e.y*n},t.scaleAndAdd=function(t,e,n,i){t.x=e.x+n.x*i,t.y=e.y+n.y*i},t.lerp=function(t,e,n,i){var r=1-i;t.x=r*e.x+i*n.x,t.y=r*e.y+i*n.y},t}(),Ae=Math.min,ke=Math.max,Le=new De,Pe=new De,Oe=new De,Re=new De,Ne=new De,Ee=new De,ze=function(){function t(t,e,n,i){n<0&&(t+=n,n=-n),i<0&&(e+=i,i=-i),this.x=t,this.y=e,this.width=n,this.height=i}return t.prototype.union=function(t){var e=Ae(t.x,this.x),n=Ae(t.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=ke(t.x+t.width,this.x+this.width)-e:this.width=t.width,isFinite(this.y)&&isFinite(this.height)?this.height=ke(t.y+t.height,this.y+this.height)-n:this.height=t.height,this.x=e,this.y=n},t.prototype.applyTransform=function(e){t.applyTransform(this,this,e)},t.prototype.calculateTransform=function(t){var e=this,n=t.width/e.width,i=t.height/e.height,r=[1,0,0,1,0,0];return we(r,r,[-e.x,-e.y]),Me(r,r,[n,i]),we(r,r,[t.x,t.y]),r},t.prototype.intersect=function(e,n){if(!e)return!1;e instanceof t||(e=t.create(e));var i=this,r=i.x,o=i.x+i.width,a=i.y,s=i.y+i.height,l=e.x,u=e.x+e.width,h=e.y,c=e.y+e.height,p=!(of&&(f=x,gf&&(f=_,v=n.x&&t<=n.x+n.width&&e>=n.y&&e<=n.y+n.height},t.prototype.clone=function(){return new t(this.x,this.y,this.width,this.height)},t.prototype.copy=function(e){t.copy(this,e)},t.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},t.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},t.prototype.isZero=function(){return 0===this.width||0===this.height},t.create=function(e){return new t(e.x,e.y,e.width,e.height)},t.copy=function(t,e){t.x=e.x,t.y=e.y,t.width=e.width,t.height=e.height},t.applyTransform=function(e,n,i){if(i){if(i[1]<1e-5&&i[1]>-1e-5&&i[2]<1e-5&&i[2]>-1e-5){var r=i[0],o=i[3],a=i[4],s=i[5];return e.x=n.x*r+a,e.y=n.y*o+s,e.width=n.width*r,e.height=n.height*o,e.width<0&&(e.x+=e.width,e.width=-e.width),void(e.height<0&&(e.y+=e.height,e.height=-e.height))}Le.x=Oe.x=n.x,Le.y=Re.y=n.y,Pe.x=Re.x=n.x+n.width,Pe.y=Oe.y=n.y+n.height,Le.transform(i),Re.transform(i),Pe.transform(i),Oe.transform(i),e.x=Ae(Le.x,Pe.x,Oe.x,Re.x),e.y=Ae(Le.y,Pe.y,Oe.y,Re.y);var l=ke(Le.x,Pe.x,Oe.x,Re.x),u=ke(Le.y,Pe.y,Oe.y,Re.y);e.width=l-e.x,e.height=u-e.y}else e!==n&&t.copy(e,n)},t}(),Ve="silent";function Be(){de(this.event)}var Fe=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.handler=null,e}return n(e,t),e.prototype.dispose=function(){},e.prototype.setCursor=function(){},e}(jt),Ge=function(t,e){this.x=t,this.y=e},We=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],He=new ze(0,0,0,0),Ye=function(t){function e(e,n,i,r,o){var a=t.call(this)||this;return a._hovered=new Ge(0,0),a.storage=e,a.painter=n,a.painterRoot=r,a._pointerSize=o,i=i||new Fe,a.proxy=null,a.setHandlerProxy(i),a._draggingMgr=new Zt(a),a}return n(e,t),e.prototype.setHandlerProxy=function(t){this.proxy&&this.proxy.dispose(),t&&(E(We,(function(e){t.on&&t.on(e,this[e],this)}),this),t.handler=this),this.proxy=t},e.prototype.mousemove=function(t){var e=t.zrX,n=t.zrY,i=Ze(this,e,n),r=this._hovered,o=r.target;o&&!o.__zr&&(o=(r=this.findHover(r.x,r.y)).target);var a=this._hovered=i?new Ge(e,n):this.findHover(e,n),s=a.target,l=this.proxy;l.setCursor&&l.setCursor(s?s.cursor:"default"),o&&s!==o&&this.dispatchToElement(r,"mouseout",t),this.dispatchToElement(a,"mousemove",t),s&&s!==o&&this.dispatchToElement(a,"mouseover",t)},e.prototype.mouseout=function(t){var e=t.zrEventControl;"only_globalout"!==e&&this.dispatchToElement(this._hovered,"mouseout",t),"no_globalout"!==e&&this.trigger("globalout",{type:"globalout",event:t})},e.prototype.resize=function(){this._hovered=new Ge(0,0)},e.prototype.dispatch=function(t,e){var n=this[t];n&&n.call(this,e)},e.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},e.prototype.setCursorStyle=function(t){var e=this.proxy;e.setCursor&&e.setCursor(t)},e.prototype.dispatchToElement=function(t,e,n){var i=(t=t||{}).target;if(!i||!i.silent){for(var r="on"+e,o=function(t,e,n){return{type:t,event:n,target:e.target,topTarget:e.topTarget,cancelBubble:!1,offsetX:n.zrX,offsetY:n.zrY,gestureEvent:n.gestureEvent,pinchX:n.pinchX,pinchY:n.pinchY,pinchScale:n.pinchScale,wheelDelta:n.zrDelta,zrByTouch:n.zrByTouch,which:n.which,stop:Be}}(e,t,n);i&&(i[r]&&(o.cancelBubble=!!i[r].call(i,o)),i.trigger(e,o),i=i.__hostTarget?i.__hostTarget:i.parent,!o.cancelBubble););o.cancelBubble||(this.trigger(e,o),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer((function(t){"function"==typeof t[r]&&t[r].call(t,o),t.trigger&&t.trigger(e,o)})))}},e.prototype.findHover=function(t,e,n){var i=this.storage.getDisplayList(),r=new Ge(t,e);if(Ue(i,r,t,e,n),this._pointerSize&&!r.target){for(var o=[],a=this._pointerSize,s=a/2,l=new ze(t-s,e-s,a,a),u=i.length-1;u>=0;u--){var h=i[u];h===n||h.ignore||h.ignoreCoarsePointer||h.parent&&h.parent.ignoreCoarsePointer||(He.copy(h.getBoundingRect()),h.transform&&He.applyTransform(h.transform),He.intersect(l)&&o.push(h))}if(o.length)for(var c=Math.PI/12,p=2*Math.PI,d=0;d=0;o--){var a=t[o],s=void 0;if(a!==r&&!a.ignore&&(s=Xe(a,n,i))&&(!e.topTarget&&(e.topTarget=a),s!==Ve)){e.target=a;break}}}function Ze(t,e,n){var i=t.painter;return e<0||e>i.getWidth()||n<0||n>i.getHeight()}E(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],(function(t){Ye.prototype[t]=function(e){var n,i,r=e.zrX,o=e.zrY,a=Ze(this,r,o);if("mouseup"===t&&a||(i=(n=this.findHover(r,o)).target),"mousedown"===t)this._downEl=i,this._downPoint=[e.zrX,e.zrY],this._upEl=i;else if("mouseup"===t)this._upEl=i;else if("click"===t){if(this._downEl!==this._upEl||!this._downPoint||Vt(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(n,t,e)}}));function je(t,e,n,i){var r=e+1;if(r===n)return 1;if(i(t[r++],t[e])<0){for(;r=0;)r++;return r-e}function qe(t,e,n,i,r){for(i===e&&i++;i>>1])<0?l=o:s=o+1;var u=i-s;switch(u){case 3:t[s+3]=t[s+2];case 2:t[s+2]=t[s+1];case 1:t[s+1]=t[s];break;default:for(;u>0;)t[s+u]=t[s+u-1],u--}t[s]=a}}function Ke(t,e,n,i,r,o){var a=0,s=0,l=1;if(o(t,e[n+r])>0){for(s=i-r;l0;)a=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),a+=r,l+=r}else{for(s=r+1;ls&&(l=s);var u=a;a=r-l,l=r-u}for(a++;a>>1);o(t,e[n+h])>0?a=h+1:l=h}return l}function $e(t,e,n,i,r,o){var a=0,s=0,l=1;if(o(t,e[n+r])<0){for(s=r+1;ls&&(l=s);var u=a;a=r-l,l=r-u}else{for(s=i-r;l=0;)a=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),a+=r,l+=r}for(a++;a>>1);o(t,e[n+h])<0?l=h:a=h+1}return l}function Je(t,e){var n,i,r=7,o=0,a=[];function s(s){var l=n[s],u=i[s],h=n[s+1],c=i[s+1];i[s]=u+c,s===o-3&&(n[s+1]=n[s+2],i[s+1]=i[s+2]),o--;var p=$e(t[h],t,l,u,0,e);l+=p,0!==(u-=p)&&0!==(c=Ke(t[l+u-1],t,h,c,c-1,e))&&(u<=c?function(n,i,o,s){var l=0;for(l=0;l=7||d>=7);if(f)break;g<0&&(g=0),g+=2}if((r=g)<1&&(r=1),1===i){for(l=0;l=0;l--)t[d+l]=t[p+l];return void(t[c]=a[h])}var f=r;for(;;){var g=0,y=0,v=!1;do{if(e(a[h],t[u])<0){if(t[c--]=t[u--],g++,y=0,0==--i){v=!0;break}}else if(t[c--]=a[h--],y++,g=0,1==--s){v=!0;break}}while((g|y)=0;l--)t[d+l]=t[p+l];if(0===i){v=!0;break}}if(t[c--]=a[h--],1==--s){v=!0;break}if(0!==(y=s-Ke(t[u],a,0,s,s-1,e))){for(s-=y,d=(c-=y)+1,p=(h-=y)+1,l=0;l=7||y>=7);if(v)break;f<0&&(f=0),f+=2}(r=f)<1&&(r=1);if(1===s){for(d=(c-=i)+1,p=(u-=i)+1,l=i-1;l>=0;l--)t[d+l]=t[p+l];t[c]=a[h]}else{if(0===s)throw new Error;for(p=c-(s-1),l=0;l1;){var t=o-2;if(t>=1&&i[t-1]<=i[t]+i[t+1]||t>=2&&i[t-2]<=i[t]+i[t-1])i[t-1]i[t+1])break;s(t)}},forceMergeRuns:function(){for(;o>1;){var t=o-2;t>0&&i[t-1]=32;)e|=1&t,t>>=1;return t+e}(r);do{if((o=je(t,n,i,e))s&&(l=s),qe(t,n,n+l,n+o,e),o=l}a.pushRun(n,o),a.mergeRuns(),r-=o,n+=o}while(0!==r);a.forceMergeRuns()}}}var tn=!1;function en(){tn||(tn=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function nn(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}var rn=function(){function t(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=nn}return t.prototype.traverse=function(t,e){for(var n=0;n0&&(u.__clipPaths=[]),isNaN(u.z)&&(en(),u.z=0),isNaN(u.z2)&&(en(),u.z2=0),isNaN(u.zlevel)&&(en(),u.zlevel=0),this._displayList[this._displayListLen++]=u}var h=t.getDecalElement&&t.getDecalElement();h&&this._updateAndAddDisplayable(h,e,n);var c=t.getTextGuideLine();c&&this._updateAndAddDisplayable(c,e,n);var p=t.getTextContent();p&&this._updateAndAddDisplayable(p,e,n)}},t.prototype.addRoot=function(t){t.__zr&&t.__zr.storage===this||this._roots.push(t)},t.prototype.delRoot=function(t){if(t instanceof Array)for(var e=0,n=t.length;e=0&&this._roots.splice(i,1)}},t.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},t.prototype.getRoots=function(){return this._roots},t.prototype.dispose=function(){this._displayList=null,this._roots=null},t}(),on=r.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){return setTimeout(t,16)},an={linear:function(t){return t},quadraticIn:function(t){return t*t},quadraticOut:function(t){return t*(2-t)},quadraticInOut:function(t){return(t*=2)<1?.5*t*t:-.5*(--t*(t-2)-1)},cubicIn:function(t){return t*t*t},cubicOut:function(t){return--t*t*t+1},cubicInOut:function(t){return(t*=2)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},quarticIn:function(t){return t*t*t*t},quarticOut:function(t){return 1- --t*t*t*t},quarticInOut:function(t){return(t*=2)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},quinticIn:function(t){return t*t*t*t*t},quinticOut:function(t){return--t*t*t*t*t+1},quinticInOut:function(t){return(t*=2)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},sinusoidalIn:function(t){return 1-Math.cos(t*Math.PI/2)},sinusoidalOut:function(t){return Math.sin(t*Math.PI/2)},sinusoidalInOut:function(t){return.5*(1-Math.cos(Math.PI*t))},exponentialIn:function(t){return 0===t?0:Math.pow(1024,t-1)},exponentialOut:function(t){return 1===t?1:1-Math.pow(2,-10*t)},exponentialInOut:function(t){return 0===t?0:1===t?1:(t*=2)<1?.5*Math.pow(1024,t-1):.5*(2-Math.pow(2,-10*(t-1)))},circularIn:function(t){return 1-Math.sqrt(1-t*t)},circularOut:function(t){return Math.sqrt(1- --t*t)},circularInOut:function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},elasticIn:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),-n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/.4))},elasticOut:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),n*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/.4)+1)},elasticInOut:function(t){var e,n=.1,i=.4;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=i*Math.asin(1/n)/(2*Math.PI),(t*=2)<1?n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i)*-.5:n*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i)*.5+1)},backIn:function(t){var e=1.70158;return t*t*((e+1)*t-e)},backOut:function(t){var e=1.70158;return--t*t*((e+1)*t+e)+1},backInOut:function(t){var e=2.5949095;return(t*=2)<1?t*t*((e+1)*t-e)*.5:.5*((t-=2)*t*((e+1)*t+e)+2)},bounceIn:function(t){return 1-an.bounceOut(1-t)},bounceOut:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},bounceInOut:function(t){return t<.5?.5*an.bounceIn(2*t):.5*an.bounceOut(2*t-1)+.5}},sn=Math.pow,ln=Math.sqrt,un=1e-8,hn=1e-4,cn=ln(3),pn=1/3,dn=Mt(),fn=Mt(),gn=Mt();function yn(t){return t>-1e-8&&tun||t<-1e-8}function mn(t,e,n,i,r){var o=1-r;return o*o*(o*t+3*r*e)+r*r*(r*i+3*o*n)}function xn(t,e,n,i,r){var o=1-r;return 3*(((e-t)*o+2*(n-e)*r)*o+(i-n)*r*r)}function _n(t,e,n,i,r,o){var a=i+3*(e-n)-t,s=3*(n-2*e+t),l=3*(e-t),u=t-r,h=s*s-3*a*l,c=s*l-9*a*u,p=l*l-3*s*u,d=0;if(yn(h)&&yn(c)){if(yn(s))o[0]=0;else(M=-l/s)>=0&&M<=1&&(o[d++]=M)}else{var f=c*c-4*h*p;if(yn(f)){var g=c/h,y=-g/2;(M=-s/a+g)>=0&&M<=1&&(o[d++]=M),y>=0&&y<=1&&(o[d++]=y)}else if(f>0){var v=ln(f),m=h*s+1.5*a*(-c+v),x=h*s+1.5*a*(-c-v);(M=(-s-((m=m<0?-sn(-m,pn):sn(m,pn))+(x=x<0?-sn(-x,pn):sn(x,pn))))/(3*a))>=0&&M<=1&&(o[d++]=M)}else{var _=(2*h*s-3*a*c)/(2*ln(h*h*h)),b=Math.acos(_)/3,w=ln(h),S=Math.cos(b),M=(-s-2*w*S)/(3*a),I=(y=(-s+w*(S+cn*Math.sin(b)))/(3*a),(-s+w*(S-cn*Math.sin(b)))/(3*a));M>=0&&M<=1&&(o[d++]=M),y>=0&&y<=1&&(o[d++]=y),I>=0&&I<=1&&(o[d++]=I)}}return d}function bn(t,e,n,i,r){var o=6*n-12*e+6*t,a=9*e+3*i-3*t-9*n,s=3*e-3*t,l=0;if(yn(a)){if(vn(o))(h=-s/o)>=0&&h<=1&&(r[l++]=h)}else{var u=o*o-4*a*s;if(yn(u))r[0]=-o/(2*a);else if(u>0){var h,c=ln(u),p=(-o-c)/(2*a);(h=(-o+c)/(2*a))>=0&&h<=1&&(r[l++]=h),p>=0&&p<=1&&(r[l++]=p)}}return l}function wn(t,e,n,i,r,o){var a=(e-t)*r+t,s=(n-e)*r+e,l=(i-n)*r+n,u=(s-a)*r+a,h=(l-s)*r+s,c=(h-u)*r+u;o[0]=t,o[1]=a,o[2]=u,o[3]=c,o[4]=c,o[5]=h,o[6]=l,o[7]=i}function Sn(t,e,n,i,r,o,a,s,l,u,h){var c,p,d,f,g,y=.005,v=1/0;dn[0]=l,dn[1]=u;for(var m=0;m<1;m+=.05)fn[0]=mn(t,n,r,a,m),fn[1]=mn(e,i,o,s,m),(f=Ft(dn,fn))=0&&f=0&&y=1?1:_n(0,i,o,1,t,s)&&mn(0,r,a,1,s[0])}}}var On=function(){function t(t){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=t.life||1e3,this._delay=t.delay||0,this.loop=t.loop||!1,this.onframe=t.onframe||bt,this.ondestroy=t.ondestroy||bt,this.onrestart=t.onrestart||bt,t.easing&&this.setEasing(t.easing)}return t.prototype.step=function(t,e){if(this._inited||(this._startTime=t+this._delay,this._inited=!0),!this._paused){var n=this._life,i=t-this._startTime-this._pausedTime,r=i/n;r<0&&(r=0),r=Math.min(r,1);var o=this.easingFunc,a=o?o(r):r;if(this.onframe(a),1===r){if(!this.loop)return!0;var s=i%n;this._startTime=t-s,this._pausedTime=0,this.onrestart()}return!1}this._pausedTime+=e},t.prototype.pause=function(){this._paused=!0},t.prototype.resume=function(){this._paused=!1},t.prototype.setEasing=function(t){this.easing=t,this.easingFunc=X(t)?t:an[t]||Pn(t)},t}(),Rn=function(t){this.value=t},Nn=function(){function t(){this._len=0}return t.prototype.insert=function(t){var e=new Rn(t);return this.insertEntry(e),e},t.prototype.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},t.prototype.remove=function(t){var e=t.prev,n=t.next;e?e.next=n:this.head=n,n?n.prev=e:this.tail=e,t.next=t.prev=null,this._len--},t.prototype.len=function(){return this._len},t.prototype.clear=function(){this.head=this.tail=null,this._len=0},t}(),En=function(){function t(t){this._list=new Nn,this._maxSize=10,this._map={},this._maxSize=t}return t.prototype.put=function(t,e){var n=this._list,i=this._map,r=null;if(null==i[t]){var o=n.len(),a=this._lastRemovedEntry;if(o>=this._maxSize&&o>0){var s=n.head;n.remove(s),delete i[s.key],r=s.value,this._lastRemovedEntry=s}a?a.value=e:a=new Rn(e),a.key=t,n.insertEntry(a),i[t]=a}return r},t.prototype.get=function(t){var e=this._map[t],n=this._list;if(null!=e)return e!==n.tail&&(n.remove(e),n.insertEntry(e)),e.value},t.prototype.clear=function(){this._list.clear(),this._map={}},t.prototype.len=function(){return this._list.len()},t}(),zn={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function Vn(t){return(t=Math.round(t))<0?0:t>255?255:t}function Bn(t){return t<0?0:t>1?1:t}function Fn(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?Vn(parseFloat(e)/100*255):Vn(parseInt(e,10))}function Gn(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?Bn(parseFloat(e)/100):Bn(parseFloat(e))}function Wn(t,e,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?t+(e-t)*n*6:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}function Hn(t,e,n){return t+(e-t)*n}function Yn(t,e,n,i,r){return t[0]=e,t[1]=n,t[2]=i,t[3]=r,t}function Xn(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var Un=new En(20),Zn=null;function jn(t,e){Zn&&Xn(Zn,e),Zn=Un.put(t,Zn||e.slice())}function qn(t,e){if(t){e=e||[];var n=Un.get(t);if(n)return Xn(e,n);var i=(t+="").replace(/ /g,"").toLowerCase();if(i in zn)return Xn(e,zn[i]),jn(t,e),e;var r,o=i.length;if("#"===i.charAt(0))return 4===o||5===o?(r=parseInt(i.slice(1,4),16))>=0&&r<=4095?(Yn(e,(3840&r)>>4|(3840&r)>>8,240&r|(240&r)>>4,15&r|(15&r)<<4,5===o?parseInt(i.slice(4),16)/15:1),jn(t,e),e):void Yn(e,0,0,0,1):7===o||9===o?(r=parseInt(i.slice(1,7),16))>=0&&r<=16777215?(Yn(e,(16711680&r)>>16,(65280&r)>>8,255&r,9===o?parseInt(i.slice(7),16)/255:1),jn(t,e),e):void Yn(e,0,0,0,1):void 0;var a=i.indexOf("("),s=i.indexOf(")");if(-1!==a&&s+1===o){var l=i.substr(0,a),u=i.substr(a+1,s-(a+1)).split(","),h=1;switch(l){case"rgba":if(4!==u.length)return 3===u.length?Yn(e,+u[0],+u[1],+u[2],1):Yn(e,0,0,0,1);h=Gn(u.pop());case"rgb":return u.length>=3?(Yn(e,Fn(u[0]),Fn(u[1]),Fn(u[2]),3===u.length?h:Gn(u[3])),jn(t,e),e):void Yn(e,0,0,0,1);case"hsla":return 4!==u.length?void Yn(e,0,0,0,1):(u[3]=Gn(u[3]),Kn(u,e),jn(t,e),e);case"hsl":return 3!==u.length?void Yn(e,0,0,0,1):(Kn(u,e),jn(t,e),e);default:return}}Yn(e,0,0,0,1)}}function Kn(t,e){var n=(parseFloat(t[0])%360+360)%360/360,i=Gn(t[1]),r=Gn(t[2]),o=r<=.5?r*(i+1):r+i-r*i,a=2*r-o;return Yn(e=e||[],Vn(255*Wn(a,o,n+1/3)),Vn(255*Wn(a,o,n)),Vn(255*Wn(a,o,n-1/3)),1),4===t.length&&(e[3]=t[3]),e}function $n(t,e){var n=qn(t);if(n){for(var i=0;i<3;i++)n[i]=e<0?n[i]*(1-e)|0:(255-n[i])*e+n[i]|0,n[i]>255?n[i]=255:n[i]<0&&(n[i]=0);return ri(n,4===n.length?"rgba":"rgb")}}function Jn(t,e,n){if(e&&e.length&&t>=0&&t<=1){n=n||[];var i=t*(e.length-1),r=Math.floor(i),o=Math.ceil(i),a=e[r],s=e[o],l=i-r;return n[0]=Vn(Hn(a[0],s[0],l)),n[1]=Vn(Hn(a[1],s[1],l)),n[2]=Vn(Hn(a[2],s[2],l)),n[3]=Bn(Hn(a[3],s[3],l)),n}}var Qn=Jn;function ti(t,e,n){if(e&&e.length&&t>=0&&t<=1){var i=t*(e.length-1),r=Math.floor(i),o=Math.ceil(i),a=qn(e[r]),s=qn(e[o]),l=i-r,u=ri([Vn(Hn(a[0],s[0],l)),Vn(Hn(a[1],s[1],l)),Vn(Hn(a[2],s[2],l)),Bn(Hn(a[3],s[3],l))],"rgba");return n?{color:u,leftIndex:r,rightIndex:o,value:i}:u}}var ei=ti;function ni(t,e,n,i){var r=qn(t);if(t)return r=function(t){if(t){var e,n,i=t[0]/255,r=t[1]/255,o=t[2]/255,a=Math.min(i,r,o),s=Math.max(i,r,o),l=s-a,u=(s+a)/2;if(0===l)e=0,n=0;else{n=u<.5?l/(s+a):l/(2-s-a);var h=((s-i)/6+l/2)/l,c=((s-r)/6+l/2)/l,p=((s-o)/6+l/2)/l;i===s?e=p-c:r===s?e=1/3+h-p:o===s&&(e=2/3+c-h),e<0&&(e+=1),e>1&&(e-=1)}var d=[360*e,n,u];return null!=t[3]&&d.push(t[3]),d}}(r),null!=e&&(r[0]=function(t){return(t=Math.round(t))<0?0:t>360?360:t}(e)),null!=n&&(r[1]=Gn(n)),null!=i&&(r[2]=Gn(i)),ri(Kn(r),"rgba")}function ii(t,e){var n=qn(t);if(n&&null!=e)return n[3]=Bn(e),ri(n,"rgba")}function ri(t,e){if(t&&t.length){var n=t[0]+","+t[1]+","+t[2];return"rgba"!==e&&"hsva"!==e&&"hsla"!==e||(n+=","+t[3]),e+"("+n+")"}}function oi(t,e){var n=qn(t);return n?(.299*n[0]+.587*n[1]+.114*n[2])*n[3]/255+(1-n[3])*e:0}var ai=new En(100);function si(t){if(U(t)){var e=ai.get(t);return e||(e=$n(t,-.1),ai.put(t,e)),e}if(Q(t)){var n=A({},t);return n.colorStops=z(t.colorStops,(function(t){return{offset:t.offset,color:$n(t.color,-.1)}})),n}return t}var li=Object.freeze({__proto__:null,parse:qn,lift:$n,toHex:function(t){var e=qn(t);if(e)return((1<<24)+(e[0]<<16)+(e[1]<<8)+ +e[2]).toString(16).slice(1)},fastLerp:Jn,fastMapToColor:Qn,lerp:ti,mapToColor:ei,modifyHSL:ni,modifyAlpha:ii,stringify:ri,lum:oi,random:function(){return ri([Math.round(255*Math.random()),Math.round(255*Math.random()),Math.round(255*Math.random())],"rgb")},liftColor:si}),ui=Math.round;function hi(t){var e;if(t&&"transparent"!==t){if("string"==typeof t&&t.indexOf("rgba")>-1){var n=qn(t);n&&(t="rgb("+n[0]+","+n[1]+","+n[2]+")",e=n[3])}}else t="none";return{color:t,opacity:null==e?1:e}}var ci=1e-4;function pi(t){return t-1e-4}function di(t){return ui(1e3*t)/1e3}function fi(t){return ui(1e4*t)/1e4}var gi={left:"start",right:"end",center:"middle",middle:"middle"};function yi(t){return t&&!!t.image}function vi(t){return yi(t)||function(t){return t&&!!t.svgElement}(t)}function mi(t){return"linear"===t.type}function xi(t){return"radial"===t.type}function _i(t){return t&&("linear"===t.type||"radial"===t.type)}function bi(t){return"url(#"+t+")"}function wi(t){var e=t.getGlobalScale(),n=Math.max(e[0],e[1]);return Math.max(Math.ceil(Math.log(n)/Math.log(10)),1)}function Si(t){var e=t.x||0,n=t.y||0,i=(t.rotation||0)*wt,r=rt(t.scaleX,1),o=rt(t.scaleY,1),a=t.skewX||0,s=t.skewY||0,l=[];return(e||n)&&l.push("translate("+e+"px,"+n+"px)"),i&&l.push("rotate("+i+")"),1===r&&1===o||l.push("scale("+r+","+o+")"),(a||s)&&l.push("skew("+ui(a*wt)+"deg, "+ui(s*wt)+"deg)"),l.join(" ")}var Mi=r.hasGlobalWindow&&X(window.btoa)?function(t){return window.btoa(unescape(encodeURIComponent(t)))}:"undefined"!=typeof Buffer?function(t){return Buffer.from(t).toString("base64")}:function(t){return null},Ii=Array.prototype.slice;function Ti(t,e,n){return(e-t)*n+t}function Ci(t,e,n,i){for(var r=e.length,o=0;oi?e:t,o=Math.min(n,i),a=r[o-1]||{color:[0,0,0,0],offset:0},s=o;sa)i.length=a;else for(var s=o;s=1},t.prototype.getAdditiveTrack=function(){return this._additiveTrack},t.prototype.addKeyframe=function(t,e,n){this._needsSort=!0;var i=this.keyframes,r=i.length,o=!1,a=6,s=e;if(N(e)){var l=function(t){return N(t&&t[0])?2:1}(e);a=l,(1===l&&!j(e[0])||2===l&&!j(e[0][0]))&&(o=!0)}else if(j(e)&&!nt(e))a=0;else if(U(e))if(isNaN(+e)){var u=qn(e);u&&(s=u,a=3)}else a=0;else if(Q(e)){var h=A({},s);h.colorStops=z(e.colorStops,(function(t){return{offset:t.offset,color:qn(t.color)}})),mi(e)?a=4:xi(e)&&(a=5),s=h}0===r?this.valType=a:a===this.valType&&6!==a||(o=!0),this.discrete=this.discrete||o;var c={time:t,value:s,rawValue:e,percent:0};return n&&(c.easing=n,c.easingFunc=X(n)?n:an[n]||Pn(n)),i.push(c),c},t.prototype.prepare=function(t,e){var n=this.keyframes;this._needsSort&&n.sort((function(t,e){return t.time-e.time}));for(var i=this.valType,r=n.length,o=n[r-1],a=this.discrete,s=Ni(i),l=Ri(i),u=0;u=0&&!(l[n].percent<=e);n--);n=d(n,u-2)}else{for(n=p;ne);n++);n=d(n-1,u-2)}r=l[n+1],i=l[n]}if(i&&r){this._lastFr=n,this._lastFrP=e;var f=r.percent-i.percent,g=0===f?1:d((e-i.percent)/f,1);r.easingFunc&&(g=r.easingFunc(g));var y=o?this._additiveValue:c?Ei:t[h];if(!Ni(s)&&!c||y||(y=this._additiveValue=[]),this.discrete)t[h]=g<1?i.rawValue:r.rawValue;else if(Ni(s))1===s?Ci(y,i[a],r[a],g):function(t,e,n,i){for(var r=e.length,o=r&&e[0].length,a=0;a0&&s.addKeyframe(0,Pi(l),i),this._trackKeys.push(a)}s.addKeyframe(t,Pi(e[a]),i)}return this._maxTime=Math.max(this._maxTime,t),this},t.prototype.pause=function(){this._clip.pause(),this._paused=!0},t.prototype.resume=function(){this._clip.resume(),this._paused=!1},t.prototype.isPaused=function(){return!!this._paused},t.prototype.duration=function(t){return this._maxTime=t,this._force=!0,this},t.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var t=this._doneCbs;if(t)for(var e=t.length,n=0;n0)){this._started=1;for(var e=this,n=[],i=this._maxTime||0,r=0;r1){var a=o.pop();r.addKeyframe(a.time,t[i]),r.prepare(this._maxTime,r.getAdditiveTrack())}}}},t}();function Bi(){return(new Date).getTime()}var Fi,Gi,Wi=function(t){function e(e){var n=t.call(this)||this;return n._running=!1,n._time=0,n._pausedTime=0,n._pauseStart=0,n._paused=!1,e=e||{},n.stage=e.stage||{},n}return n(e,t),e.prototype.addClip=function(t){t.animation&&this.removeClip(t),this._head?(this._tail.next=t,t.prev=this._tail,t.next=null,this._tail=t):this._head=this._tail=t,t.animation=this},e.prototype.addAnimator=function(t){t.animation=this;var e=t.getClip();e&&this.addClip(e)},e.prototype.removeClip=function(t){if(t.animation){var e=t.prev,n=t.next;e?e.next=n:this._head=n,n?n.prev=e:this._tail=e,t.next=t.prev=t.animation=null}},e.prototype.removeAnimator=function(t){var e=t.getClip();e&&this.removeClip(e),t.animation=null},e.prototype.update=function(t){for(var e=Bi()-this._pausedTime,n=e-this._time,i=this._head;i;){var r=i.next;i.step(e,n)?(i.ondestroy(),this.removeClip(i),i=r):i=r}this._time=e,t||(this.trigger("frame",n),this.stage.update&&this.stage.update())},e.prototype._startLoop=function(){var t=this;this._running=!0,on((function e(){t._running&&(on(e),!t._paused&&t.update())}))},e.prototype.start=function(){this._running||(this._time=Bi(),this._pausedTime=0,this._startLoop())},e.prototype.stop=function(){this._running=!1},e.prototype.pause=function(){this._paused||(this._pauseStart=Bi(),this._paused=!0)},e.prototype.resume=function(){this._paused&&(this._pausedTime+=Bi()-this._pauseStart,this._paused=!1)},e.prototype.clear=function(){for(var t=this._head;t;){var e=t.next;t.prev=t.next=t.animation=null,t=e}this._head=this._tail=null},e.prototype.isFinished=function(){return null==this._head},e.prototype.animate=function(t,e){e=e||{},this.start();var n=new Vi(t,e.loop);return this.addAnimator(n),n},e}(jt),Hi=r.domSupported,Yi=(Gi={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},{mouse:Fi=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],touch:["touchstart","touchend","touchmove"],pointer:z(Fi,(function(t){var e=t.replace("mouse","pointer");return Gi.hasOwnProperty(e)?e:t}))}),Xi=["mousemove","mouseup"],Ui=["pointermove","pointerup"],Zi=!1;function ji(t){var e=t.pointerType;return"pen"===e||"touch"===e}function qi(t){t&&(t.zrByTouch=!0)}function Ki(t,e){for(var n=e,i=!1;n&&9!==n.nodeType&&!(i=n.domBelongToZr||n!==e&&n===t.painterRoot);)n=n.parentNode;return i}var $i=function(t,e){this.stopPropagation=bt,this.stopImmediatePropagation=bt,this.preventDefault=bt,this.type=e.type,this.target=this.currentTarget=t.dom,this.pointerType=e.pointerType,this.clientX=e.clientX,this.clientY=e.clientY},Ji={mousedown:function(t){t=ce(this.dom,t),this.__mayPointerCapture=[t.zrX,t.zrY],this.trigger("mousedown",t)},mousemove:function(t){t=ce(this.dom,t);var e=this.__mayPointerCapture;!e||t.zrX===e[0]&&t.zrY===e[1]||this.__togglePointerCapture(!0),this.trigger("mousemove",t)},mouseup:function(t){t=ce(this.dom,t),this.__togglePointerCapture(!1),this.trigger("mouseup",t)},mouseout:function(t){Ki(this,(t=ce(this.dom,t)).toElement||t.relatedTarget)||(this.__pointerCapturing&&(t.zrEventControl="no_globalout"),this.trigger("mouseout",t))},wheel:function(t){Zi=!0,t=ce(this.dom,t),this.trigger("mousewheel",t)},mousewheel:function(t){Zi||(t=ce(this.dom,t),this.trigger("mousewheel",t))},touchstart:function(t){qi(t=ce(this.dom,t)),this.__lastTouchMoment=new Date,this.handler.processGesture(t,"start"),Ji.mousemove.call(this,t),Ji.mousedown.call(this,t)},touchmove:function(t){qi(t=ce(this.dom,t)),this.handler.processGesture(t,"change"),Ji.mousemove.call(this,t)},touchend:function(t){qi(t=ce(this.dom,t)),this.handler.processGesture(t,"end"),Ji.mouseup.call(this,t),+new Date-+this.__lastTouchMoment<300&&Ji.click.call(this,t)},pointerdown:function(t){Ji.mousedown.call(this,t)},pointermove:function(t){ji(t)||Ji.mousemove.call(this,t)},pointerup:function(t){Ji.mouseup.call(this,t)},pointerout:function(t){ji(t)||Ji.mouseout.call(this,t)}};E(["click","dblclick","contextmenu"],(function(t){Ji[t]=function(e){e=ce(this.dom,e),this.trigger(t,e)}}));var Qi={pointermove:function(t){ji(t)||Qi.mousemove.call(this,t)},pointerup:function(t){Qi.mouseup.call(this,t)},mousemove:function(t){this.trigger("mousemove",t)},mouseup:function(t){var e=this.__pointerCapturing;this.__togglePointerCapture(!1),this.trigger("mouseup",t),e&&(t.zrEventControl="only_globalout",this.trigger("mouseout",t))}};function tr(t,e){var n=e.domHandlers;r.pointerEventsSupported?E(Yi.pointer,(function(i){nr(e,i,(function(e){n[i].call(t,e)}))})):(r.touchEventsSupported&&E(Yi.touch,(function(i){nr(e,i,(function(r){n[i].call(t,r),function(t){t.touching=!0,null!=t.touchTimer&&(clearTimeout(t.touchTimer),t.touchTimer=null),t.touchTimer=setTimeout((function(){t.touching=!1,t.touchTimer=null}),700)}(e)}))})),E(Yi.mouse,(function(i){nr(e,i,(function(r){r=he(r),e.touching||n[i].call(t,r)}))})))}function er(t,e){function n(n){nr(e,n,(function(i){i=he(i),Ki(t,i.target)||(i=function(t,e){return ce(t.dom,new $i(t,e),!0)}(t,i),e.domHandlers[n].call(t,i))}),{capture:!0})}r.pointerEventsSupported?E(Ui,n):r.touchEventsSupported||E(Xi,n)}function nr(t,e,n,i){t.mounted[e]=n,t.listenerOpts[e]=i,pe(t.domTarget,e,n,i)}function ir(t){var e,n,i,r,o=t.mounted;for(var a in o)o.hasOwnProperty(a)&&(e=t.domTarget,n=a,i=o[a],r=t.listenerOpts[a],e.removeEventListener(n,i,r));t.mounted={}}var rr=function(t,e){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=t,this.domHandlers=e},or=function(t){function e(e,n){var i=t.call(this)||this;return i.__pointerCapturing=!1,i.dom=e,i.painterRoot=n,i._localHandlerScope=new rr(e,Ji),Hi&&(i._globalHandlerScope=new rr(document,Qi)),tr(i,i._localHandlerScope),i}return n(e,t),e.prototype.dispose=function(){ir(this._localHandlerScope),Hi&&ir(this._globalHandlerScope)},e.prototype.setCursor=function(t){this.dom.style&&(this.dom.style.cursor=t||"default")},e.prototype.__togglePointerCapture=function(t){if(this.__mayPointerCapture=null,Hi&&+this.__pointerCapturing^+t){this.__pointerCapturing=t;var e=this._globalHandlerScope;t?er(this,e):ir(e)}},e}(jt),ar=1;r.hasGlobalWindow&&(ar=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var sr=ar,lr="#333",ur="#ccc",hr=xe,cr=5e-5;function pr(t){return t>cr||t<-5e-5}var dr=[],fr=[],gr=[1,0,0,1,0,0],yr=Math.abs,vr=function(){function t(){}return t.prototype.getLocalTransform=function(e){return t.getLocalTransform(this,e)},t.prototype.setPosition=function(t){this.x=t[0],this.y=t[1]},t.prototype.setScale=function(t){this.scaleX=t[0],this.scaleY=t[1]},t.prototype.setSkew=function(t){this.skewX=t[0],this.skewY=t[1]},t.prototype.setOrigin=function(t){this.originX=t[0],this.originY=t[1]},t.prototype.needLocalTransform=function(){return pr(this.rotation)||pr(this.x)||pr(this.y)||pr(this.scaleX-1)||pr(this.scaleY-1)||pr(this.skewX)||pr(this.skewY)},t.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,e=this.needLocalTransform(),n=this.transform;e||t?(n=n||[1,0,0,1,0,0],e?this.getLocalTransform(n):hr(n),t&&(e?be(n,t,n):_e(n,t)),this.transform=n,this._resolveGlobalScaleRatio(n)):n&&(hr(n),this.invTransform=null)},t.prototype._resolveGlobalScaleRatio=function(t){var e=this.globalScaleRatio;if(null!=e&&1!==e){this.getGlobalScale(dr);var n=dr[0]<0?-1:1,i=dr[1]<0?-1:1,r=((dr[0]-n)*e+n)/dr[0]||0,o=((dr[1]-i)*e+i)/dr[1]||0;t[0]*=r,t[1]*=r,t[2]*=o,t[3]*=o}this.invTransform=this.invTransform||[1,0,0,1,0,0],Ie(this.invTransform,t)},t.prototype.getComputedTransform=function(){for(var t=this,e=[];t;)e.push(t),t=t.parent;for(;t=e.pop();)t.updateTransform();return this.transform},t.prototype.setLocalTransform=function(t){if(t){var e=t[0]*t[0]+t[1]*t[1],n=t[2]*t[2]+t[3]*t[3],i=Math.atan2(t[1],t[0]),r=Math.PI/2+i-Math.atan2(t[3],t[2]);n=Math.sqrt(n)*Math.cos(r),e=Math.sqrt(e),this.skewX=r,this.skewY=0,this.rotation=-i,this.x=+t[4],this.y=+t[5],this.scaleX=e,this.scaleY=n,this.originX=0,this.originY=0}},t.prototype.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(t.invTransform=t.invTransform||[1,0,0,1,0,0],be(fr,t.invTransform,e),e=fr);var n=this.originX,i=this.originY;(n||i)&&(gr[4]=n,gr[5]=i,be(fr,e,gr),fr[4]-=n,fr[5]-=i,e=fr),this.setLocalTransform(e)}},t.prototype.getGlobalScale=function(t){var e=this.transform;return t=t||[],e?(t[0]=Math.sqrt(e[0]*e[0]+e[1]*e[1]),t[1]=Math.sqrt(e[2]*e[2]+e[3]*e[3]),e[0]<0&&(t[0]=-t[0]),e[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},t.prototype.transformCoordToLocal=function(t,e){var n=[t,e],i=this.invTransform;return i&&Wt(n,n,i),n},t.prototype.transformCoordToGlobal=function(t,e){var n=[t,e],i=this.transform;return i&&Wt(n,n,i),n},t.prototype.getLineScale=function(){var t=this.transform;return t&&yr(t[0]-1)>1e-10&&yr(t[3]-1)>1e-10?Math.sqrt(yr(t[0]*t[3]-t[2]*t[1])):1},t.prototype.copyTransform=function(t){xr(this,t)},t.getLocalTransform=function(t,e){e=e||[];var n=t.originX||0,i=t.originY||0,r=t.scaleX,o=t.scaleY,a=t.anchorX,s=t.anchorY,l=t.rotation||0,u=t.x,h=t.y,c=t.skewX?Math.tan(t.skewX):0,p=t.skewY?Math.tan(-t.skewY):0;if(n||i||a||s){var d=n+a,f=i+s;e[4]=-d*r-c*f*o,e[5]=-f*o-p*d*r}else e[4]=e[5]=0;return e[0]=r,e[3]=o,e[1]=p*r,e[2]=c*o,l&&Se(e,e,l),e[4]+=n+u,e[5]+=i+h,e},t.initDefaultProps=function(){var e=t.prototype;e.scaleX=e.scaleY=e.globalScaleRatio=1,e.x=e.y=e.originX=e.originY=e.skewX=e.skewY=e.rotation=e.anchorX=e.anchorY=0}(),t}(),mr=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function xr(t,e){for(var n=0;n=0?parseFloat(t)/100*e:parseFloat(t):t}function Dr(t,e,n){var i=e.position||"inside",r=null!=e.distance?e.distance:5,o=n.height,a=n.width,s=o/2,l=n.x,u=n.y,h="left",c="top";if(i instanceof Array)l+=Cr(i[0],n.width),u+=Cr(i[1],n.height),h=null,c=null;else switch(i){case"left":l-=r,u+=s,h="right",c="middle";break;case"right":l+=r+a,u+=s,c="middle";break;case"top":l+=a/2,u-=r,h="center",c="bottom";break;case"bottom":l+=a/2,u+=o+r,h="center";break;case"inside":l+=a/2,u+=s,h="center",c="middle";break;case"insideLeft":l+=r,u+=s,c="middle";break;case"insideRight":l+=a-r,u+=s,h="right",c="middle";break;case"insideTop":l+=a/2,u+=r,h="center";break;case"insideBottom":l+=a/2,u+=o-r,h="center",c="bottom";break;case"insideTopLeft":l+=r,u+=r;break;case"insideTopRight":l+=a-r,u+=r,h="right";break;case"insideBottomLeft":l+=r,u+=o-r,c="bottom";break;case"insideBottomRight":l+=a-r,u+=o-r,h="right",c="bottom"}return(t=t||{}).x=l,t.y=u,t.align=h,t.verticalAlign=c,t}var Ar="__zr_normal__",kr=mr.concat(["ignore"]),Lr=V(mr,(function(t,e){return t[e]=!0,t}),{ignore:!1}),Pr={},Or=new ze(0,0,0,0),Rr=function(){function t(t){this.id=M(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return t.prototype._init=function(t){this.attr(t)},t.prototype.drift=function(t,e,n){switch(this.draggable){case"horizontal":e=0;break;case"vertical":t=0}var i=this.transform;i||(i=this.transform=[1,0,0,1,0,0]),i[4]+=t,i[5]+=e,this.decomposeTransform(),this.markRedraw()},t.prototype.beforeUpdate=function(){},t.prototype.afterUpdate=function(){},t.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},t.prototype.updateInnerText=function(t){var e=this._textContent;if(e&&(!e.ignore||t)){this.textConfig||(this.textConfig={});var n=this.textConfig,i=n.local,r=e.innerTransformable,o=void 0,a=void 0,s=!1;r.parent=i?this:null;var l=!1;if(r.copyTransform(e),null!=n.position){var u=Or;n.layoutRect?u.copy(n.layoutRect):u.copy(this.getBoundingRect()),i||u.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(Pr,n,u):Dr(Pr,n,u),r.x=Pr.x,r.y=Pr.y,o=Pr.align,a=Pr.verticalAlign;var h=n.origin;if(h&&null!=n.rotation){var c=void 0,p=void 0;"center"===h?(c=.5*u.width,p=.5*u.height):(c=Cr(h[0],u.width),p=Cr(h[1],u.height)),l=!0,r.originX=-r.x+c+(i?0:u.x),r.originY=-r.y+p+(i?0:u.y)}}null!=n.rotation&&(r.rotation=n.rotation);var d=n.offset;d&&(r.x+=d[0],r.y+=d[1],l||(r.originX=-d[0],r.originY=-d[1]));var f=null==n.inside?"string"==typeof n.position&&n.position.indexOf("inside")>=0:n.inside,g=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),y=void 0,v=void 0,m=void 0;f&&this.canBeInsideText()?(y=n.insideFill,v=n.insideStroke,null!=y&&"auto"!==y||(y=this.getInsideTextFill()),null!=v&&"auto"!==v||(v=this.getInsideTextStroke(y),m=!0)):(y=n.outsideFill,v=n.outsideStroke,null!=y&&"auto"!==y||(y=this.getOutsideFill()),null!=v&&"auto"!==v||(v=this.getOutsideStroke(y),m=!0)),(y=y||"#000")===g.fill&&v===g.stroke&&m===g.autoStroke&&o===g.align&&a===g.verticalAlign||(s=!0,g.fill=y,g.stroke=v,g.autoStroke=m,g.align=o,g.verticalAlign=a,e.setDefaultTextStyle(g)),e.__dirty|=1,s&&e.dirtyStyle(!0)}},t.prototype.canBeInsideText=function(){return!0},t.prototype.getInsideTextFill=function(){return"#fff"},t.prototype.getInsideTextStroke=function(t){return"#000"},t.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?ur:lr},t.prototype.getOutsideStroke=function(t){var e=this.__zr&&this.__zr.getBackgroundColor(),n="string"==typeof e&&qn(e);n||(n=[255,255,255,1]);for(var i=n[3],r=this.__zr.isDarkMode(),o=0;o<3;o++)n[o]=n[o]*i+(r?0:255)*(1-i);return n[3]=1,ri(n,"rgba")},t.prototype.traverse=function(t,e){},t.prototype.attrKV=function(t,e){"textConfig"===t?this.setTextConfig(e):"textContent"===t?this.setTextContent(e):"clipPath"===t?this.setClipPath(e):"extra"===t?(this.extra=this.extra||{},A(this.extra,e)):this[t]=e},t.prototype.hide=function(){this.ignore=!0,this.markRedraw()},t.prototype.show=function(){this.ignore=!1,this.markRedraw()},t.prototype.attr=function(t,e){if("string"==typeof t)this.attrKV(t,e);else if(q(t))for(var n=G(t),i=0;i0},t.prototype.getState=function(t){return this.states[t]},t.prototype.ensureState=function(t){var e=this.states;return e[t]||(e[t]={}),e[t]},t.prototype.clearStates=function(t){this.useState(Ar,!1,t)},t.prototype.useState=function(t,e,n,i){var r=t===Ar;if(this.hasState()||!r){var o=this.currentStates,a=this.stateTransition;if(!(P(o,t)>=0)||!e&&1!==o.length){var s;if(this.stateProxy&&!r&&(s=this.stateProxy(t)),s||(s=this.states&&this.states[t]),s||r){r||this.saveCurrentToNormalState(s);var l=!!(s&&s.hoverLayer||i);l&&this._toggleHoverLayerFlag(!0),this._applyStateObj(t,s,this._normalState,e,!n&&!this.__inHover&&a&&a.duration>0,a);var u=this._textContent,h=this._textGuide;return u&&u.useState(t,e,n,l),h&&h.useState(t,e,n,l),r?(this.currentStates=[],this._normalState={}):e?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!l&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=-2),s}I("State "+t+" not exists.")}}},t.prototype.useStates=function(t,e,n){if(t.length){var i=[],r=this.currentStates,o=t.length,a=o===r.length;if(a)for(var s=0;s0,d);var f=this._textContent,g=this._textGuide;f&&f.useStates(t,e,c),g&&g.useStates(t,e,c),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!c&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=-2)}else this.clearStates()},t.prototype.isSilent=function(){for(var t=this.silent,e=this.parent;!t&&e;){if(e.silent){t=!0;break}e=e.parent}return t},t.prototype._updateAnimationTargets=function(){for(var t=0;t=0){var n=this.currentStates.slice();n.splice(e,1),this.useStates(n)}},t.prototype.replaceState=function(t,e,n){var i=this.currentStates.slice(),r=P(i,t),o=P(i,e)>=0;r>=0?o?i.splice(r,1):i[r]=e:n&&!o&&i.push(e),this.useStates(i)},t.prototype.toggleState=function(t,e){e?this.useState(t,!0):this.removeState(t)},t.prototype._mergeStates=function(t){for(var e,n={},i=0;i=0&&e.splice(n,1)})),this.animators.push(t),n&&n.animation.addAnimator(t),n&&n.wakeUp()},t.prototype.updateDuringAnimation=function(t){this.markRedraw()},t.prototype.stopAnimation=function(t,e){for(var n=this.animators,i=n.length,r=[],o=0;o0&&n.during&&o[0].during((function(t,e){n.during(e)}));for(var p=0;p0||r.force&&!a.length){var w,S=void 0,M=void 0,I=void 0;if(s){M={},p&&(S={});for(_=0;_=0&&(n.splice(i,0,t),this._doAdd(t))}return this},e.prototype.replace=function(t,e){var n=P(this._children,t);return n>=0&&this.replaceAt(e,n),this},e.prototype.replaceAt=function(t,e){var n=this._children,i=n[e];if(t&&t!==this&&t.parent!==this&&t!==i){n[e]=t,i.parent=null;var r=this.__zr;r&&i.removeSelfFromZr(r),this._doAdd(t)}return this},e.prototype._doAdd=function(t){t.parent&&t.parent.remove(t),t.parent=this;var e=this.__zr;e&&e!==t.__zr&&t.addSelfToZr(e),e&&e.refresh()},e.prototype.remove=function(t){var e=this.__zr,n=this._children,i=P(n,t);return i<0||(n.splice(i,1),t.parent=null,e&&t.removeSelfFromZr(e),e&&e.refresh()),this},e.prototype.removeAll=function(){for(var t=this._children,e=this.__zr,n=0;n0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},t.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},t.prototype.wakeUp=function(){this._disposed||(this.animation.start(),this._stillFrameAccum=0)},t.prototype.refreshHover=function(){this._needsRefreshHover=!0},t.prototype.refreshHoverImmediately=function(){this._disposed||(this._needsRefreshHover=!1,this.painter.refreshHover&&"canvas"===this.painter.getType()&&this.painter.refreshHover())},t.prototype.resize=function(t){this._disposed||(t=t||{},this.painter.resize(t.width,t.height),this.handler.resize())},t.prototype.clearAnimation=function(){this._disposed||this.animation.clear()},t.prototype.getWidth=function(){if(!this._disposed)return this.painter.getWidth()},t.prototype.getHeight=function(){if(!this._disposed)return this.painter.getHeight()},t.prototype.setCursorStyle=function(t){this._disposed||this.handler.setCursorStyle(t)},t.prototype.findHover=function(t,e){if(!this._disposed)return this.handler.findHover(t,e)},t.prototype.on=function(t,e,n){return this._disposed||this.handler.on(t,e,n),this},t.prototype.off=function(t,e){this._disposed||this.handler.off(t,e)},t.prototype.trigger=function(t,e){this._disposed||this.handler.trigger(t,e)},t.prototype.clear=function(){if(!this._disposed){for(var t=this.storage.getRoots(),e=0;e0){if(t<=r)return a;if(t>=o)return s}else{if(t>=r)return a;if(t<=o)return s}else{if(t===r)return a;if(t===o)return s}return(t-r)/l*u+a}function $r(t,e){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%"}return U(t)?(n=t,n.replace(/^\s+|\s+$/g,"")).match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t;var n}function Jr(t,e,n){return null==e&&(e=10),e=Math.min(Math.max(0,e),20),t=(+t).toFixed(e),n?t:+t}function Qr(t){return t.sort((function(t,e){return t-e})),t}function to(t){if(t=+t,isNaN(t))return 0;if(t>1e-14)for(var e=1,n=0;n<15;n++,e*=10)if(Math.round(t*e)/e===t)return n;return eo(t)}function eo(t){var e=t.toString().toLowerCase(),n=e.indexOf("e"),i=n>0?+e.slice(n+1):0,r=n>0?n:e.length,o=e.indexOf("."),a=o<0?0:r-1-o;return Math.max(0,a-i)}function no(t,e){var n=Math.log,i=Math.LN10,r=Math.floor(n(t[1]-t[0])/i),o=Math.round(n(Math.abs(e[1]-e[0]))/i),a=Math.min(Math.max(-r+o,0),20);return isFinite(a)?a:20}function io(t,e){var n=V(t,(function(t,e){return t+(isNaN(e)?0:e)}),0);if(0===n)return[];for(var i=Math.pow(10,e),r=z(t,(function(t){return(isNaN(t)?0:t)/n*i*100})),o=100*i,a=z(r,(function(t){return Math.floor(t)})),s=V(a,(function(t,e){return t+e}),0),l=z(r,(function(t,e){return t-a[e]}));su&&(u=l[c],h=c);++a[h],l[h]=0,++s}return z(a,(function(t){return t/i}))}function ro(t,e){var n=Math.max(to(t),to(e)),i=t+e;return n>20?i:Jr(i,n)}var oo=9007199254740991;function ao(t){var e=2*Math.PI;return(t%e+e)%e}function so(t){return t>-1e-4&&t=10&&e++,e}function po(t,e){var n=co(t),i=Math.pow(10,n),r=t/i;return t=(e?r<1.5?1:r<2.5?2:r<4?3:r<7?5:10:r<1?1:r<2?2:r<3?3:r<5?5:10)*i,n>=-20?+t.toFixed(n<0?-n:0):t}function fo(t,e){var n=(t.length-1)*e+1,i=Math.floor(n),r=+t[i-1],o=n-i;return o?r+o*(t[i]-r):r}function go(t){t.sort((function(t,e){return s(t,e,0)?-1:1}));for(var e=-1/0,n=1,i=0;i=0||r&&P(r,s)<0)){var l=n.getShallow(s,e);null!=l&&(o[t[a][0]]=l)}}return o}}var ra=ia([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),oa=function(){function t(){}return t.prototype.getAreaStyle=function(t,e){return ra(this,t,e)},t}(),aa=new En(50);function sa(t){if("string"==typeof t){var e=aa.get(t);return e&&e.image}return t}function la(t,e,n,i,r){if(t){if("string"==typeof t){if(e&&e.__zrImageSrc===t||!n)return e;var o=aa.get(t),a={hostEl:n,cb:i,cbPayload:r};return o?!ha(e=o.image)&&o.pending.push(a):((e=h.loadImage(t,ua,ua)).__zrImageSrc=t,aa.put(t,e.__cachedImgObj={image:e,pending:[a]})),e}return t}return e}function ua(){var t=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var e=0;e=a;l++)s-=a;var u=br(n,e);return u>s&&(n="",u=0),s=t-u,r.ellipsis=n,r.ellipsisWidth=u,r.contentWidth=s,r.containerWidth=t,r}function fa(t,e,n){var i=n.containerWidth,r=n.font,o=n.contentWidth;if(!i)return t.textLine="",void(t.isTruncated=!1);var a=br(e,r);if(a<=i)return t.textLine=e,void(t.isTruncated=!1);for(var s=0;;s++){if(a<=o||s>=n.maxIterations){e+=n.ellipsis;break}var l=0===s?ga(e,o,n.ascCharWidth,n.cnCharWidth):a>0?Math.floor(e.length*o/a):0;a=br(e=e.substr(0,l),r)}""===e&&(e=n.placeholder),t.textLine=e,t.isTruncated=!0}function ga(t,e,n,i){for(var r=0,o=0,a=t.length;o0&&f+i.accumWidth>i.width&&(o=e.split("\n"),c=!0),i.accumWidth=f}else{var g=wa(e,h,i.width,i.breakAll,i.accumWidth);i.accumWidth=g.accumWidth+d,a=g.linesWidths,o=g.lines}}else o=e.split("\n");for(var y=0;y=32&&e<=591||e>=880&&e<=4351||e>=4608&&e<=5119||e>=7680&&e<=8303}(t)||!!_a[t]}function wa(t,e,n,i,r){for(var o=[],a=[],s="",l="",u=0,h=0,c=0;cn:r+h+d>n)?h?(s||l)&&(f?(s||(s=l,l="",h=u=0),o.push(s),a.push(h-u),l+=p,s="",h=u+=d):(l&&(s+=l,l="",u=0),o.push(s),a.push(h),s=p,h=d)):f?(o.push(l),a.push(u),l=p,u=d):(o.push(p),a.push(d)):(h+=d,f?(l+=p,u+=d):(l&&(s+=l,l="",u=0),s+=p))}else l&&(s+=l,h+=u),o.push(s),a.push(h),s="",l="",u=0,h=0}return o.length||s||(s=t,l="",u=0),l&&(s+=l),s&&(o.push(s),a.push(h)),1===o.length&&(h+=r),{accumWidth:h,lines:o,linesWidths:a}}var Sa="__zr_style_"+Math.round(10*Math.random()),Ma={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},Ia={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};Ma[Sa]=!0;var Ta=["z","z2","invisible"],Ca=["invisible"],Da=function(t){function e(e){return t.call(this,e)||this}var i;return n(e,t),e.prototype._init=function(e){for(var n=G(e),i=0;i1e-4)return s[0]=t-n,s[1]=e-i,l[0]=t+n,void(l[1]=e+i);if(Ea[0]=Ra(r)*n+t,Ea[1]=Oa(r)*i+e,za[0]=Ra(o)*n+t,za[1]=Oa(o)*i+e,u(s,Ea,za),h(l,Ea,za),(r%=Na)<0&&(r+=Na),(o%=Na)<0&&(o+=Na),r>o&&!a?o+=Na:rr&&(Va[0]=Ra(d)*n+t,Va[1]=Oa(d)*i+e,u(s,Va,s),h(l,Va,l))}var Ua={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},Za=[],ja=[],qa=[],Ka=[],$a=[],Ja=[],Qa=Math.min,ts=Math.max,es=Math.cos,ns=Math.sin,is=Math.abs,rs=Math.PI,os=2*rs,as="undefined"!=typeof Float32Array,ss=[];function ls(t){return Math.round(t/rs*1e8)/1e8%2*rs}function us(t,e){var n=ls(t[0]);n<0&&(n+=os);var i=n-t[0],r=t[1];r+=i,!e&&r-n>=os?r=n+os:e&&n-r>=os?r=n-os:!e&&n>r?r=n+(os-ls(n-r)):e&&n0&&(this._ux=is(n/sr/t)||0,this._uy=is(n/sr/e)||0)},t.prototype.setDPR=function(t){this.dpr=t},t.prototype.setContext=function(t){this._ctx=t},t.prototype.getContext=function(){return this._ctx},t.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},t.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},t.prototype.moveTo=function(t,e){return this._drawPendingPt(),this.addData(Ua.M,t,e),this._ctx&&this._ctx.moveTo(t,e),this._x0=t,this._y0=e,this._xi=t,this._yi=e,this},t.prototype.lineTo=function(t,e){var n=is(t-this._xi),i=is(e-this._yi),r=n>this._ux||i>this._uy;if(this.addData(Ua.L,t,e),this._ctx&&r&&this._ctx.lineTo(t,e),r)this._xi=t,this._yi=e,this._pendingPtDist=0;else{var o=n*n+i*i;o>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=e,this._pendingPtDist=o)}return this},t.prototype.bezierCurveTo=function(t,e,n,i,r,o){return this._drawPendingPt(),this.addData(Ua.C,t,e,n,i,r,o),this._ctx&&this._ctx.bezierCurveTo(t,e,n,i,r,o),this._xi=r,this._yi=o,this},t.prototype.quadraticCurveTo=function(t,e,n,i){return this._drawPendingPt(),this.addData(Ua.Q,t,e,n,i),this._ctx&&this._ctx.quadraticCurveTo(t,e,n,i),this._xi=n,this._yi=i,this},t.prototype.arc=function(t,e,n,i,r,o){this._drawPendingPt(),ss[0]=i,ss[1]=r,us(ss,o),i=ss[0];var a=(r=ss[1])-i;return this.addData(Ua.A,t,e,n,n,i,a,0,o?0:1),this._ctx&&this._ctx.arc(t,e,n,i,r,o),this._xi=es(r)*n+t,this._yi=ns(r)*n+e,this},t.prototype.arcTo=function(t,e,n,i,r){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,e,n,i,r),this},t.prototype.rect=function(t,e,n,i){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,e,n,i),this.addData(Ua.R,t,e,n,i),this},t.prototype.closePath=function(){this._drawPendingPt(),this.addData(Ua.Z);var t=this._ctx,e=this._x0,n=this._y0;return t&&t.closePath(),this._xi=e,this._yi=n,this},t.prototype.fill=function(t){t&&t.fill(),this.toStatic()},t.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},t.prototype.len=function(){return this._len},t.prototype.setData=function(t){var e=t.length;this.data&&this.data.length===e||!as||(this.data=new Float32Array(e));for(var n=0;nu.length&&(this._expandData(),u=this.data);for(var h=0;h0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},t.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var t=[],e=0;e11&&(this.data=new Float32Array(t)))}},t.prototype.getBoundingRect=function(){qa[0]=qa[1]=$a[0]=$a[1]=Number.MAX_VALUE,Ka[0]=Ka[1]=Ja[0]=Ja[1]=-Number.MAX_VALUE;var t,e=this.data,n=0,i=0,r=0,o=0;for(t=0;tn||is(y)>i||c===e-1)&&(f=Math.sqrt(A*A+y*y),r=g,o=x);break;case Ua.C:var v=t[c++],m=t[c++],x=(g=t[c++],t[c++]),_=t[c++],b=t[c++];f=Mn(r,o,v,m,g,x,_,b,10),r=_,o=b;break;case Ua.Q:f=kn(r,o,v=t[c++],m=t[c++],g=t[c++],x=t[c++],10),r=g,o=x;break;case Ua.A:var w=t[c++],S=t[c++],M=t[c++],I=t[c++],T=t[c++],C=t[c++],D=C+T;c+=1,d&&(a=es(T)*M+w,s=ns(T)*I+S),f=ts(M,I)*Qa(os,Math.abs(C)),r=es(D)*M+w,o=ns(D)*I+S;break;case Ua.R:a=r=t[c++],s=o=t[c++],f=2*t[c++]+2*t[c++];break;case Ua.Z:var A=a-r;y=s-o;f=Math.sqrt(A*A+y*y),r=a,o=s}f>=0&&(l[h++]=f,u+=f)}return this._pathLen=u,u},t.prototype.rebuildPath=function(t,e){var n,i,r,o,a,s,l,u,h,c,p=this.data,d=this._ux,f=this._uy,g=this._len,y=e<1,v=0,m=0,x=0;if(!y||(this._pathSegLen||this._calculateLength(),l=this._pathSegLen,u=e*this._pathLen))t:for(var _=0;_0&&(t.lineTo(h,c),x=0),b){case Ua.M:n=r=p[_++],i=o=p[_++],t.moveTo(r,o);break;case Ua.L:a=p[_++],s=p[_++];var S=is(a-r),M=is(s-o);if(S>d||M>f){if(y){if(v+(j=l[m++])>u){var I=(u-v)/j;t.lineTo(r*(1-I)+a*I,o*(1-I)+s*I);break t}v+=j}t.lineTo(a,s),r=a,o=s,x=0}else{var T=S*S+M*M;T>x&&(h=a,c=s,x=T)}break;case Ua.C:var C=p[_++],D=p[_++],A=p[_++],k=p[_++],L=p[_++],P=p[_++];if(y){if(v+(j=l[m++])>u){wn(r,C,A,L,I=(u-v)/j,Za),wn(o,D,k,P,I,ja),t.bezierCurveTo(Za[1],ja[1],Za[2],ja[2],Za[3],ja[3]);break t}v+=j}t.bezierCurveTo(C,D,A,k,L,P),r=L,o=P;break;case Ua.Q:C=p[_++],D=p[_++],A=p[_++],k=p[_++];if(y){if(v+(j=l[m++])>u){Dn(r,C,A,I=(u-v)/j,Za),Dn(o,D,k,I,ja),t.quadraticCurveTo(Za[1],ja[1],Za[2],ja[2]);break t}v+=j}t.quadraticCurveTo(C,D,A,k),r=A,o=k;break;case Ua.A:var O=p[_++],R=p[_++],N=p[_++],E=p[_++],z=p[_++],V=p[_++],B=p[_++],F=!p[_++],G=N>E?N:E,W=is(N-E)>.001,H=z+V,Y=!1;if(y)v+(j=l[m++])>u&&(H=z+V*(u-v)/j,Y=!0),v+=j;if(W&&t.ellipse?t.ellipse(O,R,N,E,B,z,H,F):t.arc(O,R,G,z,H,F),Y)break t;w&&(n=es(z)*N+O,i=ns(z)*E+R),r=es(H)*N+O,o=ns(H)*E+R;break;case Ua.R:n=r=p[_],i=o=p[_+1],a=p[_++],s=p[_++];var X=p[_++],U=p[_++];if(y){if(v+(j=l[m++])>u){var Z=u-v;t.moveTo(a,s),t.lineTo(a+Qa(Z,X),s),(Z-=X)>0&&t.lineTo(a+X,s+Qa(Z,U)),(Z-=U)>0&&t.lineTo(a+ts(X-Z,0),s+U),(Z-=X)>0&&t.lineTo(a,s+ts(U-Z,0));break t}v+=j}t.rect(a,s,X,U);break;case Ua.Z:if(y){var j;if(v+(j=l[m++])>u){I=(u-v)/j;t.lineTo(r*(1-I)+n*I,o*(1-I)+i*I);break t}v+=j}t.closePath(),r=n,o=i}}},t.prototype.clone=function(){var e=new t,n=this.data;return e.data=n.slice?n.slice():Array.prototype.slice.call(n),e._len=this._len,e},t.CMD=Ua,t.initDefaultProps=function(){var e=t.prototype;e._saveData=!0,e._ux=0,e._uy=0,e._pendingPtDist=0,e._version=0}(),t}();function cs(t,e,n,i,r,o,a){if(0===r)return!1;var s=r,l=0;if(a>e+s&&a>i+s||at+s&&o>n+s||oe+c&&h>i+c&&h>o+c&&h>s+c||ht+c&&u>n+c&&u>r+c&&u>a+c||ue+u&&l>i+u&&l>o+u||lt+u&&s>n+u&&s>r+u||sn||h+ur&&(r+=ys);var p=Math.atan2(l,s);return p<0&&(p+=ys),p>=i&&p<=r||p+ys>=i&&p+ys<=r}function ms(t,e,n,i,r,o){if(o>e&&o>i||or?s:0}var xs=hs.CMD,_s=2*Math.PI;var bs=[-1,-1,-1],ws=[-1,-1];function Ss(t,e,n,i,r,o,a,s,l,u){if(u>e&&u>i&&u>o&&u>s||u1&&(h=void 0,h=ws[0],ws[0]=ws[1],ws[1]=h),f=mn(e,i,o,s,ws[0]),d>1&&(g=mn(e,i,o,s,ws[1]))),2===d?ve&&s>i&&s>o||s=0&&h<=1&&(r[l++]=h);else{var u=a*a-4*o*s;if(yn(u))(h=-a/(2*o))>=0&&h<=1&&(r[l++]=h);else if(u>0){var h,c=ln(u),p=(-a-c)/(2*o);(h=(-a+c)/(2*o))>=0&&h<=1&&(r[l++]=h),p>=0&&p<=1&&(r[l++]=p)}}return l}(e,i,o,s,bs);if(0===l)return 0;var u=Cn(e,i,o);if(u>=0&&u<=1){for(var h=0,c=In(e,i,o,u),p=0;pn||s<-n)return 0;var l=Math.sqrt(n*n-s*s);bs[0]=-l,bs[1]=l;var u=Math.abs(i-r);if(u<1e-4)return 0;if(u>=_s-1e-4){i=0,r=_s;var h=o?1:-1;return a>=bs[0]+t&&a<=bs[1]+t?h:0}if(i>r){var c=i;i=r,r=c}i<0&&(i+=_s,r+=_s);for(var p=0,d=0;d<2;d++){var f=bs[d];if(f+t>a){var g=Math.atan2(s,f);h=o?1:-1;g<0&&(g=_s+g),(g>=i&&g<=r||g+_s>=i&&g+_s<=r)&&(g>Math.PI/2&&g<1.5*Math.PI&&(h=-h),p+=h)}}return p}function Ts(t,e,n,i,r){for(var o,a,s,l,u=t.data,h=t.len(),c=0,p=0,d=0,f=0,g=0,y=0;y1&&(n||(c+=ms(p,d,f,g,i,r))),m&&(f=p=u[y],g=d=u[y+1]),v){case xs.M:p=f=u[y++],d=g=u[y++];break;case xs.L:if(n){if(cs(p,d,u[y],u[y+1],e,i,r))return!0}else c+=ms(p,d,u[y],u[y+1],i,r)||0;p=u[y++],d=u[y++];break;case xs.C:if(n){if(ps(p,d,u[y++],u[y++],u[y++],u[y++],u[y],u[y+1],e,i,r))return!0}else c+=Ss(p,d,u[y++],u[y++],u[y++],u[y++],u[y],u[y+1],i,r)||0;p=u[y++],d=u[y++];break;case xs.Q:if(n){if(ds(p,d,u[y++],u[y++],u[y],u[y+1],e,i,r))return!0}else c+=Ms(p,d,u[y++],u[y++],u[y],u[y+1],i,r)||0;p=u[y++],d=u[y++];break;case xs.A:var x=u[y++],_=u[y++],b=u[y++],w=u[y++],S=u[y++],M=u[y++];y+=1;var I=!!(1-u[y++]);o=Math.cos(S)*b+x,a=Math.sin(S)*w+_,m?(f=o,g=a):c+=ms(p,d,o,a,i,r);var T=(i-x)*w/b+x;if(n){if(vs(x,_,w,S,S+M,I,e,T,r))return!0}else c+=Is(x,_,w,S,S+M,I,T,r);p=Math.cos(S+M)*b+x,d=Math.sin(S+M)*w+_;break;case xs.R:if(f=p=u[y++],g=d=u[y++],o=f+u[y++],a=g+u[y++],n){if(cs(f,g,o,g,e,i,r)||cs(o,g,o,a,e,i,r)||cs(o,a,f,a,e,i,r)||cs(f,a,f,g,e,i,r))return!0}else c+=ms(o,g,o,a,i,r),c+=ms(f,a,f,g,i,r);break;case xs.Z:if(n){if(cs(p,d,f,g,e,i,r))return!0}else c+=ms(p,d,f,g,i,r);p=f,d=g}}return n||(s=d,l=g,Math.abs(s-l)<1e-4)||(c+=ms(p,d,f,g,i,r)||0),0!==c}var Cs=k({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},Ma),Ds={style:k({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},Ia.style)},As=mr.concat(["invisible","culling","z","z2","zlevel","parent"]),ks=function(t){function e(e){return t.call(this,e)||this}var i;return n(e,t),e.prototype.update=function(){var n=this;t.prototype.update.call(this);var i=this.style;if(i.decal){var r=this._decalEl=this._decalEl||new e;r.buildPath===e.prototype.buildPath&&(r.buildPath=function(t){n.buildPath(t,n.shape)}),r.silent=!0;var o=r.style;for(var a in i)o[a]!==i[a]&&(o[a]=i[a]);o.fill=i.fill?i.decal:null,o.decal=null,o.shadowColor=null,i.strokeFirst&&(o.stroke=null);for(var s=0;s.5?lr:e>.2?"#eee":ur}if(t)return ur}return lr},e.prototype.getInsideTextStroke=function(t){var e=this.style.fill;if(U(e)){var n=this.__zr;if(!(!n||!n.isDarkMode())===oi(t,0)<.4)return e}},e.prototype.buildPath=function(t,e,n){},e.prototype.pathUpdated=function(){this.__dirty&=-5},e.prototype.getUpdatedPathProxy=function(t){return!this.path&&this.createPathProxy(),this.path.beginPath(),this.buildPath(this.path,this.shape,t),this.path},e.prototype.createPathProxy=function(){this.path=new hs(!1)},e.prototype.hasStroke=function(){var t=this.style,e=t.stroke;return!(null==e||"none"===e||!(t.lineWidth>0))},e.prototype.hasFill=function(){var t=this.style.fill;return null!=t&&"none"!==t},e.prototype.getBoundingRect=function(){var t=this._rect,e=this.style,n=!t;if(n){var i=!1;this.path||(i=!0,this.createPathProxy());var r=this.path;(i||4&this.__dirty)&&(r.beginPath(),this.buildPath(r,this.shape,!1),this.pathUpdated()),t=r.getBoundingRect()}if(this._rect=t,this.hasStroke()&&this.path&&this.path.len()>0){var o=this._rectStroke||(this._rectStroke=t.clone());if(this.__dirty||n){o.copy(t);var a=e.strokeNoScale?this.getLineScale():1,s=e.lineWidth;if(!this.hasFill()){var l=this.strokeContainThreshold;s=Math.max(s,null==l?4:l)}a>1e-10&&(o.width+=s/a,o.height+=s/a,o.x-=s/a/2,o.y-=s/a/2)}return o}return t},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect(),r=this.style;if(t=n[0],e=n[1],i.contain(t,e)){var o=this.path;if(this.hasStroke()){var a=r.lineWidth,s=r.strokeNoScale?this.getLineScale():1;if(s>1e-10&&(this.hasFill()||(a=Math.max(a,this.strokeContainThreshold)),function(t,e,n,i){return Ts(t,e,!0,n,i)}(o,a/s,t,e)))return!0}if(this.hasFill())return function(t,e,n){return Ts(t,0,!1,e,n)}(o,t,e)}return!1},e.prototype.dirtyShape=function(){this.__dirty|=4,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},e.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},e.prototype.animateShape=function(t){return this.animate("shape",t)},e.prototype.updateDuringAnimation=function(t){"style"===t?this.dirtyStyle():"shape"===t?this.dirtyShape():this.markRedraw()},e.prototype.attrKV=function(e,n){"shape"===e?this.setShape(n):t.prototype.attrKV.call(this,e,n)},e.prototype.setShape=function(t,e){var n=this.shape;return n||(n=this.shape={}),"string"==typeof t?n[t]=e:A(n,t),this.dirtyShape(),this},e.prototype.shapeChanged=function(){return!!(4&this.__dirty)},e.prototype.createStyle=function(t){return mt(Cs,t)},e.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var n=this._normalState;e.shape&&!n.shape&&(n.shape=A({},this.shape))},e.prototype._applyStateObj=function(e,n,i,r,o,a){t.prototype._applyStateObj.call(this,e,n,i,r,o,a);var s,l=!(n&&r);if(n&&n.shape?o?r?s=n.shape:(s=A({},i.shape),A(s,n.shape)):(s=A({},r?this.shape:i.shape),A(s,n.shape)):l&&(s=i.shape),s)if(o){this.shape=A({},this.shape);for(var u={},h=G(s),c=0;c0},e.prototype.hasFill=function(){var t=this.style.fill;return null!=t&&"none"!==t},e.prototype.createStyle=function(t){return mt(Ls,t)},e.prototype.setBoundingRect=function(t){this._rect=t},e.prototype.getBoundingRect=function(){var t=this.style;if(!this._rect){var e=t.text;null!=e?e+="":e="";var n=Sr(e,t.font,t.textAlign,t.textBaseline);if(n.x+=t.x||0,n.y+=t.y||0,this.hasStroke()){var i=t.lineWidth;n.x-=i/2,n.y-=i/2,n.width+=i,n.height+=i}this._rect=n}return this._rect},e.initDefaultProps=void(e.prototype.dirtyRectTolerance=10),e}(Da);Ps.prototype.type="tspan";var Os=k({x:0,y:0},Ma),Rs={style:k({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},Ia.style)};var Ns=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.createStyle=function(t){return mt(Os,t)},e.prototype._getSize=function(t){var e=this.style,n=e[t];if(null!=n)return n;var i,r=(i=e.image)&&"string"!=typeof i&&i.width&&i.height?e.image:this.__image;if(!r)return 0;var o="width"===t?"height":"width",a=e[o];return null==a?r[t]:r[t]/r[o]*a},e.prototype.getWidth=function(){return this._getSize("width")},e.prototype.getHeight=function(){return this._getSize("height")},e.prototype.getAnimationStyleProps=function(){return Rs},e.prototype.getBoundingRect=function(){var t=this.style;return this._rect||(this._rect=new ze(t.x||0,t.y||0,this.getWidth(),this.getHeight())),this._rect},e}(Da);Ns.prototype.type="image";var Es=Math.round;function zs(t,e,n){if(e){var i=e.x1,r=e.x2,o=e.y1,a=e.y2;t.x1=i,t.x2=r,t.y1=o,t.y2=a;var s=n&&n.lineWidth;return s?(Es(2*i)===Es(2*r)&&(t.x1=t.x2=Bs(i,s,!0)),Es(2*o)===Es(2*a)&&(t.y1=t.y2=Bs(o,s,!0)),t):t}}function Vs(t,e,n){if(e){var i=e.x,r=e.y,o=e.width,a=e.height;t.x=i,t.y=r,t.width=o,t.height=a;var s=n&&n.lineWidth;return s?(t.x=Bs(i,s,!0),t.y=Bs(r,s,!0),t.width=Math.max(Bs(i+o,s,!1)-t.x,0===o?0:1),t.height=Math.max(Bs(r+a,s,!1)-t.y,0===a?0:1),t):t}}function Bs(t,e,n){if(!e)return t;var i=Es(2*t);return(i+Es(e))%2==0?i/2:(i+(n?1:-1))/2}var Fs=function(){this.x=0,this.y=0,this.width=0,this.height=0},Gs={},Ws=function(t){function e(e){return t.call(this,e)||this}return n(e,t),e.prototype.getDefaultShape=function(){return new Fs},e.prototype.buildPath=function(t,e){var n,i,r,o;if(this.subPixelOptimize){var a=Vs(Gs,e,this.style);n=a.x,i=a.y,r=a.width,o=a.height,a.r=e.r,e=a}else n=e.x,i=e.y,r=e.width,o=e.height;e.r?function(t,e){var n,i,r,o,a,s=e.x,l=e.y,u=e.width,h=e.height,c=e.r;u<0&&(s+=u,u=-u),h<0&&(l+=h,h=-h),"number"==typeof c?n=i=r=o=c:c instanceof Array?1===c.length?n=i=r=o=c[0]:2===c.length?(n=r=c[0],i=o=c[1]):3===c.length?(n=c[0],i=o=c[1],r=c[2]):(n=c[0],i=c[1],r=c[2],o=c[3]):n=i=r=o=0,n+i>u&&(n*=u/(a=n+i),i*=u/a),r+o>u&&(r*=u/(a=r+o),o*=u/a),i+r>h&&(i*=h/(a=i+r),r*=h/a),n+o>h&&(n*=h/(a=n+o),o*=h/a),t.moveTo(s+n,l),t.lineTo(s+u-i,l),0!==i&&t.arc(s+u-i,l+i,i,-Math.PI/2,0),t.lineTo(s+u,l+h-r),0!==r&&t.arc(s+u-r,l+h-r,r,0,Math.PI/2),t.lineTo(s+o,l+h),0!==o&&t.arc(s+o,l+h-o,o,Math.PI/2,Math.PI),t.lineTo(s,l+n),0!==n&&t.arc(s+n,l+n,n,Math.PI,1.5*Math.PI)}(t,e):t.rect(n,i,r,o)},e.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},e}(ks);Ws.prototype.type="rect";var Hs={fill:"#000"},Ys={style:k({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},Ia.style)},Xs=function(t){function e(e){var n=t.call(this)||this;return n.type="text",n._children=[],n._defaultStyle=Hs,n.attr(e),n}return n(e,t),e.prototype.childrenRef=function(){return this._children},e.prototype.update=function(){t.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var e=0;ef&&h){var g=Math.floor(f/l);c=c||n.length>g,n=n.slice(0,g)}if(t&&a&&null!=p)for(var y=da(p,o,e.ellipsis,{minChar:e.truncateMinChar,placeholder:e.placeholder}),v={},m=0;m0,T=null!=t.width&&("truncate"===t.overflow||"break"===t.overflow||"breakAll"===t.overflow),C=i.calculatedLineHeight,D=0;Dl&&xa(n,t.substring(l,u),e,s),xa(n,i[2],e,s,i[1]),l=ca.lastIndex}lo){var D=n.lines.length;w>0?(x.tokens=x.tokens.slice(0,w),v(x,b,_),n.lines=n.lines.slice(0,m+1)):n.lines=n.lines.slice(0,m),n.isTruncated=n.isTruncated||n.lines.length=0&&"right"===(C=x[T]).align;)this._placeToken(C,t,b,f,I,"right",y),w-=C.width,I-=C.width,T--;for(M+=(n-(M-d)-(g-I)-w)/2;S<=T;)C=x[S],this._placeToken(C,t,b,f,M+C.width/2,"center",y),M+=C.width,S++;f+=b}},e.prototype._placeToken=function(t,e,n,i,r,o,s){var l=e.rich[t.styleName]||{};l.text=t.text;var u=t.verticalAlign,h=i+n/2;"top"===u?h=i+t.height/2:"bottom"===u&&(h=i+n-t.height/2),!t.isLineHolder&&il(l)&&this._renderBackground(l,e,"right"===o?r-t.width:"center"===o?r-t.width/2:r,h-t.height/2,t.width,t.height);var c=!!l.backgroundColor,p=t.textPadding;p&&(r=el(r,o,p),h-=t.height/2-p[0]-t.innerHeight/2);var d=this._getOrCreateChild(Ps),f=d.createStyle();d.useStyle(f);var g=this._defaultStyle,y=!1,v=0,m=tl("fill"in l?l.fill:"fill"in e?e.fill:(y=!0,g.fill)),x=Qs("stroke"in l?l.stroke:"stroke"in e?e.stroke:c||s||g.autoStroke&&!y?null:(v=2,g.stroke)),_=l.textShadowBlur>0||e.textShadowBlur>0;f.text=t.text,f.x=r,f.y=h,_&&(f.shadowBlur=l.textShadowBlur||e.textShadowBlur||0,f.shadowColor=l.textShadowColor||e.textShadowColor||"transparent",f.shadowOffsetX=l.textShadowOffsetX||e.textShadowOffsetX||0,f.shadowOffsetY=l.textShadowOffsetY||e.textShadowOffsetY||0),f.textAlign=o,f.textBaseline="middle",f.font=t.font||a,f.opacity=ot(l.opacity,e.opacity,1),Ks(f,l),x&&(f.lineWidth=ot(l.lineWidth,e.lineWidth,v),f.lineDash=rt(l.lineDash,e.lineDash),f.lineDashOffset=e.lineDashOffset||0,f.stroke=x),m&&(f.fill=m);var b=t.contentWidth,w=t.contentHeight;d.setBoundingRect(new ze(Mr(f.x,b,f.textAlign),Ir(f.y,w,f.textBaseline),b,w))},e.prototype._renderBackground=function(t,e,n,i,r,o){var a,s,l,u=t.backgroundColor,h=t.borderWidth,c=t.borderColor,p=u&&u.image,d=u&&!p,f=t.borderRadius,g=this;if(d||t.lineHeight||h&&c){(a=this._getOrCreateChild(Ws)).useStyle(a.createStyle()),a.style.fill=null;var y=a.shape;y.x=n,y.y=i,y.width=r,y.height=o,y.r=f,a.dirtyShape()}if(d)(l=a.style).fill=u||null,l.fillOpacity=rt(t.fillOpacity,1);else if(p){(s=this._getOrCreateChild(Ns)).onload=function(){g.dirtyStyle()};var v=s.style;v.image=u.image,v.x=n,v.y=i,v.width=r,v.height=o}h&&c&&((l=a.style).lineWidth=h,l.stroke=c,l.strokeOpacity=rt(t.strokeOpacity,1),l.lineDash=t.borderDash,l.lineDashOffset=t.borderDashOffset||0,a.strokeContainThreshold=0,a.hasFill()&&a.hasStroke()&&(l.strokeFirst=!0,l.lineWidth*=2));var m=(a||s).style;m.shadowBlur=t.shadowBlur||0,m.shadowColor=t.shadowColor||"transparent",m.shadowOffsetX=t.shadowOffsetX||0,m.shadowOffsetY=t.shadowOffsetY||0,m.opacity=ot(t.opacity,e.opacity,1)},e.makeFont=function(t){var e="";return $s(t)&&(e=[t.fontStyle,t.fontWeight,qs(t.fontSize),t.fontFamily||"sans-serif"].join(" ")),e&&ut(e)||t.textFont||t.font},e}(Da),Us={left:!0,right:1,center:1},Zs={top:1,bottom:1,middle:1},js=["fontStyle","fontWeight","fontSize","fontFamily"];function qs(t){return"string"!=typeof t||-1===t.indexOf("px")&&-1===t.indexOf("rem")&&-1===t.indexOf("em")?isNaN(+t)?"12px":t+"px":t}function Ks(t,e){for(var n=0;n=0,o=!1;if(t instanceof ks){var a=ll(t),s=r&&a.selectFill||a.normalFill,l=r&&a.selectStroke||a.normalStroke;if(ml(s)||ml(l)){var u=(i=i||{}).style||{};"inherit"===u.fill?(o=!0,i=A({},i),(u=A({},u)).fill=s):!ml(u.fill)&&ml(s)?(o=!0,i=A({},i),(u=A({},u)).fill=si(s)):!ml(u.stroke)&&ml(l)&&(o||(i=A({},i),u=A({},u)),u.stroke=si(l)),i.style=u}}if(i&&null==i.z2){o||(i=A({},i));var h=t.z2EmphasisLift;i.z2=t.z2+(null!=h?h:pl)}return i}(this,0,e,n);if("blur"===t)return function(t,e,n){var i=P(t.currentStates,e)>=0,r=t.style.opacity,o=i?null:function(t,e,n,i){for(var r=t.style,o={},a=0;a0){var o={dataIndex:r,seriesIndex:t.seriesIndex};null!=i&&(o.dataType=i),e.push(o)}}))})),e}function Ul(t,e,n){Jl(t,!0),Cl(t,kl),jl(t,e,n)}function Zl(t,e,n,i){i?function(t){Jl(t,!1)}(t):Ul(t,e,n)}function jl(t,e,n){var i=rl(t);null!=e?(i.focus=e,i.blurScope=n):i.focus&&(i.focus=null)}var ql=["emphasis","blur","select"],Kl={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function $l(t,e,n,i){n=n||"itemStyle";for(var r=0;r1&&(a*=su(f),s*=su(f));var g=(r===o?-1:1)*su((a*a*(s*s)-a*a*(d*d)-s*s*(p*p))/(a*a*(d*d)+s*s*(p*p)))||0,y=g*a*d/s,v=g*-s*p/a,m=(t+n)/2+uu(c)*y-lu(c)*v,x=(e+i)/2+lu(c)*y+uu(c)*v,_=du([1,0],[(p-y)/a,(d-v)/s]),b=[(p-y)/a,(d-v)/s],w=[(-1*p-y)/a,(-1*d-v)/s],S=du(b,w);if(pu(b,w)<=-1&&(S=hu),pu(b,w)>=1&&(S=0),S<0){var M=Math.round(S/hu*1e6)/1e6;S=2*hu+M%2*hu}h.addData(u,m,x,a,s,_,S,c,o)}var gu=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,yu=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;var vu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.applyTransform=function(t){},e}(ks);function mu(t){return null!=t.setData}function xu(t,e){var n=function(t){var e=new hs;if(!t)return e;var n,i=0,r=0,o=i,a=r,s=hs.CMD,l=t.match(gu);if(!l)return e;for(var u=0;uk*k+L*L&&(M=T,I=C),{cx:M,cy:I,x0:-h,y0:-c,x1:M*(r/b-1),y1:I*(r/b-1)}}function Vu(t,e){var n,i=Ru(e.r,0),r=Ru(e.r0||0,0),o=i>0;if(o||r>0){if(o||(i=r,r=0),r>i){var a=i;i=r,r=a}var s=e.startAngle,l=e.endAngle;if(!isNaN(s)&&!isNaN(l)){var u=e.cx,h=e.cy,c=!!e.clockwise,p=Pu(l-s),d=p>Cu&&p%Cu;if(d>Eu&&(p=d),i>Eu)if(p>Cu-Eu)t.moveTo(u+i*Au(s),h+i*Du(s)),t.arc(u,h,i,s,l,!c),r>Eu&&(t.moveTo(u+r*Au(l),h+r*Du(l)),t.arc(u,h,r,l,s,c));else{var f=void 0,g=void 0,y=void 0,v=void 0,m=void 0,x=void 0,_=void 0,b=void 0,w=void 0,S=void 0,M=void 0,I=void 0,T=void 0,C=void 0,D=void 0,A=void 0,k=i*Au(s),L=i*Du(s),P=r*Au(l),O=r*Du(l),R=p>Eu;if(R){var N=e.cornerRadius;N&&(n=function(t){var e;if(Y(t)){var n=t.length;if(!n)return t;e=1===n?[t[0],t[0],0,0]:2===n?[t[0],t[0],t[1],t[1]]:3===n?t.concat(t[2]):t}else e=[t,t,t,t];return e}(N),f=n[0],g=n[1],y=n[2],v=n[3]);var E=Pu(i-r)/2;if(m=Nu(E,y),x=Nu(E,v),_=Nu(E,f),b=Nu(E,g),M=w=Ru(m,x),I=S=Ru(_,b),(w>Eu||S>Eu)&&(T=i*Au(l),C=i*Du(l),D=r*Au(s),A=r*Du(s),pEu){var X=Nu(y,M),U=Nu(v,M),Z=zu(D,A,k,L,i,X,c),j=zu(T,C,P,O,i,U,c);t.moveTo(u+Z.cx+Z.x0,h+Z.cy+Z.y0),M0&&t.arc(u+Z.cx,h+Z.cy,X,Lu(Z.y0,Z.x0),Lu(Z.y1,Z.x1),!c),t.arc(u,h,i,Lu(Z.cy+Z.y1,Z.cx+Z.x1),Lu(j.cy+j.y1,j.cx+j.x1),!c),U>0&&t.arc(u+j.cx,h+j.cy,U,Lu(j.y1,j.x1),Lu(j.y0,j.x0),!c))}else t.moveTo(u+k,h+L),t.arc(u,h,i,s,l,!c);else t.moveTo(u+k,h+L);if(r>Eu&&R)if(I>Eu){X=Nu(f,I),Z=zu(P,O,T,C,r,-(U=Nu(g,I)),c),j=zu(k,L,D,A,r,-X,c);t.lineTo(u+Z.cx+Z.x0,h+Z.cy+Z.y0),I0&&t.arc(u+Z.cx,h+Z.cy,U,Lu(Z.y0,Z.x0),Lu(Z.y1,Z.x1),!c),t.arc(u,h,r,Lu(Z.cy+Z.y1,Z.cx+Z.x1),Lu(j.cy+j.y1,j.cx+j.x1),c),X>0&&t.arc(u+j.cx,h+j.cy,X,Lu(j.y1,j.x1),Lu(j.y0,j.x0),!c))}else t.lineTo(u+P,h+O),t.arc(u,h,r,l,s,c);else t.lineTo(u+P,h+O)}else t.moveTo(u,h);t.closePath()}}}var Bu=function(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0,this.cornerRadius=0},Fu=function(t){function e(e){return t.call(this,e)||this}return n(e,t),e.prototype.getDefaultShape=function(){return new Bu},e.prototype.buildPath=function(t,e){Vu(t,e)},e.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},e}(ks);Fu.prototype.type="sector";var Gu=function(){this.cx=0,this.cy=0,this.r=0,this.r0=0},Wu=function(t){function e(e){return t.call(this,e)||this}return n(e,t),e.prototype.getDefaultShape=function(){return new Gu},e.prototype.buildPath=function(t,e){var n=e.cx,i=e.cy,r=2*Math.PI;t.moveTo(n+e.r,i),t.arc(n,i,e.r,0,r,!1),t.moveTo(n+e.r0,i),t.arc(n,i,e.r0,0,r,!0)},e}(ks);function Hu(t,e,n){var i=e.smooth,r=e.points;if(r&&r.length>=2){if(i){var o=function(t,e,n,i){var r,o,a,s,l=[],u=[],h=[],c=[];if(i){a=[1/0,1/0],s=[-1/0,-1/0];for(var p=0,d=t.length;plh[1]){if(a=!1,r)return a;var u=Math.abs(lh[0]-sh[1]),h=Math.abs(sh[0]-lh[1]);Math.min(u,h)>i.len()&&(u0){var c={duration:h.duration,delay:h.delay||0,easing:h.easing,done:o,force:!!o||!!a,setToFinal:!u,scope:t,during:a};l?e.animateFrom(n,c):e.animateTo(n,c)}else e.stopAnimation(),!l&&e.attr(n),a&&a(1),o&&o()}function vh(t,e,n,i,r,o){yh("update",t,e,n,i,r,o)}function mh(t,e,n,i,r,o){yh("enter",t,e,n,i,r,o)}function xh(t){if(!t.__zr)return!0;for(var e=0;eMath.abs(o[1])?o[0]>0?"right":"left":o[1]>0?"bottom":"top"}function Wh(t){return!t.isGroup}function Hh(t,e,n){if(t&&e){var i,r=(i={},t.traverse((function(t){Wh(t)&&t.anid&&(i[t.anid]=t)})),i);e.traverse((function(t){if(Wh(t)&&t.anid){var e=r[t.anid];if(e){var i=o(t);t.attr(o(e)),vh(t,i,n,rl(t).dataIndex)}}}))}function o(t){var e={x:t.x,y:t.y,rotation:t.rotation};return function(t){return null!=t.shape}(t)&&(e.shape=A({},t.shape)),e}}function Yh(t,e){return z(t,(function(t){var n=t[0];n=Mh(n,e.x),n=Ih(n,e.x+e.width);var i=t[1];return i=Mh(i,e.y),[n,i=Ih(i,e.y+e.height)]}))}function Xh(t,e){var n=Mh(t.x,e.x),i=Ih(t.x+t.width,e.x+e.width),r=Mh(t.y,e.y),o=Ih(t.y+t.height,e.y+e.height);if(i>=n&&o>=r)return{x:n,y:r,width:i-n,height:o-r}}function Uh(t,e,n){var i=A({rectHover:!0},e),r=i.style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},t)return 0===t.indexOf("image://")?(r.image=t.slice(8),k(r,n),new Ns(i)):Ph(t.replace("path://",""),i,n,"center")}function Zh(t,e,n,i,r){for(var o=0,a=r[r.length-1];o=-1e-6)return!1;var f=t-r,g=e-o,y=qh(f,g,u,h)/d;if(y<0||y>1)return!1;var v=qh(f,g,c,p)/d;return!(v<0||v>1)}function qh(t,e,n,i){return t*i-n*e}function Kh(t){var e=t.itemTooltipOption,n=t.componentModel,i=t.itemName,r=U(e)?{formatter:e}:e,o=n.mainType,a=n.componentIndex,s={componentType:o,name:i,$vars:["name"]};s[o+"Index"]=a;var l=t.formatterParamsExtra;l&&E(G(l),(function(t){_t(s,t)||(s[t]=l[t],s.$vars.push(t))}));var u=rl(t.el);u.componentMainType=o,u.componentIndex=a,u.tooltipConfig={name:i,option:k({content:i,encodeHTMLContent:!0,formatterParams:s},r)}}function $h(t,e){var n;t.isGroup&&(n=e(t)),n||t.traverse(e)}function Jh(t,e){if(t)if(Y(t))for(var n=0;n-1?Lc:Oc;function zc(t,e){t=t.toUpperCase(),Nc[t]=new Cc(e),Rc[t]=e}function Vc(t){return Nc[t]}zc(Pc,{time:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],monthAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayOfWeekAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},legend:{selector:{all:"All",inverse:"Inv"}},toolbox:{brush:{title:{rect:"Box Select",polygon:"Lasso Select",lineX:"Horizontally Select",lineY:"Vertically Select",keep:"Keep Selections",clear:"Clear Selections"}},dataView:{title:"Data View",lang:["Data View","Close","Refresh"]},dataZoom:{title:{zoom:"Zoom",back:"Zoom Reset"}},magicType:{title:{line:"Switch to Line Chart",bar:"Switch to Bar Chart",stack:"Stack",tiled:"Tile"}},restore:{title:"Restore"},saveAsImage:{title:"Save as Image",lang:["Right Click to Save Image"]}},series:{typeNames:{pie:"Pie chart",bar:"Bar chart",line:"Line chart",scatter:"Scatter plot",effectScatter:"Ripple scatter plot",radar:"Radar chart",tree:"Tree",treemap:"Treemap",boxplot:"Boxplot",candlestick:"Candlestick",k:"K line chart",heatmap:"Heat map",map:"Map",parallel:"Parallel coordinate map",lines:"Line graph",graph:"Relationship graph",sankey:"Sankey diagram",funnel:"Funnel chart",gauge:"Gauge",pictorialBar:"Pictorial bar",themeRiver:"Theme River Map",sunburst:"Sunburst",custom:"Custom chart",chart:"Chart"}},aria:{general:{withTitle:'This is a chart about "{title}"',withoutTitle:"This is a chart"},series:{single:{prefix:"",withName:" with type {seriesType} named {seriesName}.",withoutName:" with type {seriesType}."},multiple:{prefix:". It consists of {seriesCount} series count.",withName:" The {seriesId} series is a {seriesType} representing {seriesName}.",withoutName:" The {seriesId} series is a {seriesType}.",separator:{middle:"",end:""}}},data:{allData:"The data is as follows: ",partialData:"The first {displayCnt} items are: ",withName:"the data for {name} is {value}",withoutName:"{value}",separator:{middle:", ",end:". "}}}}),zc(Lc,{time:{month:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthAbbr:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],dayOfWeek:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayOfWeekAbbr:["日","一","二","三","四","五","六"]},legend:{selector:{all:"全选",inverse:"反选"}},toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图",custom:"自定义图表",chart:"图表"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表,"},series:{single:{prefix:"",withName:"图表类型是{seriesType},表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType},",withoutName:"第{seriesId}个系列是一个{seriesType},",separator:{middle:";",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:",",end:""}}}});var Bc=1e3,Fc=6e4,Gc=36e5,Wc=864e5,Hc=31536e6,Yc={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}"},Xc="{yyyy}-{MM}-{dd}",Uc={year:"{yyyy}",month:"{yyyy}-{MM}",day:Xc,hour:Xc+" "+Yc.hour,minute:Xc+" "+Yc.minute,second:Xc+" "+Yc.second,millisecond:Yc.none},Zc=["year","month","day","hour","minute","second","millisecond"],jc=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function qc(t,e){return"0000".substr(0,e-(t+="").length)+t}function Kc(t){switch(t){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return t}}function $c(t){return t===Kc(t)}function Jc(t,e,n,i){var r=uo(t),o=r[ep(n)](),a=r[np(n)]()+1,s=Math.floor((a-1)/3)+1,l=r[ip(n)](),u=r["get"+(n?"UTC":"")+"Day"](),h=r[rp(n)](),c=(h-1)%12+1,p=r[op(n)](),d=r[ap(n)](),f=r[sp(n)](),g=h>=12?"pm":"am",y=g.toUpperCase(),v=(i instanceof Cc?i:Vc(i||Ec)||Nc[Oc]).getModel("time"),m=v.get("month"),x=v.get("monthAbbr"),_=v.get("dayOfWeek"),b=v.get("dayOfWeekAbbr");return(e||"").replace(/{a}/g,g+"").replace(/{A}/g,y+"").replace(/{yyyy}/g,o+"").replace(/{yy}/g,qc(o%100+"",2)).replace(/{Q}/g,s+"").replace(/{MMMM}/g,m[a-1]).replace(/{MMM}/g,x[a-1]).replace(/{MM}/g,qc(a,2)).replace(/{M}/g,a+"").replace(/{dd}/g,qc(l,2)).replace(/{d}/g,l+"").replace(/{eeee}/g,_[u]).replace(/{ee}/g,b[u]).replace(/{e}/g,u+"").replace(/{HH}/g,qc(h,2)).replace(/{H}/g,h+"").replace(/{hh}/g,qc(c+"",2)).replace(/{h}/g,c+"").replace(/{mm}/g,qc(p,2)).replace(/{m}/g,p+"").replace(/{ss}/g,qc(d,2)).replace(/{s}/g,d+"").replace(/{SSS}/g,qc(f,3)).replace(/{S}/g,f+"")}function Qc(t,e){var n=uo(t),i=n[np(e)]()+1,r=n[ip(e)](),o=n[rp(e)](),a=n[op(e)](),s=n[ap(e)](),l=0===n[sp(e)](),u=l&&0===s,h=u&&0===a,c=h&&0===o,p=c&&1===r;return p&&1===i?"year":p?"month":c?"day":h?"hour":u?"minute":l?"second":"millisecond"}function tp(t,e,n){var i=j(t)?uo(t):t;switch(e=e||Qc(t,n)){case"year":return i[ep(n)]();case"half-year":return i[np(n)]()>=6?1:0;case"quarter":return Math.floor((i[np(n)]()+1)/4);case"month":return i[np(n)]();case"day":return i[ip(n)]();case"half-day":return i[rp(n)]()/24;case"hour":return i[rp(n)]();case"minute":return i[op(n)]();case"second":return i[ap(n)]();case"millisecond":return i[sp(n)]()}}function ep(t){return t?"getUTCFullYear":"getFullYear"}function np(t){return t?"getUTCMonth":"getMonth"}function ip(t){return t?"getUTCDate":"getDate"}function rp(t){return t?"getUTCHours":"getHours"}function op(t){return t?"getUTCMinutes":"getMinutes"}function ap(t){return t?"getUTCSeconds":"getSeconds"}function sp(t){return t?"getUTCMilliseconds":"getMilliseconds"}function lp(t){return t?"setUTCFullYear":"setFullYear"}function up(t){return t?"setUTCMonth":"setMonth"}function hp(t){return t?"setUTCDate":"setDate"}function cp(t){return t?"setUTCHours":"setHours"}function pp(t){return t?"setUTCMinutes":"setMinutes"}function dp(t){return t?"setUTCSeconds":"setSeconds"}function fp(t){return t?"setUTCMilliseconds":"setMilliseconds"}function gp(t){if(!vo(t))return U(t)?t:"-";var e=(t+"").split(".");return e[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(e.length>1?"."+e[1]:"")}function yp(t,e){return t=(t||"").toLowerCase().replace(/-(.)/g,(function(t,e){return e.toUpperCase()})),e&&t&&(t=t.charAt(0).toUpperCase()+t.slice(1)),t}var vp=st;function mp(t,e,n){function i(t){return t&&ut(t)?t:"-"}function r(t){return!(null==t||isNaN(t)||!isFinite(t))}var o="time"===e,a=t instanceof Date;if(o||a){var s=o?uo(t):t;if(!isNaN(+s))return Jc(s,"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}",n);if(a)return"-"}if("ordinal"===e)return Z(t)?i(t):j(t)&&r(t)?t+"":"-";var l=yo(t);return r(l)?gp(l):Z(t)?i(t):"boolean"==typeof t?t+"":"-"}var xp=["a","b","c","d","e","f","g"],_p=function(t,e){return"{"+t+(null==e?"":e)+"}"};function bp(t,e,n){Y(e)||(e=[e]);var i=e.length;if(!i)return"";for(var r=e[0].$vars||[],o=0;o':'':{renderMode:o,content:"{"+(n.markerId||"markerX")+"|} ",style:"subItem"===r?{width:4,height:4,borderRadius:2,backgroundColor:i}:{width:10,height:10,borderRadius:5,backgroundColor:i}}:""}function Sp(t,e){return e=e||"transparent",U(t)?t:q(t)&&t.colorStops&&(t.colorStops[0]||{}).color||e}function Mp(t,e){if("_blank"===e||"blank"===e){var n=window.open();n.opener=null,n.location.href=t}else window.open(t,e)}var Ip=E,Tp=["left","right","top","bottom","width","height"],Cp=[["width","left","right"],["height","top","bottom"]];function Dp(t,e,n,i,r){var o=0,a=0;null==i&&(i=1/0),null==r&&(r=1/0);var s=0;e.eachChild((function(l,u){var h,c,p=l.getBoundingRect(),d=e.childAt(u+1),f=d&&d.getBoundingRect();if("horizontal"===t){var g=p.width+(f?-f.x+p.x:0);(h=o+g)>i||l.newline?(o=0,h=g,a+=s+n,s=p.height):s=Math.max(s,p.height)}else{var y=p.height+(f?-f.y+p.y:0);(c=a+y)>r||l.newline?(o+=s+n,a=0,c=y,s=p.width):s=Math.max(s,p.width)}l.newline||(l.x=o,l.y=a,l.markRedraw(),"horizontal"===t?o=h+n:a=c+n)}))}var Ap=Dp;H(Dp,"vertical"),H(Dp,"horizontal");function kp(t,e,n){n=vp(n||0);var i=e.width,r=e.height,o=$r(t.left,i),a=$r(t.top,r),s=$r(t.right,i),l=$r(t.bottom,r),u=$r(t.width,i),h=$r(t.height,r),c=n[2]+n[0],p=n[1]+n[3],d=t.aspect;switch(isNaN(u)&&(u=i-s-p-o),isNaN(h)&&(h=r-l-c-a),null!=d&&(isNaN(u)&&isNaN(h)&&(d>i/r?u=.8*i:h=.8*r),isNaN(u)&&(u=d*h),isNaN(h)&&(h=u/d)),isNaN(o)&&(o=i-s-u-p),isNaN(a)&&(a=r-l-h-c),t.left||t.right){case"center":o=i/2-u/2-n[3];break;case"right":o=i-u-p}switch(t.top||t.bottom){case"middle":case"center":a=r/2-h/2-n[0];break;case"bottom":a=r-h-c}o=o||0,a=a||0,isNaN(u)&&(u=i-p-o-(s||0)),isNaN(h)&&(h=r-c-a-(l||0));var f=new ze(o+n[3],a+n[0],u,h);return f.margin=n,f}function Lp(t,e,n,i,r,o){var a,s=!r||!r.hv||r.hv[0],l=!r||!r.hv||r.hv[1],u=r&&r.boundingMode||"all";if((o=o||t).x=t.x,o.y=t.y,!s&&!l)return!1;if("raw"===u)a="group"===t.type?new ze(0,0,+e.width||0,+e.height||0):t.getBoundingRect();else if(a=t.getBoundingRect(),t.needLocalTransform()){var h=t.getLocalTransform();(a=a.clone()).applyTransform(h)}var c=kp(k({width:a.width,height:a.height},e),n,i),p=s?c.x-a.x:0,d=l?c.y-a.y:0;return"raw"===u?(o.x=p,o.y=d):(o.x+=p,o.y+=d),o===t&&t.markRedraw(),!0}function Pp(t){var e=t.layoutMode||t.constructor.layoutMode;return q(e)?e:e?{type:e}:null}function Op(t,e,n){var i=n&&n.ignoreSize;!Y(i)&&(i=[i,i]);var r=a(Cp[0],0),o=a(Cp[1],1);function a(n,r){var o={},a=0,u={},h=0;if(Ip(n,(function(e){u[e]=t[e]})),Ip(n,(function(t){s(e,t)&&(o[t]=u[t]=e[t]),l(o,t)&&a++,l(u,t)&&h++})),i[r])return l(e,n[1])?u[n[2]]=null:l(e,n[2])&&(u[n[1]]=null),u;if(2!==h&&a){if(a>=2)return o;for(var c=0;c=0;a--)o=C(o,n[a],!0);e.defaultOption=o}return e.defaultOption},e.prototype.getReferringComponents=function(t,e){var n=t+"Index",i=t+"Id";return Yo(this.ecModel,t,{index:this.get(n,!0),id:this.get(i,!0)},e)},e.prototype.getBoxLayoutParams=function(){var t=this;return{left:t.get("left"),top:t.get("top"),right:t.get("right"),bottom:t.get("bottom"),width:t.get("width"),height:t.get("height")}},e.prototype.getZLevelKey=function(){return""},e.prototype.setZLevel=function(t){this.option.zlevel=t},e.protoInitialize=function(){var t=e.prototype;t.type="component",t.id="",t.name="",t.mainType="",t.subType="",t.componentIndex=0}(),e}(Cc);Jo(zp,Cc),na(zp),function(t){var e={};t.registerSubTypeDefaulter=function(t,n){var i=Ko(t);e[i.main]=n},t.determineSubType=function(n,i){var r=i.type;if(!r){var o=Ko(n).main;t.hasSubTypes(n)&&e[o]&&(r=e[o](i))}return r}}(zp),function(t,e){function n(t,e){return t[e]||(t[e]={predecessor:[],successor:[]}),t[e]}t.topologicalTravel=function(t,i,r,o){if(t.length){var a=function(t){var i={},r=[];return E(t,(function(o){var a=n(i,o),s=function(t,e){var n=[];return E(t,(function(t){P(e,t)>=0&&n.push(t)})),n}(a.originalDeps=e(o),t);a.entryCount=s.length,0===a.entryCount&&r.push(o),E(s,(function(t){P(a.predecessor,t)<0&&a.predecessor.push(t);var e=n(i,t);P(e.successor,t)<0&&e.successor.push(o)}))})),{graph:i,noEntryList:r}}(i),s=a.graph,l=a.noEntryList,u={};for(E(t,(function(t){u[t]=!0}));l.length;){var h=l.pop(),c=s[h],p=!!u[h];p&&(r.call(o,h,c.originalDeps.slice()),delete u[h]),E(c.successor,p?f:d)}E(u,(function(){var t="";throw new Error(t)}))}function d(t){s[t].entryCount--,0===s[t].entryCount&&l.push(t)}function f(t){u[t]=!0,d(t)}}}(zp,(function(t){var e=[];E(zp.getClassesByMainType(t),(function(t){e=e.concat(t.dependencies||t.prototype.dependencies||[])})),e=z(e,(function(t){return Ko(t).main})),"dataset"!==t&&P(e,"dataset")<=0&&e.unshift("dataset");return e}));var Vp="";"undefined"!=typeof navigator&&(Vp=navigator.platform||"");var Bp="rgba(0, 0, 0, 0.2)",Fp={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:Bp,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:Bp,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:Bp,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:Bp,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:Bp,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:Bp,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:Vp.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,stateAnimation:{duration:300,easing:"cubicOut"},animation:"auto",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicInOut",animationEasingUpdate:"cubicInOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1},Gp=yt(["tooltip","label","itemName","itemId","itemGroupId","itemChildGroupId","seriesName"]),Wp="original",Hp="arrayRows",Yp="objectRows",Xp="keyedColumns",Up="typedArray",Zp="unknown",jp="column",qp="row",Kp=1,$p=2,Jp=3,Qp=Vo();function td(t,e,n){var i={},r=nd(e);if(!r||!t)return i;var o,a,s=[],l=[],u=e.ecModel,h=Qp(u).datasetMap,c=r.uid+"_"+n.seriesLayoutBy;E(t=t.slice(),(function(e,n){var r=q(e)?e:t[n]={name:e};"ordinal"===r.type&&null==o&&(o=n,a=f(r)),i[r.name]=[]}));var p=h.get(c)||h.set(c,{categoryWayDim:a,valueWayDim:0});function d(t,e,n){for(var i=0;ie)return t[i];return t[n-1]}(i,a):n;if((h=h||n)&&h.length){var c=h[l];return r&&(u[r]=c),s.paletteIdx=(l+1)%h.length,c}}var fd="\0_ec_inner";var gd=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.init=function(t,e,n,i,r,o){i=i||{},this.option=null,this._theme=new Cc(i),this._locale=new Cc(r),this._optionManager=o},e.prototype.setOption=function(t,e,n){var i=md(e);this._optionManager.setOption(t,n,i),this._resetOption(null,i)},e.prototype.resetOption=function(t,e){return this._resetOption(t,md(e))},e.prototype._resetOption=function(t,e){var n=!1,i=this._optionManager;if(!t||"recreate"===t){var r=i.mountOption("recreate"===t);0,this.option&&"recreate"!==t?(this.restoreData(),this._mergeOption(r,e)):ld(this,r),n=!0}if("timeline"!==t&&"media"!==t||this.restoreData(),!t||"recreate"===t||"timeline"===t){var o=i.getTimelineOption(this);o&&(n=!0,this._mergeOption(o,e))}if(!t||"recreate"===t||"media"===t){var a=i.getMediaOption(this);a.length&&E(a,(function(t){n=!0,this._mergeOption(t,e)}),this)}return n},e.prototype.mergeOption=function(t){this._mergeOption(t,null)},e.prototype._mergeOption=function(t,e){var n=this.option,i=this._componentsMap,r=this._componentsCount,o=[],a=yt(),s=e&&e.replaceMergeMainTypeMap;Qp(this).datasetMap=yt(),E(t,(function(t,e){null!=t&&(zp.hasClass(e)?e&&(o.push(e),a.set(e,!0)):n[e]=null==n[e]?T(t):C(n[e],t,!0))})),s&&s.each((function(t,e){zp.hasClass(e)&&!a.get(e)&&(o.push(e),a.set(e,!0))})),zp.topologicalTravel(o,zp.getAllClassMainTypes(),(function(e){var o=function(t,e,n){var i=od.get(e);if(!i)return n;var r=i(t);return r?n.concat(r):n}(this,e,To(t[e])),a=i.get(e),l=a?s&&s.get(e)?"replaceMerge":"normalMerge":"replaceAll",u=Lo(a,o,l);(function(t,e,n){E(t,(function(t){var i=t.newOption;q(i)&&(t.keyInfo.mainType=e,t.keyInfo.subType=function(t,e,n,i){return e.type?e.type:n?n.subType:i.determineSubType(t,e)}(e,i,t.existing,n))}))})(u,e,zp),n[e]=null,i.set(e,null),r.set(e,0);var h,c=[],p=[],d=0;E(u,(function(t,n){var i=t.existing,r=t.newOption;if(r){var o="series"===e,a=zp.getClass(e,t.keyInfo.subType,!o);if(!a)return;if("tooltip"===e){if(h)return void 0;h=!0}if(i&&i.constructor===a)i.name=t.keyInfo.name,i.mergeOption(r,this),i.optionUpdated(r,!1);else{var s=A({componentIndex:n},t.keyInfo);A(i=new a(r,this,this,s),s),t.brandNew&&(i.__requireNewView=!0),i.init(r,this,this),i.optionUpdated(null,!0)}}else i&&(i.mergeOption({},this),i.optionUpdated({},!1));i?(c.push(i.option),p.push(i),d++):(c.push(void 0),p.push(void 0))}),this),n[e]=c,i.set(e,p),r.set(e,d),"series"===e&&ad(this)}),this),this._seriesIndices||ad(this)},e.prototype.getOption=function(){var t=T(this.option);return E(t,(function(e,n){if(zp.hasClass(n)){for(var i=To(e),r=i.length,o=!1,a=r-1;a>=0;a--)i[a]&&!Eo(i[a])?o=!0:(i[a]=null,!o&&r--);i.length=r,t[n]=i}})),delete t[fd],t},e.prototype.getTheme=function(){return this._theme},e.prototype.getLocaleModel=function(){return this._locale},e.prototype.setUpdatePayload=function(t){this._payload=t},e.prototype.getUpdatePayload=function(){return this._payload},e.prototype.getComponent=function(t,e){var n=this._componentsMap.get(t);if(n){var i=n[e||0];if(i)return i;if(null==e)for(var r=0;r=e:"max"===n?t<=e:t===e})(i[a],t,o)||(r=!1)}})),r}var Td=E,Cd=q,Dd=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function Ad(t){var e=t&&t.itemStyle;if(e)for(var n=0,i=Dd.length;n=0;g--){var y=t[g];if(s||(p=y.data.rawIndexOf(y.stackedByDimension,c)),p>=0){var v=y.data.getByRawIndex(y.stackResultDimension,p);if("all"===l||"positive"===l&&v>0||"negative"===l&&v<0||"samesign"===l&&d>=0&&v>0||"samesign"===l&&d<=0&&v<0){d=ro(d,v),f=v;break}}}return i[0]=d,i[1]=f,i}))}))}var Zd,jd,qd,Kd,$d,Jd=function(t){this.data=t.data||(t.sourceFormat===Xp?{}:[]),this.sourceFormat=t.sourceFormat||Zp,this.seriesLayoutBy=t.seriesLayoutBy||jp,this.startIndex=t.startIndex||0,this.dimensionsDetectedCount=t.dimensionsDetectedCount,this.metaRawOption=t.metaRawOption;var e=this.dimensionsDefine=t.dimensionsDefine;if(e)for(var n=0;nu&&(u=d)}s[0]=l,s[1]=u}},i=function(){return this._data?this._data.length/this._dimSize:0};function r(t){for(var e=0;e=0&&(s=o.interpolatedValue[l])}return null!=s?s+"":""})):void 0},t.prototype.getRawValue=function(t,e){return mf(this.getData(e),t)},t.prototype.formatTooltip=function(t,e,n){},t}();function bf(t){var e,n;return q(t)?t.type&&(n=t):e=t,{text:e,frag:n}}function wf(t){return new Sf(t)}var Sf=function(){function t(t){t=t||{},this._reset=t.reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0}return t.prototype.perform=function(t){var e,n=this._upstream,i=t&&t.skip;if(this._dirty&&n){var r=this.context;r.data=r.outputData=n.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!i&&(e=this._plan(this.context));var o,a=h(this._modBy),s=this._modDataCount||0,l=h(t&&t.modBy),u=t&&t.modDataCount||0;function h(t){return!(t>=1)&&(t=1),t}a===l&&s===u||(e="reset"),(this._dirty||"reset"===e)&&(this._dirty=!1,o=this._doReset(i)),this._modBy=l,this._modDataCount=u;var c=t&&t.step;if(this._dueEnd=n?n._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var p=this._dueIndex,d=Math.min(null!=c?this._dueIndex+c:1/0,this._dueEnd);if(!i&&(o||p1&&i>0?s:a}};return o;function a(){return e=t?null:oe},gte:function(t,e){return t>=e}},Af=function(){function t(t,e){if(!j(e)){var n="";0,wo(n)}this._opFn=Df[t],this._rvalFloat=yo(e)}return t.prototype.evaluate=function(t){return j(t)?this._opFn(t,this._rvalFloat):this._opFn(yo(t),this._rvalFloat)},t}(),kf=function(){function t(t,e){var n="desc"===t;this._resultLT=n?1:-1,null==e&&(e=n?"min":"max"),this._incomparable="min"===e?-1/0:1/0}return t.prototype.evaluate=function(t,e){var n=j(t)?t:yo(t),i=j(e)?e:yo(e),r=isNaN(n),o=isNaN(i);if(r&&(n=this._incomparable),o&&(i=this._incomparable),r&&o){var a=U(t),s=U(e);a&&(n=s?t:0),s&&(i=a?e:0)}return ni?-this._resultLT:0},t}(),Lf=function(){function t(t,e){this._rval=e,this._isEQ=t,this._rvalTypeof=typeof e,this._rvalFloat=yo(e)}return t.prototype.evaluate=function(t){var e=t===this._rval;if(!e){var n=typeof t;n===this._rvalTypeof||"number"!==n&&"number"!==this._rvalTypeof||(e=yo(t)===this._rvalFloat)}return this._isEQ?e:!e},t}();function Pf(t,e){return"eq"===t||"ne"===t?new Lf("eq"===t,e):_t(Df,t)?new Af(t,e):null}var Of=function(){function t(){}return t.prototype.getRawData=function(){throw new Error("not supported")},t.prototype.getRawDataItem=function(t){throw new Error("not supported")},t.prototype.cloneRawData=function(){},t.prototype.getDimensionInfo=function(t){},t.prototype.cloneAllDimensionInfo=function(){},t.prototype.count=function(){},t.prototype.retrieveValue=function(t,e){},t.prototype.retrieveValueFromItem=function(t,e){},t.prototype.convertValue=function(t,e){return If(t,e)},t}();function Rf(t){var e=t.sourceFormat;if(!Ff(e)){var n="";0,wo(n)}return t.data}function Nf(t){var e=t.sourceFormat,n=t.data;if(!Ff(e)){var i="";0,wo(i)}if(e===Hp){for(var r=[],o=0,a=n.length;o65535?Hf:Yf}function qf(t,e,n,i,r){var o=Zf[n||"float"];if(r){var a=t[e],s=a&&a.length;if(s!==i){for(var l=new o(i),u=0;ug[1]&&(g[1]=f)}return this._rawCount=this._count=s,{start:a,end:s}},t.prototype._initDataFromProvider=function(t,e,n){for(var i=this._provider,r=this._chunks,o=this._dimensions,a=o.length,s=this._rawExtent,l=z(o,(function(t){return t.property})),u=0;uy[1]&&(y[1]=g)}}!i.persistent&&i.clean&&i.clean(),this._rawCount=this._count=e,this._extent=[]},t.prototype.count=function(){return this._count},t.prototype.get=function(t,e){if(!(e>=0&&e=0&&e=this._rawCount||t<0)return-1;if(!this._indices)return t;var e=this._indices,n=e[t];if(null!=n&&nt))return o;r=o-1}}return-1},t.prototype.indicesOfNearest=function(t,e,n){var i=this._chunks[t],r=[];if(!i)return r;null==n&&(n=1/0);for(var o=1/0,a=-1,s=0,l=0,u=this.count();l=0&&a<0)&&(o=c,a=h,s=0),h===a&&(r[s++]=l))}return r.length=s,r},t.prototype.getIndices=function(){var t,e=this._indices;if(e){var n=e.constructor,i=this._count;if(n===Array){t=new n(i);for(var r=0;r=u&&x<=h||isNaN(x))&&(a[s++]=d),d++}p=!0}else if(2===r){f=c[i[0]];var y=c[i[1]],v=t[i[1]][0],m=t[i[1]][1];for(g=0;g=u&&x<=h||isNaN(x))&&(_>=v&&_<=m||isNaN(_))&&(a[s++]=d),d++}p=!0}}if(!p)if(1===r)for(g=0;g=u&&x<=h||isNaN(x))&&(a[s++]=b)}else for(g=0;gt[M][1])&&(w=!1)}w&&(a[s++]=e.getRawIndex(g))}return sy[1]&&(y[1]=g)}}}},t.prototype.lttbDownSample=function(t,e){var n,i,r,o=this.clone([t],!0),a=o._chunks[t],s=this.count(),l=0,u=Math.floor(1/e),h=this.getRawIndex(0),c=new(jf(this._rawCount))(Math.min(2*(Math.ceil(s/u)+2),s));c[l++]=h;for(var p=1;pn&&(n=i,r=I)}M>0&&M<_-x&&(c[l++]=Math.min(S,r),r=Math.max(S,r)),c[l++]=r,h=r}return c[l++]=this.getRawIndex(s-1),o._count=l,o._indices=c,o.getRawIndex=this._getRawIdx,o},t.prototype.minmaxDownSample=function(t,e){for(var n=this.clone([t],!0),i=n._chunks,r=Math.floor(1/e),o=i[t],a=this.count(),s=new(jf(this._rawCount))(2*Math.ceil(a/r)),l=0,u=0;ua&&(f=a-u);for(var g=0;gd&&(d=y,p=u+g)}var v=this.getRawIndex(h),m=this.getRawIndex(p);hu-d&&(s=u-d,a.length=s);for(var f=0;fh[1]&&(h[1]=y),c[p++]=v}return r._count=p,r._indices=c,r._updateGetRawIdx(),r},t.prototype.each=function(t,e){if(this._count)for(var n=t.length,i=this._chunks,r=0,o=this.count();ra&&(a=l)}return i=[o,a],this._extent[t]=i,i},t.prototype.getRawDataItem=function(t){var e=this.getRawIndex(t);if(this._provider.persistent)return this._provider.getItem(e);for(var n=[],i=this._chunks,r=0;r=0?this._indices[t]:-1},t.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},t.internalField=function(){function t(t,e,n,i){return If(t[i],this._dimensions[i])}Gf={arrayRows:t,objectRows:function(t,e,n,i){return If(t[e],this._dimensions[i])},keyedColumns:t,original:function(t,e,n,i){var r=t&&(null==t.value?t:t.value);return If(r instanceof Array?r[i]:r,this._dimensions[i])},typedArray:function(t,e,n,i){return t[i]}}}(),t}(),$f=function(){function t(t){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=t}return t.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},t.prototype._setLocalSource=function(t,e){this._sourceList=t,this._upstreamSignList=e,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},t.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},t.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},t.prototype._createSource=function(){this._setLocalSource([],[]);var t,e,n=this._sourceHost,i=this._getUpstreamSourceManagers(),r=!!i.length;if(Qf(n)){var o=n,a=void 0,s=void 0,l=void 0;if(r){var u=i[0];u.prepareSource(),a=(l=u.getSource()).data,s=l.sourceFormat,e=[u._getVersionSign()]}else s=$(a=o.get("data",!0))?Up:Wp,e=[];var h=this._getSourceMetaRawOption()||{},c=l&&l.metaRawOption||{},p=rt(h.seriesLayoutBy,c.seriesLayoutBy)||null,d=rt(h.sourceHeader,c.sourceHeader),f=rt(h.dimensions,c.dimensions);t=p!==c.seriesLayoutBy||!!d!=!!c.sourceHeader||f?[tf(a,{seriesLayoutBy:p,sourceHeader:d,dimensions:f},s)]:[]}else{var g=n;if(r){var y=this._applyTransform(i);t=y.sourceList,e=y.upstreamSignList}else{t=[tf(g.get("source",!0),this._getSourceMetaRawOption(),null)],e=[]}}this._setLocalSource(t,e)},t.prototype._applyTransform=function(t){var e,n=this._sourceHost,i=n.get("transform",!0),r=n.get("fromTransformResult",!0);if(null!=r){var o="";1!==t.length&&tg(o)}var a,s=[],l=[];return E(t,(function(t){t.prepareSource();var e=t.getSource(r||0),n="";null==r||e||tg(n),s.push(e),l.push(t._getVersionSign())})),i?e=function(t,e,n){var i=To(t),r=i.length,o="";r||wo(o);for(var a=0,s=r;a1||n>0&&!t.noHeader;return E(t.blocks,(function(t){var n=lg(t);n>=e&&(e=n+ +(i&&(!n||ag(t)&&!t.noHeader)))})),e}return 0}function ug(t,e,n,i){var r,o=e.noHeader,a=(r=lg(e),{html:ig[r],richText:rg[r]}),s=[],l=e.blocks||[];lt(!l||Y(l)),l=l||[];var u=t.orderMode;if(e.sortBlocks&&u){l=l.slice();var h={valueAsc:"asc",valueDesc:"desc"};if(_t(h,u)){var c=new kf(h[u],null);l.sort((function(t,e){return c.evaluate(t.sortParam,e.sortParam)}))}else"seriesDesc"===u&&l.reverse()}E(l,(function(n,r){var o=e.valueFormatter,l=sg(n)(o?A(A({},t),{valueFormatter:o}):t,n,r>0?a.html:0,i);null!=l&&s.push(l)}));var p="richText"===t.renderMode?s.join(a.richText):pg(i,s.join(""),o?n:a.html);if(o)return p;var d=mp(e.header,"ordinal",t.useUTC),f=ng(i,t.renderMode).nameStyle,g=eg(i);return"richText"===t.renderMode?dg(t,d,f)+a.richText+p:pg(i,'

'+re(d)+"
"+p,n)}function hg(t,e,n,i){var r=t.renderMode,o=e.noName,a=e.noValue,s=!e.markerType,l=e.name,u=t.useUTC,h=e.valueFormatter||t.valueFormatter||function(t){return z(t=Y(t)?t:[t],(function(t,e){return mp(t,Y(d)?d[e]:d,u)}))};if(!o||!a){var c=s?"":t.markupStyleCreator.makeTooltipMarker(e.markerType,e.markerColor||"#333",r),p=o?"":mp(l,"ordinal",u),d=e.valueType,f=a?[]:h(e.value,e.dataIndex),g=!s||!o,y=!s&&o,v=ng(i,r),m=v.nameStyle,x=v.valueStyle;return"richText"===r?(s?"":c)+(o?"":dg(t,p,m))+(a?"":function(t,e,n,i,r){var o=[r],a=i?10:20;return n&&o.push({padding:[0,0,0,a],align:"right"}),t.markupStyleCreator.wrapRichTextStyle(Y(e)?e.join(" "):e,o)}(t,f,g,y,x)):pg(i,(s?"":c)+(o?"":function(t,e,n){return''+re(t)+""}(p,!s,m))+(a?"":function(t,e,n,i){var r=n?"10px":"20px",o=e?"float:right;margin-left:"+r:"";return t=Y(t)?t:[t],''+z(t,(function(t){return re(t)})).join("  ")+""}(f,g,y,x)),n)}}function cg(t,e,n,i,r,o){if(t)return sg(t)({useUTC:r,renderMode:n,orderMode:i,markupStyleCreator:e,valueFormatter:t.valueFormatter},t,0,o)}function pg(t,e,n){return'
'+e+'
'}function dg(t,e,n){return t.markupStyleCreator.wrapRichTextStyle(e,n)}function fg(t,e){return Sp(t.getData().getItemVisual(e,"style")[t.visualDrawType])}function gg(t,e){var n=t.get("padding");return null!=n?n:"richText"===e?[8,10]:10}var yg=function(){function t(){this.richTextStyles={},this._nextStyleNameId=mo()}return t.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},t.prototype.makeTooltipMarker=function(t,e,n){var i="richText"===n?this._generateStyleName():null,r=wp({color:e,type:t,renderMode:n,markerId:i});return U(r)?r:(this.richTextStyles[i]=r.style,r.content)},t.prototype.wrapRichTextStyle=function(t,e){var n={};Y(e)?E(e,(function(t){return A(n,t)})):A(n,e);var i=this._generateStyleName();return this.richTextStyles[i]=n,"{"+i+"|"+t+"}"},t}();function vg(t){var e,n,i,r,o=t.series,a=t.dataIndex,s=t.multipleSeries,l=o.getData(),u=l.mapDimensionsAll("defaultedTooltip"),h=u.length,c=o.getRawValue(a),p=Y(c),d=fg(o,a);if(h>1||p&&!h){var f=function(t,e,n,i,r){var o=e.getData(),a=V(t,(function(t,e,n){var i=o.getDimensionInfo(n);return t||i&&!1!==i.tooltip&&null!=i.displayName}),!1),s=[],l=[],u=[];function h(t,e){var n=o.getDimensionInfo(e);n&&!1!==n.otherDims.tooltip&&(a?u.push(og("nameValue",{markerType:"subItem",markerColor:r,name:n.displayName,value:t,valueType:n.type})):(s.push(t),l.push(n.type)))}return i.length?E(i,(function(t){h(mf(o,n,t),t)})):E(t,h),{inlineValues:s,inlineValueTypes:l,blocks:u}}(c,o,a,u,d);e=f.inlineValues,n=f.inlineValueTypes,i=f.blocks,r=f.inlineValues[0]}else if(h){var g=l.getDimensionInfo(u[0]);r=e=mf(l,a,u[0]),n=g.type}else r=e=p?c[0]:c;var y=No(o),v=y&&o.name||"",m=l.getName(a),x=s?v:m;return og("section",{header:v,noHeader:s||!y,sortParam:r,blocks:[og("nameValue",{markerType:"item",markerColor:d,name:x,noName:!ut(x),value:e,valueType:n,dataIndex:a})].concat(i||[])})}var mg=Vo();function xg(t,e){return t.getName(e)||t.getId(e)}var _g="__universalTransitionEnabled",bg=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._selectedDataIndicesMap={},e}return n(e,t),e.prototype.init=function(t,e,n){this.seriesIndex=this.componentIndex,this.dataTask=wf({count:Sg,reset:Mg}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(t,n),(mg(this).sourceManager=new $f(this)).prepareSource();var i=this.getInitialData(t,n);Tg(i,this),this.dataTask.context.data=i,mg(this).dataBeforeProcessed=i,wg(this),this._initSelectedMapFromData(i)},e.prototype.mergeDefaultAndTheme=function(t,e){var n=Pp(this),i=n?Rp(t):{},r=this.subType;zp.hasClass(r)&&(r+="Series"),C(t,e.getTheme().get(this.subType)),C(t,this.getDefaultOption()),Co(t,"label",["show"]),this.fillDataTextStyle(t.data),n&&Op(t,i,n)},e.prototype.mergeOption=function(t,e){t=C(this.option,t,!0),this.fillDataTextStyle(t.data);var n=Pp(this);n&&Op(this.option,t,n);var i=mg(this).sourceManager;i.dirty(),i.prepareSource();var r=this.getInitialData(t,e);Tg(r,this),this.dataTask.dirty(),this.dataTask.context.data=r,mg(this).dataBeforeProcessed=r,wg(this),this._initSelectedMapFromData(r)},e.prototype.fillDataTextStyle=function(t){if(t&&!$(t))for(var e=["show"],n=0;nthis.getShallow("animationThreshold")&&(e=!1),!!e},e.prototype.restoreData=function(){this.dataTask.dirty()},e.prototype.getColorFromPalette=function(t,e,n){var i=this.ecModel,r=cd.prototype.getColorFromPalette.call(this,t,e,n);return r||(r=i.getColorFromPalette(t,e,n)),r},e.prototype.coordDimToDataDim=function(t){return this.getRawData().mapDimensionsAll(t)},e.prototype.getProgressive=function(){return this.get("progressive")},e.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},e.prototype.select=function(t,e){this._innerSelect(this.getData(e),t)},e.prototype.unselect=function(t,e){var n=this.option.selectedMap;if(n){var i=this.option.selectedMode,r=this.getData(e);if("series"===i||"all"===n)return this.option.selectedMap={},void(this._selectedDataIndicesMap={});for(var o=0;o=0&&n.push(r)}return n},e.prototype.isSelected=function(t,e){var n=this.option.selectedMap;if(!n)return!1;var i=this.getData(e);return("all"===n||n[xg(i,t)])&&!i.getItemModel(t).get(["select","disabled"])},e.prototype.isUniversalTransitionEnabled=function(){if(this[_g])return!0;var t=this.option.universalTransition;return!!t&&(!0===t||t&&t.enabled)},e.prototype._innerSelect=function(t,e){var n,i,r=this.option,o=r.selectedMode,a=e.length;if(o&&a)if("series"===o)r.selectedMap="all";else if("multiple"===o){q(r.selectedMap)||(r.selectedMap={});for(var s=r.selectedMap,l=0;l0&&this._innerSelect(t,e)}},e.registerClass=function(t){return zp.registerClass(t)},e.protoInitialize=function(){var t=e.prototype;t.type="series.__base__",t.seriesIndex=0,t.ignoreStyleOnData=!1,t.hasSymbolVisual=!1,t.defaultSymbol="circle",t.visualStyleAccessPath="itemStyle",t.visualDrawType="fill"}(),e}(zp);function wg(t){var e=t.name;No(t)||(t.name=function(t){var e=t.getRawData(),n=e.mapDimensionsAll("seriesName"),i=[];return E(n,(function(t){var n=e.getDimensionInfo(t);n.displayName&&i.push(n.displayName)})),i.join(" ")}(t)||e)}function Sg(t){return t.model.getRawData().count()}function Mg(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),Ig}function Ig(t,e){e.outputData&&t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function Tg(t,e){E(vt(t.CHANGABLE_METHODS,t.DOWNSAMPLE_METHODS),(function(n){t.wrapMethod(n,H(Cg,e))}))}function Cg(t,e){var n=Dg(t);return n&&n.setOutputEnd((e||this).count()),e}function Dg(t){var e=(t.ecModel||{}).scheduler,n=e&&e.getPipeline(t.uid);if(n){var i=n.currentTask;if(i){var r=i.agentStubMap;r&&(i=r.get(t.uid))}return i}}R(bg,_f),R(bg,cd),Jo(bg,zp);var Ag=function(){function t(){this.group=new Br,this.uid=Ac("viewComponent")}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,i){},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,n,i){},t.prototype.updateLayout=function(t,e,n,i){},t.prototype.updateVisual=function(t,e,n,i){},t.prototype.toggleBlurSeries=function(t,e,n){},t.prototype.eachRendered=function(t){var e=this.group;e&&e.traverse(t)},t}();function kg(){var t=Vo();return function(e){var n=t(e),i=e.pipelineContext,r=!!n.large,o=!!n.progressiveRender,a=n.large=!(!i||!i.large),s=n.progressiveRender=!(!i||!i.progressiveRender);return!(r===a&&o===s)&&"reset"}}$o(Ag),na(Ag);var Lg=Vo(),Pg=kg(),Og=function(){function t(){this.group=new Br,this.uid=Ac("viewChart"),this.renderTask=wf({plan:Eg,reset:zg}),this.renderTask.context={view:this}}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,i){0},t.prototype.highlight=function(t,e,n,i){var r=t.getData(i&&i.dataType);r&&Ng(r,i,"emphasis")},t.prototype.downplay=function(t,e,n,i){var r=t.getData(i&&i.dataType);r&&Ng(r,i,"normal")},t.prototype.remove=function(t,e){this.group.removeAll()},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.updateLayout=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.updateVisual=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.eachRendered=function(t){Jh(this.group,t)},t.markUpdateMethod=function(t,e){Lg(t).updateMethod=e},t.protoInitialize=void(t.prototype.type="chart"),t}();function Rg(t,e,n){t&&Ql(t)&&("emphasis"===e?Ol:Rl)(t,n)}function Ng(t,e,n){var i=zo(t,e),r=e&&null!=e.highlightKey?function(t){var e=sl[t];return null==e&&al<=32&&(e=sl[t]=al++),e}(e.highlightKey):null;null!=i?E(To(i),(function(e){Rg(t.getItemGraphicEl(e),n,r)})):t.eachItemGraphicEl((function(t){Rg(t,n,r)}))}function Eg(t){return Pg(t.model)}function zg(t){var e=t.model,n=t.ecModel,i=t.api,r=t.payload,o=e.pipelineContext.progressiveRender,a=t.view,s=r&&Lg(r).updateMethod,l=o?"incrementalPrepareRender":s&&a[s]?s:"render";return"render"!==l&&a[l](e,n,i,r),Vg[l]}$o(Og),na(Og);var Vg={incrementalPrepareRender:{progress:function(t,e){e.view.incrementalRender(t,e.model,e.ecModel,e.api,e.payload)}},render:{forceFirstProgress:!0,progress:function(t,e){e.view.render(e.model,e.ecModel,e.api,e.payload)}}},Bg="\0__throttleOriginMethod",Fg="\0__throttleRate",Gg="\0__throttleType";function Wg(t,e,n){var i,r,o,a,s,l=0,u=0,h=null;function c(){u=(new Date).getTime(),h=null,t.apply(o,a||[])}e=e||0;var p=function(){for(var t=[],p=0;p=0?c():h=setTimeout(c,-r),l=i};return p.clear=function(){h&&(clearTimeout(h),h=null)},p.debounceNextCall=function(t){s=t},p}function Hg(t,e,n,i){var r=t[e];if(r){var o=r[Bg]||r,a=r[Gg];if(r[Fg]!==n||a!==i){if(null==n||!i)return t[e]=o;(r=t[e]=Wg(o,n,"debounce"===i))[Bg]=o,r[Gg]=i,r[Fg]=n}return r}}function Yg(t,e){var n=t[e];n&&n[Bg]&&(n.clear&&n.clear(),t[e]=n[Bg])}var Xg=Vo(),Ug={itemStyle:ia(Mc,!0),lineStyle:ia(bc,!0)},Zg={lineStyle:"stroke",itemStyle:"fill"};function jg(t,e){var n=t.visualStyleMapper||Ug[e];return n||(console.warn("Unknown style type '"+e+"'."),Ug.itemStyle)}function qg(t,e){var n=t.visualDrawType||Zg[e];return n||(console.warn("Unknown style type '"+e+"'."),"fill")}var Kg={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData(),i=t.visualStyleAccessPath||"itemStyle",r=t.getModel(i),o=jg(t,i)(r),a=r.getShallow("decal");a&&(n.setVisual("decal",a),a.dirty=!0);var s=qg(t,i),l=o[s],u=X(l)?l:null,h="auto"===o.fill||"auto"===o.stroke;if(!o[s]||u||h){var c=t.getColorFromPalette(t.name,null,e.getSeriesCount());o[s]||(o[s]=c,n.setVisual("colorFromPalette",!0)),o.fill="auto"===o.fill||X(o.fill)?c:o.fill,o.stroke="auto"===o.stroke||X(o.stroke)?c:o.stroke}if(n.setVisual("style",o),n.setVisual("drawType",s),!e.isSeriesFiltered(t)&&u)return n.setVisual("colorFromPalette",!1),{dataEach:function(e,n){var i=t.getDataParams(n),r=A({},o);r[s]=u(i),e.setItemVisual(n,"style",r)}}}},$g=new Cc,Jg={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(!t.ignoreStyleOnData&&!e.isSeriesFiltered(t)){var n=t.getData(),i=t.visualStyleAccessPath||"itemStyle",r=jg(t,i),o=n.getVisual("drawType");return{dataEach:n.hasItemOption?function(t,e){var n=t.getRawDataItem(e);if(n&&n[i]){$g.option=n[i];var a=r($g);A(t.ensureUniqueItemVisual(e,"style"),a),$g.option.decal&&(t.setItemVisual(e,"decal",$g.option.decal),$g.option.decal.dirty=!0),o in a&&t.setItemVisual(e,"colorFromPalette",!1)}}:null}}}},Qg={performRawSeries:!0,overallReset:function(t){var e=yt();t.eachSeries((function(t){var n=t.getColorBy();if(!t.isColorBySeries()){var i=t.type+"-"+n,r=e.get(i);r||(r={},e.set(i,r)),Xg(t).scope=r}})),t.eachSeries((function(e){if(!e.isColorBySeries()&&!t.isSeriesFiltered(e)){var n=e.getRawData(),i={},r=e.getData(),o=Xg(e).scope,a=e.visualStyleAccessPath||"itemStyle",s=qg(e,a);r.each((function(t){var e=r.getRawIndex(t);i[e]=t})),n.each((function(t){var a=i[t];if(r.getItemVisual(a,"colorFromPalette")){var l=r.ensureUniqueItemVisual(a,"style"),u=n.getName(t)||t+"",h=n.count();l[s]=e.getColorFromPalette(u,o,h)}}))}}))}},ty=Math.PI;var ey=function(){function t(t,e,n,i){this._stageTaskMap=yt(),this.ecInstance=t,this.api=e,n=this._dataProcessorHandlers=n.slice(),i=this._visualHandlers=i.slice(),this._allHandlers=n.concat(i)}return t.prototype.restoreData=function(t,e){t.restoreData(e),this._stageTaskMap.each((function(t){var e=t.overallTask;e&&e.dirty()}))},t.prototype.getPerformArgs=function(t,e){if(t.__pipeline){var n=this._pipelineMap.get(t.__pipeline.id),i=n.context,r=!e&&n.progressiveEnabled&&(!i||i.progressiveRender)&&t.__idxInPipeline>n.blockIndex?n.step:null,o=i&&i.modDataCount;return{step:r,modBy:null!=o?Math.ceil(o/r):null,modDataCount:o}}},t.prototype.getPipeline=function(t){return this._pipelineMap.get(t)},t.prototype.updateStreamModes=function(t,e){var n=this._pipelineMap.get(t.uid),i=t.getData().count(),r=n.progressiveEnabled&&e.incrementalPrepareRender&&i>=n.threshold,o=t.get("large")&&i>=t.get("largeThreshold"),a="mod"===t.get("progressiveChunkMode")?i:null;t.pipelineContext=n.context={progressiveRender:r,modDataCount:a,large:o}},t.prototype.restorePipelines=function(t){var e=this,n=e._pipelineMap=yt();t.eachSeries((function(t){var i=t.getProgressive(),r=t.uid;n.set(r,{id:r,head:null,tail:null,threshold:t.getProgressiveThreshold(),progressiveEnabled:i&&!(t.preventIncremental&&t.preventIncremental()),blockIndex:-1,step:Math.round(i||700),count:0}),e._pipe(t,t.dataTask)}))},t.prototype.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.api.getModel(),n=this.api;E(this._allHandlers,(function(i){var r=t.get(i.uid)||t.set(i.uid,{}),o="";lt(!(i.reset&&i.overallReset),o),i.reset&&this._createSeriesStageTask(i,r,e,n),i.overallReset&&this._createOverallStageTask(i,r,e,n)}),this)},t.prototype.prepareView=function(t,e,n,i){var r=t.renderTask,o=r.context;o.model=e,o.ecModel=n,o.api=i,r.__block=!t.incrementalPrepareRender,this._pipe(e,r)},t.prototype.performDataProcessorTasks=function(t,e){this._performStageTasks(this._dataProcessorHandlers,t,e,{block:!0})},t.prototype.performVisualTasks=function(t,e,n){this._performStageTasks(this._visualHandlers,t,e,n)},t.prototype._performStageTasks=function(t,e,n,i){i=i||{};var r=!1,o=this;function a(t,e){return t.setDirty&&(!t.dirtyMap||t.dirtyMap.get(e.__pipeline.id))}E(t,(function(t,s){if(!i.visualType||i.visualType===t.visualType){var l=o._stageTaskMap.get(t.uid),u=l.seriesTaskMap,h=l.overallTask;if(h){var c,p=h.agentStubMap;p.each((function(t){a(i,t)&&(t.dirty(),c=!0)})),c&&h.dirty(),o.updatePayload(h,n);var d=o.getPerformArgs(h,i.block);p.each((function(t){t.perform(d)})),h.perform(d)&&(r=!0)}else u&&u.each((function(s,l){a(i,s)&&s.dirty();var u=o.getPerformArgs(s,i.block);u.skip=!t.performRawSeries&&e.isSeriesFiltered(s.context.model),o.updatePayload(s,n),s.perform(u)&&(r=!0)}))}})),this.unfinished=r||this.unfinished},t.prototype.performSeriesTasks=function(t){var e;t.eachSeries((function(t){e=t.dataTask.perform()||e})),this.unfinished=e||this.unfinished},t.prototype.plan=function(){this._pipelineMap.each((function(t){var e=t.tail;do{if(e.__block){t.blockIndex=e.__idxInPipeline;break}e=e.getUpstream()}while(e)}))},t.prototype.updatePayload=function(t,e){"remain"!==e&&(t.context.payload=e)},t.prototype._createSeriesStageTask=function(t,e,n,i){var r=this,o=e.seriesTaskMap,a=e.seriesTaskMap=yt(),s=t.seriesType,l=t.getTargetSeries;function u(e){var s=e.uid,l=a.set(s,o&&o.get(s)||wf({plan:ay,reset:sy,count:hy}));l.context={model:e,ecModel:n,api:i,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:r},r._pipe(e,l)}t.createOnAllSeries?n.eachRawSeries(u):s?n.eachRawSeriesByType(s,u):l&&l(n,i).each(u)},t.prototype._createOverallStageTask=function(t,e,n,i){var r=this,o=e.overallTask=e.overallTask||wf({reset:ny});o.context={ecModel:n,api:i,overallReset:t.overallReset,scheduler:r};var a=o.agentStubMap,s=o.agentStubMap=yt(),l=t.seriesType,u=t.getTargetSeries,h=!0,c=!1,p="";function d(t){var e=t.uid,n=s.set(e,a&&a.get(e)||(c=!0,wf({reset:iy,onDirty:oy})));n.context={model:t,overallProgress:h},n.agent=o,n.__block=h,r._pipe(t,n)}lt(!t.createOnAllSeries,p),l?n.eachRawSeriesByType(l,d):u?u(n,i).each(d):(h=!1,E(n.getSeries(),d)),c&&o.dirty()},t.prototype._pipe=function(t,e){var n=t.uid,i=this._pipelineMap.get(n);!i.head&&(i.head=e),i.tail&&i.tail.pipe(e),i.tail=e,e.__idxInPipeline=i.count++,e.__pipeline=i},t.wrapStageHandler=function(t,e){return X(t)&&(t={overallReset:t,seriesType:cy(t)}),t.uid=Ac("stageHandler"),e&&(t.visualType=e),t},t}();function ny(t){t.overallReset(t.ecModel,t.api,t.payload)}function iy(t){return t.overallProgress&&ry}function ry(){this.agent.dirty(),this.getDownstream().dirty()}function oy(){this.agent&&this.agent.dirty()}function ay(t){return t.plan?t.plan(t.model,t.ecModel,t.api,t.payload):null}function sy(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=To(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?z(e,(function(t,e){return uy(e)})):ly}var ly=uy(0);function uy(t){return function(e,n){var i=n.data,r=n.resetDefines[t];if(r&&r.dataEach)for(var o=e.start;o0&&h===r.length-u.length){var c=r.slice(0,h);"data"!==c&&(e.mainType=c,e[u.toLowerCase()]=t,s=!0)}}a.hasOwnProperty(r)&&(n[r]=t,s=!0),s||(i[r]=t)}))}return{cptQuery:e,dataQuery:n,otherQuery:i}},t.prototype.filter=function(t,e){var n=this.eventInfo;if(!n)return!0;var i=n.targetEl,r=n.packedEvent,o=n.model,a=n.view;if(!o||!a)return!0;var s=e.cptQuery,l=e.dataQuery;return u(s,o,"mainType")&&u(s,o,"subType")&&u(s,o,"index","componentIndex")&&u(s,o,"name")&&u(s,o,"id")&&u(l,r,"name")&&u(l,r,"dataIndex")&&u(l,r,"dataType")&&(!a.filterForExposedEvent||a.filterForExposedEvent(t,e.otherQuery,i,r));function u(t,e,n,i){return null==t[n]||e[i||n]===t[n]}},t.prototype.afterTrigger=function(){this.eventInfo=null},t}(),My=["symbol","symbolSize","symbolRotate","symbolOffset"],Iy=My.concat(["symbolKeepAspect"]),Ty={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData();if(t.legendIcon&&n.setVisual("legendIcon",t.legendIcon),t.hasSymbolVisual){for(var i={},r={},o=!1,a=0;a=0&&jy(l)?l:.5,t.createRadialGradient(a,s,0,a,s,l)}(t,e,n):function(t,e,n){var i=null==e.x?0:e.x,r=null==e.x2?1:e.x2,o=null==e.y?0:e.y,a=null==e.y2?0:e.y2;return e.global||(i=i*n.width+n.x,r=r*n.width+n.x,o=o*n.height+n.y,a=a*n.height+n.y),i=jy(i)?i:0,r=jy(r)?r:1,o=jy(o)?o:0,a=jy(a)?a:0,t.createLinearGradient(i,o,r,a)}(t,e,n),r=e.colorStops,o=0;o0&&(e=i.lineDash,n=i.lineWidth,e&&"solid"!==e&&n>0?"dashed"===e?[4*n,2*n]:"dotted"===e?[n]:j(e)?[e]:Y(e)?e:null:null),o=i.lineDashOffset;if(r){var a=i.strokeNoScale&&t.getLineScale?t.getLineScale():1;a&&1!==a&&(r=z(r,(function(t){return t/a})),o/=a)}return[r,o]}var Qy=new hs(!0);function tv(t){var e=t.stroke;return!(null==e||"none"===e||!(t.lineWidth>0))}function ev(t){return"string"==typeof t&&"none"!==t}function nv(t){var e=t.fill;return null!=e&&"none"!==e}function iv(t,e){if(null!=e.fillOpacity&&1!==e.fillOpacity){var n=t.globalAlpha;t.globalAlpha=e.fillOpacity*e.opacity,t.fill(),t.globalAlpha=n}else t.fill()}function rv(t,e){if(null!=e.strokeOpacity&&1!==e.strokeOpacity){var n=t.globalAlpha;t.globalAlpha=e.strokeOpacity*e.opacity,t.stroke(),t.globalAlpha=n}else t.stroke()}function ov(t,e,n){var i=la(e.image,e.__image,n);if(ha(i)){var r=t.createPattern(i,e.repeat||"repeat");if("function"==typeof DOMMatrix&&r&&r.setTransform){var o=new DOMMatrix;o.translateSelf(e.x||0,e.y||0),o.rotateSelf(0,0,(e.rotation||0)*wt),o.scaleSelf(e.scaleX||1,e.scaleY||1),r.setTransform(o)}return r}}var av=["shadowBlur","shadowOffsetX","shadowOffsetY"],sv=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function lv(t,e,n,i,r){var o=!1;if(!i&&e===(n=n||{}))return!1;if(i||e.opacity!==n.opacity){cv(t,r),o=!0;var a=Math.max(Math.min(e.opacity,1),0);t.globalAlpha=isNaN(a)?Ma.opacity:a}(i||e.blend!==n.blend)&&(o||(cv(t,r),o=!0),t.globalCompositeOperation=e.blend||Ma.blend);for(var s=0;s0&&t.unfinished);t.unfinished||this._zr.flush()}}},e.prototype.getDom=function(){return this._dom},e.prototype.getId=function(){return this.id},e.prototype.getZr=function(){return this._zr},e.prototype.isSSR=function(){return this._ssr},e.prototype.setOption=function(t,e,n){if(!this[Dv])if(this._disposed)om(this.id);else{var i,r,o;if(q(e)&&(n=e.lazyUpdate,i=e.silent,r=e.replaceMerge,o=e.transition,e=e.notMerge),this[Dv]=!0,!this._model||e){var a=new Md(this._api),s=this._theme,l=this._model=new gd;l.scheduler=this._scheduler,l.ssr=this._ssr,l.init(null,null,null,s,this._locale,a)}this._model.setOption(t,{replaceMerge:r},um);var u={seriesTransition:o,optionChanged:!0};if(n)this[Av]={silent:i,updateParams:u},this[Dv]=!1,this.getZr().wakeUp();else{try{Ev(this),Bv.update.call(this,null,u)}catch(t){throw this[Av]=null,this[Dv]=!1,t}this._ssr||this._zr.flush(),this[Av]=null,this[Dv]=!1,Hv.call(this,i),Yv.call(this,i)}}},e.prototype.setTheme=function(){bo()},e.prototype.getModel=function(){return this._model},e.prototype.getOption=function(){return this._model&&this._model.getOption()},e.prototype.getWidth=function(){return this._zr.getWidth()},e.prototype.getHeight=function(){return this._zr.getHeight()},e.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||r.hasGlobalWindow&&window.devicePixelRatio||1},e.prototype.getRenderedCanvas=function(t){return this.renderToCanvas(t)},e.prototype.renderToCanvas=function(t){t=t||{};var e=this._zr.painter;return e.getRenderedCanvas({backgroundColor:t.backgroundColor||this._model.get("backgroundColor"),pixelRatio:t.pixelRatio||this.getDevicePixelRatio()})},e.prototype.renderToSVGString=function(t){t=t||{};var e=this._zr.painter;return e.renderToString({useViewBox:t.useViewBox})},e.prototype.getSvgDataURL=function(){if(r.svgSupported){var t=this._zr;return E(t.storage.getDisplayList(),(function(t){t.stopAnimation(null,!0)})),t.painter.toDataURL()}},e.prototype.getDataURL=function(t){if(!this._disposed){var e=(t=t||{}).excludeComponents,n=this._model,i=[],r=this;E(e,(function(t){n.eachComponent({mainType:t},(function(t){var e=r._componentsMap[t.__viewId];e.group.ignore||(i.push(e),e.group.ignore=!0)}))}));var o="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.renderToCanvas(t).toDataURL("image/"+(t&&t.type||"png"));return E(i,(function(t){t.group.ignore=!1})),o}om(this.id)},e.prototype.getConnectedDataURL=function(t){if(!this._disposed){var e="svg"===t.type,n=this.group,i=Math.min,r=Math.max,o=1/0;if(fm[n]){var a=o,s=o,l=-1/0,u=-1/0,c=[],p=t&&t.pixelRatio||this.getDevicePixelRatio();E(dm,(function(o,h){if(o.group===n){var p=e?o.getZr().painter.getSvgDom().innerHTML:o.renderToCanvas(T(t)),d=o.getDom().getBoundingClientRect();a=i(d.left,a),s=i(d.top,s),l=r(d.right,l),u=r(d.bottom,u),c.push({dom:p,left:d.left,top:d.top})}}));var d=(l*=p)-(a*=p),f=(u*=p)-(s*=p),g=h.createCanvas(),y=Yr(g,{renderer:e?"svg":"canvas"});if(y.resize({width:d,height:f}),e){var v="";return E(c,(function(t){var e=t.left-a,n=t.top-s;v+=''+t.dom+""})),y.painter.getSvgRoot().innerHTML=v,t.connectedBackgroundColor&&y.painter.setBackgroundColor(t.connectedBackgroundColor),y.refreshImmediately(),y.painter.toDataURL()}return t.connectedBackgroundColor&&y.add(new Ws({shape:{x:0,y:0,width:d,height:f},style:{fill:t.connectedBackgroundColor}})),E(c,(function(t){var e=new Ns({style:{x:t.left*p-a,y:t.top*p-s,image:t.dom}});y.add(e)})),y.refreshImmediately(),g.toDataURL("image/"+(t&&t.type||"png"))}return this.getDataURL(t)}om(this.id)},e.prototype.convertToPixel=function(t,e){return Fv(this,"convertToPixel",t,e)},e.prototype.convertFromPixel=function(t,e){return Fv(this,"convertFromPixel",t,e)},e.prototype.containPixel=function(t,e){var n;if(!this._disposed)return E(Fo(this._model,t),(function(t,i){i.indexOf("Models")>=0&&E(t,(function(t){var r=t.coordinateSystem;if(r&&r.containPoint)n=n||!!r.containPoint(e);else if("seriesModels"===i){var o=this._chartsMap[t.__viewId];o&&o.containPoint&&(n=n||o.containPoint(e,t))}else 0}),this)}),this),!!n;om(this.id)},e.prototype.getVisual=function(t,e){var n=Fo(this._model,t,{defaultMainType:"series"}),i=n.seriesModel;var r=i.getData(),o=n.hasOwnProperty("dataIndexInside")?n.dataIndexInside:n.hasOwnProperty("dataIndex")?r.indexOfRawIndex(n.dataIndex):null;return null!=o?Dy(r,o,e):Ay(r,e)},e.prototype.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},e.prototype.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]},e.prototype._initEvents=function(){var t,e,n,i=this;E(rm,(function(t){var e=function(e){var n,r=i.getModel(),o=e.target,a="globalout"===t;if(a?n={}:o&&Oy(o,(function(t){var e=rl(t);if(e&&null!=e.dataIndex){var i=e.dataModel||r.getSeriesByIndex(e.seriesIndex);return n=i&&i.getDataParams(e.dataIndex,e.dataType,o)||{},!0}if(e.eventData)return n=A({},e.eventData),!0}),!0),n){var s=n.componentType,l=n.componentIndex;"markLine"!==s&&"markPoint"!==s&&"markArea"!==s||(s="series",l=n.seriesIndex);var u=s&&null!=l&&r.getComponent(s,l),h=u&&i["series"===u.mainType?"_chartsMap":"_componentsMap"][u.__viewId];0,n.event=e,n.type=t,i._$eventProcessor.eventInfo={targetEl:o,packedEvent:n,model:u,view:h},i.trigger(t,n)}};e.zrEventfulCallAtLast=!0,i._zr.on(t,e,i)})),E(sm,(function(t,e){i._messageCenter.on(e,(function(t){this.trigger(e,t)}),i)})),E(["selectchanged"],(function(t){i._messageCenter.on(t,(function(e){this.trigger(t,e)}),i)})),t=this._messageCenter,e=this,n=this._api,t.on("selectchanged",(function(t){var i=n.getModel();t.isFromClick?(Py("map","selectchanged",e,i,t),Py("pie","selectchanged",e,i,t)):"select"===t.fromAction?(Py("map","selected",e,i,t),Py("pie","selected",e,i,t)):"unselect"===t.fromAction&&(Py("map","unselected",e,i,t),Py("pie","unselected",e,i,t))}))},e.prototype.isDisposed=function(){return this._disposed},e.prototype.clear=function(){this._disposed?om(this.id):this.setOption({series:[]},!0)},e.prototype.dispose=function(){if(this._disposed)om(this.id);else{this._disposed=!0,this.getDom()&&Xo(this.getDom(),vm,"");var t=this,e=t._api,n=t._model;E(t._componentsViews,(function(t){t.dispose(n,e)})),E(t._chartsViews,(function(t){t.dispose(n,e)})),t._zr.dispose(),t._dom=t._model=t._chartsMap=t._componentsMap=t._chartsViews=t._componentsViews=t._scheduler=t._api=t._zr=t._throttledZrFlush=t._theme=t._coordSysMgr=t._messageCenter=null,delete dm[t.id]}},e.prototype.resize=function(t){if(!this[Dv])if(this._disposed)om(this.id);else{this._zr.resize(t);var e=this._model;if(this._loadingFX&&this._loadingFX.resize(),e){var n=e.resetOption("media"),i=t&&t.silent;this[Av]&&(null==i&&(i=this[Av].silent),n=!0,this[Av]=null),this[Dv]=!0;try{n&&Ev(this),Bv.update.call(this,{type:"resize",animation:A({duration:0},t&&t.animation)})}catch(t){throw this[Dv]=!1,t}this[Dv]=!1,Hv.call(this,i),Yv.call(this,i)}}},e.prototype.showLoading=function(t,e){if(this._disposed)om(this.id);else if(q(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),pm[t]){var n=pm[t](this._api,e),i=this._zr;this._loadingFX=n,i.add(n)}},e.prototype.hideLoading=function(){this._disposed?om(this.id):(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},e.prototype.makeActionFromEvent=function(t){var e=A({},t);return e.type=sm[t.type],e},e.prototype.dispatchAction=function(t,e){if(this._disposed)om(this.id);else if(q(e)||(e={silent:!!e}),am[t.type]&&this._model)if(this[Dv])this._pendingActions.push(t);else{var n=e.silent;Wv.call(this,t,n);var i=e.flush;i?this._zr.flush():!1!==i&&r.browser.weChat&&this._throttledZrFlush(),Hv.call(this,n),Yv.call(this,n)}},e.prototype.updateLabelLayout=function(){wv.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},e.prototype.appendData=function(t){if(this._disposed)om(this.id);else{var e=t.seriesIndex,n=this.getModel().getSeriesByIndex(e);0,n.appendData(t),this._scheduler.unfinished=!0,this.getZr().wakeUp()}},e.internalField=function(){function t(t){t.clearColorPalette(),t.eachSeries((function(t){t.clearColorPalette()}))}function e(t){for(var e=[],n=t.currentStates,i=0;i0?{duration:o,delay:i.get("delay"),easing:i.get("easing")}:null;n.eachRendered((function(t){if(t.states&&t.states.emphasis){if(xh(t))return;if(t instanceof ks&&function(t){var e=ll(t);e.normalFill=t.style.fill,e.normalStroke=t.style.stroke;var n=t.states.select||{};e.selectFill=n.style&&n.style.fill||null,e.selectStroke=n.style&&n.style.stroke||null}(t),t.__dirty){var n=t.prevStates;n&&t.useStates(n)}if(r){t.stateTransition=a;var i=t.getTextContent(),o=t.getTextGuideLine();i&&(i.stateTransition=a),o&&(o.stateTransition=a)}t.__dirty&&e(t)}}))}Ev=function(t){var e=t._scheduler;e.restorePipelines(t._model),e.prepareStageTasks(),zv(t,!0),zv(t,!1),e.plan()},zv=function(t,e){for(var n=t._model,i=t._scheduler,r=e?t._componentsViews:t._chartsViews,o=e?t._componentsMap:t._chartsMap,a=t._zr,s=t._api,l=0;le.get("hoverLayerThreshold")&&!r.node&&!r.worker&&e.eachSeries((function(e){if(!e.preventUsingHoverLayer){var n=t._chartsMap[e.__viewId];n.__alive&&n.eachRendered((function(t){t.states.emphasis&&(t.states.emphasis.hoverLayer=!0)}))}}))}(t,e),wv.trigger("series:afterupdate",e,n,l)},Jv=function(t){t[kv]=!0,t.getZr().wakeUp()},Qv=function(t){t[kv]&&(t.getZr().storage.traverse((function(t){xh(t)||e(t)})),t[kv]=!1)},Kv=function(t){return new(function(e){function i(){return null!==e&&e.apply(this,arguments)||this}return n(i,e),i.prototype.getCoordinateSystems=function(){return t._coordSysMgr.getCoordinateSystems()},i.prototype.getComponentByElement=function(e){for(;e;){var n=e.__ecComponentInfo;if(null!=n)return t._model.getComponent(n.mainType,n.index);e=e.parent}},i.prototype.enterEmphasis=function(e,n){Ol(e,n),Jv(t)},i.prototype.leaveEmphasis=function(e,n){Rl(e,n),Jv(t)},i.prototype.enterBlur=function(e){Nl(e),Jv(t)},i.prototype.leaveBlur=function(e){El(e),Jv(t)},i.prototype.enterSelect=function(e){zl(e),Jv(t)},i.prototype.leaveSelect=function(e){Vl(e),Jv(t)},i.prototype.getModel=function(){return t.getModel()},i.prototype.getViewOfComponentModel=function(e){return t.getViewOfComponentModel(e)},i.prototype.getViewOfSeriesModel=function(e){return t.getViewOfSeriesModel(e)},i}(_d))(t)},$v=function(t){function e(t,e){for(var n=0;n=0)){Lm.push(n);var o=ey.wrapStageHandler(n,r);o.__prio=e,o.__raw=n,t.push(o)}}function Om(t,e){pm[t]=e}function Rm(t,e,n){var i=Mv("registerMap");i&&i(t,e,n)}var Nm=function(t){var e=(t=T(t)).type,n="";e||wo(n);var i=e.split(":");2!==i.length&&wo(n);var r=!1;"echarts"===i[0]&&(e=i[1],r=!0),t.__isBuiltIn=r,Vf.set(e,t)};km(Iv,Kg),km(Tv,Jg),km(Tv,Qg),km(Iv,Ty),km(Tv,Cy),km(7e3,(function(t,e){t.eachRawSeries((function(n){if(!t.isSeriesFiltered(n)){var i=n.getData();i.hasItemVisual()&&i.each((function(t){var n=i.getItemVisual(t,"decal");n&&(i.ensureUniqueItemVisual(t,"style").decal=mv(n,e))}));var r=i.getVisual("decal");if(r)i.getVisual("style").decal=mv(r,e)}}))})),wm(Xd),Sm(900,(function(t){var e=yt();t.eachSeries((function(t){var n=t.get("stack");if(n){var i=e.get(n)||e.set(n,[]),r=t.getData(),o={stackResultDimension:r.getCalculationInfo("stackResultDimension"),stackedOverDimension:r.getCalculationInfo("stackedOverDimension"),stackedDimension:r.getCalculationInfo("stackedDimension"),stackedByDimension:r.getCalculationInfo("stackedByDimension"),isStackedByIndex:r.getCalculationInfo("isStackedByIndex"),data:r,seriesModel:t};if(!o.stackedDimension||!o.isStackedByIndex&&!o.stackedByDimension)return;i.length&&r.setCalculationInfo("stackedOnSeries",i[i.length-1].seriesModel),i.push(o)}})),e.each(Ud)})),Om("default",(function(t,e){k(e=e||{},{text:"loading",textColor:"#000",fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#5470c6",spinnerRadius:10,lineWidth:5,zlevel:0});var n=new Br,i=new Ws({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4});n.add(i);var r,o=new Xs({style:{text:e.text,fill:e.textColor,fontSize:e.fontSize,fontWeight:e.fontWeight,fontStyle:e.fontStyle,fontFamily:e.fontFamily},zlevel:e.zlevel,z:10001}),a=new Ws({style:{fill:"none"},textContent:o,textConfig:{position:"right",distance:10},zlevel:e.zlevel,z:10001});return n.add(a),e.showSpinner&&((r=new nh({shape:{startAngle:-ty/2,endAngle:-ty/2+.1,r:e.spinnerRadius},style:{stroke:e.color,lineCap:"round",lineWidth:e.lineWidth},zlevel:e.zlevel,z:10001})).animateShape(!0).when(1e3,{endAngle:3*ty/2}).start("circularInOut"),r.animateShape(!0).when(1e3,{startAngle:3*ty/2}).delay(300).start("circularInOut"),n.add(r)),n.resize=function(){var n=o.getBoundingRect().width,s=e.showSpinner?e.spinnerRadius:0,l=(t.getWidth()-2*s-(e.showSpinner&&n?10:0)-n)/2-(e.showSpinner&&n?0:5+n/2)+(e.showSpinner?0:n/2)+(n?0:s),u=t.getHeight()/2;e.showSpinner&&r.setShape({cx:l,cy:u}),a.setShape({x:l-s,y:u-s,width:2*s,height:2*s}),i.setShape({x:0,y:0,width:t.getWidth(),height:t.getHeight()})},n.resize(),n})),Cm({type:dl,event:dl,update:dl},bt),Cm({type:fl,event:fl,update:fl},bt),Cm({type:gl,event:gl,update:gl},bt),Cm({type:yl,event:yl,update:yl},bt),Cm({type:vl,event:vl,update:vl},bt),bm("light",vy),bm("dark",wy);var Em=[],zm={registerPreprocessor:wm,registerProcessor:Sm,registerPostInit:Mm,registerPostUpdate:Im,registerUpdateLifecycle:Tm,registerAction:Cm,registerCoordinateSystem:Dm,registerLayout:Am,registerVisual:km,registerTransform:Nm,registerLoading:Om,registerMap:Rm,registerImpl:function(t,e){Sv[t]=e},PRIORITY:Cv,ComponentModel:zp,ComponentView:Ag,SeriesModel:bg,ChartView:Og,registerComponentModel:function(t){zp.registerClass(t)},registerComponentView:function(t){Ag.registerClass(t)},registerSeriesModel:function(t){bg.registerClass(t)},registerChartView:function(t){Og.registerClass(t)},registerSubTypeDefaulter:function(t,e){zp.registerSubTypeDefaulter(t,e)},registerPainter:function(t,e){Xr(t,e)}};function Vm(t){Y(t)?E(t,(function(t){Vm(t)})):P(Em,t)>=0||(Em.push(t),X(t)&&(t={install:t}),t.install(zm))}function Bm(t){return null==t?0:t.length||1}function Fm(t){return t}var Gm=function(){function t(t,e,n,i,r,o){this._old=t,this._new=e,this._oldKeyGetter=n||Fm,this._newKeyGetter=i||Fm,this.context=r,this._diffModeMultiple="multiple"===o}return t.prototype.add=function(t){return this._add=t,this},t.prototype.update=function(t){return this._update=t,this},t.prototype.updateManyToOne=function(t){return this._updateManyToOne=t,this},t.prototype.updateOneToMany=function(t){return this._updateOneToMany=t,this},t.prototype.updateManyToMany=function(t){return this._updateManyToMany=t,this},t.prototype.remove=function(t){return this._remove=t,this},t.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},t.prototype._executeOneToOne=function(){var t=this._old,e=this._new,n={},i=new Array(t.length),r=new Array(e.length);this._initIndexMap(t,null,i,"_oldKeyGetter"),this._initIndexMap(e,n,r,"_newKeyGetter");for(var o=0;o1){var u=s.shift();1===s.length&&(n[a]=s[0]),this._update&&this._update(u,o)}else 1===l?(n[a]=null,this._update&&this._update(s,o)):this._remove&&this._remove(o)}this._performRestAdd(r,n)},t.prototype._executeMultiple=function(){var t=this._old,e=this._new,n={},i={},r=[],o=[];this._initIndexMap(t,n,r,"_oldKeyGetter"),this._initIndexMap(e,i,o,"_newKeyGetter");for(var a=0;a1&&1===c)this._updateManyToOne&&this._updateManyToOne(u,l),i[s]=null;else if(1===h&&c>1)this._updateOneToMany&&this._updateOneToMany(u,l),i[s]=null;else if(1===h&&1===c)this._update&&this._update(u,l),i[s]=null;else if(h>1&&c>1)this._updateManyToMany&&this._updateManyToMany(u,l),i[s]=null;else if(h>1)for(var p=0;p1)for(var a=0;a30}var Qm,tx,ex,nx,ix,rx,ox,ax=q,sx=z,lx="undefined"==typeof Int32Array?Array:Int32Array,ux=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],hx=["_approximateExtent"],cx=function(){function t(t,e){var n;this.type="list",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","minmaxDownSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","minmaxDownSample","lttbDownSample"];var i=!1;qm(t)?(n=t.dimensions,this._dimOmitted=t.isDimensionOmitted(),this._schema=t):(i=!0,n=t),n=n||["x","y"];for(var r={},o=[],a={},s=!1,l={},u=0;u=e)){var n=this._store.getProvider();this._updateOrdinalMeta();var i=this._nameList,r=this._idList;if(n.getSource().sourceFormat===Wp&&!n.pure)for(var o=[],a=t;a0},t.prototype.ensureUniqueItemVisual=function(t,e){var n=this._itemVisuals,i=n[t];i||(i=n[t]={});var r=i[e];return null==r&&(Y(r=this.getVisual(e))?r=r.slice():ax(r)&&(r=A({},r)),i[e]=r),r},t.prototype.setItemVisual=function(t,e,n){var i=this._itemVisuals[t]||{};this._itemVisuals[t]=i,ax(e)?A(i,e):i[e]=n},t.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},t.prototype.setLayout=function(t,e){ax(t)?A(this._layout,t):this._layout[t]=e},t.prototype.getLayout=function(t){return this._layout[t]},t.prototype.getItemLayout=function(t){return this._itemLayouts[t]},t.prototype.setItemLayout=function(t,e,n){this._itemLayouts[t]=n?A(this._itemLayouts[t]||{},e):e},t.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},t.prototype.setItemGraphicEl=function(t,e){var n=this.hostModel&&this.hostModel.seriesIndex;ol(n,this.dataType,t,e),this._graphicEls[t]=e},t.prototype.getItemGraphicEl=function(t){return this._graphicEls[t]},t.prototype.eachItemGraphicEl=function(t,e){E(this._graphicEls,(function(n,i){n&&t&&t.call(e,n,i)}))},t.prototype.cloneShallow=function(e){return e||(e=new t(this._schema?this._schema:sx(this.dimensions,this._getDimInfo,this),this.hostModel)),ix(e,this),e._store=this._store,e},t.prototype.wrapMethod=function(t,e){var n=this[t];X(n)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var t=n.apply(this,arguments);return e.apply(this,[t].concat(at(arguments)))})},t.internalField=(Qm=function(t){var e=t._invertedIndicesMap;E(e,(function(n,i){var r=t._dimInfos[i],o=r.ordinalMeta,a=t._store;if(o){n=e[i]=new lx(o.categories.length);for(var s=0;s1&&(s+="__ec__"+u),i[e]=s}})),t}();function px(t,e){Qd(t)||(t=ef(t));var n=(e=e||{}).coordDimensions||[],i=e.dimensionsDefine||t.dimensionsDefine||[],r=yt(),o=[],a=function(t,e,n,i){var r=Math.max(t.dimensionsDetectedCount||1,e.length,n.length,i||0);return E(e,(function(t){var e;q(t)&&(e=t.dimsDef)&&(r=Math.max(r,e.length))})),r}(t,n,i,e.dimensionsCount),s=e.canOmitUnusedDimensions&&Jm(a),l=i===t.dimensionsDefine,u=l?$m(t):Km(i),h=e.encodeDefine;!h&&e.encodeDefaulter&&(h=e.encodeDefaulter(t,a));for(var c=yt(h),p=new Xf(a),d=0;d0&&(i.name=r+(o-1)),o++,e.set(r,o)}}(o),new jm({source:t,dimensions:o,fullDimensionCount:a,dimensionOmitted:s})}function dx(t,e,n){if(n||e.hasKey(t)){for(var i=0;e.hasKey(t+i);)i++;t+=i}return e.set(t,!0),t}var fx=function(t){this.coordSysDims=[],this.axisMap=yt(),this.categoryAxisMap=yt(),this.coordSysName=t};var gx={cartesian2d:function(t,e,n,i){var r=t.getReferringComponents("xAxis",Wo).models[0],o=t.getReferringComponents("yAxis",Wo).models[0];e.coordSysDims=["x","y"],n.set("x",r),n.set("y",o),yx(r)&&(i.set("x",r),e.firstCategoryDimIndex=0),yx(o)&&(i.set("y",o),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},singleAxis:function(t,e,n,i){var r=t.getReferringComponents("singleAxis",Wo).models[0];e.coordSysDims=["single"],n.set("single",r),yx(r)&&(i.set("single",r),e.firstCategoryDimIndex=0)},polar:function(t,e,n,i){var r=t.getReferringComponents("polar",Wo).models[0],o=r.findAxisModel("radiusAxis"),a=r.findAxisModel("angleAxis");e.coordSysDims=["radius","angle"],n.set("radius",o),n.set("angle",a),yx(o)&&(i.set("radius",o),e.firstCategoryDimIndex=0),yx(a)&&(i.set("angle",a),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},geo:function(t,e,n,i){e.coordSysDims=["lng","lat"]},parallel:function(t,e,n,i){var r=t.ecModel,o=r.getComponent("parallel",t.get("parallelIndex")),a=e.coordSysDims=o.dimensions.slice();E(o.parallelAxisIndex,(function(t,o){var s=r.getComponent("parallelAxis",t),l=a[o];n.set(l,s),yx(s)&&(i.set(l,s),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=o))}))}};function yx(t){return"category"===t.get("type")}function vx(t,e,n){var i,r,o,a=(n=n||{}).byIndex,s=n.stackedCoordDimension;!function(t){return!qm(t.schema)}(e)?(r=e.schema,i=r.dimensions,o=e.store):i=e;var l,u,h,c,p=!(!t||!t.get("stack"));if(E(i,(function(t,e){U(t)&&(i[e]=t={name:t}),p&&!t.isExtraCoord&&(a||l||!t.ordinalMeta||(l=t),u||"ordinal"===t.type||"time"===t.type||s&&s!==t.coordDim||(u=t))})),!u||a||l||(a=!0),u){h="__\0ecstackresult_"+t.id,c="__\0ecstackedover_"+t.id,l&&(l.createInvertedIndices=!0);var d=u.coordDim,f=u.type,g=0;E(i,(function(t){t.coordDim===d&&g++}));var y={name:h,coordDim:d,coordDimIndex:g,type:f,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:i.length},v={name:c,coordDim:c,coordDimIndex:g+1,type:f,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:i.length+1};r?(o&&(y.storeDimIndex=o.ensureCalculationDimension(c,f),v.storeDimIndex=o.ensureCalculationDimension(h,f)),r.appendCalculationDimension(y),r.appendCalculationDimension(v)):(i.push(y),i.push(v))}return{stackedDimension:u&&u.name,stackedByDimension:l&&l.name,isStackedByIndex:a,stackedOverDimension:c,stackResultDimension:h}}function mx(t,e){return!!e&&e===t.getCalculationInfo("stackedDimension")}function xx(t,e){return mx(t,e)?t.getCalculationInfo("stackResultDimension"):e}function _x(t,e,n){n=n||{};var i,r=e.getSourceManager(),o=!1;t?(o=!0,i=ef(t)):o=(i=r.getSource()).sourceFormat===Wp;var a=function(t){var e=t.get("coordinateSystem"),n=new fx(e),i=gx[e];if(i)return i(t,n,n.axisMap,n.categoryAxisMap),n}(e),s=function(t,e){var n,i=t.get("coordinateSystem"),r=wd.get(i);return e&&e.coordSysDims&&(n=z(e.coordSysDims,(function(t){var n={name:t},i=e.axisMap.get(t);if(i){var r=i.get("type");n.type=Ym(r)}return n}))),n||(n=r&&(r.getDimensionsInfo?r.getDimensionsInfo():r.dimensions.slice())||["x","y"]),n}(e,a),l=n.useEncodeDefaulter,u=X(l)?l:l?H(td,s,e):null,h=px(i,{coordDimensions:s,generateCoord:n.generateCoord,encodeDefine:e.getEncode(),encodeDefaulter:u,canOmitUnusedDimensions:!o}),c=function(t,e,n){var i,r;return n&&E(t,(function(t,o){var a=t.coordDim,s=n.categoryAxisMap.get(a);s&&(null==i&&(i=o),t.ordinalMeta=s.getOrdinalMeta(),e&&(t.createInvertedIndices=!0)),null!=t.otherDims.itemName&&(r=!0)})),r||null==i||(t[i].otherDims.itemName=0),i}(h.dimensions,n.createInvertedIndices,a),p=o?null:r.getSharedDataStore(h),d=vx(e,{schema:h,store:p}),f=new cx(h,e);f.setCalculationInfo(d);var g=null!=c&&function(t){if(t.sourceFormat===Wp){var e=function(t){var e=0;for(;ee[1]&&(e[1]=t[1])},t.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=t),isNaN(e)||(n[1]=e)},t.prototype.isInExtentRange=function(t){return this._extent[0]<=t&&this._extent[1]>=t},t.prototype.isBlank=function(){return this._isBlank},t.prototype.setBlank=function(t){this._isBlank=t},t}();na(bx);var Sx=0,Mx=function(){function t(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this.uid=++Sx}return t.createByAxisModel=function(e){var n=e.option,i=n.data,r=i&&z(i,Ix);return new t({categories:r,needCollect:!r,deduplication:!1!==n.dedplication})},t.prototype.getOrdinal=function(t){return this._getOrCreateMap().get(t)},t.prototype.parseAndCollect=function(t){var e,n=this._needCollect;if(!U(t)&&!n)return t;if(n&&!this._deduplication)return e=this.categories.length,this.categories[e]=t,e;var i=this._getOrCreateMap();return null==(e=i.get(t))&&(n?(e=this.categories.length,this.categories[e]=t,i.set(t,e)):e=NaN),e},t.prototype._getOrCreateMap=function(){return this._map||(this._map=yt(this.categories))},t}();function Ix(t){return q(t)&&null!=t.value?t.value:t+""}function Tx(t){return"interval"===t.type||"log"===t.type}function Cx(t,e,n,i){var r={},o=t[1]-t[0],a=r.interval=po(o/e,!0);null!=n&&ai&&(a=r.interval=i);var s=r.intervalPrecision=Ax(a);return function(t,e){!isFinite(t[0])&&(t[0]=e[0]),!isFinite(t[1])&&(t[1]=e[1]),kx(t,0,e),kx(t,1,e),t[0]>t[1]&&(t[0]=t[1])}(r.niceTickExtent=[Jr(Math.ceil(t[0]/a)*a,s),Jr(Math.floor(t[1]/a)*a,s)],t),r}function Dx(t){var e=Math.pow(10,co(t)),n=t/e;return n?2===n?n=3:3===n?n=5:n*=2:n=1,Jr(n*e)}function Ax(t){return to(t)+2}function kx(t,e,n){t[e]=Math.max(Math.min(t[e],n[1]),n[0])}function Lx(t,e){return t>=e[0]&&t<=e[1]}function Px(t,e){return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])}function Ox(t,e){return t*(e[1]-e[0])+e[0]}var Rx=function(t){function e(e){var n=t.call(this,e)||this;n.type="ordinal";var i=n.getSetting("ordinalMeta");return i||(i=new Mx({})),Y(i)&&(i=new Mx({categories:z(i,(function(t){return q(t)?t.value:t}))})),n._ordinalMeta=i,n._extent=n.getSetting("extent")||[0,i.categories.length-1],n}return n(e,t),e.prototype.parse=function(t){return null==t?NaN:U(t)?this._ordinalMeta.getOrdinal(t):Math.round(t)},e.prototype.contain=function(t){return Lx(t=this.parse(t),this._extent)&&null!=this._ordinalMeta.categories[t]},e.prototype.normalize=function(t){return Px(t=this._getTickNumber(this.parse(t)),this._extent)},e.prototype.scale=function(t){return t=Math.round(Ox(t,this._extent)),this.getRawOrdinalNumber(t)},e.prototype.getTicks=function(){for(var t=[],e=this._extent,n=e[0];n<=e[1];)t.push({value:n}),n++;return t},e.prototype.getMinorTicks=function(t){},e.prototype.setSortInfo=function(t){if(null!=t){for(var e=t.ordinalNumbers,n=this._ordinalNumbersByTick=[],i=this._ticksByOrdinalNumber=[],r=0,o=this._ordinalMeta.categories.length,a=Math.min(o,e.length);r=0&&t=0&&t=t},e.prototype.getOrdinalMeta=function(){return this._ordinalMeta},e.prototype.calcNiceTicks=function(){},e.prototype.calcNiceExtent=function(){},e.type="ordinal",e}(bx);bx.registerClass(Rx);var Nx=Jr,Ex=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="interval",e._interval=0,e._intervalPrecision=2,e}return n(e,t),e.prototype.parse=function(t){return t},e.prototype.contain=function(t){return Lx(t,this._extent)},e.prototype.normalize=function(t){return Px(t,this._extent)},e.prototype.scale=function(t){return Ox(t,this._extent)},e.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=parseFloat(t)),isNaN(e)||(n[1]=parseFloat(e))},e.prototype.unionExtent=function(t){var e=this._extent;t[0]e[1]&&(e[1]=t[1]),this.setExtent(e[0],e[1])},e.prototype.getInterval=function(){return this._interval},e.prototype.setInterval=function(t){this._interval=t,this._niceExtent=this._extent.slice(),this._intervalPrecision=Ax(t)},e.prototype.getTicks=function(t){var e=this._interval,n=this._extent,i=this._niceExtent,r=this._intervalPrecision,o=[];if(!e)return o;n[0]1e4)return[];var s=o.length?o[o.length-1].value:i[1];return n[1]>s&&(t?o.push({value:Nx(s+e,r)}):o.push({value:n[1]})),o},e.prototype.getMinorTicks=function(t){for(var e=this.getTicks(!0),n=[],i=this.getExtent(),r=1;ri[0]&&h0&&(o=null===o?s:Math.min(o,s))}n[i]=o}}return n}(t),n=[];return E(t,(function(t){var i,r=t.coordinateSystem.getBaseAxis(),o=r.getExtent();if("category"===r.type)i=r.getBandWidth();else if("value"===r.type||"time"===r.type){var a=r.dim+"_"+r.index,s=e[a],l=Math.abs(o[1]-o[0]),u=r.scale.getExtent(),h=Math.abs(u[1]-u[0]);i=s?l/h*s:l}else{var c=t.getData();i=Math.abs(o[1]-o[0])/c.count()}var p=$r(t.get("barWidth"),i),d=$r(t.get("barMaxWidth"),i),f=$r(t.get("barMinWidth")||(qx(t)?.5:1),i),g=t.get("barGap"),y=t.get("barCategoryGap");n.push({bandWidth:i,barWidth:p,barMaxWidth:d,barMinWidth:f,barGap:g,barCategoryGap:y,axisKey:Wx(r),stackId:Gx(t)})})),Xx(n)}function Xx(t){var e={};E(t,(function(t,n){var i=t.axisKey,r=t.bandWidth,o=e[i]||{bandWidth:r,remainedWidth:r,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},a=o.stacks;e[i]=o;var s=t.stackId;a[s]||o.autoWidthCount++,a[s]=a[s]||{width:0,maxWidth:0};var l=t.barWidth;l&&!a[s].width&&(a[s].width=l,l=Math.min(o.remainedWidth,l),o.remainedWidth-=l);var u=t.barMaxWidth;u&&(a[s].maxWidth=u);var h=t.barMinWidth;h&&(a[s].minWidth=h);var c=t.barGap;null!=c&&(o.gap=c);var p=t.barCategoryGap;null!=p&&(o.categoryGap=p)}));var n={};return E(e,(function(t,e){n[e]={};var i=t.stacks,r=t.bandWidth,o=t.categoryGap;if(null==o){var a=G(i).length;o=Math.max(35-4*a,15)+"%"}var s=$r(o,r),l=$r(t.gap,1),u=t.remainedWidth,h=t.autoWidthCount,c=(u-s)/(h+(h-1)*l);c=Math.max(c,0),E(i,(function(t){var e=t.maxWidth,n=t.minWidth;if(t.width){i=t.width;e&&(i=Math.min(i,e)),n&&(i=Math.max(i,n)),t.width=i,u-=i+l*i,h--}else{var i=c;e&&ei&&(i=n),i!==c&&(t.width=i,u-=i+l*i,h--)}})),c=(u-s)/(h+(h-1)*l),c=Math.max(c,0);var p,d=0;E(i,(function(t,e){t.width||(t.width=c),p=t,d+=t.width*(1+l)})),p&&(d-=p.width*l);var f=-d/2;E(i,(function(t,i){n[e][i]=n[e][i]||{bandWidth:r,offset:f,width:t.width},f+=t.width*(1+l)}))})),n}function Ux(t,e){var n=Hx(t,e),i=Yx(n);E(n,(function(t){var e=t.getData(),n=t.coordinateSystem.getBaseAxis(),r=Gx(t),o=i[Wx(n)][r],a=o.offset,s=o.width;e.setLayout({bandWidth:o.bandWidth,offset:a,size:s})}))}function Zx(t){return{seriesType:t,plan:kg(),reset:function(t){if(jx(t)){var e=t.getData(),n=t.coordinateSystem,i=n.getBaseAxis(),r=n.getOtherAxis(i),o=e.getDimensionIndex(e.mapDimension(r.dim)),a=e.getDimensionIndex(e.mapDimension(i.dim)),s=t.get("showBackground",!0),l=e.mapDimension(r.dim),u=e.getCalculationInfo("stackResultDimension"),h=mx(e,l)&&!!e.getCalculationInfo("stackedOnSeries"),c=r.isHorizontal(),p=function(t,e){var n=e.model.get("startValue");n||(n=0);return e.toGlobalCoord(e.dataToCoord("log"===e.type?n>0?n:1:n))}(0,r),d=qx(t),f=t.get("barMinHeight")||0,g=u&&e.getDimensionIndex(u),y=e.getLayout("size"),v=e.getLayout("offset");return{progress:function(t,e){for(var i,r=t.count,l=d&&Bx(3*r),u=d&&s&&Bx(3*r),m=d&&Bx(r),x=n.master.getRect(),_=c?x.width:x.height,b=e.getStore(),w=0;null!=(i=t.next());){var S=b.get(h?g:o,i),M=b.get(a,i),I=p,T=void 0;h&&(T=+S-b.get(o,i));var C=void 0,D=void 0,A=void 0,k=void 0;if(c){var L=n.dataToPoint([S,M]);if(h)I=n.dataToPoint([T,M])[0];C=I,D=L[1]+v,A=L[0]-I,k=y,Math.abs(A)0)for(var s=0;s=0;--s)if(l[u]){o=l[u];break}o=o||a.none}if(Y(o)){var h=null==t.level?0:t.level>=0?t.level:o.length+t.level;o=o[h=Math.min(h,o.length-1)]}}return Jc(new Date(t.value),o,r,i)}(t,e,n,this.getSetting("locale"),i)},e.prototype.getTicks=function(){var t=this._interval,e=this._extent,n=[];if(!t)return n;n.push({value:e[0],level:0});var i=this.getSetting("useUTC"),r=function(t,e,n,i){var r=1e4,o=jc,a=0;function s(t,e,n,r,o,a,s){for(var l=new Date(e),u=e,h=l[r]();u1&&0===u&&o.unshift({value:o[0].value-p})}}for(u=0;u=i[0]&&v<=i[1]&&c++)}var m=(i[1]-i[0])/e;if(c>1.5*m&&p>m/1.5)break;if(u.push(g),c>m||t===o[d])break}h=[]}}0;var x=B(z(u,(function(t){return B(t,(function(t){return t.value>=i[0]&&t.value<=i[1]&&!t.notAdd}))})),(function(t){return t.length>0})),_=[],b=x.length-1;for(d=0;dn&&(this._approxInterval=n);var o=$x.length,a=Math.min(function(t,e,n,i){for(;n>>1;t[r][1]16?16:t>7.5?7:t>3.5?4:t>1.5?2:1}function Qx(t){return(t/=2592e6)>6?6:t>3?3:t>2?2:1}function t_(t){return(t/=Gc)>12?12:t>6?6:t>3.5?4:t>2?2:1}function e_(t,e){return(t/=e?Fc:Bc)>30?30:t>20?20:t>15?15:t>10?10:t>5?5:t>2?2:1}function n_(t){return po(t,!0)}function i_(t,e,n){var i=new Date(t);switch(Kc(e)){case"year":case"month":i[up(n)](0);case"day":i[hp(n)](1);case"hour":i[cp(n)](0);case"minute":i[pp(n)](0);case"second":i[dp(n)](0),i[fp(n)](0)}return i.getTime()}bx.registerClass(Kx);var r_=bx.prototype,o_=Ex.prototype,a_=Jr,s_=Math.floor,l_=Math.ceil,u_=Math.pow,h_=Math.log,c_=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="log",e.base=10,e._originalScale=new Ex,e._interval=0,e}return n(e,t),e.prototype.getTicks=function(t){var e=this._originalScale,n=this._extent,i=e.getExtent();return z(o_.getTicks.call(this,t),(function(t){var e=t.value,r=Jr(u_(this.base,e));return r=e===n[0]&&this._fixMin?d_(r,i[0]):r,{value:r=e===n[1]&&this._fixMax?d_(r,i[1]):r}}),this)},e.prototype.setExtent=function(t,e){var n=h_(this.base);t=h_(Math.max(0,t))/n,e=h_(Math.max(0,e))/n,o_.setExtent.call(this,t,e)},e.prototype.getExtent=function(){var t=this.base,e=r_.getExtent.call(this);e[0]=u_(t,e[0]),e[1]=u_(t,e[1]);var n=this._originalScale.getExtent();return this._fixMin&&(e[0]=d_(e[0],n[0])),this._fixMax&&(e[1]=d_(e[1],n[1])),e},e.prototype.unionExtent=function(t){this._originalScale.unionExtent(t);var e=this.base;t[0]=h_(t[0])/h_(e),t[1]=h_(t[1])/h_(e),r_.unionExtent.call(this,t)},e.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},e.prototype.calcNiceTicks=function(t){t=t||10;var e=this._extent,n=e[1]-e[0];if(!(n===1/0||n<=0)){var i=ho(n);for(t/n*i<=.5&&(i*=10);!isNaN(i)&&Math.abs(i)<1&&Math.abs(i)>0;)i*=10;var r=[Jr(l_(e[0]/i)*i),Jr(s_(e[1]/i)*i)];this._interval=i,this._niceExtent=r}},e.prototype.calcNiceExtent=function(t){o_.calcNiceExtent.call(this,t),this._fixMin=t.fixMin,this._fixMax=t.fixMax},e.prototype.parse=function(t){return t},e.prototype.contain=function(t){return Lx(t=h_(t)/h_(this.base),this._extent)},e.prototype.normalize=function(t){return Px(t=h_(t)/h_(this.base),this._extent)},e.prototype.scale=function(t){return t=Ox(t,this._extent),u_(this.base,t)},e.type="log",e}(bx),p_=c_.prototype;function d_(t,e){return a_(t,to(e))}p_.getMinorTicks=o_.getMinorTicks,p_.getLabel=o_.getLabel,bx.registerClass(c_);var f_=function(){function t(t,e,n){this._prepareParams(t,e,n)}return t.prototype._prepareParams=function(t,e,n){n[1]0&&s>0&&!l&&(a=0),a<0&&s<0&&!u&&(s=0));var c=this._determinedMin,p=this._determinedMax;return null!=c&&(a=c,l=!0),null!=p&&(s=p,u=!0),{min:a,max:s,minFixed:l,maxFixed:u,isBlank:h}},t.prototype.modifyDataMinMax=function(t,e){this[y_[t]]=e},t.prototype.setDeterminedMinMax=function(t,e){var n=g_[t];this[n]=e},t.prototype.freeze=function(){this.frozen=!0},t}(),g_={min:"_determinedMin",max:"_determinedMax"},y_={min:"_dataMin",max:"_dataMax"};function v_(t,e,n){var i=t.rawExtentInfo;return i||(i=new f_(t,e,n),t.rawExtentInfo=i,i)}function m_(t,e){return null==e?null:nt(e)?NaN:t.parse(e)}function x_(t,e){var n=t.type,i=v_(t,e,t.getExtent()).calculate();t.setBlank(i.isBlank);var r=i.min,o=i.max,a=e.ecModel;if(a&&"time"===n){var s=Hx("bar",a),l=!1;if(E(s,(function(t){l=l||t.getBaseAxis()===e.axis})),l){var u=Yx(s),h=function(t,e,n,i){var r=n.axis.getExtent(),o=Math.abs(r[1]-r[0]),a=function(t,e,n){if(t&&e){var i=t[Wx(e)];return null!=i&&null!=n?i[Gx(n)]:i}}(i,n.axis);if(void 0===a)return{min:t,max:e};var s=1/0;E(a,(function(t){s=Math.min(t.offset,s)}));var l=-1/0;E(a,(function(t){l=Math.max(t.offset+t.width,l)})),s=Math.abs(s),l=Math.abs(l);var u=s+l,h=e-t,c=h/(1-(s+l)/o)-h;return e+=c*(l/u),t-=c*(s/u),{min:t,max:e}}(r,o,e,u);r=h.min,o=h.max}}return{extent:[r,o],fixMin:i.minFixed,fixMax:i.maxFixed}}function __(t,e){var n=e,i=x_(t,n),r=i.extent,o=n.get("splitNumber");t instanceof c_&&(t.base=n.get("logBase"));var a=t.type,s=n.get("interval"),l="interval"===a||"time"===a;t.setExtent(r[0],r[1]),t.calcNiceExtent({splitNumber:o,fixMin:i.fixMin,fixMax:i.fixMax,minInterval:l?n.get("minInterval"):null,maxInterval:l?n.get("maxInterval"):null}),null!=s&&t.setInterval&&t.setInterval(s)}function b_(t,e){if(e=e||t.get("type"))switch(e){case"category":return new Rx({ordinalMeta:t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),extent:[1/0,-1/0]});case"time":return new Kx({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC")});default:return new(bx.getClass(e)||Ex)}}function w_(t){var e,n,i=t.getLabelModel().get("formatter"),r="category"===t.type?t.scale.getExtent()[0]:null;return"time"===t.scale.type?(n=i,function(e,i){return t.scale.getFormattedLabel(e,i,n)}):U(i)?function(e){return function(n){var i=t.scale.getLabel(n);return e.replace("{value}",null!=i?i:"")}}(i):X(i)?(e=i,function(n,i){return null!=r&&(i=n.value-r),e(S_(t,n),i,null!=n.level?{level:n.level}:null)}):function(e){return t.scale.getLabel(e)}}function S_(t,e){return"category"===t.type?t.scale.getLabel(e):e.value}function M_(t,e){var n=e*Math.PI/180,i=t.width,r=t.height,o=i*Math.abs(Math.cos(n))+Math.abs(r*Math.sin(n)),a=i*Math.abs(Math.sin(n))+Math.abs(r*Math.cos(n));return new ze(t.x,t.y,o,a)}function I_(t){var e=t.get("interval");return null==e?"auto":e}function T_(t){return"category"===t.type&&0===I_(t.getLabelModel())}function C_(t,e){var n={};return E(t.mapDimensionsAll(e),(function(e){n[xx(t,e)]=!0})),G(n)}var D_=function(){function t(){}return t.prototype.getNeedCrossZero=function(){return!this.option.scale},t.prototype.getCoordSysModel=function(){},t}();var A_={isDimensionStacked:mx,enableDataStack:vx,getStackedDimension:xx};var k_=Object.freeze({__proto__:null,createList:function(t){return _x(null,t)},getLayoutRect:kp,dataStack:A_,createScale:function(t,e){var n=e;e instanceof Cc||(n=new Cc(e));var i=b_(n);return i.setExtent(t[0],t[1]),__(i,n),i},mixinAxisModelCommonMethods:function(t){R(t,D_)},getECData:rl,createTextStyle:function(t,e){return oc(t,null,null,"normal"!==(e=e||{}).state)},createDimensions:function(t,e){return px(t,e).dimensions},createSymbol:Xy,enableHoverEmphasis:Ul});function L_(t,e){return Math.abs(t-e)<1e-8}function P_(t,e,n){var i=0,r=t[0];if(!r)return!1;for(var o=1;on&&(t=r,n=a)}if(t)return function(t){for(var e=0,n=0,i=0,r=t.length,o=t[r-1][0],a=t[r-1][1],s=0;s>1^-(1&s),l=l>>1^-(1&l),r=s+=r,o=l+=o,i.push([s/n,l/n])}return i}function H_(t,e){return z(B((t=function(t){if(!t.UTF8Encoding)return t;var e=t,n=e.UTF8Scale;return null==n&&(n=1024),E(e.features,(function(t){var e=t.geometry,i=e.encodeOffsets,r=e.coordinates;if(i)switch(e.type){case"LineString":e.coordinates=W_(r,i,n);break;case"Polygon":case"MultiLineString":G_(r,i,n);break;case"MultiPolygon":E(r,(function(t,e){return G_(t,i[e],n)}))}})),e.UTF8Encoding=!1,e}(t)).features,(function(t){return t.geometry&&t.properties&&t.geometry.coordinates.length>0})),(function(t){var n=t.properties,i=t.geometry,r=[];switch(i.type){case"Polygon":var o=i.coordinates;r.push(new z_(o[0],o.slice(1)));break;case"MultiPolygon":E(i.coordinates,(function(t){t[0]&&r.push(new z_(t[0],t.slice(1)))}));break;case"LineString":r.push(new V_([i.coordinates]));break;case"MultiLineString":r.push(new V_(i.coordinates))}var a=new B_(n[e||"name"],r,n.cp);return a.properties=n,a}))}var Y_=Object.freeze({__proto__:null,linearMap:Kr,round:Jr,asc:Qr,getPrecision:to,getPrecisionSafe:eo,getPixelPrecision:no,getPercentWithPrecision:function(t,e,n){return t[e]&&io(t,n)[e]||0},MAX_SAFE_INTEGER:oo,remRadian:ao,isRadianAroundZero:so,parseDate:uo,quantity:ho,quantityExponent:co,nice:po,quantile:fo,reformIntervals:go,isNumeric:vo,numericToNumber:yo}),X_=Object.freeze({__proto__:null,parse:uo,format:Jc}),U_=Object.freeze({__proto__:null,extendShape:Ch,extendPath:Ah,makePath:Ph,makeImage:Oh,mergePath:Nh,resizePath:Eh,createIcon:Uh,updateProps:vh,initProps:mh,getTransform:Bh,clipPointsByRect:Yh,clipRectByRect:Xh,registerShape:kh,getShapeClass:Lh,Group:Br,Image:Ns,Text:Xs,Circle:Su,Ellipse:Iu,Sector:Fu,Ring:Wu,Polygon:Xu,Polyline:Zu,Rect:Ws,Line:Ku,BezierCurve:th,Arc:nh,IncrementalDisplayable:dh,CompoundPath:ih,LinearGradient:oh,RadialGradient:ah,BoundingRect:ze}),Z_=Object.freeze({__proto__:null,addCommas:gp,toCamelCase:yp,normalizeCssArray:vp,encodeHTML:re,formatTpl:bp,getTooltipMarker:wp,formatTime:function(t,e,n){"week"!==t&&"month"!==t&&"quarter"!==t&&"half-year"!==t&&"year"!==t||(t="MM-dd\nyyyy");var i=uo(e),r=n?"getUTC":"get",o=i[r+"FullYear"](),a=i[r+"Month"]()+1,s=i[r+"Date"](),l=i[r+"Hours"](),u=i[r+"Minutes"](),h=i[r+"Seconds"](),c=i[r+"Milliseconds"]();return t=t.replace("MM",qc(a,2)).replace("M",a).replace("yyyy",o).replace("yy",qc(o%100+"",2)).replace("dd",qc(s,2)).replace("d",s).replace("hh",qc(l,2)).replace("h",l).replace("mm",qc(u,2)).replace("m",u).replace("ss",qc(h,2)).replace("s",h).replace("SSS",qc(c,3))},capitalFirst:function(t){return t?t.charAt(0).toUpperCase()+t.substr(1):t},truncateText:function(t,e,n,i,r){var o={};return pa(o,t,e,n,i,r),o.text},getTextRect:function(t,e,n,i,r,o,a,s){return new Xs({style:{text:t,font:e,align:n,verticalAlign:i,padding:r,rich:o,overflow:a?"truncate":null,lineHeight:s}}).getBoundingRect()}}),j_=Object.freeze({__proto__:null,map:z,each:E,indexOf:P,inherits:O,reduce:V,filter:B,bind:W,curry:H,isArray:Y,isString:U,isObject:q,isFunction:X,extend:A,defaults:k,clone:T,merge:C}),q_=Vo();function K_(t,e){var n=z(e,(function(e){return t.scale.parse(e)}));return"time"===t.type&&n.length>0&&(n.sort(),n.unshift(n[0]),n.push(n[n.length-1])),n}function $_(t){var e=t.getLabelModel().get("customValues");if(e){var n=w_(t),i=t.scale.getExtent();return{labels:z(B(K_(t,e),(function(t){return t>=i[0]&&t<=i[1]})),(function(e){var i={value:e};return{formattedLabel:n(i),rawLabel:t.scale.getLabel(i),tickValue:e}}))}}return"category"===t.type?function(t){var e=t.getLabelModel(),n=Q_(t,e);return!e.get("show")||t.scale.isBlank()?{labels:[],labelCategoryInterval:n.labelCategoryInterval}:n}(t):function(t){var e=t.scale.getTicks(),n=w_(t);return{labels:z(e,(function(e,i){return{level:e.level,formattedLabel:n(e,i),rawLabel:t.scale.getLabel(e),tickValue:e.value}}))}}(t)}function J_(t,e){var n=t.getTickModel().get("customValues");if(n){var i=t.scale.getExtent();return{ticks:B(K_(t,n),(function(t){return t>=i[0]&&t<=i[1]}))}}return"category"===t.type?function(t,e){var n,i,r=tb(t,"ticks"),o=I_(e),a=eb(r,o);if(a)return a;e.get("show")&&!t.scale.isBlank()||(n=[]);if(X(o))n=rb(t,o,!0);else if("auto"===o){var s=Q_(t,t.getLabelModel());i=s.labelCategoryInterval,n=z(s.labels,(function(t){return t.tickValue}))}else n=ib(t,i=o,!0);return nb(r,o,{ticks:n,tickCategoryInterval:i})}(t,e):{ticks:z(t.scale.getTicks(),(function(t){return t.value}))}}function Q_(t,e){var n,i,r=tb(t,"labels"),o=I_(e),a=eb(r,o);return a||(X(o)?n=rb(t,o):(i="auto"===o?function(t){var e=q_(t).autoInterval;return null!=e?e:q_(t).autoInterval=t.calculateCategoryInterval()}(t):o,n=ib(t,i)),nb(r,o,{labels:n,labelCategoryInterval:i}))}function tb(t,e){return q_(t)[e]||(q_(t)[e]=[])}function eb(t,e){for(var n=0;n1&&h/l>2&&(u=Math.round(Math.ceil(u/l)*l));var c=T_(t),p=a.get("showMinLabel")||c,d=a.get("showMaxLabel")||c;p&&u!==o[0]&&g(o[0]);for(var f=u;f<=o[1];f+=l)g(f);function g(t){var e={value:t};s.push(n?t:{formattedLabel:i(e),rawLabel:r.getLabel(e),tickValue:t})}return d&&f-l!==o[1]&&g(o[1]),s}function rb(t,e,n){var i=t.scale,r=w_(t),o=[];return E(i.getTicks(),(function(t){var a=i.getLabel(t),s=t.value;e(t.value,a)&&o.push(n?s:{formattedLabel:r(t),rawLabel:a,tickValue:s})})),o}var ob=[0,1],ab=function(){function t(t,e,n){this.onBand=!1,this.inverse=!1,this.dim=t,this.scale=e,this._extent=n||[0,0]}return t.prototype.contain=function(t){var e=this._extent,n=Math.min(e[0],e[1]),i=Math.max(e[0],e[1]);return t>=n&&t<=i},t.prototype.containData=function(t){return this.scale.contain(t)},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.getPixelPrecision=function(t){return no(t||this.scale.getExtent(),this._extent)},t.prototype.setExtent=function(t,e){var n=this._extent;n[0]=t,n[1]=e},t.prototype.dataToCoord=function(t,e){var n=this._extent,i=this.scale;return t=i.normalize(t),this.onBand&&"ordinal"===i.type&&sb(n=n.slice(),i.count()),Kr(t,ob,n,e)},t.prototype.coordToData=function(t,e){var n=this._extent,i=this.scale;this.onBand&&"ordinal"===i.type&&sb(n=n.slice(),i.count());var r=Kr(t,n,ob,e);return this.scale.scale(r)},t.prototype.pointToData=function(t,e){},t.prototype.getTicksCoords=function(t){var e=(t=t||{}).tickModel||this.getTickModel(),n=z(J_(this,e).ticks,(function(t){return{coord:this.dataToCoord("ordinal"===this.scale.type?this.scale.getRawOrdinalNumber(t):t),tickValue:t}}),this);return function(t,e,n,i){var r=e.length;if(!t.onBand||n||!r)return;var o,a,s=t.getExtent();if(1===r)e[0].coord=s[0],o=e[1]={coord:s[1],tickValue:e[0].tickValue};else{var l=e[r-1].tickValue-e[0].tickValue,u=(e[r-1].coord-e[0].coord)/l;E(e,(function(t){t.coord-=u/2}));var h=t.scale.getExtent();a=1+h[1]-e[r-1].tickValue,o={coord:e[r-1].coord+u*a,tickValue:h[1]+1},e.push(o)}var c=s[0]>s[1];p(e[0].coord,s[0])&&(i?e[0].coord=s[0]:e.shift());i&&p(s[0],e[0].coord)&&e.unshift({coord:s[0]});p(s[1],o.coord)&&(i?o.coord=s[1]:e.pop());i&&p(o.coord,s[1])&&e.push({coord:s[1]});function p(t,e){return t=Jr(t),e=Jr(e),c?t>e:t0&&t<100||(t=5),z(this.scale.getMinorTicks(t),(function(t){return z(t,(function(t){return{coord:this.dataToCoord(t),tickValue:t}}),this)}),this)},t.prototype.getViewLabels=function(){return $_(this).labels},t.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},t.prototype.getTickModel=function(){return this.model.getModel("axisTick")},t.prototype.getBandWidth=function(){var t=this._extent,e=this.scale.getExtent(),n=e[1]-e[0]+(this.onBand?1:0);0===n&&(n=1);var i=Math.abs(t[1]-t[0]);return Math.abs(i)/n},t.prototype.calculateCategoryInterval=function(){return function(t){var e=function(t){var e=t.getLabelModel();return{axisRotate:t.getRotate?t.getRotate():t.isHorizontal&&!t.isHorizontal()?90:0,labelRotate:e.get("rotate")||0,font:e.getFont()}}(t),n=w_(t),i=(e.axisRotate-e.labelRotate)/180*Math.PI,r=t.scale,o=r.getExtent(),a=r.count();if(o[1]-o[0]<1)return 0;var s=1;a>40&&(s=Math.max(1,Math.floor(a/40)));for(var l=o[0],u=t.dataToCoord(l+1)-t.dataToCoord(l),h=Math.abs(u*Math.cos(i)),c=Math.abs(u*Math.sin(i)),p=0,d=0;l<=o[1];l+=s){var f,g,y=Sr(n({value:l}),e.font,"center","top");f=1.3*y.width,g=1.3*y.height,p=Math.max(p,f,7),d=Math.max(d,g,7)}var v=p/h,m=d/c;isNaN(v)&&(v=1/0),isNaN(m)&&(m=1/0);var x=Math.max(0,Math.floor(Math.min(v,m))),_=q_(t.model),b=t.getExtent(),w=_.lastAutoInterval,S=_.lastTickCount;return null!=w&&null!=S&&Math.abs(w-x)<=1&&Math.abs(S-a)<=1&&w>x&&_.axisExtent0===b[0]&&_.axisExtent1===b[1]?x=w:(_.lastTickCount=a,_.lastAutoInterval=x,_.axisExtent0=b[0],_.axisExtent1=b[1]),x}(this)},t}();function sb(t,e){var n=(t[1]-t[0])/e/2;t[0]+=n,t[1]-=n}var lb=2*Math.PI,ub=hs.CMD,hb=["top","right","bottom","left"];function cb(t,e,n,i,r){var o=n.width,a=n.height;switch(t){case"top":i.set(n.x+o/2,n.y-e),r.set(0,-1);break;case"bottom":i.set(n.x+o/2,n.y+a+e),r.set(0,1);break;case"left":i.set(n.x-e,n.y+a/2),r.set(-1,0);break;case"right":i.set(n.x+o+e,n.y+a/2),r.set(1,0)}}function pb(t,e,n,i,r,o,a,s,l){a-=t,s-=e;var u=Math.sqrt(a*a+s*s),h=(a/=u)*n+t,c=(s/=u)*n+e;if(Math.abs(i-r)%lb<1e-4)return l[0]=h,l[1]=c,u-n;if(o){var p=i;i=gs(r),r=gs(p)}else i=gs(i),r=gs(r);i>r&&(r+=lb);var d=Math.atan2(s,a);if(d<0&&(d+=lb),d>=i&&d<=r||d+lb>=i&&d+lb<=r)return l[0]=h,l[1]=c,u-n;var f=n*Math.cos(i)+t,g=n*Math.sin(i)+e,y=n*Math.cos(r)+t,v=n*Math.sin(r)+e,m=(f-a)*(f-a)+(g-s)*(g-s),x=(y-a)*(y-a)+(v-s)*(v-s);return m0){e=e/180*Math.PI,mb.fromArray(t[0]),xb.fromArray(t[1]),_b.fromArray(t[2]),De.sub(bb,mb,xb),De.sub(wb,_b,xb);var n=bb.len(),i=wb.len();if(!(n<.001||i<.001)){bb.scale(1/n),wb.scale(1/i);var r=bb.dot(wb);if(Math.cos(e)1&&De.copy(Ib,_b),Ib.toArray(t[1])}}}}function Cb(t,e,n){if(n<=180&&n>0){n=n/180*Math.PI,mb.fromArray(t[0]),xb.fromArray(t[1]),_b.fromArray(t[2]),De.sub(bb,xb,mb),De.sub(wb,_b,xb);var i=bb.len(),r=wb.len();if(!(i<.001||r<.001))if(bb.scale(1/i),wb.scale(1/r),bb.dot(e)=a)De.copy(Ib,_b);else{Ib.scaleAndAdd(wb,o/Math.tan(Math.PI/2-s));var l=_b.x!==xb.x?(Ib.x-xb.x)/(_b.x-xb.x):(Ib.y-xb.y)/(_b.y-xb.y);if(isNaN(l))return;l<0?De.copy(Ib,xb):l>1&&De.copy(Ib,_b)}Ib.toArray(t[1])}}}function Db(t,e,n,i){var r="normal"===n,o=r?t:t.ensureState(n);o.ignore=e;var a=i.get("smooth");a&&!0===a&&(a=.3),o.shape=o.shape||{},a>0&&(o.shape.smooth=a);var s=i.getModel("lineStyle").getLineStyle();r?t.useStyle(s):o.style=s}function Ab(t,e){var n=e.smooth,i=e.points;if(i)if(t.moveTo(i[0][0],i[0][1]),n>0&&i.length>=3){var r=Vt(i[0],i[1]),o=Vt(i[1],i[2]);if(!r||!o)return t.lineTo(i[1][0],i[1][1]),void t.lineTo(i[2][0],i[2][1]);var a=Math.min(r,o)*n,s=Gt([],i[1],i[0],a/r),l=Gt([],i[1],i[2],a/o),u=Gt([],s,l,.5);t.bezierCurveTo(s[0],s[1],s[0],s[1],u[0],u[1]),t.bezierCurveTo(l[0],l[1],l[0],l[1],i[2][0],i[2][1])}else for(var h=1;h0&&o&&_(-h/a,0,a);var f,g,y=t[0],v=t[a-1];return m(),f<0&&b(-f,.8),g<0&&b(g,.8),m(),x(f,g,1),x(g,f,-1),m(),f<0&&w(-f),g<0&&w(g),u}function m(){f=y.rect[e]-i,g=r-v.rect[e]-v.rect[n]}function x(t,e,n){if(t<0){var i=Math.min(e,-t);if(i>0){_(i*n,0,a);var r=i+t;r<0&&b(-r*n,1)}else b(-t*n,1)}}function _(n,i,r){0!==n&&(u=!0);for(var o=i;o0)for(l=0;l0;l--){_(-(o[l-1]*c),l,a)}}}function w(t){var e=t<0?-1:1;t=Math.abs(t);for(var n=Math.ceil(t/(a-1)),i=0;i0?_(n,0,i+1):_(-n,a-i-1,a),(t-=n)<=0)return}}function Rb(t,e,n,i){return Ob(t,"y","height",e,n,i)}function Nb(t){var e=[];t.sort((function(t,e){return e.priority-t.priority}));var n=new ze(0,0,0,0);function i(t){if(!t.ignore){var e=t.ensureState("emphasis");null==e.ignore&&(e.ignore=!1)}t.ignore=!0}for(var r=0;r=0&&n.attr(d.oldLayoutSelect),P(u,"emphasis")>=0&&n.attr(d.oldLayoutEmphasis)),vh(n,s,e,a)}else if(n.attr(s),!pc(n).valueAnimation){var h=rt(n.style.opacity,1);n.style.opacity=0,mh(n,{style:{opacity:h}},e,a)}if(d.oldLayout=s,n.states.select){var c=d.oldLayoutSelect={};Wb(c,s,Hb),Wb(c,n.states.select,Hb)}if(n.states.emphasis){var p=d.oldLayoutEmphasis={};Wb(p,s,Hb),Wb(p,n.states.emphasis,Hb)}fc(n,a,l,e,e)}if(i&&!i.ignore&&!i.invisible){r=(d=Gb(i)).oldLayout;var d,f={points:i.shape.points};r?(i.attr({shape:r}),vh(i,{shape:f},e)):(i.setShape(f),i.style.strokePercent=0,mh(i,{style:{strokePercent:1}},e)),d.oldLayout=f}},t}(),Xb=Vo();var Ub=Math.sin,Zb=Math.cos,jb=Math.PI,qb=2*Math.PI,Kb=180/jb,$b=function(){function t(){}return t.prototype.reset=function(t){this._start=!0,this._d=[],this._str="",this._p=Math.pow(10,t||4)},t.prototype.moveTo=function(t,e){this._add("M",t,e)},t.prototype.lineTo=function(t,e){this._add("L",t,e)},t.prototype.bezierCurveTo=function(t,e,n,i,r,o){this._add("C",t,e,n,i,r,o)},t.prototype.quadraticCurveTo=function(t,e,n,i){this._add("Q",t,e,n,i)},t.prototype.arc=function(t,e,n,i,r,o){this.ellipse(t,e,n,n,0,i,r,o)},t.prototype.ellipse=function(t,e,n,i,r,o,a,s){var l=a-o,u=!s,h=Math.abs(l),c=pi(h-qb)||(u?l>=qb:-l>=qb),p=l>0?l%qb:l%qb+qb,d=!1;d=!!c||!pi(h)&&p>=jb==!!u;var f=t+n*Zb(o),g=e+i*Ub(o);this._start&&this._add("M",f,g);var y=Math.round(r*Kb);if(c){var v=1/this._p,m=(u?1:-1)*(qb-v);this._add("A",n,i,y,1,+u,t+n*Zb(o+m),e+i*Ub(o+m)),v>.01&&this._add("A",n,i,y,0,+u,f,g)}else{var x=t+n*Zb(a),_=e+i*Ub(a);this._add("A",n,i,y,+d,+u,x,_)}},t.prototype.rect=function(t,e,n,i){this._add("M",t,e),this._add("l",n,0),this._add("l",0,i),this._add("l",-n,0),this._add("Z")},t.prototype.closePath=function(){this._d.length>0&&this._add("Z")},t.prototype._add=function(t,e,n,i,r,o,a,s,l){for(var u=[],h=this._p,c=1;c"}(r,o)+("style"!==r?re(a):a||"")+(i?""+n+z(i,(function(e){return t(e)})).join(n)+n:"")+("")}(t)}function uw(t){return{zrId:t,shadowCache:{},patternCache:{},gradientCache:{},clipPathCache:{},defs:{},cssNodes:{},cssAnims:{},cssStyleCache:{},cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function hw(t,e,n,i){return sw("svg","root",{width:t,height:e,xmlns:iw,"xmlns:xlink":rw,version:"1.1",baseProfile:"full",viewBox:!!i&&"0 0 "+t+" "+e},n)}var cw=0;function pw(){return cw++}var dw={cubicIn:"0.32,0,0.67,0",cubicOut:"0.33,1,0.68,1",cubicInOut:"0.65,0,0.35,1",quadraticIn:"0.11,0,0.5,0",quadraticOut:"0.5,1,0.89,1",quadraticInOut:"0.45,0,0.55,1",quarticIn:"0.5,0,0.75,0",quarticOut:"0.25,1,0.5,1",quarticInOut:"0.76,0,0.24,1",quinticIn:"0.64,0,0.78,0",quinticOut:"0.22,1,0.36,1",quinticInOut:"0.83,0,0.17,1",sinusoidalIn:"0.12,0,0.39,0",sinusoidalOut:"0.61,1,0.88,1",sinusoidalInOut:"0.37,0,0.63,1",exponentialIn:"0.7,0,0.84,0",exponentialOut:"0.16,1,0.3,1",exponentialInOut:"0.87,0,0.13,1",circularIn:"0.55,0,1,0.45",circularOut:"0,0.55,0.45,1",circularInOut:"0.85,0,0.15,1"},fw="transform-origin";function gw(t,e,n){var i=A({},t.shape);A(i,e),t.buildPath(n,i);var r=new $b;return r.reset(wi(t)),n.rebuildPath(r,1),r.generateStr(),r.getStr()}function yw(t,e){var n=e.originX,i=e.originY;(n||i)&&(t[fw]=n+"px "+i+"px")}var vw={fill:"fill",opacity:"opacity",lineWidth:"stroke-width",lineDashOffset:"stroke-dashoffset"};function mw(t,e){var n=e.zrId+"-ani-"+e.cssAnimIdx++;return e.cssAnims[n]=t,n}function xw(t){return U(t)?dw[t]?"cubic-bezier("+dw[t]+")":Pn(t)?t:"":""}function _w(t,e,n,i){var r=t.animators,o=r.length,a=[];if(t instanceof ih){var s=function(t,e,n){var i,r,o=t.shape.paths,a={};if(E(o,(function(t){var e=uw(n.zrId);e.animation=!0,_w(t,{},e,!0);var o=e.cssAnims,s=e.cssNodes,l=G(o),u=l.length;if(u){var h=o[r=l[u-1]];for(var c in h){var p=h[c];a[c]=a[c]||{d:""},a[c].d+=p.d||""}for(var d in s){var f=s[d].animation;f.indexOf(r)>=0&&(i=f)}}})),i){e.d=!1;var s=mw(a,n);return i.replace(r,s)}}(t,e,n);if(s)a.push(s);else if(!o)return}else if(!o)return;for(var l={},u=0;u0})).length)return mw(h,n)+" "+r[0]+" both"}for(var y in l){(s=g(l[y]))&&a.push(s)}if(a.length){var v=n.zrId+"-cls-"+pw();n.cssNodes["."+v]={animation:a.join(",")},e.class=v}}function bw(t,e,n,i){var r=JSON.stringify(t),o=n.cssStyleCache[r];o||(o=n.zrId+"-cls-"+pw(),n.cssStyleCache[r]=o,n.cssNodes["."+o+(i?":hover":"")]=t),e.class=e.class?e.class+" "+o:o}var ww=Math.round;function Sw(t){return t&&U(t.src)}function Mw(t){return t&&X(t.toDataURL)}function Iw(t,e,n,i){nw((function(r,o){var a="fill"===r||"stroke"===r;a&&_i(o)?Ew(e,t,r,i):a&&vi(o)?zw(n,t,r,i):t[r]=o,a&&i.ssr&&"none"===o&&(t["pointer-events"]="visible")}),e,n,!1),function(t,e,n){var i=t.style;if(function(t){return t&&(t.shadowBlur||t.shadowOffsetX||t.shadowOffsetY)}(i)){var r=function(t){var e=t.style,n=t.getGlobalScale();return[e.shadowColor,(e.shadowBlur||0).toFixed(2),(e.shadowOffsetX||0).toFixed(2),(e.shadowOffsetY||0).toFixed(2),n[0],n[1]].join(",")}(t),o=n.shadowCache,a=o[r];if(!a){var s=t.getGlobalScale(),l=s[0],u=s[1];if(!l||!u)return;var h=i.shadowOffsetX||0,c=i.shadowOffsetY||0,p=i.shadowBlur,d=hi(i.shadowColor),f=d.opacity,g=d.color,y=p/2/l+" "+p/2/u;a=n.zrId+"-s"+n.shadowIdx++,n.defs[a]=sw("filter",a,{id:a,x:"-100%",y:"-100%",width:"300%",height:"300%"},[sw("feDropShadow","",{dx:h/l,dy:c/u,stdDeviation:y,"flood-color":g,"flood-opacity":f})]),o[r]=a}e.filter=bi(a)}}(n,t,i)}function Tw(t,e){var n=Ur(e);n&&(n.each((function(e,n){null!=e&&(t[(ow+n).toLowerCase()]=e+"")})),e.isSilent()&&(t[ow+"silent"]="true"))}function Cw(t){return pi(t[0]-1)&&pi(t[1])&&pi(t[2])&&pi(t[3]-1)}function Dw(t,e,n){if(e&&(!function(t){return pi(t[4])&&pi(t[5])}(e)||!Cw(e))){var i=n?10:1e4;t.transform=Cw(e)?"translate("+ww(e[4]*i)/i+" "+ww(e[5]*i)/i+")":function(t){return"matrix("+di(t[0])+","+di(t[1])+","+di(t[2])+","+di(t[3])+","+fi(t[4])+","+fi(t[5])+")"}(e)}}function Aw(t,e,n){for(var i=t.points,r=[],o=0;o=0&&a||o;s&&(r=si(s))}var l=i.lineWidth;l&&(l/=!i.strokeNoScale&&t.transform?t.transform[0]:1);var u={cursor:"pointer"};r&&(u.fill=r),i.stroke&&(u.stroke=i.stroke),l&&(u["stroke-width"]=l),bw(u,e,n,!0)}}(t,o,e),sw(s,t.id+"",o)}function Nw(t,e){return t instanceof ks?Rw(t,e):t instanceof Ns?function(t,e){var n=t.style,i=n.image;if(i&&!U(i)&&(Sw(i)?i=i.src:Mw(i)&&(i=i.toDataURL())),i){var r=n.x||0,o=n.y||0,a={href:i,width:n.width,height:n.height};return r&&(a.x=r),o&&(a.y=o),Dw(a,t.transform),Iw(a,n,t,e),Tw(a,t),e.animation&&_w(t,a,e),sw("image",t.id+"",a)}}(t,e):t instanceof Ps?function(t,e){var n=t.style,i=n.text;if(null!=i&&(i+=""),i&&!isNaN(n.x)&&!isNaN(n.y)){var r=n.font||a,s=n.x||0,l=function(t,e,n){return"top"===n?t+=e/2:"bottom"===n&&(t-=e/2),t}(n.y||0,Tr(r),n.textBaseline),u={"dominant-baseline":"central","text-anchor":gi[n.textAlign]||n.textAlign};if($s(n)){var h="",c=n.fontStyle,p=qs(n.fontSize);if(!parseFloat(p))return;var d=n.fontFamily||o,f=n.fontWeight;h+="font-size:"+p+";font-family:"+d+";",c&&"normal"!==c&&(h+="font-style:"+c+";"),f&&"normal"!==f&&(h+="font-weight:"+f+";"),u.style=h}else u.style="font: "+r;return i.match(/\s/)&&(u["xml:space"]="preserve"),s&&(u.x=s),l&&(u.y=l),Dw(u,t.transform),Iw(u,n,t,e),Tw(u,t),e.animation&&_w(t,u,e),sw("text",t.id+"",u,void 0,i)}}(t,e):void 0}function Ew(t,e,n,i){var r,o=t[n],a={gradientUnits:o.global?"userSpaceOnUse":"objectBoundingBox"};if(mi(o))r="linearGradient",a.x1=o.x,a.y1=o.y,a.x2=o.x2,a.y2=o.y2;else{if(!xi(o))return void 0;r="radialGradient",a.cx=rt(o.x,.5),a.cy=rt(o.y,.5),a.r=rt(o.r,.5)}for(var s=o.colorStops,l=[],u=0,h=s.length;ul?Jw(t,null==n[c+1]?null:n[c+1].elm,n,s,c):Qw(t,e,a,l))}(n,i,r):jw(r)?(jw(t.text)&&Xw(n,""),Jw(n,null,r,0,r.length-1)):jw(i)?Qw(n,i,0,i.length-1):jw(t.text)&&Xw(n,""):t.text!==e.text&&(jw(i)&&Qw(n,i,0,i.length-1),Xw(n,e.text)))}var nS=0,iS=function(){function t(t,e,n){if(this.type="svg",this.refreshHover=rS("refreshHover"),this.configLayer=rS("configLayer"),this.storage=e,this._opts=n=A({},n),this.root=t,this._id="zr"+nS++,this._oldVNode=hw(n.width,n.height),t&&!n.ssr){var i=this._viewport=document.createElement("div");i.style.cssText="position:relative;overflow:hidden";var r=this._svgDom=this._oldVNode.elm=aw("svg");tS(null,this._oldVNode),i.appendChild(r),t.appendChild(i)}this.resize(n.width,n.height)}return t.prototype.getType=function(){return this.type},t.prototype.getViewportRoot=function(){return this._viewport},t.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},t.prototype.getSvgDom=function(){return this._svgDom},t.prototype.refresh=function(){if(this.root){var t=this.renderToVNode({willUpdate:!0});t.attrs.style="position:absolute;left:0;top:0;user-select:none",function(t,e){if(Kw(t,e))eS(t,e);else{var n=t.elm,i=Hw(n);$w(e),null!==i&&(Fw(i,e.elm,Yw(n)),Qw(i,[t],0,0))}}(this._oldVNode,t),this._oldVNode=t}},t.prototype.renderOneToVNode=function(t){return Nw(t,uw(this._id))},t.prototype.renderToVNode=function(t){t=t||{};var e=this.storage.getDisplayList(!0),n=this._width,i=this._height,r=uw(this._id);r.animation=t.animation,r.willUpdate=t.willUpdate,r.compress=t.compress,r.emphasis=t.emphasis,r.ssr=this._opts.ssr;var o=[],a=this._bgVNode=function(t,e,n,i){var r;if(n&&"none"!==n)if(r=sw("rect","bg",{width:t,height:e,x:"0",y:"0"}),_i(n))Ew({fill:n},r.attrs,"fill",i);else if(vi(n))zw({style:{fill:n},dirty:bt,getBoundingRect:function(){return{width:t,height:e}}},r.attrs,"fill",i);else{var o=hi(n),a=o.color,s=o.opacity;r.attrs.fill=a,s<1&&(r.attrs["fill-opacity"]=s)}return r}(n,i,this._backgroundColor,r);a&&o.push(a);var s=t.compress?null:this._mainVNode=sw("g","main",{},[]);this._paintList(e,r,s?s.children:o),s&&o.push(s);var l=z(G(r.defs),(function(t){return r.defs[t]}));if(l.length&&o.push(sw("defs","defs",{},l)),t.animation){var u=function(t,e,n){var i=(n=n||{}).newline?"\n":"",r=" {"+i,o=i+"}",a=z(G(t),(function(e){return e+r+z(G(t[e]),(function(n){return n+":"+t[e][n]+";"})).join(i)+o})).join(i),s=z(G(e),(function(t){return"@keyframes "+t+r+z(G(e[t]),(function(n){return n+r+z(G(e[t][n]),(function(i){var r=e[t][n][i];return"d"===i&&(r='path("'+r+'")'),i+":"+r+";"})).join(i)+o})).join(i)+o})).join(i);return a||s?[""].join(i):""}(r.cssNodes,r.cssAnims,{newline:!0});if(u){var h=sw("style","stl",{},[],u);o.push(h)}}return hw(n,i,o,t.useViewBox)},t.prototype.renderToString=function(t){return t=t||{},lw(this.renderToVNode({animation:rt(t.cssAnimation,!0),emphasis:rt(t.cssEmphasis,!0),willUpdate:!1,compress:!0,useViewBox:rt(t.useViewBox,!0)}),{newline:!0})},t.prototype.setBackgroundColor=function(t){this._backgroundColor=t},t.prototype.getSvgRoot=function(){return this._mainVNode&&this._mainVNode.elm},t.prototype._paintList=function(t,e,n){for(var i,r,o=t.length,a=[],s=0,l=0,u=0;u=0&&(!c||!r||c[f]!==r[f]);f--);for(var g=d-1;g>f;g--)i=a[--s-1];for(var y=f+1;y=a)}}for(var h=this.__startIndex;h15)break}n.prevElClipPaths&&u.restore()};if(p)if(0===p.length)s=l.__endIndex;else for(var _=d.dpr,b=0;b0&&t>i[0]){for(s=0;st);s++);a=n[i[s]]}if(i.splice(s+1,0,t),n[t]=e,!e.virtual)if(a){var l=a.dom;l.nextSibling?o.insertBefore(e.dom,l.nextSibling):o.appendChild(e.dom)}else o.firstChild?o.insertBefore(e.dom,o.firstChild):o.appendChild(e.dom);e.painter||(e.painter=this)}},t.prototype.eachLayer=function(t,e){for(var n=this._zlevelList,i=0;i0?uS:0),this._needsManuallyCompositing),u.__builtin__||I("ZLevel "+l+" has been used by unkown layer "+u.id),u!==o&&(u.__used=!0,u.__startIndex!==r&&(u.__dirty=!0),u.__startIndex=r,u.incremental?u.__drawIndex=-1:u.__drawIndex=r,e(r),o=u),1&s.__dirty&&!s.__inHover&&(u.__dirty=!0,u.incremental&&u.__drawIndex<0&&(u.__drawIndex=r))}e(r),this.eachBuiltinLayer((function(t,e){!t.__used&&t.getElementCount()>0&&(t.__dirty=!0,t.__startIndex=t.__endIndex=t.__drawIndex=0),t.__dirty&&t.__drawIndex<0&&(t.__drawIndex=t.__startIndex)}))},t.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},t.prototype._clearLayer=function(t){t.clear()},t.prototype.setBackgroundColor=function(t){this._backgroundColor=t,E(this._layers,(function(t){t.setUnpainted()}))},t.prototype.configLayer=function(t,e){if(e){var n=this._layerConfig;n[t]?C(n[t],e,!0):n[t]=e;for(var i=0;i-1&&(s.style.stroke=s.style.fill,s.style.fill="#fff",s.style.lineWidth=2),e},e.type="series.line",e.dependencies=["grid","polar"],e.defaultOption={z:3,coordinateSystem:"cartesian2d",legendHoverLink:!0,clip:!0,label:{position:"top"},endLabel:{show:!1,valueAnimation:!0,distance:8},lineStyle:{width:2,type:"solid"},emphasis:{scale:!0},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0,universalTransition:{divideShape:"clone"},triggerLineEvent:!1},e}(bg);function pS(t,e){var n=t.mapDimensionsAll("defaultedLabel"),i=n.length;if(1===i){var r=mf(t,e,n[0]);return null!=r?r+"":null}if(i){for(var o=[],a=0;a=0&&i.push(e[o])}return i.join(" ")}var fS=function(t){function e(e,n,i,r){var o=t.call(this)||this;return o.updateData(e,n,i,r),o}return n(e,t),e.prototype._createSymbol=function(t,e,n,i,r){this.removeAll();var o=Xy(t,-1,-1,2,2,null,r);o.attr({z2:100,culling:!0,scaleX:i[0]/2,scaleY:i[1]/2}),o.drift=gS,this._symbolType=t,this.add(o)},e.prototype.stopSymbolAnimation=function(t){this.childAt(0).stopAnimation(null,t)},e.prototype.getSymbolType=function(){return this._symbolType},e.prototype.getSymbolPath=function(){return this.childAt(0)},e.prototype.highlight=function(){Ol(this.childAt(0))},e.prototype.downplay=function(){Rl(this.childAt(0))},e.prototype.setZ=function(t,e){var n=this.childAt(0);n.zlevel=t,n.z=e},e.prototype.setDraggable=function(t,e){var n=this.childAt(0);n.draggable=t,n.cursor=!e&&t?"move":n.cursor},e.prototype.updateData=function(t,n,i,r){this.silent=!1;var o=t.getItemVisual(n,"symbol")||"circle",a=t.hostModel,s=e.getSymbolSize(t,n),l=o!==this._symbolType,u=r&&r.disableAnimation;if(l){var h=t.getItemVisual(n,"symbolKeepAspect");this._createSymbol(o,t,n,s,h)}else{(p=this.childAt(0)).silent=!1;var c={scaleX:s[0]/2,scaleY:s[1]/2};u?p.attr(c):vh(p,c,a,n),Sh(p)}if(this._updateCommon(t,n,s,i,r),l){var p=this.childAt(0);if(!u){c={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:p.style.opacity}};p.scaleX=p.scaleY=0,p.style.opacity=0,mh(p,c,a,n)}}u&&this.childAt(0).stopAnimation("leave")},e.prototype._updateCommon=function(t,e,n,i,r){var o,a,s,l,u,h,c,p,d,f=this.childAt(0),g=t.hostModel;if(i&&(o=i.emphasisItemStyle,a=i.blurItemStyle,s=i.selectItemStyle,l=i.focus,u=i.blurScope,c=i.labelStatesModels,p=i.hoverScale,d=i.cursorStyle,h=i.emphasisDisabled),!i||t.hasItemOption){var y=i&&i.itemModel?i.itemModel:t.getItemModel(e),v=y.getModel("emphasis");o=v.getModel("itemStyle").getItemStyle(),s=y.getModel(["select","itemStyle"]).getItemStyle(),a=y.getModel(["blur","itemStyle"]).getItemStyle(),l=v.get("focus"),u=v.get("blurScope"),h=v.get("disabled"),c=rc(y),p=v.getShallow("scale"),d=y.getShallow("cursor")}var m=t.getItemVisual(e,"symbolRotate");f.attr("rotation",(m||0)*Math.PI/180||0);var x=Zy(t.getItemVisual(e,"symbolOffset"),n);x&&(f.x=x[0],f.y=x[1]),d&&f.attr("cursor",d);var _=t.getItemVisual(e,"style"),b=_.fill;if(f instanceof Ns){var w=f.style;f.useStyle(A({image:w.image,x:w.x,y:w.y,width:w.width,height:w.height},_))}else f.__isEmptyBrush?f.useStyle(A({},_)):f.useStyle(_),f.style.decal=null,f.setColor(b,r&&r.symbolInnerColor),f.style.strokeNoScale=!0;var S=t.getItemVisual(e,"liftZ"),M=this._z2;null!=S?null==M&&(this._z2=f.z2,f.z2+=S):null!=M&&(f.z2=M,this._z2=null);var I=r&&r.useNameLabel;ic(f,c,{labelFetcher:g,labelDataIndex:e,defaultText:function(e){return I?t.getName(e):pS(t,e)},inheritColor:b,defaultOpacity:_.opacity}),this._sizeX=n[0]/2,this._sizeY=n[1]/2;var T=f.ensureState("emphasis");T.style=o,f.ensureState("select").style=s,f.ensureState("blur").style=a;var C=null==p||!0===p?Math.max(1.1,3/this._sizeY):isFinite(p)&&p>0?+p:1;T.scaleX=this._sizeX*C,T.scaleY=this._sizeY*C,this.setSymbolScale(1),Zl(this,l,u,h)},e.prototype.setSymbolScale=function(t){this.scaleX=this.scaleY=t},e.prototype.fadeOut=function(t,e,n){var i=this.childAt(0),r=rl(this).dataIndex,o=n&&n.animation;if(this.silent=i.silent=!0,n&&n.fadeLabel){var a=i.getTextContent();a&&_h(a,{style:{opacity:0}},e,{dataIndex:r,removeOpt:o,cb:function(){i.removeTextContent()}})}else i.removeTextContent();_h(i,{style:{opacity:0},scaleX:0,scaleY:0},e,{dataIndex:r,cb:t,removeOpt:o})},e.getSymbolSize=function(t,e){return Uy(t.getItemVisual(e,"symbolSize"))},e}(Br);function gS(t,e){this.parent.drift(t,e)}function yS(t,e,n,i){return e&&!isNaN(e[0])&&!isNaN(e[1])&&!(i.isIgnore&&i.isIgnore(n))&&!(i.clipShape&&!i.clipShape.contain(e[0],e[1]))&&"none"!==t.getItemVisual(n,"symbol")}function vS(t){return null==t||q(t)||(t={isIgnore:t}),t||{}}function mS(t){var e=t.hostModel,n=e.getModel("emphasis");return{emphasisItemStyle:n.getModel("itemStyle").getItemStyle(),blurItemStyle:e.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:e.getModel(["select","itemStyle"]).getItemStyle(),focus:n.get("focus"),blurScope:n.get("blurScope"),emphasisDisabled:n.get("disabled"),hoverScale:n.get("scale"),labelStatesModels:rc(e),cursorStyle:e.get("cursor")}}var xS=function(){function t(t){this.group=new Br,this._SymbolCtor=t||fS}return t.prototype.updateData=function(t,e){this._progressiveEls=null,e=vS(e);var n=this.group,i=t.hostModel,r=this._data,o=this._SymbolCtor,a=e.disableAnimation,s=mS(t),l={disableAnimation:a},u=e.getSymbolPoint||function(e){return t.getItemLayout(e)};r||n.removeAll(),t.diff(r).add((function(i){var r=u(i);if(yS(t,r,i,e)){var a=new o(t,i,s,l);a.setPosition(r),t.setItemGraphicEl(i,a),n.add(a)}})).update((function(h,c){var p=r.getItemGraphicEl(c),d=u(h);if(yS(t,d,h,e)){var f=t.getItemVisual(h,"symbol")||"circle",g=p&&p.getSymbolType&&p.getSymbolType();if(!p||g&&g!==f)n.remove(p),(p=new o(t,h,s,l)).setPosition(d);else{p.updateData(t,h,s,l);var y={x:d[0],y:d[1]};a?p.attr(y):vh(p,y,i)}n.add(p),t.setItemGraphicEl(h,p)}else n.remove(p)})).remove((function(t){var e=r.getItemGraphicEl(t);e&&e.fadeOut((function(){n.remove(e)}),i)})).execute(),this._getSymbolPoint=u,this._data=t},t.prototype.updateLayout=function(){var t=this,e=this._data;e&&e.eachItemGraphicEl((function(e,n){var i=t._getSymbolPoint(n);e.setPosition(i),e.markRedraw()}))},t.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=mS(t),this._data=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(t,e,n){function i(t){t.isGroup||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[],n=vS(n);for(var r=t.start;r0?n=i[0]:i[1]<0&&(n=i[1]);return n}(r,n),a=i.dim,s=r.dim,l=e.mapDimension(s),u=e.mapDimension(a),h="x"===s||"radius"===s?1:0,c=z(t.dimensions,(function(t){return e.mapDimension(t)})),p=!1,d=e.getCalculationInfo("stackResultDimension");return mx(e,c[0])&&(p=!0,c[0]=d),mx(e,c[1])&&(p=!0,c[1]=d),{dataDimsForPoint:c,valueStart:o,valueAxisDim:s,baseAxisDim:a,stacked:!!p,valueDim:l,baseDim:u,baseDataOffset:h,stackedOverDimension:e.getCalculationInfo("stackedOverDimension")}}function bS(t,e,n,i){var r=NaN;t.stacked&&(r=n.get(n.getCalculationInfo("stackedOverDimension"),i)),isNaN(r)&&(r=t.valueStart);var o=t.baseDataOffset,a=[];return a[o]=n.get(t.baseDim,i),a[1-o]=r,e.dataToPoint(a)}var wS=Math.min,SS=Math.max;function MS(t,e){return isNaN(t)||isNaN(e)}function IS(t,e,n,i,r,o,a,s,l){for(var u,h,c,p,d,f,g=n,y=0;y=r||g<0)break;if(MS(v,m)){if(l){g+=o;continue}break}if(g===n)t[o>0?"moveTo":"lineTo"](v,m),c=v,p=m;else{var x=v-u,_=m-h;if(x*x+_*_<.5){g+=o;continue}if(a>0){for(var b=g+o,w=e[2*b],S=e[2*b+1];w===v&&S===m&&y=i||MS(w,S))d=v,f=m;else{T=w-u,C=S-h;var k=v-u,L=w-v,P=m-h,O=S-m,R=void 0,N=void 0;if("x"===s){var E=T>0?1:-1;d=v-E*(R=Math.abs(k))*a,f=m,D=v+E*(N=Math.abs(L))*a,A=m}else if("y"===s){var z=C>0?1:-1;d=v,f=m-z*(R=Math.abs(P))*a,D=v,A=m+z*(N=Math.abs(O))*a}else R=Math.sqrt(k*k+P*P),d=v-T*a*(1-(I=(N=Math.sqrt(L*L+O*O))/(N+R))),f=m-C*a*(1-I),A=m+C*a*I,D=wS(D=v+T*a*I,SS(w,v)),A=wS(A,SS(S,m)),D=SS(D,wS(w,v)),f=m-(C=(A=SS(A,wS(S,m)))-m)*R/N,d=wS(d=v-(T=D-v)*R/N,SS(u,v)),f=wS(f,SS(h,m)),D=v+(T=v-(d=SS(d,wS(u,v))))*N/R,A=m+(C=m-(f=SS(f,wS(h,m))))*N/R}t.bezierCurveTo(c,p,d,f,v,m),c=D,p=A}else t.lineTo(v,m)}u=v,h=m,g+=o}return y}var TS=function(){this.smooth=0,this.smoothConstraint=!0},CS=function(t){function e(e){var n=t.call(this,e)||this;return n.type="ec-polyline",n}return n(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new TS},e.prototype.buildPath=function(t,e){var n=e.points,i=0,r=n.length/2;if(e.connectNulls){for(;r>0&&MS(n[2*r-2],n[2*r-1]);r--);for(;i=0){var y=a?(h-i)*g+i:(u-n)*g+n;return a?[t,y]:[y,t]}n=u,i=h;break;case o.C:u=r[l++],h=r[l++],c=r[l++],p=r[l++],d=r[l++],f=r[l++];var v=a?_n(n,u,c,d,t,s):_n(i,h,p,f,t,s);if(v>0)for(var m=0;m=0){y=a?mn(i,h,p,f,x):mn(n,u,c,d,x);return a?[t,y]:[y,t]}}n=d,i=f}}},e}(ks),DS=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e}(TS),AS=function(t){function e(e){var n=t.call(this,e)||this;return n.type="ec-polygon",n}return n(e,t),e.prototype.getDefaultShape=function(){return new DS},e.prototype.buildPath=function(t,e){var n=e.points,i=e.stackedOnPoints,r=0,o=n.length/2,a=e.smoothMonotone;if(e.connectNulls){for(;o>0&&MS(n[2*o-2],n[2*o-1]);o--);for(;r=0;a--){var s=t.getDimensionInfo(i[a].dimension);if("x"===(r=s&&s.coordDim)||"y"===r){o=i[a];break}}if(o){var l=e.getAxis(r),u=z(o.stops,(function(t){return{coord:l.toGlobalCoord(l.dataToCoord(t.value)),color:t.color}})),h=u.length,c=o.outerColors.slice();h&&u[0].coord>u[h-1].coord&&(u.reverse(),c.reverse());var p=function(t,e){var n,i,r=[],o=t.length;function a(t,e,n){var i=t.coord;return{coord:n,color:ti((n-i)/(e.coord-i),[t.color,e.color])}}for(var s=0;se){i?r.push(a(i,l,e)):n&&r.push(a(n,l,0),a(n,l,e));break}n&&(r.push(a(n,l,0)),n=null),r.push(l),i=l}}return r}(u,"x"===r?n.getWidth():n.getHeight()),d=p.length;if(!d&&h)return u[0].coord<0?c[1]?c[1]:u[h-1].color:c[0]?c[0]:u[0].color;var f=p[0].coord-10,g=p[d-1].coord+10,y=g-f;if(y<.001)return"transparent";E(p,(function(t){t.offset=(t.coord-f)/y})),p.push({offset:d?p[d-1].offset:.5,color:c[1]||"transparent"}),p.unshift({offset:d?p[0].offset:.5,color:c[0]||"transparent"});var v=new oh(0,0,0,0,p,!0);return v[r]=f,v[r+"2"]=g,v}}}function FS(t,e,n){var i=t.get("showAllSymbol"),r="auto"===i;if(!i||r){var o=n.getAxesByScale("ordinal")[0];if(o&&(!r||!function(t,e){var n=t.getExtent(),i=Math.abs(n[1]-n[0])/t.scale.count();isNaN(i)&&(i=0);for(var r=e.count(),o=Math.max(1,Math.round(r/5)),a=0;ai)return!1;return!0}(o,e))){var a=e.mapDimension(o.dim),s={};return E(o.getViewLabels(),(function(t){var e=o.scale.getRawOrdinalNumber(t.tickValue);s[e]=1})),function(t){return!s.hasOwnProperty(e.get(a,t))}}}}function GS(t,e){return[t[2*e],t[2*e+1]]}function WS(t){if(t.get(["endLabel","show"]))return!0;for(var e=0;e0&&"bolder"===t.get(["emphasis","lineStyle","width"]))&&(p.getState("emphasis").style.lineWidth=+p.style.lineWidth+1);rl(p).seriesIndex=t.seriesIndex,Zl(p,A,L,P);var O=zS(t.get("smooth")),R=t.get("smoothMonotone");if(p.setShape({smooth:O,smoothMonotone:R,connectNulls:b}),d){var N=o.getCalculationInfo("stackedOnSeries"),E=0;d.useStyle(k(s.getAreaStyle(),{fill:T,opacity:.7,lineJoin:"bevel",decal:o.getVisual("style").decal})),N&&(E=zS(N.get("smooth"))),d.setShape({smooth:O,stackedOnSmooth:E,smoothMonotone:R,connectNulls:b}),$l(d,t,"areaStyle"),rl(d).seriesIndex=t.seriesIndex,Zl(d,A,L,P)}var z=this._changePolyState;o.eachItemGraphicEl((function(t){t&&(t.onHoverStateChange=z)})),this._polyline.onHoverStateChange=z,this._data=o,this._coordSys=i,this._stackedOnPoints=x,this._points=l,this._step=I,this._valueOrigin=v,t.get("triggerLineEvent")&&(this.packEventData(t,p),d&&this.packEventData(t,d))},e.prototype.packEventData=function(t,e){rl(e).eventData={componentType:"series",componentSubType:"line",componentIndex:t.componentIndex,seriesIndex:t.seriesIndex,seriesName:t.name,seriesType:"line"}},e.prototype.highlight=function(t,e,n,i){var r=t.getData(),o=zo(r,i);if(this._changePolyState("emphasis"),!(o instanceof Array)&&null!=o&&o>=0){var a=r.getLayout("points"),s=r.getItemGraphicEl(o);if(!s){var l=a[2*o],u=a[2*o+1];if(isNaN(l)||isNaN(u))return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(l,u))return;var h=t.get("zlevel")||0,c=t.get("z")||0;(s=new fS(r,o)).x=l,s.y=u,s.setZ(h,c);var p=s.getSymbolPath().getTextContent();p&&(p.zlevel=h,p.z=c,p.z2=this._polyline.z2+1),s.__temp=!0,r.setItemGraphicEl(o,s),s.stopSymbolAnimation(!0),this.group.add(s)}s.highlight()}else Og.prototype.highlight.call(this,t,e,n,i)},e.prototype.downplay=function(t,e,n,i){var r=t.getData(),o=zo(r,i);if(this._changePolyState("normal"),null!=o&&o>=0){var a=r.getItemGraphicEl(o);a&&(a.__temp?(r.setItemGraphicEl(o,null),this.group.remove(a)):a.downplay())}else Og.prototype.downplay.call(this,t,e,n,i)},e.prototype._changePolyState=function(t){var e=this._polygon;Dl(this._polyline,t),e&&Dl(e,t)},e.prototype._newPolyline=function(t){var e=this._polyline;return e&&this._lineGroup.remove(e),e=new CS({shape:{points:t},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(e),this._polyline=e,e},e.prototype._newPolygon=function(t,e){var n=this._polygon;return n&&this._lineGroup.remove(n),n=new AS({shape:{points:t,stackedOnPoints:e},segmentIgnoreThreshold:2}),this._lineGroup.add(n),this._polygon=n,n},e.prototype._initSymbolLabelAnimation=function(t,e,n){var i,r,o=e.getBaseAxis(),a=o.inverse;"cartesian2d"===e.type?(i=o.isHorizontal(),r=!1):"polar"===e.type&&(i="angle"===o.dim,r=!0);var s=t.hostModel,l=s.get("animationDuration");X(l)&&(l=l(null));var u=s.get("animationDelay")||0,h=X(u)?u(null):u;t.eachItemGraphicEl((function(t,o){var s=t;if(s){var c=[t.x,t.y],p=void 0,d=void 0,f=void 0;if(n)if(r){var g=n,y=e.pointToCoord(c);i?(p=g.startAngle,d=g.endAngle,f=-y[1]/180*Math.PI):(p=g.r0,d=g.r,f=y[0])}else{var v=n;i?(p=v.x,d=v.x+v.width,f=t.x):(p=v.y+v.height,d=v.y,f=t.y)}var m=d===p?0:(f-p)/(d-p);a&&(m=1-m);var x=X(u)?u(o):l*m+h,_=s.getSymbolPath(),b=_.getTextContent();s.attr({scaleX:0,scaleY:0}),s.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:x}),b&&b.animateFrom({style:{opacity:0}},{duration:300,delay:x}),_.disableLabelAnimation=!0}}))},e.prototype._initOrUpdateEndLabel=function(t,e,n){var i=t.getModel("endLabel");if(WS(t)){var r=t.getData(),o=this._polyline,a=r.getLayout("points");if(!a)return o.removeTextContent(),void(this._endLabel=null);var s=this._endLabel;s||((s=this._endLabel=new Xs({z2:200})).ignoreClip=!0,o.setTextContent(this._endLabel),o.disableLabelAnimation=!0);var l=function(t){for(var e,n,i=t.length/2;i>0&&(e=t[2*i-2],n=t[2*i-1],isNaN(e)||isNaN(n));i--);return i-1}(a);l>=0&&(ic(o,rc(t,"endLabel"),{inheritColor:n,labelFetcher:t,labelDataIndex:l,defaultText:function(t,e,n){return null!=n?dS(r,n):pS(r,t)},enableTextSetter:!0},function(t,e){var n=e.getBaseAxis(),i=n.isHorizontal(),r=n.inverse,o=i?r?"right":"left":"center",a=i?"middle":r?"top":"bottom";return{normal:{align:t.get("align")||o,verticalAlign:t.get("verticalAlign")||a}}}(i,e)),o.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},e.prototype._endLabelOnDuring=function(t,e,n,i,r,o,a){var s=this._endLabel,l=this._polyline;if(s){t<1&&null==i.originalX&&(i.originalX=s.x,i.originalY=s.y);var u=n.getLayout("points"),h=n.hostModel,c=h.get("connectNulls"),p=o.get("precision"),d=o.get("distance")||0,f=a.getBaseAxis(),g=f.isHorizontal(),y=f.inverse,v=e.shape,m=y?g?v.x:v.y+v.height:g?v.x+v.width:v.y,x=(g?d:0)*(y?-1:1),_=(g?0:-d)*(y?-1:1),b=g?"x":"y",w=function(t,e,n){for(var i,r,o=t.length/2,a="x"===n?0:1,s=0,l=-1,u=0;u=e||i>=e&&r<=e){l=u;break}s=u,i=r}else i=r;return{range:[s,l],t:(e-i)/(r-i)}}(u,m,b),S=w.range,M=S[1]-S[0],I=void 0;if(M>=1){if(M>1&&!c){var T=GS(u,S[0]);s.attr({x:T[0]+x,y:T[1]+_}),r&&(I=h.getRawValue(S[0]))}else{(T=l.getPointOn(m,b))&&s.attr({x:T[0]+x,y:T[1]+_});var C=h.getRawValue(S[0]),D=h.getRawValue(S[1]);r&&(I=Zo(n,p,C,D,w.t))}i.lastFrameIndex=S[0]}else{var A=1===t||i.lastFrameIndex>0?S[0]:0;T=GS(u,A);r&&(I=h.getRawValue(A)),s.attr({x:T[0]+x,y:T[1]+_})}if(r){var k=pc(s);"function"==typeof k.setLabelText&&k.setLabelText(I)}}},e.prototype._doUpdateAnimation=function(t,e,n,i,r,o,a){var s=this._polyline,l=this._polygon,u=t.hostModel,h=function(t,e,n,i,r,o,a,s){for(var l=function(t,e){var n=[];return e.diff(t).add((function(t){n.push({cmd:"+",idx:t})})).update((function(t,e){n.push({cmd:"=",idx:e,idx1:t})})).remove((function(t){n.push({cmd:"-",idx:t})})).execute(),n}(t,e),u=[],h=[],c=[],p=[],d=[],f=[],g=[],y=_S(r,e,a),v=t.getLayout("points")||[],m=e.getLayout("points")||[],x=0;x3e3||l&&ES(p,f)>3e3)return s.stopAnimation(),s.setShape({points:d}),void(l&&(l.stopAnimation(),l.setShape({points:d,stackedOnPoints:f})));s.shape.__points=h.current,s.shape.points=c;var g={shape:{points:d}};h.current!==c&&(g.shape.__points=h.next),s.stopAnimation(),vh(s,g,u),l&&(l.setShape({points:c,stackedOnPoints:p}),l.stopAnimation(),vh(l,{shape:{stackedOnPoints:f}},u),s.shape.points!==l.shape.points&&(l.shape.points=s.shape.points));for(var y=[],v=h.status,m=0;me&&(e=t[n]);return isFinite(e)?e:NaN},min:function(t){for(var e=1/0,n=0;n10&&"cartesian2d"===o.type&&r){var s=o.getBaseAxis(),l=o.getOtherAxis(s),u=s.getExtent(),h=n.getDevicePixelRatio(),c=Math.abs(u[1]-u[0])*(h||1),p=Math.round(a/c);if(isFinite(p)&&p>1){"lttb"===r?t.setData(i.lttbDownSample(i.mapDimension(l.dim),1/p)):"minmax"===r&&t.setData(i.minmaxDownSample(i.mapDimension(l.dim),1/p));var d=void 0;U(r)?d=US[r]:X(r)&&(d=r),d&&t.setData(i.downSample(i.mapDimension(l.dim),1/p,d,ZS))}}}}}var qS=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.getInitialData=function(t,e){return _x(null,this,{useEncodeDefaulter:!0})},e.prototype.getMarkerPosition=function(t,e,n){var i=this.coordinateSystem;if(i&&i.clampData){var r=i.clampData(t),o=i.dataToPoint(r);if(n)E(i.getAxes(),(function(t,n){if("category"===t.type&&null!=e){var i=t.getTicksCoords(),a=t.getTickModel().get("alignWithLabel"),s=r[n],l="x1"===e[n]||"y1"===e[n];if(l&&!a&&(s+=1),i.length<2)return;if(2===i.length)return void(o[n]=t.toGlobalCoord(t.getExtent()[l?1:0]));for(var u=void 0,h=void 0,c=1,p=0;ps){h=(d+u)/2;break}1===p&&(c=f-i[0].tickValue)}null==h&&(u?u&&(h=i[i.length-1].coord):h=i[0].coord),o[n]=t.toGlobalCoord(h)}}));else{var a=this.getData(),s=a.getLayout("offset"),l=a.getLayout("size"),u=i.getBaseAxis().isHorizontal()?0:1;o[u]+=s+l/2}return o}return[NaN,NaN]},e.type="series.__base_bar__",e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod"},e}(bg);bg.registerClass(qS);var KS=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.getInitialData=function(){return _x(null,this,{useEncodeDefaulter:!0,createInvertedIndices:!!this.get("realtimeSort",!0)||null})},e.prototype.getProgressive=function(){return!!this.get("large")&&this.get("progressive")},e.prototype.getProgressiveThreshold=function(){var t=this.get("progressiveThreshold"),e=this.get("largeThreshold");return e>t&&(t=e),t},e.prototype.brushSelector=function(t,e,n){return n.rect(e.getItemLayout(t))},e.type="series.bar",e.dependencies=["grid","polar"],e.defaultOption=kc(qS.defaultOption,{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1},select:{itemStyle:{borderColor:"#212121"}},realtimeSort:!1}),e}(qS),$S=function(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0},JS=function(t){function e(e){var n=t.call(this,e)||this;return n.type="sausage",n}return n(e,t),e.prototype.getDefaultShape=function(){return new $S},e.prototype.buildPath=function(t,e){var n=e.cx,i=e.cy,r=Math.max(e.r0||0,0),o=Math.max(e.r,0),a=.5*(o-r),s=r+a,l=e.startAngle,u=e.endAngle,h=e.clockwise,c=2*Math.PI,p=h?u-lo)return!0;o=u}return!1},e.prototype._isOrderDifferentInView=function(t,e){for(var n=e.scale,i=n.getExtent(),r=Math.max(0,i[0]),o=Math.min(i[1],n.getOrdinalMeta().categories.length-1);r<=o;++r)if(t.ordinalNumbers[r]!==n.getRawOrdinalNumber(r))return!0},e.prototype._updateSortWithinSameData=function(t,e,n,i){if(this._isOrderChangedWithinSameData(t,e,n)){var r=this._dataSort(t,n,e);this._isOrderDifferentInView(r,n)&&(this._removeOnRenderedListener(i),i.dispatchAction({type:"changeAxisOrder",componentType:n.dim+"Axis",axisId:n.index,sortInfo:r}))}},e.prototype._dispatchInitSort=function(t,e,n){var i=e.baseAxis,r=this._dataSort(t,i,(function(n){return t.get(t.mapDimension(e.otherAxis.dim),n)}));n.dispatchAction({type:"changeAxisOrder",componentType:i.dim+"Axis",isInitSort:!0,axisId:i.index,sortInfo:r})},e.prototype.remove=function(t,e){this._clear(this._model),this._removeOnRenderedListener(e)},e.prototype.dispose=function(t,e){this._removeOnRenderedListener(e)},e.prototype._removeOnRenderedListener=function(t){this._onRendered&&(t.getZr().off("rendered",this._onRendered),this._onRendered=null)},e.prototype._clear=function(t){var e=this.group,n=this._data;t&&t.isAnimationEnabled()&&n&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],n.eachItemGraphicEl((function(e){wh(e,t,rl(e).dataIndex)}))):e.removeAll(),this._data=null,this._isFirstFrame=!0},e.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},e.type="bar",e}(Og),oM={cartesian2d:function(t,e){var n=e.width<0?-1:1,i=e.height<0?-1:1;n<0&&(e.x+=e.width,e.width=-e.width),i<0&&(e.y+=e.height,e.height=-e.height);var r=t.x+t.width,o=t.y+t.height,a=nM(e.x,t.x),s=iM(e.x+e.width,r),l=nM(e.y,t.y),u=iM(e.y+e.height,o),h=sr?s:a,e.y=c&&l>o?u:l,e.width=h?0:s-a,e.height=c?0:u-l,n<0&&(e.x+=e.width,e.width=-e.width),i<0&&(e.y+=e.height,e.height=-e.height),h||c},polar:function(t,e){var n=e.r0<=e.r?1:-1;if(n<0){var i=e.r;e.r=e.r0,e.r0=i}var r=iM(e.r,t.r),o=nM(e.r0,t.r0);e.r=r,e.r0=o;var a=r-o<0;if(n<0){i=e.r;e.r=e.r0,e.r0=i}return a}},aM={cartesian2d:function(t,e,n,i,r,o,a,s,l){var u=new Ws({shape:A({},i),z2:1});(u.__dataIndex=n,u.name="item",o)&&(u.shape[r?"height":"width"]=0);return u},polar:function(t,e,n,i,r,o,a,s,l){var u=!r&&l?JS:Fu,h=new u({shape:i,z2:1});h.name="item";var c,p,d=dM(r);if(h.calculateTextPosition=(c=d,p=({isRoundCap:u===JS}||{}).isRoundCap,function(t,e,n){var i=e.position;if(!i||i instanceof Array)return Dr(t,e,n);var r=c(i),o=null!=e.distance?e.distance:5,a=this.shape,s=a.cx,l=a.cy,u=a.r,h=a.r0,d=(u+h)/2,f=a.startAngle,g=a.endAngle,y=(f+g)/2,v=p?Math.abs(u-h)/2:0,m=Math.cos,x=Math.sin,_=s+u*m(f),b=l+u*x(f),w="left",S="top";switch(r){case"startArc":_=s+(h-o)*m(y),b=l+(h-o)*x(y),w="center",S="top";break;case"insideStartArc":_=s+(h+o)*m(y),b=l+(h+o)*x(y),w="center",S="bottom";break;case"startAngle":_=s+d*m(f)+QS(f,o+v,!1),b=l+d*x(f)+tM(f,o+v,!1),w="right",S="middle";break;case"insideStartAngle":_=s+d*m(f)+QS(f,-o+v,!1),b=l+d*x(f)+tM(f,-o+v,!1),w="left",S="middle";break;case"middle":_=s+d*m(y),b=l+d*x(y),w="center",S="middle";break;case"endArc":_=s+(u+o)*m(y),b=l+(u+o)*x(y),w="center",S="bottom";break;case"insideEndArc":_=s+(u-o)*m(y),b=l+(u-o)*x(y),w="center",S="top";break;case"endAngle":_=s+d*m(g)+QS(g,o+v,!0),b=l+d*x(g)+tM(g,o+v,!0),w="left",S="middle";break;case"insideEndAngle":_=s+d*m(g)+QS(g,-o+v,!0),b=l+d*x(g)+tM(g,-o+v,!0),w="right",S="middle";break;default:return Dr(t,e,n)}return(t=t||{}).x=_,t.y=b,t.align=w,t.verticalAlign=S,t}),o){var f=r?"r":"endAngle",g={};h.shape[f]=r?i.r0:i.startAngle,g[f]=i[f],(s?vh:mh)(h,{shape:g},o)}return h}};function sM(t,e,n,i,r,o,a,s){var l,u;o?(u={x:i.x,width:i.width},l={y:i.y,height:i.height}):(u={y:i.y,height:i.height},l={x:i.x,width:i.width}),s||(a?vh:mh)(n,{shape:l},e,r,null),(a?vh:mh)(n,{shape:u},e?t.baseAxis.model:null,r)}function lM(t,e){for(var n=0;n0?1:-1,a=i.height>0?1:-1;return{x:i.x+o*r/2,y:i.y+a*r/2,width:i.width-o*r,height:i.height-a*r}},polar:function(t,e,n){var i=t.getItemLayout(e);return{cx:i.cx,cy:i.cy,r0:i.r0,r:i.r,startAngle:i.startAngle,endAngle:i.endAngle,clockwise:i.clockwise}}};function dM(t){return function(t){var e=t?"Arc":"Angle";return function(t){switch(t){case"start":case"insideStart":case"end":case"insideEnd":return t+e;default:return t}}}(t)}function fM(t,e,n,i,r,o,a,s){var l=e.getItemVisual(n,"style");if(s){if(!o.get("roundCap")){var u=t.shape;A(u,eM(i.getModel("itemStyle"),u,!0)),t.setShape(u)}}else{var h=i.get(["itemStyle","borderRadius"])||0;t.setShape("r",h)}t.useStyle(l);var c=i.getShallow("cursor");c&&t.attr("cursor",c);var p=s?a?r.r>=r.r0?"endArc":"startArc":r.endAngle>=r.startAngle?"endAngle":"startAngle":a?r.height>=0?"bottom":"top":r.width>=0?"right":"left",d=rc(i);ic(t,d,{labelFetcher:o,labelDataIndex:n,defaultText:pS(o.getData(),n),inheritColor:l.fill,defaultOpacity:l.opacity,defaultOutsidePosition:p});var f=t.getTextContent();if(s&&f){var g=i.get(["label","position"]);t.textConfig.inside="middle"===g||null,function(t,e,n,i){if(j(i))t.setTextConfig({rotation:i});else if(Y(e))t.setTextConfig({rotation:0});else{var r,o=t.shape,a=o.clockwise?o.startAngle:o.endAngle,s=o.clockwise?o.endAngle:o.startAngle,l=(a+s)/2,u=n(e);switch(u){case"startArc":case"insideStartArc":case"middle":case"insideEndArc":case"endArc":r=l;break;case"startAngle":case"insideStartAngle":r=a;break;case"endAngle":case"insideEndAngle":r=s;break;default:return void t.setTextConfig({rotation:0})}var h=1.5*Math.PI-r;"middle"===u&&h>Math.PI/2&&h<1.5*Math.PI&&(h-=Math.PI),t.setTextConfig({rotation:h})}}(t,"outside"===g?p:g,dM(a),i.get(["label","rotate"]))}dc(f,d,o.getRawValue(n),(function(t){return dS(e,t)}));var y=i.getModel(["emphasis"]);Zl(t,y.get("focus"),y.get("blurScope"),y.get("disabled")),$l(t,i),function(t){return null!=t.startAngle&&null!=t.endAngle&&t.startAngle===t.endAngle}(r)&&(t.style.fill="none",t.style.stroke="none",E(t.states,(function(t){t.style&&(t.style.fill=t.style.stroke="none")})))}var gM=function(){},yM=function(t){function e(e){var n=t.call(this,e)||this;return n.type="largeBar",n}return n(e,t),e.prototype.getDefaultShape=function(){return new gM},e.prototype.buildPath=function(t,e){for(var n=e.points,i=this.baseDimIdx,r=1-this.baseDimIdx,o=[],a=[],s=this.barWidth,l=0;l=s[0]&&e<=s[0]+l[0]&&n>=s[1]&&n<=s[1]+l[1])return a[h]}return-1}(this,t.offsetX,t.offsetY);rl(this).dataIndex=e>=0?e:null}),30,!1);function xM(t,e,n){if(OS(n,"cartesian2d")){var i=e,r=n.getArea();return{x:t?i.x:r.x,y:t?r.y:i.y,width:t?i.width:r.width,height:t?r.height:i.height}}var o=e;return{cx:(r=n.getArea()).cx,cy:r.cy,r0:t?r.r0:o.r0,r:t?r.r:o.r,startAngle:t?o.startAngle:0,endAngle:t?o.endAngle:2*Math.PI}}var _M=2*Math.PI,bM=Math.PI/180;function wM(t,e){return kp(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function SM(t,e){var n=wM(t,e),i=t.get("center"),r=t.get("radius");Y(r)||(r=[0,r]);var o,a,s=$r(n.width,e.getWidth()),l=$r(n.height,e.getHeight()),u=Math.min(s,l),h=$r(r[0],u/2),c=$r(r[1],u/2),p=t.coordinateSystem;if(p){var d=p.dataToPoint(i);o=d[0]||0,a=d[1]||0}else Y(i)||(i=[i,i]),o=$r(i[0],s)+n.x,a=$r(i[1],l)+n.y;return{cx:o,cy:a,r0:h,r:c}}function MM(t,e,n){e.eachSeriesByType(t,(function(t){var e=t.getData(),i=e.mapDimension("value"),r=wM(t,n),o=SM(t,n),a=o.cx,s=o.cy,l=o.r,u=o.r0,h=-t.get("startAngle")*bM,c=t.get("endAngle"),p=t.get("padAngle")*bM;c="auto"===c?h-_M:-c*bM;var d=t.get("minAngle")*bM+p,f=0;e.each(i,(function(t){!isNaN(t)&&f++}));var g=e.getSum(i),y=Math.PI/(g||f)*2,v=t.get("clockwise"),m=t.get("roseType"),x=t.get("stillShowZeroSum"),_=e.getDataExtent(i);_[0]=0;var b=v?1:-1,w=[h,c],S=b*p/2;us(w,!v),h=w[0],c=w[1];var M=IM(t);M.startAngle=h,M.endAngle=c,M.clockwise=v;var I=Math.abs(c-h),T=I,C=0,D=h;if(e.setLayout({viewRect:r,r:l}),e.each(i,(function(t,n){var i;if(isNaN(t))e.setItemLayout(n,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:v,cx:a,cy:s,r0:u,r:m?NaN:l});else{(i="area"!==m?0===g&&x?y:t*y:I/f)i?h=o=D+b*i/2:(o=D+S,h=r-S),e.setItemLayout(n,{angle:i,startAngle:o,endAngle:h,clockwise:v,cx:a,cy:s,r0:u,r:m?Kr(t,_,[u,l]):l}),D=r}})),T<_M&&f)if(T<=.001){var A=I/f;e.each(i,(function(t,n){if(!isNaN(t)){var i=e.getItemLayout(n);i.angle=A;var r=0,o=0;An?a:o,h=Math.abs(l.label.y-n);if(h>=u.maxY){var c=l.label.x-e-l.len2*r,p=i+l.len,f=Math.abs(c)t.unconstrainedWidth?null:d:null;i.setStyle("width",f)}var g=i.getBoundingRect();o.width=g.width;var y=(i.style.margin||0)+2.1;o.height=g.height+y,o.y-=(o.height-c)/2}}}function kM(t){return"center"===t.position}function LM(t){var e,n,i=t.getData(),r=[],o=!1,a=(t.get("minShowLabelAngle")||0)*CM,s=i.getLayout("viewRect"),l=i.getLayout("r"),u=s.width,h=s.x,c=s.y,p=s.height;function d(t){t.ignore=!0}i.each((function(t){var s=i.getItemGraphicEl(t),c=s.shape,p=s.getTextContent(),f=s.getTextGuideLine(),g=i.getItemModel(t),y=g.getModel("label"),v=y.get("position")||g.get(["emphasis","label","position"]),m=y.get("distanceToLabelLine"),x=y.get("alignTo"),_=$r(y.get("edgeDistance"),u),b=y.get("bleedMargin"),w=g.getModel("labelLine"),S=w.get("length");S=$r(S,u);var M=w.get("length2");if(M=$r(M,u),Math.abs(c.endAngle-c.startAngle)0?"right":"left":k>0?"left":"right"}var B=Math.PI,F=0,G=y.get("rotate");if(j(G))F=G*(B/180);else if("center"===v)F=0;else if("radial"===G||!0===G){F=k<0?-A+B:-A}else if("tangential"===G&&"outside"!==v&&"outer"!==v){var W=Math.atan2(k,L);W<0&&(W=2*B+W),L>0&&(W=B+W),F=W-B}if(o=!!F,p.x=I,p.y=T,p.rotation=F,p.setStyle({verticalAlign:"middle"}),P){p.setStyle({align:D});var H=p.states.select;H&&(H.x+=p.x,H.y+=p.y)}else{var Y=p.getBoundingRect().clone();Y.applyTransform(p.getComputedTransform());var X=(p.style.margin||0)+2.1;Y.y-=X/2,Y.height+=X,r.push({label:p,labelLine:f,position:v,len:S,len2:M,minTurnAngle:w.get("minTurnAngle"),maxSurfaceAngle:w.get("maxSurfaceAngle"),surfaceNormal:new De(k,L),linePoints:C,textAlign:D,labelDistance:m,labelAlignTo:x,edgeDistance:_,bleedMargin:b,rect:Y,unconstrainedWidth:Y.width,labelStyleWidth:p.style.width})}s.setTextConfig({inside:P})}})),!o&&t.get("avoidLabelOverlap")&&function(t,e,n,i,r,o,a,s){for(var l=[],u=[],h=Number.MAX_VALUE,c=-Number.MAX_VALUE,p=0;p0){for(var l=o.getItemLayout(0),u=1;isNaN(l&&l.startAngle)&&u=n.r0}},e.type="pie",e}(Og);function RM(t,e,n){e=Y(e)&&{coordDimensions:e}||A({encodeDefine:t.getEncode()},e);var i=t.getSource(),r=px(i,e).dimensions,o=new cx(r,t);return o.initData(i,n),o}var NM=function(){function t(t,e){this._getDataWithEncodedVisual=t,this._getRawData=e}return t.prototype.getAllNames=function(){var t=this._getRawData();return t.mapArray(t.getName)},t.prototype.containName=function(t){return this._getRawData().indexOfName(t)>=0},t.prototype.indexOfName=function(t){return this._getDataWithEncodedVisual().indexOfName(t)},t.prototype.getItemVisual=function(t,e){return this._getDataWithEncodedVisual().getItemVisual(t,e)},t}(),EM=Vo(),zM=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new NM(W(this.getData,this),W(this.getRawData,this)),this._defaultLabelLine(e)},e.prototype.mergeOption=function(){t.prototype.mergeOption.apply(this,arguments)},e.prototype.getInitialData=function(){return RM(this,{coordDimensions:["value"],encodeDefaulter:H(ed,this)})},e.prototype.getDataParams=function(e){var n=this.getData(),i=EM(n),r=i.seats;if(!r){var o=[];n.each(n.mapDimension("value"),(function(t){o.push(t)})),r=i.seats=io(o,n.hostModel.get("percentPrecision"))}var a=t.prototype.getDataParams.call(this,e);return a.percent=r[e]||0,a.$vars.push("percent"),a},e.prototype._defaultLabelLine=function(t){Co(t,"labelLine",["show"]);var e=t.labelLine,n=t.emphasis.labelLine;e.show=e.show&&t.label.show,n.show=n.show&&t.emphasis.label.show},e.type="series.pie",e.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,endAngle:"auto",padAngle:0,minAngle:0,minShowLabelAngle:0,selectedOffset:10,percentPrecision:2,stillShowZeroSum:!0,left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:0,show:!0,overflow:"truncate",position:"outer",alignTo:"none",edgeDistance:"25%",bleedMargin:10,distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:15,smooth:!1,minTurnAngle:90,maxSurfaceAngle:90,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1,borderJoin:"round"},showEmptyCircle:!0,emptyCircleStyle:{color:"lightgray",opacity:1},labelLayout:{hideOverlap:!0},emphasis:{scale:!0,scaleSize:5},avoidLabelOverlap:!0,animationType:"expansion",animationDuration:1e3,animationTypeUpdate:"transition",animationEasingUpdate:"cubicInOut",animationDurationUpdate:500,animationEasing:"cubicInOut"},e}(bg);var VM=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return n(e,t),e.prototype.getInitialData=function(t,e){return _x(null,this,{useEncodeDefaulter:!0})},e.prototype.getProgressive=function(){var t=this.option.progressive;return null==t?this.option.large?5e3:this.get("progressive"):t},e.prototype.getProgressiveThreshold=function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?1e4:this.get("progressiveThreshold"):t},e.prototype.brushSelector=function(t,e,n){return n.point(e.getItemLayout(t))},e.prototype.getZLevelKey=function(){return this.getData().count()>this.getProgressiveThreshold()?this.id:""},e.type="series.scatter",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},emphasis:{scale:!0},clip:!0,select:{itemStyle:{borderColor:"#212121"}},universalTransition:{divideShape:"clone"}},e}(bg),BM=function(){},FM=function(t){function e(e){var n=t.call(this,e)||this;return n._off=0,n.hoverDataIdx=-1,n}return n(e,t),e.prototype.getDefaultShape=function(){return new BM},e.prototype.reset=function(){this.notClear=!1,this._off=0},e.prototype.buildPath=function(t,e){var n,i=e.points,r=e.size,o=this.symbolProxy,a=o.shape,s=t.getContext?t.getContext():t,l=s&&r[0]<4,u=this.softClipShape;if(l)this._ctx=s;else{for(this._ctx=null,n=this._off;n=0;s--){var l=2*s,u=i[l]-o/2,h=i[l+1]-a/2;if(t>=u&&e>=h&&t<=u+o&&e<=h+a)return s}return-1},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect();return t=n[0],e=n[1],i.contain(t,e)?(this.hoverDataIdx=this.findDataIndex(t,e))>=0:(this.hoverDataIdx=-1,!1)},e.prototype.getBoundingRect=function(){var t=this._rect;if(!t){for(var e=this.shape,n=e.points,i=e.size,r=i[0],o=i[1],a=1/0,s=1/0,l=-1/0,u=-1/0,h=0;h=0&&(l.dataIndex=n+(t.startIndex||0))}))},t.prototype.remove=function(){this._clear()},t.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},t}(),WM=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.render=function(t,e,n){var i=t.getData();this._updateSymbolDraw(i,t).updateData(i,{clipShape:this._getClipShape(t)}),this._finished=!0},e.prototype.incrementalPrepareRender=function(t,e,n){var i=t.getData();this._updateSymbolDraw(i,t).incrementalPrepareUpdate(i),this._finished=!1},e.prototype.incrementalRender=function(t,e,n){this._symbolDraw.incrementalUpdate(t,e.getData(),{clipShape:this._getClipShape(e)}),this._finished=t.end===e.getData().count()},e.prototype.updateTransform=function(t,e,n){var i=t.getData();if(this.group.dirty(),!this._finished||i.count()>1e4)return{update:!0};var r=XS("").reset(t,e,n);r.progress&&r.progress({start:0,end:i.count(),count:i.count()},i),this._symbolDraw.updateLayout(i)},e.prototype.eachRendered=function(t){this._symbolDraw&&this._symbolDraw.eachRendered(t)},e.prototype._getClipShape=function(t){if(t.get("clip",!0)){var e=t.coordinateSystem;return e&&e.getArea&&e.getArea(.1)}},e.prototype._updateSymbolDraw=function(t,e){var n=this._symbolDraw,i=e.pipelineContext.large;return n&&i===this._isLargeDraw||(n&&n.remove(),n=this._symbolDraw=i?new GM:new xS,this._isLargeDraw=i,this.group.removeAll()),this.group.add(n.group),n},e.prototype.remove=function(t,e){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},e.prototype.dispose=function(){},e.type="scatter",e}(Og),HM=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.type="grid",e.dependencies=["xAxis","yAxis"],e.layoutMode="box",e.defaultOption={show:!1,z:0,left:"10%",top:60,right:"10%",bottom:70,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"},e}(zp),YM=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",Wo).models[0]},e.type="cartesian2dAxis",e}(zp);R(YM,D_);var XM={show:!0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#6E7079",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,showMinLine:!0,showMaxLine:!0,lineStyle:{color:["#E0E6F1"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.2)","rgba(210,219,238,0.2)"]}}},UM=C({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},XM),ZM=C({boundaryGap:[0,0],axisLine:{show:"auto"},axisTick:{show:"auto"},splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#F4F7FD",width:1}}},XM),jM={category:UM,value:ZM,time:C({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},ZM),log:k({logBase:10},ZM)},qM={value:1,category:1,time:1,log:1};function KM(t,e,i,r){E(qM,(function(o,a){var s=C(C({},jM[a],!0),r,!0),l=function(t){function i(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e+"Axis."+a,n}return n(i,t),i.prototype.mergeDefaultAndTheme=function(t,e){var n=Pp(this),i=n?Rp(t):{};C(t,e.getTheme().get(a+"Axis")),C(t,this.getDefaultOption()),t.type=$M(t),n&&Op(t,i,n)},i.prototype.optionUpdated=function(){"category"===this.option.type&&(this.__ordinalMeta=Mx.createByAxisModel(this))},i.prototype.getCategories=function(t){var e=this.option;if("category"===e.type)return t?e.data:this.__ordinalMeta.categories},i.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},i.type=e+"Axis."+a,i.defaultOption=s,i}(i);t.registerComponentModel(l)})),t.registerSubTypeDefaulter(e+"Axis",$M)}function $M(t){return t.type||(t.data?"category":"value")}var JM=function(){function t(t){this.type="cartesian",this._dimList=[],this._axes={},this.name=t||""}return t.prototype.getAxis=function(t){return this._axes[t]},t.prototype.getAxes=function(){return z(this._dimList,(function(t){return this._axes[t]}),this)},t.prototype.getAxesByScale=function(t){return t=t.toLowerCase(),B(this.getAxes(),(function(e){return e.scale.type===t}))},t.prototype.addAxis=function(t){var e=t.dim;this._axes[e]=t,this._dimList.push(e)},t}(),QM=["x","y"];function tI(t){return"interval"===t.type||"time"===t.type}var eI=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="cartesian2d",e.dimensions=QM,e}return n(e,t),e.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var t=this.getAxis("x").scale,e=this.getAxis("y").scale;if(tI(t)&&tI(e)){var n=t.getExtent(),i=e.getExtent(),r=this.dataToPoint([n[0],i[0]]),o=this.dataToPoint([n[1],i[1]]),a=n[1]-n[0],s=i[1]-i[0];if(a&&s){var l=(o[0]-r[0])/a,u=(o[1]-r[1])/s,h=r[0]-n[0]*l,c=r[1]-i[0]*u,p=this._transform=[l,0,0,u,h,c];this._invTransform=Ie([],p)}}},e.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},e.prototype.containPoint=function(t){var e=this.getAxis("x"),n=this.getAxis("y");return e.contain(e.toLocalCoord(t[0]))&&n.contain(n.toLocalCoord(t[1]))},e.prototype.containData=function(t){return this.getAxis("x").containData(t[0])&&this.getAxis("y").containData(t[1])},e.prototype.containZone=function(t,e){var n=this.dataToPoint(t),i=this.dataToPoint(e),r=this.getArea(),o=new ze(n[0],n[1],i[0]-n[0],i[1]-n[1]);return r.intersect(o)},e.prototype.dataToPoint=function(t,e,n){n=n||[];var i=t[0],r=t[1];if(this._transform&&null!=i&&isFinite(i)&&null!=r&&isFinite(r))return Wt(n,t,this._transform);var o=this.getAxis("x"),a=this.getAxis("y");return n[0]=o.toGlobalCoord(o.dataToCoord(i,e)),n[1]=a.toGlobalCoord(a.dataToCoord(r,e)),n},e.prototype.clampData=function(t,e){var n=this.getAxis("x").scale,i=this.getAxis("y").scale,r=n.getExtent(),o=i.getExtent(),a=n.parse(t[0]),s=i.parse(t[1]);return(e=e||[])[0]=Math.min(Math.max(Math.min(r[0],r[1]),a),Math.max(r[0],r[1])),e[1]=Math.min(Math.max(Math.min(o[0],o[1]),s),Math.max(o[0],o[1])),e},e.prototype.pointToData=function(t,e){var n=[];if(this._invTransform)return Wt(n,t,this._invTransform);var i=this.getAxis("x"),r=this.getAxis("y");return n[0]=i.coordToData(i.toLocalCoord(t[0]),e),n[1]=r.coordToData(r.toLocalCoord(t[1]),e),n},e.prototype.getOtherAxis=function(t){return this.getAxis("x"===t.dim?"y":"x")},e.prototype.getArea=function(t){t=t||0;var e=this.getAxis("x").getGlobalExtent(),n=this.getAxis("y").getGlobalExtent(),i=Math.min(e[0],e[1])-t,r=Math.min(n[0],n[1])-t,o=Math.max(e[0],e[1])-i+t,a=Math.max(n[0],n[1])-r+t;return new ze(i,r,o,a)},e}(JM),nI=function(t){function e(e,n,i,r,o){var a=t.call(this,e,n,i)||this;return a.index=0,a.type=r||"value",a.position=o||"bottom",a}return n(e,t),e.prototype.isHorizontal=function(){var t=this.position;return"top"===t||"bottom"===t},e.prototype.getGlobalExtent=function(t){var e=this.getExtent();return e[0]=this.toGlobalCoord(e[0]),e[1]=this.toGlobalCoord(e[1]),t&&e[0]>e[1]&&e.reverse(),e},e.prototype.pointToData=function(t,e){return this.coordToData(this.toLocalCoord(t["x"===this.dim?0:1]),e)},e.prototype.setCategorySortInfo=function(t){if("category"!==this.type)return!1;this.model.option.categorySortInfo=t,this.scale.setSortInfo(t)},e}(ab);function iI(t,e,n){n=n||{};var i=t.coordinateSystem,r=e.axis,o={},a=r.getAxesOnZeroOf()[0],s=r.position,l=a?"onZero":s,u=r.dim,h=i.getRect(),c=[h.x,h.x+h.width,h.y,h.y+h.height],p={left:0,right:1,top:0,bottom:1,onZero:2},d=e.get("offset")||0,f="x"===u?[c[2]-d,c[3]+d]:[c[0]-d,c[1]+d];if(a){var g=a.toGlobalCoord(a.dataToCoord(0));f[p.onZero]=Math.max(Math.min(g,f[1]),f[0])}o.position=["y"===u?f[p[l]]:c[0],"x"===u?f[p[l]]:c[3]],o.rotation=Math.PI/2*("x"===u?0:1);o.labelDirection=o.tickDirection=o.nameDirection={top:-1,bottom:1,left:-1,right:1}[s],o.labelOffset=a?f[p[s]]-f[p.onZero]:0,e.get(["axisTick","inside"])&&(o.tickDirection=-o.tickDirection),it(n.labelInside,e.get(["axisLabel","inside"]))&&(o.labelDirection=-o.labelDirection);var y=e.get(["axisLabel","rotate"]);return o.labelRotate="top"===l?-y:y,o.z2=1,o}function rI(t){return"cartesian2d"===t.get("coordinateSystem")}function oI(t){var e={xAxisModel:null,yAxisModel:null};return E(e,(function(n,i){var r=i.replace(/Model$/,""),o=t.getReferringComponents(r,Wo).models[0];e[i]=o})),e}var aI=Math.log;function sI(t,e,n){var i=Ex.prototype,r=i.getTicks.call(n),o=i.getTicks.call(n,!0),a=r.length-1,s=i.getInterval.call(n),l=x_(t,e),u=l.extent,h=l.fixMin,c=l.fixMax;if("log"===t.type){var p=aI(t.base);u=[aI(u[0])/p,aI(u[1])/p]}t.setExtent(u[0],u[1]),t.calcNiceExtent({splitNumber:a,fixMin:h,fixMax:c});var d=i.getExtent.call(t);h&&(u[0]=d[0]),c&&(u[1]=d[1]);var f=i.getInterval.call(t),g=u[0],y=u[1];if(h&&c)f=(y-g)/a;else if(h)for(y=u[0]+f*a;yu[0]&&isFinite(g)&&isFinite(u[0]);)f=Dx(f),g=u[1]-f*a;else{t.getTicks().length-1>a&&(f=Dx(f));var v=f*a;(g=Jr((y=Math.ceil(u[1]/f)*f)-v))<0&&u[0]>=0?(g=0,y=Jr(v)):y>0&&u[1]<=0&&(y=0,g=-Jr(v))}var m=(r[0].value-o[0].value)/s,x=(r[a].value-o[a].value)/s;i.setExtent.call(t,g+f*m,y+f*x),i.setInterval.call(t,f),(m||x)&&i.setNiceExtent.call(t,g+f,y-f)}var lI=function(){function t(t,e,n){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=QM,this._initCartesian(t,e,n),this.model=t}return t.prototype.getRect=function(){return this._rect},t.prototype.update=function(t,e){var n=this._axesMap;function i(t){var e,n=G(t),i=n.length;if(i){for(var r=[],o=i-1;o>=0;o--){var a=t[+n[o]],s=a.model,l=a.scale;Tx(l)&&s.get("alignTicks")&&null==s.get("interval")?r.push(a):(__(l,s),Tx(l)&&(e=a))}r.length&&(e||__((e=r.pop()).scale,e.model),E(r,(function(t){sI(t.scale,t.model,e.scale)})))}}this._updateScale(t,this.model),i(n.x),i(n.y);var r={};E(n.x,(function(t){hI(n,"y",t,r)})),E(n.y,(function(t){hI(n,"x",t,r)})),this.resize(this.model,e)},t.prototype.resize=function(t,e,n){var i=t.getBoxLayoutParams(),r=!n&&t.get("containLabel"),o=kp(i,{width:e.getWidth(),height:e.getHeight()});this._rect=o;var a=this._axesList;function s(){E(a,(function(t){var e=t.isHorizontal(),n=e?[0,o.width]:[0,o.height],i=t.inverse?1:0;t.setExtent(n[i],n[1-i]),function(t,e){var n=t.getExtent(),i=n[0]+n[1];t.toGlobalCoord="x"===t.dim?function(t){return t+e}:function(t){return i-t+e},t.toLocalCoord="x"===t.dim?function(t){return t-e}:function(t){return i-t+e}}(t,e?o.x:o.y)}))}s(),r&&(E(a,(function(t){if(!t.model.get(["axisLabel","inside"])){var e=function(t){var e=t.model,n=t.scale;if(e.get(["axisLabel","show"])&&!n.isBlank()){var i,r,o=n.getExtent();r=n instanceof Rx?n.count():(i=n.getTicks()).length;var a,s=t.getLabelModel(),l=w_(t),u=1;r>40&&(u=Math.ceil(r/40));for(var h=0;h0&&i>0||n<0&&i<0)}(t)}var pI=Math.PI,dI=function(){function t(t,e){this.group=new Br,this.opt=e,this.axisModel=t,k(e,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0,handleAutoShown:function(){return!0}});var n=new Br({x:e.position[0],y:e.position[1],rotation:e.rotation});n.updateTransform(),this._transformGroup=n}return t.prototype.hasBuilder=function(t){return!!fI[t]},t.prototype.add=function(t){fI[t](this.opt,this.axisModel,this.group,this._transformGroup)},t.prototype.getGroup=function(){return this.group},t.innerTextLayout=function(t,e,n){var i,r,o=ao(e-t);return so(o)?(r=n>0?"top":"bottom",i="center"):so(o-pI)?(r=n>0?"bottom":"top",i="center"):(r="middle",i=o>0&&o0?"right":"left":n>0?"left":"right"),{rotation:o,textAlign:i,textVerticalAlign:r}},t.makeAxisEventDataBase=function(t){var e={componentType:t.mainType,componentIndex:t.componentIndex};return e[t.mainType+"Index"]=t.componentIndex,e},t.isLabelSilent=function(t){var e=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||e&&e.show)},t}(),fI={axisLine:function(t,e,n,i){var r=e.get(["axisLine","show"]);if("auto"===r&&t.handleAutoShown&&(r=t.handleAutoShown("axisLine")),r){var o=e.axis.getExtent(),a=i.transform,s=[o[0],0],l=[o[1],0],u=s[0]>l[0];a&&(Wt(s,s,a),Wt(l,l,a));var h=A({lineCap:"round"},e.getModel(["axisLine","lineStyle"]).getLineStyle()),c=new Ku({shape:{x1:s[0],y1:s[1],x2:l[0],y2:l[1]},style:h,strokeContainThreshold:t.strokeContainThreshold||5,silent:!0,z2:1});zh(c.shape,c.style.lineWidth),c.anid="line",n.add(c);var p=e.get(["axisLine","symbol"]);if(null!=p){var d=e.get(["axisLine","symbolSize"]);U(p)&&(p=[p,p]),(U(d)||j(d))&&(d=[d,d]);var f=Zy(e.get(["axisLine","symbolOffset"])||0,d),g=d[0],y=d[1];E([{rotate:t.rotation+Math.PI/2,offset:f[0],r:0},{rotate:t.rotation-Math.PI/2,offset:f[1],r:Math.sqrt((s[0]-l[0])*(s[0]-l[0])+(s[1]-l[1])*(s[1]-l[1]))}],(function(e,i){if("none"!==p[i]&&null!=p[i]){var r=Xy(p[i],-g/2,-y/2,g,y,h.stroke,!0),o=e.r+e.offset,a=u?l:s;r.attr({rotation:e.rotate,x:a[0]+o*Math.cos(t.rotation),y:a[1]-o*Math.sin(t.rotation),silent:!0,z2:11}),n.add(r)}}))}}},axisTickLabel:function(t,e,n,i){var r=function(t,e,n,i){var r=n.axis,o=n.getModel("axisTick"),a=o.get("show");"auto"===a&&i.handleAutoShown&&(a=i.handleAutoShown("axisTick"));if(!a||r.scale.isBlank())return;for(var s=o.getModel("lineStyle"),l=i.tickDirection*o.get("length"),u=mI(r.getTicksCoords(),e.transform,l,k(s.getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])}),"ticks"),h=0;hc[1]?-1:1,d=["start"===s?c[0]-p*h:"end"===s?c[1]+p*h:(c[0]+c[1])/2,vI(s)?t.labelOffset+l*h:0],f=e.get("nameRotate");null!=f&&(f=f*pI/180),vI(s)?o=dI.innerTextLayout(t.rotation,null!=f?f:t.rotation,l):(o=function(t,e,n,i){var r,o,a=ao(n-t),s=i[0]>i[1],l="start"===e&&!s||"start"!==e&&s;so(a-pI/2)?(o=l?"bottom":"top",r="center"):so(a-1.5*pI)?(o=l?"top":"bottom",r="center"):(o="middle",r=a<1.5*pI&&a>pI/2?l?"left":"right":l?"right":"left");return{rotation:a,textAlign:r,textVerticalAlign:o}}(t.rotation,s,f||0,c),null!=(a=t.axisNameAvailableWidth)&&(a=Math.abs(a/Math.sin(o.rotation)),!isFinite(a)&&(a=null)));var g=u.getFont(),y=e.get("nameTruncate",!0)||{},v=y.ellipsis,m=it(t.nameTruncateMaxWidth,y.maxWidth,a),x=new Xs({x:d[0],y:d[1],rotation:o.rotation,silent:dI.isLabelSilent(e),style:oc(u,{text:r,font:g,overflow:"truncate",width:m,ellipsis:v,fill:u.getTextColor()||e.get(["axisLine","lineStyle","color"]),align:u.get("align")||o.textAlign,verticalAlign:u.get("verticalAlign")||o.textVerticalAlign}),z2:1});if(Kh({el:x,componentModel:e,itemName:r}),x.__fullText=r,x.anid="name",e.get("triggerEvent")){var _=dI.makeAxisEventDataBase(e);_.targetType="axisName",_.name=r,rl(x).eventData=_}i.add(x),x.updateTransform(),n.add(x),x.decomposeTransform()}}};function gI(t){t&&(t.ignore=!0)}function yI(t,e){var n=t&&t.getBoundingRect().clone(),i=e&&e.getBoundingRect().clone();if(n&&i){var r=xe([]);return Se(r,r,-t.rotation),n.applyTransform(be([],r,t.getLocalTransform())),i.applyTransform(be([],r,e.getLocalTransform())),n.intersect(i)}}function vI(t){return"middle"===t||"center"===t}function mI(t,e,n,i,r){for(var o=[],a=[],s=[],l=0;l=0||t===e}function bI(t){var e=wI(t);if(e){var n=e.axisPointerModel,i=e.axis.scale,r=n.option,o=n.get("status"),a=n.get("value");null!=a&&(a=i.parse(a));var s=SI(n);null==o&&(r.status=s?"show":"hide");var l=i.getExtent().slice();l[0]>l[1]&&l.reverse(),(null==a||a>l[1])&&(a=l[1]),a0&&!c.min?c.min=0:null!=c.min&&c.min<0&&!c.max&&(c.max=0);var p=a;null!=c.color&&(p=k({color:c.color},a));var d=C(T(c),{boundaryGap:t,splitNumber:e,scale:n,axisLine:i,axisTick:r,axisLabel:o,name:c.text,showName:s,nameLocation:"end",nameGap:u,nameTextStyle:p,triggerEvent:h},!1);if(U(l)){var f=d.name;d.name=l.replace("{value}",null!=f?f:"")}else X(l)&&(d.name=l(d.name,d));var g=new Cc(d,null,this.ecModel);return R(g,D_.prototype),g.mainType="radar",g.componentIndex=this.componentIndex,g}),this);this._indicatorModels=c},e.prototype.getIndicatorModels=function(){return this._indicatorModels},e.type="radar",e.defaultOption={z:0,center:["50%","50%"],radius:"75%",startAngle:90,axisName:{show:!0},boundaryGap:[0,0],splitNumber:5,axisNameGap:15,scale:!1,shape:"polygon",axisLine:C({lineStyle:{color:"#bbb"}},XI.axisLine),axisLabel:UI(XI.axisLabel,!1),axisTick:UI(XI.axisTick,!1),splitLine:UI(XI.splitLine,!0),splitArea:UI(XI.splitArea,!0),indicator:[]},e}(zp),jI=["axisLine","axisTickLabel","axisName"],qI=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.render=function(t,e,n){this.group.removeAll(),this._buildAxes(t),this._buildSplitLineAndArea(t)},e.prototype._buildAxes=function(t){var e=t.coordinateSystem;E(z(e.getIndicatorAxes(),(function(t){var n=t.model.get("showName")?t.name:"";return new dI(t.model,{axisName:n,position:[e.cx,e.cy],rotation:t.angle,labelDirection:-1,tickDirection:-1,nameDirection:1})})),(function(t){E(jI,t.add,t),this.group.add(t.getGroup())}),this)},e.prototype._buildSplitLineAndArea=function(t){var e=t.coordinateSystem,n=e.getIndicatorAxes();if(n.length){var i=t.get("shape"),r=t.getModel("splitLine"),o=t.getModel("splitArea"),a=r.getModel("lineStyle"),s=o.getModel("areaStyle"),l=r.get("show"),u=o.get("show"),h=a.get("color"),c=s.get("color"),p=Y(h)?h:[h],d=Y(c)?c:[c],f=[],g=[];if("circle"===i)for(var y=n[0].getTicksCoords(),v=e.cx,m=e.cy,x=0;x3?1.4:r>1?1.2:1.1;iT(this,"zoom","zoomOnMouseWheel",t,{scale:i>0?s:1/s,originX:o,originY:a,isAvailableBehavior:null})}if(n){var l=Math.abs(i);iT(this,"scrollMove","moveOnMouseWheel",t,{scrollDelta:(i>0?1:-1)*(l>3?.4:l>1?.15:.05),originX:o,originY:a,isAvailableBehavior:null})}}},e.prototype._pinchHandler=function(t){tT(this._zr,"globalPan")||iT(this,"zoom",null,t,{scale:t.pinchScale>1?1.1:1/1.1,originX:t.pinchX,originY:t.pinchY,isAvailableBehavior:null})},e}(jt);function iT(t,e,n,i,r){t.pointerChecker&&t.pointerChecker(i,r.originX,r.originY)&&(de(i.event),rT(t,e,n,i,r))}function rT(t,e,n,i,r){r.isAvailableBehavior=W(oT,null,n,i),t.trigger(e,r)}function oT(t,e,n){var i=n[t];return!t||i&&(!U(i)||e.event[i+"Key"])}function aT(t,e,n){var i=t.target;i.x+=e,i.y+=n,i.dirty()}function sT(t,e,n,i){var r=t.target,o=t.zoomLimit,a=t.zoom=t.zoom||1;if(a*=e,o){var s=o.min||0,l=o.max||1/0;a=Math.max(Math.min(l,a),s)}var u=a/t.zoom;t.zoom=a,r.x-=(n-r.x)*(u-1),r.y-=(i-r.y)*(u-1),r.scaleX*=u,r.scaleY*=u,r.dirty()}var lT,uT={axisPointer:1,tooltip:1,brush:1};function hT(t,e,n){var i=e.getComponentByElement(t.topTarget),r=i&&i.coordinateSystem;return i&&i!==n&&!uT.hasOwnProperty(i.mainType)&&r&&r.model!==n}function cT(t){U(t)&&(t=(new DOMParser).parseFromString(t,"text/xml"));var e=t;for(9===e.nodeType&&(e=e.firstChild);"svg"!==e.nodeName.toLowerCase()||1!==e.nodeType;)e=e.nextSibling;return e}var pT={fill:"fill",stroke:"stroke","stroke-width":"lineWidth",opacity:"opacity","fill-opacity":"fillOpacity","stroke-opacity":"strokeOpacity","stroke-dasharray":"lineDash","stroke-dashoffset":"lineDashOffset","stroke-linecap":"lineCap","stroke-linejoin":"lineJoin","stroke-miterlimit":"miterLimit","font-family":"fontFamily","font-size":"fontSize","font-style":"fontStyle","font-weight":"fontWeight","text-anchor":"textAlign",visibility:"visibility",display:"display"},dT=G(pT),fT={"alignment-baseline":"textBaseline","stop-color":"stopColor"},gT=G(fT),yT=function(){function t(){this._defs={},this._root=null}return t.prototype.parse=function(t,e){e=e||{};var n=cT(t);this._defsUsePending=[];var i=new Br;this._root=i;var r=[],o=n.getAttribute("viewBox")||"",a=parseFloat(n.getAttribute("width")||e.width),s=parseFloat(n.getAttribute("height")||e.height);isNaN(a)&&(a=null),isNaN(s)&&(s=null),wT(n,i,null,!0,!1);for(var l,u,h=n.firstChild;h;)this._parseNode(h,i,r,null,!1,!1),h=h.nextSibling;if(function(t,e){for(var n=0;n=4&&(l={x:parseFloat(c[0]||0),y:parseFloat(c[1]||0),width:parseFloat(c[2]),height:parseFloat(c[3])})}if(l&&null!=a&&null!=s&&(u=LT(l,{x:0,y:0,width:a,height:s}),!e.ignoreViewBox)){var p=i;(i=new Br).add(p),p.scaleX=p.scaleY=u.scale,p.x=u.x,p.y=u.y}return e.ignoreRootClip||null==a||null==s||i.setClipPath(new Ws({shape:{x:0,y:0,width:a,height:s}})),{root:i,width:a,height:s,viewBoxRect:l,viewBoxTransform:u,named:r}},t.prototype._parseNode=function(t,e,n,i,r,o){var a,s=t.nodeName.toLowerCase(),l=i;if("defs"===s&&(r=!0),"text"===s&&(o=!0),"defs"===s||"switch"===s)a=e;else{if(!r){var u=lT[s];if(u&&_t(lT,s)){a=u.call(this,t,e);var h=t.getAttribute("name");if(h){var c={name:h,namedFrom:null,svgNodeTagLower:s,el:a};n.push(c),"g"===s&&(l=c)}else i&&n.push({name:i.name,namedFrom:i,svgNodeTagLower:s,el:a});e.add(a)}}var p=vT[s];if(p&&_t(vT,s)){var d=p.call(this,t),f=t.getAttribute("id");f&&(this._defs[f]=d)}}if(a&&a.isGroup)for(var g=t.firstChild;g;)1===g.nodeType?this._parseNode(g,a,n,l,r,o):3===g.nodeType&&o&&this._parseText(g,a),g=g.nextSibling},t.prototype._parseText=function(t,e){var n=new Ps({style:{text:t.textContent},silent:!0,x:this._textX||0,y:this._textY||0});_T(e,n),wT(t,n,this._defsUsePending,!1,!1),function(t,e){var n=e.__selfStyle;if(n){var i=n.textBaseline,r=i;i&&"auto"!==i?"baseline"===i?r="alphabetic":"before-edge"===i||"text-before-edge"===i?r="top":"after-edge"===i||"text-after-edge"===i?r="bottom":"central"!==i&&"mathematical"!==i||(r="middle"):r="alphabetic",t.style.textBaseline=r}var o=e.__inheritedStyle;if(o){var a=o.textAlign,s=a;a&&("middle"===a&&(s="center"),t.style.textAlign=s)}}(n,e);var i=n.style,r=i.fontSize;r&&r<9&&(i.fontSize=9,n.scaleX*=r/9,n.scaleY*=r/9);var o=(i.fontSize||i.fontFamily)&&[i.fontStyle,i.fontWeight,(i.fontSize||12)+"px",i.fontFamily||"sans-serif"].join(" ");i.font=o;var a=n.getBoundingRect();return this._textX+=a.width,e.add(n),n},t.internalField=void(lT={g:function(t,e){var n=new Br;return _T(e,n),wT(t,n,this._defsUsePending,!1,!1),n},rect:function(t,e){var n=new Ws;return _T(e,n),wT(t,n,this._defsUsePending,!1,!1),n.setShape({x:parseFloat(t.getAttribute("x")||"0"),y:parseFloat(t.getAttribute("y")||"0"),width:parseFloat(t.getAttribute("width")||"0"),height:parseFloat(t.getAttribute("height")||"0")}),n.silent=!0,n},circle:function(t,e){var n=new Su;return _T(e,n),wT(t,n,this._defsUsePending,!1,!1),n.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),r:parseFloat(t.getAttribute("r")||"0")}),n.silent=!0,n},line:function(t,e){var n=new Ku;return _T(e,n),wT(t,n,this._defsUsePending,!1,!1),n.setShape({x1:parseFloat(t.getAttribute("x1")||"0"),y1:parseFloat(t.getAttribute("y1")||"0"),x2:parseFloat(t.getAttribute("x2")||"0"),y2:parseFloat(t.getAttribute("y2")||"0")}),n.silent=!0,n},ellipse:function(t,e){var n=new Iu;return _T(e,n),wT(t,n,this._defsUsePending,!1,!1),n.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),rx:parseFloat(t.getAttribute("rx")||"0"),ry:parseFloat(t.getAttribute("ry")||"0")}),n.silent=!0,n},polygon:function(t,e){var n,i=t.getAttribute("points");i&&(n=bT(i));var r=new Xu({shape:{points:n||[]},silent:!0});return _T(e,r),wT(t,r,this._defsUsePending,!1,!1),r},polyline:function(t,e){var n,i=t.getAttribute("points");i&&(n=bT(i));var r=new Zu({shape:{points:n||[]},silent:!0});return _T(e,r),wT(t,r,this._defsUsePending,!1,!1),r},image:function(t,e){var n=new Ns;return _T(e,n),wT(t,n,this._defsUsePending,!1,!1),n.setStyle({image:t.getAttribute("xlink:href")||t.getAttribute("href"),x:+t.getAttribute("x"),y:+t.getAttribute("y"),width:+t.getAttribute("width"),height:+t.getAttribute("height")}),n.silent=!0,n},text:function(t,e){var n=t.getAttribute("x")||"0",i=t.getAttribute("y")||"0",r=t.getAttribute("dx")||"0",o=t.getAttribute("dy")||"0";this._textX=parseFloat(n)+parseFloat(r),this._textY=parseFloat(i)+parseFloat(o);var a=new Br;return _T(e,a),wT(t,a,this._defsUsePending,!1,!0),a},tspan:function(t,e){var n=t.getAttribute("x"),i=t.getAttribute("y");null!=n&&(this._textX=parseFloat(n)),null!=i&&(this._textY=parseFloat(i));var r=t.getAttribute("dx")||"0",o=t.getAttribute("dy")||"0",a=new Br;return _T(e,a),wT(t,a,this._defsUsePending,!1,!0),this._textX+=parseFloat(r),this._textY+=parseFloat(o),a},path:function(t,e){var n=_u(t.getAttribute("d")||"");return _T(e,n),wT(t,n,this._defsUsePending,!1,!1),n.silent=!0,n}}),t}(),vT={lineargradient:function(t){var e=parseInt(t.getAttribute("x1")||"0",10),n=parseInt(t.getAttribute("y1")||"0",10),i=parseInt(t.getAttribute("x2")||"10",10),r=parseInt(t.getAttribute("y2")||"0",10),o=new oh(e,n,i,r);return mT(t,o),xT(t,o),o},radialgradient:function(t){var e=parseInt(t.getAttribute("cx")||"0",10),n=parseInt(t.getAttribute("cy")||"0",10),i=parseInt(t.getAttribute("r")||"0",10),r=new ah(e,n,i);return mT(t,r),xT(t,r),r}};function mT(t,e){"userSpaceOnUse"===t.getAttribute("gradientUnits")&&(e.global=!0)}function xT(t,e){for(var n=t.firstChild;n;){if(1===n.nodeType&&"stop"===n.nodeName.toLocaleLowerCase()){var i=n.getAttribute("offset"),r=void 0;r=i&&i.indexOf("%")>0?parseInt(i,10)/100:i?parseFloat(i):0;var o={};kT(n,o,o);var a=o.stopColor||n.getAttribute("stop-color")||"#000000";e.colorStops.push({offset:r,color:a})}n=n.nextSibling}}function _T(t,e){t&&t.__inheritedStyle&&(e.__inheritedStyle||(e.__inheritedStyle={}),k(e.__inheritedStyle,t.__inheritedStyle))}function bT(t){for(var e=TT(t),n=[],i=0;i0;o-=2){var a=i[o],s=i[o-1],l=TT(a);switch(r=r||[1,0,0,1,0,0],s){case"translate":we(r,r,[parseFloat(l[0]),parseFloat(l[1]||"0")]);break;case"scale":Me(r,r,[parseFloat(l[0]),parseFloat(l[1]||l[0])]);break;case"rotate":Se(r,r,-parseFloat(l[0])*DT,[parseFloat(l[1]||"0"),parseFloat(l[2]||"0")]);break;case"skewX":be(r,[1,0,Math.tan(parseFloat(l[0])*DT),1,0,0],r);break;case"skewY":be(r,[1,Math.tan(parseFloat(l[0])*DT),0,1,0,0],r);break;case"matrix":r[0]=parseFloat(l[0]),r[1]=parseFloat(l[1]),r[2]=parseFloat(l[2]),r[3]=parseFloat(l[3]),r[4]=parseFloat(l[4]),r[5]=parseFloat(l[5])}}e.setLocalTransform(r)}}(t,e),kT(t,a,s),i||function(t,e,n){for(var i=0;i0,f={api:n,geo:s,mapOrGeoModel:t,data:a,isVisualEncodedByVisualMap:d,isGeo:o,transformInfoRaw:c};"geoJSON"===s.resourceType?this._buildGeoJSON(f):"geoSVG"===s.resourceType&&this._buildSVG(f),this._updateController(t,e,n),this._updateMapSelectHandler(t,l,n,i)},t.prototype._buildGeoJSON=function(t){var e=this._regionsGroupByName=yt(),n=yt(),i=this._regionsGroup,r=t.transformInfoRaw,o=t.mapOrGeoModel,a=t.data,s=t.geo.projection,l=s&&s.stream;function u(t,e){return e&&(t=e(t)),t&&[t[0]*r.scaleX+r.x,t[1]*r.scaleY+r.y]}function h(t){for(var e=[],n=!l&&s&&s.project,i=0;i=0)&&(p=r);var d=a?{normal:{align:"center",verticalAlign:"middle"}}:null;ic(e,rc(i),{labelFetcher:p,labelDataIndex:c,defaultText:n},d);var f=e.getTextContent();if(f&&(JT(f).ignore=f.ignore,e.textConfig&&a)){var g=e.getBoundingRect().clone();e.textConfig.layoutRect=g,e.textConfig.position=[(a[0]-g.x)/g.width*100+"%",(a[1]-g.y)/g.height*100+"%"]}e.disableLabelAnimation=!0}else e.removeTextContent(),e.removeTextConfig(),e.disableLabelAnimation=null}function rC(t,e,n,i,r,o){t.data?t.data.setItemGraphicEl(o,e):rl(e).eventData={componentType:"geo",componentIndex:r.componentIndex,geoIndex:r.componentIndex,name:n,region:i&&i.option||{}}}function oC(t,e,n,i,r){t.data||Kh({el:e,componentModel:r,itemName:n,itemTooltipOption:i.get("tooltip")})}function aC(t,e,n,i,r){e.highDownSilentOnTouch=!!r.get("selectedMode");var o=i.getModel("emphasis"),a=o.get("focus");return Zl(e,a,o.get("blurScope"),o.get("disabled")),t.isGeo&&function(t,e,n){var i=rl(t);i.componentMainType=e.mainType,i.componentIndex=e.componentIndex,i.componentHighDownName=n}(e,r,n),a}function sC(t,e,n){var i,r=[];function o(){i=[]}function a(){i.length&&(r.push(i),i=[])}var s=e({polygonStart:o,polygonEnd:a,lineStart:o,lineEnd:a,point:function(t,e){isFinite(t)&&isFinite(e)&&i.push([t,e])},sphere:function(){}});return!n&&s.polygonStart(),E(t,(function(t){s.lineStart();for(var e=0;e-1&&(n.style.stroke=n.style.fill,n.style.fill="#fff",n.style.lineWidth=2),n},e.type="series.map",e.dependencies=["geo"],e.layoutMode="box",e.defaultOption={z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:null,showLegendSymbol:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,selectedMode:!0,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}},select:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},nameProperty:"name"},e}(bg);function hC(t){var e={};t.eachSeriesByType("map",(function(t){var n=t.getHostGeoModel(),i=n?"o"+n.id:"i"+t.getMapType();(e[i]=e[i]||[]).push(t)})),E(e,(function(t,e){for(var n,i,r,o=(n=z(t,(function(t){return t.getData()})),i=t[0].get("mapValueCalculation"),r={},E(n,(function(t){t.each(t.mapDimension("value"),(function(e,n){var i="ec-"+t.getName(n);r[i]=r[i]||[],isNaN(e)||r[i].push(e)}))})),n[0].map(n[0].mapDimension("value"),(function(t,e){for(var o="ec-"+n[0].getName(e),a=0,s=1/0,l=-1/0,u=r[o].length,h=0;h1?(d.width=p,d.height=p/x):(d.height=p,d.width=p*x),d.y=c[1]-d.height/2,d.x=c[0]-d.width/2;else{var b=t.getBoxLayoutParams();b.aspect=x,d=kp(b,{width:v,height:m})}this.setViewRect(d.x,d.y,d.width,d.height),this.setCenter(t.get("center"),e),this.setZoom(t.get("zoom"))}R(vC,dC);var _C=function(){function t(){this.dimensions=yC}return t.prototype.create=function(t,e){var n=[];function i(t){return{nameProperty:t.get("nameProperty"),aspectScale:t.get("aspectScale"),projection:t.get("projection")}}t.eachComponent("geo",(function(t,r){var o=t.get("map"),a=new vC(o+r,o,A({nameMap:t.get("nameMap")},i(t)));a.zoomLimit=t.get("scaleLimit"),n.push(a),t.coordinateSystem=a,a.model=t,a.resize=xC,a.resize(t,e)})),t.eachSeries((function(t){if("geo"===t.get("coordinateSystem")){var e=t.get("geoIndex")||0;t.coordinateSystem=n[e]}}));var r={};return t.eachSeriesByType("map",(function(t){if(!t.getHostGeoModel()){var e=t.getMapType();r[e]=r[e]||[],r[e].push(t)}})),E(r,(function(t,r){var o=z(t,(function(t){return t.get("nameMap")})),a=new vC(r,r,A({nameMap:D(o)},i(t[0])));a.zoomLimit=it.apply(null,z(t,(function(t){return t.get("scaleLimit")}))),n.push(a),a.resize=xC,a.resize(t[0],e),E(t,(function(t){t.coordinateSystem=a,function(t,e){E(e.get("geoCoord"),(function(e,n){t.addGeoCoord(n,e)}))}(a,t)}))})),n},t.prototype.getFilledRegions=function(t,e,n,i){for(var r=(t||[]).slice(),o=yt(),a=0;a=0;){var o=e[n];o.hierNode.prelim+=i,o.hierNode.modifier+=i,r+=o.hierNode.change,i+=o.hierNode.shift+r}}(t);var o=(n[0].hierNode.prelim+n[n.length-1].hierNode.prelim)/2;r?(t.hierNode.prelim=r.hierNode.prelim+e(t,r),t.hierNode.modifier=t.hierNode.prelim-o):t.hierNode.prelim=o}else r&&(t.hierNode.prelim=r.hierNode.prelim+e(t,r));t.parentNode.hierNode.defaultAncestor=function(t,e,n,i){if(e){for(var r=t,o=t,a=o.parentNode.children[0],s=e,l=r.hierNode.modifier,u=o.hierNode.modifier,h=a.hierNode.modifier,c=s.hierNode.modifier;s=PC(s),o=OC(o),s&&o;){r=PC(r),a=OC(a),r.hierNode.ancestor=t;var p=s.hierNode.prelim+c-o.hierNode.prelim-u+i(s,o);p>0&&(NC(RC(s,t,n),t,p),u+=p,l+=p),c+=s.hierNode.modifier,u+=o.hierNode.modifier,l+=r.hierNode.modifier,h+=a.hierNode.modifier}s&&!PC(r)&&(r.hierNode.thread=s,r.hierNode.modifier+=c-l),o&&!OC(a)&&(a.hierNode.thread=o,a.hierNode.modifier+=u-h,n=t)}return n}(t,r,t.parentNode.hierNode.defaultAncestor||i[0],e)}function AC(t){var e=t.hierNode.prelim+t.parentNode.hierNode.modifier;t.setLayout({x:e},!0),t.hierNode.modifier+=t.parentNode.hierNode.modifier}function kC(t){return arguments.length?t:EC}function LC(t,e){return t-=Math.PI/2,{x:e*Math.cos(t),y:e*Math.sin(t)}}function PC(t){var e=t.children;return e.length&&t.isExpand?e[e.length-1]:t.hierNode.thread}function OC(t){var e=t.children;return e.length&&t.isExpand?e[0]:t.hierNode.thread}function RC(t,e,n){return t.hierNode.ancestor.parentNode===e.parentNode?t.hierNode.ancestor:n}function NC(t,e,n){var i=n/(e.hierNode.i-t.hierNode.i);e.hierNode.change-=i,e.hierNode.shift+=n,e.hierNode.modifier+=n,e.hierNode.prelim+=n,t.hierNode.change+=i}function EC(t,e){return t.parentNode===e.parentNode?1:2}var zC=function(){this.parentPoint=[],this.childPoints=[]},VC=function(t){function e(e){return t.call(this,e)||this}return n(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new zC},e.prototype.buildPath=function(t,e){var n=e.childPoints,i=n.length,r=e.parentPoint,o=n[0],a=n[i-1];if(1===i)return t.moveTo(r[0],r[1]),void t.lineTo(o[0],o[1]);var s=e.orient,l="TB"===s||"BT"===s?0:1,u=1-l,h=$r(e.forkPosition,1),c=[];c[l]=r[l],c[u]=r[u]+(a[u]-r[u])*h,t.moveTo(r[0],r[1]),t.lineTo(c[0],c[1]),t.moveTo(o[0],o[1]),c[l]=o[l],t.lineTo(c[0],c[1]),c[l]=a[l],t.lineTo(c[0],c[1]),t.lineTo(a[0],a[1]);for(var p=1;pm.x)||(_-=Math.PI);var S=b?"left":"right",M=s.getModel("label"),I=M.get("rotate"),T=I*(Math.PI/180),C=y.getTextContent();C&&(y.setTextConfig({position:M.get("position")||S,rotation:null==I?-_:T,origin:"center"}),C.setStyle("verticalAlign","middle"))}var D=s.get(["emphasis","focus"]),A="relative"===D?vt(a.getAncestorsIndices(),a.getDescendantIndices()):"ancestor"===D?a.getAncestorsIndices():"descendant"===D?a.getDescendantIndices():null;A&&(rl(n).focus=A),function(t,e,n,i,r,o,a,s){var l=e.getModel(),u=t.get("edgeShape"),h=t.get("layout"),c=t.getOrient(),p=t.get(["lineStyle","curveness"]),d=t.get("edgeForkPosition"),f=l.getModel("lineStyle").getLineStyle(),g=i.__edge;if("curve"===u)e.parentNode&&e.parentNode!==n&&(g||(g=i.__edge=new th({shape:XC(h,c,p,r,r)})),vh(g,{shape:XC(h,c,p,o,a)},t));else if("polyline"===u)if("orthogonal"===h){if(e!==n&&e.children&&0!==e.children.length&&!0===e.isExpand){for(var y=e.children,v=[],m=0;me&&(e=i.height)}this.height=e+1},t.prototype.getNodeById=function(t){if(this.getId()===t)return this;for(var e=0,n=this.children,i=n.length;e=0&&this.hostTree.data.setItemLayout(this.dataIndex,t,e)},t.prototype.getLayout=function(){return this.hostTree.data.getItemLayout(this.dataIndex)},t.prototype.getModel=function(t){if(!(this.dataIndex<0))return this.hostTree.data.getItemModel(this.dataIndex).getModel(t)},t.prototype.getLevelModel=function(){return(this.hostTree.levelModels||[])[this.depth]},t.prototype.setVisual=function(t,e){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,t,e)},t.prototype.getVisual=function(t){return this.hostTree.data.getItemVisual(this.dataIndex,t)},t.prototype.getRawIndex=function(){return this.hostTree.data.getRawIndex(this.dataIndex)},t.prototype.getId=function(){return this.hostTree.data.getId(this.dataIndex)},t.prototype.getChildIndex=function(){if(this.parentNode){for(var t=this.parentNode.children,e=0;e=0){var i=n.getData().tree.root,r=t.targetNode;if(U(r)&&(r=i.getNodeById(r)),r&&i.contains(r))return{node:r};var o=t.targetNodeId;if(null!=o&&(r=i.getNodeById(o)))return{node:r}}}function rD(t){for(var e=[];t;)(t=t.parentNode)&&e.push(t);return e.reverse()}function oD(t,e){return P(rD(t),e)>=0}function aD(t,e){for(var n=[];t;){var i=t.dataIndex;n.push({name:t.name,dataIndex:i,value:e.getRawValue(i)}),t=t.parentNode}return n.reverse(),n}var sD=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.hasSymbolVisual=!0,e.ignoreStyleOnData=!0,e}return n(e,t),e.prototype.getInitialData=function(t){var e={name:t.name,children:t.data},n=t.leaves||{},i=new Cc(n,this,this.ecModel),r=nD.createTree(e,this,(function(t){t.wrapMethod("getItemModel",(function(t,e){var n=r.getNodeByDataIndex(e);return n&&n.children.length&&n.isExpand||(t.parentModel=i),t}))}));var o=0;r.eachNode("preorder",(function(t){t.depth>o&&(o=t.depth)}));var a=t.expandAndCollapse&&t.initialTreeDepth>=0?t.initialTreeDepth:o;return r.root.eachNode("preorder",(function(t){var e=t.hostTree.data.getRawDataItem(t.dataIndex);t.isExpand=e&&null!=e.collapsed?!e.collapsed:t.depth<=a})),r.data},e.prototype.getOrient=function(){var t=this.get("orient");return"horizontal"===t?t="LR":"vertical"===t&&(t="TB"),t},e.prototype.setZoom=function(t){this.option.zoom=t},e.prototype.setCenter=function(t){this.option.center=t},e.prototype.formatTooltip=function(t,e,n){for(var i=this.getData().tree,r=i.root.children[0],o=i.getNodeByDataIndex(t),a=o.getValue(),s=o.name;o&&o!==r;)s=o.parentNode.name+"."+s,o=o.parentNode;return og("nameValue",{name:s,value:a,noValue:isNaN(a)||null==a})},e.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(e);return n.treeAncestors=aD(i,this),n.collapsed=!i.isExpand,n},e.type="series.tree",e.layoutMode="box",e.defaultOption={z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderWidth:1.5},label:{show:!0},animationEasing:"linear",animationDuration:700,animationDurationUpdate:500},e}(bg);function lD(t,e){for(var n,i=[t];n=i.pop();)if(e(n),n.isExpand){var r=n.children;if(r.length)for(var o=r.length-1;o>=0;o--)i.push(r[o])}}function uD(t,e){t.eachSeriesByType("tree",(function(t){!function(t,e){var n=function(t,e){return kp(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}(t,e);t.layoutInfo=n;var i=t.get("layout"),r=0,o=0,a=null;"radial"===i?(r=2*Math.PI,o=Math.min(n.height,n.width)/2,a=kC((function(t,e){return(t.parentNode===e.parentNode?1:2)/t.depth}))):(r=n.width,o=n.height,a=kC());var s=t.getData().tree.root,l=s.children[0];if(l){!function(t){var e=t;e.hierNode={defaultAncestor:null,ancestor:e,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};for(var n,i,r=[e];n=r.pop();)if(i=n.children,n.isExpand&&i.length)for(var o=i.length-1;o>=0;o--){var a=i[o];a.hierNode={defaultAncestor:null,ancestor:a,prelim:0,modifier:0,change:0,shift:0,i:o,thread:null},r.push(a)}}(s),function(t,e,n){for(var i,r=[t],o=[];i=r.pop();)if(o.push(i),i.isExpand){var a=i.children;if(a.length)for(var s=0;sh.getLayout().x&&(h=t),t.depth>c.depth&&(c=t)}));var p=u===h?1:a(u,h)/2,d=p-u.getLayout().x,f=0,g=0,y=0,v=0;if("radial"===i)f=r/(h.getLayout().x+p+d),g=o/(c.depth-1||1),lD(l,(function(t){y=(t.getLayout().x+d)*f,v=(t.depth-1)*g;var e=LC(y,v);t.setLayout({x:e.x,y:e.y,rawX:y,rawY:v},!0)}));else{var m=t.getOrient();"RL"===m||"LR"===m?(g=o/(h.getLayout().x+p+d),f=r/(c.depth-1||1),lD(l,(function(t){v=(t.getLayout().x+d)*g,y="LR"===m?(t.depth-1)*f:r-(t.depth-1)*f,t.setLayout({x:y,y:v},!0)}))):"TB"!==m&&"BT"!==m||(f=r/(h.getLayout().x+p+d),g=o/(c.depth-1||1),lD(l,(function(t){y=(t.getLayout().x+d)*f,v="TB"===m?(t.depth-1)*g:o-(t.depth-1)*g,t.setLayout({x:y,y:v},!0)})))}}}(t,e)}))}function hD(t){t.eachSeriesByType("tree",(function(t){var e=t.getData();e.tree.eachNode((function(t){var n=t.getModel().getModel("itemStyle").getItemStyle();A(e.ensureUniqueItemVisual(t.dataIndex,"style"),n)}))}))}var cD=["treemapZoomToNode","treemapRender","treemapMove"];function pD(t){var e=t.getData().tree,n={};e.eachNode((function(e){for(var i=e;i&&i.depth>1;)i=i.parentNode;var r=pd(t.ecModel,i.name||i.dataIndex+"",n);e.setVisual("decal",r)}))}var dD=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.preventUsingHoverLayer=!0,n}return n(e,t),e.prototype.getInitialData=function(t,e){var n={name:t.name,children:t.data};fD(n);var i=t.levels||[],r=this.designatedVisualItemStyle={},o=new Cc({itemStyle:r},this,e);i=t.levels=function(t,e){var n,i,r=To(e.get("color")),o=To(e.get(["aria","decal","decals"]));if(!r)return;t=t||[],E(t,(function(t){var e=new Cc(t),r=e.get("color"),o=e.get("decal");(e.get(["itemStyle","color"])||r&&"none"!==r)&&(n=!0),(e.get(["itemStyle","decal"])||o&&"none"!==o)&&(i=!0)}));var a=t[0]||(t[0]={});n||(a.color=r.slice());!i&&o&&(a.decal=o.slice());return t}(i,e);var a=z(i||[],(function(t){return new Cc(t,o,e)}),this),s=nD.createTree(n,this,(function(t){t.wrapMethod("getItemModel",(function(t,e){var n=s.getNodeByDataIndex(e),i=n?a[n.depth]:null;return t.parentModel=i||o,t}))}));return s.data},e.prototype.optionUpdated=function(){this.resetViewRoot()},e.prototype.formatTooltip=function(t,e,n){var i=this.getData(),r=this.getRawValue(t);return og("nameValue",{name:i.getName(t),value:r})},e.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(e);return n.treeAncestors=aD(i,this),n.treePathInfo=n.treeAncestors,n},e.prototype.setLayoutInfo=function(t){this.layoutInfo=this.layoutInfo||{},A(this.layoutInfo,t)},e.prototype.mapIdToIndex=function(t){var e=this._idIndexMap;e||(e=this._idIndexMap=yt(),this._idIndexMapCount=0);var n=e.get(t);return null==n&&e.set(t,n=this._idIndexMapCount++),n},e.prototype.getViewRoot=function(){return this._viewRoot},e.prototype.resetViewRoot=function(t){t?this._viewRoot=t:t=this._viewRoot;var e=this.getRawData().tree.root;t&&(t===e||e.contains(t))||(this._viewRoot=e)},e.prototype.enableAriaDecal=function(){pD(this)},e.type="series.treemap",e.layoutMode="box",e.defaultOption={progressive:0,left:"center",top:"middle",width:"80%",height:"80%",sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:"▶",zoomToNodeRatio:.1024,scaleLimit:null,roam:!0,nodeClick:"zoomToNode",animation:!0,animationDurationUpdate:900,animationEasing:"quinticInOut",breadcrumb:{show:!0,height:22,left:"center",top:"bottom",emptyItemWidth:25,itemStyle:{color:"rgba(0,0,0,0.7)",textStyle:{color:"#fff"}},emphasis:{itemStyle:{color:"rgba(0,0,0,0.9)"}}},label:{show:!0,distance:0,padding:5,position:"inside",color:"#fff",overflow:"truncate"},upperLabel:{show:!1,position:[0,"50%"],height:20,overflow:"truncate",verticalAlign:"middle"},itemStyle:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:"#fff",borderColorSaturation:null},emphasis:{upperLabel:{show:!0,position:[0,"50%"],overflow:"truncate",verticalAlign:"middle"}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},e}(bg);function fD(t){var e=0;E(t.children,(function(t){fD(t);var n=t.value;Y(n)&&(n=n[0]),e+=n}));var n=t.value;Y(n)&&(n=n[0]),(null==n||isNaN(n))&&(n=e),n<0&&(n=0),Y(t.value)?t.value[0]=n:t.value=n}var gD=function(){function t(t){this.group=new Br,t.add(this.group)}return t.prototype.render=function(t,e,n,i){var r=t.getModel("breadcrumb"),o=this.group;if(o.removeAll(),r.get("show")&&n){var a=r.getModel("itemStyle"),s=r.getModel("emphasis"),l=a.getModel("textStyle"),u=s.getModel(["itemStyle","textStyle"]),h={pos:{left:r.get("left"),right:r.get("right"),top:r.get("top"),bottom:r.get("bottom")},box:{width:e.getWidth(),height:e.getHeight()},emptyItemWidth:r.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(n,h,l),this._renderContent(t,h,a,s,l,u,i),Lp(o,h.pos,h.box)}},t.prototype._prepare=function(t,e,n){for(var i=t;i;i=i.parentNode){var r=Ro(i.getModel().get("name"),""),o=n.getTextRect(r),a=Math.max(o.width+16,e.emptyItemWidth);e.totalWidth+=a+8,e.renderList.push({node:i,text:r,width:a})}},t.prototype._renderContent=function(t,e,n,i,r,o,a){for(var s,l,u,h,c,p,d,f,g,y=0,v=e.emptyItemWidth,m=t.get(["breadcrumb","height"]),x=(s=e.pos,l=e.box,h=l.width,c=l.height,p=$r(s.left,h),d=$r(s.top,c),f=$r(s.right,h),g=$r(s.bottom,c),(isNaN(p)||isNaN(parseFloat(s.left)))&&(p=0),(isNaN(f)||isNaN(parseFloat(s.right)))&&(f=h),(isNaN(d)||isNaN(parseFloat(s.top)))&&(d=0),(isNaN(g)||isNaN(parseFloat(s.bottom)))&&(g=c),u=vp(u||0),{width:Math.max(f-p-u[1]-u[3],0),height:Math.max(g-d-u[0]-u[2],0)}),_=e.totalWidth,b=e.renderList,w=i.getModel("itemStyle").getItemStyle(),S=b.length-1;S>=0;S--){var M=b[S],I=M.node,T=M.width,C=M.text;_>x.width&&(_-=T-v,T=v,C=null);var D=new Xu({shape:{points:yD(y,0,T,m,S===b.length-1,0===S)},style:k(n.getItemStyle(),{lineJoin:"bevel"}),textContent:new Xs({style:oc(r,{text:C})}),textConfig:{position:"inside"},z2:1e5,onclick:H(a,I)});D.disableLabelAnimation=!0,D.getTextContent().ensureState("emphasis").style=oc(o,{text:C}),D.ensureState("emphasis").style=w,Zl(D,i.get("focus"),i.get("blurScope"),i.get("disabled")),this.group.add(D),vD(D,t,I),y+=T+8}},t.prototype.remove=function(){this.group.removeAll()},t}();function yD(t,e,n,i,r,o){var a=[[r?t:t-5,e],[t+n,e],[t+n,e+i],[r?t:t-5,e+i]];return!o&&a.splice(2,0,[t+n+5,e+i/2]),!r&&a.push([t,e+i/2]),a}function vD(t,e,n){rl(t).eventData={componentType:"series",componentSubType:"treemap",componentIndex:e.componentIndex,seriesIndex:e.seriesIndex,seriesName:e.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:n&&n.dataIndex,name:n&&n.name},treePathInfo:n&&aD(n,e)}}var mD=function(){function t(){this._storage=[],this._elExistsMap={}}return t.prototype.add=function(t,e,n,i,r){return!this._elExistsMap[t.id]&&(this._elExistsMap[t.id]=!0,this._storage.push({el:t,target:e,duration:n,delay:i,easing:r}),!0)},t.prototype.finished=function(t){return this._finishedCallback=t,this},t.prototype.start=function(){for(var t=this,e=this._storage.length,n=function(){--e<=0&&(t._storage.length=0,t._elExistsMap={},t._finishedCallback&&t._finishedCallback())},i=0,r=this._storage.length;i3||Math.abs(t.dy)>3)){var e=this.seriesModel.getData().tree.root;if(!e)return;var n=e.getLayout();if(!n)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:n.x+t.dx,y:n.y+t.dy,width:n.width,height:n.height}})}},e.prototype._onZoom=function(t){var e=t.originX,n=t.originY,i=t.scale;if("animating"!==this._state){var r=this.seriesModel.getData().tree.root;if(!r)return;var o=r.getLayout();if(!o)return;var a,s=new ze(o.x,o.y,o.width,o.height),l=this._controllerHost;a=l.zoomLimit;var u=l.zoom=l.zoom||1;if(u*=i,a){var h=a.min||0,c=a.max||1/0;u=Math.max(Math.min(c,u),h)}var p=u/l.zoom;l.zoom=u;var d=this.seriesModel.layoutInfo,f=[1,0,0,1,0,0];we(f,f,[-(e-=d.x),-(n-=d.y)]),Me(f,f,[p,p]),we(f,f,[e,n]),s.applyTransform(f),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:s.x,y:s.y,width:s.width,height:s.height}})}},e.prototype._initEvents=function(t){var e=this;t.on("click",(function(t){if("ready"===e._state){var n=e.seriesModel.get("nodeClick",!0);if(n){var i=e.findTarget(t.offsetX,t.offsetY);if(i){var r=i.node;if(r.getLayout().isLeafRoot)e._rootToNode(i);else if("zoomToNode"===n)e._zoomToNode(i);else if("link"===n){var o=r.hostTree.data.getItemModel(r.dataIndex),a=o.get("link",!0),s=o.get("target",!0)||"blank";a&&Mp(a,s)}}}}}),this)},e.prototype._renderBreadcrumb=function(t,e,n){var i=this;n||(n=null!=t.get("leafDepth",!0)?{node:t.getViewRoot()}:this.findTarget(e.getWidth()/2,e.getHeight()/2))||(n={node:t.getData().tree.root}),(this._breadcrumb||(this._breadcrumb=new gD(this.group))).render(t,e,n.node,(function(e){"animating"!==i._state&&(oD(t.getViewRoot(),e)?i._rootToNode({node:e}):i._zoomToNode({node:e}))}))},e.prototype.remove=function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage={nodeGroup:[],background:[],content:[]},this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},e.prototype.dispose=function(){this._clearController()},e.prototype._zoomToNode=function(t){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},e.prototype._rootToNode=function(t){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},e.prototype.findTarget=function(t,e){var n;return this.seriesModel.getViewRoot().eachNode({attr:"viewChildren",order:"preorder"},(function(i){var r=this._storage.background[i.getRawIndex()];if(r){var o=r.transformCoordToLocal(t,e),a=r.shape;if(!(a.x<=o[0]&&o[0]<=a.x+a.width&&a.y<=o[1]&&o[1]<=a.y+a.height))return!1;n={node:i,offsetX:o[0],offsetY:o[1]}}}),this),n},e.type="treemap",e}(Og);var CD=E,DD=q,AD=-1,kD=function(){function t(e){var n=e.mappingMethod,i=e.type,r=this.option=T(e);this.type=i,this.mappingMethod=n,this._normalizeData=FD[n];var o=t.visualHandlers[i];this.applyVisual=o.applyVisual,this.getColorMapper=o.getColorMapper,this._normalizedToVisual=o._normalizedToVisual[n],"piecewise"===n?(LD(r),function(t){var e=t.pieceList;t.hasSpecialVisual=!1,E(e,(function(e,n){e.originIndex=n,null!=e.visual&&(t.hasSpecialVisual=!0)}))}(r)):"category"===n?r.categories?function(t){var e=t.categories,n=t.categoryMap={},i=t.visual;if(CD(e,(function(t,e){n[t]=e})),!Y(i)){var r=[];q(i)?CD(i,(function(t,e){var i=n[e];r[null!=i?i:AD]=t})):r[-1]=i,i=BD(t,r)}for(var o=e.length-1;o>=0;o--)null==i[o]&&(delete n[e[o]],e.pop())}(r):LD(r,!0):(lt("linear"!==n||r.dataExtent),LD(r))}return t.prototype.mapValueToVisual=function(t){var e=this._normalizeData(t);return this._normalizedToVisual(e,t)},t.prototype.getNormalizer=function(){return W(this._normalizeData,this)},t.listVisualTypes=function(){return G(t.visualHandlers)},t.isValidType=function(e){return t.visualHandlers.hasOwnProperty(e)},t.eachVisual=function(t,e,n){q(t)?E(t,e,n):e.call(n,t)},t.mapVisual=function(e,n,i){var r,o=Y(e)?[]:q(e)?{}:(r=!0,null);return t.eachVisual(e,(function(t,e){var a=n.call(i,t,e);r?o=a:o[e]=a})),o},t.retrieveVisuals=function(e){var n,i={};return e&&CD(t.visualHandlers,(function(t,r){e.hasOwnProperty(r)&&(i[r]=e[r],n=!0)})),n?i:null},t.prepareVisualTypes=function(t){if(Y(t))t=t.slice();else{if(!DD(t))return[];var e=[];CD(t,(function(t,n){e.push(n)})),t=e}return t.sort((function(t,e){return"color"===e&&"color"!==t&&0===t.indexOf("color")?1:-1})),t},t.dependsOn=function(t,e){return"color"===e?!(!t||0!==t.indexOf(e)):t===e},t.findPieceIndex=function(t,e,n){for(var i,r=1/0,o=0,a=e.length;ou[1]&&(u[1]=l);var h=e.get("colorMappingBy"),c={type:a.name,dataExtent:u,visual:a.range};"color"!==c.type||"index"!==h&&"id"!==h?c.mappingMethod="linear":(c.mappingMethod="category",c.loop=!0);var p=new kD(c);return WD(p).drColorMappingBy=h,p}(0,r,o,0,u,d);E(d,(function(t,e){if(t.depth>=n.length||t===n[t.depth]){var o=function(t,e,n,i,r,o){var a=A({},e);if(r){var s=r.type,l="color"===s&&WD(r).drColorMappingBy,u="index"===l?i:"id"===l?o.mapIdToIndex(n.getId()):n.getValue(t.get("visualDimension"));a[s]=r.mapValueToVisual(u)}return a}(r,u,t,e,f,i);YD(t,o,n,i)}}))}else s=XD(u),h.fill=s}}function XD(t){var e=UD(t,"color");if(e){var n=UD(t,"colorAlpha"),i=UD(t,"colorSaturation");return i&&(e=ni(e,null,null,i)),n&&(e=ii(e,n)),e}}function UD(t,e){var n=t[e];if(null!=n&&"none"!==n)return n}function ZD(t,e){var n=t.get(e);return Y(n)&&n.length?{name:e,range:n}:null}var jD=Math.max,qD=Math.min,KD=it,$D=E,JD=["itemStyle","borderWidth"],QD=["itemStyle","gapWidth"],tA=["upperLabel","show"],eA=["upperLabel","height"],nA={seriesType:"treemap",reset:function(t,e,n,i){var r=n.getWidth(),o=n.getHeight(),a=t.option,s=kp(t.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()}),l=a.size||[],u=$r(KD(s.width,l[0]),r),h=$r(KD(s.height,l[1]),o),c=i&&i.type,p=iD(i,["treemapZoomToNode","treemapRootToNode"],t),d="treemapRender"===c||"treemapMove"===c?i.rootRect:null,f=t.getViewRoot(),g=rD(f);if("treemapMove"!==c){var y="treemapZoomToNode"===c?function(t,e,n,i,r){var o,a=(e||{}).node,s=[i,r];if(!a||a===n)return s;var l=i*r,u=l*t.option.zoomToNodeRatio;for(;o=a.parentNode;){for(var h=0,c=o.children,p=0,d=c.length;poo&&(u=oo),a=o}ua[1]&&(a[1]=e)}))):a=[NaN,NaN];return{sum:i,dataExtent:a}}(e,a,s);if(0===u.sum)return t.viewChildren=[];if(u.sum=function(t,e,n,i,r){if(!i)return n;for(var o=t.get("visibleMin"),a=r.length,s=a,l=a-1;l>=0;l--){var u=r["asc"===i?a-l-1:l].getValue();u/n*ei&&(i=a));var l=t.area*t.area,u=e*e*n;return l?jD(u*i/l,l/(u*r)):1/0}function oA(t,e,n,i,r){var o=e===n.width?0:1,a=1-o,s=["x","y"],l=["width","height"],u=n[s[o]],h=e?t.area/e:0;(r||h>n[l[a]])&&(h=n[l[a]]);for(var c=0,p=t.length;ci&&(i=e);var o=i%2?i+2:i+3;r=[];for(var a=0;a0&&(m[0]=-m[0],m[1]=-m[1]);var _=v[0]<0?-1:1;if("start"!==i.__position&&"end"!==i.__position){var b=-Math.atan2(v[1],v[0]);u[0].8?"left":h[0]<-.8?"right":"center",p=h[1]>.8?"top":h[1]<-.8?"bottom":"middle";break;case"start":i.x=-h[0]*f+l[0],i.y=-h[1]*g+l[1],c=h[0]>.8?"right":h[0]<-.8?"left":"center",p=h[1]>.8?"bottom":h[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":i.x=f*_+l[0],i.y=l[1]+w,c=v[0]<0?"right":"left",i.originX=-f*_,i.originY=-w;break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":i.x=x[0],i.y=x[1]+w,c="center",i.originY=-w;break;case"insideEndTop":case"insideEnd":case"insideEndBottom":i.x=-f*_+u[0],i.y=u[1]+w,c=v[0]>=0?"right":"left",i.originX=f*_,i.originY=-w}i.scaleX=i.scaleY=r,i.setStyle({verticalAlign:i.__verticalAlign||p,align:i.__align||c})}}}function S(t,e){var n=t.__specifiedRotation;if(null==n){var i=a.tangentAt(e);t.attr("rotation",(1===e?-1:1)*Math.PI/2-Math.atan2(i[1],i[0]))}else t.attr("rotation",n)}},e}(Br),YA=function(){function t(t){this.group=new Br,this._LineCtor=t||HA}return t.prototype.updateData=function(t){var e=this;this._progressiveEls=null;var n=this,i=n.group,r=n._lineData;n._lineData=t,r||i.removeAll();var o=XA(t);t.diff(r).add((function(n){e._doAdd(t,n,o)})).update((function(n,i){e._doUpdate(r,t,i,n,o)})).remove((function(t){i.remove(r.getItemGraphicEl(t))})).execute()},t.prototype.updateLayout=function(){var t=this._lineData;t&&t.eachItemGraphicEl((function(e,n){e.updateLayout(t,n)}),this)},t.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=XA(t),this._lineData=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(t,e){function n(t){t.isGroup||function(t){return t.animators&&t.animators.length>0}(t)||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[];for(var i=t.start;i=0?i+=u:i-=u:f>=0?i-=u:i+=u}return i}function ek(t,e){var n=[],i=Dn,r=[[],[],[]],o=[[],[]],a=[];e/=2,t.eachEdge((function(t,s){var l=t.getLayout(),u=t.getVisual("fromSymbol"),h=t.getVisual("toSymbol");l.__original||(l.__original=[Tt(l[0]),Tt(l[1])],l[2]&&l.__original.push(Tt(l[2])));var c=l.__original;if(null!=l[2]){if(It(r[0],c[0]),It(r[1],c[2]),It(r[2],c[1]),u&&"none"!==u){var p=SA(t.node1),d=tk(r,c[0],p*e);i(r[0][0],r[1][0],r[2][0],d,n),r[0][0]=n[3],r[1][0]=n[4],i(r[0][1],r[1][1],r[2][1],d,n),r[0][1]=n[3],r[1][1]=n[4]}if(h&&"none"!==h){p=SA(t.node2),d=tk(r,c[1],p*e);i(r[0][0],r[1][0],r[2][0],d,n),r[1][0]=n[1],r[2][0]=n[2],i(r[0][1],r[1][1],r[2][1],d,n),r[1][1]=n[1],r[2][1]=n[2]}It(l[0],r[0]),It(l[1],r[2]),It(l[2],r[1])}else{if(It(o[0],c[0]),It(o[1],c[1]),kt(a,o[1],o[0]),Et(a,a),u&&"none"!==u){p=SA(t.node1);At(o[0],o[0],a,p*e)}if(h&&"none"!==h){p=SA(t.node2);At(o[1],o[1],a,-p*e)}It(l[0],o[0]),It(l[1],o[1])}}))}function nk(t){return"view"===t.type}var ik=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.init=function(t,e){var n=new xS,i=new YA,r=this.group;this._controller=new nT(e.getZr()),this._controllerHost={target:r},r.add(n.group),r.add(i.group),this._symbolDraw=n,this._lineDraw=i,this._firstRender=!0},e.prototype.render=function(t,e,n){var i=this,r=t.coordinateSystem;this._model=t;var o=this._symbolDraw,a=this._lineDraw,s=this.group;if(nk(r)){var l={x:r.x,y:r.y,scaleX:r.scaleX,scaleY:r.scaleY};this._firstRender?s.attr(l):vh(s,l,t)}ek(t.getGraph(),wA(t));var u=t.getData();o.updateData(u);var h=t.getEdgeData();a.updateData(h),this._updateNodeAndLinkScale(),this._updateController(t,e,n),clearTimeout(this._layoutTimeout);var c=t.forceLayout,p=t.get(["force","layoutAnimation"]);c&&this._startForceLayoutIteration(c,p);var d=t.get("layout");u.graph.eachNode((function(e){var n=e.dataIndex,r=e.getGraphicEl(),o=e.getModel();if(r){r.off("drag").off("dragend");var a=o.get("draggable");a&&r.on("drag",(function(o){switch(d){case"force":c.warmUp(),!i._layouting&&i._startForceLayoutIteration(c,p),c.setFixed(n),u.setItemLayout(n,[r.x,r.y]);break;case"circular":u.setItemLayout(n,[r.x,r.y]),e.setLayout({fixed:!0},!0),TA(t,"symbolSize",e,[o.offsetX,o.offsetY]),i.updateLayout(t);break;default:u.setItemLayout(n,[r.x,r.y]),_A(t.getGraph(),t),i.updateLayout(t)}})).on("dragend",(function(){c&&c.setUnfixed(n)})),r.setDraggable(a,!!o.get("cursor")),"adjacency"===o.get(["emphasis","focus"])&&(rl(r).focus=e.getAdjacentDataIndices())}})),u.graph.eachEdge((function(t){var e=t.getGraphicEl(),n=t.getModel().get(["emphasis","focus"]);e&&"adjacency"===n&&(rl(e).focus={edge:[t.dataIndex],node:[t.node1.dataIndex,t.node2.dataIndex]})}));var f="circular"===t.get("layout")&&t.get(["circular","rotateLabel"]),g=u.getLayout("cx"),y=u.getLayout("cy");u.graph.eachNode((function(t){DA(t,f,g,y)})),this._firstRender=!1},e.prototype.dispose=function(){this.remove(),this._controller&&this._controller.dispose(),this._controllerHost=null},e.prototype._startForceLayoutIteration=function(t,e){var n=this;!function i(){t.step((function(t){n.updateLayout(n._model),(n._layouting=!t)&&(e?n._layoutTimeout=setTimeout(i,16):i())}))}()},e.prototype._updateController=function(t,e,n){var i=this,r=this._controller,o=this._controllerHost,a=this.group;r.setPointerChecker((function(e,i,r){var o=a.getBoundingRect();return o.applyTransform(a.transform),o.contain(i,r)&&!hT(e,n,t)})),nk(t.coordinateSystem)?(r.enable(t.get("roam")),o.zoomLimit=t.get("scaleLimit"),o.zoom=t.coordinateSystem.getZoom(),r.off("pan").off("zoom").on("pan",(function(e){aT(o,e.dx,e.dy),n.dispatchAction({seriesId:t.id,type:"graphRoam",dx:e.dx,dy:e.dy})})).on("zoom",(function(e){sT(o,e.scale,e.originX,e.originY),n.dispatchAction({seriesId:t.id,type:"graphRoam",zoom:e.scale,originX:e.originX,originY:e.originY}),i._updateNodeAndLinkScale(),ek(t.getGraph(),wA(t)),i._lineDraw.updateLayout(),n.updateLabelLayout()}))):r.disable()},e.prototype._updateNodeAndLinkScale=function(){var t=this._model,e=t.getData(),n=wA(t);e.eachItemGraphicEl((function(t,e){t&&t.setSymbolScale(n)}))},e.prototype.updateLayout=function(t){ek(t.getGraph(),wA(t)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},e.prototype.remove=function(){clearTimeout(this._layoutTimeout),this._layouting=!1,this._layoutTimeout=null,this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()},e.type="graph",e}(Og);function rk(t){return"_EC_"+t}var ok=function(){function t(t){this.type="graph",this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this._directed=t||!1}return t.prototype.isDirected=function(){return this._directed},t.prototype.addNode=function(t,e){t=null==t?""+e:""+t;var n=this._nodesMap;if(!n[rk(t)]){var i=new ak(t,e);return i.hostGraph=this,this.nodes.push(i),n[rk(t)]=i,i}},t.prototype.getNodeByIndex=function(t){var e=this.data.getRawIndex(t);return this.nodes[e]},t.prototype.getNodeById=function(t){return this._nodesMap[rk(t)]},t.prototype.addEdge=function(t,e,n){var i=this._nodesMap,r=this._edgesMap;if(j(t)&&(t=this.nodes[t]),j(e)&&(e=this.nodes[e]),t instanceof ak||(t=i[rk(t)]),e instanceof ak||(e=i[rk(e)]),t&&e){var o=t.id+"-"+e.id,a=new sk(t,e,n);return a.hostGraph=this,this._directed&&(t.outEdges.push(a),e.inEdges.push(a)),t.edges.push(a),t!==e&&e.edges.push(a),this.edges.push(a),r[o]=a,a}},t.prototype.getEdgeByIndex=function(t){var e=this.edgeData.getRawIndex(t);return this.edges[e]},t.prototype.getEdge=function(t,e){t instanceof ak&&(t=t.id),e instanceof ak&&(e=e.id);var n=this._edgesMap;return this._directed?n[t+"-"+e]:n[t+"-"+e]||n[e+"-"+t]},t.prototype.eachNode=function(t,e){for(var n=this.nodes,i=n.length,r=0;r=0&&t.call(e,n[r],r)},t.prototype.eachEdge=function(t,e){for(var n=this.edges,i=n.length,r=0;r=0&&n[r].node1.dataIndex>=0&&n[r].node2.dataIndex>=0&&t.call(e,n[r],r)},t.prototype.breadthFirstTraverse=function(t,e,n,i){if(e instanceof ak||(e=this._nodesMap[rk(e)]),e){for(var r="out"===n?"outEdges":"in"===n?"inEdges":"edges",o=0;o=0&&n.node2.dataIndex>=0}));for(r=0,o=i.length;r=0&&this[t][e].setItemVisual(this.dataIndex,n,i)},getVisual:function(n){return this[t][e].getItemVisual(this.dataIndex,n)},setLayout:function(n,i){this.dataIndex>=0&&this[t][e].setItemLayout(this.dataIndex,n,i)},getLayout:function(){return this[t][e].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[t][e].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[t][e].getRawIndex(this.dataIndex)}}}function uk(t,e,n,i,r){for(var o=new ok(i),a=0;a "+p)),u++)}var d,f=n.get("coordinateSystem");if("cartesian2d"===f||"polar"===f)d=_x(t,n);else{var g=wd.get(f),y=g&&g.dimensions||[];P(y,"value")<0&&y.concat(["value"]);var v=px(t,{coordDimensions:y,encodeDefine:n.getEncode()}).dimensions;(d=new cx(v,n)).initData(t)}var m=new cx(["value"],n);return m.initData(l,s),r&&r(d,m),ZC({mainData:d,struct:o,structAttr:"graph",datas:{node:d,edge:m},datasAttr:{node:"data",edge:"edgeData"}}),o.update(),o}R(ak,lk("hostGraph","data")),R(sk,lk("hostGraph","edgeData"));var hk=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return n(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments);var n=this;function i(){return n._categoriesData}this.legendVisualProvider=new NM(i,i),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},e.prototype.mergeOption=function(e){t.prototype.mergeOption.apply(this,arguments),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},e.prototype.mergeDefaultAndTheme=function(e){t.prototype.mergeDefaultAndTheme.apply(this,arguments),Co(e,"edgeLabel",["show"])},e.prototype.getInitialData=function(t,e){var n,i=t.edges||t.links||[],r=t.data||t.nodes||[],o=this;if(r&&i){dA(n=this)&&(n.__curvenessList=[],n.__edgeMap={},fA(n));var a=uk(r,i,this,!0,(function(t,e){t.wrapMethod("getItemModel",(function(t){var e=o._categoriesModels[t.getShallow("category")];return e&&(e.parentModel=t.parentModel,t.parentModel=e),t}));var n=Cc.prototype.getModel;function i(t,e){var i=n.call(this,t,e);return i.resolveParentPath=r,i}function r(t){if(t&&("label"===t[0]||"label"===t[1])){var e=t.slice();return"label"===t[0]?e[0]="edgeLabel":"label"===t[1]&&(e[1]="edgeLabel"),e}return t}e.wrapMethod("getItemModel",(function(t){return t.resolveParentPath=r,t.getModel=i,t}))}));return E(a.edges,(function(t){!function(t,e,n,i){if(dA(n)){var r=gA(t,e,n),o=n.__edgeMap,a=o[yA(r)];o[r]&&!a?o[r].isForward=!0:a&&o[r]&&(a.isForward=!0,o[r].isForward=!1),o[r]=o[r]||[],o[r].push(i)}}(t.node1,t.node2,this,t.dataIndex)}),this),a.data}},e.prototype.getGraph=function(){return this.getData().graph},e.prototype.getEdgeData=function(){return this.getGraph().edgeData},e.prototype.getCategoriesData=function(){return this._categoriesData},e.prototype.formatTooltip=function(t,e,n){if("edge"===n){var i=this.getData(),r=this.getDataParams(t,n),o=i.graph.getEdgeByIndex(t),a=i.getName(o.node1.dataIndex),s=i.getName(o.node2.dataIndex),l=[];return null!=a&&l.push(a),null!=s&&l.push(s),og("nameValue",{name:l.join(" > "),value:r.value,noValue:null==r.value})}return vg({series:this,dataIndex:t,multipleSeries:e})},e.prototype._updateCategoriesData=function(){var t=z(this.option.categories||[],(function(t){return null!=t.value?t:A({value:0},t)})),e=new cx(["value"],this);e.initData(t),this._categoriesData=e,this._categoriesModels=e.mapArray((function(t){return e.getItemModel(t)}))},e.prototype.setZoom=function(t){this.option.zoom=t},e.prototype.setCenter=function(t){this.option.center=t},e.prototype.isAnimationEnabled=function(){return t.prototype.isAnimationEnabled.call(this)&&!("force"===this.get("layout")&&this.get(["force","layoutAnimation"]))},e.type="series.graph",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={z:2,coordinateSystem:"view",legendHoverLink:!0,layout:null,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,opacity:.5},emphasis:{scale:!0,label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},e}(bg),ck={type:"graphRoam",event:"graphRoam",update:"none"};var pk=function(){this.angle=0,this.width=10,this.r=10,this.x=0,this.y=0},dk=function(t){function e(e){var n=t.call(this,e)||this;return n.type="pointer",n}return n(e,t),e.prototype.getDefaultShape=function(){return new pk},e.prototype.buildPath=function(t,e){var n=Math.cos,i=Math.sin,r=e.r,o=e.width,a=e.angle,s=e.x-n(a)*o*(o>=r/3?1:2),l=e.y-i(a)*o*(o>=r/3?1:2);a=e.angle-Math.PI/2,t.moveTo(s,l),t.lineTo(e.x+n(a)*o,e.y+i(a)*o),t.lineTo(e.x+n(e.angle)*r,e.y+i(e.angle)*r),t.lineTo(e.x-n(a)*o,e.y-i(a)*o),t.lineTo(s,l)},e}(ks);function fk(t,e){var n=null==t?"":t+"";return e&&(U(e)?n=e.replace("{value}",n):X(e)&&(n=e(t))),n}var gk=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.render=function(t,e,n){this.group.removeAll();var i=t.get(["axisLine","lineStyle","color"]),r=function(t,e){var n=t.get("center"),i=e.getWidth(),r=e.getHeight(),o=Math.min(i,r);return{cx:$r(n[0],e.getWidth()),cy:$r(n[1],e.getHeight()),r:$r(t.get("radius"),o/2)}}(t,n);this._renderMain(t,e,n,i,r),this._data=t.getData()},e.prototype.dispose=function(){},e.prototype._renderMain=function(t,e,n,i,r){var o=this.group,a=t.get("clockwise"),s=-t.get("startAngle")/180*Math.PI,l=-t.get("endAngle")/180*Math.PI,u=t.getModel("axisLine"),h=u.get("roundCap")?JS:Fu,c=u.get("show"),p=u.getModel("lineStyle"),d=p.get("width"),f=[s,l];us(f,!a);for(var g=(l=f[1])-(s=f[0]),y=s,v=[],m=0;c&&m=t&&(0===e?0:i[e-1][0])Math.PI/2&&(V+=Math.PI):"tangential"===z?V=-M-Math.PI/2:j(z)&&(V=z*Math.PI/180),0===V?c.add(new Xs({style:oc(x,{text:O,x:N,y:E,verticalAlign:h<-.8?"top":h>.8?"bottom":"middle",align:u<-.4?"left":u>.4?"right":"center"},{inheritColor:R}),silent:!0})):c.add(new Xs({style:oc(x,{text:O,x:N,y:E,verticalAlign:"middle",align:"center"},{inheritColor:R}),silent:!0,originX:N,originY:E,rotation:V}))}if(m.get("show")&&k!==_){P=(P=m.get("distance"))?P+l:l;for(var B=0;B<=b;B++){u=Math.cos(M),h=Math.sin(M);var F=new Ku({shape:{x1:u*(f-P)+p,y1:h*(f-P)+d,x2:u*(f-S-P)+p,y2:h*(f-S-P)+d},silent:!0,style:D});"auto"===D.stroke&&F.setStyle({stroke:i((k+B/b)/_)}),c.add(F),M+=T}M-=T}else M+=I}},e.prototype._renderPointer=function(t,e,n,i,r,o,a,s,l){var u=this.group,h=this._data,c=this._progressEls,p=[],d=t.get(["pointer","show"]),f=t.getModel("progress"),g=f.get("show"),y=t.getData(),v=y.mapDimension("value"),m=+t.get("min"),x=+t.get("max"),_=[m,x],b=[o,a];function w(e,n){var i,o=y.getItemModel(e).getModel("pointer"),a=$r(o.get("width"),r.r),s=$r(o.get("length"),r.r),l=t.get(["pointer","icon"]),u=o.get("offsetCenter"),h=$r(u[0],r.r),c=$r(u[1],r.r),p=o.get("keepAspect");return(i=l?Xy(l,h-a/2,c-s,a,s,null,p):new dk({shape:{angle:-Math.PI/2,width:a,r:s,x:h,y:c}})).rotation=-(n+Math.PI/2),i.x=r.cx,i.y=r.cy,i}function S(t,e){var n=f.get("roundCap")?JS:Fu,i=f.get("overlap"),a=i?f.get("width"):l/y.count(),u=i?r.r-a:r.r-(t+1)*a,h=i?r.r:r.r-t*a,c=new n({shape:{startAngle:o,endAngle:e,cx:r.cx,cy:r.cy,clockwise:s,r0:u,r:h}});return i&&(c.z2=Kr(y.get(v,t),[m,x],[100,0],!0)),c}(g||d)&&(y.diff(h).add((function(e){var n=y.get(v,e);if(d){var i=w(e,o);mh(i,{rotation:-((isNaN(+n)?b[0]:Kr(n,_,b,!0))+Math.PI/2)},t),u.add(i),y.setItemGraphicEl(e,i)}if(g){var r=S(e,o),a=f.get("clip");mh(r,{shape:{endAngle:Kr(n,_,b,a)}},t),u.add(r),ol(t.seriesIndex,y.dataType,e,r),p[e]=r}})).update((function(e,n){var i=y.get(v,e);if(d){var r=h.getItemGraphicEl(n),a=r?r.rotation:o,s=w(e,a);s.rotation=a,vh(s,{rotation:-((isNaN(+i)?b[0]:Kr(i,_,b,!0))+Math.PI/2)},t),u.add(s),y.setItemGraphicEl(e,s)}if(g){var l=c[n],m=S(e,l?l.shape.endAngle:o),x=f.get("clip");vh(m,{shape:{endAngle:Kr(i,_,b,x)}},t),u.add(m),ol(t.seriesIndex,y.dataType,e,m),p[e]=m}})).execute(),y.each((function(t){var e=y.getItemModel(t),n=e.getModel("emphasis"),r=n.get("focus"),o=n.get("blurScope"),a=n.get("disabled");if(d){var s=y.getItemGraphicEl(t),l=y.getItemVisual(t,"style"),u=l.fill;if(s instanceof Ns){var h=s.style;s.useStyle(A({image:h.image,x:h.x,y:h.y,width:h.width,height:h.height},l))}else s.useStyle(l),"pointer"!==s.type&&s.setColor(u);s.setStyle(e.getModel(["pointer","itemStyle"]).getItemStyle()),"auto"===s.style.fill&&s.setStyle("fill",i(Kr(y.get(v,t),_,[0,1],!0))),s.z2EmphasisLift=0,$l(s,e),Zl(s,r,o,a)}if(g){var c=p[t];c.useStyle(y.getItemVisual(t,"style")),c.setStyle(e.getModel(["progress","itemStyle"]).getItemStyle()),c.z2EmphasisLift=0,$l(c,e),Zl(c,r,o,a)}})),this._progressEls=p)},e.prototype._renderAnchor=function(t,e){var n=t.getModel("anchor");if(n.get("show")){var i=n.get("size"),r=n.get("icon"),o=n.get("offsetCenter"),a=n.get("keepAspect"),s=Xy(r,e.cx-i/2+$r(o[0],e.r),e.cy-i/2+$r(o[1],e.r),i,i,null,a);s.z2=n.get("showAbove")?1:0,s.setStyle(n.getModel("itemStyle").getItemStyle()),this.group.add(s)}},e.prototype._renderTitleAndDetail=function(t,e,n,i,r){var o=this,a=t.getData(),s=a.mapDimension("value"),l=+t.get("min"),u=+t.get("max"),h=new Br,c=[],p=[],d=t.isAnimationEnabled(),f=t.get(["pointer","showAbove"]);a.diff(this._data).add((function(t){c[t]=new Xs({silent:!0}),p[t]=new Xs({silent:!0})})).update((function(t,e){c[t]=o._titleEls[e],p[t]=o._detailEls[e]})).execute(),a.each((function(e){var n=a.getItemModel(e),o=a.get(s,e),g=new Br,y=i(Kr(o,[l,u],[0,1],!0)),v=n.getModel("title");if(v.get("show")){var m=v.get("offsetCenter"),x=r.cx+$r(m[0],r.r),_=r.cy+$r(m[1],r.r);(D=c[e]).attr({z2:f?0:2,style:oc(v,{x:x,y:_,text:a.getName(e),align:"center",verticalAlign:"middle"},{inheritColor:y})}),g.add(D)}var b=n.getModel("detail");if(b.get("show")){var w=b.get("offsetCenter"),S=r.cx+$r(w[0],r.r),M=r.cy+$r(w[1],r.r),I=$r(b.get("width"),r.r),T=$r(b.get("height"),r.r),C=t.get(["progress","show"])?a.getItemVisual(e,"style").fill:y,D=p[e],A=b.get("formatter");D.attr({z2:f?0:2,style:oc(b,{x:S,y:M,text:fk(o,A),width:isNaN(I)?null:I,height:isNaN(T)?null:T,align:"center",verticalAlign:"middle"},{inheritColor:C})}),dc(D,{normal:b},o,(function(t){return fk(t,A)})),d&&fc(D,e,a,t,{getFormattedLabel:function(t,e,n,i,r,a){return fk(a?a.interpolatedValue:o,A)}}),g.add(D)}h.add(g)})),this.group.add(h),this._titleEls=c,this._detailEls=p},e.type="gauge",e}(Og),yk=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.visualStyleAccessPath="itemStyle",n}return n(e,t),e.prototype.getInitialData=function(t,e){return RM(this,["value"])},e.type="series.gauge",e.defaultOption={z:2,colorBy:"data",center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,roundCap:!1,lineStyle:{color:[[1,"#E6EBF8"]],width:10}},progress:{show:!1,overlap:!0,width:10,roundCap:!1,clip:!0},splitLine:{show:!0,length:10,distance:10,lineStyle:{color:"#63677A",width:3,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:6,distance:10,lineStyle:{color:"#63677A",width:1,type:"solid"}},axisLabel:{show:!0,distance:15,color:"#464646",fontSize:12,rotate:0},pointer:{icon:null,offsetCenter:[0,0],show:!0,showAbove:!0,length:"60%",width:6,keepAspect:!1},anchor:{show:!1,showAbove:!1,size:6,icon:"circle",offsetCenter:[0,0],keepAspect:!1,itemStyle:{color:"#fff",borderWidth:0,borderColor:"#5470c6"}},title:{show:!0,offsetCenter:[0,"20%"],color:"#464646",fontSize:16,valueAnimation:!1},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:"#464646",fontSize:30,fontWeight:"bold",lineHeight:30,valueAnimation:!1}},e}(bg);var vk=["itemStyle","opacity"],mk=function(t){function e(e,n){var i=t.call(this)||this,r=i,o=new Zu,a=new Xs;return r.setTextContent(a),i.setTextGuideLine(o),i.updateData(e,n,!0),i}return n(e,t),e.prototype.updateData=function(t,e,n){var i=this,r=t.hostModel,o=t.getItemModel(e),a=t.getItemLayout(e),s=o.getModel("emphasis"),l=o.get(vk);l=null==l?1:l,n||Sh(i),i.useStyle(t.getItemVisual(e,"style")),i.style.lineJoin="round",n?(i.setShape({points:a.points}),i.style.opacity=0,mh(i,{style:{opacity:l}},r,e)):vh(i,{style:{opacity:l},shape:{points:a.points}},r,e),$l(i,o),this._updateLabel(t,e),Zl(this,s.get("focus"),s.get("blurScope"),s.get("disabled"))},e.prototype._updateLabel=function(t,e){var n=this,i=this.getTextGuideLine(),r=n.getTextContent(),o=t.hostModel,a=t.getItemModel(e),s=t.getItemLayout(e).label,l=t.getItemVisual(e,"style"),u=l.fill;ic(r,rc(a),{labelFetcher:t.hostModel,labelDataIndex:e,defaultOpacity:l.opacity,defaultText:t.getName(e)},{normal:{align:s.textAlign,verticalAlign:s.verticalAlign}}),n.setTextConfig({local:!0,inside:!!s.inside,insideStroke:u,outsideFill:u});var h=s.linePoints;i.setShape({points:h}),n.textGuideLineConfig={anchor:h?new De(h[0][0],h[0][1]):null},vh(r,{style:{x:s.x,y:s.y}},o,e),r.attr({rotation:s.rotation,originX:s.x,originY:s.y,z2:10}),kb(n,Lb(a),{stroke:u})},e}(Xu),xk=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.ignoreLabelLineUpdate=!0,n}return n(e,t),e.prototype.render=function(t,e,n){var i=t.getData(),r=this._data,o=this.group;i.diff(r).add((function(t){var e=new mk(i,t);i.setItemGraphicEl(t,e),o.add(e)})).update((function(t,e){var n=r.getItemGraphicEl(e);n.updateData(i,t),o.add(n),i.setItemGraphicEl(t,n)})).remove((function(e){wh(r.getItemGraphicEl(e),t,e)})).execute(),this._data=i},e.prototype.remove=function(){this.group.removeAll(),this._data=null},e.prototype.dispose=function(){},e.type="funnel",e}(Og),_k=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new NM(W(this.getData,this),W(this.getRawData,this)),this._defaultLabelLine(e)},e.prototype.getInitialData=function(t,e){return RM(this,{coordDimensions:["value"],encodeDefaulter:H(ed,this)})},e.prototype._defaultLabelLine=function(t){Co(t,"labelLine",["show"]);var e=t.labelLine,n=t.emphasis.labelLine;e.show=e.show&&t.label.show,n.show=n.show&&t.emphasis.label.show},e.prototype.getDataParams=function(e){var n=this.getData(),i=t.prototype.getDataParams.call(this,e),r=n.mapDimension("value"),o=n.getSum(r);return i.percent=o?+(n.get(r,e)/o*100).toFixed(2):0,i.$vars.push("percent"),i},e.type="series.funnel",e.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",orient:"vertical",gap:0,funnelAlign:"center",label:{show:!0,position:"outer"},labelLine:{show:!0,length:20,lineStyle:{width:1}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},e}(bg);function bk(t,e){t.eachSeriesByType("funnel",(function(t){var n=t.getData(),i=n.mapDimension("value"),r=t.get("sort"),o=function(t,e){return kp(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}(t,e),a=t.get("orient"),s=o.width,l=o.height,u=function(t,e){for(var n=t.mapDimension("value"),i=t.mapArray(n,(function(t){return t})),r=[],o="ascending"===e,a=0,s=t.count();a5)return;var i=this._model.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]);"none"!==i.behavior&&this._dispatchExpand({axisExpandWindow:i.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(t){if(!this._mouseDownPoint&&Rk(this,"mousemove")){var e=this._model,n=e.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]),i=n.behavior;"jump"===i&&this._throttledDispatchExpand.debounceNextCall(e.get("axisExpandDebounce")),this._throttledDispatchExpand("none"===i?null:{axisExpandWindow:n.axisExpandWindow,animation:"jump"===i?null:{duration:0}})}}};function Rk(t,e){var n=t._model;return n.get("axisExpandable")&&n.get("axisExpandTriggerOn")===e}var Nk=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.init=function(){t.prototype.init.apply(this,arguments),this.mergeOption({})},e.prototype.mergeOption=function(t){var e=this.option;t&&C(e,t,!0),this._initDimensions()},e.prototype.contains=function(t,e){var n=t.get("parallelIndex");return null!=n&&e.getComponent("parallel",n)===this},e.prototype.setAxisExpand=function(t){E(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],(function(e){t.hasOwnProperty(e)&&(this.option[e]=t[e])}),this)},e.prototype._initDimensions=function(){var t=this.dimensions=[],e=this.parallelAxisIndex=[];E(B(this.ecModel.queryComponents({mainType:"parallelAxis"}),(function(t){return(t.get("parallelIndex")||0)===this.componentIndex}),this),(function(n){t.push("dim"+n.get("dim")),e.push(n.componentIndex)}))},e.type="parallel",e.dependencies=["parallelAxis"],e.layoutMode="box",e.defaultOption={z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},e}(zp),Ek=function(t){function e(e,n,i,r,o){var a=t.call(this,e,n,i)||this;return a.type=r||"value",a.axisIndex=o,a}return n(e,t),e.prototype.isHorizontal=function(){return"horizontal"!==this.coordinateSystem.getModel().get("layout")},e}(ab);function zk(t,e,n,i,r,o){t=t||0;var a=n[1]-n[0];if(null!=r&&(r=Bk(r,[0,a])),null!=o&&(o=Math.max(o,null!=r?r:0)),"all"===i){var s=Math.abs(e[1]-e[0]);s=Bk(s,[0,a]),r=o=Bk(s,[r,o]),i=0}e[0]=Bk(e[0],n),e[1]=Bk(e[1],n);var l=Vk(e,i);e[i]+=t;var u,h=r||0,c=n.slice();return l.sign<0?c[0]+=h:c[1]-=h,e[i]=Bk(e[i],c),u=Vk(e,i),null!=r&&(u.sign!==l.sign||u.spano&&(e[1-i]=e[i]+u.sign*o),e}function Vk(t,e){var n=t[e]-t[1-e];return{span:Math.abs(n),sign:n>0?-1:n<0?1:e?-1:1}}function Bk(t,e){return Math.min(null!=e[1]?e[1]:1/0,Math.max(null!=e[0]?e[0]:-1/0,t))}var Fk=E,Gk=Math.min,Wk=Math.max,Hk=Math.floor,Yk=Math.ceil,Xk=Jr,Uk=Math.PI,Zk=function(){function t(t,e,n){this.type="parallel",this._axesMap=yt(),this._axesLayout={},this.dimensions=t.dimensions,this._model=t,this._init(t,e,n)}return t.prototype._init=function(t,e,n){var i=t.dimensions,r=t.parallelAxisIndex;Fk(i,(function(t,n){var i=r[n],o=e.getComponent("parallelAxis",i),a=this._axesMap.set(t,new Ek(t,b_(o),[0,0],o.get("type"),i)),s="category"===a.type;a.onBand=s&&o.get("boundaryGap"),a.inverse=o.get("inverse"),o.axis=a,a.model=o,a.coordinateSystem=o.coordinateSystem=this}),this)},t.prototype.update=function(t,e){this._updateAxesFromSeries(this._model,t)},t.prototype.containPoint=function(t){var e=this._makeLayoutInfo(),n=e.axisBase,i=e.layoutBase,r=e.pixelDimIndex,o=t[1-r],a=t[r];return o>=n&&o<=n+e.axisLength&&a>=i&&a<=i+e.layoutLength},t.prototype.getModel=function(){return this._model},t.prototype._updateAxesFromSeries=function(t,e){e.eachSeries((function(n){if(t.contains(n,e)){var i=n.getData();Fk(this.dimensions,(function(t){var e=this._axesMap.get(t);e.scale.unionExtentFromData(i,i.mapDimension(t)),__(e.scale,e.model)}),this)}}),this)},t.prototype.resize=function(t,e){this._rect=kp(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()}),this._layoutAxes()},t.prototype.getRect=function(){return this._rect},t.prototype._makeLayoutInfo=function(){var t,e=this._model,n=this._rect,i=["x","y"],r=["width","height"],o=e.get("layout"),a="horizontal"===o?0:1,s=n[r[a]],l=[0,s],u=this.dimensions.length,h=jk(e.get("axisExpandWidth"),l),c=jk(e.get("axisExpandCount")||0,[0,u]),p=e.get("axisExpandable")&&u>3&&u>c&&c>1&&h>0&&s>0,d=e.get("axisExpandWindow");d?(t=jk(d[1]-d[0],l),d[1]=d[0]+t):(t=jk(h*(c-1),l),(d=[h*(e.get("axisExpandCenter")||Hk(u/2))-t/2])[1]=d[0]+t);var f=(s-t)/(u-c);f<3&&(f=0);var g=[Hk(Xk(d[0]/h,1))+1,Yk(Xk(d[1]/h,1))-1],y=f/h*d[0];return{layout:o,pixelDimIndex:a,layoutBase:n[i[a]],layoutLength:s,axisBase:n[i[1-a]],axisLength:n[r[1-a]],axisExpandable:p,axisExpandWidth:h,axisCollapseWidth:f,axisExpandWindow:d,axisCount:u,winInnerIndices:g,axisExpandWindow0Pos:y}},t.prototype._layoutAxes=function(){var t=this._rect,e=this._axesMap,n=this.dimensions,i=this._makeLayoutInfo(),r=i.layout;e.each((function(t){var e=[0,i.axisLength],n=t.inverse?1:0;t.setExtent(e[n],e[1-n])})),Fk(n,(function(e,n){var o=(i.axisExpandable?Kk:qk)(n,i),a={horizontal:{x:o.position,y:i.axisLength},vertical:{x:0,y:o.position}},s={horizontal:Uk/2,vertical:0},l=[a[r].x+t.x,a[r].y+t.y],u=s[r],h=[1,0,0,1,0,0];Se(h,h,u),we(h,h,l),this._axesLayout[e]={position:l,rotation:u,transform:h,axisNameAvailableWidth:o.axisNameAvailableWidth,axisLabelShow:o.axisLabelShow,nameTruncateMaxWidth:o.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}}),this)},t.prototype.getAxis=function(t){return this._axesMap.get(t)},t.prototype.dataToPoint=function(t,e){return this.axisCoordToPoint(this._axesMap.get(e).dataToCoord(t),e)},t.prototype.eachActiveState=function(t,e,n,i){null==n&&(n=0),null==i&&(i=t.count());var r=this._axesMap,o=this.dimensions,a=[],s=[];E(o,(function(e){a.push(t.mapDimension(e)),s.push(r.get(e).model)}));for(var l=this.hasAxisBrushed(),u=n;ur*(1-h[0])?(l="jump",a=s-r*(1-h[2])):(a=s-r*h[1])>=0&&(a=s-r*(1-h[1]))<=0&&(a=0),(a*=e.axisExpandWidth/u)?zk(a,i,o,"all"):l="none";else{var p=i[1]-i[0];(i=[Wk(0,o[1]*s/p-p/2)])[1]=Gk(o[1],i[0]+p),i[0]=i[1]-p}return{axisExpandWindow:i,behavior:l}},t}();function jk(t,e){return Gk(Wk(t,e[0]),e[1])}function qk(t,e){var n=e.layoutLength/(e.axisCount-1);return{position:n*t,axisNameAvailableWidth:n,axisLabelShow:!0}}function Kk(t,e){var n,i,r=e.layoutLength,o=e.axisExpandWidth,a=e.axisCount,s=e.axisCollapseWidth,l=e.winInnerIndices,u=s,h=!1;return t=0;n--)Qr(e[n])},e.prototype.getActiveState=function(t){var e=this.activeIntervals;if(!e.length)return"normal";if(null==t||isNaN(+t))return"inactive";if(1===e.length){var n=e[0];if(n[0]<=t&&t<=n[1])return"active"}else for(var i=0,r=e.length;i6}(t)||o){if(a&&!o){"single"===s.brushMode&&vL(t);var l=T(s);l.brushType=RL(l.brushType,a),l.panelId=a===Qk?null:a.panelId,o=t._creatingCover=uL(t,l),t._covers.push(o)}if(o){var u=zL[RL(t._brushType,a)];o.__brushOption.range=u.getCreatingRange(kL(t,o,t._track)),i&&(hL(t,o),u.updateCommon(t,o)),cL(t,o),r={isEnd:i}}}else i&&"single"===s.brushMode&&s.removeOnClick&&gL(t,e,n)&&vL(t)&&(r={isEnd:i,removeOnClick:!0});return r}function RL(t,e){return"auto"===t?e.defaultBrushType:t}var NL={mousedown:function(t){if(this._dragging)EL(this,t);else if(!t.target||!t.target.draggable){LL(t);var e=this.group.transformCoordToLocal(t.offsetX,t.offsetY);this._creatingCover=null,(this._creatingPanel=gL(this,t,e))&&(this._dragging=!0,this._track=[e.slice()])}},mousemove:function(t){var e=t.offsetX,n=t.offsetY,i=this.group.transformCoordToLocal(e,n);if(function(t,e,n){if(t._brushType&&!function(t,e,n){var i=t._zr;return e<0||e>i.getWidth()||n<0||n>i.getHeight()}(t,e.offsetX,e.offsetY)){var i=t._zr,r=t._covers,o=gL(t,e,n);if(!t._dragging)for(var a=0;a=0&&(o[r[a].depth]=new Cc(r[a],this,e));var s=uk(i,n,this,!0,(function(t,e){t.wrapMethod("getItemModel",(function(t,e){var n=t.parentModel,i=n.getData().getItemLayout(e);if(i){var r=i.depth,o=n.levelModels[r];o&&(t.parentModel=o)}return t})),e.wrapMethod("getItemModel",(function(t,e){var n=t.parentModel,i=n.getGraph().getEdgeByIndex(e).node1.getLayout();if(i){var r=i.depth,o=n.levelModels[r];o&&(t.parentModel=o)}return t}))}));return s.data},e.prototype.setNodePosition=function(t,e){var n=(this.option.data||this.option.nodes)[t];n.localX=e[0],n.localY=e[1]},e.prototype.getGraph=function(){return this.getData().graph},e.prototype.getEdgeData=function(){return this.getGraph().edgeData},e.prototype.formatTooltip=function(t,e,n){function i(t){return isNaN(t)||null==t}if("edge"===n){var r=this.getDataParams(t,n),o=r.data,a=r.value;return og("nameValue",{name:o.source+" -- "+o.target,value:a,noValue:i(a)})}var s=this.getGraph().getNodeByIndex(t).getLayout().value,l=this.getDataParams(t,n).data.name;return og("nameValue",{name:null!=l?l+"":null,value:s,noValue:i(s)})},e.prototype.optionUpdated=function(){},e.prototype.getDataParams=function(e,n){var i=t.prototype.getDataParams.call(this,e,n);if(null==i.value&&"node"===n){var r=this.getGraph().getNodeByIndex(e).getLayout().value;i.value=r}return i},e.type="series.sankey",e.defaultOption={z:2,coordinateSystem:"view",left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,layoutIterations:32,label:{show:!0,position:"right",fontSize:12},edgeLabel:{show:!1,fontSize:12},levels:[],nodeAlign:"justify",lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},select:{itemStyle:{borderColor:"#212121"}},animationEasing:"linear",animationDuration:1e3},e}(bg);function QL(t,e){t.eachSeriesByType("sankey",(function(t){var n=t.get("nodeWidth"),i=t.get("nodeGap"),r=function(t,e){return kp(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}(t,e);t.layoutInfo=r;var o=r.width,a=r.height,s=t.getGraph(),l=s.nodes,u=s.edges;!function(t){E(t,(function(t){var e=uP(t.outEdges,lP),n=uP(t.inEdges,lP),i=t.getValue()||0,r=Math.max(e,n,i);t.setLayout({value:r},!0)}))}(l),function(t,e,n,i,r,o,a,s,l){(function(t,e,n,i,r,o,a){for(var s=[],l=[],u=[],h=[],c=0,p=0;p=0;v&&y.depth>d&&(d=y.depth),g.setLayout({depth:v?y.depth:c},!0),"vertical"===o?g.setLayout({dy:n},!0):g.setLayout({dx:n},!0);for(var m=0;mc-1?d:c-1;a&&"left"!==a&&function(t,e,n,i){if("right"===e){for(var r=[],o=t,a=0;o.length;){for(var s=0;s0;o--)nP(s,l*=.99,a),eP(s,r,n,i,a),hP(s,l,a),eP(s,r,n,i,a)}(t,e,o,r,i,a,s),function(t,e){var n="vertical"===e?"x":"y";E(t,(function(t){t.outEdges.sort((function(t,e){return t.node2.getLayout()[n]-e.node2.getLayout()[n]})),t.inEdges.sort((function(t,e){return t.node1.getLayout()[n]-e.node1.getLayout()[n]}))})),E(t,(function(t){var e=0,n=0;E(t.outEdges,(function(t){t.setLayout({sy:e},!0),e+=t.getLayout().dy})),E(t.inEdges,(function(t){t.setLayout({ty:n},!0),n+=t.getLayout().dy}))}))}(t,s)}(l,u,n,i,o,a,0!==B(l,(function(t){return 0===t.getLayout().value})).length?0:t.get("layoutIterations"),t.get("orient"),t.get("nodeAlign"))}))}function tP(t){var e=t.hostGraph.data.getRawDataItem(t.dataIndex);return null!=e.depth&&e.depth>=0}function eP(t,e,n,i,r){var o="vertical"===r?"x":"y";E(t,(function(t){var a,s,l;t.sort((function(t,e){return t.getLayout()[o]-e.getLayout()[o]}));for(var u=0,h=t.length,c="vertical"===r?"dx":"dy",p=0;p0&&(a=s.getLayout()[o]+l,"vertical"===r?s.setLayout({x:a},!0):s.setLayout({y:a},!0)),u=s.getLayout()[o]+s.getLayout()[c]+e;if((l=u-e-("vertical"===r?i:n))>0){a=s.getLayout()[o]-l,"vertical"===r?s.setLayout({x:a},!0):s.setLayout({y:a},!0),u=a;for(p=h-2;p>=0;--p)(l=(s=t[p]).getLayout()[o]+s.getLayout()[c]+e-u)>0&&(a=s.getLayout()[o]-l,"vertical"===r?s.setLayout({x:a},!0):s.setLayout({y:a},!0)),u=s.getLayout()[o]}}))}function nP(t,e,n){E(t.slice().reverse(),(function(t){E(t,(function(t){if(t.outEdges.length){var i=uP(t.outEdges,iP,n)/uP(t.outEdges,lP);if(isNaN(i)){var r=t.outEdges.length;i=r?uP(t.outEdges,rP,n)/r:0}if("vertical"===n){var o=t.getLayout().x+(i-sP(t,n))*e;t.setLayout({x:o},!0)}else{var a=t.getLayout().y+(i-sP(t,n))*e;t.setLayout({y:a},!0)}}}))}))}function iP(t,e){return sP(t.node2,e)*t.getValue()}function rP(t,e){return sP(t.node2,e)}function oP(t,e){return sP(t.node1,e)*t.getValue()}function aP(t,e){return sP(t.node1,e)}function sP(t,e){return"vertical"===e?t.getLayout().x+t.getLayout().dx/2:t.getLayout().y+t.getLayout().dy/2}function lP(t){return t.getValue()}function uP(t,e,n){for(var i=0,r=t.length,o=-1;++oo&&(o=e)})),E(n,(function(e){var n=new kD({type:"color",mappingMethod:"linear",dataExtent:[r,o],visual:t.get("color")}).mapValueToVisual(e.getLayout().value),i=e.getModel().get(["itemStyle","color"]);null!=i?(e.setVisual("color",i),e.setVisual("style",{fill:i})):(e.setVisual("color",n),e.setVisual("style",{fill:n}))}))}i.length&&E(i,(function(t){var e=t.getModel().get("lineStyle");t.setVisual("style",e)}))}))}var pP=function(){function t(){}return t.prototype._hasEncodeRule=function(t){var e=this.getEncode();return e&&null!=e.get(t)},t.prototype.getInitialData=function(t,e){var n,i,r=e.getComponent("xAxis",this.get("xAxisIndex")),o=e.getComponent("yAxis",this.get("yAxisIndex")),a=r.get("type"),s=o.get("type");"category"===a?(t.layout="horizontal",n=r.getOrdinalMeta(),i=!this._hasEncodeRule("x")):"category"===s?(t.layout="vertical",n=o.getOrdinalMeta(),i=!this._hasEncodeRule("y")):t.layout=t.layout||"horizontal";var l=["x","y"],u="horizontal"===t.layout?0:1,h=this._baseAxisDim=l[u],c=l[1-u],p=[r,o],d=p[u].get("type"),f=p[1-u].get("type"),g=t.data;if(g&&i){var y=[];E(g,(function(t,e){var n;Y(t)?(n=t.slice(),t.unshift(e)):Y(t.value)?((n=A({},t)).value=n.value.slice(),t.value.unshift(e)):n=t,y.push(n)})),t.data=y}var v=this.defaultValueDimensions,m=[{name:h,type:Ym(d),ordinalMeta:n,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:c,type:Ym(f),dimsDef:v.slice()}];return RM(this,{coordDimensions:m,dimensionsCount:v.length+1,encodeDefaulter:H(td,m,this)})},t.prototype.getBaseAxis=function(){var t=this._baseAxisDim;return this.ecModel.getComponent(t+"Axis",this.get(t+"AxisIndex")).axis},t}(),dP=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.defaultValueDimensions=[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],n.visualDrawType="stroke",n}return n(e,t),e.type="series.boxplot",e.dependencies=["xAxis","yAxis","grid"],e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,boxWidth:[7,50],itemStyle:{color:"#fff",borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0,0,0,0.2)"}},animationDuration:800},e}(bg);R(dP,pP,!0);var fP=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.render=function(t,e,n){var i=t.getData(),r=this.group,o=this._data;this._data||r.removeAll();var a="horizontal"===t.get("layout")?1:0;i.diff(o).add((function(t){if(i.hasValue(t)){var e=vP(i.getItemLayout(t),i,t,a,!0);i.setItemGraphicEl(t,e),r.add(e)}})).update((function(t,e){var n=o.getItemGraphicEl(e);if(i.hasValue(t)){var s=i.getItemLayout(t);n?(Sh(n),mP(s,n,i,t)):n=vP(s,i,t,a),r.add(n),i.setItemGraphicEl(t,n)}else r.remove(n)})).remove((function(t){var e=o.getItemGraphicEl(t);e&&r.remove(e)})).execute(),this._data=i},e.prototype.remove=function(t){var e=this.group,n=this._data;this._data=null,n&&n.eachItemGraphicEl((function(t){t&&e.remove(t)}))},e.type="boxplot",e}(Og),gP=function(){},yP=function(t){function e(e){var n=t.call(this,e)||this;return n.type="boxplotBoxPath",n}return n(e,t),e.prototype.getDefaultShape=function(){return new gP},e.prototype.buildPath=function(t,e){var n=e.points,i=0;for(t.moveTo(n[i][0],n[i][1]),i++;i<4;i++)t.lineTo(n[i][0],n[i][1]);for(t.closePath();ig){var _=[v,x];i.push(_)}}}return{boxData:n,outliers:i}}(e.getRawData(),t.config);return[{dimensions:["ItemName","Low","Q1","Q2","Q3","High"],data:i.boxData},{data:i.outliers}]}};var SP=["itemStyle","borderColor"],MP=["itemStyle","borderColor0"],IP=["itemStyle","borderColorDoji"],TP=["itemStyle","color"],CP=["itemStyle","color0"];function DP(t,e){return e.get(t>0?TP:CP)}function AP(t,e){return e.get(0===t?IP:t>0?SP:MP)}var kP={seriesType:"candlestick",plan:kg(),performRawSeries:!0,reset:function(t,e){if(!e.isSeriesFiltered(t))return!t.pipelineContext.large&&{progress:function(t,e){for(var n;null!=(n=t.next());){var i=e.getItemModel(n),r=e.getItemLayout(n).sign,o=i.getItemStyle();o.fill=DP(r,i),o.stroke=AP(r,i)||o.fill,A(e.ensureUniqueItemVisual(n,"style"),o)}}}}},LP=["color","borderColor"],PP=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.render=function(t,e,n){this.group.removeClipPath(),this._progressiveEls=null,this._updateDrawMode(t),this._isLargeDraw?this._renderLarge(t):this._renderNormal(t)},e.prototype.incrementalPrepareRender=function(t,e,n){this._clear(),this._updateDrawMode(t)},e.prototype.incrementalRender=function(t,e,n,i){this._progressiveEls=[],this._isLargeDraw?this._incrementalRenderLarge(t,e):this._incrementalRenderNormal(t,e)},e.prototype.eachRendered=function(t){Jh(this._progressiveEls||this.group,t)},e.prototype._updateDrawMode=function(t){var e=t.pipelineContext.large;null!=this._isLargeDraw&&e===this._isLargeDraw||(this._isLargeDraw=e,this._clear())},e.prototype._renderNormal=function(t){var e=t.getData(),n=this._data,i=this.group,r=e.getLayout("isSimpleBox"),o=t.get("clip",!0),a=t.coordinateSystem,s=a.getArea&&a.getArea();this._data||i.removeAll(),e.diff(n).add((function(n){if(e.hasValue(n)){var a=e.getItemLayout(n);if(o&&EP(s,a))return;var l=NP(a,n,!0);mh(l,{shape:{points:a.ends}},t,n),zP(l,e,n,r),i.add(l),e.setItemGraphicEl(n,l)}})).update((function(a,l){var u=n.getItemGraphicEl(l);if(e.hasValue(a)){var h=e.getItemLayout(a);o&&EP(s,h)?i.remove(u):(u?(vh(u,{shape:{points:h.ends}},t,a),Sh(u)):u=NP(h),zP(u,e,a,r),i.add(u),e.setItemGraphicEl(a,u))}else i.remove(u)})).remove((function(t){var e=n.getItemGraphicEl(t);e&&i.remove(e)})).execute(),this._data=e},e.prototype._renderLarge=function(t){this._clear(),GP(t,this.group);var e=t.get("clip",!0)?PS(t.coordinateSystem,!1,t):null;e?this.group.setClipPath(e):this.group.removeClipPath()},e.prototype._incrementalRenderNormal=function(t,e){for(var n,i=e.getData(),r=i.getLayout("isSimpleBox");null!=(n=t.next());){var o=NP(i.getItemLayout(n));zP(o,i,n,r),o.incremental=!0,this.group.add(o),this._progressiveEls.push(o)}},e.prototype._incrementalRenderLarge=function(t,e){GP(e,this.group,this._progressiveEls,!0)},e.prototype.remove=function(t){this._clear()},e.prototype._clear=function(){this.group.removeAll(),this._data=null},e.type="candlestick",e}(Og),OP=function(){},RP=function(t){function e(e){var n=t.call(this,e)||this;return n.type="normalCandlestickBox",n}return n(e,t),e.prototype.getDefaultShape=function(){return new OP},e.prototype.buildPath=function(t,e){var n=e.points;this.__simpleBox?(t.moveTo(n[4][0],n[4][1]),t.lineTo(n[6][0],n[6][1])):(t.moveTo(n[0][0],n[0][1]),t.lineTo(n[1][0],n[1][1]),t.lineTo(n[2][0],n[2][1]),t.lineTo(n[3][0],n[3][1]),t.closePath(),t.moveTo(n[4][0],n[4][1]),t.lineTo(n[5][0],n[5][1]),t.moveTo(n[6][0],n[6][1]),t.lineTo(n[7][0],n[7][1]))},e}(ks);function NP(t,e,n){var i=t.ends;return new RP({shape:{points:n?VP(i,t):i},z2:100})}function EP(t,e){for(var n=!0,i=0;id?x[1]:m[1],ends:w,brushRect:T(f,g,c)})}function M(t,n){var i=[];return i[0]=n,i[1]=t,isNaN(n)||isNaN(t)?[NaN,NaN]:e.dataToPoint(i)}function I(t,e,n){var r=e.slice(),o=e.slice();r[0]=Vh(r[0]+i/2,1,!1),o[0]=Vh(o[0]-i/2,1,!0),n?t.push(r,o):t.push(o,r)}function T(t,e,n){var r=M(t,n),o=M(e,n);return r[0]-=i/2,o[0]-=i/2,{x:r[0],y:r[1],width:i,height:o[1]-r[1]}}function C(t){return t[0]=Vh(t[0],1),t}}}}};function UP(t,e,n,i,r,o){return n>i?-1:n0?t.get(r,e-1)<=i?1:-1:1}function ZP(t,e){var n=e.rippleEffectColor||e.color;t.eachChild((function(t){t.attr({z:e.z,zlevel:e.zlevel,style:{stroke:"stroke"===e.brushType?n:null,fill:"fill"===e.brushType?n:null}})}))}var jP=function(t){function e(e,n){var i=t.call(this)||this,r=new fS(e,n),o=new Br;return i.add(r),i.add(o),i.updateData(e,n),i}return n(e,t),e.prototype.stopEffectAnimation=function(){this.childAt(1).removeAll()},e.prototype.startEffectAnimation=function(t){for(var e=t.symbolType,n=t.color,i=t.rippleNumber,r=this.childAt(1),o=0;o0&&(o=this._getLineLength(i)/l*1e3),o!==this._period||a!==this._loop||s!==this._roundTrip){i.stopAnimation();var h=void 0;h=X(u)?u(n):u,i.__t>0&&(h=-o*i.__t),this._animateSymbol(i,o,h,a,s)}this._period=o,this._loop=a,this._roundTrip=s}},e.prototype._animateSymbol=function(t,e,n,i,r){if(e>0){t.__t=0;var o=this,a=t.animate("",i).when(r?2*e:e,{__t:r?2:1}).delay(n).during((function(){o._updateSymbolPosition(t)}));i||a.done((function(){o.remove(t)})),a.start()}},e.prototype._getLineLength=function(t){return Vt(t.__p1,t.__cp1)+Vt(t.__cp1,t.__p2)},e.prototype._updateAnimationPoints=function(t,e){t.__p1=e[0],t.__p2=e[1],t.__cp1=e[2]||[(e[0][0]+e[1][0])/2,(e[0][1]+e[1][1])/2]},e.prototype.updateData=function(t,e,n){this.childAt(0).updateData(t,e,n),this._updateEffectSymbol(t,e)},e.prototype._updateSymbolPosition=function(t){var e=t.__p1,n=t.__p2,i=t.__cp1,r=t.__t<1?t.__t:2-t.__t,o=[t.x,t.y],a=o.slice(),s=In,l=Tn;o[0]=s(e[0],i[0],n[0],r),o[1]=s(e[1],i[1],n[1],r);var u=t.__t<1?l(e[0],i[0],n[0],r):l(n[0],i[0],e[0],1-r),h=t.__t<1?l(e[1],i[1],n[1],r):l(n[1],i[1],e[1],1-r);t.rotation=-Math.atan2(h,u)-Math.PI/2,"line"!==this._symbolType&&"rect"!==this._symbolType&&"roundRect"!==this._symbolType||(void 0!==t.__lastT&&t.__lastT=0&&!(i[o]<=e);o--);o=Math.min(o,r-2)}else{for(o=a;oe);o++);o=Math.min(o-1,r-2)}var s=(e-i[o])/(i[o+1]-i[o]),l=n[o],u=n[o+1];t.x=l[0]*(1-s)+s*u[0],t.y=l[1]*(1-s)+s*u[1];var h=t.__t<1?u[0]-l[0]:l[0]-u[0],c=t.__t<1?u[1]-l[1]:l[1]-u[1];t.rotation=-Math.atan2(c,h)-Math.PI/2,this._lastFrame=o,this._lastFramePercent=e,t.ignore=!1}},e}($P),tO=function(){this.polyline=!1,this.curveness=0,this.segs=[]},eO=function(t){function e(e){var n=t.call(this,e)||this;return n._off=0,n.hoverDataIdx=-1,n}return n(e,t),e.prototype.reset=function(){this.notClear=!1,this._off=0},e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new tO},e.prototype.buildPath=function(t,e){var n,i=e.segs,r=e.curveness;if(e.polyline)for(n=this._off;n0){t.moveTo(i[n++],i[n++]);for(var a=1;a0){var c=(s+u)/2-(l-h)*r,p=(l+h)/2-(u-s)*r;t.quadraticCurveTo(c,p,u,h)}else t.lineTo(u,h)}this.incremental&&(this._off=n,this.notClear=!0)},e.prototype.findDataIndex=function(t,e){var n=this.shape,i=n.segs,r=n.curveness,o=this.style.lineWidth;if(n.polyline)for(var a=0,s=0;s0)for(var u=i[s++],h=i[s++],c=1;c0){if(ds(u,h,(u+p)/2-(h-d)*r,(h+d)/2-(p-u)*r,p,d,o,t,e))return a}else if(cs(u,h,p,d,o,t,e))return a;a++}return-1},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect();return t=n[0],e=n[1],i.contain(t,e)?(this.hoverDataIdx=this.findDataIndex(t,e))>=0:(this.hoverDataIdx=-1,!1)},e.prototype.getBoundingRect=function(){var t=this._rect;if(!t){for(var e=this.shape.segs,n=1/0,i=1/0,r=-1/0,o=-1/0,a=0;a0&&(o.dataIndex=n+t.__startIndex)}))},t.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},t}(),iO={seriesType:"lines",plan:kg(),reset:function(t){var e=t.coordinateSystem;if(e){var n=t.get("polyline"),i=t.pipelineContext.large;return{progress:function(r,o){var a=[];if(i){var s=void 0,l=r.end-r.start;if(n){for(var u=0,h=r.start;h0&&(l||s.configLayer(o,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(a/10+.9,1),0)})),r.updateData(i);var u=t.get("clip",!0)&&PS(t.coordinateSystem,!1,t);u?this.group.setClipPath(u):this.group.removeClipPath(),this._lastZlevel=o,this._finished=!0},e.prototype.incrementalPrepareRender=function(t,e,n){var i=t.getData();this._updateLineDraw(i,t).incrementalPrepareUpdate(i),this._clearLayer(n),this._finished=!1},e.prototype.incrementalRender=function(t,e,n){this._lineDraw.incrementalUpdate(t,e.getData()),this._finished=t.end===e.getData().count()},e.prototype.eachRendered=function(t){this._lineDraw&&this._lineDraw.eachRendered(t)},e.prototype.updateTransform=function(t,e,n){var i=t.getData(),r=t.pipelineContext;if(!this._finished||r.large||r.progressiveRender)return{update:!0};var o=iO.reset(t,e,n);o.progress&&o.progress({start:0,end:i.count(),count:i.count()},i),this._lineDraw.updateLayout(),this._clearLayer(n)},e.prototype._updateLineDraw=function(t,e){var n=this._lineDraw,i=this._showEffect(e),r=!!e.get("polyline"),o=e.pipelineContext.large;return n&&i===this._hasEffet&&r===this._isPolyline&&o===this._isLargeDraw||(n&&n.remove(),n=this._lineDraw=o?new nO:new YA(r?i?QP:JP:i?$P:HA),this._hasEffet=i,this._isPolyline=r,this._isLargeDraw=o),this.group.add(n.group),n},e.prototype._showEffect=function(t){return!!t.get(["effect","show"])},e.prototype._clearLayer=function(t){var e=t.getZr();"svg"===e.painter.getType()||null==this._lastZlevel||e.painter.getLayer(this._lastZlevel).clear(!0)},e.prototype.remove=function(t,e){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(e)},e.prototype.dispose=function(t,e){this.remove(t,e)},e.type="lines",e}(Og),oO="undefined"==typeof Uint32Array?Array:Uint32Array,aO="undefined"==typeof Float64Array?Array:Float64Array;function sO(t){var e=t.data;e&&e[0]&&e[0][0]&&e[0][0].coord&&(t.data=z(e,(function(t){var e={coords:[t[0].coord,t[1].coord]};return t[0].name&&(e.fromName=t[0].name),t[1].name&&(e.toName=t[1].name),D([e,t[0],t[1]])})))}var lO=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.visualStyleAccessPath="lineStyle",n.visualDrawType="stroke",n}return n(e,t),e.prototype.init=function(e){e.data=e.data||[],sO(e);var n=this._processFlatCoordsArray(e.data);this._flatCoords=n.flatCoords,this._flatCoordsOffset=n.flatCoordsOffset,n.flatCoords&&(e.data=new Float32Array(n.count)),t.prototype.init.apply(this,arguments)},e.prototype.mergeOption=function(e){if(sO(e),e.data){var n=this._processFlatCoordsArray(e.data);this._flatCoords=n.flatCoords,this._flatCoordsOffset=n.flatCoordsOffset,n.flatCoords&&(e.data=new Float32Array(n.count))}t.prototype.mergeOption.apply(this,arguments)},e.prototype.appendData=function(t){var e=this._processFlatCoordsArray(t.data);e.flatCoords&&(this._flatCoords?(this._flatCoords=vt(this._flatCoords,e.flatCoords),this._flatCoordsOffset=vt(this._flatCoordsOffset,e.flatCoordsOffset)):(this._flatCoords=e.flatCoords,this._flatCoordsOffset=e.flatCoordsOffset),t.data=new Float32Array(e.count)),this.getRawData().appendData(t.data)},e.prototype._getCoordsFromItemModel=function(t){var e=this.getData().getItemModel(t),n=e.option instanceof Array?e.option:e.getShallow("coords");return n},e.prototype.getLineCoordsCount=function(t){return this._flatCoordsOffset?this._flatCoordsOffset[2*t+1]:this._getCoordsFromItemModel(t).length},e.prototype.getLineCoords=function(t,e){if(this._flatCoordsOffset){for(var n=this._flatCoordsOffset[2*t],i=this._flatCoordsOffset[2*t+1],r=0;r ")})},e.prototype.preventIncremental=function(){return!!this.get(["effect","show"])},e.prototype.getProgressive=function(){var t=this.option.progressive;return null==t?this.option.large?1e4:this.get("progressive"):t},e.prototype.getProgressiveThreshold=function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?2e4:this.get("progressiveThreshold"):t},e.prototype.getZLevelKey=function(){var t=this.getModel("effect"),e=t.get("trailLength");return this.getData().count()>this.getProgressiveThreshold()?this.id:t.get("show")&&e>0?e+"":""},e.type="series.lines",e.dependencies=["grid","polar","geo","calendar"],e.defaultOption={coordinateSystem:"geo",z:2,legendHoverLink:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}},e}(bg);function uO(t){return t instanceof Array||(t=[t,t]),t}var hO={seriesType:"lines",reset:function(t){var e=uO(t.get("symbol")),n=uO(t.get("symbolSize")),i=t.getData();return i.setVisual("fromSymbol",e&&e[0]),i.setVisual("toSymbol",e&&e[1]),i.setVisual("fromSymbolSize",n&&n[0]),i.setVisual("toSymbolSize",n&&n[1]),{dataEach:i.hasItemOption?function(t,e){var n=t.getItemModel(e),i=uO(n.getShallow("symbol",!0)),r=uO(n.getShallow("symbolSize",!0));i[0]&&t.setItemVisual(e,"fromSymbol",i[0]),i[1]&&t.setItemVisual(e,"toSymbol",i[1]),r[0]&&t.setItemVisual(e,"fromSymbolSize",r[0]),r[1]&&t.setItemVisual(e,"toSymbolSize",r[1])}:null}}};var cO=function(){function t(){this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={inRange:null,outOfRange:null};var t=h.createCanvas();this.canvas=t}return t.prototype.update=function(t,e,n,i,r,o){var a=this._getBrush(),s=this._getGradient(r,"inRange"),l=this._getGradient(r,"outOfRange"),u=this.pointSize+this.blurSize,h=this.canvas,c=h.getContext("2d"),p=t.length;h.width=e,h.height=n;for(var d=0;d0){var I=o(v)?s:l;v>0&&(v=v*S+w),x[_++]=I[M],x[_++]=I[M+1],x[_++]=I[M+2],x[_++]=I[M+3]*v*256}else _+=4}return c.putImageData(m,0,0),h},t.prototype._getBrush=function(){var t=this._brushCanvas||(this._brushCanvas=h.createCanvas()),e=this.pointSize+this.blurSize,n=2*e;t.width=n,t.height=n;var i=t.getContext("2d");return i.clearRect(0,0,n,n),i.shadowOffsetX=n,i.shadowBlur=this.blurSize,i.shadowColor="#000",i.beginPath(),i.arc(-e,e,this.pointSize,0,2*Math.PI,!0),i.closePath(),i.fill(),t},t.prototype._getGradient=function(t,e){for(var n=this._gradientPixels,i=n[e]||(n[e]=new Uint8ClampedArray(1024)),r=[0,0,0,0],o=0,a=0;a<256;a++)t[e](a/255,!0,r),i[o++]=r[0],i[o++]=r[1],i[o++]=r[2],i[o++]=r[3];return i},t}();function pO(t){var e=t.dimensions;return"lng"===e[0]&&"lat"===e[1]}var dO=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.render=function(t,e,n){var i;e.eachComponent("visualMap",(function(e){e.eachTargetSeries((function(n){n===t&&(i=e)}))})),this._progressiveEls=null,this.group.removeAll();var r=t.coordinateSystem;"cartesian2d"===r.type||"calendar"===r.type?this._renderOnCartesianAndCalendar(t,n,0,t.getData().count()):pO(r)&&this._renderOnGeo(r,t,i,n)},e.prototype.incrementalPrepareRender=function(t,e,n){this.group.removeAll()},e.prototype.incrementalRender=function(t,e,n,i){var r=e.coordinateSystem;r&&(pO(r)?this.render(e,n,i):(this._progressiveEls=[],this._renderOnCartesianAndCalendar(e,i,t.start,t.end,!0)))},e.prototype.eachRendered=function(t){Jh(this._progressiveEls||this.group,t)},e.prototype._renderOnCartesianAndCalendar=function(t,e,n,i,r){var o,a,s,l,u=t.coordinateSystem,h=OS(u,"cartesian2d");if(h){var c=u.getAxis("x"),p=u.getAxis("y");0,o=c.getBandWidth()+.5,a=p.getBandWidth()+.5,s=c.scale.getExtent(),l=p.scale.getExtent()}for(var d=this.group,f=t.getData(),g=t.getModel(["emphasis","itemStyle"]).getItemStyle(),y=t.getModel(["blur","itemStyle"]).getItemStyle(),v=t.getModel(["select","itemStyle"]).getItemStyle(),m=t.get(["itemStyle","borderRadius"]),x=rc(t),_=t.getModel("emphasis"),b=_.get("focus"),w=_.get("blurScope"),S=_.get("disabled"),M=h?[f.mapDimension("x"),f.mapDimension("y"),f.mapDimension("value")]:[f.mapDimension("time"),f.mapDimension("value")],I=n;Is[1]||Al[1])continue;var k=u.dataToPoint([D,A]);T=new Ws({shape:{x:k[0]-o/2,y:k[1]-a/2,width:o,height:a},style:C})}else{if(isNaN(f.get(M[1],I)))continue;T=new Ws({z2:1,shape:u.dataToRect([f.get(M[0],I)]).contentShape,style:C})}if(f.hasItemOption){var L=f.getItemModel(I),P=L.getModel("emphasis");g=P.getModel("itemStyle").getItemStyle(),y=L.getModel(["blur","itemStyle"]).getItemStyle(),v=L.getModel(["select","itemStyle"]).getItemStyle(),m=L.get(["itemStyle","borderRadius"]),b=P.get("focus"),w=P.get("blurScope"),S=P.get("disabled"),x=rc(L)}T.shape.r=m;var O=t.getRawValue(I),R="-";O&&null!=O[2]&&(R=O[2]+""),ic(T,x,{labelFetcher:t,labelDataIndex:I,defaultOpacity:C.opacity,defaultText:R}),T.ensureState("emphasis").style=g,T.ensureState("blur").style=y,T.ensureState("select").style=v,Zl(T,b,w,S),T.incremental=r,r&&(T.states.emphasis.hoverLayer=!0),d.add(T),f.setItemGraphicEl(I,T),this._progressiveEls&&this._progressiveEls.push(T)}},e.prototype._renderOnGeo=function(t,e,n,i){var r=n.targetVisuals.inRange,o=n.targetVisuals.outOfRange,a=e.getData(),s=this._hmLayer||this._hmLayer||new cO;s.blurSize=e.get("blurSize"),s.pointSize=e.get("pointSize"),s.minOpacity=e.get("minOpacity"),s.maxOpacity=e.get("maxOpacity");var l=t.getViewRect().clone(),u=t.getRoamTransform();l.applyTransform(u);var h=Math.max(l.x,0),c=Math.max(l.y,0),p=Math.min(l.width+l.x,i.getWidth()),d=Math.min(l.height+l.y,i.getHeight()),f=p-h,g=d-c,y=[a.mapDimension("lng"),a.mapDimension("lat"),a.mapDimension("value")],v=a.mapArray(y,(function(e,n,i){var r=t.dataToPoint([e,n]);return r[0]-=h,r[1]-=c,r.push(i),r})),m=n.getExtent(),x="visualMap.continuous"===n.type?function(t,e){var n=t[1]-t[0];return e=[(e[0]-t[0])/n,(e[1]-t[0])/n],function(t){return t>=e[0]&&t<=e[1]}}(m,n.option.range):function(t,e,n){var i=t[1]-t[0],r=(e=z(e,(function(e){return{interval:[(e.interval[0]-t[0])/i,(e.interval[1]-t[0])/i]}}))).length,o=0;return function(t){var i;for(i=o;i=0;i--){var a;if((a=e[i].interval)[0]<=t&&t<=a[1]){o=i;break}}return i>=0&&i=0?1:-1:o>0?1:-1}(n,o,r,i,c),function(t,e,n,i,r,o,a,s,l,u){var h,c=l.valueDim,p=l.categoryDim,d=Math.abs(n[p.wh]),f=t.getItemVisual(e,"symbolSize");h=Y(f)?f.slice():null==f?["100%","100%"]:[f,f];h[p.index]=$r(h[p.index],d),h[c.index]=$r(h[c.index],i?d:Math.abs(o)),u.symbolSize=h;var g=u.symbolScale=[h[0]/s,h[1]/s];g[c.index]*=(l.isHorizontal?-1:1)*a}(t,e,r,o,0,c.boundingLength,c.pxSign,u,i,c),function(t,e,n,i,r){var o=t.get(gO)||0;o&&(vO.attr({scaleX:e[0],scaleY:e[1],rotation:n}),vO.updateTransform(),o/=vO.getLineScale(),o*=e[i.valueDim.index]);r.valueLineWidth=o||0}(n,c.symbolScale,l,i,c);var p=c.symbolSize,d=Zy(n.get("symbolOffset"),p);return function(t,e,n,i,r,o,a,s,l,u,h,c){var p=h.categoryDim,d=h.valueDim,f=c.pxSign,g=Math.max(e[d.index]+s,0),y=g;if(i){var v=Math.abs(l),m=it(t.get("symbolMargin"),"15%")+"",x=!1;m.lastIndexOf("!")===m.length-1&&(x=!0,m=m.slice(0,m.length-1));var _=$r(m,e[d.index]),b=Math.max(g+2*_,0),w=x?0:2*_,S=vo(i),M=S?i:NO((v+w)/b);b=g+2*(_=(v-M*g)/2/(x?M:Math.max(M-1,1))),w=x?0:2*_,S||"fixed"===i||(M=u?NO((Math.abs(u)+w)/b):0),y=M*b-w,c.repeatTimes=M,c.symbolMargin=_}var I=f*(y/2),T=c.pathPosition=[];T[p.index]=n[p.wh]/2,T[d.index]="start"===a?I:"end"===a?l-I:l/2,o&&(T[0]+=o[0],T[1]+=o[1]);var C=c.bundlePosition=[];C[p.index]=n[p.xy],C[d.index]=n[d.xy];var D=c.barRectShape=A({},n);D[d.wh]=f*Math.max(Math.abs(n[d.wh]),Math.abs(T[d.index]+I)),D[p.wh]=n[p.wh];var k=c.clipShape={};k[p.xy]=-n[p.xy],k[p.wh]=h.ecSize[p.wh],k[d.xy]=0,k[d.wh]=n[d.wh]}(n,p,r,o,0,d,s,c.valueLineWidth,c.boundingLength,c.repeatCutLength,i,c),c}function _O(t,e){return t.toGlobalCoord(t.dataToCoord(t.scale.parse(e)))}function bO(t){var e=t.symbolPatternSize,n=Xy(t.symbolType,-e/2,-e/2,e,e);return n.attr({culling:!0}),"image"!==n.type&&n.setStyle({strokeNoScale:!0}),n}function wO(t,e,n,i){var r=t.__pictorialBundle,o=n.symbolSize,a=n.valueLineWidth,s=n.pathPosition,l=e.valueDim,u=n.repeatTimes||0,h=0,c=o[e.valueDim.index]+a+2*n.symbolMargin;for(PO(t,(function(t){t.__pictorialAnimationIndex=h,t.__pictorialRepeatTimes=u,h0:i<0)&&(r=u-1-t),e[l.index]=c*(r-u/2+.5)+s[l.index],{x:e[0],y:e[1],scaleX:n.symbolScale[0],scaleY:n.symbolScale[1],rotation:n.rotation}}}function SO(t,e,n,i){var r=t.__pictorialBundle,o=t.__pictorialMainPath;o?OO(o,null,{x:n.pathPosition[0],y:n.pathPosition[1],scaleX:n.symbolScale[0],scaleY:n.symbolScale[1],rotation:n.rotation},n,i):(o=t.__pictorialMainPath=bO(n),r.add(o),OO(o,{x:n.pathPosition[0],y:n.pathPosition[1],scaleX:0,scaleY:0,rotation:n.rotation},{scaleX:n.symbolScale[0],scaleY:n.symbolScale[1]},n,i))}function MO(t,e,n){var i=A({},e.barRectShape),r=t.__pictorialBarRect;r?OO(r,null,{shape:i},e,n):((r=t.__pictorialBarRect=new Ws({z2:2,shape:i,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}})).disableMorphing=!0,t.add(r))}function IO(t,e,n,i){if(n.symbolClip){var r=t.__pictorialClipPath,o=A({},n.clipShape),a=e.valueDim,s=n.animationModel,l=n.dataIndex;if(r)vh(r,{shape:o},s,l);else{o[a.wh]=0,r=new Ws({shape:o}),t.__pictorialBundle.setClipPath(r),t.__pictorialClipPath=r;var u={};u[a.wh]=n.clipShape[a.wh],Qh[i?"updateProps":"initProps"](r,{shape:u},s,l)}}}function TO(t,e){var n=t.getItemModel(e);return n.getAnimationDelayParams=CO,n.isAnimationEnabled=DO,n}function CO(t){return{index:t.__pictorialAnimationIndex,count:t.__pictorialRepeatTimes}}function DO(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function AO(t,e,n,i){var r=new Br,o=new Br;return r.add(o),r.__pictorialBundle=o,o.x=n.bundlePosition[0],o.y=n.bundlePosition[1],n.symbolRepeat?wO(r,e,n):SO(r,0,n),MO(r,n,i),IO(r,e,n,i),r.__pictorialShapeStr=LO(t,n),r.__pictorialSymbolMeta=n,r}function kO(t,e,n,i){var r=i.__pictorialBarRect;r&&r.removeTextContent();var o=[];PO(i,(function(t){o.push(t)})),i.__pictorialMainPath&&o.push(i.__pictorialMainPath),i.__pictorialClipPath&&(n=null),E(o,(function(t){_h(t,{scaleX:0,scaleY:0},n,e,(function(){i.parent&&i.parent.remove(i)}))})),t.setItemGraphicEl(e,null)}function LO(t,e){return[t.getItemVisual(e.dataIndex,"symbol")||"none",!!e.symbolRepeat,!!e.symbolClip].join(":")}function PO(t,e,n){E(t.__pictorialBundle.children(),(function(i){i!==t.__pictorialBarRect&&e.call(n,i)}))}function OO(t,e,n,i,r,o){e&&t.attr(e),i.symbolClip&&!r?n&&t.attr(n):n&&Qh[r?"updateProps":"initProps"](t,n,i.animationModel,i.dataIndex,o)}function RO(t,e,n){var i=n.dataIndex,r=n.itemModel,o=r.getModel("emphasis"),a=o.getModel("itemStyle").getItemStyle(),s=r.getModel(["blur","itemStyle"]).getItemStyle(),l=r.getModel(["select","itemStyle"]).getItemStyle(),u=r.getShallow("cursor"),h=o.get("focus"),c=o.get("blurScope"),p=o.get("scale");PO(t,(function(t){if(t instanceof Ns){var e=t.style;t.useStyle(A({image:e.image,x:e.x,y:e.y,width:e.width,height:e.height},n.style))}else t.useStyle(n.style);var i=t.ensureState("emphasis");i.style=a,p&&(i.scaleX=1.1*t.scaleX,i.scaleY=1.1*t.scaleY),t.ensureState("blur").style=s,t.ensureState("select").style=l,u&&(t.cursor=u),t.z2=n.z2}));var d=e.valueDim.posDesc[+(n.boundingLength>0)],f=t.__pictorialBarRect;f.ignoreClip=!0,ic(f,rc(r),{labelFetcher:e.seriesModel,labelDataIndex:i,defaultText:pS(e.seriesModel.getData(),i),inheritColor:n.style.fill,defaultOpacity:n.style.opacity,defaultOutsidePosition:d}),Zl(t,h,c,o.get("disabled"))}function NO(t){var e=Math.round(t);return Math.abs(t-e)<1e-4?e:Math.ceil(t)}var EO=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n.defaultSymbol="roundRect",n}return n(e,t),e.prototype.getInitialData=function(e){return e.stack=null,t.prototype.getInitialData.apply(this,arguments)},e.type="series.pictorialBar",e.dependencies=["grid"],e.defaultOption=kc(qS.defaultOption,{symbol:"circle",symbolSize:null,symbolRotate:null,symbolPosition:null,symbolOffset:null,symbolMargin:null,symbolRepeat:!1,symbolRepeatDirection:"end",symbolClip:!1,symbolBoundingData:null,symbolPatternSize:400,barGap:"-100%",clip:!1,progressive:0,emphasis:{scale:!1},select:{itemStyle:{borderColor:"#212121"}}}),e}(qS);var zO=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._layers=[],n}return n(e,t),e.prototype.render=function(t,e,n){var i=t.getData(),r=this,o=this.group,a=t.getLayerSeries(),s=i.getLayout("layoutInfo"),l=s.rect,u=s.boundaryGap;function h(t){return t.name}o.x=0,o.y=l.y+u[0];var c=new Gm(this._layersSeries||[],a,h,h),p=[];function d(e,n,s){var l=r._layers;if("remove"!==e){for(var u,h,c=[],d=[],f=a[n].indices,g=0;go&&(o=s),i.push(s)}for(var u=0;uo&&(o=c)}return{y0:r,max:o}}(l),h=u.y0,c=n/u.max,p=o.length,d=o[0].indices.length,f=0;fI&&!so(C-I)&&C0?(r.virtualPiece?r.virtualPiece.updateData(!1,i,t,e,n):(r.virtualPiece=new GO(i,t,e,n),l.add(r.virtualPiece)),o.piece.off("click"),r.virtualPiece.on("click",(function(t){r._rootToNode(o.parentNode)}))):r.virtualPiece&&(l.remove(r.virtualPiece),r.virtualPiece=null)}(a,s),this._initEvents(),this._oldChildren=h},e.prototype._initEvents=function(){var t=this;this.group.off("click"),this.group.on("click",(function(e){var n=!1;t.seriesModel.getViewRoot().eachNode((function(i){if(!n&&i.piece&&i.piece===e.target){var r=i.getModel().get("nodeClick");if("rootToNode"===r)t._rootToNode(i);else if("link"===r){var o=i.getModel(),a=o.get("link");if(a)Mp(a,o.get("target",!0)||"_blank")}n=!0}}))}))},e.prototype._rootToNode=function(t){t!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:WO,from:this.uid,seriesId:this.seriesModel.id,targetNode:t})},e.prototype.containPoint=function(t,e){var n=e.getData().getItemLayout(0);if(n){var i=t[0]-n.cx,r=t[1]-n.cy,o=Math.sqrt(i*i+r*r);return o<=n.r&&o>=n.r0}},e.type="sunburst",e}(Og),XO=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.ignoreStyleOnData=!0,n}return n(e,t),e.prototype.getInitialData=function(t,e){var n={name:t.name,children:t.data};UO(n);var i=this._levelModels=z(t.levels||[],(function(t){return new Cc(t,this,e)}),this),r=nD.createTree(n,this,(function(t){t.wrapMethod("getItemModel",(function(t,e){var n=r.getNodeByDataIndex(e),o=i[n.depth];return o&&(t.parentModel=o),t}))}));return r.data},e.prototype.optionUpdated=function(){this.resetViewRoot()},e.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(e);return n.treePathInfo=aD(i,this),n},e.prototype.getLevelModel=function(t){return this._levelModels&&this._levelModels[t.depth]},e.prototype.getViewRoot=function(){return this._viewRoot},e.prototype.resetViewRoot=function(t){t?this._viewRoot=t:t=this._viewRoot;var e=this.getRawData().tree.root;t&&(t===e||e.contains(t))||(this._viewRoot=e)},e.prototype.enableAriaDecal=function(){pD(this)},e.type="series.sunburst",e.defaultOption={z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,stillShowZeroSum:!0,nodeClick:"rootToNode",renderLabelForZeroData:!1,label:{rotate:"radial",show:!0,opacity:1,align:"center",position:"inside",distance:5,silent:!0},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1},emphasis:{focus:"descendant"},blur:{itemStyle:{opacity:.2},label:{opacity:.1}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,data:[],sort:"desc"},e}(bg);function UO(t){var e=0;E(t.children,(function(t){UO(t);var n=t.value;Y(n)&&(n=n[0]),e+=n}));var n=t.value;Y(n)&&(n=n[0]),(null==n||isNaN(n))&&(n=e),n<0&&(n=0),Y(t.value)?t.value[0]=n:t.value=n}var ZO=Math.PI/180;function jO(t,e,n){e.eachSeriesByType(t,(function(t){var e=t.get("center"),i=t.get("radius");Y(i)||(i=[0,i]),Y(e)||(e=[e,e]);var r=n.getWidth(),o=n.getHeight(),a=Math.min(r,o),s=$r(e[0],r),l=$r(e[1],o),u=$r(i[0],a/2),h=$r(i[1],a/2),c=-t.get("startAngle")*ZO,p=t.get("minAngle")*ZO,d=t.getData().tree.root,f=t.getViewRoot(),g=f.depth,y=t.get("sort");null!=y&&qO(f,y);var v=0;E(f.children,(function(t){!isNaN(t.getValue())&&v++}));var m=f.getValue(),x=Math.PI/(m||v)*2,_=f.depth>0,b=f.height-(_?-1:1),w=(h-u)/(b||1),S=t.get("clockwise"),M=t.get("stillShowZeroSum"),I=S?1:-1,T=function(e,n){if(e){var i=n;if(e!==d){var r=e.getValue(),o=0===m&&M?x:r*x;o1;)r=r.parentNode;var o=n.getColorFromPalette(r.name||r.dataIndex+"",e);return t.depth>1&&U(o)&&(o=$n(o,(t.depth-1)/(i-1)*.5)),o}(r,t,i.root.height)),A(n.ensureUniqueItemVisual(r.dataIndex,"style"),o)}))}))}var $O={color:"fill",borderColor:"stroke"},JO={symbol:1,symbolSize:1,symbolKeepAspect:1,legendIcon:1,visualMeta:1,liftZ:1,decal:1},QO=Vo(),tR=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.optionUpdated=function(){this.currentZLevel=this.get("zlevel",!0),this.currentZ=this.get("z",!0)},e.prototype.getInitialData=function(t,e){return _x(null,this)},e.prototype.getDataParams=function(e,n,i){var r=t.prototype.getDataParams.call(this,e,n);return i&&(r.info=QO(i).info),r},e.type="series.custom",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,clip:!1},e}(bg);function eR(t,e){return e=e||[0,0],z(["x","y"],(function(n,i){var r=this.getAxis(n),o=e[i],a=t[i]/2;return"category"===r.type?r.getBandWidth():Math.abs(r.dataToCoord(o-a)-r.dataToCoord(o+a))}),this)}function nR(t,e){return e=e||[0,0],z([0,1],(function(n){var i=e[n],r=t[n]/2,o=[],a=[];return o[n]=i-r,a[n]=i+r,o[1-n]=a[1-n]=e[1-n],Math.abs(this.dataToPoint(o)[n]-this.dataToPoint(a)[n])}),this)}function iR(t,e){var n=this.getAxis(),i=e instanceof Array?e[0]:e,r=(t instanceof Array?t[0]:t)/2;return"category"===n.type?n.getBandWidth():Math.abs(n.dataToCoord(i-r)-n.dataToCoord(i+r))}function rR(t,e){return e=e||[0,0],z(["Radius","Angle"],(function(n,i){var r=this["get"+n+"Axis"](),o=e[i],a=t[i]/2,s="category"===r.type?r.getBandWidth():Math.abs(r.dataToCoord(o-a)-r.dataToCoord(o+a));return"Angle"===n&&(s=s*Math.PI/180),s}),this)}function oR(t,e,n,i){return t&&(t.legacy||!1!==t.legacy&&!n&&!i&&"tspan"!==e&&("text"===e||_t(t,"text")))}function aR(t,e,n){var i,r,o,a=t;if("text"===e)o=a;else{o={},_t(a,"text")&&(o.text=a.text),_t(a,"rich")&&(o.rich=a.rich),_t(a,"textFill")&&(o.fill=a.textFill),_t(a,"textStroke")&&(o.stroke=a.textStroke),_t(a,"fontFamily")&&(o.fontFamily=a.fontFamily),_t(a,"fontSize")&&(o.fontSize=a.fontSize),_t(a,"fontStyle")&&(o.fontStyle=a.fontStyle),_t(a,"fontWeight")&&(o.fontWeight=a.fontWeight),r={type:"text",style:o,silent:!0},i={};var s=_t(a,"textPosition");n?i.position=s?a.textPosition:"inside":s&&(i.position=a.textPosition),_t(a,"textPosition")&&(i.position=a.textPosition),_t(a,"textOffset")&&(i.offset=a.textOffset),_t(a,"textRotation")&&(i.rotation=a.textRotation),_t(a,"textDistance")&&(i.distance=a.textDistance)}return sR(o,t),E(o.rich,(function(t){sR(t,t)})),{textConfig:i,textContent:r}}function sR(t,e){e&&(e.font=e.textFont||e.font,_t(e,"textStrokeWidth")&&(t.lineWidth=e.textStrokeWidth),_t(e,"textAlign")&&(t.align=e.textAlign),_t(e,"textVerticalAlign")&&(t.verticalAlign=e.textVerticalAlign),_t(e,"textLineHeight")&&(t.lineHeight=e.textLineHeight),_t(e,"textWidth")&&(t.width=e.textWidth),_t(e,"textHeight")&&(t.height=e.textHeight),_t(e,"textBackgroundColor")&&(t.backgroundColor=e.textBackgroundColor),_t(e,"textPadding")&&(t.padding=e.textPadding),_t(e,"textBorderColor")&&(t.borderColor=e.textBorderColor),_t(e,"textBorderWidth")&&(t.borderWidth=e.textBorderWidth),_t(e,"textBorderRadius")&&(t.borderRadius=e.textBorderRadius),_t(e,"textBoxShadowColor")&&(t.shadowColor=e.textBoxShadowColor),_t(e,"textBoxShadowBlur")&&(t.shadowBlur=e.textBoxShadowBlur),_t(e,"textBoxShadowOffsetX")&&(t.shadowOffsetX=e.textBoxShadowOffsetX),_t(e,"textBoxShadowOffsetY")&&(t.shadowOffsetY=e.textBoxShadowOffsetY))}function lR(t,e,n){var i=t;i.textPosition=i.textPosition||n.position||"inside",null!=n.offset&&(i.textOffset=n.offset),null!=n.rotation&&(i.textRotation=n.rotation),null!=n.distance&&(i.textDistance=n.distance);var r=i.textPosition.indexOf("inside")>=0,o=t.fill||"#000";uR(i,e);var a=null==i.textFill;return r?a&&(i.textFill=n.insideFill||"#fff",!i.textStroke&&n.insideStroke&&(i.textStroke=n.insideStroke),!i.textStroke&&(i.textStroke=o),null==i.textStrokeWidth&&(i.textStrokeWidth=2)):(a&&(i.textFill=t.fill||n.outsideFill||"#000"),!i.textStroke&&n.outsideStroke&&(i.textStroke=n.outsideStroke)),i.text=e.text,i.rich=e.rich,E(e.rich,(function(t){uR(t,t)})),i}function uR(t,e){e&&(_t(e,"fill")&&(t.textFill=e.fill),_t(e,"stroke")&&(t.textStroke=e.fill),_t(e,"lineWidth")&&(t.textStrokeWidth=e.lineWidth),_t(e,"font")&&(t.font=e.font),_t(e,"fontStyle")&&(t.fontStyle=e.fontStyle),_t(e,"fontWeight")&&(t.fontWeight=e.fontWeight),_t(e,"fontSize")&&(t.fontSize=e.fontSize),_t(e,"fontFamily")&&(t.fontFamily=e.fontFamily),_t(e,"align")&&(t.textAlign=e.align),_t(e,"verticalAlign")&&(t.textVerticalAlign=e.verticalAlign),_t(e,"lineHeight")&&(t.textLineHeight=e.lineHeight),_t(e,"width")&&(t.textWidth=e.width),_t(e,"height")&&(t.textHeight=e.height),_t(e,"backgroundColor")&&(t.textBackgroundColor=e.backgroundColor),_t(e,"padding")&&(t.textPadding=e.padding),_t(e,"borderColor")&&(t.textBorderColor=e.borderColor),_t(e,"borderWidth")&&(t.textBorderWidth=e.borderWidth),_t(e,"borderRadius")&&(t.textBorderRadius=e.borderRadius),_t(e,"shadowColor")&&(t.textBoxShadowColor=e.shadowColor),_t(e,"shadowBlur")&&(t.textBoxShadowBlur=e.shadowBlur),_t(e,"shadowOffsetX")&&(t.textBoxShadowOffsetX=e.shadowOffsetX),_t(e,"shadowOffsetY")&&(t.textBoxShadowOffsetY=e.shadowOffsetY),_t(e,"textShadowColor")&&(t.textShadowColor=e.textShadowColor),_t(e,"textShadowBlur")&&(t.textShadowBlur=e.textShadowBlur),_t(e,"textShadowOffsetX")&&(t.textShadowOffsetX=e.textShadowOffsetX),_t(e,"textShadowOffsetY")&&(t.textShadowOffsetY=e.textShadowOffsetY))}var hR={position:["x","y"],scale:["scaleX","scaleY"],origin:["originX","originY"]},cR=G(hR),pR=(V(mr,(function(t,e){return t[e]=1,t}),{}),mr.join(", "),["","style","shape","extra"]),dR=Vo();function fR(t,e,n,i,r){var o=t+"Animation",a=gh(t,i,r)||{},s=dR(e).userDuring;return a.duration>0&&(a.during=s?W(bR,{el:e,userDuring:s}):null,a.setToFinal=!0,a.scope=t),A(a,n[o]),a}function gR(t,e,n,i){var r=(i=i||{}).dataIndex,o=i.isInit,a=i.clearStyle,s=n.isAnimationEnabled(),l=dR(t),u=e.style;l.userDuring=e.during;var h={},c={};if(function(t,e,n){for(var i=0;i=0)){var c=t.getAnimationStyleProps(),p=c?c.style:null;if(p){!r&&(r=i.style={});var d=G(n);for(u=0;u0&&t.animateFrom(p,d)}else!function(t,e,n,i,r){if(r){var o=fR("update",t,e,i,n);o.duration>0&&t.animateFrom(r,o)}}(t,e,r||0,n,h);yR(t,e),u?t.dirty():t.markRedraw()}function yR(t,e){for(var n=dR(t).leaveToProps,i=0;i=0){!o&&(o=i[t]={});var p=G(a);for(h=0;hi[1]&&i.reverse(),{coordSys:{type:"polar",cx:t.cx,cy:t.cy,r:i[1],r0:i[0]},api:{coord:function(i){var r=e.dataToRadius(i[0]),o=n.dataToAngle(i[1]),a=t.coordToPoint([r,o]);return a.push(r,o*Math.PI/180),a},size:W(rR,t)}}},calendar:function(t){var e=t.getRect(),n=t.getRangeInfo();return{coordSys:{type:"calendar",x:e.x,y:e.y,width:e.width,height:e.height,cellWidth:t.getCellWidth(),cellHeight:t.getCellHeight(),rangeInfo:{start:n.start,end:n.end,weeks:n.weeks,dayCount:n.allDay}},api:{coord:function(e,n){return t.dataToPoint(e,n)}}}}};function BR(t){return t instanceof ks}function FR(t){return t instanceof Da}var GR=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.render=function(t,e,n,i){this._progressiveEls=null;var r=this._data,o=t.getData(),a=this.group,s=UR(t,o,e,n);r||a.removeAll(),o.diff(r).add((function(e){jR(n,null,e,s(e,i),t,a,o)})).remove((function(e){var n=r.getItemGraphicEl(e);n&&vR(n,QO(n).option,t)})).update((function(e,l){var u=r.getItemGraphicEl(l);jR(n,u,e,s(e,i),t,a,o)})).execute();var l=t.get("clip",!0)?PS(t.coordinateSystem,!1,t):null;l?a.setClipPath(l):a.removeClipPath(),this._data=o},e.prototype.incrementalPrepareRender=function(t,e,n){this.group.removeAll(),this._data=null},e.prototype.incrementalRender=function(t,e,n,i,r){var o=e.getData(),a=UR(e,o,n,i),s=this._progressiveEls=[];function l(t){t.isGroup||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}for(var u=t.start;u=0?e.getStore().get(r,n):void 0}var o=e.get(i.name,n),a=i&&i.ordinalMeta;return a?a.categories[o]:o},styleEmphasis:function(n,i){0;null==i&&(i=s);var r=m(i,AR).getItemStyle(),o=x(i,AR),a=oc(o,null,null,!0,!0);a.text=o.getShallow("show")?ot(t.getFormattedLabel(i,AR),t.getFormattedLabel(i,kR),pS(e,i)):null;var l=ac(o,null,!0);return b(n,r),r=lR(r,a,l),n&&_(r,n),r.legacy=!0,r},visual:function(t,n){if(null==n&&(n=s),_t($O,t)){var i=e.getItemVisual(n,"style");return i?i[$O[t]]:null}if(_t(JO,t))return e.getItemVisual(n,t)},barLayout:function(t){if("cartesian2d"===o.type){return function(t){var e=[],n=t.axis,i="axis0";if("category"===n.type){for(var r=n.getBandWidth(),o=0;o=c;f--){var g=e.childAt(f);tN(e,g,r)}}(t,c,n,i,r),a>=0?o.replaceAt(c,a):o.add(c),c}function KR(t,e,n){var i,r=QO(t),o=e.type,a=e.shape,s=e.style;return n.isUniversalTransitionEnabled()||null!=o&&o!==r.customGraphicType||"path"===o&&((i=a)&&(_t(i,"pathData")||_t(i,"d")))&&rN(a)!==r.customPathData||"image"===o&&_t(s,"image")&&s.image!==r.customImagePath}function $R(t,e,n){var i=e?JR(t,e):t,r=e?QR(t,i,AR):t.style,o=t.type,a=i?i.textConfig:null,s=t.textContent,l=s?e?JR(s,e):s:null;if(r&&(n.isLegacy||oR(r,o,!!a,!!l))){n.isLegacy=!0;var u=aR(r,o,!e);!a&&u.textConfig&&(a=u.textConfig),!l&&u.textContent&&(l=u.textContent)}if(!e&&l){var h=l;!h.type&&(h.type="text")}var c=e?n[e]:n.normal;c.cfg=a,c.conOpt=l}function JR(t,e){return e?t?t[e]:null:t}function QR(t,e,n){var i=e&&e.style;return null==i&&n===AR&&t&&(i=t.styleEmphasis),i}function tN(t,e,n){e&&vR(e,QO(t).option,n)}function eN(t,e){var n=t&&t.name;return null!=n?n:"e\0\0"+e}function nN(t,e){var n=this.context,i=null!=t?n.newChildren[t]:null,r=null!=e?n.oldChildren[e]:null;qR(n.api,r,n.dataIndex,i,n.seriesModel,n.group)}function iN(t){var e=this.context,n=e.oldChildren[t];n&&vR(n,QO(n).option,e.seriesModel)}function rN(t){return t&&(t.pathData||t.d)}var oN=Vo(),aN=T,sN=W,lN=function(){function t(){this._dragging=!1,this.animationThreshold=15}return t.prototype.render=function(t,e,n,i){var r=e.get("value"),o=e.get("status");if(this._axisModel=t,this._axisPointerModel=e,this._api=n,i||this._lastValue!==r||this._lastStatus!==o){this._lastValue=r,this._lastStatus=o;var a=this._group,s=this._handle;if(!o||"hide"===o)return a&&a.hide(),void(s&&s.hide());a&&a.show(),s&&s.show();var l={};this.makeElOption(l,r,t,e,n);var u=l.graphicKey;u!==this._lastGraphicKey&&this.clear(n),this._lastGraphicKey=u;var h=this._moveAnimation=this.determineAnimation(t,e);if(a){var c=H(uN,e,h);this.updatePointerEl(a,l,c),this.updateLabelEl(a,l,c,e)}else a=this._group=new Br,this.createPointerEl(a,l,t,e),this.createLabelEl(a,l,t,e),n.getZr().add(a);dN(a,e,!0),this._renderHandle(r)}},t.prototype.remove=function(t){this.clear(t)},t.prototype.dispose=function(t){this.clear(t)},t.prototype.determineAnimation=function(t,e){var n=e.get("animation"),i=t.axis,r="category"===i.type,o=e.get("snap");if(!o&&!r)return!1;if("auto"===n||null==n){var a=this.animationThreshold;if(r&&i.getBandWidth()>a)return!0;if(o){var s=wI(t).seriesDataCount,l=i.getExtent();return Math.abs(l[0]-l[1])/s>a}return!1}return!0===n},t.prototype.makeElOption=function(t,e,n,i,r){},t.prototype.createPointerEl=function(t,e,n,i){var r=e.pointer;if(r){var o=oN(t).pointerEl=new Qh[r.type](aN(e.pointer));t.add(o)}},t.prototype.createLabelEl=function(t,e,n,i){if(e.label){var r=oN(t).labelEl=new Xs(aN(e.label));t.add(r),cN(r,i)}},t.prototype.updatePointerEl=function(t,e,n){var i=oN(t).pointerEl;i&&e.pointer&&(i.setStyle(e.pointer.style),n(i,{shape:e.pointer.shape}))},t.prototype.updateLabelEl=function(t,e,n,i){var r=oN(t).labelEl;r&&(r.setStyle(e.label.style),n(r,{x:e.label.x,y:e.label.y}),cN(r,i))},t.prototype._renderHandle=function(t){if(!this._dragging&&this.updateHandleTransform){var e,n=this._axisPointerModel,i=this._api.getZr(),r=this._handle,o=n.getModel("handle"),a=n.get("status");if(!o.get("show")||!a||"hide"===a)return r&&i.remove(r),void(this._handle=null);this._handle||(e=!0,r=this._handle=Uh(o.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){de(t.event)},onmousedown:sN(this._onHandleDragMove,this,0,0),drift:sN(this._onHandleDragMove,this),ondragend:sN(this._onHandleDragEnd,this)}),i.add(r)),dN(r,n,!1),r.setStyle(o.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var s=o.get("size");Y(s)||(s=[s,s]),r.scaleX=s[0]/2,r.scaleY=s[1]/2,Hg(this,"_doDispatchAxisPointer",o.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,e)}},t.prototype._moveHandleToValue=function(t,e){uN(this._axisPointerModel,!e&&this._moveAnimation,this._handle,pN(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},t.prototype._onHandleDragMove=function(t,e){var n=this._handle;if(n){this._dragging=!0;var i=this.updateHandleTransform(pN(n),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=i,n.stopAnimation(),n.attr(pN(i)),oN(n).lastProp=null,this._doDispatchAxisPointer()}},t.prototype._doDispatchAxisPointer=function(){if(this._handle){var t=this._payloadInfo,e=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:t.cursorPoint[0],y:t.cursorPoint[1],tooltipOption:t.tooltipOption,axesInfo:[{axisDim:e.axis.dim,axisIndex:e.componentIndex}]})}},t.prototype._onHandleDragEnd=function(){if(this._dragging=!1,this._handle){var t=this._axisPointerModel.get("value");this._moveHandleToValue(t),this._api.dispatchAction({type:"hideTip"})}},t.prototype.clear=function(t){this._lastValue=null,this._lastStatus=null;var e=t.getZr(),n=this._group,i=this._handle;e&&n&&(this._lastGraphicKey=null,n&&e.remove(n),i&&e.remove(i),this._group=null,this._handle=null,this._payloadInfo=null),Yg(this,"_doDispatchAxisPointer")},t.prototype.doClear=function(){},t.prototype.buildLabel=function(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}},t}();function uN(t,e,n,i){hN(oN(n).lastProp,i)||(oN(n).lastProp=i,e?vh(n,i,t):(n.stopAnimation(),n.attr(i)))}function hN(t,e){if(q(t)&&q(e)){var n=!0;return E(e,(function(e,i){n=n&&hN(t[i],e)})),!!n}return t===e}function cN(t,e){t[e.get(["label","show"])?"show":"hide"]()}function pN(t){return{x:t.x||0,y:t.y||0,rotation:t.rotation||0}}function dN(t,e,n){var i=e.get("z"),r=e.get("zlevel");t&&t.traverse((function(t){"group"!==t.type&&(null!=i&&(t.z=i),null!=r&&(t.zlevel=r),t.silent=n)}))}function fN(t){var e,n=t.get("type"),i=t.getModel(n+"Style");return"line"===n?(e=i.getLineStyle()).fill=null:"shadow"===n&&((e=i.getAreaStyle()).stroke=null),e}function gN(t,e,n,i,r){var o=yN(n.get("value"),e.axis,e.ecModel,n.get("seriesDataIndices"),{precision:n.get(["label","precision"]),formatter:n.get(["label","formatter"])}),a=n.getModel("label"),s=vp(a.get("padding")||0),l=a.getFont(),u=Sr(o,l),h=r.position,c=u.width+s[1]+s[3],p=u.height+s[0]+s[2],d=r.align;"right"===d&&(h[0]-=c),"center"===d&&(h[0]-=c/2);var f=r.verticalAlign;"bottom"===f&&(h[1]-=p),"middle"===f&&(h[1]-=p/2),function(t,e,n,i){var r=i.getWidth(),o=i.getHeight();t[0]=Math.min(t[0]+e,r)-e,t[1]=Math.min(t[1]+n,o)-n,t[0]=Math.max(t[0],0),t[1]=Math.max(t[1],0)}(h,c,p,i);var g=a.get("backgroundColor");g&&"auto"!==g||(g=e.get(["axisLine","lineStyle","color"])),t.label={x:h[0],y:h[1],style:oc(a,{text:o,font:l,fill:a.getTextColor(),padding:s,backgroundColor:g}),z2:10}}function yN(t,e,n,i,r){t=e.scale.parse(t);var o=e.scale.getLabel({value:t},{precision:r.precision}),a=r.formatter;if(a){var s={value:S_(e,{value:t}),axisDimension:e.dim,axisIndex:e.index,seriesData:[]};E(i,(function(t){var e=n.getSeriesByIndex(t.seriesIndex),i=t.dataIndexInside,r=e&&e.getDataParams(i);r&&s.seriesData.push(r)})),U(a)?o=a.replace("{value}",o):X(a)&&(o=a(s))}return o}function vN(t,e,n){var i=[1,0,0,1,0,0];return Se(i,i,n.rotation),we(i,i,n.position),Fh([t.dataToCoord(e),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],i)}function mN(t,e,n,i,r,o){var a=dI.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=r.get(["label","margin"]),gN(e,i,r,o,{position:vN(i.axis,t,n),align:a.textAlign,verticalAlign:a.textVerticalAlign})}function xN(t,e,n){return{x1:t[n=n||0],y1:t[1-n],x2:e[n],y2:e[1-n]}}function _N(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}}function bN(t,e,n,i,r,o){return{cx:t,cy:e,r0:n,r:i,startAngle:r,endAngle:o,clockwise:!0}}var wN=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.makeElOption=function(t,e,n,i,r){var o=n.axis,a=o.grid,s=i.get("type"),l=SN(a,o).getOtherAxis(o).getGlobalExtent(),u=o.toGlobalCoord(o.dataToCoord(e,!0));if(s&&"none"!==s){var h=fN(i),c=MN[s](o,u,l);c.style=h,t.graphicKey=c.type,t.pointer=c}mN(e,t,iI(a.model,n),n,i,r)},e.prototype.getHandleTransform=function(t,e,n){var i=iI(e.axis.grid.model,e,{labelInside:!1});i.labelMargin=n.get(["handle","margin"]);var r=vN(e.axis,t,i);return{x:r[0],y:r[1],rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},e.prototype.updateHandleTransform=function(t,e,n,i){var r=n.axis,o=r.grid,a=r.getGlobalExtent(!0),s=SN(o,r).getOtherAxis(r).getGlobalExtent(),l="x"===r.dim?0:1,u=[t.x,t.y];u[l]+=e[l],u[l]=Math.min(a[1],u[l]),u[l]=Math.max(a[0],u[l]);var h=(s[1]+s[0])/2,c=[h,h];c[l]=u[l];return{x:u[0],y:u[1],rotation:t.rotation,cursorPoint:c,tooltipOption:[{verticalAlign:"middle"},{align:"center"}][l]}},e}(lN);function SN(t,e){var n={};return n[e.dim+"AxisIndex"]=e.index,t.getCartesian(n)}var MN={line:function(t,e,n){return{type:"Line",subPixelOptimize:!0,shape:xN([e,n[0]],[e,n[1]],IN(t))}},shadow:function(t,e,n){var i=Math.max(1,t.getBandWidth()),r=n[1]-n[0];return{type:"Rect",shape:_N([e-i/2,n[0]],[i,r],IN(t))}}};function IN(t){return"x"===t.dim?0:1}var TN=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.type="axisPointer",e.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,triggerEmphasis:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#B9BEC9",width:1,type:"dashed"},shadowStyle:{color:"rgba(210,219,238,0.2)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,borderRadius:3},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}},e}(zp),CN=Vo(),DN=E;function AN(t,e,n){if(!r.node){var i=e.getZr();CN(i).records||(CN(i).records={}),function(t,e){if(CN(t).initialized)return;function n(n,i){t.on(n,(function(n){var r=function(t){var e={showTip:[],hideTip:[]},n=function(i){var r=e[i.type];r?r.push(i):(i.dispatchAction=n,t.dispatchAction(i))};return{dispatchAction:n,pendings:e}}(e);DN(CN(t).records,(function(t){t&&i(t,n,r.dispatchAction)})),function(t,e){var n,i=t.showTip.length,r=t.hideTip.length;i?n=t.showTip[i-1]:r&&(n=t.hideTip[r-1]);n&&(n.dispatchAction=null,e.dispatchAction(n))}(r.pendings,e)}))}CN(t).initialized=!0,n("click",H(LN,"click")),n("mousemove",H(LN,"mousemove")),n("globalout",kN)}(i,e),(CN(i).records[t]||(CN(i).records[t]={})).handler=n}}function kN(t,e,n){t.handler("leave",null,n)}function LN(t,e,n,i){e.handler(t,n,i)}function PN(t,e){if(!r.node){var n=e.getZr();(CN(n).records||{})[t]&&(CN(n).records[t]=null)}}var ON=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.render=function(t,e,n){var i=e.getComponent("tooltip"),r=t.get("triggerOn")||i&&i.get("triggerOn")||"mousemove|click";AN("axisPointer",n,(function(t,e,n){"none"!==r&&("leave"===t||r.indexOf(t)>=0)&&n({type:"updateAxisPointer",currTrigger:t,x:e&&e.offsetX,y:e&&e.offsetY})}))},e.prototype.remove=function(t,e){PN("axisPointer",e)},e.prototype.dispose=function(t,e){PN("axisPointer",e)},e.type="axisPointer",e}(Ag);function RN(t,e){var n,i=[],r=t.seriesIndex;if(null==r||!(n=e.getSeriesByIndex(r)))return{point:[]};var o=n.getData(),a=zo(o,t);if(null==a||a<0||Y(a))return{point:[]};var s=o.getItemGraphicEl(a),l=n.coordinateSystem;if(n.getTooltipPosition)i=n.getTooltipPosition(a)||[];else if(l&&l.dataToPoint)if(t.isStacked){var u=l.getBaseAxis(),h=l.getOtherAxis(u).dim,c=u.dim,p="x"===h||"radius"===h?1:0,d=o.mapDimension(c),f=[];f[p]=o.get(d,a),f[1-p]=o.get(o.getCalculationInfo("stackResultDimension"),a),i=l.dataToPoint(f)||[]}else i=l.dataToPoint(o.getValues(z(l.dimensions,(function(t){return o.mapDimension(t)})),a))||[];else if(s){var g=s.getBoundingRect().clone();g.applyTransform(s.transform),i=[g.x+g.width/2,g.y+g.height/2]}return{point:i,el:s}}var NN=Vo();function EN(t,e,n){var i=t.currTrigger,r=[t.x,t.y],o=t,a=t.dispatchAction||W(n.dispatchAction,n),s=e.getComponent("axisPointer").coordSysAxesInfo;if(s){GN(r)&&(r=RN({seriesIndex:o.seriesIndex,dataIndex:o.dataIndex},e).point);var l=GN(r),u=o.axesInfo,h=s.axesInfo,c="leave"===i||GN(r),p={},d={},f={list:[],map:{}},g={showPointer:H(VN,d),showTooltip:H(BN,f)};E(s.coordSysMap,(function(t,e){var n=l||t.containPoint(r);E(s.coordSysAxesInfo[e],(function(t,e){var i=t.axis,o=function(t,e){for(var n=0;n<(t||[]).length;n++){var i=t[n];if(e.axis.dim===i.axisDim&&e.axis.model.componentIndex===i.axisIndex)return i}}(u,t);if(!c&&n&&(!u||o)){var a=o&&o.value;null!=a||l||(a=i.pointToData(r)),null!=a&&zN(t,a,g,!1,p)}}))}));var y={};return E(h,(function(t,e){var n=t.linkGroup;n&&!d[e]&&E(n.axesInfo,(function(e,i){var r=d[i];if(e!==t&&r){var o=r.value;n.mapper&&(o=t.axis.scale.parse(n.mapper(o,FN(e),FN(t)))),y[t.key]=o}}))})),E(y,(function(t,e){zN(h[e],t,g,!0,p)})),function(t,e,n){var i=n.axesInfo=[];E(e,(function(e,n){var r=e.axisPointerModel.option,o=t[n];o?(!e.useHandle&&(r.status="show"),r.value=o.value,r.seriesDataIndices=(o.payloadBatch||[]).slice()):!e.useHandle&&(r.status="hide"),"show"===r.status&&i.push({axisDim:e.axis.dim,axisIndex:e.axis.model.componentIndex,value:r.value})}))}(d,h,p),function(t,e,n,i){if(GN(e)||!t.list.length)return void i({type:"hideTip"});var r=((t.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};i({type:"showTip",escapeConnect:!0,x:e[0],y:e[1],tooltipOption:n.tooltipOption,position:n.position,dataIndexInside:r.dataIndexInside,dataIndex:r.dataIndex,seriesIndex:r.seriesIndex,dataByCoordSys:t.list})}(f,r,t,a),function(t,e,n){var i=n.getZr(),r="axisPointerLastHighlights",o=NN(i)[r]||{},a=NN(i)[r]={};E(t,(function(t,e){var n=t.axisPointerModel.option;"show"===n.status&&t.triggerEmphasis&&E(n.seriesDataIndices,(function(t){var e=t.seriesIndex+" | "+t.dataIndex;a[e]=t}))}));var s=[],l=[];E(o,(function(t,e){!a[e]&&l.push(t)})),E(a,(function(t,e){!o[e]&&s.push(t)})),l.length&&n.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:l}),s.length&&n.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:s})}(h,0,n),p}}function zN(t,e,n,i,r){var o=t.axis;if(!o.scale.isBlank()&&o.containData(e))if(t.involveSeries){var a=function(t,e){var n=e.axis,i=n.dim,r=t,o=[],a=Number.MAX_VALUE,s=-1;return E(e.seriesModels,(function(e,l){var u,h,c=e.getData().mapDimensionsAll(i);if(e.getAxisTooltipData){var p=e.getAxisTooltipData(c,t,n);h=p.dataIndices,u=p.nestestValue}else{if(!(h=e.getData().indicesOfNearest(c[0],t,"category"===n.type?.5:null)).length)return;u=e.getData().get(c[0],h[0])}if(null!=u&&isFinite(u)){var d=t-u,f=Math.abs(d);f<=a&&((f=0&&s<0)&&(a=f,s=d,r=u,o.length=0),E(h,(function(t){o.push({seriesIndex:e.seriesIndex,dataIndexInside:t,dataIndex:e.getData().getRawIndex(t)})})))}})),{payloadBatch:o,snapToValue:r}}(e,t),s=a.payloadBatch,l=a.snapToValue;s[0]&&null==r.seriesIndex&&A(r,s[0]),!i&&t.snap&&o.containData(l)&&null!=l&&(e=l),n.showPointer(t,e,s),n.showTooltip(t,a,l)}else n.showPointer(t,e)}function VN(t,e,n,i){t[e.key]={value:n,payloadBatch:i}}function BN(t,e,n,i){var r=n.payloadBatch,o=e.axis,a=o.model,s=e.axisPointerModel;if(e.triggerTooltip&&r.length){var l=e.coordSys.model,u=MI(l),h=t.map[u];h||(h=t.map[u]={coordSysId:l.id,coordSysIndex:l.componentIndex,coordSysType:l.type,coordSysMainType:l.mainType,dataByAxis:[]},t.list.push(h)),h.dataByAxis.push({axisDim:o.dim,axisIndex:a.componentIndex,axisType:a.type,axisId:a.id,value:i,valueLabelOpt:{precision:s.get(["label","precision"]),formatter:s.get(["label","formatter"])},seriesDataIndices:r.slice()})}}function FN(t){var e=t.axis.model,n={},i=n.axisDim=t.axis.dim;return n.axisIndex=n[i+"AxisIndex"]=e.componentIndex,n.axisName=n[i+"AxisName"]=e.name,n.axisId=n[i+"AxisId"]=e.id,n}function GN(t){return!t||null==t[0]||isNaN(t[0])||null==t[1]||isNaN(t[1])}function WN(t){TI.registerAxisPointerClass("CartesianAxisPointer",wN),t.registerComponentModel(TN),t.registerComponentView(ON),t.registerPreprocessor((function(t){if(t){(!t.axisPointer||0===t.axisPointer.length)&&(t.axisPointer={});var e=t.axisPointer.link;e&&!Y(e)&&(t.axisPointer.link=[e])}})),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,(function(t,e){t.getComponent("axisPointer").coordSysAxesInfo=xI(t,e)})),t.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},EN)}var HN=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.makeElOption=function(t,e,n,i,r){var o=n.axis;"angle"===o.dim&&(this.animationThreshold=Math.PI/18);var a=o.polar,s=a.getOtherAxis(o).getExtent(),l=o.dataToCoord(e),u=i.get("type");if(u&&"none"!==u){var h=fN(i),c=YN[u](o,a,l,s);c.style=h,t.graphicKey=c.type,t.pointer=c}var p=function(t,e,n,i,r){var o=e.axis,a=o.dataToCoord(t),s=i.getAngleAxis().getExtent()[0];s=s/180*Math.PI;var l,u,h,c=i.getRadiusAxis().getExtent();if("radius"===o.dim){var p=[1,0,0,1,0,0];Se(p,p,s),we(p,p,[i.cx,i.cy]),l=Fh([a,-r],p);var d=e.getModel("axisLabel").get("rotate")||0,f=dI.innerTextLayout(s,d*Math.PI/180,-1);u=f.textAlign,h=f.textVerticalAlign}else{var g=c[1];l=i.coordToPoint([g+r,a]);var y=i.cx,v=i.cy;u=Math.abs(l[0]-y)/g<.3?"center":l[0]>y?"left":"right",h=Math.abs(l[1]-v)/g<.3?"middle":l[1]>v?"top":"bottom"}return{position:l,align:u,verticalAlign:h}}(e,n,0,a,i.get(["label","margin"]));gN(t,n,i,r,p)},e}(lN);var YN={line:function(t,e,n,i){return"angle"===t.dim?{type:"Line",shape:xN(e.coordToPoint([i[0],n]),e.coordToPoint([i[1],n]))}:{type:"Circle",shape:{cx:e.cx,cy:e.cy,r:n}}},shadow:function(t,e,n,i){var r=Math.max(1,t.getBandWidth()),o=Math.PI/180;return"angle"===t.dim?{type:"Sector",shape:bN(e.cx,e.cy,i[0],i[1],(-n-r/2)*o,(r/2-n)*o)}:{type:"Sector",shape:bN(e.cx,e.cy,n-r/2,n+r/2,0,2*Math.PI)}}},XN=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.findAxisModel=function(t){var e;return this.ecModel.eachComponent(t,(function(t){t.getCoordSysModel()===this&&(e=t)}),this),e},e.type="polar",e.dependencies=["radiusAxis","angleAxis"],e.defaultOption={z:0,center:["50%","50%"],radius:"80%"},e}(zp),UN=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.getCoordSysModel=function(){return this.getReferringComponents("polar",Wo).models[0]},e.type="polarAxis",e}(zp);R(UN,D_);var ZN=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.type="angleAxis",e}(UN),jN=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.type="radiusAxis",e}(UN),qN=function(t){function e(e,n){return t.call(this,"radius",e,n)||this}return n(e,t),e.prototype.pointToData=function(t,e){return this.polar.pointToData(t,e)["radius"===this.dim?0:1]},e}(ab);qN.prototype.dataToRadius=ab.prototype.dataToCoord,qN.prototype.radiusToData=ab.prototype.coordToData;var KN=Vo(),$N=function(t){function e(e,n){return t.call(this,"angle",e,n||[0,360])||this}return n(e,t),e.prototype.pointToData=function(t,e){return this.polar.pointToData(t,e)["radius"===this.dim?0:1]},e.prototype.calculateCategoryInterval=function(){var t=this,e=t.getLabelModel(),n=t.scale,i=n.getExtent(),r=n.count();if(i[1]-i[0]<1)return 0;var o=i[0],a=t.dataToCoord(o+1)-t.dataToCoord(o),s=Math.abs(a),l=Sr(null==o?"":o+"",e.getFont(),"center","top"),u=Math.max(l.height,7)/s;isNaN(u)&&(u=1/0);var h=Math.max(0,Math.floor(u)),c=KN(t.model),p=c.lastAutoInterval,d=c.lastTickCount;return null!=p&&null!=d&&Math.abs(p-h)<=1&&Math.abs(d-r)<=1&&p>h?h=p:(c.lastTickCount=r,c.lastAutoInterval=h),h},e}(ab);$N.prototype.dataToAngle=ab.prototype.dataToCoord,$N.prototype.angleToData=ab.prototype.coordToData;var JN=["radius","angle"],QN=function(){function t(t){this.dimensions=JN,this.type="polar",this.cx=0,this.cy=0,this._radiusAxis=new qN,this._angleAxis=new $N,this.axisPointerEnabled=!0,this.name=t||"",this._radiusAxis.polar=this._angleAxis.polar=this}return t.prototype.containPoint=function(t){var e=this.pointToCoord(t);return this._radiusAxis.contain(e[0])&&this._angleAxis.contain(e[1])},t.prototype.containData=function(t){return this._radiusAxis.containData(t[0])&&this._angleAxis.containData(t[1])},t.prototype.getAxis=function(t){return this["_"+t+"Axis"]},t.prototype.getAxes=function(){return[this._radiusAxis,this._angleAxis]},t.prototype.getAxesByScale=function(t){var e=[],n=this._angleAxis,i=this._radiusAxis;return n.scale.type===t&&e.push(n),i.scale.type===t&&e.push(i),e},t.prototype.getAngleAxis=function(){return this._angleAxis},t.prototype.getRadiusAxis=function(){return this._radiusAxis},t.prototype.getOtherAxis=function(t){var e=this._angleAxis;return t===e?this._radiusAxis:e},t.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},t.prototype.getTooltipAxes=function(t){var e=null!=t&&"auto"!==t?this.getAxis(t):this.getBaseAxis();return{baseAxes:[e],otherAxes:[this.getOtherAxis(e)]}},t.prototype.dataToPoint=function(t,e){return this.coordToPoint([this._radiusAxis.dataToRadius(t[0],e),this._angleAxis.dataToAngle(t[1],e)])},t.prototype.pointToData=function(t,e){var n=this.pointToCoord(t);return[this._radiusAxis.radiusToData(n[0],e),this._angleAxis.angleToData(n[1],e)]},t.prototype.pointToCoord=function(t){var e=t[0]-this.cx,n=t[1]-this.cy,i=this.getAngleAxis(),r=i.getExtent(),o=Math.min(r[0],r[1]),a=Math.max(r[0],r[1]);i.inverse?o=a-360:a=o+360;var s=Math.sqrt(e*e+n*n);e/=s,n/=s;for(var l=Math.atan2(-n,e)/Math.PI*180,u=la;)l+=360*u;return[s,l]},t.prototype.coordToPoint=function(t){var e=t[0],n=t[1]/180*Math.PI;return[Math.cos(n)*e+this.cx,-Math.sin(n)*e+this.cy]},t.prototype.getArea=function(){var t=this.getAngleAxis(),e=this.getRadiusAxis().getExtent().slice();e[0]>e[1]&&e.reverse();var n=t.getExtent(),i=Math.PI/180,r=1e-4;return{cx:this.cx,cy:this.cy,r0:e[0],r:e[1],startAngle:-n[0]*i,endAngle:-n[1]*i,clockwise:t.inverse,contain:function(t,e){var n=t-this.cx,i=e-this.cy,o=n*n+i*i,a=this.r,s=this.r0;return a!==s&&o-r<=a*a&&o+r>=s*s}}},t.prototype.convertToPixel=function(t,e,n){return tE(e)===this?this.dataToPoint(n):null},t.prototype.convertFromPixel=function(t,e,n){return tE(e)===this?this.pointToData(n):null},t}();function tE(t){var e=t.seriesModel,n=t.polarModel;return n&&n.coordinateSystem||e&&e.coordinateSystem}function eE(t,e){var n=this,i=n.getAngleAxis(),r=n.getRadiusAxis();if(i.scale.setExtent(1/0,-1/0),r.scale.setExtent(1/0,-1/0),t.eachSeries((function(t){if(t.coordinateSystem===n){var e=t.getData();E(C_(e,"radius"),(function(t){r.scale.unionExtentFromData(e,t)})),E(C_(e,"angle"),(function(t){i.scale.unionExtentFromData(e,t)}))}})),__(i.scale,i.model),__(r.scale,r.model),"category"===i.type&&!i.onBand){var o=i.getExtent(),a=360/i.scale.count();i.inverse?o[1]+=a:o[1]-=a,i.setExtent(o[0],o[1])}}function nE(t,e){var n;if(t.type=e.get("type"),t.scale=b_(e),t.onBand=e.get("boundaryGap")&&"category"===t.type,t.inverse=e.get("inverse"),function(t){return"angleAxis"===t.mainType}(e)){t.inverse=t.inverse!==e.get("clockwise");var i=e.get("startAngle"),r=null!==(n=e.get("endAngle"))&&void 0!==n?n:i+(t.inverse?-360:360);t.setExtent(i,r)}e.axis=t,t.model=e}var iE={dimensions:JN,create:function(t,e){var n=[];return t.eachComponent("polar",(function(t,i){var r=new QN(i+"");r.update=eE;var o=r.getRadiusAxis(),a=r.getAngleAxis(),s=t.findAxisModel("radiusAxis"),l=t.findAxisModel("angleAxis");nE(o,s),nE(a,l),function(t,e,n){var i=e.get("center"),r=n.getWidth(),o=n.getHeight();t.cx=$r(i[0],r),t.cy=$r(i[1],o);var a=t.getRadiusAxis(),s=Math.min(r,o)/2,l=e.get("radius");null==l?l=[0,"100%"]:Y(l)||(l=[0,l]);var u=[$r(l[0],s),$r(l[1],s)];a.inverse?a.setExtent(u[1],u[0]):a.setExtent(u[0],u[1])}(r,t,e),n.push(r),t.coordinateSystem=r,r.model=t})),t.eachSeries((function(t){if("polar"===t.get("coordinateSystem")){var e=t.getReferringComponents("polar",Wo).models[0];0,t.coordinateSystem=e.coordinateSystem}})),n}},rE=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function oE(t,e,n){e[1]>e[0]&&(e=e.slice().reverse());var i=t.coordToPoint([e[0],n]),r=t.coordToPoint([e[1],n]);return{x1:i[0],y1:i[1],x2:r[0],y2:r[1]}}function aE(t){return t.getRadiusAxis().inverse?0:1}function sE(t){var e=t[0],n=t[t.length-1];e&&n&&Math.abs(Math.abs(e.coord-n.coord)-360)<1e-4&&t.pop()}var lE=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="PolarAxisPointer",n}return n(e,t),e.prototype.render=function(t,e){if(this.group.removeAll(),t.get("show")){var n=t.axis,i=n.polar,r=i.getRadiusAxis().getExtent(),o=n.getTicksCoords(),a=n.getMinorTicksCoords(),s=z(n.getViewLabels(),(function(t){t=T(t);var e=n.scale,i="ordinal"===e.type?e.getRawOrdinalNumber(t.tickValue):t.tickValue;return t.coord=n.dataToCoord(i),t}));sE(s),sE(o),E(rE,(function(e){!t.get([e,"show"])||n.scale.isBlank()&&"axisLine"!==e||uE[e](this.group,t,i,o,a,r,s)}),this)}},e.type="angleAxis",e}(TI),uE={axisLine:function(t,e,n,i,r,o){var a,s=e.getModel(["axisLine","lineStyle"]),l=n.getAngleAxis(),u=Math.PI/180,h=l.getExtent(),c=aE(n),p=c?0:1,d=360===Math.abs(h[1]-h[0])?"Circle":"Arc";(a=0===o[p]?new Qh[d]({shape:{cx:n.cx,cy:n.cy,r:o[c],startAngle:-h[0]*u,endAngle:-h[1]*u,clockwise:l.inverse},style:s.getLineStyle(),z2:1,silent:!0}):new Wu({shape:{cx:n.cx,cy:n.cy,r:o[c],r0:o[p]},style:s.getLineStyle(),z2:1,silent:!0})).style.fill=null,t.add(a)},axisTick:function(t,e,n,i,r,o){var a=e.getModel("axisTick"),s=(a.get("inside")?-1:1)*a.get("length"),l=o[aE(n)],u=z(i,(function(t){return new Ku({shape:oE(n,[l,l+s],t.coord)})}));t.add(Nh(u,{style:k(a.getModel("lineStyle").getLineStyle(),{stroke:e.get(["axisLine","lineStyle","color"])})}))},minorTick:function(t,e,n,i,r,o){if(r.length){for(var a=e.getModel("axisTick"),s=e.getModel("minorTick"),l=(a.get("inside")?-1:1)*s.get("length"),u=o[aE(n)],h=[],c=0;cf?"left":"right",v=Math.abs(d[1]-g)/p<.3?"middle":d[1]>g?"top":"bottom";if(s&&s[c]){var m=s[c];q(m)&&m.textStyle&&(a=new Cc(m.textStyle,l,l.ecModel))}var x=new Xs({silent:dI.isLabelSilent(e),style:oc(a,{x:d[0],y:d[1],fill:a.getTextColor()||e.get(["axisLine","lineStyle","color"]),text:i.formattedLabel,align:y,verticalAlign:v})});if(t.add(x),h){var _=dI.makeAxisEventDataBase(e);_.targetType="axisLabel",_.value=i.rawLabel,rl(x).eventData=_}}),this)},splitLine:function(t,e,n,i,r,o){var a=e.getModel("splitLine").getModel("lineStyle"),s=a.get("color"),l=0;s=s instanceof Array?s:[s];for(var u=[],h=0;h=0?"p":"n",C=b;m&&(i[s][I]||(i[s][I]={p:b,n:b}),C=i[s][I][T]);var D=void 0,A=void 0,k=void 0,L=void 0;if("radius"===c.dim){var P=c.dataToCoord(M)-b,O=o.dataToCoord(I);Math.abs(P)=L})}}}))}var vE={startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:0}},mE={splitNumber:5},xE=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.type="polar",e}(Ag);function _E(t,e){e=e||{};var n=t.coordinateSystem,i=t.axis,r={},o=i.position,a=i.orient,s=n.getRect(),l=[s.x,s.x+s.width,s.y,s.y+s.height],u={horizontal:{top:l[2],bottom:l[3]},vertical:{left:l[0],right:l[1]}};r.position=["vertical"===a?u.vertical[o]:l[0],"horizontal"===a?u.horizontal[o]:l[3]];r.rotation=Math.PI/2*{horizontal:0,vertical:1}[a];r.labelDirection=r.tickDirection=r.nameDirection={top:-1,bottom:1,right:1,left:-1}[o],t.get(["axisTick","inside"])&&(r.tickDirection=-r.tickDirection),it(e.labelInside,t.get(["axisLabel","inside"]))&&(r.labelDirection=-r.labelDirection);var h=e.rotate;return null==h&&(h=t.get(["axisLabel","rotate"])),r.labelRotation="top"===o?-h:h,r.z2=1,r}var bE=["axisLine","axisTickLabel","axisName"],wE=["splitArea","splitLine"],SE=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="SingleAxisPointer",n}return n(e,t),e.prototype.render=function(e,n,i,r){var o=this.group;o.removeAll();var a=this._axisGroup;this._axisGroup=new Br;var s=_E(e),l=new dI(e,s);E(bE,l.add,l),o.add(this._axisGroup),o.add(l.getGroup()),E(wE,(function(t){e.get([t,"show"])&&ME[t](this,this.group,this._axisGroup,e)}),this),Hh(a,this._axisGroup,e),t.prototype.render.call(this,e,n,i,r)},e.prototype.remove=function(){AI(this)},e.type="singleAxis",e}(TI),ME={splitLine:function(t,e,n,i){var r=i.axis;if(!r.scale.isBlank()){var o=i.getModel("splitLine"),a=o.getModel("lineStyle"),s=a.get("color");s=s instanceof Array?s:[s];for(var l=a.get("width"),u=i.coordinateSystem.getRect(),h=r.isHorizontal(),c=[],p=0,d=r.getTicksCoords({tickModel:o}),f=[],g=[],y=0;y=e.y&&t[1]<=e.y+e.height:n.contain(n.toLocalCoord(t[1]))&&t[0]>=e.y&&t[0]<=e.y+e.height},t.prototype.pointToData=function(t){var e=this.getAxis();return[e.coordToData(e.toLocalCoord(t["horizontal"===e.orient?0:1]))]},t.prototype.dataToPoint=function(t){var e=this.getAxis(),n=this.getRect(),i=[],r="horizontal"===e.orient?0:1;return t instanceof Array&&(t=t[0]),i[r]=e.toGlobalCoord(e.dataToCoord(+t)),i[1-r]=0===r?n.y+n.height/2:n.x+n.width/2,i},t.prototype.convertToPixel=function(t,e,n){return AE(e)===this?this.dataToPoint(n):null},t.prototype.convertFromPixel=function(t,e,n){return AE(e)===this?this.pointToData(n):null},t}();function AE(t){var e=t.seriesModel,n=t.singleAxisModel;return n&&n.coordinateSystem||e&&e.coordinateSystem}var kE={create:function(t,e){var n=[];return t.eachComponent("singleAxis",(function(i,r){var o=new DE(i,t,e);o.name="single_"+r,o.resize(i,e),i.coordinateSystem=o,n.push(o)})),t.eachSeries((function(t){if("singleAxis"===t.get("coordinateSystem")){var e=t.getReferringComponents("singleAxis",Wo).models[0];t.coordinateSystem=e&&e.coordinateSystem}})),n},dimensions:CE},LE=["x","y"],PE=["width","height"],OE=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.makeElOption=function(t,e,n,i,r){var o=n.axis,a=o.coordinateSystem,s=EE(a,1-NE(o)),l=a.dataToPoint(e)[0],u=i.get("type");if(u&&"none"!==u){var h=fN(i),c=RE[u](o,l,s);c.style=h,t.graphicKey=c.type,t.pointer=c}mN(e,t,_E(n),n,i,r)},e.prototype.getHandleTransform=function(t,e,n){var i=_E(e,{labelInside:!1});i.labelMargin=n.get(["handle","margin"]);var r=vN(e.axis,t,i);return{x:r[0],y:r[1],rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},e.prototype.updateHandleTransform=function(t,e,n,i){var r=n.axis,o=r.coordinateSystem,a=NE(r),s=EE(o,a),l=[t.x,t.y];l[a]+=e[a],l[a]=Math.min(s[1],l[a]),l[a]=Math.max(s[0],l[a]);var u=EE(o,1-a),h=(u[1]+u[0])/2,c=[h,h];return c[a]=l[a],{x:l[0],y:l[1],rotation:t.rotation,cursorPoint:c,tooltipOption:{verticalAlign:"middle"}}},e}(lN),RE={line:function(t,e,n){return{type:"Line",subPixelOptimize:!0,shape:xN([e,n[0]],[e,n[1]],NE(t))}},shadow:function(t,e,n){var i=t.getBandWidth(),r=n[1]-n[0];return{type:"Rect",shape:_N([e-i/2,n[0]],[i,r],NE(t))}}};function NE(t){return t.isHorizontal()?0:1}function EE(t,e){var n=t.getRect();return[n[LE[e]],n[LE[e]]+n[PE[e]]]}var zE=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.type="single",e}(Ag);var VE=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.init=function(e,n,i){var r=Rp(e);t.prototype.init.apply(this,arguments),BE(e,r)},e.prototype.mergeOption=function(e){t.prototype.mergeOption.apply(this,arguments),BE(this.option,e)},e.prototype.getCellSize=function(){return this.option.cellSize},e.type="calendar",e.defaultOption={z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{color:"#fff",borderWidth:1,borderColor:"#ccc"},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},e}(zp);function BE(t,e){var n,i=t.cellSize;1===(n=Y(i)?i:t.cellSize=[i,i]).length&&(n[1]=n[0]);var r=z([0,1],(function(t){return function(t,e){return null!=t[Cp[e][0]]||null!=t[Cp[e][1]]&&null!=t[Cp[e][2]]}(e,t)&&(n[t]="auto"),null!=n[t]&&"auto"!==n[t]}));Op(t,e,{type:"box",ignoreSize:r})}var FE=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.render=function(t,e,n){var i=this.group;i.removeAll();var r=t.coordinateSystem,o=r.getRangeInfo(),a=r.getOrient(),s=e.getLocaleModel();this._renderDayRect(t,o,i),this._renderLines(t,o,a,i),this._renderYearText(t,o,a,i),this._renderMonthText(t,s,a,i),this._renderWeekText(t,s,o,a,i)},e.prototype._renderDayRect=function(t,e,n){for(var i=t.coordinateSystem,r=t.getModel("itemStyle").getItemStyle(),o=i.getCellWidth(),a=i.getCellHeight(),s=e.start.time;s<=e.end.time;s=i.getNextNDay(s,1).time){var l=i.dataToRect([s],!1).tl,u=new Ws({shape:{x:l[0],y:l[1],width:o,height:a},cursor:"default",style:r});n.add(u)}},e.prototype._renderLines=function(t,e,n,i){var r=this,o=t.coordinateSystem,a=t.getModel(["splitLine","lineStyle"]).getLineStyle(),s=t.get(["splitLine","show"]),l=a.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var u=e.start,h=0;u.time<=e.end.time;h++){p(u.formatedDate),0===h&&(u=o.getDateInfo(e.start.y+"-"+e.start.m));var c=u.date;c.setMonth(c.getMonth()+1),u=o.getDateInfo(c)}function p(e){r._firstDayOfMonth.push(o.getDateInfo(e)),r._firstDayPoints.push(o.dataToRect([e],!1).tl);var l=r._getLinePointsOfOneWeek(t,e,n);r._tlpoints.push(l[0]),r._blpoints.push(l[l.length-1]),s&&r._drawSplitline(l,a,i)}p(o.getNextNDay(e.end.time,1).formatedDate),s&&this._drawSplitline(r._getEdgesPoints(r._tlpoints,l,n),a,i),s&&this._drawSplitline(r._getEdgesPoints(r._blpoints,l,n),a,i)},e.prototype._getEdgesPoints=function(t,e,n){var i=[t[0].slice(),t[t.length-1].slice()],r="horizontal"===n?0:1;return i[0][r]=i[0][r]-e/2,i[1][r]=i[1][r]+e/2,i},e.prototype._drawSplitline=function(t,e,n){var i=new Zu({z2:20,shape:{points:t},style:e});n.add(i)},e.prototype._getLinePointsOfOneWeek=function(t,e,n){for(var i=t.coordinateSystem,r=i.getDateInfo(e),o=[],a=0;a<7;a++){var s=i.getNextNDay(r.time,a),l=i.dataToRect([s.time],!1);o[2*s.day]=l.tl,o[2*s.day+1]=l["horizontal"===n?"bl":"tr"]}return o},e.prototype._formatterLabel=function(t,e){return U(t)&&t?(n=t,E(e,(function(t,e){n=n.replace("{"+e+"}",i?re(t):t)})),n):X(t)?t(e):e.nameMap;var n,i},e.prototype._yearTextPositionControl=function(t,e,n,i,r){var o=e[0],a=e[1],s=["center","bottom"];"bottom"===i?(a+=r,s=["center","top"]):"left"===i?o-=r:"right"===i?(o+=r,s=["center","top"]):a-=r;var l=0;return"left"!==i&&"right"!==i||(l=Math.PI/2),{rotation:l,x:o,y:a,style:{align:s[0],verticalAlign:s[1]}}},e.prototype._renderYearText=function(t,e,n,i){var r=t.getModel("yearLabel");if(r.get("show")){var o=r.get("margin"),a=r.get("position");a||(a="horizontal"!==n?"top":"left");var s=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],l=(s[0][0]+s[1][0])/2,u=(s[0][1]+s[1][1])/2,h="horizontal"===n?0:1,c={top:[l,s[h][1]],bottom:[l,s[1-h][1]],left:[s[1-h][0],u],right:[s[h][0],u]},p=e.start.y;+e.end.y>+e.start.y&&(p=p+"-"+e.end.y);var d=r.get("formatter"),f={start:e.start.y,end:e.end.y,nameMap:p},g=this._formatterLabel(d,f),y=new Xs({z2:30,style:oc(r,{text:g}),silent:r.get("silent")});y.attr(this._yearTextPositionControl(y,c[a],n,a,o)),i.add(y)}},e.prototype._monthTextPositionControl=function(t,e,n,i,r){var o="left",a="top",s=t[0],l=t[1];return"horizontal"===n?(l+=r,e&&(o="center"),"start"===i&&(a="bottom")):(s+=r,e&&(a="middle"),"start"===i&&(o="right")),{x:s,y:l,align:o,verticalAlign:a}},e.prototype._renderMonthText=function(t,e,n,i){var r=t.getModel("monthLabel");if(r.get("show")){var o=r.get("nameMap"),a=r.get("margin"),s=r.get("position"),l=r.get("align"),u=[this._tlpoints,this._blpoints];o&&!U(o)||(o&&(e=Vc(o)||e),o=e.get(["time","monthAbbr"])||[]);var h="start"===s?0:1,c="horizontal"===n?0:1;a="start"===s?-a:a;for(var p="center"===l,d=r.get("silent"),f=0;f=i.start.time&&n.timea.end.time&&t.reverse(),t},t.prototype._getRangeInfo=function(t){var e,n=[this.getDateInfo(t[0]),this.getDateInfo(t[1])];n[0].time>n[1].time&&(e=!0,n.reverse());var i=Math.floor(n[1].time/GE)-Math.floor(n[0].time/GE)+1,r=new Date(n[0].time),o=r.getDate(),a=n[1].date.getDate();r.setDate(o+i-1);var s=r.getDate();if(s!==a)for(var l=r.getTime()-n[1].time>0?1:-1;(s=r.getDate())!==a&&(r.getTime()-n[1].time)*l>0;)i-=l,r.setDate(s-l);var u=Math.floor((i+n[0].day+6)/7),h=e?1-u:u-1;return e&&n.reverse(),{range:[n[0].formatedDate,n[1].formatedDate],start:n[0],end:n[1],allDay:i,weeks:u,nthWeek:h,fweek:n[0].day,lweek:n[1].day}},t.prototype._getDateByWeeksAndDay=function(t,e,n){var i=this._getRangeInfo(n);if(t>i.weeks||0===t&&ei.lweek)return null;var r=7*(t-1)-i.fweek+e,o=new Date(i.start.time);return o.setDate(+i.start.d+r),this.getDateInfo(o)},t.create=function(e,n){var i=[];return e.eachComponent("calendar",(function(r){var o=new t(r,e,n);i.push(o),r.coordinateSystem=o})),e.eachSeries((function(t){"calendar"===t.get("coordinateSystem")&&(t.coordinateSystem=i[t.get("calendarIndex")||0])})),i},t.dimensions=["time","value"],t}();function HE(t){var e=t.calendarModel,n=t.seriesModel;return e?e.coordinateSystem:n?n.coordinateSystem:null}function YE(t,e){var n;return E(e,(function(e){null!=t[e]&&"auto"!==t[e]&&(n=!0)})),n}var XE=["transition","enterFrom","leaveTo"],UE=XE.concat(["enterAnimation","updateAnimation","leaveAnimation"]);function ZE(t,e,n){if(n&&(!t[n]&&e[n]&&(t[n]={}),t=t[n],e=e[n]),t&&e)for(var i=n?XE:UE,r=0;r=0;l--){var p,d,f;if(f=null!=(d=Ro((p=n[l]).id,null))?r.get(d):null){var g=f.parent,y=(c=KE(g),{}),v=Lp(f,p,g===i?{width:o,height:a}:{width:c.width,height:c.height},null,{hv:p.hv,boundingMode:p.bounding},y);if(!KE(f).isNew&&v){for(var m=p.transition,x={},_=0;_=0)?x[b]=w:f[b]=w}vh(f,x,t,0)}else f.attr(y)}}},e.prototype._clear=function(){var t=this,e=this._elMap;e.each((function(n){tz(n,KE(n).option,e,t._lastGraphicModel)})),this._elMap=yt()},e.prototype.dispose=function(){this._clear()},e.type="graphic",e}(Ag);function JE(t){var e=_t(qE,t)?qE[t]:Lh(t);var n=new e({});return KE(n).type=t,n}function QE(t,e,n,i){var r=JE(n);return e.add(r),i.set(t,r),KE(r).id=t,KE(r).isNew=!0,r}function tz(t,e,n,i){t&&t.parent&&("group"===t.type&&t.traverse((function(t){tz(t,e,n,i)})),vR(t,e,i),n.removeKey(KE(t).id))}function ez(t,e,n,i){t.isGroup||E([["cursor",Da.prototype.cursor],["zlevel",i||0],["z",n||0],["z2",0]],(function(n){var i=n[0];_t(e,i)?t[i]=rt(e[i],n[1]):null==t[i]&&(t[i]=n[1])})),E(G(e),(function(n){if(0===n.indexOf("on")){var i=e[n];t[n]=X(i)?i:null}})),_t(e,"draggable")&&(t.draggable=e.draggable),null!=e.name&&(t.name=e.name),null!=e.id&&(t.id=e.id)}var nz=["x","y","radius","angle","single"],iz=["cartesian2d","polar","singleAxis"];function rz(t){return t+"Axis"}function oz(t,e){var n,i=yt(),r=[],o=yt();t.eachComponent({mainType:"dataZoom",query:e},(function(t){o.get(t.uid)||s(t)}));do{n=!1,t.eachComponent("dataZoom",a)}while(n);function a(t){!o.get(t.uid)&&function(t){var e=!1;return t.eachTargetAxis((function(t,n){var r=i.get(t);r&&r[n]&&(e=!0)})),e}(t)&&(s(t),n=!0)}function s(t){o.set(t.uid,!0),r.push(t),t.eachTargetAxis((function(t,e){(i.get(t)||i.set(t,[]))[e]=!0}))}return r}function az(t){var e=t.ecModel,n={infoList:[],infoMap:yt()};return t.eachTargetAxis((function(t,i){var r=e.getComponent(rz(t),i);if(r){var o=r.getCoordSysModel();if(o){var a=o.uid,s=n.infoMap.get(a);s||(s={model:o,axisModels:[]},n.infoList.push(s),n.infoMap.set(a,s)),s.axisModels.push(r)}}})),n}var sz=function(){function t(){this.indexList=[],this.indexMap=[]}return t.prototype.add=function(t){this.indexMap[t]||(this.indexList.push(t),this.indexMap[t]=!0)},t}(),lz=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._autoThrottle=!0,n._noTarget=!0,n._rangePropMode=["percent","percent"],n}return n(e,t),e.prototype.init=function(t,e,n){var i=uz(t);this.settledOption=i,this.mergeDefaultAndTheme(t,n),this._doInit(i)},e.prototype.mergeOption=function(t){var e=uz(t);C(this.option,t,!0),C(this.settledOption,e,!0),this._doInit(e)},e.prototype._doInit=function(t){var e=this.option;this._setDefaultThrottle(t),this._updateRangeUse(t);var n=this.settledOption;E([["start","startValue"],["end","endValue"]],(function(t,i){"value"===this._rangePropMode[i]&&(e[t[0]]=n[t[0]]=null)}),this),this._resetTarget()},e.prototype._resetTarget=function(){var t=this.get("orient",!0),e=this._targetAxisInfoMap=yt();this._fillSpecifiedTargetAxis(e)?this._orient=t||this._makeAutoOrientByTargetAxis():(this._orient=t||"horizontal",this._fillAutoTargetAxisByOrient(e,this._orient)),this._noTarget=!0,e.each((function(t){t.indexList.length&&(this._noTarget=!1)}),this)},e.prototype._fillSpecifiedTargetAxis=function(t){var e=!1;return E(nz,(function(n){var i=this.getReferringComponents(rz(n),Ho);if(i.specified){e=!0;var r=new sz;E(i.models,(function(t){r.add(t.componentIndex)})),t.set(n,r)}}),this),e},e.prototype._fillAutoTargetAxisByOrient=function(t,e){var n=this.ecModel,i=!0;if(i){var r="vertical"===e?"y":"x";o(n.findComponents({mainType:r+"Axis"}),r)}i&&o(n.findComponents({mainType:"singleAxis",filter:function(t){return t.get("orient",!0)===e}}),"single");function o(e,n){var r=e[0];if(r){var o=new sz;if(o.add(r.componentIndex),t.set(n,o),i=!1,"x"===n||"y"===n){var a=r.getReferringComponents("grid",Wo).models[0];a&&E(e,(function(t){r.componentIndex!==t.componentIndex&&a===t.getReferringComponents("grid",Wo).models[0]&&o.add(t.componentIndex)}))}}}i&&E(nz,(function(e){if(i){var r=n.findComponents({mainType:rz(e),filter:function(t){return"category"===t.get("type",!0)}});if(r[0]){var o=new sz;o.add(r[0].componentIndex),t.set(e,o),i=!1}}}),this)},e.prototype._makeAutoOrientByTargetAxis=function(){var t;return this.eachTargetAxis((function(e){!t&&(t=e)}),this),"y"===t?"vertical":"horizontal"},e.prototype._setDefaultThrottle=function(t){if(t.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var e=this.ecModel.option;this.option.throttle=e.animation&&e.animationDurationUpdate>0?100:20}},e.prototype._updateRangeUse=function(t){var e=this._rangePropMode,n=this.get("rangeMode");E([["start","startValue"],["end","endValue"]],(function(i,r){var o=null!=t[i[0]],a=null!=t[i[1]];o&&!a?e[r]="percent":!o&&a?e[r]="value":n?e[r]=n[r]:o&&(e[r]="percent")}))},e.prototype.noTarget=function(){return this._noTarget},e.prototype.getFirstTargetAxisModel=function(){var t;return this.eachTargetAxis((function(e,n){null==t&&(t=this.ecModel.getComponent(rz(e),n))}),this),t},e.prototype.eachTargetAxis=function(t,e){this._targetAxisInfoMap.each((function(n,i){E(n.indexList,(function(n){t.call(e,i,n)}))}))},e.prototype.getAxisProxy=function(t,e){var n=this.getAxisModel(t,e);if(n)return n.__dzAxisProxy},e.prototype.getAxisModel=function(t,e){var n=this._targetAxisInfoMap.get(t);if(n&&n.indexMap[e])return this.ecModel.getComponent(rz(t),e)},e.prototype.setRawRange=function(t){var e=this.option,n=this.settledOption;E([["start","startValue"],["end","endValue"]],(function(i){null==t[i[0]]&&null==t[i[1]]||(e[i[0]]=n[i[0]]=t[i[0]],e[i[1]]=n[i[1]]=t[i[1]])}),this),this._updateRangeUse(t)},e.prototype.setCalculatedRange=function(t){var e=this.option;E(["start","startValue","end","endValue"],(function(n){e[n]=t[n]}))},e.prototype.getPercentRange=function(){var t=this.findRepresentativeAxisProxy();if(t)return t.getDataPercentWindow()},e.prototype.getValueRange=function(t,e){if(null!=t||null!=e)return this.getAxisProxy(t,e).getDataValueWindow();var n=this.findRepresentativeAxisProxy();return n?n.getDataValueWindow():void 0},e.prototype.findRepresentativeAxisProxy=function(t){if(t)return t.__dzAxisProxy;for(var e,n=this._targetAxisInfoMap.keys(),i=0;i=0}(e)){var n=rz(this._dimName),i=e.getReferringComponents(n,Wo).models[0];i&&this._axisIndex===i.componentIndex&&t.push(e)}}),this),t},t.prototype.getAxisModel=function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},t.prototype.getMinMaxSpan=function(){return T(this._minMaxSpan)},t.prototype.calculateDataWindow=function(t){var e,n=this._dataExtent,i=this.getAxisModel().axis.scale,r=this._dataZoomModel.getRangePropMode(),o=[0,100],a=[],s=[];dz(["start","end"],(function(l,u){var h=t[l],c=t[l+"Value"];"percent"===r[u]?(null==h&&(h=o[u]),c=i.parse(Kr(h,o,n))):(e=!0,h=Kr(c=null==c?n[u]:i.parse(c),n,o)),s[u]=null==c||isNaN(c)?n[u]:c,a[u]=null==h||isNaN(h)?o[u]:h})),fz(s),fz(a);var l=this._minMaxSpan;function u(t,e,n,r,o){var a=o?"Span":"ValueSpan";zk(0,t,n,"all",l["min"+a],l["max"+a]);for(var s=0;s<2;s++)e[s]=Kr(t[s],n,r,!0),o&&(e[s]=i.parse(e[s]))}return e?u(s,a,n,o,!1):u(a,s,o,n,!0),{valueWindow:s,percentWindow:a}},t.prototype.reset=function(t){if(t===this._dataZoomModel){var e=this.getTargetSeriesModels();this._dataExtent=function(t,e,n){var i=[1/0,-1/0];dz(n,(function(t){!function(t,e,n){e&&E(C_(e,n),(function(n){var i=e.getApproximateExtent(n);i[0]t[1]&&(t[1]=i[1])}))}(i,t.getData(),e)}));var r=t.getAxisModel(),o=v_(r.axis.scale,r,i).calculate();return[o.min,o.max]}(this,this._dimName,e),this._updateMinMaxSpan();var n=this.calculateDataWindow(t.settledOption);this._valueWindow=n.valueWindow,this._percentWindow=n.percentWindow,this._setAxisModel()}},t.prototype.filterData=function(t,e){if(t===this._dataZoomModel){var n=this._dimName,i=this.getTargetSeriesModels(),r=t.get("filterMode"),o=this._valueWindow;"none"!==r&&dz(i,(function(t){var e=t.getData(),i=e.mapDimensionsAll(n);if(i.length){if("weakFilter"===r){var a=e.getStore(),s=z(i,(function(t){return e.getDimensionIndex(t)}),e);e.filterSelf((function(t){for(var e,n,r,l=0;lo[1];if(h&&!c&&!p)return!0;h&&(r=!0),c&&(e=!0),p&&(n=!0)}return r&&e&&n}))}else dz(i,(function(n){if("empty"===r)t.setData(e=e.map(n,(function(t){return function(t){return t>=o[0]&&t<=o[1]}(t)?t:NaN})));else{var i={};i[n]=o,e.selectRange(i)}}));dz(i,(function(t){e.setApproximateExtent(o,t)}))}}))}},t.prototype._updateMinMaxSpan=function(){var t=this._minMaxSpan={},e=this._dataZoomModel,n=this._dataExtent;dz(["min","max"],(function(i){var r=e.get(i+"Span"),o=e.get(i+"ValueSpan");null!=o&&(o=this.getAxisModel().axis.scale.parse(o)),null!=o?r=Kr(n[0]+o,n,[0,100],!0):null!=r&&(o=Kr(r,[0,100],n,!0)-n[0]),t[i+"Span"]=r,t[i+"ValueSpan"]=o}),this)},t.prototype._setAxisModel=function(){var t=this.getAxisModel(),e=this._percentWindow,n=this._valueWindow;if(e){var i=no(n,[0,500]);i=Math.min(i,20);var r=t.axis.scale.rawExtentInfo;0!==e[0]&&r.setDeterminedMinMax("min",+n[0].toFixed(i)),100!==e[1]&&r.setDeterminedMinMax("max",+n[1].toFixed(i)),r.freeze()}},t}();var yz={getTargetSeries:function(t){function e(e){t.eachComponent("dataZoom",(function(n){n.eachTargetAxis((function(i,r){var o=t.getComponent(rz(i),r);e(i,r,o,n)}))}))}e((function(t,e,n,i){n.__dzAxisProxy=null}));var n=[];e((function(e,i,r,o){r.__dzAxisProxy||(r.__dzAxisProxy=new gz(e,i,o,t),n.push(r.__dzAxisProxy))}));var i=yt();return E(n,(function(t){E(t.getTargetSeriesModels(),(function(t){i.set(t.uid,t)}))})),i},overallReset:function(t,e){t.eachComponent("dataZoom",(function(t){t.eachTargetAxis((function(e,n){t.getAxisProxy(e,n).reset(t)})),t.eachTargetAxis((function(n,i){t.getAxisProxy(n,i).filterData(t,e)}))})),t.eachComponent("dataZoom",(function(t){var e=t.findRepresentativeAxisProxy();if(e){var n=e.getDataPercentWindow(),i=e.getDataValueWindow();t.setCalculatedRange({start:n[0],end:n[1],startValue:i[0],endValue:i[1]})}}))}};var vz=!1;function mz(t){vz||(vz=!0,t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,yz),function(t){t.registerAction("dataZoom",(function(t,e){E(oz(e,t),(function(e){e.setRawRange({start:t.start,end:t.end,startValue:t.startValue,endValue:t.endValue})}))}))}(t),t.registerSubTypeDefaulter("dataZoom",(function(){return"slider"})))}function xz(t){t.registerComponentModel(hz),t.registerComponentView(pz),mz(t)}var _z=function(){},bz={};function wz(t,e){bz[t]=e}function Sz(t){return bz[t]}var Mz=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.optionUpdated=function(){t.prototype.optionUpdated.apply(this,arguments);var e=this.ecModel;E(this.option.feature,(function(t,n){var i=Sz(n);i&&(i.getDefaultOption&&(i.defaultOption=i.getDefaultOption(e)),C(t,i.defaultOption))}))},e.type="toolbox",e.layoutMode={type:"box",ignoreSize:!0},e.defaultOption={show:!0,z:6,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1,position:"bottom"}},e}(zp);function Iz(t,e){var n=vp(e.get("padding")),i=e.getItemStyle(["color","opacity"]);return i.fill=e.get("backgroundColor"),t=new Ws({shape:{x:t.x-n[3],y:t.y-n[0],width:t.width+n[1]+n[3],height:t.height+n[0]+n[2],r:e.get("borderRadius")},style:i,silent:!0,z2:-1})}var Tz=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.render=function(t,e,n,i){var r=this.group;if(r.removeAll(),t.get("show")){var o=+t.get("itemSize"),a="vertical"===t.get("orient"),s=t.get("feature")||{},l=this._features||(this._features={}),u=[];E(s,(function(t,e){u.push(e)})),new Gm(this._featureNames||[],u).add(h).update(h).remove(H(h,null)).execute(),this._featureNames=u,function(t,e,n){var i=e.getBoxLayoutParams(),r=e.get("padding"),o={width:n.getWidth(),height:n.getHeight()},a=kp(i,o,r);Ap(e.get("orient"),t,e.get("itemGap"),a.width,a.height),Lp(t,i,o,r)}(r,t,n),r.add(Iz(r.getBoundingRect(),t)),a||r.eachChild((function(t){var e=t.__title,i=t.ensureState("emphasis"),a=i.textConfig||(i.textConfig={}),s=t.getTextContent(),l=s&&s.ensureState("emphasis");if(l&&!X(l)&&e){var u=l.style||(l.style={}),h=Sr(e,Xs.makeFont(u)),c=t.x+r.x,p=!1;t.y+r.y+o+h.height>n.getHeight()&&(a.position="top",p=!0);var d=p?-5-h.height:o+10;c+h.width/2>n.getWidth()?(a.position=["100%",d],u.align="right"):c-h.width/2<0&&(a.position=[0,d],u.align="left")}}))}function h(h,c){var p,d=u[h],f=u[c],g=s[d],y=new Cc(g,t,t.ecModel);if(i&&null!=i.newTitle&&i.featureName===d&&(g.title=i.newTitle),d&&!f){if(function(t){return 0===t.indexOf("my")}(d))p={onclick:y.option.onclick,featureName:d};else{var v=Sz(d);if(!v)return;p=new v}l[d]=p}else if(!(p=l[f]))return;p.uid=Ac("toolbox-feature"),p.model=y,p.ecModel=e,p.api=n;var m=p instanceof _z;d||!f?!y.get("show")||m&&p.unusable?m&&p.remove&&p.remove(e,n):(!function(i,s,l){var u,h,c=i.getModel("iconStyle"),p=i.getModel(["emphasis","iconStyle"]),d=s instanceof _z&&s.getIcons?s.getIcons():i.get("icon"),f=i.get("title")||{};U(d)?(u={})[l]=d:u=d;U(f)?(h={})[l]=f:h=f;var g=i.iconPaths={};E(u,(function(l,u){var d=Uh(l,{},{x:-o/2,y:-o/2,width:o,height:o});d.setStyle(c.getItemStyle()),d.ensureState("emphasis").style=p.getItemStyle();var f=new Xs({style:{text:h[u],align:p.get("textAlign"),borderRadius:p.get("textBorderRadius"),padding:p.get("textPadding"),fill:null,font:cc({fontStyle:p.get("textFontStyle"),fontFamily:p.get("textFontFamily"),fontSize:p.get("textFontSize"),fontWeight:p.get("textFontWeight")},e)},ignore:!0});d.setTextContent(f),Kh({el:d,componentModel:t,itemName:u,formatterParamsExtra:{title:h[u]}}),d.__title=h[u],d.on("mouseover",(function(){var e=p.getItemStyle(),i=a?null==t.get("right")&&"right"!==t.get("left")?"right":"left":null==t.get("bottom")&&"bottom"!==t.get("top")?"bottom":"top";f.setStyle({fill:p.get("textFill")||e.fill||e.stroke||"#000",backgroundColor:p.get("textBackgroundColor")}),d.setTextConfig({position:p.get("textPosition")||i}),f.ignore=!t.get("showTitle"),n.enterEmphasis(this)})).on("mouseout",(function(){"emphasis"!==i.get(["iconStatus",u])&&n.leaveEmphasis(this),f.hide()})),("emphasis"===i.get(["iconStatus",u])?Ol:Rl)(d),r.add(d),d.on("click",W(s.onclick,s,e,n,u)),g[u]=d}))}(y,p,d),y.setIconStatus=function(t,e){var n=this.option,i=this.iconPaths;n.iconStatus=n.iconStatus||{},n.iconStatus[t]=e,i[t]&&("emphasis"===e?Ol:Rl)(i[t])},p instanceof _z&&p.render&&p.render(y,e,n,i)):m&&p.dispose&&p.dispose(e,n)}},e.prototype.updateView=function(t,e,n,i){E(this._features,(function(t){t instanceof _z&&t.updateView&&t.updateView(t.model,e,n,i)}))},e.prototype.remove=function(t,e){E(this._features,(function(n){n instanceof _z&&n.remove&&n.remove(t,e)})),this.group.removeAll()},e.prototype.dispose=function(t,e){E(this._features,(function(n){n instanceof _z&&n.dispose&&n.dispose(t,e)}))},e.type="toolbox",e}(Ag);var Cz=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.onclick=function(t,e){var n=this.model,i=n.get("name")||t.get("title.0.text")||"echarts",o="svg"===e.getZr().painter.getType(),a=o?"svg":n.get("type",!0)||"png",s=e.getConnectedDataURL({type:a,backgroundColor:n.get("backgroundColor",!0)||t.get("backgroundColor")||"#fff",connectedBackgroundColor:n.get("connectedBackgroundColor"),excludeComponents:n.get("excludeComponents"),pixelRatio:n.get("pixelRatio")}),l=r.browser;if("function"!=typeof MouseEvent||!l.newEdge&&(l.ie||l.edge))if(window.navigator.msSaveOrOpenBlob||o){var u=s.split(","),h=u[0].indexOf("base64")>-1,c=o?decodeURIComponent(u[1]):u[1];h&&(c=window.atob(c));var p=i+"."+a;if(window.navigator.msSaveOrOpenBlob){for(var d=c.length,f=new Uint8Array(d);d--;)f[d]=c.charCodeAt(d);var g=new Blob([f]);window.navigator.msSaveOrOpenBlob(g,p)}else{var y=document.createElement("iframe");document.body.appendChild(y);var v=y.contentWindow,m=v.document;m.open("image/svg+xml","replace"),m.write(c),m.close(),v.focus(),m.execCommand("SaveAs",!0,p),document.body.removeChild(y)}}else{var x=n.get("lang"),_='',b=window.open();b.document.write(_),b.document.title=i}else{var w=document.createElement("a");w.download=i+"."+a,w.target="_blank",w.href=s;var S=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});w.dispatchEvent(S)}},e.getDefaultOption=function(t){return{show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:t.getLocaleModel().get(["toolbox","saveAsImage","title"]),type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],lang:t.getLocaleModel().get(["toolbox","saveAsImage","lang"])}},e}(_z),Dz="__ec_magicType_stack__",Az=[["line","bar"],["stack"]],kz=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.getIcons=function(){var t=this.model,e=t.get("icon"),n={};return E(t.get("type"),(function(t){e[t]&&(n[t]=e[t])})),n},e.getDefaultOption=function(t){return{show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z"},title:t.getLocaleModel().get(["toolbox","magicType","title"]),option:{},seriesIndex:{}}},e.prototype.onclick=function(t,e,n){var i=this.model,r=i.get(["seriesIndex",n]);if(Lz[n]){var o,a={series:[]};E(Az,(function(t){P(t,n)>=0&&E(t,(function(t){i.setIconStatus(t,"normal")}))})),i.setIconStatus(n,"emphasis"),t.eachComponent({mainType:"series",query:null==r?null:{seriesIndex:r}},(function(t){var e=t.subType,r=t.id,o=Lz[n](e,r,t,i);o&&(k(o,t.option),a.series.push(o));var s=t.coordinateSystem;if(s&&"cartesian2d"===s.type&&("line"===n||"bar"===n)){var l=s.getAxesByScale("ordinal")[0];if(l){var u=l.dim+"Axis",h=t.getReferringComponents(u,Wo).models[0].componentIndex;a[u]=a[u]||[];for(var c=0;c<=h;c++)a[u][h]=a[u][h]||{};a[u][h].boundaryGap="bar"===n}}}));var s=n;"stack"===n&&(o=C({stack:i.option.title.tiled,tiled:i.option.title.stack},i.option.title),"emphasis"!==i.get(["iconStatus",n])&&(s="tiled")),e.dispatchAction({type:"changeMagicType",currentType:s,newOption:a,newTitle:o,featureName:"magicType"})}},e}(_z),Lz={line:function(t,e,n,i){if("bar"===t)return C({id:e,type:"line",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},i.get(["option","line"])||{},!0)},bar:function(t,e,n,i){if("line"===t)return C({id:e,type:"bar",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},i.get(["option","bar"])||{},!0)},stack:function(t,e,n,i){var r=n.get("stack")===Dz;if("line"===t||"bar"===t)return i.setIconStatus("stack",r?"normal":"emphasis"),C({id:e,stack:r?"":Dz},i.get(["option","stack"])||{},!0)}};Cm({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},(function(t,e){e.mergeOption(t.newOption)}));var Pz=new Array(60).join("-"),Oz="\t";function Rz(t){return t.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}var Nz=new RegExp("[\t]+","g");function Ez(t,e){var n=t.split(new RegExp("\n*"+Pz+"\n*","g")),i={series:[]};return E(n,(function(t,n){if(function(t){if(t.slice(0,t.indexOf("\n")).indexOf(Oz)>=0)return!0}(t)){var r=function(t){for(var e=t.split(/\n+/g),n=[],i=z(Rz(e.shift()).split(Nz),(function(t){return{name:t,data:[]}})),r=0;r=0)&&t(r,i._targetInfoList)}))}return t.prototype.setOutputRanges=function(t,e){return this.matchOutputRanges(t,e,(function(t,e,n){if((t.coordRanges||(t.coordRanges=[])).push(e),!t.coordRange){t.coordRange=e;var i=Kz[t.brushType](0,n,e);t.__rangeOffset={offset:Jz[t.brushType](i.values,t.range,[1,1]),xyMinMax:i.xyMinMax}}})),t},t.prototype.matchOutputRanges=function(t,e,n){E(t,(function(t){var i=this.findTargetInfo(t,e);i&&!0!==i&&E(i.coordSyses,(function(i){var r=Kz[t.brushType](1,i,t.range,!0);n(t,r.values,i,e)}))}),this)},t.prototype.setInputRanges=function(t,e){E(t,(function(t){var n,i,r,o,a,s=this.findTargetInfo(t,e);if(t.range=t.range||[],s&&!0!==s){t.panelId=s.panelId;var l=Kz[t.brushType](0,s.coordSys,t.coordRange),u=t.__rangeOffset;t.range=u?Jz[t.brushType](l.values,u.offset,(n=l.xyMinMax,i=u.xyMinMax,r=tV(n),o=tV(i),a=[r[0]/o[0],r[1]/o[1]],isNaN(a[0])&&(a[0]=1),isNaN(a[1])&&(a[1]=1),a)):l.values}}),this)},t.prototype.makePanelOpts=function(t,e){return z(this._targetInfoList,(function(n){var i=n.getPanelRect();return{panelId:n.panelId,defaultBrushType:e?e(n):null,clipPath:BL(i),isTargetByCursor:GL(i,t,n.coordSysModel),getLinearBrushOtherExtent:FL(i)}}))},t.prototype.controlSeries=function(t,e,n){var i=this.findTargetInfo(t,n);return!0===i||i&&P(i.coordSyses,e.coordinateSystem)>=0},t.prototype.findTargetInfo=function(t,e){for(var n=this._targetInfoList,i=Uz(e,t),r=0;rt[1]&&t.reverse(),t}function Uz(t,e){return Fo(t,e,{includeMainTypes:Hz})}var Zz={grid:function(t,e){var n=t.xAxisModels,i=t.yAxisModels,r=t.gridModels,o=yt(),a={},s={};(n||i||r)&&(E(n,(function(t){var e=t.axis.grid.model;o.set(e.id,e),a[e.id]=!0})),E(i,(function(t){var e=t.axis.grid.model;o.set(e.id,e),s[e.id]=!0})),E(r,(function(t){o.set(t.id,t),a[t.id]=!0,s[t.id]=!0})),o.each((function(t){var r=t.coordinateSystem,o=[];E(r.getCartesians(),(function(t,e){(P(n,t.getAxis("x").model)>=0||P(i,t.getAxis("y").model)>=0)&&o.push(t)})),e.push({panelId:"grid--"+t.id,gridModel:t,coordSysModel:t,coordSys:o[0],coordSyses:o,getPanelRect:qz.grid,xAxisDeclared:a[t.id],yAxisDeclared:s[t.id]})})))},geo:function(t,e){E(t.geoModels,(function(t){var n=t.coordinateSystem;e.push({panelId:"geo--"+t.id,geoModel:t,coordSysModel:t,coordSys:n,coordSyses:[n],getPanelRect:qz.geo})}))}},jz=[function(t,e){var n=t.xAxisModel,i=t.yAxisModel,r=t.gridModel;return!r&&n&&(r=n.axis.grid.model),!r&&i&&(r=i.axis.grid.model),r&&r===e.gridModel},function(t,e){var n=t.geoModel;return n&&n===e.geoModel}],qz={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var t=this.coordSys,e=t.getBoundingRect().clone();return e.applyTransform(Bh(t)),e}},Kz={lineX:H($z,0),lineY:H($z,1),rect:function(t,e,n,i){var r=t?e.pointToData([n[0][0],n[1][0]],i):e.dataToPoint([n[0][0],n[1][0]],i),o=t?e.pointToData([n[0][1],n[1][1]],i):e.dataToPoint([n[0][1],n[1][1]],i),a=[Xz([r[0],o[0]]),Xz([r[1],o[1]])];return{values:a,xyMinMax:a}},polygon:function(t,e,n,i){var r=[[1/0,-1/0],[1/0,-1/0]];return{values:z(n,(function(n){var o=t?e.pointToData(n,i):e.dataToPoint(n,i);return r[0][0]=Math.min(r[0][0],o[0]),r[1][0]=Math.min(r[1][0],o[1]),r[0][1]=Math.max(r[0][1],o[0]),r[1][1]=Math.max(r[1][1],o[1]),o})),xyMinMax:r}}};function $z(t,e,n,i){var r=n.getAxis(["x","y"][t]),o=Xz(z([0,1],(function(t){return e?r.coordToData(r.toLocalCoord(i[t]),!0):r.toGlobalCoord(r.dataToCoord(i[t]))}))),a=[];return a[t]=o,a[1-t]=[NaN,NaN],{values:o,xyMinMax:a}}var Jz={lineX:H(Qz,0),lineY:H(Qz,1),rect:function(t,e,n){return[[t[0][0]-n[0]*e[0][0],t[0][1]-n[0]*e[0][1]],[t[1][0]-n[1]*e[1][0],t[1][1]-n[1]*e[1][1]]]},polygon:function(t,e,n){return z(t,(function(t,i){return[t[0]-n[0]*e[i][0],t[1]-n[1]*e[i][1]]}))}};function Qz(t,e,n,i){return[e[0]-i[t]*n[0],e[1]-i[t]*n[1]]}function tV(t){return t?[t[0][1]-t[0][0],t[1][1]-t[1][0]]:[NaN,NaN]}var eV,nV,iV=E,rV=Io+"toolbox-dataZoom_",oV=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.render=function(t,e,n,i){this._brushController||(this._brushController=new lL(n.getZr()),this._brushController.on("brush",W(this._onBrush,this)).mount()),function(t,e,n,i,r){var o=n._isZoomActive;i&&"takeGlobalCursor"===i.type&&(o="dataZoomSelect"===i.key&&i.dataZoomSelectActive);n._isZoomActive=o,t.setIconStatus("zoom",o?"emphasis":"normal");var a=new Yz(sV(t),e,{include:["grid"]}),s=a.makePanelOpts(r,(function(t){return t.xAxisDeclared&&!t.yAxisDeclared?"lineX":!t.xAxisDeclared&&t.yAxisDeclared?"lineY":"rect"}));n._brushController.setPanels(s).enableBrush(!(!o||!s.length)&&{brushType:"auto",brushStyle:t.getModel("brushStyle").getItemStyle()})}(t,e,this,i,n),function(t,e){t.setIconStatus("back",function(t){return Gz(t).length}(e)>1?"emphasis":"normal")}(t,e)},e.prototype.onclick=function(t,e,n){aV[n].call(this)},e.prototype.remove=function(t,e){this._brushController&&this._brushController.unmount()},e.prototype.dispose=function(t,e){this._brushController&&this._brushController.dispose()},e.prototype._onBrush=function(t){var e=t.areas;if(t.isEnd&&e.length){var n={},i=this.ecModel;this._brushController.updateCovers([]),new Yz(sV(this.model),i,{include:["grid"]}).matchOutputRanges(e,i,(function(t,e,n){if("cartesian2d"===n.type){var i=t.brushType;"rect"===i?(r("x",n,e[0]),r("y",n,e[1])):r({lineX:"x",lineY:"y"}[i],n,e)}})),function(t,e){var n=Gz(t);Bz(e,(function(e,i){for(var r=n.length-1;r>=0&&!n[r][i];r--);if(r<0){var o=t.queryComponents({mainType:"dataZoom",subType:"select",id:i})[0];if(o){var a=o.getPercentRange();n[0][i]={dataZoomId:i,start:a[0],end:a[1]}}}})),n.push(e)}(i,n),this._dispatchZoomAction(n)}function r(t,e,r){var o=e.getAxis(t),a=o.model,s=function(t,e,n){var i;return n.eachComponent({mainType:"dataZoom",subType:"select"},(function(n){n.getAxisModel(t,e.componentIndex)&&(i=n)})),i}(t,a,i),l=s.findRepresentativeAxisProxy(a).getMinMaxSpan();null==l.minValueSpan&&null==l.maxValueSpan||(r=zk(0,r.slice(),o.scale.getExtent(),0,l.minValueSpan,l.maxValueSpan)),s&&(n[s.id]={dataZoomId:s.id,startValue:r[0],endValue:r[1]})}},e.prototype._dispatchZoomAction=function(t){var e=[];iV(t,(function(t,n){e.push(T(t))})),e.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:e})},e.getDefaultOption=function(t){return{show:!0,filterMode:"filter",icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:t.getLocaleModel().get(["toolbox","dataZoom","title"]),brushStyle:{borderWidth:0,color:"rgba(210,219,238,0.2)"}}},e}(_z),aV={zoom:function(){var t=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:t})},back:function(){this._dispatchZoomAction(function(t){var e=Gz(t),n=e[e.length-1];e.length>1&&e.pop();var i={};return Bz(n,(function(t,n){for(var r=e.length-1;r>=0;r--)if(t=e[r][n]){i[n]=t;break}})),i}(this.ecModel))}};function sV(t){var e={xAxisIndex:t.get("xAxisIndex",!0),yAxisIndex:t.get("yAxisIndex",!0),xAxisId:t.get("xAxisId",!0),yAxisId:t.get("yAxisId",!0)};return null==e.xAxisIndex&&null==e.xAxisId&&(e.xAxisIndex="all"),null==e.yAxisIndex&&null==e.yAxisId&&(e.yAxisIndex="all"),e}eV="dataZoom",nV=function(t){var e=t.getComponent("toolbox",0),n=["feature","dataZoom"];if(e&&null!=e.get(n)){var i=e.getModel(n),r=[],o=Fo(t,sV(i));return iV(o.xAxisModels,(function(t){return a(t,"xAxis","xAxisIndex")})),iV(o.yAxisModels,(function(t){return a(t,"yAxis","yAxisIndex")})),r}function a(t,e,n){var o=t.componentIndex,a={type:"select",$fromToolbox:!0,filterMode:i.get("filterMode",!0)||"filter",id:rV+e+o};a[n]=o,r.push(a)}},lt(null==od.get(eV)&&nV),od.set(eV,nV);var lV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.type="tooltip",e.dependencies=["axisPointer"],e.defaultOption={z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:null,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"#fff",shadowBlur:10,shadowColor:"rgba(0, 0, 0, .2)",shadowOffsetX:1,shadowOffsetY:2,borderRadius:4,borderWidth:1,padding:null,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#666",fontSize:14}},e}(zp);function uV(t){var e=t.get("confine");return null!=e?!!e:"richText"===t.get("renderMode")}function hV(t){if(r.domSupported)for(var e=document.documentElement.style,n=0,i=t.length;n-1?(u+="top:50%",h+="translateY(-50%) rotate("+(a="left"===s?-225:-45)+"deg)"):(u+="left:50%",h+="translateX(-50%) rotate("+(a="top"===s?225:45)+"deg)");var c=a*Math.PI/180,p=l+r,d=p*Math.abs(Math.cos(c))+p*Math.abs(Math.sin(c)),f=e+" solid "+r+"px;";return'
'}(n,i,r)),U(t))o.innerHTML=t+a;else if(t){o.innerHTML="",Y(t)||(t=[t]);for(var s=0;s=0?this._tryShow(n,i):"leave"===e&&this._hide(i))}),this))},e.prototype._keepShow=function(){var t=this._tooltipModel,e=this._ecModel,n=this._api,i=t.get("triggerOn");if(null!=this._lastX&&null!=this._lastY&&"none"!==i&&"click"!==i){var r=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout((function(){!n.isDisposed()&&r.manuallyShowTip(t,e,n,{x:r._lastX,y:r._lastY,dataByCoordSys:r._lastDataByCoordSys})}))}},e.prototype.manuallyShowTip=function(t,e,n,i){if(i.from!==this.uid&&!r.node&&n.getDom()){var o=CV(i,n);this._ticket="";var a=i.dataByCoordSys,s=function(t,e,n){var i=Go(t).queryOptionMap,r=i.keys()[0];if(!r||"series"===r)return;var o=Yo(e,r,i.get(r),{useDefault:!1,enableAll:!1,enableNone:!1}),a=o.models[0];if(!a)return;var s,l=n.getViewOfComponentModel(a);if(l.group.traverse((function(e){var n=rl(e).tooltipConfig;if(n&&n.name===t.name)return s=e,!0})),s)return{componentMainType:r,componentIndex:a.componentIndex,el:s}}(i,e,n);if(s){var l=s.el.getBoundingRect().clone();l.applyTransform(s.el.transform),this._tryShow({offsetX:l.x+l.width/2,offsetY:l.y+l.height/2,target:s.el,position:i.position,positionDefault:"bottom"},o)}else if(i.tooltip&&null!=i.x&&null!=i.y){var u=MV;u.x=i.x,u.y=i.y,u.update(),rl(u).tooltipConfig={name:null,option:i.tooltip},this._tryShow({offsetX:i.x,offsetY:i.y,target:u},o)}else if(a)this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,dataByCoordSys:a,tooltipOption:i.tooltipOption},o);else if(null!=i.seriesIndex){if(this._manuallyAxisShowTip(t,e,n,i))return;var h=RN(i,e),c=h.point[0],p=h.point[1];null!=c&&null!=p&&this._tryShow({offsetX:c,offsetY:p,target:h.el,position:i.position,positionDefault:"bottom"},o)}else null!=i.x&&null!=i.y&&(n.dispatchAction({type:"updateAxisPointer",x:i.x,y:i.y}),this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,target:n.getZr().findHover(i.x,i.y).target},o))}},e.prototype.manuallyHideTip=function(t,e,n,i){var r=this._tooltipContent;this._tooltipModel&&r.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,i.from!==this.uid&&this._hide(CV(i,n))},e.prototype._manuallyAxisShowTip=function(t,e,n,i){var r=i.seriesIndex,o=i.dataIndex,a=e.getComponent("axisPointer").coordSysAxesInfo;if(null!=r&&null!=o&&null!=a){var s=e.getSeriesByIndex(r);if(s)if("axis"===TV([s.getData().getItemModel(o),s,(s.coordinateSystem||{}).model],this._tooltipModel).get("trigger"))return n.dispatchAction({type:"updateAxisPointer",seriesIndex:r,dataIndex:o,position:i.position}),!0}},e.prototype._tryShow=function(t,e){var n=t.target;if(this._tooltipModel){this._lastX=t.offsetX,this._lastY=t.offsetY;var i=t.dataByCoordSys;if(i&&i.length)this._showAxisTooltip(i,t);else if(n){var r,o;if("legend"===rl(n).ssrType)return;this._lastDataByCoordSys=null,Oy(n,(function(t){return null!=rl(t).dataIndex?(r=t,!0):null!=rl(t).tooltipConfig?(o=t,!0):void 0}),!0),r?this._showSeriesItemTooltip(t,r,e):o?this._showComponentItemTooltip(t,o,e):this._hide(e)}else this._lastDataByCoordSys=null,this._hide(e)}},e.prototype._showOrMove=function(t,e){var n=t.get("showDelay");e=W(e,this),clearTimeout(this._showTimout),n>0?this._showTimout=setTimeout(e,n):e()},e.prototype._showAxisTooltip=function(t,e){var n=this._ecModel,i=this._tooltipModel,r=[e.offsetX,e.offsetY],o=TV([e.tooltipOption],i),a=this._renderMode,s=[],l=og("section",{blocks:[],noHeader:!0}),u=[],h=new yg;E(t,(function(t){E(t.dataByAxis,(function(t){var e=n.getComponent(t.axisDim+"Axis",t.axisIndex),r=t.value;if(e&&null!=r){var o=yN(r,e.axis,n,t.seriesDataIndices,t.valueLabelOpt),c=og("section",{header:o,noHeader:!ut(o),sortBlocks:!0,blocks:[]});l.blocks.push(c),E(t.seriesDataIndices,(function(l){var p=n.getSeriesByIndex(l.seriesIndex),d=l.dataIndexInside,f=p.getDataParams(d);if(!(f.dataIndex<0)){f.axisDim=t.axisDim,f.axisIndex=t.axisIndex,f.axisType=t.axisType,f.axisId=t.axisId,f.axisValue=S_(e.axis,{value:r}),f.axisValueLabel=o,f.marker=h.makeTooltipMarker("item",Sp(f.color),a);var g=bf(p.formatTooltip(d,!0,null)),y=g.frag;if(y){var v=TV([p],i).get("valueFormatter");c.blocks.push(v?A({valueFormatter:v},y):y)}g.text&&u.push(g.text),s.push(f)}}))}}))})),l.blocks.reverse(),u.reverse();var c=e.position,p=o.get("order"),d=cg(l,h,a,p,n.get("useUTC"),o.get("textStyle"));d&&u.unshift(d);var f="richText"===a?"\n\n":"
",g=u.join(f);this._showOrMove(o,(function(){this._updateContentNotChangedOnAxis(t,s)?this._updatePosition(o,c,r[0],r[1],this._tooltipContent,s):this._showTooltipContent(o,g,s,Math.random()+"",r[0],r[1],c,null,h)}))},e.prototype._showSeriesItemTooltip=function(t,e,n){var i=this._ecModel,r=rl(e),o=r.seriesIndex,a=i.getSeriesByIndex(o),s=r.dataModel||a,l=r.dataIndex,u=r.dataType,h=s.getData(u),c=this._renderMode,p=t.positionDefault,d=TV([h.getItemModel(l),s,a&&(a.coordinateSystem||{}).model],this._tooltipModel,p?{position:p}:null),f=d.get("trigger");if(null==f||"item"===f){var g=s.getDataParams(l,u),y=new yg;g.marker=y.makeTooltipMarker("item",Sp(g.color),c);var v=bf(s.formatTooltip(l,!1,u)),m=d.get("order"),x=d.get("valueFormatter"),_=v.frag,b=_?cg(x?A({valueFormatter:x},_):_,y,c,m,i.get("useUTC"),d.get("textStyle")):v.text,w="item_"+s.name+"_"+l;this._showOrMove(d,(function(){this._showTooltipContent(d,b,g,w,t.offsetX,t.offsetY,t.position,t.target,y)})),n({type:"showTip",dataIndexInside:l,dataIndex:h.getRawIndex(l),seriesIndex:o,from:this.uid})}},e.prototype._showComponentItemTooltip=function(t,e,n){var i="html"===this._renderMode,r=rl(e),o=r.tooltipConfig.option||{},a=o.encodeHTMLContent;if(U(o)){o={content:o,formatter:o},a=!0}a&&i&&o.content&&((o=T(o)).content=re(o.content));var s=[o],l=this._ecModel.getComponent(r.componentMainType,r.componentIndex);l&&s.push(l),s.push({formatter:o.content});var u=t.positionDefault,h=TV(s,this._tooltipModel,u?{position:u}:null),c=h.get("content"),p=Math.random()+"",d=new yg;this._showOrMove(h,(function(){var n=T(h.get("formatterParams")||{});this._showTooltipContent(h,c,n,p,t.offsetX,t.offsetY,t.position,e,d)})),n({type:"showTip",from:this.uid})},e.prototype._showTooltipContent=function(t,e,n,i,r,o,a,s,l){if(this._ticket="",t.get("showContent")&&t.get("show")){var u=this._tooltipContent;u.setEnterable(t.get("enterable"));var h=t.get("formatter");a=a||t.get("position");var c=e,p=this._getNearestPoint([r,o],n,t.get("trigger"),t.get("borderColor")).color;if(h)if(U(h)){var d=t.ecModel.get("useUTC"),f=Y(n)?n[0]:n;c=h,f&&f.axisType&&f.axisType.indexOf("time")>=0&&(c=Jc(f.axisValue,c,d)),c=bp(c,n,!0)}else if(X(h)){var g=W((function(e,i){e===this._ticket&&(u.setContent(i,l,t,p,a),this._updatePosition(t,a,r,o,u,n,s))}),this);this._ticket=i,c=h(n,i,g)}else c=h;u.setContent(c,l,t,p,a),u.show(t,p),this._updatePosition(t,a,r,o,u,n,s)}},e.prototype._getNearestPoint=function(t,e,n,i){return"axis"===n||Y(e)?{color:i||("html"===this._renderMode?"#fff":"none")}:Y(e)?void 0:{color:i||e.color||e.borderColor}},e.prototype._updatePosition=function(t,e,n,i,r,o,a){var s=this._api.getWidth(),l=this._api.getHeight();e=e||t.get("position");var u=r.getSize(),h=t.get("align"),c=t.get("verticalAlign"),p=a&&a.getBoundingRect().clone();if(a&&p.applyTransform(a.transform),X(e)&&(e=e([n,i],o,r.el,p,{viewSize:[s,l],contentSize:u.slice()})),Y(e))n=$r(e[0],s),i=$r(e[1],l);else if(q(e)){var d=e;d.width=u[0],d.height=u[1];var f=kp(d,{width:s,height:l});n=f.x,i=f.y,h=null,c=null}else if(U(e)&&a){var g=function(t,e,n,i){var r=n[0],o=n[1],a=Math.ceil(Math.SQRT2*i)+8,s=0,l=0,u=e.width,h=e.height;switch(t){case"inside":s=e.x+u/2-r/2,l=e.y+h/2-o/2;break;case"top":s=e.x+u/2-r/2,l=e.y-o-a;break;case"bottom":s=e.x+u/2-r/2,l=e.y+h+a;break;case"left":s=e.x-r-a,l=e.y+h/2-o/2;break;case"right":s=e.x+u+a,l=e.y+h/2-o/2}return[s,l]}(e,p,u,t.get("borderWidth"));n=g[0],i=g[1]}else{g=function(t,e,n,i,r,o,a){var s=n.getSize(),l=s[0],u=s[1];null!=o&&(t+l+o+2>i?t-=l+o:t+=o);null!=a&&(e+u+a>r?e-=u+a:e+=a);return[t,e]}(n,i,r,s,l,h?null:20,c?null:20);n=g[0],i=g[1]}if(h&&(n-=DV(h)?u[0]/2:"right"===h?u[0]:0),c&&(i-=DV(c)?u[1]/2:"bottom"===c?u[1]:0),uV(t)){g=function(t,e,n,i,r){var o=n.getSize(),a=o[0],s=o[1];return t=Math.min(t+a,i)-a,e=Math.min(e+s,r)-s,t=Math.max(t,0),e=Math.max(e,0),[t,e]}(n,i,r,s,l);n=g[0],i=g[1]}r.moveTo(n,i)},e.prototype._updateContentNotChangedOnAxis=function(t,e){var n=this._lastDataByCoordSys,i=this._cbParamsList,r=!!n&&n.length===t.length;return r&&E(n,(function(n,o){var a=n.dataByAxis||[],s=(t[o]||{}).dataByAxis||[];(r=r&&a.length===s.length)&&E(a,(function(t,n){var o=s[n]||{},a=t.seriesDataIndices||[],l=o.seriesDataIndices||[];(r=r&&t.value===o.value&&t.axisType===o.axisType&&t.axisId===o.axisId&&a.length===l.length)&&E(a,(function(t,e){var n=l[e];r=r&&t.seriesIndex===n.seriesIndex&&t.dataIndex===n.dataIndex})),i&&E(t.seriesDataIndices,(function(t){var n=t.seriesIndex,o=e[n],a=i[n];o&&a&&a.data!==o.data&&(r=!1)}))}))})),this._lastDataByCoordSys=t,this._cbParamsList=e,!!r},e.prototype._hide=function(t){this._lastDataByCoordSys=null,t({type:"hideTip",from:this.uid})},e.prototype.dispose=function(t,e){!r.node&&e.getDom()&&(Yg(this,"_updatePosition"),this._tooltipContent.dispose(),PN("itemTooltip",e))},e.type="tooltip",e}(Ag);function TV(t,e,n){var i,r=e.ecModel;n?(i=new Cc(n,r,r),i=new Cc(e.option,i,r)):i=e;for(var o=t.length-1;o>=0;o--){var a=t[o];a&&(a instanceof Cc&&(a=a.get("tooltip",!0)),U(a)&&(a={formatter:a}),a&&(i=new Cc(a,i,r)))}return i}function CV(t,e){return t.dispatchAction||W(e.dispatchAction,e)}function DV(t){return"center"===t||"middle"===t}var AV=["rect","polygon","keep","clear"];function kV(t,e){var n=To(t?t.brush:[]);if(n.length){var i=[];E(n,(function(t){var e=t.hasOwnProperty("toolbox")?t.toolbox:[];e instanceof Array&&(i=i.concat(e))}));var r=t&&t.toolbox;Y(r)&&(r=r[0]),r||(r={feature:{}},t.toolbox=[r]);var o=r.feature||(r.feature={}),a=o.brush||(o.brush={}),s=a.type||(a.type=[]);s.push.apply(s,i),function(t){var e={};E(t,(function(t){e[t]=1})),t.length=0,E(e,(function(e,n){t.push(n)}))}(s),e&&!s.length&&s.push.apply(s,AV)}}var LV=E;function PV(t){if(t)for(var e in t)if(t.hasOwnProperty(e))return!0}function OV(t,e,n){var i={};return LV(e,(function(e){var r,o=i[e]=((r=function(){}).prototype.__hidden=r.prototype,new r);LV(t[e],(function(t,i){if(kD.isValidType(i)){var r={type:i,visual:t};n&&n(r,e),o[i]=new kD(r),"opacity"===i&&((r=T(r)).type="colorAlpha",o.__hidden.__alphaForOpacity=new kD(r))}}))})),i}function RV(t,e,n){var i;E(n,(function(t){e.hasOwnProperty(t)&&PV(e[t])&&(i=!0)})),i&&E(n,(function(n){e.hasOwnProperty(n)&&PV(e[n])?t[n]=T(e[n]):delete t[n]}))}var NV={lineX:EV(0),lineY:EV(1),rect:{point:function(t,e,n){return t&&n.boundingRect.contain(t[0],t[1])},rect:function(t,e,n){return t&&n.boundingRect.intersect(t)}},polygon:{point:function(t,e,n){return t&&n.boundingRect.contain(t[0],t[1])&&P_(n.range,t[0],t[1])},rect:function(t,e,n){var i=n.range;if(!t||i.length<=1)return!1;var r=t.x,o=t.y,a=t.width,s=t.height,l=i[0];return!!(P_(i,r,o)||P_(i,r+a,o)||P_(i,r,o+s)||P_(i,r+a,o+s)||ze.create(t).contain(l[0],l[1])||Zh(r,o,r+a,o,i)||Zh(r,o,r,o+s,i)||Zh(r+a,o,r+a,o+s,i)||Zh(r,o+s,r+a,o+s,i))||void 0}}};function EV(t){var e=["x","y"],n=["width","height"];return{point:function(e,n,i){if(e){var r=i.range;return zV(e[t],r)}},rect:function(i,r,o){if(i){var a=o.range,s=[i[e[t]],i[e[t]]+i[n[t]]];return s[1]e[0][1]&&(e[0][1]=o[0]),o[1]e[1][1]&&(e[1][1]=o[1])}return e&&UV(e)}};function UV(t){return new ze(t[0][0],t[1][0],t[0][1]-t[0][0],t[1][1]-t[1][0])}var ZV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.init=function(t,e){this.ecModel=t,this.api=e,this.model,(this._brushController=new lL(e.getZr())).on("brush",W(this._onBrush,this)).mount()},e.prototype.render=function(t,e,n,i){this.model=t,this._updateController(t,e,n,i)},e.prototype.updateTransform=function(t,e,n,i){GV(e),this._updateController(t,e,n,i)},e.prototype.updateVisual=function(t,e,n,i){this.updateTransform(t,e,n,i)},e.prototype.updateView=function(t,e,n,i){this._updateController(t,e,n,i)},e.prototype._updateController=function(t,e,n,i){(!i||i.$from!==t.id)&&this._brushController.setPanels(t.brushTargetManager.makePanelOpts(n)).enableBrush(t.brushOption).updateCovers(t.areas.slice())},e.prototype.dispose=function(){this._brushController.dispose()},e.prototype._onBrush=function(t){var e=this.model.id,n=this.model.brushTargetManager.setOutputRanges(t.areas,this.ecModel);(!t.isEnd||t.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:e,areas:T(n),$from:e}),t.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:e,areas:T(n),$from:e})},e.type="brush",e}(Ag),jV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.areas=[],n.brushOption={},n}return n(e,t),e.prototype.optionUpdated=function(t,e){var n=this.option;!e&&RV(n,t,["inBrush","outOfBrush"]);var i=n.inBrush=n.inBrush||{};n.outOfBrush=n.outOfBrush||{color:"#ddd"},i.hasOwnProperty("liftZ")||(i.liftZ=5)},e.prototype.setAreas=function(t){t&&(this.areas=z(t,(function(t){return qV(this.option,t)}),this))},e.prototype.setBrushOption=function(t){this.brushOption=qV(this.option,t),this.brushType=this.brushOption.brushType},e.type="brush",e.dependencies=["geo","grid","xAxis","yAxis","parallel","series"],e.defaultOption={seriesIndex:"all",brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(210,219,238,0.3)",borderColor:"#D2DBEE"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},e}(zp);function qV(t,e){return C({brushType:t.brushType,brushMode:t.brushMode,transformable:t.transformable,brushStyle:new Cc(t.brushStyle).getItemStyle(),removeOnClick:t.removeOnClick,z:t.z},e,!0)}var KV=["rect","polygon","lineX","lineY","keep","clear"],$V=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.render=function(t,e,n){var i,r,o;e.eachComponent({mainType:"brush"},(function(t){i=t.brushType,r=t.brushOption.brushMode||"single",o=o||!!t.areas.length})),this._brushType=i,this._brushMode=r,E(t.get("type",!0),(function(e){t.setIconStatus(e,("keep"===e?"multiple"===r:"clear"===e?o:e===i)?"emphasis":"normal")}))},e.prototype.updateView=function(t,e,n){this.render(t,e,n)},e.prototype.getIcons=function(){var t=this.model,e=t.get("icon",!0),n={};return E(t.get("type",!0),(function(t){e[t]&&(n[t]=e[t])})),n},e.prototype.onclick=function(t,e,n){var i=this._brushType,r=this._brushMode;"clear"===n?(e.dispatchAction({type:"axisAreaSelect",intervals:[]}),e.dispatchAction({type:"brush",command:"clear",areas:[]})):e.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:"keep"===n?i:i!==n&&n,brushMode:"keep"===n?"multiple"===r?"single":"multiple":r}})},e.getDefaultOption=function(t){return{show:!0,type:KV.slice(),icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:t.getLocaleModel().get(["toolbox","brush","title"])}},e}(_z);var JV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.layoutMode={type:"box",ignoreSize:!0},n}return n(e,t),e.type="title",e.defaultOption={z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bold",color:"#464646"},subtextStyle:{fontSize:12,color:"#6E7079"}},e}(zp),QV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.render=function(t,e,n){if(this.group.removeAll(),t.get("show")){var i=this.group,r=t.getModel("textStyle"),o=t.getModel("subtextStyle"),a=t.get("textAlign"),s=rt(t.get("textBaseline"),t.get("textVerticalAlign")),l=new Xs({style:oc(r,{text:t.get("text"),fill:r.getTextColor()},{disableBox:!0}),z2:10}),u=l.getBoundingRect(),h=t.get("subtext"),c=new Xs({style:oc(o,{text:h,fill:o.getTextColor(),y:u.height+t.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),p=t.get("link"),d=t.get("sublink"),f=t.get("triggerEvent",!0);l.silent=!p&&!f,c.silent=!d&&!f,p&&l.on("click",(function(){Mp(p,"_"+t.get("target"))})),d&&c.on("click",(function(){Mp(d,"_"+t.get("subtarget"))})),rl(l).eventData=rl(c).eventData=f?{componentType:"title",componentIndex:t.componentIndex}:null,i.add(l),h&&i.add(c);var g=i.getBoundingRect(),y=t.getBoxLayoutParams();y.width=g.width,y.height=g.height;var v=kp(y,{width:n.getWidth(),height:n.getHeight()},t.get("padding"));a||("middle"===(a=t.get("left")||t.get("right"))&&(a="center"),"right"===a?v.x+=v.width:"center"===a&&(v.x+=v.width/2)),s||("center"===(s=t.get("top")||t.get("bottom"))&&(s="middle"),"bottom"===s?v.y+=v.height:"middle"===s&&(v.y+=v.height/2),s=s||"top"),i.x=v.x,i.y=v.y,i.markRedraw();var m={align:a,verticalAlign:s};l.setStyle(m),c.setStyle(m),g=i.getBoundingRect();var x=v.margin,_=t.getItemStyle(["color","opacity"]);_.fill=t.get("backgroundColor");var b=new Ws({shape:{x:g.x-x[3],y:g.y-x[0],width:g.width+x[1]+x[3],height:g.height+x[0]+x[2],r:t.get("borderRadius")},style:_,subPixelOptimize:!0,silent:!0});i.add(b)}},e.type="title",e}(Ag);var tB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.layoutMode="box",n}return n(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n),this._initData()},e.prototype.mergeOption=function(e){t.prototype.mergeOption.apply(this,arguments),this._initData()},e.prototype.setCurrentIndex=function(t){null==t&&(t=this.option.currentIndex);var e=this._data.count();this.option.loop?t=(t%e+e)%e:(t>=e&&(t=e-1),t<0&&(t=0)),this.option.currentIndex=t},e.prototype.getCurrentIndex=function(){return this.option.currentIndex},e.prototype.isIndexMax=function(){return this.getCurrentIndex()>=this._data.count()-1},e.prototype.setPlayState=function(t){this.option.autoPlay=!!t},e.prototype.getPlayState=function(){return!!this.option.autoPlay},e.prototype._initData=function(){var t,e=this.option,n=e.data||[],i=e.axisType,r=this._names=[];"category"===i?(t=[],E(n,(function(e,n){var i,o=Ro(Ao(e),"");q(e)?(i=T(e)).value=n:i=n,t.push(i),r.push(o)}))):t=n;var o={category:"ordinal",time:"time",value:"number"}[i]||"number";(this._data=new cx([{name:"value",type:o}],this)).initData(t,r)},e.prototype.getData=function(){return this._data},e.prototype.getCategories=function(){if("category"===this.get("axisType"))return this._names.slice()},e.type="timeline",e.defaultOption={z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:"#000"},data:[]},e}(zp),eB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.type="timeline.slider",e.defaultOption=kc(tB.defaultOption,{backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,orient:"horizontal",inverse:!1,tooltip:{trigger:"item"},symbol:"circle",symbolSize:12,lineStyle:{show:!0,width:2,color:"#DAE1F5"},label:{position:"auto",show:!0,interval:"auto",rotate:0,color:"#A4B1D7"},itemStyle:{color:"#A4B1D7",borderWidth:1},checkpointStyle:{symbol:"circle",symbolSize:15,color:"#316bf3",borderColor:"#fff",borderWidth:2,shadowBlur:2,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0, 0, 0, 0.3)",animation:!0,animationDuration:300,animationEasing:"quinticInOut"},controlStyle:{show:!0,showPlayBtn:!0,showPrevBtn:!0,showNextBtn:!0,itemSize:24,itemGap:12,position:"left",playIcon:"path://M31.6,53C17.5,53,6,41.5,6,27.4S17.5,1.8,31.6,1.8C45.7,1.8,57.2,13.3,57.2,27.4S45.7,53,31.6,53z M31.6,3.3 C18.4,3.3,7.5,14.1,7.5,27.4c0,13.3,10.8,24.1,24.1,24.1C44.9,51.5,55.7,40.7,55.7,27.4C55.7,14.1,44.9,3.3,31.6,3.3z M24.9,21.3 c0-2.2,1.6-3.1,3.5-2l10.5,6.1c1.899,1.1,1.899,2.9,0,4l-10.5,6.1c-1.9,1.1-3.5,0.2-3.5-2V21.3z",stopIcon:"path://M30.9,53.2C16.8,53.2,5.3,41.7,5.3,27.6S16.8,2,30.9,2C45,2,56.4,13.5,56.4,27.6S45,53.2,30.9,53.2z M30.9,3.5C17.6,3.5,6.8,14.4,6.8,27.6c0,13.3,10.8,24.1,24.101,24.1C44.2,51.7,55,40.9,55,27.6C54.9,14.4,44.1,3.5,30.9,3.5z M36.9,35.8c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H36c0.5,0,0.9,0.4,0.9,1V35.8z M27.8,35.8 c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H27c0.5,0,0.9,0.4,0.9,1L27.8,35.8L27.8,35.8z",nextIcon:"M2,18.5A1.52,1.52,0,0,1,.92,18a1.49,1.49,0,0,1,0-2.12L7.81,9.36,1,3.11A1.5,1.5,0,1,1,3,.89l8,7.34a1.48,1.48,0,0,1,.49,1.09,1.51,1.51,0,0,1-.46,1.1L3,18.08A1.5,1.5,0,0,1,2,18.5Z",prevIcon:"M10,.5A1.52,1.52,0,0,1,11.08,1a1.49,1.49,0,0,1,0,2.12L4.19,9.64,11,15.89a1.5,1.5,0,1,1-2,2.22L1,10.77A1.48,1.48,0,0,1,.5,9.68,1.51,1.51,0,0,1,1,8.58L9,.92A1.5,1.5,0,0,1,10,.5Z",prevBtnSize:18,nextBtnSize:18,color:"#A4B1D7",borderColor:"#A4B1D7",borderWidth:1},emphasis:{label:{show:!0,color:"#6f778d"},itemStyle:{color:"#316BF3"},controlStyle:{color:"#316BF3",borderColor:"#316BF3",borderWidth:2}},progress:{lineStyle:{color:"#316BF3"},itemStyle:{color:"#316BF3"},label:{color:"#6f778d"}},data:[]}),e}(tB);R(eB,_f.prototype);var nB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.type="timeline",e}(Ag),iB=function(t){function e(e,n,i,r){var o=t.call(this,e,n,i)||this;return o.type=r||"value",o}return n(e,t),e.prototype.getLabelModel=function(){return this.model.getModel("label")},e.prototype.isHorizontal=function(){return"horizontal"===this.model.get("orient")},e}(ab),rB=Math.PI,oB=Vo(),aB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.init=function(t,e){this.api=e},e.prototype.render=function(t,e,n){if(this.model=t,this.api=n,this.ecModel=e,this.group.removeAll(),t.get("show",!0)){var i=this._layout(t,n),r=this._createGroup("_mainGroup"),o=this._createGroup("_labelGroup"),a=this._axis=this._createAxis(i,t);t.formatTooltip=function(t){return og("nameValue",{noName:!0,value:a.scale.getLabel({value:t})})},E(["AxisLine","AxisTick","Control","CurrentPointer"],(function(e){this["_render"+e](i,r,a,t)}),this),this._renderAxisLabel(i,o,a,t),this._position(i,t)}this._doPlayStop(),this._updateTicksStatus()},e.prototype.remove=function(){this._clearTimer(),this.group.removeAll()},e.prototype.dispose=function(){this._clearTimer()},e.prototype._layout=function(t,e){var n,i,r,o,a=t.get(["label","position"]),s=t.get("orient"),l=function(t,e){return kp(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()},t.get("padding"))}(t,e),u={horizontal:"center",vertical:(n=null==a||"auto"===a?"horizontal"===s?l.y+l.height/2=0||"+"===n?"left":"right"},h={horizontal:n>=0||"+"===n?"top":"bottom",vertical:"middle"},c={horizontal:0,vertical:rB/2},p="vertical"===s?l.height:l.width,d=t.getModel("controlStyle"),f=d.get("show",!0),g=f?d.get("itemSize"):0,y=f?d.get("itemGap"):0,v=g+y,m=t.get(["label","rotate"])||0;m=m*rB/180;var x=d.get("position",!0),_=f&&d.get("showPlayBtn",!0),b=f&&d.get("showPrevBtn",!0),w=f&&d.get("showNextBtn",!0),S=0,M=p;"left"===x||"bottom"===x?(_&&(i=[0,0],S+=v),b&&(r=[S,0],S+=v),w&&(o=[M-g,0],M-=v)):(_&&(i=[M-g,0],M-=v),b&&(r=[0,0],S+=v),w&&(o=[M-g,0],M-=v));var I=[S,M];return t.get("inverse")&&I.reverse(),{viewRect:l,mainLength:p,orient:s,rotation:c[s],labelRotation:m,labelPosOpt:n,labelAlign:t.get(["label","align"])||u[s],labelBaseline:t.get(["label","verticalAlign"])||t.get(["label","baseline"])||h[s],playPosition:i,prevBtnPosition:r,nextBtnPosition:o,axisExtent:I,controlSize:g,controlGap:y}},e.prototype._position=function(t,e){var n=this._mainGroup,i=this._labelGroup,r=t.viewRect;if("vertical"===t.orient){var o=[1,0,0,1,0,0],a=r.x,s=r.y+r.height;we(o,o,[-a,-s]),Se(o,o,-rB/2),we(o,o,[a,s]),(r=r.clone()).applyTransform(o)}var l=y(r),u=y(n.getBoundingRect()),h=y(i.getBoundingRect()),c=[n.x,n.y],p=[i.x,i.y];p[0]=c[0]=l[0][0];var d,f=t.labelPosOpt;null==f||U(f)?(v(c,u,l,1,d="+"===f?0:1),v(p,h,l,1,1-d)):(v(c,u,l,1,d=f>=0?0:1),p[1]=c[1]+f);function g(t){t.originX=l[0][0]-t.x,t.originY=l[1][0]-t.y}function y(t){return[[t.x,t.x+t.width],[t.y,t.y+t.height]]}function v(t,e,n,i,r){t[i]+=n[i][r]-e[i][r]}n.setPosition(c),i.setPosition(p),n.rotation=i.rotation=t.rotation,g(n),g(i)},e.prototype._createAxis=function(t,e){var n=e.getData(),i=e.get("axisType"),r=function(t,e){if(e=e||t.get("type"),e)switch(e){case"category":return new Rx({ordinalMeta:t.getCategories(),extent:[1/0,-1/0]});case"time":return new Kx({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC")});default:return new Ex}}(e,i);r.getTicks=function(){return n.mapArray(["value"],(function(t){return{value:t}}))};var o=n.getDataExtent("value");r.setExtent(o[0],o[1]),r.calcNiceTicks();var a=new iB("value",r,t.axisExtent,i);return a.model=e,a},e.prototype._createGroup=function(t){var e=this[t]=new Br;return this.group.add(e),e},e.prototype._renderAxisLine=function(t,e,n,i){var r=n.getExtent();if(i.get(["lineStyle","show"])){var o=new Ku({shape:{x1:r[0],y1:0,x2:r[1],y2:0},style:A({lineCap:"round"},i.getModel("lineStyle").getLineStyle()),silent:!0,z2:1});e.add(o);var a=this._progressLine=new Ku({shape:{x1:r[0],x2:this._currentPointer?this._currentPointer.x:r[0],y1:0,y2:0},style:k({lineCap:"round",lineWidth:o.style.lineWidth},i.getModel(["progress","lineStyle"]).getLineStyle()),silent:!0,z2:1});e.add(a)}},e.prototype._renderAxisTick=function(t,e,n,i){var r=this,o=i.getData(),a=n.scale.getTicks();this._tickSymbols=[],E(a,(function(t){var a=n.dataToCoord(t.value),s=o.getItemModel(t.value),l=s.getModel("itemStyle"),u=s.getModel(["emphasis","itemStyle"]),h=s.getModel(["progress","itemStyle"]),c={x:a,y:0,onclick:W(r._changeTimeline,r,t.value)},p=sB(s,l,e,c);p.ensureState("emphasis").style=u.getItemStyle(),p.ensureState("progress").style=h.getItemStyle(),Ul(p);var d=rl(p);s.get("tooltip")?(d.dataIndex=t.value,d.dataModel=i):d.dataIndex=d.dataModel=null,r._tickSymbols.push(p)}))},e.prototype._renderAxisLabel=function(t,e,n,i){var r=this;if(n.getLabelModel().get("show")){var o=i.getData(),a=n.getViewLabels();this._tickLabels=[],E(a,(function(i){var a=i.tickValue,s=o.getItemModel(a),l=s.getModel("label"),u=s.getModel(["emphasis","label"]),h=s.getModel(["progress","label"]),c=n.dataToCoord(i.tickValue),p=new Xs({x:c,y:0,rotation:t.labelRotation-t.rotation,onclick:W(r._changeTimeline,r,a),silent:!1,style:oc(l,{text:i.formattedLabel,align:t.labelAlign,verticalAlign:t.labelBaseline})});p.ensureState("emphasis").style=oc(u),p.ensureState("progress").style=oc(h),e.add(p),Ul(p),oB(p).dataIndex=a,r._tickLabels.push(p)}))}},e.prototype._renderControl=function(t,e,n,i){var r=t.controlSize,o=t.rotation,a=i.getModel("controlStyle").getItemStyle(),s=i.getModel(["emphasis","controlStyle"]).getItemStyle(),l=i.getPlayState(),u=i.get("inverse",!0);function h(t,n,l,u){if(t){var h=Cr(rt(i.get(["controlStyle",n+"BtnSize"]),r),r),c=function(t,e,n,i){var r=i.style,o=Uh(t.get(["controlStyle",e]),i||{},new ze(n[0],n[1],n[2],n[3]));r&&o.setStyle(r);return o}(i,n+"Icon",[0,-h/2,h,h],{x:t[0],y:t[1],originX:r/2,originY:0,rotation:u?-o:0,rectHover:!0,style:a,onclick:l});c.ensureState("emphasis").style=s,e.add(c),Ul(c)}}h(t.nextBtnPosition,"next",W(this._changeTimeline,this,u?"-":"+")),h(t.prevBtnPosition,"prev",W(this._changeTimeline,this,u?"+":"-")),h(t.playPosition,l?"stop":"play",W(this._handlePlayClick,this,!l),!0)},e.prototype._renderCurrentPointer=function(t,e,n,i){var r=i.getData(),o=i.getCurrentIndex(),a=r.getItemModel(o).getModel("checkpointStyle"),s=this,l={onCreate:function(t){t.draggable=!0,t.drift=W(s._handlePointerDrag,s),t.ondragend=W(s._handlePointerDragend,s),lB(t,s._progressLine,o,n,i,!0)},onUpdate:function(t){lB(t,s._progressLine,o,n,i)}};this._currentPointer=sB(a,a,this._mainGroup,{},this._currentPointer,l)},e.prototype._handlePlayClick=function(t){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:t,from:this.uid})},e.prototype._handlePointerDrag=function(t,e,n){this._clearTimer(),this._pointerChangeTimeline([n.offsetX,n.offsetY])},e.prototype._handlePointerDragend=function(t){this._pointerChangeTimeline([t.offsetX,t.offsetY],!0)},e.prototype._pointerChangeTimeline=function(t,e){var n=this._toAxisCoord(t)[0],i=Qr(this._axis.getExtent().slice());n>i[1]&&(n=i[1]),n=0&&(a[o]=+a[o].toFixed(c)),[a,h]}var xB={min:H(mB,"min"),max:H(mB,"max"),average:H(mB,"average"),median:H(mB,"median")};function _B(t,e){if(e){var n=t.getData(),i=t.coordinateSystem,r=i&&i.dimensions;if(!function(t){return!isNaN(parseFloat(t.x))&&!isNaN(parseFloat(t.y))}(e)&&!Y(e.coord)&&Y(r)){var o=bB(e,n,i,t);if((e=T(e)).type&&xB[e.type]&&o.baseAxis&&o.valueAxis){var a=P(r,o.baseAxis.dim),s=P(r,o.valueAxis.dim),l=xB[e.type](n,o.baseDataDim,o.valueDataDim,a,s);e.coord=l[0],e.value=l[1]}else e.coord=[null!=e.xAxis?e.xAxis:e.radiusAxis,null!=e.yAxis?e.yAxis:e.angleAxis]}if(null!=e.coord&&Y(r))for(var u=e.coord,h=0;h<2;h++)xB[u[h]]&&(u[h]=MB(n,n.mapDimension(r[h]),u[h]));else e.coord=[];return e}}function bB(t,e,n,i){var r={};return null!=t.valueIndex||null!=t.valueDim?(r.valueDataDim=null!=t.valueIndex?e.getDimension(t.valueIndex):t.valueDim,r.valueAxis=n.getAxis(function(t,e){var n=t.getData().getDimensionInfo(e);return n&&n.coordDim}(i,r.valueDataDim)),r.baseAxis=n.getOtherAxis(r.valueAxis),r.baseDataDim=e.mapDimension(r.baseAxis.dim)):(r.baseAxis=i.getBaseAxis(),r.valueAxis=n.getOtherAxis(r.baseAxis),r.baseDataDim=e.mapDimension(r.baseAxis.dim),r.valueDataDim=e.mapDimension(r.valueAxis.dim)),r}function wB(t,e){return!(t&&t.containData&&e.coord&&!vB(e))||t.containData(e.coord)}function SB(t,e){return t?function(t,n,i,r){return If(r<2?t.coord&&t.coord[r]:t.value,e[r])}:function(t,n,i,r){return If(t.value,e[r])}}function MB(t,e,n){if("average"===n){var i=0,r=0;return t.each(e,(function(t,e){isNaN(t)||(i+=t,r++)})),i/r}return"median"===n?t.getMedian(e):t.getDataExtent(e)["max"===n?1:0]}var IB=Vo(),TB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.init=function(){this.markerGroupMap=yt()},e.prototype.render=function(t,e,n){var i=this,r=this.markerGroupMap;r.each((function(t){IB(t).keep=!1})),e.eachSeries((function(t){var r=gB.getMarkerModelFromSeries(t,i.type);r&&i.renderSeries(t,r,e,n)})),r.each((function(t){!IB(t).keep&&i.group.remove(t.group)}))},e.prototype.markKeep=function(t){IB(t).keep=!0},e.prototype.toggleBlurSeries=function(t,e){var n=this;E(t,(function(t){var i=gB.getMarkerModelFromSeries(t,n.type);i&&i.getData().eachItemGraphicEl((function(t){t&&(e?Nl(t):El(t))}))}))},e.type="marker",e}(Ag);function CB(t,e,n){var i=e.coordinateSystem;t.each((function(r){var o,a=t.getItemModel(r),s=$r(a.get("x"),n.getWidth()),l=$r(a.get("y"),n.getHeight());if(isNaN(s)||isNaN(l)){if(e.getMarkerPosition)o=e.getMarkerPosition(t.getValues(t.dimensions,r));else if(i){var u=t.get(i.dimensions[0],r),h=t.get(i.dimensions[1],r);o=i.dataToPoint([u,h])}}else o=[s,l];isNaN(s)||(o[0]=s),isNaN(l)||(o[1]=l),t.setItemLayout(r,o)}))}var DB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries((function(t){var e=gB.getMarkerModelFromSeries(t,"markPoint");e&&(CB(e.getData(),t,n),this.markerGroupMap.get(t.id).updateLayout())}),this)},e.prototype.renderSeries=function(t,e,n,i){var r=t.coordinateSystem,o=t.id,a=t.getData(),s=this.markerGroupMap,l=s.get(o)||s.set(o,new xS),u=function(t,e,n){var i;i=t?z(t&&t.dimensions,(function(t){return A(A({},e.getData().getDimensionInfo(e.getData().mapDimension(t))||{}),{name:t,ordinalMeta:null})})):[{name:"value",type:"float"}];var r=new cx(i,n),o=z(n.get("data"),H(_B,e));t&&(o=B(o,H(wB,t)));var a=SB(!!t,i);return r.initData(o,null,a),r}(r,t,e);e.setData(u),CB(e.getData(),t,i),u.each((function(t){var n=u.getItemModel(t),i=n.getShallow("symbol"),r=n.getShallow("symbolSize"),o=n.getShallow("symbolRotate"),s=n.getShallow("symbolOffset"),l=n.getShallow("symbolKeepAspect");if(X(i)||X(r)||X(o)||X(s)){var h=e.getRawValue(t),c=e.getDataParams(t);X(i)&&(i=i(h,c)),X(r)&&(r=r(h,c)),X(o)&&(o=o(h,c)),X(s)&&(s=s(h,c))}var p=n.getModel("itemStyle").getItemStyle(),d=Ay(a,"color");p.fill||(p.fill=d),u.setItemVisual(t,{symbol:i,symbolSize:r,symbolRotate:o,symbolOffset:s,symbolKeepAspect:l,style:p})})),l.updateData(u),this.group.add(l.group),u.eachItemGraphicEl((function(t){t.traverse((function(t){rl(t).dataModel=e}))})),this.markKeep(l),l.group.silent=e.get("silent")||t.get("silent")},e.type="markPoint",e}(TB);var AB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.createMarkerModelFromSeries=function(t,n,i){return new e(t,n,i)},e.type="markLine",e.defaultOption={z:5,symbol:["circle","arrow"],symbolSize:[8,16],symbolOffset:0,precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end",distance:5},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"},e}(gB),kB=Vo(),LB=function(t,e,n,i){var r,o=t.getData();if(Y(i))r=i;else{var a=i.type;if("min"===a||"max"===a||"average"===a||"median"===a||null!=i.xAxis||null!=i.yAxis){var s=void 0,l=void 0;if(null!=i.yAxis||null!=i.xAxis)s=e.getAxis(null!=i.yAxis?"y":"x"),l=it(i.yAxis,i.xAxis);else{var u=bB(i,o,e,t);s=u.valueAxis,l=MB(o,xx(o,u.valueDataDim),a)}var h="x"===s.dim?0:1,c=1-h,p=T(i),d={coord:[]};p.type=null,p.coord=[],p.coord[c]=-1/0,d.coord[c]=1/0;var f=n.get("precision");f>=0&&j(l)&&(l=+l.toFixed(Math.min(f,20))),p.coord[h]=d.coord[h]=l,r=[p,d,{type:a,valueIndex:i.valueIndex,value:l}]}else r=[]}var g=[_B(t,r[0]),_B(t,r[1]),A({},r[2])];return g[2].type=g[2].type||null,C(g[2],g[0]),C(g[2],g[1]),g};function PB(t){return!isNaN(t)&&!isFinite(t)}function OB(t,e,n,i){var r=1-t,o=i.dimensions[t];return PB(e[r])&&PB(n[r])&&e[t]===n[t]&&i.getAxis(o).containData(e[t])}function RB(t,e){if("cartesian2d"===t.type){var n=e[0].coord,i=e[1].coord;if(n&&i&&(OB(1,n,i,t)||OB(0,n,i,t)))return!0}return wB(t,e[0])&&wB(t,e[1])}function NB(t,e,n,i,r){var o,a=i.coordinateSystem,s=t.getItemModel(e),l=$r(s.get("x"),r.getWidth()),u=$r(s.get("y"),r.getHeight());if(isNaN(l)||isNaN(u)){if(i.getMarkerPosition)o=i.getMarkerPosition(t.getValues(t.dimensions,e));else{var h=a.dimensions,c=t.get(h[0],e),p=t.get(h[1],e);o=a.dataToPoint([c,p])}if(OS(a,"cartesian2d")){var d=a.getAxis("x"),f=a.getAxis("y");h=a.dimensions;PB(t.get(h[0],e))?o[0]=d.toGlobalCoord(d.getExtent()[n?0:1]):PB(t.get(h[1],e))&&(o[1]=f.toGlobalCoord(f.getExtent()[n?0:1]))}isNaN(l)||(o[0]=l),isNaN(u)||(o[1]=u)}else o=[l,u];t.setItemLayout(e,o)}var EB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries((function(t){var e=gB.getMarkerModelFromSeries(t,"markLine");if(e){var i=e.getData(),r=kB(e).from,o=kB(e).to;r.each((function(e){NB(r,e,!0,t,n),NB(o,e,!1,t,n)})),i.each((function(t){i.setItemLayout(t,[r.getItemLayout(t),o.getItemLayout(t)])})),this.markerGroupMap.get(t.id).updateLayout()}}),this)},e.prototype.renderSeries=function(t,e,n,i){var r=t.coordinateSystem,o=t.id,a=t.getData(),s=this.markerGroupMap,l=s.get(o)||s.set(o,new YA);this.group.add(l.group);var u=function(t,e,n){var i;i=t?z(t&&t.dimensions,(function(t){return A(A({},e.getData().getDimensionInfo(e.getData().mapDimension(t))||{}),{name:t,ordinalMeta:null})})):[{name:"value",type:"float"}];var r=new cx(i,n),o=new cx(i,n),a=new cx([],n),s=z(n.get("data"),H(LB,e,t,n));t&&(s=B(s,H(RB,t)));var l=SB(!!t,i);return r.initData(z(s,(function(t){return t[0]})),null,l),o.initData(z(s,(function(t){return t[1]})),null,l),a.initData(z(s,(function(t){return t[2]}))),a.hasItemOption=!0,{from:r,to:o,line:a}}(r,t,e),h=u.from,c=u.to,p=u.line;kB(e).from=h,kB(e).to=c,e.setData(p);var d=e.get("symbol"),f=e.get("symbolSize"),g=e.get("symbolRotate"),y=e.get("symbolOffset");function v(e,n,r){var o=e.getItemModel(n);NB(e,n,r,t,i);var s=o.getModel("itemStyle").getItemStyle();null==s.fill&&(s.fill=Ay(a,"color")),e.setItemVisual(n,{symbolKeepAspect:o.get("symbolKeepAspect"),symbolOffset:rt(o.get("symbolOffset",!0),y[r?0:1]),symbolRotate:rt(o.get("symbolRotate",!0),g[r?0:1]),symbolSize:rt(o.get("symbolSize"),f[r?0:1]),symbol:rt(o.get("symbol",!0),d[r?0:1]),style:s})}Y(d)||(d=[d,d]),Y(f)||(f=[f,f]),Y(g)||(g=[g,g]),Y(y)||(y=[y,y]),u.from.each((function(t){v(h,t,!0),v(c,t,!1)})),p.each((function(t){var e=p.getItemModel(t).getModel("lineStyle").getLineStyle();p.setItemLayout(t,[h.getItemLayout(t),c.getItemLayout(t)]),null==e.stroke&&(e.stroke=h.getItemVisual(t,"style").fill),p.setItemVisual(t,{fromSymbolKeepAspect:h.getItemVisual(t,"symbolKeepAspect"),fromSymbolOffset:h.getItemVisual(t,"symbolOffset"),fromSymbolRotate:h.getItemVisual(t,"symbolRotate"),fromSymbolSize:h.getItemVisual(t,"symbolSize"),fromSymbol:h.getItemVisual(t,"symbol"),toSymbolKeepAspect:c.getItemVisual(t,"symbolKeepAspect"),toSymbolOffset:c.getItemVisual(t,"symbolOffset"),toSymbolRotate:c.getItemVisual(t,"symbolRotate"),toSymbolSize:c.getItemVisual(t,"symbolSize"),toSymbol:c.getItemVisual(t,"symbol"),style:e})})),l.updateData(p),u.line.eachItemGraphicEl((function(t){rl(t).dataModel=e,t.traverse((function(t){rl(t).dataModel=e}))})),this.markKeep(l),l.group.silent=e.get("silent")||t.get("silent")},e.type="markLine",e}(TB);var zB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.createMarkerModelFromSeries=function(t,n,i){return new e(t,n,i)},e.type="markArea",e.defaultOption={z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}},e}(gB),VB=Vo(),BB=function(t,e,n,i){var r=i[0],o=i[1];if(r&&o){var a=_B(t,r),s=_B(t,o),l=a.coord,u=s.coord;l[0]=it(l[0],-1/0),l[1]=it(l[1],-1/0),u[0]=it(u[0],1/0),u[1]=it(u[1],1/0);var h=D([{},a,s]);return h.coord=[a.coord,s.coord],h.x0=a.x,h.y0=a.y,h.x1=s.x,h.y1=s.y,h}};function FB(t){return!isNaN(t)&&!isFinite(t)}function GB(t,e,n,i){var r=1-t;return FB(e[r])&&FB(n[r])}function WB(t,e){var n=e.coord[0],i=e.coord[1],r={coord:n,x:e.x0,y:e.y0},o={coord:i,x:e.x1,y:e.y1};return OS(t,"cartesian2d")?!(!n||!i||!GB(1,n,i)&&!GB(0,n,i))||function(t,e,n){return!(t&&t.containZone&&e.coord&&n.coord&&!vB(e)&&!vB(n))||t.containZone(e.coord,n.coord)}(t,r,o):wB(t,r)||wB(t,o)}function HB(t,e,n,i,r){var o,a=i.coordinateSystem,s=t.getItemModel(e),l=$r(s.get(n[0]),r.getWidth()),u=$r(s.get(n[1]),r.getHeight());if(isNaN(l)||isNaN(u)){if(i.getMarkerPosition){var h=t.getValues(["x0","y0"],e),c=t.getValues(["x1","y1"],e),p=a.clampData(h),d=a.clampData(c),f=[];"x0"===n[0]?f[0]=p[0]>d[0]?c[0]:h[0]:f[0]=p[0]>d[0]?h[0]:c[0],"y0"===n[1]?f[1]=p[1]>d[1]?c[1]:h[1]:f[1]=p[1]>d[1]?h[1]:c[1],o=i.getMarkerPosition(f,n,!0)}else{var g=[m=t.get(n[0],e),x=t.get(n[1],e)];a.clampData&&a.clampData(g,g),o=a.dataToPoint(g,!0)}if(OS(a,"cartesian2d")){var y=a.getAxis("x"),v=a.getAxis("y"),m=t.get(n[0],e),x=t.get(n[1],e);FB(m)?o[0]=y.toGlobalCoord(y.getExtent()["x0"===n[0]?0:1]):FB(x)&&(o[1]=v.toGlobalCoord(v.getExtent()["y0"===n[1]?0:1]))}isNaN(l)||(o[0]=l),isNaN(u)||(o[1]=u)}else o=[l,u];return o}var YB=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]],XB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries((function(t){var e=gB.getMarkerModelFromSeries(t,"markArea");if(e){var i=e.getData();i.each((function(e){var r=z(YB,(function(r){return HB(i,e,r,t,n)}));i.setItemLayout(e,r),i.getItemGraphicEl(e).setShape("points",r)}))}}),this)},e.prototype.renderSeries=function(t,e,n,i){var r=t.coordinateSystem,o=t.id,a=t.getData(),s=this.markerGroupMap,l=s.get(o)||s.set(o,{group:new Br});this.group.add(l.group),this.markKeep(l);var u=function(t,e,n){var i,r,o=["x0","y0","x1","y1"];if(t){var a=z(t&&t.dimensions,(function(t){var n=e.getData();return A(A({},n.getDimensionInfo(n.mapDimension(t))||{}),{name:t,ordinalMeta:null})}));r=z(o,(function(t,e){return{name:t,type:a[e%2].type}})),i=new cx(r,n)}else i=new cx(r=[{name:"value",type:"float"}],n);var s=z(n.get("data"),H(BB,e,t,n));t&&(s=B(s,H(WB,t)));var l=t?function(t,e,n,i){return If(t.coord[Math.floor(i/2)][i%2],r[i])}:function(t,e,n,i){return If(t.value,r[i])};return i.initData(s,null,l),i.hasItemOption=!0,i}(r,t,e);e.setData(u),u.each((function(e){var n=z(YB,(function(n){return HB(u,e,n,t,i)})),o=r.getAxis("x").scale,s=r.getAxis("y").scale,l=o.getExtent(),h=s.getExtent(),c=[o.parse(u.get("x0",e)),o.parse(u.get("x1",e))],p=[s.parse(u.get("y0",e)),s.parse(u.get("y1",e))];Qr(c),Qr(p);var d=!!(l[0]>c[1]||l[1]p[1]||h[1]=0},e.prototype.getOrient=function(){return"vertical"===this.get("orient")?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},e.type="legend.plain",e.dependencies=["series"],e.defaultOption={z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,symbolRotate:"inherit",symbolKeepAspect:!0,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",inactiveBorderWidth:"auto",itemStyle:{color:"inherit",opacity:"inherit",borderColor:"inherit",borderWidth:"auto",borderCap:"inherit",borderJoin:"inherit",borderDashOffset:"inherit",borderMiterLimit:"inherit"},lineStyle:{width:"auto",color:"inherit",inactiveColor:"#ccc",inactiveWidth:2,opacity:"inherit",type:"inherit",cap:"inherit",join:"inherit",dashOffset:"inherit",miterLimit:"inherit"},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:"sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}},e}(zp),ZB=H,jB=E,qB=Br,KB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.newlineDisabled=!1,n}return n(e,t),e.prototype.init=function(){this.group.add(this._contentGroup=new qB),this.group.add(this._selectorGroup=new qB),this._isFirstRender=!0},e.prototype.getContentGroup=function(){return this._contentGroup},e.prototype.getSelectorGroup=function(){return this._selectorGroup},e.prototype.render=function(t,e,n){var i=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),t.get("show",!0)){var r=t.get("align"),o=t.get("orient");r&&"auto"!==r||(r="right"===t.get("left")&&"vertical"===o?"right":"left");var a=t.get("selector",!0),s=t.get("selectorPosition",!0);!a||s&&"auto"!==s||(s="horizontal"===o?"end":"start"),this.renderInner(r,t,e,n,a,o,s);var l=t.getBoxLayoutParams(),u={width:n.getWidth(),height:n.getHeight()},h=t.get("padding"),c=kp(l,u,h),p=this.layoutInner(t,r,c,i,a,s),d=kp(k({width:p.width,height:p.height},l),u,h);this.group.x=d.x-p.x,this.group.y=d.y-p.y,this.group.markRedraw(),this.group.add(this._backgroundEl=Iz(p,t))}},e.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},e.prototype.renderInner=function(t,e,n,i,r,o,a){var s=this.getContentGroup(),l=yt(),u=e.get("selectedMode"),h=[];n.eachRawSeries((function(t){!t.get("legendHoverLink")&&h.push(t.id)})),jB(e.getData(),(function(r,o){var a=r.get("name");if(!this.newlineDisabled&&(""===a||"\n"===a)){var c=new qB;return c.newline=!0,void s.add(c)}var p=n.getSeriesByName(a)[0];if(!l.get(a)){if(p){var d=p.getData(),f=d.getVisual("legendLineStyle")||{},g=d.getVisual("legendIcon"),y=d.getVisual("style"),v=this._createItem(p,a,o,r,e,t,f,y,g,u,i);v.on("click",ZB($B,a,null,i,h)).on("mouseover",ZB(QB,p.name,null,i,h)).on("mouseout",ZB(tF,p.name,null,i,h)),n.ssr&&v.eachChild((function(t){var e=rl(t);e.seriesIndex=p.seriesIndex,e.dataIndex=o,e.ssrType="legend"})),l.set(a,!0)}else n.eachRawSeries((function(s){if(!l.get(a)&&s.legendVisualProvider){var c=s.legendVisualProvider;if(!c.containName(a))return;var p=c.indexOfName(a),d=c.getItemVisual(p,"style"),f=c.getItemVisual(p,"legendIcon"),g=qn(d.fill);g&&0===g[3]&&(g[3]=.2,d=A(A({},d),{fill:ri(g,"rgba")}));var y=this._createItem(s,a,o,r,e,t,{},d,f,u,i);y.on("click",ZB($B,null,a,i,h)).on("mouseover",ZB(QB,null,a,i,h)).on("mouseout",ZB(tF,null,a,i,h)),n.ssr&&y.eachChild((function(t){var e=rl(t);e.seriesIndex=s.seriesIndex,e.dataIndex=o,e.ssrType="legend"})),l.set(a,!0)}}),this);0}}),this),r&&this._createSelector(r,e,i,o,a)},e.prototype._createSelector=function(t,e,n,i,r){var o=this.getSelectorGroup();jB(t,(function(t){var i=t.type,r=new Xs({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){n.dispatchAction({type:"all"===i?"legendAllSelect":"legendInverseSelect",legendId:e.id})}});o.add(r),ic(r,{normal:e.getModel("selectorLabel"),emphasis:e.getModel(["emphasis","selectorLabel"])},{defaultText:t.title}),Ul(r)}))},e.prototype._createItem=function(t,e,n,i,r,o,a,s,l,u,h){var c=t.visualDrawType,p=r.get("itemWidth"),d=r.get("itemHeight"),f=r.isSelected(e),g=i.get("symbolRotate"),y=i.get("symbolKeepAspect"),v=i.get("icon"),m=function(t,e,n,i,r,o,a){function s(t,e){"auto"===t.lineWidth&&(t.lineWidth=e.lineWidth>0?2:0),jB(t,(function(n,i){"inherit"===t[i]&&(t[i]=e[i])}))}var l=e.getModel("itemStyle"),u=l.getItemStyle(),h=0===t.lastIndexOf("empty",0)?"fill":"stroke",c=l.getShallow("decal");u.decal=c&&"inherit"!==c?mv(c,a):i.decal,"inherit"===u.fill&&(u.fill=i[r]);"inherit"===u.stroke&&(u.stroke=i[h]);"inherit"===u.opacity&&(u.opacity=("fill"===r?i:n).opacity);s(u,i);var p=e.getModel("lineStyle"),d=p.getLineStyle();if(s(d,n),"auto"===u.fill&&(u.fill=i.fill),"auto"===u.stroke&&(u.stroke=i.fill),"auto"===d.stroke&&(d.stroke=i.fill),!o){var f=e.get("inactiveBorderWidth"),g=u[h];u.lineWidth="auto"===f?i.lineWidth>0&&g?2:0:u.lineWidth,u.fill=e.get("inactiveColor"),u.stroke=e.get("inactiveBorderColor"),d.stroke=p.get("inactiveColor"),d.lineWidth=p.get("inactiveWidth")}return{itemStyle:u,lineStyle:d}}(l=v||l||"roundRect",i,a,s,c,f,h),x=new qB,_=i.getModel("textStyle");if(!X(t.getLegendIcon)||v&&"inherit"!==v){var b="inherit"===v&&t.getData().getVisual("symbol")?"inherit"===g?t.getData().getVisual("symbolRotate"):g:0;x.add(function(t){var e=t.icon||"roundRect",n=Xy(e,0,0,t.itemWidth,t.itemHeight,t.itemStyle.fill,t.symbolKeepAspect);n.setStyle(t.itemStyle),n.rotation=(t.iconRotate||0)*Math.PI/180,n.setOrigin([t.itemWidth/2,t.itemHeight/2]),e.indexOf("empty")>-1&&(n.style.stroke=n.style.fill,n.style.fill="#fff",n.style.lineWidth=2);return n}({itemWidth:p,itemHeight:d,icon:l,iconRotate:b,itemStyle:m.itemStyle,lineStyle:m.lineStyle,symbolKeepAspect:y}))}else x.add(t.getLegendIcon({itemWidth:p,itemHeight:d,icon:l,iconRotate:g,itemStyle:m.itemStyle,lineStyle:m.lineStyle,symbolKeepAspect:y}));var w="left"===o?p+5:-5,S=o,M=r.get("formatter"),I=e;U(M)&&M?I=M.replace("{name}",null!=e?e:""):X(M)&&(I=M(e));var T=f?_.getTextColor():i.get("inactiveColor");x.add(new Xs({style:oc(_,{text:I,x:w,y:d/2,fill:T,align:S,verticalAlign:"middle"},{inheritColor:T})}));var C=new Ws({shape:x.getBoundingRect(),style:{fill:"transparent"}}),D=i.getModel("tooltip");return D.get("show")&&Kh({el:C,componentModel:r,itemName:e,itemTooltipOption:D.option}),x.add(C),x.eachChild((function(t){t.silent=!0})),C.silent=!u,this.getContentGroup().add(x),Ul(x),x.__legendDataIndex=n,x},e.prototype.layoutInner=function(t,e,n,i,r,o){var a=this.getContentGroup(),s=this.getSelectorGroup();Ap(t.get("orient"),a,t.get("itemGap"),n.width,n.height);var l=a.getBoundingRect(),u=[-l.x,-l.y];if(s.markRedraw(),a.markRedraw(),r){Ap("horizontal",s,t.get("selectorItemGap",!0));var h=s.getBoundingRect(),c=[-h.x,-h.y],p=t.get("selectorButtonGap",!0),d=t.getOrient().index,f=0===d?"width":"height",g=0===d?"height":"width",y=0===d?"y":"x";"end"===o?c[d]+=l[f]+p:u[d]+=h[f]+p,c[1-d]+=l[g]/2-h[g]/2,s.x=c[0],s.y=c[1],a.x=u[0],a.y=u[1];var v={x:0,y:0};return v[f]=l[f]+p+h[f],v[g]=Math.max(l[g],h[g]),v[y]=Math.min(0,h[y]+c[1-d]),v}return a.x=u[0],a.y=u[1],this.group.getBoundingRect()},e.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},e.type="legend.plain",e}(Ag);function $B(t,e,n,i){tF(t,e,n,i),n.dispatchAction({type:"legendToggleSelect",name:null!=t?t:e}),QB(t,e,n,i)}function JB(t){for(var e,n=t.getZr().storage.getDisplayList(),i=0,r=n.length;in[r],f=[-c.x,-c.y];e||(f[i]=l[s]);var g=[0,0],y=[-p.x,-p.y],v=rt(t.get("pageButtonGap",!0),t.get("itemGap",!0));d&&("end"===t.get("pageButtonPosition",!0)?y[i]+=n[r]-p[r]:g[i]+=p[r]+v);y[1-i]+=c[o]/2-p[o]/2,l.setPosition(f),u.setPosition(g),h.setPosition(y);var m={x:0,y:0};if(m[r]=d?n[r]:c[r],m[o]=Math.max(c[o],p[o]),m[a]=Math.min(0,p[a]+y[1-i]),u.__rectSize=n[r],d){var x={x:0,y:0};x[r]=Math.max(n[r]-p[r]-v,0),x[o]=m[o],u.setClipPath(new Ws({shape:x})),u.__rectSize=x[r]}else h.eachChild((function(t){t.attr({invisible:!0,silent:!0})}));var _=this._getPageInfo(t);return null!=_.pageIndex&&vh(l,{x:_.contentPosition[0],y:_.contentPosition[1]},d?t:null),this._updatePageInfoView(t,_),m},e.prototype._pageGo=function(t,e,n){var i=this._getPageInfo(e)[t];null!=i&&n.dispatchAction({type:"legendScroll",scrollDataIndex:i,legendId:e.id})},e.prototype._updatePageInfoView=function(t,e){var n=this._controllerGroup;E(["pagePrev","pageNext"],(function(i){var r=null!=e[i+"DataIndex"],o=n.childOfName(i);o&&(o.setStyle("fill",r?t.get("pageIconColor",!0):t.get("pageIconInactiveColor",!0)),o.cursor=r?"pointer":"default")}));var i=n.childOfName("pageText"),r=t.get("pageFormatter"),o=e.pageIndex,a=null!=o?o+1:0,s=e.pageCount;i&&r&&i.setStyle("text",U(r)?r.replace("{current}",null==a?"":a+"").replace("{total}",null==s?"":s+""):r({current:a,total:s}))},e.prototype._getPageInfo=function(t){var e=t.get("scrollDataIndex",!0),n=this.getContentGroup(),i=this._containerGroup.__rectSize,r=t.getOrient().index,o=lF[r],a=uF[r],s=this._findTargetItemIndex(e),l=n.children(),u=l[s],h=l.length,c=h?1:0,p={contentPosition:[n.x,n.y],pageCount:c,pageIndex:c-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!u)return p;var d=m(u);p.contentPosition[r]=-d.s;for(var f=s+1,g=d,y=d,v=null;f<=h;++f)(!(v=m(l[f]))&&y.e>g.s+i||v&&!x(v,g.s))&&(g=y.i>g.i?y:v)&&(null==p.pageNextDataIndex&&(p.pageNextDataIndex=g.i),++p.pageCount),y=v;for(f=s-1,g=d,y=d,v=null;f>=-1;--f)(v=m(l[f]))&&x(y,v.s)||!(g.i=e&&t.s<=e+i}},e.prototype._findTargetItemIndex=function(t){return this._showController?(this.getContentGroup().eachChild((function(i,r){var o=i.__legendDataIndex;null==n&&null!=o&&(n=r),o===t&&(e=r)})),null!=e?e:n):0;var e,n},e.type="legend.scroll",e}(KB);function cF(t){Vm(rF),t.registerComponentModel(oF),t.registerComponentView(hF),function(t){t.registerAction("legendScroll","legendscroll",(function(t,e){var n=t.scrollDataIndex;null!=n&&e.eachComponent({mainType:"legend",subType:"scroll",query:t},(function(t){t.setScrollDataIndex(n)}))}))}(t)}var pF=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.type="dataZoom.inside",e.defaultOption=kc(lz.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),e}(lz),dF=Vo();function fF(t,e,n){dF(t).coordSysRecordMap.each((function(t){var i=t.dataZoomInfoMap.get(e.uid);i&&(i.getRange=n)}))}function gF(t,e){if(e){t.removeKey(e.model.uid);var n=e.controller;n&&n.dispose()}}function yF(t,e){t.isDisposed()||t.dispatchAction({type:"dataZoom",animation:{easing:"cubicOut",duration:100},batch:e})}function vF(t,e,n,i){return t.coordinateSystem.containPoint([n,i])}function mF(t){t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,(function(t,e){var n=dF(e),i=n.coordSysRecordMap||(n.coordSysRecordMap=yt());i.each((function(t){t.dataZoomInfoMap=null})),t.eachComponent({mainType:"dataZoom",subType:"inside"},(function(t){E(az(t).infoList,(function(n){var r=n.model.uid,o=i.get(r)||i.set(r,function(t,e){var n={model:e,containsPoint:H(vF,e),dispatchAction:H(yF,t),dataZoomInfoMap:null,controller:null},i=n.controller=new nT(t.getZr());return E(["pan","zoom","scrollMove"],(function(t){i.on(t,(function(e){var i=[];n.dataZoomInfoMap.each((function(r){if(e.isAvailableBehavior(r.model.option)){var o=(r.getRange||{})[t],a=o&&o(r.dzReferCoordSysInfo,n.model.mainType,n.controller,e);!r.model.get("disabled",!0)&&a&&i.push({dataZoomId:r.model.id,start:a[0],end:a[1]})}})),i.length&&n.dispatchAction(i)}))})),n}(e,n.model));(o.dataZoomInfoMap||(o.dataZoomInfoMap=yt())).set(t.uid,{dzReferCoordSysInfo:n,model:t,getRange:null})}))})),i.each((function(t){var e,n=t.controller,r=t.dataZoomInfoMap;if(r){var o=r.keys()[0];null!=o&&(e=r.get(o))}if(e){var a=function(t){var e,n="type_",i={type_true:2,type_move:1,type_false:0,type_undefined:-1},r=!0;return t.each((function(t){var o=t.model,a=!o.get("disabled",!0)&&(!o.get("zoomLock",!0)||"move");i[n+a]>i[n+e]&&(e=a),r=r&&o.get("preventDefaultMouseMove",!0)})),{controlType:e,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!r}}}(r);n.enable(a.controlType,a.opt),n.setPointerChecker(t.containsPoint),Hg(t,"dispatchAction",e.model.get("throttle",!0),"fixRate")}else gF(i,t)}))}))}var xF=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataZoom.inside",e}return n(e,t),e.prototype.render=function(e,n,i){t.prototype.render.apply(this,arguments),e.noTarget()?this._clear():(this.range=e.getPercentRange(),fF(i,e,{pan:W(_F.pan,this),zoom:W(_F.zoom,this),scrollMove:W(_F.scrollMove,this)}))},e.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){!function(t,e){for(var n=dF(t).coordSysRecordMap,i=n.keys(),r=0;r0?s.pixelStart+s.pixelLength-s.pixel:s.pixel-s.pixelStart)/s.pixelLength*(o[1]-o[0])+o[0],u=Math.max(1/i.scale,0);o[0]=(o[0]-l)*u+l,o[1]=(o[1]-l)*u+l;var h=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();return zk(0,o,[0,100],0,h.minSpan,h.maxSpan),this.range=o,r[0]!==o[0]||r[1]!==o[1]?o:void 0}},pan:bF((function(t,e,n,i,r,o){var a=wF[i]([o.oldX,o.oldY],[o.newX,o.newY],e,r,n);return a.signal*(t[1]-t[0])*a.pixel/a.pixelLength})),scrollMove:bF((function(t,e,n,i,r,o){return wF[i]([0,0],[o.scrollDelta,o.scrollDelta],e,r,n).signal*(t[1]-t[0])*o.scrollDelta}))};function bF(t){return function(e,n,i,r){var o=this.range,a=o.slice(),s=e.axisModels[0];if(s)return zk(t(a,s,e,n,i,r),a,[0,100],"all"),this.range=a,o[0]!==a[0]||o[1]!==a[1]?a:void 0}}var wF={grid:function(t,e,n,i,r){var o=n.axis,a={},s=r.model.coordinateSystem.getRect();return t=t||[0,0],"x"===o.dim?(a.pixel=e[0]-t[0],a.pixelLength=s.width,a.pixelStart=s.x,a.signal=o.inverse?1:-1):(a.pixel=e[1]-t[1],a.pixelLength=s.height,a.pixelStart=s.y,a.signal=o.inverse?-1:1),a},polar:function(t,e,n,i,r){var o=n.axis,a={},s=r.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),u=s.getAngleAxis().getExtent();return t=t?s.pointToCoord(t):[0,0],e=s.pointToCoord(e),"radiusAxis"===n.mainType?(a.pixel=e[0]-t[0],a.pixelLength=l[1]-l[0],a.pixelStart=l[0],a.signal=o.inverse?1:-1):(a.pixel=e[1]-t[1],a.pixelLength=u[1]-u[0],a.pixelStart=u[0],a.signal=o.inverse?-1:1),a},singleAxis:function(t,e,n,i,r){var o=n.axis,a=r.model.coordinateSystem.getRect(),s={};return t=t||[0,0],"horizontal"===o.orient?(s.pixel=e[0]-t[0],s.pixelLength=a.width,s.pixelStart=a.x,s.signal=o.inverse?1:-1):(s.pixel=e[1]-t[1],s.pixelLength=a.height,s.pixelStart=a.y,s.signal=o.inverse?-1:1),s}};function SF(t){mz(t),t.registerComponentModel(pF),t.registerComponentView(xF),mF(t)}var MF=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.type="dataZoom.slider",e.layoutMode="box",e.defaultOption=kc(lz.defaultOption,{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,borderColor:"#d2dbee",borderRadius:3,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#d2dbee",width:.5},areaStyle:{color:"#d2dbee",opacity:.2}},selectedDataBackground:{lineStyle:{color:"#8fb0f7",width:.5},areaStyle:{color:"#8fb0f7",opacity:.2}},fillerColor:"rgba(135,175,274,0.2)",handleIcon:"path://M-9.35,34.56V42m0-40V9.5m-2,0h4a2,2,0,0,1,2,2v21a2,2,0,0,1-2,2h-4a2,2,0,0,1-2-2v-21A2,2,0,0,1-11.35,9.5Z",handleSize:"100%",handleStyle:{color:"#fff",borderColor:"#ACB8D1"},moveHandleSize:7,moveHandleIcon:"path://M-320.9-50L-320.9-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-348-41-339-50-320.9-50z M-212.3-50L-212.3-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-239.4-41-230.4-50-212.3-50z M-103.7-50L-103.7-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-130.9-41-121.8-50-103.7-50z",moveHandleStyle:{color:"#D2DBEE",opacity:.7},showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#6E7079"},brushSelect:!0,brushStyle:{color:"rgba(135,175,274,0.15)"},emphasis:{handleLabel:{show:!0},handleStyle:{borderColor:"#8FB0F7"},moveHandleStyle:{color:"#8FB0F7"}}}),e}(lz),IF=Ws,TF="horizontal",CF="vertical",DF=["line","bar","candlestick","scatter"],AF={easing:"cubicOut",duration:100,delay:0},kF=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._displayables={},n}return n(e,t),e.prototype.init=function(t,e){this.api=e,this._onBrush=W(this._onBrush,this),this._onBrushEnd=W(this._onBrushEnd,this)},e.prototype.render=function(e,n,i,r){if(t.prototype.render.apply(this,arguments),Hg(this,"_dispatchZoomAction",e.get("throttle"),"fixRate"),this._orient=e.getOrient(),!1!==e.get("show")){if(e.noTarget())return this._clear(),void this.group.removeAll();r&&"dataZoom"===r.type&&r.from===this.uid||this._buildView(),this._updateView()}else this.group.removeAll()},e.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){Yg(this,"_dispatchZoomAction");var t=this.api.getZr();t.off("mousemove",this._onBrush),t.off("mouseup",this._onBrushEnd)},e.prototype._buildView=function(){var t=this.group;t.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var e=this._displayables.sliderGroup=new Br;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),t.add(e),this._positionGroup()},e.prototype._resetLocation=function(){var t=this.dataZoomModel,e=this.api,n=t.get("brushSelect")?7:0,i=this._findCoordRect(),r={width:e.getWidth(),height:e.getHeight()},o=this._orient===TF?{right:r.width-i.x-i.width,top:r.height-30-7-n,width:i.width,height:30}:{right:7,top:i.y,width:30,height:i.height},a=Rp(t.option);E(["right","top","width","height"],(function(t){"ph"===a[t]&&(a[t]=o[t])}));var s=kp(a,r);this._location={x:s.x,y:s.y},this._size=[s.width,s.height],this._orient===CF&&this._size.reverse()},e.prototype._positionGroup=function(){var t=this.group,e=this._location,n=this._orient,i=this.dataZoomModel.getFirstTargetAxisModel(),r=i&&i.get("inverse"),o=this._displayables.sliderGroup,a=(this._dataShadowInfo||{}).otherAxisInverse;o.attr(n!==TF||r?n===TF&&r?{scaleY:a?1:-1,scaleX:-1}:n!==CF||r?{scaleY:a?-1:1,scaleX:-1,rotation:Math.PI/2}:{scaleY:a?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:a?1:-1,scaleX:1});var s=t.getBoundingRect([o]);t.x=e.x-s.x,t.y=e.y-s.y,t.markRedraw()},e.prototype._getViewExtent=function(){return[0,this._size[0]]},e.prototype._renderBackground=function(){var t=this.dataZoomModel,e=this._size,n=this._displayables.sliderGroup,i=t.get("brushSelect");n.add(new IF({silent:!0,shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:t.get("backgroundColor")},z2:-40}));var r=new IF({shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:"transparent"},z2:0,onclick:W(this._onClickPanel,this)}),o=this.api.getZr();i?(r.on("mousedown",this._onBrushStart,this),r.cursor="crosshair",o.on("mousemove",this._onBrush),o.on("mouseup",this._onBrushEnd)):(o.off("mousemove",this._onBrush),o.off("mouseup",this._onBrushEnd)),n.add(r)},e.prototype._renderDataShadow=function(){var t=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],t){var e=this._size,n=this._shadowSize||[],i=t.series,r=i.getRawData(),o=i.getShadowDim&&i.getShadowDim(),a=o&&r.getDimensionInfo(o)?i.getShadowDim():t.otherDim;if(null!=a){var s=this._shadowPolygonPts,l=this._shadowPolylinePts;if(r!==this._shadowData||a!==this._shadowDim||e[0]!==n[0]||e[1]!==n[1]){var u=r.getDataExtent(a),h=.3*(u[1]-u[0]);u=[u[0]-h,u[1]+h];var c,p=[0,e[1]],d=[0,e[0]],f=[[e[0],0],[0,0]],g=[],y=d[1]/(r.count()-1),v=0,m=Math.round(r.count()/e[0]);r.each([a],(function(t,e){if(m>0&&e%m)v+=y;else{var n=null==t||isNaN(t)||""===t,i=n?0:Kr(t,u,p,!0);n&&!c&&e?(f.push([f[f.length-1][0],0]),g.push([g[g.length-1][0],0])):!n&&c&&(f.push([v,0]),g.push([v,0])),f.push([v,i]),g.push([v,i]),v+=y,c=n}})),s=this._shadowPolygonPts=f,l=this._shadowPolylinePts=g}this._shadowData=r,this._shadowDim=a,this._shadowSize=[e[0],e[1]];for(var x=this.dataZoomModel,_=0;_<3;_++){var b=w(1===_);this._displayables.sliderGroup.add(b),this._displayables.dataShadowSegs.push(b)}}}function w(t){var e=x.getModel(t?"selectedDataBackground":"dataBackground"),n=new Br,i=new Xu({shape:{points:s},segmentIgnoreThreshold:1,style:e.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),r=new Zu({shape:{points:l},segmentIgnoreThreshold:1,style:e.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return n.add(i),n.add(r),n}},e.prototype._prepareDataShadowInfo=function(){var t=this.dataZoomModel,e=t.get("showDataShadow");if(!1!==e){var n,i=this.ecModel;return t.eachTargetAxis((function(r,o){E(t.getAxisProxy(r,o).getTargetSeriesModels(),(function(t){if(!(n||!0!==e&&P(DF,t.get("type"))<0)){var a,s=i.getComponent(rz(r),o).axis,l=function(t){var e={x:"y",y:"x",radius:"angle",angle:"radius"};return e[t]}(r),u=t.coordinateSystem;null!=l&&u.getOtherAxis&&(a=u.getOtherAxis(s).inverse),l=t.getData().mapDimension(l),n={thisAxis:s,series:t,thisDim:r,otherDim:l,otherAxisInverse:a}}}),this)}),this),n}},e.prototype._renderHandle=function(){var t=this.group,e=this._displayables,n=e.handles=[null,null],i=e.handleLabels=[null,null],r=this._displayables.sliderGroup,o=this._size,a=this.dataZoomModel,s=this.api,l=a.get("borderRadius")||0,u=a.get("brushSelect"),h=e.filler=new IF({silent:u,style:{fill:a.get("fillerColor")},textConfig:{position:"inside"}});r.add(h),r.add(new IF({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:o[0],height:o[1],r:l},style:{stroke:a.get("dataBackgroundColor")||a.get("borderColor"),lineWidth:1,fill:"rgba(0,0,0,0)"}})),E([0,1],(function(e){var o=a.get("handleIcon");!Wy[o]&&o.indexOf("path://")<0&&o.indexOf("image://")<0&&(o="path://"+o);var s=Xy(o,-1,0,2,2,null,!0);s.attr({cursor:LF(this._orient),draggable:!0,drift:W(this._onDragMove,this,e),ondragend:W(this._onDragEnd,this),onmouseover:W(this._showDataInfo,this,!0),onmouseout:W(this._showDataInfo,this,!1),z2:5});var l=s.getBoundingRect(),u=a.get("handleSize");this._handleHeight=$r(u,this._size[1]),this._handleWidth=l.width/l.height*this._handleHeight,s.setStyle(a.getModel("handleStyle").getItemStyle()),s.style.strokeNoScale=!0,s.rectHover=!0,s.ensureState("emphasis").style=a.getModel(["emphasis","handleStyle"]).getItemStyle(),Ul(s);var h=a.get("handleColor");null!=h&&(s.style.fill=h),r.add(n[e]=s);var c=a.getModel("textStyle"),p=(a.get("handleLabel")||{}).show||!1;t.add(i[e]=new Xs({silent:!0,invisible:!p,style:oc(c,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:c.getTextColor(),font:c.getFont()}),z2:10}))}),this);var c=h;if(u){var p=$r(a.get("moveHandleSize"),o[1]),d=e.moveHandle=new Ws({style:a.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:o[1]-.5,height:p}}),f=.8*p,g=e.moveHandleIcon=Xy(a.get("moveHandleIcon"),-f/2,-f/2,f,f,"#fff",!0);g.silent=!0,g.y=o[1]+p/2-.5,d.ensureState("emphasis").style=a.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var y=Math.min(o[1]/2,Math.max(p,10));(c=e.moveZone=new Ws({invisible:!0,shape:{y:o[1]-y,height:p+y}})).on("mouseover",(function(){s.enterEmphasis(d)})).on("mouseout",(function(){s.leaveEmphasis(d)})),r.add(d),r.add(g),r.add(c)}c.attr({draggable:!0,cursor:LF(this._orient),drift:W(this._onDragMove,this,"all"),ondragstart:W(this._showDataInfo,this,!0),ondragend:W(this._onDragEnd,this),onmouseover:W(this._showDataInfo,this,!0),onmouseout:W(this._showDataInfo,this,!1)})},e.prototype._resetInterval=function(){var t=this._range=this.dataZoomModel.getPercentRange(),e=this._getViewExtent();this._handleEnds=[Kr(t[0],[0,100],e,!0),Kr(t[1],[0,100],e,!0)]},e.prototype._updateInterval=function(t,e){var n=this.dataZoomModel,i=this._handleEnds,r=this._getViewExtent(),o=n.findRepresentativeAxisProxy().getMinMaxSpan(),a=[0,100];zk(e,i,r,n.get("zoomLock")?"all":t,null!=o.minSpan?Kr(o.minSpan,a,r,!0):null,null!=o.maxSpan?Kr(o.maxSpan,a,r,!0):null);var s=this._range,l=this._range=Qr([Kr(i[0],r,a,!0),Kr(i[1],r,a,!0)]);return!s||s[0]!==l[0]||s[1]!==l[1]},e.prototype._updateView=function(t){var e=this._displayables,n=this._handleEnds,i=Qr(n.slice()),r=this._size;E([0,1],(function(t){var i=e.handles[t],o=this._handleHeight;i.attr({scaleX:o/2,scaleY:o/2,x:n[t]+(t?-1:1),y:r[1]/2-o/2})}),this),e.filler.setShape({x:i[0],y:0,width:i[1]-i[0],height:r[1]});var o={x:i[0],width:i[1]-i[0]};e.moveHandle&&(e.moveHandle.setShape(o),e.moveZone.setShape(o),e.moveZone.getBoundingRect(),e.moveHandleIcon&&e.moveHandleIcon.attr("x",o.x+o.width/2));for(var a=e.dataShadowSegs,s=[0,i[0],i[1],r[0]],l=0;le[0]||n[1]<0||n[1]>e[1])){var i=this._handleEnds,r=(i[0]+i[1])/2,o=this._updateInterval("all",n[0]-r);this._updateView(),o&&this._dispatchZoomAction(!1)}},e.prototype._onBrushStart=function(t){var e=t.offsetX,n=t.offsetY;this._brushStart=new De(e,n),this._brushing=!0,this._brushStartTime=+new Date},e.prototype._onBrushEnd=function(t){if(this._brushing){var e=this._displayables.brushRect;if(this._brushing=!1,e){e.attr("ignore",!0);var n=e.shape;if(!(+new Date-this._brushStartTime<200&&Math.abs(n.width)<5)){var i=this._getViewExtent(),r=[0,100];this._range=Qr([Kr(n.x,i,r,!0),Kr(n.x+n.width,i,r,!0)]),this._handleEnds=[n.x,n.x+n.width],this._updateView(),this._dispatchZoomAction(!1)}}}},e.prototype._onBrush=function(t){this._brushing&&(de(t.event),this._updateBrushRect(t.offsetX,t.offsetY))},e.prototype._updateBrushRect=function(t,e){var n=this._displayables,i=this.dataZoomModel,r=n.brushRect;r||(r=n.brushRect=new IF({silent:!0,style:i.getModel("brushStyle").getItemStyle()}),n.sliderGroup.add(r)),r.attr("ignore",!1);var o=this._brushStart,a=this._displayables.sliderGroup,s=a.transformCoordToLocal(t,e),l=a.transformCoordToLocal(o.x,o.y),u=this._size;s[0]=Math.max(Math.min(u[0],s[0]),0),r.setShape({x:l[0],y:0,width:s[0]-l[0],height:u[1]})},e.prototype._dispatchZoomAction=function(t){var e=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:t?AF:null,start:e[0],end:e[1]})},e.prototype._findCoordRect=function(){var t,e=az(this.dataZoomModel).infoList;if(!t&&e.length){var n=e[0].model.coordinateSystem;t=n.getRect&&n.getRect()}if(!t){var i=this.api.getWidth(),r=this.api.getHeight();t={x:.2*i,y:.2*r,width:.6*i,height:.6*r}}return t},e.type="dataZoom.slider",e}(cz);function LF(t){return"vertical"===t?"ns-resize":"ew-resize"}function PF(t){t.registerComponentModel(MF),t.registerComponentView(kF),mz(t)}var OF=function(t,e,n){var i=T((RF[t]||{})[e]);return n&&Y(i)?i[i.length-1]:i},RF={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}},NF=kD.mapVisual,EF=kD.eachVisual,zF=Y,VF=E,BF=Qr,FF=Kr,GF=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.stateList=["inRange","outOfRange"],n.replacableOptionKeys=["inRange","outOfRange","target","controller","color"],n.layoutMode={type:"box",ignoreSize:!0},n.dataBound=[-1/0,1/0],n.targetVisuals={},n.controllerVisuals={},n}return n(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n)},e.prototype.optionUpdated=function(t,e){var n=this.option;!e&&RV(n,t,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},e.prototype.resetVisual=function(t){var e=this.stateList;t=W(t,this),this.controllerVisuals=OV(this.option.controller,e,t),this.targetVisuals=OV(this.option.target,e,t)},e.prototype.getItemSymbol=function(){return null},e.prototype.getTargetSeriesIndices=function(){var t=this.option.seriesIndex,e=[];return null==t||"all"===t?this.ecModel.eachSeries((function(t,n){e.push(n)})):e=To(t),e},e.prototype.eachTargetSeries=function(t,e){E(this.getTargetSeriesIndices(),(function(n){var i=this.ecModel.getSeriesByIndex(n);i&&t.call(e,i)}),this)},e.prototype.isTargetSeries=function(t){var e=!1;return this.eachTargetSeries((function(n){n===t&&(e=!0)})),e},e.prototype.formatValueText=function(t,e,n){var i,r=this.option,o=r.precision,a=this.dataBound,s=r.formatter;n=n||["<",">"],Y(t)&&(t=t.slice(),i=!0);var l=e?t:i?[u(t[0]),u(t[1])]:u(t);return U(s)?s.replace("{value}",i?l[0]:l).replace("{value2}",i?l[1]:l):X(s)?i?s(t[0],t[1]):s(t):i?t[0]===a[0]?n[0]+" "+l[1]:t[1]===a[1]?n[1]+" "+l[0]:l[0]+" - "+l[1]:l;function u(t){return t===a[0]?"min":t===a[1]?"max":(+t).toFixed(Math.min(o,20))}},e.prototype.resetExtent=function(){var t=this.option,e=BF([t.min,t.max]);this._dataExtent=e},e.prototype.getDataDimensionIndex=function(t){var e=this.option.dimension;if(null!=e)return t.getDimensionIndex(e);for(var n=t.dimensions,i=n.length-1;i>=0;i--){var r=n[i],o=t.getDimensionInfo(r);if(!o.isCalculationCoord)return o.storeDimIndex}},e.prototype.getExtent=function(){return this._dataExtent.slice()},e.prototype.completeVisualOption=function(){var t=this.ecModel,e=this.option,n={inRange:e.inRange,outOfRange:e.outOfRange},i=e.target||(e.target={}),r=e.controller||(e.controller={});C(i,n),C(r,n);var o=this.isCategory();function a(n){zF(e.color)&&!n.inRange&&(n.inRange={color:e.color.slice().reverse()}),n.inRange=n.inRange||{color:t.get("gradientColor")}}a.call(this,i),a.call(this,r),function(t,e,n){var i=t[e],r=t[n];i&&!r&&(r=t[n]={},VF(i,(function(t,e){if(kD.isValidType(e)){var n=OF(e,"inactive",o);null!=n&&(r[e]=n,"color"!==e||r.hasOwnProperty("opacity")||r.hasOwnProperty("colorAlpha")||(r.opacity=[0,0]))}})))}.call(this,i,"inRange","outOfRange"),function(t){var e=(t.inRange||{}).symbol||(t.outOfRange||{}).symbol,n=(t.inRange||{}).symbolSize||(t.outOfRange||{}).symbolSize,i=this.get("inactiveColor"),r=this.getItemSymbol()||"roundRect";VF(this.stateList,(function(a){var s=this.itemSize,l=t[a];l||(l=t[a]={color:o?i:[i]}),null==l.symbol&&(l.symbol=e&&T(e)||(o?r:[r])),null==l.symbolSize&&(l.symbolSize=n&&T(n)||(o?s[0]:[s[0],s[0]])),l.symbol=NF(l.symbol,(function(t){return"none"===t?r:t}));var u=l.symbolSize;if(null!=u){var h=-1/0;EF(u,(function(t){t>h&&(h=t)})),l.symbolSize=NF(u,(function(t){return FF(t,[0,h],[0,s[0]],!0)}))}}),this)}.call(this,r)},e.prototype.resetItemSize=function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},e.prototype.isCategory=function(){return!!this.option.categories},e.prototype.setSelected=function(t){},e.prototype.getSelected=function(){return null},e.prototype.getValueState=function(t){return null},e.prototype.getVisualMeta=function(t){return null},e.type="visualMap",e.dependencies=["series"],e.defaultOption={show:!0,z:4,seriesIndex:"all",min:0,max:200,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,textStyle:{color:"#333"}},e}(zp),WF=[20,140],HF=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.optionUpdated=function(e,n){t.prototype.optionUpdated.apply(this,arguments),this.resetExtent(),this.resetVisual((function(t){t.mappingMethod="linear",t.dataExtent=this.getExtent()})),this._resetRange()},e.prototype.resetItemSize=function(){t.prototype.resetItemSize.apply(this,arguments);var e=this.itemSize;(null==e[0]||isNaN(e[0]))&&(e[0]=WF[0]),(null==e[1]||isNaN(e[1]))&&(e[1]=WF[1])},e.prototype._resetRange=function(){var t=this.getExtent(),e=this.option.range;!e||e.auto?(t.auto=1,this.option.range=t):Y(e)&&(e[0]>e[1]&&e.reverse(),e[0]=Math.max(e[0],t[0]),e[1]=Math.min(e[1],t[1]))},e.prototype.completeVisualOption=function(){t.prototype.completeVisualOption.apply(this,arguments),E(this.stateList,(function(t){var e=this.option.controller[t].symbolSize;e&&e[0]!==e[1]&&(e[0]=e[1]/3)}),this)},e.prototype.setSelected=function(t){this.option.range=t.slice(),this._resetRange()},e.prototype.getSelected=function(){var t=this.getExtent(),e=Qr((this.get("range")||[]).slice());return e[0]>t[1]&&(e[0]=t[1]),e[1]>t[1]&&(e[1]=t[1]),e[0]=n[1]||t<=e[1])?"inRange":"outOfRange"},e.prototype.findTargetDataIndices=function(t){var e=[];return this.eachTargetSeries((function(n){var i=[],r=n.getData();r.each(this.getDataDimensionIndex(r),(function(e,n){t[0]<=e&&e<=t[1]&&i.push(n)}),this),e.push({seriesId:n.id,dataIndex:i})}),this),e},e.prototype.getVisualMeta=function(t){var e=YF(this,"outOfRange",this.getExtent()),n=YF(this,"inRange",this.option.range.slice()),i=[];function r(e,n){i.push({value:e,color:t(e,n)})}for(var o=0,a=0,s=n.length,l=e.length;at[1])break;n.push({color:this.getControllerVisual(o,"color",e),offset:r/100})}return n.push({color:this.getControllerVisual(t[1],"color",e),offset:1}),n},e.prototype._createBarPoints=function(t,e){var n=this.visualMapModel.itemSize;return[[n[0]-e[0],t[0]],[n[0],t[0]],[n[0],t[1]],[n[0]-e[1],t[1]]]},e.prototype._createBarGroup=function(t){var e=this._orient,n=this.visualMapModel.get("inverse");return new Br("horizontal"!==e||n?"horizontal"===e&&n?{scaleX:"bottom"===t?-1:1,rotation:-Math.PI/2}:"vertical"!==e||n?{scaleX:"left"===t?1:-1}:{scaleX:"left"===t?1:-1,scaleY:-1}:{scaleX:"bottom"===t?1:-1,rotation:Math.PI/2})},e.prototype._updateHandle=function(t,e){if(this._useHandle){var n=this._shapes,i=this.visualMapModel,r=n.handleThumbs,o=n.handleLabels,a=i.itemSize,s=i.getExtent(),l=this._applyTransform("left",n.mainGroup);KF([0,1],(function(u){var h=r[u];h.setStyle("fill",e.handlesColor[u]),h.y=t[u];var c=qF(t[u],[0,a[1]],s,!0),p=this.getControllerVisual(c,"symbolSize");h.scaleX=h.scaleY=p/a[0],h.x=a[0]-p/2;var d=Fh(n.handleLabelPoints[u],Bh(h,this.group));if("horizontal"===this._orient){var f="left"===l||"top"===l?(a[0]-p)/2:(a[0]-p)/-2;d[1]+=f}o[u].setStyle({x:d[0],y:d[1],text:i.formatValueText(this._dataInterval[u]),verticalAlign:"middle",align:"vertical"===this._orient?this._applyTransform("left",n.mainGroup):"center"})}),this)}},e.prototype._showIndicator=function(t,e,n,i){var r=this.visualMapModel,o=r.getExtent(),a=r.itemSize,s=[0,a[1]],l=this._shapes,u=l.indicator;if(u){u.attr("invisible",!1);var h=this.getControllerVisual(t,"color",{convertOpacityToAlpha:!0}),c=this.getControllerVisual(t,"symbolSize"),p=qF(t,o,s,!0),d=a[0]-c/2,f={x:u.x,y:u.y};u.y=p,u.x=d;var g=Fh(l.indicatorLabelPoint,Bh(u,this.group)),y=l.indicatorLabel;y.attr("invisible",!1);var v=this._applyTransform("left",l.mainGroup),m="horizontal"===this._orient;y.setStyle({text:(n||"")+r.formatValueText(e),verticalAlign:m?v:"middle",align:m?"center":v});var x={x:d,y:p,style:{fill:h}},_={style:{x:g[0],y:g[1]}};if(r.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var b={duration:100,easing:"cubicInOut",additive:!0};u.x=f.x,u.y=f.y,u.animateTo(x,b),y.animateTo(_,b)}else u.attr(x),y.attr(_);this._firstShowIndicator=!1;var w=this._shapes.handleLabels;if(w)for(var S=0;Sr[1]&&(u[1]=1/0),e&&(u[0]===-1/0?this._showIndicator(l,u[1],"< ",a):u[1]===1/0?this._showIndicator(l,u[0],"> ",a):this._showIndicator(l,l,"≈ ",a));var h=this._hoverLinkDataIndices,c=[];(e||eG(n))&&(c=this._hoverLinkDataIndices=n.findTargetDataIndices(u));var p=function(t,e){var n={},i={};return r(t||[],n),r(e||[],i,n),[o(n),o(i)];function r(t,e,n){for(var i=0,r=t.length;i=0&&(r.dimension=o,i.push(r))}})),t.getData().setVisual("visualMeta",i)}}];function aG(t,e,n,i){for(var r=e.targetVisuals[i],o=kD.prepareVisualTypes(r),a={color:Ay(t.getData(),"color")},s=0,l=o.length;s0:t.splitNumber>0)&&!t.calculable?"piecewise":"continuous"})),t.registerAction(iG,rG),E(oG,(function(e){t.registerVisual(t.PRIORITY.VISUAL.COMPONENT,e)})),t.registerPreprocessor(lG))}function pG(t){t.registerComponentModel(HF),t.registerComponentView(QF),cG(t)}var dG=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._pieceList=[],n}return n(e,t),e.prototype.optionUpdated=function(e,n){t.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var i=this._mode=this._determineMode();this._pieceList=[],fG[this._mode].call(this,this._pieceList),this._resetSelected(e,n);var r=this.option.categories;this.resetVisual((function(t,e){"categories"===i?(t.mappingMethod="category",t.categories=T(r)):(t.dataExtent=this.getExtent(),t.mappingMethod="piecewise",t.pieceList=z(this._pieceList,(function(t){return t=T(t),"inRange"!==e&&(t.visual=null),t})))}))},e.prototype.completeVisualOption=function(){var e=this.option,n={},i=kD.listVisualTypes(),r=this.isCategory();function o(t,e,n){return t&&t[e]&&t[e].hasOwnProperty(n)}E(e.pieces,(function(t){E(i,(function(e){t.hasOwnProperty(e)&&(n[e]=1)}))})),E(n,(function(t,n){var i=!1;E(this.stateList,(function(t){i=i||o(e,t,n)||o(e.target,t,n)}),this),!i&&E(this.stateList,(function(t){(e[t]||(e[t]={}))[n]=OF(n,"inRange"===t?"active":"inactive",r)}))}),this),t.prototype.completeVisualOption.apply(this,arguments)},e.prototype._resetSelected=function(t,e){var n=this.option,i=this._pieceList,r=(e?n:t).selected||{};if(n.selected=r,E(i,(function(t,e){var n=this.getSelectedMapKey(t);r.hasOwnProperty(n)||(r[n]=!0)}),this),"single"===n.selectedMode){var o=!1;E(i,(function(t,e){var n=this.getSelectedMapKey(t);r[n]&&(o?r[n]=!1:o=!0)}),this)}},e.prototype.getItemSymbol=function(){return this.get("itemSymbol")},e.prototype.getSelectedMapKey=function(t){return"categories"===this._mode?t.value+"":t.index+""},e.prototype.getPieceList=function(){return this._pieceList},e.prototype._determineMode=function(){var t=this.option;return t.pieces&&t.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},e.prototype.setSelected=function(t){this.option.selected=T(t)},e.prototype.getValueState=function(t){var e=kD.findPieceIndex(t,this._pieceList);return null!=e&&this.option.selected[this.getSelectedMapKey(this._pieceList[e])]?"inRange":"outOfRange"},e.prototype.findTargetDataIndices=function(t){var e=[],n=this._pieceList;return this.eachTargetSeries((function(i){var r=[],o=i.getData();o.each(this.getDataDimensionIndex(o),(function(e,i){kD.findPieceIndex(e,n)===t&&r.push(i)}),this),e.push({seriesId:i.id,dataIndex:r})}),this),e},e.prototype.getRepresentValue=function(t){var e;if(this.isCategory())e=t.value;else if(null!=t.value)e=t.value;else{var n=t.interval||[];e=n[0]===-1/0&&n[1]===1/0?0:(n[0]+n[1])/2}return e},e.prototype.getVisualMeta=function(t){if(!this.isCategory()){var e=[],n=["",""],i=this,r=this._pieceList.slice();if(r.length){var o=r[0].interval[0];o!==-1/0&&r.unshift({interval:[-1/0,o]}),(o=r[r.length-1].interval[1])!==1/0&&r.push({interval:[o,1/0]})}else r.push({interval:[-1/0,1/0]});var a=-1/0;return E(r,(function(t){var e=t.interval;e&&(e[0]>a&&s([a,e[0]],"outOfRange"),s(e.slice()),a=e[1])}),this),{stops:e,outerColors:n}}function s(r,o){var a=i.getRepresentValue({interval:r});o||(o=i.getValueState(a));var s=t(a,o);r[0]===-1/0?n[0]=s:r[1]===1/0?n[1]=s:e.push({value:r[0],color:s},{value:r[1],color:s})}},e.type="visualMap.piecewise",e.defaultOption=kc(GF.defaultOption,{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieces:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0}),e}(GF),fG={splitNumber:function(t){var e=this.option,n=Math.min(e.precision,20),i=this.getExtent(),r=e.splitNumber;r=Math.max(parseInt(r,10),1),e.splitNumber=r;for(var o=(i[1]-i[0])/r;+o.toFixed(n)!==o&&n<5;)n++;e.precision=n,o=+o.toFixed(n),e.minOpen&&t.push({interval:[-1/0,i[0]],close:[0,0]});for(var a=0,s=i[0];a","≥"][e[0]]];t.text=t.text||this.formatValueText(null!=t.value?t.value:t.interval,!1,n)}),this)}};function gG(t,e){var n=t.inverse;("vertical"===t.orient?!n:n)&&e.reverse()}var yG=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.doRender=function(){var t=this.group;t.removeAll();var e=this.visualMapModel,n=e.get("textGap"),i=e.textStyleModel,r=i.getFont(),o=i.getTextColor(),a=this._getItemAlign(),s=e.itemSize,l=this._getViewData(),u=l.endsText,h=it(e.get("showLabel",!0),!u),c=!e.get("selectedMode");u&&this._renderEndsText(t,u[0],s,h,a),E(l.viewPieceList,(function(i){var l=i.piece,u=new Br;u.onclick=W(this._onItemClick,this,l),this._enableHoverLink(u,i.indexInModelPieceList);var p=e.getRepresentValue(l);if(this._createItemSymbol(u,p,[0,0,s[0],s[1]],c),h){var d=this.visualMapModel.getValueState(p);u.add(new Xs({style:{x:"right"===a?-n:s[0]+n,y:s[1]/2,text:l.text,verticalAlign:"middle",align:a,font:r,fill:o,opacity:"outOfRange"===d?.5:1},silent:c}))}t.add(u)}),this),u&&this._renderEndsText(t,u[1],s,h,a),Ap(e.get("orient"),t,e.get("itemGap")),this.renderBackground(t),this.positionGroup(t)},e.prototype._enableHoverLink=function(t,e){var n=this;t.on("mouseover",(function(){return i("highlight")})).on("mouseout",(function(){return i("downplay")}));var i=function(t){var i=n.visualMapModel;i.option.hoverLink&&n.api.dispatchAction({type:t,batch:jF(i.findTargetDataIndices(e),i)})}},e.prototype._getItemAlign=function(){var t=this.visualMapModel,e=t.option;if("vertical"===e.orient)return ZF(t,this.api,t.itemSize);var n=e.align;return n&&"auto"!==n||(n="left"),n},e.prototype._renderEndsText=function(t,e,n,i,r){if(e){var o=new Br,a=this.visualMapModel.textStyleModel;o.add(new Xs({style:oc(a,{x:i?"right"===r?n[0]:0:n[0]/2,y:n[1]/2,verticalAlign:"middle",align:i?r:"center",text:e})})),t.add(o)}},e.prototype._getViewData=function(){var t=this.visualMapModel,e=z(t.getPieceList(),(function(t,e){return{piece:t,indexInModelPieceList:e}})),n=t.get("text"),i=t.get("orient"),r=t.get("inverse");return("horizontal"===i?r:!r)?e.reverse():n&&(n=n.slice().reverse()),{viewPieceList:e,endsText:n}},e.prototype._createItemSymbol=function(t,e,n,i){var r=Xy(this.getControllerVisual(e,"symbol"),n[0],n[1],n[2],n[3],this.getControllerVisual(e,"color"));r.silent=i,t.add(r)},e.prototype._onItemClick=function(t){var e=this.visualMapModel,n=e.option,i=n.selectedMode;if(i){var r=T(n.selected),o=e.getSelectedMapKey(t);"single"===i||!0===i?(r[o]=!0,E(r,(function(t,e){r[e]=e===o}))):r[o]=!r[o],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:r})}},e.type="visualMap.piecewise",e}(XF);function vG(t){t.registerComponentModel(dG),t.registerComponentView(yG),cG(t)}var mG={label:{enabled:!0},decal:{show:!1}},xG=Vo(),_G={};function bG(t,e){var n=t.getModel("aria");if(n.get("enabled")){var i=T(mG);C(i.label,t.getLocaleModel().get("aria"),!1),C(n.option,i,!1),function(){if(n.getModel("decal").get("show")){var e=yt();t.eachSeries((function(t){if(!t.isColorBySeries()){var n=e.get(t.type);n||(n={},e.set(t.type,n)),xG(t).scope=n}})),t.eachRawSeries((function(e){if(!t.isSeriesFiltered(e))if(X(e.enableAriaDecal))e.enableAriaDecal();else{var n=e.getData();if(e.isColorBySeries()){var i=pd(e.ecModel,e.name,_G,t.getSeriesCount()),r=n.getVisual("decal");n.setVisual("decal",u(r,i))}else{var o=e.getRawData(),a={},s=xG(e).scope;n.each((function(t){var e=n.getRawIndex(t);a[e]=t}));var l=o.count();o.each((function(t){var i=a[t],r=o.getName(t)||t+"",h=pd(e.ecModel,r,s,l),c=n.getItemVisual(i,"decal");n.setItemVisual(i,"decal",u(c,h))}))}}function u(t,e){var n=t?A(A({},e),t):e;return n.dirty=!0,n}}))}}(),function(){var i=e.getZr().dom;if(!i)return;var o=t.getLocaleModel().get("aria"),a=n.getModel("label");if(a.option=k(a.option,o),!a.get("enabled"))return;if(i.setAttribute("role","img"),a.get("description"))return void i.setAttribute("aria-label",a.get("description"));var s,l=t.getSeriesCount(),u=a.get(["data","maxCount"])||10,h=a.get(["series","maxCount"])||10,c=Math.min(l,h);if(l<1)return;var p=function(){var e=t.get("title");e&&e.length&&(e=e[0]);return e&&e.text}();s=p?r(a.get(["general","withTitle"]),{title:p}):a.get(["general","withoutTitle"]);var d=[];s+=r(l>1?a.get(["series","multiple","prefix"]):a.get(["series","single","prefix"]),{seriesCount:l}),t.eachSeries((function(e,n){if(n1?a.get(["series","multiple",o]):a.get(["series","single",o]),{seriesId:e.seriesIndex,seriesName:e.get("name"),seriesType:(_=e.subType,b=t.getLocaleModel().get(["series","typeNames"]),b[_]||b.chart)});var s=e.getData();if(s.count()>u)i+=r(a.get(["data","partialData"]),{displayCnt:u});else i+=a.get(["data","allData"]);for(var h=a.get(["data","separator","middle"]),p=a.get(["data","separator","end"]),f=a.get(["data","excludeDimensionId"]),g=[],y=0;y":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},MG=function(){function t(t){if(null==(this._condVal=U(t)?new RegExp(t):et(t)?t:null)){var e="";0,wo(e)}}return t.prototype.evaluate=function(t){var e=typeof t;return U(e)?this._condVal.test(t):!!j(e)&&this._condVal.test(t+"")},t}(),IG=function(){function t(){}return t.prototype.evaluate=function(){return this.value},t}(),TG=function(){function t(){}return t.prototype.evaluate=function(){for(var t=this.children,e=0;e2&&l.push(e),e=[t,n]}function f(t,n,i,r){BG(t,i)&&BG(n,r)||e.push(t,n,i,r,i,r)}function g(t,n,i,r,o,a){var s=Math.abs(n-t),l=4*Math.tan(s/4)/3,u=nM:C2&&l.push(e),l}function GG(t,e,n,i,r,o,a,s,l,u){if(BG(t,n)&&BG(e,i)&&BG(r,a)&&BG(o,s))l.push(a,s);else{var h=2/u,c=h*h,p=a-t,d=s-e,f=Math.sqrt(p*p+d*d);p/=f,d/=f;var g=n-t,y=i-e,v=r-a,m=o-s,x=g*g+y*y,_=v*v+m*m;if(x=0&&_-w*w=0)l.push(a,s);else{var S=[],M=[];wn(t,n,r,a,.5,S),wn(e,i,o,s,.5,M),GG(S[0],M[0],S[1],M[1],S[2],M[2],S[3],M[3],l,u),GG(S[4],M[4],S[5],M[5],S[6],M[6],S[7],M[7],l,u)}}}}function WG(t,e,n){var i=t[e],r=t[1-e],o=Math.abs(i/r),a=Math.ceil(Math.sqrt(o*n)),s=Math.floor(n/a);0===s&&(s=1,a=n);for(var l=[],u=0;u0)for(u=0;uMath.abs(u),c=WG([l,u],h?0:1,e),p=(h?s:u)/c.length,d=0;d1?null:new De(d*l+t,d*u+e)}function UG(t,e,n){var i=new De;De.sub(i,n,e),i.normalize();var r=new De;return De.sub(r,t,e),r.dot(i)}function ZG(t,e){var n=t[t.length-1];n&&n[0]===e[0]&&n[1]===e[1]||t.push(e)}function jG(t){var e=t.points,n=[],i=[];Ba(e,n,i);var r=new ze(n[0],n[1],i[0]-n[0],i[1]-n[1]),o=r.width,a=r.height,s=r.x,l=r.y,u=new De,h=new De;return o>a?(u.x=h.x=s+o/2,u.y=l,h.y=l+a):(u.y=h.y=l+a/2,u.x=s,h.x=s+o),function(t,e,n){for(var i=t.length,r=[],o=0;or,a=WG([i,r],o?0:1,e),s=o?"width":"height",l=o?"height":"width",u=o?"x":"y",h=o?"y":"x",c=t[s]/a.length,p=0;p0)for(var b=i/n,w=-i/2;w<=i/2;w+=b){var S=Math.sin(w),M=Math.cos(w),I=0;for(x=0;x0;l/=2){var u=0,h=0;(t&l)>0&&(u=1),(e&l)>0&&(h=1),s+=l*l*(3*u^h),0===h&&(1===u&&(t=l-1-t,e=l-1-e),a=t,t=e,e=a)}return s}function cW(t){var e=1/0,n=1/0,i=-1/0,r=-1/0,o=z(t,(function(t){var o=t.getBoundingRect(),a=t.getComputedTransform(),s=o.x+o.width/2+(a?a[4]:0),l=o.y+o.height/2+(a?a[5]:0);return e=Math.min(s,e),n=Math.min(l,n),i=Math.max(s,i),r=Math.max(l,r),[s,l]}));return z(o,(function(o,a){return{cp:o,z:hW(o[0],o[1],e,n,i,r),path:t[a]}})).sort((function(t,e){return t.z-e.z})).map((function(t){return t.path}))}function pW(t){return $G(t.path,t.count)}function dW(t){return Y(t[0])}function fW(t,e){for(var n=[],i=t.length,r=0;r=0;r--)if(!n[r].many.length){var l=n[s].many;if(l.length<=1){if(!s)return n;s=0}o=l.length;var u=Math.ceil(o/2);n[r].many=l.slice(u,o),n[s].many=l.slice(0,u),s++}return n}var gW={clone:function(t){for(var e=[],n=1-Math.pow(1-t.path.style.opacity,1/t.count),i=0;i0){var s,l,u=i.getModel("universalTransition").get("delay"),h=Object.assign({setToFinal:!0},a);dW(t)&&(s=t,l=e),dW(e)&&(s=e,l=t);for(var c=s?s===t:t.length>e.length,p=s?fW(l,s):fW(c?e:t,[c?t:e]),d=0,f=0;f1e4))for(var r=n.getIndices(),o=0;o0&&i.group.traverse((function(t){t instanceof ks&&!t.animators.length&&t.animateFrom({style:{opacity:0}},r)}))}))}function TW(t){var e=t.getModel("universalTransition").get("seriesKey");return e||t.id}function CW(t){return Y(t)?t.sort().join(","):t}function DW(t){if(t.hostModel)return t.hostModel.getModel("universalTransition").get("divideShape")}function AW(t,e){for(var n=0;n=0&&r.push({dataGroupId:e.oldDataGroupIds[n],data:e.oldData[n],divide:DW(e.oldData[n]),groupIdDim:t.dimension})})),E(To(t.to),(function(t){var i=AW(n.updatedSeries,t);if(i>=0){var r=n.updatedSeries[i].getData();o.push({dataGroupId:e.oldDataGroupIds[i],data:r,divide:DW(r),groupIdDim:t.dimension})}})),r.length>0&&o.length>0&&IW(r,o,i)}(t,i,n,e)}));else{var o=function(t,e){var n=yt(),i=yt(),r=yt();return E(t.oldSeries,(function(e,n){var o=t.oldDataGroupIds[n],a=t.oldData[n],s=TW(e),l=CW(s);i.set(l,{dataGroupId:o,data:a}),Y(s)&&E(s,(function(t){r.set(t,{key:l,dataGroupId:o,data:a})}))})),E(e.updatedSeries,(function(t){if(t.isUniversalTransitionEnabled()&&t.isAnimationEnabled()){var e=t.get("dataGroupId"),o=t.getData(),a=TW(t),s=CW(a),l=i.get(s);if(l)n.set(s,{oldSeries:[{dataGroupId:l.dataGroupId,divide:DW(l.data),data:l.data}],newSeries:[{dataGroupId:e,divide:DW(o),data:o}]});else if(Y(a)){var u=[];E(a,(function(t){var e=i.get(t);e.data&&u.push({dataGroupId:e.dataGroupId,divide:DW(e.data),data:e.data})})),u.length&&n.set(s,{oldSeries:u,newSeries:[{dataGroupId:e,data:o,divide:DW(o)}]})}else{var h=r.get(a);if(h){var c=n.get(h.key);c||(c={oldSeries:[{dataGroupId:h.dataGroupId,data:h.data,divide:DW(h.data)}],newSeries:[]},n.set(h.key,c)),c.newSeries.push({dataGroupId:e,data:o,divide:DW(o)})}}}})),n}(i,n);E(o.keys(),(function(t){var n=o.get(t);IW(n.oldSeries,n.newSeries,e)}))}E(n.updatedSeries,(function(t){t[_g]&&(t[_g]=!1)}))}for(var a=t.getSeries(),s=i.oldSeries=[],l=i.oldDataGroupIds=[],u=i.oldData=[],h=0;h{var Nc=Object.create;var H4=Object.defineProperty;var zc=Object.getOwnPropertyDescriptor;var Hc=Object.getOwnPropertyNames;var Lc=Object.getPrototypeOf,Ac=Object.prototype.hasOwnProperty;var Sc=(t,a)=>()=>(a||t((a={exports:{}}).exports,a),a.exports),qc=(t,a)=>{for(var r in a)H4(t,r,{get:a[r],enumerable:!0})},A4=(t,a,r,L4)=>{if(a&&typeof a=="object"||typeof a=="function")for(let z4 of Hc(a))!Ac.call(t,z4)&&z4!==r&&H4(t,z4,{get:()=>a[z4],enumerable:!(L4=zc(a,z4))||L4.enumerable});return t};var o=(t,a,r)=>(r=t!=null?Nc(Lc(t)):{},A4(a||!t||!t.__esModule?H4(r,"default",{value:t,enumerable:!0}):r,t)),Fc=t=>A4(H4({},"__esModule",{value:!0}),t);var e=Sc((l7,S4)=>{S4.exports=Vue});var r7={};qc(r7,{AddLocation:()=>F4,Aim:()=>b4,AlarmClock:()=>P4,Apple:()=>T4,ArrowDown:()=>W4,ArrowDownBold:()=>G4,ArrowLeft:()=>Z4,ArrowLeftBold:()=>K4,ArrowRight:()=>Y4,ArrowRightBold:()=>J4,ArrowUp:()=>to,ArrowUpBold:()=>eo,Avatar:()=>ro,Back:()=>lo,Baseball:()=>co,Basketball:()=>so,Bell:()=>uo,BellFilled:()=>fo,Bicycle:()=>vo,Bottom:()=>Eo,BottomLeft:()=>Bo,BottomRight:()=>ko,Bowl:()=>go,Box:()=>No,Briefcase:()=>Ho,Brush:()=>qo,BrushFilled:()=>Ao,Burger:()=>Do,Calendar:()=>yo,Camera:()=>Oo,CameraFilled:()=>Ro,CaretBottom:()=>Uo,CaretLeft:()=>Io,CaretRight:()=>Qo,CaretTop:()=>jo,Cellphone:()=>Xo,ChatDotRound:()=>$o,ChatDotSquare:()=>ot,ChatLineRound:()=>at,ChatLineSquare:()=>nt,ChatRound:()=>mt,ChatSquare:()=>pt,Check:()=>_t,Checked:()=>it,Cherry:()=>ut,Chicken:()=>vt,ChromeFilled:()=>Bt,CircleCheck:()=>Et,CircleCheckFilled:()=>kt,CircleClose:()=>Nt,CircleCloseFilled:()=>gt,CirclePlus:()=>At,CirclePlusFilled:()=>Ht,Clock:()=>qt,Close:()=>yt,CloseBold:()=>Dt,Cloudy:()=>Rt,Coffee:()=>Ut,CoffeeCup:()=>Ot,Coin:()=>It,ColdDrink:()=>Qt,Collection:()=>Xt,CollectionTag:()=>jt,Comment:()=>$t,Compass:()=>o6,Connection:()=>a6,Coordinate:()=>n6,CopyDocument:()=>m6,Cpu:()=>p6,CreditCard:()=>_6,Crop:()=>i6,DArrowLeft:()=>u6,DArrowRight:()=>v6,DCaret:()=>B6,DataAnalysis:()=>k6,DataBoard:()=>E6,DataLine:()=>g6,Delete:()=>A6,DeleteFilled:()=>N6,DeleteLocation:()=>H6,Dessert:()=>q6,Discount:()=>D6,Dish:()=>R6,DishDot:()=>y6,Document:()=>X6,DocumentAdd:()=>O6,DocumentChecked:()=>U6,DocumentCopy:()=>I6,DocumentDelete:()=>Q6,DocumentRemove:()=>j6,Download:()=>$6,Drizzling:()=>o3,Edit:()=>n3,EditPen:()=>a3,Eleme:()=>p3,ElemeFilled:()=>m3,ElementPlus:()=>_3,Expand:()=>i3,Failed:()=>u3,Female:()=>v3,Files:()=>B3,Film:()=>k3,Filter:()=>E3,Finished:()=>g3,FirstAidKit:()=>N3,Flag:()=>H3,Fold:()=>A3,Folder:()=>U3,FolderAdd:()=>q3,FolderChecked:()=>D3,FolderDelete:()=>y3,FolderOpened:()=>R3,FolderRemove:()=>O3,Food:()=>I3,Football:()=>Q3,ForkSpoon:()=>j3,Fries:()=>X3,FullScreen:()=>$3,Goblet:()=>ma,GobletFull:()=>oa,GobletSquare:()=>na,GobletSquareFull:()=>aa,GoldMedal:()=>pa,Goods:()=>ia,GoodsFilled:()=>_a,Grape:()=>ua,Grid:()=>va,Guide:()=>Ba,Handbag:()=>ka,Headset:()=>Ea,Help:()=>Na,HelpFilled:()=>ga,Hide:()=>Ha,Histogram:()=>Aa,HomeFilled:()=>qa,HotWater:()=>Da,House:()=>ya,IceCream:()=>Ua,IceCreamRound:()=>Ra,IceCreamSquare:()=>Oa,IceDrink:()=>Ia,IceTea:()=>Qa,InfoFilled:()=>ja,Iphone:()=>Xa,Key:()=>$a,KnifeFork:()=>o8,Lightning:()=>a8,Link:()=>n8,List:()=>m8,Loading:()=>p8,Location:()=>u8,LocationFilled:()=>_8,LocationInformation:()=>i8,Lock:()=>v8,Lollipop:()=>B8,MagicStick:()=>k8,Magnet:()=>E8,Male:()=>g8,Management:()=>N8,MapLocation:()=>H8,Medal:()=>A8,Memo:()=>q8,Menu:()=>D8,Message:()=>R8,MessageBox:()=>y8,Mic:()=>O8,Microphone:()=>U8,MilkTea:()=>I8,Minus:()=>Q8,Money:()=>j8,Monitor:()=>X8,Moon:()=>or,MoonNight:()=>$8,More:()=>nr,MoreFilled:()=>ar,MostlyCloudy:()=>mr,Mouse:()=>pr,Mug:()=>_r,Mute:()=>ur,MuteNotification:()=>ir,NoSmoking:()=>vr,Notebook:()=>Br,Notification:()=>kr,Odometer:()=>Er,OfficeBuilding:()=>gr,Open:()=>Nr,Operation:()=>Hr,Opportunity:()=>Ar,Orange:()=>qr,Paperclip:()=>Dr,PartlyCloudy:()=>yr,Pear:()=>Rr,Phone:()=>Ur,PhoneFilled:()=>Or,Picture:()=>jr,PictureFilled:()=>Ir,PictureRounded:()=>Qr,PieChart:()=>Xr,Place:()=>$r,Platform:()=>on,Plus:()=>an,Pointer:()=>nn,Position:()=>mn,Postcard:()=>pn,Pouring:()=>_n,Present:()=>dn,PriceTag:()=>hn,Printer:()=>wn,Promotion:()=>xn,QuartzWatch:()=>Cn,QuestionFilled:()=>Vn,Rank:()=>Mn,Reading:()=>Ln,ReadingLamp:()=>zn,Refresh:()=>bn,RefreshLeft:()=>Sn,RefreshRight:()=>Fn,Refrigerator:()=>Pn,Remove:()=>Gn,RemoveFilled:()=>Tn,Right:()=>Wn,ScaleToOriginal:()=>Kn,School:()=>Zn,Scissor:()=>Jn,Search:()=>Yn,Select:()=>el,Sell:()=>tl,SemiSelect:()=>rl,Service:()=>ll,SetUp:()=>cl,Setting:()=>sl,Share:()=>fl,Ship:()=>dl,Shop:()=>hl,ShoppingBag:()=>wl,ShoppingCart:()=>Cl,ShoppingCartFull:()=>xl,ShoppingTrolley:()=>Vl,Smoking:()=>Ml,Soccer:()=>zl,SoldOut:()=>Ll,Sort:()=>bl,SortDown:()=>Sl,SortUp:()=>Fl,Stamp:()=>Pl,Star:()=>Gl,StarFilled:()=>Tl,Stopwatch:()=>Wl,SuccessFilled:()=>Kl,Sugar:()=>Zl,Suitcase:()=>Yl,SuitcaseLine:()=>Jl,Sunny:()=>em,Sunrise:()=>tm,Sunset:()=>rm,Switch:()=>sm,SwitchButton:()=>lm,SwitchFilled:()=>cm,TakeawayBox:()=>fm,Ticket:()=>dm,Tickets:()=>hm,Timer:()=>wm,ToiletPaper:()=>xm,Tools:()=>Cm,Top:()=>zm,TopLeft:()=>Vm,TopRight:()=>Mm,TrendCharts:()=>Lm,Trophy:()=>Fm,TrophyBase:()=>Sm,TurnOff:()=>bm,Umbrella:()=>Pm,Unlock:()=>Tm,Upload:()=>Wm,UploadFilled:()=>Gm,User:()=>Zm,UserFilled:()=>Km,Van:()=>Jm,VideoCamera:()=>ec,VideoCameraFilled:()=>Ym,VideoPause:()=>tc,VideoPlay:()=>rc,View:()=>lc,Wallet:()=>sc,WalletFilled:()=>cc,WarnTriangleFilled:()=>fc,Warning:()=>hc,WarningFilled:()=>dc,Watch:()=>wc,Watermelon:()=>xc,WindPower:()=>Cc,ZoomIn:()=>Vc,ZoomOut:()=>Mc});var q4=o(e()),c=o(e()),Dc=(0,q4.defineComponent)({name:"AddLocation",__name:"add-location",setup(t){return(a,r)=>((0,c.openBlock)(),(0,c.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,c.createElementVNode)("path",{fill:"currentColor",d:"M288 896h448q32 0 32 32t-32 32H288q-32 0-32-32t32-32"}),(0,c.createElementVNode)("path",{fill:"currentColor",d:"M800 416a288 288 0 1 0-576 0c0 118.144 94.528 272.128 288 456.576C705.472 688.128 800 534.144 800 416M512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544"}),(0,c.createElementVNode)("path",{fill:"currentColor",d:"M544 384h96a32 32 0 1 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64h96v-96a32 32 0 0 1 64 0z"})]))}}),F4=Dc;var D4=o(e()),L=o(e()),bc=(0,D4.defineComponent)({name:"Aim",__name:"aim",setup(t){return(a,r)=>((0,L.openBlock)(),(0,L.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,L.createElementVNode)("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),(0,L.createElementVNode)("path",{fill:"currentColor",d:"M512 96a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V128a32 32 0 0 1 32-32m0 576a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V704a32 32 0 0 1 32-32M96 512a32 32 0 0 1 32-32h192a32 32 0 0 1 0 64H128a32 32 0 0 1-32-32m576 0a32 32 0 0 1 32-32h192a32 32 0 1 1 0 64H704a32 32 0 0 1-32-32"})]))}}),b4=bc;var y4=o(e()),A=o(e()),yc=(0,y4.defineComponent)({name:"AlarmClock",__name:"alarm-clock",setup(t){return(a,r)=>((0,A.openBlock)(),(0,A.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,A.createElementVNode)("path",{fill:"currentColor",d:"M512 832a320 320 0 1 0 0-640 320 320 0 0 0 0 640m0 64a384 384 0 1 1 0-768 384 384 0 0 1 0 768"}),(0,A.createElementVNode)("path",{fill:"currentColor",d:"m292.288 824.576 55.424 32-48 83.136a32 32 0 1 1-55.424-32zm439.424 0-55.424 32 48 83.136a32 32 0 1 0 55.424-32zM512 512h160a32 32 0 1 1 0 64H480a32 32 0 0 1-32-32V320a32 32 0 0 1 64 0zM90.496 312.256A160 160 0 0 1 312.32 90.496l-46.848 46.848a96 96 0 0 0-128 128L90.56 312.256zm835.264 0A160 160 0 0 0 704 90.496l46.848 46.848a96 96 0 0 1 128 128z"})]))}}),P4=yc;var R4=o(e()),P2=o(e()),Pc=(0,R4.defineComponent)({name:"Apple",__name:"apple",setup(t){return(a,r)=>((0,P2.openBlock)(),(0,P2.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,P2.createElementVNode)("path",{fill:"currentColor",d:"M599.872 203.776a189.4 189.4 0 0 1 64.384-4.672l2.624.128c31.168 1.024 51.2 4.096 79.488 16.32 37.632 16.128 74.496 45.056 111.488 89.344 96.384 115.264 82.752 372.8-34.752 521.728-7.68 9.728-32 41.6-30.72 39.936a427 427 0 0 1-30.08 35.776c-31.232 32.576-65.28 49.216-110.08 50.048-31.36.64-53.568-5.312-84.288-18.752l-6.528-2.88c-20.992-9.216-30.592-11.904-47.296-11.904-18.112 0-28.608 2.88-51.136 12.672l-6.464 2.816c-28.416 12.224-48.32 18.048-76.16 19.2-74.112 2.752-116.928-38.08-180.672-132.16-96.64-142.08-132.608-349.312-55.04-486.4 46.272-81.92 129.92-133.632 220.672-135.04 32.832-.576 60.288 6.848 99.648 22.72 27.136 10.88 34.752 13.76 37.376 14.272 16.256-20.16 27.776-36.992 34.56-50.24 13.568-26.304 27.2-59.968 40.704-100.8a32 32 0 1 1 60.8 20.224c-12.608 37.888-25.408 70.4-38.528 97.664m-51.52 78.08c-14.528 17.792-31.808 37.376-51.904 58.816a32 32 0 1 1-46.72-43.776l12.288-13.248c-28.032-11.2-61.248-26.688-95.68-26.112-70.4 1.088-135.296 41.6-171.648 105.792C121.6 492.608 176 684.16 247.296 788.992c34.816 51.328 76.352 108.992 130.944 106.944 52.48-2.112 72.32-34.688 135.872-34.688s81.28 34.688 136.96 33.536c56.448-1.088 75.776-39.04 126.848-103.872 107.904-136.768 107.904-362.752 35.776-449.088-72.192-86.272-124.672-84.096-151.68-85.12-41.472-4.288-81.6 12.544-113.664 25.152"})]))}}),T4=Pc;var O4=o(e()),R2=o(e()),Rc=(0,O4.defineComponent)({name:"ArrowDownBold",__name:"arrow-down-bold",setup(t){return(a,r)=>((0,R2.openBlock)(),(0,R2.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,R2.createElementVNode)("path",{fill:"currentColor",d:"M104.704 338.752a64 64 0 0 1 90.496 0l316.8 316.8 316.8-316.8a64 64 0 0 1 90.496 90.496L557.248 791.296a64 64 0 0 1-90.496 0L104.704 429.248a64 64 0 0 1 0-90.496"})]))}}),G4=Rc;var U4=o(e()),T2=o(e()),Tc=(0,U4.defineComponent)({name:"ArrowDown",__name:"arrow-down",setup(t){return(a,r)=>((0,T2.openBlock)(),(0,T2.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,T2.createElementVNode)("path",{fill:"currentColor",d:"M831.872 340.864 512 652.672 192.128 340.864a30.59 30.59 0 0 0-42.752 0 29.12 29.12 0 0 0 0 41.6L489.664 714.24a32 32 0 0 0 44.672 0l340.288-331.712a29.12 29.12 0 0 0 0-41.728 30.59 30.59 0 0 0-42.752 0z"})]))}}),W4=Tc;var I4=o(e()),O2=o(e()),Oc=(0,I4.defineComponent)({name:"ArrowLeftBold",__name:"arrow-left-bold",setup(t){return(a,r)=>((0,O2.openBlock)(),(0,O2.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,O2.createElementVNode)("path",{fill:"currentColor",d:"M685.248 104.704a64 64 0 0 1 0 90.496L368.448 512l316.8 316.8a64 64 0 0 1-90.496 90.496L232.704 557.248a64 64 0 0 1 0-90.496l362.048-362.048a64 64 0 0 1 90.496 0"})]))}}),K4=Oc;var Q4=o(e()),G2=o(e()),Gc=(0,Q4.defineComponent)({name:"ArrowLeft",__name:"arrow-left",setup(t){return(a,r)=>((0,G2.openBlock)(),(0,G2.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,G2.createElementVNode)("path",{fill:"currentColor",d:"M609.408 149.376 277.76 489.6a32 32 0 0 0 0 44.672l331.648 340.352a29.12 29.12 0 0 0 41.728 0 30.59 30.59 0 0 0 0-42.752L339.264 511.936l311.872-319.872a30.59 30.59 0 0 0 0-42.688 29.12 29.12 0 0 0-41.728 0"})]))}}),Z4=Gc;var j4=o(e()),U2=o(e()),Uc=(0,j4.defineComponent)({name:"ArrowRightBold",__name:"arrow-right-bold",setup(t){return(a,r)=>((0,U2.openBlock)(),(0,U2.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,U2.createElementVNode)("path",{fill:"currentColor",d:"M338.752 104.704a64 64 0 0 0 0 90.496l316.8 316.8-316.8 316.8a64 64 0 0 0 90.496 90.496l362.048-362.048a64 64 0 0 0 0-90.496L429.248 104.704a64 64 0 0 0-90.496 0"})]))}}),J4=Uc;var X4=o(e()),W2=o(e()),Wc=(0,X4.defineComponent)({name:"ArrowRight",__name:"arrow-right",setup(t){return(a,r)=>((0,W2.openBlock)(),(0,W2.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,W2.createElementVNode)("path",{fill:"currentColor",d:"M340.864 149.312a30.59 30.59 0 0 0 0 42.752L652.736 512 340.864 831.872a30.59 30.59 0 0 0 0 42.752 29.12 29.12 0 0 0 41.728 0L714.24 534.336a32 32 0 0 0 0-44.672L382.592 149.376a29.12 29.12 0 0 0-41.728 0z"})]))}}),Y4=Wc;var $4=o(e()),I2=o(e()),Ic=(0,$4.defineComponent)({name:"ArrowUpBold",__name:"arrow-up-bold",setup(t){return(a,r)=>((0,I2.openBlock)(),(0,I2.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,I2.createElementVNode)("path",{fill:"currentColor",d:"M104.704 685.248a64 64 0 0 0 90.496 0l316.8-316.8 316.8 316.8a64 64 0 0 0 90.496-90.496L557.248 232.704a64 64 0 0 0-90.496 0L104.704 594.752a64 64 0 0 0 0 90.496"})]))}}),eo=Ic;var oo=o(e()),K2=o(e()),Kc=(0,oo.defineComponent)({name:"ArrowUp",__name:"arrow-up",setup(t){return(a,r)=>((0,K2.openBlock)(),(0,K2.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,K2.createElementVNode)("path",{fill:"currentColor",d:"m488.832 344.32-339.84 356.672a32 32 0 0 0 0 44.16l.384.384a29.44 29.44 0 0 0 42.688 0l320-335.872 319.872 335.872a29.44 29.44 0 0 0 42.688 0l.384-.384a32 32 0 0 0 0-44.16L535.168 344.32a32 32 0 0 0-46.336 0"})]))}}),to=Kc;var ao=o(e()),Q2=o(e()),Qc=(0,ao.defineComponent)({name:"Avatar",__name:"avatar",setup(t){return(a,r)=>((0,Q2.openBlock)(),(0,Q2.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Q2.createElementVNode)("path",{fill:"currentColor",d:"M628.736 528.896A416 416 0 0 1 928 928H96a415.87 415.87 0 0 1 299.264-399.104L512 704zM720 304a208 208 0 1 1-416 0 208 208 0 0 1 416 0"})]))}}),ro=Qc;var no=o(e()),S=o(e()),Zc=(0,no.defineComponent)({name:"Back",__name:"back",setup(t){return(a,r)=>((0,S.openBlock)(),(0,S.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,S.createElementVNode)("path",{fill:"currentColor",d:"M224 480h640a32 32 0 1 1 0 64H224a32 32 0 0 1 0-64"}),(0,S.createElementVNode)("path",{fill:"currentColor",d:"m237.248 512 265.408 265.344a32 32 0 0 1-45.312 45.312l-288-288a32 32 0 0 1 0-45.312l288-288a32 32 0 1 1 45.312 45.312z"})]))}}),lo=Zc;var mo=o(e()),q=o(e()),jc=(0,mo.defineComponent)({name:"Baseball",__name:"baseball",setup(t){return(a,r)=>((0,q.openBlock)(),(0,q.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,q.createElementVNode)("path",{fill:"currentColor",d:"M195.2 828.8a448 448 0 1 1 633.6-633.6 448 448 0 0 1-633.6 633.6m45.248-45.248a384 384 0 1 0 543.104-543.104 384 384 0 0 0-543.104 543.104"}),(0,q.createElementVNode)("path",{fill:"currentColor",d:"M497.472 96.896c22.784 4.672 44.416 9.472 64.896 14.528a256.128 256.128 0 0 0 350.208 350.208c5.056 20.48 9.856 42.112 14.528 64.896A320.128 320.128 0 0 1 497.472 96.896M108.48 491.904a320.128 320.128 0 0 1 423.616 423.68c-23.04-3.648-44.992-7.424-65.728-11.52a256.128 256.128 0 0 0-346.496-346.432 1737 1737 0 0 1-11.392-65.728"})]))}}),co=jc;var po=o(e()),Z2=o(e()),Jc=(0,po.defineComponent)({name:"Basketball",__name:"basketball",setup(t){return(a,r)=>((0,Z2.openBlock)(),(0,Z2.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Z2.createElementVNode)("path",{fill:"currentColor",d:"M778.752 788.224a382.46 382.46 0 0 0 116.032-245.632 256.51 256.51 0 0 0-241.728-13.952 762.9 762.9 0 0 1 125.696 259.584m-55.04 44.224a699.65 699.65 0 0 0-125.056-269.632 256.13 256.13 0 0 0-56.064 331.968 382.7 382.7 0 0 0 181.12-62.336m-254.08 61.248A320.13 320.13 0 0 1 557.76 513.6a716 716 0 0 0-48.192-48.128 320.13 320.13 0 0 1-379.264 88.384 382.4 382.4 0 0 0 110.144 229.696 382.4 382.4 0 0 0 229.184 110.08zM129.28 481.088a256.13 256.13 0 0 0 331.072-56.448 699.65 699.65 0 0 0-268.8-124.352 382.66 382.66 0 0 0-62.272 180.8m106.56-235.84a762.9 762.9 0 0 1 258.688 125.056 256.51 256.51 0 0 0-13.44-241.088A382.46 382.46 0 0 0 235.84 245.248m318.08-114.944c40.576 89.536 37.76 193.92-8.448 281.344a780 780 0 0 1 66.176 66.112 320.83 320.83 0 0 1 282.112-8.128 382.4 382.4 0 0 0-110.144-229.12 382.4 382.4 0 0 0-229.632-110.208zM828.8 828.8a448 448 0 1 1-633.6-633.6 448 448 0 0 1 633.6 633.6"})]))}}),so=Jc;var _o=o(e()),j2=o(e()),Xc=(0,_o.defineComponent)({name:"BellFilled",__name:"bell-filled",setup(t){return(a,r)=>((0,j2.openBlock)(),(0,j2.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,j2.createElementVNode)("path",{fill:"currentColor",d:"M640 832a128 128 0 0 1-256 0zm192-64H134.4a38.4 38.4 0 0 1 0-76.8H192V448c0-154.88 110.08-284.16 256.32-313.6a64 64 0 1 1 127.36 0A320.13 320.13 0 0 1 832 448v243.2h57.6a38.4 38.4 0 0 1 0 76.8z"})]))}}),fo=Xc;var io=o(e()),p=o(e()),Yc=(0,io.defineComponent)({name:"Bell",__name:"bell",setup(t){return(a,r)=>((0,p.openBlock)(),(0,p.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,p.createElementVNode)("path",{fill:"currentColor",d:"M512 64a64 64 0 0 1 64 64v64H448v-64a64 64 0 0 1 64-64"}),(0,p.createElementVNode)("path",{fill:"currentColor",d:"M256 768h512V448a256 256 0 1 0-512 0zm256-640a320 320 0 0 1 320 320v384H192V448a320 320 0 0 1 320-320"}),(0,p.createElementVNode)("path",{fill:"currentColor",d:"M96 768h832q32 0 32 32t-32 32H96q-32 0-32-32t32-32m352 128h128a64 64 0 0 1-128 0"})]))}}),uo=Yc;var ho=o(e()),n=o(e()),$c=(0,ho.defineComponent)({name:"Bicycle",__name:"bicycle",setup(t){return(a,r)=>((0,n.openBlock)(),(0,n.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,n.createElementVNode)("path",{fill:"currentColor",d:"M256 832a128 128 0 1 0 0-256 128 128 0 0 0 0 256m0 64a192 192 0 1 1 0-384 192 192 0 0 1 0 384"}),(0,n.createElementVNode)("path",{fill:"currentColor",d:"M288 672h320q32 0 32 32t-32 32H288q-32 0-32-32t32-32"}),(0,n.createElementVNode)("path",{fill:"currentColor",d:"M768 832a128 128 0 1 0 0-256 128 128 0 0 0 0 256m0 64a192 192 0 1 1 0-384 192 192 0 0 1 0 384"}),(0,n.createElementVNode)("path",{fill:"currentColor",d:"M480 192a32 32 0 0 1 0-64h160a32 32 0 0 1 31.04 24.256l96 384a32 32 0 0 1-62.08 15.488L615.04 192zM96 384a32 32 0 0 1 0-64h128a32 32 0 0 1 30.336 21.888l64 192a32 32 0 1 1-60.672 20.224L200.96 384z"}),(0,n.createElementVNode)("path",{fill:"currentColor",d:"m373.376 599.808-42.752-47.616 320-288 42.752 47.616z"})]))}}),vo=$c;var wo=o(e()),F=o(e()),e5=(0,wo.defineComponent)({name:"BottomLeft",__name:"bottom-left",setup(t){return(a,r)=>((0,F.openBlock)(),(0,F.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,F.createElementVNode)("path",{fill:"currentColor",d:"M256 768h416a32 32 0 1 1 0 64H224a32 32 0 0 1-32-32V352a32 32 0 0 1 64 0z"}),(0,F.createElementVNode)("path",{fill:"currentColor",d:"M246.656 822.656a32 32 0 0 1-45.312-45.312l544-544a32 32 0 0 1 45.312 45.312z"})]))}}),Bo=e5;var xo=o(e()),D=o(e()),o5=(0,xo.defineComponent)({name:"BottomRight",__name:"bottom-right",setup(t){return(a,r)=>((0,D.openBlock)(),(0,D.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,D.createElementVNode)("path",{fill:"currentColor",d:"M352 768a32 32 0 1 0 0 64h448a32 32 0 0 0 32-32V352a32 32 0 0 0-64 0v416z"}),(0,D.createElementVNode)("path",{fill:"currentColor",d:"M777.344 822.656a32 32 0 0 0 45.312-45.312l-544-544a32 32 0 0 0-45.312 45.312z"})]))}}),ko=o5;var Co=o(e()),J2=o(e()),t5=(0,Co.defineComponent)({name:"Bottom",__name:"bottom",setup(t){return(a,r)=>((0,J2.openBlock)(),(0,J2.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,J2.createElementVNode)("path",{fill:"currentColor",d:"M544 805.888V168a32 32 0 1 0-64 0v637.888L246.656 557.952a30.72 30.72 0 0 0-45.312 0 35.52 35.52 0 0 0 0 48.064l288 306.048a30.72 30.72 0 0 0 45.312 0l288-306.048a35.52 35.52 0 0 0 0-48 30.72 30.72 0 0 0-45.312 0L544 805.824z"})]))}}),Eo=t5;var Vo=o(e()),X2=o(e()),a5=(0,Vo.defineComponent)({name:"Bowl",__name:"bowl",setup(t){return(a,r)=>((0,X2.openBlock)(),(0,X2.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,X2.createElementVNode)("path",{fill:"currentColor",d:"M714.432 704a351.74 351.74 0 0 0 148.16-256H161.408a351.74 351.74 0 0 0 148.16 256zM288 766.592A415.68 415.68 0 0 1 96 416a32 32 0 0 1 32-32h768a32 32 0 0 1 32 32 415.68 415.68 0 0 1-192 350.592V832a64 64 0 0 1-64 64H352a64 64 0 0 1-64-64zM493.248 320h-90.496l254.4-254.4a32 32 0 1 1 45.248 45.248zm187.328 0h-128l269.696-155.712a32 32 0 0 1 32 55.424zM352 768v64h320v-64z"})]))}}),go=a5;var Mo=o(e()),s=o(e()),r5=(0,Mo.defineComponent)({name:"Box",__name:"box",setup(t){return(a,r)=>((0,s.openBlock)(),(0,s.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,s.createElementVNode)("path",{fill:"currentColor",d:"M317.056 128 128 344.064V896h768V344.064L706.944 128zm-14.528-64h418.944a32 32 0 0 1 24.064 10.88l206.528 236.096A32 32 0 0 1 960 332.032V928a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V332.032a32 32 0 0 1 7.936-21.12L278.4 75.008A32 32 0 0 1 302.528 64"}),(0,s.createElementVNode)("path",{fill:"currentColor",d:"M64 320h896v64H64z"}),(0,s.createElementVNode)("path",{fill:"currentColor",d:"M448 327.872V640h128V327.872L526.08 128h-28.16zM448 64h128l64 256v352a32 32 0 0 1-32 32H416a32 32 0 0 1-32-32V320z"})]))}}),No=r5;var zo=o(e()),Y2=o(e()),n5=(0,zo.defineComponent)({name:"Briefcase",__name:"briefcase",setup(t){return(a,r)=>((0,Y2.openBlock)(),(0,Y2.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Y2.createElementVNode)("path",{fill:"currentColor",d:"M320 320V128h384v192h192v192H128V320zM128 576h768v320H128zm256-256h256.064V192H384z"})]))}}),Ho=n5;var Lo=o(e()),$2=o(e()),l5=(0,Lo.defineComponent)({name:"BrushFilled",__name:"brush-filled",setup(t){return(a,r)=>((0,$2.openBlock)(),(0,$2.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,$2.createElementVNode)("path",{fill:"currentColor",d:"M608 704v160a96 96 0 0 1-192 0V704h-96a128 128 0 0 1-128-128h640a128 128 0 0 1-128 128zM192 512V128.064h640V512z"})]))}}),Ao=l5;var So=o(e()),ee=o(e()),m5=(0,So.defineComponent)({name:"Brush",__name:"brush",setup(t){return(a,r)=>((0,ee.openBlock)(),(0,ee.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,ee.createElementVNode)("path",{fill:"currentColor",d:"M896 448H128v192a64 64 0 0 0 64 64h192v192h256V704h192a64 64 0 0 0 64-64zm-770.752-64c0-47.552 5.248-90.24 15.552-128 14.72-54.016 42.496-107.392 83.2-160h417.28l-15.36 70.336L736 96h211.2c-24.832 42.88-41.92 96.256-51.2 160a664 664 0 0 0-6.144 128H960v256a128 128 0 0 1-128 128H704v160a32 32 0 0 1-32 32H352a32 32 0 0 1-32-32V768H192A128 128 0 0 1 64 640V384zm64 0h636.544c-2.048-45.824.256-91.584 6.848-137.216 4.48-30.848 10.688-59.776 18.688-86.784h-96.64l-221.12 141.248L561.92 160H256.512c-25.856 37.888-43.776 75.456-53.952 112.832-8.768 32.064-13.248 69.12-13.312 111.168"})]))}}),qo=m5;var Fo=o(e()),oe=o(e()),c5=(0,Fo.defineComponent)({name:"Burger",__name:"burger",setup(t){return(a,r)=>((0,oe.openBlock)(),(0,oe.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,oe.createElementVNode)("path",{fill:"currentColor",d:"M160 512a32 32 0 0 0-32 32v64a32 32 0 0 0 30.08 32H864a32 32 0 0 0 32-32v-64a32 32 0 0 0-32-32zm736-58.56A96 96 0 0 1 960 544v64a96 96 0 0 1-51.968 85.312L855.36 833.6a96 96 0 0 1-89.856 62.272H258.496A96 96 0 0 1 168.64 833.6l-52.608-140.224A96 96 0 0 1 64 608v-64a96 96 0 0 1 64-90.56V448a384 384 0 1 1 768 5.44M832 448a320 320 0 0 0-640 0zM512 704H188.352l40.192 107.136a32 32 0 0 0 29.952 20.736h507.008a32 32 0 0 0 29.952-20.736L835.648 704z"})]))}}),Do=c5;var bo=o(e()),te=o(e()),p5=(0,bo.defineComponent)({name:"Calendar",__name:"calendar",setup(t){return(a,r)=>((0,te.openBlock)(),(0,te.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,te.createElementVNode)("path",{fill:"currentColor",d:"M128 384v512h768V192H768v32a32 32 0 1 1-64 0v-32H320v32a32 32 0 0 1-64 0v-32H128v128h768v64zm192-256h384V96a32 32 0 1 1 64 0v32h160a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h160V96a32 32 0 0 1 64 0zm-32 384h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m192-192h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m192-192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64"})]))}}),yo=p5;var Po=o(e()),ae=o(e()),s5=(0,Po.defineComponent)({name:"CameraFilled",__name:"camera-filled",setup(t){return(a,r)=>((0,ae.openBlock)(),(0,ae.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,ae.createElementVNode)("path",{fill:"currentColor",d:"M160 224a64 64 0 0 0-64 64v512a64 64 0 0 0 64 64h704a64 64 0 0 0 64-64V288a64 64 0 0 0-64-64H748.416l-46.464-92.672A64 64 0 0 0 644.736 96H379.328a64 64 0 0 0-57.216 35.392L275.776 224zm352 435.2a115.2 115.2 0 1 0 0-230.4 115.2 115.2 0 0 0 0 230.4m0 140.8a256 256 0 1 1 0-512 256 256 0 0 1 0 512"})]))}}),Ro=s5;var To=o(e()),re=o(e()),_5=(0,To.defineComponent)({name:"Camera",__name:"camera",setup(t){return(a,r)=>((0,re.openBlock)(),(0,re.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,re.createElementVNode)("path",{fill:"currentColor",d:"M896 256H128v576h768zm-199.424-64-32.064-64h-304.96l-32 64zM96 192h160l46.336-92.608A64 64 0 0 1 359.552 64h304.96a64 64 0 0 1 57.216 35.328L768.192 192H928a32 32 0 0 1 32 32v640a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V224a32 32 0 0 1 32-32m416 512a160 160 0 1 0 0-320 160 160 0 0 0 0 320m0 64a224 224 0 1 1 0-448 224 224 0 0 1 0 448"})]))}}),Oo=_5;var Go=o(e()),ne=o(e()),f5=(0,Go.defineComponent)({name:"CaretBottom",__name:"caret-bottom",setup(t){return(a,r)=>((0,ne.openBlock)(),(0,ne.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,ne.createElementVNode)("path",{fill:"currentColor",d:"m192 384 320 384 320-384z"})]))}}),Uo=f5;var Wo=o(e()),le=o(e()),i5=(0,Wo.defineComponent)({name:"CaretLeft",__name:"caret-left",setup(t){return(a,r)=>((0,le.openBlock)(),(0,le.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,le.createElementVNode)("path",{fill:"currentColor",d:"M672 192 288 511.936 672 832z"})]))}}),Io=i5;var Ko=o(e()),me=o(e()),d5=(0,Ko.defineComponent)({name:"CaretRight",__name:"caret-right",setup(t){return(a,r)=>((0,me.openBlock)(),(0,me.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,me.createElementVNode)("path",{fill:"currentColor",d:"M384 192v640l384-320.064z"})]))}}),Qo=d5;var Zo=o(e()),ce=o(e()),u5=(0,Zo.defineComponent)({name:"CaretTop",__name:"caret-top",setup(t){return(a,r)=>((0,ce.openBlock)(),(0,ce.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,ce.createElementVNode)("path",{fill:"currentColor",d:"M512 320 192 704h639.936z"})]))}}),jo=u5;var Jo=o(e()),pe=o(e()),h5=(0,Jo.defineComponent)({name:"Cellphone",__name:"cellphone",setup(t){return(a,r)=>((0,pe.openBlock)(),(0,pe.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,pe.createElementVNode)("path",{fill:"currentColor",d:"M256 128a64 64 0 0 0-64 64v640a64 64 0 0 0 64 64h512a64 64 0 0 0 64-64V192a64 64 0 0 0-64-64zm0-64h512a128 128 0 0 1 128 128v640a128 128 0 0 1-128 128H256a128 128 0 0 1-128-128V192A128 128 0 0 1 256 64m128 128h256a32 32 0 1 1 0 64H384a32 32 0 0 1 0-64m128 640a64 64 0 1 1 0-128 64 64 0 0 1 0 128"})]))}}),Xo=h5;var Yo=o(e()),b=o(e()),v5=(0,Yo.defineComponent)({name:"ChatDotRound",__name:"chat-dot-round",setup(t){return(a,r)=>((0,b.openBlock)(),(0,b.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,b.createElementVNode)("path",{fill:"currentColor",d:"m174.72 855.68 135.296-45.12 23.68 11.84C388.096 849.536 448.576 864 512 864c211.84 0 384-166.784 384-352S723.84 160 512 160 128 326.784 128 512c0 69.12 24.96 139.264 70.848 199.232l22.08 28.8-46.272 115.584zm-45.248 82.56A32 32 0 0 1 89.6 896l58.368-145.92C94.72 680.32 64 596.864 64 512 64 299.904 256 96 512 96s448 203.904 448 416-192 416-448 416a461.06 461.06 0 0 1-206.912-48.384l-175.616 58.56z"}),(0,b.createElementVNode)("path",{fill:"currentColor",d:"M512 563.2a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4m192 0a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4m-384 0a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4"})]))}}),$o=v5;var et=o(e()),y=o(e()),w5=(0,et.defineComponent)({name:"ChatDotSquare",__name:"chat-dot-square",setup(t){return(a,r)=>((0,y.openBlock)(),(0,y.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,y.createElementVNode)("path",{fill:"currentColor",d:"M273.536 736H800a64 64 0 0 0 64-64V256a64 64 0 0 0-64-64H224a64 64 0 0 0-64 64v570.88zM296 800 147.968 918.4A32 32 0 0 1 96 893.44V256a128 128 0 0 1 128-128h576a128 128 0 0 1 128 128v416a128 128 0 0 1-128 128z"}),(0,y.createElementVNode)("path",{fill:"currentColor",d:"M512 499.2a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4m192 0a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4m-384 0a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4"})]))}}),ot=w5;var tt=o(e()),P=o(e()),B5=(0,tt.defineComponent)({name:"ChatLineRound",__name:"chat-line-round",setup(t){return(a,r)=>((0,P.openBlock)(),(0,P.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,P.createElementVNode)("path",{fill:"currentColor",d:"m174.72 855.68 135.296-45.12 23.68 11.84C388.096 849.536 448.576 864 512 864c211.84 0 384-166.784 384-352S723.84 160 512 160 128 326.784 128 512c0 69.12 24.96 139.264 70.848 199.232l22.08 28.8-46.272 115.584zm-45.248 82.56A32 32 0 0 1 89.6 896l58.368-145.92C94.72 680.32 64 596.864 64 512 64 299.904 256 96 512 96s448 203.904 448 416-192 416-448 416a461.06 461.06 0 0 1-206.912-48.384l-175.616 58.56z"}),(0,P.createElementVNode)("path",{fill:"currentColor",d:"M352 576h320q32 0 32 32t-32 32H352q-32 0-32-32t32-32m32-192h256q32 0 32 32t-32 32H384q-32 0-32-32t32-32"})]))}}),at=B5;var rt=o(e()),R=o(e()),x5=(0,rt.defineComponent)({name:"ChatLineSquare",__name:"chat-line-square",setup(t){return(a,r)=>((0,R.openBlock)(),(0,R.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,R.createElementVNode)("path",{fill:"currentColor",d:"M160 826.88 273.536 736H800a64 64 0 0 0 64-64V256a64 64 0 0 0-64-64H224a64 64 0 0 0-64 64zM296 800 147.968 918.4A32 32 0 0 1 96 893.44V256a128 128 0 0 1 128-128h576a128 128 0 0 1 128 128v416a128 128 0 0 1-128 128z"}),(0,R.createElementVNode)("path",{fill:"currentColor",d:"M352 512h320q32 0 32 32t-32 32H352q-32 0-32-32t32-32m0-192h320q32 0 32 32t-32 32H352q-32 0-32-32t32-32"})]))}}),nt=x5;var lt=o(e()),se=o(e()),k5=(0,lt.defineComponent)({name:"ChatRound",__name:"chat-round",setup(t){return(a,r)=>((0,se.openBlock)(),(0,se.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,se.createElementVNode)("path",{fill:"currentColor",d:"m174.72 855.68 130.048-43.392 23.424 11.392C382.4 849.984 444.352 864 512 864c223.744 0 384-159.872 384-352 0-192.832-159.104-352-384-352S128 319.168 128 512a341.12 341.12 0 0 0 69.248 204.288l21.632 28.8-44.16 110.528zm-45.248 82.56A32 32 0 0 1 89.6 896l56.512-141.248A405.12 405.12 0 0 1 64 512C64 299.904 235.648 96 512 96s448 203.904 448 416-173.44 416-448 416c-79.68 0-150.848-17.152-211.712-46.72l-170.88 56.96z"})]))}}),mt=k5;var ct=o(e()),_e=o(e()),C5=(0,ct.defineComponent)({name:"ChatSquare",__name:"chat-square",setup(t){return(a,r)=>((0,_e.openBlock)(),(0,_e.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,_e.createElementVNode)("path",{fill:"currentColor",d:"M273.536 736H800a64 64 0 0 0 64-64V256a64 64 0 0 0-64-64H224a64 64 0 0 0-64 64v570.88zM296 800 147.968 918.4A32 32 0 0 1 96 893.44V256a128 128 0 0 1 128-128h576a128 128 0 0 1 128 128v416a128 128 0 0 1-128 128z"})]))}}),pt=C5;var st=o(e()),fe=o(e()),E5=(0,st.defineComponent)({name:"Check",__name:"check",setup(t){return(a,r)=>((0,fe.openBlock)(),(0,fe.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,fe.createElementVNode)("path",{fill:"currentColor",d:"M406.656 706.944 195.84 496.256a32 32 0 1 0-45.248 45.248l256 256 512-512a32 32 0 0 0-45.248-45.248L406.592 706.944z"})]))}}),_t=E5;var ft=o(e()),ie=o(e()),V5=(0,ft.defineComponent)({name:"Checked",__name:"checked",setup(t){return(a,r)=>((0,ie.openBlock)(),(0,ie.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,ie.createElementVNode)("path",{fill:"currentColor",d:"M704 192h160v736H160V192h160.064v64H704zM311.616 537.28l-45.312 45.248L447.36 763.52l316.8-316.8-45.312-45.184L447.36 673.024zM384 192V96h256v96z"})]))}}),it=V5;var dt=o(e()),de=o(e()),g5=(0,dt.defineComponent)({name:"Cherry",__name:"cherry",setup(t){return(a,r)=>((0,de.openBlock)(),(0,de.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,de.createElementVNode)("path",{fill:"currentColor",d:"M261.056 449.6c13.824-69.696 34.88-128.96 63.36-177.728 23.744-40.832 61.12-88.64 112.256-143.872H320a32 32 0 0 1 0-64h384a32 32 0 1 1 0 64H554.752c14.912 39.168 41.344 86.592 79.552 141.76 47.36 68.48 84.8 106.752 106.304 114.304a224 224 0 1 1-84.992 14.784c-22.656-22.912-47.04-53.76-73.92-92.608-38.848-56.128-67.008-105.792-84.352-149.312-55.296 58.24-94.528 107.52-117.76 147.2-23.168 39.744-41.088 88.768-53.568 147.072a224.064 224.064 0 1 1-64.96-1.6M288 832a160 160 0 1 0 0-320 160 160 0 0 0 0 320m448-64a160 160 0 1 0 0-320 160 160 0 0 0 0 320"})]))}}),ut=g5;var ht=o(e()),ue=o(e()),M5=(0,ht.defineComponent)({name:"Chicken",__name:"chicken",setup(t){return(a,r)=>((0,ue.openBlock)(),(0,ue.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,ue.createElementVNode)("path",{fill:"currentColor",d:"M349.952 716.992 478.72 588.16a106.7 106.7 0 0 1-26.176-19.072 106.7 106.7 0 0 1-19.072-26.176L304.704 671.744c.768 3.072 1.472 6.144 2.048 9.216l2.048 31.936 31.872 1.984c3.136.64 6.208 1.28 9.28 2.112m57.344 33.152a128 128 0 1 1-216.32 114.432l-1.92-32-32-1.92a128 128 0 1 1 114.432-216.32L416.64 469.248c-2.432-101.44 58.112-239.104 149.056-330.048 107.328-107.328 231.296-85.504 316.8 0 85.44 85.44 107.328 209.408 0 316.8-91.008 90.88-228.672 151.424-330.112 149.056L407.296 750.08zm90.496-226.304c49.536 49.536 233.344-7.04 339.392-113.088 78.208-78.208 63.232-163.072 0-226.304-63.168-63.232-148.032-78.208-226.24 0C504.896 290.496 448.32 474.368 497.792 523.84M244.864 708.928a64 64 0 1 0-59.84 59.84l56.32-3.52zm8.064 127.68a64 64 0 1 0 59.84-59.84l-56.32 3.52z"})]))}}),vt=M5;var wt=o(e()),_=o(e()),N5=(0,wt.defineComponent)({name:"ChromeFilled",__name:"chrome-filled",setup(t){return(a,r)=>((0,_.openBlock)(),(0,_.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",viewBox:"0 0 1024 1024"},[(0,_.createElementVNode)("path",{fill:"currentColor",d:"M938.67 512.01c0-44.59-6.82-87.6-19.54-128H682.67a212.37 212.37 0 0 1 42.67 128c.06 38.71-10.45 76.7-30.42 109.87l-182.91 316.8c235.65-.01 426.66-191.02 426.66-426.67"}),(0,_.createElementVNode)("path",{fill:"currentColor",d:"M576.79 401.63a127.9 127.9 0 0 0-63.56-17.6c-22.36-.22-44.39 5.43-63.89 16.38s-35.79 26.82-47.25 46.02a128 128 0 0 0-2.16 127.44l1.24 2.13a127.9 127.9 0 0 0 46.36 46.61 127.9 127.9 0 0 0 63.38 17.44c22.29.2 44.24-5.43 63.68-16.33a127.94 127.94 0 0 0 47.16-45.79v-.01l1.11-1.92a127.98 127.98 0 0 0 .29-127.46 127.96 127.96 0 0 0-46.36-46.91"}),(0,_.createElementVNode)("path",{fill:"currentColor",d:"M394.45 333.96A213.34 213.34 0 0 1 512 298.67h369.58A426.5 426.5 0 0 0 512 85.34a425.6 425.6 0 0 0-171.74 35.98 425.6 425.6 0 0 0-142.62 102.22l118.14 204.63a213.4 213.4 0 0 1 78.67-94.21m117.56 604.72H512zm-97.25-236.73a213.3 213.3 0 0 1-89.54-86.81L142.48 298.6c-36.35 62.81-57.13 135.68-57.13 213.42 0 203.81 142.93 374.22 333.95 416.55h.04l118.19-204.71a213.3 213.3 0 0 1-122.77-21.91"})]))}}),Bt=N5;var xt=o(e()),he=o(e()),z5=(0,xt.defineComponent)({name:"CircleCheckFilled",__name:"circle-check-filled",setup(t){return(a,r)=>((0,he.openBlock)(),(0,he.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,he.createElementVNode)("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.27 38.27 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336z"})]))}}),kt=z5;var Ct=o(e()),T=o(e()),H5=(0,Ct.defineComponent)({name:"CircleCheck",__name:"circle-check",setup(t){return(a,r)=>((0,T.openBlock)(),(0,T.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,T.createElementVNode)("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),(0,T.createElementVNode)("path",{fill:"currentColor",d:"M745.344 361.344a32 32 0 0 1 45.312 45.312l-288 288a32 32 0 0 1-45.312 0l-160-160a32 32 0 1 1 45.312-45.312L480 626.752z"})]))}}),Et=H5;var Vt=o(e()),ve=o(e()),L5=(0,Vt.defineComponent)({name:"CircleCloseFilled",__name:"circle-close-filled",setup(t){return(a,r)=>((0,ve.openBlock)(),(0,ve.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,ve.createElementVNode)("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 393.664L407.936 353.6a38.4 38.4 0 1 0-54.336 54.336L457.664 512 353.6 616.064a38.4 38.4 0 1 0 54.336 54.336L512 566.336 616.064 670.4a38.4 38.4 0 1 0 54.336-54.336L566.336 512 670.4 407.936a38.4 38.4 0 1 0-54.336-54.336z"})]))}}),gt=L5;var Mt=o(e()),O=o(e()),A5=(0,Mt.defineComponent)({name:"CircleClose",__name:"circle-close",setup(t){return(a,r)=>((0,O.openBlock)(),(0,O.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,O.createElementVNode)("path",{fill:"currentColor",d:"m466.752 512-90.496-90.496a32 32 0 0 1 45.248-45.248L512 466.752l90.496-90.496a32 32 0 1 1 45.248 45.248L557.248 512l90.496 90.496a32 32 0 1 1-45.248 45.248L512 557.248l-90.496 90.496a32 32 0 0 1-45.248-45.248z"}),(0,O.createElementVNode)("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}}),Nt=A5;var zt=o(e()),we=o(e()),S5=(0,zt.defineComponent)({name:"CirclePlusFilled",__name:"circle-plus-filled",setup(t){return(a,r)=>((0,we.openBlock)(),(0,we.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,we.createElementVNode)("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-38.4 409.6H326.4a38.4 38.4 0 1 0 0 76.8h147.2v147.2a38.4 38.4 0 0 0 76.8 0V550.4h147.2a38.4 38.4 0 0 0 0-76.8H550.4V326.4a38.4 38.4 0 1 0-76.8 0z"})]))}}),Ht=S5;var Lt=o(e()),f=o(e()),q5=(0,Lt.defineComponent)({name:"CirclePlus",__name:"circle-plus",setup(t){return(a,r)=>((0,f.openBlock)(),(0,f.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,f.createElementVNode)("path",{fill:"currentColor",d:"M352 480h320a32 32 0 1 1 0 64H352a32 32 0 0 1 0-64"}),(0,f.createElementVNode)("path",{fill:"currentColor",d:"M480 672V352a32 32 0 1 1 64 0v320a32 32 0 0 1-64 0"}),(0,f.createElementVNode)("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}}),At=q5;var St=o(e()),i=o(e()),F5=(0,St.defineComponent)({name:"Clock",__name:"clock",setup(t){return(a,r)=>((0,i.openBlock)(),(0,i.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,i.createElementVNode)("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),(0,i.createElementVNode)("path",{fill:"currentColor",d:"M480 256a32 32 0 0 1 32 32v256a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32"}),(0,i.createElementVNode)("path",{fill:"currentColor",d:"M480 512h256q32 0 32 32t-32 32H480q-32 0-32-32t32-32"})]))}}),qt=F5;var Ft=o(e()),Be=o(e()),D5=(0,Ft.defineComponent)({name:"CloseBold",__name:"close-bold",setup(t){return(a,r)=>((0,Be.openBlock)(),(0,Be.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Be.createElementVNode)("path",{fill:"currentColor",d:"M195.2 195.2a64 64 0 0 1 90.496 0L512 421.504 738.304 195.2a64 64 0 0 1 90.496 90.496L602.496 512 828.8 738.304a64 64 0 0 1-90.496 90.496L512 602.496 285.696 828.8a64 64 0 0 1-90.496-90.496L421.504 512 195.2 285.696a64 64 0 0 1 0-90.496"})]))}}),Dt=D5;var bt=o(e()),xe=o(e()),b5=(0,bt.defineComponent)({name:"Close",__name:"close",setup(t){return(a,r)=>((0,xe.openBlock)(),(0,xe.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,xe.createElementVNode)("path",{fill:"currentColor",d:"M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"})]))}}),yt=b5;var Pt=o(e()),ke=o(e()),y5=(0,Pt.defineComponent)({name:"Cloudy",__name:"cloudy",setup(t){return(a,r)=>((0,ke.openBlock)(),(0,ke.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,ke.createElementVNode)("path",{fill:"currentColor",d:"M598.4 831.872H328.192a256 256 0 0 1-34.496-510.528A352 352 0 1 1 598.4 831.872m-271.36-64h272.256a288 288 0 1 0-248.512-417.664L335.04 381.44l-34.816 3.584a192 192 0 0 0 26.88 382.848z"})]))}}),Rt=y5;var Tt=o(e()),Ce=o(e()),P5=(0,Tt.defineComponent)({name:"CoffeeCup",__name:"coffee-cup",setup(t){return(a,r)=>((0,Ce.openBlock)(),(0,Ce.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Ce.createElementVNode)("path",{fill:"currentColor",d:"M768 192a192 192 0 1 1-8 383.808A256.13 256.13 0 0 1 512 768H320A256 256 0 0 1 64 512V160a32 32 0 0 1 32-32h640a32 32 0 0 1 32 32zm0 64v256a128 128 0 1 0 0-256M96 832h640a32 32 0 1 1 0 64H96a32 32 0 1 1 0-64m32-640v320a192 192 0 0 0 192 192h192a192 192 0 0 0 192-192V192z"})]))}}),Ot=P5;var Gt=o(e()),Ee=o(e()),R5=(0,Gt.defineComponent)({name:"Coffee",__name:"coffee",setup(t){return(a,r)=>((0,Ee.openBlock)(),(0,Ee.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Ee.createElementVNode)("path",{fill:"currentColor",d:"M822.592 192h14.272a32 32 0 0 1 31.616 26.752l21.312 128A32 32 0 0 1 858.24 384h-49.344l-39.04 546.304A32 32 0 0 1 737.92 960H285.824a32 32 0 0 1-32-29.696L214.912 384H165.76a32 32 0 0 1-31.552-37.248l21.312-128A32 32 0 0 1 187.136 192h14.016l-6.72-93.696A32 32 0 0 1 226.368 64h571.008a32 32 0 0 1 31.936 34.304zm-64.128 0 4.544-64H260.736l4.544 64zm-548.16 128H820.48l-10.688-64H214.208l-10.688 64zm68.736 64 36.544 512H708.16l36.544-512z"})]))}}),Ut=R5;var Wt=o(e()),d=o(e()),T5=(0,Wt.defineComponent)({name:"Coin",__name:"coin",setup(t){return(a,r)=>((0,d.openBlock)(),(0,d.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,d.createElementVNode)("path",{fill:"currentColor",d:"m161.92 580.736 29.888 58.88C171.328 659.776 160 681.728 160 704c0 82.304 155.328 160 352 160s352-77.696 352-160c0-22.272-11.392-44.16-31.808-64.32l30.464-58.432C903.936 615.808 928 657.664 928 704c0 129.728-188.544 224-416 224S96 833.728 96 704c0-46.592 24.32-88.576 65.92-123.264"}),(0,d.createElementVNode)("path",{fill:"currentColor",d:"m161.92 388.736 29.888 58.88C171.328 467.84 160 489.792 160 512c0 82.304 155.328 160 352 160s352-77.696 352-160c0-22.272-11.392-44.16-31.808-64.32l30.464-58.432C903.936 423.808 928 465.664 928 512c0 129.728-188.544 224-416 224S96 641.728 96 512c0-46.592 24.32-88.576 65.92-123.264"}),(0,d.createElementVNode)("path",{fill:"currentColor",d:"M512 544c-227.456 0-416-94.272-416-224S284.544 96 512 96s416 94.272 416 224-188.544 224-416 224m0-64c196.672 0 352-77.696 352-160S708.672 160 512 160s-352 77.696-352 160 155.328 160 352 160"})]))}}),It=T5;var Kt=o(e()),Ve=o(e()),O5=(0,Kt.defineComponent)({name:"ColdDrink",__name:"cold-drink",setup(t){return(a,r)=>((0,Ve.openBlock)(),(0,Ve.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Ve.createElementVNode)("path",{fill:"currentColor",d:"M768 64a192 192 0 1 1-69.952 370.88L480 725.376V896h96a32 32 0 1 1 0 64H320a32 32 0 1 1 0-64h96V725.376L76.8 273.536a64 64 0 0 1-12.8-38.4v-10.688a32 32 0 0 1 32-32h71.808l-65.536-83.84a32 32 0 0 1 50.432-39.424l96.256 123.264h337.728A192.06 192.06 0 0 1 768 64M656.896 192.448H800a32 32 0 0 1 32 32v10.624a64 64 0 0 1-12.8 38.4l-80.448 107.2a128 128 0 1 0-81.92-188.16v-.064zm-357.888 64 129.472 165.76a32 32 0 0 1-50.432 39.36l-160.256-205.12H144l304 404.928 304-404.928z"})]))}}),Qt=O5;var Zt=o(e()),ge=o(e()),G5=(0,Zt.defineComponent)({name:"CollectionTag",__name:"collection-tag",setup(t){return(a,r)=>((0,ge.openBlock)(),(0,ge.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,ge.createElementVNode)("path",{fill:"currentColor",d:"M256 128v698.88l196.032-156.864a96 96 0 0 1 119.936 0L768 826.816V128zm-32-64h576a32 32 0 0 1 32 32v797.44a32 32 0 0 1-51.968 24.96L531.968 720a32 32 0 0 0-39.936 0L243.968 918.4A32 32 0 0 1 192 893.44V96a32 32 0 0 1 32-32"})]))}}),jt=G5;var Jt=o(e()),G=o(e()),U5=(0,Jt.defineComponent)({name:"Collection",__name:"collection",setup(t){return(a,r)=>((0,G.openBlock)(),(0,G.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,G.createElementVNode)("path",{fill:"currentColor",d:"M192 736h640V128H256a64 64 0 0 0-64 64zm64-672h608a32 32 0 0 1 32 32v672a32 32 0 0 1-32 32H160l-32 57.536V192A128 128 0 0 1 256 64"}),(0,G.createElementVNode)("path",{fill:"currentColor",d:"M240 800a48 48 0 1 0 0 96h592v-96zm0-64h656v160a64 64 0 0 1-64 64H240a112 112 0 0 1 0-224m144-608v250.88l96-76.8 96 76.8V128zm-64-64h320v381.44a32 32 0 0 1-51.968 24.96L480 384l-108.032 86.4A32 32 0 0 1 320 445.44z"})]))}}),Xt=U5;var Yt=o(e()),Me=o(e()),W5=(0,Yt.defineComponent)({name:"Comment",__name:"comment",setup(t){return(a,r)=>((0,Me.openBlock)(),(0,Me.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Me.createElementVNode)("path",{fill:"currentColor",d:"M736 504a56 56 0 1 1 0-112 56 56 0 0 1 0 112m-224 0a56 56 0 1 1 0-112 56 56 0 0 1 0 112m-224 0a56 56 0 1 1 0-112 56 56 0 0 1 0 112M128 128v640h192v160l224-160h352V128z"})]))}}),$t=W5;var e6=o(e()),U=o(e()),I5=(0,e6.defineComponent)({name:"Compass",__name:"compass",setup(t){return(a,r)=>((0,U.openBlock)(),(0,U.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,U.createElementVNode)("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),(0,U.createElementVNode)("path",{fill:"currentColor",d:"M725.888 315.008C676.48 428.672 624 513.28 568.576 568.64c-55.424 55.424-139.968 107.904-253.568 157.312a12.8 12.8 0 0 1-16.896-16.832c49.536-113.728 102.016-198.272 157.312-253.632 55.36-55.296 139.904-107.776 253.632-157.312a12.8 12.8 0 0 1 16.832 16.832"})]))}}),o6=I5;var t6=o(e()),W=o(e()),K5=(0,t6.defineComponent)({name:"Connection",__name:"connection",setup(t){return(a,r)=>((0,W.openBlock)(),(0,W.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,W.createElementVNode)("path",{fill:"currentColor",d:"M640 384v64H448a128 128 0 0 0-128 128v128a128 128 0 0 0 128 128h320a128 128 0 0 0 128-128V576a128 128 0 0 0-64-110.848V394.88c74.56 26.368 128 97.472 128 181.056v128a192 192 0 0 1-192 192H448a192 192 0 0 1-192-192V576a192 192 0 0 1 192-192z"}),(0,W.createElementVNode)("path",{fill:"currentColor",d:"M384 640v-64h192a128 128 0 0 0 128-128V320a128 128 0 0 0-128-128H256a128 128 0 0 0-128 128v128a128 128 0 0 0 64 110.848v70.272A192.06 192.06 0 0 1 64 448V320a192 192 0 0 1 192-192h320a192 192 0 0 1 192 192v128a192 192 0 0 1-192 192z"})]))}}),a6=K5;var r6=o(e()),I=o(e()),Q5=(0,r6.defineComponent)({name:"Coordinate",__name:"coordinate",setup(t){return(a,r)=>((0,I.openBlock)(),(0,I.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,I.createElementVNode)("path",{fill:"currentColor",d:"M480 512h64v320h-64z"}),(0,I.createElementVNode)("path",{fill:"currentColor",d:"M192 896h640a64 64 0 0 0-64-64H256a64 64 0 0 0-64 64m64-128h512a128 128 0 0 1 128 128v64H128v-64a128 128 0 0 1 128-128m256-256a192 192 0 1 0 0-384 192 192 0 0 0 0 384m0 64a256 256 0 1 1 0-512 256 256 0 0 1 0 512"})]))}}),n6=Q5;var l6=o(e()),K=o(e()),Z5=(0,l6.defineComponent)({name:"CopyDocument",__name:"copy-document",setup(t){return(a,r)=>((0,K.openBlock)(),(0,K.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,K.createElementVNode)("path",{fill:"currentColor",d:"M768 832a128 128 0 0 1-128 128H192A128 128 0 0 1 64 832V384a128 128 0 0 1 128-128v64a64 64 0 0 0-64 64v448a64 64 0 0 0 64 64h448a64 64 0 0 0 64-64z"}),(0,K.createElementVNode)("path",{fill:"currentColor",d:"M384 128a64 64 0 0 0-64 64v448a64 64 0 0 0 64 64h448a64 64 0 0 0 64-64V192a64 64 0 0 0-64-64zm0-64h448a128 128 0 0 1 128 128v448a128 128 0 0 1-128 128H384a128 128 0 0 1-128-128V192A128 128 0 0 1 384 64"})]))}}),m6=Z5;var c6=o(e()),Q=o(e()),j5=(0,c6.defineComponent)({name:"Cpu",__name:"cpu",setup(t){return(a,r)=>((0,Q.openBlock)(),(0,Q.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Q.createElementVNode)("path",{fill:"currentColor",d:"M320 256a64 64 0 0 0-64 64v384a64 64 0 0 0 64 64h384a64 64 0 0 0 64-64V320a64 64 0 0 0-64-64zm0-64h384a128 128 0 0 1 128 128v384a128 128 0 0 1-128 128H320a128 128 0 0 1-128-128V320a128 128 0 0 1 128-128"}),(0,Q.createElementVNode)("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v128h-64V96a32 32 0 0 1 32-32m160 0a32 32 0 0 1 32 32v128h-64V96a32 32 0 0 1 32-32m-320 0a32 32 0 0 1 32 32v128h-64V96a32 32 0 0 1 32-32m160 896a32 32 0 0 1-32-32V800h64v128a32 32 0 0 1-32 32m160 0a32 32 0 0 1-32-32V800h64v128a32 32 0 0 1-32 32m-320 0a32 32 0 0 1-32-32V800h64v128a32 32 0 0 1-32 32M64 512a32 32 0 0 1 32-32h128v64H96a32 32 0 0 1-32-32m0-160a32 32 0 0 1 32-32h128v64H96a32 32 0 0 1-32-32m0 320a32 32 0 0 1 32-32h128v64H96a32 32 0 0 1-32-32m896-160a32 32 0 0 1-32 32H800v-64h128a32 32 0 0 1 32 32m0-160a32 32 0 0 1-32 32H800v-64h128a32 32 0 0 1 32 32m0 320a32 32 0 0 1-32 32H800v-64h128a32 32 0 0 1 32 32"})]))}}),p6=j5;var s6=o(e()),Z=o(e()),J5=(0,s6.defineComponent)({name:"CreditCard",__name:"credit-card",setup(t){return(a,r)=>((0,Z.openBlock)(),(0,Z.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Z.createElementVNode)("path",{fill:"currentColor",d:"M896 324.096c0-42.368-2.496-55.296-9.536-68.48a52.35 52.35 0 0 0-22.144-22.08c-13.12-7.04-26.048-9.536-68.416-9.536H228.096c-42.368 0-55.296 2.496-68.48 9.536a52.35 52.35 0 0 0-22.08 22.144c-7.04 13.12-9.536 26.048-9.536 68.416v375.808c0 42.368 2.496 55.296 9.536 68.48a52.35 52.35 0 0 0 22.144 22.08c13.12 7.04 26.048 9.536 68.416 9.536h567.808c42.368 0 55.296-2.496 68.48-9.536a52.35 52.35 0 0 0 22.08-22.144c7.04-13.12 9.536-26.048 9.536-68.416zm64 0v375.808c0 57.088-5.952 77.76-17.088 98.56-11.136 20.928-27.52 37.312-48.384 48.448S852.928 864 795.968 864H228.032c-57.088 0-77.76-5.952-98.56-17.088a116.3 116.3 0 0 1-48.448-48.384c-11.136-20.864-17.088-41.6-17.088-98.56V324.032c0-57.088 5.952-77.76 17.088-98.56 11.136-20.928 27.52-37.312 48.384-48.448s41.6-17.088 98.56-17.088H795.84c57.088 0 77.76 5.952 98.56 17.088 20.928 11.136 37.312 27.52 48.448 48.384s17.088 41.6 17.088 98.56z"}),(0,Z.createElementVNode)("path",{fill:"currentColor",d:"M64 320h896v64H64zm0 128h896v64H64zm128 192h256v64H192z"})]))}}),_6=J5;var f6=o(e()),j=o(e()),X5=(0,f6.defineComponent)({name:"Crop",__name:"crop",setup(t){return(a,r)=>((0,j.openBlock)(),(0,j.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,j.createElementVNode)("path",{fill:"currentColor",d:"M256 768h672a32 32 0 1 1 0 64H224a32 32 0 0 1-32-32V96a32 32 0 0 1 64 0z"}),(0,j.createElementVNode)("path",{fill:"currentColor",d:"M832 224v704a32 32 0 1 1-64 0V256H96a32 32 0 0 1 0-64h704a32 32 0 0 1 32 32"})]))}}),i6=X5;var d6=o(e()),Ne=o(e()),Y5=(0,d6.defineComponent)({name:"DArrowLeft",__name:"d-arrow-left",setup(t){return(a,r)=>((0,Ne.openBlock)(),(0,Ne.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Ne.createElementVNode)("path",{fill:"currentColor",d:"M529.408 149.376a29.12 29.12 0 0 1 41.728 0 30.59 30.59 0 0 1 0 42.688L259.264 511.936l311.872 319.936a30.59 30.59 0 0 1-.512 43.264 29.12 29.12 0 0 1-41.216-.512L197.76 534.272a32 32 0 0 1 0-44.672zm256 0a29.12 29.12 0 0 1 41.728 0 30.59 30.59 0 0 1 0 42.688L515.264 511.936l311.872 319.936a30.59 30.59 0 0 1-.512 43.264 29.12 29.12 0 0 1-41.216-.512L453.76 534.272a32 32 0 0 1 0-44.672z"})]))}}),u6=Y5;var h6=o(e()),ze=o(e()),$5=(0,h6.defineComponent)({name:"DArrowRight",__name:"d-arrow-right",setup(t){return(a,r)=>((0,ze.openBlock)(),(0,ze.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,ze.createElementVNode)("path",{fill:"currentColor",d:"M452.864 149.312a29.12 29.12 0 0 1 41.728.064L826.24 489.664a32 32 0 0 1 0 44.672L494.592 874.624a29.12 29.12 0 0 1-41.728 0 30.59 30.59 0 0 1 0-42.752L764.736 512 452.864 192a30.59 30.59 0 0 1 0-42.688m-256 0a29.12 29.12 0 0 1 41.728.064L570.24 489.664a32 32 0 0 1 0 44.672L238.592 874.624a29.12 29.12 0 0 1-41.728 0 30.59 30.59 0 0 1 0-42.752L508.736 512 196.864 192a30.59 30.59 0 0 1 0-42.688"})]))}}),v6=$5;var w6=o(e()),He=o(e()),e9=(0,w6.defineComponent)({name:"DCaret",__name:"d-caret",setup(t){return(a,r)=>((0,He.openBlock)(),(0,He.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,He.createElementVNode)("path",{fill:"currentColor",d:"m512 128 288 320H224zM224 576h576L512 896z"})]))}}),B6=e9;var x6=o(e()),Le=o(e()),o9=(0,x6.defineComponent)({name:"DataAnalysis",__name:"data-analysis",setup(t){return(a,r)=>((0,Le.openBlock)(),(0,Le.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Le.createElementVNode)("path",{fill:"currentColor",d:"m665.216 768 110.848 192h-73.856L591.36 768H433.024L322.176 960H248.32l110.848-192H160a32 32 0 0 1-32-32V192H64a32 32 0 0 1 0-64h896a32 32 0 1 1 0 64h-64v544a32 32 0 0 1-32 32zM832 192H192v512h640zM352 448a32 32 0 0 1 32 32v64a32 32 0 0 1-64 0v-64a32 32 0 0 1 32-32m160-64a32 32 0 0 1 32 32v128a32 32 0 0 1-64 0V416a32 32 0 0 1 32-32m160-64a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V352a32 32 0 0 1 32-32"})]))}}),k6=o9;var C6=o(e()),u=o(e()),t9=(0,C6.defineComponent)({name:"DataBoard",__name:"data-board",setup(t){return(a,r)=>((0,u.openBlock)(),(0,u.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,u.createElementVNode)("path",{fill:"currentColor",d:"M32 128h960v64H32z"}),(0,u.createElementVNode)("path",{fill:"currentColor",d:"M192 192v512h640V192zm-64-64h768v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32z"}),(0,u.createElementVNode)("path",{fill:"currentColor",d:"M322.176 960H248.32l144.64-250.56 55.424 32zm453.888 0h-73.856L576 741.44l55.424-32z"})]))}}),E6=t9;var V6=o(e()),Ae=o(e()),a9=(0,V6.defineComponent)({name:"DataLine",__name:"data-line",setup(t){return(a,r)=>((0,Ae.openBlock)(),(0,Ae.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Ae.createElementVNode)("path",{fill:"currentColor",d:"M359.168 768H160a32 32 0 0 1-32-32V192H64a32 32 0 0 1 0-64h896a32 32 0 1 1 0 64h-64v544a32 32 0 0 1-32 32H665.216l110.848 192h-73.856L591.36 768H433.024L322.176 960H248.32zM832 192H192v512h640zM342.656 534.656a32 32 0 1 1-45.312-45.312L444.992 341.76l125.44 94.08L679.04 300.032a32 32 0 1 1 49.92 39.936L581.632 524.224 451.008 426.24 342.656 534.592z"})]))}}),g6=a9;var M6=o(e()),Se=o(e()),r9=(0,M6.defineComponent)({name:"DeleteFilled",__name:"delete-filled",setup(t){return(a,r)=>((0,Se.openBlock)(),(0,Se.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Se.createElementVNode)("path",{fill:"currentColor",d:"M352 192V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64H96a32 32 0 0 1 0-64zm64 0h192v-64H416zM192 960a32 32 0 0 1-32-32V256h704v672a32 32 0 0 1-32 32zm224-192a32 32 0 0 0 32-32V416a32 32 0 0 0-64 0v320a32 32 0 0 0 32 32m192 0a32 32 0 0 0 32-32V416a32 32 0 0 0-64 0v320a32 32 0 0 0 32 32"})]))}}),N6=r9;var z6=o(e()),h=o(e()),n9=(0,z6.defineComponent)({name:"DeleteLocation",__name:"delete-location",setup(t){return(a,r)=>((0,h.openBlock)(),(0,h.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,h.createElementVNode)("path",{fill:"currentColor",d:"M288 896h448q32 0 32 32t-32 32H288q-32 0-32-32t32-32"}),(0,h.createElementVNode)("path",{fill:"currentColor",d:"M800 416a288 288 0 1 0-576 0c0 118.144 94.528 272.128 288 456.576C705.472 688.128 800 534.144 800 416M512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544"}),(0,h.createElementVNode)("path",{fill:"currentColor",d:"M384 384h256q32 0 32 32t-32 32H384q-32 0-32-32t32-32"})]))}}),H6=n9;var L6=o(e()),qe=o(e()),l9=(0,L6.defineComponent)({name:"Delete",__name:"delete",setup(t){return(a,r)=>((0,qe.openBlock)(),(0,qe.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,qe.createElementVNode)("path",{fill:"currentColor",d:"M160 256H96a32 32 0 0 1 0-64h256V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64h-64v672a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32zm448-64v-64H416v64zM224 896h576V256H224zm192-128a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32m192 0a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32"})]))}}),A6=l9;var S6=o(e()),Fe=o(e()),m9=(0,S6.defineComponent)({name:"Dessert",__name:"dessert",setup(t){return(a,r)=>((0,Fe.openBlock)(),(0,Fe.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Fe.createElementVNode)("path",{fill:"currentColor",d:"M128 416v-48a144 144 0 0 1 168.64-141.888 224.128 224.128 0 0 1 430.72 0A144 144 0 0 1 896 368v48a384 384 0 0 1-352 382.72V896h-64v-97.28A384 384 0 0 1 128 416m287.104-32.064h193.792a143.81 143.81 0 0 1 58.88-132.736 160.064 160.064 0 0 0-311.552 0 143.81 143.81 0 0 1 58.88 132.8zm-72.896 0a72 72 0 1 0-140.48 0zm339.584 0h140.416a72 72 0 1 0-140.48 0zM512 736a320 320 0 0 0 318.4-288.064H193.6A320 320 0 0 0 512 736M384 896.064h256a32 32 0 1 1 0 64H384a32 32 0 1 1 0-64"})]))}}),q6=m9;var F6=o(e()),J=o(e()),c9=(0,F6.defineComponent)({name:"Discount",__name:"discount",setup(t){return(a,r)=>((0,J.openBlock)(),(0,J.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,J.createElementVNode)("path",{fill:"currentColor",d:"M224 704h576V318.336L552.512 115.84a64 64 0 0 0-81.024 0L224 318.336zm0 64v128h576V768zM593.024 66.304l259.2 212.096A32 32 0 0 1 864 303.168V928a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32V303.168a32 32 0 0 1 11.712-24.768l259.2-212.096a128 128 0 0 1 162.112 0"}),(0,J.createElementVNode)("path",{fill:"currentColor",d:"M512 448a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256"})]))}}),D6=c9;var b6=o(e()),De=o(e()),p9=(0,b6.defineComponent)({name:"DishDot",__name:"dish-dot",setup(t){return(a,r)=>((0,De.openBlock)(),(0,De.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,De.createElementVNode)("path",{fill:"currentColor",d:"m384.064 274.56.064-50.688A128 128 0 0 1 512.128 96c70.528 0 127.68 57.152 127.68 127.68v50.752A448.19 448.19 0 0 1 955.392 768H68.544A448.19 448.19 0 0 1 384 274.56zM96 832h832a32 32 0 1 1 0 64H96a32 32 0 1 1 0-64m32-128h768a384 384 0 1 0-768 0m447.808-448v-32.32a63.68 63.68 0 0 0-63.68-63.68 64 64 0 0 0-64 63.936V256z"})]))}}),y6=p9;var P6=o(e()),be=o(e()),s9=(0,P6.defineComponent)({name:"Dish",__name:"dish",setup(t){return(a,r)=>((0,be.openBlock)(),(0,be.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,be.createElementVNode)("path",{fill:"currentColor",d:"M480 257.152V192h-96a32 32 0 0 1 0-64h256a32 32 0 1 1 0 64h-96v65.152A448 448 0 0 1 955.52 768H68.48A448 448 0 0 1 480 257.152M128 704h768a384 384 0 1 0-768 0M96 832h832a32 32 0 1 1 0 64H96a32 32 0 1 1 0-64"})]))}}),R6=s9;var T6=o(e()),ye=o(e()),_9=(0,T6.defineComponent)({name:"DocumentAdd",__name:"document-add",setup(t){return(a,r)=>((0,ye.openBlock)(),(0,ye.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,ye.createElementVNode)("path",{fill:"currentColor",d:"M832 384H576V128H192v768h640zm-26.496-64L640 154.496V320zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m320 512V448h64v128h128v64H544v128h-64V640H352v-64z"})]))}}),O6=_9;var G6=o(e()),Pe=o(e()),f9=(0,G6.defineComponent)({name:"DocumentChecked",__name:"document-checked",setup(t){return(a,r)=>((0,Pe.openBlock)(),(0,Pe.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Pe.createElementVNode)("path",{fill:"currentColor",d:"M805.504 320 640 154.496V320zM832 384H576V128H192v768h640zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m318.4 582.144 180.992-180.992L704.64 510.4 478.4 736.64 320 578.304l45.248-45.312z"})]))}}),U6=f9;var W6=o(e()),Re=o(e()),i9=(0,W6.defineComponent)({name:"DocumentCopy",__name:"document-copy",setup(t){return(a,r)=>((0,Re.openBlock)(),(0,Re.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Re.createElementVNode)("path",{fill:"currentColor",d:"M128 320v576h576V320zm-32-64h640a32 32 0 0 1 32 32v640a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V288a32 32 0 0 1 32-32M960 96v704a32 32 0 0 1-32 32h-96v-64h64V128H384v64h-64V96a32 32 0 0 1 32-32h576a32 32 0 0 1 32 32M256 672h320v64H256zm0-192h320v64H256z"})]))}}),I6=i9;var K6=o(e()),Te=o(e()),d9=(0,K6.defineComponent)({name:"DocumentDelete",__name:"document-delete",setup(t){return(a,r)=>((0,Te.openBlock)(),(0,Te.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Te.createElementVNode)("path",{fill:"currentColor",d:"M805.504 320 640 154.496V320zM832 384H576V128H192v768h640zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m308.992 546.304-90.496-90.624 45.248-45.248 90.56 90.496 90.496-90.432 45.248 45.248-90.496 90.56 90.496 90.496-45.248 45.248-90.496-90.496-90.56 90.496-45.248-45.248z"})]))}}),Q6=d9;var Z6=o(e()),Oe=o(e()),u9=(0,Z6.defineComponent)({name:"DocumentRemove",__name:"document-remove",setup(t){return(a,r)=>((0,Oe.openBlock)(),(0,Oe.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Oe.createElementVNode)("path",{fill:"currentColor",d:"M805.504 320 640 154.496V320zM832 384H576V128H192v768h640zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m192 512h320v64H352z"})]))}}),j6=u9;var J6=o(e()),Ge=o(e()),h9=(0,J6.defineComponent)({name:"Document",__name:"document",setup(t){return(a,r)=>((0,Ge.openBlock)(),(0,Ge.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Ge.createElementVNode)("path",{fill:"currentColor",d:"M832 384H576V128H192v768h640zm-26.496-64L640 154.496V320zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m160 448h384v64H320zm0-192h160v64H320zm0 384h384v64H320z"})]))}}),X6=h9;var Y6=o(e()),Ue=o(e()),v9=(0,Y6.defineComponent)({name:"Download",__name:"download",setup(t){return(a,r)=>((0,Ue.openBlock)(),(0,Ue.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Ue.createElementVNode)("path",{fill:"currentColor",d:"M160 832h704a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64m384-253.696 236.288-236.352 45.248 45.248L508.8 704 192 387.2l45.248-45.248L480 584.704V128h64z"})]))}}),$6=v9;var e3=o(e()),We=o(e()),w9=(0,e3.defineComponent)({name:"Drizzling",__name:"drizzling",setup(t){return(a,r)=>((0,We.openBlock)(),(0,We.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,We.createElementVNode)("path",{fill:"currentColor",d:"m739.328 291.328-35.2-6.592-12.8-33.408a192.064 192.064 0 0 0-365.952 23.232l-9.92 40.896-41.472 7.04a176.32 176.32 0 0 0-146.24 173.568c0 97.28 78.72 175.936 175.808 175.936h400a192 192 0 0 0 35.776-380.672M959.552 480a256 256 0 0 1-256 256h-400A239.81 239.81 0 0 1 63.744 496.192a240.32 240.32 0 0 1 199.488-236.8 256.128 256.128 0 0 1 487.872-30.976A256.064 256.064 0 0 1 959.552 480M288 800h64v64h-64zm192 0h64v64h-64zm-96 96h64v64h-64zm192 0h64v64h-64zm96-96h64v64h-64z"})]))}}),o3=w9;var t3=o(e()),Ie=o(e()),B9=(0,t3.defineComponent)({name:"EditPen",__name:"edit-pen",setup(t){return(a,r)=>((0,Ie.openBlock)(),(0,Ie.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Ie.createElementVNode)("path",{fill:"currentColor",d:"m199.04 672.64 193.984 112 224-387.968-193.92-112-224 388.032zm-23.872 60.16 32.896 148.288 144.896-45.696zM455.04 229.248l193.92 112 56.704-98.112-193.984-112zM104.32 708.8l384-665.024 304.768 175.936L409.152 884.8h.064l-248.448 78.336zm384 254.272v-64h448v64z"})]))}}),a3=B9;var r3=o(e()),X=o(e()),x9=(0,r3.defineComponent)({name:"Edit",__name:"edit",setup(t){return(a,r)=>((0,X.openBlock)(),(0,X.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,X.createElementVNode)("path",{fill:"currentColor",d:"M832 512a32 32 0 1 1 64 0v352a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h352a32 32 0 0 1 0 64H192v640h640z"}),(0,X.createElementVNode)("path",{fill:"currentColor",d:"m469.952 554.24 52.8-7.552L847.104 222.4a32 32 0 1 0-45.248-45.248L477.44 501.44l-7.552 52.8zm422.4-422.4a96 96 0 0 1 0 135.808l-331.84 331.84a32 32 0 0 1-18.112 9.088L436.8 623.68a32 32 0 0 1-36.224-36.224l15.104-105.6a32 32 0 0 1 9.024-18.112l331.904-331.84a96 96 0 0 1 135.744 0z"})]))}}),n3=x9;var l3=o(e()),Ke=o(e()),k9=(0,l3.defineComponent)({name:"ElemeFilled",__name:"eleme-filled",setup(t){return(a,r)=>((0,Ke.openBlock)(),(0,Ke.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Ke.createElementVNode)("path",{fill:"currentColor",d:"M176 64h672c61.824 0 112 50.176 112 112v672a112 112 0 0 1-112 112H176A112 112 0 0 1 64 848V176c0-61.824 50.176-112 112-112m150.528 173.568c-152.896 99.968-196.544 304.064-97.408 456.96a330.69 330.69 0 0 0 456.96 96.64c9.216-5.888 17.6-11.776 25.152-18.56a18.24 18.24 0 0 0 4.224-24.32L700.352 724.8a47.55 47.55 0 0 0-65.536-14.272A234.56 234.56 0 0 1 310.592 641.6C240 533.248 271.104 387.968 379.456 316.48a234.3 234.3 0 0 1 276.352 15.168c1.664.832 2.56 2.56 3.392 4.224 5.888 8.384 3.328 19.328-5.12 25.216L456.832 489.6a47.55 47.55 0 0 0-14.336 65.472l16 24.384c5.888 8.384 16.768 10.88 25.216 5.056l308.224-199.936a19.584 19.584 0 0 0 6.72-23.488v-.896c-4.992-9.216-10.048-17.6-15.104-26.88-99.968-151.168-304.064-194.88-456.96-95.744zM786.88 504.704l-62.208 40.32c-8.32 5.888-10.88 16.768-4.992 25.216L760 632.32c5.888 8.448 16.768 11.008 25.152 5.12l31.104-20.16a55.36 55.36 0 0 0 16-76.48l-20.224-31.04a19.52 19.52 0 0 0-25.152-5.12z"})]))}}),m3=k9;var c3=o(e()),Qe=o(e()),C9=(0,c3.defineComponent)({name:"Eleme",__name:"eleme",setup(t){return(a,r)=>((0,Qe.openBlock)(),(0,Qe.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Qe.createElementVNode)("path",{fill:"currentColor",d:"M300.032 188.8c174.72-113.28 408-63.36 522.24 109.44 5.76 10.56 11.52 20.16 17.28 30.72v.96a22.4 22.4 0 0 1-7.68 26.88l-352.32 228.48c-9.6 6.72-22.08 3.84-28.8-5.76l-18.24-27.84a54.336 54.336 0 0 1 16.32-74.88l225.6-146.88c9.6-6.72 12.48-19.2 5.76-28.8-.96-1.92-1.92-3.84-3.84-4.8a267.84 267.84 0 0 0-315.84-17.28c-123.84 81.6-159.36 247.68-78.72 371.52a268.096 268.096 0 0 0 370.56 78.72 54.336 54.336 0 0 1 74.88 16.32l17.28 26.88c5.76 9.6 3.84 21.12-4.8 27.84-8.64 7.68-18.24 14.4-28.8 21.12a377.92 377.92 0 0 1-522.24-110.4c-113.28-174.72-63.36-408 111.36-522.24m526.08 305.28a22.336 22.336 0 0 1 28.8 5.76l23.04 35.52a63.23 63.23 0 0 1-18.24 87.36l-35.52 23.04c-9.6 6.72-22.08 3.84-28.8-5.76l-46.08-71.04c-6.72-9.6-3.84-22.08 5.76-28.8z"})]))}}),p3=C9;var s3=o(e()),Ze=o(e()),E9=(0,s3.defineComponent)({name:"ElementPlus",__name:"element-plus",setup(t){return(a,r)=>((0,Ze.openBlock)(),(0,Ze.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Ze.createElementVNode)("path",{fill:"currentColor",d:"M839.7 734.7c0 33.3-17.9 41-17.9 41S519.7 949.8 499.2 960c-10.2 5.1-20.5 5.1-30.7 0 0 0-314.9-184.3-325.1-192-5.1-5.1-10.2-12.8-12.8-20.5V368.6c0-17.9 20.5-28.2 20.5-28.2L466 158.6q19.2-7.65 38.4 0s279 161.3 309.8 179.2c17.9 7.7 28.2 25.6 25.6 46.1-.1-5-.1 317.5-.1 350.8M714.2 371.2c-64-35.8-217.6-125.4-217.6-125.4-7.7-5.1-20.5-5.1-30.7 0L217.6 389.1s-17.9 10.2-17.9 23v297c0 5.1 5.1 12.8 7.7 17.9 7.7 5.1 256 148.5 256 148.5 7.7 5.1 17.9 5.1 25.6 0 15.4-7.7 250.9-145.9 250.9-145.9s12.8-5.1 12.8-30.7v-74.2l-276.5 169v-64c0-17.9 7.7-30.7 20.5-46.1L745 535c5.1-7.7 10.2-20.5 10.2-30.7v-66.6l-279 169v-69.1c0-15.4 5.1-30.7 17.9-38.4zM919 135.7c0-5.1-5.1-7.7-7.7-7.7h-58.9V66.6c0-5.1-5.1-5.1-10.2-5.1l-30.7 5.1c-5.1 0-5.1 2.6-5.1 5.1V128h-56.3c-5.1 0-5.1 5.1-7.7 5.1v38.4h69.1v64c0 5.1 5.1 5.1 10.2 5.1l30.7-5.1c5.1 0 5.1-2.6 5.1-5.1v-56.3h64z"})]))}}),_3=E9;var f3=o(e()),je=o(e()),V9=(0,f3.defineComponent)({name:"Expand",__name:"expand",setup(t){return(a,r)=>((0,je.openBlock)(),(0,je.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,je.createElementVNode)("path",{fill:"currentColor",d:"M128 192h768v128H128zm0 256h512v128H128zm0 256h768v128H128zm576-352 192 160-192 128z"})]))}}),i3=V9;var d3=o(e()),Je=o(e()),g9=(0,d3.defineComponent)({name:"Failed",__name:"failed",setup(t){return(a,r)=>((0,Je.openBlock)(),(0,Je.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Je.createElementVNode)("path",{fill:"currentColor",d:"m557.248 608 135.744-135.744-45.248-45.248-135.68 135.744-135.808-135.68-45.248 45.184L466.752 608l-135.68 135.68 45.184 45.312L512 653.248l135.744 135.744 45.248-45.248L557.312 608zM704 192h160v736H160V192h160v64h384zm-320 0V96h256v96z"})]))}}),u3=g9;var h3=o(e()),v=o(e()),M9=(0,h3.defineComponent)({name:"Female",__name:"female",setup(t){return(a,r)=>((0,v.openBlock)(),(0,v.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,v.createElementVNode)("path",{fill:"currentColor",d:"M512 640a256 256 0 1 0 0-512 256 256 0 0 0 0 512m0 64a320 320 0 1 1 0-640 320 320 0 0 1 0 640"}),(0,v.createElementVNode)("path",{fill:"currentColor",d:"M512 640q32 0 32 32v256q0 32-32 32t-32-32V672q0-32 32-32"}),(0,v.createElementVNode)("path",{fill:"currentColor",d:"M352 800h320q32 0 32 32t-32 32H352q-32 0-32-32t32-32"})]))}}),v3=M9;var w3=o(e()),Xe=o(e()),N9=(0,w3.defineComponent)({name:"Files",__name:"files",setup(t){return(a,r)=>((0,Xe.openBlock)(),(0,Xe.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Xe.createElementVNode)("path",{fill:"currentColor",d:"M128 384v448h768V384zm-32-64h832a32 32 0 0 1 32 32v512a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V352a32 32 0 0 1 32-32m64-128h704v64H160zm96-128h512v64H256z"})]))}}),B3=N9;var x3=o(e()),Y=o(e()),z9=(0,x3.defineComponent)({name:"Film",__name:"film",setup(t){return(a,r)=>((0,Y.openBlock)(),(0,Y.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Y.createElementVNode)("path",{fill:"currentColor",d:"M160 160v704h704V160zm-32-64h768a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H128a32 32 0 0 1-32-32V128a32 32 0 0 1 32-32"}),(0,Y.createElementVNode)("path",{fill:"currentColor",d:"M320 288V128h64v352h256V128h64v160h160v64H704v128h160v64H704v128h160v64H704v160h-64V544H384v352h-64V736H128v-64h192V544H128v-64h192V352H128v-64z"})]))}}),k3=z9;var C3=o(e()),Ye=o(e()),H9=(0,C3.defineComponent)({name:"Filter",__name:"filter",setup(t){return(a,r)=>((0,Ye.openBlock)(),(0,Ye.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Ye.createElementVNode)("path",{fill:"currentColor",d:"M384 523.392V928a32 32 0 0 0 46.336 28.608l192-96A32 32 0 0 0 640 832V523.392l280.768-343.104a32 32 0 1 0-49.536-40.576l-288 352A32 32 0 0 0 576 512v300.224l-128 64V512a32 32 0 0 0-7.232-20.288L195.52 192H704a32 32 0 1 0 0-64H128a32 32 0 0 0-24.768 52.288z"})]))}}),E3=H9;var V3=o(e()),$e=o(e()),L9=(0,V3.defineComponent)({name:"Finished",__name:"finished",setup(t){return(a,r)=>((0,$e.openBlock)(),(0,$e.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,$e.createElementVNode)("path",{fill:"currentColor",d:"M280.768 753.728 691.456 167.04a32 32 0 1 1 52.416 36.672L314.24 817.472a32 32 0 0 1-45.44 7.296l-230.4-172.8a32 32 0 0 1 38.4-51.2zM736 448a32 32 0 1 1 0-64h192a32 32 0 1 1 0 64zM608 640a32 32 0 0 1 0-64h319.936a32 32 0 1 1 0 64zM480 832a32 32 0 1 1 0-64h447.936a32 32 0 1 1 0 64z"})]))}}),g3=L9;var M3=o(e()),$=o(e()),A9=(0,M3.defineComponent)({name:"FirstAidKit",__name:"first-aid-kit",setup(t){return(a,r)=>((0,$.openBlock)(),(0,$.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,$.createElementVNode)("path",{fill:"currentColor",d:"M192 256a64 64 0 0 0-64 64v448a64 64 0 0 0 64 64h640a64 64 0 0 0 64-64V320a64 64 0 0 0-64-64zm0-64h640a128 128 0 0 1 128 128v448a128 128 0 0 1-128 128H192A128 128 0 0 1 64 768V320a128 128 0 0 1 128-128"}),(0,$.createElementVNode)("path",{fill:"currentColor",d:"M544 512h96a32 32 0 0 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64h96v-96a32 32 0 0 1 64 0zM352 128v64h320v-64zm-32-64h384a32 32 0 0 1 32 32v128a32 32 0 0 1-32 32H320a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32"})]))}}),N3=A9;var z3=o(e()),e0=o(e()),S9=(0,z3.defineComponent)({name:"Flag",__name:"flag",setup(t){return(a,r)=>((0,e0.openBlock)(),(0,e0.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,e0.createElementVNode)("path",{fill:"currentColor",d:"M288 128h608L736 384l160 256H288v320h-96V64h96z"})]))}}),H3=S9;var L3=o(e()),o0=o(e()),q9=(0,L3.defineComponent)({name:"Fold",__name:"fold",setup(t){return(a,r)=>((0,o0.openBlock)(),(0,o0.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,o0.createElementVNode)("path",{fill:"currentColor",d:"M896 192H128v128h768zm0 256H384v128h512zm0 256H128v128h768zM320 384 128 512l192 128z"})]))}}),A3=q9;var S3=o(e()),t0=o(e()),F9=(0,S3.defineComponent)({name:"FolderAdd",__name:"folder-add",setup(t){return(a,r)=>((0,t0.openBlock)(),(0,t0.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,t0.createElementVNode)("path",{fill:"currentColor",d:"M128 192v640h768V320H485.76L357.504 192zm-32-64h287.872l128.384 128H928a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32m384 416V416h64v128h128v64H544v128h-64V608H352v-64z"})]))}}),q3=F9;var F3=o(e()),a0=o(e()),D9=(0,F3.defineComponent)({name:"FolderChecked",__name:"folder-checked",setup(t){return(a,r)=>((0,a0.openBlock)(),(0,a0.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,a0.createElementVNode)("path",{fill:"currentColor",d:"M128 192v640h768V320H485.76L357.504 192zm-32-64h287.872l128.384 128H928a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32m414.08 502.144 180.992-180.992L736.32 494.4 510.08 720.64l-158.4-158.336 45.248-45.312z"})]))}}),D3=D9;var b3=o(e()),r0=o(e()),b9=(0,b3.defineComponent)({name:"FolderDelete",__name:"folder-delete",setup(t){return(a,r)=>((0,r0.openBlock)(),(0,r0.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r0.createElementVNode)("path",{fill:"currentColor",d:"M128 192v640h768V320H485.76L357.504 192zm-32-64h287.872l128.384 128H928a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32m370.752 448-90.496-90.496 45.248-45.248L512 530.752l90.496-90.496 45.248 45.248L557.248 576l90.496 90.496-45.248 45.248L512 621.248l-90.496 90.496-45.248-45.248z"})]))}}),y3=b9;var P3=o(e()),n0=o(e()),y9=(0,P3.defineComponent)({name:"FolderOpened",__name:"folder-opened",setup(t){return(a,r)=>((0,n0.openBlock)(),(0,n0.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,n0.createElementVNode)("path",{fill:"currentColor",d:"M878.08 448H241.92l-96 384h636.16zM832 384v-64H485.76L357.504 192H128v448l57.92-231.744A32 32 0 0 1 216.96 384zm-24.96 512H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h287.872l128.384 128H864a32 32 0 0 1 32 32v96h23.04a32 32 0 0 1 31.04 39.744l-112 448A32 32 0 0 1 807.04 896"})]))}}),R3=y9;var T3=o(e()),l0=o(e()),P9=(0,T3.defineComponent)({name:"FolderRemove",__name:"folder-remove",setup(t){return(a,r)=>((0,l0.openBlock)(),(0,l0.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,l0.createElementVNode)("path",{fill:"currentColor",d:"M128 192v640h768V320H485.76L357.504 192zm-32-64h287.872l128.384 128H928a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32m256 416h320v64H352z"})]))}}),O3=P9;var G3=o(e()),m0=o(e()),R9=(0,G3.defineComponent)({name:"Folder",__name:"folder",setup(t){return(a,r)=>((0,m0.openBlock)(),(0,m0.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,m0.createElementVNode)("path",{fill:"currentColor",d:"M128 192v640h768V320H485.76L357.504 192zm-32-64h287.872l128.384 128H928a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32"})]))}}),U3=R9;var W3=o(e()),c0=o(e()),T9=(0,W3.defineComponent)({name:"Food",__name:"food",setup(t){return(a,r)=>((0,c0.openBlock)(),(0,c0.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,c0.createElementVNode)("path",{fill:"currentColor",d:"M128 352.576V352a288 288 0 0 1 491.072-204.224 192 192 0 0 1 274.24 204.48 64 64 0 0 1 57.216 74.24C921.6 600.512 850.048 710.656 736 756.992V800a96 96 0 0 1-96 96H384a96 96 0 0 1-96-96v-43.008c-114.048-46.336-185.6-156.48-214.528-330.496A64 64 0 0 1 128 352.64zm64-.576h64a160 160 0 0 1 320 0h64a224 224 0 0 0-448 0m128 0h192a96 96 0 0 0-192 0m439.424 0h68.544A128.256 128.256 0 0 0 704 192c-15.36 0-29.952 2.688-43.52 7.616 11.328 18.176 20.672 37.76 27.84 58.304A64.128 64.128 0 0 1 759.424 352M672 768H352v32a32 32 0 0 0 32 32h256a32 32 0 0 0 32-32zm-342.528-64h365.056c101.504-32.64 165.76-124.928 192.896-288H136.576c27.136 163.072 91.392 255.36 192.896 288"})]))}}),I3=T9;var K3=o(e()),e2=o(e()),O9=(0,K3.defineComponent)({name:"Football",__name:"football",setup(t){return(a,r)=>((0,e2.openBlock)(),(0,e2.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,e2.createElementVNode)("path",{fill:"currentColor",d:"M512 960a448 448 0 1 1 0-896 448 448 0 0 1 0 896m0-64a384 384 0 1 0 0-768 384 384 0 0 0 0 768"}),(0,e2.createElementVNode)("path",{fill:"currentColor",d:"M186.816 268.288c16-16.384 31.616-31.744 46.976-46.08 17.472 30.656 39.808 58.112 65.984 81.28l-32.512 56.448a386 386 0 0 1-80.448-91.648m653.696-5.312a385.9 385.9 0 0 1-83.776 96.96l-32.512-56.384a322.9 322.9 0 0 0 68.48-85.76c15.552 14.08 31.488 29.12 47.808 45.184M465.984 445.248l11.136-63.104a323.6 323.6 0 0 0 69.76 0l11.136 63.104a388 388 0 0 1-92.032 0m-62.72-12.8A381.8 381.8 0 0 1 320 396.544l32-55.424a320 320 0 0 0 62.464 27.712l-11.2 63.488zm300.8-35.84a381.8 381.8 0 0 1-83.328 35.84l-11.2-63.552A320 320 0 0 0 672 341.184l32 55.424zm-520.768 364.8a385.9 385.9 0 0 1 83.968-97.28l32.512 56.32c-26.88 23.936-49.856 52.352-67.52 84.032-16-13.44-32.32-27.712-48.96-43.072m657.536.128a1443 1443 0 0 1-49.024 43.072 321.4 321.4 0 0 0-67.584-84.16l32.512-56.32c33.216 27.456 61.696 60.352 84.096 97.408M465.92 578.752a388 388 0 0 1 92.032 0l-11.136 63.104a323.6 323.6 0 0 0-69.76 0zm-62.72 12.8 11.2 63.552a320 320 0 0 0-62.464 27.712L320 627.392a381.8 381.8 0 0 1 83.264-35.84zm300.8 35.84-32 55.424a318.3 318.3 0 0 0-62.528-27.712l11.2-63.488c29.44 8.64 57.28 20.736 83.264 35.776z"})]))}}),Q3=O9;var Z3=o(e()),p0=o(e()),G9=(0,Z3.defineComponent)({name:"ForkSpoon",__name:"fork-spoon",setup(t){return(a,r)=>((0,p0.openBlock)(),(0,p0.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,p0.createElementVNode)("path",{fill:"currentColor",d:"M256 410.304V96a32 32 0 0 1 64 0v314.304a96 96 0 0 0 64-90.56V96a32 32 0 0 1 64 0v223.744a160 160 0 0 1-128 156.8V928a32 32 0 1 1-64 0V476.544a160 160 0 0 1-128-156.8V96a32 32 0 0 1 64 0v223.744a96 96 0 0 0 64 90.56M672 572.48C581.184 552.128 512 446.848 512 320c0-141.44 85.952-256 192-256s192 114.56 192 256c0 126.848-69.184 232.128-160 252.48V928a32 32 0 1 1-64 0zM704 512c66.048 0 128-82.56 128-192s-61.952-192-128-192-128 82.56-128 192 61.952 192 128 192"})]))}}),j3=G9;var J3=o(e()),s0=o(e()),U9=(0,J3.defineComponent)({name:"Fries",__name:"fries",setup(t){return(a,r)=>((0,s0.openBlock)(),(0,s0.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,s0.createElementVNode)("path",{fill:"currentColor",d:"M608 224v-64a32 32 0 0 0-64 0v336h26.88A64 64 0 0 0 608 484.096zm101.12 160A64 64 0 0 0 672 395.904V384h64V224a32 32 0 1 0-64 0v160zm74.88 0a92.928 92.928 0 0 1 91.328 110.08l-60.672 323.584A96 96 0 0 1 720.32 896H303.68a96 96 0 0 1-94.336-78.336L148.672 494.08A92.928 92.928 0 0 1 240 384h-16V224a96 96 0 0 1 188.608-25.28A95.74 95.74 0 0 1 480 197.44V160a96 96 0 0 1 188.608-25.28A96 96 0 0 1 800 224v160zM670.784 512a128 128 0 0 1-99.904 48H453.12a128 128 0 0 1-99.84-48H352v-1.536a128 128 0 0 1-9.984-14.976L314.88 448H240a28.928 28.928 0 0 0-28.48 34.304L241.088 640h541.824l29.568-157.696A28.928 28.928 0 0 0 784 448h-74.88l-27.136 47.488A132 132 0 0 1 672 510.464V512zM480 288a32 32 0 0 0-64 0v196.096A64 64 0 0 0 453.12 496H480zm-128 96V224a32 32 0 0 0-64 0v160zh-37.12A64 64 0 0 1 352 395.904zm-98.88 320 19.072 101.888A32 32 0 0 0 303.68 832h416.64a32 32 0 0 0 31.488-26.112L770.88 704z"})]))}}),X3=U9;var Y3=o(e()),_0=o(e()),W9=(0,Y3.defineComponent)({name:"FullScreen",__name:"full-screen",setup(t){return(a,r)=>((0,_0.openBlock)(),(0,_0.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,_0.createElementVNode)("path",{fill:"currentColor",d:"m160 96.064 192 .192a32 32 0 0 1 0 64l-192-.192V352a32 32 0 0 1-64 0V96h64zm0 831.872V928H96V672a32 32 0 1 1 64 0v191.936l192-.192a32 32 0 1 1 0 64zM864 96.064V96h64v256a32 32 0 1 1-64 0V160.064l-192 .192a32 32 0 1 1 0-64zm0 831.872-192-.192a32 32 0 0 1 0-64l192 .192V672a32 32 0 1 1 64 0v256h-64z"})]))}}),$3=W9;var ea=o(e()),f0=o(e()),I9=(0,ea.defineComponent)({name:"GobletFull",__name:"goblet-full",setup(t){return(a,r)=>((0,f0.openBlock)(),(0,f0.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,f0.createElementVNode)("path",{fill:"currentColor",d:"M256 320h512c0-78.592-12.608-142.4-36.928-192h-434.24C269.504 192.384 256 256.256 256 320m503.936 64H264.064a256.128 256.128 0 0 0 495.872 0M544 638.4V896h96a32 32 0 1 1 0 64H384a32 32 0 1 1 0-64h96V638.4A320 320 0 0 1 192 320c0-85.632 21.312-170.944 64-256h512c42.688 64.32 64 149.632 64 256a320 320 0 0 1-288 318.4"})]))}}),oa=I9;var ta=o(e()),i0=o(e()),K9=(0,ta.defineComponent)({name:"GobletSquareFull",__name:"goblet-square-full",setup(t){return(a,r)=>((0,i0.openBlock)(),(0,i0.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,i0.createElementVNode)("path",{fill:"currentColor",d:"M256 270.912c10.048 6.72 22.464 14.912 28.992 18.624a220.16 220.16 0 0 0 114.752 30.72c30.592 0 49.408-9.472 91.072-41.152l.64-.448c52.928-40.32 82.368-55.04 132.288-54.656 55.552.448 99.584 20.8 142.72 57.408l1.536 1.28V128H256zm.96 76.288C266.368 482.176 346.88 575.872 512 576c157.44.064 237.952-85.056 253.248-209.984a952 952 0 0 1-40.192-35.712c-32.704-27.776-63.36-41.92-101.888-42.24-31.552-.256-50.624 9.28-93.12 41.6l-.576.448c-52.096 39.616-81.024 54.208-129.792 54.208-54.784 0-100.48-13.376-142.784-37.056zM480 638.848C250.624 623.424 192 442.496 192 319.68V96a32 32 0 0 1 32-32h576a32 32 0 0 1 32 32v224c0 122.816-58.624 303.68-288 318.912V896h96a32 32 0 1 1 0 64H384a32 32 0 1 1 0-64h96z"})]))}}),aa=K9;var ra=o(e()),d0=o(e()),Q9=(0,ra.defineComponent)({name:"GobletSquare",__name:"goblet-square",setup(t){return(a,r)=>((0,d0.openBlock)(),(0,d0.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,d0.createElementVNode)("path",{fill:"currentColor",d:"M544 638.912V896h96a32 32 0 1 1 0 64H384a32 32 0 1 1 0-64h96V638.848C250.624 623.424 192 442.496 192 319.68V96a32 32 0 0 1 32-32h576a32 32 0 0 1 32 32v224c0 122.816-58.624 303.68-288 318.912M256 319.68c0 149.568 80 256.192 256 256.256C688.128 576 768 469.568 768 320V128H256z"})]))}}),na=Q9;var la=o(e()),u0=o(e()),Z9=(0,la.defineComponent)({name:"Goblet",__name:"goblet",setup(t){return(a,r)=>((0,u0.openBlock)(),(0,u0.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,u0.createElementVNode)("path",{fill:"currentColor",d:"M544 638.4V896h96a32 32 0 1 1 0 64H384a32 32 0 1 1 0-64h96V638.4A320 320 0 0 1 192 320c0-85.632 21.312-170.944 64-256h512c42.688 64.32 64 149.632 64 256a320 320 0 0 1-288 318.4M256 320a256 256 0 1 0 512 0c0-78.592-12.608-142.4-36.928-192h-434.24C269.504 192.384 256 256.256 256 320"})]))}}),ma=Z9;var ca=o(e()),o2=o(e()),j9=(0,ca.defineComponent)({name:"GoldMedal",__name:"gold-medal",setup(t){return(a,r)=>((0,o2.openBlock)(),(0,o2.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",viewBox:"0 0 1024 1024"},[(0,o2.createElementVNode)("path",{fill:"currentColor",d:"m772.13 452.84 53.86-351.81c1.32-10.01-1.17-18.68-7.49-26.02S804.35 64 795.01 64H228.99v-.01h-.06c-9.33 0-17.15 3.67-23.49 11.01s-8.83 16.01-7.49 26.02l53.87 351.89C213.54 505.73 193.59 568.09 192 640c2 90.67 33.17 166.17 93.5 226.5S421.33 957.99 512 960c90.67-2 166.17-33.17 226.5-93.5 60.33-60.34 91.49-135.83 93.5-226.5-1.59-71.94-21.56-134.32-59.87-187.16M640.01 128h117.02l-39.01 254.02c-20.75-10.64-40.74-19.73-59.94-27.28-5.92-3-11.95-5.8-18.08-8.41V128zM576 128v198.76c-13.18-2.58-26.74-4.43-40.67-5.55-8.07-.8-15.85-1.2-23.33-1.2-10.54 0-21.09.66-31.64 1.96a360 360 0 0 0-32.36 4.79V128zm-192 0h.04v218.3c-6.22 2.66-12.34 5.5-18.36 8.56-19.13 7.54-39.02 16.6-59.66 27.16L267.01 128zm308.99 692.99c-48 48-108.33 73-180.99 75.01-72.66-2.01-132.99-27.01-180.99-75.01S258.01 712.66 256 640c2.01-72.66 27.01-132.99 75.01-180.99 19.67-19.67 41.41-35.47 65.22-47.41 38.33-15.04 71.15-23.92 98.44-26.65 5.07-.41 10.2-.7 15.39-.88.63-.01 1.28-.03 1.91-.03.66 0 1.35.03 2.02.04 5.11.17 10.15.46 15.13.86 27.4 2.71 60.37 11.65 98.91 26.79 23.71 11.93 45.36 27.69 64.96 47.29 48 48 73 108.33 75.01 180.99-2.01 72.65-27.01 132.98-75.01 180.98"}),(0,o2.createElementVNode)("path",{fill:"currentColor",d:"M544 480H416v64h64v192h-64v64h192v-64h-64z"})]))}}),pa=j9;var sa=o(e()),h0=o(e()),J9=(0,sa.defineComponent)({name:"GoodsFilled",__name:"goods-filled",setup(t){return(a,r)=>((0,h0.openBlock)(),(0,h0.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,h0.createElementVNode)("path",{fill:"currentColor",d:"M192 352h640l64 544H128zm128 224h64V448h-64zm320 0h64V448h-64zM384 288h-64a192 192 0 1 1 384 0h-64a128 128 0 1 0-256 0"})]))}}),_a=J9;var fa=o(e()),v0=o(e()),X9=(0,fa.defineComponent)({name:"Goods",__name:"goods",setup(t){return(a,r)=>((0,v0.openBlock)(),(0,v0.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,v0.createElementVNode)("path",{fill:"currentColor",d:"M320 288v-22.336C320 154.688 405.504 64 512 64s192 90.688 192 201.664v22.4h131.072a32 32 0 0 1 31.808 28.8l57.6 576a32 32 0 0 1-31.808 35.2H131.328a32 32 0 0 1-31.808-35.2l57.6-576a32 32 0 0 1 31.808-28.8H320zm64 0h256v-22.336C640 189.248 582.272 128 512 128s-128 61.248-128 137.664v22.4zm-64 64H217.92l-51.2 512h690.56l-51.264-512H704v96a32 32 0 1 1-64 0v-96H384v96a32 32 0 0 1-64 0z"})]))}}),ia=X9;var da=o(e()),w0=o(e()),Y9=(0,da.defineComponent)({name:"Grape",__name:"grape",setup(t){return(a,r)=>((0,w0.openBlock)(),(0,w0.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,w0.createElementVNode)("path",{fill:"currentColor",d:"M544 195.2a160 160 0 0 1 96 60.8 160 160 0 1 1 146.24 254.976 160 160 0 0 1-128 224 160 160 0 1 1-292.48 0 160 160 0 0 1-128-224A160 160 0 1 1 384 256a160 160 0 0 1 96-60.8V128h-64a32 32 0 0 1 0-64h192a32 32 0 0 1 0 64h-64zM512 448a96 96 0 1 0 0-192 96 96 0 0 0 0 192m-256 0a96 96 0 1 0 0-192 96 96 0 0 0 0 192m128 224a96 96 0 1 0 0-192 96 96 0 0 0 0 192m128 224a96 96 0 1 0 0-192 96 96 0 0 0 0 192m128-224a96 96 0 1 0 0-192 96 96 0 0 0 0 192m128-224a96 96 0 1 0 0-192 96 96 0 0 0 0 192"})]))}}),ua=Y9;var ha=o(e()),B0=o(e()),$9=(0,ha.defineComponent)({name:"Grid",__name:"grid",setup(t){return(a,r)=>((0,B0.openBlock)(),(0,B0.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,B0.createElementVNode)("path",{fill:"currentColor",d:"M640 384v256H384V384zm64 0h192v256H704zm-64 512H384V704h256zm64 0V704h192v192zm-64-768v192H384V128zm64 0h192v192H704zM320 384v256H128V384zm0 512H128V704h192zm0-768v192H128V128z"})]))}}),va=$9;var wa=o(e()),t2=o(e()),ep=(0,wa.defineComponent)({name:"Guide",__name:"guide",setup(t){return(a,r)=>((0,t2.openBlock)(),(0,t2.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,t2.createElementVNode)("path",{fill:"currentColor",d:"M640 608h-64V416h64zm0 160v160a32 32 0 0 1-32 32H416a32 32 0 0 1-32-32V768h64v128h128V768zM384 608V416h64v192zm256-352h-64V128H448v128h-64V96a32 32 0 0 1 32-32h192a32 32 0 0 1 32 32z"}),(0,t2.createElementVNode)("path",{fill:"currentColor",d:"m220.8 256-71.232 80 71.168 80H768V256zm-14.4-64H800a32 32 0 0 1 32 32v224a32 32 0 0 1-32 32H206.4a32 32 0 0 1-23.936-10.752l-99.584-112a32 32 0 0 1 0-42.496l99.584-112A32 32 0 0 1 206.4 192m678.784 496-71.104 80H266.816V608h547.2zm-56.768-144H234.88a32 32 0 0 0-32 32v224a32 32 0 0 0 32 32h593.6a32 32 0 0 0 23.936-10.752l99.584-112a32 32 0 0 0 0-42.496l-99.584-112A32 32 0 0 0 828.48 544z"})]))}}),Ba=ep;var xa=o(e()),x0=o(e()),op=(0,xa.defineComponent)({name:"Handbag",__name:"handbag",setup(t){return(a,r)=>((0,x0.openBlock)(),(0,x0.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",viewBox:"0 0 1024 1024"},[(0,x0.createElementVNode)("path",{fill:"currentColor",d:"M887.01 264.99c-6-5.99-13.67-8.99-23.01-8.99H704c-1.34-54.68-20.01-100.01-56-136s-81.32-54.66-136-56c-54.68 1.34-100.01 20.01-136 56s-54.66 81.32-56 136H160c-9.35 0-17.02 3-23.01 8.99-5.99 6-8.99 13.67-8.99 23.01v640c0 9.35 2.99 17.02 8.99 23.01S150.66 960 160 960h704c9.35 0 17.02-2.99 23.01-8.99S896 937.34 896 928V288c0-9.35-2.99-17.02-8.99-23.01M421.5 165.5c24.32-24.34 54.49-36.84 90.5-37.5 35.99.68 66.16 13.18 90.5 37.5s36.84 54.49 37.5 90.5H384c.68-35.99 13.18-66.16 37.5-90.5M832 896H192V320h128v128h64V320h256v128h64V320h128z"})]))}}),ka=op;var Ca=o(e()),k0=o(e()),tp=(0,Ca.defineComponent)({name:"Headset",__name:"headset",setup(t){return(a,r)=>((0,k0.openBlock)(),(0,k0.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,k0.createElementVNode)("path",{fill:"currentColor",d:"M896 529.152V512a384 384 0 1 0-768 0v17.152A128 128 0 0 1 320 640v128a128 128 0 1 1-256 0V512a448 448 0 1 1 896 0v256a128 128 0 1 1-256 0V640a128 128 0 0 1 192-110.848M896 640a64 64 0 0 0-128 0v128a64 64 0 0 0 128 0zm-768 0v128a64 64 0 0 0 128 0V640a64 64 0 1 0-128 0"})]))}}),Ea=tp;var Va=o(e()),C0=o(e()),ap=(0,Va.defineComponent)({name:"HelpFilled",__name:"help-filled",setup(t){return(a,r)=>((0,C0.openBlock)(),(0,C0.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,C0.createElementVNode)("path",{fill:"currentColor",d:"M926.784 480H701.312A192.51 192.51 0 0 0 544 322.688V97.216A416.064 416.064 0 0 1 926.784 480m0 64A416.064 416.064 0 0 1 544 926.784V701.312A192.51 192.51 0 0 0 701.312 544zM97.28 544h225.472A192.51 192.51 0 0 0 480 701.312v225.472A416.064 416.064 0 0 1 97.216 544zm0-64A416.064 416.064 0 0 1 480 97.216v225.472A192.51 192.51 0 0 0 322.688 480H97.216z"})]))}}),ga=ap;var Ma=o(e()),E0=o(e()),rp=(0,Ma.defineComponent)({name:"Help",__name:"help",setup(t){return(a,r)=>((0,E0.openBlock)(),(0,E0.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,E0.createElementVNode)("path",{fill:"currentColor",d:"m759.936 805.248-90.944-91.008A254.9 254.9 0 0 1 512 768a254.9 254.9 0 0 1-156.992-53.76l-90.944 91.008A382.46 382.46 0 0 0 512 896c94.528 0 181.12-34.176 247.936-90.752m45.312-45.312A382.46 382.46 0 0 0 896 512c0-94.528-34.176-181.12-90.752-247.936l-91.008 90.944C747.904 398.4 768 452.864 768 512s-20.096 113.6-53.76 156.992zm-45.312-541.184A382.46 382.46 0 0 0 512 128c-94.528 0-181.12 34.176-247.936 90.752l90.944 91.008A254.9 254.9 0 0 1 512 256c59.136 0 113.6 20.096 156.992 53.76zm-541.184 45.312A382.46 382.46 0 0 0 128 512c0 94.528 34.176 181.12 90.752 247.936l91.008-90.944A254.9 254.9 0 0 1 256 512c0-59.136 20.096-113.6 53.76-156.992zm417.28 394.496a194.6 194.6 0 0 0 22.528-22.528C686.912 602.56 704 559.232 704 512a191.23 191.23 0 0 0-67.968-146.56A191.3 191.3 0 0 0 512 320a191.23 191.23 0 0 0-146.56 67.968C337.088 421.44 320 464.768 320 512a191.23 191.23 0 0 0 67.968 146.56C421.44 686.912 464.768 704 512 704c47.296 0 90.56-17.088 124.032-45.44M512 960a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}}),Na=rp;var za=o(e()),a2=o(e()),np=(0,za.defineComponent)({name:"Hide",__name:"hide",setup(t){return(a,r)=>((0,a2.openBlock)(),(0,a2.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,a2.createElementVNode)("path",{fill:"currentColor",d:"M876.8 156.8c0-9.6-3.2-16-9.6-22.4s-12.8-9.6-22.4-9.6-16 3.2-22.4 9.6L736 220.8c-64-32-137.6-51.2-224-60.8-160 16-288 73.6-377.6 176S0 496 0 512s48 73.6 134.4 176c22.4 25.6 44.8 48 73.6 67.2l-86.4 89.6c-6.4 6.4-9.6 12.8-9.6 22.4s3.2 16 9.6 22.4 12.8 9.6 22.4 9.6 16-3.2 22.4-9.6l704-710.4c3.2-6.4 6.4-12.8 6.4-22.4m-646.4 528Q115.2 579.2 76.8 512q43.2-72 153.6-172.8C304 272 400 230.4 512 224c64 3.2 124.8 19.2 176 44.8l-54.4 54.4C598.4 300.8 560 288 512 288c-64 0-115.2 22.4-160 64s-64 96-64 160c0 48 12.8 89.6 35.2 124.8L256 707.2c-9.6-6.4-19.2-16-25.6-22.4m140.8-96Q352 555.2 352 512c0-44.8 16-83.2 48-112s67.2-48 112-48c28.8 0 54.4 6.4 73.6 19.2zM889.599 336c-12.8-16-28.8-28.8-41.6-41.6l-48 48c73.6 67.2 124.8 124.8 150.4 169.6q-43.2 72-153.6 172.8c-73.6 67.2-172.8 108.8-284.8 115.2-51.2-3.2-99.2-12.8-140.8-28.8l-48 48c57.6 22.4 118.4 38.4 188.8 44.8 160-16 288-73.6 377.6-176S1024 528 1024 512s-48.001-73.6-134.401-176"}),(0,a2.createElementVNode)("path",{fill:"currentColor",d:"M511.998 672c-12.8 0-25.6-3.2-38.4-6.4l-51.2 51.2c28.8 12.8 57.6 19.2 89.6 19.2 64 0 115.2-22.4 160-64 41.6-41.6 64-96 64-160 0-32-6.4-64-19.2-89.6l-51.2 51.2c3.2 12.8 6.4 25.6 6.4 38.4 0 44.8-16 83.2-48 112s-67.2 48-112 48"})]))}}),Ha=np;var La=o(e()),V0=o(e()),lp=(0,La.defineComponent)({name:"Histogram",__name:"histogram",setup(t){return(a,r)=>((0,V0.openBlock)(),(0,V0.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,V0.createElementVNode)("path",{fill:"currentColor",d:"M416 896V128h192v768zm-288 0V448h192v448zm576 0V320h192v576z"})]))}}),Aa=lp;var Sa=o(e()),g0=o(e()),mp=(0,Sa.defineComponent)({name:"HomeFilled",__name:"home-filled",setup(t){return(a,r)=>((0,g0.openBlock)(),(0,g0.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,g0.createElementVNode)("path",{fill:"currentColor",d:"M512 128 128 447.936V896h255.936V640H640v256h255.936V447.936z"})]))}}),qa=mp;var Fa=o(e()),M0=o(e()),cp=(0,Fa.defineComponent)({name:"HotWater",__name:"hot-water",setup(t){return(a,r)=>((0,M0.openBlock)(),(0,M0.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,M0.createElementVNode)("path",{fill:"currentColor",d:"M273.067 477.867h477.866V409.6H273.067zm0 68.266v51.2A187.733 187.733 0 0 0 460.8 785.067h102.4a187.733 187.733 0 0 0 187.733-187.734v-51.2zm-34.134-204.8h546.134a34.133 34.133 0 0 1 34.133 34.134v221.866a256 256 0 0 1-256 256H460.8a256 256 0 0 1-256-256V375.467a34.133 34.133 0 0 1 34.133-34.134M512 34.133a34.133 34.133 0 0 1 34.133 34.134v170.666a34.133 34.133 0 0 1-68.266 0V68.267A34.133 34.133 0 0 1 512 34.133M375.467 102.4a34.133 34.133 0 0 1 34.133 34.133v102.4a34.133 34.133 0 0 1-68.267 0v-102.4a34.133 34.133 0 0 1 34.134-34.133m273.066 0a34.133 34.133 0 0 1 34.134 34.133v102.4a34.133 34.133 0 1 1-68.267 0v-102.4a34.133 34.133 0 0 1 34.133-34.133M170.667 921.668h682.666a34.133 34.133 0 1 1 0 68.267H170.667a34.133 34.133 0 1 1 0-68.267"})]))}}),Da=cp;var ba=o(e()),N0=o(e()),pp=(0,ba.defineComponent)({name:"House",__name:"house",setup(t){return(a,r)=>((0,N0.openBlock)(),(0,N0.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,N0.createElementVNode)("path",{fill:"currentColor",d:"M192 413.952V896h640V413.952L512 147.328zM139.52 374.4l352-293.312a32 32 0 0 1 40.96 0l352 293.312A32 32 0 0 1 896 398.976V928a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V398.976a32 32 0 0 1 11.52-24.576"})]))}}),ya=pp;var Pa=o(e()),z0=o(e()),sp=(0,Pa.defineComponent)({name:"IceCreamRound",__name:"ice-cream-round",setup(t){return(a,r)=>((0,z0.openBlock)(),(0,z0.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,z0.createElementVNode)("path",{fill:"currentColor",d:"m308.352 489.344 226.304 226.304a32 32 0 0 0 45.248 0L783.552 512A192 192 0 1 0 512 240.448L308.352 444.16a32 32 0 0 0 0 45.248zm135.744 226.304L308.352 851.392a96 96 0 0 1-135.744-135.744l135.744-135.744-45.248-45.248a96 96 0 0 1 0-135.808L466.752 195.2A256 256 0 0 1 828.8 557.248L625.152 760.96a96 96 0 0 1-135.808 0l-45.248-45.248zM398.848 670.4 353.6 625.152 217.856 760.896a32 32 0 0 0 45.248 45.248zm248.96-384.64a32 32 0 0 1 0 45.248L466.624 512a32 32 0 1 1-45.184-45.248l180.992-181.056a32 32 0 0 1 45.248 0zm90.496 90.496a32 32 0 0 1 0 45.248L557.248 602.496A32 32 0 1 1 512 557.248l180.992-180.992a32 32 0 0 1 45.312 0"})]))}}),Ra=sp;var Ta=o(e()),H0=o(e()),_p=(0,Ta.defineComponent)({name:"IceCreamSquare",__name:"ice-cream-square",setup(t){return(a,r)=>((0,H0.openBlock)(),(0,H0.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,H0.createElementVNode)("path",{fill:"currentColor",d:"M416 640h256a32 32 0 0 0 32-32V160a32 32 0 0 0-32-32H352a32 32 0 0 0-32 32v448a32 32 0 0 0 32 32zm192 64v160a96 96 0 0 1-192 0V704h-64a96 96 0 0 1-96-96V160a96 96 0 0 1 96-96h320a96 96 0 0 1 96 96v448a96 96 0 0 1-96 96zm-64 0h-64v160a32 32 0 1 0 64 0z"})]))}}),Oa=_p;var Ga=o(e()),L0=o(e()),fp=(0,Ga.defineComponent)({name:"IceCream",__name:"ice-cream",setup(t){return(a,r)=>((0,L0.openBlock)(),(0,L0.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,L0.createElementVNode)("path",{fill:"currentColor",d:"M128.64 448a208 208 0 0 1 193.536-191.552 224 224 0 0 1 445.248 15.488A208.13 208.13 0 0 1 894.784 448H896L548.8 983.68a32 32 0 0 1-53.248.704L128 448zm64.256 0h286.208a144 144 0 0 0-286.208 0m351.36 0h286.272a144 144 0 0 0-286.272 0m-294.848 64 271.808 396.608L778.24 512zM511.68 352.64a207.87 207.87 0 0 1 189.184-96.192 160 160 0 0 0-314.752 5.632c52.608 12.992 97.28 46.08 125.568 90.56"})]))}}),Ua=fp;var Wa=o(e()),A0=o(e()),ip=(0,Wa.defineComponent)({name:"IceDrink",__name:"ice-drink",setup(t){return(a,r)=>((0,A0.openBlock)(),(0,A0.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,A0.createElementVNode)("path",{fill:"currentColor",d:"M512 448v128h239.68l16.064-128zm-64 0H256.256l16.064 128H448zm64-255.36V384h247.744A256.13 256.13 0 0 0 512 192.64m-64 8.064A256.45 256.45 0 0 0 264.256 384H448zm64-72.064A320.13 320.13 0 0 1 825.472 384H896a32 32 0 1 1 0 64h-64v1.92l-56.96 454.016A64 64 0 0 1 711.552 960H312.448a64 64 0 0 1-63.488-56.064L192 449.92V448h-64a32 32 0 0 1 0-64h70.528A320.38 320.38 0 0 1 448 135.04V96a96 96 0 0 1 96-96h128a32 32 0 1 1 0 64H544a32 32 0 0 0-32 32zM743.68 640H280.32l32.128 256h399.104z"})]))}}),Ia=ip;var Ka=o(e()),S0=o(e()),dp=(0,Ka.defineComponent)({name:"IceTea",__name:"ice-tea",setup(t){return(a,r)=>((0,S0.openBlock)(),(0,S0.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,S0.createElementVNode)("path",{fill:"currentColor",d:"M197.696 259.648a320.128 320.128 0 0 1 628.608 0A96 96 0 0 1 896 352v64a96 96 0 0 1-71.616 92.864l-49.408 395.072A64 64 0 0 1 711.488 960H312.512a64 64 0 0 1-63.488-56.064l-49.408-395.072A96 96 0 0 1 128 416v-64a96 96 0 0 1 69.696-92.352M264.064 256h495.872a256.128 256.128 0 0 0-495.872 0m495.424 256H264.512l48 384h398.976zM224 448h576a32 32 0 0 0 32-32v-64a32 32 0 0 0-32-32H224a32 32 0 0 0-32 32v64a32 32 0 0 0 32 32m160 192h64v64h-64zm192 64h64v64h-64zm-128 64h64v64h-64zm64-192h64v64h-64z"})]))}}),Qa=dp;var Za=o(e()),q0=o(e()),up=(0,Za.defineComponent)({name:"InfoFilled",__name:"info-filled",setup(t){return(a,r)=>((0,q0.openBlock)(),(0,q0.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,q0.createElementVNode)("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896.064A448 448 0 0 1 512 64m67.2 275.072c33.28 0 60.288-23.104 60.288-57.344s-27.072-57.344-60.288-57.344c-33.28 0-60.16 23.104-60.16 57.344s26.88 57.344 60.16 57.344M590.912 699.2c0-6.848 2.368-24.64 1.024-34.752l-52.608 60.544c-10.88 11.456-24.512 19.392-30.912 17.28a12.99 12.99 0 0 1-8.256-14.72l87.68-276.992c7.168-35.136-12.544-67.2-54.336-71.296-44.096 0-108.992 44.736-148.48 101.504 0 6.784-1.28 23.68.064 33.792l52.544-60.608c10.88-11.328 23.552-19.328 29.952-17.152a12.8 12.8 0 0 1 7.808 16.128L388.48 728.576c-10.048 32.256 8.96 63.872 55.04 71.04 67.84 0 107.904-43.648 147.456-100.416z"})]))}}),ja=up;var Ja=o(e()),F0=o(e()),hp=(0,Ja.defineComponent)({name:"Iphone",__name:"iphone",setup(t){return(a,r)=>((0,F0.openBlock)(),(0,F0.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,F0.createElementVNode)("path",{fill:"currentColor",d:"M224 768v96.064a64 64 0 0 0 64 64h448a64 64 0 0 0 64-64V768zm0-64h576V160a64 64 0 0 0-64-64H288a64 64 0 0 0-64 64zm32 288a96 96 0 0 1-96-96V128a96 96 0 0 1 96-96h512a96 96 0 0 1 96 96v768a96 96 0 0 1-96 96zm304-144a48 48 0 1 1-96 0 48 48 0 0 1 96 0"})]))}}),Xa=hp;var Ya=o(e()),D0=o(e()),vp=(0,Ya.defineComponent)({name:"Key",__name:"key",setup(t){return(a,r)=>((0,D0.openBlock)(),(0,D0.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,D0.createElementVNode)("path",{fill:"currentColor",d:"M448 456.064V96a32 32 0 0 1 32-32.064L672 64a32 32 0 0 1 0 64H512v128h160a32 32 0 0 1 0 64H512v128a256 256 0 1 1-64 8.064M512 896a192 192 0 1 0 0-384 192 192 0 0 0 0 384"})]))}}),$a=vp;var e8=o(e()),b0=o(e()),wp=(0,e8.defineComponent)({name:"KnifeFork",__name:"knife-fork",setup(t){return(a,r)=>((0,b0.openBlock)(),(0,b0.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,b0.createElementVNode)("path",{fill:"currentColor",d:"M256 410.56V96a32 32 0 0 1 64 0v314.56A96 96 0 0 0 384 320V96a32 32 0 0 1 64 0v224a160 160 0 0 1-128 156.8V928a32 32 0 1 1-64 0V476.8A160 160 0 0 1 128 320V96a32 32 0 0 1 64 0v224a96 96 0 0 0 64 90.56m384-250.24V544h126.72c-3.328-78.72-12.928-147.968-28.608-207.744-14.336-54.528-46.848-113.344-98.112-175.872zM640 608v320a32 32 0 1 1-64 0V64h64c85.312 89.472 138.688 174.848 160 256s32 177.152 32 288z"})]))}}),o8=wp;var t8=o(e()),r2=o(e()),Bp=(0,t8.defineComponent)({name:"Lightning",__name:"lightning",setup(t){return(a,r)=>((0,r2.openBlock)(),(0,r2.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r2.createElementVNode)("path",{fill:"currentColor",d:"M288 671.36v64.128A239.81 239.81 0 0 1 63.744 496.192a240.32 240.32 0 0 1 199.488-236.8 256.128 256.128 0 0 1 487.872-30.976A256.064 256.064 0 0 1 736 734.016v-64.768a192 192 0 0 0 3.328-377.92l-35.2-6.592-12.8-33.408a192.064 192.064 0 0 0-365.952 23.232l-9.92 40.896-41.472 7.04a176.32 176.32 0 0 0-146.24 173.568c0 91.968 70.464 167.36 160.256 175.232z"}),(0,r2.createElementVNode)("path",{fill:"currentColor",d:"M416 736a32 32 0 0 1-27.776-47.872l128-224a32 32 0 1 1 55.552 31.744L471.168 672H608a32 32 0 0 1 27.776 47.872l-128 224a32 32 0 1 1-55.68-31.744L552.96 736z"})]))}}),a8=Bp;var r8=o(e()),y0=o(e()),xp=(0,r8.defineComponent)({name:"Link",__name:"link",setup(t){return(a,r)=>((0,y0.openBlock)(),(0,y0.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,y0.createElementVNode)("path",{fill:"currentColor",d:"M715.648 625.152 670.4 579.904l90.496-90.56c75.008-74.944 85.12-186.368 22.656-248.896-62.528-62.464-173.952-52.352-248.96 22.656L444.16 353.6l-45.248-45.248 90.496-90.496c100.032-99.968 251.968-110.08 339.456-22.656 87.488 87.488 77.312 239.424-22.656 339.456l-90.496 90.496zm-90.496 90.496-90.496 90.496C434.624 906.112 282.688 916.224 195.2 828.8c-87.488-87.488-77.312-239.424 22.656-339.456l90.496-90.496 45.248 45.248-90.496 90.56c-75.008 74.944-85.12 186.368-22.656 248.896 62.528 62.464 173.952 52.352 248.96-22.656l90.496-90.496zm0-362.048 45.248 45.248L398.848 670.4 353.6 625.152z"})]))}}),n8=xp;var l8=o(e()),P0=o(e()),kp=(0,l8.defineComponent)({name:"List",__name:"list",setup(t){return(a,r)=>((0,P0.openBlock)(),(0,P0.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,P0.createElementVNode)("path",{fill:"currentColor",d:"M704 192h160v736H160V192h160v64h384zM288 512h448v-64H288zm0 256h448v-64H288zm96-576V96h256v96z"})]))}}),m8=kp;var c8=o(e()),R0=o(e()),Cp=(0,c8.defineComponent)({name:"Loading",__name:"loading",setup(t){return(a,r)=>((0,R0.openBlock)(),(0,R0.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,R0.createElementVNode)("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32m0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32m448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32m-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32M195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248m452.544 452.544a32 32 0 0 1 45.248 0L828.8 783.552a32 32 0 0 1-45.248 45.248L647.744 692.992a32 32 0 0 1 0-45.248M828.8 195.264a32 32 0 0 1 0 45.184L692.992 376.32a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0m-452.544 452.48a32 32 0 0 1 0 45.248L240.448 828.8a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0"})]))}}),p8=Cp;var s8=o(e()),T0=o(e()),Ep=(0,s8.defineComponent)({name:"LocationFilled",__name:"location-filled",setup(t){return(a,r)=>((0,T0.openBlock)(),(0,T0.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,T0.createElementVNode)("path",{fill:"currentColor",d:"M512 928c23.936 0 117.504-68.352 192.064-153.152C803.456 661.888 864 535.808 864 416c0-189.632-155.84-320-352-320S160 226.368 160 416c0 120.32 60.544 246.4 159.936 359.232C394.432 859.84 488 928 512 928m0-435.2a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 140.8a204.8 204.8 0 1 1 0-409.6 204.8 204.8 0 0 1 0 409.6"})]))}}),_8=Ep;var f8=o(e()),w=o(e()),Vp=(0,f8.defineComponent)({name:"LocationInformation",__name:"location-information",setup(t){return(a,r)=>((0,w.openBlock)(),(0,w.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,w.createElementVNode)("path",{fill:"currentColor",d:"M288 896h448q32 0 32 32t-32 32H288q-32 0-32-32t32-32"}),(0,w.createElementVNode)("path",{fill:"currentColor",d:"M800 416a288 288 0 1 0-576 0c0 118.144 94.528 272.128 288 456.576C705.472 688.128 800 534.144 800 416M512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544"}),(0,w.createElementVNode)("path",{fill:"currentColor",d:"M512 512a96 96 0 1 0 0-192 96 96 0 0 0 0 192m0 64a160 160 0 1 1 0-320 160 160 0 0 1 0 320"})]))}}),i8=Vp;var d8=o(e()),n2=o(e()),gp=(0,d8.defineComponent)({name:"Location",__name:"location",setup(t){return(a,r)=>((0,n2.openBlock)(),(0,n2.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,n2.createElementVNode)("path",{fill:"currentColor",d:"M800 416a288 288 0 1 0-576 0c0 118.144 94.528 272.128 288 456.576C705.472 688.128 800 534.144 800 416M512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544"}),(0,n2.createElementVNode)("path",{fill:"currentColor",d:"M512 512a96 96 0 1 0 0-192 96 96 0 0 0 0 192m0 64a160 160 0 1 1 0-320 160 160 0 0 1 0 320"})]))}}),u8=gp;var h8=o(e()),l2=o(e()),Mp=(0,h8.defineComponent)({name:"Lock",__name:"lock",setup(t){return(a,r)=>((0,l2.openBlock)(),(0,l2.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,l2.createElementVNode)("path",{fill:"currentColor",d:"M224 448a32 32 0 0 0-32 32v384a32 32 0 0 0 32 32h576a32 32 0 0 0 32-32V480a32 32 0 0 0-32-32zm0-64h576a96 96 0 0 1 96 96v384a96 96 0 0 1-96 96H224a96 96 0 0 1-96-96V480a96 96 0 0 1 96-96"}),(0,l2.createElementVNode)("path",{fill:"currentColor",d:"M512 544a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V576a32 32 0 0 1 32-32m192-160v-64a192 192 0 1 0-384 0v64zM512 64a256 256 0 0 1 256 256v128H256V320A256 256 0 0 1 512 64"})]))}}),v8=Mp;var w8=o(e()),O0=o(e()),Np=(0,w8.defineComponent)({name:"Lollipop",__name:"lollipop",setup(t){return(a,r)=>((0,O0.openBlock)(),(0,O0.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,O0.createElementVNode)("path",{fill:"currentColor",d:"M513.28 448a64 64 0 1 1 76.544 49.728A96 96 0 0 0 768 448h64a160 160 0 0 1-320 0zm-126.976-29.696a256 256 0 1 0 43.52-180.48A256 256 0 0 1 832 448h-64a192 192 0 0 0-381.696-29.696m105.664 249.472L285.696 874.048a96 96 0 0 1-135.68-135.744l206.208-206.272a320 320 0 1 1 135.744 135.744m-54.464-36.032a322 322 0 0 1-45.248-45.248L195.2 783.552a32 32 0 1 0 45.248 45.248l197.056-197.12z"})]))}}),B8=Np;var x8=o(e()),G0=o(e()),zp=(0,x8.defineComponent)({name:"MagicStick",__name:"magic-stick",setup(t){return(a,r)=>((0,G0.openBlock)(),(0,G0.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,G0.createElementVNode)("path",{fill:"currentColor",d:"M512 64h64v192h-64zm0 576h64v192h-64zM160 480v-64h192v64zm576 0v-64h192v64zM249.856 199.04l45.248-45.184L430.848 289.6 385.6 334.848 249.856 199.104zM657.152 606.4l45.248-45.248 135.744 135.744-45.248 45.248zM114.048 923.2 68.8 877.952l316.8-316.8 45.248 45.248zM702.4 334.848 657.152 289.6l135.744-135.744 45.248 45.248z"})]))}}),k8=zp;var C8=o(e()),U0=o(e()),Hp=(0,C8.defineComponent)({name:"Magnet",__name:"magnet",setup(t){return(a,r)=>((0,U0.openBlock)(),(0,U0.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,U0.createElementVNode)("path",{fill:"currentColor",d:"M832 320V192H704v320a192 192 0 1 1-384 0V192H192v128h128v64H192v128a320 320 0 0 0 640 0V384H704v-64zM640 512V128h256v384a384 384 0 1 1-768 0V128h256v384a128 128 0 1 0 256 0"})]))}}),E8=Hp;var V8=o(e()),B=o(e()),Lp=(0,V8.defineComponent)({name:"Male",__name:"male",setup(t){return(a,r)=>((0,B.openBlock)(),(0,B.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,B.createElementVNode)("path",{fill:"currentColor",d:"M399.5 849.5a225 225 0 1 0 0-450 225 225 0 0 0 0 450m0 56.25a281.25 281.25 0 1 1 0-562.5 281.25 281.25 0 0 1 0 562.5m253.125-787.5h225q28.125 0 28.125 28.125T877.625 174.5h-225q-28.125 0-28.125-28.125t28.125-28.125"}),(0,B.createElementVNode)("path",{fill:"currentColor",d:"M877.625 118.25q28.125 0 28.125 28.125v225q0 28.125-28.125 28.125T849.5 371.375v-225q0-28.125 28.125-28.125"}),(0,B.createElementVNode)("path",{fill:"currentColor",d:"M604.813 458.9 565.1 419.131l292.613-292.668 39.825 39.824z"})]))}}),g8=Lp;var M8=o(e()),W0=o(e()),Ap=(0,M8.defineComponent)({name:"Management",__name:"management",setup(t){return(a,r)=>((0,W0.openBlock)(),(0,W0.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,W0.createElementVNode)("path",{fill:"currentColor",d:"M576 128v288l96-96 96 96V128h128v768H320V128zm-448 0h128v768H128z"})]))}}),N8=Ap;var z8=o(e()),m2=o(e()),Sp=(0,z8.defineComponent)({name:"MapLocation",__name:"map-location",setup(t){return(a,r)=>((0,m2.openBlock)(),(0,m2.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,m2.createElementVNode)("path",{fill:"currentColor",d:"M800 416a288 288 0 1 0-576 0c0 118.144 94.528 272.128 288 456.576C705.472 688.128 800 534.144 800 416M512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544"}),(0,m2.createElementVNode)("path",{fill:"currentColor",d:"M512 448a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256m345.6 192L960 960H672v-64H352v64H64l102.4-256zm-68.928 0H235.328l-76.8 192h706.944z"})]))}}),H8=Sp;var L8=o(e()),c2=o(e()),qp=(0,L8.defineComponent)({name:"Medal",__name:"medal",setup(t){return(a,r)=>((0,c2.openBlock)(),(0,c2.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,c2.createElementVNode)("path",{fill:"currentColor",d:"M512 896a256 256 0 1 0 0-512 256 256 0 0 0 0 512m0 64a320 320 0 1 1 0-640 320 320 0 0 1 0 640"}),(0,c2.createElementVNode)("path",{fill:"currentColor",d:"M576 128H448v200a286.7 286.7 0 0 1 64-8c19.52 0 40.832 2.688 64 8zm64 0v219.648c24.448 9.088 50.56 20.416 78.4 33.92L757.44 128zm-256 0H266.624l39.04 253.568c27.84-13.504 53.888-24.832 78.336-33.92zM229.312 64h565.376a32 32 0 0 1 31.616 36.864L768 480c-113.792-64-199.104-96-256-96s-142.208 32-256 96l-58.304-379.136A32 32 0 0 1 229.312 64"})]))}}),A8=qp;var S8=o(e()),x=o(e()),Fp=(0,S8.defineComponent)({name:"Memo",__name:"memo",setup(t){return(a,r)=>((0,x.openBlock)(),(0,x.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",viewBox:"0 0 1024 1024"},[(0,x.createElementVNode)("path",{fill:"currentColor",d:"M480 320h192c21.33 0 32-10.67 32-32s-10.67-32-32-32H480c-21.33 0-32 10.67-32 32s10.67 32 32 32"}),(0,x.createElementVNode)("path",{fill:"currentColor",d:"M887.01 72.99C881.01 67 873.34 64 864 64H160c-9.35 0-17.02 3-23.01 8.99C131 78.99 128 86.66 128 96v832c0 9.35 2.99 17.02 8.99 23.01S150.66 960 160 960h704c9.35 0 17.02-2.99 23.01-8.99S896 937.34 896 928V96c0-9.35-3-17.02-8.99-23.01M192 896V128h96v768zm640 0H352V128h480z"}),(0,x.createElementVNode)("path",{fill:"currentColor",d:"M480 512h192c21.33 0 32-10.67 32-32s-10.67-32-32-32H480c-21.33 0-32 10.67-32 32s10.67 32 32 32m0 192h192c21.33 0 32-10.67 32-32s-10.67-32-32-32H480c-21.33 0-32 10.67-32 32s10.67 32 32 32"})]))}}),q8=Fp;var F8=o(e()),I0=o(e()),Dp=(0,F8.defineComponent)({name:"Menu",__name:"menu",setup(t){return(a,r)=>((0,I0.openBlock)(),(0,I0.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,I0.createElementVNode)("path",{fill:"currentColor",d:"M160 448a32 32 0 0 1-32-32V160.064a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V416a32 32 0 0 1-32 32zm448 0a32 32 0 0 1-32-32V160.064a32 32 0 0 1 32-32h255.936a32 32 0 0 1 32 32V416a32 32 0 0 1-32 32zM160 896a32 32 0 0 1-32-32V608a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32v256a32 32 0 0 1-32 32zm448 0a32 32 0 0 1-32-32V608a32 32 0 0 1 32-32h255.936a32 32 0 0 1 32 32v256a32 32 0 0 1-32 32z"})]))}}),D8=Dp;var b8=o(e()),K0=o(e()),bp=(0,b8.defineComponent)({name:"MessageBox",__name:"message-box",setup(t){return(a,r)=>((0,K0.openBlock)(),(0,K0.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,K0.createElementVNode)("path",{fill:"currentColor",d:"M288 384h448v64H288zm96-128h256v64H384zM131.456 512H384v128h256V512h252.544L721.856 192H302.144zM896 576H704v128H320V576H128v256h768zM275.776 128h472.448a32 32 0 0 1 28.608 17.664l179.84 359.552A32 32 0 0 1 960 519.552V864a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V519.552a32 32 0 0 1 3.392-14.336l179.776-359.552A32 32 0 0 1 275.776 128"})]))}}),y8=bp;var P8=o(e()),p2=o(e()),yp=(0,P8.defineComponent)({name:"Message",__name:"message",setup(t){return(a,r)=>((0,p2.openBlock)(),(0,p2.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,p2.createElementVNode)("path",{fill:"currentColor",d:"M128 224v512a64 64 0 0 0 64 64h640a64 64 0 0 0 64-64V224zm0-64h768a64 64 0 0 1 64 64v512a128 128 0 0 1-128 128H192A128 128 0 0 1 64 736V224a64 64 0 0 1 64-64"}),(0,p2.createElementVNode)("path",{fill:"currentColor",d:"M904 224 656.512 506.88a192 192 0 0 1-289.024 0L120 224zm-698.944 0 210.56 240.704a128 128 0 0 0 192.704 0L818.944 224z"})]))}}),R8=yp;var T8=o(e()),Q0=o(e()),Pp=(0,T8.defineComponent)({name:"Mic",__name:"mic",setup(t){return(a,r)=>((0,Q0.openBlock)(),(0,Q0.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Q0.createElementVNode)("path",{fill:"currentColor",d:"M480 704h160a64 64 0 0 0 64-64v-32h-96a32 32 0 0 1 0-64h96v-96h-96a32 32 0 0 1 0-64h96v-96h-96a32 32 0 0 1 0-64h96v-32a64 64 0 0 0-64-64H384a64 64 0 0 0-64 64v32h96a32 32 0 0 1 0 64h-96v96h96a32 32 0 0 1 0 64h-96v96h96a32 32 0 0 1 0 64h-96v32a64 64 0 0 0 64 64zm64 64v128h192a32 32 0 1 1 0 64H288a32 32 0 1 1 0-64h192V768h-96a128 128 0 0 1-128-128V192A128 128 0 0 1 384 64h256a128 128 0 0 1 128 128v448a128 128 0 0 1-128 128z"})]))}}),O8=Pp;var G8=o(e()),Z0=o(e()),Rp=(0,G8.defineComponent)({name:"Microphone",__name:"microphone",setup(t){return(a,r)=>((0,Z0.openBlock)(),(0,Z0.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Z0.createElementVNode)("path",{fill:"currentColor",d:"M512 128a128 128 0 0 0-128 128v256a128 128 0 1 0 256 0V256a128 128 0 0 0-128-128m0-64a192 192 0 0 1 192 192v256a192 192 0 1 1-384 0V256A192 192 0 0 1 512 64m-32 832v-64a288 288 0 0 1-288-288v-32a32 32 0 0 1 64 0v32a224 224 0 0 0 224 224h64a224 224 0 0 0 224-224v-32a32 32 0 1 1 64 0v32a288 288 0 0 1-288 288v64h64a32 32 0 1 1 0 64H416a32 32 0 1 1 0-64z"})]))}}),U8=Rp;var W8=o(e()),j0=o(e()),Tp=(0,W8.defineComponent)({name:"MilkTea",__name:"milk-tea",setup(t){return(a,r)=>((0,j0.openBlock)(),(0,j0.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,j0.createElementVNode)("path",{fill:"currentColor",d:"M416 128V96a96 96 0 0 1 96-96h128a32 32 0 1 1 0 64H512a32 32 0 0 0-32 32v32h320a96 96 0 0 1 11.712 191.296l-39.68 581.056A64 64 0 0 1 708.224 960H315.776a64 64 0 0 1-63.872-59.648l-39.616-581.056A96 96 0 0 1 224 128zM276.48 320l39.296 576h392.448l4.8-70.784a224.064 224.064 0 0 1 30.016-439.808L747.52 320zM224 256h576a32 32 0 1 0 0-64H224a32 32 0 0 0 0 64m493.44 503.872 21.12-309.12a160 160 0 0 0-21.12 309.12"})]))}}),I8=Tp;var K8=o(e()),J0=o(e()),Op=(0,K8.defineComponent)({name:"Minus",__name:"minus",setup(t){return(a,r)=>((0,J0.openBlock)(),(0,J0.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,J0.createElementVNode)("path",{fill:"currentColor",d:"M128 544h768a32 32 0 1 0 0-64H128a32 32 0 0 0 0 64"})]))}}),Q8=Op;var Z8=o(e()),k=o(e()),Gp=(0,Z8.defineComponent)({name:"Money",__name:"money",setup(t){return(a,r)=>((0,k.openBlock)(),(0,k.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,k.createElementVNode)("path",{fill:"currentColor",d:"M256 640v192h640V384H768v-64h150.976c14.272 0 19.456 1.472 24.64 4.288a29.06 29.06 0 0 1 12.16 12.096c2.752 5.184 4.224 10.368 4.224 24.64v493.952c0 14.272-1.472 19.456-4.288 24.64a29.06 29.06 0 0 1-12.096 12.16c-5.184 2.752-10.368 4.224-24.64 4.224H233.024c-14.272 0-19.456-1.472-24.64-4.288a29.06 29.06 0 0 1-12.16-12.096c-2.688-5.184-4.224-10.368-4.224-24.576V640z"}),(0,k.createElementVNode)("path",{fill:"currentColor",d:"M768 192H128v448h640zm64-22.976v493.952c0 14.272-1.472 19.456-4.288 24.64a29.06 29.06 0 0 1-12.096 12.16c-5.184 2.752-10.368 4.224-24.64 4.224H105.024c-14.272 0-19.456-1.472-24.64-4.288a29.06 29.06 0 0 1-12.16-12.096C65.536 682.432 64 677.248 64 663.04V169.024c0-14.272 1.472-19.456 4.288-24.64a29.06 29.06 0 0 1 12.096-12.16C85.568 129.536 90.752 128 104.96 128h685.952c14.272 0 19.456 1.472 24.64 4.288a29.06 29.06 0 0 1 12.16 12.096c2.752 5.184 4.224 10.368 4.224 24.64z"}),(0,k.createElementVNode)("path",{fill:"currentColor",d:"M448 576a160 160 0 1 1 0-320 160 160 0 0 1 0 320m0-64a96 96 0 1 0 0-192 96 96 0 0 0 0 192"})]))}}),j8=Gp;var J8=o(e()),X0=o(e()),Up=(0,J8.defineComponent)({name:"Monitor",__name:"monitor",setup(t){return(a,r)=>((0,X0.openBlock)(),(0,X0.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,X0.createElementVNode)("path",{fill:"currentColor",d:"M544 768v128h192a32 32 0 1 1 0 64H288a32 32 0 1 1 0-64h192V768H192A128 128 0 0 1 64 640V256a128 128 0 0 1 128-128h640a128 128 0 0 1 128 128v384a128 128 0 0 1-128 128zM192 192a64 64 0 0 0-64 64v384a64 64 0 0 0 64 64h640a64 64 0 0 0 64-64V256a64 64 0 0 0-64-64z"})]))}}),X8=Up;var Y8=o(e()),s2=o(e()),Wp=(0,Y8.defineComponent)({name:"MoonNight",__name:"moon-night",setup(t){return(a,r)=>((0,s2.openBlock)(),(0,s2.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,s2.createElementVNode)("path",{fill:"currentColor",d:"M384 512a448 448 0 0 1 215.872-383.296A384 384 0 0 0 213.76 640h188.8A448.3 448.3 0 0 1 384 512M171.136 704a448 448 0 0 1 636.992-575.296A384 384 0 0 0 499.328 704h-328.32z"}),(0,s2.createElementVNode)("path",{fill:"currentColor",d:"M32 640h960q32 0 32 32t-32 32H32q-32 0-32-32t32-32m128 128h384a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64m160 127.68 224 .256a32 32 0 0 1 32 32V928a32 32 0 0 1-32 32l-224-.384a32 32 0 0 1-32-32v-.064a32 32 0 0 1 32-32z"})]))}}),$8=Wp;var er=o(e()),Y0=o(e()),Ip=(0,er.defineComponent)({name:"Moon",__name:"moon",setup(t){return(a,r)=>((0,Y0.openBlock)(),(0,Y0.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Y0.createElementVNode)("path",{fill:"currentColor",d:"M240.448 240.448a384 384 0 1 0 559.424 525.696 448 448 0 0 1-542.016-542.08 391 391 0 0 0-17.408 16.384m181.056 362.048a384 384 0 0 0 525.632 16.384A448 448 0 1 1 405.056 76.8a384 384 0 0 0 16.448 525.696"})]))}}),or=Ip;var tr=o(e()),$0=o(e()),Kp=(0,tr.defineComponent)({name:"MoreFilled",__name:"more-filled",setup(t){return(a,r)=>((0,$0.openBlock)(),(0,$0.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,$0.createElementVNode)("path",{fill:"currentColor",d:"M176 416a112 112 0 1 1 0 224 112 112 0 0 1 0-224m336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224m336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224"})]))}}),ar=Kp;var rr=o(e()),e1=o(e()),Qp=(0,rr.defineComponent)({name:"More",__name:"more",setup(t){return(a,r)=>((0,e1.openBlock)(),(0,e1.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,e1.createElementVNode)("path",{fill:"currentColor",d:"M176 416a112 112 0 1 0 0 224 112 112 0 0 0 0-224m0 64a48 48 0 1 1 0 96 48 48 0 0 1 0-96m336-64a112 112 0 1 1 0 224 112 112 0 0 1 0-224m0 64a48 48 0 1 0 0 96 48 48 0 0 0 0-96m336-64a112 112 0 1 1 0 224 112 112 0 0 1 0-224m0 64a48 48 0 1 0 0 96 48 48 0 0 0 0-96"})]))}}),nr=Qp;var lr=o(e()),o1=o(e()),Zp=(0,lr.defineComponent)({name:"MostlyCloudy",__name:"mostly-cloudy",setup(t){return(a,r)=>((0,o1.openBlock)(),(0,o1.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,o1.createElementVNode)("path",{fill:"currentColor",d:"M737.216 357.952 704 349.824l-11.776-32a192.064 192.064 0 0 0-367.424 23.04l-8.96 39.04-39.04 8.96A192.064 192.064 0 0 0 320 768h368a207.81 207.81 0 0 0 207.808-208 208.32 208.32 0 0 0-158.592-202.048m15.168-62.208A272.32 272.32 0 0 1 959.744 560a271.81 271.81 0 0 1-271.552 272H320a256 256 0 0 1-57.536-505.536 256.128 256.128 0 0 1 489.92-30.72"})]))}}),mr=Zp;var cr=o(e()),_2=o(e()),jp=(0,cr.defineComponent)({name:"Mouse",__name:"mouse",setup(t){return(a,r)=>((0,_2.openBlock)(),(0,_2.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,_2.createElementVNode)("path",{fill:"currentColor",d:"M438.144 256c-68.352 0-92.736 4.672-117.76 18.112q-30.144 16.128-46.272 46.272C260.672 345.408 256 369.792 256 438.144v275.712c0 68.352 4.672 92.736 18.112 117.76q16.128 30.144 46.272 46.272C345.408 891.328 369.792 896 438.144 896h147.712c68.352 0 92.736-4.672 117.76-18.112q30.144-16.128 46.272-46.272C763.328 806.592 768 782.208 768 713.856V438.144c0-68.352-4.672-92.736-18.112-117.76a110.46 110.46 0 0 0-46.272-46.272C678.592 260.672 654.208 256 585.856 256zm0-64h147.712c85.568 0 116.608 8.96 147.904 25.6 31.36 16.768 55.872 41.344 72.576 72.64C823.104 321.536 832 352.576 832 438.08v275.84c0 85.504-8.96 116.544-25.6 147.84a174.46 174.46 0 0 1-72.64 72.576C702.464 951.104 671.424 960 585.92 960H438.08c-85.504 0-116.544-8.96-147.84-25.6a174.46 174.46 0 0 1-72.64-72.704c-16.768-31.296-25.664-62.336-25.664-147.84v-275.84c0-85.504 8.96-116.544 25.6-147.84a174.46 174.46 0 0 1 72.768-72.576c31.232-16.704 62.272-25.6 147.776-25.6z"}),(0,_2.createElementVNode)("path",{fill:"currentColor",d:"M512 320q32 0 32 32v128q0 32-32 32t-32-32V352q0-32 32-32m32-96a32 32 0 0 1-64 0v-64a32 32 0 0 0-32-32h-96a32 32 0 0 1 0-64h96a96 96 0 0 1 96 96z"})]))}}),pr=jp;var sr=o(e()),t1=o(e()),Jp=(0,sr.defineComponent)({name:"Mug",__name:"mug",setup(t){return(a,r)=>((0,t1.openBlock)(),(0,t1.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,t1.createElementVNode)("path",{fill:"currentColor",d:"M736 800V160H160v640a64 64 0 0 0 64 64h448a64 64 0 0 0 64-64m64-544h63.552a96 96 0 0 1 96 96v224a96 96 0 0 1-96 96H800v128a128 128 0 0 1-128 128H224A128 128 0 0 1 96 800V128a32 32 0 0 1 32-32h640a32 32 0 0 1 32 32zm0 64v288h63.552a32 32 0 0 0 32-32V352a32 32 0 0 0-32-32z"})]))}}),_r=Jp;var fr=o(e()),f2=o(e()),Xp=(0,fr.defineComponent)({name:"MuteNotification",__name:"mute-notification",setup(t){return(a,r)=>((0,f2.openBlock)(),(0,f2.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,f2.createElementVNode)("path",{fill:"currentColor",d:"m241.216 832 63.616-64H768V448c0-42.368-10.24-82.304-28.48-117.504l46.912-47.232C815.36 331.392 832 387.84 832 448v320h96a32 32 0 1 1 0 64zm-90.24 0H96a32 32 0 1 1 0-64h96V448a320.13 320.13 0 0 1 256-313.6V128a64 64 0 1 1 128 0v6.4a319.55 319.55 0 0 1 171.648 97.088l-45.184 45.44A256 256 0 0 0 256 448v278.336L151.04 832zM448 896h128a64 64 0 0 1-128 0"}),(0,f2.createElementVNode)("path",{fill:"currentColor",d:"M150.72 859.072a32 32 0 0 1-45.44-45.056l704-708.544a32 32 0 0 1 45.44 45.056z"})]))}}),ir=Xp;var dr=o(e()),i2=o(e()),Yp=(0,dr.defineComponent)({name:"Mute",__name:"mute",setup(t){return(a,r)=>((0,i2.openBlock)(),(0,i2.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,i2.createElementVNode)("path",{fill:"currentColor",d:"m412.16 592.128-45.44 45.44A191.23 191.23 0 0 1 320 512V256a192 192 0 1 1 384 0v44.352l-64 64V256a128 128 0 1 0-256 0v256c0 30.336 10.56 58.24 28.16 80.128m51.968 38.592A128 128 0 0 0 640 512v-57.152l64-64V512a192 192 0 0 1-287.68 166.528zM314.88 779.968l46.144-46.08A223 223 0 0 0 480 768h64a224 224 0 0 0 224-224v-32a32 32 0 1 1 64 0v32a288 288 0 0 1-288 288v64h64a32 32 0 1 1 0 64H416a32 32 0 1 1 0-64h64v-64c-61.44 0-118.4-19.2-165.12-52.032M266.752 737.6A286.98 286.98 0 0 1 192 544v-32a32 32 0 0 1 64 0v32c0 56.832 21.184 108.8 56.064 148.288z"}),(0,i2.createElementVNode)("path",{fill:"currentColor",d:"M150.72 859.072a32 32 0 0 1-45.44-45.056l704-708.544a32 32 0 0 1 45.44 45.056z"})]))}}),ur=Yp;var hr=o(e()),a1=o(e()),$p=(0,hr.defineComponent)({name:"NoSmoking",__name:"no-smoking",setup(t){return(a,r)=>((0,a1.openBlock)(),(0,a1.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,a1.createElementVNode)("path",{fill:"currentColor",d:"M440.256 576H256v128h56.256l-64 64H224a32 32 0 0 1-32-32V544a32 32 0 0 1 32-32h280.256zm143.488 128H704V583.744L775.744 512H928a32 32 0 0 1 32 32v192a32 32 0 0 1-32 32H519.744zM768 576v128h128V576zm-29.696-207.552 45.248 45.248-497.856 497.856-45.248-45.248zM256 64h64v320h-64zM128 192h64v192h-64zM64 512h64v256H64z"})]))}}),vr=$p;var wr=o(e()),d2=o(e()),es=(0,wr.defineComponent)({name:"Notebook",__name:"notebook",setup(t){return(a,r)=>((0,d2.openBlock)(),(0,d2.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,d2.createElementVNode)("path",{fill:"currentColor",d:"M192 128v768h640V128zm-32-64h704a32 32 0 0 1 32 32v832a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32"}),(0,d2.createElementVNode)("path",{fill:"currentColor",d:"M672 128h64v768h-64zM96 192h128q32 0 32 32t-32 32H96q-32 0-32-32t32-32m0 192h128q32 0 32 32t-32 32H96q-32 0-32-32t32-32m0 192h128q32 0 32 32t-32 32H96q-32 0-32-32t32-32m0 192h128q32 0 32 32t-32 32H96q-32 0-32-32t32-32"})]))}}),Br=es;var xr=o(e()),u2=o(e()),os=(0,xr.defineComponent)({name:"Notification",__name:"notification",setup(t){return(a,r)=>((0,u2.openBlock)(),(0,u2.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,u2.createElementVNode)("path",{fill:"currentColor",d:"M512 128v64H256a64 64 0 0 0-64 64v512a64 64 0 0 0 64 64h512a64 64 0 0 0 64-64V512h64v256a128 128 0 0 1-128 128H256a128 128 0 0 1-128-128V256a128 128 0 0 1 128-128z"}),(0,u2.createElementVNode)("path",{fill:"currentColor",d:"M768 384a128 128 0 1 0 0-256 128 128 0 0 0 0 256m0 64a192 192 0 1 1 0-384 192 192 0 0 1 0 384"})]))}}),kr=os;var Cr=o(e()),C=o(e()),ts=(0,Cr.defineComponent)({name:"Odometer",__name:"odometer",setup(t){return(a,r)=>((0,C.openBlock)(),(0,C.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,C.createElementVNode)("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),(0,C.createElementVNode)("path",{fill:"currentColor",d:"M192 512a320 320 0 1 1 640 0 32 32 0 1 1-64 0 256 256 0 1 0-512 0 32 32 0 0 1-64 0"}),(0,C.createElementVNode)("path",{fill:"currentColor",d:"M570.432 627.84A96 96 0 1 1 509.568 608l60.992-187.776A32 32 0 1 1 631.424 440l-60.992 187.776zM502.08 734.464a32 32 0 1 0 19.84-60.928 32 32 0 0 0-19.84 60.928"})]))}}),Er=ts;var Vr=o(e()),E=o(e()),as=(0,Vr.defineComponent)({name:"OfficeBuilding",__name:"office-building",setup(t){return(a,r)=>((0,E.openBlock)(),(0,E.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,E.createElementVNode)("path",{fill:"currentColor",d:"M192 128v704h384V128zm-32-64h448a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32"}),(0,E.createElementVNode)("path",{fill:"currentColor",d:"M256 256h256v64H256zm0 192h256v64H256zm0 192h256v64H256zm384-128h128v64H640zm0 128h128v64H640zM64 832h896v64H64z"}),(0,E.createElementVNode)("path",{fill:"currentColor",d:"M640 384v448h192V384zm-32-64h256a32 32 0 0 1 32 32v512a32 32 0 0 1-32 32H608a32 32 0 0 1-32-32V352a32 32 0 0 1 32-32"})]))}}),gr=as;var Mr=o(e()),h2=o(e()),rs=(0,Mr.defineComponent)({name:"Open",__name:"open",setup(t){return(a,r)=>((0,h2.openBlock)(),(0,h2.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,h2.createElementVNode)("path",{fill:"currentColor",d:"M329.956 257.138a254.862 254.862 0 0 0 0 509.724h364.088a254.862 254.862 0 0 0 0-509.724zm0-72.818h364.088a327.68 327.68 0 1 1 0 655.36H329.956a327.68 327.68 0 1 1 0-655.36"}),(0,h2.createElementVNode)("path",{fill:"currentColor",d:"M694.044 621.227a109.227 109.227 0 1 0 0-218.454 109.227 109.227 0 0 0 0 218.454m0 72.817a182.044 182.044 0 1 1 0-364.088 182.044 182.044 0 0 1 0 364.088"})]))}}),Nr=rs;var zr=o(e()),r1=o(e()),ns=(0,zr.defineComponent)({name:"Operation",__name:"operation",setup(t){return(a,r)=>((0,r1.openBlock)(),(0,r1.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r1.createElementVNode)("path",{fill:"currentColor",d:"M389.44 768a96.064 96.064 0 0 1 181.12 0H896v64H570.56a96.064 96.064 0 0 1-181.12 0H128v-64zm192-288a96.064 96.064 0 0 1 181.12 0H896v64H762.56a96.064 96.064 0 0 1-181.12 0H128v-64zm-320-288a96.064 96.064 0 0 1 181.12 0H896v64H442.56a96.064 96.064 0 0 1-181.12 0H128v-64z"})]))}}),Hr=ns;var Lr=o(e()),n1=o(e()),ls=(0,Lr.defineComponent)({name:"Opportunity",__name:"opportunity",setup(t){return(a,r)=>((0,n1.openBlock)(),(0,n1.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,n1.createElementVNode)("path",{fill:"currentColor",d:"M384 960v-64h192.064v64zm448-544a350.66 350.66 0 0 1-128.32 271.424C665.344 719.04 640 763.776 640 813.504V832H320v-14.336c0-48-19.392-95.36-57.216-124.992a351.55 351.55 0 0 1-128.448-344.256c25.344-136.448 133.888-248.128 269.76-276.48A352.384 352.384 0 0 1 832 416m-544 32c0-132.288 75.904-224 192-224v-64c-154.432 0-256 122.752-256 288z"})]))}}),Ar=ls;var Sr=o(e()),l1=o(e()),ms=(0,Sr.defineComponent)({name:"Orange",__name:"orange",setup(t){return(a,r)=>((0,l1.openBlock)(),(0,l1.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,l1.createElementVNode)("path",{fill:"currentColor",d:"M544 894.72a382.34 382.34 0 0 0 215.936-89.472L577.024 622.272c-10.24 6.016-21.248 10.688-33.024 13.696v258.688zm261.248-134.784A382.34 382.34 0 0 0 894.656 544H635.968c-3.008 11.776-7.68 22.848-13.696 33.024zM894.656 480a382.34 382.34 0 0 0-89.408-215.936L622.272 446.976c6.016 10.24 10.688 21.248 13.696 33.024zm-134.72-261.248A382.34 382.34 0 0 0 544 129.344v258.688c11.776 3.008 22.848 7.68 33.024 13.696zM480 129.344a382.34 382.34 0 0 0-215.936 89.408l182.912 182.976c10.24-6.016 21.248-10.688 33.024-13.696zm-261.248 134.72A382.34 382.34 0 0 0 129.344 480h258.688c3.008-11.776 7.68-22.848 13.696-33.024zM129.344 544a382.34 382.34 0 0 0 89.408 215.936l182.976-182.912A127.2 127.2 0 0 1 388.032 544zm134.72 261.248A382.34 382.34 0 0 0 480 894.656V635.968a127.2 127.2 0 0 1-33.024-13.696zM512 960a448 448 0 1 1 0-896 448 448 0 0 1 0 896m0-384a64 64 0 1 0 0-128 64 64 0 0 0 0 128"})]))}}),qr=ms;var Fr=o(e()),m1=o(e()),cs=(0,Fr.defineComponent)({name:"Paperclip",__name:"paperclip",setup(t){return(a,r)=>((0,m1.openBlock)(),(0,m1.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,m1.createElementVNode)("path",{fill:"currentColor",d:"M602.496 240.448A192 192 0 1 1 874.048 512l-316.8 316.8A256 256 0 0 1 195.2 466.752L602.496 59.456l45.248 45.248L240.448 512A192 192 0 0 0 512 783.552l316.8-316.8a128 128 0 1 0-181.056-181.056L353.6 579.904a32 32 0 1 0 45.248 45.248l294.144-294.144 45.312 45.248L444.096 670.4a96 96 0 1 1-135.744-135.744z"})]))}}),Dr=cs;var br=o(e()),v2=o(e()),ps=(0,br.defineComponent)({name:"PartlyCloudy",__name:"partly-cloudy",setup(t){return(a,r)=>((0,v2.openBlock)(),(0,v2.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,v2.createElementVNode)("path",{fill:"currentColor",d:"M598.4 895.872H328.192a256 256 0 0 1-34.496-510.528A352 352 0 1 1 598.4 895.872m-271.36-64h272.256a288 288 0 1 0-248.512-417.664L335.04 445.44l-34.816 3.584a192 192 0 0 0 26.88 382.848z"}),(0,v2.createElementVNode)("path",{fill:"currentColor",d:"M139.84 501.888a256 256 0 1 1 417.856-277.12c-17.728 2.176-38.208 8.448-61.504 18.816A192 192 0 1 0 189.12 460.48a6004 6004 0 0 0-49.28 41.408"})]))}}),yr=ps;var Pr=o(e()),c1=o(e()),ss=(0,Pr.defineComponent)({name:"Pear",__name:"pear",setup(t){return(a,r)=>((0,c1.openBlock)(),(0,c1.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,c1.createElementVNode)("path",{fill:"currentColor",d:"M542.336 258.816a443 443 0 0 0-9.024 25.088 32 32 0 1 1-60.8-20.032l1.088-3.328a162.69 162.69 0 0 0-122.048 131.392l-17.088 102.72-20.736 15.36C256.192 552.704 224 610.88 224 672c0 120.576 126.4 224 288 224s288-103.424 288-224c0-61.12-32.192-119.296-89.728-161.92l-20.736-15.424-17.088-102.72a162.69 162.69 0 0 0-130.112-133.12m-40.128-66.56c7.936-15.552 16.576-30.08 25.92-43.776 23.296-33.92 49.408-59.776 78.528-77.12a32 32 0 1 1 32.704 55.04c-20.544 12.224-40.064 31.552-58.432 58.304a317 317 0 0 0-9.792 15.104 226.69 226.69 0 0 1 164.48 181.568l12.8 77.248C819.456 511.36 864 587.392 864 672c0 159.04-157.568 288-352 288S160 831.04 160 672c0-84.608 44.608-160.64 115.584-213.376l12.8-77.248a226.624 226.624 0 0 1 213.76-189.184z"})]))}}),Rr=ss;var Tr=o(e()),p1=o(e()),_s=(0,Tr.defineComponent)({name:"PhoneFilled",__name:"phone-filled",setup(t){return(a,r)=>((0,p1.openBlock)(),(0,p1.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,p1.createElementVNode)("path",{fill:"currentColor",d:"M199.232 125.568 90.624 379.008a32 32 0 0 0 6.784 35.2l512.384 512.384a32 32 0 0 0 35.2 6.784l253.44-108.608a32 32 0 0 0 10.048-52.032L769.6 633.92a32 32 0 0 0-36.928-5.952l-130.176 65.088-271.488-271.552 65.024-130.176a32 32 0 0 0-5.952-36.928L251.2 115.52a32 32 0 0 0-51.968 10.048"})]))}}),Or=_s;var Gr=o(e()),s1=o(e()),fs=(0,Gr.defineComponent)({name:"Phone",__name:"phone",setup(t){return(a,r)=>((0,s1.openBlock)(),(0,s1.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,s1.createElementVNode)("path",{fill:"currentColor",d:"M79.36 432.256 591.744 944.64a32 32 0 0 0 35.2 6.784l253.44-108.544a32 32 0 0 0 9.984-52.032l-153.856-153.92a32 32 0 0 0-36.928-6.016l-69.888 34.944L358.08 394.24l35.008-69.888a32 32 0 0 0-5.952-36.928L233.152 133.568a32 32 0 0 0-52.032 10.048L72.512 397.056a32 32 0 0 0 6.784 35.2zm60.48-29.952 81.536-190.08L325.568 316.48l-24.64 49.216-20.608 41.216 32.576 32.64 271.552 271.552 32.64 32.64 41.216-20.672 49.28-24.576 104.192 104.128-190.08 81.472zM512 320v-64a256 256 0 0 1 256 256h-64a192 192 0 0 0-192-192m0-192V64a448 448 0 0 1 448 448h-64a384 384 0 0 0-384-384"})]))}}),Ur=fs;var Wr=o(e()),_1=o(e()),is=(0,Wr.defineComponent)({name:"PictureFilled",__name:"picture-filled",setup(t){return(a,r)=>((0,_1.openBlock)(),(0,_1.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,_1.createElementVNode)("path",{fill:"currentColor",d:"M96 896a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h832a32 32 0 0 1 32 32v704a32 32 0 0 1-32 32zm315.52-228.48-68.928-68.928a32 32 0 0 0-45.248 0L128 768.064h778.688l-242.112-290.56a32 32 0 0 0-49.216 0L458.752 665.408a32 32 0 0 1-47.232 2.112M256 384a96 96 0 1 0 192.064-.064A96 96 0 0 0 256 384"})]))}}),Ir=is;var Kr=o(e()),w2=o(e()),ds=(0,Kr.defineComponent)({name:"PictureRounded",__name:"picture-rounded",setup(t){return(a,r)=>((0,w2.openBlock)(),(0,w2.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,w2.createElementVNode)("path",{fill:"currentColor",d:"M512 128a384 384 0 1 0 0 768 384 384 0 0 0 0-768m0-64a448 448 0 1 1 0 896 448 448 0 0 1 0-896"}),(0,w2.createElementVNode)("path",{fill:"currentColor",d:"M640 288q64 0 64 64t-64 64-64-64 64-64M214.656 790.656l-45.312-45.312 185.664-185.6a96 96 0 0 1 123.712-10.24l138.24 98.688a32 32 0 0 0 39.872-2.176L906.688 422.4l42.624 47.744L699.52 693.696a96 96 0 0 1-119.808 6.592l-138.24-98.752a32 32 0 0 0-41.152 3.456l-185.664 185.6z"})]))}}),Qr=ds;var Zr=o(e()),B2=o(e()),us=(0,Zr.defineComponent)({name:"Picture",__name:"picture",setup(t){return(a,r)=>((0,B2.openBlock)(),(0,B2.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,B2.createElementVNode)("path",{fill:"currentColor",d:"M160 160v704h704V160zm-32-64h768a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H128a32 32 0 0 1-32-32V128a32 32 0 0 1 32-32"}),(0,B2.createElementVNode)("path",{fill:"currentColor",d:"M384 288q64 0 64 64t-64 64-64-64 64-64M185.408 876.992l-50.816-38.912L350.72 556.032a96 96 0 0 1 134.592-17.856l1.856 1.472 122.88 99.136a32 32 0 0 0 44.992-4.864l216-269.888 49.92 39.936-215.808 269.824-.256.32a96 96 0 0 1-135.04 14.464l-122.88-99.072-.64-.512a32 32 0 0 0-44.8 5.952z"})]))}}),jr=us;var Jr=o(e()),x2=o(e()),hs=(0,Jr.defineComponent)({name:"PieChart",__name:"pie-chart",setup(t){return(a,r)=>((0,x2.openBlock)(),(0,x2.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,x2.createElementVNode)("path",{fill:"currentColor",d:"M448 68.48v64.832A384.128 384.128 0 0 0 512 896a384.13 384.13 0 0 0 378.688-320h64.768A448.128 448.128 0 0 1 64 512 448.13 448.13 0 0 1 448 68.48"}),(0,x2.createElementVNode)("path",{fill:"currentColor",d:"M576 97.28V448h350.72A384.064 384.064 0 0 0 576 97.28M512 64V33.152A448 448 0 0 1 990.848 512H512z"})]))}}),Xr=hs;var Yr=o(e()),V=o(e()),vs=(0,Yr.defineComponent)({name:"Place",__name:"place",setup(t){return(a,r)=>((0,V.openBlock)(),(0,V.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,V.createElementVNode)("path",{fill:"currentColor",d:"M512 512a192 192 0 1 0 0-384 192 192 0 0 0 0 384m0 64a256 256 0 1 1 0-512 256 256 0 0 1 0 512"}),(0,V.createElementVNode)("path",{fill:"currentColor",d:"M512 512a32 32 0 0 1 32 32v256a32 32 0 1 1-64 0V544a32 32 0 0 1 32-32"}),(0,V.createElementVNode)("path",{fill:"currentColor",d:"M384 649.088v64.96C269.76 732.352 192 771.904 192 800c0 37.696 139.904 96 320 96s320-58.304 320-96c0-28.16-77.76-67.648-192-85.952v-64.96C789.12 671.04 896 730.368 896 800c0 88.32-171.904 160-384 160s-384-71.68-384-160c0-69.696 106.88-128.96 256-150.912"})]))}}),$r=vs;var en=o(e()),f1=o(e()),ws=(0,en.defineComponent)({name:"Platform",__name:"platform",setup(t){return(a,r)=>((0,f1.openBlock)(),(0,f1.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,f1.createElementVNode)("path",{fill:"currentColor",d:"M448 832v-64h128v64h192v64H256v-64zM128 704V128h768v576z"})]))}}),on=ws;var tn=o(e()),i1=o(e()),Bs=(0,tn.defineComponent)({name:"Plus",__name:"plus",setup(t){return(a,r)=>((0,i1.openBlock)(),(0,i1.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,i1.createElementVNode)("path",{fill:"currentColor",d:"M480 480V128a32 32 0 0 1 64 0v352h352a32 32 0 1 1 0 64H544v352a32 32 0 1 1-64 0V544H128a32 32 0 0 1 0-64z"})]))}}),an=Bs;var rn=o(e()),d1=o(e()),xs=(0,rn.defineComponent)({name:"Pointer",__name:"pointer",setup(t){return(a,r)=>((0,d1.openBlock)(),(0,d1.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,d1.createElementVNode)("path",{fill:"currentColor",d:"M511.552 128c-35.584 0-64.384 28.8-64.384 64.448v516.48L274.048 570.88a94.27 94.27 0 0 0-112.896-3.456 44.416 44.416 0 0 0-8.96 62.208L332.8 870.4A64 64 0 0 0 384 896h512V575.232a64 64 0 0 0-45.632-61.312l-205.952-61.76A96 96 0 0 1 576 360.192V192.448C576 156.8 547.2 128 511.552 128M359.04 556.8l24.128 19.2V192.448a128.448 128.448 0 1 1 256.832 0v167.744a32 32 0 0 0 22.784 30.656l206.016 61.76A128 128 0 0 1 960 575.232V896a64 64 0 0 1-64 64H384a128 128 0 0 1-102.4-51.2L101.056 668.032A108.416 108.416 0 0 1 128 512.512a158.27 158.27 0 0 1 185.984 8.32z"})]))}}),nn=xs;var ln=o(e()),u1=o(e()),ks=(0,ln.defineComponent)({name:"Position",__name:"position",setup(t){return(a,r)=>((0,u1.openBlock)(),(0,u1.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,u1.createElementVNode)("path",{fill:"currentColor",d:"m249.6 417.088 319.744 43.072 39.168 310.272L845.12 178.88zm-129.024 47.168a32 32 0 0 1-7.68-61.44l777.792-311.04a32 32 0 0 1 41.6 41.6l-310.336 775.68a32 32 0 0 1-61.44-7.808L512 516.992z"})]))}}),mn=ks;var cn=o(e()),k2=o(e()),Cs=(0,cn.defineComponent)({name:"Postcard",__name:"postcard",setup(t){return(a,r)=>((0,k2.openBlock)(),(0,k2.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,k2.createElementVNode)("path",{fill:"currentColor",d:"M160 224a32 32 0 0 0-32 32v512a32 32 0 0 0 32 32h704a32 32 0 0 0 32-32V256a32 32 0 0 0-32-32zm0-64h704a96 96 0 0 1 96 96v512a96 96 0 0 1-96 96H160a96 96 0 0 1-96-96V256a96 96 0 0 1 96-96"}),(0,k2.createElementVNode)("path",{fill:"currentColor",d:"M704 320a64 64 0 1 1 0 128 64 64 0 0 1 0-128M288 448h256q32 0 32 32t-32 32H288q-32 0-32-32t32-32m0 128h256q32 0 32 32t-32 32H288q-32 0-32-32t32-32"})]))}}),pn=Cs;var sn=o(e()),h1=o(e()),Es=(0,sn.defineComponent)({name:"Pouring",__name:"pouring",setup(t){return(a,r)=>((0,h1.openBlock)(),(0,h1.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,h1.createElementVNode)("path",{fill:"currentColor",d:"m739.328 291.328-35.2-6.592-12.8-33.408a192.064 192.064 0 0 0-365.952 23.232l-9.92 40.896-41.472 7.04a176.32 176.32 0 0 0-146.24 173.568c0 97.28 78.72 175.936 175.808 175.936h400a192 192 0 0 0 35.776-380.672M959.552 480a256 256 0 0 1-256 256h-400A239.81 239.81 0 0 1 63.744 496.192a240.32 240.32 0 0 1 199.488-236.8 256.128 256.128 0 0 1 487.872-30.976A256.064 256.064 0 0 1 959.552 480M224 800a32 32 0 0 1 32 32v96a32 32 0 1 1-64 0v-96a32 32 0 0 1 32-32m192 0a32 32 0 0 1 32 32v96a32 32 0 1 1-64 0v-96a32 32 0 0 1 32-32m192 0a32 32 0 0 1 32 32v96a32 32 0 1 1-64 0v-96a32 32 0 0 1 32-32m192 0a32 32 0 0 1 32 32v96a32 32 0 1 1-64 0v-96a32 32 0 0 1 32-32"})]))}}),_n=Es;var fn=o(e()),l=o(e()),Vs=(0,fn.defineComponent)({name:"Present",__name:"present",setup(t){return(a,r)=>((0,l.openBlock)(),(0,l.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,l.createElementVNode)("path",{fill:"currentColor",d:"M480 896V640H192v-64h288V320H192v576zm64 0h288V320H544v256h288v64H544zM128 256h768v672a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32z"}),(0,l.createElementVNode)("path",{fill:"currentColor",d:"M96 256h832q32 0 32 32t-32 32H96q-32 0-32-32t32-32"}),(0,l.createElementVNode)("path",{fill:"currentColor",d:"M416 256a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256"}),(0,l.createElementVNode)("path",{fill:"currentColor",d:"M608 256a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256"})]))}}),dn=Vs;var un=o(e()),C2=o(e()),gs=(0,un.defineComponent)({name:"PriceTag",__name:"price-tag",setup(t){return(a,r)=>((0,C2.openBlock)(),(0,C2.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,C2.createElementVNode)("path",{fill:"currentColor",d:"M224 318.336V896h576V318.336L552.512 115.84a64 64 0 0 0-81.024 0zM593.024 66.304l259.2 212.096A32 32 0 0 1 864 303.168V928a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32V303.168a32 32 0 0 1 11.712-24.768l259.2-212.096a128 128 0 0 1 162.112 0"}),(0,C2.createElementVNode)("path",{fill:"currentColor",d:"M512 448a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256"})]))}}),hn=gs;var vn=o(e()),v1=o(e()),Ms=(0,vn.defineComponent)({name:"Printer",__name:"printer",setup(t){return(a,r)=>((0,v1.openBlock)(),(0,v1.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,v1.createElementVNode)("path",{fill:"currentColor",d:"M256 768H105.024c-14.272 0-19.456-1.472-24.64-4.288a29.06 29.06 0 0 1-12.16-12.096C65.536 746.432 64 741.248 64 727.04V379.072c0-42.816 4.48-58.304 12.8-73.984 8.384-15.616 20.672-27.904 36.288-36.288 15.68-8.32 31.168-12.8 73.984-12.8H256V64h512v192h68.928c42.816 0 58.304 4.48 73.984 12.8 15.616 8.384 27.904 20.672 36.288 36.288 8.32 15.68 12.8 31.168 12.8 73.984v347.904c0 14.272-1.472 19.456-4.288 24.64a29.06 29.06 0 0 1-12.096 12.16c-5.184 2.752-10.368 4.224-24.64 4.224H768v192H256zm64-192v320h384V576zm-64 128V512h512v192h128V379.072c0-29.376-1.408-36.48-5.248-43.776a23.3 23.3 0 0 0-10.048-10.048c-7.232-3.84-14.4-5.248-43.776-5.248H187.072c-29.376 0-36.48 1.408-43.776 5.248a23.3 23.3 0 0 0-10.048 10.048c-3.84 7.232-5.248 14.4-5.248 43.776V704zm64-448h384V128H320zm-64 128h64v64h-64zm128 0h64v64h-64z"})]))}}),wn=Ms;var Bn=o(e()),w1=o(e()),Ns=(0,Bn.defineComponent)({name:"Promotion",__name:"promotion",setup(t){return(a,r)=>((0,w1.openBlock)(),(0,w1.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,w1.createElementVNode)("path",{fill:"currentColor",d:"m64 448 832-320-128 704-446.08-243.328L832 192 242.816 545.472zm256 512V657.024L512 768z"})]))}}),xn=Ns;var kn=o(e()),g=o(e()),zs=(0,kn.defineComponent)({name:"QuartzWatch",__name:"quartz-watch",setup(t){return(a,r)=>((0,g.openBlock)(),(0,g.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",viewBox:"0 0 1024 1024"},[(0,g.createElementVNode)("path",{fill:"currentColor",d:"M422.02 602.01v-.03c-6.68-5.99-14.35-8.83-23.01-8.51q-13.005.48-22.5 10.02c-6.33 6.36-9.5 13.7-9.5 22.02s3 15.82 8.99 22.5c8.68 8.68 19.02 11.35 31.01 8s19.49-10.85 22.5-22.5.51-22.15-7.49-31.49zM384 512c0-9.35-3-17.02-8.99-23.01-6-5.99-13.66-8.99-23.01-8.99s-17.02 3-23.01 8.99c-5.99 6-8.99 13.66-8.99 23.01s3 17.02 8.99 23.01c6 5.99 13.66 8.99 23.01 8.99s17.02-3 23.01-8.99c5.99-6 8.99-13.67 8.99-23.01m6.53-82.49c11.65 3.01 22.15.51 31.49-7.49h.04c5.99-6.68 8.83-14.34 8.51-23.01s-3.66-16.16-10.02-22.5c-6.36-6.33-13.7-9.5-22.02-9.5s-15.82 3-22.5 8.99c-8.68 8.69-11.35 19.02-8 31.01q5.025 17.985 22.5 22.5m242.94 0q17.505-4.545 22.02-22.02c3.01-11.65.51-22.15-7.49-31.49h.01c-6.68-5.99-14.18-8.99-22.5-8.99s-15.66 3.16-22.02 9.5q-9.54 9.51-10.02 22.5c-.32 8.66 2.52 16.33 8.51 23.01 9.32 8.02 19.82 10.52 31.49 7.49M512 640c-9.35 0-17.02 3-23.01 8.99-5.99 6-8.99 13.66-8.99 23.01s3 17.02 8.99 23.01c6 5.99 13.67 8.99 23.01 8.99 9.35 0 17.02-3 23.01-8.99 5.99-6 8.99-13.66 8.99-23.01s-3-17.02-8.99-23.01c-6-5.99-13.66-8.99-23.01-8.99m183.01-151.01c-6-5.99-13.66-8.99-23.01-8.99s-17.02 3-23.01 8.99c-5.99 6-8.99 13.66-8.99 23.01s3 17.02 8.99 23.01c6 5.99 13.66 8.99 23.01 8.99s17.02-3 23.01-8.99c5.99-6 8.99-13.67 8.99-23.01 0-9.35-3-17.02-8.99-23.01"}),(0,g.createElementVNode)("path",{fill:"currentColor",d:"M832 512c-2-90.67-33.17-166.17-93.5-226.5-20.43-20.42-42.6-37.49-66.5-51.23V64H352v170.26c-23.9 13.74-46.07 30.81-66.5 51.24-60.33 60.33-91.49 135.83-93.5 226.5 2 90.67 33.17 166.17 93.5 226.5 20.43 20.43 42.6 37.5 66.5 51.24V960h320V789.74c23.9-13.74 46.07-30.81 66.5-51.24 60.33-60.34 91.49-135.83 93.5-226.5M416 128h192v78.69c-29.85-9.03-61.85-13.93-96-14.69-34.15.75-66.15 5.65-96 14.68zm192 768H416v-78.68c29.85 9.03 61.85 13.93 96 14.68 34.15-.75 66.15-5.65 96-14.68zm-96-128c-72.66-2.01-132.99-27.01-180.99-75.01S258.01 584.66 256 512c2.01-72.66 27.01-132.99 75.01-180.99S439.34 258.01 512 256c72.66 2.01 132.99 27.01 180.99 75.01S765.99 439.34 768 512c-2.01 72.66-27.01 132.99-75.01 180.99S584.66 765.99 512 768"}),(0,g.createElementVNode)("path",{fill:"currentColor",d:"M512 320c-9.35 0-17.02 3-23.01 8.99-5.99 6-8.99 13.66-8.99 23.01s3 17.02 8.99 23.01c6 5.99 13.67 8.99 23.01 8.99 9.35 0 17.02-3 23.01-8.99 5.99-6 8.99-13.66 8.99-23.01s-3-17.02-8.99-23.01c-6-5.99-13.66-8.99-23.01-8.99m112.99 273.5c-8.66-.32-16.33 2.52-23.01 8.51-7.98 9.32-10.48 19.82-7.49 31.49s10.49 19.17 22.5 22.5 22.35.66 31.01-8v.04c5.99-6.68 8.99-14.18 8.99-22.5s-3.16-15.66-9.5-22.02-13.84-9.7-22.5-10.02"})]))}}),Cn=zs;var En=o(e()),B1=o(e()),Hs=(0,En.defineComponent)({name:"QuestionFilled",__name:"question-filled",setup(t){return(a,r)=>((0,B1.openBlock)(),(0,B1.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,B1.createElementVNode)("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m23.744 191.488c-52.096 0-92.928 14.784-123.2 44.352-30.976 29.568-45.76 70.4-45.76 122.496h80.256c0-29.568 5.632-52.8 17.6-68.992 13.376-19.712 35.2-28.864 66.176-28.864 23.936 0 42.944 6.336 56.32 19.712 12.672 13.376 19.712 31.68 19.712 54.912 0 17.6-6.336 34.496-19.008 49.984l-8.448 9.856c-45.76 40.832-73.216 70.4-82.368 89.408-9.856 19.008-14.08 42.24-14.08 68.992v9.856h80.96v-9.856c0-16.896 3.52-31.68 10.56-45.76 6.336-12.672 15.488-24.64 28.16-35.2 33.792-29.568 54.208-48.576 60.544-55.616 16.896-22.528 26.048-51.392 26.048-86.592q0-64.416-42.24-101.376c-28.16-25.344-65.472-37.312-111.232-37.312m-12.672 406.208a54.27 54.27 0 0 0-38.72 14.784 49.4 49.4 0 0 0-15.488 38.016c0 15.488 4.928 28.16 15.488 38.016A54.85 54.85 0 0 0 523.072 768c15.488 0 28.16-4.928 38.72-14.784a51.52 51.52 0 0 0 16.192-38.72 51.97 51.97 0 0 0-15.488-38.016 55.94 55.94 0 0 0-39.424-14.784"})]))}}),Vn=Hs;var gn=o(e()),x1=o(e()),Ls=(0,gn.defineComponent)({name:"Rank",__name:"rank",setup(t){return(a,r)=>((0,x1.openBlock)(),(0,x1.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,x1.createElementVNode)("path",{fill:"currentColor",d:"m186.496 544 41.408 41.344a32 32 0 1 1-45.248 45.312l-96-96a32 32 0 0 1 0-45.312l96-96a32 32 0 1 1 45.248 45.312L186.496 480h290.816V186.432l-41.472 41.472a32 32 0 1 1-45.248-45.184l96-96.128a32 32 0 0 1 45.312 0l96 96.064a32 32 0 0 1-45.248 45.184l-41.344-41.28V480H832l-41.344-41.344a32 32 0 0 1 45.248-45.312l96 96a32 32 0 0 1 0 45.312l-96 96a32 32 0 0 1-45.248-45.312L832 544H541.312v293.44l41.344-41.28a32 32 0 1 1 45.248 45.248l-96 96a32 32 0 0 1-45.312 0l-96-96a32 32 0 1 1 45.312-45.248l41.408 41.408V544z"})]))}}),Mn=Ls;var Nn=o(e()),E2=o(e()),As=(0,Nn.defineComponent)({name:"ReadingLamp",__name:"reading-lamp",setup(t){return(a,r)=>((0,E2.openBlock)(),(0,E2.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,E2.createElementVNode)("path",{fill:"currentColor",d:"M352 896h320q32 0 32 32t-32 32H352q-32 0-32-32t32-32m-44.672-768-99.52 448h608.384l-99.52-448zm-25.6-64h460.608a32 32 0 0 1 31.232 25.088l113.792 512A32 32 0 0 1 856.128 640H167.872a32 32 0 0 1-31.232-38.912l113.792-512A32 32 0 0 1 281.664 64z"}),(0,E2.createElementVNode)("path",{fill:"currentColor",d:"M672 576q32 0 32 32v128q0 32-32 32t-32-32V608q0-32 32-32m-192-.064h64V960h-64z"})]))}}),zn=As;var Hn=o(e()),V2=o(e()),Ss=(0,Hn.defineComponent)({name:"Reading",__name:"reading",setup(t){return(a,r)=>((0,V2.openBlock)(),(0,V2.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,V2.createElementVNode)("path",{fill:"currentColor",d:"m512 863.36 384-54.848v-638.72L525.568 222.72a96 96 0 0 1-27.136 0L128 169.792v638.72zM137.024 106.432l370.432 52.928a32 32 0 0 0 9.088 0l370.432-52.928A64 64 0 0 1 960 169.792v638.72a64 64 0 0 1-54.976 63.36l-388.48 55.488a32 32 0 0 1-9.088 0l-388.48-55.488A64 64 0 0 1 64 808.512v-638.72a64 64 0 0 1 73.024-63.36"}),(0,V2.createElementVNode)("path",{fill:"currentColor",d:"M480 192h64v704h-64z"})]))}}),Ln=Ss;var An=o(e()),k1=o(e()),qs=(0,An.defineComponent)({name:"RefreshLeft",__name:"refresh-left",setup(t){return(a,r)=>((0,k1.openBlock)(),(0,k1.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,k1.createElementVNode)("path",{fill:"currentColor",d:"M289.088 296.704h92.992a32 32 0 0 1 0 64H232.96a32 32 0 0 1-32-32V179.712a32 32 0 0 1 64 0v50.56a384 384 0 0 1 643.84 282.88 384 384 0 0 1-383.936 384 384 384 0 0 1-384-384h64a320 320 0 1 0 640 0 320 320 0 0 0-555.712-216.448z"})]))}}),Sn=qs;var qn=o(e()),C1=o(e()),Fs=(0,qn.defineComponent)({name:"RefreshRight",__name:"refresh-right",setup(t){return(a,r)=>((0,C1.openBlock)(),(0,C1.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,C1.createElementVNode)("path",{fill:"currentColor",d:"M784.512 230.272v-50.56a32 32 0 1 1 64 0v149.056a32 32 0 0 1-32 32H667.52a32 32 0 1 1 0-64h92.992A320 320 0 1 0 524.8 833.152a320 320 0 0 0 320-320h64a384 384 0 0 1-384 384 384 384 0 0 1-384-384 384 384 0 0 1 643.712-282.88"})]))}}),Fn=Fs;var Dn=o(e()),E1=o(e()),Ds=(0,Dn.defineComponent)({name:"Refresh",__name:"refresh",setup(t){return(a,r)=>((0,E1.openBlock)(),(0,E1.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,E1.createElementVNode)("path",{fill:"currentColor",d:"M771.776 794.88A384 384 0 0 1 128 512h64a320 320 0 0 0 555.712 216.448H654.72a32 32 0 1 1 0-64h149.056a32 32 0 0 1 32 32v148.928a32 32 0 1 1-64 0v-50.56zM276.288 295.616h92.992a32 32 0 0 1 0 64H220.16a32 32 0 0 1-32-32V178.56a32 32 0 0 1 64 0v50.56A384 384 0 0 1 896.128 512h-64a320 320 0 0 0-555.776-216.384z"})]))}}),bn=Ds;var yn=o(e()),V1=o(e()),bs=(0,yn.defineComponent)({name:"Refrigerator",__name:"refrigerator",setup(t){return(a,r)=>((0,V1.openBlock)(),(0,V1.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,V1.createElementVNode)("path",{fill:"currentColor",d:"M256 448h512V160a32 32 0 0 0-32-32H288a32 32 0 0 0-32 32zm0 64v352a32 32 0 0 0 32 32h448a32 32 0 0 0 32-32V512zm32-448h448a96 96 0 0 1 96 96v704a96 96 0 0 1-96 96H288a96 96 0 0 1-96-96V160a96 96 0 0 1 96-96m32 224h64v96h-64zm0 288h64v96h-64z"})]))}}),Pn=bs;var Rn=o(e()),g1=o(e()),ys=(0,Rn.defineComponent)({name:"RemoveFilled",__name:"remove-filled",setup(t){return(a,r)=>((0,g1.openBlock)(),(0,g1.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,g1.createElementVNode)("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896M288 512a38.4 38.4 0 0 0 38.4 38.4h371.2a38.4 38.4 0 0 0 0-76.8H326.4A38.4 38.4 0 0 0 288 512"})]))}}),Tn=ys;var On=o(e()),g2=o(e()),Ps=(0,On.defineComponent)({name:"Remove",__name:"remove",setup(t){return(a,r)=>((0,g2.openBlock)(),(0,g2.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,g2.createElementVNode)("path",{fill:"currentColor",d:"M352 480h320a32 32 0 1 1 0 64H352a32 32 0 0 1 0-64"}),(0,g2.createElementVNode)("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}}),Gn=Ps;var Un=o(e()),M1=o(e()),Rs=(0,Un.defineComponent)({name:"Right",__name:"right",setup(t){return(a,r)=>((0,M1.openBlock)(),(0,M1.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,M1.createElementVNode)("path",{fill:"currentColor",d:"M754.752 480H160a32 32 0 1 0 0 64h594.752L521.344 777.344a32 32 0 0 0 45.312 45.312l288-288a32 32 0 0 0 0-45.312l-288-288a32 32 0 1 0-45.312 45.312z"})]))}}),Wn=Rs;var In=o(e()),N1=o(e()),Ts=(0,In.defineComponent)({name:"ScaleToOriginal",__name:"scale-to-original",setup(t){return(a,r)=>((0,N1.openBlock)(),(0,N1.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,N1.createElementVNode)("path",{fill:"currentColor",d:"M813.176 180.706a60.235 60.235 0 0 1 60.236 60.235v481.883a60.235 60.235 0 0 1-60.236 60.235H210.824a60.235 60.235 0 0 1-60.236-60.235V240.94a60.235 60.235 0 0 1 60.236-60.235h602.352zm0-60.235H210.824A120.47 120.47 0 0 0 90.353 240.94v481.883a120.47 120.47 0 0 0 120.47 120.47h602.353a120.47 120.47 0 0 0 120.471-120.47V240.94a120.47 120.47 0 0 0-120.47-120.47zm-120.47 180.705a30.12 30.12 0 0 0-30.118 30.118v301.177a30.118 30.118 0 0 0 60.236 0V331.294a30.12 30.12 0 0 0-30.118-30.118m-361.412 0a30.12 30.12 0 0 0-30.118 30.118v301.177a30.118 30.118 0 1 0 60.236 0V331.294a30.12 30.12 0 0 0-30.118-30.118M512 361.412a30.12 30.12 0 0 0-30.118 30.117v30.118a30.118 30.118 0 0 0 60.236 0V391.53A30.12 30.12 0 0 0 512 361.412M512 512a30.12 30.12 0 0 0-30.118 30.118v30.117a30.118 30.118 0 0 0 60.236 0v-30.117A30.12 30.12 0 0 0 512 512"})]))}}),Kn=Ts;var Qn=o(e()),M=o(e()),Os=(0,Qn.defineComponent)({name:"School",__name:"school",setup(t){return(a,r)=>((0,M.openBlock)(),(0,M.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,M.createElementVNode)("path",{fill:"currentColor",d:"M224 128v704h576V128zm-32-64h640a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32"}),(0,M.createElementVNode)("path",{fill:"currentColor",d:"M64 832h896v64H64zm256-640h128v96H320z"}),(0,M.createElementVNode)("path",{fill:"currentColor",d:"M384 832h256v-64a128 128 0 1 0-256 0zm128-256a192 192 0 0 1 192 192v128H320V768a192 192 0 0 1 192-192M320 384h128v96H320zm256-192h128v96H576zm0 192h128v96H576z"})]))}}),Zn=Os;var jn=o(e()),z1=o(e()),Gs=(0,jn.defineComponent)({name:"Scissor",__name:"scissor",setup(t){return(a,r)=>((0,z1.openBlock)(),(0,z1.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,z1.createElementVNode)("path",{fill:"currentColor",d:"m512.064 578.368-106.88 152.768a160 160 0 1 1-23.36-78.208L472.96 522.56 196.864 128.256a32 32 0 1 1 52.48-36.736l393.024 561.344a160 160 0 1 1-23.36 78.208l-106.88-152.704zm54.4-189.248 208.384-297.6a32 32 0 0 1 52.48 36.736l-221.76 316.672-39.04-55.808zm-376.32 425.856a96 96 0 1 0 110.144-157.248 96 96 0 0 0-110.08 157.248zm643.84 0a96 96 0 1 0-110.08-157.248 96 96 0 0 0 110.08 157.248"})]))}}),Jn=Gs;var Xn=o(e()),H1=o(e()),Us=(0,Xn.defineComponent)({name:"Search",__name:"search",setup(t){return(a,r)=>((0,H1.openBlock)(),(0,H1.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,H1.createElementVNode)("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704"})]))}}),Yn=Us;var $n=o(e()),L1=o(e()),Ws=(0,$n.defineComponent)({name:"Select",__name:"select",setup(t){return(a,r)=>((0,L1.openBlock)(),(0,L1.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,L1.createElementVNode)("path",{fill:"currentColor",d:"M77.248 415.04a64 64 0 0 1 90.496 0l226.304 226.304L846.528 188.8a64 64 0 1 1 90.56 90.496l-543.04 543.04-316.8-316.8a64 64 0 0 1 0-90.496"})]))}}),el=Ws;var ol=o(e()),A1=o(e()),Is=(0,ol.defineComponent)({name:"Sell",__name:"sell",setup(t){return(a,r)=>((0,A1.openBlock)(),(0,A1.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,A1.createElementVNode)("path",{fill:"currentColor",d:"M704 288h131.072a32 32 0 0 1 31.808 28.8L886.4 512h-64.384l-16-160H704v96a32 32 0 1 1-64 0v-96H384v96a32 32 0 0 1-64 0v-96H217.92l-51.2 512H512v64H131.328a32 32 0 0 1-31.808-35.2l57.6-576a32 32 0 0 1 31.808-28.8H320v-22.336C320 154.688 405.504 64 512 64s192 90.688 192 201.664v22.4zm-64 0v-22.336C640 189.248 582.272 128 512 128s-128 61.248-128 137.664v22.4h256zm201.408 483.84L768 698.496V928a32 32 0 1 1-64 0V698.496l-73.344 73.344a32 32 0 1 1-45.248-45.248l128-128a32 32 0 0 1 45.248 0l128 128a32 32 0 1 1-45.248 45.248"})]))}}),tl=Is;var al=o(e()),S1=o(e()),Ks=(0,al.defineComponent)({name:"SemiSelect",__name:"semi-select",setup(t){return(a,r)=>((0,S1.openBlock)(),(0,S1.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,S1.createElementVNode)("path",{fill:"currentColor",d:"M128 448h768q64 0 64 64t-64 64H128q-64 0-64-64t64-64"})]))}}),rl=Ks;var nl=o(e()),q1=o(e()),Qs=(0,nl.defineComponent)({name:"Service",__name:"service",setup(t){return(a,r)=>((0,q1.openBlock)(),(0,q1.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,q1.createElementVNode)("path",{fill:"currentColor",d:"M864 409.6a192 192 0 0 1-37.888 349.44A256.064 256.064 0 0 1 576 960h-96a32 32 0 1 1 0-64h96a192.06 192.06 0 0 0 181.12-128H736a32 32 0 0 1-32-32V416a32 32 0 0 1 32-32h32c10.368 0 20.544.832 30.528 2.432a288 288 0 0 0-573.056 0A193 193 0 0 1 256 384h32a32 32 0 0 1 32 32v320a32 32 0 0 1-32 32h-32a192 192 0 0 1-96-358.4 352 352 0 0 1 704 0M256 448a128 128 0 1 0 0 256zm640 128a128 128 0 0 0-128-128v256a128 128 0 0 0 128-128"})]))}}),ll=Qs;var ml=o(e()),m=o(e()),Zs=(0,ml.defineComponent)({name:"SetUp",__name:"set-up",setup(t){return(a,r)=>((0,m.openBlock)(),(0,m.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,m.createElementVNode)("path",{fill:"currentColor",d:"M224 160a64 64 0 0 0-64 64v576a64 64 0 0 0 64 64h576a64 64 0 0 0 64-64V224a64 64 0 0 0-64-64zm0-64h576a128 128 0 0 1 128 128v576a128 128 0 0 1-128 128H224A128 128 0 0 1 96 800V224A128 128 0 0 1 224 96"}),(0,m.createElementVNode)("path",{fill:"currentColor",d:"M384 416a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256"}),(0,m.createElementVNode)("path",{fill:"currentColor",d:"M480 320h256q32 0 32 32t-32 32H480q-32 0-32-32t32-32m160 416a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256"}),(0,m.createElementVNode)("path",{fill:"currentColor",d:"M288 640h256q32 0 32 32t-32 32H288q-32 0-32-32t32-32"})]))}}),cl=Zs;var pl=o(e()),F1=o(e()),js=(0,pl.defineComponent)({name:"Setting",__name:"setting",setup(t){return(a,r)=>((0,F1.openBlock)(),(0,F1.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,F1.createElementVNode)("path",{fill:"currentColor",d:"M600.704 64a32 32 0 0 1 30.464 22.208l35.2 109.376c14.784 7.232 28.928 15.36 42.432 24.512l112.384-24.192a32 32 0 0 1 34.432 15.36L944.32 364.8a32 32 0 0 1-4.032 37.504l-77.12 85.12a357 357 0 0 1 0 49.024l77.12 85.248a32 32 0 0 1 4.032 37.504l-88.704 153.6a32 32 0 0 1-34.432 15.296L708.8 803.904c-13.44 9.088-27.648 17.28-42.368 24.512l-35.264 109.376A32 32 0 0 1 600.704 960H423.296a32 32 0 0 1-30.464-22.208L357.696 828.48a352 352 0 0 1-42.56-24.64l-112.32 24.256a32 32 0 0 1-34.432-15.36L79.68 659.2a32 32 0 0 1 4.032-37.504l77.12-85.248a357 357 0 0 1 0-48.896l-77.12-85.248A32 32 0 0 1 79.68 364.8l88.704-153.6a32 32 0 0 1 34.432-15.296l112.32 24.256c13.568-9.152 27.776-17.408 42.56-24.64l35.2-109.312A32 32 0 0 1 423.232 64H600.64zm-23.424 64H446.72l-36.352 113.088-24.512 11.968a294 294 0 0 0-34.816 20.096l-22.656 15.36-116.224-25.088-65.28 113.152 79.68 88.192-1.92 27.136a293 293 0 0 0 0 40.192l1.92 27.136-79.808 88.192 65.344 113.152 116.224-25.024 22.656 15.296a294 294 0 0 0 34.816 20.096l24.512 11.968L446.72 896h130.688l36.48-113.152 24.448-11.904a288 288 0 0 0 34.752-20.096l22.592-15.296 116.288 25.024 65.28-113.152-79.744-88.192 1.92-27.136a293 293 0 0 0 0-40.256l-1.92-27.136 79.808-88.128-65.344-113.152-116.288 24.96-22.592-15.232a288 288 0 0 0-34.752-20.096l-24.448-11.904L577.344 128zM512 320a192 192 0 1 1 0 384 192 192 0 0 1 0-384m0 64a128 128 0 1 0 0 256 128 128 0 0 0 0-256"})]))}}),sl=js;var _l=o(e()),D1=o(e()),Js=(0,_l.defineComponent)({name:"Share",__name:"share",setup(t){return(a,r)=>((0,D1.openBlock)(),(0,D1.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,D1.createElementVNode)("path",{fill:"currentColor",d:"m679.872 348.8-301.76 188.608a127.8 127.8 0 0 1 5.12 52.16l279.936 104.96a128 128 0 1 1-22.464 59.904l-279.872-104.96a128 128 0 1 1-16.64-166.272l301.696-188.608a128 128 0 1 1 33.92 54.272z"})]))}}),fl=Js;var il=o(e()),b1=o(e()),Xs=(0,il.defineComponent)({name:"Ship",__name:"ship",setup(t){return(a,r)=>((0,b1.openBlock)(),(0,b1.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,b1.createElementVNode)("path",{fill:"currentColor",d:"M512 386.88V448h405.568a32 32 0 0 1 30.72 40.768l-76.48 267.968A192 192 0 0 1 687.168 896H336.832a192 192 0 0 1-184.64-139.264L75.648 488.768A32 32 0 0 1 106.368 448H448V117.888a32 32 0 0 1 47.36-28.096l13.888 7.616L512 96v2.88l231.68 126.4a32 32 0 0 1-2.048 57.216zm0-70.272 144.768-65.792L512 171.84zM512 512H148.864l18.24 64H856.96l18.24-64zM185.408 640l28.352 99.2A128 128 0 0 0 336.832 832h350.336a128 128 0 0 0 123.072-92.8l28.352-99.2z"})]))}}),dl=Xs;var ul=o(e()),y1=o(e()),Ys=(0,ul.defineComponent)({name:"Shop",__name:"shop",setup(t){return(a,r)=>((0,y1.openBlock)(),(0,y1.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,y1.createElementVNode)("path",{fill:"currentColor",d:"M704 704h64v192H256V704h64v64h384zm188.544-152.192C894.528 559.616 896 567.616 896 576a96 96 0 1 1-192 0 96 96 0 1 1-192 0 96 96 0 1 1-192 0 96 96 0 1 1-192 0c0-8.384 1.408-16.384 3.392-24.192L192 128h640z"})]))}}),hl=Ys;var vl=o(e()),M2=o(e()),$s=(0,vl.defineComponent)({name:"ShoppingBag",__name:"shopping-bag",setup(t){return(a,r)=>((0,M2.openBlock)(),(0,M2.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,M2.createElementVNode)("path",{fill:"currentColor",d:"M704 320v96a32 32 0 0 1-32 32h-32V320H384v128h-32a32 32 0 0 1-32-32v-96H192v576h640V320zm-384-64a192 192 0 1 1 384 0h160a32 32 0 0 1 32 32v640a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V288a32 32 0 0 1 32-32zm64 0h256a128 128 0 1 0-256 0"}),(0,M2.createElementVNode)("path",{fill:"currentColor",d:"M192 704h640v64H192z"})]))}}),wl=$s;var Bl=o(e()),N2=o(e()),e_=(0,Bl.defineComponent)({name:"ShoppingCartFull",__name:"shopping-cart-full",setup(t){return(a,r)=>((0,N2.openBlock)(),(0,N2.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,N2.createElementVNode)("path",{fill:"currentColor",d:"M432 928a48 48 0 1 1 0-96 48 48 0 0 1 0 96m320 0a48 48 0 1 1 0-96 48 48 0 0 1 0 96M96 128a32 32 0 0 1 0-64h160a32 32 0 0 1 31.36 25.728L320.64 256H928a32 32 0 0 1 31.296 38.72l-96 448A32 32 0 0 1 832 768H384a32 32 0 0 1-31.36-25.728L229.76 128zm314.24 576h395.904l82.304-384H333.44z"}),(0,N2.createElementVNode)("path",{fill:"currentColor",d:"M699.648 256 608 145.984 516.352 256zm-140.8-151.04a64 64 0 0 1 98.304 0L836.352 320H379.648z"})]))}}),xl=e_;var kl=o(e()),P1=o(e()),o_=(0,kl.defineComponent)({name:"ShoppingCart",__name:"shopping-cart",setup(t){return(a,r)=>((0,P1.openBlock)(),(0,P1.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,P1.createElementVNode)("path",{fill:"currentColor",d:"M432 928a48 48 0 1 1 0-96 48 48 0 0 1 0 96m320 0a48 48 0 1 1 0-96 48 48 0 0 1 0 96M96 128a32 32 0 0 1 0-64h160a32 32 0 0 1 31.36 25.728L320.64 256H928a32 32 0 0 1 31.296 38.72l-96 448A32 32 0 0 1 832 768H384a32 32 0 0 1-31.36-25.728L229.76 128zm314.24 576h395.904l82.304-384H333.44z"})]))}}),Cl=o_;var El=o(e()),R1=o(e()),t_=(0,El.defineComponent)({name:"ShoppingTrolley",__name:"shopping-trolley",setup(t){return(a,r)=>((0,R1.openBlock)(),(0,R1.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",viewBox:"0 0 1024 1024"},[(0,R1.createElementVNode)("path",{fill:"currentColor",d:"M368 833c-13.3 0-24.5 4.5-33.5 13.5S321 866.7 321 880s4.5 24.5 13.5 33.5 20.2 13.8 33.5 14.5c13.3-.7 24.5-5.5 33.5-14.5S415 893.3 415 880s-4.5-24.5-13.5-33.5S381.3 833 368 833m439-193c7.4 0 13.8-2.2 19.5-6.5S836 623.3 838 616l112-448c2-10-.2-19.2-6.5-27.5S929 128 919 128H96c-9.3 0-17 3-23 9s-9 13.7-9 23 3 17 9 23 13.7 9 23 9h96v576h672c9.3 0 17-3 23-9s9-13.7 9-23-3-17-9-23-13.7-9-23-9H256v-64zM256 192h622l-96 384H256zm432 641c-13.3 0-24.5 4.5-33.5 13.5S641 866.7 641 880s4.5 24.5 13.5 33.5 20.2 13.8 33.5 14.5c13.3-.7 24.5-5.5 33.5-14.5S735 893.3 735 880s-4.5-24.5-13.5-33.5S701.3 833 688 833"})]))}}),Vl=t_;var gl=o(e()),z2=o(e()),a_=(0,gl.defineComponent)({name:"Smoking",__name:"smoking",setup(t){return(a,r)=>((0,z2.openBlock)(),(0,z2.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,z2.createElementVNode)("path",{fill:"currentColor",d:"M256 576v128h640V576zm-32-64h704a32 32 0 0 1 32 32v192a32 32 0 0 1-32 32H224a32 32 0 0 1-32-32V544a32 32 0 0 1 32-32"}),(0,z2.createElementVNode)("path",{fill:"currentColor",d:"M704 576h64v128h-64zM256 64h64v320h-64zM128 192h64v192h-64zM64 512h64v256H64z"})]))}}),Ml=a_;var Nl=o(e()),T1=o(e()),r_=(0,Nl.defineComponent)({name:"Soccer",__name:"soccer",setup(t){return(a,r)=>((0,T1.openBlock)(),(0,T1.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,T1.createElementVNode)("path",{fill:"currentColor",d:"M418.496 871.04 152.256 604.8c-16.512 94.016-2.368 178.624 42.944 224 44.928 44.928 129.344 58.752 223.296 42.24m72.32-18.176a573.06 573.06 0 0 0 224.832-137.216 573.1 573.1 0 0 0 137.216-224.832L533.888 171.84a578.56 578.56 0 0 0-227.52 138.496A567.7 567.7 0 0 0 170.432 532.48zM871.04 418.496c16.512-93.952 2.688-178.368-42.24-223.296-44.544-44.544-128.704-58.048-222.592-41.536zM149.952 874.048c-112.96-112.96-88.832-408.96 111.168-608.96C461.056 65.152 760.96 36.928 874.048 149.952c113.024 113.024 86.784 411.008-113.152 610.944s-497.92 226.112-610.944 113.152m452.544-497.792 22.656-22.656a32 32 0 0 1 45.248 45.248l-22.656 22.656 45.248 45.248A32 32 0 1 1 647.744 512l-45.248-45.248L557.248 512l45.248 45.248a32 32 0 1 1-45.248 45.248L512 557.248l-45.248 45.248L512 647.744a32 32 0 1 1-45.248 45.248l-45.248-45.248-22.656 22.656a32 32 0 1 1-45.248-45.248l22.656-22.656-45.248-45.248A32 32 0 1 1 376.256 512l45.248 45.248L466.752 512l-45.248-45.248a32 32 0 1 1 45.248-45.248L512 466.752l45.248-45.248L512 376.256a32 32 0 0 1 45.248-45.248z"})]))}}),zl=r_;var Hl=o(e()),O1=o(e()),n_=(0,Hl.defineComponent)({name:"SoldOut",__name:"sold-out",setup(t){return(a,r)=>((0,O1.openBlock)(),(0,O1.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,O1.createElementVNode)("path",{fill:"currentColor",d:"M704 288h131.072a32 32 0 0 1 31.808 28.8L886.4 512h-64.384l-16-160H704v96a32 32 0 1 1-64 0v-96H384v96a32 32 0 0 1-64 0v-96H217.92l-51.2 512H512v64H131.328a32 32 0 0 1-31.808-35.2l57.6-576a32 32 0 0 1 31.808-28.8H320v-22.336C320 154.688 405.504 64 512 64s192 90.688 192 201.664v22.4zm-64 0v-22.336C640 189.248 582.272 128 512 128s-128 61.248-128 137.664v22.4h256zm201.408 476.16a32 32 0 1 1 45.248 45.184l-128 128a32 32 0 0 1-45.248 0l-128-128a32 32 0 1 1 45.248-45.248L704 837.504V608a32 32 0 1 1 64 0v229.504l73.408-73.408z"})]))}}),Ll=n_;var Al=o(e()),G1=o(e()),l_=(0,Al.defineComponent)({name:"SortDown",__name:"sort-down",setup(t){return(a,r)=>((0,G1.openBlock)(),(0,G1.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,G1.createElementVNode)("path",{fill:"currentColor",d:"M576 96v709.568L333.312 562.816A32 32 0 1 0 288 608l297.408 297.344A32 32 0 0 0 640 882.688V96a32 32 0 0 0-64 0"})]))}}),Sl=l_;var ql=o(e()),U1=o(e()),m_=(0,ql.defineComponent)({name:"SortUp",__name:"sort-up",setup(t){return(a,r)=>((0,U1.openBlock)(),(0,U1.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,U1.createElementVNode)("path",{fill:"currentColor",d:"M384 141.248V928a32 32 0 1 0 64 0V218.56l242.688 242.688A32 32 0 1 0 736 416L438.592 118.656A32 32 0 0 0 384 141.248"})]))}}),Fl=m_;var Dl=o(e()),W1=o(e()),c_=(0,Dl.defineComponent)({name:"Sort",__name:"sort",setup(t){return(a,r)=>((0,W1.openBlock)(),(0,W1.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,W1.createElementVNode)("path",{fill:"currentColor",d:"M384 96a32 32 0 0 1 64 0v786.752a32 32 0 0 1-54.592 22.656L95.936 608a32 32 0 0 1 0-45.312h.128a32 32 0 0 1 45.184 0L384 805.632zm192 45.248a32 32 0 0 1 54.592-22.592L928.064 416a32 32 0 0 1 0 45.312h-.128a32 32 0 0 1-45.184 0L640 218.496V928a32 32 0 1 1-64 0z"})]))}}),bl=c_;var yl=o(e()),I1=o(e()),p_=(0,yl.defineComponent)({name:"Stamp",__name:"stamp",setup(t){return(a,r)=>((0,I1.openBlock)(),(0,I1.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,I1.createElementVNode)("path",{fill:"currentColor",d:"M624 475.968V640h144a128 128 0 0 1 128 128H128a128 128 0 0 1 128-128h144V475.968a192 192 0 1 1 224 0M128 896v-64h768v64z"})]))}}),Pl=p_;var Rl=o(e()),K1=o(e()),s_=(0,Rl.defineComponent)({name:"StarFilled",__name:"star-filled",setup(t){return(a,r)=>((0,K1.openBlock)(),(0,K1.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,K1.createElementVNode)("path",{fill:"currentColor",d:"M313.6 924.48a70.4 70.4 0 0 1-74.152-5.365 70.4 70.4 0 0 1-27.992-68.875l37.888-220.928L88.96 472.96a70.4 70.4 0 0 1 3.788-104.225A70.4 70.4 0 0 1 128 352.896l221.76-32.256 99.2-200.96a70.4 70.4 0 0 1 100.246-28.595 70.4 70.4 0 0 1 25.962 28.595l99.2 200.96 221.824 32.256a70.4 70.4 0 0 1 39.04 120.064L774.72 629.376l37.888 220.928a70.4 70.4 0 0 1-102.144 74.24L512 820.096l-198.4 104.32z"})]))}}),Tl=s_;var Ol=o(e()),Q1=o(e()),__=(0,Ol.defineComponent)({name:"Star",__name:"star",setup(t){return(a,r)=>((0,Q1.openBlock)(),(0,Q1.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Q1.createElementVNode)("path",{fill:"currentColor",d:"m512 747.84 228.16 119.936a6.4 6.4 0 0 0 9.28-6.72l-43.52-254.08 184.512-179.904a6.4 6.4 0 0 0-3.52-10.88l-255.104-37.12L517.76 147.904a6.4 6.4 0 0 0-11.52 0L392.192 379.072l-255.104 37.12a6.4 6.4 0 0 0-3.52 10.88L318.08 606.976l-43.584 254.08a6.4 6.4 0 0 0 9.28 6.72zM313.6 924.48a70.4 70.4 0 0 1-102.144-74.24l37.888-220.928L88.96 472.96A70.4 70.4 0 0 1 128 352.896l221.76-32.256 99.2-200.96a70.4 70.4 0 0 1 126.208 0l99.2 200.96 221.824 32.256a70.4 70.4 0 0 1 39.04 120.064L774.72 629.376l37.888 220.928a70.4 70.4 0 0 1-102.144 74.24L512 820.096l-198.4 104.32z"})]))}}),Gl=__;var Ul=o(e()),H2=o(e()),f_=(0,Ul.defineComponent)({name:"Stopwatch",__name:"stopwatch",setup(t){return(a,r)=>((0,H2.openBlock)(),(0,H2.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,H2.createElementVNode)("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),(0,H2.createElementVNode)("path",{fill:"currentColor",d:"M672 234.88c-39.168 174.464-80 298.624-122.688 372.48-64 110.848-202.624 30.848-138.624-80C453.376 453.44 540.48 355.968 672 234.816z"})]))}}),Wl=f_;var Il=o(e()),Z1=o(e()),i_=(0,Il.defineComponent)({name:"SuccessFilled",__name:"success-filled",setup(t){return(a,r)=>((0,Z1.openBlock)(),(0,Z1.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Z1.createElementVNode)("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.27 38.27 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336z"})]))}}),Kl=i_;var Ql=o(e()),j1=o(e()),d_=(0,Ql.defineComponent)({name:"Sugar",__name:"sugar",setup(t){return(a,r)=>((0,j1.openBlock)(),(0,j1.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,j1.createElementVNode)("path",{fill:"currentColor",d:"m801.728 349.184 4.48 4.48a128 128 0 0 1 0 180.992L534.656 806.144a128 128 0 0 1-181.056 0l-4.48-4.48-19.392 109.696a64 64 0 0 1-108.288 34.176L78.464 802.56a64 64 0 0 1 34.176-108.288l109.76-19.328-4.544-4.544a128 128 0 0 1 0-181.056l271.488-271.488a128 128 0 0 1 181.056 0l4.48 4.48 19.392-109.504a64 64 0 0 1 108.352-34.048l142.592 143.04a64 64 0 0 1-34.24 108.16zm-548.8 198.72h447.168v2.24l60.8-60.8a63.8 63.8 0 0 0 18.752-44.416h-426.88l-89.664 89.728a64 64 0 0 0-10.24 13.248zm0 64q4.128 7.104 10.176 13.248l135.744 135.744a64 64 0 0 0 90.496 0L638.4 611.904zm490.048-230.976L625.152 263.104a64 64 0 0 0-90.496 0L416.768 380.928zM123.712 757.312l142.976 142.976 24.32-137.6a25.6 25.6 0 0 0-29.696-29.632zm633.6-633.344-24.32 137.472a25.6 25.6 0 0 0 29.632 29.632l137.28-24.064-142.656-143.04z"})]))}}),Zl=d_;var jl=o(e()),J1=o(e()),u_=(0,jl.defineComponent)({name:"SuitcaseLine",__name:"suitcase-line",setup(t){return(a,r)=>((0,J1.openBlock)(),(0,J1.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",viewBox:"0 0 1024 1024"},[(0,J1.createElementVNode)("path",{fill:"currentColor",d:"M922.5 229.5c-24.32-24.34-54.49-36.84-90.5-37.5H704v-64c-.68-17.98-7.02-32.98-19.01-44.99S658.01 64.66 640 64H384c-17.98.68-32.98 7.02-44.99 19.01S320.66 110 320 128v64H192c-35.99.68-66.16 13.18-90.5 37.5S64.66 283.99 64 320v448c.68 35.99 13.18 66.16 37.5 90.5s54.49 36.84 90.5 37.5h640c35.99-.68 66.16-13.18 90.5-37.5s36.84-54.49 37.5-90.5V320c-.68-35.99-13.18-66.16-37.5-90.5M384 128h256v64H384zM256 832h-64c-17.98-.68-32.98-7.02-44.99-19.01S128.66 786.01 128 768V448h128zm448 0H320V448h384zm192-64c-.68 17.98-7.02 32.98-19.01 44.99S850.01 831.34 832 832h-64V448h128zm0-384H128v-64c.69-17.98 7.02-32.98 19.01-44.99S173.99 256.66 192 256h640c17.98.69 32.98 7.02 44.99 19.01S895.34 301.99 896 320z"})]))}}),Jl=u_;var Xl=o(e()),L2=o(e()),h_=(0,Xl.defineComponent)({name:"Suitcase",__name:"suitcase",setup(t){return(a,r)=>((0,L2.openBlock)(),(0,L2.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,L2.createElementVNode)("path",{fill:"currentColor",d:"M128 384h768v-64a64 64 0 0 0-64-64H192a64 64 0 0 0-64 64zm0 64v320a64 64 0 0 0 64 64h640a64 64 0 0 0 64-64V448zm64-256h640a128 128 0 0 1 128 128v448a128 128 0 0 1-128 128H192A128 128 0 0 1 64 768V320a128 128 0 0 1 128-128"}),(0,L2.createElementVNode)("path",{fill:"currentColor",d:"M384 128v64h256v-64zm0-64h256a64 64 0 0 1 64 64v64a64 64 0 0 1-64 64H384a64 64 0 0 1-64-64v-64a64 64 0 0 1 64-64"})]))}}),Yl=h_;var $l=o(e()),X1=o(e()),v_=(0,$l.defineComponent)({name:"Sunny",__name:"sunny",setup(t){return(a,r)=>((0,X1.openBlock)(),(0,X1.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,X1.createElementVNode)("path",{fill:"currentColor",d:"M512 704a192 192 0 1 0 0-384 192 192 0 0 0 0 384m0 64a256 256 0 1 1 0-512 256 256 0 0 1 0 512m0-704a32 32 0 0 1 32 32v64a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32m0 768a32 32 0 0 1 32 32v64a32 32 0 1 1-64 0v-64a32 32 0 0 1 32-32M195.2 195.2a32 32 0 0 1 45.248 0l45.248 45.248a32 32 0 1 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248m543.104 543.104a32 32 0 0 1 45.248 0l45.248 45.248a32 32 0 0 1-45.248 45.248l-45.248-45.248a32 32 0 0 1 0-45.248M64 512a32 32 0 0 1 32-32h64a32 32 0 0 1 0 64H96a32 32 0 0 1-32-32m768 0a32 32 0 0 1 32-32h64a32 32 0 1 1 0 64h-64a32 32 0 0 1-32-32M195.2 828.8a32 32 0 0 1 0-45.248l45.248-45.248a32 32 0 0 1 45.248 45.248L240.448 828.8a32 32 0 0 1-45.248 0m543.104-543.104a32 32 0 0 1 0-45.248l45.248-45.248a32 32 0 0 1 45.248 45.248l-45.248 45.248a32 32 0 0 1-45.248 0"})]))}}),em=v_;var om=o(e()),Y1=o(e()),w_=(0,om.defineComponent)({name:"Sunrise",__name:"sunrise",setup(t){return(a,r)=>((0,Y1.openBlock)(),(0,Y1.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Y1.createElementVNode)("path",{fill:"currentColor",d:"M32 768h960a32 32 0 1 1 0 64H32a32 32 0 1 1 0-64m129.408-96a352 352 0 0 1 701.184 0h-64.32a288 288 0 0 0-572.544 0zM512 128a32 32 0 0 1 32 32v96a32 32 0 0 1-64 0v-96a32 32 0 0 1 32-32m407.296 168.704a32 32 0 0 1 0 45.248l-67.84 67.84a32 32 0 1 1-45.248-45.248l67.84-67.84a32 32 0 0 1 45.248 0m-814.592 0a32 32 0 0 1 45.248 0l67.84 67.84a32 32 0 1 1-45.248 45.248l-67.84-67.84a32 32 0 0 1 0-45.248"})]))}}),tm=w_;var am=o(e()),$1=o(e()),B_=(0,am.defineComponent)({name:"Sunset",__name:"sunset",setup(t){return(a,r)=>((0,$1.openBlock)(),(0,$1.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,$1.createElementVNode)("path",{fill:"currentColor",d:"M82.56 640a448 448 0 1 1 858.88 0h-67.2a384 384 0 1 0-724.288 0zM32 704h960q32 0 32 32t-32 32H32q-32 0-32-32t32-32m256 128h448q32 0 32 32t-32 32H288q-32 0-32-32t32-32"})]))}}),rm=B_;var nm=o(e()),A2=o(e()),x_=(0,nm.defineComponent)({name:"SwitchButton",__name:"switch-button",setup(t){return(a,r)=>((0,A2.openBlock)(),(0,A2.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,A2.createElementVNode)("path",{fill:"currentColor",d:"M352 159.872V230.4a352 352 0 1 0 320 0v-70.528A416.128 416.128 0 0 1 512 960a416 416 0 0 1-160-800.128"}),(0,A2.createElementVNode)("path",{fill:"currentColor",d:"M512 64q32 0 32 32v320q0 32-32 32t-32-32V96q0-32 32-32"})]))}}),lm=x_;var mm=o(e()),S2=o(e()),k_=(0,mm.defineComponent)({name:"SwitchFilled",__name:"switch-filled",setup(t){return(a,r)=>((0,S2.openBlock)(),(0,S2.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",viewBox:"0 0 1024 1024"},[(0,S2.createElementVNode)("path",{fill:"currentColor",d:"M247.47 358.4v.04c.07 19.17 7.72 37.53 21.27 51.09s31.92 21.2 51.09 21.27c39.86 0 72.41-32.6 72.41-72.4s-32.6-72.36-72.41-72.36-72.36 32.55-72.36 72.36"}),(0,S2.createElementVNode)("path",{fill:"currentColor",d:"M492.38 128H324.7c-52.16 0-102.19 20.73-139.08 57.61a196.66 196.66 0 0 0-57.61 139.08V698.7c-.01 25.84 5.08 51.42 14.96 75.29s24.36 45.56 42.63 63.83 39.95 32.76 63.82 42.65a196.7 196.7 0 0 0 75.28 14.98h167.68c3.03 0 5.46-2.43 5.46-5.42V133.42c.6-2.99-1.83-5.42-5.46-5.42m-56.11 705.88H324.7c-17.76.13-35.36-3.33-51.75-10.18s-31.22-16.94-43.61-29.67c-25.3-25.35-39.81-59.1-39.81-95.32V324.69c-.13-17.75 3.33-35.35 10.17-51.74a131.7 131.7 0 0 1 29.64-43.62c25.39-25.3 59.14-39.81 95.36-39.81h111.57zm402.12-647.67a196.66 196.66 0 0 0-139.08-57.61H580.48c-3.03 0-4.82 2.43-4.82 4.82v757.16c-.6 2.99 1.79 5.42 5.42 5.42h118.23a196.7 196.7 0 0 0 139.08-57.61A196.66 196.66 0 0 0 896 699.31V325.29a196.7 196.7 0 0 0-57.61-139.08m-111.3 441.92c-42.83 0-77.82-34.99-77.82-77.82s34.98-77.82 77.82-77.82c42.83 0 77.82 34.99 77.82 77.82s-34.99 77.82-77.82 77.82"})]))}}),cm=k_;var pm=o(e()),e4=o(e()),C_=(0,pm.defineComponent)({name:"Switch",__name:"switch",setup(t){return(a,r)=>((0,e4.openBlock)(),(0,e4.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,e4.createElementVNode)("path",{fill:"currentColor",d:"M118.656 438.656a32 32 0 0 1 0-45.248L416 96l4.48-3.776A32 32 0 0 1 461.248 96l3.712 4.48a32.064 32.064 0 0 1-3.712 40.832L218.56 384H928a32 32 0 1 1 0 64H141.248a32 32 0 0 1-22.592-9.344M64 608a32 32 0 0 1 32-32h786.752a32 32 0 0 1 22.656 54.592L608 928l-4.48 3.776a32.064 32.064 0 0 1-40.832-49.024L805.632 640H96a32 32 0 0 1-32-32"})]))}}),sm=C_;var _m=o(e()),o4=o(e()),E_=(0,_m.defineComponent)({name:"TakeawayBox",__name:"takeaway-box",setup(t){return(a,r)=>((0,o4.openBlock)(),(0,o4.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,o4.createElementVNode)("path",{fill:"currentColor",d:"M832 384H192v448h640zM96 320h832V128H96zm800 64v480a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V384H64a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32h896a32 32 0 0 1 32 32v256a32 32 0 0 1-32 32zM416 512h192a32 32 0 0 1 0 64H416a32 32 0 0 1 0-64"})]))}}),fm=E_;var im=o(e()),t4=o(e()),V_=(0,im.defineComponent)({name:"Ticket",__name:"ticket",setup(t){return(a,r)=>((0,t4.openBlock)(),(0,t4.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,t4.createElementVNode)("path",{fill:"currentColor",d:"M640 832H64V640a128 128 0 1 0 0-256V192h576v160h64V192h256v192a128 128 0 1 0 0 256v192H704V672h-64zm0-416v192h64V416z"})]))}}),dm=V_;var um=o(e()),a4=o(e()),g_=(0,um.defineComponent)({name:"Tickets",__name:"tickets",setup(t){return(a,r)=>((0,a4.openBlock)(),(0,a4.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,a4.createElementVNode)("path",{fill:"currentColor",d:"M192 128v768h640V128zm-32-64h704a32 32 0 0 1 32 32v832a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m160 448h384v64H320zm0-192h192v64H320zm0 384h384v64H320z"})]))}}),hm=g_;var vm=o(e()),N=o(e()),M_=(0,vm.defineComponent)({name:"Timer",__name:"timer",setup(t){return(a,r)=>((0,N.openBlock)(),(0,N.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,N.createElementVNode)("path",{fill:"currentColor",d:"M512 896a320 320 0 1 0 0-640 320 320 0 0 0 0 640m0 64a384 384 0 1 1 0-768 384 384 0 0 1 0 768"}),(0,N.createElementVNode)("path",{fill:"currentColor",d:"M512 320a32 32 0 0 1 32 32l-.512 224a32 32 0 1 1-64 0L480 352a32 32 0 0 1 32-32"}),(0,N.createElementVNode)("path",{fill:"currentColor",d:"M448 576a64 64 0 1 0 128 0 64 64 0 1 0-128 0m96-448v128h-64V128h-96a32 32 0 0 1 0-64h256a32 32 0 1 1 0 64z"})]))}}),wm=M_;var Bm=o(e()),q2=o(e()),N_=(0,Bm.defineComponent)({name:"ToiletPaper",__name:"toilet-paper",setup(t){return(a,r)=>((0,q2.openBlock)(),(0,q2.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,q2.createElementVNode)("path",{fill:"currentColor",d:"M595.2 128H320a192 192 0 0 0-192 192v576h384V352c0-90.496 32.448-171.2 83.2-224M736 64c123.712 0 224 128.96 224 288S859.712 640 736 640H576v320H64V320A256 256 0 0 1 320 64zM576 352v224h160c84.352 0 160-97.28 160-224s-75.648-224-160-224-160 97.28-160 224"}),(0,q2.createElementVNode)("path",{fill:"currentColor",d:"M736 448c-35.328 0-64-43.008-64-96s28.672-96 64-96 64 43.008 64 96-28.672 96-64 96"})]))}}),xm=N_;var km=o(e()),r4=o(e()),z_=(0,km.defineComponent)({name:"Tools",__name:"tools",setup(t){return(a,r)=>((0,r4.openBlock)(),(0,r4.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,r4.createElementVNode)("path",{fill:"currentColor",d:"M764.416 254.72a351.7 351.7 0 0 1 86.336 149.184H960v192.064H850.752a351.7 351.7 0 0 1-86.336 149.312l54.72 94.72-166.272 96-54.592-94.72a352.64 352.64 0 0 1-172.48 0L371.136 936l-166.272-96 54.72-94.72a351.7 351.7 0 0 1-86.336-149.312H64v-192h109.248a351.7 351.7 0 0 1 86.336-149.312L204.8 160l166.208-96h.192l54.656 94.592a352.64 352.64 0 0 1 172.48 0L652.8 64h.128L819.2 160l-54.72 94.72zM704 499.968a192 192 0 1 0-384 0 192 192 0 0 0 384 0"})]))}}),Cm=z_;var Em=o(e()),F2=o(e()),H_=(0,Em.defineComponent)({name:"TopLeft",__name:"top-left",setup(t){return(a,r)=>((0,F2.openBlock)(),(0,F2.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,F2.createElementVNode)("path",{fill:"currentColor",d:"M256 256h416a32 32 0 1 0 0-64H224a32 32 0 0 0-32 32v448a32 32 0 0 0 64 0z"}),(0,F2.createElementVNode)("path",{fill:"currentColor",d:"M246.656 201.344a32 32 0 0 0-45.312 45.312l544 544a32 32 0 0 0 45.312-45.312z"})]))}}),Vm=H_;var gm=o(e()),D2=o(e()),L_=(0,gm.defineComponent)({name:"TopRight",__name:"top-right",setup(t){return(a,r)=>((0,D2.openBlock)(),(0,D2.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,D2.createElementVNode)("path",{fill:"currentColor",d:"M768 256H353.6a32 32 0 1 1 0-64H800a32 32 0 0 1 32 32v448a32 32 0 0 1-64 0z"}),(0,D2.createElementVNode)("path",{fill:"currentColor",d:"M777.344 201.344a32 32 0 0 1 45.312 45.312l-544 544a32 32 0 0 1-45.312-45.312z"})]))}}),Mm=L_;var Nm=o(e()),n4=o(e()),A_=(0,Nm.defineComponent)({name:"Top",__name:"top",setup(t){return(a,r)=>((0,n4.openBlock)(),(0,n4.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,n4.createElementVNode)("path",{fill:"currentColor",d:"M572.235 205.282v600.365a30.118 30.118 0 1 1-60.235 0V205.282L292.382 438.633a28.913 28.913 0 0 1-42.646 0 33.43 33.43 0 0 1 0-45.236l271.058-288.045a28.913 28.913 0 0 1 42.647 0L834.5 393.397a33.43 33.43 0 0 1 0 45.176 28.913 28.913 0 0 1-42.647 0l-219.618-233.23z"})]))}}),zm=A_;var Hm=o(e()),l4=o(e()),S_=(0,Hm.defineComponent)({name:"TrendCharts",__name:"trend-charts",setup(t){return(a,r)=>((0,l4.openBlock)(),(0,l4.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,l4.createElementVNode)("path",{fill:"currentColor",d:"M128 896V128h768v768zm291.712-327.296 128 102.4 180.16-201.792-47.744-42.624-139.84 156.608-128-102.4-180.16 201.792 47.744 42.624zM816 352a48 48 0 1 0-96 0 48 48 0 0 0 96 0"})]))}}),Lm=S_;var Am=o(e()),m4=o(e()),q_=(0,Am.defineComponent)({name:"TrophyBase",__name:"trophy-base",setup(t){return(a,r)=>((0,m4.openBlock)(),(0,m4.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",viewBox:"0 0 1024 1024"},[(0,m4.createElementVNode)("path",{fill:"currentColor",d:"M918.4 201.6c-6.4-6.4-12.8-9.6-22.4-9.6H768V96c0-9.6-3.2-16-9.6-22.4S745.6 64 736 64H288c-9.6 0-16 3.2-22.4 9.6S256 86.4 256 96v96H128c-9.6 0-16 3.2-22.4 9.6S96 217.6 96 224c3.2 108.8 25.6 185.6 64 224 34.4 34.4 77.56 55.65 127.65 61.99 10.91 20.44 24.78 39.25 41.95 56.41 40.86 40.86 91 65.47 150.4 71.9V768h-96c-9.6 0-16 3.2-22.4 9.6S352 790.4 352 800s3.2 16 9.6 22.4 12.8 9.6 22.4 9.6h256c9.6 0 16-3.2 22.4-9.6s9.6-12.8 9.6-22.4-3.2-16-9.6-22.4-12.8-9.6-22.4-9.6h-96V637.26c59.4-7.71 109.54-30.01 150.4-70.86 17.2-17.2 31.51-36.06 42.81-56.55 48.93-6.51 90.02-27.7 126.79-61.85 38.4-38.4 60.8-112 64-224 0-6.4-3.2-16-9.6-22.4M256 438.4c-19.2-6.4-35.2-19.2-51.2-35.2-22.4-22.4-35.2-70.4-41.6-147.2H256zm390.4 80C608 553.6 566.4 576 512 576s-99.2-19.2-134.4-57.6S320 438.4 320 384V128h384v256q0 81.6-57.6 134.4m172.8-115.2c-16 16-32 25.6-51.2 35.2V256h92.8c-6.4 76.8-19.2 124.8-41.6 147.2M768 896H256c-9.6 0-16 3.2-22.4 9.6S224 918.4 224 928s3.2 16 9.6 22.4 12.8 9.6 22.4 9.6h512c9.6 0 16-3.2 22.4-9.6s9.6-12.8 9.6-22.4-3.2-16-9.6-22.4-12.8-9.6-22.4-9.6"})]))}}),Sm=q_;var qm=o(e()),c4=o(e()),F_=(0,qm.defineComponent)({name:"Trophy",__name:"trophy",setup(t){return(a,r)=>((0,c4.openBlock)(),(0,c4.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,c4.createElementVNode)("path",{fill:"currentColor",d:"M480 896V702.08A256.26 256.26 0 0 1 264.064 512h-32.64a96 96 0 0 1-91.968-68.416L93.632 290.88a76.8 76.8 0 0 1 73.6-98.88H256V96a32 32 0 0 1 32-32h448a32 32 0 0 1 32 32v96h88.768a76.8 76.8 0 0 1 73.6 98.88L884.48 443.52A96 96 0 0 1 792.576 512h-32.64A256.26 256.26 0 0 1 544 702.08V896h128a32 32 0 1 1 0 64H352a32 32 0 1 1 0-64zm224-448V128H320v320a192 192 0 1 0 384 0m64 0h24.576a32 32 0 0 0 30.656-22.784l45.824-152.768A12.8 12.8 0 0 0 856.768 256H768zm-512 0V256h-88.768a12.8 12.8 0 0 0-12.288 16.448l45.824 152.768A32 32 0 0 0 231.424 448z"})]))}}),Fm=F_;var Dm=o(e()),b2=o(e()),D_=(0,Dm.defineComponent)({name:"TurnOff",__name:"turn-off",setup(t){return(a,r)=>((0,b2.openBlock)(),(0,b2.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,b2.createElementVNode)("path",{fill:"currentColor",d:"M329.956 257.138a254.862 254.862 0 0 0 0 509.724h364.088a254.862 254.862 0 0 0 0-509.724zm0-72.818h364.088a327.68 327.68 0 1 1 0 655.36H329.956a327.68 327.68 0 1 1 0-655.36"}),(0,b2.createElementVNode)("path",{fill:"currentColor",d:"M329.956 621.227a109.227 109.227 0 1 0 0-218.454 109.227 109.227 0 0 0 0 218.454m0 72.817a182.044 182.044 0 1 1 0-364.088 182.044 182.044 0 0 1 0 364.088"})]))}}),bm=D_;var ym=o(e()),p4=o(e()),b_=(0,ym.defineComponent)({name:"Umbrella",__name:"umbrella",setup(t){return(a,r)=>((0,p4.openBlock)(),(0,p4.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,p4.createElementVNode)("path",{fill:"currentColor",d:"M320 768a32 32 0 1 1 64 0 64 64 0 0 0 128 0V512H64a448 448 0 1 1 896 0H576v256a128 128 0 1 1-256 0m570.688-320a384.128 384.128 0 0 0-757.376 0z"})]))}}),Pm=b_;var Rm=o(e()),y2=o(e()),y_=(0,Rm.defineComponent)({name:"Unlock",__name:"unlock",setup(t){return(a,r)=>((0,y2.openBlock)(),(0,y2.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,y2.createElementVNode)("path",{fill:"currentColor",d:"M224 448a32 32 0 0 0-32 32v384a32 32 0 0 0 32 32h576a32 32 0 0 0 32-32V480a32 32 0 0 0-32-32zm0-64h576a96 96 0 0 1 96 96v384a96 96 0 0 1-96 96H224a96 96 0 0 1-96-96V480a96 96 0 0 1 96-96"}),(0,y2.createElementVNode)("path",{fill:"currentColor",d:"M512 544a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V576a32 32 0 0 1 32-32m178.304-295.296A192.064 192.064 0 0 0 320 320v64h352l96 38.4V448H256V320a256 256 0 0 1 493.76-95.104z"})]))}}),Tm=y_;var Om=o(e()),s4=o(e()),P_=(0,Om.defineComponent)({name:"UploadFilled",__name:"upload-filled",setup(t){return(a,r)=>((0,s4.openBlock)(),(0,s4.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,s4.createElementVNode)("path",{fill:"currentColor",d:"M544 864V672h128L512 480 352 672h128v192H320v-1.6c-5.376.32-10.496 1.6-16 1.6A240 240 0 0 1 64 624c0-123.136 93.12-223.488 212.608-237.248A239.81 239.81 0 0 1 512 192a239.87 239.87 0 0 1 235.456 194.752c119.488 13.76 212.48 114.112 212.48 237.248a240 240 0 0 1-240 240c-5.376 0-10.56-1.28-16-1.6v1.6z"})]))}}),Gm=P_;var Um=o(e()),_4=o(e()),R_=(0,Um.defineComponent)({name:"Upload",__name:"upload",setup(t){return(a,r)=>((0,_4.openBlock)(),(0,_4.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,_4.createElementVNode)("path",{fill:"currentColor",d:"M160 832h704a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64m384-578.304V704h-64V247.296L237.248 490.048 192 444.8 508.8 128l316.8 316.8-45.312 45.248z"})]))}}),Wm=R_;var Im=o(e()),f4=o(e()),T_=(0,Im.defineComponent)({name:"UserFilled",__name:"user-filled",setup(t){return(a,r)=>((0,f4.openBlock)(),(0,f4.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,f4.createElementVNode)("path",{fill:"currentColor",d:"M288 320a224 224 0 1 0 448 0 224 224 0 1 0-448 0m544 608H160a32 32 0 0 1-32-32v-96a160 160 0 0 1 160-160h448a160 160 0 0 1 160 160v96a32 32 0 0 1-32 32z"})]))}}),Km=T_;var Qm=o(e()),i4=o(e()),O_=(0,Qm.defineComponent)({name:"User",__name:"user",setup(t){return(a,r)=>((0,i4.openBlock)(),(0,i4.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,i4.createElementVNode)("path",{fill:"currentColor",d:"M512 512a192 192 0 1 0 0-384 192 192 0 0 0 0 384m0 64a256 256 0 1 1 0-512 256 256 0 0 1 0 512m320 320v-96a96 96 0 0 0-96-96H288a96 96 0 0 0-96 96v96a32 32 0 1 1-64 0v-96a160 160 0 0 1 160-160h448a160 160 0 0 1 160 160v96a32 32 0 1 1-64 0"})]))}}),Zm=O_;var jm=o(e()),d4=o(e()),G_=(0,jm.defineComponent)({name:"Van",__name:"van",setup(t){return(a,r)=>((0,d4.openBlock)(),(0,d4.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,d4.createElementVNode)("path",{fill:"currentColor",d:"M128.896 736H96a32 32 0 0 1-32-32V224a32 32 0 0 1 32-32h576a32 32 0 0 1 32 32v96h164.544a32 32 0 0 1 31.616 27.136l54.144 352A32 32 0 0 1 922.688 736h-91.52a144 144 0 1 1-286.272 0H415.104a144 144 0 1 1-286.272 0zm23.36-64a143.872 143.872 0 0 1 239.488 0H568.32c17.088-25.6 42.24-45.376 71.744-55.808V256H128v416zm655.488 0h77.632l-19.648-128H704v64.896A144 144 0 0 1 807.744 672m48.128-192-14.72-96H704v96zM688 832a80 80 0 1 0 0-160 80 80 0 0 0 0 160m-416 0a80 80 0 1 0 0-160 80 80 0 0 0 0 160"})]))}}),Jm=G_;var Xm=o(e()),u4=o(e()),U_=(0,Xm.defineComponent)({name:"VideoCameraFilled",__name:"video-camera-filled",setup(t){return(a,r)=>((0,u4.openBlock)(),(0,u4.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,u4.createElementVNode)("path",{fill:"currentColor",d:"m768 576 192-64v320l-192-64v96a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V480a32 32 0 0 1 32-32h640a32 32 0 0 1 32 32zM192 768v64h384v-64zm192-480a160 160 0 0 1 320 0 160 160 0 0 1-320 0m64 0a96 96 0 1 0 192.064-.064A96 96 0 0 0 448 288m-320 32a128 128 0 1 1 256.064.064A128 128 0 0 1 128 320m64 0a64 64 0 1 0 128 0 64 64 0 0 0-128 0"})]))}}),Ym=U_;var $m=o(e()),h4=o(e()),W_=(0,$m.defineComponent)({name:"VideoCamera",__name:"video-camera",setup(t){return(a,r)=>((0,h4.openBlock)(),(0,h4.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,h4.createElementVNode)("path",{fill:"currentColor",d:"M704 768V256H128v512zm64-416 192-96v512l-192-96v128a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V224a32 32 0 0 1 32-32h640a32 32 0 0 1 32 32zm0 71.552v176.896l128 64V359.552zM192 320h192v64H192z"})]))}}),ec=W_;var oc=o(e()),v4=o(e()),I_=(0,oc.defineComponent)({name:"VideoPause",__name:"video-pause",setup(t){return(a,r)=>((0,v4.openBlock)(),(0,v4.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,v4.createElementVNode)("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 832a384 384 0 0 0 0-768 384 384 0 0 0 0 768m-96-544q32 0 32 32v256q0 32-32 32t-32-32V384q0-32 32-32m192 0q32 0 32 32v256q0 32-32 32t-32-32V384q0-32 32-32"})]))}}),tc=I_;var ac=o(e()),w4=o(e()),K_=(0,ac.defineComponent)({name:"VideoPlay",__name:"video-play",setup(t){return(a,r)=>((0,w4.openBlock)(),(0,w4.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,w4.createElementVNode)("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 832a384 384 0 0 0 0-768 384 384 0 0 0 0 768m-48-247.616L668.608 512 464 375.616zm10.624-342.656 249.472 166.336a48 48 0 0 1 0 79.872L474.624 718.272A48 48 0 0 1 400 678.336V345.6a48 48 0 0 1 74.624-39.936z"})]))}}),rc=K_;var nc=o(e()),B4=o(e()),Q_=(0,nc.defineComponent)({name:"View",__name:"view",setup(t){return(a,r)=>((0,B4.openBlock)(),(0,B4.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,B4.createElementVNode)("path",{fill:"currentColor",d:"M512 160c320 0 512 352 512 352S832 864 512 864 0 512 0 512s192-352 512-352m0 64c-225.28 0-384.128 208.064-436.8 288 52.608 79.872 211.456 288 436.8 288 225.28 0 384.128-208.064 436.8-288-52.608-79.872-211.456-288-436.8-288m0 64a224 224 0 1 1 0 448 224 224 0 0 1 0-448m0 64a160.19 160.19 0 0 0-160 160c0 88.192 71.744 160 160 160s160-71.808 160-160-71.744-160-160-160"})]))}}),lc=Q_;var mc=o(e()),x4=o(e()),Z_=(0,mc.defineComponent)({name:"WalletFilled",__name:"wallet-filled",setup(t){return(a,r)=>((0,x4.openBlock)(),(0,x4.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,x4.createElementVNode)("path",{fill:"currentColor",d:"M688 512a112 112 0 1 0 0 224h208v160H128V352h768v160zm32 160h-32a48 48 0 0 1 0-96h32a48 48 0 0 1 0 96m-80-544 128 160H384z"})]))}}),cc=Z_;var pc=o(e()),z=o(e()),j_=(0,pc.defineComponent)({name:"Wallet",__name:"wallet",setup(t){return(a,r)=>((0,z.openBlock)(),(0,z.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,z.createElementVNode)("path",{fill:"currentColor",d:"M640 288h-64V128H128v704h384v32a32 32 0 0 0 32 32H96a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32h512a32 32 0 0 1 32 32z"}),(0,z.createElementVNode)("path",{fill:"currentColor",d:"M128 320v512h768V320zm-32-64h832a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V288a32 32 0 0 1 32-32"}),(0,z.createElementVNode)("path",{fill:"currentColor",d:"M704 640a64 64 0 1 1 0-128 64 64 0 0 1 0 128"})]))}}),sc=j_;var _c=o(e()),k4=o(e()),J_=(0,_c.defineComponent)({name:"WarnTriangleFilled",__name:"warn-triangle-filled",setup(t){return(a,r)=>((0,k4.openBlock)(),(0,k4.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",viewBox:"0 0 1024 1024"},[(0,k4.createElementVNode)("path",{fill:"currentColor",d:"M928.99 755.83 574.6 203.25c-12.89-20.16-36.76-32.58-62.6-32.58s-49.71 12.43-62.6 32.58L95.01 755.83c-12.91 20.12-12.9 44.91.01 65.03 12.92 20.12 36.78 32.51 62.59 32.49h708.78c25.82.01 49.68-12.37 62.59-32.49s12.92-44.91.01-65.03M554.67 768h-85.33v-85.33h85.33zm0-426.67v298.66h-85.33V341.32z"})]))}}),fc=J_;var ic=o(e()),C4=o(e()),X_=(0,ic.defineComponent)({name:"WarningFilled",__name:"warning-filled",setup(t){return(a,r)=>((0,C4.openBlock)(),(0,C4.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,C4.createElementVNode)("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 192a58.43 58.43 0 0 0-58.24 63.744l23.36 256.384a35.072 35.072 0 0 0 69.76 0l23.296-256.384A58.43 58.43 0 0 0 512 256m0 512a51.2 51.2 0 1 0 0-102.4 51.2 51.2 0 0 0 0 102.4"})]))}}),dc=X_;var uc=o(e()),E4=o(e()),Y_=(0,uc.defineComponent)({name:"Warning",__name:"warning",setup(t){return(a,r)=>((0,E4.openBlock)(),(0,E4.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,E4.createElementVNode)("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 832a384 384 0 0 0 0-768 384 384 0 0 0 0 768m48-176a48 48 0 1 1-96 0 48 48 0 0 1 96 0m-48-464a32 32 0 0 1 32 32v288a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32"})]))}}),hc=Y_;var vc=o(e()),H=o(e()),$_=(0,vc.defineComponent)({name:"Watch",__name:"watch",setup(t){return(a,r)=>((0,H.openBlock)(),(0,H.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,H.createElementVNode)("path",{fill:"currentColor",d:"M512 768a256 256 0 1 0 0-512 256 256 0 0 0 0 512m0 64a320 320 0 1 1 0-640 320 320 0 0 1 0 640"}),(0,H.createElementVNode)("path",{fill:"currentColor",d:"M480 352a32 32 0 0 1 32 32v160a32 32 0 0 1-64 0V384a32 32 0 0 1 32-32"}),(0,H.createElementVNode)("path",{fill:"currentColor",d:"M480 512h128q32 0 32 32t-32 32H480q-32 0-32-32t32-32m128-256V128H416v128h-64V64h320v192zM416 768v128h192V768h64v192H352V768z"})]))}}),wc=$_;var Bc=o(e()),V4=o(e()),e7=(0,Bc.defineComponent)({name:"Watermelon",__name:"watermelon",setup(t){return(a,r)=>((0,V4.openBlock)(),(0,V4.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,V4.createElementVNode)("path",{fill:"currentColor",d:"m683.072 600.32-43.648 162.816-61.824-16.512 53.248-198.528L576 493.248l-158.4 158.4-45.248-45.248 158.4-158.4-55.616-55.616-198.528 53.248-16.512-61.824 162.816-43.648L282.752 200A384 384 0 0 0 824 741.248zm231.552 141.056a448 448 0 1 1-632-632z"})]))}}),xc=e7;var kc=o(e()),g4=o(e()),o7=(0,kc.defineComponent)({name:"WindPower",__name:"wind-power",setup(t){return(a,r)=>((0,g4.openBlock)(),(0,g4.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,g4.createElementVNode)("path",{fill:"currentColor",d:"M160 64q32 0 32 32v832q0 32-32 32t-32-32V96q0-32 32-32m416 354.624 128-11.584V168.96l-128-11.52v261.12zm-64 5.824V151.552L320 134.08V160h-64V64l616.704 56.064A96 96 0 0 1 960 215.68v144.64a96 96 0 0 1-87.296 95.616L256 512V224h64v217.92zm256-23.232 98.88-8.96A32 32 0 0 0 896 360.32V215.68a32 32 0 0 0-29.12-31.872l-98.88-8.96z"})]))}}),Cc=o7;var Ec=o(e()),M4=o(e()),t7=(0,Ec.defineComponent)({name:"ZoomIn",__name:"zoom-in",setup(t){return(a,r)=>((0,M4.openBlock)(),(0,M4.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,M4.createElementVNode)("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704m-32-384v-96a32 32 0 0 1 64 0v96h96a32 32 0 0 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64z"})]))}}),Vc=t7;var gc=o(e()),N4=o(e()),a7=(0,gc.defineComponent)({name:"ZoomOut",__name:"zoom-out",setup(t){return(a,r)=>((0,N4.openBlock)(),(0,N4.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,N4.createElementVNode)("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704M352 448h256a32 32 0 0 1 0 64H352a32 32 0 0 1 0-64"})]))}}),Mc=a7;return Fc(r7);})(); diff --git a/www/static/lib/element-plus/index.css b/www/static/lib/element-plus/index.css new file mode 100644 index 0000000..6cdc48a --- /dev/null +++ b/www/static/lib/element-plus/index.css @@ -0,0 +1 @@ +@charset "UTF-8";:root{--el-color-white:#ffffff;--el-color-black:#000000;--el-color-primary-rgb:64,158,255;--el-color-success-rgb:103,194,58;--el-color-warning-rgb:230,162,60;--el-color-danger-rgb:245,108,108;--el-color-error-rgb:245,108,108;--el-color-info-rgb:144,147,153;--el-font-size-extra-large:20px;--el-font-size-large:18px;--el-font-size-medium:16px;--el-font-size-base:14px;--el-font-size-small:13px;--el-font-size-extra-small:12px;--el-font-family:"Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","微软雅黑",Arial,sans-serif;--el-font-weight-primary:500;--el-font-line-height-primary:24px;--el-index-normal:1;--el-index-top:1000;--el-index-popper:2000;--el-border-radius-base:4px;--el-border-radius-small:2px;--el-border-radius-round:20px;--el-border-radius-circle:100%;--el-transition-duration:0.3s;--el-transition-duration-fast:0.2s;--el-transition-function-ease-in-out-bezier:cubic-bezier(0.645,0.045,0.355,1);--el-transition-function-fast-bezier:cubic-bezier(0.23,1,0.32,1);--el-transition-all:all var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier);--el-transition-fade:opacity var(--el-transition-duration) var(--el-transition-function-fast-bezier);--el-transition-md-fade:transform var(--el-transition-duration) var(--el-transition-function-fast-bezier),opacity var(--el-transition-duration) var(--el-transition-function-fast-bezier);--el-transition-fade-linear:opacity var(--el-transition-duration-fast) linear;--el-transition-border:border-color var(--el-transition-duration-fast) var(--el-transition-function-ease-in-out-bezier);--el-transition-box-shadow:box-shadow var(--el-transition-duration-fast) var(--el-transition-function-ease-in-out-bezier);--el-transition-color:color var(--el-transition-duration-fast) var(--el-transition-function-ease-in-out-bezier);--el-component-size-large:40px;--el-component-size:32px;--el-component-size-small:24px;color-scheme:light;--el-color-primary:#409eff;--el-color-primary-light-3:rgb(121,187,255);--el-color-primary-light-5:rgb(160,207,255);--el-color-primary-light-7:rgb(198,226,255);--el-color-primary-light-8:rgb(217,236,255);--el-color-primary-light-9:rgb(236,245,255);--el-color-primary-dark-2:rgb(51,126,204);--el-color-success:#67c23a;--el-color-success-light-3:rgb(149,212,117);--el-color-success-light-5:rgb(179,225,157);--el-color-success-light-7:rgb(209,237,196);--el-color-success-light-8:rgb(225,243,216);--el-color-success-light-9:rgb(240,249,235);--el-color-success-dark-2:rgb(82,155,46);--el-color-warning:#e6a23c;--el-color-warning-light-3:rgb(238,190,119);--el-color-warning-light-5:rgb(243,209,158);--el-color-warning-light-7:rgb(248,227,197);--el-color-warning-light-8:rgb(250,236,216);--el-color-warning-light-9:rgb(253,246,236);--el-color-warning-dark-2:rgb(184,130,48);--el-color-danger:#f56c6c;--el-color-danger-light-3:rgb(248,152,152);--el-color-danger-light-5:rgb(250,182,182);--el-color-danger-light-7:rgb(252,211,211);--el-color-danger-light-8:rgb(253,226,226);--el-color-danger-light-9:rgb(254,240,240);--el-color-danger-dark-2:rgb(196,86,86);--el-color-error:#f56c6c;--el-color-error-light-3:rgb(248,152,152);--el-color-error-light-5:rgb(250,182,182);--el-color-error-light-7:rgb(252,211,211);--el-color-error-light-8:rgb(253,226,226);--el-color-error-light-9:rgb(254,240,240);--el-color-error-dark-2:rgb(196,86,86);--el-color-info:#909399;--el-color-info-light-3:rgb(177,179,184);--el-color-info-light-5:rgb(200,201,204);--el-color-info-light-7:rgb(222,223,224);--el-color-info-light-8:rgb(233,233,235);--el-color-info-light-9:rgb(244,244,245);--el-color-info-dark-2:rgb(115,118,122);--el-bg-color:#ffffff;--el-bg-color-page:#f2f3f5;--el-bg-color-overlay:#ffffff;--el-text-color-primary:#303133;--el-text-color-regular:#606266;--el-text-color-secondary:#909399;--el-text-color-placeholder:#a8abb2;--el-text-color-disabled:#c0c4cc;--el-border-color:#dcdfe6;--el-border-color-light:#e4e7ed;--el-border-color-lighter:#ebeef5;--el-border-color-extra-light:#f2f6fc;--el-border-color-dark:#d4d7de;--el-border-color-darker:#cdd0d6;--el-fill-color:#f0f2f5;--el-fill-color-light:#f5f7fa;--el-fill-color-lighter:#fafafa;--el-fill-color-extra-light:#fafcff;--el-fill-color-dark:#ebedf0;--el-fill-color-darker:#e6e8eb;--el-fill-color-blank:#ffffff;--el-box-shadow:0px 12px 32px 4px rgba(0,0,0,0.04),0px 8px 20px rgba(0,0,0,0.08);--el-box-shadow-light:0px 0px 12px rgba(0,0,0,0.12);--el-box-shadow-lighter:0px 0px 6px rgba(0,0,0,0.12);--el-box-shadow-dark:0px 16px 48px 16px rgba(0,0,0,0.08),0px 12px 32px rgba(0,0,0,0.12),0px 8px 16px -8px rgba(0,0,0,0.16);--el-disabled-bg-color:var(--el-fill-color-light);--el-disabled-text-color:var(--el-text-color-placeholder);--el-disabled-border-color:var(--el-border-color-light);--el-overlay-color:rgba(0,0,0,0.8);--el-overlay-color-light:rgba(0,0,0,0.7);--el-overlay-color-lighter:rgba(0,0,0,0.5);--el-mask-color:rgba(255,255,255,0.9);--el-mask-color-extra-light:rgba(255,255,255,0.3);--el-border-width:1px;--el-border-style:solid;--el-border-color-hover:var(--el-text-color-disabled);--el-border:var(--el-border-width) var(--el-border-style) var(--el-border-color);--el-svg-monochrome-grey:var(--el-border-color)}.fade-in-linear-enter-active,.fade-in-linear-leave-active{transition:var(--el-transition-fade-linear)}.fade-in-linear-enter-from,.fade-in-linear-leave-to{opacity:0}.el-fade-in-linear-enter-active,.el-fade-in-linear-leave-active{transition:var(--el-transition-fade-linear)}.el-fade-in-linear-enter-from,.el-fade-in-linear-leave-to{opacity:0}.el-fade-in-enter-active,.el-fade-in-leave-active{transition:all var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-fade-in-enter-from,.el-fade-in-leave-active{opacity:0}.el-zoom-in-center-enter-active,.el-zoom-in-center-leave-active{transition:all var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-zoom-in-center-enter-from,.el-zoom-in-center-leave-active{opacity:0;transform:scaleX(0)}.el-zoom-in-top-enter-active,.el-zoom-in-top-leave-active{opacity:1;transform:scaleY(1);transform-origin:center top;transition:var(--el-transition-md-fade)}.el-zoom-in-top-enter-active[data-popper-placement^=top],.el-zoom-in-top-leave-active[data-popper-placement^=top]{transform-origin:center bottom}.el-zoom-in-top-enter-from,.el-zoom-in-top-leave-active{opacity:0;transform:scaleY(0)}.el-zoom-in-bottom-enter-active,.el-zoom-in-bottom-leave-active{opacity:1;transform:scaleY(1);transform-origin:center bottom;transition:var(--el-transition-md-fade)}.el-zoom-in-bottom-enter-from,.el-zoom-in-bottom-leave-active{opacity:0;transform:scaleY(0)}.el-zoom-in-left-enter-active,.el-zoom-in-left-leave-active{opacity:1;transform:scale(1);transform-origin:top left;transition:var(--el-transition-md-fade)}.el-zoom-in-left-enter-from,.el-zoom-in-left-leave-active{opacity:0;transform:scale(.45)}.collapse-transition{transition:var(--el-transition-duration) height ease-in-out,var(--el-transition-duration) padding-top ease-in-out,var(--el-transition-duration) padding-bottom ease-in-out}.el-collapse-transition-enter-active,.el-collapse-transition-leave-active{transition:var(--el-transition-duration) max-height ease-in-out,var(--el-transition-duration) padding-top ease-in-out,var(--el-transition-duration) padding-bottom ease-in-out}.horizontal-collapse-transition{transition:var(--el-transition-duration) width ease-in-out,var(--el-transition-duration) padding-left ease-in-out,var(--el-transition-duration) padding-right ease-in-out}.el-list-enter-active,.el-list-leave-active{transition:all 1s}.el-list-enter-from,.el-list-leave-to{opacity:0;transform:translateY(-30px)}.el-list-leave-active{position:absolute!important}.el-opacity-transition{transition:opacity var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-icon--right{margin-left:5px}.el-icon--left{margin-right:5px}@keyframes rotating{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.el-icon{--color:inherit;align-items:center;color:var(--color);display:inline-flex;fill:currentColor;font-size:inherit;height:1em;justify-content:center;line-height:1em;position:relative;width:1em}.el-icon.is-loading{animation:rotating 2s linear infinite}.el-icon svg{height:1em;width:1em}.el-affix--fixed{position:fixed}.el-alert{--el-alert-padding:8px 16px;--el-alert-border-radius-base:var(--el-border-radius-base);--el-alert-title-font-size:14px;--el-alert-title-with-description-font-size:16px;--el-alert-description-font-size:14px;--el-alert-close-font-size:16px;--el-alert-close-customed-font-size:14px;--el-alert-icon-size:16px;--el-alert-icon-large-size:28px;align-items:center;background-color:var(--el-color-white);border-radius:var(--el-alert-border-radius-base);box-sizing:border-box;display:flex;margin:0;opacity:1;overflow:hidden;padding:var(--el-alert-padding);position:relative;transition:opacity var(--el-transition-duration-fast);width:100%}.el-alert.is-light .el-alert__close-btn{color:var(--el-text-color-placeholder)}.el-alert.is-dark .el-alert__close-btn,.el-alert.is-dark .el-alert__description{color:var(--el-color-white)}.el-alert.is-center{justify-content:center}.el-alert--primary{--el-alert-bg-color:var(--el-color-primary-light-9)}.el-alert--primary.is-light{background-color:var(--el-alert-bg-color)}.el-alert--primary.is-light,.el-alert--primary.is-light .el-alert__description{color:var(--el-color-primary)}.el-alert--primary.is-dark{background-color:var(--el-color-primary);color:var(--el-color-white)}.el-alert--success{--el-alert-bg-color:var(--el-color-success-light-9)}.el-alert--success.is-light{background-color:var(--el-alert-bg-color)}.el-alert--success.is-light,.el-alert--success.is-light .el-alert__description{color:var(--el-color-success)}.el-alert--success.is-dark{background-color:var(--el-color-success);color:var(--el-color-white)}.el-alert--info{--el-alert-bg-color:var(--el-color-info-light-9)}.el-alert--info.is-light{background-color:var(--el-alert-bg-color)}.el-alert--info.is-light,.el-alert--info.is-light .el-alert__description{color:var(--el-color-info)}.el-alert--info.is-dark{background-color:var(--el-color-info);color:var(--el-color-white)}.el-alert--warning{--el-alert-bg-color:var(--el-color-warning-light-9)}.el-alert--warning.is-light{background-color:var(--el-alert-bg-color)}.el-alert--warning.is-light,.el-alert--warning.is-light .el-alert__description{color:var(--el-color-warning)}.el-alert--warning.is-dark{background-color:var(--el-color-warning);color:var(--el-color-white)}.el-alert--error{--el-alert-bg-color:var(--el-color-error-light-9)}.el-alert--error.is-light{background-color:var(--el-alert-bg-color)}.el-alert--error.is-light,.el-alert--error.is-light .el-alert__description{color:var(--el-color-error)}.el-alert--error.is-dark{background-color:var(--el-color-error);color:var(--el-color-white)}.el-alert__content{display:flex;flex-direction:column;gap:4px}.el-alert .el-alert__icon{font-size:var(--el-alert-icon-size);margin-right:8px;width:var(--el-alert-icon-size)}.el-alert .el-alert__icon.is-big{font-size:var(--el-alert-icon-large-size);margin-right:12px;width:var(--el-alert-icon-large-size)}.el-alert__title{font-size:var(--el-alert-title-font-size);line-height:24px}.el-alert__title.with-description{font-size:var(--el-alert-title-with-description-font-size)}.el-alert .el-alert__description{font-size:var(--el-alert-description-font-size);margin:0}.el-alert .el-alert__close-btn{cursor:pointer;font-size:var(--el-alert-close-font-size);opacity:1;position:absolute;right:16px;top:12px}.el-alert .el-alert__close-btn.is-customed{font-size:var(--el-alert-close-customed-font-size);font-style:normal;line-height:24px;top:8px}.el-alert-fade-enter-from,.el-alert-fade-leave-active{opacity:0}.el-aside{box-sizing:border-box;flex-shrink:0;overflow:auto;width:var(--el-aside-width,300px)}.el-autocomplete{--el-input-text-color:var(--el-text-color-regular);--el-input-border:var(--el-border);--el-input-hover-border:var(--el-border-color-hover);--el-input-focus-border:var(--el-color-primary);--el-input-transparent-border:0 0 0 1px transparent inset;--el-input-border-color:var(--el-border-color);--el-input-border-radius:var(--el-border-radius-base);--el-input-bg-color:var(--el-fill-color-blank);--el-input-icon-color:var(--el-text-color-placeholder);--el-input-placeholder-color:var(--el-text-color-placeholder);--el-input-hover-border-color:var(--el-border-color-hover);--el-input-clear-hover-color:var(--el-text-color-secondary);--el-input-focus-border-color:var(--el-color-primary);--el-input-width:100%;display:inline-block;position:relative;width:var(--el-input-width)}.el-autocomplete__popper.el-popper{background:var(--el-bg-color-overlay);box-shadow:var(--el-box-shadow-light)}.el-autocomplete__popper.el-popper,.el-autocomplete__popper.el-popper .el-popper__arrow:before{border:1px solid var(--el-border-color-light)}.el-autocomplete__popper.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-left-color:transparent;border-top-color:transparent}.el-autocomplete__popper.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent;border-right-color:transparent}.el-autocomplete__popper.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-bottom-color:transparent;border-left-color:transparent}.el-autocomplete__popper.el-popper[data-popper-placement^=right] .el-popper__arrow:before{border-right-color:transparent;border-top-color:transparent}.el-autocomplete-suggestion{border-radius:var(--el-border-radius-base);box-sizing:border-box}.el-autocomplete-suggestion__header{border-bottom:1px solid var(--el-border-color-lighter);padding:10px}.el-autocomplete-suggestion__footer{border-top:1px solid var(--el-border-color-lighter);padding:10px}.el-autocomplete-suggestion__wrap{box-sizing:border-box;max-height:280px;padding:10px 0}.el-autocomplete-suggestion__list{margin:0;padding:0}.el-autocomplete-suggestion li{color:var(--el-text-color-regular);cursor:pointer;font-size:var(--el-font-size-base);line-height:34px;list-style:none;margin:0;overflow:hidden;padding:0 20px;text-align:left;text-overflow:ellipsis;white-space:nowrap}.el-autocomplete-suggestion li.highlighted,.el-autocomplete-suggestion li:hover{background-color:var(--el-fill-color-light)}.el-autocomplete-suggestion li.divider{border-top:1px solid var(--el-color-black);margin-top:6px}.el-autocomplete-suggestion li.divider:last-child{margin-bottom:-6px}.el-autocomplete-suggestion.is-loading li{align-items:center;color:var(--el-text-color-secondary);cursor:default;display:flex;font-size:20px;height:100px;justify-content:center}.el-autocomplete-suggestion.is-loading li:hover{background-color:var(--el-bg-color-overlay)}.el-avatar{--el-avatar-text-color:var(--el-color-white);--el-avatar-bg-color:var(--el-text-color-disabled);--el-avatar-text-size:14px;--el-avatar-icon-size:18px;--el-avatar-border-radius:var(--el-border-radius-base);--el-avatar-size-large:56px;--el-avatar-size-small:24px;--el-avatar-size:40px;align-items:center;background:var(--el-avatar-bg-color);box-sizing:border-box;color:var(--el-avatar-text-color);display:inline-flex;font-size:var(--el-avatar-text-size);height:var(--el-avatar-size);justify-content:center;outline:none;overflow:hidden;text-align:center;width:var(--el-avatar-size)}.el-avatar>img{display:block;height:100%;width:100%}.el-avatar--circle{border-radius:50%}.el-avatar--square{border-radius:var(--el-avatar-border-radius)}.el-avatar--icon{font-size:var(--el-avatar-icon-size)}.el-avatar--small{--el-avatar-size:24px}.el-avatar--large{--el-avatar-size:56px}.el-avatar-group{--el-avatar-group-item-gap:-8px;--el-avatar-group-collapse-item-gap:4px;display:inline-flex}.el-avatar-group .el-avatar{border:1px solid var(--el-border-color-extra-light)}.el-avatar-group .el-avatar:not(:first-child){margin-left:var(--el-avatar-group-item-gap)}.el-avatar-group__collapse-avatars{--el-avatar-group-item-gap:-8px;--el-avatar-group-collapse-item-gap:4px}.el-avatar-group__collapse-avatars .el-avatar:not(:first-child){margin-left:var(--el-avatar-group-collapse-item-gap)}.el-backtop{--el-backtop-bg-color:var(--el-bg-color-overlay);--el-backtop-text-color:var(--el-color-primary);--el-backtop-hover-bg-color:var(--el-border-color-extra-light);align-items:center;background-color:var(--el-backtop-bg-color);border-radius:50%;box-shadow:var(--el-box-shadow-lighter);color:var(--el-backtop-text-color);cursor:pointer;display:flex;font-size:20px;height:40px;justify-content:center;position:fixed;width:40px;z-index:5}.el-backtop:hover{background-color:var(--el-backtop-hover-bg-color)}.el-backtop__icon{font-size:20px}.el-badge{--el-badge-bg-color:var(--el-color-danger);--el-badge-radius:10px;--el-badge-font-size:12px;--el-badge-padding:6px;--el-badge-size:18px;display:inline-block;position:relative;vertical-align:middle;width:-moz-fit-content;width:fit-content}.el-badge__content{align-items:center;background-color:var(--el-badge-bg-color);border:1px solid var(--el-bg-color);border-radius:var(--el-badge-radius);color:var(--el-color-white);display:inline-flex;font-size:var(--el-badge-font-size);height:var(--el-badge-size);justify-content:center;padding:0 var(--el-badge-padding);white-space:nowrap}.el-badge__content.is-fixed{position:absolute;right:calc(1px + var(--el-badge-size)/2);top:0;transform:translateY(-50%) translateX(100%);z-index:var(--el-index-normal)}.el-badge__content.is-fixed.is-dot{right:5px}.el-badge__content.is-dot{border-radius:50%;height:8px;padding:0;right:0;width:8px}.el-badge__content.is-hide-zero{display:none}.el-badge__content--primary{background-color:var(--el-color-primary)}.el-badge__content--success{background-color:var(--el-color-success)}.el-badge__content--warning{background-color:var(--el-color-warning)}.el-badge__content--info{background-color:var(--el-color-info)}.el-badge__content--danger{background-color:var(--el-color-danger)}.el-breadcrumb__separator{color:var(--el-text-color-placeholder);font-weight:bold;margin:0 9px}.el-breadcrumb__separator.el-icon{font-weight:normal;margin:0 6px}.el-breadcrumb__separator.el-icon svg{vertical-align:middle}.el-breadcrumb__item{align-items:center;display:inline-flex;float:left}.el-breadcrumb__inner{color:var(--el-text-color-regular)}.el-breadcrumb__inner a,.el-breadcrumb__inner.is-link{color:var(--el-text-color-primary);font-weight:bold;text-decoration:none;transition:var(--el-transition-color)}.el-breadcrumb__inner a:hover,.el-breadcrumb__inner.is-link:hover{color:var(--el-color-primary);cursor:pointer}.el-breadcrumb__item:last-child .el-breadcrumb__inner,.el-breadcrumb__item:last-child .el-breadcrumb__inner a,.el-breadcrumb__item:last-child .el-breadcrumb__inner a:hover,.el-breadcrumb__item:last-child .el-breadcrumb__inner:hover{color:var(--el-text-color-regular);cursor:text;font-weight:normal}.el-breadcrumb__item:last-child .el-breadcrumb__separator{display:none}.el-breadcrumb{font-size:14px;line-height:1}.el-breadcrumb:after,.el-breadcrumb:before{content:"";display:table}.el-breadcrumb:after{clear:both}.el-button-group>.el-button+.el-button{margin-left:0}.el-button-group>.el-button:first-child:last-child{border-bottom-left-radius:var(--el-border-radius-base);border-bottom-right-radius:var(--el-border-radius-base);border-top-left-radius:var(--el-border-radius-base);border-top-right-radius:var(--el-border-radius-base)}.el-button-group>.el-button:first-child:last-child.is-round{border-radius:var(--el-border-radius-round)}.el-button-group>.el-button:first-child:last-child.is-circle{border-radius:50%}.el-button-group>.el-button:not(:first-child):not(:last-child){border-radius:0}.el-button-group>.el-button.is-active,.el-button-group>.el-button:active,.el-button-group>.el-button:focus,.el-button-group>.el-button:hover{z-index:1}.el-button-group--horizontal{display:inline-block;vertical-align:middle}.el-button-group--horizontal:after,.el-button-group--horizontal:before{content:"";display:table}.el-button-group--horizontal:after{clear:both}.el-button-group--horizontal>.el-button{float:left;position:relative}.el-button-group--horizontal>.el-button:first-child{border-bottom-right-radius:0;border-top-right-radius:0}.el-button-group--horizontal>.el-button:last-child{border-bottom-left-radius:0;border-top-left-radius:0}.el-button-group--horizontal>.el-button:not(:last-child){margin-right:-1px}.el-button-group--horizontal .el-button--primary:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--primary:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--primary:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--success:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--success:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--success:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--warning:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--warning:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--warning:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--danger:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--danger:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--danger:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--info:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--info:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--info:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-button-group--horizontal>.el-dropdown>.el-button{border-bottom-left-radius:0;border-left-color:var(--el-button-divide-border-color);border-top-left-radius:0}.el-button-group--vertical{align-items:stretch;display:inline-flex;flex-direction:column}.el-button-group--vertical>.el-button{margin-top:-1px}.el-button-group--vertical>.el-button:first-child{border-bottom-left-radius:0;border-bottom-right-radius:0}.el-button-group--vertical>.el-button:last-child{border-top-left-radius:0;border-top-right-radius:0}.el-button-group--vertical>.el-dropdown{margin-top:-1px}.el-button-group--vertical>.el-dropdown>.el-button{border-left-color:var(--el-button-divide-border-color);border-top-left-radius:0;border-top-right-radius:0}.el-button-group--vertical .el-button--primary:first-child{border-bottom-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--primary:last-child{border-top-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--primary:not(:first-child):not(:last-child){border-bottom-color:var(--el-button-divide-border-color);border-top-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--success:first-child{border-bottom-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--success:last-child{border-top-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--success:not(:first-child):not(:last-child){border-bottom-color:var(--el-button-divide-border-color);border-top-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--warning:first-child{border-bottom-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--warning:last-child{border-top-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--warning:not(:first-child):not(:last-child){border-bottom-color:var(--el-button-divide-border-color);border-top-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--danger:first-child{border-bottom-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--danger:last-child{border-top-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--danger:not(:first-child):not(:last-child){border-bottom-color:var(--el-button-divide-border-color);border-top-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--info:first-child{border-bottom-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--info:last-child{border-top-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--info:not(:first-child):not(:last-child){border-bottom-color:var(--el-button-divide-border-color);border-top-color:var(--el-button-divide-border-color)}.el-button{--el-button-font-weight:var(--el-font-weight-primary);--el-button-border-color:var(--el-border-color);--el-button-bg-color:var(--el-fill-color-blank);--el-button-text-color:var(--el-text-color-regular);--el-button-disabled-text-color:var(--el-disabled-text-color);--el-button-disabled-bg-color:var(--el-fill-color-blank);--el-button-disabled-border-color:var(--el-border-color-light);--el-button-divide-border-color:rgba(255,255,255,0.5);--el-button-hover-text-color:var(--el-color-primary);--el-button-hover-bg-color:var(--el-color-primary-light-9);--el-button-hover-border-color:var(--el-color-primary-light-7);--el-button-active-text-color:var(--el-button-hover-text-color);--el-button-active-border-color:var(--el-color-primary);--el-button-active-bg-color:var(--el-button-hover-bg-color);--el-button-outline-color:var(--el-color-primary-light-5);--el-button-hover-link-text-color:var(--el-text-color-secondary);--el-button-active-color:var(--el-text-color-primary);align-items:center;-webkit-appearance:none;background-color:var(--el-button-bg-color);border:var(--el-border);border-color:var(--el-button-border-color);box-sizing:border-box;color:var(--el-button-text-color);cursor:pointer;display:inline-flex;font-weight:var(--el-button-font-weight);height:32px;justify-content:center;line-height:1;outline:none;text-align:center;transition:.1s;-webkit-user-select:none;-moz-user-select:none;user-select:none;vertical-align:middle;white-space:nowrap}.el-button:hover{background-color:var(--el-button-hover-bg-color);border-color:var(--el-button-hover-border-color);color:var(--el-button-hover-text-color);outline:none}.el-button:active{background-color:var(--el-button-active-bg-color);border-color:var(--el-button-active-border-color);color:var(--el-button-active-text-color);outline:none}.el-button:focus-visible{outline:2px solid var(--el-button-outline-color);outline-offset:1px;transition:outline-offset 0s,outline 0s}.el-button>span{align-items:center;display:inline-flex}.el-button+.el-button{margin-left:12px}.el-button{border-radius:var(--el-border-radius-base);font-size:var(--el-font-size-base)}.el-button,.el-button.is-round{padding:8px 15px}.el-button::-moz-focus-inner{border:0}.el-button [class*=el-icon]+span{margin-left:6px}.el-button [class*=el-icon] svg{vertical-align:bottom}.el-button.is-plain{--el-button-hover-text-color:var(--el-color-primary);--el-button-hover-bg-color:var(--el-fill-color-blank);--el-button-hover-border-color:var(--el-color-primary)}.el-button.is-active{background-color:var(--el-button-active-bg-color);border-color:var(--el-button-active-border-color);color:var(--el-button-active-text-color);outline:none}.el-button.is-disabled,.el-button.is-disabled:hover{background-color:var(--el-button-disabled-bg-color);background-image:none;border-color:var(--el-button-disabled-border-color);color:var(--el-button-disabled-text-color);cursor:not-allowed}.el-button.is-loading{pointer-events:none;position:relative}.el-button.is-loading:before{background-color:var(--el-mask-color-extra-light);border-radius:inherit;bottom:-1px;content:"";left:-1px;pointer-events:none;position:absolute;right:-1px;top:-1px;z-index:1}.el-button.is-round{border-radius:var(--el-border-radius-round)}.el-button.is-circle{border-radius:50%;padding:8px;width:32px}.el-button.is-text{background-color:transparent;border:0 solid transparent;color:var(--el-button-text-color)}.el-button.is-text.is-disabled{background-color:transparent!important;color:var(--el-button-disabled-text-color)}.el-button.is-text:not(.is-disabled):hover{background-color:var(--el-fill-color-light)}.el-button.is-text:not(.is-disabled):focus-visible{outline:2px solid var(--el-button-outline-color);outline-offset:1px;transition:outline-offset 0s,outline 0s}.el-button.is-text:not(.is-disabled):active{background-color:var(--el-fill-color)}.el-button.is-text:not(.is-disabled).is-has-bg{background-color:var(--el-fill-color-light)}.el-button.is-text:not(.is-disabled).is-has-bg:hover{background-color:var(--el-fill-color)}.el-button.is-text:not(.is-disabled).is-has-bg:active{background-color:var(--el-fill-color-dark)}.el-button__text--expand{letter-spacing:.3em;margin-right:-.3em}.el-button.is-link{background:transparent;border-color:transparent;color:var(--el-button-text-color);height:auto;padding:2px}.el-button.is-link:hover{color:var(--el-button-hover-link-text-color)}.el-button.is-link.is-disabled{background-color:transparent!important;border-color:transparent!important;color:var(--el-button-disabled-text-color)}.el-button.is-link:not(.is-disabled):active,.el-button.is-link:not(.is-disabled):hover{background-color:transparent;border-color:transparent}.el-button.is-link:not(.is-disabled):active{color:var(--el-button-active-color)}.el-button--text{background:transparent;border-color:transparent;color:var(--el-color-primary);padding-left:0;padding-right:0}.el-button--text.is-disabled{background-color:transparent!important;border-color:transparent!important;color:var(--el-button-disabled-text-color)}.el-button--text:not(.is-disabled):hover{background-color:transparent;border-color:transparent;color:var(--el-color-primary-light-3)}.el-button--text:not(.is-disabled):active{background-color:transparent;border-color:transparent;color:var(--el-color-primary-dark-2)}.el-button__link--expand{letter-spacing:.3em;margin-right:-.3em}.el-button--primary{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-primary);--el-button-border-color:var(--el-color-primary);--el-button-outline-color:var(--el-color-primary-light-5);--el-button-active-color:var(--el-color-primary-dark-2);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-link-text-color:var(--el-color-primary-light-5);--el-button-hover-bg-color:var(--el-color-primary-light-3);--el-button-hover-border-color:var(--el-color-primary-light-3);--el-button-active-bg-color:var(--el-color-primary-dark-2);--el-button-active-border-color:var(--el-color-primary-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-primary-light-5);--el-button-disabled-border-color:var(--el-color-primary-light-5)}.el-button--primary.is-link,.el-button--primary.is-plain,.el-button--primary.is-text{--el-button-text-color:var(--el-color-primary);--el-button-bg-color:var(--el-color-primary-light-9);--el-button-border-color:var(--el-color-primary-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-primary);--el-button-hover-border-color:var(--el-color-primary);--el-button-active-text-color:var(--el-color-white)}.el-button--primary.is-link.is-disabled,.el-button--primary.is-link.is-disabled:active,.el-button--primary.is-link.is-disabled:focus,.el-button--primary.is-link.is-disabled:hover,.el-button--primary.is-plain.is-disabled,.el-button--primary.is-plain.is-disabled:active,.el-button--primary.is-plain.is-disabled:focus,.el-button--primary.is-plain.is-disabled:hover,.el-button--primary.is-text.is-disabled,.el-button--primary.is-text.is-disabled:active,.el-button--primary.is-text.is-disabled:focus,.el-button--primary.is-text.is-disabled:hover{background-color:var(--el-color-primary-light-9);border-color:var(--el-color-primary-light-8);color:var(--el-color-primary-light-5)}.el-button--success{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-success);--el-button-border-color:var(--el-color-success);--el-button-outline-color:var(--el-color-success-light-5);--el-button-active-color:var(--el-color-success-dark-2);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-link-text-color:var(--el-color-success-light-5);--el-button-hover-bg-color:var(--el-color-success-light-3);--el-button-hover-border-color:var(--el-color-success-light-3);--el-button-active-bg-color:var(--el-color-success-dark-2);--el-button-active-border-color:var(--el-color-success-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-success-light-5);--el-button-disabled-border-color:var(--el-color-success-light-5)}.el-button--success.is-link,.el-button--success.is-plain,.el-button--success.is-text{--el-button-text-color:var(--el-color-success);--el-button-bg-color:var(--el-color-success-light-9);--el-button-border-color:var(--el-color-success-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-success);--el-button-hover-border-color:var(--el-color-success);--el-button-active-text-color:var(--el-color-white)}.el-button--success.is-link.is-disabled,.el-button--success.is-link.is-disabled:active,.el-button--success.is-link.is-disabled:focus,.el-button--success.is-link.is-disabled:hover,.el-button--success.is-plain.is-disabled,.el-button--success.is-plain.is-disabled:active,.el-button--success.is-plain.is-disabled:focus,.el-button--success.is-plain.is-disabled:hover,.el-button--success.is-text.is-disabled,.el-button--success.is-text.is-disabled:active,.el-button--success.is-text.is-disabled:focus,.el-button--success.is-text.is-disabled:hover{background-color:var(--el-color-success-light-9);border-color:var(--el-color-success-light-8);color:var(--el-color-success-light-5)}.el-button--warning{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-warning);--el-button-border-color:var(--el-color-warning);--el-button-outline-color:var(--el-color-warning-light-5);--el-button-active-color:var(--el-color-warning-dark-2);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-link-text-color:var(--el-color-warning-light-5);--el-button-hover-bg-color:var(--el-color-warning-light-3);--el-button-hover-border-color:var(--el-color-warning-light-3);--el-button-active-bg-color:var(--el-color-warning-dark-2);--el-button-active-border-color:var(--el-color-warning-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-warning-light-5);--el-button-disabled-border-color:var(--el-color-warning-light-5)}.el-button--warning.is-link,.el-button--warning.is-plain,.el-button--warning.is-text{--el-button-text-color:var(--el-color-warning);--el-button-bg-color:var(--el-color-warning-light-9);--el-button-border-color:var(--el-color-warning-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-warning);--el-button-hover-border-color:var(--el-color-warning);--el-button-active-text-color:var(--el-color-white)}.el-button--warning.is-link.is-disabled,.el-button--warning.is-link.is-disabled:active,.el-button--warning.is-link.is-disabled:focus,.el-button--warning.is-link.is-disabled:hover,.el-button--warning.is-plain.is-disabled,.el-button--warning.is-plain.is-disabled:active,.el-button--warning.is-plain.is-disabled:focus,.el-button--warning.is-plain.is-disabled:hover,.el-button--warning.is-text.is-disabled,.el-button--warning.is-text.is-disabled:active,.el-button--warning.is-text.is-disabled:focus,.el-button--warning.is-text.is-disabled:hover{background-color:var(--el-color-warning-light-9);border-color:var(--el-color-warning-light-8);color:var(--el-color-warning-light-5)}.el-button--danger{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-danger);--el-button-border-color:var(--el-color-danger);--el-button-outline-color:var(--el-color-danger-light-5);--el-button-active-color:var(--el-color-danger-dark-2);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-link-text-color:var(--el-color-danger-light-5);--el-button-hover-bg-color:var(--el-color-danger-light-3);--el-button-hover-border-color:var(--el-color-danger-light-3);--el-button-active-bg-color:var(--el-color-danger-dark-2);--el-button-active-border-color:var(--el-color-danger-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-danger-light-5);--el-button-disabled-border-color:var(--el-color-danger-light-5)}.el-button--danger.is-link,.el-button--danger.is-plain,.el-button--danger.is-text{--el-button-text-color:var(--el-color-danger);--el-button-bg-color:var(--el-color-danger-light-9);--el-button-border-color:var(--el-color-danger-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-danger);--el-button-hover-border-color:var(--el-color-danger);--el-button-active-text-color:var(--el-color-white)}.el-button--danger.is-link.is-disabled,.el-button--danger.is-link.is-disabled:active,.el-button--danger.is-link.is-disabled:focus,.el-button--danger.is-link.is-disabled:hover,.el-button--danger.is-plain.is-disabled,.el-button--danger.is-plain.is-disabled:active,.el-button--danger.is-plain.is-disabled:focus,.el-button--danger.is-plain.is-disabled:hover,.el-button--danger.is-text.is-disabled,.el-button--danger.is-text.is-disabled:active,.el-button--danger.is-text.is-disabled:focus,.el-button--danger.is-text.is-disabled:hover{background-color:var(--el-color-danger-light-9);border-color:var(--el-color-danger-light-8);color:var(--el-color-danger-light-5)}.el-button--info{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-info);--el-button-border-color:var(--el-color-info);--el-button-outline-color:var(--el-color-info-light-5);--el-button-active-color:var(--el-color-info-dark-2);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-link-text-color:var(--el-color-info-light-5);--el-button-hover-bg-color:var(--el-color-info-light-3);--el-button-hover-border-color:var(--el-color-info-light-3);--el-button-active-bg-color:var(--el-color-info-dark-2);--el-button-active-border-color:var(--el-color-info-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-info-light-5);--el-button-disabled-border-color:var(--el-color-info-light-5)}.el-button--info.is-link,.el-button--info.is-plain,.el-button--info.is-text{--el-button-text-color:var(--el-color-info);--el-button-bg-color:var(--el-color-info-light-9);--el-button-border-color:var(--el-color-info-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-info);--el-button-hover-border-color:var(--el-color-info);--el-button-active-text-color:var(--el-color-white)}.el-button--info.is-link.is-disabled,.el-button--info.is-link.is-disabled:active,.el-button--info.is-link.is-disabled:focus,.el-button--info.is-link.is-disabled:hover,.el-button--info.is-plain.is-disabled,.el-button--info.is-plain.is-disabled:active,.el-button--info.is-plain.is-disabled:focus,.el-button--info.is-plain.is-disabled:hover,.el-button--info.is-text.is-disabled,.el-button--info.is-text.is-disabled:active,.el-button--info.is-text.is-disabled:focus,.el-button--info.is-text.is-disabled:hover{background-color:var(--el-color-info-light-9);border-color:var(--el-color-info-light-8);color:var(--el-color-info-light-5)}.el-button--large{--el-button-size:40px;height:var(--el-button-size)}.el-button--large [class*=el-icon]+span{margin-left:8px}.el-button--large{border-radius:var(--el-border-radius-base);font-size:var(--el-font-size-base);padding:12px 19px}.el-button--large.is-round{padding:12px 19px}.el-button--large.is-circle{padding:12px;width:var(--el-button-size)}.el-button--small{--el-button-size:24px;height:var(--el-button-size)}.el-button--small [class*=el-icon]+span{margin-left:4px}.el-button--small{border-radius:calc(var(--el-border-radius-base) - 1px);font-size:12px;padding:5px 11px}.el-button--small.is-round{padding:5px 11px}.el-button--small.is-circle{padding:5px;width:var(--el-button-size)}.el-calendar{--el-calendar-border:var(--el-table-border,1px solid var(--el-border-color-lighter));--el-calendar-header-border-bottom:var(--el-calendar-border);--el-calendar-selected-bg-color:var(--el-color-primary-light-9);--el-calendar-cell-width:85px;background-color:var(--el-fill-color-blank)}.el-calendar__header{border-bottom:var(--el-calendar-header-border-bottom);display:flex;justify-content:space-between;padding:12px 20px}.el-calendar__title{align-self:center;color:var(--el-text-color)}.el-calendar__body{padding:12px 20px 35px}.el-calendar__select-controller .el-select{margin-right:8px}.el-calendar__select-controller .el-calendar-select__year{width:120px}.el-calendar__select-controller .el-calendar-select__month{width:60px}.el-calendar-table{table-layout:fixed;width:100%}.el-calendar-table thead th{color:var(--el-text-color-regular);font-weight:normal;padding:12px 0}.el-calendar-table:not(.is-range) td.next,.el-calendar-table:not(.is-range) td.prev{color:var(--el-text-color-placeholder)}.el-calendar-table td{border-bottom:var(--el-calendar-border);border-right:var(--el-calendar-border);transition:background-color var(--el-transition-duration-fast) ease;vertical-align:top}.el-calendar-table td.is-selected{background-color:var(--el-calendar-selected-bg-color)}.el-calendar-table td.is-today{color:var(--el-color-primary)}.el-calendar-table tr:first-child td{border-top:var(--el-calendar-border)}.el-calendar-table tr td:first-child{border-left:var(--el-calendar-border)}.el-calendar-table tr.el-calendar-table__row--hide-border td{border-top:none}.el-calendar-table .el-calendar-day{box-sizing:border-box;height:var(--el-calendar-cell-width);padding:8px}.el-calendar-table .el-calendar-day:hover{background-color:var(--el-calendar-selected-bg-color);cursor:pointer}.el-card{--el-card-border-color:var(--el-border-color-light);--el-card-border-radius:4px;--el-card-padding:20px;--el-card-bg-color:var(--el-fill-color-blank);background-color:var(--el-card-bg-color);border:1px solid var(--el-card-border-color);border-radius:var(--el-card-border-radius);color:var(--el-text-color-primary);display:flex;flex-direction:column;overflow:hidden;transition:var(--el-transition-duration)}.el-card.is-always-shadow,.el-card.is-hover-shadow:focus,.el-card.is-hover-shadow:hover{box-shadow:var(--el-box-shadow-light)}.el-card__header{border-bottom:1px solid var(--el-card-border-color);box-sizing:border-box;padding:calc(var(--el-card-padding) - 2px) var(--el-card-padding)}.el-card__body{flex-grow:1;overflow:auto;padding:var(--el-card-padding)}.el-card__footer{border-top:1px solid var(--el-card-border-color);box-sizing:border-box;padding:calc(var(--el-card-padding) - 2px) var(--el-card-padding)}.el-carousel__item{display:inline-block;height:100%;left:0;overflow:hidden;position:absolute;top:0;width:100%}.el-carousel__item,.el-carousel__item.is-active{z-index:calc(var(--el-index-normal) - 1)}.el-carousel__item--card,.el-carousel__item.is-animating{transition:transform .4s ease-in-out}.el-carousel__item--card{width:50%}.el-carousel__item--card.is-in-stage{cursor:pointer;z-index:var(--el-index-normal)}.el-carousel__item--card.is-in-stage.is-hover .el-carousel__mask,.el-carousel__item--card.is-in-stage:hover .el-carousel__mask{opacity:.12}.el-carousel__item--card.is-active{z-index:calc(var(--el-index-normal) + 1)}.el-carousel__item--card-vertical{height:50%;width:100%}.el-carousel__mask{background-color:var(--el-color-white);height:100%;left:0;opacity:.24;position:absolute;top:0;transition:var(--el-transition-duration-fast);width:100%}.el-carousel{--el-carousel-arrow-font-size:12px;--el-carousel-arrow-size:36px;--el-carousel-arrow-background:rgba(31,45,61,0.11);--el-carousel-arrow-hover-background:rgba(31,45,61,0.23);--el-carousel-indicator-width:30px;--el-carousel-indicator-height:2px;--el-carousel-indicator-padding-horizontal:4px;--el-carousel-indicator-padding-vertical:12px;--el-carousel-indicator-out-color:var(--el-border-color-hover);position:relative}.el-carousel--horizontal,.el-carousel--vertical{overflow:hidden}.el-carousel__container{height:300px;position:relative}.el-carousel__arrow{align-items:center;background-color:var(--el-carousel-arrow-background);border:none;border-radius:50%;color:#ffffff;cursor:pointer;display:inline-flex;font-size:var(--el-carousel-arrow-font-size);height:var(--el-carousel-arrow-size);justify-content:center;margin:0;outline:none;padding:0;position:absolute;text-align:center;top:50%;transform:translateY(-50%);transition:var(--el-transition-duration);width:var(--el-carousel-arrow-size);z-index:10}.el-carousel__arrow--left{left:16px}.el-carousel__arrow--right{right:16px}.el-carousel__arrow:hover{background-color:var(--el-carousel-arrow-hover-background)}.el-carousel__arrow i{cursor:pointer}.el-carousel__indicators{list-style:none;margin:0;padding:0;position:absolute;z-index:calc(var(--el-index-normal) + 1)}.el-carousel__indicators--horizontal{bottom:0;left:50%;transform:translateX(-50%)}.el-carousel__indicators--vertical{right:0;top:50%;transform:translateY(-50%)}.el-carousel__indicators--outside{bottom:calc(var(--el-carousel-indicator-height) + var(--el-carousel-indicator-padding-vertical)*2);position:static;text-align:center;transform:none}.el-carousel__indicators--outside .el-carousel__indicator:hover button{opacity:.64}.el-carousel__indicators--outside button{background-color:var(--el-carousel-indicator-out-color);opacity:.24}.el-carousel__indicators--right{right:0}.el-carousel__indicators--labels{left:0;right:0;text-align:center;transform:none}.el-carousel__indicators--labels .el-carousel__button{color:#000000;font-size:12px;height:auto;padding:2px 18px;width:auto}.el-carousel__indicators--labels .el-carousel__indicator{padding:6px 4px}.el-carousel__indicator{background-color:transparent;cursor:pointer}.el-carousel__indicator:hover button{opacity:.72}.el-carousel__indicator--horizontal{display:inline-block;padding:var(--el-carousel-indicator-padding-vertical) var(--el-carousel-indicator-padding-horizontal)}.el-carousel__indicator--vertical{padding:var(--el-carousel-indicator-padding-horizontal) var(--el-carousel-indicator-padding-vertical)}.el-carousel__indicator--vertical .el-carousel__button{height:calc(var(--el-carousel-indicator-width)/2);width:var(--el-carousel-indicator-height)}.el-carousel__indicator.is-active button{opacity:1}.el-carousel__button{background-color:#ffffff;border:none;cursor:pointer;display:block;height:var(--el-carousel-indicator-height);margin:0;opacity:.48;outline:none;padding:0;transition:var(--el-transition-duration);width:var(--el-carousel-indicator-width)}.carousel-arrow-left-enter-from,.carousel-arrow-left-leave-active{opacity:0;transform:translateY(-50%) translateX(-10px)}.carousel-arrow-right-enter-from,.carousel-arrow-right-leave-active{opacity:0;transform:translateY(-50%) translateX(10px)}.el-transitioning{filter:url(#elCarouselHorizontal)}.el-transitioning-vertical{filter:url(#elCarouselVertical)}.el-cascader-panel{--el-cascader-menu-text-color:var(--el-text-color-regular);--el-cascader-menu-selected-text-color:var(--el-color-primary);--el-cascader-menu-fill:var(--el-bg-color-overlay);--el-cascader-menu-font-size:var(--el-font-size-base);--el-cascader-menu-radius:var(--el-border-radius-base);--el-cascader-menu-border:solid 1px var(--el-border-color-light);--el-cascader-menu-shadow:var(--el-box-shadow-light);--el-cascader-node-background-hover:var(--el-fill-color-light);--el-cascader-node-color-disabled:var(--el-text-color-placeholder);--el-cascader-color-empty:var(--el-text-color-placeholder);--el-cascader-tag-background:var(--el-fill-color);border-radius:var(--el-cascader-menu-radius);display:flex;font-size:var(--el-cascader-menu-font-size);width:-moz-fit-content;width:fit-content}.el-cascader-panel.is-bordered{border:var(--el-cascader-menu-border);border-radius:var(--el-cascader-menu-radius)}.el-cascader-menu{border-right:var(--el-cascader-menu-border);box-sizing:border-box;color:var(--el-cascader-menu-text-color);min-width:180px}.el-cascader-menu:last-child{border-right:none}.el-cascader-menu:last-child .el-cascader-node{padding-right:20px}.el-cascader-menu__wrap.el-scrollbar__wrap{height:204px}.el-cascader-menu__list{box-sizing:border-box;list-style:none;margin:0;min-height:100%;padding:6px 0;position:relative}.el-cascader-menu__hover-zone{height:100%;left:0;pointer-events:none;position:absolute;top:0;width:100%}.el-cascader-menu__empty-text{align-items:center;color:var(--el-cascader-color-empty);display:flex;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}.el-cascader-menu__empty-text .is-loading{margin-right:2px}.el-cascader-node{align-items:center;display:flex;height:34px;line-height:34px;outline:none;padding:0 30px 0 20px;position:relative}.el-cascader-node.is-selectable.in-active-path{color:var(--el-cascader-menu-text-color)}.el-cascader-node.in-active-path,.el-cascader-node.is-active,.el-cascader-node.is-selectable.in-checked-path{color:var(--el-cascader-menu-selected-text-color);font-weight:bold}.el-cascader-node:not(.is-disabled){cursor:pointer}.el-cascader-node:not(.is-disabled):focus,.el-cascader-node:not(.is-disabled):hover{background:var(--el-cascader-node-background-hover)}.el-cascader-node.is-disabled{color:var(--el-cascader-node-color-disabled);cursor:not-allowed}.el-cascader-node__prefix{left:10px;position:absolute}.el-cascader-node__postfix{position:absolute;right:10px}.el-cascader-node__label{flex:1;overflow:hidden;padding:0 8px;text-align:left;text-overflow:ellipsis;white-space:nowrap}.el-cascader-node>.el-checkbox,.el-cascader-node>.el-radio{margin-right:0}.el-cascader-node>.el-radio .el-radio__label{padding-left:0}.el-cascader{--el-cascader-menu-text-color:var(--el-text-color-regular);--el-cascader-menu-selected-text-color:var(--el-color-primary);--el-cascader-menu-fill:var(--el-bg-color-overlay);--el-cascader-menu-font-size:var(--el-font-size-base);--el-cascader-menu-radius:var(--el-border-radius-base);--el-cascader-menu-border:solid 1px var(--el-border-color-light);--el-cascader-menu-shadow:var(--el-box-shadow-light);--el-cascader-node-background-hover:var(--el-fill-color-light);--el-cascader-node-color-disabled:var(--el-text-color-placeholder);--el-cascader-color-empty:var(--el-text-color-placeholder);--el-cascader-tag-background:var(--el-fill-color);display:inline-block;font-size:var(--el-font-size-base);line-height:32px;outline:none;position:relative;vertical-align:middle}.el-cascader:not(.is-disabled):hover .el-input__wrapper{box-shadow:0 0 0 1px var(--el-input-hover-border-color) inset;cursor:pointer}.el-cascader .el-input{cursor:pointer;display:flex}.el-cascader .el-input .el-input__inner{text-overflow:ellipsis}.el-cascader .el-input .el-input__inner:-moz-read-only{cursor:pointer}.el-cascader .el-input .el-input__inner:read-only{cursor:pointer}.el-cascader .el-input .el-input__inner:disabled{cursor:not-allowed}.el-cascader .el-input .el-input__suffix-inner .el-icon svg{vertical-align:middle}.el-cascader .el-input .icon-arrow-down{font-size:14px;transition:transform var(--el-transition-duration)}.el-cascader .el-input .icon-arrow-down.is-reverse{transform:rotate(180deg)}.el-cascader .el-input .icon-circle-close:hover{color:var(--el-input-clear-hover-color,var(--el-text-color-secondary))}.el-cascader .el-input.is-focus .el-input__wrapper{box-shadow:0 0 0 1px var(--el-input-focus-border-color,var(--el-color-primary)) inset}.el-cascader--large{font-size:14px;line-height:40px}.el-cascader--large .el-cascader__tags{gap:6px;padding:8px}.el-cascader--large .el-cascader__search-input{height:24px;margin-left:7px}.el-cascader--small{font-size:12px;line-height:24px}.el-cascader--small .el-cascader__tags{gap:4px;padding:2px}.el-cascader--small .el-cascader__search-input{height:20px;margin-left:5px}.el-cascader.is-disabled .el-cascader__label{color:var(--el-disabled-text-color);z-index:calc(var(--el-index-normal) + 1)}.el-cascader__dropdown{--el-cascader-menu-text-color:var(--el-text-color-regular);--el-cascader-menu-selected-text-color:var(--el-color-primary);--el-cascader-menu-fill:var(--el-bg-color-overlay);--el-cascader-menu-font-size:var(--el-font-size-base);--el-cascader-menu-radius:var(--el-border-radius-base);--el-cascader-menu-border:solid 1px var(--el-border-color-light);--el-cascader-menu-shadow:var(--el-box-shadow-light);--el-cascader-node-background-hover:var(--el-fill-color-light);--el-cascader-node-color-disabled:var(--el-text-color-placeholder);--el-cascader-color-empty:var(--el-text-color-placeholder);--el-cascader-tag-background:var(--el-fill-color);border-radius:var(--el-cascader-menu-radius);font-size:var(--el-cascader-menu-font-size)}.el-cascader__dropdown.el-popper{background:var(--el-cascader-menu-fill)}.el-cascader__dropdown.el-popper,.el-cascader__dropdown.el-popper .el-popper__arrow:before{border:var(--el-cascader-menu-border)}.el-cascader__dropdown.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-left-color:transparent;border-top-color:transparent}.el-cascader__dropdown.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent;border-right-color:transparent}.el-cascader__dropdown.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-bottom-color:transparent;border-left-color:transparent}.el-cascader__dropdown.el-popper[data-popper-placement^=right] .el-popper__arrow:before{border-right-color:transparent;border-top-color:transparent}.el-cascader__dropdown.el-popper{box-shadow:var(--el-cascader-menu-shadow)}.el-cascader__header{border-bottom:1px solid var(--el-border-color-light);padding:10px}.el-cascader__footer{border-top:1px solid var(--el-border-color-light);padding:10px}.el-cascader__tags{box-sizing:border-box;display:flex;flex-wrap:wrap;gap:6px;left:0;line-height:normal;padding:4px;position:absolute;right:30px;text-align:left;top:50%;transform:translateY(-50%)}.el-cascader__tags .el-tag{align-items:center;background:var(--el-cascader-tag-background);display:inline-flex;max-width:100%;text-overflow:ellipsis}.el-cascader__tags .el-tag.el-tag--dark,.el-cascader__tags .el-tag.el-tag--plain{background-color:var(--el-tag-bg-color)}.el-cascader__tags .el-tag:not(.is-hit){border-color:transparent}.el-cascader__tags .el-tag:not(.is-hit).el-tag--dark,.el-cascader__tags .el-tag:not(.is-hit).el-tag--plain{border-color:var(--el-tag-border-color)}.el-cascader__tags .el-tag>span{flex:1;line-height:normal;overflow:hidden;text-overflow:ellipsis}.el-cascader__tags .el-tag .el-icon-close{background-color:var(--el-text-color-placeholder);color:var(--el-color-white);flex:none}.el-cascader__tags .el-tag .el-icon-close:hover{background-color:var(--el-text-color-secondary)}.el-cascader__tags .el-tag+input{margin-left:0}.el-cascader__tags.is-validate{right:55px}.el-cascader__collapse-tags{white-space:normal;z-index:var(--el-index-normal)}.el-cascader__collapse-tags .el-tag{align-items:center;background:var(--el-fill-color);display:inline-flex;max-width:100%;text-overflow:ellipsis}.el-cascader__collapse-tags .el-tag.el-tag--dark,.el-cascader__collapse-tags .el-tag.el-tag--plain{background-color:var(--el-tag-bg-color)}.el-cascader__collapse-tags .el-tag:not(.is-hit){border-color:transparent}.el-cascader__collapse-tags .el-tag:not(.is-hit).el-tag--dark,.el-cascader__collapse-tags .el-tag:not(.is-hit).el-tag--plain{border-color:var(--el-tag-border-color)}.el-cascader__collapse-tags .el-tag>span{flex:1;line-height:normal;overflow:hidden;text-overflow:ellipsis}.el-cascader__collapse-tags .el-tag .el-icon-close{background-color:var(--el-text-color-placeholder);color:var(--el-color-white);flex:none}.el-cascader__collapse-tags .el-tag .el-icon-close:hover{background-color:var(--el-text-color-secondary)}.el-cascader__collapse-tags .el-tag+input{margin-left:0}.el-cascader__collapse-tags .el-tag{margin:2px 0}.el-cascader__suggestion-panel{border-radius:var(--el-cascader-menu-radius)}.el-cascader__suggestion-list{color:var(--el-cascader-menu-text-color);font-size:var(--el-font-size-base);margin:0;max-height:204px;padding:6px 0;text-align:center}.el-cascader__suggestion-item{align-items:center;cursor:pointer;display:flex;height:34px;justify-content:space-between;outline:none;padding:0 15px;text-align:left}.el-cascader__suggestion-item:focus,.el-cascader__suggestion-item:hover{background:var(--el-cascader-node-background-hover)}.el-cascader__suggestion-item.is-checked{color:var(--el-cascader-menu-selected-text-color);font-weight:bold}.el-cascader__suggestion-item>span{margin-right:10px}.el-cascader__empty-text{color:var(--el-cascader-color-empty);margin:10px 0}.el-cascader__search-input{background:transparent;border:none;box-sizing:border-box;color:var(--el-cascader-menu-text-color);flex:1;height:24px;margin-left:7px;min-width:60px;outline:none;padding:0}.el-cascader__search-input::-moz-placeholder{color:transparent}.el-cascader__search-input::placeholder{color:transparent}.el-check-tag{background-color:var(--el-color-info-light-9);border-radius:var(--el-border-radius-base);color:var(--el-color-info);cursor:pointer;display:inline-block;font-size:var(--el-font-size-base);font-weight:bold;line-height:var(--el-font-size-base);padding:7px 15px;transition:var(--el-transition-all)}.el-check-tag:hover{background-color:var(--el-color-info-light-7)}.el-check-tag.el-check-tag--primary.is-checked{background-color:var(--el-color-primary-light-8);color:var(--el-color-primary)}.el-check-tag.el-check-tag--primary.is-checked:hover{background-color:var(--el-color-primary-light-7)}.el-check-tag.el-check-tag--primary.is-checked.is-disabled{background-color:var(--el-color-primary-light-8);color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--primary.is-checked.is-disabled:hover{background-color:var(--el-color-primary-light-8)}.el-check-tag.el-check-tag--primary.is-disabled{background-color:var(--el-color-info-light-9);color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--primary.is-disabled:hover{background-color:var(--el-color-info-light-9)}.el-check-tag.el-check-tag--success.is-checked{background-color:var(--el-color-success-light-8);color:var(--el-color-success)}.el-check-tag.el-check-tag--success.is-checked:hover{background-color:var(--el-color-success-light-7)}.el-check-tag.el-check-tag--success.is-checked.is-disabled{background-color:var(--el-color-success-light-8);color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--success.is-checked.is-disabled:hover{background-color:var(--el-color-success-light-8)}.el-check-tag.el-check-tag--success.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--success.is-disabled,.el-check-tag.el-check-tag--success.is-disabled:hover{background-color:var(--el-color-success-light-9)}.el-check-tag.el-check-tag--warning.is-checked{background-color:var(--el-color-warning-light-8);color:var(--el-color-warning)}.el-check-tag.el-check-tag--warning.is-checked:hover{background-color:var(--el-color-warning-light-7)}.el-check-tag.el-check-tag--warning.is-checked.is-disabled{background-color:var(--el-color-warning-light-8);color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--warning.is-checked.is-disabled:hover{background-color:var(--el-color-warning-light-8)}.el-check-tag.el-check-tag--warning.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--warning.is-disabled,.el-check-tag.el-check-tag--warning.is-disabled:hover{background-color:var(--el-color-warning-light-9)}.el-check-tag.el-check-tag--danger.is-checked{background-color:var(--el-color-danger-light-8);color:var(--el-color-danger)}.el-check-tag.el-check-tag--danger.is-checked:hover{background-color:var(--el-color-danger-light-7)}.el-check-tag.el-check-tag--danger.is-checked.is-disabled{background-color:var(--el-color-danger-light-8);color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--danger.is-checked.is-disabled:hover{background-color:var(--el-color-danger-light-8)}.el-check-tag.el-check-tag--danger.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--danger.is-disabled,.el-check-tag.el-check-tag--danger.is-disabled:hover{background-color:var(--el-color-danger-light-9)}.el-check-tag.el-check-tag--error.is-checked{background-color:var(--el-color-error-light-8);color:var(--el-color-error)}.el-check-tag.el-check-tag--error.is-checked:hover{background-color:var(--el-color-error-light-7)}.el-check-tag.el-check-tag--error.is-checked.is-disabled{background-color:var(--el-color-error-light-8);color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--error.is-checked.is-disabled:hover{background-color:var(--el-color-error-light-8)}.el-check-tag.el-check-tag--error.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--error.is-disabled,.el-check-tag.el-check-tag--error.is-disabled:hover{background-color:var(--el-color-error-light-9)}.el-check-tag.el-check-tag--info.is-checked{background-color:var(--el-color-info-light-8);color:var(--el-color-info)}.el-check-tag.el-check-tag--info.is-checked:hover{background-color:var(--el-color-info-light-7)}.el-check-tag.el-check-tag--info.is-checked.is-disabled{background-color:var(--el-color-info-light-8);color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--info.is-checked.is-disabled:hover{background-color:var(--el-color-info-light-8)}.el-check-tag.el-check-tag--info.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--info.is-disabled,.el-check-tag.el-check-tag--info.is-disabled:hover{background-color:var(--el-color-info-light-9)}.el-checkbox-button{--el-checkbox-button-checked-bg-color:var(--el-color-primary);--el-checkbox-button-checked-text-color:var(--el-color-white);--el-checkbox-button-checked-border-color:var(--el-color-primary);display:inline-block;position:relative}.el-checkbox-button__inner{-webkit-appearance:none;background:var(--el-button-bg-color,var(--el-fill-color-blank));border-radius:0;box-sizing:border-box;color:var(--el-button-text-color,var(--el-text-color-regular));cursor:pointer;display:inline-block;font-size:var(--el-font-size-base);font-weight:var(--el-checkbox-font-weight);line-height:1;margin:0;outline:var(--el-border);padding:8px 15px;position:relative;text-align:center;transition:var(--el-transition-all);-webkit-user-select:none;-moz-user-select:none;user-select:none;vertical-align:middle;white-space:nowrap}.el-checkbox-button__inner.is-round{padding:8px 15px}.el-checkbox-button__inner:hover{color:var(--el-color-primary)}.el-checkbox-button__inner [class*=el-icon-]{line-height:.9}.el-checkbox-button__inner [class*=el-icon-]+span{margin-left:5px}.el-checkbox-button__original{margin:0;opacity:0;outline:none;position:absolute;z-index:-1}.el-checkbox-button.is-checked .el-checkbox-button__inner{background-color:var(--el-checkbox-button-checked-bg-color);border-color:var(--el-checkbox-button-checked-border-color);box-shadow:-1px 0 0 0 var(--el-color-primary-light-7);color:var(--el-checkbox-button-checked-text-color)}.el-checkbox-button.is-checked:first-child .el-checkbox-button__inner{border-left-color:var(--el-checkbox-button-checked-border-color)}.el-checkbox-button.is-disabled .el-checkbox-button__inner{background-color:var(--el-button-disabled-bg-color,var(--el-fill-color-blank));background-image:none;border-color:var(--el-button-disabled-border-color,var(--el-border-color-light));box-shadow:none;color:var(--el-disabled-text-color);cursor:not-allowed}.el-checkbox-button.is-disabled:first-child .el-checkbox-button__inner{border-left-color:var(--el-button-disabled-border-color,var(--el-border-color-light))}.el-checkbox-button:first-child .el-checkbox-button__inner{border-bottom-left-radius:var(--el-border-radius-base);border-top-left-radius:var(--el-border-radius-base);box-shadow:none!important}.el-checkbox-button.is-focus .el-checkbox-button__inner{border-color:var(--el-checkbox-button-checked-border-color)}.el-checkbox-button:last-child .el-checkbox-button__inner{border-bottom-right-radius:var(--el-border-radius-base);border-top-right-radius:var(--el-border-radius-base)}.el-checkbox-button--large .el-checkbox-button__inner{border-radius:0;font-size:var(--el-font-size-base);padding:12px 19px}.el-checkbox-button--large .el-checkbox-button__inner.is-round{padding:12px 19px}.el-checkbox-button--small .el-checkbox-button__inner{border-radius:0;font-size:12px;padding:5px 11px}.el-checkbox-button--small .el-checkbox-button__inner.is-round{padding:5px 11px}.el-checkbox-group{font-size:0;line-height:0}.el-checkbox{--el-checkbox-font-size:14px;--el-checkbox-font-weight:var(--el-font-weight-primary);--el-checkbox-text-color:var(--el-text-color-regular);--el-checkbox-input-height:14px;--el-checkbox-input-width:14px;--el-checkbox-border-radius:var(--el-border-radius-small);--el-checkbox-bg-color:var(--el-fill-color-blank);--el-checkbox-input-border:var(--el-border);--el-checkbox-disabled-border-color:var(--el-border-color);--el-checkbox-disabled-input-fill:var(--el-fill-color-light);--el-checkbox-disabled-icon-color:var(--el-text-color-placeholder);--el-checkbox-disabled-checked-input-fill:var(--el-border-color-extra-light);--el-checkbox-disabled-checked-input-border-color:var(--el-border-color);--el-checkbox-disabled-checked-icon-color:var(--el-text-color-placeholder);--el-checkbox-checked-text-color:var(--el-color-primary);--el-checkbox-checked-input-border-color:var(--el-color-primary);--el-checkbox-checked-bg-color:var(--el-color-primary);--el-checkbox-checked-icon-color:var(--el-color-white);--el-checkbox-input-border-color-hover:var(--el-color-primary);align-items:center;color:var(--el-checkbox-text-color);cursor:pointer;display:inline-flex;font-size:var(--el-font-size-base);font-weight:var(--el-checkbox-font-weight);height:var(--el-checkbox-height,32px);margin-right:30px;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap}.el-checkbox.is-disabled{cursor:not-allowed}.el-checkbox.is-bordered{border:var(--el-border);border-radius:var(--el-border-radius-base);box-sizing:border-box;padding:0 15px 0 9px}.el-checkbox.is-bordered.is-checked{border-color:var(--el-color-primary)}.el-checkbox.is-bordered.is-disabled{border-color:var(--el-border-color-lighter)}.el-checkbox.is-bordered.el-checkbox--large{border-radius:var(--el-border-radius-base);padding:0 19px 0 11px}.el-checkbox.is-bordered.el-checkbox--large .el-checkbox__label{font-size:var(--el-font-size-base)}.el-checkbox.is-bordered.el-checkbox--large .el-checkbox__inner{height:14px;width:14px}.el-checkbox.is-bordered.el-checkbox--small{border-radius:calc(var(--el-border-radius-base) - 1px);padding:0 11px 0 7px}.el-checkbox.is-bordered.el-checkbox--small .el-checkbox__label{font-size:12px}.el-checkbox.is-bordered.el-checkbox--small .el-checkbox__inner{height:12px;width:12px}.el-checkbox.is-bordered.el-checkbox--small .el-checkbox__inner:after{height:6px;width:2px}.el-checkbox input:focus-visible+.el-checkbox__inner{border-radius:var(--el-checkbox-border-radius);outline:2px solid var(--el-checkbox-input-border-color-hover);outline-offset:1px}.el-checkbox__input{cursor:pointer;display:inline-flex;outline:none;position:relative;white-space:nowrap}.el-checkbox__input.is-disabled .el-checkbox__inner{background-color:var(--el-checkbox-disabled-input-fill);border-color:var(--el-checkbox-disabled-border-color);cursor:not-allowed}.el-checkbox__input.is-disabled .el-checkbox__inner:after{border-color:var(--el-checkbox-disabled-icon-color);cursor:not-allowed;will-change:transform}.el-checkbox__input.is-disabled.is-checked .el-checkbox__inner{background-color:var(--el-checkbox-disabled-checked-input-fill);border-color:var(--el-checkbox-disabled-checked-input-border-color)}.el-checkbox__input.is-disabled.is-checked .el-checkbox__inner:after{border-color:var(--el-checkbox-disabled-checked-icon-color)}.el-checkbox__input.is-disabled.is-indeterminate .el-checkbox__inner{background-color:var(--el-checkbox-disabled-checked-input-fill);border-color:var(--el-checkbox-disabled-checked-input-border-color)}.el-checkbox__input.is-disabled.is-indeterminate .el-checkbox__inner:before{background-color:var(--el-checkbox-disabled-checked-icon-color);border-color:var(--el-checkbox-disabled-checked-icon-color)}.el-checkbox__input.is-disabled+span.el-checkbox__label{color:var(--el-disabled-text-color);cursor:not-allowed}.el-checkbox__input.is-checked .el-checkbox__inner{background-color:var(--el-checkbox-checked-bg-color);border-color:var(--el-checkbox-checked-input-border-color)}.el-checkbox__input.is-checked .el-checkbox__inner:after{border-color:var(--el-checkbox-checked-icon-color);transform:translate(-45%,-60%) rotate(45deg) scaleY(1)}.el-checkbox__input.is-checked+.el-checkbox__label{color:var(--el-checkbox-checked-text-color)}.el-checkbox__input.is-focus:not(.is-checked) .el-checkbox__original:not(:focus-visible){border-color:var(--el-checkbox-input-border-color-hover)}.el-checkbox__input.is-indeterminate .el-checkbox__inner{background-color:var(--el-checkbox-checked-bg-color);border-color:var(--el-checkbox-checked-input-border-color)}.el-checkbox__input.is-indeterminate .el-checkbox__inner:before{background-color:var(--el-checkbox-checked-icon-color);content:"";display:block;height:2px;left:0;position:absolute;right:0;top:5px;transform:scale(.5)}.el-checkbox__input.is-indeterminate .el-checkbox__inner:after{display:none}.el-checkbox__inner{background-color:var(--el-checkbox-bg-color);border:var(--el-checkbox-input-border);border-radius:var(--el-checkbox-border-radius);box-sizing:border-box;display:inline-block;height:var(--el-checkbox-input-height);position:relative;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46),outline .25s cubic-bezier(.71,-.46,.29,1.46);width:var(--el-checkbox-input-width);z-index:var(--el-index-normal)}.el-checkbox__inner:hover{border-color:var(--el-checkbox-input-border-color-hover)}.el-checkbox__inner:after{border:1px solid transparent;border-left:0;border-top:0;box-sizing:content-box;content:"";height:7px;left:50%;position:absolute;top:50%;transform:translate(-45%,-60%) rotate(45deg) scaleY(0);transform-origin:center;transition:transform .15s ease-in .05s;width:3px}.el-checkbox__original{height:0;margin:0;opacity:0;outline:none;position:absolute;width:0;z-index:-1}.el-checkbox__label{display:inline-block;font-size:var(--el-checkbox-font-size);line-height:1;padding-left:8px}.el-checkbox.el-checkbox--large{height:40px}.el-checkbox.el-checkbox--large .el-checkbox__label{font-size:14px}.el-checkbox.el-checkbox--large .el-checkbox__inner{height:14px;width:14px}.el-checkbox.el-checkbox--small{height:24px}.el-checkbox.el-checkbox--small .el-checkbox__label{font-size:12px}.el-checkbox.el-checkbox--small .el-checkbox__inner{height:12px;width:12px}.el-checkbox.el-checkbox--small .el-checkbox__input.is-indeterminate .el-checkbox__inner:before{top:4px}.el-checkbox.el-checkbox--small .el-checkbox__inner:after{height:6px;width:2px}.el-checkbox:last-of-type{margin-right:0}[class*=el-col-]{box-sizing:border-box}[class*=el-col-].is-guttered{display:block;min-height:1px}.el-col-0{flex:0 0 0%;max-width:0}.el-col-0,.el-col-0.is-guttered{display:none}.el-col-offset-0{margin-left:0}.el-col-pull-0{position:relative;right:0}.el-col-push-0{left:0;position:relative}.el-col-1{flex:0 0 4.1666666667%;max-width:4.1666666667%}.el-col-1,.el-col-1.is-guttered{display:block}.el-col-offset-1{margin-left:4.1666666667%}.el-col-pull-1{position:relative;right:4.1666666667%}.el-col-push-1{left:4.1666666667%;position:relative}.el-col-2{flex:0 0 8.3333333333%;max-width:8.3333333333%}.el-col-2,.el-col-2.is-guttered{display:block}.el-col-offset-2{margin-left:8.3333333333%}.el-col-pull-2{position:relative;right:8.3333333333%}.el-col-push-2{left:8.3333333333%;position:relative}.el-col-3{flex:0 0 12.5%;max-width:12.5%}.el-col-3,.el-col-3.is-guttered{display:block}.el-col-offset-3{margin-left:12.5%}.el-col-pull-3{position:relative;right:12.5%}.el-col-push-3{left:12.5%;position:relative}.el-col-4{flex:0 0 16.6666666667%;max-width:16.6666666667%}.el-col-4,.el-col-4.is-guttered{display:block}.el-col-offset-4{margin-left:16.6666666667%}.el-col-pull-4{position:relative;right:16.6666666667%}.el-col-push-4{left:16.6666666667%;position:relative}.el-col-5{flex:0 0 20.8333333333%;max-width:20.8333333333%}.el-col-5,.el-col-5.is-guttered{display:block}.el-col-offset-5{margin-left:20.8333333333%}.el-col-pull-5{position:relative;right:20.8333333333%}.el-col-push-5{left:20.8333333333%;position:relative}.el-col-6{flex:0 0 25%;max-width:25%}.el-col-6,.el-col-6.is-guttered{display:block}.el-col-offset-6{margin-left:25%}.el-col-pull-6{position:relative;right:25%}.el-col-push-6{left:25%;position:relative}.el-col-7{flex:0 0 29.1666666667%;max-width:29.1666666667%}.el-col-7,.el-col-7.is-guttered{display:block}.el-col-offset-7{margin-left:29.1666666667%}.el-col-pull-7{position:relative;right:29.1666666667%}.el-col-push-7{left:29.1666666667%;position:relative}.el-col-8{flex:0 0 33.3333333333%;max-width:33.3333333333%}.el-col-8,.el-col-8.is-guttered{display:block}.el-col-offset-8{margin-left:33.3333333333%}.el-col-pull-8{position:relative;right:33.3333333333%}.el-col-push-8{left:33.3333333333%;position:relative}.el-col-9{flex:0 0 37.5%;max-width:37.5%}.el-col-9,.el-col-9.is-guttered{display:block}.el-col-offset-9{margin-left:37.5%}.el-col-pull-9{position:relative;right:37.5%}.el-col-push-9{left:37.5%;position:relative}.el-col-10{flex:0 0 41.6666666667%;max-width:41.6666666667%}.el-col-10,.el-col-10.is-guttered{display:block}.el-col-offset-10{margin-left:41.6666666667%}.el-col-pull-10{position:relative;right:41.6666666667%}.el-col-push-10{left:41.6666666667%;position:relative}.el-col-11{flex:0 0 45.8333333333%;max-width:45.8333333333%}.el-col-11,.el-col-11.is-guttered{display:block}.el-col-offset-11{margin-left:45.8333333333%}.el-col-pull-11{position:relative;right:45.8333333333%}.el-col-push-11{left:45.8333333333%;position:relative}.el-col-12{flex:0 0 50%;max-width:50%}.el-col-12,.el-col-12.is-guttered{display:block}.el-col-offset-12{margin-left:50%}.el-col-pull-12{position:relative;right:50%}.el-col-push-12{left:50%;position:relative}.el-col-13{flex:0 0 54.1666666667%;max-width:54.1666666667%}.el-col-13,.el-col-13.is-guttered{display:block}.el-col-offset-13{margin-left:54.1666666667%}.el-col-pull-13{position:relative;right:54.1666666667%}.el-col-push-13{left:54.1666666667%;position:relative}.el-col-14{flex:0 0 58.3333333333%;max-width:58.3333333333%}.el-col-14,.el-col-14.is-guttered{display:block}.el-col-offset-14{margin-left:58.3333333333%}.el-col-pull-14{position:relative;right:58.3333333333%}.el-col-push-14{left:58.3333333333%;position:relative}.el-col-15{flex:0 0 62.5%;max-width:62.5%}.el-col-15,.el-col-15.is-guttered{display:block}.el-col-offset-15{margin-left:62.5%}.el-col-pull-15{position:relative;right:62.5%}.el-col-push-15{left:62.5%;position:relative}.el-col-16{flex:0 0 66.6666666667%;max-width:66.6666666667%}.el-col-16,.el-col-16.is-guttered{display:block}.el-col-offset-16{margin-left:66.6666666667%}.el-col-pull-16{position:relative;right:66.6666666667%}.el-col-push-16{left:66.6666666667%;position:relative}.el-col-17{flex:0 0 70.8333333333%;max-width:70.8333333333%}.el-col-17,.el-col-17.is-guttered{display:block}.el-col-offset-17{margin-left:70.8333333333%}.el-col-pull-17{position:relative;right:70.8333333333%}.el-col-push-17{left:70.8333333333%;position:relative}.el-col-18{flex:0 0 75%;max-width:75%}.el-col-18,.el-col-18.is-guttered{display:block}.el-col-offset-18{margin-left:75%}.el-col-pull-18{position:relative;right:75%}.el-col-push-18{left:75%;position:relative}.el-col-19{flex:0 0 79.1666666667%;max-width:79.1666666667%}.el-col-19,.el-col-19.is-guttered{display:block}.el-col-offset-19{margin-left:79.1666666667%}.el-col-pull-19{position:relative;right:79.1666666667%}.el-col-push-19{left:79.1666666667%;position:relative}.el-col-20{flex:0 0 83.3333333333%;max-width:83.3333333333%}.el-col-20,.el-col-20.is-guttered{display:block}.el-col-offset-20{margin-left:83.3333333333%}.el-col-pull-20{position:relative;right:83.3333333333%}.el-col-push-20{left:83.3333333333%;position:relative}.el-col-21{flex:0 0 87.5%;max-width:87.5%}.el-col-21,.el-col-21.is-guttered{display:block}.el-col-offset-21{margin-left:87.5%}.el-col-pull-21{position:relative;right:87.5%}.el-col-push-21{left:87.5%;position:relative}.el-col-22{flex:0 0 91.6666666667%;max-width:91.6666666667%}.el-col-22,.el-col-22.is-guttered{display:block}.el-col-offset-22{margin-left:91.6666666667%}.el-col-pull-22{position:relative;right:91.6666666667%}.el-col-push-22{left:91.6666666667%;position:relative}.el-col-23{flex:0 0 95.8333333333%;max-width:95.8333333333%}.el-col-23,.el-col-23.is-guttered{display:block}.el-col-offset-23{margin-left:95.8333333333%}.el-col-pull-23{position:relative;right:95.8333333333%}.el-col-push-23{left:95.8333333333%;position:relative}.el-col-24{flex:0 0 100%;max-width:100%}.el-col-24,.el-col-24.is-guttered{display:block}.el-col-offset-24{margin-left:100%}.el-col-pull-24{position:relative;right:100%}.el-col-push-24{left:100%;position:relative}@media only screen and (max-width:767px){.el-col-xs-0{display:none;flex:0 0 0%;max-width:0}.el-col-xs-0.is-guttered{display:none}.el-col-xs-offset-0{margin-left:0}.el-col-xs-pull-0{position:relative;right:0}.el-col-xs-push-0{left:0;position:relative}.el-col-xs-1{flex:0 0 4.1666666667%;max-width:4.1666666667%}.el-col-xs-1,.el-col-xs-1.is-guttered{display:block}.el-col-xs-offset-1{margin-left:4.1666666667%}.el-col-xs-pull-1{position:relative;right:4.1666666667%}.el-col-xs-push-1{left:4.1666666667%;position:relative}.el-col-xs-2{flex:0 0 8.3333333333%;max-width:8.3333333333%}.el-col-xs-2,.el-col-xs-2.is-guttered{display:block}.el-col-xs-offset-2{margin-left:8.3333333333%}.el-col-xs-pull-2{position:relative;right:8.3333333333%}.el-col-xs-push-2{left:8.3333333333%;position:relative}.el-col-xs-3{flex:0 0 12.5%;max-width:12.5%}.el-col-xs-3,.el-col-xs-3.is-guttered{display:block}.el-col-xs-offset-3{margin-left:12.5%}.el-col-xs-pull-3{position:relative;right:12.5%}.el-col-xs-push-3{left:12.5%;position:relative}.el-col-xs-4{flex:0 0 16.6666666667%;max-width:16.6666666667%}.el-col-xs-4,.el-col-xs-4.is-guttered{display:block}.el-col-xs-offset-4{margin-left:16.6666666667%}.el-col-xs-pull-4{position:relative;right:16.6666666667%}.el-col-xs-push-4{left:16.6666666667%;position:relative}.el-col-xs-5{flex:0 0 20.8333333333%;max-width:20.8333333333%}.el-col-xs-5,.el-col-xs-5.is-guttered{display:block}.el-col-xs-offset-5{margin-left:20.8333333333%}.el-col-xs-pull-5{position:relative;right:20.8333333333%}.el-col-xs-push-5{left:20.8333333333%;position:relative}.el-col-xs-6{flex:0 0 25%;max-width:25%}.el-col-xs-6,.el-col-xs-6.is-guttered{display:block}.el-col-xs-offset-6{margin-left:25%}.el-col-xs-pull-6{position:relative;right:25%}.el-col-xs-push-6{left:25%;position:relative}.el-col-xs-7{flex:0 0 29.1666666667%;max-width:29.1666666667%}.el-col-xs-7,.el-col-xs-7.is-guttered{display:block}.el-col-xs-offset-7{margin-left:29.1666666667%}.el-col-xs-pull-7{position:relative;right:29.1666666667%}.el-col-xs-push-7{left:29.1666666667%;position:relative}.el-col-xs-8{flex:0 0 33.3333333333%;max-width:33.3333333333%}.el-col-xs-8,.el-col-xs-8.is-guttered{display:block}.el-col-xs-offset-8{margin-left:33.3333333333%}.el-col-xs-pull-8{position:relative;right:33.3333333333%}.el-col-xs-push-8{left:33.3333333333%;position:relative}.el-col-xs-9{flex:0 0 37.5%;max-width:37.5%}.el-col-xs-9,.el-col-xs-9.is-guttered{display:block}.el-col-xs-offset-9{margin-left:37.5%}.el-col-xs-pull-9{position:relative;right:37.5%}.el-col-xs-push-9{left:37.5%;position:relative}.el-col-xs-10{display:block;flex:0 0 41.6666666667%;max-width:41.6666666667%}.el-col-xs-10.is-guttered{display:block}.el-col-xs-offset-10{margin-left:41.6666666667%}.el-col-xs-pull-10{position:relative;right:41.6666666667%}.el-col-xs-push-10{left:41.6666666667%;position:relative}.el-col-xs-11{display:block;flex:0 0 45.8333333333%;max-width:45.8333333333%}.el-col-xs-11.is-guttered{display:block}.el-col-xs-offset-11{margin-left:45.8333333333%}.el-col-xs-pull-11{position:relative;right:45.8333333333%}.el-col-xs-push-11{left:45.8333333333%;position:relative}.el-col-xs-12{display:block;flex:0 0 50%;max-width:50%}.el-col-xs-12.is-guttered{display:block}.el-col-xs-offset-12{margin-left:50%}.el-col-xs-pull-12{position:relative;right:50%}.el-col-xs-push-12{left:50%;position:relative}.el-col-xs-13{display:block;flex:0 0 54.1666666667%;max-width:54.1666666667%}.el-col-xs-13.is-guttered{display:block}.el-col-xs-offset-13{margin-left:54.1666666667%}.el-col-xs-pull-13{position:relative;right:54.1666666667%}.el-col-xs-push-13{left:54.1666666667%;position:relative}.el-col-xs-14{display:block;flex:0 0 58.3333333333%;max-width:58.3333333333%}.el-col-xs-14.is-guttered{display:block}.el-col-xs-offset-14{margin-left:58.3333333333%}.el-col-xs-pull-14{position:relative;right:58.3333333333%}.el-col-xs-push-14{left:58.3333333333%;position:relative}.el-col-xs-15{display:block;flex:0 0 62.5%;max-width:62.5%}.el-col-xs-15.is-guttered{display:block}.el-col-xs-offset-15{margin-left:62.5%}.el-col-xs-pull-15{position:relative;right:62.5%}.el-col-xs-push-15{left:62.5%;position:relative}.el-col-xs-16{display:block;flex:0 0 66.6666666667%;max-width:66.6666666667%}.el-col-xs-16.is-guttered{display:block}.el-col-xs-offset-16{margin-left:66.6666666667%}.el-col-xs-pull-16{position:relative;right:66.6666666667%}.el-col-xs-push-16{left:66.6666666667%;position:relative}.el-col-xs-17{display:block;flex:0 0 70.8333333333%;max-width:70.8333333333%}.el-col-xs-17.is-guttered{display:block}.el-col-xs-offset-17{margin-left:70.8333333333%}.el-col-xs-pull-17{position:relative;right:70.8333333333%}.el-col-xs-push-17{left:70.8333333333%;position:relative}.el-col-xs-18{display:block;flex:0 0 75%;max-width:75%}.el-col-xs-18.is-guttered{display:block}.el-col-xs-offset-18{margin-left:75%}.el-col-xs-pull-18{position:relative;right:75%}.el-col-xs-push-18{left:75%;position:relative}.el-col-xs-19{display:block;flex:0 0 79.1666666667%;max-width:79.1666666667%}.el-col-xs-19.is-guttered{display:block}.el-col-xs-offset-19{margin-left:79.1666666667%}.el-col-xs-pull-19{position:relative;right:79.1666666667%}.el-col-xs-push-19{left:79.1666666667%;position:relative}.el-col-xs-20{display:block;flex:0 0 83.3333333333%;max-width:83.3333333333%}.el-col-xs-20.is-guttered{display:block}.el-col-xs-offset-20{margin-left:83.3333333333%}.el-col-xs-pull-20{position:relative;right:83.3333333333%}.el-col-xs-push-20{left:83.3333333333%;position:relative}.el-col-xs-21{display:block;flex:0 0 87.5%;max-width:87.5%}.el-col-xs-21.is-guttered{display:block}.el-col-xs-offset-21{margin-left:87.5%}.el-col-xs-pull-21{position:relative;right:87.5%}.el-col-xs-push-21{left:87.5%;position:relative}.el-col-xs-22{display:block;flex:0 0 91.6666666667%;max-width:91.6666666667%}.el-col-xs-22.is-guttered{display:block}.el-col-xs-offset-22{margin-left:91.6666666667%}.el-col-xs-pull-22{position:relative;right:91.6666666667%}.el-col-xs-push-22{left:91.6666666667%;position:relative}.el-col-xs-23{display:block;flex:0 0 95.8333333333%;max-width:95.8333333333%}.el-col-xs-23.is-guttered{display:block}.el-col-xs-offset-23{margin-left:95.8333333333%}.el-col-xs-pull-23{position:relative;right:95.8333333333%}.el-col-xs-push-23{left:95.8333333333%;position:relative}.el-col-xs-24{display:block;flex:0 0 100%;max-width:100%}.el-col-xs-24.is-guttered{display:block}.el-col-xs-offset-24{margin-left:100%}.el-col-xs-pull-24{position:relative;right:100%}.el-col-xs-push-24{left:100%;position:relative}}@media only screen and (min-width:768px){.el-col-sm-0{display:none;flex:0 0 0%;max-width:0}.el-col-sm-0.is-guttered{display:none}.el-col-sm-offset-0{margin-left:0}.el-col-sm-pull-0{position:relative;right:0}.el-col-sm-push-0{left:0;position:relative}.el-col-sm-1{flex:0 0 4.1666666667%;max-width:4.1666666667%}.el-col-sm-1,.el-col-sm-1.is-guttered{display:block}.el-col-sm-offset-1{margin-left:4.1666666667%}.el-col-sm-pull-1{position:relative;right:4.1666666667%}.el-col-sm-push-1{left:4.1666666667%;position:relative}.el-col-sm-2{flex:0 0 8.3333333333%;max-width:8.3333333333%}.el-col-sm-2,.el-col-sm-2.is-guttered{display:block}.el-col-sm-offset-2{margin-left:8.3333333333%}.el-col-sm-pull-2{position:relative;right:8.3333333333%}.el-col-sm-push-2{left:8.3333333333%;position:relative}.el-col-sm-3{flex:0 0 12.5%;max-width:12.5%}.el-col-sm-3,.el-col-sm-3.is-guttered{display:block}.el-col-sm-offset-3{margin-left:12.5%}.el-col-sm-pull-3{position:relative;right:12.5%}.el-col-sm-push-3{left:12.5%;position:relative}.el-col-sm-4{flex:0 0 16.6666666667%;max-width:16.6666666667%}.el-col-sm-4,.el-col-sm-4.is-guttered{display:block}.el-col-sm-offset-4{margin-left:16.6666666667%}.el-col-sm-pull-4{position:relative;right:16.6666666667%}.el-col-sm-push-4{left:16.6666666667%;position:relative}.el-col-sm-5{flex:0 0 20.8333333333%;max-width:20.8333333333%}.el-col-sm-5,.el-col-sm-5.is-guttered{display:block}.el-col-sm-offset-5{margin-left:20.8333333333%}.el-col-sm-pull-5{position:relative;right:20.8333333333%}.el-col-sm-push-5{left:20.8333333333%;position:relative}.el-col-sm-6{flex:0 0 25%;max-width:25%}.el-col-sm-6,.el-col-sm-6.is-guttered{display:block}.el-col-sm-offset-6{margin-left:25%}.el-col-sm-pull-6{position:relative;right:25%}.el-col-sm-push-6{left:25%;position:relative}.el-col-sm-7{flex:0 0 29.1666666667%;max-width:29.1666666667%}.el-col-sm-7,.el-col-sm-7.is-guttered{display:block}.el-col-sm-offset-7{margin-left:29.1666666667%}.el-col-sm-pull-7{position:relative;right:29.1666666667%}.el-col-sm-push-7{left:29.1666666667%;position:relative}.el-col-sm-8{flex:0 0 33.3333333333%;max-width:33.3333333333%}.el-col-sm-8,.el-col-sm-8.is-guttered{display:block}.el-col-sm-offset-8{margin-left:33.3333333333%}.el-col-sm-pull-8{position:relative;right:33.3333333333%}.el-col-sm-push-8{left:33.3333333333%;position:relative}.el-col-sm-9{flex:0 0 37.5%;max-width:37.5%}.el-col-sm-9,.el-col-sm-9.is-guttered{display:block}.el-col-sm-offset-9{margin-left:37.5%}.el-col-sm-pull-9{position:relative;right:37.5%}.el-col-sm-push-9{left:37.5%;position:relative}.el-col-sm-10{display:block;flex:0 0 41.6666666667%;max-width:41.6666666667%}.el-col-sm-10.is-guttered{display:block}.el-col-sm-offset-10{margin-left:41.6666666667%}.el-col-sm-pull-10{position:relative;right:41.6666666667%}.el-col-sm-push-10{left:41.6666666667%;position:relative}.el-col-sm-11{display:block;flex:0 0 45.8333333333%;max-width:45.8333333333%}.el-col-sm-11.is-guttered{display:block}.el-col-sm-offset-11{margin-left:45.8333333333%}.el-col-sm-pull-11{position:relative;right:45.8333333333%}.el-col-sm-push-11{left:45.8333333333%;position:relative}.el-col-sm-12{display:block;flex:0 0 50%;max-width:50%}.el-col-sm-12.is-guttered{display:block}.el-col-sm-offset-12{margin-left:50%}.el-col-sm-pull-12{position:relative;right:50%}.el-col-sm-push-12{left:50%;position:relative}.el-col-sm-13{display:block;flex:0 0 54.1666666667%;max-width:54.1666666667%}.el-col-sm-13.is-guttered{display:block}.el-col-sm-offset-13{margin-left:54.1666666667%}.el-col-sm-pull-13{position:relative;right:54.1666666667%}.el-col-sm-push-13{left:54.1666666667%;position:relative}.el-col-sm-14{display:block;flex:0 0 58.3333333333%;max-width:58.3333333333%}.el-col-sm-14.is-guttered{display:block}.el-col-sm-offset-14{margin-left:58.3333333333%}.el-col-sm-pull-14{position:relative;right:58.3333333333%}.el-col-sm-push-14{left:58.3333333333%;position:relative}.el-col-sm-15{display:block;flex:0 0 62.5%;max-width:62.5%}.el-col-sm-15.is-guttered{display:block}.el-col-sm-offset-15{margin-left:62.5%}.el-col-sm-pull-15{position:relative;right:62.5%}.el-col-sm-push-15{left:62.5%;position:relative}.el-col-sm-16{display:block;flex:0 0 66.6666666667%;max-width:66.6666666667%}.el-col-sm-16.is-guttered{display:block}.el-col-sm-offset-16{margin-left:66.6666666667%}.el-col-sm-pull-16{position:relative;right:66.6666666667%}.el-col-sm-push-16{left:66.6666666667%;position:relative}.el-col-sm-17{display:block;flex:0 0 70.8333333333%;max-width:70.8333333333%}.el-col-sm-17.is-guttered{display:block}.el-col-sm-offset-17{margin-left:70.8333333333%}.el-col-sm-pull-17{position:relative;right:70.8333333333%}.el-col-sm-push-17{left:70.8333333333%;position:relative}.el-col-sm-18{display:block;flex:0 0 75%;max-width:75%}.el-col-sm-18.is-guttered{display:block}.el-col-sm-offset-18{margin-left:75%}.el-col-sm-pull-18{position:relative;right:75%}.el-col-sm-push-18{left:75%;position:relative}.el-col-sm-19{display:block;flex:0 0 79.1666666667%;max-width:79.1666666667%}.el-col-sm-19.is-guttered{display:block}.el-col-sm-offset-19{margin-left:79.1666666667%}.el-col-sm-pull-19{position:relative;right:79.1666666667%}.el-col-sm-push-19{left:79.1666666667%;position:relative}.el-col-sm-20{display:block;flex:0 0 83.3333333333%;max-width:83.3333333333%}.el-col-sm-20.is-guttered{display:block}.el-col-sm-offset-20{margin-left:83.3333333333%}.el-col-sm-pull-20{position:relative;right:83.3333333333%}.el-col-sm-push-20{left:83.3333333333%;position:relative}.el-col-sm-21{display:block;flex:0 0 87.5%;max-width:87.5%}.el-col-sm-21.is-guttered{display:block}.el-col-sm-offset-21{margin-left:87.5%}.el-col-sm-pull-21{position:relative;right:87.5%}.el-col-sm-push-21{left:87.5%;position:relative}.el-col-sm-22{display:block;flex:0 0 91.6666666667%;max-width:91.6666666667%}.el-col-sm-22.is-guttered{display:block}.el-col-sm-offset-22{margin-left:91.6666666667%}.el-col-sm-pull-22{position:relative;right:91.6666666667%}.el-col-sm-push-22{left:91.6666666667%;position:relative}.el-col-sm-23{display:block;flex:0 0 95.8333333333%;max-width:95.8333333333%}.el-col-sm-23.is-guttered{display:block}.el-col-sm-offset-23{margin-left:95.8333333333%}.el-col-sm-pull-23{position:relative;right:95.8333333333%}.el-col-sm-push-23{left:95.8333333333%;position:relative}.el-col-sm-24{display:block;flex:0 0 100%;max-width:100%}.el-col-sm-24.is-guttered{display:block}.el-col-sm-offset-24{margin-left:100%}.el-col-sm-pull-24{position:relative;right:100%}.el-col-sm-push-24{left:100%;position:relative}}@media only screen and (min-width:992px){.el-col-md-0{display:none;flex:0 0 0%;max-width:0}.el-col-md-0.is-guttered{display:none}.el-col-md-offset-0{margin-left:0}.el-col-md-pull-0{position:relative;right:0}.el-col-md-push-0{left:0;position:relative}.el-col-md-1{flex:0 0 4.1666666667%;max-width:4.1666666667%}.el-col-md-1,.el-col-md-1.is-guttered{display:block}.el-col-md-offset-1{margin-left:4.1666666667%}.el-col-md-pull-1{position:relative;right:4.1666666667%}.el-col-md-push-1{left:4.1666666667%;position:relative}.el-col-md-2{flex:0 0 8.3333333333%;max-width:8.3333333333%}.el-col-md-2,.el-col-md-2.is-guttered{display:block}.el-col-md-offset-2{margin-left:8.3333333333%}.el-col-md-pull-2{position:relative;right:8.3333333333%}.el-col-md-push-2{left:8.3333333333%;position:relative}.el-col-md-3{flex:0 0 12.5%;max-width:12.5%}.el-col-md-3,.el-col-md-3.is-guttered{display:block}.el-col-md-offset-3{margin-left:12.5%}.el-col-md-pull-3{position:relative;right:12.5%}.el-col-md-push-3{left:12.5%;position:relative}.el-col-md-4{flex:0 0 16.6666666667%;max-width:16.6666666667%}.el-col-md-4,.el-col-md-4.is-guttered{display:block}.el-col-md-offset-4{margin-left:16.6666666667%}.el-col-md-pull-4{position:relative;right:16.6666666667%}.el-col-md-push-4{left:16.6666666667%;position:relative}.el-col-md-5{flex:0 0 20.8333333333%;max-width:20.8333333333%}.el-col-md-5,.el-col-md-5.is-guttered{display:block}.el-col-md-offset-5{margin-left:20.8333333333%}.el-col-md-pull-5{position:relative;right:20.8333333333%}.el-col-md-push-5{left:20.8333333333%;position:relative}.el-col-md-6{flex:0 0 25%;max-width:25%}.el-col-md-6,.el-col-md-6.is-guttered{display:block}.el-col-md-offset-6{margin-left:25%}.el-col-md-pull-6{position:relative;right:25%}.el-col-md-push-6{left:25%;position:relative}.el-col-md-7{flex:0 0 29.1666666667%;max-width:29.1666666667%}.el-col-md-7,.el-col-md-7.is-guttered{display:block}.el-col-md-offset-7{margin-left:29.1666666667%}.el-col-md-pull-7{position:relative;right:29.1666666667%}.el-col-md-push-7{left:29.1666666667%;position:relative}.el-col-md-8{flex:0 0 33.3333333333%;max-width:33.3333333333%}.el-col-md-8,.el-col-md-8.is-guttered{display:block}.el-col-md-offset-8{margin-left:33.3333333333%}.el-col-md-pull-8{position:relative;right:33.3333333333%}.el-col-md-push-8{left:33.3333333333%;position:relative}.el-col-md-9{flex:0 0 37.5%;max-width:37.5%}.el-col-md-9,.el-col-md-9.is-guttered{display:block}.el-col-md-offset-9{margin-left:37.5%}.el-col-md-pull-9{position:relative;right:37.5%}.el-col-md-push-9{left:37.5%;position:relative}.el-col-md-10{display:block;flex:0 0 41.6666666667%;max-width:41.6666666667%}.el-col-md-10.is-guttered{display:block}.el-col-md-offset-10{margin-left:41.6666666667%}.el-col-md-pull-10{position:relative;right:41.6666666667%}.el-col-md-push-10{left:41.6666666667%;position:relative}.el-col-md-11{display:block;flex:0 0 45.8333333333%;max-width:45.8333333333%}.el-col-md-11.is-guttered{display:block}.el-col-md-offset-11{margin-left:45.8333333333%}.el-col-md-pull-11{position:relative;right:45.8333333333%}.el-col-md-push-11{left:45.8333333333%;position:relative}.el-col-md-12{display:block;flex:0 0 50%;max-width:50%}.el-col-md-12.is-guttered{display:block}.el-col-md-offset-12{margin-left:50%}.el-col-md-pull-12{position:relative;right:50%}.el-col-md-push-12{left:50%;position:relative}.el-col-md-13{display:block;flex:0 0 54.1666666667%;max-width:54.1666666667%}.el-col-md-13.is-guttered{display:block}.el-col-md-offset-13{margin-left:54.1666666667%}.el-col-md-pull-13{position:relative;right:54.1666666667%}.el-col-md-push-13{left:54.1666666667%;position:relative}.el-col-md-14{display:block;flex:0 0 58.3333333333%;max-width:58.3333333333%}.el-col-md-14.is-guttered{display:block}.el-col-md-offset-14{margin-left:58.3333333333%}.el-col-md-pull-14{position:relative;right:58.3333333333%}.el-col-md-push-14{left:58.3333333333%;position:relative}.el-col-md-15{display:block;flex:0 0 62.5%;max-width:62.5%}.el-col-md-15.is-guttered{display:block}.el-col-md-offset-15{margin-left:62.5%}.el-col-md-pull-15{position:relative;right:62.5%}.el-col-md-push-15{left:62.5%;position:relative}.el-col-md-16{display:block;flex:0 0 66.6666666667%;max-width:66.6666666667%}.el-col-md-16.is-guttered{display:block}.el-col-md-offset-16{margin-left:66.6666666667%}.el-col-md-pull-16{position:relative;right:66.6666666667%}.el-col-md-push-16{left:66.6666666667%;position:relative}.el-col-md-17{display:block;flex:0 0 70.8333333333%;max-width:70.8333333333%}.el-col-md-17.is-guttered{display:block}.el-col-md-offset-17{margin-left:70.8333333333%}.el-col-md-pull-17{position:relative;right:70.8333333333%}.el-col-md-push-17{left:70.8333333333%;position:relative}.el-col-md-18{display:block;flex:0 0 75%;max-width:75%}.el-col-md-18.is-guttered{display:block}.el-col-md-offset-18{margin-left:75%}.el-col-md-pull-18{position:relative;right:75%}.el-col-md-push-18{left:75%;position:relative}.el-col-md-19{display:block;flex:0 0 79.1666666667%;max-width:79.1666666667%}.el-col-md-19.is-guttered{display:block}.el-col-md-offset-19{margin-left:79.1666666667%}.el-col-md-pull-19{position:relative;right:79.1666666667%}.el-col-md-push-19{left:79.1666666667%;position:relative}.el-col-md-20{display:block;flex:0 0 83.3333333333%;max-width:83.3333333333%}.el-col-md-20.is-guttered{display:block}.el-col-md-offset-20{margin-left:83.3333333333%}.el-col-md-pull-20{position:relative;right:83.3333333333%}.el-col-md-push-20{left:83.3333333333%;position:relative}.el-col-md-21{display:block;flex:0 0 87.5%;max-width:87.5%}.el-col-md-21.is-guttered{display:block}.el-col-md-offset-21{margin-left:87.5%}.el-col-md-pull-21{position:relative;right:87.5%}.el-col-md-push-21{left:87.5%;position:relative}.el-col-md-22{display:block;flex:0 0 91.6666666667%;max-width:91.6666666667%}.el-col-md-22.is-guttered{display:block}.el-col-md-offset-22{margin-left:91.6666666667%}.el-col-md-pull-22{position:relative;right:91.6666666667%}.el-col-md-push-22{left:91.6666666667%;position:relative}.el-col-md-23{display:block;flex:0 0 95.8333333333%;max-width:95.8333333333%}.el-col-md-23.is-guttered{display:block}.el-col-md-offset-23{margin-left:95.8333333333%}.el-col-md-pull-23{position:relative;right:95.8333333333%}.el-col-md-push-23{left:95.8333333333%;position:relative}.el-col-md-24{display:block;flex:0 0 100%;max-width:100%}.el-col-md-24.is-guttered{display:block}.el-col-md-offset-24{margin-left:100%}.el-col-md-pull-24{position:relative;right:100%}.el-col-md-push-24{left:100%;position:relative}}@media only screen and (min-width:1200px){.el-col-lg-0{display:none;flex:0 0 0%;max-width:0}.el-col-lg-0.is-guttered{display:none}.el-col-lg-offset-0{margin-left:0}.el-col-lg-pull-0{position:relative;right:0}.el-col-lg-push-0{left:0;position:relative}.el-col-lg-1{flex:0 0 4.1666666667%;max-width:4.1666666667%}.el-col-lg-1,.el-col-lg-1.is-guttered{display:block}.el-col-lg-offset-1{margin-left:4.1666666667%}.el-col-lg-pull-1{position:relative;right:4.1666666667%}.el-col-lg-push-1{left:4.1666666667%;position:relative}.el-col-lg-2{flex:0 0 8.3333333333%;max-width:8.3333333333%}.el-col-lg-2,.el-col-lg-2.is-guttered{display:block}.el-col-lg-offset-2{margin-left:8.3333333333%}.el-col-lg-pull-2{position:relative;right:8.3333333333%}.el-col-lg-push-2{left:8.3333333333%;position:relative}.el-col-lg-3{flex:0 0 12.5%;max-width:12.5%}.el-col-lg-3,.el-col-lg-3.is-guttered{display:block}.el-col-lg-offset-3{margin-left:12.5%}.el-col-lg-pull-3{position:relative;right:12.5%}.el-col-lg-push-3{left:12.5%;position:relative}.el-col-lg-4{flex:0 0 16.6666666667%;max-width:16.6666666667%}.el-col-lg-4,.el-col-lg-4.is-guttered{display:block}.el-col-lg-offset-4{margin-left:16.6666666667%}.el-col-lg-pull-4{position:relative;right:16.6666666667%}.el-col-lg-push-4{left:16.6666666667%;position:relative}.el-col-lg-5{flex:0 0 20.8333333333%;max-width:20.8333333333%}.el-col-lg-5,.el-col-lg-5.is-guttered{display:block}.el-col-lg-offset-5{margin-left:20.8333333333%}.el-col-lg-pull-5{position:relative;right:20.8333333333%}.el-col-lg-push-5{left:20.8333333333%;position:relative}.el-col-lg-6{flex:0 0 25%;max-width:25%}.el-col-lg-6,.el-col-lg-6.is-guttered{display:block}.el-col-lg-offset-6{margin-left:25%}.el-col-lg-pull-6{position:relative;right:25%}.el-col-lg-push-6{left:25%;position:relative}.el-col-lg-7{flex:0 0 29.1666666667%;max-width:29.1666666667%}.el-col-lg-7,.el-col-lg-7.is-guttered{display:block}.el-col-lg-offset-7{margin-left:29.1666666667%}.el-col-lg-pull-7{position:relative;right:29.1666666667%}.el-col-lg-push-7{left:29.1666666667%;position:relative}.el-col-lg-8{flex:0 0 33.3333333333%;max-width:33.3333333333%}.el-col-lg-8,.el-col-lg-8.is-guttered{display:block}.el-col-lg-offset-8{margin-left:33.3333333333%}.el-col-lg-pull-8{position:relative;right:33.3333333333%}.el-col-lg-push-8{left:33.3333333333%;position:relative}.el-col-lg-9{flex:0 0 37.5%;max-width:37.5%}.el-col-lg-9,.el-col-lg-9.is-guttered{display:block}.el-col-lg-offset-9{margin-left:37.5%}.el-col-lg-pull-9{position:relative;right:37.5%}.el-col-lg-push-9{left:37.5%;position:relative}.el-col-lg-10{display:block;flex:0 0 41.6666666667%;max-width:41.6666666667%}.el-col-lg-10.is-guttered{display:block}.el-col-lg-offset-10{margin-left:41.6666666667%}.el-col-lg-pull-10{position:relative;right:41.6666666667%}.el-col-lg-push-10{left:41.6666666667%;position:relative}.el-col-lg-11{display:block;flex:0 0 45.8333333333%;max-width:45.8333333333%}.el-col-lg-11.is-guttered{display:block}.el-col-lg-offset-11{margin-left:45.8333333333%}.el-col-lg-pull-11{position:relative;right:45.8333333333%}.el-col-lg-push-11{left:45.8333333333%;position:relative}.el-col-lg-12{display:block;flex:0 0 50%;max-width:50%}.el-col-lg-12.is-guttered{display:block}.el-col-lg-offset-12{margin-left:50%}.el-col-lg-pull-12{position:relative;right:50%}.el-col-lg-push-12{left:50%;position:relative}.el-col-lg-13{display:block;flex:0 0 54.1666666667%;max-width:54.1666666667%}.el-col-lg-13.is-guttered{display:block}.el-col-lg-offset-13{margin-left:54.1666666667%}.el-col-lg-pull-13{position:relative;right:54.1666666667%}.el-col-lg-push-13{left:54.1666666667%;position:relative}.el-col-lg-14{display:block;flex:0 0 58.3333333333%;max-width:58.3333333333%}.el-col-lg-14.is-guttered{display:block}.el-col-lg-offset-14{margin-left:58.3333333333%}.el-col-lg-pull-14{position:relative;right:58.3333333333%}.el-col-lg-push-14{left:58.3333333333%;position:relative}.el-col-lg-15{display:block;flex:0 0 62.5%;max-width:62.5%}.el-col-lg-15.is-guttered{display:block}.el-col-lg-offset-15{margin-left:62.5%}.el-col-lg-pull-15{position:relative;right:62.5%}.el-col-lg-push-15{left:62.5%;position:relative}.el-col-lg-16{display:block;flex:0 0 66.6666666667%;max-width:66.6666666667%}.el-col-lg-16.is-guttered{display:block}.el-col-lg-offset-16{margin-left:66.6666666667%}.el-col-lg-pull-16{position:relative;right:66.6666666667%}.el-col-lg-push-16{left:66.6666666667%;position:relative}.el-col-lg-17{display:block;flex:0 0 70.8333333333%;max-width:70.8333333333%}.el-col-lg-17.is-guttered{display:block}.el-col-lg-offset-17{margin-left:70.8333333333%}.el-col-lg-pull-17{position:relative;right:70.8333333333%}.el-col-lg-push-17{left:70.8333333333%;position:relative}.el-col-lg-18{display:block;flex:0 0 75%;max-width:75%}.el-col-lg-18.is-guttered{display:block}.el-col-lg-offset-18{margin-left:75%}.el-col-lg-pull-18{position:relative;right:75%}.el-col-lg-push-18{left:75%;position:relative}.el-col-lg-19{display:block;flex:0 0 79.1666666667%;max-width:79.1666666667%}.el-col-lg-19.is-guttered{display:block}.el-col-lg-offset-19{margin-left:79.1666666667%}.el-col-lg-pull-19{position:relative;right:79.1666666667%}.el-col-lg-push-19{left:79.1666666667%;position:relative}.el-col-lg-20{display:block;flex:0 0 83.3333333333%;max-width:83.3333333333%}.el-col-lg-20.is-guttered{display:block}.el-col-lg-offset-20{margin-left:83.3333333333%}.el-col-lg-pull-20{position:relative;right:83.3333333333%}.el-col-lg-push-20{left:83.3333333333%;position:relative}.el-col-lg-21{display:block;flex:0 0 87.5%;max-width:87.5%}.el-col-lg-21.is-guttered{display:block}.el-col-lg-offset-21{margin-left:87.5%}.el-col-lg-pull-21{position:relative;right:87.5%}.el-col-lg-push-21{left:87.5%;position:relative}.el-col-lg-22{display:block;flex:0 0 91.6666666667%;max-width:91.6666666667%}.el-col-lg-22.is-guttered{display:block}.el-col-lg-offset-22{margin-left:91.6666666667%}.el-col-lg-pull-22{position:relative;right:91.6666666667%}.el-col-lg-push-22{left:91.6666666667%;position:relative}.el-col-lg-23{display:block;flex:0 0 95.8333333333%;max-width:95.8333333333%}.el-col-lg-23.is-guttered{display:block}.el-col-lg-offset-23{margin-left:95.8333333333%}.el-col-lg-pull-23{position:relative;right:95.8333333333%}.el-col-lg-push-23{left:95.8333333333%;position:relative}.el-col-lg-24{display:block;flex:0 0 100%;max-width:100%}.el-col-lg-24.is-guttered{display:block}.el-col-lg-offset-24{margin-left:100%}.el-col-lg-pull-24{position:relative;right:100%}.el-col-lg-push-24{left:100%;position:relative}}@media only screen and (min-width:1920px){.el-col-xl-0{display:none;flex:0 0 0%;max-width:0}.el-col-xl-0.is-guttered{display:none}.el-col-xl-offset-0{margin-left:0}.el-col-xl-pull-0{position:relative;right:0}.el-col-xl-push-0{left:0;position:relative}.el-col-xl-1{flex:0 0 4.1666666667%;max-width:4.1666666667%}.el-col-xl-1,.el-col-xl-1.is-guttered{display:block}.el-col-xl-offset-1{margin-left:4.1666666667%}.el-col-xl-pull-1{position:relative;right:4.1666666667%}.el-col-xl-push-1{left:4.1666666667%;position:relative}.el-col-xl-2{flex:0 0 8.3333333333%;max-width:8.3333333333%}.el-col-xl-2,.el-col-xl-2.is-guttered{display:block}.el-col-xl-offset-2{margin-left:8.3333333333%}.el-col-xl-pull-2{position:relative;right:8.3333333333%}.el-col-xl-push-2{left:8.3333333333%;position:relative}.el-col-xl-3{flex:0 0 12.5%;max-width:12.5%}.el-col-xl-3,.el-col-xl-3.is-guttered{display:block}.el-col-xl-offset-3{margin-left:12.5%}.el-col-xl-pull-3{position:relative;right:12.5%}.el-col-xl-push-3{left:12.5%;position:relative}.el-col-xl-4{flex:0 0 16.6666666667%;max-width:16.6666666667%}.el-col-xl-4,.el-col-xl-4.is-guttered{display:block}.el-col-xl-offset-4{margin-left:16.6666666667%}.el-col-xl-pull-4{position:relative;right:16.6666666667%}.el-col-xl-push-4{left:16.6666666667%;position:relative}.el-col-xl-5{flex:0 0 20.8333333333%;max-width:20.8333333333%}.el-col-xl-5,.el-col-xl-5.is-guttered{display:block}.el-col-xl-offset-5{margin-left:20.8333333333%}.el-col-xl-pull-5{position:relative;right:20.8333333333%}.el-col-xl-push-5{left:20.8333333333%;position:relative}.el-col-xl-6{flex:0 0 25%;max-width:25%}.el-col-xl-6,.el-col-xl-6.is-guttered{display:block}.el-col-xl-offset-6{margin-left:25%}.el-col-xl-pull-6{position:relative;right:25%}.el-col-xl-push-6{left:25%;position:relative}.el-col-xl-7{flex:0 0 29.1666666667%;max-width:29.1666666667%}.el-col-xl-7,.el-col-xl-7.is-guttered{display:block}.el-col-xl-offset-7{margin-left:29.1666666667%}.el-col-xl-pull-7{position:relative;right:29.1666666667%}.el-col-xl-push-7{left:29.1666666667%;position:relative}.el-col-xl-8{flex:0 0 33.3333333333%;max-width:33.3333333333%}.el-col-xl-8,.el-col-xl-8.is-guttered{display:block}.el-col-xl-offset-8{margin-left:33.3333333333%}.el-col-xl-pull-8{position:relative;right:33.3333333333%}.el-col-xl-push-8{left:33.3333333333%;position:relative}.el-col-xl-9{flex:0 0 37.5%;max-width:37.5%}.el-col-xl-9,.el-col-xl-9.is-guttered{display:block}.el-col-xl-offset-9{margin-left:37.5%}.el-col-xl-pull-9{position:relative;right:37.5%}.el-col-xl-push-9{left:37.5%;position:relative}.el-col-xl-10{display:block;flex:0 0 41.6666666667%;max-width:41.6666666667%}.el-col-xl-10.is-guttered{display:block}.el-col-xl-offset-10{margin-left:41.6666666667%}.el-col-xl-pull-10{position:relative;right:41.6666666667%}.el-col-xl-push-10{left:41.6666666667%;position:relative}.el-col-xl-11{display:block;flex:0 0 45.8333333333%;max-width:45.8333333333%}.el-col-xl-11.is-guttered{display:block}.el-col-xl-offset-11{margin-left:45.8333333333%}.el-col-xl-pull-11{position:relative;right:45.8333333333%}.el-col-xl-push-11{left:45.8333333333%;position:relative}.el-col-xl-12{display:block;flex:0 0 50%;max-width:50%}.el-col-xl-12.is-guttered{display:block}.el-col-xl-offset-12{margin-left:50%}.el-col-xl-pull-12{position:relative;right:50%}.el-col-xl-push-12{left:50%;position:relative}.el-col-xl-13{display:block;flex:0 0 54.1666666667%;max-width:54.1666666667%}.el-col-xl-13.is-guttered{display:block}.el-col-xl-offset-13{margin-left:54.1666666667%}.el-col-xl-pull-13{position:relative;right:54.1666666667%}.el-col-xl-push-13{left:54.1666666667%;position:relative}.el-col-xl-14{display:block;flex:0 0 58.3333333333%;max-width:58.3333333333%}.el-col-xl-14.is-guttered{display:block}.el-col-xl-offset-14{margin-left:58.3333333333%}.el-col-xl-pull-14{position:relative;right:58.3333333333%}.el-col-xl-push-14{left:58.3333333333%;position:relative}.el-col-xl-15{display:block;flex:0 0 62.5%;max-width:62.5%}.el-col-xl-15.is-guttered{display:block}.el-col-xl-offset-15{margin-left:62.5%}.el-col-xl-pull-15{position:relative;right:62.5%}.el-col-xl-push-15{left:62.5%;position:relative}.el-col-xl-16{display:block;flex:0 0 66.6666666667%;max-width:66.6666666667%}.el-col-xl-16.is-guttered{display:block}.el-col-xl-offset-16{margin-left:66.6666666667%}.el-col-xl-pull-16{position:relative;right:66.6666666667%}.el-col-xl-push-16{left:66.6666666667%;position:relative}.el-col-xl-17{display:block;flex:0 0 70.8333333333%;max-width:70.8333333333%}.el-col-xl-17.is-guttered{display:block}.el-col-xl-offset-17{margin-left:70.8333333333%}.el-col-xl-pull-17{position:relative;right:70.8333333333%}.el-col-xl-push-17{left:70.8333333333%;position:relative}.el-col-xl-18{display:block;flex:0 0 75%;max-width:75%}.el-col-xl-18.is-guttered{display:block}.el-col-xl-offset-18{margin-left:75%}.el-col-xl-pull-18{position:relative;right:75%}.el-col-xl-push-18{left:75%;position:relative}.el-col-xl-19{display:block;flex:0 0 79.1666666667%;max-width:79.1666666667%}.el-col-xl-19.is-guttered{display:block}.el-col-xl-offset-19{margin-left:79.1666666667%}.el-col-xl-pull-19{position:relative;right:79.1666666667%}.el-col-xl-push-19{left:79.1666666667%;position:relative}.el-col-xl-20{display:block;flex:0 0 83.3333333333%;max-width:83.3333333333%}.el-col-xl-20.is-guttered{display:block}.el-col-xl-offset-20{margin-left:83.3333333333%}.el-col-xl-pull-20{position:relative;right:83.3333333333%}.el-col-xl-push-20{left:83.3333333333%;position:relative}.el-col-xl-21{display:block;flex:0 0 87.5%;max-width:87.5%}.el-col-xl-21.is-guttered{display:block}.el-col-xl-offset-21{margin-left:87.5%}.el-col-xl-pull-21{position:relative;right:87.5%}.el-col-xl-push-21{left:87.5%;position:relative}.el-col-xl-22{display:block;flex:0 0 91.6666666667%;max-width:91.6666666667%}.el-col-xl-22.is-guttered{display:block}.el-col-xl-offset-22{margin-left:91.6666666667%}.el-col-xl-pull-22{position:relative;right:91.6666666667%}.el-col-xl-push-22{left:91.6666666667%;position:relative}.el-col-xl-23{display:block;flex:0 0 95.8333333333%;max-width:95.8333333333%}.el-col-xl-23.is-guttered{display:block}.el-col-xl-offset-23{margin-left:95.8333333333%}.el-col-xl-pull-23{position:relative;right:95.8333333333%}.el-col-xl-push-23{left:95.8333333333%;position:relative}.el-col-xl-24{display:block;flex:0 0 100%;max-width:100%}.el-col-xl-24.is-guttered{display:block}.el-col-xl-offset-24{margin-left:100%}.el-col-xl-pull-24{position:relative;right:100%}.el-col-xl-push-24{left:100%;position:relative}}.el-collapse-item.is-disabled .el-collapse-item__header{color:var(--el-text-color-disabled);cursor:not-allowed}.el-collapse-item__header{align-items:center;background-color:var(--el-collapse-header-bg-color);border:none;border-bottom:1px solid var(--el-collapse-border-color);box-sizing:border-box;color:var(--el-collapse-header-text-color);cursor:pointer;display:flex;font-size:var(--el-collapse-header-font-size);font-weight:500;line-height:var(--el-collapse-header-height);min-height:var(--el-collapse-header-height);outline:none;padding:0;transition:border-bottom-color var(--el-transition-duration);width:100%}.el-collapse-item__arrow{font-weight:300;transition:transform var(--el-transition-duration)}.el-collapse-item__arrow.is-active{transform:rotate(90deg)}.el-collapse-item__title{flex:auto;text-align:left}.el-collapse-item__header.focusing:focus:not(:hover){color:var(--el-color-primary)}.el-collapse-item__header.is-active{border-bottom-color:transparent}.el-collapse-item__wrap{background-color:var(--el-collapse-content-bg-color);border-bottom:1px solid var(--el-collapse-border-color);box-sizing:border-box;overflow:hidden;will-change:height}.el-collapse-item__content{color:var(--el-collapse-content-text-color);font-size:var(--el-collapse-content-font-size);line-height:1.7692307692;padding-bottom:25px}.el-collapse-item:last-child{margin-bottom:-1px}.el-collapse{--el-collapse-border-color:var(--el-border-color-lighter);--el-collapse-header-height:48px;--el-collapse-header-bg-color:var(--el-fill-color-blank);--el-collapse-header-text-color:var(--el-text-color-primary);--el-collapse-header-font-size:13px;--el-collapse-content-bg-color:var(--el-fill-color-blank);--el-collapse-content-font-size:13px;--el-collapse-content-text-color:var(--el-text-color-primary);border-bottom:1px solid var(--el-collapse-border-color);border-top:1px solid var(--el-collapse-border-color)}.el-collapse-icon-position-left .el-collapse-item__header{gap:8px}.el-collapse-icon-position-left .el-collapse-item__title{order:1}.el-collapse-icon-position-right .el-collapse-item__header{padding-right:8px}.el-color-picker-panel{--el-colorpicker-bg-color:var(--el-bg-color-overlay);--el-fill-color-blank:var(--el-colorpicker-bg-color);background:var(--el-colorpicker-bg-color);box-sizing:content-box;padding:12px;width:300px}.el-color-picker-panel.is-border{border:1px solid var(--el-border-color-lighter);border-radius:4px}.el-color-picker-panel__wrapper{margin-bottom:6px}.el-color-picker-panel__footer{display:flex;justify-content:space-between;margin-top:12px;text-align:right}.el-color-picker-panel__footer .el-input{color:#000000;font-size:12px;line-height:26px;width:160px}.el-color-picker-panel.is-disabled .el-color-hue-slider,.el-color-picker-panel.is-disabled .el-color-svpanel{cursor:not-allowed;opacity:.3}.el-color-picker-panel.is-disabled .el-color-hue-slider__thumb{cursor:not-allowed}.el-color-picker-panel.is-disabled .el-color-alpha-slider,.el-color-picker-panel.is-disabled .el-color-predefine .el-color-predefine__color-selector{cursor:not-allowed;opacity:.3}.el-color-predefine{display:flex;font-size:12px;margin-top:8px;width:280px}.el-color-predefine__colors{display:flex;flex:1;flex-wrap:wrap;gap:8px}.el-color-predefine__color-selector{border:none;border-radius:var(--el-border-radius-base);cursor:pointer;height:20px;outline:none;overflow:hidden;padding:0;width:20px}.el-color-predefine__color-selector.selected{box-shadow:0 0 3px 2px var(--el-color-primary)}.el-color-predefine__color-selector:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:2px}.el-color-predefine__color-selector>div{display:flex;height:100%}.el-color-predefine__color-selector.is-alpha{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==)}.el-color-hue-slider{background-color:#f00;box-sizing:border-box;float:right;height:12px;padding:0 2px;position:relative;width:280px}.el-color-hue-slider__bar{background:linear-gradient(90deg,#f00 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,#f00);height:100%;position:relative}.el-color-hue-slider__thumb{background:#fff;border:1px solid var(--el-border-color-lighter);border-radius:1px;box-shadow:0 0 2px rgba(0,0,0,.6);box-sizing:border-box;cursor:pointer;height:100%;left:0;position:absolute;top:0;width:4px;z-index:1}.el-color-hue-slider__thumb:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:1px}.el-color-hue-slider.is-vertical{height:180px;padding:2px 0;width:12px}.el-color-hue-slider.is-vertical .el-color-hue-slider__bar{background:linear-gradient(180deg,#f00 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,#f00)}.el-color-hue-slider.is-vertical .el-color-hue-slider__thumb{height:4px;left:0;top:0;width:100%}.el-color-svpanel{background-image:linear-gradient(0deg,#000,rgba(0,0,0,0)),linear-gradient(90deg,#fff,rgba(255,255,255,0));height:180px;position:relative;width:280px}.el-color-svpanel__cursor{border-radius:50%;box-shadow:0 0 0 1.5px #fff,inset 0 0 1px 1px rgba(0,0,0,.3),0 0 1px 2px rgba(0,0,0,.4);cursor:pointer;height:4px;position:absolute;transform:translate(-2px,-2px);width:4px}.el-color-svpanel__cursor:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:2px}.el-color-alpha-slider{background-image:linear-gradient(45deg,var(--el-color-picker-alpha-bg-a) 25%,var(--el-color-picker-alpha-bg-b) 25%),linear-gradient(135deg,var(--el-color-picker-alpha-bg-a) 25%,var(--el-color-picker-alpha-bg-b) 25%),linear-gradient(45deg,var(--el-color-picker-alpha-bg-b) 75%,var(--el-color-picker-alpha-bg-a) 75%),linear-gradient(135deg,var(--el-color-picker-alpha-bg-b) 75%,var(--el-color-picker-alpha-bg-a) 75%);background-position:0 0,6px 0,6px -6px,0 6px;background-size:12px 12px;box-sizing:border-box;height:12px;position:relative;width:280px}.el-color-alpha-slider.is-disabled .el-color-alpha-slider__thumb{cursor:not-allowed}.el-color-alpha-slider__bar{background:linear-gradient(to right,rgba(255,255,255,0) 0,var(--el-bg-color) 100%);height:100%;position:relative}.el-color-alpha-slider__thumb{background:#fff;border:1px solid var(--el-border-color-lighter);border-radius:1px;box-shadow:0 0 2px rgba(0,0,0,.6);box-sizing:border-box;cursor:pointer;height:100%;left:0;position:absolute;top:0;width:4px;z-index:1}.el-color-alpha-slider__thumb:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:1px}.el-color-alpha-slider.is-vertical{height:180px;width:20px}.el-color-alpha-slider.is-vertical .el-color-alpha-slider__bar{background:linear-gradient(180deg,rgba(255,255,255,0) 0,rgb(255,255,255))}.el-color-alpha-slider.is-vertical .el-color-alpha-slider__thumb{height:4px;left:0;top:0;width:100%}.el-color-picker-panel{--el-color-picker-alpha-bg-a:#ccc;--el-color-picker-alpha-bg-b:transparent}.dark .el-color-picker-panel{--el-color-picker-alpha-bg-a:#333333}.el-color-picker{display:inline-block;height:32px;line-height:normal;outline:none;position:relative;width:32px}.el-color-picker:hover:not(.is-disabled,.is-focused) .el-color-picker__trigger{border-color:var(--el-border-color-hover)}.el-color-picker:focus-visible:not(.is-disabled) .el-color-picker__trigger{outline:2px solid var(--el-color-primary);outline-offset:1px}.el-color-picker.is-focused .el-color-picker__trigger{border-color:var(--el-color-primary)}.el-color-picker.is-disabled .el-color-picker__trigger{background-color:var(--el-fill-color-light);cursor:not-allowed}.el-color-picker.is-disabled .el-color-picker__color{opacity:.3}.el-color-picker--large{height:40px;width:40px}.el-color-picker--small{height:24px;width:24px}.el-color-picker--small .el-color-picker__empty,.el-color-picker--small .el-color-picker__icon{transform:scale(.8)}.el-color-picker__trigger{align-items:center;border:1px solid var(--el-border-color);border-radius:4px;cursor:pointer;display:inline-flex;font-size:0;justify-content:center;padding:4px}.el-color-picker__color,.el-color-picker__trigger{box-sizing:border-box;height:100%;position:relative;width:100%}.el-color-picker__color{border:1px solid var(--el-text-color-secondary);border-radius:var(--el-border-radius-small);display:block;text-align:center}.el-color-picker__color.is-alpha{background-image:linear-gradient(45deg,var(--el-color-picker-alpha-bg-a) 25%,var(--el-color-picker-alpha-bg-b) 25%),linear-gradient(135deg,var(--el-color-picker-alpha-bg-a) 25%,var(--el-color-picker-alpha-bg-b) 25%),linear-gradient(45deg,var(--el-color-picker-alpha-bg-b) 75%,var(--el-color-picker-alpha-bg-a) 75%),linear-gradient(135deg,var(--el-color-picker-alpha-bg-b) 75%,var(--el-color-picker-alpha-bg-a) 75%);background-position:0 0,6px 0,6px -6px,0 6px;background-size:12px 12px}.el-color-picker__color-inner{align-items:center;display:inline-flex;height:100%;justify-content:center;width:100%}.el-color-picker .el-color-picker__empty{color:var(--el-text-color-secondary);font-size:12px}.el-color-picker .el-color-picker__icon{align-items:center;color:#ffffff;display:inline-flex;font-size:12px;justify-content:center}.el-color-picker__panel{background-color:#ffffff;border-radius:var(--el-border-radius-base);box-shadow:var(--el-box-shadow-light)}.el-color-picker__panel.el-popper{border:1px solid var(--el-border-color-lighter)}.el-color-picker,.el-color-picker__panel{--el-color-picker-alpha-bg-a:#ccc;--el-color-picker-alpha-bg-b:transparent}.dark .el-color-picker,.dark .el-color-picker__panel{--el-color-picker-alpha-bg-a:#333333}.el-container{box-sizing:border-box;display:flex;flex:1;flex-basis:auto;flex-direction:row;min-width:0}.el-container.is-vertical{flex-direction:column}.el-date-table{font-size:12px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-date-table.is-week-mode .el-date-table__row:hover .el-date-table-cell{background-color:var(--el-datepicker-inrange-bg-color)}.el-date-table.is-week-mode .el-date-table__row:hover td.available:hover{color:var(--el-datepicker-text-color)}.el-date-table.is-week-mode .el-date-table__row:hover td:first-child .el-date-table-cell{border-bottom-left-radius:15px;border-top-left-radius:15px;margin-left:5px}.el-date-table.is-week-mode .el-date-table__row:hover td:last-child .el-date-table-cell{border-bottom-right-radius:15px;border-top-right-radius:15px;margin-right:5px}.el-date-table.is-week-mode .el-date-table__row.current .el-date-table-cell{background-color:var(--el-datepicker-inrange-bg-color)}.el-date-table td{box-sizing:border-box;cursor:pointer;height:30px;padding:4px 0;position:relative;text-align:center;width:32px}.el-date-table td .el-date-table-cell{box-sizing:border-box;height:30px;padding:3px 0}.el-date-table td .el-date-table-cell .el-date-table-cell__text{border-radius:50%;display:block;height:24px;left:50%;line-height:24px;margin:0 auto;position:absolute;transform:translateX(-50%);width:24px}.el-date-table td.next-month,.el-date-table td.prev-month{color:var(--el-datepicker-off-text-color)}.el-date-table td.today{position:relative}.el-date-table td.today .el-date-table-cell__text{color:var(--el-color-primary);font-weight:bold}.el-date-table td.today.end-date .el-date-table-cell__text,.el-date-table td.today.start-date .el-date-table-cell__text{color:#ffffff}.el-date-table td.available:hover{color:var(--el-datepicker-hover-text-color)}.el-date-table td.in-range .el-date-table-cell{background-color:var(--el-datepicker-inrange-bg-color)}.el-date-table td.in-range .el-date-table-cell:hover{background-color:var(--el-datepicker-inrange-hover-bg-color)}.el-date-table td.current:not(.disabled) .el-date-table-cell__text{background-color:var(--el-datepicker-active-color);color:#ffffff}.el-date-table td.current:not(.disabled):focus-visible .el-date-table-cell__text{outline:2px solid var(--el-datepicker-active-color);outline-offset:1px}.el-date-table td.end-date .el-date-table-cell,.el-date-table td.start-date .el-date-table-cell{color:#ffffff}.el-date-table td.end-date .el-date-table-cell__text,.el-date-table td.start-date .el-date-table-cell__text{background-color:var(--el-datepicker-active-color)}.el-date-table td.start-date .el-date-table-cell{border-bottom-left-radius:15px;border-top-left-radius:15px;margin-left:5px}.el-date-table td.end-date .el-date-table-cell{border-bottom-right-radius:15px;border-top-right-radius:15px;margin-right:5px}.el-date-table td.disabled .el-date-table-cell{background-color:var(--el-fill-color-light);color:var(--el-text-color-placeholder);cursor:not-allowed;opacity:1}.el-date-table td.selected .el-date-table-cell{border-radius:15px;margin-left:5px;margin-right:5px}.el-date-table td.selected .el-date-table-cell__text{background-color:var(--el-datepicker-active-color);border-radius:15px;color:#ffffff}.el-date-table td.week{color:var(--el-datepicker-off-text-color);cursor:default;font-size:80%}.el-date-table td:focus{outline:none}.el-date-table th{border-bottom:1px solid var(--el-border-color-lighter);color:var(--el-datepicker-header-text-color);font-weight:400;padding:5px}.el-date-table th.el-date-table__week-header{padding:0;width:24px}.el-month-table{border-collapse:collapse;font-size:12px;margin:-1px}.el-month-table td{cursor:pointer;padding:8px 0;position:relative;text-align:center;width:68px}.el-month-table td .el-date-table-cell{box-sizing:border-box;height:48px;padding:6px 0}.el-month-table td.today .el-date-table-cell__text{color:var(--el-color-primary);font-weight:bold}.el-month-table td.today.end-date .el-date-table-cell__text,.el-month-table td.today.start-date .el-date-table-cell__text{color:#ffffff}.el-month-table td.disabled .el-date-table-cell__text{background-color:var(--el-fill-color-light);color:var(--el-text-color-placeholder);cursor:not-allowed}.el-month-table td.disabled .el-date-table-cell__text:hover{color:var(--el-text-color-placeholder)}.el-month-table td .el-date-table-cell__text{border-radius:18px;color:var(--el-datepicker-text-color);display:block;height:36px;left:50%;line-height:36px;margin:0 auto;position:absolute;transform:translateX(-50%);width:54px}.el-month-table td .el-date-table-cell__text:hover{color:var(--el-datepicker-hover-text-color)}.el-month-table td.in-range .el-date-table-cell{background-color:var(--el-datepicker-inrange-bg-color)}.el-month-table td.in-range .el-date-table-cell:hover{background-color:var(--el-datepicker-inrange-hover-bg-color)}.el-month-table td.end-date .el-date-table-cell,.el-month-table td.start-date .el-date-table-cell{color:#ffffff}.el-month-table td.end-date .el-date-table-cell__text,.el-month-table td.start-date .el-date-table-cell__text{background-color:var(--el-datepicker-active-color);color:#ffffff}.el-month-table td.start-date .el-date-table-cell{border-bottom-left-radius:24px;border-top-left-radius:24px;margin-left:3px}.el-month-table td.end-date .el-date-table-cell{border-bottom-right-radius:24px;border-top-right-radius:24px;margin-right:3px}.el-month-table td.current:not(.disabled) .el-date-table-cell{border-radius:24px;margin-left:3px;margin-right:3px}.el-month-table td.current:not(.disabled) .el-date-table-cell__text{background-color:var(--el-datepicker-active-color);color:#ffffff}.el-month-table td:focus-visible{outline:none}.el-month-table td:focus-visible .el-date-table-cell__text{outline:2px solid var(--el-datepicker-active-color);outline-offset:1px}.el-year-table{border-collapse:collapse;font-size:12px;margin:-1px}.el-year-table .el-icon{color:var(--el-datepicker-icon-color)}.el-year-table td{cursor:pointer;padding:8px 0;position:relative;text-align:center;width:68px}.el-year-table td .el-date-table-cell{box-sizing:border-box;height:48px;padding:6px 0}.el-year-table td.today .el-date-table-cell__text{color:var(--el-color-primary);font-weight:bold}.el-year-table td.today.end-date .el-date-table-cell__text,.el-year-table td.today.start-date .el-date-table-cell__text{color:#ffffff}.el-year-table td.disabled .el-date-table-cell__text{background-color:var(--el-fill-color-light);color:var(--el-text-color-placeholder);cursor:not-allowed}.el-year-table td.disabled .el-date-table-cell__text:hover{color:var(--el-text-color-placeholder)}.el-year-table td .el-date-table-cell__text{border-radius:18px;color:var(--el-datepicker-text-color);display:block;height:36px;left:50%;line-height:36px;margin:0 auto;position:absolute;transform:translateX(-50%);width:60px}.el-year-table td .el-date-table-cell__text:hover{color:var(--el-datepicker-hover-text-color)}.el-year-table td.in-range .el-date-table-cell{background-color:var(--el-datepicker-inrange-bg-color)}.el-year-table td.in-range .el-date-table-cell:hover{background-color:var(--el-datepicker-inrange-hover-bg-color)}.el-year-table td.end-date .el-date-table-cell,.el-year-table td.start-date .el-date-table-cell{color:#ffffff}.el-year-table td.end-date .el-date-table-cell__text,.el-year-table td.start-date .el-date-table-cell__text{background-color:var(--el-datepicker-active-color);color:#ffffff}.el-year-table td.start-date .el-date-table-cell{border-bottom-left-radius:24px;border-top-left-radius:24px}.el-year-table td.end-date .el-date-table-cell{border-bottom-right-radius:24px;border-top-right-radius:24px}.el-year-table td.current:not(.disabled) .el-date-table-cell__text{background-color:var(--el-datepicker-active-color);color:#ffffff}.el-year-table td:focus-visible{outline:none}.el-year-table td:focus-visible .el-date-table-cell__text{outline:2px solid var(--el-datepicker-active-color);outline-offset:1px}.el-time-spinner.has-seconds .el-time-spinner__wrapper{width:33.3%}.el-time-spinner__wrapper{display:inline-block;max-height:192px;overflow:auto;position:relative;vertical-align:top;width:50%}.el-time-spinner__wrapper.el-scrollbar__wrap:not(.el-scrollbar__wrap--hidden-default){padding-bottom:15px}.el-time-spinner__wrapper.is-arrow{box-sizing:border-box;overflow:hidden;text-align:center}.el-time-spinner__wrapper.is-arrow .el-time-spinner__list{transform:translateY(-32px)}.el-time-spinner__wrapper.is-arrow .el-time-spinner__item:hover:not(.is-disabled):not(.is-active){background:var(--el-fill-color-light);cursor:default}.el-time-spinner__arrow{color:var(--el-text-color-secondary);cursor:pointer;font-size:12px;height:30px;left:0;line-height:30px;position:absolute;text-align:center;width:100%;z-index:var(--el-index-normal)}.el-time-spinner__arrow:hover{color:var(--el-color-primary)}.el-time-spinner__arrow.arrow-up{top:10px}.el-time-spinner__arrow.arrow-down{bottom:10px}.el-time-spinner__input.el-input{width:70%}.el-time-spinner__input.el-input .el-input__inner,.el-time-spinner__list{padding:0;text-align:center}.el-time-spinner__list{list-style:none;margin:0}.el-time-spinner__list:after,.el-time-spinner__list:before{content:"";display:block;height:80px;width:100%}.el-time-spinner__item{color:var(--el-text-color-regular);font-size:12px;height:32px;line-height:32px}.el-time-spinner__item:hover:not(.is-disabled):not(.is-active){background:var(--el-fill-color-light);cursor:pointer}.el-time-spinner__item.is-active:not(.is-disabled){color:var(--el-text-color-primary);font-weight:bold}.el-time-spinner__item.is-disabled{color:var(--el-text-color-placeholder);cursor:not-allowed}.el-picker__popper{--el-datepicker-border-color:var(--el-disabled-border-color)}.el-picker__popper.el-popper{background:var(--el-bg-color-overlay);box-shadow:var(--el-box-shadow-light)}.el-picker__popper.el-popper,.el-picker__popper.el-popper .el-popper__arrow:before{border:1px solid var(--el-datepicker-border-color)}.el-picker__popper.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-left-color:transparent;border-top-color:transparent}.el-picker__popper.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent;border-right-color:transparent}.el-picker__popper.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-bottom-color:transparent;border-left-color:transparent}.el-picker__popper.el-popper[data-popper-placement^=right] .el-popper__arrow:before{border-right-color:transparent;border-top-color:transparent}.el-date-editor{--el-date-editor-width:220px;--el-date-editor-monthrange-width:300px;--el-date-editor-daterange-width:350px;--el-date-editor-datetimerange-width:400px;--el-input-text-color:var(--el-text-color-regular);--el-input-border:var(--el-border);--el-input-hover-border:var(--el-border-color-hover);--el-input-focus-border:var(--el-color-primary);--el-input-transparent-border:0 0 0 1px transparent inset;--el-input-border-color:var(--el-border-color);--el-input-border-radius:var(--el-border-radius-base);--el-input-bg-color:var(--el-fill-color-blank);--el-input-icon-color:var(--el-text-color-placeholder);--el-input-placeholder-color:var(--el-text-color-placeholder);--el-input-hover-border-color:var(--el-border-color-hover);--el-input-clear-hover-color:var(--el-text-color-secondary);--el-input-focus-border-color:var(--el-color-primary);--el-input-width:100%;position:relative;text-align:left;vertical-align:middle}.el-date-editor.el-input__wrapper{box-shadow:0 0 0 1px var(--el-input-border-color,var(--el-border-color)) inset}.el-date-editor.el-input__wrapper:hover{box-shadow:0 0 0 1px var(--el-input-hover-border-color) inset}.el-date-editor.is-focus .el-input__wrapper{box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset}.el-date-editor.el-input,.el-date-editor.el-input__wrapper{height:var(--el-input-height,var(--el-component-size));width:var(--el-date-editor-width)}.el-date-editor--monthrange{--el-date-editor-width:var(--el-date-editor-monthrange-width)}.el-date-editor--daterange,.el-date-editor--timerange{--el-date-editor-width:var(--el-date-editor-daterange-width)}.el-date-editor--datetimerange{--el-date-editor-width:var(--el-date-editor-datetimerange-width)}.el-date-editor--dates .el-input__wrapper{text-overflow:ellipsis;white-space:nowrap}.el-date-editor .clear-icon,.el-date-editor .close-icon{cursor:pointer}.el-date-editor .clear-icon:hover{color:var(--el-input-clear-hover-color)}.el-date-editor .el-range__icon{color:var(--el-text-color-placeholder);float:left;font-size:14px;height:inherit}.el-date-editor .el-range__icon svg{vertical-align:middle}.el-date-editor .el-range-input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;border:none;color:var(--el-text-color-regular);display:inline-block;font-size:var(--el-font-size-base);height:30px;line-height:30px;margin:0;outline:none;padding:0;text-align:center;width:39%}.el-date-editor .el-range-input::-moz-placeholder{color:var(--el-text-color-placeholder)}.el-date-editor .el-range-input::placeholder{color:var(--el-text-color-placeholder)}.el-date-editor .el-range-separator{align-items:center;color:var(--el-text-color-primary);display:inline-flex;flex:1;font-size:14px;height:100%;justify-content:center;margin:0;overflow-wrap:break-word;padding:0 5px}.el-date-editor .el-range__close-icon{color:var(--el-text-color-placeholder);cursor:pointer;font-size:14px;height:inherit;width:unset}.el-date-editor .el-range__close-icon:hover{color:var(--el-input-clear-hover-color)}.el-date-editor .el-range__close-icon svg{vertical-align:middle}.el-date-editor .el-range__close-icon--hidden{opacity:0;visibility:hidden}.el-range-editor.el-input__wrapper{align-items:center;display:inline-flex;padding:0 10px;vertical-align:middle}.el-range-editor.is-active,.el-range-editor.is-active:hover{box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset}.el-range-editor--large{line-height:var(--el-component-size-large)}.el-range-editor--large.el-input__wrapper{height:var(--el-component-size-large)}.el-range-editor--large .el-range-separator{font-size:14px;line-height:40px}.el-range-editor--large .el-range-input{font-size:14px;height:38px;line-height:38px}.el-range-editor--small{line-height:var(--el-component-size-small)}.el-range-editor--small.el-input__wrapper{height:var(--el-component-size-small)}.el-range-editor--small .el-range-separator{font-size:12px;line-height:24px}.el-range-editor--small .el-range-input{font-size:12px;height:22px;line-height:22px}.el-range-editor.is-disabled{background-color:var(--el-disabled-bg-color);color:var(--el-disabled-text-color);cursor:not-allowed}.el-range-editor.is-disabled,.el-range-editor.is-disabled:focus,.el-range-editor.is-disabled:hover{border-color:var(--el-disabled-border-color)}.el-range-editor.is-disabled input{background-color:var(--el-disabled-bg-color);color:var(--el-disabled-text-color);cursor:not-allowed}.el-range-editor.is-disabled input::-moz-placeholder{color:var(--el-text-color-placeholder)}.el-range-editor.is-disabled input::placeholder{color:var(--el-text-color-placeholder)}.el-range-editor.is-disabled .el-range-separator{color:var(--el-disabled-text-color)}.el-picker-panel{background:var(--el-datepicker-bg-color);border-radius:var(--el-popper-border-radius,var(--el-border-radius-base));color:var(--el-text-color-regular);line-height:30px}.el-picker-panel .el-time-panel{background-color:var(--el-datepicker-bg-color);border:1px solid var(--el-datepicker-border-color);box-shadow:var(--el-box-shadow-light);margin:5px 0}.el-picker-panel__body-wrapper:after,.el-picker-panel__body:after{clear:both;content:"";display:table}.el-picker-panel__content{margin:15px;position:relative}.el-picker-panel__footer{background-color:var(--el-datepicker-bg-color);border-top:1px solid var(--el-datepicker-inner-border-color);font-size:0;padding:4px 12px;position:relative;text-align:right}.el-picker-panel__shortcut{background-color:transparent;border:0;color:var(--el-datepicker-text-color);cursor:pointer;display:block;font-size:14px;line-height:28px;outline:none;padding-left:12px;text-align:left;width:100%}.el-picker-panel__shortcut:hover{color:var(--el-datepicker-hover-text-color)}.el-picker-panel__shortcut.active{background-color:#e6f1fe;color:var(--el-datepicker-active-color)}.el-picker-panel__btn{background-color:transparent;border:1px solid var(--el-fill-color-darker);border-radius:2px;color:var(--el-text-color-primary);cursor:pointer;font-size:12px;line-height:24px;outline:none;padding:0 20px}.el-picker-panel__btn[disabled]{color:var(--el-text-color-disabled);cursor:not-allowed}.el-picker-panel__icon-btn{background:transparent;border:0;color:var(--el-datepicker-icon-color);cursor:pointer;font-size:12px;line-height:1;margin-top:8px;outline:none;padding:1px 6px}.el-picker-panel__icon-btn:hover{color:var(--el-datepicker-hover-text-color)}.el-picker-panel__icon-btn:focus-visible{color:var(--el-datepicker-hover-text-color)}.el-picker-panel__icon-btn.is-disabled{color:var(--el-text-color-disabled)}.el-picker-panel__icon-btn.is-disabled:hover{cursor:not-allowed}.el-picker-panel__icon-btn.is-disabled .el-icon{cursor:inherit}.el-picker-panel__icon-btn .el-icon{cursor:pointer;font-size:inherit}.el-picker-panel__link-btn{vertical-align:middle}.el-picker-panel.is-disabled .el-picker-panel__prev-btn{color:var(--el-text-color-disabled)}.el-picker-panel.is-disabled .el-picker-panel__prev-btn:hover{cursor:not-allowed}.el-picker-panel.is-disabled .el-picker-panel__prev-btn .el-icon{cursor:inherit}.el-picker-panel.is-disabled .el-picker-panel__next-btn{color:var(--el-text-color-disabled)}.el-picker-panel.is-disabled .el-picker-panel__next-btn:hover{cursor:not-allowed}.el-picker-panel.is-disabled .el-picker-panel__next-btn .el-icon{cursor:inherit}.el-picker-panel.is-disabled .el-picker-panel__icon-btn{color:var(--el-text-color-disabled)}.el-picker-panel.is-disabled .el-picker-panel__icon-btn:hover{cursor:not-allowed}.el-picker-panel.is-disabled .el-picker-panel__icon-btn .el-icon{cursor:inherit}.el-picker-panel.is-disabled .el-picker-panel__shortcut{color:var(--el-text-color-disabled)}.el-picker-panel.is-disabled .el-picker-panel__shortcut:hover{cursor:not-allowed}.el-picker-panel.is-disabled .el-picker-panel__shortcut .el-icon{cursor:inherit}.el-picker-panel [slot=sidebar],.el-picker-panel__sidebar{border-right:1px solid var(--el-datepicker-inner-border-color);bottom:0;box-sizing:border-box;overflow:auto;padding-top:6px;position:absolute;top:0;width:110px}.el-picker-panel [slot=sidebar]+.el-picker-panel__body,.el-picker-panel__sidebar+.el-picker-panel__body{margin-left:110px}.el-date-picker{--el-datepicker-text-color:var(--el-text-color-regular);--el-datepicker-off-text-color:var(--el-text-color-placeholder);--el-datepicker-header-text-color:var(--el-text-color-regular);--el-datepicker-icon-color:var(--el-text-color-primary);--el-datepicker-border-color:var(--el-disabled-border-color);--el-datepicker-inner-border-color:var(--el-border-color-light);--el-datepicker-inrange-bg-color:var(--el-border-color-extra-light);--el-datepicker-inrange-hover-bg-color:var(--el-border-color-extra-light);--el-datepicker-active-color:var(--el-color-primary);--el-datepicker-hover-text-color:var(--el-color-primary);--el-datepicker-bg-color:var(--el-bg-color-overlay);--el-fill-color-blank:var(--el-datepicker-bg-color);width:322px}.el-date-picker.has-sidebar.has-time{width:434px}.el-date-picker.has-sidebar{width:438px}.el-date-picker.has-time .el-picker-panel__body-wrapper{position:relative}.el-date-picker .el-picker-panel__content{width:292px}.el-date-picker table{table-layout:fixed;width:100%}.el-date-picker__editor-wrap{display:table-cell;padding:0 5px;position:relative}.el-date-picker__time-header{border-bottom:1px solid var(--el-datepicker-inner-border-color);box-sizing:border-box;display:table;font-size:12px;padding:8px 5px 5px;position:relative;width:100%}.el-date-picker__header{padding:12px 12px 0;text-align:center}.el-date-picker__header--bordered{border-bottom:1px solid var(--el-border-color-lighter);margin-bottom:0;padding-bottom:12px}.el-date-picker__header--bordered+.el-picker-panel__content{margin-top:0}.el-date-picker__header-label{color:var(--el-text-color-regular);cursor:pointer;font-size:16px;font-weight:500;line-height:22px;padding:0 5px;text-align:center}.el-date-picker__header-label:hover{color:var(--el-datepicker-hover-text-color)}.el-date-picker__header-label:focus-visible{color:var(--el-datepicker-hover-text-color);outline:none}.el-date-picker__header-label.active{color:var(--el-datepicker-active-color)}.el-date-picker__prev-btn{float:left}.el-date-picker__next-btn{float:right}.el-date-picker__time-wrap{padding:10px;text-align:center}.el-date-picker__time-label{cursor:pointer;float:left;line-height:30px;margin-left:10px}.el-date-picker .el-time-panel{position:absolute}.el-date-picker.is-disabled .el-date-picker__header-label{color:var(--el-text-color-disabled)}.el-date-picker.is-disabled .el-date-picker__header-label:hover{cursor:not-allowed}.el-date-picker.is-disabled .el-date-picker__header-label .el-icon{cursor:inherit}.el-date-range-picker{--el-datepicker-text-color:var(--el-text-color-regular);--el-datepicker-off-text-color:var(--el-text-color-placeholder);--el-datepicker-header-text-color:var(--el-text-color-regular);--el-datepicker-icon-color:var(--el-text-color-primary);--el-datepicker-border-color:var(--el-disabled-border-color);--el-datepicker-inner-border-color:var(--el-border-color-light);--el-datepicker-inrange-bg-color:var(--el-border-color-extra-light);--el-datepicker-inrange-hover-bg-color:var(--el-border-color-extra-light);--el-datepicker-active-color:var(--el-color-primary);--el-datepicker-hover-text-color:var(--el-color-primary);--el-datepicker-bg-color:var(--el-bg-color-overlay);width:646px}.el-date-range-picker.has-sidebar{width:756px}.el-date-range-picker.has-time .el-picker-panel__body-wrapper{position:relative}.el-date-range-picker table{table-layout:fixed;width:100%}.el-date-range-picker .el-picker-panel__body{min-width:513px}.el-date-range-picker .el-picker-panel__content{margin:0}.el-date-range-picker__header{height:28px;position:relative;text-align:center}.el-date-range-picker__header [class*=arrow-left]{float:left}.el-date-range-picker__header [class*=arrow-right]{float:right}.el-date-range-picker__header div{font-size:16px;font-weight:500;margin-right:50px}.el-date-range-picker__header-label{color:var(--el-text-color-regular);cursor:pointer;font-size:16px;font-weight:500;line-height:22px;padding:0 5px;text-align:center}.el-date-range-picker__header-label:hover{color:var(--el-datepicker-hover-text-color)}.el-date-range-picker__header-label:focus-visible{color:var(--el-datepicker-hover-text-color);outline:none}.el-date-range-picker__header-label.active{color:var(--el-datepicker-active-color)}.el-date-range-picker__content{box-sizing:border-box;display:table-cell;margin:0;padding:16px;width:50%}.el-date-range-picker__content.is-left{border-right:1px solid var(--el-datepicker-inner-border-color)}.el-date-range-picker__content .el-date-range-picker__header div{margin-left:50px;margin-right:50px}.el-date-range-picker__editors-wrap{box-sizing:border-box;display:table-cell}.el-date-range-picker__editors-wrap.is-right{text-align:right}.el-date-range-picker__time-header{border-bottom:1px solid var(--el-datepicker-inner-border-color);box-sizing:border-box;display:table;font-size:12px;padding:8px 5px 5px;position:relative;width:100%}.el-date-range-picker__time-header>.el-icon-arrow-right{color:var(--el-datepicker-icon-color);display:table-cell;font-size:20px;vertical-align:middle}.el-date-range-picker__time-picker-wrap{display:table-cell;padding:0 5px;position:relative}.el-date-range-picker__time-picker-wrap .el-picker-panel{background:#ffffff;position:absolute;right:0;top:13px;z-index:1}.el-date-range-picker__time-picker-wrap .el-time-panel{position:absolute}.el-date-range-picker.is-disabled .el-date-range-picker__header-label{color:var(--el-text-color-disabled)}.el-date-range-picker.is-disabled .el-date-range-picker__header-label:hover{cursor:not-allowed}.el-date-range-picker.is-disabled .el-date-range-picker__header-label .el-icon{cursor:inherit}.el-time-range-picker{overflow:visible;width:354px}.el-time-range-picker__content{padding:10px;position:relative;text-align:center;z-index:1}.el-time-range-picker__cell{box-sizing:border-box;display:inline-block;margin:0;padding:4px 7px 7px;width:50%}.el-time-range-picker__header{font-size:14px;margin-bottom:5px;text-align:center}.el-time-range-picker__body{border:1px solid var(--el-datepicker-border-color);border-radius:2px}.el-time-panel{border-radius:2px;box-sizing:content-box;left:0;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:180px;z-index:var(--el-index-top)}.el-time-panel__content{font-size:0;overflow:hidden;position:relative}.el-time-panel__content:after,.el-time-panel__content:before{box-sizing:border-box;content:"";height:32px;left:0;margin-top:-16px;padding-top:6px;position:absolute;right:0;text-align:left;top:50%;z-index:-1}.el-time-panel__content:after{left:50%;margin-left:12%;margin-right:12%}.el-time-panel__content:before{border-bottom:1px solid var(--el-border-color-light);border-top:1px solid var(--el-border-color-light);margin-left:12%;margin-right:12%;padding-left:50%}.el-time-panel__content.has-seconds:after{left:66.6666666667%}.el-time-panel__content.has-seconds:before{padding-left:33.3333333333%}.el-time-panel__footer{border-top:1px solid var(--el-timepicker-inner-border-color,var(--el-border-color-light));box-sizing:border-box;height:36px;line-height:25px;padding:4px;text-align:right}.el-time-panel__btn{background-color:transparent;border:none;color:var(--el-text-color-primary);cursor:pointer;font-size:12px;line-height:28px;margin:0 5px;outline:none;padding:0 5px}.el-time-panel__btn.confirm{color:var(--el-timepicker-active-color,var(--el-color-primary));font-weight:800}.el-picker-panel.is-border{border:1px solid var(--el-border-color-lighter)}.el-picker-panel.is-border .el-picker-panel__body-wrapper{position:relative}.el-picker-panel.is-border.el-picker-panel [slot=sidebar],.el-picker-panel.is-border.el-picker-panel__sidebar{border-right:1px solid var(--el-datepicker-inner-border-color);box-sizing:border-box;height:100%;overflow:auto;padding-top:6px;position:absolute;top:0;width:110px}.el-descriptions{--el-descriptions-table-border:1px solid var(--el-border-color-lighter);--el-descriptions-item-bordered-label-background:var(--el-fill-color-light);box-sizing:border-box;color:var(--el-text-color-primary);font-size:var(--el-font-size-base)}.el-descriptions__header{align-items:center;display:flex;justify-content:space-between;margin-bottom:16px}.el-descriptions__title{color:var(--el-text-color-primary);font-size:16px;font-weight:bold}.el-descriptions__body{background-color:var(--el-fill-color-blank)}.el-descriptions__body .el-descriptions__table{border-collapse:collapse;width:100%}.el-descriptions__body .el-descriptions__table .el-descriptions__cell{box-sizing:border-box;font-size:14px;line-height:23px;text-align:left}.el-descriptions__body .el-descriptions__table .el-descriptions__cell.is-left{text-align:left}.el-descriptions__body .el-descriptions__table .el-descriptions__cell.is-center{text-align:center}.el-descriptions__body .el-descriptions__table .el-descriptions__cell.is-right{text-align:right}.el-descriptions__body .el-descriptions__table.is-bordered .el-descriptions__cell{border:var(--el-descriptions-table-border);padding:8px 11px}.el-descriptions__body .el-descriptions__table:not(.is-bordered) .el-descriptions__cell{padding-bottom:12px}.el-descriptions--large{font-size:14px}.el-descriptions--large .el-descriptions__header{margin-bottom:20px}.el-descriptions--large .el-descriptions__header .el-descriptions__title{font-size:16px}.el-descriptions--large .el-descriptions__body .el-descriptions__table .el-descriptions__cell{font-size:14px}.el-descriptions--large .el-descriptions__body .el-descriptions__table.is-bordered .el-descriptions__cell{padding:12px 15px}.el-descriptions--large .el-descriptions__body .el-descriptions__table:not(.is-bordered) .el-descriptions__cell{padding-bottom:16px}.el-descriptions--small{font-size:12px}.el-descriptions--small .el-descriptions__header{margin-bottom:12px}.el-descriptions--small .el-descriptions__header .el-descriptions__title{font-size:14px}.el-descriptions--small .el-descriptions__body .el-descriptions__table .el-descriptions__cell{font-size:12px}.el-descriptions--small .el-descriptions__body .el-descriptions__table.is-bordered .el-descriptions__cell{padding:4px 7px}.el-descriptions--small .el-descriptions__body .el-descriptions__table:not(.is-bordered) .el-descriptions__cell{padding-bottom:8px}.el-descriptions__label.el-descriptions__cell.is-bordered-label{background:var(--el-descriptions-item-bordered-label-background);color:var(--el-text-color-regular);font-weight:bold}.el-descriptions__label:not(.is-bordered-label){color:var(--el-text-color-primary);margin-right:16px}.el-descriptions__label.el-descriptions__cell:not(.is-bordered-label).is-vertical-label{padding-bottom:6px}.el-descriptions__content.el-descriptions__cell.is-bordered-content{color:var(--el-text-color-primary)}.el-descriptions__content:not(.is-bordered-label){color:var(--el-text-color-regular)}.el-descriptions--large .el-descriptions__label:not(.is-bordered-label){margin-right:16px}.el-descriptions--large .el-descriptions__label.el-descriptions__cell:not(.is-bordered-label).is-vertical-label{padding-bottom:8px}.el-descriptions--small .el-descriptions__label:not(.is-bordered-label){margin-right:12px}.el-descriptions--small .el-descriptions__label.el-descriptions__cell:not(.is-bordered-label).is-vertical-label{padding-bottom:4px}:root{--el-popup-modal-bg-color:var(--el-color-black);--el-popup-modal-opacity:0.5}.v-modal-enter{animation:v-modal-in var(--el-transition-duration-fast) ease}.v-modal-leave{animation:v-modal-out var(--el-transition-duration-fast) ease forwards}@keyframes v-modal-in{0%{opacity:0}}@keyframes v-modal-out{to{opacity:0}}.v-modal{background:var(--el-popup-modal-bg-color);height:100%;left:0;opacity:var(--el-popup-modal-opacity);position:fixed;top:0;width:100%}.el-popup-parent--hidden{overflow:hidden}.el-dialog{--el-dialog-width:50%;--el-dialog-margin-top:15vh;--el-dialog-bg-color:var(--el-bg-color);--el-dialog-box-shadow:var(--el-box-shadow);--el-dialog-title-font-size:var(--el-font-size-large);--el-dialog-content-font-size:14px;--el-dialog-font-line-height:var(--el-font-line-height-primary);--el-dialog-padding-primary:16px;--el-dialog-border-radius:var(--el-border-radius-base);background:var(--el-dialog-bg-color);border-radius:var(--el-dialog-border-radius);box-shadow:var(--el-dialog-box-shadow);box-sizing:border-box;margin:var(--el-dialog-margin-top,15vh) auto 50px;overflow-wrap:break-word;padding:var(--el-dialog-padding-primary);position:relative;width:var(--el-dialog-width,50%)}.el-dialog:focus{outline:none!important}.el-dialog.is-align-center{margin:auto}.el-dialog.is-fullscreen{--el-dialog-width:100%;--el-dialog-margin-top:0;border-radius:0;height:100%;margin-bottom:0;overflow:auto}.el-dialog__wrapper{bottom:0;left:0;margin:0;overflow:auto;position:fixed;right:0;top:0}.el-dialog.is-draggable .el-dialog__header{cursor:move;-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-dialog__header{padding-bottom:var(--el-dialog-padding-primary)}.el-dialog__header.show-close{padding-right:calc(var(--el-dialog-padding-primary) + var(--el-message-close-size, 16px))}.el-dialog__headerbtn{background:transparent;border:none;cursor:pointer;font-size:var(--el-message-close-size,16px);height:48px;outline:none;padding:0;position:absolute;right:0;top:0;width:48px}.el-dialog__headerbtn .el-dialog__close{color:var(--el-color-info);font-size:inherit}.el-dialog__headerbtn:focus .el-dialog__close,.el-dialog__headerbtn:hover .el-dialog__close{color:var(--el-color-primary)}.el-dialog__title{color:var(--el-text-color-primary);font-size:var(--el-dialog-title-font-size);line-height:var(--el-dialog-font-line-height)}.el-dialog__body{color:var(--el-text-color-regular);font-size:var(--el-dialog-content-font-size)}.el-dialog__footer{box-sizing:border-box;padding-top:var(--el-dialog-padding-primary);text-align:right}.el-dialog--center{text-align:center}.el-dialog--center .el-dialog__body{text-align:initial}.el-dialog--center .el-dialog__footer{text-align:inherit}.el-modal-dialog.is-penetrable{pointer-events:none}.el-modal-dialog.is-penetrable .el-dialog{pointer-events:auto}.el-overlay-dialog{bottom:0;left:0;overflow:auto;position:fixed;right:0;top:0}.el-overlay-dialog.is-closing .el-dialog{pointer-events:none}.dialog-fade-enter-active{animation:modal-fade-in var(--el-transition-duration)}.dialog-fade-enter-active .el-overlay-dialog{animation:dialog-fade-in var(--el-transition-duration)}.dialog-fade-leave-active{animation:modal-fade-out var(--el-transition-duration)}.dialog-fade-leave-active .el-overlay-dialog{animation:dialog-fade-out var(--el-transition-duration)}@keyframes dialog-fade-in{0%{opacity:0;transform:translate3d(0,-20px,0)}to{opacity:1;transform:translateZ(0)}}@keyframes dialog-fade-out{0%{opacity:1;transform:translateZ(0)}to{opacity:0;transform:translate3d(0,-20px,0)}}@keyframes modal-fade-in{0%{opacity:0}to{opacity:1}}@keyframes modal-fade-out{0%{opacity:1}to{opacity:0}}.el-divider{position:relative}.el-divider--horizontal{border-top:1px var(--el-border-color) var(--el-border-style);display:block;height:1px;margin:24px 0;width:100%}.el-divider--vertical{border-left:1px var(--el-border-color) var(--el-border-style);display:inline-block;height:1em;margin:0 8px;position:relative;vertical-align:middle;width:1px}.el-divider__text{background-color:var(--el-bg-color);color:var(--el-text-color-primary);font-size:14px;font-weight:500;padding:0 20px;position:absolute}.el-divider__text.is-left{left:20px;transform:translateY(-50%)}.el-divider__text.is-center{left:50%;transform:translateX(-50%) translateY(-50%)}.el-divider__text.is-right{right:20px;transform:translateY(-50%)}.el-overlay.is-drawer{overflow:hidden}.el-drawer{--el-drawer-bg-color:var(--el-dialog-bg-color,var(--el-bg-color));--el-drawer-padding-primary:var(--el-dialog-padding-primary,20px);--el-drawer-dragger-size:8px;background-color:var(--el-drawer-bg-color);box-shadow:var(--el-box-shadow-dark);box-sizing:border-box;display:flex;flex-direction:column;position:absolute;transition:all var(--el-transition-duration)}.el-drawer .btt,.el-drawer .ltr,.el-drawer .rtl,.el-drawer .ttb{transform:translate(0)}.el-drawer__sr-focus:focus{outline:none!important}.el-drawer__header{align-items:center;color:var(--el-text-color-primary);display:flex;margin-bottom:32px;overflow:hidden;padding:var(--el-drawer-padding-primary);padding-bottom:0}.el-drawer__header>:first-child{flex:1}.el-drawer__title{flex:1;font-size:16px;line-height:inherit;margin:0}.el-drawer__footer{overflow:hidden;padding:var(--el-drawer-padding-primary);padding-top:10px;text-align:right}.el-drawer__close-btn{background-color:transparent;border:none;color:inherit;cursor:pointer;display:inline-flex;font-size:var(--el-font-size-extra-large);outline:none}.el-drawer__close-btn:focus i,.el-drawer__close-btn:hover i{color:var(--el-color-primary)}.el-drawer__body{flex:1;overflow:auto;padding:var(--el-drawer-padding-primary)}.el-drawer__body>*{box-sizing:border-box}.el-drawer.is-dragging{transition:none}.el-drawer__dragger{-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-drawer__dragger,.el-drawer__dragger:before{background-color:transparent;position:absolute;transition:all .2s}.el-drawer__dragger:before{content:""}.el-drawer__dragger:hover:before{background-color:var(--el-color-primary)}.el-drawer.ltr,.el-drawer.rtl{bottom:0;height:100%;top:0}.el-drawer.ltr>.el-drawer__dragger,.el-drawer.rtl>.el-drawer__dragger{bottom:0;cursor:ew-resize;height:100%;top:0;width:var(--el-drawer-dragger-size)}.el-drawer.ltr>.el-drawer__dragger:before,.el-drawer.rtl>.el-drawer__dragger:before{bottom:0;top:0;width:3px}.el-drawer.btt,.el-drawer.ttb{left:0;right:0;width:100%}.el-drawer.btt>.el-drawer__dragger,.el-drawer.ttb>.el-drawer__dragger{cursor:ns-resize;height:var(--el-drawer-dragger-size);left:0;right:0;width:100%}.el-drawer.btt>.el-drawer__dragger:before,.el-drawer.ttb>.el-drawer__dragger:before{height:3px;left:0;right:0}.el-drawer.ltr{left:0}.el-drawer.ltr>.el-drawer__dragger{right:0}.el-drawer.ltr>.el-drawer__dragger:before{right:-2px}.el-drawer.rtl{right:0}.el-drawer.rtl>.el-drawer__dragger{left:0}.el-drawer.rtl>.el-drawer__dragger:before{left:-2px}.el-drawer.ttb{top:0}.el-drawer.ttb>.el-drawer__dragger{bottom:0}.el-drawer.ttb>.el-drawer__dragger:before{bottom:-2px}.el-drawer.btt{bottom:0}.el-drawer.btt>.el-drawer__dragger{top:0}.el-drawer.btt>.el-drawer__dragger:before{top:-2px}.el-modal-drawer.is-penetrable{pointer-events:none}.el-modal-drawer.is-penetrable .el-drawer{pointer-events:auto}.el-drawer-fade-enter-active,.el-drawer-fade-leave-active{transition:all var(--el-transition-duration)}.el-drawer-fade-enter-active,.el-drawer-fade-enter-from,.el-drawer-fade-enter-to,.el-drawer-fade-leave-active,.el-drawer-fade-leave-from,.el-drawer-fade-leave-to{overflow:hidden!important}.el-drawer-fade-enter-from,.el-drawer-fade-leave-to{background-color:transparent!important}.el-drawer-fade-enter-from .rtl,.el-drawer-fade-leave-to .rtl{transform:translateX(100%)}.el-drawer-fade-enter-from .ltr,.el-drawer-fade-leave-to .ltr{transform:translateX(-100%)}.el-drawer-fade-enter-from .ttb,.el-drawer-fade-leave-to .ttb{transform:translateY(-100%)}.el-drawer-fade-enter-from .btt,.el-drawer-fade-leave-to .btt{transform:translateY(100%)}.el-dropdown{--el-dropdown-menu-box-shadow:var(--el-box-shadow-light);--el-dropdown-menuItem-hover-fill:var(--el-color-primary-light-9);--el-dropdown-menuItem-hover-color:var(--el-color-primary);--el-dropdown-menu-index:10;color:var(--el-text-color-regular);display:inline-flex;font-size:var(--el-font-size-base);line-height:1;position:relative;vertical-align:top}.el-dropdown.is-disabled{color:var(--el-text-color-placeholder);cursor:not-allowed}.el-dropdown__popper{--el-dropdown-menu-box-shadow:var(--el-box-shadow-light);--el-dropdown-menuItem-hover-fill:var(--el-color-primary-light-9);--el-dropdown-menuItem-hover-color:var(--el-color-primary);--el-dropdown-menu-index:10}.el-dropdown__popper.el-popper{background:var(--el-bg-color-overlay);box-shadow:var(--el-dropdown-menu-box-shadow)}.el-dropdown__popper.el-popper,.el-dropdown__popper.el-popper .el-popper__arrow:before{border:1px solid var(--el-border-color-light)}.el-dropdown__popper.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-left-color:transparent;border-top-color:transparent}.el-dropdown__popper.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent;border-right-color:transparent}.el-dropdown__popper.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-bottom-color:transparent;border-left-color:transparent}.el-dropdown__popper.el-popper[data-popper-placement^=right] .el-popper__arrow:before{border-right-color:transparent;border-top-color:transparent}.el-dropdown__popper .el-dropdown-menu{border:none}.el-dropdown__popper .el-dropdown__popper-selfdefine{outline:none}.el-dropdown__popper .el-scrollbar__bar{z-index:calc(var(--el-dropdown-menu-index) + 1)}.el-dropdown__popper .el-dropdown__list{box-sizing:border-box;list-style:none;margin:0;padding:0}.el-dropdown .el-dropdown__caret-button{align-items:center;border-left:none;display:inline-flex;justify-content:center;padding-left:0;padding-right:0;width:32px}.el-dropdown .el-dropdown__caret-button>span{display:inline-flex}.el-dropdown .el-dropdown__caret-button:before{background:var(--el-overlay-color-lighter);bottom:-1px;content:"";display:block;left:0;position:absolute;top:-1px;width:1px}.el-dropdown .el-dropdown__caret-button.el-button:before{background:var(--el-border-color);opacity:.5}.el-dropdown .el-dropdown__caret-button .el-dropdown__icon{font-size:inherit;padding-left:0}.el-dropdown .el-dropdown-selfdefine{outline:none}.el-dropdown--large .el-dropdown__caret-button{width:40px}.el-dropdown--small .el-dropdown__caret-button{width:24px}.el-dropdown-menu{background-color:var(--el-bg-color-overlay);border:none;border-radius:var(--el-border-radius-base);box-shadow:none;left:0;list-style:none;margin:0;padding:5px 0;position:relative;top:0;z-index:var(--el-dropdown-menu-index)}.el-dropdown-menu__item{align-items:center;color:var(--el-text-color-regular);cursor:pointer;display:flex;font-size:var(--el-font-size-base);line-height:22px;list-style:none;margin:0;outline:none;padding:5px 16px;white-space:nowrap}.el-dropdown-menu__item:not(.is-disabled):focus,.el-dropdown-menu__item:not(.is-disabled):hover{background-color:var(--el-dropdown-menuItem-hover-fill);color:var(--el-dropdown-menuItem-hover-color)}.el-dropdown-menu__item i{margin-right:5px}.el-dropdown-menu__item--divided{border-top:1px solid var(--el-border-color-lighter);margin:6px 0}.el-dropdown-menu__item.is-disabled{color:var(--el-text-color-disabled);cursor:not-allowed}.el-dropdown-menu--large{padding:7px 0}.el-dropdown-menu--large .el-dropdown-menu__item{font-size:14px;line-height:22px;padding:7px 20px}.el-dropdown-menu--large .el-dropdown-menu__item--divided{margin:8px 0}.el-dropdown-menu--small{padding:3px 0}.el-dropdown-menu--small .el-dropdown-menu__item{font-size:12px;line-height:20px;padding:2px 12px}.el-dropdown-menu--small .el-dropdown-menu__item--divided{margin:4px 0}.el-empty{--el-empty-padding:40px 0;--el-empty-image-width:160px;--el-empty-description-margin-top:20px;--el-empty-bottom-margin-top:20px;--el-empty-fill-color-0:var(--el-color-white);--el-empty-fill-color-1:#fcfcfd;--el-empty-fill-color-2:#f8f9fb;--el-empty-fill-color-3:#f7f8fc;--el-empty-fill-color-4:#eeeff3;--el-empty-fill-color-5:#edeef2;--el-empty-fill-color-6:#e9ebef;--el-empty-fill-color-7:#e5e7e9;--el-empty-fill-color-8:#e0e3e9;--el-empty-fill-color-9:#d5d7de;align-items:center;box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;padding:var(--el-empty-padding);text-align:center}.el-empty__image{width:var(--el-empty-image-width)}.el-empty__image img{height:100%;-o-object-fit:contain;object-fit:contain;-webkit-user-select:none;-moz-user-select:none;user-select:none;vertical-align:top;width:100%}.el-empty__image svg{color:var(--el-svg-monochrome-grey);fill:currentColor;height:100%;vertical-align:top;width:100%}.el-empty__description{margin-top:var(--el-empty-description-margin-top)}.el-empty__description p{color:var(--el-text-color-secondary);font-size:var(--el-font-size-base);margin:0}.el-empty__bottom{margin-top:var(--el-empty-bottom-margin-top)}.el-footer{--el-footer-padding:0 20px;--el-footer-height:60px;box-sizing:border-box;flex-shrink:0;height:var(--el-footer-height);padding:var(--el-footer-padding)}.el-form-item{display:flex;--font-size:14px;margin-bottom:18px}.el-form-item .el-form-item{margin-bottom:0}.el-form-item .el-input__validateIcon{display:none}.el-form-item--large{--font-size:14px;--el-form-label-font-size:var(--font-size);margin-bottom:22px}.el-form-item--large .el-form-item__label{height:40px;line-height:40px}.el-form-item--large .el-form-item__content{line-height:40px}.el-form-item--large .el-form-item__error{padding-top:4px}.el-form-item--default{--font-size:14px;--el-form-label-font-size:var(--font-size);margin-bottom:18px}.el-form-item--default .el-form-item__label{height:32px;line-height:32px}.el-form-item--default .el-form-item__content{line-height:32px}.el-form-item--default .el-form-item__error{padding-top:2px}.el-form-item--small{--font-size:12px;--el-form-label-font-size:var(--font-size);margin-bottom:18px}.el-form-item--small .el-form-item__label{height:24px;line-height:24px}.el-form-item--small .el-form-item__content{line-height:24px}.el-form-item--small .el-form-item__error{padding-top:2px}.el-form-item--label-left .el-form-item__label{justify-content:flex-start;text-align:left}.el-form-item--label-right .el-form-item__label{justify-content:flex-end;text-align:right}.el-form-item--label-top{display:block}.el-form-item--label-top .el-form-item__label{display:block;height:auto;line-height:22px;margin-bottom:8px;padding-right:0;text-align:left;width:-moz-fit-content;width:fit-content}.el-form-item__label-wrap{display:flex}.el-form-item__label{align-items:flex-start;box-sizing:border-box;color:var(--el-text-color-regular);display:inline-flex;flex:0 0 auto;font-size:var(--el-form-label-font-size);height:32px;line-height:32px;padding:0 12px 0 0}.el-form-item__content{align-items:center;display:flex;flex:1;flex-wrap:wrap;font-size:var(--font-size);line-height:32px;min-width:0;position:relative}.el-form-item__content .el-input-group{vertical-align:top}.el-form-item__error{color:var(--el-color-danger);font-size:12px;left:0;line-height:1;padding-top:2px;position:absolute;top:100%}.el-form-item__error--inline{display:inline-block;left:auto;margin-left:10px;position:relative;top:auto}.el-form-item.is-required:not(.is-no-asterisk).asterisk-left>.el-form-item__label-wrap>.el-form-item__label:before,.el-form-item.is-required:not(.is-no-asterisk).asterisk-left>.el-form-item__label:before{color:var(--el-color-danger);content:"*";margin-right:4px}.el-form-item.is-required:not(.is-no-asterisk).asterisk-right>.el-form-item__label-wrap>.el-form-item__label:after,.el-form-item.is-required:not(.is-no-asterisk).asterisk-right>.el-form-item__label:after{color:var(--el-color-danger);content:"*";margin-left:4px}.el-form-item.is-error .el-form-item__content .el-input-tag__wrapper,.el-form-item.is-error .el-form-item__content .el-input-tag__wrapper.is-focus,.el-form-item.is-error .el-form-item__content .el-input-tag__wrapper:focus,.el-form-item.is-error .el-form-item__content .el-input-tag__wrapper:hover,.el-form-item.is-error .el-form-item__content .el-input__wrapper,.el-form-item.is-error .el-form-item__content .el-input__wrapper.is-focus,.el-form-item.is-error .el-form-item__content .el-input__wrapper:focus,.el-form-item.is-error .el-form-item__content .el-input__wrapper:hover,.el-form-item.is-error .el-form-item__content .el-select__wrapper,.el-form-item.is-error .el-form-item__content .el-select__wrapper.is-focus,.el-form-item.is-error .el-form-item__content .el-select__wrapper:focus,.el-form-item.is-error .el-form-item__content .el-select__wrapper:hover,.el-form-item.is-error .el-form-item__content .el-textarea__inner,.el-form-item.is-error .el-form-item__content .el-textarea__inner.is-focus,.el-form-item.is-error .el-form-item__content .el-textarea__inner:focus,.el-form-item.is-error .el-form-item__content .el-textarea__inner:hover{box-shadow:0 0 0 1px var(--el-color-danger) inset}.el-form-item.is-error .el-form-item__content .el-input-group__append .el-input__wrapper,.el-form-item.is-error .el-form-item__content .el-input-group__prepend .el-input__wrapper{box-shadow:inset 0 0 0 1px transparent}.el-form-item.is-error .el-form-item__content .el-input-group__append .el-input__validateIcon,.el-form-item.is-error .el-form-item__content .el-input-group__prepend .el-input__validateIcon{display:none}.el-form-item.is-error .el-form-item__content .el-input__validateIcon{color:var(--el-color-danger)}.el-form-item--feedback .el-input__validateIcon{display:inline-flex}.el-form{--el-form-label-font-size:var(--el-font-size-base);--el-form-inline-content-width:220px}.el-form--inline .el-form-item{display:inline-flex;margin-right:32px;vertical-align:middle}.el-form--inline.el-form--label-top{display:flex;flex-wrap:wrap}.el-form--inline.el-form--label-top .el-form-item{display:block}.el-header{--el-header-padding:0 20px;--el-header-height:60px;box-sizing:border-box;flex-shrink:0;height:var(--el-header-height);padding:var(--el-header-padding)}.el-image-viewer__wrapper{bottom:0;left:0;position:fixed;right:0;top:0}.el-image-viewer__wrapper:focus{outline:none!important}.el-image-viewer__btn{align-items:center;border-radius:50%;box-sizing:border-box;cursor:pointer;display:flex;justify-content:center;opacity:.8;position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none;z-index:1}.el-image-viewer__btn .el-icon{cursor:pointer}.el-image-viewer__close{font-size:40px;height:40px;right:40px;top:40px;width:40px}.el-image-viewer__canvas{align-items:center;display:flex;height:100%;justify-content:center;position:static;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:100%}.el-image-viewer__actions{background-color:var(--el-text-color-regular);border-color:#fff;border-radius:22px;bottom:30px;height:44px;left:50%;padding:0 23px;transform:translateX(-50%)}.el-image-viewer__actions__inner{align-items:center;color:#fff;cursor:default;display:flex;font-size:23px;gap:22px;height:100%;justify-content:space-around;padding:0 6px;width:100%}.el-image-viewer__actions__divider{margin:0 -6px}.el-image-viewer__progress{bottom:90px;color:#fff;cursor:default;left:50%;transform:translateX(-50%)}.el-image-viewer__prev{left:40px}.el-image-viewer__next,.el-image-viewer__prev{background-color:var(--el-text-color-regular);border-color:#fff;color:#fff;font-size:24px;height:44px;top:50%;transform:translateY(-50%);width:44px}.el-image-viewer__next{right:40px;text-indent:2px}.el-image-viewer__close{background-color:var(--el-text-color-regular);border-color:#fff;color:#fff;font-size:24px;height:44px;width:44px}.el-image-viewer__mask{background:#000;height:100%;left:0;opacity:.5;position:absolute;top:0;width:100%}.el-image-viewer-parent--hidden{overflow:hidden}.viewer-fade-enter-active{animation:viewer-fade-in var(--el-transition-duration)}.viewer-fade-leave-active{animation:viewer-fade-out var(--el-transition-duration)}@keyframes viewer-fade-in{0%{opacity:0;transform:translate3d(0,-20px,0)}to{opacity:1;transform:translateZ(0)}}@keyframes viewer-fade-out{0%{opacity:1;transform:translateZ(0)}to{opacity:0;transform:translate3d(0,-20px,0)}}.el-image__error,.el-image__inner,.el-image__placeholder,.el-image__wrapper{height:100%;width:100%}.el-image{display:inline-block;overflow:hidden;position:relative}.el-image__inner{opacity:1;vertical-align:top}.el-image__inner.is-loading{opacity:0}.el-image__wrapper{left:0;position:absolute;top:0}.el-image__error,.el-image__placeholder{background:var(--el-fill-color-light)}.el-image__error{align-items:center;color:var(--el-text-color-placeholder);display:flex;font-size:14px;justify-content:center;vertical-align:middle}.el-image__preview{cursor:pointer}.el-textarea{--el-input-text-color:var(--el-text-color-regular);--el-input-border:var(--el-border);--el-input-hover-border:var(--el-border-color-hover);--el-input-focus-border:var(--el-color-primary);--el-input-transparent-border:0 0 0 1px transparent inset;--el-input-border-color:var(--el-border-color);--el-input-border-radius:var(--el-border-radius-base);--el-input-bg-color:var(--el-fill-color-blank);--el-input-icon-color:var(--el-text-color-placeholder);--el-input-placeholder-color:var(--el-text-color-placeholder);--el-input-hover-border-color:var(--el-border-color-hover);--el-input-clear-hover-color:var(--el-text-color-secondary);--el-input-focus-border-color:var(--el-color-primary);--el-input-width:100%;display:inline-block;font-size:var(--el-font-size-base);position:relative;vertical-align:bottom;width:100%}.el-textarea__inner{-webkit-appearance:none;background-color:var(--el-input-bg-color,var(--el-fill-color-blank));background-image:none;border:none;border-radius:var(--el-input-border-radius,var(--el-border-radius-base));box-shadow:0 0 0 1px var(--el-input-border-color,var(--el-border-color)) inset;box-sizing:border-box;color:var(--el-input-text-color,var(--el-text-color-regular));display:block;font-family:inherit;font-size:inherit;line-height:1.5;padding:5px 11px;position:relative;resize:vertical;transition:var(--el-transition-box-shadow);width:100%}.el-textarea__inner::-moz-placeholder{color:var(--el-input-placeholder-color,var(--el-text-color-placeholder))}.el-textarea__inner::placeholder{color:var(--el-input-placeholder-color,var(--el-text-color-placeholder))}.el-textarea__inner:hover{box-shadow:0 0 0 1px var(--el-input-hover-border-color) inset}.el-textarea__inner:focus{box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset;outline:none}.el-textarea .el-input__count{background:var(--el-fill-color-blank);bottom:5px;color:var(--el-color-info);font-size:12px;line-height:14px;position:absolute;right:10px}.el-textarea .el-input__count.is-outside{background:transparent;bottom:unset;line-height:1;padding-top:2px;position:absolute;right:0;top:100%}.el-textarea.is-disabled .el-textarea__inner{background-color:var(--el-disabled-bg-color);box-shadow:0 0 0 1px var(--el-disabled-border-color) inset;color:var(--el-disabled-text-color);cursor:not-allowed}.el-textarea.is-disabled .el-textarea__inner::-moz-placeholder{color:var(--el-text-color-placeholder)}.el-textarea.is-disabled .el-textarea__inner::placeholder{color:var(--el-text-color-placeholder)}.el-textarea.is-exceed .el-textarea__inner{box-shadow:0 0 0 1px var(--el-color-danger) inset}.el-textarea.is-exceed .el-input__count{color:var(--el-color-danger)}.el-input{--el-input-text-color:var(--el-text-color-regular);--el-input-border:var(--el-border);--el-input-hover-border:var(--el-border-color-hover);--el-input-focus-border:var(--el-color-primary);--el-input-transparent-border:0 0 0 1px transparent inset;--el-input-border-color:var(--el-border-color);--el-input-border-radius:var(--el-border-radius-base);--el-input-bg-color:var(--el-fill-color-blank);--el-input-icon-color:var(--el-text-color-placeholder);--el-input-placeholder-color:var(--el-text-color-placeholder);--el-input-hover-border-color:var(--el-border-color-hover);--el-input-clear-hover-color:var(--el-text-color-secondary);--el-input-focus-border-color:var(--el-color-primary);--el-input-width:100%;--el-input-height:var(--el-component-size);box-sizing:border-box;display:inline-flex;font-size:var(--el-font-size-base);line-height:var(--el-input-height);position:relative;vertical-align:middle;width:var(--el-input-width)}.el-input::-webkit-scrollbar{width:6px;z-index:11}.el-input::-webkit-scrollbar:horizontal{height:6px}.el-input::-webkit-scrollbar-thumb{background:var(--el-text-color-disabled);border-radius:5px;width:6px}.el-input::-webkit-scrollbar-corner,.el-input::-webkit-scrollbar-track{background:var(--el-fill-color-blank)}.el-input::-webkit-scrollbar-track-piece{background:var(--el-fill-color-blank);width:6px}.el-input .el-input__clear,.el-input .el-input__password{color:var(--el-input-icon-color);cursor:pointer;font-size:14px}.el-input .el-input__clear:hover,.el-input .el-input__password:hover{color:var(--el-input-clear-hover-color)}.el-input .el-input__count{align-items:center;color:var(--el-color-info);display:inline-flex;font-size:12px;height:100%}.el-input .el-input__count .el-input__count-inner{background:var(--el-fill-color-blank);display:inline-block;line-height:normal;padding-left:8px}.el-input .el-input__count.is-outside{height:unset;padding-top:2px;position:absolute;right:0;top:100%}.el-input .el-input__count.is-outside .el-input__count-inner{background:transparent;line-height:1;padding-left:0}.el-input__wrapper{align-items:center;background-color:var(--el-input-bg-color,var(--el-fill-color-blank));background-image:none;border-radius:var(--el-input-border-radius,var(--el-border-radius-base));box-shadow:0 0 0 1px var(--el-input-border-color,var(--el-border-color)) inset;cursor:text;display:inline-flex;flex-grow:1;justify-content:center;padding:1px 11px;transform:translateZ(0);transition:var(--el-transition-box-shadow)}.el-input__wrapper:hover{box-shadow:0 0 0 1px var(--el-input-hover-border-color) inset}.el-input__wrapper.is-focus{box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset}.el-input{--el-input-inner-height:calc(var(--el-input-height, 32px) - 2px)}.el-input__inner{-webkit-appearance:none;background:none;border:none;box-sizing:border-box;color:var(--el-input-text-color,var(--el-text-color-regular));flex-grow:1;font-size:inherit;height:var(--el-input-inner-height);line-height:var(--el-input-inner-height);outline:none;padding:0;width:100%}.el-input__inner:focus{outline:none}.el-input__inner::-moz-placeholder{color:var(--el-input-placeholder-color,var(--el-text-color-placeholder))}.el-input__inner::placeholder{color:var(--el-input-placeholder-color,var(--el-text-color-placeholder))}.el-input__inner[type=password]::-ms-reveal{display:none}.el-input__inner[type=number]{line-height:1}.el-input__prefix{color:var(--el-input-icon-color,var(--el-text-color-placeholder));display:inline-flex;flex-shrink:0;flex-wrap:nowrap;height:100%;line-height:var(--el-input-inner-height);pointer-events:none;text-align:center;transition:all var(--el-transition-duration);white-space:nowrap}.el-input__prefix-inner{align-items:center;display:inline-flex;justify-content:center;pointer-events:all}.el-input__prefix-inner>:last-child{margin-right:8px}.el-input__prefix-inner>:first-child,.el-input__prefix-inner>:first-child.el-input__icon{margin-left:0}.el-input__suffix{color:var(--el-input-icon-color,var(--el-text-color-placeholder));display:inline-flex;flex-shrink:0;flex-wrap:nowrap;height:100%;line-height:var(--el-input-inner-height);pointer-events:none;text-align:center;transition:all var(--el-transition-duration);white-space:nowrap}.el-input__suffix-inner{align-items:center;display:inline-flex;justify-content:center;pointer-events:all}.el-input__suffix-inner>:first-child{margin-left:8px}.el-input .el-input__icon{align-items:center;display:flex;height:inherit;justify-content:center;line-height:inherit;margin-left:8px;transition:all var(--el-transition-duration)}.el-input__validateIcon{pointer-events:none}.el-input.is-active .el-input__wrapper{box-shadow:0 0 0 1px var(--el-input-focus-color, ) inset}.el-input.is-disabled{cursor:not-allowed}.el-input.is-disabled .el-input__wrapper{background-color:var(--el-disabled-bg-color);box-shadow:0 0 0 1px var(--el-disabled-border-color) inset;cursor:not-allowed}.el-input.is-disabled .el-input__inner{color:var(--el-disabled-text-color);-webkit-text-fill-color:var(--el-disabled-text-color);cursor:not-allowed}.el-input.is-disabled .el-input__inner::-moz-placeholder{color:var(--el-text-color-placeholder)}.el-input.is-disabled .el-input__inner::placeholder{color:var(--el-text-color-placeholder)}.el-input.is-disabled .el-input__icon{cursor:not-allowed}.el-input.is-disabled .el-input__prefix-inner,.el-input.is-disabled .el-input__suffix-inner{pointer-events:none}.el-input.is-exceed .el-input__wrapper{box-shadow:0 0 0 1px var(--el-color-danger) inset}.el-input.is-exceed .el-input__suffix .el-input__count{color:var(--el-color-danger)}.el-input--large{--el-input-height:var(--el-component-size-large);font-size:14px}.el-input--large .el-input__wrapper{padding:1px 15px}.el-input--large{--el-input-inner-height:calc(var(--el-input-height, 40px) - 2px)}.el-input--small{--el-input-height:var(--el-component-size-small);font-size:12px}.el-input--small .el-input__wrapper{padding:1px 7px}.el-input--small{--el-input-inner-height:calc(var(--el-input-height, 24px) - 2px)}.el-input-group{align-items:stretch;display:inline-flex;width:100%}.el-input-group__append,.el-input-group__prepend{align-items:center;background-color:var(--el-fill-color-light);border-radius:var(--el-input-border-radius);color:var(--el-color-info);display:inline-flex;justify-content:center;min-height:100%;padding:0 20px;position:relative;white-space:nowrap}.el-input-group__append:focus,.el-input-group__prepend:focus{outline:none}.el-input-group__append .el-button,.el-input-group__append .el-select,.el-input-group__prepend .el-button,.el-input-group__prepend .el-select{display:inline-block;flex:1;margin:0 -20px}.el-input-group__append button.el-button,.el-input-group__append button.el-button:hover,.el-input-group__append div.el-select .el-select__wrapper,.el-input-group__append div.el-select:hover .el-select__wrapper,.el-input-group__prepend button.el-button,.el-input-group__prepend button.el-button:hover,.el-input-group__prepend div.el-select .el-select__wrapper,.el-input-group__prepend div.el-select:hover .el-select__wrapper{background-color:transparent;border-color:transparent;color:inherit}.el-input-group__append .el-button,.el-input-group__append .el-input,.el-input-group__prepend .el-button,.el-input-group__prepend .el-input{font-size:inherit}.el-input-group__prepend{border-bottom-right-radius:0;border-right:0;border-top-right-radius:0;box-shadow:1px 0 0 0 var(--el-input-border-color) inset,0 1px 0 0 var(--el-input-border-color) inset,0 -1px 0 0 var(--el-input-border-color) inset}.el-input-group__append{border-left:0;box-shadow:0 1px 0 0 var(--el-input-border-color) inset,0 -1px 0 0 var(--el-input-border-color) inset,-1px 0 0 0 var(--el-input-border-color) inset}.el-input-group--prepend>.el-input__wrapper,.el-input-group__append{border-bottom-left-radius:0;border-top-left-radius:0}.el-input-group--prepend .el-input-group__prepend .el-select .el-select__wrapper{border-bottom-right-radius:0;border-top-right-radius:0;box-shadow:1px 0 0 0 var(--el-input-border-color) inset,0 1px 0 0 var(--el-input-border-color) inset,0 -1px 0 0 var(--el-input-border-color) inset}.el-input-group--append>.el-input__wrapper{border-bottom-right-radius:0;border-top-right-radius:0}.el-input-group--append .el-input-group__append .el-select .el-select__wrapper{border-bottom-left-radius:0;border-top-left-radius:0;box-shadow:0 1px 0 0 var(--el-input-border-color) inset,0 -1px 0 0 var(--el-input-border-color) inset,-1px 0 0 0 var(--el-input-border-color) inset}.el-input-hidden{display:none!important}.el-input-number{display:inline-flex;line-height:30px;position:relative;vertical-align:middle;width:150px}.el-input-number .el-input__wrapper{padding-left:42px;padding-right:42px}.el-input-number .el-input__inner{-webkit-appearance:none;-moz-appearance:textfield;line-height:1;text-align:center}.el-input-number .el-input__inner::-webkit-inner-spin-button,.el-input-number .el-input__inner::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.el-input-number.is-left .el-input__inner{text-align:left}.el-input-number.is-right .el-input__inner{text-align:right}.el-input-number.is-center .el-input__inner{text-align:center}.el-input-number__decrease,.el-input-number__increase{align-items:center;background:var(--el-fill-color-light);bottom:1px;color:var(--el-text-color-regular);cursor:pointer;display:flex;font-size:13px;height:auto;justify-content:center;position:absolute;top:1px;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:32px;z-index:1}.el-input-number__decrease:hover,.el-input-number__increase:hover{color:var(--el-color-primary)}.el-input-number__decrease:hover~.el-input:not(.is-disabled) .el-input__wrapper,.el-input-number__increase:hover~.el-input:not(.is-disabled) .el-input__wrapper{box-shadow:0 0 0 1px var(--el-input-focus-border-color,var(--el-color-primary)) inset}.el-input-number__decrease.is-disabled,.el-input-number__increase.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-input-number__increase{border-left:var(--el-border);border-radius:0 var(--el-border-radius-base) var(--el-border-radius-base) 0;right:1px}.el-input-number__decrease{border-radius:var(--el-border-radius-base) 0 0 var(--el-border-radius-base);border-right:var(--el-border);left:1px}.el-input-number.is-disabled .el-input-number__decrease,.el-input-number.is-disabled .el-input-number__increase{border-color:var(--el-disabled-border-color);color:var(--el-disabled-border-color)}.el-input-number.is-disabled .el-input-number__decrease:hover,.el-input-number.is-disabled .el-input-number__increase:hover{color:var(--el-disabled-border-color);cursor:not-allowed}.el-input-number--large{line-height:38px;width:180px}.el-input-number--large .el-input-number__decrease,.el-input-number--large .el-input-number__increase{font-size:14px;width:40px}.el-input-number--large.is-controls-right .el-input--large .el-input__wrapper{padding-right:47px}.el-input-number--large .el-input--large .el-input__wrapper{padding-left:47px;padding-right:47px}.el-input-number--small{line-height:22px;width:120px}.el-input-number--small .el-input-number__decrease,.el-input-number--small .el-input-number__increase{font-size:12px;width:24px}.el-input-number--small.is-controls-right .el-input--small .el-input__wrapper{padding-right:31px}.el-input-number--small .el-input--small .el-input__wrapper{padding-left:31px;padding-right:31px}.el-input-number--small .el-input-number__decrease [class*=el-icon],.el-input-number--small .el-input-number__increase [class*=el-icon]{transform:scale(.9)}.el-input-number.is-without-controls .el-input__wrapper{padding-left:15px;padding-right:15px}.el-input-number.is-controls-right .el-input__wrapper{padding-left:15px;padding-right:42px}.el-input-number.is-controls-right .el-input-number__decrease,.el-input-number.is-controls-right .el-input-number__increase{--el-input-number-controls-height:15px;height:var(--el-input-number-controls-height);line-height:var(--el-input-number-controls-height)}.el-input-number.is-controls-right .el-input-number__decrease [class*=el-icon],.el-input-number.is-controls-right .el-input-number__increase [class*=el-icon]{transform:scale(.8)}.el-input-number.is-controls-right .el-input-number__increase{border-bottom:var(--el-border);border-radius:0 var(--el-border-radius-base) 0 0;bottom:auto;left:auto}.el-input-number.is-controls-right .el-input-number__decrease{border-left:var(--el-border);border-radius:0 0 var(--el-border-radius-base) 0;border-right:none;left:auto;right:1px;top:auto}.el-input-number.is-controls-right[class*=large] [class*=decrease],.el-input-number.is-controls-right[class*=large] [class*=increase]{--el-input-number-controls-height:19px}.el-input-number.is-controls-right[class*=small] [class*=decrease],.el-input-number.is-controls-right[class*=small] [class*=increase]{--el-input-number-controls-height:11px}.el-input-tag{--el-input-tag-border-color-hover:var(--el-border-color-hover);--el-input-tag-placeholder-color:var(--el-text-color-placeholder);--el-input-tag-disabled-color:var(--el-disabled-text-color);--el-input-tag-disabled-border:var(--el-disabled-border-color);--el-input-tag-font-size:var(--el-font-size-base);--el-input-tag-close-hover-color:var(--el-text-color-secondary);--el-input-tag-text-color:var(--el-text-color-regular);--el-input-tag-input-focus-border-color:var(--el-color-primary);--el-input-tag-width:100%;--el-input-tag-mini-height:var(--el-component-size);--el-input-tag-gap:6px;--el-input-tag-padding:4px;--el-input-tag-inner-padding:8px;--el-input-tag-line-height:24px;align-items:center;background-color:var(--el-fill-color-blank);border-radius:var(--el-border-radius-base);box-shadow:0 0 0 1px var(--el-border-color) inset;box-sizing:border-box;cursor:pointer;display:flex;font-size:var(--el-input-tag-font-size);line-height:var(--el-input-tag-line-height);min-height:var(--el-input-tag-mini-height);padding:var(--el-input-tag-padding);transform:translateZ(0);transition:var(--el-transition-duration);width:var(--el-input-tag-width)}.el-input-tag.is-focused{box-shadow:0 0 0 1px var(--el-color-primary) inset}.el-input-tag.is-hovering:not(.is-focused){box-shadow:0 0 0 1px var(--el-border-color-hover) inset}.el-input-tag.is-disabled{background-color:var(--el-fill-color-light);cursor:not-allowed}.el-input-tag.is-disabled,.el-input-tag.is-disabled:hover{box-shadow:0 0 0 1px var(--el-input-tag-disabled-border) inset}.el-input-tag.is-disabled.is-focus{box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset}.el-input-tag.is-disabled .el-input-tag__inner .el-input-tag__input,.el-input-tag.is-disabled .el-input-tag__inner .el-tag{cursor:not-allowed}.el-input-tag__prefix,.el-input-tag__suffix{align-items:center;color:var(--el-input-icon-color,var(--el-text-color-placeholder));display:flex;flex-shrink:0;padding:0 var(--el-input-tag-inner-padding)}.el-input-tag__suffix{gap:8px}.el-input-tag__collapse-tag{line-height:1}.el-input-tag__input-tag-list{align-items:center;display:flex;flex:1;flex-wrap:wrap;gap:6px;min-width:0;position:relative}.el-input-tag__input-tag-list.is-near{margin-left:-8px}.el-input-tag__input-tag-list .el-tag{border-color:transparent;cursor:pointer}.el-input-tag__input-tag-list .el-tag.el-tag--plain{border-color:var(--el-tag-border-color)}.el-input-tag__input-tag-list .el-tag .el-tag__content{min-width:0}.el-input-tag__inner{align-items:center;display:flex;flex:1;flex-wrap:wrap;gap:var(--el-input-tag-gap);max-width:100%;min-width:0;position:relative}.el-input-tag__inner.is-left-space{margin-left:var(--el-input-tag-inner-padding)}.el-input-tag__inner.is-right-space{margin-right:var(--el-input-tag-inner-padding)}.el-input-tag__inner.is-draggable .el-tag{cursor:move;-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-input-tag__drop-indicator{background-color:var(--el-color-primary);height:var(--el-input-tag-line-height);position:absolute;top:0;width:1px}.el-input-tag__inner .el-tag{border-color:transparent;cursor:pointer;max-width:100%}.el-input-tag__inner .el-tag.el-tag--plain{border-color:var(--el-tag-border-color)}.el-input-tag__inner .el-tag .el-tag__content{line-height:normal;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.el-input-tag__input-wrapper{flex:1}.el-input-tag__input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;border:none;color:var(--el-input-tag-text-color);font-family:inherit;font-size:inherit;line-height:inherit;outline:none;padding:0;width:100%}.el-input-tag__input::-moz-placeholder{color:var(--el-input-tag-placeholder-color)}.el-input-tag__input::placeholder{color:var(--el-input-tag-placeholder-color)}.el-input-tag__input-calculator{left:0;max-width:100%;overflow:hidden;position:absolute;top:0;visibility:hidden;white-space:pre}.el-input-tag--large{--el-input-tag-gap:6px;--el-input-tag-padding:8px;--el-input-tag-padding-left:8px;--el-input-tag-font-size:14px}.el-input-tag--small{--el-input-tag-gap:4px;--el-input-tag-padding:2px;--el-input-tag-padding-left:6px;--el-input-tag-font-size:12px;--el-input-tag-line-height:20px;--el-input-tag-mini-height:var(--el-component-size-small)}.el-link{--el-link-font-size:var(--el-font-size-base);--el-link-font-weight:var(--el-font-weight-primary);--el-link-text-color:var(--el-text-color-regular);--el-link-hover-text-color:var(--el-color-primary);--el-link-disabled-text-color:var(--el-text-color-placeholder);align-items:center;color:var(--el-link-text-color);cursor:pointer;display:inline-flex;flex-direction:row;font-size:var(--el-link-font-size);font-weight:var(--el-link-font-weight);justify-content:center;outline:none;padding:0;position:relative;text-decoration:none;vertical-align:middle}.el-link.is-hover-underline:hover:after{border-bottom:1px solid var(--el-link-hover-text-color);bottom:0;content:"";height:0;left:0;position:absolute;right:0}.el-link.is-underline:after{border-bottom:1px solid var(--el-link-text-color);bottom:0;content:"";height:0;left:0;position:absolute;right:0}.el-link:hover{color:var(--el-link-hover-text-color)}.el-link:hover:after{border-color:var(--el-link-hover-text-color)}.el-link [class*=el-icon-]+span{margin-left:5px}.el-link__inner{align-items:center;display:inline-flex;justify-content:center}.el-link.el-link--primary{--el-link-text-color:var(--el-color-primary);--el-link-hover-text-color:var(--el-color-primary-light-3);--el-link-disabled-text-color:var(--el-color-primary-light-5)}.el-link.el-link--success{--el-link-text-color:var(--el-color-success);--el-link-hover-text-color:var(--el-color-success-light-3);--el-link-disabled-text-color:var(--el-color-success-light-5)}.el-link.el-link--warning{--el-link-text-color:var(--el-color-warning);--el-link-hover-text-color:var(--el-color-warning-light-3);--el-link-disabled-text-color:var(--el-color-warning-light-5)}.el-link.el-link--danger{--el-link-text-color:var(--el-color-danger);--el-link-hover-text-color:var(--el-color-danger-light-3);--el-link-disabled-text-color:var(--el-color-danger-light-5)}.el-link.el-link--error{--el-link-text-color:var(--el-color-error);--el-link-hover-text-color:var(--el-color-error-light-3);--el-link-disabled-text-color:var(--el-color-error-light-5)}.el-link.el-link--info{--el-link-text-color:var(--el-color-info);--el-link-hover-text-color:var(--el-color-info-light-3);--el-link-disabled-text-color:var(--el-color-info-light-5)}.el-link.is-disabled{color:var(--el-link-disabled-text-color);cursor:not-allowed}.el-link.is-disabled:after{border-color:var(--el-link-disabled-text-color)}:root{--el-loading-spinner-size:42px;--el-loading-fullscreen-spinner-size:50px}.el-loading-parent--relative{position:relative!important}.el-loading-parent--hidden{overflow:hidden!important}.el-loading-mask{background-color:var(--el-mask-color);bottom:0;left:0;margin:0;position:absolute;right:0;top:0;transition:opacity var(--el-transition-duration);z-index:2000}.el-loading-mask.is-fullscreen{position:fixed}.el-loading-mask.is-fullscreen .el-loading-spinner{margin-top:calc((0px - var(--el-loading-fullscreen-spinner-size))/2)}.el-loading-mask.is-fullscreen .el-loading-spinner .circular{height:var(--el-loading-fullscreen-spinner-size);width:var(--el-loading-fullscreen-spinner-size)}.el-loading-spinner{margin-top:calc((0px - var(--el-loading-spinner-size))/2);position:absolute;text-align:center;top:50%;width:100%}.el-loading-spinner .el-loading-text{color:var(--el-color-primary);font-size:14px;margin:3px 0}.el-loading-spinner .circular{animation:loading-rotate 2s linear infinite;display:inline;height:var(--el-loading-spinner-size);width:var(--el-loading-spinner-size)}.el-loading-spinner .path{animation:loading-dash 1.5s ease-in-out infinite;stroke:var(--el-color-primary);stroke-dasharray:90,150;stroke-dashoffset:0;stroke-linecap:round;stroke-width:2}.el-loading-spinner i{color:var(--el-color-primary)}.el-loading-fade-enter-from,.el-loading-fade-leave-to{opacity:0}@keyframes loading-rotate{to{transform:rotate(1turn)}}@keyframes loading-dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-40px}to{stroke-dasharray:90,150;stroke-dashoffset:-120px}}.el-main{--el-main-padding:20px;box-sizing:border-box;display:block;flex:1;flex-basis:auto;overflow:auto;padding:var(--el-main-padding)}:root{--el-menu-active-color:var(--el-color-primary);--el-menu-text-color:var(--el-text-color-primary);--el-menu-hover-text-color:var(--el-color-primary);--el-menu-bg-color:var(--el-fill-color-blank);--el-menu-hover-bg-color:var(--el-color-primary-light-9);--el-menu-item-height:56px;--el-menu-sub-item-height:calc(var(--el-menu-item-height) - 6px);--el-menu-horizontal-height:60px;--el-menu-horizontal-sub-item-height:36px;--el-menu-item-font-size:var(--el-font-size-base);--el-menu-item-hover-fill:var(--el-color-primary-light-9);--el-menu-border-color:var(--el-border-color);--el-menu-base-level-padding:20px;--el-menu-level-padding:20px;--el-menu-icon-width:24px}.el-menu{background-color:var(--el-menu-bg-color);border-right:1px solid var(--el-menu-border-color);box-sizing:border-box;list-style:none;margin:0;padding-left:0;position:relative}.el-menu--vertical:not(.el-menu--collapse):not(.el-menu--popup-container) .el-menu-item,.el-menu--vertical:not(.el-menu--collapse):not(.el-menu--popup-container) .el-menu-item-group__title,.el-menu--vertical:not(.el-menu--collapse):not(.el-menu--popup-container) .el-sub-menu__title{padding-left:calc(var(--el-menu-base-level-padding) + var(--el-menu-level)*var(--el-menu-level-padding));white-space:nowrap}.el-menu:not(.el-menu--collapse) .el-sub-menu__title{padding-right:calc(var(--el-menu-base-level-padding) + var(--el-menu-icon-width))}.el-menu--horizontal{border-right:none;display:flex;flex-wrap:nowrap;height:var(--el-menu-horizontal-height)}.el-menu--horizontal.el-menu--popup-container{height:unset}.el-menu--horizontal.el-menu{border-bottom:1px solid var(--el-menu-border-color)}.el-menu--horizontal>.el-menu-item{align-items:center;border-bottom:2px solid transparent;color:var(--el-menu-text-color);display:inline-flex;height:100%;justify-content:center;margin:0}.el-menu--horizontal>.el-menu-item a,.el-menu--horizontal>.el-menu-item a:hover{color:inherit}.el-menu--horizontal>.el-sub-menu:focus,.el-menu--horizontal>.el-sub-menu:hover{outline:none}.el-menu--horizontal>.el-sub-menu:hover .el-sub-menu__title{color:var(--el-menu-hover-text-color)}.el-menu--horizontal>.el-sub-menu.is-active .el-sub-menu__title{border-bottom:2px solid var(--el-menu-active-color);color:var(--el-menu-active-color)}.el-menu--horizontal>.el-sub-menu .el-sub-menu__title{border-bottom:2px solid transparent;color:var(--el-menu-text-color);height:100%}.el-menu--horizontal>.el-sub-menu .el-sub-menu__title:hover{background-color:var(--el-menu-bg-color)}.el-menu--horizontal .el-menu .el-menu-item,.el-menu--horizontal .el-menu .el-sub-menu__title{align-items:center;background-color:var(--el-menu-bg-color);color:var(--el-menu-text-color);display:flex;height:var(--el-menu-horizontal-sub-item-height);line-height:var(--el-menu-horizontal-sub-item-height);padding:0 10px}.el-menu--horizontal .el-menu .el-sub-menu__title{padding-right:40px}.el-menu--horizontal .el-menu .el-menu-item.is-active,.el-menu--horizontal .el-menu .el-menu-item.is-active:hover,.el-menu--horizontal .el-menu .el-sub-menu.is-active>.el-sub-menu__title,.el-menu--horizontal .el-menu .el-sub-menu.is-active>.el-sub-menu__title:hover{color:var(--el-menu-active-color)}.el-menu--horizontal .el-menu-item:not(.is-disabled):focus,.el-menu--horizontal .el-menu-item:not(.is-disabled):hover{background-color:var(--el-menu-hover-bg-color);color:var(--el-menu-active-color,var(--el-menu-hover-text-color));outline:none}.el-menu--horizontal>.el-menu-item.is-active{border-bottom:2px solid var(--el-menu-active-color);color:var(--el-menu-active-color)!important}.el-menu--collapse{width:calc(var(--el-menu-icon-width) + var(--el-menu-base-level-padding)*2)}.el-menu--collapse>.el-menu-item [class^=el-icon],.el-menu--collapse>.el-menu-item-group>ul>.el-sub-menu>.el-sub-menu__title [class^=el-icon],.el-menu--collapse>.el-sub-menu>.el-sub-menu__title [class^=el-icon]{margin:0;text-align:center;vertical-align:middle;width:var(--el-menu-icon-width)}.el-menu--collapse>.el-menu-item .el-sub-menu__icon-arrow,.el-menu--collapse>.el-menu-item-group>ul>.el-sub-menu>.el-sub-menu__title .el-sub-menu__icon-arrow,.el-menu--collapse>.el-sub-menu>.el-sub-menu__title .el-sub-menu__icon-arrow{display:none}.el-menu--collapse>.el-menu-item-group>ul>.el-sub-menu>.el-sub-menu__title>span,.el-menu--collapse>.el-menu-item>span,.el-menu--collapse>.el-sub-menu>.el-sub-menu__title>span{display:inline-block;height:0;overflow:hidden;visibility:hidden;width:0}.el-menu--collapse>.el-menu-item.is-active i{color:inherit}.el-menu--collapse .el-menu .el-sub-menu{min-width:200px}.el-menu--collapse .el-sub-menu.is-active .el-sub-menu__title{color:var(--el-menu-active-color)}.el-menu--popup{border:none;border-radius:var(--el-border-radius-small);box-shadow:var(--el-box-shadow-light);min-width:200px;padding:5px 0;z-index:100}.el-menu .el-icon{flex-shrink:0}.el-menu-item{align-items:center;box-sizing:border-box;color:var(--el-menu-text-color);cursor:pointer;display:flex;font-size:var(--el-menu-item-font-size);height:var(--el-menu-item-height);line-height:var(--el-menu-item-height);list-style:none;padding:0 var(--el-menu-base-level-padding);position:relative;transition:border-color var(--el-transition-duration),background-color var(--el-transition-duration),color var(--el-transition-duration);white-space:nowrap}.el-menu-item *{vertical-align:bottom}.el-menu-item i{color:inherit}.el-menu-item:focus,.el-menu-item:hover{outline:none}.el-menu-item:hover{background-color:var(--el-menu-hover-bg-color)}.el-menu-item.is-disabled{background:none!important;cursor:not-allowed;opacity:.25}.el-menu-item [class^=el-icon]{font-size:18px;margin-right:5px;text-align:center;vertical-align:middle;width:var(--el-menu-icon-width)}.el-menu-item.is-active{color:var(--el-menu-active-color)}.el-menu-item.is-active i{color:inherit}.el-menu-item .el-menu-tooltip__trigger{align-items:center;box-sizing:border-box;display:inline-flex;height:100%;left:0;padding:0 var(--el-menu-base-level-padding);position:absolute;top:0;width:100%}.el-sub-menu{list-style:none;margin:0;padding-left:0}.el-sub-menu__title{align-items:center;box-sizing:border-box;color:var(--el-menu-text-color);cursor:pointer;display:flex;font-size:var(--el-menu-item-font-size);height:var(--el-menu-item-height);line-height:var(--el-menu-item-height);list-style:none;padding:0 var(--el-menu-base-level-padding);position:relative;transition:border-color var(--el-transition-duration),background-color var(--el-transition-duration),color var(--el-transition-duration);white-space:nowrap}.el-sub-menu__title *{vertical-align:bottom}.el-sub-menu__title i{color:inherit}.el-sub-menu__title:focus,.el-sub-menu__title:hover{outline:none}.el-sub-menu__title.is-disabled{background:none!important;cursor:not-allowed;opacity:.25}.el-sub-menu__title:hover{background-color:var(--el-menu-hover-bg-color)}.el-sub-menu .el-menu{border:none}.el-sub-menu .el-menu-item{height:var(--el-menu-sub-item-height);line-height:var(--el-menu-sub-item-height)}.el-sub-menu.el-sub-menu__hide-arrow .el-sub-menu__title{padding-right:var(--el-menu-base-level-padding)}.el-sub-menu__hide-arrow .el-sub-menu__icon-arrow{display:none!important}.el-sub-menu.is-active .el-sub-menu__title{border-bottom-color:var(--el-menu-active-color)}.el-sub-menu.is-disabled .el-menu-item,.el-sub-menu.is-disabled .el-sub-menu__title{background:none!important;cursor:not-allowed;opacity:.25}.el-sub-menu .el-icon{font-size:18px;margin-right:5px;text-align:center;vertical-align:middle;width:var(--el-menu-icon-width)}.el-sub-menu .el-icon.el-sub-menu__icon-more{margin-right:0!important}.el-sub-menu .el-sub-menu__icon-arrow{font-size:12px;margin-right:0;margin-top:-6px;position:absolute;right:var(--el-menu-base-level-padding);top:50%;transition:transform var(--el-transition-duration);width:inherit}.el-menu-item-group>ul{padding:0}.el-menu-item-group__title{color:var(--el-text-color-secondary);font-size:12px;line-height:normal;padding:7px 0 7px var(--el-menu-base-level-padding)}.horizontal-collapse-transition .el-sub-menu__title .el-sub-menu__icon-arrow{opacity:0;transition:var(--el-transition-duration-fast)}.el-menu,.el-menu--popup-container,.el-popper{outline:none}.el-message-box{--el-messagebox-title-color:var(--el-text-color-primary);--el-messagebox-width:420px;--el-messagebox-border-radius:4px;--el-messagebox-box-shadow:var(--el-box-shadow);--el-messagebox-font-size:var(--el-font-size-large);--el-messagebox-content-font-size:var(--el-font-size-base);--el-messagebox-content-color:var(--el-text-color-regular);--el-messagebox-error-font-size:12px;--el-messagebox-padding-primary:12px;--el-messagebox-font-line-height:var(--el-font-line-height-primary);backface-visibility:hidden;background-color:var(--el-bg-color);border-radius:var(--el-messagebox-border-radius);box-shadow:var(--el-messagebox-box-shadow);box-sizing:border-box;display:inline-block;font-size:var(--el-messagebox-font-size);max-width:var(--el-messagebox-width);overflow:hidden;overflow-wrap:break-word;padding:var(--el-messagebox-padding-primary);position:relative;text-align:left;vertical-align:middle;width:100%}.el-message-box:focus{outline:none!important}.is-message-box .el-overlay-message-box{bottom:0;left:0;overflow:auto;padding:16px;position:fixed;right:0;text-align:center;top:0}.is-message-box .el-overlay-message-box:after{content:"";display:inline-block;height:100%;vertical-align:middle;width:0}.el-message-box.is-draggable .el-message-box__header{cursor:move;-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-message-box__header{padding-bottom:var(--el-messagebox-padding-primary)}.el-message-box__header.show-close{padding-right:calc(var(--el-messagebox-padding-primary) + var(--el-message-close-size, 16px))}.el-message-box__title{color:var(--el-messagebox-title-color);font-size:var(--el-messagebox-font-size);line-height:var(--el-messagebox-font-line-height)}.el-message-box__headerbtn{background:transparent;border:none;cursor:pointer;font-size:var(--el-message-close-size,16px);height:40px;outline:none;padding:0;position:absolute;right:0;top:0;width:40px}.el-message-box__headerbtn .el-message-box__close{color:var(--el-color-info);font-size:inherit}.el-message-box__headerbtn:focus .el-message-box__close,.el-message-box__headerbtn:hover .el-message-box__close{color:var(--el-color-primary)}.el-message-box__content{color:var(--el-messagebox-content-color);font-size:var(--el-messagebox-content-font-size)}.el-message-box__container{align-items:center;display:flex;gap:12px}.el-message-box__input{padding-top:12px}.el-message-box__input div.invalid>input,.el-message-box__input div.invalid>input:focus{border-color:var(--el-color-error)}.el-message-box__status{font-size:24px}.el-message-box__status.el-message-box-icon--primary{--el-messagebox-color:var(--el-color-primary);color:var(--el-messagebox-color)}.el-message-box__status.el-message-box-icon--success{--el-messagebox-color:var(--el-color-success);color:var(--el-messagebox-color)}.el-message-box__status.el-message-box-icon--info{--el-messagebox-color:var(--el-color-info);color:var(--el-messagebox-color)}.el-message-box__status.el-message-box-icon--warning{--el-messagebox-color:var(--el-color-warning);color:var(--el-messagebox-color)}.el-message-box__status.el-message-box-icon--error{--el-messagebox-color:var(--el-color-error);color:var(--el-messagebox-color)}.el-message-box__message{margin:0;min-width:0}.el-message-box__message p{line-height:var(--el-messagebox-font-line-height);margin:0}.el-message-box__errormsg{color:var(--el-color-error);font-size:var(--el-messagebox-error-font-size);line-height:var(--el-messagebox-font-line-height)}.el-message-box__btns{align-items:center;display:flex;flex-wrap:wrap;justify-content:flex-end;padding-top:var(--el-messagebox-padding-primary)}.el-message-box--center .el-message-box__title{align-items:center;display:flex;gap:6px;justify-content:center}.el-message-box--center .el-message-box__status{font-size:inherit}.el-message-box--center .el-message-box__btns,.el-message-box--center .el-message-box__container{justify-content:center}.el-message-box-parent--hidden{overflow:hidden}.fade-in-linear-enter-active .el-overlay-message-box{animation:msgbox-fade-in var(--el-transition-duration)}.fade-in-linear-leave-active .el-overlay-message-box{animation:msgbox-fade-in var(--el-transition-duration) reverse}@keyframes msgbox-fade-in{0%{opacity:0;transform:translate3d(0,-20px,0)}to{opacity:1;transform:translateZ(0)}}.el-message{--el-message-bg-color:var(--el-color-info-light-9);--el-message-border-color:var(--el-border-color-lighter);--el-message-padding:11px 15px;--el-message-close-size:16px;--el-message-close-icon-color:var(--el-text-color-placeholder);--el-message-close-hover-color:var(--el-text-color-secondary);align-items:center;background-color:var(--el-message-bg-color);border-color:var(--el-message-border-color);border-radius:var(--el-border-radius-base);border-style:var(--el-border-style);border-width:var(--el-border-width);box-sizing:border-box;display:flex;gap:8px;max-width:calc(100% - 32px);padding:var(--el-message-padding);position:fixed;transition:opacity var(--el-transition-duration),transform .4s,top .4s,bottom .4s;width:-moz-fit-content;width:fit-content}.el-message.is-left{left:16px}.el-message.is-right{right:16px}.el-message.is-center{left:0;margin:0 auto;right:0}.el-message.is-plain{background-color:var(--el-bg-color-overlay);border-color:var(--el-bg-color-overlay);box-shadow:var(--el-box-shadow-light)}.el-message p{margin:0}.el-message--primary{--el-message-bg-color:var(--el-color-primary-light-9);--el-message-border-color:var(--el-color-primary-light-8);--el-message-text-color:var(--el-color-primary)}.el-message--primary .el-message__content{color:var(--el-message-text-color);overflow-wrap:break-word}.el-message .el-message-icon--primary{color:var(--el-message-text-color)}.el-message--success{--el-message-bg-color:var(--el-color-success-light-9);--el-message-border-color:var(--el-color-success-light-8);--el-message-text-color:var(--el-color-success)}.el-message--success .el-message__content{color:var(--el-message-text-color);overflow-wrap:break-word}.el-message .el-message-icon--success{color:var(--el-message-text-color)}.el-message--info{--el-message-bg-color:var(--el-color-info-light-9);--el-message-border-color:var(--el-color-info-light-8);--el-message-text-color:var(--el-color-info)}.el-message--info .el-message__content{color:var(--el-message-text-color);overflow-wrap:break-word}.el-message .el-message-icon--info{color:var(--el-message-text-color)}.el-message--warning{--el-message-bg-color:var(--el-color-warning-light-9);--el-message-border-color:var(--el-color-warning-light-8);--el-message-text-color:var(--el-color-warning)}.el-message--warning .el-message__content{color:var(--el-message-text-color);overflow-wrap:break-word}.el-message .el-message-icon--warning{color:var(--el-message-text-color)}.el-message--error{--el-message-bg-color:var(--el-color-error-light-9);--el-message-border-color:var(--el-color-error-light-8);--el-message-text-color:var(--el-color-error)}.el-message--error .el-message__content{color:var(--el-message-text-color);overflow-wrap:break-word}.el-message .el-message-icon--error{color:var(--el-message-text-color)}.el-message .el-message__badge{position:absolute;right:-8px;top:-8px}.el-message__content{font-size:14px;line-height:1;padding:0}.el-message__content:focus{outline-width:0}.el-message .el-message__closeBtn{color:var(--el-message-close-icon-color);cursor:pointer;font-size:var(--el-message-close-size)}.el-message .el-message__closeBtn:focus{outline-width:0}.el-message .el-message__closeBtn:hover{color:var(--el-message-close-hover-color)}.el-message-fade-enter-from,.el-message-fade-leave-to{opacity:0;transform:translateY(-100%)}.el-message-fade-enter-from.is-bottom,.el-message-fade-leave-to.is-bottom{transform:translateY(100%)}.el-notification{--el-notification-width:330px;--el-notification-padding:14px 26px 14px 13px;--el-notification-radius:8px;--el-notification-shadow:var(--el-box-shadow-light);--el-notification-border-color:var(--el-border-color-lighter);--el-notification-icon-size:24px;--el-notification-close-font-size:var(--el-message-close-size,16px);--el-notification-group-margin-left:13px;--el-notification-group-margin-right:8px;--el-notification-content-font-size:var(--el-font-size-base);--el-notification-content-color:var(--el-text-color-regular);--el-notification-title-font-size:16px;--el-notification-title-color:var(--el-text-color-primary);--el-notification-close-color:var(--el-text-color-secondary);--el-notification-close-hover-color:var(--el-text-color-regular);background-color:var(--el-bg-color-overlay);border:1px solid var(--el-notification-border-color);border-radius:var(--el-notification-radius);box-shadow:var(--el-notification-shadow);box-sizing:border-box;display:flex;overflow:hidden;overflow-wrap:break-word;padding:var(--el-notification-padding);position:fixed;transition:opacity var(--el-transition-duration),transform var(--el-transition-duration),left var(--el-transition-duration),right var(--el-transition-duration),top .4s,bottom var(--el-transition-duration);width:var(--el-notification-width);z-index:9999}.el-notification.right{right:16px}.el-notification.left{left:16px}.el-notification__group{flex:1;margin-left:var(--el-notification-group-margin-left);margin-right:var(--el-notification-group-margin-right);min-width:0}.el-notification__title{color:var(--el-notification-title-color);font-size:var(--el-notification-title-font-size);font-weight:bold;line-height:var(--el-notification-icon-size);margin:0}.el-notification__content{color:var(--el-notification-content-color);font-size:var(--el-notification-content-font-size);line-height:24px;margin:6px 0 0}.el-notification__content p{margin:0}.el-notification .el-notification__icon{flex-shrink:0;font-size:var(--el-notification-icon-size);height:var(--el-notification-icon-size);width:var(--el-notification-icon-size)}.el-notification .el-notification__closeBtn{color:var(--el-notification-close-color);cursor:pointer;font-size:var(--el-notification-close-font-size);position:absolute;right:15px;top:18px}.el-notification .el-notification__closeBtn:hover{color:var(--el-notification-close-hover-color)}.el-notification .el-notification--primary{--el-notification-icon-color:var(--el-color-primary);color:var(--el-notification-icon-color)}.el-notification .el-notification--success{--el-notification-icon-color:var(--el-color-success);color:var(--el-notification-icon-color)}.el-notification .el-notification--info{--el-notification-icon-color:var(--el-color-info);color:var(--el-notification-icon-color)}.el-notification .el-notification--warning{--el-notification-icon-color:var(--el-color-warning);color:var(--el-notification-icon-color)}.el-notification .el-notification--error{--el-notification-icon-color:var(--el-color-error);color:var(--el-notification-icon-color)}.el-notification-fade-enter-from.right{right:0;transform:translateX(100%)}.el-notification-fade-enter-from.left{left:0;transform:translateX(-100%)}.el-notification-fade-leave-to{opacity:0}.el-overlay{background-color:var(--el-overlay-color-lighter);bottom:0;height:100%;left:0;overflow:auto;position:fixed;right:0;top:0;z-index:2000}.el-overlay .el-overlay-root{height:0}.el-page-header.is-contentful .el-page-header__main{border-top:1px solid var(--el-border-color-light);margin-top:16px}.el-page-header__header{align-items:center;display:flex;justify-content:space-between;line-height:24px}.el-page-header__left{align-items:center;display:flex;margin-right:40px;position:relative}.el-page-header__back{align-items:center;cursor:pointer;display:flex}.el-page-header__left .el-divider--vertical{margin:0 16px}.el-page-header__icon{align-items:center;display:flex;font-size:16px;margin-right:10px}.el-page-header__icon .el-icon{font-size:inherit}.el-page-header__title{font-size:14px;font-weight:500}.el-page-header__content{color:var(--el-text-color-primary);font-size:18px}.el-page-header__breadcrumb{margin-bottom:16px}.el-pagination{--el-pagination-font-size:14px;--el-pagination-bg-color:var(--el-fill-color-blank);--el-pagination-text-color:var(--el-text-color-primary);--el-pagination-border-radius:2px;--el-pagination-button-color:var(--el-text-color-primary);--el-pagination-button-width:32px;--el-pagination-button-height:32px;--el-pagination-button-disabled-color:var(--el-text-color-placeholder);--el-pagination-button-disabled-bg-color:var(--el-fill-color-blank);--el-pagination-button-bg-color:var(--el-fill-color);--el-pagination-hover-color:var(--el-color-primary);--el-pagination-font-size-small:12px;--el-pagination-button-width-small:24px;--el-pagination-button-height-small:24px;--el-pagination-button-width-large:40px;--el-pagination-button-height-large:40px;--el-pagination-item-gap:16px;align-items:center;color:var(--el-pagination-text-color);display:flex;font-size:var(--el-pagination-font-size);font-weight:normal;white-space:nowrap}.el-pagination .el-input__inner{-moz-appearance:textfield;text-align:center}.el-pagination .el-select{width:128px}.el-pagination .btn-next,.el-pagination .btn-prev{align-items:center;background:var(--el-pagination-bg-color);border:none;border-radius:var(--el-pagination-border-radius);box-sizing:border-box;color:var(--el-pagination-button-color);cursor:pointer;display:flex;font-size:var(--el-pagination-font-size);height:var(--el-pagination-button-height);justify-content:center;line-height:var(--el-pagination-button-height);min-width:var(--el-pagination-button-width);padding:0 4px;text-align:center}.el-pagination .btn-next *,.el-pagination .btn-prev *{pointer-events:none}.el-pagination .btn-next:focus,.el-pagination .btn-prev:focus{outline:none}.el-pagination .btn-next:hover,.el-pagination .btn-prev:hover{color:var(--el-pagination-hover-color)}.el-pagination .btn-next.is-active,.el-pagination .btn-prev.is-active{color:var(--el-pagination-hover-color);cursor:default;font-weight:bold}.el-pagination .btn-next.is-active.is-disabled,.el-pagination .btn-prev.is-active.is-disabled{color:var(--el-text-color-secondary);font-weight:bold}.el-pagination .btn-next.is-disabled,.el-pagination .btn-next:disabled,.el-pagination .btn-prev.is-disabled,.el-pagination .btn-prev:disabled{background-color:var(--el-pagination-button-disabled-bg-color);color:var(--el-pagination-button-disabled-color);cursor:not-allowed}.el-pagination .btn-next:focus-visible,.el-pagination .btn-prev:focus-visible{outline:1px solid var(--el-pagination-hover-color);outline-offset:-1px}.el-pagination .btn-next .el-icon,.el-pagination .btn-prev .el-icon{display:block;font-size:12px;font-weight:bold;width:inherit}.el-pagination>.is-first{margin-left:0!important}.el-pagination>.is-last{margin-right:0!important}.el-pagination .btn-prev{margin-left:var(--el-pagination-item-gap)}.el-pagination__sizes,.el-pagination__total{color:var(--el-text-color-regular);font-weight:normal;margin-left:var(--el-pagination-item-gap)}.el-pagination__total[disabled=true]{color:var(--el-text-color-placeholder)}.el-pagination__jump{align-items:center;color:var(--el-text-color-regular);display:flex;font-weight:normal;margin-left:var(--el-pagination-item-gap)}.el-pagination__jump[disabled=true]{color:var(--el-text-color-placeholder)}.el-pagination__goto{margin-right:8px}.el-pagination__editor{box-sizing:border-box;text-align:center}.el-pagination__editor.el-input{width:56px}.el-pagination__editor .el-input__inner::-webkit-inner-spin-button,.el-pagination__editor .el-input__inner::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.el-pagination__classifier{margin-left:8px}.el-pagination__rightwrapper{align-items:center;display:flex;flex:1;justify-content:flex-end}.el-pagination.is-background .btn-next,.el-pagination.is-background .btn-prev,.el-pagination.is-background .el-pager li{background-color:var(--el-pagination-button-bg-color);margin:0 4px}.el-pagination.is-background .btn-next.is-active,.el-pagination.is-background .btn-prev.is-active,.el-pagination.is-background .el-pager li.is-active{background-color:var(--el-color-primary);color:var(--el-color-white)}.el-pagination.is-background .btn-next.is-disabled,.el-pagination.is-background .btn-next:disabled,.el-pagination.is-background .btn-prev.is-disabled,.el-pagination.is-background .btn-prev:disabled,.el-pagination.is-background .el-pager li.is-disabled,.el-pagination.is-background .el-pager li:disabled{background-color:var(--el-disabled-bg-color);color:var(--el-text-color-placeholder)}.el-pagination.is-background .btn-next.is-disabled.is-active,.el-pagination.is-background .btn-next:disabled.is-active,.el-pagination.is-background .btn-prev.is-disabled.is-active,.el-pagination.is-background .btn-prev:disabled.is-active,.el-pagination.is-background .el-pager li.is-disabled.is-active,.el-pagination.is-background .el-pager li:disabled.is-active{background-color:var(--el-fill-color-dark);color:var(--el-text-color-secondary)}.el-pagination.is-background .btn-prev{margin-left:var(--el-pagination-item-gap)}.el-pagination--small .btn-next,.el-pagination--small .btn-prev,.el-pagination--small .el-pager li{font-size:var(--el-pagination-font-size-small);height:var(--el-pagination-button-height-small);line-height:var(--el-pagination-button-height-small);min-width:var(--el-pagination-button-width-small)}.el-pagination--small button,.el-pagination--small span:not([class*=suffix]){font-size:var(--el-pagination-font-size-small)}.el-pagination--small .el-select{width:100px}.el-pagination--large .btn-next,.el-pagination--large .btn-prev,.el-pagination--large .el-pager li{height:var(--el-pagination-button-height-large);line-height:var(--el-pagination-button-height-large);min-width:var(--el-pagination-button-width-large)}.el-pagination--large .el-select .el-input{width:160px}.el-pager{font-size:0;list-style:none;margin:0;padding:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-pager,.el-pager li{align-items:center;display:flex}.el-pager li{background:var(--el-pagination-bg-color);border:none;border-radius:var(--el-pagination-border-radius);box-sizing:border-box;color:var(--el-pagination-button-color);cursor:pointer;font-size:var(--el-pagination-font-size);height:var(--el-pagination-button-height);justify-content:center;line-height:var(--el-pagination-button-height);min-width:var(--el-pagination-button-width);padding:0 4px;text-align:center}.el-pager li *{pointer-events:none}.el-pager li:focus{outline:none}.el-pager li.is-active,.el-pager li:hover{color:var(--el-pagination-hover-color)}.el-pager li.is-active{cursor:default;font-weight:bold}.el-pager li.is-active.is-disabled{color:var(--el-text-color-secondary);font-weight:bold}.el-pager li.is-disabled,.el-pager li:disabled{background-color:var(--el-pagination-button-disabled-bg-color);color:var(--el-pagination-button-disabled-color);cursor:not-allowed}.el-pager li:focus-visible{outline:1px solid var(--el-pagination-hover-color);outline-offset:-1px}.el-popconfirm{outline:none}.el-popconfirm__main{align-items:center;display:flex}.el-popconfirm__icon{margin-right:5px}.el-popconfirm__action{margin-top:8px;text-align:right}.el-popover{--el-popover-bg-color:var(--el-bg-color-overlay);--el-popover-font-size:var(--el-font-size-base);--el-popover-border-color:var(--el-border-color-lighter);--el-popover-padding:12px;--el-popover-padding-large:18px 20px;--el-popover-title-font-size:16px;--el-popover-title-text-color:var(--el-text-color-primary);--el-popover-border-radius:4px}.el-popover.el-popper{background:var(--el-popover-bg-color);border:1px solid var(--el-popover-border-color);border-radius:var(--el-popover-border-radius);box-shadow:var(--el-box-shadow-light);box-sizing:border-box;color:var(--el-text-color-regular);font-size:var(--el-popover-font-size);line-height:1.4;min-width:150px;overflow-wrap:break-word;padding:var(--el-popover-padding);z-index:var(--el-index-popper)}.el-popover.el-popper--plain{padding:var(--el-popover-padding-large)}.el-popover__title{color:var(--el-popover-title-text-color);font-size:var(--el-popover-title-font-size);line-height:1;margin-bottom:12px}.el-popover__reference:focus:hover,.el-popover__reference:focus:not(.focusing){outline-width:0}.el-popover.el-popper.is-dark{--el-popover-bg-color:var(--el-text-color-primary);--el-popover-border-color:var(--el-text-color-primary);--el-popover-title-text-color:var(--el-bg-color);color:var(--el-bg-color)}.el-popover.el-popper:focus,.el-popover.el-popper:focus:active{outline-width:0}.el-progress{align-items:center;display:flex;line-height:1;position:relative}.el-progress__text{color:var(--el-text-color-regular);font-size:14px;line-height:1;margin-left:5px;min-width:50px}.el-progress__text i{display:block;vertical-align:middle}.el-progress--circle,.el-progress--dashboard{display:inline-block}.el-progress--circle .el-progress__text,.el-progress--dashboard .el-progress__text{left:0;margin:0;position:absolute;text-align:center;top:50%;transform:translateY(-50%);width:100%}.el-progress--circle .el-progress__text i,.el-progress--dashboard .el-progress__text i{display:inline-block;vertical-align:middle}.el-progress--without-text .el-progress__text{display:none}.el-progress--without-text .el-progress-bar{display:block;margin-right:0;padding-right:0}.el-progress--text-inside .el-progress-bar{margin-right:0;padding-right:0}.el-progress.is-success .el-progress-bar__inner{background-color:var(--el-color-success)}.el-progress.is-success .el-progress__text{color:var(--el-color-success)}.el-progress.is-warning .el-progress-bar__inner{background-color:var(--el-color-warning)}.el-progress.is-warning .el-progress__text{color:var(--el-color-warning)}.el-progress.is-exception .el-progress-bar__inner{background-color:var(--el-color-danger)}.el-progress.is-exception .el-progress__text{color:var(--el-color-danger)}.el-progress-bar{box-sizing:border-box;flex-grow:1}.el-progress-bar__outer{background-color:var(--el-border-color-lighter);border-radius:100px;height:6px;overflow:hidden;position:relative;vertical-align:middle}.el-progress-bar__inner{background-color:var(--el-color-primary);border-radius:100px;height:100%;left:0;line-height:1;position:absolute;text-align:right;top:0;transition:width .6s ease;white-space:nowrap}.el-progress-bar__inner:after{content:"";display:inline-block;height:100%;vertical-align:middle}.el-progress-bar__inner--indeterminate{animation:indeterminate 3s infinite;transform:translateZ(0)}.el-progress-bar__inner--striped{background-image:linear-gradient(45deg,rgba(0,0,0,.1) 25%,transparent 0,transparent 50%,rgba(0,0,0,.1) 0,rgba(0,0,0,.1) 75%,transparent 0,transparent);background-size:1.25em 1.25em}.el-progress-bar__inner--striped.el-progress-bar__inner--striped-flow{animation:striped-flow 3s linear infinite}.el-progress-bar__innerText{color:#ffffff;display:inline-block;font-size:12px;margin:0 5px;vertical-align:middle}@keyframes progress{0%{background-position:0 0}to{background-position:32px 0}}@keyframes indeterminate{0%{left:-100%}to{left:100%}}@keyframes striped-flow{0%{background-position:-100%}to{background-position:100%}}.el-radio-button{--el-radio-button-checked-bg-color:var(--el-color-primary);--el-radio-button-checked-text-color:var(--el-color-white);--el-radio-button-checked-border-color:var(--el-color-primary);--el-radio-button-disabled-checked-fill:var(--el-border-color-extra-light);display:inline-block;outline:none;position:relative}.el-radio-button__inner{-webkit-appearance:none;background:var(--el-button-bg-color,var(--el-fill-color-blank));border-radius:0;box-sizing:border-box;color:var(--el-button-text-color,var(--el-text-color-regular));cursor:pointer;display:inline-block;font-size:var(--el-font-size-base);font-weight:var(--el-button-font-weight,var(--el-font-weight-primary));line-height:1;margin:0;outline:var(--el-border);padding:8px 15px;position:relative;text-align:center;transition:var(--el-transition-all);-webkit-user-select:none;-moz-user-select:none;user-select:none;vertical-align:middle;white-space:nowrap}.el-radio-button__inner.is-round{padding:8px 15px}.el-radio-button__inner:hover{color:var(--el-color-primary)}.el-radio-button__inner [class*=el-icon-]{line-height:.9}.el-radio-button__inner [class*=el-icon-]+span{margin-left:5px}.el-radio-button:first-child .el-radio-button__inner{border-radius:var(--el-border-radius-base) 0 0 var(--el-border-radius-base);box-shadow:none!important}.el-radio-button.is-active .el-radio-button__original-radio:not(:disabled)+.el-radio-button__inner{background-color:var(--el-radio-button-checked-bg-color,var(--el-color-primary));border-color:var(--el-radio-button-checked-border-color,var(--el-color-primary));box-shadow:-1px 0 0 0 var(--el-radio-button-checked-border-color,var(--el-color-primary));color:var(--el-radio-button-checked-text-color,var(--el-color-white))}.el-radio-button__original-radio{opacity:0;outline:none;position:absolute;z-index:-1}.el-radio-button__original-radio:focus-visible+.el-radio-button__inner{border-left:var(--el-border);border-left-color:var(--el-radio-button-checked-border-color,var(--el-color-primary));border-radius:var(--el-border-radius-base);box-shadow:none;outline:2px solid var(--el-radio-button-checked-border-color);outline-offset:1px;z-index:2}.el-radio-button__original-radio:disabled+.el-radio-button__inner{background-color:var(--el-button-disabled-bg-color,var(--el-fill-color-blank));background-image:none;border-color:var(--el-button-disabled-border-color,var(--el-border-color-light));box-shadow:none;color:var(--el-disabled-text-color);cursor:not-allowed}.el-radio-button__original-radio:disabled:checked+.el-radio-button__inner{background-color:var(--el-radio-button-disabled-checked-fill)}.el-radio-button:last-child .el-radio-button__inner{border-radius:0 var(--el-border-radius-base) var(--el-border-radius-base) 0}.el-radio-button:first-child:last-child .el-radio-button__inner{border-radius:var(--el-border-radius-base)}.el-radio-button--large .el-radio-button__inner{border-radius:0;font-size:var(--el-font-size-base);padding:12px 19px}.el-radio-button--large .el-radio-button__inner.is-round{padding:12px 19px}.el-radio-button--small .el-radio-button__inner{border-radius:0;font-size:12px;padding:5px 11px}.el-radio-button--small .el-radio-button__inner.is-round{padding:5px 11px}.el-radio-group{align-items:center;display:inline-flex;flex-wrap:wrap;font-size:0}.el-radio{--el-radio-font-size:var(--el-font-size-base);--el-radio-text-color:var(--el-text-color-regular);--el-radio-font-weight:var(--el-font-weight-primary);--el-radio-input-height:14px;--el-radio-input-width:14px;--el-radio-input-border-radius:var(--el-border-radius-circle);--el-radio-input-bg-color:var(--el-fill-color-blank);--el-radio-input-border:var(--el-border);--el-radio-input-border-color:var(--el-border-color);--el-radio-input-border-color-hover:var(--el-color-primary);align-items:center;color:var(--el-radio-text-color);cursor:pointer;display:inline-flex;font-size:var(--el-font-size-base);font-weight:var(--el-radio-font-weight);height:32px;margin-right:30px;outline:none;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap}.el-radio.el-radio--large{height:40px}.el-radio.el-radio--small{height:24px}.el-radio.is-bordered{border:var(--el-border);border-radius:var(--el-border-radius-base);box-sizing:border-box;padding:0 15px 0 9px}.el-radio.is-bordered.is-checked{border-color:var(--el-color-primary)}.el-radio.is-bordered.is-disabled{border-color:var(--el-border-color-lighter);cursor:not-allowed}.el-radio.is-bordered.el-radio--large{border-radius:var(--el-border-radius-base);padding:0 19px 0 11px}.el-radio.is-bordered.el-radio--large .el-radio__label{font-size:var(--el-font-size-base)}.el-radio.is-bordered.el-radio--large .el-radio__inner{height:14px;width:14px}.el-radio.is-bordered.el-radio--small{border-radius:var(--el-border-radius-base);padding:0 11px 0 7px}.el-radio.is-bordered.el-radio--small .el-radio__label{font-size:12px}.el-radio.is-bordered.el-radio--small .el-radio__inner{height:12px;width:12px}.el-radio:last-child{margin-right:0}.el-radio__input{cursor:pointer;display:inline-flex;outline:none;position:relative;vertical-align:middle;white-space:nowrap}.el-radio__input.is-disabled .el-radio__inner{border-color:var(--el-disabled-border-color)}.el-radio__input.is-disabled .el-radio__inner,.el-radio__input.is-disabled .el-radio__inner:after{background-color:var(--el-disabled-bg-color);cursor:not-allowed}.el-radio__input.is-disabled .el-radio__inner+.el-radio__label{cursor:not-allowed}.el-radio__input.is-disabled.is-checked .el-radio__inner{background-color:var(--el-disabled-bg-color);border-color:var(--el-disabled-border-color)}.el-radio__input.is-disabled.is-checked .el-radio__inner:after{background-color:var(--el-text-color-placeholder)}.el-radio__input.is-disabled+span.el-radio__label{color:var(--el-text-color-placeholder);cursor:not-allowed}.el-radio__input.is-checked .el-radio__inner{background:var(--el-color-primary);border-color:var(--el-color-primary)}.el-radio__input.is-checked .el-radio__inner:after{background-color:var(--el-color-white);transform:translate(-50%,-50%) scale(1)}.el-radio__input.is-checked+.el-radio__label{color:var(--el-color-primary)}.el-radio__input.is-focus .el-radio__inner{border-color:var(--el-radio-input-border-color-hover)}.el-radio__inner{background-color:var(--el-radio-input-bg-color);border:var(--el-radio-input-border);border-radius:var(--el-radio-input-border-radius);box-sizing:border-box;cursor:pointer;display:inline-block;height:var(--el-radio-input-height);position:relative;transition:all .3s;width:var(--el-radio-input-width)}.el-radio__inner:hover{border-color:var(--el-radio-input-border-color-hover)}.el-radio__inner:after{border-radius:var(--el-radio-input-border-radius);content:"";height:4px;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%) scale(0);transition:transform .15s ease-in;width:4px}.el-radio__original{bottom:0;left:0;margin:0;opacity:0;outline:none;position:absolute;right:0;top:0;z-index:-1}.el-radio__original:focus-visible+.el-radio__inner{border-radius:var(--el-radio-input-border-radius);outline:2px solid var(--el-radio-input-border-color-hover);outline-offset:1px}.el-radio:focus:not(:focus-visible):not(.is-focus):not(:active):not(.is-disabled) .el-radio__inner{box-shadow:0 0 2px 2px var(--el-radio-input-border-color-hover)}.el-radio__label{font-size:var(--el-radio-font-size);padding-left:8px}.el-radio.el-radio--large .el-radio__label{font-size:14px}.el-radio.el-radio--large .el-radio__inner{height:14px;width:14px}.el-radio.el-radio--small .el-radio__label{font-size:12px}.el-radio.el-radio--small .el-radio__inner{height:12px;width:12px}.el-rate{--el-rate-height:20px;--el-rate-font-size:var(--el-font-size-base);--el-rate-icon-size:18px;--el-rate-icon-margin:6px;--el-rate-void-color:var(--el-border-color-darker);--el-rate-fill-color:#f7ba2a;--el-rate-disabled-void-color:var(--el-fill-color);--el-rate-text-color:var(--el-text-color-primary);--el-rate-outline-color:var(--el-color-primary-light-5);align-items:center;display:inline-flex;height:32px}.el-rate:active,.el-rate:focus{outline:none}.el-rate:focus-visible .el-rate__item .el-rate__icon.is-focus-visible{outline:2px solid var(--el-rate-outline-color);transition:outline-offset 0s,outline 0s}.el-rate__item{color:var(--el-rate-void-color);cursor:pointer;display:inline-block;font-size:0;line-height:normal;position:relative;vertical-align:middle}.el-rate .el-rate__icon{display:inline-block;font-size:var(--el-rate-icon-size);margin-right:var(--el-rate-icon-margin);position:relative;transition:var(--el-transition-duration)}.el-rate .el-rate__icon.hover{transform:scale(1.15)}.el-rate .el-rate__icon .path2{left:0;position:absolute;top:0}.el-rate .el-rate__icon.is-active{color:var(--el-rate-fill-color)}.el-rate__decimal{color:var(--el-rate-fill-color);display:inline-block;overflow:hidden}.el-rate__decimal,.el-rate__decimal--box{left:0;position:absolute;top:0}.el-rate__text{color:var(--el-rate-text-color);font-size:var(--el-rate-font-size);vertical-align:middle}.el-rate--large{height:40px}.el-rate--small{height:24px}.el-rate--small .el-rate__icon{font-size:14px}.el-rate.is-disabled .el-rate__item{color:var(--el-rate-disabled-void-color);cursor:not-allowed}.el-result{--el-result-padding:40px 30px;--el-result-icon-font-size:64px;--el-result-title-font-size:20px;--el-result-title-margin-top:20px;--el-result-subtitle-margin-top:10px;--el-result-extra-margin-top:30px;align-items:center;box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;padding:var(--el-result-padding);text-align:center}.el-result__icon svg{height:var(--el-result-icon-font-size);width:var(--el-result-icon-font-size)}.el-result__title{margin-top:var(--el-result-title-margin-top)}.el-result__title p{color:var(--el-text-color-primary);font-size:var(--el-result-title-font-size);line-height:1.3;margin:0}.el-result__subtitle{margin-top:var(--el-result-subtitle-margin-top)}.el-result__subtitle p{color:var(--el-text-color-regular);font-size:var(--el-font-size-base);line-height:1.3;margin:0}.el-result__extra{margin-top:var(--el-result-extra-margin-top)}.el-result .icon-primary{--el-result-color:var(--el-color-primary);color:var(--el-result-color)}.el-result .icon-success{--el-result-color:var(--el-color-success);color:var(--el-result-color)}.el-result .icon-warning{--el-result-color:var(--el-color-warning);color:var(--el-result-color)}.el-result .icon-danger{--el-result-color:var(--el-color-danger);color:var(--el-result-color)}.el-result .icon-error{--el-result-color:var(--el-color-error);color:var(--el-result-color)}.el-result .icon-info{--el-result-color:var(--el-color-info);color:var(--el-result-color)}.el-row{box-sizing:border-box;display:flex;flex-wrap:wrap;position:relative}.el-row.is-justify-center{justify-content:center}.el-row.is-justify-end{justify-content:flex-end}.el-row.is-justify-space-between{justify-content:space-between}.el-row.is-justify-space-around{justify-content:space-around}.el-row.is-justify-space-evenly{justify-content:space-evenly}.el-row.is-align-top{align-items:flex-start}.el-row.is-align-middle{align-items:center}.el-row.is-align-bottom{align-items:flex-end}.el-scrollbar{--el-scrollbar-opacity:0.3;--el-scrollbar-bg-color:var(--el-text-color-secondary);--el-scrollbar-hover-opacity:0.5;--el-scrollbar-hover-bg-color:var(--el-text-color-secondary);height:100%;overflow:hidden;position:relative}.el-scrollbar__wrap{height:100%;overflow:auto}.el-scrollbar__wrap--hidden-default{scrollbar-width:none}.el-scrollbar__wrap--hidden-default::-webkit-scrollbar{display:none}.el-scrollbar__thumb{background-color:var(--el-scrollbar-bg-color,var(--el-text-color-secondary));border-radius:inherit;cursor:pointer;display:block;height:0;opacity:var(--el-scrollbar-opacity,.3);position:relative;transition:var(--el-transition-duration) background-color;width:0}.el-scrollbar__thumb:hover{background-color:var(--el-scrollbar-hover-bg-color,var(--el-text-color-secondary));opacity:var(--el-scrollbar-hover-opacity,.5)}.el-scrollbar__bar{border-radius:4px;bottom:2px;position:absolute;right:2px;z-index:1}.el-scrollbar__bar.is-vertical{top:2px;width:6px}.el-scrollbar__bar.is-vertical>div{width:100%}.el-scrollbar__bar.is-horizontal{height:6px;left:2px}.el-scrollbar__bar.is-horizontal>div{height:100%}.el-scrollbar-fade-enter-active{transition:opacity .34s ease-out}.el-scrollbar-fade-leave-active{transition:opacity .12s ease-out}.el-scrollbar-fade-enter-from,.el-scrollbar-fade-leave-active{opacity:0}.el-select-dropdown{border-radius:var(--el-border-radius-base);box-sizing:border-box;z-index:calc(var(--el-index-top) + 1)}.el-select-dropdown .el-scrollbar.is-empty .el-select-dropdown__list{padding:0}.el-select-dropdown__empty,.el-select-dropdown__loading{color:var(--el-text-color-secondary);font-size:var(--el-select-font-size);margin:0;padding:10px 0;text-align:center}.el-select-dropdown__wrap{max-height:274px}.el-select-dropdown__list{box-sizing:border-box;list-style:none;margin:0;padding:6px 0}.el-select-dropdown__list.el-vl__window{margin:6px 0;padding:0}.el-select-dropdown__header{border-bottom:1px solid var(--el-border-color-light);padding:10px}.el-select-dropdown__footer{border-top:1px solid var(--el-border-color-light);padding:10px}.el-select-dropdown__item{box-sizing:border-box;color:var(--el-text-color-regular);cursor:pointer;font-size:var(--el-font-size-base);height:34px;line-height:34px;overflow:hidden;padding:0 32px 0 20px;position:relative;text-overflow:ellipsis;white-space:nowrap}.el-select-dropdown__item.is-hovering{background-color:var(--el-fill-color-light)}.el-select-dropdown__item.is-selected{color:var(--el-color-primary);font-weight:bold}.el-select-dropdown__item.is-disabled{background-color:unset;color:var(--el-text-color-placeholder);cursor:not-allowed}.el-select-dropdown.is-multiple .el-select-dropdown__item.is-selected:after{background-color:var(--el-color-primary);background-position:50%;background-repeat:no-repeat;border-right:none;border-top:none;content:"";height:12px;mask:url("data:image/svg+xml;utf8,%3Csvg class='icon' width='200' height='200' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' d='M406.656 706.944L195.84 496.256a32 32 0 10-45.248 45.248l256 256 512-512a32 32 0 00-45.248-45.248L406.592 706.944z'%3E%3C/path%3E%3C/svg%3E") no-repeat;mask-size:100% 100%;-webkit-mask:url("data:image/svg+xml;utf8,%3Csvg class='icon' width='200' height='200' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' d='M406.656 706.944L195.84 496.256a32 32 0 10-45.248 45.248l256 256 512-512a32 32 0 00-45.248-45.248L406.592 706.944z'%3E%3C/path%3E%3C/svg%3E") no-repeat;-webkit-mask-size:100% 100%;position:absolute;right:20px;top:50%;transform:translateY(-50%);width:12px}.el-select-dropdown.is-multiple .el-select-dropdown__item.is-disabled:after{background-color:var(--el-text-color-placeholder)}.el-select-group{margin:0;padding:0}.el-select-group__wrap{list-style:none;margin:0;padding:0;position:relative}.el-select-group__title{box-sizing:border-box;color:var(--el-color-info);font-size:12px;line-height:34px;overflow:hidden;padding:0 20px;text-overflow:ellipsis;white-space:nowrap}.el-select-group .el-select-dropdown__item{padding-left:20px}.el-select{--el-select-border-color-hover:var(--el-border-color-hover);--el-select-disabled-color:var(--el-disabled-text-color);--el-select-disabled-border:var(--el-disabled-border-color);--el-select-font-size:var(--el-font-size-base);--el-select-close-hover-color:var(--el-text-color-secondary);--el-select-input-color:var(--el-text-color-placeholder);--el-select-multiple-input-color:var(--el-text-color-regular);--el-select-input-focus-border-color:var(--el-color-primary);--el-select-input-font-size:14px;--el-select-width:100%;display:inline-block;position:relative;vertical-align:middle;width:var(--el-select-width)}.el-select__wrapper{align-items:center;background-color:var(--el-fill-color-blank);border-radius:var(--el-border-radius-base);box-shadow:0 0 0 1px var(--el-border-color) inset;box-sizing:border-box;cursor:pointer;display:flex;font-size:14px;gap:6px;line-height:24px;min-height:32px;padding:4px 12px;position:relative;text-align:left;transform:translateZ(0);transition:var(--el-transition-duration)}.el-select__wrapper.is-filterable{cursor:text}.el-select__wrapper.is-focused{box-shadow:0 0 0 1px var(--el-color-primary) inset}.el-select__wrapper.is-hovering:not(.is-focused){box-shadow:0 0 0 1px var(--el-border-color-hover) inset}.el-select__wrapper.is-disabled{background-color:var(--el-fill-color-light);color:var(--el-text-color-placeholder);cursor:not-allowed}.el-select__wrapper.is-disabled,.el-select__wrapper.is-disabled:hover{box-shadow:0 0 0 1px var(--el-select-disabled-border) inset}.el-select__wrapper.is-disabled.is-focus{box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset}.el-select__wrapper.is-disabled .el-select__selected-item{color:var(--el-select-disabled-color)}.el-select__wrapper.is-disabled .el-select__caret,.el-select__wrapper.is-disabled .el-tag,.el-select__wrapper.is-disabled input{cursor:not-allowed}.el-select__wrapper.is-disabled .el-select__prefix,.el-select__wrapper.is-disabled .el-select__suffix{pointer-events:none}.el-select__prefix,.el-select__suffix{align-items:center;color:var(--el-input-icon-color,var(--el-text-color-placeholder));display:flex;flex-shrink:0;gap:6px}.el-select__caret{color:var(--el-select-input-color);cursor:pointer;font-size:var(--el-select-input-font-size);transform:rotate(0deg);transition:var(--el-transition-duration)}.el-select__caret.is-reverse{transform:rotate(180deg)}.el-select__clear{cursor:pointer}.el-select__clear:hover{color:var(--el-select-close-hover-color)}.el-select__selection{align-items:center;display:flex;flex:1;flex-wrap:wrap;gap:6px;min-width:0;position:relative}.el-select__selection.is-near{margin-left:-8px}.el-select__selection .el-tag{border-color:transparent;cursor:pointer}.el-select__selection .el-tag.el-tag--plain{border-color:var(--el-tag-border-color)}.el-select__selection .el-tag .el-tag__content{min-width:0}.el-select__selected-item{display:flex;flex-wrap:wrap;-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-select__tags-text{line-height:normal}.el-select__placeholder,.el-select__tags-text{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.el-select__placeholder{color:var(--el-input-text-color,var(--el-text-color-regular));position:absolute;top:50%;transform:translateY(-50%);width:100%;z-index:-1}.el-select__placeholder.is-transparent{color:var(--el-text-color-placeholder);-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-select__popper.el-popper{background:var(--el-bg-color-overlay);box-shadow:var(--el-box-shadow-light)}.el-select__popper.el-popper,.el-select__popper.el-popper .el-popper__arrow:before{border:1px solid var(--el-border-color-light)}.el-select__popper.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-left-color:transparent;border-top-color:transparent}.el-select__popper.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent;border-right-color:transparent}.el-select__popper.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-bottom-color:transparent;border-left-color:transparent}.el-select__popper.el-popper[data-popper-placement^=right] .el-popper__arrow:before{border-right-color:transparent;border-top-color:transparent}.el-select__input-wrapper{flex:1}.el-select__input-wrapper.is-hidden{opacity:0;position:absolute;z-index:-1}.el-select__input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;border:none;color:var(--el-select-multiple-input-color);font-family:inherit;font-size:inherit;height:24px;outline:none;padding:0;width:100%}.el-select__input-calculator{left:0;max-width:100%;overflow:hidden;position:absolute;top:0;visibility:hidden;white-space:pre}.el-select--large .el-select__wrapper{font-size:14px;gap:6px;line-height:24px;min-height:40px;padding:8px 16px}.el-select--large .el-select__selection{gap:6px}.el-select--large .el-select__selection.is-near{margin-left:-8px}.el-select--large .el-select__prefix,.el-select--large .el-select__suffix{gap:6px}.el-select--large .el-select__input{height:24px}.el-select--small .el-select__wrapper{font-size:12px;gap:4px;line-height:20px;min-height:24px;padding:2px 8px}.el-select--small .el-select__selection{gap:4px}.el-select--small .el-select__selection.is-near{margin-left:-6px}.el-select--small .el-select__prefix,.el-select--small .el-select__suffix{gap:4px}.el-select--small .el-select__input{height:20px}.el-skeleton{--el-skeleton-circle-size:var(--el-avatar-size)}.el-skeleton__item{background:var(--el-skeleton-color);border-radius:var(--el-border-radius-base);display:inline-block;height:16px;width:100%}.el-skeleton__circle{border-radius:50%;height:var(--el-skeleton-circle-size);line-height:var(--el-skeleton-circle-size);width:var(--el-skeleton-circle-size)}.el-skeleton__button{border-radius:4px;height:40px;width:64px}.el-skeleton__p{width:100%}.el-skeleton__p.is-last{width:61%}.el-skeleton__p.is-first{width:33%}.el-skeleton__text{height:var(--el-font-size-small);width:100%}.el-skeleton__caption{height:var(--el-font-size-extra-small)}.el-skeleton__h1{height:var(--el-font-size-extra-large)}.el-skeleton__h3{height:var(--el-font-size-large)}.el-skeleton__h5{height:var(--el-font-size-medium)}.el-skeleton__image{align-items:center;border-radius:0;display:flex;justify-content:center;width:unset}.el-skeleton__image svg{color:var(--el-svg-monochrome-grey);fill:currentColor;height:22%;width:22%}.el-skeleton{--el-skeleton-color:var(--el-fill-color);--el-skeleton-to-color:var(--el-fill-color-darker)}@keyframes el-skeleton-loading{0%{background-position:100% 50%}to{background-position:0 50%}}.el-skeleton{width:100%}.el-skeleton__first-line,.el-skeleton__paragraph{background:var(--el-skeleton-color);height:16px;margin-top:16px}.el-skeleton.is-animated .el-skeleton__item{animation:el-skeleton-loading 1.4s ease infinite;background:linear-gradient(90deg,var(--el-skeleton-color) 25%,var(--el-skeleton-to-color) 37%,var(--el-skeleton-color) 63%);background-size:400% 100%}.el-slider{--el-slider-main-bg-color:var(--el-color-primary);--el-slider-runway-bg-color:var(--el-border-color-light);--el-slider-stop-bg-color:var(--el-color-white);--el-slider-disabled-color:var(--el-text-color-placeholder);--el-slider-border-radius:3px;--el-slider-height:6px;--el-slider-button-size:20px;--el-slider-button-wrapper-size:36px;--el-slider-button-wrapper-offset:-15px;align-items:center;display:flex;height:32px;width:100%}.el-slider__runway{background-color:var(--el-slider-runway-bg-color);border-radius:var(--el-slider-border-radius);cursor:pointer;flex:1;height:var(--el-slider-height);position:relative}.el-slider__runway.show-input{margin-right:30px;width:auto}.el-slider__runway.is-disabled{cursor:default}.el-slider__runway.is-disabled .el-slider__bar{background-color:var(--el-slider-disabled-color)}.el-slider__runway.is-disabled .el-slider__button{border-color:var(--el-slider-disabled-color)}.el-slider__runway.is-disabled .el-slider__button-wrapper.dragging,.el-slider__runway.is-disabled .el-slider__button-wrapper.hover,.el-slider__runway.is-disabled .el-slider__button-wrapper:hover{cursor:not-allowed}.el-slider__runway.is-disabled .el-slider__button.dragging,.el-slider__runway.is-disabled .el-slider__button.hover,.el-slider__runway.is-disabled .el-slider__button:hover{transform:scale(1)}.el-slider__runway.is-disabled .el-slider__button.dragging,.el-slider__runway.is-disabled .el-slider__button.hover,.el-slider__runway.is-disabled .el-slider__button:hover{cursor:not-allowed}.el-slider__input{flex-shrink:0;width:130px}.el-slider__bar{background-color:var(--el-slider-main-bg-color);border-bottom-left-radius:var(--el-slider-border-radius);border-top-left-radius:var(--el-slider-border-radius);height:var(--el-slider-height);position:absolute}.el-slider__button-wrapper{background-color:transparent;height:var(--el-slider-button-wrapper-size);line-height:normal;outline:none;position:absolute;text-align:center;top:var(--el-slider-button-wrapper-offset);transform:translateX(-50%);-webkit-user-select:none;-moz-user-select:none;user-select:none;width:var(--el-slider-button-wrapper-size);z-index:1}.el-slider__button-wrapper:after{content:"";display:inline-block;height:100%;vertical-align:middle}.el-slider__button-wrapper.hover,.el-slider__button-wrapper:hover{cursor:grab}.el-slider__button-wrapper.dragging{cursor:grabbing}.el-slider__button{background-color:var(--el-color-white);border:2px solid var(--el-slider-main-bg-color);border-radius:50%;box-sizing:border-box;display:inline-block;height:var(--el-slider-button-size);transition:var(--el-transition-duration-fast);-webkit-user-select:none;-moz-user-select:none;user-select:none;vertical-align:middle;width:var(--el-slider-button-size)}.el-slider__button.dragging,.el-slider__button.hover,.el-slider__button:hover{transform:scale(1.2)}.el-slider__button.hover,.el-slider__button:hover{cursor:grab}.el-slider__button.dragging{cursor:grabbing}.el-slider__stop{background-color:var(--el-slider-stop-bg-color);border-radius:var(--el-border-radius-circle);height:var(--el-slider-height);position:absolute;transform:translateX(-50%);width:var(--el-slider-height)}.el-slider__marks{height:100%;left:12px;top:0;width:18px}.el-slider__marks-text{color:var(--el-color-info);font-size:14px;margin-top:15px;position:absolute;transform:translateX(-50%);white-space:pre}.el-slider.is-vertical{display:inline-flex;flex:0;height:100%;position:relative;width:auto}.el-slider.is-vertical .el-slider__runway{height:100%;margin:0 16px;width:var(--el-slider-height)}.el-slider.is-vertical .el-slider__bar{border-radius:0 0 3px 3px;height:auto;width:var(--el-slider-height)}.el-slider.is-vertical .el-slider__button-wrapper{left:var(--el-slider-button-wrapper-offset);top:auto;transform:translateY(50%)}.el-slider.is-vertical .el-slider__stop{transform:translateY(50%)}.el-slider.is-vertical .el-slider__marks-text{left:15px;margin-top:0;transform:translateY(50%)}.el-slider--large{height:40px}.el-slider--small{height:24px}.el-space{display:inline-flex;vertical-align:top}.el-space__item{display:flex;flex-wrap:wrap}.el-space__item>*{flex:1}.el-space--vertical{flex-direction:column}.el-time-spinner{white-space:nowrap;width:100%}.el-spinner{display:inline-block;vertical-align:middle}.el-spinner-inner{animation:rotate 2s linear infinite;height:50px;width:50px}.el-spinner-inner .path{animation:dash 1.5s ease-in-out infinite;stroke:var(--el-border-color-lighter);stroke-linecap:round}@keyframes rotate{to{transform:rotate(1turn)}}@keyframes dash{0%{stroke-dasharray:1,150;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-35}to{stroke-dasharray:90,150;stroke-dashoffset:-124}}.el-step{flex-shrink:1;position:relative}.el-step:last-of-type .el-step__line{display:none}.el-step:last-of-type.is-flex{flex-basis:auto!important;flex-grow:0;flex-shrink:0}.el-step:last-of-type .el-step__description,.el-step:last-of-type .el-step__main{padding-right:0}.el-step__head{position:relative;width:100%}.el-step__head.is-process{border-color:var(--el-text-color-primary);color:var(--el-text-color-primary)}.el-step__head.is-wait{border-color:var(--el-text-color-placeholder);color:var(--el-text-color-placeholder)}.el-step__head.is-success{border-color:var(--el-color-success);color:var(--el-color-success)}.el-step__head.is-error{border-color:var(--el-color-danger);color:var(--el-color-danger)}.el-step__head.is-finish{border-color:var(--el-color-primary);color:var(--el-color-primary)}.el-step__icon{align-items:center;background:var(--el-bg-color);box-sizing:border-box;display:inline-flex;font-size:14px;height:24px;justify-content:center;position:relative;transition:.15s ease-out;width:24px;z-index:1}.el-step__icon.is-text{border:2px solid;border-radius:50%}.el-step__icon.is-icon{width:40px}.el-step__icon-inner{color:inherit;display:inline-block;font-weight:bold;line-height:1;text-align:center;-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-step__icon-inner[class*=el-icon]:not(.is-status){font-size:25px;font-weight:normal}.el-step__icon-inner.is-status{transform:translateY(1px)}.el-step__line{background-color:var(--el-text-color-placeholder);border-color:currentColor;position:absolute}.el-step__line-inner{border:1px solid;box-sizing:border-box;display:block;height:0;transition:.15s ease-out;width:0}.el-step__main{text-align:left;white-space:normal}.el-step__title{font-size:16px;line-height:38px}.el-step__title.is-process{color:var(--el-text-color-primary);font-weight:bold}.el-step__title.is-wait{color:var(--el-text-color-placeholder)}.el-step__title.is-success{color:var(--el-color-success)}.el-step__title.is-error{color:var(--el-color-danger)}.el-step__title.is-finish{color:var(--el-color-primary)}.el-step__description{font-size:12px;font-weight:normal;line-height:20px;margin-top:-5px;padding-right:10%}.el-step__description.is-process{color:var(--el-text-color-primary)}.el-step__description.is-wait{color:var(--el-text-color-placeholder)}.el-step__description.is-success{color:var(--el-color-success)}.el-step__description.is-error{color:var(--el-color-danger)}.el-step__description.is-finish{color:var(--el-color-primary)}.el-step.is-horizontal{display:inline-block}.el-step.is-horizontal .el-step__line{height:2px;left:0;right:0;top:11px}.el-step.is-vertical{display:flex}.el-step.is-vertical .el-step__head{flex-grow:0;width:24px}.el-step.is-vertical .el-step__main{flex-grow:1;padding-left:10px}.el-step.is-vertical .el-step__title{line-height:24px;padding-bottom:8px}.el-step.is-vertical .el-step__line{bottom:0;left:11px;top:0;width:2px}.el-step.is-vertical .el-step__icon.is-icon{width:24px}.el-step.is-vertical .el-step__description{padding-right:0}.el-step.is-center .el-step__head,.el-step.is-center .el-step__main{text-align:center}.el-step.is-center .el-step__description{padding-left:20%;padding-right:20%}.el-step.is-center .el-step__line{left:50%;right:-50%}.el-step.is-simple{align-items:center;display:flex}.el-step.is-simple .el-step__head{font-size:0;padding-right:10px;width:auto}.el-step.is-simple .el-step__icon{background:transparent;font-size:12px;height:16px;width:16px}.el-step.is-simple .el-step__icon-inner[class*=el-icon]:not(.is-status){font-size:18px}.el-step.is-simple .el-step__icon-inner.is-status{transform:scale(.8) translateY(1px)}.el-step.is-simple .el-step__main{align-items:stretch;display:flex;flex-grow:1;position:relative}.el-step.is-simple .el-step__title{font-size:16px;line-height:20px}.el-step.is-simple:not(:last-of-type) .el-step__title{max-width:50%;overflow-wrap:break-word}.el-step.is-simple .el-step__arrow{align-items:center;display:flex;flex-grow:1;justify-content:center}.el-step.is-simple .el-step__arrow:after,.el-step.is-simple .el-step__arrow:before{background:var(--el-text-color-placeholder);content:"";display:inline-block;height:15px;position:absolute;width:1px}.el-step.is-simple .el-step__arrow:before{transform:rotate(-45deg) translateY(-4px);transform-origin:0 0}.el-step.is-simple .el-step__arrow:after{transform:rotate(45deg) translateY(4px);transform-origin:100% 100%}.el-step.is-simple:last-of-type .el-step__arrow{display:none}.el-steps{display:flex;line-height:normal}.el-steps--simple{background:var(--el-fill-color-light);border-radius:4px;padding:13px 8%}.el-steps--horizontal{white-space:nowrap}.el-steps--vertical{flex-flow:column;height:100%}.el-switch{--el-switch-on-color:var(--el-color-primary);--el-switch-off-color:var(--el-border-color);align-items:center;display:inline-flex;font-size:14px;height:32px;line-height:20px;position:relative;vertical-align:middle}.el-switch.is-disabled .el-switch__core,.el-switch.is-disabled .el-switch__label{cursor:not-allowed}.el-switch__label{color:var(--el-text-color-primary);cursor:pointer;display:inline-block;font-size:14px;font-weight:500;height:20px;transition:var(--el-transition-duration-fast);vertical-align:middle}.el-switch__label.is-active{color:var(--el-color-primary)}.el-switch__label--left{margin-right:10px}.el-switch__label--right{margin-left:10px}.el-switch__label *{display:inline-block;font-size:14px;line-height:1}.el-switch__label .el-icon{height:inherit}.el-switch__label .el-icon svg{vertical-align:middle}.el-switch__input{height:0;margin:0;opacity:0;position:absolute;width:0}.el-switch__input:focus-visible~.el-switch__core{outline:2px solid var(--el-switch-on-color);outline-offset:1px}.el-switch__core{align-items:center;background:var(--el-switch-off-color);border:1px solid var(--el-switch-border-color,var(--el-switch-off-color));border-radius:10px;box-sizing:border-box;cursor:pointer;display:inline-flex;height:20px;min-width:40px;outline:none;position:relative;transition:border-color var(--el-transition-duration),background-color var(--el-transition-duration)}.el-switch__core .el-switch__inner{align-items:center;display:flex;height:16px;justify-content:center;overflow:hidden;padding:0 4px 0 18px;transition:all var(--el-transition-duration);width:100%}.el-switch__core .el-switch__inner-wrapper{align-items:center;color:var(--el-color-white);display:flex;font-size:12px;overflow:hidden;text-overflow:ellipsis;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap}.el-switch__core .el-switch__action{align-items:center;background-color:var(--el-color-white);border-radius:var(--el-border-radius-circle);color:var(--el-switch-off-color);display:flex;height:16px;justify-content:center;left:1px;position:absolute;transition:all var(--el-transition-duration);width:16px}.el-switch.is-checked .el-switch__core{background-color:var(--el-switch-on-color);border-color:var(--el-switch-border-color,var(--el-switch-on-color))}.el-switch.is-checked .el-switch__core .el-switch__action{color:var(--el-switch-on-color);left:calc(100% - 17px)}.el-switch.is-checked .el-switch__core .el-switch__inner{padding:0 18px 0 4px}.el-switch.is-disabled{opacity:.6}.el-switch--wide .el-switch__label.el-switch__label--left span{left:10px}.el-switch--wide .el-switch__label.el-switch__label--right span{right:10px}.el-switch .label-fade-enter-from,.el-switch .label-fade-leave-active{opacity:0}.el-switch--large{font-size:14px;height:40px;line-height:24px}.el-switch--large .el-switch__label{font-size:14px;height:24px}.el-switch--large .el-switch__label *{font-size:14px}.el-switch--large .el-switch__core{border-radius:12px;height:24px;min-width:50px}.el-switch--large .el-switch__core .el-switch__inner{height:20px;padding:0 6px 0 22px}.el-switch--large .el-switch__core .el-switch__action{height:20px;width:20px}.el-switch--large.is-checked .el-switch__core .el-switch__action{left:calc(100% - 21px)}.el-switch--large.is-checked .el-switch__core .el-switch__inner{padding:0 22px 0 6px}.el-switch--small{font-size:12px;height:24px;line-height:16px}.el-switch--small .el-switch__label{font-size:12px;height:16px}.el-switch--small .el-switch__label *{font-size:12px}.el-switch--small .el-switch__core{border-radius:8px;height:16px;min-width:30px}.el-switch--small .el-switch__core .el-switch__inner{height:12px;padding:0 2px 0 14px}.el-switch--small .el-switch__core .el-switch__action{height:12px;width:12px}.el-switch--small.is-checked .el-switch__core .el-switch__action{left:calc(100% - 13px)}.el-switch--small.is-checked .el-switch__core .el-switch__inner{padding:0 14px 0 2px}.el-table-column--selection .cell{padding-left:14px;padding-right:14px}.el-table-filter{background-color:#ffffff;border:1px solid var(--el-border-color-lighter);border-radius:2px;box-shadow:var(--el-box-shadow-light);box-sizing:border-box}.el-table-filter__list{list-style:none;margin:0;min-width:100px;outline:none;padding:5px 0}.el-table-filter__list-item{cursor:pointer;font-size:var(--el-font-size-base);line-height:36px;outline:none;padding:0 10px}.el-table-filter__list-item:focus,.el-table-filter__list-item:hover{background-color:var(--el-color-primary-light-9);color:var(--el-color-primary)}.el-table-filter__list-item.is-active{background-color:var(--el-color-primary);color:#ffffff}.el-table-filter__multiple{outline:none}.el-table-filter__content{min-width:100px}.el-table-filter__bottom{border-top:1px solid var(--el-border-color-lighter);padding:8px}.el-table-filter__bottom button{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;border:none;border-radius:var(--el-border-radius-base);cursor:pointer;margin:0;outline:none;padding:0;transition:transform var(--el-transition-duration-fast) ease-in-out}.el-table-filter__bottom button:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:2px}.el-table-filter__bottom button{color:var(--el-text-color-regular);font-size:var(--el-font-size-small);padding:0 3px}.el-table-filter__bottom button:hover{color:var(--el-color-primary)}.el-table-filter__bottom button.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-table-filter__wrap{max-height:280px}.el-table-filter__checkbox-group{padding:10px}.el-table-filter__checkbox-group label.el-checkbox{align-items:center;display:flex;height:unset;margin-bottom:12px;margin-left:5px;margin-right:5px}.el-table-filter__checkbox-group .el-checkbox:last-child{margin-bottom:0}.el-table{--el-table-border-color:var(--el-border-color-lighter);--el-table-border:1px solid var(--el-table-border-color);--el-table-text-color:var(--el-text-color-regular);--el-table-header-text-color:var(--el-text-color-secondary);--el-table-row-hover-bg-color:var(--el-fill-color-light);--el-table-current-row-bg-color:var(--el-color-primary-light-9);--el-table-header-bg-color:var(--el-fill-color-blank);--el-table-fixed-box-shadow:var(--el-box-shadow-light);--el-table-bg-color:var(--el-fill-color-blank);--el-table-tr-bg-color:var(--el-fill-color-blank);--el-table-expanded-cell-bg-color:var(--el-fill-color-blank);--el-table-fixed-left-column:inset 10px 0 10px -10px rgba(0,0,0,0.15);--el-table-fixed-right-column:inset -10px 0 10px -10px rgba(0,0,0,0.15);--el-table-index:var(--el-index-normal);background-color:var(--el-table-bg-color);box-sizing:border-box;color:var(--el-table-text-color);font-size:var(--el-font-size-base);height:-moz-fit-content;height:fit-content;max-width:100%;overflow:hidden;position:relative;width:100%}.el-table__inner-wrapper{display:flex;flex-direction:column;height:100%;position:relative}.el-table__inner-wrapper:before{bottom:0;height:1px;left:0}.el-table tbody:focus-visible{outline:none}.el-table.has-footer.el-table--fluid-height tr:last-child td.el-table__cell,.el-table.has-footer.el-table--scrollable-y tr:last-child td.el-table__cell{border-bottom-color:transparent}.el-table__empty-block{align-items:center;display:flex;justify-content:center;left:0;min-height:60px;position:sticky;text-align:center;width:100%}.el-table__empty-text{color:var(--el-text-color-secondary);line-height:60px;width:50%}.el-table__expand-column .cell{padding:0;text-align:center;-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-table__expand-icon{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;border:none;border-radius:var(--el-border-radius-base);cursor:pointer;margin:0;outline:none;padding:0;transition:transform var(--el-transition-duration-fast) ease-in-out}.el-table__expand-icon:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:-2px}.el-table__expand-icon{color:var(--el-text-color-regular);font-size:12px;height:23px;line-height:12px;width:min(23px,100%)}.el-table__expand-icon.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-table__expand-icon--expanded{transform:rotate(90deg)}.el-table__expand-icon>.el-icon{font-size:12px}.el-table__expanded-cell{background-color:var(--el-table-expanded-cell-bg-color)}.el-table__expanded-cell[class*=cell]{padding:20px 50px}.el-table__expanded-cell:hover{background-color:transparent!important}.el-table__placeholder{display:inline-block;width:20px}.el-table__append-wrapper{overflow:hidden}.el-table--fit{border-bottom:0;border-right:0}.el-table--fit .el-table__cell.gutter{border-right-width:1px}.el-table--fit .el-table__inner-wrapper:before{width:100%}.el-table thead{color:var(--el-table-header-text-color)}.el-table thead th{font-weight:600}.el-table thead.is-group th.el-table__cell{background:var(--el-fill-color-light)}.el-table .el-table__cell{box-sizing:border-box;min-width:0;padding:8px 0;position:relative;text-align:left;text-overflow:ellipsis;vertical-align:middle;z-index:var(--el-table-index)}.el-table .el-table__cell.is-center{text-align:center}.el-table .el-table__cell.is-right{text-align:right}.el-table .el-table__cell.gutter{border-bottom-width:0;border-right-width:0;padding:0;width:15px}.el-table .el-table__cell.is-hidden>*{visibility:hidden}.el-table .cell{box-sizing:border-box;line-height:23px;overflow:hidden;overflow-wrap:break-word;padding:0 12px;text-overflow:ellipsis;white-space:normal}.el-table .cell.el-tooltip{min-width:50px;white-space:nowrap}.el-table--large{font-size:var(--el-font-size-base)}.el-table--large .el-table__cell{padding:12px 0}.el-table--large .cell{padding:0 16px}.el-table--default{font-size:var(--el-font-size-base)}.el-table--default .el-table__cell{padding:8px 0}.el-table--default .cell{padding:0 12px}.el-table--small{font-size:var(--el-font-size-extra-small)}.el-table--small .el-table__cell{padding:4px 0}.el-table--small .cell{padding:0 8px}.el-table tr{background-color:var(--el-table-tr-bg-color)}.el-table tr input[type=checkbox]{margin:0}.el-table td.el-table__cell,.el-table th.el-table__cell.is-leaf{border-bottom:var(--el-table-border)}.el-table th.el-table__cell.is-sortable{cursor:pointer}.el-table th.el-table__cell{background-color:var(--el-table-header-bg-color)}.el-table th.el-table__cell>.cell.highlight{color:var(--el-color-primary)}.el-table th.el-table__cell.required>div:before{background:#ff4d51;border-radius:50%;content:"";display:inline-block;height:8px;margin-right:5px;vertical-align:middle;width:8px}.el-table td.el-table__cell div{box-sizing:border-box}.el-table td.el-table__cell.gutter{width:0}.el-table--border .el-table__inner-wrapper:after,.el-table--border:after,.el-table--border:before,.el-table__inner-wrapper:before{background-color:var(--el-table-border-color);content:"";position:absolute;z-index:calc(var(--el-table-index) + 2)}.el-table--border .el-table__inner-wrapper:after{height:1px;left:0;top:0;width:100%;z-index:calc(var(--el-table-index) + 2)}.el-table--border:before{height:100%;left:0;top:-1px;width:1px}.el-table--border:after{height:100%;right:0;top:-1px;width:1px}.el-table--border .el-table__inner-wrapper{border-bottom:none;border-right:none}.el-table--border .el-table__footer-wrapper{flex-shrink:0;position:relative}.el-table--border .el-table__cell{border-right:var(--el-table-border)}.el-table--border th.el-table__cell.gutter:last-of-type{border-bottom:var(--el-table-border);border-bottom-width:1px}.el-table--border th.el-table__cell{border-bottom:var(--el-table-border)}.el-table--hidden{visibility:hidden}.el-table__body-wrapper,.el-table__footer-wrapper,.el-table__header-wrapper{width:100%}.el-table__body-wrapper tr td.el-table-fixed-column--left,.el-table__body-wrapper tr td.el-table-fixed-column--right,.el-table__body-wrapper tr th.el-table-fixed-column--left,.el-table__body-wrapper tr th.el-table-fixed-column--right,.el-table__footer-wrapper tr td.el-table-fixed-column--left,.el-table__footer-wrapper tr td.el-table-fixed-column--right,.el-table__footer-wrapper tr th.el-table-fixed-column--left,.el-table__footer-wrapper tr th.el-table-fixed-column--right,.el-table__header-wrapper tr td.el-table-fixed-column--left,.el-table__header-wrapper tr td.el-table-fixed-column--right,.el-table__header-wrapper tr th.el-table-fixed-column--left,.el-table__header-wrapper tr th.el-table-fixed-column--right{background:inherit;position:sticky!important;z-index:calc(var(--el-table-index) + 1)}.el-table__body-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--right.is-first-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--right.is-last-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--right.is-first-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--right.is-last-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--right.is-first-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--right.is-last-column:before{bottom:0;box-shadow:none;content:"";overflow-x:hidden;overflow-y:hidden;pointer-events:none;position:absolute;top:0;touch-action:none;width:10px}.el-table__body-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--right.is-first-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--right.is-first-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--right.is-first-column:before{left:-10px}.el-table__body-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--right.is-last-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--right.is-last-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--right.is-last-column:before{right:-10px}.el-table__body-wrapper tr td.el-table__fixed-right-patch,.el-table__body-wrapper tr th.el-table__fixed-right-patch,.el-table__footer-wrapper tr td.el-table__fixed-right-patch,.el-table__footer-wrapper tr th.el-table__fixed-right-patch,.el-table__header-wrapper tr td.el-table__fixed-right-patch,.el-table__header-wrapper tr th.el-table__fixed-right-patch{background:#fff;position:sticky!important;right:0;z-index:calc(var(--el-table-index) + 1)}.el-table__header-wrapper{flex-shrink:0}.el-table__header-wrapper tr th.el-table-fixed-column--left,.el-table__header-wrapper tr th.el-table-fixed-column--right{background-color:var(--el-table-header-bg-color)}.el-table__body,.el-table__footer,.el-table__header{border-collapse:separate;table-layout:fixed}.el-table__header-wrapper{overflow:hidden}.el-table__header-wrapper tbody td.el-table__cell{background-color:var(--el-table-row-hover-bg-color);color:var(--el-table-text-color)}.el-table__footer-wrapper{flex-shrink:0;overflow:hidden}.el-table__footer-wrapper tfoot td.el-table__cell{background-color:var(--el-table-row-hover-bg-color);color:var(--el-table-text-color)}.el-table__body-wrapper .el-table-column--selection>.cell,.el-table__header-wrapper .el-table-column--selection>.cell{align-items:center;display:inline-flex;height:23px}.el-table__body-wrapper .el-table-column--selection .el-checkbox,.el-table__header-wrapper .el-table-column--selection .el-checkbox{height:unset}.el-table.is-scrolling-left .el-table-fixed-column--right.is-first-column:before{box-shadow:var(--el-table-fixed-right-column)}.el-table.is-scrolling-left.el-table--border .el-table-fixed-column--left.is-last-column.el-table__cell{border-right:var(--el-table-border)}.el-table.is-scrolling-left th.el-table-fixed-column--left{background-color:var(--el-table-header-bg-color)}.el-table.is-scrolling-right .el-table-fixed-column--left.is-last-column:before{box-shadow:var(--el-table-fixed-left-column)}.el-table.is-scrolling-right .el-table-fixed-column--left.is-last-column.el-table__cell{border-right:none}.el-table.is-scrolling-right th.el-table-fixed-column--right{background-color:var(--el-table-header-bg-color)}.el-table.is-scrolling-middle .el-table-fixed-column--left.is-last-column.el-table__cell{border-right:none}.el-table.is-scrolling-middle .el-table-fixed-column--right.is-first-column:before{box-shadow:var(--el-table-fixed-right-column)}.el-table.is-scrolling-middle .el-table-fixed-column--left.is-last-column:before{box-shadow:var(--el-table-fixed-left-column)}.el-table.is-scrolling-none .el-table-fixed-column--left.is-first-column:before,.el-table.is-scrolling-none .el-table-fixed-column--left.is-last-column:before,.el-table.is-scrolling-none .el-table-fixed-column--right.is-first-column:before,.el-table.is-scrolling-none .el-table-fixed-column--right.is-last-column:before{box-shadow:none}.el-table.is-scrolling-none th.el-table-fixed-column--left,.el-table.is-scrolling-none th.el-table-fixed-column--right{background-color:var(--el-table-header-bg-color)}.el-table__body-wrapper{flex:1;overflow:hidden;position:relative}.el-table__body-wrapper .el-scrollbar__bar{z-index:calc(var(--el-table-index) + 2)}.el-table .caret-wrapper{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;border:none;border-radius:var(--el-border-radius-base);cursor:pointer;margin:0;outline:none;padding:0;transition:transform var(--el-transition-duration-fast) ease-in-out}.el-table .caret-wrapper:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:2px}.el-table .caret-wrapper{align-items:center;display:inline-flex;flex-direction:column;height:14px;overflow:initial;position:relative;vertical-align:middle;width:24px}.el-table .sort-caret{border:5px solid transparent;height:0;left:7px;position:absolute;width:0}.el-table .sort-caret.ascending{border-bottom-color:var(--el-text-color-placeholder);top:-5px}.el-table .sort-caret.descending{border-top-color:var(--el-text-color-placeholder);bottom:-3px}.el-table .ascending .sort-caret.ascending{border-bottom-color:var(--el-color-primary)}.el-table .descending .sort-caret.descending{border-top-color:var(--el-color-primary)}.el-table .hidden-columns{position:absolute;visibility:hidden;z-index:-1}.el-table--striped .el-table__body tr.el-table__row--striped td.el-table__cell{background:var(--el-fill-color-lighter)}.el-table--striped .el-table__body tr.el-table__row--striped.current-row td.el-table__cell{background-color:var(--el-table-current-row-bg-color)}.el-table__body tr.hover-row.current-row>td.el-table__cell,.el-table__body tr.hover-row.el-table__row--striped.current-row>td.el-table__cell,.el-table__body tr.hover-row.el-table__row--striped>td.el-table__cell,.el-table__body tr.hover-row>td.el-table__cell,.el-table__body tr>td.hover-cell{background-color:var(--el-table-row-hover-bg-color)}.el-table__body tr.current-row>td.el-table__cell{background-color:var(--el-table-current-row-bg-color)}.el-table.el-table--scrollable-y .el-table__body-header{position:sticky;top:0;z-index:calc(var(--el-table-index) + 2)}.el-table.el-table--scrollable-y .el-table__body-footer{bottom:0;position:sticky;z-index:calc(var(--el-table-index) + 2)}.el-table__column-resize-proxy{border-left:var(--el-table-border);bottom:0;left:200px;position:absolute;top:0;width:0;z-index:calc(var(--el-table-index) + 9)}.el-table__column-filter-trigger{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;border:none;border-radius:var(--el-border-radius-base);cursor:pointer;margin:0;outline:none;padding:0;transition:transform var(--el-transition-duration-fast) ease-in-out}.el-table__column-filter-trigger:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:2px}.el-table__column-filter-trigger{display:inline-block}.el-table__column-filter-trigger i{color:var(--el-color-info);font-size:14px;vertical-align:middle}.el-table__border-left-patch{height:100%;top:0;width:1px}.el-table__border-bottom-patch,.el-table__border-left-patch{background-color:var(--el-table-border-color);left:0;position:absolute;z-index:calc(var(--el-table-index) + 2)}.el-table__border-bottom-patch{height:1px}.el-table__border-right-patch{background-color:var(--el-table-border-color);height:100%;position:absolute;top:0;width:1px;z-index:calc(var(--el-table-index) + 2)}.el-table--enable-row-transition .el-table__body td.el-table__cell{transition:background-color .25s ease}.el-table--enable-row-hover .el-table__body tr:hover>td.el-table__cell{background-color:var(--el-table-row-hover-bg-color)}.el-table [class*=el-table__row--level] .el-table__expand-icon{display:inline-block;text-align:center;width:20px}.el-table .el-table.el-table--border .el-table__cell{border-right:var(--el-table-border)}.el-table:not(.el-table--border) .el-table__cell{border-right:none}.el-table:not(.el-table--border)>.el-table__inner-wrapper:after{content:none}.el-table-v2{--el-table-border-color:var(--el-border-color-lighter);--el-table-border:1px solid var(--el-table-border-color);--el-table-text-color:var(--el-text-color-regular);--el-table-header-text-color:var(--el-text-color-secondary);--el-table-row-hover-bg-color:var(--el-fill-color-light);--el-table-current-row-bg-color:var(--el-color-primary-light-9);--el-table-header-bg-color:var(--el-fill-color-blank);--el-table-fixed-box-shadow:var(--el-box-shadow-light);--el-table-bg-color:var(--el-fill-color-blank);--el-table-tr-bg-color:var(--el-fill-color-blank);--el-table-expanded-cell-bg-color:var(--el-fill-color-blank);--el-table-fixed-left-column:inset 10px 0 10px -10px rgba(0,0,0,0.15);--el-table-fixed-right-column:inset -10px 0 10px -10px rgba(0,0,0,0.15);--el-table-index:var(--el-index-normal);font-size:var(--el-font-size-base)}.el-table-v2 *{box-sizing:border-box}.el-table-v2__root{position:relative}.el-table-v2__root:hover .el-table-v2__main .el-virtual-scrollbar{opacity:1}.el-table-v2__main{background-color:var(--el-bg-color);display:flex;flex-direction:column-reverse;left:0;overflow:hidden;position:absolute;top:0}.el-table-v2__main .el-vl__horizontal,.el-table-v2__main .el-vl__vertical{z-index:2}.el-table-v2__left{background-color:var(--el-bg-color);box-shadow:2px 0 4px 0 rgba(0,0,0,.06);display:flex;flex-direction:column-reverse;left:0;overflow:hidden;position:absolute;top:0}.el-table-v2__left .el-virtual-scrollbar{opacity:0}.el-table-v2__left .el-vl__horizontal,.el-table-v2__left .el-vl__vertical{z-index:-1}.el-table-v2__right{background-color:var(--el-bg-color);box-shadow:-2px 0 4px 0 rgba(0,0,0,.06);display:flex;flex-direction:column-reverse;overflow:hidden;position:absolute;right:0;top:0}.el-table-v2__right .el-virtual-scrollbar{opacity:0}.el-table-v2__right .el-vl__horizontal,.el-table-v2__right .el-vl__vertical{z-index:-1}.el-table-v2__header-row,.el-table-v2__row{padding-inline-end:var(--el-table-scrollbar-size)}.el-table-v2__header-wrapper{overflow:hidden}.el-table-v2__header{overflow:hidden;position:relative}.el-table-v2__header .el-checkbox{z-index:0}.el-table-v2__footer{bottom:0;overflow:hidden;right:0}.el-table-v2__empty,.el-table-v2__footer,.el-table-v2__overlay{left:0;position:absolute}.el-table-v2__overlay{bottom:0;right:0;top:0;z-index:9999}.el-table-v2__header-row{border-bottom:var(--el-table-border);display:flex}.el-table-v2__header-cell{align-items:center;background-color:var(--el-table-header-bg-color);color:var(--el-table-header-text-color);display:flex;font-weight:bold;height:100%;overflow:hidden;padding:0 8px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-table-v2__header-cell.is-align-center{justify-content:center;text-align:center}.el-table-v2__header-cell.is-align-right{justify-content:flex-end;text-align:right}.el-table-v2__header-cell.is-sortable{cursor:pointer}.el-table-v2__header-cell:hover .el-icon{display:block}.el-table-v2__sort-icon{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;border:none;border-radius:var(--el-border-radius-base);cursor:pointer;margin:0;outline:none;padding:0;transition:transform var(--el-transition-duration-fast) ease-in-out}.el-table-v2__sort-icon:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:2px}.el-table-v2__sort-icon{display:none;opacity:.6;transition:opacity,display var(--el-transition-duration)}.el-table-v2__sort-icon.is-sorting{display:flex;opacity:1}.el-table-v2__row{align-items:center;border-bottom:var(--el-table-border);display:flex;transition:background-color var(--el-transition-duration)}.el-table-v2__row.is-hovered,.el-table-v2__row:hover{background-color:var(--el-table-row-hover-bg-color)}.el-table-v2__row-cell{align-items:center;display:flex;height:100%;overflow:hidden;padding:0 8px}.el-table-v2__row-cell.is-align-center{justify-content:center;text-align:center}.el-table-v2__row-cell.is-align-right{justify-content:flex-end;text-align:right}.el-table-v2__expand-icon{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;border:none;border-radius:var(--el-border-radius-base);cursor:pointer;margin:0;outline:none;padding:0;transition:transform var(--el-transition-duration-fast) ease-in-out}.el-table-v2__expand-icon:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:2px}.el-table-v2__expand-icon{margin:0 4px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-table-v2__expand-icon svg{transition:transform var(--el-transition-duration)}.el-table-v2__expand-icon.is-expanded svg{transform:rotate(90deg)}.el-table-v2:not(.is-dynamic) .el-table-v2__cell-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.el-table-v2.is-dynamic .el-table-v2__row{align-items:stretch;overflow:hidden}.el-table-v2.is-dynamic .el-table-v2__row .el-table-v2__row-cell{overflow-wrap:break-word}.el-tabs{--el-tabs-header-height:40px;display:flex}.el-tabs__header{align-items:center;display:flex;justify-content:space-between;margin:0 0 15px;padding:0;position:relative}.el-tabs__header-vertical{flex-direction:column}.el-tabs__active-bar{background-color:var(--el-color-primary);bottom:0;height:2px;left:0;list-style:none;position:absolute;transition:width var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier),transform var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier);z-index:1}.el-tabs__active-bar.is-bottom{bottom:auto}.el-tabs__new-tab{align-items:center;border:1px solid var(--el-border-color);border-radius:3px;color:var(--el-text-color-primary);cursor:pointer;display:flex;flex-shrink:0;font-size:12px;height:20px;justify-content:center;line-height:20px;margin:10px 0 10px 10px;text-align:center;transition:all .15s;width:20px}.el-tabs__new-tab .is-icon-plus{height:inherit;transform:scale(.8);width:inherit}.el-tabs__new-tab .is-icon-plus svg{vertical-align:middle}.el-tabs__new-tab:hover{color:var(--el-color-primary)}.el-tabs__new-tab-vertical{margin-left:0}.el-tabs__nav-wrap{flex:1 auto;margin-bottom:-1px;overflow:hidden;position:relative}.el-tabs__nav-wrap:after{background-color:var(--el-border-color-light);bottom:0;content:"";height:2px;left:0;position:absolute;width:100%;z-index:var(--el-index-normal)}.el-tabs__nav-wrap.is-bottom:after{bottom:auto;top:0}.el-tabs__nav-wrap.is-scrollable{box-sizing:border-box;padding:0 20px}.el-tabs__nav-scroll{overflow:hidden}.el-tabs__nav-next,.el-tabs__nav-prev{color:var(--el-text-color-secondary);cursor:pointer;font-size:12px;line-height:44px;position:absolute;text-align:center;width:20px}.el-tabs__nav-next{right:0}.el-tabs__nav-prev{left:0}.el-tabs__nav{display:flex;float:left;position:relative;transition:transform var(--el-transition-duration);white-space:nowrap;z-index:calc(var(--el-index-normal) + 1)}.el-tabs__nav.is-stretch{display:flex;min-width:100%}.el-tabs__nav.is-stretch>*{flex:1;text-align:center}.el-tabs__item{align-items:center;box-sizing:border-box;color:var(--el-text-color-primary);display:flex;font-size:var(--el-font-size-base);font-weight:500;height:var(--el-tabs-header-height);justify-content:center;list-style:none;padding:0 20px;position:relative}.el-tabs__item:focus,.el-tabs__item:focus:active{outline:none}.el-tabs__item:focus-visible{border-radius:3px;box-shadow:0 0 2px 2px var(--el-color-primary) inset}.el-tabs__item .is-icon-close{border-radius:50%;margin-left:5px;text-align:center;transition:all var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier)}.el-tabs__item .is-icon-close:before{display:inline-block;transform:scale(.9)}.el-tabs__item .is-icon-close:hover{background-color:var(--el-text-color-placeholder);color:#ffffff}.el-tabs__item.is-active,.el-tabs__item:hover{color:var(--el-color-primary)}.el-tabs__item:hover{cursor:pointer}.el-tabs__item.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-tabs__content{flex-grow:1;overflow:hidden;position:relative}.el-tabs--bottom>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--top>.el-tabs__header .el-tabs__item:nth-child(2){padding-left:0}.el-tabs--bottom>.el-tabs__header .el-tabs__item:last-child,.el-tabs--top>.el-tabs__header .el-tabs__item:last-child{padding-right:0}.el-tabs--bottom.el-tabs--border-card>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--bottom.el-tabs--card>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--top.el-tabs--border-card>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--top.el-tabs--card>.el-tabs__header .el-tabs__item:nth-child(2){padding-left:20px}.el-tabs--bottom.el-tabs--border-card>.el-tabs__header .el-tabs__item:last-child,.el-tabs--bottom.el-tabs--card>.el-tabs__header .el-tabs__item:last-child,.el-tabs--top.el-tabs--border-card>.el-tabs__header .el-tabs__item:last-child,.el-tabs--top.el-tabs--card>.el-tabs__header .el-tabs__item:last-child{padding-right:20px}.el-tabs--card>.el-tabs__header{border-bottom:1px solid var(--el-border-color-light);box-sizing:border-box;height:var(--el-tabs-header-height)}.el-tabs--card>.el-tabs__header .el-tabs__nav-wrap:after{content:none}.el-tabs--card>.el-tabs__header .el-tabs__nav{border:1px solid var(--el-border-color-light);border-bottom:none;border-radius:4px 4px 0 0;box-sizing:border-box}.el-tabs--card>.el-tabs__header .el-tabs__active-bar{display:none}.el-tabs--card>.el-tabs__header .el-tabs__item .is-icon-close{font-size:12px;height:14px;overflow:hidden;position:relative;right:-2px;transform-origin:100% 50%;width:0}.el-tabs--card>.el-tabs__header .el-tabs__item{border-bottom:1px solid transparent;border-left:1px solid var(--el-border-color-light);margin-top:-1px;transition:color var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier),padding var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier)}.el-tabs--card>.el-tabs__header .el-tabs__item:first-child{border-left:none}.el-tabs--card>.el-tabs__header .el-tabs__item.is-closable:hover{padding-left:13px;padding-right:13px}.el-tabs--card>.el-tabs__header .el-tabs__item.is-closable:hover .is-icon-close{width:14px}.el-tabs--card>.el-tabs__header .el-tabs__item.is-active{border-bottom-color:var(--el-bg-color)}.el-tabs--card>.el-tabs__header .el-tabs__item.is-active.is-closable{padding-left:20px;padding-right:20px}.el-tabs--card>.el-tabs__header .el-tabs__item.is-active.is-closable .is-icon-close{width:14px}.el-tabs--border-card{background:var(--el-bg-color-overlay);border:1px solid var(--el-border-color)}.el-tabs--border-card>.el-tabs__content{padding:15px}.el-tabs--border-card>.el-tabs__header{background-color:var(--el-fill-color-light);border-bottom:1px solid var(--el-border-color-light);margin:0}.el-tabs--border-card>.el-tabs__header .el-tabs__nav-wrap:after{content:none}.el-tabs--border-card>.el-tabs__header .el-tabs__item{border:1px solid transparent;color:var(--el-text-color-secondary);margin-top:-1px;transition:all var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier)}.el-tabs--border-card>.el-tabs__header .el-tabs__item+.el-tabs__item,.el-tabs--border-card>.el-tabs__header .el-tabs__item:first-child{margin-left:-1px}.el-tabs--border-card>.el-tabs__header .el-tabs__item.is-active{background-color:var(--el-bg-color-overlay);border-left-color:var(--el-border-color);border-right-color:var(--el-border-color);color:var(--el-color-primary)}.el-tabs--border-card>.el-tabs__header .el-tabs__item:not(.is-disabled):hover{color:var(--el-color-primary)}.el-tabs--border-card>.el-tabs__header .el-tabs__item.is-disabled{color:var(--el-disabled-text-color)}.el-tabs--border-card>.el-tabs__header .is-scrollable .el-tabs__item:first-child{margin-left:0}.el-tabs--bottom{flex-direction:column}.el-tabs--bottom .el-tabs__header.is-bottom{margin-bottom:0;margin-top:10px}.el-tabs--bottom.el-tabs--border-card .el-tabs__header.is-bottom{border-bottom:0;border-top:1px solid var(--el-border-color)}.el-tabs--bottom.el-tabs--border-card .el-tabs__nav-wrap.is-bottom{margin-bottom:0;margin-top:-1px}.el-tabs--bottom.el-tabs--border-card .el-tabs__item.is-bottom:not(.is-active){border:1px solid transparent}.el-tabs--bottom.el-tabs--border-card .el-tabs__item.is-bottom{margin:0 -1px -1px}.el-tabs--left,.el-tabs--right{overflow:hidden}.el-tabs--left .el-tabs__header.is-left,.el-tabs--left .el-tabs__header.is-right,.el-tabs--left .el-tabs__nav-scroll,.el-tabs--left .el-tabs__nav-wrap.is-left,.el-tabs--left .el-tabs__nav-wrap.is-right,.el-tabs--right .el-tabs__header.is-left,.el-tabs--right .el-tabs__header.is-right,.el-tabs--right .el-tabs__nav-scroll,.el-tabs--right .el-tabs__nav-wrap.is-left,.el-tabs--right .el-tabs__nav-wrap.is-right{height:100%}.el-tabs--left .el-tabs__active-bar.is-left,.el-tabs--left .el-tabs__active-bar.is-right,.el-tabs--right .el-tabs__active-bar.is-left,.el-tabs--right .el-tabs__active-bar.is-right{bottom:auto;height:auto;top:0;width:2px}.el-tabs--left .el-tabs__nav-wrap.is-left,.el-tabs--left .el-tabs__nav-wrap.is-right,.el-tabs--right .el-tabs__nav-wrap.is-left,.el-tabs--right .el-tabs__nav-wrap.is-right{margin-bottom:0}.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-next,.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-next,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-next,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-next,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev{cursor:pointer;height:30px;line-height:30px;text-align:center;width:100%}.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-next i,.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev i,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-next i,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev i,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-next i,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev i,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-next i,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev i{transform:rotate(90deg)}.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev{left:auto;top:0}.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-next,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-next,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-next,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-next{bottom:0;right:auto}.el-tabs--left .el-tabs__nav-wrap.is-left.is-scrollable,.el-tabs--left .el-tabs__nav-wrap.is-right.is-scrollable,.el-tabs--right .el-tabs__nav-wrap.is-left.is-scrollable,.el-tabs--right .el-tabs__nav-wrap.is-right.is-scrollable{padding:30px 0}.el-tabs--left .el-tabs__nav-wrap.is-left:after,.el-tabs--left .el-tabs__nav-wrap.is-right:after,.el-tabs--right .el-tabs__nav-wrap.is-left:after,.el-tabs--right .el-tabs__nav-wrap.is-right:after{bottom:auto;height:100%;top:0;width:2px}.el-tabs--left .el-tabs__nav.is-left,.el-tabs--left .el-tabs__nav.is-right,.el-tabs--right .el-tabs__nav.is-left,.el-tabs--right .el-tabs__nav.is-right{flex-direction:column}.el-tabs--left .el-tabs__item.is-left,.el-tabs--right .el-tabs__item.is-left{justify-content:flex-end}.el-tabs--left .el-tabs__item.is-right,.el-tabs--right .el-tabs__item.is-right{justify-content:flex-start}.el-tabs--left{flex-direction:row}.el-tabs--left .el-tabs__header.is-left{margin-bottom:0;margin-right:10px}.el-tabs--left .el-tabs__nav-wrap.is-left{margin-right:-1px}.el-tabs--left .el-tabs__active-bar.is-left,.el-tabs--left .el-tabs__nav-wrap.is-left:after{left:auto;right:0}.el-tabs--left .el-tabs__item.is-left{text-align:right}.el-tabs--left.el-tabs--card .el-tabs__active-bar.is-left{display:none}.el-tabs--left.el-tabs--card .el-tabs__item.is-left{border-bottom:none;border-left:none;border-right:1px solid var(--el-border-color-light);border-top:1px solid var(--el-border-color-light);text-align:left}.el-tabs--left.el-tabs--card .el-tabs__item.is-left:first-child{border-right:1px solid var(--el-border-color-light);border-top:none}.el-tabs--left.el-tabs--card .el-tabs__item.is-left.is-active{border:1px solid var(--el-border-color-light);border-bottom:none;border-left:none;border-right:1px solid #fff}.el-tabs--left.el-tabs--card .el-tabs__item.is-left.is-active:first-child{border-top:none}.el-tabs--left.el-tabs--card .el-tabs__item.is-left.is-active:last-child{border-bottom:none}.el-tabs--left.el-tabs--card .el-tabs__nav{border-bottom:1px solid var(--el-border-color-light);border-radius:4px 0 0 4px;border-right:none}.el-tabs--left.el-tabs--card .el-tabs__new-tab{float:none}.el-tabs--left.el-tabs--border-card .el-tabs__header.is-left{border-right:1px solid var(--el-border-color)}.el-tabs--left.el-tabs--border-card .el-tabs__item.is-left{border:1px solid transparent;margin:-1px 0 -1px -1px}.el-tabs--left.el-tabs--border-card .el-tabs__item.is-left.is-active{border-color:rgb(209,219,229) transparent}.el-tabs--left>.el-tabs__content+.el-tabs__header{order:-1}.el-tabs--right .el-tabs__header.is-right{margin-bottom:0;margin-left:10px}.el-tabs--right .el-tabs__nav-wrap.is-right{margin-left:-1px}.el-tabs--right .el-tabs__nav-wrap.is-right:after{left:0;right:auto}.el-tabs--right .el-tabs__active-bar.is-right{left:0}.el-tabs--right.el-tabs--card .el-tabs__active-bar.is-right{display:none}.el-tabs--right.el-tabs--card .el-tabs__item.is-right{border-bottom:none;border-top:1px solid var(--el-border-color-light)}.el-tabs--right.el-tabs--card .el-tabs__item.is-right:first-child{border-left:1px solid var(--el-border-color-light);border-top:none}.el-tabs--right.el-tabs--card .el-tabs__item.is-right.is-active{border:1px solid var(--el-border-color-light);border-bottom:none;border-left:1px solid #fff;border-right:none}.el-tabs--right.el-tabs--card .el-tabs__item.is-right.is-active:first-child{border-top:none}.el-tabs--right.el-tabs--card .el-tabs__item.is-right.is-active:last-child{border-bottom:none}.el-tabs--right.el-tabs--card .el-tabs__nav{border-bottom:1px solid var(--el-border-color-light);border-left:none;border-radius:0 4px 4px 0}.el-tabs--right.el-tabs--border-card .el-tabs__header.is-right{border-left:1px solid var(--el-border-color)}.el-tabs--right.el-tabs--border-card .el-tabs__item.is-right{border:1px solid transparent;margin:-1px -1px -1px 0}.el-tabs--right.el-tabs--border-card .el-tabs__item.is-right.is-active{border-color:rgb(209,219,229) transparent}.el-tabs--top{flex-direction:column}.el-tabs--top>.el-tabs__content+.el-tabs__header{order:-1}.slideInLeft-transition,.slideInRight-transition{display:inline-block}.slideInRight-enter{animation:slideInRight-enter var(--el-transition-duration)}.slideInRight-leave{animation:slideInRight-leave var(--el-transition-duration);left:0;position:absolute;right:0}.slideInLeft-enter{animation:slideInLeft-enter var(--el-transition-duration)}.slideInLeft-leave{animation:slideInLeft-leave var(--el-transition-duration);left:0;position:absolute;right:0}@keyframes slideInRight-enter{0%{opacity:0;transform:translateX(100%);transform-origin:0 0}to{opacity:1;transform:translateX(0);transform-origin:0 0}}@keyframes slideInRight-leave{0%{opacity:1;transform:translateX(0);transform-origin:0 0}to{opacity:0;transform:translateX(100%);transform-origin:0 0}}@keyframes slideInLeft-enter{0%{opacity:0;transform:translateX(-100%);transform-origin:0 0}to{opacity:1;transform:translateX(0);transform-origin:0 0}}@keyframes slideInLeft-leave{0%{opacity:1;transform:translateX(0);transform-origin:0 0}to{opacity:0;transform:translateX(-100%);transform-origin:0 0}}.el-tag{--el-tag-font-size:12px;--el-tag-border-radius:4px;--el-tag-border-radius-rounded:9999px;align-items:center;background-color:var(--el-tag-bg-color);border-color:var(--el-tag-border-color);border-radius:var(--el-tag-border-radius);border-style:solid;border-width:1px;box-sizing:border-box;color:var(--el-tag-text-color);display:inline-flex;font-size:var(--el-tag-font-size);height:24px;justify-content:center;line-height:1;padding:0 9px;vertical-align:middle;white-space:nowrap;--el-icon-size:14px}.el-tag,.el-tag.el-tag--primary{--el-tag-bg-color:var(--el-color-primary-light-9);--el-tag-border-color:var(--el-color-primary-light-8);--el-tag-hover-color:var(--el-color-primary)}.el-tag.el-tag--success{--el-tag-bg-color:var(--el-color-success-light-9);--el-tag-border-color:var(--el-color-success-light-8);--el-tag-hover-color:var(--el-color-success)}.el-tag.el-tag--warning{--el-tag-bg-color:var(--el-color-warning-light-9);--el-tag-border-color:var(--el-color-warning-light-8);--el-tag-hover-color:var(--el-color-warning)}.el-tag.el-tag--danger{--el-tag-bg-color:var(--el-color-danger-light-9);--el-tag-border-color:var(--el-color-danger-light-8);--el-tag-hover-color:var(--el-color-danger)}.el-tag.el-tag--error{--el-tag-bg-color:var(--el-color-error-light-9);--el-tag-border-color:var(--el-color-error-light-8);--el-tag-hover-color:var(--el-color-error)}.el-tag.el-tag--info{--el-tag-bg-color:var(--el-color-info-light-9);--el-tag-border-color:var(--el-color-info-light-8);--el-tag-hover-color:var(--el-color-info)}.el-tag.is-hit{border-color:var(--el-color-primary)}.el-tag.is-round{border-radius:var(--el-tag-border-radius-rounded)}.el-tag .el-tag__close{color:var(--el-tag-text-color);flex-shrink:0}.el-tag .el-tag__close:hover{background-color:var(--el-tag-hover-color);color:var(--el-color-white)}.el-tag.el-tag--primary{--el-tag-text-color:var(--el-color-primary)}.el-tag.el-tag--success{--el-tag-text-color:var(--el-color-success)}.el-tag.el-tag--warning{--el-tag-text-color:var(--el-color-warning)}.el-tag.el-tag--danger{--el-tag-text-color:var(--el-color-danger)}.el-tag.el-tag--error{--el-tag-text-color:var(--el-color-error)}.el-tag.el-tag--info{--el-tag-text-color:var(--el-color-info)}.el-tag .el-icon{border-radius:50%;cursor:pointer;display:flex;font-size:calc(var(--el-icon-size) - 2px);height:var(--el-icon-size);width:var(--el-icon-size)}.el-tag .el-tag__close{background-color:transparent;border:none;border-radius:50%;margin-left:6px;outline:none;overflow:hidden;padding:0}.el-tag .el-tag__close:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:2px}.el-tag--dark{--el-tag-text-color:var(--el-color-white)}.el-tag--dark,.el-tag--dark.el-tag--primary{--el-tag-bg-color:var(--el-color-primary);--el-tag-border-color:var(--el-color-primary);--el-tag-hover-color:var(--el-color-primary-light-3)}.el-tag--dark.el-tag--success{--el-tag-bg-color:var(--el-color-success);--el-tag-border-color:var(--el-color-success);--el-tag-hover-color:var(--el-color-success-light-3)}.el-tag--dark.el-tag--warning{--el-tag-bg-color:var(--el-color-warning);--el-tag-border-color:var(--el-color-warning);--el-tag-hover-color:var(--el-color-warning-light-3)}.el-tag--dark.el-tag--danger{--el-tag-bg-color:var(--el-color-danger);--el-tag-border-color:var(--el-color-danger);--el-tag-hover-color:var(--el-color-danger-light-3)}.el-tag--dark.el-tag--error{--el-tag-bg-color:var(--el-color-error);--el-tag-border-color:var(--el-color-error);--el-tag-hover-color:var(--el-color-error-light-3)}.el-tag--dark.el-tag--info{--el-tag-bg-color:var(--el-color-info);--el-tag-border-color:var(--el-color-info);--el-tag-hover-color:var(--el-color-info-light-3)}.el-tag--dark.el-tag--danger,.el-tag--dark.el-tag--error,.el-tag--dark.el-tag--info,.el-tag--dark.el-tag--primary,.el-tag--dark.el-tag--success,.el-tag--dark.el-tag--warning{--el-tag-text-color:var(--el-color-white)}.el-tag--plain,.el-tag--plain.el-tag--primary{--el-tag-bg-color:var(--el-fill-color-blank);--el-tag-border-color:var(--el-color-primary-light-5);--el-tag-hover-color:var(--el-color-primary)}.el-tag--plain.el-tag--success{--el-tag-bg-color:var(--el-fill-color-blank);--el-tag-border-color:var(--el-color-success-light-5);--el-tag-hover-color:var(--el-color-success)}.el-tag--plain.el-tag--warning{--el-tag-bg-color:var(--el-fill-color-blank);--el-tag-border-color:var(--el-color-warning-light-5);--el-tag-hover-color:var(--el-color-warning)}.el-tag--plain.el-tag--danger{--el-tag-bg-color:var(--el-fill-color-blank);--el-tag-border-color:var(--el-color-danger-light-5);--el-tag-hover-color:var(--el-color-danger)}.el-tag--plain.el-tag--error{--el-tag-bg-color:var(--el-fill-color-blank);--el-tag-border-color:var(--el-color-error-light-5);--el-tag-hover-color:var(--el-color-error)}.el-tag--plain.el-tag--info{--el-tag-bg-color:var(--el-fill-color-blank);--el-tag-border-color:var(--el-color-info-light-5);--el-tag-hover-color:var(--el-color-info)}.el-tag.is-closable{padding-right:5px}.el-tag--large{height:32px;padding:0 11px;--el-icon-size:16px}.el-tag--large .el-tag__close{margin-left:8px}.el-tag--large.is-closable{padding-right:7px}.el-tag--small{height:20px;padding:0 7px;--el-icon-size:12px}.el-tag--small .el-tag__close{margin-left:4px}.el-tag--small.is-closable{padding-right:3px}.el-tag--small .el-icon-close{transform:scale(.8)}.el-tag.el-tag--primary.is-hit{border-color:var(--el-color-primary)}.el-tag.el-tag--success.is-hit{border-color:var(--el-color-success)}.el-tag.el-tag--warning.is-hit{border-color:var(--el-color-warning)}.el-tag.el-tag--danger.is-hit{border-color:var(--el-color-danger)}.el-tag.el-tag--error.is-hit{border-color:var(--el-color-error)}.el-tag.el-tag--info.is-hit{border-color:var(--el-color-info)}.el-text{--el-text-font-size:var(--el-font-size-base);--el-text-color:var(--el-text-color-regular);align-self:center;color:var(--el-text-color);font-size:var(--el-text-font-size);margin:0;overflow-wrap:break-word;padding:0}.el-text.is-truncated{display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.el-text.is-line-clamp{display:-webkit-inline-box;-webkit-box-orient:vertical;overflow:hidden}.el-text--large{--el-text-font-size:var(--el-font-size-medium)}.el-text--default{--el-text-font-size:var(--el-font-size-base)}.el-text--small{--el-text-font-size:var(--el-font-size-extra-small)}.el-text.el-text--primary{--el-text-color:var(--el-color-primary)}.el-text.el-text--success{--el-text-color:var(--el-color-success)}.el-text.el-text--warning{--el-text-color:var(--el-color-warning)}.el-text.el-text--danger{--el-text-color:var(--el-color-danger)}.el-text.el-text--error{--el-text-color:var(--el-color-error)}.el-text.el-text--info{--el-text-color:var(--el-color-info)}.el-text>.el-icon{vertical-align:-2px}.time-select{margin:5px 0;min-width:0}.time-select .el-picker-panel__content{margin:0;max-height:200px}.time-select-item{font-size:14px;line-height:20px;padding:8px 10px}.time-select-item.disabled{color:var(--el-datepicker-border-color);cursor:not-allowed}.time-select-item:hover{background-color:var(--el-fill-color-light);cursor:pointer;font-weight:bold}.time-select .time-select-item.selected:not(.disabled){color:var(--el-color-primary);font-weight:bold}.el-timeline-item{padding-bottom:20px;position:relative}.el-timeline-item__wrapper{box-sizing:content-box;position:relative;top:-3px}.el-timeline-item__tail{border-left:2px solid var(--el-timeline-node-color);height:100%;position:absolute}.el-timeline-item .el-timeline-item__icon{color:var(--el-color-white);font-size:var(--el-font-size-small)}.el-timeline-item__node{align-items:center;background-color:var(--el-timeline-node-color);border-color:var(--el-timeline-node-color);border-radius:50%;box-sizing:border-box;display:flex;justify-content:center;position:absolute}.el-timeline-item__node--normal{height:var(--el-timeline-node-size-normal);width:var(--el-timeline-node-size-normal)}.el-timeline-item__node--large{height:var(--el-timeline-node-size-large);width:var(--el-timeline-node-size-large)}.el-timeline-item__node.is-hollow{background:var(--el-color-white);border-style:solid;border-width:2px}.el-timeline-item__node--primary{background-color:var(--el-color-primary);border-color:var(--el-color-primary)}.el-timeline-item__node--success{background-color:var(--el-color-success);border-color:var(--el-color-success)}.el-timeline-item__node--warning{background-color:var(--el-color-warning);border-color:var(--el-color-warning)}.el-timeline-item__node--danger{background-color:var(--el-color-danger);border-color:var(--el-color-danger)}.el-timeline-item__node--info{background-color:var(--el-color-info);border-color:var(--el-color-info)}.el-timeline-item__dot{align-items:center;display:flex;justify-content:center;position:absolute}.el-timeline-item__content{color:var(--el-text-color-primary)}.el-timeline-item__timestamp{color:var(--el-text-color-secondary);font-size:var(--el-font-size-small);line-height:1}.el-timeline-item__timestamp.is-top{margin-bottom:8px;padding-top:4px}.el-timeline-item__timestamp.is-bottom{margin-top:8px}.el-timeline-item.is-start .el-timeline-item__wrapper{padding-left:28px}.el-timeline-item.is-start .el-timeline-item__tail{left:4px}.el-timeline-item.is-start .el-timeline-item__node--normal{left:-1px}.el-timeline-item.is-start .el-timeline-item__node--large{left:-2px}.el-timeline-item.is-end .el-timeline-item__wrapper{padding-right:28px;text-align:right}.el-timeline-item.is-end .el-timeline-item__tail{right:4px}.el-timeline-item.is-end .el-timeline-item__node--normal{right:-1px}.el-timeline-item.is-end .el-timeline-item__node--large{right:-2px}.el-timeline-item.is-alternate .el-timeline-item__node,.el-timeline-item.is-alternate .el-timeline-item__tail,.el-timeline-item.is-alternate-reverse .el-timeline-item__node,.el-timeline-item.is-alternate-reverse .el-timeline-item__tail{left:50%;transform:translateX(-50%)}.el-timeline{--el-timeline-node-size-normal:12px;--el-timeline-node-size-large:14px;--el-timeline-node-color:var(--el-border-color-light);font-size:var(--el-font-size-base);list-style:none;margin:0}.el-timeline .el-timeline-item:last-child .el-timeline-item__tail{display:none}.el-timeline .el-timeline-item__center{align-items:center;display:flex}.el-timeline .el-timeline-item__center .el-timeline-item__wrapper{width:100%}.el-timeline .el-timeline-item__center .el-timeline-item__tail{top:0}.el-timeline .el-timeline-item__center:first-child .el-timeline-item__tail{height:calc(50% + 10px);top:calc(50% - 10px)}.el-timeline .el-timeline-item__center:last-child .el-timeline-item__tail{display:block;height:calc(50% - 10px)}.el-timeline.is-start{padding-left:40px;padding-right:0}.el-timeline.is-end{padding-left:0;padding-right:40px}.el-timeline.is-alternate{padding-left:20px;padding-right:20px}.el-timeline.is-alternate .el-timeline-item:nth-child(odd) .el-timeline-item__wrapper{left:calc(50% - var(--el-timeline-node-size-large)/2);padding-left:28px;width:calc(50% - 28px)}.el-timeline.is-alternate .el-timeline-item:nth-child(2n) .el-timeline-item__wrapper{padding-right:28px;text-align:right;width:calc(50% - 28px + var(--el-timeline-node-size-large)/2)}.el-timeline.is-alternate-reverse{padding-left:20px;padding-right:20px}.el-timeline.is-alternate-reverse .el-timeline-item:nth-child(odd) .el-timeline-item__wrapper{padding-right:28px;text-align:right;width:calc(50% - 28px + var(--el-timeline-node-size-large)/2)}.el-timeline.is-alternate-reverse .el-timeline-item:nth-child(2n) .el-timeline-item__wrapper{left:calc(50% - var(--el-timeline-node-size-large)/2);padding-left:28px;width:calc(50% - 28px)}.el-transfer{--el-transfer-border-color:var(--el-border-color-lighter);--el-transfer-border-radius:var(--el-border-radius-base);--el-transfer-panel-width:200px;--el-transfer-panel-header-height:40px;--el-transfer-panel-header-bg-color:var(--el-fill-color-light);--el-transfer-panel-footer-height:40px;--el-transfer-panel-body-height:278px;--el-transfer-item-height:30px;--el-transfer-filter-height:32px;font-size:var(--el-font-size-base)}.el-transfer__buttons{display:inline-block;padding:0 30px;vertical-align:middle}.el-transfer__button{vertical-align:top}.el-transfer__button:nth-child(2){margin:0 0 0 10px}.el-transfer__button i,.el-transfer__button span{font-size:14px}.el-transfer__button .el-icon+span{margin-left:0}.el-transfer-panel{background:var(--el-bg-color-overlay);box-sizing:border-box;display:inline-block;max-height:100%;overflow:hidden;position:relative;text-align:left;vertical-align:middle;width:var(--el-transfer-panel-width)}.el-transfer-panel__body{border-bottom:1px solid var(--el-transfer-border-color);border-bottom-left-radius:var(--el-transfer-border-radius);border-bottom-right-radius:var(--el-transfer-border-radius);border-left:1px solid var(--el-transfer-border-color);border-right:1px solid var(--el-transfer-border-color);height:var(--el-transfer-panel-body-height);overflow:hidden}.el-transfer-panel__body.is-with-footer{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}.el-transfer-panel__list{box-sizing:border-box;height:var(--el-transfer-panel-body-height);list-style:none;margin:0;overflow:auto;padding:6px 0}.el-transfer-panel__list.is-filterable{height:calc(100% - var(--el-transfer-filter-height) - 30px);padding-top:0}.el-transfer-panel__item{display:block!important;height:var(--el-transfer-item-height);line-height:var(--el-transfer-item-height);padding-left:15px}.el-transfer-panel__item+.el-transfer-panel__item{margin-left:0}.el-transfer-panel__item.el-checkbox{color:var(--el-text-color-regular);margin-right:30px}.el-transfer-panel__item:hover{color:var(--el-color-primary)}.el-transfer-panel__item.el-checkbox .el-checkbox__label{box-sizing:border-box;display:block;line-height:var(--el-transfer-item-height);overflow:hidden;padding-left:22px;text-overflow:ellipsis;white-space:nowrap;width:100%}.el-transfer-panel__item .el-checkbox__input{position:absolute;top:8px}.el-transfer-panel__filter{box-sizing:border-box;padding:15px;text-align:center}.el-transfer-panel__filter .el-input__inner{box-sizing:border-box;display:inline-block;font-size:12px;height:var(--el-transfer-filter-height);width:100%}.el-transfer-panel__filter .el-icon-circle-close{cursor:pointer}.el-transfer-panel .el-transfer-panel__header{align-items:center;background:var(--el-transfer-panel-header-bg-color);border:1px solid var(--el-transfer-border-color);border-top-left-radius:var(--el-transfer-border-radius);border-top-right-radius:var(--el-transfer-border-radius);box-sizing:border-box;color:var(--el-color-black);display:flex;height:var(--el-transfer-panel-header-height);margin:0;padding-left:15px}.el-transfer-panel .el-transfer-panel__header .el-checkbox{align-items:center;display:flex;position:relative;width:100%}.el-transfer-panel .el-transfer-panel__header .el-checkbox .el-checkbox__label{color:var(--el-text-color-primary);font-size:16px;font-weight:normal}.el-transfer-panel .el-transfer-panel__header .el-checkbox .el-checkbox__label span{color:var(--el-text-color-secondary);font-size:12px;font-weight:normal;position:absolute;right:15px;top:50%;transform:translate3d(0,-50%,0)}.el-transfer-panel .el-transfer-panel__footer{background:var(--el-bg-color-overlay);border:1px solid var(--el-transfer-border-color);border-bottom-left-radius:var(--el-transfer-border-radius);border-bottom-right-radius:var(--el-transfer-border-radius);height:var(--el-transfer-panel-footer-height);margin:0;padding:0}.el-transfer-panel .el-transfer-panel__footer:after{content:"";display:inline-block;height:100%;vertical-align:middle}.el-transfer-panel .el-transfer-panel__footer .el-checkbox{color:var(--el-text-color-regular);padding-left:20px}.el-transfer-panel .el-transfer-panel__empty{color:var(--el-text-color-secondary);height:var(--el-transfer-item-height);line-height:var(--el-transfer-item-height);margin:0;padding:6px 15px 0;text-align:center}.el-transfer-panel .el-checkbox__label{padding-left:8px}.el-tree{--el-tree-node-content-height:26px;--el-tree-node-hover-bg-color:var(--el-fill-color-light);--el-tree-text-color:var(--el-text-color-regular);--el-tree-expand-icon-color:var(--el-text-color-placeholder);background:var(--el-fill-color-blank);color:var(--el-tree-text-color);cursor:default;font-size:var(--el-font-size-base);position:relative}.el-tree__empty-block{height:100%;min-height:60px;position:relative;text-align:center;width:100%}.el-tree__empty-text{color:var(--el-text-color-secondary);font-size:var(--el-font-size-base);left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}.el-tree__drop-indicator{background-color:var(--el-color-primary);height:1px;left:0;position:absolute;right:0}.el-tree-node{outline:none;white-space:nowrap}.el-tree-node:focus>.el-tree-node__content{background-color:var(--el-tree-node-hover-bg-color)}.el-tree-node.is-drop-inner>.el-tree-node__content .el-tree-node__label{background-color:var(--el-color-primary);color:#fff}.el-tree-node__content{--el-checkbox-height:var(--el-tree-node-content-height);align-items:center;cursor:pointer;display:flex;height:var(--el-tree-node-content-height)}.el-tree-node__content>.el-tree-node__expand-icon{box-sizing:content-box;padding:6px}.el-tree-node__content>label.el-checkbox{margin-right:8px}.el-tree-node__content:hover{background-color:var(--el-tree-node-hover-bg-color)}.el-tree.is-dragging .el-tree-node__content{cursor:move}.el-tree.is-dragging .el-tree-node__content *{pointer-events:none}.el-tree.is-dragging.is-drop-not-allow .el-tree-node__content{cursor:not-allowed}.el-tree-node__expand-icon{color:var(--el-tree-expand-icon-color);cursor:pointer;font-size:12px;transform:rotate(0deg);transition:transform var(--el-transition-duration) ease-in-out}.el-tree-node__expand-icon.expanded{transform:rotate(90deg)}.el-tree-node__expand-icon.is-leaf{color:transparent;cursor:default;visibility:hidden}.el-tree-node__expand-icon.is-hidden{visibility:hidden}.el-tree-node__loading-icon{color:var(--el-tree-expand-icon-color);font-size:var(--el-font-size-base);margin-right:8px}.el-tree-node>.el-tree-node__children{background-color:transparent;overflow:hidden}.el-tree-node.is-expanded>.el-tree-node__children{display:block}.el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content{background-color:var(--el-color-primary-light-9)}.el-tree-select{--el-tree-node-content-height:26px;--el-tree-node-hover-bg-color:var(--el-fill-color-light);--el-tree-text-color:var(--el-text-color-regular);--el-tree-expand-icon-color:var(--el-text-color-placeholder)}.el-tree-select__popper .el-tree-node__expand-icon{margin-left:8px}.el-tree-select__popper .el-tree-node.is-checked>.el-tree-node__content .el-select-dropdown__item.selected:after{content:none}.el-tree-select__popper .el-select-dropdown__list>.el-select-dropdown__item{padding-left:32px}.el-tree-select__popper .el-select-dropdown__item{background:transparent!important;flex:1;height:20px;line-height:20px;padding-left:0}.el-upload{--el-upload-dragger-padding-horizontal:10px;--el-upload-dragger-padding-vertical:40px;--el-upload-list-picture-card-size:var(--el-upload-picture-card-size);--el-upload-picture-card-size:148px;align-items:center;cursor:pointer;display:inline-flex;justify-content:center;outline:none}.el-upload.is-disabled{cursor:not-allowed}.el-upload.is-disabled:focus{color:inherit}.el-upload.is-disabled:focus,.el-upload.is-disabled:focus .el-upload-dragger{border-color:var(--el-border-color-darker)}.el-upload.is-disabled .el-upload-dragger{background-color:var(--el-disabled-bg-color);cursor:not-allowed}.el-upload.is-disabled .el-upload-dragger .el-upload__text{color:var(--el-text-color-placeholder)}.el-upload.is-disabled .el-upload-dragger .el-upload__text em{color:var(--el-disabled-text-color)}.el-upload.is-disabled .el-upload-dragger:hover{border-color:var(--el-border-color-darker)}.el-upload__input{display:none}.el-upload__tip{color:var(--el-text-color-regular);font-size:12px;margin-top:7px}.el-upload iframe{filter:alpha(opacity=0);left:0;opacity:0;position:absolute;top:0;z-index:-1}.el-upload--picture-card{align-items:center;background-color:var(--el-fill-color-lighter);border:1px dashed var(--el-border-color-darker);border-radius:6px;box-sizing:border-box;cursor:pointer;display:inline-flex;height:var(--el-upload-picture-card-size);justify-content:center;vertical-align:top;width:var(--el-upload-picture-card-size)}.el-upload--picture-card>i{color:var(--el-text-color-secondary);font-size:28px}.el-upload--picture-card:hover{border-color:var(--el-color-primary);color:var(--el-color-primary)}.el-upload.is-drag{display:block}.el-upload:focus{color:var(--el-color-primary)}.el-upload:focus,.el-upload:focus .el-upload-dragger{border-color:var(--el-color-primary)}.el-upload-dragger{background-color:var(--el-fill-color-blank);border:1px dashed var(--el-border-color);border-radius:6px;box-sizing:border-box;cursor:pointer;overflow:hidden;padding:var(--el-upload-dragger-padding-vertical) var(--el-upload-dragger-padding-horizontal);position:relative;text-align:center}.el-upload-dragger .el-icon--upload{color:var(--el-text-color-placeholder);font-size:67px;line-height:50px;margin-bottom:16px}.el-upload-dragger+.el-upload__tip{text-align:center}.el-upload-dragger~.el-upload__files{border-top:var(--el-border);margin-top:7px;padding-top:5px}.el-upload-dragger .el-upload__text{color:var(--el-text-color-regular);font-size:14px;text-align:center}.el-upload-dragger .el-upload__text em{color:var(--el-color-primary);font-style:normal}.el-upload-dragger:hover{border-color:var(--el-color-primary)}.el-upload-dragger.is-dragover{background-color:var(--el-color-primary-light-9);border:2px dashed var(--el-color-primary);padding:calc(var(--el-upload-dragger-padding-vertical) - 1px) calc(var(--el-upload-dragger-padding-horizontal) - 1px)}.el-upload-list{--el-upload-dragger-padding-horizontal:10px;--el-upload-dragger-padding-vertical:40px;--el-upload-list-picture-card-size:var(--el-upload-picture-card-size);--el-upload-picture-card-size:148px;list-style:none;margin:10px 0 0;padding:0;position:relative}.el-upload-list__item{border-radius:4px;box-sizing:border-box;color:var(--el-text-color-regular);font-size:14px;margin-bottom:5px;position:relative;transition:all .5s cubic-bezier(.55,0,.1,1);width:100%}.el-upload-list__item .el-progress{position:absolute;top:20px;width:100%}.el-upload-list__item .el-progress__text{position:absolute;right:0;top:-13px}.el-upload-list__item .el-progress-bar{margin-right:0;padding-right:0}.el-upload-list__item .el-icon--upload-success{color:var(--el-color-success)}.el-upload-list__item .el-icon--close{color:var(--el-text-color-regular);cursor:pointer;display:none;opacity:.75;position:absolute;right:5px;top:50%;transform:translateY(-50%);transition:opacity var(--el-transition-duration)}.el-upload-list__item .el-icon--close:hover{color:var(--el-color-primary);opacity:1}.el-upload-list__item .el-icon--close-tip{color:var(--el-color-primary);cursor:pointer;display:none;font-size:12px;font-style:normal;opacity:1;position:absolute;right:5px;top:1px}.el-upload-list__item:hover{background-color:var(--el-fill-color-light)}.el-upload-list__item:hover .el-icon--close{display:inline-flex}.el-upload-list__item:hover .el-progress__text{display:none}.el-upload-list__item .el-upload-list__item-info{display:inline-flex;flex-direction:column;justify-content:center;margin-left:4px;width:calc(100% - 30px)}.el-upload-list__item.is-success .el-upload-list__item-status-label{display:inline-flex}.el-upload-list__item.is-success .el-upload-list__item-name:focus,.el-upload-list__item.is-success .el-upload-list__item-name:hover{color:var(--el-color-primary);cursor:pointer}.el-upload-list__item.is-success:focus:not(:hover) .el-icon--close-tip{display:inline-block}.el-upload-list__item.is-success:active,.el-upload-list__item.is-success:not(.focusing):focus{outline-width:0}.el-upload-list__item.is-success:active .el-icon--close-tip,.el-upload-list__item.is-success:not(.focusing):focus .el-icon--close-tip{display:none}.el-upload-list__item.is-success:focus .el-upload-list__item-status-label,.el-upload-list__item.is-success:hover .el-upload-list__item-status-label{display:none;opacity:0}.el-upload-list__item-name{align-items:center;color:var(--el-text-color-regular);display:inline-flex;font-size:var(--el-font-size-base);padding:0 4px;text-align:center;transition:color var(--el-transition-duration)}.el-upload-list__item-name .el-icon{color:var(--el-text-color-secondary);margin-right:6px}.el-upload-list__item-file-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.el-upload-list__item-status-label{align-items:center;display:none;height:100%;justify-content:center;line-height:inherit;position:absolute;right:5px;top:0;transition:opacity var(--el-transition-duration)}.el-upload-list__item-delete{color:var(--el-text-color-regular);display:none;font-size:12px;position:absolute;right:10px;top:0}.el-upload-list__item-delete:hover{color:var(--el-color-primary)}.el-upload-list--picture-card{display:inline-flex;flex-wrap:wrap;margin:0}.el-upload-list--picture-card .el-upload-list__item{background-color:var(--el-fill-color-blank);border:1px solid var(--el-border-color);border-radius:6px;box-sizing:border-box;display:inline-flex;height:var(--el-upload-list-picture-card-size);margin:0 8px 8px 0;overflow:hidden;padding:0;width:var(--el-upload-list-picture-card-size)}.el-upload-list--picture-card .el-upload-list__item .el-icon--check,.el-upload-list--picture-card .el-upload-list__item .el-icon--circle-check{color:#ffffff}.el-upload-list--picture-card .el-upload-list__item .el-icon--close{display:none}.el-upload-list--picture-card .el-upload-list__item:hover .el-upload-list__item-status-label{display:block;opacity:0}.el-upload-list--picture-card .el-upload-list__item:hover .el-progress__text{display:block}.el-upload-list--picture-card .el-upload-list__item .el-upload-list__item-name{display:none}.el-upload-list--picture-card .el-upload-list__item-thumbnail{height:100%;-o-object-fit:contain;object-fit:contain;width:100%}.el-upload-list--picture-card .el-upload-list__item-status-label{background:var(--el-color-success);height:24px;right:-15px;text-align:center;top:-6px;transform:rotate(45deg);width:40px}.el-upload-list--picture-card .el-upload-list__item-status-label i{font-size:12px;margin-top:11px;transform:rotate(-45deg)}.el-upload-list--picture-card .el-upload-list__item-actions{align-items:center;background-color:var(--el-overlay-color-lighter);color:#fff;cursor:default;display:inline-flex;font-size:20px;height:100%;justify-content:center;left:0;opacity:0;position:absolute;top:0;transition:opacity var(--el-transition-duration);width:100%}.el-upload-list--picture-card .el-upload-list__item-actions span{cursor:pointer;display:none}.el-upload-list--picture-card .el-upload-list__item-actions span+span{margin-left:16px}.el-upload-list--picture-card .el-upload-list__item-actions .el-upload-list__item-delete{color:inherit;font-size:inherit;position:static}.el-upload-list--picture-card .el-upload-list__item-actions:hover{opacity:1}.el-upload-list--picture-card .el-upload-list__item-actions:hover span{display:inline-flex}.el-upload-list--picture-card .el-progress{bottom:auto;left:50%;top:50%;transform:translate(-50%,-50%);width:126px}.el-upload-list--picture-card .el-progress .el-progress__text{top:50%}.el-upload-list--picture .el-upload-list__item{align-items:center;background-color:var(--el-fill-color-blank);border:1px solid var(--el-border-color);border-radius:6px;box-sizing:border-box;display:flex;margin-top:10px;overflow:hidden;padding:10px;z-index:0}.el-upload-list--picture .el-upload-list__item .el-icon--check,.el-upload-list--picture .el-upload-list__item .el-icon--circle-check{color:#ffffff}.el-upload-list--picture .el-upload-list__item:hover .el-upload-list__item-status-label{display:inline-flex;opacity:0}.el-upload-list--picture .el-upload-list__item:hover .el-progress__text{display:block}.el-upload-list--picture .el-upload-list__item.is-success .el-upload-list__item-name i{display:none}.el-upload-list--picture .el-upload-list__item .el-icon--close{top:5px;transform:translateY(0)}.el-upload-list--picture .el-upload-list__item-thumbnail{align-items:center;background-color:var(--el-color-white);display:inline-flex;height:70px;justify-content:center;-o-object-fit:contain;object-fit:contain;position:relative;width:70px;z-index:1}.el-upload-list--picture .el-upload-list__item-status-label{background:var(--el-color-success);height:26px;position:absolute;right:-17px;text-align:center;top:-7px;transform:rotate(45deg);width:46px}.el-upload-list--picture .el-upload-list__item-status-label i{font-size:12px;margin-top:12px;transform:rotate(-45deg)}.el-upload-list--picture .el-progress{position:relative;top:-7px}.el-upload-cover{cursor:default;height:100%;left:0;overflow:hidden;position:absolute;top:0;width:100%;z-index:10}.el-upload-cover:after{content:"";display:inline-block;height:100%;vertical-align:middle}.el-upload-cover img{display:block;height:100%;width:100%}.el-upload-cover__label{background:var(--el-color-success);height:24px;right:-15px;text-align:center;top:-6px;transform:rotate(45deg);width:40px}.el-upload-cover__label i{color:#fff;font-size:12px;margin-top:11px;transform:rotate(-45deg)}.el-upload-cover__progress{display:inline-block;position:static;vertical-align:middle;width:243px}.el-upload-cover__progress+.el-upload__inner{opacity:0}.el-upload-cover__content{height:100%;left:0;position:absolute;top:0;width:100%}.el-upload-cover__interact{background-color:var(--el-overlay-color-light);bottom:0;height:100%;left:0;position:absolute;text-align:center;width:100%}.el-upload-cover__interact .btn{color:#ffffff;cursor:pointer;display:inline-block;font-size:14px;margin-top:60px;transition:var(--el-transition-md-fade);vertical-align:middle}.el-upload-cover__interact .btn i{margin-top:0}.el-upload-cover__interact .btn span{opacity:0;transition:opacity .15s linear}.el-upload-cover__interact .btn:not(:first-child){margin-left:35px}.el-upload-cover__interact .btn:hover{transform:translateY(-13px)}.el-upload-cover__interact .btn:hover span{opacity:1}.el-upload-cover__interact .btn i{color:#ffffff;display:block;font-size:24px;line-height:inherit;margin:0 auto 5px}.el-upload-cover__title{background-color:#ffffff;bottom:0;color:var(--el-text-color-primary);font-size:14px;font-weight:normal;height:36px;left:0;line-height:36px;margin:0;overflow:hidden;padding:0 10px;position:absolute;text-align:left;text-overflow:ellipsis;white-space:nowrap;width:100%}.el-upload-cover+.el-upload__inner{opacity:0;position:relative;z-index:1}.el-vl__wrapper{position:relative}.el-vl__wrapper.always-on .el-virtual-scrollbar,.el-vl__wrapper:hover .el-virtual-scrollbar{opacity:1}.el-vl__window{scrollbar-width:none}.el-vl__window::-webkit-scrollbar{display:none}.el-virtual-scrollbar{opacity:0;transition:opacity .34s ease-out}.el-virtual-scrollbar.always-on{opacity:1}.el-vg__wrapper{position:relative}.el-popper{--el-popper-border-radius:var(--el-popover-border-radius,4px);--el-popper-bg-color-light:var(--el-bg-color-overlay);--el-popper-bg-color-dark:var(--el-text-color-primary);border-radius:var(--el-popper-border-radius);font-size:12px;line-height:20px;min-width:10px;overflow-wrap:break-word;padding:5px 11px;position:absolute;visibility:visible;word-break:normal;z-index:2000}.el-popper.is-dark{--el-fill-color-blank:var(--el-popper-bg-color-dark);color:var(--el-bg-color)}.el-popper.is-dark,.el-popper.is-dark>.el-popper__arrow:before{background:var(--el-popper-bg-color-dark);border:1px solid var(--el-text-color-primary)}.el-popper.is-dark>.el-popper__arrow:before{right:0}.el-popper.is-light{--el-fill-color-blank:var(--el-popper-bg-color-light)}.el-popper.is-light,.el-popper.is-light>.el-popper__arrow:before{background:var(--el-popper-bg-color-light);border:1px solid var(--el-border-color-light)}.el-popper.is-light>.el-popper__arrow:before{right:0}.el-popper.is-pure{padding:0}.el-popper__arrow,.el-popper__arrow:before{height:10px;position:absolute;width:10px;z-index:-1}.el-popper__arrow:before{background:var(--el-text-color-primary);box-sizing:border-box;content:" ";transform:rotate(45deg)}.el-popper[data-popper-placement^=top]>.el-popper__arrow{bottom:-5px}.el-popper[data-popper-placement^=top]>.el-popper__arrow:before{border-bottom-right-radius:2px}.el-popper[data-popper-placement^=bottom]>.el-popper__arrow{top:-5px}.el-popper[data-popper-placement^=bottom]>.el-popper__arrow:before{border-top-left-radius:2px}.el-popper[data-popper-placement^=left]>.el-popper__arrow{right:-5px}.el-popper[data-popper-placement^=left]>.el-popper__arrow:before{border-top-right-radius:2px}.el-popper[data-popper-placement^=right]>.el-popper__arrow{left:-5px}.el-popper[data-popper-placement^=right]>.el-popper__arrow:before{border-bottom-left-radius:2px}.el-popper[data-popper-placement^=top]>.el-popper__arrow:before{border-left-color:transparent!important;border-top-color:transparent!important}.el-popper[data-popper-placement^=bottom]>.el-popper__arrow:before{border-bottom-color:transparent!important;border-right-color:transparent!important}.el-popper[data-popper-placement^=left]>.el-popper__arrow:before{border-bottom-color:transparent!important;border-left-color:transparent!important}.el-popper[data-popper-placement^=right]>.el-popper__arrow:before{border-right-color:transparent!important;border-top-color:transparent!important}.el-statistic{--el-statistic-title-font-weight:400;--el-statistic-title-font-size:var(--el-font-size-extra-small);--el-statistic-title-color:var(--el-text-color-regular);--el-statistic-content-font-weight:400;--el-statistic-content-font-size:var(--el-font-size-extra-large);--el-statistic-content-color:var(--el-text-color-primary)}.el-statistic__head{color:var(--el-statistic-title-color);font-size:var(--el-statistic-title-font-size);font-weight:var(--el-statistic-title-font-weight);line-height:20px;margin-bottom:4px}.el-statistic__content{color:var(--el-statistic-content-color);font-size:var(--el-statistic-content-font-size);font-weight:var(--el-statistic-content-font-weight)}.el-statistic__value{display:inline-block}.el-statistic__prefix{display:inline-block;margin-right:4px}.el-statistic__suffix{display:inline-block;margin-left:4px}.el-tour{--el-tour-width:520px;--el-tour-padding-primary:12px;--el-tour-font-line-height:var(--el-font-line-height-primary);--el-tour-title-font-size:16px;--el-tour-title-text-color:var(--el-text-color-primary);--el-tour-title-font-weight:400;--el-tour-close-color:var(--el-color-info);--el-tour-font-size:14px;--el-tour-color:var(--el-text-color-primary);--el-tour-bg-color:var(--el-bg-color);--el-tour-border-radius:4px}.el-tour__hollow{transition:all var(--el-transition-duration) ease}.el-tour__content{border-radius:var(--el-tour-border-radius);box-shadow:var(--el-box-shadow-light);outline:none;overflow-wrap:break-word;padding:var(--el-tour-padding-primary);width:var(--el-tour-width)}.el-tour__arrow,.el-tour__content{background:var(--el-tour-bg-color);box-sizing:border-box}.el-tour__arrow{height:10px;pointer-events:none;position:absolute;transform:rotate(45deg);width:10px}.el-tour__content[data-side^=top] .el-tour__arrow{border-left-color:transparent;border-top-color:transparent}.el-tour__content[data-side^=bottom] .el-tour__arrow{border-bottom-color:transparent;border-right-color:transparent}.el-tour__content[data-side^=left] .el-tour__arrow{border-bottom-color:transparent;border-left-color:transparent}.el-tour__content[data-side^=right] .el-tour__arrow{border-right-color:transparent;border-top-color:transparent}.el-tour__content[data-side^=top] .el-tour__arrow{bottom:-5px}.el-tour__content[data-side^=bottom] .el-tour__arrow{top:-5px}.el-tour__content[data-side^=left] .el-tour__arrow{right:-5px}.el-tour__content[data-side^=right] .el-tour__arrow{left:-5px}.el-tour__closebtn{background:transparent;border:none;cursor:pointer;font-size:var(--el-message-close-size,16px);height:40px;outline:none;padding:0;position:absolute;right:0;top:0;width:40px}.el-tour__closebtn .el-tour__close{color:var(--el-tour-close-color);font-size:inherit}.el-tour__closebtn:focus .el-tour__close,.el-tour__closebtn:hover .el-tour__close{color:var(--el-color-primary)}.el-tour__header{padding-bottom:var(--el-tour-padding-primary)}.el-tour__header.show-close{padding-right:calc(var(--el-tour-padding-primary) + var(--el-message-close-size, 16px))}.el-tour__title{color:var(--el-tour-title-text-color);font-size:var(--el-tour-title-font-size);font-weight:var(--el-tour-title-font-weight);line-height:var(--el-tour-font-line-height)}.el-tour__body{color:var(--el-tour-text-color);font-size:var(--el-tour-font-size)}.el-tour__body img,.el-tour__body video{max-width:100%}.el-tour__footer{box-sizing:border-box;display:flex;justify-content:space-between;padding-top:var(--el-tour-padding-primary)}.el-tour__content .el-tour-indicators{display:inline-block;flex:1}.el-tour__content .el-tour-indicator{background:var(--el-color-info-light-9);border-radius:50%;display:inline-block;height:6px;margin-right:6px;width:6px}.el-tour__content .el-tour-indicator.is-active{background:var(--el-color-primary)}.el-tour.el-tour--primary{--el-tour-title-text-color:#fff;--el-tour-text-color:#fff;--el-tour-bg-color:var(--el-color-primary);--el-tour-close-color:#fff}.el-tour.el-tour--primary .el-tour__closebtn:focus .el-tour__close,.el-tour.el-tour--primary .el-tour__closebtn:hover .el-tour__close{color:var(--el-tour-title-text-color)}.el-tour.el-tour--primary .el-button--default{background:#fff;border-color:var(--el-color-primary);color:var(--el-color-primary)}.el-tour.el-tour--primary .el-button--primary{border-color:#fff}.el-tour.el-tour--primary .el-tour-indicator{background:rgba(255,255,255,.15)}.el-tour.el-tour--primary .el-tour-indicator.is-active{background:#fff}.el-tour-parent--hidden{overflow:hidden}.el-anchor{--el-anchor-bg-color:var(--el-bg-color);--el-anchor-padding-indent:14px;--el-anchor-line-height:22px;--el-anchor-font-size:12px;--el-anchor-color:var(--el-text-color-secondary);--el-anchor-active-color:var(--el-color-primary);--el-anchor-hover-color:var(--el-text-color-regular);--el-anchor-marker-bg-color:var(--el-color-primary);background-color:var(--el-anchor-bg-color);position:relative}.el-anchor__marker{background-color:var(--el-anchor-marker-bg-color);border-radius:4px;opacity:0;position:absolute;z-index:0}.el-anchor.el-anchor--vertical .el-anchor__marker{height:14px;left:0;top:8px;transition:top .25s ease-in-out,opacity .25s;width:4px}.el-anchor.el-anchor--vertical .el-anchor__list{padding-left:var(--el-anchor-padding-indent)}.el-anchor.el-anchor--vertical.el-anchor--underline:before{background-color:rgba(5,5,5,.06);content:"";height:100%;left:0;position:absolute;width:2px}.el-anchor.el-anchor--vertical.el-anchor--underline .el-anchor__marker{border-radius:unset;width:2px}.el-anchor.el-anchor--horizontal .el-anchor__marker{bottom:0;height:2px;transition:left .25s ease-in-out,opacity .25s,width .25s;width:20px}.el-anchor.el-anchor--horizontal .el-anchor__list{display:flex;padding-bottom:4px}.el-anchor.el-anchor--horizontal .el-anchor__list .el-anchor__item{padding-left:16px}.el-anchor.el-anchor--horizontal .el-anchor__list .el-anchor__item:first-child{padding-left:0}.el-anchor.el-anchor--horizontal.el-anchor--underline:before{background-color:rgba(5,5,5,.06);bottom:0;content:"";height:2px;position:absolute;width:100%}.el-anchor.el-anchor--horizontal.el-anchor--underline .el-anchor__marker{border-radius:unset;height:2px}.el-anchor__item{display:flex;flex-direction:column}.el-anchor__link{color:var(--el-anchor-color);cursor:pointer;font-size:var(--el-anchor-font-size);line-height:var(--el-anchor-line-height);max-width:100%;outline:none;overflow:hidden;padding:4px 0;text-decoration:none;text-overflow:ellipsis;transition:color var(--el-transition-duration);white-space:nowrap}.el-anchor__link:focus,.el-anchor__link:hover{color:var(--el-hover-color)}.el-anchor__link:focus-visible{border-radius:var(--el-border-radius-base);outline:2px solid var(--el-color-primary)}.el-anchor__link.is-active{color:var(--el-anchor-active-color)}.el-anchor .el-anchor__list .el-anchor__item a{display:inline-block}.el-segmented--vertical{flex-direction:column}.el-segmented--vertical .el-segmented__item{padding:11px}.el-segmented{--el-segmented-color:var(--el-text-color-regular);--el-segmented-bg-color:var(--el-fill-color-light);--el-segmented-padding:2px;--el-segmented-item-selected-color:var(--el-color-white);--el-segmented-item-selected-bg-color:var(--el-color-primary);--el-segmented-item-selected-disabled-bg-color:var(--el-color-primary-light-5);--el-segmented-item-hover-color:var(--el-text-color-primary);--el-segmented-item-hover-bg-color:var(--el-fill-color-dark);--el-segmented-item-active-bg-color:var(--el-fill-color-darker);--el-segmented-item-disabled-color:var(--el-text-color-placeholder);align-items:stretch;background:var(--el-segmented-bg-color);border-radius:var(--el-border-radius-base);box-sizing:border-box;color:var(--el-segmented-color);display:inline-flex;font-size:14px;min-height:32px;padding:var(--el-segmented-padding)}.el-segmented__group{align-items:stretch;display:flex;position:relative;width:100%}.el-segmented__item-selected{background:var(--el-segmented-item-selected-bg-color);border-radius:calc(var(--el-border-radius-base) - 2px);height:100%;left:0;pointer-events:none;position:absolute;top:0;transition:all .3s;width:10px}.el-segmented__item-selected.is-disabled{background:var(--el-segmented-item-selected-disabled-bg-color)}.el-segmented__item-selected.is-focus-visible:before{border-radius:inherit;bottom:0;content:"";left:0;outline:2px solid var(--el-segmented-item-selected-bg-color);outline-offset:1px;position:absolute;right:0;top:0}.el-segmented__item{align-items:center;border-radius:calc(var(--el-border-radius-base) - 2px);cursor:pointer;display:flex;flex:1;padding:0 11px}.el-segmented__item:not(.is-disabled):not(.is-selected):hover{background:var(--el-segmented-item-hover-bg-color);color:var(--el-segmented-item-hover-color)}.el-segmented__item:not(.is-disabled):not(.is-selected):active{background:var(--el-segmented-item-active-bg-color)}.el-segmented__item.is-selected,.el-segmented__item.is-selected.is-disabled{color:var(--el-segmented-item-selected-color)}.el-segmented__item.is-disabled{color:var(--el-segmented-item-disabled-color);cursor:not-allowed}.el-segmented__item-input{height:0;margin:0;opacity:0;pointer-events:none;position:absolute;width:0}.el-segmented__item-label{flex:1;line-height:normal;overflow:hidden;text-align:center;text-overflow:ellipsis;transition:color .3s;white-space:nowrap;z-index:1}.el-segmented.is-block{display:flex}.el-segmented.is-block .el-segmented__item{min-width:0}.el-segmented--large{border-radius:var(--el-border-radius-base);font-size:16px;min-height:40px}.el-segmented--large .el-segmented__item-selected{border-radius:calc(var(--el-border-radius-base) - 2px)}.el-segmented--large .el-segmented--vertical .el-segmented__item{padding:11px}.el-segmented--large .el-segmented__item{border-radius:calc(var(--el-border-radius-base) - 2px);padding:0 11px}.el-segmented--small{border-radius:calc(var(--el-border-radius-base) - 1px);font-size:14px;min-height:24px}.el-segmented--small .el-segmented__item-selected{border-radius:calc(var(--el-border-radius-base) - 3px)}.el-segmented--small .el-segmented--vertical .el-segmented__item{padding:7px}.el-segmented--small .el-segmented__item{border-radius:calc(var(--el-border-radius-base) - 3px);padding:0 7px}.el-mention{position:relative;width:100%}.el-mention__popper.el-popper{background:var(--el-bg-color-overlay);box-shadow:var(--el-box-shadow-light)}.el-mention__popper.el-popper,.el-mention__popper.el-popper .el-popper__arrow:before{border:1px solid var(--el-border-color-light)}.el-mention__popper.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-left-color:transparent;border-top-color:transparent}.el-mention__popper.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent;border-right-color:transparent}.el-mention__popper.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-bottom-color:transparent;border-left-color:transparent}.el-mention__popper.el-popper[data-popper-placement^=right] .el-popper__arrow:before{border-right-color:transparent;border-top-color:transparent}.el-mention-dropdown{--el-mention-font-size:var(--el-font-size-base);--el-mention-bg-color:var(--el-bg-color-overlay);--el-mention-shadow:var(--el-box-shadow-light);--el-mention-border:1px solid var(--el-border-color-light);--el-mention-option-color:var(--el-text-color-regular);--el-mention-option-height:34px;--el-mention-option-min-width:100px;--el-mention-option-hover-background:var(--el-fill-color-light);--el-mention-option-selected-color:var(--el-color-primary);--el-mention-option-disabled-color:var(--el-text-color-placeholder);--el-mention-option-loading-color:var(--el-text-color-secondary);--el-mention-option-loading-padding:10px 0;--el-mention-max-height:174px;--el-mention-padding:6px 0;--el-mention-header-padding:10px;--el-mention-footer-padding:10px}.el-mention-dropdown__item{box-sizing:border-box;color:var(--el-mention-option-color);cursor:pointer;font-size:var(--el-mention-font-size);height:var(--el-mention-option-height);line-height:var(--el-mention-option-height);min-width:var(--el-mention-option-min-width);overflow:hidden;padding:0 20px;position:relative;text-overflow:ellipsis;white-space:nowrap}.el-mention-dropdown__item.is-hovering{background-color:var(--el-mention-option-hover-background)}.el-mention-dropdown__item.is-selected{color:var(--el-mention-option-selected-color);font-weight:bold}.el-mention-dropdown__item.is-disabled{background-color:unset;color:var(--el-mention-option-disabled-color);cursor:not-allowed}.el-mention-dropdown{border-radius:var(--el-border-radius-base);box-sizing:border-box;z-index:calc(var(--el-index-top) + 1)}.el-mention-dropdown__loading{color:var(--el-mention-option-loading-color);font-size:12px;margin:0;min-width:var(--el-mention-option-min-width);padding:10px 0;text-align:center}.el-mention-dropdown__wrap{max-height:var(--el-mention-max-height)}.el-mention-dropdown__list{box-sizing:border-box;list-style:none;margin:0;padding:var(--el-mention-padding)}.el-mention-dropdown__header{border-bottom:var(--el-mention-border);padding:var(--el-mention-header-padding)}.el-mention-dropdown__footer{border-top:var(--el-mention-border);padding:var(--el-mention-footer-padding)}.el-splitter{display:flex;height:100%;margin:0;padding:0;position:relative;width:100%}.el-splitter__mask{bottom:0;left:0;position:absolute;right:0;top:0;z-index:999}.el-splitter__mask-horizontal{cursor:ew-resize}.el-splitter__mask-vertical{cursor:ns-resize}.el-splitter__horizontal{flex-direction:row}.el-splitter__vertical{flex-direction:column}.el-splitter-bar{flex:none;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-splitter-bar__dragger{background:transparent;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);z-index:1}.el-splitter-bar__dragger:after,.el-splitter-bar__dragger:before{background-color:var(--el-border-color-light);content:"";left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}.el-splitter-bar__dragger:not(.is-lazy):after{display:none}.el-splitter-bar__dragger:after{opacity:.4}.el-splitter-bar__dragger:hover:not(.is-disabled):before{background-color:var(--el-color-primary-light-5)}.el-splitter-bar__dragger-horizontal:after,.el-splitter-bar__dragger-horizontal:before{height:100%;width:2px}.el-splitter-bar__dragger-vertical:after,.el-splitter-bar__dragger-vertical:before{height:2px;width:100%}.el-splitter-bar__dragger-active:after,.el-splitter-bar__dragger-active:before{background-color:var(--el-color-primary-light-3)}.el-splitter-bar__dragger-active.el-splitter-bar__dragger-horizontal:after{transform:translate(calc(-50% + var(--el-splitter-bar-offset)),-50%)}.el-splitter-bar__dragger-active.el-splitter-bar__dragger-vertical:after{transform:translate(-50%,calc(-50% + var(--el-splitter-bar-offset)))}.el-splitter-bar:hover .el-splitter-bar__collapse-icon{opacity:1}.el-splitter-bar__collapse-icon{align-items:center;background:var(--el-border-color-light);border-radius:2px;cursor:pointer;display:flex;justify-content:center;opacity:0;position:absolute;z-index:9}.el-splitter-bar__collapse-icon:hover{background-color:var(--el-color-primary-light-5);opacity:1}.el-splitter-bar__horizontal-collapse-icon-start{height:24px;left:-12px;top:50%;transform:translate(-50%,-50%);width:16px}.el-splitter-bar__horizontal-collapse-icon-end{height:24px;left:12px;top:50%;transform:translate(-50%,-50%);width:16px}.el-splitter-bar__vertical-collapse-icon-start{height:16px;right:50%;top:-12px;transform:translate(50%,-50%);width:24px}.el-splitter-bar__vertical-collapse-icon-end{height:16px;right:50%;top:12px;transform:translate(50%,-50%);width:24px}.el-splitter-panel{box-sizing:border-box;flex-grow:0;overflow:auto;scrollbar-width:thin} \ No newline at end of file diff --git a/www/static/lib/element-plus/index.full.min.js b/www/static/lib/element-plus/index.full.min.js new file mode 100644 index 0000000..7bc8699 --- /dev/null +++ b/www/static/lib/element-plus/index.full.min.js @@ -0,0 +1,81 @@ +/*! Element Plus v2.13.2 */(function(R,e){typeof exports=="object"&&typeof module!="undefined"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(R=typeof globalThis!="undefined"?globalThis:R||self,e(R.ElementPlus={},R.Vue))})(this,(function(R,e){"use strict";const MT='a[href],button:not([disabled]),button:not([hidden]),:not([tabindex="-1"]),input:not([disabled]),input:not([type="hidden"]),select:not([disabled]),textarea:not([disabled])',Tg=t=>typeof Element=="undefined"?!1:t instanceof Element,IT=t=>getComputedStyle(t).position==="fixed"?!1:t.offsetParent!==null,xg=t=>Array.from(t.querySelectorAll(MT)).filter(n=>Fl(n)&&IT(n)),Fl=t=>{if(t.tabIndex>0||t.tabIndex===0&&t.getAttribute("tabIndex")!==null)return!0;if(t.tabIndex<0||t.hasAttribute("disabled")||t.getAttribute("aria-disabled")==="true")return!1;switch(t.nodeName){case"A":return!!t.href&&t.rel!=="ignore";case"INPUT":return!(t.type==="hidden"||t.type==="file");case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}},ui=function(t,n,...o){let r;n.includes("mouse")||n.includes("click")?r="MouseEvents":n.includes("key")?r="KeyboardEvent":r="HTMLEvents";const a=document.createEvent(r);return a.initEvent(n,...o),t.dispatchEvent(a),t},$g=t=>!t.getAttribute("aria-owns"),Vg=(t,n,o)=>{const{parentNode:r}=t;if(!r)return null;const a=r.querySelectorAll(o),l=Array.prototype.indexOf.call(a,t);return a[l+n]||null},Hl=(t,n)=>{if(!t||!t.focus)return;let o=!1;Tg(t)&&!Fl(t)&&!t.getAttribute("tabindex")&&(t.setAttribute("tabindex","-1"),o=!0),t.focus(n),Tg(t)&&o&&t.removeAttribute("tabindex")},fi=t=>{t&&(Hl(t),!$g(t)&&t.click())},te={tab:"Tab",enter:"Enter",space:"Space",left:"ArrowLeft",up:"ArrowUp",right:"ArrowRight",down:"ArrowDown",esc:"Escape",delete:"Delete",backspace:"Backspace",numpadEnter:"NumpadEnter",pageUp:"PageUp",pageDown:"PageDown",home:"Home",end:"End"},Pg=["year","years","month","months","date","dates","week","datetime","datetimerange","daterange","monthrange","yearrange"],mi=["sun","mon","tue","wed","thu","fri","sat"],Ne="update:modelValue",_e="change",Dt="input",_d=Symbol("INSTALLED_KEY"),Jn=["","default","small","large"],OT={large:40,default:32,small:24},Fd=["left","center","right"],Kl=11,Hd=2;function Rg(t,n){var o;const r=e.shallowRef();return e.watchEffect(()=>{r.value=t()},{...n,flush:(o=void 0)!=null?o:"sync"}),e.readonly(r)}function na(t){return e.getCurrentScope()?(e.onScopeDispose(t),!0):!1}function Hn(t){return typeof t=="function"?t():e.unref(t)}function AT(t){if(!e.isRef(t))return e.reactive(t);const n=new Proxy({},{get(o,r,a){return e.unref(Reflect.get(t.value,r,a))},set(o,r,a){return e.isRef(t.value[r])&&!e.isRef(a)?t.value[r].value=a:t.value[r]=a,!0},deleteProperty(o,r){return Reflect.deleteProperty(t.value,r)},has(o,r){return Reflect.has(t.value,r)},ownKeys(){return Object.keys(t.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}});return e.reactive(n)}function zT(t){return AT(e.computed(t))}const Je=typeof window!="undefined"&&typeof document!="undefined";typeof WorkerGlobalScope!="undefined"&&globalThis instanceof WorkerGlobalScope;const DT=t=>typeof t!="undefined",Mg=t=>t!=null,LT=Object.prototype.toString,_T=t=>LT.call(t)==="[object Object]",Ig=(t,n,o)=>Math.min(o,Math.max(n,t)),yo=()=>{},pi=FT();function FT(){var t,n;return Je&&((t=window==null?void 0:window.navigator)==null?void 0:t.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((n=window==null?void 0:window.navigator)==null?void 0:n.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function Og(t,n){function o(...r){return new Promise((a,l)=>{Promise.resolve(t(()=>n.apply(this,r),{fn:n,thisArg:this,args:r})).then(a).catch(l)})}return o}function HT(t,n={}){let o,r,a=yo;const l=i=>{clearTimeout(i),a(),a=yo};return i=>{const c=Hn(t),d=Hn(n.maxWait);return o&&l(o),c<=0||d!==void 0&&d<=0?(r&&(l(r),r=null),Promise.resolve(i())):new Promise((u,f)=>{a=n.rejectOnCancel?f:u,d&&!r&&(r=setTimeout(()=>{o&&l(o),r=null,u(i())},d)),o=setTimeout(()=>{r&&l(r),r=null,u(i())},c)})}}function KT(...t){let n=0,o,r=!0,a=yo,l,s,i,c,d;!e.isRef(t[0])&&typeof t[0]=="object"?{delay:s,trailing:i=!0,leading:c=!0,rejectOnCancel:d=!1}=t[0]:[s,i=!0,c=!0,d=!1]=t;const u=()=>{o&&(clearTimeout(o),o=void 0,a(),a=yo)};return p=>{const g=Hn(s),m=Date.now()-n,h=()=>l=p();return u(),g<=0?(n=Date.now(),h()):(m>g&&(c||!r)?(n=Date.now(),h()):i&&(l=new Promise((b,y)=>{a=d?y:b,o=setTimeout(()=>{n=Date.now(),r=!0,b(h()),u()},Math.max(0,g-m))})),!c&&!o&&(o=setTimeout(()=>r=!0,g)),r=!1,l)}}function WT(t){return e.getCurrentInstance()}function Wl(t,n=200,o={}){return Og(HT(n,o),t)}function jT(t,n=200,o={}){const r=e.ref(t.value),a=Wl(()=>{r.value=t.value},n,o);return e.watch(t,()=>a()),r}function Ag(t,n=200,o=!1,r=!0,a=!1){return Og(KT(n,o,r,a),t)}function Kd(t,n=!0,o){WT()?e.onMounted(t,o):n?t():e.nextTick(t)}function Oa(t,n,o={}){const{immediate:r=!0}=o,a=e.ref(!1);let l=null;function s(){l&&(clearTimeout(l),l=null)}function i(){a.value=!1,s()}function c(...d){s(),a.value=!0,l=setTimeout(()=>{a.value=!1,l=null,t(...d)},Hn(n))}return r&&(a.value=!0,Je&&c()),na(i),{isPending:e.readonly(a),start:c,stop:i}}function Lt(t){var n;const o=Hn(t);return(n=o==null?void 0:o.$el)!=null?n:o}const Co=Je?window:void 0,UT=Je?window.document:void 0;function nt(...t){let n,o,r,a;if(typeof t[0]=="string"||Array.isArray(t[0])?([o,r,a]=t,n=Co):[n,o,r,a]=t,!n)return yo;Array.isArray(o)||(o=[o]),Array.isArray(r)||(r=[r]);const l=[],s=()=>{l.forEach(u=>u()),l.length=0},i=(u,f,p,g)=>(u.addEventListener(f,p,g),()=>u.removeEventListener(f,p,g)),c=e.watch(()=>[Lt(n),Hn(a)],([u,f])=>{if(s(),!u)return;const p=_T(f)?{...f}:f;l.push(...o.flatMap(g=>r.map(m=>i(u,g,m,p))))},{immediate:!0,flush:"post"}),d=()=>{c(),s()};return na(d),d}let zg=!1;function Wd(t,n,o={}){const{window:r=Co,ignore:a=[],capture:l=!0,detectIframe:s=!1}=o;if(!r)return yo;pi&&!zg&&(zg=!0,Array.from(r.document.body.children).forEach(p=>p.addEventListener("click",yo)),r.document.documentElement.addEventListener("click",yo));let i=!0;const c=p=>a.some(g=>{if(typeof g=="string")return Array.from(r.document.querySelectorAll(g)).some(m=>m===p.target||p.composedPath().includes(m));{const m=Lt(g);return m&&(p.target===m||p.composedPath().includes(m))}}),u=[nt(r,"click",p=>{const g=Lt(t);if(!(!g||g===p.target||p.composedPath().includes(g))){if(p.detail===0&&(i=!c(p)),!i){i=!0;return}n(p)}},{passive:!0,capture:l}),nt(r,"pointerdown",p=>{const g=Lt(t);i=!c(p)&&!!(g&&!p.composedPath().includes(g))},{passive:!0}),s&&nt(r,"blur",p=>{setTimeout(()=>{var g;const m=Lt(t);((g=r.document.activeElement)==null?void 0:g.tagName)==="IFRAME"&&!(m!=null&&m.contains(r.document.activeElement))&&n(p)},0)})].filter(Boolean);return()=>u.forEach(p=>p())}function YT(){const t=e.ref(!1),n=e.getCurrentInstance();return n&&e.onMounted(()=>{t.value=!0},n),t}function hi(t){const n=YT();return e.computed(()=>(n.value,!!t()))}function jl(t,n,o={}){const{window:r=Co,...a}=o;let l;const s=hi(()=>r&&"MutationObserver"in r),i=()=>{l&&(l.disconnect(),l=void 0)},c=e.computed(()=>{const p=Hn(t),g=(Array.isArray(p)?p:[p]).map(Lt).filter(Mg);return new Set(g)}),d=e.watch(()=>c.value,p=>{i(),s.value&&p.size&&(l=new MutationObserver(n),p.forEach(g=>l.observe(g,a)))},{immediate:!0,flush:"post"}),u=()=>l==null?void 0:l.takeRecords(),f=()=>{i(),d()};return na(f),{isSupported:s,stop:f,takeRecords:u}}function GT(t={}){var n;const{window:o=Co,deep:r=!0,triggerOnRemoval:a=!1}=t,l=(n=t.document)!=null?n:o==null?void 0:o.document,s=()=>{var d;let u=l==null?void 0:l.activeElement;if(r)for(;u!=null&&u.shadowRoot;)u=(d=u==null?void 0:u.shadowRoot)==null?void 0:d.activeElement;return u},i=e.ref(),c=()=>{i.value=s()};return o&&(nt(o,"blur",d=>{d.relatedTarget===null&&c()},!0),nt(o,"focus",c,!0)),a&&jl(l,d=>{d.filter(u=>u.removedNodes.length).map(u=>Array.from(u.removedNodes)).flat().forEach(u=>{u===i.value&&c()})},{childList:!0,subtree:!0}),c(),i}function qT(t,n={}){const{window:o=Co}=n,r=hi(()=>o&&"matchMedia"in o&&typeof o.matchMedia=="function");let a;const l=e.ref(!1),s=d=>{l.value=d.matches},i=()=>{a&&("removeEventListener"in a?a.removeEventListener("change",s):a.removeListener(s))},c=e.watchEffect(()=>{r.value&&(i(),a=o.matchMedia(Hn(t)),"addEventListener"in a?a.addEventListener("change",s):a.addListener(s),l.value=a.matches)});return na(()=>{c(),i(),a=void 0}),l}function XT(t){return JSON.parse(JSON.stringify(t))}function ZT(t,n,o={}){const{window:r=Co,initialValue:a="",observe:l=!1}=o,s=e.ref(a),i=e.computed(()=>{var d;return Lt(n)||((d=r==null?void 0:r.document)==null?void 0:d.documentElement)});function c(){var d;const u=Hn(t),f=Hn(i);if(f&&r){const p=(d=r.getComputedStyle(f).getPropertyValue(u))==null?void 0:d.trim();s.value=p||a}}return l&&jl(i,c,{attributeFilter:["style","class"],window:r}),e.watch([i,()=>Hn(t)],c,{immediate:!0}),e.watch(s,d=>{var u;(u=i.value)!=null&&u.style&&i.value.style.setProperty(Hn(t),d)}),s}function JT(t={}){const{document:n=UT}=t;if(!n)return e.ref("visible");const o=e.ref(n.visibilityState);return nt(n,"visibilitychange",()=>{o.value=n.visibilityState}),o}function yt(t,n,o={}){const{window:r=Co,...a}=o;let l;const s=hi(()=>r&&"ResizeObserver"in r),i=()=>{l&&(l.disconnect(),l=void 0)},c=e.computed(()=>Array.isArray(t)?t.map(f=>Lt(f)):[Lt(t)]),d=e.watch(c,f=>{if(i(),s.value&&r){l=new ResizeObserver(n);for(const p of f)p&&l.observe(p,a)}},{immediate:!0,flush:"post"}),u=()=>{i(),d()};return na(u),{isSupported:s,stop:u}}function Dg(t,n={}){const{reset:o=!0,windowResize:r=!0,windowScroll:a=!0,immediate:l=!0}=n,s=e.ref(0),i=e.ref(0),c=e.ref(0),d=e.ref(0),u=e.ref(0),f=e.ref(0),p=e.ref(0),g=e.ref(0);function m(){const h=Lt(t);if(!h){o&&(s.value=0,i.value=0,c.value=0,d.value=0,u.value=0,f.value=0,p.value=0,g.value=0);return}const b=h.getBoundingClientRect();s.value=b.height,i.value=b.bottom,c.value=b.left,d.value=b.right,u.value=b.top,f.value=b.width,p.value=b.x,g.value=b.y}return yt(t,m),e.watch(()=>Lt(t),h=>!h&&m()),jl(t,m,{attributeFilter:["style","class"]}),a&&nt("scroll",m,{capture:!0,passive:!0}),r&&nt("resize",m,{passive:!0}),Kd(()=>{l&&m()}),{height:s,bottom:i,left:c,right:d,top:u,width:f,x:p,y:g,update:m}}function jd(t,n={width:0,height:0},o={}){const{window:r=Co,box:a="content-box"}=o,l=e.computed(()=>{var f,p;return(p=(f=Lt(t))==null?void 0:f.namespaceURI)==null?void 0:p.includes("svg")}),s=e.ref(n.width),i=e.ref(n.height),{stop:c}=yt(t,([f])=>{const p=a==="border-box"?f.borderBoxSize:a==="content-box"?f.contentBoxSize:f.devicePixelContentBoxSize;if(r&&l.value){const g=Lt(t);if(g){const m=g.getBoundingClientRect();s.value=m.width,i.value=m.height}}else if(p){const g=Array.isArray(p)?p:[p];s.value=g.reduce((m,{inlineSize:h})=>m+h,0),i.value=g.reduce((m,{blockSize:h})=>m+h,0)}else s.value=f.contentRect.width,i.value=f.contentRect.height},o);Kd(()=>{const f=Lt(t);f&&(s.value="offsetWidth"in f?f.offsetWidth:n.width,i.value="offsetHeight"in f?f.offsetHeight:n.height)});const d=e.watch(()=>Lt(t),f=>{s.value=f?n.width:0,i.value=f?n.height:0});function u(){c(),d()}return{width:s,height:i,stop:u}}function QT(t,n,o={}){const{root:r,rootMargin:a="0px",threshold:l=.1,window:s=Co,immediate:i=!0}=o,c=hi(()=>s&&"IntersectionObserver"in s),d=e.computed(()=>{const m=Hn(t);return(Array.isArray(m)?m:[m]).map(Lt).filter(Mg)});let u=yo;const f=e.ref(i),p=c.value?e.watch(()=>[d.value,Lt(r),f.value],([m,h])=>{if(u(),!f.value||!m.length)return;const b=new IntersectionObserver(n,{root:Lt(h),rootMargin:a,threshold:l});m.forEach(y=>y&&b.observe(y)),u=()=>{b.disconnect(),u=yo}},{immediate:i,flush:"post"}):yo,g=()=>{u(),p(),f.value=!1};return na(g),{isSupported:c,isActive:f,pause(){u(),f.value=!1},resume(){f.value=!0},stop:g}}function Lg(t,n,o,r={}){var a,l,s;const{clone:i=!1,passive:c=!1,eventName:d,deep:u=!1,defaultValue:f,shouldEmit:p}=r,g=e.getCurrentInstance(),m=o||(g==null?void 0:g.emit)||((a=g==null?void 0:g.$emit)==null?void 0:a.bind(g))||((s=(l=g==null?void 0:g.proxy)==null?void 0:l.$emit)==null?void 0:s.bind(g==null?void 0:g.proxy));let h=d;n||(n="modelValue"),h=h||`update:${n.toString()}`;const b=C=>i?typeof i=="function"?i(C):XT(C):C,y=()=>DT(t[n])?b(t[n]):f,k=C=>{p?p(C)&&m(h,C):m(h,C)};if(c){const C=y(),w=e.ref(C);let S=!1;return e.watch(()=>t[n],E=>{S||(S=!0,w.value=b(E),e.nextTick(()=>S=!1))}),e.watch(w,E=>{!S&&(E!==t[n]||u)&&k(E)},{deep:u}),w}else return e.computed({get(){return y()},set(C){k(C)}})}function ex(t={}){const{window:n=Co}=t;if(!n)return e.ref(!1);const o=e.ref(n.document.hasFocus());return nt(n,"blur",()=>{o.value=!1}),nt(n,"focus",()=>{o.value=!0}),o}function Ud(t={}){const{window:n=Co,initialWidth:o=Number.POSITIVE_INFINITY,initialHeight:r=Number.POSITIVE_INFINITY,listenOrientation:a=!0,includeScrollbar:l=!0}=t,s=e.ref(o),i=e.ref(r),c=()=>{n&&(l?(s.value=n.innerWidth,i.value=n.innerHeight):(s.value=n.document.documentElement.clientWidth,i.value=n.document.documentElement.clientHeight))};if(c(),Kd(c),nt("resize",c,{passive:!0}),a){const d=qT("(orientation: portrait)");e.watch(d,()=>c())}return{width:s,height:i}}const Yd=()=>Je&&/firefox/i.test(window.navigator.userAgent),_g=()=>Je&&/android/i.test(window.navigator.userAgent),qt=(t,n,{checkForDefaultPrevented:o=!0}={})=>a=>{const l=t==null?void 0:t(a);if(o===!1||!l)return n==null?void 0:n(a)},Fg=t=>n=>n.pointerType==="mouse"?t(n):void 0,ut=t=>{if(t.code&&t.code!=="Unidentified")return t.code;const n=Hg(t);return n?Object.values(te).includes(n)?n:n===" "?te.space:"":""},Hg=t=>{let n=t.key&&t.key!=="Unidentified"?t.key:"";if(!n&&t.type==="keyup"&&_g()){const o=t.target;n=o.value.charAt(o.selectionStart-1)}return n},Kg=t=>{let n=0,o=t;for(;o;)n+=o.offsetTop,o=o.offsetParent;return n},Gd=(t,n)=>Math.abs(Kg(t)-Kg(n)),Wg=t=>{let n,o;return t.type==="touchend"?(o=t.changedTouches[0].clientY,n=t.changedTouches[0].clientX):t.type.startsWith("touch")?(o=t.touches[0].clientY,n=t.touches[0].clientX):(o=t.clientY,n=t.clientX),{clientX:n,clientY:o}};function tx(t,n,o,r){const a=o-n;return t/=r/2,t<1?a/2*t*t*t+n:a/2*((t-=2)*t*t+2)+n}const et=()=>{},nx=Object.prototype.hasOwnProperty,Qt=(t,n)=>nx.call(t,n),ie=Array.isArray,Aa=t=>jg(t)==="[object Date]",Ae=t=>typeof t=="function",ve=t=>typeof t=="string",tt=t=>t!==null&&typeof t=="object",Ul=t=>(tt(t)||Ae(t))&&Ae(t.then)&&Ae(t.catch),ox=Object.prototype.toString,jg=t=>ox.call(t),qd=t=>jg(t)==="[object Object]",Xd=t=>{const n=Object.create(null);return(o=>n[o]||(n[o]=t(o)))},rx=/-\w/g,Zd=Xd(t=>t.replace(rx,n=>n.slice(1).toUpperCase())),ax=/\B([A-Z])/g,lx=Xd(t=>t.replace(ax,"-$1").toLowerCase()),sx=Xd(t=>t.charAt(0).toUpperCase()+t.slice(1));/*! Bundled license information: + + @vue/shared/dist/shared.esm-bundler.js: + (** + * @vue/shared v3.5.25 + * (c) 2018-present Yuxi (Evan) You and Vue contributors + * @license MIT + **) + */var Ug=typeof global=="object"&&global&&global.Object===Object&&global,ix=typeof self=="object"&&self&&self.Object===Object&&self,on=Ug||ix||Function("return this")(),bn=on.Symbol,Yg=Object.prototype,cx=Yg.hasOwnProperty,dx=Yg.toString,Yl=bn?bn.toStringTag:void 0;function ux(t){var n=cx.call(t,Yl),o=t[Yl];try{t[Yl]=void 0;var r=!0}catch(l){}var a=dx.call(t);return r&&(n?t[Yl]=o:delete t[Yl]),a}var fx=Object.prototype,mx=fx.toString;function px(t){return mx.call(t)}var hx="[object Null]",gx="[object Undefined]",Gg=bn?bn.toStringTag:void 0;function vn(t){return t==null?t===void 0?gx:hx:Gg&&Gg in Object(t)?ux(t):px(t)}function Wt(t){return t!=null&&typeof t=="object"}var bx="[object Symbol]";function Kn(t){return typeof t=="symbol"||Wt(t)&&vn(t)==bx}var yx=NaN;function qg(t){return typeof t=="number"?t:Kn(t)?yx:+t}function _t(t,n){for(var o=-1,r=t==null?0:t.length,a=Array(r);++o0){if(++n>=e$)return arguments[0]}else n=0;return t.apply(void 0,arguments)}}var d0=c0(r0),o$=/\{\n\/\* \[wrapped with (.+)\] \*/,r$=/,? & /;function a$(t){var n=t.match(o$);return n?n[1].split(r$):[]}var l$=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;function s$(t,n){var o=n.length;if(!o)return t;var r=o-1;return n[r]=(o>1?"& ":"")+n[r],n=n.join(o>2?", ":" "),t.replace(l$,`{ +/* [wrapped with `+n+`] */ +`)}function tu(t){return function(){return t}}var ki=(function(){try{var t=ra(Object,"defineProperty");return t({},"",{}),t}catch(n){}})(),i$=ki?function(t,n){return ki(t,"toString",{configurable:!0,enumerable:!1,value:tu(n),writable:!0})}:Vn,nu=c0(i$);function to(t,n){for(var o=-1,r=t==null?0:t.length;++o-1}var d$=1,u$=2,f$=8,m$=16,p$=32,h$=64,g$=128,b$=256,y$=512,C$=[["ary",g$],["bind",d$],["bindKey",u$],["curry",f$],["curryRight",m$],["flip",y$],["partial",p$],["partialRight",h$],["rearg",b$]];function w$(t,n){return to(C$,function(o){var r="_."+o[0];n&o[1]&&!Ei(t,r)&&t.push(r)}),t.sort()}function f0(t,n,o){var r=n+"";return nu(t,s$(r,w$(a$(r),o)))}var k$=4,S$=8,m0=32,p0=64;function h0(t,n,o,r,a,l,s,i,c,d){var u=n&S$,f=u?s:void 0,p=u?void 0:s,g=u?l:void 0,m=u?void 0:l;n|=u?m0:p0,n&=~(u?p0:m0),n&k$||(n&=-4);var h=[t,n,a,g,f,m,p,i,c,d],b=o.apply(void 0,h);return eu(t)&&d0(b,h),b.placeholder=r,f0(b,t,n)}function _a(t){var n=t;return n.placeholder}var E$=9007199254740991,v$=/^(?:0|[1-9]\d*)$/;function sr(t,n){var o=typeof t;return n=n==null?E$:n,!!n&&(o=="number"||o!="symbol"&&v$.test(t))&&t>-1&&t%1==0&&t1&&k.reverse(),u&&c-1&&t%1==0&&t<=U$}function Rn(t){return t!=null&&Ni(t.length)&&!lr(t)}function Nn(t,n,o){if(!Kt(o))return!1;var r=typeof n;return(r=="number"?Rn(o)&&sr(n,o.length):r=="string"&&n in o)?wo(o[n],t):!1}function Fa(t){return mt(function(n,o){var r=-1,a=o.length,l=a>1?o[a-1]:void 0,s=a>2?o[2]:void 0;for(l=t.length>3&&typeof l=="function"?(a--,l):void 0,s&&Nn(o[0],o[1],s)&&(l=a<3?void 0:l,a=1),n=Object(n);++r-1}function rP(t,n){var o=this.__data__,r=Bi(o,t);return r<0?(++this.size,o.push([t,n])):o[r][1]=n,this}function dr(t){var n=-1,o=t==null?0:t.length;for(this.clear();++n0&&o(i)?n>1?sn(i,n-1,o,r,a):Pr(a,i):r||(a[a.length]=i)}return a}function os(t){var n=t==null?0:t.length;return n?sn(t,1):[]}function fr(t){return nu(T0(t,void 0,os),t+"")}var bP=fr(du),xi=A0(Object.getPrototypeOf,Object),yP="[object Object]",CP=Function.prototype,wP=Object.prototype,L0=CP.toString,kP=wP.hasOwnProperty,SP=L0.call(Object);function rs(t){if(!Wt(t)||vn(t)!=yP)return!1;var n=xi(t);if(n===null)return!0;var o=kP.call(n,"constructor")&&n.constructor;return typeof o=="function"&&o instanceof o&&L0.call(o)==SP}var EP="[object DOMException]",vP="[object Error]";function uu(t){if(!Wt(t))return!1;var n=vn(t);return n==vP||n==EP||typeof t.message=="string"&&typeof t.name=="string"&&!rs(t)}var _0=mt(function(t,n){try{return jn(t,void 0,n)}catch(o){return uu(o)?o:new Error(o)}}),NP="Expected a function";function F0(t,n){var o;if(typeof n!="function")throw new TypeError(NP);return t=ft(t),function(){return--t>0&&(o=n.apply(this,arguments)),t<=1&&(n=void 0),o}}var BP=1,TP=32,$i=mt(function(t,n,o){var r=BP;if(o.length){var a=xr(o,_a($i));r|=TP}return ir(t,r,n,o,a)});$i.placeholder={};var xP=fr(function(t,n){return to(n,function(o){o=Ao(o),cr(t,o,$i(t[o],t))}),t}),$P=1,VP=2,PP=32,fu=mt(function(t,n,o){var r=$P|VP;if(o.length){var a=xr(o,_a(fu));r|=PP}return ir(n,r,t,o,a)});fu.placeholder={};function oo(t,n,o){var r=-1,a=t.length;n<0&&(n=-n>a?0:a+n),o=o>a?a:o,o<0&&(o+=a),a=n>o?0:o-n>>>0,n>>>=0;for(var l=Array(a);++r=r?t:oo(t,n,o)}var RP="\\ud800-\\udfff",MP="\\u0300-\\u036f",IP="\\ufe20-\\ufe2f",OP="\\u20d0-\\u20ff",AP=MP+IP+OP,zP="\\ufe0e\\ufe0f",DP="\\u200d",LP=RegExp("["+DP+RP+AP+zP+"]");function Ka(t){return LP.test(t)}function _P(t){return t.split("")}var H0="\\ud800-\\udfff",FP="\\u0300-\\u036f",HP="\\ufe20-\\ufe2f",KP="\\u20d0-\\u20ff",WP=FP+HP+KP,jP="\\ufe0e\\ufe0f",UP="["+H0+"]",mu="["+WP+"]",pu="\\ud83c[\\udffb-\\udfff]",YP="(?:"+mu+"|"+pu+")",K0="[^"+H0+"]",W0="(?:\\ud83c[\\udde6-\\uddff]){2}",j0="[\\ud800-\\udbff][\\udc00-\\udfff]",GP="\\u200d",U0=YP+"?",Y0="["+jP+"]?",qP="(?:"+GP+"(?:"+[K0,W0,j0].join("|")+")"+Y0+U0+")*",XP=Y0+U0+qP,ZP="(?:"+[K0+mu+"?",mu,W0,j0,UP].join("|")+")",JP=RegExp(pu+"(?="+pu+")|"+ZP+XP,"g");function QP(t){return t.match(JP)||[]}function ko(t){return Ka(t)?QP(t):_P(t)}function G0(t){return function(n){n=vt(n);var o=Ka(n)?ko(n):void 0,r=o?o[0]:n.charAt(0),a=o?Rr(o,1).join(""):n.slice(1);return r[t]()+a}}var hu=G0("toUpperCase");function q0(t){return hu(vt(t).toLowerCase())}function gu(t,n,o,r){var a=-1,l=t==null?0:t.length;for(r&&l&&(o=t[++a]);++a=n?t:n)),t}function Mr(t,n,o){return o===void 0&&(o=n,n=void 0),o!==void 0&&(o=Qn(o),o=o===o?o:0),n!==void 0&&(n=Qn(n),n=n===n?n:0),ia(Qn(t),n,o)}function jR(){this.__data__=new dr,this.size=0}function UR(t){var n=this.__data__,o=n.delete(t);return this.size=n.size,o}function YR(t){return this.__data__.get(t)}function GR(t){return this.__data__.has(t)}var qR=200;function XR(t,n){var o=this.__data__;if(o instanceof dr){var r=o.__data__;if(!ts||r.lengthi))return!1;var d=l.get(t),u=l.get(n);if(d&&u)return d==n&&u==t;var f=-1,p=!0,g=o&xI?new da:void 0;for(l.set(t,n),l.set(n,t);++f=n||v<0||f&&N>=l}function y(){var E=Oi();if(b(E))return k(E);i=setTimeout(y,h(E))}function k(E){return i=void 0,p&&r?g(E):(r=a=void 0,s)}function C(){i!==void 0&&clearTimeout(i),d=0,r=c=a=i=void 0}function w(){return i===void 0?s:k(Oi())}function S(){var E=Oi(),v=b(E);if(r=arguments,a=this,c=E,v){if(i===void 0)return m(c);if(f)return clearTimeout(i),i=setTimeout(y,n),g(c)}return i===void 0&&(i=setTimeout(y,n)),s}return S.cancel=C,S.flush=w,S}function CO(t,n){return t==null||t!==t?n:t}var ty=Object.prototype,wO=ty.hasOwnProperty,kO=mt(function(t,n){t=Object(t);var o=-1,r=n.length,a=r>2?n[2]:void 0;for(a&&Nn(n[0],n[1],a)&&(r=1);++o=TO&&(l=ls,s=!1,n=new da(n));e:for(;++a=0&&t.slice(o,a)==n}function _O(t,n){return _t(n,function(o){return[o,t[o]]})}function FO(t){var n=-1,o=Array(t.size);return t.forEach(function(r){o[++n]=[r,r]}),o}var HO="[object Map]",KO="[object Set]";function iy(t){return function(n){var o=zo(n);return o==HO?Tu(n):o==KO?FO(n):_O(n,t(n))}}var WO=iy(rn),jO=iy(Mn),UO={"&":"&","<":"<",">":">",'"':""","'":"'"},YO=bu(UO),cy=/[&<>"']/g,GO=RegExp(cy.source);function dy(t){return t=vt(t),t&&GO.test(t)?t.replace(cy,YO):t}var uy=/[\\^$.*+?()[\]{}|]/g,qO=RegExp(uy.source);function XO(t){return t=vt(t),t&&qO.test(t)?t.replace(uy,"\\$&"):t}function fy(t,n){for(var o=-1,r=t==null?0:t.length;++oa?0:a+o),r=r===void 0||r>a?a:ft(r),r<0&&(r+=a),r=o>r?0:my(r);o-1?a[l?n[s]:s]:void 0}}var oA=Math.max;function gy(t,n,o){var r=t==null?0:t.length;if(!r)return-1;var a=o==null?0:ft(o);return a<0&&(a=oA(r+a,0)),Si(t,at(n),a)}var rA=hy(gy);function by(t,n,o){var r;return o(t,function(a,l,s){if(n(a,l,s))return r=l,!1}),r}function aA(t,n){return by(t,at(n),Do)}var lA=Math.max,sA=Math.min;function Di(t,n,o){var r=t==null?0:t.length;if(!r)return-1;var a=r-1;return o!==void 0&&(a=ft(o),a=o<0?lA(r+a,0):sA(a,r-1)),Si(t,at(n),a,!0)}var iA=hy(Di);function cA(t,n){return by(t,at(n),Lu)}function dA(t){return t&&t.length?t[0]:void 0}function yy(t,n){var o=-1,r=Rn(t)?Array(t.length):[];return Or(t,function(a,l,s){r[++o]=n(a,l,s)}),r}function Li(t,n){var o=it(t)?_t:yy;return o(t,at(n))}function _u(t,n){return sn(Li(t,n),1)}var uA=1/0;function fA(t,n){return sn(Li(t,n),uA)}function mA(t,n,o){return o=o===void 0?1:ft(o),sn(Li(t,n),o)}var pA=1/0;function Cy(t){var n=t==null?0:t.length;return n?sn(t,pA):[]}function hA(t,n){var o=t==null?0:t.length;return o?(n=n===void 0?1:ft(n),sn(t,n)):[]}var gA=512;function bA(t){return ir(t,gA)}var yA=yu("floor"),CA="Expected a function",wA=8,kA=32,SA=128,EA=256;function wy(t){return fr(function(n){var o=n.length,r=o,a=eo.prototype.thru;for(t&&n.reverse();r--;){var l=n[r];if(typeof l!="function")throw new TypeError(CA);if(a&&!s&&wi(l)=="wrapper")var s=new eo([],!0)}for(r=s?r:o;++rn}function Fi(t){return function(n,o){return typeof n=="string"&&typeof o=="string"||(n=Qn(n),o=Qn(o)),t(n,o)}}var OA=Fi(Fu),AA=Fi(function(t,n){return t>=n}),zA=Object.prototype,DA=zA.hasOwnProperty;function LA(t,n){return t!=null&&DA.call(t,n)}function ky(t,n){return t!=null&&qb(t,n,LA)}var _A=Math.max,FA=Math.min;function HA(t,n,o){return t>=FA(n,o)&&t<_A(n,o)}function KA(t,n,o){return n=ar(n),o===void 0?(o=n,n=0):o=ar(o),t=Qn(t),HA(t,n,o)}var WA="[object String]";function Hi(t){return typeof t=="string"||!it(t)&&Wt(t)&&vn(t)==WA}function Hu(t,n){return _t(n,function(o){return t[o]})}function Ga(t){return t==null?[]:Hu(t,rn(t))}var jA=Math.max;function UA(t,n,o,r){t=Rn(t)?t:Ga(t),o=o&&!r?ft(o):0;var a=t.length;return o<0&&(o=jA(a+o,0)),Hi(t)?o<=a&&t.indexOf(n,o)>-1:!!a&&La(t,n,o)>-1}var YA=Math.max;function GA(t,n,o){var r=t==null?0:t.length;if(!r)return-1;var a=o==null?0:ft(o);return a<0&&(a=YA(r+a,0)),La(t,n,a)}function qA(t){var n=t==null?0:t.length;return n?oo(t,0,-1):[]}var XA=Math.min;function Ku(t,n,o){for(var r=o?Du:Ei,a=t[0].length,l=t.length,s=l,i=Array(l),c=1/0,d=[];s--;){var u=t[s];s&&n&&(u=_t(u,Un(n))),c=XA(u.length,c),i[s]=!o&&(n||a>=120&&u.length>=120)?new da(s&&u):void 0}u=t[0];var f=-1,p=i[0];e:for(;++f=-Vy&&t<=Vy}function Py(t){return t===void 0}var Az="[object WeakMap]";function zz(t){return Wt(t)&&zo(t)==Az}var Dz="[object WeakSet]";function Lz(t){return Wt(t)&&vn(t)==Dz}var _z=1;function Fz(t){return at(typeof t=="function"?t:ro(t,_z))}var Hz=Array.prototype,Kz=Hz.join;function Wz(t,n){return t==null?"":Kz.call(t,n)}var jz=ja(function(t,n,o){return t+(o?"-":"")+n.toLowerCase()}),Uz=Ii(function(t,n,o){cr(t,o,n)});function Yz(t,n,o){for(var r=o+1;r--;)if(t[r]===n)return r;return r}var Gz=Math.max,qz=Math.min;function Xz(t,n,o){var r=t==null?0:t.length;if(!r)return-1;var a=r;return o!==void 0&&(a=ft(o),a=a<0?Gz(r+a,0):qz(a,r-1)),n===n?Yz(t,n,a):Si(t,u0,a,!0)}var Zz=ja(function(t,n,o){return t+(o?" ":"")+n.toLowerCase()}),Jz=G0("toLowerCase");function Uu(t,n){return t=this.__values__.length,n=t?void 0:this.__values__[this.__index__++];return{done:t,value:n}}function Iy(t,n){var o=t.length;if(o)return n+=n<0?o:0,sr(n,o)?t[n]:void 0}function ED(t,n){return t&&t.length?Iy(t,ft(n)):void 0}function vD(t){return t=ft(t),mt(function(n){return Iy(n,t)})}var ND=Object.prototype,BD=ND.hasOwnProperty;function Xu(t,n){n=Vr(n,t);var o=-1,r=n.length;if(!r)return!0;for(var a=t==null||typeof t!="object"&&typeof t!="function";++o1),l}),Oo(t,Su(t),o),r&&(o=ro(o,xD|$D|VD,TD));for(var a=n.length;a--;)Xu(o,n[a]);return o});function us(t,n,o,r){if(!Kt(t))return t;n=Vr(n,t);for(var a=-1,l=n.length,s=l-1,i=t;i!=null&&++an||l&&s&&c&&!i&&!d||r&&s&&c||!o&&c||!a)return 1;if(!r&&!l&&!d&&t=i)return c;var d=o[r];return c*(d=="desc"?-1:1)}}return t.index-n.index}function Dy(t,n,o){n.length?n=_t(n,function(l){return it(l)?function(s){return sa(s,l.length===1?l[0]:l)}:l}):n=[Vn];var r=-1;n=_t(n,Un(at));var a=yy(t,function(l,s,i){var c=_t(n,function(d){return d(l)});return{criteria:c,index:++r,value:l}});return MD(a,function(l,s){return ID(l,s,o)})}function OD(t,n,o,r){return t==null?[]:(it(n)||(n=n==null?[]:[n]),o=r?void 0:o,it(o)||(o=o==null?[]:[o]),Dy(t,n,o))}function Zu(t){return fr(function(n){return n=_t(n,Un(at)),mt(function(o){var r=this;return t(n,function(a){return jn(a,r,o)})})})}var AD=Zu(_t),zD=mt,DD=Math.min,LD=zD(function(t,n){n=n.length==1&&it(n[0])?_t(n[0],Un(at)):_t(sn(n,1),Un(at));var o=n.length;return mt(function(r){for(var a=-1,l=DD(r.length,o);++aHD)return o;do n%2&&(o+=t),n=KD(n/2),n&&(t+=t);while(n);return o}var WD=Ru("length"),Ly="\\ud800-\\udfff",jD="\\u0300-\\u036f",UD="\\ufe20-\\ufe2f",YD="\\u20d0-\\u20ff",GD=jD+UD+YD,qD="\\ufe0e\\ufe0f",XD="["+Ly+"]",Qu="["+GD+"]",ef="\\ud83c[\\udffb-\\udfff]",ZD="(?:"+Qu+"|"+ef+")",_y="[^"+Ly+"]",Fy="(?:\\ud83c[\\udde6-\\uddff]){2}",Hy="[\\ud800-\\udbff][\\udc00-\\udfff]",JD="\\u200d",Ky=ZD+"?",Wy="["+qD+"]?",QD="(?:"+JD+"(?:"+[_y,Fy,Hy].join("|")+")"+Wy+Ky+")*",eL=Wy+Ky+QD,tL="(?:"+[_y+Qu+"?",Qu,Fy,Hy,XD].join("|")+")",jy=RegExp(ef+"(?="+ef+")|"+tL+eL,"g");function nL(t){for(var n=jy.lastIndex=0;jy.test(t);)++n;return n}function Xa(t){return Ka(t)?nL(t):WD(t)}var oL=Math.ceil;function ji(t,n){n=n===void 0?" ":Wn(n);var o=n.length;if(o<2)return o?Ju(n,t):n;var r=Ju(n,oL(t/Xa(n)));return Ka(n)?Rr(ko(r),0,t).join(""):r.slice(0,t)}var rL=Math.ceil,aL=Math.floor;function lL(t,n,o){t=vt(t),n=ft(n);var r=n?Xa(t):0;if(!n||r>=n)return t;var a=(n-r)/2;return ji(aL(a),o)+t+ji(rL(a),o)}function sL(t,n,o){t=vt(t),n=ft(n);var r=n?Xa(t):0;return n&&r-1;)i!==t&&Uy.call(i,c,1),Uy.call(t,c,1);return t}function Yy(t,n){return t&&t.length&&n&&n.length?nf(t,n):t}var wL=mt(Yy);function kL(t,n,o){return t&&t.length&&n&&n.length?nf(t,n,at(o)):t}function SL(t,n,o){return t&&t.length&&n&&n.length?nf(t,n,void 0,o):t}var EL=Array.prototype,vL=EL.splice;function Gy(t,n){for(var o=t?n.length:0,r=o-1;o--;){var a=n[o];if(o==r||a!==l){var l=a;sr(a)?vL.call(t,a,1):Xu(t,a)}}return t}var NL=fr(function(t,n){var o=t==null?0:t.length,r=du(t,n);return Gy(t,_t(n,function(a){return sr(a,o)?+a:a}).sort(zy)),r}),BL=Math.floor,TL=Math.random;function of(t,n){return t+BL(TL()*(n-t+1))}var xL=parseFloat,$L=Math.min,VL=Math.random;function PL(t,n,o){if(o&&typeof o!="boolean"&&Nn(t,n,o)&&(n=o=void 0),o===void 0&&(typeof n=="boolean"?(o=n,n=void 0):typeof t=="boolean"&&(o=t,t=void 0)),t===void 0&&n===void 0?(t=0,n=1):(t=ar(t),n===void 0?(n=t,t=0):n=ar(n)),t>n){var r=t;t=n,n=r}if(o||t%1||n%1){var a=VL();return $L(t+a*(n-t+xL("1e-"+((a+"").length-1))),n)}return of(t,n)}var RL=Math.ceil,ML=Math.max;function IL(t,n,o,r){for(var a=-1,l=ML(RL((n-t)/(o||1)),0),s=Array(l);l--;)s[r?l:++a]=t,t+=o;return s}function qy(t){return function(n,o,r){return r&&typeof r!="number"&&Nn(n,o,r)&&(o=r=void 0),n=ar(n),o===void 0?(o=n,n=0):o=ar(o),r=r===void 0?n1&&Nn(t,n[0],n[1])?n=[]:o>2&&Nn(n[0],n[1],n[2])&&(n=[n[0]]),Dy(t,sn(n,1),[])}),h3=4294967295,g3=h3-1,b3=Math.floor,y3=Math.min;function af(t,n,o,r){var a=0,l=t==null?0:t.length;if(l===0)return 0;n=o(n);for(var s=n!==n,i=n===null,c=Kn(n),d=n===void 0;a>>1;function Gi(t,n,o){var r=0,a=t==null?r:t.length;if(typeof n=="number"&&n===n&&a<=w3){for(;r>>1,s=t[l];s!==null&&!Kn(s)&&(o?s<=n:s>>0,o?(t=vt(t),t&&(typeof n=="string"||n!=null&&!ju(n))&&(n=Wn(n),!n&&Ka(t))?Rr(ko(t),0,o):t.split(n,o)):[]}var P3="Expected a function",R3=Math.max;function M3(t,n){if(typeof t!="function")throw new TypeError(P3);return n=n==null?0:R3(ft(n),0),mt(function(o){var r=o[n],a=Rr(o,0,n);return r&&Pr(a,r),jn(t,this,a)})}var I3=ja(function(t,n,o){return t+(o?" ":"")+hu(n)});function O3(t,n,o){return t=vt(t),o=o==null?0:ia(ft(o),0,t.length),n=Wn(n),t.slice(o,o+n.length)==n}function A3(){return{}}function z3(){return""}function D3(){return!0}var L3=gi(function(t,n){return t-n},0);function _3(t){return t&&t.length?Yu(t,Vn):0}function F3(t,n){return t&&t.length?Yu(t,at(n)):0}function H3(t){var n=t==null?0:t.length;return n?oo(t,1,n):[]}function K3(t,n,o){return t&&t.length?(n=o||n===void 0?1:ft(n),oo(t,0,n<0?0:n)):[]}function W3(t,n,o){var r=t==null?0:t.length;return r?(n=o||n===void 0?1:ft(n),n=r-n,oo(t,n<0?0:n,r)):[]}function j3(t,n){return t&&t.length?zi(t,at(n),!1,!0):[]}function U3(t,n){return t&&t.length?zi(t,at(n)):[]}function Y3(t,n){return n(t),t}var eC=Object.prototype,G3=eC.hasOwnProperty;function tC(t,n,o,r){return t===void 0||wo(t,eC[o])&&!G3.call(r,o)?n:t}var q3={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};function X3(t){return"\\"+q3[t]}var nC=/<%=([\s\S]+?)%>/g,Z3=/<%-([\s\S]+?)%>/g,J3=/<%([\s\S]+?)%>/g,lf={escape:Z3,evaluate:J3,interpolate:nC,variable:"",imports:{_:{escape:dy}}},Q3="Invalid `variable` option passed into `_.template`",e4=/\b__p \+= '';/g,t4=/\b(__p \+=) '' \+/g,n4=/(__e\(.*?\)|\b__t\)) \+\n'';/g,o4=/[()=,{}\[\]\/\s]/,r4=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,qi=/($^)/,a4=/['\n\r\u2028\u2029\\]/g,l4=Object.prototype,oC=l4.hasOwnProperty;function s4(t,n,o){var r=lf.imports._.templateSettings||lf;o&&Nn(t,n,o)&&(n=void 0),t=vt(t),n=iu({},n,r,tC);var a=iu({},n.imports,r.imports,tC),l=rn(a),s=Hu(a,l),i,c,d=0,u=n.interpolate||qi,f="__p += '",p=RegExp((n.escape||qi).source+"|"+u.source+"|"+(u===nC?r4:qi).source+"|"+(n.evaluate||qi).source+"|$","g"),g=oC.call(n,"sourceURL")?"//# sourceURL="+(n.sourceURL+"").replace(/\s/g," ")+` +`:"";t.replace(p,function(b,y,k,C,w,S){return k||(k=C),f+=t.slice(d,S).replace(a4,X3),y&&(i=!0,f+=`' + +__e(`+y+`) + +'`),w&&(c=!0,f+=`'; +`+w+`; +__p += '`),k&&(f+=`' + +((__t = (`+k+`)) == null ? '' : __t) + +'`),d=S+b.length,b}),f+=`'; +`;var m=oC.call(n,"variable")&&n.variable;if(!m)f=`with (obj) { +`+f+` +} +`;else if(o4.test(m))throw new Error(Q3);f=(c?f.replace(e4,""):f).replace(t4,"$1").replace(n4,"$1;"),f="function("+(m||"obj")+`) { +`+(m?"":`obj || (obj = {}); +`)+"var __t, __p = ''"+(i?", __e = _.escape":"")+(c?`, __j = Array.prototype.join; +function print() { __p += __j.call(arguments, '') } +`:`; +`)+f+`return __p +}`;var h=_0(function(){return Function(l,g+"return "+f).apply(void 0,s)});if(h.source=f,uu(h))throw h;return h}var i4="Expected a function";function mr(t,n,o){var r=!0,a=!0;if(typeof t!="function")throw new TypeError(i4);return Kt(o)&&(r="leading"in o?!!o.leading:r,a="trailing"in o?!!o.trailing:a),Eo(t,n,{leading:r,maxWait:n,trailing:a})}function Xi(t,n){return n(t)}var c4=9007199254740991,sf=4294967295,d4=Math.min;function u4(t,n){if(t=ft(t),t<1||t>c4)return[];var o=sf,r=d4(t,sf);n=Lo(n),t-=sf;for(var a=ru(r,n);++o-1;);return o}function sC(t,n){for(var o=-1,r=t.length;++o-1;);return o}function C4(t,n,o){if(t=vt(t),t&&(o||n===void 0))return Qg(t);if(!t||!(n=Wn(n)))return t;var r=ko(t),a=ko(n),l=sC(r,a),s=lC(r,a)+1;return Rr(r,l,s).join("")}function w4(t,n,o){if(t=vt(t),t&&(o||n===void 0))return t.slice(0,Jg(t)+1);if(!t||!(n=Wn(n)))return t;var r=ko(t),a=lC(r,ko(n))+1;return Rr(r,0,a).join("")}var k4=/^\s+/;function S4(t,n,o){if(t=vt(t),t&&(o||n===void 0))return t.replace(k4,"");if(!t||!(n=Wn(n)))return t;var r=ko(t),a=sC(r,ko(n));return Rr(r,a).join("")}var E4=30,v4="...",N4=/\w*$/;function B4(t,n){var o=E4,r=v4;if(Kt(n)){var a="separator"in n?n.separator:a;o="length"in n?ft(n.length):o,r="omission"in n?Wn(n.omission):r}t=vt(t);var l=t.length;if(Ka(t)){var s=ko(t);l=s.length}if(o>=l)return t;var i=o-Xa(r);if(i<1)return r;var c=s?Rr(s,0,i).join(""):t.slice(0,i);if(a===void 0)return c+r;if(s&&(i+=c.length-i),ju(a)){if(t.slice(i).search(a)){var d,u=c;for(a.global||(a=RegExp(a.source,vt(N4.exec(a))+"g")),a.lastIndex=0;d=a.exec(u);)var f=d.index;c=c.slice(0,f===void 0?i:f)}}else if(t.indexOf(Wn(a),i)!=i){var p=c.lastIndexOf(a);p>-1&&(c=c.slice(0,p))}return c+r}function T4(t){return N0(t,1)}var x4={"&":"&","<":"<",">":">",""":'"',"'":"'"},$4=bu(x4),iC=/&(?:amp|lt|gt|quot|#39);/g,V4=RegExp(iC.source);function P4(t){return t=vt(t),t&&V4.test(t)?t.replace(iC,$4):t}var R4=1/0,M4=Ua&&1/Ri(new Ua([,-0]))[1]==R4?function(t){return new Ua(t)}:Jd,I4=200;function Ar(t,n,o){var r=-1,a=Ei,l=t.length,s=!0,i=[],c=i;if(o)s=!1,a=Du;else if(l>=I4){var d=n?null:M4(t);if(d)return Ri(d);s=!1,a=ls,c=new da}else c=n?[]:i;e:for(;++r1||this.__actions__.length||!(r instanceof ht)||!sr(o)?this.thru(a):(r=r.slice(o,+o+(n?1:0)),r.__actions__.push({func:Xi,args:[a],thisArg:void 0}),new eo(r,this.__chain__).thru(function(l){return n&&!l.length&&l.push(void 0),l}))});function Z4(){return hb(this)}function J4(){var t=this.__wrapped__;if(t instanceof ht){var n=t;return this.__actions__.length&&(n=new ht(this)),n=n.reverse(),n.__actions__.push({func:Xi,args:[rf],thisArg:void 0}),new eo(n,this.__chain__)}return this.thru(rf)}function df(t,n,o){var r=t.length;if(r<2)return r?Ar(t[0]):[];for(var a=-1,l=Array(r);++a1?t[n-1]:void 0;return o=typeof o=="function"?(t.pop(),o):void 0,cC(t,o)}),Ke={chunk:WR,compact:SI,concat:EI,difference:xO,differenceBy:$O,differenceWith:VO,drop:RO,dropRight:MO,dropRightWhile:IO,dropWhile:OO,fill:tA,findIndex:gy,findLastIndex:Di,flatten:os,flattenDeep:Cy,flattenDepth:hA,fromPairs:Ya,head:dA,indexOf:GA,initial:qA,intersection:ZA,intersectionBy:JA,intersectionWith:QA,join:Wz,lastIndexOf:Xz,nth:ED,pull:wL,pullAll:Yy,pullAllBy:kL,pullAllWith:SL,pullAt:NL,remove:KL,reverse:rf,slice:d3,sortedIndex:k3,sortedIndexBy:S3,sortedIndexOf:E3,sortedLastIndex:v3,sortedLastIndexBy:N3,sortedLastIndexOf:B3,sortedUniq:T3,sortedUniqBy:x3,tail:H3,take:K3,takeRight:W3,takeRightWhile:j3,takeWhile:U3,union:Zi,unionBy:O4,unionWith:A4,uniq:z4,uniqBy:D4,uniqWith:L4,unzip:cf,unzipWith:cC,without:G4,xor:Q4,xorBy:e_,xorWith:t_,zip:n_,zipObject:o_,zipObjectDeep:r_,zipWith:a_},Pt={countBy:fO,every:JO,filter:nA,find:rA,findLast:iA,flatMap:_u,flatMapDeep:fA,flatMapDepth:mA,forEach:AO,forEachRight:DO,groupBy:IA,includes:UA,invokeMap:iz,keyBy:Uz,map:Li,orderBy:OD,partition:pL,reduce:LL,reduceRight:FL,reject:HL,sample:QL,sampleSize:n3,shuffle:l3,size:c3,some:m3,sortBy:p3},l_={now:Oi},jt={after:xx,ary:N0,before:F0,bind:$i,bindKey:fu,curry:Iu,curryRight:Ou,debounce:Eo,defer:NO,delay:BO,flip:bA,memoize:ns,once:RD,overArgs:LD,partial:Ui,partialRight:tf,rearg:DL,rest:YL,spread:M3,throttle:mr,unary:T4,wrap:q4},Qe={castArray:Xt,clone:Pi,cloneDeep:as,cloneDeepWith:yI,cloneWith:wI,conformsTo:sO,eq:wo,gt:OA,gte:AA,isArguments:aa,isArrayBuffer:uz,isArrayLike:Rn,isArrayLikeObject:Yt,isBoolean:mz,isBuffer:$r,isDate:gz,isElement:bz,isEmpty:Sz,isEqual:xt,isEqualWith:Ez,isError:uu,isFinite:Nz,isFunction:lr,isInteger:Ty,isLength:Ni,isMap:Ob,isMatch:Bz,isMatchWith:Tz,isNaN:$z,isNative:Rz,isNil:Rt,isNull:ds,isNumber:xy,isObjectLike:Wt,isPlainObject:rs,isRegExp:ju,isSafeInteger:Oz,isSet:zb,isString:Hi,isSymbol:Kn,isTypedArray:Ha,isUndefined:Py,isWeakMap:zz,isWeakSet:Lz,lt:Qz,lte:eD,toArray:My,toFinite:ar,toLength:my,toNumber:Qn,toPlainObject:ny,toSafeInteger:g4,toString:vt},Bn={add:Cx,ceil:FR,divide:PO,floor:yA,max:sD,maxBy:iD,mean:dD,meanBy:uD,min:pD,minBy:hD,multiply:bD,round:ZL,subtract:L3,sum:_3,sumBy:F3},uf={clamp:Mr,inRange:KA,random:PL},ot={assign:RV,assignIn:zV,assignInWith:iu,assignWith:DV,at:bP,create:mO,defaults:kO,defaultsDeep:EO,findKey:aA,findLastKey:cA,forIn:BA,forInRight:TA,forOwn:xA,forOwnRight:$A,functions:VA,functionsIn:PA,get:Mt,has:ky,hasIn:Pu,invert:oz,invertBy:lz,invoke:sz,keysIn:Mn,mapKeys:tD,mapValues:nD,merge:Gu,mergeWith:ry,omit:qa,omitBy:PD,pick:_o,pickBy:Ay,result:GL,set:Jy,setWith:o3,toPairs:WO,toPairsIn:jO,transform:y4,unset:H4,update:W4,updateWith:j4,values:Ga,valuesIn:Y4},Fo={at:X4,chain:hb,commit:kI,next:SD,plant:gL,reverse:J4,tap:Y3,toIterator:f4,value:m4,wrapperChain:Z4},Ct={camelCase:DR,capitalize:q0,deburr:X0,endsWith:LO,escape:dy,escapeRegExp:XO,kebabCase:jz,lowerCase:Zz,lowerFirst:Jz,pad:lL,padEnd:sL,padStart:iL,parseInt:uL,repeat:WL,replace:jL,snakeCase:u3,split:V3,startCase:I3,startsWith:O3,template:s4,templateSettings:lf,toLower:p4,toUpper:b4,trim:C4,trimEnd:w4,trimStart:S4,truncate:B4,unescape:P4,upperCase:U4,upperFirst:hu,words:pb},Nt={attempt:_0,bindAll:xP,cond:oO,conforms:lO,constant:tu,defaultTo:CO,flow:vA,flowRight:NA,iteratee:Fz,matches:rD,matchesProperty:lD,method:fD,methodOf:mD,noop:Jd,nthArg:vD,over:AD,overEvery:_D,overSome:FD,property:Zb,propertyOf:bL,range:OL,rangeRight:AL,stubArray:Cu,stubFalse:au,stubObject:A3,stubString:z3,stubTrue:D3,times:u4,toPath:h4,uniqueId:F4};function s_(){var t=new ht(this.__wrapped__);return t.__actions__=Pn(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Pn(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Pn(this.__views__),t}function i_(){if(this.__filtered__){var t=new ht(this);t.__dir__=-1,t.__filtered__=!0}else t=this.clone(),t.__dir__*=-1;return t}var c_=Math.max,d_=Math.min;function u_(t,n,o){for(var r=-1,a=o.length;++r0||n<0)?new ht(o):(t<0?o=o.takeRight(-t):t&&(o=o.drop(t)),n!==void 0&&(n=ft(n),o=n<0?o.dropRight(-n):o.take(n-t)),o)},ht.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},ht.prototype.toArray=function(){return this.take(fC)},Do(ht.prototype,function(t,n){var o=/^(?:filter|find|map|reject)|While$/.test(n),r=/^(?:head|last)$/.test(n),a=U[r?"take"+(n=="last"?"Right":""):n],l=r||/^find/.test(n);a&&(U.prototype[n]=function(){var s=this.__wrapped__,i=r?[1]:arguments,c=s instanceof ht,d=i[0],u=c||it(s),f=function(y){var k=a.apply(U,Pr([y],i));return r&&p?k[0]:k};u&&o&&typeof d=="function"&&d.length!=1&&(c=u=!1);var p=this.__chain__,g=!!this.__actions__.length,m=l&&!p,h=c&&!g;if(!l&&u){s=h?s:new ht(this);var b=t.apply(s,i);return b.__actions__.push({func:Xi,args:[f],thisArg:void 0}),new eo(b,p)}return m&&h?t.apply(this,i):(b=this.thru(f),m?r?b.value()[0]:b.value():b)})}),to(["pop","push","shift","sort","splice","unshift"],function(t){var n=w_[t],o=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",r=/^(?:pop|shift)$/.test(t);U.prototype[t]=function(){var a=arguments;if(r&&!this.__chain__){var l=this.value();return n.apply(it(l)?l:[],a)}return this[o](function(s){return n.apply(it(s)?s:[],a)})}}),Do(ht.prototype,function(t,n){var o=U[n];if(o){var r=o.name+"";mC.call(Da,r)||(Da[r]=[]),Da[r].push({name:n,func:o})}}),Da[vi(void 0,b_).name]=[{name:"wrapper",func:void 0}],ht.prototype.clone=s_,ht.prototype.reverse=i_,ht.prototype.value=h_,U.prototype.at=Fo.at,U.prototype.chain=Fo.wrapperChain,U.prototype.commit=Fo.commit,U.prototype.next=Fo.next,U.prototype.plant=Fo.plant,U.prototype.reverse=Fo.reverse,U.prototype.toJSON=U.prototype.valueOf=U.prototype.value=Fo.value,U.prototype.first=U.prototype.head,pC&&(U.prototype[pC]=Fo.toIterator);/*! Bundled license information: + + lodash-es/lodash.default.js: + (** + * @license + * Lodash (Custom Build) + * Build: `lodash modularize exports="es" -o ./` + * Copyright OpenJS Foundation and other contributors + * Released under MIT license + * Based on Underscore.js 1.8.3 + * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors + *) + */const Xe=t=>t===void 0,ct=t=>typeof t=="boolean",pe=t=>typeof t=="number",Tn=t=>!t&&t!==0||ie(t)&&t.length===0||tt(t)&&!Object.keys(t).length,In=t=>typeof Element=="undefined"?!1:t instanceof Element,On=t=>Rt(t),E_=t=>ve(t)?!Number.isNaN(Number(t)):!1,fs=t=>t===window,Ho=t=>Je?window.requestAnimationFrame(t):setTimeout(t,16),pr=t=>Je?window.cancelAnimationFrame(t):clearTimeout(t),mf=(t="")=>t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d"),zr=t=>sx(t),Za=t=>Object.keys(t),gC=t=>Object.entries(t),Ja=(t,n,o)=>({get value(){return Mt(t,n,o)},set value(r){Jy(t,n,r)}});class v_ extends Error{constructor(n){super(n),this.name="ElementPlusError"}}function Ft(t,n){throw new v_(`[${t}] ${n}`)}function nee(t,n){}const bC=(t="")=>t.split(" ").filter(n=>!!n.trim()),Ko=(t,n)=>{if(!t||!n)return!1;if(n.includes(" "))throw new Error("className should not contain space.");return t.classList.contains(n)},lo=(t,n)=>{!t||!n.trim()||t.classList.add(...bC(n))},yn=(t,n)=>{!t||!n.trim()||t.classList.remove(...bC(n))},hr=(t,n)=>{var o;if(!Je||!t||!n)return"";let r=Zd(n);r==="float"&&(r="cssFloat");try{const a=t.style[r];if(a)return a;const l=(o=document.defaultView)==null?void 0:o.getComputedStyle(t,"");return l?l[r]:""}catch(a){return t.style[r]}},yC=(t,n,o)=>{if(!(!t||!n))if(tt(n))gC(n).forEach(([r,a])=>yC(t,r,a));else{const r=Zd(n);t.style[r]=o}};function $t(t,n="px"){if(!t&&t!==0)return"";if(pe(t)||E_(t))return`${t}${n}`;if(ve(t))return t}const N_=(t,n)=>{if(!Je)return!1;const o={undefined:"overflow",true:"overflow-y",false:"overflow-x"}[String(n)],r=hr(t,o);return["scroll","auto","overlay"].some(a=>r.includes(a))},pf=(t,n)=>{if(!Je)return;let o=t;for(;o;){if([window,document,document.documentElement].includes(o))return window;if(N_(o,n))return o;o=o.parentNode}return o};let Ji;const CC=t=>{var n;if(!Je)return 0;if(Ji!==void 0)return Ji;const o=document.createElement("div");o.className=`${t}-scrollbar__wrap`,o.style.visibility="hidden",o.style.width="100px",o.style.position="absolute",o.style.top="-9999px",document.body.appendChild(o);const r=o.offsetWidth;o.style.overflow="scroll";const a=document.createElement("div");a.style.width="100%",o.appendChild(a);const l=a.offsetWidth;return(n=o.parentNode)==null||n.removeChild(o),Ji=r-l,Ji};function hf(t,n){if(!Je)return;if(!n){t.scrollTop=0;return}const o=[];let r=n.offsetParent;for(;r!==null&&t!==r&&t.contains(r);)o.push(r),r=r.offsetParent;const a=n.offsetTop+o.reduce((c,d)=>c+d.offsetTop,0),l=a+n.offsetHeight,s=t.scrollTop,i=s+t.clientHeight;ai&&(t.scrollTop=l-t.clientHeight)}function B_(t,n,o,r,a){const l=Date.now();let s;const i=()=>{const d=Date.now()-l,u=tx(d>r?r:d,n,o,r);fs(t)?t.scrollTo(window.pageXOffset,u):t.scrollTop=u,d{s&&pr(s)}}const wC=(t,n)=>fs(n)?t.ownerDocument.documentElement:n,kC=t=>fs(t)?window.scrollY:t.scrollTop,Qi=(t=>{if(!Je||t==="")return null;if(ve(t))try{return document.querySelector(t)}catch(n){return null}return t});let SC=Je?document.body:void 0;function T_(t){const n=document.createElement("div");return SC&&SC.appendChild(n),n}function x_(t){t.remove()}var $_=e.defineComponent({name:"ArrowDown",__name:"arrow-down",setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[e.createElementVNode("path",{fill:"currentColor",d:"M831.872 340.864 512 652.672 192.128 340.864a30.59 30.59 0 0 0-42.752 0 29.12 29.12 0 0 0 0 41.6L489.664 714.24a32 32 0 0 0 44.672 0l340.288-331.712a29.12 29.12 0 0 0 0-41.728 30.59 30.59 0 0 0-42.752 0z"})]))}}),Wo=$_,V_=e.defineComponent({name:"ArrowLeft",__name:"arrow-left",setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[e.createElementVNode("path",{fill:"currentColor",d:"M609.408 149.376 277.76 489.6a32 32 0 0 0 0 44.672l331.648 340.352a29.12 29.12 0 0 0 41.728 0 30.59 30.59 0 0 0 0-42.752L339.264 511.936l311.872-319.872a30.59 30.59 0 0 0 0-42.688 29.12 29.12 0 0 0-41.728 0"})]))}}),gr=V_,P_=e.defineComponent({name:"ArrowRight",__name:"arrow-right",setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[e.createElementVNode("path",{fill:"currentColor",d:"M340.864 149.312a30.59 30.59 0 0 0 0 42.752L652.736 512 340.864 831.872a30.59 30.59 0 0 0 0 42.752 29.12 29.12 0 0 0 41.728 0L714.24 534.336a32 32 0 0 0 0-44.672L382.592 149.376a29.12 29.12 0 0 0-41.728 0z"})]))}}),Cn=P_,R_=e.defineComponent({name:"ArrowUp",__name:"arrow-up",setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[e.createElementVNode("path",{fill:"currentColor",d:"m488.832 344.32-339.84 356.672a32 32 0 0 0 0 44.16l.384.384a29.44 29.44 0 0 0 42.688 0l320-335.872 319.872 335.872a29.44 29.44 0 0 0 42.688 0l.384-.384a32 32 0 0 0 0-44.16L535.168 344.32a32 32 0 0 0-46.336 0"})]))}}),ec=R_,M_=e.defineComponent({name:"Back",__name:"back",setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[e.createElementVNode("path",{fill:"currentColor",d:"M224 480h640a32 32 0 1 1 0 64H224a32 32 0 0 1 0-64"}),e.createElementVNode("path",{fill:"currentColor",d:"m237.248 512 265.408 265.344a32 32 0 0 1-45.312 45.312l-288-288a32 32 0 0 1 0-45.312l288-288a32 32 0 1 1 45.312 45.312z"})]))}}),I_=M_,O_=e.defineComponent({name:"Calendar",__name:"calendar",setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[e.createElementVNode("path",{fill:"currentColor",d:"M128 384v512h768V192H768v32a32 32 0 1 1-64 0v-32H320v32a32 32 0 0 1-64 0v-32H128v128h768v64zm192-256h384V96a32 32 0 1 1 64 0v32h160a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h160V96a32 32 0 0 1 64 0zm-32 384h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m192-192h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m192-192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64"})]))}}),A_=O_,z_=e.defineComponent({name:"CaretRight",__name:"caret-right",setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[e.createElementVNode("path",{fill:"currentColor",d:"M384 192v640l384-320.064z"})]))}}),EC=z_,D_=e.defineComponent({name:"CaretTop",__name:"caret-top",setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[e.createElementVNode("path",{fill:"currentColor",d:"M512 320 192 704h639.936z"})]))}}),L_=D_,__=e.defineComponent({name:"Check",__name:"check",setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[e.createElementVNode("path",{fill:"currentColor",d:"M406.656 706.944 195.84 496.256a32 32 0 1 0-45.248 45.248l256 256 512-512a32 32 0 0 0-45.248-45.248L406.592 706.944z"})]))}}),ms=__,F_=e.defineComponent({name:"CircleCheckFilled",__name:"circle-check-filled",setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[e.createElementVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.27 38.27 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336z"})]))}}),H_=F_,K_=e.defineComponent({name:"CircleCheck",__name:"circle-check",setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[e.createElementVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),e.createElementVNode("path",{fill:"currentColor",d:"M745.344 361.344a32 32 0 0 1 45.312 45.312l-288 288a32 32 0 0 1-45.312 0l-160-160a32 32 0 1 1 45.312-45.312L480 626.752z"})]))}}),gf=K_,W_=e.defineComponent({name:"CircleCloseFilled",__name:"circle-close-filled",setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[e.createElementVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 393.664L407.936 353.6a38.4 38.4 0 1 0-54.336 54.336L457.664 512 353.6 616.064a38.4 38.4 0 1 0 54.336 54.336L512 566.336 616.064 670.4a38.4 38.4 0 1 0 54.336-54.336L566.336 512 670.4 407.936a38.4 38.4 0 1 0-54.336-54.336z"})]))}}),bf=W_,j_=e.defineComponent({name:"CircleClose",__name:"circle-close",setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[e.createElementVNode("path",{fill:"currentColor",d:"m466.752 512-90.496-90.496a32 32 0 0 1 45.248-45.248L512 466.752l90.496-90.496a32 32 0 1 1 45.248 45.248L557.248 512l90.496 90.496a32 32 0 1 1-45.248 45.248L512 557.248l-90.496 90.496a32 32 0 0 1-45.248-45.248z"}),e.createElementVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}}),jo=j_,U_=e.defineComponent({name:"Clock",__name:"clock",setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[e.createElementVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),e.createElementVNode("path",{fill:"currentColor",d:"M480 256a32 32 0 0 1 32 32v256a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32"}),e.createElementVNode("path",{fill:"currentColor",d:"M480 512h256q32 0 32 32t-32 32H480q-32 0-32-32t32-32"})]))}}),vC=U_,Y_=e.defineComponent({name:"Close",__name:"close",setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[e.createElementVNode("path",{fill:"currentColor",d:"M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"})]))}}),so=Y_,G_=e.defineComponent({name:"DArrowLeft",__name:"d-arrow-left",setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[e.createElementVNode("path",{fill:"currentColor",d:"M529.408 149.376a29.12 29.12 0 0 1 41.728 0 30.59 30.59 0 0 1 0 42.688L259.264 511.936l311.872 319.936a30.59 30.59 0 0 1-.512 43.264 29.12 29.12 0 0 1-41.216-.512L197.76 534.272a32 32 0 0 1 0-44.672zm256 0a29.12 29.12 0 0 1 41.728 0 30.59 30.59 0 0 1 0 42.688L515.264 511.936l311.872 319.936a30.59 30.59 0 0 1-.512 43.264 29.12 29.12 0 0 1-41.216-.512L453.76 534.272a32 32 0 0 1 0-44.672z"})]))}}),Dr=G_,q_=e.defineComponent({name:"DArrowRight",__name:"d-arrow-right",setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[e.createElementVNode("path",{fill:"currentColor",d:"M452.864 149.312a29.12 29.12 0 0 1 41.728.064L826.24 489.664a32 32 0 0 1 0 44.672L494.592 874.624a29.12 29.12 0 0 1-41.728 0 30.59 30.59 0 0 1 0-42.752L764.736 512 452.864 192a30.59 30.59 0 0 1 0-42.688m-256 0a29.12 29.12 0 0 1 41.728.064L570.24 489.664a32 32 0 0 1 0 44.672L238.592 874.624a29.12 29.12 0 0 1-41.728 0 30.59 30.59 0 0 1 0-42.752L508.736 512 196.864 192a30.59 30.59 0 0 1 0-42.688"})]))}}),Lr=q_,X_=e.defineComponent({name:"Delete",__name:"delete",setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[e.createElementVNode("path",{fill:"currentColor",d:"M160 256H96a32 32 0 0 1 0-64h256V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64h-64v672a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32zm448-64v-64H416v64zM224 896h576V256H224zm192-128a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32m192 0a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32"})]))}}),Z_=X_,J_=e.defineComponent({name:"Document",__name:"document",setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[e.createElementVNode("path",{fill:"currentColor",d:"M832 384H576V128H192v768h640zm-26.496-64L640 154.496V320zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m160 448h384v64H320zm0-192h160v64H320zm0 384h384v64H320z"})]))}}),Q_=J_,eF=e.defineComponent({name:"FullScreen",__name:"full-screen",setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[e.createElementVNode("path",{fill:"currentColor",d:"m160 96.064 192 .192a32 32 0 0 1 0 64l-192-.192V352a32 32 0 0 1-64 0V96h64zm0 831.872V928H96V672a32 32 0 1 1 64 0v191.936l192-.192a32 32 0 1 1 0 64zM864 96.064V96h64v256a32 32 0 1 1-64 0V160.064l-192 .192a32 32 0 1 1 0-64zm0 831.872-192-.192a32 32 0 0 1 0-64l192 .192V672a32 32 0 1 1 64 0v256h-64z"})]))}}),tF=eF,nF=e.defineComponent({name:"Hide",__name:"hide",setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[e.createElementVNode("path",{fill:"currentColor",d:"M876.8 156.8c0-9.6-3.2-16-9.6-22.4s-12.8-9.6-22.4-9.6-16 3.2-22.4 9.6L736 220.8c-64-32-137.6-51.2-224-60.8-160 16-288 73.6-377.6 176S0 496 0 512s48 73.6 134.4 176c22.4 25.6 44.8 48 73.6 67.2l-86.4 89.6c-6.4 6.4-9.6 12.8-9.6 22.4s3.2 16 9.6 22.4 12.8 9.6 22.4 9.6 16-3.2 22.4-9.6l704-710.4c3.2-6.4 6.4-12.8 6.4-22.4m-646.4 528Q115.2 579.2 76.8 512q43.2-72 153.6-172.8C304 272 400 230.4 512 224c64 3.2 124.8 19.2 176 44.8l-54.4 54.4C598.4 300.8 560 288 512 288c-64 0-115.2 22.4-160 64s-64 96-64 160c0 48 12.8 89.6 35.2 124.8L256 707.2c-9.6-6.4-19.2-16-25.6-22.4m140.8-96Q352 555.2 352 512c0-44.8 16-83.2 48-112s67.2-48 112-48c28.8 0 54.4 6.4 73.6 19.2zM889.599 336c-12.8-16-28.8-28.8-41.6-41.6l-48 48c73.6 67.2 124.8 124.8 150.4 169.6q-43.2 72-153.6 172.8c-73.6 67.2-172.8 108.8-284.8 115.2-51.2-3.2-99.2-12.8-140.8-28.8l-48 48c57.6 22.4 118.4 38.4 188.8 44.8 160-16 288-73.6 377.6-176S1024 528 1024 512s-48.001-73.6-134.401-176"}),e.createElementVNode("path",{fill:"currentColor",d:"M511.998 672c-12.8 0-25.6-3.2-38.4-6.4l-51.2 51.2c28.8 12.8 57.6 19.2 89.6 19.2 64 0 115.2-22.4 160-64 41.6-41.6 64-96 64-160 0-32-6.4-64-19.2-89.6l-51.2 51.2c3.2 12.8 6.4 25.6 6.4 38.4 0 44.8-16 83.2-48 112s-67.2 48-112 48"})]))}}),oF=nF,rF=e.defineComponent({name:"InfoFilled",__name:"info-filled",setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[e.createElementVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896.064A448 448 0 0 1 512 64m67.2 275.072c33.28 0 60.288-23.104 60.288-57.344s-27.072-57.344-60.288-57.344c-33.28 0-60.16 23.104-60.16 57.344s26.88 57.344 60.16 57.344M590.912 699.2c0-6.848 2.368-24.64 1.024-34.752l-52.608 60.544c-10.88 11.456-24.512 19.392-30.912 17.28a12.99 12.99 0 0 1-8.256-14.72l87.68-276.992c7.168-35.136-12.544-67.2-54.336-71.296-44.096 0-108.992 44.736-148.48 101.504 0 6.784-1.28 23.68.064 33.792l52.544-60.608c10.88-11.328 23.552-19.328 29.952-17.152a12.8 12.8 0 0 1 7.808 16.128L388.48 728.576c-10.048 32.256 8.96 63.872 55.04 71.04 67.84 0 107.904-43.648 147.456-100.416z"})]))}}),ps=rF,aF=e.defineComponent({name:"Loading",__name:"loading",setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[e.createElementVNode("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32m0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32m448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32m-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32M195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248m452.544 452.544a32 32 0 0 1 45.248 0L828.8 783.552a32 32 0 0 1-45.248 45.248L647.744 692.992a32 32 0 0 1 0-45.248M828.8 195.264a32 32 0 0 1 0 45.184L692.992 376.32a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0m-452.544 452.48a32 32 0 0 1 0 45.248L240.448 828.8a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0"})]))}}),Uo=aF,lF=e.defineComponent({name:"Minus",__name:"minus",setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[e.createElementVNode("path",{fill:"currentColor",d:"M128 544h768a32 32 0 1 0 0-64H128a32 32 0 0 0 0 64"})]))}}),sF=lF,iF=e.defineComponent({name:"MoreFilled",__name:"more-filled",setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[e.createElementVNode("path",{fill:"currentColor",d:"M176 416a112 112 0 1 1 0 224 112 112 0 0 1 0-224m336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224m336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224"})]))}}),NC=iF,cF=e.defineComponent({name:"More",__name:"more",setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[e.createElementVNode("path",{fill:"currentColor",d:"M176 416a112 112 0 1 0 0 224 112 112 0 0 0 0-224m0 64a48 48 0 1 1 0 96 48 48 0 0 1 0-96m336-64a112 112 0 1 1 0 224 112 112 0 0 1 0-224m0 64a48 48 0 1 0 0 96 48 48 0 0 0 0-96m336-64a112 112 0 1 1 0 224 112 112 0 0 1 0-224m0 64a48 48 0 1 0 0 96 48 48 0 0 0 0-96"})]))}}),dF=cF,uF=e.defineComponent({name:"PictureFilled",__name:"picture-filled",setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[e.createElementVNode("path",{fill:"currentColor",d:"M96 896a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h832a32 32 0 0 1 32 32v704a32 32 0 0 1-32 32zm315.52-228.48-68.928-68.928a32 32 0 0 0-45.248 0L128 768.064h778.688l-242.112-290.56a32 32 0 0 0-49.216 0L458.752 665.408a32 32 0 0 1-47.232 2.112M256 384a96 96 0 1 0 192.064-.064A96 96 0 0 0 256 384"})]))}}),fF=uF,mF=e.defineComponent({name:"Plus",__name:"plus",setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[e.createElementVNode("path",{fill:"currentColor",d:"M480 480V128a32 32 0 0 1 64 0v352h352a32 32 0 1 1 0 64H544v352a32 32 0 1 1-64 0V544H128a32 32 0 0 1 0-64z"})]))}}),BC=mF,pF=e.defineComponent({name:"QuestionFilled",__name:"question-filled",setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[e.createElementVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m23.744 191.488c-52.096 0-92.928 14.784-123.2 44.352-30.976 29.568-45.76 70.4-45.76 122.496h80.256c0-29.568 5.632-52.8 17.6-68.992 13.376-19.712 35.2-28.864 66.176-28.864 23.936 0 42.944 6.336 56.32 19.712 12.672 13.376 19.712 31.68 19.712 54.912 0 17.6-6.336 34.496-19.008 49.984l-8.448 9.856c-45.76 40.832-73.216 70.4-82.368 89.408-9.856 19.008-14.08 42.24-14.08 68.992v9.856h80.96v-9.856c0-16.896 3.52-31.68 10.56-45.76 6.336-12.672 15.488-24.64 28.16-35.2 33.792-29.568 54.208-48.576 60.544-55.616 16.896-22.528 26.048-51.392 26.048-86.592q0-64.416-42.24-101.376c-28.16-25.344-65.472-37.312-111.232-37.312m-12.672 406.208a54.27 54.27 0 0 0-38.72 14.784 49.4 49.4 0 0 0-15.488 38.016c0 15.488 4.928 28.16 15.488 38.016A54.85 54.85 0 0 0 523.072 768c15.488 0 28.16-4.928 38.72-14.784a51.52 51.52 0 0 0 16.192-38.72 51.97 51.97 0 0 0-15.488-38.016 55.94 55.94 0 0 0-39.424-14.784"})]))}}),hF=pF,gF=e.defineComponent({name:"RefreshLeft",__name:"refresh-left",setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[e.createElementVNode("path",{fill:"currentColor",d:"M289.088 296.704h92.992a32 32 0 0 1 0 64H232.96a32 32 0 0 1-32-32V179.712a32 32 0 0 1 64 0v50.56a384 384 0 0 1 643.84 282.88 384 384 0 0 1-383.936 384 384 384 0 0 1-384-384h64a320 320 0 1 0 640 0 320 320 0 0 0-555.712-216.448z"})]))}}),bF=gF,yF=e.defineComponent({name:"RefreshRight",__name:"refresh-right",setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[e.createElementVNode("path",{fill:"currentColor",d:"M784.512 230.272v-50.56a32 32 0 1 1 64 0v149.056a32 32 0 0 1-32 32H667.52a32 32 0 1 1 0-64h92.992A320 320 0 1 0 524.8 833.152a320 320 0 0 0 320-320h64a384 384 0 0 1-384 384 384 384 0 0 1-384-384 384 384 0 0 1 643.712-282.88"})]))}}),CF=yF,wF=e.defineComponent({name:"ScaleToOriginal",__name:"scale-to-original",setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[e.createElementVNode("path",{fill:"currentColor",d:"M813.176 180.706a60.235 60.235 0 0 1 60.236 60.235v481.883a60.235 60.235 0 0 1-60.236 60.235H210.824a60.235 60.235 0 0 1-60.236-60.235V240.94a60.235 60.235 0 0 1 60.236-60.235h602.352zm0-60.235H210.824A120.47 120.47 0 0 0 90.353 240.94v481.883a120.47 120.47 0 0 0 120.47 120.47h602.353a120.47 120.47 0 0 0 120.471-120.47V240.94a120.47 120.47 0 0 0-120.47-120.47zm-120.47 180.705a30.12 30.12 0 0 0-30.118 30.118v301.177a30.118 30.118 0 0 0 60.236 0V331.294a30.12 30.12 0 0 0-30.118-30.118m-361.412 0a30.12 30.12 0 0 0-30.118 30.118v301.177a30.118 30.118 0 1 0 60.236 0V331.294a30.12 30.12 0 0 0-30.118-30.118M512 361.412a30.12 30.12 0 0 0-30.118 30.117v30.118a30.118 30.118 0 0 0 60.236 0V391.53A30.12 30.12 0 0 0 512 361.412M512 512a30.12 30.12 0 0 0-30.118 30.118v30.117a30.118 30.118 0 0 0 60.236 0v-30.117A30.12 30.12 0 0 0 512 512"})]))}}),kF=wF,SF=e.defineComponent({name:"Search",__name:"search",setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[e.createElementVNode("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704"})]))}}),EF=SF,vF=e.defineComponent({name:"SortDown",__name:"sort-down",setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[e.createElementVNode("path",{fill:"currentColor",d:"M576 96v709.568L333.312 562.816A32 32 0 1 0 288 608l297.408 297.344A32 32 0 0 0 640 882.688V96a32 32 0 0 0-64 0"})]))}}),NF=vF,BF=e.defineComponent({name:"SortUp",__name:"sort-up",setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[e.createElementVNode("path",{fill:"currentColor",d:"M384 141.248V928a32 32 0 1 0 64 0V218.56l242.688 242.688A32 32 0 1 0 736 416L438.592 118.656A32 32 0 0 0 384 141.248"})]))}}),TF=BF,xF=e.defineComponent({name:"StarFilled",__name:"star-filled",setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[e.createElementVNode("path",{fill:"currentColor",d:"M313.6 924.48a70.4 70.4 0 0 1-74.152-5.365 70.4 70.4 0 0 1-27.992-68.875l37.888-220.928L88.96 472.96a70.4 70.4 0 0 1 3.788-104.225A70.4 70.4 0 0 1 128 352.896l221.76-32.256 99.2-200.96a70.4 70.4 0 0 1 100.246-28.595 70.4 70.4 0 0 1 25.962 28.595l99.2 200.96 221.824 32.256a70.4 70.4 0 0 1 39.04 120.064L774.72 629.376l37.888 220.928a70.4 70.4 0 0 1-102.144 74.24L512 820.096l-198.4 104.32z"})]))}}),tc=xF,$F=e.defineComponent({name:"Star",__name:"star",setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[e.createElementVNode("path",{fill:"currentColor",d:"m512 747.84 228.16 119.936a6.4 6.4 0 0 0 9.28-6.72l-43.52-254.08 184.512-179.904a6.4 6.4 0 0 0-3.52-10.88l-255.104-37.12L517.76 147.904a6.4 6.4 0 0 0-11.52 0L392.192 379.072l-255.104 37.12a6.4 6.4 0 0 0-3.52 10.88L318.08 606.976l-43.584 254.08a6.4 6.4 0 0 0 9.28 6.72zM313.6 924.48a70.4 70.4 0 0 1-102.144-74.24l37.888-220.928L88.96 472.96A70.4 70.4 0 0 1 128 352.896l221.76-32.256 99.2-200.96a70.4 70.4 0 0 1 126.208 0l99.2 200.96 221.824 32.256a70.4 70.4 0 0 1 39.04 120.064L774.72 629.376l37.888 220.928a70.4 70.4 0 0 1-102.144 74.24L512 820.096l-198.4 104.32z"})]))}}),VF=$F,PF=e.defineComponent({name:"SuccessFilled",__name:"success-filled",setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[e.createElementVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.27 38.27 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336z"})]))}}),TC=PF,RF=e.defineComponent({name:"View",__name:"view",setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[e.createElementVNode("path",{fill:"currentColor",d:"M512 160c320 0 512 352 512 352S832 864 512 864 0 512 0 512s192-352 512-352m0 64c-225.28 0-384.128 208.064-436.8 288 52.608 79.872 211.456 288 436.8 288 225.28 0 384.128-208.064 436.8-288-52.608-79.872-211.456-288-436.8-288m0 64a224 224 0 1 1 0 448 224 224 0 0 1 0-448m0 64a160.19 160.19 0 0 0-160 160c0 88.192 71.744 160 160 160s160-71.808 160-160-71.744-160-160-160"})]))}}),MF=RF,IF=e.defineComponent({name:"WarningFilled",__name:"warning-filled",setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[e.createElementVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 192a58.43 58.43 0 0 0-58.24 63.744l23.36 256.384a35.072 35.072 0 0 0 69.76 0l23.296-256.384A58.43 58.43 0 0 0 512 256m0 512a51.2 51.2 0 1 0 0-102.4 51.2 51.2 0 0 0 0 102.4"})]))}}),nc=IF,OF=e.defineComponent({name:"ZoomIn",__name:"zoom-in",setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[e.createElementVNode("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704m-32-384v-96a32 32 0 0 1 64 0v96h96a32 32 0 0 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64z"})]))}}),xC=OF,AF=e.defineComponent({name:"ZoomOut",__name:"zoom-out",setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[e.createElementVNode("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704M352 448h256a32 32 0 0 1 0 64H352a32 32 0 0 1 0-64"})]))}}),zF=AF;/*! Bundled license information: + + @element-plus/icons-vue/dist/index.js: + (*! Element Plus Icons Vue v2.3.2 *) + */const $C="__epPropKey",K=t=>t,DF=t=>tt(t)&&!!t[$C],vo=(t,n)=>{if(!tt(t)||DF(t))return t;const{values:o,required:r,default:a,type:l,validator:s}=t,c={type:l,required:!!r,validator:o||s?d=>{let u=!1,f=[];if(o&&(f=Array.from(o),Qt(t,"default")&&f.push(a),u||(u=f.includes(d))),s&&(u||(u=s(d))),!u&&f.length>0){const p=[...new Set(f)].map(g=>JSON.stringify(g)).join(", ");e.warn(`Invalid prop: validation failed${n?` for prop "${n}"`:""}. Expected one of [${p}], got value ${JSON.stringify(d)}.`)}return u}:void 0,[$C]:!0};return Qt(t,"default")&&(c.default=a),c},oe=t=>Ya(Object.entries(t).map(([n,o])=>[n,vo(o,n)])),dt=K([String,Object,Function]),VC={Close:so},yf={Close:so,SuccessFilled:TC,InfoFilled:ps,WarningFilled:nc,CircleCloseFilled:bf},_r={primary:ps,success:TC,warning:nc,error:bf,info:ps},oc={validating:Uo,success:gf,error:jo},Re=(t,n)=>{if(t.install=o=>{for(const r of[t,...Object.values(n!=null?n:{})])o.component(r.name,r)},n)for(const[o,r]of Object.entries(n))t[o]=r;return t},PC=(t,n)=>(t.install=o=>{t._context=o._context,o.config.globalProperties[n]=t},t),LF=(t,n)=>(t.install=o=>{o.directive(n,t)},t),Bt=t=>(t.install=et,t),Cf=(...t)=>n=>{t.forEach(o=>{o.value=n})},RC=t=>["",...Jn].includes(t);var io=(t=>(t[t.TEXT=1]="TEXT",t[t.CLASS=2]="CLASS",t[t.STYLE=4]="STYLE",t[t.PROPS=8]="PROPS",t[t.FULL_PROPS=16]="FULL_PROPS",t[t.HYDRATE_EVENTS=32]="HYDRATE_EVENTS",t[t.STABLE_FRAGMENT=64]="STABLE_FRAGMENT",t[t.KEYED_FRAGMENT=128]="KEYED_FRAGMENT",t[t.UNKEYED_FRAGMENT=256]="UNKEYED_FRAGMENT",t[t.NEED_PATCH=512]="NEED_PATCH",t[t.DYNAMIC_SLOTS=1024]="DYNAMIC_SLOTS",t[t.HOISTED=-1]="HOISTED",t[t.BAIL=-2]="BAIL",t))(io||{});function wf(t){return e.isVNode(t)&&t.type===e.Fragment}function MC(t){return e.isVNode(t)&&t.type===e.Comment}function _F(t){return e.isVNode(t)&&!wf(t)&&!MC(t)}const FF=t=>{if(!e.isVNode(t))return{};const n=t.props||{},o=(e.isVNode(t.type)?t.type.props:void 0)||{},r={};return Object.keys(o).forEach(a=>{Qt(o[a],"default")&&(r[a]=o[a].default)}),Object.keys(n).forEach(a=>{r[Zd(a)]=n[a]}),r},Yn=t=>{const n=ie(t)?t:[t],o=[];return n.forEach(r=>{var a;ie(r)?o.push(...Yn(r)):e.isVNode(r)&&((a=r.component)!=null&&a.subTree)?o.push(r,...Yn(r.component.subTree)):e.isVNode(r)&&ie(r.children)?o.push(...Yn(r.children)):e.isVNode(r)&&r.shapeFlag===2?o.push(...Yn(r.type())):o.push(r)}),o},IC=t=>[...new Set(t)],hs=t=>ie(t)?t[0]:t,wn=t=>!t&&t!==0?[]:ie(t)?t:[t],HF=t=>/([\uAC00-\uD7AF\u3130-\u318F])+/gi.test(t),wt=t=>t;function KF(t){let n=0;const o=(...r)=>{n&&pr(n),n=Ho(()=>{t(...r),n=0})};return o.cancel=()=>{pr(n),n=0},o}const WF=["class","style"],jF=/^on[A-Z]/,gs=(t={})=>{const{excludeListeners:n=!1,excludeKeys:o}=t,r=e.computed(()=>((o==null?void 0:o.value)||[]).concat(WF)),a=e.getCurrentInstance();return a?e.computed(()=>{var l;return Ya(Object.entries((l=a.proxy)==null?void 0:l.$attrs).filter(([s])=>!r.value.includes(s)&&!(n&&jF.test(s))))}):e.computed(()=>({}))};function rc(){const t=e.shallowRef(),n=e.ref(0),o=e.computed(()=>({minWidth:`${Math.max(n.value,Kl)}px`}));return yt(t,()=>{var a,l;n.value=(l=(a=t.value)==null?void 0:a.getBoundingClientRect().width)!=null?l:0}),{calculatorRef:t,calculatorWidth:n,inputStyle:o}}const No=({from:t,replacement:n,scope:o,version:r,ref:a,type:l="API"},s)=>{e.watch(()=>e.unref(s),i=>{},{immediate:!0})},kf=(t,n,o,r)=>{const a={offsetX:0,offsetY:0},l=e.ref(!1),s=(p,g)=>{if(t.value){const{offsetX:m,offsetY:h}=a,b=t.value.getBoundingClientRect(),y=b.left,k=b.top,C=b.width,w=b.height,S=document.documentElement.clientWidth,E=document.documentElement.clientHeight,v=-y+m,N=-k+h,P=S-y-C+m,T=E-k-(w{const g=p.clientX,m=p.clientY,{offsetX:h,offsetY:b}=a,y=C=>{l.value||(l.value=!0);const w=h+C.clientX-g,S=b+C.clientY-m;s(w,S)},k=()=>{l.value=!1,document.removeEventListener("mousemove",y),document.removeEventListener("mouseup",k)};document.addEventListener("mousemove",y),document.addEventListener("mouseup",k)},c=()=>{n.value&&t.value&&(n.value.addEventListener("mousedown",i),window.addEventListener("resize",f))},d=()=>{n.value&&t.value&&(n.value.removeEventListener("mousedown",i),window.removeEventListener("resize",f))},u=()=>{a.offsetX=0,a.offsetY=0,t.value&&(t.value.style.transform="")},f=()=>{const{offsetX:p,offsetY:g}=a;s(p,g)};return e.onMounted(()=>{e.watchEffect(()=>{o.value?c():d()})}),e.onBeforeUnmount(()=>{d()}),{isDragging:l,resetPosition:u,updatePosition:f}},UF=t=>({focus:()=>{var n,o;(o=(n=t.value)==null?void 0:n.focus)==null||o.call(n)}});var YF={name:"en",el:{breadcrumb:{label:"Breadcrumb"},colorpicker:{confirm:"OK",clear:"Clear",defaultLabel:"color picker",description:"current color is {color}. press enter to select a new color.",alphaLabel:"pick alpha value",alphaDescription:"alpha {alpha}, current color is {color}",hueLabel:"pick hue value",hueDescription:"hue {hue}, current color is {color}",svLabel:"pick saturation and brightness value",svDescription:"saturation {saturation}, brightness {brightness}, current color is {color}",predefineDescription:"select {value} as the color"},datepicker:{now:"Now",today:"Today",cancel:"Cancel",clear:"Clear",confirm:"OK",dateTablePrompt:"Use the arrow keys and enter to select the day of the month",monthTablePrompt:"Use the arrow keys and enter to select the month",yearTablePrompt:"Use the arrow keys and enter to select the year",selectedDate:"Selected date",selectDate:"Select date",selectTime:"Select time",startDate:"Start Date",startTime:"Start Time",endDate:"End Date",endTime:"End Time",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",year:"",month1:"January",month2:"February",month3:"March",month4:"April",month5:"May",month6:"June",month7:"July",month8:"August",month9:"September",month10:"October",month11:"November",month12:"December",weeks:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},weeksFull:{sun:"Sunday",mon:"Monday",tue:"Tuesday",wed:"Wednesday",thu:"Thursday",fri:"Friday",sat:"Saturday"},months:{jan:"Jan",feb:"Feb",mar:"Mar",apr:"Apr",may:"May",jun:"Jun",jul:"Jul",aug:"Aug",sep:"Sep",oct:"Oct",nov:"Nov",dec:"Dec"}},inputNumber:{decrease:"decrease number",increase:"increase number"},select:{loading:"Loading",noMatch:"No matching data",noData:"No data",placeholder:"Select"},mention:{loading:"Loading"},dropdown:{toggleDropdown:"Toggle Dropdown"},cascader:{noMatch:"No matching data",loading:"Loading",placeholder:"Select",noData:"No data"},pagination:{goto:"Go to",pagesize:"/page",total:"Total {total}",pageClassifier:"",page:"Page",prev:"Go to previous page",next:"Go to next page",currentPage:"page {pager}",prevPages:"Previous {pager} pages",nextPages:"Next {pager} pages",deprecationWarning:"Deprecated usages detected, please refer to the el-pagination documentation for more details"},dialog:{close:"Close this dialog"},drawer:{close:"Close this dialog"},messagebox:{title:"Message",confirm:"OK",cancel:"Cancel",error:"Illegal input",close:"Close this dialog"},upload:{deleteTip:"press delete to remove",delete:"Delete",preview:"Preview",continue:"Continue"},slider:{defaultLabel:"slider between {min} and {max}",defaultRangeStartLabel:"pick start value",defaultRangeEndLabel:"pick end value"},table:{emptyText:"No Data",confirmFilter:"Confirm",resetFilter:"Reset",clearFilter:"All",sumText:"Sum",selectAllLabel:"Select all rows",selectRowLabel:"Select this row",expandRowLabel:"Expand this row",collapseRowLabel:"Collapse this row",sortLabel:"Sort by {column}",filterLabel:"Filter by {column}"},tag:{close:"Close this tag"},tour:{next:"Next",previous:"Previous",finish:"Finish",close:"Close this dialog"},tree:{emptyText:"No Data"},transfer:{noMatch:"No matching data",noData:"No data",titles:["List 1","List 2"],filterPlaceholder:"Enter keyword",noCheckedFormat:"{total} items",hasCheckedFormat:"{checked}/{total} checked"},image:{error:"FAILED"},pageHeader:{title:"Back"},popconfirm:{confirmButtonText:"Yes",cancelButtonText:"No"},carousel:{leftArrow:"Carousel arrow left",rightArrow:"Carousel arrow right",indicator:"Carousel switch to index {index}"}}};const OC=t=>(n,o)=>AC(n,o,e.unref(t)),AC=(t,n,o)=>Mt(o,t,t).replace(/\{(\w+)\}/g,(r,a)=>{var l;return`${(l=n==null?void 0:n[a])!=null?l:`{${a}}`}`}),zC=t=>{const n=e.computed(()=>e.unref(t).name),o=e.isRef(t)?t:e.ref(t);return{lang:n,locale:o,t:OC(t)}},Sf=Symbol("localeContextKey"),je=t=>{const n=t||e.inject(Sf,e.ref());return zC(e.computed(()=>n.value||YF))},Qa="el",GF="is-",ua=(t,n,o,r,a)=>{let l=`${t}-${n}`;return o&&(l+=`-${o}`),r&&(l+=`__${r}`),a&&(l+=`--${a}`),l},Ef=Symbol("namespaceContextKey"),ac=t=>{const n=t||(e.getCurrentInstance()?e.inject(Ef,e.ref(Qa)):e.ref(Qa));return e.computed(()=>e.unref(n)||Qa)},ee=(t,n)=>{const o=ac(n);return{namespace:o,b:(h="")=>ua(o.value,t,h,"",""),e:h=>h?ua(o.value,t,"",h,""):"",m:h=>h?ua(o.value,t,"","",h):"",be:(h,b)=>h&&b?ua(o.value,t,h,b,""):"",em:(h,b)=>h&&b?ua(o.value,t,"",h,b):"",bm:(h,b)=>h&&b?ua(o.value,t,h,"",b):"",bem:(h,b,y)=>h&&b&&y?ua(o.value,t,h,b,y):"",is:(h,...b)=>{const y=b.length>=1?b[0]:!0;return h&&y?`${GF}${h}`:""},cssVar:h=>{const b={};for(const y in h)h[y]&&(b[`--${o.value}-${y}`]=h[y]);return b},cssVarName:h=>`--${o.value}-${h}`,cssVarBlock:h=>{const b={};for(const y in h)h[y]&&(b[`--${o.value}-${t}-${y}`]=h[y]);return b},cssVarBlockName:h=>`--${o.value}-${t}-${h}`}},bs=(t,n={})=>{e.isRef(t)||Ft("[useLockscreen]","You need to pass a ref param to this function");const o=n.ns||ee("popup"),r=e.computed(()=>o.bm("parent","hidden"));let a=0,l=!1,s="0",i=!1;const c=()=>{i||(i=!0,setTimeout(()=>{typeof document!="undefined"&&l&&document&&(document.body.style.width=s,yn(document.body,r.value))},200))};e.watch(t,d=>{if(!d){c();return}i=!1,l=!Ko(document.body,r.value),l&&(s=document.body.style.width,lo(document.body,r.value)),a=CC(o.namespace.value);const u=document.documentElement.clientHeight0&&(u||f==="scroll")&&l&&(document.body.style.width=`calc(100% - ${a}px)`)}),e.onScopeDispose(()=>c())},el=[],qF=t=>{if(el.length===0)return;ut(t)===te.esc&&(t.stopPropagation(),el[el.length-1].handleClose())},XF=(t,n)=>{e.watch(n,o=>{o?el.push(t):el.splice(el.indexOf(t),1)})};Je&&nt(document,"keydown",qF);const ZF=vo({type:K(Boolean),default:null}),JF=vo({type:K(Function)}),vf=t=>{const n=`update:${t}`,o=`onUpdate:${t}`,r=[n],a={[t]:ZF,[o]:JF};return{useModelToggle:({indicator:s,toggleReason:i,shouldHideWhenRouteChanges:c,shouldProceed:d,onShow:u,onHide:f})=>{const p=e.getCurrentInstance(),{emit:g}=p,m=p.props,h=e.computed(()=>Ae(m[o])),b=e.computed(()=>m[t]===null),y=v=>{s.value!==!0&&(s.value=!0,i&&(i.value=v),Ae(u)&&u(v))},k=v=>{s.value!==!1&&(s.value=!1,i&&(i.value=v),Ae(f)&&f(v))},C=v=>{if(m.disabled===!0||Ae(d)&&!d())return;const N=h.value&&Je;N&&g(n,!0),(b.value||!N)&&y(v)},w=v=>{if(m.disabled===!0||!Je)return;const N=h.value&&Je;N&&g(n,!1),(b.value||!N)&&k(v)},S=v=>{ct(v)&&(m.disabled&&v?h.value&&g(n,!1):s.value!==v&&(v?y():k()))},E=()=>{s.value?w():C()};return e.watch(()=>m[t],S),c&&p.appContext.config.globalProperties.$route!==void 0&&e.watch(()=>({...p.proxy.$route}),()=>{c.value&&s.value&&w()}),e.onMounted(()=>{S(m[t])}),{hide:w,show:C,toggle:E,hasUpdateHandler:h}},useModelToggleProps:a,useModelToggleEmits:r}},{useModelToggle:QF,useModelToggleProps:e8,useModelToggleEmits:t8}=vf("modelValue"),n8=(t,n,o)=>{const r=l=>{o(l)&&l.stopImmediatePropagation()};let a;e.watch(()=>t.value,l=>{l?a=nt(document,n,r,!0):a==null||a()},{immediate:!0})},Nf=t=>{const n=e.getCurrentInstance();return e.computed(()=>{var o,r;return(r=(o=n==null?void 0:n.proxy)==null?void 0:o.$props)==null?void 0:r[t]})};var An="top",co="bottom",uo="right",zn="left",Bf="auto",ys=[An,co,uo,zn],tl="start",Cs="end",o8="clippingParents",DC="viewport",ws="popper",r8="reference",LC=ys.reduce(function(t,n){return t.concat([n+"-"+tl,n+"-"+Cs])},[]),Yo=[].concat(ys,[Bf]).reduce(function(t,n){return t.concat([n,n+"-"+tl,n+"-"+Cs])},[]),a8="beforeRead",l8="read",s8="afterRead",i8="beforeMain",c8="main",d8="afterMain",u8="beforeWrite",f8="write",m8="afterWrite",p8=[a8,l8,s8,i8,c8,d8,u8,f8,m8];function Go(t){return t?(t.nodeName||"").toLowerCase():null}function Bo(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var n=t.ownerDocument;return n&&n.defaultView||window}return t}function nl(t){var n=Bo(t).Element;return t instanceof n||t instanceof Element}function fo(t){var n=Bo(t).HTMLElement;return t instanceof n||t instanceof HTMLElement}function Tf(t){if(typeof ShadowRoot=="undefined")return!1;var n=Bo(t).ShadowRoot;return t instanceof n||t instanceof ShadowRoot}function h8(t){var n=t.state;Object.keys(n.elements).forEach(function(o){var r=n.styles[o]||{},a=n.attributes[o]||{},l=n.elements[o];!fo(l)||!Go(l)||(Object.assign(l.style,r),Object.keys(a).forEach(function(s){var i=a[s];i===!1?l.removeAttribute(s):l.setAttribute(s,i===!0?"":i)}))})}function g8(t){var n=t.state,o={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(n.elements.popper.style,o.popper),n.styles=o,n.elements.arrow&&Object.assign(n.elements.arrow.style,o.arrow),function(){Object.keys(n.elements).forEach(function(r){var a=n.elements[r],l=n.attributes[r]||{},s=Object.keys(n.styles.hasOwnProperty(r)?n.styles[r]:o[r]),i=s.reduce(function(c,d){return c[d]="",c},{});!fo(a)||!Go(a)||(Object.assign(a.style,i),Object.keys(l).forEach(function(c){a.removeAttribute(c)}))})}}var _C={name:"applyStyles",enabled:!0,phase:"write",fn:h8,effect:g8,requires:["computeStyles"]};function qo(t){return t.split("-")[0]}var fa=Math.max,lc=Math.min,ol=Math.round;function rl(t,n){n===void 0&&(n=!1);var o=t.getBoundingClientRect(),r=1,a=1;if(fo(t)&&n){var l=t.offsetHeight,s=t.offsetWidth;s>0&&(r=ol(o.width)/s||1),l>0&&(a=ol(o.height)/l||1)}return{width:o.width/r,height:o.height/a,top:o.top/a,right:o.right/r,bottom:o.bottom/a,left:o.left/r,x:o.left/r,y:o.top/a}}function xf(t){var n=rl(t),o=t.offsetWidth,r=t.offsetHeight;return Math.abs(n.width-o)<=1&&(o=n.width),Math.abs(n.height-r)<=1&&(r=n.height),{x:t.offsetLeft,y:t.offsetTop,width:o,height:r}}function FC(t,n){var o=n.getRootNode&&n.getRootNode();if(t.contains(n))return!0;if(o&&Tf(o)){var r=n;do{if(r&&t.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function br(t){return Bo(t).getComputedStyle(t)}function b8(t){return["table","td","th"].indexOf(Go(t))>=0}function Fr(t){return((nl(t)?t.ownerDocument:t.document)||window.document).documentElement}function sc(t){return Go(t)==="html"?t:t.assignedSlot||t.parentNode||(Tf(t)?t.host:null)||Fr(t)}function HC(t){return!fo(t)||br(t).position==="fixed"?null:t.offsetParent}function y8(t){var n=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1,o=navigator.userAgent.indexOf("Trident")!==-1;if(o&&fo(t)){var r=br(t);if(r.position==="fixed")return null}var a=sc(t);for(Tf(a)&&(a=a.host);fo(a)&&["html","body"].indexOf(Go(a))<0;){var l=br(a);if(l.transform!=="none"||l.perspective!=="none"||l.contain==="paint"||["transform","perspective"].indexOf(l.willChange)!==-1||n&&l.willChange==="filter"||n&&l.filter&&l.filter!=="none")return a;a=a.parentNode}return null}function ks(t){for(var n=Bo(t),o=HC(t);o&&b8(o)&&br(o).position==="static";)o=HC(o);return o&&(Go(o)==="html"||Go(o)==="body"&&br(o).position==="static")?n:o||y8(t)||n}function $f(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function Ss(t,n,o){return fa(t,lc(n,o))}function C8(t,n,o){var r=Ss(t,n,o);return r>o?o:r}function KC(){return{top:0,right:0,bottom:0,left:0}}function WC(t){return Object.assign({},KC(),t)}function jC(t,n){return n.reduce(function(o,r){return o[r]=t,o},{})}var w8=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,WC(typeof t!="number"?t:jC(t,ys))};function k8(t){var n,o=t.state,r=t.name,a=t.options,l=o.elements.arrow,s=o.modifiersData.popperOffsets,i=qo(o.placement),c=$f(i),d=[zn,uo].indexOf(i)>=0,u=d?"height":"width";if(!(!l||!s)){var f=w8(a.padding,o),p=xf(l),g=c==="y"?An:zn,m=c==="y"?co:uo,h=o.rects.reference[u]+o.rects.reference[c]-s[c]-o.rects.popper[u],b=s[c]-o.rects.reference[c],y=ks(l),k=y?c==="y"?y.clientHeight||0:y.clientWidth||0:0,C=h/2-b/2,w=f[g],S=k-p[u]-f[m],E=k/2-p[u]/2+C,v=Ss(w,E,S),N=c;o.modifiersData[r]=(n={},n[N]=v,n.centerOffset=v-E,n)}}function S8(t){var n=t.state,o=t.options,r=o.element,a=r===void 0?"[data-popper-arrow]":r;a!=null&&(typeof a=="string"&&(a=n.elements.popper.querySelector(a),!a)||!FC(n.elements.popper,a)||(n.elements.arrow=a))}var E8={name:"arrow",enabled:!0,phase:"main",fn:k8,effect:S8,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function al(t){return t.split("-")[1]}var v8={top:"auto",right:"auto",bottom:"auto",left:"auto"};function N8(t){var n=t.x,o=t.y,r=window,a=r.devicePixelRatio||1;return{x:ol(n*a)/a||0,y:ol(o*a)/a||0}}function UC(t){var n,o=t.popper,r=t.popperRect,a=t.placement,l=t.variation,s=t.offsets,i=t.position,c=t.gpuAcceleration,d=t.adaptive,u=t.roundOffsets,f=t.isFixed,p=s.x,g=p===void 0?0:p,m=s.y,h=m===void 0?0:m,b=typeof u=="function"?u({x:g,y:h}):{x:g,y:h};g=b.x,h=b.y;var y=s.hasOwnProperty("x"),k=s.hasOwnProperty("y"),C=zn,w=An,S=window;if(d){var E=ks(o),v="clientHeight",N="clientWidth";if(E===Bo(o)&&(E=Fr(o),br(E).position!=="static"&&i==="absolute"&&(v="scrollHeight",N="scrollWidth")),E=E,a===An||(a===zn||a===uo)&&l===Cs){w=co;var P=f&&E===S&&S.visualViewport?S.visualViewport.height:E[v];h-=P-r.height,h*=c?1:-1}if(a===zn||(a===An||a===co)&&l===Cs){C=uo;var T=f&&E===S&&S.visualViewport?S.visualViewport.width:E[N];g-=T-r.width,g*=c?1:-1}}var V=Object.assign({position:i},d&&v8),x=u===!0?N8({x:g,y:h}):{x:g,y:h};if(g=x.x,h=x.y,c){var O;return Object.assign({},V,(O={},O[w]=k?"0":"",O[C]=y?"0":"",O.transform=(S.devicePixelRatio||1)<=1?"translate("+g+"px, "+h+"px)":"translate3d("+g+"px, "+h+"px, 0)",O))}return Object.assign({},V,(n={},n[w]=k?h+"px":"",n[C]=y?g+"px":"",n.transform="",n))}function B8(t){var n=t.state,o=t.options,r=o.gpuAcceleration,a=r===void 0?!0:r,l=o.adaptive,s=l===void 0?!0:l,i=o.roundOffsets,c=i===void 0?!0:i,d={placement:qo(n.placement),variation:al(n.placement),popper:n.elements.popper,popperRect:n.rects.popper,gpuAcceleration:a,isFixed:n.options.strategy==="fixed"};n.modifiersData.popperOffsets!=null&&(n.styles.popper=Object.assign({},n.styles.popper,UC(Object.assign({},d,{offsets:n.modifiersData.popperOffsets,position:n.options.strategy,adaptive:s,roundOffsets:c})))),n.modifiersData.arrow!=null&&(n.styles.arrow=Object.assign({},n.styles.arrow,UC(Object.assign({},d,{offsets:n.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),n.attributes.popper=Object.assign({},n.attributes.popper,{"data-popper-placement":n.placement})}var YC={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:B8,data:{}},ic={passive:!0};function T8(t){var n=t.state,o=t.instance,r=t.options,a=r.scroll,l=a===void 0?!0:a,s=r.resize,i=s===void 0?!0:s,c=Bo(n.elements.popper),d=[].concat(n.scrollParents.reference,n.scrollParents.popper);return l&&d.forEach(function(u){u.addEventListener("scroll",o.update,ic)}),i&&c.addEventListener("resize",o.update,ic),function(){l&&d.forEach(function(u){u.removeEventListener("scroll",o.update,ic)}),i&&c.removeEventListener("resize",o.update,ic)}}var GC={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:T8,data:{}},x8={left:"right",right:"left",bottom:"top",top:"bottom"};function cc(t){return t.replace(/left|right|bottom|top/g,function(n){return x8[n]})}var $8={start:"end",end:"start"};function qC(t){return t.replace(/start|end/g,function(n){return $8[n]})}function Vf(t){var n=Bo(t),o=n.pageXOffset,r=n.pageYOffset;return{scrollLeft:o,scrollTop:r}}function Pf(t){return rl(Fr(t)).left+Vf(t).scrollLeft}function V8(t){var n=Bo(t),o=Fr(t),r=n.visualViewport,a=o.clientWidth,l=o.clientHeight,s=0,i=0;return r&&(a=r.width,l=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(s=r.offsetLeft,i=r.offsetTop)),{width:a,height:l,x:s+Pf(t),y:i}}function P8(t){var n,o=Fr(t),r=Vf(t),a=(n=t.ownerDocument)==null?void 0:n.body,l=fa(o.scrollWidth,o.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),s=fa(o.scrollHeight,o.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),i=-r.scrollLeft+Pf(t),c=-r.scrollTop;return br(a||o).direction==="rtl"&&(i+=fa(o.clientWidth,a?a.clientWidth:0)-l),{width:l,height:s,x:i,y:c}}function Rf(t){var n=br(t),o=n.overflow,r=n.overflowX,a=n.overflowY;return/auto|scroll|overlay|hidden/.test(o+a+r)}function XC(t){return["html","body","#document"].indexOf(Go(t))>=0?t.ownerDocument.body:fo(t)&&Rf(t)?t:XC(sc(t))}function Es(t,n){var o;n===void 0&&(n=[]);var r=XC(t),a=r===((o=t.ownerDocument)==null?void 0:o.body),l=Bo(r),s=a?[l].concat(l.visualViewport||[],Rf(r)?r:[]):r,i=n.concat(s);return a?i:i.concat(Es(sc(s)))}function Mf(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function R8(t){var n=rl(t);return n.top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n}function ZC(t,n){return n===DC?Mf(V8(t)):nl(n)?R8(n):Mf(P8(Fr(t)))}function M8(t){var n=Es(sc(t)),o=["absolute","fixed"].indexOf(br(t).position)>=0,r=o&&fo(t)?ks(t):t;return nl(r)?n.filter(function(a){return nl(a)&&FC(a,r)&&Go(a)!=="body"}):[]}function I8(t,n,o){var r=n==="clippingParents"?M8(t):[].concat(n),a=[].concat(r,[o]),l=a[0],s=a.reduce(function(i,c){var d=ZC(t,c);return i.top=fa(d.top,i.top),i.right=lc(d.right,i.right),i.bottom=lc(d.bottom,i.bottom),i.left=fa(d.left,i.left),i},ZC(t,l));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function JC(t){var n=t.reference,o=t.element,r=t.placement,a=r?qo(r):null,l=r?al(r):null,s=n.x+n.width/2-o.width/2,i=n.y+n.height/2-o.height/2,c;switch(a){case An:c={x:s,y:n.y-o.height};break;case co:c={x:s,y:n.y+n.height};break;case uo:c={x:n.x+n.width,y:i};break;case zn:c={x:n.x-o.width,y:i};break;default:c={x:n.x,y:n.y}}var d=a?$f(a):null;if(d!=null){var u=d==="y"?"height":"width";switch(l){case tl:c[d]=c[d]-(n[u]/2-o[u]/2);break;case Cs:c[d]=c[d]+(n[u]/2-o[u]/2);break}}return c}function vs(t,n){n===void 0&&(n={});var o=n,r=o.placement,a=r===void 0?t.placement:r,l=o.boundary,s=l===void 0?o8:l,i=o.rootBoundary,c=i===void 0?DC:i,d=o.elementContext,u=d===void 0?ws:d,f=o.altBoundary,p=f===void 0?!1:f,g=o.padding,m=g===void 0?0:g,h=WC(typeof m!="number"?m:jC(m,ys)),b=u===ws?r8:ws,y=t.rects.popper,k=t.elements[p?b:u],C=I8(nl(k)?k:k.contextElement||Fr(t.elements.popper),s,c),w=rl(t.elements.reference),S=JC({reference:w,element:y,placement:a}),E=Mf(Object.assign({},y,S)),v=u===ws?E:w,N={top:C.top-v.top+h.top,bottom:v.bottom-C.bottom+h.bottom,left:C.left-v.left+h.left,right:v.right-C.right+h.right},P=t.modifiersData.offset;if(u===ws&&P){var T=P[a];Object.keys(N).forEach(function(V){var x=[uo,co].indexOf(V)>=0?1:-1,O=[An,co].indexOf(V)>=0?"y":"x";N[V]+=T[O]*x})}return N}function O8(t,n){n===void 0&&(n={});var o=n,r=o.placement,a=o.boundary,l=o.rootBoundary,s=o.padding,i=o.flipVariations,c=o.allowedAutoPlacements,d=c===void 0?Yo:c,u=al(r),f=u?i?LC:LC.filter(function(m){return al(m)===u}):ys,p=f.filter(function(m){return d.indexOf(m)>=0});p.length===0&&(p=f);var g=p.reduce(function(m,h){return m[h]=vs(t,{placement:h,boundary:a,rootBoundary:l,padding:s})[qo(h)],m},{});return Object.keys(g).sort(function(m,h){return g[m]-g[h]})}function A8(t){if(qo(t)===Bf)return[];var n=cc(t);return[qC(t),n,qC(n)]}function z8(t){var n=t.state,o=t.options,r=t.name;if(!n.modifiersData[r]._skip){for(var a=o.mainAxis,l=a===void 0?!0:a,s=o.altAxis,i=s===void 0?!0:s,c=o.fallbackPlacements,d=o.padding,u=o.boundary,f=o.rootBoundary,p=o.altBoundary,g=o.flipVariations,m=g===void 0?!0:g,h=o.allowedAutoPlacements,b=n.options.placement,y=qo(b),k=y===b,C=c||(k||!m?[cc(b)]:A8(b)),w=[b].concat(C).reduce(function(W,j){return W.concat(qo(j)===Bf?O8(n,{placement:j,boundary:u,rootBoundary:f,padding:d,flipVariations:m,allowedAutoPlacements:h}):j)},[]),S=n.rects.reference,E=n.rects.popper,v=new Map,N=!0,P=w[0],T=0;T=0,L=D?"width":"height",H=vs(n,{placement:V,boundary:u,rootBoundary:f,altBoundary:p,padding:d}),$=D?O?uo:zn:O?co:An;S[L]>E[L]&&($=cc($));var B=cc($),M=[];if(l&&M.push(H[x]<=0),i&&M.push(H[$]<=0,H[B]<=0),M.every(function(W){return W})){P=V,N=!1;break}v.set(V,M)}if(N)for(var I=m?3:1,z=function(W){var j=w.find(function(G){var X=v.get(G);if(X)return X.slice(0,W).every(function(Q){return Q})});if(j)return P=j,"break"},F=I;F>0;F--){var A=z(F);if(A==="break")break}n.placement!==P&&(n.modifiersData[r]._skip=!0,n.placement=P,n.reset=!0)}}var D8={name:"flip",enabled:!0,phase:"main",fn:z8,requiresIfExists:["offset"],data:{_skip:!1}};function QC(t,n,o){return o===void 0&&(o={x:0,y:0}),{top:t.top-n.height-o.y,right:t.right-n.width+o.x,bottom:t.bottom-n.height+o.y,left:t.left-n.width-o.x}}function ew(t){return[An,uo,co,zn].some(function(n){return t[n]>=0})}function L8(t){var n=t.state,o=t.name,r=n.rects.reference,a=n.rects.popper,l=n.modifiersData.preventOverflow,s=vs(n,{elementContext:"reference"}),i=vs(n,{altBoundary:!0}),c=QC(s,r),d=QC(i,a,l),u=ew(c),f=ew(d);n.modifiersData[o]={referenceClippingOffsets:c,popperEscapeOffsets:d,isReferenceHidden:u,hasPopperEscaped:f},n.attributes.popper=Object.assign({},n.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":f})}var _8={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:L8};function F8(t,n,o){var r=qo(t),a=[zn,An].indexOf(r)>=0?-1:1,l=typeof o=="function"?o(Object.assign({},n,{placement:t})):o,s=l[0],i=l[1];return s=s||0,i=(i||0)*a,[zn,uo].indexOf(r)>=0?{x:i,y:s}:{x:s,y:i}}function H8(t){var n=t.state,o=t.options,r=t.name,a=o.offset,l=a===void 0?[0,0]:a,s=Yo.reduce(function(u,f){return u[f]=F8(f,n.rects,l),u},{}),i=s[n.placement],c=i.x,d=i.y;n.modifiersData.popperOffsets!=null&&(n.modifiersData.popperOffsets.x+=c,n.modifiersData.popperOffsets.y+=d),n.modifiersData[r]=s}var K8={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:H8};function W8(t){var n=t.state,o=t.name;n.modifiersData[o]=JC({reference:n.rects.reference,element:n.rects.popper,placement:n.placement})}var tw={name:"popperOffsets",enabled:!0,phase:"read",fn:W8,data:{}};function j8(t){return t==="x"?"y":"x"}function U8(t){var n=t.state,o=t.options,r=t.name,a=o.mainAxis,l=a===void 0?!0:a,s=o.altAxis,i=s===void 0?!1:s,c=o.boundary,d=o.rootBoundary,u=o.altBoundary,f=o.padding,p=o.tether,g=p===void 0?!0:p,m=o.tetherOffset,h=m===void 0?0:m,b=vs(n,{boundary:c,rootBoundary:d,padding:f,altBoundary:u}),y=qo(n.placement),k=al(n.placement),C=!k,w=$f(y),S=j8(w),E=n.modifiersData.popperOffsets,v=n.rects.reference,N=n.rects.popper,P=typeof h=="function"?h(Object.assign({},n.rects,{placement:n.placement})):h,T=typeof P=="number"?{mainAxis:P,altAxis:P}:Object.assign({mainAxis:0,altAxis:0},P),V=n.modifiersData.offset?n.modifiersData.offset[n.placement]:null,x={x:0,y:0};if(E){if(l){var O,D=w==="y"?An:zn,L=w==="y"?co:uo,H=w==="y"?"height":"width",$=E[w],B=$+b[D],M=$-b[L],I=g?-N[H]/2:0,z=k===tl?v[H]:N[H],F=k===tl?-N[H]:-v[H],A=n.elements.arrow,W=g&&A?xf(A):{width:0,height:0},j=n.modifiersData["arrow#persistent"]?n.modifiersData["arrow#persistent"].padding:KC(),G=j[D],X=j[L],Q=Ss(0,v[H],W[H]),J=C?v[H]/2-I-Q-G-T.mainAxis:z-Q-G-T.mainAxis,Y=C?-v[H]/2+I+Q+X+T.mainAxis:F+Q+X+T.mainAxis,_=n.elements.arrow&&ks(n.elements.arrow),q=_?w==="y"?_.clientTop||0:_.clientLeft||0:0,le=(O=V==null?void 0:V[w])!=null?O:0,ue=$+J-le-q,Ce=$+Y-le,Ee=Ss(g?lc(B,ue):B,$,g?fa(M,Ce):M);E[w]=Ee,x[w]=Ee-$}if(i){var Ve,Ie=w==="x"?An:zn,qe=w==="x"?co:uo,We=E[S],be=S==="y"?"height":"width",ye=We+b[Ie],Te=We-b[qe],Oe=[An,zn].indexOf(y)!==-1,Fe=(Ve=V==null?void 0:V[S])!=null?Ve:0,Ue=Oe?ye:We-v[be]-N[be]-Fe+T.altAxis,fe=Oe?We+v[be]+N[be]-Fe-T.altAxis:Te,we=g&&Oe?C8(Ue,We,fe):Ss(g?Ue:ye,We,g?fe:Te);E[S]=we,x[S]=we-We}n.modifiersData[r]=x}}var Y8={name:"preventOverflow",enabled:!0,phase:"main",fn:U8,requiresIfExists:["offset"]};function G8(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function q8(t){return t===Bo(t)||!fo(t)?Vf(t):G8(t)}function X8(t){var n=t.getBoundingClientRect(),o=ol(n.width)/t.offsetWidth||1,r=ol(n.height)/t.offsetHeight||1;return o!==1||r!==1}function Z8(t,n,o){o===void 0&&(o=!1);var r=fo(n),a=fo(n)&&X8(n),l=Fr(n),s=rl(t,a),i={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(r||!r&&!o)&&((Go(n)!=="body"||Rf(l))&&(i=q8(n)),fo(n)?(c=rl(n,!0),c.x+=n.clientLeft,c.y+=n.clientTop):l&&(c.x=Pf(l))),{x:s.left+i.scrollLeft-c.x,y:s.top+i.scrollTop-c.y,width:s.width,height:s.height}}function J8(t){var n=new Map,o=new Set,r=[];t.forEach(function(l){n.set(l.name,l)});function a(l){o.add(l.name);var s=[].concat(l.requires||[],l.requiresIfExists||[]);s.forEach(function(i){if(!o.has(i)){var c=n.get(i);c&&a(c)}}),r.push(l)}return t.forEach(function(l){o.has(l.name)||a(l)}),r}function Q8(t){var n=J8(t);return p8.reduce(function(o,r){return o.concat(n.filter(function(a){return a.phase===r}))},[])}function e6(t){var n;return function(){return n||(n=new Promise(function(o){Promise.resolve().then(function(){n=void 0,o(t())})})),n}}function t6(t){var n=t.reduce(function(o,r){var a=o[r.name];return o[r.name]=a?Object.assign({},a,r,{options:Object.assign({},a.options,r.options),data:Object.assign({},a.data,r.data)}):r,o},{});return Object.keys(n).map(function(o){return n[o]})}var nw={placement:"bottom",modifiers:[],strategy:"absolute"};function ow(){for(var t=arguments.length,n=new Array(t),o=0;o{const r={name:"updateState",enabled:!0,phase:"write",fn:({state:c})=>{const d=a6(c);Object.assign(s.value,d)},requires:["computeStyles"]},a=e.computed(()=>{const{onFirstUpdate:c,placement:d,strategy:u,modifiers:f}=e.unref(o);return{onFirstUpdate:c,placement:d||"bottom",strategy:u||"absolute",modifiers:[...f||[],r,{name:"applyStyles",enabled:!1}]}}),l=e.shallowRef(),s=e.ref({styles:{popper:{position:e.unref(a).strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),i=()=>{l.value&&(l.value.destroy(),l.value=void 0)};return e.watch(a,c=>{const d=e.unref(l);d&&d.setOptions(c)},{deep:!0}),e.watch([t,n],([c,d])=>{i(),!(!c||!d)&&(l.value=r6(c,d,e.unref(a)))}),e.onBeforeUnmount(()=>{i()}),{state:e.computed(()=>{var c;return{...((c=e.unref(l))==null?void 0:c.state)||{}}}),styles:e.computed(()=>e.unref(s).styles),attributes:e.computed(()=>e.unref(s).attributes),update:()=>{var c;return(c=e.unref(l))==null?void 0:c.update()},forceUpdate:()=>{var c;return(c=e.unref(l))==null?void 0:c.forceUpdate()},instanceRef:e.computed(()=>e.unref(l))}};function a6(t){const n=Object.keys(t.elements),o=Ya(n.map(a=>[a,t.styles[a]||{}])),r=Ya(n.map(a=>[a,t.attributes[a]]));return{styles:o,attributes:r}}const dc=t=>{if(!t)return{onClick:et,onMousedown:et,onMouseup:et};let n=!1,o=!1;return{onClick:s=>{n&&o&&t(s),n=o=!1},onMousedown:s=>{n=s.target===s.currentTarget},onMouseup:s=>{o=s.target===s.currentTarget}}},l6=(t,n)=>{const o=e.ref(!1);if(!Je)return{isTeleportVisible:o,showTeleport:et,hideTeleport:et,renderTeleport:et};let r=null;const a=()=>{o.value=!0,r===null&&(r=T_())},l=()=>{o.value=!1,r!==null&&(x_(r),r=null)},s=()=>n.value!==!0?t():o.value?[e.h(e.Teleport,{to:r},t())]:void 0;return e.onUnmounted(l),{isTeleportVisible:o,showTeleport:a,hideTeleport:l,renderTeleport:s}},aw=(t,n=0)=>{if(n===0)return t;const o=tt(n)&&!!n.initVal,r=e.ref(o);let a=null;const l=i=>{if(Xe(i)){r.value=t.value;return}a&&clearTimeout(a),a=setTimeout(()=>{r.value=t.value},i)},s=i=>{i==="leading"?pe(n)?l(n):l(n.leading):tt(n)?l(n.trailing):r.value=!1};return e.onMounted(()=>s("leading")),e.watch(()=>t.value,i=>{s(i?"leading":"trailing")}),r};function Of(){let t;const n=(r,a)=>{o(),t=window.setTimeout(r,a)},o=()=>window.clearTimeout(t);return na(()=>o()),{registerTimeout:n,cancelTimeout:o}}const lw="after-appear",sw="after-enter",iw="after-leave",s6="appear",cw="appear-cancelled",dw="before-enter",uw="before-leave",fw="enter",mw="enter-cancelled",pw="leave",hw="leave-cancelled",i6=[lw,sw,iw,s6,cw,dw,uw,fw,mw,pw,hw],c6=()=>{const{emit:t}=e.getCurrentInstance();return{onAfterAppear:()=>{t(lw)},onAfterEnter:()=>{t(sw)},onAfterLeave:()=>{t(iw)},onAppearCancelled:()=>{t(cw)},onBeforeEnter:()=>{t(dw)},onBeforeLeave:()=>{t(uw)},onEnter:()=>{t(fw)},onEnterCancelled:()=>{t(mw)},onLeave:()=>{t(pw)},onLeaveCancelled:()=>{t(hw)}}},gw={prefix:Math.floor(Math.random()*1e4),current:0},bw=Symbol("elIdInjection"),uc=()=>e.getCurrentInstance()?e.inject(bw,gw):gw,en=t=>{const n=uc(),o=ac();return Rg(()=>e.unref(t)||`${o.value}-id-${n.prefix}-${n.current++}`)};let ll=[];const yw=t=>{ut(t)===te.esc&&ll.forEach(o=>o(t))},Cw=t=>{e.onMounted(()=>{ll.length===0&&document.addEventListener("keydown",yw),Je&&ll.push(t)}),e.onBeforeUnmount(()=>{ll=ll.filter(n=>n!==t),ll.length===0&&Je&&document.removeEventListener("keydown",yw)})},Af=()=>{const t=ac(),n=uc(),o=e.computed(()=>`${t.value}-popper-container-${n.prefix}`),r=e.computed(()=>`#${o.value}`);return{id:o,selector:r}},d6=t=>{const n=document.createElement("div");return n.id=t,document.body.appendChild(n),n},ww=()=>{const{id:t,selector:n}=Af();return e.onBeforeMount(()=>{Je&&(document.body.querySelector(n.value)||d6(t.value))}),{id:t,selector:n}},u6=({indicator:t,intermediateIndicator:n,shouldSetIntermediate:o=()=>!0,beforeShow:r,afterShow:a,afterHide:l,beforeHide:s})=>{e.watch(()=>e.unref(t),i=>{i?(r==null||r(),e.nextTick(()=>{e.unref(t)&&o("show")&&(n.value=!0)})):(s==null||s(),e.nextTick(()=>{e.unref(t)||o("hide")&&(n.value=!1)}))}),e.watch(()=>n.value,i=>{i?a==null||a():l==null||l()})},kw=oe({showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0}}),Sw={showAfter:0,hideAfter:200,autoClose:0},Ew=({showAfter:t,hideAfter:n,autoClose:o,open:r,close:a})=>{const{registerTimeout:l}=Of(),{registerTimeout:s,cancelTimeout:i}=Of();return{onOpen:(u,f=e.unref(t))=>{l(()=>{r(u);const p=e.unref(o);pe(p)&&p>0&&s(()=>{a(u)},p)},f)},onClose:(u,f=e.unref(n))=>{i(),l(()=>{a(u)},f)}}},zf=Symbol("elForwardRef"),vw=t=>{const n=(o=>{t.value=o});e.provide(zf,{setForwardRef:n})},Nw=t=>({mounted(n){t(n)},updated(n){t(n)},unmounted(){t(null)}}),Bw={current:0},Tw=e.ref(0),Df=2e3,Lf=Symbol("elZIndexContextKey"),_f=Symbol("zIndexContextKey"),sl=t=>{const n=e.getCurrentInstance()?e.inject(Lf,Bw):Bw,o=t||(e.getCurrentInstance()?e.inject(_f,void 0):void 0),r=e.computed(()=>{const s=e.unref(o);return pe(s)?s:Df}),a=e.computed(()=>r.value+Tw.value),l=()=>(n.current++,Tw.value=n.current,a.value);return!Je&&e.inject(Lf),{initialZIndex:r,currentZIndex:a,nextZIndex:l}},il=Math.min,ma=Math.max,fc=Math.round,mc=Math.floor,Xo=t=>({x:t,y:t}),f6={left:"right",right:"left",bottom:"top",top:"bottom"},m6={start:"end",end:"start"};function Ff(t,n,o){return ma(t,il(n,o))}function Ns(t,n){return typeof t=="function"?t(n):t}function pa(t){return t.split("-")[0]}function Bs(t){return t.split("-")[1]}function xw(t){return t==="x"?"y":"x"}function Hf(t){return t==="y"?"height":"width"}const p6=new Set(["top","bottom"]);function Hr(t){return p6.has(pa(t))?"y":"x"}function Kf(t){return xw(Hr(t))}function h6(t,n,o){o===void 0&&(o=!1);const r=Bs(t),a=Kf(t),l=Hf(a);let s=a==="x"?r===(o?"end":"start")?"right":"left":r==="start"?"bottom":"top";return n.reference[l]>n.floating[l]&&(s=pc(s)),[s,pc(s)]}function g6(t){const n=pc(t);return[Wf(t),n,Wf(n)]}function Wf(t){return t.replace(/start|end/g,n=>m6[n])}const $w=["left","right"],Vw=["right","left"],b6=["top","bottom"],y6=["bottom","top"];function C6(t,n,o){switch(t){case"top":case"bottom":return o?n?Vw:$w:n?$w:Vw;case"left":case"right":return n?b6:y6;default:return[]}}function w6(t,n,o,r){const a=Bs(t);let l=C6(pa(t),o==="start",r);return a&&(l=l.map(s=>s+"-"+a),n&&(l=l.concat(l.map(Wf)))),l}function pc(t){return t.replace(/left|right|bottom|top/g,n=>f6[n])}function k6(t){return{top:0,right:0,bottom:0,left:0,...t}}function Pw(t){return typeof t!="number"?k6(t):{top:t,right:t,bottom:t,left:t}}function hc(t){const{x:n,y:o,width:r,height:a}=t;return{width:r,height:a,top:o,left:n,right:n+r,bottom:o+a,x:n,y:o}}function Rw(t,n,o){let{reference:r,floating:a}=t;const l=Hr(n),s=Kf(n),i=Hf(s),c=pa(n),d=l==="y",u=r.x+r.width/2-a.width/2,f=r.y+r.height/2-a.height/2,p=r[i]/2-a[i]/2;let g;switch(c){case"top":g={x:u,y:r.y-a.height};break;case"bottom":g={x:u,y:r.y+r.height};break;case"right":g={x:r.x+r.width,y:f};break;case"left":g={x:r.x-a.width,y:f};break;default:g={x:r.x,y:r.y}}switch(Bs(n)){case"start":g[s]-=p*(o&&d?-1:1);break;case"end":g[s]+=p*(o&&d?-1:1);break}return g}const S6=async(t,n,o)=>{const{placement:r="bottom",strategy:a="absolute",middleware:l=[],platform:s}=o,i=l.filter(Boolean),c=await(s.isRTL==null?void 0:s.isRTL(n));let d=await s.getElementRects({reference:t,floating:n,strategy:a}),{x:u,y:f}=Rw(d,r,c),p=r,g={},m=0;for(let h=0;h({name:"arrow",options:t,async fn(n){const{x:o,y:r,placement:a,rects:l,platform:s,elements:i,middlewareData:c}=n,{element:d,padding:u=0}=Ns(t,n)||{};if(d==null)return{};const f=Pw(u),p={x:o,y:r},g=Kf(a),m=Hf(g),h=await s.getDimensions(d),b=g==="y",y=b?"top":"left",k=b?"bottom":"right",C=b?"clientHeight":"clientWidth",w=l.reference[m]+l.reference[g]-p[g]-l.floating[m],S=p[g]-l.reference[g],E=await(s.getOffsetParent==null?void 0:s.getOffsetParent(d));let v=E?E[C]:0;(!v||!await(s.isElement==null?void 0:s.isElement(E)))&&(v=i.floating[C]||l.floating[m]);const N=w/2-S/2,P=v/2-h[m]/2-1,T=il(f[y],P),V=il(f[k],P),x=T,O=v-h[m]-V,D=v/2-h[m]/2+N,L=Ff(x,D,O),H=!c.arrow&&Bs(a)!=null&&D!==L&&l.reference[m]/2-(DD<=0)){var V,x;const D=(((V=l.flip)==null?void 0:V.index)||0)+1,L=v[D];if(L&&(!(f==="alignment"?k!==Hr(L):!1)||T.every(B=>Hr(B.placement)===k?B.overflows[0]>0:!0)))return{data:{index:D,overflows:T},reset:{placement:L}};let H=(x=T.filter($=>$.overflows[0]<=0).sort(($,B)=>$.overflows[1]-B.overflows[1])[0])==null?void 0:x.placement;if(!H)switch(g){case"bestFit":{var O;const $=(O=T.filter(B=>{if(E){const M=Hr(B.placement);return M===k||M==="y"}return!0}).map(B=>[B.placement,B.overflows.filter(M=>M>0).reduce((M,I)=>M+I,0)]).sort((B,M)=>B[1]-M[1])[0])==null?void 0:O[0];$&&(H=$);break}case"initialPlacement":H=i;break}if(a!==H)return{reset:{placement:H}}}return{}}}},N6=new Set(["left","top"]);async function B6(t,n){const{placement:o,platform:r,elements:a}=t,l=await(r.isRTL==null?void 0:r.isRTL(a.floating)),s=pa(o),i=Bs(o),c=Hr(o)==="y",d=N6.has(s)?-1:1,u=l&&c?-1:1,f=Ns(n,t);let{mainAxis:p,crossAxis:g,alignmentAxis:m}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return i&&typeof m=="number"&&(g=i==="end"?m*-1:m),c?{x:g*u,y:p*d}:{x:p*d,y:g*u}}const T6=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(n){var o,r;const{x:a,y:l,placement:s,middlewareData:i}=n,c=await B6(n,t);return s===((o=i.offset)==null?void 0:o.placement)&&(r=i.arrow)!=null&&r.alignmentOffset?{}:{x:a+c.x,y:l+c.y,data:{...c,placement:s}}}}},x6=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(n){const{x:o,y:r,placement:a}=n,{mainAxis:l=!0,crossAxis:s=!1,limiter:i={fn:b=>{let{x:y,y:k}=b;return{x:y,y:k}}},...c}=Ns(t,n),d={x:o,y:r},u=await jf(n,c),f=Hr(pa(a)),p=xw(f);let g=d[p],m=d[f];if(l){const b=p==="y"?"top":"left",y=p==="y"?"bottom":"right",k=g+u[b],C=g-u[y];g=Ff(k,g,C)}if(s){const b=f==="y"?"top":"left",y=f==="y"?"bottom":"right",k=m+u[b],C=m-u[y];m=Ff(k,m,C)}const h=i.fn({...n,[p]:g,[f]:m});return{...h,data:{x:h.x-o,y:h.y-r,enabled:{[p]:l,[f]:s}}}}}};function gc(){return typeof window!="undefined"}function cl(t){return Mw(t)?(t.nodeName||"").toLowerCase():"#document"}function Gn(t){var n;return(t==null||(n=t.ownerDocument)==null?void 0:n.defaultView)||window}function Zo(t){var n;return(n=(Mw(t)?t.ownerDocument:t.document)||window.document)==null?void 0:n.documentElement}function Mw(t){return gc()?t instanceof Node||t instanceof Gn(t).Node:!1}function To(t){return gc()?t instanceof Element||t instanceof Gn(t).Element:!1}function Jo(t){return gc()?t instanceof HTMLElement||t instanceof Gn(t).HTMLElement:!1}function Iw(t){return!gc()||typeof ShadowRoot=="undefined"?!1:t instanceof ShadowRoot||t instanceof Gn(t).ShadowRoot}const $6=new Set(["inline","contents"]);function Ts(t){const{overflow:n,overflowX:o,overflowY:r,display:a}=xo(t);return/auto|scroll|overlay|hidden|clip/.test(n+r+o)&&!$6.has(a)}const V6=new Set(["table","td","th"]);function P6(t){return V6.has(cl(t))}const R6=[":popover-open",":modal"];function bc(t){return R6.some(n=>{try{return t.matches(n)}catch(o){return!1}})}const M6=["transform","translate","scale","rotate","perspective"],I6=["transform","translate","scale","rotate","perspective","filter"],O6=["paint","layout","strict","content"];function Uf(t){const n=Yf(),o=To(t)?xo(t):t;return M6.some(r=>o[r]?o[r]!=="none":!1)||(o.containerType?o.containerType!=="normal":!1)||!n&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!n&&(o.filter?o.filter!=="none":!1)||I6.some(r=>(o.willChange||"").includes(r))||O6.some(r=>(o.contain||"").includes(r))}function A6(t){let n=Kr(t);for(;Jo(n)&&!dl(n);){if(Uf(n))return n;if(bc(n))return null;n=Kr(n)}return null}function Yf(){return typeof CSS=="undefined"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const z6=new Set(["html","body","#document"]);function dl(t){return z6.has(cl(t))}function xo(t){return Gn(t).getComputedStyle(t)}function yc(t){return To(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Kr(t){if(cl(t)==="html")return t;const n=t.assignedSlot||t.parentNode||Iw(t)&&t.host||Zo(t);return Iw(n)?n.host:n}function Ow(t){const n=Kr(t);return dl(n)?t.ownerDocument?t.ownerDocument.body:t.body:Jo(n)&&Ts(n)?n:Ow(n)}function xs(t,n,o){var r;n===void 0&&(n=[]),o===void 0&&(o=!0);const a=Ow(t),l=a===((r=t.ownerDocument)==null?void 0:r.body),s=Gn(a);if(l){const i=Gf(s);return n.concat(s,s.visualViewport||[],Ts(a)?a:[],i&&o?xs(i):[])}return n.concat(a,xs(a,[],o))}function Gf(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function Aw(t){const n=xo(t);let o=parseFloat(n.width)||0,r=parseFloat(n.height)||0;const a=Jo(t),l=a?t.offsetWidth:o,s=a?t.offsetHeight:r,i=fc(o)!==l||fc(r)!==s;return i&&(o=l,r=s),{width:o,height:r,$:i}}function qf(t){return To(t)?t:t.contextElement}function ul(t){const n=qf(t);if(!Jo(n))return Xo(1);const o=n.getBoundingClientRect(),{width:r,height:a,$:l}=Aw(n);let s=(l?fc(o.width):o.width)/r,i=(l?fc(o.height):o.height)/a;return(!s||!Number.isFinite(s))&&(s=1),(!i||!Number.isFinite(i))&&(i=1),{x:s,y:i}}const D6=Xo(0);function zw(t){const n=Gn(t);return!Yf()||!n.visualViewport?D6:{x:n.visualViewport.offsetLeft,y:n.visualViewport.offsetTop}}function L6(t,n,o){return n===void 0&&(n=!1),!o||n&&o!==Gn(t)?!1:n}function ha(t,n,o,r){n===void 0&&(n=!1),o===void 0&&(o=!1);const a=t.getBoundingClientRect(),l=qf(t);let s=Xo(1);n&&(r?To(r)&&(s=ul(r)):s=ul(t));const i=L6(l,o,r)?zw(l):Xo(0);let c=(a.left+i.x)/s.x,d=(a.top+i.y)/s.y,u=a.width/s.x,f=a.height/s.y;if(l){const p=Gn(l),g=r&&To(r)?Gn(r):r;let m=p,h=Gf(m);for(;h&&r&&g!==m;){const b=ul(h),y=h.getBoundingClientRect(),k=xo(h),C=y.left+(h.clientLeft+parseFloat(k.paddingLeft))*b.x,w=y.top+(h.clientTop+parseFloat(k.paddingTop))*b.y;c*=b.x,d*=b.y,u*=b.x,f*=b.y,c+=C,d+=w,m=Gn(h),h=Gf(m)}}return hc({width:u,height:f,x:c,y:d})}function Cc(t,n){const o=yc(t).scrollLeft;return n?n.left+o:ha(Zo(t)).left+o}function Dw(t,n){const o=t.getBoundingClientRect(),r=o.left+n.scrollLeft-Cc(t,o),a=o.top+n.scrollTop;return{x:r,y:a}}function _6(t){let{elements:n,rect:o,offsetParent:r,strategy:a}=t;const l=a==="fixed",s=Zo(r),i=n?bc(n.floating):!1;if(r===s||i&&l)return o;let c={scrollLeft:0,scrollTop:0},d=Xo(1);const u=Xo(0),f=Jo(r);if((f||!f&&!l)&&((cl(r)!=="body"||Ts(s))&&(c=yc(r)),Jo(r))){const g=ha(r);d=ul(r),u.x=g.x+r.clientLeft,u.y=g.y+r.clientTop}const p=s&&!f&&!l?Dw(s,c):Xo(0);return{width:o.width*d.x,height:o.height*d.y,x:o.x*d.x-c.scrollLeft*d.x+u.x+p.x,y:o.y*d.y-c.scrollTop*d.y+u.y+p.y}}function F6(t){return Array.from(t.getClientRects())}function H6(t){const n=Zo(t),o=yc(t),r=t.ownerDocument.body,a=ma(n.scrollWidth,n.clientWidth,r.scrollWidth,r.clientWidth),l=ma(n.scrollHeight,n.clientHeight,r.scrollHeight,r.clientHeight);let s=-o.scrollLeft+Cc(t);const i=-o.scrollTop;return xo(r).direction==="rtl"&&(s+=ma(n.clientWidth,r.clientWidth)-a),{width:a,height:l,x:s,y:i}}const Lw=25;function K6(t,n){const o=Gn(t),r=Zo(t),a=o.visualViewport;let l=r.clientWidth,s=r.clientHeight,i=0,c=0;if(a){l=a.width,s=a.height;const u=Yf();(!u||u&&n==="fixed")&&(i=a.offsetLeft,c=a.offsetTop)}const d=Cc(r);if(d<=0){const u=r.ownerDocument,f=u.body,p=getComputedStyle(f),g=u.compatMode==="CSS1Compat"&&parseFloat(p.marginLeft)+parseFloat(p.marginRight)||0,m=Math.abs(r.clientWidth-f.clientWidth-g);m<=Lw&&(l-=m)}else d<=Lw&&(l+=d);return{width:l,height:s,x:i,y:c}}const W6=new Set(["absolute","fixed"]);function j6(t,n){const o=ha(t,!0,n==="fixed"),r=o.top+t.clientTop,a=o.left+t.clientLeft,l=Jo(t)?ul(t):Xo(1),s=t.clientWidth*l.x,i=t.clientHeight*l.y,c=a*l.x,d=r*l.y;return{width:s,height:i,x:c,y:d}}function _w(t,n,o){let r;if(n==="viewport")r=K6(t,o);else if(n==="document")r=H6(Zo(t));else if(To(n))r=j6(n,o);else{const a=zw(t);r={x:n.x-a.x,y:n.y-a.y,width:n.width,height:n.height}}return hc(r)}function Fw(t,n){const o=Kr(t);return o===n||!To(o)||dl(o)?!1:xo(o).position==="fixed"||Fw(o,n)}function U6(t,n){const o=n.get(t);if(o)return o;let r=xs(t,[],!1).filter(i=>To(i)&&cl(i)!=="body"),a=null;const l=xo(t).position==="fixed";let s=l?Kr(t):t;for(;To(s)&&!dl(s);){const i=xo(s),c=Uf(s);!c&&i.position==="fixed"&&(a=null),(l?!c&&!a:!c&&i.position==="static"&&!!a&&W6.has(a.position)||Ts(s)&&!c&&Fw(t,s))?r=r.filter(u=>u!==s):a=i,s=Kr(s)}return n.set(t,r),r}function Y6(t){let{element:n,boundary:o,rootBoundary:r,strategy:a}=t;const s=[...o==="clippingAncestors"?bc(n)?[]:U6(n,this._c):[].concat(o),r],i=s[0],c=s.reduce((d,u)=>{const f=_w(n,u,a);return d.top=ma(f.top,d.top),d.right=il(f.right,d.right),d.bottom=il(f.bottom,d.bottom),d.left=ma(f.left,d.left),d},_w(n,i,a));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function G6(t){const{width:n,height:o}=Aw(t);return{width:n,height:o}}function q6(t,n,o){const r=Jo(n),a=Zo(n),l=o==="fixed",s=ha(t,!0,l,n);let i={scrollLeft:0,scrollTop:0};const c=Xo(0);function d(){c.x=Cc(a)}if(r||!r&&!l)if((cl(n)!=="body"||Ts(a))&&(i=yc(n)),r){const g=ha(n,!0,l,n);c.x=g.x+n.clientLeft,c.y=g.y+n.clientTop}else a&&d();l&&!r&&a&&d();const u=a&&!r&&!l?Dw(a,i):Xo(0),f=s.left+i.scrollLeft-c.x-u.x,p=s.top+i.scrollTop-c.y-u.y;return{x:f,y:p,width:s.width,height:s.height}}function Xf(t){return xo(t).position==="static"}function Hw(t,n){if(!Jo(t)||xo(t).position==="fixed")return null;if(n)return n(t);let o=t.offsetParent;return Zo(t)===o&&(o=o.ownerDocument.body),o}function Kw(t,n){const o=Gn(t);if(bc(t))return o;if(!Jo(t)){let a=Kr(t);for(;a&&!dl(a);){if(To(a)&&!Xf(a))return a;a=Kr(a)}return o}let r=Hw(t,n);for(;r&&P6(r)&&Xf(r);)r=Hw(r,n);return r&&dl(r)&&Xf(r)&&!Uf(r)?o:r||A6(t)||o}const X6=async function(t){const n=this.getOffsetParent||Kw,o=this.getDimensions,r=await o(t.floating);return{reference:q6(t.reference,await n(t.floating),t.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function Z6(t){return xo(t).direction==="rtl"}const J6={convertOffsetParentRelativeRectToViewportRelativeRect:_6,getDocumentElement:Zo,getClippingRect:Y6,getOffsetParent:Kw,getElementRects:X6,getClientRects:F6,getDimensions:G6,getScale:ul,isElement:To,isRTL:Z6};function Ww(t,n){return t.x===n.x&&t.y===n.y&&t.width===n.width&&t.height===n.height}function Q6(t,n){let o=null,r;const a=Zo(t);function l(){var i;clearTimeout(r),(i=o)==null||i.disconnect(),o=null}function s(i,c){i===void 0&&(i=!1),c===void 0&&(c=1),l();const d=t.getBoundingClientRect(),{left:u,top:f,width:p,height:g}=d;if(i||n(),!p||!g)return;const m=mc(f),h=mc(a.clientWidth-(u+p)),b=mc(a.clientHeight-(f+g)),y=mc(u),C={rootMargin:-m+"px "+-h+"px "+-b+"px "+-y+"px",threshold:ma(0,il(1,c))||1};let w=!0;function S(E){const v=E[0].intersectionRatio;if(v!==c){if(!w)return s();v?s(!1,v):r=setTimeout(()=>{s(!1,1e-7)},1e3)}v===1&&!Ww(d,t.getBoundingClientRect())&&s(),w=!1}try{o=new IntersectionObserver(S,{...C,root:a.ownerDocument})}catch(E){o=new IntersectionObserver(S,C)}o.observe(t)}return s(!0),l}function e5(t,n,o,r){r===void 0&&(r={});const{ancestorScroll:a=!0,ancestorResize:l=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:i=typeof IntersectionObserver=="function",animationFrame:c=!1}=r,d=qf(t),u=a||l?[...d?xs(d):[],...xs(n)]:[];u.forEach(y=>{a&&y.addEventListener("scroll",o,{passive:!0}),l&&y.addEventListener("resize",o)});const f=d&&i?Q6(d,o):null;let p=-1,g=null;s&&(g=new ResizeObserver(y=>{let[k]=y;k&&k.target===d&&g&&(g.unobserve(n),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var C;(C=g)==null||C.observe(n)})),o()}),d&&!c&&g.observe(d),g.observe(n));let m,h=c?ha(t):null;c&&b();function b(){const y=ha(t);h&&!Ww(h,y)&&o(),h=y,m=requestAnimationFrame(b)}return o(),()=>{var y;u.forEach(k=>{a&&k.removeEventListener("scroll",o),l&&k.removeEventListener("resize",o)}),f==null||f(),(y=g)==null||y.disconnect(),g=null,c&&cancelAnimationFrame(m)}}const t5=jf,n5=T6,o5=x6,r5=v6,jw=E6,Uw=(t,n,o)=>{const r=new Map,a={platform:J6,...o},l={...a.platform,_c:r};return S6(t,n,{...a,platform:l})},a5=oe({}),l5=t=>{if(!Je)return;if(!t)return t;const n=Lt(t);return n||(e.isRef(t)?n:t)},s5=(t,n)=>{const o=t==null?void 0:t[n];return Rt(o)?"":`${o}px`},i5=({middleware:t,placement:n,strategy:o})=>{const r=e.ref(),a=e.ref(),l=e.ref(),s=e.ref(),i=e.ref({}),c={x:l,y:s,placement:n,strategy:o,middlewareData:i},d=async()=>{if(!Je)return;const u=l5(r),f=Lt(a);if(!u||!f)return;const p=await Uw(u,f,{placement:e.unref(n),strategy:e.unref(o),middleware:e.unref(t)});Za(c).forEach(g=>{c[g].value=p[g]})};return e.onMounted(()=>{e.watchEffect(()=>{d()})}),{...c,update:d,referenceRef:r,contentRef:a}},c5=({arrowRef:t,padding:n})=>({name:"arrow",options:{element:t,padding:n},fn(o){const r=e.unref(t);return r?jw({element:r,padding:n}).fn(o):{}}});function Yw(t){let n;function o(){if(t.value==null)return;const{selectionStart:a,selectionEnd:l,value:s}=t.value;if(a==null||l==null)return;const i=s.slice(0,Math.max(0,a)),c=s.slice(Math.max(0,l));n={selectionStart:a,selectionEnd:l,value:s,beforeTxt:i,afterTxt:c}}function r(){if(t.value==null||n==null)return;const{value:a}=t.value,{beforeTxt:l,afterTxt:s,selectionStart:i}=n;if(l==null||s==null||i==null)return;let c=a.length;if(a.endsWith(s))c=a.length-s.length;else if(a.startsWith(l))c=l.length;else{const d=l[i-1],u=a.indexOf(d,i-1);u!==-1&&(c=u+1)}t.value.setSelectionRange(c,c)}return[o,r]}const d5=(t,n,o)=>Yn(t.subTree).filter(l=>{var s;return e.isVNode(l)&&((s=l.type)==null?void 0:s.name)===n&&!!l.component}).map(l=>l.component.uid).map(l=>o[l]).filter(l=>!!l),$s=(t,n)=>{const o=e.shallowRef({}),r=e.shallowRef([]),a=new WeakMap,l=u=>{o.value[u.uid]=u,e.triggerRef(o),e.onMounted(()=>{const f=u.getVnode().el,p=f.parentNode;if(!a.has(p)){a.set(p,[]);const g=p.insertBefore.bind(p);p.insertBefore=(m,h)=>(a.get(p).some(y=>m===y||h===y)&&e.triggerRef(o),g(m,h))}a.get(p).push(f)})},s=u=>{delete o.value[u.uid],e.triggerRef(o);const f=u.getVnode().el,p=f.parentNode,g=a.get(p),m=g.indexOf(f);g.splice(m,1)},i=()=>{r.value=d5(t,n,o.value)},c=u=>u.render(),d=e.defineComponent({setup(u,{slots:f}){return()=>(i(),f.default?e.h(c,{render:f.default}):null)}});return{children:r,addChild:l,removeChild:s,ChildrenSorter:d}},Ht=vo({type:String,values:Jn,required:!1}),u5={size:Ht},Zf=Symbol("size"),Jf=()=>{const t=e.inject(Zf,{});return e.computed(()=>e.unref(t.size)||"")};function Qo(t,{disabled:n,beforeFocus:o,afterFocus:r,beforeBlur:a,afterBlur:l}={}){const s=e.getCurrentInstance(),{emit:i}=s,c=e.shallowRef(),d=e.ref(!1),u=g=>{const m=Ae(o)?o(g):!1;e.unref(n)||d.value||m||(d.value=!0,i("focus",g),r==null||r())},f=g=>{var m;const h=Ae(a)?a(g):!1;e.unref(n)||g.relatedTarget&&((m=c.value)!=null&&m.contains(g.relatedTarget))||h||(d.value=!1,i("blur",g),l==null||l())},p=g=>{var m,h;e.unref(n)||Fl(g.target)||(m=c.value)!=null&&m.contains(document.activeElement)&&c.value!==document.activeElement||(h=t.value)==null||h.focus()};return e.watch([c,()=>e.unref(n)],([g,m])=>{g&&(m?g.removeAttribute("tabindex"):g.setAttribute("tabindex","-1"))}),nt(c,"focus",u,!0),nt(c,"blur",f,!0),nt(c,"click",p,!0),{isFocused:d,wrapperRef:c,handleFocus:u,handleBlur:f}}function fl({afterComposition:t,emit:n}){const o=e.ref(!1),r=i=>{n==null||n("compositionstart",i),o.value=!0},a=i=>{var c;n==null||n("compositionupdate",i);const d=(c=i.target)==null?void 0:c.value,u=d[d.length-1]||"";o.value=!HF(u)},l=i=>{n==null||n("compositionend",i),o.value&&(o.value=!1,e.nextTick(()=>t(i)))};return{isComposing:o,handleComposition:i=>{i.type==="compositionend"?l(i):a(i)},handleCompositionStart:r,handleCompositionUpdate:a,handleCompositionEnd:l}}const Qf=Symbol("emptyValuesContextKey"),f5="use-empty-values",Gw=["",void 0,null],qw=void 0,Wr=oe({emptyValues:Array,valueOnClear:{type:K([String,Number,Boolean,Function]),default:void 0,validator:t=>(t=Ae(t)?t():t,ie(t)?t.every(n=>!n):!t)}}),ml=(t,n)=>{const o=e.getCurrentInstance()?e.inject(Qf,e.ref({})):e.ref({}),r=e.computed(()=>t.emptyValues||o.value.emptyValues||Gw),a=e.computed(()=>Ae(t.valueOnClear)?t.valueOnClear():t.valueOnClear!==void 0?t.valueOnClear:Ae(o.value.valueOnClear)?o.value.valueOnClear():o.value.valueOnClear!==void 0?o.value.valueOnClear:n!==void 0?n:qw),l=s=>{let i=!0;return ie(s)?i=r.value.some(c=>xt(s,c)):i=r.value.includes(s),i};return l(a.value),{emptyValues:r,valueOnClear:a,isEmptyValue:l}},Xw=oe({ariaLabel:String,ariaOrientation:{type:String,values:["horizontal","vertical","undefined"]},ariaControls:String}),cn=t=>_o(Xw,t),em=Symbol(),wc=e.ref();function ga(t,n=void 0){const o=e.getCurrentInstance()?e.inject(em,wc):wc;return t?e.computed(()=>{var r,a;return(a=(r=o.value)==null?void 0:r[t])!=null?a:n}):o}function Vs(t,n){const o=ga(),r=ee(t,e.computed(()=>{var i;return((i=o.value)==null?void 0:i.namespace)||Qa})),a=je(e.computed(()=>{var i;return(i=o.value)==null?void 0:i.locale})),l=sl(e.computed(()=>{var i;return((i=o.value)==null?void 0:i.zIndex)||Df})),s=e.computed(()=>{var i;return e.unref(n)||((i=o.value)==null?void 0:i.size)||""});return kc(e.computed(()=>e.unref(o)||{})),{ns:r,locale:a,zIndex:l,size:s}}const kc=(t,n,o=!1)=>{var r;const a=!!e.getCurrentInstance(),l=a?ga():void 0,s=(r=n==null?void 0:n.provide)!=null?r:a?e.provide:void 0;if(!s)return;const i=e.computed(()=>{const c=e.unref(t);return l!=null&&l.value?m5(l.value,c):c});return s(em,i),s(Sf,e.computed(()=>i.value.locale)),s(Ef,e.computed(()=>i.value.namespace)),s(_f,e.computed(()=>i.value.zIndex)),s(Zf,{size:e.computed(()=>i.value.size||"")}),s(Qf,e.computed(()=>({emptyValues:i.value.emptyValues,valueOnClear:i.value.valueOnClear}))),(o||!wc.value)&&(wc.value=i.value),i},m5=(t,n)=>{const o=[...new Set([...Za(t),...Za(n)])],r={};for(const a of o)r[a]=n[a]!==void 0?n[a]:t[a];return r},Zw=oe({a11y:{type:Boolean,default:!0},locale:{type:K(Object)},size:Ht,button:{type:K(Object)},card:{type:K(Object)},dialog:{type:K(Object)},link:{type:K(Object)},experimentalFeatures:{type:K(Object)},keyboardNavigation:{type:Boolean,default:!0},message:{type:K(Object)},zIndex:Number,namespace:{type:String,default:"el"},...Wr}),dn={placement:"top"},p5=e.defineComponent({name:"ElConfigProvider",props:Zw,setup(t,{slots:n}){const o=kc(t);return e.watch(()=>t.message,r=>{var a,l;Object.assign(dn,(l=(a=o==null?void 0:o.value)==null?void 0:a.message)!=null?l:{},r!=null?r:{})},{immediate:!0,deep:!0}),()=>e.renderSlot(n,"default",{config:o==null?void 0:o.value})}}),Jw=Re(p5),h5="2.13.2",Qw=(t=[])=>({version:h5,install:(o,r)=>{o[_d]||(o[_d]=!0,t.forEach(a=>o.use(a)),r&&kc(r,o,!0))}}),Ps=oe({to:{type:K([String,Object]),required:!0},disabled:Boolean});var g5=e.defineComponent({__name:"teleport",props:Ps,setup(t){return(n,o)=>n.disabled?e.renderSlot(n.$slots,"default",{key:0}):(e.openBlock(),e.createBlock(e.Teleport,{key:1,to:n.to},[e.renderSlot(n.$slots,"default")],8,["to"]))}});const pl=Re(g5),ek=oe({zIndex:{type:K([Number,String]),default:100},target:{type:String,default:""},offset:{type:Number,default:0},position:{type:String,values:["top","bottom"],default:"top"},teleported:Boolean,appendTo:{type:Ps.to.type,default:"body"}}),tk={scroll:({scrollTop:t,fixed:n})=>pe(t)&&ct(n),[_e]:t=>ct(t)},nk="ElAffix";var b5=e.defineComponent({name:nk,__name:"affix",props:ek,emits:tk,setup(t,{expose:n,emit:o}){const r=t,a=o,l=ee("affix"),s=e.shallowRef(),i=e.shallowRef(),c=e.shallowRef(),{height:d}=Ud(),{height:u,width:f,top:p,bottom:g,left:m,update:h}=Dg(i,{windowScroll:!1}),b=Dg(s),y=e.ref(!1),k=e.ref(0),C=e.ref(0),w=e.computed(()=>!r.teleported||!y.value),S=e.computed(()=>({height:y.value?`${u.value}px`:"",width:y.value?`${f.value}px`:""})),E=e.computed(()=>{if(!y.value)return{};const T=$t(r.offset);return{height:`${u.value}px`,width:`${f.value}px`,top:r.position==="top"?T:"",bottom:r.position==="bottom"?T:"",left:r.teleported?`${m.value}px`:"",transform:C.value?`translateY(${C.value}px)`:"",zIndex:r.zIndex}}),v=()=>{if(!c.value)return;k.value=c.value instanceof Window?document.documentElement.scrollTop:c.value.scrollTop||0;const{position:T,target:V,offset:x}=r,O=x+u.value;if(T==="top")if(V){const D=b.bottom.value-O;y.value=x>p.value&&b.bottom.value>0,C.value=D<0?D:0}else y.value=x>p.value;else if(V){const D=d.value-b.top.value-O;y.value=d.value-xb.top.value,C.value=D<0?-D:0}else y.value=d.value-x{if(!y.value){h();return}y.value=!1,await e.nextTick(),h(),y.value=!0},P=async()=>{h(),await e.nextTick(),a("scroll",{scrollTop:k.value,fixed:y.value})};return e.watch(y,T=>a(_e,T)),e.onMounted(()=>{var T;r.target?(s.value=(T=document.querySelector(r.target))!=null?T:void 0,s.value||Ft(nk,`Target does not exist: ${r.target}`)):s.value=document.documentElement,c.value=pf(i.value,!0),h()}),e.onActivated(()=>{e.nextTick(N)}),e.onDeactivated(()=>{y.value=!1}),nt(c,"scroll",P),e.watchEffect(v),n({update:v,updateRoot:N}),(T,V)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"root",ref:i,class:e.normalizeClass(e.unref(l).b()),style:e.normalizeStyle(S.value)},[e.createVNode(e.unref(pl),{disabled:w.value,to:t.appendTo},{default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass({[e.unref(l).m("fixed")]:y.value}),style:e.normalizeStyle(E.value)},[e.renderSlot(T.$slots,"default")],6)]),_:3},8,["disabled","to"])],6))}});const ok=Re(b5),rk=["light","dark"],ak=oe({title:{type:String,default:""},description:{type:String,default:""},type:{type:String,values:Za(_r),default:"info"},closable:{type:Boolean,default:!0},closeText:{type:String,default:""},showIcon:Boolean,center:Boolean,effect:{type:String,values:rk,default:"light"}}),lk={close:t=>t instanceof MouseEvent},sk=oe({size:{type:K([Number,String])},color:{type:String}});var y5=e.defineComponent({name:"ElIcon",inheritAttrs:!1,__name:"icon",props:sk,setup(t){const n=t,o=ee("icon"),r=e.computed(()=>{const{size:a,color:l}=n,s=$t(a);return!s&&!l?{}:{fontSize:s,"--color":l}});return(a,l)=>(e.openBlock(),e.createElementBlock("i",e.mergeProps({class:e.unref(o).b(),style:r.value},a.$attrs),[e.renderSlot(a.$slots,"default")],16))}});const ce=Re(y5);var C5=e.defineComponent({name:"ElAlert",__name:"alert",props:ak,emits:lk,setup(t,{emit:n}){const{Close:o}=yf,r=t,a=n,l=e.useSlots(),s=ee("alert"),i=e.ref(!0),c=e.computed(()=>_r[r.type]),d=e.computed(()=>{var f;if(r.description)return!0;const p=(f=l.default)==null?void 0:f.call(l);return p?Yn(p).some(m=>!MC(m)):!1}),u=f=>{i.value=!1,a("close",f)};return(f,p)=>(e.openBlock(),e.createBlock(e.Transition,{name:e.unref(s).b("fade"),persisted:""},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",{class:e.normalizeClass([e.unref(s).b(),e.unref(s).m(t.type),e.unref(s).is("center",t.center),e.unref(s).is(t.effect)]),role:"alert"},[t.showIcon&&(f.$slots.icon||c.value)?(e.openBlock(),e.createBlock(e.unref(ce),{key:0,class:e.normalizeClass([e.unref(s).e("icon"),e.unref(s).is("big",d.value)])},{default:e.withCtx(()=>[e.renderSlot(f.$slots,"icon",{},()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(c.value)))])]),_:3},8,["class"])):e.createCommentVNode("v-if",!0),e.createElementVNode("div",{class:e.normalizeClass(e.unref(s).e("content"))},[t.title||f.$slots.title?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass([e.unref(s).e("title"),{"with-description":d.value}])},[e.renderSlot(f.$slots,"title",{},()=>[e.createTextVNode(e.toDisplayString(t.title),1)])],2)):e.createCommentVNode("v-if",!0),d.value?(e.openBlock(),e.createElementBlock("p",{key:1,class:e.normalizeClass(e.unref(s).e("description"))},[e.renderSlot(f.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(t.description),1)])],2)):e.createCommentVNode("v-if",!0),t.closable?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[t.closeText?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass([e.unref(s).e("close-btn"),e.unref(s).is("customed")]),onClick:u},e.toDisplayString(t.closeText),3)):(e.openBlock(),e.createBlock(e.unref(ce),{key:1,class:e.normalizeClass(e.unref(s).e("close-btn")),onClick:u},{default:e.withCtx(()=>[e.createVNode(e.unref(o))]),_:1},8,["class"]))],64)):e.createCommentVNode("v-if",!0)],2)],2),[[e.vShow,i.value]])]),_:3},8,["name"]))}});const ik=Re(C5),w5={LIGHT:"light",DARK:"dark"},tm=["dialog","grid","group","listbox","menu","navigation","tooltip","tree"],Sc=oe({role:{type:String,values:tm,default:"tooltip"}}),k5=Sc,Ec=Symbol("popper"),nm=Symbol("popperContent");var S5=e.defineComponent({name:"ElPopper",inheritAttrs:!1,__name:"popper",props:Sc,setup(t,{expose:n}){const o=t,r=e.ref(),a=e.ref(),l=e.ref(),s=e.ref(),i=e.computed(()=>o.role),c={triggerRef:r,popperInstanceRef:a,contentRef:l,referenceRef:s,role:i};return n(c),e.provide(Ec,c),(d,u)=>e.renderSlot(d.$slots,"default")}}),ck=e.defineComponent({name:"ElPopperArrow",inheritAttrs:!1,__name:"arrow",setup(t,{expose:n}){const o=ee("popper"),{arrowRef:r,arrowStyle:a}=e.inject(nm,void 0);return e.onBeforeUnmount(()=>{r.value=void 0}),n({arrowRef:r}),(l,s)=>(e.openBlock(),e.createElementBlock("span",{ref_key:"arrowRef",ref:r,class:e.normalizeClass(e.unref(o).e("arrow")),style:e.normalizeStyle(e.unref(a)),"data-popper-arrow":""},null,6))}});const vc=oe({virtualRef:{type:K(Object)},virtualTriggering:Boolean,onMouseenter:{type:K(Function)},onMouseleave:{type:K(Function)},onClick:{type:K(Function)},onKeydown:{type:K(Function)},onFocus:{type:K(Function)},onBlur:{type:K(Function)},onContextmenu:{type:K(Function)},id:String,open:Boolean}),E5=vc,dk=e.defineComponent({name:"ElOnlyChild",setup(t,{slots:n,attrs:o}){var r;const a=e.inject(zf),l=Nw((r=a==null?void 0:a.setForwardRef)!=null?r:et);return()=>{var s;const i=(s=n.default)==null?void 0:s.call(n,o);if(!i)return null;const[c,d]=uk(i);return c?e.withDirectives(e.cloneVNode(c,o),[[l]]):null}}});function uk(t){if(!t)return[null,0];const n=t,o=n.filter(r=>r.type!==e.Comment).length;for(const r of n){if(tt(r))switch(r.type){case e.Comment:continue;case e.Text:case"svg":return[fk(r),o];case e.Fragment:return uk(r.children);default:return[r,o]}return[fk(r),o]}return[null,0]}function fk(t){const n=ee("only-child");return e.createVNode("span",{class:n.e("content")},[t])}var mk=e.defineComponent({name:"ElPopperTrigger",inheritAttrs:!1,__name:"trigger",props:vc,setup(t,{expose:n}){const o=t,{role:r,triggerRef:a}=e.inject(Ec,void 0);vw(a);const l=e.computed(()=>i.value?o.id:void 0),s=e.computed(()=>{if(r&&r.value==="tooltip")return o.open&&o.id?o.id:void 0}),i=e.computed(()=>{if(r&&r.value!=="tooltip")return r.value}),c=e.computed(()=>i.value?`${o.open}`:void 0);let d;const u=["onMouseenter","onMouseleave","onClick","onKeydown","onFocus","onBlur","onContextmenu"];return e.onMounted(()=>{e.watch(()=>o.virtualRef,f=>{f&&(a.value=Lt(f))},{immediate:!0}),e.watch(a,(f,p)=>{d==null||d(),d=void 0,In(p)&&u.forEach(g=>{const m=o[g];m&&p.removeEventListener(g.slice(2).toLowerCase(),m,["onFocus","onBlur"].includes(g))}),In(f)&&(u.forEach(g=>{const m=o[g];m&&f.addEventListener(g.slice(2).toLowerCase(),m,["onFocus","onBlur"].includes(g))}),Fl(f)&&(d=e.watch([l,s,i,c],g=>{["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach((m,h)=>{Rt(g[h])?f.removeAttribute(m):f.setAttribute(m,g[h])})},{immediate:!0}))),In(p)&&Fl(p)&&["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach(g=>p.removeAttribute(g))},{immediate:!0})}),e.onBeforeUnmount(()=>{if(d==null||d(),d=void 0,a.value&&In(a.value)){const f=a.value;u.forEach(p=>{const g=o[p];g&&f.removeEventListener(p.slice(2).toLowerCase(),g,["onFocus","onBlur"].includes(p))}),a.value=void 0}}),n({triggerRef:a}),(f,p)=>t.virtualTriggering?e.createCommentVNode("v-if",!0):(e.openBlock(),e.createBlock(e.unref(dk),e.mergeProps({key:0},f.$attrs,{"aria-controls":l.value,"aria-describedby":s.value,"aria-expanded":c.value,"aria-haspopup":i.value}),{default:e.withCtx(()=>[e.renderSlot(f.$slots,"default")]),_:3},16,["aria-controls","aria-describedby","aria-expanded","aria-haspopup"]))}});const Nc=oe({arrowOffset:{type:Number,default:5}}),pk={arrowOffset:5},v5=Nc,N5=["fixed","absolute"],om=oe({boundariesPadding:{type:Number,default:0},fallbackPlacements:{type:K(Array),default:void 0},gpuAcceleration:{type:Boolean,default:!0},offset:{type:Number,default:12},placement:{type:String,values:Yo,default:"bottom"},popperOptions:{type:K(Object),default:()=>({})},strategy:{type:String,values:N5,default:"absolute"}}),Bc=oe({...om,...Nc,id:String,style:{type:K([String,Array,Object])},className:{type:K([String,Array,Object])},effect:{type:K(String),default:"dark"},visible:Boolean,enterable:{type:Boolean,default:!0},pure:Boolean,focusOnShow:Boolean,trapping:Boolean,popperClass:{type:K([String,Array,Object])},popperStyle:{type:K([String,Array,Object])},referenceEl:{type:K(Object)},triggerTargetEl:{type:K(Object)},stopPopperMouseEvent:{type:Boolean,default:!0},virtualTriggering:Boolean,zIndex:Number,...cn(["ariaLabel"]),loop:Boolean}),hk={boundariesPadding:0,gpuAcceleration:!0,offset:12,placement:"bottom",popperOptions:()=>({}),strategy:"absolute"},gk={...hk,...pk,effect:"dark",enterable:!0,stopPopperMouseEvent:!0,visible:!1,pure:!1,focusOnShow:!1,trapping:!1,virtualTriggering:!1,loop:!1,style:void 0,popperStyle:void 0},rm={mouseenter:t=>t instanceof MouseEvent,mouseleave:t=>t instanceof MouseEvent,focus:()=>!0,blur:()=>!0,close:()=>!0},B5=om,T5=Bc,x5=rm,am="focus-trap.focus-after-trapped",lm="focus-trap.focus-after-released",$5="focus-trap.focusout-prevented",bk={cancelable:!0,bubbles:!1},V5={cancelable:!0,bubbles:!1},yk="focusAfterTrapped",Ck="focusAfterReleased",wk=Symbol("elFocusTrap"),sm=e.ref(),Tc=e.ref(0),im=e.ref(0);let xc=0;const kk=t=>{const n=[],o=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const a=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||a?NodeFilter.FILTER_SKIP:r.tabIndex>=0||r===document.activeElement?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;o.nextNode();)n.push(o.currentNode);return n},Sk=(t,n)=>{for(const o of t)if(!P5(o,n))return o},P5=(t,n)=>{if(getComputedStyle(t).visibility==="hidden")return!0;for(;t;){if(n&&t===n)return!1;if(getComputedStyle(t).display==="none")return!0;t=t.parentElement}return!1},R5=t=>{const n=kk(t),o=Sk(n,t),r=Sk(n.reverse(),t);return[o,r]},M5=t=>t instanceof HTMLInputElement&&"select"in t,jr=(t,n)=>{if(t){const o=document.activeElement;Hl(t,{preventScroll:!0}),im.value=window.performance.now(),t!==o&&M5(t)&&n&&t.select()}};function Ek(t,n){const o=[...t],r=t.indexOf(n);return r!==-1&&o.splice(r,1),o}const I5=()=>{let t=[];return{push:r=>{const a=t[0];a&&r!==a&&a.pause(),t=Ek(t,r),t.unshift(r)},remove:r=>{var a,l;t=Ek(t,r),(l=(a=t[0])==null?void 0:a.resume)==null||l.call(a)}}},O5=(t,n=!1)=>{const o=document.activeElement;for(const r of t)if(jr(r,n),document.activeElement!==o)return},vk=I5(),A5=()=>Tc.value>im.value,$c=()=>{sm.value="pointer",Tc.value=window.performance.now()},Nk=()=>{sm.value="keyboard",Tc.value=window.performance.now()},z5=()=>(e.onMounted(()=>{xc===0&&(document.addEventListener("mousedown",$c),document.addEventListener("touchstart",$c),document.addEventListener("keydown",Nk)),xc++}),e.onBeforeUnmount(()=>{xc--,xc<=0&&(document.removeEventListener("mousedown",$c),document.removeEventListener("touchstart",$c),document.removeEventListener("keydown",Nk))}),{focusReason:sm,lastUserFocusTimestamp:Tc,lastAutomatedFocusTimestamp:im}),Vc=t=>new CustomEvent($5,{...V5,detail:t});var D5=e.defineComponent({name:"ElFocusTrap",inheritAttrs:!1,props:{loop:Boolean,trapped:Boolean,focusTrapEl:Object,focusStartEl:{type:[Object,String],default:"first"}},emits:[yk,Ck,"focusin","focusout","focusout-prevented","release-requested"],setup(t,{emit:n}){const o=e.ref();let r,a;const{focusReason:l}=z5();Cw(m=>{t.trapped&&!s.paused&&n("release-requested",m)});const s={paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}},i=m=>{if(!t.loop&&!t.trapped||s.paused)return;const{altKey:h,ctrlKey:b,metaKey:y,currentTarget:k,shiftKey:C}=m,{loop:w}=t,E=ut(m)===te.tab&&!h&&!b&&!y,v=document.activeElement;if(E&&v){const N=k,[P,T]=R5(N);if(P&&T){if(!C&&v===T){const x=Vc({focusReason:l.value});n("focusout-prevented",x),x.defaultPrevented||(m.preventDefault(),w&&jr(P,!0))}else if(C&&[P,N].includes(v)){const x=Vc({focusReason:l.value});n("focusout-prevented",x),x.defaultPrevented||(m.preventDefault(),w&&jr(T,!0))}}else if(v===N){const x=Vc({focusReason:l.value});n("focusout-prevented",x),x.defaultPrevented||m.preventDefault()}}};e.provide(wk,{focusTrapRef:o,onKeydown:i}),e.watch(()=>t.focusTrapEl,m=>{m&&(o.value=m)},{immediate:!0}),e.watch([o],([m],[h])=>{m&&(m.addEventListener("keydown",i),m.addEventListener("focusin",u),m.addEventListener("focusout",f)),h&&(h.removeEventListener("keydown",i),h.removeEventListener("focusin",u),h.removeEventListener("focusout",f))});const c=m=>{n(yk,m)},d=m=>n(Ck,m),u=m=>{const h=e.unref(o);if(!h)return;const b=m.target,y=m.relatedTarget,k=b&&h.contains(b);t.trapped||y&&h.contains(y)||(r=y),k&&n("focusin",m),!s.paused&&t.trapped&&(k?a=b:jr(a,!0))},f=m=>{const h=e.unref(o);if(!(s.paused||!h))if(t.trapped){const b=m.relatedTarget;!Rt(b)&&!h.contains(b)&&setTimeout(()=>{if(!s.paused&&t.trapped){const y=Vc({focusReason:l.value});n("focusout-prevented",y),y.defaultPrevented||jr(a,!0)}},0)}else{const b=m.target;b&&h.contains(b)||n("focusout",m)}};async function p(){await e.nextTick();const m=e.unref(o);if(m){vk.push(s);const h=m.contains(document.activeElement)?r:document.activeElement;if(r=h,!m.contains(h)){const y=new Event(am,bk);m.addEventListener(am,c),m.dispatchEvent(y),y.defaultPrevented||e.nextTick(()=>{let k=t.focusStartEl;ve(k)||(jr(k),document.activeElement!==k&&(k="first")),k==="first"&&O5(kk(m),!0),(document.activeElement===h||k==="container")&&jr(m)})}}}function g(){const m=e.unref(o);if(m){m.removeEventListener(am,c);const h=new CustomEvent(lm,{...bk,detail:{focusReason:l.value}});m.addEventListener(lm,d),m.dispatchEvent(h),!h.defaultPrevented&&(l.value=="keyboard"||!A5()||m.contains(document.activeElement))&&jr(r!=null?r:document.body),m.removeEventListener(lm,d),vk.remove(s),r=null,a=null}}return e.onMounted(()=>{t.trapped&&p(),e.watch(()=>t.trapped,m=>{m?p():g()})}),e.onBeforeUnmount(()=>{t.trapped&&g(),o.value&&(o.value.removeEventListener("keydown",i),o.value.removeEventListener("focusin",u),o.value.removeEventListener("focusout",f),o.value=void 0),r=null,a=null}),{onKeydown:i}}}),Ut=(t,n)=>{const o=t.__vccOpts||t;for(const[r,a]of n)o[r]=a;return o};function L5(t,n,o,r,a,l){return e.renderSlot(t.$slots,"default",{handleKeydown:t.onKeydown})}var hl=Ut(D5,[["render",L5]]);const Bk=oe({size:{type:String,values:Jn},disabled:Boolean}),Tk=oe({...Bk,model:Object,rules:{type:K(Object)},labelPosition:{type:String,values:["left","right","top"],default:"right"},requireAsteriskPosition:{type:String,values:["left","right"],default:"left"},labelWidth:{type:[String,Number],default:""},labelSuffix:{type:String,default:""},inline:Boolean,inlineMessage:Boolean,statusIcon:Boolean,showMessage:{type:Boolean,default:!0},validateOnRuleChange:{type:Boolean,default:!0},hideRequiredAsterisk:Boolean,scrollToError:Boolean,scrollIntoViewOptions:{type:K([Object,Boolean]),default:!0}}),xk={validate:(t,n,o)=>(ie(t)||ve(t))&&ct(n)&&ve(o)},Ur=Symbol("formContextKey"),$o=Symbol("formItemContextKey"),zt=(t,n={})=>{const o=e.ref(void 0),r=n.prop?o:Nf("size"),a=n.global?o:Jf(),l=n.form?{size:void 0}:e.inject(Ur,void 0),s=n.formItem?{size:void 0}:e.inject($o,void 0);return e.computed(()=>r.value||e.unref(t)||(s==null?void 0:s.size)||(l==null?void 0:l.size)||a.value||"")},kt=t=>{const n=Nf("disabled"),o=e.inject(Ur,void 0);return e.computed(()=>{var r,a,l;return(l=(a=(r=n.value)!=null?r:e.unref(t))!=null?a:o==null?void 0:o.disabled)!=null?l:!1})},_5=zt,F5=kt,Zt=()=>{const t=e.inject(Ur,void 0),n=e.inject($o,void 0);return{form:t,formItem:n}},Dn=(t,{formItemContext:n,disableIdGeneration:o,disableIdManagement:r})=>{o||(o=e.ref(!1)),r||(r=e.ref(!1));const a=e.getCurrentInstance(),l=()=>{let d=a==null?void 0:a.parent;for(;d;){if(d.type.name==="ElFormItem")return!1;if(d.type.name==="ElLabelWrap")return!0;d=d.parent}return!1},s=e.ref();let i;const c=e.computed(()=>{var d;return!!(!(t.label||t.ariaLabel)&&n&&n.inputIds&&((d=n.inputIds)==null?void 0:d.length)<=1)});return e.onMounted(()=>{i=e.watch([e.toRef(t,"id"),o],([d,u])=>{const f=d!=null?d:u?void 0:en().value;f!==s.value&&(n!=null&&n.removeInputId&&!l()&&(s.value&&n.removeInputId(s.value),!(r!=null&&r.value)&&!u&&f&&n.addInputId(f)),s.value=f)},{immediate:!0})}),e.onUnmounted(()=>{i&&i(),n!=null&&n.removeInputId&&s.value&&n.removeInputId(s.value)}),{isLabeledByFormItem:c,inputId:s}};function H5(){const t=e.ref([]),n=e.computed(()=>{if(!t.value.length)return"0";const l=Math.max(...t.value);return l?`${l}px`:""});function o(l){const s=t.value.indexOf(l);return s===-1&&n.value,s}function r(l,s){if(l&&s){const i=o(s);t.value.splice(i,1,l)}else l&&t.value.push(l)}function a(l){const s=o(l);s>-1&&t.value.splice(s,1)}return{autoLabelWidth:n,registerLabelWidth:r,deregisterLabelWidth:a}}const Pc=(t,n)=>{const o=Xt(n).map(r=>ie(r)?r.join("."):r);return o.length>0?t.filter(r=>r.propString&&o.includes(r.propString)):t};var K5=e.defineComponent({name:"ElForm",__name:"form",props:Tk,emits:xk,setup(t,{expose:n,emit:o}){const r=t,a=o,l=e.ref(),s=e.reactive([]),i=zt(),c=ee("form"),d=e.computed(()=>{const{labelPosition:E,inline:v}=r;return[c.b(),c.m(i.value||"default"),{[c.m(`label-${E}`)]:E,[c.m("inline")]:v}]}),u=E=>Pc(s,[E])[0],f=E=>{s.push(E)},p=E=>{E.prop&&s.splice(s.indexOf(E),1)},g=E=>{r.model&&E&&s.forEach(v=>{if(v.prop&&ky(E,v.prop)){const N=Ja(E,v.prop).value;v.setInitialValue(N)}})},m=(E=[])=>{r.model&&Pc(s,E).forEach(v=>v.resetField())},h=(E=[])=>{Pc(s,E).forEach(v=>v.clearValidate())},b=e.computed(()=>!!r.model),y=E=>{if(s.length===0)return[];const v=Pc(s,E);return v.length?v:[]},k=async E=>w(void 0,E),C=async(E=[])=>{if(!b.value)return!1;const v=y(E);if(v.length===0)return!0;let N={};for(const P of v)try{await P.validate(""),P.validateState==="error"&&!P.error&&P.resetField()}catch(T){N={...N,...T}}return Object.keys(N).length===0?!0:Promise.reject(N)},w=async(E=[],v)=>{let N=!1;const P=!Ae(v);try{return N=await C(E),N===!0&&await(v==null?void 0:v(N)),N}catch(T){if(T instanceof Error)throw T;const V=T;if(r.scrollToError&&l.value){const x=l.value.querySelector(`.${c.b()}-item.is-error`);x==null||x.scrollIntoView(r.scrollIntoViewOptions)}return!N&&await(v==null?void 0:v(!1,V)),P&&Promise.reject(V)}},S=E=>{var v;const N=u(E);N&&((v=N.$el)==null||v.scrollIntoView(r.scrollIntoViewOptions))};return e.watch(()=>r.rules,()=>{r.validateOnRuleChange&&k().catch(E=>void 0)},{deep:!0,flush:"post"}),e.provide(Ur,e.reactive({...e.toRefs(r),emit:a,resetFields:m,clearValidate:h,validateField:w,getField:u,addField:f,removeField:p,setInitialValues:g,...H5()})),n({validate:k,validateField:w,resetFields:m,clearValidate:h,scrollToField:S,getField:u,fields:s,setInitialValues:g}),(E,v)=>(e.openBlock(),e.createElementBlock("form",{ref_key:"formRef",ref:l,class:e.normalizeClass(d.value)},[e.renderSlot(E.$slots,"default")],2))}});const $k=["","error","validating","success"],Vk=oe({label:String,labelWidth:{type:[String,Number]},labelPosition:{type:String,values:["left","right","top",""],default:""},prop:{type:K([String,Array])},required:{type:Boolean,default:void 0},rules:{type:K([Object,Array])},error:String,validateStatus:{type:String,values:$k},for:String,inlineMessage:{type:Boolean,default:void 0},showMessage:{type:Boolean,default:!0},size:{type:String,values:Jn}});function ba(){return ba=Object.assign?Object.assign.bind():function(t){for(var n=1;n1?n-1:0),r=1;r=l)return i;switch(i){case"%s":return String(o[a++]);case"%d":return Number(o[a++]);case"%j":try{return JSON.stringify(o[a++])}catch(c){return"[Circular]"}break;default:return i}});return s}return t}function q5(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function tn(t,n){return!!(t==null||n==="array"&&Array.isArray(t)&&!t.length||q5(n)&&typeof t=="string"&&!t)}function X5(t,n,o){var r=[],a=0,l=t.length;function s(i){r.push.apply(r,i||[]),a++,a===l&&o(r)}t.forEach(function(i){n(i,s)})}function Pk(t,n,o){var r=0,a=t.length;function l(s){if(s&&s.length){o(s);return}var i=r;r=r+1,i()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},Ms={integer:function(n){return Ms.number(n)&&parseInt(n,10)===n},float:function(n){return Ms.number(n)&&!Ms.integer(n)},array:function(n){return Array.isArray(n)},regexp:function(n){if(n instanceof RegExp)return!0;try{return!!new RegExp(n)}catch(o){return!1}},date:function(n){return typeof n.getTime=="function"&&typeof n.getMonth=="function"&&typeof n.getYear=="function"&&!isNaN(n.getTime())},number:function(n){return isNaN(n)?!1:typeof n=="number"},object:function(n){return typeof n=="object"&&!Ms.array(n)},method:function(n){return typeof n=="function"},email:function(n){return typeof n=="string"&&n.length<=320&&!!n.match(Ak.email)},url:function(n){return typeof n=="string"&&n.length<=2048&&!!n.match(nH())},hex:function(n){return typeof n=="string"&&!!n.match(Ak.hex)}},oH=function(n,o,r,a,l){if(n.required&&o===void 0){Ok(n,o,r,a,l);return}var s=["integer","float","array","regexp","object","method","email","number","date","url","hex"],i=n.type;s.indexOf(i)>-1?Ms[i](o)||a.push(qn(l.messages.types[i],n.fullField,n.type)):i&&typeof o!==n.type&&a.push(qn(l.messages.types[i],n.fullField,n.type))},rH=function(n,o,r,a,l){var s=typeof n.len=="number",i=typeof n.min=="number",c=typeof n.max=="number",d=o,u=null,f=typeof o=="number",p=typeof o=="string",g=Array.isArray(o);if(f?u="number":p?u="string":g&&(u="array"),!u)return!1;g&&(d=o.length),p&&(d=o.length),s?d!==n.len&&a.push(qn(l.messages[u].len,n.fullField,n.len)):i&&!c&&dn.max?a.push(qn(l.messages[u].max,n.fullField,n.max)):i&&c&&(dn.max)&&a.push(qn(l.messages[u].range,n.fullField,n.min,n.max))},gl="enum",aH=function(n,o,r,a,l){n[gl]=Array.isArray(n[gl])?n[gl]:[],n[gl].indexOf(o)===-1&&a.push(qn(l.messages[gl],n.fullField,n[gl].join(", ")))},lH=function(n,o,r,a,l){if(n.pattern){if(n.pattern instanceof RegExp)n.pattern.lastIndex=0,n.pattern.test(o)||a.push(qn(l.messages.pattern.mismatch,n.fullField,o,n.pattern));else if(typeof n.pattern=="string"){var s=new RegExp(n.pattern);s.test(o)||a.push(qn(l.messages.pattern.mismatch,n.fullField,o,n.pattern))}}},gt={required:Ok,whitespace:tH,type:oH,range:rH,enum:aH,pattern:lH},sH=function(n,o,r,a,l){var s=[],i=n.required||!n.required&&a.hasOwnProperty(n.field);if(i){if(tn(o,"string")&&!n.required)return r();gt.required(n,o,a,s,l,"string"),tn(o,"string")||(gt.type(n,o,a,s,l),gt.range(n,o,a,s,l),gt.pattern(n,o,a,s,l),n.whitespace===!0&>.whitespace(n,o,a,s,l))}r(s)},iH=function(n,o,r,a,l){var s=[],i=n.required||!n.required&&a.hasOwnProperty(n.field);if(i){if(tn(o)&&!n.required)return r();gt.required(n,o,a,s,l),o!==void 0&>.type(n,o,a,s,l)}r(s)},cH=function(n,o,r,a,l){var s=[],i=n.required||!n.required&&a.hasOwnProperty(n.field);if(i){if(o===""&&(o=void 0),tn(o)&&!n.required)return r();gt.required(n,o,a,s,l),o!==void 0&&(gt.type(n,o,a,s,l),gt.range(n,o,a,s,l))}r(s)},dH=function(n,o,r,a,l){var s=[],i=n.required||!n.required&&a.hasOwnProperty(n.field);if(i){if(tn(o)&&!n.required)return r();gt.required(n,o,a,s,l),o!==void 0&>.type(n,o,a,s,l)}r(s)},uH=function(n,o,r,a,l){var s=[],i=n.required||!n.required&&a.hasOwnProperty(n.field);if(i){if(tn(o)&&!n.required)return r();gt.required(n,o,a,s,l),tn(o)||gt.type(n,o,a,s,l)}r(s)},fH=function(n,o,r,a,l){var s=[],i=n.required||!n.required&&a.hasOwnProperty(n.field);if(i){if(tn(o)&&!n.required)return r();gt.required(n,o,a,s,l),o!==void 0&&(gt.type(n,o,a,s,l),gt.range(n,o,a,s,l))}r(s)},mH=function(n,o,r,a,l){var s=[],i=n.required||!n.required&&a.hasOwnProperty(n.field);if(i){if(tn(o)&&!n.required)return r();gt.required(n,o,a,s,l),o!==void 0&&(gt.type(n,o,a,s,l),gt.range(n,o,a,s,l))}r(s)},pH=function(n,o,r,a,l){var s=[],i=n.required||!n.required&&a.hasOwnProperty(n.field);if(i){if(o==null&&!n.required)return r();gt.required(n,o,a,s,l,"array"),o!=null&&(gt.type(n,o,a,s,l),gt.range(n,o,a,s,l))}r(s)},hH=function(n,o,r,a,l){var s=[],i=n.required||!n.required&&a.hasOwnProperty(n.field);if(i){if(tn(o)&&!n.required)return r();gt.required(n,o,a,s,l),o!==void 0&>.type(n,o,a,s,l)}r(s)},gH="enum",bH=function(n,o,r,a,l){var s=[],i=n.required||!n.required&&a.hasOwnProperty(n.field);if(i){if(tn(o)&&!n.required)return r();gt.required(n,o,a,s,l),o!==void 0&>[gH](n,o,a,s,l)}r(s)},yH=function(n,o,r,a,l){var s=[],i=n.required||!n.required&&a.hasOwnProperty(n.field);if(i){if(tn(o,"string")&&!n.required)return r();gt.required(n,o,a,s,l),tn(o,"string")||gt.pattern(n,o,a,s,l)}r(s)},CH=function(n,o,r,a,l){var s=[],i=n.required||!n.required&&a.hasOwnProperty(n.field);if(i){if(tn(o,"date")&&!n.required)return r();if(gt.required(n,o,a,s,l),!tn(o,"date")){var c;o instanceof Date?c=o:c=new Date(o),gt.type(n,c,a,s,l),c&>.range(n,c.getTime(),a,s,l)}}r(s)},wH=function(n,o,r,a,l){var s=[],i=Array.isArray(o)?"array":typeof o;gt.required(n,o,a,s,l,i),r(s)},fm=function(n,o,r,a,l){var s=n.type,i=[],c=n.required||!n.required&&a.hasOwnProperty(n.field);if(c){if(tn(o,s)&&!n.required)return r();gt.required(n,o,a,i,l,s),tn(o,s)||gt.type(n,o,a,i,l)}r(i)},kH=function(n,o,r,a,l){var s=[],i=n.required||!n.required&&a.hasOwnProperty(n.field);if(i){if(tn(o)&&!n.required)return r();gt.required(n,o,a,s,l)}r(s)},Is={string:sH,method:iH,number:cH,boolean:dH,regexp:uH,integer:fH,float:mH,array:pH,object:hH,enum:bH,pattern:yH,date:CH,url:fm,hex:fm,email:fm,required:wH,any:kH};function mm(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var n=JSON.parse(JSON.stringify(this));return n.clone=this.clone,n}}}var pm=mm(),Os=(function(){function t(o){this.rules=null,this._messages=pm,this.define(o)}var n=t.prototype;return n.define=function(r){var a=this;if(!r)throw new Error("Cannot configure a schema with no rules");if(typeof r!="object"||Array.isArray(r))throw new Error("Rules must be an object");this.rules={},Object.keys(r).forEach(function(l){var s=r[l];a.rules[l]=Array.isArray(s)?s:[s]})},n.messages=function(r){return r&&(this._messages=Ik(mm(),r)),this._messages},n.validate=function(r,a,l){var s=this;a===void 0&&(a={}),l===void 0&&(l=function(){});var i=r,c=a,d=l;if(typeof c=="function"&&(d=c,c={}),!this.rules||Object.keys(this.rules).length===0)return d&&d(null,i),Promise.resolve(i);function u(h){var b=[],y={};function k(w){if(Array.isArray(w)){var S;b=(S=b).concat.apply(S,w)}else b.push(w)}for(var C=0;C");const a=ee("form"),l=e.ref(),s=e.ref(0),i=()=>{var u;if((u=l.value)!=null&&u.firstElementChild){const f=window.getComputedStyle(l.value.firstElementChild).width;return Math.ceil(Number.parseFloat(f))}else return 0},c=(u="update")=>{e.nextTick(()=>{n.default&&t.isAutoWidth&&(u==="update"?s.value=i():u==="remove"&&(o==null||o.deregisterLabelWidth(s.value)))})},d=()=>c("update");return e.onMounted(()=>{d()}),e.onBeforeUnmount(()=>{c("remove")}),e.onUpdated(()=>d()),e.watch(s,(u,f)=>{t.updateAll&&(o==null||o.registerLabelWidth(u,f))}),yt(e.computed(()=>{var u,f;return(f=(u=l.value)==null?void 0:u.firstElementChild)!=null?f:null}),d),()=>{var u,f;if(!n)return null;const{isAutoWidth:p}=t;if(p){const g=o==null?void 0:o.autoLabelWidth,m=r==null?void 0:r.hasLabel,h={};if(m&&g&&g!=="auto"){const b=Math.max(0,Number.parseInt(g,10)-s.value),k=(r.labelPosition||o.labelPosition)==="left"?"marginRight":"marginLeft";b&&(h[k]=`${b}px`)}return e.createVNode("div",{ref:l,class:[a.be("item","label-wrap")],style:h},[(u=n.default)==null?void 0:u.call(n)])}else return e.createVNode(e.Fragment,{ref:l},[(f=n.default)==null?void 0:f.call(n)])}}});const EH=["role","aria-labelledby"];var Dk=e.defineComponent({name:"ElFormItem",__name:"form-item",props:Vk,setup(t,{expose:n}){const o=t,r=e.useSlots(),a=e.inject(Ur,void 0),l=e.inject($o,void 0),s=zt(void 0,{formItem:!1}),i=ee("form-item"),c=en().value,d=e.ref([]),u=e.ref(""),f=jT(u,100),p=e.ref(""),g=e.ref();let m,h=!1;const b=e.computed(()=>o.labelPosition||(a==null?void 0:a.labelPosition)),y=e.computed(()=>{var J;return b.value==="top"?{}:{width:$t((J=o.labelWidth)!=null?J:a==null?void 0:a.labelWidth)}}),k=e.computed(()=>{var J;if(b.value==="top"||a!=null&&a.inline)return{};if(!o.label&&!o.labelWidth&&T)return{};const Y=$t((J=o.labelWidth)!=null?J:a==null?void 0:a.labelWidth);return!o.label&&!r.label?{marginLeft:Y}:{}}),C=e.computed(()=>[i.b(),i.m(s.value),i.is("error",u.value==="error"),i.is("validating",u.value==="validating"),i.is("success",u.value==="success"),i.is("required",L.value||o.required),i.is("no-asterisk",a==null?void 0:a.hideRequiredAsterisk),(a==null?void 0:a.requireAsteriskPosition)==="right"?"asterisk-right":"asterisk-left",{[i.m("feedback")]:a==null?void 0:a.statusIcon,[i.m(`label-${b.value}`)]:b.value}]),w=e.computed(()=>ct(o.inlineMessage)?o.inlineMessage:(a==null?void 0:a.inlineMessage)||!1),S=e.computed(()=>[i.e("error"),{[i.em("error","inline")]:w.value}]),E=e.computed(()=>o.prop?ie(o.prop)?o.prop.join("."):o.prop:""),v=e.computed(()=>!!(o.label||r.label)),N=e.computed(()=>{var J;return(J=o.for)!=null?J:d.value.length===1?d.value[0]:void 0}),P=e.computed(()=>!N.value&&v.value),T=!!l,V=e.computed(()=>{const J=a==null?void 0:a.model;if(!(!J||!o.prop))return Ja(J,o.prop).value}),x=e.computed(()=>{const{required:J}=o,Y=[];o.rules&&Y.push(...Xt(o.rules));const _=a==null?void 0:a.rules;if(_&&o.prop){const q=Ja(_,o.prop).value;q&&Y.push(...Xt(q))}if(J!==void 0){const q=Y.map((le,ue)=>[le,ue]).filter(([le])=>"required"in le);if(q.length>0)for(const[le,ue]of q)le.required!==J&&(Y[ue]={...le,required:J});else Y.push({required:J})}return Y}),O=e.computed(()=>x.value.length>0),D=J=>x.value.filter(_=>!_.trigger||!J?!0:ie(_.trigger)?_.trigger.includes(J):_.trigger===J).map(({trigger:_,...q})=>q),L=e.computed(()=>x.value.some(J=>J.required)),H=e.computed(()=>{var J;return f.value==="error"&&o.showMessage&&((J=a==null?void 0:a.showMessage)!=null?J:!0)}),$=e.computed(()=>`${o.label||""}${(a==null?void 0:a.labelSuffix)||""}`),B=J=>{u.value=J},M=J=>{var Y,_;const{errors:q,fields:le}=J;(!q||!le)&&console.error(J),B("error"),p.value=q?(_=(Y=q==null?void 0:q[0])==null?void 0:Y.message)!=null?_:`${o.prop} is required`:"",a==null||a.emit("validate",o.prop,!1,p.value)},I=()=>{B("success"),a==null||a.emit("validate",o.prop,!0,"")},z=async J=>{const Y=E.value;return new Os({[Y]:J}).validate({[Y]:V.value},{firstFields:!0}).then(()=>(I(),!0)).catch(q=>(M(q),Promise.reject(q)))},F=async(J,Y)=>{if(h||!o.prop)return!1;const _=Ae(Y);if(!O.value)return Y==null||Y(!1),!1;const q=D(J);return q.length===0?(Y==null||Y(!0),!0):(B("validating"),z(q).then(()=>(Y==null||Y(!0),!0)).catch(le=>{const{fields:ue}=le;return Y==null||Y(!1,ue),_?!1:Promise.reject(ue)}))},A=()=>{B(""),p.value="",h=!1},W=async()=>{const J=a==null?void 0:a.model;if(!J||!o.prop)return;const Y=Ja(J,o.prop);h=!0,Y.value=Pi(m),await e.nextTick(),A(),h=!1},j=J=>{d.value.includes(J)||d.value.push(J)},G=J=>{d.value=d.value.filter(Y=>Y!==J)},X=J=>{m=Pi(J)};e.watch(()=>o.error,J=>{p.value=J||"",B(J?"error":"")},{immediate:!0}),e.watch(()=>o.validateStatus,J=>B(J||""));const Q=e.reactive({...e.toRefs(o),$el:g,size:s,validateMessage:p,validateState:u,labelId:c,inputIds:d,isGroup:P,hasLabel:v,fieldValue:V,addInputId:j,removeInputId:G,resetField:W,clearValidate:A,validate:F,propString:E,setInitialValue:X});return e.provide($o,Q),e.onMounted(()=>{o.prop&&(a==null||a.addField(Q),m=Pi(V.value))}),e.onBeforeUnmount(()=>{a==null||a.removeField(Q)}),n({size:s,validateMessage:p,validateState:u,validate:F,clearValidate:A,resetField:W,setInitialValue:X}),(J,Y)=>{var _;return e.openBlock(),e.createElementBlock("div",{ref_key:"formItemRef",ref:g,class:e.normalizeClass(C.value),role:P.value?"group":void 0,"aria-labelledby":P.value?e.unref(c):void 0},[e.createVNode(e.unref(SH),{"is-auto-width":y.value.width==="auto","update-all":((_=e.unref(a))==null?void 0:_.labelWidth)==="auto"},{default:e.withCtx(()=>[t.label||J.$slots.label?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(N.value?"label":"div"),{key:0,id:e.unref(c),for:N.value,class:e.normalizeClass(e.unref(i).e("label")),style:e.normalizeStyle(y.value)},{default:e.withCtx(()=>[e.renderSlot(J.$slots,"label",{label:$.value},()=>[e.createTextVNode(e.toDisplayString($.value),1)])]),_:3},8,["id","for","class","style"])):e.createCommentVNode("v-if",!0)]),_:3},8,["is-auto-width","update-all"]),e.createElementVNode("div",{class:e.normalizeClass(e.unref(i).e("content")),style:e.normalizeStyle(k.value)},[e.renderSlot(J.$slots,"default"),e.createVNode(e.TransitionGroup,{name:`${e.unref(i).namespace.value}-zoom-in-top`},{default:e.withCtx(()=>[H.value?e.renderSlot(J.$slots,"error",{key:0,error:p.value},()=>[e.createElementVNode("div",{class:e.normalizeClass(S.value)},e.toDisplayString(p.value),3)]):e.createCommentVNode("v-if",!0)]),_:3},8,["name"])],6)],10,EH)}}});const Lk=Re(K5,{FormItem:Dk}),_k=Bt(Dk),vH=(t,n=[])=>{const{placement:o,strategy:r,popperOptions:a}=t,l={placement:o,strategy:r,...a,modifiers:[...BH(t),...n]};return TH(l,a==null?void 0:a.modifiers),l},NH=t=>{if(Je)return Lt(t)};function BH(t){const{offset:n,gpuAcceleration:o,fallbackPlacements:r}=t;return[{name:"offset",options:{offset:[0,n!=null?n:12]}},{name:"preventOverflow",options:{padding:{top:0,bottom:0,left:0,right:0}}},{name:"flip",options:{padding:5,fallbackPlacements:r}},{name:"computeStyles",options:{gpuAcceleration:o}}]}function TH(t,n){n&&(t.modifiers=[...t.modifiers,...n!=null?n:[]])}const xH=0,$H=t=>{const{popperInstanceRef:n,contentRef:o,triggerRef:r,role:a}=e.inject(Ec,void 0),l=e.ref(),s=e.computed(()=>t.arrowOffset),i=e.computed(()=>({name:"eventListeners",enabled:!!t.visible})),c=e.computed(()=>{var y;const k=e.unref(l),C=(y=e.unref(s))!=null?y:xH;return{name:"arrow",enabled:!Py(k),options:{element:k,padding:C}}}),d=e.computed(()=>({onFirstUpdate:()=>{m()},...vH(t,[e.unref(c),e.unref(i)])})),u=e.computed(()=>NH(t.referenceEl)||e.unref(r)),{attributes:f,state:p,styles:g,update:m,forceUpdate:h,instanceRef:b}=rw(u,o,d);return e.watch(b,y=>n.value=y,{flush:"sync"}),e.onMounted(()=>{e.watch(()=>{var y,k;return(k=(y=e.unref(u))==null?void 0:y.getBoundingClientRect)==null?void 0:k.call(y)},()=>{m()})}),e.onBeforeUnmount(()=>{n.value=void 0}),{attributes:f,arrowRef:l,contentRef:o,instanceRef:b,state:p,styles:g,role:a,forceUpdate:h,update:m}},VH=(t,{attributes:n,styles:o,role:r})=>{const{nextZIndex:a}=sl(),l=ee("popper"),s=e.computed(()=>e.unref(n).popper),i=e.ref(pe(t.zIndex)?t.zIndex:a()),c=e.computed(()=>[l.b(),l.is("pure",t.pure),l.is(t.effect),t.popperClass]),d=e.computed(()=>[{zIndex:e.unref(i)},e.unref(o).popper,t.popperStyle||{}]),u=e.computed(()=>r.value==="dialog"?"false":void 0),f=e.computed(()=>e.unref(o).arrow||{});return{ariaModal:u,arrowStyle:f,contentAttrs:s,contentClass:c,contentStyle:d,contentZIndex:i,updateZIndex:()=>{i.value=pe(t.zIndex)?t.zIndex:a()}}},PH=(t,n)=>{const o=e.ref(!1),r=e.ref(),a=()=>{n("focus")},l=d=>{var u;((u=d.detail)==null?void 0:u.focusReason)!=="pointer"&&(r.value="first",n("blur"))},s=d=>{t.visible&&!o.value&&(d.target&&(r.value=d.target),o.value=!0)},i=d=>{t.trapping||(d.detail.focusReason==="pointer"&&d.preventDefault(),o.value=!1)},c=()=>{o.value=!1,n("close")};return e.onBeforeUnmount(()=>{r.value=void 0}),{focusStartRef:r,trapped:o,onFocusAfterReleased:l,onFocusAfterTrapped:a,onFocusInTrap:s,onFocusoutPrevented:i,onReleaseRequested:c}};var Fk=e.defineComponent({name:"ElPopperContent",__name:"content",props:Bc,emits:rm,setup(t,{expose:n,emit:o}){const r=o,a=t,{focusStartRef:l,trapped:s,onFocusAfterReleased:i,onFocusAfterTrapped:c,onFocusInTrap:d,onFocusoutPrevented:u,onReleaseRequested:f}=PH(a,r),{attributes:p,arrowRef:g,contentRef:m,styles:h,instanceRef:b,role:y,update:k}=$H(a),{ariaModal:C,arrowStyle:w,contentAttrs:S,contentClass:E,contentStyle:v,updateZIndex:N}=VH(a,{styles:h,attributes:p,role:y}),P=e.inject($o,void 0);e.provide(nm,{arrowStyle:w,arrowRef:g}),P&&e.provide($o,{...P,addInputId:et,removeInputId:et});let T;const V=(O=!0)=>{k(),O&&N()},x=()=>{V(!1),a.visible&&a.focusOnShow?s.value=!0:a.visible===!1&&(s.value=!1)};return e.onMounted(()=>{e.watch(()=>a.triggerTargetEl,(O,D)=>{T==null||T(),T=void 0;const L=e.unref(O||m.value),H=e.unref(D||m.value);In(L)&&(T=e.watch([y,()=>a.ariaLabel,C,()=>a.id],$=>{["role","aria-label","aria-modal","id"].forEach((B,M)=>{Rt($[M])?L.removeAttribute(B):L.setAttribute(B,$[M])})},{immediate:!0})),H!==L&&In(H)&&["role","aria-label","aria-modal","id"].forEach($=>{H.removeAttribute($)})},{immediate:!0}),e.watch(()=>a.visible,x,{immediate:!0})}),e.onBeforeUnmount(()=>{T==null||T(),T=void 0,m.value=void 0}),n({popperContentRef:m,popperInstanceRef:b,updatePopper:V,contentStyle:v}),(O,D)=>(e.openBlock(),e.createElementBlock("div",e.mergeProps({ref_key:"contentRef",ref:m},e.unref(S),{style:e.unref(v),class:e.unref(E),tabindex:"-1",onMouseenter:D[0]||(D[0]=L=>O.$emit("mouseenter",L)),onMouseleave:D[1]||(D[1]=L=>O.$emit("mouseleave",L))}),[e.createVNode(e.unref(hl),{loop:t.loop,trapped:e.unref(s),"trap-on-focus-in":!0,"focus-trap-el":e.unref(m),"focus-start-el":e.unref(l),onFocusAfterTrapped:e.unref(c),onFocusAfterReleased:e.unref(i),onFocusin:e.unref(d),onFocusoutPrevented:e.unref(u),onReleaseRequested:e.unref(f)},{default:e.withCtx(()=>[e.renderSlot(O.$slots,"default")]),_:3},8,["loop","trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusin","onFocusoutPrevented","onReleaseRequested"])],16))}});const hm=Re(S5),RH={...Sw,...gk,content:"",visible:null,teleported:!0},lt=oe({...kw,...Bc,appendTo:{type:Ps.to.type},content:{type:String,default:""},rawContent:Boolean,persistent:Boolean,visible:{type:K(Boolean),default:null},transition:String,teleported:{type:Boolean,default:!0},disabled:Boolean,...cn(["ariaLabel"])}),MH={trigger:"hover",triggerKeys:()=>[te.enter,te.numpadEnter,te.space]},Vo=oe({...vc,disabled:Boolean,trigger:{type:K([String,Array]),default:"hover"},triggerKeys:{type:K(Array),default:()=>[te.enter,te.numpadEnter,te.space]},focusOnTarget:Boolean}),{useModelToggleProps:Hk,useModelToggleEmits:Kk,useModelToggle:Wk}=vf("visible"),jk=oe({...Sc,...Hk,...lt,...Vo,...Nc,showArrow:{type:Boolean,default:!0}}),Uk=[...Kk,"before-show","before-hide","show","hide","open","close"],Ic=Symbol("elTooltip"),gm=(t,n)=>ie(t)?t.includes(n):t===n,bl=(t,n,o)=>r=>{gm(e.unref(t),n)&&o(r)};var IH=e.defineComponent({name:"ElTooltipTrigger",__name:"trigger",props:Vo,setup(t,{expose:n}){const o=t,r=ee("tooltip"),{controlled:a,id:l,open:s,onOpen:i,onClose:c,onToggle:d}=e.inject(Ic,void 0),u=e.ref(null),f=()=>{if(e.unref(a)||o.disabled)return!0},p=e.toRef(o,"trigger"),g=qt(f,bl(p,"hover",w=>{i(w),o.focusOnTarget&&w.target&&e.nextTick(()=>{Hl(w.target,{preventScroll:!0})})})),m=qt(f,bl(p,"hover",c)),h=qt(f,bl(p,"click",w=>{w.button===0&&d(w)})),b=qt(f,bl(p,"focus",i)),y=qt(f,bl(p,"focus",c)),k=qt(f,bl(p,"contextmenu",w=>{w.preventDefault(),d(w)})),C=qt(f,w=>{const S=ut(w);o.triggerKeys.includes(S)&&(w.preventDefault(),d(w))});return n({triggerRef:u}),(w,S)=>(e.openBlock(),e.createBlock(e.unref(mk),{id:e.unref(l),"virtual-ref":t.virtualRef,open:e.unref(s),"virtual-triggering":t.virtualTriggering,class:e.normalizeClass(e.unref(r).e("trigger")),onBlur:e.unref(y),onClick:e.unref(h),onContextmenu:e.unref(k),onFocus:e.unref(b),onMouseenter:e.unref(g),onMouseleave:e.unref(m),onKeydown:e.unref(C)},{default:e.withCtx(()=>[e.renderSlot(w.$slots,"default")]),_:3},8,["id","virtual-ref","open","virtual-triggering","class","onBlur","onClick","onContextmenu","onFocus","onMouseenter","onMouseleave","onKeydown"]))}}),OH=e.defineComponent({name:"ElTooltipContent",inheritAttrs:!1,__name:"content",props:lt,setup(t,{expose:n}){const o=t,{selector:r}=Af(),a=ee("tooltip"),l=e.ref(),s=Rg(()=>{var B;return(B=l.value)==null?void 0:B.popperContentRef});let i;const{controlled:c,id:d,open:u,trigger:f,onClose:p,onOpen:g,onShow:m,onHide:h,onBeforeShow:b,onBeforeHide:y}=e.inject(Ic,void 0),k=e.computed(()=>o.transition||`${a.namespace.value}-fade-in-linear`),C=e.computed(()=>o.persistent);e.onBeforeUnmount(()=>{i==null||i()});const w=e.computed(()=>e.unref(C)?!0:e.unref(u)),S=e.computed(()=>o.disabled?!1:e.unref(u)),E=e.computed(()=>o.appendTo||r.value),v=e.computed(()=>{var B;return(B=o.style)!=null?B:{}}),N=e.ref(!0),P=()=>{h(),$()&&Hl(document.body,{preventScroll:!0}),N.value=!0},T=()=>{if(e.unref(c))return!0},V=qt(T,()=>{o.enterable&&gm(e.unref(f),"hover")&&g()}),x=qt(T,()=>{gm(e.unref(f),"hover")&&p()}),O=()=>{var B,M;(M=(B=l.value)==null?void 0:B.updatePopper)==null||M.call(B),b==null||b()},D=()=>{y==null||y()},L=()=>{m()},H=()=>{o.virtualTriggering||p()},$=B=>{var M;const I=(M=l.value)==null?void 0:M.popperContentRef,z=(B==null?void 0:B.relatedTarget)||document.activeElement;return I==null?void 0:I.contains(z)};return e.watch(()=>e.unref(u),B=>{B?(N.value=!1,i=Wd(s,()=>{if(e.unref(c))return;wn(e.unref(f)).every(I=>I!=="hover"&&I!=="focus")&&p()},{detectIframe:!0})):i==null||i()},{flush:"post"}),e.watch(()=>o.content,()=>{var B,M;(M=(B=l.value)==null?void 0:B.updatePopper)==null||M.call(B)}),n({contentRef:l,isFocusInsideContent:$}),(B,M)=>(e.openBlock(),e.createBlock(e.unref(pl),{disabled:!t.teleported,to:E.value},{default:e.withCtx(()=>[w.value||!N.value?(e.openBlock(),e.createBlock(e.Transition,{key:0,name:k.value,appear:!C.value,onAfterLeave:P,onBeforeEnter:O,onAfterEnter:L,onBeforeLeave:D,persisted:""},{default:e.withCtx(()=>[e.withDirectives(e.createVNode(e.unref(Fk),e.mergeProps({id:e.unref(d),ref_key:"contentRef",ref:l},B.$attrs,{"aria-label":t.ariaLabel,"aria-hidden":N.value,"boundaries-padding":t.boundariesPadding,"fallback-placements":t.fallbackPlacements,"gpu-acceleration":t.gpuAcceleration,offset:t.offset,placement:t.placement,"popper-options":t.popperOptions,"arrow-offset":t.arrowOffset,strategy:t.strategy,effect:t.effect,enterable:t.enterable,pure:t.pure,"popper-class":t.popperClass,"popper-style":[t.popperStyle,v.value],"reference-el":t.referenceEl,"trigger-target-el":t.triggerTargetEl,visible:S.value,"z-index":t.zIndex,loop:t.loop,onMouseenter:e.unref(V),onMouseleave:e.unref(x),onBlur:H,onClose:e.unref(p)}),{default:e.withCtx(()=>[e.renderSlot(B.$slots,"default")]),_:3},16,["id","aria-label","aria-hidden","boundaries-padding","fallback-placements","gpu-acceleration","offset","placement","popper-options","arrow-offset","strategy","effect","enterable","pure","popper-class","popper-style","reference-el","trigger-target-el","visible","z-index","loop","onMouseenter","onMouseleave","onClose"]),[[e.vShow,S.value]])]),_:3},8,["name","appear"])):e.createCommentVNode("v-if",!0)]),_:3},8,["disabled","to"]))}});const AH=["innerHTML"],zH={key:1};var DH=e.defineComponent({name:"ElTooltip",__name:"tooltip",props:jk,emits:Uk,setup(t,{expose:n,emit:o}){const r=t,a=o;ww();const l=ee("tooltip"),s=en(),i=e.ref(),c=e.ref(),d=()=>{var w;const S=e.unref(i);S&&((w=S.popperInstanceRef)==null||w.update())},u=e.ref(!1),f=e.ref(),{show:p,hide:g,hasUpdateHandler:m}=Wk({indicator:u,toggleReason:f}),{onOpen:h,onClose:b}=Ew({showAfter:e.toRef(r,"showAfter"),hideAfter:e.toRef(r,"hideAfter"),autoClose:e.toRef(r,"autoClose"),open:p,close:g}),y=e.computed(()=>ct(r.visible)&&!m.value),k=e.computed(()=>[l.b(),r.popperClass]);e.provide(Ic,{controlled:y,id:s,open:e.readonly(u),trigger:e.toRef(r,"trigger"),onOpen:h,onClose:b,onToggle:w=>{e.unref(u)?b(w):h(w)},onShow:()=>{a("show",f.value)},onHide:()=>{a("hide",f.value)},onBeforeShow:()=>{a("before-show",f.value)},onBeforeHide:()=>{a("before-hide",f.value)},updatePopper:d}),e.watch(()=>r.disabled,w=>{w&&u.value&&(u.value=!1)});const C=w=>{var S;return(S=c.value)==null?void 0:S.isFocusInsideContent(w)};return e.onDeactivated(()=>u.value&&g()),e.onBeforeUnmount(()=>{f.value=void 0}),n({popperRef:i,contentRef:c,isFocusInsideContent:C,updatePopper:d,onOpen:h,onClose:b,hide:g}),(w,S)=>(e.openBlock(),e.createBlock(e.unref(hm),{ref_key:"popperRef",ref:i,role:t.role},{default:e.withCtx(()=>[e.createVNode(IH,{disabled:t.disabled,trigger:t.trigger,"trigger-keys":t.triggerKeys,"virtual-ref":t.virtualRef,"virtual-triggering":t.virtualTriggering,"focus-on-target":t.focusOnTarget},{default:e.withCtx(()=>[w.$slots.default?e.renderSlot(w.$slots,"default",{key:0}):e.createCommentVNode("v-if",!0)]),_:3},8,["disabled","trigger","trigger-keys","virtual-ref","virtual-triggering","focus-on-target"]),e.createVNode(OH,{ref_key:"contentRef",ref:c,"aria-label":t.ariaLabel,"boundaries-padding":t.boundariesPadding,content:t.content,disabled:t.disabled,effect:t.effect,enterable:t.enterable,"fallback-placements":t.fallbackPlacements,"hide-after":t.hideAfter,"gpu-acceleration":t.gpuAcceleration,offset:t.offset,persistent:t.persistent,"popper-class":k.value,"popper-style":t.popperStyle,placement:t.placement,"popper-options":t.popperOptions,"arrow-offset":t.arrowOffset,pure:t.pure,"raw-content":t.rawContent,"reference-el":t.referenceEl,"trigger-target-el":t.triggerTargetEl,"show-after":t.showAfter,strategy:t.strategy,teleported:t.teleported,transition:t.transition,"virtual-triggering":t.virtualTriggering,"z-index":t.zIndex,"append-to":t.appendTo,loop:t.loop},{default:e.withCtx(()=>[e.renderSlot(w.$slots,"content",{},()=>[t.rawContent?(e.openBlock(),e.createElementBlock("span",{key:0,innerHTML:t.content},null,8,AH)):(e.openBlock(),e.createElementBlock("span",zH,e.toDisplayString(t.content),1))]),t.showArrow?(e.openBlock(),e.createBlock(e.unref(ck),{key:0})):e.createCommentVNode("v-if",!0)]),_:3},8,["aria-label","boundaries-padding","content","disabled","effect","enterable","fallback-placements","hide-after","gpu-acceleration","offset","persistent","popper-class","popper-style","placement","popper-options","arrow-offset","pure","raw-content","reference-el","trigger-target-el","show-after","strategy","teleported","transition","virtual-triggering","z-index","append-to","loop"])]),_:3},8,["role"]))}});const Jt=Re(DH),yl=oe({id:{type:String,default:void 0},size:Ht,disabled:{type:Boolean,default:void 0},modelValue:{type:K([String,Number,Object]),default:""},modelModifiers:{type:K(Object),default:()=>({})},maxlength:{type:[String,Number]},minlength:{type:[String,Number]},type:{type:K(String),default:"text"},resize:{type:String,values:["none","both","horizontal","vertical"]},autosize:{type:K([Boolean,Object]),default:!1},autocomplete:{type:K(String),default:"off"},formatter:{type:Function},parser:{type:Function},placeholder:{type:String},form:{type:String},readonly:Boolean,clearable:Boolean,clearIcon:{type:dt,default:jo},showPassword:Boolean,showWordLimit:Boolean,wordLimitPosition:{type:String,values:["inside","outside"],default:"inside"},suffixIcon:{type:dt},prefixIcon:{type:dt},containerRole:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},validateEvent:{type:Boolean,default:!0},inputStyle:{type:K([Object,Array,String]),default:()=>wt({})},autofocus:Boolean,rows:{type:Number,default:2},...cn(["ariaLabel"]),inputmode:{type:K(String),default:void 0},name:String}),Yk={[Ne]:t=>ve(t),input:t=>ve(t),change:(t,n)=>ve(t)&&(n instanceof Event||n===void 0),focus:t=>t instanceof FocusEvent,blur:t=>t instanceof FocusEvent,clear:()=>!0,mouseleave:t=>t instanceof MouseEvent,mouseenter:t=>t instanceof MouseEvent,keydown:t=>t instanceof Event,compositionstart:t=>t instanceof CompositionEvent,compositionupdate:t=>t instanceof CompositionEvent,compositionend:t=>t instanceof CompositionEvent},LH={disabled:void 0,modelValue:"",modelModifiers:()=>({}),type:"text",autocomplete:"off",clearIcon:e.markRaw(jo),wordLimitPosition:"inside",tabindex:0,validateEvent:!0,inputStyle:()=>({}),rows:2};let Ln;const _H={height:"0",visibility:"hidden",overflow:Yd()?"":"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0"},FH=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break"],Gk=t=>{const n=Number.parseFloat(t);return Number.isNaN(n)?t:n};function HH(t){const n=window.getComputedStyle(t),o=n.getPropertyValue("box-sizing"),r=Number.parseFloat(n.getPropertyValue("padding-bottom"))+Number.parseFloat(n.getPropertyValue("padding-top")),a=Number.parseFloat(n.getPropertyValue("border-bottom-width"))+Number.parseFloat(n.getPropertyValue("border-top-width"));return{contextStyle:FH.map(s=>[s,n.getPropertyValue(s)]),paddingSize:r,borderSize:a,boxSizing:o}}function qk(t,n=1,o){var r,a;Ln||(Ln=document.createElement("textarea"),((r=t.parentNode)!=null?r:document.body).appendChild(Ln));const{paddingSize:l,borderSize:s,boxSizing:i,contextStyle:c}=HH(t);c.forEach(([p,g])=>Ln==null?void 0:Ln.style.setProperty(p,g)),Object.entries(_H).forEach(([p,g])=>Ln==null?void 0:Ln.style.setProperty(p,g,"important")),Ln.value=t.value||t.placeholder||"";let d=Ln.scrollHeight;const u={};i==="border-box"?d=d+s:i==="content-box"&&(d=d-l),Ln.value="";const f=Ln.scrollHeight-l;if(pe(n)){let p=f*n;i==="border-box"&&(p=p+l+s),d=Math.max(p,d),u.minHeight=`${p}px`}if(pe(o)){let p=f*o;i==="border-box"&&(p=p+l+s),d=Math.min(p,d)}return u.height=`${d}px`,(a=Ln.parentNode)==null||a.removeChild(Ln),Ln=void 0,u}const KH=["id","name","minlength","maxlength","type","disabled","readonly","autocomplete","tabindex","aria-label","placeholder","form","autofocus","role","inputmode"],WH=["id","name","minlength","maxlength","tabindex","disabled","readonly","autocomplete","aria-label","placeholder","form","autofocus","rows","role"];var jH=e.defineComponent({name:"ElInput",inheritAttrs:!1,__name:"input",props:yl,emits:Yk,setup(t,{expose:n,emit:o}){const r=t,a=o,l=e.useAttrs(),s=gs(),i=e.useSlots(),c=e.computed(()=>[r.type==="textarea"?b.b():h.b(),h.m(g.value),h.is("disabled",m.value),h.is("exceed",A.value),{[h.b("group")]:i.prepend||i.append,[h.m("prefix")]:i.prefix||r.prefixIcon,[h.m("suffix")]:i.suffix||r.suffixIcon||r.clearable||r.showPassword,[h.bm("suffix","password-clear")]:M.value&&I.value,[h.b("hidden")]:r.type==="hidden"},l.class]),d=e.computed(()=>[h.e("wrapper"),h.is("focus",P.value)]),{form:u,formItem:f}=Zt(),{inputId:p}=Dn(r,{formItemContext:f}),g=zt(),m=kt(),h=ee("input"),b=ee("textarea"),y=e.shallowRef(),k=e.shallowRef(),C=e.ref(!1),w=e.ref(!1),S=e.ref(),E=e.shallowRef(r.inputStyle),v=e.computed(()=>y.value||k.value),{wrapperRef:N,isFocused:P,handleFocus:T,handleBlur:V}=Qo(v,{disabled:m,afterBlur(){var fe;r.validateEvent&&((fe=f==null?void 0:f.validate)==null||fe.call(f,"blur").catch(we=>void 0))}}),x=e.computed(()=>{var fe;return(fe=u==null?void 0:u.statusIcon)!=null?fe:!1}),O=e.computed(()=>(f==null?void 0:f.validateState)||""),D=e.computed(()=>O.value&&oc[O.value]),L=e.computed(()=>w.value?MF:oF),H=e.computed(()=>[l.style]),$=e.computed(()=>[r.inputStyle,E.value,{resize:r.resize}]),B=e.computed(()=>Rt(r.modelValue)?"":String(r.modelValue)),M=e.computed(()=>r.clearable&&!m.value&&!r.readonly&&!!B.value&&(P.value||C.value)),I=e.computed(()=>r.showPassword&&!m.value&&!!B.value),z=e.computed(()=>r.showWordLimit&&!!r.maxlength&&(r.type==="text"||r.type==="textarea")&&!m.value&&!r.readonly&&!r.showPassword),F=e.computed(()=>B.value.length),A=e.computed(()=>!!z.value&&F.value>Number(r.maxlength)),W=e.computed(()=>!!i.suffix||!!r.suffixIcon||M.value||r.showPassword||z.value||!!O.value&&x.value),j=e.computed(()=>!!Object.keys(r.modelModifiers).length),[G,X]=Yw(y);yt(k,fe=>{if(Y(),!z.value||r.resize!=="both"&&r.resize!=="horizontal")return;const we=fe[0],{width:Se}=we.contentRect;S.value={right:`calc(100% - ${Se+22-10}px)`}});const Q=()=>{const{type:fe,autosize:we}=r;if(!(!Je||fe!=="textarea"||!k.value))if(we){const Se=tt(we)?we.minRows:void 0,pt=tt(we)?we.maxRows:void 0,bt=qk(k.value,Se,pt);E.value={overflowY:"hidden",...bt},e.nextTick(()=>{k.value.offsetHeight,E.value=bt})}else E.value={minHeight:qk(k.value).minHeight}},Y=(fe=>{let we=!1;return()=>{var Se;if(we||!r.autosize)return;((Se=k.value)==null?void 0:Se.offsetParent)===null||(setTimeout(fe),we=!0)}})(Q),_=()=>{const fe=v.value,we=r.formatter?r.formatter(B.value):B.value;!fe||fe.value===we||r.type==="file"||(fe.value=we)},q=fe=>{const{trim:we,number:Se}=r.modelModifiers;return we&&(fe=fe.trim()),Se&&(fe=`${Gk(fe)}`),r.formatter&&r.parser&&(fe=r.parser(fe)),fe},le=async fe=>{if(Ce.value)return;const{lazy:we}=r.modelModifiers;let{value:Se}=fe.target;if(we){a(Dt,Se);return}if(Se=q(Se),String(Se)===B.value){r.formatter&&_();return}G(),a(Ne,Se),a(Dt,Se),await e.nextTick(),(r.formatter&&r.parser||!j.value)&&_(),X()},ue=async fe=>{let{value:we}=fe.target;we=q(we),r.modelModifiers.lazy&&a(Ne,we),a(_e,we,fe),await e.nextTick(),_()},{isComposing:Ce,handleCompositionStart:Ee,handleCompositionUpdate:Ve,handleCompositionEnd:Ie}=fl({emit:a,afterComposition:le}),qe=()=>{w.value=!w.value},We=()=>{var fe;return(fe=v.value)==null?void 0:fe.focus()},be=()=>{var fe;return(fe=v.value)==null?void 0:fe.blur()},ye=fe=>{C.value=!1,a("mouseleave",fe)},Te=fe=>{C.value=!0,a("mouseenter",fe)},Oe=fe=>{a("keydown",fe)},Fe=()=>{var fe;(fe=v.value)==null||fe.select()},Ue=()=>{a(Ne,""),a(_e,""),a("clear"),a(Dt,"")};return e.watch(()=>r.modelValue,()=>{var fe;e.nextTick(()=>Q()),r.validateEvent&&((fe=f==null?void 0:f.validate)==null||fe.call(f,"change").catch(we=>void 0))}),e.watch(B,fe=>{if(!v.value)return;const{trim:we,number:Se}=r.modelModifiers,pt=v.value.value,bt=(Se||r.type==="number")&&!/^0\d/.test(pt)?`${Gk(pt)}`:pt;bt!==fe&&(document.activeElement===v.value&&v.value.type!=="range"&&we&&bt.trim()===fe||_())}),e.watch(()=>r.type,async()=>{await e.nextTick(),_(),Q()}),e.onMounted(()=>{!r.formatter&&r.parser,_(),e.nextTick(Q)}),n({input:y,textarea:k,ref:v,textareaStyle:$,autosize:e.toRef(r,"autosize"),isComposing:Ce,focus:We,blur:be,select:Fe,clear:Ue,resizeTextarea:Q}),(fe,we)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass([c.value,{[e.unref(h).bm("group","append")]:fe.$slots.append,[e.unref(h).bm("group","prepend")]:fe.$slots.prepend}]),style:e.normalizeStyle(H.value),onMouseenter:Te,onMouseleave:ye},[e.createCommentVNode(" input "),t.type!=="textarea"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createCommentVNode(" prepend slot "),fe.$slots.prepend?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(h).be("group","prepend"))},[e.renderSlot(fe.$slots,"prepend")],2)):e.createCommentVNode("v-if",!0),e.createElementVNode("div",{ref_key:"wrapperRef",ref:N,class:e.normalizeClass(d.value)},[e.createCommentVNode(" prefix slot "),fe.$slots.prefix||t.prefixIcon?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(e.unref(h).e("prefix"))},[e.createElementVNode("span",{class:e.normalizeClass(e.unref(h).e("prefix-inner"))},[e.renderSlot(fe.$slots,"prefix"),t.prefixIcon?(e.openBlock(),e.createBlock(e.unref(ce),{key:0,class:e.normalizeClass(e.unref(h).e("icon"))},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.prefixIcon)))]),_:1},8,["class"])):e.createCommentVNode("v-if",!0)],2)],2)):e.createCommentVNode("v-if",!0),e.createElementVNode("input",e.mergeProps({id:e.unref(p),ref_key:"input",ref:y,class:e.unref(h).e("inner")},e.unref(s),{name:t.name,minlength:t.minlength,maxlength:t.maxlength,type:t.showPassword?w.value?"text":"password":t.type,disabled:e.unref(m),readonly:t.readonly,autocomplete:t.autocomplete,tabindex:t.tabindex,"aria-label":t.ariaLabel,placeholder:t.placeholder,style:t.inputStyle,form:t.form,autofocus:t.autofocus,role:t.containerRole,inputmode:t.inputmode,onCompositionstart:we[0]||(we[0]=(...Se)=>e.unref(Ee)&&e.unref(Ee)(...Se)),onCompositionupdate:we[1]||(we[1]=(...Se)=>e.unref(Ve)&&e.unref(Ve)(...Se)),onCompositionend:we[2]||(we[2]=(...Se)=>e.unref(Ie)&&e.unref(Ie)(...Se)),onInput:le,onChange:ue,onKeydown:Oe}),null,16,KH),e.createCommentVNode(" suffix slot "),W.value?(e.openBlock(),e.createElementBlock("span",{key:1,class:e.normalizeClass(e.unref(h).e("suffix"))},[e.createElementVNode("span",{class:e.normalizeClass(e.unref(h).e("suffix-inner"))},[!M.value||!I.value||!z.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.renderSlot(fe.$slots,"suffix"),t.suffixIcon?(e.openBlock(),e.createBlock(e.unref(ce),{key:0,class:e.normalizeClass(e.unref(h).e("icon"))},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.suffixIcon)))]),_:1},8,["class"])):e.createCommentVNode("v-if",!0)],64)):e.createCommentVNode("v-if",!0),M.value?(e.openBlock(),e.createBlock(e.unref(ce),{key:1,class:e.normalizeClass([e.unref(h).e("icon"),e.unref(h).e("clear")]),onMousedown:e.withModifiers(e.unref(et),["prevent"]),onClick:Ue},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.clearIcon)))]),_:1},8,["class","onMousedown"])):e.createCommentVNode("v-if",!0),I.value?(e.openBlock(),e.createBlock(e.unref(ce),{key:2,class:e.normalizeClass([e.unref(h).e("icon"),e.unref(h).e("password")]),onClick:qe,onMousedown:e.withModifiers(e.unref(et),["prevent"]),onMouseup:e.withModifiers(e.unref(et),["prevent"])},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(L.value)))]),_:1},8,["class","onMousedown","onMouseup"])):e.createCommentVNode("v-if",!0),z.value?(e.openBlock(),e.createElementBlock("span",{key:3,class:e.normalizeClass([e.unref(h).e("count"),e.unref(h).is("outside",t.wordLimitPosition==="outside")])},[e.createElementVNode("span",{class:e.normalizeClass(e.unref(h).e("count-inner"))},e.toDisplayString(F.value)+" / "+e.toDisplayString(t.maxlength),3)],2)):e.createCommentVNode("v-if",!0),O.value&&D.value&&x.value?(e.openBlock(),e.createBlock(e.unref(ce),{key:4,class:e.normalizeClass([e.unref(h).e("icon"),e.unref(h).e("validateIcon"),e.unref(h).is("loading",O.value==="validating")])},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(D.value)))]),_:1},8,["class"])):e.createCommentVNode("v-if",!0)],2)],2)):e.createCommentVNode("v-if",!0)],2),e.createCommentVNode(" append slot "),fe.$slots.append?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(h).be("group","append"))},[e.renderSlot(fe.$slots,"append")],2)):e.createCommentVNode("v-if",!0)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createCommentVNode(" textarea "),e.createElementVNode("textarea",e.mergeProps({id:e.unref(p),ref_key:"textarea",ref:k,class:[e.unref(b).e("inner"),e.unref(h).is("focus",e.unref(P))]},e.unref(s),{name:t.name,minlength:t.minlength,maxlength:t.maxlength,tabindex:t.tabindex,disabled:e.unref(m),readonly:t.readonly,autocomplete:t.autocomplete,style:$.value,"aria-label":t.ariaLabel,placeholder:t.placeholder,form:t.form,autofocus:t.autofocus,rows:t.rows,role:t.containerRole,onCompositionstart:we[3]||(we[3]=(...Se)=>e.unref(Ee)&&e.unref(Ee)(...Se)),onCompositionupdate:we[4]||(we[4]=(...Se)=>e.unref(Ve)&&e.unref(Ve)(...Se)),onCompositionend:we[5]||(we[5]=(...Se)=>e.unref(Ie)&&e.unref(Ie)(...Se)),onInput:le,onFocus:we[6]||(we[6]=(...Se)=>e.unref(T)&&e.unref(T)(...Se)),onBlur:we[7]||(we[7]=(...Se)=>e.unref(V)&&e.unref(V)(...Se)),onChange:ue,onKeydown:Oe}),null,16,WH),z.value?(e.openBlock(),e.createElementBlock("span",{key:0,style:e.normalizeStyle(S.value),class:e.normalizeClass([e.unref(h).e("count"),e.unref(h).is("outside",t.wordLimitPosition==="outside")])},e.toDisplayString(F.value)+" / "+e.toDisplayString(t.maxlength),7)):e.createCommentVNode("v-if",!0)],64))],38))}});const un=Re(jH),Xk=oe({...yl,valueKey:{type:String,default:"value"},modelValue:{type:[String,Number],default:""},debounce:{type:Number,default:300},placement:{type:K(String),values:["top","top-start","top-end","bottom","bottom-start","bottom-end"],default:"bottom-start"},fetchSuggestions:{type:K([Function,Array]),default:et},popperClass:lt.popperClass,popperStyle:lt.popperStyle,triggerOnFocus:{type:Boolean,default:!0},selectWhenUnmatched:Boolean,hideLoading:Boolean,teleported:lt.teleported,appendTo:lt.appendTo,highlightFirstItem:Boolean,fitInputWidth:Boolean,loopNavigation:{type:Boolean,default:!0}}),Zk={[Ne]:t=>ve(t)||pe(t),[Dt]:t=>ve(t)||pe(t),[_e]:t=>ve(t)||pe(t),focus:t=>t instanceof FocusEvent,blur:t=>t instanceof FocusEvent,clear:()=>!0,select:t=>tt(t)},Jk=oe({distance:{type:Number,default:0},height:{type:[String,Number],default:""},maxHeight:{type:[String,Number],default:""},native:Boolean,wrapStyle:{type:K([String,Object,Array]),default:""},wrapClass:{type:[String,Array],default:""},viewClass:{type:[String,Array],default:""},viewStyle:{type:[String,Array,Object],default:""},noresize:Boolean,tag:{type:String,default:"div"},always:Boolean,minSize:{type:Number,default:20},tabindex:{type:[String,Number],default:void 0},id:String,role:String,...cn(["ariaLabel","ariaOrientation"])}),bm={"end-reached":t=>["left","right","top","bottom"].includes(t),scroll:({scrollTop:t,scrollLeft:n})=>[t,n].every(pe)},UH=oe({always:{type:Boolean,default:!0},minSize:{type:Number,required:!0}}),ya=4,ym={vertical:{offset:"offsetHeight",scroll:"scrollTop",scrollSize:"scrollHeight",size:"height",key:"vertical",axis:"Y",client:"clientY",direction:"top"},horizontal:{offset:"offsetWidth",scroll:"scrollLeft",scrollSize:"scrollWidth",size:"width",key:"horizontal",axis:"X",client:"clientX",direction:"left"}},Qk=({move:t,size:n,bar:o})=>({[o.size]:n,transform:`translate${o.axis}(${t}%)`}),e1=oe({vertical:Boolean,size:String,move:Number,ratio:{type:Number,required:!0},always:Boolean}),Oc=Symbol("scrollbarContextKey"),YH="Thumb";var t1=e.defineComponent({__name:"thumb",props:e1,setup(t){const n=t,o=e.inject(Oc),r=ee("scrollbar");o||Ft(YH,"can not inject scrollbar context");const a=e.ref(),l=e.ref(),s=e.ref({}),i=e.ref(!1);let c=!1,d=!1,u=0,f=0,p=Je?document.onselectstart:null;const g=e.computed(()=>ym[n.vertical?"vertical":"horizontal"]),m=e.computed(()=>Qk({size:n.size,move:n.move,bar:g.value})),h=e.computed(()=>a.value[g.value.offset]**2/o.wrapElement[g.value.scrollSize]/n.ratio/l.value[g.value.offset]),b=N=>{var P;if(N.stopPropagation(),N.ctrlKey||[1,2].includes(N.button))return;(P=window.getSelection())==null||P.removeAllRanges(),k(N);const T=N.currentTarget;T&&(s.value[g.value.axis]=T[g.value.offset]-(N[g.value.client]-T.getBoundingClientRect()[g.value.direction]))},y=N=>{if(!l.value||!a.value||!o.wrapElement)return;const P=Math.abs(N.target.getBoundingClientRect()[g.value.direction]-N[g.value.client]),T=l.value[g.value.offset]/2,V=(P-T)*100*h.value/a.value[g.value.offset];o.wrapElement[g.value.scroll]=V*o.wrapElement[g.value.scrollSize]/100},k=N=>{N.stopImmediatePropagation(),c=!0,u=o.wrapElement.scrollHeight,f=o.wrapElement.scrollWidth,document.addEventListener("mousemove",C),document.addEventListener("mouseup",w),p=document.onselectstart,document.onselectstart=()=>!1},C=N=>{if(!a.value||!l.value||c===!1)return;const P=s.value[g.value.axis];if(!P)return;const T=(a.value.getBoundingClientRect()[g.value.direction]-N[g.value.client])*-1,V=l.value[g.value.offset]-P,x=(T-V)*100*h.value/a.value[g.value.offset];g.value.scroll==="scrollLeft"?o.wrapElement[g.value.scroll]=x*f/100:o.wrapElement[g.value.scroll]=x*u/100},w=()=>{c=!1,s.value[g.value.axis]=0,document.removeEventListener("mousemove",C),document.removeEventListener("mouseup",w),v(),d&&(i.value=!1)},S=()=>{d=!1,i.value=!!n.size},E=()=>{d=!0,i.value=c};e.onBeforeUnmount(()=>{v(),document.removeEventListener("mouseup",w)});const v=()=>{document.onselectstart!==p&&(document.onselectstart=p)};return nt(e.toRef(o,"scrollbarElement"),"mousemove",S),nt(e.toRef(o,"scrollbarElement"),"mouseleave",E),(N,P)=>(e.openBlock(),e.createBlock(e.Transition,{name:e.unref(r).b("fade"),persisted:""},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",{ref_key:"instance",ref:a,class:e.normalizeClass([e.unref(r).e("bar"),e.unref(r).is(g.value.key)]),onMousedown:y,onClick:P[0]||(P[0]=e.withModifiers(()=>{},["stop"]))},[e.createElementVNode("div",{ref_key:"thumb",ref:l,class:e.normalizeClass(e.unref(r).e("thumb")),style:e.normalizeStyle(m.value),onMousedown:b},null,38)],34),[[e.vShow,t.always||i.value]])]),_:1},8,["name"]))}}),GH=e.defineComponent({__name:"bar",props:UH,setup(t,{expose:n}){const o=t,r=e.inject(Oc),a=e.ref(0),l=e.ref(0),s=e.ref(""),i=e.ref(""),c=e.ref(1),d=e.ref(1);return n({handleScroll:p=>{if(p){const g=p.offsetHeight-ya,m=p.offsetWidth-ya;l.value=p.scrollTop*100/g*c.value,a.value=p.scrollLeft*100/m*d.value}},update:()=>{const p=r==null?void 0:r.wrapElement;if(!p)return;const g=p.offsetHeight-ya,m=p.offsetWidth-ya,h=g**2/p.scrollHeight,b=m**2/p.scrollWidth,y=Math.max(h,o.minSize),k=Math.max(b,o.minSize);c.value=h/(g-h)/(y/(g-y)),d.value=b/(m-b)/(k/(m-k)),i.value=y+ya(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(t1,{move:a.value,ratio:d.value,size:s.value,always:t.always},null,8,["move","ratio","size","always"]),e.createVNode(t1,{move:l.value,ratio:c.value,size:i.value,vertical:"",always:t.always},null,8,["move","ratio","size","always"])],64))}});const qH=["tabindex"];var XH=e.defineComponent({name:"ElScrollbar",__name:"scrollbar",props:Jk,emits:bm,setup(t,{expose:n,emit:o}){const r=t,a=o,l=ee("scrollbar");let s,i,c,d=0,u=0,f="";const p={bottom:!1,top:!1,right:!1,left:!1},g=e.ref(),m=e.ref(),h=e.ref(),b=e.ref(),y=e.computed(()=>{const x={},O=$t(r.height),D=$t(r.maxHeight);return O&&(x.height=O),D&&(x.maxHeight=D),[r.wrapStyle,x]}),k=e.computed(()=>[r.wrapClass,l.e("wrap"),{[l.em("wrap","hidden-default")]:!r.native}]),C=e.computed(()=>[l.e("view"),r.viewClass]),w=x=>{var O;return(O=p[x])!=null?O:!1},S={top:"bottom",bottom:"top",left:"right",right:"left"},E=x=>{const O=S[f];if(!O)return;const D=x[f],L=x[O];D&&!p[f]&&(p[f]=!0),!L&&p[O]&&(p[O]=!1)},v=()=>{var x;if(m.value){(x=b.value)==null||x.handleScroll(m.value);const O=d,D=u;d=m.value.scrollTop,u=m.value.scrollLeft;const L={bottom:d+m.value.clientHeight>=m.value.scrollHeight-r.distance,top:d<=r.distance&&O!==0,right:u+m.value.clientWidth>=m.value.scrollWidth-r.distance&&D!==u,left:u<=r.distance&&D!==0};if(a("scroll",{scrollTop:d,scrollLeft:u}),O!==d&&(f=d>O?"bottom":"top"),D!==u&&(f=u>D?"right":"left"),r.distance>0){if(w(f))return;E(L)}L[f]&&a("end-reached",f)}};function N(x,O){tt(x)?m.value.scrollTo(x):pe(x)&&pe(O)&&m.value.scrollTo(x,O)}const P=x=>{pe(x)&&(m.value.scrollTop=x)},T=x=>{pe(x)&&(m.value.scrollLeft=x)},V=()=>{var x;(x=b.value)==null||x.update(),p[f]=!1};return e.watch(()=>r.noresize,x=>{x?(s==null||s(),i==null||i(),c==null||c()):({stop:s}=yt(h,V),{stop:i}=yt(m,V),c=nt("resize",V))},{immediate:!0}),e.watch(()=>[r.maxHeight,r.height],()=>{r.native||e.nextTick(()=>{var x;V(),m.value&&((x=b.value)==null||x.handleScroll(m.value))})}),e.provide(Oc,e.reactive({scrollbarElement:g,wrapElement:m})),e.onActivated(()=>{m.value&&(m.value.scrollTop=d,m.value.scrollLeft=u)}),e.onMounted(()=>{r.native||e.nextTick(()=>{V()})}),e.onUpdated(()=>V()),n({wrapRef:m,update:V,scrollTo:N,setScrollTop:P,setScrollLeft:T,handleScroll:v}),(x,O)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"scrollbarRef",ref:g,class:e.normalizeClass(e.unref(l).b())},[e.createElementVNode("div",{ref_key:"wrapRef",ref:m,class:e.normalizeClass(k.value),style:e.normalizeStyle(y.value),tabindex:t.tabindex,onScroll:v},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.tag),{id:t.id,ref_key:"resizeRef",ref:h,class:e.normalizeClass(C.value),style:e.normalizeStyle(t.viewStyle),role:t.role,"aria-label":t.ariaLabel,"aria-orientation":t.ariaOrientation},{default:e.withCtx(()=>[e.renderSlot(x.$slots,"default")]),_:3},8,["id","class","style","role","aria-label","aria-orientation"]))],46,qH),t.native?e.createCommentVNode("v-if",!0):(e.openBlock(),e.createBlock(GH,{key:0,ref_key:"barRef",ref:b,always:t.always,"min-size":t.minSize},null,8,["always","min-size"]))],2))}});const mo=Re(XH),ZH=["aria-expanded","aria-owns"],JH={key:0},QH=["id","aria-selected","onClick"],n1="ElAutocomplete";var eK=e.defineComponent({name:n1,inheritAttrs:!1,__name:"autocomplete",props:Xk,emits:Zk,setup(t,{expose:n,emit:o}){const r=t,a=o,l=e.computed(()=>_o(r,Object.keys(yl))),s=e.useAttrs(),i=kt(),c=ee("autocomplete"),d=e.ref(),u=e.ref(),f=e.ref(),p=e.ref();let g=!1,m=!1;const h=e.ref([]),b=e.ref(-1),y=e.ref(""),k=e.ref(!1),C=e.ref(!1),w=e.ref(!1),S=en(),E=e.computed(()=>s.style),v=e.computed(()=>(h.value.length>0||w.value)&&k.value),N=e.computed(()=>!r.hideLoading&&w.value),P=e.computed(()=>d.value?Array.from(d.value.$el.querySelectorAll("input")):[]),T=()=>{v.value&&(y.value=`${d.value.$el.offsetWidth}px`)},V=()=>{b.value=-1},x=async _=>{if(C.value)return;const q=le=>{w.value=!1,!C.value&&(ie(le)?(h.value=le,b.value=r.highlightFirstItem?0:-1):Ft(n1,"autocomplete suggestions must be an array"))};if(w.value=!0,ie(r.fetchSuggestions))q(r.fetchSuggestions);else{const le=await r.fetchSuggestions(_,q);ie(le)&&q(le)}},O=e.computed(()=>r.debounce),D=Wl(x,O),L=_=>{const q=!!_;if(a(Dt,_),a(Ne,_),C.value=!1,k.value||(k.value=q),!r.triggerOnFocus&&!_){C.value=!0,h.value=[];return}D(_)},H=_=>{var q;i.value||(((q=_.target)==null?void 0:q.tagName)!=="INPUT"||P.value.includes(document.activeElement))&&(k.value=!0)},$=_=>{a(_e,_)},B=_=>{var q;if(m)m=!1;else{k.value=!0,a("focus",_);const le=(q=r.modelValue)!=null?q:"";r.triggerOnFocus&&!g&&D(String(le))}},M=_=>{setTimeout(()=>{var q;if((q=f.value)!=null&&q.isFocusInsideContent()){m=!0;return}k.value&&A(),a("blur",_)})},I=()=>{k.value=!1,a(Ne,""),a("clear")},z=async()=>{var _;(_=d.value)!=null&&_.isComposing||(v.value&&b.value>=0&&b.value{v.value&&(_.preventDefault(),_.stopPropagation(),A())},A=()=>{k.value=!1},W=()=>{var _;(_=d.value)==null||_.focus()},j=()=>{var _;(_=d.value)==null||_.blur()},G=async _=>{a(Dt,_[r.valueKey]),a(Ne,_[r.valueKey]),a("select",_),h.value=[],b.value=-1},X=_=>{var q,le;if(!v.value||w.value)return;if(_<0){if(!r.loopNavigation){b.value=-1;return}_=h.value.length-1}_>=h.value.length&&(_=r.loopNavigation?0:h.value.length-1);const[ue,Ce]=Q(),Ee=Ce[_],Ve=ue.scrollTop,{offsetTop:Ie,scrollHeight:qe}=Ee;Ie+qe>Ve+ue.clientHeight&&(ue.scrollTop=Ie+qe-ue.clientHeight),Ie{const _=u.value.querySelector(`.${c.be("suggestion","wrap")}`),q=_.querySelectorAll(`.${c.be("suggestion","list")} li`);return[_,q]},J=Wd(p,()=>{var _;(_=f.value)!=null&&_.isFocusInsideContent()||v.value&&A()}),Y=_=>{switch(ut(_)){case te.up:_.preventDefault(),X(b.value-1);break;case te.down:_.preventDefault(),X(b.value+1);break;case te.enter:case te.numpadEnter:_.preventDefault(),z();break;case te.tab:A();break;case te.esc:F(_);break;case te.home:_.preventDefault(),X(0);break;case te.end:_.preventDefault(),X(h.value.length-1);break;case te.pageUp:_.preventDefault(),X(Math.max(0,b.value-10));break;case te.pageDown:_.preventDefault(),X(Math.min(h.value.length-1,b.value+10));break}};return e.onBeforeUnmount(()=>{J==null||J()}),e.onMounted(()=>{var _;const q=(_=d.value)==null?void 0:_.ref;q&&([{key:"role",value:"textbox"},{key:"aria-autocomplete",value:"list"},{key:"aria-controls",value:S.value},{key:"aria-activedescendant",value:`${S.value}-item-${b.value}`}].forEach(({key:le,value:ue})=>q.setAttribute(le,ue)),g=q.hasAttribute("readonly"))}),n({highlightedIndex:b,activated:k,loading:w,inputRef:d,popperRef:f,suggestions:h,handleSelect:G,handleKeyEnter:z,focus:W,blur:j,close:A,highlight:X,getData:x}),(_,q)=>(e.openBlock(),e.createBlock(e.unref(Jt),{ref_key:"popperRef",ref:f,visible:v.value,placement:t.placement,"fallback-placements":["bottom-start","top-start"],"popper-class":[e.unref(c).e("popper"),t.popperClass],"popper-style":t.popperStyle,teleported:t.teleported,"append-to":t.appendTo,"gpu-acceleration":!1,pure:"","manual-mode":"",effect:"light",trigger:"click",transition:`${e.unref(c).namespace.value}-zoom-in-top`,persistent:"",role:"listbox",onBeforeShow:T,onHide:V},{content:e.withCtx(()=>[e.createElementVNode("div",{ref_key:"regionRef",ref:u,class:e.normalizeClass([e.unref(c).b("suggestion"),e.unref(c).is("loading",N.value)]),style:e.normalizeStyle({[t.fitInputWidth?"width":"minWidth"]:y.value,outline:"none"}),role:"region"},[_.$slots.header?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(c).be("suggestion","header")),onClick:q[0]||(q[0]=e.withModifiers(()=>{},["stop"]))},[e.renderSlot(_.$slots,"header")],2)):e.createCommentVNode("v-if",!0),e.createVNode(e.unref(mo),{id:e.unref(S),tag:"ul","wrap-class":e.unref(c).be("suggestion","wrap"),"view-class":e.unref(c).be("suggestion","list"),role:"listbox"},{default:e.withCtx(()=>[N.value?(e.openBlock(),e.createElementBlock("li",JH,[e.renderSlot(_.$slots,"loading",{},()=>[e.createVNode(e.unref(ce),{class:e.normalizeClass(e.unref(c).is("loading"))},{default:e.withCtx(()=>[e.createVNode(e.unref(Uo))]),_:1},8,["class"])])])):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(h.value,(le,ue)=>(e.openBlock(),e.createElementBlock("li",{id:`${e.unref(S)}-item-${ue}`,key:ue,class:e.normalizeClass({highlighted:b.value===ue}),role:"option","aria-selected":b.value===ue,onClick:Ce=>G(le)},[e.renderSlot(_.$slots,"default",{item:le},()=>[e.createTextVNode(e.toDisplayString(le[t.valueKey]),1)])],10,QH))),128))]),_:3},8,["id","wrap-class","view-class"]),_.$slots.footer?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(c).be("suggestion","footer")),onClick:q[1]||(q[1]=e.withModifiers(()=>{},["stop"]))},[e.renderSlot(_.$slots,"footer")],2)):e.createCommentVNode("v-if",!0)],6)]),default:e.withCtx(()=>[e.createElementVNode("div",{ref_key:"listboxRef",ref:p,class:e.normalizeClass([e.unref(c).b(),_.$attrs.class]),style:e.normalizeStyle(E.value),role:"combobox","aria-haspopup":"listbox","aria-expanded":v.value,"aria-owns":e.unref(S)},[e.createVNode(e.unref(un),e.mergeProps({ref_key:"inputRef",ref:d},e.mergeProps(l.value,_.$attrs),{"model-value":t.modelValue,disabled:e.unref(i),onInput:L,onChange:$,onFocus:B,onBlur:M,onClear:I,onKeydown:Y,onMousedown:H}),e.createSlots({_:2},[_.$slots.prepend?{name:"prepend",fn:e.withCtx(()=>[e.renderSlot(_.$slots,"prepend")]),key:"0"}:void 0,_.$slots.append?{name:"append",fn:e.withCtx(()=>[e.renderSlot(_.$slots,"append")]),key:"1"}:void 0,_.$slots.prefix?{name:"prefix",fn:e.withCtx(()=>[e.renderSlot(_.$slots,"prefix")]),key:"2"}:void 0,_.$slots.suffix?{name:"suffix",fn:e.withCtx(()=>[e.renderSlot(_.$slots,"suffix")]),key:"3"}:void 0]),1040,["model-value","disabled"])],14,ZH)]),_:3},8,["visible","placement","popper-class","popper-style","teleported","append-to","transition"]))}});const o1=Re(eK),r1=oe({size:{type:[Number,String],values:Jn,validator:t=>pe(t)},shape:{type:String,values:["circle","square"]},icon:{type:dt},src:{type:String,default:""},alt:String,srcSet:String,fit:{type:K(String),default:"cover"}}),a1={error:t=>t instanceof Event},Cm=Symbol("avatarGroupContextKey"),tK=["src","alt","srcset"];var l1=e.defineComponent({name:"ElAvatar",__name:"avatar",props:r1,emits:a1,setup(t,{emit:n}){const o=t,r=n,a=e.inject(Cm,void 0),l=ee("avatar"),s=e.ref(!1),i=e.computed(()=>{var g;return(g=o.size)!=null?g:a==null?void 0:a.size}),c=e.computed(()=>{var g,m;return(m=(g=o.shape)!=null?g:a==null?void 0:a.shape)!=null?m:"circle"}),d=e.computed(()=>{const{icon:g}=o,m=[l.b()];return ve(i.value)&&m.push(l.m(i.value)),g&&m.push(l.m("icon")),c.value&&m.push(l.m(c.value)),m}),u=e.computed(()=>pe(i.value)?l.cssVarBlock({size:$t(i.value)}):void 0),f=e.computed(()=>({objectFit:o.fit}));e.watch(()=>[o.src,o.srcSet],()=>s.value=!1);function p(g){s.value=!0,r("error",g)}return(g,m)=>(e.openBlock(),e.createElementBlock("span",{class:e.normalizeClass(d.value),style:e.normalizeStyle(u.value)},[(t.src||t.srcSet)&&!s.value?(e.openBlock(),e.createElementBlock("img",{key:0,src:t.src,alt:t.alt,srcset:t.srcSet,style:e.normalizeStyle(f.value),onError:p},null,44,tK)):t.icon?(e.openBlock(),e.createBlock(e.unref(ce),{key:1},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.icon)))]),_:1})):e.renderSlot(g.$slots,"default",{key:2})],6))}});const s1={size:{type:K([Number,String]),values:Jn,validator:t=>pe(t)},shape:{type:K(String),values:["circle","square"]},collapseAvatars:Boolean,collapseAvatarsTooltip:Boolean,maxCollapseAvatars:{type:Number,default:1},effect:{type:K(String),default:"light"},placement:{type:K(String),values:Yo,default:"top"},popperClass:lt.popperClass,popperStyle:lt.popperStyle,collapseClass:String,collapseStyle:{type:K([String,Array,Object])}};var i1=e.defineComponent({name:"ElAvatarGroup",props:s1,setup(t,{slots:n}){const o=ee("avatar-group");return e.provide(Cm,e.reactive({size:e.toRef(t,"size"),shape:e.toRef(t,"shape")})),()=>{var r,a;const l=Yn((a=(r=n.default)==null?void 0:r.call(n))!=null?a:[]);let s=l;if(t.collapseAvatars&&l.length>t.maxCollapseAvatars){s=l.slice(0,t.maxCollapseAvatars);const c=l.slice(t.maxCollapseAvatars);s.push(e.createVNode(Jt,{popperClass:t.popperClass,popperStyle:t.popperStyle,placement:t.placement,effect:t.effect,disabled:!t.collapseAvatarsTooltip},{default:()=>e.createVNode(l1,{size:t.size,shape:t.shape,class:t.collapseClass,style:t.collapseStyle},{default:()=>[e.createTextVNode("+ "),c.length]}),content:()=>e.createVNode("div",{class:o.e("collapse-avatars")},[c.map((d,u)=>{var f;return e.isVNode(d)?e.cloneVNode(d,{key:(f=d.key)!=null?f:u}):d})])}))}return e.createVNode("div",{class:o.b()},[s])}}});const c1=Re(l1,{AvatarGroup:i1}),d1=Bt(i1),u1={visibilityHeight:{type:Number,default:200},target:{type:String,default:""},right:{type:Number,default:40},bottom:{type:Number,default:40}},f1={click:t=>t instanceof MouseEvent},nK=(t,n,o)=>{const r=e.shallowRef(),a=e.shallowRef(),l=e.ref(!1),s=()=>{r.value&&(l.value=r.value.scrollTop>=t.visibilityHeight)},i=d=>{var u;(u=r.value)==null||u.scrollTo({top:0,behavior:"smooth"}),n("click",d)},c=Ag(s,300,!0);return nt(a,"scroll",c),e.onMounted(()=>{var d;a.value=document,r.value=document.documentElement,t.target&&(r.value=(d=document.querySelector(t.target))!=null?d:void 0,r.value||Ft(o,`target does not exist: ${t.target}`),a.value=r.value),s()}),{visible:l,handleClick:i}},m1="ElBacktop";var oK=e.defineComponent({name:m1,__name:"backtop",props:u1,emits:f1,setup(t,{emit:n}){const o=t,r=n,a=ee("backtop"),{handleClick:l,visible:s}=nK(o,r,m1),i=e.computed(()=>({right:`${o.right}px`,bottom:`${o.bottom}px`}));return(c,d)=>(e.openBlock(),e.createBlock(e.Transition,{name:`${e.unref(a).namespace.value}-fade-in`},{default:e.withCtx(()=>[e.unref(s)?(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(i.value),class:e.normalizeClass(e.unref(a).b()),onClick:d[0]||(d[0]=e.withModifiers((...u)=>e.unref(l)&&e.unref(l)(...u),["stop"]))},[e.renderSlot(c.$slots,"default",{},()=>[e.createVNode(e.unref(ce),{class:e.normalizeClass(e.unref(a).e("icon"))},{default:e.withCtx(()=>[e.createVNode(e.unref(L_))]),_:1},8,["class"])])],6)):e.createCommentVNode("v-if",!0)]),_:3},8,["name"]))}});const p1=Re(oK),h1=oe({value:{type:[String,Number],default:""},max:{type:Number,default:99},isDot:Boolean,hidden:Boolean,type:{type:String,values:["primary","success","warning","info","danger"],default:"danger"},showZero:{type:Boolean,default:!0},color:String,badgeStyle:{type:K([String,Object,Array])},offset:{type:K(Array),default:()=>[0,0]},badgeClass:{type:String}});var rK=e.defineComponent({name:"ElBadge",__name:"badge",props:h1,setup(t,{expose:n}){const o=t,r=ee("badge"),a=e.computed(()=>o.isDot?"":pe(o.value)&&pe(o.max)?o.max{var s;return[{backgroundColor:o.color,marginRight:$t(-o.offset[0]),marginTop:$t(o.offset[1])},(s=o.badgeStyle)!=null?s:{}]});return n({content:a}),(s,i)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(r).b())},[e.renderSlot(s.$slots,"default"),e.createVNode(e.Transition,{name:`${e.unref(r).namespace.value}-zoom-in-center`,persisted:""},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("sup",{class:e.normalizeClass([e.unref(r).e("content"),e.unref(r).em("content",t.type),e.unref(r).is("fixed",!!s.$slots.default),e.unref(r).is("dot",t.isDot),e.unref(r).is("hide-zero",!t.showZero&&t.value===0),t.badgeClass]),style:e.normalizeStyle(l.value)},[e.renderSlot(s.$slots,"content",{value:a.value},()=>[e.createTextVNode(e.toDisplayString(a.value),1)])],6),[[e.vShow,!t.hidden&&(a.value||t.isDot||s.$slots.content)]])]),_:3},8,["name"])],2))}});const wm=Re(rK),g1=oe({separator:{type:String,default:"/"},separatorIcon:{type:dt}}),km=Symbol("breadcrumbKey"),aK=["aria-label"];var lK=e.defineComponent({name:"ElBreadcrumb",__name:"breadcrumb",props:g1,setup(t){const{t:n}=je(),o=t,r=ee("breadcrumb"),a=e.ref();return e.provide(km,o),e.onMounted(()=>{const l=a.value.querySelectorAll(`.${r.e("item")}`);l.length&&l[l.length-1].setAttribute("aria-current","page")}),(l,s)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"breadcrumb",ref:a,class:e.normalizeClass(e.unref(r).b()),"aria-label":e.unref(n)("el.breadcrumb.label"),role:"navigation"},[e.renderSlot(l.$slots,"default")],10,aK))}});const b1=oe({to:{type:K([String,Object]),default:""},replace:Boolean});var y1=e.defineComponent({name:"ElBreadcrumbItem",__name:"breadcrumb-item",props:b1,setup(t){const n=t,o=e.getCurrentInstance(),r=e.inject(km,void 0),a=ee("breadcrumb"),l=o.appContext.config.globalProperties.$router,s=()=>{!n.to||!l||(n.replace?l.replace(n.to):l.push(n.to))};return(i,c)=>{var d,u;return e.openBlock(),e.createElementBlock("span",{class:e.normalizeClass(e.unref(a).e("item"))},[e.createElementVNode("span",{class:e.normalizeClass([e.unref(a).e("inner"),e.unref(a).is("link",!!t.to)]),role:"link",onClick:s},[e.renderSlot(i.$slots,"default")],2),(d=e.unref(r))!=null&&d.separatorIcon?(e.openBlock(),e.createBlock(e.unref(ce),{key:0,class:e.normalizeClass(e.unref(a).e("separator"))},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(r).separatorIcon)))]),_:1},8,["class"])):(e.openBlock(),e.createElementBlock("span",{key:1,class:e.normalizeClass(e.unref(a).e("separator")),role:"presentation"},e.toDisplayString((u=e.unref(r))==null?void 0:u.separator),3))],2)}}});const C1=Re(lK,{BreadcrumbItem:y1}),w1=Bt(y1),Ac=["default","primary","success","warning","info","danger","text",""],k1=["button","submit","reset"],zc=oe({size:Ht,disabled:{type:Boolean,default:void 0},type:{type:String,values:Ac,default:""},icon:{type:dt},nativeType:{type:String,values:k1,default:"button"},loading:Boolean,loadingIcon:{type:dt,default:()=>Uo},plain:{type:Boolean,default:void 0},text:{type:Boolean,default:void 0},link:Boolean,bg:Boolean,autofocus:Boolean,round:{type:Boolean,default:void 0},circle:Boolean,color:String,dark:Boolean,autoInsertSpace:{type:Boolean,default:void 0},tag:{type:K([String,Object]),default:"button"}}),S1={click:t=>t instanceof MouseEvent},Sm=Symbol("buttonGroupContextKey"),sK=(t,n)=>{No({from:"type.text",replacement:"link",version:"3.0.0",scope:"props",ref:"https://element-plus.org/en-US/component/button.html#button-attributes"},e.computed(()=>t.type==="text"));const o=e.inject(Sm,void 0),r=ga("button"),{form:a}=Zt(),l=zt(e.computed(()=>o==null?void 0:o.size)),s=kt(),i=e.ref(),c=e.useSlots(),d=e.computed(()=>{var y;return t.type||(o==null?void 0:o.type)||((y=r.value)==null?void 0:y.type)||""}),u=e.computed(()=>{var y,k,C;return(C=(k=t.autoInsertSpace)!=null?k:(y=r.value)==null?void 0:y.autoInsertSpace)!=null?C:!1}),f=e.computed(()=>{var y,k,C;return(C=(k=t.plain)!=null?k:(y=r.value)==null?void 0:y.plain)!=null?C:!1}),p=e.computed(()=>{var y,k,C;return(C=(k=t.round)!=null?k:(y=r.value)==null?void 0:y.round)!=null?C:!1}),g=e.computed(()=>{var y,k,C;return(C=(k=t.text)!=null?k:(y=r.value)==null?void 0:y.text)!=null?C:!1}),m=e.computed(()=>t.tag==="button"?{ariaDisabled:s.value||t.loading,disabled:s.value||t.loading,autofocus:t.autofocus,type:t.nativeType}:{}),h=e.computed(()=>{var y;const k=(y=c.default)==null?void 0:y.call(c);if(u.value&&(k==null?void 0:k.length)===1){const C=k[0];if((C==null?void 0:C.type)===e.Text){const w=C.children;return/^\p{Unified_Ideograph}{2}$/u.test(w.trim())}}return!1});return{_disabled:s,_size:l,_type:d,_ref:i,_props:m,_plain:f,_round:p,_text:g,shouldAddSpace:h,handleClick:y=>{if(s.value||t.loading){y.stopPropagation();return}t.nativeType==="reset"&&(a==null||a.resetFields()),n("click",y)}}};function fn(t,n){iK(t)&&(t="100%");var o=cK(t);return t=n===360?t:Math.min(n,Math.max(0,parseFloat(t))),o&&(t=parseInt(String(t*n),10)/100),Math.abs(t-n)<1e-6?1:(n===360?t=(t<0?t%n+n:t%n)/parseFloat(String(n)):t=t%n/parseFloat(String(n)),t)}function Dc(t){return Math.min(1,Math.max(0,t))}function iK(t){return typeof t=="string"&&t.indexOf(".")!==-1&&parseFloat(t)===1}function cK(t){return typeof t=="string"&&t.indexOf("%")!==-1}function E1(t){return t=parseFloat(t),(isNaN(t)||t<0||t>1)&&(t=1),t}function Lc(t){return t<=1?"".concat(Number(t)*100,"%"):t}function Ca(t){return t.length===1?"0"+t:String(t)}function dK(t,n,o){return{r:fn(t,255)*255,g:fn(n,255)*255,b:fn(o,255)*255}}function v1(t,n,o){t=fn(t,255),n=fn(n,255),o=fn(o,255);var r=Math.max(t,n,o),a=Math.min(t,n,o),l=0,s=0,i=(r+a)/2;if(r===a)s=0,l=0;else{var c=r-a;switch(s=i>.5?c/(2-r-a):c/(r+a),r){case t:l=(n-o)/c+(n1&&(o-=1),o<1/6?t+(n-t)*(6*o):o<1/2?n:o<2/3?t+(n-t)*(2/3-o)*6:t}function uK(t,n,o){var r,a,l;if(t=fn(t,360),n=fn(n,100),o=fn(o,100),n===0)a=o,l=o,r=o;else{var s=o<.5?o*(1+n):o+n-o*n,i=2*o-s;r=Em(i,s,t+1/3),a=Em(i,s,t),l=Em(i,s,t-1/3)}return{r:r*255,g:a*255,b:l*255}}function N1(t,n,o){t=fn(t,255),n=fn(n,255),o=fn(o,255);var r=Math.max(t,n,o),a=Math.min(t,n,o),l=0,s=r,i=r-a,c=r===0?0:i/r;if(r===a)l=0;else{switch(r){case t:l=(n-o)/i+(n>16,g:(t&65280)>>8,b:t&255}}var vm={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function gK(t){var n={r:0,g:0,b:0},o=1,r=null,a=null,l=null,s=!1,i=!1;return typeof t=="string"&&(t=CK(t)),typeof t=="object"&&(yr(t.r)&&yr(t.g)&&yr(t.b)?(n=dK(t.r,t.g,t.b),s=!0,i=String(t.r).substr(-1)==="%"?"prgb":"rgb"):yr(t.h)&&yr(t.s)&&yr(t.v)?(r=Lc(t.s),a=Lc(t.v),n=fK(t.h,r,a),s=!0,i="hsv"):yr(t.h)&&yr(t.s)&&yr(t.l)&&(r=Lc(t.s),l=Lc(t.l),n=uK(t.h,r,l),s=!0,i="hsl"),Object.prototype.hasOwnProperty.call(t,"a")&&(o=t.a)),o=E1(o),{ok:s,format:t.format||i,r:Math.min(255,Math.max(n.r,0)),g:Math.min(255,Math.max(n.g,0)),b:Math.min(255,Math.max(n.b,0)),a:o}}var bK="[-\\+]?\\d+%?",yK="[-\\+]?\\d*\\.\\d+%?",Yr="(?:".concat(yK,")|(?:").concat(bK,")"),Nm="[\\s|\\(]+(".concat(Yr,")[,|\\s]+(").concat(Yr,")[,|\\s]+(").concat(Yr,")\\s*\\)?"),Bm="[\\s|\\(]+(".concat(Yr,")[,|\\s]+(").concat(Yr,")[,|\\s]+(").concat(Yr,")[,|\\s]+(").concat(Yr,")\\s*\\)?"),Po={CSS_UNIT:new RegExp(Yr),rgb:new RegExp("rgb"+Nm),rgba:new RegExp("rgba"+Bm),hsl:new RegExp("hsl"+Nm),hsla:new RegExp("hsla"+Bm),hsv:new RegExp("hsv"+Nm),hsva:new RegExp("hsva"+Bm),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function CK(t){if(t=t.trim().toLowerCase(),t.length===0)return!1;var n=!1;if(vm[t])t=vm[t],n=!0;else if(t==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var o=Po.rgb.exec(t);return o?{r:o[1],g:o[2],b:o[3]}:(o=Po.rgba.exec(t),o?{r:o[1],g:o[2],b:o[3],a:o[4]}:(o=Po.hsl.exec(t),o?{h:o[1],s:o[2],l:o[3]}:(o=Po.hsla.exec(t),o?{h:o[1],s:o[2],l:o[3],a:o[4]}:(o=Po.hsv.exec(t),o?{h:o[1],s:o[2],v:o[3]}:(o=Po.hsva.exec(t),o?{h:o[1],s:o[2],v:o[3],a:o[4]}:(o=Po.hex8.exec(t),o?{r:Xn(o[1]),g:Xn(o[2]),b:Xn(o[3]),a:T1(o[4]),format:n?"name":"hex8"}:(o=Po.hex6.exec(t),o?{r:Xn(o[1]),g:Xn(o[2]),b:Xn(o[3]),format:n?"name":"hex"}:(o=Po.hex4.exec(t),o?{r:Xn(o[1]+o[1]),g:Xn(o[2]+o[2]),b:Xn(o[3]+o[3]),a:T1(o[4]+o[4]),format:n?"name":"hex8"}:(o=Po.hex3.exec(t),o?{r:Xn(o[1]+o[1]),g:Xn(o[2]+o[2]),b:Xn(o[3]+o[3]),format:n?"name":"hex"}:!1)))))))))}function yr(t){return!!Po.CSS_UNIT.exec(String(t))}var Cl=(function(){function t(n,o){n===void 0&&(n=""),o===void 0&&(o={});var r;if(n instanceof t)return n;typeof n=="number"&&(n=hK(n)),this.originalInput=n;var a=gK(n);this.originalInput=n,this.r=a.r,this.g=a.g,this.b=a.b,this.a=a.a,this.roundA=Math.round(100*this.a)/100,this.format=(r=o.format)!==null&&r!==void 0?r:a.format,this.gradientType=o.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=a.ok}return t.prototype.isDark=function(){return this.getBrightness()<128},t.prototype.isLight=function(){return!this.isDark()},t.prototype.getBrightness=function(){var n=this.toRgb();return(n.r*299+n.g*587+n.b*114)/1e3},t.prototype.getLuminance=function(){var n=this.toRgb(),o,r,a,l=n.r/255,s=n.g/255,i=n.b/255;return l<=.03928?o=l/12.92:o=Math.pow((l+.055)/1.055,2.4),s<=.03928?r=s/12.92:r=Math.pow((s+.055)/1.055,2.4),i<=.03928?a=i/12.92:a=Math.pow((i+.055)/1.055,2.4),.2126*o+.7152*r+.0722*a},t.prototype.getAlpha=function(){return this.a},t.prototype.setAlpha=function(n){return this.a=E1(n),this.roundA=Math.round(100*this.a)/100,this},t.prototype.isMonochrome=function(){var n=this.toHsl().s;return n===0},t.prototype.toHsv=function(){var n=N1(this.r,this.g,this.b);return{h:n.h*360,s:n.s,v:n.v,a:this.a}},t.prototype.toHsvString=function(){var n=N1(this.r,this.g,this.b),o=Math.round(n.h*360),r=Math.round(n.s*100),a=Math.round(n.v*100);return this.a===1?"hsv(".concat(o,", ").concat(r,"%, ").concat(a,"%)"):"hsva(".concat(o,", ").concat(r,"%, ").concat(a,"%, ").concat(this.roundA,")")},t.prototype.toHsl=function(){var n=v1(this.r,this.g,this.b);return{h:n.h*360,s:n.s,l:n.l,a:this.a}},t.prototype.toHslString=function(){var n=v1(this.r,this.g,this.b),o=Math.round(n.h*360),r=Math.round(n.s*100),a=Math.round(n.l*100);return this.a===1?"hsl(".concat(o,", ").concat(r,"%, ").concat(a,"%)"):"hsla(".concat(o,", ").concat(r,"%, ").concat(a,"%, ").concat(this.roundA,")")},t.prototype.toHex=function(n){return n===void 0&&(n=!1),B1(this.r,this.g,this.b,n)},t.prototype.toHexString=function(n){return n===void 0&&(n=!1),"#"+this.toHex(n)},t.prototype.toHex8=function(n){return n===void 0&&(n=!1),mK(this.r,this.g,this.b,this.a,n)},t.prototype.toHex8String=function(n){return n===void 0&&(n=!1),"#"+this.toHex8(n)},t.prototype.toHexShortString=function(n){return n===void 0&&(n=!1),this.a===1?this.toHexString(n):this.toHex8String(n)},t.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},t.prototype.toRgbString=function(){var n=Math.round(this.r),o=Math.round(this.g),r=Math.round(this.b);return this.a===1?"rgb(".concat(n,", ").concat(o,", ").concat(r,")"):"rgba(".concat(n,", ").concat(o,", ").concat(r,", ").concat(this.roundA,")")},t.prototype.toPercentageRgb=function(){var n=function(o){return"".concat(Math.round(fn(o,255)*100),"%")};return{r:n(this.r),g:n(this.g),b:n(this.b),a:this.a}},t.prototype.toPercentageRgbString=function(){var n=function(o){return Math.round(fn(o,255)*100)};return this.a===1?"rgb(".concat(n(this.r),"%, ").concat(n(this.g),"%, ").concat(n(this.b),"%)"):"rgba(".concat(n(this.r),"%, ").concat(n(this.g),"%, ").concat(n(this.b),"%, ").concat(this.roundA,")")},t.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var n="#"+B1(this.r,this.g,this.b,!1),o=0,r=Object.entries(vm);o=0,l=!o&&a&&(n.startsWith("hex")||n==="name");return l?n==="name"&&this.a===0?this.toName():this.toRgbString():(n==="rgb"&&(r=this.toRgbString()),n==="prgb"&&(r=this.toPercentageRgbString()),(n==="hex"||n==="hex6")&&(r=this.toHexString()),n==="hex3"&&(r=this.toHexString(!0)),n==="hex4"&&(r=this.toHex8String(!0)),n==="hex8"&&(r=this.toHex8String()),n==="name"&&(r=this.toName()),n==="hsl"&&(r=this.toHslString()),n==="hsv"&&(r=this.toHsvString()),r||this.toHexString())},t.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},t.prototype.clone=function(){return new t(this.toString())},t.prototype.lighten=function(n){n===void 0&&(n=10);var o=this.toHsl();return o.l+=n/100,o.l=Dc(o.l),new t(o)},t.prototype.brighten=function(n){n===void 0&&(n=10);var o=this.toRgb();return o.r=Math.max(0,Math.min(255,o.r-Math.round(255*-(n/100)))),o.g=Math.max(0,Math.min(255,o.g-Math.round(255*-(n/100)))),o.b=Math.max(0,Math.min(255,o.b-Math.round(255*-(n/100)))),new t(o)},t.prototype.darken=function(n){n===void 0&&(n=10);var o=this.toHsl();return o.l-=n/100,o.l=Dc(o.l),new t(o)},t.prototype.tint=function(n){return n===void 0&&(n=10),this.mix("white",n)},t.prototype.shade=function(n){return n===void 0&&(n=10),this.mix("black",n)},t.prototype.desaturate=function(n){n===void 0&&(n=10);var o=this.toHsl();return o.s-=n/100,o.s=Dc(o.s),new t(o)},t.prototype.saturate=function(n){n===void 0&&(n=10);var o=this.toHsl();return o.s+=n/100,o.s=Dc(o.s),new t(o)},t.prototype.greyscale=function(){return this.desaturate(100)},t.prototype.spin=function(n){var o=this.toHsl(),r=(o.h+n)%360;return o.h=r<0?360+r:r,new t(o)},t.prototype.mix=function(n,o){o===void 0&&(o=50);var r=this.toRgb(),a=new t(n).toRgb(),l=o/100,s={r:(a.r-r.r)*l+r.r,g:(a.g-r.g)*l+r.g,b:(a.b-r.b)*l+r.b,a:(a.a-r.a)*l+r.a};return new t(s)},t.prototype.analogous=function(n,o){n===void 0&&(n=6),o===void 0&&(o=30);var r=this.toHsl(),a=360/o,l=[this];for(r.h=(r.h-(a*n>>1)+720)%360;--n;)r.h=(r.h+a)%360,l.push(new t(r));return l},t.prototype.complement=function(){var n=this.toHsl();return n.h=(n.h+180)%360,new t(n)},t.prototype.monochromatic=function(n){n===void 0&&(n=6);for(var o=this.toHsv(),r=o.h,a=o.s,l=o.v,s=[],i=1/n;n--;)s.push(new t({h:r,s:a,v:l})),l=(l+i)%1;return s},t.prototype.splitcomplement=function(){var n=this.toHsl(),o=n.h;return[this,new t({h:(o+72)%360,s:n.s,l:n.l}),new t({h:(o+216)%360,s:n.s,l:n.l})]},t.prototype.onBackground=function(n){var o=this.toRgb(),r=new t(n).toRgb(),a=o.a+r.a*(1-o.a);return new t({r:(o.r*o.a+r.r*r.a*(1-o.a))/a,g:(o.g*o.a+r.g*r.a*(1-o.a))/a,b:(o.b*o.a+r.b*r.a*(1-o.a))/a,a})},t.prototype.triad=function(){return this.polyad(3)},t.prototype.tetrad=function(){return this.polyad(4)},t.prototype.polyad=function(n){for(var o=this.toHsl(),r=o.h,a=[this],l=360/n,s=1;s{let r={},a=t.color;if(a){const l=a.match(/var\((.*?)\)/);l&&(a=window.getComputedStyle(window.document.documentElement).getPropertyValue(l[1]));const s=new Cl(a),i=t.dark?s.tint(20).toString():Gr(s,20);if(t.plain)r=o.cssVarBlock({"bg-color":t.dark?Gr(s,90):s.tint(90).toString(),"text-color":a,"border-color":t.dark?Gr(s,50):s.tint(50).toString(),"hover-text-color":`var(${o.cssVarName("color-white")})`,"hover-bg-color":a,"hover-border-color":a,"active-bg-color":i,"active-text-color":`var(${o.cssVarName("color-white")})`,"active-border-color":i}),n.value&&(r[o.cssVarBlockName("disabled-bg-color")]=t.dark?Gr(s,90):s.tint(90).toString(),r[o.cssVarBlockName("disabled-text-color")]=t.dark?Gr(s,50):s.tint(50).toString(),r[o.cssVarBlockName("disabled-border-color")]=t.dark?Gr(s,80):s.tint(80).toString());else{const c=t.dark?Gr(s,30):s.tint(30).toString(),d=s.isDark()?`var(${o.cssVarName("color-white")})`:`var(${o.cssVarName("color-black")})`;if(r=o.cssVarBlock({"bg-color":a,"text-color":d,"border-color":a,"hover-bg-color":c,"hover-text-color":d,"hover-border-color":c,"active-bg-color":i,"active-border-color":i}),n.value){const u=t.dark?Gr(s,50):s.tint(50).toString();r[o.cssVarBlockName("disabled-bg-color")]=u,r[o.cssVarBlockName("disabled-text-color")]=t.dark?"rgba(255, 255, 255, 0.5)":`var(${o.cssVarName("color-white")})`,r[o.cssVarBlockName("disabled-border-color")]=u}}}return r})}var kK=e.defineComponent({name:"ElButton",__name:"button",props:zc,emits:S1,setup(t,{expose:n,emit:o}){const r=t,a=o,l=wK(r),s=ee("button"),{_ref:i,_size:c,_type:d,_disabled:u,_props:f,_plain:p,_round:g,_text:m,shouldAddSpace:h,handleClick:b}=sK(r,a),y=e.computed(()=>[s.b(),s.m(d.value),s.m(c.value),s.is("disabled",u.value),s.is("loading",r.loading),s.is("plain",p.value),s.is("round",g.value),s.is("circle",r.circle),s.is("text",m.value),s.is("link",r.link),s.is("has-bg",r.bg)]);return n({ref:i,size:c,type:d,disabled:u,shouldAddSpace:h}),(k,C)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.tag),e.mergeProps({ref_key:"_ref",ref:i},e.unref(f),{class:y.value,style:e.unref(l),onClick:e.unref(b)}),{default:e.withCtx(()=>[t.loading?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[k.$slots.loading?e.renderSlot(k.$slots,"loading",{key:0}):(e.openBlock(),e.createBlock(e.unref(ce),{key:1,class:e.normalizeClass(e.unref(s).is("loading"))},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.loadingIcon)))]),_:1},8,["class"]))],64)):t.icon||k.$slots.icon?(e.openBlock(),e.createBlock(e.unref(ce),{key:1},{default:e.withCtx(()=>[t.icon?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.icon),{key:0})):e.renderSlot(k.$slots,"icon",{key:1})]),_:3})):e.createCommentVNode("v-if",!0),k.$slots.default?(e.openBlock(),e.createElementBlock("span",{key:2,class:e.normalizeClass({[e.unref(s).em("text","expand")]:e.unref(h)})},[e.renderSlot(k.$slots,"default")],2)):e.createCommentVNode("v-if",!0)]),_:3},16,["class","style","onClick"]))}});const SK={size:zc.size,type:zc.type,direction:{type:K(String),values:["horizontal","vertical"],default:"horizontal"}};var x1=e.defineComponent({name:"ElButtonGroup",__name:"button-group",props:SK,setup(t){const n=t;e.provide(Sm,e.reactive({size:e.toRef(n,"size"),type:e.toRef(n,"type")}));const o=ee("button");return(r,a)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass([e.unref(o).b("group"),e.unref(o).bm("group",n.direction)])},[e.renderSlot(r.$slots,"default")],2))}});const Gt=Re(kK,{ButtonGroup:x1}),Tm=Bt(x1),EK=t=>ie(t)&&t.length===2&&t.every(n=>Aa(n)),$1=oe({modelValue:{type:Date},range:{type:K(Array),validator:EK},controllerType:{type:String,values:["button","select"],default:"button"},formatter:{type:K(Function)}}),V1={[Ne]:t=>Aa(t),[Dt]:t=>Aa(t)};var Cr=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},P1={exports:{}};(function(t,n){(function(o,r){t.exports=r()})(Cr,(function(){var o=1e3,r=6e4,a=36e5,l="millisecond",s="second",i="minute",c="hour",d="day",u="week",f="month",p="quarter",g="year",m="date",h="Invalid Date",b=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,k={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(D){var L=["th","st","nd","rd"],H=D%100;return"["+D+(L[(H-20)%10]||L[H]||L[0])+"]"}},C=function(D,L,H){var $=String(D);return!$||$.length>=L?D:""+Array(L+1-$.length).join(H)+D},w={s:C,z:function(D){var L=-D.utcOffset(),H=Math.abs(L),$=Math.floor(H/60),B=H%60;return(L<=0?"+":"-")+C($,2,"0")+":"+C(B,2,"0")},m:function D(L,H){if(L.date()1)return D(I[0])}else{var z=L.name;E[z]=L,B=z}return!$&&B&&(S=B),B||!$&&S},T=function(D,L){if(N(D))return D.clone();var H=typeof L=="object"?L:{};return H.date=D,H.args=arguments,new x(H)},V=w;V.l=P,V.i=N,V.w=function(D,L){return T(D,{locale:L.$L,utc:L.$u,x:L.$x,$offset:L.$offset})};var x=(function(){function D(H){this.$L=P(H.locale,null,!0),this.parse(H),this.$x=this.$x||H.x||{},this[v]=!0}var L=D.prototype;return L.parse=function(H){this.$d=(function($){var B=$.date,M=$.utc;if(B===null)return new Date(NaN);if(V.u(B))return new Date;if(B instanceof Date)return new Date(B);if(typeof B=="string"&&!/Z$/i.test(B)){var I=B.match(b);if(I){var z=I[2]-1||0,F=(I[7]||"0").substring(0,3);return M?new Date(Date.UTC(I[1],z,I[3]||1,I[4]||0,I[5]||0,I[6]||0,F)):new Date(I[1],z,I[3]||1,I[4]||0,I[5]||0,I[6]||0,F)}}return new Date(B)})(H),this.init()},L.init=function(){var H=this.$d;this.$y=H.getFullYear(),this.$M=H.getMonth(),this.$D=H.getDate(),this.$W=H.getDay(),this.$H=H.getHours(),this.$m=H.getMinutes(),this.$s=H.getSeconds(),this.$ms=H.getMilliseconds()},L.$utils=function(){return V},L.isValid=function(){return this.$d.toString()!==h},L.isSame=function(H,$){var B=T(H);return this.startOf($)<=B&&B<=this.endOf($)},L.isAfter=function(H,$){return T(H)68?1900:2e3)},u=function(b){return function(y){this[b]=+y}},f=[/[+-]\d\d:?(\d\d)?|Z/,function(b){(this.zone||(this.zone={})).offset=(function(y){if(!y||y==="Z")return 0;var k=y.match(/([+-]|\d\d)/g),C=60*k[1]+(+k[2]||0);return C===0?0:k[0]==="+"?-C:C})(b)}],p=function(b){var y=c[b];return y&&(y.indexOf?y:y.s.concat(y.f))},g=function(b,y){var k,C=c.meridiem;if(C){for(var w=1;w<=24;w+=1)if(b.indexOf(C(w,0,y))>-1){k=w>12;break}}else k=b===(y?"pm":"PM");return k},m={A:[i,function(b){this.afternoon=g(b,!1)}],a:[i,function(b){this.afternoon=g(b,!0)}],Q:[a,function(b){this.month=3*(b-1)+1}],S:[a,function(b){this.milliseconds=100*+b}],SS:[l,function(b){this.milliseconds=10*+b}],SSS:[/\d{3}/,function(b){this.milliseconds=+b}],s:[s,u("seconds")],ss:[s,u("seconds")],m:[s,u("minutes")],mm:[s,u("minutes")],H:[s,u("hours")],h:[s,u("hours")],HH:[s,u("hours")],hh:[s,u("hours")],D:[s,u("day")],DD:[l,u("day")],Do:[i,function(b){var y=c.ordinal,k=b.match(/\d+/);if(this.day=k[0],y)for(var C=1;C<=31;C+=1)y(C).replace(/\[|\]/g,"")===b&&(this.day=C)}],w:[s,u("week")],ww:[l,u("week")],M:[s,u("month")],MM:[l,u("month")],MMM:[i,function(b){var y=p("months"),k=(p("monthsShort")||y.map((function(C){return C.slice(0,3)}))).indexOf(b)+1;if(k<1)throw new Error;this.month=k%12||k}],MMMM:[i,function(b){var y=p("months").indexOf(b)+1;if(y<1)throw new Error;this.month=y%12||y}],Y:[/[+-]?\d+/,u("year")],YY:[l,function(b){this.year=d(b)}],YYYY:[/\d{4}/,u("year")],Z:f,ZZ:f};function h(b){var y,k;y=b,k=c&&c.formats;for(var C=(b=y.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(T,V,x){var O=x&&x.toUpperCase();return V||k[x]||o[x]||k[O].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(D,L,H){return L||H.slice(1)}))}))).match(r),w=C.length,S=0;S-1)return new Date((B==="X"?1e3:1)*$);var z=h(B)($),F=z.year,A=z.month,W=z.day,j=z.hours,G=z.minutes,X=z.seconds,Q=z.milliseconds,J=z.zone,Y=z.week,_=new Date,q=W||(F||A?1:_.getDate()),le=F||_.getFullYear(),ue=0;F&&!A||(ue=A>0?A-1:_.getMonth());var Ce,Ee=j||0,Ve=G||0,Ie=X||0,qe=Q||0;return J?new Date(Date.UTC(le,ue,q,Ee,Ve,Ie,qe+60*J.offset*1e3)):M?new Date(Date.UTC(le,ue,q,Ee,Ve,Ie,qe)):(Ce=new Date(le,ue,q,Ee,Ve,Ie,qe),Y&&(Ce=I(Ce).week(Y).toDate()),Ce)}catch(We){return new Date("")}})(E,P,v,k),this.init(),O&&O!==!0&&(this.$L=this.locale(O).$L),x&&E!=this.format(P)&&(this.$d=new Date("")),c={}}else if(P instanceof Array)for(var D=P.length,L=1;L<=D;L+=1){N[1]=P[L-1];var H=k.apply(this,N);if(H.isValid()){this.$d=H.$d,this.$L=H.$L,this.init();break}L===D&&(this.$d=new Date(""))}else w.call(this,S)}}}))})(R1);var xm=R1.exports;const $m=["hours","minutes","seconds"],po="EP_PICKER_BASE",_c="ElPopperOptions",Vm=Symbol("commonPickerContextKey"),wa="HH:mm:ss",wr="YYYY-MM-DD",M1={date:wr,dates:wr,week:"gggg[w]ww",year:"YYYY",years:"YYYY",month:"YYYY-MM",months:"YYYY-MM",datetime:`${wr} ${wa}`,monthrange:"YYYY-MM",yearrange:"YYYY",daterange:wr,datetimerange:`${wr} ${wa}`},Fc=(t,n)=>[t>0?t-1:void 0,t,tArray.from(Array.from({length:t}).keys()),Pm=t=>t.replace(/\W?m{1,2}|\W?ZZ/g,"").replace(/\W?h{1,2}|\W?s{1,3}|\W?a/gi,"").trim(),Rm=t=>t.replace(/\W?D{1,2}|\W?Do|\W?d{1,4}|\W?M{1,4}|\W?Y{2,4}/g,"").trim(),Mm=function(t,n){const o=Aa(t),r=Aa(n);return o&&r?t.getTime()===n.getTime():!o&&!r?t===n:!1},Im=function(t,n){const o=ie(t),r=ie(n);return o&&r?t.length!==n.length?!1:t.every((a,l)=>Mm(a,n[l])):!o&&!r?Mm(t,n):!1},Om=function(t,n,o){const r=Tn(n)||n==="x"?Pe(t).locale(o):Pe(t,n).locale(o);return r.isValid()?r:void 0},Am=function(t,n,o){return Tn(n)?t:n==="x"?+t:Pe(t).locale(o).format(n)},Hc=(t,n)=>{var o;const r=[],a=n==null?void 0:n();for(let l=0;lie(t)?t.map(n=>n.toDate()):t.toDate(),I1=(t,n)=>{const{lang:o}=je(),r=e.ref(!1),a=e.ref(!1),l=e.ref(null),s=e.computed(()=>{const{modelValue:m}=t;return!m||ie(m)&&!m.filter(Boolean).length}),i=m=>{if(!Im(t.modelValue,m)){let h;ie(m)?h=m.map(y=>Am(y,t.valueFormat,o.value)):m&&(h=Am(m,t.valueFormat,o.value)),n(Ne,m&&h,o.value)}},c=e.computed(()=>{var m;let h;if(s.value?d.value.getDefaultValue&&(h=d.value.getDefaultValue()):ie(t.modelValue)?h=t.modelValue.map(b=>Om(b,t.valueFormat,o.value)):h=Om((m=t.modelValue)!=null?m:"",t.valueFormat,o.value),d.value.getRangeAvailableTime){const b=d.value.getRangeAvailableTime(h);xt(b,h)||(h=b,s.value||i(As(h)))}return ie(h)&&h.some(b=>!b)&&(h=[]),h}),d=e.ref({});return{parsedValue:c,pickerActualVisible:a,pickerOptions:d,pickerVisible:r,userInput:l,valueIsEmpty:s,emitInput:i,onCalendarChange:m=>{n("calendar-change",m)},onPanelChange:(m,h,b)=>{n("panel-change",m,h,b)},onPick:(m="",h=!1)=>{r.value=h;let b;ie(m)?b=m.map(y=>y.toDate()):b=m&&m.toDate(),l.value=null,i(b)},onSetPickerOption:m=>{d.value[m[0]]=m[1],d.value.panelReady=!0}}},zm=oe({disabledHours:{type:K(Function)},disabledMinutes:{type:K(Function)},disabledSeconds:{type:K(Function)}}),O1=oe({visible:Boolean,actualVisible:{type:Boolean,default:void 0},format:{type:String,default:""}}),Kc=oe({automaticDropdown:{type:Boolean,default:!0},id:{type:K([Array,String])},name:{type:K([Array,String])},popperClass:lt.popperClass,popperStyle:lt.popperStyle,format:String,valueFormat:String,dateFormat:String,timeFormat:String,type:{type:String,default:""},clearable:{type:Boolean,default:!0},clearIcon:{type:K([String,Object]),default:jo},editable:{type:Boolean,default:!0},prefixIcon:{type:K([String,Object]),default:""},size:Ht,readonly:Boolean,disabled:{type:Boolean,default:void 0},placeholder:{type:String,default:""},popperOptions:{type:K(Object),default:()=>({})},modelValue:{type:K([Date,Array,String,Number]),default:""},rangeSeparator:{type:String,default:"-"},startPlaceholder:String,endPlaceholder:String,defaultValue:{type:K([Date,Array])},defaultTime:{type:K([Date,Array])},isRange:Boolean,...zm,disabledDate:{type:Function},cellClassName:{type:Function},shortcuts:{type:Array,default:()=>[]},arrowControl:Boolean,tabindex:{type:K([String,Number]),default:0},validateEvent:{type:Boolean,default:!0},unlinkPanels:Boolean,placement:{type:K(String),values:Yo,default:"bottom"},fallbackPlacements:{type:K(Array),default:["bottom","top","right","left"]},...Wr,...cn(["ariaLabel"]),showNow:{type:Boolean,default:!0},showConfirm:{type:Boolean,default:!0},showFooter:{type:Boolean,default:!0},showWeekNumber:Boolean}),Dm=oe({id:{type:K(Array)},name:{type:K(Array)},modelValue:{type:K([Array,String])},startPlaceholder:String,endPlaceholder:String,disabled:Boolean}),vK=Dm,NK=["id","name","placeholder","value","disabled"],BK=["id","name","placeholder","value","disabled"];var TK=e.defineComponent({name:"PickerRangeTrigger",inheritAttrs:!1,__name:"picker-range-trigger",props:Dm,emits:["mouseenter","mouseleave","click","touchstart","focus","blur","startInput","endInput","startChange","endChange"],setup(t,{expose:n,emit:o}){const r=t,a=o,{formItem:l}=Zt(),{inputId:s}=Dn(e.reactive({id:e.computed(()=>{var N;return(N=r.id)==null?void 0:N[0]})}),{formItemContext:l}),i=gs(),c=ee("date"),d=ee("range"),u=e.ref(),f=e.ref(),{wrapperRef:p,isFocused:g}=Qo(u,{disabled:e.computed(()=>r.disabled)}),m=N=>{a("click",N)},h=N=>{a("mouseenter",N)},b=N=>{a("mouseleave",N)},y=N=>{a("touchstart",N)},k=N=>{a("startInput",N)},C=N=>{a("endInput",N)},w=N=>{a("startChange",N)},S=N=>{a("endChange",N)};return n({focus:()=>{var N;(N=u.value)==null||N.focus()},blur:()=>{var N,P;(N=u.value)==null||N.blur(),(P=f.value)==null||P.blur()}}),(N,P)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"wrapperRef",ref:p,class:e.normalizeClass([e.unref(c).is("active",e.unref(g)),N.$attrs.class]),style:e.normalizeStyle(N.$attrs.style),onClick:m,onMouseenter:h,onMouseleave:b,onTouchstartPassive:y},[e.renderSlot(N.$slots,"prefix"),e.createElementVNode("input",e.mergeProps(e.unref(i),{id:e.unref(s),ref_key:"inputRef",ref:u,name:N.name&&N.name[0],placeholder:N.startPlaceholder,value:N.modelValue&&N.modelValue[0],class:e.unref(d).b("input"),disabled:N.disabled,onInput:k,onChange:w}),null,16,NK),e.renderSlot(N.$slots,"range-separator"),e.createElementVNode("input",e.mergeProps(e.unref(i),{id:N.id&&N.id[1],ref_key:"endInputRef",ref:f,name:N.name&&N.name[1],placeholder:N.endPlaceholder,value:N.modelValue&&N.modelValue[1],class:e.unref(d).b("input"),disabled:N.disabled,onInput:C,onChange:S}),null,16,BK),e.renderSlot(N.$slots,"suffix")],38))}}),Lm=e.defineComponent({name:"Picker",__name:"picker",props:Kc,emits:[Ne,_e,"focus","blur","clear","calendar-change","panel-change","visible-change","keydown"],setup(t,{expose:n,emit:o}){const r=t,a=o,l=e.useAttrs(),s=ee("date"),i=ee("input"),c=ee("range"),{formItem:d}=Zt(),u=e.inject(_c,{}),f=ml(r,null),p=e.ref(),g=e.ref(),m=e.ref(null);let h=!1;const b=kt(),y=I1(r,a),{parsedValue:k,pickerActualVisible:C,userInput:w,pickerVisible:S,pickerOptions:E,valueIsEmpty:v,emitInput:N,onPick:P,onSetPickerOption:T,onCalendarChange:V,onPanelChange:x}=y,{isFocused:O,handleFocus:D,handleBlur:L}=Qo(g,{disabled:b,beforeFocus(){return r.readonly},afterFocus(){r.automaticDropdown&&(S.value=!0)},beforeBlur(Z){var de;return!h&&((de=p.value)==null?void 0:de.isFocusInsideContent(Z))},afterBlur(){Fe(),S.value=!1,h=!1,r.validateEvent&&(d==null||d.validate("blur").catch(Z=>void 0))}}),H=e.ref(!1),$=e.computed(()=>[s.b("editor"),s.bm("editor",r.type),i.e("wrapper"),s.is("disabled",b.value),s.is("active",S.value),c.b("editor"),ye?c.bm("editor",ye.value):"",l.class]),B=e.computed(()=>[i.e("icon"),c.e("close-icon"),Ce.value?"":c.em("close-icon","hidden")]);e.watch(S,Z=>{Z?e.nextTick(()=>{Z&&(m.value=r.modelValue)}):(w.value=null,e.nextTick(()=>{M(r.modelValue)}))});const M=(Z,de)=>{(de||!Im(Z,m.value))&&(a(_e,Z),de&&(m.value=Z),r.validateEvent&&(d==null||d.validate("change").catch(De=>void 0)))},I=Z=>{a("keydown",Z)},z=e.computed(()=>g.value?Array.from(g.value.$el.querySelectorAll("input")):[]),F=(Z,de,De)=>{const st=z.value;st.length&&(!De||De==="min"?(st[0].setSelectionRange(Z,de),st[0].focus()):De==="max"&&(st[1].setSelectionRange(Z,de),st[1].focus()))},A=()=>{C.value=!0},W=()=>{a("visible-change",!0)},j=()=>{C.value=!1,S.value=!1,a("visible-change",!1)},G=()=>{S.value=!0},X=()=>{S.value=!1},Q=e.computed(()=>{const Z=fe(k.value);return ie(w.value)?[w.value[0]||Z&&Z[0]||"",w.value[1]||Z&&Z[1]||""]:w.value!==null?w.value:!Y.value&&v.value||!S.value&&v.value?"":Z?_.value||q.value||le.value?Z.join(", "):Z:""}),J=e.computed(()=>r.type.includes("time")),Y=e.computed(()=>r.type.startsWith("time")),_=e.computed(()=>r.type==="dates"),q=e.computed(()=>r.type==="months"),le=e.computed(()=>r.type==="years"),ue=e.computed(()=>r.prefixIcon||(J.value?vC:A_)),Ce=e.computed(()=>r.clearable&&!b.value&&!r.readonly&&!v.value&&(H.value||O.value)),Ee=Z=>{r.readonly||b.value||(Ce.value&&(Z==null||Z.stopPropagation(),E.value.handleClear?E.value.handleClear():N(f.valueOnClear.value),M(f.valueOnClear.value,!0),j()),a("clear"))},Ve=async Z=>{var de;r.readonly||b.value||(((de=Z.target)==null?void 0:de.tagName)!=="INPUT"||O.value||!r.automaticDropdown)&&(S.value=!0)},Ie=()=>{r.readonly||b.value||!v.value&&r.clearable&&(H.value=!0)},qe=()=>{H.value=!1},We=Z=>{var de;r.readonly||b.value||(((de=Z.touches[0].target)==null?void 0:de.tagName)!=="INPUT"||O.value||!r.automaticDropdown)&&(S.value=!0)},be=e.computed(()=>r.type.includes("range")),ye=zt(),Te=e.computed(()=>{var Z,de;return(de=(Z=e.unref(p))==null?void 0:Z.popperRef)==null?void 0:de.contentRef}),Oe=Wd(g,Z=>{const de=e.unref(Te),De=Lt(g);de&&(Z.target===de||Z.composedPath().includes(de))||Z.target===De||De&&Z.composedPath().includes(De)||(S.value=!1)});e.onBeforeUnmount(()=>{Oe==null||Oe()});const Fe=()=>{if(w.value){const Z=Ue(Q.value);Z&&(we(Z)&&N(As(Z)),w.value=null)}w.value===""&&(N(f.valueOnClear.value),M(f.valueOnClear.value,!0),w.value=null)},Ue=Z=>Z?E.value.parseUserInput(Z):null,fe=Z=>Z?ie(Z)?Z.map(De=>De.format(r.format)):Z.format(r.format):null,we=Z=>E.value.isValidValue(Z),Se=async Z=>{if(r.readonly||b.value)return;const de=ut(Z);if(I(Z),de===te.esc){S.value===!0&&(S.value=!1,Z.preventDefault(),Z.stopPropagation());return}if(de===te.down&&(E.value.handleFocusPicker&&(Z.preventDefault(),Z.stopPropagation()),S.value===!1&&(S.value=!0,await e.nextTick()),E.value.handleFocusPicker)){E.value.handleFocusPicker();return}if(de===te.tab){h=!0;return}if(de===te.enter||de===te.numpadEnter){S.value?(w.value===null||w.value===""||we(Ue(Q.value)))&&(Fe(),S.value=!1):S.value=!0,Z.preventDefault(),Z.stopPropagation();return}if(w.value){Z.stopPropagation();return}E.value.handleKeydownInput&&E.value.handleKeydownInput(Z)},pt=Z=>{w.value=Z,S.value||(S.value=!0)},bt=Z=>{const de=Z.target;w.value?w.value=[de.value,w.value[1]]:w.value=[de.value,null]},Be=Z=>{const de=Z.target;w.value?w.value=[w.value[0],de.value]:w.value=[null,de.value]},ze=()=>{var Z;const de=w.value,De=Ue(de&&de[0]),st=e.unref(k);if(De&&De.isValid()){w.value=[fe(De),((Z=Q.value)==null?void 0:Z[1])||null];const Tt=[De,st&&(st[1]||null)];we(Tt)&&(N(As(Tt)),w.value=null)}},Ye=()=>{var Z;const de=e.unref(w),De=Ue(de&&de[1]),st=e.unref(k);if(De&&De.isValid()){w.value=[((Z=e.unref(Q))==null?void 0:Z[0])||null,fe(De)];const Tt=[st&&st[0],De];we(Tt)&&(N(As(Tt)),w.value=null)}},ne=()=>{var Z;(Z=g.value)==null||Z.focus()},me=()=>{var Z;(Z=g.value)==null||Z.blur()};return e.provide(po,{props:r,emptyValues:f}),e.provide(Vm,y),n({focus:ne,blur:me,handleOpen:G,handleClose:X,onPick:P}),(Z,de)=>(e.openBlock(),e.createBlock(e.unref(Jt),e.mergeProps({ref_key:"refPopper",ref:p,visible:e.unref(S),effect:"light",pure:"",trigger:"click"},Z.$attrs,{role:"dialog",teleported:"",transition:`${e.unref(s).namespace.value}-zoom-in-top`,"popper-class":[`${e.unref(s).namespace.value}-picker__popper`,Z.popperClass],"popper-style":Z.popperStyle,"popper-options":e.unref(u),"fallback-placements":Z.fallbackPlacements,"gpu-acceleration":!1,placement:Z.placement,"stop-popper-mouse-event":!1,"hide-after":0,persistent:"",onBeforeShow:A,onShow:W,onHide:j}),{default:e.withCtx(()=>[be.value?(e.openBlock(),e.createBlock(TK,{key:1,id:Z.id,ref_key:"inputRef",ref:g,"model-value":Q.value,name:Z.name,disabled:e.unref(b),readonly:!Z.editable||Z.readonly,"start-placeholder":Z.startPlaceholder,"end-placeholder":Z.endPlaceholder,class:e.normalizeClass($.value),style:e.normalizeStyle(Z.$attrs.style),"aria-label":Z.ariaLabel,tabindex:Z.tabindex,autocomplete:"off",role:"combobox",onClick:Ve,onFocus:e.unref(D),onBlur:e.unref(L),onStartInput:bt,onStartChange:ze,onEndInput:Be,onEndChange:Ye,onMousedown:Ve,onMouseenter:Ie,onMouseleave:qe,onTouchstartPassive:We,onKeydown:Se},{prefix:e.withCtx(()=>[ue.value?(e.openBlock(),e.createBlock(e.unref(ce),{key:0,class:e.normalizeClass([e.unref(i).e("icon"),e.unref(c).e("icon")])},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(ue.value)))]),_:1},8,["class"])):e.createCommentVNode("v-if",!0)]),"range-separator":e.withCtx(()=>[e.renderSlot(Z.$slots,"range-separator",{},()=>[e.createElementVNode("span",{class:e.normalizeClass(e.unref(c).b("separator"))},e.toDisplayString(Z.rangeSeparator),3)])]),suffix:e.withCtx(()=>[Z.clearIcon?(e.openBlock(),e.createBlock(e.unref(ce),{key:0,class:e.normalizeClass(B.value),onMousedown:e.withModifiers(e.unref(et),["prevent"]),onClick:Ee},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(Z.clearIcon)))]),_:1},8,["class","onMousedown"])):e.createCommentVNode("v-if",!0)]),_:3},8,["id","model-value","name","disabled","readonly","start-placeholder","end-placeholder","class","style","aria-label","tabindex","onFocus","onBlur"])):(e.openBlock(),e.createBlock(e.unref(un),{key:0,id:Z.id,ref_key:"inputRef",ref:g,"container-role":"combobox","model-value":Q.value,name:Z.name,size:e.unref(ye),disabled:e.unref(b),placeholder:Z.placeholder,class:e.normalizeClass([e.unref(s).b("editor"),e.unref(s).bm("editor",Z.type),e.unref(s).is("focus",e.unref(S)),Z.$attrs.class]),style:e.normalizeStyle(Z.$attrs.style),readonly:!Z.editable||Z.readonly||_.value||q.value||le.value||Z.type==="week","aria-label":Z.ariaLabel,tabindex:Z.tabindex,"validate-event":!1,onInput:pt,onFocus:e.unref(D),onBlur:e.unref(L),onKeydown:Se,onChange:Fe,onMousedown:Ve,onMouseenter:Ie,onMouseleave:qe,onTouchstartPassive:We,onClick:de[0]||(de[0]=e.withModifiers(()=>{},["stop"]))},{prefix:e.withCtx(()=>[ue.value?(e.openBlock(),e.createBlock(e.unref(ce),{key:0,class:e.normalizeClass(e.unref(i).e("icon")),onMousedown:e.withModifiers(Ve,["prevent"]),onTouchstartPassive:We},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(ue.value)))]),_:1},8,["class"])):e.createCommentVNode("v-if",!0)]),suffix:e.withCtx(()=>[Ce.value&&Z.clearIcon?(e.openBlock(),e.createBlock(e.unref(ce),{key:0,class:e.normalizeClass(`${e.unref(i).e("icon")} clear-icon`),onMousedown:e.withModifiers(e.unref(et),["prevent"]),onClick:Ee},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(Z.clearIcon)))]),_:1},8,["class","onMousedown"])):e.createCommentVNode("v-if",!0)]),_:1},8,["id","model-value","name","size","disabled","placeholder","class","style","readonly","aria-label","tabindex","onFocus","onBlur"]))]),content:e.withCtx(()=>[e.renderSlot(Z.$slots,"default",{visible:e.unref(S),actualVisible:e.unref(C),parsedValue:e.unref(k),format:Z.format,dateFormat:Z.dateFormat,timeFormat:Z.timeFormat,unlinkPanels:Z.unlinkPanels,type:Z.type,defaultValue:Z.defaultValue,showNow:Z.showNow,showConfirm:Z.showConfirm,showFooter:Z.showFooter,showWeekNumber:Z.showWeekNumber,onPick:de[1]||(de[1]=(...De)=>e.unref(P)&&e.unref(P)(...De)),onSelectRange:F,onSetPickerOption:de[2]||(de[2]=(...De)=>e.unref(T)&&e.unref(T)(...De)),onCalendarChange:de[3]||(de[3]=(...De)=>e.unref(V)&&e.unref(V)(...De)),onClear:Ee,onPanelChange:de[4]||(de[4]=(...De)=>e.unref(x)&&e.unref(x)(...De)),onMousedown:de[5]||(de[5]=e.withModifiers(()=>{},["stop"]))})]),_:3},16,["visible","transition","popper-class","popper-style","popper-options","fallback-placements","placement"]))}});const xK=oe({...O1,datetimeRole:String,parsedValue:{type:K(Object)}}),A1=({getAvailableHours:t,getAvailableMinutes:n,getAvailableSeconds:o})=>{const r=(s,i,c,d)=>{const u={hour:t,minute:n,second:o};let f=s;return["hour","minute","second"].forEach(p=>{if(u[p]){let g;const m=u[p];switch(p){case"minute":{g=m(f.hour(),i,d);break}case"second":{g=m(f.hour(),f.minute(),i,d);break}default:{g=m(i,d);break}}if(g!=null&&g.length&&!g.includes(f[p]())){const h=c?0:g.length-1;f=f[p](g[h])}}}),f},a={};return{timePickerOptions:a,getAvailableTime:r,onSetOption:([s,i])=>{a[s]=i}}},_m=t=>{const n=(r,a)=>r||a,o=r=>r!==!0;return t.map(n).filter(o)},z1=(t,n,o)=>({getHoursList:(s,i)=>Hc(24,t&&(()=>t==null?void 0:t(s,i))),getMinutesList:(s,i,c)=>Hc(60,n&&(()=>n==null?void 0:n(s,i,c))),getSecondsList:(s,i,c,d)=>Hc(60,o&&(()=>o==null?void 0:o(s,i,c,d)))}),D1=(t,n,o)=>{const{getHoursList:r,getMinutesList:a,getSecondsList:l}=z1(t,n,o);return{getAvailableHours:(d,u)=>_m(r(d,u)),getAvailableMinutes:(d,u,f)=>_m(a(d,u,f)),getAvailableSeconds:(d,u,f,p)=>_m(l(d,u,f,p))}},L1=t=>{const n=e.ref(t.parsedValue);return e.watch(()=>t.visible,o=>{o||(n.value=t.parsedValue)}),n},qr=new Map;if(Je){let t;document.addEventListener("mousedown",n=>t=n),document.addEventListener("mouseup",n=>{if(t){for(const o of qr.values())for(const{documentHandler:r}of o)r(n,t);t=void 0}})}function _1(t,n){let o=[];return ie(n.arg)?o=n.arg:In(n.arg)&&o.push(n.arg),function(r,a){const l=n.instance.popperRef,s=r.target,i=a==null?void 0:a.target,c=!n||!n.instance,d=!s||!i,u=t.contains(s)||t.contains(i),f=t===s,p=o.length&&o.some(m=>m==null?void 0:m.contains(s))||o.length&&o.includes(i),g=l&&(l.contains(s)||l.contains(i));c||d||u||f||p||g||n.value(r,a)}}const Sr={beforeMount(t,n){qr.has(t)||qr.set(t,[]),qr.get(t).push({documentHandler:_1(t,n),bindingFn:n.value})},updated(t,n){qr.has(t)||qr.set(t,[]);const o=qr.get(t),r=o.findIndex(l=>l.bindingFn===n.oldValue),a={documentHandler:_1(t,n),bindingFn:n.value};r>=0?o.splice(r,1,a):o.push(a)},unmounted(t){qr.delete(t)}},$K=100,VK=600,Wc="_RepeatClick",zs={beforeMount(t,n){const o=n.value,{interval:r=$K,delay:a=VK}=Ae(o)?{}:o;let l,s;const i=()=>Ae(o)?o():o.handler(),c=()=>{s&&(clearTimeout(s),s=void 0),l&&(clearInterval(l),l=void 0)},d=u=>{u.button===0&&(c(),i(),document.addEventListener("mouseup",c,{once:!0}),s=setTimeout(()=>{l=setInterval(()=>{i()},r)},a))};t[Wc]={start:d,clear:c},t.addEventListener("mousedown",d)},unmounted(t){if(!t[Wc])return;const{start:n,clear:o}=t[Wc];n&&t.removeEventListener("mousedown",n),o&&(o(),document.removeEventListener("mouseup",o)),t[Wc]=null}},Fm="_trap-focus-children",ka=[],F1=t=>{if(ka.length===0)return;const n=ut(t),o=ka[ka.length-1][Fm];if(o.length>0&&n===te.tab){if(o.length===1){t.preventDefault(),document.activeElement!==o[0]&&o[0].focus();return}const r=t.shiftKey,a=t.target===o[0],l=t.target===o[o.length-1];a&&r&&(t.preventDefault(),o[o.length-1].focus()),l&&!r&&(t.preventDefault(),o[0].focus())}},H1={beforeMount(t){t[Fm]=xg(t),ka.push(t),ka.length<=1&&document.addEventListener("keydown",F1)},updated(t){e.nextTick(()=>{t[Fm]=xg(t)})},unmounted(){ka.shift(),ka.length===0&&document.removeEventListener("keydown",F1)}};var K1=!1,Sa,Hm,Km,jc,Uc,W1,Yc,Wm,jm,Um,j1,Ym,Gm,U1,Y1;function _n(){if(!K1){K1=!0;var t=navigator.userAgent,n=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(t),o=/(Mac OS X)|(Windows)|(Linux)/.exec(t);if(Ym=/\b(iPhone|iP[ao]d)/.exec(t),Gm=/\b(iP[ao]d)/.exec(t),Um=/Android/i.exec(t),U1=/FBAN\/\w+;/i.exec(t),Y1=/Mobile/i.exec(t),j1=!!/Win64/.exec(t),n){Sa=n[1]?parseFloat(n[1]):n[5]?parseFloat(n[5]):NaN,Sa&&document&&document.documentMode&&(Sa=document.documentMode);var r=/(?:Trident\/(\d+.\d+))/.exec(t);W1=r?parseFloat(r[1])+4:Sa,Hm=n[2]?parseFloat(n[2]):NaN,Km=n[3]?parseFloat(n[3]):NaN,jc=n[4]?parseFloat(n[4]):NaN,jc?(n=/(?:Chrome\/(\d+\.\d+))/.exec(t),Uc=n&&n[1]?parseFloat(n[1]):NaN):Uc=NaN}else Sa=Hm=Km=Uc=jc=NaN;if(o){if(o[1]){var a=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(t);Yc=a?parseFloat(a[1].replace("_",".")):!0}else Yc=!1;Wm=!!o[2],jm=!!o[3]}else Yc=Wm=jm=!1}}var qm={ie:function(){return _n()||Sa},ieCompatibilityMode:function(){return _n()||W1>Sa},ie64:function(){return qm.ie()&&j1},firefox:function(){return _n()||Hm},opera:function(){return _n()||Km},webkit:function(){return _n()||jc},safari:function(){return qm.webkit()},chrome:function(){return _n()||Uc},windows:function(){return _n()||Wm},osx:function(){return _n()||Yc},linux:function(){return _n()||jm},iphone:function(){return _n()||Ym},mobile:function(){return _n()||Ym||Gm||Um||Y1},nativeApp:function(){return _n()||U1},android:function(){return _n()||Um},ipad:function(){return _n()||Gm}},PK=qm,RK=!!(typeof window<"u"&&window.document&&window.document.createElement),MK={canUseDOM:RK},G1=MK,q1;G1.canUseDOM&&(q1=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0);function IK(t,n){if(!G1.canUseDOM||n&&!("addEventListener"in document))return!1;var o="on"+t,r=o in document;if(!r){var a=document.createElement("div");a.setAttribute(o,"return;"),r=typeof a[o]=="function"}return!r&&q1&&t==="wheel"&&(r=document.implementation.hasFeature("Events.wheel","3.0")),r}var OK=IK,X1=10,Z1=40,J1=800;function Q1(t){var n=0,o=0,r=0,a=0;return"detail"in t&&(o=t.detail),"wheelDelta"in t&&(o=-t.wheelDelta/120),"wheelDeltaY"in t&&(o=-t.wheelDeltaY/120),"wheelDeltaX"in t&&(n=-t.wheelDeltaX/120),"axis"in t&&t.axis===t.HORIZONTAL_AXIS&&(n=o,o=0),r=n*X1,a=o*X1,"deltaY"in t&&(a=t.deltaY),"deltaX"in t&&(r=t.deltaX),(r||a)&&t.deltaMode&&(t.deltaMode==1?(r*=Z1,a*=Z1):(r*=J1,a*=J1)),r&&!n&&(n=r<1?-1:1),a&&!o&&(o=a<1?-1:1),{spinX:n,spinY:o,pixelX:r,pixelY:a}}Q1.getEventType=function(){return PK.firefox()?"DOMMouseScroll":OK("wheel")?"wheel":"mousewheel"};var AK=Q1;/** +* Checks if an event is supported in the current execution environment. +* +* NOTE: This will not work correctly for non-generic events such as `change`, +* `reset`, `load`, `error`, and `select`. +* +* Borrows from Modernizr. +* +* @param {string} eventNameSuffix Event name, e.g. "click". +* @param {?boolean} capture Check if the capture phase is supported. +* @return {boolean} True if the event is supported. +* @internal +* @license Modernizr 3.0.0pre (Custom Build) | MIT +*/const Gc="_Mousewheel",eS=function(t,n){if(t&&t.addEventListener){tS(t);const o=function(r){const a=AK(r);n&&Reflect.apply(n,this,[r,a])};t[Gc]={wheelHandler:o},t.addEventListener("wheel",o,{passive:!0})}},tS=t=>{var n;(n=t[Gc])!=null&&n.wheelHandler&&(t.removeEventListener("wheel",t[Gc].wheelHandler),t[Gc]=null)},nS={beforeMount(t,n){eS(t,n.value)},unmounted(t){tS(t)},updated(t,n){n.value!==n.oldValue&&eS(t,n.value)}},zK=oe({role:{type:String,required:!0},spinnerDate:{type:K(Object),required:!0},showSeconds:{type:Boolean,default:!0},arrowControl:Boolean,amPmMode:{type:K(String),default:""},...zm}),DK=["onClick"],LK=["onMouseenter"];var Xm=e.defineComponent({__name:"basic-time-spinner",props:zK,emits:[_e,"select-range","set-option"],setup(t,{emit:n}){const o=t,r=e.inject(po),{isRange:a,format:l}=r.props,s=n,i=ee("time"),{getHoursList:c,getMinutesList:d,getSecondsList:u}=z1(o.disabledHours,o.disabledMinutes,o.disabledSeconds);let f=!1;const p=e.ref(),g=e.ref(),m=e.ref(),h=e.ref(),b={hours:g,minutes:m,seconds:h},y=e.computed(()=>o.showSeconds?$m:$m.slice(0,2)),k=e.computed(()=>{const{spinnerDate:A}=o,W=A.hour(),j=A.minute(),G=A.second();return{hours:W,minutes:j,seconds:G}}),C=e.computed(()=>{const{hours:A,minutes:W}=e.unref(k),{role:j,spinnerDate:G}=o,X=a?void 0:G;return{hours:c(j,X),minutes:d(A,j,X),seconds:u(A,W,j,X)}}),w=e.computed(()=>{const{hours:A,minutes:W,seconds:j}=e.unref(k);return{hours:Fc(A,23),minutes:Fc(W,59),seconds:Fc(j,59)}}),S=Eo(A=>{f=!1,N(A)},200),E=A=>{if(!!!o.amPmMode)return"";const j=o.amPmMode==="A";let G=A<12?" am":" pm";return j&&(G=G.toUpperCase()),G},v=A=>{let W=[0,0];const j=l||wa,G=j.indexOf("HH"),X=j.indexOf("mm"),Q=j.indexOf("ss");switch(A){case"hours":G!==-1&&(W=[G,G+2]);break;case"minutes":X!==-1&&(W=[X,X+2]);break;case"seconds":Q!==-1&&(W=[Q,Q+2]);break}const[J,Y]=W;s("select-range",J,Y),p.value=A},N=A=>{V(A,e.unref(k)[A])},P=()=>{N("hours"),N("minutes"),N("seconds")},T=A=>A.querySelector(`.${i.namespace.value}-scrollbar__wrap`),V=(A,W)=>{if(o.arrowControl)return;const j=e.unref(b[A]);j&&j.$el&&(T(j.$el).scrollTop=Math.max(0,W*x(A)))},x=A=>{const W=e.unref(b[A]),j=W==null?void 0:W.$el.querySelector("li");return j&&Number.parseFloat(hr(j,"height"))||0},O=()=>{L(1)},D=()=>{L(-1)},L=A=>{p.value||v("hours");const W=p.value,j=e.unref(k)[W],G=p.value==="hours"?24:60,X=H(W,j,A,G);$(W,X),V(W,X),e.nextTick(()=>v(W))},H=(A,W,j,G)=>{let X=(W+j+G)%G;const Q=e.unref(C)[A];for(;Q[X]&&X!==W;)X=(X+j+G)%G;return X},$=(A,W)=>{if(e.unref(C)[A][W])return;const{hours:X,minutes:Q,seconds:J}=e.unref(k);let Y;switch(A){case"hours":Y=o.spinnerDate.hour(W).minute(Q).second(J);break;case"minutes":Y=o.spinnerDate.hour(X).minute(W).second(J);break;case"seconds":Y=o.spinnerDate.hour(X).minute(Q).second(W);break}s(_e,Y)},B=(A,{value:W,disabled:j})=>{j||($(A,W),v(A),V(A,W))},M=A=>{const W=e.unref(b[A]);if(!W)return;f=!0,S(A);const j=Math.min(Math.round((T(W.$el).scrollTop-(I(A)*.5-10)/x(A)+3)/x(A)),A==="hours"?23:59);$(A,j)},I=A=>e.unref(b[A]).$el.offsetHeight,z=()=>{const A=W=>{const j=e.unref(b[W]);j&&j.$el&&(T(j.$el).onscroll=()=>{M(W)})};A("hours"),A("minutes"),A("seconds")};e.onMounted(()=>{e.nextTick(()=>{!o.arrowControl&&z(),P(),o.role==="start"&&v("hours")})});const F=(A,W)=>{b[W].value=A!=null?A:void 0};return s("set-option",[`${o.role}_scrollDown`,L]),s("set-option",[`${o.role}_emitSelectRange`,v]),e.watch(()=>o.spinnerDate,()=>{f||P()}),(A,W)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass([e.unref(i).b("spinner"),{"has-seconds":A.showSeconds}])},[A.arrowControl?e.createCommentVNode("v-if",!0):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(y.value,j=>(e.openBlock(),e.createBlock(e.unref(mo),{key:j,ref_for:!0,ref:G=>F(G,j),class:e.normalizeClass(e.unref(i).be("spinner","wrapper")),"wrap-style":"max-height: inherit;","view-class":e.unref(i).be("spinner","list"),noresize:"",tag:"ul",onMouseenter:G=>v(j),onMousemove:G=>N(j)},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(C.value[j],(G,X)=>(e.openBlock(),e.createElementBlock("li",{key:X,class:e.normalizeClass([e.unref(i).be("spinner","item"),e.unref(i).is("active",X===k.value[j]),e.unref(i).is("disabled",G)]),onClick:Q=>B(j,{value:X,disabled:G})},[j==="hours"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(("0"+(A.amPmMode?X%12||12:X)).slice(-2))+e.toDisplayString(E(X)),1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(("0"+X).slice(-2)),1)],64))],10,DK))),128))]),_:2},1032,["class","view-class","onMouseenter","onMousemove"]))),128)),A.arrowControl?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(y.value,j=>(e.openBlock(),e.createElementBlock("div",{key:j,class:e.normalizeClass([e.unref(i).be("spinner","wrapper"),e.unref(i).is("arrow")]),onMouseenter:G=>v(j)},[e.withDirectives((e.openBlock(),e.createBlock(e.unref(ce),{class:e.normalizeClass(["arrow-up",e.unref(i).be("spinner","arrow")])},{default:e.withCtx(()=>[e.createVNode(e.unref(ec))]),_:1},8,["class"])),[[e.unref(zs),D]]),e.withDirectives((e.openBlock(),e.createBlock(e.unref(ce),{class:e.normalizeClass(["arrow-down",e.unref(i).be("spinner","arrow")])},{default:e.withCtx(()=>[e.createVNode(e.unref(Wo))]),_:1},8,["class"])),[[e.unref(zs),O]]),e.createElementVNode("ul",{class:e.normalizeClass(e.unref(i).be("spinner","list"))},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(w.value[j],(G,X)=>(e.openBlock(),e.createElementBlock("li",{key:X,class:e.normalizeClass([e.unref(i).be("spinner","item"),e.unref(i).is("active",G===k.value[j]),e.unref(i).is("disabled",C.value[j][G])])},[e.unref(pe)(G)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[j==="hours"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(("0"+(A.amPmMode?G%12||12:G)).slice(-2))+e.toDisplayString(E(G)),1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(("0"+G).slice(-2)),1)],64))],64)):e.createCommentVNode("v-if",!0)],2))),128))],2)],42,LK))),128)):e.createCommentVNode("v-if",!0)],2))}}),Ds=e.defineComponent({__name:"panel-time-pick",props:xK,emits:["pick","select-range","set-picker-option"],setup(t,{emit:n}){const o=t,r=n,a=e.inject(po),{arrowControl:l,disabledHours:s,disabledMinutes:i,disabledSeconds:c,defaultValue:d}=a.props,{getAvailableHours:u,getAvailableMinutes:f,getAvailableSeconds:p}=D1(s,i,c),g=ee("time"),{t:m,lang:h}=je(),b=e.ref([0,2]),y=L1(o),k=e.computed(()=>Xe(o.actualVisible)?`${g.namespace.value}-zoom-in-top`:""),C=e.computed(()=>o.format.includes("ss")),w=e.computed(()=>o.format.includes("A")?"A":o.format.includes("a")?"a":""),S=B=>{const M=Pe(B).locale(h.value),I=L(M);return M.isSame(I)},E=()=>{const B=y.value;r("pick",B,!1),e.nextTick(()=>{y.value=B})},v=(B=!1,M=!1)=>{M||r("pick",o.parsedValue,B)},N=B=>{if(!o.visible)return;const M=L(B).millisecond(0);r("pick",M,!0)},P=(B,M)=>{r("select-range",B,M),b.value=[B,M]},T=B=>{const M=o.format,I=M.indexOf("HH"),z=M.indexOf("mm"),F=M.indexOf("ss"),A=[],W=[];I!==-1&&(A.push(I),W.push("hours")),z!==-1&&(A.push(z),W.push("minutes")),F!==-1&&C.value&&(A.push(F),W.push("seconds"));const G=(A.indexOf(b.value[0])+B+A.length)%A.length;x.start_emitSelectRange(W[G])},V=B=>{const M=ut(B),{left:I,right:z,up:F,down:A}=te;if([I,z].includes(M)){T(M===I?-1:1),B.preventDefault();return}if([F,A].includes(M)){const W=M===F?-1:1;x.start_scrollDown(W),B.preventDefault();return}},{timePickerOptions:x,onSetOption:O,getAvailableTime:D}=A1({getAvailableHours:u,getAvailableMinutes:f,getAvailableSeconds:p}),L=B=>D(B,o.datetimeRole||"",!0),H=B=>B?Pe(B,o.format).locale(h.value):null,$=()=>Pe(d).locale(h.value);return r("set-picker-option",["isValidValue",S]),r("set-picker-option",["parseUserInput",H]),r("set-picker-option",["handleKeydownInput",V]),r("set-picker-option",["getRangeAvailableTime",L]),r("set-picker-option",["getDefaultValue",$]),(B,M)=>(e.openBlock(),e.createBlock(e.Transition,{name:k.value},{default:e.withCtx(()=>[B.actualVisible||B.visible?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(g).b("panel"))},[e.createElementVNode("div",{class:e.normalizeClass([e.unref(g).be("panel","content"),{"has-seconds":C.value}])},[e.createVNode(Xm,{ref:"spinner",role:B.datetimeRole||"start","arrow-control":e.unref(l),"show-seconds":C.value,"am-pm-mode":w.value,"spinner-date":B.parsedValue,"disabled-hours":e.unref(s),"disabled-minutes":e.unref(i),"disabled-seconds":e.unref(c),onChange:N,onSetOption:e.unref(O),onSelectRange:P},null,8,["role","arrow-control","show-seconds","am-pm-mode","spinner-date","disabled-hours","disabled-minutes","disabled-seconds","onSetOption"])],2),e.createElementVNode("div",{class:e.normalizeClass(e.unref(g).be("panel","footer"))},[e.createElementVNode("button",{type:"button",class:e.normalizeClass([e.unref(g).be("panel","btn"),"cancel"]),onClick:E},e.toDisplayString(e.unref(m)("el.datepicker.cancel")),3),e.createElementVNode("button",{type:"button",class:e.normalizeClass([e.unref(g).be("panel","btn"),"confirm"]),onClick:M[0]||(M[0]=I=>v())},e.toDisplayString(e.unref(m)("el.datepicker.confirm")),3)],2)],2)):e.createCommentVNode("v-if",!0)]),_:1},8,["name"]))}});const _K=oe({...O1,parsedValue:{type:K(Array)}}),FK=["disabled"];var HK=e.defineComponent({__name:"panel-time-range",props:_K,emits:["pick","select-range","set-picker-option"],setup(t,{emit:n}){const o=t,r=n,a=(_,q)=>{const le=[];for(let ue=_;ue<=q;ue++)le.push(ue);return le},{t:l,lang:s}=je(),i=ee("time"),c=ee("picker"),d=e.inject(po),{arrowControl:u,disabledHours:f,disabledMinutes:p,disabledSeconds:g,defaultValue:m}=d.props,h=e.computed(()=>[i.be("range-picker","body"),i.be("panel","content"),i.is("arrow",u),S.value?"has-seconds":""]),b=e.computed(()=>[i.be("range-picker","body"),i.be("panel","content"),i.is("arrow",u),S.value?"has-seconds":""]),y=e.computed(()=>o.parsedValue[0]),k=e.computed(()=>o.parsedValue[1]),C=L1(o),w=()=>{const _=C.value;r("pick",_,!1),e.nextTick(()=>{C.value=_})},S=e.computed(()=>o.format.includes("ss")),E=e.computed(()=>o.format.includes("A")?"A":o.format.includes("a")?"a":""),v=(_=!1)=>{r("pick",[y.value,k.value],_)},N=_=>{V(_.millisecond(0),k.value)},P=_=>{V(y.value,_.millisecond(0))},T=_=>{const q=_.map(ue=>Pe(ue).locale(s.value)),le=F(q);return q[0].isSame(le[0])&&q[1].isSame(le[1])},V=(_,q)=>{o.visible&&r("pick",[_,q],!0)},x=e.computed(()=>y.value>k.value),O=e.ref([0,2]),D=(_,q)=>{r("select-range",_,q,"min"),O.value=[_,q]},L=e.computed(()=>S.value?11:8),H=(_,q)=>{r("select-range",_,q,"max");const le=e.unref(L);O.value=[_+le,q+le]},$=_=>{const q=S.value?[0,3,6,11,14,17]:[0,3,8,11],le=["hours","minutes"].concat(S.value?["seconds"]:[]),Ce=(q.indexOf(O.value[0])+_+q.length)%q.length,Ee=q.length/2;Ce{const q=ut(_),{left:le,right:ue,up:Ce,down:Ee}=te;if([le,ue].includes(q)){$(q===le?-1:1),_.preventDefault();return}if([Ce,Ee].includes(q)){const Ve=q===Ce?-1:1,Ie=O.value[0]{const le=f?f(_):[],ue=_==="start",Ee=(q||(ue?k.value:y.value)).hour(),Ve=ue?a(Ee+1,23):a(0,Ee-1);return Zi(le,Ve)},I=(_,q,le)=>{const ue=p?p(_,q):[],Ce=q==="start",Ee=le||(Ce?k.value:y.value),Ve=Ee.hour();if(_!==Ve)return ue;const Ie=Ee.minute(),qe=Ce?a(Ie+1,59):a(0,Ie-1);return Zi(ue,qe)},z=(_,q,le,ue)=>{const Ce=g?g(_,q,le):[],Ee=le==="start",Ve=ue||(Ee?k.value:y.value),Ie=Ve.hour(),qe=Ve.minute();if(_!==Ie||q!==qe)return Ce;const We=Ve.second(),be=Ee?a(We+1,59):a(0,We-1);return Zi(Ce,be)},F=([_,q])=>[X(_,"start",!0,q),X(q,"end",!1,_)],{getAvailableHours:A,getAvailableMinutes:W,getAvailableSeconds:j}=D1(M,I,z),{timePickerOptions:G,getAvailableTime:X,onSetOption:Q}=A1({getAvailableHours:A,getAvailableMinutes:W,getAvailableSeconds:j}),J=_=>_?ie(_)?_.map(q=>Pe(q,o.format).locale(s.value)):Pe(_,o.format).locale(s.value):null,Y=()=>{if(ie(m))return m.map(q=>Pe(q).locale(s.value));const _=Pe(m).locale(s.value);return[_,_.add(60,"m")]};return r("set-picker-option",["parseUserInput",J]),r("set-picker-option",["isValidValue",T]),r("set-picker-option",["handleKeydownInput",B]),r("set-picker-option",["getDefaultValue",Y]),r("set-picker-option",["getRangeAvailableTime",F]),(_,q)=>_.actualVisible?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass([e.unref(i).b("range-picker"),e.unref(c).b("panel")])},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(i).be("range-picker","content"))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(i).be("range-picker","cell"))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(i).be("range-picker","header"))},e.toDisplayString(e.unref(l)("el.datepicker.startTime")),3),e.createElementVNode("div",{class:e.normalizeClass(h.value)},[e.createVNode(Xm,{ref:"minSpinner",role:"start","show-seconds":S.value,"am-pm-mode":E.value,"arrow-control":e.unref(u),"spinner-date":y.value,"disabled-hours":M,"disabled-minutes":I,"disabled-seconds":z,onChange:N,onSetOption:e.unref(Q),onSelectRange:D},null,8,["show-seconds","am-pm-mode","arrow-control","spinner-date","onSetOption"])],2)],2),e.createElementVNode("div",{class:e.normalizeClass(e.unref(i).be("range-picker","cell"))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(i).be("range-picker","header"))},e.toDisplayString(e.unref(l)("el.datepicker.endTime")),3),e.createElementVNode("div",{class:e.normalizeClass(b.value)},[e.createVNode(Xm,{ref:"maxSpinner",role:"end","show-seconds":S.value,"am-pm-mode":E.value,"arrow-control":e.unref(u),"spinner-date":k.value,"disabled-hours":M,"disabled-minutes":I,"disabled-seconds":z,onChange:P,onSetOption:e.unref(Q),onSelectRange:H},null,8,["show-seconds","am-pm-mode","arrow-control","spinner-date","onSetOption"])],2)],2)],2),e.createElementVNode("div",{class:e.normalizeClass(e.unref(i).be("panel","footer"))},[e.createElementVNode("button",{type:"button",class:e.normalizeClass([e.unref(i).be("panel","btn"),"cancel"]),onClick:q[0]||(q[0]=le=>w())},e.toDisplayString(e.unref(l)("el.datepicker.cancel")),3),e.createElementVNode("button",{type:"button",class:e.normalizeClass([e.unref(i).be("panel","btn"),"confirm"]),disabled:x.value,onClick:q[1]||(q[1]=le=>v())},e.toDisplayString(e.unref(l)("el.datepicker.confirm")),11,FK)],2)],2)):e.createCommentVNode("v-if",!0)}});Pe.extend(xm);var KK=e.defineComponent({name:"ElTimePicker",install:null,props:{...Kc,isRange:Boolean},emits:[Ne],setup(t,n){const o=e.ref(),[r,a]=t.isRange?["timerange",HK]:["time",Ds],l=s=>n.emit(Ne,s);return e.provide(_c,t.popperOptions),n.expose({focus:()=>{var s;(s=o.value)==null||s.focus()},blur:()=>{var s;(s=o.value)==null||s.blur()},handleOpen:()=>{var s;(s=o.value)==null||s.handleOpen()},handleClose:()=>{var s;(s=o.value)==null||s.handleClose()}}),()=>{var s;const i=(s=t.format)!=null?s:wa;return e.createVNode(Lm,e.mergeProps(t,{ref:o,type:r,format:i,"onUpdate:modelValue":l}),{default:c=>e.createVNode(a,c,null)})}}});const oS=Re(KK),WK=(t,n)=>{const o=t.subtract(1,"month").endOf("month").date();return kr(n).map((r,a)=>o-(n-a-1))},jK=t=>{const n=t.daysInMonth();return kr(n).map((o,r)=>r+1)},UK=t=>kr(t.length/7).map(n=>{const o=n*7;return t.slice(o,o+7)}),YK=oe({selectedDay:{type:K(Object)},range:{type:K(Array)},date:{type:K(Object),required:!0},hideHeader:{type:Boolean}}),GK={pick:t=>tt(t)};var rS={exports:{}};(function(t,n){(function(o,r){t.exports=r()})(Cr,(function(){return function(o,r,a){var l=r.prototype,s=function(f){return f&&(f.indexOf?f:f.s)},i=function(f,p,g,m,h){var b=f.name?f:f.$locale(),y=s(b[p]),k=s(b[g]),C=y||k.map((function(S){return S.slice(0,m)}));if(!h)return C;var w=b.weekStart;return C.map((function(S,E){return C[(E+(w||0))%7]}))},c=function(){return a.Ls[a.locale()]},d=function(f,p){return f.formats[p]||(function(g){return g.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(m,h,b){return h||b.slice(1)}))})(f.formats[p.toUpperCase()])},u=function(){var f=this;return{months:function(p){return p?p.format("MMMM"):i(f,"months")},monthsShort:function(p){return p?p.format("MMM"):i(f,"monthsShort","months",3)},firstDayOfWeek:function(){return f.$locale().weekStart||0},weekdays:function(p){return p?p.format("dddd"):i(f,"weekdays")},weekdaysMin:function(p){return p?p.format("dd"):i(f,"weekdaysMin","weekdays",2)},weekdaysShort:function(p){return p?p.format("ddd"):i(f,"weekdaysShort","weekdays",3)},longDateFormat:function(p){return d(f.$locale(),p)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};l.localeData=function(){return u.bind(this)()},a.localeData=function(){var f=c();return{firstDayOfWeek:function(){return f.weekStart||0},weekdays:function(){return a.weekdays()},weekdaysShort:function(){return a.weekdaysShort()},weekdaysMin:function(){return a.weekdaysMin()},months:function(){return a.months()},monthsShort:function(){return a.monthsShort()},longDateFormat:function(p){return d(f,p)},meridiem:f.meridiem,ordinal:f.ordinal}},a.months=function(){return i(c(),"months")},a.monthsShort=function(){return i(c(),"monthsShort","months",3)},a.weekdays=function(f){return i(c(),"weekdays",null,null,f)},a.weekdaysShort=function(f){return i(c(),"weekdaysShort","weekdays",3,f)},a.weekdaysMin=function(f){return i(c(),"weekdaysMin","weekdays",2,f)}}}))})(rS);var aS=rS.exports;const qK=(t,n)=>{Pe.extend(aS);const o=Pe.localeData().firstDayOfWeek(),{t:r,lang:a}=je(),l=Pe().locale(a.value),s=e.computed(()=>!!t.range&&!!t.range.length),i=e.computed(()=>{let p=[];if(s.value){const[g,m]=t.range,h=kr(m.date()-g.date()+1).map(k=>({text:g.date()+k,type:"current"}));let b=h.length%7;b=b===0?0:7-b;const y=kr(b).map((k,C)=>({text:C+1,type:"next"}));p=h.concat(y)}else{const g=t.date.startOf("month").day(),m=WK(t.date,(g-o+7)%7).map(k=>({text:k,type:"prev"})),h=jK(t.date).map(k=>({text:k,type:"current"}));p=[...m,...h];const b=7-(p.length%7||7),y=kr(b).map((k,C)=>({text:C+1,type:"next"}));p=p.concat(y)}return UK(p)}),c=e.computed(()=>{const p=o;return p===0?mi.map(g=>r(`el.datepicker.weeks.${g}`)):mi.slice(p).concat(mi.slice(0,p)).map(g=>r(`el.datepicker.weeks.${g}`))}),d=(p,g)=>{switch(g){case"prev":return t.date.startOf("month").subtract(1,"month").date(p);case"next":return t.date.startOf("month").add(1,"month").date(p);case"current":return t.date.date(p)}};return{now:l,isInRange:s,rows:i,weekDays:c,getFormattedDate:d,handlePickDay:({text:p,type:g})=>{const m=d(p,g);n("pick",m)},getSlotData:({text:p,type:g})=>{const m=d(p,g);return{isSelected:m.isSame(t.selectedDay),type:`${g}-month`,day:m.format("YYYY-MM-DD"),date:m.toDate()}}}},XK={key:0},ZK=["onClick"];var lS=e.defineComponent({name:"DateTable",__name:"date-table",props:YK,emits:GK,setup(t,{expose:n,emit:o}){const r=t,a=o,{isInRange:l,now:s,rows:i,weekDays:c,getFormattedDate:d,handlePickDay:u,getSlotData:f}=qK(r,a),p=ee("calendar-table"),g=ee("calendar-day"),m=({text:h,type:b})=>{const y=[b];if(b==="current"){const k=d(h,b);k.isSame(r.selectedDay,"day")&&y.push(g.is("selected")),k.isSame(s,"day")&&y.push(g.is("today"))}return y};return n({getFormattedDate:d}),(h,b)=>(e.openBlock(),e.createElementBlock("table",{class:e.normalizeClass([e.unref(p).b(),e.unref(p).is("range",e.unref(l))]),cellspacing:"0",cellpadding:"0"},[t.hideHeader?e.createCommentVNode("v-if",!0):(e.openBlock(),e.createElementBlock("thead",XK,[e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(c),y=>(e.openBlock(),e.createElementBlock("th",{key:y,scope:"col"},e.toDisplayString(y),1))),128))])])),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(i),(y,k)=>(e.openBlock(),e.createElementBlock("tr",{key:k,class:e.normalizeClass({[e.unref(p).e("row")]:!0,[e.unref(p).em("row","hide-border")]:k===0&&t.hideHeader})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(y,(C,w)=>(e.openBlock(),e.createElementBlock("td",{key:w,class:e.normalizeClass(m(C)),onClick:S=>e.unref(u)(C)},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(g).b())},[e.renderSlot(h.$slots,"date-cell",{data:e.unref(f)(C)},()=>[e.createElementVNode("span",null,e.toDisplayString(C.text),1)])],2)],10,ZK))),128))],2))),128))])],2))}});const JK=(t,n)=>{const o=t.endOf("month"),r=n.startOf("month"),l=o.isSame(r,"week")?r.add(1,"week"):r;return[[t,o],[l.startOf("week"),n]]},QK=(t,n)=>{const o=t.endOf("month"),r=t.add(1,"month").startOf("month"),a=o.isSame(r,"week")?r.add(1,"week"):r,l=a.endOf("month"),s=n.startOf("month"),i=l.isSame(s,"week")?s.add(1,"week"):s;return[[t,o],[a.startOf("week"),l],[i.startOf("week"),n]]},eW=(t,n,o)=>{const{lang:r}=je(),a=e.ref(),l=Pe().locale(r.value),s=e.computed({get(){return t.modelValue?c.value:a.value},set(y){if(!y)return;a.value=y;const k=y.toDate();n(Dt,k),n(Ne,k)}}),i=e.computed(()=>{if(!t.range||!ie(t.range)||t.range.length!==2||t.range.some(w=>!Aa(w)))return[];const y=t.range.map(w=>Pe(w).locale(r.value)),[k,C]=y;return k.isAfter(C)?[]:k.isSame(C,"month")?g(k,C):k.add(1,"month").month()!==C.month()?[]:g(k,C)}),c=e.computed(()=>t.modelValue?Pe(t.modelValue).locale(r.value):s.value||(i.value.length?i.value[0][0]:l)),d=e.computed(()=>c.value.subtract(1,"month").date(1)),u=e.computed(()=>c.value.add(1,"month").date(1)),f=e.computed(()=>c.value.subtract(1,"year").date(1)),p=e.computed(()=>c.value.add(1,"year").date(1)),g=(y,k)=>{const C=y.startOf("week"),w=k.endOf("week"),S=C.get("month"),E=w.get("month");return S===E?[[C,w]]:(S+1)%12===E?JK(C,w):S+2===E||(S+1)%11===E?QK(C,w):[]},m=y=>{s.value=y},h=y=>{const C={"prev-month":d.value,"next-month":u.value,"prev-year":f.value,"next-year":p.value,today:l}[y];C.isSame(c.value,"day")||m(C)};return{calculateValidatedDateRange:g,date:c,realSelectedDay:s,pickDay:m,selectDate:h,validatedRange:i,handleDateChange:y=>{y==="today"?h("today"):m(y)}}},tW=oe({date:{type:K(Object),required:!0},formatter:{type:K(Function)}}),nW={"date-change":t=>tt(t)||ve(t)},er=oe({type:{type:String,values:["primary","success","info","warning","danger"],default:"primary"},closable:Boolean,disableTransitions:Boolean,hit:Boolean,color:String,size:{type:String,values:Jn},effect:{type:String,values:["dark","light","plain"],default:"light"},round:Boolean}),sS={close:t=>t instanceof MouseEvent,click:t=>t instanceof MouseEvent},oW=["aria-label"],rW=["aria-label"];var aW=e.defineComponent({name:"ElTag",__name:"tag",props:er,emits:sS,setup(t,{emit:n}){const o=t,r=n,a=zt(),{t:l}=je(),s=ee("tag"),i=e.computed(()=>{const{type:f,hit:p,effect:g,closable:m,round:h}=o;return[s.b(),s.is("closable",m),s.m(f||"primary"),s.m(a.value),s.m(g),s.is("hit",p),s.is("round",h)]}),c=f=>{r("close",f)},d=f=>{r("click",f)},u=f=>{var p,g,m;(m=(g=(p=f==null?void 0:f.component)==null?void 0:p.subTree)==null?void 0:g.component)!=null&&m.bum&&(f.component.subTree.component.bum=null)};return(f,p)=>t.disableTransitions?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(i.value),style:e.normalizeStyle({backgroundColor:t.color}),onClick:d},[e.createElementVNode("span",{class:e.normalizeClass(e.unref(s).e("content"))},[e.renderSlot(f.$slots,"default")],2),t.closable?(e.openBlock(),e.createElementBlock("button",{key:0,"aria-label":e.unref(l)("el.tag.close"),class:e.normalizeClass(e.unref(s).e("close")),type:"button",onClick:e.withModifiers(c,["stop"])},[e.createVNode(e.unref(ce),null,{default:e.withCtx(()=>[e.createVNode(e.unref(so))]),_:1})],10,oW)):e.createCommentVNode("v-if",!0)],6)):(e.openBlock(),e.createBlock(e.Transition,{key:1,name:`${e.unref(s).namespace.value}-zoom-in-center`,appear:"",onVnodeMounted:u},{default:e.withCtx(()=>[e.createElementVNode("span",{class:e.normalizeClass(i.value),style:e.normalizeStyle({backgroundColor:t.color}),onClick:d},[e.createElementVNode("span",{class:e.normalizeClass(e.unref(s).e("content"))},[e.renderSlot(f.$slots,"default")],2),t.closable?(e.openBlock(),e.createElementBlock("button",{key:0,"aria-label":e.unref(l)("el.tag.close"),class:e.normalizeClass(e.unref(s).e("close")),type:"button",onClick:e.withModifiers(c,["stop"])},[e.createVNode(e.unref(ce),null,{default:e.withCtx(()=>[e.createVNode(e.unref(so))]),_:1})],10,rW)):e.createCommentVNode("v-if",!0)],6)]),_:3},8,["name"]))}});const tr=Re(aW),qc={label:"label",value:"value",disabled:"disabled",options:"options"};function Ls(t){const n=e.ref({...qc,...t.props});let o={...t.props};return e.watch(()=>t.props,i=>{xt(i,o)||(n.value={...qc,...i},o={...i})},{deep:!0}),{aliasProps:n,getLabel:i=>Mt(i,n.value.label),getValue:i=>Mt(i,n.value.value),getDisabled:i=>Mt(i,n.value.disabled),getOptions:i=>Mt(i,n.value.options)}}const Zm=Symbol("ElSelectGroup"),wl=Symbol("ElSelect"),Jm="ElOption",lW=oe({value:{type:[String,Number,Boolean,Object],required:!0},label:{type:[String,Number]},created:Boolean,disabled:Boolean});function sW(t,n){const o=e.inject(wl);o||Ft(Jm,"usage: ");const r=e.inject(Zm,{disabled:!1}),a=e.computed(()=>u(Xt(o.props.modelValue),t.value)),l=e.computed(()=>{var g;if(o.props.multiple){const m=Xt((g=o.props.modelValue)!=null?g:[]);return!a.value&&m.length>=o.props.multipleLimit&&o.props.multipleLimit>0}else return!1}),s=e.computed(()=>{var g;return(g=t.label)!=null?g:tt(t.value)?"":t.value}),i=e.computed(()=>t.value||t.label||""),c=e.computed(()=>t.disabled||n.groupDisabled||l.value),d=e.getCurrentInstance(),u=(g=[],m)=>{if(tt(t.value)){const h=o.props.valueKey;return g&&g.some(b=>e.toRaw(Mt(b,h))===Mt(m,h))}else return g&&g.includes(m)},f=()=>{c.value||(o.states.hoveringIndex=o.optionsArray.indexOf(d.proxy))},p=g=>{const m=new RegExp(mf(g),"i");n.visible=m.test(String(s.value))||t.created};return e.watch(()=>s.value,()=>{!t.created&&!o.props.remote&&o.setSelected()}),e.watch(()=>t.value,(g,m)=>{const{remote:h,valueKey:b}=o.props;if((h?g!==m:!xt(g,m))&&(o.onOptionDestroy(m,d.proxy),o.onOptionCreate(d.proxy)),!t.created&&!h){if(b&&tt(g)&&tt(m)&&g[b]===m[b])return;o.setSelected()}}),e.watch(()=>r.disabled,()=>{n.groupDisabled=r.disabled},{immediate:!0}),{select:o,currentLabel:s,currentValue:i,itemSelected:a,isDisabled:c,hoverItem:f,updateOption:p}}var iW=e.defineComponent({name:Jm,componentName:Jm,props:lW,setup(t){const n=ee("select"),o=en(),r=e.computed(()=>[n.be("dropdown","item"),n.is("disabled",e.unref(i)),n.is("selected",e.unref(s)),n.is("hovering",e.unref(p))]),a=e.reactive({index:-1,groupDisabled:!1,visible:!0,hover:!1}),{currentLabel:l,itemSelected:s,isDisabled:i,select:c,hoverItem:d,updateOption:u}=sW(t,a),{visible:f,hover:p}=e.toRefs(a),g=e.getCurrentInstance().proxy;c.onOptionCreate(g),e.onBeforeUnmount(()=>{const h=g.value;e.nextTick(()=>{const{selected:b}=c.states,y=b.some(k=>k.value===g.value);c.states.cachedOptions.get(h)===g&&!y&&c.states.cachedOptions.delete(h)}),c.onOptionDestroy(h,g)});function m(){i.value||c.handleOptionSelect(g)}return{ns:n,id:o,containerKls:r,currentLabel:l,itemSelected:s,isDisabled:i,select:c,visible:f,hover:p,states:a,hoverItem:d,updateOption:u,selectOptionClick:m}}});const cW=["id","aria-disabled","aria-selected"];function dW(t,n,o,r,a,l){return e.withDirectives((e.openBlock(),e.createElementBlock("li",{id:t.id,class:e.normalizeClass(t.containerKls),role:"option","aria-disabled":t.isDisabled||void 0,"aria-selected":t.itemSelected,onMousemove:n[0]||(n[0]=(...s)=>t.hoverItem&&t.hoverItem(...s)),onClick:n[1]||(n[1]=e.withModifiers((...s)=>t.selectOptionClick&&t.selectOptionClick(...s),["stop"]))},[e.renderSlot(t.$slots,"default",{},()=>[e.createElementVNode("span",null,e.toDisplayString(t.currentLabel),1)])],42,cW)),[[e.vShow,t.visible]])}var Qm=Ut(iW,[["render",dW]]),uW=e.defineComponent({name:"ElSelectDropdown",componentName:"ElSelectDropdown",setup(){const t=e.inject(wl),n=ee("select"),o=e.computed(()=>t.props.popperClass),r=e.computed(()=>t.props.multiple),a=e.computed(()=>t.props.fitInputWidth),l=e.ref("");function s(){var i;const c=(i=t.selectRef)==null?void 0:i.offsetWidth;c?l.value=`${c-Hd}px`:l.value=""}return e.onMounted(()=>{s(),yt(t.selectRef,s)}),{ns:n,minWidth:l,popperClass:o,isMultiple:r,isFitInputWidth:a}}});function fW(t,n,o,r,a,l){return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass([t.ns.b("dropdown"),t.ns.is("multiple",t.isMultiple),t.popperClass]),style:e.normalizeStyle({[t.isFitInputWidth?"width":"minWidth"]:t.minWidth})},[t.$slots.header?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(t.ns.be("dropdown","header"))},[e.renderSlot(t.$slots,"header")],2)):e.createCommentVNode("v-if",!0),e.renderSlot(t.$slots,"default"),t.$slots.footer?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(t.ns.be("dropdown","footer"))},[e.renderSlot(t.$slots,"footer")],2)):e.createCommentVNode("v-if",!0)],6)}var mW=Ut(uW,[["render",fW]]);const pW=(t,n)=>{const{t:o}=je(),r=e.useSlots(),a=en(),l=ee("select"),s=ee("input"),i=e.reactive({inputValue:"",options:new Map,cachedOptions:new Map,optionValues:[],selected:[],selectionWidth:0,collapseItemWidth:0,selectedLabel:"",hoveringIndex:-1,previousQuery:null,inputHovering:!1,menuVisibleOnFocus:!1,isBeforeHide:!1}),c=e.ref(),d=e.ref(),u=e.ref(),f=e.ref(),p=e.ref(),g=e.ref(),m=e.ref(),h=e.ref(),b=e.ref(),y=e.ref(),k=e.ref(),C=e.ref(!1),w=e.ref(),S=e.ref(!1),{form:E,formItem:v}=Zt(),{inputId:N}=Dn(t,{formItemContext:v}),{valueOnClear:P,isEmptyValue:T}=ml(t),{isComposing:V,handleCompositionStart:x,handleCompositionUpdate:O,handleCompositionEnd:D}=fl({afterComposition:re=>pt(re)}),L=kt(),{wrapperRef:H,isFocused:$,handleBlur:B}=Qo(p,{disabled:L,afterFocus(){t.automaticDropdown&&!C.value&&(C.value=!0,i.menuVisibleOnFocus=!0)},beforeBlur(re){var xe,Ze;return((xe=u.value)==null?void 0:xe.isFocusInsideContent(re))||((Ze=f.value)==null?void 0:Ze.isFocusInsideContent(re))},afterBlur(){var re;C.value=!1,i.menuVisibleOnFocus=!1,t.validateEvent&&((re=v==null?void 0:v.validate)==null||re.call(v,"blur").catch(xe=>void 0))}}),M=e.computed(()=>ie(t.modelValue)?t.modelValue.length>0:!T(t.modelValue)),I=e.computed(()=>{var re;return(re=E==null?void 0:E.statusIcon)!=null?re:!1}),z=e.computed(()=>t.clearable&&!L.value&&M.value&&($.value||i.inputHovering)),F=e.computed(()=>t.remote&&t.filterable&&!t.remoteShowSuffix?"":t.suffixIcon),A=e.computed(()=>l.is("reverse",!!(F.value&&C.value))),W=e.computed(()=>(v==null?void 0:v.validateState)||""),j=e.computed(()=>W.value&&oc[W.value]),G=e.computed(()=>t.remote?t.debounce:0),X=e.computed(()=>t.remote&&!i.inputValue&&i.options.size===0),Q=e.computed(()=>t.loading?t.loadingText||o("el.select.loading"):t.filterable&&i.inputValue&&i.options.size>0&&J.value===0?t.noMatchText||o("el.select.noMatch"):i.options.size===0?t.noDataText||o("el.select.noData"):null),J=e.computed(()=>Y.value.filter(re=>re.visible).length),Y=e.computed(()=>{const re=Array.from(i.options.values()),xe=[];return i.optionValues.forEach(Ze=>{const Et=re.findIndex(Ot=>Ot.value===Ze);Et>-1&&xe.push(re[Et])}),xe.length>=re.length?xe:re}),_=e.computed(()=>Array.from(i.cachedOptions.values())),q=e.computed(()=>{const re=Y.value.filter(xe=>!xe.created).some(xe=>xe.currentLabel===i.inputValue);return t.filterable&&t.allowCreate&&i.inputValue!==""&&!re}),le=()=>{t.filterable&&Ae(t.filterMethod)||t.filterable&&t.remote&&Ae(t.remoteMethod)||Y.value.forEach(re=>{var xe;(xe=re.updateOption)==null||xe.call(re,i.inputValue)})},ue=zt(),Ce=e.computed(()=>["small"].includes(ue.value)?"small":"default"),Ee=e.computed({get(){return C.value&&(t.loading||!X.value||t.remote&&!!r.empty)&&(!S.value||!Tn(i.previousQuery))},set(re){C.value=re}}),Ve=e.computed(()=>{if(t.multiple&&!Xe(t.modelValue))return Xt(t.modelValue).length===0&&!i.inputValue;const re=ie(t.modelValue)?t.modelValue[0]:t.modelValue;return t.filterable||Xe(re)?!i.inputValue:!0}),Ie=e.computed(()=>{var re;const xe=(re=t.placeholder)!=null?re:o("el.select.placeholder");return t.multiple||!M.value?xe:i.selectedLabel}),qe=e.computed(()=>pi?null:"mouseenter");e.watch(()=>t.modelValue,(re,xe)=>{t.multiple&&t.filterable&&!t.reserveKeyword&&(i.inputValue="",We("")),ye(),!xt(re,xe)&&t.validateEvent&&(v==null||v.validate("change").catch(Ze=>void 0))},{flush:"post",deep:!0}),e.watch(()=>C.value,re=>{re?We(i.inputValue):(i.inputValue="",i.previousQuery=null,i.isBeforeHide=!0,i.menuVisibleOnFocus=!1)}),e.watch(()=>i.options.entries(),()=>{Je&&(ye(),t.defaultFirstOption&&(t.filterable||t.remote)&&J.value&&be())},{flush:"post"}),e.watch([()=>i.hoveringIndex,Y],([re])=>{pe(re)&&re>-1?w.value=Y.value[re]||{}:w.value={},Y.value.forEach(xe=>{xe.hover=w.value===xe})}),e.watchEffect(()=>{i.isBeforeHide||le()});const We=re=>{i.previousQuery===re||V.value||(i.previousQuery=re,t.filterable&&Ae(t.filterMethod)?t.filterMethod(re):t.filterable&&t.remote&&Ae(t.remoteMethod)&&t.remoteMethod(re),t.defaultFirstOption&&(t.filterable||t.remote)&&J.value?e.nextTick(be):e.nextTick(Oe))},be=()=>{const re=Y.value.filter(Ot=>Ot.visible&&!Ot.disabled&&!Ot.states.groupDisabled),xe=re.find(Ot=>Ot.created),Ze=re[0],Et=Y.value.map(Ot=>Ot.value);i.hoveringIndex=de(Et,xe||Ze)},ye=()=>{if(t.multiple)i.selectedLabel="";else{const xe=ie(t.modelValue)?t.modelValue[0]:t.modelValue,Ze=Te(xe);i.selectedLabel=Ze.currentLabel,i.selected=[Ze];return}const re=[];Xe(t.modelValue)||Xt(t.modelValue).forEach(xe=>{re.push(Te(xe))}),i.selected=re},Te=re=>{let xe;const Ze=qd(re);for(let En=i.cachedOptions.size-1;En>=0;En--){const gn=_.value[En];if(Ze?Mt(gn.value,t.valueKey)===Mt(re,t.valueKey):gn.value===re){xe={index:Y.value.filter(Tr=>!Tr.created).indexOf(gn),value:re,currentLabel:gn.currentLabel,get isDisabled(){return gn.isDisabled}};break}}if(xe)return xe;const Et=Ze?re.label:re!=null?re:"";return{index:-1,value:re,currentLabel:Et}},Oe=()=>{const re=i.selected.length;if(re>0){const xe=i.selected[re-1];i.hoveringIndex=Y.value.findIndex(Ze=>ln(xe)===ln(Ze))}else i.hoveringIndex=-1},Fe=()=>{i.selectionWidth=Number.parseFloat(window.getComputedStyle(d.value).width)},Ue=()=>{i.collapseItemWidth=y.value.getBoundingClientRect().width},fe=()=>{var re,xe;(xe=(re=u.value)==null?void 0:re.updatePopper)==null||xe.call(re)},we=()=>{var re,xe;(xe=(re=f.value)==null?void 0:re.updatePopper)==null||xe.call(re)},Se=()=>{i.inputValue.length>0&&!C.value&&(C.value=!0),We(i.inputValue)},pt=re=>{if(i.inputValue=re.target.value,t.remote)S.value=!0,bt();else return Se()},bt=Wl(()=>{Se(),S.value=!1},G),Be=re=>{xt(t.modelValue,re)||n(_e,re)},ze=re=>Di(re,xe=>{const Ze=i.cachedOptions.get(xe);return!(Ze!=null&&Ze.disabled)&&!(Ze!=null&&Ze.states.groupDisabled)}),Ye=re=>{const xe=ut(re);if(t.multiple&&xe!==te.delete&&re.target.value.length<=0){const Ze=Xt(t.modelValue).slice(),Et=ze(Ze);if(Et<0)return;const Ot=Ze[Et];Ze.splice(Et,1),n(Ne,Ze),Be(Ze),n("remove-tag",Ot)}},ne=(re,xe)=>{const Ze=i.selected.indexOf(xe);if(Ze>-1&&!L.value){const Et=Xt(t.modelValue).slice();Et.splice(Ze,1),n(Ne,Et),Be(Et),n("remove-tag",xe.value)}re.stopPropagation(),he()},me=re=>{re.stopPropagation();const xe=t.multiple?[]:P.value;if(t.multiple)for(const Ze of i.selected)Ze.isDisabled&&xe.push(Ze.value);n(Ne,xe),Be(xe),i.hoveringIndex=-1,C.value=!1,n("clear"),he()},Z=re=>{var xe;if(t.multiple){const Ze=Xt((xe=t.modelValue)!=null?xe:[]).slice(),Et=de(Ze,re);Et>-1?Ze.splice(Et,1):(t.multipleLimit<=0||Ze.length{De(re)})},de=(re,xe)=>Xe(xe)?-1:tt(xe.value)?re.findIndex(Ze=>xt(Mt(Ze,t.valueKey),ln(xe))):re.indexOf(xe.value),De=re=>{var xe,Ze,Et,Ot,En;const gn=ie(re)?re[re.length-1]:re;let rr=null;if(!Rt(gn==null?void 0:gn.value)){const Tr=Y.value.filter(_l=>_l.value===gn.value);Tr.length>0&&(rr=Tr[0].$el)}if(u.value&&rr){const Tr=(Ot=(Et=(Ze=(xe=u.value)==null?void 0:xe.popperRef)==null?void 0:Ze.contentRef)==null?void 0:Et.querySelector)==null?void 0:Ot.call(Et,`.${l.be("dropdown","wrap")}`);Tr&&hf(Tr,rr)}(En=k.value)==null||En.handleScroll()},st=re=>{i.options.set(re.value,re),i.cachedOptions.set(re.value,re)},Tt=(re,xe)=>{i.options.get(re)===xe&&i.options.delete(re)},Vt=e.computed(()=>{var re,xe;return(xe=(re=u.value)==null?void 0:re.popperRef)==null?void 0:xe.contentRef}),se=()=>{i.isBeforeHide=!1,e.nextTick(()=>{var re;(re=k.value)==null||re.update(),De(i.selected)})},he=()=>{var re;(re=p.value)==null||re.focus()},Me=()=>{var re;if(C.value){C.value=!1,e.nextTick(()=>{var xe;return(xe=p.value)==null?void 0:xe.blur()});return}(re=p.value)==null||re.blur()},St=re=>{me(re)},rt=re=>{if(C.value=!1,$.value){const xe=new FocusEvent("blur",re);e.nextTick(()=>B(xe))}},ge=()=>{i.inputValue.length>0?i.inputValue="":C.value=!1},ke=re=>{var xe;L.value||t.filterable&&C.value&&re&&!((xe=m.value)!=null&&xe.contains(re.target))||(pi&&(i.inputHovering=!0),i.menuVisibleOnFocus?i.menuVisibleOnFocus=!1:C.value=!C.value)},Le=()=>{if(!C.value)ke();else{const re=Y.value[i.hoveringIndex];re&&!re.isDisabled&&Z(re)}},ln=re=>tt(re.value)?Mt(re.value,t.valueKey):re.value,$n=e.computed(()=>Y.value.filter(re=>re.visible).every(re=>re.isDisabled)),Io=e.computed(()=>t.multiple?t.collapseTags?i.selected.slice(0,t.maxCollapseTags):i.selected:[]),Od=e.computed(()=>t.multiple?t.collapseTags?i.selected.slice(t.maxCollapseTags):[]:[]),Ma=re=>{if(!C.value){C.value=!0;return}if(!(i.options.size===0||J.value===0||V.value)&&!$n.value){re==="next"?(i.hoveringIndex++,i.hoveringIndex===i.options.size&&(i.hoveringIndex=0)):re==="prev"&&(i.hoveringIndex--,i.hoveringIndex<0&&(i.hoveringIndex=i.options.size-1));const xe=Y.value[i.hoveringIndex];(xe.isDisabled||!xe.visible)&&Ma(re),e.nextTick(()=>De(w.value))}},Ad=(re,xe,Ze,Et)=>{for(let Ot=xe;Ot>=0&&Ot{var Ze;const Et=i.options.size;if(Et===0)return;const Ot=Mr(re,0,Et-1),En=Y.value,gn=xe==="up"?-1:1,rr=(Ze=Ad(En,Ot,gn,Et))!=null?Ze:Ad(En,Ot-gn,-gn,Et);rr!=null&&(i.hoveringIndex=rr,e.nextTick(()=>De(w.value)))},kg=re=>{const xe=ut(re);let Ze=!0;switch(xe){case te.up:Ma("prev");break;case te.down:Ma("next");break;case te.enter:case te.numpadEnter:V.value||Le();break;case te.esc:ge();break;case te.backspace:Ze=!1,Ye(re);return;case te.home:if(!C.value)return;Br(0,"down");break;case te.end:if(!C.value)return;Br(i.options.size-1,"up");break;case te.pageUp:if(!C.value)return;Br(i.hoveringIndex-10,"up");break;case te.pageDown:if(!C.value)return;Br(i.hoveringIndex+10,"down");break;default:Ze=!1;break}Ze&&(re.preventDefault(),re.stopPropagation())},Sg=()=>{if(!d.value)return 0;const re=window.getComputedStyle(d.value);return Number.parseFloat(re.gap||"6px")},Eg=e.computed(()=>{const re=Sg(),xe=t.filterable?re+Kl:0;return{maxWidth:`${y.value&&t.maxCollapseTags===1?i.selectionWidth-i.collapseItemWidth-re-xe:i.selectionWidth-xe}px`}}),vg=e.computed(()=>({maxWidth:`${i.selectionWidth}px`})),Ng=re=>{n("popup-scroll",re)};yt(d,Fe),yt(H,fe),yt(b,we),yt(y,Ue);let Ia;return e.watch(()=>Ee.value,re=>{re?Ia=yt(h,fe).stop:(Ia==null||Ia(),Ia=void 0),n("visible-change",re)}),e.onMounted(()=>{ye()}),{inputId:N,contentId:a,nsSelect:l,nsInput:s,states:i,isFocused:$,expanded:C,optionsArray:Y,hoverOption:w,selectSize:ue,filteredOptionsCount:J,updateTooltip:fe,updateTagTooltip:we,debouncedOnInputChange:bt,onInput:pt,deletePrevTag:Ye,deleteTag:ne,deleteSelected:me,handleOptionSelect:Z,scrollToOption:De,hasModelValue:M,shouldShowPlaceholder:Ve,currentPlaceholder:Ie,mouseEnterEventName:qe,needStatusIcon:I,showClearBtn:z,iconComponent:F,iconReverse:A,validateState:W,validateIcon:j,showNewOption:q,updateOptions:le,collapseTagSize:Ce,setSelected:ye,selectDisabled:L,emptyText:Q,handleCompositionStart:x,handleCompositionUpdate:O,handleCompositionEnd:D,handleKeydown:kg,onOptionCreate:st,onOptionDestroy:Tt,handleMenuEnter:se,focus:he,blur:Me,handleClearClick:St,handleClickOutside:rt,handleEsc:ge,toggleMenu:ke,selectOption:Le,getValueKey:ln,navigateOptions:Ma,dropdownMenuVisible:Ee,showTagList:Io,collapseTagList:Od,popupScroll:Ng,getOption:Te,tagStyle:Eg,collapseTagStyle:vg,popperRef:Vt,inputRef:p,tooltipRef:u,tagTooltipRef:f,prefixRef:g,suffixRef:m,selectRef:c,wrapperRef:H,selectionRef:d,scrollbarRef:k,menuRef:h,tagMenuRef:b,collapseItemRef:y}};var hW=e.defineComponent({name:"ElOptions",setup(t,{slots:n}){const o=e.inject(wl);let r=[];return()=>{var a,l;const s=(a=n.default)==null?void 0:a.call(n),i=[];function c(d){ie(d)&&d.forEach(u=>{var f,p,g,m;const h=(f=(u==null?void 0:u.type)||{})==null?void 0:f.name;h==="ElOptionGroup"?c(!ve(u.children)&&!ie(u.children)&&Ae((p=u.children)==null?void 0:p.default)?(g=u.children)==null?void 0:g.default():u.children):h==="ElOption"?i.push((m=u.props)==null?void 0:m.value):ie(u.children)&&c(u.children)})}return s.length&&c((l=s[0])==null?void 0:l.children),xt(i,r)||(r=i,o&&(o.states.optionValues=i)),s}}});const ep=oe({name:String,id:String,modelValue:{type:K([Array,String,Number,Boolean,Object]),default:void 0},autocomplete:{type:String,default:"off"},automaticDropdown:Boolean,size:Ht,effect:{type:K(String),default:"light"},disabled:{type:Boolean,default:void 0},clearable:Boolean,filterable:Boolean,allowCreate:Boolean,loading:Boolean,popperClass:{type:String,default:""},popperStyle:{type:K([String,Object])},popperOptions:{type:K(Object),default:()=>({})},remote:Boolean,debounce:{type:Number,default:300},loadingText:String,noMatchText:String,noDataText:String,remoteMethod:{type:K(Function)},filterMethod:{type:K(Function)},multiple:Boolean,multipleLimit:{type:Number,default:0},placeholder:{type:String},defaultFirstOption:Boolean,reserveKeyword:{type:Boolean,default:!0},valueKey:{type:String,default:"value"},collapseTags:Boolean,collapseTagsTooltip:Boolean,maxCollapseTags:{type:Number,default:1},teleported:lt.teleported,persistent:{type:Boolean,default:!0},clearIcon:{type:dt,default:jo},fitInputWidth:Boolean,suffixIcon:{type:dt,default:Wo},tagType:{...er.type,default:"info"},tagEffect:{...er.effect,default:"light"},validateEvent:{type:Boolean,default:!0},remoteShowSuffix:Boolean,showArrow:{type:Boolean,default:!0},offset:{type:Number,default:12},placement:{type:K(String),values:Yo,default:"bottom-start"},fallbackPlacements:{type:K(Array),default:["bottom-start","top-start","right","left"]},tabindex:{type:[String,Number],default:0},appendTo:lt.appendTo,options:{type:K(Array)},props:{type:K(Object),default:()=>qc},...Wr,...cn(["ariaLabel"])}),gW={[Ne]:t=>!0,[_e]:t=>!0,"popup-scroll":bm.scroll,"remove-tag":t=>!0,"visible-change":t=>!0,focus:t=>t instanceof FocusEvent,blur:t=>t instanceof FocusEvent,clear:()=>!0};var bW=e.defineComponent({name:"ElOptionGroup",componentName:"ElOptionGroup",props:{label:String,disabled:Boolean},setup(t){const n=ee("select"),o=e.ref(),r=e.getCurrentInstance(),a=e.ref([]);e.provide(Zm,e.reactive({...e.toRefs(t)}));const l=e.computed(()=>a.value.some(d=>d.visible===!0)),s=d=>{var u;return d.type.name==="ElOption"&&!!((u=d.component)!=null&&u.proxy)},i=d=>{const u=Xt(d),f=[];return u.forEach(p=>{var g;e.isVNode(p)&&(s(p)?f.push(p.component.proxy):ie(p.children)&&p.children.length?f.push(...i(p.children)):(g=p.component)!=null&&g.subTree&&f.push(...i(p.component.subTree)))}),f},c=()=>{a.value=i(r.subTree)};return e.onMounted(()=>{c()}),jl(o,c,{attributes:!0,subtree:!0,childList:!0}),{groupRef:o,visible:l,ns:n}}});function yW(t,n,o,r,a,l){return e.withDirectives((e.openBlock(),e.createElementBlock("ul",{ref:"groupRef",class:e.normalizeClass(t.ns.be("group","wrap"))},[e.createElementVNode("li",{class:e.normalizeClass(t.ns.be("group","title"))},e.toDisplayString(t.label),3),e.createElementVNode("li",null,[e.createElementVNode("ul",{class:e.normalizeClass(t.ns.b("group"))},[e.renderSlot(t.$slots,"default")],2)])],2)),[[e.vShow,t.visible]])}var tp=Ut(bW,[["render",yW]]);const iS="ElSelect",_s=new WeakMap,CW=t=>(...n)=>{var o,r;const a=n[0];if(!a||a.includes('Slot "default" invoked outside of the render function')&&((o=n[2])!=null&&o.includes("ElTreeSelect")))return;const l=(r=_s.get(t))==null?void 0:r.originalWarnHandler;if(l){l(...n);return}console.warn(...n)},wW=t=>{let n=_s.get(t);return n||(n={originalWarnHandler:t.config.warnHandler,handler:CW(t),count:0},_s.set(t,n)),n};var kW=e.defineComponent({name:iS,componentName:iS,components:{ElSelectMenu:mW,ElOption:Qm,ElOptions:hW,ElOptionGroup:tp,ElTag:tr,ElScrollbar:mo,ElTooltip:Jt,ElIcon:ce},directives:{ClickOutside:Sr},props:ep,emits:[Ne,_e,"remove-tag","clear","visible-change","focus","blur","popup-scroll"],setup(t,{emit:n,slots:o}){const r=e.getCurrentInstance(),a=wW(r.appContext);a.count+=1,r.appContext.config.warnHandler=a.handler;const l=e.computed(()=>{const{modelValue:k,multiple:C}=t,w=C?[]:void 0;return ie(k)?C?k:w:C?w:k}),s=e.reactive({...e.toRefs(t),modelValue:l}),i=pW(s,n),{calculatorRef:c,inputStyle:d}=rc(),{getLabel:u,getValue:f,getOptions:p,getDisabled:g}=Ls(t),m=k=>({label:u(k),value:f(k),disabled:g(k)}),h=k=>k.reduce((C,w)=>(C.push(w),w.children&&w.children.length>0&&C.push(...h(w.children)),C),[]),b=k=>{Yn(k||[]).forEach(w=>{var S;if(tt(w)&&(w.type.name==="ElOption"||w.type.name==="ElTree")){const E=w.type.name;if(E==="ElTree"){const v=((S=w.props)==null?void 0:S.data)||[];h(v).forEach(P=>{P.currentLabel=P.label||(tt(P.value)?"":P.value),i.onOptionCreate(P)})}else if(E==="ElOption"){const v={...w.props};v.currentLabel=v.label||(tt(v.value)?"":v.value),i.onOptionCreate(v)}}})};e.watch(()=>{var k;return[(k=o.default)==null?void 0:k.call(o),l.value]},()=>{var k;t.persistent||i.expanded.value||(i.states.options.clear(),b((k=o.default)==null?void 0:k.call(o)))},{immediate:!0}),e.provide(wl,e.reactive({props:s,states:i.states,selectRef:i.selectRef,optionsArray:i.optionsArray,setSelected:i.setSelected,handleOptionSelect:i.handleOptionSelect,onOptionCreate:i.onOptionCreate,onOptionDestroy:i.onOptionDestroy}));const y=e.computed(()=>t.multiple?i.states.selected.map(k=>k.currentLabel):i.states.selectedLabel);return e.onBeforeUnmount(()=>{const k=_s.get(r.appContext);k&&(k.count-=1,k.count<=0&&(r.appContext.config.warnHandler=k.originalWarnHandler,_s.delete(r.appContext)))}),{...i,modelValue:l,selectedLabel:y,calculatorRef:c,inputStyle:d,getLabel:u,getValue:f,getOptions:p,getDisabled:g,getOptionProps:m}}});const SW=["id","value","name","disabled","autocomplete","tabindex","readonly","aria-activedescendant","aria-controls","aria-expanded","aria-label"],EW=["textContent"],vW={key:1};function NW(t,n,o,r,a,l){const s=e.resolveComponent("el-tag"),i=e.resolveComponent("el-tooltip"),c=e.resolveComponent("el-icon"),d=e.resolveComponent("el-option"),u=e.resolveComponent("el-option-group"),f=e.resolveComponent("el-options"),p=e.resolveComponent("el-scrollbar"),g=e.resolveComponent("el-select-menu"),m=e.resolveDirective("click-outside");return e.withDirectives((e.openBlock(),e.createElementBlock("div",e.mergeProps({ref:"selectRef",class:[t.nsSelect.b(),t.nsSelect.m(t.selectSize)]},{[e.toHandlerKey(t.mouseEnterEventName)]:n[10]||(n[10]=h=>t.states.inputHovering=!0)},{onMouseleave:n[11]||(n[11]=h=>t.states.inputHovering=!1)}),[e.createVNode(i,{ref:"tooltipRef",visible:t.dropdownMenuVisible,placement:t.placement,teleported:t.teleported,"popper-class":[t.nsSelect.e("popper"),t.popperClass],"popper-style":t.popperStyle,"popper-options":t.popperOptions,"fallback-placements":t.fallbackPlacements,effect:t.effect,pure:"",trigger:"click",transition:`${t.nsSelect.namespace.value}-zoom-in-top`,"stop-popper-mouse-event":!1,"gpu-acceleration":!1,persistent:t.persistent,"append-to":t.appendTo,"show-arrow":t.showArrow,offset:t.offset,onBeforeShow:t.handleMenuEnter,onHide:n[9]||(n[9]=h=>t.states.isBeforeHide=!1)},{default:e.withCtx(()=>{var h;return[e.createElementVNode("div",{ref:"wrapperRef",class:e.normalizeClass([t.nsSelect.e("wrapper"),t.nsSelect.is("focused",t.isFocused),t.nsSelect.is("hovering",t.states.inputHovering),t.nsSelect.is("filterable",t.filterable),t.nsSelect.is("disabled",t.selectDisabled)]),onClick:n[6]||(n[6]=e.withModifiers((...b)=>t.toggleMenu&&t.toggleMenu(...b),["prevent"]))},[t.$slots.prefix?(e.openBlock(),e.createElementBlock("div",{key:0,ref:"prefixRef",class:e.normalizeClass(t.nsSelect.e("prefix"))},[e.renderSlot(t.$slots,"prefix")],2)):e.createCommentVNode("v-if",!0),e.createElementVNode("div",{ref:"selectionRef",class:e.normalizeClass([t.nsSelect.e("selection"),t.nsSelect.is("near",t.multiple&&!t.$slots.prefix&&!!t.states.selected.length)])},[t.multiple?e.renderSlot(t.$slots,"tag",{key:0,data:t.states.selected,deleteTag:t.deleteTag,selectDisabled:t.selectDisabled},()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.showTagList,b=>(e.openBlock(),e.createElementBlock("div",{key:t.getValueKey(b),class:e.normalizeClass(t.nsSelect.e("selected-item"))},[e.createVNode(s,{closable:!t.selectDisabled&&!b.isDisabled,size:t.collapseTagSize,type:t.tagType,effect:t.tagEffect,"disable-transitions":"",style:e.normalizeStyle(t.tagStyle),onClose:y=>t.deleteTag(y,b)},{default:e.withCtx(()=>[e.createElementVNode("span",{class:e.normalizeClass(t.nsSelect.e("tags-text"))},[e.renderSlot(t.$slots,"label",{index:b.index,label:b.currentLabel,value:b.value},()=>[e.createTextVNode(e.toDisplayString(b.currentLabel),1)])],2)]),_:2},1032,["closable","size","type","effect","style","onClose"])],2))),128)),t.collapseTags&&t.states.selected.length>t.maxCollapseTags?(e.openBlock(),e.createBlock(i,{key:0,ref:"tagTooltipRef",disabled:t.dropdownMenuVisible||!t.collapseTagsTooltip,"fallback-placements":["bottom","top","right","left"],effect:t.effect,placement:"bottom","popper-class":t.popperClass,"popper-style":t.popperStyle,teleported:t.teleported,"popper-options":t.popperOptions},{default:e.withCtx(()=>[e.createElementVNode("div",{ref:"collapseItemRef",class:e.normalizeClass(t.nsSelect.e("selected-item"))},[e.createVNode(s,{closable:!1,size:t.collapseTagSize,type:t.tagType,effect:t.tagEffect,"disable-transitions":"",style:e.normalizeStyle(t.collapseTagStyle)},{default:e.withCtx(()=>[e.createElementVNode("span",{class:e.normalizeClass(t.nsSelect.e("tags-text"))}," + "+e.toDisplayString(t.states.selected.length-t.maxCollapseTags),3)]),_:1},8,["size","type","effect","style"])],2)]),content:e.withCtx(()=>[e.createElementVNode("div",{ref:"tagMenuRef",class:e.normalizeClass(t.nsSelect.e("selection"))},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.collapseTagList,b=>(e.openBlock(),e.createElementBlock("div",{key:t.getValueKey(b),class:e.normalizeClass(t.nsSelect.e("selected-item"))},[e.createVNode(s,{class:"in-tooltip",closable:!t.selectDisabled&&!b.isDisabled,size:t.collapseTagSize,type:t.tagType,effect:t.tagEffect,"disable-transitions":"",onClose:y=>t.deleteTag(y,b)},{default:e.withCtx(()=>[e.createElementVNode("span",{class:e.normalizeClass(t.nsSelect.e("tags-text"))},[e.renderSlot(t.$slots,"label",{index:b.index,label:b.currentLabel,value:b.value},()=>[e.createTextVNode(e.toDisplayString(b.currentLabel),1)])],2)]),_:2},1032,["closable","size","type","effect","onClose"])],2))),128))],2)]),_:3},8,["disabled","effect","popper-class","popper-style","teleported","popper-options"])):e.createCommentVNode("v-if",!0)]):e.createCommentVNode("v-if",!0),e.createElementVNode("div",{class:e.normalizeClass([t.nsSelect.e("selected-item"),t.nsSelect.e("input-wrapper"),t.nsSelect.is("hidden",!t.filterable||t.selectDisabled)])},[e.createElementVNode("input",{id:t.inputId,ref:"inputRef",value:t.states.inputValue,type:"text",name:t.name,class:e.normalizeClass([t.nsSelect.e("input"),t.nsSelect.is(t.selectSize)]),disabled:t.selectDisabled,autocomplete:t.autocomplete,style:e.normalizeStyle(t.inputStyle),tabindex:t.tabindex,role:"combobox",readonly:!t.filterable,spellcheck:"false","aria-activedescendant":((h=t.hoverOption)==null?void 0:h.id)||"","aria-controls":t.contentId,"aria-expanded":t.dropdownMenuVisible,"aria-label":t.ariaLabel,"aria-autocomplete":"none","aria-haspopup":"listbox",onKeydown:n[0]||(n[0]=(...b)=>t.handleKeydown&&t.handleKeydown(...b)),onCompositionstart:n[1]||(n[1]=(...b)=>t.handleCompositionStart&&t.handleCompositionStart(...b)),onCompositionupdate:n[2]||(n[2]=(...b)=>t.handleCompositionUpdate&&t.handleCompositionUpdate(...b)),onCompositionend:n[3]||(n[3]=(...b)=>t.handleCompositionEnd&&t.handleCompositionEnd(...b)),onInput:n[4]||(n[4]=(...b)=>t.onInput&&t.onInput(...b)),onClick:n[5]||(n[5]=e.withModifiers((...b)=>t.toggleMenu&&t.toggleMenu(...b),["stop"]))},null,46,SW),t.filterable?(e.openBlock(),e.createElementBlock("span",{key:0,ref:"calculatorRef","aria-hidden":"true",class:e.normalizeClass(t.nsSelect.e("input-calculator")),textContent:e.toDisplayString(t.states.inputValue)},null,10,EW)):e.createCommentVNode("v-if",!0)],2),t.shouldShowPlaceholder?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass([t.nsSelect.e("selected-item"),t.nsSelect.e("placeholder"),t.nsSelect.is("transparent",!t.hasModelValue||t.expanded&&!t.states.inputValue)])},[t.hasModelValue?e.renderSlot(t.$slots,"label",{key:0,index:t.getOption(t.modelValue).index,label:t.currentPlaceholder,value:t.modelValue},()=>[e.createElementVNode("span",null,e.toDisplayString(t.currentPlaceholder),1)]):(e.openBlock(),e.createElementBlock("span",vW,e.toDisplayString(t.currentPlaceholder),1))],2)):e.createCommentVNode("v-if",!0)],2),e.createElementVNode("div",{ref:"suffixRef",class:e.normalizeClass(t.nsSelect.e("suffix"))},[t.iconComponent&&!t.showClearBtn?(e.openBlock(),e.createBlock(c,{key:0,class:e.normalizeClass([t.nsSelect.e("caret"),t.nsSelect.e("icon"),t.iconReverse])},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.iconComponent)))]),_:1},8,["class"])):e.createCommentVNode("v-if",!0),t.showClearBtn&&t.clearIcon?(e.openBlock(),e.createBlock(c,{key:1,class:e.normalizeClass([t.nsSelect.e("caret"),t.nsSelect.e("icon"),t.nsSelect.e("clear")]),onClick:t.handleClearClick},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.clearIcon)))]),_:1},8,["class","onClick"])):e.createCommentVNode("v-if",!0),t.validateState&&t.validateIcon&&t.needStatusIcon?(e.openBlock(),e.createBlock(c,{key:2,class:e.normalizeClass([t.nsInput.e("icon"),t.nsInput.e("validateIcon"),t.nsInput.is("loading",t.validateState==="validating")])},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.validateIcon)))]),_:1},8,["class"])):e.createCommentVNode("v-if",!0)],2)],2)]}),content:e.withCtx(()=>[e.createVNode(g,{ref:"menuRef"},{default:e.withCtx(()=>[t.$slots.header?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(t.nsSelect.be("dropdown","header")),onClick:n[7]||(n[7]=e.withModifiers(()=>{},["stop"]))},[e.renderSlot(t.$slots,"header")],2)):e.createCommentVNode("v-if",!0),e.withDirectives(e.createVNode(p,{id:t.contentId,ref:"scrollbarRef",tag:"ul","wrap-class":t.nsSelect.be("dropdown","wrap"),"view-class":t.nsSelect.be("dropdown","list"),class:e.normalizeClass([t.nsSelect.is("empty",t.filteredOptionsCount===0)]),role:"listbox","aria-label":t.ariaLabel,"aria-orientation":"vertical",onScroll:t.popupScroll},{default:e.withCtx(()=>[t.showNewOption?(e.openBlock(),e.createBlock(d,{key:0,value:t.states.inputValue,created:!0},null,8,["value"])):e.createCommentVNode("v-if",!0),e.createVNode(f,null,{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default",{},()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.options,(h,b)=>{var y;return e.openBlock(),e.createElementBlock(e.Fragment,{key:b},[(y=t.getOptions(h))!=null&&y.length?(e.openBlock(),e.createBlock(u,{key:0,label:t.getLabel(h),disabled:t.getDisabled(h)},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.getOptions(h),k=>(e.openBlock(),e.createBlock(d,e.mergeProps({key:t.getValue(k)},{ref_for:!0},t.getOptionProps(k)),null,16))),128))]),_:2},1032,["label","disabled"])):(e.openBlock(),e.createBlock(d,e.mergeProps({key:1,ref_for:!0},t.getOptionProps(h)),null,16))],64)}),128))])]),_:3})]),_:3},8,["id","wrap-class","view-class","class","aria-label","onScroll"]),[[e.vShow,t.states.options.size>0&&!t.loading]]),t.$slots.loading&&t.loading?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(t.nsSelect.be("dropdown","loading"))},[e.renderSlot(t.$slots,"loading")],2)):t.loading||t.filteredOptionsCount===0?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(t.nsSelect.be("dropdown","empty"))},[e.renderSlot(t.$slots,"empty",{},()=>[e.createElementVNode("span",null,e.toDisplayString(t.emptyText),1)])],2)):e.createCommentVNode("v-if",!0),t.$slots.footer?(e.openBlock(),e.createElementBlock("div",{key:3,class:e.normalizeClass(t.nsSelect.be("dropdown","footer")),onClick:n[8]||(n[8]=e.withModifiers(()=>{},["stop"]))},[e.renderSlot(t.$slots,"footer")],2)):e.createCommentVNode("v-if",!0)]),_:3},512)]),_:3},8,["visible","placement","teleported","popper-class","popper-style","popper-options","fallback-placements","effect","transition","persistent","append-to","show-arrow","offset","onBeforeShow"])],16)),[[m,t.handleClickOutside,t.popperRef]])}var BW=Ut(kW,[["render",NW]]);const Er=Re(BW,{Option:Qm,OptionGroup:tp}),Fs=Bt(Qm),cS=Bt(tp);var TW=e.defineComponent({name:"SelectController",__name:"select-controller",props:tW,emits:nW,setup(t,{emit:n}){const o=t,r=n,a=ee("calendar-select"),{t:l,lang:s}=je(),i=Array.from({length:12},(m,h)=>{const b=h+1,y=Ae(o.formatter)?o.formatter(b,"month"):b;return{value:b,label:y}}),c=e.computed(()=>o.date.year()),d=e.computed(()=>o.date.month()+1),u=e.computed(()=>{const m=[];for(let h=-10;h<10;h++){const b=c.value+h;if(b>0){const y=Ae(o.formatter)?o.formatter(b,"year"):b;m.push({value:b,label:y})}}return m}),f=m=>{r("date-change",Pe(new Date(m,d.value-1,1)).locale(s.value))},p=m=>{r("date-change",Pe(new Date(c.value,m-1,1)).locale(s.value))},g=()=>{r("date-change","today")};return(m,h)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(e.unref(Er),{"model-value":c.value,size:"small",class:e.normalizeClass(e.unref(a).e("year")),"validate-event":!1,options:u.value,onChange:f},null,8,["model-value","class","options"]),e.createVNode(e.unref(Er),{"model-value":d.value,size:"small",class:e.normalizeClass(e.unref(a).e("month")),"validate-event":!1,options:e.unref(i),onChange:p},null,8,["model-value","class","options"]),e.createVNode(e.unref(Gt),{size:"small",onClick:g},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(l)("el.datepicker.today")),1)]),_:1})],64))}}),xW=e.defineComponent({name:"ElCalendar",__name:"calendar",props:$1,emits:V1,setup(t,{expose:n,emit:o}){const r=ee("calendar"),a=t,l=o,{calculateValidatedDateRange:s,date:i,pickDay:c,realSelectedDay:d,selectDate:u,validatedRange:f,handleDateChange:p}=eW(a,l),{t:g}=je(),m=e.computed(()=>{const h=`el.datepicker.month${i.value.format("M")}`;return`${i.value.year()} ${g("el.datepicker.year")} ${g(h)}`});return n({selectedDay:d,pickDay:c,selectDate:u,calculateValidatedDateRange:s}),(h,b)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(r).b())},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(r).e("header"))},[e.renderSlot(h.$slots,"header",{date:m.value},()=>[e.createElementVNode("div",{class:e.normalizeClass(e.unref(r).e("title"))},e.toDisplayString(m.value),3),e.unref(f).length===0&&t.controllerType==="button"?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(r).e("button-group"))},[e.createVNode(e.unref(Tm),null,{default:e.withCtx(()=>[e.createVNode(e.unref(Gt),{size:"small",onClick:b[0]||(b[0]=y=>e.unref(u)("prev-month"))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(g)("el.datepicker.prevMonth")),1)]),_:1}),e.createVNode(e.unref(Gt),{size:"small",onClick:b[1]||(b[1]=y=>e.unref(u)("today"))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(g)("el.datepicker.today")),1)]),_:1}),e.createVNode(e.unref(Gt),{size:"small",onClick:b[2]||(b[2]=y=>e.unref(u)("next-month"))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(g)("el.datepicker.nextMonth")),1)]),_:1})]),_:1})],2)):e.unref(f).length===0&&t.controllerType==="select"?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(r).e("select-controller"))},[e.createVNode(TW,{date:e.unref(i),formatter:t.formatter,onDateChange:e.unref(p)},null,8,["date","formatter","onDateChange"])],2)):e.createCommentVNode("v-if",!0)])],2),e.unref(f).length===0?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(r).e("body"))},[e.createVNode(lS,{date:e.unref(i),"selected-day":e.unref(d),onPick:e.unref(c)},e.createSlots({_:2},[h.$slots["date-cell"]?{name:"date-cell",fn:e.withCtx(y=>[e.renderSlot(h.$slots,"date-cell",e.normalizeProps(e.guardReactiveProps(y)))]),key:"0"}:void 0]),1032,["date","selected-day","onPick"])],2)):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(r).e("body"))},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(f),(y,k)=>(e.openBlock(),e.createBlock(lS,{key:k,date:y[0],"selected-day":e.unref(d),range:y,"hide-header":k!==0,onPick:e.unref(c)},e.createSlots({_:2},[h.$slots["date-cell"]?{name:"date-cell",fn:e.withCtx(C=>[e.renderSlot(h.$slots,"date-cell",e.mergeProps({ref_for:!0},C))]),key:"0"}:void 0]),1032,["date","selected-day","range","hide-header","onPick"]))),128))],2))],2))}});const dS=Re(xW),uS=oe({header:{type:String,default:""},footer:{type:String,default:""},bodyStyle:{type:K([String,Object,Array]),default:""},headerClass:String,bodyClass:String,footerClass:String,shadow:{type:String,values:["always","hover","never"],default:void 0}}),$W=Symbol("cardContextKey");var VW=e.defineComponent({name:"ElCard",__name:"card",props:uS,setup(t){const n=ga("card"),o=ee("card");return(r,a)=>{var l;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass([e.unref(o).b(),e.unref(o).is(`${t.shadow||((l=e.unref(n))==null?void 0:l.shadow)||"always"}-shadow`)])},[r.$slots.header||t.header?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass([e.unref(o).e("header"),t.headerClass])},[e.renderSlot(r.$slots,"header",{},()=>[e.createTextVNode(e.toDisplayString(t.header),1)])],2)):e.createCommentVNode("v-if",!0),e.createElementVNode("div",{class:e.normalizeClass([e.unref(o).e("body"),t.bodyClass]),style:e.normalizeStyle(t.bodyStyle)},[e.renderSlot(r.$slots,"default")],6),r.$slots.footer||t.footer?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass([e.unref(o).e("footer"),t.footerClass])},[e.renderSlot(r.$slots,"footer",{},()=>[e.createTextVNode(e.toDisplayString(t.footer),1)])],2)):e.createCommentVNode("v-if",!0)],2)}}});const fS=Re(VW),mS=oe({initialIndex:{type:Number,default:0},height:{type:String,default:""},trigger:{type:String,values:["hover","click"],default:"hover"},autoplay:{type:Boolean,default:!0},interval:{type:Number,default:3e3},indicatorPosition:{type:String,values:["","none","outside"],default:""},arrow:{type:String,values:["always","hover","never"],default:"hover"},type:{type:String,values:["","card"],default:""},cardScale:{type:Number,default:.83},loop:{type:Boolean,default:!0},direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},pauseOnHover:{type:Boolean,default:!0},motionBlur:Boolean}),pS={change:(t,n)=>[t,n].every(pe)},np=Symbol("carouselContextKey"),Xc="ElCarouselItem",hS=300,PW=(t,n,o)=>{const{children:r,addChild:a,removeChild:l,ChildrenSorter:s}=$s(e.getCurrentInstance(),Xc),i=e.useSlots(),c=e.ref(-1),d=e.ref(null),u=e.ref(!1),f=e.ref(),p=e.ref(0),g=e.ref(!0),m=e.computed(()=>t.arrow!=="never"&&!e.unref(y)),h=e.computed(()=>r.value.some(j=>j.props.label.toString().length>0)),b=e.computed(()=>t.type==="card"),y=e.computed(()=>t.direction==="vertical"),k=e.computed(()=>t.height!=="auto"?{height:t.height}:{height:`${p.value}px`,overflow:"hidden"}),C=mr(j=>{P(j)},hS,{trailing:!0}),w=mr(j=>{$(j)},hS),S=j=>g.value?c.value<=1?j<=1:j>1:!0;function E(){d.value&&(clearInterval(d.value),d.value=null)}function v(){t.interval<=0||!t.autoplay||d.value||(d.value=setInterval(()=>N(),t.interval))}const N=()=>{c.valueJ.props.name===j);Q.length>0&&(j=r.value.indexOf(Q[0]))}if(j=Number(j),Number.isNaN(j)||j!==Math.floor(j))return;const G=r.value.length,X=c.value;j<0?c.value=t.loop?G-1:0:j>=G?c.value=t.loop?0:G-1:c.value=j,X===c.value&&T(X),I()}function T(j){r.value.forEach((G,X)=>{G.translateItem(X,c.value,j)})}function V(j,G){var X,Q,J,Y;const _=e.unref(r),q=_.length;if(q===0||!j.states.inStage)return!1;const le=G+1,ue=G-1,Ce=q-1,Ee=_[Ce].states.active,Ve=_[0].states.active,Ie=(Q=(X=_[le])==null?void 0:X.states)==null?void 0:Q.active,qe=(Y=(J=_[ue])==null?void 0:J.states)==null?void 0:Y.active;return G===Ce&&Ve||Ie?"left":G===0&&Ee||qe?"right":!1}function x(){u.value=!0,t.pauseOnHover&&E()}function O(){u.value=!1,v()}function D(j){e.unref(y)||r.value.forEach((G,X)=>{j===V(G,X)&&(G.states.hover=!0)})}function L(){e.unref(y)||r.value.forEach(j=>{j.states.hover=!1})}function H(j){c.value=j}function $(j){t.trigger==="hover"&&j!==c.value&&(c.value=j)}function B(){P(c.value-1)}function M(){P(c.value+1)}function I(){E(),t.pauseOnHover||v()}function z(j){t.height==="auto"&&(p.value=j)}function F(){var j;const G=(j=i.default)==null?void 0:j.call(i);if(!G)return null;const Q=Yn(G).filter(J=>e.isVNode(J)&&J.type.name===Xc);return(Q==null?void 0:Q.length)===2&&t.loop&&!b.value?(g.value=!0,Q):(g.value=!1,null)}e.watch(()=>c.value,(j,G)=>{T(G),g.value&&(j=j%2,G=G%2),G>-1&&n(_e,j,G)});const A=e.computed({get:()=>g.value?c.value%2:c.value,set:j=>c.value=j});e.watch(()=>t.autoplay,j=>{j?v():E()}),e.watch(()=>t.loop,()=>{P(c.value)}),e.watch(()=>t.interval,()=>{I()});const W=e.shallowRef();return e.onMounted(()=>{e.watch(()=>r.value,()=>{r.value.length>0&&P(t.initialIndex)},{immediate:!0}),W.value=yt(f.value,()=>{T()}),v()}),e.onBeforeUnmount(()=>{E(),f.value&&W.value&&W.value.stop()}),e.provide(np,{root:f,isCardType:b,isVertical:y,items:r,loop:t.loop,cardScale:t.cardScale,addItem:a,removeItem:l,setActiveItem:P,setContainerHeight:z}),{root:f,activeIndex:c,exposeActiveIndex:A,arrowDisplay:m,hasLabel:h,hover:u,isCardType:b,items:r,isVertical:y,containerStyle:k,isItemsTwoLength:g,handleButtonEnter:D,handleButtonLeave:L,handleIndicatorClick:H,handleMouseEnter:x,handleMouseLeave:O,setActiveItem:P,prev:B,next:M,PlaceholderItem:F,isTwoLengthShow:S,ItemsSorter:s,throttledArrowClick:C,throttledIndicatorHover:w}},RW=["aria-label"],MW=["aria-label"],IW=["onMouseenter","onClick"],OW=["aria-label"],AW={key:0},zW={key:2,xmlns:"http://www.w3.org/2000/svg",version:"1.1",style:{display:"none"}};var DW=e.defineComponent({name:"ElCarousel",__name:"carousel",props:mS,emits:pS,setup(t,{expose:n,emit:o}){const r=t,a=o,{root:l,activeIndex:s,exposeActiveIndex:i,arrowDisplay:c,hasLabel:d,hover:u,isCardType:f,items:p,isVertical:g,containerStyle:m,handleButtonEnter:h,handleButtonLeave:b,handleIndicatorClick:y,handleMouseEnter:k,handleMouseLeave:C,setActiveItem:w,prev:S,next:E,PlaceholderItem:v,isTwoLengthShow:N,ItemsSorter:P,throttledArrowClick:T,throttledIndicatorHover:V}=PW(r,a),x=ee("carousel"),{t:O}=je(),D=e.computed(()=>{const B=[x.b(),x.m(r.direction)];return e.unref(f)&&B.push(x.m("card")),B}),L=e.computed(()=>{const B=[x.e("indicators"),x.em("indicators",r.direction)];return e.unref(d)&&B.push(x.em("indicators","labels")),r.indicatorPosition==="outside"&&B.push(x.em("indicators","outside")),e.unref(g)&&B.push(x.em("indicators","right")),B});function H(B){if(!r.motionBlur)return;const M=e.unref(g)?`${x.namespace.value}-transitioning-vertical`:`${x.namespace.value}-transitioning`;B.currentTarget.classList.add(M)}function $(B){if(!r.motionBlur)return;const M=e.unref(g)?`${x.namespace.value}-transitioning-vertical`:`${x.namespace.value}-transitioning`;B.currentTarget.classList.remove(M)}return n({activeIndex:i,setActiveItem:w,prev:S,next:E}),(B,M)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"root",ref:l,class:e.normalizeClass(D.value),onMouseenter:M[6]||(M[6]=e.withModifiers((...I)=>e.unref(k)&&e.unref(k)(...I),["stop"])),onMouseleave:M[7]||(M[7]=e.withModifiers((...I)=>e.unref(C)&&e.unref(C)(...I),["stop"]))},[e.unref(c)?(e.openBlock(),e.createBlock(e.Transition,{key:0,name:"carousel-arrow-left",persisted:""},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("button",{type:"button",class:e.normalizeClass([e.unref(x).e("arrow"),e.unref(x).em("arrow","left")]),"aria-label":e.unref(O)("el.carousel.leftArrow"),onMouseenter:M[0]||(M[0]=I=>e.unref(h)("left")),onMouseleave:M[1]||(M[1]=(...I)=>e.unref(b)&&e.unref(b)(...I)),onClick:M[2]||(M[2]=e.withModifiers(I=>e.unref(T)(e.unref(s)-1),["stop"]))},[e.createVNode(e.unref(ce),null,{default:e.withCtx(()=>[e.createVNode(e.unref(gr))]),_:1})],42,RW),[[e.vShow,(t.arrow==="always"||e.unref(u))&&(t.loop||e.unref(s)>0)]])]),_:1})):e.createCommentVNode("v-if",!0),e.unref(c)?(e.openBlock(),e.createBlock(e.Transition,{key:1,name:"carousel-arrow-right",persisted:""},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("button",{type:"button",class:e.normalizeClass([e.unref(x).e("arrow"),e.unref(x).em("arrow","right")]),"aria-label":e.unref(O)("el.carousel.rightArrow"),onMouseenter:M[3]||(M[3]=I=>e.unref(h)("right")),onMouseleave:M[4]||(M[4]=(...I)=>e.unref(b)&&e.unref(b)(...I)),onClick:M[5]||(M[5]=e.withModifiers(I=>e.unref(T)(e.unref(s)+1),["stop"]))},[e.createVNode(e.unref(ce),null,{default:e.withCtx(()=>[e.createVNode(e.unref(Cn))]),_:1})],42,MW),[[e.vShow,(t.arrow==="always"||e.unref(u))&&(t.loop||e.unref(s)[t.indicatorPosition!=="none"?(e.openBlock(),e.createElementBlock("ul",{key:0,class:e.normalizeClass(L.value)},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(p),(I,z)=>e.withDirectives((e.openBlock(),e.createElementBlock("li",{key:z,class:e.normalizeClass([e.unref(x).e("indicator"),e.unref(x).em("indicator",t.direction),e.unref(x).is("active",z===e.unref(s))]),onMouseenter:F=>e.unref(V)(z),onClick:e.withModifiers(F=>e.unref(y)(z),["stop"])},[e.createElementVNode("button",{class:e.normalizeClass(e.unref(x).e("button")),"aria-label":e.unref(O)("el.carousel.indicator",{index:z+1})},[e.unref(d)?(e.openBlock(),e.createElementBlock("span",AW,e.toDisplayString(I.props.label),1)):e.createCommentVNode("v-if",!0)],10,OW)],42,IW)),[[e.vShow,e.unref(N)(z)]])),128))],2)):e.createCommentVNode("v-if",!0)]),_:1}),t.motionBlur?(e.openBlock(),e.createElementBlock("svg",zW,[...M[8]||(M[8]=[e.createElementVNode("defs",null,[e.createElementVNode("filter",{id:"elCarouselHorizontal"},[e.createElementVNode("feGaussianBlur",{in:"SourceGraphic",stdDeviation:"12,0"})]),e.createElementVNode("filter",{id:"elCarouselVertical"},[e.createElementVNode("feGaussianBlur",{in:"SourceGraphic",stdDeviation:"0,10"})])],-1)])])):e.createCommentVNode("v-if",!0)],34))}});const gS=oe({name:{type:String,default:""},label:{type:[String,Number],default:""}}),LW=t=>{const n=e.inject(np),o=e.getCurrentInstance(),r=e.ref(),a=e.ref(!1),l=e.ref(0),s=e.ref(1),i=e.ref(!1),c=e.ref(!1),d=e.ref(!1),u=e.ref(!1),{isCardType:f,isVertical:p,cardScale:g}=n;function m(w,S,E){const v=E-1,N=S-1,P=S+1,T=E/2;return S===0&&w===v?-1:S===v&&w===0?E:w=T?E+1:w>P&&w-S>=T?-2:w}function h(w,S){var E,v;const N=e.unref(p)?((E=n.root.value)==null?void 0:E.offsetHeight)||0:((v=n.root.value)==null?void 0:v.offsetWidth)||0;return d.value?N*((2-g)*(w-S)+1)/4:w{var v;const N=e.unref(f),P=(v=n.items.value.length)!=null?v:Number.NaN,T=w===S;!N&&!Xe(E)&&(u.value=T||w===E),!T&&P>2&&n.loop&&(w=m(w,S,P));const V=e.unref(p);i.value=T,N?(d.value=Math.round(Math.abs(w-S))<=1,l.value=h(w,S),s.value=e.unref(i)?1:g):l.value=b(w,S,V),c.value=!0,T&&r.value&&n.setContainerHeight(r.value.offsetHeight)};function k(){if(n&&e.unref(f)){const w=n.items.value.findIndex(({uid:S})=>S===o.uid);n.setActiveItem(w)}}const C={props:t,states:e.reactive({hover:a,translate:l,scale:s,active:i,ready:c,inStage:d,animating:u}),uid:o.uid,getVnode:()=>o.vnode,translateItem:y};return n.addItem(C),e.onBeforeUnmount(()=>{n.removeItem(C)}),{carouselItemRef:r,active:i,animating:u,hover:a,inStage:d,isVertical:p,translate:l,isCardType:f,scale:s,ready:c,handleItemClick:k}};var bS=e.defineComponent({name:Xc,__name:"carousel-item",props:gS,setup(t){const n=t,o=ee("carousel"),{carouselItemRef:r,active:a,animating:l,hover:s,inStage:i,isVertical:c,translate:d,isCardType:u,scale:f,ready:p,handleItemClick:g}=LW(n),m=e.computed(()=>[o.e("item"),o.is("active",a.value),o.is("in-stage",i.value),o.is("hover",s.value),o.is("animating",l.value),{[o.em("item","card")]:u.value,[o.em("item","card-vertical")]:u.value&&c.value}]),h=e.computed(()=>{const y=`${`translate${e.unref(c)?"Y":"X"}`}(${e.unref(d)}px)`,k=`scale(${e.unref(f)})`;return{transform:[y,k].join(" ")}});return(b,y)=>e.withDirectives((e.openBlock(),e.createElementBlock("div",{ref_key:"carouselItemRef",ref:r,class:e.normalizeClass(m.value),style:e.normalizeStyle(h.value),onClick:y[0]||(y[0]=(...k)=>e.unref(g)&&e.unref(g)(...k))},[e.unref(u)?e.withDirectives((e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(o).e("mask"))},null,2)),[[e.vShow,!e.unref(a)]]):e.createCommentVNode("v-if",!0),e.renderSlot(b.$slots,"default")],6)),[[e.vShow,e.unref(p)]])}});const yS=Re(DW,{CarouselItem:bS}),CS=Bt(bS),op=oe({modelValue:{type:K([Number,String,Array,Object])},options:{type:K(Array),default:()=>[]},props:{type:K(Object),default:()=>({})}}),wS={expandTrigger:"click",multiple:!1,checkStrictly:!1,emitPath:!0,lazy:!1,lazyLoad:et,value:"value",label:"label",children:"children",leaf:"leaf",disabled:"disabled",hoverThreshold:500,checkOnClickNode:!1,checkOnClickLeaf:!0,showPrefix:!0},kS=oe({...op,border:{type:Boolean,default:!0},renderLabel:{type:Function}}),SS=t=>!0,ES={[Ne]:SS,[_e]:SS,close:()=>!0,"expand-change":t=>t},vS=t=>e.computed(()=>({...wS,...t.props})),rp={modelValue:{type:[Number,String,Boolean],default:void 0},label:{type:[String,Boolean,Number,Object],default:void 0},value:{type:[String,Boolean,Number,Object],default:void 0},indeterminate:Boolean,disabled:{type:Boolean,default:void 0},checked:Boolean,name:{type:String,default:void 0},trueValue:{type:[String,Number],default:void 0},falseValue:{type:[String,Number],default:void 0},trueLabel:{type:[String,Number],default:void 0},falseLabel:{type:[String,Number],default:void 0},id:{type:String,default:void 0},border:Boolean,size:Ht,tabindex:[String,Number],validateEvent:{type:Boolean,default:!0},ariaLabel:String,...cn(["ariaControls"])},ap={[Ne]:t=>ve(t)||pe(t)||ct(t),change:t=>ve(t)||pe(t)||ct(t)},_W={modelValue:void 0,label:void 0,value:void 0,disabled:void 0,name:void 0,trueValue:void 0,falseValue:void 0,trueLabel:void 0,falseLabel:void 0,id:void 0,validateEvent:!0},Ea=Symbol("checkboxGroupContextKey"),FW=({model:t,isChecked:n})=>{const o=e.inject(Ea,void 0),r=e.inject(Ur,void 0),a=e.computed(()=>{var s,i;const c=(s=o==null?void 0:o.max)==null?void 0:s.value,d=(i=o==null?void 0:o.min)==null?void 0:i.value;return!Xe(c)&&t.value.length>=c&&!n.value||!Xe(d)&&t.value.length<=d&&n.value});return{isDisabled:kt(e.computed(()=>{var s,i;return o===void 0?(s=r==null?void 0:r.disabled)!=null?s:a.value:((i=o.disabled)==null?void 0:i.value)||a.value})),isLimitDisabled:a}},HW=(t,{model:n,isLimitExceeded:o,hasOwnLabel:r,isDisabled:a,isLabeledByFormItem:l})=>{const s=e.inject(Ea,void 0),{formItem:i}=Zt(),{emit:c}=e.getCurrentInstance();function d(m){var h,b,y,k;return[!0,t.trueValue,t.trueLabel].includes(m)?(b=(h=t.trueValue)!=null?h:t.trueLabel)!=null?b:!0:(k=(y=t.falseValue)!=null?y:t.falseLabel)!=null?k:!1}function u(m,h){c(_e,d(m),h)}function f(m){if(o.value)return;const h=m.target;c(_e,d(h.checked),m)}async function p(m){o.value||!r.value&&!a.value&&l.value&&(m.composedPath().some(y=>y.tagName==="LABEL")||(n.value=d([!1,t.falseValue,t.falseLabel].includes(n.value)),await e.nextTick(),u(n.value,m)))}const g=e.computed(()=>(s==null?void 0:s.validateEvent)||t.validateEvent);return e.watch(()=>t.modelValue,()=>{g.value&&(i==null||i.validate("change").catch(m=>void 0))}),{handleChange:f,onClickRoot:p}},KW=t=>{const n=e.ref(!1),{emit:o}=e.getCurrentInstance(),r=e.inject(Ea,void 0),a=e.computed(()=>Xe(r)===!1),l=e.ref(!1),s=e.computed({get(){var i,c;return a.value?(i=r==null?void 0:r.modelValue)==null?void 0:i.value:(c=t.modelValue)!=null?c:n.value},set(i){var c,d;a.value&&ie(i)?(l.value=((c=r==null?void 0:r.max)==null?void 0:c.value)!==void 0&&i.length>(r==null?void 0:r.max.value)&&i.length>s.value.length,l.value===!1&&((d=r==null?void 0:r.changeEvent)==null||d.call(r,i))):(o(Ne,i),n.value=i)}});return{model:s,isGroup:a,isLimitExceeded:l}},WW=(t,n,{model:o})=>{const r=e.inject(Ea,void 0),a=e.ref(!1),l=e.computed(()=>On(t.value)?t.label:t.value),s=e.computed(()=>{const u=o.value;return ct(u)?u:ie(u)?tt(l.value)?u.map(e.toRaw).some(f=>xt(f,l.value)):u.map(e.toRaw).includes(l.value):u!=null?u===t.trueValue||u===t.trueLabel:!!u}),i=zt(e.computed(()=>{var u;return(u=r==null?void 0:r.size)==null?void 0:u.value}),{prop:!0}),c=zt(e.computed(()=>{var u;return(u=r==null?void 0:r.size)==null?void 0:u.value})),d=e.computed(()=>!!n.default||!On(l.value));return{checkboxButtonSize:i,isChecked:s,isFocused:a,checkboxSize:c,hasOwnLabel:d,actualValue:l}},NS=(t,n)=>{const{formItem:o}=Zt(),{model:r,isGroup:a,isLimitExceeded:l}=KW(t),{isFocused:s,isChecked:i,checkboxButtonSize:c,checkboxSize:d,hasOwnLabel:u,actualValue:f}=WW(t,n,{model:r}),{isDisabled:p}=FW({model:r,isChecked:i}),{inputId:g,isLabeledByFormItem:m}=Dn(t,{formItemContext:o,disableIdGeneration:u,disableIdManagement:a}),{handleChange:h,onClickRoot:b}=HW(t,{model:r,isLimitExceeded:l,hasOwnLabel:u,isDisabled:p,isLabeledByFormItem:m});return(()=>{function k(){var C,w;ie(r.value)&&!r.value.includes(f.value)?r.value.push(f.value):r.value=(w=(C=t.trueValue)!=null?C:t.trueLabel)!=null?w:!0}t.checked&&k()})(),No({from:"label act as value",replacement:"value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},e.computed(()=>a.value&&On(t.value))),No({from:"true-label",replacement:"true-value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},e.computed(()=>!!t.trueLabel)),No({from:"false-label",replacement:"false-value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},e.computed(()=>!!t.falseLabel)),{inputId:g,isLabeledByFormItem:m,isChecked:i,isDisabled:p,isFocused:s,checkboxButtonSize:c,checkboxSize:d,hasOwnLabel:u,model:r,actualValue:f,handleChange:h,onClickRoot:b}},jW=["id","indeterminate","name","tabindex","disabled"];var BS=e.defineComponent({name:"ElCheckbox",__name:"checkbox",props:rp,emits:ap,setup(t){const n=t,o=e.useSlots(),{inputId:r,isLabeledByFormItem:a,isChecked:l,isDisabled:s,isFocused:i,checkboxSize:c,hasOwnLabel:d,model:u,actualValue:f,handleChange:p,onClickRoot:g}=NS(n,o),m=e.computed(()=>{var k,C,w,S;return n.trueValue||n.falseValue||n.trueLabel||n.falseLabel?{"true-value":(C=(k=n.trueValue)!=null?k:n.trueLabel)!=null?C:!0,"false-value":(S=(w=n.falseValue)!=null?w:n.falseLabel)!=null?S:!1}:{value:f.value}}),h=ee("checkbox"),b=e.computed(()=>[h.b(),h.m(c.value),h.is("disabled",s.value),h.is("bordered",n.border),h.is("checked",l.value)]),y=e.computed(()=>[h.e("input"),h.is("disabled",s.value),h.is("checked",l.value),h.is("indeterminate",n.indeterminate),h.is("focus",i.value)]);return(k,C)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(!e.unref(d)&&e.unref(a)?"span":"label"),{for:!e.unref(d)&&e.unref(a)?null:e.unref(r),class:e.normalizeClass(b.value),"aria-controls":t.indeterminate?t.ariaControls:null,"aria-checked":t.indeterminate?"mixed":void 0,"aria-label":t.ariaLabel,onClick:e.unref(g)},{default:e.withCtx(()=>[e.createElementVNode("span",{class:e.normalizeClass(y.value)},[e.withDirectives(e.createElementVNode("input",e.mergeProps({id:e.unref(r),"onUpdate:modelValue":C[0]||(C[0]=w=>e.isRef(u)?u.value=w:null),class:e.unref(h).e("original"),type:"checkbox",indeterminate:t.indeterminate,name:t.name,tabindex:t.tabindex,disabled:e.unref(s)},m.value,{onChange:C[1]||(C[1]=(...w)=>e.unref(p)&&e.unref(p)(...w)),onFocus:C[2]||(C[2]=w=>i.value=!0),onBlur:C[3]||(C[3]=w=>i.value=!1),onClick:C[4]||(C[4]=e.withModifiers(()=>{},["stop"]))}),null,16,jW),[[e.vModelCheckbox,e.unref(u)]]),e.createElementVNode("span",{class:e.normalizeClass(e.unref(h).e("inner"))},null,2)],2),e.unref(d)?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(e.unref(h).e("label"))},[e.renderSlot(k.$slots,"default"),k.$slots.default?e.createCommentVNode("v-if",!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(t.label),1)],64))],2)):e.createCommentVNode("v-if",!0)]),_:3},8,["for","class","aria-controls","aria-checked","aria-label","onClick"]))}});const UW=["name","tabindex","disabled"];var lp=e.defineComponent({name:"ElCheckboxButton",__name:"checkbox-button",props:rp,emits:ap,setup(t){const n=t,o=e.useSlots(),{isFocused:r,isChecked:a,isDisabled:l,checkboxButtonSize:s,model:i,actualValue:c,handleChange:d}=NS(n,o),u=e.computed(()=>{var h,b,y,k;return n.trueValue||n.falseValue||n.trueLabel||n.falseLabel?{"true-value":(b=(h=n.trueValue)!=null?h:n.trueLabel)!=null?b:!0,"false-value":(k=(y=n.falseValue)!=null?y:n.falseLabel)!=null?k:!1}:{value:c.value}}),f=e.inject(Ea,void 0),p=ee("checkbox"),g=e.computed(()=>{var h,b,y,k;const C=(b=(h=f==null?void 0:f.fill)==null?void 0:h.value)!=null?b:"";return{backgroundColor:C,borderColor:C,color:(k=(y=f==null?void 0:f.textColor)==null?void 0:y.value)!=null?k:"",boxShadow:C?`-1px 0 0 0 ${C}`:void 0}}),m=e.computed(()=>[p.b("button"),p.bm("button",s.value),p.is("disabled",l.value),p.is("checked",a.value),p.is("focus",r.value)]);return(h,b)=>(e.openBlock(),e.createElementBlock("label",{class:e.normalizeClass(m.value)},[e.withDirectives(e.createElementVNode("input",e.mergeProps({"onUpdate:modelValue":b[0]||(b[0]=y=>e.isRef(i)?i.value=y:null),class:e.unref(p).be("button","original"),type:"checkbox",name:t.name,tabindex:t.tabindex,disabled:e.unref(l)},u.value,{onChange:b[1]||(b[1]=(...y)=>e.unref(d)&&e.unref(d)(...y)),onFocus:b[2]||(b[2]=y=>r.value=!0),onBlur:b[3]||(b[3]=y=>r.value=!1),onClick:b[4]||(b[4]=e.withModifiers(()=>{},["stop"]))}),null,16,UW),[[e.vModelCheckbox,e.unref(i)]]),h.$slots.default||t.label?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(e.unref(p).be("button","inner")),style:e.normalizeStyle(e.unref(a)?g.value:void 0)},[e.renderSlot(h.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(t.label),1)])],6)):e.createCommentVNode("v-if",!0)],2))}});const TS=oe({modelValue:{type:K(Array),default:()=>[]},disabled:{type:Boolean,default:void 0},min:Number,max:Number,size:Ht,fill:String,textColor:String,tag:{type:String,default:"div"},validateEvent:{type:Boolean,default:!0},options:{type:K(Array)},props:{type:K(Object),default:()=>sp},type:{type:String,values:["checkbox","button"],default:"checkbox"},...cn(["ariaLabel"])}),xS={[Ne]:t=>ie(t),change:t=>ie(t)},sp={label:"label",value:"value",disabled:"disabled"};var $S=e.defineComponent({name:"ElCheckboxGroup",__name:"checkbox-group",props:TS,emits:xS,setup(t,{emit:n}){const o=t,r=n,a=ee("checkbox"),l=kt(),{formItem:s}=Zt(),{inputId:i,isLabeledByFormItem:c}=Dn(o,{formItemContext:s}),d=async m=>{r(Ne,m),await e.nextTick(),r(_e,m)},u=e.computed({get(){return o.modelValue},set(m){d(m)}}),f=e.computed(()=>({...sp,...o.props})),p=m=>{const{label:h,value:b,disabled:y}=f.value,k={label:m[h],value:m[b],disabled:m[y]};return{...qa(m,[h,b,y]),...k}},g=e.computed(()=>o.type==="button"?lp:BS);return e.provide(Ea,{..._o(e.toRefs(o),["size","min","max","validateEvent","fill","textColor"]),disabled:l,modelValue:u,changeEvent:d}),e.watch(()=>o.modelValue,(m,h)=>{o.validateEvent&&!xt(m,h)&&(s==null||s.validate("change").catch(b=>void 0))}),(m,h)=>{var b;return e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.tag),{id:e.unref(i),class:e.normalizeClass(e.unref(a).b("group")),role:"group","aria-label":e.unref(c)?void 0:t.ariaLabel||"checkbox-group","aria-labelledby":e.unref(c)?(b=e.unref(s))==null?void 0:b.labelId:void 0},{default:e.withCtx(()=>[e.renderSlot(m.$slots,"default",{},()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.options,(y,k)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(g.value),e.mergeProps({key:k},{ref_for:!0},p(y)),null,16))),128))])]),_:3},8,["id","class","aria-label","aria-labelledby"])}}});const ho=Re(BS,{CheckboxButton:lp,CheckboxGroup:$S}),VS=Bt(lp),Zc=Bt($S),ip=oe({modelValue:{type:[String,Number,Boolean],default:void 0},size:Ht,disabled:{type:Boolean,default:void 0},label:{type:[String,Number,Boolean],default:void 0},value:{type:[String,Number,Boolean],default:void 0},name:{type:String,default:void 0}}),PS=oe({...ip,border:Boolean}),cp={[Ne]:t=>ve(t)||pe(t)||ct(t),[_e]:t=>ve(t)||pe(t)||ct(t)},YW={modelValue:void 0,disabled:void 0,label:void 0,value:void 0,name:void 0,border:!1},dp=Symbol("radioGroupKey"),RS=(t,n)=>{const o=e.ref(),r=e.inject(dp,void 0),a=e.computed(()=>!!r),l=e.computed(()=>On(t.value)?t.label:t.value),s=e.computed({get(){return a.value?r.modelValue:t.modelValue},set(f){a.value?r.changeEvent(f):n&&n(Ne,f),o.value.checked=t.modelValue===l.value}}),i=zt(e.computed(()=>r==null?void 0:r.size)),c=kt(e.computed(()=>r==null?void 0:r.disabled)),d=e.ref(!1),u=e.computed(()=>c.value||a.value&&s.value!==l.value?-1:0);return No({from:"label act as value",replacement:"value",version:"3.0.0",scope:"el-radio",ref:"https://element-plus.org/en-US/component/radio.html"},e.computed(()=>a.value&&On(t.value))),{radioRef:o,isGroup:a,radioGroup:r,focus:d,size:i,disabled:c,tabIndex:u,modelValue:s,actualValue:l}},GW=["value","name","disabled","checked"];var MS=e.defineComponent({name:"ElRadio",__name:"radio",props:PS,emits:cp,setup(t,{emit:n}){const o=t,r=n,a=ee("radio"),{radioRef:l,radioGroup:s,focus:i,size:c,disabled:d,modelValue:u,actualValue:f}=RS(o,r);function p(){e.nextTick(()=>r(_e,u.value))}return(g,m)=>{var h;return e.openBlock(),e.createElementBlock("label",{class:e.normalizeClass([e.unref(a).b(),e.unref(a).is("disabled",e.unref(d)),e.unref(a).is("focus",e.unref(i)),e.unref(a).is("bordered",t.border),e.unref(a).is("checked",e.unref(u)===e.unref(f)),e.unref(a).m(e.unref(c))])},[e.createElementVNode("span",{class:e.normalizeClass([e.unref(a).e("input"),e.unref(a).is("disabled",e.unref(d)),e.unref(a).is("checked",e.unref(u)===e.unref(f))])},[e.withDirectives(e.createElementVNode("input",{ref_key:"radioRef",ref:l,"onUpdate:modelValue":m[0]||(m[0]=b=>e.isRef(u)?u.value=b:null),class:e.normalizeClass(e.unref(a).e("original")),value:e.unref(f),name:t.name||((h=e.unref(s))==null?void 0:h.name),disabled:e.unref(d),checked:e.unref(u)===e.unref(f),type:"radio",onFocus:m[1]||(m[1]=b=>i.value=!0),onBlur:m[2]||(m[2]=b=>i.value=!1),onChange:p,onClick:m[3]||(m[3]=e.withModifiers(()=>{},["stop"]))},null,42,GW),[[e.vModelRadio,e.unref(u)]]),e.createElementVNode("span",{class:e.normalizeClass(e.unref(a).e("inner"))},null,2)],2),e.createElementVNode("span",{class:e.normalizeClass(e.unref(a).e("label")),onKeydown:m[4]||(m[4]=e.withModifiers(()=>{},["stop"]))},[e.renderSlot(g.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(t.label),1)])],34)],2)}}});const IS=oe({...ip}),qW={modelValue:void 0,disabled:void 0,label:void 0,value:void 0,name:void 0},XW=["value","name","disabled"];var up=e.defineComponent({name:"ElRadioButton",__name:"radio-button",props:IS,setup(t){const n=t,o=ee("radio"),{radioRef:r,focus:a,size:l,disabled:s,modelValue:i,radioGroup:c,actualValue:d}=RS(n),u=e.computed(()=>({backgroundColor:(c==null?void 0:c.fill)||"",borderColor:(c==null?void 0:c.fill)||"",boxShadow:c!=null&&c.fill?`-1px 0 0 0 ${c.fill}`:"",color:(c==null?void 0:c.textColor)||""}));return(f,p)=>{var g;return e.openBlock(),e.createElementBlock("label",{class:e.normalizeClass([e.unref(o).b("button"),e.unref(o).is("active",e.unref(i)===e.unref(d)),e.unref(o).is("disabled",e.unref(s)),e.unref(o).is("focus",e.unref(a)),e.unref(o).bm("button",e.unref(l))])},[e.withDirectives(e.createElementVNode("input",{ref_key:"radioRef",ref:r,"onUpdate:modelValue":p[0]||(p[0]=m=>e.isRef(i)?i.value=m:null),class:e.normalizeClass(e.unref(o).be("button","original-radio")),value:e.unref(d),type:"radio",name:t.name||((g=e.unref(c))==null?void 0:g.name),disabled:e.unref(s),onFocus:p[1]||(p[1]=m=>a.value=!0),onBlur:p[2]||(p[2]=m=>a.value=!1),onClick:p[3]||(p[3]=e.withModifiers(()=>{},["stop"]))},null,42,XW),[[e.vModelRadio,e.unref(i)]]),e.createElementVNode("span",{class:e.normalizeClass(e.unref(o).be("button","inner")),style:e.normalizeStyle(e.unref(i)===e.unref(d)?u.value:{}),onKeydown:p[4]||(p[4]=e.withModifiers(()=>{},["stop"]))},[e.renderSlot(f.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(t.label),1)])],38)],2)}}});const Jc={label:"label",value:"value",disabled:"disabled"},OS=oe({id:{type:String,default:void 0},size:Ht,disabled:{type:Boolean,default:void 0},modelValue:{type:[String,Number,Boolean],default:void 0},fill:{type:String,default:""},textColor:{type:String,default:""},name:{type:String,default:void 0},validateEvent:{type:Boolean,default:!0},options:{type:K(Array)},props:{type:K(Object),default:()=>Jc},type:{type:String,values:["radio","button"],default:"radio"},...cn(["ariaLabel"])}),AS=cp,ZW={id:void 0,disabled:void 0,modelValue:void 0,fill:"",textColor:"",name:void 0,validateEvent:!0,props:()=>Jc,type:"radio"},JW=["id","aria-label","aria-labelledby"];var zS=e.defineComponent({name:"ElRadioGroup",__name:"radio-group",props:OS,emits:AS,setup(t,{emit:n}){const o=t,r=n,a=ee("radio"),l=en(),s=e.ref(),{formItem:i}=Zt(),{inputId:c,isLabeledByFormItem:d}=Dn(o,{formItemContext:i}),u=h=>{r(Ne,h),e.nextTick(()=>r(_e,h))};e.onMounted(()=>{const h=s.value.querySelectorAll("[type=radio]"),b=h[0];!Array.from(h).some(y=>y.checked)&&b&&(b.tabIndex=0)});const f=e.computed(()=>o.name||l.value),p=e.computed(()=>({...Jc,...o.props})),g=h=>{const{label:b,value:y,disabled:k}=p.value,C={label:h[b],value:h[y],disabled:h[k]};return{...qa(h,[b,y,k]),...C}},m=e.computed(()=>o.type==="button"?up:MS);return e.provide(dp,e.reactive({...e.toRefs(o),changeEvent:u,name:f})),e.watch(()=>o.modelValue,(h,b)=>{o.validateEvent&&!xt(h,b)&&(i==null||i.validate("change").catch(y=>void 0))}),(h,b)=>(e.openBlock(),e.createElementBlock("div",{id:e.unref(c),ref_key:"radioGroupRef",ref:s,class:e.normalizeClass(e.unref(a).b("group")),role:"radiogroup","aria-label":e.unref(d)?void 0:t.ariaLabel||"radio-group","aria-labelledby":e.unref(d)?e.unref(i).labelId:void 0},[e.renderSlot(h.$slots,"default",{},()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.options,(y,k)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(m.value),e.mergeProps({key:k},{ref_for:!0},g(y)),null,16))),128))])],10,JW))}});const fp=Re(MS,{RadioButton:up,RadioGroup:zS}),DS=Bt(zS),LS=Bt(up),Hs=Symbol();function QW(t){return!!(ie(t)?t.every(({type:n})=>n===e.Comment):(t==null?void 0:t.type)===e.Comment)}var e9=e.defineComponent({name:"NodeContent",props:{node:{type:Object,required:!0}},setup(t){const n=ee("cascader-node"),{renderLabelFn:o}=e.inject(Hs),{node:r}=t,{data:a,label:l}=r,s=()=>{const i=o==null?void 0:o({node:r,data:a});return QW(i)?l:i!=null?i:l};return()=>e.createVNode("span",{class:n.e("label")},[s()])}});const t9=["id","aria-haspopup","aria-owns","aria-expanded","tabindex"];var n9=e.defineComponent({name:"ElCascaderNode",__name:"node",props:{node:{type:Object,required:!0},menuId:String},emits:["expand"],setup(t,{emit:n}){const o=t,r=n,a=e.inject(Hs),l=ee("cascader-node"),s=e.computed(()=>a.isHoverMenu),i=e.computed(()=>a.config.multiple),c=e.computed(()=>a.config.checkStrictly),d=e.computed(()=>a.config.showPrefix),u=e.computed(()=>{var P;return(P=a.checkedNodes[0])==null?void 0:P.uid}),f=e.computed(()=>o.node.isDisabled),p=e.computed(()=>o.node.isLeaf),g=e.computed(()=>c.value&&!p.value||!f.value),m=e.computed(()=>b(a.expandingNode)),h=e.computed(()=>c.value&&a.checkedNodes.some(b)),b=P=>{var T;const{level:V,uid:x}=o.node;return((T=P==null?void 0:P.pathNodes[V-1])==null?void 0:T.uid)===x},y=()=>{m.value||a.expandNode(o.node)},k=P=>{const{node:T}=o;P!==T.checked&&a.handleCheckChange(T,P)},C=()=>{a.lazyLoad(o.node,()=>{p.value||y()})},w=P=>{s.value&&(S(),!p.value&&r("expand",P))},S=()=>{const{node:P}=o;!g.value||P.loading||(P.loaded?y():C())},E=()=>{p.value&&!f.value&&!c.value&&!i.value?N(!0):(a.config.checkOnClickNode&&(i.value||c.value)||p.value&&a.config.checkOnClickLeaf)&&!f.value?v(!o.node.checked):s.value||S()},v=P=>{c.value?(k(P),o.node.loaded&&y()):N(P)},N=P=>{o.node.loaded?(k(P),!c.value&&y()):C()};return(P,T)=>(e.openBlock(),e.createElementBlock("li",{id:`${t.menuId}-${t.node.uid}`,role:"menuitem","aria-haspopup":!p.value,"aria-owns":p.value?void 0:t.menuId,"aria-expanded":m.value,tabindex:g.value?-1:void 0,class:e.normalizeClass([e.unref(l).b(),e.unref(l).is("selectable",c.value),e.unref(l).is("active",t.node.checked),e.unref(l).is("disabled",!g.value),m.value&&"in-active-path",h.value&&"in-checked-path"]),onMouseenter:w,onFocus:w,onClick:E},[e.createCommentVNode(" prefix "),i.value&&d.value?(e.openBlock(),e.createBlock(e.unref(ho),{key:0,"model-value":t.node.checked,indeterminate:t.node.indeterminate,disabled:f.value,onClick:T[0]||(T[0]=e.withModifiers(()=>{},["stop"])),"onUpdate:modelValue":v},null,8,["model-value","indeterminate","disabled"])):c.value&&d.value?(e.openBlock(),e.createBlock(e.unref(fp),{key:1,"model-value":u.value,label:t.node.uid,disabled:f.value,"onUpdate:modelValue":v,onClick:T[1]||(T[1]=e.withModifiers(()=>{},["stop"]))},{default:e.withCtx(()=>[e.createCommentVNode(` + Add an empty element to avoid render label, + do not use empty fragment here for https://github.com/vuejs/vue-next/pull/2485 + `),T[2]||(T[2]=e.createElementVNode("span",null,null,-1))]),_:1},8,["model-value","label","disabled"])):p.value&&t.node.checked?(e.openBlock(),e.createBlock(e.unref(ce),{key:2,class:e.normalizeClass(e.unref(l).e("prefix"))},{default:e.withCtx(()=>[e.createVNode(e.unref(ms))]),_:1},8,["class"])):e.createCommentVNode("v-if",!0),e.createCommentVNode(" content "),e.createVNode(e.unref(e9),{node:t.node},null,8,["node"]),e.createCommentVNode(" postfix "),p.value?e.createCommentVNode("v-if",!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[t.node.loading?(e.openBlock(),e.createBlock(e.unref(ce),{key:0,class:e.normalizeClass([e.unref(l).is("loading"),e.unref(l).e("postfix")])},{default:e.withCtx(()=>[e.createVNode(e.unref(Uo))]),_:1},8,["class"])):(e.openBlock(),e.createBlock(e.unref(ce),{key:1,class:e.normalizeClass(["arrow-right",e.unref(l).e("postfix")])},{default:e.withCtx(()=>[e.createVNode(e.unref(Cn))]),_:1},8,["class"]))],64))],42,t9))}}),o9=e.defineComponent({name:"ElCascaderMenu",__name:"menu",props:{nodes:{type:Array,required:!0},index:{type:Number,required:!0}},setup(t){const n=t,o=e.getCurrentInstance(),r=ee("cascader-menu"),{t:a}=je(),l=en();let s,i;const c=e.inject(Hs),d=e.ref(),u=e.computed(()=>!n.nodes.length),f=e.computed(()=>!c.initialLoaded),p=e.computed(()=>`${l.value}-${n.index}`),g=y=>{s=y.target},m=y=>{var k;if(!(!c.isHoverMenu||!s||!d.value))if(s.contains(y.target)){h();const C=o.vnode.el,{left:w}=C.getBoundingClientRect(),{offsetWidth:S,offsetHeight:E}=C,v=y.clientX-w,N=s.offsetTop,P=N+s.offsetHeight,T=((k=C.querySelector(`.${r.e("wrap")}`))==null?void 0:k.scrollTop)||0;d.value.innerHTML=` + + + `}else i||(i=window.setTimeout(b,c.config.hoverThreshold))},h=()=>{i&&(clearTimeout(i),i=void 0)},b=()=>{d.value&&(d.value.innerHTML="",h())};return(y,k)=>(e.openBlock(),e.createBlock(e.unref(mo),{key:p.value,tag:"ul",role:"menu",class:e.normalizeClass(e.unref(r).b()),"wrap-class":e.unref(r).e("wrap"),"view-class":[e.unref(r).e("list"),e.unref(r).is("empty",u.value)],onMousemove:m,onMouseleave:b},{default:e.withCtx(()=>{var C;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.nodes,w=>(e.openBlock(),e.createBlock(n9,{key:w.uid,node:w,"menu-id":p.value,onExpand:g},null,8,["node","menu-id"]))),128)),f.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(r).e("empty-text"))},[e.createVNode(e.unref(ce),{size:"14",class:e.normalizeClass(e.unref(r).is("loading"))},{default:e.withCtx(()=>[e.createVNode(e.unref(Uo))]),_:1},8,["class"]),e.createTextVNode(" "+e.toDisplayString(e.unref(a)("el.cascader.loading")),1)],2)):u.value?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(r).e("empty-text"))},[e.renderSlot(y.$slots,"empty",{},()=>[e.createTextVNode(e.toDisplayString(e.unref(a)("el.cascader.noData")),1)])],2)):(C=e.unref(c))!=null&&C.isHoverMenu?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createCommentVNode(" eslint-disable vue/html-self-closing "),(e.openBlock(),e.createElementBlock("svg",{ref_key:"hoverZone",ref:d,class:e.normalizeClass(e.unref(r).e("hover-zone"))},null,2))],2112)):e.createCommentVNode("v-if",!0),e.createCommentVNode(" eslint-enable vue/html-self-closing ")]}),_:3},8,["class","wrap-class","view-class"]))}}),r9=Object.defineProperty,a9=(t,n,o)=>n in t?r9(t,n,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[n]=o,Fn=(t,n,o)=>a9(t,typeof n!="symbol"?n+"":n,o);let l9=0;const s9=t=>{const n=[t];let{parent:o}=t;for(;o;)n.unshift(o),o=o.parent;return n};let mp=class Bg{constructor(n,o,r,a=!1){this.data=n,this.config=o,this.parent=r,this.root=a,Fn(this,"uid",l9++),Fn(this,"level"),Fn(this,"value"),Fn(this,"label"),Fn(this,"pathNodes"),Fn(this,"pathValues"),Fn(this,"pathLabels"),Fn(this,"childrenData"),Fn(this,"children"),Fn(this,"text"),Fn(this,"loaded"),Fn(this,"checked",!1),Fn(this,"indeterminate",!1),Fn(this,"loading",!1);const{value:l,label:s,children:i}=o,c=n[i],d=s9(this);this.level=a?0:r?r.level+1:1,this.value=n[l],this.label=n[s],this.pathNodes=d,this.pathValues=d.map(u=>u.value),this.pathLabels=d.map(u=>u.label),this.childrenData=c,this.children=(c||[]).map(u=>new Bg(u,o,this)),this.loaded=!o.lazy||this.isLeaf||!Tn(c),this.text=""}get isDisabled(){const{data:n,parent:o,config:r}=this,{disabled:a,checkStrictly:l}=r;return(Ae(a)?a(n,this):!!n[a])||!l&&!!(o!=null&&o.isDisabled)}get isLeaf(){const{data:n,config:o,childrenData:r,loaded:a}=this,{lazy:l,leaf:s}=o,i=Ae(s)?s(n,this):n[s];return Xe(i)?l&&!a?!1:!(ie(r)&&r.length):!!i}get valueByOption(){return this.config.emitPath?this.pathValues:this.value}appendChild(n){const{childrenData:o,children:r}=this,a=new Bg(n,this.config,this);return ie(o)?o.push(n):this.childrenData=[n],r.push(a),a}calcText(n,o){const r=n?this.pathLabels.join(o):this.label;return this.text=r,r}broadcast(n){this.children.forEach(o=>{var r;o&&(o.broadcast(n),(r=o.onParentCheck)==null||r.call(o,n))})}emit(){var n;const{parent:o}=this;o&&((n=o.onChildCheck)==null||n.call(o),o.emit())}onParentCheck(n){this.isDisabled||this.setCheckState(n)}onChildCheck(){const{children:n}=this,o=n.filter(a=>!a.isDisabled),r=o.length?o.every(a=>a.checked):!1;this.setCheckState(r)}setCheckState(n){const o=this.children.length,r=this.children.reduce((a,l)=>{const s=l.checked?1:l.indeterminate?.5:0;return a+s},0);this.checked=this.loaded&&this.children.filter(a=>!a.isDisabled).every(a=>a.loaded&&a.checked)&&n,this.indeterminate=this.loaded&&r!==o&&r>0}doCheck(n){if(this.checked===n)return;const{checkStrictly:o,multiple:r}=this.config;o||!r?this.checked=n:(this.broadcast(n),this.setCheckState(n),this.emit())}};var i9=Object.defineProperty,c9=(t,n,o)=>n in t?i9(t,n,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[n]=o,pp=(t,n,o)=>c9(t,typeof n!="symbol"?n+"":n,o);const hp=(t,n)=>t.reduce((o,r)=>(r.isLeaf?o.push(r):(!n&&o.push(r),o=o.concat(hp(r.children,n))),o),[]);class _S{constructor(n,o){this.config=o,pp(this,"nodes"),pp(this,"allNodes"),pp(this,"leafNodes");const r=(n||[]).map(a=>new mp(a,this.config));this.nodes=r,this.allNodes=hp(r,!1),this.leafNodes=hp(r,!0)}getNodes(){return this.nodes}getFlattedNodes(n){return n?this.leafNodes:this.allNodes}appendNode(n,o){const r=o?o.appendChild(n):new mp(n,this.config);o||this.nodes.push(r),this.appendAllNodesAndLeafNodes(r)}appendNodes(n,o){n.length>0?n.forEach(r=>this.appendNode(r,o)):o&&o.isLeaf&&this.leafNodes.push(o)}appendAllNodesAndLeafNodes(n){this.allNodes.push(n),n.isLeaf&&this.leafNodes.push(n),n.children&&n.children.forEach(o=>{this.appendAllNodesAndLeafNodes(o)})}getNodeByValue(n,o=!1){return On(n)?null:this.getFlattedNodes(o).find(a=>xt(a.value,n)||xt(a.pathValues,n))||null}getSameNode(n){return n&&this.getFlattedNodes(!1).find(({value:r,level:a})=>xt(n.value,r)&&n.level===a)||null}}const FS=t=>{if(!t)return 0;const n=t.id.split("-");return Number(n[n.length-2])},d9=t=>{if(!t)return;const n=t.querySelector("input");n?n.click():$g(t)&&t.click()},u9=(t,n)=>{const o=n.slice(0),r=o.map(l=>l.uid),a=t.reduce((l,s)=>{const i=r.indexOf(s.uid);return i>-1&&(l.push(s),o.splice(i,1),r.splice(i,1)),l},[]);return a.push(...o),a};var f9=e.defineComponent({name:"ElCascaderPanel",__name:"index",props:kS,emits:ES,setup(t,{expose:n,emit:o}){const r=t,a=o;let l=!1;const s=ee("cascader"),i=vS(r),c=e.useSlots();let d;const u=e.ref(!0),f=e.ref(!1),p=e.ref([]),g=e.ref(),m=e.ref([]),h=e.ref(),b=e.ref([]),y=e.computed(()=>i.value.expandTrigger==="hover"),k=e.computed(()=>r.renderLabel||c.default),C=()=>{const{options:$}=r,B=i.value;l=!1,d=new _S($,B),m.value=[d.getNodes()],B.lazy&&Tn(r.options)?(u.value=!1,w(void 0,M=>{M&&(d=new _S(M,B),m.value=[d.getNodes()]),u.value=!0,x(!1,!0)})):x(!1,!0)},w=($,B)=>{const M=i.value;$=$||new mp({},M,void 0,!0),$.loading=!0;const I=F=>{const A=$,W=A.root?null:A;A.loading=!1,A.loaded=!0,A.childrenData=A.childrenData||[],F&&(d==null||d.appendNodes(F,W)),F&&(B==null||B(F)),$.level===0&&(f.value=!0)},z=()=>{$.loading=!1,$.loaded=!1,$.level===0&&(u.value=!0)};M.lazyLoad($,I,z)},S=($,B)=>{var M;const{level:I}=$,z=m.value.slice(0,I);let F;$.isLeaf?F=$.pathNodes[I-2]:(F=$,z.push($.children)),((M=h.value)==null?void 0:M.uid)!==(F==null?void 0:F.uid)&&(h.value=$,m.value=z,!B&&a("expand-change",($==null?void 0:$.pathValues)||[]))},E=($,B,M=!0)=>{const{checkStrictly:I,multiple:z}=i.value,F=b.value[0];l=!0,!z&&(F==null||F.doCheck(!1)),$.doCheck(B),V(),M&&!z&&!I&&a("close"),!M&&!z&&v($)},v=$=>{$&&($=$.parent,v($),$&&S($))},N=$=>d==null?void 0:d.getFlattedNodes($),P=$=>{var B;return(B=N($))==null?void 0:B.filter(({checked:M})=>M!==!1)},T=()=>{b.value.forEach($=>$.doCheck(!1)),V(),m.value=m.value.slice(0,1),h.value=void 0,a("expand-change",[])},V=()=>{var $;const{checkStrictly:B,multiple:M}=i.value,I=b.value,z=P(!B),F=u9(I,z),A=F.map(W=>W.valueByOption);b.value=F,g.value=M?A:($=A[0])!=null?$:null},x=($=!1,B=!1)=>{const{modelValue:M}=r,{lazy:I,multiple:z,checkStrictly:F}=i.value,A=!F;if(!(!u.value||l||!B&&xt(M,g.value)))if(I&&!$){const j=IC(Cy(wn(M))).map(G=>d==null?void 0:d.getNodeByValue(G)).filter(G=>!!G&&!G.loaded&&!G.loading);j.length?j.forEach(G=>{w(G,()=>x(!1,B))}):x(!0,B)}else{const W=z?wn(M):[M],j=IC(W.map(G=>d==null?void 0:d.getNodeByValue(G,A)));O(j,B),g.value=as(M!=null?M:void 0)}},O=($,B=!0)=>{const{checkStrictly:M}=i.value,I=b.value,z=$.filter(W=>!!W&&(M||W.isLeaf)),F=d==null?void 0:d.getSameNode(h.value),A=B&&F||z[0];A?A.pathNodes.forEach(W=>S(W,!0)):h.value=void 0,I.forEach(W=>W.doCheck(!1)),e.reactive(z).forEach(W=>W.doCheck(!0)),b.value=z,e.nextTick(D)},D=()=>{Je&&p.value.forEach($=>{const B=$==null?void 0:$.$el;if(B){const M=B.querySelector(`.${s.namespace.value}-scrollbar__wrap`);let I=B.querySelector(`.${s.b("node")}.in-active-path`);if(!I){const z=B.querySelectorAll(`.${s.b("node")}.${s.is("active")}`);I=z[z.length-1]}hf(M,I)}})},L=$=>{const B=$.target,M=ut($);switch(M){case te.up:case te.down:{$.preventDefault();const I=M===te.up?-1:1;fi(Vg(B,I,`.${s.b("node")}[tabindex="-1"]`));break}case te.left:{$.preventDefault();const I=p.value[FS(B)-1],z=I==null?void 0:I.$el.querySelector(`.${s.b("node")}[aria-expanded="true"]`);fi(z);break}case te.right:{$.preventDefault();const I=p.value[FS(B)+1],z=I==null?void 0:I.$el.querySelector(`.${s.b("node")}[tabindex="-1"]`);fi(z);break}case te.enter:case te.numpadEnter:d9(B);break}};e.provide(Hs,e.reactive({config:i,expandingNode:h,checkedNodes:b,isHoverMenu:y,initialLoaded:u,renderLabelFn:k,lazyLoad:w,expandNode:S,handleCheckChange:E})),e.watch(i,($,B)=>{xt($,B)||C()},{immediate:!0}),e.watch(()=>r.options,C,{deep:!0}),e.watch(()=>r.modelValue,()=>{l=!1,x()},{deep:!0}),e.watch(()=>g.value,$=>{xt($,r.modelValue)||(a(Ne,$),a(_e,$))});const H=()=>{f.value||C()};return e.onBeforeUpdate(()=>p.value=[]),e.onMounted(()=>!Tn(r.modelValue)&&x()),n({menuList:p,menus:m,checkedNodes:b,handleKeyDown:L,handleCheckChange:E,getFlattedNodes:N,getCheckedNodes:P,clearCheckedNodes:T,calculateCheckedValue:V,scrollToExpandingNode:D,loadLazyRootNodes:H}),($,B)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass([e.unref(s).b("panel"),e.unref(s).is("bordered",t.border)]),onKeydown:L},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(m.value,(M,I)=>(e.openBlock(),e.createBlock(o9,{key:I,ref_for:!0,ref:z=>p.value[I]=z,index:I,nodes:[...M]},{empty:e.withCtx(()=>[e.renderSlot($.$slots,"empty")]),_:3},8,["index","nodes"]))),128))],34))}});const gp=Re(f9),HS=oe({...op,size:Ht,placeholder:String,disabled:{type:Boolean,default:void 0},clearable:Boolean,clearIcon:{type:dt,default:jo},filterable:Boolean,filterMethod:{type:K(Function),default:(t,n)=>t.text.includes(n)},separator:{type:String,default:" / "},showAllLevels:{type:Boolean,default:!0},collapseTags:Boolean,maxCollapseTags:{type:Number,default:1},collapseTagsTooltip:Boolean,maxCollapseTagsTooltipHeight:{type:[String,Number]},debounce:{type:Number,default:300},beforeFilter:{type:K(Function),default:()=>!0},placement:{type:K(String),values:Yo,default:"bottom-start"},fallbackPlacements:{type:K(Array),default:["bottom-start","bottom","top-start","top","right","left"]},popperClass:lt.popperClass,popperStyle:lt.popperStyle,teleported:lt.teleported,effect:{type:K(String),default:"light"},tagType:{...er.type,default:"info"},tagEffect:{...er.effect,default:"light"},validateEvent:{type:Boolean,default:!0},persistent:{type:Boolean,default:!0},showCheckedStrategy:{type:String,values:["parent","child"],default:"child"},checkOnClickNode:Boolean,showPrefix:{type:Boolean,default:!0},...Wr}),KS=t=>!0,WS={[Ne]:KS,[_e]:KS,focus:t=>t instanceof FocusEvent,blur:t=>t instanceof FocusEvent,clear:()=>!0,visibleChange:t=>ct(t),expandChange:t=>!!t,removeTag:t=>!!t},m9=["placeholder"],p9=["onClick"];var h9=e.defineComponent({name:"ElCascader",__name:"cascader",props:HS,emits:WS,setup(t,{expose:n,emit:o}){const r={modifiers:[{name:"arrowPosition",enabled:!0,phase:"main",fn:({state:se})=>{const{modifiersData:he,placement:Me}=se;["right","left","bottom","top"].includes(Me)||he.arrow&&(he.arrow.x=35)},requires:["arrow"]}]},a=t,l=o,s=e.useAttrs(),i=e.useSlots();let c=0,d=0;const u=ee("cascader"),f=ee("input"),p={small:7,default:11,large:15},{t:g}=je(),{formItem:m}=Zt(),h=kt(),{valueOnClear:b}=ml(a),{isComposing:y,handleComposition:k}=fl({afterComposition(se){var he;const Me=(he=se.target)==null?void 0:he.value;De(Me)}}),C=e.ref(),w=e.ref(),S=e.ref(),E=e.ref(),v=e.ref(),N=e.ref(),P=e.ref(!1),T=e.ref(!1),V=e.ref(!1),x=e.ref(""),O=e.ref(""),D=e.ref([]),L=e.ref([]),H=e.computed(()=>a.props.multiple?a.collapseTags?D.value.slice(0,a.maxCollapseTags):D.value:[]),$=e.computed(()=>a.props.multiple?a.collapseTags?D.value.slice(a.maxCollapseTags):[]:[]),B=e.computed(()=>s.style),M=e.computed(()=>{var se;return(se=a.placeholder)!=null?se:g("el.cascader.placeholder")}),I=e.computed(()=>O.value||D.value.length>0||y.value?"":M.value),z=zt(),F=e.computed(()=>z.value==="small"?"small":"default"),A=e.computed(()=>!!a.props.multiple),W=e.computed(()=>!a.filterable||A.value),j=e.computed(()=>A.value?O.value:x.value),G=e.computed(()=>{var se;return((se=v.value)==null?void 0:se.checkedNodes)||[]}),{wrapperRef:X,isFocused:Q,handleBlur:J}=Qo(S,{disabled:h,beforeBlur(se){var he,Me;return((he=C.value)==null?void 0:he.isFocusInsideContent(se))||((Me=w.value)==null?void 0:Me.isFocusInsideContent(se))},afterBlur(){var se;a.validateEvent&&((se=m==null?void 0:m.validate)==null||se.call(m,"blur").catch(he=>void 0))}}),Y=e.computed(()=>!a.clearable||h.value||V.value||!T.value&&!Q.value?!1:!!G.value.length),_=e.computed(()=>{const{showAllLevels:se,separator:he}=a,Me=G.value;return Me.length?A.value?"":Me[0].calcText(se,he):""}),q=e.computed(()=>(m==null?void 0:m.validateState)||""),le=e.computed({get(){return as(a.modelValue)},set(se){const he=se!=null?se:b.value;l(Ne,he),l(_e,he),a.validateEvent&&(m==null||m.validate("change").catch(Me=>void 0))}}),ue=e.computed(()=>[u.b(),u.m(z.value),u.is("disabled",h.value),s.class]),Ce=e.computed(()=>[f.e("icon"),"icon-arrow-down",u.is("reverse",P.value)]),Ee=e.computed(()=>u.is("focus",Q.value)),Ve=e.computed(()=>{var se,he;return(he=(se=C.value)==null?void 0:se.popperRef)==null?void 0:he.contentRef}),Ie=se=>{if(Q.value){const he=new FocusEvent("blur",se);J(he)}qe(!1)},qe=se=>{var he,Me;h.value||(se=se!=null?se:!P.value,se!==P.value&&(P.value=se,(Me=(he=S.value)==null?void 0:he.input)==null||Me.setAttribute("aria-expanded",`${se}`),se?(We(),v.value&&e.nextTick(v.value.scrollToExpandingNode)):a.filterable&&ze(),l("visibleChange",se)))},We=()=>{e.nextTick(()=>{var se;(se=C.value)==null||se.updatePopper()})},be=()=>{V.value=!1},ye=se=>{const{showAllLevels:he,separator:Me}=a;return{node:se,key:se.uid,text:se.calcText(he,Me),hitState:!1,closable:!h.value&&!se.isDisabled}},Te=se=>{var he;const Me=se.node;Me.doCheck(!1),(he=v.value)==null||he.calculateCheckedValue(),l("removeTag",Me.valueByOption)},Oe=()=>{switch(a.showCheckedStrategy){case"child":return G.value;case"parent":{const se=Se(!1),he=se.map(St=>St.value);return se.filter(St=>!St.parent||!he.includes(St.parent.value))}default:return[]}},Fe=()=>{if(!A.value)return;const se=Oe(),he=[];se.forEach(Me=>he.push(ye(Me))),D.value=he},Ue=()=>{var se,he;const{filterMethod:Me,showAllLevels:St,separator:rt}=a,ge=(he=(se=v.value)==null?void 0:se.getFlattedNodes(!a.props.checkStrictly))==null?void 0:he.filter(ke=>ke.isDisabled?!1:(ke.calcText(St,rt),Me(ke,j.value)));A.value&&D.value.forEach(ke=>{ke.hitState=!1}),V.value=!0,L.value=ge,We()},fe=()=>{var se;let he;V.value&&N.value?he=N.value.$el.querySelector(`.${u.e("suggestion-item")}`):he=(se=v.value)==null?void 0:se.$el.querySelector(`.${u.b("node")}[tabindex="-1"]`),he&&(he.focus(),!V.value&&he.click())},we=()=>{var se,he,Me;const St=(se=S.value)==null?void 0:se.input,rt=E.value,ge=(he=N.value)==null?void 0:he.$el;if(!(!Je||!St)){if(ge){const ke=ge.querySelector(`.${u.e("suggestion-list")}`);ke.style.minWidth=`${St.offsetWidth}px`}if(rt){const{offsetHeight:ke}=rt,Le=D.value.length>0?`${Math.max(ke,c)-2}px`:`${c}px`;if(St.style.height=Le,i.prefix){const ln=(Me=S.value)==null?void 0:Me.$el.querySelector(`.${f.e("prefix")}`);let $n=0;ln&&($n=ln.offsetWidth,$n>0&&($n+=p[z.value||"default"])),rt.style.left=`${$n}px`}else rt.style.left="0";We()}}},Se=se=>{var he;return(he=v.value)==null?void 0:he.getCheckedNodes(se)},pt=se=>{We(),l("expandChange",se)},bt=se=>{if(y.value)return;switch(ut(se)){case te.enter:case te.numpadEnter:qe();break;case te.down:qe(!0),e.nextTick(fe),se.preventDefault();break;case te.esc:P.value===!0&&(se.preventDefault(),se.stopPropagation(),qe(!1));break;case te.tab:qe(!1);break}},Be=()=>{var se;(se=v.value)==null||se.clearCheckedNodes(),!P.value&&a.filterable&&ze(),qe(!1),l("clear")},ze=()=>{const{value:se}=_;x.value=se,O.value=se},Ye=se=>{var he,Me;const{checked:St}=se;A.value?(he=v.value)==null||he.handleCheckChange(se,!St,!1):(!St&&((Me=v.value)==null||Me.handleCheckChange(se,!0,!1)),qe(!1))},ne=se=>{const he=se.target,Me=ut(se);switch(Me){case te.up:case te.down:{se.preventDefault();const St=Me===te.up?-1:1;fi(Vg(he,St,`.${u.e("suggestion-item")}[tabindex="-1"]`));break}case te.enter:case te.numpadEnter:he.click();break}},me=()=>{const se=D.value[D.value.length-1];d=O.value?0:d+1,!(!se||!d||a.collapseTags&&D.value.length>1)&&(se.hitState?Te(se):se.hitState=!0)},Z=e.computed(()=>a.debounce),de=Wl(()=>{const{value:se}=j;if(!se)return;const he=a.beforeFilter(se);Ul(he)?he.then(Ue).catch(()=>{}):he!==!1?Ue():be()},Z),De=(se,he)=>{!P.value&&qe(!0),!(he!=null&&he.isComposing)&&(se?de():be())},st=se=>Number.parseFloat(ZT(f.cssVarName("input-height"),se).value)-2,Tt=()=>{var se;(se=S.value)==null||se.focus()},Vt=()=>{var se;(se=S.value)==null||se.blur()};return e.watch(V,We),e.watch([G,h,()=>a.collapseTags,()=>a.maxCollapseTags],Fe),e.watch(D,()=>{e.nextTick(()=>we())}),e.watch(z,async()=>{await e.nextTick();const se=S.value.input;c=st(se)||c,we()}),e.watch(_,ze,{immediate:!0}),e.watch(()=>P.value,se=>{var he;se&&a.props.lazy&&a.props.lazyLoad&&((he=v.value)==null||he.loadLazyRootNodes())}),e.onMounted(()=>{const se=S.value.input,he=st(se);c=se.offsetHeight||he,yt(se,we)}),n({getCheckedNodes:Se,cascaderPanelRef:v,togglePopperVisible:qe,contentRef:Ve,presentText:_,focus:Tt,blur:Vt}),(se,he)=>(e.openBlock(),e.createBlock(e.unref(Jt),{ref_key:"tooltipRef",ref:C,visible:P.value,teleported:t.teleported,"popper-class":[e.unref(u).e("dropdown"),t.popperClass],"popper-style":t.popperStyle,"popper-options":r,"fallback-placements":t.fallbackPlacements,"stop-popper-mouse-event":!1,"gpu-acceleration":!1,placement:t.placement,transition:`${e.unref(u).namespace.value}-zoom-in-top`,effect:t.effect,pure:"",persistent:t.persistent,onHide:be},{default:e.withCtx(()=>[e.withDirectives((e.openBlock(),e.createElementBlock("div",{ref_key:"wrapperRef",ref:X,class:e.normalizeClass(ue.value),style:e.normalizeStyle(B.value),onClick:he[8]||(he[8]=()=>qe(W.value?void 0:!0)),onKeydown:bt,onMouseenter:he[9]||(he[9]=Me=>T.value=!0),onMouseleave:he[10]||(he[10]=Me=>T.value=!1)},[e.createVNode(e.unref(un),{ref_key:"inputRef",ref:S,modelValue:x.value,"onUpdate:modelValue":he[1]||(he[1]=Me=>x.value=Me),placeholder:I.value,readonly:W.value,disabled:e.unref(h),"validate-event":!1,size:e.unref(z),class:e.normalizeClass(Ee.value),tabindex:A.value&&t.filterable&&!e.unref(h)?-1:void 0,onCompositionstart:e.unref(k),onCompositionupdate:e.unref(k),onCompositionend:e.unref(k),onInput:De},e.createSlots({suffix:e.withCtx(()=>[Y.value?(e.openBlock(),e.createBlock(e.unref(ce),{key:"clear",class:e.normalizeClass([e.unref(f).e("icon"),"icon-circle-close"]),onClick:e.withModifiers(Be,["stop"])},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.clearIcon)))]),_:1},8,["class"])):(e.openBlock(),e.createBlock(e.unref(ce),{key:"arrow-down",class:e.normalizeClass(Ce.value),onClick:he[0]||(he[0]=e.withModifiers(Me=>qe(),["stop"]))},{default:e.withCtx(()=>[e.createVNode(e.unref(Wo))]),_:1},8,["class"]))]),_:2},[se.$slots.prefix?{name:"prefix",fn:e.withCtx(()=>[e.renderSlot(se.$slots,"prefix")]),key:"0"}:void 0]),1032,["modelValue","placeholder","readonly","disabled","size","class","tabindex","onCompositionstart","onCompositionupdate","onCompositionend"]),A.value?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"tagWrapper",ref:E,class:e.normalizeClass([e.unref(u).e("tags"),e.unref(u).is("validate",!!q.value)])},[e.renderSlot(se.$slots,"tag",{data:D.value,deleteTag:Te},()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(H.value,Me=>(e.openBlock(),e.createBlock(e.unref(tr),{key:Me.key,type:t.tagType,size:F.value,effect:t.tagEffect,hit:Me.hitState,closable:Me.closable,"disable-transitions":"",onClose:St=>Te(Me)},{default:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(Me.text),1)]),_:2},1032,["type","size","effect","hit","closable","onClose"]))),128))]),t.collapseTags&&D.value.length>t.maxCollapseTags?(e.openBlock(),e.createBlock(e.unref(Jt),{key:0,ref_key:"tagTooltipRef",ref:w,disabled:P.value||!t.collapseTagsTooltip,"fallback-placements":["bottom","top","right","left"],placement:"bottom","popper-class":t.popperClass,"popper-style":t.popperStyle,effect:t.effect,persistent:t.persistent},{default:e.withCtx(()=>[e.createVNode(e.unref(tr),{closable:!1,size:F.value,type:t.tagType,effect:t.tagEffect,"disable-transitions":""},{default:e.withCtx(()=>[e.createElementVNode("span",{class:e.normalizeClass(e.unref(u).e("tags-text"))}," + "+e.toDisplayString(D.value.length-t.maxCollapseTags),3)]),_:1},8,["size","type","effect"])]),content:e.withCtx(()=>[e.createVNode(e.unref(mo),{"max-height":t.maxCollapseTagsTooltipHeight},{default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(e.unref(u).e("collapse-tags"))},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList($.value,(Me,St)=>(e.openBlock(),e.createElementBlock("div",{key:St,class:e.normalizeClass(e.unref(u).e("collapse-tag"))},[(e.openBlock(),e.createBlock(e.unref(tr),{key:Me.key,class:"in-tooltip",type:t.tagType,size:F.value,effect:t.tagEffect,hit:Me.hitState,closable:Me.closable,"disable-transitions":"",onClose:rt=>Te(Me)},{default:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(Me.text),1)]),_:2},1032,["type","size","effect","hit","closable","onClose"]))],2))),128))],2)]),_:1},8,["max-height"])]),_:1},8,["disabled","popper-class","popper-style","effect","persistent"])):e.createCommentVNode("v-if",!0),t.filterable&&!e.unref(h)?e.withDirectives((e.openBlock(),e.createElementBlock("input",{key:1,"onUpdate:modelValue":he[2]||(he[2]=Me=>O.value=Me),type:"text",class:e.normalizeClass(e.unref(u).e("search-input")),placeholder:_.value?"":M.value,onInput:he[3]||(he[3]=Me=>De(O.value,Me)),onClick:he[4]||(he[4]=e.withModifiers(Me=>qe(!0),["stop"])),onKeydown:e.withKeys(me,["delete"]),onCompositionstart:he[5]||(he[5]=(...Me)=>e.unref(k)&&e.unref(k)(...Me)),onCompositionupdate:he[6]||(he[6]=(...Me)=>e.unref(k)&&e.unref(k)(...Me)),onCompositionend:he[7]||(he[7]=(...Me)=>e.unref(k)&&e.unref(k)(...Me))},null,42,m9)),[[e.vModelText,O.value]]):e.createCommentVNode("v-if",!0)],2)):e.createCommentVNode("v-if",!0)],38)),[[e.unref(Sr),Ie,Ve.value]])]),content:e.withCtx(()=>[se.$slots.header?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(u).e("header")),onClick:he[11]||(he[11]=e.withModifiers(()=>{},["stop"]))},[e.renderSlot(se.$slots,"header")],2)):e.createCommentVNode("v-if",!0),e.withDirectives(e.createVNode(e.unref(gp),{ref_key:"cascaderPanelRef",ref:v,modelValue:le.value,"onUpdate:modelValue":he[12]||(he[12]=Me=>le.value=Me),options:t.options,props:a.props,border:!1,"render-label":se.$slots.default,onExpandChange:pt,onClose:he[13]||(he[13]=Me=>se.$nextTick(()=>qe(!1)))},{empty:e.withCtx(()=>[e.renderSlot(se.$slots,"empty")]),_:3},8,["modelValue","options","props","render-label"]),[[e.vShow,!V.value]]),t.filterable?e.withDirectives((e.openBlock(),e.createBlock(e.unref(mo),{key:1,ref_key:"suggestionPanel",ref:N,tag:"ul",class:e.normalizeClass(e.unref(u).e("suggestion-panel")),"view-class":e.unref(u).e("suggestion-list"),onKeydown:ne},{default:e.withCtx(()=>[L.value.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(L.value,Me=>(e.openBlock(),e.createElementBlock("li",{key:Me.uid,class:e.normalizeClass([e.unref(u).e("suggestion-item"),e.unref(u).is("checked",Me.checked)]),tabindex:-1,onClick:St=>Ye(Me)},[e.renderSlot(se.$slots,"suggestion-item",{item:Me},()=>[e.createElementVNode("span",null,e.toDisplayString(Me.text),1),Me.checked?(e.openBlock(),e.createBlock(e.unref(ce),{key:0},{default:e.withCtx(()=>[e.createVNode(e.unref(ms))]),_:1})):e.createCommentVNode("v-if",!0)])],10,p9))),128)):e.renderSlot(se.$slots,"empty",{key:1},()=>[e.createElementVNode("li",{class:e.normalizeClass(e.unref(u).e("empty-text"))},e.toDisplayString(e.unref(g)("el.cascader.noMatch")),3)])]),_:3},8,["class","view-class"])),[[e.vShow,V.value]]):e.createCommentVNode("v-if",!0),se.$slots.footer?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(e.unref(u).e("footer")),onClick:he[14]||(he[14]=e.withModifiers(()=>{},["stop"]))},[e.renderSlot(se.$slots,"footer")],2)):e.createCommentVNode("v-if",!0)]),_:3},8,["visible","teleported","popper-class","popper-style","fallback-placements","placement","transition","effect","persistent"]))}});const jS=Re(h9),US=oe({checked:Boolean,disabled:Boolean,type:{type:String,values:["primary","success","info","warning","danger"],default:"primary"}}),YS={"update:checked":t=>ct(t),[_e]:t=>ct(t)};var g9=e.defineComponent({name:"ElCheckTag",__name:"check-tag",props:US,emits:YS,setup(t,{emit:n}){const o=t,r=n,a=ee("check-tag"),l=e.computed(()=>[a.b(),a.is("checked",o.checked),a.is("disabled",o.disabled),a.m(o.type||"primary")]),s=()=>{if(o.disabled)return;const i=!o.checked;r(_e,i),r("update:checked",i)};return(i,c)=>(e.openBlock(),e.createElementBlock("span",{class:e.normalizeClass(l.value),onClick:s},[e.renderSlot(i.$slots,"default")],2))}});const GS=Re(g9),qS=oe({tag:{type:String,default:"div"},span:{type:Number,default:24},offset:{type:Number,default:0},pull:{type:Number,default:0},push:{type:Number,default:0},xs:{type:K([Number,Object]),default:()=>wt({})},sm:{type:K([Number,Object]),default:()=>wt({})},md:{type:K([Number,Object]),default:()=>wt({})},lg:{type:K([Number,Object]),default:()=>wt({})},xl:{type:K([Number,Object]),default:()=>wt({})}}),XS=["start","center","end","space-around","space-between","space-evenly"],ZS=["top","middle","bottom"],JS=oe({tag:{type:String,default:"div"},gutter:{type:Number,default:0},justify:{type:String,values:XS,default:"start"},align:{type:String,values:ZS}}),bp=Symbol("rowContextKey");var b9=e.defineComponent({name:"ElRow",__name:"row",props:JS,setup(t){const n=t,o=ee("row"),r=e.computed(()=>n.gutter);e.provide(bp,{gutter:r});const a=e.computed(()=>{const s={};return n.gutter&&(s.marginRight=s.marginLeft=`-${n.gutter/2}px`),s}),l=e.computed(()=>[o.b(),o.is(`justify-${n.justify}`,n.justify!=="start"),o.is(`align-${n.align}`,!!n.align)]);return(s,i)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.tag),{class:e.normalizeClass(l.value),style:e.normalizeStyle(a.value)},{default:e.withCtx(()=>[e.renderSlot(s.$slots,"default")]),_:3},8,["class","style"]))}});const QS=Re(b9);var y9=e.defineComponent({name:"ElCol",__name:"col",props:qS,setup(t){const n=t,{gutter:o}=e.inject(bp,{gutter:e.computed(()=>0)}),r=ee("col"),a=e.computed(()=>{const s={};return o.value&&(s.paddingLeft=s.paddingRight=`${o.value/2}px`),s}),l=e.computed(()=>{const s=[];return["span","offset","pull","push"].forEach(d=>{const u=n[d];pe(u)&&(d==="span"?s.push(r.b(`${n[d]}`)):u>0&&s.push(r.b(`${d}-${n[d]}`)))}),["xs","sm","md","lg","xl"].forEach(d=>{pe(n[d])?s.push(r.b(`${d}-${n[d]}`)):tt(n[d])&&Object.entries(n[d]).forEach(([u,f])=>{s.push(u!=="span"?r.b(`${d}-${u}-${f}`):r.b(`${d}-${f}`))})}),o.value&&s.push(r.is("guttered")),[r.b(),s]});return(s,i)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.tag),{class:e.normalizeClass(l.value),style:e.normalizeStyle(a.value)},{default:e.withCtx(()=>[e.renderSlot(s.$slots,"default")]),_:3},8,["class","style"]))}});const eE=Re(y9),yp=t=>pe(t)||ve(t)||ie(t),tE=oe({accordion:Boolean,modelValue:{type:K([Array,String,Number]),default:()=>wt([])},expandIconPosition:{type:K([String]),default:"right"},beforeCollapse:{type:K(Function)}}),nE={[Ne]:yp,[_e]:yp},Cp=Symbol("collapseContextKey"),C9="ElCollapse",w9=(t,n)=>{const o=e.ref(Xt(t.modelValue)),r=s=>{o.value=s;const i=t.accordion?o.value[0]:o.value;n(Ne,i),n(_e,i)},a=s=>{if(t.accordion)r([o.value[0]===s?"":s]);else{const i=[...o.value],c=i.indexOf(s);c>-1?i.splice(c,1):i.push(s),r(i)}},l=async s=>{const{beforeCollapse:i}=t;if(!i){a(s);return}const c=i(s);[Ul(c),ct(c)].includes(!0)||Ft(C9,"beforeCollapse must return type `Promise` or `boolean`"),Ul(c)?c.then(u=>{u!==!1&&a(s)}).catch(u=>{}):c&&a(s)};return e.watch(()=>t.modelValue,()=>o.value=Xt(t.modelValue),{deep:!0}),e.provide(Cp,{activeNames:o,handleItemClick:l}),{activeNames:o,setActiveNames:r}},k9=t=>{const n=ee("collapse");return{rootKls:e.computed(()=>[n.b(),n.b(`icon-position-${t.expandIconPosition}`)])}};var S9=e.defineComponent({name:"ElCollapse",__name:"collapse",props:tE,emits:nE,setup(t,{expose:n,emit:o}){const r=t,a=o,{activeNames:l,setActiveNames:s}=w9(r,a),{rootKls:i}=k9(r);return n({activeNames:l,setActiveNames:s}),(c,d)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(i))},[e.renderSlot(c.$slots,"default")],2))}});const oE=oe({title:{type:String,default:""},name:{type:K([String,Number]),default:void 0},icon:{type:dt,default:Cn},disabled:Boolean});var E9=e.defineComponent({name:"ElCollapseTransition",__name:"collapse-transition",setup(t){const n=ee("collapse-transition"),o=a=>{a.style.maxHeight="",a.style.overflow=a.dataset.oldOverflow,a.style.paddingTop=a.dataset.oldPaddingTop,a.style.paddingBottom=a.dataset.oldPaddingBottom},r={beforeEnter(a){a.dataset||(a.dataset={}),a.dataset.oldPaddingTop=a.style.paddingTop,a.dataset.oldPaddingBottom=a.style.paddingBottom,a.style.height&&(a.dataset.elExistsHeight=a.style.height),a.style.maxHeight=0,a.style.paddingTop=0,a.style.paddingBottom=0},enter(a){requestAnimationFrame(()=>{a.dataset.oldOverflow=a.style.overflow,a.dataset.elExistsHeight?a.style.maxHeight=a.dataset.elExistsHeight:a.scrollHeight!==0?a.style.maxHeight=`${a.scrollHeight}px`:a.style.maxHeight=0,a.style.paddingTop=a.dataset.oldPaddingTop,a.style.paddingBottom=a.dataset.oldPaddingBottom,a.style.overflow="hidden"})},afterEnter(a){a.style.maxHeight="",a.style.overflow=a.dataset.oldOverflow},enterCancelled(a){o(a)},beforeLeave(a){a.dataset||(a.dataset={}),a.dataset.oldPaddingTop=a.style.paddingTop,a.dataset.oldPaddingBottom=a.style.paddingBottom,a.dataset.oldOverflow=a.style.overflow,a.style.maxHeight=`${a.scrollHeight}px`,a.style.overflow="hidden"},leave(a){a.scrollHeight!==0&&(a.style.maxHeight=0,a.style.paddingTop=0,a.style.paddingBottom=0)},afterLeave(a){o(a)},leaveCancelled(a){o(a)}};return(a,l)=>(e.openBlock(),e.createBlock(e.Transition,e.mergeProps({name:e.unref(n).b()},e.toHandlers(r)),{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3},16,["name"]))}});const Ks=Re(E9),v9=t=>{const n=e.inject(Cp),{namespace:o}=ee("collapse"),r=e.ref(!1),a=e.ref(!1),l=uc(),s=e.computed(()=>l.current++),i=e.computed(()=>{var p;return(p=t.name)!=null?p:`${o.value}-id-${l.prefix}-${e.unref(s)}`}),c=e.computed(()=>n==null?void 0:n.activeNames.value.includes(e.unref(i)));return{focusing:r,id:s,isActive:c,handleFocus:()=>{setTimeout(()=>{a.value?a.value=!1:r.value=!0},50)},handleHeaderClick:p=>{if(t.disabled)return;const g=p.target;g!=null&&g.closest("input, textarea, select")||(n==null||n.handleItemClick(e.unref(i)),r.value=!1,a.value=!0)},handleEnterClick:p=>{const g=p.target;g!=null&&g.closest("input, textarea, select")||(p.preventDefault(),n==null||n.handleItemClick(e.unref(i)))}}},N9=(t,{focusing:n,isActive:o,id:r})=>{const a=ee("collapse"),l=e.computed(()=>[a.b("item"),a.is("active",e.unref(o)),a.is("disabled",t.disabled)]),s=e.computed(()=>[a.be("item","header"),a.is("active",e.unref(o)),{focusing:e.unref(n)&&!t.disabled}]),i=e.computed(()=>[a.be("item","arrow"),a.is("active",e.unref(o))]),c=e.computed(()=>[a.be("item","title")]),d=e.computed(()=>a.be("item","wrap")),u=e.computed(()=>a.be("item","content")),f=e.computed(()=>a.b(`content-${e.unref(r)}`)),p=e.computed(()=>a.b(`head-${e.unref(r)}`));return{itemTitleKls:c,arrowKls:i,headKls:s,rootKls:l,itemWrapperKls:d,itemContentKls:u,scopedContentId:f,scopedHeadId:p}},B9=["id","aria-expanded","aria-controls","aria-describedby","tabindex","aria-disabled"],T9=["id","aria-hidden","aria-labelledby"];var rE=e.defineComponent({name:"ElCollapseItem",__name:"collapse-item",props:oE,setup(t,{expose:n}){const o=t,{focusing:r,id:a,isActive:l,handleFocus:s,handleHeaderClick:i,handleEnterClick:c}=v9(o),{arrowKls:d,headKls:u,rootKls:f,itemTitleKls:p,itemWrapperKls:g,itemContentKls:m,scopedContentId:h,scopedHeadId:b}=N9(o,{focusing:r,isActive:l,id:a});return n({isActive:l}),(y,k)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(f))},[e.createElementVNode("div",{id:e.unref(b),class:e.normalizeClass(e.unref(u)),"aria-expanded":e.unref(l),"aria-controls":e.unref(h),"aria-describedby":e.unref(h),tabindex:t.disabled?void 0:0,"aria-disabled":t.disabled,role:"button",onClick:k[0]||(k[0]=(...C)=>e.unref(i)&&e.unref(i)(...C)),onKeydown:k[1]||(k[1]=e.withKeys(e.withModifiers((...C)=>e.unref(c)&&e.unref(c)(...C),["stop"]),["space","enter"])),onFocus:k[2]||(k[2]=(...C)=>e.unref(s)&&e.unref(s)(...C)),onBlur:k[3]||(k[3]=C=>r.value=!1)},[e.createElementVNode("span",{class:e.normalizeClass(e.unref(p))},[e.renderSlot(y.$slots,"title",{isActive:e.unref(l)},()=>[e.createTextVNode(e.toDisplayString(t.title),1)])],2),e.renderSlot(y.$slots,"icon",{isActive:e.unref(l)},()=>[e.createVNode(e.unref(ce),{class:e.normalizeClass(e.unref(d))},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.icon)))]),_:1},8,["class"])])],42,B9),e.createVNode(e.unref(Ks),null,{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",{id:e.unref(h),role:"region",class:e.normalizeClass(e.unref(g)),"aria-hidden":!e.unref(l),"aria-labelledby":e.unref(b)},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(m))},[e.renderSlot(y.$slots,"default")],2)],10,T9),[[e.vShow,e.unref(l)]])]),_:3})],2))}});const aE=Re(S9,{CollapseItem:rE}),lE=Bt(rE),wp=oe({modelValue:{type:K(String),default:void 0},border:{type:Boolean,default:!0},showAlpha:Boolean,colorFormat:String,disabled:Boolean,predefine:{type:K(Array)},validateEvent:{type:Boolean,default:!0}}),sE={[Ne]:t=>ve(t)||Rt(t)},kp=Symbol("colorCommonPickerKey"),Sp=Symbol("colorPickerPanelContextKey"),iE=oe({color:{type:K(Object),required:!0},vertical:Boolean,disabled:Boolean}),x9=iE;let Ep=!1;function vp(t,n){if(!Je)return;const o=function(l){var s;(s=n.drag)==null||s.call(n,l)},r=function(l){var s;document.removeEventListener("mousemove",o),document.removeEventListener("mouseup",r),document.removeEventListener("touchmove",o),document.removeEventListener("touchend",r),document.onselectstart=null,document.ondragstart=null,Ep=!1,(s=n.end)==null||s.call(n,l)},a=function(l){var s;Ep||(document.onselectstart=()=>!1,document.ondragstart=()=>!1,document.addEventListener("mousemove",o),document.addEventListener("mouseup",r),document.addEventListener("touchmove",o),document.addEventListener("touchend",r),Ep=!0,(s=n.start)==null||s.call(n,l))};t.addEventListener("mousedown",a),t.addEventListener("touchstart",a,{passive:!1})}const cE=(t,{key:n,minValue:o,maxValue:r})=>{const a=e.getCurrentInstance(),l=e.shallowRef(),s=e.shallowRef(),i=e.computed(()=>t.color.get(n));function c(p){var g;if(t.disabled)return;p.target!==l.value&&d(p),(g=l.value)==null||g.focus()}function d(p){if(!s.value||!l.value||t.disabled)return;const m=a.vnode.el.getBoundingClientRect(),{clientX:h,clientY:b}=Wg(p);let y;if(t.vertical){let k=b-m.top;k=Math.max(l.value.offsetHeight/2,k),k=Math.min(k,m.height-l.value.offsetHeight/2),y=Math.round((k-l.value.offsetHeight/2)/(m.height-l.value.offsetHeight)*r)}else{let k=h-m.left;k=Math.max(l.value.offsetWidth/2,k),k=Math.min(k,m.width-l.value.offsetWidth/2),y=Math.round((k-l.value.offsetWidth/2)/(m.width-l.value.offsetWidth)*r)}t.color.set(n,y)}function u(p){if(t.disabled)return;const{shiftKey:g}=p,m=ut(p),h=g?10:1,b=n==="hue"?-1:1;let y=!0;switch(m){case te.left:case te.down:f(-h*b);break;case te.right:case te.up:f(h*b);break;case te.home:t.color.set(n,n==="hue"?r:o);break;case te.end:t.color.set(n,n==="hue"?o:r);break;case te.pageDown:f(-4*b);break;case te.pageUp:f(4*b);break;default:y=!1;break}y&&p.preventDefault()}function f(p){let g=i.value+p;g=gr?r:g,t.color.set(n,g)}return{thumb:l,bar:s,currentValue:i,handleDrag:d,handleClick:c,handleKeydown:u}},dE=(t,{namespace:n,maxValue:o,bar:r,thumb:a,currentValue:l,handleDrag:s,getBackground:i})=>{const c=e.getCurrentInstance(),d=ee(n),u=e.ref(0),f=e.ref(0),p=e.ref();function g(){if(!a.value||t.vertical)return 0;const S=c.vnode.el,E=l.value;return S?Math.round(E*(S.offsetWidth-a.value.offsetWidth/2)/o):0}function m(){if(!a.value)return 0;const S=c.vnode.el;if(!t.vertical)return 0;const E=l.value;return S?Math.round(E*(S.offsetHeight-a.value.offsetHeight/2)/o):0}function h(){u.value=g(),f.value=m(),p.value=i==null?void 0:i()}e.onMounted(()=>{if(!r.value||!a.value)return;const S={drag:E=>{s(E)},end:E=>{s(E)}};vp(r.value,S),vp(a.value,S),h()}),e.watch(l,()=>h()),e.watch(()=>t.color.value,()=>h());const b=e.computed(()=>[d.b(),d.is("vertical",t.vertical),d.is("disabled",t.disabled)]),y=e.computed(()=>d.e("bar")),k=e.computed(()=>d.e("thumb")),C=e.computed(()=>({background:p.value})),w=e.computed(()=>({left:$t(u.value),top:$t(f.value)}));return{rootKls:b,barKls:y,barStyle:C,thumbKls:k,thumbStyle:w,thumbLeft:u,thumbTop:f,update:h}},$9=["aria-label","aria-valuenow","aria-valuetext","aria-orientation","tabindex","aria-disabled"],uE=0,Np=100;var V9=e.defineComponent({name:"ElColorAlphaSlider",__name:"alpha-slider",props:iE,setup(t,{expose:n}){const o=t,{currentValue:r,bar:a,thumb:l,handleDrag:s,handleClick:i,handleKeydown:c}=cE(o,{key:"alpha",minValue:uE,maxValue:Np}),{rootKls:d,barKls:u,barStyle:f,thumbKls:p,thumbStyle:g,update:m}=dE(o,{namespace:"color-alpha-slider",maxValue:Np,currentValue:r,bar:a,thumb:l,handleDrag:s,getBackground:k}),{t:h}=je(),b=e.computed(()=>h("el.colorpicker.alphaLabel")),y=e.computed(()=>h("el.colorpicker.alphaDescription",{alpha:r.value,color:o.color.value}));function k(){if(o.color&&o.color.value){const{r:C,g:w,b:S}=o.color.toRgb();return`linear-gradient(to right, rgba(${C}, ${w}, ${S}, 0) 0%, rgba(${C}, ${w}, ${S}, 1) 100%)`}return""}return n({update:m,bar:a,thumb:l}),(C,w)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(d))},[e.createElementVNode("div",{ref_key:"bar",ref:a,class:e.normalizeClass(e.unref(u)),style:e.normalizeStyle(e.unref(f)),onClick:w[0]||(w[0]=(...S)=>e.unref(i)&&e.unref(i)(...S))},null,6),e.createElementVNode("div",{ref_key:"thumb",ref:l,class:e.normalizeClass(e.unref(p)),style:e.normalizeStyle(e.unref(g)),"aria-label":b.value,"aria-valuenow":e.unref(r),"aria-valuetext":y.value,"aria-orientation":t.vertical?"vertical":"horizontal","aria-valuemin":uE,"aria-valuemax":Np,role:"slider",tabindex:t.disabled?void 0:0,"aria-disabled":t.disabled,onKeydown:w[1]||(w[1]=(...S)=>e.unref(c)&&e.unref(c)(...S))},null,46,$9)],2))}});const P9=["aria-label","aria-valuenow","aria-valuetext","aria-orientation","tabindex","aria-disabled"],fE=0,Bp=360;var R9=e.defineComponent({name:"ElColorHueSlider",__name:"hue-slider",props:x9,setup(t,{expose:n}){const o=t,{currentValue:r,bar:a,thumb:l,handleDrag:s,handleClick:i,handleKeydown:c}=cE(o,{key:"hue",minValue:fE,maxValue:Bp}),{rootKls:d,barKls:u,thumbKls:f,thumbStyle:p,thumbTop:g,update:m}=dE(o,{namespace:"color-hue-slider",maxValue:Bp,currentValue:r,bar:a,thumb:l,handleDrag:s}),{t:h}=je(),b=e.computed(()=>h("el.colorpicker.hueLabel")),y=e.computed(()=>h("el.colorpicker.hueDescription",{hue:r.value,color:o.color.value}));return n({bar:a,thumb:l,thumbTop:g,update:m}),(k,C)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(d))},[e.createElementVNode("div",{ref_key:"bar",ref:a,class:e.normalizeClass(e.unref(u)),onClick:C[0]||(C[0]=(...w)=>e.unref(i)&&e.unref(i)(...w))},null,2),e.createElementVNode("div",{ref_key:"thumb",ref:l,class:e.normalizeClass(e.unref(f)),style:e.normalizeStyle(e.unref(p)),"aria-label":b.value,"aria-valuenow":e.unref(r),"aria-valuetext":y.value,"aria-orientation":t.vertical?"vertical":"horizontal","aria-valuemin":fE,"aria-valuemax":Bp,role:"slider",tabindex:t.disabled?void 0:0,"aria-disabled":t.disabled,onKeydown:C[1]||(C[1]=(...w)=>e.unref(c)&&e.unref(c)(...w))},null,46,P9)],2))}});const M9=oe({colors:{type:K(Array),required:!0},color:{type:K(Object),required:!0},enableAlpha:{type:Boolean,required:!0},disabled:Boolean});var I9=Object.defineProperty,O9=(t,n,o)=>n in t?I9(t,n,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[n]=o,nr=(t,n,o)=>O9(t,typeof n!="symbol"?n+"":n,o);class Qc{constructor(n={}){nr(this,"_hue",0),nr(this,"_saturation",100),nr(this,"_value",100),nr(this,"_alpha",100),nr(this,"_tiny",new Cl),nr(this,"_isValid",!1),nr(this,"enableAlpha",!1),nr(this,"format",""),nr(this,"value",""),nr(this,"selected");for(const o in n)Qt(n,o)&&(this[o]=n[o]);n.value?this.fromString(n.value):this.doOnChange()}set(n,o){if(arguments.length===1&&typeof n=="object"){for(const r in n)Qt(n,r)&&this.set(r,n[r]);return}this[`_${n}`]=o,this._isValid=!0,this.doOnChange()}get(n){return["hue","saturation","value","alpha"].includes(n)?Math.round(this[`_${n}`]):this[`_${n}`]}toRgb(){return this._isValid?this._tiny.toRgb():{r:255,g:255,b:255,a:0}}fromString(n){const o=new Cl(n);if(this._isValid=o.isValid,o.isValid){const{h:r,s:a,v:l,a:s}=o.toHsv();this._hue=r,this._saturation=a*100,this._value=l*100,this._alpha=s*100}else this._hue=0,this._saturation=100,this._value=100,this._alpha=100;this.doOnChange()}clear(){this._isValid=!1,this.value="",this._hue=0,this._saturation=100,this._value=100,this._alpha=100}compare(n){const o=new Cl({h:n._hue,s:n._saturation/100,v:n._value/100,a:n._alpha/100});return this._tiny.equals(o)}doOnChange(){const{_hue:n,_saturation:o,_value:r,_alpha:a,format:l,enableAlpha:s}=this;let i=l||(s?"rgb":"hex");l==="hex"&&s&&(i="hex8"),this._tiny=new Cl({h:n,s:o/100,v:r/100,a:a/100}),this.value=this._isValid?this._tiny.toString(i):""}}const A9=t=>{const{currentColor:n}=e.inject(Sp),o=e.ref(a(t.colors,t.color));e.watch(()=>n.value,l=>{const s=new Qc({value:l,enableAlpha:t.enableAlpha});o.value.forEach(i=>{i.selected=s.compare(i)})}),e.watchEffect(()=>{o.value=a(t.colors,t.color)});function r(l){t.color.fromString(t.colors[l])}function a(l,s){return l.map(i=>{const c=new Qc({value:i,enableAlpha:t.enableAlpha});return c.selected=c.compare(s),c})}return{rgbaColors:o,handleSelect:r}},z9=t=>{const n=ee("color-predefine"),o=e.computed(()=>[n.b(),n.is("disabled",t.disabled)]),r=e.computed(()=>n.e("colors"));function a(l){return[n.e("color-selector"),n.is("alpha",l.get("alpha")<100),{selected:l.selected}]}return{rootKls:o,colorsKls:r,colorSelectorKls:a}},D9=["disabled","aria-label","onClick"];var L9=e.defineComponent({name:"ElColorPredefine",__name:"predefine",props:M9,setup(t){const n=t,{rgbaColors:o,handleSelect:r}=A9(n),{rootKls:a,colorsKls:l,colorSelectorKls:s}=z9(n),{t:i}=je(),c=d=>i("el.colorpicker.predefineDescription",{value:d});return(d,u)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(a))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(l))},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(o),(f,p)=>(e.openBlock(),e.createElementBlock("button",{key:t.colors[p],type:"button",disabled:t.disabled,"aria-label":c(f.value),class:e.normalizeClass(e.unref(s)(f)),onClick:g=>e.unref(r)(p)},[e.createElementVNode("div",{style:e.normalizeStyle({backgroundColor:f.value})},null,4)],10,D9))),128))],2)],2))}});const _9=oe({color:{type:K(Object),required:!0},disabled:Boolean}),F9=t=>{const n=e.getCurrentInstance(),o=e.ref(),r=e.ref(0),a=e.ref(0),l=e.ref("hsl(0, 100%, 50%)"),s=e.computed(()=>t.color.get("saturation")),i=e.computed(()=>t.color.get("value")),c=e.computed(()=>t.color.get("hue"));function d(m){var h;if(t.disabled)return;m.target!==o.value&&u(m),(h=o.value)==null||h.focus({preventScroll:!0})}function u(m){if(t.disabled)return;const b=n.vnode.el.getBoundingClientRect(),{clientX:y,clientY:k}=Wg(m);let C=y-b.left,w=k-b.top;C=Math.max(0,C),C=Math.min(C,b.width),w=Math.max(0,w),w=Math.min(w,b.height),a.value=C,r.value=w,t.color.set({saturation:C/b.width*100,value:100-w/b.height*100})}function f(m){if(t.disabled)return;const{shiftKey:h}=m,b=ut(m),y=h?10:1;let k=!0;switch(b){case te.left:p(-y);break;case te.right:p(y);break;case te.up:g(y);break;case te.down:g(-y);break;default:k=!1;break}k&&m.preventDefault()}function p(m){let h=s.value+m;h=h<0?0:h>100?100:h,t.color.set("saturation",h)}function g(m){let h=i.value+m;h=h<0?0:h>100?100:h,t.color.set("value",h)}return{cursorRef:o,cursorTop:r,cursorLeft:a,background:l,saturation:s,brightness:i,hue:c,handleClick:d,handleDrag:u,handleKeydown:f}},H9=(t,{cursorTop:n,cursorLeft:o,background:r,handleDrag:a})=>{const l=e.getCurrentInstance(),s=ee("color-svpanel");function i(){const p=t.color.get("saturation"),g=t.color.get("value"),m=l.vnode.el,{clientWidth:h,clientHeight:b}=m;o.value=p*h/100,n.value=(100-g)*b/100,r.value=`hsl(${t.color.get("hue")}, 100%, 50%)`}e.onMounted(()=>{vp(l.vnode.el,{drag:p=>{a(p)},end:p=>{a(p)}}),i()}),e.watch([()=>t.color.get("hue"),()=>t.color.get("value"),()=>t.color.value],()=>i());const c=e.computed(()=>s.b()),d=e.computed(()=>s.e("cursor")),u=e.computed(()=>({backgroundColor:r.value})),f=e.computed(()=>({top:$t(n.value),left:$t(o.value)}));return{rootKls:c,cursorKls:d,rootStyle:u,cursorStyle:f,update:i}},K9=["tabindex","aria-disabled","aria-label","aria-valuenow","aria-valuetext"];var W9=e.defineComponent({name:"ElSvPanel",__name:"sv-panel",props:_9,setup(t,{expose:n}){const o=t,{cursorRef:r,cursorTop:a,cursorLeft:l,background:s,saturation:i,brightness:c,handleClick:d,handleDrag:u,handleKeydown:f}=F9(o),{rootKls:p,cursorKls:g,rootStyle:m,cursorStyle:h,update:b}=H9(o,{cursorTop:a,cursorLeft:l,background:s,handleDrag:u}),{t:y}=je(),k=e.computed(()=>y("el.colorpicker.svLabel")),C=e.computed(()=>y("el.colorpicker.svDescription",{saturation:i.value,brightness:c.value,color:o.color.value}));return n({update:b}),(w,S)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(p)),style:e.normalizeStyle(e.unref(m)),onClick:S[1]||(S[1]=(...E)=>e.unref(d)&&e.unref(d)(...E))},[e.createElementVNode("div",{ref_key:"cursorRef",ref:r,class:e.normalizeClass(e.unref(g)),style:e.normalizeStyle(e.unref(h)),tabindex:t.disabled?void 0:0,"aria-disabled":t.disabled,role:"slider","aria-valuemin":"0,0","aria-valuemax":"100,100","aria-label":k.value,"aria-valuenow":`${e.unref(i)},${e.unref(c)}`,"aria-valuetext":C.value,onKeydown:S[0]||(S[0]=(...E)=>e.unref(f)&&e.unref(f)(...E))},null,46,K9)],6))}});const mE=(t,n)=>{const o=e.reactive(new Qc({enableAlpha:t.showAlpha,format:t.colorFormat||"",value:t.modelValue}));return e.watch(()=>[t.colorFormat,t.showAlpha],()=>{o.enableAlpha=t.showAlpha,o.format=t.colorFormat||o.format,o.doOnChange(),n(Ne,o.value)}),{color:o}};var j9=e.defineComponent({name:"ElColorPickerPanel",__name:"color-picker-panel",props:wp,emits:sE,setup(t,{expose:n,emit:o}){const r=t,a=o,l=ee("color-picker-panel"),{formItem:s}=Zt(),i=kt(),c=e.ref(),d=e.ref(),u=e.ref(),f=e.ref(),p=e.ref(""),{color:g}=e.inject(kp,()=>mE(r,a),!0);function m(){g.fromString(p.value),g.value!==p.value&&(p.value=g.value)}function h(){var y;r.validateEvent&&((y=s==null?void 0:s.validate)==null||y.call(s,"blur").catch(k=>void 0))}function b(){var y,k,C;(y=c.value)==null||y.update(),(k=d.value)==null||k.update(),(C=u.value)==null||C.update()}return e.onMounted(()=>{r.modelValue&&(p.value=g.value),e.nextTick(b)}),e.watch(()=>r.modelValue,y=>{y!==g.value&&(y?g.fromString(y):g.clear())}),e.watch(()=>g.value,y=>{a(Ne,y),p.value=y,r.validateEvent&&(s==null||s.validate("change").catch(k=>void 0))}),e.provide(Sp,{currentColor:e.computed(()=>g.value)}),n({color:g,inputRef:f,update:b}),(y,k)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass([e.unref(l).b(),e.unref(l).is("disabled",e.unref(i)),e.unref(l).is("border",t.border)]),onFocusout:h},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(l).e("wrapper"))},[e.createVNode(R9,{ref_key:"hueRef",ref:c,class:"hue-slider",color:e.unref(g),vertical:"",disabled:e.unref(i)},null,8,["color","disabled"]),e.createVNode(W9,{ref_key:"svRef",ref:d,color:e.unref(g),disabled:e.unref(i)},null,8,["color","disabled"])],2),t.showAlpha?(e.openBlock(),e.createBlock(V9,{key:0,ref_key:"alphaRef",ref:u,color:e.unref(g),disabled:e.unref(i)},null,8,["color","disabled"])):e.createCommentVNode("v-if",!0),t.predefine?(e.openBlock(),e.createBlock(L9,{key:1,ref:"predefine","enable-alpha":t.showAlpha,color:e.unref(g),colors:t.predefine,disabled:e.unref(i)},null,8,["enable-alpha","color","colors","disabled"])):e.createCommentVNode("v-if",!0),e.createElementVNode("div",{class:e.normalizeClass(e.unref(l).e("footer"))},[e.createVNode(e.unref(un),{ref_key:"inputRef",ref:f,modelValue:p.value,"onUpdate:modelValue":k[0]||(k[0]=C=>p.value=C),"validate-event":!1,size:"small",disabled:e.unref(i),onChange:m},null,8,["modelValue","disabled"]),e.renderSlot(y.$slots,"footer")],2)],34))}});const Tp=Re(j9),pE=oe({persistent:{type:Boolean,default:!0},modelValue:{type:K(String),default:void 0},id:String,showAlpha:Boolean,colorFormat:String,disabled:{type:Boolean,default:void 0},clearable:{type:Boolean,default:!0},size:Ht,popperClass:lt.popperClass,popperStyle:lt.popperStyle,tabindex:{type:[String,Number],default:0},teleported:lt.teleported,appendTo:lt.appendTo,predefine:{type:K(Array)},validateEvent:{type:Boolean,default:!0},...Wr,...cn(["ariaLabel"])}),hE={[Ne]:t=>ve(t)||Rt(t),[_e]:t=>ve(t)||Rt(t),activeChange:t=>ve(t)||Rt(t),focus:t=>t instanceof FocusEvent,blur:t=>t instanceof FocusEvent,clear:()=>!0},U9={persistent:!0,modelValue:void 0,disabled:void 0,clearable:!0,popperStyle:void 0,tabindex:0,teleported:!0,validateEvent:!0,valueOnClear:void 0},Y9=["id","aria-label","aria-labelledby","aria-description","aria-disabled","tabindex"];var G9=e.defineComponent({name:"ElColorPicker",__name:"color-picker",props:pE,emits:hE,setup(t,{expose:n,emit:o}){const r=t,a=o,{t:l}=je(),s=ee("color"),{formItem:i}=Zt(),c=zt(),d=kt(),{valueOnClear:u,isEmptyValue:f}=ml(r,null),p=mE(r,a),{inputId:g,isLabeledByFormItem:m}=Dn(r,{formItemContext:i}),h=e.ref(),b=e.ref(),y=e.ref(),k=e.ref(!1),C=e.ref(!1);let w=!0;const{isFocused:S,handleFocus:E,handleBlur:v}=Qo(b,{disabled:d,beforeBlur(Y){var _;return(_=h.value)==null?void 0:_.isFocusInsideContent(Y)},afterBlur(){var Y;H(!1),I(),r.validateEvent&&((Y=i==null?void 0:i.validate)==null||Y.call(i,"blur").catch(_=>void 0))}}),N=zT(()=>{var Y,_;return(_=(Y=y.value)==null?void 0:Y.color)!=null?_:p.color}),P=e.computed(()=>_o(r,Object.keys(wp))),T=e.computed(()=>!r.modelValue&&!C.value?"transparent":L(N,r.showAlpha)),V=e.computed(()=>!r.modelValue&&!C.value?"":N.value),x=e.computed(()=>m.value?void 0:r.ariaLabel||l("el.colorpicker.defaultLabel")),O=e.computed(()=>m.value?i==null?void 0:i.labelId:void 0),D=e.computed(()=>[s.b("picker"),s.is("disabled",d.value),s.bm("picker",c.value),s.is("focused",S.value)]);function L(Y,_){const{r:q,g:le,b:ue,a:Ce}=Y.toRgb();return _?`rgba(${q}, ${le}, ${ue}, ${Ce})`:`rgb(${q}, ${le}, ${ue})`}function H(Y){k.value=Y}const $=Eo(H,100,{leading:!0});function B(){d.value||H(!0)}function M(){$(!1),I()}function I(){e.nextTick(()=>{r.modelValue?N.fromString(r.modelValue):(N.value="",e.nextTick(()=>{C.value=!1}))})}function z(){d.value||(k.value&&I(),$(!k.value))}function F(){const Y=f(N.value)?u.value:N.value;a(Ne,Y),a(_e,Y),r.validateEvent&&(i==null||i.validate("change").catch(_=>void 0)),$(!1),e.nextTick(()=>{const _=new Qc({enableAlpha:r.showAlpha,format:r.colorFormat||"",value:r.modelValue});N.compare(_)||I()})}function A(){$(!1),a(Ne,u.value),a(_e,u.value),r.modelValue!==u.value&&r.validateEvent&&(i==null||i.validate("change").catch(Y=>void 0)),I(),a("clear")}function W(){var Y,_;(_=(Y=y==null?void 0:y.value)==null?void 0:Y.inputRef)==null||_.focus()}function j(){k.value&&(M(),S.value&&Q())}function G(Y){Y.preventDefault(),Y.stopPropagation(),H(!1),I()}function X(Y){switch(ut(Y)){case te.enter:case te.numpadEnter:case te.space:Y.preventDefault(),Y.stopPropagation(),B();break;case te.esc:G(Y);break}}function Q(){b.value.focus()}function J(){b.value.blur()}return e.watch(()=>V.value,Y=>{w&&a("activeChange",Y),w=!0}),e.watch(()=>N.value,()=>{!r.modelValue&&!C.value&&(C.value=!0)}),e.watch(()=>r.modelValue,Y=>{Y?Y&&Y!==N.value&&(w=!1,N.fromString(Y)):C.value=!1}),e.watch(()=>k.value,()=>{y.value&&e.nextTick(y.value.update)}),e.provide(kp,p),n({color:N,show:B,hide:M,focus:Q,blur:J}),(Y,_)=>(e.openBlock(),e.createBlock(e.unref(Jt),{ref_key:"popper",ref:h,visible:k.value,"show-arrow":!1,"fallback-placements":["bottom","top","right","left"],offset:0,"gpu-acceleration":!1,"popper-class":[e.unref(s).be("picker","panel"),t.popperClass],"popper-style":t.popperStyle,"stop-popper-mouse-event":!1,pure:"",loop:"",role:"dialog",effect:"light",trigger:"click",teleported:t.teleported,transition:`${e.unref(s).namespace.value}-zoom-in-top`,persistent:t.persistent,"append-to":t.appendTo,onShow:W,onHide:_[2]||(_[2]=q=>H(!1))},{content:e.withCtx(()=>[e.withDirectives((e.openBlock(),e.createBlock(e.unref(Tp),e.mergeProps({ref_key:"pickerPanelRef",ref:y},P.value,{border:!1,"validate-event":!1,onKeydown:e.withKeys(G,["esc"])}),{footer:e.withCtx(()=>[e.createElementVNode("div",null,[t.clearable?(e.openBlock(),e.createBlock(e.unref(Gt),{key:0,class:e.normalizeClass(e.unref(s).be("footer","link-btn")),text:"",size:"small",onClick:A},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(l)("el.colorpicker.clear")),1)]),_:1},8,["class"])):e.createCommentVNode("v-if",!0),e.createVNode(e.unref(Gt),{plain:"",size:"small",class:e.normalizeClass(e.unref(s).be("footer","btn")),onClick:F},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(l)("el.colorpicker.confirm")),1)]),_:1},8,["class"])])]),_:1},16)),[[e.unref(Sr),j,b.value]])]),default:e.withCtx(()=>[e.createElementVNode("div",e.mergeProps({id:e.unref(g),ref_key:"triggerRef",ref:b},Y.$attrs,{class:D.value,role:"button","aria-label":x.value,"aria-labelledby":O.value,"aria-description":e.unref(l)("el.colorpicker.description",{color:t.modelValue||""}),"aria-disabled":e.unref(d),tabindex:e.unref(d)?void 0:t.tabindex,onKeydown:X,onFocus:_[0]||(_[0]=(...q)=>e.unref(E)&&e.unref(E)(...q)),onBlur:_[1]||(_[1]=(...q)=>e.unref(v)&&e.unref(v)(...q))}),[e.createElementVNode("div",{class:e.normalizeClass(e.unref(s).be("picker","trigger")),onClick:z},[e.createElementVNode("span",{class:e.normalizeClass([e.unref(s).be("picker","color"),e.unref(s).is("alpha",t.showAlpha)])},[e.createElementVNode("span",{class:e.normalizeClass(e.unref(s).be("picker","color-inner")),style:e.normalizeStyle({backgroundColor:T.value})},[e.withDirectives(e.createVNode(e.unref(ce),{class:e.normalizeClass([e.unref(s).be("picker","icon"),e.unref(s).is("icon-arrow-down")])},{default:e.withCtx(()=>[e.createVNode(e.unref(Wo))]),_:1},8,["class"]),[[e.vShow,t.modelValue||C.value]]),e.withDirectives(e.createVNode(e.unref(ce),{class:e.normalizeClass([e.unref(s).be("picker","empty"),e.unref(s).is("icon-close")])},{default:e.withCtx(()=>[e.createVNode(e.unref(so))]),_:1},8,["class"]),[[e.vShow,!t.modelValue&&!C.value]])],6)],2)],2)],16,Y9)]),_:1},8,["visible","popper-class","popper-style","teleported","transition","persistent","append-to"]))}});const gE=Re(G9);var q9=e.defineComponent({name:"ElContainer",__name:"container",props:{direction:{type:String,required:!1}},setup(t){const n=t,o=e.useSlots(),r=ee("container"),a=e.computed(()=>n.direction==="vertical"?!0:n.direction==="horizontal"?!1:o&&o.default?o.default().some(s=>{const i=s.type.name;return i==="ElHeader"||i==="ElFooter"}):!1);return(l,s)=>(e.openBlock(),e.createElementBlock("section",{class:e.normalizeClass([e.unref(r).b(),e.unref(r).is("vertical",a.value)])},[e.renderSlot(l.$slots,"default")],2))}}),bE=e.defineComponent({name:"ElAside",__name:"aside",props:{width:{type:[String,null],required:!1,default:null}},setup(t){const n=t,o=ee("aside"),r=e.computed(()=>n.width?o.cssVarBlock({width:n.width}):{});return(a,l)=>(e.openBlock(),e.createElementBlock("aside",{class:e.normalizeClass(e.unref(o).b()),style:e.normalizeStyle(r.value)},[e.renderSlot(a.$slots,"default")],6))}}),yE=e.defineComponent({name:"ElFooter",__name:"footer",props:{height:{type:[String,null],required:!1,default:null}},setup(t){const n=t,o=ee("footer"),r=e.computed(()=>n.height?o.cssVarBlock({height:n.height}):{});return(a,l)=>(e.openBlock(),e.createElementBlock("footer",{class:e.normalizeClass(e.unref(o).b()),style:e.normalizeStyle(r.value)},[e.renderSlot(a.$slots,"default")],6))}}),CE=e.defineComponent({name:"ElHeader",__name:"header",props:{height:{type:[String,null],required:!1,default:null}},setup(t){const n=t,o=ee("header"),r=e.computed(()=>n.height?o.cssVarBlock({height:n.height}):{});return(a,l)=>(e.openBlock(),e.createElementBlock("header",{class:e.normalizeClass(e.unref(o).b()),style:e.normalizeStyle(r.value)},[e.renderSlot(a.$slots,"default")],6))}}),wE=e.defineComponent({name:"ElMain",__name:"main",setup(t){const n=ee("main");return(o,r)=>(e.openBlock(),e.createElementBlock("main",{class:e.normalizeClass(e.unref(n).b())},[e.renderSlot(o.$slots,"default")],2))}});const kE=Re(q9,{Aside:bE,Footer:yE,Header:CE,Main:wE}),SE=Bt(bE),EE=Bt(yE),vE=Bt(CE),NE=Bt(wE);var BE={exports:{}};(function(t,n){(function(o,r){t.exports=r()})(Cr,(function(){return function(o,r){var a=r.prototype,l=a.format;a.format=function(s){var i=this,c=this.$locale();if(!this.isValid())return l.bind(this)(s);var d=this.$utils(),u=(s||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,(function(f){switch(f){case"Q":return Math.ceil((i.$M+1)/3);case"Do":return c.ordinal(i.$D);case"gggg":return i.weekYear();case"GGGG":return i.isoWeekYear();case"wo":return c.ordinal(i.week(),"W");case"w":case"ww":return d.s(i.week(),f==="w"?1:2,"0");case"W":case"WW":return d.s(i.isoWeek(),f==="W"?1:2,"0");case"k":case"kk":return d.s(String(i.$H===0?24:i.$H),f==="k"?1:2,"0");case"X":return Math.floor(i.$d.getTime()/1e3);case"x":return i.$d.getTime();case"z":return"["+i.offsetName()+"]";case"zzz":return"["+i.offsetName("long")+"]";default:return f}}));return l.bind(this)(u)}}}))})(BE);var X9=BE.exports,TE={exports:{}};(function(t,n){(function(o,r){t.exports=r()})(Cr,(function(){var o="week",r="year";return function(a,l,s){var i=l.prototype;i.week=function(c){if(c===void 0&&(c=null),c!==null)return this.add(7*(c-this.week()),"day");var d=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var u=s(this).startOf(r).add(1,r).date(d),f=s(this).endOf(o);if(u.isBefore(f))return 1}var p=s(this).startOf(r).date(d).startOf(o).subtract(1,"millisecond"),g=this.diff(p,o,!0);return g<0?s(this).startOf("week").week():Math.ceil(g)},i.weeks=function(c){return c===void 0&&(c=null),this.week(c)}}}))})(TE);var Z9=TE.exports,xE={exports:{}};(function(t,n){(function(o,r){t.exports=r()})(Cr,(function(){return function(o,r){r.prototype.weekYear=function(){var a=this.month(),l=this.week(),s=this.year();return l===1&&a===11?s+1:a===0&&l>=52?s-1:s}}}))})(xE);var J9=xE.exports,$E={exports:{}};(function(t,n){(function(o,r){t.exports=r()})(Cr,(function(){return function(o,r,a){r.prototype.dayOfYear=function(l){var s=Math.round((a(this).startOf("day")-a(this).startOf("year"))/864e5)+1;return l==null?s:this.add(l-s,"day")}}}))})($E);var Q9=$E.exports,VE={exports:{}};(function(t,n){(function(o,r){t.exports=r()})(Cr,(function(){return function(o,r){r.prototype.isSameOrAfter=function(a,l){return this.isSame(a,l)||this.isAfter(a,l)}}}))})(VE);var ej=VE.exports,PE={exports:{}};(function(t,n){(function(o,r){t.exports=r()})(Cr,(function(){return function(o,r){r.prototype.isSameOrBefore=function(a,l){return this.isSame(a,l)||this.isBefore(a,l)}}}))})(PE);var tj=PE.exports;const RE=oe({valueFormat:String,dateFormat:String,timeFormat:String,disabled:{type:Boolean,default:void 0},modelValue:{type:K([Date,Array,String,Number]),default:""},defaultValue:{type:K([Date,Array])},defaultTime:{type:K([Date,Array])},isRange:Boolean,...zm,disabledDate:{type:Function},cellClassName:{type:Function},shortcuts:{type:Array,default:()=>[]},arrowControl:Boolean,unlinkPanels:Boolean,showNow:{type:Boolean,default:!0},showConfirm:Boolean,showFooter:Boolean,showWeekNumber:Boolean,type:{type:K(String),default:"date"},clearable:{type:Boolean,default:!0},border:{type:Boolean,default:!0},editable:{type:Boolean,default:!0}}),ed=Symbol("rootPickerContextKey"),kl="ElIsDefaultFormat",nj=["date","dates","year","years","month","months","week","range"],xp=oe({cellClassName:{type:K(Function)},disabledDate:{type:K(Function)},date:{type:K(Object),required:!0},minDate:{type:K(Object)},maxDate:{type:K(Object)},parsedValue:{type:K([Object,Array])},rangeState:{type:K(Object),default:()=>({endDate:null,selecting:!1})},disabled:Boolean}),ME=oe({type:{type:K(String),required:!0,values:Pg},dateFormat:String,timeFormat:String,showNow:{type:Boolean,default:!0},showConfirm:Boolean,showFooter:{type:Boolean,default:!0},showWeekNumber:Boolean,border:Boolean,disabled:Boolean,editable:{type:Boolean,default:!0}}),$p=oe({unlinkPanels:Boolean,visible:{type:Boolean,default:!0},showConfirm:Boolean,showFooter:{type:Boolean,default:!0},border:Boolean,disabled:Boolean,parsedValue:{type:K(Array)}}),Vp=t=>({type:String,values:nj,default:t}),oj=oe({...ME,parsedValue:{type:K([Object,Array])},visible:{type:Boolean,default:!0},format:{type:String,default:""}}),Ws=t=>{if(!ie(t))return!1;const[n,o]=t;return Pe.isDayjs(n)&&Pe.isDayjs(o)&&Pe(n).isValid()&&Pe(o).isValid()&&n.isSameOrBefore(o)},td=(t,{lang:n,step:o=1,unit:r,unlinkPanels:a})=>{let l;if(ie(t)){let[s,i]=t.map(c=>Pe(c).locale(n));return a||(i=s.add(o,r)),[s,i]}else t?l=Pe(t):l=Pe();return l=l.locale(n),[l,l.add(o,r)]},rj=(t,n,{columnIndexOffset:o,startDate:r,nextEndDate:a,now:l,unit:s,relativeDateGetter:i,setCellMetadata:c,setRowMetadata:d})=>{for(let u=0;u{const a=Pe().locale(r).startOf("month").month(o).year(n).hour(t.hour()).minute(t.minute()).second(t.second()),l=a.daysInMonth();return kr(l).map(s=>a.add(s,"day").toDate())},Sl=(t,n,o,r,a)=>{const l=Pe().year(n).month(o).startOf("month").hour(t.hour()).minute(t.minute()).second(t.second()),s=nd(t,n,o,r).find(i=>!(a!=null&&a(i)));return s?Pe(s).locale(r):l.locale(r)},od=(t,n,o)=>{const r=t.year();if(!(o!=null&&o(t.toDate())))return t.locale(n);const a=t.month();if(!nd(t,r,a,n).every(o))return Sl(t,r,a,n,o);for(let l=0;l<12;l++)if(!nd(t,r,l,n).every(o))return Sl(t,r,l,n,o);return t},El=(t,n,o,r)=>{if(ie(t))return t.map(a=>El(a,n,o,r));if(ve(t)){const a=r!=null&&r.value?Pe(t):Pe(t,n);if(!a.isValid())return a}return Pe(t,n).locale(o)},aj=oe({...xp,showWeekNumber:Boolean,selectionMode:Vp("date")}),lj=["changerange","pick","select"],rd=(t="")=>["normal","today"].includes(t),sj=(t,n)=>{const{lang:o}=je(),r=e.ref(),a=e.ref(),l=e.ref(),s=e.ref(),i=e.ref([[],[],[],[],[],[]]);let c=!1;const d=t.date.$locale().weekStart||7,u=t.date.locale("en").localeData().weekdaysShort().map(M=>M.toLowerCase()),f=e.computed(()=>d>3?7-d:-d),p=e.computed(()=>{const M=t.date.startOf("month");return M.subtract(M.day()||7,"day")}),g=e.computed(()=>u.concat(u).slice(d,d+7)),m=e.computed(()=>os(e.unref(w)).some(M=>M.isCurrent)),h=e.computed(()=>{const M=t.date.startOf("month"),I=M.day()||7,z=M.daysInMonth(),F=M.subtract(1,"month").daysInMonth();return{startOfMonthDay:I,dateCountOfMonth:z,dateCountOfLastMonth:F}}),b=e.computed(()=>t.selectionMode==="dates"?wn(t.parsedValue):[]),y=(M,{count:I,rowIndex:z,columnIndex:F})=>{const{startOfMonthDay:A,dateCountOfMonth:W,dateCountOfLastMonth:j}=e.unref(h),G=e.unref(f);if(z>=0&&z<=1){const X=A+G<0?7+A+G:A+G;if(F+z*7>=X)return M.text=I,!0;M.text=j-(X-F%7)+1+z*7,M.type="prev-month"}else return I<=W?M.text=I:(M.text=I-W,M.type="next-month"),!0;return!1},k=(M,{columnIndex:I,rowIndex:z},F)=>{const{disabledDate:A,cellClassName:W}=t,j=e.unref(b),G=y(M,{count:F,rowIndex:z,columnIndex:I}),X=M.dayjs.toDate();return M.selected=j.find(Q=>Q.isSame(M.dayjs,"day")),M.isSelected=!!M.selected,M.isCurrent=E(M),M.disabled=A==null?void 0:A(X),M.customClass=W==null?void 0:W(X),G},C=M=>{if(t.selectionMode==="week"){const[I,z]=t.showWeekNumber?[1,7]:[0,6],F=B(M[I+1]);M[I].inRange=F,M[I].start=F,M[z].inRange=F,M[z].end=F}},w=e.computed(()=>{const{minDate:M,maxDate:I,rangeState:z,showWeekNumber:F}=t,A=e.unref(f),W=e.unref(i),j="day";let G=1;if(rj({row:6,column:7},W,{startDate:M,columnIndexOffset:F?1:0,nextEndDate:z.endDate||I||z.selecting&&M||null,now:Pe().locale(e.unref(o)).startOf(j),unit:j,relativeDateGetter:X=>e.unref(p).add(X-A,j),setCellMetadata:(...X)=>{k(...X,G)&&(G+=1)},setRowMetadata:C}),F)for(let X=0;X<6;X++)W[X][1].dayjs&&(W[X][0]={type:"week",text:W[X][1].dayjs.week()});return W});e.watch(()=>t.date,async()=>{var M;(M=e.unref(r))!=null&&M.contains(document.activeElement)&&(await e.nextTick(),await S())});const S=async()=>{var M;return(M=e.unref(a))==null?void 0:M.focus()},E=M=>t.selectionMode==="date"&&rd(M.type)&&v(M,t.parsedValue),v=(M,I)=>I?Pe(I).locale(e.unref(o)).isSame(t.date.date(Number(M.text)),"day"):!1,N=(M,I)=>{const z=e.unref(h).startOfMonthDay,F=e.unref(f),A=z+F<0?7+z+F:z+F,W=M*7+(I-(t.showWeekNumber?1:0));return t.date.startOf("month").subtract(A,"day").add(W,"day")},P=M=>{var I;if(!t.rangeState.selecting)return;let z=M.target;if(z.tagName==="SPAN"&&(z=(I=z.parentNode)==null?void 0:I.parentNode),z.tagName==="DIV"&&(z=z.parentNode),z.tagName!=="TD")return;const F=z.parentNode.rowIndex-1,A=z.cellIndex;e.unref(w)[F][A].disabled||(F!==e.unref(l)||A!==e.unref(s))&&(l.value=F,s.value=A,n("changerange",{selecting:!0,endDate:N(F,A)}))},T=M=>!e.unref(m)&&(M==null?void 0:M.text)===1&&rd(M.type)||M.isCurrent,V=M=>{c||e.unref(m)||t.selectionMode!=="date"||$(M,!0)},x=M=>{M.target.closest("td")&&(c=!0)},O=M=>{M.target.closest("td")&&(c=!1)},D=M=>{!t.rangeState.selecting||!t.minDate?(n("pick",{minDate:M,maxDate:null}),n("select",!0)):(M>=t.minDate?n("pick",{minDate:t.minDate,maxDate:M}):n("pick",{minDate:M,maxDate:t.minDate}),n("select",!1))},L=M=>{const I=M.week(),z=`${M.year()}w${I}`;n("pick",{year:M.year(),week:I,value:z,date:M.startOf("week")})},H=(M,I)=>{const z=I?wn(t.parsedValue).filter(F=>(F==null?void 0:F.valueOf())!==M.valueOf()):wn(t.parsedValue).concat([M]);n("pick",z)},$=(M,I=!1)=>{if(t.disabled)return;const z=M.target.closest("td");if(!z)return;const F=z.parentNode.rowIndex-1,A=z.cellIndex,W=e.unref(w)[F][A];if(W.disabled||W.type==="week")return;const j=N(F,A);switch(t.selectionMode){case"range":{D(j);break}case"date":{n("pick",j,I);break}case"week":{L(j);break}case"dates":{H(j,!!W.selected);break}}},B=M=>{if(t.selectionMode!=="week")return!1;let I=t.date.startOf("day");if(M.type==="prev-month"&&(I=I.subtract(1,"month")),M.type==="next-month"&&(I=I.add(1,"month")),I=I.date(Number.parseInt(M.text,10)),t.parsedValue&&!ie(t.parsedValue)){const z=(t.parsedValue.day()-d+7)%7-1;return t.parsedValue.subtract(z,"day").isSame(I,"day")}return!1};return{WEEKS:g,rows:w,tbodyRef:r,currentCellRef:a,focus:S,isCurrent:E,isWeekActive:B,isSelectedCell:T,handlePickDate:$,handleMouseUp:O,handleMouseDown:x,handleMouseMove:P,handleFocus:V}},ij=(t,{isCurrent:n,isWeekActive:o})=>{const r=ee("date-table"),{t:a}=je(),l=e.computed(()=>[r.b(),r.is("week-mode",t.selectionMode==="week"&&!t.disabled)]),s=e.computed(()=>a("el.datepicker.dateTablePrompt")),i=d=>{const u=[];return rd(d.type)&&!d.disabled?(u.push("available"),d.type==="today"&&u.push("today")):u.push(d.type),n(d)&&u.push("current"),d.inRange&&(rd(d.type)||t.selectionMode==="week")&&(u.push("in-range"),d.start&&u.push("start-date"),d.end&&u.push("end-date")),(d.disabled||t.disabled)&&u.push("disabled"),d.selected&&u.push("selected"),d.customClass&&u.push(d.customClass),u.join(" ")},c=d=>[r.e("row"),{current:o(d)}];return{tableKls:l,tableLabel:s,weekHeaderClass:r.e("week-header"),getCellClasses:i,getRowKls:c,t:a}},cj=oe({cell:{type:K(Object)}});var Pp=e.defineComponent({name:"ElDatePickerCell",props:cj,setup(t){const n=ee("date-table-cell"),{slots:o}=e.inject(ed);return()=>{const{cell:r}=t;return e.renderSlot(o,"default",{...r},()=>{var a;return[e.createVNode("div",{class:n.b()},[e.createVNode("span",{class:n.e("text")},[(a=r==null?void 0:r.renderText)!=null?a:r==null?void 0:r.text])])]})}}});const dj=["aria-label"],uj=["aria-label"],fj=["aria-current","aria-selected","tabindex","aria-disabled"];var Rp=e.defineComponent({__name:"basic-date-table",props:aj,emits:lj,setup(t,{expose:n,emit:o}){const r=t,a=o,{WEEKS:l,rows:s,tbodyRef:i,currentCellRef:c,focus:d,isCurrent:u,isWeekActive:f,isSelectedCell:p,handlePickDate:g,handleMouseUp:m,handleMouseDown:h,handleMouseMove:b,handleFocus:y}=sj(r,a),{tableLabel:k,tableKls:C,getCellClasses:w,getRowKls:S,weekHeaderClass:E,t:v}=ij(r,{isCurrent:u,isWeekActive:f});let N=!1;return e.onBeforeUnmount(()=>{N=!0}),n({focus:d}),(P,T)=>(e.openBlock(),e.createElementBlock("table",{"aria-label":e.unref(k),class:e.normalizeClass(e.unref(C)),cellspacing:"0",cellpadding:"0",role:"grid",onClick:T[1]||(T[1]=(...V)=>e.unref(g)&&e.unref(g)(...V)),onMousemove:T[2]||(T[2]=(...V)=>e.unref(b)&&e.unref(b)(...V)),onMousedown:T[3]||(T[3]=(...V)=>e.unref(h)&&e.unref(h)(...V)),onMouseup:T[4]||(T[4]=(...V)=>e.unref(m)&&e.unref(m)(...V))},[e.createElementVNode("tbody",{ref_key:"tbodyRef",ref:i},[e.createElementVNode("tr",null,[P.showWeekNumber?(e.openBlock(),e.createElementBlock("th",{key:0,scope:"col",class:e.normalizeClass(e.unref(E))},null,2)):e.createCommentVNode("v-if",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(l),(V,x)=>(e.openBlock(),e.createElementBlock("th",{key:x,"aria-label":e.unref(v)("el.datepicker.weeksFull."+V),scope:"col"},e.toDisplayString(e.unref(v)("el.datepicker.weeks."+V)),9,uj))),128))]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(s),(V,x)=>(e.openBlock(),e.createElementBlock("tr",{key:x,class:e.normalizeClass(e.unref(S)(P.showWeekNumber?V[2]:V[1]))},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(V,(O,D)=>(e.openBlock(),e.createElementBlock("td",{key:`${x}.${D}`,ref_for:!0,ref:L=>!e.unref(N)&&e.unref(p)(O)&&(c.value=L),class:e.normalizeClass(e.unref(w)(O)),"aria-current":O.isCurrent?"date":void 0,"aria-selected":O.isCurrent,tabindex:P.disabled?void 0:e.unref(p)(O)?0:-1,"aria-disabled":P.disabled,onFocus:T[0]||(T[0]=(...L)=>e.unref(y)&&e.unref(y)(...L))},[e.createVNode(e.unref(Pp),{cell:O},null,8,["cell"])],42,fj))),128))],2))),128))],512)],42,dj))}});const mj=oe({...xp,selectionMode:Vp("month")}),pj=["aria-label"],hj=["aria-selected","aria-label","tabindex","onKeydown"];var js=e.defineComponent({__name:"basic-month-table",props:mj,emits:["changerange","pick","select"],setup(t,{expose:n,emit:o}){const r=t,a=o,l=ee("month-table"),{t:s,lang:i}=je(),c=e.ref(),d=e.ref(),u=e.ref(r.date.locale("en").localeData().monthsShort().map(w=>w.toLowerCase())),f=e.ref([[],[],[]]),p=e.ref(),g=e.ref(),m=e.computed(()=>{var w,S,E;const v=f.value,N=Pe().locale(i.value).startOf("month");for(let P=0;P<3;P++){const T=v[P];for(let V=0;V<4;V++){const x=T[V]||(T[V]={row:P,column:V,type:"normal",inRange:!1,start:!1,end:!1,text:-1,disabled:!1,isSelected:!1,customClass:void 0,date:void 0,dayjs:void 0,isCurrent:void 0,selected:void 0,renderText:void 0,timestamp:void 0});x.type="normal";const O=P*4+V,D=r.date.startOf("year").month(O),L=r.rangeState.endDate||r.maxDate||r.rangeState.selecting&&r.minDate||null;x.inRange=!!(r.minDate&&D.isSameOrAfter(r.minDate,"month")&&L&&D.isSameOrBefore(L,"month"))||!!(r.minDate&&D.isSameOrBefore(r.minDate,"month")&&L&&D.isSameOrAfter(L,"month")),(w=r.minDate)!=null&&w.isSameOrAfter(L)?(x.start=!!(L&&D.isSame(L,"month")),x.end=r.minDate&&D.isSame(r.minDate,"month")):(x.start=!!(r.minDate&&D.isSame(r.minDate,"month")),x.end=!!(L&&D.isSame(L,"month"))),N.isSame(D)&&(x.type="today");const $=D.toDate();x.text=O,x.disabled=((S=r.disabledDate)==null?void 0:S.call(r,$))||!1,x.date=$,x.customClass=(E=r.cellClassName)==null?void 0:E.call(r,$),x.dayjs=D,x.timestamp=D.valueOf(),x.isSelected=y(x)}}return v}),h=()=>{var w;(w=d.value)==null||w.focus()},b=w=>{const S={},E=r.date.year(),v=new Date,N=w.text;return S.disabled=r.disabled||(r.disabledDate?nd(r.date,E,N,i.value).every(r.disabledDate):!1),S.current=wn(r.parsedValue).some(P=>Pe.isDayjs(P)&&P.year()===E&&P.month()===N),S.today=v.getFullYear()===E&&v.getMonth()===N,w.customClass&&(S[w.customClass]=!0),w.inRange&&(S["in-range"]=!0,w.start&&(S["start-date"]=!0),w.end&&(S["end-date"]=!0)),S},y=w=>{const S=r.date.year(),E=w.text;return wn(r.date).some(v=>v.year()===S&&v.month()===E)},k=w=>{var S;if(!r.rangeState.selecting)return;let E=w.target;if(E.tagName==="SPAN"&&(E=(S=E.parentNode)==null?void 0:S.parentNode),E.tagName==="DIV"&&(E=E.parentNode),E.tagName!=="TD")return;const v=E.parentNode.rowIndex,N=E.cellIndex;m.value[v][N].disabled||(v!==p.value||N!==g.value)&&(p.value=v,g.value=N,a("changerange",{selecting:!0,endDate:r.date.startOf("year").month(v*4+N)}))},C=w=>{var S;if(r.disabled)return;const E=(S=w.target)==null?void 0:S.closest("td");if((E==null?void 0:E.tagName)!=="TD"||Ko(E,"disabled"))return;const v=E.cellIndex,P=E.parentNode.rowIndex*4+v,T=r.date.startOf("year").month(P);if(r.selectionMode==="months"){if(w.type==="keydown"){a("pick",wn(r.parsedValue),!1);return}const V=Sl(r.date,r.date.year(),P,i.value,r.disabledDate),x=Ko(E,"current")?wn(r.parsedValue).filter(O=>(O==null?void 0:O.year())!==V.year()||(O==null?void 0:O.month())!==V.month()):wn(r.parsedValue).concat([Pe(V)]);a("pick",x)}else r.selectionMode==="range"?r.rangeState.selecting?(r.minDate&&T>=r.minDate?a("pick",{minDate:r.minDate,maxDate:T}):a("pick",{minDate:T,maxDate:r.minDate}),a("select",!1)):(a("pick",{minDate:T,maxDate:null}),a("select",!0)):a("pick",P)};return e.watch(()=>r.date,async()=>{var w,S;(w=c.value)!=null&&w.contains(document.activeElement)&&(await e.nextTick(),(S=d.value)==null||S.focus())}),n({focus:h}),(w,S)=>(e.openBlock(),e.createElementBlock("table",{role:"grid","aria-label":e.unref(s)("el.datepicker.monthTablePrompt"),class:e.normalizeClass(e.unref(l).b()),onClick:C,onMousemove:k},[e.createElementVNode("tbody",{ref_key:"tbodyRef",ref:c},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(m.value,(E,v)=>(e.openBlock(),e.createElementBlock("tr",{key:v},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(E,(N,P)=>(e.openBlock(),e.createElementBlock("td",{key:P,ref_for:!0,ref:T=>N.isSelected&&(d.value=T),class:e.normalizeClass(b(N)),"aria-selected":!!N.isSelected,"aria-label":e.unref(s)(`el.datepicker.month${+N.text+1}`),tabindex:N.isSelected?0:-1,onKeydown:[e.withKeys(e.withModifiers(C,["prevent","stop"]),["space"]),e.withKeys(e.withModifiers(C,["prevent","stop"]),["enter"])]},[e.createVNode(e.unref(Pp),{cell:{...N,renderText:e.unref(s)("el.datepicker.months."+u.value[N.text])}},null,8,["cell"])],42,hj))),128))]))),128))],512)],42,pj))}});const gj=oe({...xp,selectionMode:Vp("year")}),bj=["aria-label"],yj=["aria-selected","aria-label","tabindex","onKeydown"];var Us=e.defineComponent({__name:"basic-year-table",props:gj,emits:["changerange","pick","select"],setup(t,{expose:n,emit:o}){const r=(S,E)=>{const v=Pe(String(S)).locale(E).startOf("year"),P=v.endOf("year").dayOfYear();return kr(P).map(T=>v.add(T,"day").toDate())},a=t,l=o,s=ee("year-table"),{t:i,lang:c}=je(),d=e.ref(),u=e.ref(),f=e.computed(()=>Math.floor(a.date.year()/10)*10),p=e.ref([[],[],[]]),g=e.ref(),m=e.ref(),h=e.computed(()=>{var S,E,v;const N=p.value,P=Pe().locale(c.value).startOf("year");for(let T=0;T<3;T++){const V=N[T];for(let x=0;x<4&&!(T*4+x>=10);x++){let O=V[x];O||(O={row:T,column:x,type:"normal",inRange:!1,start:!1,end:!1,text:-1,disabled:!1,isSelected:!1,customClass:void 0,date:void 0,dayjs:void 0,isCurrent:void 0,selected:void 0,renderText:void 0,timestamp:void 0}),O.type="normal";const D=T*4+x+f.value,L=Pe().year(D),H=a.rangeState.endDate||a.maxDate||a.rangeState.selecting&&a.minDate||null;O.inRange=!!(a.minDate&&L.isSameOrAfter(a.minDate,"year")&&H&&L.isSameOrBefore(H,"year"))||!!(a.minDate&&L.isSameOrBefore(a.minDate,"year")&&H&&L.isSameOrAfter(H,"year")),(S=a.minDate)!=null&&S.isSameOrAfter(H)?(O.start=!!(H&&L.isSame(H,"year")),O.end=!!(a.minDate&&L.isSame(a.minDate,"year"))):(O.start=!!(a.minDate&&L.isSame(a.minDate,"year")),O.end=!!(H&&L.isSame(H,"year"))),P.isSame(L)&&(O.type="today"),O.text=D;const B=L.toDate();O.disabled=((E=a.disabledDate)==null?void 0:E.call(a,B))||!1,O.date=B,O.customClass=(v=a.cellClassName)==null?void 0:v.call(a,B),O.dayjs=L,O.timestamp=L.valueOf(),O.isSelected=k(O),V[x]=O}}return N}),b=()=>{var S;(S=u.value)==null||S.focus()},y=S=>{const E={},v=Pe().locale(c.value),N=S.text;return E.disabled=a.disabled||(a.disabledDate?r(N,c.value).every(a.disabledDate):!1),E.today=v.year()===N,E.current=wn(a.parsedValue).some(P=>P.year()===N),S.customClass&&(E[S.customClass]=!0),S.inRange&&(E["in-range"]=!0,S.start&&(E["start-date"]=!0),S.end&&(E["end-date"]=!0)),E},k=S=>{const E=S.text;return wn(a.date).some(v=>v.year()===E)},C=S=>{var E;if(a.disabled)return;const v=(E=S.target)==null?void 0:E.closest("td");if(!v||!v.textContent||Ko(v,"disabled"))return;const N=v.cellIndex,T=v.parentNode.rowIndex*4+N+f.value,V=Pe().year(T);if(a.selectionMode==="range")a.rangeState.selecting?(a.minDate&&V>=a.minDate?l("pick",{minDate:a.minDate,maxDate:V}):l("pick",{minDate:V,maxDate:a.minDate}),l("select",!1)):(l("pick",{minDate:V,maxDate:null}),l("select",!0));else if(a.selectionMode==="years"){if(S.type==="keydown"){l("pick",wn(a.parsedValue),!1);return}const x=od(V.startOf("year"),c.value,a.disabledDate),O=Ko(v,"current")?wn(a.parsedValue).filter(D=>(D==null?void 0:D.year())!==T):wn(a.parsedValue).concat([x]);l("pick",O)}else l("pick",T)},w=S=>{var E;if(!a.rangeState.selecting)return;const v=(E=S.target)==null?void 0:E.closest("td");if(!v)return;const N=v.parentNode.rowIndex,P=v.cellIndex;h.value[N][P].disabled||(N!==g.value||P!==m.value)&&(g.value=N,m.value=P,l("changerange",{selecting:!0,endDate:Pe().year(f.value).add(N*4+P,"year")}))};return e.watch(()=>a.date,async()=>{var S,E;(S=d.value)!=null&&S.contains(document.activeElement)&&(await e.nextTick(),(E=u.value)==null||E.focus())}),n({focus:b}),(S,E)=>(e.openBlock(),e.createElementBlock("table",{role:"grid","aria-label":e.unref(i)("el.datepicker.yearTablePrompt"),class:e.normalizeClass(e.unref(s).b()),onClick:C,onMousemove:w},[e.createElementVNode("tbody",{ref_key:"tbodyRef",ref:d},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(h.value,(v,N)=>(e.openBlock(),e.createElementBlock("tr",{key:N},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(v,(P,T)=>(e.openBlock(),e.createElementBlock("td",{key:`${N}_${T}`,ref_for:!0,ref:V=>P.isSelected&&(u.value=V),class:e.normalizeClass(["available",y(P)]),"aria-selected":P.isSelected,"aria-label":String(P.text),tabindex:P.isSelected?0:-1,onKeydown:[e.withKeys(e.withModifiers(C,["prevent","stop"]),["space"]),e.withKeys(e.withModifiers(C,["prevent","stop"]),["enter"])]},[e.createVNode(e.unref(Pp),{cell:P},null,8,["cell"])],42,yj))),128))]))),128))],512)],42,bj))}});const Cj=["disabled","onClick"],wj=["aria-label","disabled"],kj=["aria-label","disabled"],Sj=["tabindex","aria-disabled"],Ej=["tabindex","aria-disabled"],vj=["aria-label","disabled"],Nj=["aria-label","disabled"];var Bj=e.defineComponent({__name:"panel-date-pick",props:oj,emits:["pick","set-picker-option","panel-change"],setup(t,{emit:n}){const o=(ne,me,Z)=>!0,r=t,a=n,l=ee("picker-panel"),s=ee("date-picker"),i=e.useAttrs(),c=e.useSlots(),{t:d,lang:u}=je(),f=e.inject(po),p=e.inject(kl,void 0),{shortcuts:g,disabledDate:m,cellClassName:h,defaultTime:b}=f.props,y=e.toRef(f.props,"defaultValue"),k=e.ref(),C=e.ref(Pe().locale(u.value)),w=e.ref(!1);let S=!1;const E=e.computed(()=>Pe(b).locale(u.value)),v=e.computed(()=>C.value.month()),N=e.computed(()=>C.value.year()),P=e.ref([]),T=e.ref(null),V=e.ref(null),x=ne=>P.value.length>0?o(ne,P.value,r.format||"HH:mm:ss"):!0,O=ne=>b&&!Ie.value&&!w.value&&!S?E.value.year(ne.year()).month(ne.month()).date(ne.date()):J.value?ne.millisecond(0):ne.startOf("day"),D=(ne,...me)=>{if(!ne)a("pick",ne,...me);else if(ie(ne)){const Z=ne.map(O);a("pick",Z,...me)}else a("pick",O(ne),...me);T.value=null,V.value=null,w.value=!1,S=!1},L=async(ne,me)=>{if(z.value==="date"&&Pe.isDayjs(ne)){const Z=hs(r.parsedValue);let de=Z?Z.year(ne.year()).month(ne.month()).date(ne.date()):ne;x(de),C.value=de,D(de,J.value||me)}else z.value==="week"?D(ne.date):z.value==="dates"&&D(ne,!0)},H=ne=>{const me=ne?"add":"subtract";C.value=C.value[me](1,"month"),Ye("month")},$=ne=>{const me=C.value,Z=ne?"add":"subtract";C.value=B.value==="year"?me[Z](10,"year"):me[Z](1,"year"),Ye("year")},B=e.ref("date"),M=e.computed(()=>{const ne=d("el.datepicker.year");if(B.value==="year"){const me=Math.floor(N.value/10)*10;return ne?`${me} ${ne} - ${me+9} ${ne}`:`${me} - ${me+9}`}return`${N.value} ${ne}`}),I=ne=>{const me=Ae(ne.value)?ne.value():ne.value;if(me){S=!0,D(Pe(me).locale(u.value));return}ne.onClick&&ne.onClick({attrs:i,slots:c,emit:a})},z=e.computed(()=>{const{type:ne}=r;return["week","month","months","year","years","dates"].includes(ne)?ne:"date"}),F=e.computed(()=>z.value==="dates"||z.value==="months"||z.value==="years"),A=e.computed(()=>z.value==="date"?B.value:z.value),W=e.computed(()=>!!g.length),j=async(ne,me)=>{z.value==="month"?(C.value=Sl(C.value,C.value.year(),ne,u.value,m),D(C.value,!1)):z.value==="months"?D(ne,me!=null?me:!0):(C.value=Sl(C.value,C.value.year(),ne,u.value,m),B.value="date",["month","year","date","week"].includes(z.value)&&(D(C.value,!0),await e.nextTick(),pt())),Ye("month")},G=async(ne,me)=>{if(z.value==="year"){const Z=C.value.startOf("year").year(ne);C.value=od(Z,u.value,m),D(C.value,!1)}else if(z.value==="years")D(ne,me!=null?me:!0);else{const Z=C.value.year(ne);C.value=od(Z,u.value,m),B.value="month",["month","year","date","week"].includes(z.value)&&(D(C.value,!0),await e.nextTick(),pt())}Ye("year")},X=kt(),Q=async ne=>{X.value||(B.value=ne,await e.nextTick(),pt())},J=e.computed(()=>r.type==="datetime"||r.type==="datetimerange"),Y=e.computed(()=>{const ne=J.value||z.value==="dates",me=z.value==="years",Z=z.value==="months",de=B.value==="date",De=B.value==="year",st=B.value==="month";return ne&&de||me&&De||Z&&st}),_=e.computed(()=>!F.value&&r.showNow||r.showConfirm),q=e.computed(()=>m?r.parsedValue?ie(r.parsedValue)?m(r.parsedValue[0].toDate()):m(r.parsedValue.toDate()):!0:!1),le=()=>{if(F.value)D(r.parsedValue);else{let ne=hs(r.parsedValue);if(!ne){const me=Pe(b).locale(u.value),Z=Se();ne=me.year(Z.year()).month(Z.month()).date(Z.date())}C.value=ne,D(ne)}},ue=e.computed(()=>m?m(Pe().locale(u.value).toDate()):!1),Ce=()=>{const me=Pe().locale(u.value).toDate();w.value=!0,(!m||!m(me))&&x(me)&&(C.value=Pe().locale(u.value),D(C.value))},Ee=e.computed(()=>r.timeFormat||Rm(r.format)||wa),Ve=e.computed(()=>r.dateFormat||Pm(r.format)||wr),Ie=e.computed(()=>V.value?V.value:!r.parsedValue&&!y.value?void 0:(hs(r.parsedValue)||C.value).format(Ee.value)),qe=e.computed(()=>T.value?T.value:!r.parsedValue&&!y.value?void 0:(hs(r.parsedValue)||C.value).format(Ve.value)),We=e.ref(!1),be=()=>{We.value=!0},ye=()=>{We.value=!1},Te=ne=>({hour:ne.hour(),minute:ne.minute(),second:ne.second(),year:ne.year(),month:ne.month(),date:ne.date()}),Oe=(ne,me,Z)=>{const{hour:de,minute:De,second:st}=Te(ne),Tt=hs(r.parsedValue),Vt=Tt?Tt.hour(de).minute(De).second(st):ne;C.value=Vt,D(C.value,!0),Z||(We.value=me)},Fe=ne=>{const me=Pe(ne,Ee.value).locale(u.value);if(me.isValid()&&x(me)){const{year:Z,month:de,date:De}=Te(C.value);C.value=me.year(Z).month(de).date(De),V.value=null,We.value=!1,D(C.value,!0)}},Ue=ne=>{const me=El(ne,Ve.value,u.value,p);if(me.isValid()){if(m&&m(me.toDate()))return;const{hour:Z,minute:de,second:De}=Te(C.value);C.value=me.hour(Z).minute(de).second(De),T.value=null,D(C.value,!0)}},fe=ne=>Pe.isDayjs(ne)&&ne.isValid()&&(m?!m(ne.toDate()):!0),we=ne=>El(ne,r.format,u.value,p),Se=()=>{const ne=Pe(y.value).locale(u.value);if(!y.value){const me=E.value;return Pe().hour(me.hour()).minute(me.minute()).second(me.second()).locale(u.value)}return ne},pt=()=>{var ne;["week","month","year","date"].includes(z.value)&&((ne=k.value)==null||ne.focus())},bt=()=>{pt(),z.value==="week"&&ze(te.down)},Be=ne=>{const me=ut(ne);[te.up,te.down,te.left,te.right,te.home,te.end,te.pageUp,te.pageDown].includes(me)&&(ze(me),ne.stopPropagation(),ne.preventDefault()),[te.enter,te.space,te.numpadEnter].includes(me)&&T.value===null&&V.value===null&&(ne.preventDefault(),D(C.value,!1))},ze=ne=>{var me;const{up:Z,down:de,left:De,right:st,home:Tt,end:Vt,pageUp:se,pageDown:he}=te,Me={year:{[Z]:-4,[de]:4,[De]:-1,[st]:1,offset:(rt,ge)=>rt.setFullYear(rt.getFullYear()+ge)},month:{[Z]:-4,[de]:4,[De]:-1,[st]:1,offset:(rt,ge)=>rt.setMonth(rt.getMonth()+ge)},week:{[Z]:-1,[de]:1,[De]:-1,[st]:1,offset:(rt,ge)=>rt.setDate(rt.getDate()+ge*7)},date:{[Z]:-7,[de]:7,[De]:-1,[st]:1,[Tt]:rt=>-rt.getDay(),[Vt]:rt=>-rt.getDay()+6,[se]:rt=>-new Date(rt.getFullYear(),rt.getMonth(),0).getDate(),[he]:rt=>new Date(rt.getFullYear(),rt.getMonth()+1,0).getDate(),offset:(rt,ge)=>rt.setDate(rt.getDate()+ge)}},St=C.value.toDate();for(;Math.abs(C.value.diff(St,"year",!0))<1;){const rt=Me[A.value];if(!rt)return;if(rt.offset(St,Ae(rt[ne])?rt[ne](St):(me=rt[ne])!=null?me:0),m&&m(St))break;const ge=Pe(St).locale(u.value);C.value=ge,a("pick",ge,!0);break}},Ye=ne=>{a("panel-change",C.value.toDate(),ne,B.value)};return e.watch(()=>z.value,ne=>{if(["month","year"].includes(ne)){B.value=ne;return}else if(ne==="years"){B.value="year";return}else if(ne==="months"){B.value="month";return}B.value="date"},{immediate:!0}),e.watch(()=>y.value,ne=>{ne&&(C.value=Se())},{immediate:!0}),e.watch(()=>r.parsedValue,ne=>{if(ne){if(F.value||ie(ne))return;C.value=ne}else C.value=Se()},{immediate:!0}),a("set-picker-option",["isValidValue",fe]),a("set-picker-option",["parseUserInput",we]),a("set-picker-option",["handleFocusPicker",bt]),(ne,me)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass([e.unref(l).b(),e.unref(s).b(),e.unref(l).is("border",ne.border),e.unref(l).is("disabled",e.unref(X)),{"has-sidebar":ne.$slots.sidebar||W.value,"has-time":J.value}])},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(l).e("body-wrapper"))},[e.renderSlot(ne.$slots,"sidebar",{class:e.normalizeClass(e.unref(l).e("sidebar"))}),W.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(l).e("sidebar"))},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(g),(Z,de)=>(e.openBlock(),e.createElementBlock("button",{key:de,type:"button",disabled:e.unref(X),class:e.normalizeClass(e.unref(l).e("shortcut")),onClick:De=>I(Z)},e.toDisplayString(Z.text),11,Cj))),128))],2)):e.createCommentVNode("v-if",!0),e.createElementVNode("div",{class:e.normalizeClass(e.unref(l).e("body"))},[J.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(s).e("time-header"))},[e.createElementVNode("span",{class:e.normalizeClass(e.unref(s).e("editor-wrap"))},[e.createVNode(e.unref(un),{placeholder:e.unref(d)("el.datepicker.selectDate"),"model-value":qe.value,size:"small","validate-event":!1,disabled:e.unref(X),readonly:!ne.editable,onInput:me[0]||(me[0]=Z=>T.value=Z),onChange:Ue},null,8,["placeholder","model-value","disabled","readonly"])],2),e.withDirectives((e.openBlock(),e.createElementBlock("span",{class:e.normalizeClass(e.unref(s).e("editor-wrap"))},[e.createVNode(e.unref(un),{placeholder:e.unref(d)("el.datepicker.selectTime"),"model-value":Ie.value,size:"small","validate-event":!1,disabled:e.unref(X),readonly:!ne.editable,onFocus:be,onInput:me[1]||(me[1]=Z=>V.value=Z),onChange:Fe},null,8,["placeholder","model-value","disabled","readonly"]),e.createVNode(e.unref(Ds),{visible:We.value,format:Ee.value,"parsed-value":C.value,onPick:Oe},null,8,["visible","format","parsed-value"])],2)),[[e.unref(Sr),ye]])],2)):e.createCommentVNode("v-if",!0),e.withDirectives(e.createElementVNode("div",{class:e.normalizeClass([e.unref(s).e("header"),(B.value==="year"||B.value==="month")&&e.unref(s).em("header","bordered")])},[e.createElementVNode("span",{class:e.normalizeClass(e.unref(s).e("prev-btn"))},[e.createElementVNode("button",{type:"button","aria-label":e.unref(d)("el.datepicker.prevYear"),class:e.normalizeClass(["d-arrow-left",e.unref(l).e("icon-btn")]),disabled:e.unref(X),onClick:me[2]||(me[2]=Z=>$(!1))},[e.renderSlot(ne.$slots,"prev-year",{},()=>[e.createVNode(e.unref(ce),null,{default:e.withCtx(()=>[e.createVNode(e.unref(Dr))]),_:1})])],10,wj),e.withDirectives(e.createElementVNode("button",{type:"button","aria-label":e.unref(d)("el.datepicker.prevMonth"),class:e.normalizeClass([e.unref(l).e("icon-btn"),"arrow-left"]),disabled:e.unref(X),onClick:me[3]||(me[3]=Z=>H(!1))},[e.renderSlot(ne.$slots,"prev-month",{},()=>[e.createVNode(e.unref(ce),null,{default:e.withCtx(()=>[e.createVNode(e.unref(gr))]),_:1})])],10,kj),[[e.vShow,B.value==="date"]])],2),e.createElementVNode("span",{role:"button",class:e.normalizeClass(e.unref(s).e("header-label")),"aria-live":"polite",tabindex:ne.disabled?void 0:0,"aria-disabled":ne.disabled,onKeydown:me[4]||(me[4]=e.withKeys(Z=>Q("year"),["enter"])),onClick:me[5]||(me[5]=Z=>Q("year"))},e.toDisplayString(M.value),43,Sj),e.withDirectives(e.createElementVNode("span",{role:"button","aria-live":"polite",tabindex:ne.disabled?void 0:0,"aria-disabled":ne.disabled,class:e.normalizeClass([e.unref(s).e("header-label"),{active:B.value==="month"}]),onKeydown:me[6]||(me[6]=e.withKeys(Z=>Q("month"),["enter"])),onClick:me[7]||(me[7]=Z=>Q("month"))},e.toDisplayString(e.unref(d)(`el.datepicker.month${v.value+1}`)),43,Ej),[[e.vShow,B.value==="date"]]),e.createElementVNode("span",{class:e.normalizeClass(e.unref(s).e("next-btn"))},[e.withDirectives(e.createElementVNode("button",{type:"button","aria-label":e.unref(d)("el.datepicker.nextMonth"),class:e.normalizeClass([e.unref(l).e("icon-btn"),"arrow-right"]),disabled:e.unref(X),onClick:me[8]||(me[8]=Z=>H(!0))},[e.renderSlot(ne.$slots,"next-month",{},()=>[e.createVNode(e.unref(ce),null,{default:e.withCtx(()=>[e.createVNode(e.unref(Cn))]),_:1})])],10,vj),[[e.vShow,B.value==="date"]]),e.createElementVNode("button",{type:"button","aria-label":e.unref(d)("el.datepicker.nextYear"),class:e.normalizeClass([e.unref(l).e("icon-btn"),"d-arrow-right"]),disabled:e.unref(X),onClick:me[9]||(me[9]=Z=>$(!0))},[e.renderSlot(ne.$slots,"next-year",{},()=>[e.createVNode(e.unref(ce),null,{default:e.withCtx(()=>[e.createVNode(e.unref(Lr))]),_:1})])],10,Nj)],2)],2),[[e.vShow,B.value!=="time"]]),e.createElementVNode("div",{class:e.normalizeClass(e.unref(l).e("content")),onKeydown:Be},[B.value==="date"?(e.openBlock(),e.createBlock(Rp,{key:0,ref_key:"currentViewRef",ref:k,"selection-mode":z.value,date:C.value,"parsed-value":ne.parsedValue,"disabled-date":e.unref(m),disabled:e.unref(X),"cell-class-name":e.unref(h),"show-week-number":ne.showWeekNumber,onPick:L},null,8,["selection-mode","date","parsed-value","disabled-date","disabled","cell-class-name","show-week-number"])):e.createCommentVNode("v-if",!0),B.value==="year"?(e.openBlock(),e.createBlock(Us,{key:1,ref_key:"currentViewRef",ref:k,"selection-mode":z.value,date:C.value,"disabled-date":e.unref(m),disabled:e.unref(X),"parsed-value":ne.parsedValue,"cell-class-name":e.unref(h),onPick:G},null,8,["selection-mode","date","disabled-date","disabled","parsed-value","cell-class-name"])):e.createCommentVNode("v-if",!0),B.value==="month"?(e.openBlock(),e.createBlock(js,{key:2,ref_key:"currentViewRef",ref:k,"selection-mode":z.value,date:C.value,"parsed-value":ne.parsedValue,"disabled-date":e.unref(m),disabled:e.unref(X),"cell-class-name":e.unref(h),onPick:j},null,8,["selection-mode","date","parsed-value","disabled-date","disabled","cell-class-name"])):e.createCommentVNode("v-if",!0)],34)],2)],2),ne.showFooter&&Y.value&&_.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(l).e("footer"))},[e.withDirectives(e.createVNode(e.unref(Gt),{text:"",size:"small",class:e.normalizeClass(e.unref(l).e("link-btn")),disabled:ue.value,onClick:Ce},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(d)("el.datepicker.now")),1)]),_:1},8,["class","disabled"]),[[e.vShow,!F.value&&ne.showNow]]),ne.showConfirm?(e.openBlock(),e.createBlock(e.unref(Gt),{key:0,plain:"",size:"small",class:e.normalizeClass(e.unref(l).e("link-btn")),disabled:q.value,onClick:le},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(d)("el.datepicker.confirm")),1)]),_:1},8,["class","disabled"])):e.createCommentVNode("v-if",!0)],2)):e.createCommentVNode("v-if",!0)],2))}});const Tj=oe({...ME,...$p}),xj=t=>{const{emit:n}=e.getCurrentInstance(),o=e.useAttrs(),r=e.useSlots();return l=>{const s=Ae(l.value)?l.value():l.value;if(s){n("pick",[Pe(s[0]).locale(t.value),Pe(s[1]).locale(t.value)]);return}l.onClick&&l.onClick({attrs:o,slots:r,emit:n})}},Mp=(t,{defaultValue:n,defaultTime:o,leftDate:r,rightDate:a,step:l,unit:s,sortDates:i})=>{const{emit:c}=e.getCurrentInstance(),{pickerNs:d}=e.inject(ed),u=ee("date-range-picker"),{t:f,lang:p}=je(),g=xj(p),m=e.ref(),h=e.ref(),b=e.ref({endDate:null,selecting:!1}),y=E=>{b.value=E},k=(E=!1)=>{const v=e.unref(m),N=e.unref(h);Ws([v,N])&&c("pick",[v,N],E)},C=E=>{b.value.selecting=E,E||(b.value.endDate=null)},w=E=>{if(ie(E)&&E.length===2){const[v,N]=E;m.value=v,r.value=v,h.value=N,i(e.unref(m),e.unref(h))}else S()},S=()=>{let[E,v]=td(e.unref(n),{lang:e.unref(p),step:l,unit:s,unlinkPanels:t.unlinkPanels});const N=T=>T.diff(T.startOf("d"),"ms"),P=e.unref(o);if(P){let T=0,V=0;if(ie(P)){const[x,O]=P.map(Pe);T=N(x),V=N(O)}else{const x=N(Pe(P));T=x,V=x}E=E.startOf("d").add(T,"ms"),v=v.startOf("d").add(V,"ms")}m.value=void 0,h.value=void 0,r.value=E,a.value=v};return e.watch(n,E=>{E&&S()},{immediate:!0}),e.watch(()=>t.parsedValue,E=>{(!(E!=null&&E.length)||!xt(E,[m.value,h.value]))&&w(E)},{immediate:!0}),e.watch(()=>t.visible,()=>{t.visible&&w(t.parsedValue)},{immediate:!0}),{minDate:m,maxDate:h,rangeState:b,lang:p,ppNs:d,drpNs:u,handleChangeRange:y,handleRangeConfirm:k,handleShortcutClick:g,onSelect:C,parseValue:w,t:f}},$j=(t,n,o,r)=>{const a=e.ref("date"),l=e.ref(),s=e.ref("date"),i=e.ref(),c=e.inject(po),{disabledDate:d}=c.props,{t:u,lang:f}=je(),p=e.computed(()=>o.value.year()),g=e.computed(()=>o.value.month()),m=e.computed(()=>r.value.year()),h=e.computed(()=>r.value.month());function b(E,v){const N=u("el.datepicker.year");if(E.value==="year"){const P=Math.floor(v.value/10)*10;return N?`${P} ${N} - ${P+9} ${N}`:`${P} - ${P+9}`}return`${v.value} ${N}`}function y(E){E==null||E.focus()}async function k(E,v){if(t.disabled)return;const N=E==="left"?a:s,P=E==="left"?l:i;N.value=v,await e.nextTick(),y(P.value)}async function C(E,v,N){if(t.disabled)return;const P=v==="left",T=P?o:r,V=P?r:o,x=P?a:s,O=P?l:i;if(E==="year"){const D=T.value.year(N);T.value=od(D,f.value,d)}E==="month"&&(T.value=Sl(T.value,T.value.year(),N,f.value,d)),t.unlinkPanels||(V.value=v==="left"?T.value.add(1,"month"):T.value.subtract(1,"month")),x.value=E==="year"?"month":"date",await e.nextTick(),y(O.value),w(E)}function w(E){n("panel-change",[o.value.toDate(),r.value.toDate()],E)}function S(E,v,N){const P=N?"add":"subtract";return E==="year"?v[P](10,"year"):v[P](1,"year")}return{leftCurrentView:a,rightCurrentView:s,leftCurrentViewRef:l,rightCurrentViewRef:i,leftYear:p,rightYear:m,leftMonth:g,rightMonth:h,leftYearLabel:e.computed(()=>b(a,p)),rightYearLabel:e.computed(()=>b(s,m)),showLeftPicker:E=>k("left",E),showRightPicker:E=>k("right",E),handleLeftYearPick:E=>C("year","left",E),handleRightYearPick:E=>C("year","right",E),handleLeftMonthPick:E=>C("month","left",E),handleRightMonthPick:E=>C("month","right",E),handlePanelChange:w,adjustDateByView:S}},Vj=["disabled","onClick"],Pj=["aria-label","disabled"],Rj=["aria-label","disabled"],Mj=["disabled","aria-label"],Ij=["disabled","aria-label"],Oj=["tabindex","aria-disabled"],Aj=["tabindex","aria-disabled"],zj=["disabled","aria-label"],Dj=["disabled","aria-label"],Lj=["aria-label","disabled"],_j=["disabled","aria-label"],Fj=["tabindex","aria-disabled"],Hj=["tabindex","aria-disabled"],ad="month";var Kj=e.defineComponent({__name:"panel-date-range",props:Tj,emits:["pick","set-picker-option","calendar-change","panel-change","clear"],setup(t,{emit:n}){const o=t,r=n,a=e.inject(po),l=e.inject(kl,void 0),{disabledDate:s,cellClassName:i,defaultTime:c,clearable:d}=a.props,u=e.toRef(a.props,"format"),f=e.toRef(a.props,"shortcuts"),p=e.toRef(a.props,"defaultValue"),{lang:g}=je(),m=e.ref(Pe().locale(g.value)),h=e.ref(Pe().locale(g.value).add(1,ad)),{minDate:b,maxDate:y,rangeState:k,ppNs:C,drpNs:w,handleChangeRange:S,handleRangeConfirm:E,handleShortcutClick:v,onSelect:N,parseValue:P,t:T}=Mp(o,{defaultValue:p,defaultTime:c,leftDate:m,rightDate:h,unit:ad,sortDates:rt});e.watch(()=>o.visible,ge=>{!ge&&k.value.selecting&&(P(o.parsedValue),N(!1))});const V=e.ref({min:null,max:null}),x=e.ref({min:null,max:null}),{leftCurrentView:O,rightCurrentView:D,leftCurrentViewRef:L,rightCurrentViewRef:H,leftYear:$,rightYear:B,leftMonth:M,rightMonth:I,leftYearLabel:z,rightYearLabel:F,showLeftPicker:A,showRightPicker:W,handleLeftYearPick:j,handleRightYearPick:G,handleLeftMonthPick:X,handleRightMonthPick:Q,handlePanelChange:J,adjustDateByView:Y}=$j(o,r,m,h),_=e.computed(()=>!!f.value.length),q=e.computed(()=>V.value.min!==null?V.value.min:b.value?b.value.format(Ve.value):""),le=e.computed(()=>V.value.max!==null?V.value.max:y.value||b.value?(y.value||b.value).format(Ve.value):""),ue=e.computed(()=>x.value.min!==null?x.value.min:b.value?b.value.format(Ee.value):""),Ce=e.computed(()=>x.value.max!==null?x.value.max:y.value||b.value?(y.value||b.value).format(Ee.value):""),Ee=e.computed(()=>o.timeFormat||Rm(u.value||"")||wa),Ve=e.computed(()=>o.dateFormat||Pm(u.value||"")||wr),Ie=ge=>Ws(ge)&&(s?!s(ge[0].toDate())&&!s(ge[1].toDate()):!0),qe=()=>{m.value=Y(O.value,m.value,!1),o.unlinkPanels||(h.value=m.value.add(1,"month")),J("year")},We=()=>{m.value=m.value.subtract(1,"month"),o.unlinkPanels||(h.value=m.value.add(1,"month")),J("month")},be=()=>{o.unlinkPanels?h.value=Y(D.value,h.value,!0):(m.value=Y(D.value,m.value,!0),h.value=m.value.add(1,"month")),J("year")},ye=()=>{o.unlinkPanels?h.value=h.value.add(1,"month"):(m.value=m.value.add(1,"month"),h.value=m.value.add(1,"month")),J("month")},Te=()=>{m.value=Y(O.value,m.value,!0),J("year")},Oe=()=>{m.value=m.value.add(1,"month"),J("month")},Fe=()=>{h.value=Y(D.value,h.value,!1),J("year")},Ue=()=>{h.value=h.value.subtract(1,"month"),J("month")},fe=e.computed(()=>{const ge=(M.value+1)%12,ke=M.value+1>=12?1:0;return o.unlinkPanels&&new Date($.value+ke,ge)o.unlinkPanels&&B.value*12+I.value-($.value*12+M.value+1)>=12),Se=kt(),pt=e.computed(()=>!(b.value&&y.value&&!k.value.selecting&&Ws([b.value,y.value])&&!Se.value)),bt=e.computed(()=>o.type==="datetime"||o.type==="datetimerange"),Be=(ge,ke)=>{if(ge)return c?Pe(c[ke]||c).locale(g.value).year(ge.year()).month(ge.month()).date(ge.date()):ge},ze=(ge,ke=!0)=>{const Le=ge.minDate,ln=ge.maxDate,$n=Be(Le,0),Io=Be(ln,1);y.value===Io&&b.value===$n||(r("calendar-change",[Le.toDate(),ln&&ln.toDate()]),y.value=Io,b.value=$n,!bt.value&&ke&&(ke=!$n||!Io),E(ke))},Ye=e.ref(!1),ne=e.ref(!1),me=()=>{Ye.value=!1},Z=()=>{ne.value=!1},de=(ge,ke)=>{V.value[ke]=ge;const Le=Pe(ge,Ve.value).locale(g.value);if(Le.isValid()){if(s&&s(Le.toDate()))return;ke==="min"?(m.value=Le,b.value=(b.value||m.value).year(Le.year()).month(Le.month()).date(Le.date()),!o.unlinkPanels&&(!y.value||y.value.isBefore(b.value))&&(h.value=Le.add(1,"month"),y.value=b.value.add(1,"month"))):(h.value=Le,y.value=(y.value||h.value).year(Le.year()).month(Le.month()).date(Le.date()),!o.unlinkPanels&&(!b.value||b.value.isAfter(y.value))&&(m.value=Le.subtract(1,"month"),b.value=y.value.subtract(1,"month"))),rt(b.value,y.value),E(!0)}},De=(ge,ke)=>{V.value[ke]=null},st=(ge,ke)=>{x.value[ke]=ge;const Le=Pe(ge,Ee.value).locale(g.value);Le.isValid()&&(ke==="min"?(Ye.value=!0,b.value=(b.value||m.value).hour(Le.hour()).minute(Le.minute()).second(Le.second()),m.value=b.value):(ne.value=!0,y.value=(y.value||h.value).hour(Le.hour()).minute(Le.minute()).second(Le.second()),h.value=y.value))},Tt=(ge,ke)=>{x.value[ke]=null,ke==="min"?(m.value=b.value,Ye.value=!1,(!y.value||y.value.isBefore(b.value))&&(y.value=b.value)):(h.value=y.value,ne.value=!1,y.value&&y.value.isBefore(b.value)&&(b.value=y.value)),E(!0)},Vt=(ge,ke,Le)=>{x.value.min||(ge&&(b.value=(b.value||m.value).hour(ge.hour()).minute(ge.minute()).second(ge.second())),Le||(Ye.value=ke),(!y.value||y.value.isBefore(b.value))&&(y.value=b.value,h.value=ge,e.nextTick(()=>{P(o.parsedValue)})),E(!0))},se=(ge,ke,Le)=>{x.value.max||(ge&&(y.value=(y.value||h.value).hour(ge.hour()).minute(ge.minute()).second(ge.second())),Le||(ne.value=ke),y.value&&y.value.isBefore(b.value)&&(b.value=y.value),E(!0))},he=()=>{Me(),r("clear")},Me=()=>{let ge=null;a!=null&&a.emptyValues&&(ge=a.emptyValues.valueOnClear.value),m.value=td(e.unref(p),{lang:e.unref(g),unit:"month",unlinkPanels:o.unlinkPanels})[0],h.value=m.value.add(1,"month"),y.value=void 0,b.value=void 0,E(!0),r("pick",ge)},St=ge=>El(ge,u.value||"",g.value,l);function rt(ge,ke){if(o.unlinkPanels&&ke){const Le=(ge==null?void 0:ge.year())||0,ln=(ge==null?void 0:ge.month())||0,$n=ke.year(),Io=ke.month();h.value=Le===$n&&ln===Io?ke.add(1,ad):ke}else h.value=m.value.add(1,ad),ke&&(h.value=h.value.hour(ke.hour()).minute(ke.minute()).second(ke.second()))}return r("set-picker-option",["isValidValue",Ie]),r("set-picker-option",["parseUserInput",St]),r("set-picker-option",["handleClear",Me]),(ge,ke)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass([e.unref(C).b(),e.unref(w).b(),e.unref(C).is("border",ge.border),e.unref(C).is("disabled",e.unref(Se)),{"has-sidebar":ge.$slots.sidebar||_.value,"has-time":bt.value}])},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(C).e("body-wrapper"))},[e.renderSlot(ge.$slots,"sidebar",{class:e.normalizeClass(e.unref(C).e("sidebar"))}),_.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(C).e("sidebar"))},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f.value,(Le,ln)=>(e.openBlock(),e.createElementBlock("button",{key:ln,type:"button",disabled:e.unref(Se),class:e.normalizeClass(e.unref(C).e("shortcut")),onClick:$n=>e.unref(v)(Le)},e.toDisplayString(Le.text),11,Vj))),128))],2)):e.createCommentVNode("v-if",!0),e.createElementVNode("div",{class:e.normalizeClass(e.unref(C).e("body"))},[bt.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(w).e("time-header"))},[e.createElementVNode("span",{class:e.normalizeClass(e.unref(w).e("editors-wrap"))},[e.createElementVNode("span",{class:e.normalizeClass(e.unref(w).e("time-picker-wrap"))},[e.createVNode(e.unref(un),{size:"small",disabled:e.unref(k).selecting||e.unref(Se),placeholder:e.unref(T)("el.datepicker.startDate"),class:e.normalizeClass(e.unref(w).e("editor")),"model-value":q.value,"validate-event":!1,readonly:!ge.editable,onInput:ke[0]||(ke[0]=Le=>de(Le,"min")),onChange:ke[1]||(ke[1]=Le=>De(Le,"min"))},null,8,["disabled","placeholder","class","model-value","readonly"])],2),e.withDirectives((e.openBlock(),e.createElementBlock("span",{class:e.normalizeClass(e.unref(w).e("time-picker-wrap"))},[e.createVNode(e.unref(un),{size:"small",class:e.normalizeClass(e.unref(w).e("editor")),disabled:e.unref(k).selecting||e.unref(Se),placeholder:e.unref(T)("el.datepicker.startTime"),"model-value":ue.value,"validate-event":!1,readonly:!ge.editable,onFocus:ke[2]||(ke[2]=Le=>Ye.value=!0),onInput:ke[3]||(ke[3]=Le=>st(Le,"min")),onChange:ke[4]||(ke[4]=Le=>Tt(Le,"min"))},null,8,["class","disabled","placeholder","model-value","readonly"]),e.createVNode(e.unref(Ds),{visible:Ye.value,format:Ee.value,"datetime-role":"start","parsed-value":e.unref(b)||m.value,onPick:Vt},null,8,["visible","format","parsed-value"])],2)),[[e.unref(Sr),me]])],2),e.createElementVNode("span",null,[e.createVNode(e.unref(ce),null,{default:e.withCtx(()=>[e.createVNode(e.unref(Cn))]),_:1})]),e.createElementVNode("span",{class:e.normalizeClass([e.unref(w).e("editors-wrap"),"is-right"])},[e.createElementVNode("span",{class:e.normalizeClass(e.unref(w).e("time-picker-wrap"))},[e.createVNode(e.unref(un),{size:"small",class:e.normalizeClass(e.unref(w).e("editor")),disabled:e.unref(k).selecting||e.unref(Se),placeholder:e.unref(T)("el.datepicker.endDate"),"model-value":le.value,readonly:!e.unref(b)||!ge.editable,"validate-event":!1,onInput:ke[5]||(ke[5]=Le=>de(Le,"max")),onChange:ke[6]||(ke[6]=Le=>De(Le,"max"))},null,8,["class","disabled","placeholder","model-value","readonly"])],2),e.withDirectives((e.openBlock(),e.createElementBlock("span",{class:e.normalizeClass(e.unref(w).e("time-picker-wrap"))},[e.createVNode(e.unref(un),{size:"small",class:e.normalizeClass(e.unref(w).e("editor")),disabled:e.unref(k).selecting||e.unref(Se),placeholder:e.unref(T)("el.datepicker.endTime"),"model-value":Ce.value,readonly:!e.unref(b)||!ge.editable,"validate-event":!1,onFocus:ke[7]||(ke[7]=Le=>e.unref(b)&&(ne.value=!0)),onInput:ke[8]||(ke[8]=Le=>st(Le,"max")),onChange:ke[9]||(ke[9]=Le=>Tt(Le,"max"))},null,8,["class","disabled","placeholder","model-value","readonly"]),e.createVNode(e.unref(Ds),{"datetime-role":"end",visible:ne.value,format:Ee.value,"parsed-value":e.unref(y)||h.value,onPick:se},null,8,["visible","format","parsed-value"])],2)),[[e.unref(Sr),Z]])],2)],2)):e.createCommentVNode("v-if",!0),e.createElementVNode("div",{class:e.normalizeClass([[e.unref(C).e("content"),e.unref(w).e("content")],"is-left"])},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(w).e("header"))},[e.createElementVNode("button",{type:"button",class:e.normalizeClass([e.unref(C).e("icon-btn"),"d-arrow-left"]),"aria-label":e.unref(T)("el.datepicker.prevYear"),disabled:e.unref(Se),onClick:qe},[e.renderSlot(ge.$slots,"prev-year",{},()=>[e.createVNode(e.unref(ce),null,{default:e.withCtx(()=>[e.createVNode(e.unref(Dr))]),_:1})])],10,Pj),e.withDirectives(e.createElementVNode("button",{type:"button",class:e.normalizeClass([e.unref(C).e("icon-btn"),"arrow-left"]),"aria-label":e.unref(T)("el.datepicker.prevMonth"),disabled:e.unref(Se),onClick:We},[e.renderSlot(ge.$slots,"prev-month",{},()=>[e.createVNode(e.unref(ce),null,{default:e.withCtx(()=>[e.createVNode(e.unref(gr))]),_:1})])],10,Rj),[[e.vShow,e.unref(O)==="date"]]),ge.unlinkPanels?(e.openBlock(),e.createElementBlock("button",{key:0,type:"button",disabled:!we.value||e.unref(Se),class:e.normalizeClass([[e.unref(C).e("icon-btn"),e.unref(C).is("disabled",!we.value||e.unref(Se))],"d-arrow-right"]),"aria-label":e.unref(T)("el.datepicker.nextYear"),onClick:Te},[e.renderSlot(ge.$slots,"next-year",{},()=>[e.createVNode(e.unref(ce),null,{default:e.withCtx(()=>[e.createVNode(e.unref(Lr))]),_:1})])],10,Mj)):e.createCommentVNode("v-if",!0),ge.unlinkPanels&&e.unref(O)==="date"?(e.openBlock(),e.createElementBlock("button",{key:1,type:"button",disabled:!fe.value||e.unref(Se),class:e.normalizeClass([[e.unref(C).e("icon-btn"),e.unref(C).is("disabled",!fe.value||e.unref(Se))],"arrow-right"]),"aria-label":e.unref(T)("el.datepicker.nextMonth"),onClick:Oe},[e.renderSlot(ge.$slots,"next-month",{},()=>[e.createVNode(e.unref(ce),null,{default:e.withCtx(()=>[e.createVNode(e.unref(Cn))]),_:1})])],10,Ij)):e.createCommentVNode("v-if",!0),e.createElementVNode("div",null,[e.createElementVNode("span",{role:"button",class:e.normalizeClass(e.unref(w).e("header-label")),"aria-live":"polite",tabindex:ge.disabled?void 0:0,"aria-disabled":ge.disabled,onKeydown:ke[10]||(ke[10]=e.withKeys(Le=>e.unref(A)("year"),["enter"])),onClick:ke[11]||(ke[11]=Le=>e.unref(A)("year"))},e.toDisplayString(e.unref(z)),43,Oj),e.withDirectives(e.createElementVNode("span",{role:"button","aria-live":"polite",tabindex:ge.disabled?void 0:0,"aria-disabled":ge.disabled,class:e.normalizeClass([e.unref(w).e("header-label"),{active:e.unref(O)==="month"}]),onKeydown:ke[12]||(ke[12]=e.withKeys(Le=>e.unref(A)("month"),["enter"])),onClick:ke[13]||(ke[13]=Le=>e.unref(A)("month"))},e.toDisplayString(e.unref(T)(`el.datepicker.month${m.value.month()+1}`)),43,Aj),[[e.vShow,e.unref(O)==="date"]])])],2),e.unref(O)==="date"?(e.openBlock(),e.createBlock(Rp,{key:0,ref_key:"leftCurrentViewRef",ref:L,"selection-mode":"range",date:m.value,"min-date":e.unref(b),"max-date":e.unref(y),"range-state":e.unref(k),"disabled-date":e.unref(s),"cell-class-name":e.unref(i),"show-week-number":ge.showWeekNumber,disabled:e.unref(Se),onChangerange:e.unref(S),onPick:ze,onSelect:e.unref(N)},null,8,["date","min-date","max-date","range-state","disabled-date","cell-class-name","show-week-number","disabled","onChangerange","onSelect"])):e.createCommentVNode("v-if",!0),e.unref(O)==="year"?(e.openBlock(),e.createBlock(Us,{key:1,ref_key:"leftCurrentViewRef",ref:L,"selection-mode":"year",date:m.value,"disabled-date":e.unref(s),"parsed-value":ge.parsedValue,disabled:e.unref(Se),onPick:e.unref(j)},null,8,["date","disabled-date","parsed-value","disabled","onPick"])):e.createCommentVNode("v-if",!0),e.unref(O)==="month"?(e.openBlock(),e.createBlock(js,{key:2,ref_key:"leftCurrentViewRef",ref:L,"selection-mode":"month",date:m.value,"parsed-value":ge.parsedValue,"disabled-date":e.unref(s),disabled:e.unref(Se),onPick:e.unref(X)},null,8,["date","parsed-value","disabled-date","disabled","onPick"])):e.createCommentVNode("v-if",!0)],2),e.createElementVNode("div",{class:e.normalizeClass([[e.unref(C).e("content"),e.unref(w).e("content")],"is-right"])},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(w).e("header"))},[ge.unlinkPanels?(e.openBlock(),e.createElementBlock("button",{key:0,type:"button",disabled:!we.value||e.unref(Se),class:e.normalizeClass([[e.unref(C).e("icon-btn"),e.unref(C).is("disabled",!we.value||e.unref(Se))],"d-arrow-left"]),"aria-label":e.unref(T)("el.datepicker.prevYear"),onClick:Fe},[e.renderSlot(ge.$slots,"prev-year",{},()=>[e.createVNode(e.unref(ce),null,{default:e.withCtx(()=>[e.createVNode(e.unref(Dr))]),_:1})])],10,zj)):e.createCommentVNode("v-if",!0),ge.unlinkPanels&&e.unref(D)==="date"?(e.openBlock(),e.createElementBlock("button",{key:1,type:"button",disabled:!fe.value||e.unref(Se),class:e.normalizeClass([[e.unref(C).e("icon-btn"),e.unref(C).is("disabled",!fe.value||e.unref(Se))],"arrow-left"]),"aria-label":e.unref(T)("el.datepicker.prevMonth"),onClick:Ue},[e.renderSlot(ge.$slots,"prev-month",{},()=>[e.createVNode(e.unref(ce),null,{default:e.withCtx(()=>[e.createVNode(e.unref(gr))]),_:1})])],10,Dj)):e.createCommentVNode("v-if",!0),e.createElementVNode("button",{type:"button","aria-label":e.unref(T)("el.datepicker.nextYear"),class:e.normalizeClass([e.unref(C).e("icon-btn"),"d-arrow-right"]),disabled:e.unref(Se),onClick:be},[e.renderSlot(ge.$slots,"next-year",{},()=>[e.createVNode(e.unref(ce),null,{default:e.withCtx(()=>[e.createVNode(e.unref(Lr))]),_:1})])],10,Lj),e.withDirectives(e.createElementVNode("button",{type:"button",class:e.normalizeClass([e.unref(C).e("icon-btn"),"arrow-right"]),disabled:e.unref(Se),"aria-label":e.unref(T)("el.datepicker.nextMonth"),onClick:ye},[e.renderSlot(ge.$slots,"next-month",{},()=>[e.createVNode(e.unref(ce),null,{default:e.withCtx(()=>[e.createVNode(e.unref(Cn))]),_:1})])],10,_j),[[e.vShow,e.unref(D)==="date"]]),e.createElementVNode("div",null,[e.createElementVNode("span",{role:"button",class:e.normalizeClass(e.unref(w).e("header-label")),"aria-live":"polite",tabindex:ge.disabled?void 0:0,"aria-disabled":ge.disabled,onKeydown:ke[14]||(ke[14]=e.withKeys(Le=>e.unref(W)("year"),["enter"])),onClick:ke[15]||(ke[15]=Le=>e.unref(W)("year"))},e.toDisplayString(e.unref(F)),43,Fj),e.withDirectives(e.createElementVNode("span",{role:"button","aria-live":"polite",tabindex:ge.disabled?void 0:0,"aria-disabled":ge.disabled,class:e.normalizeClass([e.unref(w).e("header-label"),{active:e.unref(D)==="month"}]),onKeydown:ke[16]||(ke[16]=e.withKeys(Le=>e.unref(W)("month"),["enter"])),onClick:ke[17]||(ke[17]=Le=>e.unref(W)("month"))},e.toDisplayString(e.unref(T)(`el.datepicker.month${h.value.month()+1}`)),43,Hj),[[e.vShow,e.unref(D)==="date"]])])],2),e.unref(D)==="date"?(e.openBlock(),e.createBlock(Rp,{key:0,ref_key:"rightCurrentViewRef",ref:H,"selection-mode":"range",date:h.value,"min-date":e.unref(b),"max-date":e.unref(y),"range-state":e.unref(k),"disabled-date":e.unref(s),"cell-class-name":e.unref(i),"show-week-number":ge.showWeekNumber,disabled:e.unref(Se),onChangerange:e.unref(S),onPick:ze,onSelect:e.unref(N)},null,8,["date","min-date","max-date","range-state","disabled-date","cell-class-name","show-week-number","disabled","onChangerange","onSelect"])):e.createCommentVNode("v-if",!0),e.unref(D)==="year"?(e.openBlock(),e.createBlock(Us,{key:1,ref_key:"rightCurrentViewRef",ref:H,"selection-mode":"year",date:h.value,"disabled-date":e.unref(s),"parsed-value":ge.parsedValue,disabled:e.unref(Se),onPick:e.unref(G)},null,8,["date","disabled-date","parsed-value","disabled","onPick"])):e.createCommentVNode("v-if",!0),e.unref(D)==="month"?(e.openBlock(),e.createBlock(js,{key:2,ref_key:"rightCurrentViewRef",ref:H,"selection-mode":"month",date:h.value,"parsed-value":ge.parsedValue,"disabled-date":e.unref(s),disabled:e.unref(Se),onPick:e.unref(Q)},null,8,["date","parsed-value","disabled-date","disabled","onPick"])):e.createCommentVNode("v-if",!0)],2)],2)],2),ge.showFooter&&bt.value&&(ge.showConfirm||e.unref(d))?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(C).e("footer"))},[e.unref(d)?(e.openBlock(),e.createBlock(e.unref(Gt),{key:0,text:"",size:"small",class:e.normalizeClass(e.unref(C).e("link-btn")),onClick:he},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(T)("el.datepicker.clear")),1)]),_:1},8,["class"])):e.createCommentVNode("v-if",!0),ge.showConfirm?(e.openBlock(),e.createBlock(e.unref(Gt),{key:1,plain:"",size:"small",class:e.normalizeClass(e.unref(C).e("link-btn")),disabled:pt.value,onClick:ke[18]||(ke[18]=Le=>e.unref(E)(!1))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(T)("el.datepicker.confirm")),1)]),_:1},8,["class","disabled"])):e.createCommentVNode("v-if",!0)],2)):e.createCommentVNode("v-if",!0)],2))}});const Wj=oe({...$p}),jj=["pick","set-picker-option","calendar-change"],Uj=({unlinkPanels:t,leftDate:n,rightDate:o})=>{const{t:r}=je(),a=()=>{n.value=n.value.subtract(1,"year"),t.value||(o.value=o.value.subtract(1,"year"))},l=()=>{t.value||(n.value=n.value.add(1,"year")),o.value=o.value.add(1,"year")},s=()=>{n.value=n.value.add(1,"year")},i=()=>{o.value=o.value.subtract(1,"year")},c=e.computed(()=>`${n.value.year()} ${r("el.datepicker.year")}`),d=e.computed(()=>`${o.value.year()} ${r("el.datepicker.year")}`),u=e.computed(()=>n.value.year()),f=e.computed(()=>o.value.year()===n.value.year()?n.value.year()+1:o.value.year());return{leftPrevYear:a,rightNextYear:l,leftNextYear:s,rightPrevYear:i,leftLabel:c,rightLabel:d,leftYear:u,rightYear:f}},Yj=["disabled","onClick"],Gj=["disabled"],qj=["disabled"],Xj=["disabled"],Zj=["disabled"],ld="year";var Jj=e.defineComponent({name:"DatePickerMonthRange",__name:"panel-month-range",props:Wj,emits:jj,setup(t,{emit:n}){const o=t,r=n,{lang:a}=je(),l=e.inject(po),s=e.inject(kl,void 0),{shortcuts:i,disabledDate:c,cellClassName:d}=l.props,u=e.toRef(l.props,"format"),f=e.toRef(l.props,"defaultValue"),p=e.ref(Pe().locale(a.value)),g=e.ref(Pe().locale(a.value).add(1,ld)),{minDate:m,maxDate:h,rangeState:b,ppNs:y,drpNs:k,handleChangeRange:C,handleRangeConfirm:w,handleShortcutClick:S,onSelect:E,parseValue:v}=Mp(o,{defaultValue:f,leftDate:p,rightDate:g,unit:ld,sortDates:z}),N=e.computed(()=>!!i.length),{leftPrevYear:P,rightNextYear:T,leftNextYear:V,rightPrevYear:x,leftLabel:O,rightLabel:D,leftYear:L,rightYear:H}=Uj({unlinkPanels:e.toRef(o,"unlinkPanels"),leftDate:p,rightDate:g}),$=e.computed(()=>o.unlinkPanels&&H.value>L.value+1),B=(A,W=!0)=>{const j=A.minDate,G=A.maxDate;h.value===G&&m.value===j||(r("calendar-change",[j.toDate(),G&&G.toDate()]),h.value=G,m.value=j,W&&w())},M=()=>{let A=null;l!=null&&l.emptyValues&&(A=l.emptyValues.valueOnClear.value),p.value=td(e.unref(f),{lang:e.unref(a),unit:"year",unlinkPanels:o.unlinkPanels})[0],g.value=p.value.add(1,"year"),r("pick",A)},I=A=>El(A,u.value,a.value,s);function z(A,W){if(o.unlinkPanels&&W){const j=(A==null?void 0:A.year())||0,G=W.year();g.value=j===G?W.add(1,ld):W}else g.value=p.value.add(1,ld)}const F=kt();return e.watch(()=>o.visible,A=>{!A&&b.value.selecting&&(v(o.parsedValue),E(!1))}),r("set-picker-option",["isValidValue",Ws]),r("set-picker-option",["parseUserInput",I]),r("set-picker-option",["handleClear",M]),(A,W)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass([e.unref(y).b(),e.unref(k).b(),e.unref(y).is("border",A.border),e.unref(y).is("disabled",e.unref(F)),{"has-sidebar":!!A.$slots.sidebar||N.value}])},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(y).e("body-wrapper"))},[e.renderSlot(A.$slots,"sidebar",{class:e.normalizeClass(e.unref(y).e("sidebar"))}),N.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(y).e("sidebar"))},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(i),(j,G)=>(e.openBlock(),e.createElementBlock("button",{key:G,type:"button",class:e.normalizeClass(e.unref(y).e("shortcut")),disabled:e.unref(F),onClick:X=>e.unref(S)(j)},e.toDisplayString(j.text),11,Yj))),128))],2)):e.createCommentVNode("v-if",!0),e.createElementVNode("div",{class:e.normalizeClass(e.unref(y).e("body"))},[e.createElementVNode("div",{class:e.normalizeClass([[e.unref(y).e("content"),e.unref(k).e("content")],"is-left"])},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(k).e("header"))},[e.createElementVNode("button",{type:"button",class:e.normalizeClass([e.unref(y).e("icon-btn"),"d-arrow-left"]),disabled:e.unref(F),onClick:W[0]||(W[0]=(...j)=>e.unref(P)&&e.unref(P)(...j))},[e.renderSlot(A.$slots,"prev-year",{},()=>[e.createVNode(e.unref(ce),null,{default:e.withCtx(()=>[e.createVNode(e.unref(Dr))]),_:1})])],10,Gj),A.unlinkPanels?(e.openBlock(),e.createElementBlock("button",{key:0,type:"button",disabled:!$.value||e.unref(F),class:e.normalizeClass([[e.unref(y).e("icon-btn"),e.unref(y).is("disabled",!$.value||e.unref(F))],"d-arrow-right"]),onClick:W[1]||(W[1]=(...j)=>e.unref(V)&&e.unref(V)(...j))},[e.renderSlot(A.$slots,"next-year",{},()=>[e.createVNode(e.unref(ce),null,{default:e.withCtx(()=>[e.createVNode(e.unref(Lr))]),_:1})])],10,qj)):e.createCommentVNode("v-if",!0),e.createElementVNode("div",null,e.toDisplayString(e.unref(O)),1)],2),e.createVNode(js,{"selection-mode":"range",date:p.value,"min-date":e.unref(m),"max-date":e.unref(h),"range-state":e.unref(b),"disabled-date":e.unref(c),disabled:e.unref(F),"cell-class-name":e.unref(d),onChangerange:e.unref(C),onPick:B,onSelect:e.unref(E)},null,8,["date","min-date","max-date","range-state","disabled-date","disabled","cell-class-name","onChangerange","onSelect"])],2),e.createElementVNode("div",{class:e.normalizeClass([[e.unref(y).e("content"),e.unref(k).e("content")],"is-right"])},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(k).e("header"))},[A.unlinkPanels?(e.openBlock(),e.createElementBlock("button",{key:0,type:"button",disabled:!$.value||e.unref(F),class:e.normalizeClass([[e.unref(y).e("icon-btn"),e.unref(y).is("disabled",!$.value||e.unref(F))],"d-arrow-left"]),onClick:W[2]||(W[2]=(...j)=>e.unref(x)&&e.unref(x)(...j))},[e.renderSlot(A.$slots,"prev-year",{},()=>[e.createVNode(e.unref(ce),null,{default:e.withCtx(()=>[e.createVNode(e.unref(Dr))]),_:1})])],10,Xj)):e.createCommentVNode("v-if",!0),e.createElementVNode("button",{type:"button",class:e.normalizeClass([e.unref(y).e("icon-btn"),"d-arrow-right"]),disabled:e.unref(F),onClick:W[3]||(W[3]=(...j)=>e.unref(T)&&e.unref(T)(...j))},[e.renderSlot(A.$slots,"next-year",{},()=>[e.createVNode(e.unref(ce),null,{default:e.withCtx(()=>[e.createVNode(e.unref(Lr))]),_:1})])],10,Zj),e.createElementVNode("div",null,e.toDisplayString(e.unref(D)),1)],2),e.createVNode(js,{"selection-mode":"range",date:g.value,"min-date":e.unref(m),"max-date":e.unref(h),"range-state":e.unref(b),"disabled-date":e.unref(c),disabled:e.unref(F),"cell-class-name":e.unref(d),onChangerange:e.unref(C),onPick:B,onSelect:e.unref(E)},null,8,["date","min-date","max-date","range-state","disabled-date","disabled","cell-class-name","onChangerange","onSelect"])],2)],2)],2)],2))}});const Qj=oe({...$p}),e7=["pick","set-picker-option","calendar-change"],t7=({unlinkPanels:t,leftDate:n,rightDate:o})=>{const r=()=>{n.value=n.value.subtract(10,"year"),t.value||(o.value=o.value.subtract(10,"year"))},a=()=>{t.value||(n.value=n.value.add(10,"year")),o.value=o.value.add(10,"year")},l=()=>{n.value=n.value.add(10,"year")},s=()=>{o.value=o.value.subtract(10,"year")},i=e.computed(()=>{const f=Math.floor(n.value.year()/10)*10;return`${f}-${f+9}`}),c=e.computed(()=>{const f=Math.floor(o.value.year()/10)*10;return`${f}-${f+9}`}),d=e.computed(()=>Math.floor(n.value.year()/10)*10+9),u=e.computed(()=>Math.floor(o.value.year()/10)*10);return{leftPrevYear:r,rightNextYear:a,leftNextYear:l,rightPrevYear:s,leftLabel:i,rightLabel:c,leftYear:d,rightYear:u}},n7=["disabled","onClick"],o7=["disabled"],r7=["disabled"],a7=["disabled"],l7=["disabled"],vl=10,Ys="year";var s7=e.defineComponent({name:"DatePickerYearRange",__name:"panel-year-range",props:Qj,emits:e7,setup(t,{emit:n}){const o=t,r=n,{lang:a}=je(),l=e.ref(Pe().locale(a.value)),s=e.ref(Pe().locale(a.value).add(vl,Ys)),i=e.inject(kl,void 0),c=e.inject(po),{shortcuts:d,disabledDate:u,cellClassName:f}=c.props,p=e.toRef(c.props,"format"),g=e.toRef(c.props,"defaultValue"),{minDate:m,maxDate:h,rangeState:b,ppNs:y,drpNs:k,handleChangeRange:C,handleRangeConfirm:w,handleShortcutClick:S,onSelect:E,parseValue:v}=Mp(o,{defaultValue:g,leftDate:l,rightDate:s,step:vl,unit:Ys,sortDates:G}),{leftPrevYear:N,rightNextYear:P,leftNextYear:T,rightPrevYear:V,leftLabel:x,rightLabel:O,leftYear:D,rightYear:L}=t7({unlinkPanels:e.toRef(o,"unlinkPanels"),leftDate:l,rightDate:s}),H=kt(),$=e.computed(()=>!!d.length),B=e.computed(()=>[y.b(),k.b(),y.is("border",o.border),y.is("disabled",H.value),{"has-sidebar":!!e.useSlots().sidebar||$.value}]),M=e.computed(()=>({content:[y.e("content"),k.e("content"),"is-left"],arrowLeftBtn:[y.e("icon-btn"),"d-arrow-left"],arrowRightBtn:[y.e("icon-btn"),y.is("disabled",!z.value||H.value),"d-arrow-right"]})),I=e.computed(()=>({content:[y.e("content"),k.e("content"),"is-right"],arrowLeftBtn:[y.e("icon-btn"),y.is("disabled",!z.value||H.value),"d-arrow-left"],arrowRightBtn:[y.e("icon-btn"),"d-arrow-right"]})),z=e.computed(()=>o.unlinkPanels&&L.value>D.value+1),F=(X,Q=!0)=>{const J=X.minDate,Y=X.maxDate;h.value===Y&&m.value===J||(r("calendar-change",[J.toDate(),Y&&Y.toDate()]),h.value=Y,m.value=J,Q&&w())},A=X=>El(X,p.value,a.value,i),W=X=>Ws(X)&&(u?!u(X[0].toDate())&&!u(X[1].toDate()):!0),j=()=>{let X=null;c!=null&&c.emptyValues&&(X=c.emptyValues.valueOnClear.value);const Q=td(e.unref(g),{lang:e.unref(a),step:vl,unit:Ys,unlinkPanels:o.unlinkPanels});l.value=Q[0],s.value=Q[1],r("pick",X)};function G(X,Q){if(o.unlinkPanels&&Q){const J=(X==null?void 0:X.year())||0,Y=Q.year();s.value=J+vl>Y?Q.add(vl,Ys):Q}else s.value=l.value.add(vl,Ys)}return e.watch(()=>o.visible,X=>{!X&&b.value.selecting&&(v(o.parsedValue),E(!1))}),r("set-picker-option",["isValidValue",W]),r("set-picker-option",["parseUserInput",A]),r("set-picker-option",["handleClear",j]),(X,Q)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(B.value)},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(y).e("body-wrapper"))},[e.renderSlot(X.$slots,"sidebar",{class:e.normalizeClass(e.unref(y).e("sidebar"))}),$.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(y).e("sidebar"))},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(d),(J,Y)=>(e.openBlock(),e.createElementBlock("button",{key:Y,type:"button",class:e.normalizeClass(e.unref(y).e("shortcut")),disabled:e.unref(H),onClick:_=>e.unref(S)(J)},e.toDisplayString(J.text),11,n7))),128))],2)):e.createCommentVNode("v-if",!0),e.createElementVNode("div",{class:e.normalizeClass(e.unref(y).e("body"))},[e.createElementVNode("div",{class:e.normalizeClass(M.value.content)},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(k).e("header"))},[e.createElementVNode("button",{type:"button",class:e.normalizeClass(M.value.arrowLeftBtn),disabled:e.unref(H),onClick:Q[0]||(Q[0]=(...J)=>e.unref(N)&&e.unref(N)(...J))},[e.renderSlot(X.$slots,"prev-year",{},()=>[e.createVNode(e.unref(ce),null,{default:e.withCtx(()=>[e.createVNode(e.unref(Dr))]),_:1})])],10,o7),X.unlinkPanels?(e.openBlock(),e.createElementBlock("button",{key:0,type:"button",disabled:!z.value||e.unref(H),class:e.normalizeClass(M.value.arrowRightBtn),onClick:Q[1]||(Q[1]=(...J)=>e.unref(T)&&e.unref(T)(...J))},[e.renderSlot(X.$slots,"next-year",{},()=>[e.createVNode(e.unref(ce),null,{default:e.withCtx(()=>[e.createVNode(e.unref(Lr))]),_:1})])],10,r7)):e.createCommentVNode("v-if",!0),e.createElementVNode("div",null,e.toDisplayString(e.unref(x)),1)],2),e.createVNode(Us,{"selection-mode":"range",date:l.value,"min-date":e.unref(m),"max-date":e.unref(h),"range-state":e.unref(b),"disabled-date":e.unref(u),disabled:e.unref(H),"cell-class-name":e.unref(f),onChangerange:e.unref(C),onPick:F,onSelect:e.unref(E)},null,8,["date","min-date","max-date","range-state","disabled-date","disabled","cell-class-name","onChangerange","onSelect"])],2),e.createElementVNode("div",{class:e.normalizeClass(I.value.content)},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(k).e("header"))},[X.unlinkPanels?(e.openBlock(),e.createElementBlock("button",{key:0,type:"button",disabled:!z.value||e.unref(H),class:e.normalizeClass(I.value.arrowLeftBtn),onClick:Q[2]||(Q[2]=(...J)=>e.unref(V)&&e.unref(V)(...J))},[e.renderSlot(X.$slots,"prev-year",{},()=>[e.createVNode(e.unref(ce),null,{default:e.withCtx(()=>[e.createVNode(e.unref(Dr))]),_:1})])],10,a7)):e.createCommentVNode("v-if",!0),e.createElementVNode("button",{type:"button",class:e.normalizeClass(I.value.arrowRightBtn),disabled:e.unref(H),onClick:Q[3]||(Q[3]=(...J)=>e.unref(P)&&e.unref(P)(...J))},[e.renderSlot(X.$slots,"next-year",{},()=>[e.createVNode(e.unref(ce),null,{default:e.withCtx(()=>[e.createVNode(e.unref(Lr))]),_:1})])],10,l7),e.createElementVNode("div",null,e.toDisplayString(e.unref(O)),1)],2),e.createVNode(Us,{"selection-mode":"range",date:s.value,"min-date":e.unref(m),"max-date":e.unref(h),"range-state":e.unref(b),"disabled-date":e.unref(u),disabled:e.unref(H),"cell-class-name":e.unref(f),onChangerange:e.unref(C),onPick:F,onSelect:e.unref(E)},null,8,["date","min-date","max-date","range-state","disabled-date","disabled","cell-class-name","onChangerange","onSelect"])],2)],2)],2)],2))}});const i7=function(t){switch(t){case"daterange":case"datetimerange":return Kj;case"monthrange":return Jj;case"yearrange":return s7;default:return Bj}};function c7(t){return typeof t=="function"||Object.prototype.toString.call(t)==="[object Object]"&&!e.isVNode(t)}Pe.extend(aS),Pe.extend(X9),Pe.extend(xm),Pe.extend(Z9),Pe.extend(J9),Pe.extend(Q9),Pe.extend(ej),Pe.extend(tj);var d7=e.defineComponent({name:"ElDatePickerPanel",install:null,inheritAttrs:!1,props:RE,emits:[Ne,"calendar-change","panel-change","visible-change","clear"],setup(t,{slots:n,emit:o,attrs:r}){const a=ee("picker-panel"),l=e.inject(po,void 0);if(Xe(l)){const f=e.reactive({...e.toRefs(t)});e.provide(po,{props:f})}e.provide(ed,{slots:n,pickerNs:a});const{parsedValue:s,onCalendarChange:i,onPanelChange:c,onSetPickerOption:d,onPick:u}=e.inject(Vm,()=>I1(t,o),!0);return()=>{const f=i7(t.type);return e.createVNode(f,e.mergeProps(qa(r,"onPick"),t,{parsedValue:s.value,"onSet-picker-option":d,"onCalendar-change":i,"onPanel-change":c,onClear:()=>o("clear"),onPick:u}),c7(n)?n:{default:()=>[n]})}}});const Ip=Re(d7),IE=oe({...Kc,type:{type:K(String),default:"date"}});function u7(t){return typeof t=="function"||Object.prototype.toString.call(t)==="[object Object]"&&!e.isVNode(t)}var f7=e.defineComponent({name:"ElDatePicker",install:null,props:IE,emits:[Ne],setup(t,{expose:n,emit:o,slots:r}){const a=e.computed(()=>!t.format);e.provide(kl,a),e.provide(_c,e.reactive(e.toRef(t,"popperOptions")));const l=e.ref();n({focus:()=>{var c;(c=l.value)==null||c.focus()},blur:()=>{var c;(c=l.value)==null||c.blur()},handleOpen:()=>{var c;(c=l.value)==null||c.handleOpen()},handleClose:()=>{var c;(c=l.value)==null||c.handleClose()}});const i=c=>{o(Ne,c)};return()=>{var c;const d=(c=t.format)!=null?c:M1[t.type]||wr;return e.createVNode(Lm,e.mergeProps(t,{format:d,type:t.type,ref:l,"onUpdate:modelValue":i}),{default:u=>e.createVNode(Ip,e.mergeProps({disabled:t.disabled,editable:t.editable,border:!1},u),u7(r)?r:{default:()=>[r]}),"range-separator":r["range-separator"]})}}});const OE=Re(f7),AE=oe({border:Boolean,column:{type:Number,default:3},direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},size:Ht,title:{type:String,default:""},extra:{type:String,default:""},labelWidth:{type:[String,Number]}}),m7=oe({row:{type:K(Array),default:()=>[]}}),Op=Symbol("elDescriptions");var Gs=e.defineComponent({name:"ElDescriptionsCell",props:{cell:{type:Object},tag:{type:String,default:"td"},type:{type:String}},setup(){return{descriptions:e.inject(Op,{})}},render(){var t,n,o,r;const a=FF(this.cell),l=(((t=this.cell)==null?void 0:t.dirs)||[]).map(w=>{const{dir:S,arg:E,modifiers:v,value:N}=w;return[S,N,E,v]}),{border:s,direction:i}=this.descriptions,c=i==="vertical",d=()=>{var w,S,E;return((E=(S=(w=this.cell)==null?void 0:w.children)==null?void 0:S.label)==null?void 0:E.call(S))||a.label},u=()=>{var w,S,E;return(E=(S=(w=this.cell)==null?void 0:w.children)==null?void 0:S.default)==null?void 0:E.call(S)},f=a.span,p=a.rowspan,g=a.align?`is-${a.align}`:"",m=a.labelAlign?`is-${a.labelAlign}`:g,h=a.className,b=a.labelClassName,y=this.type==="label"&&(o=(n=a.labelWidth)!=null?n:this.descriptions.labelWidth)!=null?o:a.width,k={width:$t(y),minWidth:$t(a.minWidth)},C=ee("descriptions");switch(this.type){case"label":return e.withDirectives(e.h(this.tag,{style:k,class:[C.e("cell"),C.e("label"),C.is("bordered-label",s),C.is("vertical-label",c),m,b],colSpan:c?f:1,rowspan:c?1:p},d()),l);case"content":return e.withDirectives(e.h(this.tag,{style:k,class:[C.e("cell"),C.e("content"),C.is("bordered-content",s),C.is("vertical-content",c),g,h],colSpan:c?f:f*2-1,rowspan:c?p*2-1:p},u()),l);default:{const w=d(),S={},E=$t((r=a.labelWidth)!=null?r:this.descriptions.labelWidth);return E&&(S.width=E,S.display="inline-block"),e.withDirectives(e.h("td",{style:k,class:[C.e("cell"),g],colSpan:f,rowspan:p},[Rt(w)?void 0:e.h("span",{style:S,class:[C.e("label"),b]},w),e.h("span",{class:[C.e("content"),h]},u())]),l)}}}});const p7={key:1};var h7=e.defineComponent({name:"ElDescriptionsRow",__name:"descriptions-row",props:m7,setup(t){const n=e.inject(Op,{});return(o,r)=>e.unref(n).direction==="vertical"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.row,(a,l)=>(e.openBlock(),e.createBlock(e.unref(Gs),{key:`tr1-${l}`,cell:a,tag:"th",type:"label"},null,8,["cell"]))),128))]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.row,(a,l)=>(e.openBlock(),e.createBlock(e.unref(Gs),{key:`tr2-${l}`,cell:a,tag:"td",type:"content"},null,8,["cell"]))),128))])],64)):(e.openBlock(),e.createElementBlock("tr",p7,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.row,(a,l)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:`tr3-${l}`},[e.unref(n).border?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createVNode(e.unref(Gs),{cell:a,tag:"td",type:"label"},null,8,["cell"]),e.createVNode(e.unref(Gs),{cell:a,tag:"td",type:"content"},null,8,["cell"])],64)):(e.openBlock(),e.createBlock(e.unref(Gs),{key:1,cell:a,tag:"td",type:"both"},null,8,["cell"]))],64))),128))]))}});const zE="ElDescriptionsItem";var g7=e.defineComponent({name:"ElDescriptions",__name:"description",props:AE,setup(t){const n=t,o=ee("descriptions"),r=zt(),a=e.useSlots();e.provide(Op,n);const l=e.computed(()=>[o.b(),o.m(r.value)]),s=(c,d,u,f=!1)=>(c.props||(c.props={}),d>u&&(c.props.span=u),f&&(c.props.span=d),c),i=()=>{if(!a.default)return[];const c=Yn(a.default()).filter(m=>{var h;return((h=m==null?void 0:m.type)==null?void 0:h.name)===zE}),d=[];let u=[],f=n.column,p=0;const g=[];return c.forEach((m,h)=>{var b,y,k;const C=((b=m.props)==null?void 0:b.span)||1,w=((y=m.props)==null?void 0:y.rowspan)||1,S=d.length;if(g[S]||(g[S]=0),w>1)for(let E=1;E0&&(f-=g[S],g[S]=0),hf?f:C),h===c.length-1){const E=n.column-p%n.column;u.push(s(m,E,f,!0)),d.push(u);return}C(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(l.value)},[t.title||t.extra||c.$slots.title||c.$slots.extra?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(o).e("header"))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(o).e("title"))},[e.renderSlot(c.$slots,"title",{},()=>[e.createTextVNode(e.toDisplayString(t.title),1)])],2),e.createElementVNode("div",{class:e.normalizeClass(e.unref(o).e("extra"))},[e.renderSlot(c.$slots,"extra",{},()=>[e.createTextVNode(e.toDisplayString(t.extra),1)])],2)],2)):e.createCommentVNode("v-if",!0),e.createElementVNode("div",{class:e.normalizeClass(e.unref(o).e("body"))},[e.createElementVNode("table",{class:e.normalizeClass([e.unref(o).e("table"),e.unref(o).is("bordered",t.border)])},[e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i(),(u,f)=>(e.openBlock(),e.createBlock(h7,{key:f,row:u},null,8,["row"]))),128))])],2)],2)],2))}});const DE=oe({label:{type:String,default:""},span:{type:Number,default:1},rowspan:{type:Number,default:1},width:{type:[String,Number],default:""},minWidth:{type:[String,Number],default:""},labelWidth:{type:[String,Number]},align:{type:String,values:Fd,default:"left"},labelAlign:{type:String,values:Fd},className:{type:String,default:""},labelClassName:{type:String,default:""}}),LE=e.defineComponent({name:zE,props:DE}),_E=Re(g7,{DescriptionsItem:LE}),FE=Bt(LE),HE=oe({center:Boolean,alignCenter:{type:Boolean,default:void 0},closeIcon:{type:dt},draggable:{type:Boolean,default:void 0},overflow:{type:Boolean,default:void 0},fullscreen:Boolean,headerClass:String,bodyClass:String,footerClass:String,showClose:{type:Boolean,default:!0},title:{type:String,default:""},ariaLevel:{type:String,default:"2"}}),b7={close:()=>!0},y7={alignCenter:void 0,draggable:void 0,overflow:void 0,showClose:!0,title:"",ariaLevel:"2"},Ap=oe({...HE,appendToBody:Boolean,appendTo:{type:Ps.to.type,default:"body"},beforeClose:{type:K(Function)},destroyOnClose:Boolean,closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},modal:{type:Boolean,default:!0},modalPenetrable:Boolean,openDelay:{type:Number,default:0},closeDelay:{type:Number,default:0},top:{type:String},modelValue:Boolean,modalClass:String,headerClass:String,bodyClass:String,footerClass:String,width:{type:[String,Number]},zIndex:{type:Number},trapFocus:Boolean,headerAriaLevel:{type:String,default:"2"},transition:{type:K([String,Object]),default:void 0}}),zp={open:()=>!0,opened:()=>!0,close:()=>!0,closed:()=>!0,[Ne]:t=>ct(t),openAutoFocus:()=>!0,closeAutoFocus:()=>!0},C7=Symbol("dialogContextKey"),w7={...y7,appendTo:"body",closeOnClickModal:!0,closeOnPressEscape:!0,lockScroll:!0,modal:!0,openDelay:0,closeDelay:0,headerAriaLevel:"2",transition:void 0},KE=oe({mask:{type:Boolean,default:!0},customMaskEvent:Boolean,overlayClass:{type:K([String,Array,Object])},zIndex:{type:K([String,Number])}}),WE={click:t=>t instanceof MouseEvent},k7="overlay";var S7=e.defineComponent({name:"ElOverlay",props:KE,emits:WE,setup(t,{slots:n,emit:o}){const r=ee(k7),a=c=>{o("click",c)},{onClick:l,onMousedown:s,onMouseup:i}=dc(t.customMaskEvent?void 0:a);return()=>t.mask?e.createVNode("div",{class:[r.b(),t.overlayClass],style:{zIndex:t.zIndex},onClick:l,onMousedown:s,onMouseup:i},[e.renderSlot(n,"default")],io.STYLE|io.CLASS|io.PROPS,["onClick","onMouseup","onMousedown"]):e.h("div",{class:t.overlayClass,style:{zIndex:t.zIndex,position:"fixed",top:"0px",right:"0px",bottom:"0px",left:"0px"}},[e.renderSlot(n,"default")])}});const sd=S7,Dp=Symbol("dialogInjectionKey"),Lp="dialog-fade",E7=["aria-level"],v7=["aria-label"],N7=["id"];var B7=e.defineComponent({name:"ElDialogContent",__name:"dialog-content",props:HE,emits:b7,setup(t,{expose:n}){const{t:o}=je(),{Close:r}=VC,a=t,{dialogRef:l,headerRef:s,bodyId:i,ns:c,style:d}=e.inject(Dp),{focusTrapRef:u}=e.inject(wk),f=Cf(u,l),p=e.computed(()=>!!a.draggable),g=e.computed(()=>!!a.overflow),{resetPosition:m,updatePosition:h,isDragging:b}=kf(l,s,p,g),y=e.computed(()=>[c.b(),c.is("fullscreen",a.fullscreen),c.is("draggable",p.value),c.is("dragging",b.value),c.is("align-center",!!a.alignCenter),{[c.m("center")]:a.center}]);return n({resetPosition:m,updatePosition:h}),(k,C)=>(e.openBlock(),e.createElementBlock("div",{ref:e.unref(f),class:e.normalizeClass(y.value),style:e.normalizeStyle(e.unref(d)),tabindex:"-1"},[e.createElementVNode("header",{ref_key:"headerRef",ref:s,class:e.normalizeClass([e.unref(c).e("header"),t.headerClass,{"show-close":t.showClose}])},[e.renderSlot(k.$slots,"header",{},()=>[e.createElementVNode("span",{role:"heading","aria-level":t.ariaLevel,class:e.normalizeClass(e.unref(c).e("title"))},e.toDisplayString(t.title),11,E7)]),t.showClose?(e.openBlock(),e.createElementBlock("button",{key:0,"aria-label":e.unref(o)("el.dialog.close"),class:e.normalizeClass(e.unref(c).e("headerbtn")),type:"button",onClick:C[0]||(C[0]=w=>k.$emit("close"))},[e.createVNode(e.unref(ce),{class:e.normalizeClass(e.unref(c).e("close"))},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.closeIcon||e.unref(r))))]),_:1},8,["class"])],10,v7)):e.createCommentVNode("v-if",!0)],2),e.createElementVNode("div",{id:e.unref(i),class:e.normalizeClass([e.unref(c).e("body"),t.bodyClass])},[e.renderSlot(k.$slots,"default")],10,N7),k.$slots.footer?(e.openBlock(),e.createElementBlock("footer",{key:0,class:e.normalizeClass([e.unref(c).e("footer"),t.footerClass])},[e.renderSlot(k.$slots,"footer")],2)):e.createCommentVNode("v-if",!0)],6))}});const _p=(t,n)=>{var o;const a=e.getCurrentInstance().emit,{nextZIndex:l}=sl();let s="";const i=en(),c=en(),d=e.ref(!1),u=e.ref(!1),f=e.ref(!1),p=e.ref((o=t.zIndex)!=null?o:l()),g=e.ref(!1);let m,h;const b=ga(),y=e.computed(()=>{var F,A;return(A=(F=b.value)==null?void 0:F.namespace)!=null?A:Qa}),k=e.computed(()=>{var F;return(F=b.value)==null?void 0:F.dialog}),C=e.computed(()=>{const F={},A=`--${y.value}-dialog`;if(!t.fullscreen){t.top&&(F[`${A}-margin-top`]=t.top);const W=$t(t.width);W&&(F[`${A}-width`]=W)}return F}),w=e.computed(()=>{var F,A,W;return((W=(A=t.draggable)!=null?A:(F=k.value)==null?void 0:F.draggable)!=null?W:!1)&&!t.fullscreen}),S=e.computed(()=>{var F,A,W;return(W=(A=t.alignCenter)!=null?A:(F=k.value)==null?void 0:F.alignCenter)!=null?W:!1}),E=e.computed(()=>{var F,A,W;return(W=(A=t.overflow)!=null?A:(F=k.value)==null?void 0:F.overflow)!=null?W:!1}),v=e.computed(()=>S.value?{display:"flex"}:{}),N=e.computed(()=>{var F,A,W;const j=(W=(A=t.transition)!=null?A:(F=k.value)==null?void 0:F.transition)!=null?W:Lp,G={name:j,onAfterEnter:P,onBeforeLeave:V,onAfterLeave:T};if(tt(j)){const X={...j},Q=(J,Y)=>_=>{ie(J)?J.forEach(q=>{Ae(q)&&q(_)}):Ae(J)&&J(_),Y()};return X.onAfterEnter=Q(X.onAfterEnter,P),X.onBeforeLeave=Q(X.onBeforeLeave,V),X.onAfterLeave=Q(X.onAfterLeave,T),X.name||(X.name=Lp),X}return G});function P(){a("opened")}function T(){a("closed"),a(Ne,!1),t.destroyOnClose&&(f.value=!1),g.value=!1}function V(){g.value=!0,a("close")}function x(){h==null||h(),m==null||m(),t.openDelay&&t.openDelay>0?{stop:m}=Oa(()=>H(),t.openDelay):H()}function O(){m==null||m(),h==null||h(),t.closeDelay&&t.closeDelay>0?{stop:h}=Oa(()=>$(),t.closeDelay):$()}function D(){function F(A){A||(u.value=!0,d.value=!1)}t.beforeClose?t.beforeClose(F):O()}function L(){t.closeOnClickModal&&D()}function H(){Je&&(d.value=!0)}function $(){d.value=!1}function B(){a("openAutoFocus")}function M(){a("closeAutoFocus")}function I(F){var A;((A=F.detail)==null?void 0:A.focusReason)==="pointer"&&F.preventDefault()}t.lockScroll&&bs(d);function z(){t.closeOnPressEscape&&D()}return e.watch(()=>t.zIndex,()=>{var F;p.value=(F=t.zIndex)!=null?F:l()}),e.watch(()=>t.modelValue,F=>{var A;F?(u.value=!1,g.value=!1,x(),f.value=!0,p.value=(A=t.zIndex)!=null?A:l(),e.nextTick(()=>{a("open"),n.value&&(n.value.parentElement.scrollTop=0,n.value.parentElement.scrollLeft=0,n.value.scrollTop=0)})):d.value&&O()}),e.watch(()=>t.fullscreen,F=>{n.value&&(F?(s=n.value.style.transform,n.value.style.transform=""):n.value.style.transform=s)}),e.onMounted(()=>{t.modelValue&&(d.value=!0,f.value=!0,x())}),{afterEnter:P,afterLeave:T,beforeLeave:V,handleClose:D,onModalClick:L,close:O,doClose:$,onOpenAutoFocus:B,onCloseAutoFocus:M,onCloseRequested:z,onFocusoutPrevented:I,titleId:i,bodyId:c,closed:u,style:C,overlayDialogStyle:v,rendered:f,visible:d,zIndex:p,transitionConfig:N,_draggable:w,_alignCenter:S,_overflow:E,closing:g}},T7=["aria-label","aria-labelledby","aria-describedby"];var x7=e.defineComponent({name:"ElDialog",inheritAttrs:!1,__name:"dialog",props:Ap,emits:zp,setup(t,{expose:n}){const o=t,r=e.useSlots();No({scope:"el-dialog",from:"the title slot",replacement:"the header slot",version:"3.0.0",ref:"https://element-plus.org/en-US/component/dialog.html#slots"},e.computed(()=>!!r.title));const a=ee("dialog"),l=e.ref(),s=e.ref(),i=e.ref(),{visible:c,titleId:d,bodyId:u,style:f,overlayDialogStyle:p,rendered:g,transitionConfig:m,zIndex:h,_draggable:b,_alignCenter:y,_overflow:k,handleClose:C,onModalClick:w,onOpenAutoFocus:S,onCloseAutoFocus:E,onCloseRequested:v,onFocusoutPrevented:N,closing:P}=_p(o,l);e.provide(Dp,{dialogRef:l,headerRef:s,bodyId:u,ns:a,rendered:g,style:f});const T=dc(w),V=e.computed(()=>o.modalPenetrable&&!o.modal&&!o.fullscreen);return n({visible:c,dialogContentRef:i,resetPosition:()=>{var O;(O=i.value)==null||O.resetPosition()},handleClose:C}),(O,D)=>(e.openBlock(),e.createBlock(e.unref(pl),{to:t.appendTo,disabled:t.appendTo!=="body"?!1:!t.appendToBody},{default:e.withCtx(()=>[e.createVNode(e.Transition,e.mergeProps(e.unref(m),{persisted:""}),{default:e.withCtx(()=>{var L;return[e.withDirectives(e.createVNode(e.unref(sd),{"custom-mask-event":"",mask:t.modal,"overlay-class":[(L=t.modalClass)!=null?L:"",`${e.unref(a).namespace.value}-modal-dialog`,e.unref(a).is("penetrable",V.value)],"z-index":e.unref(h)},{default:e.withCtx(()=>[e.createElementVNode("div",{role:"dialog","aria-modal":"true","aria-label":t.title||void 0,"aria-labelledby":t.title?void 0:e.unref(d),"aria-describedby":e.unref(u),class:e.normalizeClass([`${e.unref(a).namespace.value}-overlay-dialog`,e.unref(a).is("closing",e.unref(P))]),style:e.normalizeStyle(e.unref(p)),onClick:D[0]||(D[0]=(...H)=>e.unref(T).onClick&&e.unref(T).onClick(...H)),onMousedown:D[1]||(D[1]=(...H)=>e.unref(T).onMousedown&&e.unref(T).onMousedown(...H)),onMouseup:D[2]||(D[2]=(...H)=>e.unref(T).onMouseup&&e.unref(T).onMouseup(...H))},[e.createVNode(e.unref(hl),{loop:"",trapped:e.unref(c),"focus-start-el":"container",onFocusAfterTrapped:e.unref(S),onFocusAfterReleased:e.unref(E),onFocusoutPrevented:e.unref(N),onReleaseRequested:e.unref(v)},{default:e.withCtx(()=>[e.unref(g)?(e.openBlock(),e.createBlock(B7,e.mergeProps({key:0,ref_key:"dialogContentRef",ref:i},O.$attrs,{center:t.center,"align-center":e.unref(y),"close-icon":t.closeIcon,draggable:e.unref(b),overflow:e.unref(k),fullscreen:t.fullscreen,"header-class":t.headerClass,"body-class":t.bodyClass,"footer-class":t.footerClass,"show-close":t.showClose,title:t.title,"aria-level":t.headerAriaLevel,onClose:e.unref(C)}),e.createSlots({header:e.withCtx(()=>[O.$slots.title?e.renderSlot(O.$slots,"title",{key:1}):e.renderSlot(O.$slots,"header",{key:0,close:e.unref(C),titleId:e.unref(d),titleClass:e.unref(a).e("title")})]),default:e.withCtx(()=>[e.renderSlot(O.$slots,"default")]),_:2},[O.$slots.footer?{name:"footer",fn:e.withCtx(()=>[e.renderSlot(O.$slots,"footer")]),key:"0"}:void 0]),1040,["center","align-center","close-icon","draggable","overflow","fullscreen","header-class","body-class","footer-class","show-close","title","aria-level","onClose"])):e.createCommentVNode("v-if",!0)]),_:3},8,["trapped","onFocusAfterTrapped","onFocusAfterReleased","onFocusoutPrevented","onReleaseRequested"])],46,T7)]),_:3},8,["mask","overlay-class","z-index"]),[[e.vShow,e.unref(c)]])]}),_:3},16)]),_:3},8,["to","disabled"]))}});const jE=Re(x7),UE=oe({direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},contentPosition:{type:String,values:["left","center","right"],default:"center"},borderStyle:{type:K(String),default:"solid"}});var $7=e.defineComponent({name:"ElDivider",__name:"divider",props:UE,setup(t){const n=t,o=ee("divider"),r=e.computed(()=>o.cssVar({"border-style":n.borderStyle}));return(a,l)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass([e.unref(o).b(),e.unref(o).m(t.direction)]),style:e.normalizeStyle(r.value),role:"separator"},[a.$slots.default&&t.direction!=="vertical"?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass([e.unref(o).e("text"),e.unref(o).is(t.contentPosition)])},[e.renderSlot(a.$slots,"default")],2)):e.createCommentVNode("v-if",!0)],6))}});const Fp=Re($7),YE=oe({...Ap,direction:{type:String,default:"rtl",values:["ltr","rtl","ttb","btt"]},resizable:Boolean,size:{type:[String,Number],default:"30%"},withHeader:{type:Boolean,default:!0},modalFade:{type:Boolean,default:!0},headerAriaLevel:{type:String,default:"2"}}),GE={...zp,"resize-start":(t,n)=>t instanceof MouseEvent&&typeof n=="number",resize:(t,n)=>t instanceof MouseEvent&&typeof n=="number","resize-end":(t,n)=>t instanceof MouseEvent&&typeof n=="number"};function V7(t,n,o){const{width:r,height:a}=Ud(),l=e.computed(()=>["ltr","rtl"].includes(t.direction)),s=e.computed(()=>["ltr","ttb"].includes(t.direction)?1:-1),i=e.computed(()=>l.value?r.value:a.value),c=e.computed(()=>Ig(d.value+s.value*u.value,4,i.value)),d=e.ref(0),u=e.ref(0),f=e.ref(!1),p=e.ref(!1);let g=[],m=[];const h=()=>{var w;const S=(w=n.value)==null?void 0:w.closest('[aria-modal="true"]');return S?l.value?S.offsetWidth:S.offsetHeight:100};e.watch(()=>[t.size,t.resizable],()=>{p.value=!1,d.value=0,u.value=0,k()});const b=w=>{t.resizable&&(p.value||(d.value=h(),p.value=!0),g=[w.pageX,w.pageY],f.value=!0,o("resize-start",w,d.value),m.push(nt(window,"mouseup",k),nt(window,"mousemove",y)))},y=w=>{const{pageX:S,pageY:E}=w,v=S-g[0],N=E-g[1];u.value=l.value?v:N,o("resize",w,c.value)},k=w=>{f.value&&(g=[],d.value=c.value,u.value=0,f.value=!1,m.forEach(S=>S==null?void 0:S()),m=[],w&&o("resize-end",w,d.value))},C=nt(n,"mousedown",b);return e.onBeforeUnmount(()=>{C(),k()}),{size:e.computed(()=>p.value?`${c.value}px`:$t(t.size)),isResizing:f,isHorizontal:l}}const P7=["aria-label","aria-labelledby","aria-describedby"],R7=["id","aria-level"],M7=["aria-label"],I7=["id"];var O7=e.defineComponent({name:"ElDrawer",inheritAttrs:!1,__name:"drawer",props:YE,emits:GE,setup(t,{expose:n,emit:o}){const r=t,a=o,l=e.useSlots();No({scope:"el-drawer",from:"the title slot",replacement:"the header slot",version:"3.0.0",ref:"https://element-plus.org/en-US/component/drawer.html#slots"},e.computed(()=>!!l.title));const s=e.ref(),i=e.ref(),c=e.ref(),d=ee("drawer"),{t:u}=je(),{afterEnter:f,afterLeave:p,beforeLeave:g,visible:m,rendered:h,titleId:b,bodyId:y,zIndex:k,onModalClick:C,onOpenAutoFocus:w,onCloseAutoFocus:S,onFocusoutPrevented:E,onCloseRequested:v,handleClose:N}=_p(r,s),{isHorizontal:P,size:T,isResizing:V}=V7(r,c,a),x=e.computed(()=>r.modalPenetrable&&!r.modal);return n({handleClose:N,afterEnter:f,afterLeave:p}),(O,D)=>(e.openBlock(),e.createBlock(e.unref(pl),{to:t.appendTo,disabled:t.appendTo!=="body"?!1:!t.appendToBody},{default:e.withCtx(()=>[e.createVNode(e.Transition,{name:e.unref(d).b("fade"),onAfterEnter:e.unref(f),onAfterLeave:e.unref(p),onBeforeLeave:e.unref(g),persisted:""},{default:e.withCtx(()=>{var L;return[e.withDirectives(e.createVNode(e.unref(sd),{mask:t.modal,"overlay-class":[e.unref(d).is("drawer"),(L=t.modalClass)!=null?L:"",`${e.unref(d).namespace.value}-modal-drawer`,e.unref(d).is("penetrable",x.value)],"z-index":e.unref(k),onClick:e.unref(C)},{default:e.withCtx(()=>[e.createVNode(e.unref(hl),{loop:"",trapped:e.unref(m),"focus-trap-el":s.value,"focus-start-el":i.value,onFocusAfterTrapped:e.unref(w),onFocusAfterReleased:e.unref(S),onFocusoutPrevented:e.unref(E),onReleaseRequested:e.unref(v)},{default:e.withCtx(()=>[e.createElementVNode("div",e.mergeProps({ref_key:"drawerRef",ref:s,"aria-modal":"true","aria-label":t.title||void 0,"aria-labelledby":t.title?void 0:e.unref(b),"aria-describedby":e.unref(y)},O.$attrs,{class:[e.unref(d).b(),t.direction,e.unref(m)&&"open",e.unref(d).is("dragging",e.unref(V))],style:{[e.unref(P)?"width":"height"]:e.unref(T)},role:"dialog",onClick:D[1]||(D[1]=e.withModifiers(()=>{},["stop"]))}),[e.createElementVNode("span",{ref_key:"focusStartRef",ref:i,class:e.normalizeClass(e.unref(d).e("sr-focus")),tabindex:"-1"},null,2),t.withHeader?(e.openBlock(),e.createElementBlock("header",{key:0,class:e.normalizeClass([e.unref(d).e("header"),t.headerClass])},[O.$slots.title?e.renderSlot(O.$slots,"title",{key:1},()=>[e.createCommentVNode(" DEPRECATED SLOT ")]):e.renderSlot(O.$slots,"header",{key:0,close:e.unref(N),titleId:e.unref(b),titleClass:e.unref(d).e("title")},()=>[e.createElementVNode("span",{id:e.unref(b),role:"heading","aria-level":t.headerAriaLevel,class:e.normalizeClass(e.unref(d).e("title"))},e.toDisplayString(t.title),11,R7)]),t.showClose?(e.openBlock(),e.createElementBlock("button",{key:2,"aria-label":e.unref(u)("el.drawer.close"),class:e.normalizeClass(e.unref(d).e("close-btn")),type:"button",onClick:D[0]||(D[0]=(...H)=>e.unref(N)&&e.unref(N)(...H))},[e.createVNode(e.unref(ce),{class:e.normalizeClass(e.unref(d).e("close"))},{default:e.withCtx(()=>[e.createVNode(e.unref(so))]),_:1},8,["class"])],10,M7)):e.createCommentVNode("v-if",!0)],2)):e.createCommentVNode("v-if",!0),e.unref(h)?(e.openBlock(),e.createElementBlock("div",{key:1,id:e.unref(y),class:e.normalizeClass([e.unref(d).e("body"),t.bodyClass])},[e.renderSlot(O.$slots,"default")],10,I7)):e.createCommentVNode("v-if",!0),O.$slots.footer?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass([e.unref(d).e("footer"),t.footerClass])},[e.renderSlot(O.$slots,"footer")],2)):e.createCommentVNode("v-if",!0),t.resizable?(e.openBlock(),e.createElementBlock("div",{key:3,ref_key:"draggerRef",ref:c,style:e.normalizeStyle({zIndex:e.unref(k)}),class:e.normalizeClass(e.unref(d).e("dragger"))},null,6)):e.createCommentVNode("v-if",!0)],16,P7)]),_:3},8,["trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusoutPrevented","onReleaseRequested"])]),_:3},8,["mask","overlay-class","z-index","onClick"]),[[e.vShow,e.unref(m)]])]}),_:3},8,["name","onAfterEnter","onAfterLeave","onBeforeLeave"])]),_:3},8,["to","disabled"]))}});const qE=Re(O7);var A7=e.defineComponent({inheritAttrs:!1});function z7(t,n,o,r,a,l){return e.renderSlot(t.$slots,"default")}var D7=Ut(A7,[["render",z7]]),L7=e.defineComponent({name:"ElCollectionItem",inheritAttrs:!1});function _7(t,n,o,r,a,l){return e.renderSlot(t.$slots,"default")}var F7=Ut(L7,[["render",_7]]);const XE="data-el-collection-item",H7=t=>{const n=`El${t}Collection`,o=`${n}Item`,r=Symbol(n),a=Symbol(o),l=Object.assign({},D7,{name:n,setup(){const i=e.ref(),c=new Map,d=(()=>{const u=e.unref(i);if(!u)return[];const f=Array.from(u.querySelectorAll(`[${XE}]`));return[...c.values()].sort((g,m)=>f.indexOf(g.ref)-f.indexOf(m.ref))});e.provide(r,{itemMap:c,getItems:d,collectionRef:i})}}),s=Object.assign({},F7,{name:o,setup(i,{attrs:c}){const d=e.ref(),u=e.inject(r,void 0);e.provide(a,{collectionItemRef:d}),e.onMounted(()=>{const f=e.unref(d);f&&u.itemMap.set(f,{ref:f,...c})}),e.onBeforeUnmount(()=>{const f=e.unref(d);u.itemMap.delete(f)})}});return{COLLECTION_INJECTION_KEY:r,COLLECTION_ITEM_INJECTION_KEY:a,ElCollection:l,ElCollectionItem:s}},K7=oe({style:{type:K([String,Array,Object])},currentTabId:{type:K(String)},defaultCurrentTabId:String,loop:Boolean,dir:{type:String,values:["ltr","rtl"],default:"ltr"},orientation:{type:K(String)},onBlur:Function,onFocus:Function,onMousedown:Function}),{ElCollection:W7,ElCollectionItem:j7,COLLECTION_INJECTION_KEY:ZE,COLLECTION_ITEM_INJECTION_KEY:U7}=H7("RovingFocusGroup"),Hp=Symbol("elRovingFocusGroup"),JE=Symbol("elRovingFocusGroupItem"),Y7={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"},G7=(t,n)=>t,q7=(t,n,o)=>{const r=ut(t),a=G7(r);return Y7[a]},X7=(t,n)=>t.map((o,r)=>t[(r+n)%t.length]),QE=t=>{const{activeElement:n}=document;for(const o of t)if(o===n||(o.focus(),n!==document.activeElement))return},ev="currentTabIdChange",tv="rovingFocusGroup.entryFocus",Z7={bubbles:!1,cancelable:!0};var J7=e.defineComponent({name:"ElRovingFocusGroupImpl",inheritAttrs:!1,props:K7,emits:[ev,"entryFocus"],setup(t,{emit:n}){var o;const r=e.ref((o=t.currentTabId||t.defaultCurrentTabId)!=null?o:null),a=e.ref(!1),l=e.ref(!1),s=e.ref(),{getItems:i}=e.inject(ZE,void 0),c=e.computed(()=>[{outline:"none"},t.style]),d=b=>{n(ev,b)},u=()=>{a.value=!0},f=qt(b=>{var y;(y=t.onMousedown)==null||y.call(t,b)},()=>{l.value=!0}),p=qt(b=>{var y;(y=t.onFocus)==null||y.call(t,b)},b=>{const y=!e.unref(l),{target:k,currentTarget:C}=b;if(k===C&&y&&!e.unref(a)){const w=new Event(tv,Z7);if(C==null||C.dispatchEvent(w),!w.defaultPrevented){const S=i().filter(T=>T.focusable),E=S.find(T=>T.active),v=S.find(T=>T.id===e.unref(r)),P=[E,v,...S].filter(Boolean).map(T=>T.ref);QE(P)}}l.value=!1}),g=qt(b=>{var y;(y=t.onBlur)==null||y.call(t,b)},()=>{a.value=!1}),m=(...b)=>{n("entryFocus",...b)},h=b=>{const y=q7(b);if(y){b.preventDefault();let C=i().filter(w=>w.focusable).map(w=>w.ref);switch(y){case"last":{C.reverse();break}case"prev":case"next":{y==="prev"&&C.reverse();const w=C.indexOf(b.currentTarget);C=t.loop?X7(C,w+1):C.slice(w+1);break}}e.nextTick(()=>{QE(C)})}};e.provide(Hp,{currentTabbedId:e.readonly(r),loop:e.toRef(t,"loop"),tabIndex:e.computed(()=>e.unref(a)?-1:0),rovingFocusGroupRef:s,rovingFocusGroupRootStyle:c,orientation:e.toRef(t,"orientation"),dir:e.toRef(t,"dir"),onItemFocus:d,onItemShiftTab:u,onBlur:g,onFocus:p,onMousedown:f,onKeydown:h}),e.watch(()=>t.currentTabId,b=>{r.value=b!=null?b:null}),nt(s,tv,m)}});function Q7(t,n,o,r,a,l){return e.renderSlot(t.$slots,"default")}var eU=Ut(J7,[["render",Q7]]),tU=e.defineComponent({name:"ElRovingFocusGroup",components:{ElFocusGroupCollection:W7,ElRovingFocusGroupImpl:eU}});function nU(t,n,o,r,a,l){const s=e.resolveComponent("el-roving-focus-group-impl"),i=e.resolveComponent("el-focus-group-collection");return e.openBlock(),e.createBlock(i,null,{default:e.withCtx(()=>[e.createVNode(s,e.normalizeProps(e.guardReactiveProps(t.$attrs)),{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3},16)]),_:3})}var oU=Ut(tU,[["render",nU]]),rU=e.defineComponent({components:{ElRovingFocusCollectionItem:j7},props:{focusable:{type:Boolean,default:!0},active:Boolean},emits:["mousedown","focus","keydown"],setup(t,{emit:n}){const{currentTabbedId:o,onItemFocus:r,onItemShiftTab:a,onKeydown:l}=e.inject(Hp,void 0),s=en(),i=e.ref(),c=qt(p=>{n("mousedown",p)},p=>{t.focusable?r(e.unref(s)):p.preventDefault()}),d=qt(p=>{n("focus",p)},()=>{r(e.unref(s))}),u=qt(p=>{n("keydown",p)},p=>{const{shiftKey:g,target:m,currentTarget:h}=p;if(ut(p)===te.tab&&g){a();return}m===h&&l(p)}),f=e.computed(()=>o.value===e.unref(s));return e.provide(JE,{rovingFocusGroupItemRef:i,tabIndex:e.computed(()=>e.unref(f)?0:-1),handleMousedown:c,handleFocus:d,handleKeydown:u}),{id:s,handleKeydown:u,handleFocus:d,handleMousedown:c}}});function aU(t,n,o,r,a,l){const s=e.resolveComponent("el-roving-focus-collection-item");return e.openBlock(),e.createBlock(s,{id:t.id,focusable:t.focusable,active:t.active},{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3},8,["id","focusable","active"])}var lU=Ut(rU,[["render",aU]]);const qs=oe({trigger:{...Vo.trigger,type:K([String,Array])},triggerKeys:{type:K(Array),default:()=>[te.enter,te.numpadEnter,te.space,te.down]},virtualTriggering:Vo.virtualTriggering,virtualRef:Vo.virtualRef,effect:{...lt.effect,default:"light"},type:{type:K(String)},placement:{type:K(String),default:"bottom"},popperOptions:{type:K(Object),default:()=>({})},id:String,size:{type:String,default:""},splitButton:Boolean,hideOnClick:{type:Boolean,default:!0},loop:{type:Boolean,default:!0},showArrow:{type:Boolean,default:!0},showTimeout:{type:Number,default:150},hideTimeout:{type:Number,default:150},tabindex:{type:K([Number,String]),default:0},maxHeight:{type:K([Number,String]),default:""},popperClass:lt.popperClass,popperStyle:lt.popperStyle,disabled:Boolean,role:{type:String,values:tm,default:"menu"},buttonProps:{type:K(Object)},teleported:lt.teleported,appendTo:lt.appendTo,persistent:{type:Boolean,default:!0}}),Kp=oe({command:{type:[Object,String,Number],default:()=>({})},disabled:Boolean,divided:Boolean,textValue:String,icon:{type:dt}}),nv=oe({onKeydown:{type:K(Function)}}),ov=[te.down,te.pageDown,te.home],rv=[te.up,te.pageUp,te.end],sU=[...ov,...rv],Xs=Symbol("elDropdown"),Wp="elDropdown",{ButtonGroup:iU}=Gt;var cU=e.defineComponent({name:"ElDropdown",components:{ElButton:Gt,ElButtonGroup:iU,ElScrollbar:mo,ElTooltip:Jt,ElRovingFocusGroup:oU,ElOnlyChild:dk,ElIcon:ce,ArrowDown:Wo},props:qs,emits:["visible-change","click","command"],setup(t,{emit:n}){const o=e.getCurrentInstance(),r=ee("dropdown"),{t:a}=je(),l=e.ref(),s=e.ref(),i=e.ref(),c=e.ref(),d=e.ref(null),u=e.ref(null),f=e.ref(!1),p=e.computed(()=>({maxHeight:$t(t.maxHeight)})),g=e.computed(()=>[r.m(w.value)]),m=e.computed(()=>Xt(t.trigger)),h=en().value,b=e.computed(()=>t.id||h);function y(){var O;(O=i.value)==null||O.onClose(void 0,0)}function k(){var O;(O=i.value)==null||O.onClose()}function C(){var O;(O=i.value)==null||O.onOpen()}const w=zt();function S(...O){n("command",...O)}function E(){}function v(){const O=e.unref(c);m.value.includes("hover")&&(O==null||O.focus({preventScroll:!0})),u.value=null}function N(O){u.value=O}function P(){n("visible-change",!0)}function T(O){var D;f.value=(O==null?void 0:O.type)==="keydown",(D=c.value)==null||D.focus()}function V(){n("visible-change",!1)}return e.provide(Xs,{contentRef:c,role:e.computed(()=>t.role),triggerId:b,isUsingKeyboard:f,onItemEnter:E,onItemLeave:v,handleClose:k}),e.provide(Wp,{instance:o,dropdownSize:w,handleClick:y,commandHandler:S,trigger:e.toRef(t,"trigger"),hideOnClick:e.toRef(t,"hideOnClick")}),{t:a,ns:r,scrollbar:d,wrapStyle:p,dropdownTriggerKls:g,dropdownSize:w,triggerId:b,currentTabId:u,handleCurrentTabIdChange:N,handlerMainButtonClick:O=>{n("click",O)},handleClose:k,handleOpen:C,handleBeforeShowTooltip:P,handleShowTooltip:T,handleBeforeHideTooltip:V,popperRef:i,contentRef:c,triggeringElementRef:l,referenceElementRef:s}}});function dU(t,n,o,r,a,l){var s;const i=e.resolveComponent("el-roving-focus-group"),c=e.resolveComponent("el-scrollbar"),d=e.resolveComponent("el-only-child"),u=e.resolveComponent("el-tooltip"),f=e.resolveComponent("el-button"),p=e.resolveComponent("arrow-down"),g=e.resolveComponent("el-icon"),m=e.resolveComponent("el-button-group");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass([t.ns.b(),t.ns.is("disabled",t.disabled)])},[e.createVNode(u,{ref:"popperRef",role:t.role,effect:t.effect,"fallback-placements":["bottom","top"],"popper-options":t.popperOptions,"gpu-acceleration":!1,placement:t.placement,"popper-class":[t.ns.e("popper"),t.popperClass],"popper-style":t.popperStyle,trigger:t.trigger,"trigger-keys":t.triggerKeys,"trigger-target-el":t.contentRef,"show-arrow":t.showArrow,"show-after":t.trigger==="hover"?t.showTimeout:0,"hide-after":t.trigger==="hover"?t.hideTimeout:0,"virtual-ref":(s=t.virtualRef)!=null?s:t.triggeringElementRef,"virtual-triggering":t.virtualTriggering||t.splitButton,disabled:t.disabled,transition:`${t.ns.namespace.value}-zoom-in-top`,teleported:t.teleported,"append-to":t.appendTo,pure:"","focus-on-target":"",persistent:t.persistent,onBeforeShow:t.handleBeforeShowTooltip,onShow:t.handleShowTooltip,onBeforeHide:t.handleBeforeHideTooltip},e.createSlots({content:e.withCtx(()=>[e.createVNode(c,{ref:"scrollbar","wrap-style":t.wrapStyle,tag:"div","view-class":t.ns.e("list")},{default:e.withCtx(()=>[e.createVNode(i,{loop:t.loop,"current-tab-id":t.currentTabId,orientation:"horizontal",onCurrentTabIdChange:t.handleCurrentTabIdChange},{default:e.withCtx(()=>[e.renderSlot(t.$slots,"dropdown")]),_:3},8,["loop","current-tab-id","onCurrentTabIdChange"])]),_:3},8,["wrap-style","view-class"])]),_:2},[t.splitButton?void 0:{name:"default",fn:e.withCtx(()=>[e.createVNode(d,{id:t.triggerId,ref:"triggeringElementRef",role:"button",tabindex:t.tabindex},{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3},8,["id","tabindex"])]),key:"0"}]),1032,["role","effect","popper-options","placement","popper-class","popper-style","trigger","trigger-keys","trigger-target-el","show-arrow","show-after","hide-after","virtual-ref","virtual-triggering","disabled","transition","teleported","append-to","persistent","onBeforeShow","onShow","onBeforeHide"]),t.splitButton?(e.openBlock(),e.createBlock(m,{key:0},{default:e.withCtx(()=>[e.createVNode(f,e.mergeProps({ref:"referenceElementRef"},t.buttonProps,{size:t.dropdownSize,type:t.type,disabled:t.disabled,tabindex:t.tabindex,onClick:t.handlerMainButtonClick}),{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3},16,["size","type","disabled","tabindex","onClick"]),e.createVNode(f,e.mergeProps({id:t.triggerId,ref:"triggeringElementRef"},t.buttonProps,{role:"button",size:t.dropdownSize,type:t.type,class:t.ns.e("caret-button"),disabled:t.disabled,tabindex:t.tabindex,"aria-label":t.t("el.dropdown.toggleDropdown")}),{default:e.withCtx(()=>[e.createVNode(g,{class:e.normalizeClass(t.ns.e("icon"))},{default:e.withCtx(()=>[e.createVNode(p)]),_:1},8,["class"])]),_:1},16,["id","size","type","class","disabled","tabindex","aria-label"])]),_:3})):e.createCommentVNode("v-if",!0)],2)}var uU=Ut(cU,[["render",dU]]),fU=e.defineComponent({name:"DropdownItemImpl",components:{ElIcon:ce},props:Kp,emits:["pointermove","pointerleave","click","clickimpl"],setup(t,{emit:n}){const o=ee("dropdown"),{role:r}=e.inject(Xs,void 0),{collectionItemRef:a}=e.inject(U7,void 0),{rovingFocusGroupItemRef:l,tabIndex:s,handleFocus:i,handleKeydown:c,handleMousedown:d}=e.inject(JE,void 0),u=Cf(a,l),f=e.computed(()=>r.value==="menu"?"menuitem":r.value==="navigation"?"link":"button"),p=qt(g=>{const m=ut(g);if([te.enter,te.numpadEnter,te.space].includes(m))return g.preventDefault(),g.stopImmediatePropagation(),n("clickimpl",g),!0},c);return{ns:o,itemRef:u,dataset:{[XE]:""},role:f,tabIndex:s,handleFocus:i,handleKeydown:p,handleMousedown:d}}});const mU=["aria-disabled","tabindex","role"];function pU(t,n,o,r,a,l){const s=e.resolveComponent("el-icon");return e.openBlock(),e.createElementBlock(e.Fragment,null,[t.divided?(e.openBlock(),e.createElementBlock("li",{key:0,role:"separator",class:e.normalizeClass(t.ns.bem("menu","item","divided"))},null,2)):e.createCommentVNode("v-if",!0),e.createElementVNode("li",e.mergeProps({ref:t.itemRef},{...t.dataset,...t.$attrs},{"aria-disabled":t.disabled,class:[t.ns.be("menu","item"),t.ns.is("disabled",t.disabled)],tabindex:t.tabIndex,role:t.role,onClick:n[0]||(n[0]=i=>t.$emit("clickimpl",i)),onFocus:n[1]||(n[1]=(...i)=>t.handleFocus&&t.handleFocus(...i)),onKeydown:n[2]||(n[2]=e.withModifiers((...i)=>t.handleKeydown&&t.handleKeydown(...i),["self"])),onMousedown:n[3]||(n[3]=(...i)=>t.handleMousedown&&t.handleMousedown(...i)),onPointermove:n[4]||(n[4]=i=>t.$emit("pointermove",i)),onPointerleave:n[5]||(n[5]=i=>t.$emit("pointerleave",i))}),[t.icon||t.$slots.icon?(e.openBlock(),e.createBlock(s,{key:0},{default:e.withCtx(()=>[e.renderSlot(t.$slots,"icon",{},()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.icon)))])]),_:3})):e.createCommentVNode("v-if",!0),e.renderSlot(t.$slots,"default")],16,mU)],64)}var hU=Ut(fU,[["render",pU]]);const av=()=>{const t=e.inject(Wp,{}),n=e.computed(()=>t==null?void 0:t.dropdownSize);return{elDropdown:t,_elDropdownSize:n}};var gU=e.defineComponent({name:"ElDropdownItem",components:{ElRovingFocusItem:lU,ElDropdownItemImpl:hU},inheritAttrs:!1,props:Kp,emits:["pointermove","pointerleave","click"],setup(t,{emit:n,attrs:o}){const{elDropdown:r}=av(),a=e.getCurrentInstance(),{onItemEnter:l,onItemLeave:s}=e.inject(Xs,void 0),i=qt(f=>(n("pointermove",f),f.defaultPrevented),Fg(f=>{if(t.disabled){s(f);return}const p=f.currentTarget;p===document.activeElement||p.contains(document.activeElement)||(l(f),f.defaultPrevented||p==null||p.focus({preventScroll:!0}))})),c=qt(f=>(n("pointerleave",f),f.defaultPrevented),Fg(s)),d=qt(f=>{if(!t.disabled)return n("click",f),f.type!=="keydown"&&f.defaultPrevented},f=>{var p,g,m;if(t.disabled){f.stopImmediatePropagation();return}(p=r==null?void 0:r.hideOnClick)!=null&&p.value&&((g=r.handleClick)==null||g.call(r)),(m=r.commandHandler)==null||m.call(r,t.command,a,f)}),u=e.computed(()=>({...t,...o}));return{handleClick:d,handlePointerMove:i,handlePointerLeave:c,propsAndAttrs:u}}});function bU(t,n,o,r,a,l){const s=e.resolveComponent("el-dropdown-item-impl"),i=e.resolveComponent("el-roving-focus-item");return e.openBlock(),e.createBlock(i,{focusable:!t.disabled},{default:e.withCtx(()=>[e.createVNode(s,e.mergeProps(t.propsAndAttrs,{onPointerleave:t.handlePointerLeave,onPointermove:t.handlePointerMove,onClickimpl:t.handleClick}),e.createSlots({default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:2},[t.$slots.icon?{name:"icon",fn:e.withCtx(()=>[e.renderSlot(t.$slots,"icon")]),key:"0"}:void 0]),1040,["onPointerleave","onPointermove","onClickimpl"])]),_:3},8,["focusable"])}var lv=Ut(gU,[["render",bU]]),yU=e.defineComponent({name:"ElDropdownMenu",props:nv,setup(t){const n=ee("dropdown"),{_elDropdownSize:o}=av(),r=o.value,{contentRef:a,role:l,triggerId:s,isUsingKeyboard:i,handleClose:c}=e.inject(Xs,void 0),{rovingFocusGroupRef:d,rovingFocusGroupRootStyle:u,onBlur:f,onFocus:p,onKeydown:g,onMousedown:m}=e.inject(Hp,void 0),{collectionRef:h}=e.inject(ZE,void 0),b=e.computed(()=>[n.b("menu"),n.bm("menu",r==null?void 0:r.value)]),y=Cf(a,d,h),k=qt(w=>{var S;(S=t.onKeydown)==null||S.call(t,w)},w=>{const{currentTarget:S,target:E}=w,v=ut(w);if(S.contains(E),te.tab===v)return c();g(w)});function C(w){i.value&&p(w)}return{size:r,rovingFocusGroupRootStyle:u,dropdownKls:b,role:l,triggerId:s,dropdownListWrapperRef:y,handleKeydown:k,onBlur:f,handleFocus:C,onMousedown:m}}});const CU=["role","aria-labelledby"];function wU(t,n,o,r,a,l){return e.openBlock(),e.createElementBlock("ul",{ref:t.dropdownListWrapperRef,class:e.normalizeClass(t.dropdownKls),style:e.normalizeStyle(t.rovingFocusGroupRootStyle),tabindex:-1,role:t.role,"aria-labelledby":t.triggerId,onFocusin:n[0]||(n[0]=(...s)=>t.handleFocus&&t.handleFocus(...s)),onFocusout:n[1]||(n[1]=(...s)=>t.onBlur&&t.onBlur(...s)),onKeydown:n[2]||(n[2]=e.withModifiers((...s)=>t.handleKeydown&&t.handleKeydown(...s),["self"])),onMousedown:n[3]||(n[3]=e.withModifiers((...s)=>t.onMousedown&&t.onMousedown(...s),["self"]))},[e.renderSlot(t.$slots,"default")],46,CU)}var sv=Ut(yU,[["render",wU]]);const iv=Re(uU,{DropdownItem:lv,DropdownMenu:sv}),cv=Bt(lv),dv=Bt(sv),uv=oe({image:{type:String,default:""},imageSize:Number,description:{type:String,default:""}}),kU={viewBox:"0 0 79 86",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},SU=["id"],EU=["stop-color"],vU=["stop-color"],NU=["id"],BU=["stop-color"],TU=["stop-color"],xU=["id"],$U={stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},VU={transform:"translate(-1268.000000, -535.000000)"},PU={transform:"translate(1268.000000, 535.000000)"},RU=["fill"],MU=["fill"],IU={transform:"translate(34.500000, 31.500000) scale(-1, 1) rotate(-25.000000) translate(-34.500000, -31.500000) translate(7.000000, 10.000000)"},OU=["fill"],AU=["fill"],zU=["fill"],DU=["fill"],LU=["fill"],_U={transform:"translate(53.000000, 45.000000)"},FU=["fill","xlink:href"],HU=["fill","mask"],KU=["fill"];var WU=e.defineComponent({name:"ImgEmpty",__name:"img-empty",setup(t){const n=ee("empty"),o=en();return(r,a)=>(e.openBlock(),e.createElementBlock("svg",kU,[e.createElementVNode("defs",null,[e.createElementVNode("linearGradient",{id:`linearGradient-1-${e.unref(o)}`,x1:"38.8503086%",y1:"0%",x2:"61.1496914%",y2:"100%"},[e.createElementVNode("stop",{"stop-color":`var(${e.unref(n).cssVarBlockName("fill-color-1")})`,offset:"0%"},null,8,EU),e.createElementVNode("stop",{"stop-color":`var(${e.unref(n).cssVarBlockName("fill-color-4")})`,offset:"100%"},null,8,vU)],8,SU),e.createElementVNode("linearGradient",{id:`linearGradient-2-${e.unref(o)}`,x1:"0%",y1:"9.5%",x2:"100%",y2:"90.5%"},[e.createElementVNode("stop",{"stop-color":`var(${e.unref(n).cssVarBlockName("fill-color-1")})`,offset:"0%"},null,8,BU),e.createElementVNode("stop",{"stop-color":`var(${e.unref(n).cssVarBlockName("fill-color-6")})`,offset:"100%"},null,8,TU)],8,NU),e.createElementVNode("rect",{id:`path-3-${e.unref(o)}`,x:"0",y:"0",width:"17",height:"36"},null,8,xU)]),e.createElementVNode("g",$U,[e.createElementVNode("g",VU,[e.createElementVNode("g",PU,[e.createElementVNode("path",{d:"M39.5,86 C61.3152476,86 79,83.9106622 79,81.3333333 C79,78.7560045 57.3152476,78 35.5,78 C13.6847524,78 0,78.7560045 0,81.3333333 C0,83.9106622 17.6847524,86 39.5,86 Z",fill:`var(${e.unref(n).cssVarBlockName("fill-color-3")})`},null,8,RU),e.createElementVNode("polygon",{fill:`var(${e.unref(n).cssVarBlockName("fill-color-7")})`,transform:"translate(27.500000, 51.500000) scale(1, -1) translate(-27.500000, -51.500000) ",points:"13 58 53 58 42 45 2 45"},null,8,MU),e.createElementVNode("g",IU,[e.createElementVNode("polygon",{fill:`var(${e.unref(n).cssVarBlockName("fill-color-7")})`,transform:"translate(11.500000, 5.000000) scale(1, -1) translate(-11.500000, -5.000000) ",points:"2.84078316e-14 3 18 3 23 7 5 7"},null,8,OU),e.createElementVNode("polygon",{fill:`var(${e.unref(n).cssVarBlockName("fill-color-5")})`,points:"-3.69149156e-15 7 38 7 38 43 -3.69149156e-15 43"},null,8,AU),e.createElementVNode("rect",{fill:`url(#linearGradient-1-${e.unref(o)})`,transform:"translate(46.500000, 25.000000) scale(-1, 1) translate(-46.500000, -25.000000) ",x:"38",y:"7",width:"17",height:"36"},null,8,zU),e.createElementVNode("polygon",{fill:`var(${e.unref(n).cssVarBlockName("fill-color-2")})`,transform:"translate(39.500000, 3.500000) scale(-1, 1) translate(-39.500000, -3.500000) ",points:"24 7 41 7 55 -3.63806207e-12 38 -3.63806207e-12"},null,8,DU)]),e.createElementVNode("rect",{fill:`url(#linearGradient-2-${e.unref(o)})`,x:"13",y:"45",width:"40",height:"36"},null,8,LU),e.createElementVNode("g",_U,[e.createElementVNode("use",{fill:`var(${e.unref(n).cssVarBlockName("fill-color-8")})`,transform:"translate(8.500000, 18.000000) scale(-1, 1) translate(-8.500000, -18.000000) ","xlink:href":`#path-3-${e.unref(o)}`},null,8,FU),e.createElementVNode("polygon",{fill:`var(${e.unref(n).cssVarBlockName("fill-color-9")})`,mask:`url(#mask-4-${e.unref(o)})`,transform:"translate(12.000000, 9.000000) scale(-1, 1) translate(-12.000000, -9.000000) ",points:"7 0 24 0 20 18 7 16.5"},null,8,HU)]),e.createElementVNode("polygon",{fill:`var(${e.unref(n).cssVarBlockName("fill-color-2")})`,transform:"translate(66.000000, 51.500000) scale(-1, 1) translate(-66.000000, -51.500000) ",points:"62 45 79 45 70 58 53 58"},null,8,KU)])])])]))}});const jU=["src"],UU={key:1};var YU=e.defineComponent({name:"ElEmpty",__name:"empty",props:uv,setup(t){const n=t,{t:o}=je(),r=ee("empty"),a=e.computed(()=>n.description||o("el.table.emptyText")),l=e.computed(()=>({width:$t(n.imageSize)}));return(s,i)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(r).b())},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(r).e("image")),style:e.normalizeStyle(l.value)},[t.image?(e.openBlock(),e.createElementBlock("img",{key:0,src:t.image,ondragstart:"return false"},null,8,jU)):e.renderSlot(s.$slots,"image",{key:1},()=>[e.createVNode(WU)])],6),e.createElementVNode("div",{class:e.normalizeClass(e.unref(r).e("description"))},[s.$slots.description?e.renderSlot(s.$slots,"description",{key:0}):(e.openBlock(),e.createElementBlock("p",UU,e.toDisplayString(a.value),1))],2),s.$slots.default?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(r).e("bottom"))},[e.renderSlot(s.$slots,"default")],2)):e.createCommentVNode("v-if",!0)],2))}});const jp=Re(YU),fv=oe({hideOnClickModal:Boolean,src:{type:String,default:""},fit:{type:String,values:["","contain","cover","fill","none","scale-down"],default:""},loading:{type:String,values:["eager","lazy"]},lazy:Boolean,scrollContainer:{type:K([String,Object])},previewSrcList:{type:K(Array),default:()=>wt([])},previewTeleported:Boolean,zIndex:{type:Number},initialIndex:{type:Number,default:0},infinite:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},zoomRate:{type:Number,default:1.2},scale:{type:Number,default:1},minScale:{type:Number,default:.2},maxScale:{type:Number,default:7},showProgress:Boolean,crossorigin:{type:K(String)}}),mv={load:t=>t instanceof Event,error:t=>t instanceof Event,switch:t=>pe(t),close:()=>!0,show:()=>!0},pv=oe({urlList:{type:K(Array),default:()=>wt([])},zIndex:{type:Number},initialIndex:{type:Number,default:0},infinite:{type:Boolean,default:!0},hideOnClickModal:Boolean,teleported:Boolean,closeOnPressEscape:{type:Boolean,default:!0},zoomRate:{type:Number,default:1.2},scale:{type:Number,default:1},minScale:{type:Number,default:.2},maxScale:{type:Number,default:7},showProgress:Boolean,crossorigin:{type:K(String)}}),hv={close:()=>!0,error:t=>t instanceof Event,switch:t=>pe(t),rotate:t=>pe(t)},GU=["src","crossorigin"];var qU=e.defineComponent({name:"ElImageViewer",__name:"image-viewer",props:pv,emits:hv,setup(t,{expose:n,emit:o}){var r;const a={CONTAIN:{name:"contain",icon:e.markRaw(tF)},ORIGINAL:{name:"original",icon:e.markRaw(kF)}},l=t,s=o;let i;const{t:c}=je(),d=ee("image-viewer"),{nextZIndex:u}=sl(),f=e.ref(),p=e.ref(),g=e.effectScope(),m=e.computed(()=>{const{scale:Y,minScale:_,maxScale:q}=l;return Ig(Y,_,q)}),h=e.ref(!0),b=e.ref(!1),y=e.ref(!1),k=e.ref(l.initialIndex),C=e.shallowRef(a.CONTAIN),w=e.ref({scale:m.value,deg:0,offsetX:0,offsetY:0,enableTransition:!1}),S=e.ref((r=l.zIndex)!=null?r:u());bs(y,{ns:d});const E=e.computed(()=>{const{urlList:Y}=l;return Y.length<=1}),v=e.computed(()=>k.value===0),N=e.computed(()=>k.value===l.urlList.length-1),P=e.computed(()=>l.urlList[k.value]),T=e.computed(()=>[d.e("btn"),d.e("prev"),d.is("disabled",!l.infinite&&v.value)]),V=e.computed(()=>[d.e("btn"),d.e("next"),d.is("disabled",!l.infinite&&N.value)]),x=e.computed(()=>{const{scale:Y,deg:_,offsetX:q,offsetY:le,enableTransition:ue}=w.value;let Ce=q/Y,Ee=le/Y;const Ve=_*Math.PI/180,Ie=Math.cos(Ve),qe=Math.sin(Ve);Ce=Ce*Ie+Ee*qe,Ee=Ee*Ie-q/Y*qe;const We={transform:`scale(${Y}) rotate(${_}deg) translate(${Ce}px, ${Ee}px)`,transition:ue?"transform .3s":""};return C.value.name===a.CONTAIN.name&&(We.maxWidth=We.maxHeight="100%"),We}),O=e.computed(()=>`${k.value+1} / ${l.urlList.length}`);function D(){H(),i==null||i(),y.value=!1,s("close")}function L(){const Y=mr(q=>{switch(ut(q)){case te.esc:l.closeOnPressEscape&&D();break;case te.space:F();break;case te.left:W();break;case te.up:G("zoomIn");break;case te.right:j();break;case te.down:G("zoomOut");break}}),_=mr(q=>{const le=q.deltaY||q.deltaX;G(le<0?"zoomIn":"zoomOut",{zoomRate:l.zoomRate,enableTransition:!1})});g.run(()=>{nt(document,"keydown",Y),nt(f,"wheel",_)})}function H(){g.stop()}function $(){h.value=!1}function B(Y){b.value=!0,h.value=!1,s("error",Y),Y.target.alt=c("el.image.error")}function M(Y){if(h.value||Y.button!==0||!f.value)return;w.value.enableTransition=!1;const{offsetX:_,offsetY:q}=w.value,le=Y.pageX,ue=Y.pageY,Ce=mr(Ie=>{w.value={...w.value,offsetX:_+Ie.pageX-le,offsetY:q+Ie.pageY-ue}}),Ee=nt(document,"mousemove",Ce),Ve=nt(document,"mouseup",()=>{Ee(),Ve()});Y.preventDefault()}function I(Y){if(h.value||!f.value||Y.touches.length!==1)return;w.value.enableTransition=!1;const{offsetX:_,offsetY:q}=w.value,{pageX:le,pageY:ue}=Y.touches[0],Ce=mr(Ie=>{const qe=Ie.touches[0];w.value={...w.value,offsetX:_+qe.pageX-le,offsetY:q+qe.pageY-ue}}),Ee=nt(document,"touchmove",Ce),Ve=nt(document,"touchend",()=>{Ee(),Ve()});Y.preventDefault()}function z(){w.value={scale:m.value,deg:0,offsetX:0,offsetY:0,enableTransition:!1}}function F(){if(h.value||b.value)return;const Y=Za(a),_=Object.values(a),q=C.value.name,ue=(_.findIndex(Ce=>Ce.name===q)+1)%Y.length;C.value=a[Y[ue]],z()}function A(Y){b.value=!1;const _=l.urlList.length;k.value=(Y+_)%_}function W(){v.value&&!l.infinite||A(k.value-1)}function j(){N.value&&!l.infinite||A(k.value+1)}function G(Y,_={}){if(h.value||b.value)return;const{minScale:q,maxScale:le}=l,{zoomRate:ue,rotateDeg:Ce,enableTransition:Ee}={zoomRate:l.zoomRate,rotateDeg:90,enableTransition:!0,..._};switch(Y){case"zoomOut":w.value.scale>q&&(w.value.scale=Number.parseFloat((w.value.scale/ue).toFixed(3)));break;case"zoomIn":w.value.scale0)return Y.preventDefault(),!1}}return e.watch(()=>m.value,Y=>{w.value.scale=Y}),e.watch(P,()=>{e.nextTick(()=>{const Y=p.value;Y!=null&&Y.complete||(h.value=!0)})}),e.watch(k,Y=>{z(),s("switch",Y)}),e.onMounted(()=>{y.value=!0,L(),i=nt("wheel",J,{passive:!1})}),n({setActiveItem:A}),(Y,_)=>(e.openBlock(),e.createBlock(e.unref(pl),{to:"body",disabled:!t.teleported},{default:e.withCtx(()=>[e.createVNode(e.Transition,{name:"viewer-fade",appear:""},{default:e.withCtx(()=>[e.createElementVNode("div",{ref_key:"wrapper",ref:f,tabindex:-1,class:e.normalizeClass(e.unref(d).e("wrapper")),style:e.normalizeStyle({zIndex:S.value})},[e.createVNode(e.unref(hl),{loop:"",trapped:"","focus-trap-el":f.value,"focus-start-el":"container",onFocusoutPrevented:X,onReleaseRequested:Q},{default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(e.unref(d).e("mask")),onClick:_[0]||(_[0]=e.withModifiers(q=>t.hideOnClickModal&&D(),["self"]))},null,2),e.createCommentVNode(" CLOSE "),e.createElementVNode("span",{class:e.normalizeClass([e.unref(d).e("btn"),e.unref(d).e("close")]),onClick:D},[e.createVNode(e.unref(ce),null,{default:e.withCtx(()=>[e.createVNode(e.unref(so))]),_:1})],2),e.createCommentVNode(" ARROW "),E.value?e.createCommentVNode("v-if",!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",{class:e.normalizeClass(T.value),onClick:W},[e.createVNode(e.unref(ce),null,{default:e.withCtx(()=>[e.createVNode(e.unref(gr))]),_:1})],2),e.createElementVNode("span",{class:e.normalizeClass(V.value),onClick:j},[e.createVNode(e.unref(ce),null,{default:e.withCtx(()=>[e.createVNode(e.unref(Cn))]),_:1})],2)],64)),Y.$slots.progress||t.showProgress?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass([e.unref(d).e("btn"),e.unref(d).e("progress")])},[e.renderSlot(Y.$slots,"progress",{activeIndex:k.value,total:t.urlList.length},()=>[e.createTextVNode(e.toDisplayString(O.value),1)])],2)):e.createCommentVNode("v-if",!0),e.createCommentVNode(" ACTIONS "),e.createElementVNode("div",{class:e.normalizeClass([e.unref(d).e("btn"),e.unref(d).e("actions")])},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(d).e("actions__inner"))},[e.renderSlot(Y.$slots,"toolbar",{actions:G,prev:W,next:j,reset:F,activeIndex:k.value,setActiveItem:A},()=>[e.createVNode(e.unref(ce),{onClick:_[1]||(_[1]=q=>G("zoomOut"))},{default:e.withCtx(()=>[e.createVNode(e.unref(zF))]),_:1}),e.createVNode(e.unref(ce),{onClick:_[2]||(_[2]=q=>G("zoomIn"))},{default:e.withCtx(()=>[e.createVNode(e.unref(xC))]),_:1}),e.createElementVNode("i",{class:e.normalizeClass(e.unref(d).e("actions__divider"))},null,2),e.createVNode(e.unref(ce),{onClick:F},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(C.value.icon)))]),_:1}),e.createElementVNode("i",{class:e.normalizeClass(e.unref(d).e("actions__divider"))},null,2),e.createVNode(e.unref(ce),{onClick:_[3]||(_[3]=q=>G("anticlockwise"))},{default:e.withCtx(()=>[e.createVNode(e.unref(bF))]),_:1}),e.createVNode(e.unref(ce),{onClick:_[4]||(_[4]=q=>G("clockwise"))},{default:e.withCtx(()=>[e.createVNode(e.unref(CF))]),_:1})])],2)],2),e.createCommentVNode(" CANVAS "),e.createElementVNode("div",{class:e.normalizeClass(e.unref(d).e("canvas"))},[b.value&&Y.$slots["viewer-error"]?e.renderSlot(Y.$slots,"viewer-error",{key:0,activeIndex:k.value,src:P.value}):(e.openBlock(),e.createElementBlock("img",{ref_key:"imgRef",ref:p,key:P.value,src:P.value,style:e.normalizeStyle(x.value),class:e.normalizeClass(e.unref(d).e("img")),crossorigin:t.crossorigin,onLoad:$,onError:B,onMousedown:M,onTouchstart:I},null,46,GU))],2),e.renderSlot(Y.$slots,"default")]),_:3},8,["focus-trap-el"])],6)]),_:3})]),_:3},8,["disabled"]))}});const Up=Re(qU),XU=["src","loading","crossorigin"],ZU={key:0};var JU=e.defineComponent({name:"ElImage",inheritAttrs:!1,__name:"image",props:fv,emits:mv,setup(t,{expose:n,emit:o}){const r=t,a=o,{t:l}=je(),s=ee("image"),i=e.useAttrs(),c=e.computed(()=>Ya(Object.entries(i).filter(([$])=>/^(data-|on[A-Z])/i.test($)||["id","style"].includes($)))),d=gs({excludeListeners:!0,excludeKeys:e.computed(()=>Object.keys(c.value))}),u=e.ref(),f=e.ref(!1),p=e.ref(!0),g=e.ref(!1),m=e.ref(),h=e.ref(),b=Je&&"loading"in HTMLImageElement.prototype;let y;const k=e.computed(()=>[s.e("inner"),w.value&&s.e("preview"),p.value&&s.is("loading")]),C=e.computed(()=>{const{fit:$}=r;return Je&&$?{objectFit:$}:{}}),w=e.computed(()=>{const{previewSrcList:$}=r;return ie($)&&$.length>0}),S=e.computed(()=>{const{previewSrcList:$,initialIndex:B}=r;let M=B;return B>$.length-1&&(M=0),M}),E=e.computed(()=>r.loading==="eager"?!1:!b&&r.loading==="lazy"||r.lazy),v=()=>{Je&&(p.value=!0,f.value=!1,u.value=r.src)};function N($){p.value=!1,f.value=!1,a("load",$)}function P($){p.value=!1,f.value=!0,a("error",$)}function T($){$&&(v(),O())}const V=Ag(T,200,!0);async function x(){var $;if(!Je)return;await e.nextTick();const{scrollContainer:B}=r;if(In(B))h.value=B;else if(ve(B)&&B!=="")h.value=($=document.querySelector(B))!=null?$:void 0;else if(m.value){const I=pf(m.value);h.value=fs(I)?void 0:I}const{stop:M}=QT(m,([I])=>{V(I.isIntersecting)},{root:h});y=M}function O(){!Je||!V||(y==null||y(),h.value=void 0,y=void 0)}function D(){w.value&&(g.value=!0,a("show"))}function L(){g.value=!1,a("close")}function H($){a("switch",$)}return e.watch(()=>r.src,()=>{E.value?(p.value=!0,f.value=!1,O(),x()):v()}),e.onMounted(()=>{E.value?x():v()}),n({showPreview:D}),($,B)=>(e.openBlock(),e.createElementBlock("div",e.mergeProps({ref_key:"container",ref:m},c.value,{class:[e.unref(s).b(),$.$attrs.class]}),[f.value?e.renderSlot($.$slots,"error",{key:0},()=>[e.createElementVNode("div",{class:e.normalizeClass(e.unref(s).e("error"))},e.toDisplayString(e.unref(l)("el.image.error")),3)]):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[u.value!==void 0?(e.openBlock(),e.createElementBlock("img",e.mergeProps({key:0},e.unref(d),{src:u.value,loading:t.loading,style:C.value,class:k.value,crossorigin:t.crossorigin,onClick:D,onLoad:N,onError:P}),null,16,XU)):e.createCommentVNode("v-if",!0),p.value?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(s).e("wrapper"))},[e.renderSlot($.$slots,"placeholder",{},()=>[e.createElementVNode("div",{class:e.normalizeClass(e.unref(s).e("placeholder"))},null,2)])],2)):e.createCommentVNode("v-if",!0)],64)),w.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[g.value?(e.openBlock(),e.createBlock(e.unref(Up),{key:0,"z-index":t.zIndex,"initial-index":S.value,infinite:t.infinite,"zoom-rate":t.zoomRate,"min-scale":t.minScale,"max-scale":t.maxScale,"show-progress":t.showProgress,"url-list":t.previewSrcList,scale:t.scale,crossorigin:t.crossorigin,"hide-on-click-modal":t.hideOnClickModal,teleported:t.previewTeleported,"close-on-press-escape":t.closeOnPressEscape,onClose:L,onSwitch:H},e.createSlots({toolbar:e.withCtx(M=>[e.renderSlot($.$slots,"toolbar",e.normalizeProps(e.guardReactiveProps(M)))]),default:e.withCtx(()=>[$.$slots.viewer?(e.openBlock(),e.createElementBlock("div",ZU,[e.renderSlot($.$slots,"viewer")])):e.createCommentVNode("v-if",!0)]),_:2},[$.$slots.progress?{name:"progress",fn:e.withCtx(M=>[e.renderSlot($.$slots,"progress",e.normalizeProps(e.guardReactiveProps(M)))]),key:"0"}:void 0,$.$slots["viewer-error"]?{name:"viewer-error",fn:e.withCtx(M=>[e.renderSlot($.$slots,"viewer-error",e.normalizeProps(e.guardReactiveProps(M)))]),key:"1"}:void 0]),1032,["z-index","initial-index","infinite","zoom-rate","min-scale","max-scale","show-progress","url-list","scale","crossorigin","hide-on-click-modal","teleported","close-on-press-escape"])):e.createCommentVNode("v-if",!0)],64)):e.createCommentVNode("v-if",!0)],16))}});const gv=Re(JU),bv=oe({id:{type:String,default:void 0},step:{type:Number,default:1},stepStrictly:Boolean,max:{type:Number,default:Number.MAX_SAFE_INTEGER},min:{type:Number,default:Number.MIN_SAFE_INTEGER},modelValue:{type:[Number,null]},readonly:Boolean,disabled:{type:Boolean,default:void 0},size:Ht,controls:{type:Boolean,default:!0},controlsPosition:{type:String,default:"",values:["","right"]},valueOnClear:{type:K([String,Number,null]),validator:t=>t===null||pe(t)||["min","max"].includes(t),default:null},name:String,placeholder:String,precision:{type:Number,validator:t=>t>=0&&t===Number.parseInt(`${t}`,10)},validateEvent:{type:Boolean,default:!0},...cn(["ariaLabel"]),inputmode:{type:K(String),default:void 0},align:{type:K(String),default:"center"},disabledScientific:Boolean}),yv={[_e]:(t,n)=>n!==t,blur:t=>t instanceof FocusEvent,focus:t=>t instanceof FocusEvent,[Dt]:t=>pe(t)||Rt(t),[Ne]:t=>pe(t)||Rt(t)},QU=["aria-label"],eY=["aria-label"];var tY=e.defineComponent({name:"ElInputNumber",__name:"input-number",props:bv,emits:yv,setup(t,{expose:n,emit:o}){const r=t,a=o,{t:l}=je(),s=ee("input-number"),i=e.ref(),c=e.reactive({currentValue:r.modelValue,userInput:null}),{formItem:d}=Zt(),u=e.computed(()=>pe(r.modelValue)&&r.modelValue<=r.min),f=e.computed(()=>pe(r.modelValue)&&r.modelValue>=r.max),p=e.computed(()=>{const $=k(r.step);return Xe(r.precision)?Math.max(k(r.modelValue),$):($>r.precision,r.precision)}),g=e.computed(()=>r.controls&&r.controlsPosition==="right"),m=zt(),h=kt(),b=e.computed(()=>{if(c.userInput!==null)return c.userInput;let $=c.currentValue;if(Rt($))return"";if(pe($)){if(Number.isNaN($))return"";Xe(r.precision)||($=$.toFixed(r.precision))}return $}),y=($,B)=>{if(Xe(B)&&(B=p.value),B===0)return Math.round($);let M=String($);const I=M.indexOf(".");if(I===-1||!M.replace(".","").split("")[I+B])return $;const A=M.length;return M.charAt(A-1)==="5"&&(M=`${M.slice(0,Math.max(0,A-1))}6`),Number.parseFloat(Number(M).toFixed(B))},k=$=>{if(Rt($))return 0;const B=$.toString(),M=B.indexOf(".");let I=0;return M!==-1&&(I=B.length-M-1),I},C=($,B=1)=>pe($)?$>=Number.MAX_SAFE_INTEGER&&B===1||$<=Number.MIN_SAFE_INTEGER&&B===-1?$:y($+r.step*B):c.currentValue,w=$=>{const B=ut($),M=Hg($);if(r.disabledScientific&&["e","E"].includes(M)){$.preventDefault();return}switch(B){case te.up:{$.preventDefault(),S();break}case te.down:{$.preventDefault(),E();break}}},S=()=>{if(r.readonly||h.value||f.value)return;const $=Number(b.value)||0,B=C($);N(B),a(Dt,c.currentValue),L()},E=()=>{if(r.readonly||h.value||u.value)return;const $=Number(b.value)||0,B=C($,-1);N(B),a(Dt,c.currentValue),L()},v=($,B)=>{const{max:M,min:I,step:z,precision:F,stepStrictly:A,valueOnClear:W}=r;MM||jM?M:I,B&&a(Ne,j)),j},N=($,B=!0)=>{var M;const I=c.currentValue,z=v($);if(!B){a(Ne,z);return}c.userInput=null,!(I===z&&$)&&(a(Ne,z),I!==z&&a(_e,z,I),r.validateEvent&&((M=d==null?void 0:d.validate)==null||M.call(d,"change").catch(F=>void 0)),c.currentValue=z)},P=$=>{c.userInput=$;const B=$===""?null:Number($);a(Dt,B),N(B,!1)},T=$=>{const B=$!==""?Number($):"";(pe(B)&&!Number.isNaN(B)||$==="")&&N(B),L(),c.userInput=null},V=()=>{var $,B;(B=($=i.value)==null?void 0:$.focus)==null||B.call($)},x=()=>{var $,B;(B=($=i.value)==null?void 0:$.blur)==null||B.call($)},O=$=>{a("focus",$)},D=$=>{var B,M;c.userInput=null,c.currentValue===null&&((B=i.value)!=null&&B.input)&&(i.value.input.value=""),a("blur",$),r.validateEvent&&((M=d==null?void 0:d.validate)==null||M.call(d,"blur").catch(I=>void 0))},L=()=>{c.currentValue!==r.modelValue&&(c.currentValue=r.modelValue)},H=$=>{document.activeElement===$.target&&$.preventDefault()};return e.watch(()=>r.modelValue,($,B)=>{const M=v($,!0);c.userInput===null&&M!==B&&(c.currentValue=M)},{immediate:!0}),e.watch(()=>r.precision,()=>{c.currentValue=v(r.modelValue)}),e.onMounted(()=>{var $;const{min:B,max:M,modelValue:I}=r,z=($=i.value)==null?void 0:$.input;if(z.setAttribute("role","spinbutton"),Number.isFinite(M)?z.setAttribute("aria-valuemax",String(M)):z.removeAttribute("aria-valuemax"),Number.isFinite(B)?z.setAttribute("aria-valuemin",String(B)):z.removeAttribute("aria-valuemin"),z.setAttribute("aria-valuenow",c.currentValue||c.currentValue===0?String(c.currentValue):""),z.setAttribute("aria-disabled",String(h.value)),!pe(I)&&I!=null){let F=Number(I);Number.isNaN(F)&&(F=null),a(Ne,F)}z.addEventListener("wheel",H,{passive:!1})}),e.onUpdated(()=>{var $,B;const M=($=i.value)==null?void 0:$.input;M==null||M.setAttribute("aria-valuenow",`${(B=c.currentValue)!=null?B:""}`)}),n({focus:V,blur:x}),($,B)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass([e.unref(s).b(),e.unref(s).m(e.unref(m)),e.unref(s).is("disabled",e.unref(h)),e.unref(s).is("without-controls",!t.controls),e.unref(s).is("controls-right",g.value),e.unref(s).is(t.align,!!t.align)]),onDragstart:B[0]||(B[0]=e.withModifiers(()=>{},["prevent"]))},[t.controls?e.withDirectives((e.openBlock(),e.createElementBlock("span",{key:0,role:"button","aria-label":e.unref(l)("el.inputNumber.decrease"),class:e.normalizeClass([e.unref(s).e("decrease"),e.unref(s).is("disabled",u.value)]),onKeydown:e.withKeys(E,["enter"])},[e.renderSlot($.$slots,"decrease-icon",{},()=>[e.createVNode(e.unref(ce),null,{default:e.withCtx(()=>[g.value?(e.openBlock(),e.createBlock(e.unref(Wo),{key:0})):(e.openBlock(),e.createBlock(e.unref(sF),{key:1}))]),_:1})])],42,QU)),[[e.unref(zs),E]]):e.createCommentVNode("v-if",!0),t.controls?e.withDirectives((e.openBlock(),e.createElementBlock("span",{key:1,role:"button","aria-label":e.unref(l)("el.inputNumber.increase"),class:e.normalizeClass([e.unref(s).e("increase"),e.unref(s).is("disabled",f.value)]),onKeydown:e.withKeys(S,["enter"])},[e.renderSlot($.$slots,"increase-icon",{},()=>[e.createVNode(e.unref(ce),null,{default:e.withCtx(()=>[g.value?(e.openBlock(),e.createBlock(e.unref(ec),{key:0})):(e.openBlock(),e.createBlock(e.unref(BC),{key:1}))]),_:1})])],42,eY)),[[e.unref(zs),S]]):e.createCommentVNode("v-if",!0),e.createVNode(e.unref(un),{id:t.id,ref_key:"input",ref:i,type:"number",step:t.step,"model-value":b.value,placeholder:t.placeholder,readonly:t.readonly,disabled:e.unref(h),size:e.unref(m),max:t.max,min:t.min,name:t.name,"aria-label":t.ariaLabel,"validate-event":!1,inputmode:t.inputmode,onKeydown:w,onBlur:D,onFocus:O,onInput:P,onChange:T},e.createSlots({_:2},[$.$slots.prefix?{name:"prefix",fn:e.withCtx(()=>[e.renderSlot($.$slots,"prefix")]),key:"0"}:void 0,$.$slots.suffix?{name:"suffix",fn:e.withCtx(()=>[e.renderSlot($.$slots,"suffix")]),key:"1"}:void 0]),1032,["id","step","model-value","placeholder","readonly","disabled","size","max","min","name","aria-label","inputmode"])],34))}});const Yp=Re(tY),Cv=oe({modelValue:{type:K(Array)},max:Number,tagType:{...er.type,default:"info"},tagEffect:er.effect,effect:{type:K(String),default:"light"},trigger:{type:K(String),default:te.enter},draggable:Boolean,delimiter:{type:[String,RegExp],default:""},size:Ht,clearable:Boolean,clearIcon:{type:dt,default:jo},disabled:{type:Boolean,default:void 0},validateEvent:{type:Boolean,default:!0},readonly:Boolean,autofocus:Boolean,id:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},maxlength:{type:[String,Number]},minlength:{type:[String,Number]},placeholder:String,autocomplete:{type:K(String),default:"off"},saveOnBlur:{type:Boolean,default:!0},collapseTags:Boolean,collapseTagsTooltip:Boolean,maxCollapseTags:{type:Number,default:1},ariaLabel:String}),wv={[Ne]:t=>ie(t)||Xe(t),[_e]:t=>ie(t)||Xe(t),[Dt]:t=>ve(t),"add-tag":t=>ve(t)||ie(t),"remove-tag":(t,n)=>ve(t)&&pe(n),"drag-tag":(t,n,o)=>pe(t)&&pe(n)&&ve(o),focus:t=>t instanceof FocusEvent,blur:t=>t instanceof FocusEvent,clear:()=>!0};function nY({wrapperRef:t,handleDragged:n,afterDragged:o}){const r=ee("input-tag"),a=e.shallowRef(),l=e.ref(!1);let s,i,c,d;function u(m){return`.${r.e("inner")} .${r.namespace.value}-tag:nth-child(${m+1})`}function f(m,h){s=h,i=t.value.querySelector(u(h)),i&&(i.style.opacity="0.5"),m.dataTransfer.effectAllowed="move"}function p(m,h){if(c=h,m.preventDefault(),m.dataTransfer.dropEffect="move",Xe(s)||s===h){l.value=!1;return}const b=t.value.querySelector(u(h)).getBoundingClientRect(),y=s+1!==h,k=s-1!==h,C=m.clientX-b.left,w=y?k?.5:1:-1,S=k?y?.5:0:1;C<=b.width*w?d="before":C>b.width*S?d="after":d=void 0;const E=t.value.querySelector(`.${r.e("inner")}`),v=E.getBoundingClientRect(),N=Number.parseFloat(hr(E,"gap"))/2,P=b.top-v.top;let T=-9999;if(d==="before")T=Math.max(b.left-v.left-N,Math.floor(-N/2));else if(d==="after"){const V=b.right-v.left;T=V+(v.width===V?Math.floor(N/2):N)}yC(a.value,{top:`${P}px`,left:`${T}px`}),l.value=!!d}function g(m){m.preventDefault(),i&&(i.style.opacity=""),d&&!Xe(s)&&!Xe(c)&&s!==c&&n(s,c,d),l.value=!1,s=void 0,i=null,c=void 0,d=void 0,o==null||o()}return{dropIndicatorRef:a,showDropIndicator:l,handleDragStart:f,handleDragOver:p,handleDragEnd:g}}function oY(){const t=e.ref(!1);return{hovering:t,handleMouseEnter:()=>{t.value=!0},handleMouseLeave:()=>{t.value=!1}}}function rY({props:t,emit:n,formItem:o}){const r=kt(),a=zt(),l=e.shallowRef(),s=e.ref(),i=e.ref(),c=e.computed(()=>["small"].includes(a.value)?"small":"default"),d=e.computed(()=>{var L;return(L=t.modelValue)!=null&&L.length?void 0:t.placeholder}),u=e.computed(()=>!(t.readonly||r.value)),f=e.computed(()=>{var L,H;return Xe(t.max)?!1:((H=(L=t.modelValue)==null?void 0:L.length)!=null?H:0)>=t.max}),p=e.computed(()=>{var L;return t.collapseTags?(L=t.modelValue)==null?void 0:L.slice(0,t.maxCollapseTags):t.modelValue}),g=e.computed(()=>{var L;return t.collapseTags?(L=t.modelValue)==null?void 0:L.slice(t.maxCollapseTags):[]}),m=L=>{var H;const $=[...(H=t.modelValue)!=null?H:[],...Xt(L)];n(Ne,$),n(_e,$),n("add-tag",L),s.value=void 0},h=L=>{var H,$;const B=L.split(t.delimiter).filter(M=>M&&M!==L);if(t.max){const M=t.max-(($=(H=t.modelValue)==null?void 0:H.length)!=null?$:0);B.splice(M)}return B.length===1?B[0]:B},b=L=>{if(f.value){s.value=void 0;return}if(!V.value){if(t.delimiter&&s.value){const H=h(s.value);H.length&&m(H)}n(Dt,L.target.value)}},y=L=>{var H;if(V.value)return;switch(ut(L)){case t.trigger:L.preventDefault(),L.stopPropagation(),C();break;case te.numpadEnter:t.trigger===te.enter&&(L.preventDefault(),L.stopPropagation(),C());break;case te.backspace:!s.value&&((H=t.modelValue)!=null&&H.length)&&(L.preventDefault(),L.stopPropagation(),w(t.modelValue.length-1));break}},k=L=>{if(V.value||!_g())return;ut(L)===te.space&&t.trigger===te.space&&(L.preventDefault(),L.stopPropagation(),C())},C=()=>{var L;const H=(L=s.value)==null?void 0:L.trim();!H||f.value||m(H)},w=L=>{var H;const $=((H=t.modelValue)!=null?H:[]).slice(),[B]=$.splice(L,1);n(Ne,$),n(_e,$),n("remove-tag",B,L)},S=()=>{s.value=void 0,n(Ne,void 0),n(_e,void 0),n("clear")},E=(L,H,$)=>{var B;const M=((B=t.modelValue)!=null?B:[]).slice(),[I]=M.splice(L,1),z=H>L&&$==="before"?-1:H{var L;(L=l.value)==null||L.focus()},N=()=>{var L;(L=l.value)==null||L.blur()},{wrapperRef:P,isFocused:T}=Qo(l,{disabled:r,beforeBlur(L){var H;return(H=i.value)==null?void 0:H.isFocusInsideContent(L)},afterBlur(){var L;t.saveOnBlur?C():s.value=void 0,t.validateEvent&&((L=o==null?void 0:o.validate)==null||L.call(o,"blur").catch(H=>void 0))}}),{isComposing:V,handleCompositionStart:x,handleCompositionUpdate:O,handleCompositionEnd:D}=fl({afterComposition:b});return e.watch(()=>t.modelValue,()=>{var L;t.validateEvent&&((L=o==null?void 0:o.validate)==null||L.call(o,_e).catch(H=>void 0))}),{inputRef:l,wrapperRef:P,tagTooltipRef:i,isFocused:T,isComposing:V,inputValue:s,size:a,tagSize:c,placeholder:d,closable:u,disabled:r,inputLimit:f,showTagList:p,collapseTagList:g,handleDragged:E,handleInput:b,handleKeydown:y,handleKeyup:k,handleAddTag:C,handleRemoveTag:w,handleClear:S,handleCompositionStart:x,handleCompositionUpdate:O,handleCompositionEnd:D,focus:v,blur:N}}function aY({props:t,isFocused:n,hovering:o,disabled:r,inputValue:a,size:l,validateState:s,validateIcon:i,needStatusIcon:c}){const d=e.useAttrs(),u=e.useSlots(),f=ee("input-tag"),p=ee("input"),g=e.ref(),m=e.ref(),h=e.computed(()=>[f.b(),f.is("focused",n.value),f.is("hovering",o.value),f.is("disabled",r.value),f.m(l.value),f.e("wrapper"),d.class]),b=e.computed(()=>[d.style]),y=e.computed(()=>{var P,T;return[f.e("inner"),f.is("draggable",t.draggable),f.is("left-space",!((P=t.modelValue)!=null&&P.length)&&!u.prefix),f.is("right-space",!((T=t.modelValue)!=null&&T.length)&&!C.value)]}),k=e.computed(()=>{var P;return t.clearable&&!r.value&&!t.readonly&&(((P=t.modelValue)==null?void 0:P.length)||a.value)&&(n.value||o.value)}),C=e.computed(()=>u.suffix||k.value||s.value&&i.value&&c.value),w=e.reactive({innerWidth:0,collapseItemWidth:0}),S=()=>{if(!m.value)return 0;const P=window.getComputedStyle(m.value);return Number.parseFloat(P.gap||"6px")},E=()=>{w.innerWidth=Number.parseFloat(window.getComputedStyle(m.value).width)},v=()=>{w.collapseItemWidth=g.value.getBoundingClientRect().width},N=e.computed(()=>{if(!t.collapseTags)return{};const P=S(),T=P+Kl,V=g.value&&t.maxCollapseTags===1?w.innerWidth-w.collapseItemWidth-P-T:w.innerWidth-T;return{maxWidth:`${Math.max(V,0)}px`}});return yt(m,E),yt(g,v),{ns:f,nsInput:p,containerKls:h,containerStyle:b,innerKls:y,showClear:k,showSuffix:C,tagStyle:N,collapseItemRef:g,innerRef:m}}const lY=["id","minlength","maxlength","disabled","readonly","autocomplete","tabindex","placeholder","autofocus","ariaLabel"],sY=["textContent"];var iY=e.defineComponent({name:"ElInputTag",inheritAttrs:!1,__name:"input-tag",props:Cv,emits:wv,setup(t,{expose:n,emit:o}){const r=t,a=o,l=gs(),s=e.useSlots(),{form:i,formItem:c}=Zt(),{inputId:d}=Dn(r,{formItemContext:c}),u=e.computed(()=>{var We;return(We=i==null?void 0:i.statusIcon)!=null?We:!1}),f=e.computed(()=>(c==null?void 0:c.validateState)||""),p=e.computed(()=>f.value&&oc[f.value]),{inputRef:g,wrapperRef:m,tagTooltipRef:h,isFocused:b,inputValue:y,size:k,tagSize:C,placeholder:w,closable:S,disabled:E,showTagList:v,collapseTagList:N,handleDragged:P,handleInput:T,handleKeydown:V,handleKeyup:x,handleRemoveTag:O,handleClear:D,handleCompositionStart:L,handleCompositionUpdate:H,handleCompositionEnd:$,focus:B,blur:M}=rY({props:r,emit:a,formItem:c}),{hovering:I,handleMouseEnter:z,handleMouseLeave:F}=oY(),{calculatorRef:A,inputStyle:W}=rc(),{dropIndicatorRef:j,showDropIndicator:G,handleDragStart:X,handleDragOver:Q,handleDragEnd:J}=nY({wrapperRef:m,handleDragged:P,afterDragged:B}),{ns:Y,nsInput:_,containerKls:q,containerStyle:le,innerKls:ue,showClear:Ce,showSuffix:Ee,tagStyle:Ve,collapseItemRef:Ie,innerRef:qe}=aY({props:r,hovering:I,isFocused:b,inputValue:y,disabled:E,size:k,validateState:f,validateIcon:p,needStatusIcon:u});return n({focus:B,blur:M}),(We,be)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"wrapperRef",ref:m,class:e.normalizeClass(e.unref(q)),style:e.normalizeStyle(e.unref(le)),onMouseenter:be[8]||(be[8]=(...ye)=>e.unref(z)&&e.unref(z)(...ye)),onMouseleave:be[9]||(be[9]=(...ye)=>e.unref(F)&&e.unref(F)(...ye))},[e.unref(s).prefix?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(Y).e("prefix"))},[e.renderSlot(We.$slots,"prefix")],2)):e.createCommentVNode("v-if",!0),e.createElementVNode("div",{ref_key:"innerRef",ref:qe,class:e.normalizeClass(e.unref(ue))},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(v),(ye,Te)=>(e.openBlock(),e.createBlock(e.unref(tr),{key:Te,size:e.unref(C),closable:e.unref(S),type:t.tagType,effect:t.tagEffect,draggable:e.unref(S)&&t.draggable,style:e.normalizeStyle(e.unref(Ve)),"disable-transitions":"",onClose:Oe=>e.unref(O)(Te),onDragstart:Oe=>e.unref(X)(Oe,Te),onDragover:Oe=>e.unref(Q)(Oe,Te),onDragend:e.unref(J),onDrop:be[0]||(be[0]=e.withModifiers(()=>{},["stop"]))},{default:e.withCtx(()=>[e.renderSlot(We.$slots,"tag",{value:ye,index:Te},()=>[e.createTextVNode(e.toDisplayString(ye),1)])]),_:2},1032,["size","closable","type","effect","draggable","style","onClose","onDragstart","onDragover","onDragend"]))),128)),t.collapseTags&&t.modelValue&&t.modelValue.length>t.maxCollapseTags?(e.openBlock(),e.createBlock(e.unref(Jt),{key:0,ref_key:"tagTooltipRef",ref:h,disabled:!t.collapseTagsTooltip,"fallback-placements":["bottom","top","right","left"],effect:t.effect,placement:"bottom"},{default:e.withCtx(()=>[e.createElementVNode("div",{ref_key:"collapseItemRef",ref:Ie,class:e.normalizeClass(e.unref(Y).e("collapse-tag"))},[e.createVNode(e.unref(tr),{closable:!1,size:e.unref(C),type:t.tagType,effect:t.tagEffect,"disable-transitions":""},{default:e.withCtx(()=>[e.createTextVNode(" + "+e.toDisplayString(t.modelValue.length-t.maxCollapseTags),1)]),_:1},8,["size","type","effect"])],2)]),content:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(e.unref(Y).e("input-tag-list"))},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(N),(ye,Te)=>(e.openBlock(),e.createBlock(e.unref(tr),{key:Te,size:e.unref(C),closable:e.unref(S),type:t.tagType,effect:t.tagEffect,"disable-transitions":"",onClose:Oe=>e.unref(O)(Te+t.maxCollapseTags)},{default:e.withCtx(()=>[e.renderSlot(We.$slots,"tag",{value:ye,index:Te+t.maxCollapseTags},()=>[e.createTextVNode(e.toDisplayString(ye),1)])]),_:2},1032,["size","closable","type","effect","onClose"]))),128))],2)]),_:3},8,["disabled","effect"])):e.createCommentVNode("v-if",!0),e.createElementVNode("div",{class:e.normalizeClass(e.unref(Y).e("input-wrapper"))},[e.withDirectives(e.createElementVNode("input",e.mergeProps({id:e.unref(d),ref_key:"inputRef",ref:g,"onUpdate:modelValue":be[1]||(be[1]=ye=>e.isRef(y)?y.value=ye:null)},e.unref(l),{type:"text",minlength:t.minlength,maxlength:t.maxlength,disabled:e.unref(E),readonly:t.readonly,autocomplete:t.autocomplete,tabindex:t.tabindex,placeholder:e.unref(w),autofocus:t.autofocus,ariaLabel:t.ariaLabel,class:e.unref(Y).e("input"),style:e.unref(W),onCompositionstart:be[2]||(be[2]=(...ye)=>e.unref(L)&&e.unref(L)(...ye)),onCompositionupdate:be[3]||(be[3]=(...ye)=>e.unref(H)&&e.unref(H)(...ye)),onCompositionend:be[4]||(be[4]=(...ye)=>e.unref($)&&e.unref($)(...ye)),onInput:be[5]||(be[5]=(...ye)=>e.unref(T)&&e.unref(T)(...ye)),onKeydown:be[6]||(be[6]=(...ye)=>e.unref(V)&&e.unref(V)(...ye)),onKeyup:be[7]||(be[7]=(...ye)=>e.unref(x)&&e.unref(x)(...ye))}),null,16,lY),[[e.vModelText,e.unref(y)]]),e.createElementVNode("span",{ref_key:"calculatorRef",ref:A,"aria-hidden":"true",class:e.normalizeClass(e.unref(Y).e("input-calculator")),textContent:e.toDisplayString(e.unref(y))},null,10,sY)],2),e.withDirectives(e.createElementVNode("div",{ref_key:"dropIndicatorRef",ref:j,class:e.normalizeClass(e.unref(Y).e("drop-indicator"))},null,2),[[e.vShow,e.unref(G)]])],2),e.unref(Ee)?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(Y).e("suffix"))},[e.renderSlot(We.$slots,"suffix"),e.unref(Ce)?(e.openBlock(),e.createBlock(e.unref(ce),{key:0,class:e.normalizeClass([e.unref(Y).e("icon"),e.unref(Y).e("clear")]),onMousedown:e.withModifiers(e.unref(et),["prevent"]),onClick:e.unref(D)},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.clearIcon)))]),_:1},8,["class","onMousedown","onClick"])):e.createCommentVNode("v-if",!0),f.value&&p.value&&u.value?(e.openBlock(),e.createBlock(e.unref(ce),{key:1,class:e.normalizeClass([e.unref(_).e("icon"),e.unref(_).e("validateIcon"),e.unref(_).is("loading",f.value==="validating")])},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(p.value)))]),_:1},8,["class"])):e.createCommentVNode("v-if",!0)],2)):e.createCommentVNode("v-if",!0)],38))}});const kv=Re(iY),Sv=oe({type:{type:String,values:["primary","success","warning","info","danger","default"],default:void 0},underline:{type:[Boolean,String],values:[!0,!1,"always","never","hover"],default:void 0},disabled:Boolean,href:{type:String,default:""},target:{type:String,default:"_self"},icon:{type:dt}}),Ev={click:t=>t instanceof MouseEvent},cY=["href","target"];var dY=e.defineComponent({name:"ElLink",__name:"link",props:Sv,emits:Ev,setup(t,{emit:n}){const o=t,r=n,a=ga("link");No({scope:"el-link",from:"The underline option (boolean)",replacement:"'always' | 'hover' | 'never'",version:"3.0.0",ref:"https://element-plus.org/en-US/component/link.html#underline"},e.computed(()=>ct(o.underline)));const l=ee("link"),s=e.computed(()=>{var d,u,f;return[l.b(),l.m((f=(u=o.type)!=null?u:(d=a.value)==null?void 0:d.type)!=null?f:"default"),l.is("disabled",o.disabled),l.is("underline",i.value==="always"),l.is("hover-underline",i.value==="hover"&&!o.disabled)]}),i=e.computed(()=>{var d,u,f;return ct(o.underline)?o.underline?"hover":"never":(f=(u=o.underline)!=null?u:(d=a.value)==null?void 0:d.underline)!=null?f:"hover"});function c(d){o.disabled||r("click",d)}return(d,u)=>(e.openBlock(),e.createElementBlock("a",{class:e.normalizeClass(s.value),href:t.disabled||!t.href?void 0:t.href,target:t.disabled||!t.href?void 0:t.target,onClick:c},[t.icon?(e.openBlock(),e.createBlock(e.unref(ce),{key:0},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.icon)))]),_:1})):e.createCommentVNode("v-if",!0),d.$slots.default?(e.openBlock(),e.createElementBlock("span",{key:1,class:e.normalizeClass(e.unref(l).e("inner"))},[e.renderSlot(d.$slots,"default")],2)):e.createCommentVNode("v-if",!0),d.$slots.icon?e.renderSlot(d.$slots,"icon",{key:2}):e.createCommentVNode("v-if",!0)],10,cY))}});const vv=Re(dY);var uY=Object.defineProperty,fY=(t,n,o)=>n in t?uY(t,n,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[n]=o,Nv=(t,n,o)=>fY(t,typeof n!="symbol"?n+"":n,o);let mY=class{constructor(n,o){this.parent=n,this.domNode=o,Nv(this,"subMenuItems"),Nv(this,"subIndex",0),this.subIndex=0,this.init()}init(){this.subMenuItems=this.domNode.querySelectorAll("li"),this.addListeners()}gotoSubIndex(n){n===this.subMenuItems.length?n=0:n<0&&(n=this.subMenuItems.length-1),this.subMenuItems[n].focus(),this.subIndex=n}addListeners(){const n=this.parent.domNode;Array.prototype.forEach.call(this.subMenuItems,o=>{o.addEventListener("keydown",r=>{const a=ut(r);let l=!1;switch(a){case te.down:{this.gotoSubIndex(this.subIndex+1),l=!0;break}case te.up:{this.gotoSubIndex(this.subIndex-1),l=!0;break}case te.tab:{ui(n,"mouseleave");break}case te.enter:case te.numpadEnter:case te.space:{l=!0,r.currentTarget.click();break}}return l&&(r.preventDefault(),r.stopPropagation()),!1})})}};var pY=Object.defineProperty,hY=(t,n,o)=>n in t?pY(t,n,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[n]=o,gY=(t,n,o)=>hY(t,n+"",o);class bY{constructor(n,o){this.domNode=n,gY(this,"submenu",null),this.submenu=null,this.init(o)}init(n){this.domNode.setAttribute("tabindex","0");const o=this.domNode.querySelector(`.${n}-menu`);o&&(this.submenu=new mY(this,o)),this.addListeners()}addListeners(){this.domNode.addEventListener("keydown",n=>{const o=ut(n);let r=!1;switch(o){case te.down:{ui(n.currentTarget,"mouseenter"),this.submenu&&this.submenu.gotoSubIndex(0),r=!0;break}case te.up:{ui(n.currentTarget,"mouseenter"),this.submenu&&this.submenu.gotoSubIndex(this.submenu.subMenuItems.length-1),r=!0;break}case te.tab:{ui(n.currentTarget,"mouseleave");break}case te.enter:case te.numpadEnter:case te.space:{r=!0,n.currentTarget.click();break}}r&&n.preventDefault()})}}let yY=class{constructor(n,o){this.domNode=n,this.init(o)}init(n){const o=this.domNode.childNodes;Array.from(o).forEach(r=>{r.nodeType===1&&new bY(r,n)})}};var CY=e.defineComponent({name:"ElMenuCollapseTransition",__name:"menu-collapse-transition",setup(t){const n=ee("menu"),o={onBeforeEnter:r=>r.style.opacity="0.2",onEnter(r,a){lo(r,`${n.namespace.value}-opacity-transition`),r.style.opacity="1",a()},onAfterEnter(r){yn(r,`${n.namespace.value}-opacity-transition`),r.style.opacity=""},onBeforeLeave(r){r.dataset||(r.dataset={}),Ko(r,n.m("collapse"))?(yn(r,n.m("collapse")),r.dataset.oldOverflow=r.style.overflow,r.dataset.scrollWidth=r.clientWidth.toString(),lo(r,n.m("collapse"))):(lo(r,n.m("collapse")),r.dataset.oldOverflow=r.style.overflow,r.dataset.scrollWidth=r.clientWidth.toString(),yn(r,n.m("collapse"))),r.style.width=`${r.scrollWidth}px`,r.style.overflow="hidden"},onLeave(r){lo(r,"horizontal-collapse-transition"),r.style.width=`${r.dataset.scrollWidth}px`}};return(r,a)=>(e.openBlock(),e.createBlock(e.Transition,e.mergeProps({mode:"out-in"},o),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16))}});function Bv(t,n){const o=e.computed(()=>{let a=t.parent;const l=[n.value];for(;a.type.name!=="ElMenu";)a.props.index&&l.unshift(a.props.index),a=a.parent;return l});return{parentMenu:e.computed(()=>{let a=t.parent;for(;a&&!["ElMenu","ElSubMenu"].includes(a.type.name);)a=a.parent;return a}),indexPath:o}}function wY(t){return e.computed(()=>{const o=t.backgroundColor;return o?new Cl(o).shade(20).toString():""})}const Tv=(t,n)=>{const o=ee("menu");return e.computed(()=>o.cssVarBlock({"text-color":t.textColor||"","hover-text-color":t.textColor||"","bg-color":t.backgroundColor||"","hover-bg-color":wY(t).value||"","active-color":t.activeTextColor||"",level:`${n}`}))},id="rootMenu",Zs="subMenu:",xv=oe({index:{type:String,required:!0},showTimeout:Number,hideTimeout:Number,popperClass:String,popperStyle:{type:K([String,Object])},disabled:Boolean,teleported:{type:Boolean,default:void 0},popperOffset:Number,expandCloseIcon:{type:dt},expandOpenIcon:{type:dt},collapseCloseIcon:{type:dt},collapseOpenIcon:{type:dt}}),Gp="ElSubMenu";var qp=e.defineComponent({name:Gp,props:xv,setup(t,{slots:n,expose:o}){const r=e.getCurrentInstance(),{indexPath:a,parentMenu:l}=Bv(r,e.computed(()=>t.index)),s=ee("menu"),i=ee("sub-menu"),c=e.inject(id);c||Ft(Gp,"can not inject root menu");const d=e.inject(`${Zs}${l.value.uid}`);d||Ft(Gp,"can not inject sub menu");const u=e.ref({}),f=e.ref({});let p;const g=e.ref(!1),m=e.ref(),h=e.ref(),b=e.computed(()=>d.level===0),y=e.computed(()=>N.value==="horizontal"&&b.value?"bottom-start":"right-start"),k=e.computed(()=>N.value==="horizontal"&&b.value||N.value==="vertical"&&!c.props.collapse?t.expandCloseIcon&&t.expandOpenIcon?E.value?t.expandOpenIcon:t.expandCloseIcon:Wo:t.collapseCloseIcon&&t.collapseOpenIcon?E.value?t.collapseOpenIcon:t.collapseCloseIcon:Cn),C=e.computed(()=>{const F=t.teleported;return Xe(F)?b.value:F}),w=e.computed(()=>c.props.collapse?`${s.namespace.value}-zoom-in-left`:`${s.namespace.value}-zoom-in-top`),S=e.computed(()=>N.value==="horizontal"&&b.value?["bottom-start","bottom-end","top-start","top-end","right-start","left-start"]:["right-start","right","right-end","left-start","bottom-start","bottom-end","top-start","top-end"]),E=e.computed(()=>c.openedMenus.includes(t.index)),v=e.computed(()=>[...Object.values(u.value),...Object.values(f.value)].some(({active:F})=>F)),N=e.computed(()=>c.props.mode),P=e.computed(()=>c.props.persistent),T=e.reactive({index:t.index,indexPath:a,active:v}),V=Tv(c.props,d.level+1),x=e.computed(()=>{var F;return(F=t.popperOffset)!=null?F:c.props.popperOffset}),O=e.computed(()=>{var F;return(F=t.popperClass)!=null?F:c.props.popperClass}),D=e.computed(()=>{var F;return(F=t.popperStyle)!=null?F:c.props.popperStyle}),L=e.computed(()=>{var F;return(F=t.showTimeout)!=null?F:c.props.showTimeout}),H=e.computed(()=>{var F;return(F=t.hideTimeout)!=null?F:c.props.hideTimeout}),$=()=>{var F,A,W;return(W=(A=(F=h.value)==null?void 0:F.popperRef)==null?void 0:A.popperInstanceRef)==null?void 0:W.destroy()},B=F=>{F||$()},M=()=>{c.props.menuTrigger==="hover"&&c.props.mode==="horizontal"||c.props.collapse&&c.props.mode==="vertical"||t.disabled||c.handleSubMenuClick({index:t.index,indexPath:a.value,active:v.value})},I=(F,A=L.value)=>{var W;if(F.type!=="focus"){if(c.props.menuTrigger==="click"&&c.props.mode==="horizontal"||!c.props.collapse&&c.props.mode==="vertical"||t.disabled){d.mouseInChild.value=!0;return}d.mouseInChild.value=!0,p==null||p(),{stop:p}=Oa(()=>{c.openMenu(t.index,a.value)},A),C.value&&((W=l.value.vnode.el)==null||W.dispatchEvent(new MouseEvent("mouseenter"))),F.type==="mouseenter"&&F.target&&e.nextTick(()=>{Hl(F.target,{preventScroll:!0})})}},z=(F=!1)=>{var A;if(c.props.menuTrigger==="click"&&c.props.mode==="horizontal"||!c.props.collapse&&c.props.mode==="vertical"){d.mouseInChild.value=!1;return}p==null||p(),d.mouseInChild.value=!1,{stop:p}=Oa(()=>!g.value&&c.closeMenu(t.index,a.value),H.value),C.value&&F&&((A=d.handleMouseleave)==null||A.call(d,!0))};e.watch(()=>c.props.collapse,F=>B(!!F));{const F=W=>{f.value[W.index]=W},A=W=>{delete f.value[W.index]};e.provide(`${Zs}${r.uid}`,{addSubMenu:F,removeSubMenu:A,handleMouseleave:z,mouseInChild:g,level:d.level+1})}return o({opened:E}),e.onMounted(()=>{c.addSubMenu(T),d.addSubMenu(T)}),e.onBeforeUnmount(()=>{d.removeSubMenu(T),c.removeSubMenu(T)}),()=>{var F;const A=[(F=n.title)==null?void 0:F.call(n),e.h(ce,{class:i.e("icon-arrow"),style:{transform:E.value?t.expandCloseIcon&&t.expandOpenIcon||t.collapseCloseIcon&&t.collapseOpenIcon&&c.props.collapse?"none":"rotateZ(180deg)":"none"}},{default:()=>ve(k.value)?e.h(r.appContext.components[k.value]):e.h(k.value)})],W=c.isMenuPopup?e.h(Jt,{ref:h,visible:E.value,effect:"light",pure:!0,offset:x.value,showArrow:!1,persistent:P.value,popperClass:O.value,popperStyle:D.value,placement:y.value,teleported:C.value,fallbackPlacements:S.value,transition:w.value,gpuAcceleration:!1},{content:()=>{var j;return e.h("div",{class:[s.m(N.value),s.m("popup-container"),O.value],onMouseenter:G=>I(G,100),onMouseleave:()=>z(!0),onFocus:G=>I(G,100)},[e.h("ul",{class:[s.b(),s.m("popup"),s.m(`popup-${y.value}`)],style:V.value},[(j=n.default)==null?void 0:j.call(n)])])},default:()=>e.h("div",{class:i.e("title"),onClick:M},A)}):e.h(e.Fragment,{},[e.h("div",{class:i.e("title"),ref:m,onClick:M},A),e.h(Ks,{},{default:()=>{var j;return e.withDirectives(e.h("ul",{role:"menu",class:[s.b(),s.m("inline")],style:V.value},[(j=n.default)==null?void 0:j.call(n)]),[[e.vShow,E.value]])}})]);return e.h("li",{class:[i.b(),i.is("active",v.value),i.is("opened",E.value),i.is("disabled",t.disabled)],role:"menuitem",ariaHaspopup:!0,ariaExpanded:E.value,onMouseenter:I,onMouseleave:()=>z(),onFocus:I},[W])}}});const $v=oe({mode:{type:String,values:["horizontal","vertical"],default:"vertical"},defaultActive:{type:String,default:""},defaultOpeneds:{type:K(Array),default:()=>wt([])},uniqueOpened:Boolean,router:Boolean,menuTrigger:{type:String,values:["hover","click"],default:"hover"},collapse:Boolean,backgroundColor:String,textColor:String,activeTextColor:String,closeOnClickOutside:Boolean,collapseTransition:{type:Boolean,default:!0},ellipsis:{type:Boolean,default:!0},popperOffset:{type:Number,default:6},ellipsisIcon:{type:dt,default:()=>dF},popperEffect:{type:K(String),default:"dark"},popperClass:String,popperStyle:{type:K([String,Object])},showTimeout:{type:Number,default:300},hideTimeout:{type:Number,default:300},persistent:{type:Boolean,default:!0}}),Xp=t=>ie(t)&&t.every(n=>ve(n)),Vv={close:(t,n)=>ve(t)&&Xp(n),open:(t,n)=>ve(t)&&Xp(n),select:(t,n,o,r)=>ve(t)&&Xp(n)&&tt(o)&&(Xe(r)||r instanceof Promise)},Pv=64;var kY=e.defineComponent({name:"ElMenu",props:$v,emits:Vv,setup(t,{emit:n,slots:o,expose:r}){const a=e.getCurrentInstance(),l=a.appContext.config.globalProperties.$router,s=e.ref(),i=e.ref(),c=ee("menu"),d=ee("sub-menu");let u=Pv;const f=e.ref(-1),p=e.ref(t.defaultOpeneds&&!t.collapse?t.defaultOpeneds.slice(0):[]),g=e.ref(t.defaultActive),m=e.ref({}),h=e.ref({}),b=e.computed(()=>t.mode==="horizontal"||t.mode==="vertical"&&t.collapse),y=()=>{const $=g.value&&m.value[g.value];if(!$||t.mode==="horizontal"||t.collapse)return;$.indexPath.forEach(M=>{const I=h.value[M];I&&k(M,I.indexPath)})},k=($,B)=>{p.value.includes($)||(t.uniqueOpened&&(p.value=p.value.filter(M=>B.includes(M))),p.value.push($),n("open",$,B))},C=$=>{const B=p.value.indexOf($);B!==-1&&p.value.splice(B,1)},w=($,B)=>{C($),n("close",$,B)},S=({index:$,indexPath:B})=>{p.value.includes($)?w($,B):k($,B)},E=$=>{(t.mode==="horizontal"||t.collapse)&&(p.value=[]);const{index:B,indexPath:M}=$;if(!(Rt(B)||Rt(M)))if(t.router&&l){const I=$.route||B,z=l.push(I).then(F=>(F||(g.value=B),F));n("select",B,M,{index:B,indexPath:M,route:I},z)}else g.value=B,n("select",B,M,{index:B,indexPath:M})},v=$=>{var B;const M=m.value,I=M[$]||g.value&&M[g.value]||M[t.defaultActive];g.value=(B=I==null?void 0:I.index)!=null?B:$},N=$=>{const B=getComputedStyle($),M=Number.parseInt(B.marginLeft,10),I=Number.parseInt(B.marginRight,10);return $.offsetWidth+M+I||0},P=()=>{if(!s.value)return-1;const $=Array.from(s.value.childNodes).filter(W=>W.nodeName!=="#comment"&&(W.nodeName!=="#text"||W.nodeValue)),B=getComputedStyle(s.value),M=Number.parseInt(B.paddingLeft,10),I=Number.parseInt(B.paddingRight,10),z=s.value.clientWidth-M-I;let F=0,A=0;return $.forEach((W,j)=>{F+=N(W),F<=z-u&&(A=j+1)}),A===$.length?-1:A},T=$=>h.value[$].indexPath,V=($,B=33.34)=>{let M;return()=>{M&&clearTimeout(M),M=setTimeout(()=>{$()},B)}};let x=!0;const O=()=>{const $=Lt(i);if($&&(u=N($)||Pv),f.value===P())return;const B=()=>{f.value=-1,e.nextTick(()=>{f.value=P()})};x?B():V(B)(),x=!1};e.watch(()=>t.defaultActive,$=>{m.value[$]||(g.value=""),v($)}),e.watch(()=>t.collapse,$=>{$&&(p.value=[])}),e.watch(m.value,y);let D;e.watchEffect(()=>{t.mode==="horizontal"&&t.ellipsis?D=yt(s,O).stop:D==null||D()});const L=e.ref(!1);{const $=z=>{h.value[z.index]=z},B=z=>{delete h.value[z.index]},M=z=>{m.value[z.index]=z},I=z=>{delete m.value[z.index]};e.provide(id,e.reactive({props:t,openedMenus:p,items:m,subMenus:h,activeIndex:g,isMenuPopup:b,addMenuItem:M,removeMenuItem:I,addSubMenu:$,removeSubMenu:B,openMenu:k,closeMenu:w,handleMenuItemClick:E,handleSubMenuClick:S})),e.provide(`${Zs}${a.uid}`,{addSubMenu:$,removeSubMenu:B,mouseInChild:L,level:0})}e.onMounted(()=>{t.mode==="horizontal"&&new yY(a.vnode.el,c.namespace.value)}),r({open:B=>{const{indexPath:M}=h.value[B];M.forEach(I=>k(I,M))},close:C,updateActiveIndex:v,handleResize:O});const H=Tv(t,0);return()=>{var $,B;let M=(B=($=o.default)==null?void 0:$.call(o))!=null?B:[];const I=[];if(t.mode==="horizontal"&&s.value){const A=Yn(M).filter(G=>(G==null?void 0:G.shapeFlag)!==8),W=f.value===-1?A:A.slice(0,f.value),j=f.value===-1?[]:A.slice(f.value);j!=null&&j.length&&t.ellipsis&&(M=W,I.push(e.h(qp,{ref:i,index:"sub-menu-more",class:d.e("hide-arrow"),popperOffset:t.popperOffset},{title:()=>e.h(ce,{class:d.e("icon-more")},{default:()=>e.h(t.ellipsisIcon)}),default:()=>j})))}const z=t.closeOnClickOutside?[[Sr,()=>{p.value.length&&(L.value||(p.value.forEach(A=>n("close",A,T(A))),p.value=[]))}]]:[],F=e.withDirectives(e.h("ul",{key:String(t.collapse),role:"menubar",ref:s,style:H.value,class:{[c.b()]:!0,[c.m(t.mode)]:!0,[c.m("collapse")]:t.collapse}},[...M,...I]),z);return t.collapseTransition&&t.mode==="vertical"?e.h(CY,()=>F):F}}});const Rv=oe({index:{type:K([String,null]),default:null},route:{type:K([String,Object])},disabled:Boolean}),Mv={click:t=>ve(t.index)&&ie(t.indexPath)},Zp="ElMenuItem";var Iv=e.defineComponent({name:Zp,__name:"menu-item",props:Rv,emits:Mv,setup(t,{expose:n,emit:o}){const r=t,a=o;On(r.index)&&void 0;const l=e.getCurrentInstance(),s=e.inject(id),i=ee("menu"),c=ee("menu-item");s||Ft(Zp,"can not inject root menu");const{parentMenu:d,indexPath:u}=Bv(l,e.toRef(r,"index")),f=e.inject(`${Zs}${d.value.uid}`);f||Ft(Zp,"can not inject sub menu");const p=e.computed(()=>r.index===s.activeIndex),g=e.reactive({index:r.index,indexPath:u,active:p}),m=()=>{r.disabled||(s.handleMenuItemClick({index:r.index,indexPath:u.value,route:r.route}),a("click",g))};return e.onMounted(()=>{f.addSubMenu(g),s.addMenuItem(g)}),e.onBeforeUnmount(()=>{f.removeSubMenu(g),s.removeMenuItem(g)}),n({parentMenu:d,rootMenu:s,active:p,nsMenu:i,nsMenuItem:c,handleClick:m}),(h,b)=>(e.openBlock(),e.createElementBlock("li",{class:e.normalizeClass([e.unref(c).b(),e.unref(c).is("active",p.value),e.unref(c).is("disabled",t.disabled)]),role:"menuitem",tabindex:"-1",onClick:m},[e.unref(d).type.name==="ElMenu"&&e.unref(s).props.collapse&&h.$slots.title?(e.openBlock(),e.createBlock(e.unref(Jt),{key:0,effect:e.unref(s).props.popperEffect,placement:"right","fallback-placements":["left"],"popper-class":e.unref(s).props.popperClass,"popper-style":e.unref(s).props.popperStyle,persistent:e.unref(s).props.persistent,"focus-on-target":""},{content:e.withCtx(()=>[e.renderSlot(h.$slots,"title")]),default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(e.unref(i).be("tooltip","trigger"))},[e.renderSlot(h.$slots,"default")],2)]),_:3},8,["effect","popper-class","popper-style","persistent"])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.renderSlot(h.$slots,"default"),e.renderSlot(h.$slots,"title")],64))],2))}});const Ov={title:String};var Av=e.defineComponent({name:"ElMenuItemGroup",__name:"menu-item-group",props:Ov,setup(t){const n=ee("menu-item-group");return(o,r)=>(e.openBlock(),e.createElementBlock("li",{class:e.normalizeClass(e.unref(n).b())},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(n).e("title"))},[o.$slots.title?e.renderSlot(o.$slots,"title",{key:1}):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(t.title),1)],64))],2),e.createElementVNode("ul",null,[e.renderSlot(o.$slots,"default")])],2))}});const zv=Re(kY,{MenuItem:Iv,MenuItemGroup:Av,SubMenu:qp}),Dv=Bt(Iv),Lv=Bt(Av),_v=Bt(qp),Fv=oe({icon:{type:dt,default:()=>I_},title:String,content:{type:String,default:""}}),Hv={back:()=>!0},SY=["aria-label"];var EY=e.defineComponent({name:"ElPageHeader",__name:"page-header",props:Fv,emits:Hv,setup(t,{emit:n}){const o=n,{t:r}=je(),a=ee("page-header");function l(){o("back")}return(s,i)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass([e.unref(a).b(),e.unref(a).is("contentful",!!s.$slots.default),{[e.unref(a).m("has-breadcrumb")]:!!s.$slots.breadcrumb,[e.unref(a).m("has-extra")]:!!s.$slots.extra}])},[s.$slots.breadcrumb?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(a).e("breadcrumb"))},[e.renderSlot(s.$slots,"breadcrumb")],2)):e.createCommentVNode("v-if",!0),e.createElementVNode("div",{class:e.normalizeClass(e.unref(a).e("header"))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(a).e("left"))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(a).e("back")),role:"button",tabindex:"0",onClick:l},[t.icon||s.$slots.icon?(e.openBlock(),e.createElementBlock("div",{key:0,"aria-label":t.title||e.unref(r)("el.pageHeader.title"),class:e.normalizeClass(e.unref(a).e("icon"))},[e.renderSlot(s.$slots,"icon",{},()=>[t.icon?(e.openBlock(),e.createBlock(e.unref(ce),{key:0},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.icon)))]),_:1})):e.createCommentVNode("v-if",!0)])],10,SY)):e.createCommentVNode("v-if",!0),e.createElementVNode("div",{class:e.normalizeClass(e.unref(a).e("title"))},[e.renderSlot(s.$slots,"title",{},()=>[e.createTextVNode(e.toDisplayString(t.title||e.unref(r)("el.pageHeader.title")),1)])],2)],2),e.createVNode(e.unref(Fp),{direction:"vertical"}),e.createElementVNode("div",{class:e.normalizeClass(e.unref(a).e("content"))},[e.renderSlot(s.$slots,"content",{},()=>[e.createTextVNode(e.toDisplayString(t.content),1)])],2)],2),s.$slots.extra?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(a).e("extra"))},[e.renderSlot(s.$slots,"extra")],2)):e.createCommentVNode("v-if",!0)],2),s.$slots.default?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(a).e("main"))},[e.renderSlot(s.$slots,"default")],2)):e.createCommentVNode("v-if",!0)],2))}});const Kv=Re(EY),Jp=Symbol("elPaginationKey"),vY=oe({disabled:Boolean,currentPage:{type:Number,default:1},prevText:{type:String},prevIcon:{type:dt}}),NY={click:t=>t instanceof MouseEvent},BY=["disabled","aria-label","aria-disabled"],TY={key:0};var xY=e.defineComponent({name:"ElPaginationPrev",__name:"prev",props:vY,emits:NY,setup(t){const n=t,{t:o}=je(),r=e.computed(()=>n.disabled||n.currentPage<=1);return(a,l)=>(e.openBlock(),e.createElementBlock("button",{type:"button",class:"btn-prev",disabled:r.value,"aria-label":a.prevText||e.unref(o)("el.pagination.prev"),"aria-disabled":r.value,onClick:l[0]||(l[0]=s=>a.$emit("click",s))},[a.prevText?(e.openBlock(),e.createElementBlock("span",TY,e.toDisplayString(a.prevText),1)):(e.openBlock(),e.createBlock(e.unref(ce),{key:1},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(a.prevIcon)))]),_:1}))],8,BY))}});const $Y=oe({disabled:Boolean,currentPage:{type:Number,default:1},pageCount:{type:Number,default:50},nextText:{type:String},nextIcon:{type:dt}}),VY=["disabled","aria-label","aria-disabled"],PY={key:0};var RY=e.defineComponent({name:"ElPaginationNext",__name:"next",props:$Y,emits:["click"],setup(t){const n=t,{t:o}=je(),r=e.computed(()=>n.disabled||n.currentPage===n.pageCount||n.pageCount===0);return(a,l)=>(e.openBlock(),e.createElementBlock("button",{type:"button",class:"btn-next",disabled:r.value,"aria-label":a.nextText||e.unref(o)("el.pagination.next"),"aria-disabled":r.value,onClick:l[0]||(l[0]=s=>a.$emit("click",s))},[a.nextText?(e.openBlock(),e.createElementBlock("span",PY,e.toDisplayString(a.nextText),1)):(e.openBlock(),e.createBlock(e.unref(ce),{key:1},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(a.nextIcon)))]),_:1}))],8,VY))}});const Qp=()=>e.inject(Jp,{}),MY=oe({pageSize:{type:Number,required:!0},pageSizes:{type:K(Array),default:()=>wt([10,20,30,40,50,100])},popperClass:{type:String},popperStyle:{type:K([String,Object])},disabled:Boolean,teleported:Boolean,size:{type:String,values:Jn},appendSizeTo:String});var IY=e.defineComponent({name:"ElPaginationSizes",__name:"sizes",props:MY,emits:["page-size-change"],setup(t,{emit:n}){const o=t,r=n,{t:a}=je(),l=ee("pagination"),s=Qp(),i=e.ref(o.pageSize);e.watch(()=>o.pageSizes,(u,f)=>{if(!xt(u,f)&&ie(u)){const p=u.includes(o.pageSize)?o.pageSize:o.pageSizes[0];r("page-size-change",p)}}),e.watch(()=>o.pageSize,u=>{i.value=u});const c=e.computed(()=>o.pageSizes);function d(u){var f;u!==i.value&&(i.value=u,(f=s.handleSizeChange)==null||f.call(s,Number(u)))}return(u,f)=>(e.openBlock(),e.createElementBlock("span",{class:e.normalizeClass(e.unref(l).e("sizes"))},[e.createVNode(e.unref(Er),{"model-value":i.value,disabled:u.disabled,"popper-class":u.popperClass,"popper-style":u.popperStyle,size:u.size,teleported:u.teleported,"validate-event":!1,"append-to":u.appendSizeTo,onChange:d},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,p=>(e.openBlock(),e.createBlock(e.unref(Fs),{key:p,value:p,label:p+e.unref(a)("el.pagination.pagesize")},null,8,["value","label"]))),128))]),_:1},8,["model-value","disabled","popper-class","popper-style","size","teleported","append-to"])],2))}});const OY=oe({size:{type:String,values:Jn}}),AY=["disabled"];var zY=e.defineComponent({name:"ElPaginationJumper",__name:"jumper",props:OY,setup(t){const{t:n}=je(),o=ee("pagination"),{pageCount:r,disabled:a,currentPage:l,changeEvent:s}=Qp(),i=e.ref(),c=e.computed(()=>{var f;return(f=i.value)!=null?f:l==null?void 0:l.value});function d(f){i.value=f?+f:""}function u(f){f=Math.trunc(+f),s==null||s(f),i.value=void 0}return(f,p)=>(e.openBlock(),e.createElementBlock("span",{class:e.normalizeClass(e.unref(o).e("jump")),disabled:e.unref(a)},[e.createElementVNode("span",{class:e.normalizeClass([e.unref(o).e("goto")])},e.toDisplayString(e.unref(n)("el.pagination.goto")),3),e.createVNode(e.unref(un),{size:f.size,class:e.normalizeClass([e.unref(o).e("editor"),e.unref(o).is("in-pagination")]),min:1,max:e.unref(r),disabled:e.unref(a),"model-value":c.value,"validate-event":!1,"aria-label":e.unref(n)("el.pagination.page"),type:"number","onUpdate:modelValue":d,onChange:u},null,8,["size","class","max","disabled","model-value","aria-label"]),e.createElementVNode("span",{class:e.normalizeClass([e.unref(o).e("classifier")])},e.toDisplayString(e.unref(n)("el.pagination.pageClassifier")),3)],10,AY))}});const DY=oe({total:{type:Number,default:1e3}}),LY=["disabled"];var _Y=e.defineComponent({name:"ElPaginationTotal",__name:"total",props:DY,setup(t){const{t:n}=je(),o=ee("pagination"),{disabled:r}=Qp();return(a,l)=>(e.openBlock(),e.createElementBlock("span",{class:e.normalizeClass(e.unref(o).e("total")),disabled:e.unref(r)},e.toDisplayString(e.unref(n)("el.pagination.total",{total:a.total})),11,LY))}});const FY=oe({currentPage:{type:Number,default:1},pageCount:{type:Number,required:!0},pagerCount:{type:Number,default:7},disabled:Boolean}),HY=["aria-current","aria-label","tabindex"],KY=["tabindex","aria-label"],WY=["aria-current","aria-label","tabindex"],jY=["tabindex","aria-label"],UY=["aria-current","aria-label","tabindex"];var YY=e.defineComponent({name:"ElPaginationPager",__name:"pager",props:FY,emits:[_e],setup(t,{emit:n}){const o=t,r=n,a=ee("pager"),l=ee("icon"),{t:s}=je(),i=e.ref(!1),c=e.ref(!1),d=e.ref(!1),u=e.ref(!1),f=e.ref(!1),p=e.ref(!1),g=e.computed(()=>{const S=o.pagerCount,E=(S-1)/2,v=Number(o.currentPage),N=Number(o.pageCount);let P=!1,T=!1;N>S&&(v>S-E&&(P=!0),v["more","btn-quickprev",l.b(),a.is("disabled",o.disabled)]),h=e.computed(()=>["more","btn-quicknext",l.b(),a.is("disabled",o.disabled)]),b=e.computed(()=>o.disabled?-1:0);e.watch(()=>[o.pageCount,o.pagerCount,o.currentPage],([S,E,v])=>{const N=(E-1)/2;let P=!1,T=!1;S>E&&(P=v>E-N,T=vN&&(v=N)),v!==P&&r(_e,v)}return(S,E)=>(e.openBlock(),e.createElementBlock("ul",{class:e.normalizeClass(e.unref(a).b()),onClick:w,onKeyup:e.withKeys(C,["enter"])},[S.pageCount>0?(e.openBlock(),e.createElementBlock("li",{key:0,class:e.normalizeClass([[e.unref(a).is("active",S.currentPage===1),e.unref(a).is("disabled",S.disabled)],"number"]),"aria-current":S.currentPage===1,"aria-label":e.unref(s)("el.pagination.currentPage",{pager:1}),tabindex:b.value}," 1 ",10,HY)):e.createCommentVNode("v-if",!0),i.value?(e.openBlock(),e.createElementBlock("li",{key:1,class:e.normalizeClass(m.value),tabindex:b.value,"aria-label":e.unref(s)("el.pagination.prevPages",{pager:S.pagerCount-2}),onMouseenter:E[0]||(E[0]=v=>y(!0)),onMouseleave:E[1]||(E[1]=v=>d.value=!1),onFocus:E[2]||(E[2]=v=>k(!0)),onBlur:E[3]||(E[3]=v=>f.value=!1)},[(d.value||f.value)&&!S.disabled?(e.openBlock(),e.createBlock(e.unref(Dr),{key:0})):(e.openBlock(),e.createBlock(e.unref(NC),{key:1}))],42,KY)):e.createCommentVNode("v-if",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(g.value,v=>(e.openBlock(),e.createElementBlock("li",{key:v,class:e.normalizeClass([[e.unref(a).is("active",S.currentPage===v),e.unref(a).is("disabled",S.disabled)],"number"]),"aria-current":S.currentPage===v,"aria-label":e.unref(s)("el.pagination.currentPage",{pager:v}),tabindex:b.value},e.toDisplayString(v),11,WY))),128)),c.value?(e.openBlock(),e.createElementBlock("li",{key:2,class:e.normalizeClass(h.value),tabindex:b.value,"aria-label":e.unref(s)("el.pagination.nextPages",{pager:S.pagerCount-2}),onMouseenter:E[4]||(E[4]=v=>y()),onMouseleave:E[5]||(E[5]=v=>u.value=!1),onFocus:E[6]||(E[6]=v=>k()),onBlur:E[7]||(E[7]=v=>p.value=!1)},[(u.value||p.value)&&!S.disabled?(e.openBlock(),e.createBlock(e.unref(Lr),{key:0})):(e.openBlock(),e.createBlock(e.unref(NC),{key:1}))],42,jY)):e.createCommentVNode("v-if",!0),S.pageCount>1?(e.openBlock(),e.createElementBlock("li",{key:3,class:e.normalizeClass([[e.unref(a).is("active",S.currentPage===S.pageCount),e.unref(a).is("disabled",S.disabled)],"number"]),"aria-current":S.currentPage===S.pageCount,"aria-label":e.unref(s)("el.pagination.currentPage",{pager:S.pageCount}),tabindex:b.value},e.toDisplayString(S.pageCount),11,UY)):e.createCommentVNode("v-if",!0)],34))}});const xn=t=>typeof t!="number",Wv=oe({pageSize:Number,defaultPageSize:Number,total:Number,pageCount:Number,pagerCount:{type:Number,validator:t=>pe(t)&&Math.trunc(t)===t&&t>4&&t<22&&t%2===1,default:7},currentPage:Number,defaultCurrentPage:Number,layout:{type:String,default:["prev","pager","next","jumper","->","total"].join(", ")},pageSizes:{type:K(Array),default:()=>wt([10,20,30,40,50,100])},popperClass:{type:String,default:""},popperStyle:{type:K([String,Object])},prevText:{type:String,default:""},prevIcon:{type:dt,default:()=>gr},nextText:{type:String,default:""},nextIcon:{type:dt,default:()=>Cn},teleported:{type:Boolean,default:!0},small:Boolean,size:Ht,background:Boolean,disabled:Boolean,hideOnSinglePage:Boolean,appendSizeTo:String}),jv={"update:current-page":t=>pe(t),"update:page-size":t=>pe(t),"size-change":t=>pe(t),change:(t,n)=>pe(t)&&pe(n),"current-change":t=>pe(t),"prev-click":t=>pe(t),"next-click":t=>pe(t)},Uv="ElPagination";var GY=e.defineComponent({name:Uv,props:Wv,emits:jv,setup(t,{emit:n,slots:o}){const{t:r}=je(),a=ee("pagination"),l=e.getCurrentInstance().vnode.props||{},s=Jf(),i=e.computed(()=>{var S;return t.small?"small":(S=t.size)!=null?S:s.value});No({from:"small",replacement:"size",version:"3.0.0",scope:"el-pagination",ref:"https://element-plus.org/zh-CN/component/pagination.html"},e.computed(()=>!!t.small));const c="onUpdate:currentPage"in l||"onUpdate:current-page"in l||"onCurrentChange"in l,d="onUpdate:pageSize"in l||"onUpdate:page-size"in l||"onSizeChange"in l,u=e.computed(()=>{if(xn(t.total)&&xn(t.pageCount)||!xn(t.currentPage)&&!c)return!1;if(t.layout.includes("sizes")){if(xn(t.pageCount)){if(!xn(t.total)&&!xn(t.pageSize)&&!d)return!1}else if(!d)return!1}return!0}),f=e.ref(xn(t.defaultPageSize)?10:t.defaultPageSize),p=e.ref(xn(t.defaultCurrentPage)?1:t.defaultCurrentPage),g=e.computed({get(){return xn(t.pageSize)?f.value:t.pageSize},set(S){xn(t.pageSize)&&(f.value=S),d&&(n("update:page-size",S),n("size-change",S))}}),m=e.computed(()=>{let S=0;return xn(t.pageCount)?xn(t.total)||(S=Math.max(1,Math.ceil(t.total/g.value))):S=t.pageCount,S}),h=e.computed({get(){return xn(t.currentPage)?p.value:t.currentPage},set(S){let E=S;S<1?E=1:S>m.value&&(E=m.value),xn(t.currentPage)&&(p.value=E),c&&(n("update:current-page",E),n("current-change",E))}});e.watch(m,S=>{h.value>S&&(h.value=S)}),e.watch([h,g],S=>{n(_e,...S)},{flush:"post"});function b(S){h.value=S}function y(S){g.value=S;const E=m.value;h.value>E&&(h.value=E)}function k(){t.disabled||(h.value-=1,n("prev-click",h.value))}function C(){t.disabled||(h.value+=1,n("next-click",h.value))}function w(S,E){S&&(S.props||(S.props={}),S.props.class=[S.props.class,E].join(" "))}return e.provide(Jp,{pageCount:m,disabled:e.computed(()=>t.disabled),currentPage:h,changeEvent:b,handleSizeChange:y}),()=>{var S,E;if(!u.value)return r("el.pagination.deprecationWarning"),null;if(!t.layout||t.hideOnSinglePage&&m.value<=1)return null;const v=[],N=[],P=e.h("div",{class:a.e("rightwrapper")},N),T={prev:e.h(xY,{disabled:t.disabled,currentPage:h.value,prevText:t.prevText,prevIcon:t.prevIcon,onClick:k}),jumper:e.h(zY,{size:i.value}),pager:e.h(YY,{currentPage:h.value,pageCount:m.value,pagerCount:t.pagerCount,onChange:b,disabled:t.disabled}),next:e.h(RY,{disabled:t.disabled,currentPage:h.value,pageCount:m.value,nextText:t.nextText,nextIcon:t.nextIcon,onClick:C}),sizes:e.h(IY,{pageSize:g.value,pageSizes:t.pageSizes,popperClass:t.popperClass,popperStyle:t.popperStyle,disabled:t.disabled,teleported:t.teleported,size:i.value,appendSizeTo:t.appendSizeTo}),slot:(E=(S=o==null?void 0:o.default)==null?void 0:S.call(o))!=null?E:null,total:e.h(_Y,{total:xn(t.total)?0:t.total})},V=t.layout.split(",").map(O=>O.trim());let x=!1;return V.forEach(O=>{if(O==="->"){x=!0;return}x?N.push(T[O]):v.push(T[O])}),w(v[0],a.is("first")),w(v[v.length-1],a.is("last")),x&&N.length>0&&(w(N[0],a.is("first")),w(N[N.length-1],a.is("last")),v.push(P)),e.h("div",{class:[a.b(),a.is("background",t.background),a.m(i.value)]},v)}}});const Yv=Re(GY),Gv=oe({title:String,confirmButtonText:String,cancelButtonText:String,confirmButtonType:{type:String,values:Ac,default:"primary"},cancelButtonType:{type:String,values:Ac,default:"text"},icon:{type:dt,default:()=>hF},iconColor:{type:String,default:"#f90"},hideIcon:Boolean,hideAfter:{type:Number,default:200},effect:{...lt.effect,default:"light"},teleported:lt.teleported,persistent:lt.persistent,width:{type:[String,Number],default:150},virtualTriggering:Vo.virtualTriggering,virtualRef:Vo.virtualRef}),qv={confirm:t=>t instanceof MouseEvent,cancel:t=>t instanceof MouseEvent};var qY=e.defineComponent({name:"ElPopconfirm",__name:"popconfirm",props:Gv,emits:qv,setup(t,{expose:n,emit:o}){const r=t,a=o,{t:l}=je(),s=ee("popconfirm"),i=e.ref(),c=e.ref(),d=e.computed(()=>{var y;return(y=e.unref(i))==null?void 0:y.popperRef}),u=()=>{var y,k;(k=(y=c.value)==null?void 0:y.focus)==null||k.call(y)},f=()=>{var y,k;(k=(y=i.value)==null?void 0:y.onClose)==null||k.call(y)},p=e.computed(()=>({width:$t(r.width)})),g=y=>{a("confirm",y),f()},m=y=>{a("cancel",y),f()},h=e.computed(()=>r.confirmButtonText||l("el.popconfirm.confirmButtonText")),b=e.computed(()=>r.cancelButtonText||l("el.popconfirm.cancelButtonText"));return n({popperRef:d,hide:f}),(y,k)=>(e.openBlock(),e.createBlock(e.unref(Jt),e.mergeProps({ref_key:"tooltipRef",ref:i,trigger:"click",effect:t.effect},y.$attrs,{"virtual-triggering":t.virtualTriggering,"virtual-ref":t.virtualRef,"popper-class":`${e.unref(s).namespace.value}-popover`,"popper-style":p.value,teleported:t.teleported,"fallback-placements":["bottom","top","right","left"],"hide-after":t.hideAfter,persistent:t.persistent,loop:"",onShow:u}),{content:e.withCtx(()=>[e.createElementVNode("div",{ref_key:"rootRef",ref:c,tabindex:"-1",class:e.normalizeClass(e.unref(s).b())},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(s).e("main"))},[!t.hideIcon&&t.icon?(e.openBlock(),e.createBlock(e.unref(ce),{key:0,class:e.normalizeClass(e.unref(s).e("icon")),style:e.normalizeStyle({color:t.iconColor})},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.icon)))]),_:1},8,["class","style"])):e.createCommentVNode("v-if",!0),e.createTextVNode(" "+e.toDisplayString(t.title),1)],2),e.createElementVNode("div",{class:e.normalizeClass(e.unref(s).e("action"))},[e.renderSlot(y.$slots,"actions",{confirm:g,cancel:m},()=>[e.createVNode(e.unref(Gt),{size:"small",type:t.cancelButtonType==="text"?"":t.cancelButtonType,text:t.cancelButtonType==="text",onClick:m},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(b.value),1)]),_:1},8,["type","text"]),e.createVNode(e.unref(Gt),{size:"small",type:t.confirmButtonType==="text"?"":t.confirmButtonType,text:t.confirmButtonType==="text",onClick:g},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(h.value),1)]),_:1},8,["type","text"])])],2)],2)]),default:e.withCtx(()=>[y.$slots.reference?e.renderSlot(y.$slots,"reference",{key:0}):e.createCommentVNode("v-if",!0)]),_:3},16,["effect","virtual-triggering","virtual-ref","popper-class","popper-style","teleported","hide-after","persistent"]))}});const Xv=Re(qY),Zv=oe({trigger:Vo.trigger,triggerKeys:Vo.triggerKeys,placement:qs.placement,disabled:Vo.disabled,visible:lt.visible,transition:lt.transition,popperOptions:qs.popperOptions,tabindex:qs.tabindex,content:lt.content,popperStyle:lt.popperStyle,popperClass:lt.popperClass,enterable:{...lt.enterable,default:!0},effect:{...lt.effect,default:"light"},teleported:lt.teleported,appendTo:lt.appendTo,title:String,width:{type:[String,Number],default:150},offset:{type:Number,default:void 0},showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0},showArrow:{type:Boolean,default:!0},persistent:{type:Boolean,default:!0},"onUpdate:visible":{type:Function}}),Jv={"update:visible":t=>ct(t),"before-enter":()=>!0,"before-leave":()=>!0,"after-enter":()=>!0,"after-leave":()=>!0},XY={trigger:"hover",triggerKeys:()=>[te.enter,te.numpadEnter,te.space],placement:"bottom",visible:null,popperOptions:()=>({}),tabindex:0,content:"",popperStyle:void 0,enterable:!0,effect:"light",teleported:!0,width:150,offset:void 0,showAfter:0,hideAfter:200,autoClose:0,showArrow:!0,persistent:!0},ZY="onUpdate:visible";var JY=e.defineComponent({name:"ElPopover",__name:"popover",props:Zv,emits:Jv,setup(t,{expose:n,emit:o}){const r=t,a=o,l=e.computed(()=>r[ZY]),s=ee("popover"),i=e.ref(),c=e.computed(()=>{var y;return(y=e.unref(i))==null?void 0:y.popperRef}),d=e.computed(()=>[{width:$t(r.width)},r.popperStyle]),u=e.computed(()=>[s.b(),r.popperClass,{[s.m("plain")]:!!r.content}]),f=e.computed(()=>r.transition===`${s.namespace.value}-fade-in-linear`),p=()=>{var y;(y=i.value)==null||y.hide()},g=()=>{a("before-enter")},m=()=>{a("before-leave")},h=()=>{a("after-enter")},b=()=>{a("update:visible",!1),a("after-leave")};return n({popperRef:c,hide:p}),(y,k)=>(e.openBlock(),e.createBlock(e.unref(Jt),e.mergeProps({ref_key:"tooltipRef",ref:i},y.$attrs,{trigger:t.trigger,"trigger-keys":t.triggerKeys,placement:t.placement,disabled:t.disabled,visible:t.visible,transition:t.transition,"popper-options":t.popperOptions,tabindex:t.tabindex,content:t.content,offset:t.offset,"show-after":t.showAfter,"hide-after":t.hideAfter,"auto-close":t.autoClose,"show-arrow":t.showArrow,"aria-label":t.title,effect:t.effect,enterable:t.enterable,"popper-class":u.value,"popper-style":d.value,teleported:t.teleported,"append-to":t.appendTo,persistent:t.persistent,"gpu-acceleration":f.value,"onUpdate:visible":l.value,onBeforeShow:g,onBeforeHide:m,onShow:h,onHide:b}),{content:e.withCtx(()=>[t.title?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(s).e("title")),role:"title"},e.toDisplayString(t.title),3)):e.createCommentVNode("v-if",!0),e.renderSlot(y.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(t.content),1)])]),default:e.withCtx(()=>[y.$slots.reference?e.renderSlot(y.$slots,"reference",{key:0}):e.createCommentVNode("v-if",!0)]),_:3},16,["trigger","trigger-keys","placement","disabled","visible","transition","popper-options","tabindex","content","offset","show-after","hide-after","auto-close","show-arrow","aria-label","effect","enterable","popper-class","popper-style","teleported","append-to","persistent","gpu-acceleration","onUpdate:visible"]))}});const Qv=(t,n)=>{const o=n.arg||n.value,r=o==null?void 0:o.popperRef;r&&(r.triggerRef=t)};var QY={mounted(t,n){Qv(t,n)},updated(t,n){Qv(t,n)}};const eh=LF(QY,"popover"),eN=Re(JY,{directive:eh}),tN=oe({type:{type:String,default:"line",values:["line","circle","dashboard"]},percentage:{type:Number,default:0,validator:t=>t>=0&&t<=100},status:{type:String,default:"",values:["","success","exception","warning"]},indeterminate:Boolean,duration:{type:Number,default:3},strokeWidth:{type:Number,default:6},strokeLinecap:{type:K(String),default:"round"},textInside:Boolean,width:{type:Number,default:126},showText:{type:Boolean,default:!0},color:{type:K([String,Array,Function]),default:""},striped:Boolean,stripedFlow:Boolean,format:{type:K(Function),default:t=>`${t}%`}}),eG=["aria-valuenow"],tG={viewBox:"0 0 100 100"},nG=["d","stroke","stroke-linecap","stroke-width"],oG=["d","stroke","opacity","stroke-linecap","stroke-width"],rG={key:0};var aG=e.defineComponent({name:"ElProgress",__name:"progress",props:tN,setup(t){const n={success:"#13ce66",exception:"#ff4949",warning:"#e6a23c",default:"#20a0ff"},o=t,r=ee("progress"),a=e.computed(()=>{const C={width:`${o.percentage}%`,animationDuration:`${o.duration}s`},w=k(o.percentage);return w.includes("gradient")?C.background=w:C.backgroundColor=w,C}),l=e.computed(()=>(o.strokeWidth/o.width*100).toFixed(1)),s=e.computed(()=>["circle","dashboard"].includes(o.type)?Number.parseInt(`${50-Number.parseFloat(l.value)/2}`,10):0),i=e.computed(()=>{const C=s.value,w=o.type==="dashboard";return` + M 50 50 + m 0 ${w?"":"-"}${C} + a ${C} ${C} 0 1 1 0 ${w?"-":""}${C*2} + a ${C} ${C} 0 1 1 0 ${w?"":"-"}${C*2} + `}),c=e.computed(()=>2*Math.PI*s.value),d=e.computed(()=>o.type==="dashboard"?.75:1),u=e.computed(()=>`${-1*c.value*(1-d.value)/2}px`),f=e.computed(()=>({strokeDasharray:`${c.value*d.value}px, ${c.value}px`,strokeDashoffset:u.value})),p=e.computed(()=>({strokeDasharray:`${c.value*d.value*(o.percentage/100)}px, ${c.value}px`,strokeDashoffset:u.value,transition:"stroke-dasharray 0.6s ease 0s, stroke 0.6s ease, opacity ease 0.6s"})),g=e.computed(()=>{let C;return o.color?C=k(o.percentage):C=n[o.status]||n.default,C}),m=e.computed(()=>o.status==="warning"?nc:o.type==="line"?o.status==="success"?gf:jo:o.status==="success"?ms:so),h=e.computed(()=>o.type==="line"?12+o.strokeWidth*.4:o.width*.111111+2),b=e.computed(()=>o.format(o.percentage));function y(C){const w=100/C.length;return C.map((E,v)=>ve(E)?{color:E,percentage:(v+1)*w}:E).sort((E,v)=>E.percentage-v.percentage)}const k=C=>{var w;const{color:S}=o;if(Ae(S))return S(C);if(ve(S))return S;{const E=y(S);for(const v of E)if(v.percentage>C)return v.color;return(w=E[E.length-1])==null?void 0:w.color}};return(C,w)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass([e.unref(r).b(),e.unref(r).m(t.type),e.unref(r).is(t.status),{[e.unref(r).m("without-text")]:!t.showText,[e.unref(r).m("text-inside")]:t.textInside}]),role:"progressbar","aria-valuenow":t.percentage,"aria-valuemin":"0","aria-valuemax":"100"},[t.type==="line"?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(r).b("bar"))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(r).be("bar","outer")),style:e.normalizeStyle({height:`${t.strokeWidth}px`})},[e.createElementVNode("div",{class:e.normalizeClass([e.unref(r).be("bar","inner"),{[e.unref(r).bem("bar","inner","indeterminate")]:t.indeterminate},{[e.unref(r).bem("bar","inner","striped")]:t.striped},{[e.unref(r).bem("bar","inner","striped-flow")]:t.stripedFlow}]),style:e.normalizeStyle(a.value)},[(t.showText||C.$slots.default)&&t.textInside?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(r).be("bar","innerText"))},[e.renderSlot(C.$slots,"default",{percentage:t.percentage},()=>[e.createElementVNode("span",null,e.toDisplayString(b.value),1)])],2)):e.createCommentVNode("v-if",!0)],6)],6)],2)):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(r).b("circle")),style:e.normalizeStyle({height:`${t.width}px`,width:`${t.width}px`})},[(e.openBlock(),e.createElementBlock("svg",tG,[e.createElementVNode("path",{class:e.normalizeClass(e.unref(r).be("circle","track")),d:i.value,stroke:`var(${e.unref(r).cssVarName("fill-color-light")}, #e5e9f2)`,"stroke-linecap":t.strokeLinecap,"stroke-width":l.value,fill:"none",style:e.normalizeStyle(f.value)},null,14,nG),e.createElementVNode("path",{class:e.normalizeClass(e.unref(r).be("circle","path")),d:i.value,stroke:g.value,fill:"none",opacity:t.percentage?1:0,"stroke-linecap":t.strokeLinecap,"stroke-width":l.value,style:e.normalizeStyle(p.value)},null,14,oG)]))],6)),(t.showText||C.$slots.default)&&!t.textInside?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(e.unref(r).e("text")),style:e.normalizeStyle({fontSize:`${h.value}px`})},[e.renderSlot(C.$slots,"default",{percentage:t.percentage},()=>[t.status?(e.openBlock(),e.createBlock(e.unref(ce),{key:1},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(m.value)))]),_:1})):(e.openBlock(),e.createElementBlock("span",rG,e.toDisplayString(b.value),1))])],6)):e.createCommentVNode("v-if",!0)],10,eG))}});const th=Re(aG),nN=oe({modelValue:{type:Number,default:0},id:{type:String,default:void 0},lowThreshold:{type:Number,default:2},highThreshold:{type:Number,default:4},max:{type:Number,default:5},colors:{type:K([Array,Object]),default:()=>wt(["","",""])},voidColor:{type:String,default:""},disabledVoidColor:{type:String,default:""},icons:{type:K([Array,Object]),default:()=>[tc,tc,tc]},voidIcon:{type:dt,default:()=>VF},disabledVoidIcon:{type:dt,default:()=>tc},disabled:{type:Boolean,default:void 0},allowHalf:Boolean,showText:Boolean,showScore:Boolean,textColor:{type:String,default:""},texts:{type:K(Array),default:()=>wt(["Extremely bad","Disappointed","Fair","Satisfied","Surprise"])},scoreTemplate:{type:String,default:"{value}"},size:Ht,clearable:Boolean,...cn(["ariaLabel"])}),oN={[_e]:t=>pe(t),[Ne]:t=>pe(t)},lG=["id","aria-label","aria-labelledby","aria-valuenow","aria-valuetext","aria-valuemax"],sG=["onMousemove","onClick"];var iG=e.defineComponent({name:"ElRate",__name:"rate",props:nN,emits:oN,setup(t,{expose:n,emit:o}){function r(B,M){const I=A=>tt(A),z=Object.keys(M).map(A=>+A).filter(A=>{const W=M[A];return(I(W)?W.excluded:!1)?BA-W),F=M[z[0]];return I(F)&&F.value||F}const a=t,l=o,s=e.inject($o,void 0),i=zt(),c=ee("rate"),{inputId:d,isLabeledByFormItem:u}=Dn(a,{formItemContext:s}),f=e.ref(Mr(a.modelValue,0,a.max)),p=e.ref(-1),g=e.ref(!0),m=e.ref([]),h=e.computed(()=>m.value.map(B=>B.$el.clientWidth)),b=e.computed(()=>[c.b(),c.m(i.value)]),y=kt(),k=e.computed(()=>c.cssVarBlock({"void-color":a.voidColor,"disabled-void-color":a.disabledVoidColor,"fill-color":E.value})),C=e.computed(()=>{let B="";return a.showScore?B=a.scoreTemplate.replace(/\{\s*value\s*\}/,y.value?`${a.modelValue}`:`${f.value}`):a.showText&&(B=a.texts[Math.ceil(f.value)-1]),B}),w=e.computed(()=>a.modelValue*100-Math.floor(a.modelValue)*100),S=e.computed(()=>ie(a.colors)?{[a.lowThreshold]:a.colors[0],[a.highThreshold]:{value:a.colors[1],excluded:!0},[a.max]:a.colors[2]}:a.colors),E=e.computed(()=>{const B=r(f.value,S.value);return tt(B)?"":B}),v=e.computed(()=>{let B="";return y.value?B=`${w.value}%`:a.allowHalf&&(B="50%"),{color:E.value,width:B}}),N=e.computed(()=>{let B=ie(a.icons)?[...a.icons]:{...a.icons};return B=e.markRaw(B),ie(B)?{[a.lowThreshold]:B[0],[a.highThreshold]:{value:B[1],excluded:!0},[a.max]:B[2]}:B}),P=e.computed(()=>r(a.modelValue,N.value)),T=e.computed(()=>y.value?ve(a.disabledVoidIcon)?a.disabledVoidIcon:e.markRaw(a.disabledVoidIcon):ve(a.voidIcon)?a.voidIcon:e.markRaw(a.voidIcon)),V=e.computed(()=>r(f.value,N.value));function x(B){const M=y.value&&w.value>0&&B-1a.modelValue,I=a.allowHalf&&g.value&&B-.5<=f.value&&B>f.value;return M||I}function O(B){a.clearable&&B===a.modelValue&&(B=0),l(Ne,B),a.modelValue!==B&&l(_e,B)}function D(B){y.value||(a.allowHalf&&g.value?O(f.value):O(B))}function L(B){if(y.value)return;const M=ut(B),I=a.allowHalf?.5:1;let z=f.value;switch(M){case te.up:case te.right:z+=I;break;case te.left:case te.down:z-=I;break}if(z=Mr(z,0,a.max),z!==f.value)return B.stopPropagation(),B.preventDefault(),l(Ne,z),l(_e,z),z}function H(B,M){y.value||(a.allowHalf&&M?(g.value=M.offsetX*2<=h.value[B-1],f.value=g.value?B-.5:B):f.value=B,p.value=B)}function $(){y.value||(a.allowHalf&&(g.value=a.modelValue!==Math.floor(a.modelValue)),f.value=Mr(a.modelValue,0,a.max),p.value=-1)}return e.watch(()=>a.modelValue,B=>{f.value=Mr(B,0,a.max),g.value=a.modelValue!==Math.floor(a.modelValue)}),a.modelValue||l(Ne,0),n({setCurrentValue:H,resetCurrentValue:$}),(B,M)=>{var I;return e.openBlock(),e.createElementBlock("div",{id:e.unref(d),class:e.normalizeClass([b.value,e.unref(c).is("disabled",e.unref(y))]),role:"slider","aria-label":e.unref(u)?void 0:t.ariaLabel||"rating","aria-labelledby":e.unref(u)?(I=e.unref(s))==null?void 0:I.labelId:void 0,"aria-valuenow":f.value,"aria-valuetext":C.value||void 0,"aria-valuemin":"0","aria-valuemax":t.max,tabindex:"0",style:e.normalizeStyle(k.value),onKeydown:L},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.max,(z,F)=>(e.openBlock(),e.createElementBlock("span",{key:F,class:e.normalizeClass(e.unref(c).e("item")),onMousemove:A=>H(z,A),onMouseleave:$,onClick:A=>D(z)},[e.createVNode(e.unref(ce),{ref_for:!0,ref_key:"iconRefs",ref:m,class:e.normalizeClass([e.unref(c).e("icon"),{hover:p.value===z},e.unref(c).is("active",z<=f.value),e.unref(c).is("focus-visible",z===Math.ceil(f.value||1))])},{default:e.withCtx(()=>[e.withDirectives((e.openBlock(),e.createBlock(e.resolveDynamicComponent(V.value),null,null,512)),[[e.vShow,!x(z)&&z<=f.value]]),e.withDirectives((e.openBlock(),e.createBlock(e.resolveDynamicComponent(T.value),null,null,512)),[[e.vShow,!x(z)&&z>f.value]]),e.withDirectives((e.openBlock(),e.createBlock(e.resolveDynamicComponent(T.value),{class:e.normalizeClass([e.unref(c).em("decimal","box")])},null,8,["class"])),[[e.vShow,x(z)]]),e.withDirectives(e.createVNode(e.unref(ce),{style:e.normalizeStyle(v.value),class:e.normalizeClass([e.unref(c).e("icon"),e.unref(c).e("decimal")])},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(P.value)))]),_:1},8,["style","class"]),[[e.vShow,x(z)]])]),_:2},1032,["class"])],42,sG))),128)),t.showText||t.showScore?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(e.unref(c).e("text")),style:e.normalizeStyle({color:t.textColor})},e.toDisplayString(C.value),7)):e.createCommentVNode("v-if",!0)],46,lG)}}});const rN=Re(iG),Xr={primary:"icon-primary",success:"icon-success",warning:"icon-warning",error:"icon-error",info:"icon-info"},nh={[Xr.primary]:ps,[Xr.success]:H_,[Xr.warning]:nc,[Xr.error]:bf,[Xr.info]:ps},aN=oe({title:{type:String,default:""},subTitle:{type:String,default:""},icon:{type:String,values:["primary","success","warning","info","error"],default:"info"}});var cG=e.defineComponent({name:"ElResult",__name:"result",props:aN,setup(t){const n=t,o=ee("result"),r=e.computed(()=>{const a=n.icon,l=a&&Xr[a]?Xr[a]:"icon-info",s=nh[l]||nh["icon-info"];return{class:l,component:s}});return(a,l)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(o).b())},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(o).e("icon"))},[e.renderSlot(a.$slots,"icon",{},()=>[r.value.component?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(r.value.component),{key:0,class:e.normalizeClass(r.value.class)},null,8,["class"])):e.createCommentVNode("v-if",!0)])],2),t.title||a.$slots.title?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(o).e("title"))},[e.renderSlot(a.$slots,"title",{},()=>[e.createElementVNode("p",null,e.toDisplayString(t.title),1)])],2)):e.createCommentVNode("v-if",!0),t.subTitle||a.$slots["sub-title"]?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(o).e("subtitle"))},[e.renderSlot(a.$slots,"sub-title",{},()=>[e.createElementVNode("p",null,e.toDisplayString(t.subTitle),1)])],2)):e.createCommentVNode("v-if",!0),a.$slots.extra?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(e.unref(o).e("extra"))},[e.renderSlot(a.$slots,"extra")],2)):e.createCommentVNode("v-if",!0)],2))}});const lN=Re(cG);var sN=Number.isNaN||function(n){return typeof n=="number"&&n!==n};function dG(t,n){return!!(t===n||sN(t)&&sN(n))}function uG(t,n){if(t.length!==n.length)return!1;for(var o=0;o{const n=e.getCurrentInstance().proxy.$props;return e.computed(()=>{const o=(r,a,l)=>({});return n.perfMode?ns(o):fG(o)})},oh=50,cd="itemRendered",dd="scroll",Nl="forward",ud="backward",go="auto",fd="smart",Js="start",or="center",Qs="end",Bl="horizontal",cN="vertical",mG="ltr",Tl="rtl",ei="negative",rh="positive-ascending",ah="positive-descending",pG={[Bl]:"left",[cN]:"top"},hG=20,dN=({atEndEdge:t,atStartEdge:n,layout:o},r)=>{let a,l=0;const s=c=>c<0&&n.value||c>0&&t.value;return{hasReachedEdge:s,onWheel:c=>{pr(a);let{deltaX:d,deltaY:u}=c;c.shiftKey&&u!==0&&(d=u,u=0);const f=o.value===Bl?d:u;s(f)||(l+=f,!Yd()&&f!==0&&c.preventDefault(),a=Ho(()=>{r(l),l=0}))}}},lh=vo({type:K([Number,Function]),required:!0}),sh=vo({type:Number}),ih=vo({type:Number,default:2}),gG=vo({type:String,values:["ltr","rtl"],default:"ltr"}),ch=vo({type:Number,default:0}),md=vo({type:Number,required:!0}),uN=vo({type:String,values:["horizontal","vertical"],default:cN}),dh=oe({className:{type:String,default:""},containerElement:{type:K([String,Object]),default:"div"},data:{type:K(Array),default:()=>wt([])},direction:gG,height:{type:[String,Number],required:!0},innerElement:{type:[String,Object],default:"div"},innerProps:{type:K(Object),default:()=>({})},style:{type:K([Object,String,Array])},useIsScrolling:Boolean,width:{type:[Number,String],required:!1},perfMode:{type:Boolean,default:!0},scrollbarAlwaysOn:Boolean}),uh=oe({cache:ih,estimatedItemSize:sh,layout:uN,initScrollOffset:ch,total:md,itemSize:lh,...dh}),fh={type:Number,default:6},fN={type:Number,default:0},mN={type:Number,default:2},Zr=oe({columnCache:ih,columnWidth:lh,estimatedColumnWidth:sh,estimatedRowHeight:sh,initScrollLeft:ch,initScrollTop:ch,itemKey:{type:K(Function),default:({columnIndex:t,rowIndex:n})=>`${n}:${t}`},rowCache:ih,rowHeight:lh,totalColumn:md,totalRow:md,hScrollbarSize:fh,vScrollbarSize:fh,scrollbarStartGap:fN,scrollbarEndGap:mN,role:String,...dh}),mh=oe({alwaysOn:Boolean,class:String,layout:uN,total:md,ratio:{type:Number,required:!0},clientSize:{type:Number,required:!0},scrollFrom:{type:Number,required:!0},scrollbarSize:fh,startGap:fN,endGap:mN,visible:Boolean}),va=(t,n)=>tt===mG||t===Tl||t===Bl,pN=t=>t===Tl;let xl=null;function pd(t=!1){if(xl===null||t){const n=document.createElement("div"),o=n.style;o.width="50px",o.height="50px",o.overflow="scroll",o.direction="rtl";const r=document.createElement("div"),a=r.style;return a.width="100px",a.height="100px",n.appendChild(r),document.body.appendChild(n),n.scrollLeft>0?xl=ah:(n.scrollLeft=1,n.scrollLeft===0?xl=ei:xl=rh),document.body.removeChild(n),xl}return xl}function bG({move:t,size:n,bar:o},r){const a={},l=`translate${o.axis}(${t}px)`;return a[o.size]=n,a.transform=l,r==="horizontal"?a.height="100%":a.width="100%",a}const ph=e.defineComponent({name:"ElVirtualScrollBar",props:mh,emits:["scroll","start-move","stop-move"],setup(t,{emit:n}){const o=e.computed(()=>t.startGap+t.endGap),r=ee("virtual-scrollbar"),a=ee("scrollbar"),l=e.ref(),s=e.ref();let i=null,c=null;const d=e.reactive({isDragging:!1,traveled:0}),u=e.computed(()=>ym[t.layout]),f=e.computed(()=>t.clientSize-e.unref(o)),p=e.computed(()=>({position:"absolute",width:`${Bl===t.layout?f.value:t.scrollbarSize}px`,height:`${Bl===t.layout?t.scrollbarSize:f.value}px`,[pG[t.layout]]:"2px",right:"2px",bottom:"2px",borderRadius:"4px"})),g=e.computed(()=>{const E=t.ratio;if(E>=100)return Number.POSITIVE_INFINITY;if(E>=50)return E*f.value/100;const v=f.value/3;return Math.floor(Math.min(Math.max(E*f.value/100,hG),v))}),m=e.computed(()=>{if(!Number.isFinite(g.value))return{display:"none"};const E=`${g.value}px`;return bG({bar:u.value,size:E,move:d.traveled},t.layout)}),h=e.computed(()=>Math.ceil(t.clientSize-g.value-e.unref(o))),b=()=>{window.addEventListener("mousemove",w),window.addEventListener("mouseup",C);const E=e.unref(s);E&&(c=document.onselectstart,document.onselectstart=()=>!1,E.addEventListener("touchmove",w,{passive:!0}),E.addEventListener("touchend",C))},y=()=>{window.removeEventListener("mousemove",w),window.removeEventListener("mouseup",C),document.onselectstart=c,c=null;const E=e.unref(s);E&&(E.removeEventListener("touchmove",w),E.removeEventListener("touchend",C))},k=E=>{E.stopImmediatePropagation(),!(E.ctrlKey||[1,2].includes(E.button))&&(d.isDragging=!0,d[u.value.axis]=E.currentTarget[u.value.offset]-(E[u.value.client]-E.currentTarget.getBoundingClientRect()[u.value.direction]),n("start-move"),b())},C=()=>{d.isDragging=!1,d[u.value.axis]=0,n("stop-move"),y()},w=E=>{const{isDragging:v}=d;if(!v||!s.value||!l.value)return;const N=d[u.value.axis];if(!N)return;pr(i);const P=(l.value.getBoundingClientRect()[u.value.direction]-E[u.value.client])*-1,T=s.value[u.value.offset]-N,V=P-T;i=Ho(()=>{d.traveled=Math.max(0,Math.min(V,h.value)),n("scroll",V,h.value)})},S=E=>{const v=Math.abs(E.target.getBoundingClientRect()[u.value.direction]-E[u.value.client]),N=s.value[u.value.offset]/2,P=v-N;d.traveled=Math.max(0,Math.min(P,h.value)),n("scroll",P,h.value)};return e.watch(()=>t.scrollFrom,E=>{d.isDragging||(d.traveled=Math.ceil(E*h.value))}),e.onBeforeUnmount(()=>{y()}),()=>e.h("div",{role:"presentation",ref:l,class:[r.b(),t.class,(t.alwaysOn||d.isDragging)&&"always-on"],style:p.value,onMousedown:e.withModifiers(S,["stop","prevent"]),onTouchstartPrevent:k},e.h("div",{ref:s,class:a.e("thumb"),style:m.value,onMousedown:k},[]))}}),hN=({name:t,getOffset:n,getItemSize:o,getItemOffset:r,getEstimatedTotalSize:a,getStartIndexForOffset:l,getStopIndexForStartIndex:s,initCache:i,clearCache:c,validateProps:d})=>e.defineComponent({name:t!=null?t:"ElVirtualList",props:uh,emits:[cd,dd],setup(u,{emit:f,expose:p}){d(u);const g=e.getCurrentInstance(),m=ee("vl"),h=e.ref(i(u,g)),b=iN(),y=e.ref(),k=e.ref(),C=e.ref(),w=e.ref({isScrolling:!1,scrollDir:"forward",scrollOffset:pe(u.initScrollOffset)?u.initScrollOffset:0,updateRequested:!1,isScrollbarDragging:!1,scrollbarAlwaysOn:u.scrollbarAlwaysOn}),S=e.computed(()=>{const{total:A,cache:W}=u,{isScrolling:j,scrollDir:G,scrollOffset:X}=e.unref(w);if(A===0)return[0,0,0,0];const Q=l(u,X,e.unref(h)),J=s(u,Q,X,e.unref(h)),Y=!j||G===ud?Math.max(1,W):1,_=!j||G===Nl?Math.max(1,W):1;return[Math.max(0,Q-Y),Math.max(0,Math.min(A-1,J+_)),Q,J]}),E=e.computed(()=>a(u,e.unref(h))),v=e.computed(()=>ti(u.layout)),N=e.computed(()=>[{position:"relative",[`overflow-${v.value?"x":"y"}`]:"scroll",WebkitOverflowScrolling:"touch",willChange:"transform"},{direction:u.direction,height:pe(u.height)?`${u.height}px`:u.height,width:pe(u.width)?`${u.width}px`:u.width},u.style]),P=e.computed(()=>{const A=e.unref(E),W=e.unref(v);return{height:W?"100%":`${A}px`,pointerEvents:e.unref(w).isScrolling?"none":void 0,width:W?`${A}px`:"100%",margin:0,boxSizing:"border-box"}}),T=e.computed(()=>v.value?u.width:u.height),{onWheel:V}=dN({atStartEdge:e.computed(()=>w.value.scrollOffset<=0),atEndEdge:e.computed(()=>w.value.scrollOffset>=E.value),layout:e.computed(()=>u.layout)},A=>{var W,j;(j=(W=C.value).onMouseUp)==null||j.call(W),$(Math.min(w.value.scrollOffset+A,E.value-T.value))});nt(y,"wheel",V,{passive:!1});const x=()=>{const{total:A}=u;if(A>0){const[X,Q,J,Y]=e.unref(S);f(cd,X,Q,J,Y)}const{scrollDir:W,scrollOffset:j,updateRequested:G}=e.unref(w);f(dd,W,j,G)},O=A=>{const{clientHeight:W,scrollHeight:j,scrollTop:G}=A.currentTarget,X=e.unref(w);if(X.scrollOffset===G)return;const Q=Math.max(0,Math.min(G,j-W));w.value={...X,isScrolling:!0,scrollDir:va(X.scrollOffset,Q),scrollOffset:Q,updateRequested:!1},e.nextTick(I)},D=A=>{const{clientWidth:W,scrollLeft:j,scrollWidth:G}=A.currentTarget,X=e.unref(w);if(X.scrollOffset===j)return;const{direction:Q}=u;let J=j;if(Q===Tl)switch(pd()){case ei:{J=-j;break}case ah:{J=G-W-j;break}}J=Math.max(0,Math.min(J,G-W)),w.value={...X,isScrolling:!0,scrollDir:va(X.scrollOffset,J),scrollOffset:J,updateRequested:!1},e.nextTick(I)},L=A=>{e.unref(v)?D(A):O(A),x()},H=(A,W)=>{const j=(E.value-T.value)/W*A;$(Math.min(E.value-T.value,j))},$=A=>{A=Math.max(A,0),A!==e.unref(w).scrollOffset&&(w.value={...e.unref(w),scrollOffset:A,scrollDir:va(e.unref(w).scrollOffset,A),updateRequested:!0},e.nextTick(I))},B=(A,W=go)=>{const{scrollOffset:j}=e.unref(w);A=Math.max(0,Math.min(A,u.total-1)),$(n(u,A,W,j,e.unref(h)))},M=A=>{const{direction:W,itemSize:j,layout:G}=u,X=b.value(c&&j,c&&G,c&&W);let Q;if(Qt(X,String(A)))Q=X[A];else{const J=r(u,A,e.unref(h)),Y=o(u,A,e.unref(h)),_=e.unref(v),q=W===Tl,le=_?J:0;X[A]=Q={position:"absolute",left:q?void 0:`${le}px`,right:q?`${le}px`:void 0,top:_?0:`${J}px`,height:_?"100%":`${Y}px`,width:_?`${Y}px`:"100%"}}return Q},I=()=>{w.value.isScrolling=!1,e.nextTick(()=>{b.value(-1,null,null)})},z=()=>{const A=y.value;A&&(A.scrollTop=0)};e.onMounted(()=>{if(!Je)return;const{initScrollOffset:A}=u,W=e.unref(y);pe(A)&&W&&(e.unref(v)?W.scrollLeft=A:W.scrollTop=A),x()}),e.onUpdated(()=>{const{direction:A,layout:W}=u,{scrollOffset:j,updateRequested:G}=e.unref(w),X=e.unref(y);if(G&&X)if(W===Bl)if(A===Tl)switch(pd()){case ei:{X.scrollLeft=-j;break}case rh:{X.scrollLeft=j;break}default:{const{clientWidth:Q,scrollWidth:J}=X;X.scrollLeft=J-Q-j;break}}else X.scrollLeft=j;else X.scrollTop=j}),e.onActivated(()=>{e.unref(y).scrollTop=e.unref(w).scrollOffset});const F={ns:m,clientSize:T,estimatedTotalSize:E,windowStyle:N,windowRef:y,innerRef:k,innerStyle:P,itemsToRender:S,scrollbarRef:C,states:w,getItemStyle:M,onScroll:L,onScrollbarScroll:H,onWheel:V,scrollTo:$,scrollToItem:B,resetScrollTop:z};return p({windowRef:y,innerRef:k,getItemStyleCache:b,scrollTo:$,scrollToItem:B,resetScrollTop:z,states:w}),F},render(u){var f;const{$slots:p,className:g,clientSize:m,containerElement:h,data:b,getItemStyle:y,innerElement:k,itemsToRender:C,innerStyle:w,layout:S,total:E,onScroll:v,onScrollbarScroll:N,states:P,useIsScrolling:T,windowStyle:V,ns:x}=u,[O,D]=C,L=e.resolveDynamicComponent(h),H=e.resolveDynamicComponent(k),$=[];if(E>0)for(let z=O;z<=D;z++)$.push(e.h(e.Fragment,{key:z},(f=p.default)==null?void 0:f.call(p,{data:b,index:z,isScrolling:T?P.isScrolling:void 0,style:y(z)})));const B=[e.h(H,e.mergeProps(u.innerProps,{style:w,ref:"innerRef"}),ve(H)?$:{default:()=>$})],M=e.h(ph,{ref:"scrollbarRef",clientSize:m,layout:S,onScroll:N,ratio:m*100/this.estimatedTotalSize,scrollFrom:P.scrollOffset/(this.estimatedTotalSize-m),total:E,alwaysOn:P.scrollbarAlwaysOn}),I=e.h(L,{class:[x.e("window"),g],style:V,onScroll:v,ref:"windowRef",key:0},ve(L)?[B]:{default:()=>[B]});return e.h("div",{key:0,class:[x.e("wrapper"),P.scrollbarAlwaysOn?"always-on":""]},[I,M])}}),hh=hN({name:"ElFixedSizeList",getItemOffset:({itemSize:t},n)=>n*t,getItemSize:({itemSize:t})=>t,getEstimatedTotalSize:({total:t,itemSize:n})=>n*t,getOffset:({height:t,total:n,itemSize:o,layout:r,width:a},l,s,i)=>{const c=ti(r)?a:t,d=Math.max(0,n*o-c),u=Math.min(d,l*o),f=Math.max(0,(l+1)*o-c);switch(s===fd&&(i>=f-c&&i<=u+c?s=go:s=or),s){case Js:return u;case Qs:return f;case or:{const p=Math.round(f+(u-f)/2);return pd+Math.floor(c/2)?d:p}case go:default:return i>=f&&i<=u?i:iMath.max(0,Math.min(t-1,Math.floor(o/n))),getStopIndexForStartIndex:({height:t,total:n,itemSize:o,layout:r,width:a},l,s)=>{const i=l*o,c=ti(r)?a:t,d=Math.ceil((c+s-i)/o);return Math.max(0,Math.min(n-1,l+d-1))},initCache(){},clearCache:!0,validateProps(){}}),$l=(t,n,o)=>{const{itemSize:r}=t,{items:a,lastVisitedIndex:l}=o;if(n>l){let s=0;if(l>=0){const i=a[l];s=i.offset+i.size}for(let i=l+1;i<=n;i++){const c=r(i);a[i]={offset:s,size:c},s+=c}o.lastVisitedIndex=n}return a[n]},yG=(t,n,o)=>{const{items:r,lastVisitedIndex:a}=n;return(a>0?r[a].offset:0)>=o?gN(t,n,0,a,o):CG(t,n,Math.max(0,a),o)},gN=(t,n,o,r,a)=>{for(;o<=r;){const l=o+Math.floor((r-o)/2),s=$l(t,l,n).offset;if(s===a)return l;sa&&(r=l-1)}return Math.max(0,o-1)},CG=(t,n,o,r)=>{const{total:a}=t;let l=1;for(;o{let a=0;if(r>=t&&(r=t-1),r>=0){const i=n[r];a=i.offset+i.size}const s=(t-r-1)*o;return a+s},yN=hN({name:"ElDynamicSizeList",getItemOffset:(t,n,o)=>$l(t,n,o).offset,getItemSize:(t,n,{items:o})=>o[n].size,getEstimatedTotalSize:bN,getOffset:(t,n,o,r,a)=>{const{height:l,layout:s,width:i}=t,c=ti(s)?i:l,d=$l(t,n,a),u=bN(t,a),f=Math.max(0,Math.min(u-c,d.offset)),p=Math.max(0,d.offset-c+d.size);switch(o===fd&&(r>=p-c&&r<=f+c?o=go:o=or),o){case Js:return f;case Qs:return p;case or:return Math.round(p+(f-p)/2);case go:default:return r>=p&&r<=f?r:ryG(t,o,n),getStopIndexForStartIndex:(t,n,o,r)=>{const{height:a,total:l,layout:s,width:i}=t,c=ti(s)?i:a,d=$l(t,n,r),u=o+c;let f=d.offset+d.size,p=n;for(;p{var l,s;o.lastVisitedIndex=Math.min(o.lastVisitedIndex,r-1),(l=n.exposed)==null||l.getItemStyleCache(-1),a&&((s=n.proxy)==null||s.$forceUpdate())},o},clearCache:!1,validateProps:({itemSize:t})=>{}}),wG=({atXEndEdge:t,atXStartEdge:n,atYEndEdge:o,atYStartEdge:r},a)=>{let l=null,s=0,i=0;const c=(u,f)=>{const p=u<0&&n.value||u>0&&t.value,g=f<0&&r.value||f>0&&o.value;return p||g};return{hasReachedEdge:c,onWheel:u=>{pr(l);let f=u.deltaX,p=u.deltaY;Math.abs(f)>Math.abs(p)?p=0:f=0,u.shiftKey&&p!==0&&(f=p,p=0),!c(f,p)&&(s+=f,i+=p,u.preventDefault(),l=Ho(()=>{a(s,i),s=0,i=0}))}}},kG=(t,n,o,r,a,l,s)=>{const i=e.ref(0),c=e.ref(0);let d,u=0,f=0;const p=m=>{pr(d),i.value=m.touches[0].clientX,c.value=m.touches[0].clientY,u=0,f=0},g=m=>{m.preventDefault(),pr(d),u+=i.value-m.touches[0].clientX,f+=c.value-m.touches[0].clientY,i.value=m.touches[0].clientX,c.value=m.touches[0].clientY,d=Ho(()=>{const h=r.value-e.unref(l),b=a.value-e.unref(s),y=Math.min(n.value.scrollLeft+u,h),k=Math.min(n.value.scrollTop+f,b);o({scrollLeft:y,scrollTop:k}),u=0,f=0})};return nt(t,"touchstart",p,{passive:!0}),nt(t,"touchmove",g,{passive:!1}),{touchStartX:i,touchStartY:c,handleTouchStart:p,handleTouchMove:g}},CN=({name:t,clearCache:n,getColumnPosition:o,getColumnStartIndexForOffset:r,getColumnStopIndexForStartIndex:a,getEstimatedTotalHeight:l,getEstimatedTotalWidth:s,getColumnOffset:i,getRowOffset:c,getRowPosition:d,getRowStartIndexForOffset:u,getRowStopIndexForStartIndex:f,initCache:p,injectToInstance:g,validateProps:m})=>e.defineComponent({name:t!=null?t:"ElVirtualList",props:Zr,emits:[cd,dd],setup(h,{emit:b,expose:y,slots:k}){const C=ee("vl");m(h);const w=e.getCurrentInstance(),S=e.ref(p(h,w));g==null||g(w,S);const E=e.ref(),v=e.ref(),N=e.ref(),P=e.ref(),T=e.ref({isScrolling:!1,scrollLeft:pe(h.initScrollLeft)?h.initScrollLeft:0,scrollTop:pe(h.initScrollTop)?h.initScrollTop:0,updateRequested:!1,xAxisScrollDir:Nl,yAxisScrollDir:Nl}),V=iN(),x=e.computed(()=>Number.parseInt(`${h.height}`,10)),O=e.computed(()=>Number.parseInt(`${h.width}`,10)),D=e.computed(()=>{const{totalColumn:be,totalRow:ye,columnCache:Te}=h,{isScrolling:Oe,xAxisScrollDir:Fe,scrollLeft:Ue}=e.unref(T);if(be===0||ye===0)return[0,0,0,0];const fe=r(h,Ue,e.unref(S)),we=a(h,fe,Ue,e.unref(S)),Se=!Oe||Fe===ud?Math.max(1,Te):1,pt=!Oe||Fe===Nl?Math.max(1,Te):1;return[Math.max(0,fe-Se),Math.max(0,Math.min(be-1,we+pt)),fe,we]}),L=e.computed(()=>{const{totalColumn:be,totalRow:ye,rowCache:Te}=h,{isScrolling:Oe,yAxisScrollDir:Fe,scrollTop:Ue}=e.unref(T);if(be===0||ye===0)return[0,0,0,0];const fe=u(h,Ue,e.unref(S)),we=f(h,fe,Ue,e.unref(S)),Se=!Oe||Fe===ud?Math.max(1,Te):1,pt=!Oe||Fe===Nl?Math.max(1,Te):1;return[Math.max(0,fe-Se),Math.max(0,Math.min(ye-1,we+pt)),fe,we]}),H=e.computed(()=>l(h,e.unref(S))),$=e.computed(()=>s(h,e.unref(S))),B=e.computed(()=>{var be;return[{position:"relative",overflow:"hidden",WebkitOverflowScrolling:"touch",willChange:"transform"},{direction:h.direction,height:pe(h.height)?`${h.height}px`:h.height,width:pe(h.width)?`${h.width}px`:h.width},(be=h.style)!=null?be:{}]}),M=e.computed(()=>{const be=`${e.unref($)}px`;return{height:`${e.unref(H)}px`,pointerEvents:e.unref(T).isScrolling?"none":void 0,width:be,margin:0,boxSizing:"border-box"}}),I=()=>{const{totalColumn:be,totalRow:ye}=h;if(be>0&&ye>0){const[we,Se,pt,bt]=e.unref(D),[Be,ze,Ye,ne]=e.unref(L);b(cd,{columnCacheStart:we,columnCacheEnd:Se,rowCacheStart:Be,rowCacheEnd:ze,columnVisibleStart:pt,columnVisibleEnd:bt,rowVisibleStart:Ye,rowVisibleEnd:ne})}const{scrollLeft:Te,scrollTop:Oe,updateRequested:Fe,xAxisScrollDir:Ue,yAxisScrollDir:fe}=e.unref(T);b(dd,{xAxisScrollDir:Ue,scrollLeft:Te,yAxisScrollDir:fe,scrollTop:Oe,updateRequested:Fe})},z=be=>{const{clientHeight:ye,clientWidth:Te,scrollHeight:Oe,scrollLeft:Fe,scrollTop:Ue,scrollWidth:fe}=be.currentTarget,we=e.unref(T);if(we.scrollTop===Ue&&we.scrollLeft===Fe)return;let Se=Fe;if(pN(h.direction))switch(pd()){case ei:Se=-Fe;break;case ah:Se=fe-Te-Fe;break}T.value={...we,isScrolling:!0,scrollLeft:Se,scrollTop:Math.max(0,Math.min(Ue,Oe-ye)),updateRequested:!0,xAxisScrollDir:va(we.scrollLeft,Se),yAxisScrollDir:va(we.scrollTop,Ue)},e.nextTick(()=>q()),le(),I()},F=(be,ye)=>{const Te=e.unref(x),Oe=(H.value-Te)/ye*be;j({scrollTop:Math.min(H.value-Te,Oe)})},A=(be,ye)=>{const Te=e.unref(O),Oe=($.value-Te)/ye*be;j({scrollLeft:Math.min($.value-Te,Oe)})},{onWheel:W}=wG({atXStartEdge:e.computed(()=>T.value.scrollLeft<=0),atXEndEdge:e.computed(()=>T.value.scrollLeft>=$.value-e.unref(O)),atYStartEdge:e.computed(()=>T.value.scrollTop<=0),atYEndEdge:e.computed(()=>T.value.scrollTop>=H.value-e.unref(x))},(be,ye)=>{var Te,Oe,Fe,Ue;(Oe=(Te=v.value)==null?void 0:Te.onMouseUp)==null||Oe.call(Te),(Ue=(Fe=N.value)==null?void 0:Fe.onMouseUp)==null||Ue.call(Fe);const fe=e.unref(O),we=e.unref(x);j({scrollLeft:Math.min(T.value.scrollLeft+be,$.value-fe),scrollTop:Math.min(T.value.scrollTop+ye,H.value-we)})});nt(E,"wheel",W,{passive:!1});const j=({scrollLeft:be=T.value.scrollLeft,scrollTop:ye=T.value.scrollTop})=>{be=Math.max(be,0),ye=Math.max(ye,0);const Te=e.unref(T);ye===Te.scrollTop&&be===Te.scrollLeft||(T.value={...Te,xAxisScrollDir:va(Te.scrollLeft,be),yAxisScrollDir:va(Te.scrollTop,ye),scrollLeft:be,scrollTop:ye,updateRequested:!0},e.nextTick(()=>q()),le(),I())},{touchStartX:G,touchStartY:X,handleTouchStart:Q,handleTouchMove:J}=kG(E,T,j,$,H,O,x),Y=(be=0,ye=0,Te=go)=>{const Oe=e.unref(T);ye=Math.max(0,Math.min(ye,h.totalColumn-1)),be=Math.max(0,Math.min(be,h.totalRow-1));const Fe=CC(C.namespace.value),Ue=e.unref(S),fe=l(h,Ue),we=s(h,Ue);j({scrollLeft:i(h,ye,Te,Oe.scrollLeft,Ue,we>h.width?Fe:0),scrollTop:c(h,be,Te,Oe.scrollTop,Ue,fe>h.height?Fe:0)})},_=(be,ye)=>{const{columnWidth:Te,direction:Oe,rowHeight:Fe}=h,Ue=V.value(n&&Te,n&&Fe,n&&Oe),fe=`${be},${ye}`;if(Qt(Ue,fe))return Ue[fe];{const[,we]=o(h,ye,e.unref(S)),Se=e.unref(S),pt=pN(Oe),[bt,Be]=d(h,be,Se),[ze]=o(h,ye,Se);return Ue[fe]={position:"absolute",left:pt?void 0:`${we}px`,right:pt?`${we}px`:void 0,top:`${Be}px`,height:`${bt}px`,width:`${ze}px`},Ue[fe]}},q=()=>{T.value.isScrolling=!1,e.nextTick(()=>{V.value(-1,null,null)})};e.onMounted(()=>{if(!Je)return;const{initScrollLeft:be,initScrollTop:ye}=h,Te=e.unref(E);Te&&(pe(be)&&(Te.scrollLeft=be),pe(ye)&&(Te.scrollTop=ye)),I()});const le=()=>{const{direction:be}=h,{scrollLeft:ye,scrollTop:Te,updateRequested:Oe}=e.unref(T),Fe=e.unref(E);if(Oe&&Fe){if(be===Tl)switch(pd()){case ei:{Fe.scrollLeft=-ye;break}case rh:{Fe.scrollLeft=ye;break}default:{const{clientWidth:Ue,scrollWidth:fe}=Fe;Fe.scrollLeft=fe-Ue-ye;break}}else Fe.scrollLeft=Math.max(0,ye);Fe.scrollTop=Math.max(0,Te)}},{resetAfterColumnIndex:ue,resetAfterRowIndex:Ce,resetAfter:Ee}=w.proxy;y({windowRef:E,innerRef:P,getItemStyleCache:V,touchStartX:G,touchStartY:X,handleTouchStart:Q,handleTouchMove:J,scrollTo:j,scrollToItem:Y,states:T,resetAfterColumnIndex:ue,resetAfterRowIndex:Ce,resetAfter:Ee});const Ve=()=>{const{scrollbarAlwaysOn:be,scrollbarStartGap:ye,scrollbarEndGap:Te,totalColumn:Oe,totalRow:Fe}=h,Ue=e.unref(O),fe=e.unref(x),we=e.unref($),Se=e.unref(H),{scrollLeft:pt,scrollTop:bt}=e.unref(T),Be=e.h(ph,{ref:v,alwaysOn:be,startGap:ye,endGap:Te,class:C.e("horizontal"),clientSize:Ue,layout:"horizontal",onScroll:A,ratio:Ue*100/we,scrollFrom:pt/(we-Ue),total:Fe,visible:!0}),ze=e.h(ph,{ref:N,alwaysOn:be,startGap:ye,endGap:Te,class:C.e("vertical"),clientSize:fe,layout:"vertical",onScroll:F,ratio:fe*100/Se,scrollFrom:bt/(Se-fe),total:Oe,visible:!0});return{horizontalScrollbar:Be,verticalScrollbar:ze}},Ie=()=>{var be;const[ye,Te]=e.unref(D),[Oe,Fe]=e.unref(L),{data:Ue,totalColumn:fe,totalRow:we,useIsScrolling:Se,itemKey:pt}=h,bt=[];if(we>0&&fe>0)for(let Be=Oe;Be<=Fe;Be++)for(let ze=ye;ze<=Te;ze++){const Ye=pt({columnIndex:ze,data:Ue,rowIndex:Be});bt.push(e.h(e.Fragment,{key:Ye},(be=k.default)==null?void 0:be.call(k,{columnIndex:ze,data:Ue,isScrolling:Se?e.unref(T).isScrolling:void 0,style:_(Be,ze),rowIndex:Be})))}return bt},qe=()=>{const be=e.resolveDynamicComponent(h.innerElement),ye=Ie();return[e.h(be,e.mergeProps(h.innerProps,{style:e.unref(M),ref:P}),ve(be)?ye:{default:()=>ye})]};return()=>{const be=e.resolveDynamicComponent(h.containerElement),{horizontalScrollbar:ye,verticalScrollbar:Te}=Ve(),Oe=qe();return e.h("div",{key:0,class:C.e("wrapper"),role:h.role},[e.h(be,{class:h.className,style:e.unref(B),onScroll:z,ref:E},ve(be)?Oe:{default:()=>Oe}),ye,Te])}}}),wN=CN({name:"ElFixedSizeGrid",getColumnPosition:({columnWidth:t},n)=>[t,n*t],getRowPosition:({rowHeight:t},n)=>[t,n*t],getEstimatedTotalHeight:({totalRow:t,rowHeight:n})=>n*t,getEstimatedTotalWidth:({totalColumn:t,columnWidth:n})=>n*t,getColumnOffset:({totalColumn:t,columnWidth:n,width:o},r,a,l,s,i)=>{o=Number(o);const c=Math.max(0,t*n-o),d=Math.min(c,r*n),u=Math.max(0,r*n-o+i+n);switch(a==="smart"&&(l>=u-o&&l<=d+o?a=go:a=or),a){case Js:return d;case Qs:return u;case or:{const f=Math.round(u+(d-u)/2);return fc+Math.floor(o/2)?c:f}case go:default:return l>=u&&l<=d?l:u>d||l{n=Number(n);const c=Math.max(0,o*t-n),d=Math.min(c,r*t),u=Math.max(0,r*t-n+i+t);switch(a===fd&&(l>=u-n&&l<=d+n?a=go:a=or),a){case Js:return d;case Qs:return u;case or:{const f=Math.round(u+(d-u)/2);return fc+Math.floor(n/2)?c:f}case go:default:return l>=u&&l<=d?l:u>d||lMath.max(0,Math.min(n-1,Math.floor(o/t))),getColumnStopIndexForStartIndex:({columnWidth:t,totalColumn:n,width:o},r,a)=>{const l=r*t,s=Math.ceil((o+a-l)/t);return Math.max(0,Math.min(n-1,r+s-1))},getRowStartIndexForOffset:({rowHeight:t,totalRow:n},o)=>Math.max(0,Math.min(n-1,Math.floor(o/t))),getRowStopIndexForStartIndex:({rowHeight:t,totalRow:n,height:o},r,a)=>{const l=r*t,s=Math.ceil((o+a-l)/t);return Math.max(0,Math.min(n-1,r+s-1))},initCache:()=>{},clearCache:!0,validateProps:({columnWidth:t,rowHeight:n})=>{}}),{max:hd,min:kN,floor:SN}=Math,SG={column:"columnWidth",row:"rowHeight"},gh={column:"lastVisitedColumnIndex",row:"lastVisitedRowIndex"},vr=(t,n,o,r)=>{const[a,l,s]=[o[r],t[SG[r]],o[gh[r]]];if(n>s){let i=0;if(s>=0){const c=a[s];i=c.offset+c.size}for(let c=s+1;c<=n;c++){const d=l(c);a[c]={offset:i,size:d},i+=d}o[gh[r]]=n}return a[n]},EN=(t,n,o,r,a,l)=>{for(;o<=r;){const s=o+SN((r-o)/2),i=vr(t,s,n,l).offset;if(i===a)return s;i{const l=a==="column"?t.totalColumn:t.totalRow;let s=1;for(;o{const[a,l]=[n[r],n[gh[r]]];return(l>0?a[l].offset:0)>=o?EN(t,n,0,l,o,r):EG(t,n,hd(0,l),o,r)},NN=({totalRow:t},{estimatedRowHeight:n,lastVisitedRowIndex:o,row:r})=>{let a=0;if(o>=t&&(o=t-1),o>=0){const i=r[o];a=i.offset+i.size}const s=(t-o-1)*n;return a+s},BN=({totalColumn:t},{column:n,estimatedColumnWidth:o,lastVisitedColumnIndex:r})=>{let a=0;if(r>t&&(r=t-1),r>=0){const i=n[r];a=i.offset+i.size}const s=(t-r-1)*o;return a+s},vG={column:BN,row:NN},TN=(t,n,o,r,a,l,s)=>{const[i,c]=[l==="row"?t.height:t.width,vG[l]],d=vr(t,n,a,l),u=c(t,a),f=hd(0,kN(u-i,d.offset)),p=hd(0,d.offset-i+s+d.size);switch(o===fd&&(r>=p-i&&r<=f+i?o=go:o=or),o){case Js:return f;case Qs:return p;case or:return Math.round(p+(f-p)/2);case go:default:return r>=p&&r<=f?r:p>f||r{const r=vr(t,n,o,"column");return[r.size,r.offset]},getRowPosition:(t,n,o)=>{const r=vr(t,n,o,"row");return[r.size,r.offset]},getColumnOffset:(t,n,o,r,a,l)=>TN(t,n,o,r,a,"column",l),getRowOffset:(t,n,o,r,a,l)=>TN(t,n,o,r,a,"row",l),getColumnStartIndexForOffset:(t,n,o)=>vN(t,o,n,"column"),getColumnStopIndexForStartIndex:(t,n,o,r)=>{const a=vr(t,n,r,"column"),l=o+t.width;let s=a.offset+a.size,i=n;for(;ivN(t,o,n,"row"),getRowStopIndexForStartIndex:(t,n,o,r)=>{const{totalRow:a,height:l}=t,s=vr(t,n,r,"row"),i=o+l;let c=s.size+s.offset,d=n;for(;d{const o=({columnIndex:l,rowIndex:s},i)=>{var c,d;i=Xe(i)?!0:i,pe(l)&&(n.value.lastVisitedColumnIndex=Math.min(n.value.lastVisitedColumnIndex,l-1)),pe(s)&&(n.value.lastVisitedRowIndex=Math.min(n.value.lastVisitedRowIndex,s-1)),(c=t.exposed)==null||c.getItemStyleCache.value(-1,null,null),i&&((d=t.proxy)==null||d.$forceUpdate())},r=(l,s)=>{o({columnIndex:l},s)},a=(l,s)=>{o({rowIndex:l},s)};Object.assign(t.proxy,{resetAfterColumnIndex:r,resetAfterRowIndex:a,resetAfter:o})},initCache:({estimatedColumnWidth:t=oh,estimatedRowHeight:n=oh})=>({column:{},estimatedColumnWidth:t,estimatedRowHeight:n,lastVisitedColumnIndex:-1,lastVisitedRowIndex:-1,row:{}}),clearCache:!1,validateProps:({columnWidth:t,rowHeight:n})=>{}});var NG=e.defineComponent({props:{item:{type:Object,required:!0},style:{type:Object},height:Number},setup(){return{ns:ee("select")}}});function BG(t,n,o,r,a,l){return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(t.ns.be("group","title")),style:e.normalizeStyle({...t.style,lineHeight:`${t.height}px`})},e.toDisplayString(t.item.label),7)}var TG=Ut(NG,[["render",BG]]);function xG(t,{emit:n}){return{hoverItem:()=>{t.disabled||n("hover",t.index)},selectOptionClick:()=>{t.disabled||n("select",t.item,t.index)}}}const $G=oe({allowCreate:Boolean,autocomplete:{type:K(String),default:"none"},automaticDropdown:Boolean,clearable:Boolean,clearIcon:{type:dt,default:jo},effect:{type:K(String),default:"light"},collapseTags:Boolean,collapseTagsTooltip:Boolean,maxCollapseTags:{type:Number,default:1},defaultFirstOption:Boolean,disabled:{type:Boolean,default:void 0},estimatedOptionHeight:{type:Number,default:void 0},filterable:Boolean,filterMethod:{type:K(Function)},height:{type:Number,default:274},itemHeight:{type:Number,default:34},id:String,loading:Boolean,loadingText:String,modelValue:{type:K([Array,String,Number,Boolean,Object]),default:void 0},multiple:Boolean,multipleLimit:{type:Number,default:0},name:String,noDataText:String,noMatchText:String,remoteMethod:{type:K(Function)},reserveKeyword:{type:Boolean,default:!0},options:{type:K(Array),required:!0},placeholder:{type:String},teleported:lt.teleported,persistent:{type:Boolean,default:!0},popperClass:lt.popperClass,popperStyle:lt.popperStyle,popperOptions:{type:K(Object),default:()=>({})},remote:Boolean,debounce:{type:Number,default:300},size:Ht,props:{type:K(Object),default:()=>qc},valueKey:{type:String,default:"value"},scrollbarAlwaysOn:Boolean,validateEvent:{type:Boolean,default:!0},offset:{type:Number,default:12},remoteShowSuffix:Boolean,showArrow:{type:Boolean,default:!0},placement:{type:K(String),values:Yo,default:"bottom-start"},fallbackPlacements:{type:K(Array),default:["bottom-start","top-start","right","left"]},tagType:{...er.type,default:"info"},tagEffect:{...er.effect,default:"light"},tabindex:{type:[String,Number],default:0},appendTo:lt.appendTo,fitInputWidth:{type:[Boolean,Number],default:!0,validator(t){return ct(t)||pe(t)}},suffixIcon:{type:dt,default:Wo},...Wr,...cn(["ariaLabel"])}),VG=oe({data:Array,disabled:Boolean,hovering:Boolean,item:{type:K(Object),required:!0},index:Number,style:Object,selected:Boolean,created:Boolean}),PG={[Ne]:t=>!0,[_e]:t=>!0,"remove-tag":t=>!0,"visible-change":t=>!0,focus:t=>t instanceof FocusEvent,blur:t=>t instanceof FocusEvent,clear:()=>!0},RG={hover:t=>pe(t),select:(t,n)=>!0},gd=Symbol("ElSelectV2Injection");var MG=e.defineComponent({props:VG,emits:RG,setup(t,{emit:n}){const o=e.inject(gd),r=ee("select"),{hoverItem:a,selectOptionClick:l}=xG(t,{emit:n}),{getLabel:s}=Ls(o.props),i=o.contentId;return{ns:r,contentId:i,hoverItem:a,selectOptionClick:l,getLabel:s}}});const IG=["id","aria-selected","aria-disabled"];function OG(t,n,o,r,a,l){return e.openBlock(),e.createElementBlock("li",{id:`${t.contentId}-${t.index}`,role:"option","aria-selected":t.selected,"aria-disabled":t.disabled||void 0,style:e.normalizeStyle(t.style),class:e.normalizeClass([t.ns.be("dropdown","item"),t.ns.is("selected",t.selected),t.ns.is("disabled",t.disabled),t.ns.is("created",t.created),t.ns.is("hovering",t.hovering)]),onMousemove:n[0]||(n[0]=(...s)=>t.hoverItem&&t.hoverItem(...s)),onClick:n[1]||(n[1]=e.withModifiers((...s)=>t.selectOptionClick&&t.selectOptionClick(...s),["stop"]))},[e.renderSlot(t.$slots,"default",{item:t.item,index:t.index,disabled:t.disabled},()=>[e.createElementVNode("span",null,e.toDisplayString(t.getLabel(t.item)),1)])],46,IG)}var AG=Ut(MG,[["render",OG]]);const zG={loading:Boolean,data:{type:Array,required:!0},hoveringIndex:Number,width:Number,id:String,ariaLabel:String};var DG=e.defineComponent({name:"ElSelectDropdown",props:zG,setup(t,{slots:n,expose:o}){const r=e.inject(gd),a=ee("select"),{getLabel:l,getValue:s,getDisabled:i}=Ls(r.props),c=e.ref([]),d=e.ref(),u=e.computed(()=>t.data.length);e.watch(()=>u.value,()=>{var V,x;(x=(V=r.tooltipRef.value)==null?void 0:V.updatePopper)==null||x.call(V)});const f=e.computed(()=>Xe(r.props.estimatedOptionHeight)),p=e.computed(()=>f.value?{itemSize:r.props.itemHeight}:{estimatedSize:r.props.estimatedOptionHeight,itemSize:V=>c.value[V]}),g=(V=[],x)=>{const{props:{valueKey:O}}=r;return tt(x)?V&&V.some(D=>e.toRaw(Mt(D,O))===Mt(x,O)):V.includes(x)},m=(V,x)=>{if(tt(x)){const{valueKey:O}=r.props;return Mt(V,O)===Mt(x,O)}else return V===x},h=(V,x)=>r.props.multiple?g(V,s(x)):m(V,s(x)),b=(V,x)=>{const{disabled:O,multiple:D,multipleLimit:L}=r.props;return O||!x&&(D?L>0&&V.length>=L:!1)},y=V=>t.hoveringIndex===V;o({listRef:d,isSized:f,isItemDisabled:b,isItemHovering:y,isItemSelected:h,scrollToItem:V=>{const x=d.value;x&&x.scrollToItem(V)},resetScrollTop:()=>{const V=d.value;V&&V.resetScrollTop()}});const S=V=>{const{index:x,data:O,style:D}=V,L=e.unref(f),{itemSize:H,estimatedSize:$}=e.unref(p),{modelValue:B}=r.props,{onSelect:M,onHover:I}=r,z=O[x];if(z.type==="Group")return e.createVNode(TG,{item:z,style:D,height:L?H:$},null);const F=h(B,z),A=b(B,F),W=y(x);return e.createVNode(AG,e.mergeProps(V,{selected:F,disabled:i(z)||A,created:!!z.created,hovering:W,item:z,onSelect:M,onHover:I}),{default:j=>{var G;return((G=n.default)==null?void 0:G.call(n,j))||e.createVNode("span",null,[l(z)])}})},{onKeyboardNavigate:E,onKeyboardSelect:v}=r,N=()=>{E("forward")},P=()=>{E("backward")},T=V=>{const x=ut(V),{tab:O,esc:D,down:L,up:H,enter:$,numpadEnter:B}=te;switch([D,L,H,$,B].includes(x)&&(V.preventDefault(),V.stopPropagation()),x){case O:case D:break;case L:N();break;case H:P();break;case $:case B:v();break}};return()=>{var V,x,O,D;const{data:L,width:H}=t,{height:$,multiple:B,scrollbarAlwaysOn:M}=r.props,I=e.computed(()=>pi?!0:M),z=e.unref(f)?hh:yN;return e.createVNode("div",{class:[a.b("dropdown"),a.is("multiple",B)],style:{width:`${H}px`}},[(V=n.header)==null?void 0:V.call(n),((x=n.loading)==null?void 0:x.call(n))||((O=n.empty)==null?void 0:O.call(n))||e.createVNode(z,e.mergeProps({ref:d},e.unref(p),{className:a.be("dropdown","list"),scrollbarAlwaysOn:I.value,data:L,height:$,width:H,total:L.length,innerElement:"ul",innerProps:{id:t.id,role:"listbox","aria-label":t.ariaLabel,"aria-orientation":"vertical"},onKeydown:T}),{default:F=>e.createVNode(S,F,null)}),(D=n.footer)==null?void 0:D.call(n)])}}});function LG(t,n){const{aliasProps:o,getLabel:r,getValue:a}=Ls(t),l=e.ref(0),s=e.ref(),i=e.computed(()=>t.allowCreate&&t.filterable);e.watch(()=>t.options,g=>{const m=new Set(g.map(h=>r(h)));n.createdOptions=n.createdOptions.filter(h=>!m.has(r(h)))});function c(g){const m=h=>r(h)===g;return t.options&&t.options.some(m)||n.createdOptions.some(m)}function d(g){i.value&&(t.multiple&&g.created?l.value++:s.value=g)}function u(g){if(i.value)if(g&&g.length>0){if(c(g)){n.createdOptions=n.createdOptions.filter(h=>r(h)!==n.previousQuery);return}const m={[o.value.value]:g,[o.value.label]:g,created:!0,[o.value.disabled]:!1};n.createdOptions.length>=l.value?n.createdOptions[l.value]=m:n.createdOptions.push(m)}else if(t.multiple)n.createdOptions.length=l.value;else{const m=s.value;n.createdOptions.length=0,m&&m.created&&n.createdOptions.push(m)}}function f(g){if(!i.value||!g||!g.created||g.created&&t.reserveKeyword&&n.inputValue===r(g))return;const m=n.createdOptions.findIndex(h=>a(h)===a(g));~m&&(n.createdOptions.splice(m,1),l.value--)}function p(){i.value&&(n.createdOptions.length=0,l.value=0)}return{createNewOption:u,removeNewOption:f,selectNewOption:d,clearAllNewOption:p}}const _G=(t,n)=>{const{t:o}=je(),r=e.useSlots(),a=ee("select"),l=ee("input"),{form:s,formItem:i}=Zt(),{inputId:c}=Dn(t,{formItemContext:i}),{aliasProps:d,getLabel:u,getValue:f,getDisabled:p,getOptions:g}=Ls(t),{valueOnClear:m,isEmptyValue:h}=ml(t),b=e.reactive({inputValue:"",cachedOptions:[],createdOptions:[],hoveringIndex:-1,inputHovering:!1,selectionWidth:0,collapseItemWidth:0,previousQuery:null,previousValue:void 0,selectedLabel:"",menuVisibleOnFocus:!1,isBeforeHide:!1}),y=e.ref(-1),k=e.ref(!1),C=e.ref(),w=e.ref(),S=e.ref(),E=e.ref(),v=e.ref(),N=e.ref(),P=e.ref(),T=e.ref(),V=e.ref(),x=e.ref(),{isComposing:O,handleCompositionStart:D,handleCompositionEnd:L,handleCompositionUpdate:H}=fl({afterComposition:ae=>Et(ae)}),$=kt(),{wrapperRef:B,isFocused:M,handleBlur:I}=Qo(v,{disabled:$,afterFocus(){t.automaticDropdown&&!W.value&&(W.value=!0,b.menuVisibleOnFocus=!0)},beforeBlur(ae){var $e,He;return(($e=S.value)==null?void 0:$e.isFocusInsideContent(ae))||((He=E.value)==null?void 0:He.isFocusInsideContent(ae))},afterBlur(){var ae;W.value=!1,b.menuVisibleOnFocus=!1,t.validateEvent&&((ae=i==null?void 0:i.validate)==null||ae.call(i,"blur").catch($e=>void 0))}}),z=e.computed(()=>Ie("")),F=e.computed(()=>t.loading?!1:t.options.length>0||b.createdOptions.length>0),A=e.ref([]),W=e.ref(!1),j=e.computed(()=>{var ae;return(ae=s==null?void 0:s.statusIcon)!=null?ae:!1}),G=e.computed(()=>{const ae=A.value.length*t.itemHeight;return ae>t.height?t.height:ae}),X=e.computed(()=>t.multiple?ie(t.modelValue)&&t.modelValue.length>0:!h(t.modelValue)),Q=e.computed(()=>t.clearable&&!$.value&&X.value&&(M.value||b.inputHovering)),J=e.computed(()=>t.remote&&t.filterable&&!t.remoteShowSuffix?"":t.suffixIcon),Y=e.computed(()=>J.value&&a.is("reverse",W.value)),_=e.computed(()=>(i==null?void 0:i.validateState)||""),q=e.computed(()=>{if(_.value)return oc[_.value]}),le=e.computed(()=>t.remote?t.debounce:0),ue=e.computed(()=>t.remote&&!b.inputValue&&!F.value),Ce=e.computed(()=>t.loading?t.loadingText||o("el.select.loading"):t.filterable&&b.inputValue&&F.value&&A.value.length===0?t.noMatchText||o("el.select.noMatch"):F.value?null:t.noDataText||o("el.select.noData")),Ee=e.computed(()=>t.filterable&&Ae(t.filterMethod)),Ve=e.computed(()=>t.filterable&&t.remote&&Ae(t.remoteMethod)),Ie=ae=>{const $e=new RegExp(mf(ae),"i"),He=Ge=>Ee.value||Ve.value?!0:ae?$e.test(u(Ge)||""):!0;return t.loading?[]:[...b.createdOptions,...t.options].reduce((Ge,nn)=>{const bo=g(nn);if(ie(bo)){const di=bo.filter(He);di.length>0&&Ge.push({label:u(nn),type:"Group"},...di)}else(t.remote||He(nn))&&Ge.push(nn);return Ge},[])},qe=()=>{A.value=Ie(b.inputValue)},We=e.computed(()=>{const ae=new Map;return z.value.forEach(($e,He)=>{ae.set(ke(f($e)),{option:$e,index:He})}),ae}),be=e.computed(()=>{const ae=new Map;return A.value.forEach(($e,He)=>{ae.set(ke(f($e)),{option:$e,index:He})}),ae}),ye=e.computed(()=>A.value.every(ae=>p(ae))),Te=zt(),Oe=e.computed(()=>Te.value==="small"?"small":"default"),Fe=()=>{var ae;if(pe(t.fitInputWidth)){y.value=t.fitInputWidth;return}const $e=((ae=C.value)==null?void 0:ae.offsetWidth)||200;!t.fitInputWidth&&F.value?e.nextTick(()=>{y.value=Math.max($e,Ue())}):y.value=$e},Ue=()=>{var ae,$e;const Ge=document.createElement("canvas").getContext("2d"),nn=a.be("dropdown","item"),di=((($e=(ae=T.value)==null?void 0:ae.listRef)==null?void 0:$e.innerRef)||document).querySelector(`.${nn}`);if(di===null||Ge===null)return 0;const Dd=getComputedStyle(di),JQ=Number.parseFloat(Dd.paddingLeft)+Number.parseFloat(Dd.paddingRight);return Ge.font=`bold ${Dd.font.replace(new RegExp(`\\b${Dd.fontWeight}\\b`),"")}`,A.value.reduce((QQ,eee)=>{const tee=Ge.measureText(u(eee));return Math.max(tee.width,QQ)},0)+JQ},fe=()=>{if(!w.value)return 0;const ae=window.getComputedStyle(w.value);return Number.parseFloat(ae.gap||"6px")},we=e.computed(()=>{const ae=fe(),$e=t.filterable?ae+Kl:0;return{maxWidth:`${x.value&&t.maxCollapseTags===1?b.selectionWidth-b.collapseItemWidth-ae-$e:b.selectionWidth-$e}px`}}),Se=e.computed(()=>({maxWidth:`${b.selectionWidth}px`})),pt=e.computed(()=>ie(t.modelValue)?t.modelValue.length===0&&!b.inputValue:t.filterable?!b.inputValue:!0),bt=e.computed(()=>{var ae;const $e=(ae=t.placeholder)!=null?ae:o("el.select.placeholder");return t.multiple||!X.value?$e:b.selectedLabel}),Be=e.computed(()=>{var ae,$e;return($e=(ae=S.value)==null?void 0:ae.popperRef)==null?void 0:$e.contentRef}),ze=e.computed(()=>{if(t.multiple){const ae=t.modelValue.length;if(ae>0&&be.value.has(t.modelValue[ae-1])){const{index:$e}=be.value.get(t.modelValue[ae-1]);return $e}}else if(!h(t.modelValue)&&be.value.has(t.modelValue)){const{index:ae}=be.value.get(t.modelValue);return ae}return-1}),Ye=e.computed({get(){return W.value&&(t.loading||!ue.value||t.remote&&!!r.empty)&&(!k.value||!Tn(b.previousQuery))},set(ae){W.value=ae}}),ne=e.computed(()=>t.multiple?t.collapseTags?b.cachedOptions.slice(0,t.maxCollapseTags):b.cachedOptions:[]),me=e.computed(()=>t.multiple?t.collapseTags?b.cachedOptions.slice(t.maxCollapseTags):[]:[]),{createNewOption:Z,removeNewOption:de,selectNewOption:De,clearAllNewOption:st}=LG(t,b),Tt=ae=>{var $e;$.value||t.filterable&&W.value&&ae&&!(($e=P.value)!=null&&$e.contains(ae.target))||(b.menuVisibleOnFocus?b.menuVisibleOnFocus=!1:W.value=!W.value)},Vt=()=>{b.inputValue.length>0&&!W.value&&(W.value=!0),Z(b.inputValue),e.nextTick(()=>{he(b.inputValue)})},se=Wl(()=>{Vt(),k.value=!1},le),he=ae=>{b.previousQuery===ae||O.value||(b.previousQuery=ae,t.filterable&&Ae(t.filterMethod)?t.filterMethod(ae):t.filterable&&t.remote&&Ae(t.remoteMethod)&&t.remoteMethod(ae),t.defaultFirstOption&&(t.filterable||t.remote)&&A.value.length?e.nextTick(Me):e.nextTick(Ze))},Me=()=>{const ae=A.value.filter(Ge=>!Ge.disabled&&Ge.type!=="Group"),$e=ae.find(Ge=>Ge.created),He=ae[0];b.hoveringIndex=ge(A.value,$e||He)},St=ae=>{xt(t.modelValue,ae)||n(_e,ae)},rt=ae=>{n(Ne,ae),St(ae),b.previousValue=t.multiple?String(ae):ae,e.nextTick(()=>{if(t.multiple&&ie(t.modelValue)){const $e=b.cachedOptions.slice(),He=t.modelValue.map(Ge=>rr(Ge,$e));xt(b.cachedOptions,He)||(b.cachedOptions=He)}else _l(!0)})},ge=(ae=[],$e)=>{if(!tt($e))return ae.indexOf($e);const He=t.valueKey;let Ge=-1;return ae.some((nn,bo)=>Mt(nn,He)===Mt($e,He)?(Ge=bo,!0):!1),Ge},ke=ae=>tt(ae)?Mt(ae,t.valueKey):ae,Le=()=>{Fe()},ln=()=>{b.selectionWidth=Number.parseFloat(window.getComputedStyle(w.value).width)},$n=()=>{b.collapseItemWidth=x.value.getBoundingClientRect().width},Io=()=>{var ae,$e;($e=(ae=S.value)==null?void 0:ae.updatePopper)==null||$e.call(ae)},Od=()=>{var ae,$e;($e=(ae=E.value)==null?void 0:ae.updatePopper)==null||$e.call(ae)},Ma=ae=>{const $e=f(ae);if(t.multiple){let He=t.modelValue.slice();const Ge=ge(He,$e);Ge>-1?(He=[...He.slice(0,Ge),...He.slice(Ge+1)],b.cachedOptions.splice(Ge,1),de(ae)):(t.multipleLimit<=0||He.length{let He=t.modelValue.slice();const Ge=ge(He,f($e));Ge>-1&&!$.value&&(He=[...t.modelValue.slice(0,Ge),...t.modelValue.slice(Ge+1)],b.cachedOptions.splice(Ge,1),rt(He),n("remove-tag",f($e)),de($e)),ae.stopPropagation(),Br()},Br=()=>{var ae;(ae=v.value)==null||ae.focus()},kg=()=>{var ae;if(W.value){W.value=!1,e.nextTick(()=>{var $e;return($e=v.value)==null?void 0:$e.blur()});return}(ae=v.value)==null||ae.blur()},Sg=()=>{b.inputValue.length>0?b.inputValue="":W.value=!1},Eg=ae=>Di(ae,$e=>!b.cachedOptions.some(He=>f(He)===$e&&p(He))),vg=ae=>{const $e=ut(ae);if(t.multiple&&$e!==te.delete&&b.inputValue.length===0){ae.preventDefault();const He=t.modelValue.slice(),Ge=Eg(He);if(Ge<0)return;const nn=He[Ge];He.splice(Ge,1);const bo=b.cachedOptions[Ge];b.cachedOptions.splice(Ge,1),de(bo),rt(He),n("remove-tag",nn)}},Ng=()=>{let ae;ie(t.modelValue)?ae=[]:ae=m.value,b.selectedLabel="",W.value=!1,rt(ae),n("clear"),st(),Br()},Ia=(ae,$e=void 0)=>{const He=A.value;if(!["forward","backward"].includes(ae)||$.value||He.length<=0||ye.value||O.value)return;if(!W.value)return Tt();Xe($e)&&($e=b.hoveringIndex);let Ge=-1;ae==="forward"?(Ge=$e+1,Ge>=He.length&&(Ge=0)):ae==="backward"&&(Ge=$e-1,(Ge<0||Ge>=He.length)&&(Ge=He.length-1));const nn=He[Ge];if(p(nn)||nn.type==="Group")return Ia(ae,Ge);b.hoveringIndex=Ge,gn(Ge)},re=()=>{if(W.value)~b.hoveringIndex&&A.value[b.hoveringIndex]&&Ma(A.value[b.hoveringIndex]);else return Tt()},xe=ae=>{b.hoveringIndex=ae!=null?ae:-1},Ze=()=>{if(!t.multiple)b.hoveringIndex=A.value.findIndex(ae=>ke(f(ae))===ke(t.modelValue));else{const ae=t.modelValue.length;if(ae>0){const $e=t.modelValue[ae-1];b.hoveringIndex=A.value.findIndex(He=>ke($e)===ke(f(He)))}else b.hoveringIndex=-1}},Et=ae=>{if(b.inputValue=ae.target.value,t.remote)k.value=!0,se();else return Vt()},Ot=ae=>{if(W.value=!1,M.value){const $e=new FocusEvent("blur",ae);I($e)}},En=()=>(b.isBeforeHide=!1,e.nextTick(()=>{~ze.value&&gn(ze.value)})),gn=ae=>{T.value.scrollToItem(ae)},rr=(ae,$e)=>{const He=ke(ae);if(We.value.has(He)){const{option:Ge}=We.value.get(He);return Ge}if($e&&$e.length){const Ge=$e.find(nn=>ke(f(nn))===He);if(Ge)return Ge}return{[d.value.value]:ae,[d.value.label]:ae}},Tr=ae=>{var $e,He;return(He=($e=We.value.get(f(ae)))==null?void 0:$e.index)!=null?He:-1},_l=(ae=!1)=>{if(t.multiple)if(t.modelValue.length>0){const $e=b.cachedOptions.slice();b.cachedOptions.length=0,b.previousValue=t.modelValue.toString();for(const He of t.modelValue){const Ge=rr(He,$e);b.cachedOptions.push(Ge)}}else b.cachedOptions=[],b.previousValue=void 0;else if(X.value){b.previousValue=t.modelValue;const $e=A.value,He=$e.findIndex(Ge=>ke(f(Ge))===ke(t.modelValue));~He?b.selectedLabel=u($e[He]):(!b.selectedLabel||ae)&&(b.selectedLabel=ke(t.modelValue))}else b.selectedLabel="",b.previousValue=void 0;st(),Fe()};e.watch(()=>t.fitInputWidth,()=>{Fe()}),e.watch(W,ae=>{ae?(t.persistent||Fe(),he("")):(b.inputValue="",b.previousQuery=null,b.isBeforeHide=!0,b.menuVisibleOnFocus=!1,Z(""))}),e.watch(()=>t.modelValue,(ae,$e)=>{var He;(!ae||ie(ae)&&ae.length===0||t.multiple&&!xt(ae.toString(),b.previousValue)||!t.multiple&&ke(ae)!==ke(b.previousValue))&&_l(!0),!xt(ae,$e)&&t.validateEvent&&((He=i==null?void 0:i.validate)==null||He.call(i,"change").catch(nn=>void 0))},{deep:!0}),e.watch(()=>t.options,()=>{const ae=v.value;(!ae||ae&&document.activeElement!==ae)&&_l()},{deep:!0,flush:"post"}),e.watch(()=>A.value,()=>(Fe(),T.value&&e.nextTick(T.value.resetScrollTop))),e.watchEffect(()=>{b.isBeforeHide||qe()}),e.watchEffect(()=>{const{valueKey:ae,options:$e}=t,He=new Map;for(const Ge of $e){const nn=f(Ge);let bo=nn;if(tt(bo)&&(bo=Mt(nn,ae)),He.get(bo))break;He.set(bo,!0)}}),e.onMounted(()=>{_l()}),yt(C,Le),yt(w,ln),yt(B,Io),yt(V,Od),yt(x,$n);let zd;return e.watch(()=>Ye.value,ae=>{ae?zd=yt(T,Io).stop:(zd==null||zd(),zd=void 0),n("visible-change",ae)}),{inputId:c,collapseTagSize:Oe,currentPlaceholder:bt,expanded:W,emptyText:Ce,popupHeight:G,debounce:le,allOptions:z,allOptionsValueMap:We,filteredOptions:A,iconComponent:J,iconReverse:Y,tagStyle:we,collapseTagStyle:Se,popperSize:y,dropdownMenuVisible:Ye,hasModelValue:X,shouldShowPlaceholder:pt,selectDisabled:$,selectSize:Te,needStatusIcon:j,showClearBtn:Q,states:b,isFocused:M,nsSelect:a,nsInput:l,inputRef:v,menuRef:T,tagMenuRef:V,tooltipRef:S,tagTooltipRef:E,selectRef:C,wrapperRef:B,selectionRef:w,prefixRef:N,suffixRef:P,collapseItemRef:x,popperRef:Be,validateState:_,validateIcon:q,showTagList:ne,collapseTagList:me,debouncedOnInputChange:se,deleteTag:Ad,getLabel:u,getValue:f,getDisabled:p,getValueKey:ke,getIndex:Tr,handleClear:Ng,handleClickOutside:Ot,handleDel:vg,handleEsc:Sg,focus:Br,blur:kg,handleMenuEnter:En,handleResize:Le,resetSelectionWidth:ln,updateTooltip:Io,updateTagTooltip:Od,updateOptions:qe,toggleMenu:Tt,scrollTo:gn,onInput:Et,onKeyboardNavigate:Ia,onKeyboardSelect:re,onSelect:Ma,onHover:xe,handleCompositionStart:D,handleCompositionEnd:L,handleCompositionUpdate:H}};var FG=e.defineComponent({name:"ElSelectV2",components:{ElSelectMenu:DG,ElTag:tr,ElTooltip:Jt,ElIcon:ce},directives:{ClickOutside:Sr},props:$G,emits:PG,setup(t,{emit:n}){const o=e.computed(()=>{const{modelValue:c,multiple:d}=t,u=d?[]:void 0;return ie(c)?d?c:u:d?u:c}),r=_G(e.reactive({...e.toRefs(t),modelValue:o}),n),{calculatorRef:a,inputStyle:l}=rc(),s=en();e.provide(gd,{props:e.reactive({...e.toRefs(t),height:r.popupHeight,modelValue:o}),expanded:r.expanded,tooltipRef:r.tooltipRef,contentId:s,onSelect:r.onSelect,onHover:r.onHover,onKeyboardNavigate:r.onKeyboardNavigate,onKeyboardSelect:r.onKeyboardSelect});const i=e.computed(()=>t.multiple?r.states.cachedOptions.map(c=>r.getLabel(c)):r.states.selectedLabel);return{...r,modelValue:o,selectedLabel:i,calculatorRef:a,inputStyle:l,contentId:s,BORDER_HORIZONTAL_WIDTH:Hd}}});const HG=["id","value","autocomplete","tabindex","aria-expanded","aria-label","disabled","aria-controls","aria-activedescendant","readonly","name"],KG=["textContent"],WG={key:1};function jG(t,n,o,r,a,l){const s=e.resolveComponent("el-tag"),i=e.resolveComponent("el-tooltip"),c=e.resolveComponent("el-icon"),d=e.resolveComponent("el-select-menu"),u=e.resolveDirective("click-outside");return e.withDirectives((e.openBlock(),e.createElementBlock("div",{ref:"selectRef",class:e.normalizeClass([t.nsSelect.b(),t.nsSelect.m(t.selectSize)]),onMouseenter:n[14]||(n[14]=f=>t.states.inputHovering=!0),onMouseleave:n[15]||(n[15]=f=>t.states.inputHovering=!1)},[e.createVNode(i,{ref:"tooltipRef",visible:t.dropdownMenuVisible,teleported:t.teleported,"popper-class":[t.nsSelect.e("popper"),t.popperClass],"popper-style":t.popperStyle,"gpu-acceleration":!1,"stop-popper-mouse-event":!1,"popper-options":t.popperOptions,"fallback-placements":t.fallbackPlacements,effect:t.effect,placement:t.placement,pure:"",transition:`${t.nsSelect.namespace.value}-zoom-in-top`,trigger:"click",persistent:t.persistent,"append-to":t.appendTo,"show-arrow":t.showArrow,offset:t.offset,onBeforeShow:t.handleMenuEnter,onHide:n[13]||(n[13]=f=>t.states.isBeforeHide=!1)},{default:e.withCtx(()=>{var f,p;return[e.createElementVNode("div",{ref:"wrapperRef",class:e.normalizeClass([t.nsSelect.e("wrapper"),t.nsSelect.is("focused",t.isFocused),t.nsSelect.is("hovering",t.states.inputHovering),t.nsSelect.is("filterable",t.filterable),t.nsSelect.is("disabled",t.selectDisabled)]),onClick:n[10]||(n[10]=e.withModifiers((...g)=>t.toggleMenu&&t.toggleMenu(...g),["prevent"]))},[t.$slots.prefix?(e.openBlock(),e.createElementBlock("div",{key:0,ref:"prefixRef",class:e.normalizeClass(t.nsSelect.e("prefix"))},[e.renderSlot(t.$slots,"prefix")],2)):e.createCommentVNode("v-if",!0),e.createElementVNode("div",{ref:"selectionRef",class:e.normalizeClass([t.nsSelect.e("selection"),t.nsSelect.is("near",t.multiple&&!t.$slots.prefix&&!!t.modelValue.length)])},[t.multiple?e.renderSlot(t.$slots,"tag",{key:0,data:t.states.cachedOptions,deleteTag:t.deleteTag,selectDisabled:t.selectDisabled},()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.showTagList,g=>(e.openBlock(),e.createElementBlock("div",{key:t.getValueKey(t.getValue(g)),class:e.normalizeClass(t.nsSelect.e("selected-item"))},[e.createVNode(s,{closable:!t.selectDisabled&&!t.getDisabled(g),size:t.collapseTagSize,type:t.tagType,effect:t.tagEffect,"disable-transitions":"",style:e.normalizeStyle(t.tagStyle),onClose:m=>t.deleteTag(m,g)},{default:e.withCtx(()=>[e.createElementVNode("span",{class:e.normalizeClass(t.nsSelect.e("tags-text"))},[e.renderSlot(t.$slots,"label",{index:t.getIndex(g),label:t.getLabel(g),value:t.getValue(g)},()=>[e.createTextVNode(e.toDisplayString(t.getLabel(g)),1)])],2)]),_:2},1032,["closable","size","type","effect","style","onClose"])],2))),128)),t.collapseTags&&t.modelValue.length>t.maxCollapseTags?(e.openBlock(),e.createBlock(i,{key:0,ref:"tagTooltipRef",disabled:t.dropdownMenuVisible||!t.collapseTagsTooltip,"fallback-placements":["bottom","top","right","left"],effect:t.effect,placement:"bottom","popper-class":t.popperClass,"popper-style":t.popperStyle,teleported:t.teleported,"popper-options":t.popperOptions},{default:e.withCtx(()=>[e.createElementVNode("div",{ref:"collapseItemRef",class:e.normalizeClass(t.nsSelect.e("selected-item"))},[e.createVNode(s,{closable:!1,size:t.collapseTagSize,type:t.tagType,effect:t.tagEffect,style:e.normalizeStyle(t.collapseTagStyle),"disable-transitions":""},{default:e.withCtx(()=>[e.createElementVNode("span",{class:e.normalizeClass(t.nsSelect.e("tags-text"))}," + "+e.toDisplayString(t.modelValue.length-t.maxCollapseTags),3)]),_:1},8,["size","type","effect","style"])],2)]),content:e.withCtx(()=>[e.createElementVNode("div",{ref:"tagMenuRef",class:e.normalizeClass(t.nsSelect.e("selection"))},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.collapseTagList,g=>(e.openBlock(),e.createElementBlock("div",{key:t.getValueKey(t.getValue(g)),class:e.normalizeClass(t.nsSelect.e("selected-item"))},[e.createVNode(s,{class:"in-tooltip",closable:!t.selectDisabled&&!t.getDisabled(g),size:t.collapseTagSize,type:t.tagType,effect:t.tagEffect,"disable-transitions":"",onClose:m=>t.deleteTag(m,g)},{default:e.withCtx(()=>[e.createElementVNode("span",{class:e.normalizeClass(t.nsSelect.e("tags-text"))},[e.renderSlot(t.$slots,"label",{index:t.getIndex(g),label:t.getLabel(g),value:t.getValue(g)},()=>[e.createTextVNode(e.toDisplayString(t.getLabel(g)),1)])],2)]),_:2},1032,["closable","size","type","effect","onClose"])],2))),128))],2)]),_:3},8,["disabled","effect","popper-class","popper-style","teleported","popper-options"])):e.createCommentVNode("v-if",!0)]):e.createCommentVNode("v-if",!0),e.createElementVNode("div",{class:e.normalizeClass([t.nsSelect.e("selected-item"),t.nsSelect.e("input-wrapper"),t.nsSelect.is("hidden",!t.filterable||t.selectDisabled)])},[e.createElementVNode("input",{id:t.inputId,ref:"inputRef",value:t.states.inputValue,style:e.normalizeStyle(t.inputStyle),autocomplete:t.autocomplete,tabindex:t.tabindex,"aria-autocomplete":"none","aria-haspopup":"listbox",autocapitalize:"off","aria-expanded":t.expanded,"aria-label":t.ariaLabel,class:e.normalizeClass([t.nsSelect.e("input"),t.nsSelect.is(t.selectSize)]),disabled:t.selectDisabled,role:"combobox","aria-controls":t.contentId,"aria-activedescendant":t.states.hoveringIndex>=0?`${t.contentId}-${t.states.hoveringIndex}`:"",readonly:!t.filterable,spellcheck:"false",type:"text",name:t.name,onInput:n[0]||(n[0]=(...g)=>t.onInput&&t.onInput(...g)),onCompositionstart:n[1]||(n[1]=(...g)=>t.handleCompositionStart&&t.handleCompositionStart(...g)),onCompositionupdate:n[2]||(n[2]=(...g)=>t.handleCompositionUpdate&&t.handleCompositionUpdate(...g)),onCompositionend:n[3]||(n[3]=(...g)=>t.handleCompositionEnd&&t.handleCompositionEnd(...g)),onKeydown:[n[4]||(n[4]=e.withKeys(e.withModifiers(g=>t.onKeyboardNavigate("backward"),["stop","prevent"]),["up"])),n[5]||(n[5]=e.withKeys(e.withModifiers(g=>t.onKeyboardNavigate("forward"),["stop","prevent"]),["down"])),n[6]||(n[6]=e.withKeys(e.withModifiers((...g)=>t.onKeyboardSelect&&t.onKeyboardSelect(...g),["stop","prevent"]),["enter"])),n[7]||(n[7]=e.withKeys(e.withModifiers((...g)=>t.handleEsc&&t.handleEsc(...g),["stop","prevent"]),["esc"])),n[8]||(n[8]=e.withKeys(e.withModifiers((...g)=>t.handleDel&&t.handleDel(...g),["stop"]),["delete"]))],onClick:n[9]||(n[9]=e.withModifiers((...g)=>t.toggleMenu&&t.toggleMenu(...g),["stop"]))},null,46,HG),t.filterable?(e.openBlock(),e.createElementBlock("span",{key:0,ref:"calculatorRef","aria-hidden":"true",class:e.normalizeClass(t.nsSelect.e("input-calculator")),textContent:e.toDisplayString(t.states.inputValue)},null,10,KG)):e.createCommentVNode("v-if",!0)],2),t.shouldShowPlaceholder?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass([t.nsSelect.e("selected-item"),t.nsSelect.e("placeholder"),t.nsSelect.is("transparent",!t.hasModelValue||t.expanded&&!t.states.inputValue)])},[t.hasModelValue?e.renderSlot(t.$slots,"label",{key:0,index:(p=(f=t.allOptionsValueMap.get(t.modelValue))==null?void 0:f.index)!=null?p:-1,label:t.currentPlaceholder,value:t.modelValue},()=>[e.createElementVNode("span",null,e.toDisplayString(t.currentPlaceholder),1)]):(e.openBlock(),e.createElementBlock("span",WG,e.toDisplayString(t.currentPlaceholder),1))],2)):e.createCommentVNode("v-if",!0)],2),e.createElementVNode("div",{ref:"suffixRef",class:e.normalizeClass(t.nsSelect.e("suffix"))},[t.iconComponent?e.withDirectives((e.openBlock(),e.createBlock(c,{key:0,class:e.normalizeClass([t.nsSelect.e("caret"),t.nsInput.e("icon"),t.iconReverse])},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.iconComponent)))]),_:1},8,["class"])),[[e.vShow,!t.showClearBtn]]):e.createCommentVNode("v-if",!0),t.showClearBtn&&t.clearIcon?(e.openBlock(),e.createBlock(c,{key:1,class:e.normalizeClass([t.nsSelect.e("caret"),t.nsInput.e("icon"),t.nsSelect.e("clear")]),onClick:e.withModifiers(t.handleClear,["prevent","stop"])},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.clearIcon)))]),_:1},8,["class","onClick"])):e.createCommentVNode("v-if",!0),t.validateState&&t.validateIcon&&t.needStatusIcon?(e.openBlock(),e.createBlock(c,{key:2,class:e.normalizeClass([t.nsInput.e("icon"),t.nsInput.e("validateIcon"),t.nsInput.is("loading",t.validateState==="validating")])},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.validateIcon)))]),_:1},8,["class"])):e.createCommentVNode("v-if",!0)],2)],2)]}),content:e.withCtx(()=>[e.createVNode(d,{id:t.contentId,ref:"menuRef",data:t.filteredOptions,width:t.popperSize-t.BORDER_HORIZONTAL_WIDTH,"hovering-index":t.states.hoveringIndex,"scrollbar-always-on":t.scrollbarAlwaysOn,"aria-label":t.ariaLabel},e.createSlots({default:e.withCtx(f=>[e.renderSlot(t.$slots,"default",e.normalizeProps(e.guardReactiveProps(f)))]),_:2},[t.$slots.header?{name:"header",fn:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(t.nsSelect.be("dropdown","header")),onClick:n[11]||(n[11]=e.withModifiers(()=>{},["stop"]))},[e.renderSlot(t.$slots,"header")],2)]),key:"0"}:void 0,t.$slots.loading&&t.loading?{name:"loading",fn:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(t.nsSelect.be("dropdown","loading"))},[e.renderSlot(t.$slots,"loading")],2)]),key:"1"}:t.loading||t.filteredOptions.length===0?{name:"empty",fn:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(t.nsSelect.be("dropdown","empty"))},[e.renderSlot(t.$slots,"empty",{},()=>[e.createElementVNode("span",null,e.toDisplayString(t.emptyText),1)])],2)]),key:"2"}:void 0,t.$slots.footer?{name:"footer",fn:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(t.nsSelect.be("dropdown","footer")),onClick:n[12]||(n[12]=e.withModifiers(()=>{},["stop"]))},[e.renderSlot(t.$slots,"footer")],2)]),key:"3"}:void 0]),1032,["id","data","width","hovering-index","scrollbar-always-on","aria-label"])]),_:3},8,["visible","teleported","popper-class","popper-style","popper-options","fallback-placements","effect","placement","transition","persistent","append-to","show-arrow","offset","onBeforeShow"])],34)),[[u,t.handleClickOutside,t.popperRef]])}var UG=Ut(FG,[["render",jG]]);const $N=Re(UG),VN=oe({animated:Boolean,count:{type:Number,default:1},rows:{type:Number,default:3},loading:{type:Boolean,default:!0},throttle:{type:K([Number,Object])}}),PN=oe({variant:{type:String,values:["circle","rect","h1","h3","text","caption","p","image","button"],default:"text"}});var bd=e.defineComponent({name:"ElSkeletonItem",__name:"skeleton-item",props:PN,setup(t){const n=ee("skeleton");return(o,r)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass([e.unref(n).e("item"),e.unref(n).e(t.variant)])},[t.variant==="image"?(e.openBlock(),e.createBlock(e.unref(fF),{key:0})):e.createCommentVNode("v-if",!0)],2))}}),YG=e.defineComponent({name:"ElSkeleton",__name:"skeleton",props:VN,setup(t,{expose:n}){const o=t,r=ee("skeleton"),a=aw(e.toRef(o,"loading"),o.throttle);return n({uiLoading:a}),(l,s)=>e.unref(a)?(e.openBlock(),e.createElementBlock("div",e.mergeProps({key:0,class:[e.unref(r).b(),e.unref(r).is("animated",t.animated)]},l.$attrs),[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.count,i=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:i},[e.unref(a)?e.renderSlot(l.$slots,"template",{key:i},()=>[e.createVNode(bd,{class:e.normalizeClass(e.unref(r).is("first")),variant:"p"},null,8,["class"]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.rows,c=>(e.openBlock(),e.createBlock(bd,{key:c,class:e.normalizeClass([e.unref(r).e("paragraph"),e.unref(r).is("last",c===t.rows&&t.rows>1)]),variant:"p"},null,8,["class"]))),128))]):e.createCommentVNode("v-if",!0)],64))),128))],16)):e.renderSlot(l.$slots,"default",e.normalizeProps(e.mergeProps({key:1},l.$attrs)))}});const RN=Re(YG,{SkeletonItem:bd}),MN=Bt(bd),bh=Symbol("sliderContextKey"),IN=oe({modelValue:{type:K([Number,Array]),default:0},id:{type:String,default:void 0},min:{type:Number,default:0},max:{type:Number,default:100},step:{type:Number,default:1},showInput:Boolean,showInputControls:{type:Boolean,default:!0},size:Ht,inputSize:Ht,showStops:Boolean,showTooltip:{type:Boolean,default:!0},formatTooltip:{type:K(Function),default:void 0},disabled:{type:Boolean,default:void 0},range:Boolean,vertical:Boolean,height:String,rangeStartLabel:{type:String,default:void 0},rangeEndLabel:{type:String,default:void 0},formatValueText:{type:K(Function),default:void 0},tooltipClass:{type:String,default:void 0},placement:{type:String,values:Yo,default:"top"},marks:{type:K(Object)},validateEvent:{type:Boolean,default:!0},persistent:{type:Boolean,default:!0},...cn(["ariaLabel"])}),yh=t=>pe(t)||ie(t)&&t.every(pe),ON={[Ne]:yh,[Dt]:yh,[_e]:yh},GG=(t,n,o)=>{const r=e.ref();return e.onMounted(async()=>{t.range?(ie(t.modelValue)?(n.firstValue=Math.max(t.min,t.modelValue[0]),n.secondValue=Math.min(t.max,t.modelValue[1])):(n.firstValue=t.min,n.secondValue=t.max),n.oldValue=[n.firstValue,n.secondValue]):(!pe(t.modelValue)||Number.isNaN(t.modelValue)?n.firstValue=t.min:n.firstValue=Math.min(t.max,Math.max(t.min,t.modelValue)),n.oldValue=n.firstValue),nt(window,"resize",o),await e.nextTick(),o()}),{sliderWrapper:r}},qG=t=>e.computed(()=>t.marks?Object.keys(t.marks).map(Number.parseFloat).sort((o,r)=>o-r).filter(o=>o<=t.max&&o>=t.min).map(o=>({point:o,position:(o-t.min)*100/(t.max-t.min),mark:t.marks[o]})):[]),XG=(t,n,o)=>{const{formItem:r}=Zt(),a=e.shallowRef(),l=e.ref(),s=e.ref(),i={firstButton:l,secondButton:s},c=kt(),d=e.computed(()=>Math.min(n.firstValue,n.secondValue)),u=e.computed(()=>Math.max(n.firstValue,n.secondValue)),f=e.computed(()=>t.range?`${100*(u.value-d.value)/(t.max-t.min)}%`:`${100*(n.firstValue-t.min)/(t.max-t.min)}%`),p=e.computed(()=>t.range?`${100*(d.value-t.min)/(t.max-t.min)}%`:"0%"),g=e.computed(()=>t.vertical?{height:t.height}:{}),m=e.computed(()=>t.vertical?{height:f.value,bottom:p.value}:{width:f.value,left:p.value}),h=()=>{if(a.value){const V=a.value.getBoundingClientRect();n.sliderSize=V[t.vertical?"height":"width"]}},b=V=>{const x=t.min+V*(t.max-t.min)/100;if(!t.range)return l;let O;return Math.abs(d.value-x)n.secondValue?"firstButton":"secondButton",i[O]},y=V=>{const x=b(V);return x.value.setPosition(V),x},k=V=>{n.firstValue=V!=null?V:t.min,w(t.range?[d.value,u.value]:V!=null?V:t.min)},C=V=>{n.secondValue=V,t.range&&w([d.value,u.value])},w=V=>{o(Ne,V),o(Dt,V)},S=async()=>{await e.nextTick(),o(_e,t.range?[d.value,u.value]:t.modelValue)},E=V=>{var x,O,D,L,H,$;if(c.value||n.dragging)return;h();let B=0;if(t.vertical){const M=(D=(O=(x=V.touches)==null?void 0:x.item(0))==null?void 0:O.clientY)!=null?D:V.clientY;B=(a.value.getBoundingClientRect().bottom-M)/n.sliderSize*100}else{const M=($=(H=(L=V.touches)==null?void 0:L.item(0))==null?void 0:H.clientX)!=null?$:V.clientX,I=a.value.getBoundingClientRect().left;B=(M-I)/n.sliderSize*100}if(!(B<0||B>100))return y(B)};return{elFormItem:r,slider:a,firstButton:l,secondButton:s,sliderDisabled:c,minValue:d,maxValue:u,runwayStyle:g,barStyle:m,resetSize:h,setPosition:y,emitChange:S,onSliderWrapperPrevent:V=>{var x,O;((x=i.firstButton.value)!=null&&x.dragging||(O=i.secondButton.value)!=null&&O.dragging)&&V.preventDefault()},onSliderClick:V=>{E(V)&&S()},onSliderDown:async V=>{const x=E(V);x&&(await e.nextTick(),x.value.onButtonDown(V))},onSliderMarkerDown:V=>{if(c.value||n.dragging)return;y(V)&&S()},setFirstValue:k,setSecondValue:C}},ZG=(t,n,o)=>{const r=e.ref(),a=e.ref(!1),l=e.computed(()=>n.value instanceof Function),s=e.computed(()=>l.value&&n.value(t.modelValue)||t.modelValue),i=Eo(()=>{o.value&&(a.value=!0)},50),c=Eo(()=>{o.value&&(a.value=!1)},50);return{tooltip:r,tooltipVisible:a,formatValue:s,displayTooltip:i,hideTooltip:c}},JG=(t,n,o)=>{const{disabled:r,min:a,max:l,step:s,showTooltip:i,persistent:c,precision:d,sliderSize:u,formatTooltip:f,emitChange:p,resetSize:g,updateDragging:m}=e.inject(bh),{tooltip:h,tooltipVisible:b,formatValue:y,displayTooltip:k,hideTooltip:C}=ZG(t,f,i),w=e.ref(),S=e.computed(()=>`${(t.modelValue-a.value)/(l.value-a.value)*100}%`),E=e.computed(()=>t.vertical?{bottom:S.value}:{left:S.value}),v=()=>{n.hovering=!0,k()},N=()=>{n.hovering=!1,n.dragging||C()},P=A=>{r.value||(A.preventDefault(),M(A),window.addEventListener("mousemove",I),window.addEventListener("touchmove",I),window.addEventListener("mouseup",z),window.addEventListener("touchend",z),window.addEventListener("contextmenu",z),w.value.focus())},T=A=>{r.value||(n.newPosition=Number.parseFloat(S.value)+A/(l.value-a.value)*100,F(n.newPosition),p())},V=()=>{T(-s.value)},x=()=>{T(s.value)},O=()=>{T(-s.value*4)},D=()=>{T(s.value*4)},L=()=>{r.value||(F(0),p())},H=()=>{r.value||(F(100),p())},$=A=>{const W=ut(A);let j=!0;switch(W){case te.left:case te.down:V();break;case te.right:case te.up:x();break;case te.home:L();break;case te.end:H();break;case te.pageDown:O();break;case te.pageUp:D();break;default:j=!1;break}j&&A.preventDefault()},B=A=>{let W,j;return A.type.startsWith("touch")?(j=A.touches[0].clientY,W=A.touches[0].clientX):(j=A.clientY,W=A.clientX),{clientX:W,clientY:j}},M=A=>{n.dragging=!0,n.isClick=!0;const{clientX:W,clientY:j}=B(A);t.vertical?n.startY=j:n.startX=W,n.startPosition=Number.parseFloat(S.value),n.newPosition=n.startPosition},I=A=>{if(n.dragging){n.isClick=!1,k(),g();let W;const{clientX:j,clientY:G}=B(A);t.vertical?(n.currentY=G,W=(n.startY-n.currentY)/u.value*100):(n.currentX=j,W=(n.currentX-n.startX)/u.value*100),n.newPosition=n.startPosition+W,F(n.newPosition)}},z=()=>{n.dragging&&(setTimeout(()=>{n.dragging=!1,n.hovering||C(),n.isClick||F(n.newPosition),p()},0),window.removeEventListener("mousemove",I),window.removeEventListener("touchmove",I),window.removeEventListener("mouseup",z),window.removeEventListener("touchend",z),window.removeEventListener("contextmenu",z))},F=async A=>{if(A===null||Number.isNaN(+A))return;A=Mr(A,0,100);const W=Math.floor((l.value-a.value)/s.value),j=W*s.value/(l.value-a.value)*100,G=j+(100-j)/2;let X;if(An.dragging,A=>{m(A)}),nt(w,"touchstart",P,{passive:!1}),{disabled:r,button:w,tooltip:h,tooltipVisible:b,showTooltip:i,persistent:c,wrapperStyle:E,formatValue:y,handleMouseEnter:v,handleMouseLeave:N,onButtonDown:P,onKeyDown:$,setPosition:F}},QG=(t,n,o,r)=>({stops:e.computed(()=>{if(!t.showStops||t.min>t.max)return[];if(t.step===0)return[];const s=Math.ceil((t.max-t.min)/t.step),i=100*t.step/(t.max-t.min),c=Array.from({length:s-1}).map((d,u)=>(u+1)*i);return t.range?c.filter(d=>d<100*(o.value-t.min)/(t.max-t.min)||d>100*(r.value-t.min)/(t.max-t.min)):c.filter(d=>d>100*(n.firstValue-t.min)/(t.max-t.min))}),getStopStyle:s=>t.vertical?{bottom:`${s}%`}:{left:`${s}%`}}),eq=(t,n,o,r,a,l)=>{const s=d=>{a(Ne,d),a(Dt,d)},i=()=>t.range?![o.value,r.value].every((d,u)=>d===n.oldValue[u]):t.modelValue!==n.oldValue,c=()=>{var d,u;t.min>t.max&&Ft("Slider","min should not be greater than max.");const f=t.modelValue;t.range&&ie(f)?f[1]t.max?s([t.max,t.max]):f[0]t.max?s([f[0],t.max]):(n.firstValue=f[0],n.secondValue=f[1],i()&&(t.validateEvent&&((d=l==null?void 0:l.validate)==null||d.call(l,"change").catch(p=>void 0)),n.oldValue=f.slice())):!t.range&&pe(f)&&!Number.isNaN(f)&&(ft.max?s(t.max):(n.firstValue=f,i()&&(t.validateEvent&&((u=l==null?void 0:l.validate)==null||u.call(l,"change").catch(p=>void 0)),n.oldValue=f)))};c(),e.watch(()=>n.dragging,d=>{d||c()}),e.watch(()=>t.modelValue,(d,u)=>{n.dragging||ie(d)&&ie(u)&&d.every((f,p)=>f===u[p])&&n.firstValue===d[0]&&n.secondValue===d[1]||c()},{deep:!0}),e.watch(()=>[t.min,t.max],()=>{c()})},tq=oe({modelValue:{type:Number,default:0},vertical:Boolean,tooltipClass:String,placement:{type:String,values:Yo,default:"top"}}),nq={[Ne]:t=>pe(t)},oq=["tabindex"];var AN=e.defineComponent({name:"ElSliderButton",__name:"button",props:tq,emits:nq,setup(t,{expose:n,emit:o}){const r=t,a=o,l=ee("slider"),s=e.reactive({hovering:!1,dragging:!1,isClick:!1,startX:0,currentX:0,startY:0,currentY:0,startPosition:0,newPosition:0,oldValue:r.modelValue}),i=e.computed(()=>f.value?p.value:!1),{disabled:c,button:d,tooltip:u,showTooltip:f,persistent:p,tooltipVisible:g,wrapperStyle:m,formatValue:h,handleMouseEnter:b,handleMouseLeave:y,onButtonDown:k,onKeyDown:C,setPosition:w}=JG(r,s,a),{hovering:S,dragging:E}=e.toRefs(s);return n({onButtonDown:k,onKeyDown:C,setPosition:w,hovering:S,dragging:E}),(v,N)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"button",ref:d,class:e.normalizeClass([e.unref(l).e("button-wrapper"),{hover:e.unref(S),dragging:e.unref(E)}]),style:e.normalizeStyle(e.unref(m)),tabindex:e.unref(c)?void 0:0,onMouseenter:N[0]||(N[0]=(...P)=>e.unref(b)&&e.unref(b)(...P)),onMouseleave:N[1]||(N[1]=(...P)=>e.unref(y)&&e.unref(y)(...P)),onMousedown:N[2]||(N[2]=(...P)=>e.unref(k)&&e.unref(k)(...P)),onFocus:N[3]||(N[3]=(...P)=>e.unref(b)&&e.unref(b)(...P)),onBlur:N[4]||(N[4]=(...P)=>e.unref(y)&&e.unref(y)(...P)),onKeydown:N[5]||(N[5]=(...P)=>e.unref(C)&&e.unref(C)(...P))},[e.createVNode(e.unref(Jt),{ref_key:"tooltip",ref:u,visible:e.unref(g),placement:v.placement,"fallback-placements":["top","bottom","right","left"],"stop-popper-mouse-event":!1,"popper-class":v.tooltipClass,disabled:!e.unref(f),persistent:i.value},{content:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(e.unref(h)),1)]),default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass([e.unref(l).e("button"),{hover:e.unref(S),dragging:e.unref(E)}])},null,2)]),_:1},8,["visible","placement","popper-class","disabled","persistent"])],46,oq))}});const rq=oe({mark:{type:K([String,Object]),default:void 0}});var aq=e.defineComponent({name:"ElSliderMarker",props:rq,setup(t){const n=ee("slider"),o=e.computed(()=>ve(t.mark)?t.mark:t.mark.label),r=e.computed(()=>ve(t.mark)?void 0:t.mark.style);return()=>e.h("div",{class:n.e("marks-text"),style:r.value},o.value)}});const lq=["id","role","aria-label","aria-labelledby"],sq={key:1};var iq=e.defineComponent({name:"ElSlider",__name:"slider",props:IN,emits:ON,setup(t,{expose:n,emit:o}){const r=t,a=o,l=ee("slider"),{t:s}=je(),i=e.reactive({firstValue:0,secondValue:0,oldValue:0,dragging:!1,sliderSize:1}),{elFormItem:c,slider:d,firstButton:u,secondButton:f,sliderDisabled:p,minValue:g,maxValue:m,runwayStyle:h,barStyle:b,resetSize:y,emitChange:k,onSliderWrapperPrevent:C,onSliderClick:w,onSliderDown:S,onSliderMarkerDown:E,setFirstValue:v,setSecondValue:N}=XG(r,i,a),{stops:P,getStopStyle:T}=QG(r,i,g,m),{inputId:V,isLabeledByFormItem:x}=Dn(r,{formItemContext:c}),O=zt(),D=e.computed(()=>r.inputSize||O.value),L=e.computed(()=>r.ariaLabel||s("el.slider.defaultLabel",{min:r.min,max:r.max})),H=e.computed(()=>r.range?r.rangeStartLabel||s("el.slider.defaultRangeStartLabel"):L.value),$=e.computed(()=>r.formatValueText?r.formatValueText(W.value):`${W.value}`),B=e.computed(()=>r.rangeEndLabel||s("el.slider.defaultRangeEndLabel")),M=e.computed(()=>r.formatValueText?r.formatValueText(j.value):`${j.value}`),I=e.computed(()=>[l.b(),l.m(O.value),l.is("vertical",r.vertical),{[l.m("with-input")]:r.showInput}]),z=qG(r);eq(r,i,g,m,a,c);const F=e.computed(()=>{const Q=[r.min,r.max,r.step].map(J=>{const Y=`${J}`.split(".")[1];return Y?Y.length:0});return Math.max.apply(null,Q)}),{sliderWrapper:A}=GG(r,i,y),{firstValue:W,secondValue:j,sliderSize:G}=e.toRefs(i),X=Q=>{i.dragging=Q};return nt(A,"touchstart",C,{passive:!1}),nt(A,"touchmove",C,{passive:!1}),e.provide(bh,{...e.toRefs(r),sliderSize:G,disabled:p,precision:F,emitChange:k,resetSize:y,updateDragging:X}),n({onSliderClick:w}),(Q,J)=>{var Y,_;return e.openBlock(),e.createElementBlock("div",{id:Q.range?e.unref(V):void 0,ref_key:"sliderWrapper",ref:A,class:e.normalizeClass(I.value),role:Q.range?"group":void 0,"aria-label":Q.range&&!e.unref(x)?L.value:void 0,"aria-labelledby":Q.range&&e.unref(x)?(Y=e.unref(c))==null?void 0:Y.labelId:void 0},[e.createElementVNode("div",{ref_key:"slider",ref:d,class:e.normalizeClass([e.unref(l).e("runway"),{"show-input":Q.showInput&&!Q.range},e.unref(l).is("disabled",e.unref(p))]),style:e.normalizeStyle(e.unref(h)),onMousedown:J[0]||(J[0]=(...q)=>e.unref(S)&&e.unref(S)(...q)),onTouchstartPassive:J[1]||(J[1]=(...q)=>e.unref(S)&&e.unref(S)(...q))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(l).e("bar")),style:e.normalizeStyle(e.unref(b))},null,6),e.createVNode(AN,{id:Q.range?void 0:e.unref(V),ref_key:"firstButton",ref:u,"model-value":e.unref(W),vertical:Q.vertical,"tooltip-class":Q.tooltipClass,placement:Q.placement,role:"slider","aria-label":Q.range||!e.unref(x)?H.value:void 0,"aria-labelledby":!Q.range&&e.unref(x)?(_=e.unref(c))==null?void 0:_.labelId:void 0,"aria-valuemin":Q.min,"aria-valuemax":Q.range?e.unref(j):Q.max,"aria-valuenow":e.unref(W),"aria-valuetext":$.value,"aria-orientation":Q.vertical?"vertical":"horizontal","aria-disabled":e.unref(p),"onUpdate:modelValue":e.unref(v)},null,8,["id","model-value","vertical","tooltip-class","placement","aria-label","aria-labelledby","aria-valuemin","aria-valuemax","aria-valuenow","aria-valuetext","aria-orientation","aria-disabled","onUpdate:modelValue"]),Q.range?(e.openBlock(),e.createBlock(AN,{key:0,ref_key:"secondButton",ref:f,"model-value":e.unref(j),vertical:Q.vertical,"tooltip-class":Q.tooltipClass,placement:Q.placement,role:"slider","aria-label":B.value,"aria-valuemin":e.unref(W),"aria-valuemax":Q.max,"aria-valuenow":e.unref(j),"aria-valuetext":M.value,"aria-orientation":Q.vertical?"vertical":"horizontal","aria-disabled":e.unref(p),"onUpdate:modelValue":e.unref(N)},null,8,["model-value","vertical","tooltip-class","placement","aria-label","aria-valuemin","aria-valuemax","aria-valuenow","aria-valuetext","aria-orientation","aria-disabled","onUpdate:modelValue"])):e.createCommentVNode("v-if",!0),Q.showStops?(e.openBlock(),e.createElementBlock("div",sq,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(P),(q,le)=>(e.openBlock(),e.createElementBlock("div",{key:le,class:e.normalizeClass(e.unref(l).e("stop")),style:e.normalizeStyle(e.unref(T)(q))},null,6))),128))])):e.createCommentVNode("v-if",!0),e.unref(z).length>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(z),(q,le)=>(e.openBlock(),e.createElementBlock("div",{key:le,style:e.normalizeStyle(e.unref(T)(q.position)),class:e.normalizeClass([e.unref(l).e("stop"),e.unref(l).e("marks-stop")])},null,6))),128))]),e.createElementVNode("div",{class:e.normalizeClass(e.unref(l).e("marks"))},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(z),(q,le)=>(e.openBlock(),e.createBlock(e.unref(aq),{key:le,mark:q.mark,style:e.normalizeStyle(e.unref(T)(q.position)),onMousedown:e.withModifiers(ue=>e.unref(E)(q.position),["stop"])},null,8,["mark","style","onMousedown"]))),128))],2)],64)):e.createCommentVNode("v-if",!0)],38),Q.showInput&&!Q.range?(e.openBlock(),e.createBlock(e.unref(Yp),{key:0,ref:"input","model-value":e.unref(W),class:e.normalizeClass(e.unref(l).e("input")),step:Q.step,disabled:e.unref(p),controls:Q.showInputControls,min:Q.min,max:Q.max,precision:F.value,size:D.value,"onUpdate:modelValue":e.unref(v),onChange:e.unref(k)},null,8,["model-value","class","step","disabled","controls","min","max","precision","size","onUpdate:modelValue","onChange"])):e.createCommentVNode("v-if",!0)],10,lq)}}});const zN=Re(iq),DN=oe({prefixCls:{type:String}}),LN=e.defineComponent({name:"ElSpaceItem",props:DN,setup(t,{slots:n}){const o=ee("space"),r=e.computed(()=>`${t.prefixCls||o.b()}__item`);return()=>e.h("div",{class:r.value},e.renderSlot(n,"default"))}}),_N={small:8,default:12,large:16};function FN(t){const n=ee("space"),o=e.computed(()=>[n.b(),n.m(t.direction),t.class]),r=e.ref(0),a=e.ref(0),l=e.computed(()=>{const i=t.wrap||t.fill?{flexWrap:"wrap"}:{},c={alignItems:t.alignment},d={rowGap:`${a.value}px`,columnGap:`${r.value}px`};return[i,c,d,t.style]}),s=e.computed(()=>t.fill?{flexGrow:1,minWidth:`${t.fillRatio}%`}:{});return e.watchEffect(()=>{const{size:i="small",wrap:c,direction:d,fill:u}=t;if(ie(i)){const[f=0,p=0]=i;r.value=f,a.value=p}else{let f;pe(i)?f=i:f=_N[i||"small"]||_N.small,(c||u)&&d==="horizontal"?r.value=a.value=f:d==="horizontal"?(r.value=f,a.value=0):(a.value=f,r.value=0)}}),{classes:o,containerStyle:l,itemStyle:s}}const HN=oe({direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},class:{type:K([String,Object,Array]),default:""},style:{type:K([String,Array,Object]),default:""},alignment:{type:K(String),default:"center"},prefixCls:{type:String},spacer:{type:K([Object,String,Number,Array]),default:null,validator:t=>e.isVNode(t)||pe(t)||ve(t)},wrap:Boolean,fill:Boolean,fillRatio:{type:Number,default:100},size:{type:[String,Array,Number],values:Jn,validator:t=>pe(t)||ie(t)&&t.length===2&&t.every(pe)}}),cq=e.defineComponent({name:"ElSpace",props:HN,setup(t,{slots:n}){const{classes:o,containerStyle:r,itemStyle:a}=FN(t);function l(s,i="",c=[]){const{prefixCls:d}=t;return s.forEach((u,f)=>{wf(u)?ie(u.children)&&u.children.forEach((p,g)=>{wf(p)&&ie(p.children)?l(p.children,`${i+g}-`,c):e.isVNode(p)&&(p==null?void 0:p.type)===e.Comment?c.push(p):c.push(e.createVNode(LN,{style:a.value,prefixCls:d,key:`nested-${i+g}`},{default:()=>[p]},io.PROPS|io.STYLE,["style","prefixCls"]))}):_F(u)&&c.push(e.createVNode(LN,{style:a.value,prefixCls:d,key:`LoopKey${i+f}`},{default:()=>[u]},io.PROPS|io.STYLE,["style","prefixCls"]))}),c}return()=>{var s;const{spacer:i,direction:c}=t,d=e.renderSlot(n,"default",{key:0},()=>[]);if(((s=d.children)!=null?s:[]).length===0)return null;if(ie(d.children)){let u=l(d.children);if(i){const f=u.length-1;u=u.reduce((p,g,m)=>{const h=[...p,g];return m!==f&&h.push(e.createVNode("span",{style:[a.value,c==="vertical"?"width: 100%":null],key:m},[e.isVNode(i)?i:e.createTextVNode(i,io.TEXT)],io.STYLE)),h},[])}return e.createVNode("div",{class:o.value,style:r.value},u,io.STYLE|io.CLASS)}return d.children}}}),KN=Re(cq),WN=oe({decimalSeparator:{type:String,default:"."},groupSeparator:{type:String,default:","},precision:{type:Number,default:0},formatter:Function,value:{type:K([Number,Object]),default:0},prefix:String,suffix:String,title:String,valueStyle:{type:K([String,Object,Array])}});var dq=e.defineComponent({name:"ElStatistic",__name:"statistic",props:WN,setup(t,{expose:n}){const o=t,r=ee("statistic"),a=e.computed(()=>{const{value:l,formatter:s,precision:i,decimalSeparator:c,groupSeparator:d}=o;if(Ae(s))return s(l);if(!pe(l)||Number.isNaN(l))return l;let[u,f=""]=String(l).split(".");return f=f.padEnd(i,"0").slice(0,i>0?i:0),u=u.replace(/\B(?=(\d{3})+(?!\d))/g,d),[u,f].join(f?c:"")});return n({displayValue:a}),(l,s)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(r).b())},[l.$slots.title||t.title?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(r).e("head"))},[e.renderSlot(l.$slots,"title",{},()=>[e.createTextVNode(e.toDisplayString(t.title),1)])],2)):e.createCommentVNode("v-if",!0),e.createElementVNode("div",{class:e.normalizeClass(e.unref(r).e("content"))},[l.$slots.prefix||t.prefix?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(r).e("prefix"))},[e.renderSlot(l.$slots,"prefix",{},()=>[e.createElementVNode("span",null,e.toDisplayString(t.prefix),1)])],2)):e.createCommentVNode("v-if",!0),e.createElementVNode("span",{class:e.normalizeClass(e.unref(r).e("number")),style:e.normalizeStyle(t.valueStyle)},e.toDisplayString(a.value),7),l.$slots.suffix||t.suffix?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(r).e("suffix"))},[e.renderSlot(l.$slots,"suffix",{},()=>[e.createElementVNode("span",null,e.toDisplayString(t.suffix),1)])],2)):e.createCommentVNode("v-if",!0)],2)],2))}});const Ch=Re(dq),jN=oe({format:{type:String,default:"HH:mm:ss"},prefix:String,suffix:String,title:String,value:{type:K([Number,Object]),default:0},valueStyle:{type:K([String,Object,Array])}}),UN={finish:()=>!0,[_e]:t=>pe(t)},uq=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]],YN=t=>pe(t)?new Date(t).getTime():t.valueOf(),GN=(t,n)=>{let o=t;const r=/\[([^\]]*)]/g;return uq.reduce((l,[s,i])=>{const c=new RegExp(`${s}+(?![^\\[\\]]*\\])`,"g");if(c.test(l)){const d=Math.floor(o/i);return o-=d*i,l.replace(c,u=>String(d).padStart(u.length,"0"))}return l},n).replace(r,"$1")};var fq=e.defineComponent({name:"ElCountdown",__name:"countdown",props:jN,emits:UN,setup(t,{expose:n,emit:o}){const r=t,a=o;let l;const s=e.ref(0),i=e.computed(()=>GN(s.value,r.format)),c=f=>GN(f,r.format),d=()=>{l&&(pr(l),l=void 0)},u=()=>{const f=YN(r.value),p=()=>{let g=f-Date.now();a(_e,g),g<=0?(g=0,d(),a("finish")):l=Ho(p),s.value=g};l=Ho(p)};return e.onMounted(()=>{s.value=YN(r.value)-Date.now(),e.watch(()=>[r.value,r.format],()=>{d(),u()},{immediate:!0})}),e.onBeforeUnmount(()=>{d()}),n({displayValue:i}),(f,p)=>(e.openBlock(),e.createBlock(e.unref(Ch),{value:s.value,title:t.title,prefix:t.prefix,suffix:t.suffix,"value-style":t.valueStyle,formatter:c},e.createSlots({_:2},[e.renderList(f.$slots,(g,m)=>({name:m,fn:e.withCtx(()=>[e.renderSlot(f.$slots,m)])}))]),1032,["value","title","prefix","suffix","value-style"]))}});const qN=Re(fq),XN=oe({space:{type:[Number,String],default:""},active:{type:Number,default:0},direction:{type:String,default:"horizontal",values:["horizontal","vertical"]},alignCenter:{type:Boolean},simple:{type:Boolean},finishStatus:{type:String,values:["wait","process","finish","error","success"],default:"finish"},processStatus:{type:String,values:["wait","process","finish","error","success"],default:"process"}}),ZN={[_e]:(t,n)=>[t,n].every(pe)},wh="ElSteps";var mq=e.defineComponent({name:"ElSteps",__name:"steps",props:XN,emits:ZN,setup(t,{emit:n}){const o=t,r=n,a=ee("steps"),{children:l,addChild:s,removeChild:i,ChildrenSorter:c}=$s(e.getCurrentInstance(),"ElStep");return e.watch(l,()=>{l.value.forEach((d,u)=>{d.setIndex(u)})}),e.provide(wh,{props:o,steps:l,addStep:s,removeStep:i}),e.watch(()=>o.active,(d,u)=>{r(_e,d,u)}),(d,u)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass([e.unref(a).b(),e.unref(a).m(t.simple?"simple":t.direction)])},[e.renderSlot(d.$slots,"default"),e.createVNode(e.unref(c))],2))}});const JN=oe({title:{type:String,default:""},icon:{type:dt},description:{type:String,default:""},status:{type:String,values:["","wait","process","finish","error","success"],default:""}});var QN=e.defineComponent({name:"ElStep",__name:"item",props:JN,setup(t){const n=t,o=ee("step"),r=e.ref(-1),a=e.ref({}),l=e.ref(""),s=e.inject(wh),i=e.getCurrentInstance();let c=0,d=0;e.onMounted(()=>{e.watch([()=>s.props.active,()=>s.props.processStatus,()=>s.props.finishStatus],([N],[P])=>{d=P||0,c=N-d,E(N)},{immediate:!0})});const u=e.computed(()=>n.status||l.value),f=e.computed(()=>{const N=s.steps.value[r.value-1];return N?N.internalStatus.value:"wait"}),p=e.computed(()=>s.props.alignCenter),g=e.computed(()=>s.props.direction==="vertical"),m=e.computed(()=>s.props.simple),h=e.computed(()=>s.steps.value.length),b=e.computed(()=>{var N;return((N=s.steps.value[h.value-1])==null?void 0:N.uid)===i.uid}),y=e.computed(()=>m.value?"":s.props.space),k=e.computed(()=>[o.b(),o.is(m.value?"simple":s.props.direction),o.is("flex",b.value&&!y.value&&!p.value),o.is("center",p.value&&!g.value&&!m.value)]),C=e.computed(()=>{const N={flexBasis:pe(y.value)?`${y.value}px`:y.value?y.value:`${100/(h.value-(p.value?0:1))}%`};return g.value||b.value&&(N.maxWidth=`${100/h.value}%`),N}),w=N=>{r.value=N},S=N=>{const P=N==="wait",V={transitionDelay:`${Math.abs(c)===1?0:c>0?(r.value+1-d)*150:-(r.value+1-s.props.active)*150}ms`},x=N===s.props.processStatus||P?0:100;V.borderWidth=x&&!m.value?"1px":0,V[s.props.direction==="vertical"?"height":"width"]=`${x}%`,a.value=V},E=N=>{N>r.value?l.value=s.props.finishStatus:N===r.value&&f.value!=="error"?l.value=s.props.processStatus:l.value="wait";const P=s.steps.value[r.value-1];P&&P.calcProgress(l.value)},v={uid:i.uid,getVnode:()=>i.vnode,currentStatus:u,internalStatus:l,setIndex:w,calcProgress:S};return s.addStep(v),e.onBeforeUnmount(()=>{s.removeStep(v)}),(N,P)=>(e.openBlock(),e.createElementBlock("div",{style:e.normalizeStyle(C.value),class:e.normalizeClass(k.value)},[e.createCommentVNode(" icon & line "),e.createElementVNode("div",{class:e.normalizeClass([e.unref(o).e("head"),e.unref(o).is(u.value)])},[m.value?e.createCommentVNode("v-if",!0):(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(o).e("line"))},[e.createElementVNode("i",{class:e.normalizeClass(e.unref(o).e("line-inner")),style:e.normalizeStyle(a.value)},null,6)],2)),e.createElementVNode("div",{class:e.normalizeClass([e.unref(o).e("icon"),e.unref(o).is(t.icon||N.$slots.icon?"icon":"text")])},[e.renderSlot(N.$slots,"icon",{},()=>[t.icon?(e.openBlock(),e.createBlock(e.unref(ce),{key:0,class:e.normalizeClass(e.unref(o).e("icon-inner"))},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.icon)))]),_:1},8,["class"])):u.value==="success"?(e.openBlock(),e.createBlock(e.unref(ce),{key:1,class:e.normalizeClass([e.unref(o).e("icon-inner"),e.unref(o).is("status")])},{default:e.withCtx(()=>[e.createVNode(e.unref(ms))]),_:1},8,["class"])):u.value==="error"?(e.openBlock(),e.createBlock(e.unref(ce),{key:2,class:e.normalizeClass([e.unref(o).e("icon-inner"),e.unref(o).is("status")])},{default:e.withCtx(()=>[e.createVNode(e.unref(so))]),_:1},8,["class"])):m.value?e.createCommentVNode("v-if",!0):(e.openBlock(),e.createElementBlock("div",{key:3,class:e.normalizeClass(e.unref(o).e("icon-inner"))},e.toDisplayString(r.value+1),3))])],2)],2),e.createCommentVNode(" title & description "),e.createElementVNode("div",{class:e.normalizeClass(e.unref(o).e("main"))},[e.createElementVNode("div",{class:e.normalizeClass([e.unref(o).e("title"),e.unref(o).is(u.value)])},[e.renderSlot(N.$slots,"title",{},()=>[e.createTextVNode(e.toDisplayString(t.title),1)])],2),m.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(o).e("arrow"))},null,2)):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass([e.unref(o).e("description"),e.unref(o).is(u.value)])},[e.renderSlot(N.$slots,"description",{},()=>[e.createTextVNode(e.toDisplayString(t.description),1)])],2))],2)],6))}});const e2=Re(mq,{Step:QN}),t2=Bt(QN),n2=oe({modelValue:{type:[Boolean,String,Number],default:!1},disabled:{type:Boolean,default:void 0},loading:Boolean,size:{type:String,validator:RC},width:{type:[String,Number],default:""},inlinePrompt:Boolean,inactiveActionIcon:{type:dt},activeActionIcon:{type:dt},activeIcon:{type:dt},inactiveIcon:{type:dt},activeText:{type:String,default:""},inactiveText:{type:String,default:""},activeValue:{type:[Boolean,String,Number],default:!0},inactiveValue:{type:[Boolean,String,Number],default:!1},name:{type:String,default:""},validateEvent:{type:Boolean,default:!0},beforeChange:{type:K(Function)},id:String,tabindex:{type:[String,Number]},...cn(["ariaLabel"])}),o2={[Ne]:t=>ct(t)||ve(t)||pe(t),[_e]:t=>ct(t)||ve(t)||pe(t),[Dt]:t=>ct(t)||ve(t)||pe(t)},pq=["id","aria-checked","aria-disabled","aria-label","name","true-value","false-value","disabled","tabindex"],hq=["aria-hidden"],gq={key:1},bq={key:1},yq=["aria-hidden"],r2="ElSwitch";var Cq=e.defineComponent({name:r2,__name:"switch",props:n2,emits:o2,setup(t,{expose:n,emit:o}){const r=t,a=o,{formItem:l}=Zt(),s=zt(),i=ee("switch"),{inputId:c}=Dn(r,{formItemContext:l}),d=kt(e.computed(()=>{if(r.loading)return!0})),u=e.ref(r.modelValue!==!1),f=e.shallowRef(),p=e.computed(()=>[i.b(),i.m(s.value),i.is("disabled",d.value),i.is("checked",y.value)]),g=e.computed(()=>[i.e("label"),i.em("label","left"),i.is("active",!y.value)]),m=e.computed(()=>[i.e("label"),i.em("label","right"),i.is("active",y.value)]),h=e.computed(()=>({width:$t(r.width)}));e.watch(()=>r.modelValue,()=>{u.value=!0});const b=e.computed(()=>u.value?r.modelValue:!1),y=e.computed(()=>b.value===r.activeValue);[r.activeValue,r.inactiveValue].includes(b.value)||(a(Ne,r.inactiveValue),a(_e,r.inactiveValue),a(Dt,r.inactiveValue)),e.watch(y,S=>{var E;f.value.checked=S,r.validateEvent&&((E=l==null?void 0:l.validate)==null||E.call(l,"change").catch(v=>void 0))});const k=()=>{const S=y.value?r.inactiveValue:r.activeValue;a(Ne,S),a(_e,S),a(Dt,S),e.nextTick(()=>{f.value.checked=y.value})},C=()=>{if(d.value)return;const{beforeChange:S}=r;if(!S){k();return}const E=S();[Ul(E),ct(E)].includes(!0)||Ft(r2,"beforeChange must return type `Promise` or `boolean`"),Ul(E)?E.then(N=>{N&&k()}).catch(N=>{}):E&&k()},w=()=>{var S,E;(E=(S=f.value)==null?void 0:S.focus)==null||E.call(S)};return e.onMounted(()=>{f.value.checked=y.value}),n({focus:w,checked:y}),(S,E)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(p.value),onClick:e.withModifiers(C,["prevent"])},[e.createElementVNode("input",{id:e.unref(c),ref_key:"input",ref:f,class:e.normalizeClass(e.unref(i).e("input")),type:"checkbox",role:"switch","aria-checked":y.value,"aria-disabled":e.unref(d),"aria-label":t.ariaLabel,name:t.name,"true-value":t.activeValue,"false-value":t.inactiveValue,disabled:e.unref(d),tabindex:t.tabindex,onChange:k,onKeydown:e.withKeys(C,["enter"])},null,42,pq),!t.inlinePrompt&&(t.inactiveIcon||t.inactiveText||S.$slots.inactive)?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(g.value)},[e.renderSlot(S.$slots,"inactive",{},()=>[t.inactiveIcon?(e.openBlock(),e.createBlock(e.unref(ce),{key:0},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.inactiveIcon)))]),_:1})):e.createCommentVNode("v-if",!0),!t.inactiveIcon&&t.inactiveText?(e.openBlock(),e.createElementBlock("span",{key:1,"aria-hidden":y.value},e.toDisplayString(t.inactiveText),9,hq)):e.createCommentVNode("v-if",!0)])],2)):e.createCommentVNode("v-if",!0),e.createElementVNode("span",{class:e.normalizeClass(e.unref(i).e("core")),style:e.normalizeStyle(h.value)},[t.inlinePrompt?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(i).e("inner"))},[y.value?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(i).e("inner-wrapper"))},[e.renderSlot(S.$slots,"active",{},()=>[t.activeIcon?(e.openBlock(),e.createBlock(e.unref(ce),{key:0},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.activeIcon)))]),_:1})):e.createCommentVNode("v-if",!0),!t.activeIcon&&t.activeText?(e.openBlock(),e.createElementBlock("span",bq,e.toDisplayString(t.activeText),1)):e.createCommentVNode("v-if",!0)])],2)):(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(i).e("inner-wrapper"))},[e.renderSlot(S.$slots,"inactive",{},()=>[t.inactiveIcon?(e.openBlock(),e.createBlock(e.unref(ce),{key:0},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.inactiveIcon)))]),_:1})):e.createCommentVNode("v-if",!0),!t.inactiveIcon&&t.inactiveText?(e.openBlock(),e.createElementBlock("span",gq,e.toDisplayString(t.inactiveText),1)):e.createCommentVNode("v-if",!0)])],2))],2)):e.createCommentVNode("v-if",!0),e.createElementVNode("div",{class:e.normalizeClass(e.unref(i).e("action"))},[t.loading?(e.openBlock(),e.createBlock(e.unref(ce),{key:0,class:e.normalizeClass(e.unref(i).is("loading"))},{default:e.withCtx(()=>[e.createVNode(e.unref(Uo))]),_:1},8,["class"])):y.value?e.renderSlot(S.$slots,"active-action",{key:1},()=>[t.activeActionIcon?(e.openBlock(),e.createBlock(e.unref(ce),{key:0},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.activeActionIcon)))]),_:1})):e.createCommentVNode("v-if",!0)]):y.value?e.createCommentVNode("v-if",!0):e.renderSlot(S.$slots,"inactive-action",{key:2},()=>[t.inactiveActionIcon?(e.openBlock(),e.createBlock(e.unref(ce),{key:0},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.inactiveActionIcon)))]),_:1})):e.createCommentVNode("v-if",!0)])],2)],6),!t.inlinePrompt&&(t.activeIcon||t.activeText||S.$slots.active)?(e.openBlock(),e.createElementBlock("span",{key:1,class:e.normalizeClass(m.value)},[e.renderSlot(S.$slots,"active",{},()=>[t.activeIcon?(e.openBlock(),e.createBlock(e.unref(ce),{key:0},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.activeIcon)))]),_:1})):e.createCommentVNode("v-if",!0),!t.activeIcon&&t.activeText?(e.openBlock(),e.createElementBlock("span",{key:1,"aria-hidden":!y.value},e.toDisplayString(t.activeText),9,yq)):e.createCommentVNode("v-if",!0)])],2)):e.createCommentVNode("v-if",!0)],2))}});const a2=Re(Cq),kh=function(t){var n;return(n=t.target)==null?void 0:n.closest("td")},wq=function(t,n,o,r,a){if(!n&&!r&&(!a||ie(a)&&!a.length))return t;ve(o)?o=o==="descending"?-1:1:o=o&&o<0?-1:1;const l=r?null:function(i,c){return a?_u(Xt(a),d=>ve(d)?Mt(i,d):d(i,c,t)):(n!=="$key"&&tt(i)&&"$value"in i&&(i=i.$value),[tt(i)?n?Mt(i,n):null:i])},s=function(i,c){var d,u,f,p,g,m;if(r)return r(i.value,c.value);for(let h=0,b=(u=(d=i.key)==null?void 0:d.length)!=null?u:0;h((m=c.key)==null?void 0:m[h]))return 1}return 0};return t.map((i,c)=>({value:i,index:c,key:l?l(i,c):null})).sort((i,c)=>{let d=s(i,c);return d||(d=i.index-c.index),d*+o}).map(i=>i.value)},l2=function(t,n){let o=null;return t.columns.forEach(r=>{r.id===n&&(o=r)}),o},kq=function(t,n){let o=null;for(let r=0;r{if(!t)throw new Error("Row is required when get row identity");if(ve(n)){if(!n.includes("."))return`${t[n]}`;const o=n.split(".");let r=t;for(const a of o)r=r[a];return`${r}`}else if(Ae(n))return n.call(null,t);return""},Vl=function(t,n,o=!1,r="children"){const a=t||[],l={};return a.forEach((s,i)=>{if(l[mn(s,n)]={row:s,index:i},o){const c=s[r];ie(c)&&Object.assign(l,Vl(c,n,!0,r))}}),l};function Sq(t,n){const o={};let r;for(r in t)o[r]=t[r];for(r in n)if(Qt(n,r)){const a=n[r];Xe(a)||(o[r]=a)}return o}function Sh(t){return t===""||Xe(t)||(t=Number.parseInt(t,10),Number.isNaN(t)&&(t="")),t}function i2(t){return t===""||Xe(t)||(t=Sh(t),Number.isNaN(t)&&(t=80)),t}function Eq(t){return pe(t)?t:ve(t)?/^\d+(?:px)?$/.test(t)?Number.parseInt(t,10):t:null}function vq(...t){return t.length===0?n=>n:t.length===1?t[0]:t.reduce((n,o)=>(...r)=>n(o(...r)))}function yd(t,n,o,r,a,l,s){let i=l!=null?l:0,c=!1;const u=(()=>{if(!s)return t.indexOf(n);const h=mn(n,s);return t.findIndex(b=>mn(b,s)===h)})(),f=u!==-1,p=a==null?void 0:a.call(null,n,i),g=h=>{h==="add"?t.push(n):t.splice(u,1),c=!0},m=h=>{let b=0;const y=(r==null?void 0:r.children)&&h[r.children];return y&&ie(y)&&(b+=y.length,y.forEach(k=>{b+=m(k)})),b};return(!a||p)&&(ct(o)?o&&!f?g("add"):!o&&f&&g("remove"):g(f?"remove":"add")),!(r!=null&&r.checkStrictly)&&(r!=null&&r.children)&&ie(n[r.children])&&n[r.children].forEach(h=>{const b=yd(t,h,o!=null?o:!f,r,a,i+1,s);i+=m(h)+1,b&&(c=b)}),c}function Nq(t,n,o="children",r="hasChildren",a=!1){const l=i=>!(ie(i)&&i.length);function s(i,c,d){n(i,c,d),c.forEach(u=>{if(u[r]&&a){n(u,null,d+1);return}const f=u[o];l(f)||s(u,f,d+1)})}t.forEach(i=>{if(i[r]&&a){n(i,null,0);return}const c=i[o];l(c)||s(i,c,0)})}const Bq=(t,n,o,r)=>{const a={strategy:"fixed",...t.popperOptions},l=Ae(r==null?void 0:r.tooltipFormatter)?r.tooltipFormatter({row:o,column:r,cellValue:Ja(o,r.property).value}):void 0;return e.isVNode(l)?{slotContent:l,content:null,...t,popperOptions:a}:{slotContent:null,content:l!=null?l:n,...t,popperOptions:a}};let kn=null;function Tq(t,n,o,r,a,l){var s;const i=Bq(t,n,o,r),c={...i,slotContent:void 0};if((kn==null?void 0:kn.trigger)===a){const m=(s=kn.vm)==null?void 0:s.component;Gu(m==null?void 0:m.props,c),m&&i.slotContent&&(m.slots.content=()=>[i.slotContent]);return}kn==null||kn();const d=l==null?void 0:l.refs.tableWrapper,u=d==null?void 0:d.dataset.prefix,f=e.createVNode(Jt,{virtualTriggering:!0,virtualRef:a,appendTo:d,placement:"top",transition:"none",offset:0,hideAfter:0,...c},i.slotContent?{content:()=>i.slotContent}:void 0);f.appContext={...l.appContext,...l};const p=document.createElement("div");e.render(f,p),f.component.exposed.onOpen();const g=d==null?void 0:d.querySelector(`.${u}-scrollbar__wrap`);kn=()=>{var m,h;(h=(m=f.component)==null?void 0:m.exposed)!=null&&h.onClose&&f.component.exposed.onClose(),e.render(null,p);const b=kn;g==null||g.removeEventListener("scroll",b),b.trigger=void 0,b.vm=void 0,kn=null},kn.trigger=a!=null?a:void 0,kn.vm=f,g==null||g.addEventListener("scroll",kn)}function c2(t){return t.children?_u(t.children,c2):[t]}function d2(t,n){return t+n.colSpan}const u2=(t,n,o,r)=>{let a=0,l=t;const s=o.states.columns.value;if(r){const c=c2(r[t]);a=s.slice(0,s.indexOf(c[0])).reduce(d2,0),l=a+c.reduce(d2,0)-1}else a=t;let i;switch(n){case"left":l=s.length-o.states.rightFixedLeafColumnsLength.value&&(i="right");break;default:l=s.length-o.states.rightFixedLeafColumnsLength.value&&(i="right")}return i?{direction:i,start:a,after:l}:{}},Eh=(t,n,o,r,a,l=0)=>{const s=[],{direction:i,start:c,after:d}=u2(n,o,r,a);if(i){const u=i==="left";s.push(`${t}-fixed-column--${i}`),u&&d+l===r.states.fixedLeafColumnsLength.value-1?s.push("is-last-column"):!u&&c-l===r.states.columns.value.length-r.states.rightFixedLeafColumnsLength.value&&s.push("is-first-column")}return s};function f2(t,n){return t+(ds(n.realWidth)||Number.isNaN(n.realWidth)?Number(n.width):n.realWidth)}const vh=(t,n,o,r)=>{const{direction:a,start:l=0,after:s=0}=u2(t,n,o,r);if(!a)return;const i={},c=a==="left",d=o.states.columns.value;return c?i.left=d.slice(0,l).reduce(f2,0):i.right=d.slice(s+1).reverse().reduce(f2,0),i},Pl=(t,n)=>{t&&(Number.isNaN(t[n])||(t[n]=`${t[n]}px`))};function m2(t){return t.some(n=>e.isVNode(n)?!(n.type===e.Comment||n.type===e.Fragment&&!m2(n.children)):!0)?t:null}function xq(t){const n=e.getCurrentInstance(),o=e.ref(!1),r=e.ref([]),a=(d,u)=>{var f;const p=n.store.states.rowExpandable.value;return(f=p==null?void 0:p(d,u))!=null?f:!0};return{updateExpandRows:()=>{const d=t.data.value||[],u=t.rowKey.value;if(o.value)r.value=n.store.states.rowExpandable.value?d.filter(a):d.slice();else if(u){const f=Vl(r.value,u);r.value=d.filter((p,g)=>{const m=mn(p,u);return!!f[m]&&a(p,g)})}else r.value=[]},toggleRowExpansion:(d,u)=>{const p=(t.data.value||[]).indexOf(d);if(p>-1&&!a(d,p))return;yd(r.value,d,u,void 0,void 0,void 0,t.rowKey.value)&&n.emit("expand-change",d,r.value.slice())},setExpandRowKeys:d=>{n.store.assertRowKey();const u=t.data.value||[],f=t.rowKey.value,p=Vl(u,f);r.value=d.reduce((g,m)=>{const h=p[m];return h&&a(h.row,h.index)&&g.push(h.row),g},[])},isRowExpanded:d=>{const u=t.rowKey.value;return u?!!Vl(r.value,u)[mn(d,u)]:r.value.includes(d)},states:{expandRows:r,defaultExpandAll:o}}}function $q(t){const n=e.getCurrentInstance(),o=e.ref(null),r=e.ref(null),a=d=>{n.store.assertRowKey(),o.value=d,s(d)},l=()=>{o.value=null},s=d=>{var u;const{data:f,rowKey:p}=t,g=r.value;let m=null;p.value&&(m=(u=(e.unref(f)||[]).find(h=>mn(h,p.value)===d))!=null?u:null),r.value=m!=null?m:null,n.emit("current-change",r.value,g)};return{setCurrentRowKey:a,restoreCurrentRowKey:l,setCurrentRowByKey:s,updateCurrentRow:d=>{const u=r.value;if(d&&d!==u){r.value=d,n.emit("current-change",r.value,u);return}!d&&u&&(r.value=null,n.emit("current-change",null,u))},updateCurrentRowData:()=>{const d=t.rowKey.value,u=t.data.value||[],f=r.value;if(f&&!u.includes(f))if(d){const p=mn(f,d);s(p)}else r.value=null,n.emit("current-change",null,f);else o.value&&(s(o.value),l())},states:{_currentRowKey:o,currentRow:r}}}function Vq(t){const n=e.ref([]),o=e.ref({}),r=e.ref(16),a=e.ref(!1),l=e.ref({}),s=e.ref("hasChildren"),i=e.ref("children"),c=e.ref(!1),d=e.getCurrentInstance(),u=e.computed(()=>{if(!t.rowKey.value)return{};const w=t.data.value||[];return p(w)}),f=e.computed(()=>{const w=t.rowKey.value,S=Object.keys(l.value),E={};return S.length&&S.forEach(v=>{if(l.value[v].length){const N={children:[]};l.value[v].forEach(P=>{const T=mn(P,w);N.children.push(T),P[s.value]&&!E[T]&&(E[T]={children:[]})}),E[v]=N}}),E}),p=w=>{const S=t.rowKey.value,E={};return Nq(w,(v,N,P)=>{const T=mn(v,S);ie(N)?E[T]={children:N.map(V=>mn(V,S)),level:P}:a.value&&(E[T]={children:[],lazy:!0,level:P})},i.value,s.value,a.value),E},g=(w=!1,S)=>{var E,v;S||(S=(E=d.store)==null?void 0:E.states.defaultExpandAll.value);const N=u.value,P=f.value,T=Object.keys(N),V={};if(T.length){const x=e.unref(o),O=[],D=(H,$)=>{if(w)return n.value?S||n.value.includes($):!!(S||H!=null&&H.expanded);{const B=S||n.value&&n.value.includes($);return!!(H!=null&&H.expanded||B)}};T.forEach(H=>{const $=x[H],B={...N[H]};if(B.expanded=D($,H),B.lazy){const{loaded:M=!1,loading:I=!1}=$||{};B.loaded=!!M,B.loading=!!I,O.push(H)}V[H]=B});const L=Object.keys(P);a.value&&L.length&&O.length&&L.forEach(H=>{var $;const B=x[H],M=P[H].children;if(O.includes(H)){if((($=V[H].children)==null?void 0:$.length)!==0)throw new Error("[ElTable]children must be an empty array.");V[H].children=M}else{const{loaded:I=!1,loading:z=!1}=B||{};V[H]={lazy:!0,loaded:!!I,loading:!!z,expanded:D(B,H),children:M,level:void 0}}})}o.value=V,(v=d.store)==null||v.updateTableScrollY()};e.watch(()=>n.value,()=>{g(!0)}),e.watch(()=>u.value,()=>{g()}),e.watch(()=>f.value,()=>{g()});const m=w=>{n.value=w,g()},h=w=>a.value&&w&&"loaded"in w&&!w.loaded,b=(w,S)=>{d.store.assertRowKey();const E=t.rowKey.value,v=mn(w,E),N=v&&o.value[v];if(v&&N&&"expanded"in N){const P=N.expanded;S=Xe(S)?!N.expanded:S,o.value[v].expanded=S,P!==S&&d.emit("expand-change",w,S),S&&h(N)&&k(w,v,N),d.store.updateTableScrollY()}},y=w=>{d.store.assertRowKey();const S=t.rowKey.value,E=mn(w,S),v=o.value[E];h(v)?k(w,E,v):b(w,void 0)},k=(w,S,E)=>{const{load:v}=d.props;v&&!o.value[S].loaded&&(o.value[S].loading=!0,v(w,E,N=>{if(!ie(N))throw new TypeError("[ElTable] data must be an array");o.value[S].loading=!1,o.value[S].loaded=!0,o.value[S].expanded=!0,N.length&&(l.value[S]=N),d.emit("expand-change",w,!0)}))};return{loadData:k,loadOrToggle:y,toggleTreeExpansion:b,updateTreeExpandKeys:m,updateTreeData:g,updateKeyChildren:(w,S)=>{const{lazy:E,rowKey:v}=d.props;if(E){if(!v)throw new Error("[Table] rowKey is required in updateKeyChild");l.value[w]&&(l.value[w]=S)}},normalize:p,states:{expandRowKeys:n,treeData:o,indent:r,lazy:a,lazyTreeNodeMap:l,lazyColumnIdentifier:s,childrenColumnName:i,checkStrictly:c}}}const Pq=(t,n)=>{const o=n.sortingColumn;return!o||ve(o.sortable)?t:wq(t,n.sortProp,n.sortOrder,o.sortMethod,o.sortBy)},Cd=t=>{const n=[];return t.forEach(o=>{o.children&&o.children.length>0?n.push.apply(n,Cd(o.children)):n.push(o)}),n};function Rq(){var t;const n=e.getCurrentInstance(),{size:o}=e.toRefs((t=n.proxy)==null?void 0:t.$props),r=e.ref(null),a=e.ref([]),l=e.ref([]),s=e.ref(!1),i=e.ref([]),c=e.ref([]),d=e.ref([]),u=e.ref([]),f=e.ref([]),p=e.ref([]),g=e.ref([]),m=e.ref([]),h=[],b=e.ref(0),y=e.ref(0),k=e.ref(0),C=e.ref(!1),w=e.ref([]),S=e.ref(!1),E=e.ref(!1),v=e.ref(null),N=e.ref(null),P=e.ref({}),T=e.ref(null),V=e.ref(null),x=e.ref(null),O=e.ref(null),D=e.ref(null),L=e.computed(()=>r.value?Vl(w.value,r.value):void 0);e.watch(a,()=>{var Be;n.state&&(M(!1),n.props.tableLayout==="auto"&&((Be=n.refs.tableHeaderRef)==null||Be.updateFixedColumnStyle()))},{deep:!0});const H=()=>{if(!r.value)throw new Error("[ElTable] prop row-key is required")},$=Be=>{var ze;(ze=Be.children)==null||ze.forEach(Ye=>{Ye.fixed=Be.fixed,$(Ye)})},B=()=>{i.value.forEach(de=>{$(de)}),u.value=i.value.filter(de=>[!0,"left"].includes(de.fixed));const Be=i.value.find(de=>de.type==="selection");let ze;Be&&Be.fixed!=="right"&&!u.value.includes(Be)&&i.value.indexOf(Be)===0&&u.value.length&&(u.value.unshift(Be),ze=!0),f.value=i.value.filter(de=>de.fixed==="right");const Ye=i.value.filter(de=>(ze?de.type!=="selection":!0)&&!de.fixed);c.value=Array.from(u.value).concat(Ye).concat(f.value);const ne=Cd(Ye),me=Cd(u.value),Z=Cd(f.value);b.value=ne.length,y.value=me.length,k.value=Z.length,d.value=Array.from(me).concat(ne).concat(Z),s.value=u.value.length>0||f.value.length>0},M=(Be,ze=!1)=>{Be&&B(),ze?n.state.doLayout():n.state.debouncedUpdateLayout()},I=Be=>L.value?!!L.value[mn(Be,r.value)]:w.value.includes(Be),z=()=>{C.value=!1;const Be=w.value;w.value=[],Be.length&&n.emit("selection-change",[])},F=()=>{var Be,ze;let Ye;if(r.value){Ye=[];const ne=(ze=(Be=n==null?void 0:n.store)==null?void 0:Be.states)==null?void 0:ze.childrenColumnName.value,me=Vl(a.value,r.value,!0,ne);for(const Z in L.value)Qt(L.value,Z)&&!me[Z]&&Ye.push(L.value[Z].row)}else Ye=w.value.filter(ne=>!a.value.includes(ne));if(Ye.length){const ne=w.value.filter(me=>!Ye.includes(me));w.value=ne,n.emit("selection-change",ne.slice())}},A=()=>(w.value||[]).slice(),W=(Be,ze,Ye=!0,ne=!1)=>{var me,Z,de,De;const st={children:(Z=(me=n==null?void 0:n.store)==null?void 0:me.states)==null?void 0:Z.childrenColumnName.value,checkStrictly:(De=(de=n==null?void 0:n.store)==null?void 0:de.states)==null?void 0:De.checkStrictly.value};if(yd(w.value,Be,ze,st,ne?void 0:v.value,a.value.indexOf(Be),r.value)){const Vt=(w.value||[]).slice();Ye&&n.emit("select",Vt,Be),n.emit("selection-change",Vt)}},j=()=>{var Be,ze;const Ye=E.value?!C.value:!(C.value||w.value.length);C.value=Ye;let ne=!1,me=0;const Z=(ze=(Be=n==null?void 0:n.store)==null?void 0:Be.states)==null?void 0:ze.rowKey.value,{childrenColumnName:de}=n.store.states,De={children:de.value,checkStrictly:!1};a.value.forEach((st,Tt)=>{const Vt=Tt+me;yd(w.value,st,Ye,De,v.value,Vt,Z)&&(ne=!0),me+=X(mn(st,Z))}),ne&&n.emit("selection-change",w.value?w.value.slice():[]),n.emit("select-all",(w.value||[]).slice())},G=()=>{var Be;if(((Be=a.value)==null?void 0:Be.length)===0){C.value=!1;return}const{childrenColumnName:ze}=n.store.states;let Ye=0,ne=0;const me=de=>{var De;for(const st of de){const Tt=v.value&&v.value.call(null,st,Ye);if(I(st))ne++;else if(!v.value||Tt)return!1;if(Ye++,(De=st[ze.value])!=null&&De.length&&!me(st[ze.value]))return!1}return!0},Z=me(a.value||[]);C.value=ne===0?!1:Z},X=Be=>{var ze;if(!n||!n.store)return 0;const{treeData:Ye}=n.store.states;let ne=0;const me=(ze=Ye.value[Be])==null?void 0:ze.children;return me&&(ne+=me.length,me.forEach(Z=>{ne+=X(Z)})),ne},Q=(Be,ze)=>{const Ye={};return Xt(Be).forEach(ne=>{P.value[ne.id]=ze,Ye[ne.columnKey||ne.id]=ze}),Ye},J=(Be,ze,Ye)=>{V.value&&V.value!==Be&&(V.value.order=null),V.value=Be,x.value=ze,O.value=Ye},Y=()=>{let Be=e.unref(l);Object.keys(P.value).forEach(ze=>{const Ye=P.value[ze];if(!Ye||Ye.length===0)return;const ne=l2({columns:d.value},ze);ne&&ne.filterMethod&&(Be=Be.filter(me=>Ye.some(Z=>ne.filterMethod.call(null,Z,me,ne))))}),T.value=Be},_=()=>{var Be;a.value=Pq((Be=T.value)!=null?Be:[],{sortingColumn:V.value,sortProp:x.value,sortOrder:O.value})},q=(Be=void 0)=>{Be!=null&&Be.filter||Y(),_()},le=Be=>{const{tableHeaderRef:ze}=n.refs;if(!ze)return;const Ye=Object.assign({},ze.filterPanels),ne=Object.keys(Ye);if(ne.length)if(ve(Be)&&(Be=[Be]),ie(Be)){const me=Be.map(Z=>kq({columns:d.value},Z));ne.forEach(Z=>{const de=me.find(De=>De.id===Z);de&&(de.filteredValue=[])}),n.store.commit("filterChange",{column:me,values:[],silent:!0,multi:!0})}else ne.forEach(me=>{const Z=d.value.find(de=>de.id===me);Z&&(Z.filteredValue=[])}),P.value={},n.store.commit("filterChange",{column:{},values:[],silent:!0})},ue=()=>{V.value&&(J(null,null,null),n.store.commit("changeSortCondition",{silent:!0}))},{setExpandRowKeys:Ce,toggleRowExpansion:Ee,updateExpandRows:Ve,states:Ie,isRowExpanded:qe}=xq({data:a,rowKey:r}),{updateTreeExpandKeys:We,toggleTreeExpansion:be,updateTreeData:ye,updateKeyChildren:Te,loadOrToggle:Oe,states:Fe}=Vq({data:a,rowKey:r}),{updateCurrentRowData:Ue,updateCurrentRow:fe,setCurrentRowKey:we,states:Se}=$q({data:a,rowKey:r});return{assertRowKey:H,updateColumns:B,scheduleLayout:M,isSelected:I,clearSelection:z,cleanSelection:F,getSelectionRows:A,toggleRowSelection:W,_toggleAllSelection:j,toggleAllSelection:null,updateAllSelected:G,updateFilters:Q,updateCurrentRow:fe,updateSort:J,execFilter:Y,execSort:_,execQuery:q,clearFilter:le,clearSort:ue,toggleRowExpansion:Ee,setExpandRowKeysAdapter:Be=>{Ce(Be),We(Be)},setCurrentRowKey:we,toggleRowExpansionAdapter:(Be,ze)=>{d.value.some(({type:ne})=>ne==="expand")?Ee(Be,ze):be(Be,ze)},isRowExpanded:qe,updateExpandRows:Ve,updateCurrentRowData:Ue,loadOrToggle:Oe,updateTreeData:ye,updateKeyChildren:Te,states:{tableSize:o,rowKey:r,data:a,_data:l,isComplex:s,_columns:i,originColumns:c,columns:d,fixedColumns:u,rightFixedColumns:f,leafColumns:p,fixedLeafColumns:g,rightFixedLeafColumns:m,updateOrderFns:h,leafColumnsLength:b,fixedLeafColumnsLength:y,rightFixedLeafColumnsLength:k,isAllSelected:C,selection:w,reserveSelection:S,selectOnIndeterminate:E,selectable:v,rowExpandable:N,filters:P,filteredData:T,sortingColumn:V,sortProp:x,sortOrder:O,hoverRow:D,...Ie,...Fe,...Se}}}function Nh(t,n){return t.map(o=>{var r;return o.id===n.id?n:((r=o.children)!=null&&r.length&&(o.children=Nh(o.children,n)),o)})}function Bh(t){t.forEach(n=>{var o,r;n.no=(o=n.getColumnIndex)==null?void 0:o.call(n),(r=n.children)!=null&&r.length&&Bh(n.children)}),t.sort((n,o)=>n.no-o.no)}function Mq(){const t=e.getCurrentInstance(),n=Rq(),o=ee("table"),{t:r}=je();return{ns:o,t:r,...n,mutations:{setData(i,c){const d=e.unref(i._data)!==c;i.data.value=c,i._data.value=c,t.store.execQuery(),t.store.updateCurrentRowData(),t.store.updateExpandRows(),t.store.updateTreeData(t.store.states.defaultExpandAll.value),e.unref(i.reserveSelection)?t.store.assertRowKey():d?t.store.clearSelection():t.store.cleanSelection(),t.store.updateAllSelected(),t.$ready&&t.store.scheduleLayout()},insertColumn(i,c,d,u){var f;const p=e.unref(i._columns);let g=[];d?(d&&!d.children&&(d.children=[]),(f=d.children)==null||f.push(c),g=Nh(p,d)):(p.push(c),g=p),Bh(g),i._columns.value=g,i.updateOrderFns.push(u),c.type==="selection"&&(i.selectable.value=c.selectable,i.reserveSelection.value=c.reserveSelection),t.$ready&&(t.store.updateColumns(),t.store.scheduleLayout())},updateColumnOrder(i,c){var d;((d=c.getColumnIndex)==null?void 0:d.call(c))!==c.no&&(Bh(i._columns.value),t.$ready&&t.store.updateColumns())},removeColumn(i,c,d,u){var f;const p=e.unref(i._columns)||[];if(d)(f=d.children)==null||f.splice(d.children.findIndex(m=>m.id===c.id),1),e.nextTick(()=>{var m;((m=d.children)==null?void 0:m.length)===0&&delete d.children}),i._columns.value=Nh(p,d);else{const m=p.indexOf(c);m>-1&&(p.splice(m,1),i._columns.value=p)}const g=i.updateOrderFns.indexOf(u);g>-1&&i.updateOrderFns.splice(g,1),t.$ready&&(t.store.updateColumns(),t.store.scheduleLayout())},sort(i,c){const{prop:d,order:u,init:f}=c;if(d){const p=e.unref(i.columns).find(g=>g.property===d);p&&(p.order=u,t.store.updateSort(p,d,u),t.store.commit("changeSortCondition",{init:f}))}},changeSortCondition(i,c){const{sortingColumn:d,sortProp:u,sortOrder:f}=i,p=e.unref(d),g=e.unref(u),m=e.unref(f);ds(m)&&(i.sortingColumn.value=null,i.sortProp.value=null);const h={filter:!0};t.store.execQuery(h),(!c||!(c.silent||c.init))&&t.emit("sort-change",{column:p,prop:g,order:m}),t.store.updateTableScrollY()},filterChange(i,c){const{column:d,values:u,silent:f}=c,p=t.store.updateFilters(d,u);t.store.execQuery(),f||t.emit("filter-change",p),t.store.updateTableScrollY()},toggleAllSelection(){var i,c;(c=(i=t.store).toggleAllSelection)==null||c.call(i)},rowSelectedChanged(i,c){t.store.toggleRowSelection(c),t.store.updateAllSelected()},setHoverRow(i,c){i.hoverRow.value=c},setCurrentRow(i,c){t.store.updateCurrentRow(c)}},commit:function(i,...c){const d=t.store.mutations;if(d[i])d[i].apply(t,[t.store.states,...c]);else throw new Error(`Action not found: ${i}`)},updateTableScrollY:function(){e.nextTick(()=>t.layout.updateScrollY.apply(t.layout))}}}const Th={rowKey:"rowKey",defaultExpandAll:"defaultExpandAll",rowExpandable:"rowExpandable",selectOnIndeterminate:"selectOnIndeterminate",indent:"indent",lazy:"lazy","treeProps.hasChildren":{key:"lazyColumnIdentifier",default:"hasChildren"},"treeProps.children":{key:"childrenColumnName",default:"children"},"treeProps.checkStrictly":{key:"checkStrictly",default:!1}};function Iq(t,n){if(!t)throw new Error("Table is required.");const o=Mq();return o.toggleAllSelection=Eo(o._toggleAllSelection,10),Object.keys(Th).forEach(r=>{p2(h2(n,r),r,o)}),Oq(o,n),o}function Oq(t,n){Object.keys(Th).forEach(o=>{e.watch(()=>h2(n,o),r=>{p2(r,o,t)})})}function p2(t,n,o){let r=t,a=Th[n];tt(a)&&(r=r||a.default,a=a.key),o.states[a].value=r}function h2(t,n){if(n.includes(".")){const o=n.split(".");let r=t;return o.forEach(a=>{r=r[a]}),r}else return t[n]}var Aq=Object.defineProperty,zq=(t,n,o)=>n in t?Aq(t,n,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[n]=o,pn=(t,n,o)=>zq(t,typeof n!="symbol"?n+"":n,o);class Dq{constructor(n){pn(this,"observers"),pn(this,"table"),pn(this,"store"),pn(this,"columns"),pn(this,"fit"),pn(this,"showHeader"),pn(this,"height"),pn(this,"scrollX"),pn(this,"scrollY"),pn(this,"bodyWidth"),pn(this,"fixedWidth"),pn(this,"rightFixedWidth"),pn(this,"tableHeight"),pn(this,"headerHeight"),pn(this,"appendHeight"),pn(this,"footerHeight"),pn(this,"gutterWidth"),this.observers=[],this.table=null,this.store=null,this.columns=[],this.fit=!0,this.showHeader=!0,this.height=e.ref(null),this.scrollX=e.ref(!1),this.scrollY=e.ref(!1),this.bodyWidth=e.ref(null),this.fixedWidth=e.ref(null),this.rightFixedWidth=e.ref(null),this.gutterWidth=0;for(const o in n)Qt(n,o)&&(e.isRef(this[o])?this[o].value=n[o]:this[o]=n[o]);if(!this.table)throw new Error("Table is required for Table Layout");if(!this.store)throw new Error("Store is required for Table Layout")}updateScrollY(){const n=this.height.value;if(ds(n))return!1;const o=this.table.refs.scrollBarRef;if(this.table.vnode.el&&(o!=null&&o.wrapRef)){let r=!0;const a=this.scrollY.value;return r=o.wrapRef.scrollHeight>o.wrapRef.clientHeight,this.scrollY.value=r,a!==r}return!1}setHeight(n,o="height"){if(!Je)return;const r=this.table.vnode.el;if(n=Eq(n),this.height.value=Number(n),!r&&(n||n===0)){e.nextTick(()=>this.setHeight(n,o));return}r&&pe(n)?(r.style[o]=`${n}px`,this.updateElsHeight()):r&&ve(n)&&(r.style[o]=n,this.updateElsHeight())}setMaxHeight(n){this.setHeight(n,"max-height")}getFlattenColumns(){const n=[];return this.table.store.states.columns.value.forEach(r=>{r.isColumnGroup?n.push.apply(n,r.columns):n.push(r)}),n}updateElsHeight(){this.updateScrollY(),this.notifyObservers("scrollable")}headerDisplayNone(n){if(!n)return!0;let o=n;for(;o.tagName!=="DIV";){if(getComputedStyle(o).display==="none")return!0;o=o.parentElement}return!1}updateColumnsWidth(){var n;if(!Je)return;const o=this.fit,r=(n=this.table.vnode.el)==null?void 0:n.clientWidth;let a=0;const l=this.getFlattenColumns(),s=l.filter(d=>!pe(d.width));if(l.forEach(d=>{pe(d.width)&&d.realWidth&&(d.realWidth=null)}),s.length>0&&o){if(l.forEach(d=>{a+=Number(d.width||d.minWidth||80)}),a<=r){this.scrollX.value=!1;const d=r-a;if(s.length===1)s[0].realWidth=Number(s[0].minWidth||80)+d;else{const u=s.reduce((g,m)=>g+Number(m.minWidth||80),0),f=d/u;let p=0;s.forEach((g,m)=>{if(m===0)return;const h=Math.floor(Number(g.minWidth||80)*f);p+=h,g.realWidth=Number(g.minWidth||80)+h}),s[0].realWidth=Number(s[0].minWidth||80)+d-p}}else this.scrollX.value=!0,s.forEach(d=>{d.realWidth=Number(d.minWidth)});this.bodyWidth.value=Math.max(a,r),this.table.state.resizeState.value.width=this.bodyWidth.value}else l.forEach(d=>{!d.width&&!d.minWidth?d.realWidth=80:d.realWidth=Number(d.width||d.minWidth),a+=d.realWidth}),this.scrollX.value=a>r,this.bodyWidth.value=a;const i=this.store.states.fixedColumns.value;if(i.length>0){let d=0;i.forEach(u=>{d+=Number(u.realWidth||u.width)}),this.fixedWidth.value=d}const c=this.store.states.rightFixedColumns.value;if(c.length>0){let d=0;c.forEach(u=>{d+=Number(u.realWidth||u.width)}),this.rightFixedWidth.value=d}this.notifyObservers("columns")}addObserver(n){this.observers.push(n)}removeObserver(n){const o=this.observers.indexOf(n);o!==-1&&this.observers.splice(o,1)}notifyObservers(n){this.observers.forEach(r=>{var a,l;switch(n){case"columns":(a=r.state)==null||a.onColumnsChange(this);break;case"scrollable":(l=r.state)==null||l.onScrollableChange(this);break;default:throw new Error(`Table Layout don't have event ${n}.`)}})}}var Lq=e.defineComponent({name:"ElTableFilterPanel",components:{ElCheckbox:ho,ElCheckboxGroup:Zc,ElScrollbar:mo,ElTooltip:Jt,ElIcon:ce,ArrowDown:Wo,ArrowUp:ec},props:{placement:{type:String,default:"bottom-start"},store:{type:Object},column:{type:Object},upDataColumn:{type:Function},appendTo:lt.appendTo},setup(t){const n=e.getCurrentInstance(),{t:o}=je(),r=ee("table-filter"),a=n==null?void 0:n.parent;t.column&&!a.filterPanels.value[t.column.id]&&(a.filterPanels.value[t.column.id]=n);const l=e.ref(null),s=e.ref(null),i=e.ref(0),c=e.computed(()=>t.column&&t.column.filters),d=e.computed(()=>t.column&&t.column.filterClassName?`${r.b()} ${t.column.filterClassName}`:r.b()),u=e.computed({get:()=>{var v;return(((v=t.column)==null?void 0:v.filteredValue)||[])[0]},set:v=>{f.value&&(On(v)?f.value.splice(0,1):f.value.splice(0,1,v))}}),f=e.computed({get(){return t.column?t.column.filteredValue||[]:[]},set(v){var N;t.column&&((N=t.upDataColumn)==null||N.call(t,"filteredValue",v))}}),p=e.computed(()=>t.column?t.column.filterMultiple:!0),g=v=>v.value===u.value,m=()=>{var v;(v=l.value)==null||v.onClose()},h=()=>{k(f.value),m()},b=()=>{f.value=[],k(f.value),m()},y=(v,N)=>{u.value=v,i.value=N,On(v)?k([]):k(f.value),m()},k=v=>{var N,P;(N=t.store)==null||N.commit("filterChange",{column:t.column,values:v}),(P=t.store)==null||P.updateAllSelected()},C=()=>{var v,N;(v=s.value)==null||v.focus(),!p.value&&S(),t.column&&((N=t.upDataColumn)==null||N.call(t,"filterOpened",!0))},w=()=>{var v;t.column&&((v=t.upDataColumn)==null||v.call(t,"filterOpened",!1))},S=()=>{if(On(u)){i.value=0;return}const v=(c.value||[]).findIndex(N=>N.value===u.value);i.value=v>=0?v+1:0};return{multiple:p,filterClassName:d,filteredValue:f,filterValue:u,filters:c,handleConfirm:h,handleReset:b,handleSelect:y,isPropAbsent:On,isActive:g,t:o,ns:r,tooltipRef:l,rootRef:s,checkedIndex:i,handleShowTooltip:C,handleHideTooltip:w,handleKeydown:v=>{var N,P;const T=ut(v),V=(c.value?c.value.length:0)+1;let x=i.value,O=!0;switch(T){case te.down:case te.right:x=(x+1)%V;break;case te.up:case te.left:x=(x-1+V)%V;break;case te.tab:m(),O=!1;break;case te.enter:case te.space:if(x===0)y(null,0);else{const D=(c.value||[])[x-1];D.value&&y(D.value,x)}break;default:O=!1;break}O&&v.preventDefault(),i.value=x,(P=(N=s.value)==null?void 0:N.querySelector(`.${r.e("list-item")}:nth-child(${x+1})`))==null||P.focus()}}}});const _q=["disabled"],Fq=["tabindex","aria-checked"],Hq=["tabindex","aria-checked","onClick"],Kq=["aria-label"];function Wq(t,n,o,r,a,l){const s=e.resolveComponent("el-checkbox"),i=e.resolveComponent("el-checkbox-group"),c=e.resolveComponent("el-scrollbar"),d=e.resolveComponent("arrow-up"),u=e.resolveComponent("arrow-down"),f=e.resolveComponent("el-icon"),p=e.resolveComponent("el-tooltip");return e.openBlock(),e.createBlock(p,{ref:"tooltipRef",offset:0,placement:t.placement,"show-arrow":!1,trigger:"click",role:"dialog",teleported:"",effect:"light",pure:"",loop:"","popper-class":t.filterClassName,persistent:"","append-to":t.appendTo,onShow:t.handleShowTooltip,onHide:t.handleHideTooltip},{content:e.withCtx(()=>[t.multiple?(e.openBlock(),e.createElementBlock("div",{key:0,ref:"rootRef",tabindex:"-1",class:e.normalizeClass(t.ns.e("multiple"))},[e.createElementVNode("div",{class:e.normalizeClass(t.ns.e("content"))},[e.createVNode(c,{"wrap-class":t.ns.e("wrap")},{default:e.withCtx(()=>[e.createVNode(i,{modelValue:t.filteredValue,"onUpdate:modelValue":n[0]||(n[0]=g=>t.filteredValue=g),class:e.normalizeClass(t.ns.e("checkbox-group"))},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.filters,g=>(e.openBlock(),e.createBlock(s,{key:g.value,value:g.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(g.text),1)]),_:2},1032,["value"]))),128))]),_:1},8,["modelValue","class"])]),_:1},8,["wrap-class"])],2),e.createElementVNode("div",{class:e.normalizeClass(t.ns.e("bottom"))},[e.createElementVNode("button",{class:e.normalizeClass(t.ns.is("disabled",t.filteredValue.length===0)),disabled:t.filteredValue.length===0,type:"button",onClick:n[1]||(n[1]=(...g)=>t.handleConfirm&&t.handleConfirm(...g))},e.toDisplayString(t.t("el.table.confirmFilter")),11,_q),e.createElementVNode("button",{type:"button",onClick:n[2]||(n[2]=(...g)=>t.handleReset&&t.handleReset(...g))},e.toDisplayString(t.t("el.table.resetFilter")),1)],2)],2)):(e.openBlock(),e.createElementBlock("ul",{key:1,ref:"rootRef",tabindex:"-1",role:"radiogroup",class:e.normalizeClass(t.ns.e("list")),onKeydown:n[4]||(n[4]=(...g)=>t.handleKeydown&&t.handleKeydown(...g))},[e.createElementVNode("li",{role:"radio",class:e.normalizeClass([t.ns.e("list-item"),t.ns.is("active",t.isPropAbsent(t.filterValue))]),tabindex:t.checkedIndex===0?0:-1,"aria-checked":t.isPropAbsent(t.filterValue),onClick:n[3]||(n[3]=g=>t.handleSelect(null,0))},e.toDisplayString(t.t("el.table.clearFilter")),11,Fq),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.filters,(g,m)=>(e.openBlock(),e.createElementBlock("li",{key:g.value,role:"radio",class:e.normalizeClass([t.ns.e("list-item"),t.ns.is("active",t.isActive(g))]),tabindex:t.checkedIndex===m+1?0:-1,"aria-checked":t.isActive(g),onClick:h=>t.handleSelect(g.value,m+1)},e.toDisplayString(g.text),11,Hq))),128))],34))]),default:e.withCtx(()=>{var g;return[e.createElementVNode("button",{type:"button",class:e.normalizeClass(`${t.ns.namespace.value}-table__column-filter-trigger`),"aria-label":t.t("el.table.filterLabel",{column:((g=t.column)==null?void 0:g.label)||""})},[e.createVNode(f,null,{default:e.withCtx(()=>[e.renderSlot(t.$slots,"filter-icon",{},()=>{var m;return[(m=t.column)!=null&&m.filterOpened?(e.openBlock(),e.createBlock(d,{key:0})):(e.openBlock(),e.createBlock(u,{key:1}))]})]),_:3})],10,Kq)]}),_:3},8,["placement","popper-class","append-to","onShow","onHide"])}var jq=Ut(Lq,[["render",Wq]]);function xh(t){const n=e.getCurrentInstance();e.onBeforeMount(()=>{o.value.addObserver(n)}),e.onMounted(()=>{r(o.value),a(o.value)}),e.onUpdated(()=>{r(o.value),a(o.value)}),e.onUnmounted(()=>{o.value.removeObserver(n)});const o=e.computed(()=>{const l=t.layout;if(!l)throw new Error("Can not find table layout.");return l}),r=l=>{var s;const i=((s=t.vnode.el)==null?void 0:s.querySelectorAll("colgroup > col"))||[];if(!i.length)return;const c=l.getFlattenColumns(),d={};c.forEach(u=>{d[u.id]=u});for(let u=0,f=i.length;u{var s,i;const c=((s=t.vnode.el)==null?void 0:s.querySelectorAll("colgroup > col[name=gutter]"))||[];for(let u=0,f=c.length;u{h.stopPropagation()},l=(h,b)=>{!b.filters&&b.sortable?m(h,b,!1):b.filterable&&!b.sortable&&a(h),r==null||r.emit("header-click",b,h)},s=(h,b)=>{r==null||r.emit("header-contextmenu",b,h)},i=e.ref(null),c=e.ref(!1),d=e.ref(),u=(h,b)=>{var y,k;if(Je&&!(b.children&&b.children.length>0)&&i.value&&t.border&&i.value.id===b.id){c.value=!0;const C=r;n("set-drag-visible",!0);const w=C==null?void 0:C.vnode.el,S=w==null?void 0:w.getBoundingClientRect().left,E=(k=(y=o==null?void 0:o.vnode)==null?void 0:y.el)==null?void 0:k.querySelector(`th.${b.id}`),v=E.getBoundingClientRect(),N=v.left-S+30;lo(E,"noclick"),d.value={startMouseLeft:h.clientX,startLeft:v.right-S,startColumnLeft:v.left-S,tableLeft:S};const P=C==null?void 0:C.refs.resizeProxy;P.style.left=`${d.value.startLeft}px`,document.onselectstart=function(){return!1},document.ondragstart=function(){return!1};const T=x=>{const O=x.clientX-d.value.startMouseLeft,D=d.value.startLeft+O;P.style.left=`${Math.max(N,D)}px`},V=()=>{if(c.value){const{startColumnLeft:x,startLeft:O}=d.value,L=Number.parseInt(P.style.left,10)-x;b.width=b.realWidth=L,C==null||C.emit("header-dragend",b.width,O-x,b,h),requestAnimationFrame(()=>{t.store.scheduleLayout(!1,!0)}),document.body.style.cursor="",c.value=!1,i.value=null,d.value=void 0,n("set-drag-visible",!1)}document.removeEventListener("mousemove",T),document.removeEventListener("mouseup",V),document.onselectstart=null,document.ondragstart=null,setTimeout(()=>{yn(E,"noclick")},0)};document.addEventListener("mousemove",T),document.addEventListener("mouseup",V)}},f=(h,b)=>{var y;if(!t.border||b.children&&b.children.length>0)return;const k=h.target,C=In(k)?k.closest("th"):null;if(!C)return;const w=Ko(C,"is-sortable");if(w){const T=c.value?"col-resize":"";C.style.cursor=T;const V=C.querySelector(".caret-wrapper");V&&(V.style.cursor=T)}if(!b.resizable||c.value){i.value=null;return}const S=C.getBoundingClientRect(),E=((y=C.parentNode)==null?void 0:y.lastElementChild)===C,v=t.allowDragLastColumn||!E,N=S.width>12&&S.right-h.clientX<8&&v,P=N?"col-resize":"";document.body.style.cursor=P,i.value=N?b:null,w&&(C.style.cursor=P)},p=()=>{!Je||c.value||(document.body.style.cursor="")},g=({order:h,sortOrders:b})=>{if(h==="")return b[0];const y=b.indexOf(h||null);return b[y>b.length-2?0:y+1]},m=(h,b,y)=>{var k;h.stopPropagation();const C=b.order===y?null:y||g(b),w=(k=h.target)==null?void 0:k.closest("th");if(w&&Ko(w,"noclick")){yn(w,"noclick");return}if(!b.sortable)return;const S=h.currentTarget;if(["ascending","descending"].some(T=>Ko(S,T)&&!b.sortOrders.includes(T)))return;const E=t.store.states;let v=E.sortProp.value,N;const P=E.sortingColumn.value;(P!==b||P===b&&ds(P.order))&&(P&&(P.order=null),E.sortingColumn.value=b,v=b.property),C?N=b.order=C:N=b.order=null,E.sortProp.value=v,E.sortOrder.value=N,r==null||r.store.commit("changeSortCondition")};return{handleHeaderClick:l,handleHeaderContextMenu:s,handleMouseDown:u,handleMouseMove:f,handleMouseOut:p,handleSortClick:m,handleFilterClick:a}}function Yq(t){const n=e.inject(Ro),o=ee("table");return{getHeaderRowStyle:i=>{const c=n==null?void 0:n.props.headerRowStyle;return Ae(c)?c.call(null,{rowIndex:i}):c},getHeaderRowClass:i=>{const c=[],d=n==null?void 0:n.props.headerRowClassName;return ve(d)?c.push(d):Ae(d)&&c.push(d.call(null,{rowIndex:i})),c.join(" ")},getHeaderCellStyle:(i,c,d,u)=>{var f;let p=(f=n==null?void 0:n.props.headerCellStyle)!=null?f:{};Ae(p)&&(p=p.call(null,{rowIndex:i,columnIndex:c,row:d,column:u}));const g=vh(c,u.fixed,t.store,d);return Pl(g,"left"),Pl(g,"right"),Object.assign({},p,g)},getHeaderCellClass:(i,c,d,u)=>{const f=Eh(o.b(),c,u.fixed,t.store,d),p=[u.id,u.order,u.headerAlign,u.className,u.labelClassName,...f];u.children||p.push("is-leaf"),u.sortable&&p.push("is-sortable");const g=n==null?void 0:n.props.headerCellClassName;return ve(g)?p.push(g):Ae(g)&&p.push(g.call(null,{rowIndex:i,columnIndex:c,row:d,column:u})),p.push(o.e("cell")),p.filter(m=>!!m).join(" ")}}}const g2=t=>{const n=[];return t.forEach(o=>{o.children?(n.push(o),n.push.apply(n,g2(o.children))):n.push(o)}),n},b2=t=>{let n=1;const o=(l,s)=>{if(s&&(l.level=s.level+1,n{o(c,l),i+=c.colSpan}),l.colSpan=i}else l.colSpan=1};t.forEach(l=>{l.level=1,o(l,void 0)});const r=[];for(let l=0;l{l.children?(l.rowSpan=1,l.children.forEach(s=>s.isSubColumn=!0)):l.rowSpan=n-l.level+1,r[l.level-1].push(l)}),r};function Gq(t){const n=e.inject(Ro),o=e.computed(()=>b2(t.store.states.originColumns.value));return{isGroup:e.computed(()=>{const l=o.value.length>1;return l&&n&&(n.state.isGroup.value=!0),l}),toggleAllSelection:l=>{l.stopPropagation(),n==null||n.store.commit("toggleAllSelection")},columnRows:o}}var qq=e.defineComponent({name:"ElTableHeader",components:{ElCheckbox:ho},props:{fixed:{type:String,default:""},store:{required:!0,type:Object},border:Boolean,defaultSort:{type:Object,default:()=>({prop:"",order:""})},appendFilterPanelTo:{type:String},allowDragLastColumn:{type:Boolean}},setup(t,{emit:n}){const o=e.getCurrentInstance(),r=e.inject(Ro),a=ee("table"),l=e.ref({}),{onColumnsChange:s,onScrollableChange:i}=xh(r),c=(r==null?void 0:r.props.tableLayout)==="auto",d=e.reactive(new Map),u=e.ref();let f;const p=()=>{f=setTimeout(()=>{d.size>0&&(d.forEach((x,O)=>{const D=u.value.querySelector(`.${O.replace(/\s/g,".")}`);if(D){const L=D.getBoundingClientRect().width;x.width=L||x.width}}),d.clear())})};e.watch(d,p),e.onBeforeUnmount(()=>{f&&(clearTimeout(f),f=void 0)}),e.onMounted(async()=>{await e.nextTick(),await e.nextTick();const{prop:x,order:O}=t.defaultSort;r==null||r.store.commit("sort",{prop:x,order:O,init:!0}),p()});const{handleHeaderClick:g,handleHeaderContextMenu:m,handleMouseDown:h,handleMouseMove:b,handleMouseOut:y,handleSortClick:k,handleFilterClick:C}=Uq(t,n),{getHeaderRowStyle:w,getHeaderRowClass:S,getHeaderCellStyle:E,getHeaderCellClass:v}=Yq(t),{isGroup:N,toggleAllSelection:P,columnRows:T}=Gq(t),{t:V}=je();return o.state={onColumnsChange:s,onScrollableChange:i},o.filterPanels=l,{ns:a,t:V,filterPanels:l,onColumnsChange:s,onScrollableChange:i,columnRows:T,getHeaderRowClass:S,getHeaderRowStyle:w,getHeaderCellClass:v,getHeaderCellStyle:E,handleHeaderClick:g,handleHeaderContextMenu:m,handleMouseDown:h,handleMouseMove:b,handleMouseOut:y,handleSortClick:k,handleFilterClick:C,isGroup:N,toggleAllSelection:P,saveIndexSelection:d,isTableLayoutAuto:c,theadRef:u,updateFixedColumnStyle:p}},render(){const{ns:t,t:n,isGroup:o,columnRows:r,getHeaderCellStyle:a,getHeaderCellClass:l,getHeaderRowClass:s,getHeaderRowStyle:i,handleHeaderClick:c,handleHeaderContextMenu:d,handleMouseDown:u,handleMouseMove:f,handleSortClick:p,handleMouseOut:g,store:m,$parent:h,saveIndexSelection:b,isTableLayoutAuto:y}=this;let k=1;return e.h("thead",{ref:"theadRef",class:t.is("group",o)},r.map((C,w)=>e.h("tr",{class:s(w),key:w,style:i(w)},C.map((S,E)=>{S.rowSpan>k&&(k=S.rowSpan);const v=l(w,E,C,S);return y&&S.fixed&&b.set(v,S),e.h("th",{class:v,colspan:S.colSpan,key:`${S.id}-thead`,rowspan:S.rowSpan,scope:S.colSpan>1?"colgroup":"col",ariaSort:S.sortable?S.order:void 0,style:a(w,E,C,S),onClick:N=>{var P;(P=N.currentTarget)!=null&&P.classList.contains("noclick")||c(N,S)},onContextmenu:N=>d(N,S),onMousedown:N=>u(N,S),onMousemove:N=>f(N,S),onMouseout:g},[e.h("div",{class:["cell",S.filteredValue&&S.filteredValue.length>0?"highlight":""]},[S.renderHeader?S.renderHeader({column:S,$index:E,store:m,_self:h}):S.label,S.sortable&&e.h("button",{type:"button",class:"caret-wrapper","aria-label":n("el.table.sortLabel",{column:S.label||""}),onClick:N=>p(N,S)},[e.h("i",{onClick:N=>p(N,S,"ascending"),class:"sort-caret ascending"}),e.h("i",{onClick:N=>p(N,S,"descending"),class:"sort-caret descending"})]),S.filterable&&e.h(jq,{store:m,placement:S.filterPlacement||"bottom-start",appendTo:h==null?void 0:h.appendFilterPanelTo,column:S,upDataColumn:(N,P)=>{S[N]=P}},{"filter-icon":()=>S.renderFilterIcon?S.renderFilterIcon({filterOpened:S.filterOpened}):null})])])}))))}});function $h(t,n,o=.03){return t-n>o}function Xq(t){const n=e.inject(Ro),o=e.ref(""),r=e.ref(e.h("div")),a=(m,h,b)=>{var y,k,C;const w=n,S=kh(m);let E=null;const v=(y=w==null?void 0:w.vnode.el)==null?void 0:y.dataset.prefix;S&&(E=s2({columns:(C=(k=t.store)==null?void 0:k.states.columns.value)!=null?C:[]},S,v),E&&(w==null||w.emit(`cell-${b}`,h,E,S,m))),w==null||w.emit(`row-${b}`,h,E,m)},l=(m,h)=>{a(m,h,"dblclick")},s=(m,h)=>{var b;(b=t.store)==null||b.commit("setCurrentRow",h),a(m,h,"click")},i=(m,h)=>{a(m,h,"contextmenu")},c=Eo(m=>{var h;(h=t.store)==null||h.commit("setHoverRow",m)},30),d=Eo(()=>{var m;(m=t.store)==null||m.commit("setHoverRow",null)},30),u=m=>{const h=window.getComputedStyle(m,null),b=Number.parseInt(h.paddingLeft,10)||0,y=Number.parseInt(h.paddingRight,10)||0,k=Number.parseInt(h.paddingTop,10)||0,C=Number.parseInt(h.paddingBottom,10)||0;return{left:b,right:y,top:k,bottom:C}},f=(m,h,b)=>{var y;let k=(y=h==null?void 0:h.target)==null?void 0:y.parentNode;for(;m>1&&(k=k==null?void 0:k.nextSibling,!(!k||k.nodeName!=="TR"));)b(k,"hover-row hover-fixed-row"),m--};return{handleDoubleClick:l,handleClick:s,handleContextMenu:i,handleMouseEnter:c,handleMouseLeave:d,handleCellMouseEnter:(m,h,b)=>{var y,k,C,w,S,E,v,N,P;if(!n)return;const T=n,V=kh(m),x=(y=T==null?void 0:T.vnode.el)==null?void 0:y.dataset.prefix;let O=null;if(V){if(O=s2({columns:(C=(k=t.store)==null?void 0:k.states.columns.value)!=null?C:[]},V,x),!O)return;V.rowSpan>1&&f(V.rowSpan,m,lo);const G=T.hoverState={cell:V,column:O,row:h};T==null||T.emit("cell-mouse-enter",G.row,G.column,G.cell,m)}if(!b){((w=kn)==null?void 0:w.trigger)===V&&((S=kn)==null||S());return}const D=m.target.querySelector(".cell");if(!(Ko(D,`${x}-tooltip`)&&D.childNodes.length&&((E=D.textContent)!=null&&E.trim())))return;const L=document.createRange();L.setStart(D,0),L.setEnd(D,D.childNodes.length);const{width:H,height:$}=L.getBoundingClientRect(),{width:B,height:M}=D.getBoundingClientRect(),{top:I,left:z,right:F,bottom:A}=u(D),W=z+F,j=I+A;$h(H+W,B)||$h($+j,M)||$h(D.scrollWidth,B)?Tq(b,(v=(V==null?void 0:V.innerText)||(V==null?void 0:V.textContent))!=null?v:"",h,O,V,T):((N=kn)==null?void 0:N.trigger)===V&&((P=kn)==null||P())},handleCellMouseLeave:m=>{const h=kh(m);if(!h)return;h.rowSpan>1&&f(h.rowSpan,m,yn);const b=n==null?void 0:n.hoverState;n==null||n.emit("cell-mouse-leave",b==null?void 0:b.row,b==null?void 0:b.column,b==null?void 0:b.cell,m)},tooltipContent:o,tooltipTrigger:r}}function Zq(t){const n=e.inject(Ro),o=ee("table");return{getRowStyle:(d,u)=>{const f=n==null?void 0:n.props.rowStyle;return Ae(f)?f.call(null,{row:d,rowIndex:u}):f||null},getRowClass:(d,u,f)=>{var p;const g=[o.e("row")];n!=null&&n.props.highlightCurrentRow&&d===((p=t.store)==null?void 0:p.states.currentRow.value)&&g.push("current-row"),t.stripe&&f%2===1&&g.push(o.em("row","striped"));const m=n==null?void 0:n.props.rowClassName;return ve(m)?g.push(m):Ae(m)&&g.push(m.call(null,{row:d,rowIndex:u})),g},getCellStyle:(d,u,f,p)=>{const g=n==null?void 0:n.props.cellStyle;let m=g!=null?g:{};Ae(g)&&(m=g.call(null,{rowIndex:d,columnIndex:u,row:f,column:p}));const h=vh(u,t==null?void 0:t.fixed,t.store);return Pl(h,"left"),Pl(h,"right"),Object.assign({},m,h)},getCellClass:(d,u,f,p,g)=>{const m=Eh(o.b(),u,t==null?void 0:t.fixed,t.store,void 0,g),h=[p.id,p.align,p.className,...m],b=n==null?void 0:n.props.cellClassName;return ve(b)?h.push(b):Ae(b)&&h.push(b.call(null,{rowIndex:d,columnIndex:u,row:f,column:p})),h.push(o.e("cell")),h.filter(y=>!!y).join(" ")},getSpan:(d,u,f,p)=>{let g=1,m=1;const h=n==null?void 0:n.props.spanMethod;if(Ae(h)){const b=h({row:d,column:u,rowIndex:f,columnIndex:p});ie(b)?(g=b[0],m=b[1]):tt(b)&&(g=b.rowspan,m=b.colspan)}return{rowspan:g,colspan:m}},getColspanRealWidth:(d,u,f)=>{if(u<1)return d[f].realWidth;const p=d.map(({realWidth:g,width:m})=>g||m).slice(f,f+u);return Number(p.reduce((g,m)=>Number(g)+Number(m),-1))}}}const Jq=["colspan","rowspan"];var Qq=e.defineComponent({name:"TableTdWrapper",__name:"td-wrapper",props:{colspan:{type:Number,default:1},rowspan:{type:Number,default:1}},setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock("td",{colspan:t.colspan,rowspan:t.rowspan},[e.renderSlot(n.$slots,"default")],8,Jq))}});function eX(t){const n=e.inject(Ro),o=ee("table"),{handleDoubleClick:r,handleClick:a,handleContextMenu:l,handleMouseEnter:s,handleMouseLeave:i,handleCellMouseEnter:c,handleCellMouseLeave:d,tooltipContent:u,tooltipTrigger:f}=Xq(t),{getRowStyle:p,getRowClass:g,getCellStyle:m,getCellClass:h,getSpan:b,getColspanRealWidth:y}=Zq(t);let k=-1;const C=e.computed(()=>{var N;return(N=t.store)==null?void 0:N.states.columns.value.findIndex(({type:P})=>P==="default")}),w=(N,P)=>{var T;const V=(T=n==null?void 0:n.props)==null?void 0:T.rowKey;return V?mn(N,V):P},S=(N,P,T,V=!1)=>{const{tooltipEffect:x,tooltipOptions:O,store:D}=t,{indent:L,columns:H}=D.states,$=[];let B=!0;T&&($.push(o.em("row",`level-${T.level}`)),B=!!T.display),P===0&&(k=-1),t.stripe&&B&&k++,$.push(...g(N,P,k));const M=B?null:{display:"none"};return e.h("tr",{style:[M,p(N,P)],class:$,key:w(N,P),onDblclick:I=>r(I,N),onClick:I=>a(I,N),onContextmenu:I=>l(I,N),onMouseenter:()=>s(P),onMouseleave:i},H.value.map((I,z)=>{const{rowspan:F,colspan:A}=b(N,I,P,z);if(!F||!A)return null;const W=Object.assign({},I);W.realWidth=y(H.value,A,z);const j={store:D,_self:t.context||n,column:W,row:N,$index:P,cellIndex:z,expanded:V};z===C.value&&T&&(j.treeNode={indent:T.level&&T.level*L.value,level:T.level},ct(T.expanded)&&(j.treeNode.expanded=T.expanded,"loading"in T&&(j.treeNode.loading=T.loading),"noLazyChildren"in T&&(j.treeNode.noLazyChildren=T.noLazyChildren)));const G=`${w(N,P)},${z}`,X=W.columnKey||W.rawColumnKey||"",Q=I.showOverflowTooltip&&Gu({effect:x},O,I.showOverflowTooltip);return e.h(Qq,{style:m(P,z,N,I),class:h(P,z,N,I,A-1),key:`${X}${G}`,rowspan:F,colspan:A,onMouseenter:J=>c(J,N,Q),onMouseleave:d},{default:()=>E(z,I,j)})}))},E=(N,P,T)=>P.renderCell(T);return{wrappedRowRender:(N,P)=>{const T=t.store,{isRowExpanded:V,assertRowKey:x}=T,{treeData:O,lazyTreeNodeMap:D,childrenColumnName:L,rowKey:H}=T.states,$=T.states.columns.value;if($.some(({type:M})=>M==="expand")){const M=V(N),I=S(N,P,void 0,M),z=n==null?void 0:n.renderExpanded;if(!z)return console.error("[Element Error]renderExpanded is required."),I;const F=[[I]];return(n.props.preserveExpandedContent||M)&&F[0].push(e.h("tr",{key:`expanded-row__${I.key}`,style:{display:M?"":"none"}},[e.h("td",{colspan:$.length,class:`${o.e("cell")} ${o.e("expanded-cell")}`},[z({row:N,$index:P,store:T,expanded:M})])])),F}else if(Object.keys(O.value).length){x();const M=mn(N,H.value);let I=O.value[M],z=null;I&&(z={expanded:I.expanded,level:I.level,display:!0,noLazyChildren:void 0,loading:void 0},ct(I.lazy)&&(z&&ct(I.loaded)&&I.loaded&&(z.noLazyChildren=!(I.children&&I.children.length)),z.loading=I.loading));const F=[S(N,P,z!=null?z:void 0)];if(I){let A=0;const W=(G,X)=>{G&&G.length&&X&&G.forEach(Q=>{const J={display:X.display&&X.expanded,level:X.level+1,expanded:!1,noLazyChildren:!1,loading:!1},Y=mn(Q,H.value);if(On(Y))throw new Error("For nested data item, row-key is required.");if(I={...O.value[Y]},I&&(J.expanded=I.expanded,I.level=I.level||J.level,I.display=!!(I.expanded&&J.display),ct(I.lazy)&&(ct(I.loaded)&&I.loaded&&(J.noLazyChildren=!(I.children&&I.children.length)),J.loading=I.loading)),A++,F.push(S(Q,P+A,J)),I){const _=D.value[Y]||Q[L.value];W(_,I)}})};I.display=!0;const j=D.value[M]||N[L.value];W(j,I)}return F}else return S(N,P,void 0)},tooltipContent:u,tooltipTrigger:f}}const tX={store:{required:!0,type:Object},stripe:Boolean,tooltipEffect:String,tooltipOptions:{type:Object},context:{default:()=>({}),type:Object},rowClassName:[String,Function],rowStyle:[Object,Function],fixed:{type:String,default:""},highlight:Boolean};var nX=e.defineComponent({name:"ElTableBody",props:tX,setup(t){var n;const o=e.getCurrentInstance(),r=e.inject(Ro),a=ee("table"),{wrappedRowRender:l,tooltipContent:s,tooltipTrigger:i}=eX(t),{onColumnsChange:c,onScrollableChange:d}=xh(r),u=[];return e.watch((n=t.store)==null?void 0:n.states.hoverRow,(f,p)=>{var g,m;const h=o==null?void 0:o.vnode.el,b=Array.from((h==null?void 0:h.children)||[]).filter(C=>C==null?void 0:C.classList.contains(`${a.e("row")}`));let y=f;const k=(g=b[y])==null?void 0:g.childNodes;if(k!=null&&k.length){let C=0;Array.from(k).reduce((S,E,v)=>{var N,P;return((N=k[v])==null?void 0:N.colSpan)>1&&(C=(P=k[v])==null?void 0:P.colSpan),E.nodeName!=="TD"&&C===0&&S.push(v),C>0&&C--,S},[]).forEach(S=>{var E;for(y=f;y>0;){const v=(E=b[y-1])==null?void 0:E.childNodes;if(v[S]&&v[S].nodeName==="TD"&&v[S].rowSpan>1){lo(v[S],"hover-cell"),u.push(v[S]);break}y--}})}else u.forEach(C=>yn(C,"hover-cell")),u.length=0;!((m=t.store)!=null&&m.states.isComplex.value)||!Je||Ho(()=>{const C=b[p],w=b[f];C&&!C.classList.contains("hover-fixed-row")&&yn(C,"hover-row"),w&&lo(w,"hover-row")})}),e.onUnmounted(()=>{var f;(f=kn)==null||f()}),{ns:a,onColumnsChange:c,onScrollableChange:d,wrappedRowRender:l,tooltipContent:s,tooltipTrigger:i}},render(){const{wrappedRowRender:t,store:n}=this,o=(n==null?void 0:n.states.data.value)||[];return e.h("tbody",{tabIndex:-1},[o.reduce((r,a)=>r.concat(t(a,r.length)),[])])}});function oX(){const t=e.inject(Ro),n=t==null?void 0:t.store,o=e.computed(()=>{var i;return(i=n==null?void 0:n.states.fixedLeafColumnsLength.value)!=null?i:0}),r=e.computed(()=>{var i;return(i=n==null?void 0:n.states.rightFixedColumns.value.length)!=null?i:0}),a=e.computed(()=>{var i;return(i=n==null?void 0:n.states.columns.value.length)!=null?i:0}),l=e.computed(()=>{var i;return(i=n==null?void 0:n.states.fixedColumns.value.length)!=null?i:0}),s=e.computed(()=>{var i;return(i=n==null?void 0:n.states.rightFixedColumns.value.length)!=null?i:0});return{leftFixedLeafCount:o,rightFixedLeafCount:r,columnsCount:a,leftFixedCount:l,rightFixedCount:s,columns:e.computed(()=>{var i;return(i=n==null?void 0:n.states.columns.value)!=null?i:[]})}}function rX(t){const{columns:n}=oX(),o=ee("table");return{getCellClasses:(l,s)=>{const i=l[s],c=[o.e("cell"),i.id,i.align,i.labelClassName,...Eh(o.b(),s,i.fixed,t.store)];return i.className&&c.push(i.className),i.children||c.push(o.is("leaf")),c},getCellStyles:(l,s)=>{const i=vh(s,l.fixed,t.store);return Pl(i,"left"),Pl(i,"right"),i},columns:n}}var aX=e.defineComponent({name:"ElTableFooter",props:{fixed:{type:String,default:""},store:{required:!0,type:Object},summaryMethod:Function,sumText:String,border:Boolean,defaultSort:{type:Object,default:()=>({prop:"",order:""})}},setup(t){const n=e.inject(Ro),o=ee("table"),{getCellClasses:r,getCellStyles:a,columns:l}=rX(t),{onScrollableChange:s,onColumnsChange:i}=xh(n);return{ns:o,onScrollableChange:s,onColumnsChange:i,getCellClasses:r,getCellStyles:a,columns:l}},render(){const{columns:t,getCellStyles:n,getCellClasses:o,summaryMethod:r,sumText:a}=this,l=this.store.states.data.value;let s=[];return r?s=r({columns:t,data:l}):t.forEach((i,c)=>{if(c===0){s[c]=a;return}const d=l.map(g=>Number(g[i.property])),u=[];let f=!0;d.forEach(g=>{if(!Number.isNaN(+g)){f=!1;const m=`${g}`.split(".")[1];u.push(m?m.length:0)}});const p=Math.max.apply(null,u);f?s[c]="":s[c]=d.reduce((g,m)=>{const h=Number(m);return Number.isNaN(+h)?g:Number.parseFloat((g+m).toFixed(Math.min(p,20)))},0)}),e.h(e.h("tfoot",[e.h("tr",{},[...t.map((i,c)=>e.h("td",{key:c,colspan:i.colSpan,rowspan:i.rowSpan,class:o(t,c),style:n(i,c)},[e.h("div",{class:["cell",i.labelClassName]},[s[c]])]))])]))}});function lX(t){return{setCurrentRow:f=>{t.commit("setCurrentRow",f)},getSelectionRows:()=>t.getSelectionRows(),toggleRowSelection:(f,p,g=!0)=>{t.toggleRowSelection(f,p,!1,g),t.updateAllSelected()},clearSelection:()=>{t.clearSelection()},clearFilter:f=>{t.clearFilter(f)},toggleAllSelection:()=>{t.commit("toggleAllSelection")},toggleRowExpansion:(f,p)=>{t.toggleRowExpansionAdapter(f,p)},clearSort:()=>{t.clearSort()},sort:(f,p)=>{t.commit("sort",{prop:f,order:p})},updateKeyChildren:(f,p)=>{t.updateKeyChildren(f,p)}}}function sX(t,n,o,r){const a=e.ref(!1),l=e.ref(null),s=e.ref(!1),i=$=>{s.value=$},c=e.ref({width:null,height:null,headerHeight:null}),d=e.ref(!1),u={display:"inline-block",verticalAlign:"middle"},f=e.ref(),p=e.ref(0),g=e.ref(0),m=e.ref(0),h=e.ref(0),b=e.ref(0);e.watch(()=>t.height,$=>{n.setHeight($!=null?$:null)},{immediate:!0}),e.watch(()=>t.maxHeight,$=>{n.setMaxHeight($!=null?$:null)},{immediate:!0}),e.watch(()=>[t.currentRowKey,o.states.rowKey],([$,B])=>{!e.unref(B)||!e.unref($)||o.setCurrentRowKey(`${$}`)},{immediate:!0}),e.watch(()=>t.data,$=>{r.store.commit("setData",$)},{immediate:!0,deep:!0}),e.watchEffect(()=>{t.expandRowKeys&&o.setExpandRowKeysAdapter(t.expandRowKeys)});const y=()=>{r.store.commit("setHoverRow",null),r.hoverState&&(r.hoverState=null)},k=($,B)=>{const{pixelX:M,pixelY:I}=B;Math.abs(M)>=Math.abs(I)&&(r.refs.bodyWrapper.scrollLeft+=B.pixelX/5)},C=e.computed(()=>t.height||t.maxHeight||o.states.fixedColumns.value.length>0||o.states.rightFixedColumns.value.length>0),w=e.computed(()=>({width:n.bodyWidth.value?`${n.bodyWidth.value}px`:""})),S=()=>{C.value&&n.updateElsHeight(),n.updateColumnsWidth(),typeof window!="undefined"&&requestAnimationFrame(P)};e.onMounted(async()=>{await e.nextTick(),o.updateColumns(),T(),requestAnimationFrame(S);const $=r.vnode.el,B=r.refs.headerWrapper;t.flexible&&$&&$.parentElement&&($.parentElement.style.minWidth="0"),c.value={width:f.value=$.offsetWidth,height:$.offsetHeight,headerHeight:t.showHeader&&B?B.offsetHeight:null},o.states.columns.value.forEach(M=>{M.filteredValue&&M.filteredValue.length&&r.store.commit("filterChange",{column:M,values:M.filteredValue,silent:!0})}),r.$ready=!0});const E=($,B)=>{if(!$)return;const M=Array.from($.classList).filter(I=>!I.startsWith("is-scrolling-"));M.push(n.scrollX.value?B:"is-scrolling-none"),$.className=M.join(" ")},v=$=>{const{tableWrapper:B}=r.refs;E(B,$)},N=$=>{const{tableWrapper:B}=r.refs;return!!(B&&B.classList.contains($))},P=function(){if(!r.refs.scrollBarRef)return;if(!n.scrollX.value){const W="is-scrolling-none";N(W)||v(W);return}const $=r.refs.scrollBarRef.wrapRef;if(!$)return;const{scrollLeft:B,offsetWidth:M,scrollWidth:I}=$,{headerWrapper:z,footerWrapper:F}=r.refs;z&&(z.scrollLeft=B),F&&(F.scrollLeft=B);const A=I-M-1;B>=A?v("is-scrolling-right"):v(B===0?"is-scrolling-left":"is-scrolling-middle")},T=()=>{r.refs.scrollBarRef&&(r.refs.scrollBarRef.wrapRef&&nt(r.refs.scrollBarRef.wrapRef,"scroll",P,{passive:!0}),t.fit?yt(r.vnode.el,V):nt(window,"resize",V),yt(r.refs.tableInnerWrapper,()=>{var $,B;V(),(B=($=r.refs)==null?void 0:$.scrollBarRef)==null||B.update()}))},V=()=>{var $,B,M,I;const z=r.vnode.el;if(!r.$ready||!z)return;let F=!1;const{width:A,height:W,headerHeight:j}=c.value,G=f.value=z.offsetWidth;A!==G&&(F=!0);const X=z.offsetHeight;(t.height||C.value)&&W!==X&&(F=!0);const Q=t.tableLayout==="fixed"?r.refs.headerWrapper:($=r.refs.tableHeaderRef)==null?void 0:$.$el;t.showHeader&&(Q==null?void 0:Q.offsetHeight)!==j&&(F=!0),p.value=((B=r.refs.tableWrapper)==null?void 0:B.scrollHeight)||0,m.value=(Q==null?void 0:Q.scrollHeight)||0,h.value=((M=r.refs.footerWrapper)==null?void 0:M.offsetHeight)||0,b.value=((I=r.refs.appendWrapper)==null?void 0:I.offsetHeight)||0,g.value=p.value-m.value-h.value-b.value,F&&(c.value={width:G,height:X,headerHeight:t.showHeader&&(Q==null?void 0:Q.offsetHeight)||0},S())},x=zt(),O=e.computed(()=>{const{bodyWidth:$,scrollY:B,gutterWidth:M}=n;return $.value?`${$.value-(B.value?M:0)}px`:""}),D=e.computed(()=>t.maxHeight?"fixed":t.tableLayout),L=e.computed(()=>{if(t.data&&t.data.length)return;let $="100%";t.height&&g.value&&($=`${g.value}px`);const B=f.value;return{width:B?`${B}px`:"",height:$}}),H=e.computed(()=>t.height?{height:"100%"}:t.maxHeight?Number.isNaN(Number(t.maxHeight))?{maxHeight:`calc(${t.maxHeight} - ${m.value+h.value}px)`}:{maxHeight:`${+t.maxHeight-m.value-h.value}px`}:{});return{isHidden:a,renderExpanded:l,setDragVisible:i,isGroup:d,handleMouseLeave:y,handleHeaderFooterMousewheel:k,tableSize:x,emptyBlockStyle:L,resizeProxyVisible:s,bodyWidth:O,resizeState:c,doLayout:S,tableBodyStyles:w,tableLayout:D,scrollbarViewStyle:u,scrollbarStyle:H}}function iX(t){let n;const o=()=>{const a=t.vnode.el.querySelector(".hidden-columns"),l={childList:!0,subtree:!0},s=t.store.states.updateOrderFns;n=new MutationObserver(()=>{s.forEach(i=>i())}),n.observe(a,l)};e.onMounted(()=>{o()}),e.onUnmounted(()=>{n==null||n.disconnect()})}var cX={data:{type:Array,default:()=>[]},size:Ht,width:[String,Number],height:[String,Number],maxHeight:[String,Number],fit:{type:Boolean,default:!0},stripe:Boolean,border:Boolean,rowKey:[String,Function],showHeader:{type:Boolean,default:!0},showSummary:Boolean,sumText:String,summaryMethod:Function,rowClassName:[String,Function],rowStyle:[Object,Function],cellClassName:[String,Function],cellStyle:[Object,Function],headerRowClassName:[String,Function],headerRowStyle:[Object,Function],headerCellClassName:[String,Function],headerCellStyle:[Object,Function],highlightCurrentRow:Boolean,currentRowKey:[String,Number],emptyText:String,expandRowKeys:Array,defaultExpandAll:Boolean,rowExpandable:{type:Function},defaultSort:Object,tooltipEffect:String,tooltipOptions:Object,spanMethod:Function,selectOnIndeterminate:{type:Boolean,default:!0},indent:{type:Number,default:16},treeProps:{type:Object,default:()=>({hasChildren:"hasChildren",children:"children",checkStrictly:!1})},lazy:Boolean,load:Function,style:{type:[String,Object,Array],default:()=>({})},className:{type:String,default:""},tableLayout:{type:String,default:"fixed"},scrollbarAlwaysOn:Boolean,flexible:Boolean,showOverflowTooltip:[Boolean,Object],tooltipFormatter:Function,appendFilterPanelTo:String,scrollbarTabindex:{type:[Number,String],default:void 0},allowDragLastColumn:{type:Boolean,default:!0},preserveExpandedContent:Boolean,nativeScrollbar:Boolean};function y2(t){const n=t.tableLayout==="auto";let o=t.columns||[];n&&o.every(({width:a})=>Xe(a))&&(o=[]);const r=a=>{const l={key:`${t.tableLayout}_${a.id}`,style:{},name:void 0};return n?l.style={width:`${a.width}px`}:l.name=a.id,l};return e.h("colgroup",{},o.map(a=>e.h("col",r(a))))}y2.props=["columns","tableLayout"];const dX=()=>{const t=e.ref(),n=(l,s)=>{const i=t.value;i&&i.scrollTo(l,s)},o=(l,s)=>{const i=t.value;i&&pe(s)&&["Top","Left"].includes(l)&&i[`setScroll${l}`](s)};return{scrollBarRef:t,scrollTo:n,setScrollTop:l=>o("Top",l),setScrollLeft:l=>o("Left",l)}};let uX=1;var fX=e.defineComponent({name:"ElTable",directives:{Mousewheel:nS},components:{TableHeader:qq,TableBody:nX,TableFooter:aX,ElScrollbar:mo,hColgroup:y2},props:cX,emits:["select","select-all","selection-change","cell-mouse-enter","cell-mouse-leave","cell-contextmenu","cell-click","cell-dblclick","row-click","row-contextmenu","row-dblclick","header-click","header-contextmenu","sort-change","filter-change","current-change","header-dragend","expand-change","scroll"],setup(t){const{t:n}=je(),o=ee("table"),r=e.getCurrentInstance();e.provide(Ro,r);const a=Iq(r,t);r.store=a;const l=new Dq({store:r.store,table:r,fit:t.fit,showHeader:t.showHeader});r.layout=l;const s=e.computed(()=>(a.states.data.value||[]).length===0),{setCurrentRow:i,getSelectionRows:c,toggleRowSelection:d,clearSelection:u,clearFilter:f,toggleAllSelection:p,toggleRowExpansion:g,clearSort:m,sort:h,updateKeyChildren:b}=lX(a),{isHidden:y,renderExpanded:k,setDragVisible:C,isGroup:w,handleMouseLeave:S,handleHeaderFooterMousewheel:E,tableSize:v,emptyBlockStyle:N,resizeProxyVisible:P,bodyWidth:T,resizeState:V,doLayout:x,tableBodyStyles:O,tableLayout:D,scrollbarViewStyle:L,scrollbarStyle:H}=sX(t,l,a,r),{scrollBarRef:$,scrollTo:B,setScrollLeft:M,setScrollTop:I}=dX(),z=Eo(x,50),F=`${o.namespace.value}-table_${uX++}`;r.tableId=F,r.state={isGroup:w,resizeState:V,doLayout:x,debouncedUpdateLayout:z};const A=e.computed(()=>{var G;return(G=t.sumText)!=null?G:n("el.table.sumText")}),W=e.computed(()=>{var G;return(G=t.emptyText)!=null?G:n("el.table.emptyText")}),j=e.computed(()=>b2(a.states.originColumns.value)[0]);return iX(r),e.onBeforeUnmount(()=>{z.cancel()}),{ns:o,layout:l,store:a,columns:j,handleHeaderFooterMousewheel:E,handleMouseLeave:S,tableId:F,tableSize:v,isHidden:y,isEmpty:s,renderExpanded:k,resizeProxyVisible:P,resizeState:V,isGroup:w,bodyWidth:T,tableBodyStyles:O,emptyBlockStyle:N,debouncedUpdateLayout:z,setCurrentRow:i,getSelectionRows:c,toggleRowSelection:d,clearSelection:u,clearFilter:f,toggleAllSelection:p,toggleRowExpansion:g,clearSort:m,doLayout:x,sort:h,updateKeyChildren:b,t:n,setDragVisible:C,context:r,computedSumText:A,computedEmptyText:W,tableLayout:D,scrollbarViewStyle:L,scrollbarStyle:H,scrollBarRef:$,scrollTo:B,setScrollLeft:M,setScrollTop:I,allowDragLastColumn:t.allowDragLastColumn}}});const mX=["data-prefix"],pX={ref:"hiddenColumns",class:"hidden-columns"};function hX(t,n,o,r,a,l){const s=e.resolveComponent("hColgroup"),i=e.resolveComponent("table-header"),c=e.resolveComponent("table-body"),d=e.resolveComponent("table-footer"),u=e.resolveComponent("el-scrollbar"),f=e.resolveDirective("mousewheel");return e.openBlock(),e.createElementBlock("div",{ref:"tableWrapper",class:e.normalizeClass([{[t.ns.m("fit")]:t.fit,[t.ns.m("striped")]:t.stripe,[t.ns.m("border")]:t.border||t.isGroup,[t.ns.m("hidden")]:t.isHidden,[t.ns.m("group")]:t.isGroup,[t.ns.m("fluid-height")]:t.maxHeight,[t.ns.m("scrollable-x")]:t.layout.scrollX.value,[t.ns.m("scrollable-y")]:t.layout.scrollY.value,[t.ns.m("enable-row-hover")]:!t.store.states.isComplex.value,[t.ns.m("enable-row-transition")]:(t.store.states.data.value||[]).length!==0&&(t.store.states.data.value||[]).length<100,"has-footer":t.showSummary},t.ns.m(t.tableSize),t.className,t.ns.b(),t.ns.m(`layout-${t.tableLayout}`)]),style:e.normalizeStyle(t.style),"data-prefix":t.ns.namespace.value,onMouseleave:n[1]||(n[1]=(...p)=>t.handleMouseLeave&&t.handleMouseLeave(...p))},[e.createElementVNode("div",{ref:"tableInnerWrapper",class:e.normalizeClass(t.ns.e("inner-wrapper"))},[e.createElementVNode("div",pX,[e.renderSlot(t.$slots,"default")],512),t.showHeader&&t.tableLayout==="fixed"?e.withDirectives((e.openBlock(),e.createElementBlock("div",{key:0,ref:"headerWrapper",class:e.normalizeClass(t.ns.e("header-wrapper"))},[e.createElementVNode("table",{ref:"tableHeader",class:e.normalizeClass(t.ns.e("header")),style:e.normalizeStyle(t.tableBodyStyles),border:"0",cellpadding:"0",cellspacing:"0"},[e.createVNode(s,{columns:t.store.states.columns.value,"table-layout":t.tableLayout},null,8,["columns","table-layout"]),e.createVNode(i,{ref:"tableHeaderRef",border:t.border,"default-sort":t.defaultSort,store:t.store,"append-filter-panel-to":t.appendFilterPanelTo,"allow-drag-last-column":t.allowDragLastColumn,onSetDragVisible:t.setDragVisible},null,8,["border","default-sort","store","append-filter-panel-to","allow-drag-last-column","onSetDragVisible"])],6)],2)),[[f,t.handleHeaderFooterMousewheel]]):e.createCommentVNode("v-if",!0),e.createElementVNode("div",{ref:"bodyWrapper",class:e.normalizeClass(t.ns.e("body-wrapper"))},[e.createVNode(u,{ref:"scrollBarRef","view-style":t.scrollbarViewStyle,"wrap-style":t.scrollbarStyle,always:t.scrollbarAlwaysOn,tabindex:t.scrollbarTabindex,native:t.nativeScrollbar,onScroll:n[0]||(n[0]=p=>t.$emit("scroll",p))},{default:e.withCtx(()=>[e.createElementVNode("table",{ref:"tableBody",class:e.normalizeClass(t.ns.e("body")),cellspacing:"0",cellpadding:"0",border:"0",style:e.normalizeStyle({width:t.bodyWidth,tableLayout:t.tableLayout})},[e.createVNode(s,{columns:t.store.states.columns.value,"table-layout":t.tableLayout},null,8,["columns","table-layout"]),t.showHeader&&t.tableLayout==="auto"?(e.openBlock(),e.createBlock(i,{key:0,ref:"tableHeaderRef",class:e.normalizeClass(t.ns.e("body-header")),border:t.border,"default-sort":t.defaultSort,store:t.store,"append-filter-panel-to":t.appendFilterPanelTo,onSetDragVisible:t.setDragVisible},null,8,["class","border","default-sort","store","append-filter-panel-to","onSetDragVisible"])):e.createCommentVNode("v-if",!0),e.createVNode(c,{context:t.context,highlight:t.highlightCurrentRow,"row-class-name":t.rowClassName,"tooltip-effect":t.tooltipEffect,"tooltip-options":t.tooltipOptions,"row-style":t.rowStyle,store:t.store,stripe:t.stripe},null,8,["context","highlight","row-class-name","tooltip-effect","tooltip-options","row-style","store","stripe"]),t.showSummary&&t.tableLayout==="auto"?(e.openBlock(),e.createBlock(d,{key:1,class:e.normalizeClass(t.ns.e("body-footer")),border:t.border,"default-sort":t.defaultSort,store:t.store,"sum-text":t.computedSumText,"summary-method":t.summaryMethod},null,8,["class","border","default-sort","store","sum-text","summary-method"])):e.createCommentVNode("v-if",!0)],6),t.isEmpty?(e.openBlock(),e.createElementBlock("div",{key:0,ref:"emptyBlock",style:e.normalizeStyle(t.emptyBlockStyle),class:e.normalizeClass(t.ns.e("empty-block"))},[e.createElementVNode("span",{class:e.normalizeClass(t.ns.e("empty-text"))},[e.renderSlot(t.$slots,"empty",{},()=>[e.createTextVNode(e.toDisplayString(t.computedEmptyText),1)])],2)],6)):e.createCommentVNode("v-if",!0),t.$slots.append?(e.openBlock(),e.createElementBlock("div",{key:1,ref:"appendWrapper",class:e.normalizeClass(t.ns.e("append-wrapper"))},[e.renderSlot(t.$slots,"append")],2)):e.createCommentVNode("v-if",!0)]),_:3},8,["view-style","wrap-style","always","tabindex","native"])],2),t.showSummary&&t.tableLayout==="fixed"?e.withDirectives((e.openBlock(),e.createElementBlock("div",{key:1,ref:"footerWrapper",class:e.normalizeClass(t.ns.e("footer-wrapper"))},[e.createElementVNode("table",{class:e.normalizeClass(t.ns.e("footer")),cellspacing:"0",cellpadding:"0",border:"0",style:e.normalizeStyle(t.tableBodyStyles)},[e.createVNode(s,{columns:t.store.states.columns.value,"table-layout":t.tableLayout},null,8,["columns","table-layout"]),e.createVNode(d,{border:t.border,"default-sort":t.defaultSort,store:t.store,"sum-text":t.computedSumText,"summary-method":t.summaryMethod},null,8,["border","default-sort","store","sum-text","summary-method"])],6)],2)),[[e.vShow,!t.isEmpty],[f,t.handleHeaderFooterMousewheel]]):e.createCommentVNode("v-if",!0),t.border||t.isGroup?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(t.ns.e("border-left-patch"))},null,2)):e.createCommentVNode("v-if",!0)],2),e.withDirectives(e.createElementVNode("div",{ref:"resizeProxy",class:e.normalizeClass(t.ns.e("column-resize-proxy"))},null,2),[[e.vShow,t.resizeProxyVisible]])],46,mX)}var gX=Ut(fX,[["render",hX]]);const bX={selection:"table-column--selection",expand:"table__expand-column"},yX={default:{order:""},selection:{width:48,minWidth:48,realWidth:48,order:""},expand:{width:48,minWidth:48,realWidth:48,order:""},index:{width:48,minWidth:48,realWidth:48,order:""}},CX=t=>bX[t]||"",wX={selection:{renderHeader({store:t}){var n;function o(){return t.states.data.value&&t.states.data.value.length===0}return e.h(ho,{disabled:o(),size:t.states.tableSize.value,indeterminate:t.states.selection.value.length>0&&!t.states.isAllSelected.value,"onUpdate:modelValue":(n=t.toggleAllSelection)!=null?n:void 0,modelValue:t.states.isAllSelected.value,ariaLabel:t.t("el.table.selectAllLabel")})},renderCell({row:t,column:n,store:o,$index:r}){return e.h(ho,{disabled:n.selectable?!n.selectable.call(null,t,r):!1,size:o.states.tableSize.value,onChange:()=>{o.commit("rowSelectedChanged",t)},onClick:a=>a.stopPropagation(),modelValue:o.isSelected(t),ariaLabel:o.t("el.table.selectRowLabel")})},sortable:!1,resizable:!1},index:{renderHeader({column:t}){return t.label||"#"},renderCell({column:t,$index:n}){let o=n+1;const r=t.index;return pe(r)?o=n+r:Ae(r)&&(o=r(n)),e.h("div",{},[o])},sortable:!1},expand:{renderHeader({column:t}){return t.label||""},renderCell({column:t,row:n,store:o,expanded:r,$index:a}){var l,s,i;const{ns:c}=o,d=[c.e("expand-icon")];!t.renderExpand&&r&&d.push(c.em("expand-icon","expanded"));const u=function(p){p.stopPropagation(),o.toggleRowExpansion(n)},f=(i=(s=(l=o.states.rowExpandable).value)==null?void 0:s.call(l,n,a))!=null?i:!0;return f||d.push(c.is("disabled")),e.h("button",{type:"button",disabled:!f,"aria-label":o.t(r?"el.table.collapseRowLabel":"el.table.expandRowLabel"),"aria-expanded":r,class:d,onClick:u},{default:()=>t.renderExpand?[t.renderExpand({expanded:r,expandable:f})]:[e.h(ce,null,{default:()=>[e.h(Cn)]})]})},sortable:!1,resizable:!1}};function kX({row:t,column:n,$index:o}){var r;const a=n.property,l=a&&Ja(t,a).value;return n&&n.formatter?n.formatter(t,n,l,o):((r=l==null?void 0:l.toString)==null?void 0:r.call(l))||""}function SX({row:t,treeNode:n,store:o},r=!1){const{ns:a}=o;if(!n)return r?[e.h("span",{class:a.e("placeholder")})]:null;const l=[],s=function(i){i.stopPropagation(),!n.loading&&o.loadOrToggle(t)};if(n.indent&&l.push(e.h("span",{class:a.e("indent"),style:{"padding-left":`${n.indent}px`}})),ct(n.expanded)&&!n.noLazyChildren){const i=[a.e("expand-icon"),n.expanded?a.em("expand-icon","expanded"):""];let c=Cn;n.loading&&(c=Uo),l.push(e.h("button",{type:"button","aria-label":o.t(n.expanded?"el.table.collapseRowLabel":"el.table.expandRowLabel"),"aria-expanded":n.expanded,class:i,onClick:s},{default:()=>[e.h(ce,{class:a.is("loading",n.loading)},{default:()=>[e.h(c)]})]}))}else l.push(e.h("span",{class:a.e("placeholder")}));return l}function C2(t,n){return t.reduce((o,r)=>(o[r]=r,o),n)}function EX(t,n){const o=e.getCurrentInstance();return{registerComplexWatchers:()=>{const l=["fixed"],s={realWidth:"width",realMinWidth:"minWidth"},i=C2(l,s);Object.keys(i).forEach(c=>{const d=s[c];Qt(n,d)&&e.watch(()=>n[d],u=>{let f=u;d==="width"&&c==="realWidth"&&(f=Sh(u)),d==="minWidth"&&c==="realMinWidth"&&(f=i2(u)),o.columnConfig.value[d]=f,o.columnConfig.value[c]=f;const p=d==="fixed";t.value.store.scheduleLayout(p)})})},registerNormalWatchers:()=>{const l=["label","filters","filterMultiple","filteredValue","sortable","index","formatter","className","labelClassName","filterClassName","showOverflowTooltip","tooltipFormatter","resizable"],s=["showOverflowTooltip"],i={property:"prop",align:"realAlign",headerAlign:"realHeaderAlign"},c=C2(l,i);Object.keys(c).forEach(d=>{const u=i[d];Qt(n,u)&&e.watch(()=>n[u],f=>{o.columnConfig.value[d]=f,(d==="filters"||d==="filterMethod")&&(o.columnConfig.value.filterable=!!(o.columnConfig.value.filters||o.columnConfig.value.filterMethod))})}),s.forEach(d=>{Qt(t.value.props,d)&&e.watch(()=>t.value.props[d],u=>{o.columnConfig.value.type!=="selection"&&Xe(n[d])&&(o.columnConfig.value[d]=u)})})}}}function vX(t,n,o){const r=e.getCurrentInstance(),a=e.ref(""),l=e.ref(!1),s=e.ref(),i=e.ref(),c=ee("table");e.watchEffect(()=>{s.value=t.align?`is-${t.align}`:null,s.value}),e.watchEffect(()=>{i.value=t.headerAlign?`is-${t.headerAlign}`:s.value,i.value});const d=e.computed(()=>{let w=r.vnode.vParent||r.parent;for(;w&&!w.tableId&&!w.columnId;)w=w.vnode.vParent||w.parent;return w}),u=e.computed(()=>{const{store:w}=r.parent;if(!w)return!1;const{treeData:S}=w.states,E=S.value;return E&&Object.keys(E).length>0}),f=e.ref(Sh(t.width)),p=e.ref(i2(t.minWidth)),g=w=>(f.value&&(w.width=f.value),p.value&&(w.minWidth=p.value),!f.value&&p.value&&(w.width=void 0),w.minWidth||(w.minWidth=80),w.realWidth=Number(Xe(w.width)?w.minWidth:w.width),w),m=w=>{const S=w.type,E=wX[S]||{};Object.keys(E).forEach(N=>{const P=E[N];N!=="className"&&!Xe(P)&&(w[N]=P)});const v=CX(S);if(v){const N=`${e.unref(c.namespace)}-${v}`;w.className=w.className?`${w.className} ${N}`:N}return w},h=w=>{ie(w)?w.forEach(E=>S(E)):S(w);function S(E){var v;((v=E==null?void 0:E.type)==null?void 0:v.name)==="ElTableColumn"&&(E.vParent=r)}};return{columnId:a,realAlign:s,isSubColumn:l,realHeaderAlign:i,columnOrTableParent:d,setColumnWidth:g,setColumnForcedProps:m,setColumnRenders:w=>{t.renderHeader||w.type!=="selection"&&(w.renderHeader=E=>{if(r.columnConfig.value.label,n.header){const v=n.header(E);if(m2(v))return e.h(e.Fragment,v)}return e.createTextVNode(w.label)}),n["filter-icon"]&&(w.renderFilterIcon=E=>e.renderSlot(n,"filter-icon",E)),n.expand&&(w.renderExpand=E=>e.renderSlot(n,"expand",E));let S=w.renderCell;return w.type==="expand"?(w.renderCell=E=>e.h("div",{class:"cell"},[S(E)]),o.value.renderExpanded=E=>n.default?n.default(E):n.default):(S=S||kX,w.renderCell=E=>{let v=null;if(n.default){const O=n.default(E);v=O.some(D=>D.type!==e.Comment)?O:S(E)}else v=S(E);const{columns:N}=o.value.store.states,P=N.value.findIndex(O=>O.type==="default"),T=u.value&&E.cellIndex===P,V=SX(E,T),x={class:"cell",style:{}};return w.showOverflowTooltip&&(x.class=`${x.class} ${e.unref(c.namespace)}-tooltip`,x.style={width:`${(E.column.realWidth||Number(E.column.width))-1}px`}),h(v),e.h("div",x,[V,v])}),w},getPropsData:(...w)=>w.reduce((S,E)=>(ie(E)&&E.forEach(v=>{S[v]=t[v]}),S),{}),getColumnElIndex:(w,S)=>Array.prototype.indexOf.call(w,S),updateColumnOrder:()=>{o.value.store.commit("updateColumnOrder",r.columnConfig.value)}}}var NX={type:{type:String,default:"default"},label:String,className:String,labelClassName:String,property:String,prop:String,width:{type:[String,Number],default:""},minWidth:{type:[String,Number],default:""},renderHeader:Function,sortable:{type:[Boolean,String],default:!1},sortMethod:Function,sortBy:[String,Function,Array],resizable:{type:Boolean,default:!0},columnKey:String,align:String,headerAlign:String,showOverflowTooltip:{type:[Boolean,Object],default:void 0},tooltipFormatter:Function,fixed:[Boolean,String],formatter:Function,selectable:Function,reserveSelection:Boolean,filterMethod:Function,filteredValue:Array,filters:Array,filterPlacement:String,filterMultiple:{type:Boolean,default:!0},filterClassName:String,index:[Number,Function],sortOrders:{type:Array,default:()=>["ascending","descending",null],validator:t=>t.every(n=>["ascending","descending",null].includes(n))}};let BX=1;var w2=e.defineComponent({name:"ElTableColumn",components:{ElCheckbox:ho},props:NX,setup(t,{slots:n}){const o=e.getCurrentInstance(),r=e.ref({}),a=e.computed(()=>{let C=o.parent;for(;C&&!C.tableId;)C=C.parent;return C}),{registerNormalWatchers:l,registerComplexWatchers:s}=EX(a,t),{columnId:i,isSubColumn:c,realHeaderAlign:d,columnOrTableParent:u,setColumnWidth:f,setColumnForcedProps:p,setColumnRenders:g,getPropsData:m,getColumnElIndex:h,realAlign:b,updateColumnOrder:y}=vX(t,n,a),k=u.value;i.value=`${"tableId"in k&&k.tableId||"columnId"in k&&k.columnId}_column_${BX++}`,e.onBeforeMount(()=>{c.value=a.value!==k;const C=t.type||"default",w=t.sortable===""?!0:t.sortable,S=C==="selection"?!1:Xe(t.showOverflowTooltip)?k.props.showOverflowTooltip:t.showOverflowTooltip,E=Xe(t.tooltipFormatter)?k.props.tooltipFormatter:t.tooltipFormatter,v={...yX[C],id:i.value,type:C,property:t.prop||t.property,align:b,headerAlign:d,showOverflowTooltip:S,tooltipFormatter:E,filterable:t.filters||t.filterMethod,filteredValue:[],filterPlacement:"",filterClassName:"",isColumnGroup:!1,isSubColumn:!1,filterOpened:!1,sortable:w,index:t.index,rawColumnKey:o.vnode.key};let x=m(["columnKey","label","className","labelClassName","type","renderHeader","formatter","fixed","resizable"],["sortMethod","sortBy","sortOrders"],["selectable","reserveSelection"],["filterMethod","filters","filterMultiple","filterOpened","filteredValue","filterPlacement","filterClassName"]);x=Sq(v,x),x=vq(g,f,p)(x),r.value=x,l(),s()}),e.onMounted(()=>{var C,w;const S=u.value,E=c.value?(C=S.vnode.el)==null?void 0:C.children:(w=S.refs.hiddenColumns)==null?void 0:w.children,v=()=>h(E||[],o.vnode.el);r.value.getColumnIndex=v,v()>-1&&a.value.store.commit("insertColumn",r.value,c.value?"columnConfig"in S&&S.columnConfig.value:null,y)}),e.onBeforeUnmount(()=>{const C=r.value.getColumnIndex;(C?C():-1)>-1&&a.value.store.commit("removeColumn",r.value,c.value?"columnConfig"in k&&k.columnConfig.value:null,y)}),o.columnId=i.value,o.columnConfig=r},render(){var t,n,o;try{const r=(n=(t=this.$slots).default)==null?void 0:n.call(t,{row:{},column:{},$index:-1}),a=[];if(ie(r))for(const s of r)((o=s.type)==null?void 0:o.name)==="ElTableColumn"||s.shapeFlag&2?a.push(s):s.type===e.Fragment&&ie(s.children)&&s.children.forEach(i=>{(i==null?void 0:i.patchFlag)!==1024&&!ve(i==null?void 0:i.children)&&a.push(i)});return e.h("div",a)}catch(r){return e.h("div",[])}}});const k2=Re(gX,{TableColumn:w2}),S2=Bt(w2);var Jr=(t=>(t.ASC="asc",t.DESC="desc",t))(Jr||{}),Rl=(t=>(t.LEFT="left",t.CENTER="center",t.RIGHT="right",t))(Rl||{}),Vh=(t=>(t.LEFT="left",t.RIGHT="right",t))(Vh||{});const Ph={asc:"desc",desc:"asc"},Ml=Symbol("placeholder"),TX=(t,n,o)=>{var r,a,l;const s={flexGrow:0,flexShrink:0,...o?{}:{flexGrow:(r=t.flexGrow)!=null?r:0,flexShrink:(a=t.flexShrink)!=null?a:1}},i={...(l=t.style)!=null?l:{},...s,flexBasis:"auto",width:t.width};return n||(t.maxWidth&&(i.maxWidth=t.maxWidth),t.minWidth&&(i.minWidth=t.minWidth)),i};function xX(t,n,o){const r=e.computed(()=>e.unref(n).map((b,y)=>{var k,C;return{...b,key:(C=(k=b.key)!=null?k:b.dataKey)!=null?C:y}})),a=e.computed(()=>e.unref(r).filter(b=>!b.hidden)),l=e.computed(()=>e.unref(a).filter(b=>b.fixed==="left"||b.fixed===!0)),s=e.computed(()=>e.unref(a).filter(b=>b.fixed==="right")),i=e.computed(()=>e.unref(a).filter(b=>!b.fixed)),c=e.computed(()=>{const b=[];return e.unref(l).forEach(y=>{b.push({...y,placeholderSign:Ml})}),e.unref(i).forEach(y=>{b.push(y)}),e.unref(s).forEach(y=>{b.push({...y,placeholderSign:Ml})}),b}),d=e.computed(()=>e.unref(l).length||e.unref(s).length),u=e.computed(()=>e.unref(r).reduce((b,y)=>(b[y.key]=TX(y,e.unref(o),t.fixed),b),{})),f=e.computed(()=>e.unref(a).reduce((b,y)=>b+y.width,0)),p=b=>e.unref(r).find(y=>y.key===b),g=b=>e.unref(u)[b],m=(b,y)=>{b.width=y};function h(b){var y;const{key:k}=b.currentTarget.dataset;if(!k)return;const{sortState:C,sortBy:w}=t;let S=Jr.ASC;tt(C)?S=Ph[C[k]]:S=Ph[w.order],(y=t.onColumnSort)==null||y.call(t,{column:p(k),key:k,order:S})}return{columns:r,columnsStyles:u,columnsTotalWidth:f,fixedColumnsOnLeft:l,fixedColumnsOnRight:s,hasFixedColumns:d,mainColumns:c,normalColumns:i,visibleColumns:a,getColumn:p,getColumnStyle:g,updateColumnWidth:m,onColumnSorted:h}}const $X=(t,{mainTableRef:n,leftTableRef:o,rightTableRef:r,onMaybeEndReached:a})=>{const l=e.ref({scrollLeft:0,scrollTop:0});function s(g){var m,h,b;const{scrollTop:y}=g;(m=n.value)==null||m.scrollTo(g),(h=o.value)==null||h.scrollToTop(y),(b=r.value)==null||b.scrollToTop(y)}function i(g){l.value=g,s(g)}function c(g){l.value.scrollTop=g,s(e.unref(l))}function d(g){var m,h;l.value.scrollLeft=g,(h=(m=n.value)==null?void 0:m.scrollTo)==null||h.call(m,e.unref(l))}function u(g){var m;i(g),(m=t.onScroll)==null||m.call(t,g)}function f({scrollTop:g}){const{scrollTop:m}=e.unref(l);g!==m&&c(g)}function p(g,m="auto"){var h;(h=n.value)==null||h.scrollToRow(g,m)}return e.watch(()=>e.unref(l).scrollTop,(g,m)=>{g>m&&a()}),{scrollPos:l,scrollTo:i,scrollToLeft:d,scrollToTop:c,scrollToRow:p,onScroll:u,onVerticalScroll:f}},VX=(t,{mainTableRef:n,leftTableRef:o,rightTableRef:r,tableInstance:a,ns:l,isScrolling:s})=>{const i=e.getCurrentInstance(),{emit:c}=i,d=e.shallowRef(!1),u=e.ref(t.defaultExpandedRowKeys||[]),f=e.ref(-1),p=e.shallowRef(null),g=e.ref({}),m=e.ref({}),h=e.shallowRef({}),b=e.shallowRef({}),y=e.shallowRef({}),k=e.computed(()=>pe(t.estimatedRowHeight));function C(T){var V;(V=t.onRowsRendered)==null||V.call(t,T),T.rowCacheEnd>e.unref(f)&&(f.value=T.rowCacheEnd)}function w({hovered:T,rowKey:V}){if(s.value)return;a.vnode.el.querySelectorAll(`[rowkey="${String(V)}"]`).forEach(D=>{T?D.classList.add(l.is("hovered")):D.classList.remove(l.is("hovered"))})}function S({expanded:T,rowData:V,rowIndex:x,rowKey:O}){var D,L;const H=[...e.unref(u)],$=H.indexOf(O);T?$===-1&&H.push(O):$>-1&&H.splice($,1),u.value=H,c("update:expandedRowKeys",H),(D=t.onRowExpand)==null||D.call(t,{expanded:T,rowData:V,rowIndex:x,rowKey:O}),(L=t.onExpandedRowsChange)==null||L.call(t,H),a.vnode.el.querySelector(`.${l.is("hovered")}[rowkey="${String(O)}"]`)&&e.nextTick(()=>w({hovered:!0,rowKey:O}))}const E=Eo(()=>{var T,V,x,O;d.value=!0,g.value={...e.unref(g),...e.unref(m)},v(e.unref(p),!1),m.value={},p.value=null,(T=n.value)==null||T.forceUpdate(),(V=o.value)==null||V.forceUpdate(),(x=r.value)==null||x.forceUpdate(),(O=i.proxy)==null||O.$forceUpdate(),d.value=!1},0);function v(T,V=!1){e.unref(k)&&[n,o,r].forEach(x=>{const O=e.unref(x);O&&O.resetAfterRowIndex(T,V)})}function N(T,V,x){const O=e.unref(p);(O===null||O>x)&&(p.value=x),m.value[T]=V}function P({rowKey:T,height:V,rowIndex:x},O){O?O===Vh.RIGHT?y.value[T]=V:h.value[T]=V:b.value[T]=V;const D=Math.max(...[h,y,b].map(L=>L.value[T]||0));e.unref(g)[T]!==D&&(N(T,D,x),E())}return{expandedRowKeys:u,lastRenderedRowIndex:f,isDynamic:k,isResetting:d,rowHeights:g,resetAfterIndex:v,onRowExpanded:S,onRowHovered:w,onRowsRendered:C,onRowHeightChange:P}},PX=(t,{expandedRowKeys:n,lastRenderedRowIndex:o,resetAfterIndex:r})=>{const a=e.ref({}),l=e.computed(()=>{const i={},{data:c,rowKey:d}=t,u=e.unref(n);if(!u||!u.length)return c;const f=[],p=new Set;u.forEach(m=>p.add(m));let g=c.slice();for(g.forEach(m=>i[m[d]]=0);g.length>0;){const m=g.shift();f.push(m),p.has(m[d])&&ie(m.children)&&m.children.length>0&&(g=[...m.children,...g],m.children.forEach(h=>i[h[d]]=i[m[d]]+1))}return a.value=i,f}),s=e.computed(()=>{const{data:i,expandColumnKey:c}=t;return c?e.unref(l):i});return e.watch(s,(i,c)=>{i!==c&&(o.value=-1,r(0,!0))}),{data:s,depthMap:a}},RX=(t,n)=>t+n,wd=t=>ie(t)?t.reduce(RX,0):t,Na=(t,n,o={})=>Ae(t)?t(n):t!=null?t:o,Qr=t=>(["width","maxWidth","minWidth","height"].forEach(n=>{t[n]=$t(t[n])}),t),E2=t=>e.isVNode(t)?n=>e.h(t,n):t,MX=(t,{columnsTotalWidth:n,rowsHeight:o,fixedColumnsOnLeft:r,fixedColumnsOnRight:a})=>{const l=e.computed(()=>{const{fixed:y,width:k,vScrollbarSize:C}=t,w=k-C;return y?Math.max(Math.round(e.unref(n)),w):w}),s=e.computed(()=>{const{height:y=0,maxHeight:k=0,footerHeight:C,hScrollbarSize:w}=t;if(k>0){const S=e.unref(p),E=e.unref(o),N=e.unref(f)+S+E+w;return Math.min(N,k-C)}return y-C}),i=e.computed(()=>{const{maxHeight:y}=t,k=e.unref(s);if(pe(y)&&y>0)return k;const C=e.unref(o)+e.unref(f)+e.unref(p);return Math.min(k,C)}),c=y=>y.width,d=e.computed(()=>wd(e.unref(r).map(c))),u=e.computed(()=>wd(e.unref(a).map(c))),f=e.computed(()=>wd(t.headerHeight)),p=e.computed(()=>{var y;return(((y=t.fixedData)==null?void 0:y.length)||0)*t.rowHeight}),g=e.computed(()=>e.unref(s)-e.unref(f)-e.unref(p)),m=e.computed(()=>{const{style:y={},height:k,width:C}=t;return Qr({...y,height:k,width:C})}),h=e.computed(()=>Qr({height:t.footerHeight})),b=e.computed(()=>({top:$t(e.unref(f)),bottom:$t(t.footerHeight),width:$t(t.width)}));return{bodyWidth:l,fixedTableHeight:i,mainTableHeight:s,leftTableWidth:d,rightTableWidth:u,windowHeight:g,footerHeight:h,emptyStyle:b,rootStyle:m,headerHeight:f}},IX=t=>{const n=e.ref(),o=e.ref(0),r=e.ref(0);let a;return e.onMounted(()=>{a=yt(n,([l])=>{const{width:s,height:i}=l.contentRect,{paddingLeft:c,paddingRight:d,paddingTop:u,paddingBottom:f}=getComputedStyle(l.target),p=Number.parseInt(c)||0,g=Number.parseInt(d)||0,m=Number.parseInt(u)||0,h=Number.parseInt(f)||0;o.value=s-p-g,r.value=i-m-h}).stop}),e.onBeforeUnmount(()=>{a==null||a()}),e.watch([o,r],([l,s])=>{var i;(i=t.onResize)==null||i.call(t,{width:l,height:s})}),{sizer:n,width:o,height:r}};function OX(t){const n=e.ref(),o=e.ref(),r=e.ref(),{columns:a,columnsStyles:l,columnsTotalWidth:s,fixedColumnsOnLeft:i,fixedColumnsOnRight:c,hasFixedColumns:d,mainColumns:u,onColumnSorted:f}=xX(t,e.toRef(t,"columns"),e.toRef(t,"fixed")),{scrollTo:p,scrollToLeft:g,scrollToTop:m,scrollToRow:h,onScroll:b,onVerticalScroll:y,scrollPos:k}=$X(t,{mainTableRef:n,leftTableRef:o,rightTableRef:r,onMaybeEndReached:le}),C=ee("table-v2"),w=e.getCurrentInstance(),S=e.shallowRef(!1),{expandedRowKeys:E,lastRenderedRowIndex:v,isDynamic:N,isResetting:P,rowHeights:T,resetAfterIndex:V,onRowExpanded:x,onRowHeightChange:O,onRowHovered:D,onRowsRendered:L}=VX(t,{mainTableRef:n,leftTableRef:o,rightTableRef:r,tableInstance:w,ns:C,isScrolling:S}),{data:H,depthMap:$}=PX(t,{expandedRowKeys:E,lastRenderedRowIndex:v,resetAfterIndex:V}),B=e.computed(()=>{const{estimatedRowHeight:ue,rowHeight:Ce}=t,Ee=e.unref(H);return pe(ue)?Object.values(e.unref(T)).reduce((Ve,Ie)=>Ve+Ie,0):Ee.length*Ce}),{bodyWidth:M,fixedTableHeight:I,mainTableHeight:z,leftTableWidth:F,rightTableWidth:A,windowHeight:W,footerHeight:j,emptyStyle:G,rootStyle:X,headerHeight:Q}=MX(t,{columnsTotalWidth:s,fixedColumnsOnLeft:i,fixedColumnsOnRight:c,rowsHeight:B}),J=e.ref(),Y=e.computed(()=>{const ue=e.unref(H).length===0;return ie(t.fixedData)?t.fixedData.length===0&&ue:ue});function _(ue){const{estimatedRowHeight:Ce,rowHeight:Ee,rowKey:Ve}=t;return Ce?e.unref(T)[e.unref(H)[ue][Ve]]||Ce:Ee}const q=e.ref(!1);function le(){const{onEndReached:ue}=t;if(!ue)return;const{scrollTop:Ce}=e.unref(k),Ee=e.unref(B),Ve=e.unref(W),Ie=Ee-(Ce+Ve)+t.hScrollbarSize;!q.value&&e.unref(v)>=0&&Ee<=Ce+e.unref(z)-e.unref(Q)?(q.value=!0,ue(Ie)):q.value=!1}return e.watch(()=>e.unref(B),()=>q.value=!1),e.watch(()=>t.expandedRowKeys,ue=>E.value=ue,{deep:!0}),{columns:a,containerRef:J,mainTableRef:n,leftTableRef:o,rightTableRef:r,isDynamic:N,isResetting:P,isScrolling:S,hasFixedColumns:d,columnsStyles:l,columnsTotalWidth:s,data:H,expandedRowKeys:E,depthMap:$,fixedColumnsOnLeft:i,fixedColumnsOnRight:c,mainColumns:u,bodyWidth:M,emptyStyle:G,rootStyle:X,footerHeight:j,mainTableHeight:z,fixedTableHeight:I,leftTableWidth:F,rightTableWidth:A,showEmpty:Y,getRowHeight:_,onColumnSorted:f,onRowHovered:D,onRowExpanded:x,onRowsRendered:L,onRowHeightChange:O,scrollTo:p,scrollToLeft:g,scrollToTop:m,scrollToRow:h,onScroll:b,onVerticalScroll:y}}const Rh=Symbol("tableV2"),v2="tableV2GridScrollLeft",N2=String,ni={type:K(Array),required:!0},Mh={type:K(Array)},B2={...Mh,required:!0},AX=String,T2={type:K(Array),default:()=>wt([])},Ba={type:Number,required:!0},x2={type:K([String,Number,Symbol]),default:"id"},$2={type:K(Object)},ea=oe({class:String,columns:ni,columnsStyles:{type:K(Object),required:!0},depth:Number,expandColumnKey:AX,estimatedRowHeight:{...Zr.estimatedRowHeight,default:void 0},isScrolling:Boolean,onRowExpand:{type:K(Function)},onRowHover:{type:K(Function)},onRowHeightChange:{type:K(Function)},rowData:{type:K(Object),required:!0},rowEventHandlers:{type:K(Object)},rowIndex:{type:Number,required:!0},rowKey:x2,style:{type:K(Object)}}),Ih={type:Number,required:!0},Oh=oe({class:String,columns:ni,fixedHeaderData:{type:K(Array)},headerData:{type:K(Array),required:!0},headerHeight:{type:K([Number,Array]),default:50},rowWidth:Ih,rowHeight:{type:Number,default:50},height:Ih,width:Ih}),kd=oe({columns:ni,data:B2,fixedData:Mh,estimatedRowHeight:ea.estimatedRowHeight,width:Ba,height:Ba,headerWidth:Ba,headerHeight:Oh.headerHeight,bodyWidth:Ba,rowHeight:Ba,cache:uh.cache,useIsScrolling:Boolean,scrollbarAlwaysOn:Zr.scrollbarAlwaysOn,scrollbarStartGap:Zr.scrollbarStartGap,scrollbarEndGap:Zr.scrollbarEndGap,class:N2,style:$2,containerStyle:$2,getRowHeight:{type:K(Function),required:!0},rowKey:ea.rowKey,onRowsRendered:{type:K(Function)},onScroll:{type:K(Function)}}),V2=oe({cache:kd.cache,estimatedRowHeight:ea.estimatedRowHeight,rowKey:x2,headerClass:{type:K([String,Function])},headerProps:{type:K([Object,Function])},headerCellProps:{type:K([Object,Function])},headerHeight:Oh.headerHeight,footerHeight:{type:Number,default:0},rowClass:{type:K([String,Function])},rowProps:{type:K([Object,Function])},rowHeight:{type:Number,default:50},cellProps:{type:K([Object,Function])},columns:ni,data:B2,dataGetter:{type:K(Function)},fixedData:Mh,expandColumnKey:ea.expandColumnKey,expandedRowKeys:T2,defaultExpandedRowKeys:T2,class:N2,fixed:Boolean,style:{type:K(Object)},width:Ba,height:Ba,maxHeight:Number,useIsScrolling:Boolean,indentSize:{type:Number,default:12},iconSize:{type:Number,default:12},hScrollbarSize:Zr.hScrollbarSize,vScrollbarSize:Zr.vScrollbarSize,scrollbarAlwaysOn:mh.alwaysOn,sortBy:{type:K(Object),default:()=>({})},sortState:{type:K(Object),default:void 0},onColumnSort:{type:K(Function)},onExpandedRowsChange:{type:K(Function)},onEndReached:{type:K(Function)},onRowExpand:ea.onRowExpand,onScroll:kd.onScroll,onRowsRendered:kd.onRowsRendered,rowEventHandlers:ea.rowEventHandlers}),Ah=(t,{slots:n})=>{var o;const{cellData:r,style:a}=t,l=((o=r==null?void 0:r.toString)==null?void 0:o.call(r))||"",s=e.renderSlot(n,"default",t,()=>[l]);return e.createVNode("div",{class:t.class,title:l,style:a},[s])};Ah.displayName="ElTableV2Cell",Ah.inheritAttrs=!1;const zh=(t,{slots:n})=>e.renderSlot(n,"default",t,()=>{var o,r;return[e.createVNode("div",{class:t.class,title:(o=t.column)==null?void 0:o.title},[(r=t.column)==null?void 0:r.title])]});zh.displayName="ElTableV2HeaderCell",zh.inheritAttrs=!1;const zX=oe({class:String,columns:ni,columnsStyles:{type:K(Object),required:!0},headerIndex:Number,style:{type:K(Object)}}),DX=e.defineComponent({name:"ElTableV2HeaderRow",props:zX,setup(t,{slots:n}){return()=>{const{columns:o,columnsStyles:r,headerIndex:a,style:l}=t;let s=o.map((i,c)=>n.cell({columns:o,column:i,columnIndex:c,headerIndex:a,style:r[i.key]}));return n.header&&(s=n.header({cells:s.map(i=>ie(i)&&i.length===1?i[0]:i),columns:o,headerIndex:a})),e.createVNode("div",{class:t.class,style:l,role:"row"},[s])}}}),LX=e.defineComponent({name:"ElTableV2Header",props:Oh,setup(t,{slots:n,expose:o}){const r=ee("table-v2"),a=e.inject(v2),l=e.ref(),s=e.computed(()=>Qr({width:t.width,height:t.height})),i=e.computed(()=>Qr({width:t.rowWidth,height:t.height})),c=e.computed(()=>Xt(e.unref(t.headerHeight))),d=p=>{const g=e.unref(l);e.nextTick(()=>{g!=null&&g.scroll&&g.scroll({left:p})})},u=()=>{const p=r.e("fixed-header-row"),{columns:g,fixedHeaderData:m,rowHeight:h}=t;return m==null?void 0:m.map((b,y)=>{var k;const C=Qr({height:h,width:"100%"});return(k=n.fixed)==null?void 0:k.call(n,{class:p,columns:g,rowData:b,rowIndex:-(y+1),style:C})})},f=()=>{const p=r.e("dynamic-header-row"),{columns:g}=t;return e.unref(c).map((m,h)=>{var b;const y=Qr({width:"100%",height:m});return(b=n.dynamic)==null?void 0:b.call(n,{class:p,columns:g,headerIndex:h,style:y})})};return e.onUpdated(()=>{a!=null&&a.value&&d(a.value)}),o({scrollToLeft:d}),()=>{if(!(t.height<=0))return e.createVNode("div",{ref:l,class:t.class,style:e.unref(s),role:"rowgroup"},[e.createVNode("div",{style:e.unref(i),class:r.e("header")},[f(),u()])])}}}),_X=t=>{const{isScrolling:n}=e.inject(Rh),o=e.ref(!1),r=e.ref(),a=e.computed(()=>pe(t.estimatedRowHeight)&&t.rowIndex>=0),l=(c=!1)=>{const d=e.unref(r);if(!d)return;const{columns:u,onRowHeightChange:f,rowKey:p,rowIndex:g,style:m}=t,{height:h}=d.getBoundingClientRect();o.value=!0,e.nextTick(()=>{if(c||h!==Number.parseInt(m.height)){const b=u[0],y=(b==null?void 0:b.placeholderSign)===Ml;f==null||f({rowKey:p,height:h,rowIndex:g},b&&!y&&b.fixed)}})},s=e.computed(()=>{const{rowData:c,rowIndex:d,rowKey:u,onRowHover:f}=t,p=t.rowEventHandlers||{},g={};return Object.entries(p).forEach(([m,h])=>{Ae(h)&&(g[m]=b=>{h({event:b,rowData:c,rowIndex:d,rowKey:u})})}),f&&[{name:"onMouseleave",hovered:!1},{name:"onMouseenter",hovered:!0}].forEach(({name:m,hovered:h})=>{const b=g[m];g[m]=y=>{f({event:y,hovered:h,rowData:c,rowIndex:d,rowKey:u}),b==null||b(y)}}),g}),i=c=>{const{onRowExpand:d,rowData:u,rowIndex:f,rowKey:p}=t;d==null||d({expanded:c,rowData:u,rowIndex:f,rowKey:p})};return e.onMounted(()=>{e.unref(a)&&l(!0)}),{isScrolling:n,measurable:a,measured:o,rowRef:r,eventHandlers:s,onExpand:i}},FX=e.defineComponent({name:"ElTableV2TableRow",props:ea,setup(t,{expose:n,slots:o,attrs:r}){const{eventHandlers:a,isScrolling:l,measurable:s,measured:i,rowRef:c,onExpand:d}=_X(t);return n({onExpand:d}),()=>{const{columns:u,columnsStyles:f,expandColumnKey:p,depth:g,rowData:m,rowIndex:h,style:b}=t;let y=u.map((k,C)=>{const w=ie(m.children)&&m.children.length>0&&k.key===p;return o.cell({column:k,columns:u,columnIndex:C,depth:g,style:f[k.key],rowData:m,rowIndex:h,isScrolling:e.unref(l),expandIconProps:w?{rowData:m,rowIndex:h,onExpand:d}:void 0})});if(o.row&&(y=o.row({cells:y.map(k=>ie(k)&&k.length===1?k[0]:k),style:b,columns:u,depth:g,rowData:m,rowIndex:h,isScrolling:e.unref(l)})),e.unref(s)){const{height:k,...C}=b||{},w=e.unref(i);return e.createVNode("div",e.mergeProps({ref:c,class:t.class,style:w?b:C,role:"row"},r,e.unref(a)),[y])}return e.createVNode("div",e.mergeProps(r,{ref:c,class:t.class,style:b,role:"row"},e.unref(a)),[y])}}}),HX=t=>{const{sortOrder:n}=t;return e.createVNode("button",{type:"button","aria-label":t.ariaLabel,class:t.class},[e.createVNode(ce,{size:14},{default:()=>[n===Jr.ASC?e.createVNode(TF,null,null):e.createVNode(NF,null,null)]})])},P2=t=>{const{expanded:n,expandable:o,onExpand:r,style:a,size:l,ariaLabel:s}=t,i={onClick:o?()=>r(!n):void 0,ariaLabel:s,ariaExpanded:n,class:t.class};return e.createVNode("button",e.mergeProps(i,{type:"button"}),[e.createVNode(ce,{size:l,style:a},{default:()=>[e.createVNode(Cn,null,null)]})])};P2.inheritAttrs=!1;const KX="ElTableV2Grid",WX=t=>{const n=e.ref(),o=e.ref(),r=e.ref(0),a=e.computed(()=>{const{data:b,rowHeight:y,estimatedRowHeight:k}=t;if(!k)return b.length*y}),l=e.computed(()=>{const{fixedData:b,rowHeight:y}=t;return((b==null?void 0:b.length)||0)*y}),s=e.computed(()=>wd(t.headerHeight)),i=e.computed(()=>{const{height:b}=t;return Math.max(0,b-e.unref(s)-e.unref(l))}),c=e.computed(()=>e.unref(s)+e.unref(l)>0),d=({data:b,rowIndex:y})=>b[y][t.rowKey];function u({rowCacheStart:b,rowCacheEnd:y,rowVisibleStart:k,rowVisibleEnd:C}){var w;(w=t.onRowsRendered)==null||w.call(t,{rowCacheStart:b,rowCacheEnd:y,rowVisibleStart:k,rowVisibleEnd:C})}function f(b,y){var k;(k=o.value)==null||k.resetAfterRowIndex(b,y)}function p(b,y){const k=e.unref(n),C=e.unref(o);tt(b)?(k==null||k.scrollToLeft(b.scrollLeft),r.value=b.scrollLeft,C==null||C.scrollTo(b)):(k==null||k.scrollToLeft(b),r.value=b,C==null||C.scrollTo({scrollLeft:b,scrollTop:y}))}function g(b){var y;(y=e.unref(o))==null||y.scrollTo({scrollTop:b})}function m(b,y){const k=e.unref(o);if(!k)return;const C=r.value;k.scrollToItem(b,0,y),C&&p({scrollLeft:C})}function h(){var b,y;(b=e.unref(o))==null||b.$forceUpdate(),(y=e.unref(n))==null||y.$forceUpdate()}return e.watch(()=>t.bodyWidth,()=>{var b;pe(t.estimatedRowHeight)&&((b=o.value)==null||b.resetAfter({columnIndex:0},!1))}),{bodyRef:o,forceUpdate:h,fixedRowHeight:l,gridHeight:i,hasHeader:c,headerHeight:s,headerRef:n,totalHeight:a,itemKey:d,onItemRendered:u,resetAfterRowIndex:f,scrollTo:p,scrollToTop:g,scrollToRow:m,scrollLeft:r}},Dh=e.defineComponent({name:KX,props:kd,setup(t,{slots:n,expose:o}){const{ns:r}=e.inject(Rh),{bodyRef:a,fixedRowHeight:l,gridHeight:s,hasHeader:i,headerRef:c,headerHeight:d,totalHeight:u,forceUpdate:f,itemKey:p,onItemRendered:g,resetAfterRowIndex:m,scrollTo:h,scrollToTop:b,scrollToRow:y,scrollLeft:k}=WX(t);e.provide(v2,k),e.onActivated(async()=>{var w;await e.nextTick();const S=(w=a.value)==null?void 0:w.states.scrollTop;S&&b(Math.round(S)+1)}),o({forceUpdate:f,totalHeight:u,scrollTo:h,scrollToTop:b,scrollToRow:y,resetAfterRowIndex:m});const C=()=>t.bodyWidth;return()=>{const{cache:w,columns:S,data:E,fixedData:v,useIsScrolling:N,scrollbarAlwaysOn:P,scrollbarEndGap:T,scrollbarStartGap:V,style:x,rowHeight:O,bodyWidth:D,estimatedRowHeight:L,headerWidth:H,height:$,width:B,getRowHeight:M,onScroll:I}=t,z=pe(L),F=z?xN:wN,A=e.unref(d);return e.createVNode("div",{role:"table",class:[r.e("table"),t.class],style:x},[e.createVNode(F,{ref:a,data:E,useIsScrolling:N,itemKey:p,columnCache:0,columnWidth:z?C:D,totalColumn:1,totalRow:E.length,rowCache:w,rowHeight:z?M:O,width:B,height:e.unref(s),class:r.e("body"),role:"rowgroup",scrollbarStartGap:V,scrollbarEndGap:T,scrollbarAlwaysOn:P,onScroll:I,onItemRendered:g,perfMode:!1},{default:W=>{var j;const G=E[W.rowIndex];return(j=n.row)==null?void 0:j.call(n,{...W,columns:S,rowData:G})}}),e.unref(i)&&e.createVNode(LX,{ref:c,class:r.e("header-wrapper"),columns:S,headerData:E,headerHeight:t.headerHeight,fixedHeaderData:v,rowWidth:H,rowHeight:O,width:B,height:Math.min(A+e.unref(l),$)},{dynamic:n.header,fixed:n.row})])}}});function jX(t){return typeof t=="function"||Object.prototype.toString.call(t)==="[object Object]"&&!e.isVNode(t)}const UX=(t,{slots:n})=>{const{mainTableRef:o,...r}=t;return e.createVNode(Dh,e.mergeProps({ref:o},r),jX(n)?n:{default:()=>[n]})};function YX(t){return typeof t=="function"||Object.prototype.toString.call(t)==="[object Object]"&&!e.isVNode(t)}const GX=(t,{slots:n})=>{if(!t.columns.length)return;const{leftTableRef:o,...r}=t;return e.createVNode(Dh,e.mergeProps({ref:o},r),YX(n)?n:{default:()=>[n]})};function qX(t){return typeof t=="function"||Object.prototype.toString.call(t)==="[object Object]"&&!e.isVNode(t)}const XX=(t,{slots:n})=>{if(!t.columns.length)return;const{rightTableRef:o,...r}=t;return e.createVNode(Dh,e.mergeProps({ref:o},r),qX(n)?n:{default:()=>[n]})};function ZX(t){return typeof t=="function"||Object.prototype.toString.call(t)==="[object Object]"&&!e.isVNode(t)}const JX=(t,{slots:n})=>{const{columns:o,columnsStyles:r,depthMap:a,expandColumnKey:l,expandedRowKeys:s,estimatedRowHeight:i,hasFixedColumns:c,rowData:d,rowIndex:u,style:f,isScrolling:p,rowProps:g,rowClass:m,rowKey:h,rowEventHandlers:b,ns:y,onRowHovered:k,onRowExpanded:C}=t,w=Na(m,{columns:o,rowData:d,rowIndex:u},""),S=Na(g,{columns:o,rowData:d,rowIndex:u}),E=d[h],v=a[E]||0,N=!!l,P=u<0,T=[y.e("row"),w,y.is("expanded",N&&s.includes(E)),y.is("fixed",!v&&P),y.is("customized",!!n.row),{[y.e(`row-depth-${v}`)]:N&&u>=0}],V=c?k:void 0,x={...S,columns:o,columnsStyles:r,class:T,depth:v,expandColumnKey:l,estimatedRowHeight:P?void 0:i,isScrolling:p,rowIndex:u,rowData:d,rowKey:E,rowEventHandlers:b,style:f},O=L=>{V==null||V({hovered:!0,rowKey:E,event:L,rowData:d,rowIndex:u})},D=L=>{V==null||V({hovered:!1,rowKey:E,event:L,rowData:d,rowIndex:u})};return e.createVNode(FX,e.mergeProps(x,{onRowExpand:C,onMouseenter:O,onMouseleave:D,rowkey:E}),ZX(n)?n:{default:()=>[n]})},Lh=({columns:t,column:n,columnIndex:o,depth:r,expandIconProps:a,isScrolling:l,rowData:s,rowIndex:i,style:c,expandedRowKeys:d,ns:u,t:f,cellProps:p,expandColumnKey:g,indentSize:m,iconSize:h,rowKey:b},{slots:y})=>{const k=Qr(c);if(n.placeholderSign===Ml)return e.createVNode("div",{class:u.em("row-cell","placeholder"),style:k},null);const{cellRenderer:C,dataKey:w,dataGetter:S}=n,E=Ae(S)?S({columns:t,column:n,columnIndex:o,rowData:s,rowIndex:i}):Mt(s,w!=null?w:""),v=Na(p,{cellData:E,columns:t,column:n,columnIndex:o,rowIndex:i,rowData:s}),N={class:u.e("cell-text"),columns:t,column:n,columnIndex:o,cellData:E,isScrolling:l,rowData:s,rowIndex:i},P=E2(C),T=P?P(N):e.renderSlot(y,"default",N,()=>[e.createVNode(Ah,N,null)]),V=[u.e("row-cell"),n.class,n.align===Rl.CENTER&&u.is("align-center"),n.align===Rl.RIGHT&&u.is("align-right")],x=i>=0&&g&&n.key===g,O=i>=0&&d.includes(s[b]);let D;const L=`margin-inline-start: ${r*m}px;`;return x&&(tt(a)?D=e.createVNode(P2,e.mergeProps(a,{class:[u.e("expand-icon"),u.is("expanded",O)],size:h,expanded:O,ariaLabel:f(O?"el.table.collapseRowLabel":"el.table.expandRowLabel"),style:L,expandable:!0}),null):D=e.createVNode("div",{style:[L,`width: ${h}px; height: ${h}px;`].join(" ")},null)),e.createVNode("div",e.mergeProps({class:V,style:k},v,{role:"cell"}),[D,T])};Lh.inheritAttrs=!1;function QX(t){return typeof t=="function"||Object.prototype.toString.call(t)==="[object Object]"&&!e.isVNode(t)}const eZ=({columns:t,columnsStyles:n,headerIndex:o,style:r,headerClass:a,headerProps:l,ns:s},{slots:i})=>{const c={columns:t,headerIndex:o},d=[s.e("header-row"),Na(a,c,""),s.is("customized",!!i.header)],u={...Na(l,c),columnsStyles:n,class:d,columns:t,headerIndex:o,style:r};return e.createVNode(DX,u,QX(i)?i:{default:()=>[i]})},R2=(t,{slots:n})=>{const{column:o,ns:r,t:a,style:l,onColumnSorted:s}=t,i=Qr(l);if(o.placeholderSign===Ml)return e.createVNode("div",{class:r.em("header-row-cell","placeholder"),style:i},null);const{headerCellRenderer:c,headerClass:d,sortable:u}=o,f={...t,class:r.e("header-cell-text")},p=E2(c),g=p?p(f):e.renderSlot(n,"default",f,()=>[e.createVNode(zh,f,null)]),{sortBy:m,sortState:h,headerCellProps:b}=t;let y,k,C;if(h){const E=h[o.key];y=!!Ph[E],k=y?E:Jr.ASC}else y=o.key===m.key,k=y?m.order:Jr.ASC;k===Jr.ASC?C="ascending":k===Jr.DESC?C="descending":C=void 0;const w=[r.e("header-cell"),Na(d,t,""),o.align===Rl.CENTER&&r.is("align-center"),o.align===Rl.RIGHT&&r.is("align-right"),u&&r.is("sortable")],S={...Na(b,t),onClick:o.sortable?s:void 0,ariaSort:u?C:void 0,class:w,style:i,"data-key":o.key};return e.createVNode("div",e.mergeProps(S,{role:"columnheader"}),[g,u&&e.createVNode(HX,{class:[r.e("sort-icon"),y&&r.is("sorting")],sortOrder:k,ariaLabel:a("el.table.sortLabel",{column:o.title||""})},null)])},M2=(t,{slots:n})=>{var o;return e.createVNode("div",{class:t.class,style:t.style},[(o=n.default)==null?void 0:o.call(n)])};M2.displayName="ElTableV2Footer";const I2=(t,{slots:n})=>{const o=e.renderSlot(n,"default",{},()=>[e.createVNode(jp,null,null)]);return e.createVNode("div",{class:t.class,style:t.style},[o])};I2.displayName="ElTableV2Empty";const O2=(t,{slots:n})=>{var o;return e.createVNode("div",{class:t.class,style:t.style},[(o=n.default)==null?void 0:o.call(n)])};O2.displayName="ElTableV2Overlay";function oi(t){return typeof t=="function"||Object.prototype.toString.call(t)==="[object Object]"&&!e.isVNode(t)}const A2=e.defineComponent({name:"ElTableV2",props:V2,setup(t,{slots:n,expose:o}){const r=ee("table-v2"),{t:a}=je(),{columnsStyles:l,fixedColumnsOnLeft:s,fixedColumnsOnRight:i,mainColumns:c,mainTableHeight:d,fixedTableHeight:u,leftTableWidth:f,rightTableWidth:p,data:g,depthMap:m,expandedRowKeys:h,hasFixedColumns:b,mainTableRef:y,leftTableRef:k,rightTableRef:C,isDynamic:w,isResetting:S,isScrolling:E,bodyWidth:v,emptyStyle:N,rootStyle:P,footerHeight:T,showEmpty:V,scrollTo:x,scrollToLeft:O,scrollToTop:D,scrollToRow:L,getRowHeight:H,onColumnSorted:$,onRowHeightChange:B,onRowHovered:M,onRowExpanded:I,onRowsRendered:z,onScroll:F,onVerticalScroll:A}=OX(t);return o({scrollTo:x,scrollToLeft:O,scrollToTop:D,scrollToRow:L}),e.provide(Rh,{ns:r,isResetting:S,isScrolling:E}),()=>{const{cache:W,cellProps:j,estimatedRowHeight:G,expandColumnKey:X,fixedData:Q,headerHeight:J,headerClass:Y,headerProps:_,headerCellProps:q,sortBy:le,sortState:ue,rowHeight:Ce,rowClass:Ee,rowEventHandlers:Ve,rowKey:Ie,rowProps:qe,scrollbarAlwaysOn:We,indentSize:be,iconSize:ye,useIsScrolling:Te,vScrollbarSize:Oe,width:Fe}=t,Ue=e.unref(g),fe={cache:W,class:r.e("main"),columns:e.unref(c),data:Ue,fixedData:Q,estimatedRowHeight:G,bodyWidth:e.unref(v),headerHeight:J,headerWidth:e.unref(v),height:e.unref(d),mainTableRef:y,rowKey:Ie,rowHeight:Ce,scrollbarAlwaysOn:We,scrollbarStartGap:2,scrollbarEndGap:Oe,useIsScrolling:Te,width:Fe,getRowHeight:H,onRowsRendered:z,onScroll:F},we=e.unref(f),Se=e.unref(u),pt={cache:W,class:r.e("left"),columns:e.unref(s),data:Ue,fixedData:Q,estimatedRowHeight:G,leftTableRef:k,rowHeight:Ce,bodyWidth:we,headerWidth:we,headerHeight:J,height:Se,rowKey:Ie,scrollbarAlwaysOn:We,scrollbarStartGap:2,scrollbarEndGap:Oe,useIsScrolling:Te,width:we,getRowHeight:H,onScroll:A},bt=e.unref(p),Be={cache:W,class:r.e("right"),columns:e.unref(i),data:Ue,fixedData:Q,estimatedRowHeight:G,rightTableRef:C,rowHeight:Ce,bodyWidth:bt,headerWidth:bt,headerHeight:J,height:Se,rowKey:Ie,scrollbarAlwaysOn:We,scrollbarStartGap:2,scrollbarEndGap:Oe,width:bt,style:`${r.cssVarName("table-scrollbar-size")}: ${Oe}px`,useIsScrolling:Te,getRowHeight:H,onScroll:A},ze=e.unref(l),Ye={ns:r,depthMap:e.unref(m),columnsStyles:ze,expandColumnKey:X,expandedRowKeys:e.unref(h),estimatedRowHeight:G,hasFixedColumns:e.unref(b),rowProps:qe,rowClass:Ee,rowKey:Ie,rowEventHandlers:Ve,onRowHovered:M,onRowExpanded:I,onRowHeightChange:B},ne={cellProps:j,expandColumnKey:X,indentSize:be,iconSize:ye,rowKey:Ie,expandedRowKeys:e.unref(h),ns:r,t:a},me={ns:r,headerClass:Y,headerProps:_,columnsStyles:ze},Z={ns:r,t:a,sortBy:le,sortState:ue,headerCellProps:q,onColumnSorted:$},de={row:Tt=>e.createVNode(JX,e.mergeProps(Tt,Ye),{row:n.row,cell:Vt=>{let se;return n.cell?e.createVNode(Lh,e.mergeProps(Vt,ne,{style:ze[Vt.column.key]}),oi(se=n.cell(Vt))?se:{default:()=>[se]}):e.createVNode(Lh,e.mergeProps(Vt,ne,{style:ze[Vt.column.key]}),null)}}),header:Tt=>e.createVNode(eZ,e.mergeProps(Tt,me),{header:n.header,cell:Vt=>{let se;return n["header-cell"]?e.createVNode(R2,e.mergeProps(Vt,Z,{style:ze[Vt.column.key]}),oi(se=n["header-cell"](Vt))?se:{default:()=>[se]}):e.createVNode(R2,e.mergeProps(Vt,Z,{style:ze[Vt.column.key]}),null)}})},De=[t.class,r.b(),r.e("root"),r.is("dynamic",e.unref(w))],st={class:r.e("footer"),style:e.unref(T)};return e.createVNode("div",{class:De,style:e.unref(P)},[e.createVNode(UX,fe,oi(de)?de:{default:()=>[de]}),e.createVNode(GX,pt,oi(de)?de:{default:()=>[de]}),e.createVNode(XX,Be,oi(de)?de:{default:()=>[de]}),n.footer&&e.createVNode(M2,st,{default:n.footer}),e.unref(V)&&e.createVNode(I2,{class:r.e("empty"),style:e.unref(N)},{default:n.empty}),n.overlay&&e.createVNode(O2,{class:r.e("overlay")},{default:n.overlay})])}}}),z2=oe({disableWidth:Boolean,disableHeight:Boolean,onResize:{type:K(Function)}}),tZ=e.defineComponent({name:"ElAutoResizer",props:z2,setup(t,{slots:n}){const o=ee("auto-resizer"),{height:r,width:a,sizer:l}=IX(t),s={width:"100%",height:"100%"};return()=>{var i;return e.createVNode("div",{ref:l,class:o.b(),style:s},[(i=n.default)==null?void 0:i.call(n,{height:r.value,width:a.value})])}}}),D2=Re(A2),L2=Re(tZ),ri=Symbol("tabsRootContextKey"),_2=oe({tabs:{type:K(Array),default:()=>wt([])},tabRefs:{type:K(Object),default:()=>wt({})}}),F2="ElTabBar";var nZ=e.defineComponent({name:F2,__name:"tab-bar",props:_2,setup(t,{expose:n}){const o=t,r=e.inject(ri);r||Ft(F2,"");const a=ee("tabs"),l=e.ref(),s=e.ref(),i=e.computed(()=>{var g;return Xe(r.props.defaultValue)||!!((g=s.value)!=null&&g.transform)}),c=()=>{let g=0,m=0;const h=["top","bottom"].includes(r.props.tabPosition)?"width":"height",b=h==="width"?"x":"y",y=b==="x"?"left":"top";return o.tabs.every(k=>{if(Xe(k.paneName))return!1;const C=o.tabRefs[k.paneName];if(!C)return!1;if(!k.active)return!0;g=C[`offset${zr(y)}`],m=C[`client${zr(h)}`];const w=window.getComputedStyle(C);return h==="width"&&(m-=Number.parseFloat(w.paddingLeft)+Number.parseFloat(w.paddingRight),g+=Number.parseFloat(w.paddingLeft)),!1}),{[h]:`${m}px`,transform:`translate${zr(b)}(${g}px)`}},d=()=>s.value=c(),u=[],f=()=>{u.forEach(g=>g.stop()),u.length=0,Object.values(o.tabRefs).forEach(g=>{u.push(yt(g,d))})};e.watch(()=>o.tabs,async()=>{await e.nextTick(),d(),f()},{immediate:!0});const p=yt(l,()=>d());return e.onBeforeUnmount(()=>{u.forEach(g=>g.stop()),u.length=0,p.stop()}),n({ref:l,update:d}),(g,m)=>i.value?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"barRef",ref:l,class:e.normalizeClass([e.unref(a).e("active-bar"),e.unref(a).is(e.unref(r).props.tabPosition)]),style:e.normalizeStyle(s.value)},null,6)):e.createCommentVNode("v-if",!0)}});const H2=oe({panes:{type:K(Array),default:()=>wt([])},currentName:{type:[String,Number],default:""},editable:Boolean,type:{type:String,values:["card","border-card",""],default:""},stretch:Boolean,tabindex:{type:[String,Number],default:void 0}}),K2={tabClick:(t,n,o)=>o instanceof Event,tabRemove:(t,n)=>n instanceof Event},W2="ElTabNav",oZ=e.defineComponent({name:W2,props:H2,emits:K2,setup(t,{expose:n,emit:o}){const r=e.inject(ri);r||Ft(W2,"");const a=ee("tabs"),l=JT(),s=ex(),i=e.ref(),c=e.ref(),d=e.ref(),u=e.ref({}),f=e.ref(),p=e.ref(!1),g=e.ref(0),m=e.ref(!1),h=e.ref(!0),b=e.shallowRef(),y=e.computed(()=>["top","bottom"].includes(r.props.tabPosition)),k=e.computed(()=>y.value?"width":"height"),C=e.computed(()=>({transform:`translate${k.value==="width"?"X":"Y"}(-${g.value}px)`})),{width:w,height:S}=jd(i),{width:E,height:v}=jd(c,{width:0,height:0},{box:"border-box"}),N=e.computed(()=>y.value?w.value:S.value),P=e.computed(()=>y.value?E.value:v.value),{onWheel:T}=dN({atStartEdge:e.computed(()=>g.value<=0),atEndEdge:e.computed(()=>P.value-g.value<=N.value),layout:e.computed(()=>y.value?"horizontal":"vertical")},I=>{g.value=Mr(g.value+I,0,P.value-N.value)}),V=()=>{if(!i.value)return;const I=i.value[`offset${zr(k.value)}`],z=g.value;if(!z)return;const F=z>I?z-I:0;g.value=F},x=()=>{if(!i.value||!c.value)return;const I=c.value[`offset${zr(k.value)}`],z=i.value[`offset${zr(k.value)}`],F=g.value;if(I-F<=z)return;const A=I-F>z*2?F+z:I-z;g.value=A},O=async()=>{const I=c.value;if(!p.value||!d.value||!i.value||!I)return;await e.nextTick();const z=u.value[t.currentName];if(!z)return;const F=i.value,A=z.getBoundingClientRect(),W=F.getBoundingClientRect(),j=y.value?I.offsetWidth-W.width:I.offsetHeight-W.height,G=g.value;let X=G;y.value?(A.leftW.right&&(X=G+A.right-W.right)):(A.topW.bottom&&(X=G+(A.bottom-W.bottom))),X=Math.max(X,0),g.value=Math.min(X,j)},D=()=>{var I;if(!c.value||!i.value)return;t.stretch&&((I=f.value)==null||I.update());const z=c.value[`offset${zr(k.value)}`],F=i.value[`offset${zr(k.value)}`],A=g.value;F0&&(g.value=0))},L=I=>{const z=ut(I);let F=0;switch(z){case te.left:case te.up:F=-1;break;case te.right:case te.down:F=1;break;default:return}const A=Array.from(I.currentTarget.querySelectorAll("[role=tab]:not(.is-disabled)"));let j=A.indexOf(I.target)+F;j<0?j=A.length-1:j>=A.length&&(j=0),A[j].focus({preventScroll:!0}),A[j].click(),H()},H=()=>{h.value&&(m.value=!0)},$=()=>m.value=!1,B=(I,z)=>{u.value[z]=I},M=async()=>{await e.nextTick();const I=u.value[t.currentName];I==null||I.focus({preventScroll:!0})};return e.watch(l,I=>{I==="hidden"?h.value=!1:I==="visible"&&setTimeout(()=>h.value=!0,50)}),e.watch(s,I=>{I?setTimeout(()=>h.value=!0,50):h.value=!1}),yt(d,()=>{Ho(D)}),e.onMounted(()=>setTimeout(()=>O(),0)),e.onUpdated(()=>D()),n({scrollToActiveTab:O,removeFocus:$,focusActiveTab:M,tabListRef:c,tabBarRef:f,scheduleRender:()=>e.triggerRef(b)}),()=>{const I=p.value?[e.createVNode("span",{class:[a.e("nav-prev"),a.is("disabled",!p.value.prev)],onClick:V},[e.createVNode(ce,null,{default:()=>[e.createVNode(gr,null,null)]})]),e.createVNode("span",{class:[a.e("nav-next"),a.is("disabled",!p.value.next)],onClick:x},[e.createVNode(ce,null,{default:()=>[e.createVNode(Cn,null,null)]})])]:null,z=t.panes.map((F,A)=>{var W,j,G,X,Q;const J=F.uid,Y=F.props.disabled,_=(j=(W=F.props.name)!=null?W:F.index)!=null?j:`${A}`,q=!Y&&(F.isClosable||F.props.closable!==!1&&t.editable);F.index=`${A}`;const le=q?e.createVNode(ce,{class:"is-icon-close",onClick:Ee=>o("tabRemove",F,Ee)},{default:()=>[e.createVNode(so,null,null)]}):null,ue=((X=(G=F.slots).label)==null?void 0:X.call(G))||F.props.label,Ce=!Y&&F.active?(Q=t.tabindex)!=null?Q:r.props.tabindex:-1;return e.createVNode("div",{ref:Ee=>B(Ee,_),class:[a.e("item"),a.is(r.props.tabPosition),a.is("active",F.active),a.is("disabled",Y),a.is("closable",q),a.is("focus",m.value)],id:`tab-${_}`,key:`tab-${J}`,"aria-controls":`pane-${_}`,role:"tab","aria-selected":F.active,tabindex:Ce,onFocus:()=>H(),onBlur:()=>$(),onClick:Ee=>{$(),o("tabClick",F,_,Ee)},onKeydown:Ee=>{const Ve=ut(Ee);q&&(Ve===te.delete||Ve===te.backspace)&&o("tabRemove",F,Ee)}},[ue,le])});return b.value,e.createVNode("div",{ref:d,class:[a.e("nav-wrap"),a.is("scrollable",!!p.value),a.is(r.props.tabPosition)]},[I,e.createVNode("div",{class:a.e("nav-scroll"),ref:i},[t.panes.length>0?e.createVNode("div",{class:[a.e("nav"),a.is(r.props.tabPosition),a.is("stretch",t.stretch&&["top","bottom"].includes(r.props.tabPosition))],ref:c,style:C.value,role:"tablist",onKeydown:L,onWheel:T},[t.type?null:e.createVNode(nZ,{ref:f,tabs:[...t.panes],tabRefs:u.value},null),z]):null])])}}}),j2=oe({type:{type:String,values:["card","border-card",""],default:""},closable:Boolean,addable:Boolean,modelValue:{type:[String,Number]},defaultValue:{type:[String,Number]},editable:Boolean,tabPosition:{type:String,values:["top","right","bottom","left"],default:"top"},beforeLeave:{type:K(Function),default:()=>!0},stretch:Boolean,tabindex:{type:[String,Number],default:0}}),_h=t=>ve(t)||pe(t),U2={[Ne]:t=>_h(t),tabClick:(t,n)=>n instanceof Event,tabChange:t=>_h(t),edit:(t,n)=>["remove","add"].includes(n),tabRemove:t=>_h(t),tabAdd:()=>!0},rZ=e.defineComponent({name:"ElTabs",props:j2,emits:U2,setup(t,{emit:n,slots:o,expose:r}){var a;const l=ee("tabs"),s=e.computed(()=>["left","right"].includes(t.tabPosition)),{children:i,addChild:c,removeChild:d,ChildrenSorter:u}=$s(e.getCurrentInstance(),"ElTabPane"),f=e.ref(),p=e.ref((a=Xe(t.modelValue)?t.defaultValue:t.modelValue)!=null?a:"0"),g=async(C,w=!1)=>{var S,E,v,N;if(!(p.value===C||Xe(C)))try{let P;if(t.beforeLeave){const T=t.beforeLeave(C,p.value);P=T instanceof Promise?await T:T}else P=!0;if(P!==!1){const T=(S=i.value.find(V=>V.paneName===p.value))==null?void 0:S.isFocusInsidePane();p.value=C,w&&(n(Ne,C),n("tabChange",C)),(v=(E=f.value)==null?void 0:E.removeFocus)==null||v.call(E),T&&((N=f.value)==null||N.focusActiveTab())}}catch(P){}},m=(C,w,S)=>{C.props.disabled||(n("tabClick",C,S),g(w,!0))},h=(C,w)=>{C.props.disabled||Xe(C.props.name)||(w.stopPropagation(),n("edit",C.props.name,"remove"),n("tabRemove",C.props.name))},b=()=>{n("edit",void 0,"add"),n("tabAdd")},y=C=>{const w=ut(C);[te.enter,te.numpadEnter].includes(w)&&b()},k=C=>{const w=C.el.firstChild,S=["bottom","right"].includes(t.tabPosition)?C.children[0].el:C.children[1].el;w!==S&&w.before(S)};return e.watch(()=>t.modelValue,C=>g(C)),e.watch(p,async()=>{var C;await e.nextTick(),(C=f.value)==null||C.scrollToActiveTab()}),e.provide(ri,{props:t,currentName:p,registerPane:c,unregisterPane:d,nav$:f}),r({currentName:p,get tabNavRef(){return qa(f.value,["scheduleRender"])}}),()=>{const C=o["add-icon"],w=t.editable||t.addable?e.createVNode("div",{class:[l.e("new-tab"),s.value&&l.e("new-tab-vertical")],tabindex:t.tabindex,onClick:b,onKeydown:y},[C?e.renderSlot(o,"add-icon"):e.createVNode(ce,{class:l.is("icon-plus")},{default:()=>[e.createVNode(BC,null,null)]})]):null,S=()=>e.createVNode(oZ,{ref:f,currentName:p.value,editable:t.editable,type:t.type,panes:i.value,stretch:t.stretch,onTabClick:m,onTabRemove:h},null),E=e.createVNode("div",{class:[l.e("header"),s.value&&l.e("header-vertical"),l.is(t.tabPosition)]},[e.createVNode(u,null,{default:S,$stable:!0}),w]),v=e.createVNode("div",{class:l.e("content")},[e.renderSlot(o,"default")]);return e.createVNode("div",{class:[l.b(),l.m(t.tabPosition),{[l.m("card")]:t.type==="card",[l.m("border-card")]:t.type==="border-card"}],onVnodeMounted:k,onVnodeUpdated:k},[v,E])}}}),Y2=oe({label:{type:String,default:""},name:{type:[String,Number]},closable:{type:Boolean,default:void 0},disabled:Boolean,lazy:Boolean}),aZ=["id","aria-hidden","aria-labelledby"],G2="ElTabPane";var q2=e.defineComponent({name:G2,__name:"tab-pane",props:Y2,setup(t){const n=t,o=e.getCurrentInstance(),r=e.useSlots(),a=e.inject(ri);a||Ft(G2,"usage: ");const l=ee("tab-pane"),s=e.ref(),i=e.ref(),c=e.computed(()=>{var h;return(h=n.closable)!=null?h:a.props.closable}),d=e.computed(()=>{var h;return a.currentName.value===((h=n.name)!=null?h:i.value)}),u=e.ref(d.value),f=e.computed(()=>{var h;return(h=n.name)!=null?h:i.value}),p=e.computed(()=>!n.lazy||u.value||d.value),g=()=>{var h;return(h=s.value)==null?void 0:h.contains(document.activeElement)};e.watch(d,h=>{h&&(u.value=!0)});const m=e.reactive({uid:o.uid,getVnode:()=>o.vnode,slots:r,props:n,paneName:f,active:d,index:i,isClosable:c,isFocusInsidePane:g});return a.registerPane(m),e.onBeforeUnmount(()=>{a.unregisterPane(m)}),e.onBeforeUpdate(()=>{var h;r.label&&((h=a.nav$.value)==null||h.scheduleRender())}),(h,b)=>p.value?e.withDirectives((e.openBlock(),e.createElementBlock("div",{key:0,id:`pane-${f.value}`,ref_key:"paneRef",ref:s,class:e.normalizeClass(e.unref(l).b()),role:"tabpanel","aria-hidden":!d.value,"aria-labelledby":`tab-${f.value}`},[e.renderSlot(h.$slots,"default")],10,aZ)),[[e.vShow,d.value]]):e.createCommentVNode("v-if",!0)}});const X2=Re(rZ,{TabPane:q2}),Z2=Bt(q2),J2=oe({type:{type:String,values:["primary","success","info","warning","danger",""],default:""},size:{type:String,values:Jn,default:""},truncated:Boolean,lineClamp:{type:[String,Number]},tag:{type:String,default:"span"}});var lZ=e.defineComponent({name:"ElText",__name:"text",props:J2,setup(t){const n=t,o=e.ref(),r=zt(),a=ee("text"),l=e.computed(()=>[a.b(),a.m(n.type),a.m(r.value),a.is("truncated",n.truncated),a.is("line-clamp",!Xe(n.lineClamp))]),s=()=>{var i,c,d,u,f,p,g;if(e.useAttrs().title)return;let h=!1;const b=((i=o.value)==null?void 0:i.textContent)||"";if(n.truncated){const y=(c=o.value)==null?void 0:c.offsetWidth,k=(d=o.value)==null?void 0:d.scrollWidth;y&&k&&k>y&&(h=!0)}else if(!Xe(n.lineClamp)){const y=(u=o.value)==null?void 0:u.offsetHeight,k=(f=o.value)==null?void 0:f.scrollHeight;y&&k&&k>y&&(h=!0)}h?(p=o.value)==null||p.setAttribute("title",b):(g=o.value)==null||g.removeAttribute("title")};return e.onMounted(s),e.onUpdated(s),(i,c)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.tag),{ref_key:"textRef",ref:o,class:e.normalizeClass(l.value),style:e.normalizeStyle({"-webkit-line-clamp":t.lineClamp})},{default:e.withCtx(()=>[e.renderSlot(i.$slots,"default")]),_:3},8,["class","style"]))}});const Sd=Re(lZ),Q2=oe({format:{type:String,default:"HH:mm"},modelValue:{type:K(String)},disabled:{type:Boolean,default:void 0},editable:{type:Boolean,default:!0},effect:{type:K(String),default:"light"},clearable:{type:Boolean,default:!0},size:Ht,placeholder:String,start:{type:String,default:"09:00"},end:{type:String,default:"18:00"},step:{type:String,default:"00:30"},minTime:{type:K(String)},maxTime:{type:K(String)},includeEndTime:Boolean,name:String,prefixIcon:{type:K([String,Object]),default:()=>vC},clearIcon:{type:K([String,Object]),default:()=>jo},popperClass:{type:String,default:""},popperStyle:{type:K([String,Object])},...Wr}),Nr=t=>{const n=(t||"").split(":");if(n.length>=2){let o=Number.parseInt(n[0],10);const r=Number.parseInt(n[1],10),a=t.toUpperCase();return a.includes("AM")&&o===12?o=0:a.includes("PM")&&o!==12&&(o+=12),{hours:o,minutes:r}}return null},Fh=(t,n)=>{const o=Nr(t);if(!o)return-1;const r=Nr(n);if(!r)return-1;const a=o.minutes+o.hours*60,l=r.minutes+r.hours*60;return a===l?0:a>l?1:-1},eB=t=>`${t}`.padStart(2,"0"),Il=t=>`${eB(t.hours)}:${eB(t.minutes)}`,sZ=(t,n)=>{const o=Nr(t);if(!o)return"";const r=Nr(n);if(!r)return"";const a={hours:o.hours,minutes:o.minutes};return a.minutes+=r.minutes,a.hours+=r.hours,a.hours+=Math.floor(a.minutes/60),a.minutes=a.minutes%60,Il(a)};var iZ=e.defineComponent({name:"ElTimeSelect",__name:"time-select",props:Q2,emits:[_e,"blur","focus","clear",Ne],setup(t,{expose:n}){Pe.extend(xm);const{Option:o}=Er,r=t,a=ee("input"),l=e.ref(),s=kt(),{lang:i}=je(),c=e.computed(()=>r.modelValue),d=e.computed(()=>{const y=Nr(r.start);return y?Il(y):null}),u=e.computed(()=>{const y=Nr(r.end);return y?Il(y):null}),f=e.computed(()=>{const y=Nr(r.step);return y?Il(y):null}),p=e.computed(()=>{const y=Nr(r.minTime||"");return y?Il(y):null}),g=e.computed(()=>{const y=Nr(r.maxTime||"");return y?Il(y):null}),m=e.computed(()=>{var y;const k=[],C=(w,S)=>{k.push({value:w,disabled:Fh(S,p.value||"-1:-1")<=0||Fh(S,g.value||"100:100")>=0})};if(r.start&&r.end&&r.step){let w=d.value,S;for(;w&&u.value&&Fh(w,u.value)<=0;)S=Pe(w,"HH:mm").locale(i.value).format(r.format),C(S,w),w=sZ(w,f.value);if(r.includeEndTime&&u.value&&((y=k[k.length-1])==null?void 0:y.value)!==u.value){const E=Pe(u.value,"HH:mm").locale(i.value).format(r.format);C(E,u.value)}}return k});return n({blur:()=>{var y,k;(k=(y=l.value)==null?void 0:y.blur)==null||k.call(y)},focus:()=>{var y,k;(k=(y=l.value)==null?void 0:y.focus)==null||k.call(y)}}),(y,k)=>(e.openBlock(),e.createBlock(e.unref(Er),{ref_key:"select",ref:l,"model-value":c.value,disabled:e.unref(s),clearable:t.clearable,"clear-icon":t.clearIcon,size:t.size,effect:t.effect,placeholder:t.placeholder,"default-first-option":"",filterable:t.editable,"empty-values":t.emptyValues,"value-on-clear":t.valueOnClear,"popper-class":t.popperClass,"popper-style":t.popperStyle,"onUpdate:modelValue":k[0]||(k[0]=C=>y.$emit(e.unref(Ne),C)),onChange:k[1]||(k[1]=C=>y.$emit(e.unref(_e),C)),onBlur:k[2]||(k[2]=C=>y.$emit("blur",C)),onFocus:k[3]||(k[3]=C=>y.$emit("focus",C)),onClear:k[4]||(k[4]=()=>y.$emit("clear"))},{prefix:e.withCtx(()=>[t.prefixIcon?(e.openBlock(),e.createBlock(e.unref(ce),{key:0,class:e.normalizeClass(e.unref(a).e("prefix-icon"))},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.prefixIcon)))]),_:1},8,["class"])):e.createCommentVNode("v-if",!0)]),default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(m.value,C=>(e.openBlock(),e.createBlock(e.unref(o),{key:C.value,label:C.value,value:C.value,disabled:C.disabled},null,8,["label","value","disabled"]))),128))]),_:1},8,["model-value","disabled","clearable","clear-icon","size","effect","placeholder","filterable","empty-values","value-on-clear","popper-class","popper-style"]))}});const tB=Re(iZ),Hh="timeline",nB=oe({mode:{type:String,values:["start","alternate","alternate-reverse","end"],default:"start"},reverse:Boolean}),cZ=e.defineComponent({name:"ElTimeline",props:nB,setup(t,{slots:n}){const o=ee("timeline");e.provide(Hh,{props:t,slots:n});const r=e.computed(()=>[o.b(),o.is(t.mode)]);return()=>{var a,l;const s=Yn((l=(a=n.default)==null?void 0:a.call(n))!=null?l:[]);return e.h("ul",{class:r.value},t.reverse?s.reverse():s)}}}),oB=oe({timestamp:{type:String,default:""},hideTimestamp:Boolean,center:Boolean,placement:{type:String,values:["top","bottom"],default:"bottom"},type:{type:String,values:["primary","success","warning","danger","info"],default:""},color:{type:String,default:""},size:{type:String,values:["normal","large"],default:"normal"},icon:{type:dt},hollow:Boolean});var rB=e.defineComponent({name:"ElTimelineItem",__name:"timeline-item",props:oB,setup(t){const n=t,{props:o}=e.inject(Hh),r=ee("timeline-item"),a=e.computed(()=>[r.e("node"),r.em("node",n.size||""),r.em("node",n.type||""),r.is("hollow",n.hollow)]),l=e.computed(()=>[r.b(),{[r.e("center")]:n.center},r.is(o.mode)]);return(s,i)=>(e.openBlock(),e.createElementBlock("li",{class:e.normalizeClass(l.value)},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(r).e("tail"))},null,2),s.$slots.dot?e.createCommentVNode("v-if",!0):(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(a.value),style:e.normalizeStyle({backgroundColor:t.color})},[t.icon?(e.openBlock(),e.createBlock(e.unref(ce),{key:0,class:e.normalizeClass(e.unref(r).e("icon"))},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.icon)))]),_:1},8,["class"])):e.createCommentVNode("v-if",!0)],6)),s.$slots.dot?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(r).e("dot"))},[e.renderSlot(s.$slots,"dot")],2)):e.createCommentVNode("v-if",!0),e.createElementVNode("div",{class:e.normalizeClass(e.unref(r).e("wrapper"))},[!t.hideTimestamp&&t.placement==="top"?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass([e.unref(r).e("timestamp"),e.unref(r).is("top")])},e.toDisplayString(t.timestamp),3)):e.createCommentVNode("v-if",!0),e.createElementVNode("div",{class:e.normalizeClass(e.unref(r).e("content"))},[e.renderSlot(s.$slots,"default")],2),!t.hideTimestamp&&t.placement==="bottom"?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass([e.unref(r).e("timestamp"),e.unref(r).is("bottom")])},e.toDisplayString(t.timestamp),3)):e.createCommentVNode("v-if",!0)],2)],2))}});const aB=Re(cZ,{TimelineItem:rB}),lB=Bt(rB),Kh="left-check-change",Wh="right-check-change",Ta=oe({data:{type:K(Array),default:()=>[]},titles:{type:K(Array),default:()=>[]},buttonTexts:{type:K(Array),default:()=>[]},filterPlaceholder:String,filterMethod:{type:K(Function)},leftDefaultChecked:{type:K(Array),default:()=>[]},rightDefaultChecked:{type:K(Array),default:()=>[]},renderContent:{type:K(Function)},modelValue:{type:K(Array),default:()=>[]},format:{type:K(Object),default:()=>({})},filterable:Boolean,props:{type:K(Object),default:()=>wt({label:"label",key:"key",disabled:"disabled"})},targetOrder:{type:String,values:["original","push","unshift"],default:"original"},validateEvent:{type:Boolean,default:!0}}),Ed=(t,n)=>[t,n].every(ie)||ie(t)&&Rt(n),sB={[_e]:(t,n,o)=>[t,o].every(ie)&&["left","right"].includes(n),[Ne]:t=>ie(t),[Kh]:Ed,[Wh]:Ed},jh="checked-change",dZ=oe({data:Ta.data,optionRender:{type:K(Function)},placeholder:String,title:String,filterable:Boolean,format:Ta.format,filterMethod:Ta.filterMethod,defaultChecked:Ta.leftDefaultChecked,props:Ta.props}),uZ={[jh]:Ed},ai=t=>{const n={label:"label",key:"key",disabled:"disabled"};return e.computed(()=>({...n,...t.props}))},fZ=(t,n,o)=>{const r=ai(t),a=e.computed(()=>t.data.filter(u=>Ae(t.filterMethod)?t.filterMethod(n.query,u):String(u[r.value.label]||u[r.value.key]).toLowerCase().includes(n.query.toLowerCase()))),l=e.computed(()=>a.value.filter(u=>!u[r.value.disabled])),s=e.computed(()=>{const u=n.checked.length,f=t.data.length,{noChecked:p,hasChecked:g}=t.format;return p&&g?u>0?g.replace(/\${checked}/g,u.toString()).replace(/\${total}/g,f.toString()):p.replace(/\${total}/g,f.toString()):`${u}/${f}`}),i=e.computed(()=>{const u=n.checked.length;return u>0&&u{const u=l.value.map(f=>f[r.value.key]);n.allChecked=u.length>0&&u.every(f=>n.checked.includes(f))},d=u=>{n.checked=u?l.value.map(f=>f[r.value.key]):[]};return e.watch(()=>n.checked,(u,f)=>{if(c(),n.checkChangeByUser){const p=u.concat(f).filter(g=>!u.includes(g)||!f.includes(g));o(jh,u,p)}else o(jh,u),n.checkChangeByUser=!0}),e.watch(l,()=>{c()}),e.watch(()=>t.data,()=>{const u=[],f=a.value.map(p=>p[r.value.key]);n.checked.forEach(p=>{f.includes(p)&&u.push(p)}),n.checkChangeByUser=!1,n.checked=u}),e.watch(()=>t.defaultChecked,(u,f)=>{if(f&&u.length===f.length&&u.every(m=>f.includes(m)))return;const p=[],g=l.value.map(m=>m[r.value.key]);u.forEach(m=>{g.includes(m)&&p.push(m)}),n.checkChangeByUser=!1,n.checked=p},{immediate:!0}),{filteredData:a,checkableData:l,checkedSummary:s,isIndeterminate:i,updateAllChecked:c,handleAllCheckedChange:d}},mZ=(t,n)=>({onSourceCheckedChange:(a,l)=>{t.leftChecked=a,l&&n(Kh,a,l)},onTargetCheckedChange:(a,l)=>{t.rightChecked=a,l&&n(Wh,a,l)}}),pZ=t=>{const n=ai(t),o=e.computed(()=>t.data.reduce((l,s)=>(l[s[n.value.key]]=s)&&l,{})),r=e.computed(()=>t.data.filter(l=>!t.modelValue.includes(l[n.value.key]))),a=e.computed(()=>t.targetOrder==="original"?t.data.filter(l=>t.modelValue.includes(l[n.value.key])):t.modelValue.reduce((l,s)=>{const i=o.value[s];return i&&l.push(i),l},[]));return{sourceData:r,targetData:a}},hZ=(t,n,o)=>{const r=ai(t),a=(i,c,d)=>{o(Ne,i),o(_e,i,c,d)};return{addToLeft:()=>{const i=t.modelValue.slice();n.rightChecked.forEach(c=>{const d=i.indexOf(c);d>-1&&i.splice(d,1)}),a(i,"left",n.rightChecked)},addToRight:()=>{let i=t.modelValue.slice();const c=t.data.filter(d=>{const u=d[r.value.key];return n.leftChecked.includes(u)&&!t.modelValue.includes(u)}).map(d=>d[r.value.key]);i=t.targetOrder==="unshift"?c.concat(i):i.concat(c),t.targetOrder==="original"&&(i=t.data.filter(d=>i.includes(d[r.value.key])).map(d=>d[r.value.key])),a(i,"right",n.leftChecked)}}};var iB=e.defineComponent({name:"ElTransferPanel",__name:"transfer-panel",props:dZ,emits:uZ,setup(t,{expose:n,emit:o}){const r=t,a=o,l=e.useSlots(),s=({option:w})=>w,{t:i}=je(),c=ee("transfer"),d=e.reactive({checked:[],allChecked:!1,query:"",checkChangeByUser:!0}),u=ai(r),{filteredData:f,checkedSummary:p,isIndeterminate:g,handleAllCheckedChange:m}=fZ(r,d,a),h=e.computed(()=>!Tn(d.query)&&Tn(f.value)),b=e.computed(()=>!Tn(l.default()[0].children)),{checked:y,allChecked:k,query:C}=e.toRefs(d);return n({query:C}),(w,S)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(c).b("panel"))},[e.createElementVNode("p",{class:e.normalizeClass(e.unref(c).be("panel","header"))},[e.createVNode(e.unref(ho),{modelValue:e.unref(k),"onUpdate:modelValue":S[0]||(S[0]=E=>e.isRef(k)?k.value=E:null),indeterminate:e.unref(g),"validate-event":!1,onChange:e.unref(m)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.title)+" ",1),e.createElementVNode("span",null,e.toDisplayString(e.unref(p)),1)]),_:1},8,["modelValue","indeterminate","onChange"])],2),e.createElementVNode("div",{class:e.normalizeClass([e.unref(c).be("panel","body"),e.unref(c).is("with-footer",b.value)])},[t.filterable?(e.openBlock(),e.createBlock(e.unref(un),{key:0,modelValue:e.unref(C),"onUpdate:modelValue":S[1]||(S[1]=E=>e.isRef(C)?C.value=E:null),class:e.normalizeClass(e.unref(c).be("panel","filter")),size:"default",placeholder:t.placeholder,"prefix-icon":e.unref(EF),clearable:"","validate-event":!1},null,8,["modelValue","class","placeholder","prefix-icon"])):e.createCommentVNode("v-if",!0),e.withDirectives(e.createVNode(e.unref(Zc),{modelValue:e.unref(y),"onUpdate:modelValue":S[2]||(S[2]=E=>e.isRef(y)?y.value=E:null),"validate-event":!1,class:e.normalizeClass([e.unref(c).is("filterable",t.filterable),e.unref(c).be("panel","list")])},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(f),E=>(e.openBlock(),e.createBlock(e.unref(ho),{key:E[e.unref(u).key],class:e.normalizeClass(e.unref(c).be("panel","item")),value:E[e.unref(u).key],disabled:E[e.unref(u).disabled],"validate-event":!1},{default:e.withCtx(()=>{var v;return[e.createVNode(s,{option:(v=t.optionRender)==null?void 0:v.call(t,E)},null,8,["option"])]}),_:2},1032,["class","value","disabled"]))),128))]),_:1},8,["modelValue","class"]),[[e.vShow,!h.value&&!e.unref(Tn)(t.data)]]),e.withDirectives(e.createElementVNode("div",{class:e.normalizeClass(e.unref(c).be("panel","empty"))},[e.renderSlot(w.$slots,"empty",{},()=>[e.createTextVNode(e.toDisplayString(h.value?e.unref(i)("el.transfer.noMatch"):e.unref(i)("el.transfer.noData")),1)])],2),[[e.vShow,h.value||e.unref(Tn)(t.data)]])],2),b.value?(e.openBlock(),e.createElementBlock("p",{key:0,class:e.normalizeClass(e.unref(c).be("panel","footer"))},[e.renderSlot(w.$slots,"default")],2)):e.createCommentVNode("v-if",!0)],2))}});const gZ={key:0},bZ={key:0};var yZ=e.defineComponent({name:"ElTransfer",__name:"transfer",props:Ta,emits:sB,setup(t,{expose:n,emit:o}){const r=t,a=o,l=e.useSlots(),{t:s}=je(),i=ee("transfer"),{formItem:c}=Zt(),d=e.reactive({leftChecked:[],rightChecked:[]}),u=ai(r),{sourceData:f,targetData:p}=pZ(r),{onSourceCheckedChange:g,onTargetCheckedChange:m}=mZ(d,a),{addToLeft:h,addToRight:b}=hZ(r,d,a),y=e.ref(),k=e.ref(),C=P=>{switch(P){case"left":y.value.query="";break;case"right":k.value.query="";break}},w=e.computed(()=>r.buttonTexts.length===2),S=e.computed(()=>r.titles[0]||s("el.transfer.titles.0")),E=e.computed(()=>r.titles[1]||s("el.transfer.titles.1")),v=e.computed(()=>r.filterPlaceholder||s("el.transfer.filterPlaceholder"));e.watch(()=>r.modelValue,()=>{var P;r.validateEvent&&((P=c==null?void 0:c.validate)==null||P.call(c,"change").catch(T=>void 0))});const N=e.computed(()=>P=>{var T;if(r.renderContent)return r.renderContent(e.h,P);const V=(((T=l.default)==null?void 0:T.call(l,{option:P}))||[]).filter(x=>x.type!==e.Comment);return V.length?V:e.h("span",P[u.value.label]||P[u.value.key])});return n({clearQuery:C,leftPanel:y,rightPanel:k}),(P,T)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(i).b())},[e.createVNode(iB,{ref_key:"leftPanel",ref:y,data:e.unref(f),"option-render":N.value,placeholder:v.value,title:S.value,filterable:t.filterable,format:t.format,"filter-method":t.filterMethod,"default-checked":t.leftDefaultChecked,props:r.props,onCheckedChange:e.unref(g)},{empty:e.withCtx(()=>[e.renderSlot(P.$slots,"left-empty")]),default:e.withCtx(()=>[e.renderSlot(P.$slots,"left-footer")]),_:3},8,["data","option-render","placeholder","title","filterable","format","filter-method","default-checked","props","onCheckedChange"]),e.createElementVNode("div",{class:e.normalizeClass(e.unref(i).e("buttons"))},[e.createVNode(e.unref(Gt),{type:"primary",class:e.normalizeClass([e.unref(i).e("button"),e.unref(i).is("with-texts",w.value)]),disabled:e.unref(Tn)(d.rightChecked),onClick:e.unref(h)},{default:e.withCtx(()=>[e.createVNode(e.unref(ce),null,{default:e.withCtx(()=>[e.createVNode(e.unref(gr))]),_:1}),e.unref(Xe)(t.buttonTexts[0])?e.createCommentVNode("v-if",!0):(e.openBlock(),e.createElementBlock("span",gZ,e.toDisplayString(t.buttonTexts[0]),1))]),_:1},8,["class","disabled","onClick"]),e.createVNode(e.unref(Gt),{type:"primary",class:e.normalizeClass([e.unref(i).e("button"),e.unref(i).is("with-texts",w.value)]),disabled:e.unref(Tn)(d.leftChecked),onClick:e.unref(b)},{default:e.withCtx(()=>[e.unref(Xe)(t.buttonTexts[1])?e.createCommentVNode("v-if",!0):(e.openBlock(),e.createElementBlock("span",bZ,e.toDisplayString(t.buttonTexts[1]),1)),e.createVNode(e.unref(ce),null,{default:e.withCtx(()=>[e.createVNode(e.unref(Cn))]),_:1})]),_:1},8,["class","disabled","onClick"])],2),e.createVNode(iB,{ref_key:"rightPanel",ref:k,data:e.unref(p),"option-render":N.value,placeholder:v.value,filterable:t.filterable,format:t.format,"filter-method":t.filterMethod,title:E.value,"default-checked":t.rightDefaultChecked,props:r.props,onCheckedChange:e.unref(m)},{empty:e.withCtx(()=>[e.renderSlot(P.$slots,"right-empty")]),default:e.withCtx(()=>[e.renderSlot(P.$slots,"right-footer")]),_:3},8,["data","option-render","placeholder","filterable","format","filter-method","title","default-checked","props","onCheckedChange"])],2))}});const cB=Re(yZ),Ol="$treeNodeId",dB=function(t,n){!n||n[Ol]||Object.defineProperty(n,Ol,{value:t.id,enumerable:!1,configurable:!1,writable:!1})},Uh=(t,n)=>n==null?void 0:n[t||Ol],Yh=(t,n,o)=>{const r=t.value.currentNode;o();const a=t.value.currentNode;r!==a&&n("current-change",a?a.data:null,a)};var CZ=Object.defineProperty,wZ=(t,n,o)=>n in t?CZ(t,n,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[n]=o,an=(t,n,o)=>wZ(t,typeof n!="symbol"?n+"":n,o);const uB=t=>{let n=!0,o=!0,r=!0,a=!0;for(let l=0,s=t.length;l{o.canFocus=n,Gh(o.childNodes,n)})};let kZ=0,qh=class Ld{constructor(n){an(this,"id"),an(this,"text"),an(this,"checked"),an(this,"indeterminate"),an(this,"data"),an(this,"expanded"),an(this,"parent"),an(this,"visible"),an(this,"isCurrent"),an(this,"store"),an(this,"isLeafByUser"),an(this,"isLeaf"),an(this,"canFocus"),an(this,"level"),an(this,"loaded"),an(this,"childNodes"),an(this,"loading"),an(this,"isEffectivelyChecked",!1),this.id=kZ++,this.text=null,this.checked=!1,this.indeterminate=!1,this.data=null,this.expanded=!1,this.parent=null,this.visible=!0,this.isCurrent=!1,this.canFocus=!1;for(const o in n)Qt(n,o)&&(this[o]=n[o]);this.level=0,this.loaded=!1,this.childNodes=[],this.loading=!1,this.parent&&(this.level=this.parent.level+1)}initialize(){var n;const o=this.store;if(!o)throw new Error("[Node]store is required!");o.registerNode(this);const r=o.props;if(r&&typeof r.isLeaf!="undefined"){const s=vd(this,"isLeaf");ct(s)&&(this.isLeafByUser=s)}if(o.lazy!==!0&&this.data?(this.setData(this.data),o.defaultExpandAll&&(this.expanded=!0,this.canFocus=!0)):this.level>0&&o.lazy&&o.defaultExpandAll&&!this.isLeafByUser&&this.expand(),ie(this.data)||dB(this,this.data),!this.data)return;const a=o.defaultExpandedKeys,l=o.key;l&&!Rt(this.key)&&a&&a.includes(this.key)&&this.expand(null,o.autoExpandParent),l&&o.currentNodeKey!==void 0&&this.key===o.currentNodeKey&&(o.currentNode&&(o.currentNode.isCurrent=!1),o.currentNode=this,o.currentNode.isCurrent=!0),o.lazy&&o._initDefaultCheckedNode(this),this.updateLeafState(),(this.level===1||((n=this.parent)==null?void 0:n.expanded)===!0)&&(this.canFocus=!0)}setData(n){ie(n)||dB(this,n),this.data=n,this.childNodes=[];let o;this.level===0&&ie(this.data)?o=this.data:o=vd(this,"children")||[];for(let r=0,a=o.length;r-1)return n.childNodes[o+1]}return null}get previousSibling(){const n=this.parent;if(n){const o=n.childNodes.indexOf(this);if(o>-1)return o>0?n.childNodes[o-1]:null}return null}contains(n,o=!0){return(this.childNodes||[]).some(r=>r===n||o&&r.contains(n))}remove(){const n=this.parent;n&&n.removeChild(this)}insertChild(n,o,r){if(!n)throw new Error("InsertChild error: child is required.");if(!(n instanceof Ld)){if(!r){const a=this.getChildren(!0);a!=null&&a.includes(n.data)||(Xe(o)||o<0?a==null||a.push(n.data):a==null||a.splice(o,0,n.data))}Object.assign(n,{parent:this,store:this.store}),n=e.reactive(new Ld(n)),n instanceof Ld&&n.initialize()}n.level=this.level+1,Xe(o)||o<0?this.childNodes.push(n):this.childNodes.splice(o,0,n),this.updateLeafState()}insertBefore(n,o){let r;o&&(r=this.childNodes.indexOf(o)),this.insertChild(n,r)}insertAfter(n,o){let r;o&&(r=this.childNodes.indexOf(o),r!==-1&&(r+=1)),this.insertChild(n,r)}removeChild(n){const o=this.getChildren()||[],r=o.indexOf(n.data);r>-1&&o.splice(r,1);const a=this.childNodes.indexOf(n);a>-1&&(this.store&&this.store.deregisterNode(n),n.parent=null,this.childNodes.splice(a,1)),this.updateLeafState()}removeChildByData(n){const o=this.childNodes.find(r=>r.data===n);o&&this.removeChild(o)}expand(n,o){const r=()=>{if(o){let a=this.parent;for(;a&&a.level>0;)a.expanded=!0,a=a.parent}this.expanded=!0,n&&n(),Gh(this.childNodes,!0)};this.shouldLoadData()?this.loadData(a=>{ie(a)&&(this.checked?this.setChecked(!0,!0):this.store.checkStrictly||li(this),r())}):r()}doCreateChildren(n,o={}){n.forEach(r=>{this.insertChild(Object.assign({data:r},o),void 0,!0)})}collapse(){this.expanded=!1,Gh(this.childNodes,!1)}shouldLoadData(){return!!(this.store.lazy===!0&&this.store.load&&!this.loaded)}updateLeafState(){if(this.store.lazy===!0&&this.loaded!==!0&&typeof this.isLeafByUser!="undefined"){this.isLeaf=this.isLeafByUser,this.isEffectivelyChecked=this.isLeaf&&this.disabled;return}const n=this.childNodes;if(!this.store.lazy||this.store.lazy===!0&&this.loaded===!0){this.isLeaf=!n||n.length===0,this.isEffectivelyChecked=this.isLeaf&&this.disabled;return}this.isLeaf=!1}setChecked(n,o,r,a){if(this.indeterminate=n==="half",this.checked=n===!0,this.isEffectivelyChecked=!this.childNodes.length&&(this.disabled||this.checked),this.store.checkStrictly)return;if(!(this.shouldLoadData()&&!this.store.checkDescendants)){const s=()=>{if(o){const i=this.childNodes;for(let f=0,p=i.length;f{s(),li(this)},{checked:n!==!1});return}else s()}const l=this.parent;!l||l.level===0||r||li(l)}getChildren(n=!1){if(this.level===0)return this.data;const o=this.data;if(!o)return null;const r=this.store.props;let a="children";return r&&(a=r.children||"children"),Xe(o[a])&&(o[a]=null),n&&!o[a]&&(o[a]=[]),o[a]}updateChildren(){const n=this.getChildren()||[],o=this.childNodes.map(l=>l.data),r={},a=[];n.forEach((l,s)=>{const i=l[Ol];!!i&&o.some(d=>(d==null?void 0:d[Ol])===i)?r[i]={index:s,data:l}:a.push({index:s,data:l})}),this.store.lazy||o.forEach(l=>{r[l==null?void 0:l[Ol]]||this.removeChildByData(l)}),a.forEach(({index:l,data:s})=>{this.insertChild({data:s},l)}),this.updateLeafState()}loadData(n,o={}){if(this.store.lazy===!0&&this.store.load&&!this.loaded&&(!this.loading||Object.keys(o).length)){this.loading=!0;const r=l=>{this.childNodes=[],this.doCreateChildren(l,o),this.loaded=!0,this.loading=!1,this.updateLeafState(),n&&n.call(this,l)},a=()=>{this.loading=!1};this.store.load(this,r,a)}else n&&n.call(this)}eachNode(n){const o=[this];for(;o.length;){const r=o.shift();o.unshift(...r.childNodes),n(r)}}reInitChecked(){this.store.checkStrictly||li(this)}};var SZ=Object.defineProperty,EZ=(t,n,o)=>n in t?SZ(t,n,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[n]=o,Sn=(t,n,o)=>EZ(t,typeof n!="symbol"?n+"":n,o);class vZ{constructor(n){Sn(this,"currentNode"),Sn(this,"currentNodeKey"),Sn(this,"nodesMap"),Sn(this,"root"),Sn(this,"data"),Sn(this,"lazy",!1),Sn(this,"load"),Sn(this,"filterNodeMethod"),Sn(this,"key"),Sn(this,"defaultCheckedKeys"),Sn(this,"checkStrictly",!1),Sn(this,"defaultExpandedKeys"),Sn(this,"autoExpandParent",!1),Sn(this,"defaultExpandAll",!1),Sn(this,"checkDescendants",!1),Sn(this,"props"),this.currentNode=null,this.currentNodeKey=null;for(const o in n)Qt(n,o)&&(this[o]=n[o]);this.nodesMap={}}initialize(){if(this.root=new qh({data:this.data,store:this}),this.root.initialize(),this.lazy&&this.load){const n=this.load;n(this.root,o=>{this.root.doCreateChildren(o),this._initDefaultCheckedNodes()},et)}else this._initDefaultCheckedNodes()}filter(n){const o=this.filterNodeMethod,r=this.lazy,a=async function(l){const s=l.root?l.root.childNodes:l.childNodes;for(const[i,c]of s.entries())c.visible=!!(o!=null&&o.call(c,n,c.data,c)),i%80===0&&i>0&&await e.nextTick(),await a(c);if(!l.visible&&s.length){let i=!0;i=!s.some(c=>c.visible),l.root?l.root.visible=i===!1:l.visible=i===!1}n&&l.visible&&!l.isLeaf&&(!r||l.loaded)&&l.expand()};a(this)}setData(n){n!==this.root.data?(this.nodesMap={},this.root.setData(n),this._initDefaultCheckedNodes(),this.setCurrentNodeKey(this.currentNodeKey)):this.root.updateChildren()}getNode(n){if(n instanceof qh)return n;const o=tt(n)?Uh(this.key,n):n;return this.nodesMap[o]||null}insertBefore(n,o){var r;const a=this.getNode(o);(r=a.parent)==null||r.insertBefore({data:n},a)}insertAfter(n,o){var r;const a=this.getNode(o);(r=a.parent)==null||r.insertAfter({data:n},a)}remove(n){const o=this.getNode(n);o&&o.parent&&(o===this.currentNode&&(this.currentNode=null),o.parent.removeChild(o))}append(n,o){const r=On(o)?this.root:this.getNode(o);r&&r.insertChild({data:n})}_initDefaultCheckedNodes(){const n=this.defaultCheckedKeys||[],o=this.nodesMap;n.forEach(r=>{const a=o[r];a&&a.setChecked(!0,!this.checkStrictly)})}_initDefaultCheckedNode(n){const o=this.defaultCheckedKeys||[];!Rt(n.key)&&o.includes(n.key)&&n.setChecked(!0,!this.checkStrictly)}setDefaultCheckedKey(n){n!==this.defaultCheckedKeys&&(this.defaultCheckedKeys=n,this._initDefaultCheckedNodes())}registerNode(n){const o=this.key;if(!(!n||!n.data))if(!o)this.nodesMap[n.id]=n;else{const r=n.key;Rt(r)||(this.nodesMap[r]=n)}}deregisterNode(n){!this.key||!n||!n.data||(n.childNodes.forEach(r=>{this.deregisterNode(r)}),delete this.nodesMap[n.key])}getCheckedNodes(n=!1,o=!1){const r=[],a=function(l){(l.root?l.root.childNodes:l.childNodes).forEach(i=>{(i.checked||o&&i.indeterminate)&&(!n||n&&i.isLeaf)&&r.push(i.data),a(i)})};return a(this),r}getCheckedKeys(n=!1){return this.getCheckedNodes(n).map(o=>(o||{})[this.key])}getHalfCheckedNodes(){const n=[],o=function(r){(r.root?r.root.childNodes:r.childNodes).forEach(l=>{l.indeterminate&&n.push(l.data),o(l)})};return o(this),n}getHalfCheckedKeys(){return this.getHalfCheckedNodes().map(n=>(n||{})[this.key])}_getAllNodes(){const n=[],o=this.nodesMap;for(const r in o)Qt(o,r)&&n.push(o[r]);return n}updateChildren(n,o){const r=this.nodesMap[n];if(!r)return;const a=r.childNodes;for(let l=a.length-1;l>=0;l--){const s=a[l];this.remove(s.data)}for(let l=0,s=o.length;lc.level-d.level),l=Object.create(null),s=Object.keys(r);a.forEach(c=>c.setChecked(!1,!1));const i=c=>{c.childNodes.forEach(d=>{var u;l[d.data[n]]=!0,(u=d.childNodes)!=null&&u.length&&i(d)})};for(let c=0,d=a.length;c{b.isLeaf||b.setChecked(!1,!1),g(b)})};g(u)}}}setCheckedNodes(n,o=!1){const r=this.key,a={};n.forEach(l=>{a[(l||{})[r]]=!0}),this._setCheckedKeys(r,o,a)}setCheckedKeys(n,o=!1){this.defaultCheckedKeys=n;const r=this.key,a={};n.forEach(l=>{a[l]=!0}),this._setCheckedKeys(r,o,a)}setDefaultExpandedKeys(n){n=n||[],this.defaultExpandedKeys=n,n.forEach(o=>{const r=this.getNode(o);r&&r.expand(null,this.autoExpandParent)})}setChecked(n,o,r){const a=this.getNode(n);a&&a.setChecked(!!o,r)}getCurrentNode(){return this.currentNode}setCurrentNode(n){const o=this.currentNode;o&&(o.isCurrent=!1),this.currentNode=n,this.currentNode.isCurrent=!0}setUserCurrentNode(n,o=!0){var r;const a=n[this.key],l=this.nodesMap[a];this.setCurrentNode(l),o&&this.currentNode&&this.currentNode.level>1&&((r=this.currentNode.parent)==null||r.expand(null,!0))}setCurrentNodeKey(n,o=!0){var r;if(this.currentNodeKey=n,On(n)){this.currentNode&&(this.currentNode.isCurrent=!1),this.currentNode=null;return}const a=this.getNode(n);a&&(this.setCurrentNode(a),o&&this.currentNode&&this.currentNode.level>1&&((r=this.currentNode.parent)==null||r.expand(null,!0)))}}const Nd="RootTree",Xh="NodeInstance",Zh="TreeNodeMap";var NZ=e.defineComponent({name:"ElTreeNodeContent",props:{node:{type:Object,required:!0},renderContent:Function},setup(t){const n=ee("tree"),o=e.inject(Xh),r=e.inject(Nd);return()=>{const a=t.node,{data:l,store:s}=a;return t.renderContent?t.renderContent(e.h,{_self:o,node:a,data:l,store:s}):e.renderSlot(r.ctx.slots,"default",{node:a,data:l},()=>[e.h(Sd,{tag:"span",truncated:!0,class:n.be("node","label")},()=>[a.label])])}}});function fB(t){const n=e.inject(Zh,null);let o={treeNodeExpand:r=>{var a;t.node!==r&&((a=t.node)==null||a.collapse())},children:new Set};return n&&n.children.add(o),e.onBeforeUnmount(()=>{n&&n.children.delete(o),o=null}),e.provide(Zh,o),{broadcastExpanded:r=>{if(t.accordion)for(const a of o.children)a.treeNodeExpand(r)}}}const mB=Symbol("dragEvents");function BZ({props:t,ctx:n,el$:o,dropIndicator$:r,store:a}){const l=ee("tree"),s=e.ref({showDropIndicator:!1,draggingNode:null,dropNode:null,allowDrop:!0,dropType:null}),i=({event:u,treeNode:f})=>{if(u.dataTransfer){if(Ae(t.allowDrag)&&!t.allowDrag(f.node))return u.preventDefault(),!1;u.dataTransfer.effectAllowed="move";try{u.dataTransfer.setData("text/plain","")}catch(p){}s.value.draggingNode=f,n.emit("node-drag-start",f.node,u)}},c=({event:u,treeNode:f})=>{if(!u.dataTransfer)return;const p=f,g=s.value.dropNode;g&&g.node.id!==p.node.id&&yn(g.$el,l.is("drop-inner"));const m=s.value.draggingNode;if(!m||!p)return;let h=!0,b=!0,y=!0,k=!0;Ae(t.allowDrop)&&(h=t.allowDrop(m.node,p.node,"prev"),k=b=t.allowDrop(m.node,p.node,"inner"),y=t.allowDrop(m.node,p.node,"next")),u.dataTransfer.dropEffect=b||h||y?"move":"none",(h||b||y)&&(g==null?void 0:g.node.id)!==p.node.id&&(g&&n.emit("node-drag-leave",m.node,g.node,u),n.emit("node-drag-enter",m.node,p.node,u)),h||b||y?s.value.dropNode=p:s.value.dropNode=null,p.node.nextSibling===m.node&&(y=!1),p.node.previousSibling===m.node&&(h=!1),p.node.contains(m.node,!1)&&(b=!1),(m.node===p.node||m.node.contains(p.node))&&(h=!1,b=!1,y=!1);const C=p.$el,w=C.querySelector(`.${l.be("node","content")}`).getBoundingClientRect(),S=o.value.getBoundingClientRect(),E=o.value.scrollTop;let v;const N=h?b?.25:y?.45:1:Number.NEGATIVE_INFINITY,P=y?b?.75:h?.55:0:Number.POSITIVE_INFINITY;let T=-9999;const V=u.clientY-w.top;Vw.height*P?v="after":b?v="inner":v="none";const x=C.querySelector(`.${l.be("node","expand-icon")}`).getBoundingClientRect(),O=r.value;v==="before"?T=x.top-S.top+E:v==="after"&&(T=x.bottom-S.top+E),O.style.top=`${T}px`,O.style.left=`${x.right-S.left}px`,v==="inner"?lo(C,l.is("drop-inner")):yn(C,l.is("drop-inner")),s.value.showDropIndicator=v==="before"||v==="after",s.value.allowDrop=s.value.showDropIndicator||k,s.value.dropType=v,n.emit("node-drag-over",m.node,p.node,u)},d=u=>{var f,p;const{draggingNode:g,dropType:m,dropNode:h}=s.value;if(u.preventDefault(),u.dataTransfer&&(u.dataTransfer.dropEffect="move"),g!=null&&g.node.data&&h){const b={data:g.node.data};m!=="none"&&g.node.remove(),m==="before"?(f=h.node.parent)==null||f.insertBefore(b,h.node):m==="after"?(p=h.node.parent)==null||p.insertAfter(b,h.node):m==="inner"&&h.node.insertChild(b),m!=="none"&&(a.value.registerNode(b),a.value.key&&g.node.eachNode(y=>{var k;(k=a.value.nodesMap[y.data[a.value.key]])==null||k.setChecked(y.checked,!a.value.checkStrictly)})),yn(h.$el,l.is("drop-inner")),n.emit("node-drag-end",g.node,h.node,m,u),m!=="none"&&n.emit("node-drop",g.node,h.node,m,u)}g&&!h&&n.emit("node-drag-end",g.node,null,m,u),s.value.showDropIndicator=!1,s.value.draggingNode=null,s.value.dropNode=null,s.value.allowDrop=!0};return e.provide(mB,{treeNodeDragStart:i,treeNodeDragOver:c,treeNodeDragEnd:d}),{dragState:s}}var TZ=e.defineComponent({name:"ElTreeNode",components:{ElCollapseTransition:Ks,ElCheckbox:ho,NodeContent:NZ,ElIcon:ce,Loading:Uo},props:{node:{type:qh,default:()=>({})},props:{type:Object,default:()=>({})},accordion:Boolean,renderContent:Function,renderAfterExpand:Boolean,showCheckbox:Boolean},emits:["node-expand"],setup(t,n){const o=ee("tree"),{broadcastExpanded:r}=fB(t),a=e.inject(Nd),l=e.ref(!1),s=e.ref(!1),i=e.ref(),c=e.ref(),d=e.ref(),u=e.inject(mB),f=e.getCurrentInstance();e.provide(Xh,f),t.node.expanded&&(l.value=!0,s.value=!0);const p=a.props.props.children||"children";e.watch(()=>{var P;const T=(P=t.node.data)==null?void 0:P[p];return T&&[...T]},()=>{t.node.updateChildren()}),e.watch(()=>t.node.indeterminate,P=>{h(t.node.checked,P)}),e.watch(()=>t.node.checked,P=>{h(P,t.node.indeterminate)}),e.watch(()=>t.node.childNodes.length,()=>t.node.reInitChecked()),e.watch(()=>t.node.expanded,P=>{e.nextTick(()=>l.value=P),P&&(s.value=!0)});const g=P=>Uh(a.props.nodeKey,P.data),m=P=>{const T=t.props.class;if(!T)return{};let V;if(Ae(T)){const{data:x}=P;V=T(x,P)}else V=T;return ve(V)?{[V]:!0}:V},h=(P,T)=>{(i.value!==P||c.value!==T)&&a.ctx.emit("check-change",t.node.data,P,T),i.value=P,c.value=T},b=P=>{Yh(a.store,a.ctx.emit,()=>{var T;if((T=a==null?void 0:a.props)==null?void 0:T.nodeKey){const x=g(t.node);a.store.value.setCurrentNodeKey(x)}else a.store.value.setCurrentNode(t.node)}),a.currentNode.value=t.node,a.props.expandOnClickNode&&k(),(a.props.checkOnClickNode||t.node.isLeaf&&a.props.checkOnClickLeaf&&t.showCheckbox)&&!t.node.disabled&&C(!t.node.checked),a.ctx.emit("node-click",t.node.data,t.node,f,P)},y=P=>{var T;(T=a.instance.vnode.props)!=null&&T.onNodeContextmenu&&(P.stopPropagation(),P.preventDefault()),a.ctx.emit("node-contextmenu",P,t.node.data,t.node,f)},k=()=>{t.node.isLeaf||(l.value?(a.ctx.emit("node-collapse",t.node.data,t.node,f),t.node.collapse()):t.node.expand(()=>{n.emit("node-expand",t.node.data,t.node,f)}))},C=P=>{const T=a==null?void 0:a.props.checkStrictly,V=t.node.childNodes;!T&&V.length&&(P=V.some(x=>!x.isEffectivelyChecked)),t.node.setChecked(P,!T),e.nextTick(()=>{const x=a.store.value;a.ctx.emit("check",t.node.data,{checkedNodes:x.getCheckedNodes(),checkedKeys:x.getCheckedKeys(),halfCheckedNodes:x.getHalfCheckedNodes(),halfCheckedKeys:x.getHalfCheckedKeys()})})};return{ns:o,node$:d,tree:a,expanded:l,childNodeRendered:s,oldChecked:i,oldIndeterminate:c,getNodeKey:g,getNodeClass:m,handleSelectChange:h,handleClick:b,handleContextMenu:y,handleExpandIconClick:k,handleCheckChange:C,handleChildNodeExpand:(P,T,V)=>{r(T),a.ctx.emit("node-expand",P,T,V)},handleDragStart:P=>{a.props.draggable&&u.treeNodeDragStart({event:P,treeNode:t})},handleDragOver:P=>{P.preventDefault(),a.props.draggable&&u.treeNodeDragOver({event:P,treeNode:{$el:d.value,node:t.node}})},handleDrop:P=>{P.preventDefault()},handleDragEnd:P=>{a.props.draggable&&u.treeNodeDragEnd(P)},CaretRight:EC}}});const xZ=["aria-expanded","aria-disabled","aria-checked","draggable","data-key"],$Z=["aria-expanded"];function VZ(t,n,o,r,a,l){const s=e.resolveComponent("el-icon"),i=e.resolveComponent("el-checkbox"),c=e.resolveComponent("loading"),d=e.resolveComponent("node-content"),u=e.resolveComponent("el-tree-node"),f=e.resolveComponent("el-collapse-transition");return e.withDirectives((e.openBlock(),e.createElementBlock("div",{ref:"node$",class:e.normalizeClass([t.ns.b("node"),t.ns.is("expanded",t.expanded),t.ns.is("current",t.node.isCurrent),t.ns.is("hidden",!t.node.visible),t.ns.is("focusable",!t.node.disabled),t.ns.is("checked",!t.node.disabled&&t.node.checked),t.getNodeClass(t.node)]),role:"treeitem",tabindex:"-1","aria-expanded":t.expanded,"aria-disabled":t.node.disabled,"aria-checked":t.node.checked,draggable:t.tree.props.draggable,"data-key":t.getNodeKey(t.node),onClick:n[2]||(n[2]=e.withModifiers((...p)=>t.handleClick&&t.handleClick(...p),["stop"])),onContextmenu:n[3]||(n[3]=(...p)=>t.handleContextMenu&&t.handleContextMenu(...p)),onDragstart:n[4]||(n[4]=e.withModifiers((...p)=>t.handleDragStart&&t.handleDragStart(...p),["stop"])),onDragover:n[5]||(n[5]=e.withModifiers((...p)=>t.handleDragOver&&t.handleDragOver(...p),["stop"])),onDragend:n[6]||(n[6]=e.withModifiers((...p)=>t.handleDragEnd&&t.handleDragEnd(...p),["stop"])),onDrop:n[7]||(n[7]=e.withModifiers((...p)=>t.handleDrop&&t.handleDrop(...p),["stop"]))},[e.createElementVNode("div",{class:e.normalizeClass(t.ns.be("node","content")),style:e.normalizeStyle({paddingLeft:(t.node.level-1)*t.tree.props.indent+"px"})},[t.tree.props.icon||t.CaretRight?(e.openBlock(),e.createBlock(s,{key:0,class:e.normalizeClass([t.ns.be("node","expand-icon"),t.ns.is("leaf",t.node.isLeaf),{expanded:!t.node.isLeaf&&t.expanded}]),onClick:e.withModifiers(t.handleExpandIconClick,["stop"])},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.tree.props.icon||t.CaretRight)))]),_:1},8,["class","onClick"])):e.createCommentVNode("v-if",!0),t.showCheckbox?(e.openBlock(),e.createBlock(i,{key:1,"model-value":t.node.checked,indeterminate:t.node.indeterminate,disabled:!!t.node.disabled,onClick:n[0]||(n[0]=e.withModifiers(()=>{},["stop"])),onChange:t.handleCheckChange},null,8,["model-value","indeterminate","disabled","onChange"])):e.createCommentVNode("v-if",!0),t.node.loading?(e.openBlock(),e.createBlock(s,{key:2,class:e.normalizeClass([t.ns.be("node","loading-icon"),t.ns.is("loading")])},{default:e.withCtx(()=>[e.createVNode(c)]),_:1},8,["class"])):e.createCommentVNode("v-if",!0),e.createVNode(d,{node:t.node,"render-content":t.renderContent},null,8,["node","render-content"])],6),e.createVNode(f,null,{default:e.withCtx(()=>[!t.renderAfterExpand||t.childNodeRendered?e.withDirectives((e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(t.ns.be("node","children")),role:"group","aria-expanded":t.expanded,onClick:n[1]||(n[1]=e.withModifiers(()=>{},["stop"]))},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.node.childNodes,p=>(e.openBlock(),e.createBlock(u,{key:t.getNodeKey(p),"render-content":t.renderContent,"render-after-expand":t.renderAfterExpand,"show-checkbox":t.showCheckbox,node:p,accordion:t.accordion,props:t.props,onNodeExpand:t.handleChildNodeExpand},null,8,["render-content","render-after-expand","show-checkbox","node","accordion","props","onNodeExpand"]))),128))],10,$Z)),[[e.vShow,t.expanded]]):e.createCommentVNode("v-if",!0)]),_:1})],42,xZ)),[[e.vShow,t.node.visible]])}var PZ=Ut(TZ,[["render",VZ]]);function RZ({el$:t},n){const o=ee("tree");e.onMounted(()=>{l()}),e.onUpdated(()=>{var s;(s=t.value)==null||s.querySelectorAll("input[type=checkbox]").forEach(i=>{i.setAttribute("tabindex","-1")})});function r(s,i){var c,d;const u=n.value.getNode(s[i].dataset.key);return u.canFocus&&u.visible&&(((c=u.parent)==null?void 0:c.expanded)||((d=u.parent)==null?void 0:d.level)===0)}nt(t,"keydown",s=>{const i=s.target;if(!i.className.includes(o.b("node")))return;const c=ut(s),d=Array.from(t.value.querySelectorAll(`.${o.is("focusable")}[role=treeitem]`)),u=d.indexOf(i);let f;if([te.up,te.down].includes(c)){if(s.preventDefault(),c===te.up){f=u===-1?0:u!==0?u-1:d.length-1;const g=f;for(;!r(d,f);){if(f--,f===g){f=-1;break}f<0&&(f=d.length-1)}}else{f=u===-1?0:u=d.length&&(f=0)}}f!==-1&&d[f].focus()}[te.left,te.right].includes(c)&&(s.preventDefault(),i.click());const p=i.querySelector('[type="checkbox"]');[te.enter,te.numpadEnter,te.space].includes(c)&&p&&(s.preventDefault(),p.click())});const l=()=>{var s;if(!t.value)return;const i=Array.from(t.value.querySelectorAll(`.${o.is("focusable")}[role=treeitem]`));Array.from(t.value.querySelectorAll("input[type=checkbox]")).forEach(u=>{u.setAttribute("tabindex","-1")});const d=t.value.querySelectorAll(`.${o.is("checked")}[role=treeitem]`);if(d.length){d[0].setAttribute("tabindex","0");return}(s=i[0])==null||s.setAttribute("tabindex","0")}}const Jh=oe({data:{type:K(Array),default:()=>[]},emptyText:{type:String},renderAfterExpand:{type:Boolean,default:!0},nodeKey:String,checkStrictly:Boolean,defaultExpandAll:Boolean,expandOnClickNode:{type:Boolean,default:!0},checkOnClickNode:Boolean,checkOnClickLeaf:{type:Boolean,default:!0},checkDescendants:Boolean,autoExpandParent:{type:Boolean,default:!0},defaultCheckedKeys:{type:Array},defaultExpandedKeys:{type:Array},currentNodeKey:{type:[String,Number]},renderContent:{type:K(Function)},showCheckbox:Boolean,draggable:Boolean,allowDrag:{type:K(Function)},allowDrop:{type:K(Function)},props:{type:Object,default:()=>({children:"children",label:"label",disabled:"disabled"})},lazy:Boolean,highlightCurrent:Boolean,load:{type:Function},filterNodeMethod:{type:Function},accordion:Boolean,indent:{type:Number,default:18},icon:{type:dt}}),pB={"check-change":(t,n,o)=>t&&ct(n)&&ct(o),"current-change":(t,n)=>!0,"node-click":(t,n,o,r)=>t&&n&&r instanceof Event,"node-contextmenu":(t,n,o,r)=>t instanceof Event&&n&&o,"node-collapse":(t,n,o)=>t&&n,"node-expand":(t,n,o)=>t&&n,check:(t,n)=>t&&n,"node-drag-start":(t,n)=>t&&n,"node-drag-end":(t,n,o,r)=>t&&r,"node-drop":(t,n,o,r)=>t&&n&&r,"node-drag-leave":(t,n,o)=>t&&n&&o,"node-drag-enter":(t,n,o)=>t&&n&&o,"node-drag-over":(t,n,o)=>t&&n&&o};var MZ=e.defineComponent({name:"ElTree",components:{ElTreeNode:PZ},props:Jh,emits:pB,setup(t,n){const{t:o}=je(),r=ee("tree"),a=e.ref(new vZ({key:t.nodeKey,data:t.data,lazy:t.lazy,props:t.props,load:t.load,currentNodeKey:t.currentNodeKey,checkStrictly:t.checkStrictly,checkDescendants:t.checkDescendants,defaultCheckedKeys:t.defaultCheckedKeys,defaultExpandedKeys:t.defaultExpandedKeys,autoExpandParent:t.autoExpandParent,defaultExpandAll:t.defaultExpandAll,filterNodeMethod:t.filterNodeMethod}));a.value.initialize();const l=e.ref(a.value.root),s=e.ref(null),i=e.ref(null),c=e.ref(null),{broadcastExpanded:d}=fB(t),{dragState:u}=BZ({props:t,ctx:n,el$:i,dropIndicator$:c,store:a});RZ({el$:i},a);const f=e.getCurrentInstance(),p=e.computed(()=>{let I=f==null?void 0:f.parent;for(;I;){if(I.type.name==="ElTreeSelect")return!0;I=I.parent}return!1}),g=e.computed(()=>{const{childNodes:I}=l.value;return(!I||I.length===0||I.every(({visible:z})=>!z))&&!p.value});e.watch(()=>t.currentNodeKey,I=>{a.value.setCurrentNodeKey(I!=null?I:null)}),e.watch(()=>t.defaultCheckedKeys,(I,z)=>{xt(I,z)||a.value.setDefaultCheckedKey(I!=null?I:[])}),e.watch(()=>t.defaultExpandedKeys,I=>{a.value.setDefaultExpandedKeys(I!=null?I:[])}),e.watch(()=>t.data,I=>{a.value.setData(I)},{deep:!0}),e.watch(()=>t.checkStrictly,I=>{a.value.checkStrictly=I});const m=I=>{if(!t.filterNodeMethod)throw new Error("[Tree] filterNodeMethod is required when filter");a.value.filter(I)},h=I=>Uh(t.nodeKey,I.data),b=I=>{if(!t.nodeKey)throw new Error(`[Tree] nodeKey is required in ${I}`)},y=I=>{b("getNodePath");const z=a.value.getNode(I);if(!z)return[];const F=[z.data];let A=z.parent;for(;A&&A!==l.value;)F.push(A.data),A=A.parent;return F.reverse()},k=(I,z)=>a.value.getCheckedNodes(I,z),C=I=>a.value.getCheckedKeys(I),w=()=>{const I=a.value.getCurrentNode();return I?I.data:null},S=()=>{b("getCurrentKey");const I=w();return I?I[t.nodeKey]:null},E=(I,z)=>{b("setCheckedNodes"),a.value.setCheckedNodes(I,z)},v=(I,z)=>{b("setCheckedKeys"),a.value.setCheckedKeys(I,z)},N=(I,z,F)=>{a.value.setChecked(I,z,F)},P=()=>a.value.getHalfCheckedNodes(),T=()=>a.value.getHalfCheckedKeys(),V=(I,z=!0)=>{b("setCurrentNode"),Yh(a,n.emit,()=>{d(I),a.value.setUserCurrentNode(I,z)})},x=(I=null,z=!0)=>{b("setCurrentKey"),Yh(a,n.emit,()=>{d(),a.value.setCurrentNodeKey(I,z)})},O=I=>a.value.getNode(I),D=I=>{a.value.remove(I)},L=(I,z)=>{a.value.append(I,z)},H=(I,z)=>{a.value.insertBefore(I,z)},$=(I,z)=>{a.value.insertAfter(I,z)},B=(I,z,F)=>{d(z),n.emit("node-expand",I,z,F)},M=(I,z)=>{b("updateKeyChild"),a.value.updateChildren(I,z)};return e.provide(Nd,{ctx:n,props:t,store:a,root:l,currentNode:s,instance:f}),e.provide($o,void 0),{ns:r,store:a,root:l,currentNode:s,dragState:u,el$:i,dropIndicator$:c,isEmpty:g,filter:m,getNodeKey:h,getNodePath:y,getCheckedNodes:k,getCheckedKeys:C,getCurrentNode:w,getCurrentKey:S,setCheckedNodes:E,setCheckedKeys:v,setChecked:N,getHalfCheckedNodes:P,getHalfCheckedKeys:T,setCurrentNode:V,setCurrentKey:x,t:o,getNode:O,remove:D,append:L,insertBefore:H,insertAfter:$,handleNodeExpand:B,updateKeyChildren:M}}});function IZ(t,n,o,r,a,l){const s=e.resolveComponent("el-tree-node");return e.openBlock(),e.createElementBlock("div",{ref:"el$",class:e.normalizeClass([t.ns.b(),t.ns.is("dragging",!!t.dragState.draggingNode),t.ns.is("drop-not-allow",!t.dragState.allowDrop),t.ns.is("drop-inner",t.dragState.dropType==="inner"),{[t.ns.m("highlight-current")]:t.highlightCurrent}]),role:"tree"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.root.childNodes,i=>(e.openBlock(),e.createBlock(s,{key:t.getNodeKey(i),node:i,props:t.props,accordion:t.accordion,"render-after-expand":t.renderAfterExpand,"show-checkbox":t.showCheckbox,"render-content":t.renderContent,onNodeExpand:t.handleNodeExpand},null,8,["node","props","accordion","render-after-expand","show-checkbox","render-content","onNodeExpand"]))),128)),t.isEmpty?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(t.ns.e("empty-block"))},[e.renderSlot(t.$slots,"empty",{},()=>{var i;return[e.createElementVNode("span",{class:e.normalizeClass(t.ns.e("empty-text"))},e.toDisplayString((i=t.emptyText)!=null?i:t.t("el.tree.emptyText")),3)]})],2)):e.createCommentVNode("v-if",!0),e.withDirectives(e.createElementVNode("div",{ref:"dropIndicator$",class:e.normalizeClass(t.ns.e("drop-indicator"))},null,2),[[e.vShow,t.dragState.showDropIndicator]])],2)}var OZ=Ut(MZ,[["render",IZ]]);const Bd=Re(OZ),AZ=(t,{attrs:n,emit:o},{select:r,tree:a,key:l})=>{const s=ee("tree-select");e.watch(()=>t.data,()=>{t.filterable&&e.nextTick(()=>{var d,u;(u=a.value)==null||u.filter((d=r.value)==null?void 0:d.states.inputValue)})},{flush:"post"});const i=d=>{var u;const f=d.at(-1);if(f.expanded&&f.childNodes.at(-1))i([f.childNodes.at(-1)]);else{const p=(u=a.value.el$)==null?void 0:u.querySelector(`[data-key="${d.at(-1).key}"]`);p==null||p.focus({preventScroll:!0});return}};return e.onMounted(()=>{nt(()=>{var d;return(d=r.value)==null?void 0:d.$el},"keydown",async d=>{const u=ut(d),{dropdownMenuVisible:f}=r.value;[te.down,te.up].includes(u)&&f&&(await e.nextTick(),setTimeout(()=>{var p,g,m;if(te.up===u){const h=a.value.store.root.childNodes;i(h);return}(m=(g=(p=r.value.optionsArray[r.value.states.hoveringIndex].$el)==null?void 0:p.parentNode)==null?void 0:g.parentNode)==null||m.focus({preventScroll:!0})}))},{capture:!0})}),{..._o(e.toRefs(t),Object.keys(Er.props)),...n,class:e.computed(()=>n.class),style:e.computed(()=>n.style),"onUpdate:modelValue":d=>o(Ne,d),valueKey:l,popperClass:e.computed(()=>{const d=[s.e("popper")];return t.popperClass&&d.push(t.popperClass),d.join(" ")}),filterMethod:(d="")=>{var u;t.filterMethod?t.filterMethod(d):t.remoteMethod?t.remoteMethod(d):(u=a.value)==null||u.filter(d)}}},zZ=e.defineComponent({extends:Fs,setup(t,n){const o=Fs.setup(t,n);delete o.selectOptionClick;const r=e.getCurrentInstance().proxy;return e.nextTick(()=>{o.select.states.cachedOptions.get(r.value)||o.select.onOptionCreate(r)}),e.watch(()=>n.attrs.visible,a=>{e.nextTick(()=>{o.states.visible=a})},{immediate:!0}),o},methods:{selectOptionClick(){this.$el.parentElement.click()}}});function Qh(t){return t||t===0}function eg(t){return ie(t)&&t.length}function Al(t){return ie(t)?t:Qh(t)?[t]:[]}function Td(t,n,o,r,a){for(let l=0;l{e.watch([()=>t.modelValue,l],()=>{t.showCheckbox&&e.nextTick(()=>{const p=l.value;p&&!xt(p.getCheckedKeys(),Al(t.modelValue))&&p.setCheckedKeys(Al(t.modelValue))})},{immediate:!0,deep:!0});const i=e.computed(()=>({value:s.value,label:"label",children:"children",disabled:"disabled",isLeaf:"isLeaf",...t.props})),c=(p,g)=>{var m;const h=i.value[p];return Ae(h)?h(g,(m=l.value)==null?void 0:m.getNode(c("value",g))):g[h]},d=Al(t.modelValue).map(p=>Td(t.data||[],g=>c("value",g)===p,g=>c("children",g),(g,m,h,b)=>b&&c("value",b))).filter(p=>Qh(p)),u=e.computed(()=>{if(!t.renderAfterExpand&&!t.lazy)return[];const p=[];return xd(t.data.concat(t.cacheData),g=>{const m=c("value",g);p.push({value:m,currentLabel:c("label",g),isDisabled:c("disabled",g)})},g=>c("children",g)),p}),f=()=>{var p;return(p=l.value)==null?void 0:p.getCheckedKeys().filter(g=>{var m;const h=(m=l.value)==null?void 0:m.getNode(g);return!Rt(h)&&Tn(h.childNodes)})};return{..._o(e.toRefs(t),Object.keys(Bd.props)),...n,nodeKey:s,expandOnClickNode:e.computed(()=>!t.checkStrictly&&t.expandOnClickNode),defaultExpandedKeys:e.computed(()=>t.defaultExpandedKeys?t.defaultExpandedKeys.concat(d):d),renderContent:(p,{node:g,data:m,store:h})=>p(zZ,{value:c("value",m),label:c("label",m),disabled:c("disabled",m),visible:g.visible},t.renderContent?()=>t.renderContent(p,{node:g,data:m,store:h}):o.default?()=>o.default({node:g,data:m,store:h}):void 0),filterNodeMethod:(p,g,m)=>t.filterNodeMethod?t.filterNodeMethod(p,g,m):p?new RegExp(mf(p),"i").test(c("label",g)||""):!0,onNodeClick:(p,g,m)=>{var h,b,y;if((h=n.onNodeClick)==null||h.call(n,p,g,m),!(t.showCheckbox&&t.checkOnClickNode))if(!t.showCheckbox&&(t.checkStrictly||g.isLeaf)){if(!c("disabled",p)){const k=(b=a.value)==null?void 0:b.states.options.get(c("value",p));(y=a.value)==null||y.handleOptionSelect(k)}}else t.expandOnClickNode&&m.proxy.handleExpandIconClick()},onCheck:(p,g)=>{var m;if(!t.showCheckbox)return;const h=c("value",p),b={};xd([l.value.store.root],w=>b[w.key]=w,w=>w.childNodes);const y=g.checkedKeys,k=t.multiple?Al(t.modelValue).filter(w=>!(w in b)&&!y.includes(w)):[],C=k.concat(y);if(t.checkStrictly)r(Ne,t.multiple?C:C.includes(h)?h:void 0);else if(t.multiple){const w=f();r(Ne,k.concat(w))}else{const w=Td([p],v=>!eg(c("children",v))&&!c("disabled",v),v=>c("children",v)),S=w?c("value",w):void 0,E=Qh(t.modelValue)&&!!Td([p],v=>c("value",v)===t.modelValue,v=>c("children",v));r(Ne,S===t.modelValue||E?void 0:S)}e.nextTick(()=>{var w;const S=Al(t.modelValue);l.value.setCheckedKeys(S),(w=n.onCheck)==null||w.call(n,p,{checkedKeys:l.value.getCheckedKeys(),checkedNodes:l.value.getCheckedNodes(),halfCheckedKeys:l.value.getHalfCheckedKeys(),halfCheckedNodes:l.value.getHalfCheckedNodes()})}),(m=a.value)==null||m.focus()},onNodeExpand:(p,g,m)=>{var h;(h=n.onNodeExpand)==null||h.call(n,p,g,m),e.nextTick(()=>{if(!t.checkStrictly&&t.lazy&&t.multiple&&g.checked){const b={},y=l.value.getCheckedKeys();xd([l.value.store.root],w=>b[w.key]=w,w=>w.childNodes);const k=Al(t.modelValue).filter(w=>!(w in b)&&!y.includes(w)),C=f();r(Ne,k.concat(C))}})},cacheOptions:u}};var LZ=e.defineComponent({props:{data:{type:Array,default:()=>[]}},setup(t){const n=e.inject(wl);return e.watch(()=>t.data,()=>{var o;t.data.forEach(a=>{n.states.cachedOptions.has(a.value)||n.states.cachedOptions.set(a.value,a)});const r=((o=n.selectRef)==null?void 0:o.querySelectorAll("input"))||[];Je&&!Array.from(r).includes(document.activeElement)&&n.setSelected()},{flush:"post",immediate:!0}),()=>{}}}),_Z=e.defineComponent({name:"ElTreeSelect",inheritAttrs:!1,props:{...ep,...Jh,cacheData:{type:Array,default:()=>[]}},setup(t,n){const{slots:o,expose:r}=n,a=e.ref(),l=e.ref(),s=e.computed(()=>t.nodeKey||t.valueKey||"value"),i=AZ(t,n,{select:a,tree:l,key:s}),{cacheOptions:c,...d}=DZ(t,n,{select:a,tree:l,key:s}),u=e.reactive({});return r(u),e.onMounted(()=>{Object.assign(u,{..._o(l.value,["filter","updateKeyChildren","getCheckedNodes","setCheckedNodes","getCheckedKeys","setCheckedKeys","setChecked","getHalfCheckedNodes","getHalfCheckedKeys","getCurrentKey","getCurrentNode","setCurrentKey","setCurrentNode","getNode","remove","append","insertBefore","insertAfter"]),..._o(a.value,["focus","blur","selectedLabel"]),treeRef:l.value,selectRef:a.value})}),()=>e.h(Er,e.reactive({...i,ref:f=>a.value=f}),{...o,default:()=>[e.h(LZ,{data:c.value}),e.h(Bd,e.reactive({...d,ref:f=>l.value=f}))]})}});const hB=Re(_Z),tg=Symbol(),FZ={key:-1,level:-1,data:{}};var si=(t=>(t.KEY="id",t.LABEL="label",t.CHILDREN="children",t.DISABLED="disabled",t.CLASS="",t))(si||{}),ng=(t=>(t.ADD="add",t.DELETE="delete",t))(ng||{});const gB={type:Number,default:26},HZ=oe({data:{type:K(Array),default:()=>wt([])},emptyText:{type:String},height:{type:Number,default:200},props:{type:K(Object),default:()=>wt({children:"children",label:"label",disabled:"disabled",value:"id",class:""})},highlightCurrent:Boolean,showCheckbox:Boolean,defaultCheckedKeys:{type:K(Array),default:()=>wt([])},checkStrictly:Boolean,defaultExpandedKeys:{type:K(Array),default:()=>wt([])},indent:{type:Number,default:16},itemSize:gB,icon:{type:dt},expandOnClickNode:{type:Boolean,default:!0},checkOnClickNode:Boolean,checkOnClickLeaf:{type:Boolean,default:!0},currentNodeKey:{type:K([String,Number])},accordion:Boolean,filterMethod:{type:K(Function)},perfMode:{type:Boolean,default:!0},scrollbarAlwaysOn:Boolean}),KZ=oe({node:{type:K(Object),default:()=>wt(FZ)},expanded:Boolean,checked:Boolean,indeterminate:Boolean,showCheckbox:Boolean,disabled:Boolean,current:Boolean,hiddenExpandIcon:Boolean,itemSize:gB}),WZ=oe({node:{type:K(Object),required:!0}}),bB="node-click",yB="node-drop",CB="node-expand",wB="node-collapse",kB="current-change",SB="check",EB="check-change",vB="node-contextmenu",jZ={[bB]:(t,n,o)=>t&&n&&o,[yB]:(t,n,o)=>t&&n&&o,[CB]:(t,n)=>t&&n,[wB]:(t,n)=>t&&n,[kB]:(t,n)=>t&&n,[SB]:(t,n)=>t&&n,[EB]:(t,n)=>t&&ct(n),[vB]:(t,n,o)=>t&&n&&o},UZ={click:(t,n)=>!!(t&&n),drop:(t,n)=>!!(t&&n),toggle:t=>!!t,check:(t,n)=>t&&ct(n)};function YZ(t,n){const o=e.ref(new Set),r=e.ref(new Set),{emit:a}=e.getCurrentInstance();e.watch([()=>n.value,()=>t.defaultCheckedKeys],()=>e.nextTick(()=>{k(t.defaultCheckedKeys)}),{immediate:!0});const l=()=>{if(!n.value||!t.showCheckbox||t.checkStrictly)return;const{levelTreeNodeMap:C,maxLevel:w}=n.value,S=o.value,E=new Set;for(let v=w;v>=1;--v){const N=C.get(v);N&&N.forEach(P=>{const T=P.children;let V=!P.isLeaf||P.disabled||S.has(P.key);if(T){let x=!0,O=!1;for(const D of T){const L=D.key;if(D.isEffectivelyChecked||(V=!1),S.has(L))O=!0;else if(E.has(L)){x=!1,O=!0;break}else x=!1}x?S.add(P.key):O?(E.add(P.key),S.delete(P.key)):(S.delete(P.key),E.delete(P.key))}P.isEffectivelyChecked=V})}r.value=E},s=C=>o.value.has(C.key),i=C=>r.value.has(C.key),c=(C,w,S=!0,E=!0)=>{const v=o.value,N=C.children;!t.checkStrictly&&S&&(N!=null&&N.length)&&(w=N.some(T=>!T.isEffectivelyChecked));const P=(T,V)=>{v[V?ng.ADD:ng.DELETE](T.key);const x=T.children;!t.checkStrictly&&x&&x.forEach(O=>{(!O.disabled||O.children)&&P(O,V)})};P(C,w),E&&l(),S&&d(C,w)},d=(C,w)=>{const{checkedNodes:S,checkedKeys:E}=m(),{halfCheckedNodes:v,halfCheckedKeys:N}=h();a(SB,C.data,{checkedKeys:E,checkedNodes:S,halfCheckedKeys:N,halfCheckedNodes:v}),a(EB,C.data,w)};function u(C=!1){return m(C).checkedKeys}function f(C=!1){return m(C).checkedNodes}function p(){return h().halfCheckedKeys}function g(){return h().halfCheckedNodes}function m(C=!1){const w=[],S=[];if(n!=null&&n.value&&t.showCheckbox){const{treeNodeMap:E}=n.value;o.value.forEach(v=>{const N=E.get(v);N&&(!C||C&&N.isLeaf)&&(S.push(v),w.push(N.data))})}return{checkedKeys:S,checkedNodes:w}}function h(){const C=[],w=[];if(n!=null&&n.value&&t.showCheckbox){const{treeNodeMap:S}=n.value;r.value.forEach(E=>{const v=S.get(E);v&&(w.push(E),C.push(v.data))})}return{halfCheckedNodes:C,halfCheckedKeys:w}}function b(C){o.value.clear(),r.value.clear(),e.nextTick(()=>{k(C)})}function y(C,w){if(n!=null&&n.value&&t.showCheckbox){const S=n.value.treeNodeMap.get(C);S&&c(S,w,!1)}}function k(C){if(n!=null&&n.value){const{treeNodeMap:w}=n.value;if(t.showCheckbox&&w&&(C==null?void 0:C.length)>0){for(const S of C){const E=w.get(S);E&&!s(E)&&c(E,!0,!1,!1)}l()}}}return{updateCheckedKeys:l,toggleCheckbox:c,isChecked:s,isIndeterminate:i,getCheckedKeys:u,getCheckedNodes:f,getHalfCheckedKeys:p,getHalfCheckedNodes:g,setChecked:y,setCheckedKeys:b}}function GZ(t,n){const o=e.ref(new Set([])),r=e.ref(new Set([])),a=e.computed(()=>Ae(t.filterMethod));function l(i){var c;if(!a.value)return;const d=new Set,u=r.value,f=o.value,p=[],g=((c=n.value)==null?void 0:c.treeNodes)||[],m=t.filterMethod;f.clear();function h(b){b.forEach(y=>{p.push(y),m!=null&&m(i,y.data,y)?p.forEach(C=>{d.add(C.key),C.expanded=!0}):(y.expanded=!1,y.isLeaf&&f.add(y.key));const k=y.children;if(k&&h(k),!y.isLeaf){if(!d.has(y.key))f.add(y.key);else if(k){let C=!0;for(const w of k)if(!f.has(w.key)){C=!1;break}C?u.add(y.key):u.delete(y.key)}}p.pop()})}return h(g),d}function s(i){return r.value.has(i.key)}return{hiddenExpandIconKeySet:r,hiddenNodeKeySet:o,doFilter:l,isForceHiddenExpandIcon:s}}function qZ(t,n){const o=e.ref(new Set),r=e.ref(),a=e.shallowRef(),l=e.ref(),{isIndeterminate:s,isChecked:i,toggleCheckbox:c,getCheckedKeys:d,getCheckedNodes:u,getHalfCheckedKeys:f,getHalfCheckedNodes:p,setChecked:g,setCheckedKeys:m}=YZ(t,a),{doFilter:h,hiddenNodeKeySet:b,isForceHiddenExpandIcon:y}=GZ(t,a),k=e.computed(()=>{var _;return((_=t.props)==null?void 0:_.value)||si.KEY}),C=e.computed(()=>{var _;return((_=t.props)==null?void 0:_.children)||si.CHILDREN}),w=e.computed(()=>{var _;return((_=t.props)==null?void 0:_.disabled)||si.DISABLED}),S=e.computed(()=>{var _;return((_=t.props)==null?void 0:_.label)||si.LABEL}),E=e.computed(()=>{var _;const q=o.value,le=b.value,ue=[],Ce=((_=a.value)==null?void 0:_.treeNodes)||[],Ee=[];for(let Ve=Ce.length-1;Ve>=0;--Ve)Ee.push(Ce[Ve]);for(;Ee.length;){const Ve=Ee.pop();if(!le.has(Ve.key)&&(ue.push(Ve),Ve.children&&q.has(Ve.key)))for(let Ie=Ve.children.length-1;Ie>=0;--Ie)Ee.push(Ve.children[Ie])}return ue}),v=e.computed(()=>E.value.length>0);function N(_){const q=new Map,le=new Map;let ue=1;function Ce(Ve,Ie=1,qe=void 0){var We;const be=[];for(const ye of Ve){const Te=V(ye),Oe={level:Ie,key:Te,data:ye};Oe.label=O(ye),Oe.parent=qe;const Fe=T(ye);Oe.disabled=x(ye),Oe.isLeaf=!Fe||Fe.length===0,Oe.expanded=o.value.has(Te),Fe&&Fe.length&&(Oe.children=Ce(Fe,Ie+1,Oe)),be.push(Oe),q.set(Te,Oe),le.has(Ie)||le.set(Ie,[]),(We=le.get(Ie))==null||We.push(Oe)}return Ie>ue&&(ue=Ie),be}const Ee=Ce(_);return{treeNodeMap:q,levelTreeNodeMap:le,maxLevel:ue,treeNodes:Ee}}function P(_){const q=h(_);q&&(o.value=q)}function T(_){return _[C.value]}function V(_){return _?_[k.value]:""}function x(_){return _[w.value]}function O(_){return _[S.value]}function D(_){o.value.has(_.key)?z(_):I(_)}function L(_){const q=new Set,le=a.value.treeNodeMap;o.value.forEach(ue=>{const Ce=le.get(ue);o.value.delete(Ce.key),Ce.expanded=!1}),_.forEach(ue=>{let Ce=le.get(ue);for(;Ce&&!q.has(Ce.key);)q.add(Ce.key),Ce.expanded=!0,Ce=Ce.parent}),o.value=q}function H(_,q){n(bB,_.data,_,q),B(_),t.expandOnClickNode&&D(_),t.showCheckbox&&(t.checkOnClickNode||_.isLeaf&&t.checkOnClickLeaf)&&!_.disabled&&c(_,!i(_),!0)}function $(_,q){n(yB,_.data,_,q)}function B(_){A(_)||(r.value=_.key,n(kB,_.data,_))}function M(_,q){c(_,q)}function I(_){const q=o.value;if(a.value&&t.accordion){const{treeNodeMap:ue}=a.value;q.forEach(Ce=>{const Ee=ue.get(Ce);_&&_.level===(Ee==null?void 0:Ee.level)&&(q.delete(Ce),Ee.expanded=!1)})}q.add(_.key);const le=Q(_.key);le&&(le.expanded=!0,n(CB,le.data,le))}function z(_){o.value.delete(_.key);const q=Q(_.key);q&&(q.expanded=!1,n(wB,q.data,q))}function F(_){return!!_.disabled}function A(_){const q=r.value;return q!==void 0&&q===_.key}function W(){var _,q;if(r.value)return(q=(_=a.value)==null?void 0:_.treeNodeMap.get(r.value))==null?void 0:q.data}function j(){return r.value}function G(_){r.value=_}function X(_){a.value=N(_)}function Q(_){var q;const le=tt(_)?V(_):_;return(q=a.value)==null?void 0:q.treeNodeMap.get(le)}function J(_,q="auto"){const le=Q(_);le&&l.value&&l.value.scrollToItem(E.value.indexOf(le),q)}function Y(_){var q;(q=l.value)==null||q.scrollTo(_)}return e.watch(()=>t.currentNodeKey,_=>{r.value=_},{immediate:!0}),e.watch(()=>t.defaultExpandedKeys,_=>{o.value=new Set(_)},{immediate:!0}),e.watch(()=>t.data,_=>{X(_)},{immediate:!0}),{tree:a,flattenTree:E,isNotEmpty:v,listRef:l,getKey:V,getChildren:T,toggleExpand:D,toggleCheckbox:c,isChecked:i,isIndeterminate:s,isDisabled:F,isCurrent:A,isForceHiddenExpandIcon:y,handleNodeClick:H,handleNodeDrop:$,handleNodeCheck:M,getCurrentNode:W,getCurrentKey:j,setCurrentKey:G,getCheckedKeys:d,getCheckedNodes:u,getHalfCheckedKeys:f,getHalfCheckedNodes:p,setChecked:g,setCheckedKeys:m,filter:P,setData:X,getNode:Q,expandNode:I,collapseNode:z,setExpandedKeys:L,scrollToNode:J,scrollTo:Y}}var XZ=e.defineComponent({name:"ElTreeNodeContent",props:WZ,setup(t){const n=e.inject(tg),o=ee("tree");return()=>{const r=t.node,{data:a}=r;return n!=null&&n.ctx.slots.default?n.ctx.slots.default({node:r,data:a}):e.h(Sd,{tag:"span",truncated:!0,class:o.be("node","label")},()=>[r==null?void 0:r.label])}}});const ZZ=["aria-expanded","aria-disabled","aria-checked","data-key"];var JZ=e.defineComponent({name:"ElTreeNode",__name:"tree-node",props:KZ,emits:UZ,setup(t,{emit:n}){const o=t,r=n,a=e.inject(tg),l=ee("tree"),s=e.computed(()=>{var m;return(m=a==null?void 0:a.props.indent)!=null?m:16}),i=e.computed(()=>{var m;return(m=a==null?void 0:a.props.icon)!=null?m:EC}),c=m=>{var h;const b=(h=a==null?void 0:a.props.props)==null?void 0:h.class;if(!b)return{};let y;if(Ae(b)){const{data:k}=m;y=b(k,m)}else y=b;return ve(y)?{[y]:!0}:y},d=m=>{r("click",o.node,m)},u=m=>{r("drop",o.node,m)},f=()=>{r("toggle",o.node)},p=m=>{r("check",o.node,m)},g=m=>{var h,b,y,k;(y=(b=(h=a==null?void 0:a.instance)==null?void 0:h.vnode)==null?void 0:b.props)!=null&&y.onNodeContextmenu&&(m.stopPropagation(),m.preventDefault()),a==null||a.ctx.emit(vB,m,(k=o.node)==null?void 0:k.data,o.node)};return(m,h)=>{var b,y,k;return e.openBlock(),e.createElementBlock("div",{ref:"node$",class:e.normalizeClass([e.unref(l).b("node"),e.unref(l).is("expanded",t.expanded),e.unref(l).is("current",t.current),e.unref(l).is("focusable",!t.disabled),e.unref(l).is("checked",!t.disabled&&t.checked),c(t.node)]),role:"treeitem",tabindex:"-1","aria-expanded":t.expanded,"aria-disabled":t.disabled,"aria-checked":t.checked,"data-key":(b=t.node)==null?void 0:b.key,onClick:e.withModifiers(d,["stop"]),onContextmenu:g,onDragover:h[1]||(h[1]=e.withModifiers(()=>{},["prevent"])),onDragenter:h[2]||(h[2]=e.withModifiers(()=>{},["prevent"])),onDrop:e.withModifiers(u,["stop"])},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(l).be("node","content")),style:e.normalizeStyle({paddingLeft:`${(t.node.level-1)*s.value}px`,height:t.itemSize+"px"})},[i.value?(e.openBlock(),e.createBlock(e.unref(ce),{key:0,class:e.normalizeClass([e.unref(l).is("leaf",!!((y=t.node)!=null&&y.isLeaf)),e.unref(l).is("hidden",t.hiddenExpandIcon),{expanded:!((k=t.node)!=null&&k.isLeaf)&&t.expanded},e.unref(l).be("node","expand-icon")]),onClick:e.withModifiers(f,["stop"])},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(i.value)))]),_:1},8,["class"])):e.createCommentVNode("v-if",!0),t.showCheckbox?(e.openBlock(),e.createBlock(e.unref(ho),{key:1,"model-value":t.checked,indeterminate:t.indeterminate,disabled:t.disabled,onChange:p,onClick:h[0]||(h[0]=e.withModifiers(()=>{},["stop"]))},null,8,["model-value","indeterminate","disabled"])):e.createCommentVNode("v-if",!0),e.createVNode(e.unref(XZ),{node:{...t.node,expanded:t.expanded}},null,8,["node"])],6)],42,ZZ)}}}),QZ=e.defineComponent({name:"ElTreeV2",__name:"tree",props:HZ,emits:jZ,setup(t,{expose:n,emit:o}){const r=t,a=o,l=e.useSlots(),s=e.computed(()=>r.itemSize);e.provide(tg,{ctx:{emit:a,slots:l},props:r,instance:e.getCurrentInstance()}),e.provide($o,void 0);const{t:i}=je(),c=ee("tree"),{flattenTree:d,isNotEmpty:u,listRef:f,toggleExpand:p,isIndeterminate:g,isChecked:m,isDisabled:h,isCurrent:b,isForceHiddenExpandIcon:y,handleNodeClick:k,handleNodeDrop:C,handleNodeCheck:w,toggleCheckbox:S,getCurrentNode:E,getCurrentKey:v,setCurrentKey:N,getCheckedKeys:P,getCheckedNodes:T,getHalfCheckedKeys:V,getHalfCheckedNodes:x,setChecked:O,setCheckedKeys:D,filter:L,setData:H,getNode:$,expandNode:B,collapseNode:M,setExpandedKeys:I,scrollToNode:z,scrollTo:F}=qZ(r,a);return n({toggleCheckbox:S,getCurrentNode:E,getCurrentKey:v,setCurrentKey:N,getCheckedKeys:P,getCheckedNodes:T,getHalfCheckedKeys:V,getHalfCheckedNodes:x,setChecked:O,setCheckedKeys:D,filter:L,setData:H,getNode:$,expandNode:B,collapseNode:M,setExpandedKeys:I,scrollToNode:z,scrollTo:F}),(A,W)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass([e.unref(c).b(),{[e.unref(c).m("highlight-current")]:t.highlightCurrent}]),role:"tree"},[e.unref(u)?(e.openBlock(),e.createBlock(e.unref(hh),{key:0,ref_key:"listRef",ref:f,"class-name":e.unref(c).b("virtual-list"),data:e.unref(d),total:e.unref(d).length,height:t.height,"item-size":s.value,"perf-mode":t.perfMode,"scrollbar-always-on":t.scrollbarAlwaysOn},{default:e.withCtx(({data:j,index:G,style:X})=>[(e.openBlock(),e.createBlock(JZ,{key:j[G].key,style:e.normalizeStyle(X),node:j[G],expanded:j[G].expanded,"show-checkbox":t.showCheckbox,checked:e.unref(m)(j[G]),indeterminate:e.unref(g)(j[G]),"item-size":s.value,disabled:e.unref(h)(j[G]),current:e.unref(b)(j[G]),"hidden-expand-icon":e.unref(y)(j[G]),onClick:e.unref(k),onToggle:e.unref(p),onCheck:e.unref(w),onDrop:e.unref(C)},null,8,["style","node","expanded","show-checkbox","checked","indeterminate","item-size","disabled","current","hidden-expand-icon","onClick","onToggle","onCheck","onDrop"]))]),_:1},8,["class-name","data","total","height","item-size","perf-mode","scrollbar-always-on"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(c).e("empty-block"))},[e.renderSlot(A.$slots,"empty",{},()=>{var j;return[e.createElementVNode("span",{class:e.normalizeClass(e.unref(c).e("empty-text"))},e.toDisplayString((j=t.emptyText)!=null?j:e.unref(i)("el.tree.emptyText")),3)]})],2))],2))}});const NB=Re(QZ);var eJ=Object.defineProperty,tJ=(t,n,o)=>n in t?eJ(t,n,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[n]=o,$d=(t,n,o)=>tJ(t,typeof n!="symbol"?n+"":n,o);const nJ="ElUpload";class oJ extends Error{constructor(n,o,r,a){super(n),$d(this,"name","UploadAjaxError"),$d(this,"status"),$d(this,"method"),$d(this,"url"),this.status=o,this.method=r,this.url=a}}function BB(t,n,o){let r;return o.response?r=`${o.response.error||o.response}`:o.responseText?r=`${o.responseText}`:r=`fail to ${n.method} ${t} ${o.status}`,new oJ(r,o.status,n.method,t)}function rJ(t){const n=t.responseText||t.response;if(!n)return n;try{return JSON.parse(n)}catch(o){return n}}const TB=t=>{typeof XMLHttpRequest=="undefined"&&Ft(nJ,"XMLHttpRequest is undefined");const n=new XMLHttpRequest,o=t.action;n.upload&&n.upload.addEventListener("progress",l=>{const s=l;s.percent=l.total>0?l.loaded/l.total*100:0,t.onProgress(s)});const r=new FormData;if(t.data)for(const[l,s]of Object.entries(t.data))ie(s)&&s.length?r.append(l,...s):r.append(l,s);r.append(t.filename,t.file,t.file.name),n.addEventListener("error",()=>{t.onError(BB(o,t,n))}),n.addEventListener("load",()=>{if(n.status<200||n.status>=300)return t.onError(BB(o,t,n));t.onSuccess(rJ(n))}),n.open(t.method,o,!0),t.withCredentials&&"withCredentials"in n&&(n.withCredentials=!0);const a=t.headers||{};if(a instanceof Headers)a.forEach((l,s)=>n.setRequestHeader(s,l));else for(const[l,s]of Object.entries(a))Rt(s)||n.setRequestHeader(l,String(s));return n.send(r),n},og=["text","picture","picture-card"];let aJ=1;const Vd=()=>Date.now()+aJ++,rg=oe({action:{type:String,default:"#"},headers:{type:K(Object)},method:{type:String,default:"post"},data:{type:K([Object,Function,Promise]),default:()=>wt({})},multiple:Boolean,name:{type:String,default:"file"},drag:Boolean,withCredentials:Boolean,showFileList:{type:Boolean,default:!0},accept:{type:String,default:""},fileList:{type:K(Array),default:()=>wt([])},autoUpload:{type:Boolean,default:!0},listType:{type:String,values:og,default:"text"},httpRequest:{type:K(Function),default:TB},disabled:{type:Boolean,default:void 0},limit:Number,directory:Boolean}),xB=oe({...rg,beforeUpload:{type:K(Function),default:et},beforeRemove:{type:K(Function)},onRemove:{type:K(Function),default:et},onChange:{type:K(Function),default:et},onPreview:{type:K(Function),default:et},onSuccess:{type:K(Function),default:et},onProgress:{type:K(Function),default:et},onError:{type:K(Function),default:et},onExceed:{type:K(Function),default:et},crossorigin:{type:K(String)}}),ag={action:"#",method:"post",data:()=>wt({}),name:"file",showFileList:!0,accept:"",fileList:()=>wt([]),autoUpload:!0,listType:"text",httpRequest:TB,disabled:void 0},lJ={...ag,beforeUpload:et,onRemove:et,onChange:et,onPreview:et,onSuccess:et,onProgress:et,onError:et,onExceed:et},lg=Symbol("uploadContextKey"),$B=oe({files:{type:K(Array),default:()=>wt([])},disabled:{type:Boolean,default:void 0},handlePreview:{type:K(Function),default:et},listType:{type:String,values:og,default:"text"},crossorigin:{type:K(String)}}),VB={remove:t=>!!t},sJ=["tabindex","aria-disabled","onKeydown"],iJ=["src","crossorigin"],cJ=["onClick"],dJ=["title"],uJ=["onClick"],fJ=["onClick"];var PB=e.defineComponent({name:"ElUploadList",__name:"upload-list",props:$B,emits:VB,setup(t,{emit:n}){const o=t,r=n,{t:a}=je(),l=ee("upload"),s=ee("icon"),i=ee("list"),c=kt(),d=e.ref(!1),u=e.computed(()=>[l.b("list"),l.bm("list",o.listType),l.is("disabled",c.value)]),f=p=>{r("remove",p)};return(p,g)=>(e.openBlock(),e.createBlock(e.TransitionGroup,{tag:"ul",class:e.normalizeClass(u.value),name:e.unref(i).b()},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.files,(m,h)=>(e.openBlock(),e.createElementBlock("li",{key:m.uid||m.name,class:e.normalizeClass([e.unref(l).be("list","item"),e.unref(l).is(m.status),{focusing:d.value}]),tabindex:e.unref(c)?void 0:0,"aria-disabled":e.unref(c),role:"button",onKeydown:e.withKeys(b=>!e.unref(c)&&f(m),["delete"]),onFocus:g[0]||(g[0]=b=>d.value=!0),onBlur:g[1]||(g[1]=b=>d.value=!1),onClick:g[2]||(g[2]=b=>d.value=!1)},[e.renderSlot(p.$slots,"default",{file:m,index:h},()=>[t.listType==="picture"||m.status!=="uploading"&&t.listType==="picture-card"?(e.openBlock(),e.createElementBlock("img",{key:0,class:e.normalizeClass(e.unref(l).be("list","item-thumbnail")),src:m.url,crossorigin:t.crossorigin,alt:""},null,10,iJ)):e.createCommentVNode("v-if",!0),m.status==="uploading"||t.listType!=="picture-card"?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(l).be("list","item-info"))},[e.createElementVNode("a",{class:e.normalizeClass(e.unref(l).be("list","item-name")),onClick:e.withModifiers(b=>t.handlePreview(m),["prevent"])},[e.createVNode(e.unref(ce),{class:e.normalizeClass(e.unref(s).m("document"))},{default:e.withCtx(()=>[e.createVNode(e.unref(Q_))]),_:1},8,["class"]),e.createElementVNode("span",{class:e.normalizeClass(e.unref(l).be("list","item-file-name")),title:m.name},e.toDisplayString(m.name),11,dJ)],10,cJ),m.status==="uploading"?(e.openBlock(),e.createBlock(e.unref(th),{key:0,type:t.listType==="picture-card"?"circle":"line","stroke-width":t.listType==="picture-card"?6:2,percentage:Number(m.percentage),style:e.normalizeStyle(t.listType==="picture-card"?"":"margin-top: 0.5rem")},null,8,["type","stroke-width","percentage","style"])):e.createCommentVNode("v-if",!0)],2)):e.createCommentVNode("v-if",!0),e.createElementVNode("label",{class:e.normalizeClass(e.unref(l).be("list","item-status-label"))},[t.listType==="text"?(e.openBlock(),e.createBlock(e.unref(ce),{key:0,class:e.normalizeClass([e.unref(s).m("upload-success"),e.unref(s).m("circle-check")])},{default:e.withCtx(()=>[e.createVNode(e.unref(gf))]),_:1},8,["class"])):["picture-card","picture"].includes(t.listType)?(e.openBlock(),e.createBlock(e.unref(ce),{key:1,class:e.normalizeClass([e.unref(s).m("upload-success"),e.unref(s).m("check")])},{default:e.withCtx(()=>[e.createVNode(e.unref(ms))]),_:1},8,["class"])):e.createCommentVNode("v-if",!0)],2),e.unref(c)?e.createCommentVNode("v-if",!0):(e.openBlock(),e.createBlock(e.unref(ce),{key:2,class:e.normalizeClass(e.unref(s).m("close")),onClick:b=>f(m)},{default:e.withCtx(()=>[e.createVNode(e.unref(so))]),_:1},8,["class","onClick"])),e.createCommentVNode(" Due to close btn only appears when li gets focused disappears after li gets blurred, thus keyboard navigation can never reach close btn"),e.createCommentVNode(" This is a bug which needs to be fixed "),e.createCommentVNode(" TODO: Fix the incorrect navigation interaction "),e.unref(c)?e.createCommentVNode("v-if",!0):(e.openBlock(),e.createElementBlock("i",{key:3,class:e.normalizeClass(e.unref(s).m("close-tip"))},e.toDisplayString(e.unref(a)("el.upload.deleteTip")),3)),t.listType==="picture-card"?(e.openBlock(),e.createElementBlock("span",{key:4,class:e.normalizeClass(e.unref(l).be("list","item-actions"))},[e.createElementVNode("span",{class:e.normalizeClass(e.unref(l).be("list","item-preview")),onClick:b=>t.handlePreview(m)},[e.createVNode(e.unref(ce),{class:e.normalizeClass(e.unref(s).m("zoom-in"))},{default:e.withCtx(()=>[e.createVNode(e.unref(xC))]),_:1},8,["class"])],10,uJ),e.unref(c)?e.createCommentVNode("v-if",!0):(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(e.unref(l).be("list","item-delete")),onClick:b=>f(m)},[e.createVNode(e.unref(ce),{class:e.normalizeClass(e.unref(s).m("delete"))},{default:e.withCtx(()=>[e.createVNode(e.unref(Z_))]),_:1},8,["class"])],10,fJ))],2)):e.createCommentVNode("v-if",!0)])],42,sJ))),128)),e.renderSlot(p.$slots,"append")]),_:3},8,["class","name"]))}});const RB=oe({...rg,beforeUpload:{type:K(Function),default:et},onRemove:{type:K(Function),default:et},onStart:{type:K(Function),default:et},onSuccess:{type:K(Function),default:et},onProgress:{type:K(Function),default:et},onError:{type:K(Function),default:et},onExceed:{type:K(Function),default:et}}),mJ={...ag,beforeUpload:et,onRemove:et,onStart:et,onSuccess:et,onProgress:et,onError:et,onExceed:et},MB=oe({disabled:{type:Boolean,default:void 0},directory:Boolean}),IB={file:t=>ie(t)},OB="ElUploadDrag";var pJ=e.defineComponent({name:OB,__name:"upload-dragger",props:MB,emits:IB,setup(t,{emit:n}){const o=t,r=n;e.inject(lg)||Ft(OB,"usage: ");const l=ee("upload"),s=e.ref(!1),i=kt(),c=g=>new Promise((m,h)=>g.file(m,h)),d=async g=>{try{if(g.isFile){const m=await c(g);return m.isDirectory=!1,[m]}if(g.isDirectory){const m=g.createReader(),h=()=>new Promise((w,S)=>m.readEntries(w,S)),b=[];let y=await h();for(;y.length>0;)b.push(...y),y=await h();const k=b.map(w=>d(w).catch(()=>[])),C=await Promise.all(k);return os(C)}}catch(m){return[]}return[]},u=async g=>{if(i.value)return;s.value=!1,g.stopPropagation();const m=Array.from(g.dataTransfer.files),h=g.dataTransfer.items||[];if(o.directory){const b=Array.from(h).map(k=>{var C;return(C=k==null?void 0:k.webkitGetAsEntry)==null?void 0:C.call(k)}).filter(k=>k),y=await Promise.all(b.map(d));r("file",os(y));return}m.forEach((b,y)=>{var k;const C=h[y],w=(k=C==null?void 0:C.webkitGetAsEntry)==null?void 0:k.call(C);w&&(b.isDirectory=w.isDirectory)}),r("file",m)},f=()=>{i.value||(s.value=!0)},p=g=>{g.currentTarget.contains(g.relatedTarget)||(s.value=!1)};return(g,m)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass([e.unref(l).b("dragger"),e.unref(l).is("dragover",s.value)]),onDrop:e.withModifiers(u,["prevent"]),onDragover:e.withModifiers(f,["prevent"]),onDragleave:e.withModifiers(p,["prevent"])},[e.renderSlot(g.$slots,"default")],34))}});const hJ=["tabindex","aria-disabled","onKeydown"],gJ=["name","disabled","multiple","accept","webkitdirectory"];var AB=e.defineComponent({name:"ElUploadContent",inheritAttrs:!1,__name:"upload-content",props:RB,setup(t,{expose:n}){const o=t,r=ee("upload"),a=kt(),l=e.shallowRef({}),s=e.shallowRef(),i=h=>{if(h.length===0)return;const{autoUpload:b,limit:y,fileList:k,multiple:C,onStart:w,onExceed:S}=o;if(y&&k.length+h.length>y){S(h,k);return}C||(h=h.slice(0,1));for(const E of h){const v=E;v.uid=Vd(),w(v),b&&c(v)}},c=async h=>{if(s.value.value="",!o.beforeUpload)return u(h);let b,y={};try{const C=o.data,w=o.beforeUpload(h);y=qd(o.data)?as(o.data):o.data,b=await w,qd(o.data)&&xt(C,y)&&(y=as(o.data))}catch(C){b=!1}if(b===!1){o.onRemove(h);return}let k=h;b instanceof Blob&&(b instanceof File?k=b:k=new File([b],h.name,{type:h.type})),u(Object.assign(k,{uid:h.uid}),y)},d=async(h,b)=>Ae(h)?h(b):h,u=async(h,b)=>{const{headers:y,data:k,method:C,withCredentials:w,name:S,action:E,onProgress:v,onSuccess:N,onError:P,httpRequest:T}=o;try{b=await d(b!=null?b:k,h)}catch(D){o.onRemove(h);return}const{uid:V}=h,x={headers:y||{},withCredentials:w,file:h,data:b,method:C,filename:S,action:E,onProgress:D=>{v(D,h)},onSuccess:D=>{N(D,h),delete l.value[V]},onError:D=>{P(D,h),delete l.value[V]}},O=T(x);l.value[V]=O,O instanceof Promise&&O.then(x.onSuccess,x.onError)},f=h=>{const b=h.target.files;b&&i(Array.from(b))},p=()=>{a.value||(s.value.value="",s.value.click())},g=()=>{p()};return n({abort:h=>{gC(l.value).filter(h?([y])=>String(h.uid)===y:()=>!0).forEach(([y,k])=>{k instanceof XMLHttpRequest&&k.abort(),delete l.value[y]})},upload:c}),(h,b)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass([e.unref(r).b(),e.unref(r).m(t.listType),e.unref(r).is("drag",t.drag),e.unref(r).is("disabled",e.unref(a))]),tabindex:e.unref(a)?void 0:0,"aria-disabled":e.unref(a),role:"button",onClick:p,onKeydown:e.withKeys(e.withModifiers(g,["self"]),["enter","space"])},[t.drag?(e.openBlock(),e.createBlock(pJ,{key:0,disabled:e.unref(a),directory:t.directory,onFile:i},{default:e.withCtx(()=>[e.renderSlot(h.$slots,"default")]),_:3},8,["disabled","directory"])):e.renderSlot(h.$slots,"default",{key:1}),e.createElementVNode("input",{ref_key:"inputRef",ref:s,class:e.normalizeClass(e.unref(r).e("input")),name:t.name,disabled:e.unref(a),multiple:t.multiple,accept:t.accept,webkitdirectory:t.directory||void 0,type:"file",onChange:f,onClick:b[0]||(b[0]=e.withModifiers(()=>{},["stop"]))},null,42,gJ)],42,hJ))}});const zB="ElUpload",DB=t=>{var n;(n=t.url)!=null&&n.startsWith("blob:")&&URL.revokeObjectURL(t.url)},bJ=(t,n)=>{const o=Lg(t,"fileList",void 0,{passive:!0}),r=m=>o.value.find(h=>h.uid===m.uid);function a(m){var h;(h=n.value)==null||h.abort(m)}function l(m=["ready","uploading","success","fail"]){o.value=o.value.filter(h=>!m.includes(h.status))}function s(m){o.value=o.value.filter(h=>h.uid!==m.uid)}const i=m=>{e.nextTick(()=>t.onChange(m,o.value))},c=(m,h)=>{const b=r(h);b&&(console.error(m),b.status="fail",s(b),t.onError(m,b,o.value),i(b))},d=(m,h)=>{const b=r(h);b&&(t.onProgress(m,b,o.value),b.status="uploading",b.percentage=Math.round(m.percent))},u=(m,h)=>{const b=r(h);b&&(b.status="success",b.response=m,t.onSuccess(m,b,o.value),i(b))},f=m=>{Rt(m.uid)&&(m.uid=Vd());const h={name:m.name,percentage:0,status:"ready",size:m.size,raw:m,uid:m.uid};if(t.listType==="picture-card"||t.listType==="picture")try{h.url=URL.createObjectURL(m)}catch(b){b.message,t.onError(b,h,o.value)}o.value=[...o.value,h],i(h)},p=async m=>{const h=m instanceof File?r(m):m;h||Ft(zB,"file to be removed not found");const b=y=>{a(y),s(y),t.onRemove(y,o.value),DB(y)};t.beforeRemove?await t.beforeRemove(h,o.value)!==!1&&b(h):b(h)};function g(){o.value.filter(({status:m})=>m==="ready").forEach(({raw:m})=>{var h;return m&&((h=n.value)==null?void 0:h.upload(m))})}return e.watch(()=>t.listType,m=>{m!=="picture-card"&&m!=="picture"||(o.value=o.value.map(h=>{const{raw:b,url:y}=h;if(!y&&b)try{h.url=URL.createObjectURL(b)}catch(k){t.onError(k,h,o.value)}return h}))}),e.watch(o,m=>{for(const h of m)h.uid||(h.uid=Vd()),h.status||(h.status="success")},{immediate:!0,deep:!0}),{uploadFiles:o,abort:a,clearFiles:l,handleError:c,handleProgress:d,handleStart:f,handleSuccess:u,handleRemove:p,submit:g,revokeFileObjectURL:DB}};var yJ=e.defineComponent({name:"ElUpload",__name:"upload",props:xB,setup(t,{expose:n}){const o=t,r=kt(),a=e.shallowRef(),{abort:l,submit:s,clearFiles:i,uploadFiles:c,handleStart:d,handleError:u,handleRemove:f,handleSuccess:p,handleProgress:g,revokeFileObjectURL:m}=bJ(o,a),h=e.computed(()=>o.listType==="picture-card"),b=e.computed(()=>({...o,fileList:c.value,onStart:d,onProgress:g,onSuccess:p,onError:u,onRemove:f}));return e.onBeforeUnmount(()=>{c.value.forEach(m)}),e.provide(lg,{accept:e.toRef(o,"accept")}),n({abort:l,submit:s,clearFiles:i,handleStart:d,handleRemove:f}),(y,k)=>(e.openBlock(),e.createElementBlock("div",null,[h.value&&t.showFileList?(e.openBlock(),e.createBlock(PB,{key:0,disabled:e.unref(r),"list-type":t.listType,files:e.unref(c),crossorigin:t.crossorigin,"handle-preview":t.onPreview,onRemove:e.unref(f)},e.createSlots({append:e.withCtx(()=>[e.createVNode(AB,e.mergeProps({ref_key:"uploadRef",ref:a},b.value),{default:e.withCtx(()=>[y.$slots.trigger?e.renderSlot(y.$slots,"trigger",{key:0}):e.createCommentVNode("v-if",!0),!y.$slots.trigger&&y.$slots.default?e.renderSlot(y.$slots,"default",{key:1}):e.createCommentVNode("v-if",!0)]),_:3},16)]),_:2},[y.$slots.file?{name:"default",fn:e.withCtx(({file:C,index:w})=>[e.renderSlot(y.$slots,"file",{file:C,index:w})]),key:"0"}:void 0]),1032,["disabled","list-type","files","crossorigin","handle-preview","onRemove"])):e.createCommentVNode("v-if",!0),!h.value||h.value&&!t.showFileList?(e.openBlock(),e.createBlock(AB,e.mergeProps({key:1,ref_key:"uploadRef",ref:a},b.value),{default:e.withCtx(()=>[y.$slots.trigger?e.renderSlot(y.$slots,"trigger",{key:0}):e.createCommentVNode("v-if",!0),!y.$slots.trigger&&y.$slots.default?e.renderSlot(y.$slots,"default",{key:1}):e.createCommentVNode("v-if",!0)]),_:3},16)):e.createCommentVNode("v-if",!0),y.$slots.trigger?e.renderSlot(y.$slots,"default",{key:2}):e.createCommentVNode("v-if",!0),e.renderSlot(y.$slots,"tip"),!h.value&&t.showFileList?(e.openBlock(),e.createBlock(PB,{key:3,disabled:e.unref(r),"list-type":t.listType,files:e.unref(c),crossorigin:t.crossorigin,"handle-preview":t.onPreview,onRemove:e.unref(f)},e.createSlots({_:2},[y.$slots.file?{name:"default",fn:e.withCtx(({file:C,index:w})=>[e.renderSlot(y.$slots,"file",{file:C,index:w})]),key:"0"}:void 0]),1032,["disabled","list-type","files","crossorigin","handle-preview","onRemove"])):e.createCommentVNode("v-if",!0)]))}});const LB=Re(yJ),_B=oe({zIndex:{type:Number,default:9},rotate:{type:Number,default:-22},width:Number,height:Number,image:String,content:{type:K([String,Array]),default:"Element Plus"},font:{type:K(Object)},gap:{type:K(Array),default:()=>[100,100]},offset:{type:K(Array)}});function CJ(t){return t.replace(/([A-Z])/g,"-$1").toLowerCase()}function wJ(t){return Object.keys(t).map(n=>`${CJ(n)}: ${t[n]};`).join(" ")}function kJ(){return window.devicePixelRatio||1}const SJ=(t,n)=>{let o=!1;return t.removedNodes.length&&n&&(o=Array.from(t.removedNodes).includes(n)),t.type==="attributes"&&t.target===n&&(o=!0),o},EJ={left:[0,.5],start:[0,.5],center:[.5,0],right:[1,-.5],end:[1,-.5]};function sg(t,n,o=1){const r=document.createElement("canvas"),a=r.getContext("2d"),l=t*o,s=n*o;return r.setAttribute("width",`${l}px`),r.setAttribute("height",`${s}px`),a.save(),[a,r,l,s]}function vJ(){function t(n,o,r,a,l,s,i,c,d){const[u,f,p,g]=sg(a,l,r);let m=0;if(n instanceof HTMLImageElement)u.drawImage(n,0,0,p,g);else{const{color:A,fontSize:W,fontStyle:j,fontWeight:G,fontFamily:X,textAlign:Q,textBaseline:J}=s,Y=Number(W)*r;u.font=`${j} normal ${G} ${Y}px/${l}px ${X}`,u.fillStyle=A,u.textAlign=Q,u.textBaseline=J;const _=ie(n)?n:[n];if(J!=="top"&&_[0]){const q=u.measureText(_[0]);u.textBaseline="top";const le=u.measureText(_[0]);m=q.actualBoundingBoxAscent-le.actualBoundingBoxAscent}_==null||_.forEach((q,le)=>{const[ue,Ce]=EJ[Q];u.fillText(q!=null?q:"",p*ue+d*Ce,le*(Y+s.fontGap*r))})}const h=Math.PI/180*Number(o),b=Math.max(a,l),[y,k,C]=sg(b,b,r);y.translate(C/2,C/2),y.rotate(h),p>0&&g>0&&y.drawImage(f,-p/2,-g/2);function w(A,W){const j=A*Math.cos(h)-W*Math.sin(h),G=A*Math.sin(h)+W*Math.cos(h);return[j,G]}let S=0,E=0,v=0,N=0;const P=p/2,T=g/2;[[0-P,0-T],[0+P,0-T],[0+P,0+T],[0-P,0+T]].forEach(([A,W])=>{const[j,G]=w(A,W);S=Math.min(S,j),E=Math.max(E,j),v=Math.min(v,G),N=Math.max(N,G)});const x=S+C/2,O=v+C/2,D=E-S,L=N-v,H=i*r,$=c*r,B=(D+H)*2,M=L+$,[I,z]=sg(B,M);function F(A=0,W=0){I.drawImage(k,x,O,D,L,A,W+m,D,L)}return F(),F(D+H,-L/2-$/2),F(D+H,+L/2+$/2),[z.toDataURL(),B/r,M/r]}return t}var NJ=e.defineComponent({name:"ElWatermark",__name:"watermark",props:_B,setup(t){const n={position:"relative"},o=t,r=e.computed(()=>{var V,x;return(x=(V=o.font)==null?void 0:V.fontGap)!=null?x:3}),a=e.computed(()=>{var V,x;return(x=(V=o.font)==null?void 0:V.color)!=null?x:"rgba(0,0,0,.15)"}),l=e.computed(()=>{var V,x;return(x=(V=o.font)==null?void 0:V.fontSize)!=null?x:16}),s=e.computed(()=>{var V,x;return(x=(V=o.font)==null?void 0:V.fontWeight)!=null?x:"normal"}),i=e.computed(()=>{var V,x;return(x=(V=o.font)==null?void 0:V.fontStyle)!=null?x:"normal"}),c=e.computed(()=>{var V,x;return(x=(V=o.font)==null?void 0:V.fontFamily)!=null?x:"sans-serif"}),d=e.computed(()=>{var V,x;return(x=(V=o.font)==null?void 0:V.textAlign)!=null?x:"center"}),u=e.computed(()=>{var V,x;return(x=(V=o.font)==null?void 0:V.textBaseline)!=null?x:"hanging"}),f=e.computed(()=>o.gap[0]),p=e.computed(()=>o.gap[1]),g=e.computed(()=>f.value/2),m=e.computed(()=>p.value/2),h=e.computed(()=>{var V,x;return(x=(V=o.offset)==null?void 0:V[0])!=null?x:g.value}),b=e.computed(()=>{var V,x;return(x=(V=o.offset)==null?void 0:V[1])!=null?x:m.value}),y=()=>{const V={zIndex:o.zIndex,position:"absolute",left:0,top:0,width:"100%",height:"100%",pointerEvents:"none",backgroundRepeat:"repeat"};let x=h.value-g.value,O=b.value-m.value;return x>0&&(V.left=`${x}px`,V.width=`calc(100% - ${x}px)`,x=0),O>0&&(V.top=`${O}px`,V.height=`calc(100% - ${O}px)`,O=0),V.backgroundPosition=`${x}px ${O}px`,V},k=e.shallowRef(null),C=e.shallowRef(),w=e.ref(!1),S=()=>{C.value&&(C.value.remove(),C.value=void 0)},E=(V,x)=>{var O;k.value&&C.value&&(w.value=!0,C.value.setAttribute("style",wJ({...y(),backgroundImage:`url('${V}')`,backgroundSize:`${Math.floor(x)}px`})),(O=k.value)==null||O.append(C.value),setTimeout(()=>{w.value=!1}))},v=V=>{let x=120,O=64,D=0;const{image:L,content:H,width:$,height:B,rotate:M}=o;if(!L&&V.measureText){V.font=`${Number(l.value)}px ${c.value}`;const I=ie(H)?H:[H];let z=0,F=0;I.forEach(W=>{const{width:j,fontBoundingBoxAscent:G,fontBoundingBoxDescent:X,actualBoundingBoxAscent:Q,actualBoundingBoxDescent:J}=V.measureText(W),Y=Xe(G)?Q+J:G+X;j>z&&(z=Math.ceil(j)),Y>F&&(F=Math.ceil(Y))}),x=z,O=F*I.length+(I.length-1)*r.value;const A=Math.PI/180*Number(M);D=Math.ceil(Math.abs(Math.sin(A)*O)/2),x+=D}return[$!=null?$:x,B!=null?B:O,D]},N=vJ(),P=()=>{const x=document.createElement("canvas").getContext("2d"),O=o.image,D=o.content,L=o.rotate;if(x){C.value||(C.value=document.createElement("div"));const H=kJ(),[$,B,M]=v(x),I=z=>{const[F,A]=N(z||"",L,H,$,B,{color:a.value,fontSize:l.value,fontStyle:i.value,fontWeight:s.value,fontFamily:c.value,fontGap:r.value,textAlign:d.value,textBaseline:u.value},f.value,p.value,M);E(F,A)};if(O){const z=new Image;z.onload=()=>{I(z)},z.onerror=()=>{I(D)},z.crossOrigin="anonymous",z.referrerPolicy="no-referrer",z.src=O}else I(D)}};return e.onMounted(()=>{P()}),e.watch(()=>o,()=>{P()},{deep:!0,flush:"post"}),e.onBeforeUnmount(()=>{S()}),jl(k,V=>{w.value||V.forEach(x=>{SJ(x,C.value)&&(S(),P())})},{attributes:!0,subtree:!0,childList:!0}),(V,x)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"containerRef",ref:k,style:e.normalizeStyle([n])},[e.renderSlot(V.$slots,"default")],4))}});const FB=Re(NJ),HB=["absolute","fixed"],KB=["top-start","top-end","top","bottom-start","bottom-end","bottom","left-start","left-end","left","right-start","right-end","right"],Pd=oe({placement:{type:K(String),values:KB,default:"bottom"},reference:{type:K(Object),default:null},strategy:{type:K(String),values:HB,default:"absolute"},offset:{type:Number,default:10},showArrow:Boolean,zIndex:{type:Number,default:2001}}),WB={close:()=>!0},jB=oe({modelValue:Boolean,current:{type:Number,default:0},showArrow:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},closeIcon:{type:dt},placement:Pd.placement,contentStyle:{type:K([Object])},mask:{type:K([Boolean,Object]),default:!0},gap:{type:K(Object),default:()=>({offset:6,radius:2})},zIndex:{type:Number},scrollIntoViewOptions:{type:K([Boolean,Object]),default:()=>({block:"center"})},type:{type:K(String)},appendTo:{type:Ps.to.type,default:"body"},closeOnPressEscape:{type:Boolean,default:!0},targetAreaClickable:{type:Boolean,default:!0}}),UB={[Ne]:t=>ct(t),"update:current":t=>pe(t),close:t=>pe(t),finish:()=>!0,change:t=>pe(t)},BJ=oe({zIndex:{type:Number,default:1001},visible:Boolean,fill:{type:String,default:"rgba(0,0,0,0.5)"},pos:{type:K(Object)},targetAreaClickable:{type:Boolean,default:!0}}),TJ=(t,n,o,r,a)=>{const l=e.ref(null),s=()=>{let f;return ve(t.value)?f=document.querySelector(t.value):Ae(t.value)?f=t.value():f=t.value,f},i=()=>{const f=s();if(!f||!n.value){l.value=null;return}xJ(f)||f.scrollIntoView(a.value);const{left:p,top:g,width:m,height:h}=f.getBoundingClientRect();l.value={left:p,top:g,width:m,height:h,radius:0}};e.onMounted(()=>{e.watch([n,t],()=>{i()},{immediate:!0}),window.addEventListener("resize",i)}),e.onBeforeUnmount(()=>{window.removeEventListener("resize",i)});const c=f=>{var p;return(p=ie(o.value.offset)?o.value.offset[f]:o.value.offset)!=null?p:6},d=e.computed(()=>{var f;if(!l.value)return l.value;const p=c(0),g=c(1),m=((f=o.value)==null?void 0:f.radius)||2;return{left:l.value.left-p,top:l.value.top-g,width:l.value.width+p*2,height:l.value.height+g*2,radius:m}}),u=e.computed(()=>{const f=s();return!r.value||!f||!window.DOMRect?f||void 0:{getBoundingClientRect(){var p,g,m,h;return window.DOMRect.fromRect({width:((p=d.value)==null?void 0:p.width)||0,height:((g=d.value)==null?void 0:g.height)||0,x:((m=d.value)==null?void 0:m.left)||0,y:((h=d.value)==null?void 0:h.top)||0})}}});return{mergedPosInfo:d,triggerTarget:u}},Rd=Symbol("ElTour");function xJ(t){const n=window.innerWidth||document.documentElement.clientWidth,o=window.innerHeight||document.documentElement.clientHeight,{top:r,right:a,bottom:l,left:s}=t.getBoundingClientRect();return r>=0&&s>=0&&a<=n&&l<=o}const $J=(t,n,o,r,a,l,s,i)=>{const c=e.ref(),d=e.ref(),u=e.ref({}),f={x:c,y:d,placement:r,strategy:a,middlewareData:u},p=e.computed(()=>{const y=[n5(e.unref(l)),r5(),o5(),VJ()];return e.unref(i)&&e.unref(o)&&y.push(jw({element:e.unref(o)})),y}),g=async()=>{if(!Je)return;const y=e.unref(t),k=e.unref(n);if(!y||!k)return;const C=await Uw(y,k,{placement:e.unref(r),strategy:e.unref(a),middleware:e.unref(p)});Za(f).forEach(w=>{f[w].value=C[w]})},m=e.computed(()=>{if(!e.unref(t))return{position:"fixed",top:"50%",left:"50%",transform:"translate3d(-50%, -50%, 0)",maxWidth:"100vw",zIndex:e.unref(s)};const{overflow:y}=e.unref(u);return{position:e.unref(a),zIndex:e.unref(s),top:e.unref(d)!=null?`${e.unref(d)}px`:"",left:e.unref(c)!=null?`${e.unref(c)}px`:"",maxWidth:y!=null&&y.maxWidth?`${y==null?void 0:y.maxWidth}px`:""}}),h=e.computed(()=>{if(!e.unref(i))return{};const{arrow:y}=e.unref(u);return{left:(y==null?void 0:y.x)!=null?`${y==null?void 0:y.x}px`:"",top:(y==null?void 0:y.y)!=null?`${y==null?void 0:y.y}px`:""}});let b;return e.onMounted(()=>{const y=e.unref(t),k=e.unref(n);y&&k&&(b=e5(y,k,g)),e.watchEffect(()=>{g()})}),e.onBeforeUnmount(()=>{b&&b()}),{update:g,contentStyle:m,arrowStyle:h}},VJ=()=>({name:"overflow",async fn(t){const n=await t5(t);let o=0;return n.left>0&&(o=n.left),n.right>0&&(o=n.right),{data:{maxWidth:t.rects.floating.width-o}}}}),PJ={style:{width:"100%",height:"100%"}},RJ=["d"];var MJ=e.defineComponent({name:"ElTourMask",inheritAttrs:!1,__name:"mask",props:BJ,setup(t){const n=t,{ns:o}=e.inject(Rd),r=e.computed(()=>{var u,f;return(f=(u=n.pos)==null?void 0:u.radius)!=null?f:2}),a=e.computed(()=>{const u=r.value,f=`a${u},${u} 0 0 1`;return{topRight:`${f} ${u},${u}`,bottomRight:`${f} ${-u},${u}`,bottomLeft:`${f} ${-u},${-u}`,topLeft:`${f} ${u},${-u}`}}),{width:l,height:s}=Ud(),i=e.computed(()=>{const u=l.value,f=s.value,p=a.value,g=`M${u},0 L0,0 L0,${f} L${u},${f} L${u},0 Z`,m=r.value;return n.pos?`${g} M${n.pos.left+m},${n.pos.top} h${n.pos.width-m*2} ${p.topRight} v${n.pos.height-m*2} ${p.bottomRight} h${-n.pos.width+m*2} ${p.bottomLeft} v${-n.pos.height+m*2} ${p.topLeft} z`:g}),c=e.computed(()=>({position:"fixed",left:0,right:0,top:0,bottom:0,zIndex:n.zIndex,pointerEvents:n.pos&&n.targetAreaClickable?"none":"auto"})),d=e.computed(()=>({fill:n.fill,pointerEvents:"auto",cursor:"auto"}));return bs(e.toRef(n,"visible"),{ns:o}),(u,f)=>t.visible?(e.openBlock(),e.createElementBlock("div",e.mergeProps({key:0,class:e.unref(o).e("mask"),style:c.value},u.$attrs),[(e.openBlock(),e.createElementBlock("svg",PJ,[e.createElementVNode("path",{class:e.normalizeClass(e.unref(o).e("hollow")),style:e.normalizeStyle(d.value),d:i.value},null,14,RJ)]))],16)):e.createCommentVNode("v-if",!0)}});const IJ=["data-side"];var OJ=e.defineComponent({name:"ElTourContent",__name:"content",props:Pd,emits:WB,setup(t,{emit:n}){const o=t,r=n,a=e.ref(o.placement),l=e.ref(o.strategy),s=e.ref(null),i=e.ref(null);e.watch(()=>o.placement,()=>{a.value=o.placement});const{contentStyle:c,arrowStyle:d}=$J(e.toRef(o,"reference"),s,i,a,l,e.toRef(o,"offset"),e.toRef(o,"zIndex"),e.toRef(o,"showArrow")),u=e.computed(()=>a.value.split("-")[0]),{ns:f}=e.inject(Rd),p=()=>{r("close")},g=m=>{m.detail.focusReason==="pointer"&&m.preventDefault()};return(m,h)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"contentRef",ref:s,style:e.normalizeStyle(e.unref(c)),class:e.normalizeClass(e.unref(f).e("content")),"data-side":u.value,tabindex:"-1"},[e.createVNode(e.unref(hl),{loop:"",trapped:"","focus-start-el":"container","focus-trap-el":s.value||void 0,onReleaseRequested:p,onFocusoutPrevented:g},{default:e.withCtx(()=>[e.renderSlot(m.$slots,"default")]),_:3},8,["focus-trap-el"]),t.showArrow?(e.openBlock(),e.createElementBlock("span",{key:0,ref_key:"arrowRef",ref:i,style:e.normalizeStyle(e.unref(d)),class:e.normalizeClass(e.unref(f).e("arrow"))},null,6)):e.createCommentVNode("v-if",!0)],14,IJ))}}),AJ=e.defineComponent({name:"ElTourSteps",props:{current:{type:Number,default:0}},emits:["update-total"],setup(t,{slots:n,emit:o}){let r=0;return()=>{var a,l;const s=(a=n.default)==null?void 0:a.call(n),i=[];let c=0;function d(u){ie(u)&&u.forEach(f=>{var p;((p=(f==null?void 0:f.type)||{})==null?void 0:p.name)==="ElTourStep"&&(i.push(f),c+=1)})}return s.length&&d(Yn((l=s[0])==null?void 0:l.children)),r!==c&&(r=c,o("update-total",c)),i.length?i[t.current]:null}}}),zJ=e.defineComponent({name:"ElTour",inheritAttrs:!1,__name:"tour",props:jB,emits:UB,setup(t,{emit:n}){const o=t,r=n,a=ee("tour"),l=e.ref(0),s=e.ref(),i=Lg(o,"current",r,{passive:!0}),c=e.computed(()=>{var T;return(T=s.value)==null?void 0:T.target}),d=e.computed(()=>[a.b(),y.value==="primary"?a.m("primary"):""]),u=e.computed(()=>{var T;return((T=s.value)==null?void 0:T.placement)||o.placement}),f=e.computed(()=>{var T,V;return(V=(T=s.value)==null?void 0:T.contentStyle)!=null?V:o.contentStyle}),p=e.computed(()=>{var T,V;return(V=(T=s.value)==null?void 0:T.mask)!=null?V:o.mask}),g=e.computed(()=>!!p.value&&o.modelValue),m=e.computed(()=>ct(p.value)?void 0:p.value),h=e.computed(()=>{var T,V;return!!c.value&&((V=(T=s.value)==null?void 0:T.showArrow)!=null?V:o.showArrow)}),b=e.computed(()=>{var T,V;return(V=(T=s.value)==null?void 0:T.scrollIntoViewOptions)!=null?V:o.scrollIntoViewOptions}),y=e.computed(()=>{var T,V;return(V=(T=s.value)==null?void 0:T.type)!=null?V:o.type}),{nextZIndex:k}=sl(),C=k(),w=e.computed(()=>{var T;return(T=o.zIndex)!=null?T:C}),{mergedPosInfo:S,triggerTarget:E}=TJ(c,e.toRef(o,"modelValue"),e.toRef(o,"gap"),p,b);e.watch(()=>o.modelValue,T=>{T||(i.value=0)});const v=()=>{o.closeOnPressEscape&&(r(Ne,!1),r("close",i.value))},N=T=>{l.value=T},P=e.useSlots();return e.provide(Rd,{currentStep:s,current:i,total:l,showClose:e.toRef(o,"showClose"),closeIcon:e.toRef(o,"closeIcon"),mergedType:y,ns:a,slots:P,updateModelValue(T){r(Ne,T)},onClose(){r("close",i.value)},onFinish(){r("finish")},onChange(){r(_e,i.value)}}),(T,V)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(e.unref(pl),{to:t.appendTo},{default:e.withCtx(()=>{var x,O;return[e.createElementVNode("div",e.mergeProps({class:d.value},T.$attrs),[e.createVNode(MJ,{visible:g.value,fill:(x=m.value)==null?void 0:x.color,style:e.normalizeStyle((O=m.value)==null?void 0:O.style),pos:e.unref(S),"z-index":w.value,"target-area-clickable":t.targetAreaClickable},null,8,["visible","fill","style","pos","z-index","target-area-clickable"]),t.modelValue?(e.openBlock(),e.createBlock(OJ,{key:e.unref(i),reference:e.unref(E),placement:u.value,"show-arrow":h.value,"z-index":w.value,style:e.normalizeStyle(f.value),onClose:v},{default:e.withCtx(()=>[e.createVNode(e.unref(AJ),{current:e.unref(i),onUpdateTotal:N},{default:e.withCtx(()=>[e.renderSlot(T.$slots,"default")]),_:3},8,["current"])]),_:3},8,["reference","placement","show-arrow","z-index","style"])):e.createCommentVNode("v-if",!0)],16)]}),_:3},8,["to"]),e.createCommentVNode(" just for IDE "),e.createCommentVNode("v-if",!0)],64))}});const YB=oe({target:{type:K([String,Object,Function])},title:String,description:String,showClose:{type:Boolean,default:void 0},closeIcon:{type:dt},showArrow:{type:Boolean,default:void 0},placement:Pd.placement,mask:{type:K([Boolean,Object]),default:void 0},contentStyle:{type:K([Object])},prevButtonProps:{type:K(Object)},nextButtonProps:{type:K(Object)},scrollIntoViewOptions:{type:K([Boolean,Object]),default:void 0},type:{type:K(String)}}),GB={close:()=>!0},DJ=["aria-label"];var qB=e.defineComponent({name:"ElTourStep",__name:"step",props:YB,emits:GB,setup(t,{emit:n}){const o=t,r=n,{Close:a}=VC,{t:l}=je(),{currentStep:s,current:i,total:c,showClose:d,closeIcon:u,mergedType:f,ns:p,slots:g,updateModelValue:m,onClose:h,onFinish:b,onChange:y}=e.inject(Rd);e.watch(o,T=>{s.value=T},{immediate:!0});const k=e.computed(()=>{var T;return(T=o.showClose)!=null?T:d.value}),C=e.computed(()=>{var T,V;return(V=(T=o.closeIcon)!=null?T:u.value)!=null?V:a}),w=T=>{if(T)return qa(T,["children","onClick"])},S=()=>{var T,V;i.value-=1,(T=o.prevButtonProps)!=null&&T.onClick&&((V=o.prevButtonProps)==null||V.onClick()),y()},E=()=>{var T;i.value>=c.value-1?v():i.value+=1,(T=o.nextButtonProps)!=null&&T.onClick&&o.nextButtonProps.onClick(),y()},v=()=>{N(),b()},N=()=>{m(!1),h(),r("close")},P=T=>{const V=T.target;if(V!=null&&V.isContentEditable)return;switch(ut(T)){case te.left:T.preventDefault(),i.value>0&&S();break;case te.right:T.preventDefault(),E();break}};return e.onMounted(()=>{window.addEventListener("keydown",P)}),e.onBeforeUnmount(()=>{window.removeEventListener("keydown",P)}),(T,V)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[k.value?(e.openBlock(),e.createElementBlock("button",{key:0,"aria-label":e.unref(l)("el.tour.close"),class:e.normalizeClass(e.unref(p).e("closebtn")),type:"button",onClick:N},[e.createVNode(e.unref(ce),{class:e.normalizeClass(e.unref(p).e("close"))},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(C.value)))]),_:1},8,["class"])],10,DJ)):e.createCommentVNode("v-if",!0),e.createElementVNode("header",{class:e.normalizeClass([e.unref(p).e("header"),{"show-close":e.unref(d)}])},[e.renderSlot(T.$slots,"header",{},()=>[e.createElementVNode("span",{role:"heading",class:e.normalizeClass(e.unref(p).e("title"))},e.toDisplayString(t.title),3)])],2),e.createElementVNode("div",{class:e.normalizeClass(e.unref(p).e("body"))},[e.renderSlot(T.$slots,"default",{},()=>[e.createElementVNode("span",null,e.toDisplayString(t.description),1)])],2),e.createElementVNode("footer",{class:e.normalizeClass(e.unref(p).e("footer"))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(p).b("indicators"))},[e.unref(g).indicators?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(g).indicators),{key:0,current:e.unref(i),total:e.unref(c)},null,8,["current","total"])):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(e.unref(c),(x,O)=>(e.openBlock(),e.createElementBlock("span",{key:x,class:e.normalizeClass([e.unref(p).b("indicator"),e.unref(p).is("active",O===e.unref(i))])},null,2))),128))],2),e.createElementVNode("div",{class:e.normalizeClass(e.unref(p).b("buttons"))},[e.unref(i)>0?(e.openBlock(),e.createBlock(e.unref(Gt),e.mergeProps({key:0,size:"small",type:e.unref(f)},w(t.prevButtonProps),{onClick:S}),{default:e.withCtx(()=>{var x,O;return[e.createTextVNode(e.toDisplayString((O=(x=t.prevButtonProps)==null?void 0:x.children)!=null?O:e.unref(l)("el.tour.previous")),1)]}),_:1},16,["type"])):e.createCommentVNode("v-if",!0),e.unref(i)<=e.unref(c)-1?(e.openBlock(),e.createBlock(e.unref(Gt),e.mergeProps({key:1,size:"small",type:e.unref(f)==="primary"?"default":"primary"},w(t.nextButtonProps),{onClick:E}),{default:e.withCtx(()=>{var x,O;return[e.createTextVNode(e.toDisplayString((O=(x=t.nextButtonProps)==null?void 0:x.children)!=null?O:e.unref(i)===e.unref(c)-1?e.unref(l)("el.tour.finish"):e.unref(l)("el.tour.next")),1)]}),_:1},16,["type"])):e.createCommentVNode("v-if",!0)],2)],2)],64))}});const XB=Re(zJ,{TourStep:qB}),ZB=Bt(qB),JB=oe({container:{type:K([String,Object])},offset:{type:Number,default:0},bound:{type:Number,default:15},duration:{type:Number,default:300},marker:{type:Boolean,default:!0},type:{type:K(String),default:"default"},direction:{type:K(String),default:"vertical"},selectScrollTop:Boolean}),QB={change:t=>ve(t),click:(t,n)=>t instanceof MouseEvent&&(ve(n)||Xe(n))},eT=Symbol("anchor");var LJ=e.defineComponent({name:"ElAnchor",__name:"anchor",props:JB,emits:QB,setup(t,{expose:n,emit:o}){const r=t,a=o,l=e.useSlots(),s=e.ref(""),i=e.ref({}),c=e.ref(null),d=e.ref(null),u=e.ref(),f={};let p=!1,g=0;const m=ee("anchor"),h=e.computed(()=>[m.b(),r.type==="underline"?m.m("underline"):"",m.m(r.direction)]),b=x=>{f[x.href]=x.el},y=x=>{delete f[x]},k=x=>{s.value!==x&&(s.value=x,a(_e,x))};let C=null,w="";const S=x=>{if(!u.value)return;const O=Qi(x);if(!O)return;if(C){if(w===x)return;C()}w=x,p=!0;const D=wC(O,u.value),L=Gd(O,D),H=D.scrollHeight-D.clientHeight,$=Math.min(L-r.offset,H);C=B_(u.value,g,$,r.duration,()=>{setTimeout(()=>{p=!1,w=""},20)})},E=x=>{x&&(k(x),S(x))},v=(x,O)=>{a("click",x,O),E(O)},N=KF(()=>{u.value&&(g=kC(u.value));const x=P();p||Xe(x)||k(x)}),P=()=>{if(!u.value)return;const x=kC(u.value),O=[];for(const D of Object.keys(f)){const L=Qi(D);if(!L)continue;const H=wC(L,u.value),$=Gd(L,H);O.push({top:$-r.offset-r.bound,href:D})}O.sort((D,L)=>D.top-L.top);for(let D=0;Dx))return L.href}},T=()=>{const x=Qi(r.container);!x||fs(x)?u.value=window:u.value=x};nt(u,"scroll",N);const V=()=>{e.nextTick(()=>{if(!c.value||!d.value||!s.value){i.value={};return}const x=f[s.value];if(!x){i.value={};return}const O=c.value.getBoundingClientRect(),D=d.value.getBoundingClientRect(),L=x.getBoundingClientRect();if(r.direction==="horizontal"){const H=L.left-O.left;i.value={left:`${H}px`,width:`${L.width}px`,opacity:1}}else{const H=L.top-O.top+(L.height-D.height)/2;i.value={top:`${H}px`,opacity:1}}})};return e.watch(s,V),e.watch(()=>{var x;return(x=l.default)==null?void 0:x.call(l)},V),e.onMounted(()=>{T();const x=decodeURIComponent(window.location.hash);Qi(x)?E(x):N()}),e.watch(()=>r.container,()=>{T()}),e.provide(eT,{ns:m,direction:r.direction,currentAnchor:s,addLink:b,removeLink:y,handleClick:v}),n({scrollTo:E}),(x,O)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"anchorRef",ref:c,class:e.normalizeClass(h.value)},[t.marker?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"markerRef",ref:d,class:e.normalizeClass(e.unref(m).e("marker")),style:e.normalizeStyle(i.value)},null,6)):e.createCommentVNode("v-if",!0),e.createElementVNode("div",{class:e.normalizeClass(e.unref(m).e("list"))},[e.renderSlot(x.$slots,"default")],2)],2))}});const _J=oe({title:String,href:String}),FJ=["href"];var tT=e.defineComponent({name:"ElAnchorLink",__name:"anchor-link",props:_J,setup(t){const n=t,o=e.ref(null),{ns:r,direction:a,currentAnchor:l,addLink:s,removeLink:i,handleClick:c}=e.inject(eT),d=e.computed(()=>[r.e("link"),r.is("active",l.value===n.href)]),u=f=>{c(f,n.href)};return e.watch(()=>n.href,(f,p)=>{e.nextTick(()=>{p&&i(p),f&&s({href:f,el:o.value})})}),e.onMounted(()=>{const{href:f}=n;f&&s({href:f,el:o.value})}),e.onBeforeUnmount(()=>{const{href:f}=n;f&&i(f)}),(f,p)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(r).e("item"))},[e.createElementVNode("a",{ref_key:"linkRef",ref:o,class:e.normalizeClass(d.value),href:t.href,onClick:u},[e.renderSlot(f.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(t.title),1)])],10,FJ),f.$slots["sub-link"]&&e.unref(a)==="vertical"?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(r).e("list"))},[e.renderSlot(f.$slots,"sub-link")],2)):e.createCommentVNode("v-if",!0)],2))}});const nT=Re(LJ,{AnchorLink:tT}),oT=Bt(tT),ig={label:"label",value:"value",disabled:"disabled"},rT=oe({direction:{type:K(String),default:"horizontal"},options:{type:K(Array),default:()=>[]},modelValue:{type:[String,Number,Boolean],default:void 0},props:{type:K(Object),default:()=>ig},block:Boolean,size:Ht,disabled:{type:Boolean,default:void 0},validateEvent:{type:Boolean,default:!0},id:String,name:String,...cn(["ariaLabel"])}),aT={[Ne]:t=>ve(t)||pe(t)||ct(t),[_e]:t=>ve(t)||pe(t)||ct(t)},HJ=["id","aria-label","aria-labelledby"],KJ=["name","disabled","checked","onChange"];var WJ=e.defineComponent({name:"ElSegmented",__name:"segmented",props:rT,emits:aT,setup(t,{emit:n}){const o=t,r=n,a=ee("segmented"),l=en(),s=zt(),i=kt(),{formItem:c}=Zt(),{inputId:d,isLabeledByFormItem:u}=Dn(o,{formItemContext:c}),f=e.ref(null),p=GT(),g=e.reactive({isInit:!1,width:0,height:0,translateX:0,translateY:0,focusVisible:!1}),m=(x,O)=>{const D=y(O);r(Ne,D),r(_e,D),x.target.checked=D===o.modelValue},h=e.computed(()=>({...ig,...o.props})),b=x=>x,y=x=>tt(x)?x[h.value.value]:x,k=x=>tt(x)?x[h.value.label]:x,C=x=>!!(i.value||tt(x)&&x[h.value.disabled]),w=x=>o.modelValue===y(x),S=x=>o.options.find(O=>y(O)===x),E=x=>[a.e("item"),a.is("selected",w(x)),a.is("disabled",C(x))],v=()=>{if(!f.value)return;const x=f.value.querySelector(".is-selected"),O=f.value.querySelector(".is-selected input");if(!x||!O){g.width=0,g.height=0,g.translateX=0,g.translateY=0,g.focusVisible=!1;return}g.isInit=!0,o.direction==="vertical"?(g.height=x.offsetHeight,g.translateY=x.offsetTop):(g.width=x.offsetWidth,g.translateX=x.offsetLeft);try{g.focusVisible=O.matches(":focus-visible")}catch(D){}},N=e.computed(()=>[a.b(),a.m(s.value),a.is("block",o.block)]),P=e.computed(()=>({width:o.direction==="vertical"?"100%":`${g.width}px`,height:o.direction==="vertical"?`${g.height}px`:"100%",transform:o.direction==="vertical"?`translateY(${g.translateY}px)`:`translateX(${g.translateX}px)`,display:g.isInit?"block":"none"})),T=e.computed(()=>[a.e("item-selected"),a.is("disabled",C(S(o.modelValue))),a.is("focus-visible",g.focusVisible)]),V=e.computed(()=>o.name||l.value);return yt(f,v),e.watch(p,v),e.watch(()=>o.modelValue,()=>{var x;v(),o.validateEvent&&((x=c==null?void 0:c.validate)==null||x.call(c,"change").catch(O=>void 0))},{flush:"post"}),(x,O)=>t.options.length?(e.openBlock(),e.createElementBlock("div",{key:0,id:e.unref(d),ref_key:"segmentedRef",ref:f,class:e.normalizeClass(N.value),role:"radiogroup","aria-label":e.unref(u)?void 0:t.ariaLabel||"segmented","aria-labelledby":e.unref(u)?e.unref(c).labelId:void 0},[e.createElementVNode("div",{class:e.normalizeClass([e.unref(a).e("group"),e.unref(a).m(t.direction)])},[e.createElementVNode("div",{style:e.normalizeStyle(P.value),class:e.normalizeClass(T.value)},null,6),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.options,(D,L)=>(e.openBlock(),e.createElementBlock("label",{key:L,class:e.normalizeClass(E(D))},[e.createElementVNode("input",{class:e.normalizeClass(e.unref(a).e("item-input")),type:"radio",name:V.value,disabled:C(D),checked:w(D),onChange:H=>m(H,D)},null,42,KJ),e.createElementVNode("div",{class:e.normalizeClass(e.unref(a).e("item-label"))},[e.renderSlot(x.$slots,"default",{item:b(D)},()=>[e.createTextVNode(e.toDisplayString(k(D)),1)])],2)],2))),128))],2)],10,HJ)):e.createCommentVNode("v-if",!0)}});const lT=Re(WJ),jJ=(t,n)=>{const o=t.toLowerCase();return(n.label||n.value||"").toLowerCase().includes(o)},UJ=(t,n,o)=>{const{selectionEnd:r}=t;if(r===null)return;const a=t.value,l=Xt(n);let s=-1,i;for(let c=r-1;c>=0;--c){const d=a[c];if(d===o||d===` +`||d==="\r"){s=c;continue}if(l.includes(d)){const u=s===-1?r:s;i={pattern:a.slice(c+1,u),start:c+1,end:u,prefix:d,prefixIndex:c,splitIndex:s,selectionEnd:r};break}}return i},YJ=(t,n={debug:!1,useSelectionEnd:!1})=>{const o=t.selectionStart!==null?t.selectionStart:0,r=t.selectionEnd!==null?t.selectionEnd:0,a=n.useSelectionEnd?r:o,l=["direction","boxSizing","width","height","overflowX","overflowY","borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth","borderStyle","paddingTop","paddingRight","paddingBottom","paddingLeft","fontStyle","fontVariant","fontWeight","fontStretch","fontSize","fontSizeAdjust","lineHeight","fontFamily","textAlign","textTransform","textIndent","textDecoration","letterSpacing","wordSpacing","tabSize","MozTabSize"];if(n.debug){const p=document.querySelector("#input-textarea-caret-position-mirror-div");p!=null&&p.parentNode&&p.parentNode.removeChild(p)}const s=document.createElement("div");s.id="input-textarea-caret-position-mirror-div",document.body.appendChild(s);const i=s.style,c=window.getComputedStyle(t),d=t.nodeName==="INPUT";i.whiteSpace=d?"nowrap":"pre-wrap",d||(i.wordWrap="break-word"),i.position="absolute",n.debug||(i.visibility="hidden"),l.forEach(p=>{if(d&&p==="lineHeight")if(c.boxSizing==="border-box"){const g=Number.parseInt(c.height),m=Number.parseInt(c.paddingTop)+Number.parseInt(c.paddingBottom)+Number.parseInt(c.borderTopWidth)+Number.parseInt(c.borderBottomWidth),h=m+Number.parseInt(c.lineHeight);g>h?i.lineHeight=`${g-m}px`:g===h?i.lineHeight=c.lineHeight:i.lineHeight="0"}else i.lineHeight=c.height;else i[p]=c[p]}),Yd()?t.scrollHeight>Number.parseInt(c.height)&&(i.overflowY="scroll"):i.overflow="hidden",s.textContent=t.value.slice(0,Math.max(0,a)),d&&s.textContent&&(s.textContent=s.textContent.replace(/\s/g,"\xA0"));const u=document.createElement("span");u.textContent=t.value.slice(Math.max(0,a))||".",u.style.position="relative",u.style.left=`${-t.scrollLeft}px`,u.style.top=`${-t.scrollTop}px`,s.appendChild(u);const f={top:u.offsetTop+Number.parseInt(c.borderTopWidth),left:u.offsetLeft+Number.parseInt(c.borderLeftWidth),height:Number.parseInt(c.fontSize)*1.5};return n.debug?u.style.backgroundColor="#aaa":document.body.removeChild(s),f.left>=t.clientWidth&&(f.left=t.clientWidth),f},sT=oe({...yl,options:{type:K(Array),default:()=>[]},prefix:{type:K([String,Array]),default:"@",validator:t=>ve(t)?t.length===1:t.every(n=>ve(n)&&n.length===1)},split:{type:String,default:" ",validator:t=>t.length===1},filterOption:{type:K([Boolean,Function]),default:()=>jJ,validator:t=>t===!1?!0:Ae(t)},placement:{type:K(String),default:"bottom"},showArrow:Boolean,offset:{type:Number,default:0},whole:Boolean,checkIsWhole:{type:K(Function)},modelValue:String,loading:Boolean,popperClass:lt.popperClass,popperStyle:lt.popperStyle,popperOptions:{type:K(Object),default:()=>({})},props:{type:K(Object),default:()=>cg}}),iT={[Ne]:t=>ve(t),"whole-remove":(t,n)=>ve(t)&&ve(n),input:t=>ve(t),search:(t,n)=>ve(t)&&ve(n),select:(t,n)=>tt(t)&&ve(n),focus:t=>t instanceof FocusEvent,blur:t=>t instanceof FocusEvent},cg={value:"value",label:"label",disabled:"disabled"},GJ=oe({options:{type:K(Array),default:()=>[]},loading:Boolean,disabled:Boolean,contentId:String,ariaLabel:String}),qJ={select:t=>ve(t.value)},XJ=["id","aria-disabled","aria-selected","onMousemove","onClick"];var ZJ=e.defineComponent({name:"ElMentionDropdown",__name:"mention-dropdown",props:GJ,emits:qJ,setup(t,{expose:n,emit:o}){const r=t,a=o,l=ee("mention"),{t:s}=je(),i=e.ref(-1),c=e.ref(),d=e.ref(),u=e.ref(),f=(w,S)=>[l.be("dropdown","item"),l.is("hovering",i.value===S),l.is("disabled",w.disabled||r.disabled)],p=w=>{w.disabled||r.disabled||a("select",w)},g=w=>{i.value=w},m=e.computed(()=>r.disabled||r.options.every(w=>w.disabled)),h=e.computed(()=>r.options[i.value]),b=()=>{h.value&&a("select",h.value)},y=w=>{const{options:S}=r;if(S.length===0||m.value)return;w==="next"?(i.value++,i.value===S.length&&(i.value=0)):w==="prev"&&(i.value--,i.value<0&&(i.value=S.length-1));const E=S[i.value];if(E.disabled){y(w);return}e.nextTick(()=>k(E))},k=w=>{var S,E,v,N;const{options:P}=r,T=P.findIndex(x=>x.value===w.value),V=(S=d.value)==null?void 0:S[T];if(V){const x=(v=(E=u.value)==null?void 0:E.querySelector)==null?void 0:v.call(E,`.${l.be("dropdown","wrap")}`);x&&hf(x,V)}(N=c.value)==null||N.handleScroll()},C=()=>{m.value||r.options.length===0?i.value=-1:i.value=0};return e.watch(()=>r.options,C,{immediate:!0}),n({hoveringIndex:i,navigateOptions:y,selectHoverOption:b,hoverOption:h}),(w,S)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"dropdownRef",ref:u,class:e.normalizeClass(e.unref(l).b("dropdown"))},[w.$slots.header?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(l).be("dropdown","header"))},[e.renderSlot(w.$slots,"header")],2)):e.createCommentVNode("v-if",!0),e.withDirectives(e.createVNode(e.unref(mo),{id:t.contentId,ref_key:"scrollbarRef",ref:c,tag:"ul","wrap-class":e.unref(l).be("dropdown","wrap"),"view-class":e.unref(l).be("dropdown","list"),role:"listbox","aria-label":t.ariaLabel,"aria-orientation":"vertical"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.options,(E,v)=>(e.openBlock(),e.createElementBlock("li",{id:`${t.contentId}-${v}`,ref_for:!0,ref_key:"optionRefs",ref:d,key:v,class:e.normalizeClass(f(E,v)),role:"option","aria-disabled":E.disabled||t.disabled||void 0,"aria-selected":i.value===v,onMousemove:N=>g(v),onClick:e.withModifiers(N=>p(E),["stop"])},[e.renderSlot(w.$slots,"label",{item:E,index:v},()=>{var N;return[e.createElementVNode("span",null,e.toDisplayString((N=E.label)!=null?N:E.value),1)]})],42,XJ))),128))]),_:3},8,["id","wrap-class","view-class","aria-label"]),[[e.vShow,t.options.length>0&&!t.loading]]),t.loading?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(l).be("dropdown","loading"))},[e.renderSlot(w.$slots,"loading",{},()=>[e.createTextVNode(e.toDisplayString(e.unref(s)("el.mention.loading")),1)])],2)):e.createCommentVNode("v-if",!0),w.$slots.footer?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(e.unref(l).be("dropdown","footer"))},[e.renderSlot(w.$slots,"footer")],2)):e.createCommentVNode("v-if",!0)],2))}}),JJ=e.defineComponent({name:"ElMention",inheritAttrs:!1,__name:"mention",props:sT,emits:iT,setup(t,{expose:n,emit:o}){const r=t,a=o,l=e.computed(()=>_o(r,Object.keys(yl))),s=ee("mention"),i=kt(),c=en(),d=e.ref(),u=e.ref(),f=e.ref(),p=e.ref(!1),g=e.ref(),m=e.ref(),h=e.computed(()=>r.showArrow?r.placement:`${r.placement}-start`),b=e.computed(()=>r.showArrow?["bottom","top"]:["bottom-start","top-start"]),y=e.computed(()=>({...cg,...r.props})),k=$=>{const B={label:$[y.value.label],value:$[y.value.value],disabled:$[y.value.disabled]};return{...$,...B}},C=e.computed(()=>r.options.map(k)),w=e.computed(()=>{const{filterOption:$}=r;return!m.value||!$?C.value:C.value.filter(B=>$(m.value.pattern,B))}),S=e.computed(()=>p.value&&(!!w.value.length||r.loading)),E=e.computed(()=>{var $;return`${c.value}-${($=f.value)==null?void 0:$.hoveringIndex}`}),v=$=>{a(Ne,$),a(Dt,$),D()},N=$=>{var B,M,I,z;if((B=d.value)!=null&&B.isComposing)return;const F=ut($);switch(F){case te.left:case te.right:D();break;case te.up:case te.down:if(!p.value)return;$.preventDefault(),(M=f.value)==null||M.navigateOptions(F===te.up?"prev":"next");break;case te.enter:case te.numpadEnter:if(!p.value){r.type!=="textarea"&&D();return}$.preventDefault(),(I=f.value)!=null&&I.hoverOption?(z=f.value)==null||z.selectHoverOption():p.value=!1;break;case te.esc:if(!p.value)return;$.preventDefault(),p.value=!1;break;case te.backspace:if(r.whole&&m.value){const{splitIndex:A,selectionEnd:W,pattern:j,prefixIndex:G,prefix:X}=m.value,Q=O();if(!Q)return;const J=Q.value,Y=C.value.find(q=>q.value===j);if((Ae(r.checkIsWhole)?r.checkIsWhole(j,X):Y)&&A!==-1&&A+1===W){$.preventDefault();const q=J.slice(0,G)+J.slice(A+1);a(Ne,q),a(Dt,q),a("whole-remove",j,X);const le=G;e.nextTick(()=>{Q.selectionStart=le,Q.selectionEnd=le,H()})}}}},{wrapperRef:P}=Qo(d,{disabled:i,afterFocus(){D()},beforeBlur($){var B;return(B=u.value)==null?void 0:B.isFocusInsideContent($)},afterBlur(){p.value=!1}}),T=()=>{D()},V=$=>r.options.find(B=>$.value===B[y.value.value]),x=$=>{if(!m.value)return;const B=O();if(!B)return;const M=B.value,{split:I}=r,z=M.slice(m.value.end),F=z.startsWith(I),A=`${$.value}${F?"":I}`,W=M.slice(0,m.value.start)+A+z;a(Ne,W),a(Dt,W),a("select",V($),m.value.prefix);const j=m.value.start+A.length+(F?1:0);e.nextTick(()=>{B.selectionStart=j,B.selectionEnd=j,B.focus(),H()})},O=()=>{var $,B;return r.type==="textarea"?($=d.value)==null?void 0:$.textarea:(B=d.value)==null?void 0:B.input},D=()=>{setTimeout(()=>{L(),H(),e.nextTick(()=>{var $;return($=u.value)==null?void 0:$.updatePopper()})},0)},L=()=>{const $=O();if(!$)return;const B=YJ($),M=$.getBoundingClientRect(),I=P.value.getBoundingClientRect();g.value={position:"absolute",width:0,height:`${B.height}px`,left:`${B.left+M.left-I.left}px`,top:`${B.top+M.top-I.top}px`}},H=()=>{const $=O();if(document.activeElement!==$){p.value=!1;return}const{prefix:B,split:M}=r;if(m.value=UJ($,B,M),m.value&&m.value.splitIndex===-1){p.value=!0,a("search",m.value.pattern,m.value.prefix);return}p.value=!1};return n({input:d,tooltip:u,dropdownVisible:S}),($,B)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"wrapperRef",ref:P,class:e.normalizeClass(e.unref(s).b())},[e.createVNode(e.unref(un),e.mergeProps(e.mergeProps(l.value,$.$attrs),{ref_key:"elInputRef",ref:d,"model-value":t.modelValue,disabled:e.unref(i),role:S.value?"combobox":void 0,"aria-activedescendant":S.value?E.value||"":void 0,"aria-controls":S.value?e.unref(c):void 0,"aria-expanded":S.value||void 0,"aria-label":t.ariaLabel,"aria-autocomplete":S.value?"none":void 0,"aria-haspopup":S.value?"listbox":void 0,onInput:v,onKeydown:N,onMousedown:T}),e.createSlots({_:2},[e.renderList($.$slots,(M,I)=>({name:I,fn:e.withCtx(z=>[e.renderSlot($.$slots,I,e.normalizeProps(e.guardReactiveProps(z)))])}))]),1040,["model-value","disabled","role","aria-activedescendant","aria-controls","aria-expanded","aria-label","aria-autocomplete","aria-haspopup"]),e.createVNode(e.unref(Jt),{ref_key:"tooltipRef",ref:u,visible:S.value,"popper-class":[e.unref(s).e("popper"),t.popperClass],"popper-style":t.popperStyle,"popper-options":t.popperOptions,placement:h.value,"fallback-placements":b.value,effect:"light",pure:"",offset:t.offset,"show-arrow":t.showArrow},{default:e.withCtx(()=>[e.createElementVNode("div",{style:e.normalizeStyle(g.value)},null,4)]),content:e.withCtx(()=>[e.createVNode(ZJ,{ref_key:"dropdownRef",ref:f,options:w.value,disabled:e.unref(i),loading:t.loading,"content-id":e.unref(c),"aria-label":t.ariaLabel,onSelect:x,onClick:B[0]||(B[0]=e.withModifiers(M=>{var I;return(I=d.value)==null?void 0:I.focus()},["stop"]))},e.createSlots({_:2},[e.renderList($.$slots,(M,I)=>({name:I,fn:e.withCtx(z=>[e.renderSlot($.$slots,I,e.normalizeProps(e.guardReactiveProps(z)))])}))]),1032,["options","disabled","loading","content-id","aria-label"])]),_:3},8,["visible","popper-class","popper-style","popper-options","placement","fallback-placements","offset","show-arrow"])],2))}});const cT=Re(JJ),dT=oe({layout:{type:String,default:"horizontal",values:["horizontal","vertical"]},lazy:Boolean}),uT={resizeStart:(t,n)=>!0,resize:(t,n)=>!0,resizeEnd:(t,n)=>!0,collapse:(t,n,o)=>!0};function QJ(t){const n=e.ref(),{width:o,height:r}=jd(n),a=e.computed(()=>t.value==="horizontal"?o.value:r.value);return{containerEl:n,containerSize:a}}function dg(t){return Number(t.slice(0,-1))/100}function ug(t){return Number(t.slice(0,-2))}function fg(t){return ve(t)&&t.endsWith("%")}function mg(t){return ve(t)&&t.endsWith("px")}function eQ(t,n){const o=e.computed(()=>t.value.map(i=>i.size)),r=e.computed(()=>t.value.length),a=e.ref([]);e.watch([o,r,n],()=>{var i;let c=[],d=0;for(let f=0;ff+(p||0),0);if(u>1||!d){const f=1/u;c=c.map(p=>p===void 0?0:p*f)}else{const f=(1-u)/d;c=c.map(p=>p===void 0?f:p)}a.value=c});const l=i=>i*n.value,s=e.computed(()=>a.value.map(l));return{percentSizes:a,pxSizes:s}}function tQ(t,n,o,r){const a=b=>b*n.value||0;function l(b,y){return fg(b)?a(dg(b)):mg(b)?ug(b):b!=null?b:y}const s=e.ref(0),i=e.ref(null);let c=[],d=et;const u=e.computed(()=>t.value.map(b=>[b.min,b.max]));e.watch(r,()=>{if(s.value){const b=new MouseEvent("mouseup",{bubbles:!0});window.dispatchEvent(b)}});const f=b=>{s.value=0,i.value={index:b,confirmed:!1},c=o.value},p=(b,y)=>{var k,C;let w=null;if((!i.value||!i.value.confirmed)&&y!==0){if(y>0)w=b,i.value={index:b,confirmed:!0};else for(let O=b;O>=0;O-=1)if(c[O]>0){w=O,i.value={index:O,confirmed:!0};break}}const S=(C=w!=null?w:(k=i.value)==null?void 0:k.index)!=null?C:b,E=[...c],v=S+1,N=l(u.value[S][0],0),P=l(u.value[v][0],0),T=l(u.value[S][1],n.value||0),V=l(u.value[v][1],n.value||0);let x=y;E[S]+xT&&(x=T-E[S]),E[v]-x>V&&(x=E[v]-V),E[S]+=x,E[v]-=x,s.value=x,d=()=>{t.value.forEach((O,D)=>{O.size=E[D]}),d=et},r.value||d()},g=()=>{r.value&&d(),s.value=0,i.value=null,c=[]},m=[];return{lazyOffset:s,onMoveStart:f,onMoving:p,onMoveEnd:g,movingIndex:i,onCollapse:(b,y)=>{m.length||m.push(...o.value);const k=o.value,C=y==="start"?b:b+1,w=y==="start"?b+1:b,S=k[C],E=k[w];if(S!==0&&E!==0)k[C]=0,k[w]+=S,m[b]=S;else{const v=S+E,N=m[b],P=v-N;k[w]=N,k[C]=P}t.value.forEach((v,N)=>{v.size=k[N]})}}}const fT=Symbol("splitterRootContextKey");var nQ=e.defineComponent({name:"ElSplitter",__name:"splitter",props:dT,emits:uT,setup(t,{emit:n}){const o=ee("splitter"),r=n,a=t,l=e.toRef(a,"layout"),s=e.toRef(a,"lazy"),{containerEl:i,containerSize:c}=QJ(l),{removeChild:d,children:u,addChild:f,ChildrenSorter:p}=$s(e.getCurrentInstance(),"ElSplitterPanel");e.watch(u,()=>{b.value=null,u.value.forEach((T,V)=>{T.setIndex(V)})});const{percentSizes:g,pxSizes:m}=eQ(u,c),{lazyOffset:h,movingIndex:b,onMoveStart:y,onMoving:k,onMoveEnd:C,onCollapse:w}=tQ(u,c,m,s),S=e.computed(()=>({[o.cssVarBlockName("bar-offset")]:s.value?`${h.value}px`:void 0})),E=T=>{y(T),r("resizeStart",T,m.value)},v=(T,V)=>{k(T,V),s.value||r("resize",T,m.value)},N=async T=>{C(),await e.nextTick(),r("resizeEnd",T,m.value)},P=(T,V)=>{w(T,V),r("collapse",T,V,m.value)};return e.provide(fT,e.reactive({panels:u,percentSizes:g,pxSizes:m,layout:l,lazy:s,movingIndex:b,containerSize:c,onMoveStart:E,onMoving:v,onMoveEnd:N,onCollapse:P,registerPanel:f,unregisterPanel:d})),(T,V)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"containerEl",ref:i,class:e.normalizeClass([e.unref(o).b(),e.unref(o).e(l.value)]),style:e.normalizeStyle(S.value)},[e.renderSlot(T.$slots,"default"),e.createVNode(e.unref(p)),e.createCommentVNode(" Prevent iframe touch events from breaking "),e.unref(b)?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass([e.unref(o).e("mask"),e.unref(o).e(`mask-${l.value}`)])},null,2)):e.createCommentVNode("v-if",!0)],6))}});const mT=oe({min:{type:[String,Number]},max:{type:[String,Number]},size:{type:[String,Number]},resizable:{type:Boolean,default:!0},collapsible:Boolean}),pT={"update:size":t=>typeof t=="number"||typeof t=="string"};function oQ(t){return t&&tt(t)?t:{start:!!t,end:!!t}}function hT(t,n,o,r){return!!(t!=null&&t.collapsible.end&&n>0||o!=null&&o.collapsible.start&&r===0&&n>0)}var rQ=e.defineComponent({name:"ElSplitterBar",__name:"split-bar",props:{index:{type:Number,required:!0},layout:{type:String,values:["horizontal","vertical"],default:"horizontal"},resizable:{type:Boolean,default:!0},lazy:Boolean,startCollapsible:Boolean,endCollapsible:Boolean},emits:["moveStart","moving","moveEnd","collapse"],setup(t,{emit:n}){const o=ee("splitter-bar"),r=t,a=n,l=e.computed(()=>r.layout==="horizontal"),s=e.computed(()=>l.value?{width:0}:{height:0}),i=e.computed(()=>({width:l.value?"16px":"100%",height:l.value?"100%":"16px",cursor:r.resizable?l.value?"ew-resize":"ns-resize":"auto",touchAction:"none"})),c=e.computed(()=>{const k=o.e("dragger");return{[`${k}-horizontal`]:l.value,[`${k}-vertical`]:!l.value,[`${k}-active`]:!!d.value}}),d=e.ref(null),u=k=>{r.resizable&&(d.value=[k.pageX,k.pageY],a("moveStart",r.index),window.addEventListener("mouseup",m),window.addEventListener("mousemove",p))},f=k=>{if(r.resizable&&k.touches.length===1){k.preventDefault();const C=k.touches[0];d.value=[C.pageX,C.pageY],a("moveStart",r.index),window.addEventListener("touchend",h),window.addEventListener("touchmove",g)}},p=k=>{const{pageX:C,pageY:w}=k,S=C-d.value[0],E=w-d.value[1],v=l.value?S:E;a("moving",r.index,v)},g=k=>{if(k.touches.length===1){k.preventDefault();const C=k.touches[0],w=C.pageX-d.value[0],S=C.pageY-d.value[1],E=l.value?w:S;a("moving",r.index,E)}},m=()=>{d.value=null,window.removeEventListener("mouseup",m),window.removeEventListener("mousemove",p),a("moveEnd",r.index)},h=()=>{d.value=null,window.removeEventListener("touchend",h),window.removeEventListener("touchmove",g),a("moveEnd",r.index)},b=e.computed(()=>l.value?gr:ec),y=e.computed(()=>l.value?Cn:Wo);return(k,C)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass([e.unref(o).b()]),style:e.normalizeStyle(s.value)},[t.startCollapsible?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass([e.unref(o).e("collapse-icon"),e.unref(o).e(`${t.layout}-collapse-icon-start`)]),onClick:C[0]||(C[0]=w=>a("collapse",t.index,"start"))},[e.renderSlot(k.$slots,"start-collapsible",{},()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(b.value),{style:{width:"12px",height:"12px"}}))])],2)):e.createCommentVNode("v-if",!0),e.createElementVNode("div",{class:e.normalizeClass([e.unref(o).e("dragger"),c.value,e.unref(o).is("disabled",!t.resizable),e.unref(o).is("lazy",t.resizable&&t.lazy)]),style:e.normalizeStyle(i.value),onMousedown:u,onTouchstart:f},null,38),t.endCollapsible?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass([e.unref(o).e("collapse-icon"),e.unref(o).e(`${t.layout}-collapse-icon-end`)]),onClick:C[1]||(C[1]=w=>a("collapse",t.index,"end"))},[e.renderSlot(k.$slots,"end-collapsible",{},()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(y.value),{style:{width:"12px",height:"12px"}}))])],2)):e.createCommentVNode("v-if",!0)],6))}});const gT="ElSplitterPanel";var bT=e.defineComponent({name:gT,__name:"split-panel",props:mT,emits:pT,setup(t,{expose:n,emit:o}){const r=ee("splitter-panel"),a=t,l=o,s=e.inject(fT);s||Ft(gT,"usage: ");const{panels:i,layout:c,lazy:d,containerSize:u,pxSizes:f}=e.toRefs(s),{registerPanel:p,unregisterPanel:g,onCollapse:m,onMoveEnd:h,onMoveStart:b,onMoving:y}=s,k=e.ref(),C=e.getCurrentInstance(),w=C.uid,S=e.ref(0),E=e.computed(()=>i.value[S.value]),v=B=>{S.value=B},N=e.computed(()=>{var B;return E.value&&(B=f.value[S.value])!=null?B:0}),P=e.computed(()=>{var B;return E.value&&(B=f.value[S.value+1])!=null?B:0}),T=e.computed(()=>E.value?i.value[S.value+1]:null),V=e.computed(()=>{var B;return T.value?a.resizable&&((B=T.value)==null?void 0:B.resizable)&&(N.value!==0||!a.min)&&(P.value!==0||!T.value.min):!1}),x=e.computed(()=>E.value?S.value!==i.value.length-1:!1),O=e.computed(()=>hT(E.value,N.value,T.value,P.value)),D=e.computed(()=>hT(T.value,P.value,E.value,N.value));function L(B){return fg(B)?dg(B)*u.value||0:mg(B)?ug(B):B!=null?B:0}let H=!1;e.watch(()=>a.size,()=>{if(!H&&E.value){if(!u.value){E.value.size=a.size;return}const B=L(a.size),M=L(a.max),I=L(a.min),z=Math.min(Math.max(B,I||0),M||B);z!==B&&l("update:size",z),E.value.size=z}}),e.watch(()=>{var B;return(B=E.value)==null?void 0:B.size},B=>{B!==a.size&&(H=!0,l("update:size",B),e.nextTick(()=>H=!1))}),e.watch(()=>a.resizable,B=>{E.value&&(E.value.resizable=B)});const $=e.reactive({uid:w,getVnode:()=>C.vnode,setIndex:v,...a,collapsible:e.computed(()=>oQ(a.collapsible))});return p($),e.onBeforeUnmount(()=>g($)),n({splitterPanelRef:k}),(B,M)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",e.mergeProps({ref_key:"panelEl",ref:k,class:[e.unref(r).b()],style:{flexBasis:`${N.value}px`}},B.$attrs),[e.renderSlot(B.$slots,"default")],16),x.value?(e.openBlock(),e.createBlock(rQ,{key:0,index:S.value,layout:e.unref(c),lazy:e.unref(d),resizable:V.value,"start-collapsible":O.value,"end-collapsible":D.value,onMoveStart:e.unref(b),onMoving:e.unref(y),onMoveEnd:e.unref(h),onCollapse:e.unref(m)},{"start-collapsible":e.withCtx(()=>[e.renderSlot(B.$slots,"start-collapsible")]),"end-collapsible":e.withCtx(()=>[e.renderSlot(B.$slots,"end-collapsible")]),_:3},8,["index","layout","lazy","resizable","start-collapsible","end-collapsible","onMoveStart","onMoving","onMoveEnd","onCollapse"])):e.createCommentVNode("v-if",!0)],64))}});const yT=Re(nQ,{SplitPanel:bT}),CT=Bt(bT);var aQ=[ok,ik,o1,L2,c1,d1,p1,wm,C1,w1,Gt,Tm,dS,fS,yS,CS,jS,gp,GS,ho,VS,Zc,eE,aE,lE,Ks,Tp,gE,Jw,kE,SE,EE,vE,NE,OE,Ip,_E,FE,jE,Fp,qE,iv,cv,dv,jp,Lk,_k,ce,gv,Up,un,Yp,kv,vv,zv,Dv,Lv,_v,Kv,Yv,Xv,eN,hm,th,fp,LS,DS,rN,lN,QS,mo,Er,Fs,cS,$N,RN,MN,zN,KN,Ch,qN,e2,t2,a2,k2,S2,D2,X2,Z2,tr,Sd,oS,tB,aB,lB,Jt,cB,Bd,hB,NB,LB,FB,XB,ZB,nT,oT,lT,cT,yT,CT];const Zn="ElInfiniteScroll",lQ=50,sQ={delay:{type:Number,default:200},distance:{type:Number,default:0},disabled:{type:Boolean,default:!1},immediate:{type:Boolean,default:!0}},pg=(t,n)=>Object.entries(sQ).reduce((o,[r,a])=>{var l,s;const{type:i,default:c}=a,d=t.getAttribute(`infinite-scroll-${r}`);let u=(s=(l=n[d])!=null?l:d)!=null?s:c;return u=u==="false"?!1:u,u=i(u),o[r]=Number.isNaN(u)?c:u,o},{}),wT=t=>{const{observer:n}=t[Zn];n&&(n.disconnect(),delete t[Zn].observer)},iQ=(t,n)=>{const{container:o,containerEl:r,instance:a,observer:l,lastScrollTop:s}=t[Zn],{disabled:i,distance:c}=pg(t,a),{clientHeight:d,scrollHeight:u,scrollTop:f}=r,p=f-s;if(t[Zn].lastScrollTop=f,l||i||p<0)return;let g=!1;if(o===t)g=u-(d+f)<=c;else{const{clientTop:m,scrollHeight:h}=t,b=Gd(t,r);g=f+d>=b+m+h-c}g&&n.call(a)};function hg(t,n){const{containerEl:o,instance:r}=t[Zn],{disabled:a}=pg(t,r);a||o.clientHeight===0||(o.scrollHeight<=o.clientHeight?n.call(r):wT(t))}const gg={async mounted(t,n){const{instance:o,value:r}=n;No({scope:Zn,from:"the directive v-infinite-scroll",replacement:"the el-scrollbar infinite scroll",version:"3.0.0",ref:"https://element-plus.org/en-US/component/scrollbar#infinite-scroll"},!0),Ae(r)||Ft(Zn,"'v-infinite-scroll' binding value must be a function"),await e.nextTick();const{delay:a,immediate:l}=pg(t,o),s=pf(t,!0),i=s===window?document.documentElement:s,c=mr(iQ.bind(null,t,r),a);if(s){if(t[Zn]={instance:o,container:s,containerEl:i,delay:a,cb:r,onScroll:c,lastScrollTop:i.scrollTop},l){const d=new MutationObserver(mr(hg.bind(null,t,r),lQ));t[Zn].observer=d,d.observe(t,{childList:!0,subtree:!0}),hg(t,r)}s.addEventListener("scroll",c)}},unmounted(t){if(!t[Zn])return;const{container:n,onScroll:o}=t[Zn];n==null||n.removeEventListener("scroll",o),wT(t)},async updated(t){if(!t[Zn])await e.nextTick();else{const{containerEl:n,cb:o,observer:r}=t[Zn];n.clientHeight&&r&&hg(t,o)}}};gg.install=t=>{t.directive("InfiniteScroll",gg)};const kT=gg;function cQ(t,n){let o;const r=e.ref(!1),a=e.reactive({...t,originalPosition:"",originalOverflow:"",visible:!1});function l(g){a.text=g}function s(){const g=a.parent,m=p.ns;if(!g.vLoadingAddClassList){let h=g.getAttribute("loading-number");h=Number.parseInt(h)-1,h?g.setAttribute("loading-number",h.toString()):(yn(g,m.bm("parent","relative")),g.removeAttribute("loading-number")),yn(g,m.bm("parent","hidden"))}i(),f.unmount()}function i(){var g,m;(m=(g=p.$el)==null?void 0:g.parentNode)==null||m.removeChild(p.$el)}function c(){var g;t.beforeClose&&!t.beforeClose()||(r.value=!0,clearTimeout(o),o=setTimeout(d,400),a.visible=!1,(g=t.closed)==null||g.call(t))}function d(){if(!r.value)return;const g=a.parent;r.value=!1,g.vLoadingAddClassList=void 0,s()}const u=e.defineComponent({name:"ElLoading",setup(g,{expose:m}){const{ns:h,zIndex:b}=Vs("loading");return m({ns:h,zIndex:b}),()=>{const y=a.spinner||a.svg,k=e.h("svg",{class:"circular",viewBox:a.svgViewBox?a.svgViewBox:"0 0 50 50",...y?{innerHTML:y}:{}},[e.h("circle",{class:"path",cx:"25",cy:"25",r:"20",fill:"none"})]),C=a.text?e.h("p",{class:h.b("text")},[a.text]):void 0;return e.h(e.Transition,{name:h.b("fade"),onAfterLeave:d},{default:e.withCtx(()=>[e.withDirectives(e.createVNode("div",{style:{backgroundColor:a.background||""},class:[h.b("mask"),a.customClass,h.is("fullscreen",a.fullscreen)]},[e.h("div",{class:h.b("spinner")},[k,C])]),[[e.vShow,a.visible]])])})}}}),f=e.createApp(u);Object.assign(f._context,n!=null?n:{});const p=f.mount(document.createElement("div"));return{...e.toRefs(a),setText:l,removeElLoadingChild:i,close:c,handleAfterLeave:d,vm:p,get $el(){return p.$el}}}let Md;const xa=function(t={},n){if(!Je)return;const o=dQ(t);if(o.fullscreen&&Md)return Md;const r=cQ({...o,closed:()=>{var l;(l=o.closed)==null||l.call(o),o.fullscreen&&(Md=void 0)}},n!=null?n:xa._context);uQ(o,o.parent,r),ST(o,o.parent,r),o.parent.vLoadingAddClassList=()=>ST(o,o.parent,r);let a=o.parent.getAttribute("loading-number");return a?a=`${Number.parseInt(a)+1}`:a="1",o.parent.setAttribute("loading-number",a),o.parent.appendChild(r.$el),e.nextTick(()=>r.visible.value=o.visible),o.fullscreen&&(Md=r),r},dQ=t=>{var n,o,r,a;let l;return ve(t.target)?l=(n=document.querySelector(t.target))!=null?n:document.body:l=t.target||document.body,{parent:l===document.body||t.body?document.body:l,background:t.background||"",svg:t.svg||"",svgViewBox:t.svgViewBox||"",spinner:t.spinner||!1,text:t.text||"",fullscreen:l===document.body&&((o=t.fullscreen)!=null?o:!0),lock:(r=t.lock)!=null?r:!1,customClass:t.customClass||"",visible:(a=t.visible)!=null?a:!0,beforeClose:t.beforeClose,closed:t.closed,target:l}},uQ=async(t,n,o)=>{const{nextZIndex:r}=o.vm.zIndex||o.vm._.exposed.zIndex,a={};if(t.fullscreen)o.originalPosition.value=hr(document.body,"position"),o.originalOverflow.value=hr(document.body,"overflow"),a.zIndex=r();else if(t.parent===document.body){o.originalPosition.value=hr(document.body,"position"),await e.nextTick();for(const l of["top","left"]){const s=l==="top"?"scrollTop":"scrollLeft";a[l]=`${t.target.getBoundingClientRect()[l]+document.body[s]+document.documentElement[s]-Number.parseInt(hr(document.body,`margin-${l}`),10)}px`}for(const l of["height","width"])a[l]=`${t.target.getBoundingClientRect()[l]}px`}else o.originalPosition.value=hr(n,"position");for(const[l,s]of Object.entries(a))o.$el.style[l]=s},ST=(t,n,o)=>{const r=o.vm.ns||o.vm._.exposed.ns;["absolute","fixed","sticky"].includes(o.originalPosition.value)?yn(n,r.bm("parent","relative")):lo(n,r.bm("parent","relative")),t.fullscreen&&t.lock?lo(n,r.bm("parent","hidden")):yn(n,r.bm("parent","hidden"))};xa._context=null;const ii=Symbol("ElLoading"),$a=t=>`element-loading-${lx(t)}`,ET=(t,n)=>{var o,r,a,l;const s=n.instance,i=g=>tt(n.value)?n.value[g]:void 0,c=g=>{const m=ve(g)&&(s==null?void 0:s[g])||g;return e.ref(m)},d=g=>c(i(g)||t.getAttribute($a(g))),u=(o=i("fullscreen"))!=null?o:n.modifiers.fullscreen,f={text:d("text"),svg:d("svg"),svgViewBox:d("svgViewBox"),spinner:d("spinner"),background:d("background"),customClass:d("customClass"),fullscreen:u,target:(r=i("target"))!=null?r:u?void 0:t,body:(a=i("body"))!=null?a:n.modifiers.body,lock:(l=i("lock"))!=null?l:n.modifiers.lock},p=xa(f);p._context=Va._context,t[ii]={options:f,instance:p}},fQ=(t,n)=>{for(const o of Object.keys(t))e.isRef(t[o])&&(t[o].value=n[o])},Va={mounted(t,n){n.value&&ET(t,n)},updated(t,n){const o=t[ii];if(!n.value){o==null||o.instance.close(),t[ii]=null;return}o?fQ(o.options,tt(n.value)?n.value:{text:t.getAttribute($a("text")),svg:t.getAttribute($a("svg")),svgViewBox:t.getAttribute($a("svgViewBox")),spinner:t.getAttribute($a("spinner")),background:t.getAttribute($a("background")),customClass:t.getAttribute($a("customClass"))}):ET(t,n)},unmounted(t){var n;(n=t[ii])==null||n.instance.close(),t[ii]=null}};Va._context=null;const vT={install(t){xa._context=t._context,Va._context=t._context,t.directive("loading",Va),t.config.globalProperties.$loading=xa},directive:Va,service:xa},bg=["primary","success","info","warning","error"],yg=["top","top-left","top-right","bottom","bottom-left","bottom-right"],zl="top",hn=wt({customClass:"",dangerouslyUseHTMLString:!1,duration:3e3,icon:void 0,id:"",message:"",onClose:void 0,showClose:!1,type:"info",plain:!1,offset:16,placement:void 0,zIndex:0,grouping:!1,repeatNum:1,appendTo:Je?document.body:void 0}),NT=oe({customClass:{type:String,default:hn.customClass},dangerouslyUseHTMLString:{type:Boolean,default:hn.dangerouslyUseHTMLString},duration:{type:Number,default:hn.duration},icon:{type:dt,default:hn.icon},id:{type:String,default:hn.id},message:{type:K([String,Object,Function]),default:hn.message},onClose:{type:K(Function),default:hn.onClose},showClose:{type:Boolean,default:hn.showClose},type:{type:String,values:bg,default:hn.type},plain:{type:Boolean,default:hn.plain},offset:{type:Number,default:hn.offset},placement:{type:String,values:yg,default:hn.placement},zIndex:{type:Number,default:hn.zIndex},grouping:{type:Boolean,default:hn.grouping},repeatNum:{type:Number,default:hn.repeatNum}}),BT={destroy:()=>!0},Mo=e.shallowReactive({}),mQ=t=>(Mo[t]||(Mo[t]=e.shallowReactive([])),Mo[t]),pQ=(t,n)=>{const o=Mo[n]||[],r=o.findIndex(s=>s.id===t),a=o[r];let l;return r>0&&(l=o[r-1]),{current:a,prev:l}},hQ=(t,n)=>{const{prev:o}=pQ(t,n);return o?o.vm.exposed.bottom.value:0},gQ=(t,n,o)=>(Mo[o]||[]).findIndex(l=>l.id===t)>0?16:n,bQ=["id"],yQ=["innerHTML"];var CQ=e.defineComponent({name:"ElMessage",__name:"message",props:NT,emits:BT,setup(t,{expose:n,emit:o}){const{Close:r}=yf,a=t,l=o,s=e.ref(!1),{ns:i,zIndex:c}=Vs("message"),{currentZIndex:d,nextZIndex:u}=c,f=e.ref(),p=e.ref(!1),g=e.ref(0);let m;const h=e.computed(()=>a.type?a.type==="error"?"danger":a.type:"info"),b=e.computed(()=>{const O=a.type;return{[i.bm("icon",O)]:O&&_r[O]}}),y=e.computed(()=>a.icon||_r[a.type]||""),k=e.computed(()=>a.placement||zl),C=e.computed(()=>hQ(a.id,k.value)),w=e.computed(()=>gQ(a.id,a.offset,k.value)+C.value),S=e.computed(()=>g.value+w.value),E=e.computed(()=>k.value.includes("left")?i.is("left"):k.value.includes("right")?i.is("right"):i.is("center")),v=e.computed(()=>k.value.startsWith("top")?"top":"bottom"),N=e.computed(()=>({[v.value]:`${w.value}px`,zIndex:d.value}));function P(){a.duration!==0&&({stop:m}=Oa(()=>{V()},a.duration))}function T(){m==null||m()}function V(){p.value=!1,e.nextTick(()=>{var O;s.value||((O=a.onClose)==null||O.call(a),l("destroy"))})}function x(O){ut(O)===te.esc&&V()}return e.onMounted(()=>{P(),u(),p.value=!0}),e.watch(()=>a.repeatNum,()=>{T(),P()}),nt(document,"keydown",x),yt(f,()=>{g.value=f.value.getBoundingClientRect().height}),n({visible:p,bottom:S,close:V}),(O,D)=>(e.openBlock(),e.createBlock(e.Transition,{name:e.unref(i).b("fade"),onBeforeEnter:D[0]||(D[0]=L=>s.value=!0),onBeforeLeave:t.onClose,onAfterLeave:D[1]||(D[1]=L=>O.$emit("destroy")),persisted:""},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",{id:t.id,ref_key:"messageRef",ref:f,class:e.normalizeClass([e.unref(i).b(),{[e.unref(i).m(t.type)]:t.type},e.unref(i).is("closable",t.showClose),e.unref(i).is("plain",t.plain),e.unref(i).is("bottom",v.value==="bottom"),E.value,t.customClass]),style:e.normalizeStyle(N.value),role:"alert",onMouseenter:T,onMouseleave:P},[t.repeatNum>1?(e.openBlock(),e.createBlock(e.unref(wm),{key:0,value:t.repeatNum,type:h.value,class:e.normalizeClass(e.unref(i).e("badge"))},null,8,["value","type","class"])):e.createCommentVNode("v-if",!0),y.value?(e.openBlock(),e.createBlock(e.unref(ce),{key:1,class:e.normalizeClass([e.unref(i).e("icon"),b.value])},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(y.value)))]),_:1},8,["class"])):e.createCommentVNode("v-if",!0),e.renderSlot(O.$slots,"default",{},()=>[t.dangerouslyUseHTMLString?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createCommentVNode(" Caution here, message could've been compromised, never use user's input as message "),e.createElementVNode("p",{class:e.normalizeClass(e.unref(i).e("content")),innerHTML:t.message},null,10,yQ)],2112)):(e.openBlock(),e.createElementBlock("p",{key:0,class:e.normalizeClass(e.unref(i).e("content"))},e.toDisplayString(t.message),3))]),t.showClose?(e.openBlock(),e.createBlock(e.unref(ce),{key:2,class:e.normalizeClass(e.unref(i).e("closeBtn")),onClick:e.withModifiers(V,["stop"])},{default:e.withCtx(()=>[e.createVNode(e.unref(r))]),_:1},8,["class"])):e.createCommentVNode("v-if",!0)],46,bQ),[[e.vShow,p.value]])]),_:3},8,["name","onBeforeLeave"]))}});let wQ=1;const kQ=t=>{if(!t.appendTo)t.appendTo=document.body;else if(ve(t.appendTo)){let o=document.querySelector(t.appendTo);In(o)||(o=document.body),t.appendTo=o}},SQ=t=>{!t.placement&&ve(dn.placement)&&dn.placement&&(t.placement=dn.placement),t.placement||(t.placement=zl),yg.includes(t.placement)||(t.placement=zl)},TT=t=>{const n=!t||ve(t)||e.isVNode(t)||Ae(t)?{message:t}:t,o={...hn,...n};return kQ(o),SQ(o),ct(dn.grouping)&&!o.grouping&&(o.grouping=dn.grouping),pe(dn.duration)&&o.duration===3e3&&(o.duration=dn.duration),pe(dn.offset)&&o.offset===16&&(o.offset=dn.offset),ct(dn.showClose)&&!o.showClose&&(o.showClose=dn.showClose),ct(dn.plain)&&!o.plain&&(o.plain=dn.plain),o},EQ=t=>{const n=t.props.placement||zl,o=Mo[n],r=o.indexOf(t);if(r===-1)return;o.splice(r,1);const{handler:a}=t;a.close()},vQ=({appendTo:t,...n},o)=>{const r=`message_${wQ++}`,a=n.onClose,l=document.createElement("div"),s={...n,id:r,onClose:()=>{a==null||a(),EQ(u)},onDestroy:()=>{e.render(null,l)}},i=e.createVNode(CQ,s,Ae(s.message)||e.isVNode(s.message)?{default:Ae(s.message)?s.message:()=>s.message}:null);i.appContext=o||Pa._context,e.render(i,l),t.appendChild(l.firstElementChild);const c=i.component,u={id:r,vnode:i,vm:c,handler:{close:()=>{c.exposed.close()}},props:i.component.props};return u},Pa=(t={},n)=>{if(!Je)return{close:()=>{}};const o=TT(t),r=mQ(o.placement||zl);if(o.grouping&&r.length){const l=r.find(({vnode:s})=>{var i;return((i=s.props)==null?void 0:i.message)===o.message});if(l)return l.props.repeatNum+=1,l.props.type=o.type,l.handler}if(pe(dn.max)&&r.length>=dn.max)return{close:()=>{}};const a=vQ(o,n);return r.push(a),a.handler};bg.forEach(t=>{Pa[t]=(n={},o)=>{const r=TT(n);return Pa({...r,type:t},o)}});function NQ(t){for(const n in Mo)if(Qt(Mo,n)){const o=[...Mo[n]];for(const r of o)(!t||t===r.props.type)&&r.handler.close()}}function BQ(t){if(!Mo[t])return;[...Mo[t]].forEach(o=>o.handler.close())}Pa.closeAll=NQ,Pa.closeAllByPlacement=BQ,Pa._context=null;const xT=PC(Pa,"$message");var TQ=e.defineComponent({name:"ElMessageBox",directives:{TrapFocus:H1},components:{ElButton:Gt,ElFocusTrap:hl,ElInput:un,ElOverlay:sd,ElIcon:ce,...yf},inheritAttrs:!1,props:{buttonSize:{type:String,validator:RC},modal:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},closeOnHashChange:{type:Boolean,default:!0},center:Boolean,draggable:Boolean,overflow:Boolean,roundButton:Boolean,container:{type:String,default:"body"},boxType:{type:String,default:""}},emits:["vanish","action"],setup(t,{emit:n}){const{locale:o,zIndex:r,ns:a,size:l}=Vs("message-box",e.computed(()=>t.buttonSize)),{t:s}=o,{nextZIndex:i}=r,c=e.ref(!1),d=e.reactive({autofocus:!0,beforeClose:null,callback:null,cancelButtonText:"",cancelButtonClass:"",confirmButtonText:"",confirmButtonClass:"",cancelButtonType:"",confirmButtonType:"primary",customClass:"",customStyle:{},dangerouslyUseHTMLString:!1,distinguishCancelAndClose:!1,icon:"",closeIcon:"",inputPattern:null,inputPlaceholder:"",inputType:"text",inputValue:"",inputValidator:void 0,inputErrorMessage:"",message:"",modalFade:!0,modalClass:"",showCancelButton:!1,showConfirmButton:!0,type:"",title:void 0,showInput:!1,action:"",confirmButtonLoading:!1,cancelButtonLoading:!1,confirmButtonLoadingIcon:e.markRaw(Uo),cancelButtonLoadingIcon:e.markRaw(Uo),confirmButtonDisabled:!1,editorErrorMessage:"",validateError:!1,zIndex:i()}),u=e.computed(()=>{const $=d.type;return{[a.bm("icon",$)]:$&&_r[$]}}),f=en(),p=en(),g=e.computed(()=>{const $=d.type;return d.icon||$&&_r[$]||""}),m=e.computed(()=>!!d.message),h=e.ref(),b=e.ref(),y=e.ref(),k=e.ref(),C=e.ref(),w=e.computed(()=>d.confirmButtonClass);e.watch(()=>d.inputValue,async $=>{await e.nextTick(),t.boxType==="prompt"&&$&&O()},{immediate:!0}),e.watch(()=>c.value,$=>{var B,M;$&&(t.boxType!=="prompt"&&(d.autofocus?y.value=(M=(B=C.value)==null?void 0:B.$el)!=null?M:h.value:y.value=h.value),d.zIndex=i()),t.boxType==="prompt"&&($?e.nextTick().then(()=>{var I;k.value&&k.value.$el&&(d.autofocus?y.value=(I=D())!=null?I:h.value:y.value=h.value)}):(d.editorErrorMessage="",d.validateError=!1))});const S=e.computed(()=>t.draggable),E=e.computed(()=>t.overflow),{isDragging:v}=kf(h,b,S,E);e.onMounted(async()=>{await e.nextTick(),t.closeOnHashChange&&window.addEventListener("hashchange",N)}),e.onBeforeUnmount(()=>{t.closeOnHashChange&&window.removeEventListener("hashchange",N)});function N(){c.value&&(c.value=!1,e.nextTick(()=>{d.action&&n("action",d.action)}))}const P=()=>{t.closeOnClickModal&&x(d.distinguishCancelAndClose?"close":"cancel")},T=dc(P),V=$=>{var B;if(d.inputType!=="textarea"&&!((B=k.value)!=null&&B.isComposing))return $.preventDefault(),x("confirm")},x=$=>{var B;t.boxType==="prompt"&&$==="confirm"&&!O()||(d.action=$,d.beforeClose?(B=d.beforeClose)==null||B.call(d,$,d,N):N())},O=()=>{if(t.boxType==="prompt"){const $=d.inputPattern;if($&&!$.test(d.inputValue||""))return d.editorErrorMessage=d.inputErrorMessage||s("el.messagebox.error"),d.validateError=!0,!1;const B=d.inputValidator;if(Ae(B)){const M=B(d.inputValue);if(M===!1)return d.editorErrorMessage=d.inputErrorMessage||s("el.messagebox.error"),d.validateError=!0,!1;if(ve(M))return d.editorErrorMessage=M,d.validateError=!0,!1}}return d.editorErrorMessage="",d.validateError=!1,!0},D=()=>{var $,B;const M=($=k.value)==null?void 0:$.$refs;return(B=M==null?void 0:M.input)!=null?B:M==null?void 0:M.textarea},L=()=>{x("close")},H=()=>{t.closeOnPressEscape&&L()};return t.lockScroll&&bs(c,{ns:a}),{...e.toRefs(d),ns:a,overlayEvent:T,visible:c,hasMessage:m,typeClass:u,contentId:f,inputId:p,btnSize:l,iconComponent:g,confirmButtonClasses:w,rootRef:h,focusStartRef:y,headerRef:b,inputRef:k,isDragging:v,confirmRef:C,doClose:N,handleClose:L,onCloseRequested:H,handleWrapperClick:P,handleInputEnter:V,handleAction:x,t:s}}});const xQ=["aria-label","aria-describedby"],$Q=["aria-label"],VQ=["id"];function PQ(t,n,o,r,a,l){const s=e.resolveComponent("el-icon"),i=e.resolveComponent("el-input"),c=e.resolveComponent("el-button"),d=e.resolveComponent("el-focus-trap"),u=e.resolveComponent("el-overlay");return e.openBlock(),e.createBlock(e.Transition,{name:"fade-in-linear",onAfterLeave:n[11]||(n[11]=f=>t.$emit("vanish")),persisted:""},{default:e.withCtx(()=>[e.withDirectives(e.createVNode(u,{"z-index":t.zIndex,"overlay-class":[t.ns.is("message-box"),t.modalClass],mask:t.modal},{default:e.withCtx(()=>[e.createElementVNode("div",{role:"dialog","aria-label":t.title,"aria-modal":"true","aria-describedby":t.showInput?void 0:t.contentId,class:e.normalizeClass(`${t.ns.namespace.value}-overlay-message-box`),onClick:n[8]||(n[8]=(...f)=>t.overlayEvent.onClick&&t.overlayEvent.onClick(...f)),onMousedown:n[9]||(n[9]=(...f)=>t.overlayEvent.onMousedown&&t.overlayEvent.onMousedown(...f)),onMouseup:n[10]||(n[10]=(...f)=>t.overlayEvent.onMouseup&&t.overlayEvent.onMouseup(...f))},[e.createVNode(d,{loop:"",trapped:t.visible,"focus-trap-el":t.rootRef,"focus-start-el":t.focusStartRef,onReleaseRequested:t.onCloseRequested},{default:e.withCtx(()=>[e.createElementVNode("div",{ref:"rootRef",class:e.normalizeClass([t.ns.b(),t.customClass,t.ns.is("draggable",t.draggable),t.ns.is("dragging",t.isDragging),{[t.ns.m("center")]:t.center}]),style:e.normalizeStyle(t.customStyle),tabindex:"-1",onClick:n[7]||(n[7]=e.withModifiers(()=>{},["stop"]))},[t.title!==null&&t.title!==void 0?(e.openBlock(),e.createElementBlock("div",{key:0,ref:"headerRef",class:e.normalizeClass([t.ns.e("header"),{"show-close":t.showClose}])},[e.createElementVNode("div",{class:e.normalizeClass(t.ns.e("title"))},[t.iconComponent&&t.center?(e.openBlock(),e.createBlock(s,{key:0,class:e.normalizeClass([t.ns.e("status"),t.typeClass])},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.iconComponent)))]),_:1},8,["class"])):e.createCommentVNode("v-if",!0),e.createElementVNode("span",null,e.toDisplayString(t.title),1)],2),t.showClose?(e.openBlock(),e.createElementBlock("button",{key:0,type:"button",class:e.normalizeClass(t.ns.e("headerbtn")),"aria-label":t.t("el.messagebox.close"),onClick:n[0]||(n[0]=f=>t.handleAction(t.distinguishCancelAndClose?"close":"cancel")),onKeydown:n[1]||(n[1]=e.withKeys(e.withModifiers(f=>t.handleAction(t.distinguishCancelAndClose?"close":"cancel"),["prevent"]),["enter"]))},[e.createVNode(s,{class:e.normalizeClass(t.ns.e("close"))},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.closeIcon||"close")))]),_:1},8,["class"])],42,$Q)):e.createCommentVNode("v-if",!0)],2)):e.createCommentVNode("v-if",!0),e.createElementVNode("div",{id:t.contentId,class:e.normalizeClass(t.ns.e("content"))},[e.createElementVNode("div",{class:e.normalizeClass(t.ns.e("container"))},[t.iconComponent&&!t.center&&t.hasMessage?(e.openBlock(),e.createBlock(s,{key:0,class:e.normalizeClass([t.ns.e("status"),t.typeClass])},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.iconComponent)))]),_:1},8,["class"])):e.createCommentVNode("v-if",!0),t.hasMessage?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(t.ns.e("message"))},[e.renderSlot(t.$slots,"default",{},()=>[t.dangerouslyUseHTMLString?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.showInput?"label":"p"),{key:1,for:t.showInput?t.inputId:void 0,innerHTML:t.message},null,8,["for","innerHTML"])):(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.showInput?"label":"p"),{key:0,for:t.showInput?t.inputId:void 0,textContent:e.toDisplayString(t.message)},null,8,["for","textContent"]))])],2)):e.createCommentVNode("v-if",!0)],2),e.withDirectives(e.createElementVNode("div",{class:e.normalizeClass(t.ns.e("input"))},[e.createVNode(i,{id:t.inputId,ref:"inputRef",modelValue:t.inputValue,"onUpdate:modelValue":n[2]||(n[2]=f=>t.inputValue=f),type:t.inputType,placeholder:t.inputPlaceholder,"aria-invalid":t.validateError,class:e.normalizeClass({invalid:t.validateError}),onKeydown:e.withKeys(t.handleInputEnter,["enter"])},null,8,["id","modelValue","type","placeholder","aria-invalid","class","onKeydown"]),e.createElementVNode("div",{class:e.normalizeClass(t.ns.e("errormsg")),style:e.normalizeStyle({visibility:t.editorErrorMessage?"visible":"hidden"})},e.toDisplayString(t.editorErrorMessage),7)],2),[[e.vShow,t.showInput]])],10,VQ),e.createElementVNode("div",{class:e.normalizeClass(t.ns.e("btns"))},[t.showCancelButton?(e.openBlock(),e.createBlock(c,{key:0,type:t.cancelButtonType==="text"?"":t.cancelButtonType,text:t.cancelButtonType==="text",loading:t.cancelButtonLoading,"loading-icon":t.cancelButtonLoadingIcon,class:e.normalizeClass([t.cancelButtonClass]),round:t.roundButton,size:t.btnSize,onClick:n[3]||(n[3]=f=>t.handleAction("cancel")),onKeydown:n[4]||(n[4]=e.withKeys(e.withModifiers(f=>t.handleAction("cancel"),["prevent"]),["enter"]))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.cancelButtonText||t.t("el.messagebox.cancel")),1)]),_:1},8,["type","text","loading","loading-icon","class","round","size"])):e.createCommentVNode("v-if",!0),e.withDirectives(e.createVNode(c,{ref:"confirmRef",type:t.confirmButtonType==="text"?"":t.confirmButtonType,text:t.confirmButtonType==="text",loading:t.confirmButtonLoading,"loading-icon":t.confirmButtonLoadingIcon,class:e.normalizeClass([t.confirmButtonClasses]),round:t.roundButton,disabled:t.confirmButtonDisabled,size:t.btnSize,onClick:n[5]||(n[5]=f=>t.handleAction("confirm")),onKeydown:n[6]||(n[6]=e.withKeys(e.withModifiers(f=>t.handleAction("confirm"),["prevent"]),["enter"]))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.confirmButtonText||t.t("el.messagebox.confirm")),1)]),_:1},8,["type","text","loading","loading-icon","class","round","disabled","size"]),[[e.vShow,t.showConfirmButton]])],2)],6)]),_:3},8,["trapped","focus-trap-el","focus-start-el","onReleaseRequested"])],42,xQ)]),_:3},8,["z-index","overlay-class","mask"]),[[e.vShow,t.visible]])]),_:3})}var RQ=Ut(TQ,[["render",PQ]]);const ci=new Map,MQ=t=>{let n=document.body;return t.appendTo&&(ve(t.appendTo)&&(n=document.querySelector(t.appendTo)),In(t.appendTo)&&(n=t.appendTo),In(n)||(n=document.body)),n},IQ=(t,n,o=null)=>{const r=e.createVNode(RQ,t,Ae(t.message)||e.isVNode(t.message)?{default:Ae(t.message)?t.message:()=>t.message}:null);return r.appContext=o,e.render(r,n),MQ(t).appendChild(n.firstElementChild),r.component},OQ=()=>document.createElement("div"),AQ=(t,n)=>{const o=OQ();t.onVanish=()=>{e.render(null,o),ci.delete(a)},t.onAction=l=>{const s=ci.get(a);let i;t.showInput?i={value:a.inputValue,action:l}:i=l,t.callback?t.callback(i,r.proxy):l==="cancel"||l==="close"?t.distinguishCancelAndClose&&l!=="cancel"?s.reject("close"):s.reject("cancel"):s.resolve(i)};const r=IQ(t,o,n),a=r.proxy;for(const l in t)Qt(t,l)&&!Qt(a.$props,l)&&(l==="closeIcon"&&tt(t[l])?a[l]=e.markRaw(t[l]):a[l]=t[l]);return a.visible=!0,a};function Dl(t,n=null){if(!Je)return Promise.reject();let o;return ve(t)||e.isVNode(t)?t={message:t}:o=t.callback,new Promise((r,a)=>{const l=AQ(t,n!=null?n:Dl._context);ci.set(l,{options:t,callback:o,resolve:r,reject:a})})}const zQ=["alert","confirm","prompt"],DQ={alert:{closeOnPressEscape:!1,closeOnClickModal:!1},confirm:{showCancelButton:!0},prompt:{showCancelButton:!0,showInput:!0}};zQ.forEach(t=>{Dl[t]=LQ(t)});function LQ(t){return(n,o,r,a)=>{let l="";return tt(o)?(r=o,l=""):Xe(o)?l="":l=o,Dl(Object.assign({title:l,message:n,type:"",...DQ[t]},r,{boxType:t}),a)}}Dl.close=()=>{ci.forEach((t,n)=>{n.doClose()}),ci.clear()},Dl._context=null;const ta=Dl;ta.install=t=>{ta._context=t._context,t.config.globalProperties.$msgbox=ta,t.config.globalProperties.$messageBox=ta,t.config.globalProperties.$alert=ta.alert,t.config.globalProperties.$confirm=ta.confirm,t.config.globalProperties.$prompt=ta.prompt};const $T=ta,Cg=["primary","success","info","warning","error"],VT=oe({customClass:{type:String,default:""},dangerouslyUseHTMLString:Boolean,duration:{type:Number,default:4500},icon:{type:dt},id:{type:String,default:""},message:{type:K([String,Object,Function]),default:""},offset:{type:Number,default:0},onClick:{type:K(Function),default:()=>{}},onClose:{type:K(Function),required:!0},position:{type:String,values:["top-right","top-left","bottom-right","bottom-left"],default:"top-right"},showClose:{type:Boolean,default:!0},title:{type:String,default:""},type:{type:String,values:[...Cg,""],default:""},zIndex:Number,closeIcon:{type:dt,default:so}}),PT={destroy:()=>!0},_Q=["id"],FQ=["textContent"],HQ={key:0},KQ=["innerHTML"];var WQ=e.defineComponent({name:"ElNotification",__name:"notification",props:VT,emits:PT,setup(t,{expose:n}){const o=t,{ns:r,zIndex:a}=Vs("notification"),{nextZIndex:l,currentZIndex:s}=a,i=e.ref(!1);let c;const d=e.computed(()=>{const k=o.type;return k&&_r[o.type]?r.m(k):""}),u=e.computed(()=>o.type&&_r[o.type]||o.icon),f=e.computed(()=>o.position.endsWith("right")?"right":"left"),p=e.computed(()=>o.position.startsWith("top")?"top":"bottom"),g=e.computed(()=>{var k;return{[p.value]:`${o.offset}px`,zIndex:(k=o.zIndex)!=null?k:s.value}});function m(){o.duration>0&&({stop:c}=Oa(()=>{i.value&&b()},o.duration))}function h(){c==null||c()}function b(){i.value=!1}function y(k){switch(ut(k)){case te.delete:case te.backspace:h();break;case te.esc:i.value&&b();break;default:m();break}}return e.onMounted(()=>{m(),l(),i.value=!0}),nt(document,"keydown",y),n({visible:i,close:b}),(k,C)=>(e.openBlock(),e.createBlock(e.Transition,{name:e.unref(r).b("fade"),onBeforeLeave:t.onClose,onAfterLeave:C[1]||(C[1]=w=>k.$emit("destroy")),persisted:""},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",{id:t.id,class:e.normalizeClass([e.unref(r).b(),t.customClass,f.value]),style:e.normalizeStyle(g.value),role:"alert",onMouseenter:h,onMouseleave:m,onClick:C[0]||(C[0]=(...w)=>t.onClick&&t.onClick(...w))},[u.value?(e.openBlock(),e.createBlock(e.unref(ce),{key:0,class:e.normalizeClass([e.unref(r).e("icon"),d.value])},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(u.value)))]),_:1},8,["class"])):e.createCommentVNode("v-if",!0),e.createElementVNode("div",{class:e.normalizeClass(e.unref(r).e("group"))},[e.createElementVNode("h2",{class:e.normalizeClass(e.unref(r).e("title")),textContent:e.toDisplayString(t.title)},null,10,FQ),e.withDirectives(e.createElementVNode("div",{class:e.normalizeClass(e.unref(r).e("content")),style:e.normalizeStyle(t.title?void 0:{margin:0})},[e.renderSlot(k.$slots,"default",{},()=>[t.dangerouslyUseHTMLString?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createCommentVNode(" Caution here, message could've been compromised, never use user's input as message "),e.createElementVNode("p",{innerHTML:t.message},null,8,KQ)],2112)):(e.openBlock(),e.createElementBlock("p",HQ,e.toDisplayString(t.message),1))])],6),[[e.vShow,t.message]]),t.showClose?(e.openBlock(),e.createBlock(e.unref(ce),{key:0,class:e.normalizeClass(e.unref(r).e("closeBtn")),onClick:e.withModifiers(b,["stop"])},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.closeIcon)))]),_:1},8,["class"])):e.createCommentVNode("v-if",!0)],2)],46,_Q),[[e.vShow,i.value]])]),_:3},8,["name","onBeforeLeave"]))}});const Ll={"top-left":[],"top-right":[],"bottom-left":[],"bottom-right":[]},Id=16;let jQ=1;const Ra=function(t={},n){if(!Je)return{close:()=>{}};(ve(t)||e.isVNode(t))&&(t={message:t});const o=t.position||"top-right";let r=t.offset||0;Ll[o].forEach(({vm:u})=>{var f;r+=(((f=u.el)==null?void 0:f.offsetHeight)||0)+Id}),r+=Id;const a=`notification_${jQ++}`,l=t.onClose,s={...t,offset:r,id:a,onClose:()=>{UQ(a,o,l)}};let i=document.body;In(t.appendTo)?i=t.appendTo:ve(t.appendTo)&&(i=document.querySelector(t.appendTo)),In(i)||(i=document.body);const c=document.createElement("div"),d=e.createVNode(WQ,s,Ae(s.message)?s.message:e.isVNode(s.message)?()=>s.message:null);return d.appContext=Xe(n)?Ra._context:n,d.props.onDestroy=()=>{e.render(null,c)},e.render(d,c),Ll[o].push({vm:d}),i.appendChild(c.firstElementChild),{close:()=>{d.component.exposed.visible.value=!1}}};Cg.forEach(t=>{Ra[t]=(n={},o)=>((ve(n)||e.isVNode(n))&&(n={message:n}),Ra({...n,type:t},o))});function UQ(t,n,o){const r=Ll[n],a=r.findIndex(({vm:d})=>{var u;return((u=d.component)==null?void 0:u.props.id)===t});if(a===-1)return;const{vm:l}=r[a];if(!l)return;o==null||o(l);const s=l.el.offsetHeight,i=n.split("-")[0];r.splice(a,1);const c=r.length;if(!(c<1))for(let d=a;d{n.component.exposed.visible.value=!1})}function GQ(t="top-right"){var n,o,r,a;let l=((r=(o=(n=Ll[t][0])==null?void 0:n.vm.component)==null?void 0:o.props)==null?void 0:r.offset)||0;for(const{vm:s}of Ll[t])s.component.props.offset=l,l+=(((a=s.el)==null?void 0:a.offsetHeight)||0)+Id}Ra.closeAll=YQ,Ra.updateOffsets=GQ,Ra._context=null;const RT=PC(Ra,"$notify");var qQ=[kT,vT,xT,$T,RT,eh],wg=Qw([...aQ,...qQ]);const XQ=wg.install,ZQ=wg.version;R.BAR_MAP=ym,R.BORDER_HORIZONTAL_WIDTH=Hd,R.CAROUSEL_ITEM_NAME=Xc,R.CASCADER_PANEL_INJECTION_KEY=Hs,R.CHANGE_EVENT=_e,R.ClickOutside=Sr,R.CommonPicker=Lm,R.CommonProps=op,R.DEFAULT_DIALOG_TRANSITION=Lp,R.DEFAULT_EMPTY_VALUES=Gw,R.DEFAULT_FORMATS_DATE=wr,R.DEFAULT_FORMATS_DATEPICKER=M1,R.DEFAULT_FORMATS_TIME=wa,R.DEFAULT_VALUE_ON_CLEAR=qw,R.DROPDOWN_INJECTION_KEY=Xs,R.DROPDOWN_INSTANCE_INJECTION_KEY=Wp,R.DefaultProps=wS,R.DynamicSizeGrid=xN,R.DynamicSizeList=yN,R.EVENT_CODE=te,R.Effect=w5,R.ElAffix=ok,R.ElAlert=ik,R.ElAnchor=nT,R.ElAnchorLink=oT,R.ElAside=SE,R.ElAutoResizer=L2,R.ElAutocomplete=o1,R.ElAvatar=c1,R.ElAvatarGroup=d1,R.ElBacktop=p1,R.ElBadge=wm,R.ElBreadcrumb=C1,R.ElBreadcrumbItem=w1,R.ElButton=Gt,R.ElButtonGroup=Tm,R.ElCalendar=dS,R.ElCard=fS,R.ElCarousel=yS,R.ElCarouselItem=CS,R.ElCascader=jS,R.ElCascaderPanel=gp,R.ElCheckTag=GS,R.ElCheckbox=ho,R.ElCheckboxButton=VS,R.ElCheckboxGroup=Zc,R.ElCol=eE,R.ElCollapse=aE,R.ElCollapseItem=lE,R.ElCollapseTransition=Ks,R.ElColorPicker=gE,R.ElColorPickerPanel=Tp,R.ElConfigProvider=Jw,R.ElContainer=kE,R.ElCountdown=qN,R.ElDatePicker=OE,R.ElDatePickerPanel=Ip,R.ElDescriptions=_E,R.ElDescriptionsItem=FE,R.ElDialog=jE,R.ElDivider=Fp,R.ElDrawer=qE,R.ElDropdown=iv,R.ElDropdownItem=cv,R.ElDropdownMenu=dv,R.ElEmpty=jp,R.ElFooter=EE,R.ElForm=Lk,R.ElFormItem=_k,R.ElHeader=vE,R.ElIcon=ce,R.ElImage=gv,R.ElImageViewer=Up,R.ElInfiniteScroll=kT,R.ElInput=un,R.ElInputNumber=Yp,R.ElInputTag=kv,R.ElLink=vv,R.ElLoading=vT,R.ElLoadingDirective=Va,R.ElLoadingService=xa,R.ElMain=NE,R.ElMention=cT,R.ElMenu=zv,R.ElMenuItem=Dv,R.ElMenuItemGroup=Lv,R.ElMessage=xT,R.ElMessageBox=$T,R.ElNotification=RT,R.ElOption=Fs,R.ElOptionGroup=cS,R.ElOverlay=sd,R.ElPageHeader=Kv,R.ElPagination=Yv,R.ElPopconfirm=Xv,R.ElPopover=eN,R.ElPopoverDirective=eh,R.ElPopper=hm,R.ElPopperArrow=ck,R.ElPopperContent=Fk,R.ElPopperTrigger=mk,R.ElProgress=th,R.ElRadio=fp,R.ElRadioButton=LS,R.ElRadioGroup=DS,R.ElRate=rN,R.ElResult=lN,R.ElRow=QS,R.ElScrollbar=mo,R.ElSegmented=lT,R.ElSelect=Er,R.ElSelectV2=$N,R.ElSkeleton=RN,R.ElSkeletonItem=MN,R.ElSlider=zN,R.ElSpace=KN,R.ElSplitter=yT,R.ElSplitterPanel=CT,R.ElStatistic=Ch,R.ElStep=t2,R.ElSteps=e2,R.ElSubMenu=_v,R.ElSwitch=a2,R.ElTabPane=Z2,R.ElTable=k2,R.ElTableColumn=S2,R.ElTableV2=D2,R.ElTabs=X2,R.ElTag=tr,R.ElText=Sd,R.ElTimePicker=oS,R.ElTimeSelect=tB,R.ElTimeline=aB,R.ElTimelineItem=lB,R.ElTooltip=Jt,R.ElTour=XB,R.ElTourStep=ZB,R.ElTransfer=cB,R.ElTree=Bd,R.ElTreeSelect=hB,R.ElTreeV2=NB,R.ElUpload=LB,R.ElWatermark=FB,R.FIRST_KEYS=ov,R.FIRST_LAST_KEYS=sU,R.FORWARD_REF_INJECTION_KEY=zf,R.FixedSizeGrid=wN,R.FixedSizeList=hh,R.GAP=ya,R.ID_INJECTION_KEY=bw,R.INPUT_EVENT=Dt,R.INSTALLED_KEY=_d,R.IconComponentMap=nh,R.IconMap=Xr,R.LAST_KEYS=rv,R.LEFT_CHECK_CHANGE_EVENT=Kh,R.MENU_INJECTION_KEY=id,R.MESSAGE_DEFAULT_PLACEMENT=zl,R.MINIMUM_INPUT_WIDTH=Kl,R.Mousewheel=nS,R.NODE_INSTANCE_INJECTION_KEY=Xh,R.PICKER_BASE_INJECTION_KEY=po,R.PICKER_POPPER_OPTIONS_INJECTION_KEY=_c,R.POPPER_CONTENT_INJECTION_KEY=nm,R.POPPER_INJECTION_KEY=Ec,R.RIGHT_CHECK_CHANGE_EVENT=Wh,R.ROOT_COMMON_COLOR_INJECTION_KEY=kp,R.ROOT_COMMON_PICKER_INJECTION_KEY=Vm,R.ROOT_PICKER_INJECTION_KEY=ed,R.ROOT_PICKER_IS_DEFAULT_FORMAT_INJECTION_KEY=kl,R.ROOT_TREE_INJECTION_KEY=Nd,R.RowAlign=ZS,R.RowJustify=XS,R.SCOPE=f5,R.SIZE_INJECTION_KEY=Zf,R.STEPS_INJECTION_KEY=wh,R.SUB_MENU_INJECTION_KEY=Zs,R.TIMELINE_INJECTION_KEY=Hh,R.TOOLTIP_INJECTION_KEY=Ic,R.TREE_NODE_MAP_INJECTION_KEY=Zh,R.TableV2=A2,R.TableV2Alignment=Rl,R.TableV2FixedDir=Vh,R.TableV2Placeholder=Ml,R.TableV2SortOrder=Jr,R.TimePickPanel=Ds,R.TrapFocus=H1,R.UPDATE_MODEL_EVENT=Ne,R.WEEK_DAYS=mi,R.ZINDEX_INJECTION_KEY=Lf,R.affixEmits=tk,R.affixProps=ek,R.alertEffects=rk,R.alertEmits=lk,R.alertProps=ak,R.anchorEmits=QB,R.anchorProps=JB,R.ariaProps=Xw,R.arrowMiddleware=c5,R.autoResizerProps=z2,R.autocompleteEmits=Zk,R.autocompleteProps=Xk,R.avatarEmits=a1,R.avatarGroupContextKey=Cm,R.avatarGroupProps=s1,R.avatarProps=r1,R.backtopEmits=f1,R.backtopProps=u1,R.badgeProps=h1,R.breadcrumbItemProps=b1,R.breadcrumbKey=km,R.breadcrumbProps=g1,R.buildLocaleContext=zC,R.buildTimeList=Fc,R.buildTranslator=OC,R.buttonEmits=S1,R.buttonGroupContextKey=Sm,R.buttonNativeTypes=k1,R.buttonProps=zc,R.buttonTypes=Ac,R.calendarEmits=V1,R.calendarProps=$1,R.cardContextKey=$W,R.cardProps=uS,R.carouselContextKey=np,R.carouselEmits=pS,R.carouselItemProps=gS,R.carouselProps=mS,R.cascaderEmits=WS,R.cascaderPanelEmits=ES,R.cascaderPanelProps=kS,R.cascaderProps=HS,R.checkTagEmits=YS,R.checkTagProps=US,R.checkboxDefaultProps=sp,R.checkboxEmits=ap,R.checkboxGroupContextKey=Ea,R.checkboxGroupEmits=xS,R.checkboxGroupProps=TS,R.checkboxProps=rp,R.checkboxPropsDefaults=_W,R.colProps=qS,R.collapseContextKey=Cp,R.collapseEmits=nE,R.collapseItemProps=oE,R.collapseProps=tE,R.colorPickerEmits=hE,R.colorPickerPanelContextKey=Sp,R.colorPickerPanelEmits=sE,R.colorPickerPanelProps=wp,R.colorPickerProps=pE,R.colorPickerPropsDefaults=U9,R.columnAlignment=Fd,R.componentSizeMap=OT,R.componentSizes=Jn,R.configProviderContextKey=em,R.configProviderProps=Zw,R.countdownEmits=UN,R.countdownProps=jN,R.createModelToggleComposable=vf,R.dateEquals=Mm,R.datePickTypes=Pg,R.datePickerPanelProps=RE,R.datePickerProps=IE,R.dayOrDaysToDate=As,R.dayjs=Pe,R.default=wg,R.defaultInitialZIndex=Df,R.defaultNamespace=Qa,R.defaultProps=ig,R.descriptionItemProps=DE,R.descriptionProps=AE,R.dialogContextKey=C7,R.dialogEmits=zp,R.dialogInjectionKey=Dp,R.dialogProps=Ap,R.dialogPropsDefaults=w7,R.dividerProps=UE,R.drawerEmits=GE,R.drawerProps=YE,R.dropdownItemProps=Kp,R.dropdownMenuProps=nv,R.dropdownProps=qs,R.elPaginationKey=Jp,R.emitChangeFn=yp,R.emptyProps=uv,R.emptyValuesContextKey=Qf,R.extractDateFormat=Pm,R.extractTimeFormat=Rm,R.formContextKey=Ur,R.formEmits=xk,R.formItemContextKey=$o,R.formItemProps=Vk,R.formItemValidateStates=$k,R.formMetaProps=Bk,R.formProps=Tk,R.formatter=Am,R.genFileId=Vd,R.getPositionDataWithUnit=s5,R.iconProps=sk,R.imageEmits=mv,R.imageProps=fv,R.imageViewerEmits=hv,R.imageViewerProps=pv,R.inputEmits=Yk,R.inputNumberEmits=yv,R.inputNumberProps=bv,R.inputProps=yl,R.inputPropsDefaults=LH,R.inputTagEmits=wv,R.inputTagProps=Cv,R.install=XQ,R.linkEmits=Ev,R.linkProps=Sv,R.localeContextKey=Sf,R.makeInstaller=Qw,R.makeList=Hc,R.mentionDefaultProps=cg,R.mentionEmits=iT,R.mentionProps=sT,R.menuEmits=Vv,R.menuItemEmits=Mv,R.menuItemGroupProps=Ov,R.menuItemProps=Rv,R.menuProps=$v,R.messageConfig=dn,R.messageDefaults=hn,R.messageEmits=BT,R.messagePlacement=yg,R.messageProps=NT,R.messageTypes=bg,R.namespaceContextKey=Ef,R.notificationEmits=PT,R.notificationProps=VT,R.notificationTypes=Cg,R.overlayEmits=WE,R.overlayProps=KE,R.pageHeaderEmits=Hv,R.pageHeaderProps=Fv,R.paginationEmits=jv,R.paginationProps=Wv,R.parseDate=Om,R.popconfirmEmits=qv,R.popconfirmProps=Gv,R.popoverEmits=Jv,R.popoverProps=Zv,R.popoverPropsDefaults=XY,R.popperArrowProps=Nc,R.popperArrowPropsDefaults=pk,R.popperContentEmits=rm,R.popperContentProps=Bc,R.popperContentPropsDefaults=gk,R.popperCoreConfigProps=om,R.popperCoreConfigPropsDefaults=hk,R.popperProps=Sc,R.popperTriggerProps=vc,R.progressProps=tN,R.provideGlobalConfig=kc,R.radioButtonProps=IS,R.radioButtonPropsDefaults=qW,R.radioDefaultProps=Jc,R.radioEmits=cp,R.radioGroupEmits=AS,R.radioGroupKey=dp,R.radioGroupProps=OS,R.radioGroupPropsDefaults=ZW,R.radioProps=PS,R.radioPropsBase=ip,R.radioPropsDefaults=YW,R.rangeArr=kr,R.rateEmits=oN,R.rateProps=nN,R.renderThumbStyle=Qk,R.resultProps=aN,R.roleTypes=tm,R.rowContextKey=bp,R.rowProps=JS,R.scrollbarContextKey=Oc,R.scrollbarEmits=bm,R.scrollbarProps=Jk,R.segmentedEmits=aT,R.segmentedProps=rT,R.selectEmits=gW,R.selectGroupKey=Zm,R.selectKey=wl,R.selectProps=ep,R.selectV2InjectionKey=gd,R.skeletonItemProps=PN,R.skeletonProps=VN,R.sliderContextKey=bh,R.sliderEmits=ON,R.sliderProps=IN,R.spaceItemProps=DN,R.spaceProps=HN,R.splitterEmits=uT,R.splitterPanelEmits=pT,R.splitterPanelProps=mT,R.splitterProps=dT,R.statisticProps=WN,R.stepProps=JN,R.stepsEmits=ZN,R.stepsProps=XN,R.subMenuProps=xv,R.switchEmits=o2,R.switchProps=n2,R.tabBarProps=_2,R.tabNavEmits=K2,R.tabNavProps=H2,R.tabPaneProps=Y2,R.tableV2Props=V2,R.tableV2RowProps=ea,R.tabsEmits=U2,R.tabsProps=j2,R.tabsRootContextKey=ri,R.tagEmits=sS,R.tagProps=er,R.textProps=J2,R.thumbProps=e1,R.timePickerDefaultProps=Kc,R.timePickerRangeTriggerProps=Dm,R.timePickerRngeTriggerProps=vK,R.timeSelectProps=Q2,R.timeUnits=$m,R.timelineItemProps=oB,R.timelineProps=nB,R.tooltipEmits=Uk,R.tourContentEmits=WB,R.tourContentProps=Pd,R.tourEmits=UB,R.tourPlacements=KB,R.tourProps=jB,R.tourStepEmits=GB,R.tourStepProps=YB,R.tourStrategies=HB,R.transferCheckedChangeFn=Ed,R.transferEmits=sB,R.transferProps=Ta,R.translate=AC,R.treeEmits=pB,R.treeProps=Jh,R.uploadBaseProps=rg,R.uploadBasePropsDefaults=ag,R.uploadContentProps=RB,R.uploadContentPropsDefaults=mJ,R.uploadContextKey=lg,R.uploadDraggerEmits=IB,R.uploadDraggerProps=MB,R.uploadListEmits=VB,R.uploadListProps=$B,R.uploadListTypes=og,R.uploadProps=xB,R.uploadPropsDefaults=lJ,R.useAriaProps=cn,R.useAttrs=gs,R.useCalcInputWidth=rc,R.useCascaderConfig=vS,R.useComposition=fl,R.useCursor=Yw,R.useDelayedRender=u6,R.useDelayedToggle=Ew,R.useDelayedToggleProps=kw,R.useDelayedTogglePropsDefaults=Sw,R.useDeprecated=No,R.useDialog=_p,R.useDisabled=F5,R.useDraggable=kf,R.useEmptyValues=ml,R.useEmptyValuesProps=Wr,R.useEscapeKeydown=Cw,R.useFloating=i5,R.useFloatingProps=a5,R.useFocus=UF,R.useFocusController=Qo,R.useFormDisabled=kt,R.useFormItem=Zt,R.useFormItemInputId=Dn,R.useFormSize=zt,R.useForwardRef=vw,R.useForwardRefDirective=Nw,R.useGetDerivedNamespace=ac,R.useGlobalComponentSettings=Vs,R.useGlobalConfig=ga,R.useGlobalSize=Jf,R.useId=en,R.useIdInjection=uc,R.useLocale=je,R.useLockscreen=bs,R.useModal=XF,R.useModelToggle=QF,R.useModelToggleEmits=t8,R.useModelToggleProps=e8,R.useNamespace=ee,R.useOrderedChildren=$s,R.usePopper=rw,R.usePopperArrowProps=v5,R.usePopperContainer=ww,R.usePopperContainerId=Af,R.usePopperContentEmits=x5,R.usePopperContentProps=T5,R.usePopperCoreConfigProps=B5,R.usePopperProps=k5,R.usePopperTriggerProps=E5,R.usePreventGlobal=n8,R.useProp=Nf,R.useSameTarget=dc,R.useSize=_5,R.useSizeProp=Ht,R.useSizeProps=u5,R.useSpace=FN,R.useTeleport=l6,R.useThrottleRender=aw,R.useTimeout=Of,R.useTooltipContentProps=lt,R.useTooltipContentPropsDefaults=RH,R.useTooltipModelToggle=Wk,R.useTooltipModelToggleEmits=Kk,R.useTooltipModelToggleProps=Hk,R.useTooltipProps=jk,R.useTooltipTriggerProps=Vo,R.useTooltipTriggerPropsDefaults=MH,R.useTransitionFallthrough=c6,R.useTransitionFallthroughEmits=i6,R.useZIndex=sl,R.vLoading=Va,R.vRepeatClick=zs,R.valueEquals=Im,R.version=ZQ,R.virtualizedGridProps=Zr,R.virtualizedListProps=uh,R.virtualizedProps=dh,R.virtualizedScrollbarProps=mh,R.watermarkProps=_B,R.zIndexContextKey=_f,Object.defineProperty(R,"__esModule",{value:!0})})); +//# sourceMappingURL=index.full.min.js.map diff --git a/www/static/lib/element-plus/locale/zh-cn.min.js b/www/static/lib/element-plus/locale/zh-cn.min.js new file mode 100644 index 0000000..ba43a1e --- /dev/null +++ b/www/static/lib/element-plus/locale/zh-cn.min.js @@ -0,0 +1,2 @@ +/*! Element Plus v2.13.2 */(function(u,e){typeof exports=="object"&&typeof module!="undefined"?module.exports=e():typeof define=="function"&&define.amd?define(e):(u=typeof globalThis!="undefined"?globalThis:u||self,u.ElementPlusLocaleZhCn=e())})(this,(function(){"use strict";var u={name:"zh-cn",el:{breadcrumb:{label:"\u9762\u5305\u5C51"},colorpicker:{confirm:"\u786E\u5B9A",clear:"\u6E05\u7A7A",defaultLabel:"\u989C\u8272\u9009\u62E9\u5668",description:"\u5F53\u524D\u989C\u8272 {color}\uFF0C\u6309 Enter \u952E\u9009\u62E9\u65B0\u989C\u8272",alphaLabel:"\u9009\u62E9\u900F\u660E\u5EA6\u7684\u503C",alphaDescription:"\u900F\u660E\u5EA6 {alpha}, \u5F53\u524D\u989C\u8272 {color}",hueLabel:"\u9009\u62E9\u8272\u76F8\u503C",hueDescription:"\u8272\u76F8 {hue}, \u5F53\u524D\u989C\u8272 {color}",svLabel:"\u9009\u62E9\u9971\u548C\u5EA6\u4E0E\u660E\u5EA6\u7684\u503C",svDescription:"\u9971\u548C\u5EA6 {saturation}, \u660E\u5EA6 {brightness}, \u5F53\u524D\u989C\u8272 {color}",predefineDescription:"\u9009\u62E9 {value} \u4F5C\u4E3A\u989C\u8272"},datepicker:{now:"\u6B64\u523B",today:"\u4ECA\u5929",cancel:"\u53D6\u6D88",clear:"\u6E05\u7A7A",confirm:"\u786E\u5B9A",dateTablePrompt:"\u4F7F\u7528\u65B9\u5411\u952E\u4E0E Enter \u952E\u53EF\u9009\u62E9\u65E5\u671F",monthTablePrompt:"\u4F7F\u7528\u65B9\u5411\u952E\u4E0E Enter \u952E\u53EF\u9009\u62E9\u6708\u4EFD",yearTablePrompt:"\u4F7F\u7528\u65B9\u5411\u952E\u4E0E Enter \u952E\u53EF\u9009\u62E9\u5E74\u4EFD",selectedDate:"\u5DF2\u9009\u65E5\u671F",selectDate:"\u9009\u62E9\u65E5\u671F",selectTime:"\u9009\u62E9\u65F6\u95F4",startDate:"\u5F00\u59CB\u65E5\u671F",startTime:"\u5F00\u59CB\u65F6\u95F4",endDate:"\u7ED3\u675F\u65E5\u671F",endTime:"\u7ED3\u675F\u65F6\u95F4",prevYear:"\u524D\u4E00\u5E74",nextYear:"\u540E\u4E00\u5E74",prevMonth:"\u4E0A\u4E2A\u6708",nextMonth:"\u4E0B\u4E2A\u6708",year:"\u5E74",month1:"1 \u6708",month2:"2 \u6708",month3:"3 \u6708",month4:"4 \u6708",month5:"5 \u6708",month6:"6 \u6708",month7:"7 \u6708",month8:"8 \u6708",month9:"9 \u6708",month10:"10 \u6708",month11:"11 \u6708",month12:"12 \u6708",weeks:{sun:"\u65E5",mon:"\u4E00",tue:"\u4E8C",wed:"\u4E09",thu:"\u56DB",fri:"\u4E94",sat:"\u516D"},weeksFull:{sun:"\u661F\u671F\u65E5",mon:"\u661F\u671F\u4E00",tue:"\u661F\u671F\u4E8C",wed:"\u661F\u671F\u4E09",thu:"\u661F\u671F\u56DB",fri:"\u661F\u671F\u4E94",sat:"\u661F\u671F\u516D"},months:{jan:"\u4E00\u6708",feb:"\u4E8C\u6708",mar:"\u4E09\u6708",apr:"\u56DB\u6708",may:"\u4E94\u6708",jun:"\u516D\u6708",jul:"\u4E03\u6708",aug:"\u516B\u6708",sep:"\u4E5D\u6708",oct:"\u5341\u6708",nov:"\u5341\u4E00\u6708",dec:"\u5341\u4E8C\u6708"}},inputNumber:{decrease:"\u51CF\u5C11\u6570\u503C",increase:"\u589E\u52A0\u6570\u503C"},select:{loading:"\u52A0\u8F7D\u4E2D",noMatch:"\u65E0\u5339\u914D\u6570\u636E",noData:"\u65E0\u6570\u636E",placeholder:"\u8BF7\u9009\u62E9"},mention:{loading:"\u52A0\u8F7D\u4E2D"},dropdown:{toggleDropdown:"\u5207\u6362\u4E0B\u62C9\u9009\u9879"},cascader:{noMatch:"\u65E0\u5339\u914D\u6570\u636E",loading:"\u52A0\u8F7D\u4E2D",placeholder:"\u8BF7\u9009\u62E9",noData:"\u6682\u65E0\u6570\u636E"},pagination:{goto:"\u524D\u5F80",pagesize:"\u6761/\u9875",total:"\u5171 {total} \u6761",pageClassifier:"\u9875",page:"\u9875",prev:"\u4E0A\u4E00\u9875",next:"\u4E0B\u4E00\u9875",currentPage:"\u7B2C {pager} \u9875",prevPages:"\u5411\u524D {pager} \u9875",nextPages:"\u5411\u540E {pager} \u9875",deprecationWarning:"\u4F60\u4F7F\u7528\u4E86\u4E00\u4E9B\u5DF2\u88AB\u5E9F\u5F03\u7684\u7528\u6CD5\uFF0C\u8BF7\u53C2\u8003 el-pagination \u7684\u5B98\u65B9\u6587\u6863"},dialog:{close:"\u5173\u95ED\u6B64\u5BF9\u8BDD\u6846"},drawer:{close:"\u5173\u95ED\u6B64\u5BF9\u8BDD\u6846"},messagebox:{title:"\u63D0\u793A",confirm:"\u786E\u5B9A",cancel:"\u53D6\u6D88",error:"\u8F93\u5165\u7684\u6570\u636E\u4E0D\u5408\u6CD5!",close:"\u5173\u95ED\u6B64\u5BF9\u8BDD\u6846"},upload:{deleteTip:"\u6309 Delete \u952E\u53EF\u5220\u9664",delete:"\u5220\u9664",preview:"\u67E5\u770B\u56FE\u7247",continue:"\u7EE7\u7EED\u4E0A\u4F20"},slider:{defaultLabel:"\u6ED1\u5757\u4ECB\u4E8E {min} \u81F3 {max}",defaultRangeStartLabel:"\u9009\u62E9\u8D77\u59CB\u503C",defaultRangeEndLabel:"\u9009\u62E9\u7ED3\u675F\u503C"},table:{emptyText:"\u6682\u65E0\u6570\u636E",confirmFilter:"\u7B5B\u9009",resetFilter:"\u91CD\u7F6E",clearFilter:"\u5168\u90E8",sumText:"\u5408\u8BA1",selectAllLabel:"\u9009\u62E9\u6240\u6709\u884C",selectRowLabel:"\u9009\u62E9\u5F53\u524D\u884C",expandRowLabel:"\u5C55\u5F00\u5F53\u524D\u884C",collapseRowLabel:"\u6536\u8D77\u5F53\u524D\u884C",sortLabel:"\u6309 {column} \u6392\u5E8F",filterLabel:"\u6309 {column} \u8FC7\u6EE4"},tag:{close:"\u5173\u95ED\u6B64\u6807\u7B7E"},tour:{next:"\u4E0B\u4E00\u6B65",previous:"\u4E0A\u4E00\u6B65",finish:"\u7ED3\u675F\u5BFC\u89C8",close:"\u5173\u95ED\u6B64\u5BF9\u8BDD\u6846"},tree:{emptyText:"\u6682\u65E0\u6570\u636E"},transfer:{noMatch:"\u65E0\u5339\u914D\u6570\u636E",noData:"\u65E0\u6570\u636E",titles:["\u5217\u8868 1","\u5217\u8868 2"],filterPlaceholder:"\u8BF7\u8F93\u5165\u641C\u7D22\u5185\u5BB9",noCheckedFormat:"\u5171 {total} \u9879",hasCheckedFormat:"\u5DF2\u9009 {checked}/{total} \u9879"},image:{error:"\u52A0\u8F7D\u5931\u8D25"},pageHeader:{title:"\u8FD4\u56DE"},popconfirm:{confirmButtonText:"\u786E\u5B9A",cancelButtonText:"\u53D6\u6D88"},carousel:{leftArrow:"\u4E0A\u4E00\u5F20\u5E7B\u706F\u7247",rightArrow:"\u4E0B\u4E00\u5F20\u5E7B\u706F\u7247",indicator:"\u5E7B\u706F\u7247\u5207\u6362\u81F3\u7D22\u5F15 {index}"}}};return u})); +//# sourceMappingURL=zh-cn.min.js.map diff --git a/www/static/lib/ol/ol.css b/www/static/lib/ol/ol.css new file mode 100644 index 0000000..62c2b61 --- /dev/null +++ b/www/static/lib/ol/ol.css @@ -0,0 +1,350 @@ +:root, +:host { + --ol-background-color: white; + --ol-accent-background-color: #F5F5F5; + --ol-subtle-background-color: rgba(128, 128, 128, 0.25); + --ol-partial-background-color: rgba(255, 255, 255, 0.75); + --ol-foreground-color: #333333; + --ol-subtle-foreground-color: #666666; + --ol-brand-color: #00AAFF; +} + +.ol-box { + box-sizing: border-box; + border-radius: 2px; + border: 1.5px solid var(--ol-background-color); + background-color: var(--ol-partial-background-color); +} + +.ol-mouse-position { + top: 8px; + right: 8px; + position: absolute; +} + +.ol-scale-line { + background: var(--ol-partial-background-color); + border-radius: 4px; + bottom: 8px; + left: 8px; + padding: 2px; + position: absolute; +} + +.ol-scale-line-inner { + border: 1px solid var(--ol-subtle-foreground-color); + border-top: none; + color: var(--ol-foreground-color); + font-size: 10px; + text-align: center; + margin: 1px; + will-change: contents, width; + transition: all 0.25s; +} + +.ol-scale-bar { + position: absolute; + bottom: 8px; + left: 8px; +} + +.ol-scale-bar-inner { + display: flex; +} + +.ol-scale-step-marker { + width: 1px; + height: 15px; + background-color: var(--ol-foreground-color); + float: right; + z-index: 10; +} + +.ol-scale-step-text { + position: absolute; + bottom: -5px; + font-size: 10px; + z-index: 11; + color: var(--ol-foreground-color); + text-shadow: -1.5px 0 var(--ol-partial-background-color), 0 1.5px var(--ol-partial-background-color), 1.5px 0 var(--ol-partial-background-color), 0 -1.5px var(--ol-partial-background-color); +} + +.ol-scale-text { + position: absolute; + font-size: 12px; + text-align: center; + bottom: 25px; + color: var(--ol-foreground-color); + text-shadow: -1.5px 0 var(--ol-partial-background-color), 0 1.5px var(--ol-partial-background-color), 1.5px 0 var(--ol-partial-background-color), 0 -1.5px var(--ol-partial-background-color); +} + +.ol-scale-singlebar { + position: relative; + height: 10px; + z-index: 9; + box-sizing: border-box; + border: 1px solid var(--ol-foreground-color); +} + +.ol-scale-singlebar-even { + background-color: var(--ol-subtle-foreground-color); +} + +.ol-scale-singlebar-odd { + background-color: var(--ol-background-color); +} + +.ol-unsupported { + display: none; +} + +.ol-viewport, +.ol-unselectable { + -webkit-touch-callout: none; + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; + -webkit-tap-highlight-color: transparent; +} + +.ol-viewport canvas { + all: unset; + overflow: hidden; +} + +.ol-viewport { + touch-action: pan-x pan-y; +} + +.ol-selectable { + -webkit-touch-callout: default; + -webkit-user-select: text; + -moz-user-select: text; + user-select: text; +} + +.ol-grabbing { + cursor: -webkit-grabbing; + cursor: -moz-grabbing; + cursor: grabbing; +} + +.ol-grab { + cursor: move; + cursor: -webkit-grab; + cursor: -moz-grab; + cursor: grab; +} + +.ol-control { + position: absolute; + background-color: var(--ol-subtle-background-color); + border-radius: 4px; +} + +.ol-zoom { + top: .5em; + left: .5em; +} + +.ol-rotate { + top: .5em; + right: .5em; + transition: opacity .25s linear, visibility 0s linear; +} + +.ol-rotate.ol-hidden { + opacity: 0; + visibility: hidden; + transition: opacity .25s linear, visibility 0s linear .25s; +} + +.ol-zoom-extent { + top: 4.643em; + left: .5em; +} + +.ol-full-screen { + right: .5em; + top: .5em; +} + +.ol-control button { + display: block; + margin: 1px; + padding: 0; + color: var(--ol-subtle-foreground-color); + font-weight: bold; + text-decoration: none; + font-size: inherit; + text-align: center; + height: 1.375em; + width: 1.375em; + line-height: .4em; + background-color: var(--ol-background-color); + border: none; + border-radius: 2px; +} + +.ol-control button::-moz-focus-inner { + border: none; + padding: 0; +} + +.ol-zoom-extent button { + line-height: 1.4em; +} + +.ol-compass { + display: block; + font-weight: normal; + will-change: transform; +} + +.ol-touch .ol-control button { + font-size: 1.5em; +} + +.ol-touch .ol-zoom-extent { + top: 5.5em; +} + +.ol-control button:hover, +.ol-control button:focus { + text-decoration: none; + outline: 1px solid var(--ol-subtle-foreground-color); + color: var(--ol-foreground-color); +} + +.ol-zoom .ol-zoom-in { + border-radius: 2px 2px 0 0; +} + +.ol-zoom .ol-zoom-out { + border-radius: 0 0 2px 2px; +} + +.ol-attribution { + text-align: right; + bottom: .5em; + right: .5em; + max-width: calc(100% - 1.3em); + display: flex; + flex-flow: row-reverse; + align-items: center; +} + +.ol-attribution a { + color: var(--ol-subtle-foreground-color); + text-decoration: none; +} + +.ol-attribution ul { + margin: 0; + padding: 1px .5em; + color: var(--ol-foreground-color); + text-shadow: 0 0 2px var(--ol-background-color); + font-size: 12px; +} + +.ol-attribution li { + display: inline; + list-style: none; +} + +.ol-attribution li:not(:last-child):after { + content: " "; +} + +.ol-attribution img { + max-height: 2em; + max-width: inherit; + vertical-align: middle; +} + +.ol-attribution button { + flex-shrink: 0; +} + +.ol-attribution.ol-collapsed ul { + display: none; +} + +.ol-attribution:not(.ol-collapsed) { + background: var(--ol-partial-background-color); +} + +.ol-attribution.ol-uncollapsible { + bottom: 0; + right: 0; + border-radius: 4px 0 0; +} + +.ol-attribution.ol-uncollapsible img { + margin-top: -.2em; + max-height: 1.6em; +} + +.ol-attribution.ol-uncollapsible button { + display: none; +} + +.ol-zoomslider { + top: 4.5em; + left: .5em; + height: 200px; +} + +.ol-zoomslider button { + position: relative; + height: 10px; +} + +.ol-touch .ol-zoomslider { + top: 5.5em; +} + +.ol-overviewmap { + left: 0.5em; + bottom: 0.5em; +} + +.ol-overviewmap.ol-uncollapsible { + bottom: 0; + left: 0; + border-radius: 0 4px 0 0; +} + +.ol-overviewmap .ol-overviewmap-map, +.ol-overviewmap button { + display: block; +} + +.ol-overviewmap .ol-overviewmap-map { + border: 1px solid var(--ol-subtle-foreground-color); + height: 150px; + width: 150px; +} + +.ol-overviewmap:not(.ol-collapsed) button { + bottom: 0; + left: 0; + position: absolute; +} + +.ol-overviewmap.ol-collapsed .ol-overviewmap-map, +.ol-overviewmap.ol-uncollapsible button { + display: none; +} + +.ol-overviewmap:not(.ol-collapsed) { + background: var(--ol-subtle-background-color); +} + +.ol-overviewmap-box { + border: 1.5px dotted var(--ol-subtle-foreground-color); +} + +.ol-overviewmap .ol-overviewmap-box:hover { + cursor: move; +} diff --git a/www/static/lib/ol/ol.js b/www/static/lib/ol/ol.js new file mode 100644 index 0000000..5fc5ba4 --- /dev/null +++ b/www/static/lib/ol/ol.js @@ -0,0 +1,4 @@ +var ol=function(){"use strict";function t(t){t.stopPropagation()}var e=class{constructor(t){this.propagationStopped,this.defaultPrevented,this.type=t,this.target=null}preventDefault(){this.defaultPrevented=!0}stopPropagation(){this.propagationStopped=!0}},i="propertychange";var n=class{constructor(){this.disposed=!1}dispose(){this.disposed||(this.disposed=!0,this.disposeInternal())}disposeInternal(){}};function r(t,e,i){let n,r;i=i||s;let o=0,a=t.length,l=!1;for(;o>1),r=+i(t[n],e),r<0?o=n+1:(a=n,l=!r);return l?o:~o}function s(t,e){return t>e?1:te?-1:0}function a(t,e,i){if(t[0]<=e)return 0;const n=t.length;if(e<=t[n-1])return n-1;if("function"==typeof i){for(let r=1;r0?r-1:r}return n-1}if(i>0){for(let i=1;i0||i&&0===s)}))}function d(){return!0}function g(){return!1}function f(){}function p(t){let e,i,n,r=!1;return function(){const s=Array.prototype.slice.call(arguments);return r&&this===n&&c(s,i)||(r=!0,n=this,i=s,e=t.apply(this,arguments)),e}}function m(t){return function(){let e;try{e=t()}catch(t){return Promise.reject(t)}return e instanceof Promise?e:Promise.resolve(e)}()}function _(t){for(const e in t)delete t[e]}function y(t){let e;for(e in t)return!1;return!e}var x=class extends n{constructor(t){super(),this.eventTarget_=t,this.pendingRemovals_=null,this.dispatching_=null,this.listeners_=null}addEventListener(t,e){if(!t||!e)return;const i=this.listeners_||(this.listeners_={}),n=i[t]||(i[t]=[]);n.includes(e)||n.push(e)}dispatchEvent(t){const i="string"==typeof t,n=i?t:t.type,r=this.listeners_&&this.listeners_[n];if(!r)return;const s=i?new e(t):t;s.target||(s.target=this.eventTarget_||this);const o=this.dispatching_||(this.dispatching_={}),a=this.pendingRemovals_||(this.pendingRemovals_={});let l;n in o||(o[n]=0,a[n]=0),++o[n];for(let t=0,e=r.length;t0)}removeEventListener(t,e){if(!this.listeners_)return;const i=this.listeners_[t];if(!i)return;const n=i.indexOf(e);-1!==n&&(this.pendingRemovals_&&t in this.pendingRemovals_?(i[n]=f,++this.pendingRemovals_[t]):(i.splice(n,1),0===i.length&&delete this.listeners_[t]))}},v="change",w="error",S="contextmenu",E="click",T="dblclick",C="dragenter",b="dragover",R="drop",P="keydown",I="keypress",L="load",F="touchmove",M="wheel";function A(t,e,i,n,r){if(n&&n!==t&&(i=i.bind(n)),r){const n=i;i=function(){t.removeEventListener(e,i),n.apply(this,arguments)}}const s={target:t,type:e,listener:i};return t.addEventListener(e,i),s}function O(t,e,i,n){return A(t,e,i,n,!0)}function D(t){t&&t.target&&(t.target.removeEventListener(t.type,t.listener),_(t))}class N extends x{constructor(){super(),this.on=this.onInternal,this.once=this.onceInternal,this.un=this.unInternal,this.revision_=0}changed(){++this.revision_,this.dispatchEvent(v)}getRevision(){return this.revision_}onInternal(t,e){if(Array.isArray(t)){const i=t.length,n=new Array(i);for(let r=0;r0;)this.pop()}extend(t){for(let e=0,i=t.length;ethis.getLength())throw new Error("Index out of bounds: "+t);this.unique_&&this.assertUnique_(e),this.array_.splice(t,0,e),this.updateLength_(),this.dispatchEvent(new $(V,e,t))}pop(){return this.removeAt(this.getLength()-1)}push(t){this.unique_&&this.assertUnique_(t);const e=this.getLength();return this.insertAt(e,t),this.getLength()}remove(t){const e=this.array_;for(let i=0,n=e.length;i=this.getLength())return;const e=this.array_[t];return this.array_.splice(t,1),this.updateLength_(),this.dispatchEvent(new $(W,e,t)),e}setAt(t,e){if(t>=this.getLength())return void this.insertAt(t,e);if(t<0)throw new Error("Index out of bounds: "+t);this.unique_&&this.assertUnique_(e,t);const i=this.array_[t];this.array_[t]=e,this.dispatchEvent(new $(W,i,t)),this.dispatchEvent(new $(V,e,t))}updateLength_(){this.set(Z,this.array_.length)}assertUnique_(t,e){for(let i=0,n=this.array_.length;it)throw new Error("Tile load sequence violation");this.state=t,this.changed()}load(){j()}getAlpha(t,e){if(!this.transition_)return 1;let i=this.transitionStarts_[t];if(i){if(-1===i)return 1}else i=e,this.transitionStarts_[t]=i;const n=e-i+1e3/60;return n>=this.transition_?1:tt(n/this.transition_)}inTransition(t){return!!this.transition_&&-1!==this.transitionStarts_[t]}endTransition(t){this.transition_&&(this.transitionStarts_[t]=-1)}};const st="undefined"!=typeof navigator&&void 0!==navigator.userAgent?navigator.userAgent.toLowerCase():"",ot=st.includes("firefox"),at=st.includes("safari")&&!st.includes("chrom"),lt=at&&(st.includes("version/15.4")||/cpu (os|iphone os) 15_4 like mac os x/.test(st)),ht=st.includes("webkit")&&!st.includes("edge"),ct=st.includes("macintosh"),ut="undefined"!=typeof devicePixelRatio?devicePixelRatio:1,dt="undefined"!=typeof WorkerGlobalScope&&"undefined"!=typeof OffscreenCanvas&&self instanceof WorkerGlobalScope,gt="undefined"!=typeof Image&&Image.prototype.decode,ft="function"==typeof createImageBitmap,pt=function(){let t=!1;try{const e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("_",null,e),window.removeEventListener("_",null,e)}catch(t){}return t}();function mt(t,e,i,n){let r;return r=i&&i.length?i.shift():dt?new OffscreenCanvas(t||300,e||300):document.createElement("canvas"),t&&(r.width=t),e&&(r.height=e),r.getContext("2d",n)}let _t;function yt(){return _t||(_t=mt(1,1)),_t}function xt(t){const e=t.canvas;e.width=1,e.height=1,t.clearRect(0,0,1,1)}function vt(t){let e=t.offsetWidth;const i=getComputedStyle(t);return e+=parseInt(i.marginLeft,10)+parseInt(i.marginRight,10),e}function wt(t){let e=t.offsetHeight;const i=getComputedStyle(t);return e+=parseInt(i.marginTop,10)+parseInt(i.marginBottom,10),e}function St(t,e){const i=e.parentNode;i&&i.replaceChild(t,e)}function Et(t){return t&&t.parentNode?t.parentNode.removeChild(t):null}function Tt(t){for(;t.lastChild;)t.removeChild(t.lastChild)}function Ct(t,e){const i=t.childNodes;for(let n=0;;++n){const r=i[n],s=e[n];if(!r&&!s)break;r!==s&&(r?s?t.insertBefore(s,r):(t.removeChild(r),--n):t.appendChild(s))}}function bt(t){return t instanceof Image||t instanceof HTMLCanvasElement||t instanceof HTMLVideoElement||t instanceof ImageBitmap?t:null}function Rt(t){return t instanceof Uint8Array||t instanceof Uint8ClampedArray||t instanceof Float32Array||t instanceof DataView?t:null}let Pt=null;function It(t){Pt||(Pt=mt(t.width,t.height,void 0,{willReadFrequently:!0}));const e=Pt.canvas,i=t.width;e.width!==i&&(e.width=i);const n=t.height;return e.height!==n&&(e.height=n),Pt.clearRect(0,0,i,n),Pt.drawImage(t,0,0),Pt.getImageData(0,0,i,n).data}const Lt=[256,256];var Ft=class extends rt{constructor(t){const e=q;super(t.tileCoord,e,{transition:t.transition,interpolate:t.interpolate}),this.loader_=t.loader,this.data_=null,this.error_=null,this.size_=t.size||null}getSize(){if(this.size_)return this.size_;const t=bt(this.data_);return t?[t.width,t.height]:Lt}getData(){return this.data_}getError(){return this.error_}load(){if(this.state!==q&&this.state!==J)return;this.state=K,this.changed();const t=this;this.loader_().then((function(e){t.data_=e,t.state=H,t.changed()})).catch((function(e){t.error_=e,t.state=J,t.changed()}))}};function Mt(t,e){if(!t)throw new Error(e)}class At extends X{constructor(t){if(super(),this.on,this.once,this.un,this.id_=void 0,this.geometryName_="geometry",this.style_=null,this.styleFunction_=void 0,this.geometryChangeKey_=null,this.addChangeListener(this.geometryName_,this.handleGeometryChanged_),t)if("function"==typeof t.getSimplifiedGeometry){const e=t;this.setGeometry(e)}else{const e=t;this.setProperties(e)}}clone(){const t=new At(this.hasProperties()?this.getProperties():null);t.setGeometryName(this.getGeometryName());const e=this.getGeometry();e&&t.setGeometry(e.clone());const i=this.getStyle();return i&&t.setStyle(i),t}getGeometry(){return this.get(this.geometryName_)}getId(){return this.id_}getGeometryName(){return this.geometryName_}getStyle(){return this.style_}getStyleFunction(){return this.styleFunction_}handleGeometryChange_(){this.changed()}handleGeometryChanged_(){this.geometryChangeKey_&&(D(this.geometryChangeKey_),this.geometryChangeKey_=null);const t=this.getGeometry();t&&(this.geometryChangeKey_=A(t,v,this.handleGeometryChange_,this)),this.changed()}setGeometry(t){this.set(this.geometryName_,t)}setStyle(t){this.style_=t,this.styleFunction_=t?Ot(t):void 0,this.changed()}setId(t){this.id_=t,this.changed()}setGeometryName(t){this.removeChangeListener(this.geometryName_,this.handleGeometryChanged_),this.geometryName_=t,this.addChangeListener(this.geometryName_,this.handleGeometryChanged_),this.handleGeometryChanged_()}}function Ot(t){if("function"==typeof t)return t;let e;if(Array.isArray(t))e=t;else{Mt("function"==typeof t.getZIndex,"Expected an `ol/style/Style` or an array of `ol/style/Style.js`");e=[t]}return function(){return e}}var Dt=At;const Nt=new Array(6);function kt(){return[1,0,0,1,0,0]}function Gt(t){return zt(t,1,0,0,1,0,0)}function jt(t,e){const i=t[0],n=t[1],r=t[2],s=t[3],o=t[4],a=t[5],l=e[0],h=e[1],c=e[2],u=e[3],d=e[4],g=e[5];return t[0]=i*l+r*h,t[1]=n*l+s*h,t[2]=i*c+r*u,t[3]=n*c+s*u,t[4]=i*d+r*g+o,t[5]=n*d+s*g+a,t}function zt(t,e,i,n,r,s,o){return t[0]=e,t[1]=i,t[2]=n,t[3]=r,t[4]=s,t[5]=o,t}function Ut(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function Bt(t,e){const i=e[0],n=e[1];return e[0]=t[0]*i+t[2]*n+t[4],e[1]=t[1]*i+t[3]*n+t[5],e}function Xt(t,e){const i=Math.cos(e),n=Math.sin(e);return jt(t,zt(Nt,i,n,-n,i,0,0))}function Vt(t,e,i){return jt(t,zt(Nt,e,0,0,i,0,0))}function Wt(t,e,i){return jt(t,zt(Nt,1,0,0,1,e,i))}function Zt(t,e,i,n,r,s,o,a){const l=Math.sin(s),h=Math.cos(s);return t[0]=n*h,t[1]=r*l,t[2]=-n*l,t[3]=r*h,t[4]=o*n*h-a*n*l+e,t[5]=o*r*l+a*r*h+i,t}function $t(t,e){const i=Yt(e);Mt(0!==i,"Transformation matrix cannot be inverted");const n=e[0],r=e[1],s=e[2],o=e[3],a=e[4],l=e[5];return t[0]=o/i,t[1]=-r/i,t[2]=-s/i,t[3]=n/i,t[4]=(s*l-o*a)/i,t[5]=-(n*l-r*a)/i,t}function Yt(t){return t[0]*t[3]-t[1]*t[2]}const qt=[1e6,1e6,1e6,1e6,2,2];function Kt(t){return"matrix("+t.map(((t,e)=>Math.round(t*qt[e])/qt[e])).join(", ")+")"}var Ht={UNKNOWN:0,INTERSECTING:1,ABOVE:2,RIGHT:4,BELOW:8,LEFT:16};function Jt(t){const e=oe();for(let i=0,n=t.length;ir&&(l|=Ht.RIGHT),as&&(l|=Ht.ABOVE),l===Ht.UNKNOWN&&(l=Ht.INTERSECTING),l}function oe(){return[1/0,1/0,-1/0,-1/0]}function ae(t,e,i,n,r){return r?(r[0]=t,r[1]=e,r[2]=i,r[3]=n,r):[t,e,i,n]}function le(t){return ae(1/0,1/0,-1/0,-1/0,t)}function he(t,e){const i=t[0],n=t[1];return ae(i,n,i,n,e)}function ce(t,e,i,n,r){return me(le(r),t,e,i,n)}function ue(t,e){return t[0]==e[0]&&t[2]==e[2]&&t[1]==e[1]&&t[3]==e[3]}function de(t,e,i){return Math.abs(t[0]-e[0])t[2]&&(t[2]=e[2]),e[1]t[3]&&(t[3]=e[3]),t}function fe(t,e){e[0]t[2]&&(t[2]=e[0]),e[1]t[3]&&(t[3]=e[1])}function pe(t,e){for(let i=0,n=e.length;ie[0]?n[0]=t[0]:n[0]=e[0],t[1]>e[1]?n[1]=t[1]:n[1]=e[1],t[2]=e[0]&&t[1]<=e[3]&&t[3]>=e[1]}function Ae(t){return t[2]=o&&p<=l),n||!(s&Ht.RIGHT)||r&Ht.RIGHT||(m=g-(d-l)*f,n=m>=a&&m<=h),n||!(s&Ht.BELOW)||r&Ht.BELOW||(p=d-(g-a)/f,n=p>=o&&p<=l),n||!(s&Ht.LEFT)||r&Ht.LEFT||(m=g-(d-o)*f,n=m>=a&&m<=h)}return n}function ke(t,e,i,n){if(Ae(t))return le(i);let r=[];if(n>1){const e=t[2]-t[0],i=t[3]-t[1];for(let s=0;s=i[2])){const e=Fe(i),r=Math.floor((n[0]-i[0])/e)*e;t[0]-=r,t[2]-=r}return t}function je(t,e){if(e.canWrapX()){const i=e.getExtent();if(!isFinite(t[0])||!isFinite(t[2]))return[[i[0],t[1],i[2],t[3]]];Ge(t,e);const n=Fe(i);if(Fe(t)>n)return[[i[0],t[1],i[2],t[3]]];if(t[0]i[2])return[[t[0],t[1],i[2],t[3]],[i[0],t[1],t[2]-n,t[3]]]}return[t]}const ze={9001:"m",9002:"ft",9003:"us-ft",9101:"radians",9102:"degrees"};function Ue(t){return ze[t]}const Be={radians:6370997/(2*Math.PI),degrees:2*Math.PI*6370997/360,ft:.3048,m:1,"us-ft":1200/3937};var Xe=class{constructor(t){this.code_=t.code,this.units_=t.units,this.extent_=void 0!==t.extent?t.extent:null,this.worldExtent_=void 0!==t.worldExtent?t.worldExtent:null,this.axisOrientation_=void 0!==t.axisOrientation?t.axisOrientation:"enu",this.global_=void 0!==t.global&&t.global,this.canWrapX_=!(!this.global_||!this.extent_),this.getPointResolutionFunc_=t.getPointResolution,this.defaultTileGrid_=null,this.metersPerUnit_=t.metersPerUnit}canWrapX(){return this.canWrapX_}getCode(){return this.code_}getExtent(){return this.extent_}getUnits(){return this.units_}getMetersPerUnit(){return this.metersPerUnit_||Be[this.units_]}getWorldExtent(){return this.worldExtent_}getAxisOrientation(){return this.axisOrientation_}isGlobal(){return this.global_}setGlobal(t){this.global_=t,this.canWrapX_=!(!t||!this.extent_)}getDefaultTileGrid(){return this.defaultTileGrid_}setDefaultTileGrid(t){this.defaultTileGrid_=t}setExtent(t){this.extent_=t,this.canWrapX_=!(!this.global_||!t)}setWorldExtent(t){this.worldExtent_=t}setGetPointResolution(t){this.getPointResolutionFunc_=t}getPointResolutionFunc(){return this.getPointResolutionFunc_}};const Ve=6378137,We=Math.PI*Ve,Ze=[-We,-We,We,We],$e=[-180,-85,180,85],Ye=Ve*Math.log(Math.tan(Math.PI/2));class qe extends Xe{constructor(t){super({code:t,units:"m",extent:Ze,global:!0,worldExtent:$e,getPointResolution:function(t,e){return t/Math.cosh(e[1]/Ve)}})}}const Ke=[new qe("EPSG:3857"),new qe("EPSG:102100"),new qe("EPSG:102113"),new qe("EPSG:900913"),new qe("http://www.opengis.net/def/crs/EPSG/0/3857"),new qe("http://www.opengis.net/gml/srs/epsg.xml#3857")];function He(t,e,i){const n=t.length;i=i>1?i:2,void 0===e&&(e=i>2?t.slice():new Array(n));for(let r=0;rYe?i=Ye:i<-Ye&&(i=-Ye),e[r+1]=i}return e}function Je(t,e,i){const n=t.length;i=i>1?i:2,void 0===e&&(e=i>2?t.slice():new Array(n));for(let r=0;r1?(i=r,n=s):l>0&&(i+=o*l,n+=a*l)}return fi(t,e,i,n)}function fi(t,e,i,n){const r=i-t,s=n-e;return r*r+s*s}function pi(t){const e=t.length;for(let i=0;ir&&(r=e,n=s)}if(0===r)return null;const s=t[n];t[n]=t[i],t[i]=s;for(let n=i+1;n=0;n--){i[n]=t[n][e]/t[n][n];for(let r=n-1;r>=0;r--)t[r][e]-=t[r][n]*i[n]}return i}function mi(t){return 180*t/Math.PI}function _i(t){return t*Math.PI/180}function yi(t,e){const i=t%e;return i*e<0?i+e:i}function xi(t,e,i){return t+i*(e-t)}function vi(t,e){const i=Math.pow(10,e);return Math.round(t*i)/i}function wi(t,e){return Math.round(vi(t,e))}function Si(t,e){return Math.floor(vi(t,e))}function Ei(t,e){return Math.ceil(vi(t,e))}function Ti(t,e,i){const n=void 0!==i?t.toFixed(i):""+t;let r=n.indexOf(".");return r=-1===r?n.length:r,r>e?n:new Array(1+e-r).join("0")+n}function Ci(t,e){const i=(""+t).split("."),n=(""+e).split(".");for(let t=0;tr)return 1;if(r>e)return-1}return 0}function bi(t,e){return t[0]+=+e[0],t[1]+=+e[1],t}function Ri(t,e){const i=e.getRadius(),n=e.getCenter(),r=n[0],s=n[1];let o=t[0]-r;const a=t[1]-s;0===o&&0===a&&(o=1);const l=Math.sqrt(o*o+a*a);return[r+i*o/l,s+i*a/l]}function Pi(t,e){const i=t[0],n=t[1],r=e[0],s=e[1],o=r[0],a=r[1],l=s[0],h=s[1],c=l-o,u=h-a,d=0===c&&0===u?0:(c*(i-o)+u*(n-a))/(c*c+u*u||0);let g,f;return d<=0?(g=o,f=a):d>=1?(g=l,f=h):(g=o+d*c,f=a+d*u),[g,f]}function Ii(t,e,i){const n=yi(e+180,360)-180,r=Math.abs(3600*n),s=i||0;let o=Math.floor(r/3600),a=Math.floor((r-3600*o)/60),l=vi(r-3600*o-60*a,s);l>=60&&(l=0,a+=1),a>=60&&(a=0,o+=1);let h=o+"°";return 0===a&&0===l||(h+=" "+Ti(a,2)+"′"),0!==l&&(h+=" "+Ti(l,2,s)+"″"),0!==n&&(h+=" "+t.charAt(n<0?1:0)),h}function Li(t,e,i){return t?e.replace("{x}",t[0].toFixed(i)).replace("{y}",t[1].toFixed(i)):""}function Fi(t,e){let i=!0;for(let n=t.length-1;n>=0;--n)if(t[n]!=e[n]){i=!1;break}return i}function Mi(t,e){const i=Math.cos(e),n=Math.sin(e),r=t[0]*i-t[1]*n,s=t[1]*i+t[0]*n;return t[0]=r,t[1]=s,t}function Ai(t,e){return t[0]*=e,t[1]*=e,t}function Oi(t,e){const i=t[0]-e[0],n=t[1]-e[1];return i*i+n*n}function Di(t,e){return Math.sqrt(Oi(t,e))}function Ni(t,e){return Oi(t,Pi(t,e))}function ki(t,e){return Li(t,"{x}, {y}",e)}function Gi(t,e){if(e.canWrapX()){const i=Fe(e.getExtent()),n=ji(t,e,i);n&&(t[0]-=n*i)}return t}function ji(t,e,i){const n=e.getExtent();let r=0;return e.canWrapX()&&(t[0]n[2])&&(i=i||Fe(n),r=Math.floor((t[0]-n[0])/i)),r}const zi=6371008.8;function Ui(t,e,i){i=i||zi;const n=_i(t[1]),r=_i(e[1]),s=(r-n)/2,o=_i(e[0]-t[0])/2,a=Math.sin(s)*Math.sin(s)+Math.sin(o)*Math.sin(o)*Math.cos(n)*Math.cos(r);return 2*i*Math.atan2(Math.sqrt(a),Math.sqrt(1-a))}function Bi(t,e){let i=0;for(let n=0,r=t.length;nWi.warn||console.warn(...t)}function Yi(...t){Zi>Wi.error||console.error(...t)}let qi=!0;function Ki(t){qi=!(void 0===t||t)}function Hi(t,e){if(void 0!==e)for(let i=0,n=t.length;i=o?e[s+t]:r[t]}return i}}function ln(t,e,i,n){const r=en(t),s=en(e);ci(r,s,an(i)),ci(s,r,an(n))}function hn(t,e){const i=gn(t,void 0!==e?e:"EPSG:3857","EPSG:4326"),n=i[0];return(n<-180||n>180)&&(i[0]=yi(n+180,360)-180),i}function cn(t,e){if(t===e)return!0;const i=t.getUnits()===e.getUnits();if(t.getCode()===e.getCode())return i;return un(t,e)===Hi&&i}function un(t,e){let i=ui(t.getCode(),e.getCode());return i||(i=Ji),i}function dn(t,e){return un(en(t),en(e))}function gn(t,e,i){return dn(e,i)(t,void 0,t.length)}function fn(t,e,i,n){return ke(t,dn(e,i),void 0,n)}let pn=null;function mn(t){pn=en(t)}function _n(){return pn}function yn(t,e){return pn?gn(t,e,pn):t}function xn(t,e){return pn?gn(t,pn,e):(qi&&!Fi(t,[0,0])&&t[0]>=-180&&t[0]<=180&&t[1]>=-90&&t[1]<=90&&(qi=!1,$i("Call useGeographic() from ol/proj once to work with [longitude, latitude] coordinates.")),t)}function vn(t,e){return pn?fn(t,e,pn):t}function wn(t,e){return pn?fn(t,pn,e):t}function Sn(t,e){if(!pn)return t;const i=en(e).getMetersPerUnit(),n=pn.getMetersPerUnit();return i&&n?t*i/n:t}function En(t,e){if(!pn)return t;const i=en(e).getMetersPerUnit(),n=pn.getMetersPerUnit();return i&&n?t*n/i:t}function Tn(t,e,i){return function(n){let r,s;if(t.canWrapX()){const e=t.getExtent(),o=Fe(e);s=ji(n=n.slice(0),t,o),s&&(n[0]=n[0]-s*o),n[0]=di(n[0],e[0],e[2]),n[1]=di(n[1],e[1],e[3]),r=i(n)}else r=i(n);return s&&e.canWrapX()&&(r[0]+=s*Fe(e.getExtent())),r}}function Cn(){rn(Ke),rn(ni),sn(ni,Ke,He,Je)}function bn(t,e,i,n,r,s){s=s||[];let o=0;for(let a=e;a{if(!i)return this.getSimplifiedGeometry(e);const n=this.clone();return n.applyTransform(i),n.getSimplifiedGeometry(e)}))}simplifyTransformed(t,e){return this.simplifyTransformedInternal(this.getRevision(),t,e)}clone(){return j()}closestPointXY(t,e,i,n){return j()}containsXY(t,e){const i=this.getClosestPoint([t,e]);return i[0]===t&&i[1]===e}getClosestPoint(t,e){return e=e||[NaN,NaN],this.closestPointXY(t[0],t[1],e,1/0),e}intersectsCoordinate(t){return this.containsXY(t[0],t[1])}computeExtent(t){return j()}getExtent(t){if(this.extentRevision_!=this.getRevision()){const t=this.computeExtent(this.extent_);(isNaN(t[0])||isNaN(t[1]))&&le(t),this.extentRevision_=this.getRevision()}return Oe(this.extent_,t)}rotate(t,e){j()}scale(t,e,i){j()}simplify(t){return this.getSimplifiedGeometry(t*t)}getSimplifiedGeometry(t){return j()}getType(){return j()}applyTransform(t){j()}intersectsExtent(t){return j()}translate(t,e){j()}transform(t,e){const i=en(t),n="tile-pixels"==i.getUnits()?function(t,n,r){const s=i.getExtent(),o=i.getWorldExtent(),a=Re(o)/Re(s);return Zt(Ln,o[0],o[3],a,-a,0,0,0),bn(t,0,t.length,r,Ln,n),dn(i,e)(t,n,r)}:dn(i,e);return this.applyTransform(n),this}};function Mn(t){let e;return 2==t?e="XY":3==t?e="XYZ":4==t&&(e="XYZM"),e}function An(t){let e;return"XY"==t?e=2:"XYZ"==t||"XYM"==t?e=3:"XYZM"==t&&(e=4),e}function On(t,e,i){const n=t.getFlatCoordinates();if(!n)return null;const r=t.getStride();return bn(n,0,n.length,r,e,i)}var Dn=class extends Fn{constructor(){super(),this.layout="XY",this.stride=2,this.flatCoordinates}computeExtent(t){return ce(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,t)}getCoordinates(){return j()}getFirstCoordinate(){return this.flatCoordinates.slice(0,this.stride)}getFlatCoordinates(){return this.flatCoordinates}getLastCoordinate(){return this.flatCoordinates.slice(this.flatCoordinates.length-this.stride)}getLayout(){return this.layout}getSimplifiedGeometry(t){if(this.simplifiedGeometryRevision!==this.getRevision()&&(this.simplifiedGeometryMaxMinSquaredTolerance=0,this.simplifiedGeometryRevision=this.getRevision()),t<0||0!==this.simplifiedGeometryMaxMinSquaredTolerance&&t<=this.simplifiedGeometryMaxMinSquaredTolerance)return this;const e=this.getSimplifiedGeometryInternal(t);return e.getFlatCoordinates().length1)u=i;else{if(d>0){for(let r=0;rr&&(r=a),s=i,o=n}return r}function Gn(t,e,i,n,r){for(let s=0,o=i.length;s0;){const i=h.pop(),s=h.pop();let o=0;const a=t[s],u=t[s+1],d=t[i],g=t[i+1];for(let e=s+n;eo&&(c=e,o=i)}o>r&&(l[(c-e)/n]=1,s+nr&&(s[o++]=h,s[o++]=c,a=h,l=c);return h==a&&c==l||(s[o++]=h,s[o++]=c),o}function Kn(t,e){return e*Math.round(t/e)}function Hn(t,e,i,n,r,s,o){if(e==i)return o;let a,l,h=Kn(t[e],r),c=Kn(t[e+1],r);e+=n,s[o++]=h,s[o++]=c;do{if(a=Kn(t[e],r),l=Kn(t[e+1],r),(e+=n)==i)return s[o++]=a,s[o++]=l,o}while(a==h&&l==c);for(;e0&&f>d)&&(g<0&&p0&&p>g)?(a=i,l=u):(s[o++]=a,s[o++]=l,h=a,c=l,a=i,l=u)}return s[o++]=a,s[o++]=l,o}function Jn(t,e,i,n,r,s,o,a){for(let l=0,h=i.length;ls&&(i-a)*(s-l)-(r-a)*(n-l)>0&&o++:n<=s&&(i-a)*(s-l)-(r-a)*(n-l)<0&&o--,a=i,l=n}return 0!==o}function dr(t,e,i,n,r,s){if(0===i.length)return!1;if(!ur(t,e,i[0],n,r,s))return!1;for(let e=1,o=i.length;ey&&(c=(u+d)/2,dr(t,e,i,n,c,p)&&(_=c,y=r)),u=d}return isNaN(_)&&(_=r[o]),a?(a.push(_,p,y),a):[_,p,y]}function pr(t,e,i,n,r){let s=[];for(let o=0,a=i.length;o=r[0]&&s[2]<=r[2]||(s[1]>=r[1]&&s[3]<=r[3]||mr(t,e,i,n,(function(t,e){return Ne(r,t,e)})))))}function yr(t,e,i,n,r){for(let s=0,o=i.length;s0}function Tr(t,e,i,n,r){r=void 0!==r&&r;for(let s=0,o=i.length;s{function r(){o(),i(t)}function s(){o(),n(new Error("Image load error"))}function o(){t.removeEventListener("load",r),t.removeEventListener("error",s)}t.addEventListener("load",r),t.addEventListener("error",s),e&&(t.src=e)}))}function Hr(t,e){return e&&(t.src=e),t.src&>?new Promise(((e,i)=>t.decode().then((()=>e(t))).catch((n=>t.complete&&t.width?e(t):i(n))))):Kr(t)}function Jr(t,e){return e&&(t.src=e),t.src&>&&ft?t.decode().then((()=>createImageBitmap(t))).catch((e=>{if(t.complete&&t.width)return t;throw e})):Hr(t)}var Qr=class extends x{constructor(t,e,i,n){super(),this.extent=t,this.pixelRatio_=i,this.resolution=e,this.state="function"==typeof n?Yr.IDLE:n,this.image_=null,this.loader="function"==typeof n?n:null}changed(){this.dispatchEvent(v)}getExtent(){return this.extent}getImage(){return this.image_}getPixelRatio(){return this.pixelRatio_}getResolution(){return this.resolution}getState(){return this.state}load(){if(this.state==Yr.IDLE&&this.loader){this.state=Yr.LOADING,this.changed();const t=this.getResolution(),e=Array.isArray(t)?t[0]:t;m((()=>this.loader(this.getExtent(),e,this.getPixelRatio()))).then((t=>{"image"in t&&(this.image_=t.image),"extent"in t&&(this.extent=t.extent),"resolution"in t&&(this.resolution=t.resolution),"pixelRatio"in t&&(this.pixelRatio_=t.pixelRatio),(t instanceof HTMLImageElement||t instanceof ImageBitmap||t instanceof HTMLCanvasElement||t instanceof HTMLVideoElement)&&(this.image_=t),this.state=Yr.LOADED})).catch((t=>{this.state=Yr.ERROR,console.error(t)})).finally((()=>this.changed()))}}setImage(t){this.image_=t}setResolution(t){this.resolution=t}};var ts=class extends Qr{constructor(t,e,i,n,r){super(t,e,i,void 0!==r?Yr.IDLE:Yr.LOADED),this.loader_=void 0!==r?r:null,this.canvas_=n,this.error_=null}getError(){return this.error_}handleLoad_(t){t?(this.error_=t,this.state=Yr.ERROR):this.state=Yr.LOADED,this.changed()}load(){this.state==Yr.IDLE&&(this.state=Yr.LOADING,this.changed(),this.loader_(this.handleLoad_.bind(this)))}getImage(){return this.canvas_}};var es=class extends rt{constructor(t,e,i,n,r,s){super(t,e,s),this.crossOrigin_=n,this.src_=i,this.key=i,this.image_=new Image,null!==n&&(this.image_.crossOrigin=n),this.unlisten_=null,this.tileLoadFunction_=r}getImage(){return this.image_}setImage(t){this.image_=t,this.state=H,this.unlistenImage_(),this.changed()}handleImageError_(){this.state=J,this.unlistenImage_(),this.image_=function(){const t=mt(1,1);return t.fillStyle="rgba(0,0,0,0)",t.fillRect(0,0,1,1),t.canvas}(),this.changed()}handleImageLoad_(){const t=this.image_;t.naturalWidth&&t.naturalHeight?this.state=H:this.state=Q,this.unlistenImage_(),this.changed()}load(){this.state==J&&(this.state=q,this.image_=new Image,null!==this.crossOrigin_&&(this.image_.crossOrigin=this.crossOrigin_)),this.state==q&&(this.state=K,this.changed(),this.tileLoadFunction_(this,this.src_),this.unlisten_=qr(this.image_,this.handleImageLoad_.bind(this),this.handleImageError_.bind(this)))}unlistenImage_(){this.unlisten_&&(this.unlisten_(),this.unlisten_=null)}};var is=class{constructor(t,e,i){this.decay_=t,this.minVelocity_=e,this.delay_=i,this.points_=[],this.angle_=0,this.initialVelocity_=0}begin(){this.points_.length=0,this.angle_=0,this.initialVelocity_=0}update(t,e){this.points_.push(t,e,Date.now())}end(){if(this.points_.length<6)return!1;const t=Date.now()-this.delay_,e=this.points_.length-3;if(this.points_[e+2]0&&this.points_[i+2]>t;)i-=3;const n=this.points_[e+2]-this.points_[i+2];if(n<1e3/60)return!1;const r=this.points_[e]-this.points_[i],s=this.points_[e+1]-this.points_[i+1];return this.angle_=Math.atan2(s,r),this.initialVelocity_=Math.sqrt(r*r+s*s)/n,this.initialVelocity_>this.minVelocity_}getDistance(){return(this.minVelocity_-this.initialVelocity_)/this.decay_}getAngle(){return this.angle_}},ns="opacity",rs="visible",ss="extent",os="zIndex",as="maxResolution",ls="minResolution",hs="maxZoom",cs="minZoom",us="source",ds="map";var gs=class extends X{constructor(t){super(),this.on,this.once,this.un,this.background_=t.background;const e=Object.assign({},t);"object"==typeof t.properties&&(delete e.properties,Object.assign(e,t.properties)),e[ns]=void 0!==t.opacity?t.opacity:1,Mt("number"==typeof e[ns],"Layer opacity must be a number"),e[rs]=void 0===t.visible||t.visible,e[os]=t.zIndex,e[as]=void 0!==t.maxResolution?t.maxResolution:1/0,e[ls]=void 0!==t.minResolution?t.minResolution:0,e[cs]=void 0!==t.minZoom?t.minZoom:-1/0,e[hs]=void 0!==t.maxZoom?t.maxZoom:1/0,this.className_=void 0!==e.className?e.className:"ol-layer",delete e.className,this.setProperties(e),this.state_=null}getBackground(){return this.background_}getClassName(){return this.className_}getLayerState(t){const e=this.state_||{layer:this,managed:void 0===t||t},i=this.getZIndex();return e.opacity=di(Math.round(100*this.getOpacity())/100,0,1),e.visible=this.getVisible(),e.extent=this.getExtent(),e.zIndex=void 0!==i||e.managed?i:1/0,e.maxResolution=this.getMaxResolution(),e.minResolution=Math.max(this.getMinResolution(),0),e.minZoom=this.getMinZoom(),e.maxZoom=this.getMaxZoom(),this.state_=e,e}getLayersArray(t){return j()}getLayerStatesArray(t){return j()}getExtent(){return this.get(ss)}getMaxResolution(){return this.get(as)}getMinResolution(){return this.get(ls)}getMinZoom(){return this.get(cs)}getMaxZoom(){return this.get(hs)}getOpacity(){return this.get(ns)}getSourceState(){return j()}getVisible(){return this.get(rs)}getZIndex(){return this.get(os)}setBackground(t){this.background_=t,this.changed()}setExtent(t){this.set(ss,t)}setMaxResolution(t){this.set(as,t)}setMinResolution(t){this.set(ls,t)}setMaxZoom(t){this.set(hs,t)}setMinZoom(t){this.set(cs,t)}setOpacity(t){Mt("number"==typeof t,"Layer opacity must be a number"),this.set(ns,t)}setVisible(t){this.set(rs,t)}setZIndex(t){this.set(os,t)}disposeInternal(){this.state_&&(this.state_.layer=null,this.state_=null),super.disposeInternal()}},fs="prerender",ps="postrender",ms="precompose",_s="postcompose",ys="rendercomplete",xs=0,vs=1,ws={CENTER:"center",RESOLUTION:"resolution",ROTATION:"rotation"};const Ss=42,Es=256;function Ts(t,e,i){return function(n,r,s,o,a){if(!n)return;if(!r&&!e)return n;const l=e?0:s[0]*r,h=e?0:s[1]*r,c=a?a[0]:0,u=a?a[1]:0;let d=t[0]+l/2+c,g=t[2]-l/2+c,f=t[1]+h/2+u,p=t[3]-h/2+u;d>g&&(d=(g+d)/2,g=d),f>p&&(f=(p+f)/2,p=f);let m=di(n[0],d,g),_=di(n[1],f,p);if(o&&i&&r){const t=30*r;m+=-t*Math.log(1+Math.max(0,d-n[0])/t)+t*Math.log(1+Math.max(0,n[0]-g)/t),_+=-t*Math.log(1+Math.max(0,f-n[1])/t)+t*Math.log(1+Math.max(0,n[1]-p)/t)}return[m,_]}}function Cs(t){return t}function bs(t,e,i,n){const r=Fe(e)/i[0],s=Re(e)/i[1];return n?Math.min(t,Math.max(r,s)):Math.min(t,Math.min(r,s))}function Rs(t,e,i){let n=Math.min(t,e);return n*=Math.log(1+50*Math.max(0,t/e-1))/50+1,i&&(n=Math.max(n,i),n/=Math.log(1+50*Math.max(0,i/t-1))/50+1),di(n,i/2,2*e)}function Ps(t,e,i,n){return e=void 0===e||e,function(r,s,o,l){if(void 0!==r){const h=t[0],c=t[t.length-1],u=i?bs(h,i,o,n):h;if(l)return e?Rs(r,u,c):di(r,c,u);const d=Math.min(u,r),g=Math.floor(a(t,d,s));return t[g]>u&&g1&&"function"==typeof arguments[i-1]&&(e=arguments[i-1],--i);let n=0;for(;n0}getInteracting(){return this.hints_[vs]>0}cancelAnimations(){let t;this.setHint(xs,-this.hints_[xs]);for(let e=0,i=this.animations_.length;e=0;--i){const n=this.animations_[i];let r=!0;for(let i=0,s=n.length;i0?o/s.duration:1;a>=1?(s.complete=!0,a=1):r=!1;const l=s.easing(a);if(s.sourceCenter){const t=s.sourceCenter[0],e=s.sourceCenter[1],i=s.targetCenter[0],n=s.targetCenter[1];this.nextCenter_=s.targetCenter;const r=t+l*(i-t),o=e+l*(n-e);this.targetCenter_=[r,o]}if(s.sourceResolution&&s.targetResolution){const t=1===l?s.targetResolution:s.sourceResolution+l*(s.targetResolution-s.sourceResolution);if(s.anchor){const e=this.getViewportSize_(this.getRotation()),i=this.constraints_.resolution(t,0,e,!0);this.targetCenter_=this.calculateCenterZoom(i,s.anchor)}this.nextResolution_=s.targetResolution,this.targetResolution_=t,this.applyTargetState_(!0)}if(void 0!==s.sourceRotation&&void 0!==s.targetRotation){const t=1===l?yi(s.targetRotation+Math.PI,2*Math.PI)-Math.PI:s.sourceRotation+l*(s.targetRotation-s.sourceRotation);if(s.anchor){const e=this.constraints_.rotation(t,!0);this.targetCenter_=this.calculateCenterRotate(e,s.anchor)}this.nextRotation_=s.targetRotation,this.targetRotation_=t}if(this.applyTargetState_(!0),e=!0,!s.complete)break}if(r){this.animations_[i]=null,this.setHint(xs,-1),this.nextCenter_=null,this.nextResolution_=NaN,this.nextRotation_=NaN;const t=n[0].callback;t&&Ds(t,!0)}}this.animations_=this.animations_.filter(Boolean),e&&void 0===this.updateAnimationKey_&&(this.updateAnimationKey_=requestAnimationFrame(this.updateAnimations_.bind(this)))}calculateCenterRotate(t,e){let i;const n=this.getCenterInternal();return void 0!==n&&(i=[n[0]-e[0],n[1]-e[1]],Mi(i,t-this.getRotation()),bi(i,e)),i}calculateCenterZoom(t,e){let i;const n=this.getCenterInternal(),r=this.getResolution();if(void 0!==n&&void 0!==r){i=[e[0]-t*(e[0]-n[0])/r,e[1]-t*(e[1]-n[1])/r]}return i}getViewportSize_(t){const e=this.viewportSize_;if(t){const i=e[0],n=e[1];return[Math.abs(i*Math.cos(t))+Math.abs(n*Math.sin(t)),Math.abs(i*Math.sin(t))+Math.abs(n*Math.cos(t))]}return e}setViewportSize(t){this.viewportSize_=Array.isArray(t)?t.slice():[100,100],this.getAnimating()||this.resolveConstraints(0)}getCenter(){const t=this.getCenterInternal();return t?yn(t,this.getProjection()):t}getCenterInternal(){return this.get(ws.CENTER)}getConstraints(){return this.constraints_}getConstrainResolution(){return this.get("constrainResolution")}getHints(t){return void 0!==t?(t[0]=this.hints_[0],t[1]=this.hints_[1],t):this.hints_.slice()}calculateExtent(t){return vn(this.calculateExtentInternal(t),this.getProjection())}calculateExtentInternal(t){t=t||this.getViewportSizeMinusPadding_();const e=this.getCenterInternal();Mt(e,"The view center is not defined");const i=this.getResolution();Mt(void 0!==i,"The view resolution is not defined");const n=this.getRotation();return Mt(void 0!==n,"The view rotation is not defined"),Ce(e,i,n,t)}getMaxResolution(){return this.maxResolution_}getMinResolution(){return this.minResolution_}getMaxZoom(){return this.getZoomForResolution(this.minResolution_)}setMaxZoom(t){this.applyOptions_(this.getUpdatedOptions_({maxZoom:t}))}getMinZoom(){return this.getZoomForResolution(this.maxResolution_)}setMinZoom(t){this.applyOptions_(this.getUpdatedOptions_({minZoom:t}))}setConstrainResolution(t){this.applyOptions_(this.getUpdatedOptions_({constrainResolution:t}))}getProjection(){return this.projection_}getResolution(){return this.get(ws.RESOLUTION)}getResolutions(){return this.resolutions_}getResolutionForExtent(t,e){return this.getResolutionForExtentInternal(wn(t,this.getProjection()),e)}getResolutionForExtentInternal(t,e){e=e||this.getViewportSizeMinusPadding_();const i=Fe(t)/e[0],n=Re(t)/e[1];return Math.max(i,n)}getResolutionForValueFunction(t){t=t||2;const e=this.getConstrainedResolution(this.maxResolution_),i=this.minResolution_,n=Math.log(e/i)/Math.log(t);return function(i){return e/Math.pow(t,i*n)}}getRotation(){return this.get(ws.ROTATION)}getValueForResolutionFunction(t){const e=Math.log(t||2),i=this.getConstrainedResolution(this.maxResolution_),n=this.minResolution_,r=Math.log(i/n)/e;return function(t){return Math.log(i/t)/e/r}}getViewportSizeMinusPadding_(t){let e=this.getViewportSize_(t);const i=this.padding_;return i&&(e=[e[0]-i[1]-i[3],e[1]-i[0]-i[2]]),e}getState(){const t=this.getProjection(),e=this.getResolution(),i=this.getRotation();let n=this.getCenterInternal();const r=this.padding_;if(r){const t=this.getViewportSizeMinusPadding_();n=zs(n,this.getViewportSize_(),[t[0]/2+r[3],t[1]/2+r[0]],e,i)}return{center:n.slice(0),projection:void 0!==t?t:null,resolution:e,nextCenter:this.nextCenter_,nextResolution:this.nextResolution_,nextRotation:this.nextRotation_,rotation:i,zoom:this.getZoom()}}getViewStateAndExtent(){return{viewState:this.getState(),extent:this.calculateExtent()}}getZoom(){let t;const e=this.getResolution();return void 0!==e&&(t=this.getZoomForResolution(e)),t}getZoomForResolution(t){let e,i,n=this.minZoom_||0;if(this.resolutions_){const r=a(this.resolutions_,t,1);n=r,e=this.resolutions_[r],i=r==this.resolutions_.length-1?2:e/this.resolutions_[r+1]}else e=this.maxResolution_,i=this.zoomFactor_;return n+Math.log(e/t)/Math.log(i)}getResolutionForZoom(t){if(this.resolutions_){if(this.resolutions_.length<=1)return 0;const e=di(Math.floor(t),0,this.resolutions_.length-2),i=this.resolutions_[e]/this.resolutions_[e+1];return this.resolutions_[e]/Math.pow(i,di(t-e,0,1))}return this.maxResolution_/Math.pow(this.zoomFactor_,t-this.minZoom_)}fit(t,e){let i;if(Mt(Array.isArray(t)||"function"==typeof t.getSimplifiedGeometry,"Invalid extent or geometry provided as `geometry`"),Array.isArray(t)){Mt(!Ae(t),"Cannot fit empty extent provided as `geometry`");i=Mr(wn(t,this.getProjection()))}else if("Circle"===t.getType()){const e=wn(t.getExtent(),this.getProjection());i=Mr(e),i.rotate(this.getRotation(),Ee(e))}else{const e=_n();i=e?t.clone().transform(e,this.getProjection()):t}this.fitInternal(i,e)}rotatedExtentForGeometry(t){const e=this.getRotation(),i=Math.cos(e),n=Math.sin(-e),r=t.getFlatCoordinates(),s=t.getStride();let o=1/0,a=1/0,l=-1/0,h=-1/0;for(let t=0,e=r.length;t=t.maxResolution)return!1;const n=e.zoom;return n>t.minZoom&&n<=t.maxZoom}var Xs=class extends gs{constructor(t){const e=Object.assign({},t);delete e.source,super(e),this.on,this.once,this.un,this.mapPrecomposeKey_=null,this.mapRenderKey_=null,this.sourceChangeKey_=null,this.renderer_=null,this.sourceReady_=!1,this.rendered=!1,t.render&&(this.render=t.render),t.map&&this.setMap(t.map),this.addChangeListener(us,this.handleSourcePropertyChange_);const i=t.source?t.source:null;this.setSource(i)}getLayersArray(t){return(t=t||[]).push(this),t}getLayerStatesArray(t){return(t=t||[]).push(this.getLayerState()),t}getSource(){return this.get(us)||null}getRenderSource(){return this.getSource()}getSourceState(){const t=this.getSource();return t?t.getState():"undefined"}handleSourceChange_(){this.changed(),this.sourceReady_||"ready"!==this.getSource().getState()||(this.sourceReady_=!0,this.dispatchEvent("sourceready"))}handleSourcePropertyChange_(){this.sourceChangeKey_&&(D(this.sourceChangeKey_),this.sourceChangeKey_=null),this.sourceReady_=!1;const t=this.getSource();t&&(this.sourceChangeKey_=A(t,v,this.handleSourceChange_,this),"ready"===t.getState()&&(this.sourceReady_=!0,setTimeout((()=>{this.dispatchEvent("sourceready")}),0))),this.changed()}getFeatures(t){return this.renderer_?this.renderer_.getFeatures(t):Promise.resolve([])}getData(t){return this.renderer_&&this.rendered?this.renderer_.getData(t):null}isVisible(t){let e;const i=this.getMapInternal();let n;!t&&i&&(t=i.getView()),e=t instanceof Us?{viewState:t.getState(),extent:t.calculateExtent()}:t,!e.layerStatesArray&&i&&(e.layerStatesArray=i.getLayerGroup().getLayerStatesArray()),n=e.layerStatesArray?e.layerStatesArray.find((t=>t.layer===this)):this.getLayerState();const r=this.getExtent();return Bs(n,e.viewState)&&(!r||Me(r,e.extent))}getAttributions(t){if(!this.isVisible(t))return[];let e;const i=this.getSource();if(i&&(e=i.getAttributions()),!e)return[];let n=e(t instanceof Us?t.getViewStateAndExtent():t);return Array.isArray(n)||(n=[n]),n}render(t,e){const i=this.getRenderer();return i.prepareFrame(t)?(this.rendered=!0,i.renderFrame(t,e)):null}unrender(){this.rendered=!1}getDeclutter(){}renderDeclutter(t,e){}renderDeferred(t){const e=this.getRenderer();e&&e.renderDeferred(t)}setMapInternal(t){t||this.unrender(),this.set(ds,t)}getMapInternal(){return this.get(ds)}setMap(t){this.mapPrecomposeKey_&&(D(this.mapPrecomposeKey_),this.mapPrecomposeKey_=null),t||this.changed(),this.mapRenderKey_&&(D(this.mapRenderKey_),this.mapRenderKey_=null),t&&(this.mapPrecomposeKey_=A(t,ms,(function(t){const e=t.frameState.layerStatesArray,i=this.getLayerState(!1);Mt(!e.some((function(t){return t.layer===i.layer})),"A layer can only be added to the map once. Use either `layer.setMap()` or `map.addLayer()`, not both."),e.push(i)}),this),this.mapRenderKey_=A(this,v,t.render,t),this.changed())}setSource(t){this.set(us,t)}getRenderer(){return this.renderer_||(this.renderer_=this.createRenderer()),this.renderer_}hasRenderer(){return!!this.renderer_}createRenderer(){return null}disposeInternal(){this.renderer_&&(this.renderer_.dispose(),delete this.renderer_),this.setSource(null),super.disposeInternal()}};function Vs(t,e,i,n,r){Ws(t,e,i||0,n||t.length-1,r||$s)}function Ws(t,e,i,n,r){for(;n>i;){if(n-i>600){var s=n-i+1,o=e-i+1,a=Math.log(s),l=.5*Math.exp(2*a/3),h=.5*Math.sqrt(a*l*(s-l)/s)*(o-s/2<0?-1:1);Ws(t,e,Math.max(i,Math.floor(e-o*l/s+h)),Math.min(n,Math.floor(e+(s-o)*l/s+h)),r)}var c=t[e],u=i,d=n;for(Zs(t,i,e),r(t[n],c)>0&&Zs(t,i,n);u0;)d--}0===r(t[i],c)?Zs(t,i,d):Zs(t,++d,n),d<=e&&(i=d+1),e<=d&&(n=d-1)}}function Zs(t,e,i){var n=t[e];t[e]=t[i],t[i]=n}function $s(t,e){return te?1:0}let Ys=class{constructor(t=9){this._maxEntries=Math.max(4,t),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),this.clear()}all(){return this._all(this.data,[])}search(t){let e=this.data;const i=[];if(!so(t,e))return i;const n=this.toBBox,r=[];for(;e;){for(let s=0;s=0&&r[e].children.length>this._maxEntries;)this._split(r,e),e--;this._adjustParentBBoxes(n,r,e)}_split(t,e){const i=t[e],n=i.children.length,r=this._minEntries;this._chooseSplitAxis(i,r,n);const s=this._chooseSplitIndex(i,r,n),o=oo(i.children.splice(s,i.children.length-s));o.height=i.height,o.leaf=i.leaf,Ks(i,this.toBBox),Ks(o,this.toBBox),e?t[e-1].children.push(o):this._splitRoot(i,o)}_splitRoot(t,e){this.data=oo([t,e]),this.data.height=t.height+1,this.data.leaf=!1,Ks(this.data,this.toBBox)}_chooseSplitIndex(t,e,i){let n,r=1/0,s=1/0;for(let o=e;o<=i-e;o++){const e=Hs(t,0,o,this.toBBox),a=Hs(t,o,i,this.toBBox),l=no(e,a),h=eo(e)+eo(a);l=e;n--){const e=t.children[n];Js(o,t.leaf?r(e):e),a+=io(o)}return a}_adjustParentBBoxes(t,e,i){for(let n=i;n>=0;n--)Js(e[n],t)}_condense(t){for(let e,i=t.length-1;i>=0;i--)0===t[i].children.length?i>0?(e=t[i-1].children,e.splice(e.indexOf(t[i]),1)):this.clear():Ks(t[i],this.toBBox)}};function qs(t,e,i){if(!i)return e.indexOf(t);for(let n=0;n=t.minX&&e.maxY>=t.minY}function oo(t){return{children:t,height:1,leaf:!0,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0}}function ao(t,e,i,n,r){const s=[e,i];for(;s.length;){if((i=s.pop())-(e=s.pop())<=n)continue;const o=e+Math.ceil((i-e)/n/2)*n;Vs(t,o,e,i,r),s.push(e,o,o,i)}}function lo(t){return t[0]>0&&t[1]>0}function ho(t,e,i){return void 0===i&&(i=[0,0]),i[0]=t[0]*e+.5|0,i[1]=t[1]*e+.5|0,i}function co(t,e){return Array.isArray(t)?t:(void 0===e?e=[t,t]:(e[0]=t,e[1]=t),e)}class uo{constructor(t){this.opacity_=t.opacity,this.rotateWithView_=t.rotateWithView,this.rotation_=t.rotation,this.scale_=t.scale,this.scaleArray_=co(t.scale),this.displacement_=t.displacement,this.declutterMode_=t.declutterMode}clone(){const t=this.getScale();return new uo({opacity:this.getOpacity(),scale:Array.isArray(t)?t.slice():t,rotation:this.getRotation(),rotateWithView:this.getRotateWithView(),displacement:this.getDisplacement().slice(),declutterMode:this.getDeclutterMode()})}getOpacity(){return this.opacity_}getRotateWithView(){return this.rotateWithView_}getRotation(){return this.rotation_}getScale(){return this.scale_}getScaleArray(){return this.scaleArray_}getDisplacement(){return this.displacement_}getDeclutterMode(){return this.declutterMode_}getAnchor(){return j()}getImage(t){return j()}getHitDetectionImage(){return j()}getPixelRatio(t){return 1}getImageState(){return j()}getImageSize(){return j()}getOrigin(){return j()}getSize(){return j()}setDisplacement(t){this.displacement_=t}setOpacity(t){this.opacity_=t}setRotateWithView(t){this.rotateWithView_=t}setRotation(t){this.rotation_=t}setScale(t){this.scale_=t,this.scaleArray_=co(t)}listenImageChange(t){j()}load(){j()}unlistenImageChange(t){j()}ready(){return Promise.resolve()}}var go=uo,fo={name:"rgb",min:[0,0,0],max:[255,255,255],channel:["red","green","blue"],alias:["RGB"]},po={name:"xyz",min:[0,0,0],channel:["X","Y","Z"],alias:["XYZ","ciexyz","cie1931"],whitepoint:{2:{A:[109.85,100,35.585],C:[98.074,100,118.232],D50:[96.422,100,82.521],D55:[95.682,100,92.149],D65:[95.045592705167,100,108.9057750759878],D75:[94.972,100,122.638],F2:[99.187,100,67.395],F7:[95.044,100,108.755],F11:[100.966,100,64.37],E:[100,100,100]},10:{A:[111.144,100,35.2],C:[97.285,100,116.145],D50:[96.72,100,81.427],D55:[95.799,100,90.926],D65:[94.811,100,107.304],D75:[94.416,100,120.641],F2:[103.28,100,69.026],F7:[95.792,100,107.687],F11:[103.866,100,65.627],E:[100,100,100]}}};po.max=po.whitepoint[2].D65,po.rgb=function(t,e){e=e||po.whitepoint[2].E;var i,n,r,s=t[0]/e[0],o=t[1]/e[1],a=t[2]/e[2];return n=-.96924363628087*s+1.87596750150772*o+.041555057407175*a,r=.055630079696993*s+-.20397695888897*o+1.056971514242878*a,i=(i=3.240969941904521*s+-1.537383177570093*o+-.498610760293*a)>.0031308?1.055*Math.pow(i,1/2.4)-.055:i*=12.92,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:n*=12.92,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:r*=12.92,[255*(i=Math.min(Math.max(0,i),1)),255*(n=Math.min(Math.max(0,n),1)),255*(r=Math.min(Math.max(0,r),1))]},fo.xyz=function(t,e){var i=t[0]/255,n=t[1]/255,r=t[2]/255,s=.21263900587151*(i=i>.04045?Math.pow((i+.055)/1.055,2.4):i/12.92)+.71516867876775*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.072192315360733*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92),o=.019330818715591*i+.11919477979462*n+.95053215224966*r;return[(.41239079926595*i+.35758433938387*n+.18048078840183*r)*(e=e||po.whitepoint[2].E)[0],s*e[1],o*e[2]]};var mo=po,_o={name:"luv",min:[0,-134,-140],max:[100,224,122],channel:["lightness","u","v"],alias:["LUV","cieluv","cie1976"],xyz:function(t,e,i){var n,r,s,o,a,l,h,c,u;if(s=t[0],o=t[1],a=t[2],0===s)return[0,0,0];return e=e||"D65",i=i||2,n=o/(13*s)+4*(h=mo.whitepoint[i][e][0])/(h+15*(c=mo.whitepoint[i][e][1])+3*(u=mo.whitepoint[i][e][2]))||0,r=a/(13*s)+9*c/(h+15*c+3*u)||0,[9*(l=s>8?c*Math.pow((s+16)/116,3):c*s*.0011070564598794539)*n/(4*r)||0,l,l*(12-3*n-20*r)/(4*r)||0]}};mo.luv=function(t,e,i){var n,r,s,o,a,l,h,c,u,d,g;e=e||"D65",i=i||2,d=4*(h=mo.whitepoint[i][e][0])/(h+15*(c=mo.whitepoint[i][e][1])+3*(u=mo.whitepoint[i][e][2])),g=9*c/(h+15*c+3*u),n=4*(o=t[0])/(o+15*(a=t[1])+3*(l=t[2]))||0,r=9*a/(o+15*a+3*l)||0;var f=a/c;return[s=f<=.008856451679035631?903.2962962962961*f:116*Math.pow(f,1/3)-16,13*s*(n-d),13*s*(r-g)]};var yo={name:"lchuv",channel:["lightness","chroma","hue"],alias:["LCHuv","cielchuv"],min:[0,0,0],max:[100,100,360],luv:function(t){var e,i=t[0],n=t[1];return e=t[2]/360*2*Math.PI,[i,n*Math.cos(e),n*Math.sin(e)]},xyz:function(t){return _o.xyz(yo.luv(t))}};function xo(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}_o.lchuv=function(t){var e=t[0],i=t[1],n=t[2],r=Math.sqrt(i*i+n*n),s=360*Math.atan2(n,i)/2/Math.PI;return s<0&&(s+=360),[e,r,s]},mo.lchuv=function(t){return _o.lchuv(mo.luv(t))};var vo=xo({aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}),wo={red:0,orange:60,yellow:120,green:180,blue:240,purple:300};var So={name:"hsl",min:[0,0,0],max:[360,100,100],channel:["hue","saturation","lightness"],alias:["HSL"],rgb:function(t){var e,i,n,r,s,o=t[0]/360,a=t[1]/100,l=t[2]/100,h=0;if(0===a)return[s=255*l,s,s];for(e=2*l-(i=l<.5?l*(1+a):l+a-l*a),r=[0,0,0];h<3;)(n=o+1/3*-(h-1))<0?n++:n>1&&n--,s=6*n<1?e+6*(i-e)*n:2*n<1?i:3*n<2?e+(i-e)*(2/3-n)*6:e,r[h++]=255*s;return r}};function Eo(t){var e;Array.isArray(t)&&t.raw&&(t=String.raw(...arguments)),t instanceof Number&&(t=+t);var i=function(t){var e,i,n=[],r=1;if("number"==typeof t)return{space:"rgb",values:[t>>>16,(65280&t)>>>8,255&t],alpha:1};if("number"==typeof t)return{space:"rgb",values:[t>>>16,(65280&t)>>>8,255&t],alpha:1};if(t=String(t).toLowerCase(),vo[t])n=vo[t].slice(),i="rgb";else if("transparent"===t)r=0,i="rgb",n=[0,0,0];else if("#"===t[0]){var s=t.slice(1),o=s.length;r=1,o<=4?(n=[parseInt(s[0]+s[0],16),parseInt(s[1]+s[1],16),parseInt(s[2]+s[2],16)],4===o&&(r=parseInt(s[3]+s[3],16)/255)):(n=[parseInt(s[0]+s[1],16),parseInt(s[2]+s[3],16),parseInt(s[4]+s[5],16)],8===o&&(r=parseInt(s[6]+s[7],16)/255)),n[0]||(n[0]=0),n[1]||(n[1]=0),n[2]||(n[2]=0),i="rgb"}else if(e=/^((?:rgba?|hs[lvb]a?|hwba?|cmyk?|xy[zy]|gray|lab|lchu?v?|[ly]uv|lms|oklch|oklab|color))\s*\(([^\)]*)\)/.exec(t)){var a=e[1],l="cmyk"===(i=a.replace(/a$/,""))?4:"gray"===i?1:3;n=e[2].trim().split(/\s*[,\/]\s*|\s+/),"color"===i&&(i=n.shift()),r=(n=n.map((function(t,e){if("%"===t[t.length-1])return t=parseFloat(t)/100,3===e?t:"rgb"===i?255*t:"h"===i[0]?100*t:"l"!==i[0]||e?"lab"===i?125*t:"lch"===i?e<2?150*t:360*t:"o"!==i[0]||e?"oklab"===i?.4*t:"oklch"===i?e<2?.4*t:360*t:t:t:100*t;if("h"===i[e]||2===e&&"h"===i[i.length-1]){if(void 0!==wo[t])return wo[t];if(t.endsWith("deg"))return parseFloat(t);if(t.endsWith("turn"))return 360*parseFloat(t);if(t.endsWith("grad"))return 360*parseFloat(t)/400;if(t.endsWith("rad"))return 180*parseFloat(t)/Math.PI}return"none"===t?0:parseFloat(t)}))).length>l?n.pop():1}else/[0-9](?:\s|\/|,)/.test(t)&&(n=t.match(/([0-9]+)/g).map((function(t){return parseFloat(t)})),i=t.match(/([a-z])/gi)?.join("")?.toLowerCase()||"rgb");return{space:i,values:n,alpha:r}}(t);if(!i.space)return[];const n="h"===i.space[0]?So.min:fo.min,r="h"===i.space[0]?So.max:fo.max;return(e=Array(3))[0]=Math.min(Math.max(i.values[0],n[0]),r[0]),e[1]=Math.min(Math.max(i.values[1],n[1]),r[1]),e[2]=Math.min(Math.max(i.values[2],n[2]),r[2]),"h"===i.space[0]&&(e=So.rgb(e)),e.push(Math.min(Math.max(i.alpha,0),1)),e}function To(t){return"string"==typeof t?t:Oo(t)}fo.hsl=function(t){var e,i,n=t[0]/255,r=t[1]/255,s=t[2]/255,o=Math.min(n,r,s),a=Math.max(n,r,s),l=a-o;return a===o?e=0:n===a?e=(r-s)/l:r===a?e=2+(s-n)/l:s===a&&(e=4+(n-r)/l),(e=Math.min(60*e,360))<0&&(e+=360),i=(o+a)/2,[e,100*(a===o?0:i<=.5?l/(a+o):l/(2-a-o)),100*i]};const Co=1024,bo={};let Ro=0;function Po(t){if(4===t.length)return t;const e=t.slice();return e[3]=1,e}function Io(t){const e=mo.lchuv(fo.xyz(t));return e[3]=t[3],e}function Lo(t){const e=mo.rgb(yo.xyz(t));return e[3]=t[3],e}function Fo(t){if(bo.hasOwnProperty(t))return bo[t];if(Ro>=Co){let t=0;for(const e in bo)0==(3&t++)&&(delete bo[e],--Ro)}const e=Eo(t);if(4!==e.length)throw new Error('Failed to parse "'+t+'" as color');for(const i of e)if(isNaN(i))throw new Error('Failed to parse "'+t+'" as color');return Ao(e),bo[t]=e,++Ro,e}function Mo(t){return Array.isArray(t)?t:Fo(t)}function Ao(t){return t[0]=di(t[0]+.5|0,0,255),t[1]=di(t[1]+.5|0,0,255),t[2]=di(t[2]+.5|0,0,255),t[3]=di(t[3],0,1),t}function Oo(t){let e=t[0];e!=(0|e)&&(e=e+.5|0);let i=t[1];i!=(0|i)&&(i=i+.5|0);let n=t[2];n!=(0|n)&&(n=n+.5|0);return"rgba("+e+","+i+","+n+","+(void 0===t[3]?1:Math.round(1e3*t[3])/1e3)+")"}function Do(t){try{return Fo(t),!0}catch(t){return!1}}class No{constructor(){this.cache_={},this.patternCache_={},this.cacheSize_=0,this.maxCacheSize_=32}clear(){this.cache_={},this.patternCache_={},this.cacheSize_=0}canExpireCache(){return this.cacheSize_>this.maxCacheSize_}expire(){if(this.canExpireCache()){let t=0;for(const e in this.cache_){const i=this.cache_[e];0!=(3&t++)||i.hasListener()||(delete this.cache_[e],delete this.patternCache_[e],--this.cacheSize_)}}}get(t,e,i){const n=ko(t,e,i);return n in this.cache_?this.cache_[n]:null}getPattern(t,e,i){const n=ko(t,e,i);return n in this.patternCache_?this.patternCache_[n]:null}set(t,e,i,n,r){const s=ko(t,e,i),o=s in this.cache_;this.cache_[s]=n,r&&(n.getImageState()===Yr.IDLE&&n.load(),n.getImageState()===Yr.LOADING?n.ready().then((()=>{this.patternCache_[s]=yt().createPattern(n.getImage(1),"repeat")})):this.patternCache_[s]=yt().createPattern(n.getImage(1),"repeat")),o||++this.cacheSize_}setSize(t){this.maxCacheSize_=t,this.expire()}}function ko(t,e,i){return e+":"+t+":"+(i?Mo(i):"null")}var Go=No;const jo=new No;let zo=null;class Uo extends x{constructor(t,e,i,n,r){super(),this.hitDetectionImage_=null,this.image_=t,this.crossOrigin_=i,this.canvas_={},this.color_=r,this.imageState_=void 0===n?Yr.IDLE:n,this.size_=t&&t.width&&t.height?[t.width,t.height]:null,this.src_=e,this.tainted_,this.ready_=null}initializeImage_(){this.image_=new Image,null!==this.crossOrigin_&&(this.image_.crossOrigin=this.crossOrigin_)}isTainted_(){if(void 0===this.tainted_&&this.imageState_===Yr.LOADED){zo||(zo=mt(1,1,void 0,{willReadFrequently:!0})),zo.drawImage(this.image_,0,0);try{zo.getImageData(0,0,1,1),this.tainted_=!1}catch(t){zo=null,this.tainted_=!0}}return!0===this.tainted_}dispatchChangeEvent_(){this.dispatchEvent(v)}handleImageError_(){this.imageState_=Yr.ERROR,this.dispatchChangeEvent_()}handleImageLoad_(){this.imageState_=Yr.LOADED,this.size_=[this.image_.width,this.image_.height],this.dispatchChangeEvent_()}getImage(t){return this.image_||this.initializeImage_(),this.replaceColor_(t),this.canvas_[t]?this.canvas_[t]:this.image_}getPixelRatio(t){return this.replaceColor_(t),this.canvas_[t]?t:1}getImageState(){return this.imageState_}getHitDetectionImage(){if(this.image_||this.initializeImage_(),!this.hitDetectionImage_)if(this.isTainted_()){const t=this.size_[0],e=this.size_[1],i=mt(t,e);i.fillRect(0,0,t,e),this.hitDetectionImage_=i.canvas}else this.hitDetectionImage_=this.image_;return this.hitDetectionImage_}getSize(){return this.size_}getSrc(){return this.src_}load(){if(this.imageState_===Yr.IDLE){this.image_||this.initializeImage_(),this.imageState_=Yr.LOADING;try{void 0!==this.src_&&(this.image_.src=this.src_)}catch(t){this.handleImageError_()}this.image_ instanceof HTMLImageElement&&Hr(this.image_,this.src_).then((t=>{this.image_=t,this.handleImageLoad_()})).catch(this.handleImageError_.bind(this))}}replaceColor_(t){if(!this.color_||this.canvas_[t]||this.imageState_!==Yr.LOADED)return;const e=this.image_,i=document.createElement("canvas");i.width=Math.ceil(e.width*t),i.height=Math.ceil(e.height*t);const n=i.getContext("2d");n.scale(t,t),n.drawImage(e,0,0),n.globalCompositeOperation="multiply",n.fillStyle=To(this.color_),n.fillRect(0,0,i.width/t,i.height/t),n.globalCompositeOperation="destination-in",n.drawImage(e,0,0),this.canvas_[t]=i}ready(){return this.ready_||(this.ready_=new Promise((t=>{this.imageState_===Yr.LOADED||this.imageState_===Yr.ERROR?t():this.addEventListener(v,(function e(){this.imageState_!==Yr.LOADED&&this.imageState_!==Yr.ERROR||(this.removeEventListener(v,e),t())}))}))),this.ready_}}function Bo(t,e,i,n,r,s){let o=void 0===e?void 0:jo.get(e,i,r);return o||(o=new Uo(t,t instanceof HTMLImageElement?t.src||void 0:e,i,n,r),jo.set(e,i,r,o,s)),s&&o&&!jo.getPattern(e,i,r)&&jo.set(e,i,r,o,s),o}var Xo=Uo;function Vo(t){return t?Array.isArray(t)?Oo(t):"object"==typeof t&&"src"in t?function(t){if(!t.offset||!t.size)return jo.getPattern(t.src,"anonymous",t.color);const e=t.src+":"+t.offset,i=jo.getPattern(e,void 0,t.color);if(i)return i;const n=jo.get(t.src,"anonymous",null);if(n.getImageState()!==Yr.LOADED)return null;const r=mt(t.size[0],t.size[1]);return r.drawImage(n.getImage(1),t.offset[0],t.offset[1],t.size[0],t.size[1],0,0,t.size[0],t.size[1]),Bo(r.canvas,e,void 0,Yr.LOADED,t.color,!0),jo.getPattern(e,void 0,t.color)}(t):t:null}const Wo="ol-hidden",Zo="ol-selectable",$o="ol-unselectable",Yo="ol-unsupported",qo="ol-control",Ko="ol-collapsed",Ho=new RegExp(["^\\s*(?=(?:(?:[-a-z]+\\s*){0,2}(italic|oblique))?)","(?=(?:(?:[-a-z]+\\s*){0,2}(small-caps))?)","(?=(?:(?:[-a-z]+\\s*){0,2}(bold(?:er)?|lighter|[1-9]00 ))?)","(?:(?:normal|\\1|\\2|\\3)\\s*){0,3}((?:xx?-)?","(?:small|large)|medium|smaller|larger|[\\.\\d]+(?:\\%|in|[cem]m|ex|p[ctx]))","(?:\\s*\\/\\s*(normal|[\\.\\d]+(?:\\%|in|[cem]m|ex|p[ctx])?))","?\\s*([-,\\\"\\'\\sa-z]+?)\\s*$"].join(""),"i"),Jo=["style","variant","weight","size","lineHeight","family"],Qo=function(t){const e=t.match(Ho);if(!e)return null;const i={lineHeight:"normal",size:"1.2em",style:"normal",weight:"normal",variant:"normal"};for(let t=0,n=Jo.length;tMath.max(e,_a(t,i))),0);return i[e]=n,n}function xa(t,e){const i=[],n=[],r=[];let s=0,o=0,a=0,l=0;for(let h=0,c=e.length;h<=c;h+=2){const u=e[h];if("\n"===u||h===c){s=Math.max(s,o),r.push(o),o=0,a+=l;continue}const d=e[h+1]||t.font,g=_a(d,u);i.push(g),o+=g;const f=pa(d);n.push(f),l=Math.max(l,f)}return{width:s,height:a,widths:i,heights:n,lineWidths:r}}function va(t,e,i,n,r,s,o,a,l,h,c){t.save(),1!==i&&(void 0===t.globalAlpha?t.globalAlpha=t=>t.globalAlpha*=i:t.globalAlpha*=i),e&&t.transform.apply(t,e),n.contextInstructions?(t.translate(l,h),t.scale(c[0],c[1]),function(t,e){const i=t.contextInstructions;for(let t=0,n=i.length;tthis.imageState_=Yr.LOADED)),this.render()}clone(){const t=this.getScale(),e=new wa({fill:this.getFill()?this.getFill().clone():void 0,points:this.getPoints(),radius:this.getRadius(),radius2:this.getRadius2(),angle:this.getAngle(),stroke:this.getStroke()?this.getStroke().clone():void 0,rotation:this.getRotation(),rotateWithView:this.getRotateWithView(),scale:Array.isArray(t)?t.slice():t,displacement:this.getDisplacement().slice(),declutterMode:this.getDeclutterMode()});return e.setOpacity(this.getOpacity()),e}getAnchor(){const t=this.size_,e=this.getDisplacement(),i=this.getScaleArray();return[t[0]/2-e[0]/i[0],t[1]/2+e[1]/i[1]]}getAngle(){return this.angle_}getFill(){return this.fill_}setFill(t){this.fill_=t,this.render()}getHitDetectionImage(){return this.hitDetectionCanvas_||(this.hitDetectionCanvas_=this.createHitDetectionCanvas_(this.renderOptions_)),this.hitDetectionCanvas_}getImage(t){let e=this.canvases_[t];if(!e){const i=this.renderOptions_,n=mt(i.size*t,i.size*t);this.draw_(i,n,t),e=n.canvas,this.canvases_[t]=e}return e}getPixelRatio(t){return t}getImageSize(){return this.size_}getImageState(){return this.imageState_}getOrigin(){return this.origin_}getPoints(){return this.points_}getRadius(){return this.radius_}getRadius2(){return this.radius2_}getSize(){return this.size_}getStroke(){return this.stroke_}setStroke(t){this.stroke_=t,this.render()}listenImageChange(t){}load(){}unlistenImageChange(t){}calculateLineJoinSize_(t,e,i){if(0===e||this.points_===1/0||"bevel"!==t&&"miter"!==t)return e;let n=this.radius_,r=void 0===this.radius2_?n:this.radius2_;if(n{this.patternImage_=null})),e.getImageState()===Yr.IDLE&&e.load(),e.getImageState()===Yr.LOADING&&(this.patternImage_=e)}this.color_=t}loading(){return!!this.patternImage_}ready(){return this.patternImage_?this.patternImage_.ready():Promise.resolve()}}var ba=Ca;class Ra{constructor(t){t=t||{},this.color_=void 0!==t.color?t.color:null,this.lineCap_=t.lineCap,this.lineDash_=void 0!==t.lineDash?t.lineDash:null,this.lineDashOffset_=t.lineDashOffset,this.lineJoin_=t.lineJoin,this.miterLimit_=t.miterLimit,this.width_=t.width}clone(){const t=this.getColor();return new Ra({color:Array.isArray(t)?t.slice():t||void 0,lineCap:this.getLineCap(),lineDash:this.getLineDash()?this.getLineDash().slice():void 0,lineDashOffset:this.getLineDashOffset(),lineJoin:this.getLineJoin(),miterLimit:this.getMiterLimit(),width:this.getWidth()})}getColor(){return this.color_}getLineCap(){return this.lineCap_}getLineDash(){return this.lineDash_}getLineDashOffset(){return this.lineDashOffset_}getLineJoin(){return this.lineJoin_}getMiterLimit(){return this.miterLimit_}getWidth(){return this.width_}setColor(t){this.color_=t}setLineCap(t){this.lineCap_=t}setLineDash(t){this.lineDash_=t}setLineDashOffset(t){this.lineDashOffset_=t}setLineJoin(t){this.lineJoin_=t}setMiterLimit(t){this.miterLimit_=t}setWidth(t){this.width_=t}}var Pa=Ra;class Ia{constructor(t){t=t||{},this.geometry_=null,this.geometryFunction_=Oa,void 0!==t.geometry&&this.setGeometry(t.geometry),this.fill_=void 0!==t.fill?t.fill:null,this.image_=void 0!==t.image?t.image:null,this.renderer_=void 0!==t.renderer?t.renderer:null,this.hitDetectionRenderer_=void 0!==t.hitDetectionRenderer?t.hitDetectionRenderer:null,this.stroke_=void 0!==t.stroke?t.stroke:null,this.text_=void 0!==t.text?t.text:null,this.zIndex_=t.zIndex}clone(){let t=this.getGeometry();return t&&"object"==typeof t&&(t=t.clone()),new Ia({geometry:t??void 0,fill:this.getFill()?this.getFill().clone():void 0,image:this.getImage()?this.getImage().clone():void 0,renderer:this.getRenderer()??void 0,stroke:this.getStroke()?this.getStroke().clone():void 0,text:this.getText()?this.getText().clone():void 0,zIndex:this.getZIndex()})}getRenderer(){return this.renderer_}setRenderer(t){this.renderer_=t}setHitDetectionRenderer(t){this.hitDetectionRenderer_=t}getHitDetectionRenderer(){return this.hitDetectionRenderer_}getGeometry(){return this.geometry_}getGeometryFunction(){return this.geometryFunction_}getFill(){return this.fill_}setFill(t){this.fill_=t}getImage(){return this.image_}setImage(t){this.image_=t}getStroke(){return this.stroke_}setStroke(t){this.stroke_=t}getText(){return this.text_}setText(t){this.text_=t}getZIndex(){return this.zIndex_}setGeometry(t){"function"==typeof t?this.geometryFunction_=t:"string"==typeof t?this.geometryFunction_=function(e){return e.get(t)}:t?void 0!==t&&(this.geometryFunction_=function(){return t}):this.geometryFunction_=Oa,this.geometry_=t}setZIndex(t){this.zIndex_=t}}function La(t){let e;if("function"==typeof t)e=t;else{let i;if(Array.isArray(t))i=t;else{Mt("function"==typeof t.getZIndex,"Expected an `Style` or an array of `Style`");i=[t]}e=function(){return i}}return e}let Fa=null;function Ma(t,e){if(!Fa){const t=new ba({color:"rgba(255,255,255,0.4)"}),e=new Pa({color:"#3399CC",width:1.25});Fa=[new Ia({image:new Ta({fill:t,stroke:e,radius:5}),fill:t,stroke:e})]}return Fa}function Aa(){const t={},e=[255,255,255,1],i=[0,153,255,1];return t.Polygon=[new Ia({fill:new ba({color:[255,255,255,.5]})})],t.MultiPolygon=t.Polygon,t.LineString=[new Ia({stroke:new Pa({color:e,width:5})}),new Ia({stroke:new Pa({color:i,width:3})})],t.MultiLineString=t.LineString,t.Circle=t.Polygon.concat(t.LineString),t.Point=[new Ia({image:new Ta({radius:6,fill:new ba({color:i}),stroke:new Pa({color:e,width:1.5})}),zIndex:1/0})],t.MultiPoint=t.Point,t.GeometryCollection=t.Polygon.concat(t.LineString,t.Point),t}function Oa(t){return t.getGeometry()}var Da=Ia;function Na(t,e,i,n){return void 0!==i&&void 0!==n?[i/t,n/e]:void 0!==i?i/t:void 0!==n?n/e:1}class ka extends go{constructor(t){const e=void 0!==(t=t||{}).opacity?t.opacity:1,i=void 0!==t.rotation?t.rotation:0,n=void 0!==t.scale?t.scale:1,r=void 0!==t.rotateWithView&&t.rotateWithView;super({opacity:e,rotation:i,scale:n,displacement:void 0!==t.displacement?t.displacement:[0,0],rotateWithView:r,declutterMode:t.declutterMode}),this.anchor_=void 0!==t.anchor?t.anchor:[.5,.5],this.normalizedAnchor_=null,this.anchorOrigin_=void 0!==t.anchorOrigin?t.anchorOrigin:"top-left",this.anchorXUnits_=void 0!==t.anchorXUnits?t.anchorXUnits:"fraction",this.anchorYUnits_=void 0!==t.anchorYUnits?t.anchorYUnits:"fraction",this.crossOrigin_=void 0!==t.crossOrigin?t.crossOrigin:null;const s=void 0!==t.img?t.img:null;let o,a=t.src;if(Mt(!(void 0!==a&&s),"`image` and `src` cannot be provided at the same time"),void 0!==a&&0!==a.length||!s||(a=s.src||U(s)),Mt(void 0!==a&&a.length>0,"A defined and non-empty `src` or `image` must be provided"),Mt(!((void 0!==t.width||void 0!==t.height)&&void 0!==t.scale),"`width` or `height` cannot be provided together with `scale`"),void 0!==t.src?o=Yr.IDLE:void 0!==s&&(o=s instanceof HTMLImageElement?s.complete?s.src?Yr.LOADED:Yr.IDLE:Yr.LOADING:Yr.LOADED),this.color_=void 0!==t.color?Mo(t.color):null,this.iconImage_=Bo(s,a,this.crossOrigin_,o,this.color_),this.offset_=void 0!==t.offset?t.offset:[0,0],this.offsetOrigin_=void 0!==t.offsetOrigin?t.offsetOrigin:"top-left",this.origin_=null,this.size_=void 0!==t.size?t.size:null,void 0!==t.width||void 0!==t.height){let e,i;if(t.size)[e,i]=t.size;else{const n=this.getImage(1);if(n.width&&n.height)e=n.width,i=n.height;else if(n instanceof HTMLImageElement){this.initialOptions_=t;const e=()=>{if(this.unlistenImageChange(e),!this.initialOptions_)return;const i=this.iconImage_.getSize();this.setScale(Na(i[0],i[1],t.width,t.height))};return void this.listenImageChange(e)}}void 0!==e&&this.setScale(Na(e,i,t.width,t.height))}}clone(){let t,e,i;return this.initialOptions_?(e=this.initialOptions_.width,i=this.initialOptions_.height):(t=this.getScale(),t=Array.isArray(t)?t.slice():t),new ka({anchor:this.anchor_.slice(),anchorOrigin:this.anchorOrigin_,anchorXUnits:this.anchorXUnits_,anchorYUnits:this.anchorYUnits_,color:this.color_&&this.color_.slice?this.color_.slice():this.color_||void 0,crossOrigin:this.crossOrigin_,offset:this.offset_.slice(),offsetOrigin:this.offsetOrigin_,opacity:this.getOpacity(),rotateWithView:this.getRotateWithView(),rotation:this.getRotation(),scale:t,width:e,height:i,size:null!==this.size_?this.size_.slice():void 0,src:this.getSrc(),displacement:this.getDisplacement().slice(),declutterMode:this.getDeclutterMode()})}getAnchor(){let t=this.normalizedAnchor_;if(!t){t=this.anchor_;const e=this.getSize();if("fraction"==this.anchorXUnits_||"fraction"==this.anchorYUnits_){if(!e)return null;t=this.anchor_.slice(),"fraction"==this.anchorXUnits_&&(t[0]*=e[0]),"fraction"==this.anchorYUnits_&&(t[1]*=e[1])}if("top-left"!=this.anchorOrigin_){if(!e)return null;t===this.anchor_&&(t=this.anchor_.slice()),"top-right"!=this.anchorOrigin_&&"bottom-right"!=this.anchorOrigin_||(t[0]=-t[0]+e[0]),"bottom-left"!=this.anchorOrigin_&&"bottom-right"!=this.anchorOrigin_||(t[1]=-t[1]+e[1])}this.normalizedAnchor_=t}const e=this.getDisplacement(),i=this.getScaleArray();return[t[0]-e[0]/i[0],t[1]+e[1]/i[1]]}setAnchor(t){this.anchor_=t,this.normalizedAnchor_=null}getColor(){return this.color_}getImage(t){return this.iconImage_.getImage(t)}getPixelRatio(t){return this.iconImage_.getPixelRatio(t)}getImageSize(){return this.iconImage_.getSize()}getImageState(){return this.iconImage_.getImageState()}getHitDetectionImage(){return this.iconImage_.getHitDetectionImage()}getOrigin(){if(this.origin_)return this.origin_;let t=this.offset_;if("top-left"!=this.offsetOrigin_){const e=this.getSize(),i=this.iconImage_.getSize();if(!e||!i)return null;t=t.slice(),"top-right"!=this.offsetOrigin_&&"bottom-right"!=this.offsetOrigin_||(t[0]=i[0]-e[0]-t[0]),"bottom-left"!=this.offsetOrigin_&&"bottom-right"!=this.offsetOrigin_||(t[1]=i[1]-e[1]-t[1])}return this.origin_=t,this.origin_}getSrc(){return this.iconImage_.getSrc()}getSize(){return this.size_?this.size_:this.iconImage_.getSize()}getWidth(){const t=this.getScaleArray();return this.size_?this.size_[0]*t[0]:this.iconImage_.getImageState()==Yr.LOADED?this.iconImage_.getSize()[0]*t[0]:void 0}getHeight(){const t=this.getScaleArray();return this.size_?this.size_[1]*t[1]:this.iconImage_.getImageState()==Yr.LOADED?this.iconImage_.getSize()[1]*t[1]:void 0}setScale(t){delete this.initialOptions_,super.setScale(t)}listenImageChange(t){this.iconImage_.addEventListener(v,t)}load(){this.iconImage_.load()}unlistenImageChange(t){this.iconImage_.removeEventListener(v,t)}ready(){return this.iconImage_.ready()}}var Ga=ka;class ja{constructor(t){t=t||{},this.font_=t.font,this.rotation_=t.rotation,this.rotateWithView_=t.rotateWithView,this.scale_=t.scale,this.scaleArray_=co(void 0!==t.scale?t.scale:1),this.text_=t.text,this.textAlign_=t.textAlign,this.justify_=t.justify,this.repeat_=t.repeat,this.textBaseline_=t.textBaseline,this.fill_=void 0!==t.fill?t.fill:new ba({color:"#333"}),this.maxAngle_=void 0!==t.maxAngle?t.maxAngle:Math.PI/4,this.placement_=void 0!==t.placement?t.placement:"point",this.overflow_=!!t.overflow,this.stroke_=void 0!==t.stroke?t.stroke:null,this.offsetX_=void 0!==t.offsetX?t.offsetX:0,this.offsetY_=void 0!==t.offsetY?t.offsetY:0,this.backgroundFill_=t.backgroundFill?t.backgroundFill:null,this.backgroundStroke_=t.backgroundStroke?t.backgroundStroke:null,this.padding_=void 0===t.padding?null:t.padding,this.declutterMode_=t.declutterMode}clone(){const t=this.getScale();return new ja({font:this.getFont(),placement:this.getPlacement(),repeat:this.getRepeat(),maxAngle:this.getMaxAngle(),overflow:this.getOverflow(),rotation:this.getRotation(),rotateWithView:this.getRotateWithView(),scale:Array.isArray(t)?t.slice():t,text:this.getText(),textAlign:this.getTextAlign(),justify:this.getJustify(),textBaseline:this.getTextBaseline(),fill:this.getFill()?this.getFill().clone():void 0,stroke:this.getStroke()?this.getStroke().clone():void 0,offsetX:this.getOffsetX(),offsetY:this.getOffsetY(),backgroundFill:this.getBackgroundFill()?this.getBackgroundFill().clone():void 0,backgroundStroke:this.getBackgroundStroke()?this.getBackgroundStroke().clone():void 0,padding:this.getPadding()||void 0,declutterMode:this.getDeclutterMode()})}getOverflow(){return this.overflow_}getFont(){return this.font_}getMaxAngle(){return this.maxAngle_}getPlacement(){return this.placement_}getRepeat(){return this.repeat_}getOffsetX(){return this.offsetX_}getOffsetY(){return this.offsetY_}getFill(){return this.fill_}getRotateWithView(){return this.rotateWithView_}getRotation(){return this.rotation_}getScale(){return this.scale_}getScaleArray(){return this.scaleArray_}getStroke(){return this.stroke_}getText(){return this.text_}getTextAlign(){return this.textAlign_}getJustify(){return this.justify_}getTextBaseline(){return this.textBaseline_}getBackgroundFill(){return this.backgroundFill_}getBackgroundStroke(){return this.backgroundStroke_}getPadding(){return this.padding_}getDeclutterMode(){return this.declutterMode_}setOverflow(t){this.overflow_=t}setFont(t){this.font_=t}setMaxAngle(t){this.maxAngle_=t}setOffsetX(t){this.offsetX_=t}setOffsetY(t){this.offsetY_=t}setPlacement(t){this.placement_=t}setRepeat(t){this.repeat_=t}setRotateWithView(t){this.rotateWithView_=t}setFill(t){this.fill_=t}setRotation(t){this.rotation_=t}setScale(t){this.scale_=t,this.scaleArray_=co(void 0!==t?t:1)}setStroke(t){this.stroke_=t}setText(t){this.text_=t}setTextAlign(t){this.textAlign_=t}setJustify(t){this.justify_=t}setTextBaseline(t){this.textBaseline_=t}setBackgroundFill(t){this.backgroundFill_=t}setBackgroundStroke(t){this.backgroundStroke_=t}setPadding(t){this.padding_=t}}var za=ja;let Ua=0;const Ba=0,Xa=1<",GreaterThanOrEqualTo:">=",LessThan:"<",LessThanOrEqualTo:"<=",Multiply:"*",Divide:"/",Add:"+",Subtract:"-",Clamp:"clamp",Mod:"%",Pow:"^",Abs:"abs",Floor:"floor",Ceil:"ceil",Round:"round",Sin:"sin",Cos:"cos",Atan:"atan",Sqrt:"sqrt",Match:"match",Between:"between",Interpolate:"interpolate",Coalesce:"coalesce",Case:"case",In:"in",Number:"number",String:"string",Array:"array",Color:"color",Id:"id",Band:"band",Palette:"palette",ToString:"to-string"},ol={[sl.Get]:dl((([t,e])=>void 0!==e?function(t){switch(t){case"string":return Wa;case"color":return Za;case"number":return Va;case"boolean":return Xa;case"number[]":return $a;default:throw new Error(`Unrecognized type hint: ${t}`)}}(e.value):Ya),ll(1,2),(function(t,e){const i=rl(t[1],e);if(!(i instanceof el))throw new Error("Expected a literal argument for get operation");if("string"!=typeof i.value)throw new Error("Expected a string argument for get operation");if(e.properties.add(i.value),3===t.length){return[i,rl(t[2],e)]}return[i]})),[sl.Var]:dl((([t])=>t.type),ll(1,1),(function(t,e,i,n){const r=t[1];if("string"!=typeof r)throw new Error("Expected a string argument for var operation");if(e.variables.add(r),!("variables"in e.style)||void 0===e.style.variables[r])return[new el(Ya,r)];const s=e.style.variables[r],o=rl(s,e);if(o.value=r,n&&!Qa(n,o.type))throw new Error(`The variable ${r} has type ${Ha(o.type)} but the following type was expected: ${Ha(n)}`);return[o]})),[sl.Id]:dl(Va|Wa,al,(function(t,e){e.featureId=!0})),[sl.Concat]:dl(Wa,ll(2,1/0),hl(Ya)),[sl.GeometryType]:dl(Wa,al,(function(t,e){e.geometryType=!0})),[sl.Resolution]:dl(Va,al),[sl.Zoom]:dl(Va,al),[sl.Time]:dl(Va,al),[sl.Any]:dl(Xa,ll(2,1/0),hl(Xa)),[sl.All]:dl(Xa,ll(2,1/0),hl(Xa)),[sl.Not]:dl(Xa,ll(1,1),hl(Xa)),[sl.Equal]:dl(Xa,ll(2,2),hl(Ya),cl),[sl.NotEqual]:dl(Xa,ll(2,2),hl(Ya),cl),[sl.GreaterThan]:dl(Xa,ll(2,2),hl(Ya),cl),[sl.GreaterThanOrEqualTo]:dl(Xa,ll(2,2),hl(Ya),cl),[sl.LessThan]:dl(Xa,ll(2,2),hl(Ya),cl),[sl.LessThanOrEqualTo]:dl(Xa,ll(2,2),hl(Ya),cl),[sl.Multiply]:dl((t=>{let e=Va|Za;for(let i=0;i{let e=Ya;for(let i=1;i{let e=Ya;for(let i=2;i{let e=Za|Va;for(let i=3;i{let e=Ya;for(let i=1;i3===t.length||4===t.length?$a|Za:$a),ll(1,1/0),hl(Va)),[sl.Color]:dl(Za,ll(1,4),hl(Va)),[sl.Band]:dl(Va,ll(1,3),hl(Va)),[sl.Palette]:dl(Za,ll(2,2),(function(t,e){const i=rl(t[1],e,Va);if(i.type!==Va)throw new Error(`The first argument of palette must be an number, got ${Ha(i.type)} instead`);const n=t[2];if(!Array.isArray(n))throw new Error("The second argument of palette must be an array");const r=new Array(n.length);for(let t=0;te){throw new Error(`Expected ${e===1/0?`${t} or more`:`${t} to ${e}`} arguments for ${r}, got ${s}`)}}}function hl(t){return function(e,i){const n=e[0],r=e.length-1,s=new Array(r);for(let o=0;o{for(let e=0;e{for(let e=0;et.properties[n];case sl.Var:return t=>t.variables[n];default:throw new Error(`Unsupported accessor operator ${t.operator}`)}}(t);case sl.Id:return t=>t.featureId;case sl.GeometryType:return t=>t.geometryType;case sl.Concat:{const e=t.args.map((t=>ml(t)));return t=>"".concat(...e.map((e=>e(t).toString())))}case sl.Resolution:return t=>t.resolution;case sl.Any:case sl.All:case sl.Between:case sl.In:case sl.Not:return function(t,e){const i=t.operator,n=t.args.length,r=new Array(n);for(let e=0;e{for(let e=0;e{for(let e=0;e{const e=r[0](t),i=r[1](t),n=r[2](t);return e>=i&&e<=n};case sl.In:return t=>{const e=r[0](t);for(let i=1;i!r[0](t);default:throw new Error(`Unsupported logical operator ${i}`)}}(t);case sl.Equal:case sl.NotEqual:case sl.LessThan:case sl.LessThanOrEqualTo:case sl.GreaterThan:case sl.GreaterThanOrEqualTo:return function(t,e){const i=t.operator,n=ml(t.args[0]),r=ml(t.args[1]);switch(i){case sl.Equal:return t=>n(t)===r(t);case sl.NotEqual:return t=>n(t)!==r(t);case sl.LessThan:return t=>n(t)n(t)<=r(t);case sl.GreaterThan:return t=>n(t)>r(t);case sl.GreaterThanOrEqualTo:return t=>n(t)>=r(t);default:throw new Error(`Unsupported comparison operator ${i}`)}}(t);case sl.Multiply:case sl.Divide:case sl.Add:case sl.Subtract:case sl.Clamp:case sl.Mod:case sl.Pow:case sl.Abs:case sl.Floor:case sl.Ceil:case sl.Round:case sl.Sin:case sl.Cos:case sl.Atan:case sl.Sqrt:return function(t,e){const i=t.operator,n=t.args.length,r=new Array(n);for(let e=0;e{let e=1;for(let i=0;ir[0](t)/r[1](t);case sl.Add:return t=>{let e=0;for(let i=0;ir[0](t)-r[1](t);case sl.Clamp:return t=>{const e=r[0](t),i=r[1](t);if(en?n:e};case sl.Mod:return t=>r[0](t)%r[1](t);case sl.Pow:return t=>Math.pow(r[0](t),r[1](t));case sl.Abs:return t=>Math.abs(r[0](t));case sl.Floor:return t=>Math.floor(r[0](t));case sl.Ceil:return t=>Math.ceil(r[0](t));case sl.Round:return t=>Math.round(r[0](t));case sl.Sin:return t=>Math.sin(r[0](t));case sl.Cos:return t=>Math.cos(r[0](t));case sl.Atan:return 2===n?t=>Math.atan2(r[0](t),r[1](t)):t=>Math.atan(r[0](t));case sl.Sqrt:return t=>Math.sqrt(r[0](t));default:throw new Error(`Unsupported numeric operator ${i}`)}}(t);case sl.Case:return function(t,e){const i=t.args.length,n=new Array(i);for(let e=0;e{for(let e=0;e{const e=n[0](t);for(let r=1;r{const e=n[0](t),r=n[1](t);let s,o;for(let a=2;a=r)return 2===a?l:h?yl(e,r,s,o,i,l):_l(e,r,s,o,i,l);s=i,o=l}return o}}(t);case sl.ToString:return function(t,e){const i=t.operator,n=t.args.length,r=new Array(n);for(let e=0;e{const i=r[0](e);return t.args[0].type===Za?Oo(i):i.toString()};throw new Error(`Unsupported convert operator ${i}`)}(t);default:throw new Error(`Unsupported operator ${i}`)}}function _l(t,e,i,n,r,s){const o=r-i;if(0===o)return n;const a=e-i;return n+(1===t?a/o:(Math.pow(t,a)-1)/(Math.pow(t,o)-1))*(s-n)}function yl(t,e,i,n,r,s){if(0===r-i)return n;const o=Io(n),a=Io(s);let l=a[2]-o[2];l>180?l-=360:l<-180&&(l+=360);return Ao(Lo([_l(t,e,i,o[0],r,a[0]),_l(t,e,i,o[1],r,a[1]),o[2]+_l(t,e,i,0,r,l),_l(t,e,i,n[3],r,s[3])]))}function xl(t){return!0}function vl(t){const e=nl(),i=Sl(t,e),n={variables:{},properties:{},resolution:NaN,featureId:null,geometryType:""};return function(t,r){if(n.properties=t.getPropertiesInternal(),n.resolution=r,e.featureId){const e=t.getId();n.featureId=void 0!==e?e:null}return e.geometryType&&(n.geometryType=gl(t.getGeometry())),i(n)}}function wl(t){const e=nl(),i=t.length,n=new Array(i);for(let r=0;r4)throw new Error(`Expected a color with 3 or 4 values for ${e}`);return i}function Bl(t,e){const i=Gl(t,e);if(2!==i.length)throw new Error(`Expected an array of two numbers for ${e}`);return i}const Xl="renderOrder";var Vl=class extends Xs{constructor(t){t=t||{};const e=Object.assign({},t);delete e.style,delete e.renderBuffer,delete e.updateWhileAnimating,delete e.updateWhileInteracting,super(e),this.declutter_=t.declutter?String(t.declutter):void 0,this.renderBuffer_=void 0!==t.renderBuffer?t.renderBuffer:100,this.style_=null,this.styleFunction_=void 0,this.setStyle(t.style),this.updateWhileAnimating_=void 0!==t.updateWhileAnimating&&t.updateWhileAnimating,this.updateWhileInteracting_=void 0!==t.updateWhileInteracting&&t.updateWhileInteracting}getDeclutter(){return this.declutter_}getFeatures(t){return super.getFeatures(t)}getRenderBuffer(){return this.renderBuffer_}getRenderOrder(){return this.get(Xl)}getStyle(){return this.style_}getStyleFunction(){return this.styleFunction_}getUpdateWhileAnimating(){return this.updateWhileAnimating_}getUpdateWhileInteracting(){return this.updateWhileInteracting_}renderDeclutter(t,e){const i=this.getDeclutter();i in t.declutter==!1&&(t.declutter[i]=new Ys(9)),this.getRenderer().renderDeclutter(t,e)}setRenderOrder(t){this.set(Xl,t)}setStyle(t){this.style_=function(t){if(void 0===t)return Ma;if(!t)return null;if("function"==typeof t)return t;if(t instanceof Da)return t;if(!Array.isArray(t))return wl([t]);if(0===t.length)return[];const e=t.length,i=t[0];if(i instanceof Da){const i=new Array(e);for(let n=0;n=0;--r){const s=f[r],u=s.layer;if(u.hasRenderer()&&Bs(s,h)&&o.call(a,u)){const r=u.getRenderer(),o=u.getSource();if(r&&o){const a=o.getWrapX()?d:t,h=c.bind(null,s.managed);_[0]=a[0]+g[n][0],_[1]=a[1]+g[n][1],l=r.forEachFeatureAtCoordinate(_,e,i,h,m)}if(l)return l}}if(0===m.length)return;const y=1/m.length;return m.forEach(((t,e)=>t.distanceSq+=e*y)),m.sort(((t,e)=>t.distanceSq-e.distanceSq)),m.some((t=>l=t.callback(t.feature,t.layer,t.geometry))),l}hasFeatureAtCoordinate(t,e,i,n,r,s){return void 0!==this.forEachFeatureAtCoordinate(t,e,i,n,d,this,r,s)}getMap(){return this.map_}renderFrame(t){j()}scheduleExpireIconCache(t){jo.canExpireCache()&&t.postRenderFunctions.push(Wl)}};var $l=class extends e{constructor(t,e,i,n){super(t),this.inversePixelTransform=e,this.frameState=i,this.context=n}};var Yl=class extends Zl{constructor(t){super(t),this.fontChangeListenerKey_=A(ca,i,t.redrawText.bind(t)),this.element_=document.createElement("div");const e=this.element_.style;e.position="absolute",e.width="100%",e.height="100%",e.zIndex="0",this.element_.className=$o+" ol-layers";const n=t.getViewport();n.insertBefore(this.element_,n.firstChild||null),this.children_=[],this.renderedVisible_=!0}dispatchRenderEvent(t,e){const i=this.getMap();if(i.hasListener(t)){const n=new $l(t,void 0,e);i.dispatchEvent(n)}}disposeInternal(){D(this.fontChangeListenerKey_),this.element_.parentNode.removeChild(this.element_),super.disposeInternal()}renderFrame(t){if(!t)return void(this.renderedVisible_&&(this.element_.style.display="none",this.renderedVisible_=!1));this.calculateMatrices2D(t),this.dispatchRenderEvent(ms,t);const e=t.layerStatesArray.sort((function(t,e){return t.zIndex-e.zIndex}));e.some((t=>t.layer instanceof Vl&&t.layer.getDeclutter()))&&(t.declutter={});const i=t.viewState;this.children_.length=0;const n=[];let r=null;for(let s=0,o=e.length;s=0;--i){const n=e[i],r=n.layer;r.getDeclutter()&&r.renderDeclutter(t,n)}e.forEach((e=>e.layer.renderDeferred(t)))}};class ql extends e{constructor(t,e){super(t),this.layer=e}}const Kl="layers";class Hl extends gs{constructor(t){t=t||{};const e=Object.assign({},t);delete e.layers;let i=t.layers;super(e),this.on,this.once,this.un,this.layersListenerKeys_=[],this.listenerKeys_={},this.addChangeListener(Kl,this.handleLayersChanged_),i?Array.isArray(i)?i=new Y(i.slice(),{unique:!0}):Mt("function"==typeof i.getArray,"Expected `layers` to be an array or a `Collection`"):i=new Y(void 0,{unique:!0}),this.setLayers(i)}handleLayerChange_(){this.changed()}handleLayersChanged_(){this.layersListenerKeys_.forEach(D),this.layersListenerKeys_.length=0;const t=this.getLayers();this.layersListenerKeys_.push(A(t,V,this.handleLayersAdd_,this),A(t,W,this.handleLayersRemove_,this));for(const t in this.listenerKeys_)this.listenerKeys_[t].forEach(D);_(this.listenerKeys_);const e=t.getArray();for(let t=0,i=e.length;t{this.clickTimeoutId_=void 0;const e=new th(eh.SINGLECLICK,this.map_,t);this.dispatchEvent(e)}),250)}updateActivePointers_(t){const e=t,i=e.pointerId;if(e.type==eh.POINTERUP||e.type==eh.POINTERCANCEL){delete this.trackedTouches_[i];for(const t in this.trackedTouches_)if(this.trackedTouches_[t].target!==e.target){delete this.trackedTouches_[t];break}}else e.type!=eh.POINTERDOWN&&e.type!=eh.POINTERMOVE||(this.trackedTouches_[i]=e);this.activePointers_=Object.values(this.trackedTouches_)}handlePointerUp_(t){this.updateActivePointers_(t);const e=new th(eh.POINTERUP,this.map_,t,void 0,void 0,this.activePointers_);this.dispatchEvent(e),this.emulateClicks_&&!e.defaultPrevented&&!this.dragging_&&this.isMouseActionButton_(t)&&this.emulateClick_(this.down_),0===this.activePointers_.length&&(this.dragListenerKeys_.forEach(D),this.dragListenerKeys_.length=0,this.dragging_=!1,this.down_=null)}isMouseActionButton_(t){return 0===t.button}handlePointerDown_(t){this.emulateClicks_=0===this.activePointers_.length,this.updateActivePointers_(t);const e=new th(eh.POINTERDOWN,this.map_,t,void 0,void 0,this.activePointers_);if(this.dispatchEvent(e),this.down_=new PointerEvent(t.type,t),Object.defineProperty(this.down_,"target",{writable:!1,value:t.target}),0===this.dragListenerKeys_.length){const t=this.map_.getOwnerDocument();this.dragListenerKeys_.push(A(t,eh.POINTERMOVE,this.handlePointerMove_,this),A(t,eh.POINTERUP,this.handlePointerUp_,this),A(this.element_,eh.POINTERCANCEL,this.handlePointerUp_,this)),this.element_.getRootNode&&this.element_.getRootNode()!==t&&this.dragListenerKeys_.push(A(this.element_.getRootNode(),eh.POINTERUP,this.handlePointerUp_,this))}}handlePointerMove_(t){if(this.isMoving_(t)){this.updateActivePointers_(t),this.dragging_=!0;const e=new th(eh.POINTERDRAG,this.map_,t,this.dragging_,void 0,this.activePointers_);this.dispatchEvent(e)}}relayMoveEvent_(t){this.originalPointerMoveEvent_=t;const e=!(!this.down_||!this.isMoving_(t));this.dispatchEvent(new th(eh.POINTERMOVE,this.map_,t,e))}handleTouchMove_(t){const e=this.originalPointerMoveEvent_;e&&!e.defaultPrevented||"boolean"==typeof t.cancelable&&!0!==t.cancelable||t.preventDefault()}isMoving_(t){return this.dragging_||Math.abs(t.clientX-this.down_.clientX)>this.moveTolerance_||Math.abs(t.clientY-this.down_.clientY)>this.moveTolerance_}disposeInternal(){this.relayedListenerKey_&&(D(this.relayedListenerKey_),this.relayedListenerKey_=null),this.element_.removeEventListener(F,this.boundHandleTouchMove_),this.pointerdownListenerKey_&&(D(this.pointerdownListenerKey_),this.pointerdownListenerKey_=null),this.dragListenerKeys_.forEach(D),this.dragListenerKeys_.length=0,this.element_=null,super.disposeInternal()}},ah="postrender",lh="movestart",hh="moveend",ch="loadstart",uh="loadend",dh="layergroup",gh="size",fh="target",ph="view";const mh=1/0;var _h=class{constructor(t,e){this.priorityFunction_=t,this.keyFunction_=e,this.elements_=[],this.priorities_=[],this.queuedElements_={}}clear(){this.elements_.length=0,this.priorities_.length=0,_(this.queuedElements_)}dequeue(){const t=this.elements_,e=this.priorities_,i=t[0];1==t.length?(t.length=0,e.length=0):(t[0]=t.pop(),e[0]=e.pop(),this.siftUp_(0));const n=this.keyFunction_(i);return delete this.queuedElements_[n],i}enqueue(t){Mt(!(this.keyFunction_(t)in this.queuedElements_),"Tried to enqueue an `element` that was already added to the queue");const e=this.priorityFunction_(t);return e!=mh&&(this.elements_.push(t),this.priorities_.push(e),this.queuedElements_[this.keyFunction_(t)]=!0,this.siftDown_(0,this.elements_.length-1),!0)}getCount(){return this.elements_.length}getLeftChildIndex_(t){return 2*t+1}getRightChildIndex_(t){return 2*t+2}getParentIndex_(t){return t-1>>1}heapify_(){let t;for(t=(this.elements_.length>>1)-1;t>=0;t--)this.siftUp_(t)}isEmpty(){return 0===this.elements_.length}isKeyQueued(t){return t in this.queuedElements_}isQueued(t){return this.isKeyQueued(this.keyFunction_(t))}siftUp_(t){const e=this.elements_,i=this.priorities_,n=e.length,r=e[t],s=i[t],o=t;for(;t>1;){const r=this.getLeftChildIndex_(t),s=this.getRightChildIndex_(t),o=st;){const t=this.getParentIndex_(e);if(!(n[t]>s))break;i[e]=i[t],n[e]=n[t],e=t}i[e]=r,n[e]=s}reprioritize(){const t=this.priorityFunction_,e=this.elements_,i=this.priorities_;let n=0;const r=e.length;let s,o,a;for(o=0;o0;)n=this.dequeue()[0],r=n.getKey(),i=n.getState(),i!==q||r in this.tilesLoadingKeys_||(this.tilesLoadingKeys_[r]=!0,++this.tilesLoading_,++s,n.load())}};function xh(t,e,i,n,r){if(!t||!(i in t.wantedTiles))return mh;if(!t.wantedTiles[i][e.getKey()])return mh;const s=t.viewState.center,o=n[0]-s[0],a=n[1]-s[1];return 65536*Math.log(r)+Math.sqrt(o*o+a*a)/r}var vh=class extends X{constructor(t){super();const e=t.element;!e||t.target||e.style.pointerEvents||(e.style.pointerEvents="auto"),this.element=e||null,this.target_=null,this.map_=null,this.listenerKeys=[],t.render&&(this.render=t.render),t.target&&this.setTarget(t.target)}disposeInternal(){Et(this.element),super.disposeInternal()}getMap(){return this.map_}setMap(t){this.map_&&Et(this.element);for(let t=0,e=this.listenerKeys.length;te.getAttributions(t))))),i=!this.getMap().getAllLayers().some((t=>t.getSource()&&!1===t.getSource().getAttributionsCollapsible()));return this.overrideCollapsible_||this.setCollapsible(i),e}async updateElement_(t){if(!t)return void(this.renderedVisible_&&(this.element.style.display="none",this.renderedVisible_=!1));const e=await Promise.all(this.collectSourceAttributions_(t).map((t=>m((()=>t))))),i=e.length>0;if(this.renderedVisible_!=i&&(this.element.style.display=i?"":"none",this.renderedVisible_=i),!c(e,this.renderedAttributions_)){Tt(this.ulElement_);for(let t=0,i=e.length;t0&&e%(2*Math.PI)!=0?t.animate({rotation:0,duration:this.duration_,easing:et}):t.setRotation(0))}render(t){const e=t.frameState;if(!e)return;const i=e.viewState.rotation;if(i!=this.rotation_){const t="rotate("+i+"rad)";if(this.autoHide_){const t=this.element.classList.contains(Wo);t||0!==i?t&&0!==i&&this.element.classList.remove(Wo):this.element.classList.add(Wo)}this.label_.style.transform=t}this.rotation_=i}};var Eh=class extends vh{constructor(t){t=t||{},super({element:document.createElement("div"),target:t.target});const e=void 0!==t.className?t.className:"ol-zoom",i=void 0!==t.delta?t.delta:1,n=void 0!==t.zoomInClassName?t.zoomInClassName:e+"-in",r=void 0!==t.zoomOutClassName?t.zoomOutClassName:e+"-out",s=void 0!==t.zoomInLabel?t.zoomInLabel:"+",o=void 0!==t.zoomOutLabel?t.zoomOutLabel:"–",a=void 0!==t.zoomInTipLabel?t.zoomInTipLabel:"Zoom in",l=void 0!==t.zoomOutTipLabel?t.zoomOutTipLabel:"Zoom out",h=document.createElement("button");h.className=n,h.setAttribute("type","button"),h.title=a,h.appendChild("string"==typeof s?document.createTextNode(s):s),h.addEventListener(E,this.handleClick_.bind(this,i),!1);const c=document.createElement("button");c.className=r,c.setAttribute("type","button"),c.title=l,c.appendChild("string"==typeof o?document.createTextNode(o):o),c.addEventListener(E,this.handleClick_.bind(this,-i),!1);const u=e+" "+$o+" "+qo,d=this.element;d.className=u,d.appendChild(h),d.appendChild(c),this.duration_=void 0!==t.duration?t.duration:250}handleClick_(t,e){e.preventDefault(),this.zoomByDelta_(t)}zoomByDelta_(t){const e=this.getMap().getView();if(!e)return;const i=e.getZoom();if(void 0!==i){const n=e.getConstrainedZoom(i+t);this.duration_>0?(e.getAnimating()&&e.cancelAnimations(),e.animate({zoom:n,duration:this.duration_,easing:et})):e.setZoom(n)}}};function Th(t){t=t||{};const e=new Y;(void 0===t.zoom||t.zoom)&&e.push(new Eh(t.zoomOptions));(void 0===t.rotate||t.rotate)&&e.push(new Sh(t.rotateOptions));return(void 0===t.attribution||t.attribution)&&e.push(new wh(t.attributionOptions)),e}var Ch="active";function bh(t,e,i){const n=t.getCenterInternal();if(n){const r=[n[0]+e[0],n[1]+e[1]];t.animateInternal({duration:void 0!==i?i:250,easing:nt,center:t.getConstrainedCenter(r)})}}function Rh(t,e,i,n){const r=t.getZoom();if(void 0===r)return;const s=t.getConstrainedZoom(r+e),o=t.getResolutionForZoom(s);t.getAnimating()&&t.cancelAnimations(),t.animate({resolution:o,anchor:i,duration:void 0!==n?n:250,easing:et})}var Ph=class extends X{constructor(t){super(),this.on,this.once,this.un,t&&t.handleEvent&&(this.handleEvent=t.handleEvent),this.map_=null,this.setActive(!0)}getActive(){return this.get(Ch)}getMap(){return this.map_}handleEvent(t){return!0}setActive(t){this.set(Ch,t)}setMap(t){this.map_=t}};var Ih=class extends Ph{constructor(t){super(),t=t||{},this.delta_=t.delta?t.delta:1,this.duration_=void 0!==t.duration?t.duration:250}handleEvent(t){let e=!1;if(t.type==eh.DBLCLICK){const i=t.originalEvent,n=t.map,r=t.coordinate,s=i.shiftKey?-this.delta_:this.delta_;Rh(n.getView(),s,r,this.duration_),i.preventDefault(),e=!0}return!e}};function Lh(t){const e=t.length;let i=0,n=0;for(let r=0;r0}}else if(t.type==eh.POINTERDOWN){const i=this.handleDownEvent(t);this.handlingDownUpSequence=i,e=this.stopDown(i)}else t.type==eh.POINTERMOVE&&this.handleMoveEvent(t);return!e}handleMoveEvent(t){}handleUpEvent(t){return!1}stopDown(t){return t}updateTrackedPointers_(t){t.activePointers&&(this.targetPointers=t.activePointers)}};function Mh(t){const e=arguments;return function(t){let i=!0;for(let n=0,r=e.length;n0&&this.condition_(t)){const e=t.map.getView();return this.lastCentroid=null,e.getAnimating()&&e.cancelAnimations(),this.kinetic_&&this.kinetic_.begin(),this.noKinetic_=this.targetPointers.length>1,!0}return!1}};var Yh=class extends Fh{constructor(t){t=t||{},super({stopDown:g}),this.condition_=t.condition?t.condition:Oh,this.lastAngle_=void 0,this.duration_=void 0!==t.duration?t.duration:250}handleDragEvent(t){if(!Wh(t))return;const e=t.map,i=e.getView();if(i.getConstraints().rotation===Fs)return;const n=e.getSize(),r=t.pixel,s=Math.atan2(n[1]/2-r[1],r[0]-n[0]/2);if(void 0!==this.lastAngle_){const t=s-this.lastAngle_;i.adjustRotationInternal(-t)}this.lastAngle_=s}handleUpEvent(t){if(!Wh(t))return!0;return t.map.getView().endInteraction(this.duration_),!1}handleDownEvent(t){if(!Wh(t))return!1;if(Gh(t)&&this.condition_(t)){return t.map.getView().beginInteraction(),this.lastAngle_=void 0,!0}return!1}};var qh=class extends n{constructor(t){super(),this.geometry_=null,this.element_=document.createElement("div"),this.element_.style.position="absolute",this.element_.style.pointerEvents="auto",this.element_.className="ol-box "+t,this.map_=null,this.startPixel_=null,this.endPixel_=null}disposeInternal(){this.setMap(null)}render_(){const t=this.startPixel_,e=this.endPixel_,i="px",n=this.element_.style;n.left=Math.min(t[0],e[0])+i,n.top=Math.min(t[1],e[1])+i,n.width=Math.abs(e[0]-t[0])+i,n.height=Math.abs(e[1]-t[1])+i}setMap(t){if(this.map_){this.map_.getOverlayContainer().removeChild(this.element_);const t=this.element_.style;t.left="inherit",t.top="inherit",t.width="inherit",t.height="inherit"}this.map_=t,this.map_&&this.map_.getOverlayContainer().appendChild(this.element_)}setPixels(t,e){this.startPixel_=t,this.endPixel_=e,this.createOrUpdateGeometry(),this.render_()}createOrUpdateGeometry(){const t=this.startPixel_,e=this.endPixel_,i=[t,[t[0],e[1]],e,[e[0],t[1]]].map(this.map_.getCoordinateFromPixelInternal,this.map_);i[4]=i[0].slice(),this.geometry_?this.geometry_.setCoordinates([i]):this.geometry_=new Lr([i])}getGeometry(){return this.geometry_}};const Kh="boxstart",Hh="boxdrag",Jh="boxend",Qh="boxcancel";class tc extends e{constructor(t,e,i){super(t),this.coordinate=e,this.mapBrowserEvent=i}}var ec=class extends Fh{constructor(t){super(),this.on,this.once,this.un,t=t||{},this.box_=new qh(t.className||"ol-dragbox"),this.minArea_=void 0!==t.minArea?t.minArea:64,t.onBoxEnd&&(this.onBoxEnd=t.onBoxEnd),this.startPixel_=null,this.condition_=t.condition?t.condition:Gh,this.boxEndCondition_=t.boxEndCondition?t.boxEndCondition:this.defaultBoxEndCondition}defaultBoxEndCondition(t,e,i){const n=i[0]-e[0],r=i[1]-e[1];return n*n+r*r>=this.minArea_}getGeometry(){return this.box_.getGeometry()}handleDragEvent(t){this.box_.setPixels(this.startPixel_,t.pixel),this.dispatchEvent(new tc(Hh,t.coordinate,t))}handleUpEvent(t){this.box_.setMap(null);const e=this.boxEndCondition_(t,this.startPixel_,t.pixel);return e&&this.onBoxEnd(t),this.dispatchEvent(new tc(e?Jh:Qh,t.coordinate,t)),!1}handleDownEvent(t){return!!this.condition_(t)&&(this.startPixel_=t.pixel,this.box_.setMap(t.map),this.box_.setPixels(this.startPixel_,this.startPixel_),this.dispatchEvent(new tc(Kh,t.coordinate,t)),!0)}onBoxEnd(t){}};var ic=class extends ec{constructor(t){super({condition:(t=t||{}).condition?t.condition:Xh,className:t.className||"ol-dragzoom",minArea:t.minArea}),this.duration_=void 0!==t.duration?t.duration:200,this.out_=void 0!==t.out&&t.out}onBoxEnd(t){const e=this.getMap().getView();let i=this.getGeometry();if(this.out_){const t=e.rotatedExtentForGeometry(i),n=e.getResolutionForExtentInternal(t),r=e.getResolution()/n;i=i.clone(),i.scale(r*r)}e.fitInternal(i,{duration:this.duration_,easing:et})}},nc="ArrowLeft",rc="ArrowUp",sc="ArrowRight",oc="ArrowDown";var ac=class extends Ph{constructor(t){super(),t=t||{},this.defaultCondition_=function(t){return Uh(t)&&Vh(t)},this.condition_=void 0!==t.condition?t.condition:this.defaultCondition_,this.duration_=void 0!==t.duration?t.duration:100,this.pixelDelta_=void 0!==t.pixelDelta?t.pixelDelta:128}handleEvent(t){let e=!1;if(t.type==P){const i=t.originalEvent,n=i.key;if(this.condition_(t)&&(n==oc||n==nc||n==sc||n==rc)){const r=t.map.getView(),s=r.getResolution()*this.pixelDelta_;let o=0,a=0;n==oc?a=-s:n==nc?o=-s:n==sc?o=s:a=s;const l=[o,a];Mi(l,r.getRotation()),bh(r,l,this.duration_),i.preventDefault(),e=!0}}return!e}};var lc=class extends Ph{constructor(t){super(),t=t||{},this.condition_=t.condition?t.condition:function(t){return!Bh(t)&&Vh(t)},this.delta_=t.delta?t.delta:1,this.duration_=void 0!==t.duration?t.duration:100}handleEvent(t){let e=!1;if(t.type==P||t.type==I){const i=t.originalEvent,n=i.key;if(this.condition_(t)&&("+"===n||"-"===n)){const r=t.map,s="+"===n?this.delta_:-this.delta_;Rh(r.getView(),s,void 0,this.duration_),i.preventDefault(),e=!0}}return!e}};var hc=class extends Ph{constructor(t){super(t=t||{}),this.totalDelta_=0,this.lastDelta_=0,this.maxDelta_=void 0!==t.maxDelta?t.maxDelta:1,this.duration_=void 0!==t.duration?t.duration:250,this.timeout_=void 0!==t.timeout?t.timeout:80,this.useAnchor_=void 0===t.useAnchor||t.useAnchor,this.constrainResolution_=void 0!==t.constrainResolution&&t.constrainResolution;const e=t.condition?t.condition:kh;this.condition_=t.onFocusOnly?Mh(Nh,e):e,this.lastAnchor_=null,this.startTime_=void 0,this.timeoutId_,this.mode_=void 0,this.trackpadEventGap_=400,this.trackpadTimeoutId_,this.deltaPerZoom_=300}endInteraction_(){this.trackpadTimeoutId_=void 0;const t=this.getMap();if(!t)return;t.getView().endInteraction(void 0,this.lastDelta_?this.lastDelta_>0?1:-1:0,this.lastAnchor_)}handleEvent(t){if(!this.condition_(t))return!0;if(t.type!==M)return!0;const e=t.map,i=t.originalEvent;let n;if(i.preventDefault(),this.useAnchor_&&(this.lastAnchor_=t.coordinate),t.type==M&&(n=i.deltaY,ot&&i.deltaMode===WheelEvent.DOM_DELTA_PIXEL&&(n/=ut),i.deltaMode===WheelEvent.DOM_DELTA_LINE&&(n*=40)),0===n)return!1;this.lastDelta_=n;const r=Date.now();void 0===this.startTime_&&(this.startTime_=r),(!this.mode_||r-this.startTime_>this.trackpadEventGap_)&&(this.mode_=Math.abs(n)<4?"trackpad":"wheel");const s=e.getView();if("trackpad"===this.mode_&&!s.getConstrainResolution()&&!this.constrainResolution_)return this.trackpadTimeoutId_?clearTimeout(this.trackpadTimeoutId_):(s.getAnimating()&&s.cancelAnimations(),s.beginInteraction()),this.trackpadTimeoutId_=setTimeout(this.endInteraction_.bind(this),this.timeout_),s.adjustZoom(-n/this.deltaPerZoom_,this.lastAnchor_),this.startTime_=r,!1;this.totalDelta_+=n;const o=Math.max(this.timeout_-(r-this.startTime_),0);return clearTimeout(this.timeoutId_),this.timeoutId_=setTimeout(this.handleWheelZoom_.bind(this,e),o),!1}handleWheelZoom_(t){const e=t.getView();e.getAnimating()&&e.cancelAnimations();let i=-di(this.totalDelta_,-this.maxDelta_*this.deltaPerZoom_,this.maxDelta_*this.deltaPerZoom_)/this.deltaPerZoom_;(e.getConstrainResolution()||this.constrainResolution_)&&(i=i?i>0?1:-1:0),Rh(e,i,this.lastAnchor_,this.duration_),this.mode_=void 0,this.totalDelta_=0,this.lastAnchor_=null,this.startTime_=void 0,this.timeoutId_=void 0}setMouseAnchor(t){this.useAnchor_=t,t||(this.lastAnchor_=null)}};var cc=class extends Fh{constructor(t){const e=t=t||{};e.stopDown||(e.stopDown=g),super(e),this.anchor_=null,this.lastAngle_=void 0,this.rotating_=!1,this.rotationDelta_=0,this.threshold_=void 0!==t.threshold?t.threshold:.3,this.duration_=void 0!==t.duration?t.duration:250}handleDragEvent(t){let e=0;const i=this.targetPointers[0],n=this.targetPointers[1],r=Math.atan2(n.clientY-i.clientY,n.clientX-i.clientX);if(void 0!==this.lastAngle_){const t=r-this.lastAngle_;this.rotationDelta_+=t,!this.rotating_&&Math.abs(this.rotationDelta_)>this.threshold_&&(this.rotating_=!0),e=t}this.lastAngle_=r;const s=t.map,o=s.getView();o.getConstraints().rotation!==Fs&&(this.anchor_=s.getCoordinateFromPixelInternal(s.getEventPixel(Lh(this.targetPointers))),this.rotating_&&(s.render(),o.adjustRotationInternal(e,this.anchor_)))}handleUpEvent(t){if(this.targetPointers.length<2){return t.map.getView().endInteraction(this.duration_),!1}return!0}handleDownEvent(t){if(this.targetPointers.length>=2){const e=t.map;return this.anchor_=null,this.lastAngle_=void 0,this.rotating_=!1,this.rotationDelta_=0,this.handlingDownUpSequence||e.getView().beginInteraction(),!0}return!1}};var uc=class extends Fh{constructor(t){const e=t=t||{};e.stopDown||(e.stopDown=g),super(e),this.anchor_=null,this.duration_=void 0!==t.duration?t.duration:400,this.lastDistance_=void 0,this.lastScaleDelta_=1}handleDragEvent(t){let e=1;const i=this.targetPointers[0],n=this.targetPointers[1],r=i.clientX-n.clientX,s=i.clientY-n.clientY,o=Math.sqrt(r*r+s*s);void 0!==this.lastDistance_&&(e=this.lastDistance_/o),this.lastDistance_=o;const a=t.map,l=a.getView();1!=e&&(this.lastScaleDelta_=e),this.anchor_=a.getCoordinateFromPixelInternal(a.getEventPixel(Lh(this.targetPointers))),a.render(),l.adjustResolutionInternal(e,this.anchor_)}handleUpEvent(t){if(this.targetPointers.length<2){const e=t.map.getView(),i=this.lastScaleDelta_>1?1:-1;return e.endInteraction(this.duration_,i),!1}return!0}handleDownEvent(t){if(this.targetPointers.length>=2){const e=t.map;return this.anchor_=null,this.lastDistance_=void 0,this.lastScaleDelta_=1,this.handlingDownUpSequence||e.getView().beginInteraction(),!0}return!1}};function dc(t){t=t||{};const e=new Y,i=new is(-.005,.05,100);(void 0===t.altShiftDragRotate||t.altShiftDragRotate)&&e.push(new Yh);(void 0===t.doubleClickZoom||t.doubleClickZoom)&&e.push(new Ih({delta:t.zoomDelta,duration:t.zoomDuration}));(void 0===t.dragPan||t.dragPan)&&e.push(new $h({onFocusOnly:t.onFocusOnly,kinetic:i}));(void 0===t.pinchRotate||t.pinchRotate)&&e.push(new cc);(void 0===t.pinchZoom||t.pinchZoom)&&e.push(new uc({duration:t.zoomDuration}));(void 0===t.keyboard||t.keyboard)&&(e.push(new ac),e.push(new lc({delta:t.zoomDelta,duration:t.zoomDuration})));(void 0===t.mouseWheelZoom||t.mouseWheelZoom)&&e.push(new hc({onFocusOnly:t.onFocusOnly,duration:t.zoomDuration}));return(void 0===t.shiftDragZoom||t.shiftDragZoom)&&e.push(new ic({duration:t.zoomDuration})),e}function gc(t){t instanceof Xs?t.setMapInternal(null):t instanceof Jl&&t.getLayers().forEach(gc)}function fc(t,e){if(t instanceof Xs)t.setMapInternal(e);else if(t instanceof Jl){const i=t.getLayers().getArray();for(let t=0,n=i.length;tthis.updateSize())),this.controls=e.controls||Th(),this.interactions=e.interactions||dc({onFocusOnly:!0}),this.overlays_=e.overlays,this.overlayIdIndex_={},this.renderer_=null,this.postRenderFunctions_=[],this.tileQueue_=new yh(this.getTilePriority.bind(this),this.handleTileChange_.bind(this)),this.addChangeListener(dh,this.handleLayerGroupChanged_),this.addChangeListener(ph,this.handleViewChanged_),this.addChangeListener(gh,this.handleSizeChanged_),this.addChangeListener(fh,this.handleTargetChanged_),this.setProperties(e.values);const i=this;!t.view||t.view instanceof Us||t.view.then((function(t){i.setView(new Us(t))})),this.controls.addEventListener(V,(t=>{t.element.setMap(this)})),this.controls.addEventListener(W,(t=>{t.element.setMap(null)})),this.interactions.addEventListener(V,(t=>{t.element.setMap(this)})),this.interactions.addEventListener(W,(t=>{t.element.setMap(null)})),this.overlays_.addEventListener(V,(t=>{this.addOverlayInternal_(t.element)})),this.overlays_.addEventListener(W,(t=>{const e=t.element.getId();void 0!==e&&delete this.overlayIdIndex_[e.toString()],t.element.setMap(null)})),this.controls.forEach((t=>{t.setMap(this)})),this.interactions.forEach((t=>{t.setMap(this)})),this.overlays_.forEach(this.addOverlayInternal_.bind(this))}addControl(t){this.getControls().push(t)}addInteraction(t){this.getInteractions().push(t)}addLayer(t){this.getLayerGroup().getLayers().push(t)}handleLayerAdd_(t){fc(t.layer,this)}addOverlay(t){this.getOverlays().push(t)}addOverlayInternal_(t){const e=t.getId();void 0!==e&&(this.overlayIdIndex_[e.toString()]=t),t.setMap(this)}disposeInternal(){this.controls.clear(),this.interactions.clear(),this.overlays_.clear(),this.resizeObserver_.disconnect(),this.setTarget(null),super.disposeInternal()}forEachFeatureAtPixel(t,e,i){if(!this.frameState_||!this.renderer_)return;const n=this.getCoordinateFromPixelInternal(t),r=void 0!==(i=void 0!==i?i:{}).hitTolerance?i.hitTolerance:0,s=void 0!==i.layerFilter?i.layerFilter:d,o=!1!==i.checkWrapped;return this.renderer_.forEachFeatureAtCoordinate(n,this.frameState_,r,o,e,null,s,null)}getFeaturesAtPixel(t,e){const i=[];return this.forEachFeatureAtPixel(t,(function(t){i.push(t)}),e),i}getAllLayers(){const t=[];return function e(i){i.forEach((function(i){i instanceof Jl?e(i.getLayers()):t.push(i)}))}(this.getLayers()),t}hasFeatureAtPixel(t,e){if(!this.frameState_||!this.renderer_)return!1;const i=this.getCoordinateFromPixelInternal(t),n=void 0!==(e=void 0!==e?e:{}).layerFilter?e.layerFilter:d,r=void 0!==e.hitTolerance?e.hitTolerance:0,s=!1!==e.checkWrapped;return this.renderer_.hasFeatureAtCoordinate(i,this.frameState_,r,s,n,null)}getEventCoordinate(t){return this.getCoordinateFromPixel(this.getEventPixel(t))}getEventCoordinateInternal(t){return this.getCoordinateFromPixelInternal(this.getEventPixel(t))}getEventPixel(t){const e=this.viewport_.getBoundingClientRect(),i=this.getSize(),n=e.width/i[0],r=e.height/i[1],s="changedTouches"in t?t.changedTouches[0]:t;return[(s.clientX-e.left)/n,(s.clientY-e.top)/r]}getTarget(){return this.get(fh)}getTargetElement(){return this.targetElement_}getCoordinateFromPixel(t){return yn(this.getCoordinateFromPixelInternal(t),this.getView().getProjection())}getCoordinateFromPixelInternal(t){const e=this.frameState_;return e?Bt(e.pixelToCoordinateTransform,t.slice()):null}getControls(){return this.controls}getOverlays(){return this.overlays_}getOverlayById(t){const e=this.overlayIdIndex_[t.toString()];return void 0!==e?e:null}getInteractions(){return this.interactions}getLayerGroup(){return this.get(dh)}setLayers(t){const e=this.getLayerGroup();if(t instanceof Y)return void e.setLayers(t);const i=e.getLayers();i.clear(),i.extend(t)}getLayers(){return this.getLayerGroup().getLayers()}getLoadingOrNotReady(){const t=this.getLayerGroup().getLayerStatesArray();for(let e=0,i=t.length;e=0;i--){const n=e[i];if(n.getMap()!==this||!n.getActive()||!this.getTargetElement())continue;if(!n.handleEvent(t)||t.propagationStopped)break}}}handlePostRender(){const t=this.frameState_,e=this.tileQueue_;if(!e.isEmpty()){let i=this.maxTilesLoading_,n=i;if(t){const e=t.viewHints;if(e[xs]||e[vs]){const e=Date.now()-t.time>8;i=e?0:8,n=e?0:2}}e.getTilesLoading(){this.postRenderTimeoutHandle_=void 0,this.handlePostRender()}),0))}setLayerGroup(t){const e=this.getLayerGroup();e&&this.handleLayerRemove_(new ql("removelayer",e)),this.set(dh,t)}setSize(t){this.set(gh,t)}setTarget(t){this.set(fh,t)}setView(t){if(!t||t instanceof Us)return void this.set(ph,t);this.set(ph,new Us);const e=this;t.then((function(t){e.setView(new Us(t))}))}updateSize(){const t=this.getTargetElement();let e;if(t){const i=getComputedStyle(t),n=t.offsetWidth-parseFloat(i.borderLeftWidth)-parseFloat(i.paddingLeft)-parseFloat(i.paddingRight)-parseFloat(i.borderRightWidth),r=t.offsetHeight-parseFloat(i.borderTopWidth)-parseFloat(i.paddingTop)-parseFloat(i.paddingBottom)-parseFloat(i.borderBottomWidth);isNaN(n)||isNaN(r)||(e=[n,r],!lo(e)&&(t.offsetWidth||t.offsetHeight||t.getClientRects().length)&&$i("No map visible because the map container's width or height are 0."))}const i=this.getSize();!e||i&&c(e,i)||(this.setSize(e),this.updateViewportSize_(e))}updateViewportSize_(t){const e=this.getView();e&&e.setViewportSize(t)}};const mc="element",_c="map",yc="offset",xc="position",vc="positioning";var wc=class extends X{constructor(t){super(),this.on,this.once,this.un,this.options=t,this.id=t.id,this.insertFirst=void 0===t.insertFirst||t.insertFirst,this.stopEvent=void 0===t.stopEvent||t.stopEvent,this.element=document.createElement("div"),this.element.className=void 0!==t.className?t.className:"ol-overlay-container "+Zo,this.element.style.position="absolute",this.element.style.pointerEvents="auto",this.autoPan=!0===t.autoPan?{}:t.autoPan||void 0,this.rendered={transform_:"",visible:!0},this.mapPostrenderListenerKey=null,this.addChangeListener(mc,this.handleElementChanged),this.addChangeListener(_c,this.handleMapChanged),this.addChangeListener(yc,this.handleOffsetChanged),this.addChangeListener(xc,this.handlePositionChanged),this.addChangeListener(vc,this.handlePositioningChanged),void 0!==t.element&&this.setElement(t.element),this.setOffset(void 0!==t.offset?t.offset:[0,0]),this.setPositioning(t.positioning||"top-left"),void 0!==t.position&&this.setPosition(t.position)}getElement(){return this.get(mc)}getId(){return this.id}getMap(){return this.get(_c)||null}getOffset(){return this.get(yc)}getPosition(){return this.get(xc)}getPositioning(){return this.get(vc)}handleElementChanged(){Tt(this.element);const t=this.getElement();t&&this.element.appendChild(t)}handleMapChanged(){this.mapPostrenderListenerKey&&(Et(this.element),D(this.mapPostrenderListenerKey),this.mapPostrenderListenerKey=null);const t=this.getMap();if(t){this.mapPostrenderListenerKey=A(t,ah,this.render,this),this.updatePixelPosition();const e=this.stopEvent?t.getOverlayContainerStopEvent():t.getOverlayContainer();this.insertFirst?e.insertBefore(this.element,e.childNodes[0]||null):e.appendChild(this.element),this.performAutoPan()}}render(){this.updatePixelPosition()}handleOffsetChanged(){this.updatePixelPosition()}handlePositionChanged(){this.updatePixelPosition(),this.performAutoPan()}handlePositioningChanged(){this.updatePixelPosition()}setElement(t){this.set(mc,t)}setMap(t){this.set(_c,t)}setOffset(t){this.set(yc,t)}setPosition(t){this.set(xc,t)}performAutoPan(){this.autoPan&&this.panIntoView(this.autoPan)}panIntoView(t){const e=this.getMap();if(!e||!e.getTargetElement()||!this.get(xc))return;const i=this.getRect(e.getTargetElement(),e.getSize()),n=this.getElement(),r=this.getRect(n,[vt(n),wt(n)]),s=void 0===(t=t||{}).margin?20:t.margin;if(!ne(i,r)){const n=r[0]-i[0],o=i[2]-r[2],a=r[1]-i[1],l=i[3]-r[3],h=[0,0];if(n<0?h[0]=n-s:o<0&&(h[0]=Math.abs(o)+s),a<0?h[1]=a-s:l<0&&(h[1]=Math.abs(l)+s),0!==h[0]||0!==h[1]){const i=e.getView().getCenterInternal(),n=e.getPixelFromCoordinateInternal(i);if(!n)return;const r=[n[0]+h[0],n[1]+h[1]],s=t.animation||{};e.getView().animateInternal({center:e.getCoordinateFromPixelInternal(r),duration:s.duration,easing:s.easing})}}}getRect(t,e){const i=t.getBoundingClientRect(),n=i.left+window.pageXOffset,r=i.top+window.pageYOffset;return[n,r,n+e[0],r+e[1]]}setPositioning(t){this.set(vc,t)}setVisible(t){this.rendered.visible!==t&&(this.element.style.display=t?"":"none",this.rendered.visible=t)}updatePixelPosition(){const t=this.getMap(),e=this.getPosition();if(!t||!t.isRendered()||!e)return void this.setVisible(!1);const i=t.getPixelFromCoordinate(e),n=t.getSize();this.updateRenderedPosition(i,n)}updateRenderedPosition(t,e){const i=this.element.style,n=this.getOffset(),r=this.getPositioning();this.setVisible(!0);let s="0%",o="0%";"bottom-right"==r||"center-right"==r||"top-right"==r?s="-100%":"bottom-center"!=r&&"center-center"!=r&&"top-center"!=r||(s="-50%"),"bottom-left"==r||"bottom-center"==r||"bottom-right"==r?o="-100%":"center-left"!=r&&"center-center"!=r&&"center-right"!=r||(o="-50%");const a=`translate(${s}, ${o}) translate(${Math.round(t[0]+n[0])+"px"}, ${Math.round(t[1]+n[1])+"px"})`;this.rendered.transform_!=a&&(this.rendered.transform_=a,i.transform=a)}getOptions(){return this.options}};var Sc=class{constructor(t){this.highWaterMark=void 0!==t?t:2048,this.count_=0,this.entries_={},this.oldest_=null,this.newest_=null}canExpireCache(){return this.highWaterMark>0&&this.getCount()>this.highWaterMark}expireCache(t){for(;this.canExpireCache();)this.pop()}clear(){this.count_=0,this.entries_={},this.oldest_=null,this.newest_=null}containsKey(t){return this.entries_.hasOwnProperty(t)}forEach(t){let e=this.oldest_;for(;e;)t(e.value_,e.key_,this),e=e.newer}get(t,e){const i=this.entries_[t];return Mt(void 0!==i,"Tried to get a value for a key that does not exist in the cache"),i===this.newest_||(i===this.oldest_?(this.oldest_=this.oldest_.newer,this.oldest_.older=null):(i.newer.older=i.older,i.older.newer=i.newer),i.newer=null,i.older=this.newest_,this.newest_.newer=i,this.newest_=i),i.value_}remove(t){const e=this.entries_[t];return Mt(void 0!==e,"Tried to get a value for a key that does not exist in the cache"),e===this.newest_?(this.newest_=e.older,this.newest_&&(this.newest_.newer=null)):e===this.oldest_?(this.oldest_=e.newer,this.oldest_&&(this.oldest_.older=null)):(e.newer.older=e.older,e.older.newer=e.newer),delete this.entries_[t],--this.count_,e.value_}getCount(){return this.count_}getKeys(){const t=new Array(this.count_);let e,i=0;for(e=this.newest_;e;e=e.older)t[i++]=e.key_;return t}getValues(){const t=new Array(this.count_);let e,i=0;for(e=this.newest_;e;e=e.older)t[i++]=e.value_;return t}peekLast(){return this.oldest_.value_}peekLastKey(){return this.oldest_.key_}peekFirstKey(){return this.newest_.key_}peek(t){return this.entries_[t]?.value_}pop(){const t=this.oldest_;return delete this.entries_[t.key_],t.newer&&(t.newer.older=null),this.oldest_=t.newer,this.oldest_||(this.newest_=null),--this.count_,t.value_}replace(t,e){this.get(t),this.entries_[t].value_=e}set(t,e){Mt(!(t in this.entries_),"Tried to set a value for a key that is used already");const i={key_:t,newer:null,older:this.newest_,value_:e};this.newest_?this.newest_.newer=i:this.oldest_=i,this.newest_=i,this.entries_[t]=i,++this.count_}setSize(t){this.highWaterMark=t}};function Ec(t,e,i,n){return void 0!==n?(n[0]=t,n[1]=e,n[2]=i,n):[t,e,i]}function Tc(t,e,i){return t+"/"+e+"/"+i}function Cc(t){return Tc(t[0],t[1],t[2])}function bc(t){const[e,i,n]=t.substring(t.lastIndexOf("/")+1,t.length).split(",").map(Number);return Tc(e,i,n)}function Rc(t){return t.split("/").map(Number)}function Pc(t){return(t[1]<i||i>e.getMaxZoom())return!1;const s=e.getFullTileRange(i);return!s||s.containsXY(n,r)}var Lc=class extends Sc{clear(){for(;this.getCount()>0;)this.pop().release();super.clear()}expireCache(t){for(;this.canExpireCache();){if(this.peekLast().getKey()in t)break;this.pop().release()}}pruneExceptNewestZ(){if(0===this.getCount())return;const t=Rc(this.peekFirstKey())[0];this.forEach((e=>{e.tileCoord[0]!==t&&(this.remove(Cc(e.tileCoord)),e.release())}))}};class Fc{constructor(t,e,i,n){this.minX=t,this.maxX=e,this.minY=i,this.maxY=n}contains(t){return this.containsXY(t[1],t[2])}containsTileRange(t){return this.minX<=t.minX&&t.maxX<=this.maxX&&this.minY<=t.minY&&t.maxY<=this.maxY}containsXY(t,e){return this.minX<=t&&t<=this.maxX&&this.minY<=e&&e<=this.maxY}equals(t){return this.minX==t.minX&&this.minY==t.minY&&this.maxX==t.maxX&&this.maxY==t.maxY}extend(t){t.minXthis.maxX&&(this.maxX=t.maxX),t.minYthis.maxY&&(this.maxY=t.maxY)}getHeight(){return this.maxY-this.minY+1}getSize(){return[this.getWidth(),this.getHeight()]}getWidth(){return this.maxX-this.minX+1}intersects(t){return this.minX<=t.maxX&&this.maxX>=t.minX&&this.minY<=t.maxY&&this.maxY>=t.minY}}function Mc(t,e,i,n,r){return void 0!==r?(r.minX=t,r.maxX=e,r.minY=i,r.maxY=n,r):new Fc(t,e,i,n)}var Ac=Fc;const Oc=[];var Dc=class extends rt{constructor(t,e,i,n){super(t,e,{transition:0}),this.context_={},this.executorGroups={},this.loadingSourceTiles=0,this.hitDetectionImageData={},this.replayState_={},this.sourceTiles=[],this.errorTileKeys={},this.wantedResolution,this.getSourceTiles=n.bind(void 0,this),this.wrappedTileCoord=i}getContext(t){const e=U(t);return e in this.context_||(this.context_[e]=mt(1,1,Oc)),this.context_[e]}hasContext(t){return U(t)in this.context_}getImage(t){return this.hasContext(t)?this.getContext(t).canvas:null}getReplayState(t){const e=U(t);return e in this.replayState_||(this.replayState_[e]={dirty:!1,renderedRenderOrder:null,renderedResolution:NaN,renderedRevision:-1,renderedTileResolution:NaN,renderedTileRevision:-1,renderedTileZ:-1}),this.replayState_[e]}load(){this.getSourceTiles()}release(){for(const t in this.context_){const e=this.context_[t];xt(e),Oc.push(e.canvas),delete this.context_[t]}super.release()}};var Nc=class extends rt{constructor(t,e,i,n,r,s){super(t,e,s),this.extent=null,this.format_=n,this.features_=null,this.loader_,this.projection=null,this.resolution,this.tileLoadFunction_=r,this.url_=i,this.key=i}getFormat(){return this.format_}getFeatures(){return this.features_}load(){this.state==q&&(this.setState(K),this.tileLoadFunction_(this,this.url_),this.loader_&&this.loader_(this.extent,this.resolution,this.projection))}onLoad(t,e){this.setFeatures(t)}onError(){this.setState(J)}setFeatures(t){this.features_=t,this.setState(H)}setLoader(t){this.loader_=t}};let kc,Gc=!1;function jc(t,e,i,n,r,s,o){const a=new XMLHttpRequest;a.open("GET","function"==typeof t?t(i,n,r):t,!0),"arraybuffer"==e.getType()&&(a.responseType="arraybuffer"),a.withCredentials=Gc,a.onload=function(t){if(!a.status||a.status>=200&&a.status<300){const t=e.getType();let n;"json"==t?n=JSON.parse(a.responseText):"text"==t?n=a.responseText:"xml"==t?(n=a.responseXML,n||(n=(new DOMParser).parseFromString(a.responseText,"application/xml"))):"arraybuffer"==t&&(n=a.response),n?s(e.readFeatures(n,{extent:i,featureProjection:r}),e.readProjection(n)):o()}else o()},a.onerror=o,a.send()}function zc(t,e){return function(i,n,r,s,o){const a=this;jc(t,e,i,n,r,(function(t,e){a.addFeatures(t),void 0!==s&&s(t)}),o||f)}}function Uc(t,e){return[[-1/0,-1/0,1/0,1/0]]}function Bc(t,e,i,n){const r=document.createElement("script"),s="olc_"+U(e);function o(){delete window[s],r.parentNode.removeChild(r)}r.async=!0,r.src=t+(t.includes("?")?"&":"?")+(n||"callback")+"="+s;const a=setTimeout((function(){o(),i&&i()}),1e4);window[s]=function(t){clearTimeout(a),o(),e(t)},document.head.appendChild(r)}class Xc extends Error{constructor(t){super("Unexpected response status: "+t.status),this.name="ResponseError",this.response=t}}class Vc extends Error{constructor(t){super("Failed to issue request"),this.name="ClientError",this.client=t}}function Wc(t){return new Promise((function(e,i){const n=new XMLHttpRequest;n.addEventListener("load",(function(t){const n=t.target;if(!n.status||n.status>=200&&n.status<300){let t;try{t=JSON.parse(n.responseText)}catch(t){const e="Error parsing response text as JSON: "+t.message;return void i(new Error(e))}e(t)}else i(new Xc(n))})),n.addEventListener("error",(function(t){i(new Vc(t.target))})),n.open("GET",t),n.setRequestHeader("Accept","application/json"),n.send()}))}function Zc(t,e){return e.includes("://")?e:new URL(e,t).href}var $c=class{drawCustom(t,e,i,n,r){}drawGeometry(t){}setStyle(t){}drawCircle(t,e,i){}drawFeature(t,e,i){}drawGeometryCollection(t,e,i){}drawLineString(t,e,i){}drawMultiLineString(t,e,i){}drawMultiPoint(t,e,i){}drawMultiPolygon(t,e,i){}drawPoint(t,e,i){}drawPolygon(t,e,i){}drawText(t,e,i){}setFillStrokeStyle(t,e){}setImageStyle(t,e){}setTextStyle(t,e){}};var Yc=class extends $c{constructor(t,e,i,n,r,s,o){super(),this.context_=t,this.pixelRatio_=e,this.extent_=i,this.transform_=n,this.transformRotation_=n?vi(Math.atan2(n[1],n[0]),10):0,this.viewRotation_=r,this.squaredTolerance_=s,this.userTransform_=o,this.contextFillState_=null,this.contextStrokeState_=null,this.contextTextState_=null,this.fillState_=null,this.strokeState_=null,this.image_=null,this.imageAnchorX_=0,this.imageAnchorY_=0,this.imageHeight_=0,this.imageOpacity_=0,this.imageOriginX_=0,this.imageOriginY_=0,this.imageRotateWithView_=!1,this.imageRotation_=0,this.imageScale_=[0,0],this.imageWidth_=0,this.text_="",this.textOffsetX_=0,this.textOffsetY_=0,this.textRotateWithView_=!1,this.textRotation_=0,this.textScale_=[0,0],this.textFillState_=null,this.textStrokeState_=null,this.textState_=null,this.pixelCoordinates_=[],this.tmpLocalTransform_=[1,0,0,1,0,0]}drawImages_(t,e,i,n){if(!this.image_)return;const r=bn(t,e,i,n,this.transform_,this.pixelCoordinates_),s=this.context_,o=this.tmpLocalTransform_,a=s.globalAlpha;1!=this.imageOpacity_&&(s.globalAlpha=a*this.imageOpacity_);let l=this.imageRotation_;0===this.transformRotation_&&(l-=this.viewRotation_),this.imageRotateWithView_&&(l+=this.viewRotation_);for(let t=0,e=r.length;tt*this.pixelRatio_)),lineDashOffset:(r||0)*this.pixelRatio_,lineJoin:void 0!==s?s:ra,lineWidth:(void 0!==o?o:1)*this.pixelRatio_,miterLimit:void 0!==a?a:sa,strokeStyle:Vo(t||oa)}}else this.strokeState_=null}setImageStyle(t){let e;if(!t||!(e=t.getSize()))return void(this.image_=null);const i=t.getPixelRatio(this.pixelRatio_),n=t.getAnchor(),r=t.getOrigin();this.image_=t.getImage(this.pixelRatio_),this.imageAnchorX_=n[0]*i,this.imageAnchorY_=n[1]*i,this.imageHeight_=e[1]*i,this.imageOpacity_=t.getOpacity(),this.imageOriginX_=r[0],this.imageOriginY_=r[1],this.imageRotateWithView_=t.getRotateWithView(),this.imageRotation_=t.getRotation();const s=t.getScaleArray();this.imageScale_=[s[0]*this.pixelRatio_/i,s[1]*this.pixelRatio_/i],this.imageWidth_=e[0]*i}setTextStyle(t){if(t){const e=t.getFill();if(e){const t=e.getColor();this.textFillState_={fillStyle:Vo(t||ea)}}else this.textFillState_=null;const i=t.getStroke();if(i){const t=i.getColor(),e=i.getLineCap(),n=i.getLineDash(),r=i.getLineDashOffset(),s=i.getLineJoin(),o=i.getWidth(),a=i.getMiterLimit();this.textStrokeState_={lineCap:void 0!==e?e:ia,lineDash:n||na,lineDashOffset:r||0,lineJoin:void 0!==s?s:ra,lineWidth:void 0!==o?o:1,miterLimit:void 0!==a?a:sa,strokeStyle:Vo(t||oa)}}else this.textStrokeState_=null;const n=t.getFont(),r=t.getOffsetX(),s=t.getOffsetY(),o=t.getRotateWithView(),a=t.getRotation(),l=t.getScaleArray(),h=t.getText(),c=t.getTextAlign(),u=t.getTextBaseline();this.textState_={font:void 0!==n?n:ta,textAlign:void 0!==c?c:aa,textBaseline:void 0!==u?u:la},this.text_=void 0!==h?Array.isArray(h)?h.reduce(((t,e,i)=>t+(i%2?" ":e)),""):h:"",this.textOffsetX_=void 0!==r?this.pixelRatio_*r:0,this.textOffsetY_=void 0!==s?this.pixelRatio_*s:0,this.textRotateWithView_=void 0!==o&&o,this.textRotation_=void 0!==a?a:0,this.textScale_=[this.pixelRatio_*l[0],this.pixelRatio_*l[1]]}else this.text_=""}};const qc=.5,Kc={Point:function(t,e,i,n,r,s){const o=i.getImage(),a=i.getText(),l=a&&a.getText(),h=s&&o&&l?{}:void 0;if(o){if(o.getImageState()!=Yr.LOADED)return;const s=t.getBuilder(i.getZIndex(),"Image");s.setImageStyle(o,h),s.drawPoint(e,n,r)}if(l){const s=t.getBuilder(i.getZIndex(),"Text");s.setTextStyle(a,h),s.drawText(e,n,r)}},LineString:function(t,e,i,n,r){const s=i.getStroke();if(s){const o=t.getBuilder(i.getZIndex(),"LineString");o.setFillStrokeStyle(null,s),o.drawLineString(e,n,r)}const o=i.getText();if(o&&o.getText()){const s=t.getBuilder(i.getZIndex(),"Text");s.setTextStyle(o),s.drawText(e,n,r)}},Polygon:function(t,e,i,n,r){const s=i.getFill(),o=i.getStroke();if(s||o){const a=t.getBuilder(i.getZIndex(),"Polygon");a.setFillStrokeStyle(s,o),a.drawPolygon(e,n,r)}const a=i.getText();if(a&&a.getText()){const s=t.getBuilder(i.getZIndex(),"Text");s.setTextStyle(a),s.drawText(e,n,r)}},MultiPoint:function(t,e,i,n,r,s){const o=i.getImage(),a=o&&0!==o.getOpacity(),l=i.getText(),h=l&&l.getText(),c=s&&a&&h?{}:void 0;if(a){if(o.getImageState()!=Yr.LOADED)return;const s=t.getBuilder(i.getZIndex(),"Image");s.setImageStyle(o,c),s.drawMultiPoint(e,n,r)}if(h){const s=t.getBuilder(i.getZIndex(),"Text");s.setTextStyle(l,c),s.drawText(e,n,r)}},MultiLineString:function(t,e,i,n,r){const s=i.getStroke();if(s){const o=t.getBuilder(i.getZIndex(),"LineString");o.setFillStrokeStyle(null,s),o.drawMultiLineString(e,n,r)}const o=i.getText();if(o&&o.getText()){const s=t.getBuilder(i.getZIndex(),"Text");s.setTextStyle(o),s.drawText(e,n,r)}},MultiPolygon:function(t,e,i,n,r){const s=i.getFill(),o=i.getStroke();if(o||s){const a=t.getBuilder(i.getZIndex(),"Polygon");a.setFillStrokeStyle(s,o),a.drawMultiPolygon(e,n,r)}const a=i.getText();if(a&&a.getText()){const s=t.getBuilder(i.getZIndex(),"Text");s.setTextStyle(a),s.drawText(e,n,r)}},GeometryCollection:function(t,e,i,n,r,s){const o=e.getGeometriesArray();let a,l;for(a=0,l=o.length;a0;return u&&Promise.all(l).then((()=>r(null))),function(t,e,i,n,r,s,o){const a=i.getGeometryFunction()(e);if(!a)return;const l=a.simplifyTransformed(n,r),h=i.getRenderer();if(h)eu(t,l,i,e,o);else{(0,Kc[l.getType()])(t,l,i,e,o,s)}}(t,e,i,n,s,o,a),u}function eu(t,e,i,n,r){if("GeometryCollection"==e.getType()){const s=e.getGeometries();for(let e=0,o=s.length;e2||Math.abs(t[4*e+3]-191.25)>2}function au(t,e,i,n){const r=gn(i,e,t);let s=nn(e,n,i);const o=e.getMetersPerUnit();void 0!==o&&(s*=o);const a=t.getMetersPerUnit();void 0!==a&&(s/=a);const l=t.getExtent();if(!l||ie(l,r)){const e=nn(t,s,r)/s;isFinite(e)&&e>0&&(s/=e)}return s}function lu(t,e,i,n){const r=Ee(i);let s=au(t,e,r,n);return(!isFinite(s)||s<=0)&&xe(i,(function(i){return s=au(t,e,i,n),isFinite(s)&&s>0})),s}function hu(t,e,i,n,r,s,o,a,l,h,c,u,d,g){const f=mt(Math.round(i*t),Math.round(i*e),ru);if(u||(f.imageSmoothingEnabled=!1),0===l.length)return f.canvas;function p(t){return Math.round(t*i)/i}f.scale(i,i),f.globalCompositeOperation="lighter";const m=[1/0,1/0,-1/0,-1/0];let _;l.forEach((function(t,e,i){ge(m,t.extent)}));const y=i/n,x=(u?1:1+Math.pow(2,-24))/y;if(!d||1!==l.length||0!==h){if(_=mt(Math.round(Fe(m)*y),Math.round(Re(m)*y),ru),u||(_.imageSmoothingEnabled=!1),r&&g){const t=(r[0]-m[0])*y,e=-(r[3]-m[3])*y,i=Fe(r)*y,n=Re(r)*y;_.rect(t,e,i,n),_.clip()}l.forEach((function(t,e,i){const n=(t.extent[0]-m[0])*y,r=-(t.extent[3]-m[3])*y,s=Fe(t.extent)*y,o=Re(t.extent)*y;t.image.width>0&&t.image.height>0&&_.drawImage(t.image,h,h,t.image.width-2*h,t.image.height-2*h,u?n:Math.round(n),u?r:Math.round(r),u?s:Math.round(n+s)-Math.round(n),u?o:Math.round(r+o)-Math.round(r))}))}const v=Ie(o);return a.getTriangles().forEach((function(t,e,i){const n=t.source,r=t.target;let o=n[0][0],a=n[0][1],h=n[1][0],c=n[1][1],d=n[2][0],g=n[2][1];const y=p((r[0][0]-v[0])/s),w=p(-(r[0][1]-v[1])/s),S=p((r[1][0]-v[0])/s),E=p(-(r[1][1]-v[1])/s),T=p((r[2][0]-v[0])/s),C=p(-(r[2][1]-v[1])/s),b=o,R=a;o=0,a=0,h-=b,c-=R,d-=b,g-=R;const P=pi([[h,c,0,0,S-y],[d,g,0,0,T-y],[0,0,h,c,E-w],[0,0,d,g,C-w]]);if(!P)return;if(f.save(),f.beginPath(),function(){if(void 0===nu){const t=mt(6,6,ru);t.globalCompositeOperation="lighter",t.fillStyle="rgba(210, 0, 0, 0.75)",su(t,4,5,4,0),su(t,4,5,0,5);const e=t.getImageData(0,0,3,3).data;nu=ou(e,0)||ou(e,4)||ou(e,8),xt(t),ru.push(t.canvas)}return nu}()||!u){f.moveTo(S,E);const t=4,e=y-S,i=w-E;for(let n=0;n=Fe(this.sourceProj_.getExtent()),this.sourceWorldWidth_=this.sourceProj_.getExtent()?Fe(this.sourceProj_.getExtent()):null,this.targetWorldWidth_=this.targetProj_.getExtent()?Fe(this.targetProj_.getExtent()):null;const l=Ie(i),h=Le(i),c=Se(i),u=we(i),d=this.transformInv_(l),g=this.transformInv_(h),f=this.transformInv_(c),p=this.transformInv_(u),m=10+(s?Math.max(0,Math.ceil(Math.log2(ve(i)/(s*s*256*256)))):0);if(this.addQuad_(l,h,c,u,d,g,f,p,m),this.wrapsXInSource_){let t=1/0;this.triangles_.forEach((function(e,i,n){t=Math.min(t,e.source[0][0],e.source[1][0],e.source[2][0])})),this.triangles_.forEach((e=>{if(Math.max(e.source[0][0],e.source[1][0],e.source[2][0])-t>this.sourceWorldWidth_/2){const i=[[e.source[0][0],e.source[0][1]],[e.source[1][0],e.source[1][1]],[e.source[2][0],e.source[2][1]]];i[0][0]-t>this.sourceWorldWidth_/2&&(i[0][0]-=this.sourceWorldWidth_),i[1][0]-t>this.sourceWorldWidth_/2&&(i[1][0]-=this.sourceWorldWidth_),i[2][0]-t>this.sourceWorldWidth_/2&&(i[2][0]-=this.sourceWorldWidth_);const n=Math.min(i[0][0],i[1][0],i[2][0]);Math.max(i[0][0],i[1][0],i[2][0])-n.5&&c<1;let g=!1;if(l>0){if(this.targetProj_.isGlobal()&&this.targetWorldWidth_){g=Fe(Jt([t,e,i,n]))/this.targetWorldWidth_>.25||g}!d&&this.sourceProj_.isGlobal()&&c&&(g=c>.25||g)}if(!g&&this.maxSourceExtent_&&isFinite(h[0])&&isFinite(h[1])&&isFinite(h[2])&&isFinite(h[3])&&!Me(h,this.maxSourceExtent_))return;let f=0;if(!(g||isFinite(r[0])&&isFinite(r[1])&&isFinite(s[0])&&isFinite(s[1])&&isFinite(o[0])&&isFinite(o[1])&&isFinite(a[0])&&isFinite(a[1])))if(l>0)g=!0;else if(f=(isFinite(r[0])&&isFinite(r[1])?0:8)+(isFinite(s[0])&&isFinite(s[1])?0:4)+(isFinite(o[0])&&isFinite(o[1])?0:2)+(isFinite(a[0])&&isFinite(a[1])?0:1),1!=f&&2!=f&&4!=f&&8!=f)return;if(l>0){if(!g){const e=[(t[0]+i[0])/2,(t[1]+i[1])/2],n=this.transformInv_(e);let s;if(d){s=(yi(r[0],u)+yi(o[0],u))/2-yi(n[0],u)}else s=(r[0]+o[0])/2-n[0];const a=(r[1]+o[1])/2-n[1];g=s*s+a*a>this.errorThresholdSquared_}if(g){if(Math.abs(t[0]-i[0])<=Math.abs(t[1]-i[1])){const h=[(e[0]+i[0])/2,(e[1]+i[1])/2],c=this.transformInv_(h),u=[(n[0]+t[0])/2,(n[1]+t[1])/2],d=this.transformInv_(u);this.addQuad_(t,e,h,u,r,s,c,d,l-1),this.addQuad_(u,h,i,n,d,c,o,a,l-1)}else{const h=[(t[0]+e[0])/2,(t[1]+e[1])/2],c=this.transformInv_(h),u=[(i[0]+n[0])/2,(i[1]+n[1])/2],d=this.transformInv_(u);this.addQuad_(t,h,u,n,r,c,d,a,l-1),this.addQuad_(h,e,i,u,c,s,o,d,l-1)}return}}if(d){if(!this.canWrapXInSource_)return;this.wrapsXInSource_=!0}0==(11&f)&&this.addTriangle_(t,i,n,r,o,a),0==(14&f)&&this.addTriangle_(t,i,e,r,o,s),f&&(0==(13&f)&&this.addTriangle_(e,n,t,s,a,r),0==(7&f)&&this.addTriangle_(e,n,i,s,a,o))}calculateSourceExtent(){const t=[1/0,1/0,-1/0,-1/0];return this.triangles_.forEach((function(e,i,n){const r=e.source;fe(t,r[0]),fe(t,r[1]),fe(t,r[2])})),t}getTriangles(){return this.triangles_}};var gu=class extends rt{constructor(t,e,i,n,r,s,o,a,l,h,c,u){super(r,q,u),this.renderEdges_=void 0!==c&&c,this.pixelRatio_=o,this.gutter_=a,this.canvas_=null,this.sourceTileGrid_=e,this.targetTileGrid_=n,this.wrappedTileCoord_=s||r,this.sourceTiles_=[],this.sourcesListenerKeys_=null,this.sourceZ_=0;const d=n.getTileCoordExtent(this.wrappedTileCoord_),g=this.targetTileGrid_.getExtent();let f=this.sourceTileGrid_.getExtent();const p=g?Pe(d,g):d;if(0===ve(p))return void(this.state=Q);const m=t.getExtent();m&&(f=f?Pe(f,m):m);const _=n.getResolution(this.wrappedTileCoord_[0]),y=lu(t,i,p,_);if(!isFinite(y)||y<=0)return void(this.state=Q);const x=void 0!==h?h:uu;if(this.triangulation_=new du(t,i,p,f,y*x,_),0===this.triangulation_.getTriangles().length)return void(this.state=Q);this.sourceZ_=e.getZForResolution(y);let v=this.triangulation_.calculateSourceExtent();if(f&&(t.canWrapX()?(v[1]=di(v[1],f[1],f[3]),v[3]=di(v[3],f[1],f[3])):v=Pe(v,f)),ve(v)){const t=e.getTileRangeForExtentAndZ(v,this.sourceZ_);for(let e=t.minX;e<=t.maxX;e++)for(let i=t.minY;i<=t.maxY;i++){const t=l(this.sourceZ_,e,i,o);t&&this.sourceTiles_.push(t)}0===this.sourceTiles_.length&&(this.state=Q)}else this.state=Q}getImage(){return this.canvas_}reproject_(){const t=[];if(this.sourceTiles_.forEach((e=>{e&&e.getState()==H&&t.push({extent:this.sourceTileGrid_.getTileCoordExtent(e.tileCoord),image:e.getImage()})})),this.sourceTiles_.length=0,0===t.length)this.state=J;else{const e=this.wrappedTileCoord_[0],i=this.targetTileGrid_.getTileSize(e),n="number"==typeof i?i:i[0],r="number"==typeof i?i:i[1],s=this.targetTileGrid_.getResolution(e),o=this.sourceTileGrid_.getResolution(this.sourceZ_),a=this.targetTileGrid_.getTileCoordExtent(this.wrappedTileCoord_);this.canvas_=hu(n,r,this.pixelRatio_,o,this.sourceTileGrid_.getExtent(),s,a,this.triangulation_,t,this.gutter_,this.renderEdges_,this.interpolate),this.state=H}this.changed()}load(){if(this.state==q){this.state=K,this.changed();let t=0;this.sourcesListenerKeys_=[],this.sourceTiles_.forEach((e=>{const i=e.getState();if(i==q||i==K){t++;const i=A(e,v,(function(n){const r=e.getState();r!=H&&r!=J&&r!=Q||(D(i),t--,0===t&&(this.unlistenSources_(),this.reproject_()))}),this);this.sourcesListenerKeys_.push(i)}})),0===t?setTimeout(this.reproject_.bind(this),0):this.sourceTiles_.forEach((function(t,e,i){t.getState()==q&&t.load()}))}}unlistenSources_(){this.sourcesListenerKeys_.forEach(D),this.sourcesListenerKeys_=null}release(){this.canvas_&&(xt(this.canvas_.getContext("2d")),ru.push(this.canvas_),this.canvas_=null),super.release()}},fu="tileloadstart",pu="tileloadend",mu="tileloaderror";function _u(t){return t?Array.isArray(t)?function(e){return t}:"function"==typeof t?t:function(e){return[t]}:null}var yu=class extends X{constructor(t){super(),this.projection=en(t.projection),this.attributions_=_u(t.attributions),this.attributionsCollapsible_=void 0===t.attributionsCollapsible||t.attributionsCollapsible,this.loading=!1,this.state_=void 0!==t.state?t.state:"ready",this.wrapX_=void 0!==t.wrapX&&t.wrapX,this.interpolate_=!!t.interpolate,this.viewResolver=null,this.viewRejector=null;const e=this;this.viewPromise_=new Promise((function(t,i){e.viewResolver=t,e.viewRejector=i}))}getAttributions(){return this.attributions_}getAttributionsCollapsible(){return this.attributionsCollapsible_}getProjection(){return this.projection}getResolutions(t){return null}getView(){return this.viewPromise_}getState(){return this.state_}getWrapX(){return this.wrapX_}getInterpolate(){return this.interpolate_}refresh(){this.changed()}setAttributions(t){this.attributions_=_u(t),this.changed()}setState(t){this.state_=t,this.changed()}};const xu=[0,0,0];var vu=class{constructor(t){let e;if(this.minZoom=void 0!==t.minZoom?t.minZoom:0,this.resolutions_=t.resolutions,Mt(u(this.resolutions_,((t,e)=>e-t),!0),"`resolutions` must be sorted in descending order"),!t.origins)for(let t=0,i=this.resolutions_.length-1;t{const n=new Ac(Math.min(0,t[0]),Math.max(t[0]-1,-1),Math.min(0,t[1]),Math.max(t[1]-1,-1));if(i){const t=this.getTileRangeForExtentAndZ(i,e);n.minX=Math.max(t.minX,n.minX),n.maxX=Math.min(t.maxX,n.maxX),n.minY=Math.max(t.minY,n.minY),n.maxY=Math.min(t.maxY,n.maxY)}return n})):i&&this.calculateTileRanges_(i)}forEachTileCoord(t,e,i){const n=this.getTileRangeForExtentAndZ(t,e);for(let t=n.minX,r=n.maxX;t<=r;++t)for(let r=n.minY,s=n.maxY;r<=s;++r)i([e,t,r])}forEachTileCoordParentTileRange(t,e,i,n){let r,s,o,a=null,l=t[0]-1;for(2===this.zoomFactor_?(s=t[1],o=t[2]):a=this.getTileCoordExtent(t,n);l>=this.minZoom;){if(void 0!==s&&void 0!==o?(s=Math.floor(s/2),o=Math.floor(o/2),r=Mc(s,s,o,o,i)):r=this.getTileRangeForExtentAndZ(a,l,i),e(l,r))return!0;--l}return!1}getExtent(){return this.extent_}getMaxZoom(){return this.maxZoom}getMinZoom(){return this.minZoom}getOrigin(t){return this.origin_?this.origin_:this.origins_[t]}getResolution(t){return this.resolutions_[t]}getResolutions(){return this.resolutions_}getTileCoordChildTileRange(t,e,i){if(t[0]this.maxZoom||e0)||i.find((function(i){return e[h]==i[l]||!e[h].includes(":")&&t[h]+":"+e[h]===i[l]})),d){r.push(e[h]);const t=28e-5*e[c]/g,i=e.TileWidth,l=e.TileHeight;f?s.push([e[u][1],e[u][0]]):s.push(e[u]),n.push(t),o.push(i==l?i:[i,l]),a.push([e.MatrixWidth,e.MatrixHeight])}})),new wu({extent:e,origins:s,resolutions:n,matrixIds:r,tileSizes:o,sizes:a})}function Tu(t){let e=t.getDefaultTileGrid();return e||(e=Iu(t),t.setDefaultTileGrid(e)),e}function Cu(t,e,i){const n=e[0],r=t.getTileCoordCenter(e),s=Lu(i);if(!ie(s,r)){const e=Fe(s),i=Math.ceil((s[0]-r[0])/e);return r[0]+=e*i,t.getTileCoordForCoordAndZ(r,n)}return e}function bu(t,e,i,n){n=void 0!==n?n:"top-left";const r=Pu(t,e,i);return new vu({extent:t,origin:Te(t,n),resolutions:r,tileSize:i})}function Ru(t){const e=t||{},i=e.extent||en("EPSG:3857").getExtent(),n={extent:i,minZoom:e.minZoom,tileSize:e.tileSize,resolutions:Pu(i,e.maxZoom,e.tileSize,e.maxResolution)};return new vu(n)}function Pu(t,e,i,n){e=void 0!==e?e:Ss,i=co(void 0!==i?i:Es);const r=Re(t),s=Fe(t);n=n>0?n:Math.max(s/i[0],r/i[1]);const o=e+1,a=new Array(o);for(let t=0;ti.highWaterMark&&(i.highWaterMark=t)}useTile(t,e,i,n){}};function Au(t,e){const i=/\{z\}/g,n=/\{x\}/g,r=/\{y\}/g,s=/\{-y\}/g;return function(o,a,l){if(o)return t.replace(i,o[0].toString()).replace(n,o[1].toString()).replace(r,o[2].toString()).replace(s,(function(){const t=o[0],i=e.getFullTileRange(t);if(!i)throw new Error("The {-y} placeholder requires a tile grid with extent");return(i.getHeight()-o[2]-1).toString()}))}}function Ou(t,e){const i=t.length,n=new Array(i);for(let r=0;rthis.getTileInternal(t,e,i,n,s)),this.reprojectionErrorThreshold_,this.renderReprojectionEdges_,this.tileOptions);return f.key=c,l?(f.interimTile=l,f.refreshInterimChain(),o.replace(h,f)):o.set(h,f),f}getTileInternal(t,e,i,n,r){let s=null;const o=Tc(t,e,i),a=this.getKey();if(this.tileCache.containsKey(o)){if(s=this.tileCache.get(o),s.key!=a){const l=s;s=this.createTile_(t,e,i,n,r,a),l.getState()==q?s.interimTile=l.interimTile:s.interimTile=l,s.refreshInterimChain(),this.tileCache.replace(o,s)}}else s=this.createTile_(t,e,i,n,r,a),this.tileCache.set(o,s);return s}setRenderReprojectionEdges(t){if(this.renderReprojectionEdges_!=t){this.renderReprojectionEdges_=t;for(const t in this.tileCacheForProjection)this.tileCacheForProjection[t].clear();this.changed()}}setTileGridForProjection(t,e){const i=en(t);if(i){const t=U(i);t in this.tileGridForProjection||(this.tileGridForProjection[t]=e)}}clear(){super.clear();for(const t in this.tileCacheForProjection)this.tileCacheForProjection[t].clear()}};function Bu(t){const e=t[0],i=new Array(e);let n,r,s=1<>=1;return i.join("")}var Xu=class extends Uu{constructor(t){const e=void 0!==t.hidpi&&t.hidpi;super({cacheSize:t.cacheSize,crossOrigin:"anonymous",interpolate:t.interpolate,opaque:!0,projection:en("EPSG:3857"),reprojectionErrorThreshold:t.reprojectionErrorThreshold,state:"loading",tileLoadFunction:t.tileLoadFunction,tilePixelRatio:e?2:1,wrapX:void 0===t.wrapX||t.wrapX,transition:t.transition,zDirection:t.zDirection}),this.hidpi_=e,this.culture_=void 0!==t.culture?t.culture:"en-us",this.maxZoom_=void 0!==t.maxZoom?t.maxZoom:-1,this.apiKey_=t.key,this.imagerySet_=t.imagerySet,this.placeholderTiles_=t.placeholderTiles;const i="https://dev.virtualearth.net/REST/v1/Imagery/Metadata/"+this.imagerySet_+"?uriScheme=https&include=ImageryProviders&key="+this.apiKey_+"&c="+this.culture_;fetch(i).then((t=>t.json())).then((t=>this.handleImageryMetadataResponse(t)))}getApiKey(){return this.apiKey_}getImagerySet(){return this.imagerySet_}handleImageryMetadataResponse(t){if(200!=t.statusCode||"OK"!=t.statusDescription||"ValidCredentials"!=t.authenticationResultCode||1!=t.resourceSets.length||1!=t.resourceSets[0].resources.length)return void this.setState("error");const e=t.resourceSets[0].resources[0],i=-1==this.maxZoom_?e.zoomMax:this.maxZoom_,n=Lu(this.getProjection()),r=this.hidpi_?2:1,s=e.imageWidth==e.imageHeight?e.imageWidth/r:[e.imageWidth/r,e.imageHeight/r],o=Ru({extent:n,minZoom:e.zoomMin,maxZoom:i,tileSize:s});this.tileGrid=o;const a=this.culture_,l=this.hidpi_,h=this.placeholderTiles_;if(this.tileUrlFunction=Du(e.imageUrlSubdomains.map((function(t){const i=[0,0,0],n=e.imageUrl.replace("{subdomain}",t).replace("{culture}",a);return function(t,e,r){if(!t)return;Ec(t[0],t[1],t[2],i);const s=new URL(n.replace("{quadkey}",Bu(i))),o=s.searchParams;return l&&(o.set("dpi","d1"),o.set("device","mobile")),!0===h?o.delete("n"):!1===h&&o.set("n","z"),s.toString()}}))),e.imageryProviders){const t=un(en("EPSG:4326"),this.getProjection());this.setAttributions((i=>{const n=[],r=i.viewState,s=this.getTileGrid(),o=s.getZForResolution(r.resolution,this.zDirection),a=s.getTileCoordForCoordAndZ(r.center,o)[0];return e.imageryProviders.map((function(e){let r=!1;const s=e.coverageAreas;for(let e=0,n=s.length;e=n.zoomMin&&a<=n.zoomMax){const e=n.bbox;if(Me(ke([e[1],e[0],e[3],e[2]],t),i.extent)){r=!0;break}}}r&&n.push(e.attribution)})),n.push('Terms of Use'),n}))}this.setState("ready")}};var Vu=class extends Uu{constructor(t){const e=void 0!==(t=t||{}).projection?t.projection:"EPSG:3857",i=void 0!==t.tileGrid?t.tileGrid:Ru({extent:Lu(e),maxResolution:t.maxResolution,maxZoom:t.maxZoom,minZoom:t.minZoom,tileSize:t.tileSize});super({attributions:t.attributions,cacheSize:t.cacheSize,crossOrigin:t.crossOrigin,interpolate:t.interpolate,opaque:t.opaque,projection:e,reprojectionErrorThreshold:t.reprojectionErrorThreshold,tileGrid:i,tileLoadFunction:t.tileLoadFunction,tilePixelRatio:t.tilePixelRatio,tileUrlFunction:t.tileUrlFunction,url:t.url,urls:t.urls,wrapX:void 0===t.wrapX||t.wrapX,transition:t.transition,attributionsCollapsible:t.attributionsCollapsible,zDirection:t.zDirection}),this.gutter_=void 0!==t.gutter?t.gutter:0}getGutter(){return this.gutter_}};var Wu=class extends Vu{constructor(t){super({attributions:t.attributions,cacheSize:t.cacheSize,crossOrigin:t.crossOrigin,maxZoom:void 0!==t.maxZoom?t.maxZoom:18,minZoom:t.minZoom,projection:t.projection,transition:t.transition,wrapX:t.wrapX,zDirection:t.zDirection}),this.account_=t.account,this.mapId_=t.map||"",this.config_=t.config||{},this.templateCache_={},this.initializeMap_()}getConfig(){return this.config_}updateConfig(t){Object.assign(this.config_,t),this.initializeMap_()}setConfig(t){this.config_=t||{},this.initializeMap_()}initializeMap_(){const t=JSON.stringify(this.config_);if(this.templateCache_[t])return void this.applyTemplate_(this.templateCache_[t]);let e="https://"+this.account_+".carto.com/api/v1/map";this.mapId_&&(e+="/named/"+this.mapId_);const i=new XMLHttpRequest;i.addEventListener("load",this.handleInitResponse_.bind(this,t)),i.addEventListener("error",this.handleInitError_.bind(this)),i.open("POST",e),i.setRequestHeader("Content-type","application/json"),i.send(JSON.stringify(this.config_))}handleInitResponse_(t,e){const i=e.target;if(!i.status||i.status>=200&&i.status<300){let e;try{e=JSON.parse(i.responseText)}catch(t){return void this.setState("error")}this.applyTemplate_(e),this.templateCache_[t]=e,this.setState("ready")}else this.setState("error")}handleInitError_(t){this.setState("error")}applyTemplate_(t){const e="https://"+t.cdn_url.https+"/"+this.account_+"/api/v1/map/"+t.layergroupid+"/{z}/{x}/{y}.png";this.setUrl(e)}};var Zu=class{constructor(t){this.rbush_=new Ys(t),this.items_={}}insert(t,e){const i={minX:t[0],minY:t[1],maxX:t[2],maxY:t[3],value:e};this.rbush_.insert(i),this.items_[U(e)]=i}load(t,e){const i=new Array(e.length);for(let n=0,r=e.length;n=e[0]||(t[1]<=e[1]&&t[3]>=e[1]||xe(t,this.intersectsCoordinate.bind(this)))}return!1}setCenter(t){const e=this.stride,i=this.flatCoordinates[e]-this.flatCoordinates[0],n=t.slice();n[e]=n[0]+i;for(let i=1;it.clone()))}var Hu=qu;function Ju(t,e,i,n,s,o,a){let l,h;const c=(i-e)/n;if(1===c)l=e;else if(2===c)l=e,h=s;else if(0!==c){let o=t[e],a=t[e+1],c=0;const u=[0];for(let r=e+n;r1?a:2,o=o||new Array(a);for(let e=0;e>1;r{if(t===this.squaredTolerance_)return this.simplifiedGeometry_;this.simplifiedGeometry_=this.clone(),e&&this.simplifiedGeometry_.applyTransform(e);const i=this.simplifiedGeometry_.getFlatCoordinates();let n;switch(this.type_){case"LineString":i.length=$n(i,0,this.simplifiedGeometry_.flatCoordinates_.length,this.simplifiedGeometry_.stride_,t,i,0),n=[i.length];break;case"MultiLineString":n=[],i.length=Yn(i,0,this.simplifiedGeometry_.ends_,this.simplifiedGeometry_.stride_,t,i,0,n);break;case"Polygon":n=[],i.length=Jn(i,0,this.simplifiedGeometry_.ends_,this.simplifiedGeometry_.stride_,Math.sqrt(t),i,0,n)}return n&&(this.simplifiedGeometry_=new dd(this.type_,i,n,2,this.properties_,this.id_)),this.squaredTolerance_=t,this.simplifiedGeometry_})),this}}function gd(t){const e=t.getType();switch(e){case"Point":return new hr(t.getFlatCoordinates());case"MultiPoint":return new ad(t.getFlatCoordinates(),"XY");case"LineString":return new nd(t.getFlatCoordinates(),"XY");case"MultiLineString":return new sd(t.getFlatCoordinates(),"XY",t.getEnds());case"Polygon":const i=t.getFlatCoordinates(),n=t.getEnds(),r=Pr(i,n);return r.length>1?new cd(i,"XY",r):new Lr(i,"XY",n);default:throw new Error("Invalid geometry type:"+e)}}dd.prototype.getFlatCoordinates=dd.prototype.getOrientedFlatCoordinates;var fd=dd,pd="addfeature",md="changefeature",_d="clear",yd="removefeature",xd="featuresloadstart",vd="featuresloadend",wd="featuresloaderror";class Sd extends e{constructor(t,e,i){super(t),this.feature=e,this.features=i}}var Ed=class extends yu{constructor(t){super({attributions:(t=t||{}).attributions,interpolate:!0,projection:void 0,state:"ready",wrapX:void 0===t.wrapX||t.wrapX}),this.on,this.once,this.un,this.loader_=f,this.format_=t.format,this.overlaps_=void 0===t.overlaps||t.overlaps,this.url_=t.url,void 0!==t.loader?this.loader_=t.loader:void 0!==this.url_&&(Mt(this.format_,"`format` must be set when `url` is set"),this.loader_=zc(this.url_,this.format_)),this.strategy_=void 0!==t.strategy?t.strategy:Uc;const e=void 0===t.useSpatialIndex||t.useSpatialIndex;let i,n;this.featuresRtree_=e?new Zu:null,this.loadedExtentsRtree_=new Zu,this.loadingExtentsCount_=0,this.nullGeometryFeatures_={},this.idIndex_={},this.uidIndex_={},this.featureChangeKeys_={},this.featuresCollection_=null,Array.isArray(t.features)?n=t.features:t.features&&(i=t.features,n=i.getArray()),e||void 0!==i||(i=new Y(n)),void 0!==n&&this.addFeaturesInternal(n),void 0!==i&&this.bindFeaturesCollection_(i)}addFeature(t){this.addFeatureInternal(t),this.changed()}addFeatureInternal(t){const e=U(t);if(!this.addToIndex_(e,t))return void(this.featuresCollection_&&this.featuresCollection_.remove(t));this.setupChangeEvents_(e,t);const i=t.getGeometry();if(i){const e=i.getExtent();this.featuresRtree_&&this.featuresRtree_.insert(e,t)}else this.nullGeometryFeatures_[e]=t;this.dispatchEvent(new Sd(pd,t))}setupChangeEvents_(t,e){e instanceof fd||(this.featureChangeKeys_[t]=[A(e,v,this.handleFeatureChange_,this),A(e,i,this.handleFeatureChange_,this)])}addToIndex_(t,e){let i=!0;if(void 0!==e.getId()){const t=String(e.getId());if(t in this.idIndex_)if(e instanceof fd){const n=this.idIndex_[t];n instanceof fd?Array.isArray(n)?n.push(e):this.idIndex_[t]=[n,e]:i=!1}else i=!1;else this.idIndex_[t]=e}return i&&(Mt(!(t in this.uidIndex_),"The passed `feature` was already added to the source"),this.uidIndex_[t]=e),i}addFeatures(t){this.addFeaturesInternal(t),this.changed()}addFeaturesInternal(t){const e=[],i=[],n=[];for(let e=0,n=t.length;e{e||(e=!0,this.addFeature(t.element),e=!1)})),t.addEventListener(W,(t=>{e||(e=!0,this.removeFeature(t.element),e=!1)})),this.featuresCollection_=t}clear(t){if(t){for(const t in this.featureChangeKeys_){this.featureChangeKeys_[t].forEach(D)}this.featuresCollection_||(this.featureChangeKeys_={},this.idIndex_={},this.uidIndex_={})}else if(this.featuresRtree_){const t=t=>{this.removeFeatureInternal(t)};this.featuresRtree_.forEach(t);for(const t in this.nullGeometryFeatures_)this.removeFeatureInternal(this.nullGeometryFeatures_[t])}this.featuresCollection_&&this.featuresCollection_.clear(),this.featuresRtree_&&this.featuresRtree_.clear(),this.nullGeometryFeatures_={};const e=new Sd(_d);this.dispatchEvent(e),this.changed()}forEachFeature(t){if(this.featuresRtree_)return this.featuresRtree_.forEach(t);this.featuresCollection_&&this.featuresCollection_.forEach(t)}forEachFeatureAtCoordinateDirect(t,e){const i=[t[0],t[1],t[0],t[1]];return this.forEachFeatureInExtent(i,(function(i){const n=i.getGeometry();if(n instanceof fd||n.intersectsCoordinate(t))return e(i)}))}forEachFeatureInExtent(t,e){if(this.featuresRtree_)return this.featuresRtree_.forEachInExtent(t,e);this.featuresCollection_&&this.featuresCollection_.forEach(e)}forEachFeatureIntersectingExtent(t,e){return this.forEachFeatureInExtent(t,(function(i){const n=i.getGeometry();if(n instanceof fd||n.intersectsExtent(t)){const t=e(i);if(t)return t}}))}getFeaturesCollection(){return this.featuresCollection_}getFeatures(){let t;return this.featuresCollection_?t=this.featuresCollection_.getArray().slice(0):this.featuresRtree_&&(t=this.featuresRtree_.getAll(),y(this.nullGeometryFeatures_)||h(t,Object.values(this.nullGeometryFeatures_))),t}getFeaturesAtCoordinate(t){const e=[];return this.forEachFeatureAtCoordinateDirect(t,(function(t){e.push(t)})),e}getFeaturesInExtent(t,e){if(this.featuresRtree_){if(!(e&&e.canWrapX()&&this.getWrapX()))return this.featuresRtree_.getInExtent(t);const i=je(t,e);return[].concat(...i.map((t=>this.featuresRtree_.getInExtent(t))))}return this.featuresCollection_?this.featuresCollection_.getArray().slice(0):[]}getClosestFeatureToCoordinate(t,e){const i=t[0],n=t[1];let r=null;const s=[NaN,NaN];let o=1/0;const a=[-1/0,-1/0,1/0,1/0];return e=e||d,this.featuresRtree_.forEachInExtent(a,(function(t){if(e(t)){const e=t.getGeometry(),l=o;if(o=e instanceof fd?0:e.closestPointXY(i,n,s,o),o{--this.loadingExtentsCount_,this.dispatchEvent(new Sd(vd,void 0,t))}),(()=>{--this.loadingExtentsCount_,this.dispatchEvent(new Sd(wd))})),n.insert(s,{extent:s.slice()}))}this.loading=!(this.loader_.length<4)&&this.loadingExtentsCount_>0}refresh(){this.clear(!0),this.loadedExtentsRtree_.clear(),super.refresh()}removeLoadedExtent(t){const e=this.loadedExtentsRtree_;let i;e.forEachInExtent(t,(function(e){if(ue(e.extent,t))return i=e,!0})),i&&e.remove(i)}removeFeatures(t){const e=[];for(let i=0,n=t.length;i0&&this.changed()}removeFeature(t){if(!t)return;this.removeFeatureInternal(t)&&this.changed()}removeFeatureInternal(t){const e=U(t);e in this.nullGeometryFeatures_?delete this.nullGeometryFeatures_[e]:this.featuresRtree_&&this.featuresRtree_.remove(t);const i=this.featureChangeKeys_[e];if(!i)return;i.forEach(D),delete this.featureChangeKeys_[e];const n=t.getId();return void 0!==n&&delete this.idIndex_[n.toString()],delete this.uidIndex_[e],this.hasListener(yd)&&this.dispatchEvent(new Sd(yd,t)),t}removeFromIdIndex_(t){let e=!1;for(const i in this.idIndex_){const n=this.idIndex_[i];if(t instanceof fd&&Array.isArray(n)&&n.includes(t))n.splice(n.indexOf(t),1);else if(this.idIndex_[i]===t){delete this.idIndex_[i],e=!0;break}}return e}setLoader(t){this.loader_=t}setUrl(t){Mt(this.format_,"`format` must be set when `url` is set"),this.url_=t,this.setLoader(zc(t,this.format_))}};var Td=class extends Ed{constructor(t){super({attributions:t.attributions,wrapX:t.wrapX}),this.resolution=void 0,this.distance=void 0!==t.distance?t.distance:20,this.minDistance=t.minDistance||0,this.interpolationRatio=0,this.features=[],this.geometryFunction=t.geometryFunction||function(t){const e=t.getGeometry();return Mt(!e||"Point"===e.getType(),"The default `geometryFunction` can only handle `Point` or null geometries"),e},this.createCustomCluster_=t.createCluster,this.source=null,this.boundRefresh_=this.refresh.bind(this),this.updateDistance(this.distance,this.minDistance),this.setSource(t.source||null)}clear(t){this.features.length=0,super.clear(t)}getDistance(){return this.distance}getSource(){return this.source}loadFeatures(t,e,i){this.source.loadFeatures(t,e,i),e!==this.resolution&&(this.resolution=e,this.refresh())}setDistance(t){this.updateDistance(t,this.minDistance)}setMinDistance(t){this.updateDistance(this.distance,t)}getMinDistance(){return this.minDistance}setSource(t){this.source&&this.source.removeEventListener(v,this.boundRefresh_),this.source=t,t&&t.addEventListener(v,this.boundRefresh_),this.refresh()}refresh(){this.clear(),this.cluster(),this.addFeatures(this.features)}updateDistance(t,e){const i=0===t?0:Math.min(e,t)/t,n=t!==this.distance||this.interpolationRatio!==i;this.distance=t,this.minDistance=e,this.interpolationRatio=i,n&&this.refresh()}cluster(){if(void 0===this.resolution||!this.source)return;const t=[1/0,1/0,-1/0,-1/0],e=this.distance*this.resolution,i=this.source.getFeatures(),n={};for(let r=0,s=i.length;r=0;--e){const n=this.geometryFunction(t[e]);n?bi(i,n.getCoordinates()):t.splice(e,1)}Ai(i,1/t.length);const n=Ee(e),r=this.interpolationRatio,s=new hr([i[0]*(1-r)+n[0]*r,i[1]*(1-r)+n[1]*r]);return this.createCustomCluster_?this.createCustomCluster_(s,t):new Dt({geometry:s,features:t})}};var Cd=class extends Ft{constructor(t){super({tileCoord:t.tileCoord,loader:()=>Promise.resolve(new Uint8Array(4)),interpolate:t.interpolate,transition:t.transition}),this.pixelRatio_=t.pixelRatio,this.gutter_=t.gutter,this.reprojData_=null,this.reprojError_=null,this.reprojSize_=void 0,this.sourceTileGrid_=t.sourceTileGrid,this.targetTileGrid_=t.targetTileGrid,this.wrappedTileCoord_=t.wrappedTileCoord||t.tileCoord,this.sourceTiles_=[],this.sourcesListenerKeys_=null,this.sourceZ_=0;const e=this.targetTileGrid_.getTileCoordExtent(this.wrappedTileCoord_),i=this.targetTileGrid_.getExtent();let n=this.sourceTileGrid_.getExtent();const r=i?Pe(e,i):e;if(0===ve(r))return void(this.state=Q);const s=t.sourceProj,o=s.getExtent();o&&(n=n?Pe(n,o):o);const a=this.targetTileGrid_.getResolution(this.wrappedTileCoord_[0]),l=t.targetProj,h=lu(s,l,r,a);if(!isFinite(h)||h<=0)return void(this.state=Q);const c=void 0!==t.errorThreshold?t.errorThreshold:uu;if(this.triangulation_=new du(s,l,r,n,h*c,a),0===this.triangulation_.getTriangles().length)return void(this.state=Q);this.sourceZ_=this.sourceTileGrid_.getZForResolution(h);let u=this.triangulation_.calculateSourceExtent();if(n&&(s.canWrapX()?(u[1]=di(u[1],n[1],n[3]),u[3]=di(u[3],n[1],n[3])):u=Pe(u,n)),ve(u)){const e=this.sourceTileGrid_.getTileRangeForExtentAndZ(u,this.sourceZ_),i=t.getTileFunction;for(let t=e.minX;t<=e.maxX;t++)for(let n=e.minY;n<=e.maxY;n++){const e=i(this.sourceZ_,t,n,this.pixelRatio_);e&&this.sourceTiles_.push(e)}0===this.sourceTiles_.length&&(this.state=Q)}else this.state=Q}getSize(){return this.reprojSize_}getData(){return this.reprojData_}getError(){return this.reprojError_}reproject_(){const t=[];if(this.sourceTiles_.forEach((e=>{if(!e||e.getState()!==H)return;const i=e.getSize(),n=this.gutter_;let r;const s=Rt(e.getData());r=s||It(bt(e.getData()));const o=[i[0]+2*n,i[1]+2*n],a=r instanceof Float32Array,l=o[0]*o[1],h=a?Float32Array:Uint8Array,c=new h(r.buffer),u=h.BYTES_PER_ELEMENT,d=u*c.length/l,g=c.byteLength/o[1],f=Math.floor(g/u/o[0]),p=l*f;let m=c;if(c.length!==p){m=new h(p);let t=0,e=0;const i=o[0]*f;for(let n=0;n=0;--e){const i=[];for(let n=0,r=t.length;n{const i=e.getState();if(i!==q&&i!==K)return;t++;const n=A(e,v,(function(){const i=e.getState();i!=H&&i!=J&&i!=Q||(D(n),t--,0===t&&(this.unlistenSources_(),this.reproject_()))}),this);this.sourcesListenerKeys_.push(n)})),0===t?setTimeout(this.reproject_.bind(this),0):this.sourceTiles_.forEach((function(t){t.getState()==q&&t.load()}))}unlistenSources_(){this.sourcesListenerKeys_.forEach(D),this.sourcesListenerKeys_=null}};var bd=class extends Mu{constructor(t){const e=void 0===t.projection?"EPSG:3857":t.projection;let i=t.tileGrid;void 0===i&&e&&(i=Ru({extent:Lu(e),maxResolution:t.maxResolution,maxZoom:t.maxZoom,minZoom:t.minZoom,tileSize:t.tileSize})),super({cacheSize:.1,attributions:t.attributions,attributionsCollapsible:t.attributionsCollapsible,projection:e,tileGrid:i,opaque:t.opaque,state:t.state,wrapX:t.wrapX,transition:t.transition,interpolate:t.interpolate}),this.gutter_=void 0!==t.gutter?t.gutter:0,this.tileSize_=t.tileSize?co(t.tileSize):null,this.tileSizes_=null,this.tileLoadingKeys_={},this.loader_=t.loader,this.handleTileChange_=this.handleTileChange_.bind(this),this.bandCount=void 0===t.bandCount?4:t.bandCount,this.tileGridForProjection_={},this.tileCacheForProjection_={}}setTileSizes(t){this.tileSizes_=t}getTileSize(t){if(this.tileSizes_)return this.tileSizes_[t];if(this.tileSize_)return this.tileSize_;const e=this.getTileGrid();return e?co(e.getTileSize(t)):[256,256]}getGutterForProjection(t){const e=this.getProjection();return!e||cn(e,t)?this.gutter_:0}setLoader(t){this.loader_=t}getReprojTile_(t,e,i,n,r){const s=this.getTileCacheForProjection(n),o=Tc(t,e,i);if(s.containsKey(o)){const t=s.get(o);if(t&&t.key==this.getKey())return t}const a=this.getTileGrid(),l=Math.max.apply(null,a.getResolutions().map(((t,e)=>{const i=co(a.getTileSize(e)),n=this.getTileSize(e);return Math.max(n[0]/i[0],n[1]/i[1])}))),h=this.getTileGridForProjection(r),c=this.getTileGridForProjection(n),u=[t,e,i],d=this.getTileCoordForTileUrlFunction(u,n),g=Object.assign({sourceProj:r,sourceTileGrid:h,targetProj:n,targetTileGrid:c,tileCoord:u,wrappedTileCoord:d,pixelRatio:l,gutter:this.getGutterForProjection(r),getTileFunction:(t,e,i,n)=>this.getTile(t,e,i,n,r)},this.tileOptions),f=new Cd(g);return f.key=this.getKey(),f}getTile(t,e,i,n,r){const s=this.getProjection();if(s&&r&&!cn(s,r))return this.getReprojTile_(t,e,i,r,s);const o=this.getTileSize(t),a=Tc(t,e,i);if(this.tileCache.containsKey(a))return this.tileCache.get(a);const l=this.loader_;const h=Object.assign({tileCoord:[t,e,i],loader:function(){return m((function(){return l(t,e,i)}))},size:o},this.tileOptions),c=new Ft(h);return c.key=this.getKey(),c.addEventListener(v,this.handleTileChange_),this.tileCache.set(a,c),c}handleTileChange_(t){const e=t.target,i=U(e),n=e.getState();let r;n==K?(this.tileLoadingKeys_[i]=!0,r=fu):i in this.tileLoadingKeys_&&(delete this.tileLoadingKeys_[i],r=n==J?mu:n==H?pu:void 0),r&&this.dispatchEvent(new Fu(r,e))}getTileGridForProjection(t){const e=this.getProjection();if(this.tileGrid&&(!e||cn(e,t)))return this.tileGrid;const i=U(t);return i in this.tileGridForProjection_||(this.tileGridForProjection_[i]=Tu(t)),this.tileGridForProjection_[i]}setTileGridForProjection(t,e){const i=en(t);if(i){const t=U(i);t in this.tileGridForProjection_||(this.tileGridForProjection_[t]=e)}}getTileCacheForProjection(t){const e=this.getProjection();if(!e||cn(e,t))return this.tileCache;const i=U(t);return i in this.tileCacheForProjection_||(this.tileCacheForProjection_[i]=new Lc(.1)),this.tileCacheForProjection_[i]}expireCache(t,e){const i=this.getTileCacheForProjection(t);this.tileCache.expireCache(this.tileCache==i?e:{});for(const t in this.tileCacheForProjection_){const n=this.tileCacheForProjection_[t];n.expireCache(n==i?e:{})}}clear(){super.clear();for(const t in this.tileCacheForProjection_)this.tileCacheForProjection_[t].clear()}};function Rd(t,e){if(!t)return!1;if(!0===t)return!0;if(3!==e.getSamplesPerPixel())return!1;const i=e.fileDirectory.PhotometricInterpretation,n=GeoTIFF.globals.photometricInterpretations;return i===n.CMYK||i===n.YCbCr||i===n.CIELab||i===n.ICCLab}const Pd="STATISTICS_MAXIMUM",Id="STATISTICS_MINIMUM";let Ld;function Fd(t){try{return t.getBoundingBox()}catch(e){return[0,0,t.getWidth(),t.getHeight()]}}function Md(t){try{return t.getOrigin().slice(0,2)}catch(e){return[0,t.getHeight()]}}function Ad(t,e){try{return t.getResolution(e)}catch(i){return[e.getWidth()/t.getWidth(),e.getHeight()/t.getHeight()]}}function Od(t){const e=t.geoKeys;if(!e)return null;if(e.ProjectedCSTypeGeoKey&&32767!==e.ProjectedCSTypeGeoKey){const t="EPSG:"+e.ProjectedCSTypeGeoKey;let i=en(t);if(!i){const n=Ue(e.ProjLinearUnitsGeoKey);n&&(i=new Xe({code:t,units:n}))}return i}if(e.GeographicTypeGeoKey&&32767!==e.GeographicTypeGeoKey){const t="EPSG:"+e.GeographicTypeGeoKey;let i=en(t);if(!i){const n=Ue(e.GeogAngularUnitsGeoKey);n&&(i=new Xe({code:t,units:n}))}return i}return null}function Dd(t){return t.getImageCount().then((function(e){const i=new Array(e);for(let n=0;ni*t)throw new Error(n)}function Gd(t){return t instanceof Int8Array?127:t instanceof Uint8Array||t instanceof Uint8ClampedArray?255:t instanceof Int16Array?32767:t instanceof Uint16Array?65535:t instanceof Int32Array?2147483647:t instanceof Uint32Array?4294967295:t instanceof Float32Array?34e37:255}class jd extends bd{constructor(t){super({state:"loading",tileGrid:null,projection:t.projection||null,opaque:t.opaque,transition:t.transition,interpolate:!1!==t.interpolate,wrapX:t.wrapX}),this.sourceInfo_=t.sources;const e=this.sourceInfo_.length;this.sourceOptions_=t.sourceOptions,this.sourceImagery_=new Array(e),this.sourceMasks_=new Array(e),this.resolutionFactors_=new Array(e),this.samplesPerPixel_,this.nodataValues_,this.metadata_,this.normalize_=!1!==t.normalize,this.addAlpha_=!1,this.error_=null,this.convertToRGB_=t.convertToRGB||!1,this.setKey(this.sourceInfo_.map((t=>t.url)).join(","));const i=this,n=new Array(e);for(let t=0;t=0;--t){const i=Od(e[t]);if(i){this.projection=i;break}}}configure_(t){let e,i,n,r,s;const o=new Array(t.length),a=new Array(t.length),l=new Array(t.length);let h=0;const c=t.length;for(let u=0;u{4==(4&(t.fileDirectory.NewSubfileType||0))?d.push(t):c.push(t)}));const g=c.length;if(d.length>0&&d.length!==g)throw new Error(`Expected one mask per image found ${d.length} masks and ${g} images`);let f,p;const m=new Array(g),_=new Array(g),y=new Array(g);a[u]=new Array(g),l[u]=new Array(g);for(let t=0;ty.length&&(h=s.length-y.length);const t=s[s.length-1]/y[y.length-1];this.resolutionFactors_[u]=t;const e=y.map((e=>e*t)),i=`Resolution mismatch for source ${u}, got [${e}] but expected [${s}]`;kd(s.slice(h,s.length),e,.02,i,this.viewRejector)}else s=y,this.resolutionFactors_[u]=1;n?kd(n.slice(h,n.length),_,.01,`Tile size mismatch for source ${u}`,this.viewRejector):n=_,r?kd(r.slice(h,r.length),m,0,`Tile size mismatch for source ${u}`,this.viewRejector):r=m,this.sourceImagery_[u]=c.reverse(),this.sourceMasks_[u]=d.reverse()}for(let t=0,e=this.sourceImagery_.length;tthis.createSession_()),h),this.setAttributions(this.fetchAttributions_.bind(this)),this.setState("ready")}async fetchAttributions_(t){if(t.viewHints[xs]||t.viewHints[vs]||t.animate)return this.previousViewportAttribution_;const[e,i]=hn(we(t.extent),t.viewState.projection),[n,r]=hn(Le(t.extent),t.viewState.projection),s=`zoom=${this.getTileGrid().getZForResolution(t.viewState.resolution,this.zDirection)}&north=${r}&south=${i}&east=${n}&west=${e}`;if(this.previousViewportExtent_==s)return this.previousViewportAttribution_;this.previousViewportExtent_=s;const o=`https://tile.googleapis.com/tile/v1/viewport?session=${this.sessionTokenValue_}&key=${this.apiKey_}&${s}`;return this.previousViewportAttribution_=await fetch(o).then((t=>t.json())).then((t=>t.copyright)),this.previousViewportAttribution_}disposeInternal(){clearTimeout(this.sessionRefreshId_),super.disposeInternal()}};let Bd=class extends es{constructor(t,e,i,n,r,s,o){super(e,i,n,r,s,o),this.zoomifyImage_=null,this.tileSize_=t}getImage(){if(this.zoomifyImage_)return this.zoomifyImage_;const t=super.getImage();if(this.state==H){const e=this.tileSize_;if(t.width==e[0]&&t.height==e[1])return this.zoomifyImage_=t,t;const i=mt(e[0],e[1]);return i.drawImage(t,0,0),this.zoomifyImage_=i.canvas,i.canvas}return t}};var Xd=class extends Uu{constructor(t){const e=t.size,i=void 0!==t.tierSizeCalculation?t.tierSizeCalculation:"default",n=t.tilePixelRatio||1,r=e[0],s=e[1],o=[],a=t.tileSize||Es;let l=a*n;switch(i){case"default":for(;r>l||s>l;)o.push([Math.ceil(r/l),Math.ceil(s/l)]),l+=l;break;case"truncated":let t=r,e=s;for(;t>l||e>l;)o.push([Math.ceil(t/l),Math.ceil(e/l)]),t>>=1,e>>=1;break;default:throw new Error("Unknown `tierSizeCalculation` configured")}o.push([1,1]),o.reverse();const h=[n],c=[0];for(let t=1,e=o.length;t{f=a,this.changed()})),y.src=_}};const Vd="version1",Wd="version2",Zd="version3",$d={};$d[Vd]={level0:{supports:[],formats:[],qualities:["native"]},level1:{supports:["regionByPx","sizeByW","sizeByH","sizeByPct"],formats:["jpg"],qualities:["native"]},level2:{supports:["regionByPx","regionByPct","sizeByW","sizeByH","sizeByPct","sizeByConfinedWh","sizeByWh"],formats:["jpg","png"],qualities:["native","color","grey","bitonal"]}},$d[Wd]={level0:{supports:[],formats:["jpg"],qualities:["default"]},level1:{supports:["regionByPx","sizeByW","sizeByH","sizeByPct"],formats:["jpg"],qualities:["default"]},level2:{supports:["regionByPx","regionByPct","sizeByW","sizeByH","sizeByPct","sizeByConfinedWh","sizeByDistortedWh","sizeByWh"],formats:["jpg","png"],qualities:["default","bitonal"]}},$d[Zd]={level0:{supports:[],formats:["jpg"],qualities:["default"]},level1:{supports:["regionByPx","regionSquare","sizeByW","sizeByH","sizeByWh"],formats:["jpg"],qualities:["default"]},level2:{supports:["regionByPx","regionSquare","regionByPct","sizeByW","sizeByH","sizeByPct","sizeByConfinedWh","sizeByWh"],formats:["jpg","png"],qualities:["default"]}},$d.none={none:{supports:[],formats:[],qualities:[]}};const Yd=/^https?:\/\/library\.stanford\.edu\/iiif\/image-api\/(?:1\.1\/)?compliance\.html#level[0-2]$/,qd=/^https?:\/\/iiif\.io\/api\/image\/2\/level[0-2](?:\.json)?$/,Kd=/(^https?:\/\/iiif\.io\/api\/image\/3\/level[0-2](?:\.json)?$)|(^level[0-2]$)/;const Hd={};Hd[Vd]=function(t){let e=t.getComplianceLevelSupportedFeatures();return void 0===e&&(e=$d[Vd].level0),{url:void 0===t.imageInfo["@id"]?void 0:t.imageInfo["@id"].replace(/\/?(?:info\.json)?$/g,""),supports:e.supports,formats:[...e.formats,void 0===t.imageInfo.formats?[]:t.imageInfo.formats],qualities:[...e.qualities,void 0===t.imageInfo.qualities?[]:t.imageInfo.qualities],resolutions:t.imageInfo.scale_factors,tileSize:void 0!==t.imageInfo.tile_width?void 0!==t.imageInfo.tile_height?[t.imageInfo.tile_width,t.imageInfo.tile_height]:[t.imageInfo.tile_width,t.imageInfo.tile_width]:null!=t.imageInfo.tile_height?[t.imageInfo.tile_height,t.imageInfo.tile_height]:void 0}},Hd[Wd]=function(t){const e=t.getComplianceLevelSupportedFeatures(),i=Array.isArray(t.imageInfo.profile)&&t.imageInfo.profile.length>1,n=i&&t.imageInfo.profile[1].supports?t.imageInfo.profile[1].supports:[],r=i&&t.imageInfo.profile[1].formats?t.imageInfo.profile[1].formats:[],s=i&&t.imageInfo.profile[1].qualities?t.imageInfo.profile[1].qualities:[];return{url:t.imageInfo["@id"].replace(/\/?(?:info\.json)?$/g,""),sizes:void 0===t.imageInfo.sizes?void 0:t.imageInfo.sizes.map((function(t){return[t.width,t.height]})),tileSize:void 0===t.imageInfo.tiles?void 0:[t.imageInfo.tiles.map((function(t){return t.width}))[0],t.imageInfo.tiles.map((function(t){return void 0===t.height?t.width:t.height}))[0]],resolutions:void 0===t.imageInfo.tiles?void 0:t.imageInfo.tiles.map((function(t){return t.scaleFactors}))[0],supports:[...e.supports,...n],formats:[...e.formats,...r],qualities:[...e.qualities,...s]}},Hd[Zd]=function(t){const e=t.getComplianceLevelSupportedFeatures(),i=void 0===t.imageInfo.extraFormats?e.formats:[...e.formats,...t.imageInfo.extraFormats],n=void 0!==t.imageInfo.preferredFormats&&Array.isArray(t.imageInfo.preferredFormats)&&t.imageInfo.preferredFormats.length>0?t.imageInfo.preferredFormats.filter((function(t){return["jpg","png","gif"].includes(t)})).reduce((function(t,e){return void 0===t&&i.includes(e)?e:t}),void 0):void 0;return{url:t.imageInfo.id,sizes:void 0===t.imageInfo.sizes?void 0:t.imageInfo.sizes.map((function(t){return[t.width,t.height]})),tileSize:void 0===t.imageInfo.tiles?void 0:[t.imageInfo.tiles.map((function(t){return t.width}))[0],t.imageInfo.tiles.map((function(t){return t.height}))[0]],resolutions:void 0===t.imageInfo.tiles?void 0:t.imageInfo.tiles.map((function(t){return t.scaleFactors}))[0],supports:void 0===t.imageInfo.extraFeatures?e.supports:[...e.supports,...t.imageInfo.extraFeatures],formats:i,qualities:void 0===t.imageInfo.extraQualities?e.qualities:[...e.qualities,...t.imageInfo.extraQualities],preferredFormat:n}};var Jd=class{constructor(t){this.setImageInfo(t)}setImageInfo(t){this.imageInfo="string"==typeof t?JSON.parse(t):t}getImageApiVersion(){if(void 0===this.imageInfo)return;let t=this.imageInfo["@context"]||"ol-no-context";"string"==typeof t&&(t=[t]);for(let e=0;e0&&"string"==typeof this.imageInfo.profile[0]&&qd.test(this.imageInfo.profile[0]))return this.imageInfo.profile[0]}}getComplianceLevelFromProfile(t){const e=this.getComplianceLevelEntryFromProfile(t);if(void 0===e)return;const i=e.match(/level[0-2](?:\.json)?$/g);return Array.isArray(i)?i[0].replace(".json",""):void 0}getComplianceLevelSupportedFeatures(){if(void 0===this.imageInfo)return;const t=this.getImageApiVersion(),e=this.getComplianceLevelFromProfile(t);return void 0===e?$d.none.none:$d[t][e]}getTileSourceOptions(t){const e=t||{},i=this.getImageApiVersion();if(void 0===i)return;const n=void 0===i?void 0:Hd[i](this);return void 0!==n?{url:n.url,version:i,size:[this.imageInfo.width,this.imageInfo.height],sizes:n.sizes,format:void 0!==e.format&&n.formats.includes(e.format)?e.format:void 0!==n.preferredFormat?n.preferredFormat:"jpg",supports:n.supports,quality:e.quality&&n.qualities.includes(e.quality)?e.quality:n.qualities.includes("native")?"native":"default",resolutions:Array.isArray(n.resolutions)?n.resolutions.sort((function(t,e){return e-t})):void 0,tileSize:n.tileSize}:void 0}};function Qd(t){return t.toLocaleString("en",{maximumFractionDigits:10})}var tg=class extends Uu{constructor(t){const e=t||{};let i=e.url||"";i+=i.lastIndexOf("/")===i.length-1||""===i?"":"/";const n=e.version||Wd,r=e.sizes||[],s=e.size;Mt(null!=s&&Array.isArray(s)&&2==s.length&&!isNaN(s[0])&&s[0]>0&&!isNaN(s[1])&&s[1]>0,"Missing or invalid `size`");const o=s[0],a=s[1],l=e.tileSize,h=e.tilePixelRatio||1,c=e.format||"jpg",u=e.quality||(e.version==Vd?"native":"default");let d=e.resolutions||[];const g=e.supports||[],f=e.extent||[0,-a,o,0],p=null!=r&&Array.isArray(r)&&r.length>0,m=void 0!==l&&("number"==typeof l&&Number.isInteger(l)&&l>0||Array.isArray(l)&&l.length>0),_=null!=g&&Array.isArray(g)&&(g.includes("regionByPx")||g.includes("regionByPct"))&&(g.includes("sizeByWh")||g.includes("sizeByH")||g.includes("sizeByW")||g.includes("sizeByPct"));let y,x,v;if(d.sort((function(t,e){return e-t})),m||_)if(null!=l&&("number"==typeof l&&Number.isInteger(l)&&l>0?(y=l,x=l):Array.isArray(l)&&l.length>0&&((1==l.length||null==l[1]&&Number.isInteger(l[0]))&&(y=l[0],x=l[0]),2==l.length&&(Number.isInteger(l[0])&&Number.isInteger(l[1])?(y=l[0],x=l[1]):null==l[0]&&Number.isInteger(l[1])&&(y=l[1],x=l[1])))),void 0!==y&&void 0!==x||(y=Es,x=Es),0==d.length){v=Math.max(Math.ceil(Math.log(o/y)/Math.LN2),Math.ceil(Math.log(a/x)/Math.LN2));for(let t=v;t>=0;t--)d.push(Math.pow(2,t))}else{const t=Math.max(...d);v=Math.round(Math.log(t)/Math.LN2)}else if(y=o,x=a,d=[],p){r.sort((function(t,e){return t[0]-e[0]})),v=-1;const t=[];for(let e=0;e0&&d[d.length-1]==i?t.push(e):(d.push(i),v++)}if(t.length>0)for(let e=0;ev)return;const w=t[1],S=t[2],E=d[f];if(!(void 0===w||void 0===S||void 0===E||w<0||Math.ceil(o/E/y)<=w||S<0||Math.ceil(a/E/x)<=S)){if(_||m){const t=w*y*E,e=S*x*E;let i=y*E,r=x*E,s=y,c=x;if(t+i>o&&(i=o-t),e+r>a&&(r=a-e),t+y*E>o&&(s=Math.floor((o-t+E-1)/E)),e+x*E>a&&(c=Math.floor((a-e+E-1)/E)),0==t&&i==o&&0==e&&r==a)l="full";else if(!_||g.includes("regionByPx"))l=t+","+e+","+i+","+r;else if(g.includes("regionByPct")){l="pct:"+Qd(t/o*100)+","+Qd(e/a*100)+","+Qd(i/o*100)+","+Qd(r/a*100)}n!=Zd||_&&!g.includes("sizeByWh")?!_||g.includes("sizeByW")?h=s+",":g.includes("sizeByH")?h=","+c:g.includes("sizeByWh")?h=s+","+c:g.includes("sizeByPct")&&(h="pct:"+Qd(100/E)):h=s+","+c}else if(l="full",p){const t=r[f][0],e=r[f][1];h=n==Zd?t==o&&e==a?"max":t+","+e:t==o?"full":t+","}else h=n==Zd?"max":"full";return i+l+"/"+h+"/0/"+u+"."+c}},transition:e.transition}),this.zDirection=e.zDirection}};var eg=class extends Qr{constructor(t,e,i,n,r,s,o){let a=t.getExtent();a&&t.canWrapX()&&(a=a.slice(),a[0]=-1/0,a[2]=1/0);let l=e.getExtent();l&&e.canWrapX()&&(l=l.slice(),l[0]=-1/0,l[2]=1/0);const h=l?Pe(i,l):i,c=au(t,e,Ee(h),n),u=new du(t,e,h,a,.5*c,n),d=u.calculateSourceExtent(),g=Ae(d)?null:s(d,c,r),f=g?Yr.IDLE:Yr.EMPTY,p=g?g.getPixelRatio():1;super(i,n,p,f),this.targetProj_=e,this.maxSourceExtent_=a,this.triangulation_=u,this.targetResolution_=n,this.targetExtent_=i,this.sourceImage_=g,this.sourcePixelRatio_=p,this.interpolate_=o,this.canvas_=null,this.sourceListenerKey_=null}disposeInternal(){this.state==Yr.LOADING&&this.unlistenSource_(),super.disposeInternal()}getImage(){return this.canvas_}getProjection(){return this.targetProj_}reproject_(){const t=this.sourceImage_.getState();if(t==Yr.LOADED){const t=Fe(this.targetExtent_)/this.targetResolution_,e=Re(this.targetExtent_)/this.targetResolution_;this.canvas_=hu(t,e,this.sourcePixelRatio_,cu(this.sourceImage_.getResolution()),this.maxSourceExtent_,this.targetResolution_,this.targetExtent_,this.triangulation_,[{extent:this.sourceImage_.getExtent(),image:this.sourceImage_.getImage()}],0,void 0,this.interpolate_,!0)}this.state=t,this.changed()}load(){if(this.state==Yr.IDLE){this.state=Yr.LOADING,this.changed();const t=this.sourceImage_.getState();t==Yr.LOADED||t==Yr.ERROR?this.reproject_():(this.sourceListenerKey_=A(this.sourceImage_,v,(function(t){const e=this.sourceImage_.getState();e!=Yr.LOADED&&e!=Yr.ERROR||(this.unlistenSource_(),this.reproject_())}),this),this.sourceImage_.load())}}unlistenSource_(){D(this.sourceListenerKey_),this.sourceListenerKey_=null}};const ig=4,ng="imageloadstart",rg="imageloadend",sg="imageloaderror";class og extends e{constructor(t,e){super(t),this.image=e}}function ag(t,e){t.getImage().src=e}function lg(t,e,i,n){const r=e/i,s=Ee(t),o=Ei(Fe(t)/r,ig),a=Ei(Re(t)/r,ig);return Ce(s,r,0,[o+2*Ei((n-1)*o/2,ig),a+2*Ei((n-1)*a/2,ig)])}var hg=class extends yu{constructor(t){super({attributions:t.attributions,projection:t.projection,state:t.state,interpolate:void 0===t.interpolate||t.interpolate}),this.on,this.once,this.un,this.loader=t.loader||null,this.resolutions_=void 0!==t.resolutions?t.resolutions:null,this.reprojectedImage_=null,this.reprojectedRevision_=0,this.image=null,this.wantedExtent_,this.wantedResolution_,this.static_=!!t.loader&&0===t.loader.length,this.wantedProjection_=null}getResolutions(){return this.resolutions_}setResolutions(t){this.resolutions_=t}findNearestResolution(t){const e=this.getResolutions();if(e){t=e[a(e,t,0)]}return t}getImage(t,e,i,n){const r=this.getProjection();if(!r||!n||cn(r,n))return r&&(n=r),this.getImageInternal(t,e,i,n);if(this.reprojectedImage_){if(this.reprojectedRevision_==this.getRevision()&&cn(this.reprojectedImage_.getProjection(),n)&&this.reprojectedImage_.getResolution()==e&&ue(this.reprojectedImage_.getExtent(),t))return this.reprojectedImage_;this.reprojectedImage_.dispose(),this.reprojectedImage_=null}return this.reprojectedImage_=new eg(r,n,t,e,i,((t,e,i)=>this.getImageInternal(t,e,i,r)),this.getInterpolate()),this.reprojectedRevision_=this.getRevision(),this.reprojectedImage_}getImageInternal(t,e,i,n){if(this.loader){const r=lg(t,e,i,1),s=this.findNearestResolution(e);if(this.image&&(this.static_||this.wantedProjection_===n&&(this.wantedExtent_&&ne(this.wantedExtent_,r)||ne(this.image.getExtent(),r))&&(this.wantedResolution_&&cu(this.wantedResolution_)===s||cu(this.image.getResolution())===s)))return this.image;this.wantedProjection_=n,this.wantedExtent_=r,this.wantedResolution_=s,this.image=new Qr(r,s,i,this.loader),this.image.addEventListener(v,this.handleImageChange.bind(this))}return this.image}handleImageChange(t){const e=t.target;let i;switch(e.getState()){case Yr.LOADING:this.loading=!0,i=ng;break;case Yr.LOADED:this.loading=!1,i=rg;break;case Yr.ERROR:this.loading=!1,i=sg;break;default:return}this.hasListener(i)&&this.dispatchEvent(new og(i,e))}};function cg(t,e){const i=[];Object.keys(e).forEach((function(t){null!==e[t]&&void 0!==e[t]&&i.push(t+"="+encodeURIComponent(e[t]))}));const n=i.join("&");return t=t.replace(/[?&]$/,""),(t+=t.includes("?")?"&":"?")+n}function ug(t,e,i,n,r,s){const o=r.getCode().split(/:(?=\d+$)/).pop(),a=i/n,l=[wi(Fe(e)/a,ig),wi(Re(e)/a,ig)];s.SIZE=l[0]+","+l[1],s.BBOX=e.join(","),s.BBOXSR=o,s.IMAGESR=o,s.DPI=Math.round(s.DPI?s.DPI*n:90*n);return cg(t.replace(/MapServer\/?$/,"MapServer/export").replace(/ImageServer\/?$/,"ImageServer/exportImage"),s)}function dg(t){const e=t.load?t.load:Jr,i=en(t.projection||"EPSG:3857");return function(n,r,s){s=t.hidpi?s:1;const o={F:"image",FORMAT:"PNG32",TRANSPARENT:!0};Object.assign(o,t.params),n=lg(n,r,s,t.ratio);const a=ug(t.url,n,r,s,i,o),l=new Image;return null!==t.crossOrigin&&(l.crossOrigin=t.crossOrigin),e(l,a).then((t=>{const e=Fe(n)/t.width*s;return{image:t,extent:n,resolution:e,pixelRatio:s}}))}}var gg=class extends hg{constructor(t){super({attributions:(t=t||{}).attributions,interpolate:t.interpolate,projection:t.projection,resolutions:t.resolutions}),this.crossOrigin_=void 0!==t.crossOrigin?t.crossOrigin:null,this.hidpi_=void 0===t.hidpi||t.hidpi,this.url_=t.url,this.imageLoadFunction_=void 0!==t.imageLoadFunction?t.imageLoadFunction:ag,this.params_=Object.assign({},t.params),this.imageSize_=[0,0],this.renderedRevision_=0,this.ratio_=void 0!==t.ratio?t.ratio:1.5,this.loaderProjection_=null}getParams(){return this.params_}getImageInternal(t,e,i,n){return void 0===this.url_?null:(this.loader&&this.loaderProjection_===n||(this.loaderProjection_=n,this.loader=dg({crossOrigin:this.crossOrigin_,params:this.params_,projection:n,hidpi:this.hidpi_,url:this.url_,ratio:this.ratio_,load:(t,e)=>(this.image.setImage(t),this.imageLoadFunction_(this.image,e),Jr(t))})),super.getImageInternal(t,e,i,n))}getImageLoadFunction(){return this.imageLoadFunction_}getUrl(){return this.url_}setImageLoadFunction(t){this.imageLoadFunction_=t,this.changed()}setUrl(t){t!=this.url_&&(this.url_=t,this.loader=null,this.changed())}updateParams(t){Object.assign(this.params_,t),this.changed()}changed(){this.image=null,super.changed()}};var fg=class extends hg{constructor(t){super({attributions:(t=t||{}).attributions,interpolate:t.interpolate,projection:t.projection,resolutions:t.resolutions,state:t.state}),this.canvasFunction_=t.canvasFunction,this.canvas_=null,this.renderedRevision_=0,this.ratio_=void 0!==t.ratio?t.ratio:1.5}getImageInternal(t,e,i,n){e=this.findNearestResolution(e);let r=this.canvas_;if(r&&this.renderedRevision_==this.getRevision()&&r.getResolution()==e&&r.getPixelRatio()==i&&ne(r.getExtent(),t))return r;De(t=t.slice(),this.ratio_);const s=[Fe(t)/e*i,Re(t)/e*i],o=this.canvasFunction_.call(this,t,e,i,s,n);return o&&(r=new ts(t,e,i,o)),this.canvas_=r,this.renderedRevision_=this.getRevision(),r}};function pg(t,e,i,n,r,s,o){const a=function(t,e,i,n){const r=Fe(t),s=Re(t),o=e[0],a=e[1],l=.0254/n;return a*r>o*s?r*i/(o*l):s*i/(a*l)}(i,n,s,o),l=Ee(i),h={OPERATION:r?"GETDYNAMICMAPOVERLAYIMAGE":"GETMAPIMAGE",VERSION:"2.0.0",LOCALE:"en",CLIENTAGENT:"ol/source/ImageMapGuide source",CLIP:"1",SETDISPLAYDPI:o,SETDISPLAYWIDTH:Math.round(n[0]),SETDISPLAYHEIGHT:Math.round(n[1]),SETVIEWSCALE:a,SETVIEWCENTERX:l[0],SETVIEWCENTERY:l[1]};return Object.assign(h,e),cg(t,h)}function mg(t){const e=t.load||Jr;return function(i,n,r){const s=new Image;null!==t.crossOrigin&&(s.crossOrigin=t.crossOrigin);const o=Fe(i=lg(i,n,r,t.ratio))/n,a=Re(i)/n,l=[o*r,a*r],h=pg(t.url,t.params,i,l,t.useOverlay,t.metersPerUnit||1,t.displayDpi||96);return e(s,h).then((t=>({image:t,extent:i,pixelRatio:r})))}}var _g=class extends hg{constructor(t){super({interpolate:t.interpolate,projection:t.projection,resolutions:t.resolutions}),this.crossOrigin_=void 0!==t.crossOrigin?t.crossOrigin:null,this.displayDpi_=void 0!==t.displayDpi?t.displayDpi:96,this.params_=Object.assign({},t.params),this.url_=t.url,this.imageLoadFunction_=void 0!==t.imageLoadFunction?t.imageLoadFunction:ag,this.hidpi_=void 0===t.hidpi||t.hidpi,this.metersPerUnit_=void 0!==t.metersPerUnit?t.metersPerUnit:1,this.ratio_=void 0!==t.ratio?t.ratio:1,this.useOverlay_=void 0!==t.useOverlay&&t.useOverlay,this.renderedRevision_=0,this.loaderProjection_=null}getParams(){return this.params_}getImageInternal(t,e,i,n){return void 0===this.url_?null:(this.loader&&this.loaderProjection_===n||(this.loaderProjection_=n,this.loader=mg({crossOrigin:this.crossOrigin_,params:this.params_,hidpi:this.hidpi_,metersPerUnit:this.metersPerUnit_,url:this.url_,useOverlay:this.useOverlay_,ratio:this.ratio_,load:(t,e)=>(this.image.setImage(t),this.imageLoadFunction_(this.image,e),Jr(t))})),super.getImageInternal(t,e,i,n))}getImageLoadFunction(){return this.imageLoadFunction_}updateParams(t){Object.assign(this.params_,t),this.changed()}setImageLoadFunction(t){this.imageLoadFunction_=t,this.changed()}changed(){this.image=null,super.changed()}};function yg(t){const e=t.load||Jr,i=t.imageExtent,n=new Image;return null!==t.crossOrigin&&(n.crossOrigin=t.crossOrigin),()=>e(n,t.url).then((t=>{const e=Fe(i)/t.width,n=Re(i)/t.height;return{image:t,extent:i,resolution:e!==n?[e,n]:n,pixelRatio:1}}))}var xg=class extends hg{constructor(t){const e=void 0!==t.crossOrigin?t.crossOrigin:null,i=void 0!==t.imageLoadFunction?t.imageLoadFunction:ag;super({attributions:t.attributions,interpolate:t.interpolate,projection:en(t.projection)}),this.url_=t.url,this.imageExtent_=t.imageExtent,this.image=null,this.image=new Qr(this.imageExtent_,void 0,1,yg({url:t.url,imageExtent:t.imageExtent,crossOrigin:e,load:(t,e)=>(this.image.setImage(t),i(this.image,e),Jr(t))})),this.image.addEventListener(v,this.handleImageChange.bind(this))}getImageExtent(){return this.imageExtent_}getImageInternal(t,e,i,n){return Me(t,this.image.getExtent())?this.image:null}getUrl(){return this.url_}};const vg="1.3.0",wg=[101,101];function Sg(t,e,i,n,r){r.WIDTH=i[0],r.HEIGHT=i[1];const s=n.getAxisOrientation();let o;const a=Ci(r.VERSION,"1.3")>=0;return r[a?"CRS":"SRS"]=n.getCode(),o=a&&"ne"==s.substr(0,2)?[e[1],e[0],e[3],e[2]]:e,r.BBOX=o.join(","),cg(t,r)}function Eg(t,e,i,n,r,s,o){s=Object.assign({REQUEST:"GetMap"},s);const a=e/i,l=[wi(Fe(t)/a,ig),wi(Re(t)/a,ig)];if(1!=i)switch(o){case"geoserver":const t=90*i+.5|0;"FORMAT_OPTIONS"in s?s.FORMAT_OPTIONS+=";dpi:"+t:s.FORMAT_OPTIONS="dpi:"+t;break;case"mapserver":s.MAP_RESOLUTION=90*i;break;case"carmentaserver":case"qgis":s.DPI=90*i;break;default:throw new Error("Unknown `serverType` configured")}return Sg(r,t,l,n,s)}function Tg(t,e){return Object.assign({REQUEST:e,SERVICE:"WMS",VERSION:vg,FORMAT:"image/png",STYLES:"",TRANSPARENT:!0},t)}function Cg(t){const e=void 0===t.hidpi||t.hidpi,i=en(t.projection||"EPSG:3857"),n=t.ratio||1.5,r=t.load||Jr;return(s,o,a)=>{s=lg(s,o,a,n),1==a||e&&void 0!==t.serverType||(a=1);const l=Eg(s,o,a,i,t.url,Tg(t.params,"GetMap"),t.serverType),h=new Image;return null!==t.crossOrigin&&(h.crossOrigin=t.crossOrigin),r(h,l).then((t=>({image:t,extent:s,pixelRatio:a})))}}function bg(t,e,i){if(void 0===t.url)return;const n=en(t.projection||"EPSG:3857"),r=Ce(e,i,0,wg),s={QUERY_LAYERS:t.params.LAYERS,INFO_FORMAT:"application/json"};Object.assign(s,Tg(t.params,"GetFeatureInfo"),t.params);const o=Si((e[0]-r[0])/i,ig),a=Si((r[3]-e[1])/i,ig),l=Ci(s.VERSION,"1.3")>=0;return s[l?"I":"X"]=o,s[l?"J":"Y"]=a,Sg(t.url,r,wg,n,s)}function Rg(t,e){if(void 0===t.url)return;const i={SERVICE:"WMS",VERSION:vg,REQUEST:"GetLegendGraphic",FORMAT:"image/png"};if(void 0===t.params||void 0===t.params.LAYER){const e=t.params.LAYERS;if(!(!Array.isArray(e)||1===e.length))return;i.LAYER=e}if(void 0!==e){const n=en(t.projection||"EPSG:3857").getMetersPerUnit()||1,r=28e-5;i.SCALE=e*n/r}return Object.assign(i,t.params),cg(t.url,i)}var Pg=class extends hg{constructor(t){super({attributions:(t=t||{}).attributions,interpolate:t.interpolate,projection:t.projection,resolutions:t.resolutions}),this.crossOrigin_=void 0!==t.crossOrigin?t.crossOrigin:null,this.url_=t.url,this.imageLoadFunction_=void 0!==t.imageLoadFunction?t.imageLoadFunction:ag,this.params_=Object.assign({},t.params),this.serverType_=t.serverType,this.hidpi_=void 0===t.hidpi||t.hidpi,this.renderedRevision_=0,this.ratio_=void 0!==t.ratio?t.ratio:1.5,this.loaderProjection_=null}getFeatureInfoUrl(t,e,i,n){const r=en(i),s=this.getProjection();s&&s!==r&&(e=au(s,r,t,e),t=gn(t,r,s));return bg({url:this.url_,params:{...this.params_,...n},projection:s||r},t,e)}getLegendUrl(t,e){return Rg({url:this.url_,params:{...this.params_,...e}},t)}getParams(){return this.params_}getImageInternal(t,e,i,n){return void 0===this.url_?null:(this.loader&&this.loaderProjection_===n||(this.loaderProjection_=n,this.loader=Cg({crossOrigin:this.crossOrigin_,params:this.params_,projection:n,serverType:this.serverType_,hidpi:this.hidpi_,url:this.url_,ratio:this.ratio_,load:(t,e)=>(this.image.setImage(t),this.imageLoadFunction_(this.image,e),Jr(t))})),super.getImageInternal(t,e,i,n))}getImageLoadFunction(){return this.imageLoadFunction_}getUrl(){return this.url_}setImageLoadFunction(t){this.imageLoadFunction_=t,this.changed()}setUrl(t){t!=this.url_&&(this.url_=t,this.loader=null,this.changed())}updateParams(t){Object.assign(this.params_,t),this.changed()}changed(){this.image=null,super.changed()}};const Ig={"image/png":!0,"image/jpeg":!0,"image/gif":!0,"image/webp":!0},Lg={"application/vnd.mapbox-vector-tile":!0,"application/geo+json":!0};function Fg(t,e){let i,n;for(let r=0;rt.replace(/E|X|Lon/i,"e").replace(/N|Y|Lat/i,"n"))).join(""):r.getAxisOrientation().substr(0,2)),a=e.tileMatrices,l={};for(let t=0;tt.maxTileCol||u.tileRowt.maxTileRow)return}Object.assign(u,y);const d=i.replace(/\{(\w+?)\}/g,(function(t,e){return u[e]}));return Zc(x,d)}}}function Og(t){return Wc(t.url).then((function(e){return function(t,e){const i=e.tileMatrixSetLimits;let n;if("map"===e.dataType)n=Fg(e.links,t.mediaType);else{if("vector"!==e.dataType)throw new Error('Expected tileset data type to be "map" or "vector"');n=Mg(e.links,t.mediaType,t.supportedMediaTypes)}if(e.tileMatrixSet)return Ag(t,e.tileMatrixSet,n,i);const r=e.links.find((t=>"http://www.opengis.net/def/rel/ogc/1.0/tiling-scheme"===t.rel));if(!r)throw new Error("Expected http://www.opengis.net/def/rel/ogc/1.0/tiling-scheme link or tileMatrixSet");const s=r.href;return Wc(Zc(t.url,s)).then((function(e){return Ag(t,e,n,i)}))}(t,e)}))}var Dg=class extends Uu{constructor(t){super({attributions:t.attributions,cacheSize:t.cacheSize,crossOrigin:t.crossOrigin,interpolate:t.interpolate,projection:t.projection,reprojectionErrorThreshold:t.reprojectionErrorThreshold,state:"loading",tileLoadFunction:t.tileLoadFunction,wrapX:void 0===t.wrapX||t.wrapX,transition:t.transition});Og({url:t.url,projection:this.getProjection(),mediaType:t.mediaType,context:t.context||null}).then(this.handleTileSetInfo_.bind(this)).catch(this.handleError_.bind(this))}handleTileSetInfo_(t){this.tileGrid=t.grid,this.setTileUrlFunction(t.urlFunction,t.urlTemplate),this.setState("ready")}handleError_(t){Yi(t),this.setState("error")}};var Ng=class extends ju{constructor(t){const e=t.projection||"EPSG:3857",i=t.extent||Lu(e),n=t.tileGrid||Ru({extent:i,maxResolution:t.maxResolution,maxZoom:void 0!==t.maxZoom?t.maxZoom:22,minZoom:t.minZoom,tileSize:t.tileSize||512});super({attributions:t.attributions,attributionsCollapsible:t.attributionsCollapsible,cacheSize:t.cacheSize,interpolate:!0,opaque:!1,projection:e,state:t.state,tileGrid:n,tileLoadFunction:t.tileLoadFunction?t.tileLoadFunction:kg,tileUrlFunction:t.tileUrlFunction,url:t.url,urls:t.urls,wrapX:void 0===t.wrapX||t.wrapX,transition:t.transition,zDirection:void 0===t.zDirection?1:t.zDirection}),this.format_=t.format?t.format:null,this.sourceTileCache=new Lc(this.tileCache.highWaterMark),this.overlaps_=null==t.overlaps||t.overlaps,this.tileClass=t.tileClass?t.tileClass:Nc,this.tileGrids_={}}getFeaturesInExtent(t){const e=[],i=this.tileCache;if(0===i.getCount())return e;const n=Rc(i.peekFirstKey())[0],r=this.tileGrid;return i.forEach((function(i){if(i.tileCoord[0]!==n||i.getState()!==H)return;const s=i.getSourceTiles();for(let i=0,n=s.length;i{const n=bc(e),r=i.peek(n);if(r){const e=r.sourceTiles;for(let i=0,n=e.length;i{const r=this.tileUrlFunction(n,t,e),s=this.sourceTileCache.containsKey(r)?this.sourceTileCache.get(r):new this.tileClass(n,r?q:Q,r,this.format_,this.tileLoadFunction);i.sourceTiles.push(s);const o=s.getState();if(o{this.handleTileChange(e);const n=s.getState();if(n===H||n===J){const e=s.getKey();e in i.errorTileKeys?s.getState()===H&&delete i.errorTileKeys[e]:i.loadingSourceTiles--,n===J?i.errorTileKeys[e]=!0:s.removeEventListener(v,t),0===i.loadingSourceTiles&&i.setState(y(i.errorTileKeys)?H:J)}};s.addEventListener(v,t),i.loadingSourceTiles++}o===q&&(s.extent=l.getTileCoordExtent(n),s.projection=e,s.resolution=l.getResolution(n[0]),this.sourceTileCache.set(r,s),s.load())})),i.loadingSourceTiles||i.setState(i.sourceTiles.some((t=>t.getState()===J))?J:H)}return i.sourceTiles}getTile(t,e,i,n,r){const s=Tc(t,e,i),o=this.getKey();let a;if(this.tileCache.containsKey(s)&&(a=this.tileCache.get(s),a.key===o))return a;const l=[t,e,i];let h=this.getTileCoordForTileUrlFunction(l,r);const c=this.getTileGrid().getExtent(),u=this.getTileGridForProjection(r);if(h&&c){const e=u.getTileCoordExtent(h);Qt(e,-u.getResolution(t),e),Me(c,e)||(h=null)}let d=!0;if(null!==h){const e=this.tileGrid,i=u.getResolution(t),s=e.getZForResolution(i,1),o=u.getTileCoordExtent(h);Qt(o,-i,o),e.forEachTileCoord(o,s,(t=>{d=d&&!this.tileUrlFunction(t,n,r)}))}const g=new Dc(l,d?Q:q,h,this.getSourceTiles.bind(this,n,r));return g.key=o,a?(g.interimTile=a,g.refreshInterimChain(),this.tileCache.replace(s,g)):this.tileCache.set(s,g),g}getTileGridForProjection(t){const e=t.getCode();let i=this.tileGrids_[e];if(!i){const t=this.tileGrid,n=t.getResolutions().slice(),r=n.map((function(e,i){return t.getOrigin(i)})),s=n.map((function(e,i){return t.getTileSize(i)})),o=Ss+1;for(let t=n.length;t{const s=this.loadedTileCallback.bind(this,i,n);return t.forEachLoadedTile(e,n,r,s)}}forEachFeatureAtCoordinate(t,e,i,n,r){}getLayer(){return this.layer_}handleFontsChanged(){}handleImageChange_(t){const e=t.target;e.getState()!==Yr.LOADED&&e.getState()!==Yr.ERROR||this.renderIfReadyAndVisible()}loadImage(t){let e=t.getState();return e!=Yr.LOADED&&e!=Yr.ERROR&&t.addEventListener(v,this.boundHandleImageChange_),e==Yr.IDLE&&(t.load(),e=t.getState()),e==Yr.LOADED}renderIfReadyAndVisible(){const t=this.getLayer();t&&t.getVisible()&&"ready"===t.getSourceState()&&t.changed()}renderDeferred(t){}disposeInternal(){delete this.layer_,super.disposeInternal()}};var Xg=class{constructor(){this.instructions_=[],this.zIndex=0,this.offset_=0,this.context_=new Proxy(CanvasRenderingContext2D.prototype,{get:(t,e)=>{if("function"==typeof yt()[e])return this.instructions_[this.zIndex+this.offset_]||(this.instructions_[this.zIndex+this.offset_]=[]),this.instructions_[this.zIndex+this.offset_].push(e),this.pushMethodArgs_},set:(t,e,i)=>(this.instructions_[this.zIndex+this.offset_]||(this.instructions_[this.zIndex+this.offset_]=[]),this.instructions_[this.zIndex+this.offset_].push(e,i),!0)})}pushMethodArgs_=(...t)=>(this.instructions_[this.zIndex+this.offset_].push(t),this);getContext(){return this.context_}draw(t){this.instructions_.forEach((e=>{for(let i=0,n=e.length;i=o.width)return null;const h=Re(s),c=Math.floor(o.height*((s[3]-n[1])/h));return c<0||c>=o.height?null:this.getImageData(o,l,c)}renderFrame(t,e){const i=this.image_,n=i.getExtent(),r=i.getResolution(),[s,o]=Array.isArray(r)?r:[r,r],a=i.getPixelRatio(),l=t.layerStatesArray[t.layerIndex],h=t.pixelRatio,c=t.viewState,u=c.center,d=c.resolution,g=h*s/(d*a),f=h*o/(d*a),p=t.extent,m=c.resolution,_=c.rotation,y=Math.round(Fe(p)/m*h),x=Math.round(Re(p)/m*h);Zt(this.pixelTransform,t.size[0]/2,t.size[1]/2,1/h,1/h,_,-y/2,-x/2),$t(this.inversePixelTransform,this.pixelTransform);const v=Kt(this.pixelTransform);this.useContainer(e,v,this.getBackground(t));const w=this.getRenderContext(t),S=this.context.canvas;S.width!=y||S.height!=x?(S.width=y,S.height=x):this.containerReused||w.clearRect(0,0,y,x);let E=!1,T=!0;if(l.extent){const e=wn(l.extent,c.projection);T=Me(e,t.extent),E=T&&!ne(e,t.extent),E&&this.clipUnrotated(w,t,e)}const C=i.getImage(),b=Zt(this.tempTransform,y/2,x/2,g,f,0,a*(n[0]-u[0])/s,a*(u[1]-n[3])/o);this.renderedResolution=o*h/a;const R=C.width*b[0],P=C.height*b[3];if(this.getLayer().getSource().getInterpolate()||(w.imageSmoothingEnabled=!1),this.preRender(w,t),T&&R>=.5&&P>=.5){const t=b[4],e=b[5],i=l.opacity;1!==i&&(w.save(),w.globalAlpha=i),w.drawImage(C,0,0,+C.width,+C.height,t,e,R,P),1!==i&&w.restore()}return this.postRender(this.context,t),E&&w.restore(),w.imageSmoothingEnabled=!0,v!==S.style.transform&&(S.style.transform=v),this.container}};var Yg=class extends Ug{constructor(t){super(t)}createRenderer(){return new $g(this)}getData(t){return super.getData(t)}},qg="preload",Kg="useInterimTilesOnError";var Hg=class extends Xs{constructor(t){t=t||{};const e=Object.assign({},t);delete e.preload,delete e.useInterimTilesOnError,super(e),this.on,this.once,this.un,this.setPreload(void 0!==t.preload?t.preload:0),this.setUseInterimTilesOnError(void 0===t.useInterimTilesOnError||t.useInterimTilesOnError)}getPreload(){return this.get(qg)}setPreload(t){this.set(qg,t)}getUseInterimTilesOnError(){return this.get(Kg)}setUseInterimTilesOnError(t){this.set(Kg,t)}getData(t){return super.getData(t)}};var Jg=class extends Zg{constructor(t){super(t),this.extentChanged=!0,this.renderedExtent_=null,this.renderedPixelRatio,this.renderedProjection=null,this.renderedRevision,this.renderedTiles=[],this.newTiles_=!1,this.tmpExtent=[1/0,1/0,-1/0,-1/0],this.tmpTileRange_=new Ac(0,0,0,0)}isDrawableTile(t){const e=this.getLayer(),i=t.getState(),n=e.getUseInterimTilesOnError();return i==H||i==Q||i==J&&!n}getTile(t,e,i,n){const r=n.pixelRatio,s=n.viewState.projection,o=this.getLayer();let a=o.getSource().getTile(t,e,i,r,s);return a.getState()==J&&o.getUseInterimTilesOnError()&&o.getPreload()>0&&(this.newTiles_=!0),this.isDrawableTile(a)||(a=a.getInterimTile()),a}getData(t){const e=this.frameState;if(!e)return null;const i=this.getLayer(),n=Bt(e.pixelToCoordinateTransform,t.slice()),r=i.getExtent();if(r&&!ie(r,n))return null;const s=e.pixelRatio,o=e.viewState.projection,a=e.viewState,l=i.getRenderSource(),h=l.getTileGridForProjection(a.projection),c=l.getTilePixelRatio(e.pixelRatio);for(let t=h.getZForResolution(a.resolution);t>=h.getMinZoom();--t){const e=h.getTileCoordForCoordAndZ(n,t),i=l.getTile(t,e[1],e[2],s,o);if(!(i instanceof es||i instanceof gu)||i instanceof gu&&i.getState()===Q)return null;if(i.getState()!==H)continue;const r=h.getOrigin(t),u=co(h.getTileSize(t)),d=h.getResolution(t),g=Math.floor(c*((n[0]-r[0])/d-e[1]*u[0])),f=Math.floor(c*((r[1]-n[1])/d-e[2]*u[1])),p=Math.round(c*l.getGutterForProjection(a.projection));return this.getImageData(i.getImage(),g+p,f+p)}return null}loadedTileCallback(t,e,i){return!!this.isDrawableTile(i)&&super.loadedTileCallback(t,e,i)}prepareFrame(t){return!!this.getLayer().getSource()}renderFrame(t,e){const i=t.layerStatesArray[t.layerIndex],n=t.viewState,r=n.projection,o=n.resolution,a=n.center,l=n.rotation,h=t.pixelRatio,c=this.getLayer(),u=c.getSource(),d=u.getRevision(),g=u.getTileGridForProjection(r),f=g.getZForResolution(o,u.zDirection),p=g.getResolution(f);let m=t.extent;const _=t.viewState.resolution,y=u.getTilePixelRatio(h),x=Math.round(Fe(m)/_*h),v=Math.round(Re(m)/_*h),w=i.extent&&wn(i.extent,r);w&&(m=Pe(m,wn(i.extent,r)));const S=p*x/2/y,E=p*v/2/y,T=[a[0]-S,a[1]-E,a[0]+S,a[1]+E],C=g.getTileRangeForExtentAndZ(m,f),b={};b[f]={};const R=this.createLoadedTileFinder(u,r,b),P=this.tmpExtent,I=this.tmpTileRange_;this.newTiles_=!1;const L=l?be(n.center,_,l,t.size):void 0;for(let e=C.minX;e<=C.maxX;++e)for(let n=C.minY;n<=C.maxY;++n){if(l&&!g.tileCoordIntersectsViewport([f,e,n],L))continue;const r=this.getTile(f,e,n,t);if(this.isDrawableTile(r)){const e=U(this);if(r.getState()==H){b[f][r.tileCoord.toString()]=r;let t=r.inTransition(e);t&&1!==i.opacity&&(r.endTransition(e),t=!1),this.newTiles_||!t&&this.renderedTiles.includes(r)||(this.newTiles_=!0)}if(1===r.getAlpha(e,t.time))continue}const s=g.getTileCoordChildTileRange(r.tileCoord,I,P);let o=!1;s&&(o=R(f+1,s)),o||g.forEachTileCoordParentTileRange(r.tileCoord,R,I,P)}const F=p/o*h/y;Zt(this.pixelTransform,t.size[0]/2,t.size[1]/2,1/h,1/h,l,-x/2,-v/2);const M=Kt(this.pixelTransform);this.useContainer(e,M,this.getBackground(t));const A=this.getRenderContext(t),O=this.context.canvas;$t(this.inversePixelTransform,this.pixelTransform),Zt(this.tempTransform,x/2,v/2,F,F,0,-x/2,-v/2),O.width!=x||O.height!=v?(O.width=x,O.height=v):this.containerReused||A.clearRect(0,0,x,v),w&&this.clipUnrotated(A,t,w),u.getInterpolate()||(A.imageSmoothingEnabled=!1),this.preRender(A,t),this.renderedTiles.length=0;let D,N,k,G=Object.keys(b).map(Number);G.sort(s),1!==i.opacity||this.containerReused&&!u.getOpaque(t.viewState.projection)?(D=[],N=[]):G=G.reverse();for(let e=G.length-1;e>=0;--e){const i=G[e],n=u.getTilePixelSize(i,h,r),s=g.getResolution(i)/p,o=n[0]*s*F,a=n[1]*s*F,l=g.getTileCoordForCoordAndZ(Ie(T),i),c=g.getTileCoordExtent(l),d=Bt(this.tempTransform,[y*(c[0]-T[0])/p,y*(T[3]-c[3])/p]),m=y*u.getGutterForProjection(r),_=b[i];for(const e in _){const n=_[e],r=n.tileCoord,s=l[1]-r[1],h=Math.round(d[0]-(s-1)*o),c=l[2]-r[2],g=Math.round(d[1]-(c-1)*a),p=Math.round(d[0]-s*o),y=Math.round(d[1]-c*a),x=h-p,v=g-y,w=f===i,S=w&&1!==n.getAlpha(U(this),t.time);let E=!1;if(!S)if(D){k=[p,y,p+x,y,p+x,y+v,p,y+v];for(let t=0,e=D.length;tthis._maxQueueLength;)this._queue.shift().callback(null,null)}_dispatch(){if(this._running||0===this._queue.length)return;const t=this._queue.shift();this._job=t;const e=t.inputs[0].width,i=t.inputs[0].height,n=t.inputs.map((function(t){return t.data.buffer})),r=this._workers.length;if(this._running=r,1===r)return void this._workers[0].postMessage({buffers:n,meta:t.meta,imageOps:this._imageOps,width:e,height:i},n);const s=t.inputs[0].data.length,o=4*Math.ceil(s/4/r);for(let s=0;sStadia Maps','© OpenMapTiles',jg];t.layer.startsWith("stamen_")&&l.splice(1,0,'© Stamen Design'),super({attributions:l,cacheSize:t.cacheSize,crossOrigin:"anonymous",interpolate:t.interpolate,maxZoom:void 0!==t.maxZoom?t.maxZoom:n.maxZoom,minZoom:void 0!==t.minZoom?t.minZoom:n.minZoom,opaque:r.opaque,reprojectionErrorThreshold:t.reprojectionErrorThreshold,tileLoadFunction:t.tileLoadFunction,transition:t.transition,url:a,tilePixelRatio:o?2:1,wrapX:t.wrapX,zDirection:t.zDirection})}};var yf=class extends Uu{constructor(t){super({attributions:(t=t||{}).attributions,cacheSize:t.cacheSize,crossOrigin:t.crossOrigin,interpolate:t.interpolate,projection:t.projection,reprojectionErrorThreshold:t.reprojectionErrorThreshold,tileGrid:t.tileGrid,tileLoadFunction:t.tileLoadFunction,url:t.url,urls:t.urls,wrapX:void 0===t.wrapX||t.wrapX,transition:t.transition,zDirection:t.zDirection}),this.params_=Object.assign({},t.params),this.hidpi_=void 0===t.hidpi||t.hidpi,this.tmpExtent_=[1/0,1/0,-1/0,-1/0],this.setKey(this.getKeyForParams_())}getKeyForParams_(){let t=0;const e=[];for(const i in this.params_)e[t++]=i+"-"+this.params_[i];return e.join("/")}getParams(){return this.params_}getRequestUrl_(t,e,i,n,r,s){const o=this.urls;if(!o)return;let a;if(1==o.length)a=o[0];else{a=o[yi(Pc(t),o.length)]}return ug(a,i,(this.tileGrid||this.getTileGridForProjection(r)).getResolution(t[0]),n,r,s)}getTilePixelRatio(t){return this.hidpi_?t:1}updateParams(t){Object.assign(this.params_,t),this.setKey(this.getKeyForParams_())}tileUrlFunction(t,e,i){let n=this.getTileGrid();if(n||(n=this.getTileGridForProjection(i)),n.getResolutions().length<=t[0])return;1==e||this.hidpi_||(e=1);const r=n.getTileCoordExtent(t,this.tmpExtent_);let s=co(n.getTileSize(t[0]),this.tmpSize);1!=e&&(s=ho(s,e,this.tmpSize));const o={F:"image",FORMAT:"PNG32",TRANSPARENT:!0};return Object.assign(o,this.params_),this.getRequestUrl_(t,s,r,e,i,o)}};var xf=class extends Vu{constructor(t){super({opaque:!1,projection:(t=t||{}).projection,tileGrid:t.tileGrid,wrapX:void 0===t.wrapX||t.wrapX,zDirection:t.zDirection,url:t.template||"z:{z} x:{x} y:{y}",tileLoadFunction:(t,e)=>{const i=t.getTileCoord()[0],n=co(this.tileGrid.getTileSize(i)),r=mt(n[0],n[1]);r.strokeStyle="grey",r.strokeRect(.5,.5,n[0]+.5,n[1]+.5),r.fillStyle="grey",r.strokeStyle="white",r.textAlign="center",r.textBaseline="middle",r.font="24px sans-serif",r.lineWidth=4,r.strokeText(e,n[0]/2,n[1]/2,n[0]),r.fillText(e,n[0]/2,n[1]/2,n[0]),t.setImage(r.canvas)}})}};var vf=class extends Uu{constructor(t){if(super({attributions:t.attributions,cacheSize:t.cacheSize,crossOrigin:t.crossOrigin,interpolate:t.interpolate,projection:en("EPSG:3857"),reprojectionErrorThreshold:t.reprojectionErrorThreshold,state:"loading",tileLoadFunction:t.tileLoadFunction,wrapX:void 0===t.wrapX||t.wrapX,transition:t.transition,zDirection:t.zDirection}),this.tileJSON_=null,this.tileSize_=t.tileSize,t.url)if(t.jsonp)Bc(t.url,this.handleTileJSONResponse.bind(this),this.handleTileJSONError.bind(this));else{const e=new XMLHttpRequest;e.addEventListener("load",this.onXHRLoad_.bind(this)),e.addEventListener("error",this.onXHRError_.bind(this)),e.open("GET",t.url),e.send()}else{if(!t.tileJSON)throw new Error("Either `url` or `tileJSON` options must be provided");this.handleTileJSONResponse(t.tileJSON)}}onXHRLoad_(t){const e=t.target;if(!e.status||e.status>=200&&e.status<300){let t;try{t=JSON.parse(e.responseText)}catch(t){return void this.handleTileJSONError()}this.handleTileJSONResponse(t)}else this.handleTileJSONError()}onXHRError_(t){this.handleTileJSONError()}getTileJSON(){return this.tileJSON_}handleTileJSONResponse(t){const e=en("EPSG:4326"),i=this.getProjection();let n;if(void 0!==t.bounds){const r=un(e,i);n=ke(t.bounds,r)}const r=Lu(i),s=t.minzoom||0,o=Ru({extent:r,maxZoom:t.maxzoom||22,minZoom:s,tileSize:this.tileSize_});if(this.tileGrid=o,this.tileUrlFunction=Ou(t.tiles,o),t.attribution&&!this.getAttributions()){const e=void 0!==n?n:r;this.setAttributions((function(i){return Me(e,i.extent)?[t.attribution]:null}))}this.tileJSON_=t,this.setState("ready")}handleTileJSONError(){this.setState("error")}};var wf=class extends Uu{constructor(t){t=t||{};const e=Object.assign({},t.params),i=!("TRANSPARENT"in e)||e.TRANSPARENT;super({attributions:t.attributions,attributionsCollapsible:t.attributionsCollapsible,cacheSize:t.cacheSize,crossOrigin:t.crossOrigin,interpolate:t.interpolate,opaque:!i,projection:t.projection,reprojectionErrorThreshold:t.reprojectionErrorThreshold,tileClass:t.tileClass,tileGrid:t.tileGrid,tileLoadFunction:t.tileLoadFunction,url:t.url,urls:t.urls,wrapX:void 0===t.wrapX||t.wrapX,transition:t.transition,zDirection:t.zDirection}),this.gutter_=void 0!==t.gutter?t.gutter:0,this.params_=e,this.v13_=!0,this.serverType_=t.serverType,this.hidpi_=void 0===t.hidpi||t.hidpi,this.tmpExtent_=[1/0,1/0,-1/0,-1/0],this.updateV13_(),this.setKey(this.getKeyForParams_())}getFeatureInfoUrl(t,e,i,n){const r=en(i),s=this.getProjection()||r;let o=this.getTileGrid();o||(o=this.getTileGridForProjection(s));const a=gn(t,r,s),l=au(s,r,t,e),h=o.getZForResolution(l,this.zDirection),c=o.getResolution(h),u=o.getTileCoordForCoordAndZ(a,h);if(o.getResolutions().length<=u[0])return;let d=o.getTileCoordExtent(u,this.tmpExtent_);const g=this.gutter_;0!==g&&(d=Qt(d,c*g,d));const f={QUERY_LAYERS:this.params_.LAYERS};Object.assign(f,Tg(this.params_,"GetFeatureInfo"),n);const p=Math.floor((a[0]-d[0])/c),m=Math.floor((d[3]-a[1])/c);return f[this.v13_?"I":"X"]=p,f[this.v13_?"J":"Y"]=m,this.getRequestUrl_(u,d,1,s||r,f)}getLegendUrl(t,e){if(void 0===this.urls[0])return;const i={SERVICE:"WMS",VERSION:vg,REQUEST:"GetLegendGraphic",FORMAT:"image/png"};if(void 0===e||void 0===e.LAYER){const t=this.params_.LAYERS;if(!(!Array.isArray(t)||1===t.length))return;i.LAYER=t}if(void 0!==t){const e=this.getProjection()?this.getProjection().getMetersPerUnit():1,n=28e-5;i.SCALE=t*e/n}return Object.assign(i,e),cg(this.urls[0],i)}getGutter(){return this.gutter_}getParams(){return this.params_}getRequestUrl_(t,e,i,n,r){const s=this.urls;if(!s)return;let o;if(1==s.length)o=s[0];else{o=s[yi(Pc(t),s.length)]}return Eg(e,(this.tileGrid||this.getTileGridForProjection(n)).getResolution(t[0]),i,n,o,r,this.serverType_)}getTilePixelRatio(t){return this.hidpi_&&void 0!==this.serverType_?t:1}getKeyForParams_(){let t=0;const e=[];for(const i in this.params_)e[t++]=i+"-"+this.params_[i];return e.join("/")}updateParams(t){Object.assign(this.params_,t),this.updateV13_(),this.setKey(this.getKeyForParams_())}updateV13_(){const t=this.params_.VERSION||vg;this.v13_=Ci(t,"1.3")>=0}tileUrlFunction(t,e,i){let n=this.getTileGrid();if(n||(n=this.getTileGridForProjection(i)),n.getResolutions().length<=t[0])return;1==e||this.hidpi_&&void 0!==this.serverType_||(e=1);const r=n.getResolution(t[0]);let s=n.getTileCoordExtent(t,this.tmpExtent_);const o=this.gutter_;0!==o&&(s=Qt(s,r*o,s));const a=Object.assign({},Tg(this.params_,"GetMap"));return this.getRequestUrl_(t,s,e,i,a)}};class Sf extends rt{constructor(t,e,i,n,r,s){super(t,e),this.src_=i,this.extent_=n,this.preemptive_=r,this.grid_=null,this.keys_=null,this.data_=null,this.jsonp_=s}getImage(){return null}getData(t){if(!this.grid_||!this.keys_)return null;const e=(t[0]-this.extent_[0])/(this.extent_[2]-this.extent_[0]),i=(t[1]-this.extent_[1])/(this.extent_[3]-this.extent_[1]),n=this.grid_[Math.floor((1-i)*this.grid_.length)];if("string"!=typeof n)return null;let r=n.charCodeAt(Math.floor(e*n.length));r>=93&&r--,r>=35&&r--,r-=32;let s=null;if(r in this.keys_){const t=this.keys_[r];s=this.data_&&t in this.data_?this.data_[t]:t}return s}forDataAtCoordinate(t,e,i){this.state==Q&&!0===i?(this.state=q,O(this,v,(function(i){e(this.getData(t))}),this),this.loadInternal_()):!0===i?setTimeout((()=>{e(this.getData(t))}),0):e(this.getData(t))}getKey(){return this.src_}handleError_(){this.state=J,this.changed()}handleLoad_(t){this.grid_=t.grid,this.keys_=t.keys,this.data_=t.data,this.state=H,this.changed()}loadInternal_(){if(this.state==q)if(this.state=K,this.jsonp_)Bc(this.src_,this.handleLoad_.bind(this),this.handleError_.bind(this));else{const t=new XMLHttpRequest;t.addEventListener("load",this.onXHRLoad_.bind(this)),t.addEventListener("error",this.onXHRError_.bind(this)),t.open("GET",this.src_),t.send()}}onXHRLoad_(t){const e=t.target;if(!e.status||e.status>=200&&e.status<300){let t;try{t=JSON.parse(e.responseText)}catch(t){return void this.handleError_()}this.handleLoad_(t)}else this.handleError_()}onXHRError_(t){this.handleError_()}load(){this.preemptive_?this.loadInternal_():this.setState(Q)}}var Ef=class extends Mu{constructor(t){if(super({projection:en("EPSG:3857"),state:"loading",wrapX:void 0===t.wrapX||t.wrapX,zDirection:t.zDirection}),this.preemptive_=void 0===t.preemptive||t.preemptive,this.tileUrlFunction_=Nu,this.template_=void 0,this.jsonp_=t.jsonp||!1,t.url)if(this.jsonp_)Bc(t.url,this.handleTileJSONResponse.bind(this),this.handleTileJSONError.bind(this));else{const e=new XMLHttpRequest;e.addEventListener("load",this.onXHRLoad_.bind(this)),e.addEventListener("error",this.onXHRError_.bind(this)),e.open("GET",t.url),e.send()}else{if(!t.tileJSON)throw new Error("Either `url` or `tileJSON` options must be provided");this.handleTileJSONResponse(t.tileJSON)}}onXHRLoad_(t){const e=t.target;if(!e.status||e.status>=200&&e.status<300){let t;try{t=JSON.parse(e.responseText)}catch(t){return void this.handleTileJSONError()}this.handleTileJSONResponse(t)}else this.handleTileJSONError()}onXHRError_(t){this.handleTileJSONError()}getTemplate(){return this.template_}forDataAtCoordinateAndResolution(t,e,i,n){if(this.tileGrid){const r=this.tileGrid.getZForResolution(e,this.zDirection),s=this.tileGrid.getTileCoordForCoordAndZ(t,r);this.getTile(s[0],s[1],s[2],1,this.getProjection()).forDataAtCoordinate(t,i,n)}else!0===n?setTimeout((function(){i(null)}),0):i(null)}handleTileJSONError(){this.setState("error")}handleTileJSONResponse(t){const e=en("EPSG:4326"),i=this.getProjection();let n;if(void 0!==t.bounds){const r=un(e,i);n=ke(t.bounds,r)}const r=Lu(i),s=t.minzoom||0,o=Ru({extent:r,maxZoom:t.maxzoom||22,minZoom:s});this.tileGrid=o,this.template_=t.template;const a=t.grids;if(a){if(this.tileUrlFunction_=Ou(a,o),t.attribution){const e=void 0!==n?n:r;this.setAttributions((function(i){return Me(e,i.extent)?[t.attribution]:null}))}this.setState("ready")}else this.setState("error")}getTile(t,e,i,n,r){const s=Tc(t,e,i);if(this.tileCache.containsKey(s))return this.tileCache.get(s);const o=[t,e,i],a=this.getTileCoordForTileUrlFunction(o,r),l=this.tileUrlFunction_(a,n,r),h=new Sf(o,void 0!==l?q:Q,void 0!==l?l:"",this.tileGrid.getTileCoordExtent(o),this.preemptive_,this.jsonp_);return this.tileCache.set(s,h),h}useTile(t,e,i){const n=Tc(t,e,i);this.tileCache.containsKey(n)&&this.tileCache.get(n)}};var Tf=class extends Uu{constructor(t){const e=void 0!==t.requestEncoding?t.requestEncoding:"KVP",i=t.tileGrid;let n=t.urls;void 0===n&&void 0!==t.url&&(n=ku(t.url)),super({attributions:t.attributions,attributionsCollapsible:t.attributionsCollapsible,cacheSize:t.cacheSize,crossOrigin:t.crossOrigin,interpolate:t.interpolate,projection:t.projection,reprojectionErrorThreshold:t.reprojectionErrorThreshold,tileClass:t.tileClass,tileGrid:i,tileLoadFunction:t.tileLoadFunction,tilePixelRatio:t.tilePixelRatio,urls:n,wrapX:void 0!==t.wrapX&&t.wrapX,transition:t.transition,zDirection:t.zDirection}),this.version_=void 0!==t.version?t.version:"1.0.0",this.format_=void 0!==t.format?t.format:"image/jpeg",this.dimensions_=void 0!==t.dimensions?t.dimensions:{},this.layer_=t.layer,this.matrixSet_=t.matrixSet,this.style_=t.style,this.requestEncoding_=e,this.setKey(this.getKeyForDimensions_()),n&&n.length>0&&(this.tileUrlFunction=Du(n.map(this.createFromWMTSTemplate.bind(this))))}setUrls(t){this.urls=t;const e=t.join("\n");this.setTileUrlFunction(Du(t.map(this.createFromWMTSTemplate.bind(this))),e)}getDimensions(){return this.dimensions_}getFormat(){return this.format_}getLayer(){return this.layer_}getMatrixSet(){return this.matrixSet_}getRequestEncoding(){return this.requestEncoding_}getStyle(){return this.style_}getVersion(){return this.version_}getKeyForDimensions_(){const t=this.urls?this.urls.slice(0):[];for(const e in this.dimensions_)t.push(e+"-"+this.dimensions_[e]);return t.join("/")}updateDimensions(t){Object.assign(this.dimensions_,t),this.setKey(this.getKeyForDimensions_())}createFromWMTSTemplate(t){const e=this.requestEncoding_,i={layer:this.layer_,style:this.style_,tilematrixset:this.matrixSet_};"KVP"==e&&Object.assign(i,{Service:"WMTS",Request:"GetTile",Version:this.version_,Format:this.format_}),t="KVP"==e?cg(t,i):t.replace(/\{(\w+?)\}/g,(function(t,e){return e.toLowerCase()in i?i[e.toLowerCase()]:t}));const n=this.tileGrid,r=this.dimensions_;return function(i,s,o){if(!i)return;const a={TileMatrix:n.getMatrixId(i[0]),TileCol:i[1],TileRow:i[2]};Object.assign(a,r);let l=t;return l="KVP"==e?cg(l,a):l.replace(/\{(\w+?)\}/g,(function(t,e){return a[e]})),l}}};const Cf=34962,bf=34963,Rf=35044,Pf=35048,If=5126,Lf=["experimental-webgl","webgl","webkit-3d","moz-webgl"];function Ff(t,e){e=Object.assign({preserveDrawingBuffer:!0,antialias:!lt},e);const i=Lf.length;for(let n=0;n{this.uniforms_.push({value:t.uniforms[i],location:e.getUniformLocation(this.renderTargetProgram_,i)})}))}getGL(){return this.gl_}init(t){const e=this.getGL(),i=[e.drawingBufferWidth*this.scaleRatio_,e.drawingBufferHeight*this.scaleRatio_];if(e.bindFramebuffer(e.FRAMEBUFFER,this.getFrameBuffer()),e.bindRenderbuffer(e.RENDERBUFFER,this.getDepthBuffer()),e.viewport(0,0,i[0],i[1]),!this.renderTargetTextureSize_||this.renderTargetTextureSize_[0]!==i[0]||this.renderTargetTextureSize_[1]!==i[1]){this.renderTargetTextureSize_=i;const t=0,n=e.RGBA,r=0,s=e.RGBA,o=e.UNSIGNED_BYTE,a=null;e.bindTexture(e.TEXTURE_2D,this.renderTargetTexture_),e.texImage2D(e.TEXTURE_2D,t,n,i[0],i[1],r,s,o,a),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MIN_FILTER,e.LINEAR),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_S,e.CLAMP_TO_EDGE),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_T,e.CLAMP_TO_EDGE),e.framebufferTexture2D(e.FRAMEBUFFER,e.COLOR_ATTACHMENT0,e.TEXTURE_2D,this.renderTargetTexture_,0),e.renderbufferStorage(e.RENDERBUFFER,e.DEPTH_COMPONENT16,i[0],i[1]),e.framebufferRenderbuffer(e.FRAMEBUFFER,e.DEPTH_ATTACHMENT,e.RENDERBUFFER,this.depthBuffer_)}}apply(t,e,i,n){const r=this.getGL(),s=t.size;if(r.bindFramebuffer(r.FRAMEBUFFER,e?e.getFrameBuffer():null),r.activeTexture(r.TEXTURE0),r.bindTexture(r.TEXTURE_2D,this.renderTargetTexture_),!e){const e=U(r.canvas);if(!t.renderTargets[e]){const i=r.getContextAttributes();i&&i.preserveDrawingBuffer&&(r.clearColor(0,0,0,0),r.clearDepth(1),r.clear(r.COLOR_BUFFER_BIT|r.DEPTH_BUFFER_BIT)),t.renderTargets[e]=!0}}r.disable(r.DEPTH_TEST),r.enable(r.BLEND),r.blendFunc(r.ONE,r.ONE_MINUS_SRC_ALPHA),r.viewport(0,0,r.drawingBufferWidth,r.drawingBufferHeight),r.bindBuffer(r.ARRAY_BUFFER,this.renderTargetVerticesBuffer_),r.useProgram(this.renderTargetProgram_),r.enableVertexAttribArray(this.renderTargetAttribLocation_),r.vertexAttribPointer(this.renderTargetAttribLocation_,2,r.FLOAT,!1,0,0),r.uniform2f(this.renderTargetUniformLocation_,s[0],s[1]),r.uniform1i(this.renderTargetTextureLocation_,0);const o=t.layerStatesArray[t.layerIndex].opacity;r.uniform1f(this.renderTargetOpacityLocation_,o),this.applyUniforms(t),i&&i(r,t),r.drawArrays(r.TRIANGLES,0,6),n&&n(r,t)}getFrameBuffer(){return this.frameBuffer_}getDepthBuffer(){return this.depthBuffer_}applyUniforms(t){const e=this.getGL();let i,n=1;this.uniforms_.forEach((function(r){if(i="function"==typeof r.value?r.value(t):r.value,i instanceof HTMLCanvasElement||i instanceof ImageData)r.texture||(r.texture=e.createTexture()),e.activeTexture(e[`TEXTURE${n}`]),e.bindTexture(e.TEXTURE_2D,r.texture),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MIN_FILTER,e.LINEAR),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_S,e.CLAMP_TO_EDGE),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_T,e.CLAMP_TO_EDGE),i instanceof ImageData?e.texImage2D(e.TEXTURE_2D,0,e.RGBA,e.RGBA,i.width,i.height,0,e.UNSIGNED_BYTE,new Uint8Array(i.data)):e.texImage2D(e.TEXTURE_2D,0,e.RGBA,e.RGBA,e.UNSIGNED_BYTE,i),e.uniform1i(r.location,n++);else if(Array.isArray(i))switch(i.length){case 2:return void e.uniform2f(r.location,i[0],i[1]);case 3:return void e.uniform3f(r.location,i[0],i[1],i[2]);case 4:return void e.uniform4f(r.location,i[0],i[1],i[2],i[3]);default:return}else"number"==typeof i&&e.uniform1f(r.location,i)}))}};function dp(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function gp(t,e){return t[0]=e[0],t[1]=e[1],t[4]=e[2],t[5]=e[3],t[12]=e[4],t[13]=e[5],t}const fp={PROJECTION_MATRIX:"u_projectionMatrix",SCREEN_TO_WORLD_MATRIX:"u_screenToWorldMatrix",TIME:"u_time",ZOOM:"u_zoom",RESOLUTION:"u_resolution",ROTATION:"u_rotation",VIEWPORT_SIZE_PX:"u_viewportSizePx",PIXEL_RATIO:"u_pixelRatio",HIT_DETECTION:"u_hitDetection"},pp={UNSIGNED_BYTE:5121,UNSIGNED_SHORT:5123,UNSIGNED_INT:5125,FLOAT:If},mp={};function _p(t){return"shared/"+t}let yp=0;function xp(t){let e=0;for(let i=0;inew up({webGlContext:this.gl_,scaleRatio:t.scaleRatio,vertexShader:t.vertexShader,fragmentShader:t.fragmentShader,uniforms:t.uniforms}))):[new up({webGlContext:this.gl_})],this.shaderCompileErrors_=null,this.startTime_=Date.now()}setUniforms(t){this.uniforms_=[],this.addUniforms(t)}addUniforms(t){for(const e in t)this.uniforms_.push({name:e,value:t[e]})}canvasCacheKeyMatches(t){return this.canvasCacheKey_===_p(t)}getExtension(t){if(t in this.extensionCache_)return this.extensionCache_[t];const e=this.gl_.getExtension(t);return this.extensionCache_[t]=e,e}bindBuffer(t){const e=this.gl_,i=U(t);let n=this.bufferCache_[i];if(!n){n={buffer:t,webGlBuffer:e.createBuffer()},this.bufferCache_[i]=n}e.bindBuffer(t.getType(),n.webGlBuffer)}flushBufferData(t){const e=this.gl_;this.bindBuffer(t),e.bufferData(t.getType(),t.getArray(),t.getUsage())}deleteBuffer(t){const e=this.gl_,i=U(t),n=this.bufferCache_[i];n&&!e.isContextLost()&&e.deleteBuffer(n.webGlBuffer),delete this.bufferCache_[i]}disposeInternal(){const t=this.gl_.canvas;t.removeEventListener(hp,this.boundHandleWebGLContextLost_),t.removeEventListener(cp,this.boundHandleWebGLContextRestored_),function(t){const e=mp[t];if(!e)return;if(e.users-=1,e.users>0)return;const i=e.context,n=i.getExtension("WEBGL_lose_context");n&&n.loseContext();const r=i.canvas;r.width=1,r.height=1,delete mp[t]}(this.canvasCacheKey_),delete this.gl_}prepareDraw(t,e,i){const n=this.gl_,r=this.getCanvas(),s=t.size,o=t.pixelRatio;r.width===s[0]*o&&r.height===s[1]*o||(r.width=s[0]*o,r.height=s[1]*o,r.style.width=s[0]+"px",r.style.height=s[1]+"px");for(let e=this.postProcessPasses_.length-1;e>=0;e--)this.postProcessPasses_[e].init(t);n.bindTexture(n.TEXTURE_2D,null),n.clearColor(0,0,0,0),n.depthRange(0,1),n.clearDepth(1),n.clear(n.COLOR_BUFFER_BIT|n.DEPTH_BUFFER_BIT),n.enable(n.BLEND),n.blendFunc(n.ONE,e?n.ZERO:n.ONE_MINUS_SRC_ALPHA),i?(n.enable(n.DEPTH_TEST),n.depthFunc(n.LEQUAL)):n.disable(n.DEPTH_TEST)}bindTexture(t,e,i){const n=this.gl_;n.activeTexture(n.TEXTURE0+e),n.bindTexture(n.TEXTURE_2D,t),n.uniform1i(this.getUniformLocation(i),e)}prepareDrawToRenderTarget(t,e,i,n){const r=this.gl_,s=e.getSize();r.bindFramebuffer(r.FRAMEBUFFER,e.getFramebuffer()),r.bindRenderbuffer(r.RENDERBUFFER,e.getDepthbuffer()),r.viewport(0,0,s[0],s[1]),r.bindTexture(r.TEXTURE_2D,e.getTexture()),r.clearColor(0,0,0,0),r.depthRange(0,1),r.clearDepth(1),r.clear(r.COLOR_BUFFER_BIT|r.DEPTH_BUFFER_BIT),r.enable(r.BLEND),r.blendFunc(r.ONE,i?r.ZERO:r.ONE_MINUS_SRC_ALPHA),n?(r.enable(r.DEPTH_TEST),r.depthFunc(r.LEQUAL)):r.disable(r.DEPTH_TEST)}drawElements(t,e){const i=this.gl_;this.getExtension("OES_element_index_uint");const n=i.UNSIGNED_INT,r=e-t,s=4*t;i.drawElements(i.TRIANGLES,r,n,s)}finalizeDraw(t,e,i){for(let n=0,r=this.postProcessPasses_.length;n{if(i="function"==typeof r.value?r.value(t):r.value,i instanceof HTMLCanvasElement||i instanceof HTMLImageElement||i instanceof ImageData||i instanceof WebGLTexture){i instanceof WebGLTexture&&!r.texture?(r.prevValue=void 0,r.texture=i):r.texture||(r.prevValue=void 0,r.texture=e.createTexture()),this.bindTexture(r.texture,n,r.name),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MIN_FILTER,e.LINEAR),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_S,e.CLAMP_TO_EDGE),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_T,e.CLAMP_TO_EDGE);const t=!(i instanceof HTMLImageElement)||i.complete;i instanceof WebGLTexture||!t||r.prevValue===i||(r.prevValue=i,e.texImage2D(e.TEXTURE_2D,0,e.RGBA,e.RGBA,e.UNSIGNED_BYTE,i)),n++}else if(Array.isArray(i)&&6===i.length)this.setUniformMatrixValue(r.name,gp(this.tmpMat4_,i));else if(Array.isArray(i)&&i.length<=4)switch(i.length){case 2:return void e.uniform2f(this.getUniformLocation(r.name),i[0],i[1]);case 3:return void e.uniform3f(this.getUniformLocation(r.name),i[0],i[1],i[2]);case 4:return void e.uniform4f(this.getUniformLocation(r.name),i[0],i[1],i[2],i[3]);default:return}else"number"==typeof i&&e.uniform1f(this.getUniformLocation(r.name),i)}))}useProgram(t,e){this.gl_.useProgram(t),this.currentProgram_=t,this.applyFrameState(e),this.applyUniforms(e)}compileShader(t,e){const i=this.gl_,n=i.createShader(e);return i.shaderSource(n,t),i.compileShader(n),n}getProgram(t,e){const i=this.gl_,n=this.compileShader(t,i.FRAGMENT_SHADER),r=this.compileShader(e,i.VERTEX_SHADER),s=i.createProgram();if(i.attachShader(s,n),i.attachShader(s,r),i.linkProgram(s),!i.getShaderParameter(n,i.COMPILE_STATUS)){const t=`Fragment shader compilation failed: ${i.getShaderInfoLog(n)}`;throw new Error(t)}if(i.deleteShader(n),!i.getShaderParameter(r,i.COMPILE_STATUS)){const t=`Vertex shader compilation failed: ${i.getShaderInfoLog(r)}`;throw new Error(t)}if(i.deleteShader(r),!i.getProgramParameter(s,i.LINK_STATUS)){const t=`GL program linking failed: ${i.getProgramInfoLog(s)}`;throw new Error(t)}return s}getUniformLocation(t){const e=U(this.currentProgram_);return void 0===this.uniformLocationsByProgram_[e]&&(this.uniformLocationsByProgram_[e]={}),void 0===this.uniformLocationsByProgram_[e][t]&&(this.uniformLocationsByProgram_[e][t]=this.gl_.getUniformLocation(this.currentProgram_,t)),this.uniformLocationsByProgram_[e][t]}getAttributeLocation(t){const e=U(this.currentProgram_);return void 0===this.attribLocationsByProgram_[e]&&(this.attribLocationsByProgram_[e]={}),void 0===this.attribLocationsByProgram_[e][t]&&(this.attribLocationsByProgram_[e][t]=this.gl_.getAttribLocation(this.currentProgram_,t)),this.attribLocationsByProgram_[e][t]}makeProjectionTransform(t,e){const i=t.size,n=t.viewState.rotation,r=t.viewState.resolution,s=t.viewState.center;return Zt(e,0,0,2/(r*i[0]),2/(r*i[1]),-n,-s[0],-s[1]),e}setUniformFloatValue(t,e){this.gl_.uniform1f(this.getUniformLocation(t),e)}setUniformFloatVec2(t,e){this.gl_.uniform2fv(this.getUniformLocation(t),e)}setUniformFloatVec4(t,e){this.gl_.uniform4fv(this.getUniformLocation(t),e)}setUniformMatrixValue(t,e){this.gl_.uniformMatrix4fv(this.getUniformLocation(t),!1,e)}enableAttributeArray_(t,e,i,n,r){const s=this.getAttributeLocation(t);s<0||(this.gl_.enableVertexAttribArray(s),this.gl_.vertexAttribPointer(s,e,i,!1,n,r))}enableAttributes(t){const e=xp(t);let i=0;for(let n=0;nthis.size_[0]||e>=this.size_[1])return Ep[0]=0,Ep[1]=0,Ep[2]=0,Ep[3]=0,Ep;this.readAll();const i=Math.floor(t)+(this.size_[1]-Math.floor(e)-1)*this.size_[0];return Ep[0]=this.data_[4*i],Ep[1]=this.data_[4*i+1],Ep[2]=this.data_[4*i+2],Ep[3]=this.data_[4*i+3],Ep}getTexture(){return this.texture_}getFramebuffer(){return this.framebuffer_}getDepthbuffer(){return this.depthbuffer_}updateSize_(){const t=this.size_,e=this.helper_.getGL();this.texture_=this.helper_.createTexture(t,null,this.texture_),e.bindFramebuffer(e.FRAMEBUFFER,this.framebuffer_),e.viewport(0,0,t[0],t[1]),e.framebufferTexture2D(e.FRAMEBUFFER,e.COLOR_ATTACHMENT0,e.TEXTURE_2D,this.texture_,0),e.bindRenderbuffer(e.RENDERBUFFER,this.depthbuffer_),e.renderbufferStorage(e.RENDERBUFFER,e.DEPTH_COMPONENT16,t[0],t[1]),e.framebufferRenderbuffer(e.FRAMEBUFFER,e.DEPTH_ATTACHMENT,e.RENDERBUFFER,this.depthbuffer_),this.data_=new Uint8Array(t[0]*t[1]*4)}},Cp={exports:{}};function bp(t,e,i){i=i||2;var n,r,s,o,a,l,h,c=e&&e.length,u=c?e[0]*i:t.length,d=Rp(t,0,u,i,!0),g=[];if(!d||d.next===d.prev)return g;if(c&&(d=function(t,e,i,n){var r,s,o,a=[];for(r=0,s=e.length;r80*i){n=s=t[0],r=o=t[1];for(var f=i;fs&&(s=a),l>o&&(o=l);h=0!==(h=Math.max(s-n,o-r))?32767/h:0}return Ip(d,g,i,n,r,h,0),g}function Rp(t,e,i,n,r){var s,o;if(r===Hp(t,e,i,n)>0)for(s=e;s=e;s-=n)o=Yp(s,t[s],t[s+1],o);return o&&Bp(o,o.next)&&(qp(o),o=o.next),o}function Pp(t,e){if(!t)return t;e||(e=t);var i,n=t;do{if(i=!1,n.steiner||!Bp(n,n.next)&&0!==Up(n.prev,n,n.next))n=n.next;else{if(qp(n),(n=e=n.prev)===n.next)break;i=!0}}while(i||n!==e);return e}function Ip(t,e,i,n,r,s,o){if(t){!o&&s&&function(t,e,i,n){var r=t;do{0===r.z&&(r.z=kp(r.x,r.y,e,i,n)),r.prevZ=r.prev,r.nextZ=r.next,r=r.next}while(r!==t);r.prevZ.nextZ=null,r.prevZ=null,function(t){var e,i,n,r,s,o,a,l,h=1;do{for(i=t,t=null,s=null,o=0;i;){for(o++,n=i,a=0,e=0;e0||l>0&&n;)0!==a&&(0===l||!n||i.z<=n.z)?(r=i,i=i.nextZ,a--):(r=n,n=n.nextZ,l--),s?s.nextZ=r:t=r,r.prevZ=s,s=r;i=n}s.nextZ=null,h*=2}while(o>1)}(r)}(t,n,r,s);for(var a,l,h=t;t.prev!==t.next;)if(a=t.prev,l=t.next,s?Fp(t,n,r,s):Lp(t))e.push(a.i/i|0),e.push(t.i/i|0),e.push(l.i/i|0),qp(t),t=l.next,h=l.next;else if((t=l)===h){o?1===o?Ip(t=Mp(Pp(t),e,i),e,i,n,r,s,2):2===o&&Ap(t,e,i,n,r,s):Ip(Pp(t),e,i,n,r,s,1);break}}}function Lp(t){var e=t.prev,i=t,n=t.next;if(Up(e,i,n)>=0)return!1;for(var r=e.x,s=i.x,o=n.x,a=e.y,l=i.y,h=n.y,c=rs?r>o?r:o:s>o?s:o,g=a>l?a>h?a:h:l>h?l:h,f=n.next;f!==e;){if(f.x>=c&&f.x<=d&&f.y>=u&&f.y<=g&&jp(r,a,s,l,o,h,f.x,f.y)&&Up(f.prev,f,f.next)>=0)return!1;f=f.next}return!0}function Fp(t,e,i,n){var r=t.prev,s=t,o=t.next;if(Up(r,s,o)>=0)return!1;for(var a=r.x,l=s.x,h=o.x,c=r.y,u=s.y,d=o.y,g=al?a>h?a:h:l>h?l:h,m=c>u?c>d?c:d:u>d?u:d,_=kp(g,f,e,i,n),y=kp(p,m,e,i,n),x=t.prevZ,v=t.nextZ;x&&x.z>=_&&v&&v.z<=y;){if(x.x>=g&&x.x<=p&&x.y>=f&&x.y<=m&&x!==r&&x!==o&&jp(a,c,l,u,h,d,x.x,x.y)&&Up(x.prev,x,x.next)>=0)return!1;if(x=x.prevZ,v.x>=g&&v.x<=p&&v.y>=f&&v.y<=m&&v!==r&&v!==o&&jp(a,c,l,u,h,d,v.x,v.y)&&Up(v.prev,v,v.next)>=0)return!1;v=v.nextZ}for(;x&&x.z>=_;){if(x.x>=g&&x.x<=p&&x.y>=f&&x.y<=m&&x!==r&&x!==o&&jp(a,c,l,u,h,d,x.x,x.y)&&Up(x.prev,x,x.next)>=0)return!1;x=x.prevZ}for(;v&&v.z<=y;){if(v.x>=g&&v.x<=p&&v.y>=f&&v.y<=m&&v!==r&&v!==o&&jp(a,c,l,u,h,d,v.x,v.y)&&Up(v.prev,v,v.next)>=0)return!1;v=v.nextZ}return!0}function Mp(t,e,i){var n=t;do{var r=n.prev,s=n.next.next;!Bp(r,s)&&Xp(r,n,n.next,s)&&Zp(r,s)&&Zp(s,r)&&(e.push(r.i/i|0),e.push(n.i/i|0),e.push(s.i/i|0),qp(n),qp(n.next),n=t=s),n=n.next}while(n!==t);return Pp(n)}function Ap(t,e,i,n,r,s){var o=t;do{for(var a=o.next.next;a!==o.prev;){if(o.i!==a.i&&zp(o,a)){var l=$p(o,a);return o=Pp(o,o.next),l=Pp(l,l.next),Ip(o,e,i,n,r,s,0),void Ip(l,e,i,n,r,s,0)}a=a.next}o=o.next}while(o!==t)}function Op(t,e){return t.x-e.x}function Dp(t,e){var i=function(t,e){var i,n=e,r=t.x,s=t.y,o=-1/0;do{if(s<=n.y&&s>=n.next.y&&n.next.y!==n.y){var a=n.x+(s-n.y)*(n.next.x-n.x)/(n.next.y-n.y);if(a<=r&&a>o&&(o=a,i=n.x=n.x&&n.x>=c&&r!==n.x&&jp(si.x||n.x===i.x&&Np(i,n)))&&(i=n,d=l)),n=n.next}while(n!==h);return i}(t,e);if(!i)return e;var n=$p(i,t);return Pp(n,n.next),Pp(i,i.next)}function Np(t,e){return Up(t.prev,t,e.prev)<0&&Up(e.next,t,t.next)<0}function kp(t,e,i,n,r){return(t=1431655765&((t=858993459&((t=252645135&((t=16711935&((t=(t-i)*r|0)|t<<8))|t<<4))|t<<2))|t<<1))|(e=1431655765&((e=858993459&((e=252645135&((e=16711935&((e=(e-n)*r|0)|e<<8))|e<<4))|e<<2))|e<<1))<<1}function Gp(t){var e=t,i=t;do{(e.x=(t-o)*(s-a)&&(t-o)*(n-a)>=(i-o)*(e-a)&&(i-o)*(s-a)>=(r-o)*(n-a)}function zp(t,e){return t.next.i!==e.i&&t.prev.i!==e.i&&!function(t,e){var i=t;do{if(i.i!==t.i&&i.next.i!==t.i&&i.i!==e.i&&i.next.i!==e.i&&Xp(i,i.next,t,e))return!0;i=i.next}while(i!==t);return!1}(t,e)&&(Zp(t,e)&&Zp(e,t)&&function(t,e){var i=t,n=!1,r=(t.x+e.x)/2,s=(t.y+e.y)/2;do{i.y>s!=i.next.y>s&&i.next.y!==i.y&&r<(i.next.x-i.x)*(s-i.y)/(i.next.y-i.y)+i.x&&(n=!n),i=i.next}while(i!==t);return n}(t,e)&&(Up(t.prev,t,e.prev)||Up(t,e.prev,e))||Bp(t,e)&&Up(t.prev,t,t.next)>0&&Up(e.prev,e,e.next)>0)}function Up(t,e,i){return(e.y-t.y)*(i.x-e.x)-(e.x-t.x)*(i.y-e.y)}function Bp(t,e){return t.x===e.x&&t.y===e.y}function Xp(t,e,i,n){var r=Wp(Up(t,e,i)),s=Wp(Up(t,e,n)),o=Wp(Up(i,n,t)),a=Wp(Up(i,n,e));return r!==s&&o!==a||(!(0!==r||!Vp(t,i,e))||(!(0!==s||!Vp(t,n,e))||(!(0!==o||!Vp(i,t,n))||!(0!==a||!Vp(i,e,n)))))}function Vp(t,e,i){return e.x<=Math.max(t.x,i.x)&&e.x>=Math.min(t.x,i.x)&&e.y<=Math.max(t.y,i.y)&&e.y>=Math.min(t.y,i.y)}function Wp(t){return t>0?1:t<0?-1:0}function Zp(t,e){return Up(t.prev,t,t.next)<0?Up(t,e,t.next)>=0&&Up(t,t.prev,e)>=0:Up(t,e,t.prev)<0||Up(t,t.next,e)<0}function $p(t,e){var i=new Kp(t.i,t.x,t.y),n=new Kp(e.i,e.x,e.y),r=t.next,s=e.prev;return t.next=e,e.prev=t,i.next=r,r.prev=i,n.next=i,i.prev=n,s.next=n,n.prev=s,n}function Yp(t,e,i,n){var r=new Kp(t,e,i);return n?(r.next=n.next,r.prev=n,n.next.prev=r,n.next=r):(r.prev=r,r.next=r),r}function qp(t){t.next.prev=t.prev,t.prev.next=t.next,t.prevZ&&(t.prevZ.nextZ=t.nextZ),t.nextZ&&(t.nextZ.prevZ=t.prevZ)}function Kp(t,e,i){this.i=t,this.x=e,this.y=i,this.prev=null,this.next=null,this.z=0,this.prevZ=null,this.nextZ=null,this.steiner=!1}function Hp(t,e,i,n){for(var r=0,s=e,o=i-n;s0&&(n+=t[r-1].length,i.holes.push(n))}return i};var Jp=xo(Cp.exports);const Qp=.985,tm=[],em={vertexPosition:0,indexPosition:0};function im(t,e,i,n,r){t[e+0]=i,t[e+1]=n,t[e+2]=r}function nm(t,e){const i=256,n=255;return(e=e||[])[0]=Math.floor(t/i/i/i)/n,e[1]=Math.floor(t/i/i)%i/n,e[2]=Math.floor(t/i)%i/n,e[3]=t%i/n,e}function rm(t){let e=0;const i=256,n=255;return e+=Math.round(t[0]*i*i*i*n),e+=Math.round(t[1]*i*i*n),e+=Math.round(t[2]*i*n),e+=Math.round(t[3]*n),e}function sm(t,e,i){const n=i?t.LINEAR:t.NEAREST;t.bindTexture(t.TEXTURE_2D,e),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_WRAP_S,t.CLAMP_TO_EDGE),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_WRAP_T,t.CLAMP_TO_EDGE),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_MIN_FILTER,n),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_MAG_FILTER,n)}function om(t,e,i,n,r,s){const o=t.getGL();let a,l;if(i instanceof Float32Array){a=o.FLOAT,t.getExtension("OES_texture_float");l=null!==t.getExtension("OES_texture_float_linear")}else a=o.UNSIGNED_BYTE,l=!0;sm(o,e,s&&l);const h=i.byteLength/n[1];let c,u=1;switch(h%8==0?u=8:h%4==0?u=4:h%2==0&&(u=2),r){case 1:c=o.LUMINANCE;break;case 2:c=o.LUMINANCE_ALPHA;break;case 3:c=o.RGB;break;case 4:c=o.RGBA;break;default:throw new Error(`Unsupported number of bands: ${r}`)}const d=o.getParameter(o.UNPACK_ALIGNMENT);o.pixelStorei(o.UNPACK_ALIGNMENT,u),o.texImage2D(o.TEXTURE_2D,0,c,n[0],n[1],0,c,a,i),o.pixelStorei(o.UNPACK_ALIGNMENT,d)}let am=null;var lm=class extends sp{constructor(t){super(t),this.textures=[],this.renderSize_=co(t.grid.getTileSize(t.tile.tileCoord[0])),this.bandCount=NaN;const e=new lp(Cf,Rf);e.fromArray([0,1,1,1,1,0,0,0]),this.helper_.flushBufferData(e),this.coords=e,this.setTile(t.tile)}uploadTile(){const t=this.helper_,e=t.getGL(),i=this.tile;let n;this.textures.length=0,n=i instanceof es||i instanceof gu?i.getImage():i.getData();const r=bt(n);if(r){const t=e.createTexture();return this.textures.push(t),this.bandCount=4,function(t,e,i,n){sm(t,e,n),t.texImage2D(t.TEXTURE_2D,0,t.RGBA,t.RGBA,t.UNSIGNED_BYTE,i)}(e,t,r,i.interpolate),void this.setReady()}n=Rt(n);const s=i.getSize(),o=[s[0]+2*this.gutter_,s[1]+2*this.gutter_],a=n instanceof Float32Array,l=o[0]*o[1],h=a?Float32Array:Uint8Array,c=h.BYTES_PER_ELEMENT,u=n.byteLength/o[1];this.bandCount=Math.floor(u/c/o[0]);const d=Math.ceil(this.bandCount/4);if(1===d){const r=e.createTexture();return this.textures.push(r),om(t,r,n,o,this.bandCount,i.interpolate),void this.setReady()}const g=new Array(d);for(let t=0;t=f;--r){const i=l.getTileRangeForExtentAndZ(e,r,this.tempTileRange_),o=l.getResolution(r);for(let e=i.minX;e<=i.maxX;++e)for(let g=i.minY;g<=i.maxY;++g){const i=Ec(r,e,g,this.tempTileCoord_),f=ym(a,i);let p,m;if(d.containsKey(f)&&(p=d.get(f),m=p.tile),p&&p.tile.key===a.getKey()||(m=a.getTile(r,e,g,t.pixelRatio,s.projection)),pm(n,m))continue;if(p)if(this.isDrawableTile_(m))p.setTile(m);else{const t=m.getInterimTile();p.setTile(t)}else p=this.createTileRepresentation({tile:m,grid:l,helper:this.helper,gutter:h}),d.set(f,p);mm(n,p,r);const _=m.getKey();u[_]=!0,m.getState()===q&&(t.tileQueue.isKeyQueued(_)||t.tileQueue.enqueue([m,c,l.getTileCoordCenter(i),o]))}}}beforeTilesRender(t,e){this.helper.prepareDraw(this.frameState,!e,!0)}beforeTilesMaskRender(t){return!1}renderTile(t,e,i,n,r,s,o,a,l,h,c){}renderTileMask(t,e,i,n){}drawTile_(t,e,i,n,r,s,o){if(!e.ready)return;const a=e.tile.tileCoord,l=Cc(a),h=l in s?s[l]:1,c=o.getResolution(i),u=co(o.getTileSize(i),this.tempSize_),d=o.getOrigin(i),g=o.getTileCoordExtent(a),f=h<1?-1:gm(i);h<1&&(t.animate=!0);const p=t.viewState,m=p.center[0],_=p.center[1],y=u[0]+2*n,x=u[1]+2*n,v=y/x,w=(m-d[0])/(u[0]*c),S=(d[1]-_)/(u[1]*c),E=p.resolution/c,T=a[1],C=a[2];Gt(this.tileTransform_),Vt(this.tileTransform_,2/(t.size[0]*E/y),-2/(t.size[1]*E/y)),Xt(this.tileTransform_,p.rotation),Vt(this.tileTransform_,1,1/v),Wt(this.tileTransform_,(u[0]*(T-w)-n)/y,(u[1]*(C-S)-n)/x),this.renderTile(e,this.tileTransform_,t,r,c,u,d,g,f,n,h)}renderFrame(t){this.frameState=t,this.renderComplete=!0;const e=this.helper.getGL();this.preRender(e,t);const i=t.viewState,n=this.getLayer(),r=n.getRenderSource(),s=r.getTileGridForProjection(i.projection),a=r.getGutterForProjection(i.projection),l=_m(t,t.extent),h=s.getZForResolution(i.resolution,r.zDirection),c=fm(),u=n.getPreload();if(t.nextExtent){const e=s.getZForResolution(i.nextResolution,r.zDirection),n=_m(t,t.nextExtent);this.enqueueTiles(t,n,e,c,u)}this.enqueueTiles(t,l,h,c,0),u>0&&setTimeout((()=>{this.enqueueTiles(t,l,h-1,c,u-1)}),0);const d={},g=U(this),f=t.time;let p=!1;for(const t of c.representationsByZ[h]){const e=t.tile;if((e instanceof gu||e instanceof Cd)&&e.getState()===Q)continue;const i=e.tileCoord;if(t.ready){const t=e.getAlpha(g,f);if(1===t){e.endTransition(g);continue}p=!0;d[Cc(i)]=t}this.renderComplete=!1;if(this.findAltTiles_(s,i,h+1,c))continue;const n=s.getMinZoom();for(let t=h-1;t>=n;--t){if(this.findAltTiles_(s,i,t,c))break}}const m=c.representationsByZ,_=Object.keys(m).map(Number).sort(o);if(this.beforeTilesMaskRender(t))for(let t=0,e=_.length;tt.dispose())),t.clear()}removeHelper(){this.helper&&this.clearCache(),super.removeHelper()}disposeInternal(){super.disposeInternal(),delete this.frameState}};const vm={...um,TILE_TEXTURE_ARRAY:"u_tileTextures",TEXTURE_PIXEL_WIDTH:"u_texturePixelWidth",TEXTURE_PIXEL_HEIGHT:"u_texturePixelHeight",TEXTURE_RESOLUTION:"u_textureResolution",TEXTURE_ORIGIN_X:"u_textureOriginX",TEXTURE_ORIGIN_Y:"u_textureOriginY"},wm={TEXTURE_COORD:"a_textureCoord"},Sm=[{name:wm.TEXTURE_COORD,size:2,type:pp.FLOAT}];var Em=class extends xm{constructor(t,e){super(t,e),this.program_,this.vertexShader_=e.vertexShader,this.fragmentShader_=e.fragmentShader,this.indices_=new lp(bf,Rf),this.indices_.fromArray([0,1,3,1,2,3]),this.paletteTextures_=e.paletteTextures||[]}reset(t){super.reset(t),this.vertexShader_=t.vertexShader,this.fragmentShader_=t.fragmentShader,this.paletteTextures_=t.paletteTextures||[],this.helper&&(this.program_=this.helper.getProgram(this.fragmentShader_,this.vertexShader_))}afterHelperCreated(){this.program_=this.helper.getProgram(this.fragmentShader_,this.vertexShader_),this.helper.flushBufferData(this.indices_)}createTileRepresentation(t){return new lm(t)}beforeTilesRender(t,e){super.beforeTilesRender(t,e),this.helper.useProgram(this.program_,t)}renderTile(t,e,i,n,r,s,o,a,l,h,c){const u=this.helper.getGL();this.helper.bindBuffer(t.coords),this.helper.bindBuffer(this.indices_),this.helper.enableAttributes(Sm);let d=0;for(;d0&&(x=a,Pe(x,n,x)),this.helper.setUniformFloatVec4(vm.RENDER_EXTENT,x),this.helper.setUniformFloatValue(vm.RESOLUTION,g.resolution),this.helper.setUniformFloatValue(vm.ZOOM,g.zoom),this.helper.setUniformFloatValue(vm.TEXTURE_PIXEL_WIDTH,f),this.helper.setUniformFloatValue(vm.TEXTURE_PIXEL_HEIGHT,p),this.helper.setUniformFloatValue(vm.TEXTURE_RESOLUTION,r),this.helper.setUniformFloatValue(vm.TEXTURE_ORIGIN_X,o[0]+_*s[0]*r-h*r),this.helper.setUniformFloatValue(vm.TEXTURE_ORIGIN_Y,o[1]-y*s[1]*r+h*r),this.helper.drawElements(0,this.indices_.getSize())}getData(t){if(!this.helper.getGL())return null;const e=this.frameState;if(!e)return null;const i=this.getLayer(),n=Bt(e.pixelToCoordinateTransform,t.slice()),r=e.viewState,s=i.getExtent();if(s&&!ie(wn(s,r.projection),n))return null;const o=i.getSources(Jt([n]),r.resolution);let a,l,h;for(a=o.length-1;a>=0;--a)if(l=o[a],"ready"===l.getState()){if(h=l.getTileGridForProjection(r.projection),l.getWrapX())break;const t=h.getExtent();if(!t||ie(t,n))break}if(a<0)return null;const c=this.tileRepresentationCache;for(let t=h.getZForResolution(r.resolution);t>=h.getMinZoom();--t){const e=h.getTileCoordForCoordAndZ(n,t),i=ym(l,e);if(!c.containsKey(i))continue;const r=c.get(i),s=r.tile;if((s instanceof gu||s instanceof Cd)&&s.getState()===Q)return null;if(!r.loaded)continue;const o=h.getOrigin(t),a=co(h.getTileSize(t)),u=h.getResolution(t),d=(n[0]-o[0])/u-e[1]*a[0],g=(o[1]-n[1])/u-e[2]*a[1];return r.getPixelData(d,g)}return null}disposeInternal(){const t=this.helper;if(t){t.getGL().deleteProgram(this.program_),delete this.program_,t.deleteBuffer(this.indices_)}super.disposeInternal(),delete this.indices_}};function Tm(t){const e=t.toString();return e.includes(".")?e:e+".0"}function Cm(t){if(t.length<2||t.length>4)throw new Error("`formatArray` can only output `vec2`, `vec3` or `vec4` arrays.");return`vec${t.length}(${t.map(Tm).join(", ")})`}function bm(t){const e=Mo(t),i=e.length>3?e[3]:1;return Cm([e[0]/255*i,e[1]/255*i,e[2]/255*i,i])}const Rm={};let Pm=0;function Im(t){return t in Rm||(Rm[t]=Pm++),Rm[t]}function Lm(t){return Tm(Im(t))}function Fm(t){return"u_var_"+t}function Mm(){return{inFragmentShader:!1,variables:{},properties:{},functions:{},bandCount:0,style:{}}}const Am="getBandValue",Om="u_paletteTextures";function Dm(t,e,i,n){const r=rl(t,i,e);if(tl(r.type,Ba))throw new Error("No matching type was found");if(!Qa(e,r.type)){const t=Ha(e),i=Ha(r.type);throw new Error(`Expected expression to be of type ${t}, got ${i}`)}return Gm(r,e,n)}function Nm(t){return(e,i,n)=>{const r=i.args.length,s=new Array(r);for(let t=0;t{const i=e.args[0].value;i in t.properties||(t.properties[i]={name:i,type:e.type});return(t.inFragmentShader?"v_prop_":"a_prop_")+i},[sl.GeometryType]:(t,e,i)=>{const n="geometryType";n in t.properties||(t.properties[n]={name:n,type:Wa,evaluator:t=>gl(t.getGeometry())});return(t.inFragmentShader?"v_prop_":"a_prop_")+n},[sl.Var]:(t,e)=>{const i=e.args[0].value;return i in t.variables||(t.variables[i]={name:i,type:e.type}),Fm(i)},[sl.Resolution]:()=>"u_resolution",[sl.Zoom]:()=>"u_zoom",[sl.Time]:()=>"u_time",[sl.Any]:Nm((t=>`(${t.join(" || ")})`)),[sl.All]:Nm((t=>`(${t.join(" && ")})`)),[sl.Not]:Nm((([t])=>`(!${t})`)),[sl.Equal]:Nm((([t,e])=>`(${t} == ${e})`)),[sl.NotEqual]:Nm((([t,e])=>`(${t} != ${e})`)),[sl.GreaterThan]:Nm((([t,e])=>`(${t} > ${e})`)),[sl.GreaterThanOrEqualTo]:Nm((([t,e])=>`(${t} >= ${e})`)),[sl.LessThan]:Nm((([t,e])=>`(${t} < ${e})`)),[sl.LessThanOrEqualTo]:Nm((([t,e])=>`(${t} <= ${e})`)),[sl.Multiply]:Nm((t=>`(${t.join(" * ")})`)),[sl.Divide]:Nm((([t,e])=>`(${t} / ${e})`)),[sl.Add]:Nm((t=>`(${t.join(" + ")})`)),[sl.Subtract]:Nm((([t,e])=>`(${t} - ${e})`)),[sl.Clamp]:Nm((([t,e,i])=>`clamp(${t}, ${e}, ${i})`)),[sl.Mod]:Nm((([t,e])=>`mod(${t}, ${e})`)),[sl.Pow]:Nm((([t,e])=>`pow(${t}, ${e})`)),[sl.Abs]:Nm((([t])=>`abs(${t})`)),[sl.Floor]:Nm((([t])=>`floor(${t})`)),[sl.Ceil]:Nm((([t])=>`ceil(${t})`)),[sl.Round]:Nm((([t])=>`floor(${t} + 0.5)`)),[sl.Sin]:Nm((([t])=>`sin(${t})`)),[sl.Cos]:Nm((([t])=>`cos(${t})`)),[sl.Atan]:Nm((([t,e])=>void 0!==e?`atan(${t}, ${e})`:`atan(${t})`)),[sl.Sqrt]:Nm((([t])=>`sqrt(${t})`)),[sl.Match]:Nm((t=>{const e=t[0],i=t[t.length-1];let n=null;for(let r=t.length-3;r>=1;r-=2){n=`(${e} == ${t[r]} ? ${t[r+1]} : ${n||i})`}return n})),[sl.Between]:Nm((([t,e,i])=>`(${t} >= ${e} && ${t} <= ${i})`)),[sl.Interpolate]:Nm((([t,e,...i])=>{let n="";for(let r=0;r{const e=t[t.length-1];let i=null;for(let n=t.length-3;n>=0;n-=2){i=`(${t[n]} ? ${t[n+1]} : ${i||e})`}return i})),[sl.In]:Nm((([t,...e],i)=>{const n=function(t,e){return`operator_${t}_${Object.keys(e.functions).length}`}("in",i),r=[];for(let t=0;t`vec${t.length}(${t.join(", ")})`)),[sl.Color]:Nm((t=>{if(1===t.length)return`vec4(vec3(${t[0]} / 255.0), 1.0)`;if(2===t.length)return`(${t[1]} * vec4(vec3(${t[0]} / 255.0), 1.0))`;const e=t.slice(0,3).map((t=>`${t} / 255.0`));if(3===t.length)return`vec4(${e.join(", ")}, 1.0)`;return`(${t[3]} * vec4(${e.join(", ")}, 1.0))`})),[sl.Band]:Nm((([t,e,i],n)=>{if(!(Am in n.functions)){let t="";const e=n.bandCount||1;for(let i=0;i{const[i,...n]=e.args,r=n.length,s=new Uint8Array(4*r);for(let t=0;t0)return Tm(t.value);if((t.type&Xa)>0)return t.value.toString();if((t.type&Wa)>0)return Lm(t.value.toString());if((t.type&Za)>0)return bm(t.value);if((t.type&$a)>0)return Cm(t.value);throw new Error(`Unexpected expression ${t.value} (expected type ${Ha(e)})`)}function jm(){return{"fill-color":"rgba(255,255,255,0.4)","stroke-color":"#3399CC","stroke-width":1.25,"circle-radius":5,"circle-fill-color":"rgba(255,255,255,0.4)","circle-stroke-width":1.25,"circle-stroke-color":"#3399CC"}}const zm="#ifdef GL_FRAGMENT_PRECISION_HIGH\nprecision highp float;\n#else\nprecision mediump float;\n#endif\nuniform mat4 u_projectionMatrix;\nuniform mat4 u_screenToWorldMatrix;\nuniform vec2 u_viewportSizePx;\nuniform float u_pixelRatio;\nuniform float u_globalAlpha;\nuniform float u_time;\nuniform float u_zoom;\nuniform float u_resolution;\nuniform float u_rotation;\nuniform vec4 u_renderExtent;\nuniform vec2 u_patternOrigin;\nuniform float u_depth;\nuniform mediump int u_hitDetection;\n\nconst float PI = 3.141592653589793238;\nconst float TWO_PI = 2.0 * PI;\n\n// this used to produce an alpha-premultiplied color from a texture\nvec4 samplePremultiplied(sampler2D sampler, vec2 texCoord) {\n vec4 color = texture2D(sampler, texCoord);\n return vec4(color.rgb * color.a, color.a);\n}\n",Um={"fill-color":"rgba(255,255,255,0.4)","stroke-color":"#3399CC","stroke-width":1.25,"circle-radius":5,"circle-fill-color":"rgba(255,255,255,0.4)","circle-stroke-width":1.25,"circle-stroke-color":"#3399CC"};class Bm{constructor(){this.uniforms_=[],this.attributes_=[],this.varyings_=[],this.hasSymbol_=!1,this.symbolSizeExpression_=`vec2(${Tm(Um["circle-radius"])} + ${Tm(.5*Um["circle-stroke-width"])})`,this.symbolRotationExpression_="0.0",this.symbolOffsetExpression_="vec2(0.0)",this.symbolColorExpression_=bm(Um["circle-fill-color"]),this.texCoordExpression_="vec4(0.0, 0.0, 1.0, 1.0)",this.discardExpression_="false",this.symbolRotateWithView_=!1,this.hasStroke_=!1,this.strokeWidthExpression_=Tm(Um["stroke-width"]),this.strokeColorExpression_=bm(Um["stroke-color"]),this.strokeOffsetExpression_="0.",this.strokeCapExpression_=Lm("round"),this.strokeJoinExpression_=Lm("round"),this.strokeMiterLimitExpression_="10.",this.strokeDistanceFieldExpression_="-1000.",this.hasFill_=!1,this.fillColorExpression_=bm(Um["fill-color"]),this.vertexShaderFunctions_=[],this.fragmentShaderFunctions_=[]}addUniform(t){return this.uniforms_.push(t),this}addAttribute(t){return this.attributes_.push(t),this}addVarying(t,e,i){return this.varyings_.push({name:t,type:e,expression:i}),this}setSymbolSizeExpression(t){return this.hasSymbol_=!0,this.symbolSizeExpression_=t,this}getSymbolSizeExpression(){return this.symbolSizeExpression_}setSymbolRotationExpression(t){return this.symbolRotationExpression_=t,this}setSymbolOffsetExpression(t){return this.symbolOffsetExpression_=t,this}getSymbolOffsetExpression(){return this.symbolOffsetExpression_}setSymbolColorExpression(t){return this.hasSymbol_=!0,this.symbolColorExpression_=t,this}getSymbolColorExpression(){return this.symbolColorExpression_}setTextureCoordinateExpression(t){return this.texCoordExpression_=t,this}setFragmentDiscardExpression(t){return this.discardExpression_=t,this}getFragmentDiscardExpression(){return this.discardExpression_}setSymbolRotateWithView(t){return this.symbolRotateWithView_=t,this}setStrokeWidthExpression(t){return this.hasStroke_=!0,this.strokeWidthExpression_=t,this}setStrokeColorExpression(t){return this.hasStroke_=!0,this.strokeColorExpression_=t,this}getStrokeColorExpression(){return this.strokeColorExpression_}setStrokeOffsetExpression(t){return this.strokeOffsetExpression_=t,this}setStrokeCapExpression(t){return this.strokeCapExpression_=t,this}setStrokeJoinExpression(t){return this.strokeJoinExpression_=t,this}setStrokeMiterLimitExpression(t){return this.strokeMiterLimitExpression_=t,this}setStrokeDistanceFieldExpression(t){return this.strokeDistanceFieldExpression_=t,this}setFillColorExpression(t){return this.hasFill_=!0,this.fillColorExpression_=t,this}getFillColorExpression(){return this.fillColorExpression_}addVertexShaderFunction(t){this.vertexShaderFunctions_.includes(t)||this.vertexShaderFunctions_.push(t)}addFragmentShaderFunction(t){this.fragmentShaderFunctions_.includes(t)||this.fragmentShaderFunctions_.push(t)}getSymbolVertexShader(){return this.hasSymbol_?`${zm}\n${this.uniforms_.map((function(t){return"uniform "+t+";"})).join("\n")}\nattribute vec2 a_position;\nattribute float a_index;\nattribute vec4 a_prop_hitColor;\n${this.attributes_.map((function(t){return"attribute "+t+";"})).join("\n")}\nvarying vec2 v_texCoord;\nvarying vec2 v_quadCoord;\nvarying vec4 v_prop_hitColor;\nvarying vec2 v_centerPx;\nvarying float v_angle;\nvarying vec2 v_quadSizePx;\n${this.varyings_.map((function(t){return"varying "+t.type+" "+t.name+";"})).join("\n")}\n${this.vertexShaderFunctions_.join("\n")}\nvec2 pxToScreen(vec2 coordPx) {\n vec2 scaled = coordPx / u_viewportSizePx / 0.5;\n return scaled;\n}\n\nvec2 screenToPx(vec2 coordScreen) {\n return (coordScreen * 0.5 + 0.5) * u_viewportSizePx;\n}\n\nvoid main(void) {\n v_quadSizePx = ${this.symbolSizeExpression_};\n vec2 halfSizePx = v_quadSizePx * 0.5;\n vec2 centerOffsetPx = ${this.symbolOffsetExpression_};\n vec2 offsetPx = centerOffsetPx;\n if (a_index == 0.0) {\n offsetPx -= halfSizePx;\n } else if (a_index == 1.0) {\n offsetPx += halfSizePx * vec2(1., -1.);\n } else if (a_index == 2.0) {\n offsetPx += halfSizePx;\n } else {\n offsetPx += halfSizePx * vec2(-1., 1.);\n }\n float angle = ${this.symbolRotationExpression_};\n ${this.symbolRotateWithView_?"angle += u_rotation;":""}\n float c = cos(-angle);\n float s = sin(-angle);\n offsetPx = vec2(c * offsetPx.x - s * offsetPx.y, s * offsetPx.x + c * offsetPx.y);\n vec4 center = u_projectionMatrix * vec4(a_position, 0.0, 1.0);\n gl_Position = center + vec4(pxToScreen(offsetPx), u_depth, 0.);\n vec4 texCoord = ${this.texCoordExpression_};\n float u = a_index == 0.0 || a_index == 3.0 ? texCoord.s : texCoord.p;\n float v = a_index == 2.0 || a_index == 3.0 ? texCoord.t : texCoord.q;\n v_texCoord = vec2(u, v);\n v_prop_hitColor = a_prop_hitColor;\n v_angle = angle;\n c = cos(-v_angle);\n s = sin(-v_angle);\n centerOffsetPx = vec2(c * centerOffsetPx.x - s * centerOffsetPx.y, s * centerOffsetPx.x + c * centerOffsetPx.y); \n v_centerPx = screenToPx(center.xy) + centerOffsetPx;\n${this.varyings_.map((function(t){return" "+t.name+" = "+t.expression+";"})).join("\n")}\n}`:null}getSymbolFragmentShader(){return this.hasSymbol_?`${zm}\n${this.uniforms_.map((function(t){return"uniform "+t+";"})).join("\n")}\nvarying vec2 v_texCoord;\nvarying vec4 v_prop_hitColor;\nvarying vec2 v_centerPx;\nvarying float v_angle;\nvarying vec2 v_quadSizePx;\n${this.varyings_.map((function(t){return"varying "+t.type+" "+t.name+";"})).join("\n")}\n${this.fragmentShaderFunctions_.join("\n")}\n\nvoid main(void) {\n if (${this.discardExpression_}) { discard; }\n vec2 coordsPx = gl_FragCoord.xy / u_pixelRatio - v_centerPx; // relative to center\n float c = cos(v_angle);\n float s = sin(v_angle);\n coordsPx = vec2(c * coordsPx.x - s * coordsPx.y, s * coordsPx.x + c * coordsPx.y);\n gl_FragColor = ${this.symbolColorExpression_};\n if (u_hitDetection > 0) {\n if (gl_FragColor.a < 0.05) { discard; };\n gl_FragColor = v_prop_hitColor;\n }\n}`:null}getStrokeVertexShader(){return this.hasStroke_?`${zm}\n${this.uniforms_.map((function(t){return"uniform "+t+";"})).join("\n")}\nattribute vec2 a_position;\nattribute float a_index;\nattribute vec2 a_segmentStart;\nattribute vec2 a_segmentEnd;\nattribute float a_parameters;\nattribute float a_distance;\nattribute vec2 a_joinAngles;\nattribute vec4 a_prop_hitColor;\n${this.attributes_.map((function(t){return"attribute "+t+";"})).join("\n")}\nvarying vec2 v_segmentStart;\nvarying vec2 v_segmentEnd;\nvarying float v_angleStart;\nvarying float v_angleEnd;\nvarying float v_width;\nvarying vec4 v_prop_hitColor;\nvarying float v_distanceOffsetPx;\n${this.varyings_.map((function(t){return"varying "+t.type+" "+t.name+";"})).join("\n")}\n${this.vertexShaderFunctions_.join("\n")}\nvec2 worldToPx(vec2 worldPos) {\n vec4 screenPos = u_projectionMatrix * vec4(worldPos, 0.0, 1.0);\n return (0.5 * screenPos.xy + 0.5) * u_viewportSizePx;\n}\n\nvec4 pxToScreen(vec2 pxPos) {\n vec2 screenPos = 2.0 * pxPos / u_viewportSizePx - 1.0;\n return vec4(screenPos, u_depth, 1.0);\n}\n\nbool isCap(float joinAngle) {\n return joinAngle < -0.1;\n}\n\nvec2 getJoinOffsetDirection(vec2 normalPx, float joinAngle) {\n float halfAngle = joinAngle / 2.0;\n float c = cos(halfAngle);\n float s = sin(halfAngle);\n vec2 angleBisectorNormal = vec2(s * normalPx.x + c * normalPx.y, -c * normalPx.x + s * normalPx.y);\n float length = 1.0 / s;\n return angleBisectorNormal * length;\n}\n\nvec2 getOffsetPoint(vec2 point, vec2 normal, float joinAngle, float offsetPx) {\n // if on a cap or the join angle is too high, offset the line along the segment normal\n if (cos(joinAngle) > 0.998 || isCap(joinAngle)) {\n return point - normal * offsetPx;\n }\n // offset is applied along the inverted normal (positive offset goes "right" relative to line direction)\n return point - getJoinOffsetDirection(normal, joinAngle) * offsetPx;\n}\n\nvoid main(void) {\n v_angleStart = a_joinAngles.x;\n v_angleEnd = a_joinAngles.y;\n float vertexNumber = floor(abs(a_parameters) / 10000. + 0.5);\n // we're reading the fractional part while keeping the sign (so -4.12 gives -0.12, 3.45 gives 0.45)\n float angleTangentSum = fract(abs(a_parameters) / 10000.) * 10000. * sign(a_parameters);\n\n float lineWidth = ${this.strokeWidthExpression_};\n float lineOffsetPx = ${this.strokeOffsetExpression_};\n\n // compute segment start/end in px with offset\n vec2 segmentStartPx = worldToPx(a_segmentStart);\n vec2 segmentEndPx = worldToPx(a_segmentEnd);\n vec2 tangentPx = normalize(segmentEndPx - segmentStartPx);\n vec2 normalPx = vec2(-tangentPx.y, tangentPx.x);\n segmentStartPx = getOffsetPoint(segmentStartPx, normalPx, v_angleStart, lineOffsetPx),\n segmentEndPx = getOffsetPoint(segmentEndPx, normalPx, v_angleEnd, lineOffsetPx);\n \n // compute current vertex position\n float normalDir = vertexNumber < 0.5 || (vertexNumber > 1.5 && vertexNumber < 2.5) ? 1.0 : -1.0;\n float tangentDir = vertexNumber < 1.5 ? 1.0 : -1.0;\n float angle = vertexNumber < 1.5 ? v_angleStart : v_angleEnd;\n vec2 joinDirection;\n vec2 positionPx = vertexNumber < 1.5 ? segmentStartPx : segmentEndPx;\n // if angle is too high, do not make a proper join\n if (cos(angle) > 0.985 || isCap(angle)) {\n joinDirection = normalPx * normalDir - tangentPx * tangentDir;\n } else {\n joinDirection = getJoinOffsetDirection(normalPx * normalDir, angle);\n }\n positionPx = positionPx + joinDirection * (lineWidth * 0.5 + 1.); // adding 1 pixel for antialiasing\n gl_Position = pxToScreen(positionPx);\n\n v_segmentStart = segmentStartPx;\n v_segmentEnd = segmentEndPx;\n v_width = lineWidth;\n v_prop_hitColor = a_prop_hitColor;\n v_distanceOffsetPx = a_distance / u_resolution - (lineOffsetPx * angleTangentSum);\n${this.varyings_.map((function(t){return" "+t.name+" = "+t.expression+";"})).join("\n")}\n}`:null}getStrokeFragmentShader(){return this.hasStroke_?`${zm}\n${this.uniforms_.map((function(t){return"uniform "+t+";"})).join("\n")}\nvarying vec2 v_segmentStart;\nvarying vec2 v_segmentEnd;\nvarying float v_angleStart;\nvarying float v_angleEnd;\nvarying float v_width;\nvarying vec4 v_prop_hitColor;\nvarying float v_distanceOffsetPx;\n${this.varyings_.map((function(t){return"varying "+t.type+" "+t.name+";"})).join("\n")}\n${this.fragmentShaderFunctions_.join("\n")}\n\nvec2 pxToWorld(vec2 pxPos) {\n vec2 screenPos = 2.0 * pxPos / u_viewportSizePx - 1.0;\n return (u_screenToWorldMatrix * vec4(screenPos, 0.0, 1.0)).xy;\n}\n\nbool isCap(float joinAngle) {\n return joinAngle < -0.1;\n}\n\nfloat segmentDistanceField(vec2 point, vec2 start, vec2 end, float width) {\n vec2 tangent = normalize(end - start);\n vec2 normal = vec2(-tangent.y, tangent.x);\n vec2 startToPoint = point - start;\n return abs(dot(startToPoint, normal)) - width * 0.5;\n}\n\nfloat buttCapDistanceField(vec2 point, vec2 start, vec2 end) {\n vec2 startToPoint = point - start;\n vec2 tangent = normalize(end - start);\n return dot(startToPoint, -tangent);\n}\n\nfloat squareCapDistanceField(vec2 point, vec2 start, vec2 end, float width) {\n return buttCapDistanceField(point, start, end) - width * 0.5;\n}\n\nfloat roundCapDistanceField(vec2 point, vec2 start, vec2 end, float width) {\n float onSegment = max(0., 1000. * dot(point - start, end - start)); // this is very high when inside the segment\n return length(point - start) - width * 0.5 - onSegment;\n}\n\nfloat roundJoinDistanceField(vec2 point, vec2 start, vec2 end, float width) {\n return roundCapDistanceField(point, start, end, width);\n}\n\nfloat bevelJoinField(vec2 point, vec2 start, vec2 end, float width, float joinAngle) {\n vec2 startToPoint = point - start;\n vec2 tangent = normalize(end - start);\n float c = cos(joinAngle * 0.5);\n float s = sin(joinAngle * 0.5);\n float direction = -sign(sin(joinAngle));\n vec2 bisector = vec2(c * tangent.x - s * tangent.y, s * tangent.x + c * tangent.y);\n float radius = width * 0.5 * s;\n return dot(startToPoint, bisector * direction) - radius;\n}\n\nfloat miterJoinDistanceField(vec2 point, vec2 start, vec2 end, float width, float joinAngle) {\n if (cos(joinAngle) > 0.985) { // avoid risking a division by zero\n return bevelJoinField(point, start, end, width, joinAngle);\n }\n float miterLength = 1. / sin(joinAngle * 0.5);\n float miterLimit = ${this.strokeMiterLimitExpression_};\n if (miterLength > miterLimit) {\n return bevelJoinField(point, start, end, width, joinAngle);\n }\n return -1000.;\n}\n\nfloat capDistanceField(vec2 point, vec2 start, vec2 end, float width, float capType) {\n if (capType == ${Lm("butt")}) {\n return buttCapDistanceField(point, start, end);\n } else if (capType == ${Lm("square")}) {\n return squareCapDistanceField(point, start, end, width);\n }\n return roundCapDistanceField(point, start, end, width);\n}\n\nfloat joinDistanceField(vec2 point, vec2 start, vec2 end, float width, float joinAngle, float joinType) {\n if (joinType == ${Lm("bevel")}) {\n return bevelJoinField(point, start, end, width, joinAngle);\n } else if (joinType == ${Lm("miter")}) {\n return miterJoinDistanceField(point, start, end, width, joinAngle);\n }\n return roundJoinDistanceField(point, start, end, width);\n}\n\nfloat computeSegmentPointDistance(vec2 point, vec2 start, vec2 end, float width, float joinAngle, float capType, float joinType) {\n if (isCap(joinAngle)) {\n return capDistanceField(point, start, end, width, capType);\n }\n return joinDistanceField(point, start, end, width, joinAngle, joinType);\n}\n\nvoid main(void) {\n vec2 currentPoint = gl_FragCoord.xy / u_pixelRatio;\n #ifdef GL_FRAGMENT_PRECISION_HIGH\n vec2 worldPos = pxToWorld(currentPoint);\n if (\n abs(u_renderExtent[0] - u_renderExtent[2]) > 0.0 && (\n worldPos[0] < u_renderExtent[0] ||\n worldPos[1] < u_renderExtent[1] ||\n worldPos[0] > u_renderExtent[2] ||\n worldPos[1] > u_renderExtent[3]\n )\n ) {\n discard;\n }\n #endif\n if (${this.discardExpression_}) { discard; }\n\n float segmentLength = length(v_segmentEnd - v_segmentStart);\n vec2 segmentTangent = (v_segmentEnd - v_segmentStart) / segmentLength;\n vec2 segmentNormal = vec2(-segmentTangent.y, segmentTangent.x);\n vec2 startToPoint = currentPoint - v_segmentStart;\n float currentLengthPx = max(0., min(dot(segmentTangent, startToPoint), segmentLength)) + v_distanceOffsetPx; \n float currentRadiusPx = abs(dot(segmentNormal, startToPoint));\n float currentRadiusRatio = dot(segmentNormal, startToPoint) * 2. / v_width;\n vec4 color = ${this.strokeColorExpression_} * u_globalAlpha;\n float capType = ${this.strokeCapExpression_};\n float joinType = ${this.strokeJoinExpression_};\n float segmentStartDistance = computeSegmentPointDistance(currentPoint, v_segmentStart, v_segmentEnd, v_width, v_angleStart, capType, joinType);\n float segmentEndDistance = computeSegmentPointDistance(currentPoint, v_segmentEnd, v_segmentStart, v_width, v_angleEnd, capType, joinType);\n float distance = max(\n segmentDistanceField(currentPoint, v_segmentStart, v_segmentEnd, v_width),\n max(segmentStartDistance, segmentEndDistance)\n );\n distance = max(distance, ${this.strokeDistanceFieldExpression_});\n gl_FragColor = color * smoothstep(0.5, -0.5, distance);\n if (u_hitDetection > 0) {\n if (gl_FragColor.a < 0.1) { discard; };\n gl_FragColor = v_prop_hitColor;\n }\n}`:null}getFillVertexShader(){return this.hasFill_?`${zm}\n${this.uniforms_.map((function(t){return"uniform "+t+";"})).join("\n")}\nattribute vec2 a_position;\nattribute vec4 a_prop_hitColor;\n${this.attributes_.map((function(t){return"attribute "+t+";"})).join("\n")}\nvarying vec4 v_prop_hitColor;\n${this.varyings_.map((function(t){return"varying "+t.type+" "+t.name+";"})).join("\n")}\n${this.vertexShaderFunctions_.join("\n")}\nvoid main(void) {\n gl_Position = u_projectionMatrix * vec4(a_position, u_depth, 1.0);\n v_prop_hitColor = a_prop_hitColor;\n${this.varyings_.map((function(t){return" "+t.name+" = "+t.expression+";"})).join("\n")}\n}`:null}getFillFragmentShader(){return this.hasFill_?`${zm}\n${this.uniforms_.map((function(t){return"uniform "+t+";"})).join("\n")}\nvarying vec4 v_prop_hitColor;\n${this.varyings_.map((function(t){return"varying "+t.type+" "+t.name+";"})).join("\n")}\n${this.fragmentShaderFunctions_.join("\n")}\nvec2 pxToWorld(vec2 pxPos) {\n vec2 screenPos = 2.0 * pxPos / u_viewportSizePx - 1.0;\n return (u_screenToWorldMatrix * vec4(screenPos, 0.0, 1.0)).xy;\n}\n\nvec2 worldToPx(vec2 worldPos) {\n vec4 screenPos = u_projectionMatrix * vec4(worldPos, 0.0, 1.0);\n return (0.5 * screenPos.xy + 0.5) * u_viewportSizePx;\n}\n\nvoid main(void) {\n vec2 pxPos = gl_FragCoord.xy / u_pixelRatio;\n vec2 pxOrigin = worldToPx(u_patternOrigin);\n #ifdef GL_FRAGMENT_PRECISION_HIGH\n vec2 worldPos = pxToWorld(pxPos);\n if (\n abs(u_renderExtent[0] - u_renderExtent[2]) > 0.0 && (\n worldPos[0] < u_renderExtent[0] ||\n worldPos[1] < u_renderExtent[1] ||\n worldPos[0] > u_renderExtent[2] ||\n worldPos[1] > u_renderExtent[3]\n )\n ) {\n discard;\n }\n #endif\n if (${this.discardExpression_}) { discard; }\n gl_FragColor = ${this.fillColorExpression_} * u_globalAlpha;\n if (u_hitDetection > 0) {\n if (gl_FragColor.a < 0.1) { discard; };\n gl_FragColor = v_prop_hitColor;\n }\n}`:null}}function Xm(t,e){return 2===e?t:t.filter(((t,i)=>i%e<2))}var Vm=class{constructor(){this.globalCounter_=0,this.refToFeature_=new Map,this.uidToRef_=new Map,this.freeGlobalRef_=[],this.polygonBatch={entries:{},geometriesCount:0,verticesCount:0,ringsCount:0},this.pointBatch={entries:{},geometriesCount:0},this.lineStringBatch={entries:{},geometriesCount:0,verticesCount:0}}addFeatures(t,e){for(let i=0;i0?t[i-1]:null,l=a?a[a.length-1]:0,h=o[o.length-1];o=l>0?o.map((t=>t-l)):o,this.addCoordinates_("Polygon",e.slice(l,h),o,n,r,s)}break}case"MultiLineString":{const t=i;for(let i=0,o=t.length;i0?t[i-1]:0;this.addCoordinates_("LineString",e.slice(o,t[i]),null,n,r,s)}break}case"MultiPoint":for(let t=0,i=e.length;t1)return void this.addCoordinates_("MultiPolygon",e,i,n,r,s)}this.polygonBatch.entries[r]||(this.polygonBatch.entries[r]=this.addRefToEntry_(r,{feature:n,flatCoordss:[],verticesCount:0,ringsCount:0,ringsVerticesCounts:[]})),o=e.length/s;const a=i.length,l=i.map(((t,e,i)=>e>0?(t-i[e-1])/s:t/s));this.polygonBatch.verticesCount+=o,this.polygonBatch.ringsCount+=a,this.polygonBatch.geometriesCount++,this.polygonBatch.entries[r].flatCoordss.push(Xm(e,s)),this.polygonBatch.entries[r].ringsVerticesCounts.push(l),this.polygonBatch.entries[r].verticesCount+=o,this.polygonBatch.entries[r].ringsCount+=a;for(let i=0,o=t.length;i0?t[i-1]:0;this.addCoordinates_("LinearRing",e.slice(o,t[i]),null,n,r,s)}break}case"Point":this.pointBatch.entries[r]||(this.pointBatch.entries[r]=this.addRefToEntry_(r,{feature:n,flatCoordss:[]})),this.pointBatch.geometriesCount++,this.pointBatch.entries[r].flatCoordss.push(e);break;case"LineString":case"LinearRing":this.lineStringBatch.entries[r]||(this.lineStringBatch.entries[r]=this.addRefToEntry_(r,{feature:n,flatCoordss:[],verticesCount:0})),o=e.length/s,this.lineStringBatch.verticesCount+=o,this.lineStringBatch.geometriesCount++,this.lineStringBatch.entries[r].flatCoordss.push(Xm(e,s)),this.lineStringBatch.entries[r].verticesCount+=o}}addRefToEntry_(t,e){const i=this.uidToRef_.get(t),n=i||this.freeGlobalRef_.pop()||++this.globalCounter_;return e.ref=n,i||(this.refToFeature_.set(n,e.feature),this.uidToRef_.set(t,n)),e}returnRef_(t,e){if(!t)throw new Error("This feature has no ref: "+e);this.refToFeature_.delete(t),this.uidToRef_.delete(e),this.freeGlobalRef_.push(t)}changeFeature(t){this.removeFeature(t);const e=t.getGeometry();e&&this.addGeometry_(e,t)}removeFeature(t){let e;e=this.clearFeatureEntryInPointBatch_(t)||e,e=this.clearFeatureEntryInPolygonBatch_(t)||e,e=this.clearFeatureEntryInLineStringBatch_(t)||e,e&&this.returnRef_(e.ref,U(e.feature))}clear(){this.polygonBatch.entries={},this.polygonBatch.geometriesCount=0,this.polygonBatch.verticesCount=0,this.polygonBatch.ringsCount=0,this.lineStringBatch.entries={},this.lineStringBatch.geometriesCount=0,this.lineStringBatch.verticesCount=0,this.pointBatch.entries={},this.pointBatch.geometriesCount=0,this.globalCounter_=0,this.freeGlobalRef_=[],this.refToFeature_.clear(),this.uidToRef_.clear()}getFeatureFromRef(t){return this.refToFeature_.get(t)}};var Wm=class extends sp{constructor(t,e){super(t),this.batch_=new Vm,this.styleRenderers_=e,this.buffers=[],this.maskVertices=new lp(Cf,Rf),this.setTile(t.tile)}generateMaskBuffer_(){const t=this.tile.getSourceTiles()[0].extent;this.maskVertices.fromArray([t[0],t[1],t[2],t[1],t[2],t[3],t[0],t[3]]),this.helper_.flushBufferData(this.maskVertices)}uploadTile(){this.generateMaskBuffer_(),this.batch_.clear();const t=this.tile.getSourceTiles(),e=t.reduce(((t,e)=>t.concat(e.getFeatures())),[]);this.batch_.addFeatures(e);const i=Wt([1,0,0,1,0,0],-t[0].extent[0],-t[0].extent[1]),n=this.styleRenderers_.map(((t,e)=>t.generateBuffers(this.batch_,i).then((t=>{this.buffers[e]=t}))));Promise.all(n).then((()=>{this.setReady()}))}};function Zm(t,e,i){const n=nl();return n.style=t.style,Dm(e,i,n,t)}function $m(t){const e=Mo(t);return[256*e[0]+e[1],256*e[2]+Math.round(255*e[3])]}function Ym(t){return t===Za?2:t===$a?4:1}function qm(t){const e=Ym(t);return e>1?`vec${e}`:"float"}function Km(t){return(JSON.stringify(t).split("").reduce(((t,e)=>(t<<5)-t+e.charCodeAt(0)),0)>>>0).toString()}function Hm(t,e,i,n){if(`${n}radius`in t&&"icon-"!==n){let r=Zm(i,t[`${n}radius`],Va);if(`${n}radius2`in t){r=`max(${r}, ${Zm(i,t[`${n}radius2`],Va)})`}`${n}stroke-width`in t&&(r=`(${r} + ${Zm(i,t[`${n}stroke-width`],Va)} * 0.5)`),e.setSymbolSizeExpression(`vec2(${r} * 2. + 0.5)`)}if(`${n}scale`in t){const r=Zm(i,t[`${n}scale`],Va|$a);e.setSymbolSizeExpression(`${e.getSymbolSizeExpression()} * ${r}`)}`${n}displacement`in t&&e.setSymbolOffsetExpression(Zm(i,t[`${n}displacement`],$a)),`${n}rotation`in t&&e.setSymbolRotationExpression(Zm(i,t[`${n}rotation`],Va)),`${n}rotate-with-view`in t&&e.setSymbolRotateWithView(!!t[`${n}rotate-with-view`])}function Jm(t,e,i,n,r){let s="vec4(0.)";if(null!==e&&(s=e),null!==i&&null!==n){s=`mix(${i}, ${s}, ${`smoothstep(-${n} + 0.63, -${n} - 0.58, ${t})`})`}let o=`${s} * ${`(1.0 - smoothstep(-0.63, 0.58, ${t}))`}`;return null!==r&&(o=`${o} * ${r}`),o}function Qm(t,e,i,n,r){const s=new Image;let o;return s.crossOrigin=void 0===t[`${n}cross-origin`]?"anonymous":t[`${n}cross-origin`],s.src=t[`${n}src`],s.complete&&s.width&&s.height?o=Cm([s.width,s.height]):(i[`u_texture${r}_size`]=()=>s.complete?[s.width,s.height]:[0,0],e.addUniform(`vec2 u_texture${r}_size`),o=`u_texture${r}_size`),i[`u_texture${r}`]=s,e.addUniform(`sampler2D u_texture${r}`),o}function t_(t,e,i,n,r){let s=Zm(i,t[`${e}offset`],$a);if(`${e}offset-origin`in t)switch(t[`${e}offset-origin`]){case"top-right":s=`vec2(${n}.x, 0.) + ${r} * vec2(-1., 0.) + ${s} * vec2(-1., 1.)`;break;case"bottom-left":s=`vec2(0., ${n}.y) + ${r} * vec2(0., -1.) + ${s} * vec2(1., -1.)`;break;case"bottom-right":s=`${n} - ${r} - ${s}`}return s}function e_(t){const e={inFragmentShader:!1,properties:{},variables:{},functions:{},style:t},i={inFragmentShader:!0,variables:e.variables,properties:{},functions:{},style:t},n=new Bm,r={};if("icon-src"in t?function(t,e,i,n,r){let s="vec4(1.0)";"icon-color"in t&&(s=Zm(r,t["icon-color"],Za)),"icon-opacity"in t&&(s=`${s} * ${Zm(r,t["icon-opacity"],Va)}`);const o=Km(t["icon-src"]),a=Qm(t,e,i,"icon-",o);if(e.setSymbolColorExpression(`${s} * samplePremultiplied(u_texture${o}, v_texCoord)`).setSymbolSizeExpression(a),"icon-width"in t&&"icon-height"in t&&e.setSymbolSizeExpression(`vec2(${Zm(n,t["icon-width"],Va)}, ${Zm(n,t["icon-height"],Va)})`),"icon-offset"in t&&"icon-size"in t){const i=Zm(n,t["icon-size"],$a),r=e.getSymbolSizeExpression();e.setSymbolSizeExpression(i);const s=t_(t,"icon-",n,"v_quadSizePx",i);e.setTextureCoordinateExpression(`(vec4((${s}).xyxy) + vec4(0., 0., ${i})) / (${r}).xyxy`)}if(Hm(t,e,n,"icon-"),"icon-anchor"in t){const i=Zm(n,t["icon-anchor"],$a);let r,s="1.0";"icon-scale"in t&&(s=Zm(n,t["icon-scale"],Va|$a)),r="pixels"===t["icon-anchor-x-units"]&&"pixels"===t["icon-anchor-y-units"]?`${i} * ${s}`:"pixels"===t["icon-anchor-x-units"]?`${i} * vec2(vec2(${s}).x, v_quadSizePx.y)`:"pixels"===t["icon-anchor-y-units"]?`${i} * vec2(v_quadSizePx.x, vec2(${s}).x)`:`${i} * v_quadSizePx`;let o=`v_quadSizePx * vec2(0.5, -0.5) + ${r} * vec2(-1., 1.)`;if("icon-anchor-origin"in t)switch(t["icon-anchor-origin"]){case"top-right":o=`v_quadSizePx * -0.5 + ${r}`;break;case"bottom-left":o=`v_quadSizePx * 0.5 - ${r}`;break;case"bottom-right":o=`v_quadSizePx * vec2(-0.5, 0.5) + ${r} * vec2(1., -1.)`}e.setSymbolOffsetExpression(`${e.getSymbolOffsetExpression()} + ${o}`)}}(t,n,r,e,i):"shape-points"in t?function(t,e,i,n,r){r.functions.round="float round(float v) {\n return sign(v) * floor(abs(v) + 0.5);\n}",r.functions.starDistanceField="float starDistanceField(vec2 point, float numPoints, float radius, float radius2, float angle) {\n float startAngle = -PI * 0.5 + angle; // tip starts upwards and rotates clockwise with angle\n float c = cos(startAngle);\n float s = sin(startAngle);\n vec2 pointRotated = vec2(c * point.x - s * point.y, s * point.x + c * point.y);\n float alpha = TWO_PI / numPoints; // the angle of one sector\n float beta = atan(pointRotated.y, pointRotated.x);\n float gamma = round(beta / alpha) * alpha; // angle in sector\n c = cos(-gamma);\n s = sin(-gamma);\n vec2 inSector = vec2(c * pointRotated.x - s * pointRotated.y, abs(s * pointRotated.x + c * pointRotated.y));\n vec2 tipToPoint = inSector + vec2(-radius, 0.);\n vec2 edgeNormal = vec2(radius2 * sin(alpha * 0.5), -radius2 * cos(alpha * 0.5) + radius);\n return dot(normalize(edgeNormal), tipToPoint);\n}",r.functions.regularDistanceField="float regularDistanceField(vec2 point, float numPoints, float radius, float angle) {\n float startAngle = -PI * 0.5 + angle; // tip starts upwards and rotates clockwise with angle\n float c = cos(startAngle);\n float s = sin(startAngle);\n vec2 pointRotated = vec2(c * point.x - s * point.y, s * point.x + c * point.y);\n float alpha = TWO_PI / numPoints; // the angle of one sector\n float radiusIn = radius * cos(PI / numPoints);\n float beta = atan(pointRotated.y, pointRotated.x);\n float gamma = round((beta - alpha * 0.5) / alpha) * alpha + alpha * 0.5; // angle in sector from mid\n c = cos(-gamma);\n s = sin(-gamma);\n vec2 inSector = vec2(c * pointRotated.x - s * pointRotated.y, abs(s * pointRotated.x + c * pointRotated.y));\n return inSector.x - radiusIn;\n}",Hm(t,e,n,"shape-");let s=null;"shape-opacity"in t&&(s=Zm(r,t["shape-opacity"],Va));let o="coordsPx";"shape-scale"in t&&(o=`coordsPx / ${Zm(r,t["shape-scale"],Va|$a)}`);let a=null;"shape-fill-color"in t&&(a=Zm(r,t["shape-fill-color"],Za));let l=null;"shape-stroke-color"in t&&(l=Zm(r,t["shape-stroke-color"],Za));let h=null;"shape-stroke-width"in t&&(h=Zm(r,t["shape-stroke-width"],Va));const c=Zm(r,t["shape-points"],Va);let u,d="0.";"shape-angle"in t&&(d=Zm(r,t["shape-angle"],Va));let g=Zm(r,t["shape-radius"],Va);if(null!==h&&(g=`${g} + ${h} * 0.5`),"shape-radius2"in t){let e=Zm(r,t["shape-radius2"],Va);null!==h&&(e=`${e} + ${h} * 0.5`),u=`starDistanceField(${o}, ${c}, ${g}, ${e}, ${d})`}else u=`regularDistanceField(${o}, ${c}, ${g}, ${d})`;const f=Jm(u,a,l,h,s);e.setSymbolColorExpression(f)}(t,n,0,e,i):"circle-radius"in t&&function(t,e,i,n,r){r.functions.circleDistanceField="float circleDistanceField(vec2 point, float radius) {\n return length(point) - radius;\n}",Hm(t,e,n,"circle-");let s=null;"circle-opacity"in t&&(s=Zm(r,t["circle-opacity"],Va));let o="coordsPx";"circle-scale"in t&&(o=`coordsPx / ${Zm(r,t["circle-scale"],Va|$a)}`);let a=null;"circle-fill-color"in t&&(a=Zm(r,t["circle-fill-color"],Za));let l=null;"circle-stroke-color"in t&&(l=Zm(r,t["circle-stroke-color"],Za));let h=Zm(r,t["circle-radius"],Va),c=null;"circle-stroke-width"in t&&(c=Zm(r,t["circle-stroke-width"],Va),h=`(${h} + ${c} * 0.5)`);const u=Jm(`circleDistanceField(${o}, ${h})`,a,l,c,s);e.setSymbolColorExpression(u)}(t,n,0,e,i),function(t,e,i,n,r){if("stroke-color"in t&&e.setStrokeColorExpression(Zm(r,t["stroke-color"],Za)),"stroke-pattern-src"in t){const n=Km(t["stroke-pattern-src"]),s=Qm(t,e,i,"stroke-pattern-",n);let o=s,a="vec2(0.)";"stroke-pattern-offset"in t&&"stroke-pattern-size"in t&&(o=Zm(r,t["stroke-pattern-size"],$a),a=t_(t,"stroke-pattern-",r,s,o));let l="0.";"stroke-pattern-spacing"in t&&(l=Zm(r,t["stroke-pattern-spacing"],Va)),r.functions.sampleStrokePattern="vec4 sampleStrokePattern(sampler2D texture, vec2 textureSize, vec2 textureOffset, vec2 sampleSize, float spacingPx, float currentLengthPx, float currentRadiusRatio, float lineWidth) {\n float currentLengthScaled = currentLengthPx * sampleSize.y / lineWidth;\n float spacingScaled = spacingPx * sampleSize.y / lineWidth;\n float uCoordPx = mod(currentLengthScaled, (sampleSize.x + spacingScaled));\n // make sure that we're not sampling too close to the borders to avoid interpolation with outside pixels\n uCoordPx = clamp(uCoordPx, 0.5, sampleSize.x - 0.5);\n float vCoordPx = (-currentRadiusRatio * 0.5 + 0.5) * sampleSize.y;\n vec2 texCoord = (vec2(uCoordPx, vCoordPx) + textureOffset) / textureSize;\n return samplePremultiplied(texture, texCoord);\n}";const h=`u_texture${n}`;let c="1.";"stroke-color"in t&&(c=e.getStrokeColorExpression()),e.setStrokeColorExpression(`${c} * sampleStrokePattern(${h}, ${s}, ${a}, ${o}, ${l}, currentLengthPx, currentRadiusRatio, v_width)`)}if("stroke-width"in t&&e.setStrokeWidthExpression(Zm(n,t["stroke-width"],Va)),"stroke-offset"in t&&e.setStrokeOffsetExpression(Zm(n,t["stroke-offset"],Va)),"stroke-line-cap"in t&&e.setStrokeCapExpression(Zm(n,t["stroke-line-cap"],Wa)),"stroke-line-join"in t&&e.setStrokeJoinExpression(Zm(n,t["stroke-line-join"],Wa)),"stroke-miter-limit"in t&&e.setStrokeMiterLimitExpression(Zm(n,t["stroke-miter-limit"],Va)),"stroke-line-dash"in t){r.functions.getSingleDashDistance=`float getSingleDashDistance(float distance, float radius, float dashOffset, float dashLength, float dashLengthTotal, float capType) {\n float localDistance = mod(distance, dashLengthTotal);\n float distanceSegment = abs(localDistance - dashOffset - dashLength * 0.5) - dashLength * 0.5;\n distanceSegment = min(distanceSegment, dashLengthTotal - localDistance);\n if (capType == ${Lm("square")}) {\n distanceSegment -= v_width * 0.5;\n } else if (capType == ${Lm("round")}) {\n distanceSegment = min(distanceSegment, sqrt(distanceSegment * distanceSegment + radius * radius) - v_width * 0.5);\n }\n return distanceSegment;\n}`;let i=t["stroke-line-dash"].map((t=>Zm(r,t,Va)));i.length%2==1&&(i=[...i,...i]);let s="0.";"stroke-line-dash-offset"in t&&(s=Zm(n,t["stroke-line-dash-offset"],Va));const o=`dashDistanceField_${Km(t["stroke-line-dash"])}`,a=i.map(((t,e)=>`float dashLength${e} = ${t};`)),l=i.map(((t,e)=>`dashLength${e}`)).join(" + ");let h="0.",c=`getSingleDashDistance(distance, radius, ${h}, dashLength0, totalDashLength, capType)`;for(let t=2;tIm(t.variables[s.name]):s.type===Za?()=>$m([...Mo(t.variables[s.name]||"#eee")]):s.type===Xa?()=>t.variables[s.name]?1:0:()=>t.variables[s.name],r[o]=a})),Object.keys(i.properties).forEach((function(t){const r=i.properties[t];e.properties[t]||(e.properties[t]=r);let s=qm(r.type),o=`a_prop_${r.name}`;r.type===Za&&(s="vec4",o=`unpackColor(${o})`,n.addVertexShaderFunction("vec4 unpackColor(vec2 packedColor) {\n return fract(packedColor[1] / 256.0) * vec4(\n fract(floor(packedColor[0] / 256.0) / 256.0),\n fract(packedColor[0] / 256.0),\n fract(floor(packedColor[1] / 256.0) / 256.0),\n 1.0\n );\n}")),n.addVarying(`v_prop_${r.name}`,s,o)})),Object.keys(e.properties).forEach((function(t){const i=e.properties[t];n.addAttribute(`${qm(i.type)} a_prop_${i.name}`)}));const s=Object.keys(e.properties).map((function(t){const i=e.properties[t];let n;return n=i.evaluator?i.evaluator:i.type===Wa?t=>Im(t.get(i.name)):i.type===Za?t=>$m([...Mo(t.get(i.name)||"#eee")]):i.type===Xa?t=>t.get(i.name)?1:0:t=>t.get(i.name),{name:i.name,size:Ym(i.type),callback:n}}));for(const t in e.functions)n.addVertexShaderFunction(e.functions[t]);for(const t in i.functions)n.addFragmentShaderFunction(i.functions[t]);return{builder:n,attributes:s.reduce(((t,e)=>({...t,[e.name]:{callback:e.callback,size:e.size}})),{}),uniforms:r}}var i_=class{constructor(t){this.first_,this.last_,this.head_,this.circular_=void 0===t||t,this.length_=0}insertItem(t){const e={prev:void 0,next:void 0,data:t},i=this.head_;if(i){const t=i.next;e.prev=i,e.next=t,i.next=e,t&&(t.prev=e),i===this.last_&&(this.last_=e)}else this.first_=e,this.last_=e,this.circular_&&(e.next=e,e.prev=e);this.head_=e,this.length_++}removeItem(){const t=this.head_;if(t){const e=t.next,i=t.prev;e&&(e.prev=i),i&&(i.next=e),this.head_=e||i,this.first_===this.last_?(this.head_=void 0,this.first_=void 0,this.last_=void 0):this.first_===t?this.first_=this.head_:this.last_===t&&(this.last_=i?this.head_.prev:this.head_),this.length_--}}firstItem(){if(this.head_=this.first_,this.head_)return this.head_.data}lastItem(){if(this.head_=this.last_,this.head_)return this.head_.data}nextItem(){if(this.head_&&this.head_.next)return this.head_=this.head_.next,this.head_.data}getNextItem(){if(this.head_&&this.head_.next)return this.head_.next.data}prevItem(){if(this.head_&&this.head_.prev)return this.head_=this.head_.prev,this.head_.data}getPrevItem(){if(this.head_&&this.head_.prev)return this.head_.prev.data}getCurrItem(){if(this.head_)return this.head_.data}setFirstItem(){this.circular_&&this.head_&&(this.first_=this.head_,this.last_=this.head_.prev)}concat(t){if(t.head_){if(this.head_){const e=this.head_.next;this.head_.next=t.first_,t.first_.prev=this.head_,e.prev=t.last_,t.last_.next=e,this.length_+=t.length_}else this.head_=t.head_,this.first_=t.first_,this.last_=t.last_,this.length_=t.length_;t.head_=void 0,t.first_=void 0,t.last_=void 0,t.length_=0}}getLength(){return this.length_}};const n_="GENERATE_POLYGON_BUFFERS",r_="GENERATE_POINT_BUFFERS",s_="GENERATE_LINE_STRING_BUFFERS";function o_(){const t='const e="GENERATE_POLYGON_BUFFERS",t="GENERATE_POINT_BUFFERS",n="GENERATE_LINE_STRING_BUFFERS";function r(e,t){const n=t[0],r=t[1];return t[0]=e[0]*n+e[2]*r+e[4],t[1]=e[1]*n+e[3]*r+e[5],t}function x(e,t){const n=(r=t)[0]*r[3]-r[1]*r[2];var r;!function(e,t){if(!e)throw new Error(t)}(0!==n,"Transformation matrix cannot be inverted");const x=t[0],i=t[1],u=t[2],o=t[3],f=t[4],s=t[5];return e[0]=o/n,e[1]=-i/n,e[2]=-u/n,e[3]=x/n,e[4]=(u*s-o*f)/n,e[5]=-(x*s-i*f)/n,e}function i(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}new Array(6);var u={exports:{}};function o(e,t,n){n=n||2;var r,x,i,u,o,s,l,v=t&&t.length,h=v?t[0]*n:e.length,c=f(e,0,h,n,!0),g=[];if(!c||c.next===c.prev)return g;if(v&&(c=function(e,t,n,r){var x,i,u,o=[];for(x=0,i=t.length;x80*n){r=i=e[0],x=u=e[1];for(var b=n;bi&&(i=o),s>u&&(u=s);l=0!==(l=Math.max(i-r,u-x))?32767/l:0}return a(c,g,n,r,x,l,0),g}function f(e,t,n,r,x){var i,u;if(x===O(e,t,n,r)>0)for(i=t;i=t;i-=r)u=P(i,e[i],e[i+1],u);return u&&m(u,u.next)&&(B(u),u=u.next),u}function s(e,t){if(!e)return e;t||(t=e);var n,r=e;do{if(n=!1,r.steiner||!m(r,r.next)&&0!==w(r.prev,r,r.next))r=r.next;else{if(B(r),(r=t=r.prev)===r.next)break;n=!0}}while(n||r!==t);return t}function a(e,t,n,r,x,i,u){if(e){!u&&i&&function(e,t,n,r){var x=e;do{0===x.z&&(x.z=b(x.x,x.y,t,n,r)),x.prevZ=x.prev,x.nextZ=x.next,x=x.next}while(x!==e);x.prevZ.nextZ=null,x.prevZ=null,function(e){var t,n,r,x,i,u,o,f,s=1;do{for(n=e,e=null,i=null,u=0;n;){for(u++,r=n,o=0,t=0;t0||f>0&&r;)0!==o&&(0===f||!r||n.z<=r.z)?(x=n,n=n.nextZ,o--):(x=r,r=r.nextZ,f--),i?i.nextZ=x:e=x,x.prevZ=i,i=x;n=r}i.nextZ=null,s*=2}while(u>1)}(x)}(e,r,x,i);for(var o,f,p=e;e.prev!==e.next;)if(o=e.prev,f=e.next,i?v(e,r,x,i):l(e))t.push(o.i/n|0),t.push(e.i/n|0),t.push(f.i/n|0),B(e),e=f.next,p=f.next;else if((e=f)===p){u?1===u?a(e=h(s(e),t,n),t,n,r,x,i,2):2===u&&c(e,t,n,r,x,i):a(s(e),t,n,r,x,i,1);break}}}function l(e){var t=e.prev,n=e,r=e.next;if(w(t,n,r)>=0)return!1;for(var x=t.x,i=n.x,u=r.x,o=t.y,f=n.y,s=r.y,a=xi?x>u?x:u:i>u?i:u,h=o>f?o>s?o:s:f>s?f:s,c=r.next;c!==t;){if(c.x>=a&&c.x<=v&&c.y>=l&&c.y<=h&&M(x,o,i,f,u,s,c.x,c.y)&&w(c.prev,c,c.next)>=0)return!1;c=c.next}return!0}function v(e,t,n,r){var x=e.prev,i=e,u=e.next;if(w(x,i,u)>=0)return!1;for(var o=x.x,f=i.x,s=u.x,a=x.y,l=i.y,v=u.y,h=of?o>s?o:s:f>s?f:s,y=a>l?a>v?a:v:l>v?l:v,g=b(h,c,t,n,r),d=b(p,y,t,n,r),Z=e.prevZ,m=e.nextZ;Z&&Z.z>=g&&m&&m.z<=d;){if(Z.x>=h&&Z.x<=p&&Z.y>=c&&Z.y<=y&&Z!==x&&Z!==u&&M(o,a,f,l,s,v,Z.x,Z.y)&&w(Z.prev,Z,Z.next)>=0)return!1;if(Z=Z.prevZ,m.x>=h&&m.x<=p&&m.y>=c&&m.y<=y&&m!==x&&m!==u&&M(o,a,f,l,s,v,m.x,m.y)&&w(m.prev,m,m.next)>=0)return!1;m=m.nextZ}for(;Z&&Z.z>=g;){if(Z.x>=h&&Z.x<=p&&Z.y>=c&&Z.y<=y&&Z!==x&&Z!==u&&M(o,a,f,l,s,v,Z.x,Z.y)&&w(Z.prev,Z,Z.next)>=0)return!1;Z=Z.prevZ}for(;m&&m.z<=d;){if(m.x>=h&&m.x<=p&&m.y>=c&&m.y<=y&&m!==x&&m!==u&&M(o,a,f,l,s,v,m.x,m.y)&&w(m.prev,m,m.next)>=0)return!1;m=m.nextZ}return!0}function h(e,t,n){var r=e;do{var x=r.prev,i=r.next.next;!m(x,i)&&A(x,r,r.next,i)&&z(x,i)&&z(i,x)&&(t.push(x.i/n|0),t.push(r.i/n|0),t.push(i.i/n|0),B(r),B(r.next),r=e=i),r=r.next}while(r!==e);return s(r)}function c(e,t,n,r,x,i){var u=e;do{for(var o=u.next.next;o!==u.prev;){if(u.i!==o.i&&Z(u,o)){var f=F(u,o);return u=s(u,u.next),f=s(f,f.next),a(u,t,n,r,x,i,0),void a(f,t,n,r,x,i,0)}o=o.next}u=u.next}while(u!==e)}function p(e,t){return e.x-t.x}function y(e,t){var n=function(e,t){var n,r=t,x=e.x,i=e.y,u=-1/0;do{if(i<=r.y&&i>=r.next.y&&r.next.y!==r.y){var o=r.x+(i-r.y)*(r.next.x-r.x)/(r.next.y-r.y);if(o<=x&&o>u&&(u=o,n=r.x=r.x&&r.x>=a&&x!==r.x&&M(in.x||r.x===n.x&&g(n,r)))&&(n=r,v=f)),r=r.next}while(r!==s);return n}(e,t);if(!n)return t;var r=F(n,e);return s(r,r.next),s(n,n.next)}function g(e,t){return w(e.prev,e,t.prev)<0&&w(t.next,e,e.next)<0}function b(e,t,n,r,x){return(e=1431655765&((e=858993459&((e=252645135&((e=16711935&((e=(e-n)*x|0)|e<<8))|e<<4))|e<<2))|e<<1))|(t=1431655765&((t=858993459&((t=252645135&((t=16711935&((t=(t-r)*x|0)|t<<8))|t<<4))|t<<2))|t<<1))<<1}function d(e){var t=e,n=e;do{(t.x=(e-u)*(i-o)&&(e-u)*(r-o)>=(n-u)*(t-o)&&(n-u)*(i-o)>=(x-u)*(r-o)}function Z(e,t){return e.next.i!==t.i&&e.prev.i!==t.i&&!function(e,t){var n=e;do{if(n.i!==e.i&&n.next.i!==e.i&&n.i!==t.i&&n.next.i!==t.i&&A(n,n.next,e,t))return!0;n=n.next}while(n!==e);return!1}(e,t)&&(z(e,t)&&z(t,e)&&function(e,t){var n=e,r=!1,x=(e.x+t.x)/2,i=(e.y+t.y)/2;do{n.y>i!=n.next.y>i&&n.next.y!==n.y&&x<(n.next.x-n.x)*(i-n.y)/(n.next.y-n.y)+n.x&&(r=!r),n=n.next}while(n!==e);return r}(e,t)&&(w(e.prev,e,t.prev)||w(e,t.prev,t))||m(e,t)&&w(e.prev,e,e.next)>0&&w(t.prev,t,t.next)>0)}function w(e,t,n){return(t.y-e.y)*(n.x-t.x)-(t.x-e.x)*(n.y-t.y)}function m(e,t){return e.x===t.x&&e.y===t.y}function A(e,t,n,r){var x=I(w(e,t,n)),i=I(w(e,t,r)),u=I(w(n,r,e)),o=I(w(n,r,t));return x!==i&&u!==o||(!(0!==x||!E(e,n,t))||(!(0!==i||!E(e,r,t))||(!(0!==u||!E(n,e,r))||!(0!==o||!E(n,t,r)))))}function E(e,t,n){return t.x<=Math.max(e.x,n.x)&&t.x>=Math.min(e.x,n.x)&&t.y<=Math.max(e.y,n.y)&&t.y>=Math.min(e.y,n.y)}function I(e){return e>0?1:e<0?-1:0}function z(e,t){return w(e.prev,e,e.next)<0?w(e,t,e.next)>=0&&w(e,e.prev,t)>=0:w(e,t,e.prev)<0||w(e,e.next,t)<0}function F(e,t){var n=new _(e.i,e.x,e.y),r=new _(t.i,t.x,t.y),x=e.next,i=t.prev;return e.next=t,t.prev=e,n.next=x,x.prev=n,r.next=n,n.prev=r,i.next=r,r.prev=i,r}function P(e,t,n,r){var x=new _(e,t,n);return r?(x.next=r.next,x.prev=r,r.next.prev=x,r.next=x):(x.prev=x,x.next=x),x}function B(e){e.next.prev=e.prev,e.prev.next=e.next,e.prevZ&&(e.prevZ.nextZ=e.nextZ),e.nextZ&&(e.nextZ.prevZ=e.prevZ)}function _(e,t,n){this.i=e,this.x=t,this.y=n,this.prev=null,this.next=null,this.z=0,this.prevZ=null,this.nextZ=null,this.steiner=!1}function O(e,t,n,r){for(var x=0,i=t,u=n-r;i0&&(r+=e[x-1].length,n.holes.push(r))}return n};var N=i(u.exports);const R=[],S={vertexPosition:0,indexPosition:0};function T(e,t,n,r,x){e[t+0]=n,e[t+1]=r,e[t+2]=x}function U(e,t,n,r,x,i){const u=3+x,o=e[t+0],f=e[t+1],s=R;s.length=x;for(let n=0;n0?f:2*Math.PI-f}let d=-1,M=-1,Z=l;const w=null!==i;if(null!==x){d=b(y,g,r(s,[...[e[x],e[x+1]]])),Math.cos(d)<=.985&&(Z+=Math.tan((d-Math.PI)/2))}if(w){M=b(g,y,r(s,[...[e[i],e[i+1]]])),Math.cos(M)<=.985&&(Z+=Math.tan((Math.PI-M)/2))}function m(e,t){return 0===t?1e4*e:Math.sign(t)*(1e4*e+Math.abs(t))}return u.push(c[0],c[1],p[0],p[1],d,M,a,m(0,l)),u.push(...f),u.push(c[0],c[1],p[0],p[1],d,M,a,m(1,l)),u.push(...f),u.push(c[0],c[1],p[0],p[1],d,M,a,m(2,l)),u.push(...f),u.push(c[0],c[1],p[0],p[1],d,M,a,m(3,l)),u.push(...f),o.push(h,h+1,h+2,h+1,h+3,h+2),{length:a+Math.sqrt((g[0]-y[0])*(g[0]-y[0])+(g[1]-y[1])*(g[1]-y[1])),angle:Z}}function G(e,t,n,r,x){const i=2+x;let u=t;const o=e.slice(u,u+x);u+=x;const f=e[u++];let s=0;const a=new Array(f-1);for(let t=0;t{const i=r.data;switch(i.type){case t:{const e=3,t=2,n=i.customAttributesSize,r=t+n,x=new Float32Array(i.renderInstructions),u=x.length/r,o=4*u*(n+e),f=new Uint32Array(6*u),s=new Float32Array(o);let a;for(let e=0;e0?c=o+(n-1)*r:l&&(c=i-r);let p=null;n{const e=t.data;if(e.type===r_){const i=e.projectionTransform;this.verticesBuffer_.fromArrayBuffer(e.vertexBuffer),this.helper.flushBufferData(this.verticesBuffer_),this.indicesBuffer_.fromArrayBuffer(e.indexBuffer),this.helper.flushBufferData(this.indicesBuffer_),this.renderTransform_=i,$t(this.invertRenderTransform_,this.renderTransform_),this.renderInstructions_=new Float32Array(t.data.renderInstructions),e.id===this.lastSentId&&(this.ready=!0),this.getLayer().changed()}})),this.featureCache_={},this.featureCount_=0;const s=this.getLayer().getSource();this.sourceListenKeys_=[A(s,pd,this.handleSourceFeatureAdded_,this),A(s,md,this.handleSourceFeatureChanged_,this),A(s,yd,this.handleSourceFeatureDelete_,this),A(s,_d,this.handleSourceFeatureClear_,this)],s.forEachFeature((t=>{this.featureCache_[U(t)]={feature:t,properties:t.getProperties(),geometry:t.getGeometry()},this.featureCount_++}))}afterHelperCreated(){this.program_=this.helper.getProgram(this.fragmentShader_,this.vertexShader_),this.hitDetectionEnabled_&&(this.hitRenderTarget_=new Tp(this.helper))}handleSourceFeatureAdded_(t){const e=t.feature;this.featureCache_[U(e)]={feature:e,properties:e.getProperties(),geometry:e.getGeometry()},this.featureCount_++}handleSourceFeatureChanged_(t){const e=t.feature;this.featureCache_[U(e)]={feature:e,properties:e.getProperties(),geometry:e.getGeometry()}}handleSourceFeatureDelete_(t){const e=t.feature;delete this.featureCache_[U(e)],this.featureCount_--}handleSourceFeatureClear_(){this.featureCache_={},this.featureCount_=0}renderFrame(t){const e=this.helper.getGL();this.preRender(e,t);const[i,n,r]=a_(t,this.getLayer());this.renderWorlds(t,!1,i,n,r),this.helper.finalizeDraw(t,this.dispatchPreComposeEvent,this.dispatchPostComposeEvent),this.hitDetectionEnabled_&&(this.renderWorlds(t,!0,i,n,r),this.hitRenderTarget_.clearCachedData()),this.postRender(e,t);return this.helper.getCanvas()}prepareFrameInternal(t){const e=this.getLayer(),i=e.getSource(),n=t.viewState,r=!t.viewHints[xs]&&!t.viewHints[vs],s=!ue(this.previousExtent_,t.extent),o=this.sourceRevision_e+(t[i].size||1)),0)}function u_(t,e,i,n){const r=(2+c_(i))*t.geometriesCount;e&&e.length===r||(e=new Float32Array(r));const s=[];let o=0;for(const r in t.entries){const a=t.entries[r];for(let t=0,r=a.flatCoordss.length;t({name:`a_prop_${t}`,size:e.size||1,type:pp.FLOAT})));this.polygonAttributesDesc_=[{name:__,size:2,type:pp.FLOAT},...s],this.lineStringAttributesDesc_=[{name:x_,size:2,type:pp.FLOAT},{name:v_,size:2,type:pp.FLOAT},{name:S_,size:2,type:pp.FLOAT},{name:E_,size:1,type:pp.FLOAT},{name:w_,size:1,type:pp.FLOAT},...s],this.pointAttributesDesc_=[{name:__,size:2,type:pp.FLOAT},{name:y_,size:1,type:pp.FLOAT},...s],n.uniforms&&this.helper_.addUniforms(n.uniforms)}async generateBuffers(t,e){const i=this.generateRenderInstructions_(t,e),[n,r,s]=await Promise.all([this.generateBuffersForType_(i.polygonInstructions,"Polygon",e),this.generateBuffersForType_(i.lineStringInstructions,"LineString",e),this.generateBuffersForType_(i.pointInstructions,"Point",e)]);return{polygonBuffers:n,lineStringBuffers:r,pointBuffers:s,invertVerticesTransform:$t([1,0,0,1,0,0],e)}}generateRenderInstructions_(t,e){return{polygonInstructions:this.hasFill_?g_(t.polygonBatch,new Float32Array(0),this.customAttributes_,e):null,lineStringInstructions:this.hasStroke_?d_(t.lineStringBatch,new Float32Array(0),this.customAttributes_,e):null,pointInstructions:this.hasSymbol_?u_(t.pointBatch,new Float32Array(0),this.customAttributes_,e):null}}generateBuffersForType_(t,e,i){if(null===t)return null;const n=m_++;let r;switch(e){case"Polygon":r=n_;break;case"LineString":r=s_;break;case"Point":r=r_}const s={id:n,type:r,renderInstructions:t.buffer,renderInstructionsTransform:i,customAttributesSize:c_(this.customAttributes_)};return p_.postMessage(s,[t.buffer]),t=null,new Promise((t=>{const e=i=>{const r=i.data;if(r.id!==n)return;if(p_.removeEventListener("message",e),!this.helper_.getGL())return;const s=new lp(Cf,Pf).fromArrayBuffer(r.vertexBuffer),o=new lp(bf,Pf).fromArrayBuffer(r.indexBuffer);this.helper_.flushBufferData(s),this.helper_.flushBufferData(o),t([o,s])};p_.addEventListener("message",e)}))}render(t,e,i){this.hasFill_&&this.renderInternal_(t.polygonBuffers[0],t.polygonBuffers[1],this.fillProgram_,this.polygonAttributesDesc_,e,i),this.hasStroke_&&this.renderInternal_(t.lineStringBuffers[0],t.lineStringBuffers[1],this.strokeProgram_,this.lineStringAttributesDesc_,e,i),this.hasSymbol_&&this.renderInternal_(t.pointBuffers[0],t.pointBuffers[1],this.symbolProgram_,this.pointAttributesDesc_,e,i)}renderInternal_(t,e,i,n,r,s){const o=t.getSize();0!==o&&(this.helper_.useProgram(i,r),this.helper_.bindBuffer(e),this.helper_.bindBuffer(t),this.helper_.enableAttributes(n),s(),this.helper_.drawElements(0,o))}};const C_={...fp,RENDER_EXTENT:"u_renderExtent",PATTERN_ORIGIN:"u_patternOrigin",GLOBAL_ALPHA:"u_globalAlpha"};var b_=class extends cm{constructor(t,e){super(t,{uniforms:{[C_.RENDER_EXTENT]:[0,0,0,0],[C_.PATTERN_ORIGIN]:[0,0],[C_.GLOBAL_ALPHA]:1},postProcesses:e.postProcesses}),this.hitDetectionEnabled_=!e.disableHitDetection,this.hitRenderTarget_,this.sourceRevision_=-1,this.previousExtent_=[1/0,1/0,-1/0,-1/0],this.currentTransform_=[1,0,0,1,0,0],this.tmpCoords_=[0,0],this.tmpTransform_=[1,0,0,1,0,0],this.tmpMat4_=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],this.currentFrameStateTransform_=[1,0,0,1,0,0],this.styles_=[],this.styleRenderers_=[],this.buffers_=[],this.applyOptions_(e),this.batch_=new Vm,this.initialFeaturesAdded_=!1,this.sourceListenKeys_=null}addInitialFeatures_(t){const e=this.getLayer().getSource(),i=_n();let n;i&&(n=un(i,t.viewState.projection)),this.batch_.addFeatures(e.getFeatures(),n),this.sourceListenKeys_=[A(e,pd,this.handleSourceFeatureAdded_.bind(this,n),this),A(e,md,this.handleSourceFeatureChanged_,this),A(e,yd,this.handleSourceFeatureDelete_,this),A(e,_d,this.handleSourceFeatureClear_,this)]}applyOptions_(t){this.styles_=Array.isArray(t.style)?t.style:[t.style]}createRenderers_(){this.buffers_=[],this.styleRenderers_=this.styles_.map((t=>new T_(t,this.helper,this.hitDetectionEnabled_)))}reset(t){this.applyOptions_(t),this.helper&&this.createRenderers_(),super.reset(t)}afterHelperCreated(){this.createRenderers_(),this.hitDetectionEnabled_&&(this.hitRenderTarget_=new Tp(this.helper))}handleSourceFeatureAdded_(t,e){const i=e.feature;this.batch_.addFeature(i,t)}handleSourceFeatureChanged_(t){const e=t.feature;this.batch_.changeFeature(e)}handleSourceFeatureDelete_(t){const e=t.feature;this.batch_.removeFeature(e)}handleSourceFeatureClear_(){this.batch_.clear()}applyUniforms_(t){Ut(this.tmpTransform_,this.currentFrameStateTransform_),jt(this.tmpTransform_,t),this.helper.setUniformMatrixValue(C_.PROJECTION_MATRIX,gp(this.tmpMat4_,this.tmpTransform_)),$t(this.tmpTransform_,this.tmpTransform_),this.helper.setUniformMatrixValue(C_.SCREEN_TO_WORLD_MATRIX,gp(this.tmpMat4_,this.tmpTransform_)),this.tmpCoords_[0]=0,this.tmpCoords_[1]=0,$t(this.tmpTransform_,t),Bt(this.tmpTransform_,this.tmpCoords_),this.helper.setUniformFloatVec2(C_.PATTERN_ORIGIN,this.tmpCoords_)}renderFrame(t){const e=this.helper.getGL();this.preRender(e,t);const[i,n,r]=a_(t,this.getLayer());this.helper.prepareDraw(t),this.renderWorlds(t,!1,i,n,r),this.helper.finalizeDraw(t);const s=this.helper.getCanvas(),o=t.layerStatesArray[t.layerIndex].opacity;return o!==parseFloat(s.style.opacity)&&(s.style.opacity=String(o)),this.hitDetectionEnabled_&&(this.renderWorlds(t,!0,i,n,r),this.hitRenderTarget_.clearCachedData()),this.postRender(e,t),s}prepareFrameInternal(t){this.initialFeaturesAdded_||(this.addInitialFeatures_(t),this.initialFeaturesAdded_=!0);const e=this.getLayer(),i=e.getSource(),n=t.viewState,r=!t.viewHints[xs]&&!t.viewHints[vs],s=!ue(this.previousExtent_,t.extent),o=this.sourceRevision_t.generateBuffers(this.batch_,h).then((t=>{this.buffers_[e]=t}))));Promise.all(c).then((()=>{this.ready=!0,this.getLayer().changed()})),this.previousExtent_=t.extent.slice()}return!0}renderWorlds(t,e,i,n,r){let s=i;e&&(this.hitRenderTarget_.setSize([Math.floor(t.size[0]/2),Math.floor(t.size[1]/2)]),this.helper.prepareDrawToRenderTarget(t,this.hitRenderTarget_,!0)),this.currentFrameStateTransform_=this.helper.makeProjectionTransform(t,this.currentFrameStateTransform_);do{for(let i=0,n=this.styleRenderers_.length;i{this.applyUniforms_(r.invertVerticesTransform),this.helper.applyHitDetectionUniform(e)}))}Wt(this.currentFrameStateTransform_,r,0)}while(++sthis.tileMaskTarget_.getTexture()}}),this.hitDetectionEnabled_=!e.disableHitDetection,this.styles_=[],this.styleRenderers_=[],this.currentFrameStateTransform_=[1,0,0,1,0,0],this.tmpTransform_=[1,0,0,1,0,0],this.tmpMat4_=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],this.tileMaskTarget_=null,this.tileMaskIndices_=new lp(bf,Rf),this.tileMaskIndices_.fromArray([0,1,3,1,2,3]),this.tileMaskAttributes_=[{name:P_.POSITION,size:2,type:pp.FLOAT}],this.tileMaskProgram_,this.applyOptions_(e)}reset(t){super.reset(t),this.applyOptions_(t),this.helper&&(this.createRenderers_(),this.initTileMask_())}applyOptions_(t){this.styles_=Array.isArray(t.style)?t.style:[t.style]}createRenderers_(){function t(t){const e=t.getFragmentDiscardExpression(),i=`texture2D(${R_.TILE_MASK_TEXTURE}, gl_FragCoord.xy / u_pixelRatio / u_viewportSizePx).r * 50. > ${R_.TILE_ZOOM_LEVEL} + 0.5`;t.setFragmentDiscardExpression("false"!==e?`(${e}) || (${i})`:i),t.addUniform(`sampler2D ${R_.TILE_MASK_TEXTURE}`),t.addUniform(`float ${R_.TILE_ZOOM_LEVEL}`)}this.styleRenderers_=this.styles_.map((e=>{let i;if("builder"in e)t(e.builder),i=e;else{const n=e_(e);t(n.builder),i={builder:n.builder,attributes:n.attributes,uniforms:n.uniforms}}return new T_(i,this.helper,this.hitDetectionEnabled_)}))}initTileMask_(){this.tileMaskTarget_=new Tp(this.helper);const t=(new Bm).setFillColorExpression(`vec4(${R_.TILE_ZOOM_LEVEL} / 50., 0., 0., 1.)`).addUniform(`float ${R_.TILE_ZOOM_LEVEL}`);this.tileMaskProgram_=this.helper.getProgram(t.getFillFragmentShader(),t.getFillVertexShader()),this.helper.flushBufferData(this.tileMaskIndices_)}afterHelperCreated(){this.createRenderers_(),this.initTileMask_()}createTileRepresentation(t){const e=new Wm(t,this.styleRenderers_),i=()=>{e.ready&&(this.getLayer().changed(),e.removeEventListener(v,i))};return e.addEventListener(v,i),e}beforeTilesRender(t,e){super.beforeTilesRender(t,!0),this.helper.makeProjectionTransform(t,this.currentFrameStateTransform_)}beforeTilesMaskRender(t){this.helper.makeProjectionTransform(t,this.currentFrameStateTransform_);const e=t.pixelRatio,i=t.size;return this.tileMaskTarget_.setSize([i[0]*e,i[1]*e]),this.helper.prepareDrawToRenderTarget(t,this.tileMaskTarget_,!0,!0),this.helper.useProgram(this.tileMaskProgram_,t),Ut(this.tmpTransform_,this.currentFrameStateTransform_),this.helper.setUniformMatrixValue(R_.PROJECTION_MATRIX,gp(this.tmpMat4_,this.tmpTransform_)),$t(this.tmpTransform_,this.currentFrameStateTransform_),this.helper.setUniformMatrixValue(R_.SCREEN_TO_WORLD_MATRIX,gp(this.tmpMat4_,this.tmpTransform_)),!0}renderTileMask(t,e,i,n){if(!t.ready)return;this.helper.setUniformFloatValue(R_.DEPTH,n),this.helper.setUniformFloatValue(R_.TILE_ZOOM_LEVEL,e),this.helper.setUniformFloatVec4(R_.RENDER_EXTENT,i),this.helper.setUniformFloatValue(R_.GLOBAL_ALPHA,1),this.helper.bindBuffer(t.maskVertices),this.helper.bindBuffer(this.tileMaskIndices_),this.helper.enableAttributes(this.tileMaskAttributes_);const r=this.tileMaskIndices_.getSize();this.helper.drawElements(0,r)}applyUniforms_(t,e,i,n,r){Ut(this.tmpTransform_,this.currentFrameStateTransform_),jt(this.tmpTransform_,i),this.helper.setUniformMatrixValue(R_.PROJECTION_MATRIX,gp(this.tmpMat4_,this.tmpTransform_)),$t(this.tmpTransform_,this.currentFrameStateTransform_),this.helper.setUniformMatrixValue(R_.SCREEN_TO_WORLD_MATRIX,gp(this.tmpMat4_,this.tmpTransform_)),this.helper.setUniformFloatValue(R_.GLOBAL_ALPHA,t),this.helper.setUniformFloatValue(R_.DEPTH,r),this.helper.setUniformFloatValue(R_.TILE_ZOOM_LEVEL,n),this.helper.setUniformFloatVec4(R_.RENDER_EXTENT,e)}renderTile(t,e,i,n,r,s,o,a,l,h,c){const u=Pe(a,n,a),d=t.tile.getTileCoord()[0];for(let e=0,n=this.styleRenderers_.length;e{this.applyUniforms_(c,u,r.invertVerticesTransform,d,l)}))}}renderDeclutter(t){}disposeInternal(){super.disposeInternal()}};const L_=0,F_=1,M_=2,A_=3,O_=4,D_=5,N_=6,k_=7,G_=8,j_=9,z_=10,U_=11,B_=12,X_=[G_],V_=[B_],W_=[F_],Z_=[A_];var $_=class extends $c{constructor(t,e,i,n){super(),this.tolerance=t,this.maxExtent=e,this.pixelRatio=n,this.maxLineWidth=0,this.resolution=i,this.beginGeometryInstruction1_=null,this.beginGeometryInstruction2_=null,this.bufferedMaxExtent_=null,this.instructions=[],this.coordinates=[],this.tmpCoordinate_=[],this.hitDetectionInstructions=[],this.state={}}applyPixelRatio(t){const e=this.pixelRatio;return 1==e?t:t.map((function(t){return t*e}))}appendFlatPointCoordinates(t,e){const i=this.getBufferedMaxExtent(),n=this.tmpCoordinate_,r=this.coordinates;let s=r.length;for(let o=0,a=t.length;oa&&(this.instructions.push([O_,a,h,t,i,tr,r]),this.hitDetectionInstructions.push([O_,a,h,t,n||i,tr,r]));break;case"Point":l=t.getFlatCoordinates(),this.coordinates.push(l[0],l[1]),h=this.coordinates.length,this.instructions.push([O_,a,h,t,i,void 0,r]),this.hitDetectionInstructions.push([O_,a,h,t,n||i,void 0,r])}this.endGeometry(e)}beginGeometry(t,e,i){this.beginGeometryInstruction1_=[L_,e,0,t,i],this.instructions.push(this.beginGeometryInstruction1_),this.beginGeometryInstruction2_=[L_,e,0,t,i],this.hitDetectionInstructions.push(this.beginGeometryInstruction2_)}finish(){return{instructions:this.instructions,hitDetectionInstructions:this.hitDetectionInstructions,coordinates:this.coordinates}}reverseHitDetectionInstructions(){const t=this.hitDetectionInstructions;let e;t.reverse();const i=t.length;let n,r,s=-1;for(e=0;ethis.maxLineWidth&&(this.maxLineWidth=i.lineWidth,this.bufferedMaxExtent_=null)}else i.strokeStyle=void 0,i.lineCap=void 0,i.lineDash=null,i.lineDashOffset=void 0,i.lineJoin=void 0,i.lineWidth=void 0,i.miterLimit=void 0}createFill(t){const e=t.fillStyle,i=[z_,e];return"string"!=typeof e&&i.push(t.fillPatternScale),i}applyStroke(t){this.instructions.push(this.createStroke(t))}createStroke(t){return[U_,t.strokeStyle,t.lineWidth*this.pixelRatio,t.lineCap,t.lineJoin,t.miterLimit,this.applyPixelRatio(t.lineDash),t.lineDashOffset*this.pixelRatio]}updateFillStyle(t,e){const i=t.fillStyle;"string"==typeof i&&t.currentFillStyle==i||(void 0!==i&&this.instructions.push(e.call(this,t)),t.currentFillStyle=i)}updateStrokeStyle(t,e){const i=t.strokeStyle,n=t.lineCap,r=t.lineDash,s=t.lineDashOffset,o=t.lineJoin,a=t.lineWidth,l=t.miterLimit;(t.currentStrokeStyle!=i||t.currentLineCap!=n||r!=t.currentLineDash&&!c(t.currentLineDash,r)||t.currentLineDashOffset!=s||t.currentLineJoin!=o||t.currentLineWidth!=a||t.currentMiterLimit!=l)&&(void 0!==i&&e.call(this,t),t.currentStrokeStyle=i,t.currentLineCap=n,t.currentLineDash=r,t.currentLineDashOffset=s,t.currentLineJoin=o,t.currentLineWidth=a,t.currentMiterLimit=l)}endGeometry(t){this.beginGeometryInstruction1_[2]=this.instructions.length,this.beginGeometryInstruction1_=null,this.beginGeometryInstruction2_[2]=this.hitDetectionInstructions.length,this.beginGeometryInstruction2_=null;const e=[k_,t];this.instructions.push(e),this.hitDetectionInstructions.push(e)}getBufferedMaxExtent(){if(!this.bufferedMaxExtent_&&(this.bufferedMaxExtent_=te(this.maxExtent),this.maxLineWidth>0)){const t=this.resolution*(this.maxLineWidth+1)/2;Qt(this.bufferedMaxExtent_,t,this.bufferedMaxExtent_)}return this.bufferedMaxExtent_}};var Y_=class extends $_{constructor(t,e,i,n){super(t,e,i,n),this.hitDetectionImage_=null,this.image_=null,this.imagePixelRatio_=void 0,this.anchorX_=void 0,this.anchorY_=void 0,this.height_=void 0,this.opacity_=void 0,this.originX_=void 0,this.originY_=void 0,this.rotateWithView_=void 0,this.rotation_=void 0,this.scale_=void 0,this.width_=void 0,this.declutterMode_=void 0,this.declutterImageWithText_=void 0}drawPoint(t,e,i){if(!this.image_||this.maxExtent&&!ie(this.maxExtent,t.getFlatCoordinates()))return;this.beginGeometry(t,e,i);const n=t.getFlatCoordinates(),r=t.getStride(),s=this.coordinates.length,o=this.appendFlatPointCoordinates(n,r);this.instructions.push([N_,s,o,this.image_,this.anchorX_*this.imagePixelRatio_,this.anchorY_*this.imagePixelRatio_,Math.ceil(this.height_*this.imagePixelRatio_),this.opacity_,this.originX_*this.imagePixelRatio_,this.originY_*this.imagePixelRatio_,this.rotateWithView_,this.rotation_,[this.scale_[0]*this.pixelRatio/this.imagePixelRatio_,this.scale_[1]*this.pixelRatio/this.imagePixelRatio_],Math.ceil(this.width_*this.imagePixelRatio_),this.declutterMode_,this.declutterImageWithText_]),this.hitDetectionInstructions.push([N_,s,o,this.hitDetectionImage_,this.anchorX_,this.anchorY_,this.height_,1,this.originX_,this.originY_,this.rotateWithView_,this.rotation_,this.scale_,this.width_,this.declutterMode_,this.declutterImageWithText_]),this.endGeometry(e)}drawMultiPoint(t,e,i){if(!this.image_)return;this.beginGeometry(t,e,i);const n=t.getFlatCoordinates(),r=[];for(let e=0,i=n.length;e=t){const e=(t-a+u)/u,d=xi(i,h,e),g=xi(n,c,e);l.push(d,g),s.push(l),l=[d,g],a==t&&(o+=r),a=0}else if(a0&&s.push(l),s}function J_(t,e,i,n,r){let s,o,a,l,h,c,u,d,g,f,p=i,m=i,_=0,y=0,x=i;for(o=i;ot&&(y>_&&(_=y,p=x,m=o),y=0,x=o-r)),a=l,u=g,d=f),h=i,c=n}return y+=l,y>_?[x,o]:[p,m]}const Q_={left:0,center:.5,right:1,top:0,middle:.5,hanging:.2,alphabetic:.8,ideographic:.8,bottom:1};var ty=class extends $_{constructor(t,e,i,n){super(t,e,i,n),this.labels_=null,this.text_="",this.textOffsetX_=0,this.textOffsetY_=0,this.textRotateWithView_=void 0,this.textRotation_=0,this.textFillState_=null,this.fillStates={},this.fillStates[ea]={fillStyle:ea},this.textStrokeState_=null,this.strokeStates={},this.textState_={},this.textStates={},this.textKey_="",this.fillKey_="",this.strokeKey_="",this.declutterMode_=void 0,this.declutterImageWithText_=void 0}finish(){const t=super.finish();return t.textStates=this.textStates,t.fillStates=this.fillStates,t.strokeStates=this.strokeStates,t}drawText(t,e,i){const n=this.textFillState_,r=this.textStrokeState_,s=this.textState_;if(""===this.text_||!s||!n&&!r)return;const o=this.coordinates;let a=o.length;const l=t.getType();let h=null,c=t.getStride();if("line"!==s.placement||"LineString"!=l&&"MultiLineString"!=l&&"Polygon"!=l&&"MultiPolygon"!=l){let n=s.overflow?null:[];switch(l){case"Point":case"MultiPoint":h=t.getFlatCoordinates();break;case"LineString":h=t.getFlatMidpoint();break;case"Circle":h=t.getCenter();break;case"MultiLineString":h=t.getFlatMidpoints(),c=2;break;case"Polygon":h=t.getFlatInteriorPoint(),s.overflow||n.push(h[2]/this.resolution),c=3;break;case"MultiPolygon":const e=t.getFlatInteriorPoints();h=[];for(let t=0,i=e.length;t{const n=o[2*(t+i)]===h[i*c]&&o[2*(t+i)+1]===h[i*c+1];return n||--t,n}))}this.saveTextStates_(),(s.backgroundFill||s.backgroundStroke)&&(this.setFillStrokeStyle(s.backgroundFill,s.backgroundStroke),s.backgroundFill&&this.updateFillStyle(this.state,this.createFill),s.backgroundStroke&&(this.updateStrokeStyle(this.state,this.applyStroke),this.hitDetectionInstructions.push(this.createStroke(this.state)))),this.beginGeometry(t,e,i);let u=s.padding;if(u!=ha&&(s.scale[0]<0||s.scale[1]<0)){let t=s.padding[0],e=s.padding[1],i=s.padding[2],n=s.padding[3];s.scale[0]<0&&(e=-e,n=-n),s.scale[1]<0&&(t=-t,i=-i),u=[t,e,i,n]}const d=this.pixelRatio;this.instructions.push([N_,a,r,null,NaN,NaN,NaN,1,0,0,this.textRotateWithView_,this.textRotation_,[1,1],NaN,this.declutterMode_,this.declutterImageWithText_,u==ha?ha:u.map((function(t){return t*d})),!!s.backgroundFill,!!s.backgroundStroke,this.text_,this.textKey_,this.strokeKey_,this.fillKey_,this.textOffsetX_,this.textOffsetY_,n]);const g=1/d,f=this.state.fillStyle;s.backgroundFill&&(this.state.fillStyle=ea,this.hitDetectionInstructions.push(this.createFill(this.state))),this.hitDetectionInstructions.push([N_,a,r,null,NaN,NaN,NaN,1,0,0,this.textRotateWithView_,this.textRotation_,[g,g],NaN,this.declutterMode_,this.declutterImageWithText_,u,!!s.backgroundFill,!!s.backgroundStroke,this.text_,this.textKey_,this.strokeKey_,this.fillKey_?ea:this.fillKey_,this.textOffsetX_,this.textOffsetY_,n]),s.backgroundFill&&(this.state.fillStyle=f,this.hitDetectionInstructions.push(this.createFill(this.state))),this.endGeometry(e)}else{if(!Me(this.maxExtent,t.getExtent()))return;let n;if(h=t.getFlatCoordinates(),"LineString"==l)n=[h.length];else if("MultiLineString"==l)n=t.getEnds();else if("Polygon"==l)n=t.getEnds().slice(0,1);else if("MultiPolygon"==l){const e=t.getEndss();n=[];for(let t=0,i=e.length;tt[2]}else R=v>C;const P=Math.PI,I=[],L=S+n===e;let F;if(m=0,_=E,d=t[e=S],g=t[e+1],L){y(),F=Math.atan2(g-p,d-f),R&&(F+=F>0?-P:P);const t=(C+v)/2,e=(b+w)/2;return I[0]=[t,e,(T-s)/2,F,r],I}for(let t=0,u=(r=r.replace(/\n/g," ")).length;t0?-P:P),void 0!==F){let t=v-F;if(t+=t>P?-2*P:t<-P?2*P:0,Math.abs(t)>o)return null}F=v;const w=t;let S=0;for(;t0&&t.push("\n",""),t.push(e,""),t}var gy=class{constructor(t,e,i,n,r){this.overlaps=i,this.pixelRatio=e,this.resolution=t,this.alignAndScaleFill_,this.instructions=n.instructions,this.coordinates=n.coordinates,this.coordinateCache_={},this.renderedTransform_=[1,0,0,1,0,0],this.hitDetectionInstructions=n.hitDetectionInstructions,this.pixelCoordinates_=null,this.viewRotation_=0,this.fillStates=n.fillStates||{},this.strokeStates=n.strokeStates||{},this.textStates=n.textStates||{},this.widths_={},this.labels_={},this.zIndexContext_=r?new Xg:null}getZIndexContext(){return this.zIndexContext_}createLabel(t,e,i,n){const r=t+e+i+n;if(this.labels_[r])return this.labels_[r];const s=n?this.strokeStates[n]:null,o=i?this.fillStates[i]:null,a=this.textStates[e],l=this.pixelRatio,h=[a.scale[0]*l,a.scale[1]*l],c=Array.isArray(t),u=a.justify?Q_[a.justify]:uy(Array.isArray(t)?t[0]:t,a.textAlign||aa),d=n&&s.lineWidth?s.lineWidth:0,g=c?t:t.split("\n").reduce(dy,[]),{width:f,height:p,widths:m,heights:_,lineWidths:y}=xa(a,g),x=f+d,v=[],w=(x+2)*h[0],S=(p+d)*h[1],E={width:w<0?Math.floor(w):Math.ceil(w),height:S<0?Math.floor(S):Math.ceil(S),contextInstructions:v};1==h[0]&&1==h[1]||v.push("scale",h),n&&(v.push("strokeStyle",s.strokeStyle),v.push("lineWidth",d),v.push("lineCap",s.lineCap),v.push("lineJoin",s.lineJoin),v.push("miterLimit",s.miterLimit),v.push("setLineDash",[s.lineDash]),v.push("lineDashOffset",s.lineDashOffset)),i&&v.push("fillStyle",o.fillStyle),v.push("textBaseline","middle"),v.push("textAlign","center");const T=.5-u;let C=u*x+T*d;const b=[],R=[];let P,I=0,L=0,F=0,M=0;for(let t=0,e=g.length;tt?t-l:r,x=s+h>e?e-h:s,v=g[3]+y*u[0]+g[1],w=g[0]+x*u[1]+g[2],S=m-g[3],E=_-g[0];let T;return(f||0!==c)&&(sy[0]=S,ly[0]=S,sy[1]=E,oy[1]=E,oy[0]=S+v,ay[0]=oy[0],ay[1]=E+w,ly[1]=ay[1]),0!==c?(T=Zt([1,0,0,1,0,0],i,n,1,1,c,-i,-n),Bt(T,sy),Bt(T,oy),Bt(T,ay),Bt(T,ly),ae(Math.min(sy[0],oy[0],ay[0],ly[0]),Math.min(sy[1],oy[1],ay[1],ly[1]),Math.max(sy[0],oy[0],ay[0],ly[0]),Math.max(sy[1],oy[1],ay[1],ly[1]),ry)):ae(Math.min(S,S+v),Math.min(E,E+w),Math.max(S,S+v),Math.max(E,E+w),ry),d&&(m=Math.round(m),_=Math.round(_)),{drawImageX:m,drawImageY:_,drawImageW:y,drawImageH:x,originX:l,originY:h,declutterBox:{minX:ry[0],minY:ry[1],maxX:ry[2],maxY:ry[3],value:p},canvasTransform:T,scale:u}}replayImageOrLabel_(t,e,i,n,r,s,o){const a=!(!s&&!o),l=n.declutterBox,h=o?o[2]*n.scale[0]/2:0;return l.minX-h<=e[0]&&l.maxX+h>=0&&l.minY-h<=e[1]&&l.maxY+h>=0&&(a&&this.replayTextBackground_(t,sy,oy,ay,ly,s,o),va(t,n.canvasTransform,r,i,n.originX,n.originY,n.drawImageW,n.drawImageH,n.drawImageX,n.drawImageY,n.scale)),!0}fill_(t){const e=this.alignAndScaleFill_;if(e){const i=Bt(this.renderedTransform_,[0,0]),n=512*this.pixelRatio;t.save(),t.translate(i[0]%n,i[1]%n),1!==e&&t.scale(e,e),t.rotate(this.viewRotation_)}t.fill(),e&&t.restore()}setStrokeStyle_(t,e){t.strokeStyle=e[1],t.lineWidth=e[2],t.lineCap=e[3],t.lineJoin=e[4],t.miterLimit=e[5],t.lineDashOffset=e[7],t.setLineDash(e[6])}drawLabelWithPointPlacement_(t,e,i,n){const r=this.textStates[e],s=this.createLabel(t,e,n,i),o=this.strokeStates[i],a=this.pixelRatio,l=uy(Array.isArray(t)?t[0]:t,r.textAlign||aa),h=Q_[r.textBaseline||la],c=o&&o.lineWidth?o.lineWidth:0;return{label:s,anchorX:l*(s.width/a-2*r.scale[0])+2*(.5-l)*c,anchorY:h*s.height/a+2*(.5-h)*c}}execute_(t,e,i,n,r,s,o,a){const l=this.zIndexContext_;let h;this.pixelCoordinates_&&c(i,this.renderedTransform_)?h=this.pixelCoordinates_:(this.pixelCoordinates_||(this.pixelCoordinates_=[]),h=bn(this.coordinates,0,this.coordinates.length,2,i,this.pixelCoordinates_),Ut(this.renderedTransform_,i));let u=0;const d=n.length;let g,f,p,m,_,y,x,v,w,S,E,T,C,b=0,R=0,P=0,I=null,L=null;const F=this.coordinateCache_,M=this.viewRotation_,A=Math.round(1e12*Math.atan2(-i[1],i[0]))/1e12,O={context:t,pixelRatio:this.pixelRatio,resolution:this.resolution,rotation:M},D=this.instructions!=n||this.overlaps?0:200;let N,k,G,j;for(;uD&&(this.fill_(t),R=0),P>D&&(t.stroke(),P=0),R||P||(t.beginPath(),_=NaN,y=NaN),++u;break;case M_:b=i[1];const n=h[b],c=h[b+1],d=h[b+2]-n,z=h[b+3]-c,U=Math.sqrt(d*d+z*z);t.moveTo(n+U,c),t.arc(n,c,U,0,2*Math.PI,!0),++u;break;case A_:t.closePath(),++u;break;case O_:b=i[1],g=i[2];const B=i[3],X=i[4],V=i[5];O.geometry=B,O.feature=N,u in F||(F[u]=[]);const W=F[u];V?V(h,b,g,2,W):(W[0]=h[b],W[1]=h[b+1],W.length=2),l&&(l.zIndex=i[6]),X(W,O),++u;break;case N_:b=i[1],g=i[2],w=i[3],f=i[4],p=i[5];let Z=i[6];const $=i[7],Y=i[8],q=i[9],K=i[10];let H=i[11];const J=i[12];let Q=i[13];m=i[14]||"declutter";const tt=i[15];if(!w&&i.length>=20){S=i[19],E=i[20],T=i[21],C=i[22];const t=this.drawLabelWithPointPlacement_(S,E,T,C);w=t.label,i[3]=w;const e=i[23];f=(t.anchorX-e)*this.pixelRatio,i[4]=f;const n=i[24];p=(t.anchorY-n)*this.pixelRatio,i[5]=p,Z=w.height,i[6]=Z,Q=w.width,i[13]=Q}let et,it,nt,rt;i.length>25&&(et=i[25]),i.length>17?(it=i[16],nt=i[17],rt=i[18]):(it=ha,nt=!1,rt=!1),K&&A?H+=M:K||A||(H-=M);let st=0;for(;b!py.includes(t)));const _y={};function yy(t){if(void 0!==_y[t])return _y[t];const e=2*t+1,i=t*t,n=new Array(i+1);for(let r=0;r<=t;++r)for(let s=0;s<=t;++s){const o=r*r+s*s;if(o>i)break;let a=n[o];a||(a=[],n[o]=a),a.push(4*((t+r)*e+(t+s))+3),r>0&&a.push(4*((t-r)*e+(t+s))+3),s>0&&(a.push(4*((t+r)*e+(t-s))+3),r>0&&a.push(4*((t-r)*e+(t-s))+3))}const r=[];for(let t=0,e=n.length;t0){if(!o||"Image"!==g&&"Text"!==g||o.includes(t)){const i=(d[s]-3)/4,o=n-i%a,l=n-(i/a|0),h=r(t,e,o*o+l*l);if(h)return h}c.clearRect(0,0,a,a);break}}const p=Object.keys(this.executorsByZIndex_).map(Number);let m,_,y,x,v;for(p.sort(s),m=p.length-1;m>=0;--m){const t=p[m].toString();for(y=this.executorsByZIndex_[t],_=fy.length-1;_>=0;--_)if(g=fy[_],x=y[g],void 0!==x&&(v=x.executeHitDetection(c,l,i,f,u),v))return v}}getClipCoords(t){const e=this.maxExtent_;if(!e)return null;const i=e[0],n=e[1],r=e[2],s=e[3],o=[i,n,i,s,r,s,r,n];return bn(o,0,8,2,t,o),o}isEmpty(){return y(this.executorsByZIndex_)}execute(t,e,i,n,r,o,a){const l=Object.keys(this.executorsByZIndex_).map(Number);let h,c,u,d,g,f;for(l.sort(s),o=o||fy,a&&l.reverse(),h=0,c=l.length;h{t.draw(this.renderedContext_),t.clear()}))}};const vy=.5;function wy(t,e,i,n,r,o,a,l,h){const c=h?vn(r,h):r,u=mt(t[0]*vy,t[1]*vy);u.imageSmoothingEnabled=!1;const d=u.canvas,g=new Yc(u,vy,r,null,a,l,h?un(_n(),h):null),f=i.length,p=Math.floor(16777215/f),m={};for(let t=1;t<=f;++t){const e=i[t-1],r=e.getStyleFunction()||n;if(!r)continue;let s=r(e,o);if(!s)continue;Array.isArray(s)||(s=[s]);const a=(t*p).toString(16).padStart(7,"#00000");for(let t=0,i=s.length;t{if(!this.hitDetectionImageData_&&!this.animatingOrInteracting_){const t=[this.context.canvas.width,this.context.canvas.height];Bt(this.pixelTransform,t);const e=this.renderedCenter_,i=this.renderedResolution_,n=this.renderedRotation_,r=this.renderedProjection_,s=this.wrappedRenderedExtent_,o=this.getLayer(),a=[],l=t[0]*vy,h=t[1]*vy;a.push(this.getRenderTransform(e,i,n,vy,l,h,0).slice());const c=o.getSource(),u=r.getExtent();if(c.getWrapX()&&r.canWrapX()&&!ne(u,s)){let t=s[0];const r=Fe(u);let o,c=0;for(;tu[2];)++c,o=r*c,a.push(this.getRenderTransform(e,i,n,vy,l,h,o).slice()),t-=r}const d=_n();this.hitDetectionImageData_=wy(t,a,this.renderedFeatures_,o.getStyleFunction(),s,i,n,Jc(i,this.renderedPixelRatio_),d?r:null)}e(Sy(t,this.renderedFeatures_,this.hitDetectionImageData_))}))}forEachFeatureAtCoordinate(t,e,i,n,r){if(!this.replayGroup_)return;const s=e.viewState.resolution,o=e.viewState.rotation,a=this.getLayer(),l={},h=function(t,e,i){const s=U(t),o=l[s];if(o){if(!0!==o&&ic=n.forEachFeatureAtCoordinate(t,s,o,i,h,d&&e.declutter[d]?e.declutter[d].all().map((t=>t.value)):null))),c}handleFontsChanged(){const t=this.getLayer();t.getVisible()&&this.replayGroup_&&t.changed()}handleStyleImageChange_(t){this.renderIfReadyAndVisible()}prepareFrame(t){const e=this.getLayer(),i=e.getSource();if(!i)return!1;const n=t.viewHints[xs],r=t.viewHints[vs],s=e.getUpdateWhileAnimating(),o=e.getUpdateWhileInteracting();if(this.ready&&!s&&n||!o&&r)return this.animatingOrInteracting_=!0,!0;this.animatingOrInteracting_=!1;const a=t.extent,l=t.viewState,h=l.projection,u=l.resolution,d=t.pixelRatio,g=e.getRevision(),f=e.getRenderBuffer();let p=e.getRenderOrder();void 0===p&&(p=Hc);const m=l.center.slice(),_=Qt(a,f*u),y=_.slice(),x=[_.slice()],v=h.getExtent();if(i.getWrapX()&&h.canWrapX()&&!ne(v,t.extent)){const t=Fe(v),e=Math.max(Fe(_)/2,t);_[0]=v[0]-e,_[2]=v[2]+e,Gi(m,h);const i=Ge(x[0],h);i[0]v[0]&&i[2]>v[2]&&x.push([i[0]-t,i[1],i[2]-t,i[3]])}if(this.ready&&this.renderedResolution_==u&&this.renderedRevision_==g&&this.renderedRenderOrder_==p&&ne(this.wrappedRenderedExtent_,_))return c(this.renderedExtent_,y)||(this.hitDetectionImageData_=null,this.renderedExtent_=y),this.renderedCenter_=m,this.replayGroupChanged=!1,!0;this.replayGroup_=null;const w=new iy(Qc(u,d),_,u,d),S=_n();let E;if(S){for(let t=0,e=x.length;t{let n;const r=t.getStyleFunction()||e.getStyleFunction();if(r&&(n=r(t,u)),n){const e=this.renderFeature(t,T,n,w,E,this.getLayer().getDeclutter(),i);C=C&&!e}},R=vn(_,h),P=i.getFeaturesInExtent(R);p&&P.sort(p);for(let t=0,e=P.length;t{if(f.getState()!==Yr.LOADED)return;this.image_=g?null:f;const t=f.getPixelRatio(),n=cu(f.getResolution())*e/t;this.renderedResolution=n,this.coordinateToVectorPixelTransform_=Zt(this.coordinateToVectorPixelTransform_,a/2,l/2,1/n,-1/n,0,-i.center[0],-i.center[1])})),f.load()}return this.image_&&(this.renderedPixelToCoordinateTransform_=t.pixelToCoordinateTransform.slice()),!!this.image_}preRender(){}postRender(){}renderDeclutter(){}forEachFeatureAtCoordinate(t,e,i,n,r){return this.vectorRenderer_?this.vectorRenderer_.forEachFeatureAtCoordinate(t,e,i,n,r):super.forEachFeatureAtCoordinate(t,e,i,n,r)}};const Cy={image:["Polygon","Circle","LineString","Image","Text"],hybrid:["Polygon","LineString"],vector:[]},by={hybrid:["Image","Text","Default"],vector:["Polygon","Circle","LineString","Image","Text","Default"]};var Ry=class extends Jg{constructor(t){super(t),this.boundHandleStyleImageChange_=this.handleStyleImageChange_.bind(this),this.renderedLayerRevision_,this.renderedPixelToCoordinateTransform_=null,this.renderedRotation_,this.renderedOpacity_=1,this.tmpTransform_=[1,0,0,1,0,0],this.tileClipContexts_=null}prepareTile(t,e,i){let n;const r=t.getState();return r!==H&&r!==J||(this.updateExecutorGroup_(t,e,i),this.tileImageNeedsRender_(t)&&(n=!0)),n}getTile(t,e,i,n){const r=n.pixelRatio,s=n.viewState,o=s.resolution,a=s.projection,l=this.getLayer(),h=l.getSource().getTile(t,e,i,r,a),c=n.viewHints,u=!(c[xs]||c[vs]);!u&&h.wantedResolution||(h.wantedResolution=o);return this.prepareTile(h,r,a)&&(u||Date.now()-n.time<8)&&"vector"!==l.getRenderMode()&&this.renderTileImage_(h,n),super.getTile(t,e,i,n)}isDrawableTile(t){const e=this.getLayer();return super.isDrawableTile(t)&&("vector"===e.getRenderMode()?U(e)in t.executorGroups:t.hasContext(e))}getTileImage(t){return t.getImage(this.getLayer())}prepareFrame(t){const e=this.getLayer().getRevision();return this.renderedLayerRevision_!==e&&(this.renderedLayerRevision_=e,this.renderedTiles.length=0),super.prepareFrame(t)}updateExecutorGroup_(t,e,i){const n=this.getLayer(),r=n.getRevision(),s=n.getRenderOrder()||null,o=t.wantedResolution,a=t.getReplayState(n);if(!a.dirty&&a.renderedResolution===o&&a.renderedRevision==r&&a.renderedRenderOrder==s)return;const l=n.getSource(),h=!!n.getDeclutter(),c=l.getTileGrid(),u=l.getTileGridForProjection(i).getTileCoordExtent(t.wrappedTileCoord),d=l.getSourceTiles(e,i,t),g=U(n);delete t.hitDetectionImageData[g],t.executorGroups[g]=[],a.dirty=!1;for(let i=0,r=d.length;i{const r=p?e.declutter[p].all().map((t=>t.value)):null;for(let e=0,a=n.length;e{const n=this.getLayer(),r=U(n),s=n.getSource(),o=this.renderedProjection,a=o.getExtent(),l=this.renderedResolution,h=s.getTileGridForProjection(o),c=Bt(this.renderedPixelToCoordinateTransform_,t.slice()),u=h.getTileCoordForCoordAndResolution(c,l);let d;for(let t=0,e=this.renderedTiles.length;t0)return void e([]);const g=Ie(h.getTileCoordExtent(d.wrappedTileCoord)),f=[(c[0]-g[0])/l,(g[1]-c[1])/l],p=d.getSourceTiles().reduce((function(t,e){return t.concat(e.getFeatures())}),[]);let m=d.hitDetectionImageData[r];if(!m){const t=co(h.getTileSize(h.getZForResolution(l,s.zDirection))),e=this.renderedRotation_;m=wy(t,[this.getRenderTransform(h.getTileCoordCenter(d.wrappedTileCoord),l,0,vy,t[0]*vy,t[1]*vy,0)],p,n.getStyleFunction(),h.getTileCoordExtent(d.wrappedTileCoord),d.getReplayState(n).renderedResolution,e),d.hitDetectionImageData[r]=m}e(Sy(f,p,m))}))}handleFontsChanged(){const t=this.getLayer();t.getVisible()&&void 0!==this.renderedLayerRevision_&&t.changed()}handleStyleImageChange_(t){this.renderIfReadyAndVisible()}renderDeclutter(t,e){const i=this.context,n=i.globalAlpha;i.globalAlpha=e.opacity;const r=t.viewHints,s=!(r[xs]||r[vs]),o=this.renderedTiles;for(let e=0,i=o.length;e=0;--e)n[e].execute(this.context,[this.context.canvas.width,this.context.canvas.height],this.getTileRenderTransform(i,t),t.viewState.rotation,s,py,r?t.declutter[r]:void 0)}i.globalAlpha=n}renderDeferredInternal(t){const e=this.renderedTiles.reduce(((t,e,i)=>(e.executorGroups[U(this.getLayer())].forEach((e=>t.push({executorGroup:e,index:i}))),t)),[]),i=e.map((({executorGroup:t})=>t.getDeferredZIndexContexts()));i.map((t=>Object.keys(t))).flat().sort(s).map(Number).forEach((t=>{i.forEach(((i,n)=>{i[t]&&i[t].forEach((t=>{const{executorGroup:i,index:r}=e[n],s=i.getRenderedContext(),o=s.globalAlpha;s.globalAlpha=this.renderedOpacity_;const a=this.tileClipContexts_[r];a&&a.draw(s),t.draw(s),a&&s.restore(),s.globalAlpha=o,t.clear()}))}))}))}getTileRenderTransform(t,e){const i=e.pixelRatio,n=e.viewState,r=n.center,s=n.resolution,o=n.rotation,a=e.size,l=Math.round(a[0]*i),h=Math.round(a[1]*i),c=this.getLayer().getSource().getTileGridForProjection(e.viewState.projection),u=t.tileCoord,d=c.getTileCoordExtent(t.wrappedTileCoord),g=c.getTileCoordExtent(u,this.tmpExtent)[0]-d[0];return jt(Vt(this.inversePixelTransform.slice(),1/i,1/i),this.getRenderTransform(r,s,o,i,l,h,g))}postRender(t,e){const i=e.viewHints,n=!(i[xs]||i[vs]);this.renderedPixelToCoordinateTransform_=e.pixelToCoordinateTransform.slice(),this.renderedRotation_=e.viewState.rotation,this.renderedOpacity_=e.layerStatesArray[e.layerIndex].opacity;const r=this.getLayer(),s=r.getRenderMode(),o=t.globalAlpha;t.globalAlpha=this.renderedOpacity_;const a=r.getDeclutter(),l=a?by[s].filter((t=>!py.includes(t))):by[s],h=e.viewState,c=h.rotation,u=r.getSource(),d=u.getTileGridForProjection(h.projection).getZForResolution(h.resolution,u.zDirection),g=this.renderedTiles,f=[],p=[],m=[];let _=!0;for(let i=g.length-1;i>=0;--i){const s=g[i];_=_&&!s.getReplayState(r).dirty;const o=s.executorGroups[U(r)].filter((t=>t.hasExecutors(l)));if(0===o.length)continue;const h=this.getTileRenderTransform(s,e),u=s.tileCoord[0];let y=!1;const x=o[0].getClipCoords(h);let v,w=t;if(x){a&&(v=new Xg,w=v.getContext());for(let t=0,e=f.length;t0&&c.length>0;)f=c.pop(),r=l.pop(),o=h.pop(),_=f.toString(),_ in u||(n.push(o[0],o[1]),u[_]=!0),p=c.pop(),s=l.pop(),a=h.pop(),m=(f+p)/2,d=t(m),g=e(d),gi(g[0],g[1],o[0],o[1],a[0],a[1]){const e=t.get("graticule_label");return this.lonLabelStyleBase_.getText().setText(e),this.lonLabelStyleBase_},this.latLabelStyleBase_=new Da({text:void 0!==t.latLabelStyle?t.latLabelStyle.clone():new za({font:"12px Calibri,sans-serif",textAlign:"right",fill:new ba({color:"rgba(0,0,0,1)"}),stroke:new Pa({color:"rgba(255,255,255,1)",width:3})})}),this.latLabelStyle_=t=>{const e=t.get("graticule_label");return this.latLabelStyleBase_.getText().setText(e),this.latLabelStyleBase_},this.meridiansLabels_=[],this.parallelsLabels_=[],this.addEventListener(ps,this.drawLabels_.bind(this))),this.intervals_=void 0!==t.intervals?t.intervals:Ny,this.setSource(new Ed({loader:this.loaderFunction.bind(this),strategy:this.strategyFunction.bind(this),features:new Y,overlaps:!1,useSpatialIndex:!1,wrapX:t.wrapX})),this.featurePool_=[],this.lineStyle_=new Da({stroke:this.strokeStyle_}),this.loadedExtent_=null,this.renderedExtent_=null,this.renderedResolution_=null,this.setRenderOrder(null)}strategyFunction(t,e){let i=t.slice();return this.projection_&&this.getSource().getWrapX()&&Ge(i,this.projection_),this.loadedExtent_&&(de(this.loadedExtent_,i,e)?i=this.loadedExtent_.slice():this.getSource().removeLoadedExtent(this.loadedExtent_)),[i]}loaderFunction(t,e,i){this.loadedExtent_=t;const n=this.getSource(),r=Pe(this.getExtent()||[-1/0,-1/0,1/0,1/0],t);if(this.renderedExtent_&&ue(this.renderedExtent_,r)&&this.renderedResolution_===e)return;if(this.renderedExtent_=r,this.renderedResolution_=e,Ae(r))return;const s=Ee(r),o=e*e/4;(!this.projection_||!cn(this.projection_,i))&&this.updateProjectionInfo_(i),this.createGraticule_(r,s,e,o);let a,l=this.meridians_.length+this.parallels_.length;for(this.meridiansLabels_&&(l+=this.meridians_.length),this.parallelsLabels_&&(l+=this.parallels_.length);l>this.featurePool_.length;)a=new Dt,this.featurePool_.push(a);const h=n.getFeaturesCollection();h.clear();let c,u,d=0;for(c=0,u=this.meridians_.length;cMath.PI/2}const d=iu(t);for(let t=a;t<=l;++t){let i,n,c,g,f=this.meridians_.length+this.parallels_.length;if(this.meridiansLabels_)for(n=0,c=this.meridiansLabels_.length;n=a?(t[0]=o[0],t[2]=o[2]):s=!0);const l=[di(e[0],this.minX_,this.maxX_),di(e[1],this.minY_,this.maxY_)],h=this.toLonLatTransform_(l);isNaN(h[1])&&(h[1]=Math.abs(this.maxLat_)>=Math.abs(this.minLat_)?this.maxLat_:this.minLat_);let c=di(h[0],this.minLon_,this.maxLon_),u=di(h[1],this.minLat_,this.maxLat_);const d=this.maxLines_;let g,f,p,m,_=t;s||(_=[di(t[0],this.minX_,this.maxX_),di(t[1],this.minY_,this.maxY_),di(t[2],this.minX_,this.maxX_),di(t[3],this.minY_,this.maxY_)]);const y=ke(_,this.toLonLatTransform_,void 0,8);let x=y[3],v=y[2],w=y[1],S=y[0];if(s||(ie(_,this.bottomLeft_)&&(S=this.minLon_,w=this.minLat_),ie(_,this.bottomRight_)&&(v=this.maxLon_,w=this.minLat_),ie(_,this.topLeft_)&&(S=this.minLon_,x=this.maxLat_),ie(_,this.topRight_)&&(v=this.maxLon_,x=this.maxLat_),x=di(x,u,this.maxLat_),v=di(v,c,this.maxLon_),w=di(w,this.minLat_,u),S=di(S,this.minLon_,c)),c=Math.floor(c/r)*r,m=di(c,this.minLon_,this.maxLon_),f=this.addMeridian_(m,w,x,n,t,0),g=0,s)for(;(m-=r)>=S&&g++n[s]&&(r=s,s=1);const o=Math.max(e[1],n[r]),a=Math.min(e[3],n[s]),l=di(e[1]+Math.abs(e[1]-e[3])*this.lonLabelPosition_,o,a),h=[n[r-1]+(n[s-1]-n[r-1])*(l-n[r])/(n[s]-n[r]),l],c=this.meridiansLabels_[i].geom;return c.setCoordinates(h),c}getMeridians(){return this.meridians_}getParallel_(t,e,i,n,r){const s=Oy(t,e,i,this.projection_,n);let o=this.parallels_[r];return o?(o.setFlatCoordinates("XY",s),o.changed()):o=new nd(s,"XY"),o}getParallelPoint_(t,e,i){const n=t.getFlatCoordinates();let r=0,s=n.length-2;n[r]>n[s]&&(r=s,s=0);const o=Math.max(e[0],n[r]),a=Math.min(e[2],n[s]),l=di(e[0]+Math.abs(e[0]-e[2])*this.latLabelPosition_,o,a),h=[l,n[r+1]+(n[s+1]-n[r+1])*(l-n[r])/(n[s]-n[r])],c=this.parallelsLabels_[i].geom;return c.setCoordinates(h),c}getParallels(){return this.parallels_}updateProjectionInfo_(t){const e=en("EPSG:4326"),i=t.getWorldExtent();this.maxLat_=i[3],this.maxLon_=i[2],this.minLat_=i[1],this.minLon_=i[0];const n=dn(t,e);if(this.minLon_=Math.abs(this.minLat_)?this.maxLat_:this.minLat_),this.projection_=t}};const Gy="blur",jy="gradient",zy="radius",Uy=["#00f","#0ff","#0f0","#ff0","#f00"];var By=class extends Vl{constructor(t){t=t||{};const e=Object.assign({},t);delete e.gradient,delete e.radius,delete e.blur,delete e.weight,super(e),this.gradient_=null,this.addChangeListener(jy,this.handleGradientChanged_),this.setGradient(t.gradient?t.gradient:Uy),this.setBlur(void 0!==t.blur?t.blur:15),this.setRadius(void 0!==t.radius?t.radius:8);const i=t.weight?t.weight:"weight";this.weightFunction_="string"==typeof i?function(t){return t.get(i)}:i,this.setRenderOrder(null)}getBlur(){return this.get(Gy)}getGradient(){return this.get(jy)}getRadius(){return this.get(zy)}handleGradientChanged_(){this.gradient_=function(t){const e=1,i=256,n=mt(e,i),r=n.createLinearGradient(0,0,e,i),s=1/(t.length-1);for(let e=0,i=t.length;e{const e=this.weightFunction_(t);return void 0!==e?di(e,0,1):1}}],uniforms:{u_size:()=>2*(this.get(zy)+this.get(Gy)),u_blurSlope:()=>this.get(zy)/Math.max(1,this.get(Gy))},hitDetectionEnabled:!0,vertexShader:t.getSymbolVertexShader(),fragmentShader:t.getSymbolFragmentShader(),postProcesses:[{fragmentShader:"\n precision mediump float;\n\n uniform sampler2D u_image;\n uniform sampler2D u_gradientTexture;\n uniform float u_opacity;\n\n varying vec2 v_texCoord;\n\n void main() {\n vec4 color = texture2D(u_image, v_texCoord);\n gl_FragColor.a = color.a * u_opacity;\n gl_FragColor.rgb = texture2D(u_gradientTexture, vec2(0.5, color.a)).rgb;\n gl_FragColor.rgb *= gl_FragColor.a;\n }",uniforms:{u_gradientTexture:()=>this.gradient_,u_opacity:()=>this.getOpacity()}}]})}renderDeclutter(){}};var Xy=class extends Vl{constructor(t){t=t||{};const e=Object.assign({},t);delete e.imageRatio,super(e),this.imageRatio_=void 0!==t.imageRatio?t.imageRatio:1}getImageRatio(){return this.imageRatio_}createRenderer(){return new Ty(this)}};var Vy=class extends Vl{constructor(t){t=t||{};const e=Object.assign({},t);delete e.preload,delete e.useInterimTilesOnError,super(e),this.on,this.once,this.un;const i=t.renderMode||"hybrid";Mt("hybrid"==i||"vector"==i,"`renderMode` must be `'hybrid'` or `'vector'`"),this.renderMode_=i,this.setPreload(t.preload?t.preload:0),this.setUseInterimTilesOnError(void 0===t.useInterimTilesOnError||t.useInterimTilesOnError),this.getBackground,this.setBackground}createRenderer(){return new Ry(this)}getFeatures(t){return super.getFeatures(t)}getRenderMode(){return this.renderMode_}getPreload(){return this.get(qg)}getUseInterimTilesOnError(){return this.get(Kg)}setPreload(t){this.set(qg,t)}setUseInterimTilesOnError(t){this.set(Kg,t)}};var Wy=class extends Xs{constructor(t){super(Object.assign({},t)),this.parseResult_=e_(t.style),this.styleVariables_=t.style.variables||{},this.hitDetectionDisabled_=!!t.disableHitDetection}createRenderer(){const t=Object.keys(this.parseResult_.attributes).map((t=>({name:t,...this.parseResult_.attributes[t]})));return new l_(this,{vertexShader:this.parseResult_.builder.getSymbolVertexShader(),fragmentShader:this.parseResult_.builder.getSymbolFragmentShader(),hitDetectionEnabled:!this.hitDetectionDisabled_,uniforms:this.parseResult_.uniforms,attributes:t})}updateStyleVariables(t){Object.assign(this.styleVariables_,t),this.changed()}};function Zy(t,e){const i=`\n attribute vec2 ${wm.TEXTURE_COORD};\n uniform mat4 ${vm.TILE_TRANSFORM};\n uniform float ${vm.TEXTURE_PIXEL_WIDTH};\n uniform float ${vm.TEXTURE_PIXEL_HEIGHT};\n uniform float ${vm.TEXTURE_RESOLUTION};\n uniform float ${vm.TEXTURE_ORIGIN_X};\n uniform float ${vm.TEXTURE_ORIGIN_Y};\n uniform float ${vm.DEPTH};\n\n varying vec2 v_textureCoord;\n varying vec2 v_mapCoord;\n\n void main() {\n v_textureCoord = ${wm.TEXTURE_COORD};\n v_mapCoord = vec2(\n ${vm.TEXTURE_ORIGIN_X} + ${vm.TEXTURE_RESOLUTION} * ${vm.TEXTURE_PIXEL_WIDTH} * v_textureCoord[0],\n ${vm.TEXTURE_ORIGIN_Y} - ${vm.TEXTURE_RESOLUTION} * ${vm.TEXTURE_PIXEL_HEIGHT} * v_textureCoord[1]\n );\n gl_Position = ${vm.TILE_TRANSFORM} * vec4(${wm.TEXTURE_COORD}, ${vm.DEPTH}, 1.0);\n }\n `,n={inFragmentShader:!1,variables:{},properties:{},functions:{},bandCount:0,style:{},inFragmentShader:!0,bandCount:e,style:t},r=[];if(void 0!==t.color){const e=Zm(n,t.color,Za);r.push(`color = ${e};`)}if(void 0!==t.contrast){const e=Zm(n,t.contrast,Va);r.push(`color.rgb = clamp((${e} + 1.0) * color.rgb - (${e} / 2.0), vec3(0.0, 0.0, 0.0), vec3(1.0, 1.0, 1.0));`)}if(void 0!==t.exposure){const e=Zm(n,t.exposure,Va);r.push(`color.rgb = clamp((${e} + 1.0) * color.rgb, vec3(0.0, 0.0, 0.0), vec3(1.0, 1.0, 1.0));`)}if(void 0!==t.saturation){const e=Zm(n,t.saturation,Va);r.push(`\n float saturation = ${e} + 1.0;\n float sr = (1.0 - saturation) * 0.2126;\n float sg = (1.0 - saturation) * 0.7152;\n float sb = (1.0 - saturation) * 0.0722;\n mat3 saturationMatrix = mat3(\n sr + saturation, sr, sr,\n sg, sg + saturation, sg,\n sb, sb, sb + saturation\n );\n color.rgb = clamp(saturationMatrix * color.rgb, vec3(0.0, 0.0, 0.0), vec3(1.0, 1.0, 1.0));\n `)}if(void 0!==t.gamma){const e=Zm(n,t.gamma,Va);r.push(`color.rgb = pow(color.rgb, vec3(1.0 / ${e}));`)}if(void 0!==t.brightness){const e=Zm(n,t.brightness,Va);r.push(`color.rgb = clamp(color.rgb + ${e}, vec3(0.0, 0.0, 0.0), vec3(1.0, 1.0, 1.0));`)}const s={},o=Object.keys(n.variables).length;if(o>1&&!t.variables)throw new Error(`Missing variables in style (expected ${n.variables})`);for(let e=0;e ${vm.RENDER_EXTENT}[2] ||\n v_mapCoord[1] > ${vm.RENDER_EXTENT}[3]\n ) {\n discard;\n }\n\n vec4 color = texture2D(${vm.TILE_TEXTURE_ARRAY}[0], v_textureCoord);\n\n ${r.join("\n")}\n\n gl_FragColor = color;\n gl_FragColor.rgb *= gl_FragColor.a;\n gl_FragColor *= ${vm.TRANSITION_ALPHA};\n }`,uniforms:s,paletteTextures:n.paletteTextures}}class $y extends Hg{constructor(t){const e=(t=t?Object.assign({},t):{}).style||{};delete t.style;const i=t.cacheSize;delete t.cacheSize,super(t),this.sources_=t.sources,this.renderedSource_=null,this.renderedResolution_=NaN,this.style_=e,this.cacheSize_=i,this.styleVariables_=this.style_.variables||{},this.addChangeListener(us,this.handleSourceUpdate_)}getSources(t,e){const i=this.getSource();return this.sources_?"function"==typeof this.sources_?this.sources_(t,e):this.sources_:i?[i]:[]}getRenderSource(){return this.renderedSource_||this.getSource()}getSourceState(){const t=this.getRenderSource();return t?t.getState():"undefined"}handleSourceUpdate_(){this.hasRenderer()&&this.getRenderer().clearCache(),this.getSource()&&this.setStyle(this.style_)}getSourceBandCount_(){const t=Number.MAX_SAFE_INTEGER,e=this.getSources([-t,-t,t,t],t);return e&&e.length&&"bandCount"in e[0]?e[0].bandCount:4}createRenderer(){const t=Zy(this.style_,this.getSourceBandCount_());return new Em(this,{vertexShader:t.vertexShader,fragmentShader:t.fragmentShader,uniforms:t.uniforms,cacheSize:this.cacheSize_,paletteTextures:t.paletteTextures})}renderSources(t,e){const i=this.getRenderer();let n;for(let r=0,s=e.length;r{"ready"==e.getState()&&(e.removeEventListener("change",t),this.changed())};e.addEventListener("change",t)}r=r&&"ready"==i}const s=this.renderSources(t,n);if(this.getRenderer().renderComplete&&r)return this.renderedResolution_=i.resolution,s;if(this.renderedResolution_>.5*i.resolution){const e=this.getSources(t.extent,this.renderedResolution_).filter((t=>!n.includes(t)));if(e.length>0)return this.renderSources(t,e)}return s}setStyle(t){this.styleVariables_=t.variables||{},this.style_=t;const e=Zy(this.style_,this.getSourceBandCount_());this.getRenderer().reset({vertexShader:e.vertexShader,fragmentShader:e.fragmentShader,uniforms:e.uniforms,paletteTextures:e.paletteTextures}),this.changed()}updateStyleVariables(t){Object.assign(this.styleVariables_,t),this.changed()}}$y.prototype.dispose;var Yy=$y;var qy=class extends Ph{constructor(t){const e=t||{};super(e),e.stopDown&&(this.stopDown=e.stopDown),this.scaleDeltaByPixel_=e.delta?e.delta:.01,this.duration_=void 0!==e.duration?e.duration:250,this.handlingDownUpSequence_=!1,this.handlingDoubleDownSequence_=!1,this.doubleTapTimeoutId_=void 0,this.trackedPointers_={},this.targetPointers=[]}handleEvent(t){if(!t.originalEvent)return!0;let e=!1;if(this.updateTrackedPointers_(t),this.handlingDownUpSequence_){if(t.type==eh.POINTERDRAG)this.handleDragEvent(t),t.originalEvent.preventDefault();else if(t.type==eh.POINTERUP){const e=this.handleUpEvent(t);this.handlingDownUpSequence_=e}}else if(t.type==eh.POINTERDOWN)if(this.handlingDoubleDownSequence_){this.handlingDoubleDownSequence_=!1;const i=this.handleDownEvent(t);this.handlingDownUpSequence_=i,e=this.stopDown(i)}else e=this.stopDown(!1),this.waitForDblTap_();return!e}handleDragEvent(t){let e=1;const i=this.targetPointers[0],n=this.down_.originalEvent,r=i.clientY-n.clientY;void 0!==this.lastDistance_&&(e=1-(this.lastDistance_-r)*this.scaleDeltaByPixel_),this.lastDistance_=r,1!=e&&(this.lastScaleDelta_=e);const s=t.map,o=s.getView();s.render(),o.adjustResolutionInternal(e)}handleDownEvent(t){if(1==this.targetPointers.length){const e=t.map;return this.anchor_=null,this.lastDistance_=void 0,this.lastScaleDelta_=1,this.down_=t,this.handlingDownUpSequence_||e.getView().beginInteraction(),!0}return!1}handleUpEvent(t){if(0==this.targetPointers.length){const e=t.map.getView(),i=this.lastScaleDelta_>1?1:-1;return e.endInteraction(this.duration_,i),this.handlingDownUpSequence_=!1,this.handlingDoubleDownSequence_=!1,!1}return!0}stopDown(t){return t}updateTrackedPointers_(t){if(function(t){const e=t.type;return e===eh.POINTERDOWN||e===eh.POINTERDRAG||e===eh.POINTERUP}(t)){const e=t.originalEvent,i=e.pointerId.toString();t.type==eh.POINTERUP?delete this.trackedPointers_[i]:(t.type==eh.POINTERDOWN||i in this.trackedPointers_)&&(this.trackedPointers_[i]=e),this.targetPointers=Object.values(this.trackedPointers_)}}waitForDblTap_(){void 0!==this.doubleTapTimeoutId_?(clearTimeout(this.doubleTapTimeoutId_),this.doubleTapTimeoutId_=void 0):(this.handlingDoubleDownSequence_=!0,this.doubleTapTimeoutId_=setTimeout(this.endInteraction_.bind(this),250))}endInteraction_(){this.handlingDoubleDownSequence_=!1,this.doubleTapTimeoutId_=void 0}};const Ky="addfeatures";class Hy extends e{constructor(t,e,i,n){super(t),this.features=i,this.file=e,this.projection=n}}var Jy=class extends Ph{constructor(t){t=t||{},super({handleEvent:d}),this.on,this.once,this.un,this.readAsBuffer_=!1,this.formats_=[];const e=t.formatConstructors?t.formatConstructors:[];for(let t=0,i=e.length;t0){this.source_&&(this.source_.clear(),this.source_.addFeatures(l)),this.dispatchEvent(new Hy(Ky,t,l,s));break}}}registerListeners_(){const t=this.getMap();if(t){const e=this.target?this.target:t.getViewport();this.dropListenKeys_=[A(e,R,this.handleDrop,this),A(e,C,this.handleStop,this),A(e,b,this.handleStop,this),A(e,R,this.handleStop,this)]}}setActive(t){!this.getActive()&&t&&this.registerListeners_(),this.getActive()&&!t&&this.unregisterListeners_(),super.setActive(t)}setMap(t){this.unregisterListeners_(),super.setMap(t),this.getActive()&&this.registerListeners_()}tryReadFeatures_(t,e,i){try{return t.readFeatures(e,i)}catch(t){return null}}unregisterListeners_(){this.dropListenKeys_&&(this.dropListenKeys_.forEach(D),this.dropListenKeys_=null)}handleDrop(t){const e=t.dataTransfer.files;for(let t=0,i=e.length;t1?1:-1;return e.endInteraction(this.duration_,i),this.lastScaleDelta_=0,!1}handleDownEvent(t){return!!Wh(t)&&(!!this.condition_(t)&&(t.map.getView().beginInteraction(),this.lastAngle_=void 0,this.lastMagnitude_=void 0,!0))}};const tx="drawstart",ex="drawend",ix="drawabort";class nx extends e{constructor(t,e){super(t),this.feature=e}}function rx(t,e){return fi(t[0],t[1],e[0],e[1])}function sx(t,e){const i=t.length;return e<0?t[e+i]:e>=i?t[e-i]:t[e]}function ox(t,e,i){let n,r;eo){return rx(dx(t,n),dx(t,r))}let a=0;if(n=i?n-=i:n<0&&(n+=i);let s=n+1;s>=i&&(s-=i);const o=t[n],a=o[0],l=o[1],h=t[s];return[a+(h[0]-a)*r,l+(h[1]-l)*r]}function gx(){const t=Aa();return function(e,i){return t[e.getGeometry().getType()]}}var fx=class extends Fh{constructor(t){const e=t;e.stopDown||(e.stopDown=g),super(e),this.on,this.once,this.un,this.shouldHandle_=!1,this.downPx_=null,this.downTimeout_,this.lastDragTime_,this.pointerType_,this.freehand_=!1,this.source_=t.source?t.source:null,this.features_=t.features?t.features:null,this.snapTolerance_=t.snapTolerance?t.snapTolerance:12,this.type_=t.type,this.mode_=function(t){switch(t){case"Point":case"MultiPoint":return"Point";case"LineString":case"MultiLineString":return"LineString";case"Polygon":case"MultiPolygon":return"Polygon";case"Circle":return"Circle";default:throw new Error("Invalid type: "+t)}}(this.type_),this.stopClick_=!!t.stopClick,this.minPoints_=t.minPoints?t.minPoints:"Polygon"===this.mode_?3:2,this.maxPoints_="Circle"===this.mode_?2:t.maxPoints?t.maxPoints:1/0,this.finishCondition_=t.finishCondition?t.finishCondition:d,this.geometryLayout_=t.geometryLayout?t.geometryLayout:"XY";let i=t.geometryFunction;if(!i){const t=this.mode_;if("Circle"===t)i=function(t,e,i){const n=e||new Yu([NaN,NaN]),r=xn(t[0],i),s=Oi(r,xn(t[t.length-1],i));n.setCenterAndRadius(r,Math.sqrt(s),this.geometryLayout_);const o=_n();return o&&n.transform(i,o),n};else{let e;"Point"===t?e=hr:"LineString"===t?e=nd:"Polygon"===t&&(e=Lr),i=function(i,n,r){return n?"Polygon"===t?i[0].length?n.setCoordinates([i[0].concat([i[0][0]])],this.geometryLayout_):n.setCoordinates([],this.geometryLayout_):n.setCoordinates(i,this.geometryLayout_):n=new e(i,this.geometryLayout_),n}}}this.geometryFunction_=i,this.dragVertexDelay_=void 0!==t.dragVertexDelay?t.dragVertexDelay:500,this.finishCoordinate_=null,this.sketchFeature_=null,this.sketchPoint_=null,this.sketchCoords_=null,this.sketchLine_=null,this.sketchLineCoords_=null,this.squaredClickTolerance_=t.clickTolerance?t.clickTolerance*t.clickTolerance:36,this.overlay_=new Fy({source:new Ed({useSpatialIndex:!1,wrapX:!!t.wrapX&&t.wrapX}),style:t.style?t.style:gx(),updateWhileInteracting:!0}),this.geometryName_=t.geometryName,this.condition_=t.condition?t.condition:Uh,this.freehandCondition_,t.freehand?this.freehandCondition_=kh:this.freehandCondition_=t.freehandCondition?t.freehandCondition:Xh,this.traceCondition_,this.setTrace(t.trace||!1),this.traceState_={active:!1},this.traceSource_=t.traceSource||t.source||null,this.addChangeListener(Ch,this.updateState_)}setTrace(t){let e;e=t?!0===t?kh:t:jh,this.traceCondition_=e}setMap(t){super.setMap(t),this.updateState_()}getOverlay(){return this.overlay_}handleEvent(t){t.originalEvent.type===S&&t.originalEvent.preventDefault(),this.freehand_="Point"!==this.mode_&&this.freehandCondition_(t);let e=t.type===eh.POINTERMOVE,i=!0;if(!this.freehand_&&this.lastDragTime_&&t.type===eh.POINTERDRAG){Date.now()-this.lastDragTime_>=this.dragVertexDelay_?(this.downPx_=t.pixel,this.shouldHandle_=!this.freehand_,e=!0):this.lastDragTime_=void 0,this.shouldHandle_&&void 0!==this.downTimeout_&&(clearTimeout(this.downTimeout_),this.downTimeout_=void 0)}return this.freehand_&&t.type===eh.POINTERDRAG&&null!==this.sketchFeature_?(this.addToDrawing_(t.coordinate),i=!1):this.freehand_&&t.type===eh.POINTERDOWN?i=!1:e&&this.getPointerCount()<2?(i=t.type===eh.POINTERMOVE,i&&this.freehand_?(this.handlePointerMove_(t),this.shouldHandle_&&t.originalEvent.preventDefault()):("mouse"===t.originalEvent.pointerType||t.type===eh.POINTERDRAG&&void 0===this.downTimeout_)&&this.handlePointerMove_(t)):t.type===eh.DBLCLICK&&(i=!1),super.handleEvent(t)&&i}handleDownEvent(t){return this.shouldHandle_=!this.freehand_,this.freehand_?(this.downPx_=t.pixel,this.finishCoordinate_||this.startDrawing_(t.coordinate),!0):this.condition_(t)?(this.lastDragTime_=Date.now(),this.downTimeout_=setTimeout((()=>{this.handlePointerMove_(new th(eh.POINTERMOVE,t.map,t.originalEvent,!1,t.frameState))}),this.dragVertexDelay_),this.downPx_=t.pixel,!0):(this.lastDragTime_=void 0,!1)}deactivateTrace_(){this.traceState_={active:!1}}toggleTraceState_(t){if(!this.traceSource_||!this.traceCondition_(t))return;if(this.traceState_.active)return void this.deactivateTrace_();const e=this.getMap(),i=Jt([e.getCoordinateFromPixel([t.pixel[0]-this.snapTolerance_,t.pixel[1]+this.snapTolerance_]),e.getCoordinateFromPixel([t.pixel[0]+this.snapTolerance_,t.pixel[1]-this.snapTolerance_])]),n=this.traceSource_.getFeaturesInExtent(i);if(0===n.length)return;const r=function(t,e){const i=[];for(let n=0;nt.endIndex||!i&&et.endIndex)&&this.removeTracedCoordinates_(e,t.endIndex):(this.removeTracedCoordinates_(t.startIndex,t.endIndex),this.addTracedCoordinates_(t,t.startIndex,e))}removeTracedCoordinates_(t,e){if(t===e)return;let i=0;if(t0&&this.removeLastPoints_(i)}addTracedCoordinates_(t,e,i){if(e===i)return;const n=[];if(e=s;--e)n.push(sx(t.coordinates,e))}n.length&&this.appendCoordinates(n)}updateTrace_(t){const e=this.traceState_;if(!e.active)return;if(-1===e.targetIndex&&Di(e.startPx,t.pixel)i.startIndex?hi.startIndex&&(h-=n.length)),l=h,a=t)}const h=e.targets[a];let c=h.ring;if(e.targetIndex===a&&c){const t=dx(h.coordinates,l);Di(i.getPixelFromCoordinate(t),e.startPx)>n&&(c=!1)}if(c){const t=h.coordinates,e=t.length,i=h.startIndex,n=l;if(ithis.squaredClickTolerance_:s<=this.squaredClickTolerance_,!this.shouldHandle_)return}this.finishCoordinate_?(this.updateTrace_(t),this.modifyDrawing_(t.coordinate)):this.createOrUpdateSketchPoint_(t.coordinate.slice())}atFinish_(t,e){let i=!1;if(this.sketchFeature_){let n=!1,r=[this.finishCoordinate_];const s=this.mode_;if("Point"===s)i=!0;else if("Circle"===s)i=2===this.sketchCoords_.length;else if("LineString"===s)n=!e&&this.sketchCoords_.length>this.minPoints_;else if("Polygon"===s){const t=this.sketchCoords_;n=t[0].length>this.minPoints_,r=[t[0][0],t[0][t[0].length-2]],r=e?[t[0][0]]:[t[0][0],t[0][t[0].length-2]]}if(n){const e=this.getMap();for(let n=0,s=r.length;n=this.maxPoints_&&(this.freehand_?r.pop():n=!0),r.push(t.slice()),this.geometryFunction_(r,e,i)):"Polygon"===s&&(r=this.sketchCoords_[0],r.length>=this.maxPoints_&&(this.freehand_?r.pop():n=!0),r.push(t.slice()),n&&(this.finishCoordinate_=r[0]),this.geometryFunction_(this.sketchCoords_,e,i)),this.createOrUpdateSketchPoint_(t.slice()),this.updateSketchFeatures_(),n?this.finishDrawing():this.sketchFeature_}removeLastPoints_(t){if(!this.sketchFeature_)return;const e=this.sketchFeature_.getGeometry(),i=this.getMap().getView().getProjection(),n=this.mode_;for(let r=0;r=2){this.finishCoordinate_=t[t.length-2].slice();const e=this.finishCoordinate_.slice();t[t.length-1]=e,this.createOrUpdateSketchPoint_(e)}this.geometryFunction_(t,e,i),"Polygon"===e.getType()&&this.sketchLine_&&this.createOrUpdateCustomSketchLine_(e)}else if("Polygon"===n){t=this.sketchCoords_[0],t.splice(-2,1);const n=this.sketchLine_.getGeometry();if(t.length>=2){const e=t[t.length-2].slice();t[t.length-1]=e,this.createOrUpdateSketchPoint_(e)}n.setCoordinates(t),this.geometryFunction_(this.sketchCoords_,e,i)}if(1===t.length){this.abortDrawing();break}}this.updateSketchFeatures_()}removeLastPoint(){this.removeLastPoints_(1)}finishDrawing(){const t=this.abortDrawing_();if(!t)return null;let e=this.sketchCoords_;const i=t.getGeometry(),n=this.getMap().getView().getProjection();return"LineString"===this.mode_?(e.pop(),this.geometryFunction_(e,i,n)):"Polygon"===this.mode_&&(e[0].pop(),this.geometryFunction_(e,i,n),e=i.getCoordinates()),"MultiPoint"===this.type_?t.setGeometry(new ad([e])):"MultiLineString"===this.type_?t.setGeometry(new sd([e])):"MultiPolygon"===this.type_&&t.setGeometry(new cd([e])),this.dispatchEvent(new nx(ex,t)),this.features_&&this.features_.push(t),this.source_&&this.source_.addFeature(t),t}abortDrawing_(){this.finishCoordinate_=null;const t=this.sketchFeature_;return this.sketchFeature_=null,this.sketchPoint_=null,this.sketchLine_=null,this.overlay_.getSource().clear(!0),this.deactivateTrace_(),t}abortDrawing(){const t=this.abortDrawing_();t&&this.dispatchEvent(new nx(ix,t))}appendCoordinates(t){const e=this.mode_,i=!this.sketchFeature_;let n;if(i&&this.startDrawing_(t[0]),"LineString"===e||"Circle"===e)n=this.sketchCoords_;else{if("Polygon"!==e)return;n=this.sketchCoords_&&this.sketchCoords_.length?this.sketchCoords_[0]:[]}i&&n.shift(),n.pop();for(let e=0;er?o[1]:o[0]),a}}return null}handlePointerMove_(t){const e=t.pixel,i=t.map;let n=this.snapToVertex_(e,i);n||(n=i.getCoordinateFromPixelInternal(e)),this.createOrUpdatePointerFeature_(n)}createOrUpdateExtentFeature_(t){let e=this.extentFeature_;return e?t?e.setGeometry(Mr(t)):e.setGeometry(void 0):(e=new Dt(t?Mr(t):{}),this.extentFeature_=e,this.extentOverlay_.getSource().addFeature(e)),e}createOrUpdatePointerFeature_(t){let e=this.vertexFeature_;if(e){e.getGeometry().setCoordinates(t)}else e=new Dt(new hr(t)),this.vertexFeature_=e,this.vertexOverlay_.getSource().addFeature(e);return e}handleEvent(t){return!t.originalEvent||!this.condition_(t)||(t.type!=eh.POINTERMOVE||this.handlingDownUpSequence||this.handlePointerMove_(t),super.handleEvent(t),!1)}handleDownEvent(t){const e=t.pixel,i=t.map,n=this.getExtentInternal();let r=this.snapToVertex_(e,i);const s=function(t){let e=null,i=null;return t[0]==n[0]?e=n[2]:t[0]==n[2]&&(e=n[0]),t[1]==n[1]?i=n[3]:t[1]==n[3]&&(i=n[1]),null!==e&&null!==i?[e,i]:null};if(r&&n){const t=r[0]==n[0]||r[0]==n[2]?r[0]:null,e=r[1]==n[1]||r[1]==n[3]?r[1]:null;null!==t&&null!==e?this.pointerHandler_=xx(s(r)):null!==t?this.pointerHandler_=vx(s([t,n[1]]),s([t,n[3]])):null!==e&&(this.pointerHandler_=vx(s([n[0],e]),s([n[2],e])))}else r=i.getCoordinateFromPixelInternal(e),this.setExtent([r[0],r[1],r[0],r[1]]),this.pointerHandler_=xx(r);return!0}handleDragEvent(t){if(this.pointerHandler_){const e=t.coordinate;this.setExtent(this.pointerHandler_(e)),this.createOrUpdatePointerFeature_(e)}}handleUpEvent(t){this.pointerHandler_=null;const e=this.getExtentInternal();return e&&0!==ve(e)||this.setExtent(null),!1}setMap(t){this.extentOverlay_.setMap(t),this.vertexOverlay_.setMap(t),super.setMap(t)}getExtent(){return vn(this.getExtentInternal(),this.getMap().getView().getProjection())}getExtentInternal(){return this.extent_}setExtent(t){this.extent_=t||null,this.createOrUpdateExtentFeature_(t),this.dispatchEvent(new mx(this.extent_))}};function Sx(t){return parseFloat(t)}function Ex(t){return function(t){return vi(t,5)}(t).toString()}function Tx(t,e){return!isNaN(t)&&t!==Sx(Ex(e))}var Cx=class extends Ph{constructor(t){let e;super(),e=!0===(t=Object.assign({animate:!0,params:["x","y","z","r","l"],replace:!1,prefix:""},t||{})).animate?{duration:250}:t.animate?t.animate:null,this.animationOptions_=e,this.params_=t.params.reduce(((t,e)=>(t[e]=!0,t)),{}),this.replace_=t.replace,this.prefix_=t.prefix,this.listenerKeys_=[],this.initial_=!0,this.updateState_=this.updateState_.bind(this),this.trackedCallbacks_={},this.trackedValues_={}}getParamName_(t){return this.prefix_?this.prefix_+t:t}get_(t,e){return t.get(this.getParamName_(e))}set_(t,e,i){e in this.params_&&t.set(this.getParamName_(e),i)}delete_(t,e){e in this.params_&&t.delete(this.getParamName_(e))}setMap(t){const e=this.getMap();super.setMap(t),t!==e&&(e&&this.unregisterListeners_(e),t&&(this.initial_=!0,this.updateState_(),this.registerListeners_(t)))}registerListeners_(t){this.listenerKeys_.push(A(t,hh,this.updateUrl_,this),A(t.getLayerGroup(),v,this.updateUrl_,this),A(t,"change:layergroup",this.handleChangeLayerGroup_,this)),this.replace_||addEventListener("popstate",this.updateState_)}unregisterListeners_(t){for(let t=0,e=this.listenerKeys_.length;t=0;--t){const n=i[t];for(let t=this.dragSegments_.length-1;t>=0;--t)this.dragSegments_[t][0]===n&&this.dragSegments_.splice(t,1);e.remove(n)}}setActive(t){this.vertexFeature_&&!t&&(this.overlay_.getSource().removeFeature(this.vertexFeature_),this.vertexFeature_=null),super.setActive(t)}setMap(t){this.overlay_.setMap(t),super.setMap(t)}getOverlay(){return this.overlay_}handleSourceAdd_(t){t.feature&&this.features_.push(t.feature)}handleSourceRemove_(t){t.feature&&this.features_.remove(t.feature)}handleFeatureAdd_(t){this.addFeature_(t.element)}handleFeatureChange_(t){if(!this.changingFeature_){const e=t.target;this.removeFeature_(e),this.addFeature_(e)}}handleFeatureRemove_(t){this.removeFeature_(t.element)}writePointGeometry_(t,e){const i=e.getCoordinates(),n={feature:t,geometry:e,segment:[i,i]};this.rBush_.insert(e.getExtent(),n)}writeMultiPointGeometry_(t,e){const i=e.getCoordinates();for(let n=0,r=i.length;n=0;--t)this.insertVertex_(r[t],s)}return!!this.vertexFeature_}handleUpEvent(t){for(let e=this.dragSegments_.length-1;e>=0;--e){const i=this.dragSegments_[e][0],n=i.geometry;if("Circle"===n.getType()){const e=n.getCenter(),r=i.featureSegments[0],s=i.featureSegments[1];r.segment[0]=e,r.segment[1]=e,s.segment[0]=e,s.segment[1]=e,this.rBush_.update(he(e),r);let o=n;const a=_n();if(a){const e=t.map.getView().getProjection();o=o.clone().transform(a,e),o=Ar(o).transform(e,a)}this.rBush_.update(o.getExtent(),s)}else this.rBush_.update(Jt(i.segment),i)}return this.featuresBeingModified_&&(this.dispatchEvent(new Lx(Ix,this.featuresBeingModified_,t)),this.featuresBeingModified_=null),!1}handlePointerMove_(t){this.lastPixel_=t.pixel,this.handlePointerAtPixel_(t.pixel,t.map,t.coordinate)}handlePointerAtPixel_(t,e,i){const n=i||e.getCoordinateFromPixel(t),r=e.getView().getProjection(),s=function(t,e){return Mx(n,t,r)-Mx(n,e,r)};let o,a;if(this.hitDetection_){const i="object"==typeof this.hitDetection_?t=>t===this.hitDetection_:void 0;e.forEachFeatureAtPixel(t,((t,e,i)=>{i&&"Point"===i.getType()&&(i=new hr(yn(i.getCoordinates(),r)));const n=i||t.getGeometry();if(t instanceof Dt&&this.features_.getArray().includes(t)){a=n;const e=t.getGeometry().getFlatCoordinates().slice(0,2);o=[{feature:t,geometry:a,segment:[e,e]}]}return!0}),{layerFilter:i})}if(!o){const t=vn(Qt(wn(he(n,bx),r),e.getView().getResolution()*this.pixelTolerance_,bx),r);o=this.rBush_.getInExtent(t)}if(o&&o.length>0){const i=o.sort(s)[0],l=i.segment;let h=Ax(n,i,r);const c=e.getPixelFromCoordinate(h);let u=Di(t,c);if(a||u<=this.pixelTolerance_){const t={};if(t[U(l)]=!0,this.snapToPointer_||(this.delta_[0]=h[0]-n[0],this.delta_[1]=h[1]-n[1]),"Circle"===i.geometry.getType()&&1===i.index)this.snappedToVertex_=!0,this.createOrUpdateVertexFeature_(h,[i.feature],[i.geometry]);else{const n=e.getPixelFromCoordinate(l[0]),r=e.getPixelFromCoordinate(l[1]),s=Oi(c,n),a=Oi(c,r);u=Math.sqrt(Math.min(s,a)),this.snappedToVertex_=u<=this.pixelTolerance_,this.snappedToVertex_&&(h=s>a?l[1]:l[0]),this.createOrUpdateVertexFeature_(h,[i.feature],[i.geometry]);const d={};d[U(i.geometry)]=!0;for(let e=1,i=o.length;e=0;--o)r=t[o],u=r[0],d=U(u.feature),u.depth&&(d+="-"+u.depth.join("-")),d in e||(e[d]={}),0===r[1]?(e[d].right=u,e[d].index=u.index):1==r[1]&&(e[d].left=u,e[d].index=u.index+1);for(d in e){switch(c=e[d].right,l=e[d].left,a=e[d].index,h=a-1,u=void 0!==l?l:c,h<0&&(h=0),s=u.geometry,n=s.getCoordinates(),i=n,g=!1,s.getType()){case"MultiLineString":n[u.depth[0]].length>2&&(n[u.depth[0]].splice(a,1),g=!0);break;case"LineString":n.length>2&&(n.splice(a,1),g=!0);break;case"MultiPolygon":i=i[u.depth[1]];case"Polygon":i=i[u.depth[0]],i.length>4&&(a==i.length-1&&(a=0),i.splice(a,1),g=!0,0===a&&(i.pop(),i.push(i[0]),h=i.length-1))}if(g){this.setGeometryCoordinates_(s,n);const e=[];if(void 0!==l&&(this.rBush_.remove(l),e.push(l.segment[0])),void 0!==c&&(this.rBush_.remove(c),e.push(c.segment[1])),void 0!==l&&void 0!==c){const t={depth:u.depth,feature:u.feature,geometry:u.geometry,index:h,segment:e};this.rBush_.insert(Jt(t.segment),t)}this.updateSegmentIndices_(s,a,u.depth,-1),this.vertexFeature_&&(this.overlay_.getSource().removeFeature(this.vertexFeature_),this.vertexFeature_=null),t.length=0}}return g}setGeometryCoordinates_(t,e){this.changingFeature_=!0,t.setCoordinates(e),this.changingFeature_=!1}updateSegmentIndices_(t,e,i,n){this.rBush_.forEachInExtent(t.getExtent(),(function(r){r.geometry===t&&(void 0===i||void 0===r.depth||c(r.depth,i))&&r.index>e&&(r.index+=n)}))}};const Nx="select";class kx extends e{constructor(t,e,i,n){super(t),this.selected=e,this.deselected=i,this.mapBrowserEvent=n}}const Gx={};class jx extends Ph{constructor(t){let e;if(super(),this.on,this.once,this.un,t=t||{},this.boundAddFeature_=this.addFeature_.bind(this),this.boundRemoveFeature_=this.removeFeature_.bind(this),this.condition_=t.condition?t.condition:zh,this.addCondition_=t.addCondition?t.addCondition:jh,this.removeCondition_=t.removeCondition?t.removeCondition:jh,this.toggleCondition_=t.toggleCondition?t.toggleCondition:Xh,this.multi_=!!t.multi&&t.multi,this.filter_=t.filter?t.filter:d,this.hitTolerance_=t.hitTolerance?t.hitTolerance:0,this.style_=void 0!==t.style?t.style:function(){const t=Aa();return h(t.Polygon,t.LineString),h(t.GeometryCollection,t.LineString),function(e){return e.getGeometry()?t[e.getGeometry().getType()]:null}}(),this.features_=t.features||new Y,t.layers)if("function"==typeof t.layers)e=t.layers;else{const i=t.layers;e=function(t){return i.includes(t)}}else e=d;this.layerFilter_=e,this.featureLayerAssociation_={}}addFeatureLayerAssociation_(t,e){this.featureLayerAssociation_[U(t)]=e}getFeatures(){return this.features_}getHitTolerance(){return this.hitTolerance_}getLayer(t){return this.featureLayerAssociation_[U(t)]}setHitTolerance(t){this.hitTolerance_=t}setMap(t){this.getMap()&&this.style_&&this.features_.forEach(this.restorePreviousStyle_.bind(this)),super.setMap(t),t?(this.features_.addEventListener(V,this.boundAddFeature_),this.features_.addEventListener(W,this.boundRemoveFeature_),this.style_&&this.features_.forEach(this.applySelectedStyle_.bind(this))):(this.features_.removeEventListener(V,this.boundAddFeature_),this.features_.removeEventListener(W,this.boundRemoveFeature_))}addFeature_(t){const e=t.element;if(this.style_&&this.applySelectedStyle_(e),!this.getLayer(e)){const t=this.getMap().getAllLayers().find((function(t){if(t instanceof Fy&&t.getSource()&&t.getSource().hasFeature(e))return t}));t&&this.addFeatureLayerAssociation_(e,t)}}removeFeature_(t){this.style_&&this.restorePreviousStyle_(t.element)}getStyle(){return this.style_}applySelectedStyle_(t){const e=U(t);e in Gx||(Gx[e]=t.getStyle()),t.setStyle(this.style_)}restorePreviousStyle_(t){const e=this.getMap().getInteractions().getArray();for(let i=e.length-1;i>=0;--i){const n=e[i];if(n!==this&&n instanceof jx&&n.getStyle()&&-1!==n.getFeatures().getArray().lastIndexOf(t))return void t.setStyle(n.getStyle())}const i=U(t);t.setStyle(Gx[i]),delete Gx[i]}removeFeatureLayerAssociation_(t){delete this.featureLayerAssociation_[U(t)]}handleEvent(t){if(!this.condition_(t))return!0;const e=this.addCondition_(t),i=this.removeCondition_(t),n=this.toggleCondition_(t),r=!e&&!i&&!n,s=t.map,o=this.getFeatures(),a=[],l=[];if(r){_(this.featureLayerAssociation_),s.forEachFeatureAtPixel(t.pixel,((t,e)=>{if(t instanceof Dt&&this.filter_(t,e))return this.addFeatureLayerAssociation_(t,e),l.push(t),!this.multi_}),{layerFilter:this.layerFilter_,hitTolerance:this.hitTolerance_});for(let t=o.getLength()-1;t>=0;--t){const e=o.item(t),i=l.indexOf(e);i>-1?l.splice(i,1):(o.remove(e),a.push(e))}0!==l.length&&o.extend(l)}else{s.forEachFeatureAtPixel(t.pixel,((t,r)=>{if(t instanceof Dt&&this.filter_(t,r))return!e&&!n||o.getArray().includes(t)?(i||n)&&o.getArray().includes(t)&&(a.push(t),this.removeFeatureLayerAssociation_(t)):(this.addFeatureLayerAssociation_(t,r),l.push(t)),!this.multi_}),{layerFilter:this.layerFilter_,hitTolerance:this.hitTolerance_});for(let t=a.length-1;t>=0;--t)o.remove(a[t]);o.extend(l)}return(l.length>0||a.length>0)&&this.dispatchEvent(new kx(Nx,l,a,t)),!0}}var zx=jx;const Ux="snap";class Bx extends e{constructor(t,e){super(t),this.vertex=e.vertex,this.vertexPixel=e.vertexPixel,this.feature=e.feature,this.segment=e.segment}}function Xx(t){return t.feature?t.feature:t.element?t.element:null}const Vx=[];var Wx=class extends Fh{constructor(t){const e=t=t||{};e.handleDownEvent||(e.handleDownEvent=d),e.stopDown||(e.stopDown=g),super(e),this.on,this.once,this.un,this.source_=t.source?t.source:null,this.vertex_=void 0===t.vertex||t.vertex,this.edge_=void 0===t.edge||t.edge,this.features_=t.features?t.features:null,this.featuresListenerKeys_=[],this.featureChangeListenerKeys_={},this.indexedFeaturesExtents_={},this.pendingFeatures_={},this.pixelTolerance_=void 0!==t.pixelTolerance?t.pixelTolerance:10,this.rBush_=new Zu,this.GEOMETRY_SEGMENTERS_={Point:this.segmentPointGeometry_.bind(this),LineString:this.segmentLineStringGeometry_.bind(this),LinearRing:this.segmentLineStringGeometry_.bind(this),Polygon:this.segmentPolygonGeometry_.bind(this),MultiPoint:this.segmentMultiPointGeometry_.bind(this),MultiLineString:this.segmentMultiLineStringGeometry_.bind(this),MultiPolygon:this.segmentMultiPolygonGeometry_.bind(this),GeometryCollection:this.segmentGeometryCollectionGeometry_.bind(this),Circle:this.segmentCircleGeometry_.bind(this)}}addFeature(t,e){e=void 0===e||e;const i=U(t),n=t.getGeometry();if(n){const e=this.GEOMETRY_SEGMENTERS_[n.getType()];if(e){this.indexedFeaturesExtents_[i]=n.getExtent([1/0,1/0,-1/0,-1/0]);const r=[];if(e(r,n),1===r.length)this.rBush_.insert(Jt(r[0]),{feature:t,segment:r[0]});else if(r.length>1){const e=r.map((t=>Jt(t))),i=r.map((e=>({feature:t,segment:e})));this.rBush_.load(e,i)}}}e&&(this.featureChangeListenerKeys_[i]=A(t,v,this.handleFeatureChange_,this))}getFeatures_(){let t;return this.features_?t=this.features_:this.source_&&(t=this.source_.getFeatures()),t}handleEvent(t){const e=this.snapTo(t.pixel,t.coordinate,t.map);return e&&(t.coordinate=e.vertex.slice(0,2),t.pixel=e.vertexPixel,this.dispatchEvent(new Bx(Ux,{vertex:t.coordinate,vertexPixel:t.pixel,feature:e.feature,segment:e.segment}))),super.handleEvent(t)}handleFeatureAdd_(t){const e=Xx(t);e&&this.addFeature(e)}handleFeatureRemove_(t){const e=Xx(t);e&&this.removeFeature(e)}handleFeatureChange_(t){const e=t.target;if(this.handlingDownUpSequence){const t=U(e);t in this.pendingFeatures_||(this.pendingFeatures_[t]=e)}else this.updateFeature_(e)}handleUpEvent(t){const e=Object.values(this.pendingFeatures_);return e.length&&(e.forEach(this.updateFeature_.bind(this)),this.pendingFeatures_={}),!1}removeFeature(t,e){const i=void 0===e||e,n=U(t),r=this.indexedFeaturesExtents_[n];if(r){const e=this.rBush_,i=[];e.forEachInExtent(r,(function(e){t===e.feature&&i.push(e)}));for(let t=i.length-1;t>=0;--t)e.remove(i[t])}i&&(D(this.featureChangeListenerKeys_[n]),delete this.featureChangeListenerKeys_[n])}setMap(t){const e=this.getMap(),i=this.featuresListenerKeys_,n=this.getFeatures_();e&&(i.forEach(D),i.length=0,this.rBush_.clear(),Object.values(this.featureChangeListenerKeys_).forEach(D),this.featureChangeListenerKeys_={}),super.setMap(t),t&&(this.features_?i.push(A(this.features_,V,this.handleFeatureAdd_,this),A(this.features_,W,this.handleFeatureRemove_,this)):this.source_&&i.push(A(this.source_,pd,this.handleFeatureAdd_,this),A(this.source_,yd,this.handleFeatureRemove_,this)),n.forEach((t=>this.addFeature(t))))}snapTo(t,e,i){const n=i.getView().getProjection(),r=xn(e,n),s=vn(Qt(Jt([r]),i.getView().getResolution()*this.pixelTolerance_),n),o=this.rBush_.getInExtent(s),a=o.length;if(0===a)return null;let l,h,c=1/0,u=null;const d=this.pixelTolerance_*this.pixelTolerance_,g=()=>{if(l){const e=i.getPixelFromCoordinate(l);if(Oi(t,e)<=d)return{vertex:l,vertexPixel:[Math.round(e[0]),Math.round(e[1])],feature:h,segment:u}}return null};if(this.vertex_){for(let t=0;t{const i=xn(t,n),s=Oi(r,i);s{t.push([e])}))}segmentMultiPolygonGeometry_(t,e){const i=e.getCoordinates();for(let e=0,n=i.length;e{if(t instanceof Dt&&this.filter_(t,e)&&(!this.features_||this.features_.getArray().includes(t)))return t}),{layerFilter:this.layerFilter_,hitTolerance:this.hitTolerance_})}getHitTolerance(){return this.hitTolerance_}setHitTolerance(t){this.hitTolerance_=t}setMap(t){const e=this.getMap();super.setMap(t),this.updateState_(e)}handleActiveChanged_(){this.updateState_(null)}updateState_(t){let e=this.getMap();const i=this.getActive();if((!e||!i)&&(e=e||t,e)){e.getViewport().classList.remove("ol-grab","ol-grabbing")}}};function Hx(t,e,i,n,r,s){void 0!==r?s=void 0!==s?s:0:(r=[],s=0);let o=e;for(;oiv({...t,geometry:e}))).flat();const n="MultiPolygon"===i.type?"Polygon":i.type;if("GeometryCollection"===n||"Circle"===n)throw new Error("Unsupported geometry type: "+n);const r=i.layout.length;return Qx(new fd(n,"Polygon"===n?function(t,e,i){return Array.isArray(e[0])?(Cr(t,0,e,i)||Rr(t=t.slice(),0,e,i),t):(Tr(t,0,e,i)||br(t=t.slice(),0,e,i),t)}(i.flatCoordinates,i.ends,r):i.flatCoordinates,i.ends?.flat(),r,t.properties||{},t.id).enableSimplifyTransformed(),!1,e)}function nv(t,e){if(!t)return null;if(Array.isArray(t)){const i=t.map((t=>nv(t,e)));return new Hu(i)}return Qx(new(0,ev[t.type])(t.flatCoordinates,t.layout,t.ends),!1,e)}function rv(t){if("string"==typeof t){const e=JSON.parse(t);return e||null}return null!==t?t:null}var sv=class extends Jx{constructor(){super()}getType(){return"json"}readFeature(t,e){return this.readFeatureFromObject(rv(t),this.getReadOptions(t,e))}readFeatures(t,e){return this.readFeaturesFromObject(rv(t),this.getReadOptions(t,e))}readFeatureFromObject(t,e){return j()}readFeaturesFromObject(t,e){return j()}readGeometry(t,e){return this.readGeometryFromObject(rv(t),this.getReadOptions(t,e))}readGeometryFromObject(t,e){return j()}readProjection(t){return this.readProjectionFromObject(rv(t))}readProjectionFromObject(t){return j()}writeFeature(t,e){return JSON.stringify(this.writeFeatureObject(t,e))}writeFeatureObject(t,e){return j()}writeFeatures(t,e){return JSON.stringify(this.writeFeaturesObject(t,e))}writeFeaturesObject(t,e){return j()}writeGeometry(t,e){return JSON.stringify(this.writeGeometryObject(t,e))}writeGeometryObject(t,e){return j()}};const ov={Point:function(t){let e;e=void 0!==t.m&&void 0!==t.z?new hr([t.x,t.y,t.z,t.m],"XYZM"):void 0!==t.z?new hr([t.x,t.y,t.z],"XYZ"):void 0!==t.m?new hr([t.x,t.y,t.m],"XYM"):new hr([t.x,t.y]);return e},LineString:function(t){const e=hv(t);return new nd(t.paths[0],e)},Polygon:function(t){const e=hv(t);return new Lr(t.rings,e)},MultiPoint:function(t){const e=hv(t);return new ad(t.points,e)},MultiLineString:function(t){const e=hv(t);return new sd(t.paths,e)},MultiPolygon:function(t){const e=hv(t);return new cd(t.rings,e)}},av={Point:function(t,e){const i=t.getCoordinates();let n;const r=t.getLayout();if("XYZ"===r)n={x:i[0],y:i[1],z:i[2]};else if("XYM"===r)n={x:i[0],y:i[1],m:i[2]};else if("XYZM"===r)n={x:i[0],y:i[1],z:i[2],m:i[3]};else{if("XY"!==r)throw new Error("Invalid geometry layout");n={x:i[0],y:i[1]}}return n},LineString:function(t,e){const i=cv(t);return{hasZ:i.hasZ,hasM:i.hasM,paths:[t.getCoordinates()]}},Polygon:function(t,e){const i=cv(t);return{hasZ:i.hasZ,hasM:i.hasM,rings:t.getCoordinates(!1)}},MultiPoint:function(t,e){const i=cv(t);return{hasZ:i.hasZ,hasM:i.hasM,points:t.getCoordinates()}},MultiLineString:function(t,e){const i=cv(t);return{hasZ:i.hasZ,hasM:i.hasM,paths:t.getCoordinates()}},MultiPolygon:function(t,e){const i=cv(t),n=t.getCoordinates(!1),r=[];for(let t=0;t=0;e--)r.push(n[t][e]);return{hasZ:i.hasZ,hasM:i.hasM,rings:r}}};function lv(t,e){if(!t)return null;let i;if("number"==typeof t.x&&"number"==typeof t.y)i="Point";else if(t.points)i="MultiPoint";else if(t.paths){i=1===t.paths.length?"LineString":"MultiLineString"}else if(t.rings){const e=t,n=hv(e),r=function(t,e){const i=[],n=[],r=[];let s,o;for(s=0,o=t.length;s=0;s--){const i=n[s][0];if(ne(new ar(i).getExtent(),new ar(t).getExtent())){n[s].push(t),e=!0;break}}e||n.push([t.reverse()])}return n}(e.rings,n);1===r.length?(i="Polygon",t=Object.assign({},t,{rings:r[0]})):(i="MultiPolygon",t=Object.assign({},t,{rings:r}))}return Qx((0,ov[i])(t),!1,e)}function hv(t){let e="XY";return!0===t.hasZ&&!0===t.hasM?e="XYZM":!0===t.hasZ?e="XYZ":!0===t.hasM&&(e="XYM"),e}function cv(t){const e=t.getLayout();return{hasZ:"XYZ"===e||"XYZM"===e,hasM:"XYM"===e||"XYZM"===e}}function uv(t,e){return(0,av[t.getType()])(Qx(t,!0,e),e)}var dv=class extends sv{constructor(t){t=t||{},super(),this.geometryName_=t.geometryName}readFeatureFromObject(t,e,i){const n=t,r=lv(n.geometry,e),s=new Dt;if(this.geometryName_&&s.setGeometryName(this.geometryName_),s.setGeometry(r),n.attributes){s.setProperties(n.attributes,!0);const t=n.attributes[i];void 0!==t&&s.setId(t)}return s}readFeaturesFromObject(t,e){if(e=e||{},t.features){const i=[],n=t.features;for(let r=0,s=n.length;r0?i[0]:null}readFeatureFromNode(t,e){return null}readFeatures(t,e){if(!t)return[];if("string"==typeof t){const i=jf(t);return this.readFeaturesFromDocument(i,e)}return kf(t)?this.readFeaturesFromDocument(t,e):this.readFeaturesFromNode(t,e)}readFeaturesFromDocument(t,e){const i=[];for(let n=t.firstChild;n;n=n.nextSibling)n.nodeType==Node.ELEMENT_NODE&&h(i,this.readFeaturesFromNode(n,e));return i}readFeaturesFromNode(t,e){return j()}readGeometry(t,e){if(!t)return null;if("string"==typeof t){const i=jf(t);return this.readGeometryFromDocument(i,e)}return kf(t)?this.readGeometryFromDocument(t,e):this.readGeometryFromNode(t,e)}readGeometryFromDocument(t,e){return null}readGeometryFromNode(t,e){return null}readProjection(t){if(!t)return null;if("string"==typeof t){const e=jf(t);return this.readProjectionFromDocument(e)}return kf(t)?this.readProjectionFromDocument(t):this.readProjectionFromNode(t)}readProjectionFromDocument(t){return this.dataProjection}readProjectionFromNode(t){return this.dataProjection}writeFeature(t,e){const i=this.writeFeatureNode(t,e);return this.xmlSerializer_.serializeToString(i)}writeFeatureNode(t,e){return null}writeFeatures(t,e){const i=this.writeFeaturesNode(t,e);return this.xmlSerializer_.serializeToString(i)}writeFeaturesNode(t,e){return null}writeGeometry(t,e){const i=this.writeGeometryNode(t,e);return this.xmlSerializer_.serializeToString(i)}writeGeometryNode(t,e){return null}};const fv="http://www.opengis.net/gml",pv=/^\s*$/;class mv extends gv{constructor(t){super(),t=t||{},this.featureType=t.featureType,this.featureNS=t.featureNS,this.srsName=t.srsName,this.schemaLocation="",this.FEATURE_COLLECTION_PARSERS={},this.FEATURE_COLLECTION_PARSERS[this.namespace]={featureMember:Uf(this.readFeaturesInternal),featureMembers:Bf(this.readFeaturesInternal)},this.supportedMediaTypes=["application/gml+xml"]}readFeaturesInternal(t,e){const i=t.localName;let n=null;if("FeatureCollection"==i)n=Jf([],this.FEATURE_COLLECTION_PARSERS,t,e,this);else if("featureMembers"==i||"featureMember"==i||"member"==i){const r=e[0];let s=r.featureType,o=r.featureNS;const a="p",l="p0";if(!s&&t.childNodes){s=[],o={};for(let e=0,i=t.childNodes.length;e0&&!(t instanceof Fn)){t={_content_:t};for(let e=0;e0){e[e.length-1].push(...i)}},outerBoundaryIs:function(t,e){const i=Jf(void 0,KS,t,e);if(i){e[e.length-1][0]=i}}});function kS(t,e){const i=Jf({},LS,t,e),n=Jf([null],NS,t,e);if(n&&n[0]){const t=n[0],e=[t.length];for(let i=1,r=n.length;i0;let o;const a=r.href;let l,h,c;a?o=a:s&&(o=Jw);let u="bottom-left";const d=i.hotSpot;let g;d?(l=[d.x,d.y],h=d.xunits,c=d.yunits,u=d.origin):/^https?:\/\/maps\.(?:google|gstatic)\.com\//.test(o)&&(o.includes("pushpin")?(l=Yw,h=qw,c=Kw):o.includes("arrow-reverse")?(l=[54,42],h=qw,c=Kw):o.includes("paddle")&&(l=[32,1],h=qw,c=Kw));const f=r.x,p=r.y;let m;void 0!==f&&void 0!==p&&(g=[f,p]);const _=r.w,y=r.h;let x;void 0!==_&&void 0!==y&&(m=[_,y]);const v=i.heading;void 0!==v&&(x=_i(v));const w=i.scale,S=i.color;if(s){o==Jw&&(m=Hw);const t=new Ga({anchor:l,anchorOrigin:u,anchorXUnits:h,anchorYUnits:c,crossOrigin:this.crossOrigin_,offset:g,offsetOrigin:"bottom-left",rotation:x,scale:w,size:m,src:this.iconUrlFunction_(o),color:S}),e=t.getScaleArray()[0],i=t.getSize();if(null===i){const i=t.getImageState();if(i===Yr.IDLE||i===Yr.LOADING){const n=function(){const i=t.getImageState();if(i!==Yr.IDLE&&i!==Yr.LOADING){const i=t.getSize();if(i&&2==i.length){const n=lS(i);t.setScale(e*n)}t.unlistenImageChange(n)}};t.listenImageChange(n),i===Yr.IDLE&&t.load()}}else if(2==i.length){const n=lS(i);t.setScale(e*n)}n.imageStyle=t}else n.imageStyle=tS},LabelStyle:function(t,e){const i=Jf({},xS,t,e);if(!i)return;const n=e[e.length-1],r=new za({fill:new ba({color:"color"in i?i.color:$w}),scale:i.scale});n.textStyle=r},LineStyle:function(t,e){const i=Jf({},vS,t,e);if(!i)return;const n=e[e.length-1],r=new Pa({color:"color"in i?i.color:$w,width:"width"in i?i.width:1});n.strokeStyle=r},PolyStyle:function(t,e){const i=Jf({},wS,t,e);if(!i)return;const n=e[e.length-1],r=new ba({color:"color"in i?i.color:$w});n.fillStyle=r;const s=i.fill;void 0!==s&&(n.fill=s);const o=i.outline;void 0!==o&&(n.outline=o)}});function jS(t,e){const i=Jf({},GS,t,e,this);if(!i)return null;let n="fillStyle"in i?i.fillStyle:Qw;const r=i.fill;let s;void 0===r||r||(n=null),"imageStyle"in i?i.imageStyle!=tS&&(s=i.imageStyle):s=eS;const o="textStyle"in i?i.textStyle:rS,a="strokeStyle"in i?i.strokeStyle:nS,l=i.outline;return void 0===l||l?[new Da({fill:n,image:s,stroke:a,text:o,zIndex:void 0})]:[new Da({geometry:function(t){const e=t.getGeometry(),i=e.getType();if("GeometryCollection"===i){return new Hu(e.getGeometriesArrayRecursive().filter((function(t){const e=t.getType();return"Polygon"!==e&&"MultiPolygon"!==e})))}if("Polygon"!==i&&"MultiPolygon"!==i)return e},fill:n,image:s,stroke:a,text:o,zIndex:void 0}),new Da({geometry:function(t){const e=t.getGeometry(),i=e.getType();if("GeometryCollection"===i){return new Hu(e.getGeometriesArrayRecursive().filter((function(t){const e=t.getType();return"Polygon"===e||"MultiPolygon"===e})))}if("Polygon"===i||"MultiPolygon"===i)return e},fill:n,stroke:null,zIndex:void 0})]}function zS(t,e){const i=e.length,n=new Array(e.length),r=new Array(e.length),s=new Array(e.length);let o,a,l;o=!1,a=!1,l=!1;for(let t=0;t0){const t=qf(r,o);tp(n,wE,EE,[{names:o,values:t}],i)}const u=i[0];let d=e.getGeometry();d&&(d=Qx(d,!0,u)),tp(n,wE,dE,[d],i)}const CE=Kf(Gw,["extrude","tessellate","altitudeMode","coordinates"]),bE=Kf(Gw,{extrude:Wf(bv),tessellate:Wf(bv),altitudeMode:Wf(Fv),coordinates:Wf((function(t,e,i){const n=i[i.length-1],r=n.layout,s=n.stride;let o;if("XY"==r||"XYM"==r)o=2;else{if("XYZ"!=r&&"XYZM"!=r)throw new Error("Invalid geometry layout");o=3}const a=e.length;let l="";if(a>0){l+=e[0];for(let t=1;t0;else{const e=t.getType();a="Point"===e||"MultiPoint"===e}}a&&(l=s.get("name"),a=a&&!!l,a&&/&[^&]+;/.test(l)&&(oS||(oS=document.createElement("textarea")),oS.innerHTML=l,l=oS.value));let c=i;if(t?c=t:e&&(c=cS(e,i,n)),a){const t=function(t,e){const i=[0,0];let n="start";const r=t.getImage();if(r){const t=r.getSize();if(t&&2==t.length){const e=r.getScaleArray(),s=r.getAnchor();i[0]=e[0]*(t[0]-s[0]),i[1]=e[1]*(t[1]/2-s[1]),n="left"}}let s=t.getText();s?(s=s.clone(),s.setFont(s.getFont()||rS.getFont()),s.setScale(s.getScale()||rS.getScale()),s.setFill(s.getFill()||rS.getFill()),s.setStroke(s.getStroke()||iS)):s=rS.clone();s.setText(e),s.setOffsetX(i[0]),s.setOffsetY(i[1]),s.setTextAlign(n);const o=new Da({image:r,text:s});return o}(c[0],l);if(h.length>0){t.setGeometry(new Hu(h));return[t,new Da({geometry:c[0].getGeometry(),image:null,fill:c[0].getFill(),stroke:c[0].getStroke(),text:null})].concat(c.slice(1))}return t}return c}}(i.Style,i.styleUrl,this.defaultStyle_,this.sharedStyles_,this.showPointNames_);n.setStyle(t)}return delete i.Style,n.setProperties(i,!0),n}readSharedStyle_(t,e){const i=t.getAttribute("id");if(null!==i){const n=jS.call(this,t,e);if(n){let e,r=t.baseURI;if(r&&"about:blank"!=r||(r=window.location.href),r){e=new URL("#"+i,r).href}else e="#"+i;this.sharedStyles_[e]=n}}}readSharedStyleMap_(t,e){const i=t.getAttribute("id");if(null===i)return;const n=_S.call(this,t,e);if(!n)return;let r,s=t.baseURI;if(s&&"about:blank"!=s||(s=window.location.href),s){r=new URL("#"+i,s).href}else r="#"+i;this.sharedStyles_[r]=n}readFeatureFromNode(t,e){if(!Gw.includes(t.namespaceURI))return null;const i=this.readPlacemark_(t,[this.getReadOptions(t,e)]);return i||null}readFeaturesFromNode(t,e){if(!Gw.includes(t.namespaceURI))return[];let i;const n=t.localName;if("Document"==n||"Folder"==n)return i=this.readDocumentOrFolder_(t,[this.getReadOptions(t,e)]),i||[];if("Placemark"==n){const i=this.readPlacemark_(t,[this.getReadOptions(t,e)]);return i?[i]:[]}if("kml"==n){i=[];for(let n=t.firstElementChild;n;n=n.nextElementSibling){const t=this.readFeaturesFromNode(n,e);t&&h(i,t)}return i}return[]}readName(t){if(t){if("string"==typeof t){const e=jf(t);return this.readNameFromDocument(e)}return kf(t)?this.readNameFromDocument(t):this.readNameFromNode(t)}}readNameFromDocument(t){for(let e=t.firstChild;e;e=e.nextSibling)if(e.nodeType==Node.ELEMENT_NODE){const t=this.readNameFromNode(e);if(t)return t}}readNameFromNode(t){for(let e=t.firstElementChild;e;e=e.nextElementSibling)if(Gw.includes(e.namespaceURI)&&"name"==e.localName)return Cv(e);for(let e=t.firstElementChild;e;e=e.nextElementSibling){const t=e.localName;if(Gw.includes(e.namespaceURI)&&("Document"==t||"Folder"==t||"Placemark"==t||"kml"==t)){const t=this.readNameFromNode(e);if(t)return t}}}readNetworkLinks(t){const e=[];if("string"==typeof t){const i=jf(t);h(e,this.readNetworkLinksFromDocument(i))}else kf(t)?h(e,this.readNetworkLinksFromDocument(t)):h(e,this.readNetworkLinksFromNode(t));return e}readNetworkLinksFromDocument(t){const e=[];for(let i=t.firstChild;i;i=i.nextSibling)i.nodeType==Node.ELEMENT_NODE&&h(e,this.readNetworkLinksFromNode(i));return e}readNetworkLinksFromNode(t){const e=[];for(let i=t.firstElementChild;i;i=i.nextElementSibling)if(Gw.includes(i.namespaceURI)&&"NetworkLink"==i.localName){const t=Jf({},Uw,i,[]);e.push(t)}for(let i=t.firstElementChild;i;i=i.nextElementSibling){const t=i.localName;!Gw.includes(i.namespaceURI)||"Document"!=t&&"Folder"!=t&&"kml"!=t||h(e,this.readNetworkLinksFromNode(i))}return e}readRegion(t){const e=[];if("string"==typeof t){const i=jf(t);h(e,this.readRegionFromDocument(i))}else kf(t)?h(e,this.readRegionFromDocument(t)):h(e,this.readRegionFromNode(t));return e}readRegionFromDocument(t){const e=[];for(let i=t.firstChild;i;i=i.nextSibling)i.nodeType==Node.ELEMENT_NODE&&h(e,this.readRegionFromNode(i));return e}readRegionFromNode(t){const e=[];for(let i=t.firstElementChild;i;i=i.nextElementSibling)if(Gw.includes(i.namespaceURI)&&"Region"==i.localName){const t=Jf({},Vw,i,[]);e.push(t)}for(let i=t.firstElementChild;i;i=i.nextElementSibling){const t=i.localName;!Gw.includes(i.namespaceURI)||"Document"!=t&&"Folder"!=t&&"kml"!=t||h(e,this.readRegionFromNode(i))}return e}readCamera(t){const e=[];if("string"==typeof t){const i=jf(t);h(e,this.readCameraFromDocument(i))}else kf(t)?h(e,this.readCameraFromDocument(t)):h(e,this.readCameraFromNode(t));return e}readCameraFromDocument(t){const e=[];for(let i=t.firstChild;i;i=i.nextSibling)i.nodeType===Node.ELEMENT_NODE&&h(e,this.readCameraFromNode(i));return e}readCameraFromNode(t){const e=[];for(let i=t.firstElementChild;i;i=i.nextElementSibling)if(Gw.includes(i.namespaceURI)&&"Camera"===i.localName){const t=Jf({},Xw,i,[]);e.push(t)}for(let i=t.firstElementChild;i;i=i.nextElementSibling){const t=i.localName;!Gw.includes(i.namespaceURI)||"Document"!==t&&"Folder"!==t&&"Placemark"!==t&&"kml"!==t||h(e,this.readCameraFromNode(i))}return e}writeFeaturesNode(t,e){e=this.adaptOptions(e);const i=Of(Gw[4],"kml"),n="http://www.w3.org/2000/xmlns/";i.setAttributeNS(n,"xmlns:gx",kw[0]),i.setAttributeNS(n,"xmlns:xsi",Af),i.setAttributeNS(Af,"xsi:schemaLocation","http://www.opengis.net/kml/2.2 https://developers.google.com/kml/schema/kml22gx.xsd");const r={node:i},s={};t.length>1?s.Document=t:1==t.length&&(s.Placemark=t[0]);const o=Ww[i.namespaceURI],a=qf(s,o);return tp(r,Zw,Yf,a,[e],o,this),i}},GE={ +/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */ +read:function(t,e,i,n,r){var s,o,a=8*r-n-1,l=(1<>1,c=-7,u=i?r-1:0,d=i?-1:1,g=t[e+u];for(u+=d,s=g&(1<<-c)-1,g>>=-c,c+=a;c>0;s=256*s+t[e+u],u+=d,c-=8);for(o=s&(1<<-c)-1,s>>=-c,c+=n;c>0;o=256*o+t[e+u],u+=d,c-=8);if(0===s)s=1-h;else{if(s===l)return o?NaN:1/0*(g?-1:1);o+=Math.pow(2,n),s-=h}return(g?-1:1)*o*Math.pow(2,s-n)},write:function(t,e,i,n,r,s){var o,a,l,h=8*s-r-1,c=(1<>1,d=23===r?Math.pow(2,-24)-Math.pow(2,-77):0,g=n?0:s-1,f=n?1:-1,p=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,o=c):(o=Math.floor(Math.log(e)/Math.LN2),e*(l=Math.pow(2,-o))<1&&(o--,l*=2),(e+=o+u>=1?d/l:d*Math.pow(2,1-u))*l>=2&&(o++,l/=2),o+u>=c?(a=0,o=c):o+u>=1?(a=(e*l-1)*Math.pow(2,r),o+=u):(a=e*Math.pow(2,u-1)*Math.pow(2,r),o=0));r>=8;t[i+g]=255&a,g+=f,a/=256,r-=8);for(o=o<0;t[i+g]=255&o,g+=f,o/=256,h-=8);t[i+g-f]|=128*p}},jE=UE,zE=GE;function UE(t){this.buf=ArrayBuffer.isView&&ArrayBuffer.isView(t)?t:new Uint8Array(t||0),this.pos=0,this.type=0,this.length=this.buf.length}UE.Varint=0,UE.Fixed64=1,UE.Bytes=2,UE.Fixed32=5;var BE=4294967296,XE=1/BE,VE="undefined"==typeof TextDecoder?null:new TextDecoder("utf8");function WE(t){return t.type===UE.Bytes?t.readVarint()+t.pos:t.pos+1}function ZE(t,e,i){return i?4294967296*e+(t>>>0):4294967296*(e>>>0)+(t>>>0)}function $E(t,e,i){var n=e<=16383?1:e<=2097151?2:e<=268435455?3:Math.floor(Math.log(e)/(7*Math.LN2));i.realloc(n);for(var r=i.pos-1;r>=t;r--)i.buf[r+n]=i.buf[r]}function YE(t,e){for(var i=0;i>>8,t[i+2]=e>>>16,t[i+3]=e>>>24}function sT(t,e){return(t[e]|t[e+1]<<8|t[e+2]<<16)+(t[e+3]<<24)}UE.prototype={destroy:function(){this.buf=null},readFields:function(t,e,i){for(i=i||this.length;this.pos>3,s=this.pos;this.type=7&n,t(r,e,this),this.pos===s&&this.skip(n)}return e},readMessage:function(t,e){return this.readFields(t,e,this.readVarint()+this.pos)},readFixed32:function(){var t=nT(this.buf,this.pos);return this.pos+=4,t},readSFixed32:function(){var t=sT(this.buf,this.pos);return this.pos+=4,t},readFixed64:function(){var t=nT(this.buf,this.pos)+nT(this.buf,this.pos+4)*BE;return this.pos+=8,t},readSFixed64:function(){var t=nT(this.buf,this.pos)+sT(this.buf,this.pos+4)*BE;return this.pos+=8,t},readFloat:function(){var t=zE.read(this.buf,this.pos,!0,23,4);return this.pos+=4,t},readDouble:function(){var t=zE.read(this.buf,this.pos,!0,52,8);return this.pos+=8,t},readVarint:function(t){var e,i,n=this.buf;return e=127&(i=n[this.pos++]),i<128?e:(e|=(127&(i=n[this.pos++]))<<7,i<128?e:(e|=(127&(i=n[this.pos++]))<<14,i<128?e:(e|=(127&(i=n[this.pos++]))<<21,i<128?e:function(t,e,i){var n,r,s=i.buf;if(r=s[i.pos++],n=(112&r)>>4,r<128)return ZE(t,n,e);if(r=s[i.pos++],n|=(127&r)<<3,r<128)return ZE(t,n,e);if(r=s[i.pos++],n|=(127&r)<<10,r<128)return ZE(t,n,e);if(r=s[i.pos++],n|=(127&r)<<17,r<128)return ZE(t,n,e);if(r=s[i.pos++],n|=(127&r)<<24,r<128)return ZE(t,n,e);if(r=s[i.pos++],n|=(1&r)<<31,r<128)return ZE(t,n,e);throw new Error("Expected varint not more than 10 bytes")}(e|=(15&(i=n[this.pos]))<<28,t,this))))},readVarint64:function(){return this.readVarint(!0)},readSVarint:function(){var t=this.readVarint();return t%2==1?(t+1)/-2:t/2},readBoolean:function(){return Boolean(this.readVarint())},readString:function(){var t=this.readVarint()+this.pos,e=this.pos;return this.pos=t,t-e>=12&&VE?function(t,e,i){return VE.decode(t.subarray(e,i))}(this.buf,e,t):function(t,e,i){var n="",r=e;for(;r239?4:l>223?3:l>191?2:1;if(r+c>i)break;1===c?l<128&&(h=l):2===c?128==(192&(s=t[r+1]))&&(h=(31&l)<<6|63&s)<=127&&(h=null):3===c?(s=t[r+1],o=t[r+2],128==(192&s)&&128==(192&o)&&((h=(15&l)<<12|(63&s)<<6|63&o)<=2047||h>=55296&&h<=57343)&&(h=null)):4===c&&(s=t[r+1],o=t[r+2],a=t[r+3],128==(192&s)&&128==(192&o)&&128==(192&a)&&((h=(15&l)<<18|(63&s)<<12|(63&o)<<6|63&a)<=65535||h>=1114112)&&(h=null)),null===h?(h=65533,c=1):h>65535&&(h-=65536,n+=String.fromCharCode(h>>>10&1023|55296),h=56320|1023&h),n+=String.fromCharCode(h),r+=c}return n}(this.buf,e,t)},readBytes:function(){var t=this.readVarint()+this.pos,e=this.buf.subarray(this.pos,t);return this.pos=t,e},readPackedVarint:function(t,e){if(this.type!==UE.Bytes)return t.push(this.readVarint(e));var i=WE(this);for(t=t||[];this.pos127;);else if(e===UE.Bytes)this.pos=this.readVarint()+this.pos;else if(e===UE.Fixed32)this.pos+=4;else{if(e!==UE.Fixed64)throw new Error("Unimplemented type: "+e);this.pos+=8}},writeTag:function(t,e){this.writeVarint(t<<3|e)},realloc:function(t){for(var e=this.length||16;e268435455||t<0?function(t,e){var i,n;t>=0?(i=t%4294967296|0,n=t/4294967296|0):(n=~(-t/4294967296),4294967295^(i=~(-t%4294967296))?i=i+1|0:(i=0,n=n+1|0));if(t>=0x10000000000000000||t<-0x10000000000000000)throw new Error("Given varint doesn't fit into 10 bytes");e.realloc(10),function(t,e,i){i.buf[i.pos++]=127&t|128,t>>>=7,i.buf[i.pos++]=127&t|128,t>>>=7,i.buf[i.pos++]=127&t|128,t>>>=7,i.buf[i.pos++]=127&t|128,t>>>=7,i.buf[i.pos]=127&t}(i,0,e),function(t,e){var i=(7&t)<<4;if(e.buf[e.pos++]|=i|((t>>>=3)?128:0),!t)return;if(e.buf[e.pos++]=127&t|((t>>>=7)?128:0),!t)return;if(e.buf[e.pos++]=127&t|((t>>>=7)?128:0),!t)return;if(e.buf[e.pos++]=127&t|((t>>>=7)?128:0),!t)return;if(e.buf[e.pos++]=127&t|((t>>>=7)?128:0),!t)return;e.buf[e.pos++]=127&t}(n,e)}(t,this):(this.realloc(4),this.buf[this.pos++]=127&t|(t>127?128:0),t<=127||(this.buf[this.pos++]=127&(t>>>=7)|(t>127?128:0),t<=127||(this.buf[this.pos++]=127&(t>>>=7)|(t>127?128:0),t<=127||(this.buf[this.pos++]=t>>>7&127))))},writeSVarint:function(t){this.writeVarint(t<0?2*-t-1:2*t)},writeBoolean:function(t){this.writeVarint(Boolean(t))},writeString:function(t){t=String(t),this.realloc(4*t.length),this.pos++;var e=this.pos;this.pos=function(t,e,i){for(var n,r,s=0;s55295&&n<57344){if(!r){n>56319||s+1===e.length?(t[i++]=239,t[i++]=191,t[i++]=189):r=n;continue}if(n<56320){t[i++]=239,t[i++]=191,t[i++]=189,r=n;continue}n=r-55296<<10|n-56320|65536,r=null}else r&&(t[i++]=239,t[i++]=191,t[i++]=189,r=null);n<128?t[i++]=n:(n<2048?t[i++]=n>>6|192:(n<65536?t[i++]=n>>12|224:(t[i++]=n>>18|240,t[i++]=n>>12&63|128),t[i++]=n>>6&63|128),t[i++]=63&n|128)}return i}(this.buf,t,this.pos);var i=this.pos-e;i>=128&&$E(e,i,this),this.pos=e-1,this.writeVarint(i),this.pos+=i},writeFloat:function(t){this.realloc(4),zE.write(this.buf,t,this.pos,!0,23,4),this.pos+=4},writeDouble:function(t){this.realloc(8),zE.write(this.buf,t,this.pos,!0,52,8),this.pos+=8},writeBytes:function(t){var e=t.length;this.writeVarint(e),this.realloc(e);for(var i=0;i=128&&$E(i,n,this),this.pos=i-1,this.writeVarint(n),this.pos+=n},writeMessage:function(t,e,i){this.writeTag(t,UE.Bytes),this.writeRawMessage(e,i)},writePackedVarint:function(t,e){e.length&&this.writeMessage(t,YE,e)},writePackedSVarint:function(t,e){e.length&&this.writeMessage(t,qE,e)},writePackedBoolean:function(t,e){e.length&&this.writeMessage(t,JE,e)},writePackedFloat:function(t,e){e.length&&this.writeMessage(t,KE,e)},writePackedDouble:function(t,e){e.length&&this.writeMessage(t,HE,e)},writePackedFixed32:function(t,e){e.length&&this.writeMessage(t,QE,e)},writePackedSFixed32:function(t,e){e.length&&this.writeMessage(t,tT,e)},writePackedFixed64:function(t,e){e.length&&this.writeMessage(t,eT,e)},writePackedSFixed64:function(t,e){e.length&&this.writeMessage(t,iT,e)},writeBytesField:function(t,e){this.writeTag(t,UE.Bytes),this.writeBytes(e)},writeFixed32Field:function(t,e){this.writeTag(t,UE.Fixed32),this.writeFixed32(e)},writeSFixed32Field:function(t,e){this.writeTag(t,UE.Fixed32),this.writeSFixed32(e)},writeFixed64Field:function(t,e){this.writeTag(t,UE.Fixed64),this.writeFixed64(e)},writeSFixed64Field:function(t,e){this.writeTag(t,UE.Fixed64),this.writeSFixed64(e)},writeVarintField:function(t,e){this.writeTag(t,UE.Varint),this.writeVarint(e)},writeSVarintField:function(t,e){this.writeTag(t,UE.Varint),this.writeSVarint(e)},writeStringField:function(t,e){this.writeTag(t,UE.Bytes),this.writeString(e)},writeFloatField:function(t,e){this.writeTag(t,UE.Fixed32),this.writeFloat(e)},writeDoubleField:function(t,e){this.writeTag(t,UE.Fixed64),this.writeDouble(e)},writeBooleanField:function(t,e){this.writeVarintField(t,Boolean(e))}};var oT=xo(jE);function aT(t,e,i){if(3===t){const t={keys:[],values:[],features:[]},n=i.readVarint()+i.pos;i.readFields(lT,t,n),t.length=t.features.length,t.length&&(e[t.name]=t)}}function lT(t,e,i){if(15===t)e.version=i.readVarint();else if(1===t)e.name=i.readString();else if(5===t)e.extent=i.readVarint();else if(2===t)e.features.push(i.pos);else if(3===t)e.keys.push(i.readString());else if(4===t){let n=null;const r=i.readVarint()+i.pos;for(;i.pos>3)?i.readString():2===t?i.readFloat():3===t?i.readDouble():4===t?i.readVarint64():5===t?i.readVarint():6===t?i.readSVarint():7===t?i.readBoolean():null;e.values.push(n)}}function hT(t,e,i){if(1==t)e.id=i.readVarint();else if(2==t){const t=i.readVarint()+i.pos;for(;i.pos>3}if(o--,1===s||2===s)a+=t.readSVarint(),l+=t.readSVarint(),1===s&&h>c&&(n.push(h),c=h),i.push(a,l),h+=2;else{if(7!==s)throw new Error("Invalid command found in the PBF");h>c&&(i.push(i[c],i[c+1]),h+=2)}}h>c&&(n.push(h),c=h)}createFeature_(t,e,i){const n=e.type;if(0===n)return null;let r;const s=e.properties;let o;this.idProperty_?(o=s[this.idProperty_],delete s[this.idProperty_]):o=e.id,s[this.layerName_]=e.layer.name;const a=[],l=[];this.readRawGeometry_(t,e,a,l);const h=function(t,e){let i;1===t?i=1===e?"Point":"MultiPoint":2===t?i=1===e?"LineString":"MultiLineString":3===t&&(i="Polygon");return i}(n,l.length);if(this.featureClass_===fd)r=new this.featureClass_(h,a,l,2,s,o),r.transform(i.dataProjection);else{let t;if("Polygon"==h){const e=Pr(a,l);t=e.length>1?new cd(a,"XY",e):new Lr(a,"XY",l)}else t="Point"===h?new hr(a,"XY"):"LineString"===h?new nd(a,"XY"):"MultiPoint"===h?new ad(a,"XY"):"MultiLineString"===h?new sd(a,"XY",l):null;r=new(0,this.featureClass_),this.geometryName_&&r.setGeometryName(this.geometryName_);const e=Qx(t,!1,i);r.setGeometry(e),void 0!==o&&r.setId(o),r.setProperties(s,!0)}return r}getType(){return"arraybuffer"}readFeatures(t,e){const i=this.layers_,n=en((e=this.adaptOptions(e)).dataProjection);n.setWorldExtent(e.extent),e.dataProjection=n;const r=new oT(t),s=r.readFields(aT,{}),o=[];for(const t in s){if(i&&!i.includes(t))continue;const a=s[t],l=a?[0,0,a.extent,a.extent]:null;n.setExtent(l);for(let t=0,i=a.length;t>1):i>>1}return e}function XT(t){let e="";for(let i=0,n=t.length;i=32;)e=63+(32|31&t),i+=String.fromCharCode(e),t>>=5;return e=t+63,i+=String.fromCharCode(e),i}var ZT=class extends Fw{constructor(t){super(),t=t||{},this.dataProjection=en("EPSG:4326"),this.factor_=t.factor?t.factor:1e5,this.geometryLayout_=t.geometryLayout?t.geometryLayout:"XY"}readFeatureFromText(t,e){const i=this.readGeometryFromText(t,e);return new Dt(i)}readFeaturesFromText(t,e){return[this.readFeatureFromText(t,e)]}readGeometryFromText(t,e){const i=An(this.geometryLayout_),n=GT(t,i,this.factor_);Hx(n,0,n.length,i,n);const r=tr(n,0,n.length,i);return Qx(new nd(r,this.geometryLayout_),!1,this.adaptOptions(e))}writeFeatureText(t,e){const i=t.getGeometry();if(i)return this.writeGeometryText(i,e);throw new Error("Expected `feature` to have a geometry")}writeFeaturesText(t,e){return this.writeFeatureText(t[0],e)}writeGeometryText(t,e){const i=(t=Qx(t,!0,this.adaptOptions(e))).getFlatCoordinates(),n=t.getStride();return Hx(i,0,i.length,n,i),kT(i,n,this.factor_)}};const $T={Point:function(t,e,i){const n=t.coordinates;e&&i&&JT(n,e,i);return new hr(n)},LineString:function(t,e){const i=YT(t.arcs,e);return new nd(i)},Polygon:function(t,e){const i=[];for(let n=0,r=t.arcs.length;n0&&i.pop(),n>=0){const t=e[n];for(let e=0,n=t.length;e=0;--e)i.push(t[e].slice(0))}return i}function qT(t,e,i,n,r,s,o){const a=t.geometries,l=[];for(let t=0,h=a.length;t=2,"At least 2 conditions are required")}};var iC=class extends eC{constructor(t){super("And",Array.prototype.slice.call(arguments))}};var nC=class extends tC{constructor(t,e,i){if(super("BBOX"),this.geometryName=t,this.extent=e,4!==e.length)throw new Error("Expected an extent with four values ([minX, minY, maxX, maxY])");this.srsName=i}};var rC=class extends tC{constructor(t,e,i,n){super(t),this.geometryName=e||"the_geom",this.geometry=i,this.srsName=n}};var sC=class extends rC{constructor(t,e,i){super("Contains",t,e,i)}};var oC=class extends rC{constructor(t,e,i,n,r){super("DWithin",t,e,r),this.distance=i,this.unit=n}};var aC=class extends rC{constructor(t,e,i){super("Disjoint",t,e,i)}};var lC=class extends tC{constructor(t,e){super(t),this.propertyName=e}};var hC=class extends lC{constructor(t,e,i){super("During",t),this.begin=e,this.end=i}};var cC=class extends lC{constructor(t,e,i,n){super(t,e),this.expression=i,this.matchCase=n}};var uC=class extends cC{constructor(t,e,i){super("PropertyIsEqualTo",t,e,i)}};var dC=class extends cC{constructor(t,e){super("PropertyIsGreaterThan",t,e)}};var gC=class extends cC{constructor(t,e){super("PropertyIsGreaterThanOrEqualTo",t,e)}};var fC=class extends rC{constructor(t,e,i){super("Intersects",t,e,i)}};var pC=class extends lC{constructor(t,e,i){super("PropertyIsBetween",t),this.lowerBoundary=e,this.upperBoundary=i}};var mC=class extends lC{constructor(t,e,i,n,r,s){super("PropertyIsLike",t),this.pattern=e,this.wildCard=void 0!==i?i:"*",this.singleChar=void 0!==n?n:".",this.escapeChar=void 0!==r?r:"!",this.matchCase=s}};var _C=class extends lC{constructor(t){super("PropertyIsNull",t)}};var yC=class extends cC{constructor(t,e){super("PropertyIsLessThan",t,e)}};var xC=class extends cC{constructor(t,e){super("PropertyIsLessThanOrEqualTo",t,e)}};var vC=class extends tC{constructor(t){super("Not"),this.condition=t}};var wC=class extends cC{constructor(t,e,i){super("PropertyIsNotEqualTo",t,e,i)}};var SC=class extends eC{constructor(t){super("Or",Array.prototype.slice.call(arguments))}};var EC=class extends tC{constructor(t){super("ResourceId"),this.rid=t}};var TC=class extends rC{constructor(t,e,i){super("Within",t,e,i)}};function CC(t){const e=[null].concat(Array.prototype.slice.call(arguments));return new(Function.prototype.bind.apply(iC,e))}function bC(t,e,i){return new nC(t,e,i)}const RC={"http://www.opengis.net/gml":{boundedBy:Vf(_v.prototype.readExtentElement,"bounds")},"http://www.opengis.net/wfs/2.0":{member:Uf(_v.prototype.readFeaturesInternal)}},PC={"http://www.opengis.net/wfs":{totalInserted:Vf(Ev),totalUpdated:Vf(Ev),totalDeleted:Vf(Ev)},"http://www.opengis.net/wfs/2.0":{totalInserted:Vf(Ev),totalUpdated:Vf(Ev),totalDeleted:Vf(Ev)}},IC={"http://www.opengis.net/wfs":{TransactionSummary:Vf(zC,"transactionSummary"),InsertResults:Vf(VC,"insertIds")},"http://www.opengis.net/wfs/2.0":{TransactionSummary:Vf(zC,"transactionSummary"),InsertResults:Vf(VC,"insertIds")}},LC={"http://www.opengis.net/wfs":{PropertyName:Wf(Fv)},"http://www.opengis.net/wfs/2.0":{PropertyName:Wf(Fv)}},FC={"http://www.opengis.net/wfs":{Insert:Wf(WC),Update:Wf(qC),Delete:Wf(YC),Property:Wf(KC),Native:Wf(HC)},"http://www.opengis.net/wfs/2.0":{Insert:Wf(WC),Update:Wf(qC),Delete:Wf(YC),Property:Wf(KC),Native:Wf(HC)}},MC="feature",AC="http://www.w3.org/2000/xmlns/",OC={"2.0.0":"http://www.opengis.net/ogc/1.1","1.1.0":"http://www.opengis.net/ogc","1.0.0":"http://www.opengis.net/ogc"},DC={"2.0.0":"http://www.opengis.net/wfs/2.0","1.1.0":"http://www.opengis.net/wfs","1.0.0":"http://www.opengis.net/wfs"},NC={"2.0.0":"http://www.opengis.net/fes/2.0","1.1.0":"http://www.opengis.net/fes","1.0.0":"http://www.opengis.net/fes"},kC={"2.0.0":"http://www.opengis.net/wfs/2.0 http://schemas.opengis.net/wfs/2.0/wfs.xsd","1.1.0":"http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd","1.0.0":"http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.0.0/wfs.xsd"},GC={"2.0.0":Xv,"1.1.0":jv,"1.0.0":Dv};function jC(t,e,i,n){tp(n,FC,$f(t),e,i)}function zC(t,e){return Jf({},PC,t,e)}const UC={"http://www.opengis.net/ogc":{FeatureId:Uf((function(t,e){return t.getAttribute("fid")}))},"http://www.opengis.net/ogc/1.1":{FeatureId:Uf((function(t,e){return t.getAttribute("fid")}))}};function BC(t,e){Hf(UC,t,e)}const XC={"http://www.opengis.net/wfs":{Feature:BC},"http://www.opengis.net/wfs/2.0":{Feature:BC}};function VC(t,e){return Jf([],XC,t,e)}function WC(t,e,i){const n=i[i.length-1],r=n.featureType,s=n.featureNS,o=n.gmlVersion,a=Of(s,r);t.appendChild(a),2===o?Dv.prototype.writeFeatureElement(a,e,i):3===o?jv.prototype.writeFeatureElement(a,e,i):Xv.prototype.writeFeatureElement(a,e,i)}function ZC(t,e,i){const n=i[i.length-1].version,r=OC[n],s=Of(r,"Filter"),o=Of(r,"FeatureId");s.appendChild(o),o.setAttribute("fid",e),t.appendChild(s)}function $C(t,e){const i=(t=t||MC)+":";return e.startsWith(i)?e:i+e}function YC(t,e,i){const n=i[i.length-1];Mt(void 0!==e.getId(),"Features must have an id set");const r=n.featureType,s=n.featurePrefix,o=n.featureNS,a=$C(s,r);t.setAttribute("typeName",a),t.setAttributeNS(AC,"xmlns:"+s,o);const l=e.getId();void 0!==l&&ZC(t,l,i)}function qC(t,e,i){const n=i[i.length-1];Mt(void 0!==e.getId(),"Features must have an id set");const r=n.version,s=n.featureType,o=n.featurePrefix,a=n.featureNS,l=$C(o,s),h=e.getGeometryName();t.setAttribute("typeName",l),t.setAttributeNS(AC,"xmlns:"+o,a);const c=e.getId();if(void 0!==c){const s=e.getKeys(),o=[];for(let t=0,i=s.length;t{const r=this.combineBboxAndFilter(n.geometryName,n.bbox,t.srsName,t.filter);Object.assign(i,{geometryName:n.geometryName,filter:r}),pb(e,[n.name],[i])}));return e}combineBboxAndFilter(t,e,i,n){const r=bC(t,e,i);return n?CC(n,r):r}writeTransaction(t,e,i,n){const r=[],s=n.version?n.version:this.version_,o=Of(DC[s],"Transaction");let a;o.setAttribute("service","WFS"),o.setAttribute("version",s),n&&(a=n.gmlOptions?n.gmlOptions:{},n.handle&&o.setAttribute("handle",n.handle)),o.setAttributeNS(Af,"xsi:schemaLocation",kC[s]);const l=function(t,e,i,n){const r=n.featurePrefix?n.featurePrefix:MC;let s;"1.0.0"===i?s=2:"1.1.0"===i?s=3:"2.0.0"===i&&(s=3.2);const o=Object.assign({node:t},{version:i,featureNS:n.featureNS,featureType:n.featureType,featurePrefix:r,gmlVersion:s,hasZ:n.hasZ,srsName:n.srsName},e);return o}(o,a,s,n);return t&&jC("Insert",t,r,l),e&&jC("Update",e,r,l),i&&jC("Delete",i,r,l),n.nativeElements&&jC("Native",n.nativeElements,r,l),o}readProjectionFromDocument(t){for(let e=t.firstChild;e;e=e.nextSibling)if(e.nodeType==Node.ELEMENT_NODE)return this.readProjectionFromNode(e);return null}readProjectionFromNode(t){if(t.firstElementChild&&t.firstElementChild.firstElementChild)for(let e=(t=t.firstElementChild.firstElementChild).firstElementChild;e;e=e.nextElementSibling)if(0!==e.childNodes.length&&(1!==e.childNodes.length||3!==e.firstChild.nodeType)){const t=[{}];return this.gmlFormat_.readGeometryElement(e,t),en(t.pop().srsName)}return null}};const yb=1,xb=2,vb=3,wb=4,Sb=5,Eb=6,Tb=7,Cb=15,bb=16,Rb=17;class Pb{constructor(t){this.view_=t,this.pos_=0,this.initialized_=!1,this.isLittleEndian_=!1,this.hasZ_=!1,this.hasM_=!1,this.srid_=null,this.layout_="XY"}readUint8(){return this.view_.getUint8(this.pos_++)}readUint32(t){return this.view_.getUint32((this.pos_+=4)-4,void 0!==t?t:this.isLittleEndian_)}readDouble(t){return this.view_.getFloat64((this.pos_+=8)-8,void 0!==t?t:this.isLittleEndian_)}readPoint(){const t=[];return t.push(this.readDouble()),t.push(this.readDouble()),this.hasZ_&&t.push(this.readDouble()),this.hasM_&&t.push(this.readDouble()),t}readLineString(){const t=this.readUint32(),e=[];for(let i=0;i0,i=this.readUint32(e),n=Math.floor((268435455&i)/1e3),r=Boolean(2147483648&i)||1===n||3===n,s=Boolean(1073741824&i)||2===n||3===n,o=Boolean(536870912&i),a=(268435455&i)%1e3,l=["XY",r?"Z":"",s?"M":""].join(""),h=o?this.readUint32(e):null;if(void 0!==t&&t!==a)throw new Error("Unexpected WKB geometry type "+a);if(this.initialized_){if(this.isLittleEndian_!==e)throw new Error("Inconsistent endian");if(this.layout_!==l)throw new Error("Inconsistent geometry layout");if(h&&this.srid_!==h)throw new Error("Inconsistent coordinate system (SRID)")}else this.isLittleEndian_=e,this.hasZ_=r,this.hasM_=s,this.layout_=l,this.srid_=h,this.initialized_=!0;return a}readWkbPayload(t){switch(t){case yb:return this.readPoint();case xb:return this.readLineString();case vb:case Rb:return this.readPolygon();case wb:return this.readMultiPoint();case Sb:return this.readMultiLineString();case Eb:case Cb:case bb:return this.readMultiPolygon();case Tb:return this.readGeometryCollection();default:throw new Error("Unsupported WKB geometry type "+t+" is found")}}readWkbBlock(t){return this.readWkbPayload(this.readWkbHeader(t))}readWkbCollection(t,e){const i=this.readUint32(),n=[];for(let r=0;r({[e]:t[i]}))));for(const t of this.layout_)this.writeDouble(t in i?i[t]:this.nodata_[t])}writeLineString(t,e){this.writeUint32(t.length);for(let i=0;it+e[0]),0),e=new ArrayBuffer(t),i=new DataView(e);let n=0;return this.writeQueue_.forEach((t=>{switch(t[0]){case 1:i.setUint8(n,t[1]);break;case 4:i.setUint32(n,t[1],this.isLittleEndian_);break;case 8:i.setFloat64(n,t[1],this.isLittleEndian_)}n+=t[0]})),e}}function Lb(t){return"string"==typeof t?function(t){const e=new Uint8Array(t.length/2);for(let i=0;inew Dt({geometry:t})))}readGeometry(t,e){const i=Lb(t);if(!i)return null;const n=new Pb(i).readGeometry();return this.viewCache_=i,e=this.getReadOptions(t,e),this.viewCache_=null,Qx(n,!1,e)}readProjection(t){const e=this.viewCache_||Lb(t);if(!e)return;const i=new Pb(e);return i.readWkbHeader(),i.getSrid()&&en("EPSG:"+i.getSrid())||void 0}writeFeature(t,e){return this.writeGeometry(t.getGeometry(),e)}writeFeatures(t,e){return this.writeGeometry(new Hu(t.map((t=>t.getGeometry()))),e)}writeGeometry(t,e){e=this.adaptOptions(e);const i=new Ib({layout:this.layout_,littleEndian:this.littleEndian_,ewkb:this.ewkb_,nodata:{Z:this.nodataZ_,M:this.nodataM_}});let n=Number.isInteger(this.srid_)?Number(this.srid_):null;if(!1!==this.srid_&&!Number.isInteger(this.srid_)){const t=e.dataProjection&&en(e.dataProjection);if(t){const e=t.getCode();e.startsWith("EPSG:")&&(n=Number(e.substring(5)))}}i.writeGeometry(Qx(t,!0,e),n);const r=i.getBuffer();return this.hex_?function(t){const e=new Uint8Array(t);return Array.from(e.values()).map((t=>(t<16?"0":"")+Number(t).toString(16).toUpperCase())).join("")}(r):r}};const Mb={POINT:hr,LINESTRING:nd,POLYGON:Lr,MULTIPOINT:ad,MULTILINESTRING:sd,MULTIPOLYGON:cd},Ab="EMPTY",Ob="Z",Db="M",Nb=0,kb=1,Gb=2,jb=3,zb=4,Ub=5,Bb=6,Xb={Point:"POINT",LineString:"LINESTRING",Polygon:"POLYGON",MultiPoint:"MULTIPOINT",MultiLineString:"MULTILINESTRING",MultiPolygon:"MULTIPOLYGON",GeometryCollection:"GEOMETRYCOLLECTION",Circle:"CIRCLE"};class Vb{constructor(t){this.wkt=t,this.index_=-1}isAlpha_(t){return t>="a"&&t<="z"||t>="A"&&t<="Z"}isNumeric_(t,e){return e=void 0!==e&&e,t>="0"&&t<="9"||"."==t&&!e}isWhiteSpace_(t){return" "==t||"\t"==t||"\r"==t||"\n"==t}nextChar_(){return this.wkt.charAt(++this.index_)}nextToken(){const t=this.nextChar_(),e=this.index_;let i,n=t;if("("==t)i=Gb;else if(","==t)i=Ub;else if(")"==t)i=jb;else if(this.isNumeric_(t)||"-"==t)i=zb,n=this.readNumber_();else if(this.isAlpha_(t))i=kb,n=this.readText_();else{if(this.isWhiteSpace_(t))return this.nextToken();if(""!==t)throw new Error("Unexpected character: "+t);i=Bb}return{position:e,value:n,type:i}}readNumber_(){let t;const e=this.index_;let i=!1,n=!1;do{"."==t?i=!0:"e"!=t&&"E"!=t||(n=!0),t=this.nextChar_()}while(this.isNumeric_(t,i)||!n&&("e"==t||"E"==t)||n&&("-"==t||"+"==t));return parseFloat(this.wkt.substring(e,this.index_--))}readText_(){let t;const e=this.index_;do{t=this.nextChar_()}while(this.isAlpha_(t));return this.wkt.substring(e,this.index_--).toUpperCase()}}class Wb{constructor(t){this.lexer_=t,this.token_={position:0,type:Nb},this.layout_="XY"}consume_(){this.token_=this.lexer_.nextToken()}isTokenType(t){return this.token_.type==t}match(t){const e=this.isTokenType(t);return e&&this.consume_(),e}parse(){return this.consume_(),this.parseGeometry_()}parseGeometryLayout_(){let t="XY";const e=this.token_;if(this.isTokenType(kb)){const i=e.value;i===Ob?t="XYZ":i===Db?t="XYM":"ZM"===i&&(t="XYZM"),"XY"!==t&&this.consume_()}return t}parseGeometryCollectionText_(){if(this.match(Gb)){const t=[];do{t.push(this.parseGeometry_())}while(this.match(Ub));if(this.match(jb))return t}throw new Error(this.formatErrorMessage_())}parsePointText_(){if(this.match(Gb)){const t=this.parsePoint_();if(this.match(jb))return t}throw new Error(this.formatErrorMessage_())}parseLineStringText_(){if(this.match(Gb)){const t=this.parsePointList_();if(this.match(jb))return t}throw new Error(this.formatErrorMessage_())}parsePolygonText_(){if(this.match(Gb)){const t=this.parseLineStringTextList_();if(this.match(jb))return t}throw new Error(this.formatErrorMessage_())}parseMultiPointText_(){if(this.match(Gb)){let t;if(t=this.token_.type==Gb?this.parsePointTextList_():this.parsePointList_(),this.match(jb))return t}throw new Error(this.formatErrorMessage_())}parseMultiLineStringText_(){if(this.match(Gb)){const t=this.parseLineStringTextList_();if(this.match(jb))return t}throw new Error(this.formatErrorMessage_())}parseMultiPolygonText_(){if(this.match(Gb)){const t=this.parsePolygonTextList_();if(this.match(jb))return t}throw new Error(this.formatErrorMessage_())}parsePoint_(){const t=[],e=this.layout_.length;for(let i=0;i0&&(n+=" "+e)}return 0===i.length?n+" "+Ab:n+"("+i+")"}var Hb=class extends Fw{constructor(t){super(),t=t||{},this.splitCollection_=void 0!==t.splitCollection&&t.splitCollection}parse_(t){const e=new Vb(t);return new Wb(e).parse()}readFeatureFromText(t,e){const i=this.readGeometryFromText(t,e),n=new Dt;return n.setGeometry(i),n}readFeaturesFromText(t,e){let i=[];const n=this.readGeometryFromText(t,e);i=this.splitCollection_&&"GeometryCollection"==n.getType()?n.getGeometriesArray():[n];const r=[];for(let t=0,e=i.length;tc*qR||h>u*qR?this.resetExtent_():ne(s,n)||this.recenter_()}resetExtent_(){const t=this.getMap(),e=this.ovmap_,i=t.getSize(),n=t.getView().calculateExtentInternal(i),r=e.getView(),s=Math.log(7.5)/Math.LN2;De(n,1/(Math.pow(2,s/2)*KR)),r.fitInternal(Mr(n))}recenter_(){const t=this.getMap(),e=this.ovmap_,i=t.getView();e.getView().setCenterInternal(i.getCenterInternal())}updateBox_(){const t=this.getMap(),e=this.ovmap_;if(!t.isRendered()||!e.isRendered())return;const i=t.getSize(),n=t.getView(),r=e.getView(),s=this.rotateWithView_?0:-n.getRotation(),o=this.boxOverlay_,a=this.boxOverlay_.getElement(),l=n.getCenterInternal(),h=n.getResolution(),c=r.getResolution(),u=i[0]*h/c,d=i[1]*h/c;if(o.setPosition(l),a){a.style.width=u+"px",a.style.height=d+"px";const t="rotate("+s+"rad)";a.style.transform=t}}updateBoxAfterOvmapIsRendered_(){this.ovmapPostrenderKey_||(this.ovmapPostrenderKey_=O(this.ovmap_,ah,(function(t){delete this.ovmapPostrenderKey_,this.updateBox_()}),this))}handleClick_(t){t.preventDefault(),this.handleToggle_()}handleToggle_(){this.element.classList.toggle(Ko),this.collapsed_?St(this.collapseLabel_,this.label_):St(this.label_,this.collapseLabel_),this.collapsed_=!this.collapsed_;const t=this.ovmap_;if(!this.collapsed_){if(t.isRendered())return this.viewExtent_=void 0,void t.render();t.updateSize(),this.resetExtent_(),this.updateBoxAfterOvmapIsRendered_()}}getCollapsible(){return this.collapsible_}setCollapsible(t){this.collapsible_!==t&&(this.collapsible_=t,this.element.classList.toggle("ol-uncollapsible"),!t&&this.collapsed_&&this.handleToggle_())}setCollapsed(t){this.collapsible_&&this.collapsed_!==t&&this.handleToggle_()}getCollapsed(){return this.collapsed_}getRotateWithView(){return this.rotateWithView_}setRotateWithView(t){this.rotateWithView_!==t&&(this.rotateWithView_=t,0!==this.getMap().getView().getRotation()&&(this.rotateWithView_?this.handleRotationChanged_():this.ovmap_.getView().setRotation(0),this.viewExtent_=void 0,this.validateExtent_(),this.updateBox_()))}getOverviewMap(){return this.ovmap_}render(t){this.validateExtent_(),this.updateBox_()}};const JR="units",QR=[1,2,5],tP=25.4/.28;var eP=class extends vh{constructor(t){t=t||{};const e=document.createElement("div");e.style.pointerEvents="none",super({element:e,render:t.render,target:t.target}),this.on,this.once,this.un;const i=void 0!==t.className?t.className:t.bar?"ol-scale-bar":"ol-scale-line";this.innerElement_=document.createElement("div"),this.innerElement_.className=i+"-inner",this.element.className=i+" "+$o,this.element.appendChild(this.innerElement_),this.viewState_=null,this.minWidth_=void 0!==t.minWidth?t.minWidth:64,this.maxWidth_=t.maxWidth,this.renderedVisible_=!1,this.renderedWidth_=void 0,this.renderedHTML_="",this.addChangeListener(JR,this.handleUnitsChanged_),this.setUnits(t.units||"metric"),this.scaleBar_=t.bar||!1,this.scaleBarSteps_=t.steps||4,this.scaleBarText_=t.text||!1,this.dpi_=t.dpi||void 0}getUnits(){return this.get(JR)}handleUnitsChanged_(){this.updateElement_()}setUnits(t){this.set(JR,t)}setDpi(t){this.dpi_=t}updateElement_(){const t=this.viewState_;if(!t)return void(this.renderedVisible_&&(this.element.style.display="none",this.renderedVisible_=!1));const e=t.center,i=t.projection,n=this.getUnits(),r="degrees"==n?"degrees":"m";let s=nn(i,t.resolution,e,r);const o=this.minWidth_*(this.dpi_||tP)/tP,a=void 0!==this.maxWidth_?this.maxWidth_*(this.dpi_||tP)/tP:void 0;let l=o*s,h="";if("degrees"==n){const t=Be.degrees;l*=t,l=a){c=g,u=f,d=p;break}if(u>=o)break;g=c,f=u,p=d,++m}const _=this.scaleBar_?this.createScaleBar(u,c,h):c.toFixed(d<0?-d:0)+" "+h;this.renderedHTML_!=_&&(this.innerElement_.innerHTML=_,this.renderedHTML_=_),this.renderedWidth_!=u&&(this.innerElement_.style.width=u+"px",this.renderedWidth_=u),this.renderedVisible_||(this.element.style.display="",this.renderedVisible_=!0)}createScaleBar(t,e,i){const n=this.getScaleForResolution(),r=n<1?Math.round(1/n).toLocaleString()+" : 1":"1 : "+Math.round(n).toLocaleString(),s=this.scaleBarSteps_,o=t/s,a=[this.createMarker("absolute")];for(let n=0;n
`+this.createMarker("relative")+(n%2==0||2===s?this.createStepText(n,t,!1,e,i):"")+"")}a.push(this.createStepText(s,t,!0,e,i));return(this.scaleBarText_?`
`+r+"
":"")+a.join("")}createMarker(t){return`
`}createStepText(t,e,i,n,r){const s=(0===t?0:Math.round(n/this.scaleBarSteps_*t*100)/100)+(0===t?"":" "+r);return`
`+s+"
"}getScaleForResolution(){return nn(this.viewState_.projection,this.viewState_.resolution,this.viewState_.center,"m")*(1e3/25.4)*(this.dpi_||tP)}render(t){const e=t.frameState;this.viewState_=e?e.viewState:null,this.updateElement_()}};const iP=0,nP=1;var rP=class extends vh{constructor(e){super({target:(e=e||{}).target,element:document.createElement("div"),render:e.render}),this.dragListenerKeys_=[],this.currentResolution_=void 0,this.direction_=iP,this.dragging_,this.heightLimit_=0,this.widthLimit_=0,this.startX_,this.startY_,this.thumbSize_=null,this.sliderInitialized_=!1,this.duration_=void 0!==e.duration?e.duration:200;const i=void 0!==e.className?e.className:"ol-zoomslider",n=document.createElement("button");n.setAttribute("type","button"),n.className=i+"-thumb "+$o;const r=this.element;r.className=i+" "+$o+" "+qo,r.appendChild(n),r.addEventListener(nh,this.handleDraggerStart_.bind(this),!1),r.addEventListener(ih,this.handleDraggerDrag_.bind(this),!1),r.addEventListener(rh,this.handleDraggerEnd_.bind(this),!1),r.addEventListener(E,this.handleContainerClick_.bind(this),!1),n.addEventListener(E,t,!1)}setMap(t){super.setMap(t),t&&t.render()}initSlider_(){const t=this.element;let e=t.offsetWidth,i=t.offsetHeight;if(0===e&&0===i)return this.sliderInitialized_=!1;const n=getComputedStyle(t);e-=parseFloat(n.paddingRight)+parseFloat(n.paddingLeft),i-=parseFloat(n.paddingTop)+parseFloat(n.paddingBottom);const r=t.firstElementChild,s=getComputedStyle(r),o=r.offsetWidth+parseFloat(s.marginRight)+parseFloat(s.marginLeft),a=r.offsetHeight+parseFloat(s.marginTop)+parseFloat(s.marginBottom);return this.thumbSize_=[o,a],e>i?(this.direction_=nP,this.widthLimit_=e-o):(this.direction_=iP,this.heightLimit_=i-a),this.sliderInitialized_=!0}handleContainerClick_(t){const e=this.getMap().getView(),i=this.getRelativePosition_(t.offsetX-this.thumbSize_[0]/2,t.offsetY-this.thumbSize_[1]/2),n=this.getResolutionForPosition_(i),r=e.getConstrainedZoom(e.getZoomForResolution(n));e.animateInternal({zoom:r,duration:this.duration_,easing:et})}handleDraggerStart_(t){if(!this.dragging_&&t.target===this.element.firstElementChild){const e=this.element.firstElementChild;if(this.getMap().getView().beginInteraction(),this.startX_=t.clientX-parseFloat(e.style.left),this.startY_=t.clientY-parseFloat(e.style.top),this.dragging_=!0,0===this.dragListenerKeys_.length){const t=this.handleDraggerDrag_,e=this.handleDraggerEnd_,i=this.getMap().getOwnerDocument();this.dragListenerKeys_.push(A(i,ih,t,this),A(i,rh,e,this))}}}handleDraggerDrag_(t){if(this.dragging_){const e=t.clientX-this.startX_,i=t.clientY-this.startY_,n=this.getRelativePosition_(e,i);this.currentResolution_=this.getResolutionForPosition_(n),this.getMap().getView().setResolution(this.currentResolution_)}}handleDraggerEnd_(t){if(this.dragging_){this.getMap().getView().endInteraction(),this.dragging_=!1,this.startX_=void 0,this.startY_=void 0,this.dragListenerKeys_.forEach(D),this.dragListenerKeys_.length=0}}setThumbPosition_(t){const e=this.getPositionForResolution_(t),i=this.element.firstElementChild;this.direction_==nP?i.style.left=this.widthLimit_*e+"px":i.style.top=this.heightLimit_*e+"px"}getRelativePosition_(t,e){let i;return i=this.direction_===nP?t/this.widthLimit_:e/this.heightLimit_,di(i,0,1)}getResolutionForPosition_(t){return this.getMap().getView().getResolutionForValueFunction()(1-t)}getPositionForResolution_(t){return di(1-this.getMap().getView().getValueForResolutionFunction()(t),0,1)}render(t){if(!t.frameState)return;if(!this.sliderInitialized_&&!this.initSlider_())return;const e=t.frameState.viewState.resolution;this.currentResolution_=e,this.setThumbPosition_(e)}};var sP=class extends vh{constructor(t){t=t||{},super({element:document.createElement("div"),target:t.target}),this.extent=t.extent?t.extent:null;const e=void 0!==t.className?t.className:"ol-zoom-extent",i=void 0!==t.label?t.label:"E",n=void 0!==t.tipLabel?t.tipLabel:"Fit to extent",r=document.createElement("button");r.setAttribute("type","button"),r.title=n,r.appendChild("string"==typeof i?document.createTextNode(i):i),r.addEventListener(E,this.handleClick_.bind(this),!1);const s=e+" "+$o+" "+qo,o=this.element;o.className=s,o.appendChild(r)}handleClick_(t){t.preventDefault(),this.handleZoomToExtent()}handleZoomToExtent(){const t=this.getMap().getView(),e=this.extent?wn(this.extent,t.getProjection()):t.getProjection().getExtent();t.fitInternal(Mr(e))}},oP={};return oP.Collection=Y,oP.Collection.CollectionEvent=$,oP.DataTile=Ft,oP.DataTile.asArrayLike=Rt,oP.DataTile.asImageLike=bt,oP.DataTile.toArray=It,oP.Disposable=n,oP.Feature=Dt,oP.Feature.createStyleFunction=Ot,oP.Geolocation=$r,oP.Geolocation.GeolocationError=Zr,oP.Image=Qr,oP.Image.decode=Jr,oP.Image.decodeFallback=Hr,oP.Image.listenImage=qr,oP.Image.load=Kr,oP.ImageCanvas=ts,oP.ImageTile=es,oP.Kinetic=is,oP.Map=pc,oP.MapBrowserEvent=th,oP.MapBrowserEventHandler=oh,oP.MapEvent=Ql,oP.Object=X,oP.Object.ObjectEvent=B,oP.Observable=G,oP.Observable.unByKey=k,oP.Overlay=wc,oP.Tile=rt,oP.TileCache=Lc,oP.TileQueue=yh,oP.TileQueue.getTilePriority=xh,oP.TileRange=Ac,oP.TileRange.createOrUpdate=Mc,oP.VectorRenderTile=Dc,oP.VectorTile=Nc,oP.View=Us,oP.View.createCenterConstraint=Ns,oP.View.createResolutionConstraint=ks,oP.View.createRotationConstraint=Gs,oP.View.isNoopAnimation=js,oP.array={},oP.array.ascending=s,oP.array.binarySearch=r,oP.array.descending=o,oP.array.equals=c,oP.array.extend=h,oP.array.isSorted=u,oP.array.linearFindNearest=a,oP.array.remove=function(t,e){const i=t.indexOf(e),n=i>-1;return n&&t.splice(i,1),n},oP.array.reverseSubArray=l,oP.array.stableSort=function(t,e){const i=t.length,n=Array(t.length);let r;for(r=0;rWi.info||console.log(...t)},oP.console.setLevel=function(t){Zi=Wi[t]},oP.console.warn=$i,oP.control={},oP.control.Attribution=wh,oP.control.Control=vh,oP.control.FullScreen=WR,oP.control.MousePosition=YR,oP.control.OverviewMap=HR,oP.control.Rotate=Sh,oP.control.ScaleLine=eP,oP.control.Zoom=Eh,oP.control.ZoomSlider=rP,oP.control.ZoomToExtent=sP,oP.control.defaults={},oP.control.defaults.defaults=Th,oP.coordinate={},oP.coordinate.add=bi,oP.coordinate.closestOnCircle=Ri,oP.coordinate.closestOnSegment=Pi,oP.coordinate.createStringXY=function(t){return function(e){return ki(e,t)}},oP.coordinate.degreesToStringHDMS=Ii,oP.coordinate.distance=Di,oP.coordinate.equals=Fi,oP.coordinate.format=Li,oP.coordinate.getWorldsAway=ji,oP.coordinate.rotate=Mi,oP.coordinate.scale=Ai,oP.coordinate.squaredDistance=Oi,oP.coordinate.squaredDistanceToSegment=Ni,oP.coordinate.toStringHDMS=function(t,e){return t?Ii("NS",t[1],e)+" "+Ii("EW",t[0],e):""},oP.coordinate.toStringXY=ki,oP.coordinate.wrapX=Gi,oP.css={},oP.css.CLASS_COLLAPSED=Ko,oP.css.CLASS_CONTROL=qo,oP.css.CLASS_HIDDEN=Wo,oP.css.CLASS_SELECTABLE=Zo,oP.css.CLASS_UNSELECTABLE=$o,oP.css.CLASS_UNSUPPORTED=Yo,oP.css.getFontParameters=Qo,oP.dom={},oP.dom.createCanvasContext2D=mt,oP.dom.getSharedCanvasContext2D=yt,oP.dom.outerHeight=wt,oP.dom.outerWidth=vt,oP.dom.releaseCanvas=xt,oP.dom.removeChildren=Tt,oP.dom.removeNode=Et,oP.dom.replaceChildren=Ct,oP.dom.replaceNode=St,oP.easing={},oP.easing.easeIn=tt,oP.easing.easeOut=et,oP.easing.inAndOut=it,oP.easing.linear=nt,oP.easing.upAndDown=function(t){return t<.5?it(2*t):1-it(2*(t-.5))},oP.events={},oP.events.Event=e,oP.events.Event.preventDefault=function(t){t.preventDefault()},oP.events.Event.stopPropagation=t,oP.events.SnapEvent={},oP.events.SnapEvent.SnapEvent=Bx,oP.events.Target=x,oP.events.condition={},oP.events.condition.all=Mh,oP.events.condition.altKeyOnly=Ah,oP.events.condition.altShiftKeysOnly=Oh,oP.events.condition.always=kh,oP.events.condition.click=function(t){return t.type==eh.CLICK},oP.events.condition.doubleClick=function(t){return t.type==eh.DBLCLICK},oP.events.condition.focus=Dh,oP.events.condition.focusWithTabindex=Nh,oP.events.condition.mouseActionButton=Gh,oP.events.condition.mouseOnly=Wh,oP.events.condition.never=jh,oP.events.condition.noModifierKeys=Uh,oP.events.condition.penOnly=function(t){const e=t.originalEvent;return Mt(void 0!==e,"mapBrowserEvent must originate from a pointer event"),"pen"===e.pointerType},oP.events.condition.platformModifierKey=Bh,oP.events.condition.platformModifierKeyOnly=function(t){const e=t.originalEvent;return!e.altKey&&(ct?e.metaKey:e.ctrlKey)&&!e.shiftKey},oP.events.condition.pointerMove=function(t){return"pointermove"==t.type},oP.events.condition.primaryAction=Zh,oP.events.condition.shiftKeyOnly=Xh,oP.events.condition.singleClick=zh,oP.events.condition.targetNotEditable=Vh,oP.events.condition.touchOnly=function(t){const e=t.originalEvent;return Mt(void 0!==e,"mapBrowserEvent must originate from a pointer event"),"touch"===e.pointerType},oP.events.listen=A,oP.events.listenOnce=O,oP.events.unlistenByKey=D,oP.expr={},oP.expr.cpu={},oP.expr.cpu.buildExpression=pl,oP.expr.cpu.newEvaluationContext=fl,oP.expr.expression={},oP.expr.expression.AnyType=Ya,oP.expr.expression.BooleanType=Xa,oP.expr.expression.CallExpression=il,oP.expr.expression.ColorType=Za,oP.expr.expression.LiteralExpression=el,oP.expr.expression.NoneType=Ba,oP.expr.expression.NumberArrayType=$a,oP.expr.expression.NumberType=Va,oP.expr.expression.Ops=sl,oP.expr.expression.StringType=Wa,oP.expr.expression.computeGeometryType=gl,oP.expr.expression.includesType=Ja,oP.expr.expression.isType=tl,oP.expr.expression.newParsingContext=nl,oP.expr.expression.overlapsType=Qa,oP.expr.expression.parse=rl,oP.expr.expression.typeName=Ha,oP.expr.gpu={},oP.expr.gpu.PALETTE_TEXTURE_ARRAY=Om,oP.expr.gpu.arrayToGlsl=Cm,oP.expr.gpu.buildExpression=Dm,oP.expr.gpu.colorToGlsl=bm,oP.expr.gpu.getStringNumberEquivalent=Im,oP.expr.gpu.newCompilationContext=Mm,oP.expr.gpu.numberToGlsl=Tm,oP.expr.gpu.stringToGlsl=Lm,oP.expr.gpu.uniformNameForVariable=Fm,oP.extent={},oP.extent.applyTransform=ke,oP.extent.approximatelyEquals=de,oP.extent.boundingExtent=Jt,oP.extent.buffer=Qt,oP.extent.clone=te,oP.extent.closestSquaredDistanceXY=ee,oP.extent.containsCoordinate=ie,oP.extent.containsExtent=ne,oP.extent.containsXY=re,oP.extent.coordinateRelationship=se,oP.extent.createEmpty=oe,oP.extent.createOrUpdate=ae,oP.extent.createOrUpdateEmpty=le,oP.extent.createOrUpdateFromCoordinate=he,oP.extent.createOrUpdateFromCoordinates=function(t,e){return pe(le(e),t)},oP.extent.createOrUpdateFromFlatCoordinates=ce,oP.extent.createOrUpdateFromRings=function(t,e){return _e(le(e),t)},oP.extent.equals=ue,oP.extent.extend=ge,oP.extent.extendCoordinate=fe,oP.extent.extendCoordinates=pe,oP.extent.extendFlatCoordinates=me,oP.extent.extendRings=_e,oP.extent.extendXY=ye,oP.extent.forEachCorner=xe,oP.extent.getArea=ve,oP.extent.getBottomLeft=we,oP.extent.getBottomRight=Se,oP.extent.getCenter=Ee,oP.extent.getCorner=Te,oP.extent.getEnlargedArea=function(t,e){const i=Math.min(t[0],e[0]),n=Math.min(t[1],e[1]);return(Math.max(t[2],e[2])-i)*(Math.max(t[3],e[3])-n)},oP.extent.getForViewAndSize=Ce,oP.extent.getHeight=Re,oP.extent.getIntersection=Pe,oP.extent.getIntersectionArea=function(t,e){return ve(Pe(t,e))},oP.extent.getMargin=function(t){return Fe(t)+Re(t)},oP.extent.getRotatedViewport=be,oP.extent.getSize=function(t){return[t[2]-t[0],t[3]-t[1]]},oP.extent.getTopLeft=Ie,oP.extent.getTopRight=Le,oP.extent.getWidth=Fe,oP.extent.intersects=Me,oP.extent.intersectsSegment=Ne,oP.extent.isEmpty=Ae,oP.extent.returnOrUpdate=Oe,oP.extent.scaleFromCenter=De,oP.extent.wrapAndSliceX=je,oP.extent.wrapX=Ge,oP.featureloader={},oP.featureloader.loadFeaturesXhr=jc,oP.featureloader.setWithCredentials=function(t){Gc=t},oP.featureloader.xhr=zc,oP.format={},oP.format.EsriJSON=dv,oP.format.Feature=Jx,oP.format.Feature.createGeometry=nv,oP.format.Feature.createRenderFeature=iv,oP.format.Feature.transformExtentWithOptions=tv,oP.format.Feature.transformGeometryWithOptions=Qx,oP.format.GML=Uv,oP.format.GML2=Dv,oP.format.GML3=jv,oP.format.GML32=Xv,oP.format.GMLBase=_v,oP.format.GMLBase.GMLNS=fv,oP.format.GPX=bw,oP.format.GeoJSON=Iw,oP.format.IGC=Nw,oP.format.IIIFInfo=Jd,oP.format.JSONFeature=sv,oP.format.KML=kE,oP.format.KML.getDefaultFillStyle=function(){return Qw},oP.format.KML.getDefaultImageStyle=function(){return eS},oP.format.KML.getDefaultStrokeStyle=function(){return nS},oP.format.KML.getDefaultStyle=function(){return sS},oP.format.KML.getDefaultStyleArray=function(){return aS},oP.format.KML.getDefaultTextStyle=function(){return rS},oP.format.KML.readFlatCoordinates=dS,oP.format.MVT=uT,oP.format.OSMXML=_T,oP.format.OWS=NT,oP.format.Polyline=ZT,oP.format.Polyline.decodeDeltas=GT,oP.format.Polyline.decodeFloats=zT,oP.format.Polyline.decodeSignedIntegers=BT,oP.format.Polyline.decodeUnsignedIntegers=VT,oP.format.Polyline.encodeDeltas=kT,oP.format.Polyline.encodeFloats=jT,oP.format.Polyline.encodeSignedIntegers=UT,oP.format.Polyline.encodeUnsignedInteger=WT,oP.format.Polyline.encodeUnsignedIntegers=XT,oP.format.TextFeature=Fw,oP.format.TopoJSON=QT,oP.format.WFS=_b,oP.format.WFS.writeFilter=function(t,e){const i=Of(mb(e=e||"1.1.0"),"Filter"),n={node:i};return Object.assign(n,{version:e,filter:t}),tb(i,t,[n]),i},oP.format.WKB=Fb,oP.format.WKT=Hb,oP.format.WMSCapabilities=wR,oP.format.WMSGetFeatureInfo=SR,oP.format.WMTSCapabilities=GR,oP.format.XML=yT,oP.format.XMLFeature=gv,oP.format.filter={},oP.format.filter.And=iC,oP.format.filter.Bbox=nC,oP.format.filter.Comparison=lC,oP.format.filter.ComparisonBinary=cC,oP.format.filter.Contains=sC,oP.format.filter.DWithin=oC,oP.format.filter.Disjoint=aC,oP.format.filter.During=hC,oP.format.filter.EqualTo=uC,oP.format.filter.Filter=tC,oP.format.filter.GreaterThan=dC,oP.format.filter.GreaterThanOrEqualTo=gC,oP.format.filter.Intersects=fC,oP.format.filter.IsBetween=pC,oP.format.filter.IsLike=mC,oP.format.filter.IsNull=_C,oP.format.filter.LessThan=yC,oP.format.filter.LessThanOrEqualTo=xC,oP.format.filter.LogicalNary=eC,oP.format.filter.Not=vC,oP.format.filter.NotEqualTo=wC,oP.format.filter.Or=SC,oP.format.filter.ResourceId=EC,oP.format.filter.Spatial=rC,oP.format.filter.Within=TC,oP.format.filter.and=CC,oP.format.filter.bbox=bC,oP.format.filter.between=function(t,e,i){return new pC(t,e,i)},oP.format.filter.contains=function(t,e,i){return new sC(t,e,i)},oP.format.filter.disjoint=function(t,e,i){return new aC(t,e,i)},oP.format.filter.during=function(t,e,i){return new hC(t,e,i)},oP.format.filter.dwithin=function(t,e,i,n,r){return new oC(t,e,i,n,r)},oP.format.filter.equalTo=function(t,e,i){return new uC(t,e,i)},oP.format.filter.greaterThan=function(t,e){return new dC(t,e)},oP.format.filter.greaterThanOrEqualTo=function(t,e){return new gC(t,e)},oP.format.filter.intersects=function(t,e,i){return new fC(t,e,i)},oP.format.filter.isNull=function(t){return new _C(t)},oP.format.filter.lessThan=function(t,e){return new yC(t,e)},oP.format.filter.lessThanOrEqualTo=function(t,e){return new xC(t,e)},oP.format.filter.like=function(t,e,i,n,r,s){return new mC(t,e,i,n,r,s)},oP.format.filter.not=function(t){return new vC(t)},oP.format.filter.notEqualTo=function(t,e,i){return new wC(t,e,i)},oP.format.filter.or=function(t){const e=[null].concat(Array.prototype.slice.call(arguments));return new(Function.prototype.bind.apply(SC,e))},oP.format.filter.resourceId=function(t){return new EC(t)},oP.format.filter.within=function(t,e,i){return new TC(t,e,i)},oP.format.xlink={},oP.format.xlink.readHref=vT,oP.format.xsd={},oP.format.xsd.readBoolean=yv,oP.format.xsd.readBooleanString=xv,oP.format.xsd.readDateTime=vv,oP.format.xsd.readDecimal=wv,oP.format.xsd.readDecimalString=Sv,oP.format.xsd.readNonNegativeIntegerString=Tv,oP.format.xsd.readPositiveInteger=Ev,oP.format.xsd.readString=Cv,oP.format.xsd.writeBooleanTextNode=bv,oP.format.xsd.writeCDATASection=Rv,oP.format.xsd.writeDateTimeTextNode=Pv,oP.format.xsd.writeDecimalTextNode=Iv,oP.format.xsd.writeNonNegativeIntegerTextNode=Lv,oP.format.xsd.writeStringTextNode=Fv,oP.functions={},oP.functions.FALSE=g,oP.functions.TRUE=d,oP.functions.VOID=f,oP.functions.memoizeOne=p,oP.functions.toPromise=m,oP.geom={},oP.geom.Circle=Yu,oP.geom.Geometry=Fn,oP.geom.GeometryCollection=Hu,oP.geom.LineString=nd,oP.geom.LinearRing=ar,oP.geom.MultiLineString=sd,oP.geom.MultiPoint=ad,oP.geom.MultiPolygon=cd,oP.geom.Point=hr,oP.geom.Polygon=Lr,oP.geom.Polygon.circular=Fr,oP.geom.Polygon.fromCircle=Ar,oP.geom.Polygon.fromExtent=Mr,oP.geom.Polygon.makeRegular=Or,oP.geom.SimpleGeometry=Dn,oP.geom.SimpleGeometry.getLayoutForStride=Mn,oP.geom.SimpleGeometry.getStrideForLayout=An,oP.geom.SimpleGeometry.transformGeom2D=On,oP.geom.flat={},oP.geom.flat.area={},oP.geom.flat.area.linearRing=nr,oP.geom.flat.area.linearRings=rr,oP.geom.flat.area.linearRingss=sr,oP.geom.flat.center={},oP.geom.flat.center.linearRingss=ld,oP.geom.flat.closest={},oP.geom.flat.closest.arrayMaxSquaredDelta=Gn,oP.geom.flat.closest.assignClosestArrayPoint=Un,oP.geom.flat.closest.assignClosestMultiArrayPoint=Bn,oP.geom.flat.closest.assignClosestPoint=zn,oP.geom.flat.closest.maxSquaredDelta=kn,oP.geom.flat.closest.multiArrayMaxSquaredDelta=jn,oP.geom.flat.contains={},oP.geom.flat.contains.linearRingContainsExtent=cr,oP.geom.flat.contains.linearRingContainsXY=ur,oP.geom.flat.contains.linearRingsContainsXY=dr,oP.geom.flat.contains.linearRingssContainsXY=gr,oP.geom.flat.deflate={},oP.geom.flat.deflate.deflateCoordinate=Xn,oP.geom.flat.deflate.deflateCoordinates=Vn,oP.geom.flat.deflate.deflateCoordinatesArray=Wn,oP.geom.flat.deflate.deflateMultiCoordinatesArray=Zn,oP.geom.flat.flip={},oP.geom.flat.flip.flipXY=Hx,oP.geom.flat.geodesic={},oP.geom.flat.geodesic.greatCircleArc=function(t,e,i,n,r,s){const o=en("EPSG:4326"),a=Math.cos(_i(e)),l=Math.sin(_i(e)),h=Math.cos(_i(n)),c=Math.sin(_i(n)),u=Math.cos(_i(i-t)),d=Math.sin(_i(i-t)),g=l*c+a*h*u;return My((function(e){if(1<=g)return[i,n];const r=e*Math.acos(g),s=Math.cos(r),o=Math.sin(r),f=d*h,p=a*c-l*h*u,m=Math.atan2(f,p),_=Math.asin(l*s+a*o*Math.cos(m));return[mi(_i(t)+Math.atan2(Math.sin(m)*o*a,s-l*Math.sin(_))),mi(_)]}),dn(o,r),s)},oP.geom.flat.geodesic.meridian=Ay,oP.geom.flat.geodesic.parallel=Oy,oP.geom.flat.inflate={},oP.geom.flat.inflate.inflateCoordinates=tr,oP.geom.flat.inflate.inflateCoordinatesArray=er,oP.geom.flat.inflate.inflateMultiCoordinatesArray=ir,oP.geom.flat.interiorpoint={},oP.geom.flat.interiorpoint.getInteriorPointOfArray=fr,oP.geom.flat.interiorpoint.getInteriorPointsOfMultiArray=pr,oP.geom.flat.interpolate={},oP.geom.flat.interpolate.interpolatePoint=Ju,oP.geom.flat.interpolate.lineStringCoordinateAtM=Qu,oP.geom.flat.interpolate.lineStringsCoordinateAtM=td,oP.geom.flat.intersectsextent={},oP.geom.flat.intersectsextent.intersectsLineString=_r,oP.geom.flat.intersectsextent.intersectsLineStringArray=yr,oP.geom.flat.intersectsextent.intersectsLinearRing=xr,oP.geom.flat.intersectsextent.intersectsLinearRingArray=vr,oP.geom.flat.intersectsextent.intersectsLinearRingMultiArray=wr,oP.geom.flat.length={},oP.geom.flat.length.lineStringLength=ed,oP.geom.flat.length.linearRingLength=function(t,e,i,n){let r=ed(t,e,i,n);const s=t[i-n]-t[e],o=t[i-n+1]-t[e+1];return r+=Math.sqrt(s*s+o*o),r},oP.geom.flat.orient={},oP.geom.flat.orient.inflateEnds=Pr,oP.geom.flat.orient.linearRingIsClockwise=Er,oP.geom.flat.orient.linearRingsAreOriented=Tr,oP.geom.flat.orient.linearRingssAreOriented=Cr,oP.geom.flat.orient.orientLinearRings=br,oP.geom.flat.orient.orientLinearRingsArray=Rr,oP.geom.flat.reverse={},oP.geom.flat.reverse.coordinates=Sr,oP.geom.flat.segments={},oP.geom.flat.segments.forEach=mr,oP.geom.flat.simplify={},oP.geom.flat.simplify.douglasPeucker=$n,oP.geom.flat.simplify.douglasPeuckerArray=Yn,oP.geom.flat.simplify.douglasPeuckerMultiArray=function(t,e,i,n,r,s,o,a){for(let l=0,h=i.length;l3&&!!nr(t,e,i,n)},oP.geom.flat.transform={},oP.geom.flat.transform.rotate=Rn,oP.geom.flat.transform.scale=Pn,oP.geom.flat.transform.transform2D=bn,oP.geom.flat.transform.translate=In,oP.has={},oP.has.CREATE_IMAGE_BITMAP=ft,oP.has.DEVICE_PIXEL_RATIO=ut,oP.has.FIREFOX=ot,oP.has.IMAGE_DECODE=gt,oP.has.MAC=ct,oP.has.PASSIVE_EVENT_LISTENERS=pt,oP.has.SAFARI=at,oP.has.SAFARI_BUG_237906=lt,oP.has.WEBKIT=ht,oP.has.WORKER_OFFSCREEN_CANVAS=dt,oP.interaction={},oP.interaction.DblClickDragZoom=qy,oP.interaction.DoubleClickZoom=Ih,oP.interaction.DragAndDrop=Jy,oP.interaction.DragAndDrop.DragAndDropEvent=Hy,oP.interaction.DragBox=ec,oP.interaction.DragBox.DragBoxEvent=tc,oP.interaction.DragPan=$h,oP.interaction.DragRotate=Yh,oP.interaction.DragRotateAndZoom=Qy,oP.interaction.DragZoom=ic,oP.interaction.Draw=fx,oP.interaction.Draw.DrawEvent=nx,oP.interaction.Draw.createBox=function(){return function(t,e,i){const n=Jt([t[0],t[t.length-1]].map((function(t){return xn(t,i)}))),r=[[we(n),Se(n),Le(n),Ie(n),we(n)]];e?e.setCoordinates(r):e=new Lr(r);const s=_n();return s&&e.transform(i,s),e}},oP.interaction.Draw.createRegularPolygon=function(t,e){return function(i,n,r){const s=xn(i[0],r),o=xn(i[i.length-1],r),a=Math.sqrt(Oi(s,o));n=n||Ar(new Yu(s),t);let l=e;if(!e&&0!==e){const t=o[0]-s[0],e=o[1]-s[1];l=Math.atan2(e,t)}Or(n,s,a,l);const h=_n();return h&&n.transform(r,h),n}},oP.interaction.Extent=wx,oP.interaction.Extent.ExtentEvent=mx,oP.interaction.Interaction=Ph,oP.interaction.Interaction.pan=bh,oP.interaction.Interaction.zoomByDelta=Rh,oP.interaction.KeyboardPan=ac,oP.interaction.KeyboardZoom=lc,oP.interaction.Link=Cx,oP.interaction.Modify=Dx,oP.interaction.Modify.ModifyEvent=Lx,oP.interaction.MouseWheelZoom=hc,oP.interaction.PinchRotate=cc,oP.interaction.PinchZoom=uc,oP.interaction.Pointer=Fh,oP.interaction.Pointer.centroid=Lh,oP.interaction.Select=zx,oP.interaction.Select.SelectEvent=kx,oP.interaction.Snap=Wx,oP.interaction.Translate=Kx,oP.interaction.Translate.TranslateEvent=qx,oP.interaction.defaults={},oP.interaction.defaults.defaults=dc,oP.layer={},oP.layer.Base=gs,oP.layer.BaseImage=Ug,oP.layer.BaseTile=Hg,oP.layer.BaseVector=Vl,oP.layer.Graticule=ky,oP.layer.Group=Jl,oP.layer.Group.GroupEvent=ql,oP.layer.Heatmap=By,oP.layer.Image=Yg,oP.layer.Layer=Xs,oP.layer.Layer.inView=Bs,oP.layer.Tile=Qg,oP.layer.Vector=Fy,oP.layer.VectorImage=Xy,oP.layer.VectorTile=Vy,oP.layer.WebGLPoints=Wy,oP.layer.WebGLTile=Yy,oP.loadingstrategy={},oP.loadingstrategy.all=Uc,oP.loadingstrategy.bbox=function(t,e){return[t]},oP.loadingstrategy.tile=function(t){return function(e,i,n){const r=t.getZForResolution(En(i,n)),s=t.getTileRangeForExtentAndZ(wn(e,n),r),o=[],a=[r,0,0];for(a[1]=s.minX;a[1]<=s.maxX;++a[1])for(a[2]=s.minY;a[2]<=s.maxY;++a[2])o.push(vn(t.getTileCoordExtent(a),n));return o}},oP.math={},oP.math.ceil=Ei,oP.math.clamp=di,oP.math.floor=Si,oP.math.lerp=xi,oP.math.modulo=yi,oP.math.round=wi,oP.math.solveLinearSystem=pi,oP.math.squaredDistance=fi,oP.math.squaredSegmentDistance=gi,oP.math.toDegrees=mi,oP.math.toFixed=vi,oP.math.toRadians=_i,oP.net={},oP.net.ClientError=Vc,oP.net.ResponseError=Xc,oP.net.getJSON=Wc,oP.net.jsonp=Bc,oP.net.overrideXHR=function(t){"undefined"!=typeof XMLHttpRequest&&(kc=XMLHttpRequest),global.XMLHttpRequest=t},oP.net.resolveUrl=Zc,oP.net.restoreXHR=function(){global.XMLHttpRequest=kc},oP.obj={},oP.obj.clear=_,oP.obj.isEmpty=y,oP.proj={},oP.proj.Projection=Xe,oP.proj.Units={},oP.proj.Units.METERS_PER_UNIT=Be,oP.proj.Units.fromCode=Ue,oP.proj.addCommon=Cn,oP.proj.addCoordinateTransforms=ln,oP.proj.addEquivalentProjections=rn,oP.proj.addEquivalentTransforms=sn,oP.proj.addProjection=Qi,oP.proj.addProjections=tn,oP.proj.clearAllProjections=function(){si(),hi()},oP.proj.clearUserProjection=function(){pn=null},oP.proj.cloneTransform=Hi,oP.proj.createProjection=on,oP.proj.createSafeCoordinateTransform=Tn,oP.proj.createTransformFromCoordinateTransform=an,oP.proj.disableCoordinateWarning=Ki,oP.proj.epsg3857={},oP.proj.epsg3857.EXTENT=Ze,oP.proj.epsg3857.HALF_SIZE=We,oP.proj.epsg3857.MAX_SAFE_Y=Ye,oP.proj.epsg3857.PROJECTIONS=Ke,oP.proj.epsg3857.RADIUS=Ve,oP.proj.epsg3857.WORLD_EXTENT=$e,oP.proj.epsg3857.fromEPSG4326=He,oP.proj.epsg3857.toEPSG4326=Je,oP.proj.epsg4326={},oP.proj.epsg4326.EXTENT=ti,oP.proj.epsg4326.METERS_PER_UNIT=ei,oP.proj.epsg4326.PROJECTIONS=ni,oP.proj.epsg4326.RADIUS=Qe,oP.proj.equivalent=cn,oP.proj.fromLonLat=function(t,e){return Ki(),gn(t,"EPSG:4326",void 0!==e?e:"EPSG:3857")},oP.proj.fromUserCoordinate=xn,oP.proj.fromUserExtent=wn,oP.proj.fromUserResolution=En,oP.proj.get=en,oP.proj.getPointResolution=nn,oP.proj.getTransform=dn,oP.proj.getTransformFromProjections=un,oP.proj.getUserProjection=_n,oP.proj.identityTransform=Ji,oP.proj.proj4={},oP.proj.proj4.epsgLookupMapTiler=function(t){return async function(e){const i=await fetch(`https://api.maptiler.com/coordinates/search/code:${e}.json?transformations=true&exports=true&key=${t}`);if(!i.ok)throw new Error(`Unexpected response from maptiler.com: ${i.status}`);return i.json().then((t=>{const i=t.results;if(i?.length>0){const t=i.filter((t=>"EPSG"===t.id?.authority&&t.id?.code===e))[0];if(t){const e=t.transformations;if(e?.length>0){const i=t.default_transformation;if(e.filter((t=>t.id?.authority===i?.authority&&t.id?.code===i?.code&&0===t.grids?.length)).length>0)return t.exports?.proj4;const n=e.filter((t=>0===t.grids?.length&&"EPSG"===t.target_crs?.authority&&4326===t.target_crs?.code&&!1===t.deprecated&&!0===t.usable)).sort(((t,e)=>t.accuracy-e.accuracy))[0]?.exports?.proj4;if(n)return n}return t.exports?.proj4}}}))}},oP.proj.proj4.fromEPSGCode=async function(t){"string"==typeof t&&(t=parseInt(t.split(":").pop(),10));const e=Py;if(!e)throw new Error("Proj4 must be registered first with register(proj4)");const i="EPSG:"+t;return e.defs(i)||(e.defs(i,await Ly(t)),Iy(e)),en(i)},oP.proj.proj4.getEPSGLookup=function(){return Ly},oP.proj.proj4.isRegistered=function(){return!!Py},oP.proj.proj4.register=Iy,oP.proj.proj4.setEPSGLookup=function(t){Ly=t},oP.proj.proj4.unregister=function(){Py=null},oP.proj.projections={},oP.proj.projections.add=ai,oP.proj.projections.clear=si,oP.proj.projections.get=oi,oP.proj.setUserProjection=mn,oP.proj.toLonLat=hn,oP.proj.toUserCoordinate=yn,oP.proj.toUserExtent=vn,oP.proj.toUserResolution=Sn,oP.proj.transform=gn,oP.proj.transformExtent=fn,oP.proj.transformWithProjections=function(t,e,i){return un(e,i)(t)},oP.proj.transforms={},oP.proj.transforms.add=ci,oP.proj.transforms.clear=hi,oP.proj.transforms.get=ui,oP.proj.transforms.remove=function(t,e){const i=t.getCode(),n=e.getCode(),r=li[i][n];return delete li[i][n],y(li[i])&&delete li[i],r},oP.proj.useGeographic=function(){mn("EPSG:4326")},oP.render={},oP.render.Box=qh,oP.render.Event=$l,oP.render.Feature=fd,oP.render.Feature.toFeature=function(t,e){const i=t.getId(),n=gd(t),r=t.getProperties(),s=new Dt;return void 0!==e&&s.setGeometryName(e),s.setGeometry(n),void 0!==i&&s.setId(i),s.setProperties(r,!0),s},oP.render.Feature.toGeometry=gd,oP.render.VectorContext=$c,oP.render.canvas={},oP.render.canvas.Builder=$_,oP.render.canvas.BuilderGroup=iy,oP.render.canvas.Executor=gy,oP.render.canvas.ExecutorGroup=xy,oP.render.canvas.ExecutorGroup.ALL=fy,oP.render.canvas.ExecutorGroup.DECLUTTER=py,oP.render.canvas.ExecutorGroup.NON_DECLUTTER=my,oP.render.canvas.ExecutorGroup.getPixelIndexArray=yy,oP.render.canvas.ImageBuilder=Y_,oP.render.canvas.Immediate=Yc,oP.render.canvas.Instruction={},oP.render.canvas.Instruction.beginPathInstruction=W_,oP.render.canvas.Instruction.closePathInstruction=Z_,oP.render.canvas.Instruction.fillInstruction=X_,oP.render.canvas.Instruction.strokeInstruction=V_,oP.render.canvas.LineStringBuilder=q_,oP.render.canvas.PolygonBuilder=K_,oP.render.canvas.TextBuilder=ty,oP.render.canvas.TextBuilder.TEXT_ALIGN=Q_,oP.render.canvas.ZIndexContext=Xg,oP.render.canvas.checkedFonts=ca,oP.render.canvas.defaultFillStyle=ea,oP.render.canvas.defaultFont=ta,oP.render.canvas.defaultLineCap=ia,oP.render.canvas.defaultLineDash=na,oP.render.canvas.defaultLineDashOffset=0,oP.render.canvas.defaultLineJoin=ra,oP.render.canvas.defaultLineWidth=1,oP.render.canvas.defaultMiterLimit=sa,oP.render.canvas.defaultPadding=ha,oP.render.canvas.defaultStrokeStyle=oa,oP.render.canvas.defaultTextAlign=aa,oP.render.canvas.defaultTextBaseline=la,oP.render.canvas.drawImageOrLabel=va,oP.render.canvas.getTextDimensions=xa,oP.render.canvas.hitdetect={},oP.render.canvas.hitdetect.HIT_DETECT_RESOLUTION=vy,oP.render.canvas.hitdetect.createHitDetectionImageData=wy,oP.render.canvas.hitdetect.hitDetect=Sy,oP.render.canvas.measureAndCacheTextWidth=ya,oP.render.canvas.measureTextHeight=pa,oP.render.canvas.measureTextWidth=_a,oP.render.canvas.registerFont=fa,oP.render.canvas.rotateAtOffset=function(t,e,i,n){0!==e&&(t.translate(i,n),t.rotate(e),t.translate(-i,-n))},oP.render.canvas.style={},oP.render.canvas.style.buildRuleSet=Sl,oP.render.canvas.style.buildStyle=El,oP.render.canvas.style.flatStylesToStyleFunction=wl,oP.render.canvas.style.rulesToStyleFunction=vl,oP.render.canvas.textHeights=ga,oP.render.getRenderPixel=function(t,e){return Bt(t.inversePixelTransform,e.slice(0))},oP.render.getVectorContext=iu,oP.render.toContext=function(t,e){const i=t.canvas,n=(e=e||{}).pixelRatio||ut,r=e.size;r&&(i.width=r[0]*n,i.height=r[1]*n,i.style.width=r[0]+"px",i.style.height=r[1]+"px");const s=[0,0,i.width,i.height],o=Vt([1,0,0,1,0,0],n,n);return new Yc(t,n,s,o,0)},oP.render.webgl={},oP.render.webgl.MixedGeometryBatch=Vm,oP.render.webgl.VectorStyleRenderer=T_,oP.render.webgl.renderinstructions={},oP.render.webgl.renderinstructions.generateLineStringRenderInstructions=d_,oP.render.webgl.renderinstructions.generatePointRenderInstructions=u_,oP.render.webgl.renderinstructions.generatePolygonRenderInstructions=g_,oP.render.webgl.renderinstructions.getCustomAttributesSize=c_,oP.render.webgl.utils={},oP.render.webgl.utils.LINESTRING_ANGLE_COSINE_CUTOFF=Qp,oP.render.webgl.utils.colorDecodeId=rm,oP.render.webgl.utils.colorEncodeId=nm,oP.render.webgl.utils.getBlankImageData=function(){const t=document.createElement("canvas").getContext("2d").createImageData(1,1);return t.data[0]=255,t.data[1]=255,t.data[2]=255,t.data[3]=255,t},oP.render.webgl.utils.writeLineSegmentToBuffers=function(t,e,i,n,r,s,o,a,l,h,c){const u=8+a.length,d=s.length/u,g=[t[e+0],t[e+1]],f=[t[i],t[i+1]],p=Bt(l,[...g]),m=Bt(l,[...f]);function _(t,e,i){const n=Math.sqrt((e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1])),r=[(e[0]-t[0])/n,(e[1]-t[1])/n],s=[-r[1],r[0]],o=Math.sqrt((i[0]-t[0])*(i[0]-t[0])+(i[1]-t[1])*(i[1]-t[1])),a=[(i[0]-t[0])/o,(i[1]-t[1])/o],l=0===n||0===o?0:Math.acos(di(a[0]*r[0]+a[1]*r[1],-1,1));return a[0]*s[0]+a[1]*s[1]>0?l:2*Math.PI-l}let y=-1,x=-1,v=c;const w=null!==r;if(null!==n){y=_(p,m,Bt(l,[...[t[n],t[n+1]]])),Math.cos(y)<=Qp&&(v+=Math.tan((y-Math.PI)/2))}if(w){x=_(m,p,Bt(l,[...[t[r],t[r+1]]])),Math.cos(x)<=Qp&&(v+=Math.tan((Math.PI-x)/2))}function S(t,e){return 0===e?1e4*t:Math.sign(e)*(1e4*t+Math.abs(e))}return s.push(g[0],g[1],f[0],f[1],y,x,h,S(0,c)),s.push(...a),s.push(g[0],g[1],f[0],f[1],y,x,h,S(1,c)),s.push(...a),s.push(g[0],g[1],f[0],f[1],y,x,h,S(2,c)),s.push(...a),s.push(g[0],g[1],f[0],f[1],y,x,h,S(3,c)),s.push(...a),o.push(d,d+1,d+2,d+1,d+3,d+2),{length:h+Math.sqrt((m[0]-p[0])*(m[0]-p[0])+(m[1]-p[1])*(m[1]-p[1])),angle:v}},oP.render.webgl.utils.writePointFeatureToBuffers=function(t,e,i,n,r,s){const o=3+r,a=t[e+0],l=t[e+1],h=tm;h.length=r;for(let i=0;i1?"projection"in e?n.TileMatrixSetLink.findIndex((function(t){const i=r.find((function(e){return e.Identifier==t.TileMatrixSet})).SupportedCRS,n=en(i),s=en(e.projection);return n&&s?cn(n,s):i==e.projection})):n.TileMatrixSetLink.findIndex((function(t){return t.TileMatrixSet==e.matrixSet})):0,s<0&&(s=0);const o=n.TileMatrixSetLink[s].TileMatrixSet,a=n.TileMatrixSetLink[s].TileMatrixSetLimits;let l=n.Format[0];"format"in e&&(l=e.format),s=n.Style.findIndex((function(t){return"style"in e?t.Title==e.style:t.isDefault})),s<0&&(s=0);const h=n.Style[s].Identifier,c={};"Dimension"in n&&n.Dimension.forEach((function(t,e,i){const n=t.Identifier;let r=t.Default;void 0===r&&(r=t.Value[0]),c[n]=r}));const u=t.Contents.TileMatrixSet.find((function(t){return t.Identifier==o}));let d;const g=u.SupportedCRS;if(g&&(d=en(g)),"projection"in e){const t=en(e.projection);t&&(d&&!cn(t,d)||(d=t))}let f=!1;const p="ne"==d.getAxisOrientation().substr(0,2);let m=u.TileMatrix[0],_={MinTileCol:0,MinTileRow:0,MaxTileCol:m.MatrixWidth-1,MaxTileRow:m.MatrixHeight-1};if(a){_=a[a.length-1];const t=u.TileMatrix.find((t=>t.Identifier===_.TileMatrix||u.Identifier+":"+t.Identifier===_.TileMatrix));t&&(m=t)}const y=28e-5*m.ScaleDenominator/d.getMetersPerUnit(),x=p?[m.TopLeftCorner[1],m.TopLeftCorner[0]]:m.TopLeftCorner,v=m.TileWidth*y,w=m.TileHeight*y;let S=u.BoundingBox;S&&p&&(S=[S[1],S[0],S[3],S[2]]);let E=[x[0]+v*_.MinTileCol,x[1]-w*(1+_.MaxTileRow),x[0]+v*(1+_.MaxTileCol),x[1]-w*_.MinTileRow];if(void 0!==S&&!ne(S,E)){const t=n.WGS84BoundingBox,e=en("EPSG:4326").getExtent();if(E=S,t)f=t[0]===e[0]&&t[2]===e[2];else{const t=fn(S,u.SupportedCRS,"EPSG:4326");f=t[0]-1e-10<=e[0]&&t[2]+1e-10>=e[2]}}const T=Eu(u,E,a),C=[];let b=e.requestEncoding;if(b=void 0!==b?b:"","OperationsMetadata"in t&&"GetTile"in t.OperationsMetadata){const e=t.OperationsMetadata.GetTile.DCP.HTTP.Get;for(let t=0,i=e.length;t{const n=t.toString();if(!i.containsKey(n)){const r=e(t);i.set(n,r)}a.push(i.get(n))})),a}},oP.source.static={},oP.source.static.createLoader=yg,oP.source.wms={},oP.source.wms.DEFAULT_VERSION=vg,oP.source.wms.createLoader=Cg,oP.source.wms.getFeatureInfoUrl=bg,oP.source.wms.getImageSrc=Eg,oP.source.wms.getLegendUrl=Rg,oP.source.wms.getRequestParams=Tg,oP.source.wms.getRequestUrl=Sg,oP.sphere={},oP.sphere.DEFAULT_RADIUS=zi,oP.sphere.getArea=function t(e,i){const n=(i=i||{}).radius||zi,r=i.projection||"EPSG:3857",s=e.getType();"GeometryCollection"!==s&&(e=e.clone().transform(r,"EPSG:4326"));let o,a,l,h,c,u,d=0;switch(s){case"Point":case"MultiPoint":case"LineString":case"MultiLineString":case"LinearRing":break;case"Polygon":for(o=e.getCoordinates(),d=Math.abs(Xi(o[0],n)),l=1,h=o.length;ld;d++){var f=this.data.charCodeAt(d);f>65536?(b[0]=240|(1835008&f)>>>18,b[1]=128|(258048&f)>>>12,b[2]=128|(4032&f)>>>6,b[3]=128|63&f):f>2048?(b[0]=224|(61440&f)>>>12,b[1]=128|(4032&f)>>>6,b[2]=128|63&f):f>128?(b[0]=192|(1984&f)>>>6,b[1]=128|63&f):b[0]=f,this.parsedData=this.parsedData.concat(b)}this.parsedData.length!=this.data.length&&(this.parsedData.unshift(191),this.parsedData.unshift(187),this.parsedData.unshift(239))}function b(a,b){this.typeNumber=a,this.errorCorrectLevel=b,this.modules=null,this.moduleCount=0,this.dataCache=null,this.dataList=[]}function i(a,b){if(void 0==a.length)throw new Error(a.length+"/"+b);for(var c=0;c=f;f++){var h=0;switch(b){case d.L:h=l[f][0];break;case d.M:h=l[f][1];break;case d.Q:h=l[f][2];break;case d.H:h=l[f][3]}if(h>=e)break;c++}if(c>l.length)throw new Error("Too long data");return c}function s(a){var b=encodeURI(a).toString().replace(/\%[0-9a-fA-F]{2}/g,"a");return b.length+(b.length!=a?3:0)}a.prototype={getLength:function(){return this.parsedData.length},write:function(a){for(var b=0,c=this.parsedData.length;c>b;b++)a.put(this.parsedData[b],8)}},b.prototype={addData:function(b){var c=new a(b);this.dataList.push(c),this.dataCache=null},isDark:function(a,b){if(0>a||this.moduleCount<=a||0>b||this.moduleCount<=b)throw new Error(a+","+b);return this.modules[a][b]},getModuleCount:function(){return this.moduleCount},make:function(){this.makeImpl(!1,this.getBestMaskPattern())},makeImpl:function(a,c){this.moduleCount=4*this.typeNumber+17,this.modules=new Array(this.moduleCount);for(var d=0;d=7&&this.setupTypeNumber(a),null==this.dataCache&&(this.dataCache=b.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,c)},setupPositionProbePattern:function(a,b){for(var c=-1;7>=c;c++)if(!(-1>=a+c||this.moduleCount<=a+c))for(var d=-1;7>=d;d++)-1>=b+d||this.moduleCount<=b+d||(this.modules[a+c][b+d]=c>=0&&6>=c&&(0==d||6==d)||d>=0&&6>=d&&(0==c||6==c)||c>=2&&4>=c&&d>=2&&4>=d?!0:!1)},getBestMaskPattern:function(){for(var a=0,b=0,c=0;8>c;c++){this.makeImpl(!0,c);var d=f.getLostPoint(this);(0==c||a>d)&&(a=d,b=c)}return b},createMovieClip:function(a,b,c){var d=a.createEmptyMovieClip(b,c),e=1;this.make();for(var f=0;f=g;g++)for(var h=-2;2>=h;h++)this.modules[d+g][e+h]=-2==g||2==g||-2==h||2==h||0==g&&0==h?!0:!1}},setupTypeNumber:function(a){for(var b=f.getBCHTypeNumber(this.typeNumber),c=0;18>c;c++){var d=!a&&1==(1&b>>c);this.modules[Math.floor(c/3)][c%3+this.moduleCount-8-3]=d}for(var c=0;18>c;c++){var d=!a&&1==(1&b>>c);this.modules[c%3+this.moduleCount-8-3][Math.floor(c/3)]=d}},setupTypeInfo:function(a,b){for(var c=this.errorCorrectLevel<<3|b,d=f.getBCHTypeInfo(c),e=0;15>e;e++){var g=!a&&1==(1&d>>e);6>e?this.modules[e][8]=g:8>e?this.modules[e+1][8]=g:this.modules[this.moduleCount-15+e][8]=g}for(var e=0;15>e;e++){var g=!a&&1==(1&d>>e);8>e?this.modules[8][this.moduleCount-e-1]=g:9>e?this.modules[8][15-e-1+1]=g:this.modules[8][15-e-1]=g}this.modules[this.moduleCount-8][8]=!a},mapData:function(a,b){for(var c=-1,d=this.moduleCount-1,e=7,g=0,h=this.moduleCount-1;h>0;h-=2)for(6==h&&h--;;){for(var i=0;2>i;i++)if(null==this.modules[d][h-i]){var j=!1;g>>e));var k=f.getMask(b,d,h-i);k&&(j=!j),this.modules[d][h-i]=j,e--,-1==e&&(g++,e=7)}if(d+=c,0>d||this.moduleCount<=d){d-=c,c=-c;break}}}},b.PAD0=236,b.PAD1=17,b.createData=function(a,c,d){for(var e=j.getRSBlocks(a,c),g=new k,h=0;h8*l)throw new Error("code length overflow. ("+g.getLengthInBits()+">"+8*l+")");for(g.getLengthInBits()+4<=8*l&&g.put(0,4);0!=g.getLengthInBits()%8;)g.putBit(!1);for(;;){if(g.getLengthInBits()>=8*l)break;if(g.put(b.PAD0,8),g.getLengthInBits()>=8*l)break;g.put(b.PAD1,8)}return b.createBytes(g,e)},b.createBytes=function(a,b){for(var c=0,d=0,e=0,g=new Array(b.length),h=new Array(b.length),j=0;j=0?p.get(q):0}}for(var r=0,m=0;mm;m++)for(var j=0;jm;m++)for(var j=0;j=0;)b^=f.G15<=0;)b^=f.G18<>>=1;return b},getPatternPosition:function(a){return f.PATTERN_POSITION_TABLE[a-1]},getMask:function(a,b,c){switch(a){case e.PATTERN000:return 0==(b+c)%2;case e.PATTERN001:return 0==b%2;case e.PATTERN010:return 0==c%3;case e.PATTERN011:return 0==(b+c)%3;case e.PATTERN100:return 0==(Math.floor(b/2)+Math.floor(c/3))%2;case e.PATTERN101:return 0==b*c%2+b*c%3;case e.PATTERN110:return 0==(b*c%2+b*c%3)%2;case e.PATTERN111:return 0==(b*c%3+(b+c)%2)%2;default:throw new Error("bad maskPattern:"+a)}},getErrorCorrectPolynomial:function(a){for(var b=new i([1],0),c=0;a>c;c++)b=b.multiply(new i([1,g.gexp(c)],0));return b},getLengthInBits:function(a,b){if(b>=1&&10>b)switch(a){case c.MODE_NUMBER:return 10;case c.MODE_ALPHA_NUM:return 9;case c.MODE_8BIT_BYTE:return 8;case c.MODE_KANJI:return 8;default:throw new Error("mode:"+a)}else if(27>b)switch(a){case c.MODE_NUMBER:return 12;case c.MODE_ALPHA_NUM:return 11;case c.MODE_8BIT_BYTE:return 16;case c.MODE_KANJI:return 10;default:throw new Error("mode:"+a)}else{if(!(41>b))throw new Error("type:"+b);switch(a){case c.MODE_NUMBER:return 14;case c.MODE_ALPHA_NUM:return 13;case c.MODE_8BIT_BYTE:return 16;case c.MODE_KANJI:return 12;default:throw new Error("mode:"+a)}}},getLostPoint:function(a){for(var b=a.getModuleCount(),c=0,d=0;b>d;d++)for(var e=0;b>e;e++){for(var f=0,g=a.isDark(d,e),h=-1;1>=h;h++)if(!(0>d+h||d+h>=b))for(var i=-1;1>=i;i++)0>e+i||e+i>=b||(0!=h||0!=i)&&g==a.isDark(d+h,e+i)&&f++;f>5&&(c+=3+f-5)}for(var d=0;b-1>d;d++)for(var e=0;b-1>e;e++){var j=0;a.isDark(d,e)&&j++,a.isDark(d+1,e)&&j++,a.isDark(d,e+1)&&j++,a.isDark(d+1,e+1)&&j++,(0==j||4==j)&&(c+=3)}for(var d=0;b>d;d++)for(var e=0;b-6>e;e++)a.isDark(d,e)&&!a.isDark(d,e+1)&&a.isDark(d,e+2)&&a.isDark(d,e+3)&&a.isDark(d,e+4)&&!a.isDark(d,e+5)&&a.isDark(d,e+6)&&(c+=40);for(var e=0;b>e;e++)for(var d=0;b-6>d;d++)a.isDark(d,e)&&!a.isDark(d+1,e)&&a.isDark(d+2,e)&&a.isDark(d+3,e)&&a.isDark(d+4,e)&&!a.isDark(d+5,e)&&a.isDark(d+6,e)&&(c+=40);for(var k=0,e=0;b>e;e++)for(var d=0;b>d;d++)a.isDark(d,e)&&k++;var l=Math.abs(100*k/b/b-50)/5;return c+=10*l}},g={glog:function(a){if(1>a)throw new Error("glog("+a+")");return g.LOG_TABLE[a]},gexp:function(a){for(;0>a;)a+=255;for(;a>=256;)a-=255;return g.EXP_TABLE[a]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)},h=0;8>h;h++)g.EXP_TABLE[h]=1<h;h++)g.EXP_TABLE[h]=g.EXP_TABLE[h-4]^g.EXP_TABLE[h-5]^g.EXP_TABLE[h-6]^g.EXP_TABLE[h-8];for(var h=0;255>h;h++)g.LOG_TABLE[g.EXP_TABLE[h]]=h;i.prototype={get:function(a){return this.num[a]},getLength:function(){return this.num.length},multiply:function(a){for(var b=new Array(this.getLength()+a.getLength()-1),c=0;cf;f++)for(var g=c[3*f+0],h=c[3*f+1],i=c[3*f+2],k=0;g>k;k++)e.push(new j(h,i));return e},j.getRsBlockTable=function(a,b){switch(b){case d.L:return j.RS_BLOCK_TABLE[4*(a-1)+0];case d.M:return j.RS_BLOCK_TABLE[4*(a-1)+1];case d.Q:return j.RS_BLOCK_TABLE[4*(a-1)+2];case d.H:return j.RS_BLOCK_TABLE[4*(a-1)+3];default:return void 0}},k.prototype={get:function(a){var b=Math.floor(a/8);return 1==(1&this.buffer[b]>>>7-a%8)},put:function(a,b){for(var c=0;b>c;c++)this.putBit(1==(1&a>>>b-c-1))},getLengthInBits:function(){return this.length},putBit:function(a){var b=Math.floor(this.length/8);this.buffer.length<=b&&this.buffer.push(0),a&&(this.buffer[b]|=128>>>this.length%8),this.length++}};var l=[[17,14,11,7],[32,26,20,14],[53,42,32,24],[78,62,46,34],[106,84,60,44],[134,106,74,58],[154,122,86,64],[192,152,108,84],[230,180,130,98],[271,213,151,119],[321,251,177,137],[367,287,203,155],[425,331,241,177],[458,362,258,194],[520,412,292,220],[586,450,322,250],[644,504,364,280],[718,560,394,310],[792,624,442,338],[858,666,482,382],[929,711,509,403],[1003,779,565,439],[1091,857,611,461],[1171,911,661,511],[1273,997,715,535],[1367,1059,751,593],[1465,1125,805,625],[1528,1190,868,658],[1628,1264,908,698],[1732,1370,982,742],[1840,1452,1030,790],[1952,1538,1112,842],[2068,1628,1168,898],[2188,1722,1228,958],[2303,1809,1283,983],[2431,1911,1351,1051],[2563,1989,1423,1093],[2699,2099,1499,1139],[2809,2213,1579,1219],[2953,2331,1663,1273]],o=function(){var a=function(a,b){this._el=a,this._htOption=b};return a.prototype.draw=function(a){function g(a,b){var c=document.createElementNS("http://www.w3.org/2000/svg",a);for(var d in b)b.hasOwnProperty(d)&&c.setAttribute(d,b[d]);return c}var b=this._htOption,c=this._el,d=a.getModuleCount();Math.floor(b.width/d),Math.floor(b.height/d),this.clear();var h=g("svg",{viewBox:"0 0 "+String(d)+" "+String(d),width:"100%",height:"100%",fill:b.colorLight});h.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink","http://www.w3.org/1999/xlink"),c.appendChild(h),h.appendChild(g("rect",{fill:b.colorDark,width:"1",height:"1",id:"template"}));for(var i=0;d>i;i++)for(var j=0;d>j;j++)if(a.isDark(i,j)){var k=g("use",{x:String(i),y:String(j)});k.setAttributeNS("http://www.w3.org/1999/xlink","href","#template"),h.appendChild(k)}},a.prototype.clear=function(){for(;this._el.hasChildNodes();)this._el.removeChild(this._el.lastChild)},a}(),p="svg"===document.documentElement.tagName.toLowerCase(),q=p?o:m()?function(){function a(){this._elImage.src=this._elCanvas.toDataURL("image/png"),this._elImage.style.display="block",this._elCanvas.style.display="none"}function d(a,b){var c=this;if(c._fFail=b,c._fSuccess=a,null===c._bSupportDataURI){var d=document.createElement("img"),e=function(){c._bSupportDataURI=!1,c._fFail&&_fFail.call(c)},f=function(){c._bSupportDataURI=!0,c._fSuccess&&c._fSuccess.call(c)};return d.onabort=e,d.onerror=e,d.onload=f,d.src="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==",void 0}c._bSupportDataURI===!0&&c._fSuccess?c._fSuccess.call(c):c._bSupportDataURI===!1&&c._fFail&&c._fFail.call(c)}if(this._android&&this._android<=2.1){var b=1/window.devicePixelRatio,c=CanvasRenderingContext2D.prototype.drawImage;CanvasRenderingContext2D.prototype.drawImage=function(a,d,e,f,g,h,i,j){if("nodeName"in a&&/img/i.test(a.nodeName))for(var l=arguments.length-1;l>=1;l--)arguments[l]=arguments[l]*b;else"undefined"==typeof j&&(arguments[1]*=b,arguments[2]*=b,arguments[3]*=b,arguments[4]*=b);c.apply(this,arguments)}}var e=function(a,b){this._bIsPainted=!1,this._android=n(),this._htOption=b,this._elCanvas=document.createElement("canvas"),this._elCanvas.width=b.width,this._elCanvas.height=b.height,a.appendChild(this._elCanvas),this._el=a,this._oContext=this._elCanvas.getContext("2d"),this._bIsPainted=!1,this._elImage=document.createElement("img"),this._elImage.style.display="none",this._el.appendChild(this._elImage),this._bSupportDataURI=null};return e.prototype.draw=function(a){var b=this._elImage,c=this._oContext,d=this._htOption,e=a.getModuleCount(),f=d.width/e,g=d.height/e,h=Math.round(f),i=Math.round(g);b.style.display="none",this.clear();for(var j=0;e>j;j++)for(var k=0;e>k;k++){var l=a.isDark(j,k),m=k*f,n=j*g;c.strokeStyle=l?d.colorDark:d.colorLight,c.lineWidth=1,c.fillStyle=l?d.colorDark:d.colorLight,c.fillRect(m,n,f,g),c.strokeRect(Math.floor(m)+.5,Math.floor(n)+.5,h,i),c.strokeRect(Math.ceil(m)-.5,Math.ceil(n)-.5,h,i)}this._bIsPainted=!0},e.prototype.makeImage=function(){this._bIsPainted&&d.call(this,a)},e.prototype.isPainted=function(){return this._bIsPainted},e.prototype.clear=function(){this._oContext.clearRect(0,0,this._elCanvas.width,this._elCanvas.height),this._bIsPainted=!1},e.prototype.round=function(a){return a?Math.floor(1e3*a)/1e3:a},e}():function(){var a=function(a,b){this._el=a,this._htOption=b};return a.prototype.draw=function(a){for(var b=this._htOption,c=this._el,d=a.getModuleCount(),e=Math.floor(b.width/d),f=Math.floor(b.height/d),g=[''],h=0;d>h;h++){g.push("");for(var i=0;d>i;i++)g.push('');g.push("")}g.push("
"),c.innerHTML=g.join("");var j=c.childNodes[0],k=(b.width-j.offsetWidth)/2,l=(b.height-j.offsetHeight)/2;k>0&&l>0&&(j.style.margin=l+"px "+k+"px")},a.prototype.clear=function(){this._el.innerHTML=""},a}();QRCode=function(a,b){if(this._htOption={width:256,height:256,typeNumber:4,colorDark:"#000000",colorLight:"#ffffff",correctLevel:d.H},"string"==typeof b&&(b={text:b}),b)for(var c in b)this._htOption[c]=b[c];"string"==typeof a&&(a=document.getElementById(a)),this._android=n(),this._el=a,this._oQRCode=null,this._oDrawing=new q(this._el,this._htOption),this._htOption.text&&this.makeCode(this._htOption.text)},QRCode.prototype.makeCode=function(a){this._oQRCode=new b(r(a,this._htOption.correctLevel),this._htOption.correctLevel),this._oQRCode.addData(a),this._oQRCode.make(),this._el.title=a,this._oDrawing.draw(this._oQRCode),this.makeImage()},QRCode.prototype.makeImage=function(){"function"==typeof this._oDrawing.makeImage&&(!this._android||this._android>=3)&&this._oDrawing.makeImage()},QRCode.prototype.clear=function(){this._oDrawing.clear()},QRCode.CorrectLevel=d}(); \ No newline at end of file diff --git a/www/static/lib/swiper/swiper-bundle.min.css b/www/static/lib/swiper/swiper-bundle.min.css new file mode 100644 index 0000000..af74a68 --- /dev/null +++ b/www/static/lib/swiper/swiper-bundle.min.css @@ -0,0 +1,13 @@ +/** + * Swiper 11.2.10 + * Most modern mobile touch slider and framework with hardware accelerated transitions + * https://swiperjs.com + * + * Copyright 2014-2025 Vladimir Kharlampidi + * + * Released under the MIT License + * + * Released on: June 28, 2025 + */ + +@font-face{font-family:swiper-icons;src:url('data:application/font-woff;charset=utf-8;base64, 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');font-weight:400;font-style:normal}:root{--swiper-theme-color:#007aff}:host{position:relative;display:block;margin-left:auto;margin-right:auto;z-index:1}.swiper{margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1;display:block}.swiper-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;transition-timing-function:var(--swiper-wrapper-transition-timing-function,initial);box-sizing:content-box}.swiper-android .swiper-slide,.swiper-ios .swiper-slide,.swiper-wrapper{transform:translate3d(0px,0,0)}.swiper-horizontal{touch-action:pan-y}.swiper-vertical{touch-action:pan-x}.swiper-slide{flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform;display:block}.swiper-slide-invisible-blank{visibility:hidden}.swiper-autoheight,.swiper-autoheight .swiper-slide{height:auto}.swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.swiper-backface-hidden .swiper-slide{transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.swiper-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-3d{perspective:1200px}.swiper-3d .swiper-cube-shadow,.swiper-3d .swiper-slide{transform-style:preserve-3d}.swiper-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.swiper-css-mode.swiper-horizontal>.swiper-wrapper{scroll-snap-type:x mandatory}.swiper-css-mode.swiper-vertical>.swiper-wrapper{scroll-snap-type:y mandatory}.swiper-css-mode.swiper-free-mode>.swiper-wrapper{scroll-snap-type:none}.swiper-css-mode.swiper-free-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:none}.swiper-css-mode.swiper-centered>.swiper-wrapper::before{content:'';flex-shrink:0;order:9999}.swiper-css-mode.swiper-centered>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center;scroll-snap-stop:always}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper>.swiper-slide:first-child{margin-inline-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper::before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper>.swiper-slide:first-child{margin-block-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper::before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-3d .swiper-slide-shadow{background:rgba(0,0,0,.15)}.swiper-3d .swiper-slide-shadow-left{background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-right{background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-top{background-image:linear-gradient(to top,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-bottom{background-image:linear-gradient(to bottom,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;transform-origin:50%;box-sizing:border-box;border:4px solid var(--swiper-preloader-color,var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}.swiper-watch-progress .swiper-slide-visible .swiper-lazy-preloader,.swiper:not(.swiper-watch-progress) .swiper-lazy-preloader{animation:swiper-preloader-spin 1s infinite linear}.swiper-lazy-preloader-white{--swiper-preloader-color:#fff}.swiper-lazy-preloader-black{--swiper-preloader-color:#000}@keyframes swiper-preloader-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.swiper-virtual .swiper-slide{-webkit-backface-visibility:hidden;transform:translateZ(0)}.swiper-virtual.swiper-css-mode .swiper-wrapper::after{content:'';position:absolute;left:0;top:0;pointer-events:none}.swiper-virtual.swiper-css-mode.swiper-horizontal .swiper-wrapper::after{height:1px;width:var(--swiper-virtual-size)}.swiper-virtual.swiper-css-mode.swiper-vertical .swiper-wrapper::after{width:1px;height:var(--swiper-virtual-size)}:root{--swiper-navigation-size:44px}.swiper-button-next,.swiper-button-prev{position:absolute;top:var(--swiper-navigation-top-offset,50%);width:calc(var(--swiper-navigation-size)/ 44 * 27);height:var(--swiper-navigation-size);margin-top:calc(0px - (var(--swiper-navigation-size)/ 2));z-index:10;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--swiper-navigation-color,var(--swiper-theme-color))}.swiper-button-next.swiper-button-disabled,.swiper-button-prev.swiper-button-disabled{opacity:.35;cursor:auto;pointer-events:none}.swiper-button-next.swiper-button-hidden,.swiper-button-prev.swiper-button-hidden{opacity:0;cursor:auto;pointer-events:none}.swiper-navigation-disabled .swiper-button-next,.swiper-navigation-disabled .swiper-button-prev{display:none!important}.swiper-button-next svg,.swiper-button-prev svg{width:100%;height:100%;object-fit:contain;transform-origin:center}.swiper-rtl .swiper-button-next svg,.swiper-rtl .swiper-button-prev svg{transform:rotate(180deg)}.swiper-button-prev,.swiper-rtl .swiper-button-next{left:var(--swiper-navigation-sides-offset,10px);right:auto}.swiper-button-next,.swiper-rtl .swiper-button-prev{right:var(--swiper-navigation-sides-offset,10px);left:auto}.swiper-button-lock{display:none}.swiper-button-next:after,.swiper-button-prev:after{font-family:swiper-icons;font-size:var(--swiper-navigation-size);text-transform:none!important;letter-spacing:0;font-variant:initial;line-height:1}.swiper-button-prev:after,.swiper-rtl .swiper-button-next:after{content:'prev'}.swiper-button-next,.swiper-rtl .swiper-button-prev{right:var(--swiper-navigation-sides-offset,10px);left:auto}.swiper-button-next:after,.swiper-rtl .swiper-button-prev:after{content:'next'}.swiper-pagination{position:absolute;text-align:center;transition:.3s opacity;transform:translate3d(0,0,0);z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-pagination-disabled>.swiper-pagination,.swiper-pagination.swiper-pagination-disabled{display:none!important}.swiper-horizontal>.swiper-pagination-bullets,.swiper-pagination-bullets.swiper-pagination-horizontal,.swiper-pagination-custom,.swiper-pagination-fraction{bottom:var(--swiper-pagination-bottom,8px);top:var(--swiper-pagination-top,auto);left:0;width:100%}.swiper-pagination-bullets-dynamic{overflow:hidden;font-size:0}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transform:scale(.33);position:relative}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{transform:scale(.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{transform:scale(.33)}.swiper-pagination-bullet{width:var(--swiper-pagination-bullet-width,var(--swiper-pagination-bullet-size,8px));height:var(--swiper-pagination-bullet-height,var(--swiper-pagination-bullet-size,8px));display:inline-block;border-radius:var(--swiper-pagination-bullet-border-radius,50%);background:var(--swiper-pagination-bullet-inactive-color,#000);opacity:var(--swiper-pagination-bullet-inactive-opacity, .2)}button.swiper-pagination-bullet{border:none;margin:0;padding:0;box-shadow:none;-webkit-appearance:none;appearance:none}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet:only-child{display:none!important}.swiper-pagination-bullet-active{opacity:var(--swiper-pagination-bullet-opacity, 1);background:var(--swiper-pagination-color,var(--swiper-theme-color))}.swiper-pagination-vertical.swiper-pagination-bullets,.swiper-vertical>.swiper-pagination-bullets{right:var(--swiper-pagination-right,8px);left:var(--swiper-pagination-left,auto);top:50%;transform:translate3d(0px,-50%,0)}.swiper-pagination-vertical.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-vertical>.swiper-pagination-bullets .swiper-pagination-bullet{margin:var(--swiper-pagination-bullet-vertical-gap,6px) 0;display:block}.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;transform:translateY(-50%);width:8px}.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;transition:.2s transform,.2s top}.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 var(--swiper-pagination-bullet-horizontal-gap,4px)}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{left:50%;transform:translateX(-50%);white-space:nowrap}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s left}.swiper-horizontal.swiper-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s right}.swiper-pagination-fraction{color:var(--swiper-pagination-fraction-color,inherit)}.swiper-pagination-progressbar{background:var(--swiper-pagination-progressbar-bg-color,rgba(0,0,0,.25));position:absolute}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:var(--swiper-pagination-color,var(--swiper-theme-color));position:absolute;left:0;top:0;width:100%;height:100%;transform:scale(0);transform-origin:left top}.swiper-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{transform-origin:right top}.swiper-horizontal>.swiper-pagination-progressbar,.swiper-pagination-progressbar.swiper-pagination-horizontal,.swiper-pagination-progressbar.swiper-pagination-vertical.swiper-pagination-progressbar-opposite,.swiper-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite{width:100%;height:var(--swiper-pagination-progressbar-size,4px);left:0;top:0}.swiper-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-vertical,.swiper-vertical>.swiper-pagination-progressbar{width:var(--swiper-pagination-progressbar-size,4px);height:100%;left:0;top:0}.swiper-pagination-lock{display:none}.swiper-scrollbar{border-radius:var(--swiper-scrollbar-border-radius,10px);position:relative;touch-action:none;background:var(--swiper-scrollbar-bg-color,rgba(0,0,0,.1))}.swiper-scrollbar-disabled>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-disabled{display:none!important}.swiper-horizontal>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-horizontal{position:absolute;left:var(--swiper-scrollbar-sides-offset,1%);bottom:var(--swiper-scrollbar-bottom,4px);top:var(--swiper-scrollbar-top,auto);z-index:50;height:var(--swiper-scrollbar-size,4px);width:calc(100% - 2 * var(--swiper-scrollbar-sides-offset,1%))}.swiper-scrollbar.swiper-scrollbar-vertical,.swiper-vertical>.swiper-scrollbar{position:absolute;left:var(--swiper-scrollbar-left,auto);right:var(--swiper-scrollbar-right,4px);top:var(--swiper-scrollbar-sides-offset,1%);z-index:50;width:var(--swiper-scrollbar-size,4px);height:calc(100% - 2 * var(--swiper-scrollbar-sides-offset,1%))}.swiper-scrollbar-drag{height:100%;width:100%;position:relative;background:var(--swiper-scrollbar-drag-bg-color,rgba(0,0,0,.5));border-radius:var(--swiper-scrollbar-border-radius,10px);left:0;top:0}.swiper-scrollbar-cursor-drag{cursor:move}.swiper-scrollbar-lock{display:none}.swiper-zoom-container{width:100%;height:100%;display:flex;justify-content:center;align-items:center;text-align:center}.swiper-zoom-container>canvas,.swiper-zoom-container>img,.swiper-zoom-container>svg{max-width:100%;max-height:100%;object-fit:contain}.swiper-slide-zoomed{cursor:move;touch-action:none}.swiper .swiper-notification{position:absolute;left:0;top:0;pointer-events:none;opacity:0;z-index:-1000}.swiper-free-mode>.swiper-wrapper{transition-timing-function:ease-out;margin:0 auto}.swiper-grid>.swiper-wrapper{flex-wrap:wrap}.swiper-grid-column>.swiper-wrapper{flex-wrap:wrap;flex-direction:column}.swiper-fade.swiper-free-mode .swiper-slide{transition-timing-function:ease-out}.swiper-fade .swiper-slide{pointer-events:none;transition-property:opacity}.swiper-fade .swiper-slide .swiper-slide{pointer-events:none}.swiper-fade .swiper-slide-active{pointer-events:auto}.swiper-fade .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper.swiper-cube{overflow:visible}.swiper-cube .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1;visibility:hidden;transform-origin:0 0;width:100%;height:100%}.swiper-cube .swiper-slide .swiper-slide{pointer-events:none}.swiper-cube.swiper-rtl .swiper-slide{transform-origin:100% 0}.swiper-cube .swiper-slide-active,.swiper-cube .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-cube .swiper-slide-active,.swiper-cube .swiper-slide-next,.swiper-cube .swiper-slide-prev{pointer-events:auto;visibility:visible}.swiper-cube .swiper-cube-shadow{position:absolute;left:0;bottom:0px;width:100%;height:100%;opacity:.6;z-index:0}.swiper-cube .swiper-cube-shadow:before{content:'';background:#000;position:absolute;left:0;top:0;bottom:0;right:0;filter:blur(50px)}.swiper-cube .swiper-slide-next+.swiper-slide{pointer-events:auto;visibility:visible}.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-bottom,.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-left,.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-right,.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-top{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper.swiper-flip{overflow:visible}.swiper-flip .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1}.swiper-flip .swiper-slide .swiper-slide{pointer-events:none}.swiper-flip .swiper-slide-active,.swiper-flip .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-bottom,.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-left,.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-right,.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-top{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-creative .swiper-slide{-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden;transition-property:transform,opacity,height}.swiper.swiper-cards{overflow:visible}.swiper-cards .swiper-slide{transform-origin:center bottom;-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden} \ No newline at end of file diff --git a/www/static/lib/swiper/swiper-bundle.min.js b/www/static/lib/swiper/swiper-bundle.min.js new file mode 100644 index 0000000..2a57d2a --- /dev/null +++ b/www/static/lib/swiper/swiper-bundle.min.js @@ -0,0 +1,14 @@ +/** + * Swiper 11.2.10 + * Most modern mobile touch slider and framework with hardware accelerated transitions + * https://swiperjs.com + * + * Copyright 2014-2025 Vladimir Kharlampidi + * + * Released under the MIT License + * + * Released on: June 28, 2025 + */ + +var Swiper=function(){"use strict";function e(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function t(s,a){void 0===s&&(s={}),void 0===a&&(a={});const i=["__proto__","constructor","prototype"];Object.keys(a).filter((e=>i.indexOf(e)<0)).forEach((i=>{void 0===s[i]?s[i]=a[i]:e(a[i])&&e(s[i])&&Object.keys(a[i]).length>0&&t(s[i],a[i])}))}const s={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function a(){const e="undefined"!=typeof document?document:{};return t(e,s),e}const i={document:s,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:e=>"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0),cancelAnimationFrame(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function r(){const e="undefined"!=typeof window?window:{};return t(e,i),e}function n(e){return void 0===e&&(e=""),e.trim().split(" ").filter((e=>!!e.trim()))}function l(e,t){return void 0===t&&(t=0),setTimeout(e,t)}function o(){return Date.now()}function d(e,t){void 0===t&&(t="x");const s=r();let a,i,n;const l=function(e){const t=r();let s;return t.getComputedStyle&&(s=t.getComputedStyle(e,null)),!s&&e.currentStyle&&(s=e.currentStyle),s||(s=e.style),s}(e);return s.WebKitCSSMatrix?(i=l.transform||l.webkitTransform,i.split(",").length>6&&(i=i.split(", ").map((e=>e.replace(",","."))).join(", ")),n=new s.WebKitCSSMatrix("none"===i?"":i)):(n=l.MozTransform||l.OTransform||l.MsTransform||l.msTransform||l.transform||l.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),a=n.toString().split(",")),"x"===t&&(i=s.WebKitCSSMatrix?n.m41:16===a.length?parseFloat(a[12]):parseFloat(a[4])),"y"===t&&(i=s.WebKitCSSMatrix?n.m42:16===a.length?parseFloat(a[13]):parseFloat(a[5])),i||0}function c(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function p(){const e=Object(arguments.length<=0?void 0:arguments[0]),t=["__proto__","constructor","prototype"];for(let a=1;at.indexOf(e)<0));for(let t=0,a=s.length;tn?"next":"prev",p=(e,t)=>"next"===c&&e>=t||"prev"===c&&e<=t,u=()=>{l=(new Date).getTime(),null===o&&(o=l);const e=Math.max(Math.min((l-o)/d,1),0),r=.5-Math.cos(e*Math.PI)/2;let c=n+r*(s-n);if(p(c,s)&&(c=s),t.wrapperEl.scrollTo({[a]:c}),p(c,s))return t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.scrollSnapType="",setTimeout((()=>{t.wrapperEl.style.overflow="",t.wrapperEl.scrollTo({[a]:c})})),void i.cancelAnimationFrame(t.cssModeFrameID);t.cssModeFrameID=i.requestAnimationFrame(u)};u()}function h(e){return e.querySelector(".swiper-slide-transform")||e.shadowRoot&&e.shadowRoot.querySelector(".swiper-slide-transform")||e}function f(e,t){void 0===t&&(t="");const s=r(),a=[...e.children];return s.HTMLSlotElement&&e instanceof HTMLSlotElement&&a.push(...e.assignedElements()),t?a.filter((e=>e.matches(t))):a}function g(e){try{return void console.warn(e)}catch(e){}}function v(e,t){void 0===t&&(t=[]);const s=document.createElement(e);return s.classList.add(...Array.isArray(t)?t:n(t)),s}function w(e){const t=r(),s=a(),i=e.getBoundingClientRect(),n=s.body,l=e.clientTop||n.clientTop||0,o=e.clientLeft||n.clientLeft||0,d=e===t?t.scrollY:e.scrollTop,c=e===t?t.scrollX:e.scrollLeft;return{top:i.top+d-l,left:i.left+c-o}}function b(e,t){return r().getComputedStyle(e,null).getPropertyValue(t)}function y(e){let t,s=e;if(s){for(t=0;null!==(s=s.previousSibling);)1===s.nodeType&&(t+=1);return t}}function E(e,t){const s=[];let a=e.parentElement;for(;a;)t?a.matches(t)&&s.push(a):s.push(a),a=a.parentElement;return s}function x(e,t){t&&e.addEventListener("transitionend",(function s(a){a.target===e&&(t.call(e,a),e.removeEventListener("transitionend",s))}))}function S(e,t,s){const a=r();return s?e["width"===t?"offsetWidth":"offsetHeight"]+parseFloat(a.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-right":"margin-top"))+parseFloat(a.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-left":"margin-bottom")):e.offsetWidth}function T(e){return(Array.isArray(e)?e:[e]).filter((e=>!!e))}function M(e){return t=>Math.abs(t)>0&&e.browser&&e.browser.need3dFix&&Math.abs(t)%90==0?t+.001:t}function C(e,t){void 0===t&&(t=""),"undefined"!=typeof trustedTypes?e.innerHTML=trustedTypes.createPolicy("html",{createHTML:e=>e}).createHTML(t):e.innerHTML=t}let P,L,I;function z(){return P||(P=function(){const e=r(),t=a();return{smoothScroll:t.documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}}()),P}function A(e){return void 0===e&&(e={}),L||(L=function(e){let{userAgent:t}=void 0===e?{}:e;const s=z(),a=r(),i=a.navigator.platform,n=t||a.navigator.userAgent,l={ios:!1,android:!1},o=a.screen.width,d=a.screen.height,c=n.match(/(Android);?[\s\/]+([\d.]+)?/);let p=n.match(/(iPad).*OS\s([\d_]+)/);const u=n.match(/(iPod)(.*OS\s([\d_]+))?/),m=!p&&n.match(/(iPhone\sOS|iOS)\s([\d_]+)/),h="Win32"===i;let f="MacIntel"===i;return!p&&f&&s.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${o}x${d}`)>=0&&(p=n.match(/(Version)\/([\d.]+)/),p||(p=[0,1,"13_0_0"]),f=!1),c&&!h&&(l.os="android",l.android=!0),(p||m||u)&&(l.os="ios",l.ios=!0),l}(e)),L}function $(){return I||(I=function(){const e=r(),t=A();let s=!1;function a(){const t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0}if(a()){const t=String(e.navigator.userAgent);if(t.includes("Version/")){const[e,a]=t.split("Version/")[1].split(" ")[0].split(".").map((e=>Number(e)));s=e<16||16===e&&a<2}}const i=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent),n=a();return{isSafari:s||n,needPerspectiveFix:s,need3dFix:n||i&&t.ios,isWebView:i}}()),I}var k={on(e,t,s){const a=this;if(!a.eventsListeners||a.destroyed)return a;if("function"!=typeof t)return a;const i=s?"unshift":"push";return e.split(" ").forEach((e=>{a.eventsListeners[e]||(a.eventsListeners[e]=[]),a.eventsListeners[e][i](t)})),a},once(e,t,s){const a=this;if(!a.eventsListeners||a.destroyed)return a;if("function"!=typeof t)return a;function i(){a.off(e,i),i.__emitterProxy&&delete i.__emitterProxy;for(var s=arguments.length,r=new Array(s),n=0;n=0&&t.eventsAnyListeners.splice(s,1),t},off(e,t){const s=this;return!s.eventsListeners||s.destroyed?s:s.eventsListeners?(e.split(" ").forEach((e=>{void 0===t?s.eventsListeners[e]=[]:s.eventsListeners[e]&&s.eventsListeners[e].forEach(((a,i)=>{(a===t||a.__emitterProxy&&a.__emitterProxy===t)&&s.eventsListeners[e].splice(i,1)}))})),s):s},emit(){const e=this;if(!e.eventsListeners||e.destroyed)return e;if(!e.eventsListeners)return e;let t,s,a;for(var i=arguments.length,r=new Array(i),n=0;n{e.eventsAnyListeners&&e.eventsAnyListeners.length&&e.eventsAnyListeners.forEach((e=>{e.apply(a,[t,...s])})),e.eventsListeners&&e.eventsListeners[t]&&e.eventsListeners[t].forEach((e=>{e.apply(a,s)}))})),e}};const O=(e,t,s)=>{t&&!e.classList.contains(s)?e.classList.add(s):!t&&e.classList.contains(s)&&e.classList.remove(s)};const D=(e,t,s)=>{t&&!e.classList.contains(s)?e.classList.add(s):!t&&e.classList.contains(s)&&e.classList.remove(s)};const G=(e,t)=>{if(!e||e.destroyed||!e.params)return;const s=t.closest(e.isElement?"swiper-slide":`.${e.params.slideClass}`);if(s){let t=s.querySelector(`.${e.params.lazyPreloaderClass}`);!t&&e.isElement&&(s.shadowRoot?t=s.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`):requestAnimationFrame((()=>{s.shadowRoot&&(t=s.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`),t&&t.remove())}))),t&&t.remove()}},X=(e,t)=>{if(!e.slides[t])return;const s=e.slides[t].querySelector('[loading="lazy"]');s&&s.removeAttribute("loading")},Y=e=>{if(!e||e.destroyed||!e.params)return;let t=e.params.lazyPreloadPrevNext;const s=e.slides.length;if(!s||!t||t<0)return;t=Math.min(t,s);const a="auto"===e.params.slidesPerView?e.slidesPerViewDynamic():Math.ceil(e.params.slidesPerView),i=e.activeIndex;if(e.params.grid&&e.params.grid.rows>1){const s=i,r=[s-t];return r.push(...Array.from({length:t}).map(((e,t)=>s+a+t))),void e.slides.forEach(((t,s)=>{r.includes(t.column)&&X(e,s)}))}const r=i+a-1;if(e.params.rewind||e.params.loop)for(let a=i-t;a<=r+t;a+=1){const t=(a%s+s)%s;(tr)&&X(e,t)}else for(let a=Math.max(i-t,0);a<=Math.min(r+t,s-1);a+=1)a!==i&&(a>r||a=0?x=parseFloat(x.replace("%",""))/100*r:"string"==typeof x&&(x=parseFloat(x)),e.virtualSize=-x,c.forEach((e=>{n?e.style.marginLeft="":e.style.marginRight="",e.style.marginBottom="",e.style.marginTop=""})),s.centeredSlides&&s.cssMode&&(u(a,"--swiper-centered-offset-before",""),u(a,"--swiper-centered-offset-after",""));const P=s.grid&&s.grid.rows>1&&e.grid;let L;P?e.grid.initSlides(c):e.grid&&e.grid.unsetSlides();const I="auto"===s.slidesPerView&&s.breakpoints&&Object.keys(s.breakpoints).filter((e=>void 0!==s.breakpoints[e].slidesPerView)).length>0;for(let a=0;a1&&m.push(e.virtualSize-r)}if(o&&s.loop){const t=g[0]+x;if(s.slidesPerGroup>1){const a=Math.ceil((e.virtual.slidesBefore+e.virtual.slidesAfter)/s.slidesPerGroup),i=t*s.slidesPerGroup;for(let e=0;e!(s.cssMode&&!s.loop)||t!==c.length-1)).forEach((e=>{e.style[t]=`${x}px`}))}if(s.centeredSlides&&s.centeredSlidesBounds){let e=0;g.forEach((t=>{e+=t+(x||0)})),e-=x;const t=e>r?e-r:0;m=m.map((e=>e<=0?-v:e>t?t+w:e))}if(s.centerInsufficientSlides){let e=0;g.forEach((t=>{e+=t+(x||0)})),e-=x;const t=(s.slidesOffsetBefore||0)+(s.slidesOffsetAfter||0);if(e+t{m[t]=e-s})),h.forEach(((e,t)=>{h[t]=e+s}))}}if(Object.assign(e,{slides:c,snapGrid:m,slidesGrid:h,slidesSizesGrid:g}),s.centeredSlides&&s.cssMode&&!s.centeredSlidesBounds){u(a,"--swiper-centered-offset-before",-m[0]+"px"),u(a,"--swiper-centered-offset-after",e.size/2-g[g.length-1]/2+"px");const t=-e.snapGrid[0],s=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map((e=>e+t)),e.slidesGrid=e.slidesGrid.map((e=>e+s))}if(p!==d&&e.emit("slidesLengthChange"),m.length!==y&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),h.length!==E&&e.emit("slidesGridLengthChange"),s.watchSlidesProgress&&e.updateSlidesOffset(),e.emit("slidesUpdated"),!(o||s.cssMode||"slide"!==s.effect&&"fade"!==s.effect)){const t=`${s.containerModifierClass}backface-hidden`,a=e.el.classList.contains(t);p<=s.maxBackfaceHiddenSlides?a||e.el.classList.add(t):a&&e.el.classList.remove(t)}},updateAutoHeight:function(e){const t=this,s=[],a=t.virtual&&t.params.virtual.enabled;let i,r=0;"number"==typeof e?t.setTransition(e):!0===e&&t.setTransition(t.params.speed);const n=e=>a?t.slides[t.getSlideIndexByData(e)]:t.slides[e];if("auto"!==t.params.slidesPerView&&t.params.slidesPerView>1)if(t.params.centeredSlides)(t.visibleSlides||[]).forEach((e=>{s.push(e)}));else for(i=0;it.slides.length&&!a)break;s.push(n(e))}else s.push(n(t.activeIndex));for(i=0;ir?e:r}(r||0===r)&&(t.wrapperEl.style.height=`${r}px`)},updateSlidesOffset:function(){const e=this,t=e.slides,s=e.isElement?e.isHorizontal()?e.wrapperEl.offsetLeft:e.wrapperEl.offsetTop:0;for(let a=0;a=0?l=parseFloat(l.replace("%",""))/100*t.size:"string"==typeof l&&(l=parseFloat(l));for(let e=0;e=0&&u<=t.size-t.slidesSizesGrid[e],f=u>=0&&u1&&m<=t.size||u<=0&&m>=t.size;f&&(t.visibleSlides.push(o),t.visibleSlidesIndexes.push(e)),O(o,f,s.slideVisibleClass),O(o,h,s.slideFullyVisibleClass),o.progress=i?-c:c,o.originalProgress=i?-p:p}},updateProgress:function(e){const t=this;if(void 0===e){const s=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*s||0}const s=t.params,a=t.maxTranslate()-t.minTranslate();let{progress:i,isBeginning:r,isEnd:n,progressLoop:l}=t;const o=r,d=n;if(0===a)i=0,r=!0,n=!0;else{i=(e-t.minTranslate())/a;const s=Math.abs(e-t.minTranslate())<1,l=Math.abs(e-t.maxTranslate())<1;r=s||i<=0,n=l||i>=1,s&&(i=0),l&&(i=1)}if(s.loop){const s=t.getSlideIndexByData(0),a=t.getSlideIndexByData(t.slides.length-1),i=t.slidesGrid[s],r=t.slidesGrid[a],n=t.slidesGrid[t.slidesGrid.length-1],o=Math.abs(e);l=o>=i?(o-i)/n:(o+n-r)/n,l>1&&(l-=1)}Object.assign(t,{progress:i,progressLoop:l,isBeginning:r,isEnd:n}),(s.watchSlidesProgress||s.centeredSlides&&s.autoHeight)&&t.updateSlidesProgress(e),r&&!o&&t.emit("reachBeginning toEdge"),n&&!d&&t.emit("reachEnd toEdge"),(o&&!r||d&&!n)&&t.emit("fromEdge"),t.emit("progress",i)},updateSlidesClasses:function(){const e=this,{slides:t,params:s,slidesEl:a,activeIndex:i}=e,r=e.virtual&&s.virtual.enabled,n=e.grid&&s.grid&&s.grid.rows>1,l=e=>f(a,`.${s.slideClass}${e}, swiper-slide${e}`)[0];let o,d,c;if(r)if(s.loop){let t=i-e.virtual.slidesBefore;t<0&&(t=e.virtual.slides.length+t),t>=e.virtual.slides.length&&(t-=e.virtual.slides.length),o=l(`[data-swiper-slide-index="${t}"]`)}else o=l(`[data-swiper-slide-index="${i}"]`);else n?(o=t.find((e=>e.column===i)),c=t.find((e=>e.column===i+1)),d=t.find((e=>e.column===i-1))):o=t[i];o&&(n||(c=function(e,t){const s=[];for(;e.nextElementSibling;){const a=e.nextElementSibling;t?a.matches(t)&&s.push(a):s.push(a),e=a}return s}(o,`.${s.slideClass}, swiper-slide`)[0],s.loop&&!c&&(c=t[0]),d=function(e,t){const s=[];for(;e.previousElementSibling;){const a=e.previousElementSibling;t?a.matches(t)&&s.push(a):s.push(a),e=a}return s}(o,`.${s.slideClass}, swiper-slide`)[0],s.loop&&0===!d&&(d=t[t.length-1]))),t.forEach((e=>{D(e,e===o,s.slideActiveClass),D(e,e===c,s.slideNextClass),D(e,e===d,s.slidePrevClass)})),e.emitSlidesClasses()},updateActiveIndex:function(e){const t=this,s=t.rtlTranslate?t.translate:-t.translate,{snapGrid:a,params:i,activeIndex:r,realIndex:n,snapIndex:l}=t;let o,d=e;const c=e=>{let s=e-t.virtual.slidesBefore;return s<0&&(s=t.virtual.slides.length+s),s>=t.virtual.slides.length&&(s-=t.virtual.slides.length),s};if(void 0===d&&(d=function(e){const{slidesGrid:t,params:s}=e,a=e.rtlTranslate?e.translate:-e.translate;let i;for(let e=0;e=t[e]&&a=t[e]&&a=t[e]&&(i=e);return s.normalizeSlideIndex&&(i<0||void 0===i)&&(i=0),i}(t)),a.indexOf(s)>=0)o=a.indexOf(s);else{const e=Math.min(i.slidesPerGroupSkip,d);o=e+Math.floor((d-e)/i.slidesPerGroup)}if(o>=a.length&&(o=a.length-1),d===r&&!t.params.loop)return void(o!==l&&(t.snapIndex=o,t.emit("snapIndexChange")));if(d===r&&t.params.loop&&t.virtual&&t.params.virtual.enabled)return void(t.realIndex=c(d));const p=t.grid&&i.grid&&i.grid.rows>1;let u;if(t.virtual&&i.virtual.enabled&&i.loop)u=c(d);else if(p){const e=t.slides.find((e=>e.column===d));let s=parseInt(e.getAttribute("data-swiper-slide-index"),10);Number.isNaN(s)&&(s=Math.max(t.slides.indexOf(e),0)),u=Math.floor(s/i.grid.rows)}else if(t.slides[d]){const e=t.slides[d].getAttribute("data-swiper-slide-index");u=e?parseInt(e,10):d}else u=d;Object.assign(t,{previousSnapIndex:l,snapIndex:o,previousRealIndex:n,realIndex:u,previousIndex:r,activeIndex:d}),t.initialized&&Y(t),t.emit("activeIndexChange"),t.emit("snapIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&(n!==u&&t.emit("realIndexChange"),t.emit("slideChange"))},updateClickedSlide:function(e,t){const s=this,a=s.params;let i=e.closest(`.${a.slideClass}, swiper-slide`);!i&&s.isElement&&t&&t.length>1&&t.includes(e)&&[...t.slice(t.indexOf(e)+1,t.length)].forEach((e=>{!i&&e.matches&&e.matches(`.${a.slideClass}, swiper-slide`)&&(i=e)}));let r,n=!1;if(i)for(let e=0;eo?o:a&&en?"next":r=o.length&&(v=o.length-1);const w=-o[v];if(l.normalizeSlideIndex)for(let e=0;e=s&&t=s&&t=s&&(n=e)}if(r.initialized&&n!==p){if(!r.allowSlideNext&&(u?w>r.translate&&w>r.minTranslate():wr.translate&&w>r.maxTranslate()&&(p||0)!==n)return!1}let b;n!==(c||0)&&s&&r.emit("beforeSlideChangeStart"),r.updateProgress(w),b=n>p?"next":n0?(r._cssModeVirtualInitialSet=!0,requestAnimationFrame((()=>{h[e?"scrollLeft":"scrollTop"]=s}))):h[e?"scrollLeft":"scrollTop"]=s,y&&requestAnimationFrame((()=>{r.wrapperEl.style.scrollSnapType="",r._immediateVirtual=!1}));else{if(!r.support.smoothScroll)return m({swiper:r,targetPosition:s,side:e?"left":"top"}),!0;h.scrollTo({[e?"left":"top"]:s,behavior:"smooth"})}return!0}const E=$().isSafari;return y&&!i&&E&&r.isElement&&r.virtual.update(!1,!1,n),r.setTransition(t),r.setTranslate(w),r.updateActiveIndex(n),r.updateSlidesClasses(),r.emit("beforeTransitionStart",t,a),r.transitionStart(s,b),0===t?r.transitionEnd(s,b):r.animating||(r.animating=!0,r.onSlideToWrapperTransitionEnd||(r.onSlideToWrapperTransitionEnd=function(e){r&&!r.destroyed&&e.target===this&&(r.wrapperEl.removeEventListener("transitionend",r.onSlideToWrapperTransitionEnd),r.onSlideToWrapperTransitionEnd=null,delete r.onSlideToWrapperTransitionEnd,r.transitionEnd(s,b))}),r.wrapperEl.addEventListener("transitionend",r.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(e,t,s,a){if(void 0===e&&(e=0),void 0===s&&(s=!0),"string"==typeof e){e=parseInt(e,10)}const i=this;if(i.destroyed)return;void 0===t&&(t=i.params.speed);const r=i.grid&&i.params.grid&&i.params.grid.rows>1;let n=e;if(i.params.loop)if(i.virtual&&i.params.virtual.enabled)n+=i.virtual.slidesBefore;else{let e;if(r){const t=n*i.params.grid.rows;e=i.slides.find((e=>1*e.getAttribute("data-swiper-slide-index")===t)).column}else e=i.getSlideIndexByData(n);const t=r?Math.ceil(i.slides.length/i.params.grid.rows):i.slides.length,{centeredSlides:s}=i.params;let l=i.params.slidesPerView;"auto"===l?l=i.slidesPerViewDynamic():(l=Math.ceil(parseFloat(i.params.slidesPerView,10)),s&&l%2==0&&(l+=1));let o=t-e1*t.getAttribute("data-swiper-slide-index")===e)).column}else n=i.getSlideIndexByData(n)}return requestAnimationFrame((()=>{i.slideTo(n,t,s,a)})),i},slideNext:function(e,t,s){void 0===t&&(t=!0);const a=this,{enabled:i,params:r,animating:n}=a;if(!i||a.destroyed)return a;void 0===e&&(e=a.params.speed);let l=r.slidesPerGroup;"auto"===r.slidesPerView&&1===r.slidesPerGroup&&r.slidesPerGroupAuto&&(l=Math.max(a.slidesPerViewDynamic("current",!0),1));const o=a.activeIndex{a.slideTo(a.activeIndex+o,e,t,s)})),!0}return r.rewind&&a.isEnd?a.slideTo(0,e,t,s):a.slideTo(a.activeIndex+o,e,t,s)},slidePrev:function(e,t,s){void 0===t&&(t=!0);const a=this,{params:i,snapGrid:r,slidesGrid:n,rtlTranslate:l,enabled:o,animating:d}=a;if(!o||a.destroyed)return a;void 0===e&&(e=a.params.speed);const c=a.virtual&&i.virtual.enabled;if(i.loop){if(d&&!c&&i.loopPreventsSliding)return!1;a.loopFix({direction:"prev"}),a._clientLeft=a.wrapperEl.clientLeft}function p(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}const u=p(l?a.translate:-a.translate),m=r.map((e=>p(e))),h=i.freeMode&&i.freeMode.enabled;let f=r[m.indexOf(u)-1];if(void 0===f&&(i.cssMode||h)){let e;r.forEach(((t,s)=>{u>=t&&(e=s)})),void 0!==e&&(f=h?r[e]:r[e>0?e-1:e])}let g=0;if(void 0!==f&&(g=n.indexOf(f),g<0&&(g=a.activeIndex-1),"auto"===i.slidesPerView&&1===i.slidesPerGroup&&i.slidesPerGroupAuto&&(g=g-a.slidesPerViewDynamic("previous",!0)+1,g=Math.max(g,0))),i.rewind&&a.isBeginning){const i=a.params.virtual&&a.params.virtual.enabled&&a.virtual?a.virtual.slides.length-1:a.slides.length-1;return a.slideTo(i,e,t,s)}return i.loop&&0===a.activeIndex&&i.cssMode?(requestAnimationFrame((()=>{a.slideTo(g,e,t,s)})),!0):a.slideTo(g,e,t,s)},slideReset:function(e,t,s){void 0===t&&(t=!0);const a=this;if(!a.destroyed)return void 0===e&&(e=a.params.speed),a.slideTo(a.activeIndex,e,t,s)},slideToClosest:function(e,t,s,a){void 0===t&&(t=!0),void 0===a&&(a=.5);const i=this;if(i.destroyed)return;void 0===e&&(e=i.params.speed);let r=i.activeIndex;const n=Math.min(i.params.slidesPerGroupSkip,r),l=n+Math.floor((r-n)/i.params.slidesPerGroup),o=i.rtlTranslate?i.translate:-i.translate;if(o>=i.snapGrid[l]){const e=i.snapGrid[l];o-e>(i.snapGrid[l+1]-e)*a&&(r+=i.params.slidesPerGroup)}else{const e=i.snapGrid[l-1];o-e<=(i.snapGrid[l]-e)*a&&(r-=i.params.slidesPerGroup)}return r=Math.max(r,0),r=Math.min(r,i.slidesGrid.length-1),i.slideTo(r,e,t,s)},slideToClickedSlide:function(){const e=this;if(e.destroyed)return;const{params:t,slidesEl:s}=e,a="auto"===t.slidesPerView?e.slidesPerViewDynamic():t.slidesPerView;let i,r=e.getSlideIndexWhenGrid(e.clickedIndex);const n=e.isElement?"swiper-slide":`.${t.slideClass}`,o=e.grid&&e.params.grid&&e.params.grid.rows>1;if(t.loop){if(e.animating)return;i=parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10),t.centeredSlides?e.slideToLoop(i):r>(o?(e.slides.length-a)/2-(e.params.grid.rows-1):e.slides.length-a)?(e.loopFix(),r=e.getSlideIndex(f(s,`${n}[data-swiper-slide-index="${i}"]`)[0]),l((()=>{e.slideTo(r)}))):e.slideTo(r)}else e.slideTo(r)}};var _={loopCreate:function(e,t){const s=this,{params:a,slidesEl:i}=s;if(!a.loop||s.virtual&&s.params.virtual.enabled)return;const r=()=>{f(i,`.${a.slideClass}, swiper-slide`).forEach(((e,t)=>{e.setAttribute("data-swiper-slide-index",t)}))},n=s.grid&&a.grid&&a.grid.rows>1;a.loopAddBlankSlides&&(a.slidesPerGroup>1||n)&&(()=>{const e=f(i,`.${a.slideBlankClass}`);e.forEach((e=>{e.remove()})),e.length>0&&(s.recalcSlides(),s.updateSlides())})();const l=a.slidesPerGroup*(n?a.grid.rows:1),o=s.slides.length%l!=0,d=n&&s.slides.length%a.grid.rows!=0,c=e=>{for(let t=0;t1;c.lengthe.classList.contains(h.slideActiveClass)))):C=r;const P="next"===a||!a,L="prev"===a||!a;let I=0,z=0;const A=(E?c[r].column:r)+(f&&void 0===i?-w/2+.5:0);if(A=0;t-=1)c[t].column===e&&x.push(t)}else x.push(T-t-1)}}else if(A+w>T-y){z=Math.max(A-(T-2*y),b),M&&(z=Math.max(z,w-T+v+1));for(let e=0;e{e.column===t&&S.push(s)})):S.push(t)}}if(d.__preventObserver__=!0,requestAnimationFrame((()=>{d.__preventObserver__=!1})),"cards"===d.params.effect&&c.length{c[e].swiperLoopMoveDOM=!0,m.prepend(c[e]),c[e].swiperLoopMoveDOM=!1})),P&&S.forEach((e=>{c[e].swiperLoopMoveDOM=!0,m.append(c[e]),c[e].swiperLoopMoveDOM=!1})),d.recalcSlides(),"auto"===h.slidesPerView?d.updateSlides():E&&(x.length>0&&L||S.length>0&&P)&&d.slides.forEach(((e,t)=>{d.grid.updateSlide(t,e,d.slides)})),h.watchSlidesProgress&&d.updateSlidesOffset(),s)if(x.length>0&&L){if(void 0===t){const e=d.slidesGrid[C],t=d.slidesGrid[C+I]-e;o?d.setTranslate(d.translate-t):(d.slideTo(C+Math.ceil(I),0,!1,!0),i&&(d.touchEventsData.startTranslate=d.touchEventsData.startTranslate-t,d.touchEventsData.currentTranslate=d.touchEventsData.currentTranslate-t))}else if(i){const e=E?x.length/h.grid.rows:x.length;d.slideTo(d.activeIndex+e,0,!1,!0),d.touchEventsData.currentTranslate=d.translate}}else if(S.length>0&&P)if(void 0===t){const e=d.slidesGrid[C],t=d.slidesGrid[C-z]-e;o?d.setTranslate(d.translate-t):(d.slideTo(C-z,0,!1,!0),i&&(d.touchEventsData.startTranslate=d.touchEventsData.startTranslate-t,d.touchEventsData.currentTranslate=d.touchEventsData.currentTranslate-t))}else{const e=E?S.length/h.grid.rows:S.length;d.slideTo(d.activeIndex-e,0,!1,!0)}if(d.allowSlidePrev=p,d.allowSlideNext=u,d.controller&&d.controller.control&&!l){const e={slideRealIndex:t,direction:a,setTranslate:i,activeSlideIndex:r,byController:!0};Array.isArray(d.controller.control)?d.controller.control.forEach((t=>{!t.destroyed&&t.params.loop&&t.loopFix({...e,slideTo:t.params.slidesPerView===h.slidesPerView&&s})})):d.controller.control instanceof d.constructor&&d.controller.control.params.loop&&d.controller.control.loopFix({...e,slideTo:d.controller.control.params.slidesPerView===h.slidesPerView&&s})}d.emit("loopFix")},loopDestroy:function(){const e=this,{params:t,slidesEl:s}=e;if(!t.loop||!s||e.virtual&&e.params.virtual.enabled)return;e.recalcSlides();const a=[];e.slides.forEach((e=>{const t=void 0===e.swiperSlideIndex?1*e.getAttribute("data-swiper-slide-index"):e.swiperSlideIndex;a[t]=e})),e.slides.forEach((e=>{e.removeAttribute("data-swiper-slide-index")})),a.forEach((e=>{s.append(e)})),e.recalcSlides(),e.slideTo(e.realIndex,0)}};function q(e,t,s){const a=r(),{params:i}=e,n=i.edgeSwipeDetection,l=i.edgeSwipeThreshold;return!n||!(s<=l||s>=a.innerWidth-l)||"prevent"===n&&(t.preventDefault(),!0)}function V(e){const t=this,s=a();let i=e;i.originalEvent&&(i=i.originalEvent);const n=t.touchEventsData;if("pointerdown"===i.type){if(null!==n.pointerId&&n.pointerId!==i.pointerId)return;n.pointerId=i.pointerId}else"touchstart"===i.type&&1===i.targetTouches.length&&(n.touchId=i.targetTouches[0].identifier);if("touchstart"===i.type)return void q(t,i,i.targetTouches[0].pageX);const{params:l,touches:d,enabled:c}=t;if(!c)return;if(!l.simulateTouch&&"mouse"===i.pointerType)return;if(t.animating&&l.preventInteractionOnTransition)return;!t.animating&&l.cssMode&&l.loop&&t.loopFix();let p=i.target;if("wrapper"===l.touchEventsTarget&&!function(e,t){const s=r();let a=t.contains(e);!a&&s.HTMLSlotElement&&t instanceof HTMLSlotElement&&(a=[...t.assignedElements()].includes(e),a||(a=function(e,t){const s=[t];for(;s.length>0;){const t=s.shift();if(e===t)return!0;s.push(...t.children,...t.shadowRoot?t.shadowRoot.children:[],...t.assignedElements?t.assignedElements():[])}}(e,t)));return a}(p,t.wrapperEl))return;if("which"in i&&3===i.which)return;if("button"in i&&i.button>0)return;if(n.isTouched&&n.isMoved)return;const u=!!l.noSwipingClass&&""!==l.noSwipingClass,m=i.composedPath?i.composedPath():i.path;u&&i.target&&i.target.shadowRoot&&m&&(p=m[0]);const h=l.noSwipingSelector?l.noSwipingSelector:`.${l.noSwipingClass}`,f=!(!i.target||!i.target.shadowRoot);if(l.noSwiping&&(f?function(e,t){return void 0===t&&(t=this),function t(s){if(!s||s===a()||s===r())return null;s.assignedSlot&&(s=s.assignedSlot);const i=s.closest(e);return i||s.getRootNode?i||t(s.getRootNode().host):null}(t)}(h,p):p.closest(h)))return void(t.allowClick=!0);if(l.swipeHandler&&!p.closest(l.swipeHandler))return;d.currentX=i.pageX,d.currentY=i.pageY;const g=d.currentX,v=d.currentY;if(!q(t,i,g))return;Object.assign(n,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),d.startX=g,d.startY=v,n.touchStartTime=o(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,l.threshold>0&&(n.allowThresholdMove=!1);let w=!0;p.matches(n.focusableElements)&&(w=!1,"SELECT"===p.nodeName&&(n.isTouched=!1)),s.activeElement&&s.activeElement.matches(n.focusableElements)&&s.activeElement!==p&&("mouse"===i.pointerType||"mouse"!==i.pointerType&&!p.matches(n.focusableElements))&&s.activeElement.blur();const b=w&&t.allowTouchMove&&l.touchStartPreventDefault;!l.touchStartForcePreventDefault&&!b||p.isContentEditable||i.preventDefault(),l.freeMode&&l.freeMode.enabled&&t.freeMode&&t.animating&&!l.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",i)}function F(e){const t=a(),s=this,i=s.touchEventsData,{params:r,touches:n,rtlTranslate:l,enabled:d}=s;if(!d)return;if(!r.simulateTouch&&"mouse"===e.pointerType)return;let c,p=e;if(p.originalEvent&&(p=p.originalEvent),"pointermove"===p.type){if(null!==i.touchId)return;if(p.pointerId!==i.pointerId)return}if("touchmove"===p.type){if(c=[...p.changedTouches].find((e=>e.identifier===i.touchId)),!c||c.identifier!==i.touchId)return}else c=p;if(!i.isTouched)return void(i.startMoving&&i.isScrolling&&s.emit("touchMoveOpposite",p));const u=c.pageX,m=c.pageY;if(p.preventedByNestedSwiper)return n.startX=u,void(n.startY=m);if(!s.allowTouchMove)return p.target.matches(i.focusableElements)||(s.allowClick=!1),void(i.isTouched&&(Object.assign(n,{startX:u,startY:m,currentX:u,currentY:m}),i.touchStartTime=o()));if(r.touchReleaseOnEdges&&!r.loop)if(s.isVertical()){if(mn.startY&&s.translate>=s.minTranslate())return i.isTouched=!1,void(i.isMoved=!1)}else{if(l&&(u>n.startX&&-s.translate<=s.maxTranslate()||u=s.minTranslate()))return;if(!l&&(un.startX&&s.translate>=s.minTranslate()))return}if(t.activeElement&&t.activeElement.matches(i.focusableElements)&&t.activeElement!==p.target&&"mouse"!==p.pointerType&&t.activeElement.blur(),t.activeElement&&p.target===t.activeElement&&p.target.matches(i.focusableElements))return i.isMoved=!0,void(s.allowClick=!1);i.allowTouchCallbacks&&s.emit("touchMove",p),n.previousX=n.currentX,n.previousY=n.currentY,n.currentX=u,n.currentY=m;const h=n.currentX-n.startX,f=n.currentY-n.startY;if(s.params.threshold&&Math.sqrt(h**2+f**2)=25&&(e=180*Math.atan2(Math.abs(f),Math.abs(h))/Math.PI,i.isScrolling=s.isHorizontal()?e>r.touchAngle:90-e>r.touchAngle)}if(i.isScrolling&&s.emit("touchMoveOpposite",p),void 0===i.startMoving&&(n.currentX===n.startX&&n.currentY===n.startY||(i.startMoving=!0)),i.isScrolling||"touchmove"===p.type&&i.preventTouchMoveFromPointerMove)return void(i.isTouched=!1);if(!i.startMoving)return;s.allowClick=!1,!r.cssMode&&p.cancelable&&p.preventDefault(),r.touchMoveStopPropagation&&!r.nested&&p.stopPropagation();let g=s.isHorizontal()?h:f,v=s.isHorizontal()?n.currentX-n.previousX:n.currentY-n.previousY;r.oneWayMovement&&(g=Math.abs(g)*(l?1:-1),v=Math.abs(v)*(l?1:-1)),n.diff=g,g*=r.touchRatio,l&&(g=-g,v=-v);const w=s.touchesDirection;s.swipeDirection=g>0?"prev":"next",s.touchesDirection=v>0?"prev":"next";const b=s.params.loop&&!r.cssMode,y="next"===s.touchesDirection&&s.allowSlideNext||"prev"===s.touchesDirection&&s.allowSlidePrev;if(!i.isMoved){if(b&&y&&s.loopFix({direction:s.swipeDirection}),i.startTranslate=s.getTranslate(),s.setTransition(0),s.animating){const e=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});s.wrapperEl.dispatchEvent(e)}i.allowMomentumBounce=!1,!r.grabCursor||!0!==s.allowSlideNext&&!0!==s.allowSlidePrev||s.setGrabCursor(!0),s.emit("sliderFirstMove",p)}if((new Date).getTime(),!1!==r._loopSwapReset&&i.isMoved&&i.allowThresholdMove&&w!==s.touchesDirection&&b&&y&&Math.abs(g)>=1)return Object.assign(n,{startX:u,startY:m,currentX:u,currentY:m,startTranslate:i.currentTranslate}),i.loopSwapReset=!0,void(i.startTranslate=i.currentTranslate);s.emit("sliderMove",p),i.isMoved=!0,i.currentTranslate=g+i.startTranslate;let E=!0,x=r.resistanceRatio;if(r.touchReleaseOnEdges&&(x=0),g>0?(b&&y&&i.allowThresholdMove&&i.currentTranslate>(r.centeredSlides?s.minTranslate()-s.slidesSizesGrid[s.activeIndex+1]-("auto"!==r.slidesPerView&&s.slides.length-r.slidesPerView>=2?s.slidesSizesGrid[s.activeIndex+1]+s.params.spaceBetween:0)-s.params.spaceBetween:s.minTranslate())&&s.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),i.currentTranslate>s.minTranslate()&&(E=!1,r.resistance&&(i.currentTranslate=s.minTranslate()-1+(-s.minTranslate()+i.startTranslate+g)**x))):g<0&&(b&&y&&i.allowThresholdMove&&i.currentTranslate<(r.centeredSlides?s.maxTranslate()+s.slidesSizesGrid[s.slidesSizesGrid.length-1]+s.params.spaceBetween+("auto"!==r.slidesPerView&&s.slides.length-r.slidesPerView>=2?s.slidesSizesGrid[s.slidesSizesGrid.length-1]+s.params.spaceBetween:0):s.maxTranslate())&&s.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:s.slides.length-("auto"===r.slidesPerView?s.slidesPerViewDynamic():Math.ceil(parseFloat(r.slidesPerView,10)))}),i.currentTranslatei.startTranslate&&(i.currentTranslate=i.startTranslate),s.allowSlidePrev||s.allowSlideNext||(i.currentTranslate=i.startTranslate),r.threshold>0){if(!(Math.abs(g)>r.threshold||i.allowThresholdMove))return void(i.currentTranslate=i.startTranslate);if(!i.allowThresholdMove)return i.allowThresholdMove=!0,n.startX=n.currentX,n.startY=n.currentY,i.currentTranslate=i.startTranslate,void(n.diff=s.isHorizontal()?n.currentX-n.startX:n.currentY-n.startY)}r.followFinger&&!r.cssMode&&((r.freeMode&&r.freeMode.enabled&&s.freeMode||r.watchSlidesProgress)&&(s.updateActiveIndex(),s.updateSlidesClasses()),r.freeMode&&r.freeMode.enabled&&s.freeMode&&s.freeMode.onTouchMove(),s.updateProgress(i.currentTranslate),s.setTranslate(i.currentTranslate))}function W(e){const t=this,s=t.touchEventsData;let a,i=e;i.originalEvent&&(i=i.originalEvent);if("touchend"===i.type||"touchcancel"===i.type){if(a=[...i.changedTouches].find((e=>e.identifier===s.touchId)),!a||a.identifier!==s.touchId)return}else{if(null!==s.touchId)return;if(i.pointerId!==s.pointerId)return;a=i}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(i.type)){if(!(["pointercancel","contextmenu"].includes(i.type)&&(t.browser.isSafari||t.browser.isWebView)))return}s.pointerId=null,s.touchId=null;const{params:r,touches:n,rtlTranslate:d,slidesGrid:c,enabled:p}=t;if(!p)return;if(!r.simulateTouch&&"mouse"===i.pointerType)return;if(s.allowTouchCallbacks&&t.emit("touchEnd",i),s.allowTouchCallbacks=!1,!s.isTouched)return s.isMoved&&r.grabCursor&&t.setGrabCursor(!1),s.isMoved=!1,void(s.startMoving=!1);r.grabCursor&&s.isMoved&&s.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);const u=o(),m=u-s.touchStartTime;if(t.allowClick){const e=i.path||i.composedPath&&i.composedPath();t.updateClickedSlide(e&&e[0]||i.target,e),t.emit("tap click",i),m<300&&u-s.lastClickTime<300&&t.emit("doubleTap doubleClick",i)}if(s.lastClickTime=o(),l((()=>{t.destroyed||(t.allowClick=!0)})),!s.isTouched||!s.isMoved||!t.swipeDirection||0===n.diff&&!s.loopSwapReset||s.currentTranslate===s.startTranslate&&!s.loopSwapReset)return s.isTouched=!1,s.isMoved=!1,void(s.startMoving=!1);let h;if(s.isTouched=!1,s.isMoved=!1,s.startMoving=!1,h=r.followFinger?d?t.translate:-t.translate:-s.currentTranslate,r.cssMode)return;if(r.freeMode&&r.freeMode.enabled)return void t.freeMode.onTouchEnd({currentPos:h});const f=h>=-t.maxTranslate()&&!t.params.loop;let g=0,v=t.slidesSizesGrid[0];for(let e=0;e=c[e]&&h=c[e])&&(g=e,v=c[c.length-1]-c[c.length-2])}let w=null,b=null;r.rewind&&(t.isBeginning?b=r.virtual&&r.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(w=0));const y=(h-c[g])/v,E=gr.longSwipesMs){if(!r.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(y>=r.longSwipesRatio?t.slideTo(r.rewind&&t.isEnd?w:g+E):t.slideTo(g)),"prev"===t.swipeDirection&&(y>1-r.longSwipesRatio?t.slideTo(g+E):null!==b&&y<0&&Math.abs(y)>r.longSwipesRatio?t.slideTo(b):t.slideTo(g))}else{if(!r.shortSwipes)return void t.slideTo(t.activeIndex);t.navigation&&(i.target===t.navigation.nextEl||i.target===t.navigation.prevEl)?i.target===t.navigation.nextEl?t.slideTo(g+E):t.slideTo(g):("next"===t.swipeDirection&&t.slideTo(null!==w?w:g+E),"prev"===t.swipeDirection&&t.slideTo(null!==b?b:g))}}function j(){const e=this,{params:t,el:s}=e;if(s&&0===s.offsetWidth)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:a,allowSlidePrev:i,snapGrid:r}=e,n=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();const l=n&&t.loop;!("auto"===t.slidesPerView||t.slidesPerView>1)||!e.isEnd||e.isBeginning||e.params.centeredSlides||l?e.params.loop&&!n?e.slideToLoop(e.realIndex,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0):e.slideTo(e.slides.length-1,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&(clearTimeout(e.autoplay.resizeTimeout),e.autoplay.resizeTimeout=setTimeout((()=>{e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.resume()}),500)),e.allowSlidePrev=i,e.allowSlideNext=a,e.params.watchOverflow&&r!==e.snapGrid&&e.checkOverflow()}function U(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function K(){const e=this,{wrapperEl:t,rtlTranslate:s,enabled:a}=e;if(!a)return;let i;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();const r=e.maxTranslate()-e.minTranslate();i=0===r?0:(e.translate-e.minTranslate())/r,i!==e.progress&&e.updateProgress(s?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}function Z(e){const t=this;G(t,e.target),t.params.cssMode||"auto"!==t.params.slidesPerView&&!t.params.autoHeight||t.update()}function Q(){const e=this;e.documentTouchHandlerProceeded||(e.documentTouchHandlerProceeded=!0,e.params.touchReleaseOnEdges&&(e.el.style.touchAction="auto"))}const J=(e,t)=>{const s=a(),{params:i,el:r,wrapperEl:n,device:l}=e,o=!!i.nested,d="on"===t?"addEventListener":"removeEventListener",c=t;r&&"string"!=typeof r&&(s[d]("touchstart",e.onDocumentTouchStart,{passive:!1,capture:o}),r[d]("touchstart",e.onTouchStart,{passive:!1}),r[d]("pointerdown",e.onTouchStart,{passive:!1}),s[d]("touchmove",e.onTouchMove,{passive:!1,capture:o}),s[d]("pointermove",e.onTouchMove,{passive:!1,capture:o}),s[d]("touchend",e.onTouchEnd,{passive:!0}),s[d]("pointerup",e.onTouchEnd,{passive:!0}),s[d]("pointercancel",e.onTouchEnd,{passive:!0}),s[d]("touchcancel",e.onTouchEnd,{passive:!0}),s[d]("pointerout",e.onTouchEnd,{passive:!0}),s[d]("pointerleave",e.onTouchEnd,{passive:!0}),s[d]("contextmenu",e.onTouchEnd,{passive:!0}),(i.preventClicks||i.preventClicksPropagation)&&r[d]("click",e.onClick,!0),i.cssMode&&n[d]("scroll",e.onScroll),i.updateOnWindowResize?e[c](l.ios||l.android?"resize orientationchange observerUpdate":"resize observerUpdate",j,!0):e[c]("observerUpdate",j,!0),r[d]("load",e.onLoad,{capture:!0}))};const ee=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;var te={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function se(e,t){return function(s){void 0===s&&(s={});const a=Object.keys(s)[0],i=s[a];"object"==typeof i&&null!==i?(!0===e[a]&&(e[a]={enabled:!0}),"navigation"===a&&e[a]&&e[a].enabled&&!e[a].prevEl&&!e[a].nextEl&&(e[a].auto=!0),["pagination","scrollbar"].indexOf(a)>=0&&e[a]&&e[a].enabled&&!e[a].el&&(e[a].auto=!0),a in e&&"enabled"in i?("object"!=typeof e[a]||"enabled"in e[a]||(e[a].enabled=!0),e[a]||(e[a]={enabled:!1}),p(t,s)):p(t,s)):p(t,s)}}const ae={eventsEmitter:k,update:B,translate:H,transition:{setTransition:function(e,t){const s=this;s.params.cssMode||(s.wrapperEl.style.transitionDuration=`${e}ms`,s.wrapperEl.style.transitionDelay=0===e?"0ms":""),s.emit("setTransition",e,t)},transitionStart:function(e,t){void 0===e&&(e=!0);const s=this,{params:a}=s;a.cssMode||(a.autoHeight&&s.updateAutoHeight(),N({swiper:s,runCallbacks:e,direction:t,step:"Start"}))},transitionEnd:function(e,t){void 0===e&&(e=!0);const s=this,{params:a}=s;s.animating=!1,a.cssMode||(s.setTransition(0),N({swiper:s,runCallbacks:e,direction:t,step:"End"}))}},slide:R,loop:_,grabCursor:{setGrabCursor:function(e){const t=this;if(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const s="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;t.isElement&&(t.__preventObserver__=!0),s.style.cursor="move",s.style.cursor=e?"grabbing":"grab",t.isElement&&requestAnimationFrame((()=>{t.__preventObserver__=!1}))},unsetGrabCursor:function(){const e=this;e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.isElement&&(e.__preventObserver__=!0),e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="",e.isElement&&requestAnimationFrame((()=>{e.__preventObserver__=!1})))}},events:{attachEvents:function(){const e=this,{params:t}=e;e.onTouchStart=V.bind(e),e.onTouchMove=F.bind(e),e.onTouchEnd=W.bind(e),e.onDocumentTouchStart=Q.bind(e),t.cssMode&&(e.onScroll=K.bind(e)),e.onClick=U.bind(e),e.onLoad=Z.bind(e),J(e,"on")},detachEvents:function(){J(this,"off")}},breakpoints:{setBreakpoint:function(){const e=this,{realIndex:t,initialized:s,params:i,el:r}=e,n=i.breakpoints;if(!n||n&&0===Object.keys(n).length)return;const l=a(),o="window"!==i.breakpointsBase&&i.breakpointsBase?"container":i.breakpointsBase,d=["window","container"].includes(i.breakpointsBase)||!i.breakpointsBase?e.el:l.querySelector(i.breakpointsBase),c=e.getBreakpoint(n,o,d);if(!c||e.currentBreakpoint===c)return;const u=(c in n?n[c]:void 0)||e.originalParams,m=ee(e,i),h=ee(e,u),f=e.params.grabCursor,g=u.grabCursor,v=i.enabled;m&&!h?(r.classList.remove(`${i.containerModifierClass}grid`,`${i.containerModifierClass}grid-column`),e.emitContainerClasses()):!m&&h&&(r.classList.add(`${i.containerModifierClass}grid`),(u.grid.fill&&"column"===u.grid.fill||!u.grid.fill&&"column"===i.grid.fill)&&r.classList.add(`${i.containerModifierClass}grid-column`),e.emitContainerClasses()),f&&!g?e.unsetGrabCursor():!f&&g&&e.setGrabCursor(),["navigation","pagination","scrollbar"].forEach((t=>{if(void 0===u[t])return;const s=i[t]&&i[t].enabled,a=u[t]&&u[t].enabled;s&&!a&&e[t].disable(),!s&&a&&e[t].enable()}));const w=u.direction&&u.direction!==i.direction,b=i.loop&&(u.slidesPerView!==i.slidesPerView||w),y=i.loop;w&&s&&e.changeDirection(),p(e.params,u);const E=e.params.enabled,x=e.params.loop;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),v&&!E?e.disable():!v&&E&&e.enable(),e.currentBreakpoint=c,e.emit("_beforeBreakpoint",u),s&&(b?(e.loopDestroy(),e.loopCreate(t),e.updateSlides()):!y&&x?(e.loopCreate(t),e.updateSlides()):y&&!x&&e.loopDestroy()),e.emit("breakpoint",u)},getBreakpoint:function(e,t,s){if(void 0===t&&(t="window"),!e||"container"===t&&!s)return;let a=!1;const i=r(),n="window"===t?i.innerHeight:s.clientHeight,l=Object.keys(e).map((e=>{if("string"==typeof e&&0===e.indexOf("@")){const t=parseFloat(e.substr(1));return{value:n*t,point:e}}return{value:e,point:e}}));l.sort(((e,t)=>parseInt(e.value,10)-parseInt(t.value,10)));for(let e=0;es}else e.isLocked=1===e.snapGrid.length;!0===s.allowSlideNext&&(e.allowSlideNext=!e.isLocked),!0===s.allowSlidePrev&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}},classes:{addClasses:function(){const e=this,{classNames:t,params:s,rtl:a,el:i,device:r}=e,n=function(e,t){const s=[];return e.forEach((e=>{"object"==typeof e?Object.keys(e).forEach((a=>{e[a]&&s.push(t+a)})):"string"==typeof e&&s.push(t+e)})),s}(["initialized",s.direction,{"free-mode":e.params.freeMode&&s.freeMode.enabled},{autoheight:s.autoHeight},{rtl:a},{grid:s.grid&&s.grid.rows>1},{"grid-column":s.grid&&s.grid.rows>1&&"column"===s.grid.fill},{android:r.android},{ios:r.ios},{"css-mode":s.cssMode},{centered:s.cssMode&&s.centeredSlides},{"watch-progress":s.watchSlidesProgress}],s.containerModifierClass);t.push(...n),i.classList.add(...t),e.emitContainerClasses()},removeClasses:function(){const{el:e,classNames:t}=this;e&&"string"!=typeof e&&(e.classList.remove(...t),this.emitContainerClasses())}}},ie={};class re{constructor(){let e,t;for(var s=arguments.length,i=new Array(s),r=0;r1){const e=[];return n.querySelectorAll(t.el).forEach((s=>{const a=p({},t,{el:s});e.push(new re(a))})),e}const l=this;l.__swiper__=!0,l.support=z(),l.device=A({userAgent:t.userAgent}),l.browser=$(),l.eventsListeners={},l.eventsAnyListeners=[],l.modules=[...l.__modules__],t.modules&&Array.isArray(t.modules)&&l.modules.push(...t.modules);const o={};l.modules.forEach((e=>{e({params:t,swiper:l,extendParams:se(t,o),on:l.on.bind(l),once:l.once.bind(l),off:l.off.bind(l),emit:l.emit.bind(l)})}));const d=p({},te,o);return l.params=p({},d,ie,t),l.originalParams=p({},l.params),l.passedParams=p({},t),l.params&&l.params.on&&Object.keys(l.params.on).forEach((e=>{l.on(e,l.params.on[e])})),l.params&&l.params.onAny&&l.onAny(l.params.onAny),Object.assign(l,{enabled:l.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===l.params.direction,isVertical:()=>"vertical"===l.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:l.params.allowSlideNext,allowSlidePrev:l.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:l.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:l.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),l.emit("_swiper"),l.params.init&&l.init(),l}getDirectionLabel(e){return this.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}getSlideIndex(e){const{slidesEl:t,params:s}=this,a=y(f(t,`.${s.slideClass}, swiper-slide`)[0]);return y(e)-a}getSlideIndexByData(e){return this.getSlideIndex(this.slides.find((t=>1*t.getAttribute("data-swiper-slide-index")===e)))}getSlideIndexWhenGrid(e){return this.grid&&this.params.grid&&this.params.grid.rows>1&&("column"===this.params.grid.fill?e=Math.floor(e/this.params.grid.rows):"row"===this.params.grid.fill&&(e%=Math.ceil(this.slides.length/this.params.grid.rows))),e}recalcSlides(){const{slidesEl:e,params:t}=this;this.slides=f(e,`.${t.slideClass}, swiper-slide`)}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,t){const s=this;e=Math.min(Math.max(e,0),1);const a=s.minTranslate(),i=(s.maxTranslate()-a)*e+a;s.translateTo(i,void 0===t?0:t),s.updateActiveIndex(),s.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=e.el.className.split(" ").filter((t=>0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass)));e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){const t=this;return t.destroyed?"":e.className.split(" ").filter((e=>0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass))).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=[];e.slides.forEach((s=>{const a=e.getSlideClasses(s);t.push({slideEl:s,classNames:a}),e.emit("_slideClass",s,a)})),e.emit("_slideClasses",t)}slidesPerViewDynamic(e,t){void 0===e&&(e="current"),void 0===t&&(t=!1);const{params:s,slides:a,slidesGrid:i,slidesSizesGrid:r,size:n,activeIndex:l}=this;let o=1;if("number"==typeof s.slidesPerView)return s.slidesPerView;if(s.centeredSlides){let e,t=a[l]?Math.ceil(a[l].swiperSlideSize):0;for(let s=l+1;sn&&(e=!0));for(let s=l-1;s>=0;s-=1)a[s]&&!e&&(t+=a[s].swiperSlideSize,o+=1,t>n&&(e=!0))}else if("current"===e)for(let e=l+1;e=0;e-=1){i[l]-i[e]{t.complete&&G(e,t)})),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),s.freeMode&&s.freeMode.enabled&&!s.cssMode)a(),s.autoHeight&&e.updateAutoHeight();else{if(("auto"===s.slidesPerView||s.slidesPerView>1)&&e.isEnd&&!s.centeredSlides){const t=e.virtual&&s.virtual.enabled?e.virtual.slides:e.slides;i=e.slideTo(t.length-1,0,!1,!0)}else i=e.slideTo(e.activeIndex,0,!1,!0);i||a()}s.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t){void 0===t&&(t=!0);const s=this,a=s.params.direction;return e||(e="horizontal"===a?"vertical":"horizontal"),e===a||"horizontal"!==e&&"vertical"!==e||(s.el.classList.remove(`${s.params.containerModifierClass}${a}`),s.el.classList.add(`${s.params.containerModifierClass}${e}`),s.emitContainerClasses(),s.params.direction=e,s.slides.forEach((t=>{"vertical"===e?t.style.width="":t.style.height=""})),s.emit("changeDirection"),t&&s.update()),s}changeLanguageDirection(e){const t=this;t.rtl&&"rtl"===e||!t.rtl&&"ltr"===e||(t.rtl="rtl"===e,t.rtlTranslate="horizontal"===t.params.direction&&t.rtl,t.rtl?(t.el.classList.add(`${t.params.containerModifierClass}rtl`),t.el.dir="rtl"):(t.el.classList.remove(`${t.params.containerModifierClass}rtl`),t.el.dir="ltr"),t.update())}mount(e){const t=this;if(t.mounted)return!0;let s=e||t.params.el;if("string"==typeof s&&(s=document.querySelector(s)),!s)return!1;s.swiper=t,s.parentNode&&s.parentNode.host&&s.parentNode.host.nodeName===t.params.swiperElementNodeName.toUpperCase()&&(t.isElement=!0);const a=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`;let i=(()=>{if(s&&s.shadowRoot&&s.shadowRoot.querySelector){return s.shadowRoot.querySelector(a())}return f(s,a())[0]})();return!i&&t.params.createElements&&(i=v("div",t.params.wrapperClass),s.append(i),f(s,`.${t.params.slideClass}`).forEach((e=>{i.append(e)}))),Object.assign(t,{el:s,wrapperEl:i,slidesEl:t.isElement&&!s.parentNode.host.slideSlots?s.parentNode.host:i,hostEl:t.isElement?s.parentNode.host:s,mounted:!0,rtl:"rtl"===s.dir.toLowerCase()||"rtl"===b(s,"direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===s.dir.toLowerCase()||"rtl"===b(s,"direction")),wrongRTL:"-webkit-box"===b(i,"display")}),!0}init(e){const t=this;if(t.initialized)return t;if(!1===t.mount(e))return t;t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.loop&&t.virtual&&t.params.virtual.enabled?t.slideTo(t.params.initialSlide+t.virtual.slidesBefore,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.params.loop&&t.loopCreate(void 0,!0),t.attachEvents();const s=[...t.el.querySelectorAll('[loading="lazy"]')];return t.isElement&&s.push(...t.hostEl.querySelectorAll('[loading="lazy"]')),s.forEach((e=>{e.complete?G(t,e):e.addEventListener("load",(e=>{G(t,e.target)}))})),Y(t),t.initialized=!0,Y(t),t.emit("init"),t.emit("afterInit"),t}destroy(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);const s=this,{params:a,el:i,wrapperEl:r,slides:n}=s;return void 0===s.params||s.destroyed||(s.emit("beforeDestroy"),s.initialized=!1,s.detachEvents(),a.loop&&s.loopDestroy(),t&&(s.removeClasses(),i&&"string"!=typeof i&&i.removeAttribute("style"),r&&r.removeAttribute("style"),n&&n.length&&n.forEach((e=>{e.classList.remove(a.slideVisibleClass,a.slideFullyVisibleClass,a.slideActiveClass,a.slideNextClass,a.slidePrevClass),e.removeAttribute("style"),e.removeAttribute("data-swiper-slide-index")}))),s.emit("destroy"),Object.keys(s.eventsListeners).forEach((e=>{s.off(e)})),!1!==e&&(s.el&&"string"!=typeof s.el&&(s.el.swiper=null),function(e){const t=e;Object.keys(t).forEach((e=>{try{t[e]=null}catch(e){}try{delete t[e]}catch(e){}}))}(s)),s.destroyed=!0),null}static extendDefaults(e){p(ie,e)}static get extendedDefaults(){return ie}static get defaults(){return te}static installModule(e){re.prototype.__modules__||(re.prototype.__modules__=[]);const t=re.prototype.__modules__;"function"==typeof e&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?(e.forEach((e=>re.installModule(e))),re):(re.installModule(e),re)}}function ne(e,t,s,a){return e.params.createElements&&Object.keys(a).forEach((i=>{if(!s[i]&&!0===s.auto){let r=f(e.el,`.${a[i]}`)[0];r||(r=v("div",a[i]),r.className=a[i],e.el.append(r)),s[i]=r,t[i]=r}})),s}function le(e){return void 0===e&&(e=""),`.${e.trim().replace(/([\.:!+\/()[\]])/g,"\\$1").replace(/ /g,".")}`}function oe(e){const t=this,{params:s,slidesEl:a}=t;s.loop&&t.loopDestroy();const i=e=>{if("string"==typeof e){const t=document.createElement("div");C(t,e),a.append(t.children[0]),C(t,"")}else a.append(e)};if("object"==typeof e&&"length"in e)for(let t=0;t{if("string"==typeof e){const t=document.createElement("div");C(t,e),i.prepend(t.children[0]),C(t,"")}else i.prepend(e)};if("object"==typeof e&&"length"in e){for(let t=0;t=l)return void s.appendSlide(t);let o=n>e?n+1:n;const d=[];for(let t=l-1;t>=e;t-=1){const e=s.slides[t];e.remove(),d.unshift(e)}if("object"==typeof t&&"length"in t){for(let e=0;ee?n+t.length:n}else r.append(t);for(let e=0;e{if(s.params.effect!==t)return;s.classNames.push(`${s.params.containerModifierClass}${t}`),l&&l()&&s.classNames.push(`${s.params.containerModifierClass}3d`);const e=n?n():{};Object.assign(s.params,e),Object.assign(s.originalParams,e)})),a("setTranslate _virtualUpdated",(()=>{s.params.effect===t&&i()})),a("setTransition",((e,a)=>{s.params.effect===t&&r(a)})),a("transitionEnd",(()=>{if(s.params.effect===t&&o){if(!d||!d().slideShadows)return;s.slides.forEach((e=>{e.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach((e=>e.remove()))})),o()}})),a("virtualUpdate",(()=>{s.params.effect===t&&(s.slides.length||(c=!0),requestAnimationFrame((()=>{c&&s.slides&&s.slides.length&&(i(),c=!1)})))}))}function he(e,t){const s=h(t);return s!==t&&(s.style.backfaceVisibility="hidden",s.style["-webkit-backface-visibility"]="hidden"),s}function fe(e){let{swiper:t,duration:s,transformElements:a,allSlides:i}=e;const{activeIndex:r}=t;if(t.params.virtualTranslate&&0!==s){let e,s=!1;e=i?a:a.filter((e=>{const s=e.classList.contains("swiper-slide-transform")?(e=>{if(!e.parentElement)return t.slides.find((t=>t.shadowRoot&&t.shadowRoot===e.parentNode));return e.parentElement})(e):e;return t.getSlideIndex(s)===r})),e.forEach((e=>{x(e,(()=>{if(s)return;if(!t||t.destroyed)return;s=!0,t.animating=!1;const e=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});t.wrapperEl.dispatchEvent(e)}))}))}}function ge(e,t,s){const a=`swiper-slide-shadow${s?`-${s}`:""}${e?` swiper-slide-shadow-${e}`:""}`,i=h(t);let r=i.querySelector(`.${a.split(" ").join(".")}`);return r||(r=v("div",a.split(" ")),i.append(r)),r}Object.keys(ae).forEach((e=>{Object.keys(ae[e]).forEach((t=>{re.prototype[t]=ae[e][t]}))})),re.use([function(e){let{swiper:t,on:s,emit:a}=e;const i=r();let n=null,l=null;const o=()=>{t&&!t.destroyed&&t.initialized&&(a("beforeResize"),a("resize"))},d=()=>{t&&!t.destroyed&&t.initialized&&a("orientationchange")};s("init",(()=>{t.params.resizeObserver&&void 0!==i.ResizeObserver?t&&!t.destroyed&&t.initialized&&(n=new ResizeObserver((e=>{l=i.requestAnimationFrame((()=>{const{width:s,height:a}=t;let i=s,r=a;e.forEach((e=>{let{contentBoxSize:s,contentRect:a,target:n}=e;n&&n!==t.el||(i=a?a.width:(s[0]||s).inlineSize,r=a?a.height:(s[0]||s).blockSize)})),i===s&&r===a||o()}))})),n.observe(t.el)):(i.addEventListener("resize",o),i.addEventListener("orientationchange",d))})),s("destroy",(()=>{l&&i.cancelAnimationFrame(l),n&&n.unobserve&&t.el&&(n.unobserve(t.el),n=null),i.removeEventListener("resize",o),i.removeEventListener("orientationchange",d)}))},function(e){let{swiper:t,extendParams:s,on:a,emit:i}=e;const n=[],l=r(),o=function(e,s){void 0===s&&(s={});const a=new(l.MutationObserver||l.WebkitMutationObserver)((e=>{if(t.__preventObserver__)return;if(1===e.length)return void i("observerUpdate",e[0]);const s=function(){i("observerUpdate",e[0])};l.requestAnimationFrame?l.requestAnimationFrame(s):l.setTimeout(s,0)}));a.observe(e,{attributes:void 0===s.attributes||s.attributes,childList:t.isElement||(void 0===s.childList||s).childList,characterData:void 0===s.characterData||s.characterData}),n.push(a)};s({observer:!1,observeParents:!1,observeSlideChildren:!1}),a("init",(()=>{if(t.params.observer){if(t.params.observeParents){const e=E(t.hostEl);for(let t=0;t{n.forEach((e=>{e.disconnect()})),n.splice(0,n.length)}))}]);const ve=[function(e){let t,{swiper:s,extendParams:i,on:r,emit:n}=e;i({virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}});const l=a();s.virtual={cache:{},from:void 0,to:void 0,slides:[],offset:0,slidesGrid:[]};const o=l.createElement("div");function d(e,t){const a=s.params.virtual;if(a.cache&&s.virtual.cache[t])return s.virtual.cache[t];let i;return a.renderSlide?(i=a.renderSlide.call(s,e,t),"string"==typeof i&&(C(o,i),i=o.children[0])):i=s.isElement?v("swiper-slide"):v("div",s.params.slideClass),i.setAttribute("data-swiper-slide-index",t),a.renderSlide||C(i,e),a.cache&&(s.virtual.cache[t]=i),i}function c(e,t,a){const{slidesPerView:i,slidesPerGroup:r,centeredSlides:l,loop:o,initialSlide:c}=s.params;if(t&&!o&&c>0)return;const{addSlidesBefore:p,addSlidesAfter:u}=s.params.virtual,{from:m,to:h,slides:g,slidesGrid:v,offset:w}=s.virtual;s.params.cssMode||s.updateActiveIndex();const b=void 0===a?s.activeIndex||0:a;let y,E,x;y=s.rtlTranslate?"right":s.isHorizontal()?"left":"top",l?(E=Math.floor(i/2)+r+u,x=Math.floor(i/2)+r+p):(E=i+(r-1)+u,x=(o?i:r)+p);let S=b-x,T=b+E;o||(S=Math.max(S,0),T=Math.min(T,g.length-1));let M=(s.slidesGrid[S]||0)-(s.slidesGrid[0]||0);function C(){s.updateSlides(),s.updateProgress(),s.updateSlidesClasses(),n("virtualUpdate")}if(o&&b>=x?(S-=x,l||(M+=s.slidesGrid[0])):o&&b{e.style[y]=M-Math.abs(s.cssOverflowAdjustment())+"px"})),s.updateProgress(),void n("virtualUpdate");if(s.params.virtual.renderExternal)return s.params.virtual.renderExternal.call(s,{offset:M,from:S,to:T,slides:function(){const e=[];for(let t=S;t<=T;t+=1)e.push(g[t]);return e}()}),void(s.params.virtual.renderExternalUpdate?C():n("virtualUpdate"));const P=[],L=[],I=e=>{let t=e;return e<0?t=g.length+e:t>=g.length&&(t-=g.length),t};if(e)s.slides.filter((e=>e.matches(`.${s.params.slideClass}, swiper-slide`))).forEach((e=>{e.remove()}));else for(let e=m;e<=h;e+=1)if(eT){const t=I(e);s.slides.filter((e=>e.matches(`.${s.params.slideClass}[data-swiper-slide-index="${t}"], swiper-slide[data-swiper-slide-index="${t}"]`))).forEach((e=>{e.remove()}))}const z=o?-g.length:0,A=o?2*g.length:g.length;for(let t=z;t=S&&t<=T){const s=I(t);void 0===h||e?L.push(s):(t>h&&L.push(s),t{s.slidesEl.append(d(g[e],e))})),o)for(let e=P.length-1;e>=0;e-=1){const t=P[e];s.slidesEl.prepend(d(g[t],t))}else P.sort(((e,t)=>t-e)),P.forEach((e=>{s.slidesEl.prepend(d(g[e],e))}));f(s.slidesEl,".swiper-slide, swiper-slide").forEach((e=>{e.style[y]=M-Math.abs(s.cssOverflowAdjustment())+"px"})),C()}r("beforeInit",(()=>{if(!s.params.virtual.enabled)return;let e;if(void 0===s.passedParams.virtual.slides){const t=[...s.slidesEl.children].filter((e=>e.matches(`.${s.params.slideClass}, swiper-slide`)));t&&t.length&&(s.virtual.slides=[...t],e=!0,t.forEach(((e,t)=>{e.setAttribute("data-swiper-slide-index",t),s.virtual.cache[t]=e,e.remove()})))}e||(s.virtual.slides=s.params.virtual.slides),s.classNames.push(`${s.params.containerModifierClass}virtual`),s.params.watchSlidesProgress=!0,s.originalParams.watchSlidesProgress=!0,c(!1,!0)})),r("setTranslate",(()=>{s.params.virtual.enabled&&(s.params.cssMode&&!s._immediateVirtual?(clearTimeout(t),t=setTimeout((()=>{c()}),100)):c())})),r("init update resize",(()=>{s.params.virtual.enabled&&s.params.cssMode&&u(s.wrapperEl,"--swiper-virtual-size",`${s.virtualSize}px`)})),Object.assign(s.virtual,{appendSlide:function(e){if("object"==typeof e&&"length"in e)for(let t=0;t{const a=e[s],r=a.getAttribute("data-swiper-slide-index");r&&a.setAttribute("data-swiper-slide-index",parseInt(r,10)+i),t[parseInt(s,10)+i]=a})),s.virtual.cache=t}c(!0),s.slideTo(a,0)},removeSlide:function(e){if(null==e)return;let t=s.activeIndex;if(Array.isArray(e))for(let a=e.length-1;a>=0;a-=1)s.params.virtual.cache&&(delete s.virtual.cache[e[a]],Object.keys(s.virtual.cache).forEach((t=>{t>e&&(s.virtual.cache[t-1]=s.virtual.cache[t],s.virtual.cache[t-1].setAttribute("data-swiper-slide-index",t-1),delete s.virtual.cache[t])}))),s.virtual.slides.splice(e[a],1),e[a]{t>e&&(s.virtual.cache[t-1]=s.virtual.cache[t],s.virtual.cache[t-1].setAttribute("data-swiper-slide-index",t-1),delete s.virtual.cache[t])}))),s.virtual.slides.splice(e,1),e0&&0===E(t.el,`.${t.params.slideActiveClass}`).length)return;const a=t.el,i=a.clientWidth,r=a.clientHeight,n=o.innerWidth,l=o.innerHeight,d=w(a);s&&(d.left-=a.scrollLeft);const c=[[d.left,d.top],[d.left+i,d.top],[d.left,d.top+r],[d.left+i,d.top+r]];for(let t=0;t=0&&s[0]<=n&&s[1]>=0&&s[1]<=l){if(0===s[0]&&0===s[1])continue;e=!0}}if(!e)return}t.isHorizontal()?((d||c||p||u)&&(a.preventDefault?a.preventDefault():a.returnValue=!1),((c||u)&&!s||(d||p)&&s)&&t.slideNext(),((d||p)&&!s||(c||u)&&s)&&t.slidePrev()):((d||c||m||h)&&(a.preventDefault?a.preventDefault():a.returnValue=!1),(c||h)&&t.slideNext(),(d||m)&&t.slidePrev()),n("keyPress",i)}}function c(){t.keyboard.enabled||(l.addEventListener("keydown",d),t.keyboard.enabled=!0)}function p(){t.keyboard.enabled&&(l.removeEventListener("keydown",d),t.keyboard.enabled=!1)}t.keyboard={enabled:!1},s({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}}),i("init",(()=>{t.params.keyboard.enabled&&c()})),i("destroy",(()=>{t.keyboard.enabled&&p()})),Object.assign(t.keyboard,{enable:c,disable:p})},function(e){let{swiper:t,extendParams:s,on:a,emit:i}=e;const n=r();let d;s({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null,noMousewheelClass:"swiper-no-mousewheel"}}),t.mousewheel={enabled:!1};let c,p=o();const u=[];function m(){t.enabled&&(t.mouseEntered=!0)}function h(){t.enabled&&(t.mouseEntered=!1)}function f(e){return!(t.params.mousewheel.thresholdDelta&&e.delta=6&&o()-p<60||(e.direction<0?t.isEnd&&!t.params.loop||t.animating||(t.slideNext(),i("scroll",e.raw)):t.isBeginning&&!t.params.loop||t.animating||(t.slidePrev(),i("scroll",e.raw)),p=(new n.Date).getTime(),!1)))}function g(e){let s=e,a=!0;if(!t.enabled)return;if(e.target.closest(`.${t.params.mousewheel.noMousewheelClass}`))return;const r=t.params.mousewheel;t.params.cssMode&&s.preventDefault();let n=t.el;"container"!==t.params.mousewheel.eventsTarget&&(n=document.querySelector(t.params.mousewheel.eventsTarget));const p=n&&n.contains(s.target);if(!t.mouseEntered&&!p&&!r.releaseOnEdges)return!0;s.originalEvent&&(s=s.originalEvent);let m=0;const h=t.rtlTranslate?-1:1,g=function(e){let t=0,s=0,a=0,i=0;return"detail"in e&&(s=e.detail),"wheelDelta"in e&&(s=-e.wheelDelta/120),"wheelDeltaY"in e&&(s=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=s,s=0),a=10*t,i=10*s,"deltaY"in e&&(i=e.deltaY),"deltaX"in e&&(a=e.deltaX),e.shiftKey&&!a&&(a=i,i=0),(a||i)&&e.deltaMode&&(1===e.deltaMode?(a*=40,i*=40):(a*=800,i*=800)),a&&!t&&(t=a<1?-1:1),i&&!s&&(s=i<1?-1:1),{spinX:t,spinY:s,pixelX:a,pixelY:i}}(s);if(r.forceToAxis)if(t.isHorizontal()){if(!(Math.abs(g.pixelX)>Math.abs(g.pixelY)))return!0;m=-g.pixelX*h}else{if(!(Math.abs(g.pixelY)>Math.abs(g.pixelX)))return!0;m=-g.pixelY}else m=Math.abs(g.pixelX)>Math.abs(g.pixelY)?-g.pixelX*h:-g.pixelY;if(0===m)return!0;r.invert&&(m=-m);let v=t.getTranslate()+m*r.sensitivity;if(v>=t.minTranslate()&&(v=t.minTranslate()),v<=t.maxTranslate()&&(v=t.maxTranslate()),a=!!t.params.loop||!(v===t.minTranslate()||v===t.maxTranslate()),a&&t.params.nested&&s.stopPropagation(),t.params.freeMode&&t.params.freeMode.enabled){const e={time:o(),delta:Math.abs(m),direction:Math.sign(m)},a=c&&e.time=t.minTranslate()&&(n=t.minTranslate()),n<=t.maxTranslate()&&(n=t.maxTranslate()),t.setTransition(0),t.setTranslate(n),t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses(),(!o&&t.isBeginning||!p&&t.isEnd)&&t.updateSlidesClasses(),t.params.loop&&t.loopFix({direction:e.direction<0?"next":"prev",byMousewheel:!0}),t.params.freeMode.sticky){clearTimeout(d),d=void 0,u.length>=15&&u.shift();const s=u.length?u[u.length-1]:void 0,a=u[0];if(u.push(e),s&&(e.delta>s.delta||e.direction!==s.direction))u.splice(0);else if(u.length>=15&&e.time-a.time<500&&a.delta-e.delta>=1&&e.delta<=6){const s=m>0?.8:.2;c=e,u.splice(0),d=l((()=>{!t.destroyed&&t.params&&t.slideToClosest(t.params.speed,!0,void 0,s)}),0)}d||(d=l((()=>{if(t.destroyed||!t.params)return;c=e,u.splice(0),t.slideToClosest(t.params.speed,!0,void 0,.5)}),500))}if(a||i("scroll",s),t.params.autoplay&&t.params.autoplay.disableOnInteraction&&t.autoplay.stop(),r.releaseOnEdges&&(n===t.minTranslate()||n===t.maxTranslate()))return!0}}else{const s={time:o(),delta:Math.abs(m),direction:Math.sign(m),raw:e};u.length>=2&&u.shift();const a=u.length?u[u.length-1]:void 0;if(u.push(s),a?(s.direction!==a.direction||s.delta>a.delta||s.time>a.time+150)&&f(s):f(s),function(e){const s=t.params.mousewheel;if(e.direction<0){if(t.isEnd&&!t.params.loop&&s.releaseOnEdges)return!0}else if(t.isBeginning&&!t.params.loop&&s.releaseOnEdges)return!0;return!1}(s))return!0}return s.preventDefault?s.preventDefault():s.returnValue=!1,!1}function v(e){let s=t.el;"container"!==t.params.mousewheel.eventsTarget&&(s=document.querySelector(t.params.mousewheel.eventsTarget)),s[e]("mouseenter",m),s[e]("mouseleave",h),s[e]("wheel",g)}function w(){return t.params.cssMode?(t.wrapperEl.removeEventListener("wheel",g),!0):!t.mousewheel.enabled&&(v("addEventListener"),t.mousewheel.enabled=!0,!0)}function b(){return t.params.cssMode?(t.wrapperEl.addEventListener(event,g),!0):!!t.mousewheel.enabled&&(v("removeEventListener"),t.mousewheel.enabled=!1,!0)}a("init",(()=>{!t.params.mousewheel.enabled&&t.params.cssMode&&b(),t.params.mousewheel.enabled&&w()})),a("destroy",(()=>{t.params.cssMode&&w(),t.mousewheel.enabled&&b()})),Object.assign(t.mousewheel,{enable:w,disable:b})},function(e){let{swiper:t,extendParams:s,on:a,emit:i}=e;function r(e){let s;return e&&"string"==typeof e&&t.isElement&&(s=t.el.querySelector(e)||t.hostEl.querySelector(e),s)?s:(e&&("string"==typeof e&&(s=[...document.querySelectorAll(e)]),t.params.uniqueNavElements&&"string"==typeof e&&s&&s.length>1&&1===t.el.querySelectorAll(e).length?s=t.el.querySelector(e):s&&1===s.length&&(s=s[0])),e&&!s?e:s)}function n(e,s){const a=t.params.navigation;(e=T(e)).forEach((e=>{e&&(e.classList[s?"add":"remove"](...a.disabledClass.split(" ")),"BUTTON"===e.tagName&&(e.disabled=s),t.params.watchOverflow&&t.enabled&&e.classList[t.isLocked?"add":"remove"](a.lockClass))}))}function l(){const{nextEl:e,prevEl:s}=t.navigation;if(t.params.loop)return n(s,!1),void n(e,!1);n(s,t.isBeginning&&!t.params.rewind),n(e,t.isEnd&&!t.params.rewind)}function o(e){e.preventDefault(),(!t.isBeginning||t.params.loop||t.params.rewind)&&(t.slidePrev(),i("navigationPrev"))}function d(e){e.preventDefault(),(!t.isEnd||t.params.loop||t.params.rewind)&&(t.slideNext(),i("navigationNext"))}function c(){const e=t.params.navigation;if(t.params.navigation=ne(t,t.originalParams.navigation,t.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!e.nextEl&&!e.prevEl)return;let s=r(e.nextEl),a=r(e.prevEl);Object.assign(t.navigation,{nextEl:s,prevEl:a}),s=T(s),a=T(a);const i=(s,a)=>{s&&s.addEventListener("click","next"===a?d:o),!t.enabled&&s&&s.classList.add(...e.lockClass.split(" "))};s.forEach((e=>i(e,"next"))),a.forEach((e=>i(e,"prev")))}function p(){let{nextEl:e,prevEl:s}=t.navigation;e=T(e),s=T(s);const a=(e,s)=>{e.removeEventListener("click","next"===s?d:o),e.classList.remove(...t.params.navigation.disabledClass.split(" "))};e.forEach((e=>a(e,"next"))),s.forEach((e=>a(e,"prev")))}s({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),t.navigation={nextEl:null,prevEl:null},a("init",(()=>{!1===t.params.navigation.enabled?u():(c(),l())})),a("toEdge fromEdge lock unlock",(()=>{l()})),a("destroy",(()=>{p()})),a("enable disable",(()=>{let{nextEl:e,prevEl:s}=t.navigation;e=T(e),s=T(s),t.enabled?l():[...e,...s].filter((e=>!!e)).forEach((e=>e.classList.add(t.params.navigation.lockClass)))})),a("click",((e,s)=>{let{nextEl:a,prevEl:r}=t.navigation;a=T(a),r=T(r);const n=s.target;let l=r.includes(n)||a.includes(n);if(t.isElement&&!l){const e=s.path||s.composedPath&&s.composedPath();e&&(l=e.find((e=>a.includes(e)||r.includes(e))))}if(t.params.navigation.hideOnClick&&!l){if(t.pagination&&t.params.pagination&&t.params.pagination.clickable&&(t.pagination.el===n||t.pagination.el.contains(n)))return;let e;a.length?e=a[0].classList.contains(t.params.navigation.hiddenClass):r.length&&(e=r[0].classList.contains(t.params.navigation.hiddenClass)),i(!0===e?"navigationShow":"navigationHide"),[...a,...r].filter((e=>!!e)).forEach((e=>e.classList.toggle(t.params.navigation.hiddenClass)))}}));const u=()=>{t.el.classList.add(...t.params.navigation.navigationDisabledClass.split(" ")),p()};Object.assign(t.navigation,{enable:()=>{t.el.classList.remove(...t.params.navigation.navigationDisabledClass.split(" ")),c(),l()},disable:u,update:l,init:c,destroy:p})},function(e){let{swiper:t,extendParams:s,on:a,emit:i}=e;const r="swiper-pagination";let n;s({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:e=>e,formatFractionTotal:e=>e,bulletClass:`${r}-bullet`,bulletActiveClass:`${r}-bullet-active`,modifierClass:`${r}-`,currentClass:`${r}-current`,totalClass:`${r}-total`,hiddenClass:`${r}-hidden`,progressbarFillClass:`${r}-progressbar-fill`,progressbarOppositeClass:`${r}-progressbar-opposite`,clickableClass:`${r}-clickable`,lockClass:`${r}-lock`,horizontalClass:`${r}-horizontal`,verticalClass:`${r}-vertical`,paginationDisabledClass:`${r}-disabled`}}),t.pagination={el:null,bullets:[]};let l=0;function o(){return!t.params.pagination.el||!t.pagination.el||Array.isArray(t.pagination.el)&&0===t.pagination.el.length}function d(e,s){const{bulletActiveClass:a}=t.params.pagination;e&&(e=e[("prev"===s?"previous":"next")+"ElementSibling"])&&(e.classList.add(`${a}-${s}`),(e=e[("prev"===s?"previous":"next")+"ElementSibling"])&&e.classList.add(`${a}-${s}-${s}`))}function c(e){const s=e.target.closest(le(t.params.pagination.bulletClass));if(!s)return;e.preventDefault();const a=y(s)*t.params.slidesPerGroup;if(t.params.loop){if(t.realIndex===a)return;const e=(i=t.realIndex,r=a,n=t.slides.length,(r%=n)==1+(i%=n)?"next":r===i-1?"previous":void 0);"next"===e?t.slideNext():"previous"===e?t.slidePrev():t.slideToLoop(a)}else t.slideTo(a);var i,r,n}function p(){const e=t.rtl,s=t.params.pagination;if(o())return;let a,r,c=t.pagination.el;c=T(c);const p=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.slides.length,u=t.params.loop?Math.ceil(p/t.params.slidesPerGroup):t.snapGrid.length;if(t.params.loop?(r=t.previousRealIndex||0,a=t.params.slidesPerGroup>1?Math.floor(t.realIndex/t.params.slidesPerGroup):t.realIndex):void 0!==t.snapIndex?(a=t.snapIndex,r=t.previousSnapIndex):(r=t.previousIndex||0,a=t.activeIndex||0),"bullets"===s.type&&t.pagination.bullets&&t.pagination.bullets.length>0){const i=t.pagination.bullets;let o,p,u;if(s.dynamicBullets&&(n=S(i[0],t.isHorizontal()?"width":"height",!0),c.forEach((e=>{e.style[t.isHorizontal()?"width":"height"]=n*(s.dynamicMainBullets+4)+"px"})),s.dynamicMainBullets>1&&void 0!==r&&(l+=a-(r||0),l>s.dynamicMainBullets-1?l=s.dynamicMainBullets-1:l<0&&(l=0)),o=Math.max(a-l,0),p=o+(Math.min(i.length,s.dynamicMainBullets)-1),u=(p+o)/2),i.forEach((e=>{const t=[...["","-next","-next-next","-prev","-prev-prev","-main"].map((e=>`${s.bulletActiveClass}${e}`))].map((e=>"string"==typeof e&&e.includes(" ")?e.split(" "):e)).flat();e.classList.remove(...t)})),c.length>1)i.forEach((e=>{const i=y(e);i===a?e.classList.add(...s.bulletActiveClass.split(" ")):t.isElement&&e.setAttribute("part","bullet"),s.dynamicBullets&&(i>=o&&i<=p&&e.classList.add(...`${s.bulletActiveClass}-main`.split(" ")),i===o&&d(e,"prev"),i===p&&d(e,"next"))}));else{const e=i[a];if(e&&e.classList.add(...s.bulletActiveClass.split(" ")),t.isElement&&i.forEach(((e,t)=>{e.setAttribute("part",t===a?"bullet-active":"bullet")})),s.dynamicBullets){const e=i[o],t=i[p];for(let e=o;e<=p;e+=1)i[e]&&i[e].classList.add(...`${s.bulletActiveClass}-main`.split(" "));d(e,"prev"),d(t,"next")}}if(s.dynamicBullets){const a=Math.min(i.length,s.dynamicMainBullets+4),r=(n*a-n)/2-u*n,l=e?"right":"left";i.forEach((e=>{e.style[t.isHorizontal()?l:"top"]=`${r}px`}))}}c.forEach(((e,r)=>{if("fraction"===s.type&&(e.querySelectorAll(le(s.currentClass)).forEach((e=>{e.textContent=s.formatFractionCurrent(a+1)})),e.querySelectorAll(le(s.totalClass)).forEach((e=>{e.textContent=s.formatFractionTotal(u)}))),"progressbar"===s.type){let i;i=s.progressbarOpposite?t.isHorizontal()?"vertical":"horizontal":t.isHorizontal()?"horizontal":"vertical";const r=(a+1)/u;let n=1,l=1;"horizontal"===i?n=r:l=r,e.querySelectorAll(le(s.progressbarFillClass)).forEach((e=>{e.style.transform=`translate3d(0,0,0) scaleX(${n}) scaleY(${l})`,e.style.transitionDuration=`${t.params.speed}ms`}))}"custom"===s.type&&s.renderCustom?(C(e,s.renderCustom(t,a+1,u)),0===r&&i("paginationRender",e)):(0===r&&i("paginationRender",e),i("paginationUpdate",e)),t.params.watchOverflow&&t.enabled&&e.classList[t.isLocked?"add":"remove"](s.lockClass)}))}function u(){const e=t.params.pagination;if(o())return;const s=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.grid&&t.params.grid.rows>1?t.slides.length/Math.ceil(t.params.grid.rows):t.slides.length;let a=t.pagination.el;a=T(a);let r="";if("bullets"===e.type){let a=t.params.loop?Math.ceil(s/t.params.slidesPerGroup):t.snapGrid.length;t.params.freeMode&&t.params.freeMode.enabled&&a>s&&(a=s);for(let s=0;s`}"fraction"===e.type&&(r=e.renderFraction?e.renderFraction.call(t,e.currentClass,e.totalClass):` / `),"progressbar"===e.type&&(r=e.renderProgressbar?e.renderProgressbar.call(t,e.progressbarFillClass):``),t.pagination.bullets=[],a.forEach((s=>{"custom"!==e.type&&C(s,r||""),"bullets"===e.type&&t.pagination.bullets.push(...s.querySelectorAll(le(e.bulletClass)))})),"custom"!==e.type&&i("paginationRender",a[0])}function m(){t.params.pagination=ne(t,t.originalParams.pagination,t.params.pagination,{el:"swiper-pagination"});const e=t.params.pagination;if(!e.el)return;let s;"string"==typeof e.el&&t.isElement&&(s=t.el.querySelector(e.el)),s||"string"!=typeof e.el||(s=[...document.querySelectorAll(e.el)]),s||(s=e.el),s&&0!==s.length&&(t.params.uniqueNavElements&&"string"==typeof e.el&&Array.isArray(s)&&s.length>1&&(s=[...t.el.querySelectorAll(e.el)],s.length>1&&(s=s.find((e=>E(e,".swiper")[0]===t.el)))),Array.isArray(s)&&1===s.length&&(s=s[0]),Object.assign(t.pagination,{el:s}),s=T(s),s.forEach((s=>{"bullets"===e.type&&e.clickable&&s.classList.add(...(e.clickableClass||"").split(" ")),s.classList.add(e.modifierClass+e.type),s.classList.add(t.isHorizontal()?e.horizontalClass:e.verticalClass),"bullets"===e.type&&e.dynamicBullets&&(s.classList.add(`${e.modifierClass}${e.type}-dynamic`),l=0,e.dynamicMainBullets<1&&(e.dynamicMainBullets=1)),"progressbar"===e.type&&e.progressbarOpposite&&s.classList.add(e.progressbarOppositeClass),e.clickable&&s.addEventListener("click",c),t.enabled||s.classList.add(e.lockClass)})))}function h(){const e=t.params.pagination;if(o())return;let s=t.pagination.el;s&&(s=T(s),s.forEach((s=>{s.classList.remove(e.hiddenClass),s.classList.remove(e.modifierClass+e.type),s.classList.remove(t.isHorizontal()?e.horizontalClass:e.verticalClass),e.clickable&&(s.classList.remove(...(e.clickableClass||"").split(" ")),s.removeEventListener("click",c))}))),t.pagination.bullets&&t.pagination.bullets.forEach((t=>t.classList.remove(...e.bulletActiveClass.split(" "))))}a("changeDirection",(()=>{if(!t.pagination||!t.pagination.el)return;const e=t.params.pagination;let{el:s}=t.pagination;s=T(s),s.forEach((s=>{s.classList.remove(e.horizontalClass,e.verticalClass),s.classList.add(t.isHorizontal()?e.horizontalClass:e.verticalClass)}))})),a("init",(()=>{!1===t.params.pagination.enabled?f():(m(),u(),p())})),a("activeIndexChange",(()=>{void 0===t.snapIndex&&p()})),a("snapIndexChange",(()=>{p()})),a("snapGridLengthChange",(()=>{u(),p()})),a("destroy",(()=>{h()})),a("enable disable",(()=>{let{el:e}=t.pagination;e&&(e=T(e),e.forEach((e=>e.classList[t.enabled?"remove":"add"](t.params.pagination.lockClass))))})),a("lock unlock",(()=>{p()})),a("click",((e,s)=>{const a=s.target,r=T(t.pagination.el);if(t.params.pagination.el&&t.params.pagination.hideOnClick&&r&&r.length>0&&!a.classList.contains(t.params.pagination.bulletClass)){if(t.navigation&&(t.navigation.nextEl&&a===t.navigation.nextEl||t.navigation.prevEl&&a===t.navigation.prevEl))return;const e=r[0].classList.contains(t.params.pagination.hiddenClass);i(!0===e?"paginationShow":"paginationHide"),r.forEach((e=>e.classList.toggle(t.params.pagination.hiddenClass)))}}));const f=()=>{t.el.classList.add(t.params.pagination.paginationDisabledClass);let{el:e}=t.pagination;e&&(e=T(e),e.forEach((e=>e.classList.add(t.params.pagination.paginationDisabledClass)))),h()};Object.assign(t.pagination,{enable:()=>{t.el.classList.remove(t.params.pagination.paginationDisabledClass);let{el:e}=t.pagination;e&&(e=T(e),e.forEach((e=>e.classList.remove(t.params.pagination.paginationDisabledClass)))),m(),u(),p()},disable:f,render:u,update:p,init:m,destroy:h})},function(e){let{swiper:t,extendParams:s,on:i,emit:r}=e;const o=a();let d,c,p,u,m=!1,h=null,f=null;function g(){if(!t.params.scrollbar.el||!t.scrollbar.el)return;const{scrollbar:e,rtlTranslate:s}=t,{dragEl:a,el:i}=e,r=t.params.scrollbar,n=t.params.loop?t.progressLoop:t.progress;let l=c,o=(p-c)*n;s?(o=-o,o>0?(l=c-o,o=0):-o+c>p&&(l=p+o)):o<0?(l=c+o,o=0):o+c>p&&(l=p-o),t.isHorizontal()?(a.style.transform=`translate3d(${o}px, 0, 0)`,a.style.width=`${l}px`):(a.style.transform=`translate3d(0px, ${o}px, 0)`,a.style.height=`${l}px`),r.hide&&(clearTimeout(h),i.style.opacity=1,h=setTimeout((()=>{i.style.opacity=0,i.style.transitionDuration="400ms"}),1e3))}function b(){if(!t.params.scrollbar.el||!t.scrollbar.el)return;const{scrollbar:e}=t,{dragEl:s,el:a}=e;s.style.width="",s.style.height="",p=t.isHorizontal()?a.offsetWidth:a.offsetHeight,u=t.size/(t.virtualSize+t.params.slidesOffsetBefore-(t.params.centeredSlides?t.snapGrid[0]:0)),c="auto"===t.params.scrollbar.dragSize?p*u:parseInt(t.params.scrollbar.dragSize,10),t.isHorizontal()?s.style.width=`${c}px`:s.style.height=`${c}px`,a.style.display=u>=1?"none":"",t.params.scrollbar.hide&&(a.style.opacity=0),t.params.watchOverflow&&t.enabled&&e.el.classList[t.isLocked?"add":"remove"](t.params.scrollbar.lockClass)}function y(e){return t.isHorizontal()?e.clientX:e.clientY}function E(e){const{scrollbar:s,rtlTranslate:a}=t,{el:i}=s;let r;r=(y(e)-w(i)[t.isHorizontal()?"left":"top"]-(null!==d?d:c/2))/(p-c),r=Math.max(Math.min(r,1),0),a&&(r=1-r);const n=t.minTranslate()+(t.maxTranslate()-t.minTranslate())*r;t.updateProgress(n),t.setTranslate(n),t.updateActiveIndex(),t.updateSlidesClasses()}function x(e){const s=t.params.scrollbar,{scrollbar:a,wrapperEl:i}=t,{el:n,dragEl:l}=a;m=!0,d=e.target===l?y(e)-e.target.getBoundingClientRect()[t.isHorizontal()?"left":"top"]:null,e.preventDefault(),e.stopPropagation(),i.style.transitionDuration="100ms",l.style.transitionDuration="100ms",E(e),clearTimeout(f),n.style.transitionDuration="0ms",s.hide&&(n.style.opacity=1),t.params.cssMode&&(t.wrapperEl.style["scroll-snap-type"]="none"),r("scrollbarDragStart",e)}function S(e){const{scrollbar:s,wrapperEl:a}=t,{el:i,dragEl:n}=s;m&&(e.preventDefault&&e.cancelable?e.preventDefault():e.returnValue=!1,E(e),a.style.transitionDuration="0ms",i.style.transitionDuration="0ms",n.style.transitionDuration="0ms",r("scrollbarDragMove",e))}function M(e){const s=t.params.scrollbar,{scrollbar:a,wrapperEl:i}=t,{el:n}=a;m&&(m=!1,t.params.cssMode&&(t.wrapperEl.style["scroll-snap-type"]="",i.style.transitionDuration=""),s.hide&&(clearTimeout(f),f=l((()=>{n.style.opacity=0,n.style.transitionDuration="400ms"}),1e3)),r("scrollbarDragEnd",e),s.snapOnRelease&&t.slideToClosest())}function C(e){const{scrollbar:s,params:a}=t,i=s.el;if(!i)return;const r=i,n=!!a.passiveListeners&&{passive:!1,capture:!1},l=!!a.passiveListeners&&{passive:!0,capture:!1};if(!r)return;const d="on"===e?"addEventListener":"removeEventListener";r[d]("pointerdown",x,n),o[d]("pointermove",S,n),o[d]("pointerup",M,l)}function P(){const{scrollbar:e,el:s}=t;t.params.scrollbar=ne(t,t.originalParams.scrollbar,t.params.scrollbar,{el:"swiper-scrollbar"});const a=t.params.scrollbar;if(!a.el)return;let i,r;if("string"==typeof a.el&&t.isElement&&(i=t.el.querySelector(a.el)),i||"string"!=typeof a.el)i||(i=a.el);else if(i=o.querySelectorAll(a.el),!i.length)return;t.params.uniqueNavElements&&"string"==typeof a.el&&i.length>1&&1===s.querySelectorAll(a.el).length&&(i=s.querySelector(a.el)),i.length>0&&(i=i[0]),i.classList.add(t.isHorizontal()?a.horizontalClass:a.verticalClass),i&&(r=i.querySelector(le(t.params.scrollbar.dragClass)),r||(r=v("div",t.params.scrollbar.dragClass),i.append(r))),Object.assign(e,{el:i,dragEl:r}),a.draggable&&t.params.scrollbar.el&&t.scrollbar.el&&C("on"),i&&i.classList[t.enabled?"remove":"add"](...n(t.params.scrollbar.lockClass))}function L(){const e=t.params.scrollbar,s=t.scrollbar.el;s&&s.classList.remove(...n(t.isHorizontal()?e.horizontalClass:e.verticalClass)),t.params.scrollbar.el&&t.scrollbar.el&&C("off")}s({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),t.scrollbar={el:null,dragEl:null},i("changeDirection",(()=>{if(!t.scrollbar||!t.scrollbar.el)return;const e=t.params.scrollbar;let{el:s}=t.scrollbar;s=T(s),s.forEach((s=>{s.classList.remove(e.horizontalClass,e.verticalClass),s.classList.add(t.isHorizontal()?e.horizontalClass:e.verticalClass)}))})),i("init",(()=>{!1===t.params.scrollbar.enabled?I():(P(),b(),g())})),i("update resize observerUpdate lock unlock changeDirection",(()=>{b()})),i("setTranslate",(()=>{g()})),i("setTransition",((e,s)=>{!function(e){t.params.scrollbar.el&&t.scrollbar.el&&(t.scrollbar.dragEl.style.transitionDuration=`${e}ms`)}(s)})),i("enable disable",(()=>{const{el:e}=t.scrollbar;e&&e.classList[t.enabled?"remove":"add"](...n(t.params.scrollbar.lockClass))})),i("destroy",(()=>{L()}));const I=()=>{t.el.classList.add(...n(t.params.scrollbar.scrollbarDisabledClass)),t.scrollbar.el&&t.scrollbar.el.classList.add(...n(t.params.scrollbar.scrollbarDisabledClass)),L()};Object.assign(t.scrollbar,{enable:()=>{t.el.classList.remove(...n(t.params.scrollbar.scrollbarDisabledClass)),t.scrollbar.el&&t.scrollbar.el.classList.remove(...n(t.params.scrollbar.scrollbarDisabledClass)),P(),b(),g()},disable:I,updateSize:b,setTranslate:g,init:P,destroy:L})},function(e){let{swiper:t,extendParams:s,on:a}=e;s({parallax:{enabled:!1}});const i="[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]",r=(e,s)=>{const{rtl:a}=t,i=a?-1:1,r=e.getAttribute("data-swiper-parallax")||"0";let n=e.getAttribute("data-swiper-parallax-x"),l=e.getAttribute("data-swiper-parallax-y");const o=e.getAttribute("data-swiper-parallax-scale"),d=e.getAttribute("data-swiper-parallax-opacity"),c=e.getAttribute("data-swiper-parallax-rotate");if(n||l?(n=n||"0",l=l||"0"):t.isHorizontal()?(n=r,l="0"):(l=r,n="0"),n=n.indexOf("%")>=0?parseInt(n,10)*s*i+"%":n*s*i+"px",l=l.indexOf("%")>=0?parseInt(l,10)*s+"%":l*s+"px",null!=d){const t=d-(d-1)*(1-Math.abs(s));e.style.opacity=t}let p=`translate3d(${n}, ${l}, 0px)`;if(null!=o){p+=` scale(${o-(o-1)*(1-Math.abs(s))})`}if(c&&null!=c){p+=` rotate(${c*s*-1}deg)`}e.style.transform=p},n=()=>{const{el:e,slides:s,progress:a,snapGrid:n,isElement:l}=t,o=f(e,i);t.isElement&&o.push(...f(t.hostEl,i)),o.forEach((e=>{r(e,a)})),s.forEach(((e,s)=>{let l=e.progress;t.params.slidesPerGroup>1&&"auto"!==t.params.slidesPerView&&(l+=Math.ceil(s/2)-a*(n.length-1)),l=Math.min(Math.max(l,-1),1),e.querySelectorAll(`${i}, [data-swiper-parallax-rotate]`).forEach((e=>{r(e,l)}))}))};a("beforeInit",(()=>{t.params.parallax.enabled&&(t.params.watchSlidesProgress=!0,t.originalParams.watchSlidesProgress=!0)})),a("init",(()=>{t.params.parallax.enabled&&n()})),a("setTranslate",(()=>{t.params.parallax.enabled&&n()})),a("setTransition",((e,s)=>{t.params.parallax.enabled&&function(e){void 0===e&&(e=t.params.speed);const{el:s,hostEl:a}=t,r=[...s.querySelectorAll(i)];t.isElement&&r.push(...a.querySelectorAll(i)),r.forEach((t=>{let s=parseInt(t.getAttribute("data-swiper-parallax-duration"),10)||e;0===e&&(s=0),t.style.transitionDuration=`${s}ms`}))}(s)}))},function(e){let{swiper:t,extendParams:s,on:a,emit:i}=e;const n=r();s({zoom:{enabled:!1,limitToOriginalSize:!1,maxRatio:3,minRatio:1,panOnMouseMove:!1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}}),t.zoom={enabled:!1};let l=1,o=!1,c=!1,p={x:0,y:0};const u=-3;let m,h;const g=[],v={originX:0,originY:0,slideEl:void 0,slideWidth:void 0,slideHeight:void 0,imageEl:void 0,imageWrapEl:void 0,maxRatio:3},b={isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},y={x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0};let x,S=1;function T(){if(g.length<2)return 1;const e=g[0].pageX,t=g[0].pageY,s=g[1].pageX,a=g[1].pageY;return Math.sqrt((s-e)**2+(a-t)**2)}function M(){const e=t.params.zoom,s=v.imageWrapEl.getAttribute("data-swiper-zoom")||e.maxRatio;if(e.limitToOriginalSize&&v.imageEl&&v.imageEl.naturalWidth){const e=v.imageEl.naturalWidth/v.imageEl.offsetWidth;return Math.min(e,s)}return s}function C(e){const s=t.isElement?"swiper-slide":`.${t.params.slideClass}`;return!!e.target.matches(s)||t.slides.filter((t=>t.contains(e.target))).length>0}function P(e){const s=`.${t.params.zoom.containerClass}`;return!!e.target.matches(s)||[...t.hostEl.querySelectorAll(s)].filter((t=>t.contains(e.target))).length>0}function L(e){if("mouse"===e.pointerType&&g.splice(0,g.length),!C(e))return;const s=t.params.zoom;if(m=!1,h=!1,g.push(e),!(g.length<2)){if(m=!0,v.scaleStart=T(),!v.slideEl){v.slideEl=e.target.closest(`.${t.params.slideClass}, swiper-slide`),v.slideEl||(v.slideEl=t.slides[t.activeIndex]);let a=v.slideEl.querySelector(`.${s.containerClass}`);if(a&&(a=a.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),v.imageEl=a,v.imageWrapEl=a?E(v.imageEl,`.${s.containerClass}`)[0]:void 0,!v.imageWrapEl)return void(v.imageEl=void 0);v.maxRatio=M()}if(v.imageEl){const[e,t]=function(){if(g.length<2)return{x:null,y:null};const e=v.imageEl.getBoundingClientRect();return[(g[0].pageX+(g[1].pageX-g[0].pageX)/2-e.x-n.scrollX)/l,(g[0].pageY+(g[1].pageY-g[0].pageY)/2-e.y-n.scrollY)/l]}();v.originX=e,v.originY=t,v.imageEl.style.transitionDuration="0ms"}o=!0}}function I(e){if(!C(e))return;const s=t.params.zoom,a=t.zoom,i=g.findIndex((t=>t.pointerId===e.pointerId));i>=0&&(g[i]=e),g.length<2||(h=!0,v.scaleMove=T(),v.imageEl&&(a.scale=v.scaleMove/v.scaleStart*l,a.scale>v.maxRatio&&(a.scale=v.maxRatio-1+(a.scale-v.maxRatio+1)**.5),a.scalet.pointerId===e.pointerId));i>=0&&g.splice(i,1),m&&h&&(m=!1,h=!1,v.imageEl&&(a.scale=Math.max(Math.min(a.scale,v.maxRatio),s.minRatio),v.imageEl.style.transitionDuration=`${t.params.speed}ms`,v.imageEl.style.transform=`translate3d(0,0,0) scale(${a.scale})`,l=a.scale,o=!1,a.scale>1&&v.slideEl?v.slideEl.classList.add(`${s.zoomedSlideClass}`):a.scale<=1&&v.slideEl&&v.slideEl.classList.remove(`${s.zoomedSlideClass}`),1===a.scale&&(v.originX=0,v.originY=0,v.slideEl=void 0)))}function A(){t.touchEventsData.preventTouchMoveFromPointerMove=!1}function $(e){const s="mouse"===e.pointerType&&t.params.zoom.panOnMouseMove;if(!C(e)||!P(e))return;const a=t.zoom;if(!v.imageEl)return;if(!b.isTouched||!v.slideEl)return void(s&&O(e));if(s)return void O(e);b.isMoved||(b.width=v.imageEl.offsetWidth||v.imageEl.clientWidth,b.height=v.imageEl.offsetHeight||v.imageEl.clientHeight,b.startX=d(v.imageWrapEl,"x")||0,b.startY=d(v.imageWrapEl,"y")||0,v.slideWidth=v.slideEl.offsetWidth,v.slideHeight=v.slideEl.offsetHeight,v.imageWrapEl.style.transitionDuration="0ms");const i=b.width*a.scale,r=b.height*a.scale;b.minX=Math.min(v.slideWidth/2-i/2,0),b.maxX=-b.minX,b.minY=Math.min(v.slideHeight/2-r/2,0),b.maxY=-b.minY,b.touchesCurrent.x=g.length>0?g[0].pageX:e.pageX,b.touchesCurrent.y=g.length>0?g[0].pageY:e.pageY;if(Math.max(Math.abs(b.touchesCurrent.x-b.touchesStart.x),Math.abs(b.touchesCurrent.y-b.touchesStart.y))>5&&(t.allowClick=!1),!b.isMoved&&!o){if(t.isHorizontal()&&(Math.floor(b.minX)===Math.floor(b.startX)&&b.touchesCurrent.xb.touchesStart.x))return b.isTouched=!1,void A();if(!t.isHorizontal()&&(Math.floor(b.minY)===Math.floor(b.startY)&&b.touchesCurrent.yb.touchesStart.y))return b.isTouched=!1,void A()}e.cancelable&&e.preventDefault(),e.stopPropagation(),clearTimeout(x),t.touchEventsData.preventTouchMoveFromPointerMove=!0,x=setTimeout((()=>{t.destroyed||A()})),b.isMoved=!0;const n=(a.scale-l)/(v.maxRatio-t.params.zoom.minRatio),{originX:c,originY:p}=v;b.currentX=b.touchesCurrent.x-b.touchesStart.x+b.startX+n*(b.width-2*c),b.currentY=b.touchesCurrent.y-b.touchesStart.y+b.startY+n*(b.height-2*p),b.currentXb.maxX&&(b.currentX=b.maxX-1+(b.currentX-b.maxX+1)**.8),b.currentYb.maxY&&(b.currentY=b.maxY-1+(b.currentY-b.maxY+1)**.8),y.prevPositionX||(y.prevPositionX=b.touchesCurrent.x),y.prevPositionY||(y.prevPositionY=b.touchesCurrent.y),y.prevTime||(y.prevTime=Date.now()),y.x=(b.touchesCurrent.x-y.prevPositionX)/(Date.now()-y.prevTime)/2,y.y=(b.touchesCurrent.y-y.prevPositionY)/(Date.now()-y.prevTime)/2,Math.abs(b.touchesCurrent.x-y.prevPositionX)<2&&(y.x=0),Math.abs(b.touchesCurrent.y-y.prevPositionY)<2&&(y.y=0),y.prevPositionX=b.touchesCurrent.x,y.prevPositionY=b.touchesCurrent.y,y.prevTime=Date.now(),v.imageWrapEl.style.transform=`translate3d(${b.currentX}px, ${b.currentY}px,0)`}function k(){const e=t.zoom;v.slideEl&&t.activeIndex!==t.slides.indexOf(v.slideEl)&&(v.imageEl&&(v.imageEl.style.transform="translate3d(0,0,0) scale(1)"),v.imageWrapEl&&(v.imageWrapEl.style.transform="translate3d(0,0,0)"),v.slideEl.classList.remove(`${t.params.zoom.zoomedSlideClass}`),e.scale=1,l=1,v.slideEl=void 0,v.imageEl=void 0,v.imageWrapEl=void 0,v.originX=0,v.originY=0)}function O(e){if(l<=1||!v.imageWrapEl)return;if(!C(e)||!P(e))return;const t=n.getComputedStyle(v.imageWrapEl).transform,s=new n.DOMMatrix(t);if(!c)return c=!0,p.x=e.clientX,p.y=e.clientY,b.startX=s.e,b.startY=s.f,b.width=v.imageEl.offsetWidth||v.imageEl.clientWidth,b.height=v.imageEl.offsetHeight||v.imageEl.clientHeight,v.slideWidth=v.slideEl.offsetWidth,void(v.slideHeight=v.slideEl.offsetHeight);const a=(e.clientX-p.x)*u,i=(e.clientY-p.y)*u,r=b.width*l,o=b.height*l,d=v.slideWidth,m=v.slideHeight,h=Math.min(d/2-r/2,0),f=-h,g=Math.min(m/2-o/2,0),w=-g,y=Math.max(Math.min(b.startX+a,f),h),E=Math.max(Math.min(b.startY+i,w),g);v.imageWrapEl.style.transitionDuration="0ms",v.imageWrapEl.style.transform=`translate3d(${y}px, ${E}px, 0)`,p.x=e.clientX,p.y=e.clientY,b.startX=y,b.startY=E,b.currentX=y,b.currentY=E}function D(e){const s=t.zoom,a=t.params.zoom;if(!v.slideEl){e&&e.target&&(v.slideEl=e.target.closest(`.${t.params.slideClass}, swiper-slide`)),v.slideEl||(t.params.virtual&&t.params.virtual.enabled&&t.virtual?v.slideEl=f(t.slidesEl,`.${t.params.slideActiveClass}`)[0]:v.slideEl=t.slides[t.activeIndex]);let s=v.slideEl.querySelector(`.${a.containerClass}`);s&&(s=s.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),v.imageEl=s,v.imageWrapEl=s?E(v.imageEl,`.${a.containerClass}`)[0]:void 0}if(!v.imageEl||!v.imageWrapEl)return;let i,r,o,d,c,p,u,m,h,g,y,x,S,T,C,P,L,I;t.params.cssMode&&(t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.touchAction="none"),v.slideEl.classList.add(`${a.zoomedSlideClass}`),void 0===b.touchesStart.x&&e?(i=e.pageX,r=e.pageY):(i=b.touchesStart.x,r=b.touchesStart.y);const z=l,A="number"==typeof e?e:null;1===l&&A&&(i=void 0,r=void 0,b.touchesStart.x=void 0,b.touchesStart.y=void 0);const $=M();s.scale=A||$,l=A||$,!e||1===l&&A?(u=0,m=0):(L=v.slideEl.offsetWidth,I=v.slideEl.offsetHeight,o=w(v.slideEl).left+n.scrollX,d=w(v.slideEl).top+n.scrollY,c=o+L/2-i,p=d+I/2-r,h=v.imageEl.offsetWidth||v.imageEl.clientWidth,g=v.imageEl.offsetHeight||v.imageEl.clientHeight,y=h*s.scale,x=g*s.scale,S=Math.min(L/2-y/2,0),T=Math.min(I/2-x/2,0),C=-S,P=-T,z>0&&A&&"number"==typeof b.currentX&&"number"==typeof b.currentY?(u=b.currentX*s.scale/z,m=b.currentY*s.scale/z):(u=c*s.scale,m=p*s.scale),uC&&(u=C),mP&&(m=P)),A&&1===s.scale&&(v.originX=0,v.originY=0),b.currentX=u,b.currentY=m,v.imageWrapEl.style.transitionDuration="300ms",v.imageWrapEl.style.transform=`translate3d(${u}px, ${m}px,0)`,v.imageEl.style.transitionDuration="300ms",v.imageEl.style.transform=`translate3d(0,0,0) scale(${s.scale})`}function G(){const e=t.zoom,s=t.params.zoom;if(!v.slideEl){t.params.virtual&&t.params.virtual.enabled&&t.virtual?v.slideEl=f(t.slidesEl,`.${t.params.slideActiveClass}`)[0]:v.slideEl=t.slides[t.activeIndex];let e=v.slideEl.querySelector(`.${s.containerClass}`);e&&(e=e.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),v.imageEl=e,v.imageWrapEl=e?E(v.imageEl,`.${s.containerClass}`)[0]:void 0}v.imageEl&&v.imageWrapEl&&(t.params.cssMode&&(t.wrapperEl.style.overflow="",t.wrapperEl.style.touchAction=""),e.scale=1,l=1,b.currentX=void 0,b.currentY=void 0,b.touchesStart.x=void 0,b.touchesStart.y=void 0,v.imageWrapEl.style.transitionDuration="300ms",v.imageWrapEl.style.transform="translate3d(0,0,0)",v.imageEl.style.transitionDuration="300ms",v.imageEl.style.transform="translate3d(0,0,0) scale(1)",v.slideEl.classList.remove(`${s.zoomedSlideClass}`),v.slideEl=void 0,v.originX=0,v.originY=0,t.params.zoom.panOnMouseMove&&(p={x:0,y:0},c&&(c=!1,b.startX=0,b.startY=0)))}function X(e){const s=t.zoom;s.scale&&1!==s.scale?G():D(e)}function Y(){return{passiveListener:!!t.params.passiveListeners&&{passive:!0,capture:!1},activeListenerWithCapture:!t.params.passiveListeners||{passive:!1,capture:!0}}}function B(){const e=t.zoom;if(e.enabled)return;e.enabled=!0;const{passiveListener:s,activeListenerWithCapture:a}=Y();t.wrapperEl.addEventListener("pointerdown",L,s),t.wrapperEl.addEventListener("pointermove",I,a),["pointerup","pointercancel","pointerout"].forEach((e=>{t.wrapperEl.addEventListener(e,z,s)})),t.wrapperEl.addEventListener("pointermove",$,a)}function H(){const e=t.zoom;if(!e.enabled)return;e.enabled=!1;const{passiveListener:s,activeListenerWithCapture:a}=Y();t.wrapperEl.removeEventListener("pointerdown",L,s),t.wrapperEl.removeEventListener("pointermove",I,a),["pointerup","pointercancel","pointerout"].forEach((e=>{t.wrapperEl.removeEventListener(e,z,s)})),t.wrapperEl.removeEventListener("pointermove",$,a)}Object.defineProperty(t.zoom,"scale",{get:()=>S,set(e){if(S!==e){const t=v.imageEl,s=v.slideEl;i("zoomChange",e,t,s)}S=e}}),a("init",(()=>{t.params.zoom.enabled&&B()})),a("destroy",(()=>{H()})),a("touchStart",((e,s)=>{t.zoom.enabled&&function(e){const s=t.device;if(!v.imageEl)return;if(b.isTouched)return;s.android&&e.cancelable&&e.preventDefault(),b.isTouched=!0;const a=g.length>0?g[0]:e;b.touchesStart.x=a.pageX,b.touchesStart.y=a.pageY}(s)})),a("touchEnd",((e,s)=>{t.zoom.enabled&&function(){const e=t.zoom;if(g.length=0,!v.imageEl)return;if(!b.isTouched||!b.isMoved)return b.isTouched=!1,void(b.isMoved=!1);b.isTouched=!1,b.isMoved=!1;let s=300,a=300;const i=y.x*s,r=b.currentX+i,n=y.y*a,l=b.currentY+n;0!==y.x&&(s=Math.abs((r-b.currentX)/y.x)),0!==y.y&&(a=Math.abs((l-b.currentY)/y.y));const o=Math.max(s,a);b.currentX=r,b.currentY=l;const d=b.width*e.scale,c=b.height*e.scale;b.minX=Math.min(v.slideWidth/2-d/2,0),b.maxX=-b.minX,b.minY=Math.min(v.slideHeight/2-c/2,0),b.maxY=-b.minY,b.currentX=Math.max(Math.min(b.currentX,b.maxX),b.minX),b.currentY=Math.max(Math.min(b.currentY,b.maxY),b.minY),v.imageWrapEl.style.transitionDuration=`${o}ms`,v.imageWrapEl.style.transform=`translate3d(${b.currentX}px, ${b.currentY}px,0)`}()})),a("doubleTap",((e,s)=>{!t.animating&&t.params.zoom.enabled&&t.zoom.enabled&&t.params.zoom.toggle&&X(s)})),a("transitionEnd",(()=>{t.zoom.enabled&&t.params.zoom.enabled&&k()})),a("slideChange",(()=>{t.zoom.enabled&&t.params.zoom.enabled&&t.params.cssMode&&k()})),Object.assign(t.zoom,{enable:B,disable:H,in:D,out:G,toggle:X})},function(e){let{swiper:t,extendParams:s,on:a}=e;function i(e,t){const s=function(){let e,t,s;return(a,i)=>{for(t=-1,e=a.length;e-t>1;)s=e+t>>1,a[s]<=i?t=s:e=s;return e}}();let a,i;return this.x=e,this.y=t,this.lastIndex=e.length-1,this.interpolate=function(e){return e?(i=s(this.x,e),a=i-1,(e-this.x[a])*(this.y[i]-this.y[a])/(this.x[i]-this.x[a])+this.y[a]):0},this}function r(){t.controller.control&&t.controller.spline&&(t.controller.spline=void 0,delete t.controller.spline)}s({controller:{control:void 0,inverse:!1,by:"slide"}}),t.controller={control:void 0},a("beforeInit",(()=>{if("undefined"!=typeof window&&("string"==typeof t.params.controller.control||t.params.controller.control instanceof HTMLElement)){("string"==typeof t.params.controller.control?[...document.querySelectorAll(t.params.controller.control)]:[t.params.controller.control]).forEach((e=>{if(t.controller.control||(t.controller.control=[]),e&&e.swiper)t.controller.control.push(e.swiper);else if(e){const s=`${t.params.eventsPrefix}init`,a=i=>{t.controller.control.push(i.detail[0]),t.update(),e.removeEventListener(s,a)};e.addEventListener(s,a)}}))}else t.controller.control=t.params.controller.control})),a("update",(()=>{r()})),a("resize",(()=>{r()})),a("observerUpdate",(()=>{r()})),a("setTranslate",((e,s,a)=>{t.controller.control&&!t.controller.control.destroyed&&t.controller.setTranslate(s,a)})),a("setTransition",((e,s,a)=>{t.controller.control&&!t.controller.control.destroyed&&t.controller.setTransition(s,a)})),Object.assign(t.controller,{setTranslate:function(e,s){const a=t.controller.control;let r,n;const l=t.constructor;function o(e){if(e.destroyed)return;const s=t.rtlTranslate?-t.translate:t.translate;"slide"===t.params.controller.by&&(!function(e){t.controller.spline=t.params.loop?new i(t.slidesGrid,e.slidesGrid):new i(t.snapGrid,e.snapGrid)}(e),n=-t.controller.spline.interpolate(-s)),n&&"container"!==t.params.controller.by||(r=(e.maxTranslate()-e.minTranslate())/(t.maxTranslate()-t.minTranslate()),!Number.isNaN(r)&&Number.isFinite(r)||(r=1),n=(s-t.minTranslate())*r+e.minTranslate()),t.params.controller.inverse&&(n=e.maxTranslate()-n),e.updateProgress(n),e.setTranslate(n,t),e.updateActiveIndex(),e.updateSlidesClasses()}if(Array.isArray(a))for(let e=0;e{s.updateAutoHeight()})),x(s.wrapperEl,(()=>{i&&s.transitionEnd()}))))}if(Array.isArray(i))for(r=0;r{e.setAttribute("tabIndex","0")}))}function p(e){(e=T(e)).forEach((e=>{e.setAttribute("tabIndex","-1")}))}function u(e,t){(e=T(e)).forEach((e=>{e.setAttribute("role",t)}))}function m(e,t){(e=T(e)).forEach((e=>{e.setAttribute("aria-roledescription",t)}))}function h(e,t){(e=T(e)).forEach((e=>{e.setAttribute("aria-label",t)}))}function f(e){(e=T(e)).forEach((e=>{e.setAttribute("aria-disabled",!0)}))}function g(e){(e=T(e)).forEach((e=>{e.setAttribute("aria-disabled",!1)}))}function w(e){if(13!==e.keyCode&&32!==e.keyCode)return;const s=t.params.a11y,a=e.target;if(!t.pagination||!t.pagination.el||a!==t.pagination.el&&!t.pagination.el.contains(e.target)||e.target.matches(le(t.params.pagination.bulletClass))){if(t.navigation&&t.navigation.prevEl&&t.navigation.nextEl){const e=T(t.navigation.prevEl);T(t.navigation.nextEl).includes(a)&&(t.isEnd&&!t.params.loop||t.slideNext(),t.isEnd?d(s.lastSlideMessage):d(s.nextSlideMessage)),e.includes(a)&&(t.isBeginning&&!t.params.loop||t.slidePrev(),t.isBeginning?d(s.firstSlideMessage):d(s.prevSlideMessage))}t.pagination&&a.matches(le(t.params.pagination.bulletClass))&&a.click()}}function b(){return t.pagination&&t.pagination.bullets&&t.pagination.bullets.length}function E(){return b()&&t.params.pagination.clickable}const x=(e,t,s)=>{c(e),"BUTTON"!==e.tagName&&(u(e,"button"),e.addEventListener("keydown",w)),h(e,s),function(e,t){(e=T(e)).forEach((e=>{e.setAttribute("aria-controls",t)}))}(e,t)},S=e=>{n&&n!==e.target&&!n.contains(e.target)&&(r=!0),t.a11y.clicked=!0},M=()=>{r=!1,requestAnimationFrame((()=>{requestAnimationFrame((()=>{t.destroyed||(t.a11y.clicked=!1)}))}))},P=e=>{o=(new Date).getTime()},L=e=>{if(t.a11y.clicked||!t.params.a11y.scrollOnFocus)return;if((new Date).getTime()-o<100)return;const s=e.target.closest(`.${t.params.slideClass}, swiper-slide`);if(!s||!t.slides.includes(s))return;n=s;const a=t.slides.indexOf(s)===t.activeIndex,i=t.params.watchSlidesProgress&&t.visibleSlides&&t.visibleSlides.includes(s);a||i||e.sourceCapabilities&&e.sourceCapabilities.firesTouchEvents||(t.isHorizontal()?t.el.scrollLeft=0:t.el.scrollTop=0,requestAnimationFrame((()=>{r||(t.params.loop?t.slideToLoop(t.getSlideIndexWhenGrid(parseInt(s.getAttribute("data-swiper-slide-index"))),0):t.slideTo(t.getSlideIndexWhenGrid(t.slides.indexOf(s)),0),r=!1)})))},I=()=>{const e=t.params.a11y;e.itemRoleDescriptionMessage&&m(t.slides,e.itemRoleDescriptionMessage),e.slideRole&&u(t.slides,e.slideRole);const s=t.slides.length;e.slideLabelMessage&&t.slides.forEach(((a,i)=>{const r=t.params.loop?parseInt(a.getAttribute("data-swiper-slide-index"),10):i;h(a,e.slideLabelMessage.replace(/\{\{index\}\}/,r+1).replace(/\{\{slidesLength\}\}/,s))}))},z=()=>{const e=t.params.a11y;t.el.append(l);const s=t.el;e.containerRoleDescriptionMessage&&m(s,e.containerRoleDescriptionMessage),e.containerMessage&&h(s,e.containerMessage),e.containerRole&&u(s,e.containerRole);const i=t.wrapperEl,r=e.id||i.getAttribute("id")||`swiper-wrapper-${n=16,void 0===n&&(n=16),"x".repeat(n).replace(/x/g,(()=>Math.round(16*Math.random()).toString(16)))}`;var n;const o=t.params.autoplay&&t.params.autoplay.enabled?"off":"polite";var d;d=r,T(i).forEach((e=>{e.setAttribute("id",d)})),function(e,t){(e=T(e)).forEach((e=>{e.setAttribute("aria-live",t)}))}(i,o),I();let{nextEl:c,prevEl:p}=t.navigation?t.navigation:{};if(c=T(c),p=T(p),c&&c.forEach((t=>x(t,r,e.nextSlideMessage))),p&&p.forEach((t=>x(t,r,e.prevSlideMessage))),E()){T(t.pagination.el).forEach((e=>{e.addEventListener("keydown",w)}))}a().addEventListener("visibilitychange",P),t.el.addEventListener("focus",L,!0),t.el.addEventListener("focus",L,!0),t.el.addEventListener("pointerdown",S,!0),t.el.addEventListener("pointerup",M,!0)};i("beforeInit",(()=>{l=v("span",t.params.a11y.notificationClass),l.setAttribute("aria-live","assertive"),l.setAttribute("aria-atomic","true")})),i("afterInit",(()=>{t.params.a11y.enabled&&z()})),i("slidesLengthChange snapGridLengthChange slidesGridLengthChange",(()=>{t.params.a11y.enabled&&I()})),i("fromEdge toEdge afterInit lock unlock",(()=>{t.params.a11y.enabled&&function(){if(t.params.loop||t.params.rewind||!t.navigation)return;const{nextEl:e,prevEl:s}=t.navigation;s&&(t.isBeginning?(f(s),p(s)):(g(s),c(s))),e&&(t.isEnd?(f(e),p(e)):(g(e),c(e)))}()})),i("paginationUpdate",(()=>{t.params.a11y.enabled&&function(){const e=t.params.a11y;b()&&t.pagination.bullets.forEach((s=>{t.params.pagination.clickable&&(c(s),t.params.pagination.renderBullet||(u(s,"button"),h(s,e.paginationBulletMessage.replace(/\{\{index\}\}/,y(s)+1)))),s.matches(le(t.params.pagination.bulletActiveClass))?s.setAttribute("aria-current","true"):s.removeAttribute("aria-current")}))}()})),i("destroy",(()=>{t.params.a11y.enabled&&function(){l&&l.remove();let{nextEl:e,prevEl:s}=t.navigation?t.navigation:{};e=T(e),s=T(s),e&&e.forEach((e=>e.removeEventListener("keydown",w))),s&&s.forEach((e=>e.removeEventListener("keydown",w))),E()&&T(t.pagination.el).forEach((e=>{e.removeEventListener("keydown",w)}));a().removeEventListener("visibilitychange",P),t.el&&"string"!=typeof t.el&&(t.el.removeEventListener("focus",L,!0),t.el.removeEventListener("pointerdown",S,!0),t.el.removeEventListener("pointerup",M,!0))}()}))},function(e){let{swiper:t,extendParams:s,on:a}=e;s({history:{enabled:!1,root:"",replaceState:!1,key:"slides",keepQuery:!1}});let i=!1,n={};const l=e=>e.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,""),o=e=>{const t=r();let s;s=e?new URL(e):t.location;const a=s.pathname.slice(1).split("/").filter((e=>""!==e)),i=a.length;return{key:a[i-2],value:a[i-1]}},d=(e,s)=>{const a=r();if(!i||!t.params.history.enabled)return;let n;n=t.params.url?new URL(t.params.url):a.location;const o=t.virtual&&t.params.virtual.enabled?t.slidesEl.querySelector(`[data-swiper-slide-index="${s}"]`):t.slides[s];let d=l(o.getAttribute("data-history"));if(t.params.history.root.length>0){let s=t.params.history.root;"/"===s[s.length-1]&&(s=s.slice(0,s.length-1)),d=`${s}/${e?`${e}/`:""}${d}`}else n.pathname.includes(e)||(d=`${e?`${e}/`:""}${d}`);t.params.history.keepQuery&&(d+=n.search);const c=a.history.state;c&&c.value===d||(t.params.history.replaceState?a.history.replaceState({value:d},null,d):a.history.pushState({value:d},null,d))},c=(e,s,a)=>{if(s)for(let i=0,r=t.slides.length;i{n=o(t.params.url),c(t.params.speed,n.value,!1)};a("init",(()=>{t.params.history.enabled&&(()=>{const e=r();if(t.params.history){if(!e.history||!e.history.pushState)return t.params.history.enabled=!1,void(t.params.hashNavigation.enabled=!0);i=!0,n=o(t.params.url),n.key||n.value?(c(0,n.value,t.params.runCallbacksOnInit),t.params.history.replaceState||e.addEventListener("popstate",p)):t.params.history.replaceState||e.addEventListener("popstate",p)}})()})),a("destroy",(()=>{t.params.history.enabled&&(()=>{const e=r();t.params.history.replaceState||e.removeEventListener("popstate",p)})()})),a("transitionEnd _freeModeNoMomentumRelease",(()=>{i&&d(t.params.history.key,t.activeIndex)})),a("slideChange",(()=>{i&&t.params.cssMode&&d(t.params.history.key,t.activeIndex)}))},function(e){let{swiper:t,extendParams:s,emit:i,on:n}=e,l=!1;const o=a(),d=r();s({hashNavigation:{enabled:!1,replaceState:!1,watchState:!1,getSlideIndex(e,s){if(t.virtual&&t.params.virtual.enabled){const e=t.slides.find((e=>e.getAttribute("data-hash")===s));if(!e)return 0;return parseInt(e.getAttribute("data-swiper-slide-index"),10)}return t.getSlideIndex(f(t.slidesEl,`.${t.params.slideClass}[data-hash="${s}"], swiper-slide[data-hash="${s}"]`)[0])}}});const c=()=>{i("hashChange");const e=o.location.hash.replace("#",""),s=t.virtual&&t.params.virtual.enabled?t.slidesEl.querySelector(`[data-swiper-slide-index="${t.activeIndex}"]`):t.slides[t.activeIndex];if(e!==(s?s.getAttribute("data-hash"):"")){const s=t.params.hashNavigation.getSlideIndex(t,e);if(void 0===s||Number.isNaN(s))return;t.slideTo(s)}},p=()=>{if(!l||!t.params.hashNavigation.enabled)return;const e=t.virtual&&t.params.virtual.enabled?t.slidesEl.querySelector(`[data-swiper-slide-index="${t.activeIndex}"]`):t.slides[t.activeIndex],s=e?e.getAttribute("data-hash")||e.getAttribute("data-history"):"";t.params.hashNavigation.replaceState&&d.history&&d.history.replaceState?(d.history.replaceState(null,null,`#${s}`||""),i("hashSet")):(o.location.hash=s||"",i("hashSet"))};n("init",(()=>{t.params.hashNavigation.enabled&&(()=>{if(!t.params.hashNavigation.enabled||t.params.history&&t.params.history.enabled)return;l=!0;const e=o.location.hash.replace("#","");if(e){const s=0,a=t.params.hashNavigation.getSlideIndex(t,e);t.slideTo(a||0,s,t.params.runCallbacksOnInit,!0)}t.params.hashNavigation.watchState&&d.addEventListener("hashchange",c)})()})),n("destroy",(()=>{t.params.hashNavigation.enabled&&t.params.hashNavigation.watchState&&d.removeEventListener("hashchange",c)})),n("transitionEnd _freeModeNoMomentumRelease",(()=>{l&&p()})),n("slideChange",(()=>{l&&t.params.cssMode&&p()}))},function(e){let t,s,{swiper:i,extendParams:r,on:n,emit:l,params:o}=e;i.autoplay={running:!1,paused:!1,timeLeft:0},r({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let d,c,p,u,m,h,f,g,v=o&&o.autoplay?o.autoplay.delay:3e3,w=o&&o.autoplay?o.autoplay.delay:3e3,b=(new Date).getTime();function y(e){i&&!i.destroyed&&i.wrapperEl&&e.target===i.wrapperEl&&(i.wrapperEl.removeEventListener("transitionend",y),g||e.detail&&e.detail.bySwiperTouchMove||C())}const E=()=>{if(i.destroyed||!i.autoplay.running)return;i.autoplay.paused?c=!0:c&&(w=d,c=!1);const e=i.autoplay.paused?d:b+w-(new Date).getTime();i.autoplay.timeLeft=e,l("autoplayTimeLeft",e,e/v),s=requestAnimationFrame((()=>{E()}))},x=e=>{if(i.destroyed||!i.autoplay.running)return;cancelAnimationFrame(s),E();let a=void 0===e?i.params.autoplay.delay:e;v=i.params.autoplay.delay,w=i.params.autoplay.delay;const r=(()=>{let e;if(e=i.virtual&&i.params.virtual.enabled?i.slides.find((e=>e.classList.contains("swiper-slide-active"))):i.slides[i.activeIndex],!e)return;return parseInt(e.getAttribute("data-swiper-autoplay"),10)})();!Number.isNaN(r)&&r>0&&void 0===e&&(a=r,v=r,w=r),d=a;const n=i.params.speed,o=()=>{i&&!i.destroyed&&(i.params.autoplay.reverseDirection?!i.isBeginning||i.params.loop||i.params.rewind?(i.slidePrev(n,!0,!0),l("autoplay")):i.params.autoplay.stopOnLastSlide||(i.slideTo(i.slides.length-1,n,!0,!0),l("autoplay")):!i.isEnd||i.params.loop||i.params.rewind?(i.slideNext(n,!0,!0),l("autoplay")):i.params.autoplay.stopOnLastSlide||(i.slideTo(0,n,!0,!0),l("autoplay")),i.params.cssMode&&(b=(new Date).getTime(),requestAnimationFrame((()=>{x()}))))};return a>0?(clearTimeout(t),t=setTimeout((()=>{o()}),a)):requestAnimationFrame((()=>{o()})),a},S=()=>{b=(new Date).getTime(),i.autoplay.running=!0,x(),l("autoplayStart")},T=()=>{i.autoplay.running=!1,clearTimeout(t),cancelAnimationFrame(s),l("autoplayStop")},M=(e,s)=>{if(i.destroyed||!i.autoplay.running)return;clearTimeout(t),e||(f=!0);const a=()=>{l("autoplayPause"),i.params.autoplay.waitForTransition?i.wrapperEl.addEventListener("transitionend",y):C()};if(i.autoplay.paused=!0,s)return h&&(d=i.params.autoplay.delay),h=!1,void a();const r=d||i.params.autoplay.delay;d=r-((new Date).getTime()-b),i.isEnd&&d<0&&!i.params.loop||(d<0&&(d=0),a())},C=()=>{i.isEnd&&d<0&&!i.params.loop||i.destroyed||!i.autoplay.running||(b=(new Date).getTime(),f?(f=!1,x(d)):x(),i.autoplay.paused=!1,l("autoplayResume"))},P=()=>{if(i.destroyed||!i.autoplay.running)return;const e=a();"hidden"===e.visibilityState&&(f=!0,M(!0)),"visible"===e.visibilityState&&C()},L=e=>{"mouse"===e.pointerType&&(f=!0,g=!0,i.animating||i.autoplay.paused||M(!0))},I=e=>{"mouse"===e.pointerType&&(g=!1,i.autoplay.paused&&C())};n("init",(()=>{i.params.autoplay.enabled&&(i.params.autoplay.pauseOnMouseEnter&&(i.el.addEventListener("pointerenter",L),i.el.addEventListener("pointerleave",I)),a().addEventListener("visibilitychange",P),S())})),n("destroy",(()=>{i.el&&"string"!=typeof i.el&&(i.el.removeEventListener("pointerenter",L),i.el.removeEventListener("pointerleave",I)),a().removeEventListener("visibilitychange",P),i.autoplay.running&&T()})),n("_freeModeStaticRelease",(()=>{(u||f)&&C()})),n("_freeModeNoMomentumRelease",(()=>{i.params.autoplay.disableOnInteraction?T():M(!0,!0)})),n("beforeTransitionStart",((e,t,s)=>{!i.destroyed&&i.autoplay.running&&(s||!i.params.autoplay.disableOnInteraction?M(!0,!0):T())})),n("sliderFirstMove",(()=>{!i.destroyed&&i.autoplay.running&&(i.params.autoplay.disableOnInteraction?T():(p=!0,u=!1,f=!1,m=setTimeout((()=>{f=!0,u=!0,M(!0)}),200)))})),n("touchEnd",(()=>{if(!i.destroyed&&i.autoplay.running&&p){if(clearTimeout(m),clearTimeout(t),i.params.autoplay.disableOnInteraction)return u=!1,void(p=!1);u&&i.params.cssMode&&C(),u=!1,p=!1}})),n("slideChange",(()=>{!i.destroyed&&i.autoplay.running&&(h=!0)})),Object.assign(i.autoplay,{start:S,stop:T,pause:M,resume:C})},function(e){let{swiper:t,extendParams:s,on:i}=e;s({thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-thumbs"}});let r=!1,n=!1;function l(){const e=t.thumbs.swiper;if(!e||e.destroyed)return;const s=e.clickedIndex,a=e.clickedSlide;if(a&&a.classList.contains(t.params.thumbs.slideThumbActiveClass))return;if(null==s)return;let i;i=e.params.loop?parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10):s,t.params.loop?t.slideToLoop(i):t.slideTo(i)}function o(){const{thumbs:e}=t.params;if(r)return!1;r=!0;const s=t.constructor;if(e.swiper instanceof s){if(e.swiper.destroyed)return r=!1,!1;t.thumbs.swiper=e.swiper,Object.assign(t.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),Object.assign(t.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1}),t.thumbs.swiper.update()}else if(c(e.swiper)){const a=Object.assign({},e.swiper);Object.assign(a,{watchSlidesProgress:!0,slideToClickedSlide:!1}),t.thumbs.swiper=new s(a),n=!0}return t.thumbs.swiper.el.classList.add(t.params.thumbs.thumbsContainerClass),t.thumbs.swiper.on("tap",l),!0}function d(e){const s=t.thumbs.swiper;if(!s||s.destroyed)return;const a="auto"===s.params.slidesPerView?s.slidesPerViewDynamic():s.params.slidesPerView;let i=1;const r=t.params.thumbs.slideThumbActiveClass;if(t.params.slidesPerView>1&&!t.params.centeredSlides&&(i=t.params.slidesPerView),t.params.thumbs.multipleActiveThumbs||(i=1),i=Math.floor(i),s.slides.forEach((e=>e.classList.remove(r))),s.params.loop||s.params.virtual&&s.params.virtual.enabled)for(let e=0;e{e.classList.add(r)}));else for(let e=0;ee.getAttribute("data-swiper-slide-index")===`${t.realIndex}`));r=s.slides.indexOf(e),o=t.activeIndex>t.previousIndex?"next":"prev"}else r=t.realIndex,o=r>t.previousIndex?"next":"prev";l&&(r+="next"===o?n:-1*n),s.visibleSlidesIndexes&&s.visibleSlidesIndexes.indexOf(r)<0&&(s.params.centeredSlides?r=r>i?r-Math.floor(a/2)+1:r+Math.floor(a/2)-1:r>i&&s.params.slidesPerGroup,s.slideTo(r,e?0:void 0))}}t.thumbs={swiper:null},i("beforeInit",(()=>{const{thumbs:e}=t.params;if(e&&e.swiper)if("string"==typeof e.swiper||e.swiper instanceof HTMLElement){const s=a(),i=()=>{const a="string"==typeof e.swiper?s.querySelector(e.swiper):e.swiper;if(a&&a.swiper)e.swiper=a.swiper,o(),d(!0);else if(a){const s=`${t.params.eventsPrefix}init`,i=r=>{e.swiper=r.detail[0],a.removeEventListener(s,i),o(),d(!0),e.swiper.update(),t.update()};a.addEventListener(s,i)}return a},r=()=>{if(t.destroyed)return;i()||requestAnimationFrame(r)};requestAnimationFrame(r)}else o(),d(!0)})),i("slideChange update resize observerUpdate",(()=>{d()})),i("setTransition",((e,s)=>{const a=t.thumbs.swiper;a&&!a.destroyed&&a.setTransition(s)})),i("beforeDestroy",(()=>{const e=t.thumbs.swiper;e&&!e.destroyed&&n&&e.destroy()})),Object.assign(t.thumbs,{init:o,update:d})},function(e){let{swiper:t,extendParams:s,emit:a,once:i}=e;s({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}}),Object.assign(t,{freeMode:{onTouchStart:function(){if(t.params.cssMode)return;const e=t.getTranslate();t.setTranslate(e),t.setTransition(0),t.touchEventsData.velocities.length=0,t.freeMode.onTouchEnd({currentPos:t.rtl?t.translate:-t.translate})},onTouchMove:function(){if(t.params.cssMode)return;const{touchEventsData:e,touches:s}=t;0===e.velocities.length&&e.velocities.push({position:s[t.isHorizontal()?"startX":"startY"],time:e.touchStartTime}),e.velocities.push({position:s[t.isHorizontal()?"currentX":"currentY"],time:o()})},onTouchEnd:function(e){let{currentPos:s}=e;if(t.params.cssMode)return;const{params:r,wrapperEl:n,rtlTranslate:l,snapGrid:d,touchEventsData:c}=t,p=o()-c.touchStartTime;if(s<-t.minTranslate())t.slideTo(t.activeIndex);else if(s>-t.maxTranslate())t.slides.length1){const e=c.velocities.pop(),s=c.velocities.pop(),a=e.position-s.position,i=e.time-s.time;t.velocity=a/i,t.velocity/=2,Math.abs(t.velocity)150||o()-e.time>300)&&(t.velocity=0)}else t.velocity=0;t.velocity*=r.freeMode.momentumVelocityRatio,c.velocities.length=0;let e=1e3*r.freeMode.momentumRatio;const s=t.velocity*e;let p=t.translate+s;l&&(p=-p);let u,m=!1;const h=20*Math.abs(t.velocity)*r.freeMode.momentumBounceRatio;let f;if(pt.minTranslate())r.freeMode.momentumBounce?(p-t.minTranslate()>h&&(p=t.minTranslate()+h),u=t.minTranslate(),m=!0,c.allowMomentumBounce=!0):p=t.minTranslate(),r.loop&&r.centeredSlides&&(f=!0);else if(r.freeMode.sticky){let e;for(let t=0;t-p){e=t;break}p=Math.abs(d[e]-p){t.loopFix()})),0!==t.velocity){if(e=l?Math.abs((-p-t.translate)/t.velocity):Math.abs((p-t.translate)/t.velocity),r.freeMode.sticky){const s=Math.abs((l?-p:p)-t.translate),a=t.slidesSizesGrid[t.activeIndex];e=s{t&&!t.destroyed&&c.allowMomentumBounce&&(a("momentumBounce"),t.setTransition(r.speed),setTimeout((()=>{t.setTranslate(u),x(n,(()=>{t&&!t.destroyed&&t.transitionEnd()}))}),0))}))):t.velocity?(a("_freeModeNoMomentumRelease"),t.updateProgress(p),t.setTransition(e),t.setTranslate(p),t.transitionStart(!0,t.swipeDirection),t.animating||(t.animating=!0,x(n,(()=>{t&&!t.destroyed&&t.transitionEnd()})))):t.updateProgress(p),t.updateActiveIndex(),t.updateSlidesClasses()}else{if(r.freeMode.sticky)return void t.slideToClosest();r.freeMode&&a("_freeModeNoMomentumRelease")}(!r.freeMode.momentum||p>=r.longSwipesMs)&&(a("_freeModeStaticRelease"),t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses())}}}})},function(e){let t,s,a,i,{swiper:r,extendParams:n,on:l}=e;n({grid:{rows:1,fill:"column"}});const o=()=>{let e=r.params.spaceBetween;return"string"==typeof e&&e.indexOf("%")>=0?e=parseFloat(e.replace("%",""))/100*r.size:"string"==typeof e&&(e=parseFloat(e)),e};l("init",(()=>{i=r.params.grid&&r.params.grid.rows>1})),l("update",(()=>{const{params:e,el:t}=r,s=e.grid&&e.grid.rows>1;i&&!s?(t.classList.remove(`${e.containerModifierClass}grid`,`${e.containerModifierClass}grid-column`),a=1,r.emitContainerClasses()):!i&&s&&(t.classList.add(`${e.containerModifierClass}grid`),"column"===e.grid.fill&&t.classList.add(`${e.containerModifierClass}grid-column`),r.emitContainerClasses()),i=s})),r.grid={initSlides:e=>{const{slidesPerView:i}=r.params,{rows:n,fill:l}=r.params.grid,o=r.virtual&&r.params.virtual.enabled?r.virtual.slides.length:e.length;a=Math.floor(o/n),t=Math.floor(o/n)===o/n?o:Math.ceil(o/n)*n,"auto"!==i&&"row"===l&&(t=Math.max(t,i*n)),s=t/n},unsetSlides:()=>{r.slides&&r.slides.forEach((e=>{e.swiperSlideGridSet&&(e.style.height="",e.style[r.getDirectionLabel("margin-top")]="")}))},updateSlide:(e,i,n)=>{const{slidesPerGroup:l}=r.params,d=o(),{rows:c,fill:p}=r.params.grid,u=r.virtual&&r.params.virtual.enabled?r.virtual.slides.length:n.length;let m,h,f;if("row"===p&&l>1){const s=Math.floor(e/(l*c)),a=e-c*l*s,r=0===s?l:Math.min(Math.ceil((u-s*c*l)/c),l);f=Math.floor(a/r),h=a-f*r+s*l,m=h+f*t/c,i.style.order=m}else"column"===p?(h=Math.floor(e/c),f=e-h*c,(h>a||h===a&&f===c-1)&&(f+=1,f>=c&&(f=0,h+=1))):(f=Math.floor(e/s),h=e-f*s);i.row=f,i.column=h,i.style.height=`calc((100% - ${(c-1)*d}px) / ${c})`,i.style[r.getDirectionLabel("margin-top")]=0!==f?d&&`${d}px`:"",i.swiperSlideGridSet=!0},updateWrapperSize:(e,s)=>{const{centeredSlides:a,roundLengths:i}=r.params,n=o(),{rows:l}=r.params.grid;if(r.virtualSize=(e+n)*t,r.virtualSize=Math.ceil(r.virtualSize/l)-n,r.params.cssMode||(r.wrapperEl.style[r.getDirectionLabel("width")]=`${r.virtualSize+n}px`),a){const e=[];for(let t=0;t{const{slides:e}=t;t.params.fadeEffect;for(let s=0;s{const s=t.slides.map((e=>h(e)));s.forEach((t=>{t.style.transitionDuration=`${e}ms`})),fe({swiper:t,duration:e,transformElements:s,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!t.params.cssMode})})},function(e){let{swiper:t,extendParams:s,on:a}=e;s({cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}});const i=(e,t,s)=>{let a=s?e.querySelector(".swiper-slide-shadow-left"):e.querySelector(".swiper-slide-shadow-top"),i=s?e.querySelector(".swiper-slide-shadow-right"):e.querySelector(".swiper-slide-shadow-bottom");a||(a=v("div",("swiper-slide-shadow-cube swiper-slide-shadow-"+(s?"left":"top")).split(" ")),e.append(a)),i||(i=v("div",("swiper-slide-shadow-cube swiper-slide-shadow-"+(s?"right":"bottom")).split(" ")),e.append(i)),a&&(a.style.opacity=Math.max(-t,0)),i&&(i.style.opacity=Math.max(t,0))};me({effect:"cube",swiper:t,on:a,setTranslate:()=>{const{el:e,wrapperEl:s,slides:a,width:r,height:n,rtlTranslate:l,size:o,browser:d}=t,c=M(t),p=t.params.cubeEffect,u=t.isHorizontal(),m=t.virtual&&t.params.virtual.enabled;let h,f=0;p.shadow&&(u?(h=t.wrapperEl.querySelector(".swiper-cube-shadow"),h||(h=v("div","swiper-cube-shadow"),t.wrapperEl.append(h)),h.style.height=`${r}px`):(h=e.querySelector(".swiper-cube-shadow"),h||(h=v("div","swiper-cube-shadow"),e.append(h))));for(let e=0;e-1&&(f=90*s+90*d,l&&(f=90*-s-90*d)),t.style.transform=w,p.slideShadows&&i(t,d,u)}if(s.style.transformOrigin=`50% 50% -${o/2}px`,s.style["-webkit-transform-origin"]=`50% 50% -${o/2}px`,p.shadow)if(u)h.style.transform=`translate3d(0px, ${r/2+p.shadowOffset}px, ${-r/2}px) rotateX(89.99deg) rotateZ(0deg) scale(${p.shadowScale})`;else{const e=Math.abs(f)-90*Math.floor(Math.abs(f)/90),t=1.5-(Math.sin(2*e*Math.PI/360)/2+Math.cos(2*e*Math.PI/360)/2),s=p.shadowScale,a=p.shadowScale/t,i=p.shadowOffset;h.style.transform=`scale3d(${s}, 1, ${a}) translate3d(0px, ${n/2+i}px, ${-n/2/a}px) rotateX(-89.99deg)`}const g=(d.isSafari||d.isWebView)&&d.needPerspectiveFix?-o/2:0;s.style.transform=`translate3d(0px,0,${g}px) rotateX(${c(t.isHorizontal()?0:f)}deg) rotateY(${c(t.isHorizontal()?-f:0)}deg)`,s.style.setProperty("--swiper-cube-translate-z",`${g}px`)},setTransition:e=>{const{el:s,slides:a}=t;if(a.forEach((t=>{t.style.transitionDuration=`${e}ms`,t.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach((t=>{t.style.transitionDuration=`${e}ms`}))})),t.params.cubeEffect.shadow&&!t.isHorizontal()){const t=s.querySelector(".swiper-cube-shadow");t&&(t.style.transitionDuration=`${e}ms`)}},recreateShadows:()=>{const e=t.isHorizontal();t.slides.forEach((t=>{const s=Math.max(Math.min(t.progress,1),-1);i(t,s,e)}))},getEffectParams:()=>t.params.cubeEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0})})},function(e){let{swiper:t,extendParams:s,on:a}=e;s({flipEffect:{slideShadows:!0,limitRotation:!0}});const i=(e,s)=>{let a=t.isHorizontal()?e.querySelector(".swiper-slide-shadow-left"):e.querySelector(".swiper-slide-shadow-top"),i=t.isHorizontal()?e.querySelector(".swiper-slide-shadow-right"):e.querySelector(".swiper-slide-shadow-bottom");a||(a=ge("flip",e,t.isHorizontal()?"left":"top")),i||(i=ge("flip",e,t.isHorizontal()?"right":"bottom")),a&&(a.style.opacity=Math.max(-s,0)),i&&(i.style.opacity=Math.max(s,0))};me({effect:"flip",swiper:t,on:a,setTranslate:()=>{const{slides:e,rtlTranslate:s}=t,a=t.params.flipEffect,r=M(t);for(let n=0;n{const s=t.slides.map((e=>h(e)));s.forEach((t=>{t.style.transitionDuration=`${e}ms`,t.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach((t=>{t.style.transitionDuration=`${e}ms`}))})),fe({swiper:t,duration:e,transformElements:s})},recreateShadows:()=>{t.params.flipEffect,t.slides.forEach((e=>{let s=e.progress;t.params.flipEffect.limitRotation&&(s=Math.max(Math.min(e.progress,1),-1)),i(e,s)}))},getEffectParams:()=>t.params.flipEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!t.params.cssMode})})},function(e){let{swiper:t,extendParams:s,on:a}=e;s({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}}),me({effect:"coverflow",swiper:t,on:a,setTranslate:()=>{const{width:e,height:s,slides:a,slidesSizesGrid:i}=t,r=t.params.coverflowEffect,n=t.isHorizontal(),l=t.translate,o=n?e/2-l:s/2-l,d=n?r.rotate:-r.rotate,c=r.depth,p=M(t);for(let e=0,t=a.length;e0?u:0),s&&(s.style.opacity=-u>0?-u:0)}}},setTransition:e=>{t.slides.map((e=>h(e))).forEach((t=>{t.style.transitionDuration=`${e}ms`,t.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach((t=>{t.style.transitionDuration=`${e}ms`}))}))},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0})})},function(e){let{swiper:t,extendParams:s,on:a}=e;s({creativeEffect:{limitProgress:1,shadowPerProgress:!1,progressMultiplier:1,perspective:!0,prev:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1},next:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1}}});const i=e=>"string"==typeof e?e:`${e}px`;me({effect:"creative",swiper:t,on:a,setTranslate:()=>{const{slides:e,wrapperEl:s,slidesSizesGrid:a}=t,r=t.params.creativeEffect,{progressMultiplier:n}=r,l=t.params.centeredSlides,o=M(t);if(l){const e=a[0]/2-t.params.slidesOffsetBefore||0;s.style.transform=`translateX(calc(50% - ${e}px))`}for(let s=0;s0&&(g=r.prev,f=!0),m.forEach(((e,t)=>{m[t]=`calc(${e}px + (${i(g.translate[t])} * ${Math.abs(c*n)}))`})),h.forEach(((e,t)=>{let s=g.rotate[t]*Math.abs(c*n);h[t]=s})),a.style.zIndex=-Math.abs(Math.round(d))+e.length;const v=m.join(", "),w=`rotateX(${o(h[0])}deg) rotateY(${o(h[1])}deg) rotateZ(${o(h[2])}deg)`,b=p<0?`scale(${1+(1-g.scale)*p*n})`:`scale(${1-(1-g.scale)*p*n})`,y=p<0?1+(1-g.opacity)*p*n:1-(1-g.opacity)*p*n,E=`translate3d(${v}) ${w} ${b}`;if(f&&g.shadow||!f){let e=a.querySelector(".swiper-slide-shadow");if(!e&&g.shadow&&(e=ge("creative",a)),e){const t=r.shadowPerProgress?c*(1/r.limitProgress):c;e.style.opacity=Math.min(Math.max(Math.abs(t),0),1)}}const x=he(0,a);x.style.transform=E,x.style.opacity=y,g.origin&&(x.style.transformOrigin=g.origin)}},setTransition:e=>{const s=t.slides.map((e=>h(e)));s.forEach((t=>{t.style.transitionDuration=`${e}ms`,t.querySelectorAll(".swiper-slide-shadow").forEach((t=>{t.style.transitionDuration=`${e}ms`}))})),fe({swiper:t,duration:e,transformElements:s,allSlides:!0})},perspective:()=>t.params.creativeEffect.perspective,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!t.params.cssMode})})},function(e){let{swiper:t,extendParams:s,on:a}=e;s({cardsEffect:{slideShadows:!0,rotate:!0,perSlideRotate:2,perSlideOffset:8}}),me({effect:"cards",swiper:t,on:a,setTranslate:()=>{const{slides:e,activeIndex:s,rtlTranslate:a}=t,i=t.params.cardsEffect,{startTranslate:r,isTouched:n}=t.touchEventsData,l=a?-t.translate:t.translate;for(let o=0;o0&&p<1&&(n||t.params.cssMode)&&l-1&&(n||t.params.cssMode)&&l>r;if(y||E){const e=(1-Math.abs((Math.abs(p)-.5)/.5))**.5;v+=-28*p*e,g+=-.5*e,w+=96*e,h=-25*e*Math.abs(p)+"%"}if(m=p<0?`calc(${m}px ${a?"-":"+"} (${w*Math.abs(p)}%))`:p>0?`calc(${m}px ${a?"-":"+"} (-${w*Math.abs(p)}%))`:`${m}px`,!t.isHorizontal()){const e=h;h=m,m=e}const x=p<0?""+(1+(1-g)*p):""+(1-(1-g)*p),S=`\n translate3d(${m}, ${h}, ${f}px)\n rotateZ(${i.rotate?a?-v:v:0}deg)\n scale(${x})\n `;if(i.slideShadows){let e=d.querySelector(".swiper-slide-shadow");e||(e=ge("cards",d)),e&&(e.style.opacity=Math.min(Math.max((Math.abs(p)-.5)/.5,0),1))}d.style.zIndex=-Math.abs(Math.round(c))+e.length;he(0,d).style.transform=S}},setTransition:e=>{const s=t.slides.map((e=>h(e)));s.forEach((t=>{t.style.transitionDuration=`${e}ms`,t.querySelectorAll(".swiper-slide-shadow").forEach((t=>{t.style.transitionDuration=`${e}ms`}))})),fe({swiper:t,duration:e,transformElements:s})},perspective:()=>!0,overwriteParams:()=>({_loopSwapReset:!1,watchSlidesProgress:!0,loopAdditionalSlides:t.params.cardsEffect.rotate?3:2,centeredSlides:!0,virtualTranslate:!t.params.cssMode})})}];return re.use(ve),re}(); +//# sourceMappingURL=swiper-bundle.min.js.map \ No newline at end of file diff --git a/www/static/lib/tailwindcss/browser.js b/www/static/lib/tailwindcss/browser.js new file mode 100644 index 0000000..7b24d92 --- /dev/null +++ b/www/static/lib/tailwindcss/browser.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v5.39.0. + * Original file: /npm/@tailwindcss/browser@4.2.1/dist/index.global.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +"use strict";(()=>{function e(e){let t=[0];for(let r=0;r0;){let o=n>>1,i=r+o;t[i]<=e?(r=i+1,n=n-o-1):n=o}return r-=1,{line:r+1,column:e-t[r]}},findOffset:function({line:e,column:r}){e-=1,e=Math.min(Math.max(e,0),t.length-1);let n=t[e],o=t[e+1]??n;return Math.min(Math.max(n+r,0),o)}}}var t=10,r=class t extends Error{loc;constructor(r,n){if(n){let t=n[0],o=e(t.code).find(n[1]);r=`${t.file}:${o.line}:${o.column+1}: ${r}`}super(r),this.name="CssSyntaxError",this.loc=n,Error.captureStackTrace&&Error.captureStackTrace(this,t)}};function n(e,n){let l=n?.from?{file:n.from,code:e}:null;"\ufeff"===e[0]&&(e=" "+e.slice(1));let s,c=[],u=[],d=[],f=null,p=null,h="",m="",g=0;for(let n=0;n0&&e[r]===t[t.length-1]&&(t=t.slice(0,-1))}}let d=i(h,u);if(!d)throw new r("Invalid custom property, expected a value",l?[l,o,n]:null);l&&(d.src=[l,o,n],d.dst=[l,o,n]),f?f.nodes.push(d):c.push(d),h=""}else if(59===v&&64===h.charCodeAt(0))p=o(h),l&&(p.src=[l,g,n],p.dst=[l,g,n]),f?f.nodes.push(p):c.push(p),h="",p=null;else if(59===v&&")"!==m[m.length-1]){let e=i(h);if(!e){if(0===h.length)continue;throw new r(`Invalid declaration: \`${h.trim()}\``,l?[l,g,n]:null)}l&&(e.src=[l,g,n],e.dst=[l,g,n]),f?f.nodes.push(e):c.push(e),h=""}else if(123===v&&")"!==m[m.length-1])m+="}",p=C(h.trim()),l&&(p.src=[l,g,n],p.dst=[l,g,n]),f&&f.nodes.push(p),d.push(f),f=p,h="",p=null;else if(125===v&&")"!==m[m.length-1]){if(""===m)throw new r("Missing opening {",l?[l,n,n]:null);if(m=m.slice(0,-1),h.length>0)if(64===h.charCodeAt(0))p=o(h),l&&(p.src=[l,g,n],p.dst=[l,g,n]),f?f.nodes.push(p):c.push(p),h="",p=null;else{let e=h.indexOf(":");if(f){let t=i(h,e);if(!t)throw new r(`Invalid declaration: \`${h.trim()}\``,l?[l,g,n]:null);l&&(t.src=[l,g,n],t.dst=[l,g,n]),f.nodes.push(t)}}let e=d.pop()??null;null===e&&f&&c.push(f),f=e,h="",p=null}else if(40===v)m+=")",h+="(";else if(41===v){if(")"!==m[m.length-1])throw new r("Missing opening (",l?[l,n,n]:null);m=m.slice(0,-1),h+=")"}else{if(0===h.length&&(32===v||v===t||9===v))continue;""===h&&(g=n),h+=String.fromCharCode(v)}}}if(64===h.charCodeAt(0)){let t=o(h);l&&(t.src=[l,g,e.length],t.dst=[l,g,e.length]),c.push(t)}if(m.length>0&&f){if("rule"===f.kind)throw new r(`Missing closing } at ${f.selector}`,f.src?[f.src[0],f.src[1],f.src[1]]:null);if("at-rule"===f.kind)throw new r(`Missing closing } at ${f.name} ${f.params}`,f.src?[f.src[0],f.src[1],f.src[1]]:null)}return u.length>0?u.concat(c):c}function o(e,t=[]){let r=e,n="";for(let t=5;t=1&&t<=31||127===t||0===o&&t>=48&&t<=57||1===o&&t>=48&&t<=57&&45===a?"\\"+t.toString(16)+" ":t>=128||45===t||95===t||t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122?r.charAt(o):"\\"+r.charAt(o):"�";return i}function s(e){return e.replace(/\\([\dA-Fa-f]{1,6}[\t\n\f\r ]?|[\S\s])/g,(e=>e.length>2?String.fromCodePoint(Number.parseInt(e.slice(1).trim(),16)):e[1]))}var c=new Map([["--font",["--font-weight","--font-size"]],["--inset",["--inset-shadow","--inset-ring"]],["--text",["--text-color","--text-decoration-color","--text-decoration-thickness","--text-indent","--text-shadow","--text-underline-offset"]],["--grid-column",["--grid-column-start","--grid-column-end"]],["--grid-row",["--grid-row-start","--grid-row-end"]]]);function u(e,t){return(c.get(t)??[]).some((t=>e===t||e.startsWith(`${t}-`)))}var d=class{constructor(e=new Map,t=new Set([])){this.values=e,this.keyframes=t}prefix=null;get size(){return this.values.size}add(e,t,r=0,n){if(e.endsWith("-*")){if("initial"!==t)throw new Error(`Invalid theme value \`${t}\` for namespace \`${e}\``);"--*"===e?this.values.clear():this.clearNamespace(e.slice(0,-2),0)}if(4&r){let t=this.values.get(e);if(t&&!(4&t.options))return}"initial"===t?this.values.delete(e):this.values.set(e,{value:t,options:r,src:n})}keysInNamespaces(e){let t=[];for(let r of e){let e=`${r}-`;for(let n of this.values.keys())n.startsWith(e)&&-1===n.indexOf("--",2)&&(u(n,r)||t.push(n.slice(e.length)))}return t}get(e){for(let t of e){let e=this.values.get(t);if(e)return e.value}return null}hasDefault(e){return!(4&~this.getOptions(e))}getOptions(e){return e=s(this.#e(e)),this.values.get(e)?.options??0}entries(){return this.prefix?Array.from(this.values,(e=>(e[0]=this.prefixKey(e[0]),e))):this.values.entries()}prefixKey(e){return this.prefix?`--${this.prefix}-${e.slice(2)}`:e}#e(e){return this.prefix?`--${e.slice(3+this.prefix.length)}`:e}clearNamespace(e,t){let r=c.get(e)??[];e:for(let n of this.values.keys())if(n.startsWith(e)){if(0!==t&&(this.getOptions(n)&t)!==t)continue;for(let e of r)if(n.startsWith(e))continue e;this.values.delete(n)}}#t(e,t){for(let r of t){let t=null!==e?`${r}-${e}`:r;if(!this.values.has(t)){if(null===e||!e.includes("."))continue;if(t=`${r}-${e.replaceAll(".","_")}`,!this.values.has(t))continue}if(!u(t,r))return t}return null}#r(e){let t=this.values.get(e);if(!t)return null;let r=null;return 2&t.options&&(r=t.value),`var(${l(this.prefixKey(e))}${r?`, ${r}`:""})`}markUsedVariable(e){let t=s(this.#e(e)),r=this.values.get(t);if(!r)return!1;let n=16&r.options;return r.options|=16,!n}resolve(e,t,r=0){let n=this.#t(e,t);if(!n)return null;let o=this.values.get(n);return 1&(r|o.options)?o.value:this.#r(n)}resolveValue(e,t){let r=this.#t(e,t);return r?this.values.get(r).value:null}resolveWith(e,t,r=[]){let n=this.#t(e,t);if(!n)return null;let o={};for(let e of r){let t=`${n}${e}`,r=this.values.get(t);r&&(1&r.options?o[e]=r.value:o[e]=this.#r(t))}let i=this.values.get(n);return 1&i.options?[i.value,o]:[this.#r(n),o]}namespace(e){let t=new Map,r=`${e}-`;for(let[n,o]of this.values)n===e?t.set(null,o.value):n.startsWith(`${r}-`)?t.set(n.slice(e.length),o.value):n.startsWith(r)&&t.set(n.slice(r.length),o.value);return t}addKeyframes(e){this.keyframes.add(e)}getKeyframes(){return Array.from(this.keyframes)}},f=class extends Map{constructor(e){super(),this.factory=e}get(e){let t=super.get(e);return void 0===t&&(t=this.factory(e,this),this.set(e,t)),t}};function p(e){return{kind:"word",value:e}}function h(e,t){return{kind:"function",value:e,nodes:t}}function m(e){return{kind:"separator",value:e}}function g(e){let t="";for(let r of e)switch(r.kind){case"word":case"separator":t+=r.value;break;case"function":t+=r.value+"("+g(r.nodes)+")"}return t}function v(e){e=e.replaceAll("\r\n","\n");let t,r=[],n=[],o=null,i="";for(let a=0;a0){let e=p(i);o?o.nodes.push(e):r.push(e),i=""}let t=p(e[a]);o?o.nodes.push(t):r.push(t);break}case 58:case 44:case 61:case 62:case 60:case 10:case 32:case 9:{if(i.length>0){let e=p(i);o?o.nodes.push(e):r.push(e),i=""}let n=a,l=a+1;for(;l0){let t=p(i);e?.nodes.push(t),i=""}o=n.length>0?n[n.length-1]:null;break}default:i+=String.fromCharCode(l)}}return i.length>0&&r.push(p(i)),r}var k,w=((k=w||{})[k.Continue=0]="Continue",k[k.Skip=1]="Skip",k[k.Stop=2]="Stop",k[k.Replace=3]="Replace",k[k.ReplaceSkip=4]="ReplaceSkip",k[k.ReplaceStop=5]="ReplaceStop",k),b={Continue:{kind:0},Skip:{kind:1},Stop:{kind:2},Replace:e=>({kind:3,nodes:Array.isArray(e)?e:[e]}),ReplaceSkip:e=>({kind:4,nodes:Array.isArray(e)?e:[e]}),ReplaceStop:e=>({kind:5,nodes:Array.isArray(e)?e:[e]})};function y(e,t){"function"==typeof t?x(e,t):x(e,t.enter,t.exit)}function x(e,t=()=>b.Continue,r=()=>b.Continue){let n={value:[e,0,null],prev:null},o={parent:null,depth:0,path(){let e=[],t=n;for(;t;){let r=t.value[2];r&&e.push(r),t=t.prev}return e.reverse(),e}};for(;null!==n;){let e=n.value,i=e[0],a=e[1],l=e[2];if(a>=i.length){n=n.prev,o.depth-=1;continue}if(o.parent=l,a>=0){let r=i[a],l=t(r,o)??b.Continue;switch(l.kind){case 0:r.nodes&&r.nodes.length>0&&(o.depth+=1,n={value:[r.nodes,0,r],prev:n}),e[1]=~a;continue;case 2:return;case 1:e[1]=~a;continue;case 3:i.splice(a,1,...l.nodes);continue;case 5:return void i.splice(a,1,...l.nodes);case 4:i.splice(a,1,...l.nodes),e[1]+=l.nodes.length;continue;default:throw new Error(`Invalid \`WalkAction.${w[l.kind]??`Unknown(${l.kind})`}\` in enter.`)}}let s=~a,c=r(i[s],o)??b.Continue;switch(c.kind){case 0:e[1]=s+1;continue;case 2:return;case 3:case 4:i.splice(s,1,...c.nodes),e[1]=s+c.nodes.length;continue;case 5:return void i.splice(s,1,...c.nodes);default:throw new Error(`Invalid \`WalkAction.${w[c.kind]??`Unknown(${c.kind})`}\` in exit.`)}}}function $(e){let t=[];return y(v(e),(e=>{if("function"===e.kind&&"var"===e.value)return y(e.nodes,(e=>{"word"!==e.kind||"-"!==e.value[0]||"-"!==e.value[1]||t.push(e.value)})),b.Skip})),t}var z=64;function A(e,t=[]){return{kind:"rule",selector:e,nodes:t}}function S(e,t="",r=[]){return{kind:"at-rule",name:e,params:t,nodes:r}}function C(e,t=[]){return e.charCodeAt(0)===z?o(e,t):A(e,t)}function T(e,t,r=!1){return{kind:"declaration",property:e,value:t,important:r}}function j(e){return{kind:"comment",value:e}}function V(e,t){return{kind:"context",context:e,nodes:t}}function K(e){return{kind:"at-root",nodes:e}}function E(e){switch(e.kind){case"rule":return{kind:e.kind,selector:e.selector,nodes:e.nodes.map(E),src:e.src,dst:e.dst};case"at-rule":return{kind:e.kind,name:e.name,params:e.params,nodes:e.nodes.map(E),src:e.src,dst:e.dst};case"at-root":return{kind:e.kind,nodes:e.nodes.map(E),src:e.src,dst:e.dst};case"context":return{kind:e.kind,context:{...e.context},nodes:e.nodes.map(E),src:e.src,dst:e.dst};case"declaration":return{kind:e.kind,property:e.property,value:e.value,important:e.important,src:e.src,dst:e.dst};case"comment":return{kind:e.kind,value:e.value,src:e.src,dst:e.dst};default:throw new Error(`Unknown node kind: ${e.kind}`)}}function N(e){return{depth:e.depth,get context(){let t={};for(let r of e.path())"context"===r.kind&&Object.assign(t,r.context);return Object.defineProperty(this,"context",{value:t}),t},get parent(){let e=this.path().pop()??null;return Object.defineProperty(this,"parent",{value:e}),e},path:()=>e.path().filter((e=>"context"!==e.kind))}}function O(e,t,r=3){let n=[],o=new Set,i=new f((()=>new Set)),a=new f((()=>new Set)),l=new Set,s=new Set,c=[],u=[],d=new f((()=>new Set));function p(e,f,h={},m=0){if("declaration"===e.kind){if("--tw-sort"===e.property||void 0===e.value||null===e.value)return;if(h.theme&&"-"===e.property[0]&&"-"===e.property[1]){if("initial"===e.value)return void(e.value=void 0);h.keyframes||i.get(f).add(e)}if(e.value.includes("var("))if(h.theme&&"-"===e.property[0]&&"-"===e.property[1])for(let t of $(e.value))d.get(t).add(e.property);else t.trackUsedVariables(e.value);if("animation"===e.property)for(let t of R(e.value))s.add(t);2&r&&e.value.includes("color-mix(")&&!h.supportsColorMix&&!h.keyframes&&a.get(f).add(e),f.push(e)}else if("rule"===e.kind){let t=[];for(let r of e.nodes)p(r,t,h,m+1);let r={},n=new Set;for(let e of t){if("declaration"!==e.kind)continue;let t=`${e.property}:${e.value}:${e.important}`;r[t]??=[],r[t].push(e)}for(let e in r)for(let t=0;t0&&(t=t.filter((e=>!n.has(e)))),0===t.length)return;"&"===e.selector?f.push(...t):f.push({...e,nodes:t})}else if("at-rule"===e.kind&&"@property"===e.name&&0===m){if(o.has(e.params))return;if(1&r){let t=e.params,r=null,n=!1;for(let t of e.nodes)"declaration"===t.kind&&("initial-value"===t.property?r=t.value:"inherits"===t.property&&(n="true"===t.value));let o=T(t,r??"initial");o.src=e.src,n?c.push(o):u.push(o)}o.add(e.params);let t={...e,nodes:[]};for(let r of e.nodes)p(r,t.nodes,h,m+1);f.push(t)}else if("at-rule"===e.kind){"@keyframes"===e.name?h={...h,keyframes:!0}:"@supports"===e.name&&e.params.includes("color-mix(")&&(h={...h,supportsColorMix:!0});let t={...e,nodes:[]};for(let r of e.nodes)p(r,t.nodes,h,m+1);"@keyframes"===e.name&&h.theme&&l.add(t),(t.nodes.length>0||"@layer"===t.name||"@charset"===t.name||"@custom-media"===t.name||"@namespace"===t.name||"@import"===t.name)&&f.push(t)}else if("at-root"===e.kind)for(let t of e.nodes){let e=[];p(t,e,h,0);for(let t of e)n.push(t)}else if("context"===e.kind){if(e.context.reference)return;for(let t of e.nodes)p(t,f,{...h,...e.context},m)}else"comment"===e.kind&&f.push(e)}let h=[];for(let t of e)p(t,h,{},0);e:for(let[e,r]of i)for(let n of r){if(W(n.property,t.theme,d)){if(n.property.startsWith(t.theme.prefixKey("--animate-")))for(let e of R(n.value))s.add(e);continue}let r=e.indexOf(n);if(e.splice(r,1),0===e.length){let t=U(h,(t=>"rule"===t.kind&&t.nodes===e));if(!t||0===t.length)continue e;for(t.unshift({kind:"at-root",nodes:h});;){let e=t.pop();if(!e)break;let r=t[t.length-1];if(!r||"at-root"!==r.kind&&"at-rule"!==r.kind)break;let n=r.nodes.indexOf(e);if(-1===n)break;r.nodes.splice(n,1)}continue e}}for(let e of l)if(!s.has(e.params)){let t=n.indexOf(e);n.splice(t,1)}if(h=h.concat(n),2&r)for(let[e,r]of a)for(let n of r){let r=e.indexOf(n);if(-1===r||null==n.value)continue;let o=v(n.value),i=!1;if(y(o,(e=>{if("function"!==e.kind||"color-mix"!==e.value)return;let r=!1,n=!1;if(y(e.nodes,(e=>{if("word"==e.kind&&"currentcolor"===e.value.toLowerCase())return n=!0,void(i=!0);let o=e,a=null,l=new Set;do{if("function"!==o.kind||"var"!==o.value)return;let e=o.nodes[0];if(!e||"word"!==e.kind)return;let s=e.value;if(l.has(s))return void(r=!0);if(l.add(s),i=!0,a=t.theme.resolveValue(null,[e.value]),!a)return void(r=!0);if("currentcolor"===a.toLowerCase())return void(n=!0);o=a.startsWith("var(")?v(a)[0]:null}while(o);return b.Replace({kind:"word",value:a})})),r||n){let t=e.nodes.findIndex((e=>"separator"===e.kind&&e.value.trim().includes(",")));if(-1===t)return;let r=e.nodes.length>t?e.nodes[t+1]:null;return r?b.Replace(r):void 0}if(i){let t=e.nodes[2];"word"===t.kind&&("oklab"===t.value||"oklch"===t.value||"lab"===t.value||"lch"===t.value)&&(t.value="srgb")}})),!i)continue;let a={...n,value:g(o)},l=C("@supports (color: color-mix(in lab, red, red))",[n]);l.src=n.src,e.splice(r,1,a,l)}if(1&r){let e=[];if(c.length>0){let t=C(":root, :host",c);t.src=c[0].src,e.push(t)}if(u.length>0){let t=C("*, ::before, ::after, ::backdrop",u);t.src=u[0].src,e.push(t)}if(e.length>0){let t=h.findIndex((e=>!("comment"===e.kind||"at-rule"===e.kind&&("@charset"===e.name||"@import"===e.name)))),r=S("@layer","properties",[]);r.src=e[0].src,h.splice(t<0?h.length:t,0,r);let n=C("@layer properties",[S("@supports","((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b))))",e)]);n.src=e[0].src,n.nodes[0].src=e[0].src,h.push(n)}}return h}function F(e,t){let r=0,n={file:null,code:""};function o(e,i=0){let a="",l=" ".repeat(i);if("declaration"===e.kind){if(a+=`${l}${e.property}: ${e.value}${e.important?" !important":""};\n`,t){r+=l.length;let t=r;r+=e.property.length,r+=2,r+=e.value?.length??0,e.important&&(r+=11);let o=r;r+=2,e.dst=[n,t,o]}}else if("rule"===e.kind){if(a+=`${l}${e.selector} {\n`,t){r+=l.length;let t=r;r+=e.selector.length,r+=1;let o=r;e.dst=[n,t,o],r+=2}for(let t of e.nodes)a+=o(t,i+1);a+=`${l}}\n`,t&&(r+=l.length,r+=2)}else if("at-rule"===e.kind){if(0===e.nodes.length){let o=`${l}${e.name} ${e.params};\n`;if(t){r+=l.length;let t=r;r+=e.name.length,r+=1,r+=e.params.length;let o=r;r+=2,e.dst=[n,t,o]}return o}if(a+=`${l}${e.name}${e.params?` ${e.params} `:" "}{\n`,t){r+=l.length;let t=r;r+=e.name.length,e.params&&(r+=1,r+=e.params.length),r+=1;let o=r;e.dst=[n,t,o],r+=2}for(let t of e.nodes)a+=o(t,i+1);a+=`${l}}\n`,t&&(r+=l.length,r+=2)}else if("comment"===e.kind){if(a+=`${l}/*${e.value}*/\n`,t){r+=l.length;let t=r;r+=2+e.value.length+2;let o=r;e.dst=[n,t,o],r+=1}}else if("context"===e.kind||"at-root"===e.kind)return"";return a}let i="";for(let t of e)i+=o(t,0);return n.code=i,i}function U(e,t){let r=[];return y(e,((e,n)=>{if(t(e))return r=n.path(),r.push(e),b.Stop})),r}function W(e,t,r,n=new Set){if(n.has(e)||(n.add(e),24&t.getOptions(e)))return!0;{let o=r.get(e)??[];for(let e of o)if(W(e,t,r,n))return!0}return!1}function R(e){return e.split(/[\s,]+/)}var D=["calc","min","max","clamp","mod","rem","sin","cos","tan","asin","acos","atan","atan2","pow","sqrt","hypot","log","exp","round"];function _(e){return-1!==e.indexOf("(")&&D.some((t=>e.includes(`${t}(`)))}function M(e){if(-1===e.indexOf("("))return L(e);let t=v(e);return B(t),e=function(e){if(!D.some((t=>e.includes(t))))return e;let t="",r=[],n=null,o=null;for(let i=0;i=48&&a<=57||null!==n&&(37===a||a>=97&&a<=122||a>=65&&a<=90)?n=i:(o=n,n=null),40!==a)if(41===a)t+=e[i],r.shift();else{if(44===a&&r[0]){t+=", ";continue}if(32===a&&r[0]&&32===t.charCodeAt(t.length-1))continue;if(43!==a&&42!==a&&47!==a&&45!==a||!r[0])t+=e[i];else{let r=t.trimEnd(),n=r.charCodeAt(r.length-1),a=r.charCodeAt(r.length-2),l=e.charCodeAt(i+1);if((101===n||69===n)&&a>=48&&a<=57){t+=e[i];continue}if(43===n||42===n||47===n||45===n){t+=e[i];continue}if(40===n||44===n){t+=e[i];continue}32===e.charCodeAt(i-1)?t+=`${e[i]} `:t+=n>=48&&n<=57||l>=48&&l<=57||41===n||40===l||43===l||42===l||47===l||45===l||null!==o&&o===i-1?` ${e[i]} `:e[i]}}else{t+=e[i];let n=i;for(let t=i-1;t>=0;t--){let r=e.charCodeAt(t);if(r>=48&&r<=57)n=t;else{if(!(r>=97&&r<=122))break;n=t}}let o=e.slice(n,i);if(D.includes(o)){r.unshift(!0);continue}if(r[0]&&""===o){r.unshift(!0);continue}r.unshift(!1)}}return t}(e=g(t)),e}function L(e,t=!1){let r="";for(let n=0;n0&&o===P[t-1]&&t--;break;case 59:if(0===t)return!1}}return!0}var H=new Uint8Array(256);function Z(e,t){let r=0,n=[],o=0,i=e.length,a=t.charCodeAt(0);for(let t=0;t0&&l===H[r-1]&&r--}else n.push(e.slice(o,t)),o=t+1}return n.push(e.slice(o)),n}var Y=/^[a-zA-Z0-9_.%-]+$/;function G(e){if("["===e[0]&&"]"===e[e.length-1]){let t=M(e.slice(1,-1));return q(t)&&0!==t.length&&0!==t.trim().length?{kind:"arbitrary",value:t}:null}return"("===e[0]&&")"===e[e.length-1]?"-"===(e=e.slice(1,-1))[0]&&"-"===e[1]&&q(e)?{kind:"arbitrary",value:M(e=`var(${e})`)}:null:Y.test(e)?{kind:"named",value:e}:null}function*J(e,t){t(e)&&(yield[e,null]);let r=e.lastIndexOf("-");for(;r>0;){let n=e.slice(0,r);if(t(n)){let o=[n,e.slice(r+1)];if(""===o[1]||"@"===o[0]&&t("@")&&"-"===e[r])break;yield o}r=e.lastIndexOf("-",r-1)}"@"===e[0]&&t("@")&&(yield["@",e.slice(1)])}function X(e){if(null===e)return"";let t=ie(e.value),r=t?e.value.slice(4,-1):e.value,[n,o]=t?["(",")"]:["[","]"];return"arbitrary"===e.kind?`/${n}${te(r)}${o}`:"named"===e.kind?`/${e.value}`:""}function Q(e){if("static"===e.kind)return e.root;if("arbitrary"===e.kind)return`[${te(function(e){return re.get(e)}(e.selector))}]`;let t="";if("functional"===e.kind){t+=e.root;let r="@"!==e.root;if(e.value)if("arbitrary"===e.value.kind){let n=ie(e.value.value),o=n?e.value.value.slice(4,-1):e.value.value,[i,a]=n?["(",")"]:["[","]"];t+=`${r?"-":""}${i}${te(o)}${a}`}else"named"===e.value.kind&&(t+=`${r?"-":""}${e.value.value}`)}return"compound"===e.kind&&(t+=e.root,t+="-",t+=Q(e.variant)),("functional"===e.kind||"compound"===e.kind)&&(t+=X(e.modifier)),t}var ee=new f((e=>{let t=v(e),r=new Set;return y(t,((e,n)=>{let o=null===n.parent?t:n.parent.nodes??[];if("word"!==e.kind||"+"!==e.value&&"-"!==e.value&&"*"!==e.value&&"/"!==e.value)"separator"===e.kind&&e.value.length>0&&""===e.value.trim()?(o[0]===e||o[o.length-1]===e)&&r.add(e):"separator"===e.kind&&","===e.value.trim()&&(e.value=",");else{let t=o.indexOf(e)??-1;if(-1===t)return;let n=o[t-1];if("separator"!==n?.kind||" "!==n.value)return;let i=o[t+1];if("separator"!==i?.kind||" "!==i.value)return;r.add(n),r.add(i)}})),r.size>0&&y(t,(e=>{if(r.has(e))return r.delete(e),b.ReplaceSkip([])})),ne(t),g(t)}));function te(e){return ee.get(e)}var re=new f((e=>{let t=v(e);return 3===t.length&&"word"===t[0].kind&&"&"===t[0].value&&"separator"===t[1].kind&&":"===t[1].value&&"function"===t[2].kind&&"is"===t[2].value?g(t[2].nodes):e}));function ne(e){for(let t of e)switch(t.kind){case"function":if("url"===t.value||t.value.endsWith("_url")){t.value=le(t.value);break}if("var"===t.value||t.value.endsWith("_var")||"theme"===t.value||t.value.endsWith("_theme")){t.value=le(t.value);for(let e=0;e{let t=v(e);return 1===t.length&&"function"===t[0].kind&&"var"===t[0].value}));function ie(e){return oe.get(e)}function ae(e){throw new Error(`Unexpected value: ${e}`)}function le(e){return e.replaceAll("_",String.raw`\_`).replaceAll(" ","_")}function se(e,t,r){if(e===t)return 0;let n=e.indexOf("("),o=t.indexOf("("),i=-1===n?e.replace(/[\d.]+/g,""):e.slice(0,n),a=-1===o?t.replace(/[\d.]+/g,""):t.slice(0,o),l=(i===a?0:i0},"bg-size":function(e){let t=0;for(let r of Z(e,",")){if("cover"===r||"contain"===r){t+=1;continue}let e=Z(r," ");if(1!==e.length&&2!==e.length)return!1;e.every((e=>"auto"===e||ze(e)||ye(e)))&&(t+=1)}return t>0},"line-width":function(e){return Z(e," ").every((e=>ze(e)||we(e)||"thin"===e||"medium"===e||"thick"===e))},image:function(e){let t=0;for(let r of Z(e,","))if(!r.startsWith("var(")){if(he(r)){t+=1;continue}if(ge.test(r)){t+=1;continue}if(me.test(r)){t+=1;continue}return!1}return t>0},"family-name":function(e){let t=0;for(let r of Z(e,",")){let e=r.charCodeAt(0);if(e>=48&&e<=57)return!1;r.startsWith("var(")||(t+=1)}return t>0},"generic-name":function(e){return"serif"===e||"sans-serif"===e||"monospace"===e||"cursive"===e||"fantasy"===e||"system-ui"===e||"ui-serif"===e||"ui-sans-serif"===e||"ui-monospace"===e||"ui-rounded"===e||"math"===e||"emoji"===e||"fangsong"===e},"absolute-size":function(e){return"xx-small"===e||"x-small"===e||"small"===e||"medium"===e||"large"===e||"x-large"===e||"xx-large"===e||"xxx-large"===e},"relative-size":function(e){return"larger"===e||"smaller"===e},angle:function(e){return Ae.test(e)},vector:function(e){return Se.test(e)}};function fe(e,t){if(e.startsWith("var("))return null;for(let r of t)if(de[r]?.(e))return r;return null}var pe=/^url\(.*\)$/;function he(e){return pe.test(e)}var me=/^(?:element|image|cross-fade|image-set)\(/,ge=/^(repeating-)?(conic|linear|radial)-gradient\(/;var ve=/[+-]?\d*\.?\d+(?:[eE][+-]?\d+)?/,ke=new RegExp(`^${ve.source}$`);function we(e){return ke.test(e)||_(e)}var be=new RegExp(`^${ve.source}%$`);function ye(e){return be.test(e)||_(e)}var xe=new RegExp(`^${ve.source}s*/s*${ve.source}$`);var $e=new RegExp(`^${ve.source}(${["cm","mm","Q","in","pc","pt","px","em","ex","ch","rem","lh","rlh","vw","vh","vmin","vmax","vb","vi","svw","svh","lvw","lvh","dvw","dvh","cqw","cqh","cqi","cqb","cqmin","cqmax"].join("|")})$`);function ze(e){return $e.test(e)||_(e)}var Ae=new RegExp(`^${ve.source}(${["deg","rad","grad","turn"].join("|")})$`);var Se=new RegExp(`^${ve.source} +${ve.source} +${ve.source}$`);function Ce(e){let t=Number(e);return Number.isInteger(t)&&t>=0&&String(t)===String(e)}function Te(e){let t=Number(e);return Number.isInteger(t)&&t>0&&String(t)===String(e)}function je(e){return Ke(e,.25)}function Ve(e){return Ke(e,.25)}function Ke(e,t){let r=Number(e);return r>=0&&r%t==0&&String(r)===String(e)}var Ee=new Set(["inset","inherit","initial","revert","unset"]),Ne=/^-?(\d+|\.\d+)(.*?)$/g;function Oe(e,t){return Z(e,",").map((e=>{let r=Z(e=e.trim()," ").filter((e=>""!==e.trim())),n=null,o=null,i=null;for(let e of r)Ee.has(e)||(Ne.test(e)?(null===o?o=e:null===i&&(i=e),Ne.lastIndex=0):null===n&&(n=e));if(null===o||null===i)return e;let a=t(n??"currentcolor");return null!==n?e.replace(n,a):`${e} ${a}`})).join(", ")}var Fe=["0","0.5","1","1.5","2","2.5","3","3.5","4","5","6","7","8","9","10","11","12","14","16","20","24","28","32","36","40","44","48","52","56","60","64","72","80","96"],Ue=class{utilities=new f((()=>[]));completions=new Map;static(e,t){this.utilities.get(e).push({kind:"static",compileFn:t})}functional(e,t,r){this.utilities.get(e).push({kind:"functional",compileFn:t,options:r})}has(e,t){return this.utilities.has(e)&&this.utilities.get(e).some((e=>e.kind===t))}get(e){return this.utilities.has(e)?this.utilities.get(e):[]}getCompletions(e){return this.has(e,"static")?this.completions.get(e)?.()??[{supportsNegative:!1,values:[],modifiers:[]}]:this.completions.get(e)?.()??[]}suggest(e,t){let r=this.completions.get(e);r?this.completions.set(e,(()=>[...r?.(),...t?.()])):this.completions.set(e,t)}keys(e){let t=[];for(let[r,n]of this.utilities.entries())for(let o of n)if(o.kind===e){t.push(r);break}return t}};function We(e,t,r){return S("@property",e,[T("syntax",r?`"${r}"`:'"*"'),T("inherits","false"),...t?[T("initial-value",t)]:[]])}function Re(e,t){if(null===t)return e;let r=Number(t);return Number.isNaN(r)||(t=100*r+"%"),"100%"===t?e:`color-mix(in oklab, ${e} ${t}, transparent)`}function De(e,t){let r=Number(t);return Number.isNaN(r)||(t=100*r+"%"),`oklab(from ${e} l a b / ${t})`}function _e(e,t,r){if(!t)return e;if("arbitrary"===t.kind)return Re(e,t.value);let n=r.resolve(t.value,["--opacity"]);return n?Re(e,n):Ve(t.value)?Re(e,`${t.value}%`):null}function Me(e,t,r){let n=null;switch(e.value.value){case"inherit":n="inherit";break;case"transparent":n="transparent";break;case"current":n="currentcolor";break;default:n=t.resolve(e.value.value,r)}return n?_e(n,e.modifier,t):null}var Le=/(\d+)_(\d+)/g;var Be=["number","integer","ratio","percentage"];function Ie(e){let t=s(e.params);return function(e){if(!e.endsWith("-*"))return!1;e=e.slice(0,-2);let t=Ze.exec(e);if(null===t)return!1;let r=t[0];return 0===e.slice(r.length).length}(t)?r=>{let n={"--value":{usedSpacingInteger:!1,usedSpacingNumber:!1,themeKeys:new Set,literals:new Set},"--modifier":{usedSpacingInteger:!1,usedSpacingNumber:!1,themeKeys:new Set,literals:new Set}};y(e.nodes,(e=>{if("declaration"!==e.kind||!e.value||!e.value.includes("--value(")&&!e.value.includes("--modifier("))return;let t=v(e.value);y(t,(e=>{if("function"!==e.kind)return;if(!("--spacing"!==e.value||n["--modifier"].usedSpacingNumber&&n["--value"].usedSpacingNumber))return y(e.nodes,(e=>{if("function"!==e.kind||"--value"!==e.value&&"--modifier"!==e.value)return;let t=e.value;for(let r of e.nodes)if("word"===r.kind)if("integer"===r.value)n[t].usedSpacingInteger||=!0;else if("number"===r.value&&(n[t].usedSpacingNumber||=!0,n["--modifier"].usedSpacingNumber&&n["--value"].usedSpacingNumber))return b.Stop})),b.Continue;if("--value"!==e.value&&"--modifier"!==e.value)return;let t=Z(g(e.nodes),",");for(let[e,r]of t.entries())r=r.replace(/\\\*/g,"*"),r=r.replace(/--(.*?)\s--(.*?)/g,"--$1-*--$2"),r=r.replace(/\s+/g,""),r=r.replace(/(-\*){2,}/g,"-*"),"-"===r[0]&&"-"===r[1]&&!r.includes("-*")&&(r+="-*"),t[e]=r;e.nodes=v(t.join(","));for(let t of e.nodes)if("word"!==t.kind||'"'!==t.value[0]&&"'"!==t.value[0]||t.value[0]!==t.value[t.value.length-1]){if("word"===t.kind&&"-"===t.value[0]&&"-"===t.value[1]){let r=t.value.replace(/-\*.*$/g,"");n[e.value].themeKeys.add(r)}else if("word"===t.kind&&("["!==t.value[0]||"]"!==t.value[t.value.length-1])&&!Be.includes(t.value)){console.warn(`Unsupported bare value data type: "${t.value}".\nOnly valid data types are: ${Be.map((e=>`"${e}"`)).join(", ")}.\n`);let r=t.value,n=structuredClone(e),o="¶";y(n.nodes,(e=>{if("word"===e.kind&&e.value===r)return b.ReplaceSkip({kind:"word",value:o})}));let i="^".repeat(g([t]).length),a=g([n]).indexOf(o),l=["```css",g([e])," ".repeat(a)+i,"```"].join("\n");console.warn(l)}}else{let r=t.value.slice(1,-1);n[e.value].literals.add(r)}})),e.value=g(t)})),r.utilities.functional(t.slice(0,-2),(t=>{let n=E(e),o=t.value,i=t.modifier;if(null===o)return;let a=!1,l=!1,s=!1,c=!1,u=new Map,d=!1;if(y([n],((e,t)=>{let n=t.parent;if("rule"!==n?.kind&&"at-rule"!==n?.kind||"declaration"!==e.kind||!e.value)return;let f=!1,p=v(e.value);if(y(p,(t=>{if("function"===t.kind){if("--value"===t.value){a=!0;let i=Pe(o,t,r);return i?(l=!0,i.ratio?d=!0:u.set(e,n),b.ReplaceSkip(i.nodes)):(a||=!1,f=!0,b.Stop)}if("--modifier"===t.value){if(null===i)return f=!0,b.Stop;s=!0;let e=Pe(i,t,r);return e?(c=!0,b.ReplaceSkip(e.nodes)):(s||=!1,f=!0,b.Stop)}}})),f)return b.ReplaceSkip([]);e.value=g(p)})),a&&!l||s&&!c||d&&c||i&&!d&&!c)return null;if(d)for(let[e,t]of u){let r=t.nodes.indexOf(e);-1!==r&&t.nodes.splice(r,1)}return n.nodes})),r.utilities.suggest(t.slice(0,-2),(()=>{let e=[],t=[];for(let[o,{literals:i,usedSpacingNumber:a,usedSpacingInteger:l,themeKeys:s}]of[[e,n["--value"]],[t,n["--modifier"]]]){for(let e of i)o.push(e);if(a)o.push(...Fe);else if(l)for(let e of Fe)Ce(e)&&o.push(e);for(let e of r.theme.keysInNamespaces(s))o.push(e.replace(Le,((e,t,r)=>`${t}.${r}`)))}return[{values:e,modifiers:t}]}))}:function(e){let t=Ze.exec(e);if(null===t)return!1;let r=t[0],n=e.slice(r.length);if(0===n.length&&r.endsWith("-"))return!1;if(0===n.length)return!0;let o=!1;for(let e=0;ent)return!1;break}case Ge:if(e===n.length-1||o)return!1;o=!0;break;case Je:{let t=(n[e-1]||r[r.length-1]||"").charCodeAt(0);if(tnt)return!1;let o=(n[e+1]||"").charCodeAt(0);if(ont)return!1;break}case ot:case it:continue;default:if(t>=Xe&&t<=Qe||t>=et&&t<=tt||t>=rt&&t<=nt)continue;return!1}}return!0}(t)?r=>{r.utilities.static(t,(()=>e.nodes.map(E)))}:null}function Pe(e,t,r){for(let n of t.nodes){if("named"===e.kind&&"word"===n.kind&&("'"===n.value[0]||'"'===n.value[0])&&n.value[n.value.length-1]===n.value[0]&&n.value.slice(1,-1)===e.value)return{nodes:v(e.value)};if("named"===e.kind&&"word"===n.kind&&"-"===n.value[0]&&"-"===n.value[1]){let t=n.value;if(t.endsWith("-*")){t=t.slice(0,-2);let n=r.theme.resolve(e.value,[t]);if(n)return{nodes:v(n)}}else{let n=t.split("-*");if(n.length<=1)continue;let o=[n.shift()],i=r.theme.resolveWith(e.value,o,n);if(i){let[,e={}]=i;{let t=e[n.pop()];if(t)return{nodes:v(t)}}}}}else{if("named"===e.kind&&"word"===n.kind){if(!Be.includes(n.value))continue;let t="ratio"===n.value&&"fraction"in e?e.fraction:e.value;if(!t)continue;let r=fe(t,[n.value]);if(null===r)continue;if("ratio"===r){let[e,r]=Z(t,"/").map(Number);if(!Ce(e)||!Ce(r))continue}else{if("number"===r&&!je(t))continue;if("percentage"===r&&!Ce(t.slice(0,-1)))continue}if("ratio"===r){let[e,r]=Z(t,"/");return{nodes:v(`${e.trim()} / ${r.trim()}`),ratio:!0}}return{nodes:v(t),ratio:!1}}if("arbitrary"===e.kind&&"word"===n.kind&&"["===n.value[0]&&"]"===n.value[n.value.length-1]){let t=n.value.slice(1,-1);if("*"===t)return{nodes:v(e.value)};if("dataType"in e&&e.dataType&&e.dataType!==t)continue;if("dataType"in e&&e.dataType)return{nodes:v(e.value)};if(null!==fe(e.value,[t]))return{nodes:v(e.value)}}}}}function qe(e,t,r,n,o=""){let i=!1,a=Oe(t,(e=>null==r?n(e):e.startsWith("current")?n(Re(e,r)):((e.startsWith("var(")||r.startsWith("var("))&&(i=!0),n(De(e,r)))));function l(e){return o?Z(e,",").map((e=>o.trim()+" "+e.trim())).join(", "):e}return i?[T(e,l(Oe(t,n))),C("@supports (color: lab(from red l a b))",[T(e,l(a))])]:[T(e,l(a))]}function He(e,t,r,n,o=""){let i=!1,a=Z(t,",").map((e=>Oe(e,(e=>null==r?n(e):e.startsWith("current")?n(Re(e,r)):((e.startsWith("var(")||r.startsWith("var("))&&(i=!0),n(De(e,r))))))).map((e=>`drop-shadow(${e})`)).join(" ");return i?[T(e,o+Z(t,",").map((e=>`drop-shadow(${Oe(e,n)})`)).join(" ")),C("@supports (color: lab(from red l a b))",[T(e,o+a)])]:[T(e,o+a)]}var Ze=/^-?[a-z][a-zA-Z0-9_-]*/,Ye=37,Ge=47,Je=46,Xe=97,Qe=122,et=65,tt=90,rt=48,nt=57,ot=95,it=45;var at={"--alpha":function(e,t,r,...n){let[o,i]=Z(r,"/").map((e=>e.trim()));if(!o||!i)throw new Error(`The --alpha(…) function requires a color and an alpha value, e.g.: \`--alpha(${o||"var(--my-color)"} / ${i||"50%"})\``);if(n.length>0)throw new Error(`The --alpha(…) function only accepts one argument, e.g.: \`--alpha(${o||"var(--my-color)"} / ${i||"50%"})\``);return Re(o,i)},"--spacing":function(e,t,r,...n){if(!r)throw new Error("The --spacing(…) function requires an argument, but received none.");if(n.length>0)throw new Error(`The --spacing(…) function only accepts a single argument, but received ${n.length+1}.`);let o=e.theme.resolve(null,["--spacing"]);if(!o)throw new Error("The --spacing(…) function requires that the `--spacing` theme variable exists, but it was not found.");return`calc(${o} * ${r})`},"--theme":function(e,t,r,...n){if(!r.startsWith("--"))throw new Error("The --theme(…) function can only be used with CSS variables from your theme.");let o=!1;r.endsWith(" inline")&&(o=!0,r=r.slice(0,-7)),"at-rule"===t.kind&&(o=!0);let i=e.resolveThemeValue(r,o);if(!i){if(n.length>0)return n.join(", ");throw new Error(`Could not resolve value for theme function: \`theme(${r})\`. Consider checking if the variable name is correct or provide a fallback value to silence this error.`)}if(0===n.length)return i;let a=n.join(", ");if("initial"===a)return i;if("initial"===i)return a;if(i.startsWith("var(")||i.startsWith("theme(")||i.startsWith("--theme(")){let e=v(i);return function(e,t){y(e,(e=>{if("function"===e.kind&&("var"===e.value||"theme"===e.value||"--theme"===e.value))if(1===e.nodes.length)e.nodes.push({kind:"word",value:`, ${t}`});else{let r=e.nodes[e.nodes.length-1];"word"===r.kind&&"initial"===r.value&&(r.value=t)}}))}(e,a),g(e)}return i},theme:function(e,t,r,...n){r=function(e){if("'"!==e[0]&&'"'!==e[0])return e;let t="",r=e[0];for(let n=1;n0)return n.join(", ");if(!o)throw new Error(`Could not resolve value for theme function: \`theme(${r})\`. Consider checking if the path is correct or provide a fallback value to silence this error.`);return o}};var lt=new RegExp(Object.keys(at).map((e=>`${e}\\(`)).join("|"));function st(e,t){let r=0;return y(e,(e=>{if("declaration"===e.kind&&e.value&<.test(e.value))return r|=8,void(e.value=ct(e.value,e,t));"at-rule"===e.kind&&("@media"===e.name||"@custom-media"===e.name||"@container"===e.name||"@supports"===e.name)&<.test(e.params)&&(r|=8,e.params=ct(e.params,e,t))})),r}function ct(e,t,r){let n=v(e);return y(n,(e=>{if("function"===e.kind&&e.value in at){let n=Z(g(e.nodes).trim(),",").map((e=>e.trim())),o=at[e.value](r,t,...n);return b.Replace(v(o))}})),g(n)}var ut=/^@?[a-z0-9][a-zA-Z0-9_-]*(?{"rule"===e.kind?n.push(e.selector):"at-rule"===e.kind&&"@variant"===e.name?o=!0:"at-rule"===e.kind&&"@slot"!==e.name&&n.push(`${e.name} ${e.params}`)})),this.static(e,(e=>{let n=t.map(E);o&&mt(n,r),ht(n,e.nodes),e.nodes=n}),{compounds:ft(n)})}functional(e,t,{compounds:r,order:n}={}){this.set(e,{kind:"functional",applyFn:t,compoundsWith:0,compounds:r??2,order:n})}compound(e,t,r,{compounds:n,order:o}={}){this.set(e,{kind:"compound",applyFn:r,compoundsWith:t,compounds:n??2,order:o})}group(e,t){this.groupOrder=this.nextOrder(),t&&this.compareFns.set(this.groupOrder,t),e(),this.groupOrder=null}has(e){return this.variants.has(e)}get(e){return this.variants.get(e)}kind(e){return this.variants.get(e)?.kind}compoundsWith(e,t){let r=this.variants.get(e),n="string"==typeof t?this.variants.get(t):"arbitrary"===t.kind?{compounds:ft([t.selector])}:this.variants.get(t.root);return!!(r&&n&&"compound"===r.kind&&0!==n.compounds&&0!==r.compoundsWith&&r.compoundsWith&n.compounds)}suggest(e,t){this.completions.set(e,t)}getCompletions(e){return this.completions.get(e)?.()??[]}compare(e,t){if(e===t)return 0;if(null===e)return-1;if(null===t)return 1;if("arbitrary"===e.kind&&"arbitrary"===t.kind)return e.selector1){let e=n[n.length-1];if(" "===n[n.length-2]&&("i"===e||"I"===e||"s"===e||"S"===e))return`${t}="${n.slice(0,-2)}" ${e}`}return`${t}="${n}"`}return e}function ht(e,t){y(e,(e=>"at-rule"===e.kind&&"@slot"===e.name?b.ReplaceSkip(t):"at-rule"!==e.kind||"@keyframes"!==e.name&&"@property"!==e.name?void 0:(Object.assign(e,K([S(e.name,e.params,e.nodes)])),b.Skip)))}function mt(e,t){let r=0;return y(e,(e=>{if("at-rule"!==e.kind||"@variant"!==e.name)return;let n=A("&",e.nodes),o=e.params,i=t.parseVariant(o);if(null===i)throw new Error(`Cannot use \`@variant\` with unknown variant: ${o}`);if(null===wt(n,i,t.variants))throw new Error(`Cannot use \`@variant\` with variant: ${o}`);return r|=32,b.Replace(n)})),r}function gt(e,t){let r=function(e){let t=new Ue;function r(r,n){function*o(t){for(let r of e.keysInNamespaces(t))yield r.replace(Le,((e,t,r)=>`${t}.${r}`))}let i=["1/2","1/3","2/3","1/4","2/4","3/4","1/5","2/5","3/5","4/5","1/6","2/6","3/6","4/6","5/6","1/12","2/12","3/12","4/12","5/12","6/12","7/12","8/12","9/12","10/12","11/12"];t.suggest(r,(()=>{let e=[];for(let t of n()){if("string"==typeof t){e.push({values:[t],modifiers:[]});continue}let r=[...t.values??[],...o(t.valueThemeKeys??[])],n=[...t.modifiers??[],...o(t.modifierThemeKeys??[])];t.supportsFractions&&r.push(...i),t.hasDefaultValue&&r.unshift(null),e.push({supportsNegative:t.supportsNegative,values:r,modifiers:n})}return e}))}function n(e,r){t.static(e,(()=>r.map((e=>"function"==typeof e?e():T(e[0],e[1])))))}function o(n,o){function i({negative:t}){return r=>{let n=null,i=null;if(r.value)if("arbitrary"===r.value.kind){if(r.modifier)return;n=r.value.value,i=r.value.dataType}else{if(n=e.resolve(r.value.fraction??r.value.value,o.themeKeys??[]),null===n&&o.supportsFractions&&r.value.fraction){let[e,t]=Z(r.value.fraction,"/");if(!Ce(e)||!Ce(t))return;n=`calc(${e} / ${t} * 100%)`}if(null===n&&t&&o.handleNegativeBareValue){if(n=o.handleNegativeBareValue(r.value),!n?.includes("/")&&r.modifier)return;if(null!==n)return o.handle(n,null)}if(null===n&&o.handleBareValue&&(n=o.handleBareValue(r.value),!n?.includes("/")&&r.modifier))return;if(null===n&&!t&&o.staticValues&&!r.modifier){let e=o.staticValues[r.value.value];if(e)return e.map(E)}}else{if(r.modifier)return;n=void 0!==o.defaultValue?o.defaultValue:e.resolve(null,o.themeKeys??[])}if(null!==n)return o.handle(t?`calc(${n} * -1)`:n,i)}}if(o.supportsNegative&&t.functional(`-${n}`,i({negative:!0})),t.functional(n,i({negative:!1})),r(n,(()=>[{supportsNegative:o.supportsNegative,valueThemeKeys:o.themeKeys??[],hasDefaultValue:void 0!==o.defaultValue&&null!==o.defaultValue,supportsFractions:o.supportsFractions}])),o.staticValues&&Object.keys(o.staticValues).length>0){let e=Object.keys(o.staticValues);r(n,(()=>[{values:e}]))}}function i(n,o){t.functional(n,(t=>{if(!t.value)return;let r=null;return"arbitrary"===t.value.kind?(r=t.value.value,r=_e(r,t.modifier,e)):r=Me(t,e,o.themeKeys),null!==r?o.handle(r):void 0})),r(n,(()=>[{values:["current","inherit","transparent"],valueThemeKeys:o.themeKeys,modifiers:Array.from({length:21},((e,t)=>""+5*t))}]))}function a(n,i,a,{supportsNegative:l=!1,supportsFractions:s=!1,staticValues:c}={}){l&&t.static(`-${n}-px`,(()=>a("-1px"))),t.static(`${n}-px`,(()=>a("1px"))),o(n,{themeKeys:i,supportsFractions:s,supportsNegative:l,defaultValue:null,handleBareValue:({value:t})=>{let r=e.resolve(null,["--spacing"]);return r&&je(t)?`calc(${r} * ${t})`:null},handleNegativeBareValue:({value:t})=>{let r=e.resolve(null,["--spacing"]);return r&&je(t)?`calc(${r} * -${t})`:null},handle:a,staticValues:c}),r(n,(()=>[{values:e.get(["--spacing"])?Fe:[],supportsNegative:l,supportsFractions:s,valueThemeKeys:i}]))}n("sr-only",[["position","absolute"],["width","1px"],["height","1px"],["padding","0"],["margin","-1px"],["overflow","hidden"],["clip-path","inset(50%)"],["white-space","nowrap"],["border-width","0"]]),n("not-sr-only",[["position","static"],["width","auto"],["height","auto"],["padding","0"],["margin","0"],["overflow","visible"],["clip-path","none"],["white-space","normal"]]),n("pointer-events-none",[["pointer-events","none"]]),n("pointer-events-auto",[["pointer-events","auto"]]),n("visible",[["visibility","visible"]]),n("invisible",[["visibility","hidden"]]),n("collapse",[["visibility","collapse"]]),n("static",[["position","static"]]),n("fixed",[["position","fixed"]]),n("absolute",[["position","absolute"]]),n("relative",[["position","relative"]]),n("sticky",[["position","sticky"]]);for(let[e,t]of[["inset","inset"],["inset-x","inset-inline"],["inset-y","inset-block"],["inset-s","inset-inline-start"],["inset-e","inset-inline-end"],["inset-bs","inset-block-start"],["inset-be","inset-block-end"],["top","top"],["right","right"],["bottom","bottom"],["left","left"]])n(`${e}-auto`,[[t,"auto"]]),n(`${e}-full`,[[t,"100%"]]),n(`-${e}-full`,[[t,"-100%"]]),a(e,["--inset","--spacing"],(e=>[T(t,e)]),{supportsNegative:!0,supportsFractions:!0});n("isolate",[["isolation","isolate"]]),n("isolation-auto",[["isolation","auto"]]),o("z",{supportsNegative:!0,handleBareValue:({value:e})=>Ce(e)?e:null,themeKeys:["--z-index"],handle:e=>[T("z-index",e)],staticValues:{auto:[T("z-index","auto")]}}),r("z",(()=>[{supportsNegative:!0,values:["0","10","20","30","40","50"],valueThemeKeys:["--z-index"]}])),o("order",{supportsNegative:!0,handleBareValue:({value:e})=>Ce(e)?e:null,themeKeys:["--order"],handle:e=>[T("order",e)],staticValues:{first:[T("order","-9999")],last:[T("order","9999")]}}),r("order",(()=>[{supportsNegative:!0,values:Array.from({length:12},((e,t)=>`${t+1}`)),valueThemeKeys:["--order"]}])),o("col",{supportsNegative:!0,handleBareValue:({value:e})=>Ce(e)?e:null,themeKeys:["--grid-column"],handle:e=>[T("grid-column",e)],staticValues:{auto:[T("grid-column","auto")]}}),o("col-span",{handleBareValue:({value:e})=>Ce(e)?e:null,handle:e=>[T("grid-column",`span ${e} / span ${e}`)],staticValues:{full:[T("grid-column","1 / -1")]}}),o("col-start",{supportsNegative:!0,handleBareValue:({value:e})=>Ce(e)?e:null,themeKeys:["--grid-column-start"],handle:e=>[T("grid-column-start",e)],staticValues:{auto:[T("grid-column-start","auto")]}}),o("col-end",{supportsNegative:!0,handleBareValue:({value:e})=>Ce(e)?e:null,themeKeys:["--grid-column-end"],handle:e=>[T("grid-column-end",e)],staticValues:{auto:[T("grid-column-end","auto")]}}),r("col-span",(()=>[{values:Array.from({length:12},((e,t)=>`${t+1}`)),valueThemeKeys:[]}])),r("col-start",(()=>[{supportsNegative:!0,values:Array.from({length:13},((e,t)=>`${t+1}`)),valueThemeKeys:["--grid-column-start"]}])),r("col-end",(()=>[{supportsNegative:!0,values:Array.from({length:13},((e,t)=>`${t+1}`)),valueThemeKeys:["--grid-column-end"]}])),o("row",{supportsNegative:!0,handleBareValue:({value:e})=>Ce(e)?e:null,themeKeys:["--grid-row"],handle:e=>[T("grid-row",e)],staticValues:{auto:[T("grid-row","auto")]}}),o("row-span",{themeKeys:[],handleBareValue:({value:e})=>Ce(e)?e:null,handle:e=>[T("grid-row",`span ${e} / span ${e}`)],staticValues:{full:[T("grid-row","1 / -1")]}}),o("row-start",{supportsNegative:!0,handleBareValue:({value:e})=>Ce(e)?e:null,themeKeys:["--grid-row-start"],handle:e=>[T("grid-row-start",e)],staticValues:{auto:[T("grid-row-start","auto")]}}),o("row-end",{supportsNegative:!0,handleBareValue:({value:e})=>Ce(e)?e:null,themeKeys:["--grid-row-end"],handle:e=>[T("grid-row-end",e)],staticValues:{auto:[T("grid-row-end","auto")]}}),r("row-span",(()=>[{values:Array.from({length:12},((e,t)=>`${t+1}`)),valueThemeKeys:[]}])),r("row-start",(()=>[{supportsNegative:!0,values:Array.from({length:13},((e,t)=>`${t+1}`)),valueThemeKeys:["--grid-row-start"]}])),r("row-end",(()=>[{supportsNegative:!0,values:Array.from({length:13},((e,t)=>`${t+1}`)),valueThemeKeys:["--grid-row-end"]}])),n("float-start",[["float","inline-start"]]),n("float-end",[["float","inline-end"]]),n("float-right",[["float","right"]]),n("float-left",[["float","left"]]),n("float-none",[["float","none"]]),n("clear-start",[["clear","inline-start"]]),n("clear-end",[["clear","inline-end"]]),n("clear-right",[["clear","right"]]),n("clear-left",[["clear","left"]]),n("clear-both",[["clear","both"]]),n("clear-none",[["clear","none"]]);for(let[e,t]of[["m","margin"],["mx","margin-inline"],["my","margin-block"],["ms","margin-inline-start"],["me","margin-inline-end"],["mbs","margin-block-start"],["mbe","margin-block-end"],["mt","margin-top"],["mr","margin-right"],["mb","margin-bottom"],["ml","margin-left"]])n(`${e}-auto`,[[t,"auto"]]),a(e,["--margin","--spacing"],(e=>[T(t,e)]),{supportsNegative:!0});n("box-border",[["box-sizing","border-box"]]),n("box-content",[["box-sizing","content-box"]]),o("line-clamp",{themeKeys:["--line-clamp"],handleBareValue:({value:e})=>Ce(e)?e:null,handle:e=>[T("overflow","hidden"),T("display","-webkit-box"),T("-webkit-box-orient","vertical"),T("-webkit-line-clamp",e)],staticValues:{none:[T("overflow","visible"),T("display","block"),T("-webkit-box-orient","horizontal"),T("-webkit-line-clamp","unset")]}}),r("line-clamp",(()=>[{values:["1","2","3","4","5","6"],valueThemeKeys:["--line-clamp"]}])),n("block",[["display","block"]]),n("inline-block",[["display","inline-block"]]),n("inline",[["display","inline"]]),n("hidden",[["display","none"]]),n("inline-flex",[["display","inline-flex"]]),n("table",[["display","table"]]),n("inline-table",[["display","inline-table"]]),n("table-caption",[["display","table-caption"]]),n("table-cell",[["display","table-cell"]]),n("table-column",[["display","table-column"]]),n("table-column-group",[["display","table-column-group"]]),n("table-footer-group",[["display","table-footer-group"]]),n("table-header-group",[["display","table-header-group"]]),n("table-row-group",[["display","table-row-group"]]),n("table-row",[["display","table-row"]]),n("flow-root",[["display","flow-root"]]),n("flex",[["display","flex"]]),n("grid",[["display","grid"]]),n("inline-grid",[["display","inline-grid"]]),n("contents",[["display","contents"]]),n("list-item",[["display","list-item"]]),n("field-sizing-content",[["field-sizing","content"]]),n("field-sizing-fixed",[["field-sizing","fixed"]]),o("aspect",{themeKeys:["--aspect"],handleBareValue:({fraction:e})=>{if(null===e)return null;let[t,r]=Z(e,"/");return je(t)&&je(r)?e:null},handle:e=>[T("aspect-ratio",e)],staticValues:{auto:[T("aspect-ratio","auto")],square:[T("aspect-ratio","1 / 1")]}});for(let[e,t]of[["full","100%"],["svw","100svw"],["lvw","100lvw"],["dvw","100dvw"],["svh","100svh"],["lvh","100lvh"],["dvh","100dvh"],["min","min-content"],["max","max-content"],["fit","fit-content"]])n(`size-${e}`,[["--tw-sort","size"],["width",t],["height",t]]),n(`w-${e}`,[["width",t]]),n(`h-${e}`,[["height",t]]),n(`min-w-${e}`,[["min-width",t]]),n(`min-h-${e}`,[["min-height",t]]),n(`max-w-${e}`,[["max-width",t]]),n(`max-h-${e}`,[["max-height",t]]);n("size-auto",[["--tw-sort","size"],["width","auto"],["height","auto"]]),n("w-auto",[["width","auto"]]),n("h-auto",[["height","auto"]]),n("min-w-auto",[["min-width","auto"]]),n("min-h-auto",[["min-height","auto"]]),n("h-lh",[["height","1lh"]]),n("min-h-lh",[["min-height","1lh"]]),n("max-h-lh",[["max-height","1lh"]]),n("w-screen",[["width","100vw"]]),n("min-w-screen",[["min-width","100vw"]]),n("max-w-screen",[["max-width","100vw"]]),n("h-screen",[["height","100vh"]]),n("min-h-screen",[["min-height","100vh"]]),n("max-h-screen",[["max-height","100vh"]]),n("max-w-none",[["max-width","none"]]),n("max-h-none",[["max-height","none"]]),a("size",["--size","--spacing"],(e=>[T("--tw-sort","size"),T("width",e),T("height",e)]),{supportsFractions:!0});for(let[e,t,r]of[["w",["--width","--spacing","--container"],"width"],["min-w",["--min-width","--spacing","--container"],"min-width"],["max-w",["--max-width","--spacing","--container"],"max-width"],["h",["--height","--spacing"],"height"],["min-h",["--min-height","--height","--spacing"],"min-height"],["max-h",["--max-height","--height","--spacing"],"max-height"]])a(e,t,(e=>[T(r,e)]),{supportsFractions:!0});for(let[e,t]of[["full","100%"],["min","min-content"],["max","max-content"],["fit","fit-content"]])n(`inline-${e}`,[["inline-size",t]]),n(`block-${e}`,[["block-size",t]]),n(`min-inline-${e}`,[["min-inline-size",t]]),n(`min-block-${e}`,[["min-block-size",t]]),n(`max-inline-${e}`,[["max-inline-size",t]]),n(`max-block-${e}`,[["max-block-size",t]]);for(let[e,t]of[["svw","100svw"],["lvw","100lvw"],["dvw","100dvw"]])n(`inline-${e}`,[["inline-size",t]]),n(`min-inline-${e}`,[["min-inline-size",t]]),n(`max-inline-${e}`,[["max-inline-size",t]]);for(let[e,t]of[["svh","100svh"],["lvh","100lvh"],["dvh","100dvh"]])n(`block-${e}`,[["block-size",t]]),n(`min-block-${e}`,[["min-block-size",t]]),n(`max-block-${e}`,[["max-block-size",t]]);n("inline-auto",[["inline-size","auto"]]),n("block-auto",[["block-size","auto"]]),n("min-inline-auto",[["min-inline-size","auto"]]),n("min-block-auto",[["min-block-size","auto"]]),n("block-lh",[["block-size","1lh"]]),n("min-block-lh",[["min-block-size","1lh"]]),n("max-block-lh",[["max-block-size","1lh"]]),n("inline-screen",[["inline-size","100vw"]]),n("min-inline-screen",[["min-inline-size","100vw"]]),n("max-inline-screen",[["max-inline-size","100vw"]]),n("block-screen",[["block-size","100vh"]]),n("min-block-screen",[["min-block-size","100vh"]]),n("max-block-screen",[["max-block-size","100vh"]]),n("max-inline-none",[["max-inline-size","none"]]),n("max-block-none",[["max-block-size","none"]]);for(let[e,t,r]of[["inline",["--spacing","--container"],"inline-size"],["min-inline",["--spacing","--container"],"min-inline-size"],["max-inline",["--spacing","--container"],"max-inline-size"],["block",["--spacing"],"block-size"],["min-block",["--spacing"],"min-block-size"],["max-block",["--spacing"],"max-block-size"]])a(e,t,(e=>[T(r,e)]),{supportsFractions:!0});t.static("container",(()=>{let t=[...e.namespace("--breakpoint").values()];t.sort(((e,t)=>se(e,t,"asc")));let r=[T("--tw-sort","--tw-container-component"),T("width","100%")];for(let e of t)r.push(S("@media",`(width >= ${e})`,[T("max-width",e)]));return r})),n("flex-auto",[["flex","auto"]]),n("flex-initial",[["flex","0 auto"]]),n("flex-none",[["flex","none"]]),t.functional("flex",(e=>{if(e.value){if("arbitrary"===e.value.kind)return e.modifier?void 0:[T("flex",e.value.value)];if(e.value.fraction){let[t,r]=Z(e.value.fraction,"/");return Ce(t)&&Ce(r)?[T("flex",`calc(${e.value.fraction} * 100%)`)]:void 0}if(Ce(e.value.value))return e.modifier?void 0:[T("flex",e.value.value)]}})),r("flex",(()=>[{supportsFractions:!0},{values:Array.from({length:12},((e,t)=>`${t+1}`))}])),o("shrink",{defaultValue:"1",handleBareValue:({value:e})=>Ce(e)?e:null,handle:e=>[T("flex-shrink",e)]}),o("grow",{defaultValue:"1",handleBareValue:({value:e})=>Ce(e)?e:null,handle:e=>[T("flex-grow",e)]}),r("shrink",(()=>[{values:["0"],valueThemeKeys:[],hasDefaultValue:!0}])),r("grow",(()=>[{values:["0"],valueThemeKeys:[],hasDefaultValue:!0}])),n("basis-auto",[["flex-basis","auto"]]),n("basis-full",[["flex-basis","100%"]]),a("basis",["--flex-basis","--spacing","--container"],(e=>[T("flex-basis",e)]),{supportsFractions:!0}),n("table-auto",[["table-layout","auto"]]),n("table-fixed",[["table-layout","fixed"]]),n("caption-top",[["caption-side","top"]]),n("caption-bottom",[["caption-side","bottom"]]),n("border-collapse",[["border-collapse","collapse"]]),n("border-separate",[["border-collapse","separate"]]);let l=()=>K([We("--tw-border-spacing-x","0",""),We("--tw-border-spacing-y","0","")]);a("border-spacing",["--border-spacing","--spacing"],(e=>[l(),T("--tw-border-spacing-x",e),T("--tw-border-spacing-y",e),T("border-spacing","var(--tw-border-spacing-x) var(--tw-border-spacing-y)")])),a("border-spacing-x",["--border-spacing","--spacing"],(e=>[l(),T("--tw-border-spacing-x",e),T("border-spacing","var(--tw-border-spacing-x) var(--tw-border-spacing-y)")])),a("border-spacing-y",["--border-spacing","--spacing"],(e=>[l(),T("--tw-border-spacing-y",e),T("border-spacing","var(--tw-border-spacing-x) var(--tw-border-spacing-y)")])),o("origin",{themeKeys:["--transform-origin"],handle:e=>[T("transform-origin",e)],staticValues:{center:[T("transform-origin","center")],top:[T("transform-origin","top")],"top-right":[T("transform-origin","100% 0")],right:[T("transform-origin","100%")],"bottom-right":[T("transform-origin","100% 100%")],bottom:[T("transform-origin","bottom")],"bottom-left":[T("transform-origin","0 100%")],left:[T("transform-origin","0")],"top-left":[T("transform-origin","0 0")]}}),o("perspective-origin",{themeKeys:["--perspective-origin"],handle:e=>[T("perspective-origin",e)],staticValues:{center:[T("perspective-origin","center")],top:[T("perspective-origin","top")],"top-right":[T("perspective-origin","100% 0")],right:[T("perspective-origin","100%")],"bottom-right":[T("perspective-origin","100% 100%")],bottom:[T("perspective-origin","bottom")],"bottom-left":[T("perspective-origin","0 100%")],left:[T("perspective-origin","0")],"top-left":[T("perspective-origin","0 0")]}}),o("perspective",{themeKeys:["--perspective"],handle:e=>[T("perspective",e)],staticValues:{none:[T("perspective","none")]}});let s=()=>K([We("--tw-translate-x","0"),We("--tw-translate-y","0"),We("--tw-translate-z","0")]);n("translate-none",[["translate","none"]]),n("-translate-full",[s,["--tw-translate-x","-100%"],["--tw-translate-y","-100%"],["translate","var(--tw-translate-x) var(--tw-translate-y)"]]),n("translate-full",[s,["--tw-translate-x","100%"],["--tw-translate-y","100%"],["translate","var(--tw-translate-x) var(--tw-translate-y)"]]),a("translate",["--translate","--spacing"],(e=>[s(),T("--tw-translate-x",e),T("--tw-translate-y",e),T("translate","var(--tw-translate-x) var(--tw-translate-y)")]),{supportsNegative:!0,supportsFractions:!0});for(let e of["x","y"])n(`-translate-${e}-full`,[s,[`--tw-translate-${e}`,"-100%"],["translate","var(--tw-translate-x) var(--tw-translate-y)"]]),n(`translate-${e}-full`,[s,[`--tw-translate-${e}`,"100%"],["translate","var(--tw-translate-x) var(--tw-translate-y)"]]),a(`translate-${e}`,["--translate","--spacing"],(t=>[s(),T(`--tw-translate-${e}`,t),T("translate","var(--tw-translate-x) var(--tw-translate-y)")]),{supportsNegative:!0,supportsFractions:!0});a("translate-z",["--translate","--spacing"],(e=>[s(),T("--tw-translate-z",e),T("translate","var(--tw-translate-x) var(--tw-translate-y) var(--tw-translate-z)")]),{supportsNegative:!0}),n("translate-3d",[s,["translate","var(--tw-translate-x) var(--tw-translate-y) var(--tw-translate-z)"]]);let c=()=>K([We("--tw-scale-x","1"),We("--tw-scale-y","1"),We("--tw-scale-z","1")]);function u({negative:t}){return r=>{if(!r.value||r.modifier)return;let n;return"arbitrary"===r.value.kind?(n=r.value.value,n=t?`calc(${n} * -1)`:n,[T("scale",n)]):(n=e.resolve(r.value.value,["--scale"]),!n&&Ce(r.value.value)&&(n=`${r.value.value}%`),n?(n=t?`calc(${n} * -1)`:n,[c(),T("--tw-scale-x",n),T("--tw-scale-y",n),T("--tw-scale-z",n),T("scale","var(--tw-scale-x) var(--tw-scale-y)")]):void 0)}}n("scale-none",[["scale","none"]]),t.functional("-scale",u({negative:!0})),t.functional("scale",u({negative:!1})),r("scale",(()=>[{supportsNegative:!0,values:["0","50","75","90","95","100","105","110","125","150","200"],valueThemeKeys:["--scale"]}]));for(let e of["x","y","z"])o(`scale-${e}`,{supportsNegative:!0,themeKeys:["--scale"],handleBareValue:({value:e})=>Ce(e)?`${e}%`:null,handle:t=>[c(),T(`--tw-scale-${e}`,t),T("scale","var(--tw-scale-x) var(--tw-scale-y)"+("z"===e?" var(--tw-scale-z)":""))]}),r(`scale-${e}`,(()=>[{supportsNegative:!0,values:["0","50","75","90","95","100","105","110","125","150","200"],valueThemeKeys:["--scale"]}]));function d({negative:t}){return r=>{if(!r.value||r.modifier)return;let n;if("arbitrary"===r.value.kind){n=r.value.value;let e=r.value.dataType??fe(n,["angle","vector"]);if("vector"===e)return[T("rotate",`${n} var(--tw-rotate)`)];if("angle"!==e)return[T("rotate",t?`calc(${n} * -1)`:n)]}else if(n=e.resolve(r.value.value,["--rotate"]),!n&&Ce(r.value.value)&&(n=`${r.value.value}deg`),!n)return;return[T("rotate",t?`calc(${n} * -1)`:n)]}}n("scale-3d",[c,["scale","var(--tw-scale-x) var(--tw-scale-y) var(--tw-scale-z)"]]),n("rotate-none",[["rotate","none"]]),t.functional("-rotate",d({negative:!0})),t.functional("rotate",d({negative:!1})),r("rotate",(()=>[{supportsNegative:!0,values:["0","1","2","3","6","12","45","90","180"],valueThemeKeys:["--rotate"]}]));{let e=["var(--tw-rotate-x,)","var(--tw-rotate-y,)","var(--tw-rotate-z,)","var(--tw-skew-x,)","var(--tw-skew-y,)"].join(" "),i=()=>K([We("--tw-rotate-x"),We("--tw-rotate-y"),We("--tw-rotate-z"),We("--tw-skew-x"),We("--tw-skew-y")]);for(let t of["x","y","z"])o(`rotate-${t}`,{supportsNegative:!0,themeKeys:["--rotate"],handleBareValue:({value:e})=>Ce(e)?`${e}deg`:null,handle:r=>[i(),T(`--tw-rotate-${t}`,`rotate${t.toUpperCase()}(${r})`),T("transform",e)]}),r(`rotate-${t}`,(()=>[{supportsNegative:!0,values:["0","1","2","3","6","12","45","90","180"],valueThemeKeys:["--rotate"]}]));o("skew",{supportsNegative:!0,themeKeys:["--skew"],handleBareValue:({value:e})=>Ce(e)?`${e}deg`:null,handle:t=>[i(),T("--tw-skew-x",`skewX(${t})`),T("--tw-skew-y",`skewY(${t})`),T("transform",e)]}),o("skew-x",{supportsNegative:!0,themeKeys:["--skew"],handleBareValue:({value:e})=>Ce(e)?`${e}deg`:null,handle:t=>[i(),T("--tw-skew-x",`skewX(${t})`),T("transform",e)]}),o("skew-y",{supportsNegative:!0,themeKeys:["--skew"],handleBareValue:({value:e})=>Ce(e)?`${e}deg`:null,handle:t=>[i(),T("--tw-skew-y",`skewY(${t})`),T("transform",e)]}),r("skew",(()=>[{supportsNegative:!0,values:["0","1","2","3","6","12"],valueThemeKeys:["--skew"]}])),r("skew-x",(()=>[{supportsNegative:!0,values:["0","1","2","3","6","12"],valueThemeKeys:["--skew"]}])),r("skew-y",(()=>[{supportsNegative:!0,values:["0","1","2","3","6","12"],valueThemeKeys:["--skew"]}])),t.functional("transform",(t=>{if(t.modifier)return;let r=null;return t.value?"arbitrary"===t.value.kind&&(r=t.value.value):r=e,null!==r?[i(),T("transform",r)]:void 0})),r("transform",(()=>[{hasDefaultValue:!0}])),n("transform-cpu",[["transform",e]]),n("transform-gpu",[["transform",`translateZ(0) ${e}`]]),n("transform-none",[["transform","none"]])}n("transform-flat",[["transform-style","flat"]]),n("transform-3d",[["transform-style","preserve-3d"]]),n("transform-content",[["transform-box","content-box"]]),n("transform-border",[["transform-box","border-box"]]),n("transform-fill",[["transform-box","fill-box"]]),n("transform-stroke",[["transform-box","stroke-box"]]),n("transform-view",[["transform-box","view-box"]]),n("backface-visible",[["backface-visibility","visible"]]),n("backface-hidden",[["backface-visibility","hidden"]]);for(let e of["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out"])n(`cursor-${e}`,[["cursor",e]]);o("cursor",{themeKeys:["--cursor"],handle:e=>[T("cursor",e)]});for(let e of["auto","none","manipulation"])n(`touch-${e}`,[["touch-action",e]]);let f=()=>K([We("--tw-pan-x"),We("--tw-pan-y"),We("--tw-pinch-zoom")]);for(let e of["x","left","right"])n(`touch-pan-${e}`,[f,["--tw-pan-x",`pan-${e}`],["touch-action","var(--tw-pan-x,) var(--tw-pan-y,) var(--tw-pinch-zoom,)"]]);for(let e of["y","up","down"])n(`touch-pan-${e}`,[f,["--tw-pan-y",`pan-${e}`],["touch-action","var(--tw-pan-x,) var(--tw-pan-y,) var(--tw-pinch-zoom,)"]]);n("touch-pinch-zoom",[f,["--tw-pinch-zoom","pinch-zoom"],["touch-action","var(--tw-pan-x,) var(--tw-pan-y,) var(--tw-pinch-zoom,)"]]);for(let e of["none","text","all","auto"])n(`select-${e}`,[["-webkit-user-select",e],["user-select",e]]);n("resize-none",[["resize","none"]]),n("resize-x",[["resize","horizontal"]]),n("resize-y",[["resize","vertical"]]),n("resize",[["resize","both"]]),n("snap-none",[["scroll-snap-type","none"]]);let p=()=>K([We("--tw-scroll-snap-strictness","proximity","*")]);for(let e of["x","y","both"])n(`snap-${e}`,[p,["scroll-snap-type",`${e} var(--tw-scroll-snap-strictness)`]]);n("snap-mandatory",[p,["--tw-scroll-snap-strictness","mandatory"]]),n("snap-proximity",[p,["--tw-scroll-snap-strictness","proximity"]]),n("snap-align-none",[["scroll-snap-align","none"]]),n("snap-start",[["scroll-snap-align","start"]]),n("snap-end",[["scroll-snap-align","end"]]),n("snap-center",[["scroll-snap-align","center"]]),n("snap-normal",[["scroll-snap-stop","normal"]]),n("snap-always",[["scroll-snap-stop","always"]]);for(let[e,t]of[["scroll-m","scroll-margin"],["scroll-mx","scroll-margin-inline"],["scroll-my","scroll-margin-block"],["scroll-ms","scroll-margin-inline-start"],["scroll-me","scroll-margin-inline-end"],["scroll-mbs","scroll-margin-block-start"],["scroll-mbe","scroll-margin-block-end"],["scroll-mt","scroll-margin-top"],["scroll-mr","scroll-margin-right"],["scroll-mb","scroll-margin-bottom"],["scroll-ml","scroll-margin-left"]])a(e,["--scroll-margin","--spacing"],(e=>[T(t,e)]),{supportsNegative:!0});for(let[e,t]of[["scroll-p","scroll-padding"],["scroll-px","scroll-padding-inline"],["scroll-py","scroll-padding-block"],["scroll-ps","scroll-padding-inline-start"],["scroll-pe","scroll-padding-inline-end"],["scroll-pbs","scroll-padding-block-start"],["scroll-pbe","scroll-padding-block-end"],["scroll-pt","scroll-padding-top"],["scroll-pr","scroll-padding-right"],["scroll-pb","scroll-padding-bottom"],["scroll-pl","scroll-padding-left"]])a(e,["--scroll-padding","--spacing"],(e=>[T(t,e)]));n("list-inside",[["list-style-position","inside"]]),n("list-outside",[["list-style-position","outside"]]),o("list",{themeKeys:["--list-style-type"],handle:e=>[T("list-style-type",e)],staticValues:{none:[T("list-style-type","none")],disc:[T("list-style-type","disc")],decimal:[T("list-style-type","decimal")]}}),o("list-image",{themeKeys:["--list-style-image"],handle:e=>[T("list-style-image",e)],staticValues:{none:[T("list-style-image","none")]}}),n("appearance-none",[["appearance","none"]]),n("appearance-auto",[["appearance","auto"]]),n("scheme-normal",[["color-scheme","normal"]]),n("scheme-dark",[["color-scheme","dark"]]),n("scheme-light",[["color-scheme","light"]]),n("scheme-light-dark",[["color-scheme","light dark"]]),n("scheme-only-dark",[["color-scheme","only dark"]]),n("scheme-only-light",[["color-scheme","only light"]]),o("columns",{themeKeys:["--columns","--container"],handleBareValue:({value:e})=>Ce(e)?e:null,handle:e=>[T("columns",e)],staticValues:{auto:[T("columns","auto")]}}),r("columns",(()=>[{values:Array.from({length:12},((e,t)=>`${t+1}`)),valueThemeKeys:["--columns","--container"]}]));for(let e of["auto","avoid","all","avoid-page","page","left","right","column"])n(`break-before-${e}`,[["break-before",e]]);for(let e of["auto","avoid","avoid-page","avoid-column"])n(`break-inside-${e}`,[["break-inside",e]]);for(let e of["auto","avoid","all","avoid-page","page","left","right","column"])n(`break-after-${e}`,[["break-after",e]]);n("grid-flow-row",[["grid-auto-flow","row"]]),n("grid-flow-col",[["grid-auto-flow","column"]]),n("grid-flow-dense",[["grid-auto-flow","dense"]]),n("grid-flow-row-dense",[["grid-auto-flow","row dense"]]),n("grid-flow-col-dense",[["grid-auto-flow","column dense"]]),o("auto-cols",{themeKeys:["--grid-auto-columns"],handle:e=>[T("grid-auto-columns",e)],staticValues:{auto:[T("grid-auto-columns","auto")],min:[T("grid-auto-columns","min-content")],max:[T("grid-auto-columns","max-content")],fr:[T("grid-auto-columns","minmax(0, 1fr)")]}}),o("auto-rows",{themeKeys:["--grid-auto-rows"],handle:e=>[T("grid-auto-rows",e)],staticValues:{auto:[T("grid-auto-rows","auto")],min:[T("grid-auto-rows","min-content")],max:[T("grid-auto-rows","max-content")],fr:[T("grid-auto-rows","minmax(0, 1fr)")]}}),o("grid-cols",{themeKeys:["--grid-template-columns"],handleBareValue:({value:e})=>Te(e)?`repeat(${e}, minmax(0, 1fr))`:null,handle:e=>[T("grid-template-columns",e)],staticValues:{none:[T("grid-template-columns","none")],subgrid:[T("grid-template-columns","subgrid")]}}),o("grid-rows",{themeKeys:["--grid-template-rows"],handleBareValue:({value:e})=>Te(e)?`repeat(${e}, minmax(0, 1fr))`:null,handle:e=>[T("grid-template-rows",e)],staticValues:{none:[T("grid-template-rows","none")],subgrid:[T("grid-template-rows","subgrid")]}}),r("grid-cols",(()=>[{values:Array.from({length:12},((e,t)=>`${t+1}`)),valueThemeKeys:["--grid-template-columns"]}])),r("grid-rows",(()=>[{values:Array.from({length:12},((e,t)=>`${t+1}`)),valueThemeKeys:["--grid-template-rows"]}])),n("flex-row",[["flex-direction","row"]]),n("flex-row-reverse",[["flex-direction","row-reverse"]]),n("flex-col",[["flex-direction","column"]]),n("flex-col-reverse",[["flex-direction","column-reverse"]]),n("flex-wrap",[["flex-wrap","wrap"]]),n("flex-nowrap",[["flex-wrap","nowrap"]]),n("flex-wrap-reverse",[["flex-wrap","wrap-reverse"]]),n("place-content-center",[["place-content","center"]]),n("place-content-start",[["place-content","start"]]),n("place-content-end",[["place-content","end"]]),n("place-content-center-safe",[["place-content","safe center"]]),n("place-content-end-safe",[["place-content","safe end"]]),n("place-content-between",[["place-content","space-between"]]),n("place-content-around",[["place-content","space-around"]]),n("place-content-evenly",[["place-content","space-evenly"]]),n("place-content-baseline",[["place-content","baseline"]]),n("place-content-stretch",[["place-content","stretch"]]),n("place-items-center",[["place-items","center"]]),n("place-items-start",[["place-items","start"]]),n("place-items-end",[["place-items","end"]]),n("place-items-center-safe",[["place-items","safe center"]]),n("place-items-end-safe",[["place-items","safe end"]]),n("place-items-baseline",[["place-items","baseline"]]),n("place-items-stretch",[["place-items","stretch"]]),n("content-normal",[["align-content","normal"]]),n("content-center",[["align-content","center"]]),n("content-start",[["align-content","flex-start"]]),n("content-end",[["align-content","flex-end"]]),n("content-center-safe",[["align-content","safe center"]]),n("content-end-safe",[["align-content","safe flex-end"]]),n("content-between",[["align-content","space-between"]]),n("content-around",[["align-content","space-around"]]),n("content-evenly",[["align-content","space-evenly"]]),n("content-baseline",[["align-content","baseline"]]),n("content-stretch",[["align-content","stretch"]]),n("items-center",[["align-items","center"]]),n("items-start",[["align-items","flex-start"]]),n("items-end",[["align-items","flex-end"]]),n("items-center-safe",[["align-items","safe center"]]),n("items-end-safe",[["align-items","safe flex-end"]]),n("items-baseline",[["align-items","baseline"]]),n("items-baseline-last",[["align-items","last baseline"]]),n("items-stretch",[["align-items","stretch"]]),n("justify-normal",[["justify-content","normal"]]),n("justify-center",[["justify-content","center"]]),n("justify-start",[["justify-content","flex-start"]]),n("justify-end",[["justify-content","flex-end"]]),n("justify-center-safe",[["justify-content","safe center"]]),n("justify-end-safe",[["justify-content","safe flex-end"]]),n("justify-between",[["justify-content","space-between"]]),n("justify-around",[["justify-content","space-around"]]),n("justify-evenly",[["justify-content","space-evenly"]]),n("justify-baseline",[["justify-content","baseline"]]),n("justify-stretch",[["justify-content","stretch"]]),n("justify-items-normal",[["justify-items","normal"]]),n("justify-items-center",[["justify-items","center"]]),n("justify-items-start",[["justify-items","start"]]),n("justify-items-end",[["justify-items","end"]]),n("justify-items-center-safe",[["justify-items","safe center"]]),n("justify-items-end-safe",[["justify-items","safe end"]]),n("justify-items-stretch",[["justify-items","stretch"]]),a("gap",["--gap","--spacing"],(e=>[T("gap",e)])),a("gap-x",["--gap","--spacing"],(e=>[T("column-gap",e)])),a("gap-y",["--gap","--spacing"],(e=>[T("row-gap",e)])),a("space-x",["--space","--spacing"],(e=>[K([We("--tw-space-x-reverse","0")]),A(":where(& > :not(:last-child))",[T("--tw-sort","row-gap"),T("--tw-space-x-reverse","0"),T("margin-inline-start",`calc(${e} * var(--tw-space-x-reverse))`),T("margin-inline-end",`calc(${e} * calc(1 - var(--tw-space-x-reverse)))`)])]),{supportsNegative:!0}),a("space-y",["--space","--spacing"],(e=>[K([We("--tw-space-y-reverse","0")]),A(":where(& > :not(:last-child))",[T("--tw-sort","column-gap"),T("--tw-space-y-reverse","0"),T("margin-block-start",`calc(${e} * var(--tw-space-y-reverse))`),T("margin-block-end",`calc(${e} * calc(1 - var(--tw-space-y-reverse)))`)])]),{supportsNegative:!0}),n("space-x-reverse",[()=>K([We("--tw-space-x-reverse","0")]),()=>A(":where(& > :not(:last-child))",[T("--tw-sort","row-gap"),T("--tw-space-x-reverse","1")])]),n("space-y-reverse",[()=>K([We("--tw-space-y-reverse","0")]),()=>A(":where(& > :not(:last-child))",[T("--tw-sort","column-gap"),T("--tw-space-y-reverse","1")])]),n("accent-auto",[["accent-color","auto"]]),i("accent",{themeKeys:["--accent-color","--color"],handle:e=>[T("accent-color",e)]}),i("caret",{themeKeys:["--caret-color","--color"],handle:e=>[T("caret-color",e)]}),i("divide",{themeKeys:["--divide-color","--border-color","--color"],handle:e=>[A(":where(& > :not(:last-child))",[T("--tw-sort","divide-color"),T("border-color",e)])]}),n("place-self-auto",[["place-self","auto"]]),n("place-self-start",[["place-self","start"]]),n("place-self-end",[["place-self","end"]]),n("place-self-center",[["place-self","center"]]),n("place-self-end-safe",[["place-self","safe end"]]),n("place-self-center-safe",[["place-self","safe center"]]),n("place-self-stretch",[["place-self","stretch"]]),n("self-auto",[["align-self","auto"]]),n("self-start",[["align-self","flex-start"]]),n("self-end",[["align-self","flex-end"]]),n("self-center",[["align-self","center"]]),n("self-end-safe",[["align-self","safe flex-end"]]),n("self-center-safe",[["align-self","safe center"]]),n("self-stretch",[["align-self","stretch"]]),n("self-baseline",[["align-self","baseline"]]),n("self-baseline-last",[["align-self","last baseline"]]),n("justify-self-auto",[["justify-self","auto"]]),n("justify-self-start",[["justify-self","flex-start"]]),n("justify-self-end",[["justify-self","flex-end"]]),n("justify-self-center",[["justify-self","center"]]),n("justify-self-end-safe",[["justify-self","safe flex-end"]]),n("justify-self-center-safe",[["justify-self","safe center"]]),n("justify-self-stretch",[["justify-self","stretch"]]);for(let e of["auto","hidden","clip","visible","scroll"])n(`overflow-${e}`,[["overflow",e]]),n(`overflow-x-${e}`,[["overflow-x",e]]),n(`overflow-y-${e}`,[["overflow-y",e]]);for(let e of["auto","contain","none"])n(`overscroll-${e}`,[["overscroll-behavior",e]]),n(`overscroll-x-${e}`,[["overscroll-behavior-x",e]]),n(`overscroll-y-${e}`,[["overscroll-behavior-y",e]]);n("scroll-auto",[["scroll-behavior","auto"]]),n("scroll-smooth",[["scroll-behavior","smooth"]]),n("truncate",[["overflow","hidden"],["text-overflow","ellipsis"],["white-space","nowrap"]]),n("text-ellipsis",[["text-overflow","ellipsis"]]),n("text-clip",[["text-overflow","clip"]]),n("hyphens-none",[["-webkit-hyphens","none"],["hyphens","none"]]),n("hyphens-manual",[["-webkit-hyphens","manual"],["hyphens","manual"]]),n("hyphens-auto",[["-webkit-hyphens","auto"],["hyphens","auto"]]),n("whitespace-normal",[["white-space","normal"]]),n("whitespace-nowrap",[["white-space","nowrap"]]),n("whitespace-pre",[["white-space","pre"]]),n("whitespace-pre-line",[["white-space","pre-line"]]),n("whitespace-pre-wrap",[["white-space","pre-wrap"]]),n("whitespace-break-spaces",[["white-space","break-spaces"]]),n("text-wrap",[["text-wrap","wrap"]]),n("text-nowrap",[["text-wrap","nowrap"]]),n("text-balance",[["text-wrap","balance"]]),n("text-pretty",[["text-wrap","pretty"]]),n("break-normal",[["overflow-wrap","normal"],["word-break","normal"]]),n("break-all",[["word-break","break-all"]]),n("break-keep",[["word-break","keep-all"]]),n("wrap-anywhere",[["overflow-wrap","anywhere"]]),n("wrap-break-word",[["overflow-wrap","break-word"]]),n("wrap-normal",[["overflow-wrap","normal"]]);for(let[e,t]of[["rounded",["border-radius"]],["rounded-s",["border-start-start-radius","border-end-start-radius"]],["rounded-e",["border-start-end-radius","border-end-end-radius"]],["rounded-t",["border-top-left-radius","border-top-right-radius"]],["rounded-r",["border-top-right-radius","border-bottom-right-radius"]],["rounded-b",["border-bottom-right-radius","border-bottom-left-radius"]],["rounded-l",["border-top-left-radius","border-bottom-left-radius"]],["rounded-ss",["border-start-start-radius"]],["rounded-se",["border-start-end-radius"]],["rounded-ee",["border-end-end-radius"]],["rounded-es",["border-end-start-radius"]],["rounded-tl",["border-top-left-radius"]],["rounded-tr",["border-top-right-radius"]],["rounded-br",["border-bottom-right-radius"]],["rounded-bl",["border-bottom-left-radius"]]])o(e,{themeKeys:["--radius"],handle:e=>t.map((t=>T(t,e))),staticValues:{none:t.map((e=>T(e,"0"))),full:t.map((e=>T(e,"calc(infinity * 1px)")))}});n("border-solid",[["--tw-border-style","solid"],["border-style","solid"]]),n("border-dashed",[["--tw-border-style","dashed"],["border-style","dashed"]]),n("border-dotted",[["--tw-border-style","dotted"],["border-style","dotted"]]),n("border-double",[["--tw-border-style","double"],["border-style","double"]]),n("border-hidden",[["--tw-border-style","hidden"],["border-style","hidden"]]),n("border-none",[["--tw-border-style","none"],["border-style","none"]]);{let i=function(n,o){t.functional(n,(t=>{if(!t.value){if(t.modifier)return;let r=e.get(["--default-border-width"])??"1px",n=o.width(r);return n?[a(),...n]:void 0}if("arbitrary"===t.value.kind){let r=t.value.value;switch(t.value.dataType??fe(r,["color","line-width","length"])){case"line-width":case"length":{if(t.modifier)return;let e=o.width(r);return e?[a(),...e]:void 0}default:return r=_e(r,t.modifier,e),null===r?void 0:o.color(r)}}{let r=Me(t,e,["--border-color","--color"]);if(r)return o.color(r)}{if(t.modifier)return;let r=e.resolve(t.value.value,["--border-width"]);if(r){let e=o.width(r);return e?[a(),...e]:void 0}if(Ce(t.value.value)){let e=o.width(`${t.value.value}px`);return e?[a(),...e]:void 0}}})),r(n,(()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--border-color","--color"],modifiers:Array.from({length:21},((e,t)=>""+5*t)),hasDefaultValue:!0},{values:["0","2","4","8"],valueThemeKeys:["--border-width"]}]))},a=()=>K([We("--tw-border-style","solid")]);i("border",{width:e=>[T("border-style","var(--tw-border-style)"),T("border-width",e)],color:e=>[T("border-color",e)]}),i("border-x",{width:e=>[T("border-inline-style","var(--tw-border-style)"),T("border-inline-width",e)],color:e=>[T("border-inline-color",e)]}),i("border-y",{width:e=>[T("border-block-style","var(--tw-border-style)"),T("border-block-width",e)],color:e=>[T("border-block-color",e)]}),i("border-s",{width:e=>[T("border-inline-start-style","var(--tw-border-style)"),T("border-inline-start-width",e)],color:e=>[T("border-inline-start-color",e)]}),i("border-e",{width:e=>[T("border-inline-end-style","var(--tw-border-style)"),T("border-inline-end-width",e)],color:e=>[T("border-inline-end-color",e)]}),i("border-bs",{width:e=>[T("border-block-start-style","var(--tw-border-style)"),T("border-block-start-width",e)],color:e=>[T("border-block-start-color",e)]}),i("border-be",{width:e=>[T("border-block-end-style","var(--tw-border-style)"),T("border-block-end-width",e)],color:e=>[T("border-block-end-color",e)]}),i("border-t",{width:e=>[T("border-top-style","var(--tw-border-style)"),T("border-top-width",e)],color:e=>[T("border-top-color",e)]}),i("border-r",{width:e=>[T("border-right-style","var(--tw-border-style)"),T("border-right-width",e)],color:e=>[T("border-right-color",e)]}),i("border-b",{width:e=>[T("border-bottom-style","var(--tw-border-style)"),T("border-bottom-width",e)],color:e=>[T("border-bottom-color",e)]}),i("border-l",{width:e=>[T("border-left-style","var(--tw-border-style)"),T("border-left-width",e)],color:e=>[T("border-left-color",e)]}),o("divide-x",{defaultValue:e.get(["--default-border-width"])??"1px",themeKeys:["--divide-width","--border-width"],handleBareValue:({value:e})=>Ce(e)?`${e}px`:null,handle:e=>[K([We("--tw-divide-x-reverse","0")]),A(":where(& > :not(:last-child))",[T("--tw-sort","divide-x-width"),a(),T("--tw-divide-x-reverse","0"),T("border-inline-style","var(--tw-border-style)"),T("border-inline-start-width",`calc(${e} * var(--tw-divide-x-reverse))`),T("border-inline-end-width",`calc(${e} * calc(1 - var(--tw-divide-x-reverse)))`)])]}),o("divide-y",{defaultValue:e.get(["--default-border-width"])??"1px",themeKeys:["--divide-width","--border-width"],handleBareValue:({value:e})=>Ce(e)?`${e}px`:null,handle:e=>[K([We("--tw-divide-y-reverse","0")]),A(":where(& > :not(:last-child))",[T("--tw-sort","divide-y-width"),a(),T("--tw-divide-y-reverse","0"),T("border-bottom-style","var(--tw-border-style)"),T("border-top-style","var(--tw-border-style)"),T("border-top-width",`calc(${e} * var(--tw-divide-y-reverse))`),T("border-bottom-width",`calc(${e} * calc(1 - var(--tw-divide-y-reverse)))`)])]}),r("divide-x",(()=>[{values:["0","2","4","8"],valueThemeKeys:["--divide-width","--border-width"],hasDefaultValue:!0}])),r("divide-y",(()=>[{values:["0","2","4","8"],valueThemeKeys:["--divide-width","--border-width"],hasDefaultValue:!0}])),n("divide-x-reverse",[()=>K([We("--tw-divide-x-reverse","0")]),()=>A(":where(& > :not(:last-child))",[T("--tw-divide-x-reverse","1")])]),n("divide-y-reverse",[()=>K([We("--tw-divide-y-reverse","0")]),()=>A(":where(& > :not(:last-child))",[T("--tw-divide-y-reverse","1")])]);for(let e of["solid","dashed","dotted","double","none"])n(`divide-${e}`,[()=>A(":where(& > :not(:last-child))",[T("--tw-sort","divide-style"),T("--tw-border-style",e),T("border-style",e)])])}n("bg-auto",[["background-size","auto"]]),n("bg-cover",[["background-size","cover"]]),n("bg-contain",[["background-size","contain"]]),o("bg-size",{handle(e){if(e)return[T("background-size",e)]}}),n("bg-fixed",[["background-attachment","fixed"]]),n("bg-local",[["background-attachment","local"]]),n("bg-scroll",[["background-attachment","scroll"]]),n("bg-top",[["background-position","top"]]),n("bg-top-left",[["background-position","left top"]]),n("bg-top-right",[["background-position","right top"]]),n("bg-bottom",[["background-position","bottom"]]),n("bg-bottom-left",[["background-position","left bottom"]]),n("bg-bottom-right",[["background-position","right bottom"]]),n("bg-left",[["background-position","left"]]),n("bg-right",[["background-position","right"]]),n("bg-center",[["background-position","center"]]),o("bg-position",{handle(e){if(e)return[T("background-position",e)]}}),n("bg-repeat",[["background-repeat","repeat"]]),n("bg-no-repeat",[["background-repeat","no-repeat"]]),n("bg-repeat-x",[["background-repeat","repeat-x"]]),n("bg-repeat-y",[["background-repeat","repeat-y"]]),n("bg-repeat-round",[["background-repeat","round"]]),n("bg-repeat-space",[["background-repeat","space"]]),n("bg-none",[["background-image","none"]]);{let e=function(e){let t="in oklab";if("named"===e?.kind)switch(e.value){case"longer":case"shorter":case"increasing":case"decreasing":t=`in oklch ${e.value} hue`;break;default:t=`in ${e.value}`}else"arbitrary"===e?.kind&&(t=e.value);return t},n=function({negative:t}){return r=>{if(!r.value)return;if("arbitrary"===r.value.kind){if(r.modifier)return;let e=r.value.value;return"angle"===(r.value.dataType??fe(e,["angle"]))?(e=t?`calc(${e} * -1)`:`${e}`,[T("--tw-gradient-position",e),T("background-image",`linear-gradient(var(--tw-gradient-stops,${e}))`)]):t?void 0:[T("--tw-gradient-position",e),T("background-image",`linear-gradient(var(--tw-gradient-stops,${e}))`)]}let n=r.value.value;if(!t&&a.has(n))n=a.get(n);else{if(!Ce(n))return;n=t?`calc(${n}deg * -1)`:`${n}deg`}let o=e(r.modifier);return[T("--tw-gradient-position",`${n}`),C("@supports (background-image: linear-gradient(in lab, red, red))",[T("--tw-gradient-position",`${n} ${o}`)]),T("background-image","linear-gradient(var(--tw-gradient-stops))")]}},o=function({negative:t}){return r=>{if("arbitrary"===r.value?.kind){if(r.modifier)return;let e=r.value.value;return[T("--tw-gradient-position",e),T("background-image",`conic-gradient(var(--tw-gradient-stops,${e}))`)]}let n=e(r.modifier);if(!r.value)return[T("--tw-gradient-position",n),T("background-image","conic-gradient(var(--tw-gradient-stops))")];let o=r.value.value;return Ce(o)?(o=t?`calc(${o}deg * -1)`:`${o}deg`,[T("--tw-gradient-position",`from ${o} ${n}`),T("background-image","conic-gradient(var(--tw-gradient-stops))")]):void 0}},i=["oklab","oklch","srgb","hsl","longer","shorter","increasing","decreasing"],a=new Map([["to-t","to top"],["to-tr","to top right"],["to-r","to right"],["to-br","to bottom right"],["to-b","to bottom"],["to-bl","to bottom left"],["to-l","to left"],["to-tl","to top left"]]);t.functional("-bg-linear",n({negative:!0})),t.functional("bg-linear",n({negative:!1})),r("bg-linear",(()=>[{values:[...a.keys()],modifiers:i},{values:["0","30","60","90","120","150","180","210","240","270","300","330"],supportsNegative:!0,modifiers:i}])),t.functional("-bg-conic",o({negative:!0})),t.functional("bg-conic",o({negative:!1})),r("bg-conic",(()=>[{hasDefaultValue:!0,modifiers:i},{values:["0","30","60","90","120","150","180","210","240","270","300","330"],supportsNegative:!0,modifiers:i}])),t.functional("bg-radial",(t=>{if(!t.value)return[T("--tw-gradient-position",e(t.modifier)),T("background-image","radial-gradient(var(--tw-gradient-stops))")];if("arbitrary"===t.value.kind){if(t.modifier)return;let e=t.value.value;return[T("--tw-gradient-position",e),T("background-image",`radial-gradient(var(--tw-gradient-stops,${e}))`)]}})),r("bg-radial",(()=>[{hasDefaultValue:!0,modifiers:i}]))}t.functional("bg",(t=>{if(t.value){if("arbitrary"===t.value.kind){let r=t.value.value;switch(t.value.dataType??fe(r,["image","color","percentage","position","bg-size","length","url"])){case"percentage":case"position":return t.modifier?void 0:[T("background-position",r)];case"bg-size":case"length":case"size":return t.modifier?void 0:[T("background-size",r)];case"image":case"url":return t.modifier?void 0:[T("background-image",r)];default:return r=_e(r,t.modifier,e),null===r?void 0:[T("background-color",r)]}}{let r=Me(t,e,["--background-color","--color"]);if(r)return[T("background-color",r)]}{if(t.modifier)return;let r=e.resolve(t.value.value,["--background-image"]);if(r)return[T("background-image",r)]}}})),r("bg",(()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--background-color","--color"],modifiers:Array.from({length:21},((e,t)=>""+5*t))},{values:[],valueThemeKeys:["--background-image"]}]));let h=()=>K([We("--tw-gradient-position"),We("--tw-gradient-from","#0000",""),We("--tw-gradient-via","#0000",""),We("--tw-gradient-to","#0000",""),We("--tw-gradient-stops"),We("--tw-gradient-via-stops"),We("--tw-gradient-from-position","0%",""),We("--tw-gradient-via-position","50%",""),We("--tw-gradient-to-position","100%","")]);function m(n,o){t.functional(n,(t=>{if(t.value){if("arbitrary"===t.value.kind){let r=t.value.value;switch(t.value.dataType??fe(r,["color","length","percentage"])){case"length":case"percentage":return t.modifier?void 0:o.position(r);default:return r=_e(r,t.modifier,e),null===r?void 0:o.color(r)}}{let r=Me(t,e,["--background-color","--color"]);if(r)return o.color(r)}{if(t.modifier)return;let r=e.resolve(t.value.value,["--gradient-color-stop-positions"]);if(r)return o.position(r);if("%"===t.value.value[t.value.value.length-1]&&Ce(t.value.value.slice(0,-1)))return o.position(t.value.value)}}})),r(n,(()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--background-color","--color"],modifiers:Array.from({length:21},((e,t)=>""+5*t))},{values:Array.from({length:21},((e,t)=>5*t+"%")),valueThemeKeys:["--gradient-color-stop-positions"]}]))}m("from",{color:e=>[h(),T("--tw-sort","--tw-gradient-from"),T("--tw-gradient-from",e),T("--tw-gradient-stops","var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))")],position:e=>[h(),T("--tw-gradient-from-position",e)]}),n("via-none",[["--tw-gradient-via-stops","initial"]]),m("via",{color:e=>[h(),T("--tw-sort","--tw-gradient-via"),T("--tw-gradient-via",e),T("--tw-gradient-via-stops","var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-via) var(--tw-gradient-via-position), var(--tw-gradient-to) var(--tw-gradient-to-position)"),T("--tw-gradient-stops","var(--tw-gradient-via-stops)")],position:e=>[h(),T("--tw-gradient-via-position",e)]}),m("to",{color:e=>[h(),T("--tw-sort","--tw-gradient-to"),T("--tw-gradient-to",e),T("--tw-gradient-stops","var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))")],position:e=>[h(),T("--tw-gradient-to-position",e)]}),n("mask-none",[["mask-image","none"]]),t.functional("mask",(e=>{if(!e.value||e.modifier||"arbitrary"!==e.value.kind)return;let t=e.value.value;switch(e.value.dataType??fe(t,["image","percentage","position","bg-size","length","url"])){case"percentage":case"position":return e.modifier?void 0:[T("mask-position",t)];case"bg-size":case"length":case"size":return[T("mask-size",t)];default:return[T("mask-image",t)]}})),n("mask-add",[["mask-composite","add"]]),n("mask-subtract",[["mask-composite","subtract"]]),n("mask-intersect",[["mask-composite","intersect"]]),n("mask-exclude",[["mask-composite","exclude"]]),n("mask-alpha",[["mask-mode","alpha"]]),n("mask-luminance",[["mask-mode","luminance"]]),n("mask-match",[["mask-mode","match-source"]]),n("mask-type-alpha",[["mask-type","alpha"]]),n("mask-type-luminance",[["mask-type","luminance"]]),n("mask-auto",[["mask-size","auto"]]),n("mask-cover",[["mask-size","cover"]]),n("mask-contain",[["mask-size","contain"]]),o("mask-size",{handle(e){if(e)return[T("mask-size",e)]}}),n("mask-top",[["mask-position","top"]]),n("mask-top-left",[["mask-position","left top"]]),n("mask-top-right",[["mask-position","right top"]]),n("mask-bottom",[["mask-position","bottom"]]),n("mask-bottom-left",[["mask-position","left bottom"]]),n("mask-bottom-right",[["mask-position","right bottom"]]),n("mask-left",[["mask-position","left"]]),n("mask-right",[["mask-position","right"]]),n("mask-center",[["mask-position","center"]]),o("mask-position",{handle(e){if(e)return[T("mask-position",e)]}}),n("mask-repeat",[["mask-repeat","repeat"]]),n("mask-no-repeat",[["mask-repeat","no-repeat"]]),n("mask-repeat-x",[["mask-repeat","repeat-x"]]),n("mask-repeat-y",[["mask-repeat","repeat-y"]]),n("mask-repeat-round",[["mask-repeat","round"]]),n("mask-repeat-space",[["mask-repeat","space"]]),n("mask-clip-border",[["mask-clip","border-box"]]),n("mask-clip-padding",[["mask-clip","padding-box"]]),n("mask-clip-content",[["mask-clip","content-box"]]),n("mask-clip-fill",[["mask-clip","fill-box"]]),n("mask-clip-stroke",[["mask-clip","stroke-box"]]),n("mask-clip-view",[["mask-clip","view-box"]]),n("mask-no-clip",[["mask-clip","no-clip"]]),n("mask-origin-border",[["mask-origin","border-box"]]),n("mask-origin-padding",[["mask-origin","padding-box"]]),n("mask-origin-content",[["mask-origin","content-box"]]),n("mask-origin-fill",[["mask-origin","fill-box"]]),n("mask-origin-stroke",[["mask-origin","stroke-box"]]),n("mask-origin-view",[["mask-origin","view-box"]]);let g=()=>K([We("--tw-mask-linear","linear-gradient(#fff, #fff)"),We("--tw-mask-radial","linear-gradient(#fff, #fff)"),We("--tw-mask-conic","linear-gradient(#fff, #fff)")]);function v(n,o){t.functional(n,(t=>{if(t.value){if("arbitrary"===t.value.kind){let r=t.value.value;switch(t.value.dataType??fe(r,["length","percentage","color"])){case"color":return r=_e(r,t.modifier,e),null===r?void 0:o.color(r);case"percentage":return t.modifier||!Ce(r.slice(0,-1))?void 0:o.position(r);default:return t.modifier?void 0:o.position(r)}}{let r=Me(t,e,["--background-color","--color"]);if(r)return o.color(r)}{if(t.modifier)return;let r=fe(t.value.value,["number","percentage"]);if(!r)return;switch(r){case"number":{let r=e.resolve(null,["--spacing"]);return r&&je(t.value.value)?o.position(`calc(${r} * ${t.value.value})`):void 0}case"percentage":return Ce(t.value.value.slice(0,-1))?o.position(t.value.value):void 0;default:return}}}})),r(n,(()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--background-color","--color"],modifiers:Array.from({length:21},((e,t)=>""+5*t))},{values:Array.from({length:21},((e,t)=>5*t+"%")),valueThemeKeys:["--gradient-color-stop-positions"]}])),r(n,(()=>[{values:Array.from({length:21},((e,t)=>5*t+"%"))},{values:e.get(["--spacing"])?Fe:[]},{values:["current","inherit","transparent"],valueThemeKeys:["--background-color","--color"],modifiers:Array.from({length:21},((e,t)=>""+5*t))}]))}let k=()=>K([We("--tw-mask-left","linear-gradient(#fff, #fff)"),We("--tw-mask-right","linear-gradient(#fff, #fff)"),We("--tw-mask-bottom","linear-gradient(#fff, #fff)"),We("--tw-mask-top","linear-gradient(#fff, #fff)")]);function w(e,t,r){v(e,{color(e){let n=[g(),k(),T("mask-image","var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"),T("mask-composite","intersect"),T("--tw-mask-linear","var(--tw-mask-left), var(--tw-mask-right), var(--tw-mask-bottom), var(--tw-mask-top)")];for(let o of["top","right","bottom","left"])r[o]&&(n.push(T(`--tw-mask-${o}`,`linear-gradient(to ${o}, var(--tw-mask-${o}-from-color) var(--tw-mask-${o}-from-position), var(--tw-mask-${o}-to-color) var(--tw-mask-${o}-to-position))`)),n.push(K([We(`--tw-mask-${o}-from-position`,"0%"),We(`--tw-mask-${o}-to-position`,"100%"),We(`--tw-mask-${o}-from-color`,"black"),We(`--tw-mask-${o}-to-color`,"transparent")])),n.push(T(`--tw-mask-${o}-${t}-color`,e)));return n},position(e){let n=[g(),k(),T("mask-image","var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"),T("mask-composite","intersect"),T("--tw-mask-linear","var(--tw-mask-left), var(--tw-mask-right), var(--tw-mask-bottom), var(--tw-mask-top)")];for(let o of["top","right","bottom","left"])r[o]&&(n.push(T(`--tw-mask-${o}`,`linear-gradient(to ${o}, var(--tw-mask-${o}-from-color) var(--tw-mask-${o}-from-position), var(--tw-mask-${o}-to-color) var(--tw-mask-${o}-to-position))`)),n.push(K([We(`--tw-mask-${o}-from-position`,"0%"),We(`--tw-mask-${o}-to-position`,"100%"),We(`--tw-mask-${o}-from-color`,"black"),We(`--tw-mask-${o}-to-color`,"transparent")])),n.push(T(`--tw-mask-${o}-${t}-position`,e)));return n}})}w("mask-x-from","from",{top:!1,right:!0,bottom:!1,left:!0}),w("mask-x-to","to",{top:!1,right:!0,bottom:!1,left:!0}),w("mask-y-from","from",{top:!0,right:!1,bottom:!0,left:!1}),w("mask-y-to","to",{top:!0,right:!1,bottom:!0,left:!1}),w("mask-t-from","from",{top:!0,right:!1,bottom:!1,left:!1}),w("mask-t-to","to",{top:!0,right:!1,bottom:!1,left:!1}),w("mask-r-from","from",{top:!1,right:!0,bottom:!1,left:!1}),w("mask-r-to","to",{top:!1,right:!0,bottom:!1,left:!1}),w("mask-b-from","from",{top:!1,right:!1,bottom:!0,left:!1}),w("mask-b-to","to",{top:!1,right:!1,bottom:!0,left:!1}),w("mask-l-from","from",{top:!1,right:!1,bottom:!1,left:!0}),w("mask-l-to","to",{top:!1,right:!1,bottom:!1,left:!0});let b=()=>K([We("--tw-mask-linear-position","0deg"),We("--tw-mask-linear-from-position","0%"),We("--tw-mask-linear-to-position","100%"),We("--tw-mask-linear-from-color","black"),We("--tw-mask-linear-to-color","transparent")]);o("mask-linear",{defaultValue:null,supportsNegative:!0,supportsFractions:!1,handleBareValue:e=>Ce(e.value)?`calc(1deg * ${e.value})`:null,handleNegativeBareValue:e=>Ce(e.value)?`calc(1deg * -${e.value})`:null,handle:e=>[g(),b(),T("mask-image","var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"),T("mask-composite","intersect"),T("--tw-mask-linear","linear-gradient(var(--tw-mask-linear-stops, var(--tw-mask-linear-position)))"),T("--tw-mask-linear-position",e)]}),r("mask-linear",(()=>[{supportsNegative:!0,values:["0","1","2","3","6","12","45","90","180"]}])),v("mask-linear-from",{color:e=>[g(),b(),T("mask-image","var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"),T("mask-composite","intersect"),T("--tw-mask-linear-stops","var(--tw-mask-linear-position), var(--tw-mask-linear-from-color) var(--tw-mask-linear-from-position), var(--tw-mask-linear-to-color) var(--tw-mask-linear-to-position)"),T("--tw-mask-linear","linear-gradient(var(--tw-mask-linear-stops))"),T("--tw-mask-linear-from-color",e)],position:e=>[g(),b(),T("mask-image","var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"),T("mask-composite","intersect"),T("--tw-mask-linear-stops","var(--tw-mask-linear-position), var(--tw-mask-linear-from-color) var(--tw-mask-linear-from-position), var(--tw-mask-linear-to-color) var(--tw-mask-linear-to-position)"),T("--tw-mask-linear","linear-gradient(var(--tw-mask-linear-stops))"),T("--tw-mask-linear-from-position",e)]}),v("mask-linear-to",{color:e=>[g(),b(),T("mask-image","var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"),T("mask-composite","intersect"),T("--tw-mask-linear-stops","var(--tw-mask-linear-position), var(--tw-mask-linear-from-color) var(--tw-mask-linear-from-position), var(--tw-mask-linear-to-color) var(--tw-mask-linear-to-position)"),T("--tw-mask-linear","linear-gradient(var(--tw-mask-linear-stops))"),T("--tw-mask-linear-to-color",e)],position:e=>[g(),b(),T("mask-image","var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"),T("mask-composite","intersect"),T("--tw-mask-linear-stops","var(--tw-mask-linear-position), var(--tw-mask-linear-from-color) var(--tw-mask-linear-from-position), var(--tw-mask-linear-to-color) var(--tw-mask-linear-to-position)"),T("--tw-mask-linear","linear-gradient(var(--tw-mask-linear-stops))"),T("--tw-mask-linear-to-position",e)]});let y=()=>K([We("--tw-mask-radial-from-position","0%"),We("--tw-mask-radial-to-position","100%"),We("--tw-mask-radial-from-color","black"),We("--tw-mask-radial-to-color","transparent"),We("--tw-mask-radial-shape","ellipse"),We("--tw-mask-radial-size","farthest-corner"),We("--tw-mask-radial-position","center")]);n("mask-circle",[["--tw-mask-radial-shape","circle"]]),n("mask-ellipse",[["--tw-mask-radial-shape","ellipse"]]),n("mask-radial-closest-side",[["--tw-mask-radial-size","closest-side"]]),n("mask-radial-farthest-side",[["--tw-mask-radial-size","farthest-side"]]),n("mask-radial-closest-corner",[["--tw-mask-radial-size","closest-corner"]]),n("mask-radial-farthest-corner",[["--tw-mask-radial-size","farthest-corner"]]),n("mask-radial-at-top",[["--tw-mask-radial-position","top"]]),n("mask-radial-at-top-left",[["--tw-mask-radial-position","top left"]]),n("mask-radial-at-top-right",[["--tw-mask-radial-position","top right"]]),n("mask-radial-at-bottom",[["--tw-mask-radial-position","bottom"]]),n("mask-radial-at-bottom-left",[["--tw-mask-radial-position","bottom left"]]),n("mask-radial-at-bottom-right",[["--tw-mask-radial-position","bottom right"]]),n("mask-radial-at-left",[["--tw-mask-radial-position","left"]]),n("mask-radial-at-right",[["--tw-mask-radial-position","right"]]),n("mask-radial-at-center",[["--tw-mask-radial-position","center"]]),o("mask-radial-at",{defaultValue:null,supportsNegative:!1,supportsFractions:!1,handle:e=>[T("--tw-mask-radial-position",e)]}),o("mask-radial",{defaultValue:null,supportsNegative:!1,supportsFractions:!1,handle:e=>[g(),y(),T("mask-image","var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"),T("mask-composite","intersect"),T("--tw-mask-radial","radial-gradient(var(--tw-mask-radial-stops, var(--tw-mask-radial-size)))"),T("--tw-mask-radial-size",e)]}),v("mask-radial-from",{color:e=>[g(),y(),T("mask-image","var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"),T("mask-composite","intersect"),T("--tw-mask-radial-stops","var(--tw-mask-radial-shape) var(--tw-mask-radial-size) at var(--tw-mask-radial-position), var(--tw-mask-radial-from-color) var(--tw-mask-radial-from-position), var(--tw-mask-radial-to-color) var(--tw-mask-radial-to-position)"),T("--tw-mask-radial","radial-gradient(var(--tw-mask-radial-stops))"),T("--tw-mask-radial-from-color",e)],position:e=>[g(),y(),T("mask-image","var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"),T("mask-composite","intersect"),T("--tw-mask-radial-stops","var(--tw-mask-radial-shape) var(--tw-mask-radial-size) at var(--tw-mask-radial-position), var(--tw-mask-radial-from-color) var(--tw-mask-radial-from-position), var(--tw-mask-radial-to-color) var(--tw-mask-radial-to-position)"),T("--tw-mask-radial","radial-gradient(var(--tw-mask-radial-stops))"),T("--tw-mask-radial-from-position",e)]}),v("mask-radial-to",{color:e=>[g(),y(),T("mask-image","var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"),T("mask-composite","intersect"),T("--tw-mask-radial-stops","var(--tw-mask-radial-shape) var(--tw-mask-radial-size) at var(--tw-mask-radial-position), var(--tw-mask-radial-from-color) var(--tw-mask-radial-from-position), var(--tw-mask-radial-to-color) var(--tw-mask-radial-to-position)"),T("--tw-mask-radial","radial-gradient(var(--tw-mask-radial-stops))"),T("--tw-mask-radial-to-color",e)],position:e=>[g(),y(),T("mask-image","var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"),T("mask-composite","intersect"),T("--tw-mask-radial-stops","var(--tw-mask-radial-shape) var(--tw-mask-radial-size) at var(--tw-mask-radial-position), var(--tw-mask-radial-from-color) var(--tw-mask-radial-from-position), var(--tw-mask-radial-to-color) var(--tw-mask-radial-to-position)"),T("--tw-mask-radial","radial-gradient(var(--tw-mask-radial-stops))"),T("--tw-mask-radial-to-position",e)]});let x=()=>K([We("--tw-mask-conic-position","0deg"),We("--tw-mask-conic-from-position","0%"),We("--tw-mask-conic-to-position","100%"),We("--tw-mask-conic-from-color","black"),We("--tw-mask-conic-to-color","transparent")]);o("mask-conic",{defaultValue:null,supportsNegative:!0,supportsFractions:!1,handleBareValue:e=>Ce(e.value)?`calc(1deg * ${e.value})`:null,handleNegativeBareValue:e=>Ce(e.value)?`calc(1deg * -${e.value})`:null,handle:e=>[g(),x(),T("mask-image","var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"),T("mask-composite","intersect"),T("--tw-mask-conic","conic-gradient(var(--tw-mask-conic-stops, var(--tw-mask-conic-position)))"),T("--tw-mask-conic-position",e)]}),r("mask-conic",(()=>[{supportsNegative:!0,values:["0","1","2","3","6","12","45","90","180"]}])),v("mask-conic-from",{color:e=>[g(),x(),T("mask-image","var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"),T("mask-composite","intersect"),T("--tw-mask-conic-stops","from var(--tw-mask-conic-position), var(--tw-mask-conic-from-color) var(--tw-mask-conic-from-position), var(--tw-mask-conic-to-color) var(--tw-mask-conic-to-position)"),T("--tw-mask-conic","conic-gradient(var(--tw-mask-conic-stops))"),T("--tw-mask-conic-from-color",e)],position:e=>[g(),x(),T("mask-image","var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"),T("mask-composite","intersect"),T("--tw-mask-conic-stops","from var(--tw-mask-conic-position), var(--tw-mask-conic-from-color) var(--tw-mask-conic-from-position), var(--tw-mask-conic-to-color) var(--tw-mask-conic-to-position)"),T("--tw-mask-conic","conic-gradient(var(--tw-mask-conic-stops))"),T("--tw-mask-conic-from-position",e)]}),v("mask-conic-to",{color:e=>[g(),x(),T("mask-image","var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"),T("mask-composite","intersect"),T("--tw-mask-conic-stops","from var(--tw-mask-conic-position), var(--tw-mask-conic-from-color) var(--tw-mask-conic-from-position), var(--tw-mask-conic-to-color) var(--tw-mask-conic-to-position)"),T("--tw-mask-conic","conic-gradient(var(--tw-mask-conic-stops))"),T("--tw-mask-conic-to-color",e)],position:e=>[g(),x(),T("mask-image","var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"),T("mask-composite","intersect"),T("--tw-mask-conic-stops","from var(--tw-mask-conic-position), var(--tw-mask-conic-from-color) var(--tw-mask-conic-from-position), var(--tw-mask-conic-to-color) var(--tw-mask-conic-to-position)"),T("--tw-mask-conic","conic-gradient(var(--tw-mask-conic-stops))"),T("--tw-mask-conic-to-position",e)]}),n("box-decoration-slice",[["-webkit-box-decoration-break","slice"],["box-decoration-break","slice"]]),n("box-decoration-clone",[["-webkit-box-decoration-break","clone"],["box-decoration-break","clone"]]),n("bg-clip-text",[["background-clip","text"]]),n("bg-clip-border",[["background-clip","border-box"]]),n("bg-clip-padding",[["background-clip","padding-box"]]),n("bg-clip-content",[["background-clip","content-box"]]),n("bg-origin-border",[["background-origin","border-box"]]),n("bg-origin-padding",[["background-origin","padding-box"]]),n("bg-origin-content",[["background-origin","content-box"]]);for(let e of["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"])n(`bg-blend-${e}`,[["background-blend-mode",e]]),n(`mix-blend-${e}`,[["mix-blend-mode",e]]);n("mix-blend-plus-darker",[["mix-blend-mode","plus-darker"]]),n("mix-blend-plus-lighter",[["mix-blend-mode","plus-lighter"]]),n("fill-none",[["fill","none"]]),t.functional("fill",(t=>{if(!t.value)return;if("arbitrary"===t.value.kind){let r=_e(t.value.value,t.modifier,e);return null===r?void 0:[T("fill",r)]}let r=Me(t,e,["--fill","--color"]);return r?[T("fill",r)]:void 0})),r("fill",(()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--fill","--color"],modifiers:Array.from({length:21},((e,t)=>""+5*t))}])),n("stroke-none",[["stroke","none"]]),t.functional("stroke",(t=>{if(t.value){if("arbitrary"===t.value.kind){let r=t.value.value;switch(t.value.dataType??fe(r,["color","number","length","percentage"])){case"number":case"length":case"percentage":return t.modifier?void 0:[T("stroke-width",r)];default:return r=_e(t.value.value,t.modifier,e),null===r?void 0:[T("stroke",r)]}}{let r=Me(t,e,["--stroke","--color"]);if(r)return[T("stroke",r)]}{let r=e.resolve(t.value.value,["--stroke-width"]);if(r)return[T("stroke-width",r)];if(Ce(t.value.value))return[T("stroke-width",t.value.value)]}}})),r("stroke",(()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--stroke","--color"],modifiers:Array.from({length:21},((e,t)=>""+5*t))},{values:["0","1","2","3"],valueThemeKeys:["--stroke-width"]}])),n("object-contain",[["object-fit","contain"]]),n("object-cover",[["object-fit","cover"]]),n("object-fill",[["object-fit","fill"]]),n("object-none",[["object-fit","none"]]),n("object-scale-down",[["object-fit","scale-down"]]),o("object",{themeKeys:["--object-position"],handle:e=>[T("object-position",e)],staticValues:{top:[T("object-position","top")],"top-left":[T("object-position","left top")],"top-right":[T("object-position","right top")],bottom:[T("object-position","bottom")],"bottom-left":[T("object-position","left bottom")],"bottom-right":[T("object-position","right bottom")],left:[T("object-position","left")],right:[T("object-position","right")],center:[T("object-position","center")]}});for(let[e,t]of[["p","padding"],["px","padding-inline"],["py","padding-block"],["ps","padding-inline-start"],["pe","padding-inline-end"],["pbs","padding-block-start"],["pbe","padding-block-end"],["pt","padding-top"],["pr","padding-right"],["pb","padding-bottom"],["pl","padding-left"]])a(e,["--padding","--spacing"],(e=>[T(t,e)]));n("text-left",[["text-align","left"]]),n("text-center",[["text-align","center"]]),n("text-right",[["text-align","right"]]),n("text-justify",[["text-align","justify"]]),n("text-start",[["text-align","start"]]),n("text-end",[["text-align","end"]]),a("indent",["--text-indent","--spacing"],(e=>[T("text-indent",e)]),{supportsNegative:!0}),n("align-baseline",[["vertical-align","baseline"]]),n("align-top",[["vertical-align","top"]]),n("align-middle",[["vertical-align","middle"]]),n("align-bottom",[["vertical-align","bottom"]]),n("align-text-top",[["vertical-align","text-top"]]),n("align-text-bottom",[["vertical-align","text-bottom"]]),n("align-sub",[["vertical-align","sub"]]),n("align-super",[["vertical-align","super"]]),o("align",{themeKeys:[],handle:e=>[T("vertical-align",e)]}),t.functional("font",(t=>{if(t.value&&!t.modifier){if("arbitrary"===t.value.kind){let e=t.value.value;switch(t.value.dataType??fe(e,["number","generic-name","family-name"])){case"generic-name":case"family-name":return[T("font-family",e)];default:return[K([We("--tw-font-weight")]),T("--tw-font-weight",e),T("font-weight",e)]}}{let r=e.resolveWith(t.value.value,["--font"],["--font-feature-settings","--font-variation-settings"]);if(r){let[e,t={}]=r;return[T("font-family",e),T("font-feature-settings",t["--font-feature-settings"]),T("font-variation-settings",t["--font-variation-settings"])]}}{let r=e.resolve(t.value.value,["--font-weight"]);if(r)return[K([We("--tw-font-weight")]),T("--tw-font-weight",r),T("font-weight",r)]}}})),r("font",(()=>[{values:[],valueThemeKeys:["--font"]},{values:[],valueThemeKeys:["--font-weight"]}])),o("font-features",{themeKeys:[],handle:e=>[T("font-feature-settings",e)]}),n("uppercase",[["text-transform","uppercase"]]),n("lowercase",[["text-transform","lowercase"]]),n("capitalize",[["text-transform","capitalize"]]),n("normal-case",[["text-transform","none"]]),n("italic",[["font-style","italic"]]),n("not-italic",[["font-style","normal"]]),n("underline",[["text-decoration-line","underline"]]),n("overline",[["text-decoration-line","overline"]]),n("line-through",[["text-decoration-line","line-through"]]),n("no-underline",[["text-decoration-line","none"]]),n("font-stretch-normal",[["font-stretch","normal"]]),n("font-stretch-ultra-condensed",[["font-stretch","ultra-condensed"]]),n("font-stretch-extra-condensed",[["font-stretch","extra-condensed"]]),n("font-stretch-condensed",[["font-stretch","condensed"]]),n("font-stretch-semi-condensed",[["font-stretch","semi-condensed"]]),n("font-stretch-semi-expanded",[["font-stretch","semi-expanded"]]),n("font-stretch-expanded",[["font-stretch","expanded"]]),n("font-stretch-extra-expanded",[["font-stretch","extra-expanded"]]),n("font-stretch-ultra-expanded",[["font-stretch","ultra-expanded"]]),o("font-stretch",{handleBareValue:({value:e})=>{if(!e.endsWith("%"))return null;let t=Number(e.slice(0,-1));return!Ce(t)||Number.isNaN(t)||t<50||t>200?null:e},handle:e=>[T("font-stretch",e)]}),r("font-stretch",(()=>[{values:["50%","75%","90%","95%","100%","105%","110%","125%","150%","200%"]}])),i("placeholder",{themeKeys:["--background-color","--color"],handle:e=>[A("&::placeholder",[T("--tw-sort","placeholder-color"),T("color",e)])]}),n("decoration-solid",[["text-decoration-style","solid"]]),n("decoration-double",[["text-decoration-style","double"]]),n("decoration-dotted",[["text-decoration-style","dotted"]]),n("decoration-dashed",[["text-decoration-style","dashed"]]),n("decoration-wavy",[["text-decoration-style","wavy"]]),n("decoration-auto",[["text-decoration-thickness","auto"]]),n("decoration-from-font",[["text-decoration-thickness","from-font"]]),t.functional("decoration",(t=>{if(t.value){if("arbitrary"===t.value.kind){let r=t.value.value;switch(t.value.dataType??fe(r,["color","length","percentage"])){case"length":case"percentage":return t.modifier?void 0:[T("text-decoration-thickness",r)];default:return r=_e(r,t.modifier,e),null===r?void 0:[T("text-decoration-color",r)]}}{let r=e.resolve(t.value.value,["--text-decoration-thickness"]);if(r)return t.modifier?void 0:[T("text-decoration-thickness",r)];if(Ce(t.value.value))return t.modifier?void 0:[T("text-decoration-thickness",`${t.value.value}px`)]}{let r=Me(t,e,["--text-decoration-color","--color"]);if(r)return[T("text-decoration-color",r)]}}})),r("decoration",(()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--text-decoration-color","--color"],modifiers:Array.from({length:21},((e,t)=>""+5*t))},{values:["0","1","2"],valueThemeKeys:["--text-decoration-thickness"]}])),o("animate",{themeKeys:["--animate"],handle:e=>[T("animation",e)],staticValues:{none:[T("animation","none")]}});{let i=["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,)"].join(" "),a=["var(--tw-backdrop-blur,)","var(--tw-backdrop-brightness,)","var(--tw-backdrop-contrast,)","var(--tw-backdrop-grayscale,)","var(--tw-backdrop-hue-rotate,)","var(--tw-backdrop-invert,)","var(--tw-backdrop-opacity,)","var(--tw-backdrop-saturate,)","var(--tw-backdrop-sepia,)"].join(" "),l=()=>K([We("--tw-blur"),We("--tw-brightness"),We("--tw-contrast"),We("--tw-grayscale"),We("--tw-hue-rotate"),We("--tw-invert"),We("--tw-opacity"),We("--tw-saturate"),We("--tw-sepia"),We("--tw-drop-shadow"),We("--tw-drop-shadow-color"),We("--tw-drop-shadow-alpha","100%",""),We("--tw-drop-shadow-size")]),s=()=>K([We("--tw-backdrop-blur"),We("--tw-backdrop-brightness"),We("--tw-backdrop-contrast"),We("--tw-backdrop-grayscale"),We("--tw-backdrop-hue-rotate"),We("--tw-backdrop-invert"),We("--tw-backdrop-opacity"),We("--tw-backdrop-saturate"),We("--tw-backdrop-sepia")]);t.functional("filter",(e=>{if(!e.modifier){if(null===e.value)return[l(),T("filter",i)];if("arbitrary"===e.value.kind)return[T("filter",e.value.value)];if("none"===e.value.value)return[T("filter","none")]}})),t.functional("backdrop-filter",(e=>{if(!e.modifier){if(null===e.value)return[s(),T("-webkit-backdrop-filter",a),T("backdrop-filter",a)];if("arbitrary"===e.value.kind)return[T("-webkit-backdrop-filter",e.value.value),T("backdrop-filter",e.value.value)];if("none"===e.value.value)return[T("-webkit-backdrop-filter","none"),T("backdrop-filter","none")]}})),o("blur",{themeKeys:["--blur"],handle:e=>[l(),T("--tw-blur",`blur(${e})`),T("filter",i)],staticValues:{none:[l(),T("--tw-blur"," "),T("filter",i)]}}),o("backdrop-blur",{themeKeys:["--backdrop-blur","--blur"],handle:e=>[s(),T("--tw-backdrop-blur",`blur(${e})`),T("-webkit-backdrop-filter",a),T("backdrop-filter",a)],staticValues:{none:[s(),T("--tw-backdrop-blur"," "),T("-webkit-backdrop-filter",a),T("backdrop-filter",a)]}}),o("brightness",{themeKeys:["--brightness"],handleBareValue:({value:e})=>Ce(e)?`${e}%`:null,handle:e=>[l(),T("--tw-brightness",`brightness(${e})`),T("filter",i)]}),o("backdrop-brightness",{themeKeys:["--backdrop-brightness","--brightness"],handleBareValue:({value:e})=>Ce(e)?`${e}%`:null,handle:e=>[s(),T("--tw-backdrop-brightness",`brightness(${e})`),T("-webkit-backdrop-filter",a),T("backdrop-filter",a)]}),r("brightness",(()=>[{values:["0","50","75","90","95","100","105","110","125","150","200"],valueThemeKeys:["--brightness"]}])),r("backdrop-brightness",(()=>[{values:["0","50","75","90","95","100","105","110","125","150","200"],valueThemeKeys:["--backdrop-brightness","--brightness"]}])),o("contrast",{themeKeys:["--contrast"],handleBareValue:({value:e})=>Ce(e)?`${e}%`:null,handle:e=>[l(),T("--tw-contrast",`contrast(${e})`),T("filter",i)]}),o("backdrop-contrast",{themeKeys:["--backdrop-contrast","--contrast"],handleBareValue:({value:e})=>Ce(e)?`${e}%`:null,handle:e=>[s(),T("--tw-backdrop-contrast",`contrast(${e})`),T("-webkit-backdrop-filter",a),T("backdrop-filter",a)]}),r("contrast",(()=>[{values:["0","50","75","100","125","150","200"],valueThemeKeys:["--contrast"]}])),r("backdrop-contrast",(()=>[{values:["0","50","75","100","125","150","200"],valueThemeKeys:["--backdrop-contrast","--contrast"]}])),o("grayscale",{themeKeys:["--grayscale"],handleBareValue:({value:e})=>Ce(e)?`${e}%`:null,defaultValue:"100%",handle:e=>[l(),T("--tw-grayscale",`grayscale(${e})`),T("filter",i)]}),o("backdrop-grayscale",{themeKeys:["--backdrop-grayscale","--grayscale"],handleBareValue:({value:e})=>Ce(e)?`${e}%`:null,defaultValue:"100%",handle:e=>[s(),T("--tw-backdrop-grayscale",`grayscale(${e})`),T("-webkit-backdrop-filter",a),T("backdrop-filter",a)]}),r("grayscale",(()=>[{values:["0","25","50","75","100"],valueThemeKeys:["--grayscale"],hasDefaultValue:!0}])),r("backdrop-grayscale",(()=>[{values:["0","25","50","75","100"],valueThemeKeys:["--backdrop-grayscale","--grayscale"],hasDefaultValue:!0}])),o("hue-rotate",{supportsNegative:!0,themeKeys:["--hue-rotate"],handleBareValue:({value:e})=>Ce(e)?`${e}deg`:null,handle:e=>[l(),T("--tw-hue-rotate",`hue-rotate(${e})`),T("filter",i)]}),o("backdrop-hue-rotate",{supportsNegative:!0,themeKeys:["--backdrop-hue-rotate","--hue-rotate"],handleBareValue:({value:e})=>Ce(e)?`${e}deg`:null,handle:e=>[s(),T("--tw-backdrop-hue-rotate",`hue-rotate(${e})`),T("-webkit-backdrop-filter",a),T("backdrop-filter",a)]}),r("hue-rotate",(()=>[{values:["0","15","30","60","90","180"],valueThemeKeys:["--hue-rotate"]}])),r("backdrop-hue-rotate",(()=>[{values:["0","15","30","60","90","180"],valueThemeKeys:["--backdrop-hue-rotate","--hue-rotate"]}])),o("invert",{themeKeys:["--invert"],handleBareValue:({value:e})=>Ce(e)?`${e}%`:null,defaultValue:"100%",handle:e=>[l(),T("--tw-invert",`invert(${e})`),T("filter",i)]}),o("backdrop-invert",{themeKeys:["--backdrop-invert","--invert"],handleBareValue:({value:e})=>Ce(e)?`${e}%`:null,defaultValue:"100%",handle:e=>[s(),T("--tw-backdrop-invert",`invert(${e})`),T("-webkit-backdrop-filter",a),T("backdrop-filter",a)]}),r("invert",(()=>[{values:["0","25","50","75","100"],valueThemeKeys:["--invert"],hasDefaultValue:!0}])),r("backdrop-invert",(()=>[{values:["0","25","50","75","100"],valueThemeKeys:["--backdrop-invert","--invert"],hasDefaultValue:!0}])),o("saturate",{themeKeys:["--saturate"],handleBareValue:({value:e})=>Ce(e)?`${e}%`:null,handle:e=>[l(),T("--tw-saturate",`saturate(${e})`),T("filter",i)]}),o("backdrop-saturate",{themeKeys:["--backdrop-saturate","--saturate"],handleBareValue:({value:e})=>Ce(e)?`${e}%`:null,handle:e=>[s(),T("--tw-backdrop-saturate",`saturate(${e})`),T("-webkit-backdrop-filter",a),T("backdrop-filter",a)]}),r("saturate",(()=>[{values:["0","50","100","150","200"],valueThemeKeys:["--saturate"]}])),r("backdrop-saturate",(()=>[{values:["0","50","100","150","200"],valueThemeKeys:["--backdrop-saturate","--saturate"]}])),o("sepia",{themeKeys:["--sepia"],handleBareValue:({value:e})=>Ce(e)?`${e}%`:null,defaultValue:"100%",handle:e=>[l(),T("--tw-sepia",`sepia(${e})`),T("filter",i)]}),o("backdrop-sepia",{themeKeys:["--backdrop-sepia","--sepia"],handleBareValue:({value:e})=>Ce(e)?`${e}%`:null,defaultValue:"100%",handle:e=>[s(),T("--tw-backdrop-sepia",`sepia(${e})`),T("-webkit-backdrop-filter",a),T("backdrop-filter",a)]}),r("sepia",(()=>[{values:["0","50","100"],valueThemeKeys:["--sepia"],hasDefaultValue:!0}])),r("backdrop-sepia",(()=>[{values:["0","50","100"],valueThemeKeys:["--backdrop-sepia","--sepia"],hasDefaultValue:!0}])),n("drop-shadow-none",[l,["--tw-drop-shadow"," "],["filter",i]]),t.functional("drop-shadow",(t=>{let r;if(t.modifier&&("arbitrary"===t.modifier.kind?r=t.modifier.value:Ce(t.modifier.value)&&(r=`${t.modifier.value}%`)),!t.value){let t=e.get(["--drop-shadow"]),n=e.resolve(null,["--drop-shadow"]);return null===t||null===n?void 0:[l(),T("--tw-drop-shadow-alpha",r),...He("--tw-drop-shadow-size",t,r,(e=>`var(--tw-drop-shadow-color, ${e})`)),T("--tw-drop-shadow",Z(n,",").map((e=>`drop-shadow(${e})`)).join(" ")),T("filter",i)]}if("arbitrary"===t.value.kind){let n=t.value.value;return"color"===(t.value.dataType??fe(n,["color"]))?(n=_e(n,t.modifier,e),null===n?void 0:[l(),T("--tw-drop-shadow-color",Re(n,"var(--tw-drop-shadow-alpha)")),T("--tw-drop-shadow","var(--tw-drop-shadow-size)")]):t.modifier&&!r?void 0:[l(),T("--tw-drop-shadow-alpha",r),...He("--tw-drop-shadow-size",n,r,(e=>`var(--tw-drop-shadow-color, ${e})`)),T("--tw-drop-shadow","var(--tw-drop-shadow-size)"),T("filter",i)]}{let n=e.get([`--drop-shadow-${t.value.value}`]),o=e.resolve(t.value.value,["--drop-shadow"]);if(n&&o)return t.modifier&&!r?void 0:r?[l(),T("--tw-drop-shadow-alpha",r),...He("--tw-drop-shadow-size",n,r,(e=>`var(--tw-drop-shadow-color, ${e})`)),T("--tw-drop-shadow","var(--tw-drop-shadow-size)"),T("filter",i)]:[l(),T("--tw-drop-shadow-alpha",r),...He("--tw-drop-shadow-size",n,r,(e=>`var(--tw-drop-shadow-color, ${e})`)),T("--tw-drop-shadow",Z(o,",").map((e=>`drop-shadow(${e})`)).join(" ")),T("filter",i)]}{let r=Me(t,e,["--drop-shadow-color","--color"]);if(r)return"inherit"===r?[l(),T("--tw-drop-shadow-color","inherit"),T("--tw-drop-shadow","var(--tw-drop-shadow-size)")]:[l(),T("--tw-drop-shadow-color",Re(r,"var(--tw-drop-shadow-alpha)")),T("--tw-drop-shadow","var(--tw-drop-shadow-size)")]}})),r("drop-shadow",(()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--drop-shadow-color","--color"],modifiers:Array.from({length:21},((e,t)=>""+5*t))},{valueThemeKeys:["--drop-shadow"]}])),o("backdrop-opacity",{themeKeys:["--backdrop-opacity","--opacity"],handleBareValue:({value:e})=>Ve(e)?`${e}%`:null,handle:e=>[s(),T("--tw-backdrop-opacity",`opacity(${e})`),T("-webkit-backdrop-filter",a),T("backdrop-filter",a)]}),r("backdrop-opacity",(()=>[{values:Array.from({length:21},((e,t)=>""+5*t)),valueThemeKeys:["--backdrop-opacity","--opacity"]}]))}{let i=`var(--tw-ease, ${e.resolve(null,["--default-transition-timing-function"])??"ease"})`,a=`var(--tw-duration, ${e.resolve(null,["--default-transition-duration"])??"0s"})`;o("transition",{defaultValue:"color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events",themeKeys:["--transition-property"],handle:e=>[T("transition-property",e),T("transition-timing-function",i),T("transition-duration",a)],staticValues:{none:[T("transition-property","none")],all:[T("transition-property","all"),T("transition-timing-function",i),T("transition-duration",a)],colors:[T("transition-property","color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to"),T("transition-timing-function",i),T("transition-duration",a)],opacity:[T("transition-property","opacity"),T("transition-timing-function",i),T("transition-duration",a)],shadow:[T("transition-property","box-shadow"),T("transition-timing-function",i),T("transition-duration",a)],transform:[T("transition-property","transform, translate, scale, rotate"),T("transition-timing-function",i),T("transition-duration",a)]}}),n("transition-discrete",[["transition-behavior","allow-discrete"]]),n("transition-normal",[["transition-behavior","normal"]]),o("delay",{handleBareValue:({value:e})=>Ce(e)?`${e}ms`:null,themeKeys:["--transition-delay"],handle:e=>[T("transition-delay",e)]});{let r=()=>K([We("--tw-duration")]);n("duration-initial",[r,["--tw-duration","initial"]]),t.functional("duration",(t=>{if(t.modifier||!t.value)return;let n=null;return"arbitrary"===t.value.kind?n=t.value.value:(n=e.resolve(t.value.fraction??t.value.value,["--transition-duration"]),null===n&&Ce(t.value.value)&&(n=`${t.value.value}ms`)),null!==n?[r(),T("--tw-duration",n),T("transition-duration",n)]:void 0}))}r("delay",(()=>[{values:["75","100","150","200","300","500","700","1000"],valueThemeKeys:["--transition-delay"]}])),r("duration",(()=>[{values:["75","100","150","200","300","500","700","1000"],valueThemeKeys:["--transition-duration"]}]))}{let e=()=>K([We("--tw-ease")]);o("ease",{themeKeys:["--ease"],handle:t=>[e(),T("--tw-ease",t),T("transition-timing-function",t)],staticValues:{initial:[e(),T("--tw-ease","initial")],linear:[e(),T("--tw-ease","linear"),T("transition-timing-function","linear")]}})}n("will-change-auto",[["will-change","auto"]]),n("will-change-scroll",[["will-change","scroll-position"]]),n("will-change-contents",[["will-change","contents"]]),n("will-change-transform",[["will-change","transform"]]),o("will-change",{themeKeys:[],handle:e=>[T("will-change",e)]}),n("content-none",[["--tw-content","none"],["content","none"]]),o("content",{themeKeys:["--content"],handle:e=>[K([We("--tw-content",'""')]),T("--tw-content",e),T("content","var(--tw-content)")]});{let e="var(--tw-contain-size,) var(--tw-contain-layout,) var(--tw-contain-paint,) var(--tw-contain-style,)",t=()=>K([We("--tw-contain-size"),We("--tw-contain-layout"),We("--tw-contain-paint"),We("--tw-contain-style")]);n("contain-none",[["contain","none"]]),n("contain-content",[["contain","content"]]),n("contain-strict",[["contain","strict"]]),n("contain-size",[t,["--tw-contain-size","size"],["contain",e]]),n("contain-inline-size",[t,["--tw-contain-size","inline-size"],["contain",e]]),n("contain-layout",[t,["--tw-contain-layout","layout"],["contain",e]]),n("contain-paint",[t,["--tw-contain-paint","paint"],["contain",e]]),n("contain-style",[t,["--tw-contain-style","style"],["contain",e]]),o("contain",{themeKeys:[],handle:e=>[T("contain",e)]})}n("forced-color-adjust-none",[["forced-color-adjust","none"]]),n("forced-color-adjust-auto",[["forced-color-adjust","auto"]]),a("leading",["--leading","--spacing"],(e=>[K([We("--tw-leading")]),T("--tw-leading",e),T("line-height",e)]),{staticValues:{none:[K([We("--tw-leading")]),T("--tw-leading","1"),T("line-height","1")]}}),o("tracking",{supportsNegative:!0,themeKeys:["--tracking"],handle:e=>[K([We("--tw-tracking")]),T("--tw-tracking",e),T("letter-spacing",e)]}),n("antialiased",[["-webkit-font-smoothing","antialiased"],["-moz-osx-font-smoothing","grayscale"]]),n("subpixel-antialiased",[["-webkit-font-smoothing","auto"],["-moz-osx-font-smoothing","auto"]]);{let e="var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)",t=()=>K([We("--tw-ordinal"),We("--tw-slashed-zero"),We("--tw-numeric-figure"),We("--tw-numeric-spacing"),We("--tw-numeric-fraction")]);n("normal-nums",[["font-variant-numeric","normal"]]),n("ordinal",[t,["--tw-ordinal","ordinal"],["font-variant-numeric",e]]),n("slashed-zero",[t,["--tw-slashed-zero","slashed-zero"],["font-variant-numeric",e]]),n("lining-nums",[t,["--tw-numeric-figure","lining-nums"],["font-variant-numeric",e]]),n("oldstyle-nums",[t,["--tw-numeric-figure","oldstyle-nums"],["font-variant-numeric",e]]),n("proportional-nums",[t,["--tw-numeric-spacing","proportional-nums"],["font-variant-numeric",e]]),n("tabular-nums",[t,["--tw-numeric-spacing","tabular-nums"],["font-variant-numeric",e]]),n("diagonal-fractions",[t,["--tw-numeric-fraction","diagonal-fractions"],["font-variant-numeric",e]]),n("stacked-fractions",[t,["--tw-numeric-fraction","stacked-fractions"],["font-variant-numeric",e]])}{let i=()=>K([We("--tw-outline-style","solid")]);t.static("outline-hidden",(()=>[T("--tw-outline-style","none"),T("outline-style","none"),S("@media","(forced-colors: active)",[T("outline","2px solid transparent"),T("outline-offset","2px")])])),n("outline-none",[["--tw-outline-style","none"],["outline-style","none"]]),n("outline-solid",[["--tw-outline-style","solid"],["outline-style","solid"]]),n("outline-dashed",[["--tw-outline-style","dashed"],["outline-style","dashed"]]),n("outline-dotted",[["--tw-outline-style","dotted"],["outline-style","dotted"]]),n("outline-double",[["--tw-outline-style","double"],["outline-style","double"]]),t.functional("outline",(t=>{if(null===t.value){if(t.modifier)return;let r=e.get(["--default-outline-width"])??"1px";return[i(),T("outline-style","var(--tw-outline-style)"),T("outline-width",r)]}if("arbitrary"===t.value.kind){let r=t.value.value;switch(t.value.dataType??fe(r,["color","length","number","percentage"])){case"length":case"number":case"percentage":return t.modifier?void 0:[i(),T("outline-style","var(--tw-outline-style)"),T("outline-width",r)];default:return r=_e(r,t.modifier,e),null===r?void 0:[T("outline-color",r)]}}{let r=Me(t,e,["--outline-color","--color"]);if(r)return[T("outline-color",r)]}{if(t.modifier)return;let r=e.resolve(t.value.value,["--outline-width"]);if(r)return[i(),T("outline-style","var(--tw-outline-style)"),T("outline-width",r)];if(Ce(t.value.value))return[i(),T("outline-style","var(--tw-outline-style)"),T("outline-width",`${t.value.value}px`)]}})),r("outline",(()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--outline-color","--color"],modifiers:Array.from({length:21},((e,t)=>""+5*t)),hasDefaultValue:!0},{values:["0","1","2","4","8"],valueThemeKeys:["--outline-width"]}])),o("outline-offset",{supportsNegative:!0,themeKeys:["--outline-offset"],handleBareValue:({value:e})=>Ce(e)?`${e}px`:null,handle:e=>[T("outline-offset",e)]}),r("outline-offset",(()=>[{supportsNegative:!0,values:["0","1","2","4","8"],valueThemeKeys:["--outline-offset"]}]))}o("opacity",{themeKeys:["--opacity"],handleBareValue:({value:e})=>Ve(e)?`${e}%`:null,handle:e=>[T("opacity",e)]}),r("opacity",(()=>[{values:Array.from({length:21},((e,t)=>""+5*t)),valueThemeKeys:["--opacity"]}])),o("underline-offset",{supportsNegative:!0,themeKeys:["--text-underline-offset"],handleBareValue:({value:e})=>Ce(e)?`${e}px`:null,handle:e=>[T("text-underline-offset",e)],staticValues:{auto:[T("text-underline-offset","auto")]}}),r("underline-offset",(()=>[{supportsNegative:!0,values:["0","1","2","4","8"],valueThemeKeys:["--text-underline-offset"]}])),t.functional("text",(t=>{if(t.value){if("arbitrary"===t.value.kind){let r=t.value.value;switch(t.value.dataType??fe(r,["color","length","percentage","absolute-size","relative-size"])){case"size":case"length":case"percentage":case"absolute-size":case"relative-size":if(t.modifier){let n="arbitrary"===t.modifier.kind?t.modifier.value:e.resolve(t.modifier.value,["--leading"]);if(!n&&je(t.modifier.value)){let r=e.resolve(null,["--spacing"]);if(!r)return null;n=`calc(${r} * ${t.modifier.value})`}return!n&&"none"===t.modifier.value&&(n="1"),n?[T("font-size",r),T("line-height",n)]:null}return[T("font-size",r)];default:return r=_e(r,t.modifier,e),null===r?void 0:[T("color",r)]}}{let r=Me(t,e,["--text-color","--color"]);if(r)return[T("color",r)]}{let r=e.resolveWith(t.value.value,["--text"],["--line-height","--letter-spacing","--font-weight"]);if(r){let[n,o={}]=Array.isArray(r)?r:[r];if(t.modifier){let r="arbitrary"===t.modifier.kind?t.modifier.value:e.resolve(t.modifier.value,["--leading"]);if(!r&&je(t.modifier.value)){let n=e.resolve(null,["--spacing"]);if(!n)return null;r=`calc(${n} * ${t.modifier.value})`}if(!r&&"none"===t.modifier.value&&(r="1"),!r)return null;let o=[T("font-size",n)];return r&&o.push(T("line-height",r)),o}return"string"==typeof o?[T("font-size",n),T("line-height",o)]:[T("font-size",n),T("line-height",o["--line-height"]?`var(--tw-leading, ${o["--line-height"]})`:void 0),T("letter-spacing",o["--letter-spacing"]?`var(--tw-tracking, ${o["--letter-spacing"]})`:void 0),T("font-weight",o["--font-weight"]?`var(--tw-font-weight, ${o["--font-weight"]})`:void 0)]}}}})),r("text",(()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--text-color","--color"],modifiers:Array.from({length:21},((e,t)=>""+5*t))},{values:[],valueThemeKeys:["--text"],modifiers:[],modifierThemeKeys:["--leading"]}]));let $=()=>K([We("--tw-text-shadow-color"),We("--tw-text-shadow-alpha","100%","")]);n("text-shadow-initial",[$,["--tw-text-shadow-color","initial"]]),t.functional("text-shadow",(t=>{let r;if(t.modifier&&("arbitrary"===t.modifier.kind?r=t.modifier.value:Ce(t.modifier.value)&&(r=`${t.modifier.value}%`)),!t.value){let t=e.get(["--text-shadow"]);return null===t?void 0:[$(),T("--tw-text-shadow-alpha",r),...qe("text-shadow",t,r,(e=>`var(--tw-text-shadow-color, ${e})`))]}if("arbitrary"===t.value.kind){let n=t.value.value;return"color"===(t.value.dataType??fe(n,["color"]))?(n=_e(n,t.modifier,e),null===n?void 0:[$(),T("--tw-text-shadow-color",Re(n,"var(--tw-text-shadow-alpha)"))]):[$(),T("--tw-text-shadow-alpha",r),...qe("text-shadow",n,r,(e=>`var(--tw-text-shadow-color, ${e})`))]}switch(t.value.value){case"none":return t.modifier?void 0:[$(),T("text-shadow","none")];case"inherit":return t.modifier?void 0:[$(),T("--tw-text-shadow-color","inherit")]}{let n=e.get([`--text-shadow-${t.value.value}`]);if(n)return[$(),T("--tw-text-shadow-alpha",r),...qe("text-shadow",n,r,(e=>`var(--tw-text-shadow-color, ${e})`))]}{let r=Me(t,e,["--text-shadow-color","--color"]);if(r)return[$(),T("--tw-text-shadow-color",Re(r,"var(--tw-text-shadow-alpha)"))]}})),r("text-shadow",(()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--text-shadow-color","--color"],modifiers:Array.from({length:21},((e,t)=>""+5*t))},{values:["none"]},{valueThemeKeys:["--text-shadow"],modifiers:Array.from({length:21},((e,t)=>""+5*t)),hasDefaultValue:null!==e.get(["--text-shadow"])}]));{let o=function(e){return`var(--tw-ring-inset,) 0 0 0 calc(${e} + var(--tw-ring-offset-width)) var(--tw-ring-color, ${c})`},i=function(e){return`inset 0 0 0 ${e} var(--tw-inset-ring-color, currentcolor)`},a=["var(--tw-inset-shadow)","var(--tw-inset-ring-shadow)","var(--tw-ring-offset-shadow)","var(--tw-ring-shadow)","var(--tw-shadow)"].join(", "),l="0 0 #0000",s=()=>K([We("--tw-shadow",l),We("--tw-shadow-color"),We("--tw-shadow-alpha","100%",""),We("--tw-inset-shadow",l),We("--tw-inset-shadow-color"),We("--tw-inset-shadow-alpha","100%",""),We("--tw-ring-color"),We("--tw-ring-shadow",l),We("--tw-inset-ring-color"),We("--tw-inset-ring-shadow",l),We("--tw-ring-inset"),We("--tw-ring-offset-width","0px",""),We("--tw-ring-offset-color","#fff"),We("--tw-ring-offset-shadow",l)]);n("shadow-initial",[s,["--tw-shadow-color","initial"]]),t.functional("shadow",(t=>{let r;if(t.modifier&&("arbitrary"===t.modifier.kind?r=t.modifier.value:Ce(t.modifier.value)&&(r=`${t.modifier.value}%`)),!t.value){let t=e.get(["--shadow"]);return null===t?void 0:[s(),T("--tw-shadow-alpha",r),...qe("--tw-shadow",t,r,(e=>`var(--tw-shadow-color, ${e})`)),T("box-shadow",a)]}if("arbitrary"===t.value.kind){let n=t.value.value;return"color"===(t.value.dataType??fe(n,["color"]))?(n=_e(n,t.modifier,e),null===n?void 0:[s(),T("--tw-shadow-color",Re(n,"var(--tw-shadow-alpha)"))]):[s(),T("--tw-shadow-alpha",r),...qe("--tw-shadow",n,r,(e=>`var(--tw-shadow-color, ${e})`)),T("box-shadow",a)]}switch(t.value.value){case"none":return t.modifier?void 0:[s(),T("--tw-shadow",l),T("box-shadow",a)];case"inherit":return t.modifier?void 0:[s(),T("--tw-shadow-color","inherit")]}{let n=e.get([`--shadow-${t.value.value}`]);if(n)return[s(),T("--tw-shadow-alpha",r),...qe("--tw-shadow",n,r,(e=>`var(--tw-shadow-color, ${e})`)),T("box-shadow",a)]}{let r=Me(t,e,["--box-shadow-color","--color"]);if(r)return[s(),T("--tw-shadow-color",Re(r,"var(--tw-shadow-alpha)"))]}})),r("shadow",(()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--box-shadow-color","--color"],modifiers:Array.from({length:21},((e,t)=>""+5*t))},{values:["none"]},{valueThemeKeys:["--shadow"],modifiers:Array.from({length:21},((e,t)=>""+5*t)),hasDefaultValue:null!==e.get(["--shadow"])}])),n("inset-shadow-initial",[s,["--tw-inset-shadow-color","initial"]]),t.functional("inset-shadow",(t=>{let r;if(t.modifier&&("arbitrary"===t.modifier.kind?r=t.modifier.value:Ce(t.modifier.value)&&(r=`${t.modifier.value}%`)),!t.value){let t=e.get(["--inset-shadow"]);return null===t?void 0:[s(),T("--tw-inset-shadow-alpha",r),...qe("--tw-inset-shadow",t,r,(e=>`var(--tw-inset-shadow-color, ${e})`)),T("box-shadow",a)]}if("arbitrary"===t.value.kind){let n=t.value.value;return"color"===(t.value.dataType??fe(n,["color"]))?(n=_e(n,t.modifier,e),null===n?void 0:[s(),T("--tw-inset-shadow-color",Re(n,"var(--tw-inset-shadow-alpha)"))]):[s(),T("--tw-inset-shadow-alpha",r),...qe("--tw-inset-shadow",n,r,(e=>`var(--tw-inset-shadow-color, ${e})`),"inset"),T("box-shadow",a)]}switch(t.value.value){case"none":return t.modifier?void 0:[s(),T("--tw-inset-shadow",l),T("box-shadow",a)];case"inherit":return t.modifier?void 0:[s(),T("--tw-inset-shadow-color","inherit")]}{let n=e.get([`--inset-shadow-${t.value.value}`]);if(n)return[s(),T("--tw-inset-shadow-alpha",r),...qe("--tw-inset-shadow",n,r,(e=>`var(--tw-inset-shadow-color, ${e})`)),T("box-shadow",a)]}{let r=Me(t,e,["--box-shadow-color","--color"]);if(r)return[s(),T("--tw-inset-shadow-color",Re(r,"var(--tw-inset-shadow-alpha)"))]}})),r("inset-shadow",(()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--box-shadow-color","--color"],modifiers:Array.from({length:21},((e,t)=>""+5*t))},{values:["none"]},{valueThemeKeys:["--inset-shadow"],modifiers:Array.from({length:21},((e,t)=>""+5*t)),hasDefaultValue:null!==e.get(["--inset-shadow"])}])),n("ring-inset",[s,["--tw-ring-inset","inset"]]);let c=e.get(["--default-ring-color"])??"currentcolor";t.functional("ring",(t=>{if(!t.value){if(t.modifier)return;let r=e.get(["--default-ring-width"])??"1px";return[s(),T("--tw-ring-shadow",o(r)),T("box-shadow",a)]}if("arbitrary"===t.value.kind){let r=t.value.value;return"length"===(t.value.dataType??fe(r,["color","length"]))?t.modifier?void 0:[s(),T("--tw-ring-shadow",o(r)),T("box-shadow",a)]:(r=_e(r,t.modifier,e),null===r?void 0:[T("--tw-ring-color",r)])}{let r=Me(t,e,["--ring-color","--color"]);if(r)return[T("--tw-ring-color",r)]}{if(t.modifier)return;let r=e.resolve(t.value.value,["--ring-width"]);if(null===r&&Ce(t.value.value)&&(r=`${t.value.value}px`),r)return[s(),T("--tw-ring-shadow",o(r)),T("box-shadow",a)]}})),r("ring",(()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--ring-color","--color"],modifiers:Array.from({length:21},((e,t)=>""+5*t))},{values:["0","1","2","4","8"],valueThemeKeys:["--ring-width"],hasDefaultValue:!0}])),t.functional("inset-ring",(t=>{if(!t.value)return t.modifier?void 0:[s(),T("--tw-inset-ring-shadow",i("1px")),T("box-shadow",a)];if("arbitrary"===t.value.kind){let r=t.value.value;return"length"===(t.value.dataType??fe(r,["color","length"]))?t.modifier?void 0:[s(),T("--tw-inset-ring-shadow",i(r)),T("box-shadow",a)]:(r=_e(r,t.modifier,e),null===r?void 0:[T("--tw-inset-ring-color",r)])}{let r=Me(t,e,["--ring-color","--color"]);if(r)return[T("--tw-inset-ring-color",r)]}{if(t.modifier)return;let r=e.resolve(t.value.value,["--ring-width"]);if(null===r&&Ce(t.value.value)&&(r=`${t.value.value}px`),r)return[s(),T("--tw-inset-ring-shadow",i(r)),T("box-shadow",a)]}})),r("inset-ring",(()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--ring-color","--color"],modifiers:Array.from({length:21},((e,t)=>""+5*t))},{values:["0","1","2","4","8"],valueThemeKeys:["--ring-width"],hasDefaultValue:!0}]));let u="var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)";t.functional("ring-offset",(t=>{if(t.value){if("arbitrary"===t.value.kind){let r=t.value.value;return"length"===(t.value.dataType??fe(r,["color","length"]))?t.modifier?void 0:[T("--tw-ring-offset-width",r),T("--tw-ring-offset-shadow",u)]:(r=_e(r,t.modifier,e),null===r?void 0:[T("--tw-ring-offset-color",r)])}{let r=e.resolve(t.value.value,["--ring-offset-width"]);if(r)return t.modifier?void 0:[T("--tw-ring-offset-width",r),T("--tw-ring-offset-shadow",u)];if(Ce(t.value.value))return t.modifier?void 0:[T("--tw-ring-offset-width",`${t.value.value}px`),T("--tw-ring-offset-shadow",u)]}{let r=Me(t,e,["--ring-offset-color","--color"]);if(r)return[T("--tw-ring-offset-color",r)]}}}))}return r("ring-offset",(()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--ring-offset-color","--color"],modifiers:Array.from({length:21},((e,t)=>""+5*t))},{values:["0","1","2","4","8"],valueThemeKeys:["--ring-offset-width"]}])),t.functional("@container",(e=>{let t=null;if(null===e.value?t="inline-size":"arbitrary"===e.value.kind?t=e.value.value:"named"===e.value.kind&&"normal"===e.value.value&&(t="normal"),null!==t)return e.modifier?[T("container-type",t),T("container-name",e.modifier.value)]:[T("container-type",t)]})),r("@container",(()=>[{values:["normal"],valueThemeKeys:[],hasDefaultValue:!0}])),t}(e),n=function(e){let t=new dt;function r(e,r,{compounds:n}={}){n=n??ft(r),t.static(e,(e=>{e.nodes=r.map((t=>C(t,e.nodes)))}),{compounds:n})}function n(e,t){return t.map((t=>{let r=Z(t=t.trim()," ");return"not"===r[0]?r.slice(1).join(" "):"@container"===e?"("===r[0][0]?`not ${t}`:"not"===r[1]?`${r[0]} ${r.slice(2).join(" ")}`:`${r[0]} not ${r.slice(1).join(" ")}`:`not ${t}`}))}r("*",[":is(& > *)"],{compounds:0}),r("**",[":is(& *)"],{compounds:0});let o=["@media","@supports","@container"];function i(e){for(let t of o){if(t!==e.name)continue;let r=Z(e.params,",");return r.length>1?null:(r=n(e.name,r),S(e.name,r.join(", ")))}return null}function a(e){return e.includes("::")?null:`&:not(${Z(e,",").map((e=>e.replaceAll("&","*"))).join(", ")})`}t.compound("not",3,((e,t)=>{if("arbitrary"===t.variant.kind&&t.variant.relative||t.modifier)return null;let r=!1;return y([e],((t,n)=>{if("rule"!==t.kind&&"at-rule"!==t.kind)return b.Continue;if(t.nodes.length>0)return b.Continue;let o=[],l=[],s=n.path();s.push(t);for(let e of s)"at-rule"===e.kind?o.push(e):"rule"===e.kind&&l.push(e);if(o.length>1)return b.Stop;if(l.length>1)return b.Stop;let c=[];for(let e of l){let t=a(e.selector);if(!t)return r=!1,b.Stop;c.push(A(t,[]))}for(let e of o){let t=i(e);if(!t)return r=!1,b.Stop;c.push(t)}return Object.assign(e,A("&",c)),r=!0,b.Skip})),"rule"===e.kind&&"&"===e.selector&&1===e.nodes.length&&Object.assign(e,e.nodes[0]),r?void 0:null})),t.suggest("not",(()=>Array.from(t.keys()).filter((e=>t.compoundsWith("not",e))))),t.compound("group",2,((t,r)=>{if("arbitrary"===r.variant.kind&&r.variant.relative)return null;let n=r.modifier?`:where(.${e.prefix?`${e.prefix}\\:`:""}group\\/${r.modifier.value})`:`:where(.${e.prefix?`${e.prefix}\\:`:""}group)`,o=!1;return y([t],((e,t)=>{if("rule"!==e.kind)return b.Continue;for(let e of t.path())if("rule"===e.kind)return o=!1,b.Stop;let r=e.selector.replaceAll("&",n);Z(r,",").length>1&&(r=`:is(${r})`),e.selector=`&:is(${r} *)`,o=!0})),o?void 0:null})),t.suggest("group",(()=>Array.from(t.keys()).filter((e=>t.compoundsWith("group",e))))),t.compound("peer",2,((t,r)=>{if("arbitrary"===r.variant.kind&&r.variant.relative)return null;let n=r.modifier?`:where(.${e.prefix?`${e.prefix}\\:`:""}peer\\/${r.modifier.value})`:`:where(.${e.prefix?`${e.prefix}\\:`:""}peer)`,o=!1;return y([t],((e,t)=>{if("rule"!==e.kind)return b.Continue;for(let e of t.path())if("rule"===e.kind)return o=!1,b.Stop;let r=e.selector.replaceAll("&",n);Z(r,",").length>1&&(r=`:is(${r})`),e.selector=`&:is(${r} ~ *)`,o=!0})),o?void 0:null})),t.suggest("peer",(()=>Array.from(t.keys()).filter((e=>t.compoundsWith("peer",e))))),r("first-letter",["&::first-letter"]),r("first-line",["&::first-line"]),r("marker",["& *::marker","&::marker","& *::-webkit-details-marker","&::-webkit-details-marker"]),r("selection",["& *::selection","&::selection"]),r("file",["&::file-selector-button"]),r("placeholder",["&::placeholder"]),r("backdrop",["&::backdrop"]),r("details-content",["&::details-content"]);{let e=function(){return K([S("@property","--tw-content",[T("syntax",'"*"'),T("initial-value",'""'),T("inherits","false")])])};t.static("before",(t=>{t.nodes=[A("&::before",[e(),T("content","var(--tw-content)"),...t.nodes])]}),{compounds:0}),t.static("after",(t=>{t.nodes=[A("&::after",[e(),T("content","var(--tw-content)"),...t.nodes])]}),{compounds:0})}r("first",["&:first-child"]),r("last",["&:last-child"]),r("only",["&:only-child"]),r("odd",["&:nth-child(odd)"]),r("even",["&:nth-child(even)"]),r("first-of-type",["&:first-of-type"]),r("last-of-type",["&:last-of-type"]),r("only-of-type",["&:only-of-type"]),r("visited",["&:visited"]),r("target",["&:target"]),r("open",["&:is([open], :popover-open, :open)"]),r("default",["&:default"]),r("checked",["&:checked"]),r("indeterminate",["&:indeterminate"]),r("placeholder-shown",["&:placeholder-shown"]),r("autofill",["&:autofill"]),r("optional",["&:optional"]),r("required",["&:required"]),r("valid",["&:valid"]),r("invalid",["&:invalid"]),r("user-valid",["&:user-valid"]),r("user-invalid",["&:user-invalid"]),r("in-range",["&:in-range"]),r("out-of-range",["&:out-of-range"]),r("read-only",["&:read-only"]),r("empty",["&:empty"]),r("focus-within",["&:focus-within"]),t.static("hover",(e=>{e.nodes=[A("&:hover",[S("@media","(hover: hover)",e.nodes)])]})),r("focus",["&:focus"]),r("focus-visible",["&:focus-visible"]),r("active",["&:active"]),r("enabled",["&:enabled"]),r("disabled",["&:disabled"]),r("inert",["&:is([inert], [inert] *)"]),t.compound("in",2,((e,t)=>{if(t.modifier)return null;let r=!1;return y([e],((e,t)=>{if("rule"!==e.kind)return b.Continue;for(let e of t.path())if("rule"===e.kind)return r=!1,b.Stop;e.selector=`:where(${e.selector.replaceAll("&","*")}) &`,r=!0})),r?void 0:null})),t.suggest("in",(()=>Array.from(t.keys()).filter((e=>t.compoundsWith("in",e))))),t.compound("has",2,((e,t)=>{if(t.modifier)return null;let r=!1;return y([e],((e,t)=>{if("rule"!==e.kind)return b.Continue;for(let e of t.path())if("rule"===e.kind)return r=!1,b.Stop;e.selector=`&:has(${e.selector.replaceAll("&","*")})`,r=!0})),r?void 0:null})),t.suggest("has",(()=>Array.from(t.keys()).filter((e=>t.compoundsWith("has",e))))),t.functional("aria",((e,t)=>{if(!t.value||t.modifier)return null;"arbitrary"===t.value.kind?e.nodes=[A(`&[aria-${pt(t.value.value)}]`,e.nodes)]:e.nodes=[A(`&[aria-${t.value.value}="true"]`,e.nodes)]})),t.suggest("aria",(()=>["busy","checked","disabled","expanded","hidden","pressed","readonly","required","selected"])),t.functional("data",((e,t)=>{if(!t.value||t.modifier)return null;e.nodes=[A(`&[data-${pt(t.value.value)}]`,e.nodes)]})),t.functional("nth",((e,t)=>{if(!t.value||t.modifier||"named"===t.value.kind&&!Ce(t.value.value))return null;e.nodes=[A(`&:nth-child(${t.value.value})`,e.nodes)]})),t.functional("nth-last",((e,t)=>{if(!t.value||t.modifier||"named"===t.value.kind&&!Ce(t.value.value))return null;e.nodes=[A(`&:nth-last-child(${t.value.value})`,e.nodes)]})),t.functional("nth-of-type",((e,t)=>{if(!t.value||t.modifier||"named"===t.value.kind&&!Ce(t.value.value))return null;e.nodes=[A(`&:nth-of-type(${t.value.value})`,e.nodes)]})),t.functional("nth-last-of-type",((e,t)=>{if(!t.value||t.modifier||"named"===t.value.kind&&!Ce(t.value.value))return null;e.nodes=[A(`&:nth-last-of-type(${t.value.value})`,e.nodes)]})),t.functional("supports",((e,t)=>{if(!t.value||t.modifier)return null;let r=t.value.value;if(null===r)return null;if(/^[\w-]*\s*\(/.test(r)){let t=r.replace(/\b(and|or|not)\b/g," $1 ");e.nodes=[S("@supports",t,e.nodes)]}else r.includes(":")||(r=`${r}: var(--tw)`),("("!==r[0]||")"!==r[r.length-1])&&(r=`(${r})`),e.nodes=[S("@supports",r,e.nodes)]}),{compounds:1}),r("motion-safe",["@media (prefers-reduced-motion: no-preference)"]),r("motion-reduce",["@media (prefers-reduced-motion: reduce)"]),r("contrast-more",["@media (prefers-contrast: more)"]),r("contrast-less",["@media (prefers-contrast: less)"]);{let r=function(e,t,r,n){if(e===t)return 0;let o=n.get(e);if(null===o)return"asc"===r?-1:1;let i=n.get(t);return null===i?"asc"===r?1:-1:se(o,i,r)};{let n=e.namespace("--breakpoint"),o=new f((t=>{switch(t.kind){case"static":return e.resolveValue(t.root,["--breakpoint"])??null;case"functional":{if(!t.value||t.modifier)return null;let r=null;return"arbitrary"===t.value.kind?r=t.value.value:"named"===t.value.kind&&(r=e.resolveValue(t.value.value,["--breakpoint"])),!r||r.includes("var(")?null:r}case"arbitrary":case"compound":return null}}));t.group((()=>{t.functional("max",((e,t)=>{if(t.modifier)return null;let r=o.get(t);if(null===r)return null;e.nodes=[S("@media",`(width < ${r})`,e.nodes)]}),{compounds:1})}),((e,t)=>r(e,t,"desc",o))),t.suggest("max",(()=>Array.from(n.keys()).filter((e=>null!==e)))),t.group((()=>{for(let[r,n]of e.namespace("--breakpoint"))null!==r&&t.static(r,(e=>{e.nodes=[S("@media",`(width >= ${n})`,e.nodes)]}),{compounds:1});t.functional("min",((e,t)=>{if(t.modifier)return null;let r=o.get(t);if(null===r)return null;e.nodes=[S("@media",`(width >= ${r})`,e.nodes)]}),{compounds:1})}),((e,t)=>r(e,t,"asc",o))),t.suggest("min",(()=>Array.from(n.keys()).filter((e=>null!==e))))}{let n=e.namespace("--container"),o=new f((t=>{switch(t.kind){case"functional":{if(null===t.value)return null;let r=null;return"arbitrary"===t.value.kind?r=t.value.value:"named"===t.value.kind&&(r=e.resolveValue(t.value.value,["--container"])),!r||r.includes("var(")?null:r}case"static":case"arbitrary":case"compound":return null}}));t.group((()=>{t.functional("@max",((e,t)=>{let r=o.get(t);if(null===r)return null;e.nodes=[S("@container",t.modifier?`${t.modifier.value} (width < ${r})`:`(width < ${r})`,e.nodes)]}),{compounds:1})}),((e,t)=>r(e,t,"desc",o))),t.suggest("@max",(()=>Array.from(n.keys()).filter((e=>null!==e)))),t.group((()=>{t.functional("@",((e,t)=>{let r=o.get(t);if(null===r)return null;e.nodes=[S("@container",t.modifier?`${t.modifier.value} (width >= ${r})`:`(width >= ${r})`,e.nodes)]}),{compounds:1}),t.functional("@min",((e,t)=>{let r=o.get(t);if(null===r)return null;e.nodes=[S("@container",t.modifier?`${t.modifier.value} (width >= ${r})`:`(width >= ${r})`,e.nodes)]}),{compounds:1})}),((e,t)=>r(e,t,"asc",o))),t.suggest("@min",(()=>Array.from(n.keys()).filter((e=>null!==e)))),t.suggest("@",(()=>Array.from(n.keys()).filter((e=>null!==e))))}}return r("portrait",["@media (orientation: portrait)"]),r("landscape",["@media (orientation: landscape)"]),r("ltr",['&:where(:dir(ltr), [dir="ltr"], [dir="ltr"] *)']),r("rtl",['&:where(:dir(rtl), [dir="rtl"], [dir="rtl"] *)']),r("dark",["@media (prefers-color-scheme: dark)"]),r("starting",["@starting-style"]),r("print",["@media print"]),r("forced-colors",["@media (forced-colors: active)"]),r("inverted-colors",["@media (inverted-colors: inverted)"]),r("pointer-none",["@media (pointer: none)"]),r("pointer-coarse",["@media (pointer: coarse)"]),r("pointer-fine",["@media (pointer: fine)"]),r("any-pointer-none",["@media (any-pointer: none)"]),r("any-pointer-coarse",["@media (any-pointer: coarse)"]),r("any-pointer-fine",["@media (any-pointer: fine)"]),r("noscript",["@media (scripting: none)"]),t}(e),o=new f((e=>function(e,t){if("["===e[0]&&"]"===e[e.length-1]){if("@"===e[1]&&e.includes("&"))return null;let t=M(e.slice(1,-1));if(!q(t)||0===t.length||0===t.trim().length)return null;let r=">"===t[0]||"+"===t[0]||"~"===t[0];return!r&&"@"!==t[0]&&!t.includes("&")&&(t=`&:is(${t})`),{kind:"arbitrary",selector:t,relative:r}}{let[r,n=null,o]=Z(e,"/");if(o)return null;let i=J(r,(e=>t.variants.has(e)));for(let[e,r]of i)switch(t.variants.kind(e)){case"static":return null!==r||null!==n?null:{kind:"static",root:e};case"functional":{let t=null===n?null:G(n);if(null!==n&&null===t)return null;if(null===r)return{kind:"functional",root:e,modifier:t,value:null};if("]"===r[r.length-1]){if("["!==r[0])continue;let n=M(r.slice(1,-1));return q(n)&&0!==n.length&&0!==n.trim().length?{kind:"functional",root:e,modifier:t,value:{kind:"arbitrary",value:n}}:null}if(")"===r[r.length-1]){if("("!==r[0])continue;let n=M(r.slice(1,-1));return q(n)&&0!==n.length&&0!==n.trim().length&&"-"===n[0]&&"-"===n[1]?{kind:"functional",root:e,modifier:t,value:{kind:"arbitrary",value:`var(${n})`}}:null}if(!Y.test(r))continue;return{kind:"functional",root:e,modifier:t,value:{kind:"named",value:r}}}case"compound":{if(null===r)return null;n&&("not"===e||"has"===e||"in"===e)&&(r=`${r}/${n}`,n=null);let o=t.parseVariant(r);if(null===o||!t.variants.compoundsWith(e,o))return null;let i=null===n?null:G(n);return null!==n&&null===i?null:{kind:"compound",root:e,modifier:i,variant:o}}}}return null}(e,u))),i=new f((e=>Array.from(function*(e,t){let r=Z(e,":");if(t.theme.prefix){if(1===r.length||r[0]!==t.theme.prefix)return null;r.shift()}let n=r.pop(),o=[];for(let e=r.length-1;e>=0;--e){let n=t.parseVariant(r[e]);if(null===n)return;o.push(n)}let i=!1;"!"===n[n.length-1]?(i=!0,n=n.slice(0,-1)):"!"===n[0]&&(i=!0,n=n.slice(1)),t.utilities.has(n,"static")&&!n.includes("[")&&(yield{kind:"static",root:n,variants:o,important:i,raw:e});let[a,l=null,s]=Z(n,"/");if(s)return;let c,u=null===l?null:G(l);if(null===l||null!==u)if("["!==a[0]){if("]"===a[a.length-1]){let e=a.indexOf("-[");if(-1===e)return;let r=a.slice(0,e);if(!t.utilities.has(r,"functional"))return;c=[[r,a.slice(e+1)]]}else if(")"===a[a.length-1]){let e=a.indexOf("-(");if(-1===e)return;let r=a.slice(0,e);if(!t.utilities.has(r,"functional"))return;let n=a.slice(e+2,-1),o=Z(n,":"),i=null;if(2===o.length&&(i=o[0],n=o[1]),"-"!==n[0]||"-"!==n[1]||!q(n))return;c=[[r,null===i?`[var(${n})]`:`[${i}:var(${n})]`]]}else c=J(a,(e=>t.utilities.has(e,"functional")));for(let[t,r]of c){let n={kind:"functional",root:t,modifier:u,value:null,variants:o,important:i,raw:e};if(null!==r){{let e=r.indexOf("[");if(-1!==e){if("]"!==r[r.length-1])return;let t=M(r.slice(e+1,-1));if(!q(t))continue;let o=null;for(let e=0;e=97&&r<=122))break}if(0===t.length||0===t.trim().length||""===o)continue;n.value={kind:"arbitrary",dataType:o||null,value:t}}else{let e=null===l||"arbitrary"===n.modifier?.kind?null:`${r}/${l}`;if(!Y.test(r))continue;n.value={kind:"named",value:r,fraction:e}}}yield n}else yield n}}else{if("]"!==a[a.length-1])return;let t=a.charCodeAt(1);if(45!==t&&!(t>=97&&t<=122))return;a=a.slice(1,-1);let r=a.indexOf(":");if(-1===r||0===r||r===a.length-1)return;let n=a.slice(0,r),l=M(a.slice(r+1));if(!q(l))return;yield{kind:"arbitrary",property:n,value:l,modifier:u,variants:o,important:i,raw:e}}}(e,u)))),a=new f((e=>new f((t=>{let r=function(e,t,r){let n=function(e,t){if("arbitrary"===e.kind){let r=e.value;return e.modifier&&(r=_e(r,e.modifier,t.theme)),null===r?[]:[[T(e.property,r)]]}let r=t.utilities.get(e.root)??[],n=[],o=r.filter((e=>!bt(e)));for(let t of o){if(t.kind!==e.kind)continue;let r=t.compileFn(e);if(void 0!==r){if(null===r)return n;n.push(r)}}if(n.length>0)return n;let i=r.filter((e=>bt(e)));for(let t of i){if(t.kind!==e.kind)continue;let r=t.compileFn(e);if(void 0!==r){if(null===r)return n;n.push(r)}}return n}(e,t);if(0===n.length)return[];let o=t.important&&!!(1&r),i=[],a=`.${l(e.raw)}`;for(let r of n){let n=xt(r);(e.important||o)&&yt(r);let l={kind:"rule",selector:a,nodes:r};for(let r of e.variants)if(null===wt(l,r,t.variants))return[];i.push({node:l,propertySort:n})}return i}(t,u,e);try{st(r.map((({node:e})=>e)),u),mt(r.map((({node:e})=>e)),u)}catch{return[]}return r})))),s=new f((t=>{for(let r of $(t))e.markUsedVariable(r)}));function c(e){let r=[];for(let n of e){let e=!0,{astNodes:o}=kt([n],u,{onInvalidCandidate(){e=!1}});t&&y(o,(e=>(e.src??=t,b.Continue))),o=O(o,u,0),r.push(e?o:[])}return r}let u={theme:e,utilities:r,variants:n,invalidCandidates:new Set,important:!1,candidatesToCss:function(e){return c(e).map((e=>e.length>0?F(e):null))},candidatesToAst:c,getClassOrder(e){return function(e,t){let{astNodes:r,nodeSorting:n}=kt(Array.from(t),e),o=new Map(t.map((e=>[e,null]))),i=0n;for(let e of r){let t=n.get(e)?.candidate;t&&o.set(t,o.get(t)??i++)}return t.map((e=>[e,o.get(e)??null]))}(this,e)},getClassList:()=>[],getVariants:()=>[],parseCandidate:e=>i.get(e),parseVariant:e=>o.get(e),compileAstNodes:(e,t=1)=>a.get(t).get(e),printCandidate:e=>function(e,t){let r=[];for(let e of t.variants)r.unshift(Q(e));e.theme.prefix&&r.unshift(e.theme.prefix);let n="";if("static"===t.kind&&(n+=t.root),"functional"===t.kind&&(n+=t.root,t.value))if("arbitrary"===t.value.kind){if(null!==t.value){let e=ie(t.value.value),r=e?t.value.value.slice(4,-1):t.value.value,[o,i]=e?["(",")"]:["[","]"];t.value.dataType?n+=`-${o}${t.value.dataType}:${te(r)}${i}`:n+=`-${o}${te(r)}${i}`}}else"named"===t.value.kind&&(n+=`-${t.value.value}`);return"arbitrary"===t.kind&&(n+=`[${t.property}:${te(t.value)}]`),("arbitrary"===t.kind||"functional"===t.kind)&&(n+=X(t.modifier)),t.important&&(n+="!"),r.push(n),r.join(":")}(u,e),printVariant:e=>Q(e),getVariantOrder(){let e=Array.from(o.values());e.sort(((e,t)=>this.variants.compare(e,t)));let t,r=new Map,n=0;for(let o of e)null!==o&&(void 0!==t&&0!==this.variants.compare(t,o)&&n++,r.set(o,n),t=o);return r},resolveThemeValue(t,r=!0){let n=t.lastIndexOf("/"),o=null;-1!==n&&(o=t.slice(n+1).trim(),t=t.slice(0,n).trim());let i=e.resolve(null,[t],r?1:0)??void 0;return o&&i?Re(i,o):i},trackUsedVariables(e){s.get(e)},canonicalizeCandidates:(e,t)=>[],storage:{}};return u}var vt=["container-type","pointer-events","visibility","position","inset","inset-inline","inset-block","inset-inline-start","inset-inline-end","inset-block-start","inset-block-end","top","right","bottom","left","isolation","z-index","order","grid-column","grid-column-start","grid-column-end","grid-row","grid-row-start","grid-row-end","float","clear","--tw-container-component","margin","margin-inline","margin-block","margin-inline-start","margin-inline-end","margin-block-start","margin-block-end","margin-top","margin-right","margin-bottom","margin-left","box-sizing","display","field-sizing","aspect-ratio","height","max-height","min-height","width","max-width","min-width","flex","flex-shrink","flex-grow","flex-basis","table-layout","caption-side","border-collapse","border-spacing","transform-origin","translate","--tw-translate-x","--tw-translate-y","--tw-translate-z","scale","--tw-scale-x","--tw-scale-y","--tw-scale-z","rotate","--tw-rotate-x","--tw-rotate-y","--tw-rotate-z","--tw-skew-x","--tw-skew-y","transform","animation","cursor","touch-action","--tw-pan-x","--tw-pan-y","--tw-pinch-zoom","resize","scroll-snap-type","--tw-scroll-snap-strictness","scroll-snap-align","scroll-snap-stop","scroll-margin","scroll-margin-inline","scroll-margin-block","scroll-margin-inline-start","scroll-margin-inline-end","scroll-margin-block-start","scroll-margin-block-end","scroll-margin-top","scroll-margin-right","scroll-margin-bottom","scroll-margin-left","scroll-padding","scroll-padding-inline","scroll-padding-block","scroll-padding-inline-start","scroll-padding-inline-end","scroll-padding-block-start","scroll-padding-block-end","scroll-padding-top","scroll-padding-right","scroll-padding-bottom","scroll-padding-left","list-style-position","list-style-type","list-style-image","appearance","columns","break-before","break-inside","break-after","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-template-columns","grid-template-rows","flex-direction","flex-wrap","place-content","place-items","align-content","align-items","justify-content","justify-items","gap","column-gap","row-gap","--tw-space-x-reverse","--tw-space-y-reverse","divide-x-width","divide-y-width","--tw-divide-y-reverse","divide-style","divide-color","place-self","align-self","justify-self","overflow","overflow-x","overflow-y","overscroll-behavior","overscroll-behavior-x","overscroll-behavior-y","scroll-behavior","border-radius","border-start-radius","border-end-radius","border-top-radius","border-right-radius","border-bottom-radius","border-left-radius","border-start-start-radius","border-start-end-radius","border-end-end-radius","border-end-start-radius","border-top-left-radius","border-top-right-radius","border-bottom-right-radius","border-bottom-left-radius","border-width","border-inline-width","border-block-width","border-inline-start-width","border-inline-end-width","border-block-start-width","border-block-end-width","border-top-width","border-right-width","border-bottom-width","border-left-width","border-style","border-inline-style","border-block-style","border-inline-start-style","border-inline-end-style","border-block-start-style","border-block-end-style","border-top-style","border-right-style","border-bottom-style","border-left-style","border-color","border-inline-color","border-block-color","border-inline-start-color","border-inline-end-color","border-block-start-color","border-block-end-color","border-top-color","border-right-color","border-bottom-color","border-left-color","background-color","background-image","--tw-gradient-position","--tw-gradient-stops","--tw-gradient-via-stops","--tw-gradient-from","--tw-gradient-from-position","--tw-gradient-via","--tw-gradient-via-position","--tw-gradient-to","--tw-gradient-to-position","mask-image","--tw-mask-top","--tw-mask-top-from-color","--tw-mask-top-from-position","--tw-mask-top-to-color","--tw-mask-top-to-position","--tw-mask-right","--tw-mask-right-from-color","--tw-mask-right-from-position","--tw-mask-right-to-color","--tw-mask-right-to-position","--tw-mask-bottom","--tw-mask-bottom-from-color","--tw-mask-bottom-from-position","--tw-mask-bottom-to-color","--tw-mask-bottom-to-position","--tw-mask-left","--tw-mask-left-from-color","--tw-mask-left-from-position","--tw-mask-left-to-color","--tw-mask-left-to-position","--tw-mask-linear","--tw-mask-linear-position","--tw-mask-linear-from-color","--tw-mask-linear-from-position","--tw-mask-linear-to-color","--tw-mask-linear-to-position","--tw-mask-radial","--tw-mask-radial-shape","--tw-mask-radial-size","--tw-mask-radial-position","--tw-mask-radial-from-color","--tw-mask-radial-from-position","--tw-mask-radial-to-color","--tw-mask-radial-to-position","--tw-mask-conic","--tw-mask-conic-position","--tw-mask-conic-from-color","--tw-mask-conic-from-position","--tw-mask-conic-to-color","--tw-mask-conic-to-position","box-decoration-break","background-size","background-attachment","background-clip","background-position","background-repeat","background-origin","mask-composite","mask-mode","mask-type","mask-size","mask-clip","mask-position","mask-repeat","mask-origin","fill","stroke","stroke-width","object-fit","object-position","padding","padding-inline","padding-block","padding-inline-start","padding-inline-end","padding-block-start","padding-block-end","padding-top","padding-right","padding-bottom","padding-left","text-align","text-indent","vertical-align","font-family","font-feature-settings","font-size","line-height","font-weight","letter-spacing","text-wrap","overflow-wrap","word-break","text-overflow","hyphens","white-space","color","text-transform","font-style","font-stretch","font-variant-numeric","text-decoration-line","text-decoration-color","text-decoration-style","text-decoration-thickness","text-underline-offset","-webkit-font-smoothing","placeholder-color","caret-color","accent-color","color-scheme","opacity","background-blend-mode","mix-blend-mode","box-shadow","--tw-shadow","--tw-shadow-color","--tw-ring-shadow","--tw-ring-color","--tw-inset-shadow","--tw-inset-shadow-color","--tw-inset-ring-shadow","--tw-inset-ring-color","--tw-ring-offset-width","--tw-ring-offset-color","outline","outline-width","outline-offset","outline-color","--tw-blur","--tw-brightness","--tw-contrast","--tw-drop-shadow","--tw-grayscale","--tw-hue-rotate","--tw-invert","--tw-saturate","--tw-sepia","filter","--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-filter","transition-property","transition-behavior","transition-delay","transition-duration","transition-timing-function","will-change","contain","content","forced-color-adjust"];function kt(e,t,{onInvalidCandidate:r,respectImportant:n}={}){let o=new Map,i=[],a=new Map;for(let n of e){if(t.invalidCandidates.has(n)){r?.(n);continue}let e=t.parseCandidate(n);0!==e.length?a.set(n,e):r?.(n)}let l=0;(n??1)&&(l|=1);let s=t.getVariantOrder();for(let[e,n]of a){let a=!1;for(let r of n){let n=t.compileAstNodes(r,l);if(0!==n.length){a=!0;for(let{node:t,propertySort:a}of n){let n=0n;for(let e of r.variants)n|=1n<{let r=o.get(e),n=o.get(t);if(r.variants-n.variants!==0n)return Number(r.variants-n.variants);let i=0;for(;i=48&&n<=57&&o>=48&&o<=57){let i=r,a=r+1,l=r,s=r+1;for(n=e.charCodeAt(a);n>=48&&n<=57;)n=e.charCodeAt(++a);for(o=t.charCodeAt(s);o>=48&&o<=57;)o=t.charCodeAt(++s);let c=e.slice(i,a),u=t.slice(l,s),d=Number(c)-Number(u);if(d)return d;if(cu)return 1}else if(n!==o)return n-o}return e.length-t.length}(r.candidate,n.candidate)})),{astNodes:i,nodeSorting:o}}function wt(e,t,r,n=0){if("arbitrary"===t.kind)return t.relative&&0===n?null:void(e.nodes=[C(t.selector,e.nodes)]);let{applyFn:o}=r.get(t.root);if("compound"===t.kind){let i=S("@slot");if(null===wt(i,t.variant,r,n+1)||"not"===t.root&&i.nodes.length>1)return null;for(let e of i.nodes)if("rule"!==e.kind&&"at-rule"!==e.kind||null===o(e,t))return null;return y(i.nodes,(t=>{if(("rule"===t.kind||"at-rule"===t.kind)&&t.nodes.length<=0)return t.nodes=e.nodes,b.Skip})),void(e.nodes=i.nodes)}return null===o(e,t)?null:void 0}function bt(e){let t=e.options?.types??[];return t.length>1&&t.includes("any")}function yt(e){for(let t of e)"at-root"!==t.kind&&("declaration"===t.kind?t.important=!0:("rule"===t.kind||"at-rule"===t.kind)&&yt(t.nodes))}function xt(e){let t=new Set,r=0,n=e.slice(),o=!1;for(;n.length>0;){let e=n.shift();if("declaration"===e.kind){if(void 0===e.value||(r++,o))continue;if("--tw-sort"===e.property){let r=vt.indexOf(e.value??"");if(-1!==r){t.add(r),o=!0;continue}}let n=vt.indexOf(e.property);-1!==n&&t.add(n)}else if("rule"===e.kind||"at-rule"===e.kind)for(let t of e.nodes)n.push(t)}return{order:Array.from(t).sort(((e,t)=>e-t)),count:r}}function $t(e,t){let r=0,n=C("&",e),o=new Set,i=new f((()=>new Set)),a=new f((()=>new Set));y([n],((e,n)=>{if("at-rule"===e.kind){if("@keyframes"===e.name)return y(e.nodes,(e=>{if("at-rule"===e.kind&&"@apply"===e.name)throw new Error("You cannot use `@apply` inside `@keyframes`.")})),b.Skip;if("@utility"===e.name){let r=e.params.replace(/-\*$/,"");return a.get(r).add(e),void y(e.nodes,(r=>{if("at-rule"===r.kind&&"@apply"===r.name){o.add(e);for(let n of zt(r,t))i.get(e).add(n)}}))}if("@apply"===e.name){if(null===n.parent)return;r|=1,o.add(n.parent);for(let r of zt(e,t))for(let e of n.path())o.has(e)&&i.get(e).add(r)}}}));let l=new Set,s=[],c=new Set;function u(e,r=[]){if(!l.has(e)){if(c.has(e)){let n=r[(r.indexOf(e)+1)%r.length];throw"at-rule"===e.kind&&"@utility"===e.name&&"at-rule"===n.kind&&"@utility"===n.name&&y(e.nodes,(e=>{if("at-rule"!==e.kind||"@apply"!==e.name)return;let r=e.params.split(/\s+/g);for(let e of r)for(let r of t.parseCandidate(e))switch(r.kind){case"arbitrary":break;case"static":case"functional":if(n.params.replace(/-\*$/,"")===r.root)throw new Error(`You cannot \`@apply\` the \`${e}\` utility here because it creates a circular dependency.`)}})),new Error(`Circular dependency detected:\n\n${F([e])}\nRelies on:\n\n${F([n])}`)}c.add(e);for(let t of i.get(e))for(let n of a.get(t))r.push(e),u(n,r),r.pop();l.add(e),c.delete(e),s.push(e)}}for(let e of o)u(e);for(let e of s)"nodes"in e&&y(e.nodes,(e=>{if("at-rule"!==e.kind||"@apply"!==e.name)return;let r=e.params.split(/(\s+)/g),n={},o=0;for(let[e,t]of r.entries())e%2==0&&(n[t]=o),o+=t.length;{let r=kt(Object.keys(n),t,{respectImportant:!1,onInvalidCandidate:e=>{if(t.theme.prefix&&!e.startsWith(t.theme.prefix))throw new Error(`Cannot apply unprefixed utility class \`${e}\`. Did you mean \`${t.theme.prefix}:${e}\`?`);if(t.invalidCandidates.has(e))throw new Error(`Cannot apply utility class \`${e}\` because it has been explicitly disabled: https://tailwindcss.com/docs/detecting-classes-in-source-files#explicitly-excluding-classes`);let r=Z(e,":");if(r.length>1){let n=r.pop();if(t.candidatesToCss([n])[0]){let n=t.candidatesToCss(r.map((e=>`${e}:[--tw-variant-check:1]`))),o=r.filter(((e,t)=>null===n[t]));if(o.length>0){if(1===o.length)throw new Error(`Cannot apply utility class \`${e}\` because the ${o.map((e=>`\`${e}\``))} variant does not exist.`);{let t=new Intl.ListFormat("en",{style:"long",type:"conjunction"});throw new Error(`Cannot apply utility class \`${e}\` because the ${t.format(o.map((e=>`\`${e}\``)))} variants do not exist.`)}}}}throw 0===t.theme.size?new Error(`Cannot apply unknown utility class \`${e}\`. Are you using CSS modules or similar and missing \`@reference\`? https://tailwindcss.com/docs/functions-and-directives#reference-directive`):new Error(`Cannot apply unknown utility class \`${e}\``)}}),o=e.src,i=r.astNodes.map((e=>{let t=r.nodeSorting.get(e)?.candidate,i=t?n[t]:void 0;if(e=E(e),!o||!t||void 0===i)return y([e],(e=>{e.src=o})),e;let a=[o[0],o[1],o[2]];return a[1]+=7+i,a[2]=a[1]+t.length,y([e],(e=>{e.src=a})),e})),a=[];for(let e of i)if("rule"===e.kind)for(let t of e.nodes)a.push(t);else a.push(e);return b.Replace(a)}}));return r}function*zt(e,t){for(let r of e.params.split(/\s+/g))for(let e of t.parseCandidate(r))switch(e.kind){case"arbitrary":break;case"static":case"functional":yield e.root}}async function At(e,t,r,o=0,i=!1){let a=0,l=[];return y(e,(e=>{if("at-rule"===e.kind&&("@import"===e.name||"@reference"===e.name)){let s=function(e){let t,r=null,n=null,o=null;for(let i=0;i{if(o>100)throw new Error(`Exceeded maximum recursion depth while resolving \`${c}\` in \`${t}\`)`);let a=await r(c,t),l=n(a.content,{from:i?a.path:void 0});await At(l,a.base,r,o+1,i),p.nodes=function(e,t,r,n,o){let i=t;if(null!==r){let t=S("@layer",r,i);t.src=e.src,i=[t]}if(null!==n){let t=S("@media",n,i);t.src=e.src,i=[t]}if(null!==o){let t=S("@supports","("===o[0]?o:`(${o})`,i);t.src=e.src,i=[t]}return i}(e,[V({base:a.base},l)],u,d,f)})()),b.ReplaceSkip(p)}})),l.length>0&&await Promise.all(l),a}function St(e,t=null){return Array.isArray(e)&&2===e.length&&"object"==typeof e[1]&&null!==typeof e[1]?t?e[1][t]??null:e[0]:Array.isArray(e)&&null===t?e.join(", "):"string"==typeof e&&null===t?e:null}function Ct(e,{theme:t},r){for(let t of r){let r=Kt([t]);r&&e.theme.clearNamespace(`--${r}`,4)}for(let[r,n]of function(e){let t=[];return Et(e,[],((e,r)=>{if(function(e){return"number"==typeof e||"string"==typeof e}(e))return t.push([r,e]),1;if(function(e){if(!Array.isArray(e)||2!==e.length||"string"!=typeof e[0]&&"number"!=typeof e[0]||void 0===e[1]||null===e[1]||"object"!=typeof e[1])return!1;for(let t of Reflect.ownKeys(e[1]))if("string"!=typeof t||"string"!=typeof e[1][t]&&"number"!=typeof e[1][t])return!1;return!0}(e)){t.push([r,e[0]]);for(let n of Reflect.ownKeys(e[1]))t.push([[...r,`-${n}`],e[1][n]]);return 1}return Array.isArray(e)&&e.every((e=>"string"==typeof e))?("fontSize"===r[0]?(t.push([r,e[0]]),e.length>=2&&t.push([[...r,"-line-height"],e[1]])):t.push([r,e.join(", ")]),1):void 0})),t}(t)){if("string"!=typeof n&&"number"!=typeof n)continue;if("string"==typeof n&&(n=n.replace(//g,"1")),"opacity"===r[0]&&("number"==typeof n||"string"==typeof n)){let e="string"==typeof n?parseFloat(n):n;e>=0&&e<=1&&(n=100*e+"%")}let t=Kt(r);t&&e.theme.add(`--${t}`,""+n,7)}if(Object.hasOwn(t,"fontFamily")){let r=5;{let n=St(t.fontFamily.sans);n&&e.theme.hasDefault("--font-sans")&&(e.theme.add("--default-font-family",n,r),e.theme.add("--default-font-feature-settings",St(t.fontFamily.sans,"fontFeatureSettings")??"normal",r),e.theme.add("--default-font-variation-settings",St(t.fontFamily.sans,"fontVariationSettings")??"normal",r))}{let n=St(t.fontFamily.mono);n&&e.theme.hasDefault("--font-mono")&&(e.theme.add("--default-mono-font-family",n,r),e.theme.add("--default-mono-font-feature-settings",St(t.fontFamily.mono,"fontFeatureSettings")??"normal",r),e.theme.add("--default-mono-font-variation-settings",St(t.fontFamily.mono,"fontVariationSettings")??"normal",r))}}return t}var Tt={borderWidth:"border-width",outlineWidth:"outline-width",ringColor:"ring-color",ringWidth:"ring-width",transitionDuration:"transition-duration",transitionTimingFunction:"transition-timing-function"},jt={animation:"animate",aspectRatio:"aspect",borderRadius:"radius",boxShadow:"shadow",colors:"color",containers:"container",fontFamily:"font",fontSize:"text",letterSpacing:"tracking",lineHeight:"leading",maxWidth:"container",screens:"breakpoint",transitionTimingFunction:"ease"},Vt=/^[a-zA-Z0-9-_%/\.]+$/;function Kt(e){let t=Tt[e[0]];if(t&&"DEFAULT"===e[1])return`default-${t}`;if("container"===e[0])return null;for(let t of e)if(!Vt.test(t))return null;let r=jt[e[0]];return r&&((e=e.slice())[0]=r),e.map(((e,t,r)=>"1"===e&&t!==r.length-1?"":e)).map(((e,t)=>(e=e.replaceAll(".","_"),(0===t||e.startsWith("-")||"lineHeight"===e)&&(e=e.replace(/([a-z])([A-Z])/g,((e,t,r)=>`${t}-${r.toLowerCase()}`))),e))).filter(((t,r)=>"DEFAULT"!==t||r!==e.length-1)).join("-")}function Et(e,t=[],r){for(let n of Reflect.ownKeys(e)){let o=e[n];if(null==o)continue;let i=[...t,n],a=r(o,i)??0;if(1!==a){if(2===a)return 2;if((Array.isArray(o)||"object"==typeof o)&&2===Et(o,i,r))return 2}}}function Nt(e){return{kind:"combinator",value:e}}function Ot(e,t){return{kind:"function",value:e,nodes:t}}function Ft(e){return{kind:"selector",value:e}}function Ut(e){return{kind:"separator",value:e}}function Wt(e){return{kind:"value",value:e}}function Rt(e){let t="";for(let r of e)switch(r.kind){case"combinator":case"selector":case"separator":case"value":t+=r.value;break;case"function":t+=r.value+"("+Rt(r.nodes)+")"}return t}function Dt(e){e=e.replaceAll("\r\n","\n");let t,r=[],n=[],o=null,i="";for(let a=0;a0){let e=Ft(i);o?o.nodes.push(e):r.push(e),i=""}let n=a,l=a+1;for(;l0){let t=Ft(i);e.nodes.push(t),i=""}o=n.length>0?n[n.length-1]:null;break}case 46:case 58:case 35:if(i.length>0){let e=Ft(i);o?o.nodes.push(e):r.push(e)}i=e[a];break;case 91:{if(i.length>0){let e=Ft(i);o?o.nodes.push(e):r.push(e)}i="";let n=a,l=0;for(let r=a+1;r0){let e=Ft(i);o?o.nodes.push(e):r.push(e),i=""}o?o.nodes.push(Ft(e[a])):r.push(Ft(e[a]));break;case 92:i+=e[a]+e[a+1],a+=1;break;default:i+=e[a]}}return i.length>0&&r.push(Ft(i)),r}function _t(e){let t=[];for(let r of Z(e,".")){if(!r.includes("[")){t.push(r);continue}let e=0;for(;;){let n=r.indexOf("[",e),o=r.indexOf("]",n);if(-1===n||-1===o)break;n>e&&t.push(r.slice(e,n)),t.push(r.slice(n+1,o)),e=o+1}e<=r.length-1&&t.push(r.slice(e))}return t}function Mt(e){if("[object Object]"!==Object.prototype.toString.call(e))return!1;let t=Object.getPrototypeOf(e);return null===t||null===Object.getPrototypeOf(t)}function Lt(e,t,r,n=[]){for(let o of t)if(null!=o)for(let t of Reflect.ownKeys(o)){n.push(t);let i=r(e[t],o[t],n);void 0!==i?e[t]=i:Mt(e[t])&&Mt(o[t])?e[t]=Lt({},[e[t],o[t]],r,n):e[t]=o[t],n.pop()}return e}function Bt(e,t,r){return function(n,o){let i=n.lastIndexOf("/"),a=null;-1!==i&&(a=n.slice(i+1).trim(),n=n.slice(0,i).trim());let l=(()=>{let o=_t(n),[i,a]=function(e,t){if(1===t.length&&t[0].startsWith("--"))return[e.get([t[0]]),e.getOptions(t[0])];let r=Kt(t),n=new Map,o=new f((()=>new Map)),i=e.namespace(`--${r}`);if(0===i.size)return[null,0];let a=new Map;for(let[t,l]of i){if(!t||!t.includes("--")){n.set(t,l),a.set(t,e.getOptions(t?`--${r}-${t}`:`--${r}`));continue}let i=t.indexOf("--"),s=t.slice(0,i),c=t.slice(i+2);c=c.replace(/-([a-z])/g,((e,t)=>t.toUpperCase())),o.get(""===s?null:s).set(c,[l,e.getOptions(`--${r}${t}`)])}let l=e.getOptions(`--${r}`);for(let[e,t]of o){let r=n.get(e);if("string"!=typeof r)continue;let o={},i={};for(let[e,[r,n]]of t)o[e]=r,i[e]=n;n.set(e,[r,o]),a.set(e,[l,i])}let s={},c={};for(let[e,t]of n)Pt(s,[e??"DEFAULT"],t);for(let[e,t]of a)Pt(c,[e??"DEFAULT"],t);return"DEFAULT"===t[t.length-1]?[s?.DEFAULT??null,c.DEFAULT??0]:"DEFAULT"in s&&1===Object.keys(s).length?[s.DEFAULT,c.DEFAULT??0]:(s.__CSS_VALUES__=c,[s,c])}(e.theme,o),l=r(It(t()??{},o)??null);if("string"==typeof l&&(l=l.replace("","1")),"object"!=typeof i)return"object"!=typeof a&&4&a?l??i:i;if(null!==l&&"object"==typeof l&&!Array.isArray(l)){let e=Lt({},[l],((e,t)=>t));if(null===i&&Object.hasOwn(l,"__CSS_VALUES__")){let t={};for(let r in l.__CSS_VALUES__)t[r]=l[r],delete e[r];i=t}for(let t in i)"__CSS_VALUES__"!==t&&(4&l?.__CSS_VALUES__?.[t]&&void 0!==It(e,t.split("-"))||(e[s(t)]=i[t]));return e}if(Array.isArray(i)&&Array.isArray(a)&&Array.isArray(l)){let e=i[0],t=i[1];4&a[0]&&(e=l[0]??e);for(let e of Object.keys(t))4&a[1][e]&&(t[e]=l[1][e]??t[e]);return[e,t]}return i??l})();return a&&"string"==typeof l&&(l=Re(l,a)),l??o}}function It(e,t){for(let r=0;r{e.src=i})),t.push(l)},addVariant(t,r){if(!ut.test(t))throw new Error(`\`addVariant('${t}')\` defines an invalid variant name. Variants should only contain alphanumeric, dashes, or underscore characters and start with a lowercase letter or number.`);if("string"==typeof r){if(r.includes(":merge("))return}else if(Array.isArray(r)){if(r.some((e=>e.includes(":merge("))))return}else if("object"==typeof r){let e=function(t,r){return Object.entries(t).some((([t,n])=>t.includes(r)||"object"==typeof n&&e(n,r)))};if(e(r,":merge("))return}"string"==typeof r||Array.isArray(r)?e.variants.static(t,(e=>{e.nodes=Yt(r,e.nodes)}),{compounds:ft("string"==typeof r?[r]:r)}):"object"==typeof r&&e.variants.fromAst(t,Zt(r),e)},matchVariant(t,r,n){function o(e,t,n){return Yt(r(e,{modifier:t?.value??null}),n)}try{let e=r("a",{modifier:null});if("string"==typeof e&&e.includes(":merge("))return;if(Array.isArray(e)&&e.some((e=>e.includes(":merge("))))return}catch{}let i=Object.keys(n?.values??{});e.variants.group((()=>{e.variants.functional(t,((e,t)=>{if(!t.value)return n?.values&&"DEFAULT"in n.values?void(e.nodes=o(n.values.DEFAULT,t.modifier,e.nodes)):null;if("arbitrary"===t.value.kind)e.nodes=o(t.value.value,t.modifier,e.nodes);else{if("named"!==t.value.kind||!n?.values)return null;{let r=n.values[t.value.value];if("string"!=typeof r)return null;e.nodes=o(r,t.modifier,e.nodes)}}}))}),((e,t)=>{if("functional"!==e.kind||"functional"!==t.kind)return 0;let r=e.value?e.value.value:"DEFAULT",o=t.value?t.value.value:"DEFAULT",a=n?.values?.[r]??r,l=n?.values?.[o]??o;if(n&&"function"==typeof n.sort)return n.sort({value:a,modifier:e.modifier?.value??null},{value:l,modifier:t.modifier?.value??null});let s=i.indexOf(r),c=i.indexOf(o);return s=-1===s?i.length:s,c=-1===c?i.length:c,s!==c?s-c:aObject.keys(n?.values??{}).filter((e=>"DEFAULT"!==e))))},addUtilities(r){let a=(r=Array.isArray(r)?r:[r]).flatMap((e=>Object.entries(e)));a=a.flatMap((([e,t])=>Z(e,",").map((e=>[e.trim(),t]))));let l=new f((()=>[]));for(let[e,r]of a){if(e.startsWith("@keyframes ")){if(!o){let n=C(e,Zt(r));y([n],(e=>{e.src=i})),t.push(n)}continue}let n=Dt(e),a=!1;if(y(n,(e=>{if("selector"===e.kind&&"."===e.value[0]&&qt.test(e.value.slice(1))){let t=e.value;e.value="&";let o=Rt(n),i=t.slice(1),s="&"===o?Zt(r):[C(o,Zt(r))];return l.get(i).push(...s),a=!0,void(e.value=t)}if("function"===e.kind&&":not"===e.value)return b.Skip})),!a)throw new Error(`\`addUtilities({ '${e}' : … })\` defines an invalid utility selector. Utilities must be a single class name and start with a lowercase letter, eg. \`.scrollbar-none\`.`)}for(let[t,r]of l)e.theme.prefix&&y(r,(t=>{if("rule"===t.kind){let r=Dt(t.selector);y(r,(t=>{"selector"===t.kind&&"."===t.value[0]&&(t.value=`.${e.theme.prefix}\\:${t.value.slice(1)}`)})),t.selector=Rt(r)}})),e.utilities.static(t,(o=>{let i=r.map(E);return Gt(i,t,o.raw),n.current|=$t(i,e),i}))},matchUtilities(t,r){let o=r?.type?Array.isArray(r?.type)?r.type:[r.type]:["any"];for(let[i,a]of Object.entries(t)){let t=function({negative:t}){return l=>{if("arbitrary"===l.value?.kind&&o.length>0&&!o.includes("any")&&(l.value.dataType&&!o.includes(l.value.dataType)||!l.value.dataType&&!fe(l.value.value,o)))return;let s,c=o.includes("color"),u=null,d=!1;{let e=r?.values??{};c&&(e=Object.assign({inherit:"inherit",transparent:"transparent",current:"currentcolor"},e)),l.value?"arbitrary"===l.value.kind?u=l.value.value:l.value.fraction&&e[l.value.fraction]?(u=e[l.value.fraction],d=!0):e[l.value.value]?u=e[l.value.value]:e.__BARE_VALUE__&&(u=e.__BARE_VALUE__(l.value)??null,d=(null!==l.value.fraction&&u?.includes("/"))??!1):u=e.DEFAULT??null}if(null===u)return;{let e=r?.modifiers??null;s=l.modifier?"any"===e||"arbitrary"===l.modifier.kind?l.modifier.value:e?.[l.modifier.value]?e[l.modifier.value]:c&&!Number.isNaN(Number(l.modifier.value))?`${l.modifier.value}%`:null:null}if(l.modifier&&null===s&&!d)return"arbitrary"===l.value?.kind?null:void 0;c&&null!==s&&(u=Re(u,s)),t&&(u=`calc(${u} * -1)`);let f=Zt(a(u,{modifier:s}));return Gt(f,i,l.raw),n.current|=$t(f,e),f}};if(!qt.test(i))throw new Error(`\`matchUtilities({ '${i}' : … })\` defines an invalid utility name. Utilities should be alphanumeric and start with a lowercase letter, eg. \`scrollbar\`.`);r?.supportsNegativeValues&&e.utilities.functional(`-${i}`,t({negative:!0}),{types:o}),e.utilities.functional(i,t({negative:!1}),{types:o}),e.utilities.suggest(i,(()=>{let e=r?.values??{},t=new Set(Object.keys(e));t.delete("__BARE_VALUE__"),t.delete("__CSS_VALUES__"),t.has("DEFAULT")&&(t.delete("DEFAULT"),t.add(null));let n=r?.modifiers??{},o="any"===n?[]:Object.keys(n);return[{supportsNegative:r?.supportsNegativeValues??!1,values:Array.from(t),modifiers:o}]}))}},addComponents(e,t){this.addUtilities(e,t)},matchComponents(e,t){this.matchUtilities(e,t)},theme:Bt(e,(()=>r.theme??{}),(e=>e)),prefix:e=>e,config(e,t){let n=r;if(!e)return n;let o=_t(e);for(let e=0;eObject.entries(e)));for(let[e,n]of r)if(null!=n&&!1!==n)if("object"!=typeof n){if(!e.startsWith("--")){if("@slot"===n){t.push(C(e,[S("@slot")]));continue}e=e.replace(/([A-Z])/g,"-$1").toLowerCase()}t.push(T(e,String(n)))}else if(Array.isArray(n))for(let r of n)"string"==typeof r?t.push(T(e,r)):t.push(C(e,Zt(r)));else t.push(C(e,Zt(n)));return t}function Yt(e,t){return("string"==typeof e?[e]:e).flatMap((e=>{if(e.trim().endsWith("}")){let r=n(e.replace("}","{@slot}}"));return ht(r,t),r}return C(e,t)}))}function Gt(e,t,r){y(e,(e=>{if("rule"===e.kind){let n=Dt(e.selector);y(n,(e=>{"selector"===e.kind&&e.value===`.${t}`&&(e.value=`.${l(r)}`)})),e.selector=Rt(n)}}))}function Jt(e,t){for(let r of function(e){let t=[];if("keyframes"in e.theme)for(let[r,n]of Object.entries(e.theme.keyframes))t.push(S("@keyframes",r,Zt(n)));return t}(t))e.theme.addKeyframes(r)}var Xt={inherit:"inherit",current:"currentcolor",transparent:"transparent",black:"#000",white:"#fff",slate:{50:"oklch(98.4% 0.003 247.858)",100:"oklch(96.8% 0.007 247.896)",200:"oklch(92.9% 0.013 255.508)",300:"oklch(86.9% 0.022 252.894)",400:"oklch(70.4% 0.04 256.788)",500:"oklch(55.4% 0.046 257.417)",600:"oklch(44.6% 0.043 257.281)",700:"oklch(37.2% 0.044 257.287)",800:"oklch(27.9% 0.041 260.031)",900:"oklch(20.8% 0.042 265.755)",950:"oklch(12.9% 0.042 264.695)"},gray:{50:"oklch(98.5% 0.002 247.839)",100:"oklch(96.7% 0.003 264.542)",200:"oklch(92.8% 0.006 264.531)",300:"oklch(87.2% 0.01 258.338)",400:"oklch(70.7% 0.022 261.325)",500:"oklch(55.1% 0.027 264.364)",600:"oklch(44.6% 0.03 256.802)",700:"oklch(37.3% 0.034 259.733)",800:"oklch(27.8% 0.033 256.848)",900:"oklch(21% 0.034 264.665)",950:"oklch(13% 0.028 261.692)"},zinc:{50:"oklch(98.5% 0 0)",100:"oklch(96.7% 0.001 286.375)",200:"oklch(92% 0.004 286.32)",300:"oklch(87.1% 0.006 286.286)",400:"oklch(70.5% 0.015 286.067)",500:"oklch(55.2% 0.016 285.938)",600:"oklch(44.2% 0.017 285.786)",700:"oklch(37% 0.013 285.805)",800:"oklch(27.4% 0.006 286.033)",900:"oklch(21% 0.006 285.885)",950:"oklch(14.1% 0.005 285.823)"},neutral:{50:"oklch(98.5% 0 0)",100:"oklch(97% 0 0)",200:"oklch(92.2% 0 0)",300:"oklch(87% 0 0)",400:"oklch(70.8% 0 0)",500:"oklch(55.6% 0 0)",600:"oklch(43.9% 0 0)",700:"oklch(37.1% 0 0)",800:"oklch(26.9% 0 0)",900:"oklch(20.5% 0 0)",950:"oklch(14.5% 0 0)"},stone:{50:"oklch(98.5% 0.001 106.423)",100:"oklch(97% 0.001 106.424)",200:"oklch(92.3% 0.003 48.717)",300:"oklch(86.9% 0.005 56.366)",400:"oklch(70.9% 0.01 56.259)",500:"oklch(55.3% 0.013 58.071)",600:"oklch(44.4% 0.011 73.639)",700:"oklch(37.4% 0.01 67.558)",800:"oklch(26.8% 0.007 34.298)",900:"oklch(21.6% 0.006 56.043)",950:"oklch(14.7% 0.004 49.25)"},mauve:{50:"oklch(98.5% 0 0)",100:"oklch(96% 0.003 325.6)",200:"oklch(92.2% 0.005 325.62)",300:"oklch(86.5% 0.012 325.68)",400:"oklch(71.1% 0.019 323.02)",500:"oklch(54.2% 0.034 322.5)",600:"oklch(43.5% 0.029 321.78)",700:"oklch(36.4% 0.029 323.89)",800:"oklch(26.3% 0.024 320.12)",900:"oklch(21.2% 0.019 322.12)",950:"oklch(14.5% 0.008 326)"},olive:{50:"oklch(98.8% 0.003 106.5)",100:"oklch(96.6% 0.005 106.5)",200:"oklch(93% 0.007 106.5)",300:"oklch(88% 0.011 106.6)",400:"oklch(73.7% 0.021 106.9)",500:"oklch(58% 0.031 107.3)",600:"oklch(46.6% 0.025 107.3)",700:"oklch(39.4% 0.023 107.4)",800:"oklch(28.6% 0.016 107.4)",900:"oklch(22.8% 0.013 107.4)",950:"oklch(15.3% 0.006 107.1)"},mist:{50:"oklch(98.7% 0.002 197.1)",100:"oklch(96.3% 0.002 197.1)",200:"oklch(92.5% 0.005 214.3)",300:"oklch(87.2% 0.007 219.6)",400:"oklch(72.3% 0.014 214.4)",500:"oklch(56% 0.021 213.5)",600:"oklch(45% 0.017 213.2)",700:"oklch(37.8% 0.015 216)",800:"oklch(27.5% 0.011 216.9)",900:"oklch(21.8% 0.008 223.9)",950:"oklch(14.8% 0.004 228.8)"},taupe:{50:"oklch(98.6% 0.002 67.8)",100:"oklch(96% 0.002 17.2)",200:"oklch(92.2% 0.005 34.3)",300:"oklch(86.8% 0.007 39.5)",400:"oklch(71.4% 0.014 41.2)",500:"oklch(54.7% 0.021 43.1)",600:"oklch(43.8% 0.017 39.3)",700:"oklch(36.7% 0.016 35.7)",800:"oklch(26.8% 0.011 36.5)",900:"oklch(21.4% 0.009 43.1)",950:"oklch(14.7% 0.004 49.3)"},red:{50:"oklch(97.1% 0.013 17.38)",100:"oklch(93.6% 0.032 17.717)",200:"oklch(88.5% 0.062 18.334)",300:"oklch(80.8% 0.114 19.571)",400:"oklch(70.4% 0.191 22.216)",500:"oklch(63.7% 0.237 25.331)",600:"oklch(57.7% 0.245 27.325)",700:"oklch(50.5% 0.213 27.518)",800:"oklch(44.4% 0.177 26.899)",900:"oklch(39.6% 0.141 25.723)",950:"oklch(25.8% 0.092 26.042)"},orange:{50:"oklch(98% 0.016 73.684)",100:"oklch(95.4% 0.038 75.164)",200:"oklch(90.1% 0.076 70.697)",300:"oklch(83.7% 0.128 66.29)",400:"oklch(75% 0.183 55.934)",500:"oklch(70.5% 0.213 47.604)",600:"oklch(64.6% 0.222 41.116)",700:"oklch(55.3% 0.195 38.402)",800:"oklch(47% 0.157 37.304)",900:"oklch(40.8% 0.123 38.172)",950:"oklch(26.6% 0.079 36.259)"},amber:{50:"oklch(98.7% 0.022 95.277)",100:"oklch(96.2% 0.059 95.617)",200:"oklch(92.4% 0.12 95.746)",300:"oklch(87.9% 0.169 91.605)",400:"oklch(82.8% 0.189 84.429)",500:"oklch(76.9% 0.188 70.08)",600:"oklch(66.6% 0.179 58.318)",700:"oklch(55.5% 0.163 48.998)",800:"oklch(47.3% 0.137 46.201)",900:"oklch(41.4% 0.112 45.904)",950:"oklch(27.9% 0.077 45.635)"},yellow:{50:"oklch(98.7% 0.026 102.212)",100:"oklch(97.3% 0.071 103.193)",200:"oklch(94.5% 0.129 101.54)",300:"oklch(90.5% 0.182 98.111)",400:"oklch(85.2% 0.199 91.936)",500:"oklch(79.5% 0.184 86.047)",600:"oklch(68.1% 0.162 75.834)",700:"oklch(55.4% 0.135 66.442)",800:"oklch(47.6% 0.114 61.907)",900:"oklch(42.1% 0.095 57.708)",950:"oklch(28.6% 0.066 53.813)"},lime:{50:"oklch(98.6% 0.031 120.757)",100:"oklch(96.7% 0.067 122.328)",200:"oklch(93.8% 0.127 124.321)",300:"oklch(89.7% 0.196 126.665)",400:"oklch(84.1% 0.238 128.85)",500:"oklch(76.8% 0.233 130.85)",600:"oklch(64.8% 0.2 131.684)",700:"oklch(53.2% 0.157 131.589)",800:"oklch(45.3% 0.124 130.933)",900:"oklch(40.5% 0.101 131.063)",950:"oklch(27.4% 0.072 132.109)"},green:{50:"oklch(98.2% 0.018 155.826)",100:"oklch(96.2% 0.044 156.743)",200:"oklch(92.5% 0.084 155.995)",300:"oklch(87.1% 0.15 154.449)",400:"oklch(79.2% 0.209 151.711)",500:"oklch(72.3% 0.219 149.579)",600:"oklch(62.7% 0.194 149.214)",700:"oklch(52.7% 0.154 150.069)",800:"oklch(44.8% 0.119 151.328)",900:"oklch(39.3% 0.095 152.535)",950:"oklch(26.6% 0.065 152.934)"},emerald:{50:"oklch(97.9% 0.021 166.113)",100:"oklch(95% 0.052 163.051)",200:"oklch(90.5% 0.093 164.15)",300:"oklch(84.5% 0.143 164.978)",400:"oklch(76.5% 0.177 163.223)",500:"oklch(69.6% 0.17 162.48)",600:"oklch(59.6% 0.145 163.225)",700:"oklch(50.8% 0.118 165.612)",800:"oklch(43.2% 0.095 166.913)",900:"oklch(37.8% 0.077 168.94)",950:"oklch(26.2% 0.051 172.552)"},teal:{50:"oklch(98.4% 0.014 180.72)",100:"oklch(95.3% 0.051 180.801)",200:"oklch(91% 0.096 180.426)",300:"oklch(85.5% 0.138 181.071)",400:"oklch(77.7% 0.152 181.912)",500:"oklch(70.4% 0.14 182.503)",600:"oklch(60% 0.118 184.704)",700:"oklch(51.1% 0.096 186.391)",800:"oklch(43.7% 0.078 188.216)",900:"oklch(38.6% 0.063 188.416)",950:"oklch(27.7% 0.046 192.524)"},cyan:{50:"oklch(98.4% 0.019 200.873)",100:"oklch(95.6% 0.045 203.388)",200:"oklch(91.7% 0.08 205.041)",300:"oklch(86.5% 0.127 207.078)",400:"oklch(78.9% 0.154 211.53)",500:"oklch(71.5% 0.143 215.221)",600:"oklch(60.9% 0.126 221.723)",700:"oklch(52% 0.105 223.128)",800:"oklch(45% 0.085 224.283)",900:"oklch(39.8% 0.07 227.392)",950:"oklch(30.2% 0.056 229.695)"},sky:{50:"oklch(97.7% 0.013 236.62)",100:"oklch(95.1% 0.026 236.824)",200:"oklch(90.1% 0.058 230.902)",300:"oklch(82.8% 0.111 230.318)",400:"oklch(74.6% 0.16 232.661)",500:"oklch(68.5% 0.169 237.323)",600:"oklch(58.8% 0.158 241.966)",700:"oklch(50% 0.134 242.749)",800:"oklch(44.3% 0.11 240.79)",900:"oklch(39.1% 0.09 240.876)",950:"oklch(29.3% 0.066 243.157)"},blue:{50:"oklch(97% 0.014 254.604)",100:"oklch(93.2% 0.032 255.585)",200:"oklch(88.2% 0.059 254.128)",300:"oklch(80.9% 0.105 251.813)",400:"oklch(70.7% 0.165 254.624)",500:"oklch(62.3% 0.214 259.815)",600:"oklch(54.6% 0.245 262.881)",700:"oklch(48.8% 0.243 264.376)",800:"oklch(42.4% 0.199 265.638)",900:"oklch(37.9% 0.146 265.522)",950:"oklch(28.2% 0.091 267.935)"},indigo:{50:"oklch(96.2% 0.018 272.314)",100:"oklch(93% 0.034 272.788)",200:"oklch(87% 0.065 274.039)",300:"oklch(78.5% 0.115 274.713)",400:"oklch(67.3% 0.182 276.935)",500:"oklch(58.5% 0.233 277.117)",600:"oklch(51.1% 0.262 276.966)",700:"oklch(45.7% 0.24 277.023)",800:"oklch(39.8% 0.195 277.366)",900:"oklch(35.9% 0.144 278.697)",950:"oklch(25.7% 0.09 281.288)"},violet:{50:"oklch(96.9% 0.016 293.756)",100:"oklch(94.3% 0.029 294.588)",200:"oklch(89.4% 0.057 293.283)",300:"oklch(81.1% 0.111 293.571)",400:"oklch(70.2% 0.183 293.541)",500:"oklch(60.6% 0.25 292.717)",600:"oklch(54.1% 0.281 293.009)",700:"oklch(49.1% 0.27 292.581)",800:"oklch(43.2% 0.232 292.759)",900:"oklch(38% 0.189 293.745)",950:"oklch(28.3% 0.141 291.089)"},purple:{50:"oklch(97.7% 0.014 308.299)",100:"oklch(94.6% 0.033 307.174)",200:"oklch(90.2% 0.063 306.703)",300:"oklch(82.7% 0.119 306.383)",400:"oklch(71.4% 0.203 305.504)",500:"oklch(62.7% 0.265 303.9)",600:"oklch(55.8% 0.288 302.321)",700:"oklch(49.6% 0.265 301.924)",800:"oklch(43.8% 0.218 303.724)",900:"oklch(38.1% 0.176 304.987)",950:"oklch(29.1% 0.149 302.717)"},fuchsia:{50:"oklch(97.7% 0.017 320.058)",100:"oklch(95.2% 0.037 318.852)",200:"oklch(90.3% 0.076 319.62)",300:"oklch(83.3% 0.145 321.434)",400:"oklch(74% 0.238 322.16)",500:"oklch(66.7% 0.295 322.15)",600:"oklch(59.1% 0.293 322.896)",700:"oklch(51.8% 0.253 323.949)",800:"oklch(45.2% 0.211 324.591)",900:"oklch(40.1% 0.17 325.612)",950:"oklch(29.3% 0.136 325.661)"},pink:{50:"oklch(97.1% 0.014 343.198)",100:"oklch(94.8% 0.028 342.258)",200:"oklch(89.9% 0.061 343.231)",300:"oklch(82.3% 0.12 346.018)",400:"oklch(71.8% 0.202 349.761)",500:"oklch(65.6% 0.241 354.308)",600:"oklch(59.2% 0.249 0.584)",700:"oklch(52.5% 0.223 3.958)",800:"oklch(45.9% 0.187 3.815)",900:"oklch(40.8% 0.153 2.432)",950:"oklch(28.4% 0.109 3.907)"},rose:{50:"oklch(96.9% 0.015 12.422)",100:"oklch(94.1% 0.03 12.58)",200:"oklch(89.2% 0.058 10.001)",300:"oklch(81% 0.117 11.638)",400:"oklch(71.2% 0.194 13.428)",500:"oklch(64.5% 0.246 16.439)",600:"oklch(58.6% 0.253 17.585)",700:"oklch(51.4% 0.222 16.935)",800:"oklch(45.5% 0.188 13.697)",900:"oklch(41% 0.159 10.272)",950:"oklch(27.1% 0.105 12.094)"}};function Qt(e){return{__BARE_VALUE__:e}}var er=Qt((e=>{if(Ce(e.value))return e.value})),tr=Qt((e=>{if(Ce(e.value))return`${e.value}%`})),rr=Qt((e=>{if(Ce(e.value))return`${e.value}px`})),nr=Qt((e=>{if(Ce(e.value))return`${e.value}ms`})),or=Qt((e=>{if(Ce(e.value))return`${e.value}deg`})),ir=Qt((e=>{if(null===e.fraction)return;let[t,r]=Z(e.fraction,"/");return Ce(t)&&Ce(r)?e.fraction:void 0})),ar=Qt((e=>{if(Ce(Number(e.value)))return`repeat(${e.value}, minmax(0, 1fr))`})),lr={accentColor:({theme:e})=>e("colors"),animation:{none:"none",spin:"spin 1s linear infinite",ping:"ping 1s cubic-bezier(0, 0, 0.2, 1) infinite",pulse:"pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite",bounce:"bounce 1s infinite"},aria:{busy:'busy="true"',checked:'checked="true"',disabled:'disabled="true"',expanded:'expanded="true"',hidden:'hidden="true"',pressed:'pressed="true"',readonly:'readonly="true"',required:'required="true"',selected:'selected="true"'},aspectRatio:{auto:"auto",square:"1 / 1",video:"16 / 9",...ir},backdropBlur:({theme:e})=>e("blur"),backdropBrightness:({theme:e})=>({...e("brightness"),...tr}),backdropContrast:({theme:e})=>({...e("contrast"),...tr}),backdropGrayscale:({theme:e})=>({...e("grayscale"),...tr}),backdropHueRotate:({theme:e})=>({...e("hueRotate"),...or}),backdropInvert:({theme:e})=>({...e("invert"),...tr}),backdropOpacity:({theme:e})=>({...e("opacity"),...tr}),backdropSaturate:({theme:e})=>({...e("saturate"),...tr}),backdropSepia:({theme:e})=>({...e("sepia"),...tr}),backgroundColor:({theme:e})=>e("colors"),backgroundImage:{none:"none","gradient-to-t":"linear-gradient(to top, var(--tw-gradient-stops))","gradient-to-tr":"linear-gradient(to top right, var(--tw-gradient-stops))","gradient-to-r":"linear-gradient(to right, var(--tw-gradient-stops))","gradient-to-br":"linear-gradient(to bottom right, var(--tw-gradient-stops))","gradient-to-b":"linear-gradient(to bottom, var(--tw-gradient-stops))","gradient-to-bl":"linear-gradient(to bottom left, var(--tw-gradient-stops))","gradient-to-l":"linear-gradient(to left, var(--tw-gradient-stops))","gradient-to-tl":"linear-gradient(to top left, var(--tw-gradient-stops))"},backgroundOpacity:({theme:e})=>e("opacity"),backgroundPosition:{bottom:"bottom",center:"center",left:"left","left-bottom":"left bottom","left-top":"left top",right:"right","right-bottom":"right bottom","right-top":"right top",top:"top"},backgroundSize:{auto:"auto",cover:"cover",contain:"contain"},blur:{0:"0",none:"",sm:"4px",DEFAULT:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},borderColor:({theme:e})=>({DEFAULT:"currentcolor",...e("colors")}),borderOpacity:({theme:e})=>e("opacity"),borderRadius:{none:"0px",sm:"0.125rem",DEFAULT:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},borderSpacing:({theme:e})=>e("spacing"),borderWidth:{DEFAULT:"1px",0:"0px",2:"2px",4:"4px",8:"8px",...rr},boxShadow:{sm:"0 1px 2px 0 rgb(0 0 0 / 0.05)",DEFAULT:"0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)",md:"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",lg:"0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)",xl:"0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)","2xl":"0 25px 50px -12px rgb(0 0 0 / 0.25)",inner:"inset 0 2px 4px 0 rgb(0 0 0 / 0.05)",none:"none"},boxShadowColor:({theme:e})=>e("colors"),brightness:{0:"0",50:".5",75:".75",90:".9",95:".95",100:"1",105:"1.05",110:"1.1",125:"1.25",150:"1.5",200:"2",...tr},caretColor:({theme:e})=>e("colors"),colors:()=>({...Xt}),columns:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12","3xs":"16rem","2xs":"18rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",...er},container:{},content:{none:"none"},contrast:{0:"0",50:".5",75:".75",100:"1",125:"1.25",150:"1.5",200:"2",...tr},cursor:{auto:"auto",default:"default",pointer:"pointer",wait:"wait",text:"text",move:"move",help:"help","not-allowed":"not-allowed",none:"none","context-menu":"context-menu",progress:"progress",cell:"cell",crosshair:"crosshair","vertical-text":"vertical-text",alias:"alias",copy:"copy","no-drop":"no-drop",grab:"grab",grabbing:"grabbing","all-scroll":"all-scroll","col-resize":"col-resize","row-resize":"row-resize","n-resize":"n-resize","e-resize":"e-resize","s-resize":"s-resize","w-resize":"w-resize","ne-resize":"ne-resize","nw-resize":"nw-resize","se-resize":"se-resize","sw-resize":"sw-resize","ew-resize":"ew-resize","ns-resize":"ns-resize","nesw-resize":"nesw-resize","nwse-resize":"nwse-resize","zoom-in":"zoom-in","zoom-out":"zoom-out"},divideColor:({theme:e})=>e("borderColor"),divideOpacity:({theme:e})=>e("borderOpacity"),divideWidth:({theme:e})=>({...e("borderWidth"),...rr}),dropShadow:{sm:"0 1px 1px rgb(0 0 0 / 0.05)",DEFAULT:["0 1px 2px rgb(0 0 0 / 0.1)","0 1px 1px rgb(0 0 0 / 0.06)"],md:["0 4px 3px rgb(0 0 0 / 0.07)","0 2px 2px rgb(0 0 0 / 0.06)"],lg:["0 10px 8px rgb(0 0 0 / 0.04)","0 4px 3px rgb(0 0 0 / 0.1)"],xl:["0 20px 13px rgb(0 0 0 / 0.03)","0 8px 5px rgb(0 0 0 / 0.08)"],"2xl":"0 25px 25px rgb(0 0 0 / 0.15)",none:"0 0 #0000"},fill:({theme:e})=>e("colors"),flex:{1:"1 1 0%",auto:"1 1 auto",initial:"0 1 auto",none:"none"},flexBasis:({theme:e})=>({auto:"auto","1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%",...e("spacing")}),flexGrow:{0:"0",DEFAULT:"1",...er},flexShrink:{0:"0",DEFAULT:"1",...er},fontFamily:{sans:["ui-sans-serif","system-ui","sans-serif",'"Apple Color Emoji"','"Segoe UI Emoji"','"Segoe UI Symbol"','"Noto Color Emoji"'],serif:["ui-serif","Georgia","Cambria",'"Times New Roman"',"Times","serif"],mono:["ui-monospace","SFMono-Regular","Menlo","Monaco","Consolas",'"Liberation Mono"','"Courier New"',"monospace"]},fontSize:{xs:["0.75rem",{lineHeight:"1rem"}],sm:["0.875rem",{lineHeight:"1.25rem"}],base:["1rem",{lineHeight:"1.5rem"}],lg:["1.125rem",{lineHeight:"1.75rem"}],xl:["1.25rem",{lineHeight:"1.75rem"}],"2xl":["1.5rem",{lineHeight:"2rem"}],"3xl":["1.875rem",{lineHeight:"2.25rem"}],"4xl":["2.25rem",{lineHeight:"2.5rem"}],"5xl":["3rem",{lineHeight:"1"}],"6xl":["3.75rem",{lineHeight:"1"}],"7xl":["4.5rem",{lineHeight:"1"}],"8xl":["6rem",{lineHeight:"1"}],"9xl":["8rem",{lineHeight:"1"}]},fontWeight:{thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},gap:({theme:e})=>e("spacing"),gradientColorStops:({theme:e})=>e("colors"),gradientColorStopPositions:{"0%":"0%","5%":"5%","10%":"10%","15%":"15%","20%":"20%","25%":"25%","30%":"30%","35%":"35%","40%":"40%","45%":"45%","50%":"50%","55%":"55%","60%":"60%","65%":"65%","70%":"70%","75%":"75%","80%":"80%","85%":"85%","90%":"90%","95%":"95%","100%":"100%",...tr},grayscale:{0:"0",DEFAULT:"100%",...tr},gridAutoColumns:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"},gridAutoRows:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"},gridColumn:{auto:"auto","span-1":"span 1 / span 1","span-2":"span 2 / span 2","span-3":"span 3 / span 3","span-4":"span 4 / span 4","span-5":"span 5 / span 5","span-6":"span 6 / span 6","span-7":"span 7 / span 7","span-8":"span 8 / span 8","span-9":"span 9 / span 9","span-10":"span 10 / span 10","span-11":"span 11 / span 11","span-12":"span 12 / span 12","span-full":"1 / -1"},gridColumnEnd:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13",...er},gridColumnStart:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13",...er},gridRow:{auto:"auto","span-1":"span 1 / span 1","span-2":"span 2 / span 2","span-3":"span 3 / span 3","span-4":"span 4 / span 4","span-5":"span 5 / span 5","span-6":"span 6 / span 6","span-7":"span 7 / span 7","span-8":"span 8 / span 8","span-9":"span 9 / span 9","span-10":"span 10 / span 10","span-11":"span 11 / span 11","span-12":"span 12 / span 12","span-full":"1 / -1"},gridRowEnd:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13",...er},gridRowStart:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13",...er},gridTemplateColumns:{none:"none",subgrid:"subgrid",1:"repeat(1, minmax(0, 1fr))",2:"repeat(2, minmax(0, 1fr))",3:"repeat(3, minmax(0, 1fr))",4:"repeat(4, minmax(0, 1fr))",5:"repeat(5, minmax(0, 1fr))",6:"repeat(6, minmax(0, 1fr))",7:"repeat(7, minmax(0, 1fr))",8:"repeat(8, minmax(0, 1fr))",9:"repeat(9, minmax(0, 1fr))",10:"repeat(10, minmax(0, 1fr))",11:"repeat(11, minmax(0, 1fr))",12:"repeat(12, minmax(0, 1fr))",...ar},gridTemplateRows:{none:"none",subgrid:"subgrid",1:"repeat(1, minmax(0, 1fr))",2:"repeat(2, minmax(0, 1fr))",3:"repeat(3, minmax(0, 1fr))",4:"repeat(4, minmax(0, 1fr))",5:"repeat(5, minmax(0, 1fr))",6:"repeat(6, minmax(0, 1fr))",7:"repeat(7, minmax(0, 1fr))",8:"repeat(8, minmax(0, 1fr))",9:"repeat(9, minmax(0, 1fr))",10:"repeat(10, minmax(0, 1fr))",11:"repeat(11, minmax(0, 1fr))",12:"repeat(12, minmax(0, 1fr))",...ar},height:({theme:e})=>({auto:"auto","1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%",full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content",...e("spacing")}),hueRotate:{0:"0deg",15:"15deg",30:"30deg",60:"60deg",90:"90deg",180:"180deg",...or},inset:({theme:e})=>({auto:"auto","1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%",...e("spacing")}),invert:{0:"0",DEFAULT:"100%",...tr},keyframes:{spin:{to:{transform:"rotate(360deg)"}},ping:{"75%, 100%":{transform:"scale(2)",opacity:"0"}},pulse:{"50%":{opacity:".5"}},bounce:{"0%, 100%":{transform:"translateY(-25%)",animationTimingFunction:"cubic-bezier(0.8,0,1,1)"},"50%":{transform:"none",animationTimingFunction:"cubic-bezier(0,0,0.2,1)"}}},letterSpacing:{tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeight:{none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2",3:".75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"},listStyleType:{none:"none",disc:"disc",decimal:"decimal"},listStyleImage:{none:"none"},margin:({theme:e})=>({auto:"auto",...e("spacing")}),lineClamp:{1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",...er},maxHeight:({theme:e})=>({none:"none",full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content",...e("spacing")}),maxWidth:({theme:e})=>({none:"none",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",full:"100%",min:"min-content",max:"max-content",fit:"fit-content",prose:"65ch",...e("spacing")}),minHeight:({theme:e})=>({full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content",...e("spacing")}),minWidth:({theme:e})=>({full:"100%",min:"min-content",max:"max-content",fit:"fit-content",...e("spacing")}),objectPosition:{bottom:"bottom",center:"center",left:"left","left-bottom":"left bottom","left-top":"left top",right:"right","right-bottom":"right bottom","right-top":"right top",top:"top"},opacity:{0:"0",5:"0.05",10:"0.1",15:"0.15",20:"0.2",25:"0.25",30:"0.3",35:"0.35",40:"0.4",45:"0.45",50:"0.5",55:"0.55",60:"0.6",65:"0.65",70:"0.7",75:"0.75",80:"0.8",85:"0.85",90:"0.9",95:"0.95",100:"1",...tr},order:{first:"-9999",last:"9999",none:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",...er},outlineColor:({theme:e})=>e("colors"),outlineOffset:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...rr},outlineWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...rr},padding:({theme:e})=>e("spacing"),placeholderColor:({theme:e})=>e("colors"),placeholderOpacity:({theme:e})=>e("opacity"),ringColor:({theme:e})=>({DEFAULT:"currentcolor",...e("colors")}),ringOffsetColor:({theme:e})=>e("colors"),ringOffsetWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...rr},ringOpacity:({theme:e})=>({DEFAULT:"0.5",...e("opacity")}),ringWidth:{DEFAULT:"3px",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...rr},rotate:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg",45:"45deg",90:"90deg",180:"180deg",...or},saturate:{0:"0",50:".5",100:"1",150:"1.5",200:"2",...tr},scale:{0:"0",50:".5",75:".75",90:".9",95:".95",100:"1",105:"1.05",110:"1.1",125:"1.25",150:"1.5",...tr},screens:{sm:"40rem",md:"48rem",lg:"64rem",xl:"80rem","2xl":"96rem"},scrollMargin:({theme:e})=>e("spacing"),scrollPadding:({theme:e})=>e("spacing"),sepia:{0:"0",DEFAULT:"100%",...tr},skew:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg",...or},space:({theme:e})=>e("spacing"),spacing:{px:"1px",0:"0px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",11:"2.75rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"},stroke:({theme:e})=>({none:"none",...e("colors")}),strokeWidth:{0:"0",1:"1",2:"2",...er},supports:{},data:{},textColor:({theme:e})=>e("colors"),textDecorationColor:({theme:e})=>e("colors"),textDecorationThickness:{auto:"auto","from-font":"from-font",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...rr},textIndent:({theme:e})=>e("spacing"),textOpacity:({theme:e})=>e("opacity"),textUnderlineOffset:{auto:"auto",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...rr},transformOrigin:{center:"center",top:"top","top-right":"top right",right:"right","bottom-right":"bottom right",bottom:"bottom","bottom-left":"bottom left",left:"left","top-left":"top left"},transitionDelay:{0:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms",...nr},transitionDuration:{DEFAULT:"150ms",0:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms",...nr},transitionProperty:{none:"none",all:"all",DEFAULT:"color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter",colors:"color, background-color, border-color, outline-color, text-decoration-color, fill, stroke",opacity:"opacity",shadow:"box-shadow",transform:"transform"},transitionTimingFunction:{DEFAULT:"cubic-bezier(0.4, 0, 0.2, 1)",linear:"linear",in:"cubic-bezier(0.4, 0, 1, 1)",out:"cubic-bezier(0, 0, 0.2, 1)","in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},translate:({theme:e})=>({"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%",...e("spacing")}),size:({theme:e})=>({auto:"auto","1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%",min:"min-content",max:"max-content",fit:"fit-content",...e("spacing")}),width:({theme:e})=>({auto:"auto","1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%",screen:"100vw",svw:"100svw",lvw:"100lvw",dvw:"100dvw",min:"min-content",max:"max-content",fit:"fit-content",...e("spacing")}),willChange:{auto:"auto",scroll:"scroll-position",contents:"contents",transform:"transform"},zIndex:{auto:"auto",0:"0",10:"10",20:"20",30:"30",40:"40",50:"50",...er}};function sr(e){return{theme:{...lr,colors:({theme:e})=>e("color",{}),extend:{fontSize:({theme:e})=>({...e("text",{})}),boxShadow:({theme:e})=>({...e("shadow",{})}),animation:({theme:e})=>({...e("animate",{})}),aspectRatio:({theme:e})=>({...e("aspect",{})}),borderRadius:({theme:e})=>({...e("radius",{})}),screens:({theme:e})=>({...e("breakpoint",{})}),letterSpacing:({theme:e})=>({...e("tracking",{})}),lineHeight:({theme:e})=>({...e("leading",{})}),transitionDuration:{DEFAULT:e.get(["--default-transition-duration"])??null},transitionTimingFunction:{DEFAULT:e.get(["--default-transition-timing-function"])??null},maxWidth:({theme:e})=>({...e("container",{})})}}}}var cr={blocklist:[],future:{},experimental:{},prefix:"",important:!1,darkMode:null,theme:{},plugins:[],content:{files:[]}};function ur(e,t){let r={design:e,configs:[],plugins:[],content:{files:[]},theme:{},extend:{},result:structuredClone(cr)};for(let e of t)fr(r,e);for(let e of r.configs)"darkMode"in e&&void 0!==e.darkMode&&(r.result.darkMode=e.darkMode??null),"prefix"in e&&void 0!==e.prefix&&(r.result.prefix=e.prefix??""),"blocklist"in e&&void 0!==e.blocklist&&(r.result.blocklist=e.blocklist??[]),"important"in e&&void 0!==e.important&&(r.result.important=e.important??!1);let n=function(e){let t=new Set,r=Bt(e.design,(()=>e.theme),o),n=Object.assign(r,{theme:r,colors:Xt});function o(e){return"function"==typeof e?e(n)??null:e??null}for(let r of e.configs){let n=r.theme??{},o=n.extend??{};for(let e in n)"extend"!==e&&t.add(e);Object.assign(e.theme,n);for(let t in o)e.extend[t]??=[],e.extend[t].push(o[t])}delete e.theme.extend;for(let t in e.extend){let r=[e.theme[t],...e.extend[t]];e.theme[t]=()=>Lt({},r.map(o),dr)}for(let t in e.theme)e.theme[t]=o(e.theme[t]);if(e.theme.screens&&"object"==typeof e.theme.screens)for(let t of Object.keys(e.theme.screens)){let r=e.theme.screens[t];r&&"object"==typeof r&&("raw"in r||"max"in r||"min"in r&&(e.theme.screens[t]=r.min))}return t}(r);return{resolvedConfig:{...r.result,content:r.content,theme:r.theme,plugins:r.plugins},replacedThemeKeys:n}}function dr(e,t){return Array.isArray(e)&&Mt(e[0])?e.concat(t):Array.isArray(t)&&Mt(t[0])&&Mt(e)?[e,...t]:Array.isArray(t)?t:void 0}function fr(e,{config:t,base:r,path:n,reference:o,src:i}){let a=[];for(let e of t.plugins??[])"__isOptionsFunction"in e?a.push({...e(),reference:o,src:i}):"handler"in e?a.push({...e,reference:o,src:i}):a.push({handler:e,reference:o,src:i});if(Array.isArray(t.presets)&&0===t.presets.length)throw new Error("Error in the config file/plugin/preset. An empty preset (`preset: []`) is not currently supported.");for(let a of t.presets??[])fr(e,{path:n,base:r,config:a,reference:o,src:i});for(let t of a)e.plugins.push(t),t.config&&fr(e,{path:n,base:r,config:t.config,reference:!!t.reference,src:t.src??i});let l=t.content??[],s=Array.isArray(l)?l:l.files;for(let t of s)e.content.files.push("object"==typeof t?t:{base:r,pattern:t});e.configs.push(t)}function pr(e,t){let r=e.theme.container||{};if("object"!=typeof r||null===r)return;let n=function({center:e,padding:t,screens:r},n){let o=[],i=null;if(e&&o.push(T("margin-inline","auto")),("string"==typeof t||"object"==typeof t&&null!==t&&"DEFAULT"in t)&&o.push(T("padding-inline","string"==typeof t?t:t.DEFAULT)),"object"==typeof r&&null!==r){i=new Map;let e=Array.from(n.theme.namespace("--breakpoint").entries());if(e.sort(((e,t)=>se(e[1],t[1],"asc"))),e.length>0){let[t]=e[0];o.push(S("@media",`(width >= --theme(--breakpoint-${t}))`,[T("max-width","none")]))}for(let[e,t]of Object.entries(r)){if("object"==typeof t){if(!("min"in t))continue;t=t.min}i.set(e,S("@media",`(width >= ${t})`,[T("max-width",t)]))}}if("object"==typeof t&&null!==t){let e=Object.entries(t).filter((([e])=>"DEFAULT"!==e)).map((([e,t])=>[e,n.theme.resolveValue(e,["--breakpoint"]),t])).filter(Boolean);e.sort(((e,t)=>se(e[1],t[1],"asc")));for(let[t,,r]of e)if(i&&i.has(t))i.get(t).nodes.push(T("padding-inline",r));else{if(i)continue;o.push(S("@media",`(width >= theme(--breakpoint-${t}))`,[T("padding-inline",r)]))}}if(i)for(let[,e]of i)o.push(e);return o}(r,t);0!==n.length&&t.utilities.static("container",(()=>n.map(E)))}function hr({addVariant:e,config:t}){let r=t("darkMode",null),[n,o=".dark"]=Array.isArray(r)?r:[r];if("variant"===n){let e;if(Array.isArray(o)||"function"==typeof o?e=o:"string"==typeof o&&(e=[o]),Array.isArray(e))for(let t of e)".dark"===t?(n=!1,console.warn('When using `variant` for `darkMode`, you must provide a selector.\nExample: `darkMode: ["variant", ".your-selector &"]`')):t.includes("&")||(n=!1,console.warn('When using `variant` for `darkMode`, your selector must contain `&`.\nExample `darkMode: ["variant", ".your-selector &"]`'));o=e}null===n||("selector"===n?e("dark",`&:where(${o}, ${o} *)`):"media"===n?e("dark","@media (prefers-color-scheme: dark)"):"variant"===n?e("dark",o):"class"===n&&e("dark",`&:is(${o} *)`))}function mr(e){return(Array.isArray(e)?e:[e]).map((e=>"string"==typeof e?{min:e}:e&&"object"==typeof e?e:null)).map((e=>{if(null===e)return null;if("raw"in e)return e.raw;let t="";return void 0!==e.max&&(t+=`${e.max} >= `),t+="width",void 0!==e.min&&(t+=` >= ${e.min}`),`(${t})`})).filter(Boolean).join(", ")}var gr=/^[a-z]+$/;async function vr({designSystem:e,base:t,ast:r,loadModule:n,sources:o}){let i=0,a=[],l=[];y(r,((e,t)=>{if("at-rule"!==e.kind)return;let r=N(t);if("@plugin"===e.name){if(null!==r.parent)throw new Error("`@plugin` cannot be nested.");let t=e.params.slice(1,-1);if(0===t.length)throw new Error("`@plugin` must have a path.");let n={};for(let t of e.nodes??[]){if("declaration"!==t.kind)throw new Error(`Unexpected \`@plugin\` option:\n\n${F([t])}\n\n\`@plugin\` options must be a flat list of declarations.`);if(void 0===t.value)continue;let e=Z(t.value,",").map((e=>{if("null"===(e=e.trim()))return null;if("true"===e)return!0;if("false"===e)return!1;if(!Number.isNaN(Number(e)))return Number(e);if('"'===e[0]&&'"'===e[e.length-1]||"'"===e[0]&&"'"===e[e.length-1])return e.slice(1,-1);if("{"===e[0]&&"}"===e[e.length-1])throw new Error(`Unexpected \`@plugin\` option: Value of declaration \`${F([t]).trim()}\` is not supported.\n\nUsing an object as a plugin option is currently only supported in JavaScript configuration files.`);return e}));n[t.property]=1===e.length?e[0]:e}return a.push([{id:t,base:r.context.base,reference:!!r.context.reference,src:e.src},Object.keys(n).length>0?n:null]),i|=4,b.Replace([])}if("@config"===e.name){if(e.nodes.length>0)throw new Error("`@config` cannot have a body.");if(null!==r.parent)throw new Error("`@config` cannot be nested.");return l.push({id:e.params.slice(1,-1),base:r.context.base,reference:!!r.context.reference,src:e.src}),i|=4,b.Replace([])}})),function(e){for(let[t,r]of[["t","top"],["tr","top right"],["r","right"],["br","bottom right"],["b","bottom"],["bl","bottom left"],["l","left"],["tl","top left"]])e.utilities.suggest(`bg-gradient-to-${t}`,(()=>[])),e.utilities.static(`bg-gradient-to-${t}`,(()=>[T("--tw-gradient-position",`to ${r} in oklab`),T("background-image","linear-gradient(var(--tw-gradient-stops))")]));e.utilities.suggest("bg-left-top",(()=>[])),e.utilities.static("bg-left-top",(()=>[T("background-position","left top")])),e.utilities.suggest("bg-right-top",(()=>[])),e.utilities.static("bg-right-top",(()=>[T("background-position","right top")])),e.utilities.suggest("bg-left-bottom",(()=>[])),e.utilities.static("bg-left-bottom",(()=>[T("background-position","left bottom")])),e.utilities.suggest("bg-right-bottom",(()=>[])),e.utilities.static("bg-right-bottom",(()=>[T("background-position","right bottom")])),e.utilities.suggest("object-left-top",(()=>[])),e.utilities.static("object-left-top",(()=>[T("object-position","left top")])),e.utilities.suggest("object-right-top",(()=>[])),e.utilities.static("object-right-top",(()=>[T("object-position","right top")])),e.utilities.suggest("object-left-bottom",(()=>[])),e.utilities.static("object-left-bottom",(()=>[T("object-position","left bottom")])),e.utilities.suggest("object-right-bottom",(()=>[])),e.utilities.static("object-right-bottom",(()=>[T("object-position","right bottom")])),e.utilities.suggest("max-w-screen",(()=>[])),e.utilities.functional("max-w-screen",(t=>{if(!t.value||"arbitrary"===t.value.kind)return;let r=e.theme.resolve(t.value.value,["--breakpoint"]);return r?[T("max-width",r)]:void 0})),e.utilities.suggest("overflow-ellipsis",(()=>[])),e.utilities.static("overflow-ellipsis",(()=>[T("text-overflow","ellipsis")])),e.utilities.suggest("decoration-slice",(()=>[])),e.utilities.static("decoration-slice",(()=>[T("-webkit-box-decoration-break","slice"),T("box-decoration-break","slice")])),e.utilities.suggest("decoration-clone",(()=>[])),e.utilities.static("decoration-clone",(()=>[T("-webkit-box-decoration-break","clone"),T("box-decoration-break","clone")])),e.utilities.suggest("flex-shrink",(()=>[])),e.utilities.functional("flex-shrink",(e=>{if(!e.modifier){if(!e.value)return[T("flex-shrink","1")];if("arbitrary"===e.value.kind)return[T("flex-shrink",e.value.value)];if(Ce(e.value.value))return[T("flex-shrink",e.value.value)]}})),e.utilities.suggest("flex-grow",(()=>[])),e.utilities.functional("flex-grow",(e=>{if(!e.modifier){if(!e.value)return[T("flex-grow","1")];if("arbitrary"===e.value.kind)return[T("flex-grow",e.value.value)];if(Ce(e.value.value))return[T("flex-grow",e.value.value)]}})),e.utilities.suggest("order-none",(()=>[])),e.utilities.static("order-none",(()=>[T("order","0")])),e.utilities.suggest("break-words",(()=>[])),e.utilities.static("break-words",(()=>[T("overflow-wrap","break-word")]));for(let[t,r]of[["start","inset-inline-start"],["end","inset-inline-end"]]){let n=function({negative:t}){return n=>{if(!n.value){if(n.modifier)return;let o=e.theme.resolve(null,["--inset","--spacing"]);return null===o?void 0:[T(r,t?`calc(${o} * -1)`:o)]}if("arbitrary"===n.value.kind){if(n.modifier)return;let e=n.value.value;return[T(r,t?`calc(${e} * -1)`:e)]}let o=e.theme.resolve(n.value.fraction??n.value.value,["--inset","--spacing"]);if(null===o&&n.value.fraction){let[e,t]=Z(n.value.fraction,"/");if(!Ce(e)||!Ce(t))return;o=`calc(${n.value.fraction} * 100%)`}if(null===o&&t){let t=e.theme.resolve(null,["--spacing"]);if(t&&je(n.value.value)&&(o=`calc(${t} * -${n.value.value})`,null!==o))return[T(r,o)]}if(null===o){let t=e.theme.resolve(null,["--spacing"]);t&&je(n.value.value)&&(o=`calc(${t} * ${n.value.value})`)}if(null!==o)return[T(r,t?`calc(${o} * -1)`:o)]}};e.utilities.static(`${t}-auto`,(()=>[T(r,"auto")])),e.utilities.static(`${t}-full`,(()=>[T(r,"100%")])),e.utilities.static(`-${t}-full`,(()=>[T(r,"-100%")])),e.utilities.static(`${t}-px`,(()=>[T(r,"1px")])),e.utilities.static(`-${t}-px`,(()=>[T(r,"-1px")])),e.utilities.functional(`-${t}`,n({negative:!0})),e.utilities.functional(t,n({negative:!1}))}}(e);let s=e.resolveThemeValue;if(e.resolveThemeValue=function(n,a){return n.startsWith("--")?s(n,a):(i|=kr({designSystem:e,base:t,ast:r,sources:o,configs:[],pluginDetails:[]}),e.resolveThemeValue(n,a))},!a.length&&!l.length)return 0;let[c,u]=await Promise.all([Promise.all(l.map((async({id:e,base:t,reference:r,src:o})=>{let i=await n(e,t,"config");return{path:e,base:i.base,config:i.module,reference:r,src:o}}))),Promise.all(a.map((async([{id:e,base:t,reference:r,src:o},i])=>{let a=await n(e,t,"plugin");return{path:e,base:a.base,plugin:a.module,options:i,reference:r,src:o}})))]);return i|=kr({designSystem:e,base:t,ast:r,sources:o,configs:c,pluginDetails:u}),i}function kr({designSystem:e,base:t,ast:r,sources:n,configs:o,pluginDetails:i}){let a=0,l=[...i.map((e=>{if(!e.options)return{config:{plugins:[e.plugin]},base:e.base,reference:e.reference,src:e.src};if("__isOptionsFunction"in e.plugin)return{config:{plugins:[e.plugin(e.options)]},base:e.base,reference:e.reference,src:e.src};throw new Error(`The plugin "${e.path}" does not accept options`)})),...o],{resolvedConfig:s}=ur(e,[{config:sr(e.theme),base:t,reference:!0,src:void 0},...l,{config:{plugins:[hr]},base:t,reference:!0,src:void 0}]),{resolvedConfig:c,replacedThemeKeys:u}=ur(e,l),d={designSystem:e,ast:r,resolvedConfig:s,featuresRef:{set current(e){a|=e}}},f=Ht({...d,referenceMode:!1,src:void 0}),p=e.resolveThemeValue;e.resolveThemeValue=function(e,t){if("-"===e[0]&&"-"===e[1])return p(e,t);let r=f.theme(e,void 0);return Array.isArray(r)&&2===r.length?r[0]:Array.isArray(r)?r.join(", "):"object"==typeof r&&null!==r&&"DEFAULT"in r?r.DEFAULT:"string"==typeof r?r:void 0};for(let{handler:e,reference:t,src:r}of s.plugins){e(Ht({...d,referenceMode:t??!1,src:r}))}if(Ct(e,c,u),Jt(e,c),function(e,t){let r=e.theme.aria||{},n=e.theme.supports||{},o=e.theme.data||{};if(Object.keys(r).length>0){let e=t.variants.get("aria"),n=e?.applyFn,o=e?.compounds;t.variants.functional("aria",((e,t)=>{let o=t.value;return o&&"named"===o.kind&&o.value in r?n?.(e,{...t,value:{kind:"arbitrary",value:r[o.value]}}):n?.(e,t)}),{compounds:o})}if(Object.keys(n).length>0){let e=t.variants.get("supports"),r=e?.applyFn,o=e?.compounds;t.variants.functional("supports",((e,t)=>{let o=t.value;return o&&"named"===o.kind&&o.value in n?r?.(e,{...t,value:{kind:"arbitrary",value:n[o.value]}}):r?.(e,t)}),{compounds:o})}if(Object.keys(o).length>0){let e=t.variants.get("data"),r=e?.applyFn,n=e?.compounds;t.variants.functional("data",((e,t)=>{let n=t.value;return n&&"named"===n.kind&&n.value in o?r?.(e,{...t,value:{kind:"arbitrary",value:o[n.value]}}):r?.(e,t)}),{compounds:n})}}(c,e),function(e,t){let r=e.theme.screens||{},n=t.variants.get("min")?.order??0,o=[];for(let[e,i]of Object.entries(r)){let r=function(r){t.variants.static(e,(e=>{e.nodes=[S("@media",c,e.nodes)]}),{order:r})},a=t.variants.get(e),l=t.theme.resolveValue(e,["--breakpoint"]);if(a&&l&&!t.theme.hasDefault(`--breakpoint-${e}`))continue;let s=!0;"string"==typeof i&&(s=!1);let c=mr(i);s?o.push(r):r(n)}if(0!==o.length){for(let[,e]of t.variants.variants)e.order>n&&(e.order+=o.length);t.variants.compareFns=new Map(Array.from(t.variants.compareFns).map((([e,t])=>(e>n&&(e+=o.length),[e,t]))));for(let[e,t]of o.entries())t(n+e+1)}}(c,e),pr(c,e),!e.theme.prefix&&s.prefix){if(s.prefix.endsWith("-")&&(s.prefix=s.prefix.slice(0,-1),console.warn(`The prefix "${s.prefix}" is invalid. Prefixes must be lowercase ASCII letters (a-z) only and is written as a variant before all utilities. We have fixed up the prefix for you. Remove the trailing \`-\` to silence this warning.`)),!gr.test(s.prefix))throw new Error(`The prefix "${s.prefix}" is invalid. Prefixes must be lowercase ASCII letters (a-z) only.`);e.theme.prefix=s.prefix}if(!e.important&&!0===s.important&&(e.important=!0),"string"==typeof s.important){let e=s.important;y(r,((t,r)=>{if("at-rule"!==t.kind||"@tailwind"!==t.name||"utilities"!==t.params)return;let n=N(r);return"rule"===n.parent?.kind&&n.parent.selector===e?b.Stop:b.ReplaceStop(A(e,[t]))}))}for(let t of s.blocklist)e.invalidCandidates.add(t);for(let e of s.content.files){if("raw"in e)throw new Error(`Error in the config file/plugin/preset. The \`content\` key contains a \`raw\` entry:\n\n${JSON.stringify(e,null,2)}\n\nThis feature is not currently supported.`);let t=!1;"!"==e.pattern[0]&&(t=!0,e.pattern=e.pattern.slice(1)),n.push({...e,negated:t})}return a}var wr=/^(-?\d+)\.\.(-?\d+)(?:\.\.(-?\d+))?$/;function br(e){let t=e.indexOf("{");if(-1===t)return[e];let r=[],n=e.slice(0,t),o=e.slice(t),i=0,a=o.lastIndexOf("}");for(let e=0;e0&&(i=-i);for(let r=e;o?r<=t:r>=t;r+=i)a.push(r.toString())}return a}(s):Z(s,","),l=l.flatMap((e=>br(e)));let u=br(c);for(let e of u)for(let t of l)r.push(n+t+e);return r}var yr=/^[a-z]+$/;function xr(){throw new Error("No `loadModule` function provided to `compile`")}function $r(){throw new Error("No `loadStylesheet` function provided to `compile`")}async function zr(e,{base:t="",from:r,loadModule:n=xr,loadStylesheet:o=$r}={}){let i=0;e=[V({base:t},e)],i|=await At(e,t,o,0,void 0!==r);let a=null,c=new d,u=new Map,f=new Map,p=[],h=null,m=null,g=[],v=[],k=[],w=[],x=null;y(e,((e,t)=>{if("at-rule"!==e.kind)return;let r=N(t);if("@tailwind"===e.name&&("utilities"===e.params||e.params.startsWith("utilities"))){if(null!==m)return b.Replace([]);if(r.context.reference)return b.Replace([]);let t=Z(e.params," ");for(let e of t)if(e.startsWith("source(")){let t=e.slice(7,-1);if("none"===t){x=t;continue}if('"'===t[0]&&'"'!==t[t.length-1]||"'"===t[0]&&"'"!==t[t.length-1]||"'"!==t[0]&&'"'!==t[0])throw new Error("`source(…)` paths must be quoted.");x={base:r.context.sourceBase??r.context.base,pattern:t.slice(1,-1)}}m=e,i|=16}if("@utility"===e.name){if(null!==r.parent)throw new Error("`@utility` cannot be nested.");if(0===e.nodes.length)throw new Error(`\`@utility ${e.params}\` is empty. Utilities should include at least one property.`);let t=Ie(e);if(null===t){if(!e.params.endsWith("-*")){if(e.params.endsWith("*"))throw new Error(`\`@utility ${e.params}\` defines an invalid utility name. A functional utility must end in \`-*\`.`);if(e.params.includes("*"))throw new Error(`\`@utility ${e.params}\` defines an invalid utility name. The dynamic portion marked by \`-*\` must appear once at the end.`)}throw new Error(`\`@utility ${e.params}\` defines an invalid utility name. Utilities should be alphanumeric and start with a lowercase letter.`)}p.push(t)}if("@source"===e.name){if(e.nodes.length>0)throw new Error("`@source` cannot have a body.");if(null!==r.parent)throw new Error("`@source` cannot be nested.");let t=!1,n=!1,o=e.params;if("n"===o[0]&&o.startsWith("not ")&&(t=!0,o=o.slice(4)),"i"===o[0]&&o.startsWith("inline(")&&(n=!0,o=o.slice(7,-1).trim()),'"'===o[0]&&'"'!==o[o.length-1]||"'"===o[0]&&"'"!==o[o.length-1]||"'"!==o[0]&&'"'!==o[0])throw new Error("`@source` paths must be quoted.");let i=o.slice(1,-1);if(n){let e=t?w:k,r=Z(i," ");for(let t of r)for(let r of br(t))e.push(r)}else v.push({base:r.context.base,pattern:i,negated:t});return b.ReplaceSkip([])}if("@variant"===e.name&&(null===r.parent?0===e.nodes.length?e.name="@custom-variant":(y(e.nodes,(t=>{if("at-rule"===t.kind&&"@slot"===t.name)return e.name="@custom-variant",b.Stop})),"@variant"===e.name&&g.push(e)):g.push(e)),"@custom-variant"===e.name){if(null!==r.parent)throw new Error("`@custom-variant` cannot be nested.");let[t,n]=Z(e.params," ");if(!ut.test(t))throw new Error(`\`@custom-variant ${t}\` defines an invalid variant name. Variants should only contain alphanumeric, dashes, or underscore characters and start with a lowercase letter or number.`);if(e.nodes.length>0&&n)throw new Error(`\`@custom-variant ${t}\` cannot have both a selector and a body.`);if(0===e.nodes.length){if(!n)throw new Error(`\`@custom-variant ${t}\` has no selector or body.`);let e=Z(n.slice(1,-1),",");if(0===e.length||e.some((e=>""===e.trim())))throw new Error(`\`@custom-variant ${t} (${e.join(",")})\` selector is invalid.`);let r=[],o=[];for(let t of e)t=t.trim(),"@"===t[0]?r.push(t):o.push(t);u.set(t,(e=>{e.variants.static(t,(e=>{let t=[];o.length>0&&t.push(A(o.join(", "),e.nodes));for(let n of r)t.push(C(n,e.nodes));e.nodes=t}),{compounds:ft([...o,...r])})})),f.set(t,new Set)}else{let r=new Set;y(e.nodes,(e=>{"at-rule"===e.kind&&"@variant"===e.name&&r.add(e.params)})),u.set(t,(r=>{r.variants.fromAst(t,e.nodes,r)})),f.set(t,r)}return b.ReplaceSkip([])}if("@media"===e.name){let t=Z(e.params," "),n=[];for(let o of t)if(o.startsWith("source(")){let t=o.slice(7,-1);y(e.nodes,(e=>{if("at-rule"===e.kind&&"@tailwind"===e.name&&"utilities"===e.params)return e.params+=` source(${t})`,b.ReplaceStop([V({sourceBase:r.context.base},[e])])}))}else if(o.startsWith("theme(")){let t=o.slice(6,-1),r=t.includes("reference");y(e.nodes,(e=>{if("context"!==e.kind){if("at-rule"!==e.kind){if(r)throw new Error('Files imported with `@import "…" theme(reference)` must only contain `@theme` blocks.\nUse `@reference "…";` instead.');return b.Continue}if("@theme"===e.name)return e.params+=" "+t,b.Skip}}))}else if(o.startsWith("prefix(")){let t=o.slice(7,-1);y(e.nodes,(e=>{if("at-rule"===e.kind&&"@theme"===e.name)return e.params+=` prefix(${t})`,b.Skip}))}else"important"===o?a=!0:"reference"===o?e.nodes=[V({reference:!0},e.nodes)]:n.push(o);if(n.length>0)e.params=n.join(" ");else if(t.length>0)return b.Replace(e.nodes);return b.Continue}if("@theme"===e.name){let[t,n]=function(e){let t=0,r=null;for(let n of Z(e," "))"reference"===n?t|=2:"inline"===n?t|=1:"default"===n?t|=4:"static"===n?t|=8:n.startsWith("prefix(")&&n.endsWith(")")&&(r=n.slice(7,-1));return[t,r]}(e.params);if(i|=64,r.context.reference&&(t|=2),n){if(!yr.test(n))throw new Error(`The prefix "${n}" is invalid. Prefixes must be lowercase ASCII letters (a-z) only.`);c.prefix=n}return y(e.nodes,(r=>{if("at-rule"===r.kind&&"@keyframes"===r.name)return c.addKeyframes(r),b.Skip;if("comment"===r.kind)return;if("declaration"===r.kind&&r.property.startsWith("--"))return void c.add(s(r.property),r.value??"",t,r.src);let n=F([S(e.name,e.params,[r])]).split("\n").map(((e,t,r)=>`${0===t||t>=r.length-2?" ":">"} ${e}`)).join("\n");throw new Error(`\`@theme\` blocks must only contain custom properties or \`@keyframes\`.\n\n${n}`)})),h?b.ReplaceSkip([]):(h=A(":root, :host",[]),h.src=e.src,b.ReplaceSkip(h))}}));let $=gt(c,m?.src);if(a&&($.important=a),w.length>0)for(let e of w)$.invalidCandidates.add(e);i|=await vr({designSystem:$,base:t,ast:e,loadModule:n,sources:v});for(let e of u.keys())$.variants.static(e,(()=>{}));for(let e of function(e,t){let r=new Set,n=new Set,o=[];function i(a,l=[]){if(e.has(a)&&!r.has(a)){n.has(a)&&t.onCircularDependency?.(l,a),n.add(a);for(let t of e.get(a)??[])l.push(a),i(t,l),l.pop();r.add(a),n.delete(a),o.push(a)}}for(let t of e.keys())i(t);return o}(f,{onCircularDependency(e,t){let r=F(e.map(((r,n)=>S("@custom-variant",r,[S("@variant",e[n+1]??t,[])])))).replaceAll(";"," { … }").replace(`@custom-variant ${t} {`,`@custom-variant ${t} { /* ← */`);throw new Error(`Circular dependency detected in custom variants:\n\n${r}`)}}))u.get(e)?.($);for(let e of p)e($);if(h){let t=[];for(let[e,r]of $.theme.entries()){if(2&r.options)continue;let n=T(l(e),r.value);n.src=r.src,t.push(n)}let r=$.theme.getKeyframes();for(let t of r)e.push(V({theme:!0},[K([t])]));h.nodes=[V({theme:!0},t)]}if(i|=mt(e,$),i|=st(e,$),i|=$t(e,$),m){let e=m;e.kind="context",e.context={}}return y(e,(e=>{if("at-rule"===e.kind)return"@utility"===e.name?b.Replace([]):b.Skip})),{designSystem:$,ast:e,sources:v,root:x,utilitiesNode:m,features:i,inlineCandidates:k}}async function Ar(t,r={}){let o=n(t,{from:r.from}),i=await async function(e,t={}){let{designSystem:r,ast:n,sources:o,root:i,utilitiesNode:a,features:l,inlineCandidates:s}=await zr(e,t);function c(e){r.invalidCandidates.add(e)}n.unshift(j("! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com "));let u=new Set,d=null,f=0,p=!1;for(let e of s)r.invalidCandidates.has(e)||(u.add(e),p=!0);return{sources:o,root:i,features:l,build(o){if(0===l)return e;if(!a)return d??=O(n,r,t.polyfills),d;let i=p,s=!1;p=!1;let h=u.size;for(let e of o)if(!r.invalidCandidates.has(e))if("-"===e[0]&&"-"===e[1]){let t=r.theme.markUsedVariable(e);i||=t,s||=t}else u.add(e),i||=u.size!==h;if(!i)return d??=O(n,r,t.polyfills),d;let m=kt(u,r,{onInvalidCandidate:c}).astNodes;return t.from&&y(m,(e=>{e.src??=a.src})),s||f!==m.length?(f=m.length,a.nodes=m,d=O(n,r,t.polyfills),d):(d??=O(n,r,t.polyfills),d)}}}(o,r),a=o,l=t;return{...i,build(e){let t=i.build(e);return t===a||(l=F(t,!!r.from),a=t),l},buildSourceMap:()=>function({ast:t}){let r=new f((t=>e(t.code))),n=new f((e=>({url:e.file,content:e.code,ignore:!1}))),o={file:null,sources:[],mappings:[]};y(t,(e=>{if(!e.src||!e.dst)return;let t=n.get(e.src[0]);if(!t.content)return;let i=r.get(e.src[0]),a=r.get(e.dst[0]),l=t.content.slice(e.src[1],e.src[2]),s=0;for(let r of l.split("\n")){if(""!==r.trim()){let r=i.find(e.src[1]+s),n=a.find(e.dst[1]);o.mappings.push({name:null,originalPosition:{source:t,...r},generatedPosition:n})}s+=r.length,s+=1}let c=i.find(e.src[2]),u=a.find(e.dst[2]);o.mappings.push({name:null,originalPosition:{source:t,...c},generatedPosition:u})}));for(let e of r.keys())o.sources.push(n.get(e));return o.mappings.sort(((e,t)=>e.generatedPosition.line-t.generatedPosition.line||e.generatedPosition.column-t.generatedPosition.column||(e.originalPosition?.line??0)-(t.originalPosition?.line??0)||(e.originalPosition?.column??0)-(t.originalPosition?.column??0))),o}({ast:a})}}var Sr,Cr={index:"@layer theme, base, components, utilities;\n\n@import './theme.css' layer(theme);\n@import './preflight.css' layer(base);\n@import './utilities.css' layer(utilities);\n",preflight:"/*\n 1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)\n 2. Remove default margins and padding\n 3. Reset all borders.\n*/\n\n*,\n::after,\n::before,\n::backdrop,\n::file-selector-button {\n box-sizing: border-box; /* 1 */\n margin: 0; /* 2 */\n padding: 0; /* 2 */\n border: 0 solid; /* 3 */\n}\n\n/*\n 1. Use a consistent sensible line-height in all browsers.\n 2. Prevent adjustments of font size after orientation changes in iOS.\n 3. Use a more readable tab size.\n 4. Use the user's configured `sans` font-family by default.\n 5. Use the user's configured `sans` font-feature-settings by default.\n 6. Use the user's configured `sans` font-variation-settings by default.\n 7. Disable tap highlights on iOS.\n*/\n\nhtml,\n:host {\n line-height: 1.5; /* 1 */\n -webkit-text-size-adjust: 100%; /* 2 */\n tab-size: 4; /* 3 */\n font-family: --theme(\n --default-font-family,\n ui-sans-serif,\n system-ui,\n sans-serif,\n 'Apple Color Emoji',\n 'Segoe UI Emoji',\n 'Segoe UI Symbol',\n 'Noto Color Emoji'\n ); /* 4 */\n font-feature-settings: --theme(--default-font-feature-settings, normal); /* 5 */\n font-variation-settings: --theme(--default-font-variation-settings, normal); /* 6 */\n -webkit-tap-highlight-color: transparent; /* 7 */\n}\n\n/*\n 1. Add the correct height in Firefox.\n 2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)\n 3. Reset the default border style to a 1px solid border.\n*/\n\nhr {\n height: 0; /* 1 */\n color: inherit; /* 2 */\n border-top-width: 1px; /* 3 */\n}\n\n/*\n Add the correct text decoration in Chrome, Edge, and Safari.\n*/\n\nabbr:where([title]) {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n}\n\n/*\n Remove the default font size and weight for headings.\n*/\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n font-size: inherit;\n font-weight: inherit;\n}\n\n/*\n Reset links to optimize for opt-in styling instead of opt-out.\n*/\n\na {\n color: inherit;\n -webkit-text-decoration: inherit;\n text-decoration: inherit;\n}\n\n/*\n Add the correct font weight in Edge and Safari.\n*/\n\nb,\nstrong {\n font-weight: bolder;\n}\n\n/*\n 1. Use the user's configured `mono` font-family by default.\n 2. Use the user's configured `mono` font-feature-settings by default.\n 3. Use the user's configured `mono` font-variation-settings by default.\n 4. Correct the odd `em` font sizing in all browsers.\n*/\n\ncode,\nkbd,\nsamp,\npre {\n font-family: --theme(\n --default-mono-font-family,\n ui-monospace,\n SFMono-Regular,\n Menlo,\n Monaco,\n Consolas,\n 'Liberation Mono',\n 'Courier New',\n monospace\n ); /* 1 */\n font-feature-settings: --theme(--default-mono-font-feature-settings, normal); /* 2 */\n font-variation-settings: --theme(--default-mono-font-variation-settings, normal); /* 3 */\n font-size: 1em; /* 4 */\n}\n\n/*\n Add the correct font size in all browsers.\n*/\n\nsmall {\n font-size: 80%;\n}\n\n/*\n Prevent `sub` and `sup` elements from affecting the line height in all browsers.\n*/\n\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\nsup {\n top: -0.5em;\n}\n\n/*\n 1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)\n 2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)\n 3. Remove gaps between table borders by default.\n*/\n\ntable {\n text-indent: 0; /* 1 */\n border-color: inherit; /* 2 */\n border-collapse: collapse; /* 3 */\n}\n\n/*\n Use the modern Firefox focus style for all focusable elements.\n*/\n\n:-moz-focusring {\n outline: auto;\n}\n\n/*\n Add the correct vertical alignment in Chrome and Firefox.\n*/\n\nprogress {\n vertical-align: baseline;\n}\n\n/*\n Add the correct display in Chrome and Safari.\n*/\n\nsummary {\n display: list-item;\n}\n\n/*\n Make lists unstyled by default.\n*/\n\nol,\nul,\nmenu {\n list-style: none;\n}\n\n/*\n 1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)\n 2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)\n This can trigger a poorly considered lint error in some tools but is included by design.\n*/\n\nimg,\nsvg,\nvideo,\ncanvas,\naudio,\niframe,\nembed,\nobject {\n display: block; /* 1 */\n vertical-align: middle; /* 2 */\n}\n\n/*\n Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)\n*/\n\nimg,\nvideo {\n max-width: 100%;\n height: auto;\n}\n\n/*\n 1. Inherit font styles in all browsers.\n 2. Remove border radius in all browsers.\n 3. Remove background color in all browsers.\n 4. Ensure consistent opacity for disabled states in all browsers.\n*/\n\nbutton,\ninput,\nselect,\noptgroup,\ntextarea,\n::file-selector-button {\n font: inherit; /* 1 */\n font-feature-settings: inherit; /* 1 */\n font-variation-settings: inherit; /* 1 */\n letter-spacing: inherit; /* 1 */\n color: inherit; /* 1 */\n border-radius: 0; /* 2 */\n background-color: transparent; /* 3 */\n opacity: 1; /* 4 */\n}\n\n/*\n Restore default font weight.\n*/\n\n:where(select:is([multiple], [size])) optgroup {\n font-weight: bolder;\n}\n\n/*\n Restore indentation.\n*/\n\n:where(select:is([multiple], [size])) optgroup option {\n padding-inline-start: 20px;\n}\n\n/*\n Restore space after button.\n*/\n\n::file-selector-button {\n margin-inline-end: 4px;\n}\n\n/*\n Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)\n*/\n\n::placeholder {\n opacity: 1;\n}\n\n/*\n Set the default placeholder color to a semi-transparent version of the current text color in browsers that do not\n crash when using `color-mix(…)` with `currentcolor`. (https://github.com/tailwindlabs/tailwindcss/issues/17194)\n*/\n\n@supports (not (-webkit-appearance: -apple-pay-button)) /* Not Safari */ or\n (contain-intrinsic-size: 1px) /* Safari 17+ */ {\n ::placeholder {\n color: color-mix(in oklab, currentcolor 50%, transparent);\n }\n}\n\n/*\n Prevent resizing textareas horizontally by default.\n*/\n\ntextarea {\n resize: vertical;\n}\n\n/*\n Remove the inner padding in Chrome and Safari on macOS.\n*/\n\n::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n/*\n 1. Ensure date/time inputs have the same height when empty in iOS Safari.\n 2. Ensure text alignment can be changed on date/time inputs in iOS Safari.\n*/\n\n::-webkit-date-and-time-value {\n min-height: 1lh; /* 1 */\n text-align: inherit; /* 2 */\n}\n\n/*\n Prevent height from changing on date/time inputs in macOS Safari when the input is set to `display: block`.\n*/\n\n::-webkit-datetime-edit {\n display: inline-flex;\n}\n\n/*\n Remove excess padding from pseudo-elements in date/time inputs to ensure consistent height across browsers.\n*/\n\n::-webkit-datetime-edit-fields-wrapper {\n padding: 0;\n}\n\n::-webkit-datetime-edit,\n::-webkit-datetime-edit-year-field,\n::-webkit-datetime-edit-month-field,\n::-webkit-datetime-edit-day-field,\n::-webkit-datetime-edit-hour-field,\n::-webkit-datetime-edit-minute-field,\n::-webkit-datetime-edit-second-field,\n::-webkit-datetime-edit-millisecond-field,\n::-webkit-datetime-edit-meridiem-field {\n padding-block: 0;\n}\n\n/*\n Center dropdown marker shown on inputs with paired ``s in Chrome. (https://github.com/tailwindlabs/tailwindcss/issues/18499)\n*/\n\n::-webkit-calendar-picker-indicator {\n line-height: 1;\n}\n\n/*\n Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)\n*/\n\n:-moz-ui-invalid {\n box-shadow: none;\n}\n\n/*\n Correct the inability to style the border radius in iOS Safari.\n*/\n\nbutton,\ninput:where([type='button'], [type='reset'], [type='submit']),\n::file-selector-button {\n appearance: button;\n}\n\n/*\n Correct the cursor style of increment and decrement buttons in Safari.\n*/\n\n::-webkit-inner-spin-button,\n::-webkit-outer-spin-button {\n height: auto;\n}\n\n/*\n Make elements with the HTML hidden attribute stay hidden by default.\n*/\n\n[hidden]:where(:not([hidden='until-found'])) {\n display: none !important;\n}\n",theme:"@theme default {\n --font-sans:\n ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',\n 'Noto Color Emoji';\n --font-serif: ui-serif, Georgia, Cambria, 'Times New Roman', Times, serif;\n --font-mono:\n ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New',\n monospace;\n\n --color-red-50: oklch(97.1% 0.013 17.38);\n --color-red-100: oklch(93.6% 0.032 17.717);\n --color-red-200: oklch(88.5% 0.062 18.334);\n --color-red-300: oklch(80.8% 0.114 19.571);\n --color-red-400: oklch(70.4% 0.191 22.216);\n --color-red-500: oklch(63.7% 0.237 25.331);\n --color-red-600: oklch(57.7% 0.245 27.325);\n --color-red-700: oklch(50.5% 0.213 27.518);\n --color-red-800: oklch(44.4% 0.177 26.899);\n --color-red-900: oklch(39.6% 0.141 25.723);\n --color-red-950: oklch(25.8% 0.092 26.042);\n\n --color-orange-50: oklch(98% 0.016 73.684);\n --color-orange-100: oklch(95.4% 0.038 75.164);\n --color-orange-200: oklch(90.1% 0.076 70.697);\n --color-orange-300: oklch(83.7% 0.128 66.29);\n --color-orange-400: oklch(75% 0.183 55.934);\n --color-orange-500: oklch(70.5% 0.213 47.604);\n --color-orange-600: oklch(64.6% 0.222 41.116);\n --color-orange-700: oklch(55.3% 0.195 38.402);\n --color-orange-800: oklch(47% 0.157 37.304);\n --color-orange-900: oklch(40.8% 0.123 38.172);\n --color-orange-950: oklch(26.6% 0.079 36.259);\n\n --color-amber-50: oklch(98.7% 0.022 95.277);\n --color-amber-100: oklch(96.2% 0.059 95.617);\n --color-amber-200: oklch(92.4% 0.12 95.746);\n --color-amber-300: oklch(87.9% 0.169 91.605);\n --color-amber-400: oklch(82.8% 0.189 84.429);\n --color-amber-500: oklch(76.9% 0.188 70.08);\n --color-amber-600: oklch(66.6% 0.179 58.318);\n --color-amber-700: oklch(55.5% 0.163 48.998);\n --color-amber-800: oklch(47.3% 0.137 46.201);\n --color-amber-900: oklch(41.4% 0.112 45.904);\n --color-amber-950: oklch(27.9% 0.077 45.635);\n\n --color-yellow-50: oklch(98.7% 0.026 102.212);\n --color-yellow-100: oklch(97.3% 0.071 103.193);\n --color-yellow-200: oklch(94.5% 0.129 101.54);\n --color-yellow-300: oklch(90.5% 0.182 98.111);\n --color-yellow-400: oklch(85.2% 0.199 91.936);\n --color-yellow-500: oklch(79.5% 0.184 86.047);\n --color-yellow-600: oklch(68.1% 0.162 75.834);\n --color-yellow-700: oklch(55.4% 0.135 66.442);\n --color-yellow-800: oklch(47.6% 0.114 61.907);\n --color-yellow-900: oklch(42.1% 0.095 57.708);\n --color-yellow-950: oklch(28.6% 0.066 53.813);\n\n --color-lime-50: oklch(98.6% 0.031 120.757);\n --color-lime-100: oklch(96.7% 0.067 122.328);\n --color-lime-200: oklch(93.8% 0.127 124.321);\n --color-lime-300: oklch(89.7% 0.196 126.665);\n --color-lime-400: oklch(84.1% 0.238 128.85);\n --color-lime-500: oklch(76.8% 0.233 130.85);\n --color-lime-600: oklch(64.8% 0.2 131.684);\n --color-lime-700: oklch(53.2% 0.157 131.589);\n --color-lime-800: oklch(45.3% 0.124 130.933);\n --color-lime-900: oklch(40.5% 0.101 131.063);\n --color-lime-950: oklch(27.4% 0.072 132.109);\n\n --color-green-50: oklch(98.2% 0.018 155.826);\n --color-green-100: oklch(96.2% 0.044 156.743);\n --color-green-200: oklch(92.5% 0.084 155.995);\n --color-green-300: oklch(87.1% 0.15 154.449);\n --color-green-400: oklch(79.2% 0.209 151.711);\n --color-green-500: oklch(72.3% 0.219 149.579);\n --color-green-600: oklch(62.7% 0.194 149.214);\n --color-green-700: oklch(52.7% 0.154 150.069);\n --color-green-800: oklch(44.8% 0.119 151.328);\n --color-green-900: oklch(39.3% 0.095 152.535);\n --color-green-950: oklch(26.6% 0.065 152.934);\n\n --color-emerald-50: oklch(97.9% 0.021 166.113);\n --color-emerald-100: oklch(95% 0.052 163.051);\n --color-emerald-200: oklch(90.5% 0.093 164.15);\n --color-emerald-300: oklch(84.5% 0.143 164.978);\n --color-emerald-400: oklch(76.5% 0.177 163.223);\n --color-emerald-500: oklch(69.6% 0.17 162.48);\n --color-emerald-600: oklch(59.6% 0.145 163.225);\n --color-emerald-700: oklch(50.8% 0.118 165.612);\n --color-emerald-800: oklch(43.2% 0.095 166.913);\n --color-emerald-900: oklch(37.8% 0.077 168.94);\n --color-emerald-950: oklch(26.2% 0.051 172.552);\n\n --color-teal-50: oklch(98.4% 0.014 180.72);\n --color-teal-100: oklch(95.3% 0.051 180.801);\n --color-teal-200: oklch(91% 0.096 180.426);\n --color-teal-300: oklch(85.5% 0.138 181.071);\n --color-teal-400: oklch(77.7% 0.152 181.912);\n --color-teal-500: oklch(70.4% 0.14 182.503);\n --color-teal-600: oklch(60% 0.118 184.704);\n --color-teal-700: oklch(51.1% 0.096 186.391);\n --color-teal-800: oklch(43.7% 0.078 188.216);\n --color-teal-900: oklch(38.6% 0.063 188.416);\n --color-teal-950: oklch(27.7% 0.046 192.524);\n\n --color-cyan-50: oklch(98.4% 0.019 200.873);\n --color-cyan-100: oklch(95.6% 0.045 203.388);\n --color-cyan-200: oklch(91.7% 0.08 205.041);\n --color-cyan-300: oklch(86.5% 0.127 207.078);\n --color-cyan-400: oklch(78.9% 0.154 211.53);\n --color-cyan-500: oklch(71.5% 0.143 215.221);\n --color-cyan-600: oklch(60.9% 0.126 221.723);\n --color-cyan-700: oklch(52% 0.105 223.128);\n --color-cyan-800: oklch(45% 0.085 224.283);\n --color-cyan-900: oklch(39.8% 0.07 227.392);\n --color-cyan-950: oklch(30.2% 0.056 229.695);\n\n --color-sky-50: oklch(97.7% 0.013 236.62);\n --color-sky-100: oklch(95.1% 0.026 236.824);\n --color-sky-200: oklch(90.1% 0.058 230.902);\n --color-sky-300: oklch(82.8% 0.111 230.318);\n --color-sky-400: oklch(74.6% 0.16 232.661);\n --color-sky-500: oklch(68.5% 0.169 237.323);\n --color-sky-600: oklch(58.8% 0.158 241.966);\n --color-sky-700: oklch(50% 0.134 242.749);\n --color-sky-800: oklch(44.3% 0.11 240.79);\n --color-sky-900: oklch(39.1% 0.09 240.876);\n --color-sky-950: oklch(29.3% 0.066 243.157);\n\n --color-blue-50: oklch(97% 0.014 254.604);\n --color-blue-100: oklch(93.2% 0.032 255.585);\n --color-blue-200: oklch(88.2% 0.059 254.128);\n --color-blue-300: oklch(80.9% 0.105 251.813);\n --color-blue-400: oklch(70.7% 0.165 254.624);\n --color-blue-500: oklch(62.3% 0.214 259.815);\n --color-blue-600: oklch(54.6% 0.245 262.881);\n --color-blue-700: oklch(48.8% 0.243 264.376);\n --color-blue-800: oklch(42.4% 0.199 265.638);\n --color-blue-900: oklch(37.9% 0.146 265.522);\n --color-blue-950: oklch(28.2% 0.091 267.935);\n\n --color-indigo-50: oklch(96.2% 0.018 272.314);\n --color-indigo-100: oklch(93% 0.034 272.788);\n --color-indigo-200: oklch(87% 0.065 274.039);\n --color-indigo-300: oklch(78.5% 0.115 274.713);\n --color-indigo-400: oklch(67.3% 0.182 276.935);\n --color-indigo-500: oklch(58.5% 0.233 277.117);\n --color-indigo-600: oklch(51.1% 0.262 276.966);\n --color-indigo-700: oklch(45.7% 0.24 277.023);\n --color-indigo-800: oklch(39.8% 0.195 277.366);\n --color-indigo-900: oklch(35.9% 0.144 278.697);\n --color-indigo-950: oklch(25.7% 0.09 281.288);\n\n --color-violet-50: oklch(96.9% 0.016 293.756);\n --color-violet-100: oklch(94.3% 0.029 294.588);\n --color-violet-200: oklch(89.4% 0.057 293.283);\n --color-violet-300: oklch(81.1% 0.111 293.571);\n --color-violet-400: oklch(70.2% 0.183 293.541);\n --color-violet-500: oklch(60.6% 0.25 292.717);\n --color-violet-600: oklch(54.1% 0.281 293.009);\n --color-violet-700: oklch(49.1% 0.27 292.581);\n --color-violet-800: oklch(43.2% 0.232 292.759);\n --color-violet-900: oklch(38% 0.189 293.745);\n --color-violet-950: oklch(28.3% 0.141 291.089);\n\n --color-purple-50: oklch(97.7% 0.014 308.299);\n --color-purple-100: oklch(94.6% 0.033 307.174);\n --color-purple-200: oklch(90.2% 0.063 306.703);\n --color-purple-300: oklch(82.7% 0.119 306.383);\n --color-purple-400: oklch(71.4% 0.203 305.504);\n --color-purple-500: oklch(62.7% 0.265 303.9);\n --color-purple-600: oklch(55.8% 0.288 302.321);\n --color-purple-700: oklch(49.6% 0.265 301.924);\n --color-purple-800: oklch(43.8% 0.218 303.724);\n --color-purple-900: oklch(38.1% 0.176 304.987);\n --color-purple-950: oklch(29.1% 0.149 302.717);\n\n --color-fuchsia-50: oklch(97.7% 0.017 320.058);\n --color-fuchsia-100: oklch(95.2% 0.037 318.852);\n --color-fuchsia-200: oklch(90.3% 0.076 319.62);\n --color-fuchsia-300: oklch(83.3% 0.145 321.434);\n --color-fuchsia-400: oklch(74% 0.238 322.16);\n --color-fuchsia-500: oklch(66.7% 0.295 322.15);\n --color-fuchsia-600: oklch(59.1% 0.293 322.896);\n --color-fuchsia-700: oklch(51.8% 0.253 323.949);\n --color-fuchsia-800: oklch(45.2% 0.211 324.591);\n --color-fuchsia-900: oklch(40.1% 0.17 325.612);\n --color-fuchsia-950: oklch(29.3% 0.136 325.661);\n\n --color-pink-50: oklch(97.1% 0.014 343.198);\n --color-pink-100: oklch(94.8% 0.028 342.258);\n --color-pink-200: oklch(89.9% 0.061 343.231);\n --color-pink-300: oklch(82.3% 0.12 346.018);\n --color-pink-400: oklch(71.8% 0.202 349.761);\n --color-pink-500: oklch(65.6% 0.241 354.308);\n --color-pink-600: oklch(59.2% 0.249 0.584);\n --color-pink-700: oklch(52.5% 0.223 3.958);\n --color-pink-800: oklch(45.9% 0.187 3.815);\n --color-pink-900: oklch(40.8% 0.153 2.432);\n --color-pink-950: oklch(28.4% 0.109 3.907);\n\n --color-rose-50: oklch(96.9% 0.015 12.422);\n --color-rose-100: oklch(94.1% 0.03 12.58);\n --color-rose-200: oklch(89.2% 0.058 10.001);\n --color-rose-300: oklch(81% 0.117 11.638);\n --color-rose-400: oklch(71.2% 0.194 13.428);\n --color-rose-500: oklch(64.5% 0.246 16.439);\n --color-rose-600: oklch(58.6% 0.253 17.585);\n --color-rose-700: oklch(51.4% 0.222 16.935);\n --color-rose-800: oklch(45.5% 0.188 13.697);\n --color-rose-900: oklch(41% 0.159 10.272);\n --color-rose-950: oklch(27.1% 0.105 12.094);\n\n --color-slate-50: oklch(98.4% 0.003 247.858);\n --color-slate-100: oklch(96.8% 0.007 247.896);\n --color-slate-200: oklch(92.9% 0.013 255.508);\n --color-slate-300: oklch(86.9% 0.022 252.894);\n --color-slate-400: oklch(70.4% 0.04 256.788);\n --color-slate-500: oklch(55.4% 0.046 257.417);\n --color-slate-600: oklch(44.6% 0.043 257.281);\n --color-slate-700: oklch(37.2% 0.044 257.287);\n --color-slate-800: oklch(27.9% 0.041 260.031);\n --color-slate-900: oklch(20.8% 0.042 265.755);\n --color-slate-950: oklch(12.9% 0.042 264.695);\n\n --color-gray-50: oklch(98.5% 0.002 247.839);\n --color-gray-100: oklch(96.7% 0.003 264.542);\n --color-gray-200: oklch(92.8% 0.006 264.531);\n --color-gray-300: oklch(87.2% 0.01 258.338);\n --color-gray-400: oklch(70.7% 0.022 261.325);\n --color-gray-500: oklch(55.1% 0.027 264.364);\n --color-gray-600: oklch(44.6% 0.03 256.802);\n --color-gray-700: oklch(37.3% 0.034 259.733);\n --color-gray-800: oklch(27.8% 0.033 256.848);\n --color-gray-900: oklch(21% 0.034 264.665);\n --color-gray-950: oklch(13% 0.028 261.692);\n\n --color-zinc-50: oklch(98.5% 0 0);\n --color-zinc-100: oklch(96.7% 0.001 286.375);\n --color-zinc-200: oklch(92% 0.004 286.32);\n --color-zinc-300: oklch(87.1% 0.006 286.286);\n --color-zinc-400: oklch(70.5% 0.015 286.067);\n --color-zinc-500: oklch(55.2% 0.016 285.938);\n --color-zinc-600: oklch(44.2% 0.017 285.786);\n --color-zinc-700: oklch(37% 0.013 285.805);\n --color-zinc-800: oklch(27.4% 0.006 286.033);\n --color-zinc-900: oklch(21% 0.006 285.885);\n --color-zinc-950: oklch(14.1% 0.005 285.823);\n\n --color-neutral-50: oklch(98.5% 0 0);\n --color-neutral-100: oklch(97% 0 0);\n --color-neutral-200: oklch(92.2% 0 0);\n --color-neutral-300: oklch(87% 0 0);\n --color-neutral-400: oklch(70.8% 0 0);\n --color-neutral-500: oklch(55.6% 0 0);\n --color-neutral-600: oklch(43.9% 0 0);\n --color-neutral-700: oklch(37.1% 0 0);\n --color-neutral-800: oklch(26.9% 0 0);\n --color-neutral-900: oklch(20.5% 0 0);\n --color-neutral-950: oklch(14.5% 0 0);\n\n --color-stone-50: oklch(98.5% 0.001 106.423);\n --color-stone-100: oklch(97% 0.001 106.424);\n --color-stone-200: oklch(92.3% 0.003 48.717);\n --color-stone-300: oklch(86.9% 0.005 56.366);\n --color-stone-400: oklch(70.9% 0.01 56.259);\n --color-stone-500: oklch(55.3% 0.013 58.071);\n --color-stone-600: oklch(44.4% 0.011 73.639);\n --color-stone-700: oklch(37.4% 0.01 67.558);\n --color-stone-800: oklch(26.8% 0.007 34.298);\n --color-stone-900: oklch(21.6% 0.006 56.043);\n --color-stone-950: oklch(14.7% 0.004 49.25);\n\n --color-mauve-50: oklch(98.5% 0 0);\n --color-mauve-100: oklch(96% 0.003 325.6);\n --color-mauve-200: oklch(92.2% 0.005 325.62);\n --color-mauve-300: oklch(86.5% 0.012 325.68);\n --color-mauve-400: oklch(71.1% 0.019 323.02);\n --color-mauve-500: oklch(54.2% 0.034 322.5);\n --color-mauve-600: oklch(43.5% 0.029 321.78);\n --color-mauve-700: oklch(36.4% 0.029 323.89);\n --color-mauve-800: oklch(26.3% 0.024 320.12);\n --color-mauve-900: oklch(21.2% 0.019 322.12);\n --color-mauve-950: oklch(14.5% 0.008 326);\n\n --color-olive-50: oklch(98.8% 0.003 106.5);\n --color-olive-100: oklch(96.6% 0.005 106.5);\n --color-olive-200: oklch(93% 0.007 106.5);\n --color-olive-300: oklch(88% 0.011 106.6);\n --color-olive-400: oklch(73.7% 0.021 106.9);\n --color-olive-500: oklch(58% 0.031 107.3);\n --color-olive-600: oklch(46.6% 0.025 107.3);\n --color-olive-700: oklch(39.4% 0.023 107.4);\n --color-olive-800: oklch(28.6% 0.016 107.4);\n --color-olive-900: oklch(22.8% 0.013 107.4);\n --color-olive-950: oklch(15.3% 0.006 107.1);\n\n --color-mist-50: oklch(98.7% 0.002 197.1);\n --color-mist-100: oklch(96.3% 0.002 197.1);\n --color-mist-200: oklch(92.5% 0.005 214.3);\n --color-mist-300: oklch(87.2% 0.007 219.6);\n --color-mist-400: oklch(72.3% 0.014 214.4);\n --color-mist-500: oklch(56% 0.021 213.5);\n --color-mist-600: oklch(45% 0.017 213.2);\n --color-mist-700: oklch(37.8% 0.015 216);\n --color-mist-800: oklch(27.5% 0.011 216.9);\n --color-mist-900: oklch(21.8% 0.008 223.9);\n --color-mist-950: oklch(14.8% 0.004 228.8);\n\n --color-taupe-50: oklch(98.6% 0.002 67.8);\n --color-taupe-100: oklch(96% 0.002 17.2);\n --color-taupe-200: oklch(92.2% 0.005 34.3);\n --color-taupe-300: oklch(86.8% 0.007 39.5);\n --color-taupe-400: oklch(71.4% 0.014 41.2);\n --color-taupe-500: oklch(54.7% 0.021 43.1);\n --color-taupe-600: oklch(43.8% 0.017 39.3);\n --color-taupe-700: oklch(36.7% 0.016 35.7);\n --color-taupe-800: oklch(26.8% 0.011 36.5);\n --color-taupe-900: oklch(21.4% 0.009 43.1);\n --color-taupe-950: oklch(14.7% 0.004 49.3);\n\n --color-black: #000;\n --color-white: #fff;\n\n --spacing: 0.25rem;\n\n --breakpoint-sm: 40rem;\n --breakpoint-md: 48rem;\n --breakpoint-lg: 64rem;\n --breakpoint-xl: 80rem;\n --breakpoint-2xl: 96rem;\n\n --container-3xs: 16rem;\n --container-2xs: 18rem;\n --container-xs: 20rem;\n --container-sm: 24rem;\n --container-md: 28rem;\n --container-lg: 32rem;\n --container-xl: 36rem;\n --container-2xl: 42rem;\n --container-3xl: 48rem;\n --container-4xl: 56rem;\n --container-5xl: 64rem;\n --container-6xl: 72rem;\n --container-7xl: 80rem;\n\n --text-xs: 0.75rem;\n --text-xs--line-height: calc(1 / 0.75);\n --text-sm: 0.875rem;\n --text-sm--line-height: calc(1.25 / 0.875);\n --text-base: 1rem;\n --text-base--line-height: calc(1.5 / 1);\n --text-lg: 1.125rem;\n --text-lg--line-height: calc(1.75 / 1.125);\n --text-xl: 1.25rem;\n --text-xl--line-height: calc(1.75 / 1.25);\n --text-2xl: 1.5rem;\n --text-2xl--line-height: calc(2 / 1.5);\n --text-3xl: 1.875rem;\n --text-3xl--line-height: calc(2.25 / 1.875);\n --text-4xl: 2.25rem;\n --text-4xl--line-height: calc(2.5 / 2.25);\n --text-5xl: 3rem;\n --text-5xl--line-height: 1;\n --text-6xl: 3.75rem;\n --text-6xl--line-height: 1;\n --text-7xl: 4.5rem;\n --text-7xl--line-height: 1;\n --text-8xl: 6rem;\n --text-8xl--line-height: 1;\n --text-9xl: 8rem;\n --text-9xl--line-height: 1;\n\n --font-weight-thin: 100;\n --font-weight-extralight: 200;\n --font-weight-light: 300;\n --font-weight-normal: 400;\n --font-weight-medium: 500;\n --font-weight-semibold: 600;\n --font-weight-bold: 700;\n --font-weight-extrabold: 800;\n --font-weight-black: 900;\n\n --tracking-tighter: -0.05em;\n --tracking-tight: -0.025em;\n --tracking-normal: 0em;\n --tracking-wide: 0.025em;\n --tracking-wider: 0.05em;\n --tracking-widest: 0.1em;\n\n --leading-tight: 1.25;\n --leading-snug: 1.375;\n --leading-normal: 1.5;\n --leading-relaxed: 1.625;\n --leading-loose: 2;\n\n --radius-xs: 0.125rem;\n --radius-sm: 0.25rem;\n --radius-md: 0.375rem;\n --radius-lg: 0.5rem;\n --radius-xl: 0.75rem;\n --radius-2xl: 1rem;\n --radius-3xl: 1.5rem;\n --radius-4xl: 2rem;\n\n --shadow-2xs: 0 1px rgb(0 0 0 / 0.05);\n --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);\n --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);\n --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);\n --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);\n --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);\n --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);\n\n --inset-shadow-2xs: inset 0 1px rgb(0 0 0 / 0.05);\n --inset-shadow-xs: inset 0 1px 1px rgb(0 0 0 / 0.05);\n --inset-shadow-sm: inset 0 2px 4px rgb(0 0 0 / 0.05);\n\n --drop-shadow-xs: 0 1px 1px rgb(0 0 0 / 0.05);\n --drop-shadow-sm: 0 1px 2px rgb(0 0 0 / 0.15);\n --drop-shadow-md: 0 3px 3px rgb(0 0 0 / 0.12);\n --drop-shadow-lg: 0 4px 4px rgb(0 0 0 / 0.15);\n --drop-shadow-xl: 0 9px 7px rgb(0 0 0 / 0.1);\n --drop-shadow-2xl: 0 25px 25px rgb(0 0 0 / 0.15);\n\n --text-shadow-2xs: 0px 1px 0px rgb(0 0 0 / 0.15);\n --text-shadow-xs: 0px 1px 1px rgb(0 0 0 / 0.2);\n --text-shadow-sm:\n 0px 1px 0px rgb(0 0 0 / 0.075), 0px 1px 1px rgb(0 0 0 / 0.075), 0px 2px 2px rgb(0 0 0 / 0.075);\n --text-shadow-md:\n 0px 1px 1px rgb(0 0 0 / 0.1), 0px 1px 2px rgb(0 0 0 / 0.1), 0px 2px 4px rgb(0 0 0 / 0.1);\n --text-shadow-lg:\n 0px 1px 2px rgb(0 0 0 / 0.1), 0px 3px 2px rgb(0 0 0 / 0.1), 0px 4px 8px rgb(0 0 0 / 0.1);\n\n --ease-in: cubic-bezier(0.4, 0, 1, 1);\n --ease-out: cubic-bezier(0, 0, 0.2, 1);\n --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);\n\n --animate-spin: spin 1s linear infinite;\n --animate-ping: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;\n --animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;\n --animate-bounce: bounce 1s infinite;\n\n @keyframes spin {\n to {\n transform: rotate(360deg);\n }\n }\n\n @keyframes ping {\n 75%,\n 100% {\n transform: scale(2);\n opacity: 0;\n }\n }\n\n @keyframes pulse {\n 50% {\n opacity: 0.5;\n }\n }\n\n @keyframes bounce {\n 0%,\n 100% {\n transform: translateY(-25%);\n animation-timing-function: cubic-bezier(0.8, 0, 1, 1);\n }\n\n 50% {\n transform: none;\n animation-timing-function: cubic-bezier(0, 0, 0.2, 1);\n }\n }\n\n --blur-xs: 4px;\n --blur-sm: 8px;\n --blur-md: 12px;\n --blur-lg: 16px;\n --blur-xl: 24px;\n --blur-2xl: 40px;\n --blur-3xl: 64px;\n\n --perspective-dramatic: 100px;\n --perspective-near: 300px;\n --perspective-normal: 500px;\n --perspective-midrange: 800px;\n --perspective-distant: 1200px;\n\n --aspect-video: 16 / 9;\n\n --default-transition-duration: 150ms;\n --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n --default-font-family: --theme(--font-sans, initial);\n --default-font-feature-settings: --theme(--font-sans--font-feature-settings, initial);\n --default-font-variation-settings: --theme(--font-sans--font-variation-settings, initial);\n --default-mono-font-family: --theme(--font-mono, initial);\n --default-mono-font-feature-settings: --theme(--font-mono--font-feature-settings, initial);\n --default-mono-font-variation-settings: --theme(--font-mono--font-variation-settings, initial);\n}\n\n/* Deprecated */\n@theme default inline reference {\n --blur: 8px;\n --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);\n --shadow-inner: inset 0 2px 4px 0 rgb(0 0 0 / 0.05);\n --drop-shadow: 0 1px 2px rgb(0 0 0 / 0.1), 0 1px 1px rgb(0 0 0 / 0.06);\n --radius: 0.25rem;\n --max-width-prose: 65ch;\n}\n",utilities:"@tailwind utilities;\n"},Tr="text/tailwindcss",jr=new Set,Vr="",Kr=document.createElement("style"),Er=Promise.resolve(),Nr=1,Or=new class{start(e){performance.mark(`${e} (start)`)}end(e,t){performance.mark(`${e} (end)`),performance.measure(e,{start:`${e} (start)`,end:`${e} (end)`,detail:t})}hit(e,t){performance.mark(e,{detail:t})}error(e){throw performance.mark("(error)",{detail:{error:`${e}`}}),e}};async function Fr(e,t){try{let r=function(){if("tailwindcss"===e)return{path:"virtual:tailwindcss/index.css",base:t,content:Cr.index};if("tailwindcss/preflight"===e||"tailwindcss/preflight.css"===e||"./preflight.css"===e)return{path:"virtual:tailwindcss/preflight.css",base:t,content:Cr.preflight};if("tailwindcss/theme"===e||"tailwindcss/theme.css"===e||"./theme.css"===e)return{path:"virtual:tailwindcss/theme.css",base:t,content:Cr.theme};if("tailwindcss/utilities"===e||"tailwindcss/utilities.css"===e||"./utilities.css"===e)return{path:"virtual:tailwindcss/utilities.css",base:t,content:Cr.utilities};throw new Error(`The browser build does not support @import for "${e}"`)}();return Or.hit("Loaded stylesheet",{id:e,base:t,size:r.content.length}),r}catch(r){throw Or.hit("Failed to load stylesheet",{id:e,base:t,error:r.message??r}),r}}async function Ur(){throw new Error("The browser build does not support plugins or config files.")}function Wr(e){Er=Er.then((async function(){if(!Sr&&"full"!==e)return;let t=Nr++;Or.start(`Build #${t} (${e})`),"full"===e&&await async function(){Or.start("Create compiler"),Or.start("Reading Stylesheets");let e=document.querySelectorAll(`style[type="${Tr}"]`),t="";for(let r of e)Dr(r),t+=r.textContent+"\n";if(t.includes("@import")||(t=`@import "tailwindcss";${t}`),Or.end("Reading Stylesheets",{size:t.length,changed:Vr!==t}),Vr!==t){Vr=t,Or.start("Compile CSS");try{Sr=await Ar(t,{base:"/",loadStylesheet:Fr,loadModule:Ur})}finally{Or.end("Compile CSS"),Or.end("Create compiler")}jr.clear()}}(),Or.start("Build"),await async function(e){if(!Sr)return;let t=new Set;Or.start("Collect classes");for(let e of document.querySelectorAll("[class]"))for(let r of e.classList)jr.has(r)||(jr.add(r),t.add(r));Or.end("Collect classes",{count:t.size}),(0!==t.size||"incremental"!==e)&&(Or.start("Build utilities"),Kr.textContent=Sr.build(Array.from(t)),Or.end("Build utilities"))}(e),Or.end("Build"),Or.end(`Build #${t} (${e})`)})).catch((e=>Or.error(e)))}var Rr=new MutationObserver((()=>Wr("full")));function Dr(e){Rr.observe(e,{attributes:!0,attributeFilter:["type"],characterData:!0,subtree:!0,childList:!0})}new MutationObserver((e=>{let t=0,r=0;for(let n of e){for(let e of n.addedNodes)e.nodeType===Node.ELEMENT_NODE&&"STYLE"===e.tagName&&e.getAttribute("type")===Tr&&(Dr(e),t++);for(let e of n.addedNodes)1===e.nodeType&&e!==Kr&&r++;"attributes"===n.type&&r++}return t>0?Wr("full"):r>0?Wr("incremental"):void 0})).observe(document.documentElement,{attributes:!0,attributeFilter:["class"],childList:!0,subtree:!0}),Wr("full"),document.head.append(Kr)})(); +//# sourceMappingURL=/sm/7014f48916f35e08ed47c1d36ec8857a132aae60e9b088a9a6faeb62a0aea215.map \ No newline at end of file diff --git a/www/static/lib/vue/vue.global.prod.js b/www/static/lib/vue/vue.global.prod.js new file mode 100644 index 0000000..d3c478f --- /dev/null +++ b/www/static/lib/vue/vue.global.prod.js @@ -0,0 +1,13 @@ +/** +* vue v3.5.30 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/var Vue=function(e){"use strict";var t,n,r;let i,l,s,o,a,c,u,h,d,p,f,g,m;function y(e){let t=Object.create(null);for(let n of e.split(","))t[n]=1;return e=>e in t}let b={},_=[],S=()=>{},x=()=>!1,C=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||97>e.charCodeAt(2)),k=e=>e.startsWith("onUpdate:"),T=Object.assign,w=(e,t)=>{let n=e.indexOf(t);n>-1&&e.splice(n,1)},N=Object.prototype.hasOwnProperty,A=(e,t)=>N.call(e,t),E=Array.isArray,I=e=>"function"==typeof e,R=e=>"string"==typeof e,O=e=>"symbol"==typeof e,M=e=>null!==e&&"object"==typeof e,P=e=>(M(e)||I(e))&&I(e.then)&&I(e.catch),L=Object.prototype.toString,$=e=>R(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,F=y(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),D=y("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),V=e=>{let t=Object.create(null);return n=>t[n]||(t[n]=e(n))},j=/-\w/g,B=V(e=>e.replace(j,e=>e.slice(1).toUpperCase())),U=/\B([A-Z])/g,H=V(e=>e.replace(U,"-$1").toLowerCase()),q=V(e=>e.charAt(0).toUpperCase()+e.slice(1)),W=V(e=>e?`on${q(e)}`:""),K=(e,t)=>!Object.is(e,t),z=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},G=e=>{let t=parseFloat(e);return isNaN(t)?e:t},X=e=>{let t=R(e)?Number(e):NaN;return isNaN(t)?e:t},Q=()=>i||(i="u">typeof globalThis?globalThis:"u">typeof self?self:"u">typeof window?window:"u">typeof global?global:{}),Z=y("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol");function Y(e){if(E(e)){let t={};for(let n=0;n{if(e){let n=e.split(et);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function ei(e){let t="";if(R(e))t=e;else if(E(e))for(let n=0;neu(e,t))}let ed=e=>!!(e&&!0===e.__v_isRef),ep=e=>R(e)?e:null==e?"":E(e)||M(e)&&(e.toString===L||!I(e.toString))?ed(e)?ep(e.value):JSON.stringify(e,ef,2):String(e),ef=(e,t)=>{let n;if(ed(t))return ef(e,t.value);if("[object Map]"===(n=t,L.call(n)))return{[`Map(${t.size})`]:[...t.entries()].reduce((e,[t,n],r)=>(e[eg(t,r)+" =>"]=n,e),{})};{let e;if("[object Set]"===(e=t,L.call(e)))return{[`Set(${t.size})`]:[...t.values()].map(e=>eg(e))};else{if(O(t))return eg(t);let e;if(M(t)&&!E(t)&&"[object Object]"!==(e=t,L.call(e)))return String(t)}}return t},eg=(e,t="")=>{var n;return O(e)?`Symbol(${null!=(n=e.description)?n:t})`:e};class em{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.__v_skip=!0,this.parent=l,!e&&l&&(this.index=(l.scopes||(l.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){let e,t;if(this._isPaused=!0,this.scopes)for(e=0,t=this.scopes.length;e0&&0==--this._on&&(l=this.prevScope,this.prevScope=void 0)}stop(e){if(this._active){let t,n;for(t=0,this._active=!1,n=this.effects.length;t0)){if(a){let e=a;for(a=void 0;e;){let t=e.next;e.next=void 0,e.flags&=-9,e=t}}for(;o;){let t=o;for(o=void 0;t;){let n=t.next;if(t.next=void 0,t.flags&=-9,1&t.flags)try{t.trigger()}catch(t){e||(e=t)}t=n}}if(e)throw e}}function ex(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function eC(e){let t,n=e.depsTail,r=n;for(;r;){let e=r.prevDep;-1===r.version?(r===n&&(n=e),ew(r),function(e){let{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=e}e.deps=t,e.depsTail=n}function ek(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(eT(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function eT(e){if(4&e.flags&&!(16&e.flags)||(e.flags&=-17,e.globalVersion===eO)||(e.globalVersion=eO,!e.isSSR&&128&e.flags&&(!e.deps&&!e._dirty||!ek(e))))return;e.flags|=2;let t=e.dep,n=s,r=eN;s=e,eN=!0;try{ex(e);let n=e.fn(e._value);(0===t.version||K(n,e._value))&&(e.flags|=128,e._value=n,t.version++)}catch(e){throw t.version++,e}finally{s=n,eN=r,eC(e),e.flags&=-3}}function ew(e,t=!1){let{dep:n,prevSub:r,nextSub:i}=e;if(r&&(r.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let e=n.computed.deps;e;e=e.nextDep)ew(e,!0)}t||--n.sc||!n.map||n.map.delete(n.key)}let eN=!0,eA=[];function eE(){eA.push(eN),eN=!1}function eI(){let e=eA.pop();eN=void 0===e||e}function eR(e){let{cleanup:t}=e;if(e.cleanup=void 0,t){let e=s;s=void 0;try{t()}finally{s=e}}}let eO=0;class eM{constructor(e,t){this.sub=e,this.dep=t,this.version=t.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class eP{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(e){if(!s||!eN||s===this.computed)return;let t=this.activeLink;if(void 0===t||t.sub!==s)t=this.activeLink=new eM(s,this),s.deps?(t.prevDep=s.depsTail,s.depsTail.nextDep=t,s.depsTail=t):s.deps=s.depsTail=t,function e(t){if(t.dep.sc++,4&t.sub.flags){let n=t.dep.computed;if(n&&!t.dep.subs){n.flags|=20;for(let t=n.deps;t;t=t.nextDep)e(t)}let r=t.dep.subs;r!==t&&(t.prevSub=r,r&&(r.nextSub=t)),t.dep.subs=t}}(t);else if(-1===t.version&&(t.version=this.version,t.nextDep)){let e=t.nextDep;e.prevDep=t.prevDep,t.prevDep&&(t.prevDep.nextDep=e),t.prevDep=s.depsTail,t.nextDep=void 0,s.depsTail.nextDep=t,s.depsTail=t,s.deps===t&&(s.deps=e)}return t}trigger(e){this.version++,eO++,this.notify(e)}notify(e){eb++;try{for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{eS()}}}let eL=new WeakMap,e$=Symbol(""),eF=Symbol(""),eD=Symbol("");function eV(e,t,n){if(eN&&s){let t=eL.get(e);t||eL.set(e,t=new Map);let r=t.get(n);r||(t.set(n,r=new eP),r.map=t,r.key=n),r.track()}}function ej(e,t,n,r,i,l){let s=eL.get(e);if(!s)return void eO++;let o=e=>{e&&e.trigger()};if(eb++,"clear"===t)s.forEach(o);else{let i=E(e),l=i&&$(n);if(i&&"length"===n){let e=Number(r);s.forEach((t,n)=>{("length"===n||n===eD||!O(n)&&n>=e)&&o(t)})}else switch((void 0!==n||s.has(void 0))&&o(s.get(n)),l&&o(s.get(eD)),t){case"add":if(i)l&&o(s.get("length"));else{let t;o(s.get(e$));"[object Map]"===(t=e,L.call(t))&&o(s.get(eF))}break;case"delete":if(!i){let t;o(s.get(e$));"[object Map]"===(t=e,L.call(t))&&o(s.get(eF))}break;case"set":let a;"[object Map]"===(a=e,L.call(a))&&o(s.get(e$))}}eS()}function eB(e){let t=tm(e);return t===e?t:(eV(t,"iterate",eD),tf(e)?t:t.map(ty))}function eU(e){return eV(e=tm(e),"iterate",eD),e}function eH(e,t){return tp(e)?td(e)?tb(ty(t)):tb(t):ty(t)}let eq={__proto__:null,[Symbol.iterator](){return eW(this,Symbol.iterator,e=>eH(this,e))},concat(...e){return eB(this).concat(...e.map(e=>E(e)?eB(e):e))},entries(){return eW(this,"entries",e=>(e[1]=eH(this,e[1]),e))},every(e,t){return ez(this,"every",e,t,void 0,arguments)},filter(e,t){return ez(this,"filter",e,t,e=>e.map(e=>eH(this,e)),arguments)},find(e,t){return ez(this,"find",e,t,e=>eH(this,e),arguments)},findIndex(e,t){return ez(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return ez(this,"findLast",e,t,e=>eH(this,e),arguments)},findLastIndex(e,t){return ez(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return ez(this,"forEach",e,t,void 0,arguments)},includes(...e){return eG(this,"includes",e)},indexOf(...e){return eG(this,"indexOf",e)},join(e){return eB(this).join(e)},lastIndexOf(...e){return eG(this,"lastIndexOf",e)},map(e,t){return ez(this,"map",e,t,void 0,arguments)},pop(){return eX(this,"pop")},push(...e){return eX(this,"push",e)},reduce(e,...t){return eJ(this,"reduce",e,t)},reduceRight(e,...t){return eJ(this,"reduceRight",e,t)},shift(){return eX(this,"shift")},some(e,t){return ez(this,"some",e,t,void 0,arguments)},splice(...e){return eX(this,"splice",e)},toReversed(){return eB(this).toReversed()},toSorted(e){return eB(this).toSorted(e)},toSpliced(...e){return eB(this).toSpliced(...e)},unshift(...e){return eX(this,"unshift",e)},values(){return eW(this,"values",e=>eH(this,e))}};function eW(e,t,n){let r=eU(e),i=r[t]();return r===e||tf(e)||(i._next=i.next,i.next=()=>{let e=i._next();return e.done||(e.value=n(e.value)),e}),i}let eK=Array.prototype;function ez(e,t,n,r,i,l){let s=eU(e),o=s!==e&&!tf(e),a=s[t];if(a!==eK[t]){let t=a.apply(e,l);return o?ty(t):t}let c=n;s!==e&&(o?c=function(t,r){return n.call(this,eH(e,t),r,e)}:n.length>2&&(c=function(t,r){return n.call(this,t,r,e)}));let u=a.call(s,c,r);return o&&i?i(u):u}function eJ(e,t,n,r){let i=eU(e),l=i!==e&&!tf(e),s=n,o=!1;i!==e&&(l?(o=0===r.length,s=function(t,r,i){return o&&(o=!1,t=eH(e,t)),n.call(this,t,eH(e,r),i,e)}):n.length>3&&(s=function(t,r,i){return n.call(this,t,r,i,e)}));let a=i[t](s,...r);return o?eH(e,a):a}function eG(e,t,n){let r=tm(e);eV(r,"iterate",eD);let i=r[t](...n);return(-1===i||!1===i)&&tg(n[0])?(n[0]=tm(n[0]),r[t](...n)):i}function eX(e,t,n=[]){eE(),eb++;let r=tm(e)[t].apply(e,n);return eS(),eI(),r}let eQ=y("__proto__,__v_isRef,__isVue"),eZ=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>"arguments"!==e&&"caller"!==e).map(e=>Symbol[e]).filter(O));function eY(e){O(e)||(e=String(e));let t=tm(this);return eV(t,"has",e),t.hasOwnProperty(e)}class e0{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){if("__v_skip"===t)return e.__v_skip;let r=this._isReadonly,i=this._isShallow;if("__v_isReactive"===t)return!r;if("__v_isReadonly"===t)return r;if("__v_isShallow"===t)return i;if("__v_raw"===t)return n===(r?i?to:ts:i?tl:ti).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;let l=E(e);if(!r){let e;if(l&&(e=eq[t]))return e;if("hasOwnProperty"===t)return eY}let s=Reflect.get(e,t,t_(e)?e:n);if((O(t)?eZ.has(t):eQ(t))||(r||eV(e,"get",t),i))return s;if(t_(s)){let e=l&&$(t)?s:s.value;return r&&M(e)?tu(e):e}return M(s)?r?tu(s):ta(s):s}}class e1 extends e0{constructor(e=!1){super(!1,e)}set(e,t,n,r){let i=e[t],l=E(e)&&$(t);if(!this._isShallow){let e=tp(i);if(tf(n)||tp(n)||(i=tm(i),n=tm(n)),!l&&t_(i)&&!t_(n))if(e)return!0;else return i.value=n,!0}let s=l?Number(t)e;function e9(e){return function(){return"delete"!==e&&("clear"===e?void 0:this)}}function e7(e,t){let n,r=(T(n={get(n){let r=this.__v_raw,i=tm(r),l=tm(n);e||(K(n,l)&&eV(i,"get",n),eV(i,"get",l));let{has:s}=Reflect.getPrototypeOf(i),o=t?e5:e?tb:ty;return s.call(i,n)?o(r.get(n)):s.call(i,l)?o(r.get(l)):void(r!==i&&r.get(n))},get size(){let t=this.__v_raw;return e||eV(tm(t),"iterate",e$),t.size},has(t){let n=this.__v_raw,r=tm(n),i=tm(t);return e||(K(t,i)&&eV(r,"has",t),eV(r,"has",i)),t===i?n.has(t):n.has(t)||n.has(i)},forEach(n,r){let i=this,l=i.__v_raw,s=tm(l),o=t?e5:e?tb:ty;return e||eV(s,"iterate",e$),l.forEach((e,t)=>n.call(r,o(e),o(t),i))}},e?{add:e9("add"),set:e9("set"),delete:e9("delete"),clear:e9("clear")}:{add(e){let n=tm(this),r=Reflect.getPrototypeOf(n),i=tm(e),l=t||tf(e)||tp(e)?e:i;return r.has.call(n,l)||K(e,l)&&r.has.call(n,e)||K(i,l)&&r.has.call(n,i)||(n.add(l),ej(n,"add",l,l)),this},set(e,n){t||tf(n)||tp(n)||(n=tm(n));let r=tm(this),{has:i,get:l}=Reflect.getPrototypeOf(r),s=i.call(r,e);s||(e=tm(e),s=i.call(r,e));let o=l.call(r,e);return r.set(e,n),s?K(n,o)&&ej(r,"set",e,n):ej(r,"add",e,n),this},delete(e){let t=tm(this),{has:n,get:r}=Reflect.getPrototypeOf(t),i=n.call(t,e);i||(e=tm(e),i=n.call(t,e)),r&&r.call(t,e);let l=t.delete(e);return i&&ej(t,"delete",e,void 0),l},clear(){let e=tm(this),t=0!==e.size,n=e.clear();return t&&ej(e,"clear",void 0,void 0),n}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=function(...n){let i,l=this.__v_raw,s=tm(l),o="[object Map]"===(i=s,L.call(i)),a="entries"===r||r===Symbol.iterator&&o,c=l[r](...n),u=t?e5:e?tb:ty;return e||eV(s,"iterate","keys"===r&&o?eF:e$),T(Object.create(c),{next(){let{value:e,done:t}=c.next();return t?{value:e,done:t}:{value:a?[u(e[0]),u(e[1])]:u(e),done:t}}})}}),n);return(t,n,i)=>"__v_isReactive"===n?!e:"__v_isReadonly"===n?e:"__v_raw"===n?t:Reflect.get(A(r,n)&&n in t?r:t,n,i)}let te={get:e7(!1,!1)},tt={get:e7(!1,!0)},tn={get:e7(!0,!1)},tr={get:e7(!0,!0)},ti=new WeakMap,tl=new WeakMap,ts=new WeakMap,to=new WeakMap;function ta(e){return tp(e)?e:th(e,!1,e6,te,ti)}function tc(e){return th(e,!1,e4,tt,tl)}function tu(e){return th(e,!0,e3,tn,ts)}function th(e,t,n,r,i){var l;let s;if(!M(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;let o=(l=e).__v_skip||!Object.isExtensible(l)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}((s=l,L.call(s)).slice(8,-1));if(0===o)return e;let a=i.get(e);if(a)return a;let c=new Proxy(e,2===o?r:n);return i.set(e,c),c}function td(e){return tp(e)?td(e.__v_raw):!!(e&&e.__v_isReactive)}function tp(e){return!!(e&&e.__v_isReadonly)}function tf(e){return!!(e&&e.__v_isShallow)}function tg(e){return!!e&&!!e.__v_raw}function tm(e){let t=e&&e.__v_raw;return t?tm(t):e}function tv(e){return!A(e,"__v_skip")&&Object.isExtensible(e)&&J(e,"__v_skip",!0),e}let ty=e=>M(e)?ta(e):e,tb=e=>M(e)?tu(e):e;function t_(e){return!!e&&!0===e.__v_isRef}function tS(e){return tC(e,!1)}function tx(e){return tC(e,!0)}function tC(e,t){return t_(e)?e:new tk(e,t)}class tk{constructor(e,t){this.dep=new eP,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?e:tm(e),this._value=t?e:ty(e),this.__v_isShallow=t}get value(){return this.dep.track(),this._value}set value(e){let t=this._rawValue,n=this.__v_isShallow||tf(e)||tp(e);K(e=n?e:tm(e),t)&&(this._rawValue=e,this._value=n?e:ty(e),this.dep.trigger())}}function tT(e){return t_(e)?e.value:e}let tw={get:(e,t,n)=>"__v_raw"===t?e:tT(Reflect.get(e,t,n)),set:(e,t,n,r)=>{let i=e[t];return t_(i)&&!t_(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function tN(e){return td(e)?e:new Proxy(e,tw)}class tA{constructor(e){this.__v_isRef=!0,this._value=void 0;const t=this.dep=new eP,{get:n,set:r}=e(t.track.bind(t),t.trigger.bind(t));this._get=n,this._set=r}get value(){return this._value=this._get()}set value(e){this._set(e)}}function tE(e){return new tA(e)}class tI{constructor(e,t,n){this._object=e,this._key=t,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0,this._raw=tm(e);let r=!0,i=e;if(!E(e)||!$(String(t)))do r=!tg(i)||tf(i);while(r&&(i=i.__v_raw));this._shallow=r}get value(){let e=this._object[this._key];return this._shallow&&(e=tT(e)),this._value=void 0===e?this._defaultValue:e}set value(e){if(this._shallow&&t_(this._raw[this._key])){let t=this._object[this._key];if(t_(t)){t.value=e;return}}this._object[this._key]=e}get dep(){var e,t;let n;return e=this._raw,t=this._key,(n=eL.get(e))&&n.get(t)}}class tR{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}class tO{constructor(e,t,n){this.fn=e,this.setter=t,this._value=void 0,this.dep=new eP(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=eO-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!t,this.isSSR=n}notify(){if(this.flags|=16,!(8&this.flags)&&s!==this)return e_(this,!0),!0}get value(){let e=this.dep.track();return eT(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}let tM={},tP=new WeakMap;function tL(e,t=!1,n=g){if(n){let t=tP.get(n);t||tP.set(n,t=[]),t.push(e)}}function t$(e,t=1/0,n){if(t<=0||!M(e)||e.__v_skip||((n=n||new Map).get(e)||0)>=t)return e;if(n.set(e,t),t--,t_(e))t$(e.value,t,n);else if(E(e))for(let r=0;r{t$(e,t,n)});else{let r;if("[object Object]"===(r=e,L.call(r))){for(let r in e)t$(e[r],t,n);for(let r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&t$(e[r],t,n)}}}return e}function tF(e,t,n,r){try{return r?e(...r):e()}catch(e){tV(e,t,n)}}function tD(e,t,n,r){if(I(e)){let i=tF(e,t,n,r);return i&&P(i)&&i.catch(e=>{tV(e,t,n)}),i}if(E(e)){let i=[];for(let l=0;l=tY(n)?tj.push(e):tj.splice(function(e){let t=tB+1,n=tj.length;for(;t>>1,i=tj[r],l=tY(i);ltY(e)-tY(t));if(tU.length=0,tH)return void tH.push(...e);for(tq=0,tH=e;tqnull==e.id?2&e.flags?-1:1/0:e.id,t0=null,t1=null;function t2(e){let t=t0;return t0=e,t1=e&&e.type.__scopeId||null,t}function t6(e,t=t0,n){if(!t||e._n)return e;let r=(...n)=>{let i;r._d&&is(-1);let l=t2(t);try{i=e(...n)}finally{t2(l),r._d&&is(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function t3(e,t,n,r){let i=e.dirs,l=t&&t.dirs;for(let s=0;s1)return n&&I(t)?t.call(r&&r.proxy):t}}let t5=Symbol.for("v-scx");function t9(e,t){return t7(e,null,{flush:"sync"})}function t7(e,t,n=b){let{flush:r}=n,i=T({},n),s=iw;i.call=(e,t,n)=>tD(e,s,t,n);let o=!1;return"post"===r?i.scheduler=e=>{rW(e,s&&s.suspense)}:"sync"!==r&&(o=!0,i.scheduler=(e,t)=>{t?e():tJ(e)}),i.augmentJob=e=>{t&&(e.flags|=4),o&&(e.flags|=2,s&&(e.id=s.uid,e.i=s))},function(e,t,n=b){let r,i,s,o,{immediate:a,deep:c,once:u,scheduler:h,augmentJob:d,call:p}=n,f=e=>c?e:tf(e)||!1===c||0===c?t$(e,1):t$(e),m=!1,y=!1;if(t_(e)?(i=()=>e.value,m=tf(e)):td(e)?(i=()=>f(e),m=!0):E(e)?(y=!0,m=e.some(e=>td(e)||tf(e)),i=()=>e.map(e=>t_(e)?e.value:td(e)?f(e):I(e)?p?p(e,2):e():void 0)):i=I(e)?t?p?()=>p(e,2):e:()=>{if(s){eE();try{s()}finally{eI()}}let t=g;g=r;try{return p?p(e,3,[o]):e(o)}finally{g=t}}:S,t&&c){let e=i,t=!0===c?1/0:c;i=()=>t$(e(),t)}let _=l,x=()=>{r.stop(),_&&_.active&&w(_.effects,r)};if(u&&t){let e=t;t=(...t)=>{e(...t),x()}}let C=y?Array(e.length).fill(tM):tM,k=e=>{if(1&r.flags&&(r.dirty||e))if(t){let e=r.run();if(c||m||(y?e.some((e,t)=>K(e,C[t])):K(e,C))){s&&s();let n=g;g=r;try{let n=[e,C===tM?void 0:y&&C[0]===tM?[]:C,o];C=e,p?p(t,3,n):t(...n)}finally{g=n}}}else r.run()};return d&&d(k),(r=new ey(i)).scheduler=h?()=>h(k,!1):k,o=e=>tL(e,!1,r),s=r.onStop=()=>{let e=tP.get(r);if(e){if(p)p(e,4);else for(let t of e)t();tP.delete(r)}},t?a?k(!0):C=r.run():h?h(k.bind(null,!0),!0):r.run(),x.pause=r.pause.bind(r),x.resume=r.resume.bind(r),x.stop=x,x}(e,t,i)}function ne(e,t,n){let r,i=this.proxy,l=R(e)?e.includes(".")?nt(i,e):()=>i[e]:e.bind(i,i);I(t)?r=t:(r=t.handler,n=t);let s=iA(this),o=t7(l,r.bind(i),n);return s(),o}function nt(e,t){let n=t.split(".");return()=>{let t=e;for(let e=0;ee&&(e.disabled||""===e.disabled),ni=e=>e&&(e.defer||""===e.defer),nl=e=>"u">typeof SVGElement&&e instanceof SVGElement,ns=e=>"function"==typeof MathMLElement&&e instanceof MathMLElement,no=(e,t)=>{let n=e&&e.to;return R(n)?t?t(n):null:n},na={name:"Teleport",__isTeleport:!0,process(e,t,n,r,i,l,s,o,a,c){let{mc:u,pc:h,pbc:d,o:{insert:p,querySelector:f,createText:g}}=c,m=nr(t.props),{shapeFlag:y,children:b,dynamicChildren:_}=t;if(null==e){let e=t.el=g(""),c=t.anchor=g("");p(e,n,r),p(c,n,r);let h=(e,t)=>{16&y&&u(b,e,t,i,l,s,o,a)},d=()=>{let e=t.target=no(t.props,f),n=nh(e,t,g,p);e&&("svg"!==s&&nl(e)?s="svg":"mathml"!==s&&ns(e)&&(s="mathml"),i&&i.isCE&&(i.ce._teleportTargets||(i.ce._teleportTargets=new Set)).add(e),m||(h(e,n),nu(t,!1)))};m&&(h(n,c),nu(t,!0)),ni(t.props)?(t.el.__isMounted=!1,rW(()=>{d(),delete t.el.__isMounted},l)):d()}else{if(ni(t.props)&&!1===e.el.__isMounted)return void rW(()=>{na.process(e,t,n,r,i,l,s,o,a,c)},l);t.el=e.el,t.targetStart=e.targetStart;let u=t.anchor=e.anchor,p=t.target=e.target,g=t.targetAnchor=e.targetAnchor,y=nr(e.props),b=y?n:p,S=y?u:g;if("svg"===s||nl(p)?s="svg":("mathml"===s||ns(p))&&(s="mathml"),_?(d(e.dynamicChildren,_,b,i,l,s,o),rQ(e,t,!0)):a||h(e,t,b,S,i,l,s,o,!1),m)y?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):nc(t,n,u,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){let e=t.target=no(t.props,f);e&&nc(t,e,null,c,0)}else y&&nc(t,p,g,c,1);nu(t,m)}},remove(e,t,n,{um:r,o:{remove:i}},l){let{shapeFlag:s,children:o,anchor:a,targetStart:c,targetAnchor:u,target:h,props:d}=e;if(h&&(i(c),i(u)),l&&i(a),16&s){let e=l||!nr(d);for(let i=0;i{e.isMounted=!0}),n6(()=>{e.isUnmounting=!0}),e}let ng=[Function,Array],nm={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:ng,onEnter:ng,onAfterEnter:ng,onEnterCancelled:ng,onBeforeLeave:ng,onLeave:ng,onAfterLeave:ng,onLeaveCancelled:ng,onBeforeAppear:ng,onAppear:ng,onAfterAppear:ng,onAppearCancelled:ng},nv=e=>{let t=e.subTree;return t.component?nv(t.component):t};function ny(e){let t=e[0];if(e.length>1){for(let n of e)if(n.type!==r9){t=n;break}}return t}let nb={name:"BaseTransition",props:nm,setup(e,{slots:t}){let n=iN(),r=nf();return()=>{let i=t.default&&nT(t.default(),!0);if(!i||!i.length)return;let l=ny(i),s=tm(e),{mode:o}=s;if(r.isLeaving)return nx(l);let a=nC(l);if(!a)return nx(l);let c=nS(a,s,r,n,e=>c=e);a.type!==r9&&nk(a,c);let u=n.subTree&&nC(n.subTree);if(u&&u.type!==r9&&!iu(u,a)&&nv(n).type!==r9){let e=nS(u,s,r,n);if(nk(u,e),"out-in"===o&&a.type!==r9)return r.isLeaving=!0,e.afterLeave=()=>{r.isLeaving=!1,8&n.job.flags||n.update(),delete e.afterLeave,u=void 0},nx(l);"in-out"===o&&a.type!==r9?e.delayLeave=(e,t,n)=>{n_(r,u)[String(u.key)]=u,e[nd]=()=>{t(),e[nd]=void 0,delete c.delayedLeave,u=void 0},c.delayedLeave=()=>{n(),delete c.delayedLeave,u=void 0}}:u=void 0}else u&&(u=void 0);return l}}};function n_(e,t){let{leavingVNodes:n}=e,r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function nS(e,t,n,r,i){let{appear:l,mode:s,persisted:o=!1,onBeforeEnter:a,onEnter:c,onAfterEnter:u,onEnterCancelled:h,onBeforeLeave:d,onLeave:p,onAfterLeave:f,onLeaveCancelled:g,onBeforeAppear:m,onAppear:y,onAfterAppear:b,onAppearCancelled:_}=t,S=String(e.key),x=n_(n,e),C=(e,t)=>{e&&tD(e,r,9,t)},k=(e,t)=>{let n=t[1];C(e,t),E(e)?e.every(e=>e.length<=1)&&n():e.length<=1&&n()},T={mode:s,persisted:o,beforeEnter(t){let r=a;if(!n.isMounted)if(!l)return;else r=m||a;t[nd]&&t[nd](!0);let i=x[S];i&&iu(e,i)&&i.el[nd]&&i.el[nd](),C(r,[t])},enter(t){if(x[S]===e)return;let r=c,i=u,s=h;if(!n.isMounted)if(!l)return;else r=y||c,i=b||u,s=_||h;let o=!1;t[np]=e=>{o||(o=!0,e?C(s,[t]):C(i,[t]),T.delayedLeave&&T.delayedLeave(),t[np]=void 0)};let a=t[np].bind(null,!1);r?k(r,[t,a]):a()},leave(t,r){let i=String(e.key);if(t[np]&&t[np](!0),n.isUnmounting)return r();C(d,[t]);let l=!1;t[nd]=n=>{l||(l=!0,r(),n?C(g,[t]):C(f,[t]),t[nd]=void 0,x[i]===e&&delete x[i])};let s=t[nd].bind(null,!1);x[i]=e,p?k(p,[t,s]):s()},clone(e){let l=nS(e,t,n,r,i);return i&&i(l),l}};return T}function nx(e){if(nq(e))return(e=iv(e)).children=null,e}function nC(e){if(!nq(e))return e.type.__isTeleport&&e.children?ny(e.children):e;if(e.component)return e.component.subTree;let{shapeFlag:t,children:n}=e;if(n){if(16&t)return n[0];if(32&t&&I(n.default))return n.default()}}function nk(e,t){6&e.shapeFlag&&e.component?(e.transition=t,nk(e.component.subTree,t)):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function nT(e,t=!1,n){let r=[],i=0;for(let l=0;l1)for(let e=0;enI(e,t&&(E(t)?t[l]:t),n,r,i));if(nU(r)&&!i){512&r.shapeFlag&&r.type.__asyncResolved&&r.component.subTree.component&&nI(e,t,n,r.component.subTree);return}let l=4&r.shapeFlag?iF(r.component):r.el,s=i?null:l,{i:o,r:a}=e,c=t&&t.r,u=o.refs===b?o.refs={}:o.refs,h=o.setupState,d=tm(h),p=h===b?x:e=>!nA(u,e)&&A(d,e),f=(e,t)=>!(t&&nA(u,t));if(null!=c&&c!==a&&(nR(t),R(c)?(u[c]=null,p(c)&&(h[c]=null)):t_(c)&&(f(c,t.k)&&(c.value=null),t.k&&(u[t.k]=null))),I(a))tF(a,o,12,[s,u]);else{let t=R(a),r=t_(a);if(t||r){let o=()=>{if(e.f){let n=t?p(a)?h[a]:u[a]:f()||!e.k?a.value:u[e.k];if(i)E(n)&&w(n,l);else if(E(n))n.includes(l)||n.push(l);else if(t)u[a]=[l],p(a)&&(h[a]=u[a]);else{let t=[l];f(a,e.k)&&(a.value=t),e.k&&(u[e.k]=t)}}else t?(u[a]=s,p(a)&&(h[a]=s)):r&&(f(a,e.k)&&(a.value=s),e.k&&(u[e.k]=s))};if(s){let t=()=>{o(),nE.delete(e)};t.id=-1,nE.set(e,t),rW(t,n)}else nR(e),o()}}}function nR(e){let t=nE.get(e);t&&(t.flags|=8,nE.delete(e))}let nO=!1,nM=()=>{nO||(console.error("Hydration completed but contains mismatches."),nO=!0)},nP=e=>{if(1===e.nodeType){if(e.namespaceURI.includes("svg")&&"foreignObject"!==e.tagName)return"svg";if(e.namespaceURI.includes("MathML"))return"mathml"}},nL=e=>8===e.nodeType;function n$(e){let{mt:t,p:n,o:{patchProp:r,createText:i,nextSibling:l,parentNode:s,remove:o,insert:a,createComment:c}}=e,u=(n,r,o,c,b,_=!1)=>{_=_||!!r.dynamicChildren;let S=nL(n)&&"["===n.data,x=()=>f(n,r,o,c,b,S),{type:C,ref:k,shapeFlag:T,patchFlag:w}=r,N=n.nodeType;r.el=n,-2===w&&(_=!1,r.dynamicChildren=null);let A=null;switch(C){case r5:3!==N?""===r.children?(a(r.el=i(""),s(n),n),A=n):A=x():(n.data!==r.children&&(nM(),n.data=r.children),A=l(n));break;case r9:y(n)?(A=l(n),m(r.el=n.content.firstChild,n,o)):A=8!==N||S?x():l(n);break;case r7:if(S&&(N=(n=l(n)).nodeType),1===N||3===N){A=n;let e=!r.children.length;for(let t=0;t{s=s||!!t.dynamicChildren;let{type:a,props:c,patchFlag:u,shapeFlag:h,dirs:p,transition:f}=t,g="input"===a||"option"===a;if(g||-1!==u){let a;p&&t3(t,null,n,"created");let b=!1;if(y(e)){b=rX(null,f)&&n&&n.vnode.props&&n.vnode.props.appear;let r=e.content.firstChild;if(b){let e=r.getAttribute("class");e&&(r.$cls=e),f.beforeEnter(r)}m(r,e,n),t.el=e=r}if(16&h&&!(c&&(c.innerHTML||c.textContent))){let r=d(e.firstChild,t,e,n,i,l,s);for(;r;){nV(e,1)||nM();let t=r;r=r.nextSibling,o(t)}}else if(8&h){let n=t.children;` +`===n[0]&&("PRE"===e.tagName||"TEXTAREA"===e.tagName)&&(n=n.slice(1));let{textContent:r}=e;r!==n&&r!==n.replace(/\r\n|\r/g,` +`)&&(nV(e,0)||nM(),e.textContent=t.children)}if(c){if(g||!s||48&u){let t=e.tagName.includes("-");for(let i in c)(g&&(i.endsWith("value")||"indeterminate"===i)||C(i)&&!F(i)||"."===i[0]||t&&!F(i))&&r(e,i,null,c[i],void 0,n)}else if(c.onClick)r(e,"onClick",null,c.onClick,void 0,n);else if(4&u&&td(c.style))for(let e in c.style)c.style[e]}(a=c&&c.onVnodeBeforeMount)&&iC(a,n,t),p&&t3(t,null,n,"beforeMount"),((a=c&&c.onVnodeMounted)||p||b)&&r3(()=>{a&&iC(a,n,t),b&&f.enter(e),p&&t3(t,null,n,"mounted")},i)}return e.nextSibling},d=(e,t,r,s,o,c,h)=>{h=h||!!t.dynamicChildren;let d=t.children,p=d.length;for(let t=0;t{let{slotScopeIds:u}=t;u&&(i=i?i.concat(u):u);let h=s(e),p=d(l(e),t,h,n,r,i,o);return p&&nL(p)&&"]"===p.data?l(t.anchor=p):(nM(),a(t.anchor=c("]"),h,p),p)},f=(e,t,r,i,a,c)=>{if(nV(e.parentElement,1)||nM(),t.el=null,c){let t=g(e);for(;;){let n=l(e);if(n&&n!==t)o(n);else break}}let u=l(e),h=s(e);return o(e),n(null,t,h,u,r,i,nP(h),a),r&&(r.vnode.el=t.el,rO(r,t.el)),u},g=(e,t="[",n="]")=>{let r=0;for(;e;)if((e=l(e))&&nL(e)&&(e.data===t&&r++,e.data===n))if(0===r)return l(e);else r--;return e},m=(e,t,n)=>{let r=t.parentNode;r&&r.replaceChild(e,t);let i=n;for(;i;)i.vnode.el===t&&(i.vnode.el=i.subTree.el=e),i=i.parent},y=e=>1===e.nodeType&&"TEMPLATE"===e.tagName;return[(e,t)=>{if(!t.hasChildNodes()){n(null,e,t),tZ(),t._vnode=e;return}u(t.firstChild,e,null,null,null),tZ(),t._vnode=e},u]}let nF="data-allow-mismatch",nD={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function nV(e,t){if(0===t||1===t)for(;e&&!e.hasAttribute(nF);)e=e.parentElement;let n=e&&e.getAttribute(nF);if(null==n)return!1;{if(""===n)return!0;let e=n.split(",");return!!(0===t&&e.includes("children"))||e.includes(nD[t])}}let nj=Q().requestIdleCallback||(e=>setTimeout(e,1)),nB=Q().cancelIdleCallback||(e=>clearTimeout(e)),nU=e=>!!e.type.__asyncLoader;function nH(e,t){let{ref:n,props:r,children:i,ce:l}=t.vnode,s=ig(e,r,i);return s.ref=n,s.ce=l,delete t.vnode.ce,s}let nq=e=>e.type.__isKeepAlive;function nW(e,t){let n;if(E(e))return e.some(e=>nW(e,t));if(R(e))return e.split(",").includes(t);return"[object RegExp]"===(n=e,L.call(n))&&(e.lastIndex=0,e.test(t))}function nK(e,t){nJ(e,"a",t)}function nz(e,t){nJ(e,"da",t)}function nJ(e,t,n=iw){let r=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(nQ(t,r,n),n){let e=n.parent;for(;e&&e.parent;)nq(e.parent.vnode)&&function(e,t,n,r){let i=nQ(t,e,r,!0);n3(()=>{w(r[t],i)},n)}(r,t,n,e),e=e.parent}}function nG(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function nX(e){return 128&e.shapeFlag?e.ssContent:e}function nQ(e,t,n=iw,r=!1){if(n){let i=n[e]||(n[e]=[]),l=t.__weh||(t.__weh=(...r)=>{eE();let i=iA(n),l=tD(t,n,e,r);return i(),eI(),l});return r?i.unshift(l):i.push(l),l}}let nZ=e=>(t,n=iw)=>{iR&&"sp"!==e||nQ(e,(...e)=>t(...e),n)},nY=nZ("bm"),n0=nZ("m"),n1=nZ("bu"),n2=nZ("u"),n6=nZ("bum"),n3=nZ("um"),n4=nZ("sp"),n8=nZ("rtg"),n5=nZ("rtc");function n9(e,t=iw){nQ("ec",e,t)}let n7="components",re=Symbol.for("v-ndc");function rt(e,t,n=!0,r=!1){let i=t0||iw;if(i){let n=i.type;if(e===n7){let e=iD(n,!1);if(e&&(e===t||e===B(t)||e===q(B(t))))return n}let l=rn(i[e]||n[e],t)||rn(i.appContext[e],t);return!l&&r?n:l}}function rn(e,t){return e&&(e[t]||e[B(t)]||e[q(B(t))])}let rr=e=>e?iI(e)?iF(e):rr(e.parent):null,ri=T(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=>rr(e.parent),$root:e=>rr(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>rd(e),$forceUpdate:e=>e.f||(e.f=()=>{tJ(e.update)}),$nextTick:e=>e.n||(e.n=tz.bind(e.proxy)),$watch:e=>ne.bind(e)}),rl=(e,t)=>e!==b&&!e.__isScriptSetup&&A(e,t),rs={get({_:e},t){let n,r;if("__v_skip"===t)return!0;let{ctx:i,setupState:l,data:s,props:o,accessCache:a,type:c,appContext:u}=e;if("$"!==t[0]){let e=a[t];if(void 0!==e)switch(e){case 1:return l[t];case 2:return s[t];case 4:return i[t];case 3:return o[t]}else{if(rl(l,t))return a[t]=1,l[t];if(s!==b&&A(s,t))return a[t]=2,s[t];if(A(o,t))return a[t]=3,o[t];if(i!==b&&A(i,t))return a[t]=4,i[t];ru&&(a[t]=0)}}let h=ri[t];return h?("$attrs"===t&&eV(e.attrs,"get",""),h(e)):(n=c.__cssModules)&&(n=n[t])?n:i!==b&&A(i,t)?(a[t]=4,i[t]):A(r=u.config.globalProperties,t)?r[t]:void 0},set({_:e},t,n){let{data:r,setupState:i,ctx:l}=e;return rl(i,t)?(i[t]=n,!0):r!==b&&A(r,t)?(r[t]=n,!0):!A(e.props,t)&&!("$"===t[0]&&t.slice(1)in e)&&(l[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,props:l,type:s}},o){let a;return!!(n[o]||e!==b&&"$"!==o[0]&&A(e,o)||rl(t,o)||A(l,o)||A(r,o)||A(ri,o)||A(i.config.globalProperties,o)||(a=s.__cssModules)&&a[o])},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:A(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},ro=T({},rs,{get(e,t){if(t!==Symbol.unscopables)return rs.get(e,t,e)},has:(e,t)=>"_"!==t[0]&&!Z(t)});function ra(e){let t=iN();return t.setupContext||(t.setupContext=i$(t))}function rc(e){return E(e)?e.reduce((e,t)=>(e[t]=null,e),{}):e}let ru=!0;function rh(e,t,n){tD(E(e)?e.map(e=>e.bind(t.proxy)):e.bind(t.proxy),t,n)}function rd(e){let t,n=e.type,{mixins:r,extends:i}=n,{mixins:l,optionsCache:s,config:{optionMergeStrategies:o}}=e.appContext,a=s.get(n);return a?t=a:l.length||r||i?(t={},l.length&&l.forEach(e=>rp(t,e,o,!0)),rp(t,n,o)):t=n,M(n)&&s.set(n,t),t}function rp(e,t,n,r=!1){let{mixins:i,extends:l}=t;for(let s in l&&rp(e,l,n,!0),i&&i.forEach(t=>rp(e,t,n,!0)),t)if(r&&"expose"===s);else{let r=rf[s]||n&&n[s];e[s]=r?r(e[s],t[s]):t[s]}return e}let rf={data:rg,props:rb,emits:rb,methods:ry,computed:ry,beforeCreate:rv,created:rv,beforeMount:rv,mounted:rv,beforeUpdate:rv,updated:rv,beforeDestroy:rv,beforeUnmount:rv,destroyed:rv,unmounted:rv,activated:rv,deactivated:rv,errorCaptured:rv,serverPrefetch:rv,components:ry,directives:ry,watch:function(e,t){if(!e)return t;if(!t)return e;let n=T(Object.create(null),e);for(let r in t)n[r]=rv(e[r],t[r]);return n},provide:rg,inject:function(e,t){return ry(rm(e),rm(t))}};function rg(e,t){return t?e?function(){return T(I(e)?e.call(this,this):e,I(t)?t.call(this,this):t)}:t:e}function rm(e){if(E(e)){let t={};for(let n=0;n"modelValue"===t||"model-value"===t?e.modelModifiers:e[`${t}Modifiers`]||e[`${B(t)}Modifiers`]||e[`${H(t)}Modifiers`];function rk(e,t,...n){let r;if(e.isUnmounted)return;let i=e.vnode.props||b,l=n,s=t.startsWith("update:"),o=s&&rC(i,t.slice(7));o&&(o.trim&&(l=n.map(e=>R(e)?e.trim():e)),o.number&&(l=n.map(G)));let a=i[r=W(t)]||i[r=W(B(t))];!a&&s&&(a=i[r=W(H(t))]),a&&tD(a,e,6,l);let c=i[r+"Once"];if(c){if(e.emitted){if(e.emitted[r])return}else e.emitted={};e.emitted[r]=!0,tD(c,e,6,l)}}let rT=new WeakMap;function rw(e,t){return!!e&&!!C(t)&&(A(e,(t=t.slice(2).replace(/Once$/,""))[0].toLowerCase()+t.slice(1))||A(e,H(t))||A(e,t))}function rN(e){let t,n,{type:r,vnode:i,proxy:l,withProxy:s,propsOptions:[o],slots:a,attrs:c,emit:u,render:h,renderCache:d,props:p,data:f,setupState:g,ctx:m,inheritAttrs:y}=e,b=t2(e);try{if(4&i.shapeFlag){let e=s||l;t=ib(h.call(e,e,d,p,g,f,m)),n=c}else t=ib(r.length>1?r(p,{attrs:c,slots:a,emit:u}):r(p,null)),n=r.props?c:rA(c)}catch(n){ie.length=0,tV(n,e,1),t=ig(r9)}let _=t;if(n&&!1!==y){let e=Object.keys(n),{shapeFlag:t}=_;e.length&&7&t&&(o&&e.some(k)&&(n=rE(n,o)),_=iv(_,n,!1,!0))}return i.dirs&&((_=iv(_,null,!1,!0)).dirs=_.dirs?_.dirs.concat(i.dirs):i.dirs),i.transition&&nk(_,i.transition),t=_,t2(b),t}let rA=e=>{let t;for(let n in e)("class"===n||"style"===n||C(n))&&((t||(t={}))[n]=e[n]);return t},rE=(e,t)=>{let n={};for(let r in e)k(r)&&r.slice(9)in t||(n[r]=e[r]);return n};function rI(e,t,n){let r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let i=0;iObject.getPrototypeOf(e)===rM;function rL(e,t,n,r){let i,[l,s]=e.propsOptions,o=!1;if(t)for(let a in t){let c;if(F(a))continue;let u=t[a];l&&A(l,c=B(a))?s&&s.includes(c)?(i||(i={}))[c]=u:n[c]=u:rw(e.emitsOptions,a)||a in r&&u===r[a]||(r[a]=u,o=!0)}if(s){let t=tm(n),r=i||b;for(let i=0;i"_"===e||"_ctx"===e||"$stable"===e,rj=e=>E(e)?e.map(ib):[ib(e)],rB=(e,t,n)=>{if(t._n)return t;let r=t6((...e)=>rj(t(...e)),n);return r._c=!1,r},rU=(e,t,n)=>{let r=e._ctx;for(let n in e){if(rV(n))continue;let i=e[n];if(I(i))t[n]=rB(n,i,r);else if(null!=i){let e=rj(i);t[n]=()=>e}}},rH=(e,t)=>{let n=rj(t);e.slots.default=()=>n},rq=(e,t,n)=>{for(let r in t)(n||!rV(r))&&(e[r]=t[r])},rW=r3;function rK(e){return rz(e,n$)}function rz(e,t){var n;let r,i;Q().__VUE__=!0;let{insert:l,remove:s,patchProp:o,createElement:a,createText:c,createComment:h,setText:d,setElementText:p,parentNode:f,nextSibling:g,setScopeId:m=S,insertStaticContent:y}=e,x=(e,t,n,r=null,i=null,l=null,s,o=null,a=!!t.dynamicChildren)=>{if(e===t)return;e&&!iu(e,t)&&(r=es(e),et(e,i,l,!0),e=null),-2===t.patchFlag&&(a=!1,t.dynamicChildren=null);let{type:c,ref:u,shapeFlag:h}=t;switch(c){case r5:C(e,t,n,r);break;case r9:k(e,t,n,r);break;case r7:null==e&&w(t,n,r,s);break;case r8:j(e,t,n,r,i,l,s,o,a);break;default:1&h?N(e,t,n,r,i,l,s,o,a):6&h?U(e,t,n,r,i,l,s,o,a):64&h?c.process(e,t,n,r,i,l,s,o,a,ec):128&h&&c.process(e,t,n,r,i,l,s,o,a,ec)}null!=u&&i?nI(u,e&&e.ref,l,t||e,!t):null==u&&e&&null!=e.ref&&nI(e.ref,null,l,e,!0)},C=(e,t,n,r)=>{if(null==e)l(t.el=c(t.children),n,r);else{let n=t.el=e.el;t.children!==e.children&&d(n,t.children)}},k=(e,t,n,r)=>{null==e?l(t.el=h(t.children||""),n,r):t.el=e.el},w=(e,t,n,r)=>{[e.el,e.anchor]=y(e.children,t,n,r,e.el,e.anchor)},N=(e,t,n,r,i,l,s,o,a)=>{if("svg"===t.type?s="svg":"math"===t.type&&(s="mathml"),null==e)R(t,n,r,i,l,s,o,a);else{let n=e.el&&e.el._isVueCE?e.el:null;try{n&&n._beginPatch(),$(e,t,i,l,s,o,a)}finally{n&&n._endPatch()}}},R=(e,t,n,r,i,s,c,u)=>{let h,d,{props:f,shapeFlag:g,transition:m,dirs:y}=e;if(h=e.el=a(e.type,s,f&&f.is,f),8&g?p(h,e.children):16&g&&L(e.children,h,null,r,i,rJ(e,s),c,u),y&&t3(e,null,r,"created"),O(h,e,e.scopeId,c,r),f){for(let e in f)"value"===e||F(e)||o(h,e,null,f[e],s,r);"value"in f&&o(h,"value",null,f.value,s),(d=f.onVnodeBeforeMount)&&iC(d,r,e)}y&&t3(e,null,r,"beforeMount");let b=rX(i,m);b&&m.beforeEnter(h),l(h,t,n),((d=f&&f.onVnodeMounted)||b||y)&&rW(()=>{d&&iC(d,r,e),b&&m.enter(h),y&&t3(e,null,r,"mounted")},i)},O=(e,t,n,r,i)=>{if(n&&m(e,n),r)for(let t=0;t{for(let c=a;c{let a,c=t.el=e.el,{patchFlag:u,dynamicChildren:h,dirs:d}=t;u|=16&e.patchFlag;let f=e.props||b,g=t.props||b;if(n&&rG(n,!1),(a=g.onVnodeBeforeUpdate)&&iC(a,n,t,e),d&&t3(t,e,n,"beforeUpdate"),n&&rG(n,!0),(f.innerHTML&&null==g.innerHTML||f.textContent&&null==g.textContent)&&p(c,""),h?D(e.dynamicChildren,h,c,n,r,rJ(t,i),l):s||X(e,t,c,null,n,r,rJ(t,i),l,!1),u>0){if(16&u)V(c,f,g,n,i);else if(2&u&&f.class!==g.class&&o(c,"class",null,g.class,i),4&u&&o(c,"style",f.style,g.style,i),8&u){let e=t.dynamicProps;for(let t=0;t{a&&iC(a,n,t,e),d&&t3(t,e,n,"updated")},r)},D=(e,t,n,r,i,l,s)=>{for(let o=0;o{if(t!==n){if(t!==b)for(let l in t)F(l)||l in n||o(e,l,t[l],null,i,r);for(let l in n){if(F(l))continue;let s=n[l],a=t[l];s!==a&&"value"!==l&&o(e,l,a,s,i,r)}"value"in n&&o(e,"value",t.value,n.value,i)}},j=(e,t,n,r,i,s,o,a,u)=>{let h=t.el=e?e.el:c(""),d=t.anchor=e?e.anchor:c(""),{patchFlag:p,dynamicChildren:f,slotScopeIds:g}=t;g&&(a=a?a.concat(g):g),null==e?(l(h,n,r),l(d,n,r),L(t.children||[],n,d,i,s,o,a,u)):p>0&&64&p&&f&&e.dynamicChildren&&e.dynamicChildren.length===f.length?(D(e.dynamicChildren,f,n,i,s,o,a),(null!=t.key||i&&t===i.subTree)&&rQ(e,t,!0)):X(e,t,n,d,i,s,o,a,u)},U=(e,t,n,r,i,l,s,o,a)=>{t.slotScopeIds=o,null==e?512&t.shapeFlag?i.ctx.activate(t,n,r,s,a):q(t,n,r,i,l,s,a):W(e,t,a)},q=(e,t,n,r,i,l,s)=>{var o,a,c;let h,d,p,f=(o=e,a=r,c=i,h=o.type,d=(a?a.appContext:o.appContext)||ik,(p={uid:iT++,vnode:o,type:h,parent:a,appContext:d,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new em(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:a?a.provides:Object.create(d.provides),ids:a?a.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:function e(t,n,r=!1){let i=r?rF:n.propsCache,l=i.get(t);if(l)return l;let s=t.props,o={},a=[],c=!1;if(!I(t)){let i=t=>{c=!0;let[r,i]=e(t,n,!0);T(o,r),i&&a.push(...i)};!r&&n.mixins.length&&n.mixins.forEach(i),t.extends&&i(t.extends),t.mixins&&t.mixins.forEach(i)}if(!s&&!c)return M(t)&&i.set(t,_),_;if(E(s))for(let e=0;e{let r=e(t,n,!0);r&&(a=!0,T(o,r))};!r&&n.mixins.length&&n.mixins.forEach(i),t.extends&&i(t.extends),t.mixins&&t.mixins.forEach(i)}return s||a?(E(s)?s.forEach(e=>o[e]=null):T(o,s),M(t)&&i.set(t,o),o):(M(t)&&i.set(t,null),null)}(h,d),emit:null,emitted:null,propsDefaults:b,inheritAttrs:h.inheritAttrs,ctx:b,data:b,props:b,attrs:b,slots:b,refs:b,setupState:b,setupContext:null,suspense:c,suspenseId:c?c.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null}).ctx={_:p},p.root=a?a.root:p,p.emit=rk.bind(null,p),o.ce&&o.ce(p),e.component=p);if(nq(e)&&(f.ctx.renderer=ec),function(e,t=!1,n=!1){t&&u(t);let{props:r,children:i}=e.vnode,l=iI(e);!function(e,t,n,r=!1){let i={},l=Object.create(rM);for(let n in e.propsDefaults=Object.create(null),rL(e,t,i,l),e.propsOptions[0])n in i||(i[n]=void 0);n?e.props=r?i:tc(i):e.type.props?e.props=i:e.props=l,e.attrs=l}(e,r,l,t);var s=n||t;let o=e.slots=Object.create(rM);if(32&e.vnode.shapeFlag){let e=i._;e?(rq(o,i,s),s&&J(o,"_",e,!0)):rU(i,o)}else i&&rH(e,i);l&&function(e,t){let n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,rs);let{setup:r}=n;if(r){eE();let n=e.setupContext=r.length>1?i$(e):null,i=iA(e),l=tF(r,e,0,[e.props,n]),s=P(l);if(eI(),i(),(s||e.sp)&&!nU(e)&&nN(e),s){if(l.then(iE,iE),t)return l.then(n=>{iO(e,n,t)}).catch(t=>{tV(t,e,0)});e.asyncDep=l}else iO(e,l,t)}else iP(e,t)}(e,t),t&&u(!1)}(f,!1,s),f.asyncDep){if(i&&i.registerDep(f,K,s),!e.el){let r=f.subTree=ig(r9);k(null,r,t,n),e.placeholder=r.el}}else K(f,e,t,n,i,l,s)},W=(e,t,n)=>{let r=t.component=e.component;if(function(e,t,n){let{props:r,children:i,component:l}=e,{props:s,children:o,patchFlag:a}=t,c=l.emitsOptions;if(t.dirs||t.transition)return!0;if(!n||!(a>=0))return(!!i||!!o)&&(!o||!o.$stable)||r!==s&&(r?!s||rI(r,s,c):!!s);if(1024&a)return!0;if(16&a)return r?rI(r,s,c):!!s;if(8&a){let e=t.dynamicProps;for(let t=0;t{e.scope.on();let a=e.effect=new ey(()=>{if(e.isMounted){let t,{next:n,bu:r,u:i,parent:a,vnode:u}=e;{let t=function e(t){let n=t.subTree.component;if(n)if(n.asyncDep&&!n.asyncResolved)return n;else return e(n)}(e);if(t){n&&(n.el=u.el,G(e,n,o)),t.asyncDep.then(()=>{rW(()=>{e.isUnmounted||c()},l)});return}}let h=n;rG(e,!1),n?(n.el=u.el,G(e,n,o)):n=u,r&&z(r),(t=n.props&&n.props.onVnodeBeforeUpdate)&&iC(t,a,n,u),rG(e,!0);let d=rN(e),p=e.subTree;e.subTree=d,x(p,d,f(p.el),es(p),e,l,s),n.el=d.el,null===h&&rO(e,d.el),i&&rW(i,l),(t=n.props&&n.props.onVnodeUpdated)&&rW(()=>iC(t,a,n,u),l)}else{let o,{el:a,props:c}=t,{bm:u,m:h,parent:d,root:p,type:f}=e,g=nU(t);if(rG(e,!1),u&&z(u),!g&&(o=c&&c.onVnodeBeforeMount)&&iC(o,d,t),rG(e,!0),a&&i){let t=()=>{e.subTree=rN(e),i(a,e.subTree,e,l,null)};g&&f.__asyncHydrate?f.__asyncHydrate(a,e,t):t()}else{p.ce&&p.ce._hasShadowRoot()&&p.ce._injectChildStyle(f,e.parent?e.parent.type:void 0);let i=e.subTree=rN(e);x(null,i,n,r,e,l,s),t.el=i.el}if(h&&rW(h,l),!g&&(o=c&&c.onVnodeMounted)){let e=t;rW(()=>iC(o,d,e),l)}(256&t.shapeFlag||d&&nU(d.vnode)&&256&d.vnode.shapeFlag)&&e.a&&rW(e.a,l),e.isMounted=!0,t=n=r=null}});e.scope.off();let c=e.update=a.run.bind(a),u=e.job=a.runIfDirty.bind(a);u.i=e,u.id=e.uid,a.scheduler=()=>tJ(u),rG(e,!0),c()},G=(e,t,n)=>{t.component=e;let r=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,r){let{props:i,attrs:l,vnode:{patchFlag:s}}=e,o=tm(i),[a]=e.propsOptions,c=!1;if((r||s>0)&&!(16&s)){if(8&s){let n=e.vnode.dynamicProps;for(let r=0;r{let{vnode:r,slots:i}=e,l=!0,s=b;if(32&r.shapeFlag){let e=t._;e?n&&1===e?l=!1:rq(i,t,n):(l=!t.$stable,rU(t,i)),s=t}else t&&(rH(e,t),s={default:1});if(l)for(let e in i)rV(e)||null!=s[e]||delete i[e]})(e,t.children,n),eE(),tQ(e),eI()},X=(e,t,n,r,i,l,s,o,a=!1)=>{let c=e&&e.children,u=e?e.shapeFlag:0,h=t.children,{patchFlag:d,shapeFlag:f}=t;if(d>0){if(128&d)return void Y(c,h,n,r,i,l,s,o,a);else if(256&d)return void Z(c,h,n,r,i,l,s,o,a)}8&f?(16&u&&el(c,i,l),h!==c&&p(n,h)):16&u?16&f?Y(c,h,n,r,i,l,s,o,a):el(c,i,l,!0):(8&u&&p(n,""),16&f&&L(h,n,r,i,l,s,o,a))},Z=(e,t,n,r,i,l,s,o,a)=>{let c;e=e||_,t=t||_;let u=e.length,h=t.length,d=Math.min(u,h);for(c=0;ch?el(e,i,l,!0,!1,d):L(t,n,r,i,l,s,o,a,d)},Y=(e,t,n,r,i,l,s,o,a)=>{let c=0,u=t.length,h=e.length-1,d=u-1;for(;c<=h&&c<=d;){let r=e[c],u=t[c]=a?i_(t[c]):ib(t[c]);if(iu(r,u))x(r,u,n,null,i,l,s,o,a);else break;c++}for(;c<=h&&c<=d;){let r=e[h],c=t[d]=a?i_(t[d]):ib(t[d]);if(iu(r,c))x(r,c,n,null,i,l,s,o,a);else break;h--,d--}if(c>h){if(c<=d){let e=d+1,h=ed)for(;c<=h;)et(e[c],i,l,!0),c++;else{let p,f=c,g=c,m=new Map;for(c=g;c<=d;c++){let e=t[c]=a?i_(t[c]):ib(t[c]);null!=e.key&&m.set(e.key,c)}let y=0,b=d-g+1,S=!1,C=0,k=Array(b);for(c=0;c=b){et(u,i,l,!0);continue}if(null!=u.key)r=m.get(u.key);else for(p=g;p<=d;p++)if(0===k[p-g]&&iu(u,t[p])){r=p;break}void 0===r?et(u,i,l,!0):(k[r-g]=c+1,r>=C?C=r:S=!0,x(u,t[r],n,null,i,l,s,o,a),y++)}let T=S?function(e){let t,n,r,i,l,s=e.slice(),o=[0],a=e.length;for(t=0;t>1]]0&&(s[t]=o[r-1]),o[r]=t)}}for(r=o.length,i=o[r-1];r-- >0;)o[r]=i,i=s[i];return o}(k):_;for(p=T.length-1,c=b-1;c>=0;c--){let e=g+c,h=t[e],d=t[e+1],f=e+1{let{el:o,type:a,transition:c,children:u,shapeFlag:h}=e;if(6&h)return void ee(e.component.subTree,t,n,r);if(128&h)return void e.suspense.move(t,n,r);if(64&h)return void a.move(e,t,n,ec);if(a===r8){l(o,t,n);for(let e=0;e{let i;for(;e&&e!==t;)i=g(e),l(e,n,r),e=i;l(t,n,r)})(e,t,n);if(2!==r&&1&h&&c)if(0===r)c.beforeEnter(o),l(o,t,n),rW(()=>c.enter(o),i);else{let{leave:r,delayLeave:i,afterLeave:a}=c,u=()=>{e.ctx.isUnmounted?s(o):l(o,t,n)},h=()=>{o._isLeaving&&o[nd](!0),r(o,()=>{u(),a&&a()})};i?i(o,u,h):h()}else l(o,t,n)},et=(e,t,n,r=!1,i=!1)=>{let l,{type:s,props:o,ref:a,children:c,dynamicChildren:u,shapeFlag:h,patchFlag:d,dirs:p,cacheIndex:f}=e;if(-2===d&&(i=!1),null!=a&&(eE(),nI(a,null,n,e,!0),eI()),null!=f&&(t.renderCache[f]=void 0),256&h)return void t.ctx.deactivate(e);let g=1&h&&p,m=!nU(e);if(m&&(l=o&&o.onVnodeBeforeUnmount)&&iC(l,t,e),6&h)ei(e.component,n,r);else{if(128&h)return void e.suspense.unmount(n,r);g&&t3(e,null,t,"beforeUnmount"),64&h?e.type.remove(e,t,n,ec,r):u&&!u.hasOnce&&(s!==r8||d>0&&64&d)?el(u,t,n,!1,!0):(s===r8&&384&d||!i&&16&h)&&el(c,t,n),r&&en(e)}(m&&(l=o&&o.onVnodeUnmounted)||g)&&rW(()=>{l&&iC(l,t,e),g&&t3(e,null,t,"unmounted")},n)},en=e=>{let{type:t,el:n,anchor:r,transition:i}=e;if(t===r8)return void er(n,r);if(t===r7)return void(({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=g(e),s(e),e=n;s(t)})(e);let l=()=>{s(n),i&&!i.persisted&&i.afterLeave&&i.afterLeave()};if(1&e.shapeFlag&&i&&!i.persisted){let{leave:t,delayLeave:r}=i,s=()=>t(n,l);r?r(e.el,l,s):s()}else l()},er=(e,t)=>{let n;for(;e!==t;)n=g(e),s(e),e=n;s(t)},ei=(e,t,n)=>{let{bum:r,scope:i,job:l,subTree:s,um:o,m:a,a:c}=e;rZ(a),rZ(c),r&&z(r),i.stop(),l&&(l.flags|=8,et(s,e,t,n)),o&&rW(o,t),rW(()=>{e.isUnmounted=!0},t)},el=(e,t,n,r=!1,i=!1,l=0)=>{for(let s=l;s{if(6&e.shapeFlag)return es(e.component.subTree);if(128&e.shapeFlag)return e.suspense.next();let t=g(e.anchor||e.el),n=t&&t[nn];return n?g(n):t},eo=!1,ea=(e,t,n)=>{let r;null==e?t._vnode&&(et(t._vnode,null,null,!0),r=t._vnode.component):x(t._vnode||null,e,t,null,null,null,n),t._vnode=e,eo||(eo=!0,tQ(r),tZ(),eo=!1)},ec={p:x,um:et,m:ee,r:en,mt:q,mc:L,pc:X,pbc:D,n:es,o:e};return t&&([r,i]=t(ec)),{render:ea,hydrate:r,createApp:(n=r,function(e,t=null){I(e)||(e=T({},e)),null==t||M(t)||(t=null);let r=r_(),i=new WeakSet,l=[],s=!1,o=r.app={_uid:rS++,_component:e,_props:t,_container:null,_context:r,_instance:null,version:iU,get config(){return r.config},set config(v){},use:(e,...t)=>(i.has(e)||(e&&I(e.install)?(i.add(e),e.install(o,...t)):I(e)&&(i.add(e),e(o,...t))),o),mixin:e=>(r.mixins.includes(e)||r.mixins.push(e),o),component:(e,t)=>t?(r.components[e]=t,o):r.components[e],directive:(e,t)=>t?(r.directives[e]=t,o):r.directives[e],mount(i,l,a){if(!s){let c=o._ceVNode||ig(e,t);return c.appContext=r,!0===a?a="svg":!1===a&&(a=void 0),l&&n?n(c,i):ea(c,i,a),s=!0,o._container=i,i.__vue_app__=o,iF(c.component)}},onUnmount(e){l.push(e)},unmount(){s&&(tD(l,o._instance,16),ea(null,o._container),delete o._container.__vue_app__)},provide:(e,t)=>(r.provides[e]=t,o),runWithContext(e){let t=rx;rx=o;try{return e()}finally{rx=t}}};return o})}}function rJ({type:e,props:t},n){return"svg"===n&&"foreignObject"===e||"mathml"===n&&"annotation-xml"===e&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function rG({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function rX(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function rQ(e,t,n=!1){let r=e.children,i=t.children;if(E(r)&&E(i))for(let e=0;ee.__isSuspense,r0=0;function r1(e,t){let n=e.props&&e.props[t];I(n)&&n()}function r2(e,t,n,r,i,l,s,o,a,c,u=!1){var h;let d,p,{p:f,m:g,um:m,n:y,o:{parentNode:b,remove:_}}=c,S=null!=(d=(h=e).props&&h.props.suspensible)&&!1!==d;S&&t&&t.pendingBranch&&(p=t.pendingId,t.deps++);let x=e.props?X(e.props.timeout):void 0,C=l,k={vnode:e,parent:t,parentComponent:n,namespace:s,container:r,hiddenContainer:i,deps:0,pendingId:r0++,timeout:"number"==typeof x?x:-1,activeBranch:null,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(e=!1,n=!1){let{vnode:r,activeBranch:i,pendingBranch:s,pendingId:o,effects:a,parentComponent:c,container:u,isInFallback:h}=k,d=!1;k.isHydrating?k.isHydrating=!1:!e&&((d=i&&s.transition&&"out-in"===s.transition.mode)&&(i.transition.afterLeave=()=>{o===k.pendingId&&(g(s,u,l===C?y(i):l,0),tX(a),h&&r.ssFallback&&(r.ssFallback.el=null))}),i&&(b(i.el)===u&&(l=y(i)),m(i,c,k,!0),!d&&h&&r.ssFallback&&rW(()=>r.ssFallback.el=null,k)),d||g(s,u,l,0)),r4(k,s),k.pendingBranch=null,k.isInFallback=!1;let f=k.parent,_=!1;for(;f;){if(f.pendingBranch){f.effects.push(...a),_=!0;break}f=f.parent}_||d||tX(a),k.effects=[],S&&t&&t.pendingBranch&&p===t.pendingId&&(t.deps--,0!==t.deps||n||t.resolve()),r1(r,"onResolve")},fallback(e){if(!k.pendingBranch)return;let{vnode:t,activeBranch:n,parentComponent:r,container:i,namespace:l}=k;r1(t,"onFallback");let s=y(n),c=()=>{k.isInFallback&&(f(null,e,i,s,r,null,l,o,a),r4(k,e))},u=e.transition&&"out-in"===e.transition.mode;u&&(n.transition.afterLeave=c),k.isInFallback=!0,m(n,r,null,!0),u||c()},move(e,t,n){k.activeBranch&&g(k.activeBranch,e,t,n),k.container=e},next:()=>k.activeBranch&&y(k.activeBranch),registerDep(e,t,n){let r=!!k.pendingBranch;r&&k.deps++;let i=e.vnode.el;e.asyncDep.catch(t=>{tV(t,e,0)}).then(l=>{if(e.isUnmounted||k.isUnmounted||k.pendingId!==e.suspenseId)return;e.asyncResolved=!0;let{vnode:o}=e;iO(e,l,!1),i&&(o.el=i);let a=!i&&e.subTree.el;t(e,o,b(i||e.subTree.el),i?null:y(e.subTree),k,s,n),a&&(o.placeholder=null,_(a)),rO(e,o.el),r&&0==--k.deps&&k.resolve()})},unmount(e,t){k.isUnmounted=!0,k.activeBranch&&m(k.activeBranch,n,e,t),k.pendingBranch&&m(k.pendingBranch,n,e,t)}};return k}function r6(e){let t;if(I(e)){let n=il&&e._c;n&&(e._d=!1,ir()),e=e(),n&&(e._d=!0,t=it,ii())}return E(e)&&(e=function(e){let t;for(let n=0;nt!==e)),e}function r3(e,t){t&&t.pendingBranch?E(e)?t.effects.push(...e):t.effects.push(e):tX(e)}function r4(e,t){e.activeBranch=t;let{vnode:n,parentComponent:r}=e,i=t.el;for(;!i&&t.component;)i=(t=t.component.subTree).el;n.el=i,r&&r.subTree===n&&(r.vnode.el=i,rO(r,i))}let r8=Symbol.for("v-fgt"),r5=Symbol.for("v-txt"),r9=Symbol.for("v-cmt"),r7=Symbol.for("v-stc"),ie=[],it=null;function ir(e=!1){ie.push(it=e?null:[])}function ii(){ie.pop(),it=ie[ie.length-1]||null}let il=1;function is(e,t=!1){il+=e,e<0&&it&&t&&(it.hasOnce=!0)}function io(e){return e.dynamicChildren=il>0?it||_:null,ii(),il>0&&it&&it.push(e),e}function ia(e,t,n,r,i){return io(ig(e,t,n,r,i,!0))}function ic(e){return!!e&&!0===e.__v_isVNode}function iu(e,t){return e.type===t.type&&e.key===t.key}let ih=({key:e})=>null!=e?e:null,id=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?R(e)||t_(e)||I(e)?{i:t0,r:e,k:t,f:!!n}:e:null);function ip(e,t=null,n=null,r=0,i=null,l=+(e!==r8),s=!1,o=!1){let a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ih(t),ref:t&&id(t),scopeId:t1,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:l,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:t0};return o?(iS(a,n),128&l&&e.normalize(a)):n&&(a.shapeFlag|=R(n)?8:16),il>0&&!s&&it&&(a.patchFlag>0||6&l)&&32!==a.patchFlag&&it.push(a),a}let ig=function(e,t=null,n=null,r=0,i=null,l=!1){var s;if(e&&e!==re||(e=r9),ic(e)){let r=iv(e,t,!0);return n&&iS(r,n),il>0&&!l&&it&&(6&r.shapeFlag?it[it.indexOf(e)]=r:it.push(r)),r.patchFlag=-2,r}if(I(s=e)&&"__vccOpts"in s&&(e=e.__vccOpts),t){let{class:e,style:n}=t=im(t);e&&!R(e)&&(t.class=ei(e)),M(n)&&(tg(n)&&!E(n)&&(n=T({},n)),t.style=Y(n))}let o=R(e)?1:rY(e)?128:e.__isTeleport?64:M(e)?4:2*!!I(e);return ip(e,t,n,r,i,o,l,!0)};function im(e){return e?tg(e)||rP(e)?T({},e):e:null}function iv(e,t,n=!1,r=!1){let{props:i,ref:l,patchFlag:s,children:o,transition:a}=e,c=t?ix(i||{},t):i,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&ih(c),ref:t&&t.ref?n&&l?E(l)?l.concat(id(t)):[l,id(t)]:id(t):l,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==r8?-1===s?16:16|s:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:a,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&iv(e.ssContent),ssFallback:e.ssFallback&&iv(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return a&&r&&nk(u,a.clone(u)),u}function iy(e=" ",t=0){return ig(r5,null,e,t)}function ib(e){return null==e||"boolean"==typeof e?ig(r9):E(e)?ig(r8,null,e.slice()):ic(e)?i_(e):ig(r5,null,String(e))}function i_(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:iv(e)}function iS(e,t){let n=0,{shapeFlag:r}=e;if(null==t)t=null;else if(E(t))n=16;else if("object"==typeof t)if(65&r){let n=t.default;n&&(n._c&&(n._d=!1),iS(e,n()),n._c&&(n._d=!0));return}else{n=32;let r=t._;r||rP(t)?3===r&&t0&&(1===t0.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=t0}else I(t)?(t={default:t,_ctx:t0},n=32):(t=String(t),64&r?(n=16,t=[iy(t)]):n=8);e.children=t,e.shapeFlag|=n}function ix(...e){let t={};for(let n=0;niw||t0;c=e=>{iw=e},u=e=>{iR=e};let iA=e=>{let t=iw;return c(e),e.scope.on(),()=>{e.scope.off(),c(t)}},iE=()=>{iw&&iw.scope.off(),c(null)};function iI(e){return 4&e.vnode.shapeFlag}let iR=!1;function iO(e,t,n){I(t)?e.render=t:M(t)&&(e.setupState=tN(t)),iP(e,n)}function iM(e){h=e,d=e=>{e.render._rc&&(e.withProxy=new Proxy(e.ctx,ro))}}function iP(e,t,n){let r=e.type;if(!e.render){if(!t&&h&&!r.render){let t=r.template||rd(e).template;if(t){let{isCustomElement:n,compilerOptions:i}=e.appContext.config,{delimiters:l,compilerOptions:s}=r,o=T(T({isCustomElement:n,delimiters:l},i),s);r.render=h(t,o)}}e.render=r.render||S,d&&d(e)}{let t=iA(e);eE();try{!function(e){let t=rd(e),n=e.proxy,r=e.ctx;ru=!1,t.beforeCreate&&rh(t.beforeCreate,e,"bc");let{data:i,computed:l,methods:s,watch:o,provide:a,inject:c,created:u,beforeMount:h,mounted:d,beforeUpdate:p,updated:f,activated:g,deactivated:m,beforeUnmount:y,unmounted:b,render:_,renderTracked:x,renderTriggered:C,errorCaptured:k,serverPrefetch:T,expose:w,inheritAttrs:N,components:A,directives:O}=t;if(c&&function(e,t){for(let n in E(e)&&(e=rm(e)),e){let r,i=e[n];t_(r=M(i)?"default"in i?t8(i.from||n,i.default,!0):t8(i.from||n):t8(i))?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>r.value,set:e=>r.value=e}):t[n]=r}}(c,r),s)for(let e in s){let t=s[e];I(t)&&(r[e]=t.bind(n))}if(i){let t=i.call(n,n);M(t)&&(e.data=ta(t))}if(ru=!0,l)for(let e in l){let t=l[e],i=I(t)?t.bind(n,n):I(t.get)?t.get.bind(n,n):S,s=iV({get:i,set:!I(t)&&I(t.set)?t.set.bind(n):S});Object.defineProperty(r,e,{enumerable:!0,configurable:!0,get:()=>s.value,set:e=>s.value=e})}if(o)for(let e in o)!function e(t,n,r,i){let l=i.includes(".")?nt(r,i):()=>r[i];if(R(t)){let e=n[t];I(e)&&t7(l,e,void 0)}else if(I(t))t7(l,t.bind(r),void 0);else if(M(t))if(E(t))t.forEach(t=>e(t,n,r,i));else{let e=I(t.handler)?t.handler.bind(r):n[t.handler];I(e)&&t7(l,e,t)}}(o[e],r,n,e);if(a){let e=I(a)?a.call(n):a;Reflect.ownKeys(e).forEach(t=>{t4(t,e[t])})}function P(e,t){E(t)?t.forEach(t=>e(t.bind(n))):t&&e(t.bind(n))}if(u&&rh(u,e,"c"),P(nY,h),P(n0,d),P(n1,p),P(n2,f),P(nK,g),P(nz,m),P(n9,k),P(n5,x),P(n8,C),P(n6,y),P(n3,b),P(n4,T),E(w))if(w.length){let t=e.exposed||(e.exposed={});w.forEach(e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t,enumerable:!0})})}else e.exposed||(e.exposed={});_&&e.render===S&&(e.render=_),null!=N&&(e.inheritAttrs=N),A&&(e.components=A),O&&(e.directives=O)}(e)}finally{eI(),t()}}}let iL={get:(e,t)=>(eV(e,"get",""),e[t])};function i$(e){return{attrs:new Proxy(e.attrs,iL),slots:e.slots,emit:e.emit,expose:t=>{e.exposed=t||{}}}}function iF(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(tN(tv(e.exposed)),{get:(t,n)=>n in t?t[n]:n in ri?ri[n](e):void 0,has:(e,t)=>t in e||t in ri})):e.proxy}function iD(e,t=!0){return I(e)?e.displayName||e.name:e.name||t&&e.__name}let iV=(e,t)=>(function(e,t=!1){let n,r;return I(e)?n=e:(n=e.get,r=e.set),new tO(n,r,t)})(e,iR);function ij(e,t,n){try{is(-1);let r=arguments.length;if(2!==r)return r>3?n=Array.prototype.slice.call(arguments,2):3===r&&ic(n)&&(n=[n]),ig(e,t,n);if(!M(t)||E(t))return ig(e,null,t);if(ic(t))return ig(e,null,[t]);return ig(e,t)}finally{is(1)}}function iB(e,t){let n=e.memo;if(n.length!=t.length)return!1;for(let e=0;e0&&it&&it.push(e),!0}let iU="3.5.30",iH="u">typeof window&&window.trustedTypes;if(iH)try{m=iH.createPolicy("vue",{createHTML:e=>e})}catch(e){}let iq=m?e=>m.createHTML(e):e=>e,iW="u">typeof document?document:null,iK=iW&&iW.createElement("template"),iz={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{let t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{let i="svg"===t?iW.createElementNS("http://www.w3.org/2000/svg",e):"mathml"===t?iW.createElementNS("http://www.w3.org/1998/Math/MathML",e):n?iW.createElement(e,{is:n}):iW.createElement(e);return"select"===e&&r&&null!=r.multiple&&i.setAttribute("multiple",r.multiple),i},createText:e=>iW.createTextNode(e),createComment:e=>iW.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>iW.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,i,l){let s=n?n.previousSibling:t.lastChild;if(i&&(i===l||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),i!==l&&(i=i.nextSibling););else{iK.innerHTML=iq("svg"===r?`${e}`:"mathml"===r?`${e}`:e);let i=iK.content;if("svg"===r||"mathml"===r){let e=i.firstChild;for(;e.firstChild;)i.appendChild(e.firstChild);i.removeChild(e)}t.insertBefore(i,n)}return[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},iJ="transition",iG="animation",iX=Symbol("_vtc"),iQ={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},iZ=T({},nm,iQ),iY=((t=(e,{slots:t})=>ij(nb,i2(e),t)).displayName="Transition",t.props=iZ,t),i0=(e,t=[])=>{E(e)?e.forEach(e=>e(...t)):e&&e(...t)},i1=e=>!!e&&(E(e)?e.some(e=>e.length>1):e.length>1);function i2(e){let t={};for(let n in e)n in iQ||(t[n]=e[n]);if(!1===e.css)return t;let{name:n="v",type:r,duration:i,enterFromClass:l=`${n}-enter-from`,enterActiveClass:s=`${n}-enter-active`,enterToClass:o=`${n}-enter-to`,appearFromClass:a=l,appearActiveClass:c=s,appearToClass:u=o,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,f=function(e){if(null==e)return null;{if(M(e))return[function(e){return X(e)}(e.enter),function(e){return X(e)}(e.leave)];let t=function(e){return X(e)}(e);return[t,t]}}(i),g=f&&f[0],m=f&&f[1],{onBeforeEnter:y,onEnter:b,onEnterCancelled:_,onLeave:S,onLeaveCancelled:x,onBeforeAppear:C=y,onAppear:k=b,onAppearCancelled:w=_}=t,N=(e,t,n,r)=>{e._enterCancelled=r,i3(e,t?u:o),i3(e,t?c:s),n&&n()},A=(e,t)=>{e._isLeaving=!1,i3(e,h),i3(e,p),i3(e,d),t&&t()},E=e=>(t,n)=>{let i=e?k:b,s=()=>N(t,e,n);i0(i,[t,s]),i4(()=>{i3(t,e?a:l),i6(t,e?u:o),i1(i)||i5(t,r,g,s)})};return T(t,{onBeforeEnter(e){i0(y,[e]),i6(e,l),i6(e,s)},onBeforeAppear(e){i0(C,[e]),i6(e,a),i6(e,c)},onEnter:E(!1),onAppear:E(!0),onLeave(e,t){e._isLeaving=!0;let n=()=>A(e,t);i6(e,h),e._enterCancelled?(i6(e,d),lt(e)):(lt(e),i6(e,d)),i4(()=>{e._isLeaving&&(i3(e,h),i6(e,p),i1(S)||i5(e,r,m,n))}),i0(S,[e,n])},onEnterCancelled(e){N(e,!1,void 0,!0),i0(_,[e])},onAppearCancelled(e){N(e,!0,void 0,!0),i0(w,[e])},onLeaveCancelled(e){A(e),i0(x,[e])}})}function i6(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.add(t)),(e[iX]||(e[iX]=new Set)).add(t)}function i3(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.remove(t));let n=e[iX];n&&(n.delete(t),n.size||(e[iX]=void 0))}function i4(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let i8=0;function i5(e,t,n,r){let i=e._endId=++i8,l=()=>{i===e._endId&&r()};if(null!=n)return setTimeout(l,n);let{type:s,timeout:o,propCount:a}=i9(e,t);if(!s)return r();let c=s+"end",u=0,h=()=>{e.removeEventListener(c,d),l()},d=t=>{t.target===e&&++u>=a&&h()};setTimeout(()=>{u(n[e]||"").split(", "),i=r(`${iJ}Delay`),l=r(`${iJ}Duration`),s=i7(i,l),o=r(`${iG}Delay`),a=r(`${iG}Duration`),c=i7(o,a),u=null,h=0,d=0;t===iJ?s>0&&(u=iJ,h=s,d=l.length):t===iG?c>0&&(u=iG,h=c,d=a.length):d=(u=(h=Math.max(s,c))>0?s>c?iJ:iG:null)?u===iJ?l.length:a.length:0;let p=u===iJ&&/\b(?:transform|all)(?:,|$)/.test(r(`${iJ}Property`).toString());return{type:u,timeout:h,propCount:d,hasTransform:p}}function i7(e,t){for(;e.lengthle(t)+le(e[n])))}function le(e){return"auto"===e?0:1e3*Number(e.slice(0,-1).replace(",","."))}function lt(e){return(e?e.ownerDocument:document).body.offsetHeight}let ln=Symbol("_vod"),lr=Symbol("_vsh");function li(e,t){e.style.display=t?e[ln]:"none",e[lr]=!t}let ll=Symbol("");function ls(e,t){if(1===e.nodeType){let r=e.style,i="";for(let e in t){var n;let l=null==(n=t[e])?"initial":"string"==typeof n?""===n?" ":n:String(n);r.setProperty(`--${e}`,l),i+=`--${e}: ${l};`}r[ll]=i}}let lo=/(?:^|;)\s*display\s*:/,la=/\s*!important$/;function lc(e,t,n){if(E(n))n.forEach(n=>lc(e,t,n));else if(null==n&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{let r=function(e,t){let n=lh[t];if(n)return n;let r=B(t);if("filter"!==r&&r in e)return lh[t]=r;r=q(r);for(let n=0;n111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)>96&&123>e.charCodeAt(2),lS=(e,t,n,r,i,l)=>{let s="svg"===i;if("class"===t){var o;let t;o=r,(t=e[iX])&&(o=(o?[o,...t]:[...t]).join(" ")),null==o?e.removeAttribute("class"):s?e.setAttribute("class",o):e.className=o}else"style"===t?function(e,t,n){let r=e.style,i=R(n),l=!1;if(n&&!i){if(t)if(R(t))for(let e of t.split(";")){let t=e.slice(0,e.indexOf(":")).trim();null==n[t]&&lc(r,t,"")}else for(let e in t)null==n[e]&&lc(r,e,"");for(let e in n)"display"===e&&(l=!0),lc(r,e,n[e])}else if(i){if(t!==n){let e=r[ll];e&&(n+=";"+e),r.cssText=n,l=lo.test(n)}}else t&&e.removeAttribute("style");ln in e&&(e[ln]=l?r.display:"",e[lr]&&(r.display="none"))}(e,n,r):C(t)?k(t)||function(e,t,n,r=null){let i=e[lm]||(e[lm]={}),l=i[t];if(n&&l)l.value=n;else{let[a,c]=function(e){let t;if(lv.test(e)){let n;for(t={};n=e.match(lv);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[":"===e[2]?e.slice(3):H(e.slice(2)),t]}(t);if(n){var s,o;let l;lg(e,a,i[t]=(s=n,o=r,(l=e=>{if(e._vts){if(e._vts<=l.attached)return}else e._vts=Date.now();tD(function(e,t){if(!E(t))return t;{let n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(e=>t=>!t._stopped&&e&&e(t))}}(e,l.value),o,5,[e])}).value=s,l.attached=ly||(lb.then(()=>ly=0),ly=Date.now()),l),c)}else l&&(e.removeEventListener(a,l,c),i[t]=void 0)}}(e,t,r,l):("."===t[0]?(t=t.slice(1),0):"^"===t[0]?(t=t.slice(1),1):!function(e,t,n,r){if(r)return!!("innerHTML"===t||"textContent"===t||t in e&&l_(t)&&I(n));if("spellcheck"===t||"draggable"===t||"translate"===t||"autocorrect"===t||"sandbox"===t&&"IFRAME"===e.tagName||"form"===t||"list"===t&&"INPUT"===e.tagName||"type"===t&&"TEXTAREA"===e.tagName)return!1;if("width"===t||"height"===t){let t=e.tagName;if("IMG"===t||"VIDEO"===t||"CANVAS"===t||"SOURCE"===t)return!1}return!(l_(t)&&R(n))&&t in e}(e,t,r,s))?e._isVueCE&&(function(e,t){let n=e._def.props;if(!n)return!1;let r=B(t);return Array.isArray(n)?n.some(e=>B(e)===r):Object.keys(n).some(e=>B(e)===r)}(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!R(r)))?lf(e,B(t),r,l,t):("true-value"===t?e._trueValue=r:"false-value"===t&&(e._falseValue=r),lp(e,t,r,s)):(lf(e,t,r),e.tagName.includes("-")||"value"!==t&&"checked"!==t&&"selected"!==t||lp(e,t,r,s,l,"value"!==t))},lx={};function lC(e,t,n){let r,i=nw(e,t);"[object Object]"===(r=i,L.call(r))&&(i=T({},i,t));class l extends lT{constructor(e){super(i,e,n)}}return l.def=i,l}let lk="u">typeof HTMLElement?HTMLElement:class{};class lT extends lk{constructor(e,t={},n=l6){super(),this._def=e,this._props=t,this._createApp=n,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._patching=!1,this._dirty=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._styleAnchors=new WeakMap,this._ob=null,this.shadowRoot&&n!==l6?this._root=this.shadowRoot:!1!==e.shadowRoot?(this.attachShadow(T({},e.shadowRootOptions,{mode:"open"})),this._root=this.shadowRoot):this._root=this}connectedCallback(){if(!this.isConnected)return;this.shadowRoot||this._resolved||this._parseSlots(),this._connected=!0;let e=this;for(;e=e&&(e.assignedSlot||e.parentNode||e.host);)if(e instanceof lT){this._parent=e;break}this._instance||(this._resolved?this._mount(this._def):e&&e._pendingResolve?this._pendingResolve=e._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(e=this._parent){e&&(this._instance.parent=e._instance,this._inheritParentContext(e))}_inheritParentContext(e=this._parent){e&&this._app&&Object.setPrototypeOf(this._app._context.provides,e._instance.provides)}disconnectedCallback(){this._connected=!1,tz(()=>{!this._connected&&(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&(this._teleportTargets.clear(),this._teleportTargets=void 0))})}_processMutations(e){for(let t of e)this._setAttr(t.attributeName)}_resolveDef(){if(this._pendingResolve)return;for(let e=0;e{let n;this._resolved=!0,this._pendingResolve=void 0;let{props:r,styles:i}=e;if(r&&!E(r))for(let e in r){let t=r[e];(t===Number||t&&t.type===Number)&&(e in this._props&&(this._props[e]=X(this._props[e])),(n||(n=Object.create(null)))[B(e)]=!0)}this._numberProps=n,this._resolveProps(e),this.shadowRoot&&this._applyStyles(i),this._mount(e)},t=this._def.__asyncLoader;t?this._pendingResolve=t().then(t=>{t.configureApp=this._def.configureApp,e(this._def=t,!0)}):e(this._def)}_mount(e){this._app=this._createApp(e),this._inheritParentContext(),e.configureApp&&e.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);let t=this._instance&&this._instance.exposed;if(t)for(let e in t)A(this,e)||Object.defineProperty(this,e,{get:()=>tT(t[e])})}_resolveProps(e){let{props:t}=e,n=E(t)?t:Object.keys(t||{});for(let e of Object.keys(this))"_"!==e[0]&&n.includes(e)&&this._setProp(e,this[e]);for(let e of n.map(B))Object.defineProperty(this,e,{get(){return this._getProp(e)},set(t){this._setProp(e,t,!0,!this._patching)}})}_setAttr(e){if(e.startsWith("data-v-"))return;let t=this.hasAttribute(e),n=t?this.getAttribute(e):lx,r=B(e);t&&this._numberProps&&this._numberProps[r]&&(n=X(n)),this._setProp(r,n,!1,!0)}_getProp(e){return this._props[e]}_setProp(e,t,n=!0,r=!1){if(t!==this._props[e]&&(this._dirty=!0,t===lx?delete this._props[e]:(this._props[e]=t,"key"===e&&this._app&&(this._app._ceVNode.key=t)),r&&this._instance&&this._update(),n)){let n=this._ob;n&&(this._processMutations(n.takeRecords()),n.disconnect()),!0===t?this.setAttribute(H(e),""):"string"==typeof t||"number"==typeof t?this.setAttribute(H(e),t+""):t||this.removeAttribute(H(e)),n&&n.observe(this,{attributes:!0})}}_update(){let e=this._createVNode();this._app&&(e.appContext=this._app._context),l2(e,this._root)}_createVNode(){let e={};this.shadowRoot||(e.onVnodeMounted=e.onVnodeUpdated=this._renderSlots.bind(this));let t=ig(this._def,T(e,this._props));return this._instance||(t.ce=e=>{this._instance=e,e.ce=this,e.isCE=!0;let t=(e,t)=>{let n;this.dispatchEvent(new CustomEvent(e,"[object Object]"===(n=t[0],L.call(n))?T({detail:t},t[0]):{detail:t}))};e.emit=(e,...n)=>{t(e,n),H(e)!==e&&t(H(e),n)},this._setParent()}),t}_applyStyles(e,t,n){if(!e)return;if(t){if(t===this._def||this._styleChildren.has(t))return;this._styleChildren.add(t)}let r=this._nonce,i=this.shadowRoot,l=n?this._getStyleAnchor(n)||this._getStyleAnchor(this._def):this._getRootStyleInsertionAnchor(i),s=null;for(let o=e.length-1;o>=0;o--){let a=document.createElement("style");r&&a.setAttribute("nonce",r),a.textContent=e[o],i.insertBefore(a,s||l),s=a,0===o&&(n||this._styleAnchors.set(this._def,a),t&&this._styleAnchors.set(t,a))}}_getStyleAnchor(e){if(!e)return null;let t=this._styleAnchors.get(e);return t&&t.parentNode===this.shadowRoot?t:(t&&this._styleAnchors.delete(e),null)}_getRootStyleInsertionAnchor(e){for(let t=0;t{if(!n.length)return;let t=e.moveClass||`${e.name||"v"}-move`;if(!function(e,t,n){let r=e.cloneNode(),i=e[iX];i&&i.forEach(e=>{e.split(/\s+/).forEach(e=>e&&r.classList.remove(e))}),n.split(/\s+/).forEach(e=>e&&r.classList.add(e)),r.style.display="none";let l=1===t.nodeType?t:t.parentNode;l.appendChild(r);let{hasTransform:s}=i9(r);return l.removeChild(r),s}(n[0].el,i.vnode.el,t)){n=[];return}n.forEach(lO),n.forEach(lM);let r=n.filter(lP);lt(i.vnode.el),r.forEach(e=>{let n=e.el,r=n.style;i6(n,t),r.transform=r.webkitTransform=r.transitionDuration="";let i=n[lE]=e=>{(!e||e.target===n)&&(!e||e.propertyName.endsWith("transform"))&&(n.removeEventListener("transitionend",i),n[lE]=null,i3(n,t))};n.addEventListener("transitionend",i)}),n=[]}),()=>{let s=tm(e),o=i2(s),a=s.tag||r8;if(n=[],r)for(let e=0;eMath.abs(s-1)&&(s=1),.01>Math.abs(o-1)&&(o=1),n.transform=n.webkitTransform=`translate(${r/s}px,${i/o}px)`,n.transitionDuration="0s",e}}function lL(e){let t=e.getBoundingClientRect();return{left:t.left,top:t.top}}let l$=e=>{let t=e.props["onUpdate:modelValue"]||!1;return E(t)?e=>z(t,e):t};function lF(e){e.target.composing=!0}function lD(e){let t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}let lV=Symbol("_assign");function lj(e,t,n){return t&&(e=e.trim()),n&&(e=G(e)),e}let lB={created(e,{modifiers:{lazy:t,trim:n,number:r}},i){e[lV]=l$(i);let l=r||i.props&&"number"===i.props.type;lg(e,t?"change":"input",t=>{t.target.composing||e[lV](lj(e.value,n,l))}),(n||l)&&lg(e,"change",()=>{e.value=lj(e.value,n,l)}),t||(lg(e,"compositionstart",lF),lg(e,"compositionend",lD),lg(e,"change",lD))},mounted(e,{value:t}){e.value=null==t?"":t},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:i,number:l}},s){if(e[lV]=l$(s),e.composing)return;let o=(l||"number"===e.type)&&!/^0\d/.test(e.value)?G(e.value):e.value,a=null==t?"":t;if(o!==a){if(document.activeElement===e&&"range"!==e.type&&(r&&t===n||i&&e.value.trim()===a))return;e.value=a}}},lU={deep:!0,created(e,t,n){e[lV]=l$(n),lg(e,"change",()=>{let t=e._modelValue,n=lz(e),r=e.checked,i=e[lV];if(E(t)){let e=eh(t,n),l=-1!==e;if(r&&!l)i(t.concat(n));else if(!r&&l){let n=[...t];n.splice(e,1),i(n)}}else{let l;if("[object Set]"===(l=t,L.call(l))){let e=new Set(t);r?e.add(n):e.delete(n),i(e)}else i(lJ(e,r))}})},mounted:lH,beforeUpdate(e,t,n){e[lV]=l$(n),lH(e,t,n)}};function lH(e,{value:t,oldValue:n},r){let i;if(e._modelValue=t,E(t))i=eh(t,r.props.value)>-1;else{let l;if("[object Set]"===(l=t,L.call(l)))i=t.has(r.props.value);else{if(t===n)return;i=eu(t,lJ(e,!0))}}e.checked!==i&&(e.checked=i)}let lq={created(e,{value:t},n){e.checked=eu(t,n.props.value),e[lV]=l$(n),lg(e,"change",()=>{e[lV](lz(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[lV]=l$(r),t!==n&&(e.checked=eu(t,r.props.value))}},lW={deep:!0,created(e,{value:t,modifiers:{number:n}},r){let i,l="[object Set]"===(i=t,L.call(i));lg(e,"change",()=>{let t=Array.prototype.filter.call(e.options,e=>e.selected).map(e=>n?G(lz(e)):lz(e));e[lV](e.multiple?l?new Set(t):t:t[0]),e._assigning=!0,tz(()=>{e._assigning=!1})}),e[lV]=l$(r)},mounted(e,{value:t}){lK(e,t)},beforeUpdate(e,t,n){e[lV]=l$(n)},updated(e,{value:t}){e._assigning||lK(e,t)}};function lK(e,t){let n,r=e.multiple,i=E(t);if(!r||i||"[object Set]"===(n=t,L.call(n))){for(let n=0,l=e.options.length;nString(e)===String(s)):l.selected=eh(t,s)>-1}else l.selected=t.has(s);else if(eu(lz(l),t)){e.selectedIndex!==n&&(e.selectedIndex=n);return}}r||-1===e.selectedIndex||(e.selectedIndex=-1)}}function lz(e){return"_value"in e?e._value:e.value}function lJ(e,t){let n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}function lG(e,t,n,r,i){let l=function(e,t){switch(e){case"SELECT":return lW;case"TEXTAREA":return lB;default:switch(t){case"checkbox":return lU;case"radio":return lq;default:return lB}}}(e.tagName,n.props&&n.props.type)[i];l&&l(e,t,n,r)}let lX=["ctrl","shift","alt","meta"],lQ={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,t)=>lX.some(n=>e[`${n}Key`]&&!t.includes(n))},lZ={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},lY=T({patchProp:lS},iz),l0=!1;function l1(){return p=l0?p:rK(lY),l0=!0,p}let l2=(...e)=>{(p||(p=rz(lY))).render(...e)},l6=(...e)=>{let t=(p||(p=rz(lY))).createApp(...e),{mount:n}=t;return t.mount=e=>{let r=l8(e);if(!r)return;let i=t._component;I(i)||i.render||i.template||(i.template=r.innerHTML),1===r.nodeType&&(r.textContent="");let l=n(r,!1,l4(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),l},t},l3=(...e)=>{let t=l1().createApp(...e),{mount:n}=t;return t.mount=e=>{let t=l8(e);if(t)return n(t,!0,l4(t))},t};function l4(e){return e instanceof SVGElement?"svg":"function"==typeof MathMLElement&&e instanceof MathMLElement?"mathml":void 0}function l8(e){return R(e)?document.querySelector(e):e}let l5=Symbol(""),l9=Symbol(""),l7=Symbol(""),se=Symbol(""),st=Symbol(""),sn=Symbol(""),sr=Symbol(""),si=Symbol(""),sl=Symbol(""),ss=Symbol(""),so=Symbol(""),sa=Symbol(""),sc=Symbol(""),su=Symbol(""),sh=Symbol(""),sd=Symbol(""),sp=Symbol(""),sf=Symbol(""),sg=Symbol(""),sm=Symbol(""),sv=Symbol(""),sy=Symbol(""),sb=Symbol(""),s_=Symbol(""),sS=Symbol(""),sx=Symbol(""),sC=Symbol(""),sk=Symbol(""),sT=Symbol(""),sw=Symbol(""),sN=Symbol(""),sA=Symbol(""),sE=Symbol(""),sI=Symbol(""),sR=Symbol(""),sO=Symbol(""),sM=Symbol(""),sP=Symbol(""),sL=Symbol(""),s$={[l5]:"Fragment",[l9]:"Teleport",[l7]:"Suspense",[se]:"KeepAlive",[st]:"BaseTransition",[sn]:"openBlock",[sr]:"createBlock",[si]:"createElementBlock",[sl]:"createVNode",[ss]:"createElementVNode",[so]:"createCommentVNode",[sa]:"createTextVNode",[sc]:"createStaticVNode",[su]:"resolveComponent",[sh]:"resolveDynamicComponent",[sd]:"resolveDirective",[sp]:"resolveFilter",[sf]:"withDirectives",[sg]:"renderList",[sm]:"renderSlot",[sv]:"createSlots",[sy]:"toDisplayString",[sb]:"mergeProps",[s_]:"normalizeClass",[sS]:"normalizeStyle",[sx]:"normalizeProps",[sC]:"guardReactiveProps",[sk]:"toHandlers",[sT]:"camelize",[sw]:"capitalize",[sN]:"toHandlerKey",[sA]:"setBlockTracking",[sE]:"pushScopeId",[sI]:"popScopeId",[sR]:"withCtx",[sO]:"unref",[sM]:"isRef",[sP]:"withMemo",[sL]:"isMemoSame"},sF={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:""};function sD(e,t,n,r,i,l,s,o=!1,a=!1,c=!1,u=sF){var h,d,p,f;return e&&(o?(e.helper(sn),e.helper((h=e.inSSR,d=c,h||d?sr:si))):e.helper((p=e.inSSR,f=c,p||f?sl:ss)),s&&e.helper(sf)),{type:13,tag:t,props:n,children:r,patchFlag:i,dynamicProps:l,directives:s,isBlock:o,disableTracking:a,isComponent:c,loc:u}}function sV(e,t=sF){return{type:17,loc:t,elements:e}}function sj(e,t=sF){return{type:15,loc:t,properties:e}}function sB(e,t){return{type:16,loc:sF,key:R(e)?sU(e,!0):e,value:t}}function sU(e,t=!1,n=sF,r=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:r}}function sH(e,t=sF){return{type:8,loc:t,children:e}}function sq(e,t=[],n=sF){return{type:14,loc:n,callee:e,arguments:t}}function sW(e,t,n=!1,r=!1,i=sF){return{type:18,params:e,returns:t,newline:n,isSlot:r,loc:i}}function sK(e,t,n,r=!0){return{type:19,test:e,consequent:t,alternate:n,newline:r,loc:sF}}function sz(e,{helper:t,removeHelper:n,inSSR:r}){if(!e.isBlock){var i,l;e.isBlock=!0,n((i=e.isComponent,r||i?sl:ss)),t(sn),t((l=e.isComponent,r||l?sr:si))}}let sJ=new Uint8Array([123,123]),sG=new Uint8Array([125,125]);function sX(e){return e>=97&&e<=122||e>=65&&e<=90}function sQ(e){return 32===e||10===e||9===e||12===e||13===e}function sZ(e){return 47===e||62===e||sQ(e)}function sY(e){let t=new Uint8Array(e.length);for(let n=0;n4===e.type&&e.isStatic;function s4(e){switch(e){case"Teleport":case"teleport":return l9;case"Suspense":case"suspense":return l7;case"KeepAlive":case"keep-alive":return se;case"BaseTransition":case"base-transition":return st}}let s8=/^$|^\d|[^\$\w\xA0-\uFFFF]/,s5=/[A-Za-z_$\xA0-\uFFFF]/,s9=/[\.\?\w$\xA0-\uFFFF]/,s7=/\s+[.[]\s*|\s*[.[]\s+/g,oe=e=>4===e.type?e.content:e.loc.source,ot=e=>{let t=oe(e).trim().replace(s7,e=>e.trim()),n=0,r=[],i=0,l=0,s=null;for(let e=0;e|^\s*(?:async\s+)?function(?:\s+[\w$]+)?\s*\(/;function or(e,t,n=!1){for(let r=0;r4===e.key.type&&e.key.content===r)}return n}function of(e,t){return`_${t}_${e.replace(/[^\w]/g,(t,n)=>"-"===t?"_":e.charCodeAt(n).toString())}`}let og=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/;function om(e){for(let t=0;t0,isVoidTag:x,isPreTag:x,isIgnoreNewlineTag:x,isCustomElement:x,onError:s1,onWarn:s2,comments:!1,prefixIdentifiers:!1},o_=ob,oS=null,ox="",oC=null,ok=null,oT="",ow=-1,oN=-1,oA=0,oE=!1,oI=null,oR=[],oO=new class{constructor(e,t){this.stack=e,this.cbs=t,this.state=1,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=1,this.inRCDATA=!1,this.inXML=!1,this.inVPre=!1,this.newlines=[],this.mode=0,this.delimiterOpen=sJ,this.delimiterClose=sG,this.delimiterIndex=-1,this.currentSequence=void 0,this.sequenceIndex=0}get inSFCRoot(){return 2===this.mode&&0===this.stack.length}reset(){this.state=1,this.mode=0,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=1,this.inRCDATA=!1,this.currentSequence=void 0,this.newlines.length=0,this.delimiterOpen=sJ,this.delimiterClose=sG}getPos(e){let t=1,n=e+1,r=this.newlines.length,i=-1;if(r>100){let t=-1,n=r;for(;t+1>>1;this.newlines[r]=0;t--)if(e>this.newlines[t]){i=t;break}return i>=0&&(t=i+2,n=e-this.newlines[i]),{column:n,line:t,offset:e}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(e){60===e?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):this.inVPre||e!==this.delimiterOpen[0]||(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(e))}stateInterpolationOpen(e){if(e===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){let e=this.index+1-this.delimiterOpen.length;e>this.sectionStart&&this.cbs.ontext(this.sectionStart,e),this.state=3,this.sectionStart=e}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(e)):(this.state=1,this.stateText(e))}stateInterpolation(e){e===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(e))}stateInterpolationClose(e){e===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(e))}stateSpecialStartSequence(e){let t=this.sequenceIndex===this.currentSequence.length;if(t?sZ(e):(32|e)===this.currentSequence[this.sequenceIndex]){if(!t)return void this.sequenceIndex++}else this.inRCDATA=!1;this.sequenceIndex=0,this.state=6,this.stateInTagName(e)}stateInRCDATA(e){if(this.sequenceIndex===this.currentSequence.length){if(62===e||sQ(e)){let t=this.index-this.currentSequence.length;if(this.sectionStart=e||(28===this.state?this.currentSequence===s0.CdataEnd?this.cbs.oncdata(this.sectionStart,e):this.cbs.oncomment(this.sectionStart,e):6===this.state||11===this.state||18===this.state||17===this.state||12===this.state||13===this.state||14===this.state||15===this.state||16===this.state||20===this.state||19===this.state||21===this.state||9===this.state||this.cbs.ontext(this.sectionStart,e))}emitCodePoint(e,t){}}(oR,{onerr:oJ,ontext(e,t){oF(oL(e,t),e,t)},ontextentity(e,t,n){oF(e,t,n)},oninterpolation(e,t){if(oE)return oF(oL(e,t),e,t);let n=e+oO.delimiterOpen.length,r=t-oO.delimiterClose.length;for(;sQ(ox.charCodeAt(n));)n++;for(;sQ(ox.charCodeAt(r-1));)r--;let i=oL(n,r);i.includes("&")&&(i=o_.decodeEntities(i,!1)),oq({type:5,content:oz(i,!1,oW(n,r)),loc:oW(e,t)})},onopentagname(e,t){let n=oL(e,t);oC={type:1,tag:n,ns:o_.getNamespace(n,oR[0],o_.ns),tagType:0,props:[],children:[],loc:oW(e-1,t),codegenNode:void 0}},onopentagend(e){o$(e)},onclosetag(e,t){let n=oL(e,t);if(!o_.isVoidTag(n)){let r=!1;for(let e=0;e0&&oR[0].loc.start.offset;for(let n=0;n<=e;n++)oD(oR.shift(),t,n(7===e.type?e.rawName:e.name)===t)},onattribend(e,t){oC&&ok&&(oK(ok.loc,t),0!==e&&(oT.includes("&")&&(oT=o_.decodeEntities(oT,!0)),6===ok.type?("class"===ok.name&&(oT=oH(oT).trim()),ok.value={type:2,content:oT,loc:1===e?oW(ow,oN):oW(ow-1,oN+1)},oO.inSFCRoot&&"template"===oC.tag&&"lang"===ok.name&&oT&&"html"!==oT&&oO.enterRCDATA(sY("{let i=t.start.offset+n,l=i+e.length;return oz(e,!1,oW(i,l),0,+!!r)},o={source:s(l.trim(),n.indexOf(l,i.length)),value:void 0,key:void 0,index:void 0,finalized:!1},a=i.trim().replace(oP,"").trim(),c=i.indexOf(a),u=a.match(oM);if(u){let e;a=a.replace(oM,"").trim();let t=u[1].trim();if(t&&(e=n.indexOf(t,c+a.length),o.key=s(t,e,!0)),u[2]){let r=u[2].trim();r&&(o.index=s(r,n.indexOf(r,o.key?e+t.length:c+a.length),!0))}}return a&&(o.value=s(a,c,!0)),o}(ok.exp)))),(7!==ok.type||"pre"!==ok.name)&&oC.props.push(ok)),oT="",ow=oN=-1},oncomment(e,t){o_.comments&&oq({type:3,content:oL(e,t),loc:oW(e-4,t+3)})},onend(){let e=ox.length;for(let t=0;t64&&n<91||s4(e)||o_.isBuiltInComponent&&o_.isBuiltInComponent(e)||o_.isNativeTag&&!o_.isNativeTag(e))return!0;for(let e=0;e=0;)n--;return n}let oj=new Set(["if","else","else-if","for","slot"]),oB=/\r\n/g;function oU(e){let t="preserve"!==o_.whitespace,n=!1;for(let r=0;r3!==e.type);return 1!==t.length||1!==t[0].type||ou(t[0])?null:t[0]}function oX(e,t){let{constantCache:n}=t;switch(e.type){case 1:if(0!==e.tagType)return 0;let r=n.get(e);if(void 0!==r)return r;let i=e.codegenNode;if(13!==i.type||i.isBlock&&"svg"!==e.tag&&"foreignObject"!==e.tag&&"math"!==e.tag)return 0;if(void 0!==i.patchFlag)return n.set(e,0),0;{let r=3,c=oZ(e,t);if(0===c)return n.set(e,0),0;c1)for(let i=0;i{l--};for(;lt===e:t=>e.test(t);return(e,r)=>{if(1===e.type){let{props:i}=e;if(3===e.tagType&&i.some(oa))return;let l=[];for(let s=0;s`${s$[e]}: _${s$[e]}`;function o3(e,t,{helper:n,push:r,newline:i,isTS:l}){let s=n("component"===t?su:sd);for(let n=0;n3;t.push("["),n&&t.indent(),o8(e,t,n),n&&t.deindent(),t.push("]")}function o8(e,t,n=!1,r=!0){let{push:i,newline:l}=t;for(let s=0;se||"null")}([a,c,u,i,d]),t),l(")"),f&&l(")"),p&&(l(", "),o5(p,t),l(")"))}(e,t);break;case 14:!function(e,t){let{push:n,helper:r,pure:i}=t,l=R(e.callee)?e.callee:r(e.callee);i&&n(o2),n(l+"(",-2,e),o8(e.arguments,t),n(")")}(e,t);break;case 15:!function(e,t){let{push:n,indent:r,deindent:i,newline:l}=t,{properties:s}=e;if(!s.length)return n("{}",-2,e);let o=s.length>1;n(o?"{":"{ "),o&&r();for(let e=0;e "),(a||o)&&(n("{"),r()),s?(a&&n("return "),E(s)?o4(s,t):o5(s,t)):o&&o5(o,t),(a||o)&&(i(),n("}")),c&&n(")")}(e,t);break;case 19:!function(e,t){let{test:n,consequent:r,alternate:i,newline:l}=e,{push:s,indent:o,deindent:a,newline:c}=t;if(4===n.type){let e,r=(e=n.content,!!s8.test(e));r&&s("("),o9(n,t),r&&s(")")}else s("("),o5(n,t),s(")");l&&o(),t.indentLevel++,l||s(" "),s("? "),o5(r,t),t.indentLevel--,l&&c(),l||s(" "),s(": ");let u=19===i.type;!u&&t.indentLevel++,o5(i,t),!u&&t.indentLevel--,l&&a(!0)}(e,t);break;case 20:!function(e,t){let{push:n,helper:r,indent:i,deindent:l,newline:s}=t,{needPauseTracking:o,needArraySpread:a}=e;a&&n("[...("),n(`_cache[${e.index}] || (`),o&&(i(),n(`${r(sA)}(-1`),e.inVOnce&&n(", true"),n("),"),s(),n("(")),n(`_cache[${e.index}] = `),o5(e.value,t),o&&(n(`).cacheIndex = ${e.index},`),s(),n(`${r(sA)}(1),`),s(),n(`_cache[${e.index}]`),l()),n(")"),a&&n(")]")}(e,t);break;case 21:o8(e.body,t,!0,!1)}}function o9(e,t){let{content:n,isStatic:r}=e;t.push(r?JSON.stringify(n):n,-3,e)}function o7(e,t){for(let n=0;n(function(e,t,n,r){if("else"!==t.name&&(!t.exp||!t.exp.content.trim())){let r=t.exp?t.exp.loc:e.loc;n.onError(s6(28,t.loc)),t.exp=sU("true",!1,r)}if("if"===t.name){var i;let l=at(e,t),s={type:9,loc:oW((i=e.loc).start.offset,i.end.offset),branches:[l]};if(n.replaceNode(s),r)return r(s,l,!0)}else{let i=n.parent.children,l=i.indexOf(e);for(;l-- >=-1;){let s=i[l];if(s&&oy(s)){n.removeNode(s);continue}if(s&&9===s.type){("else-if"===t.name||"else"===t.name)&&void 0===s.branches[s.branches.length-1].condition&&n.onError(s6(30,e.loc)),n.removeNode();let i=at(e,t);s.branches.push(i);let l=r&&r(s,i,!1);o0(i,n),l&&l(),n.currentNode=null}else n.onError(s6(30,e.loc));break}}})(e,t,n,(e,t,r)=>{let i=n.parent.children,l=i.indexOf(e),s=0;for(;l-- >=0;){let e=i[l];e&&9===e.type&&(s+=e.branches.length)}return()=>{r?e.codegenNode=an(t,s,n):function(e){for(;;)if(19===e.type)if(19!==e.alternate.type)return e;else e=e.alternate;else 20===e.type&&(e=e.value)}(e.codegenNode).alternate=an(t,s+e.branches.length-1,n)}}));function at(e,t){let n=3===e.tagType;return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:n&&!or(e,"for")?e.children:[e],userKey:oi(e,"key"),isTemplateIf:n}}function an(e,t,n){return e.condition?sK(e.condition,ar(e,t,n),sq(n.helper(so),['""',"true"])):ar(e,t,n)}function ar(e,t,n){let{helper:r}=n,i=sB("key",sU(`${t}`,!1,sF,2)),{children:l}=e,s=l[0];if(1!==l.length||1!==s.type)if(1!==l.length||11!==s.type)return sD(n,r(l5),sj([i]),l,64,void 0,void 0,!0,!1,!1,e.loc);else{let e=s.codegenNode;return od(e,i,n),e}{let e=s.codegenNode,t=14===e.type&&e.callee===sP?e.arguments[1].returns:e;return 13===t.type&&sz(t,n),od(t,i,n),e}}let ai=o1("for",(e,t,n)=>{let{helper:r,removeHelper:i}=n;return function(e,t,n,r){if(!t.exp)return void n.onError(s6(31,t.loc));let i=t.forParseResult;if(!i)return void n.onError(s6(32,t.loc));al(i);let{scopes:l}=n,{source:s,value:o,key:a,index:c}=i,u={type:11,loc:t.loc,source:s,valueAlias:o,keyAlias:a,objectIndexAlias:c,parseResult:i,children:oc(e)?e.children:[e]};n.replaceNode(u),l.vFor++;let h=r&&r(u);return()=>{l.vFor--,h&&h()}}(e,t,n,t=>{let l=sq(r(sg),[t.source]),s=oc(e),o=or(e,"memo"),a=oi(e,"key",!1,!0);a&&a.type;let c=a&&(6===a.type?a.value?sU(a.value.content,!0):void 0:a.exp),u=a&&c?sB("key",c):null,h=4===t.source.type&&t.source.constType>0,d=h?64:a?128:256;return t.codegenNode=sD(n,r(l5),void 0,l,d,void 0,void 0,!0,!h,!1,e.loc),()=>{let a,{children:d}=t,p=1!==d.length||1!==d[0].type,f=ou(e)?e:s&&1===e.children.length&&ou(e.children[0])?e.children[0]:null;if(f)a=f.codegenNode,s&&u&&od(a,u,n);else if(p)a=sD(n,r(l5),u?sj([u]):void 0,e.children,64,void 0,void 0,!0,void 0,!1);else{var g,m,y,b,_,S,x,C;a=d[0].codegenNode,s&&u&&od(a,u,n),!h!==a.isBlock&&(a.isBlock?(i(sn),i((g=n.inSSR,m=a.isComponent,g||m?sr:si))):i((y=n.inSSR,b=a.isComponent,y||b?sl:ss))),(a.isBlock=!h,a.isBlock)?(r(sn),r((_=n.inSSR,S=a.isComponent,_||S?sr:si))):r((x=n.inSSR,C=a.isComponent,x||C?sl:ss))}if(o){let e=sW(as(t.parseResult,[sU("_cached")]));e.body={type:21,body:[sH(["const _memo = (",o.exp,")"]),sH(["if (_cached",...c?[" && _cached.key === ",c]:[],` && ${n.helperString(sL)}(_cached, _memo)) return _cached`]),sH(["const _item = ",a]),sU("_item.memo = _memo"),sU("return _item")],loc:sF},l.arguments.push(e,sU("_cache"),sU(String(n.cached.length))),n.cached.push(null)}else l.arguments.push(sW(as(t.parseResult),a,!0))}})});function al(e,t){e.finalized||(e.finalized=!0)}function as({value:e,key:t,index:n},r=[]){var i=[e,t,n,...r];let l=i.length;for(;l--&&!i[l];);return i.slice(0,l+1).map((e,t)=>e||sU("_".repeat(t+1),!1))}let ao=sU("undefined",!1),aa=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){let n=or(e,"slot");if(n)return n.exp,t.scopes.vSlot++,()=>{t.scopes.vSlot--}}};function ac(e,t,n){let r=[sB("name",e),sB("fn",t)];return null!=n&&r.push(sB("key",sU(String(n),!0))),sj(r)}let au=new WeakMap,ah=(e,t)=>function(){let n,r,i,l,s;if(1!==(e=t.currentNode).type||0!==e.tagType&&1!==e.tagType)return;let{tag:o,props:a}=e,c=1===e.tagType,u=c?function(e,t,n=!1){let{tag:r}=e,i=af(r),l=oi(e,"is",!1,!0);if(l)if(i){let e;if(6===l.type?e=l.value&&sU(l.value.content,!0):(e=l.exp)||(e=sU("is",!1,l.arg.loc)),e)return sq(t.helper(sh),[e])}else 6===l.type&&l.value.content.startsWith("vue:")&&(r=l.value.content.slice(4));let s=s4(r)||t.isBuiltInComponent(r);return s?(n||t.helper(s),s):(t.helper(su),t.components.add(r),of(r,"component"))}(e,t):`"${o}"`,h=M(u)&&u.callee===sh,d=0,p=h||u===l9||u===l7||!c&&("svg"===o||"foreignObject"===o||"math"===o);if(a.length>0){let r=ad(e,t,void 0,c,h);n=r.props,d=r.patchFlag,l=r.dynamicPropNames;let i=r.directives;s=i&&i.length?sV(i.map(e=>(function(e,t){let n=[],r=au.get(e);r?n.push(t.helperString(r)):(t.helper(sd),t.directives.add(e.name),n.push(of(e.name,"directive")));let{loc:i}=e;if(e.exp&&n.push(e.exp),e.arg&&(e.exp||n.push("void 0"),n.push(e.arg)),Object.keys(e.modifiers).length){e.arg||(e.exp||n.push("void 0"),n.push("void 0"));let t=sU("true",!1,i);n.push(sj(e.modifiers.map(e=>sB(e,t)),i))}return sV(n,e.loc)})(e,t))):void 0,r.shouldUseBlock&&(p=!0)}if(e.children.length>0)if(u===se&&(p=!0,d|=1024),c&&u!==l9&&u!==se){let{slots:n,hasDynamicSlots:i}=function(e,t,n=(e,t,n,r)=>sW(e,n,!1,!0,n.length?n[0].loc:r)){t.helper(sR);let{children:r,loc:i}=e,l=[],s=[],o=t.scopes.vSlot>0||t.scopes.vFor>0,a=or(e,"slot",!0);if(a){let{arg:e,exp:t}=a;e&&!s3(e)&&(o=!0),l.push(sB(e||sU("default",!0),n(t,void 0,r,i)))}let c=!1,u=!1,h=[],d=new Set,p=0;for(let e=0;esB("default",n(e,void 0,t,i));c?h.length&&!h.every(ov)&&(u?t.onError(s6(39,h[0].loc)):l.push(e(void 0,h))):l.push(e(void 0,r))}let f=o?2:!function e(t){for(let n=0;n0,f=!1,g=0,m=!1,y=!1,b=!1,_=!1,S=!1,x=!1,k=[],T=e=>{u.length&&(h.push(sj(ap(u),a)),u=[]),e&&h.push(e)},w=()=>{t.scopes.vFor>0&&u.push(sB(sU("ref_for",!0),sU("true")))},N=({key:e,value:n})=>{if(s3(e)){let l=e.content,s=C(l);s&&(!r||i)&&"onclick"!==l.toLowerCase()&&"onUpdate:modelValue"!==l&&!F(l)&&(_=!0),s&&F(l)&&(x=!0),s&&14===n.type&&(n=n.arguments[0]),20===n.type||(4===n.type||8===n.type)&&oX(n,t)>0||("ref"===l?m=!0:"class"===l?y=!0:"style"===l?b=!0:"key"===l||k.includes(l)||k.push(l),r&&("class"===l||"style"===l)&&!k.includes(l)&&k.push(l))}else S=!0};for(let i=0;i"prop"===e.content)&&(g|=32);let x=t.directiveTransforms[n];if(x){let{props:n,needRuntime:r}=x(s,e,t);l||n.forEach(N),_&&i&&!s3(i)?T(sj(n,a)):u.push(...n),r&&(d.push(s),O(r)&&au.set(s,r))}else!D(n)&&(d.push(s),p&&(f=!0))}}if(h.length?(T(),s=h.length>1?sq(t.helper(sb),h,a):h[0]):u.length&&(s=sj(ap(u),a)),S?g|=16:(y&&!r&&(g|=2),b&&!r&&(g|=4),k.length&&(g|=8),_&&(g|=32)),!f&&(0===g||32===g)&&(m||x||d.length>0)&&(g|=512),!t.inSSR&&s)switch(s.type){case 15:let A=-1,E=-1,I=!1;for(let e=0;e{if(ou(e)){let{children:n,loc:r}=e,{slotName:i,slotProps:l}=function(e,t){let n,r='"default"',i=[];for(let t=0;t0){let{props:r,directives:l}=ad(e,t,i,!1,!1);n=r,l.length&&t.onError(s6(36,l[0].loc))}return{slotName:r,slotProps:n}}(e,t),s=[t.prefixIdentifiers?"_ctx.$slots":"$slots",i,"{}","undefined","true"],o=2;l&&(s[2]=l,o=3),n.length&&(s[3]=sW([],n,!1,!1,r),o=4),t.scopeId&&!t.slotted&&(o=5),s.splice(o),e.codegenNode=sq(t.helper(sm),s,r)}},am=(e,t,n,r)=>{let i,{loc:l,modifiers:s,arg:o}=e;if(!e.exp&&!s.length,4===o.type)if(o.isStatic){let e=o.content;e.startsWith("vue:")&&(e=`vnode-${e.slice(4)}`),i=sU(0!==t.tagType||e.startsWith("vnode")||!/[A-Z]/.test(e)?W(B(e)):`on:${e}`,!0,o.loc)}else i=sH([`${n.helperString(sN)}(`,o,")"]);else(i=o).children.unshift(`${n.helperString(sN)}(`),i.children.push(")");let a=e.exp;a&&!a.content.trim()&&(a=void 0);let c=n.cacheHandlers&&!a&&!n.inVOnce;if(a){let e,t=ot(a),n=!(t||(e=a,on.test(oe(e)))),r=a.content.includes(";");(n||c&&t)&&(a=sH([`${n?"$event":"(...args)"} => ${r?"{":"("}`,a,r?"}":")"]))}let u={props:[sB(i,a||sU("() => {}",!1,l))]};return r&&(u=r(u)),c&&(u.props[0].value=n.cache(u.props[0].value)),u.props.forEach(e=>e.key.isHandlerKey=!0),u},av=(e,t,n)=>{let{modifiers:r}=e,i=e.arg,{exp:l}=e;return l&&4===l.type&&!l.content.trim()&&(l=void 0),4!==i.type?(i.children.unshift("("),i.children.push(') || ""')):i.isStatic||(i.content=i.content?`${i.content} || ""`:'""'),r.some(e=>"camel"===e.content)&&(4===i.type?i.isStatic?i.content=B(i.content):i.content=`${n.helperString(sT)}(${i.content})`:(i.children.unshift(`${n.helperString(sT)}(`),i.children.push(")"))),!n.inSSR&&(r.some(e=>"prop"===e.content)&&ay(i,"."),r.some(e=>"attr"===e.content)&&ay(i,"^")),{props:[sB(i,l)]}},ay=(e,t)=>{4===e.type?e.isStatic?e.content=t+e.content:e.content=`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},ab=(e,t)=>{if(0===e.type||1===e.type||11===e.type||10===e.type)return()=>{let n,r=e.children,i=!1;for(let e=0;e7===e.type&&!t.directiveTransforms[e.name]))))for(let e=0;e{if(1===e.type&&or(e,"once",!0)&&!a_.has(e)&&!t.inVOnce&&!t.inSSR)return a_.add(e),t.inVOnce=!0,t.helper(sA),()=>{t.inVOnce=!1;let e=t.currentNode;e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0,!0))}},ax=(e,t,n)=>{let r,{exp:i,arg:l}=e;if(!i)return n.onError(s6(41,e.loc)),aC();let s=i.loc.source.trim(),o=4===i.type?i.content:s,a=n.bindingMetadata[s];if("props"===a||"props-aliased"===a||"literal-const"===a||"setup-const"===a)return i.loc,aC();if(!o.trim()||!ot(i))return n.onError(s6(42,i.loc)),aC();let c=l||sU("modelValue",!0),u=l?s3(l)?`onUpdate:${B(l.content)}`:sH(['"onUpdate:" + ',l]):"onUpdate:modelValue",h=n.isTS?"($event: any)":"$event";r=sH([`${h} => ((`,i,") = $event)"]);let d=[sB(c,e.exp),sB(u,r)];if(e.modifiers.length&&1===t.tagType){let t=e.modifiers.map(e=>e.content).map(e=>(s8.test(e)?JSON.stringify(e):e)+": true").join(", "),n=l?s3(l)?`${l.content}Modifiers`:sH([l,' + "Modifiers"']):"modelModifiers";d.push(sB(n,sU(`{ ${t} }`,!1,e.loc,2)))}return aC(d)};function aC(e=[]){return{props:e}}let ak=new WeakSet,aT=(e,t)=>{if(1===e.type){let n=or(e,"memo");if(!(!n||ak.has(e))&&!t.inSSR)return ak.add(e),()=>{let r=e.codegenNode||t.currentNode.codegenNode;r&&13===r.type&&(1!==e.tagType&&sz(r,t),e.codegenNode=sq(t.helper(sP),[n.exp,sW(void 0,r),"_cache",String(t.cached.length)]),t.cached.push(null))}}},aw=(e,t)=>{if(1===e.type){for(let n of e.props)if(7===n.type&&"bind"===n.name&&(!n.exp||4===n.exp.type&&!n.exp.content.trim())&&n.arg){let e=n.arg;if(4===e.type&&e.isStatic){let t=B(e.content);(s5.test(t[0])||"-"===t[0])&&(n.exp=sU(t,!1,e.loc))}else t.onError(s6(53,e.loc)),n.exp=sU("",!0,e.loc)}}},aN=Symbol(""),aA=Symbol(""),aE=Symbol(""),aI=Symbol(""),aR=Symbol(""),aO=Symbol(""),aM=Symbol(""),aP=Symbol(""),aL=Symbol(""),a$=Symbol("");Object.getOwnPropertySymbols(r={[aN]:"vModelRadio",[aA]:"vModelCheckbox",[aE]:"vModelText",[aI]:"vModelSelect",[aR]:"vModelDynamic",[aO]:"withModifiers",[aM]:"withKeys",[aP]:"vShow",[aL]:"Transition",[a$]:"TransitionGroup"}).forEach(e=>{s$[e]=r[e]});let aF={parseMode:"html",isVoidTag:ea,isNativeTag:e=>el(e)||es(e)||eo(e),isPreTag:e=>"pre"===e,isIgnoreNewlineTag:e=>"pre"===e||"textarea"===e,decodeEntities:function(e,t=!1){return(f||(f=document.createElement("div")),t)?(f.innerHTML=`
`,f.children[0].getAttribute("foo")):(f.innerHTML=e,f.textContent)},isBuiltInComponent:e=>"Transition"===e||"transition"===e?aL:"TransitionGroup"===e||"transition-group"===e?a$:void 0,getNamespace(e,t,n){let r=t?t.ns:n;if(t&&2===r)if("annotation-xml"===t.tag){if("svg"===e)return 1;t.props.some(e=>6===e.type&&"encoding"===e.name&&null!=e.value&&("text/html"===e.value.content||"application/xhtml+xml"===e.value.content))&&(r=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&"mglyph"!==e&&"malignmark"!==e&&(r=0);else t&&1===r&&("foreignObject"===t.tag||"desc"===t.tag||"title"===t.tag)&&(r=0);if(0===r){if("svg"===e)return 1;if("math"===e)return 2}return r}},aD=y("passive,once,capture"),aV=y("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),aj=y("left,right"),aB=y("onkeyup,onkeydown,onkeypress"),aU=(e,t)=>s3(e)&&"onclick"===e.content.toLowerCase()?sU(t,!0):4!==e.type?sH(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,aH=(e,t)=>{1===e.type&&0===e.tagType&&("script"===e.tag||"style"===e.tag)&&t.removeNode()},aq=[e=>{1===e.type&&e.props.forEach((t,n)=>{let r,i;6===t.type&&"style"===t.name&&t.value&&(e.props[n]={type:7,name:"bind",arg:sU("style",!0,t.loc),exp:(r=t.value.content,i=t.loc,sU(JSON.stringify(er(r)),!1,i,3)),modifiers:[],loc:t.loc})})}],aW={cloak:()=>({props:[]}),html:(e,t,n)=>{let{exp:r,loc:i}=e;return r||n.onError(s6(54,i)),t.children.length&&(n.onError(s6(55,i)),t.children.length=0),{props:[sB(sU("innerHTML",!0,i),r||sU("",!0))]}},text:(e,t,n)=>{let{exp:r,loc:i}=e;return r||n.onError(s6(56,i)),t.children.length&&(n.onError(s6(57,i)),t.children.length=0),{props:[sB(sU("textContent",!0),r?oX(r,n)>0?r:sq(n.helperString(sy),[r],i):sU("",!0))]}},model:(e,t,n)=>{let r=ax(e,t,n);if(!r.props.length||1===t.tagType)return r;e.arg&&n.onError(s6(59,e.arg.loc));let{tag:i}=t,l=n.isCustomElement(i);if("input"===i||"textarea"===i||"select"===i||l){let s=aE,o=!1;if("input"===i||l){let r=oi(t,"type");if(r){if(7===r.type)s=aR;else if(r.value)switch(r.value.content){case"radio":s=aN;break;case"checkbox":s=aA;break;case"file":o=!0,n.onError(s6(60,e.loc))}}else t.props.some(e=>7===e.type&&"bind"===e.name&&(!e.arg||4!==e.arg.type||!e.arg.isStatic))&&(s=aR)}else"select"===i&&(s=aI);o||(r.needRuntime=n.helper(s))}else n.onError(s6(58,e.loc));return r.props=r.props.filter(e=>4!==e.key.type||"modelValue"!==e.key.content),r},on:(e,t,n)=>am(e,t,n,t=>{let{modifiers:r}=e;if(!r.length)return t;let{key:i,value:l}=t.props[0],{keyModifiers:s,nonKeyModifiers:o,eventOptionModifiers:a}=((e,t,n,r)=>{let i=[],l=[],s=[];for(let n=0;n{let{exp:r,loc:i}=e;return r||n.onError(s6(62,i)),{props:[],needRuntime:n.helper(aP)}}},aK=Object.create(null);function az(e,t){if(!R(e))if(!e.nodeType)return S;else e=e.innerHTML;let n=e+JSON.stringify(t,(e,t)=>"function"==typeof t?t.toString():t),r=aK[n];if(r)return r;if("#"===e[0]){let t=document.querySelector(e);e=t?t.innerHTML:""}let i=T({hoistStatic:!0,onError:void 0,onWarn:S},t);!i.isCustomElement&&"u">typeof customElements&&(i.isCustomElement=e=>!!customElements.get(e));let{code:l}=function(e,t={}){return function(e,t={}){var n;let r,i=t.onError||s1,l="module"===t.mode;!0===t.prefixIdentifiers?i(s6(48)):l&&i(s6(49)),t.cacheHandlers&&i(s6(50)),t.scopeId&&!l&&i(s6(51));let s=T({},t,{prefixIdentifiers:!1}),o=R(e)?function(e,t){if(oO.reset(),oC=null,ok=null,oT="",ow=-1,oN=-1,oR.length=0,ox=e,o_=T({},ob),t){let e;for(e in t)null!=t[e]&&(o_[e]=t[e])}oO.mode="html"===o_.parseMode?1:2*("sfc"===o_.parseMode),oO.inXML=1===o_.ns||2===o_.ns;let n=t&&t.delimiters;n&&(oO.delimiterOpen=sY(n[0]),oO.delimiterClose=sY(n[1]));let r=oS=function(e,t=""){return{type:0,source:t,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:sF}}([],e);return oO.parse(ox),r.loc=oW(0,e.length),r.children=oU(r.children),oS=null,r}(e,s):e,[a,c]=[[aw,aS,ae,aT,ai,ag,ah,aa,ab],{on:am,bind:av,model:ax}];return r=function(e,{filename:t="",prefixIdentifiers:n=!1,hoistStatic:r=!1,hmr:i=!1,cacheHandlers:l=!1,nodeTransforms:s=[],directiveTransforms:o={},transformHoist:a=null,isBuiltInComponent:c=S,isCustomElement:u=S,expressionPlugins:h=[],scopeId:d=null,slotted:p=!0,ssr:f=!1,inSSR:g=!1,ssrCssVars:m="",bindingMetadata:y=b,inline:_=!1,isTS:x=!1,onError:C=s1,onWarn:k=s2,compatConfig:T}){let w=t.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),N={filename:t,selfName:w&&q(B(w[1])),prefixIdentifiers:n,hoistStatic:r,hmr:i,cacheHandlers:l,nodeTransforms:s,directiveTransforms:o,transformHoist:a,isBuiltInComponent:c,isCustomElement:u,expressionPlugins:h,scopeId:d,slotted:p,ssr:f,inSSR:g,ssrCssVars:m,bindingMetadata:y,inline:_,isTS:x,onError:C,onWarn:k,compatConfig:T,root:e,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],cached:[],constantCache:new WeakMap,temps:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,grandParent:null,currentNode:e,childIndex:0,inVOnce:!1,helper(e){let t=N.helpers.get(e)||0;return N.helpers.set(e,t+1),e},removeHelper(e){let t=N.helpers.get(e);if(t){let n=t-1;n?N.helpers.set(e,n):N.helpers.delete(e)}},helperString:e=>`_${s$[N.helper(e)]}`,replaceNode(e){N.parent.children[N.childIndex]=N.currentNode=e},removeNode(e){let t=N.parent.children,n=e?t.indexOf(e):N.currentNode?N.childIndex:-1;e&&e!==N.currentNode?N.childIndex>n&&(N.childIndex--,N.onNodeRemoved()):(N.currentNode=null,N.onNodeRemoved()),N.parent.children.splice(n,1)},onNodeRemoved:S,addIdentifiers(e){},removeIdentifiers(e){},hoist(e){R(e)&&(e=sU(e)),N.hoists.push(e);let t=sU(`_hoisted_${N.hoists.length}`,!1,e.loc,2);return t.hoisted=e,t},cache(e,t=!1,n=!1){let r=function(e,t,n=!1,r=!1){return{type:20,index:e,value:t,needPauseTracking:n,inVOnce:r,needArraySpread:!1,loc:sF}}(N.cached.length,e,t,n);return N.cached.push(r),r}};return N}(o,n=T({},s,{nodeTransforms:[...a,...t.nodeTransforms||[]],directiveTransforms:T({},c,t.directiveTransforms||{})})),o0(o,r),n.hoistStatic&&function e(t,n,r,i=!1,l=!1){let{children:s}=t,o=[];for(let n=0;n0){if(e>=2){a.codegenNode.patchFlag=-1,o.push(a);continue}}else{let e=a.codegenNode;if(13===e.type){let t=e.patchFlag;if((void 0===t||512===t||1===t)&&oZ(a,r)>=2){let t=oY(a);t&&(e.props=r.hoist(t))}e.dynamicProps&&(e.dynamicProps=r.hoist(e.dynamicProps))}}}else if(12===a.type&&(i?0:oX(a,r))>=2){14===a.codegenNode.type&&a.codegenNode.arguments.length>0&&a.codegenNode.arguments.push("-1"),o.push(a);continue}if(1===a.type){let n=1===a.tagType;n&&r.scopes.vSlot++,e(a,t,r,!1,l),n&&r.scopes.vSlot--}else if(11===a.type)e(a,t,r,1===a.children.length,!0);else if(9===a.type)for(let n=0;ne.key===t||e.key.content===t);return n&&n.value}}o.length&&r.transformHoist&&r.transformHoist(s,r,t)}(o,void 0,r,!!oG(o)),n.ssr||function(e,t){let{helper:n}=t,{children:r}=e;if(1===r.length){let n=oG(e);if(n&&n.codegenNode){let r=n.codegenNode;13===r.type&&sz(r,t),e.codegenNode=r}else e.codegenNode=r[0]}else r.length>1&&(e.codegenNode=sD(t,n(l5),void 0,e.children,64,void 0,void 0,!0,void 0,!1))}(o,r),o.helpers=new Set([...r.helpers.keys()]),o.components=[...r.components],o.directives=[...r.directives],o.imports=r.imports,o.hoists=r.hoists,o.temps=r.temps,o.cached=r.cached,o.transformed=!0,function(e,t={}){let n=function(e,{mode:t="function",prefixIdentifiers:n="module"===t,sourceMap:r=!1,filename:i="template.vue.html",scopeId:l=null,optimizeImports:s=!1,runtimeGlobalName:o="Vue",runtimeModuleName:a="vue",ssrRuntimeModuleName:c="vue/server-renderer",ssr:u=!1,isTS:h=!1,inSSR:d=!1}){let p={mode:t,prefixIdentifiers:n,sourceMap:r,filename:i,scopeId:l,optimizeImports:s,runtimeGlobalName:o,runtimeModuleName:a,ssrRuntimeModuleName:c,ssr:u,isTS:h,inSSR:d,source:e.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper:e=>`_${s$[e]}`,push(e,t=-2,n){p.code+=e},indent(){f(++p.indentLevel)},deindent(e=!1){e?--p.indentLevel:f(--p.indentLevel)},newline(){f(p.indentLevel)}};function f(e){p.push(` +`+" ".repeat(e),0)}return p}(e,t);t.onContextCreated&&t.onContextCreated(n);let{mode:r,push:i,prefixIdentifiers:l,indent:s,deindent:o,newline:a,ssr:c}=n,u=Array.from(e.helpers),h=u.length>0,d=!l&&"module"!==r;!function(e,t){let{push:n,newline:r,runtimeGlobalName:i}=t,l=Array.from(e.helpers);if(l.length>0&&(n(`const _Vue = ${i} +`,-1),e.hoists.length)){let e=[sl,ss,so,sa,sc].filter(e=>l.includes(e)).map(o6).join(", ");n(`const { ${e} } = _Vue +`,-1)}(function(e,t){if(!e.length)return;t.pure=!0;let{push:n,newline:r}=t;r();for(let i=0;i0)&&a()),e.directives.length&&(o3(e.directives,"directive",n),e.temps>0&&a()),e.temps>0){i("let ");for(let t=0;t0?", ":""}_temp${t}`)}return(e.components.length||e.directives.length||e.temps)&&(i(` +`,0),a()),c||i("return "),e.codegenNode?o5(e.codegenNode,n):i("null"),d&&(o(),i("}")),o(),i("}"),{ast:e,code:n.code,preamble:"",map:n.map?n.map.toJSON():void 0}}(o,s)}(e,T({},aF,t,{nodeTransforms:[aH,...aq,...t.nodeTransforms||[]],directiveTransforms:T({},aW,t.directiveTransforms||{}),transformHoist:null}))}(e,i),s=Function(l)();return s._rc=!0,aK[n]=s}return iM(az),e.BaseTransition=nb,e.BaseTransitionPropsValidators=nm,e.Comment=r9,e.DeprecationTypes=null,e.EffectScope=em,e.ErrorCodes={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER",COMPONENT_UPDATE:15,15:"COMPONENT_UPDATE",APP_UNMOUNT_CLEANUP:16,16:"APP_UNMOUNT_CLEANUP"},e.ErrorTypeStrings=null,e.Fragment=r8,e.KeepAlive={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){let n=iN(),r=n.ctx,i=new Map,l=new Set,s=null,o=n.suspense,{renderer:{p:a,m:c,um:u,o:{createElement:h}}}=r,d=h("div");function p(e){nG(e),u(e,n,o,!0)}function f(e){i.forEach((t,n)=>{let r=iD(nU(t)?t.type.__asyncResolved||{}:t.type);r&&!e(r)&&g(n)})}function g(e){let t=i.get(e);!t||s&&iu(t,s)?s&&nG(s):p(t),i.delete(e),l.delete(e)}r.activate=(e,t,n,r,i)=>{let l=e.component;c(e,t,n,0,o),a(l.vnode,e,t,n,l,o,r,e.slotScopeIds,i),rW(()=>{l.isDeactivated=!1,l.a&&z(l.a);let t=e.props&&e.props.onVnodeMounted;t&&iC(t,l.parent,e)},o)},r.deactivate=e=>{let t=e.component;rZ(t.m),rZ(t.a),c(e,d,null,1,o),rW(()=>{t.da&&z(t.da);let n=e.props&&e.props.onVnodeUnmounted;n&&iC(n,t.parent,e),t.isDeactivated=!0},o)},t7(()=>[e.include,e.exclude],([e,t])=>{e&&f(t=>nW(e,t)),t&&f(e=>!nW(t,e))},{flush:"post",deep:!0});let m=null,y=()=>{null!=m&&(rY(n.subTree.type)?rW(()=>{i.set(m,nX(n.subTree))},n.subTree.suspense):i.set(m,nX(n.subTree)))};return n0(y),n2(y),n6(()=>{i.forEach(e=>{let{subTree:t,suspense:r}=n,i=nX(t);if(e.type===i.type&&e.key===i.key){nG(i);let e=i.component.da;e&&rW(e,r);return}p(e)})}),()=>{if(m=null,!t.default)return s=null;let n=t.default(),r=n[0];if(n.length>1)return s=null,n;if(!ic(r)||!(4&r.shapeFlag)&&!(128&r.shapeFlag))return s=null,r;let o=nX(r);if(o.type===r9)return s=null,o;let a=o.type,c=iD(nU(o)?o.type.__asyncResolved||{}:a),{include:u,exclude:h,max:d}=e;if(u&&(!c||!nW(u,c))||h&&c&&nW(h,c))return o.shapeFlag&=-257,s=o,r;let p=null==o.key?a:o.key,f=i.get(p);return o.el&&(o=iv(o),128&r.shapeFlag&&(r.ssContent=o)),m=p,f?(o.el=f.el,o.component=f.component,o.transition&&nk(o,o.transition),o.shapeFlag|=512,l.delete(p),l.add(p)):(l.add(p),d&&l.size>parseInt(d,10)&&g(l.values().next().value)),o.shapeFlag|=256,s=o,rY(r.type)?r:o}}},e.ReactiveEffect=ey,e.Static=r7,e.Suspense={name:"Suspense",__isSuspense:!0,process(e,t,n,r,i,l,s,o,a,c){if(null==e)!function(e,t,n,r,i,l,s,o,a){let{p:c,o:{createElement:u}}=a,h=u("div"),d=e.suspense=r2(e,i,r,t,h,n,l,s,o,a);c(null,d.pendingBranch=e.ssContent,h,null,r,d,l,s),d.deps>0?(r1(e,"onPending"),r1(e,"onFallback"),c(null,e.ssFallback,t,n,r,null,l,s),r4(d,e.ssFallback)):d.resolve(!1,!0)}(t,n,r,i,l,s,o,a,c);else{if(l&&l.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}!function(e,t,n,r,i,l,s,o,{p:a,um:c,o:{createElement:u}}){let h=t.suspense=e.suspense;h.vnode=t,t.el=e.el;let d=t.ssContent,p=t.ssFallback,{activeBranch:f,pendingBranch:g,isInFallback:m,isHydrating:y}=h;if(g)h.pendingBranch=d,iu(g,d)?(a(g,d,h.hiddenContainer,null,i,h,l,s,o),h.deps<=0?h.resolve():m&&!y&&(a(f,p,n,r,i,null,l,s,o),r4(h,p))):(h.pendingId=r0++,y?(h.isHydrating=!1,h.activeBranch=g):c(g,i,h),h.deps=0,h.effects.length=0,h.hiddenContainer=u("div"),m?(a(null,d,h.hiddenContainer,null,i,h,l,s,o),h.deps<=0?h.resolve():(a(f,p,n,r,i,null,l,s,o),r4(h,p))):f&&iu(f,d)?(a(f,d,n,r,i,h,l,s,o),h.resolve(!0)):(a(null,d,h.hiddenContainer,null,i,h,l,s,o),h.deps<=0&&h.resolve()));else if(f&&iu(f,d))a(f,d,n,r,i,h,l,s,o),r4(h,d);else if(r1(t,"onPending"),h.pendingBranch=d,512&d.shapeFlag?h.pendingId=d.component.suspenseId:h.pendingId=r0++,a(null,d,h.hiddenContainer,null,i,h,l,s,o),h.deps<=0)h.resolve();else{let{timeout:e,pendingId:t}=h;e>0?setTimeout(()=>{h.pendingId===t&&h.fallback(p)},e):0===e&&h.fallback(p)}}(e,t,n,r,i,s,o,a,c)}},hydrate:function(e,t,n,r,i,l,s,o,a){let c=t.suspense=r2(t,r,n,e.parentNode,document.createElement("div"),null,i,l,s,o,!0),u=a(e,c.pendingBranch=t.ssContent,n,c,l,s);return 0===c.deps&&c.resolve(!1,!0),u},normalize:function(e){let{shapeFlag:t,children:n}=e,r=32&t;e.ssContent=r6(r?n.default:n),e.ssFallback=r?r6(n.fallback):ig(r9)}},e.Teleport=na,e.Text=r5,e.TrackOpTypes={GET:"get",HAS:"has",ITERATE:"iterate"},e.Transition=iY,e.TransitionGroup=lR,e.TriggerOpTypes={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},e.VueElement=lT,e.assertNumber=function(e,t){},e.callWithAsyncErrorHandling=tD,e.callWithErrorHandling=tF,e.camelize=B,e.capitalize=q,e.cloneVNode=iv,e.compatUtils=null,e.compile=az,e.computed=iV,e.createApp=l6,e.createBlock=ia,e.createCommentVNode=function(e="",t=!1){return t?(ir(),ia(r9,null,e)):ig(r9,null,e)},e.createElementBlock=function(e,t,n,r,i,l){return io(ip(e,t,n,r,i,l,!0))},e.createElementVNode=ip,e.createHydrationRenderer=rK,e.createPropsRestProxy=function(e,t){let n={};for(let r in e)t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:()=>e[r]});return n},e.createRenderer=function(e){return rz(e)},e.createSSRApp=l3,e.createSlots=function(e,t){for(let n=0;n{let t=r.fn(...e);return t&&(t.key=r.key),t}:r.fn)}return e},e.createStaticVNode=function(e,t){let n=ig(r7,null,e);return n.staticCount=t,n},e.createTextVNode=iy,e.createVNode=ig,e.customRef=tE,e.defineAsyncComponent=function(e){let t;I(e)&&(e={loader:e});let{loader:n,loadingComponent:r,errorComponent:i,delay:l=200,hydrate:s,timeout:o,suspensible:a=!0,onError:c}=e,u=null,h=0,d=()=>{let e;return u||(e=u=n().catch(e=>{if(e=e instanceof Error?e:Error(String(e)),c)return new Promise((t,n)=>{c(e,()=>t((h++,u=null,d())),()=>n(e),h+1)});throw e}).then(n=>e!==u&&u?u:(n&&(n.__esModule||"Module"===n[Symbol.toStringTag])&&(n=n.default),t=n,n)))};return nw({name:"AsyncComponentWrapper",__asyncLoader:d,__asyncHydrate(e,n,r){let i=!1;(n.bu||(n.bu=[])).push(()=>i=!0);let l=()=>{i||r()},o=s?()=>{let t=s(l,t=>(function(e,t){if(nL(e)&&"["===e.data){let n=1,r=e.nextSibling;for(;r;){if(1===r.nodeType){if(!1===t(r))break}else if(nL(r))if("]"===r.data){if(0==--n)break}else"["===r.data&&n++;r=r.nextSibling}}else t(e)})(e,t));t&&(n.bum||(n.bum=[])).push(t)}:l;t?o():d().then(()=>!n.isUnmounted&&o())},get __asyncResolved(){return t},setup(){let e=iw;if(nN(e),t)return()=>nH(t,e);let n=t=>{u=null,tV(t,e,13,!i)};if(a&&e.suspense)return d().then(t=>()=>nH(t,e)).catch(e=>(n(e),()=>i?ig(i,{error:e}):null));let s=tS(!1),c=tS(),h=tS(!!l);return l&&setTimeout(()=>{h.value=!1},l),null!=o&&setTimeout(()=>{if(!s.value&&!c.value){let e=Error(`Async component timed out after ${o}ms.`);n(e),c.value=e}},o),d().then(()=>{s.value=!0,e.parent&&nq(e.parent.vnode)&&e.parent.update()}).catch(e=>{n(e),c.value=e}),()=>s.value&&t?nH(t,e):c.value&&i?ig(i,{error:c.value}):r&&!h.value?nH(r,e):void 0}})},e.defineComponent=nw,e.defineCustomElement=lC,e.defineEmits=function(){return null},e.defineExpose=function(e){},e.defineModel=function(){},e.defineOptions=function(e){},e.defineProps=function(){return null},e.defineSSRCustomElement=(e,t)=>lC(e,t,l3),e.defineSlots=function(){return null},e.devtools=void 0,e.effect=function(e,t){e.effect instanceof ey&&(e=e.effect.fn);let n=new ey(e);t&&T(n,t);try{n.run()}catch(e){throw n.stop(),e}let r=n.run.bind(n);return r.effect=n,r},e.effectScope=function(e){return new em(e)},e.getCurrentInstance=iN,e.getCurrentScope=function(){return l},e.getCurrentWatcher=function(){return g},e.getTransitionRawChildren=nT,e.guardReactiveProps=im,e.h=ij,e.handleError=tV,e.hasInjectionContext=function(){return!!(iN()||rx)},e.hydrate=(...e)=>{l1().hydrate(...e)},e.hydrateOnIdle=(e=1e4)=>t=>{let n=nj(t,{timeout:e});return()=>nB(n)},e.hydrateOnInteraction=(e=[])=>(t,n)=>{R(e)&&(e=[e]);let r=!1,i=e=>{r||(r=!0,l(),t(),e.target.dispatchEvent(new e.constructor(e.type,e)))},l=()=>{n(t=>{for(let n of e)t.removeEventListener(n,i)})};return n(t=>{for(let n of e)t.addEventListener(n,i,{once:!0})}),l},e.hydrateOnMediaQuery=e=>t=>{if(e){let n=matchMedia(e);if(!n.matches)return n.addEventListener("change",t,{once:!0}),()=>n.removeEventListener("change",t);t()}},e.hydrateOnVisible=e=>(t,n)=>{let r=new IntersectionObserver(e=>{for(let n of e)if(n.isIntersecting){r.disconnect(),t();break}},e);return n(e=>{if(e instanceof Element){if(function(e){let{top:t,left:n,bottom:r,right:i}=e.getBoundingClientRect(),{innerHeight:l,innerWidth:s}=window;return(t>0&&t0&&r0&&n0&&ir.disconnect()},e.initCustomFormatter=function(){},e.initDirectivesForSSR=S,e.inject=t8,e.isMemoSame=iB,e.isProxy=tg,e.isReactive=td,e.isReadonly=tp,e.isRef=t_,e.isRuntimeOnly=()=>!h,e.isShallow=tf,e.isVNode=ic,e.markRaw=tv,e.mergeDefaults=function(e,t){let n=rc(e);for(let e in t){if(e.startsWith("__skip"))continue;let r=n[e];r?E(r)||I(r)?r=n[e]={type:r,default:t[e]}:r.default=t[e]:null===r&&(r=n[e]={default:t[e]}),r&&t[`__skip_${e}`]&&(r.skipFactory=!0)}return n},e.mergeModels=function(e,t){return e&&t?E(e)&&E(t)?e.concat(t):T({},rc(e),rc(t)):e||t},e.mergeProps=ix,e.nextTick=tz,e.nodeOps=iz,e.normalizeClass=ei,e.normalizeProps=function(e){if(!e)return null;let{class:t,style:n}=e;return t&&!R(t)&&(e.class=ei(t)),n&&(e.style=Y(n)),e},e.normalizeStyle=Y,e.onActivated=nK,e.onBeforeMount=nY,e.onBeforeUnmount=n6,e.onBeforeUpdate=n1,e.onDeactivated=nz,e.onErrorCaptured=n9,e.onMounted=n0,e.onRenderTracked=n5,e.onRenderTriggered=n8,e.onScopeDispose=function(e,t=!1){l&&l.cleanups.push(e)},e.onServerPrefetch=n4,e.onUnmounted=n3,e.onUpdated=n2,e.onWatcherCleanup=tL,e.openBlock=ir,e.patchProp=lS,e.popScopeId=function(){t1=null},e.provide=t4,e.proxyRefs=tN,e.pushScopeId=function(e){t1=e},e.queuePostFlushCb=tX,e.reactive=ta,e.readonly=tu,e.ref=tS,e.registerRuntimeCompiler=iM,e.render=l2,e.renderList=function(e,t,n,r){let i,l=n&&n[r],s=E(e);if(s||R(e)){let n=s&&td(e),r=!1,o=!1;n&&(r=!tf(e),o=tp(e),e=eU(e)),i=Array(e.length);for(let n=0,s=e.length;nt(e,n,void 0,l&&l[n]));else{let n=Object.keys(e);i=Array(n.length);for(let r=0,s=n.length;r0;return"default"!==t&&(n.name=t),ir(),ia(r8,null,[ig("slot",n,r&&r())],e?-2:64)}let l=e[t];l&&l._c&&(l._d=!1),ir();let s=l&&function e(t){return t.some(t=>!ic(t)||t.type!==r9&&(t.type!==r8||!!e(t.children)))?t:null}(l(n)),o=n.key||s&&s.key,a=ia(r8,{key:(o&&!O(o)?o:`_${t}`)+(!s&&r?"_fb":"")},s||(r?r():[]),s&&1===e._?64:-2);return!i&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),l&&l._c&&(l._d=!0),a},e.resolveComponent=function(e,t){return rt(n7,e,!0,t)||e},e.resolveDirective=function(e){return rt("directives",e)},e.resolveDynamicComponent=function(e){return R(e)?rt(n7,e,!1)||e:e||re},e.resolveFilter=null,e.resolveTransitionHooks=nS,e.setBlockTracking=is,e.setDevtoolsHook=S,e.setTransitionHooks=nk,e.shallowReactive=tc,e.shallowReadonly=function(e){return th(e,!0,e8,tr,to)},e.shallowRef=tx,e.ssrContextKey=t5,e.ssrUtils=null,e.stop=function(e){e.effect.stop()},e.toDisplayString=ep,e.toHandlerKey=W,e.toHandlers=function(e,t){let n={};for(let r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:W(r)]=e[r];return n},e.toRaw=tm,e.toRef=function(e,t,n){if(t_(e))return e;if(I(e))return new tR(e);if(!M(e)||!(arguments.length>1))return tS(e);return new tI(e,t,n)},e.toRefs=function(e){let t=E(e)?Array(e.length):{};for(let n in e)t[n]=new tI(e,n,void 0);return t},e.toValue=function(e){return I(e)?e():tT(e)},e.transformVNodeArgs=function(e){},e.triggerRef=function(e){e.dep&&e.dep.trigger()},e.unref=tT,e.useAttrs=function(){return ra().attrs},e.useCssModule=function(e="$style"){return b},e.useCssVars=function(e){let t=iN();if(!t)return;let n=t.ut=(n=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(e=>ls(e,n))},r=()=>{let r=e(t.proxy);t.ce?ls(t.ce,r):function e(t,n){if(128&t.shapeFlag){let r=t.suspense;t=r.activeBranch,r.pendingBranch&&!r.isHydrating&&r.effects.push(()=>{e(r.activeBranch,n)})}for(;t.component;)t=t.component.subTree;if(1&t.shapeFlag&&t.el)ls(t.el,n);else if(t.type===r8)t.children.forEach(t=>e(t,n));else if(t.type===r7){let{el:e,anchor:r}=t;for(;e&&(ls(e,n),e!==r);)e=e.nextSibling}}(t.subTree,r),n(r)};n1(()=>{tX(r)}),n0(()=>{t7(r,S,{flush:"post"});let e=new MutationObserver(r);e.observe(t.subTree.el.parentNode,{childList:!0}),n3(()=>e.disconnect())})},e.useHost=lw,e.useId=function(){let e=iN();return e?(e.appContext.config.idPrefix||"v")+"-"+e.ids[0]+e.ids[1]++:""},e.useModel=function(e,t,n=b){let r=iN(),i=B(t),l=H(t),s=rC(e,i),o=tE((s,o)=>{let a,c,u=b;return t9(()=>{let t=e[i];K(a,t)&&(a=t,o())}),{get:()=>(s(),n.get?n.get(a):a),set(e){let s=n.set?n.set(e):e;if(!K(s,a)&&!(u!==b&&K(e,u)))return;let h=r.vnode.props;h&&(t in h||i in h||l in h)&&(`onUpdate:${t}`in h||`onUpdate:${i}`in h||`onUpdate:${l}`in h)||(a=e,o()),r.emit(`update:${t}`,s),K(e,s)&&K(e,u)&&!K(s,c)&&o(),u=e,c=s}}});return o[Symbol.iterator]=()=>{let e=0;return{next:()=>e<2?{value:e++?s||b:o,done:!1}:{done:!0}}},o},e.useSSRContext=()=>{},e.useShadowRoot=function(){let e=lw();return e&&e.shadowRoot},e.useSlots=function(){return ra().slots},e.useTemplateRef=function(e){let t=iN(),n=tx(null);return t&&Object.defineProperty(t.refs===b?t.refs={}:t.refs,e,{enumerable:!0,get:()=>n.value,set:e=>n.value=e}),n},e.useTransitionState=nf,e.vModelCheckbox=lU,e.vModelDynamic={created(e,t,n){lG(e,t,n,null,"created")},mounted(e,t,n){lG(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){lG(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){lG(e,t,n,r,"updated")}},e.vModelRadio=lq,e.vModelSelect=lW,e.vModelText=lB,e.vShow={name:"show",beforeMount(e,{value:t},{transition:n}){e[ln]="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):li(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),li(e,!0),r.enter(e)):r.leave(e,()=>{li(e,!1)}):li(e,t))},beforeUnmount(e,{value:t}){li(e,t)}},e.version=iU,e.warn=S,e.watch=function(e,t,n){return t7(e,t,n)},e.watchEffect=function(e,t){return t7(e,null,t)},e.watchPostEffect=function(e,t){return t7(e,null,{flush:"post"})},e.watchSyncEffect=t9,e.withAsyncContext=function(e){let t=iN(),n=iR,r=e();iE(),n&&u(!1);let i=()=>{iA(t),n&&u(!0)},l=()=>{iN()!==t&&t.scope.off(),iE(),n&&u(!1)};return P(r)&&(r=r.catch(e=>{throw i(),Promise.resolve().then(()=>Promise.resolve().then(l)),e})),[r,()=>{i(),Promise.resolve().then(l)}]},e.withCtx=t6,e.withDefaults=function(e,t){return null},e.withDirectives=function(e,t){if(null===t0)return e;let n=iF(t0),r=e.dirs||(e.dirs=[]);for(let e=0;e{let n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=n=>{if(!("key"in n))return;let r=H(n.key);if(t.some(e=>e===r||lZ[e]===r))return e(n)})},e.withMemo=function(e,t,n,r){let i=n[r];if(i&&iB(i,e))return i;let l=t();return l.memo=e.slice(),l.cacheIndex=r,n[r]=l},e.withModifiers=(e,t)=>{if(!e)return e;let n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(n,...r)=>{for(let e=0;et6,e}({}); diff --git a/www/static/lib/wangeditor/css/style.css b/www/static/lib/wangeditor/css/style.css new file mode 100644 index 0000000..6d13c91 --- /dev/null +++ b/www/static/lib/wangeditor/css/style.css @@ -0,0 +1,27 @@ +:root, +:host { + --w-e-textarea-bg-color: #fff; + --w-e-textarea-color: #333; + --w-e-textarea-border-color: #ccc; + --w-e-textarea-slight-border-color: #e8e8e8; + --w-e-textarea-slight-color: #d4d4d4; + --w-e-textarea-slight-bg-color: #f5f2f0; + --w-e-textarea-selected-border-color: #B4D5FF; + --w-e-textarea-handler-bg-color: #4290f7; + --w-e-toolbar-color: #595959; + --w-e-toolbar-bg-color: #fff; + --w-e-toolbar-active-color: #333; + --w-e-toolbar-active-bg-color: #f1f1f1; + --w-e-toolbar-disabled-color: #999; + --w-e-toolbar-border-color: #e8e8e8; + --w-e-modal-button-bg-color: #fafafa; + --w-e-modal-button-border-color: #d9d9d9; +} + +.w-e-text-container *,.w-e-toolbar *{box-sizing:border-box;margin:0;outline:none;padding:0}.w-e-text-container blockquote,.w-e-text-container li,.w-e-text-container p,.w-e-text-container td,.w-e-text-container th,.w-e-toolbar *{line-height:1.5}.w-e-text-container{background-color:var(--w-e-textarea-bg-color);color:var(--w-e-textarea-color);height:100%;position:relative}.w-e-text-container .w-e-scroll{-webkit-overflow-scrolling:touch;height:100%}.w-e-text-container [data-slate-editor]{word-wrap:break-word;border-top:1px solid transparent;min-height:100%;outline:0;padding:0 10px;white-space:pre-wrap}.w-e-text-container [data-slate-editor] p{margin:15px 0}.w-e-text-container [data-slate-editor] h1,.w-e-text-container [data-slate-editor] h2,.w-e-text-container [data-slate-editor] h3,.w-e-text-container [data-slate-editor] h4,.w-e-text-container [data-slate-editor] h5{margin:20px 0}.w-e-text-container [data-slate-editor] img{cursor:default;display:inline!important;max-width:100%;min-height:20px;min-width:20px}.w-e-text-container [data-slate-editor] span{text-indent:0}.w-e-text-container [data-slate-editor] [data-selected=true]{box-shadow:0 0 0 2px var(--w-e-textarea-selected-border-color)}.w-e-text-placeholder{font-style:italic;left:10px;top:17px;width:90%}.w-e-max-length-info,.w-e-text-placeholder{color:var(--w-e-textarea-slight-color);pointer-events:none;position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none}.w-e-max-length-info{bottom:.5em;right:1em}.w-e-bar{background-color:var(--w-e-toolbar-bg-color);color:var(--w-e-toolbar-color);font-size:14px;padding:0 5px}.w-e-bar svg{fill:var(--w-e-toolbar-color);height:14px;width:14px}.w-e-bar-show{display:flex}.w-e-bar-hidden{display:none}.w-e-hover-bar{border:1px solid var(--w-e-toolbar-border-color);border-radius:3px;box-shadow:0 2px 5px #0000001f;position:absolute}.w-e-toolbar{flex-wrap:wrap;position:relative}.w-e-bar-divider{background-color:var(--w-e-toolbar-border-color);display:inline-flex;height:40px;margin:0 5px;width:1px}.w-e-bar-item{display:flex;height:40px;padding:4px;position:relative;text-align:center}.w-e-bar-item,.w-e-bar-item button{align-items:center;justify-content:center}.w-e-bar-item button{background:transparent;border:none;color:var(--w-e-toolbar-color);cursor:pointer;display:inline-flex;height:32px;overflow:hidden;padding:0 8px;white-space:nowrap}.w-e-bar-item button:hover{background-color:var(--w-e-toolbar-active-bg-color);color:var(--w-e-toolbar-active-color)}.w-e-bar-item button .title{margin-left:5px}.w-e-bar-item .active{background-color:var(--w-e-toolbar-active-bg-color);color:var(--w-e-toolbar-active-color)}.w-e-bar-item .disabled{color:var(--w-e-toolbar-disabled-color);cursor:not-allowed}.w-e-bar-item .disabled svg{fill:var(--w-e-toolbar-disabled-color)}.w-e-bar-item .disabled:hover{background-color:var(--w-e-toolbar-bg-color);color:var(--w-e-toolbar-disabled-color)}.w-e-bar-item .disabled:hover svg{fill:var(--w-e-toolbar-disabled-color)}.w-e-menu-tooltip-v5:before{background-color:var(--w-e-toolbar-active-color);border-radius:5px;color:var(--w-e-toolbar-bg-color);content:attr(data-tooltip);font-size:.75em;opacity:0;padding:5px 10px;position:absolute;text-align:center;top:40px;transition:opacity .6s;visibility:hidden;white-space:pre;z-index:1}.w-e-menu-tooltip-v5:after{border:5px solid transparent;border-bottom:5px solid var(--w-e-toolbar-active-color);content:"";opacity:0;position:absolute;top:30px;transition:opacity .6s;visibility:hidden}.w-e-menu-tooltip-v5:hover:after,.w-e-menu-tooltip-v5:hover:before{opacity:1;visibility:visible}.w-e-menu-tooltip-v5.tooltip-right:before{left:100%;top:10px}.w-e-menu-tooltip-v5.tooltip-right:after{border-bottom-color:transparent;border-left-color:transparent;border-right-color:var(--w-e-toolbar-active-color);border-top-color:transparent;left:100%;margin-left:-10px;top:16px}.w-e-bar-item-group .w-e-bar-item-menus-container{background-color:var(--w-e-toolbar-bg-color);border:1px solid var(--w-e-toolbar-border-color);border-radius:3px;box-shadow:0 2px 10px #0000001f;display:none;left:0;margin-top:40px;position:absolute;top:0;z-index:1}.w-e-bar-item-group:hover .w-e-bar-item-menus-container{display:block}.w-e-select-list{background-color:var(--w-e-toolbar-bg-color);border:1px solid var(--w-e-toolbar-border-color);border-radius:3px;box-shadow:0 2px 10px #0000001f;left:0;margin-top:40px;max-height:350px;min-width:100px;overflow-y:auto;position:absolute;top:0;z-index:1}.w-e-select-list ul{line-height:1;list-style:none}.w-e-select-list ul .selected{background-color:var(--w-e-toolbar-active-bg-color)}.w-e-select-list ul li{cursor:pointer;padding:7px 0 7px 25px;position:relative;text-align:left;white-space:nowrap}.w-e-select-list ul li:hover{background-color:var(--w-e-toolbar-active-bg-color)}.w-e-select-list ul li svg{left:0;margin-left:5px;margin-top:-7px;position:absolute;top:50%}.w-e-bar-bottom .w-e-select-list{bottom:0;margin-bottom:40px;margin-top:0;top:inherit}.w-e-drop-panel{background-color:var(--w-e-toolbar-bg-color);border:1px solid var(--w-e-toolbar-border-color);border-radius:3px;box-shadow:0 2px 10px #0000001f;margin-top:40px;min-width:200px;padding:10px;position:absolute;top:0;z-index:1}.w-e-bar-bottom .w-e-drop-panel{bottom:0;margin-bottom:40px;margin-top:0;top:inherit}.w-e-modal{background-color:var(--w-e-toolbar-bg-color);border:1px solid var(--w-e-toolbar-border-color);border-radius:3px;box-shadow:0 2px 10px #0000001f;color:var(--w-e-toolbar-color);font-size:14px;min-height:40px;min-width:100px;padding:20px 15px 0;position:absolute;text-align:left;z-index:1}.w-e-modal .btn-close{cursor:pointer;line-height:1;padding:5px;position:absolute;right:8px;top:7px}.w-e-modal .btn-close svg{fill:var(--w-e-toolbar-color);height:10px;width:10px}.w-e-modal .babel-container{display:block;margin-bottom:15px}.w-e-modal .babel-container span{display:block;margin-bottom:10px}.w-e-modal .button-container{margin-bottom:15px}.w-e-modal button{background-color:var(--w-e-modal-button-bg-color);border:1px solid var(--w-e-modal-button-border-color);border-radius:4px;color:var(--w-e-toolbar-color);cursor:pointer;font-weight:400;height:32px;padding:4.5px 15px;text-align:center;touch-action:manipulation;transition:all .3s cubic-bezier(.645,.045,.355,1);-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap}.w-e-modal input[type=number],.w-e-modal input[type=text],.w-e-modal textarea{font-feature-settings:"tnum";background-color:var(--w-e-toolbar-bg-color);border:1px solid var(--w-e-modal-button-border-color);border-radius:4px;color:var(--w-e-toolbar-color);font-variant:tabular-nums;padding:4.5px 11px;transition:all .3s;width:100%}.w-e-modal textarea{min-height:60px}body .w-e-modal,body .w-e-modal *{box-sizing:border-box}.w-e-progress-bar{background-color:var(--w-e-textarea-handler-bg-color);height:1px;position:absolute;transition:width .3s;width:0}.w-e-full-screen-container{bottom:0!important;display:flex!important;flex-direction:column!important;height:100%!important;left:0!important;margin:0!important;padding:0!important;position:fixed;right:0!important;top:0!important;width:100%!important}.w-e-full-screen-container [data-w-e-textarea=true]{flex:1!important} +.w-e-text-container [data-slate-editor] code{background-color:var(--w-e-textarea-slight-bg-color);border-radius:3px;font-family:monospace;padding:3px}.w-e-panel-content-color{list-style:none;text-align:left;width:230px}.w-e-panel-content-color li{border:1px solid var(--w-e-toolbar-bg-color);border-radius:3px 3px;cursor:pointer;display:inline-block;padding:2px}.w-e-panel-content-color li:hover{border-color:var(--w-e-toolbar-color)}.w-e-panel-content-color li .color-block{border:1px solid var(--w-e-toolbar-border-color);border-radius:3px 3px;height:17px;width:17px}.w-e-panel-content-color .active{border-color:var(--w-e-toolbar-color)}.w-e-panel-content-color .clear{line-height:1.5;margin-bottom:5px;width:100%}.w-e-panel-content-color .clear svg{height:16px;margin-bottom:-4px;width:16px}.w-e-text-container [data-slate-editor] blockquote{background-color:var(--w-e-textarea-slight-bg-color);border-left:8px solid var(--w-e-textarea-selected-border-color);display:block;font-size:100%;line-height:1.5;margin:10px 0;padding:10px}.w-e-panel-content-emotion{font-size:20px;list-style:none;text-align:left;width:300px}.w-e-panel-content-emotion li{border-radius:3px 3px;cursor:pointer;display:inline-block;padding:0 5px}.w-e-panel-content-emotion li:hover{background-color:var(--w-e-textarea-slight-bg-color)}.w-e-textarea-divider{border-radius:3px;margin:20px auto;padding:20px}.w-e-textarea-divider hr{background-color:var(--w-e-textarea-border-color);border:0;display:block;height:1px}.w-e-text-container [data-slate-editor] pre>code{background-color:var(--w-e-textarea-slight-bg-color);border:1px solid var(--w-e-textarea-slight-border-color);border-radius:4px 4px;display:block;font-size:14px;padding:10px;text-indent:0}.w-e-text-container [data-slate-editor] .w-e-image-container{display:inline-block;margin:0 3px}.w-e-text-container [data-slate-editor] .w-e-image-container:hover{box-shadow:0 0 0 2px var(--w-e-textarea-selected-border-color)}.w-e-text-container [data-slate-editor] .w-e-selected-image-container{overflow:hidden;position:relative}.w-e-text-container [data-slate-editor] .w-e-selected-image-container .w-e-image-dragger{background-color:var(--w-e-textarea-handler-bg-color);height:7px;position:absolute;width:7px}.w-e-text-container [data-slate-editor] .w-e-selected-image-container .left-top{cursor:nwse-resize;left:0;top:0}.w-e-text-container [data-slate-editor] .w-e-selected-image-container .right-top{cursor:nesw-resize;right:0;top:0}.w-e-text-container [data-slate-editor] .w-e-selected-image-container .left-bottom{bottom:0;cursor:nesw-resize;left:0}.w-e-text-container [data-slate-editor] .w-e-selected-image-container .right-bottom{bottom:0;cursor:nwse-resize;right:0}.w-e-text-container [data-slate-editor] .w-e-selected-image-container:hover{box-shadow:none}.w-e-text-container [contenteditable=false] .w-e-image-container:hover{box-shadow:none} + +.w-e-text-container [data-slate-editor] .table-container{border:1px dashed var(--w-e-textarea-border-color);border-radius:5px;margin-top:10px;overflow-x:auto;padding:10px;width:100%}.w-e-text-container [data-slate-editor] table{border-collapse:collapse}.w-e-text-container [data-slate-editor] table td,.w-e-text-container [data-slate-editor] table th{border:1px solid var(--w-e-textarea-border-color);line-height:1.5;min-width:30px;padding:3px 5px;text-align:left}.w-e-text-container [data-slate-editor] table th{background-color:var(--w-e-textarea-slight-bg-color);font-weight:700;text-align:center}.w-e-panel-content-table{background-color:var(--w-e-toolbar-bg-color)}.w-e-panel-content-table table{border-collapse:collapse}.w-e-panel-content-table td{border:1px solid var(--w-e-toolbar-border-color);cursor:pointer;height:15px;padding:3px 5px;width:20px}.w-e-panel-content-table td.active{background-color:var(--w-e-toolbar-active-bg-color)} +.w-e-textarea-video-container{background-image:linear-gradient(45deg,#eee 25%,transparent 0,transparent 75%,#eee 0,#eee),linear-gradient(45deg,#eee 25%,#fff 0,#fff 75%,#eee 0,#eee);background-position:0 0,10px 10px;background-size:20px 20px;border:1px dashed var(--w-e-textarea-border-color);border-radius:5px;margin:10px auto 0;padding:10px 0;text-align:center} + +.w-e-text-container [data-slate-editor] pre>code{word-wrap:normal;font-family:Consolas,Monaco,Andale Mono,Ubuntu Mono,monospace;-webkit-hyphens:none;hyphens:none;line-height:1.5;margin:.5em 0;overflow:auto;padding:1em;-moz-tab-size:4;-o-tab-size:4;tab-size:4;text-align:left;text-shadow:0 1px #fff;white-space:pre;word-break:normal;word-spacing:normal}.w-e-text-container [data-slate-editor] pre>code .token.cdata,.w-e-text-container [data-slate-editor] pre>code .token.comment,.w-e-text-container [data-slate-editor] pre>code .token.doctype,.w-e-text-container [data-slate-editor] pre>code .token.prolog{color:#708090}.w-e-text-container [data-slate-editor] pre>code .token.punctuation{color:#999}.w-e-text-container [data-slate-editor] pre>code .token.namespace{opacity:.7}.w-e-text-container [data-slate-editor] pre>code .token.boolean,.w-e-text-container [data-slate-editor] pre>code .token.constant,.w-e-text-container [data-slate-editor] pre>code .token.deleted,.w-e-text-container [data-slate-editor] pre>code .token.number,.w-e-text-container [data-slate-editor] pre>code .token.property,.w-e-text-container [data-slate-editor] pre>code .token.symbol,.w-e-text-container [data-slate-editor] pre>code .token.tag{color:#905}.w-e-text-container [data-slate-editor] pre>code .token.attr-name,.w-e-text-container [data-slate-editor] pre>code .token.builtin,.w-e-text-container [data-slate-editor] pre>code .token.char,.w-e-text-container [data-slate-editor] pre>code .token.inserted,.w-e-text-container [data-slate-editor] pre>code .token.selector,.w-e-text-container [data-slate-editor] pre>code .token.string{color:#690}.w-e-text-container [data-slate-editor] pre>code .language-css .token.string,.w-e-text-container [data-slate-editor] pre>code .style .token.string,.w-e-text-container [data-slate-editor] pre>code .token.entity,.w-e-text-container [data-slate-editor] pre>code .token.operator,.w-e-text-container [data-slate-editor] pre>code .token.url{color:#9a6e3a}.w-e-text-container [data-slate-editor] pre>code .token.atrule,.w-e-text-container [data-slate-editor] pre>code .token.attr-value,.w-e-text-container [data-slate-editor] pre>code .token.keyword{color:#07a}.w-e-text-container [data-slate-editor] pre>code .token.class-name,.w-e-text-container [data-slate-editor] pre>code .token.function{color:#dd4a68}.w-e-text-container [data-slate-editor] pre>code .token.important,.w-e-text-container [data-slate-editor] pre>code .token.regex,.w-e-text-container [data-slate-editor] pre>code .token.variable{color:#e90}.w-e-text-container [data-slate-editor] pre>code .token.bold,.w-e-text-container [data-slate-editor] pre>code .token.important{font-weight:700}.w-e-text-container [data-slate-editor] pre>code .token.italic{font-style:italic}.w-e-text-container [data-slate-editor] pre>code .token.entity{cursor:help} \ No newline at end of file diff --git a/www/static/lib/wangeditor/index.js b/www/static/lib/wangeditor/index.js new file mode 100644 index 0000000..a2233e4 --- /dev/null +++ b/www/static/lib/wangeditor/index.js @@ -0,0 +1,24129 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : + typeof define === 'function' && define.amd ? define(['exports'], factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.wangEditor = {})); +})(this, (function (exports) { 'use strict'; + + /** + * @description browser polyfill + * @author wangfupeng + */ + var _a; + // @ts-nocheck + // 必须是浏览器环境 + if (typeof global === 'undefined') { + // 检查 IE 浏览器 + if ('ActiveXObject' in window) { + var info = '抱歉,wangEditor V5+ 版本开始,不在支持 IE 浏览器'; + info += '\n Sorry, wangEditor V5+ versions do not support IE browser.'; + console.error(info); + } + globalThisPolyfill(); + AggregateErrorPolyfill(); + } + else if (global && ((_a = global.navigator) === null || _a === void 0 ? void 0 : _a.userAgent.match('QQBrowser'))) { + // 兼容 QQ 浏览器 AggregateError 报错 + globalThisPolyfill(); + AggregateErrorPolyfill(); + } + function globalThisPolyfill() { + // 部分浏览器不支持 globalThis + if (typeof globalThis === 'undefined') { + // @ts-ignore + window.globalThis = window; + } + } + function AggregateErrorPolyfill() { + if (typeof AggregateError === 'undefined') { + window.AggregateError = function (errors, msg) { + var err = new Error(msg); + err.errors = errors; + return err; + }; + } + } + + /** + * @description node polyfill + * @author wangfupeng + */ + // @ts-nocheck + // 必须是 node 环境 + if (typeof global === 'object') { + // 用于 nodejs ,避免报错 + var globalProperty = Object.getOwnPropertyDescriptor(global, 'window'); + // global.window 为空则直接写入 + // 部分框架下已经定义了global.window且是不可写属性 + if (!global.window || globalProperty.set) { + global.window = global; + global.requestAnimationFrame = function () { }; + global.navigator = { + userAgent: '', + }; + global.location = { + hostname: '0.0.0.0', + port: 0, + protocol: 'http:', + }; + global.btoa = function () { }; + global.crypto = { + getRandomValues: function (buffer) { + return nodeCrypto.randomFillSync(buffer); + }, + }; + } + if (global.document != null) { + // SSR 环境下可能会报错 (issue 4409) + if (global.document.getElementsByTagName == null) { + global.document.getElementsByTagName = function () { return []; }; + } + } + } + + var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {}; + + function getDefaultExportFromCjs (x) { + return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x; + } + + function createCommonjsModule$1(fn) { + var module = { exports: {} }; + return fn(module, module.exports), module.exports; + } + + /*! + * is-plain-object + * + * Copyright (c) 2014-2017, Jon Schlinkert. + * Released under the MIT License. + */ + + function isObject$4(o) { + return Object.prototype.toString.call(o) === '[object Object]'; + } + + function isPlainObject$2(o) { + var ctor,prot; + + if (isObject$4(o) === false) return false; + + // If has modified constructor + ctor = o.constructor; + if (ctor === undefined) return true; + + // If has modified prototype + prot = ctor.prototype; + if (isObject$4(prot) === false) return false; + + // If constructor does not have an Object-specific method + if (prot.hasOwnProperty('isPrototypeOf') === false) { + return false; + } + + // Most likely a plain Object + return true; + } + + var isPlainObject_2 = isPlainObject$2; + + var isPlainObject_1 = /*#__PURE__*/Object.defineProperty({ + isPlainObject: isPlainObject_2 + }, '__esModule', {value: true}); + + var _ref; + + // Should be no imports here! + // Some things that should be evaluated before all else... + // We only want to know if non-polyfilled symbols are available + var hasSymbol = typeof Symbol !== "undefined" && typeof + /*#__PURE__*/ + Symbol("x") === "symbol"; + var hasMap = typeof Map !== "undefined"; + var hasSet = typeof Set !== "undefined"; + var hasProxies = typeof Proxy !== "undefined" && typeof Proxy.revocable !== "undefined" && typeof Reflect !== "undefined"; + /** + * The sentinel value returned by producers to replace the draft with undefined. + */ + + var NOTHING = hasSymbol ? + /*#__PURE__*/ + Symbol.for("immer-nothing") : (_ref = {}, _ref["immer-nothing"] = true, _ref); + /** + * To let Immer treat your class instances as plain immutable objects + * (albeit with a custom prototype), you must define either an instance property + * or a static property on each of your custom classes. + * + * Otherwise, your class instance will never be drafted, which means it won't be + * safe to mutate in a produce callback. + */ + + var DRAFTABLE = hasSymbol ? + /*#__PURE__*/ + Symbol.for("immer-draftable") : "__$immer_draftable"; + var DRAFT_STATE = hasSymbol ? + /*#__PURE__*/ + Symbol.for("immer-state") : "__$immer_state"; // Even a polyfilled Symbol might provide Symbol.iterator + + var iteratorSymbol$1 = typeof Symbol != "undefined" && Symbol.iterator || "@@iterator"; + + var errors = { + 0: "Illegal state", + 1: "Immer drafts cannot have computed properties", + 2: "This object has been frozen and should not be mutated", + 3: function _(data) { + return "Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? " + data; + }, + 4: "An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.", + 5: "Immer forbids circular references", + 6: "The first or second argument to `produce` must be a function", + 7: "The third argument to `produce` must be a function or undefined", + 8: "First argument to `createDraft` must be a plain object, an array, or an immerable object", + 9: "First argument to `finishDraft` must be a draft returned by `createDraft`", + 10: "The given draft is already finalized", + 11: "Object.defineProperty() cannot be used on an Immer draft", + 12: "Object.setPrototypeOf() cannot be used on an Immer draft", + 13: "Immer only supports deleting array indices", + 14: "Immer only supports setting array indices and the 'length' property", + 15: function _(path) { + return "Cannot apply patch, path doesn't resolve: " + path; + }, + 16: 'Sets cannot have "replace" patches.', + 17: function _(op) { + return "Unsupported patch operation: " + op; + }, + 18: function _(plugin) { + return "The plugin for '" + plugin + "' has not been loaded into Immer. To enable the plugin, import and call `enable" + plugin + "()` when initializing your application."; + }, + 20: "Cannot use proxies if Proxy, Proxy.revocable or Reflect are not available", + 21: function _(thing) { + return "produce can only be called on things that are draftable: plain objects, arrays, Map, Set or classes that are marked with '[immerable]: true'. Got '" + thing + "'"; + }, + 22: function _(thing) { + return "'current' expects a draft, got: " + thing; + }, + 23: function _(thing) { + return "'original' expects a draft, got: " + thing; + }, + 24: "Patching reserved attributes like __proto__, prototype and constructor is not allowed" + }; + function die(error) { + for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { + args[_key - 1] = arguments[_key]; + } + + { + var e = errors[error]; + var msg = !e ? "unknown error nr: " + error : typeof e === "function" ? e.apply(null, args) : e; + throw new Error("[Immer] " + msg); + } + } + + /** Returns true if the given value is an Immer draft */ + + + + function isDraft(value) { + return !!value && !!value[DRAFT_STATE]; + } + /** Returns true if the given value can be drafted by Immer */ + + + + function isDraftable(value) { + if (!value) return false; + return isPlainObject$1(value) || Array.isArray(value) || !!value[DRAFTABLE] || !!value.constructor[DRAFTABLE] || isMap(value) || isSet(value); + } + var objectCtorString = + /*#__PURE__*/ + Object.prototype.constructor.toString(); + + + function isPlainObject$1(value) { + if (!value || typeof value !== "object") return false; + var proto = Object.getPrototypeOf(value); + + if (proto === null) { + return true; + } + + var Ctor = Object.hasOwnProperty.call(proto, "constructor") && proto.constructor; + if (Ctor === Object) return true; + return typeof Ctor == "function" && Function.toString.call(Ctor) === objectCtorString; + } + function original(value) { + if (!isDraft(value)) die(23, value); + return value[DRAFT_STATE].base_; + } + + + var ownKeys$a = typeof Reflect !== "undefined" && Reflect.ownKeys ? Reflect.ownKeys : typeof Object.getOwnPropertySymbols !== "undefined" ? function (obj) { + return Object.getOwnPropertyNames(obj).concat(Object.getOwnPropertySymbols(obj)); + } : + /* istanbul ignore next */ + Object.getOwnPropertyNames; + var getOwnPropertyDescriptors = Object.getOwnPropertyDescriptors || function getOwnPropertyDescriptors(target) { + // Polyfill needed for Hermes and IE, see https://github.com/facebook/hermes/issues/274 + var res = {}; + ownKeys$a(target).forEach(function (key) { + res[key] = Object.getOwnPropertyDescriptor(target, key); + }); + return res; + }; + function each$1(obj, iter, enumerableOnly) { + if (enumerableOnly === void 0) { + enumerableOnly = false; + } + + if (getArchtype(obj) === 0 + /* Object */ + ) { + (enumerableOnly ? Object.keys : ownKeys$a)(obj).forEach(function (key) { + if (!enumerableOnly || typeof key !== "symbol") iter(key, obj[key], obj); + }); + } else { + obj.forEach(function (entry, index) { + return iter(index, entry, obj); + }); + } + } + + + function getArchtype(thing) { + /* istanbul ignore next */ + var state = thing[DRAFT_STATE]; + return state ? state.type_ > 3 ? state.type_ - 4 // cause Object and Array map back from 4 and 5 + : state.type_ // others are the same + : Array.isArray(thing) ? 1 + /* Array */ + : isMap(thing) ? 2 + /* Map */ + : isSet(thing) ? 3 + /* Set */ + : 0 + /* Object */ + ; + } + + + function has(thing, prop) { + return getArchtype(thing) === 2 + /* Map */ + ? thing.has(prop) : Object.prototype.hasOwnProperty.call(thing, prop); + } + + + function get(thing, prop) { + // @ts-ignore + return getArchtype(thing) === 2 + /* Map */ + ? thing.get(prop) : thing[prop]; + } + + + function set(thing, propOrOldValue, value) { + var t = getArchtype(thing); + if (t === 2 + /* Map */ + ) thing.set(propOrOldValue, value);else if (t === 3 + /* Set */ + ) { + thing.delete(propOrOldValue); + thing.add(value); + } else thing[propOrOldValue] = value; + } + + + function is$1(x, y) { + // From: https://github.com/facebook/fbjs/blob/c69904a511b900266935168223063dd8772dfc40/packages/fbjs/src/core/shallowEqual.js + if (x === y) { + return x !== 0 || 1 / x === 1 / y; + } else { + return x !== x && y !== y; + } + } + + + function isMap(target) { + return hasMap && target instanceof Map; + } + + + function isSet(target) { + return hasSet && target instanceof Set; + } + + + function latest(state) { + return state.copy_ || state.base_; + } + + + function shallowCopy(base) { + if (Array.isArray(base)) return Array.prototype.slice.call(base); + var descriptors = getOwnPropertyDescriptors(base); + delete descriptors[DRAFT_STATE]; + var keys = ownKeys$a(descriptors); + + for (var i = 0; i < keys.length; i++) { + var key = keys[i]; + var desc = descriptors[key]; + + if (desc.writable === false) { + desc.writable = true; + desc.configurable = true; + } // like object.assign, we will read any _own_, get/set accessors. This helps in dealing + // with libraries that trap values, like mobx or vue + // unlike object.assign, non-enumerables will be copied as well + + + if (desc.get || desc.set) descriptors[key] = { + configurable: true, + writable: true, + enumerable: desc.enumerable, + value: base[key] + }; + } + + return Object.create(Object.getPrototypeOf(base), descriptors); + } + function freeze(obj, deep) { + if (deep === void 0) { + deep = false; + } + + if (isFrozen(obj) || isDraft(obj) || !isDraftable(obj)) return obj; + + if (getArchtype(obj) > 1 + /* Map or Set */ + ) { + obj.set = obj.add = obj.clear = obj.delete = dontMutateFrozenCollections; + } + + Object.freeze(obj); + if (deep) each$1(obj, function (key, value) { + return freeze(value, true); + }, true); + return obj; + } + + function dontMutateFrozenCollections() { + die(2); + } + + function isFrozen(obj) { + if (obj == null || typeof obj !== "object") return true; // See #600, IE dies on non-objects in Object.isFrozen + + return Object.isFrozen(obj); + } + + /** Plugin utilities */ + + var plugins = {}; + function getPlugin(pluginKey) { + var plugin = plugins[pluginKey]; + + if (!plugin) { + die(18, pluginKey); + } // @ts-ignore + + + return plugin; + } + function loadPlugin(pluginKey, implementation) { + if (!plugins[pluginKey]) plugins[pluginKey] = implementation; + } + + var currentScope; + function getCurrentScope() { + if ( !currentScope) die(0); + return currentScope; + } + + function createScope(parent_, immer_) { + return { + drafts_: [], + parent_: parent_, + immer_: immer_, + // Whenever the modified draft contains a draft from another scope, we + // need to prevent auto-freezing so the unowned draft can be finalized. + canAutoFreeze_: true, + unfinalizedDrafts_: 0 + }; + } + + function usePatchesInScope(scope, patchListener) { + if (patchListener) { + getPlugin("Patches"); // assert we have the plugin + + scope.patches_ = []; + scope.inversePatches_ = []; + scope.patchListener_ = patchListener; + } + } + function revokeScope(scope) { + leaveScope(scope); + scope.drafts_.forEach(revokeDraft); // @ts-ignore + + scope.drafts_ = null; + } + function leaveScope(scope) { + if (scope === currentScope) { + currentScope = scope.parent_; + } + } + function enterScope(immer) { + return currentScope = createScope(currentScope, immer); + } + + function revokeDraft(draft) { + var state = draft[DRAFT_STATE]; + if (state.type_ === 0 + /* ProxyObject */ + || state.type_ === 1 + /* ProxyArray */ + ) state.revoke_();else state.revoked_ = true; + } + + function processResult(result, scope) { + scope.unfinalizedDrafts_ = scope.drafts_.length; + var baseDraft = scope.drafts_[0]; + var isReplaced = result !== undefined && result !== baseDraft; + if (!scope.immer_.useProxies_) getPlugin("ES5").willFinalizeES5_(scope, result, isReplaced); + + if (isReplaced) { + if (baseDraft[DRAFT_STATE].modified_) { + revokeScope(scope); + die(4); + } + + if (isDraftable(result)) { + // Finalize the result in case it contains (or is) a subset of the draft. + result = finalize(scope, result); + if (!scope.parent_) maybeFreeze(scope, result); + } + + if (scope.patches_) { + getPlugin("Patches").generateReplacementPatches_(baseDraft[DRAFT_STATE], result, scope.patches_, scope.inversePatches_); + } + } else { + // Finalize the base draft. + result = finalize(scope, baseDraft, []); + } + + revokeScope(scope); + + if (scope.patches_) { + scope.patchListener_(scope.patches_, scope.inversePatches_); + } + + return result !== NOTHING ? result : undefined; + } + + function finalize(rootScope, value, path) { + // Don't recurse in tho recursive data structures + if (isFrozen(value)) return value; + var state = value[DRAFT_STATE]; // A plain object, might need freezing, might contain drafts + + if (!state) { + each$1(value, function (key, childValue) { + return finalizeProperty(rootScope, state, value, key, childValue, path); + }, true // See #590, don't recurse into non-enumerable of non drafted objects + ); + return value; + } // Never finalize drafts owned by another scope. + + + if (state.scope_ !== rootScope) return value; // Unmodified draft, return the (frozen) original + + if (!state.modified_) { + maybeFreeze(rootScope, state.base_, true); + return state.base_; + } // Not finalized yet, let's do that now + + + if (!state.finalized_) { + state.finalized_ = true; + state.scope_.unfinalizedDrafts_--; + var result = // For ES5, create a good copy from the draft first, with added keys and without deleted keys. + state.type_ === 4 + /* ES5Object */ + || state.type_ === 5 + /* ES5Array */ + ? state.copy_ = shallowCopy(state.draft_) : state.copy_; // Finalize all children of the copy + // For sets we clone before iterating, otherwise we can get in endless loop due to modifying during iteration, see #628 + // Although the original test case doesn't seem valid anyway, so if this in the way we can turn the next line + // back to each(result, ....) + + each$1(state.type_ === 3 + /* Set */ + ? new Set(result) : result, function (key, childValue) { + return finalizeProperty(rootScope, state, result, key, childValue, path); + }); // everything inside is frozen, we can freeze here + + maybeFreeze(rootScope, result, false); // first time finalizing, let's create those patches + + if (path && rootScope.patches_) { + getPlugin("Patches").generatePatches_(state, path, rootScope.patches_, rootScope.inversePatches_); + } + } + + return state.copy_; + } + + function finalizeProperty(rootScope, parentState, targetObject, prop, childValue, rootPath) { + if ( childValue === targetObject) die(5); + + if (isDraft(childValue)) { + var path = rootPath && parentState && parentState.type_ !== 3 + /* Set */ + && // Set objects are atomic since they have no keys. + !has(parentState.assigned_, prop) // Skip deep patches for assigned keys. + ? rootPath.concat(prop) : undefined; // Drafts owned by `scope` are finalized here. + + var res = finalize(rootScope, childValue, path); + set(targetObject, prop, res); // Drafts from another scope must prevented to be frozen + // if we got a draft back from finalize, we're in a nested produce and shouldn't freeze + + if (isDraft(res)) { + rootScope.canAutoFreeze_ = false; + } else return; + } // Search new objects for unfinalized drafts. Frozen objects should never contain drafts. + + + if (isDraftable(childValue) && !isFrozen(childValue)) { + if (!rootScope.immer_.autoFreeze_ && rootScope.unfinalizedDrafts_ < 1) { + // optimization: if an object is not a draft, and we don't have to + // deepfreeze everything, and we are sure that no drafts are left in the remaining object + // cause we saw and finalized all drafts already; we can stop visiting the rest of the tree. + // This benefits especially adding large data tree's without further processing. + // See add-data.js perf test + return; + } + + finalize(rootScope, childValue); // immer deep freezes plain objects, so if there is no parent state, we freeze as well + + if (!parentState || !parentState.scope_.parent_) maybeFreeze(rootScope, childValue); + } + } + + function maybeFreeze(scope, value, deep) { + if (deep === void 0) { + deep = false; + } + + if (scope.immer_.autoFreeze_ && scope.canAutoFreeze_) { + freeze(value, deep); + } + } + + /** + * Returns a new draft of the `base` object. + * + * The second argument is the parent draft-state (used internally). + */ + + function createProxyProxy(base, parent) { + var isArray = Array.isArray(base); + var state = { + type_: isArray ? 1 + /* ProxyArray */ + : 0 + /* ProxyObject */ + , + // Track which produce call this is associated with. + scope_: parent ? parent.scope_ : getCurrentScope(), + // True for both shallow and deep changes. + modified_: false, + // Used during finalization. + finalized_: false, + // Track which properties have been assigned (true) or deleted (false). + assigned_: {}, + // The parent draft state. + parent_: parent, + // The base state. + base_: base, + // The base proxy. + draft_: null, + // The base copy with any updated values. + copy_: null, + // Called by the `produce` function. + revoke_: null, + isManual_: false + }; // the traps must target something, a bit like the 'real' base. + // but also, we need to be able to determine from the target what the relevant state is + // (to avoid creating traps per instance to capture the state in closure, + // and to avoid creating weird hidden properties as well) + // So the trick is to use 'state' as the actual 'target'! (and make sure we intercept everything) + // Note that in the case of an array, we put the state in an array to have better Reflect defaults ootb + + var target = state; + var traps = objectTraps; + + if (isArray) { + target = [state]; + traps = arrayTraps; + } + + var _Proxy$revocable = Proxy.revocable(target, traps), + revoke = _Proxy$revocable.revoke, + proxy = _Proxy$revocable.proxy; + + state.draft_ = proxy; + state.revoke_ = revoke; + return proxy; + } + /** + * Object drafts + */ + + var objectTraps = { + get: function get(state, prop) { + if (prop === DRAFT_STATE) return state; + var source = latest(state); + + if (!has(source, prop)) { + // non-existing or non-own property... + return readPropFromProto(state, source, prop); + } + + var value = source[prop]; + + if (state.finalized_ || !isDraftable(value)) { + return value; + } // Check for existing draft in modified state. + // Assigned values are never drafted. This catches any drafts we created, too. + + + if (value === peek(state.base_, prop)) { + prepareCopy(state); + return state.copy_[prop] = createProxy(state.scope_.immer_, value, state); + } + + return value; + }, + has: function has(state, prop) { + return prop in latest(state); + }, + ownKeys: function ownKeys(state) { + return Reflect.ownKeys(latest(state)); + }, + set: function set(state, prop + /* strictly not, but helps TS */ + , value) { + var desc = getDescriptorFromProto(latest(state), prop); + + if (desc === null || desc === void 0 ? void 0 : desc.set) { + // special case: if this write is captured by a setter, we have + // to trigger it with the correct context + desc.set.call(state.draft_, value); + return true; + } + + if (!state.modified_) { + // the last check is because we need to be able to distinguish setting a non-existing to undefined (which is a change) + // from setting an existing property with value undefined to undefined (which is not a change) + var current = peek(latest(state), prop); // special case, if we assigning the original value to a draft, we can ignore the assignment + + var currentState = current === null || current === void 0 ? void 0 : current[DRAFT_STATE]; + + if (currentState && currentState.base_ === value) { + state.copy_[prop] = value; + state.assigned_[prop] = false; + return true; + } + + if (is$1(value, current) && (value !== undefined || has(state.base_, prop))) return true; + prepareCopy(state); + markChanged(state); + } + + if (state.copy_[prop] === value && // special case: NaN + typeof value !== "number" && ( // special case: handle new props with value 'undefined' + value !== undefined || prop in state.copy_)) return true; // @ts-ignore + + state.copy_[prop] = value; + state.assigned_[prop] = true; + return true; + }, + deleteProperty: function deleteProperty(state, prop) { + // The `undefined` check is a fast path for pre-existing keys. + if (peek(state.base_, prop) !== undefined || prop in state.base_) { + state.assigned_[prop] = false; + prepareCopy(state); + markChanged(state); + } else { + // if an originally not assigned property was deleted + delete state.assigned_[prop]; + } // @ts-ignore + + + if (state.copy_) delete state.copy_[prop]; + return true; + }, + // Note: We never coerce `desc.value` into an Immer draft, because we can't make + // the same guarantee in ES5 mode. + getOwnPropertyDescriptor: function getOwnPropertyDescriptor(state, prop) { + var owner = latest(state); + var desc = Reflect.getOwnPropertyDescriptor(owner, prop); + if (!desc) return desc; + return { + writable: true, + configurable: state.type_ !== 1 + /* ProxyArray */ + || prop !== "length", + enumerable: desc.enumerable, + value: owner[prop] + }; + }, + defineProperty: function defineProperty() { + die(11); + }, + getPrototypeOf: function getPrototypeOf(state) { + return Object.getPrototypeOf(state.base_); + }, + setPrototypeOf: function setPrototypeOf() { + die(12); + } + }; + /** + * Array drafts + */ + + var arrayTraps = {}; + each$1(objectTraps, function (key, fn) { + // @ts-ignore + arrayTraps[key] = function () { + arguments[0] = arguments[0][0]; + return fn.apply(this, arguments); + }; + }); + + arrayTraps.deleteProperty = function (state, prop) { + if ( isNaN(parseInt(prop))) die(13); + return objectTraps.deleteProperty.call(this, state[0], prop); + }; + + arrayTraps.set = function (state, prop, value) { + if ( prop !== "length" && isNaN(parseInt(prop))) die(14); + return objectTraps.set.call(this, state[0], prop, value, state[0]); + }; // Access a property without creating an Immer draft. + + + function peek(draft, prop) { + var state = draft[DRAFT_STATE]; + var source = state ? latest(state) : draft; + return source[prop]; + } + + function readPropFromProto(state, source, prop) { + var _desc$get; + + var desc = getDescriptorFromProto(source, prop); + return desc ? "value" in desc ? desc.value : // This is a very special case, if the prop is a getter defined by the + // prototype, we should invoke it with the draft as context! + (_desc$get = desc.get) === null || _desc$get === void 0 ? void 0 : _desc$get.call(state.draft_) : undefined; + } + + function getDescriptorFromProto(source, prop) { + // 'in' checks proto! + if (!(prop in source)) return undefined; + var proto = Object.getPrototypeOf(source); + + while (proto) { + var desc = Object.getOwnPropertyDescriptor(proto, prop); + if (desc) return desc; + proto = Object.getPrototypeOf(proto); + } + + return undefined; + } + + function markChanged(state) { + if (!state.modified_) { + state.modified_ = true; + + if (state.parent_) { + markChanged(state.parent_); + } + } + } + function prepareCopy(state) { + if (!state.copy_) { + state.copy_ = shallowCopy(state.base_); + } + } + + var Immer = + /*#__PURE__*/ + function () { + function Immer(config) { + var _this = this; + + this.useProxies_ = hasProxies; + this.autoFreeze_ = true; + /** + * The `produce` function takes a value and a "recipe function" (whose + * return value often depends on the base state). The recipe function is + * free to mutate its first argument however it wants. All mutations are + * only ever applied to a __copy__ of the base state. + * + * Pass only a function to create a "curried producer" which relieves you + * from passing the recipe function every time. + * + * Only plain objects and arrays are made mutable. All other objects are + * considered uncopyable. + * + * Note: This function is __bound__ to its `Immer` instance. + * + * @param {any} base - the initial state + * @param {Function} producer - function that receives a proxy of the base state as first argument and which can be freely modified + * @param {Function} patchListener - optional function that will be called with all the patches produced here + * @returns {any} a new state, or the initial state if nothing was modified + */ + + this.produce = function (base, recipe, patchListener) { + // curried invocation + if (typeof base === "function" && typeof recipe !== "function") { + var defaultBase = recipe; + recipe = base; + var self = _this; + return function curriedProduce(base) { + var _this2 = this; + + if (base === void 0) { + base = defaultBase; + } + + for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { + args[_key - 1] = arguments[_key]; + } + + return self.produce(base, function (draft) { + var _recipe; + + return (_recipe = recipe).call.apply(_recipe, [_this2, draft].concat(args)); + }); // prettier-ignore + }; + } + + if (typeof recipe !== "function") die(6); + if (patchListener !== undefined && typeof patchListener !== "function") die(7); + var result; // Only plain objects, arrays, and "immerable classes" are drafted. + + if (isDraftable(base)) { + var scope = enterScope(_this); + var proxy = createProxy(_this, base, undefined); + var hasError = true; + + try { + result = recipe(proxy); + hasError = false; + } finally { + // finally instead of catch + rethrow better preserves original stack + if (hasError) revokeScope(scope);else leaveScope(scope); + } + + if (typeof Promise !== "undefined" && result instanceof Promise) { + return result.then(function (result) { + usePatchesInScope(scope, patchListener); + return processResult(result, scope); + }, function (error) { + revokeScope(scope); + throw error; + }); + } + + usePatchesInScope(scope, patchListener); + return processResult(result, scope); + } else if (!base || typeof base !== "object") { + result = recipe(base); + if (result === NOTHING) return undefined; + if (result === undefined) result = base; + if (_this.autoFreeze_) freeze(result, true); + return result; + } else die(21, base); + }; + + this.produceWithPatches = function (arg1, arg2, arg3) { + if (typeof arg1 === "function") { + return function (state) { + for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) { + args[_key2 - 1] = arguments[_key2]; + } + + return _this.produceWithPatches(state, function (draft) { + return arg1.apply(void 0, [draft].concat(args)); + }); + }; + } + + var patches, inversePatches; + + var nextState = _this.produce(arg1, arg2, function (p, ip) { + patches = p; + inversePatches = ip; + }); + + return [nextState, patches, inversePatches]; + }; + + if (typeof (config === null || config === void 0 ? void 0 : config.useProxies) === "boolean") this.setUseProxies(config.useProxies); + if (typeof (config === null || config === void 0 ? void 0 : config.autoFreeze) === "boolean") this.setAutoFreeze(config.autoFreeze); + } + + var _proto = Immer.prototype; + + _proto.createDraft = function createDraft(base) { + if (!isDraftable(base)) die(8); + if (isDraft(base)) base = current(base); + var scope = enterScope(this); + var proxy = createProxy(this, base, undefined); + proxy[DRAFT_STATE].isManual_ = true; + leaveScope(scope); + return proxy; + }; + + _proto.finishDraft = function finishDraft(draft, patchListener) { + var state = draft && draft[DRAFT_STATE]; + + { + if (!state || !state.isManual_) die(9); + if (state.finalized_) die(10); + } + + var scope = state.scope_; + usePatchesInScope(scope, patchListener); + return processResult(undefined, scope); + } + /** + * Pass true to automatically freeze all copies created by Immer. + * + * By default, auto-freezing is enabled. + */ + ; + + _proto.setAutoFreeze = function setAutoFreeze(value) { + this.autoFreeze_ = value; + } + /** + * Pass true to use the ES2015 `Proxy` class when creating drafts, which is + * always faster than using ES5 proxies. + * + * By default, feature detection is used, so calling this is rarely necessary. + */ + ; + + _proto.setUseProxies = function setUseProxies(value) { + if (value && !hasProxies) { + die(20); + } + + this.useProxies_ = value; + }; + + _proto.applyPatches = function applyPatches(base, patches) { + // If a patch replaces the entire state, take that replacement as base + // before applying patches + var i; + + for (i = patches.length - 1; i >= 0; i--) { + var patch = patches[i]; + + if (patch.path.length === 0 && patch.op === "replace") { + base = patch.value; + break; + } + } // If there was a patch that replaced the entire state, start from the + // patch after that. + + + if (i > -1) { + patches = patches.slice(i + 1); + } + + var applyPatchesImpl = getPlugin("Patches").applyPatches_; + + if (isDraft(base)) { + // N.B: never hits if some patch a replacement, patches are never drafts + return applyPatchesImpl(base, patches); + } // Otherwise, produce a copy of the base state. + + + return this.produce(base, function (draft) { + return applyPatchesImpl(draft, patches); + }); + }; + + return Immer; + }(); + function createProxy(immer, value, parent) { + // precondition: createProxy should be guarded by isDraftable, so we know we can safely draft + var draft = isMap(value) ? getPlugin("MapSet").proxyMap_(value, parent) : isSet(value) ? getPlugin("MapSet").proxySet_(value, parent) : immer.useProxies_ ? createProxyProxy(value, parent) : getPlugin("ES5").createES5Proxy_(value, parent); + var scope = parent ? parent.scope_ : getCurrentScope(); + scope.drafts_.push(draft); + return draft; + } + + function current(value) { + if (!isDraft(value)) die(22, value); + return currentImpl(value); + } + + function currentImpl(value) { + if (!isDraftable(value)) return value; + var state = value[DRAFT_STATE]; + var copy; + var archType = getArchtype(value); + + if (state) { + if (!state.modified_ && (state.type_ < 4 || !getPlugin("ES5").hasChanges_(state))) return state.base_; // Optimization: avoid generating new drafts during copying + + state.finalized_ = true; + copy = copyHelper(value, archType); + state.finalized_ = false; + } else { + copy = copyHelper(value, archType); + } + + each$1(copy, function (key, childValue) { + if (state && get(state.base_, key) === childValue) return; // no need to copy or search in something that didn't change + + set(copy, key, currentImpl(childValue)); + }); // In the future, we might consider freezing here, based on the current settings + + return archType === 3 + /* Set */ + ? new Set(copy) : copy; + } + + function copyHelper(value, archType) { + // creates a shallow copy, even if it is a map or set + switch (archType) { + case 2 + /* Map */ + : + return new Map(value); + + case 3 + /* Set */ + : + // Set will be cloned as array temporarily, so that we can replace individual items + return Array.from(value); + } + + return shallowCopy(value); + } + + function enableES5() { + function willFinalizeES5_(scope, result, isReplaced) { + if (!isReplaced) { + if (scope.patches_) { + markChangesRecursively(scope.drafts_[0]); + } // This is faster when we don't care about which attributes changed. + + + markChangesSweep(scope.drafts_); + } // When a child draft is returned, look for changes. + else if (isDraft(result) && result[DRAFT_STATE].scope_ === scope) { + markChangesSweep(scope.drafts_); + } + } + + function createES5Draft(isArray, base) { + if (isArray) { + var draft = new Array(base.length); + + for (var i = 0; i < base.length; i++) { + Object.defineProperty(draft, "" + i, proxyProperty(i, true)); + } + + return draft; + } else { + var _descriptors = getOwnPropertyDescriptors(base); + + delete _descriptors[DRAFT_STATE]; + var keys = ownKeys$a(_descriptors); + + for (var _i = 0; _i < keys.length; _i++) { + var key = keys[_i]; + _descriptors[key] = proxyProperty(key, isArray || !!_descriptors[key].enumerable); + } + + return Object.create(Object.getPrototypeOf(base), _descriptors); + } + } + + function createES5Proxy_(base, parent) { + var isArray = Array.isArray(base); + var draft = createES5Draft(isArray, base); + var state = { + type_: isArray ? 5 + /* ES5Array */ + : 4 + /* ES5Object */ + , + scope_: parent ? parent.scope_ : getCurrentScope(), + modified_: false, + finalized_: false, + assigned_: {}, + parent_: parent, + // base is the object we are drafting + base_: base, + // draft is the draft object itself, that traps all reads and reads from either the base (if unmodified) or copy (if modified) + draft_: draft, + copy_: null, + revoked_: false, + isManual_: false + }; + Object.defineProperty(draft, DRAFT_STATE, { + value: state, + // enumerable: false <- the default + writable: true + }); + return draft; + } // property descriptors are recycled to make sure we don't create a get and set closure per property, + // but share them all instead + + + var descriptors = {}; + + function proxyProperty(prop, enumerable) { + var desc = descriptors[prop]; + + if (desc) { + desc.enumerable = enumerable; + } else { + descriptors[prop] = desc = { + configurable: true, + enumerable: enumerable, + get: function get() { + var state = this[DRAFT_STATE]; + assertUnrevoked(state); // @ts-ignore + + return objectTraps.get(state, prop); + }, + set: function set(value) { + var state = this[DRAFT_STATE]; + assertUnrevoked(state); // @ts-ignore + + objectTraps.set(state, prop, value); + } + }; + } + + return desc; + } // This looks expensive, but only proxies are visited, and only objects without known changes are scanned. + + + function markChangesSweep(drafts) { + // The natural order of drafts in the `scope` array is based on when they + // were accessed. By processing drafts in reverse natural order, we have a + // better chance of processing leaf nodes first. When a leaf node is known to + // have changed, we can avoid any traversal of its ancestor nodes. + for (var i = drafts.length - 1; i >= 0; i--) { + var state = drafts[i][DRAFT_STATE]; + + if (!state.modified_) { + switch (state.type_) { + case 5 + /* ES5Array */ + : + if (hasArrayChanges(state)) markChanged(state); + break; + + case 4 + /* ES5Object */ + : + if (hasObjectChanges(state)) markChanged(state); + break; + } + } + } + } + + function markChangesRecursively(object) { + if (!object || typeof object !== "object") return; + var state = object[DRAFT_STATE]; + if (!state) return; + var base_ = state.base_, + draft_ = state.draft_, + assigned_ = state.assigned_, + type_ = state.type_; + + if (type_ === 4 + /* ES5Object */ + ) { + // Look for added keys. + // probably there is a faster way to detect changes, as sweep + recurse seems to do some + // unnecessary work. + // also: probably we can store the information we detect here, to speed up tree finalization! + each$1(draft_, function (key) { + if (key === DRAFT_STATE) return; // The `undefined` check is a fast path for pre-existing keys. + + if (base_[key] === undefined && !has(base_, key)) { + assigned_[key] = true; + markChanged(state); + } else if (!assigned_[key]) { + // Only untouched properties trigger recursion. + markChangesRecursively(draft_[key]); + } + }); // Look for removed keys. + + each$1(base_, function (key) { + // The `undefined` check is a fast path for pre-existing keys. + if (draft_[key] === undefined && !has(draft_, key)) { + assigned_[key] = false; + markChanged(state); + } + }); + } else if (type_ === 5 + /* ES5Array */ + ) { + if (hasArrayChanges(state)) { + markChanged(state); + assigned_.length = true; + } + + if (draft_.length < base_.length) { + for (var i = draft_.length; i < base_.length; i++) { + assigned_[i] = false; + } + } else { + for (var _i2 = base_.length; _i2 < draft_.length; _i2++) { + assigned_[_i2] = true; + } + } // Minimum count is enough, the other parts has been processed. + + + var min = Math.min(draft_.length, base_.length); + + for (var _i3 = 0; _i3 < min; _i3++) { + // Only untouched indices trigger recursion. + if (assigned_[_i3] === undefined) markChangesRecursively(draft_[_i3]); + } + } + } + + function hasObjectChanges(state) { + var base_ = state.base_, + draft_ = state.draft_; // Search for added keys and changed keys. Start at the back, because + // non-numeric keys are ordered by time of definition on the object. + + var keys = ownKeys$a(draft_); + + for (var i = keys.length - 1; i >= 0; i--) { + var key = keys[i]; + if (key === DRAFT_STATE) continue; + var baseValue = base_[key]; // The `undefined` check is a fast path for pre-existing keys. + + if (baseValue === undefined && !has(base_, key)) { + return true; + } // Once a base key is deleted, future changes go undetected, because its + // descriptor is erased. This branch detects any missed changes. + else { + var value = draft_[key]; + + var _state = value && value[DRAFT_STATE]; + + if (_state ? _state.base_ !== baseValue : !is$1(value, baseValue)) { + return true; + } + } + } // At this point, no keys were added or changed. + // Compare key count to determine if keys were deleted. + + + var baseIsDraft = !!base_[DRAFT_STATE]; + return keys.length !== ownKeys$a(base_).length + (baseIsDraft ? 0 : 1); // + 1 to correct for DRAFT_STATE + } + + function hasArrayChanges(state) { + var draft_ = state.draft_; + if (draft_.length !== state.base_.length) return true; // See #116 + // If we first shorten the length, our array interceptors will be removed. + // If after that new items are added, result in the same original length, + // those last items will have no intercepting property. + // So if there is no own descriptor on the last position, we know that items were removed and added + // N.B.: splice, unshift, etc only shift values around, but not prop descriptors, so we only have to check + // the last one + + var descriptor = Object.getOwnPropertyDescriptor(draft_, draft_.length - 1); // descriptor can be null, but only for newly created sparse arrays, eg. new Array(10) + + if (descriptor && !descriptor.get) return true; // For all other cases, we don't have to compare, as they would have been picked up by the index setters + + return false; + } + + function hasChanges_(state) { + return state.type_ === 4 + /* ES5Object */ + ? hasObjectChanges(state) : hasArrayChanges(state); + } + + function assertUnrevoked(state + /*ES5State | MapState | SetState*/ + ) { + if (state.revoked_) die(3, JSON.stringify(latest(state))); + } + + loadPlugin("ES5", { + createES5Proxy_: createES5Proxy_, + willFinalizeES5_: willFinalizeES5_, + hasChanges_: hasChanges_ + }); + } + + function enablePatches() { + var REPLACE = "replace"; + var ADD = "add"; + var REMOVE = "remove"; + + function generatePatches_(state, basePath, patches, inversePatches) { + switch (state.type_) { + case 0 + /* ProxyObject */ + : + case 4 + /* ES5Object */ + : + case 2 + /* Map */ + : + return generatePatchesFromAssigned(state, basePath, patches, inversePatches); + + case 5 + /* ES5Array */ + : + case 1 + /* ProxyArray */ + : + return generateArrayPatches(state, basePath, patches, inversePatches); + + case 3 + /* Set */ + : + return generateSetPatches(state, basePath, patches, inversePatches); + } + } + + function generateArrayPatches(state, basePath, patches, inversePatches) { + var base_ = state.base_, + assigned_ = state.assigned_; + var copy_ = state.copy_; // Reduce complexity by ensuring `base` is never longer. + + if (copy_.length < base_.length) { + var _ref = [copy_, base_]; + base_ = _ref[0]; + copy_ = _ref[1]; + var _ref2 = [inversePatches, patches]; + patches = _ref2[0]; + inversePatches = _ref2[1]; + } // Process replaced indices. + + + for (var i = 0; i < base_.length; i++) { + if (assigned_[i] && copy_[i] !== base_[i]) { + var path = basePath.concat([i]); + patches.push({ + op: REPLACE, + path: path, + // Need to maybe clone it, as it can in fact be the original value + // due to the base/copy inversion at the start of this function + value: clonePatchValueIfNeeded(copy_[i]) + }); + inversePatches.push({ + op: REPLACE, + path: path, + value: clonePatchValueIfNeeded(base_[i]) + }); + } + } // Process added indices. + + + for (var _i = base_.length; _i < copy_.length; _i++) { + var _path = basePath.concat([_i]); + + patches.push({ + op: ADD, + path: _path, + // Need to maybe clone it, as it can in fact be the original value + // due to the base/copy inversion at the start of this function + value: clonePatchValueIfNeeded(copy_[_i]) + }); + } + + if (base_.length < copy_.length) { + inversePatches.push({ + op: REPLACE, + path: basePath.concat(["length"]), + value: base_.length + }); + } + } // This is used for both Map objects and normal objects. + + + function generatePatchesFromAssigned(state, basePath, patches, inversePatches) { + var base_ = state.base_, + copy_ = state.copy_; + each$1(state.assigned_, function (key, assignedValue) { + var origValue = get(base_, key); + var value = get(copy_, key); + var op = !assignedValue ? REMOVE : has(base_, key) ? REPLACE : ADD; + if (origValue === value && op === REPLACE) return; + var path = basePath.concat(key); + patches.push(op === REMOVE ? { + op: op, + path: path + } : { + op: op, + path: path, + value: value + }); + inversePatches.push(op === ADD ? { + op: REMOVE, + path: path + } : op === REMOVE ? { + op: ADD, + path: path, + value: clonePatchValueIfNeeded(origValue) + } : { + op: REPLACE, + path: path, + value: clonePatchValueIfNeeded(origValue) + }); + }); + } + + function generateSetPatches(state, basePath, patches, inversePatches) { + var base_ = state.base_, + copy_ = state.copy_; + var i = 0; + base_.forEach(function (value) { + if (!copy_.has(value)) { + var path = basePath.concat([i]); + patches.push({ + op: REMOVE, + path: path, + value: value + }); + inversePatches.unshift({ + op: ADD, + path: path, + value: value + }); + } + + i++; + }); + i = 0; + copy_.forEach(function (value) { + if (!base_.has(value)) { + var path = basePath.concat([i]); + patches.push({ + op: ADD, + path: path, + value: value + }); + inversePatches.unshift({ + op: REMOVE, + path: path, + value: value + }); + } + + i++; + }); + } + + function generateReplacementPatches_(rootState, replacement, patches, inversePatches) { + patches.push({ + op: REPLACE, + path: [], + value: replacement === NOTHING ? undefined : replacement + }); + inversePatches.push({ + op: REPLACE, + path: [], + value: rootState.base_ + }); + } + + function applyPatches_(draft, patches) { + patches.forEach(function (patch) { + var path = patch.path, + op = patch.op; + var base = draft; + + for (var i = 0; i < path.length - 1; i++) { + var parentType = getArchtype(base); + var p = "" + path[i]; // See #738, avoid prototype pollution + + if ((parentType === 0 + /* Object */ + || parentType === 1 + /* Array */ + ) && (p === "__proto__" || p === "constructor")) die(24); + if (typeof base === "function" && p === "prototype") die(24); + base = get(base, p); + if (typeof base !== "object") die(15, path.join("/")); + } + + var type = getArchtype(base); + var value = deepClonePatchValue(patch.value); // used to clone patch to ensure original patch is not modified, see #411 + + var key = path[path.length - 1]; + + switch (op) { + case REPLACE: + switch (type) { + case 2 + /* Map */ + : + return base.set(key, value); + + /* istanbul ignore next */ + + case 3 + /* Set */ + : + die(16); + + default: + // if value is an object, then it's assigned by reference + // in the following add or remove ops, the value field inside the patch will also be modifyed + // so we use value from the cloned patch + // @ts-ignore + return base[key] = value; + } + + case ADD: + switch (type) { + case 1 + /* Array */ + : + return key === "-" ? base.push(value) : base.splice(key, 0, value); + + case 2 + /* Map */ + : + return base.set(key, value); + + case 3 + /* Set */ + : + return base.add(value); + + default: + return base[key] = value; + } + + case REMOVE: + switch (type) { + case 1 + /* Array */ + : + return base.splice(key, 1); + + case 2 + /* Map */ + : + return base.delete(key); + + case 3 + /* Set */ + : + return base.delete(patch.value); + + default: + return delete base[key]; + } + + default: + die(17, op); + } + }); + return draft; + } + + function deepClonePatchValue(obj) { + if (!isDraftable(obj)) return obj; + if (Array.isArray(obj)) return obj.map(deepClonePatchValue); + if (isMap(obj)) return new Map(Array.from(obj.entries()).map(function (_ref3) { + var k = _ref3[0], + v = _ref3[1]; + return [k, deepClonePatchValue(v)]; + })); + if (isSet(obj)) return new Set(Array.from(obj).map(deepClonePatchValue)); + var cloned = Object.create(Object.getPrototypeOf(obj)); + + for (var key in obj) { + cloned[key] = deepClonePatchValue(obj[key]); + } + + if (has(obj, DRAFTABLE)) cloned[DRAFTABLE] = obj[DRAFTABLE]; + return cloned; + } + + function clonePatchValueIfNeeded(obj) { + if (isDraft(obj)) { + return deepClonePatchValue(obj); + } else return obj; + } + + loadPlugin("Patches", { + applyPatches_: applyPatches_, + generatePatches_: generatePatches_, + generateReplacementPatches_: generateReplacementPatches_ + }); + } + + // types only! + function enableMapSet() { + /* istanbul ignore next */ + var _extendStatics = function extendStatics(d, b) { + _extendStatics = Object.setPrototypeOf || { + __proto__: [] + } instanceof Array && function (d, b) { + d.__proto__ = b; + } || function (d, b) { + for (var p in b) { + if (b.hasOwnProperty(p)) d[p] = b[p]; + } + }; + + return _extendStatics(d, b); + }; // Ugly hack to resolve #502 and inherit built in Map / Set + + + function __extends(d, b) { + _extendStatics(d, b); + + function __() { + this.constructor = d; + } + + d.prototype = ( // @ts-ignore + __.prototype = b.prototype, new __()); + } + + var DraftMap = function (_super) { + __extends(DraftMap, _super); // Create class manually, cause #502 + + + function DraftMap(target, parent) { + this[DRAFT_STATE] = { + type_: 2 + /* Map */ + , + parent_: parent, + scope_: parent ? parent.scope_ : getCurrentScope(), + modified_: false, + finalized_: false, + copy_: undefined, + assigned_: undefined, + base_: target, + draft_: this, + isManual_: false, + revoked_: false + }; + return this; + } + + var p = DraftMap.prototype; + Object.defineProperty(p, "size", { + get: function get() { + return latest(this[DRAFT_STATE]).size; + } // enumerable: false, + // configurable: true + + }); + + p.has = function (key) { + return latest(this[DRAFT_STATE]).has(key); + }; + + p.set = function (key, value) { + var state = this[DRAFT_STATE]; + assertUnrevoked(state); + + if (!latest(state).has(key) || latest(state).get(key) !== value) { + prepareMapCopy(state); + markChanged(state); + state.assigned_.set(key, true); + state.copy_.set(key, value); + state.assigned_.set(key, true); + } + + return this; + }; + + p.delete = function (key) { + if (!this.has(key)) { + return false; + } + + var state = this[DRAFT_STATE]; + assertUnrevoked(state); + prepareMapCopy(state); + markChanged(state); + state.assigned_.set(key, false); + state.copy_.delete(key); + return true; + }; + + p.clear = function () { + var state = this[DRAFT_STATE]; + assertUnrevoked(state); + + if (latest(state).size) { + prepareMapCopy(state); + markChanged(state); + state.assigned_ = new Map(); + each$1(state.base_, function (key) { + state.assigned_.set(key, false); + }); + state.copy_.clear(); + } + }; + + p.forEach = function (cb, thisArg) { + var _this = this; + + var state = this[DRAFT_STATE]; + latest(state).forEach(function (_value, key, _map) { + cb.call(thisArg, _this.get(key), key, _this); + }); + }; + + p.get = function (key) { + var state = this[DRAFT_STATE]; + assertUnrevoked(state); + var value = latest(state).get(key); + + if (state.finalized_ || !isDraftable(value)) { + return value; + } + + if (value !== state.base_.get(key)) { + return value; // either already drafted or reassigned + } // despite what it looks, this creates a draft only once, see above condition + + + var draft = createProxy(state.scope_.immer_, value, state); + prepareMapCopy(state); + state.copy_.set(key, draft); + return draft; + }; + + p.keys = function () { + return latest(this[DRAFT_STATE]).keys(); + }; + + p.values = function () { + var _this2 = this, + _ref; + + var iterator = this.keys(); + return _ref = {}, _ref[iteratorSymbol$1] = function () { + return _this2.values(); + }, _ref.next = function next() { + var r = iterator.next(); + /* istanbul ignore next */ + + if (r.done) return r; + + var value = _this2.get(r.value); + + return { + done: false, + value: value + }; + }, _ref; + }; + + p.entries = function () { + var _this3 = this, + _ref2; + + var iterator = this.keys(); + return _ref2 = {}, _ref2[iteratorSymbol$1] = function () { + return _this3.entries(); + }, _ref2.next = function next() { + var r = iterator.next(); + /* istanbul ignore next */ + + if (r.done) return r; + + var value = _this3.get(r.value); + + return { + done: false, + value: [r.value, value] + }; + }, _ref2; + }; + + p[iteratorSymbol$1] = function () { + return this.entries(); + }; + + return DraftMap; + }(Map); + + function proxyMap_(target, parent) { + // @ts-ignore + return new DraftMap(target, parent); + } + + function prepareMapCopy(state) { + if (!state.copy_) { + state.assigned_ = new Map(); + state.copy_ = new Map(state.base_); + } + } + + var DraftSet = function (_super) { + __extends(DraftSet, _super); // Create class manually, cause #502 + + + function DraftSet(target, parent) { + this[DRAFT_STATE] = { + type_: 3 + /* Set */ + , + parent_: parent, + scope_: parent ? parent.scope_ : getCurrentScope(), + modified_: false, + finalized_: false, + copy_: undefined, + base_: target, + draft_: this, + drafts_: new Map(), + revoked_: false, + isManual_: false + }; + return this; + } + + var p = DraftSet.prototype; + Object.defineProperty(p, "size", { + get: function get() { + return latest(this[DRAFT_STATE]).size; + } // enumerable: true, + + }); + + p.has = function (value) { + var state = this[DRAFT_STATE]; + assertUnrevoked(state); // bit of trickery here, to be able to recognize both the value, and the draft of its value + + if (!state.copy_) { + return state.base_.has(value); + } + + if (state.copy_.has(value)) return true; + if (state.drafts_.has(value) && state.copy_.has(state.drafts_.get(value))) return true; + return false; + }; + + p.add = function (value) { + var state = this[DRAFT_STATE]; + assertUnrevoked(state); + + if (!this.has(value)) { + prepareSetCopy(state); + markChanged(state); + state.copy_.add(value); + } + + return this; + }; + + p.delete = function (value) { + if (!this.has(value)) { + return false; + } + + var state = this[DRAFT_STATE]; + assertUnrevoked(state); + prepareSetCopy(state); + markChanged(state); + return state.copy_.delete(value) || (state.drafts_.has(value) ? state.copy_.delete(state.drafts_.get(value)) : + /* istanbul ignore next */ + false); + }; + + p.clear = function () { + var state = this[DRAFT_STATE]; + assertUnrevoked(state); + + if (latest(state).size) { + prepareSetCopy(state); + markChanged(state); + state.copy_.clear(); + } + }; + + p.values = function () { + var state = this[DRAFT_STATE]; + assertUnrevoked(state); + prepareSetCopy(state); + return state.copy_.values(); + }; + + p.entries = function entries() { + var state = this[DRAFT_STATE]; + assertUnrevoked(state); + prepareSetCopy(state); + return state.copy_.entries(); + }; + + p.keys = function () { + return this.values(); + }; + + p[iteratorSymbol$1] = function () { + return this.values(); + }; + + p.forEach = function forEach(cb, thisArg) { + var iterator = this.values(); + var result = iterator.next(); + + while (!result.done) { + cb.call(thisArg, result.value, result.value, this); + result = iterator.next(); + } + }; + + return DraftSet; + }(Set); + + function proxySet_(target, parent) { + // @ts-ignore + return new DraftSet(target, parent); + } + + function prepareSetCopy(state) { + if (!state.copy_) { + // create drafts for all entries to preserve insertion order + state.copy_ = new Set(); + state.base_.forEach(function (value) { + if (isDraftable(value)) { + var draft = createProxy(state.scope_.immer_, value, state); + state.drafts_.set(value, draft); + state.copy_.add(draft); + } else { + state.copy_.add(value); + } + }); + } + } + + function assertUnrevoked(state + /*ES5State | MapState | SetState*/ + ) { + if (state.revoked_) die(3, JSON.stringify(latest(state))); + } + + loadPlugin("MapSet", { + proxyMap_: proxyMap_, + proxySet_: proxySet_ + }); + } + + function enableAllPlugins() { + enableES5(); + enableMapSet(); + enablePatches(); + } + + var immer$1 = + /*#__PURE__*/ + new Immer(); + /** + * The `produce` function takes a value and a "recipe function" (whose + * return value often depends on the base state). The recipe function is + * free to mutate its first argument however it wants. All mutations are + * only ever applied to a __copy__ of the base state. + * + * Pass only a function to create a "curried producer" which relieves you + * from passing the recipe function every time. + * + * Only plain objects and arrays are made mutable. All other objects are + * considered uncopyable. + * + * Note: This function is __bound__ to its `Immer` instance. + * + * @param {any} base - the initial state + * @param {Function} producer - function that receives a proxy of the base state as first argument and which can be freely modified + * @param {Function} patchListener - optional function that will be called with all the patches produced here + * @returns {any} a new state, or the initial state if nothing was modified + */ + + var produce = immer$1.produce; + /** + * Like `produce`, but `produceWithPatches` always returns a tuple + * [nextState, patches, inversePatches] (instead of just the next state) + */ + + var produceWithPatches = + /*#__PURE__*/ + immer$1.produceWithPatches.bind(immer$1); + /** + * Pass true to automatically freeze all copies created by Immer. + * + * Always freeze by default, even in production mode + */ + + var setAutoFreeze = + /*#__PURE__*/ + immer$1.setAutoFreeze.bind(immer$1); + /** + * Pass true to use the ES2015 `Proxy` class when creating drafts, which is + * always faster than using ES5 proxies. + * + * By default, feature detection is used, so calling this is rarely necessary. + */ + + var setUseProxies = + /*#__PURE__*/ + immer$1.setUseProxies.bind(immer$1); + /** + * Apply an array of Immer patches to the first argument. + * + * This function is a producer, which means copy-on-write is in effect. + */ + + var applyPatches = + /*#__PURE__*/ + immer$1.applyPatches.bind(immer$1); + /** + * Create an Immer draft from the given base state, which may be a draft itself. + * The draft can be modified until you finalize it with the `finishDraft` function. + */ + + var createDraft = + /*#__PURE__*/ + immer$1.createDraft.bind(immer$1); + /** + * Finalize an Immer draft from a `createDraft` call, returning the base state + * (if no changes were made) or a modified copy. The draft must *not* be + * mutated afterwards. + * + * Pass a function as the 2nd argument to generate Immer patches based on the + * changes that were made. + */ + + var finishDraft = + /*#__PURE__*/ + immer$1.finishDraft.bind(immer$1); + /** + * This function is actually a no-op, but can be used to cast an immutable type + * to an draft type and make TypeScript happy + * + * @param value + */ + + function castDraft(value) { + return value; + } + /** + * This function is actually a no-op, but can be used to cast a mutable type + * to an immutable type and make TypeScript happy + * @param value + */ + + function castImmutable(value) { + return value; + } + + var Immer_1 = Immer; + var applyPatches_1 = applyPatches; + var castDraft_1 = castDraft; + var castImmutable_1 = castImmutable; + var createDraft_1 = createDraft; + var current_1 = current; + var _default$2 = produce; + var enableAllPlugins_1 = enableAllPlugins; + var enableES5_1 = enableES5; + var enableMapSet_1 = enableMapSet; + var enablePatches_1 = enablePatches; + var finishDraft_1 = finishDraft; + var freeze_1 = freeze; + var immerable = DRAFTABLE; + var isDraft_1 = isDraft; + var isDraftable_1 = isDraftable; + var nothing = NOTHING; + var original_1 = original; + var produce_1 = produce; + var produceWithPatches_1 = produceWithPatches; + var setAutoFreeze_1 = setAutoFreeze; + var setUseProxies_1 = setUseProxies; + + + var immer_cjs_development = /*#__PURE__*/Object.defineProperty({ + Immer: Immer_1, + applyPatches: applyPatches_1, + castDraft: castDraft_1, + castImmutable: castImmutable_1, + createDraft: createDraft_1, + current: current_1, + default: _default$2, + enableAllPlugins: enableAllPlugins_1, + enableES5: enableES5_1, + enableMapSet: enableMapSet_1, + enablePatches: enablePatches_1, + finishDraft: finishDraft_1, + freeze: freeze_1, + immerable: immerable, + isDraft: isDraft_1, + isDraftable: isDraftable_1, + nothing: nothing, + original: original_1, + produce: produce_1, + produceWithPatches: produceWithPatches_1, + setAutoFreeze: setAutoFreeze_1, + setUseProxies: setUseProxies_1 + }, '__esModule', {value: true}); + + var require$$1$1 = immer_cjs_development; + + var dist$8 = createCommonjsModule$1(function (module) { + + { + module.exports = require$$1$1; + } + }); + + var isPlainObject = isPlainObject_1; + + var immer = dist$8; + + function unwrapExports (x) { + return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x; + } + + function createCommonjsModule(fn, module) { + return module = { exports: {} }, fn(module, module.exports), module.exports; + } + + var arrayLikeToArray = createCommonjsModule(function (module) { + function _arrayLikeToArray(arr, len) { + if (len == null || len > arr.length) len = arr.length; + + for (var i = 0, arr2 = new Array(len); i < len; i++) { + arr2[i] = arr[i]; + } + + return arr2; + } + + module.exports = _arrayLikeToArray; + module.exports["default"] = module.exports, module.exports.__esModule = true; + }); + + unwrapExports(arrayLikeToArray); + + var arrayWithoutHoles = createCommonjsModule(function (module) { + function _arrayWithoutHoles(arr) { + if (Array.isArray(arr)) return arrayLikeToArray(arr); + } + + module.exports = _arrayWithoutHoles; + module.exports["default"] = module.exports, module.exports.__esModule = true; + }); + + unwrapExports(arrayWithoutHoles); + + var iterableToArray = createCommonjsModule(function (module) { + function _iterableToArray(iter) { + if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); + } + + module.exports = _iterableToArray; + module.exports["default"] = module.exports, module.exports.__esModule = true; + }); + + unwrapExports(iterableToArray); + + var unsupportedIterableToArray = createCommonjsModule(function (module) { + function _unsupportedIterableToArray(o, minLen) { + if (!o) return; + if (typeof o === "string") return arrayLikeToArray(o, minLen); + var n = Object.prototype.toString.call(o).slice(8, -1); + if (n === "Object" && o.constructor) n = o.constructor.name; + if (n === "Map" || n === "Set") return Array.from(o); + if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen); + } + + module.exports = _unsupportedIterableToArray; + module.exports["default"] = module.exports, module.exports.__esModule = true; + }); + + unwrapExports(unsupportedIterableToArray); + + var nonIterableSpread = createCommonjsModule(function (module) { + function _nonIterableSpread() { + throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); + } + + module.exports = _nonIterableSpread; + module.exports["default"] = module.exports, module.exports.__esModule = true; + }); + + unwrapExports(nonIterableSpread); + + var toConsumableArray = createCommonjsModule(function (module) { + function _toConsumableArray(arr) { + return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread(); + } + + module.exports = _toConsumableArray; + module.exports["default"] = module.exports, module.exports.__esModule = true; + }); + + var _toConsumableArray = unwrapExports(toConsumableArray); + + var arrayWithHoles = createCommonjsModule(function (module) { + function _arrayWithHoles(arr) { + if (Array.isArray(arr)) return arr; + } + + module.exports = _arrayWithHoles; + module.exports["default"] = module.exports, module.exports.__esModule = true; + }); + + unwrapExports(arrayWithHoles); + + var iterableToArrayLimit = createCommonjsModule(function (module) { + function _iterableToArrayLimit(arr, i) { + var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; + + if (_i == null) return; + var _arr = []; + var _n = true; + var _d = false; + + var _s, _e; + + try { + for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { + _arr.push(_s.value); + + if (i && _arr.length === i) break; + } + } catch (err) { + _d = true; + _e = err; + } finally { + try { + if (!_n && _i["return"] != null) _i["return"](); + } finally { + if (_d) throw _e; + } + } + + return _arr; + } + + module.exports = _iterableToArrayLimit; + module.exports["default"] = module.exports, module.exports.__esModule = true; + }); + + unwrapExports(iterableToArrayLimit); + + var nonIterableRest = createCommonjsModule(function (module) { + function _nonIterableRest() { + throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); + } + + module.exports = _nonIterableRest; + module.exports["default"] = module.exports, module.exports.__esModule = true; + }); + + unwrapExports(nonIterableRest); + + var slicedToArray = createCommonjsModule(function (module) { + function _slicedToArray(arr, i) { + return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest(); + } + + module.exports = _slicedToArray; + module.exports["default"] = module.exports, module.exports.__esModule = true; + }); + + var _slicedToArray = unwrapExports(slicedToArray); + + var defineProperty = createCommonjsModule(function (module) { + function _defineProperty(obj, key, value) { + if (key in obj) { + Object.defineProperty(obj, key, { + value: value, + enumerable: true, + configurable: true, + writable: true + }); + } else { + obj[key] = value; + } + + return obj; + } + + module.exports = _defineProperty; + module.exports["default"] = module.exports, module.exports.__esModule = true; + }); + + var _defineProperty = unwrapExports(defineProperty); + + var DIRTY_PATHS = new WeakMap(); + var FLUSHING = new WeakMap(); + var NORMALIZING = new WeakMap(); + var PATH_REFS = new WeakMap(); + var POINT_REFS = new WeakMap(); + var RANGE_REFS = new WeakMap(); + + function ownKeys$9(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; } + + function _objectSpread$9(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$9(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$9(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + + function _createForOfIteratorHelper$7(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray$7(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; } + + function _unsupportedIterableToArray$7(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray$7(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$7(o, minLen); } + + function _arrayLikeToArray$7(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } + /** + * Create a new Slate `Editor` object. + */ + + var createEditor$1 = function createEditor() { + var editor = { + children: [], + operations: [], + selection: null, + marks: null, + isInline: function isInline() { + return false; + }, + isVoid: function isVoid() { + return false; + }, + onChange: function onChange() {}, + apply: function apply(op) { + var _iterator = _createForOfIteratorHelper$7(Editor.pathRefs(editor)), + _step; + + try { + for (_iterator.s(); !(_step = _iterator.n()).done;) { + var ref = _step.value; + PathRef.transform(ref, op); + } + } catch (err) { + _iterator.e(err); + } finally { + _iterator.f(); + } + + var _iterator2 = _createForOfIteratorHelper$7(Editor.pointRefs(editor)), + _step2; + + try { + for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) { + var _ref = _step2.value; + PointRef.transform(_ref, op); + } + } catch (err) { + _iterator2.e(err); + } finally { + _iterator2.f(); + } + + var _iterator3 = _createForOfIteratorHelper$7(Editor.rangeRefs(editor)), + _step3; + + try { + for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) { + var _ref2 = _step3.value; + RangeRef.transform(_ref2, op); + } + } catch (err) { + _iterator3.e(err); + } finally { + _iterator3.f(); + } + + var set = new Set(); + var dirtyPaths = []; + + var add = function add(path) { + if (path) { + var key = path.join(','); + + if (!set.has(key)) { + set.add(key); + dirtyPaths.push(path); + } + } + }; + + var oldDirtyPaths = DIRTY_PATHS.get(editor) || []; + var newDirtyPaths = getDirtyPaths(op); + + var _iterator4 = _createForOfIteratorHelper$7(oldDirtyPaths), + _step4; + + try { + for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) { + var path = _step4.value; + var newPath = Path.transform(path, op); + add(newPath); + } + } catch (err) { + _iterator4.e(err); + } finally { + _iterator4.f(); + } + + var _iterator5 = _createForOfIteratorHelper$7(newDirtyPaths), + _step5; + + try { + for (_iterator5.s(); !(_step5 = _iterator5.n()).done;) { + var _path = _step5.value; + add(_path); + } + } catch (err) { + _iterator5.e(err); + } finally { + _iterator5.f(); + } + + DIRTY_PATHS.set(editor, dirtyPaths); + Transforms.transform(editor, op); + editor.operations.push(op); + Editor.normalize(editor); // Clear any formats applied to the cursor if the selection changes. + + if (op.type === 'set_selection') { + editor.marks = null; + } + + if (!FLUSHING.get(editor)) { + FLUSHING.set(editor, true); + Promise.resolve().then(function () { + FLUSHING.set(editor, false); + editor.onChange(); + editor.operations = []; + }); + } + }, + addMark: function addMark(key, value) { + var selection = editor.selection; + + if (selection) { + if (Range.isExpanded(selection)) { + Transforms.setNodes(editor, _defineProperty({}, key, value), { + match: Text.isText, + split: true + }); + } else { + var marks = _objectSpread$9(_objectSpread$9({}, Editor.marks(editor) || {}), {}, _defineProperty({}, key, value)); + + editor.marks = marks; + + if (!FLUSHING.get(editor)) { + editor.onChange(); + } + } + } + }, + deleteBackward: function deleteBackward(unit) { + var selection = editor.selection; + + if (selection && Range.isCollapsed(selection)) { + Transforms["delete"](editor, { + unit: unit, + reverse: true + }); + } + }, + deleteForward: function deleteForward(unit) { + var selection = editor.selection; + + if (selection && Range.isCollapsed(selection)) { + Transforms["delete"](editor, { + unit: unit + }); + } + }, + deleteFragment: function deleteFragment(direction) { + var selection = editor.selection; + + if (selection && Range.isExpanded(selection)) { + Transforms["delete"](editor, { + reverse: direction === 'backward' + }); + } + }, + getFragment: function getFragment() { + var selection = editor.selection; + + if (selection) { + return Node$1.fragment(editor, selection); + } + + return []; + }, + insertBreak: function insertBreak() { + Transforms.splitNodes(editor, { + always: true + }); + }, + insertFragment: function insertFragment(fragment) { + Transforms.insertFragment(editor, fragment); + }, + insertNode: function insertNode(node) { + Transforms.insertNodes(editor, node); + }, + insertText: function insertText(text) { + var selection = editor.selection, + marks = editor.marks; + + if (selection) { + if (marks) { + var node = _objectSpread$9({ + text: text + }, marks); + + Transforms.insertNodes(editor, node); + } else { + Transforms.insertText(editor, text); + } + + editor.marks = null; + } + }, + normalizeNode: function normalizeNode(entry) { + var _entry = _slicedToArray(entry, 2), + node = _entry[0], + path = _entry[1]; // There are no core normalizations for text nodes. + + + if (Text.isText(node)) { + return; + } // Ensure that block and inline nodes have at least one text child. + + + if (Element$1.isElement(node) && node.children.length === 0) { + var child = { + text: '' + }; + Transforms.insertNodes(editor, child, { + at: path.concat(0), + voids: true + }); + return; + } // Determine whether the node should have block or inline children. + + + var shouldHaveInlines = Editor.isEditor(node) ? false : Element$1.isElement(node) && (editor.isInline(node) || node.children.length === 0 || Text.isText(node.children[0]) || editor.isInline(node.children[0])); // Since we'll be applying operations while iterating, keep track of an + // index that accounts for any added/removed nodes. + + var n = 0; + + for (var i = 0; i < node.children.length; i++, n++) { + var currentNode = Node$1.get(editor, path); + if (Text.isText(currentNode)) continue; + var _child = node.children[i]; + var prev = currentNode.children[n - 1]; + var isLast = i === node.children.length - 1; + var isInlineOrText = Text.isText(_child) || Element$1.isElement(_child) && editor.isInline(_child); // Only allow block nodes in the top-level children and parent blocks + // that only contain block nodes. Similarly, only allow inline nodes in + // other inline nodes, or parent blocks that only contain inlines and + // text. + + if (isInlineOrText !== shouldHaveInlines) { + Transforms.removeNodes(editor, { + at: path.concat(n), + voids: true + }); + n--; + } else if (Element$1.isElement(_child)) { + // Ensure that inline nodes are surrounded by text nodes. + if (editor.isInline(_child)) { + if (prev == null || !Text.isText(prev)) { + var newChild = { + text: '' + }; + Transforms.insertNodes(editor, newChild, { + at: path.concat(n), + voids: true + }); + n++; + } else if (isLast) { + var _newChild = { + text: '' + }; + Transforms.insertNodes(editor, _newChild, { + at: path.concat(n + 1), + voids: true + }); + n++; + } + } + } else { + // Merge adjacent text nodes that are empty or match. + if (prev != null && Text.isText(prev)) { + if (Text.equals(_child, prev, { + loose: true + })) { + Transforms.mergeNodes(editor, { + at: path.concat(n), + voids: true + }); + n--; + } else if (prev.text === '') { + Transforms.removeNodes(editor, { + at: path.concat(n - 1), + voids: true + }); + n--; + } else if (_child.text === '') { + Transforms.removeNodes(editor, { + at: path.concat(n), + voids: true + }); + n--; + } + } + } + } + }, + removeMark: function removeMark(key) { + var selection = editor.selection; + + if (selection) { + if (Range.isExpanded(selection)) { + Transforms.unsetNodes(editor, key, { + match: Text.isText, + split: true + }); + } else { + var marks = _objectSpread$9({}, Editor.marks(editor) || {}); + + delete marks[key]; + editor.marks = marks; + + if (!FLUSHING.get(editor)) { + editor.onChange(); + } + } + } + } + }; + return editor; + }; + /** + * Get the "dirty" paths generated from an operation. + */ + + var getDirtyPaths = function getDirtyPaths(op) { + switch (op.type) { + case 'insert_text': + case 'remove_text': + case 'set_node': + { + var path = op.path; + return Path.levels(path); + } + + case 'insert_node': + { + var node = op.node, + _path2 = op.path; + var levels = Path.levels(_path2); + var descendants = Text.isText(node) ? [] : Array.from(Node$1.nodes(node), function (_ref3) { + var _ref4 = _slicedToArray(_ref3, 2), + p = _ref4[1]; + + return _path2.concat(p); + }); + return [].concat(_toConsumableArray(levels), _toConsumableArray(descendants)); + } + + case 'merge_node': + { + var _path3 = op.path; + var ancestors = Path.ancestors(_path3); + var previousPath = Path.previous(_path3); + return [].concat(_toConsumableArray(ancestors), [previousPath]); + } + + case 'move_node': + { + var _path4 = op.path, + newPath = op.newPath; + + if (Path.equals(_path4, newPath)) { + return []; + } + + var oldAncestors = []; + var newAncestors = []; + + var _iterator6 = _createForOfIteratorHelper$7(Path.ancestors(_path4)), + _step6; + + try { + for (_iterator6.s(); !(_step6 = _iterator6.n()).done;) { + var ancestor = _step6.value; + var p = Path.transform(ancestor, op); + oldAncestors.push(p); + } + } catch (err) { + _iterator6.e(err); + } finally { + _iterator6.f(); + } + + var _iterator7 = _createForOfIteratorHelper$7(Path.ancestors(newPath)), + _step7; + + try { + for (_iterator7.s(); !(_step7 = _iterator7.n()).done;) { + var _ancestor = _step7.value; + + var _p = Path.transform(_ancestor, op); + + newAncestors.push(_p); + } + } catch (err) { + _iterator7.e(err); + } finally { + _iterator7.f(); + } + + var newParent = newAncestors[newAncestors.length - 1]; + var newIndex = newPath[newPath.length - 1]; + var resultPath = newParent.concat(newIndex); + return [].concat(oldAncestors, newAncestors, [resultPath]); + } + + case 'remove_node': + { + var _path5 = op.path; + + var _ancestors = Path.ancestors(_path5); + + return _toConsumableArray(_ancestors); + } + + case 'split_node': + { + var _path6 = op.path; + + var _levels = Path.levels(_path6); + + var nextPath = Path.next(_path6); + return [].concat(_toConsumableArray(_levels), [nextPath]); + } + + default: + { + return []; + } + } + }; + + var objectWithoutPropertiesLoose = createCommonjsModule(function (module) { + function _objectWithoutPropertiesLoose(source, excluded) { + if (source == null) return {}; + var target = {}; + var sourceKeys = Object.keys(source); + var key, i; + + for (i = 0; i < sourceKeys.length; i++) { + key = sourceKeys[i]; + if (excluded.indexOf(key) >= 0) continue; + target[key] = source[key]; + } + + return target; + } + + module.exports = _objectWithoutPropertiesLoose; + module.exports["default"] = module.exports, module.exports.__esModule = true; + }); + + unwrapExports(objectWithoutPropertiesLoose); + + var objectWithoutProperties = createCommonjsModule(function (module) { + function _objectWithoutProperties(source, excluded) { + if (source == null) return {}; + var target = objectWithoutPropertiesLoose(source, excluded); + var key, i; + + if (Object.getOwnPropertySymbols) { + var sourceSymbolKeys = Object.getOwnPropertySymbols(source); + + for (i = 0; i < sourceSymbolKeys.length; i++) { + key = sourceSymbolKeys[i]; + if (excluded.indexOf(key) >= 0) continue; + if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; + target[key] = source[key]; + } + } + + return target; + } + + module.exports = _objectWithoutProperties; + module.exports["default"] = module.exports, module.exports.__esModule = true; + }); + + var _objectWithoutProperties = unwrapExports(objectWithoutProperties); + + function _createForOfIteratorHelper$6(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray$6(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; } + + function _unsupportedIterableToArray$6(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray$6(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$6(o, minLen); } + + function _arrayLikeToArray$6(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } + + // Character (grapheme cluster) boundaries are determined according to + // the default grapheme cluster boundary specification, extended grapheme clusters variant[1]. + // + // References: + // + // [1] https://www.unicode.org/reports/tr29/#Default_Grapheme_Cluster_Table + // [2] https://www.unicode.org/Public/UCD/latest/ucd/auxiliary/GraphemeBreakProperty.txt + // [3] https://www.unicode.org/Public/UCD/latest/ucd/auxiliary/GraphemeBreakTest.html + // [4] https://www.unicode.org/Public/UCD/latest/ucd/auxiliary/GraphemeBreakTest.txt + + /** + * Get the distance to the end of the first character in a string of text. + */ + var getCharacterDistance = function getCharacterDistance(str) { + var isRTL = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; + var isLTR = !isRTL; + var codepoints = isRTL ? codepointsIteratorRTL(str) : str; + var left = CodepointType.None; + var right = CodepointType.None; + var distance = 0; // Evaluation of these conditions are deferred. + + var gb11 = null; // Is GB11 applicable? + + var gb12Or13 = null; // Is GB12 or GB13 applicable? + + var _iterator = _createForOfIteratorHelper$6(codepoints), + _step; + + try { + for (_iterator.s(); !(_step = _iterator.n()).done;) { + var _char = _step.value; + + var code = _char.codePointAt(0); + + if (!code) break; + var type = getCodepointType(_char, code); + + var _ref = isLTR ? [right, type] : [type, left]; + + var _ref2 = _slicedToArray(_ref, 2); + + left = _ref2[0]; + right = _ref2[1]; + + if (intersects(left, CodepointType.ZWJ) && intersects(right, CodepointType.ExtPict)) { + if (isLTR) { + gb11 = endsWithEmojiZWJ(str.substring(0, distance)); + } else { + gb11 = endsWithEmojiZWJ(str.substring(0, str.length - distance)); + } + + if (!gb11) break; + } + + if (intersects(left, CodepointType.RI) && intersects(right, CodepointType.RI)) { + if (gb12Or13 !== null) { + gb12Or13 = !gb12Or13; + } else { + if (isLTR) { + gb12Or13 = true; + } else { + gb12Or13 = endsWithOddNumberOfRIs(str.substring(0, str.length - distance)); + } + } + + if (!gb12Or13) break; + } + + if (left !== CodepointType.None && right !== CodepointType.None && isBoundaryPair(left, right)) { + break; + } + + distance += _char.length; + } + } catch (err) { + _iterator.e(err); + } finally { + _iterator.f(); + } + + return distance || 1; + }; + var SPACE = /\s/; + var PUNCTUATION = /[\u0021-\u0023\u0025-\u002A\u002C-\u002F\u003A\u003B\u003F\u0040\u005B-\u005D\u005F\u007B\u007D\u00A1\u00A7\u00AB\u00B6\u00B7\u00BB\u00BF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E3B\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/; + var CHAMELEON = /['\u2018\u2019]/; + /** + * Get the distance to the end of the first word in a string of text. + */ + + var getWordDistance = function getWordDistance(text) { + var isRTL = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; + var dist = 0; + var started = false; + + while (text.length > 0) { + var charDist = getCharacterDistance(text, isRTL); + + var _splitByCharacterDist = splitByCharacterDistance(text, charDist, isRTL), + _splitByCharacterDist2 = _slicedToArray(_splitByCharacterDist, 2), + _char2 = _splitByCharacterDist2[0], + remaining = _splitByCharacterDist2[1]; + + if (isWordCharacter(_char2, remaining, isRTL)) { + started = true; + dist += charDist; + } else if (!started) { + dist += charDist; + } else { + break; + } + + text = remaining; + } + + return dist; + }; + /** + * Split a string in two parts at a given distance starting from the end when + * `isRTL` is set to `true`. + */ + + var splitByCharacterDistance = function splitByCharacterDistance(str, dist, isRTL) { + if (isRTL) { + var at = str.length - dist; + return [str.slice(at, str.length), str.slice(0, at)]; + } + + return [str.slice(0, dist), str.slice(dist)]; + }; + /** + * Check if a character is a word character. The `remaining` argument is used + * because sometimes you must read subsequent characters to truly determine it. + */ + + var isWordCharacter = function isWordCharacter(_char3, remaining) { + var isRTL = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false; + + if (SPACE.test(_char3)) { + return false; + } // Chameleons count as word characters as long as they're in a word, so + // recurse to see if the next one is a word character or not. + + + if (CHAMELEON.test(_char3)) { + var charDist = getCharacterDistance(remaining, isRTL); + + var _splitByCharacterDist3 = splitByCharacterDistance(remaining, charDist, isRTL), + _splitByCharacterDist4 = _slicedToArray(_splitByCharacterDist3, 2), + nextChar = _splitByCharacterDist4[0], + nextRemaining = _splitByCharacterDist4[1]; + + if (isWordCharacter(nextChar, nextRemaining, isRTL)) { + return true; + } + } + + if (PUNCTUATION.test(_char3)) { + return false; + } + + return true; + }; + /** + * Iterate on codepoints from right to left. + */ + + + var codepointsIteratorRTL = function* codepointsIteratorRTL(str) { + var end = str.length - 1; + + for (var i = 0; i < str.length; i++) { + var char1 = str.charAt(end - i); + + if (isLowSurrogate(char1.charCodeAt(0))) { + var char2 = str.charAt(end - i - 1); + + if (isHighSurrogate(char2.charCodeAt(0))) { + yield char2 + char1; + i++; + continue; + } + } + + yield char1; + } + }; + /** + * Is `charCode` a high surrogate. + * + * https://en.wikipedia.org/wiki/Universal_Character_Set_characters#Surrogates + */ + + var isHighSurrogate = function isHighSurrogate(charCode) { + return charCode >= 0xd800 && charCode <= 0xdbff; + }; + /** + * Is `charCode` a low surrogate. + * + * https://en.wikipedia.org/wiki/Universal_Character_Set_characters#Surrogates + */ + + + var isLowSurrogate = function isLowSurrogate(charCode) { + return charCode >= 0xdc00 && charCode <= 0xdfff; + }; + + var CodepointType; + + (function (CodepointType) { + CodepointType[CodepointType["None"] = 0] = "None"; + CodepointType[CodepointType["Extend"] = 1] = "Extend"; + CodepointType[CodepointType["ZWJ"] = 2] = "ZWJ"; + CodepointType[CodepointType["RI"] = 4] = "RI"; + CodepointType[CodepointType["Prepend"] = 8] = "Prepend"; + CodepointType[CodepointType["SpacingMark"] = 16] = "SpacingMark"; + CodepointType[CodepointType["L"] = 32] = "L"; + CodepointType[CodepointType["V"] = 64] = "V"; + CodepointType[CodepointType["T"] = 128] = "T"; + CodepointType[CodepointType["LV"] = 256] = "LV"; + CodepointType[CodepointType["LVT"] = 512] = "LVT"; + CodepointType[CodepointType["ExtPict"] = 1024] = "ExtPict"; + CodepointType[CodepointType["Any"] = 2048] = "Any"; + })(CodepointType || (CodepointType = {})); + + var reExtend = /^(?:[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09BE\u09C1-\u09C4\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01\u0B3C\u0B3E\u0B3F\u0B41-\u0B44\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B82\u0BBE\u0BC0\u0BCD\u0BD7\u0C00\u0C04\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81\u0CBC\u0CBF\u0CC2\u0CC6\u0CCC\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00\u0D01\u0D3B\u0D3C\u0D3E\u0D41-\u0D44\u0D4D\u0D57\u0D62\u0D63\u0D81\u0DCA\u0DCF\u0DD2-\u0DD4\u0DD6\u0DDF\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1AC0\u1B00-\u1B03\u1B34-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u200C\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA825\uA826\uA82C\uA8C4\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9BD\uA9E5\uAA29-\uAA2E\uAA31\uAA32\uAA35\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEC\uAAED\uAAF6\uABE5\uABE8\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFF9E\uFF9F]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD803[\uDD24-\uDD27\uDEAB\uDEAC\uDF46-\uDF50]|\uD804[\uDC01\uDC38-\uDC46\uDC7F-\uDC81\uDCB3-\uDCB6\uDCB9\uDCBA\uDD00-\uDD02\uDD27-\uDD2B\uDD2D-\uDD34\uDD73\uDD80\uDD81\uDDB6-\uDDBE\uDDC9-\uDDCC\uDDCF\uDE2F-\uDE31\uDE34\uDE36\uDE37\uDE3E\uDEDF\uDEE3-\uDEEA\uDF00\uDF01\uDF3B\uDF3C\uDF3E\uDF40\uDF57\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC38-\uDC3F\uDC42-\uDC44\uDC46\uDC5E\uDCB0\uDCB3-\uDCB8\uDCBA\uDCBD\uDCBF\uDCC0\uDCC2\uDCC3\uDDAF\uDDB2-\uDDB5\uDDBC\uDDBD\uDDBF\uDDC0\uDDDC\uDDDD\uDE33-\uDE3A\uDE3D\uDE3F\uDE40\uDEAB\uDEAD\uDEB0-\uDEB5\uDEB7\uDF1D-\uDF1F\uDF22-\uDF25\uDF27-\uDF2B]|\uD806[\uDC2F-\uDC37\uDC39\uDC3A\uDD30\uDD3B\uDD3C\uDD3E\uDD43\uDDD4-\uDDD7\uDDDA\uDDDB\uDDE0\uDE01-\uDE0A\uDE33-\uDE38\uDE3B-\uDE3E\uDE47\uDE51-\uDE56\uDE59-\uDE5B\uDE8A-\uDE96\uDE98\uDE99]|\uD807[\uDC30-\uDC36\uDC38-\uDC3D\uDC3F\uDC92-\uDCA7\uDCAA-\uDCB0\uDCB2\uDCB3\uDCB5\uDCB6\uDD31-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD45\uDD47\uDD90\uDD91\uDD95\uDD97\uDEF3\uDEF4]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF4F\uDF8F-\uDF92\uDFE4]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65\uDD67-\uDD69\uDD6E-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDD30-\uDD36\uDEEC-\uDEEF]|\uD83A[\uDCD0-\uDCD6\uDD44-\uDD4A]|\uD83C[\uDFFB-\uDFFF]|\uDB40[\uDC20-\uDC7F\uDD00-\uDDEF])$/; + var rePrepend = /^(?:[\u0600-\u0605\u06DD\u070F\u0890\u0891\u08E2\u0D4E]|\uD804[\uDCBD\uDCCD\uDDC2\uDDC3]|\uD806[\uDD3F\uDD41\uDE3A\uDE84-\uDE89]|\uD807\uDD46)$/; + var reSpacingMark = /^(?:[\u0903\u093B\u093E-\u0940\u0949-\u094C\u094E\u094F\u0982\u0983\u09BF\u09C0\u09C7\u09C8\u09CB\u09CC\u0A03\u0A3E-\u0A40\u0A83\u0ABE-\u0AC0\u0AC9\u0ACB\u0ACC\u0B02\u0B03\u0B40\u0B47\u0B48\u0B4B\u0B4C\u0BBF\u0BC1\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCC\u0C01-\u0C03\u0C41-\u0C44\u0C82\u0C83\u0CBE\u0CC0\u0CC1\u0CC3\u0CC4\u0CC7\u0CC8\u0CCA\u0CCB\u0D02\u0D03\u0D3F\u0D40\u0D46-\u0D48\u0D4A-\u0D4C\u0D82\u0D83\u0DD0\u0DD1\u0DD8-\u0DDE\u0DF2\u0DF3\u0E33\u0EB3\u0F3E\u0F3F\u0F7F\u1031\u103B\u103C\u1056\u1057\u1084\u1715\u1734\u17B6\u17BE-\u17C5\u17C7\u17C8\u1923-\u1926\u1929-\u192B\u1930\u1931\u1933-\u1938\u1A19\u1A1A\u1A55\u1A57\u1A6D-\u1A72\u1B04\u1B3B\u1B3D-\u1B41\u1B43\u1B44\u1B82\u1BA1\u1BA6\u1BA7\u1BAA\u1BE7\u1BEA-\u1BEC\u1BEE\u1BF2\u1BF3\u1C24-\u1C2B\u1C34\u1C35\u1CE1\u1CF7\uA823\uA824\uA827\uA880\uA881\uA8B4-\uA8C3\uA952\uA953\uA983\uA9B4\uA9B5\uA9BA\uA9BB\uA9BE-\uA9C0\uAA2F\uAA30\uAA33\uAA34\uAA4D\uAAEB\uAAEE\uAAEF\uAAF5\uABE3\uABE4\uABE6\uABE7\uABE9\uABEA\uABEC]|\uD804[\uDC00\uDC02\uDC82\uDCB0-\uDCB2\uDCB7\uDCB8\uDD2C\uDD45\uDD46\uDD82\uDDB3-\uDDB5\uDDBF\uDDC0\uDDCE\uDE2C-\uDE2E\uDE32\uDE33\uDE35\uDEE0-\uDEE2\uDF02\uDF03\uDF3F\uDF41-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF62\uDF63]|\uD805[\uDC35-\uDC37\uDC40\uDC41\uDC45\uDCB1\uDCB2\uDCB9\uDCBB\uDCBC\uDCBE\uDCC1\uDDB0\uDDB1\uDDB8-\uDDBB\uDDBE\uDE30-\uDE32\uDE3B\uDE3C\uDE3E\uDEAC\uDEAE\uDEAF\uDEB6\uDF26]|\uD806[\uDC2C-\uDC2E\uDC38\uDD31-\uDD35\uDD37\uDD38\uDD3D\uDD40\uDD42\uDDD1-\uDDD3\uDDDC-\uDDDF\uDDE4\uDE39\uDE57\uDE58\uDE97]|\uD807[\uDC2F\uDC3E\uDCA9\uDCB1\uDCB4\uDD8A-\uDD8E\uDD93\uDD94\uDD96\uDEF5\uDEF6]|\uD81B[\uDF51-\uDF87\uDFF0\uDFF1]|\uD834[\uDD66\uDD6D])$/; + var reL = /^[\u1100-\u115F\uA960-\uA97C]$/; + var reV = /^[\u1160-\u11A7\uD7B0-\uD7C6]$/; + var reT = /^[\u11A8-\u11FF\uD7CB-\uD7FB]$/; + var reLV = /^[\uAC00\uAC1C\uAC38\uAC54\uAC70\uAC8C\uACA8\uACC4\uACE0\uACFC\uAD18\uAD34\uAD50\uAD6C\uAD88\uADA4\uADC0\uADDC\uADF8\uAE14\uAE30\uAE4C\uAE68\uAE84\uAEA0\uAEBC\uAED8\uAEF4\uAF10\uAF2C\uAF48\uAF64\uAF80\uAF9C\uAFB8\uAFD4\uAFF0\uB00C\uB028\uB044\uB060\uB07C\uB098\uB0B4\uB0D0\uB0EC\uB108\uB124\uB140\uB15C\uB178\uB194\uB1B0\uB1CC\uB1E8\uB204\uB220\uB23C\uB258\uB274\uB290\uB2AC\uB2C8\uB2E4\uB300\uB31C\uB338\uB354\uB370\uB38C\uB3A8\uB3C4\uB3E0\uB3FC\uB418\uB434\uB450\uB46C\uB488\uB4A4\uB4C0\uB4DC\uB4F8\uB514\uB530\uB54C\uB568\uB584\uB5A0\uB5BC\uB5D8\uB5F4\uB610\uB62C\uB648\uB664\uB680\uB69C\uB6B8\uB6D4\uB6F0\uB70C\uB728\uB744\uB760\uB77C\uB798\uB7B4\uB7D0\uB7EC\uB808\uB824\uB840\uB85C\uB878\uB894\uB8B0\uB8CC\uB8E8\uB904\uB920\uB93C\uB958\uB974\uB990\uB9AC\uB9C8\uB9E4\uBA00\uBA1C\uBA38\uBA54\uBA70\uBA8C\uBAA8\uBAC4\uBAE0\uBAFC\uBB18\uBB34\uBB50\uBB6C\uBB88\uBBA4\uBBC0\uBBDC\uBBF8\uBC14\uBC30\uBC4C\uBC68\uBC84\uBCA0\uBCBC\uBCD8\uBCF4\uBD10\uBD2C\uBD48\uBD64\uBD80\uBD9C\uBDB8\uBDD4\uBDF0\uBE0C\uBE28\uBE44\uBE60\uBE7C\uBE98\uBEB4\uBED0\uBEEC\uBF08\uBF24\uBF40\uBF5C\uBF78\uBF94\uBFB0\uBFCC\uBFE8\uC004\uC020\uC03C\uC058\uC074\uC090\uC0AC\uC0C8\uC0E4\uC100\uC11C\uC138\uC154\uC170\uC18C\uC1A8\uC1C4\uC1E0\uC1FC\uC218\uC234\uC250\uC26C\uC288\uC2A4\uC2C0\uC2DC\uC2F8\uC314\uC330\uC34C\uC368\uC384\uC3A0\uC3BC\uC3D8\uC3F4\uC410\uC42C\uC448\uC464\uC480\uC49C\uC4B8\uC4D4\uC4F0\uC50C\uC528\uC544\uC560\uC57C\uC598\uC5B4\uC5D0\uC5EC\uC608\uC624\uC640\uC65C\uC678\uC694\uC6B0\uC6CC\uC6E8\uC704\uC720\uC73C\uC758\uC774\uC790\uC7AC\uC7C8\uC7E4\uC800\uC81C\uC838\uC854\uC870\uC88C\uC8A8\uC8C4\uC8E0\uC8FC\uC918\uC934\uC950\uC96C\uC988\uC9A4\uC9C0\uC9DC\uC9F8\uCA14\uCA30\uCA4C\uCA68\uCA84\uCAA0\uCABC\uCAD8\uCAF4\uCB10\uCB2C\uCB48\uCB64\uCB80\uCB9C\uCBB8\uCBD4\uCBF0\uCC0C\uCC28\uCC44\uCC60\uCC7C\uCC98\uCCB4\uCCD0\uCCEC\uCD08\uCD24\uCD40\uCD5C\uCD78\uCD94\uCDB0\uCDCC\uCDE8\uCE04\uCE20\uCE3C\uCE58\uCE74\uCE90\uCEAC\uCEC8\uCEE4\uCF00\uCF1C\uCF38\uCF54\uCF70\uCF8C\uCFA8\uCFC4\uCFE0\uCFFC\uD018\uD034\uD050\uD06C\uD088\uD0A4\uD0C0\uD0DC\uD0F8\uD114\uD130\uD14C\uD168\uD184\uD1A0\uD1BC\uD1D8\uD1F4\uD210\uD22C\uD248\uD264\uD280\uD29C\uD2B8\uD2D4\uD2F0\uD30C\uD328\uD344\uD360\uD37C\uD398\uD3B4\uD3D0\uD3EC\uD408\uD424\uD440\uD45C\uD478\uD494\uD4B0\uD4CC\uD4E8\uD504\uD520\uD53C\uD558\uD574\uD590\uD5AC\uD5C8\uD5E4\uD600\uD61C\uD638\uD654\uD670\uD68C\uD6A8\uD6C4\uD6E0\uD6FC\uD718\uD734\uD750\uD76C\uD788]$/; + var reLVT = /^[\uAC01-\uAC1B\uAC1D-\uAC37\uAC39-\uAC53\uAC55-\uAC6F\uAC71-\uAC8B\uAC8D-\uACA7\uACA9-\uACC3\uACC5-\uACDF\uACE1-\uACFB\uACFD-\uAD17\uAD19-\uAD33\uAD35-\uAD4F\uAD51-\uAD6B\uAD6D-\uAD87\uAD89-\uADA3\uADA5-\uADBF\uADC1-\uADDB\uADDD-\uADF7\uADF9-\uAE13\uAE15-\uAE2F\uAE31-\uAE4B\uAE4D-\uAE67\uAE69-\uAE83\uAE85-\uAE9F\uAEA1-\uAEBB\uAEBD-\uAED7\uAED9-\uAEF3\uAEF5-\uAF0F\uAF11-\uAF2B\uAF2D-\uAF47\uAF49-\uAF63\uAF65-\uAF7F\uAF81-\uAF9B\uAF9D-\uAFB7\uAFB9-\uAFD3\uAFD5-\uAFEF\uAFF1-\uB00B\uB00D-\uB027\uB029-\uB043\uB045-\uB05F\uB061-\uB07B\uB07D-\uB097\uB099-\uB0B3\uB0B5-\uB0CF\uB0D1-\uB0EB\uB0ED-\uB107\uB109-\uB123\uB125-\uB13F\uB141-\uB15B\uB15D-\uB177\uB179-\uB193\uB195-\uB1AF\uB1B1-\uB1CB\uB1CD-\uB1E7\uB1E9-\uB203\uB205-\uB21F\uB221-\uB23B\uB23D-\uB257\uB259-\uB273\uB275-\uB28F\uB291-\uB2AB\uB2AD-\uB2C7\uB2C9-\uB2E3\uB2E5-\uB2FF\uB301-\uB31B\uB31D-\uB337\uB339-\uB353\uB355-\uB36F\uB371-\uB38B\uB38D-\uB3A7\uB3A9-\uB3C3\uB3C5-\uB3DF\uB3E1-\uB3FB\uB3FD-\uB417\uB419-\uB433\uB435-\uB44F\uB451-\uB46B\uB46D-\uB487\uB489-\uB4A3\uB4A5-\uB4BF\uB4C1-\uB4DB\uB4DD-\uB4F7\uB4F9-\uB513\uB515-\uB52F\uB531-\uB54B\uB54D-\uB567\uB569-\uB583\uB585-\uB59F\uB5A1-\uB5BB\uB5BD-\uB5D7\uB5D9-\uB5F3\uB5F5-\uB60F\uB611-\uB62B\uB62D-\uB647\uB649-\uB663\uB665-\uB67F\uB681-\uB69B\uB69D-\uB6B7\uB6B9-\uB6D3\uB6D5-\uB6EF\uB6F1-\uB70B\uB70D-\uB727\uB729-\uB743\uB745-\uB75F\uB761-\uB77B\uB77D-\uB797\uB799-\uB7B3\uB7B5-\uB7CF\uB7D1-\uB7EB\uB7ED-\uB807\uB809-\uB823\uB825-\uB83F\uB841-\uB85B\uB85D-\uB877\uB879-\uB893\uB895-\uB8AF\uB8B1-\uB8CB\uB8CD-\uB8E7\uB8E9-\uB903\uB905-\uB91F\uB921-\uB93B\uB93D-\uB957\uB959-\uB973\uB975-\uB98F\uB991-\uB9AB\uB9AD-\uB9C7\uB9C9-\uB9E3\uB9E5-\uB9FF\uBA01-\uBA1B\uBA1D-\uBA37\uBA39-\uBA53\uBA55-\uBA6F\uBA71-\uBA8B\uBA8D-\uBAA7\uBAA9-\uBAC3\uBAC5-\uBADF\uBAE1-\uBAFB\uBAFD-\uBB17\uBB19-\uBB33\uBB35-\uBB4F\uBB51-\uBB6B\uBB6D-\uBB87\uBB89-\uBBA3\uBBA5-\uBBBF\uBBC1-\uBBDB\uBBDD-\uBBF7\uBBF9-\uBC13\uBC15-\uBC2F\uBC31-\uBC4B\uBC4D-\uBC67\uBC69-\uBC83\uBC85-\uBC9F\uBCA1-\uBCBB\uBCBD-\uBCD7\uBCD9-\uBCF3\uBCF5-\uBD0F\uBD11-\uBD2B\uBD2D-\uBD47\uBD49-\uBD63\uBD65-\uBD7F\uBD81-\uBD9B\uBD9D-\uBDB7\uBDB9-\uBDD3\uBDD5-\uBDEF\uBDF1-\uBE0B\uBE0D-\uBE27\uBE29-\uBE43\uBE45-\uBE5F\uBE61-\uBE7B\uBE7D-\uBE97\uBE99-\uBEB3\uBEB5-\uBECF\uBED1-\uBEEB\uBEED-\uBF07\uBF09-\uBF23\uBF25-\uBF3F\uBF41-\uBF5B\uBF5D-\uBF77\uBF79-\uBF93\uBF95-\uBFAF\uBFB1-\uBFCB\uBFCD-\uBFE7\uBFE9-\uC003\uC005-\uC01F\uC021-\uC03B\uC03D-\uC057\uC059-\uC073\uC075-\uC08F\uC091-\uC0AB\uC0AD-\uC0C7\uC0C9-\uC0E3\uC0E5-\uC0FF\uC101-\uC11B\uC11D-\uC137\uC139-\uC153\uC155-\uC16F\uC171-\uC18B\uC18D-\uC1A7\uC1A9-\uC1C3\uC1C5-\uC1DF\uC1E1-\uC1FB\uC1FD-\uC217\uC219-\uC233\uC235-\uC24F\uC251-\uC26B\uC26D-\uC287\uC289-\uC2A3\uC2A5-\uC2BF\uC2C1-\uC2DB\uC2DD-\uC2F7\uC2F9-\uC313\uC315-\uC32F\uC331-\uC34B\uC34D-\uC367\uC369-\uC383\uC385-\uC39F\uC3A1-\uC3BB\uC3BD-\uC3D7\uC3D9-\uC3F3\uC3F5-\uC40F\uC411-\uC42B\uC42D-\uC447\uC449-\uC463\uC465-\uC47F\uC481-\uC49B\uC49D-\uC4B7\uC4B9-\uC4D3\uC4D5-\uC4EF\uC4F1-\uC50B\uC50D-\uC527\uC529-\uC543\uC545-\uC55F\uC561-\uC57B\uC57D-\uC597\uC599-\uC5B3\uC5B5-\uC5CF\uC5D1-\uC5EB\uC5ED-\uC607\uC609-\uC623\uC625-\uC63F\uC641-\uC65B\uC65D-\uC677\uC679-\uC693\uC695-\uC6AF\uC6B1-\uC6CB\uC6CD-\uC6E7\uC6E9-\uC703\uC705-\uC71F\uC721-\uC73B\uC73D-\uC757\uC759-\uC773\uC775-\uC78F\uC791-\uC7AB\uC7AD-\uC7C7\uC7C9-\uC7E3\uC7E5-\uC7FF\uC801-\uC81B\uC81D-\uC837\uC839-\uC853\uC855-\uC86F\uC871-\uC88B\uC88D-\uC8A7\uC8A9-\uC8C3\uC8C5-\uC8DF\uC8E1-\uC8FB\uC8FD-\uC917\uC919-\uC933\uC935-\uC94F\uC951-\uC96B\uC96D-\uC987\uC989-\uC9A3\uC9A5-\uC9BF\uC9C1-\uC9DB\uC9DD-\uC9F7\uC9F9-\uCA13\uCA15-\uCA2F\uCA31-\uCA4B\uCA4D-\uCA67\uCA69-\uCA83\uCA85-\uCA9F\uCAA1-\uCABB\uCABD-\uCAD7\uCAD9-\uCAF3\uCAF5-\uCB0F\uCB11-\uCB2B\uCB2D-\uCB47\uCB49-\uCB63\uCB65-\uCB7F\uCB81-\uCB9B\uCB9D-\uCBB7\uCBB9-\uCBD3\uCBD5-\uCBEF\uCBF1-\uCC0B\uCC0D-\uCC27\uCC29-\uCC43\uCC45-\uCC5F\uCC61-\uCC7B\uCC7D-\uCC97\uCC99-\uCCB3\uCCB5-\uCCCF\uCCD1-\uCCEB\uCCED-\uCD07\uCD09-\uCD23\uCD25-\uCD3F\uCD41-\uCD5B\uCD5D-\uCD77\uCD79-\uCD93\uCD95-\uCDAF\uCDB1-\uCDCB\uCDCD-\uCDE7\uCDE9-\uCE03\uCE05-\uCE1F\uCE21-\uCE3B\uCE3D-\uCE57\uCE59-\uCE73\uCE75-\uCE8F\uCE91-\uCEAB\uCEAD-\uCEC7\uCEC9-\uCEE3\uCEE5-\uCEFF\uCF01-\uCF1B\uCF1D-\uCF37\uCF39-\uCF53\uCF55-\uCF6F\uCF71-\uCF8B\uCF8D-\uCFA7\uCFA9-\uCFC3\uCFC5-\uCFDF\uCFE1-\uCFFB\uCFFD-\uD017\uD019-\uD033\uD035-\uD04F\uD051-\uD06B\uD06D-\uD087\uD089-\uD0A3\uD0A5-\uD0BF\uD0C1-\uD0DB\uD0DD-\uD0F7\uD0F9-\uD113\uD115-\uD12F\uD131-\uD14B\uD14D-\uD167\uD169-\uD183\uD185-\uD19F\uD1A1-\uD1BB\uD1BD-\uD1D7\uD1D9-\uD1F3\uD1F5-\uD20F\uD211-\uD22B\uD22D-\uD247\uD249-\uD263\uD265-\uD27F\uD281-\uD29B\uD29D-\uD2B7\uD2B9-\uD2D3\uD2D5-\uD2EF\uD2F1-\uD30B\uD30D-\uD327\uD329-\uD343\uD345-\uD35F\uD361-\uD37B\uD37D-\uD397\uD399-\uD3B3\uD3B5-\uD3CF\uD3D1-\uD3EB\uD3ED-\uD407\uD409-\uD423\uD425-\uD43F\uD441-\uD45B\uD45D-\uD477\uD479-\uD493\uD495-\uD4AF\uD4B1-\uD4CB\uD4CD-\uD4E7\uD4E9-\uD503\uD505-\uD51F\uD521-\uD53B\uD53D-\uD557\uD559-\uD573\uD575-\uD58F\uD591-\uD5AB\uD5AD-\uD5C7\uD5C9-\uD5E3\uD5E5-\uD5FF\uD601-\uD61B\uD61D-\uD637\uD639-\uD653\uD655-\uD66F\uD671-\uD68B\uD68D-\uD6A7\uD6A9-\uD6C3\uD6C5-\uD6DF\uD6E1-\uD6FB\uD6FD-\uD717\uD719-\uD733\uD735-\uD74F\uD751-\uD76B\uD76D-\uD787\uD789-\uD7A3]$/; + var reExtPict = /^(?:[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u2388\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2605\u2607-\u2612\u2614-\u2685\u2690-\u2705\u2708-\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763-\u2767\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC00-\uDCFF\uDD0D-\uDD0F\uDD2F\uDD6C-\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDAD-\uDDE5\uDE01-\uDE0F\uDE1A\uDE2F\uDE32-\uDE3A\uDE3C-\uDE3F\uDE49-\uDFFA]|\uD83D[\uDC00-\uDD3D\uDD46-\uDE4F\uDE80-\uDEFF\uDF74-\uDF7F\uDFD5-\uDFFF]|\uD83E[\uDC0C-\uDC0F\uDC48-\uDC4F\uDC5A-\uDC5F\uDC88-\uDC8F\uDCAE-\uDCFF\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDEFF]|\uD83F[\uDC00-\uDFFD])$/; + + var getCodepointType = function getCodepointType(_char4, code) { + var type = CodepointType.Any; + + if (_char4.search(reExtend) !== -1) { + type |= CodepointType.Extend; + } + + if (code === 0x200d) { + type |= CodepointType.ZWJ; + } + + if (code >= 0x1f1e6 && code <= 0x1f1ff) { + type |= CodepointType.RI; + } + + if (_char4.search(rePrepend) !== -1) { + type |= CodepointType.Prepend; + } + + if (_char4.search(reSpacingMark) !== -1) { + type |= CodepointType.SpacingMark; + } + + if (_char4.search(reL) !== -1) { + type |= CodepointType.L; + } + + if (_char4.search(reV) !== -1) { + type |= CodepointType.V; + } + + if (_char4.search(reT) !== -1) { + type |= CodepointType.T; + } + + if (_char4.search(reLV) !== -1) { + type |= CodepointType.LV; + } + + if (_char4.search(reLVT) !== -1) { + type |= CodepointType.LVT; + } + + if (_char4.search(reExtPict) !== -1) { + type |= CodepointType.ExtPict; + } + + return type; + }; + + function intersects(x, y) { + return (x & y) !== 0; + } + + var NonBoundaryPairs = [// GB6 + [CodepointType.L, CodepointType.L | CodepointType.V | CodepointType.LV | CodepointType.LVT], // GB7 + [CodepointType.LV | CodepointType.V, CodepointType.V | CodepointType.T], // GB8 + [CodepointType.LVT | CodepointType.T, CodepointType.T], // GB9 + [CodepointType.Any, CodepointType.Extend | CodepointType.ZWJ], // GB9a + [CodepointType.Any, CodepointType.SpacingMark], // GB9b + [CodepointType.Prepend, CodepointType.Any], // GB11 + [CodepointType.ZWJ, CodepointType.ExtPict], // GB12 and GB13 + [CodepointType.RI, CodepointType.RI]]; + + function isBoundaryPair(left, right) { + return NonBoundaryPairs.findIndex(function (r) { + return intersects(left, r[0]) && intersects(right, r[1]); + }) === -1; + } + + var endingEmojiZWJ = /(?:[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u2388\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2605\u2607-\u2612\u2614-\u2685\u2690-\u2705\u2708-\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763-\u2767\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC00-\uDCFF\uDD0D-\uDD0F\uDD2F\uDD6C-\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDAD-\uDDE5\uDE01-\uDE0F\uDE1A\uDE2F\uDE32-\uDE3A\uDE3C-\uDE3F\uDE49-\uDFFA]|\uD83D[\uDC00-\uDD3D\uDD46-\uDE4F\uDE80-\uDEFF\uDF74-\uDF7F\uDFD5-\uDFFF]|\uD83E[\uDC0C-\uDC0F\uDC48-\uDC4F\uDC5A-\uDC5F\uDC88-\uDC8F\uDCAE-\uDCFF\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDEFF]|\uD83F[\uDC00-\uDFFD])(?:[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09BE\u09C1-\u09C4\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01\u0B3C\u0B3E\u0B3F\u0B41-\u0B44\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B82\u0BBE\u0BC0\u0BCD\u0BD7\u0C00\u0C04\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81\u0CBC\u0CBF\u0CC2\u0CC6\u0CCC\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00\u0D01\u0D3B\u0D3C\u0D3E\u0D41-\u0D44\u0D4D\u0D57\u0D62\u0D63\u0D81\u0DCA\u0DCF\u0DD2-\u0DD4\u0DD6\u0DDF\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1AC0\u1B00-\u1B03\u1B34-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u200C\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA825\uA826\uA82C\uA8C4\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9BD\uA9E5\uAA29-\uAA2E\uAA31\uAA32\uAA35\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEC\uAAED\uAAF6\uABE5\uABE8\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFF9E\uFF9F]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD803[\uDD24-\uDD27\uDEAB\uDEAC\uDF46-\uDF50]|\uD804[\uDC01\uDC38-\uDC46\uDC7F-\uDC81\uDCB3-\uDCB6\uDCB9\uDCBA\uDD00-\uDD02\uDD27-\uDD2B\uDD2D-\uDD34\uDD73\uDD80\uDD81\uDDB6-\uDDBE\uDDC9-\uDDCC\uDDCF\uDE2F-\uDE31\uDE34\uDE36\uDE37\uDE3E\uDEDF\uDEE3-\uDEEA\uDF00\uDF01\uDF3B\uDF3C\uDF3E\uDF40\uDF57\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC38-\uDC3F\uDC42-\uDC44\uDC46\uDC5E\uDCB0\uDCB3-\uDCB8\uDCBA\uDCBD\uDCBF\uDCC0\uDCC2\uDCC3\uDDAF\uDDB2-\uDDB5\uDDBC\uDDBD\uDDBF\uDDC0\uDDDC\uDDDD\uDE33-\uDE3A\uDE3D\uDE3F\uDE40\uDEAB\uDEAD\uDEB0-\uDEB5\uDEB7\uDF1D-\uDF1F\uDF22-\uDF25\uDF27-\uDF2B]|\uD806[\uDC2F-\uDC37\uDC39\uDC3A\uDD30\uDD3B\uDD3C\uDD3E\uDD43\uDDD4-\uDDD7\uDDDA\uDDDB\uDDE0\uDE01-\uDE0A\uDE33-\uDE38\uDE3B-\uDE3E\uDE47\uDE51-\uDE56\uDE59-\uDE5B\uDE8A-\uDE96\uDE98\uDE99]|\uD807[\uDC30-\uDC36\uDC38-\uDC3D\uDC3F\uDC92-\uDCA7\uDCAA-\uDCB0\uDCB2\uDCB3\uDCB5\uDCB6\uDD31-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD45\uDD47\uDD90\uDD91\uDD95\uDD97\uDEF3\uDEF4]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF4F\uDF8F-\uDF92\uDFE4]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65\uDD67-\uDD69\uDD6E-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDD30-\uDD36\uDEEC-\uDEEF]|\uD83A[\uDCD0-\uDCD6\uDD44-\uDD4A]|\uD83C[\uDFFB-\uDFFF]|\uDB40[\uDC20-\uDC7F\uDD00-\uDDEF])*\u200D$/; + + var endsWithEmojiZWJ = function endsWithEmojiZWJ(str) { + return str.search(endingEmojiZWJ) !== -1; + }; + + var endingRIs = /(?:\uD83C[\uDDE6-\uDDFF])+$/g; + + var endsWithOddNumberOfRIs = function endsWithOddNumberOfRIs(str) { + var match = str.match(endingRIs); + + if (match === null) { + return false; + } else { + // A RI is represented by a surrogate pair. + var numRIs = match[0].length / 2; + return numRIs % 2 === 1; + } + }; + + /** + * Shared the function with isElementType utility + */ + + var isElement = function isElement(value) { + return isPlainObject.isPlainObject(value) && Node$1.isNodeList(value.children) && !Editor.isEditor(value); + }; + + var Element$1 = { + /** + * Check if a value implements the 'Ancestor' interface. + */ + isAncestor: function isAncestor(value) { + return isPlainObject.isPlainObject(value) && Node$1.isNodeList(value.children); + }, + + /** + * Check if a value implements the `Element` interface. + */ + isElement: isElement, + + /** + * Check if a value is an array of `Element` objects. + */ + isElementList: function isElementList(value) { + return Array.isArray(value) && value.every(function (val) { + return Element$1.isElement(val); + }); + }, + + /** + * Check if a set of props is a partial of Element. + */ + isElementProps: function isElementProps(props) { + return props.children !== undefined; + }, + + /** + * Check if a value implements the `Element` interface and has elementKey with selected value. + * Default it check to `type` key value + */ + isElementType: function isElementType(value, elementVal) { + var elementKey = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'type'; + return isElement(value) && value[elementKey] === elementVal; + }, + + /** + * Check if an element matches set of properties. + * + * Note: this checks custom properties, and it does not ensure that any + * children are equivalent. + */ + matches: function matches(element, props) { + for (var key in props) { + if (key === 'children') { + continue; + } + + if (element[key] !== props[key]) { + return false; + } + } + + return true; + } + }; + + var _excluded$4 = ["text"], + _excluded2$3 = ["text"]; + + function ownKeys$8(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; } + + function _objectSpread$8(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$8(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$8(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + + function _createForOfIteratorHelper$5(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray$5(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; } + + function _unsupportedIterableToArray$5(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray$5(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$5(o, minLen); } + + function _arrayLikeToArray$5(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } + var IS_EDITOR_CACHE = new WeakMap(); + var Editor = { + /** + * Get the ancestor above a location in the document. + */ + above: function above(editor) { + var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + var _options$voids = options.voids, + voids = _options$voids === void 0 ? false : _options$voids, + _options$mode = options.mode, + mode = _options$mode === void 0 ? 'lowest' : _options$mode, + _options$at = options.at, + at = _options$at === void 0 ? editor.selection : _options$at, + match = options.match; + + if (!at) { + return; + } + + var path = Editor.path(editor, at); + var reverse = mode === 'lowest'; + + var _iterator = _createForOfIteratorHelper$5(Editor.levels(editor, { + at: path, + voids: voids, + match: match, + reverse: reverse + })), + _step; + + try { + for (_iterator.s(); !(_step = _iterator.n()).done;) { + var _step$value = _slicedToArray(_step.value, 2), + n = _step$value[0], + p = _step$value[1]; + + if (!Text.isText(n) && !Path.equals(path, p)) { + return [n, p]; + } + } + } catch (err) { + _iterator.e(err); + } finally { + _iterator.f(); + } + }, + + /** + * Add a custom property to the leaf text nodes in the current selection. + * + * If the selection is currently collapsed, the marks will be added to the + * `editor.marks` property instead, and applied when text is inserted next. + */ + addMark: function addMark(editor, key, value) { + editor.addMark(key, value); + }, + + /** + * Get the point after a location. + */ + after: function after(editor, at) { + var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; + var anchor = Editor.point(editor, at, { + edge: 'end' + }); + var focus = Editor.end(editor, []); + var range = { + anchor: anchor, + focus: focus + }; + var _options$distance = options.distance, + distance = _options$distance === void 0 ? 1 : _options$distance; + var d = 0; + var target; + + var _iterator2 = _createForOfIteratorHelper$5(Editor.positions(editor, _objectSpread$8(_objectSpread$8({}, options), {}, { + at: range + }))), + _step2; + + try { + for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) { + var p = _step2.value; + + if (d > distance) { + break; + } + + if (d !== 0) { + target = p; + } + + d++; + } + } catch (err) { + _iterator2.e(err); + } finally { + _iterator2.f(); + } + + return target; + }, + + /** + * Get the point before a location. + */ + before: function before(editor, at) { + var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; + var anchor = Editor.start(editor, []); + var focus = Editor.point(editor, at, { + edge: 'start' + }); + var range = { + anchor: anchor, + focus: focus + }; + var _options$distance2 = options.distance, + distance = _options$distance2 === void 0 ? 1 : _options$distance2; + var d = 0; + var target; + + var _iterator3 = _createForOfIteratorHelper$5(Editor.positions(editor, _objectSpread$8(_objectSpread$8({}, options), {}, { + at: range, + reverse: true + }))), + _step3; + + try { + for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) { + var p = _step3.value; + + if (d > distance) { + break; + } + + if (d !== 0) { + target = p; + } + + d++; + } + } catch (err) { + _iterator3.e(err); + } finally { + _iterator3.f(); + } + + return target; + }, + + /** + * Delete content in the editor backward from the current selection. + */ + deleteBackward: function deleteBackward(editor) { + var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + var _options$unit = options.unit, + unit = _options$unit === void 0 ? 'character' : _options$unit; + editor.deleteBackward(unit); + }, + + /** + * Delete content in the editor forward from the current selection. + */ + deleteForward: function deleteForward(editor) { + var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + var _options$unit2 = options.unit, + unit = _options$unit2 === void 0 ? 'character' : _options$unit2; + editor.deleteForward(unit); + }, + + /** + * Delete the content in the current selection. + */ + deleteFragment: function deleteFragment(editor) { + var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + var _options$direction = options.direction, + direction = _options$direction === void 0 ? 'forward' : _options$direction; + editor.deleteFragment(direction); + }, + + /** + * Get the start and end points of a location. + */ + edges: function edges(editor, at) { + return [Editor.start(editor, at), Editor.end(editor, at)]; + }, + + /** + * Get the end point of a location. + */ + end: function end(editor, at) { + return Editor.point(editor, at, { + edge: 'end' + }); + }, + + /** + * Get the first node at a location. + */ + first: function first(editor, at) { + var path = Editor.path(editor, at, { + edge: 'start' + }); + return Editor.node(editor, path); + }, + + /** + * Get the fragment at a location. + */ + fragment: function fragment(editor, at) { + var range = Editor.range(editor, at); + var fragment = Node$1.fragment(editor, range); + return fragment; + }, + + /** + * Check if a node has block children. + */ + hasBlocks: function hasBlocks(editor, element) { + return element.children.some(function (n) { + return Editor.isBlock(editor, n); + }); + }, + + /** + * Check if a node has inline and text children. + */ + hasInlines: function hasInlines(editor, element) { + return element.children.some(function (n) { + return Text.isText(n) || Editor.isInline(editor, n); + }); + }, + + /** + * Check if a node has text children. + */ + hasTexts: function hasTexts(editor, element) { + return element.children.every(function (n) { + return Text.isText(n); + }); + }, + + /** + * Insert a block break at the current selection. + * + * If the selection is currently expanded, it will be deleted first. + */ + insertBreak: function insertBreak(editor) { + editor.insertBreak(); + }, + + /** + * Insert a fragment at the current selection. + * + * If the selection is currently expanded, it will be deleted first. + */ + insertFragment: function insertFragment(editor, fragment) { + editor.insertFragment(fragment); + }, + + /** + * Insert a node at the current selection. + * + * If the selection is currently expanded, it will be deleted first. + */ + insertNode: function insertNode(editor, node) { + editor.insertNode(node); + }, + + /** + * Insert text at the current selection. + * + * If the selection is currently expanded, it will be deleted first. + */ + insertText: function insertText(editor, text) { + editor.insertText(text); + }, + + /** + * Check if a value is a block `Element` object. + */ + isBlock: function isBlock(editor, value) { + return Element$1.isElement(value) && !editor.isInline(value); + }, + + /** + * Check if a value is an `Editor` object. + */ + isEditor: function isEditor(value) { + if (!isPlainObject.isPlainObject(value)) return false; + var cachedIsEditor = IS_EDITOR_CACHE.get(value); + + if (cachedIsEditor !== undefined) { + return cachedIsEditor; + } + + var isEditor = typeof value.addMark === 'function' && typeof value.apply === 'function' && typeof value.deleteBackward === 'function' && typeof value.deleteForward === 'function' && typeof value.deleteFragment === 'function' && typeof value.insertBreak === 'function' && typeof value.insertFragment === 'function' && typeof value.insertNode === 'function' && typeof value.insertText === 'function' && typeof value.isInline === 'function' && typeof value.isVoid === 'function' && typeof value.normalizeNode === 'function' && typeof value.onChange === 'function' && typeof value.removeMark === 'function' && (value.marks === null || isPlainObject.isPlainObject(value.marks)) && (value.selection === null || Range.isRange(value.selection)) && Node$1.isNodeList(value.children) && Operation.isOperationList(value.operations); + IS_EDITOR_CACHE.set(value, isEditor); + return isEditor; + }, + + /** + * Check if a point is the end point of a location. + */ + isEnd: function isEnd(editor, point, at) { + var end = Editor.end(editor, at); + return Point.equals(point, end); + }, + + /** + * Check if a point is an edge of a location. + */ + isEdge: function isEdge(editor, point, at) { + return Editor.isStart(editor, point, at) || Editor.isEnd(editor, point, at); + }, + + /** + * Check if an element is empty, accounting for void nodes. + */ + isEmpty: function isEmpty(editor, element) { + var children = element.children; + + var _children = _slicedToArray(children, 1), + first = _children[0]; + + return children.length === 0 || children.length === 1 && Text.isText(first) && first.text === '' && !editor.isVoid(element); + }, + + /** + * Check if a value is an inline `Element` object. + */ + isInline: function isInline(editor, value) { + return Element$1.isElement(value) && editor.isInline(value); + }, + + /** + * Check if the editor is currently normalizing after each operation. + */ + isNormalizing: function isNormalizing(editor) { + var isNormalizing = NORMALIZING.get(editor); + return isNormalizing === undefined ? true : isNormalizing; + }, + + /** + * Check if a point is the start point of a location. + */ + isStart: function isStart(editor, point, at) { + // PERF: If the offset isn't `0` we know it's not the start. + if (point.offset !== 0) { + return false; + } + + var start = Editor.start(editor, at); + return Point.equals(point, start); + }, + + /** + * Check if a value is a void `Element` object. + */ + isVoid: function isVoid(editor, value) { + return Element$1.isElement(value) && editor.isVoid(value); + }, + + /** + * Get the last node at a location. + */ + last: function last(editor, at) { + var path = Editor.path(editor, at, { + edge: 'end' + }); + return Editor.node(editor, path); + }, + + /** + * Get the leaf text node at a location. + */ + leaf: function leaf(editor, at) { + var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; + var path = Editor.path(editor, at, options); + var node = Node$1.leaf(editor, path); + return [node, path]; + }, + + /** + * Iterate through all of the levels at a location. + */ + levels: function* levels(editor) { + var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + var _options$at2 = options.at, + at = _options$at2 === void 0 ? editor.selection : _options$at2, + _options$reverse = options.reverse, + reverse = _options$reverse === void 0 ? false : _options$reverse, + _options$voids2 = options.voids, + voids = _options$voids2 === void 0 ? false : _options$voids2; + var match = options.match; + + if (match == null) { + match = function match() { + return true; + }; + } + + if (!at) { + return; + } + + var levels = []; + var path = Editor.path(editor, at); + + var _iterator4 = _createForOfIteratorHelper$5(Node$1.levels(editor, path)), + _step4; + + try { + for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) { + var _step4$value = _slicedToArray(_step4.value, 2), + n = _step4$value[0], + p = _step4$value[1]; + + if (!match(n, p)) { + continue; + } + + levels.push([n, p]); + + if (!voids && Editor.isVoid(editor, n)) { + break; + } + } + } catch (err) { + _iterator4.e(err); + } finally { + _iterator4.f(); + } + + if (reverse) { + levels.reverse(); + } + + yield* levels; + }, + + /** + * Get the marks that would be added to text at the current selection. + */ + marks: function marks(editor) { + var marks = editor.marks, + selection = editor.selection; + + if (!selection) { + return null; + } + + if (marks) { + return marks; + } + + if (Range.isExpanded(selection)) { + var _Editor$nodes = Editor.nodes(editor, { + match: Text.isText + }), + _Editor$nodes2 = _slicedToArray(_Editor$nodes, 1), + match = _Editor$nodes2[0]; + + if (match) { + var _match = _slicedToArray(match, 1), + _node = _match[0]; + + _node.text; + var _rest = _objectWithoutProperties(_node, _excluded$4); + + return _rest; + } else { + return {}; + } + } + + var anchor = selection.anchor; + var path = anchor.path; + + var _Editor$leaf = Editor.leaf(editor, path), + _Editor$leaf2 = _slicedToArray(_Editor$leaf, 1), + node = _Editor$leaf2[0]; + + if (anchor.offset === 0) { + var prev = Editor.previous(editor, { + at: path, + match: Text.isText + }); + var block = Editor.above(editor, { + match: function match(n) { + return Editor.isBlock(editor, n); + } + }); + + if (prev && block) { + var _prev = _slicedToArray(prev, 2), + prevNode = _prev[0], + prevPath = _prev[1]; + + var _block = _slicedToArray(block, 2), + blockPath = _block[1]; + + if (Path.isAncestor(blockPath, prevPath)) { + node = prevNode; + } + } + } + + var _node2 = node; + _node2.text; + var rest = _objectWithoutProperties(_node2, _excluded2$3); + + return rest; + }, + + /** + * Get the matching node in the branch of the document after a location. + */ + next: function next(editor) { + var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + var _options$mode2 = options.mode, + mode = _options$mode2 === void 0 ? 'lowest' : _options$mode2, + _options$voids3 = options.voids, + voids = _options$voids3 === void 0 ? false : _options$voids3; + var match = options.match, + _options$at3 = options.at, + at = _options$at3 === void 0 ? editor.selection : _options$at3; + + if (!at) { + return; + } + + var pointAfterLocation = Editor.after(editor, at, { + voids: voids + }); + if (!pointAfterLocation) return; + + var _Editor$last = Editor.last(editor, []), + _Editor$last2 = _slicedToArray(_Editor$last, 2), + to = _Editor$last2[1]; + + var span = [pointAfterLocation.path, to]; + + if (Path.isPath(at) && at.length === 0) { + throw new Error("Cannot get the next node from the root node!"); + } + + if (match == null) { + if (Path.isPath(at)) { + var _Editor$parent = Editor.parent(editor, at), + _Editor$parent2 = _slicedToArray(_Editor$parent, 1), + parent = _Editor$parent2[0]; + + match = function match(n) { + return parent.children.includes(n); + }; + } else { + match = function match() { + return true; + }; + } + } + + var _Editor$nodes3 = Editor.nodes(editor, { + at: span, + match: match, + mode: mode, + voids: voids + }), + _Editor$nodes4 = _slicedToArray(_Editor$nodes3, 1), + next = _Editor$nodes4[0]; + + return next; + }, + + /** + * Get the node at a location. + */ + node: function node(editor, at) { + var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; + var path = Editor.path(editor, at, options); + var node = Node$1.get(editor, path); + return [node, path]; + }, + + /** + * Iterate through all of the nodes in the Editor. + */ + nodes: function* nodes(editor) { + var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + var _options$at4 = options.at, + at = _options$at4 === void 0 ? editor.selection : _options$at4, + _options$mode3 = options.mode, + mode = _options$mode3 === void 0 ? 'all' : _options$mode3, + _options$universal = options.universal, + universal = _options$universal === void 0 ? false : _options$universal, + _options$reverse2 = options.reverse, + reverse = _options$reverse2 === void 0 ? false : _options$reverse2, + _options$voids4 = options.voids, + voids = _options$voids4 === void 0 ? false : _options$voids4; + var match = options.match; + + if (!match) { + match = function match() { + return true; + }; + } + + if (!at) { + return; + } + + var from; + var to; + + if (Span.isSpan(at)) { + from = at[0]; + to = at[1]; + } else { + var first = Editor.path(editor, at, { + edge: 'start' + }); + var last = Editor.path(editor, at, { + edge: 'end' + }); + from = reverse ? last : first; + to = reverse ? first : last; + } + + var nodeEntries = Node$1.nodes(editor, { + reverse: reverse, + from: from, + to: to, + pass: function pass(_ref) { + var _ref2 = _slicedToArray(_ref, 1), + n = _ref2[0]; + + return voids ? false : Editor.isVoid(editor, n); + } + }); + var matches = []; + var hit; + + var _iterator5 = _createForOfIteratorHelper$5(nodeEntries), + _step5; + + try { + for (_iterator5.s(); !(_step5 = _iterator5.n()).done;) { + var _step5$value = _slicedToArray(_step5.value, 2), + node = _step5$value[0], + path = _step5$value[1]; + + var isLower = hit && Path.compare(path, hit[1]) === 0; // In highest mode any node lower than the last hit is not a match. + + if (mode === 'highest' && isLower) { + continue; + } + + if (!match(node, path)) { + // If we've arrived at a leaf text node that is not lower than the last + // hit, then we've found a branch that doesn't include a match, which + // means the match is not universal. + if (universal && !isLower && Text.isText(node)) { + return; + } else { + continue; + } + } // If there's a match and it's lower than the last, update the hit. + + + if (mode === 'lowest' && isLower) { + hit = [node, path]; + continue; + } // In lowest mode we emit the last hit, once it's guaranteed lowest. + + + var emit = mode === 'lowest' ? hit : [node, path]; + + if (emit) { + if (universal) { + matches.push(emit); + } else { + yield emit; + } + } + + hit = [node, path]; + } // Since lowest is always emitting one behind, catch up at the end. + + } catch (err) { + _iterator5.e(err); + } finally { + _iterator5.f(); + } + + if (mode === 'lowest' && hit) { + if (universal) { + matches.push(hit); + } else { + yield hit; + } + } // Universal defers to ensure that the match occurs in every branch, so we + // yield all of the matches after iterating. + + + if (universal) { + yield* matches; + } + }, + + /** + * Normalize any dirty objects in the editor. + */ + normalize: function normalize(editor) { + var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + var _options$force = options.force, + force = _options$force === void 0 ? false : _options$force; + + var getDirtyPaths = function getDirtyPaths(editor) { + return DIRTY_PATHS.get(editor) || []; + }; + + if (!Editor.isNormalizing(editor)) { + return; + } + + if (force) { + var allPaths = Array.from(Node$1.nodes(editor), function (_ref3) { + var _ref4 = _slicedToArray(_ref3, 2), + p = _ref4[1]; + + return p; + }); + DIRTY_PATHS.set(editor, allPaths); + } + + if (getDirtyPaths(editor).length === 0) { + return; + } + + Editor.withoutNormalizing(editor, function () { + /* + Fix dirty elements with no children. + editor.normalizeNode() does fix this, but some normalization fixes also require it to work. + Running an initial pass avoids the catch-22 race condition. + */ + var _iterator6 = _createForOfIteratorHelper$5(getDirtyPaths(editor)), + _step6; + + try { + for (_iterator6.s(); !(_step6 = _iterator6.n()).done;) { + var _dirtyPath = _step6.value; + + if (Node$1.has(editor, _dirtyPath)) { + var _entry = Editor.node(editor, _dirtyPath); + + var _entry2 = _slicedToArray(_entry, 2), + node = _entry2[0], + _ = _entry2[1]; + /* + The default normalizer inserts an empty text node in this scenario, but it can be customised. + So there is some risk here. + As long as the normalizer only inserts child nodes for this case it is safe to do in any order; + by definition adding children to an empty node can't cause other paths to change. + */ + + + if (Element$1.isElement(node) && node.children.length === 0) { + editor.normalizeNode(_entry); + } + } + } + } catch (err) { + _iterator6.e(err); + } finally { + _iterator6.f(); + } + + var max = getDirtyPaths(editor).length * 42; // HACK: better way? + + var m = 0; + + while (getDirtyPaths(editor).length !== 0) { + if (m > max) { + throw new Error("\n Could not completely normalize the editor after ".concat(max, " iterations! This is usually due to incorrect normalization logic that leaves a node in an invalid state.\n ")); + } + + var dirtyPath = getDirtyPaths(editor).pop(); // If the node doesn't exist in the tree, it does not need to be normalized. + + if (Node$1.has(editor, dirtyPath)) { + var entry = Editor.node(editor, dirtyPath); + editor.normalizeNode(entry); + } + + m++; + } + }); + }, + + /** + * Get the parent node of a location. + */ + parent: function parent(editor, at) { + var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; + var path = Editor.path(editor, at, options); + var parentPath = Path.parent(path); + var entry = Editor.node(editor, parentPath); + return entry; + }, + + /** + * Get the path of a location. + */ + path: function path(editor, at) { + var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; + var depth = options.depth, + edge = options.edge; + + if (Path.isPath(at)) { + if (edge === 'start') { + var _Node$first = Node$1.first(editor, at), + _Node$first2 = _slicedToArray(_Node$first, 2), + firstPath = _Node$first2[1]; + + at = firstPath; + } else if (edge === 'end') { + var _Node$last = Node$1.last(editor, at), + _Node$last2 = _slicedToArray(_Node$last, 2), + lastPath = _Node$last2[1]; + + at = lastPath; + } + } + + if (Range.isRange(at)) { + if (edge === 'start') { + at = Range.start(at); + } else if (edge === 'end') { + at = Range.end(at); + } else { + at = Path.common(at.anchor.path, at.focus.path); + } + } + + if (Point.isPoint(at)) { + at = at.path; + } + + if (depth != null) { + at = at.slice(0, depth); + } + + return at; + }, + hasPath: function hasPath(editor, path) { + return Node$1.has(editor, path); + }, + + /** + * Create a mutable ref for a `Path` object, which will stay in sync as new + * operations are applied to the editor. + */ + pathRef: function pathRef(editor, path) { + var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; + var _options$affinity = options.affinity, + affinity = _options$affinity === void 0 ? 'forward' : _options$affinity; + var ref = { + current: path, + affinity: affinity, + unref: function unref() { + var current = ref.current; + var pathRefs = Editor.pathRefs(editor); + pathRefs["delete"](ref); + ref.current = null; + return current; + } + }; + var refs = Editor.pathRefs(editor); + refs.add(ref); + return ref; + }, + + /** + * Get the set of currently tracked path refs of the editor. + */ + pathRefs: function pathRefs(editor) { + var refs = PATH_REFS.get(editor); + + if (!refs) { + refs = new Set(); + PATH_REFS.set(editor, refs); + } + + return refs; + }, + + /** + * Get the start or end point of a location. + */ + point: function point(editor, at) { + var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; + var _options$edge = options.edge, + edge = _options$edge === void 0 ? 'start' : _options$edge; + + if (Path.isPath(at)) { + var path; + + if (edge === 'end') { + var _Node$last3 = Node$1.last(editor, at), + _Node$last4 = _slicedToArray(_Node$last3, 2), + lastPath = _Node$last4[1]; + + path = lastPath; + } else { + var _Node$first3 = Node$1.first(editor, at), + _Node$first4 = _slicedToArray(_Node$first3, 2), + firstPath = _Node$first4[1]; + + path = firstPath; + } + + var node = Node$1.get(editor, path); + + if (!Text.isText(node)) { + throw new Error("Cannot get the ".concat(edge, " point in the node at path [").concat(at, "] because it has no ").concat(edge, " text node.")); + } + + return { + path: path, + offset: edge === 'end' ? node.text.length : 0 + }; + } + + if (Range.isRange(at)) { + var _Range$edges = Range.edges(at), + _Range$edges2 = _slicedToArray(_Range$edges, 2), + start = _Range$edges2[0], + end = _Range$edges2[1]; + + return edge === 'start' ? start : end; + } + + return at; + }, + + /** + * Create a mutable ref for a `Point` object, which will stay in sync as new + * operations are applied to the editor. + */ + pointRef: function pointRef(editor, point) { + var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; + var _options$affinity2 = options.affinity, + affinity = _options$affinity2 === void 0 ? 'forward' : _options$affinity2; + var ref = { + current: point, + affinity: affinity, + unref: function unref() { + var current = ref.current; + var pointRefs = Editor.pointRefs(editor); + pointRefs["delete"](ref); + ref.current = null; + return current; + } + }; + var refs = Editor.pointRefs(editor); + refs.add(ref); + return ref; + }, + + /** + * Get the set of currently tracked point refs of the editor. + */ + pointRefs: function pointRefs(editor) { + var refs = POINT_REFS.get(editor); + + if (!refs) { + refs = new Set(); + POINT_REFS.set(editor, refs); + } + + return refs; + }, + + /** + * Return all the positions in `at` range where a `Point` can be placed. + * + * By default, moves forward by individual offsets at a time, but + * the `unit` option can be used to to move by character, word, line, or block. + * + * The `reverse` option can be used to change iteration direction. + * + * Note: By default void nodes are treated as a single point and iteration + * will not happen inside their content unless you pass in true for the + * `voids` option, then iteration will occur. + */ + positions: function* positions(editor) { + var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + var _options$at5 = options.at, + at = _options$at5 === void 0 ? editor.selection : _options$at5, + _options$unit3 = options.unit, + unit = _options$unit3 === void 0 ? 'offset' : _options$unit3, + _options$reverse3 = options.reverse, + reverse = _options$reverse3 === void 0 ? false : _options$reverse3, + _options$voids5 = options.voids, + voids = _options$voids5 === void 0 ? false : _options$voids5; + + if (!at) { + return; + } + /** + * Algorithm notes: + * + * Each step `distance` is dynamic depending on the underlying text + * and the `unit` specified. Each step, e.g., a line or word, may + * span multiple text nodes, so we iterate through the text both on + * two levels in step-sync: + * + * `leafText` stores the text on a text leaf level, and is advanced + * through using the counters `leafTextOffset` and `leafTextRemaining`. + * + * `blockText` stores the text on a block level, and is shortened + * by `distance` every time it is advanced. + * + * We only maintain a window of one blockText and one leafText because + * a block node always appears before all of its leaf nodes. + */ + + + var range = Editor.range(editor, at); + + var _Range$edges3 = Range.edges(range), + _Range$edges4 = _slicedToArray(_Range$edges3, 2), + start = _Range$edges4[0], + end = _Range$edges4[1]; + + var first = reverse ? end : start; + var isNewBlock = false; + var blockText = ''; + var distance = 0; // Distance for leafText to catch up to blockText. + + var leafTextRemaining = 0; + var leafTextOffset = 0; // Iterate through all nodes in range, grabbing entire textual content + // of block nodes in blockText, and text nodes in leafText. + // Exploits the fact that nodes are sequenced in such a way that we first + // encounter the block node, then all of its text nodes, so when iterating + // through the blockText and leafText we just need to remember a window of + // one block node and leaf node, respectively. + + var _iterator7 = _createForOfIteratorHelper$5(Editor.nodes(editor, { + at: at, + reverse: reverse, + voids: voids + })), + _step7; + + try { + for (_iterator7.s(); !(_step7 = _iterator7.n()).done;) { + var _step7$value = _slicedToArray(_step7.value, 2), + node = _step7$value[0], + path = _step7$value[1]; + + /* + * ELEMENT NODE - Yield position(s) for voids, collect blockText for blocks + */ + if (Element$1.isElement(node)) { + // Void nodes are a special case, so by default we will always + // yield their first point. If the `voids` option is set to true, + // then we will iterate over their content. + if (!voids && editor.isVoid(node)) { + yield Editor.start(editor, path); + continue; + } // Inline element nodes are ignored as they don't themselves + // contribute to `blockText` or `leafText` - their parent and + // children do. + + + if (editor.isInline(node)) continue; // Block element node - set `blockText` to its text content. + + if (Editor.hasInlines(editor, node)) { + // We always exhaust block nodes before encountering a new one: + // console.assert(blockText === '', + // `blockText='${blockText}' - `+ + // `not exhausted before new block node`, path) + // Ensure range considered is capped to `range`, in the + // start/end edge cases where block extends beyond range. + // Equivalent to this, but presumably more performant: + // blockRange = Editor.range(editor, ...Editor.edges(editor, path)) + // blockRange = Range.intersection(range, blockRange) // intersect + // blockText = Editor.string(editor, blockRange, { voids }) + var e = Path.isAncestor(path, end.path) ? end : Editor.end(editor, path); + var s = Path.isAncestor(path, start.path) ? start : Editor.start(editor, path); + blockText = Editor.string(editor, { + anchor: s, + focus: e + }, { + voids: voids + }); + isNewBlock = true; + } + } + /* + * TEXT LEAF NODE - Iterate through text content, yielding + * positions every `distance` offset according to `unit`. + */ + + + if (Text.isText(node)) { + var isFirst = Path.equals(path, first.path); // Proof that we always exhaust text nodes before encountering a new one: + // console.assert(leafTextRemaining <= 0, + // `leafTextRemaining=${leafTextRemaining} - `+ + // `not exhausted before new leaf text node`, path) + // Reset `leafText` counters for new text node. + + if (isFirst) { + leafTextRemaining = reverse ? first.offset : node.text.length - first.offset; + leafTextOffset = first.offset; // Works for reverse too. + } else { + leafTextRemaining = node.text.length; + leafTextOffset = reverse ? leafTextRemaining : 0; + } // Yield position at the start of node (potentially). + + + if (isFirst || isNewBlock || unit === 'offset') { + yield { + path: path, + offset: leafTextOffset + }; + isNewBlock = false; + } // Yield positions every (dynamically calculated) `distance` offset. + + + while (true) { + // If `leafText` has caught up with `blockText` (distance=0), + // and if blockText is exhausted, break to get another block node, + // otherwise advance blockText forward by the new `distance`. + if (distance === 0) { + if (blockText === '') break; + distance = calcDistance(blockText, unit, reverse); // Split the string at the previously found distance and use the + // remaining string for the next iteration. + + blockText = splitByCharacterDistance(blockText, distance, reverse)[1]; + } // Advance `leafText` by the current `distance`. + + + leafTextOffset = reverse ? leafTextOffset - distance : leafTextOffset + distance; + leafTextRemaining = leafTextRemaining - distance; // If `leafText` is exhausted, break to get a new leaf node + // and set distance to the overflow amount, so we'll (maybe) + // catch up to blockText in the next leaf text node. + + if (leafTextRemaining < 0) { + distance = -leafTextRemaining; + break; + } // Successfully walked `distance` offsets through `leafText` + // to catch up with `blockText`, so we can reset `distance` + // and yield this position in this node. + + + distance = 0; + yield { + path: path, + offset: leafTextOffset + }; + } + } + } // Proof that upon completion, we've exahusted both leaf and block text: + // console.assert(leafTextRemaining <= 0, "leafText wasn't exhausted") + // console.assert(blockText === '', "blockText wasn't exhausted") + // Helper: + // Return the distance in offsets for a step of size `unit` on given string. + + } catch (err) { + _iterator7.e(err); + } finally { + _iterator7.f(); + } + + function calcDistance(text, unit, reverse) { + if (unit === 'character') { + return getCharacterDistance(text, reverse); + } else if (unit === 'word') { + return getWordDistance(text, reverse); + } else if (unit === 'line' || unit === 'block') { + return text.length; + } + + return 1; + } + }, + + /** + * Get the matching node in the branch of the document before a location. + */ + previous: function previous(editor) { + var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + var _options$mode4 = options.mode, + mode = _options$mode4 === void 0 ? 'lowest' : _options$mode4, + _options$voids6 = options.voids, + voids = _options$voids6 === void 0 ? false : _options$voids6; + var match = options.match, + _options$at6 = options.at, + at = _options$at6 === void 0 ? editor.selection : _options$at6; + + if (!at) { + return; + } + + var pointBeforeLocation = Editor.before(editor, at, { + voids: voids + }); + + if (!pointBeforeLocation) { + return; + } + + var _Editor$first = Editor.first(editor, []), + _Editor$first2 = _slicedToArray(_Editor$first, 2), + to = _Editor$first2[1]; // The search location is from the start of the document to the path of + // the point before the location passed in + + + var span = [pointBeforeLocation.path, to]; + + if (Path.isPath(at) && at.length === 0) { + throw new Error("Cannot get the previous node from the root node!"); + } + + if (match == null) { + if (Path.isPath(at)) { + var _Editor$parent3 = Editor.parent(editor, at), + _Editor$parent4 = _slicedToArray(_Editor$parent3, 1), + parent = _Editor$parent4[0]; + + match = function match(n) { + return parent.children.includes(n); + }; + } else { + match = function match() { + return true; + }; + } + } + + var _Editor$nodes5 = Editor.nodes(editor, { + reverse: true, + at: span, + match: match, + mode: mode, + voids: voids + }), + _Editor$nodes6 = _slicedToArray(_Editor$nodes5, 1), + previous = _Editor$nodes6[0]; + + return previous; + }, + + /** + * Get a range of a location. + */ + range: function range(editor, at, to) { + if (Range.isRange(at) && !to) { + return at; + } + + var start = Editor.start(editor, at); + var end = Editor.end(editor, to || at); + return { + anchor: start, + focus: end + }; + }, + + /** + * Create a mutable ref for a `Range` object, which will stay in sync as new + * operations are applied to the editor. + */ + rangeRef: function rangeRef(editor, range) { + var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; + var _options$affinity3 = options.affinity, + affinity = _options$affinity3 === void 0 ? 'forward' : _options$affinity3; + var ref = { + current: range, + affinity: affinity, + unref: function unref() { + var current = ref.current; + var rangeRefs = Editor.rangeRefs(editor); + rangeRefs["delete"](ref); + ref.current = null; + return current; + } + }; + var refs = Editor.rangeRefs(editor); + refs.add(ref); + return ref; + }, + + /** + * Get the set of currently tracked range refs of the editor. + */ + rangeRefs: function rangeRefs(editor) { + var refs = RANGE_REFS.get(editor); + + if (!refs) { + refs = new Set(); + RANGE_REFS.set(editor, refs); + } + + return refs; + }, + + /** + * Remove a custom property from all of the leaf text nodes in the current + * selection. + * + * If the selection is currently collapsed, the removal will be stored on + * `editor.marks` and applied to the text inserted next. + */ + removeMark: function removeMark(editor, key) { + editor.removeMark(key); + }, + + /** + * Manually set if the editor should currently be normalizing. + * + * Note: Using this incorrectly can leave the editor in an invalid state. + * + */ + setNormalizing: function setNormalizing(editor, isNormalizing) { + NORMALIZING.set(editor, isNormalizing); + }, + + /** + * Get the start point of a location. + */ + start: function start(editor, at) { + return Editor.point(editor, at, { + edge: 'start' + }); + }, + + /** + * Get the text string content of a location. + * + * Note: by default the text of void nodes is considered to be an empty + * string, regardless of content, unless you pass in true for the voids option + */ + string: function string(editor, at) { + var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; + var _options$voids7 = options.voids, + voids = _options$voids7 === void 0 ? false : _options$voids7; + var range = Editor.range(editor, at); + + var _Range$edges5 = Range.edges(range), + _Range$edges6 = _slicedToArray(_Range$edges5, 2), + start = _Range$edges6[0], + end = _Range$edges6[1]; + + var text = ''; + + var _iterator8 = _createForOfIteratorHelper$5(Editor.nodes(editor, { + at: range, + match: Text.isText, + voids: voids + })), + _step8; + + try { + for (_iterator8.s(); !(_step8 = _iterator8.n()).done;) { + var _step8$value = _slicedToArray(_step8.value, 2), + node = _step8$value[0], + path = _step8$value[1]; + + var t = node.text; + + if (Path.equals(path, end.path)) { + t = t.slice(0, end.offset); + } + + if (Path.equals(path, start.path)) { + t = t.slice(start.offset); + } + + text += t; + } + } catch (err) { + _iterator8.e(err); + } finally { + _iterator8.f(); + } + + return text; + }, + + /** + * Convert a range into a non-hanging one. + */ + unhangRange: function unhangRange(editor, range) { + var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; + var _options$voids8 = options.voids, + voids = _options$voids8 === void 0 ? false : _options$voids8; + + var _Range$edges7 = Range.edges(range), + _Range$edges8 = _slicedToArray(_Range$edges7, 2), + start = _Range$edges8[0], + end = _Range$edges8[1]; // PERF: exit early if we can guarantee that the range isn't hanging. + + + if (start.offset !== 0 || end.offset !== 0 || Range.isCollapsed(range)) { + return range; + } + + var endBlock = Editor.above(editor, { + at: end, + match: function match(n) { + return Editor.isBlock(editor, n); + } + }); + var blockPath = endBlock ? endBlock[1] : []; + var first = Editor.start(editor, []); + var before = { + anchor: first, + focus: end + }; + var skip = true; + + var _iterator9 = _createForOfIteratorHelper$5(Editor.nodes(editor, { + at: before, + match: Text.isText, + reverse: true, + voids: voids + })), + _step9; + + try { + for (_iterator9.s(); !(_step9 = _iterator9.n()).done;) { + var _step9$value = _slicedToArray(_step9.value, 2), + node = _step9$value[0], + path = _step9$value[1]; + + if (skip) { + skip = false; + continue; + } + + if (node.text !== '' || Path.isBefore(path, blockPath)) { + end = { + path: path, + offset: node.text.length + }; + break; + } + } + } catch (err) { + _iterator9.e(err); + } finally { + _iterator9.f(); + } + + return { + anchor: start, + focus: end + }; + }, + + /** + * Match a void node in the current branch of the editor. + */ + "void": function _void(editor) { + var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + return Editor.above(editor, _objectSpread$8(_objectSpread$8({}, options), {}, { + match: function match(n) { + return Editor.isVoid(editor, n); + } + })); + }, + + /** + * Call a function, deferring normalization until after it completes. + */ + withoutNormalizing: function withoutNormalizing(editor, fn) { + var value = Editor.isNormalizing(editor); + Editor.setNormalizing(editor, false); + + try { + fn(); + } finally { + Editor.setNormalizing(editor, value); + } + + Editor.normalize(editor); + } + }; + + var Location = { + /** + * Check if a value implements the `Location` interface. + */ + isLocation: function isLocation(value) { + return Path.isPath(value) || Point.isPoint(value) || Range.isRange(value); + } + }; + var Span = { + /** + * Check if a value implements the `Span` interface. + */ + isSpan: function isSpan(value) { + return Array.isArray(value) && value.length === 2 && value.every(Path.isPath); + } + }; + + var _excluded$3 = ["children"], + _excluded2$2 = ["text"]; + + function _createForOfIteratorHelper$4(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray$4(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; } + + function _unsupportedIterableToArray$4(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray$4(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$4(o, minLen); } + + function _arrayLikeToArray$4(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } + var IS_NODE_LIST_CACHE = new WeakMap(); + var Node$1 = { + /** + * Get the node at a specific path, asserting that it's an ancestor node. + */ + ancestor: function ancestor(root, path) { + var node = Node$1.get(root, path); + + if (Text.isText(node)) { + throw new Error("Cannot get the ancestor node at path [".concat(path, "] because it refers to a text node instead: ").concat(node)); + } + + return node; + }, + + /** + * Return a generator of all the ancestor nodes above a specific path. + * + * By default the order is bottom-up, from lowest to highest ancestor in + * the tree, but you can pass the `reverse: true` option to go top-down. + */ + ancestors: function* ancestors(root, path) { + var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; + + var _iterator = _createForOfIteratorHelper$4(Path.ancestors(path, options)), + _step; + + try { + for (_iterator.s(); !(_step = _iterator.n()).done;) { + var p = _step.value; + var n = Node$1.ancestor(root, p); + var entry = [n, p]; + yield entry; + } + } catch (err) { + _iterator.e(err); + } finally { + _iterator.f(); + } + }, + + /** + * Get the child of a node at a specific index. + */ + child: function child(root, index) { + if (Text.isText(root)) { + throw new Error("Cannot get the child of a text node: ".concat(JSON.stringify(root))); + } + + var c = root.children[index]; + + if (c == null) { + throw new Error("Cannot get child at index `".concat(index, "` in node: ").concat(JSON.stringify(root))); + } + + return c; + }, + + /** + * Iterate over the children of a node at a specific path. + */ + children: function* children(root, path) { + var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; + var _options$reverse = options.reverse, + reverse = _options$reverse === void 0 ? false : _options$reverse; + var ancestor = Node$1.ancestor(root, path); + var children = ancestor.children; + var index = reverse ? children.length - 1 : 0; + + while (reverse ? index >= 0 : index < children.length) { + var child = Node$1.child(ancestor, index); + var childPath = path.concat(index); + yield [child, childPath]; + index = reverse ? index - 1 : index + 1; + } + }, + + /** + * Get an entry for the common ancesetor node of two paths. + */ + common: function common(root, path, another) { + var p = Path.common(path, another); + var n = Node$1.get(root, p); + return [n, p]; + }, + + /** + * Get the node at a specific path, asserting that it's a descendant node. + */ + descendant: function descendant(root, path) { + var node = Node$1.get(root, path); + + if (Editor.isEditor(node)) { + throw new Error("Cannot get the descendant node at path [".concat(path, "] because it refers to the root editor node instead: ").concat(node)); + } + + return node; + }, + + /** + * Return a generator of all the descendant node entries inside a root node. + */ + descendants: function* descendants(root) { + var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + + var _iterator2 = _createForOfIteratorHelper$4(Node$1.nodes(root, options)), + _step2; + + try { + for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) { + var _step2$value = _slicedToArray(_step2.value, 2), + node = _step2$value[0], + path = _step2$value[1]; + + if (path.length !== 0) { + // NOTE: we have to coerce here because checking the path's length does + // guarantee that `node` is not a `Editor`, but TypeScript doesn't know. + yield [node, path]; + } + } + } catch (err) { + _iterator2.e(err); + } finally { + _iterator2.f(); + } + }, + + /** + * Return a generator of all the element nodes inside a root node. Each iteration + * will return an `ElementEntry` tuple consisting of `[Element, Path]`. If the + * root node is an element it will be included in the iteration as well. + */ + elements: function* elements(root) { + var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + + var _iterator3 = _createForOfIteratorHelper$4(Node$1.nodes(root, options)), + _step3; + + try { + for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) { + var _step3$value = _slicedToArray(_step3.value, 2), + node = _step3$value[0], + path = _step3$value[1]; + + if (Element$1.isElement(node)) { + yield [node, path]; + } + } + } catch (err) { + _iterator3.e(err); + } finally { + _iterator3.f(); + } + }, + + /** + * Extract props from a Node. + */ + extractProps: function extractProps(node) { + if (Element$1.isAncestor(node)) { + node.children; + var properties = _objectWithoutProperties(node, _excluded$3); + + return properties; + } else { + node.text; + var _properties = _objectWithoutProperties(node, _excluded2$2); + + return _properties; + } + }, + + /** + * Get the first node entry in a root node from a path. + */ + first: function first(root, path) { + var p = path.slice(); + var n = Node$1.get(root, p); + + while (n) { + if (Text.isText(n) || n.children.length === 0) { + break; + } else { + n = n.children[0]; + p.push(0); + } + } + + return [n, p]; + }, + + /** + * Get the sliced fragment represented by a range inside a root node. + */ + fragment: function fragment(root, range) { + if (Text.isText(root)) { + throw new Error("Cannot get a fragment starting from a root text node: ".concat(JSON.stringify(root))); + } + + var newRoot = immer.produce({ + children: root.children + }, function (r) { + var _Range$edges = Range.edges(range), + _Range$edges2 = _slicedToArray(_Range$edges, 2), + start = _Range$edges2[0], + end = _Range$edges2[1]; + + var nodeEntries = Node$1.nodes(r, { + reverse: true, + pass: function pass(_ref) { + var _ref2 = _slicedToArray(_ref, 2), + path = _ref2[1]; + + return !Range.includes(range, path); + } + }); + + var _iterator4 = _createForOfIteratorHelper$4(nodeEntries), + _step4; + + try { + for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) { + var _step4$value = _slicedToArray(_step4.value, 2), + path = _step4$value[1]; + + if (!Range.includes(range, path)) { + var parent = Node$1.parent(r, path); + var index = path[path.length - 1]; + parent.children.splice(index, 1); + } + + if (Path.equals(path, end.path)) { + var leaf = Node$1.leaf(r, path); + leaf.text = leaf.text.slice(0, end.offset); + } + + if (Path.equals(path, start.path)) { + var _leaf = Node$1.leaf(r, path); + + _leaf.text = _leaf.text.slice(start.offset); + } + } + } catch (err) { + _iterator4.e(err); + } finally { + _iterator4.f(); + } + + if (Editor.isEditor(r)) { + r.selection = null; + } + }); + return newRoot.children; + }, + + /** + * Get the descendant node referred to by a specific path. If the path is an + * empty array, it refers to the root node itself. + */ + get: function get(root, path) { + var node = root; + + for (var i = 0; i < path.length; i++) { + var p = path[i]; + + if (Text.isText(node) || !node.children[p]) { + throw new Error("Cannot find a descendant at path [".concat(path, "] in node: ").concat(JSON.stringify(root))); + } + + node = node.children[p]; + } + + return node; + }, + + /** + * Check if a descendant node exists at a specific path. + */ + has: function has(root, path) { + var node = root; + + for (var i = 0; i < path.length; i++) { + var p = path[i]; + + if (Text.isText(node) || !node.children[p]) { + return false; + } + + node = node.children[p]; + } + + return true; + }, + + /** + * Check if a value implements the `Node` interface. + */ + isNode: function isNode(value) { + return Text.isText(value) || Element$1.isElement(value) || Editor.isEditor(value); + }, + + /** + * Check if a value is a list of `Node` objects. + */ + isNodeList: function isNodeList(value) { + if (!Array.isArray(value)) { + return false; + } + + var cachedResult = IS_NODE_LIST_CACHE.get(value); + + if (cachedResult !== undefined) { + return cachedResult; + } + + var isNodeList = value.every(function (val) { + return Node$1.isNode(val); + }); + IS_NODE_LIST_CACHE.set(value, isNodeList); + return isNodeList; + }, + + /** + * Get the last node entry in a root node from a path. + */ + last: function last(root, path) { + var p = path.slice(); + var n = Node$1.get(root, p); + + while (n) { + if (Text.isText(n) || n.children.length === 0) { + break; + } else { + var i = n.children.length - 1; + n = n.children[i]; + p.push(i); + } + } + + return [n, p]; + }, + + /** + * Get the node at a specific path, ensuring it's a leaf text node. + */ + leaf: function leaf(root, path) { + var node = Node$1.get(root, path); + + if (!Text.isText(node)) { + throw new Error("Cannot get the leaf node at path [".concat(path, "] because it refers to a non-leaf node: ").concat(node)); + } + + return node; + }, + + /** + * Return a generator of the in a branch of the tree, from a specific path. + * + * By default the order is top-down, from lowest to highest node in the tree, + * but you can pass the `reverse: true` option to go bottom-up. + */ + levels: function* levels(root, path) { + var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; + + var _iterator5 = _createForOfIteratorHelper$4(Path.levels(path, options)), + _step5; + + try { + for (_iterator5.s(); !(_step5 = _iterator5.n()).done;) { + var p = _step5.value; + var n = Node$1.get(root, p); + yield [n, p]; + } + } catch (err) { + _iterator5.e(err); + } finally { + _iterator5.f(); + } + }, + + /** + * Check if a node matches a set of props. + */ + matches: function matches(node, props) { + return Element$1.isElement(node) && Element$1.isElementProps(props) && Element$1.matches(node, props) || Text.isText(node) && Text.isTextProps(props) && Text.matches(node, props); + }, + + /** + * Return a generator of all the node entries of a root node. Each entry is + * returned as a `[Node, Path]` tuple, with the path referring to the node's + * position inside the root node. + */ + nodes: function* nodes(root) { + var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + var pass = options.pass, + _options$reverse2 = options.reverse, + reverse = _options$reverse2 === void 0 ? false : _options$reverse2; + var _options$from = options.from, + from = _options$from === void 0 ? [] : _options$from, + to = options.to; + var visited = new Set(); + var p = []; + var n = root; + + while (true) { + if (to && (reverse ? Path.isBefore(p, to) : Path.isAfter(p, to))) { + break; + } + + if (!visited.has(n)) { + yield [n, p]; + } // If we're allowed to go downward and we haven't descended yet, do. + + + if (!visited.has(n) && !Text.isText(n) && n.children.length !== 0 && (pass == null || pass([n, p]) === false)) { + visited.add(n); + var nextIndex = reverse ? n.children.length - 1 : 0; + + if (Path.isAncestor(p, from)) { + nextIndex = from[p.length]; + } + + p = p.concat(nextIndex); + n = Node$1.get(root, p); + continue; + } // If we're at the root and we can't go down, we're done. + + + if (p.length === 0) { + break; + } // If we're going forward... + + + if (!reverse) { + var newPath = Path.next(p); + + if (Node$1.has(root, newPath)) { + p = newPath; + n = Node$1.get(root, p); + continue; + } + } // If we're going backward... + + + if (reverse && p[p.length - 1] !== 0) { + var _newPath = Path.previous(p); + + p = _newPath; + n = Node$1.get(root, p); + continue; + } // Otherwise we're going upward... + + + p = Path.parent(p); + n = Node$1.get(root, p); + visited.add(n); + } + }, + + /** + * Get the parent of a node at a specific path. + */ + parent: function parent(root, path) { + var parentPath = Path.parent(path); + var p = Node$1.get(root, parentPath); + + if (Text.isText(p)) { + throw new Error("Cannot get the parent of path [".concat(path, "] because it does not exist in the root.")); + } + + return p; + }, + + /** + * Get the concatenated text string of a node's content. + * + * Note that this will not include spaces or line breaks between block nodes. + * It is not a user-facing string, but a string for performing offset-related + * computations for a node. + */ + string: function string(node) { + if (Text.isText(node)) { + return node.text; + } else { + return node.children.map(Node$1.string).join(''); + } + }, + + /** + * Return a generator of all leaf text nodes in a root node. + */ + texts: function* texts(root) { + var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + + var _iterator6 = _createForOfIteratorHelper$4(Node$1.nodes(root, options)), + _step6; + + try { + for (_iterator6.s(); !(_step6 = _iterator6.n()).done;) { + var _step6$value = _slicedToArray(_step6.value, 2), + node = _step6$value[0], + path = _step6$value[1]; + + if (Text.isText(node)) { + yield [node, path]; + } + } + } catch (err) { + _iterator6.e(err); + } finally { + _iterator6.f(); + } + } + }; + + function ownKeys$7(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; } + + function _objectSpread$7(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$7(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$7(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + var Operation = { + /** + * Check of a value is a `NodeOperation` object. + */ + isNodeOperation: function isNodeOperation(value) { + return Operation.isOperation(value) && value.type.endsWith('_node'); + }, + + /** + * Check of a value is an `Operation` object. + */ + isOperation: function isOperation(value) { + if (!isPlainObject.isPlainObject(value)) { + return false; + } + + switch (value.type) { + case 'insert_node': + return Path.isPath(value.path) && Node$1.isNode(value.node); + + case 'insert_text': + return typeof value.offset === 'number' && typeof value.text === 'string' && Path.isPath(value.path); + + case 'merge_node': + return typeof value.position === 'number' && Path.isPath(value.path) && isPlainObject.isPlainObject(value.properties); + + case 'move_node': + return Path.isPath(value.path) && Path.isPath(value.newPath); + + case 'remove_node': + return Path.isPath(value.path) && Node$1.isNode(value.node); + + case 'remove_text': + return typeof value.offset === 'number' && typeof value.text === 'string' && Path.isPath(value.path); + + case 'set_node': + return Path.isPath(value.path) && isPlainObject.isPlainObject(value.properties) && isPlainObject.isPlainObject(value.newProperties); + + case 'set_selection': + return value.properties === null && Range.isRange(value.newProperties) || value.newProperties === null && Range.isRange(value.properties) || isPlainObject.isPlainObject(value.properties) && isPlainObject.isPlainObject(value.newProperties); + + case 'split_node': + return Path.isPath(value.path) && typeof value.position === 'number' && isPlainObject.isPlainObject(value.properties); + + default: + return false; + } + }, + + /** + * Check if a value is a list of `Operation` objects. + */ + isOperationList: function isOperationList(value) { + return Array.isArray(value) && value.every(function (val) { + return Operation.isOperation(val); + }); + }, + + /** + * Check of a value is a `SelectionOperation` object. + */ + isSelectionOperation: function isSelectionOperation(value) { + return Operation.isOperation(value) && value.type.endsWith('_selection'); + }, + + /** + * Check of a value is a `TextOperation` object. + */ + isTextOperation: function isTextOperation(value) { + return Operation.isOperation(value) && value.type.endsWith('_text'); + }, + + /** + * Invert an operation, returning a new operation that will exactly undo the + * original when applied. + */ + inverse: function inverse(op) { + switch (op.type) { + case 'insert_node': + { + return _objectSpread$7(_objectSpread$7({}, op), {}, { + type: 'remove_node' + }); + } + + case 'insert_text': + { + return _objectSpread$7(_objectSpread$7({}, op), {}, { + type: 'remove_text' + }); + } + + case 'merge_node': + { + return _objectSpread$7(_objectSpread$7({}, op), {}, { + type: 'split_node', + path: Path.previous(op.path) + }); + } + + case 'move_node': + { + var newPath = op.newPath, + path = op.path; // PERF: in this case the move operation is a no-op anyways. + + if (Path.equals(newPath, path)) { + return op; + } // If the move happens completely within a single parent the path and + // newPath are stable with respect to each other. + + + if (Path.isSibling(path, newPath)) { + return _objectSpread$7(_objectSpread$7({}, op), {}, { + path: newPath, + newPath: path + }); + } // If the move does not happen within a single parent it is possible + // for the move to impact the true path to the location where the node + // was removed from and where it was inserted. We have to adjust for this + // and find the original path. We can accomplish this (only in non-sibling) + // moves by looking at the impact of the move operation on the node + // after the original move path. + + + var inversePath = Path.transform(path, op); + var inverseNewPath = Path.transform(Path.next(path), op); + return _objectSpread$7(_objectSpread$7({}, op), {}, { + path: inversePath, + newPath: inverseNewPath + }); + } + + case 'remove_node': + { + return _objectSpread$7(_objectSpread$7({}, op), {}, { + type: 'insert_node' + }); + } + + case 'remove_text': + { + return _objectSpread$7(_objectSpread$7({}, op), {}, { + type: 'insert_text' + }); + } + + case 'set_node': + { + var properties = op.properties, + newProperties = op.newProperties; + return _objectSpread$7(_objectSpread$7({}, op), {}, { + properties: newProperties, + newProperties: properties + }); + } + + case 'set_selection': + { + var _properties = op.properties, + _newProperties = op.newProperties; + + if (_properties == null) { + return _objectSpread$7(_objectSpread$7({}, op), {}, { + properties: _newProperties, + newProperties: null + }); + } else if (_newProperties == null) { + return _objectSpread$7(_objectSpread$7({}, op), {}, { + properties: null, + newProperties: _properties + }); + } else { + return _objectSpread$7(_objectSpread$7({}, op), {}, { + properties: _newProperties, + newProperties: _properties + }); + } + } + + case 'split_node': + { + return _objectSpread$7(_objectSpread$7({}, op), {}, { + type: 'merge_node', + path: Path.next(op.path) + }); + } + } + } + }; + + var Path = { + /** + * Get a list of ancestor paths for a given path. + * + * The paths are sorted from deepest to shallowest ancestor. However, if the + * `reverse: true` option is passed, they are reversed. + */ + ancestors: function ancestors(path) { + var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + var _options$reverse = options.reverse, + reverse = _options$reverse === void 0 ? false : _options$reverse; + var paths = Path.levels(path, options); + + if (reverse) { + paths = paths.slice(1); + } else { + paths = paths.slice(0, -1); + } + + return paths; + }, + + /** + * Get the common ancestor path of two paths. + */ + common: function common(path, another) { + var common = []; + + for (var i = 0; i < path.length && i < another.length; i++) { + var av = path[i]; + var bv = another[i]; + + if (av !== bv) { + break; + } + + common.push(av); + } + + return common; + }, + + /** + * Compare a path to another, returning an integer indicating whether the path + * was before, at, or after the other. + * + * Note: Two paths of unequal length can still receive a `0` result if one is + * directly above or below the other. If you want exact matching, use + * [[Path.equals]] instead. + */ + compare: function compare(path, another) { + var min = Math.min(path.length, another.length); + + for (var i = 0; i < min; i++) { + if (path[i] < another[i]) return -1; + if (path[i] > another[i]) return 1; + } + + return 0; + }, + + /** + * Check if a path ends after one of the indexes in another. + */ + endsAfter: function endsAfter(path, another) { + var i = path.length - 1; + var as = path.slice(0, i); + var bs = another.slice(0, i); + var av = path[i]; + var bv = another[i]; + return Path.equals(as, bs) && av > bv; + }, + + /** + * Check if a path ends at one of the indexes in another. + */ + endsAt: function endsAt(path, another) { + var i = path.length; + var as = path.slice(0, i); + var bs = another.slice(0, i); + return Path.equals(as, bs); + }, + + /** + * Check if a path ends before one of the indexes in another. + */ + endsBefore: function endsBefore(path, another) { + var i = path.length - 1; + var as = path.slice(0, i); + var bs = another.slice(0, i); + var av = path[i]; + var bv = another[i]; + return Path.equals(as, bs) && av < bv; + }, + + /** + * Check if a path is exactly equal to another. + */ + equals: function equals(path, another) { + return path.length === another.length && path.every(function (n, i) { + return n === another[i]; + }); + }, + + /** + * Check if the path of previous sibling node exists + */ + hasPrevious: function hasPrevious(path) { + return path[path.length - 1] > 0; + }, + + /** + * Check if a path is after another. + */ + isAfter: function isAfter(path, another) { + return Path.compare(path, another) === 1; + }, + + /** + * Check if a path is an ancestor of another. + */ + isAncestor: function isAncestor(path, another) { + return path.length < another.length && Path.compare(path, another) === 0; + }, + + /** + * Check if a path is before another. + */ + isBefore: function isBefore(path, another) { + return Path.compare(path, another) === -1; + }, + + /** + * Check if a path is a child of another. + */ + isChild: function isChild(path, another) { + return path.length === another.length + 1 && Path.compare(path, another) === 0; + }, + + /** + * Check if a path is equal to or an ancestor of another. + */ + isCommon: function isCommon(path, another) { + return path.length <= another.length && Path.compare(path, another) === 0; + }, + + /** + * Check if a path is a descendant of another. + */ + isDescendant: function isDescendant(path, another) { + return path.length > another.length && Path.compare(path, another) === 0; + }, + + /** + * Check if a path is the parent of another. + */ + isParent: function isParent(path, another) { + return path.length + 1 === another.length && Path.compare(path, another) === 0; + }, + + /** + * Check is a value implements the `Path` interface. + */ + isPath: function isPath(value) { + return Array.isArray(value) && (value.length === 0 || typeof value[0] === 'number'); + }, + + /** + * Check if a path is a sibling of another. + */ + isSibling: function isSibling(path, another) { + if (path.length !== another.length) { + return false; + } + + var as = path.slice(0, -1); + var bs = another.slice(0, -1); + var al = path[path.length - 1]; + var bl = another[another.length - 1]; + return al !== bl && Path.equals(as, bs); + }, + + /** + * Get a list of paths at every level down to a path. Note: this is the same + * as `Path.ancestors`, but including the path itself. + * + * The paths are sorted from shallowest to deepest. However, if the `reverse: + * true` option is passed, they are reversed. + */ + levels: function levels(path) { + var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + var _options$reverse2 = options.reverse, + reverse = _options$reverse2 === void 0 ? false : _options$reverse2; + var list = []; + + for (var i = 0; i <= path.length; i++) { + list.push(path.slice(0, i)); + } + + if (reverse) { + list.reverse(); + } + + return list; + }, + + /** + * Given a path, get the path to the next sibling node. + */ + next: function next(path) { + if (path.length === 0) { + throw new Error("Cannot get the next path of a root path [".concat(path, "], because it has no next index.")); + } + + var last = path[path.length - 1]; + return path.slice(0, -1).concat(last + 1); + }, + + /** + * Given a path, return a new path referring to the parent node above it. + */ + parent: function parent(path) { + if (path.length === 0) { + throw new Error("Cannot get the parent path of the root path [".concat(path, "].")); + } + + return path.slice(0, -1); + }, + + /** + * Given a path, get the path to the previous sibling node. + */ + previous: function previous(path) { + if (path.length === 0) { + throw new Error("Cannot get the previous path of a root path [".concat(path, "], because it has no previous index.")); + } + + var last = path[path.length - 1]; + + if (last <= 0) { + throw new Error("Cannot get the previous path of a first child path [".concat(path, "] because it would result in a negative index.")); + } + + return path.slice(0, -1).concat(last - 1); + }, + + /** + * Get a path relative to an ancestor. + */ + relative: function relative(path, ancestor) { + if (!Path.isAncestor(ancestor, path) && !Path.equals(path, ancestor)) { + throw new Error("Cannot get the relative path of [".concat(path, "] inside ancestor [").concat(ancestor, "], because it is not above or equal to the path.")); + } + + return path.slice(ancestor.length); + }, + + /** + * Transform a path by an operation. + */ + transform: function transform(path, operation) { + var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; + return immer.produce(path, function (p) { + var _options$affinity = options.affinity, + affinity = _options$affinity === void 0 ? 'forward' : _options$affinity; // PERF: Exit early if the operation is guaranteed not to have an effect. + + if (!path || (path === null || path === void 0 ? void 0 : path.length) === 0) { + return; + } + + if (p === null) { + return null; + } + + switch (operation.type) { + case 'insert_node': + { + var op = operation.path; + + if (Path.equals(op, p) || Path.endsBefore(op, p) || Path.isAncestor(op, p)) { + p[op.length - 1] += 1; + } + + break; + } + + case 'remove_node': + { + var _op = operation.path; + + if (Path.equals(_op, p) || Path.isAncestor(_op, p)) { + return null; + } else if (Path.endsBefore(_op, p)) { + p[_op.length - 1] -= 1; + } + + break; + } + + case 'merge_node': + { + var _op2 = operation.path, + position = operation.position; + + if (Path.equals(_op2, p) || Path.endsBefore(_op2, p)) { + p[_op2.length - 1] -= 1; + } else if (Path.isAncestor(_op2, p)) { + p[_op2.length - 1] -= 1; + p[_op2.length] += position; + } + + break; + } + + case 'split_node': + { + var _op3 = operation.path, + _position = operation.position; + + if (Path.equals(_op3, p)) { + if (affinity === 'forward') { + p[p.length - 1] += 1; + } else if (affinity === 'backward') ; else { + return null; + } + } else if (Path.endsBefore(_op3, p)) { + p[_op3.length - 1] += 1; + } else if (Path.isAncestor(_op3, p) && path[_op3.length] >= _position) { + p[_op3.length - 1] += 1; + p[_op3.length] -= _position; + } + + break; + } + + case 'move_node': + { + var _op4 = operation.path, + onp = operation.newPath; // If the old and new path are the same, it's a no-op. + + if (Path.equals(_op4, onp)) { + return; + } + + if (Path.isAncestor(_op4, p) || Path.equals(_op4, p)) { + var copy = onp.slice(); + + if (Path.endsBefore(_op4, onp) && _op4.length < onp.length) { + copy[_op4.length - 1] -= 1; + } + + return copy.concat(p.slice(_op4.length)); + } else if (Path.isSibling(_op4, onp) && (Path.isAncestor(onp, p) || Path.equals(onp, p))) { + if (Path.endsBefore(_op4, p)) { + p[_op4.length - 1] -= 1; + } else { + p[_op4.length - 1] += 1; + } + } else if (Path.endsBefore(onp, p) || Path.equals(onp, p) || Path.isAncestor(onp, p)) { + if (Path.endsBefore(_op4, p)) { + p[_op4.length - 1] -= 1; + } + + p[onp.length - 1] += 1; + } else if (Path.endsBefore(_op4, p)) { + if (Path.equals(onp, p)) { + p[onp.length - 1] += 1; + } + + p[_op4.length - 1] -= 1; + } + + break; + } + } + }); + } + }; + + var PathRef = { + /** + * Transform the path ref's current value by an operation. + */ + transform: function transform(ref, op) { + var current = ref.current, + affinity = ref.affinity; + + if (current == null) { + return; + } + + var path = Path.transform(current, op, { + affinity: affinity + }); + ref.current = path; + + if (path == null) { + ref.unref(); + } + } + }; + + function ownKeys$6(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; } + + function _objectSpread$6(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$6(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$6(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + var Point = { + /** + * Compare a point to another, returning an integer indicating whether the + * point was before, at, or after the other. + */ + compare: function compare(point, another) { + var result = Path.compare(point.path, another.path); + + if (result === 0) { + if (point.offset < another.offset) return -1; + if (point.offset > another.offset) return 1; + return 0; + } + + return result; + }, + + /** + * Check if a point is after another. + */ + isAfter: function isAfter(point, another) { + return Point.compare(point, another) === 1; + }, + + /** + * Check if a point is before another. + */ + isBefore: function isBefore(point, another) { + return Point.compare(point, another) === -1; + }, + + /** + * Check if a point is exactly equal to another. + */ + equals: function equals(point, another) { + // PERF: ensure the offsets are equal first since they are cheaper to check. + return point.offset === another.offset && Path.equals(point.path, another.path); + }, + + /** + * Check if a value implements the `Point` interface. + */ + isPoint: function isPoint(value) { + return isPlainObject.isPlainObject(value) && typeof value.offset === 'number' && Path.isPath(value.path); + }, + + /** + * Transform a point by an operation. + */ + transform: function transform(point, op) { + var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; + return immer.produce(point, function (p) { + if (p === null) { + return null; + } + + var _options$affinity = options.affinity, + affinity = _options$affinity === void 0 ? 'forward' : _options$affinity; + var path = p.path, + offset = p.offset; + + switch (op.type) { + case 'insert_node': + case 'move_node': + { + p.path = Path.transform(path, op, options); + break; + } + + case 'insert_text': + { + if (Path.equals(op.path, path) && op.offset <= offset) { + p.offset += op.text.length; + } + + break; + } + + case 'merge_node': + { + if (Path.equals(op.path, path)) { + p.offset += op.position; + } + + p.path = Path.transform(path, op, options); + break; + } + + case 'remove_text': + { + if (Path.equals(op.path, path) && op.offset <= offset) { + p.offset -= Math.min(offset - op.offset, op.text.length); + } + + break; + } + + case 'remove_node': + { + if (Path.equals(op.path, path) || Path.isAncestor(op.path, path)) { + return null; + } + + p.path = Path.transform(path, op, options); + break; + } + + case 'split_node': + { + if (Path.equals(op.path, path)) { + if (op.position === offset && affinity == null) { + return null; + } else if (op.position < offset || op.position === offset && affinity === 'forward') { + p.offset -= op.position; + p.path = Path.transform(path, op, _objectSpread$6(_objectSpread$6({}, options), {}, { + affinity: 'forward' + })); + } + } else { + p.path = Path.transform(path, op, options); + } + + break; + } + } + }); + } + }; + + var PointRef = { + /** + * Transform the point ref's current value by an operation. + */ + transform: function transform(ref, op) { + var current = ref.current, + affinity = ref.affinity; + + if (current == null) { + return; + } + + var point = Point.transform(current, op, { + affinity: affinity + }); + ref.current = point; + + if (point == null) { + ref.unref(); + } + } + }; + + var _excluded$2 = ["anchor", "focus"]; + + function ownKeys$5(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; } + + function _objectSpread$5(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$5(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$5(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + var Range = { + /** + * Get the start and end points of a range, in the order in which they appear + * in the document. + */ + edges: function edges(range) { + var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + var _options$reverse = options.reverse, + reverse = _options$reverse === void 0 ? false : _options$reverse; + var anchor = range.anchor, + focus = range.focus; + return Range.isBackward(range) === reverse ? [anchor, focus] : [focus, anchor]; + }, + + /** + * Get the end point of a range. + */ + end: function end(range) { + var _Range$edges = Range.edges(range), + _Range$edges2 = _slicedToArray(_Range$edges, 2), + end = _Range$edges2[1]; + + return end; + }, + + /** + * Check if a range is exactly equal to another. + */ + equals: function equals(range, another) { + return Point.equals(range.anchor, another.anchor) && Point.equals(range.focus, another.focus); + }, + + /** + * Check if a range includes a path, a point or part of another range. + */ + includes: function includes(range, target) { + if (Range.isRange(target)) { + if (Range.includes(range, target.anchor) || Range.includes(range, target.focus)) { + return true; + } + + var _Range$edges3 = Range.edges(range), + _Range$edges4 = _slicedToArray(_Range$edges3, 2), + rs = _Range$edges4[0], + re = _Range$edges4[1]; + + var _Range$edges5 = Range.edges(target), + _Range$edges6 = _slicedToArray(_Range$edges5, 2), + ts = _Range$edges6[0], + te = _Range$edges6[1]; + + return Point.isBefore(rs, ts) && Point.isAfter(re, te); + } + + var _Range$edges7 = Range.edges(range), + _Range$edges8 = _slicedToArray(_Range$edges7, 2), + start = _Range$edges8[0], + end = _Range$edges8[1]; + + var isAfterStart = false; + var isBeforeEnd = false; + + if (Point.isPoint(target)) { + isAfterStart = Point.compare(target, start) >= 0; + isBeforeEnd = Point.compare(target, end) <= 0; + } else { + isAfterStart = Path.compare(target, start.path) >= 0; + isBeforeEnd = Path.compare(target, end.path) <= 0; + } + + return isAfterStart && isBeforeEnd; + }, + + /** + * Get the intersection of a range with another. + */ + intersection: function intersection(range, another) { + range.anchor; + range.focus; + var rest = _objectWithoutProperties(range, _excluded$2); + + var _Range$edges9 = Range.edges(range), + _Range$edges10 = _slicedToArray(_Range$edges9, 2), + s1 = _Range$edges10[0], + e1 = _Range$edges10[1]; + + var _Range$edges11 = Range.edges(another), + _Range$edges12 = _slicedToArray(_Range$edges11, 2), + s2 = _Range$edges12[0], + e2 = _Range$edges12[1]; + + var start = Point.isBefore(s1, s2) ? s2 : s1; + var end = Point.isBefore(e1, e2) ? e1 : e2; + + if (Point.isBefore(end, start)) { + return null; + } else { + return _objectSpread$5({ + anchor: start, + focus: end + }, rest); + } + }, + + /** + * Check if a range is backward, meaning that its anchor point appears in the + * document _after_ its focus point. + */ + isBackward: function isBackward(range) { + var anchor = range.anchor, + focus = range.focus; + return Point.isAfter(anchor, focus); + }, + + /** + * Check if a range is collapsed, meaning that both its anchor and focus + * points refer to the exact same position in the document. + */ + isCollapsed: function isCollapsed(range) { + var anchor = range.anchor, + focus = range.focus; + return Point.equals(anchor, focus); + }, + + /** + * Check if a range is expanded. + * + * This is the opposite of [[Range.isCollapsed]] and is provided for legibility. + */ + isExpanded: function isExpanded(range) { + return !Range.isCollapsed(range); + }, + + /** + * Check if a range is forward. + * + * This is the opposite of [[Range.isBackward]] and is provided for legibility. + */ + isForward: function isForward(range) { + return !Range.isBackward(range); + }, + + /** + * Check if a value implements the [[Range]] interface. + */ + isRange: function isRange(value) { + return isPlainObject.isPlainObject(value) && Point.isPoint(value.anchor) && Point.isPoint(value.focus); + }, + + /** + * Iterate through all of the point entries in a range. + */ + points: function* points(range) { + yield [range.anchor, 'anchor']; + yield [range.focus, 'focus']; + }, + + /** + * Get the start point of a range. + */ + start: function start(range) { + var _Range$edges13 = Range.edges(range), + _Range$edges14 = _slicedToArray(_Range$edges13, 1), + start = _Range$edges14[0]; + + return start; + }, + + /** + * Transform a range by an operation. + */ + transform: function transform(range, op) { + var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; + return immer.produce(range, function (r) { + if (r === null) { + return null; + } + + var _options$affinity = options.affinity, + affinity = _options$affinity === void 0 ? 'inward' : _options$affinity; + var affinityAnchor; + var affinityFocus; + + if (affinity === 'inward') { + // If the range is collapsed, make sure to use the same affinity to + // avoid the two points passing each other and expanding in the opposite + // direction + var isCollapsed = Range.isCollapsed(r); + + if (Range.isForward(r)) { + affinityAnchor = 'forward'; + affinityFocus = isCollapsed ? affinityAnchor : 'backward'; + } else { + affinityAnchor = 'backward'; + affinityFocus = isCollapsed ? affinityAnchor : 'forward'; + } + } else if (affinity === 'outward') { + if (Range.isForward(r)) { + affinityAnchor = 'backward'; + affinityFocus = 'forward'; + } else { + affinityAnchor = 'forward'; + affinityFocus = 'backward'; + } + } else { + affinityAnchor = affinity; + affinityFocus = affinity; + } + + var anchor = Point.transform(r.anchor, op, { + affinity: affinityAnchor + }); + var focus = Point.transform(r.focus, op, { + affinity: affinityFocus + }); + + if (!anchor || !focus) { + return null; + } + + r.anchor = anchor; + r.focus = focus; + }); + } + }; + + var RangeRef = { + /** + * Transform the range ref's current value by an operation. + */ + transform: function transform(ref, op) { + var current = ref.current, + affinity = ref.affinity; + + if (current == null) { + return; + } + + var path = Range.transform(current, op, { + affinity: affinity + }); + ref.current = path; + + if (path == null) { + ref.unref(); + } + } + }; + + /* + Custom deep equal comparison for Slate nodes. + + We don't need general purpose deep equality; + Slate only supports plain values, Arrays, and nested objects. + Complex values nested inside Arrays are not supported. + + Slate objects are designed to be serialised, so + missing keys are deliberately normalised to undefined. + */ + + var isDeepEqual = function isDeepEqual(node, another) { + for (var key in node) { + var a = node[key]; + var b = another[key]; + + if (isPlainObject.isPlainObject(a) && isPlainObject.isPlainObject(b)) { + if (!isDeepEqual(a, b)) return false; + } else if (Array.isArray(a) && Array.isArray(b)) { + if (a.length !== b.length) return false; + + for (var i = 0; i < a.length; i++) { + if (a[i] !== b[i]) return false; + } + } else if (a !== b) { + return false; + } + } + /* + Deep object equality is only necessary in one direction; in the reverse direction + we are only looking for keys that are missing. + As above, undefined keys are normalised to missing. + */ + + + for (var _key in another) { + if (node[_key] === undefined && another[_key] !== undefined) { + return false; + } + } + + return true; + }; + + var _excluded$1 = ["text"], + _excluded2$1 = ["anchor", "focus"]; + + function _createForOfIteratorHelper$3(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray$3(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; } + + function _unsupportedIterableToArray$3(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray$3(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$3(o, minLen); } + + function _arrayLikeToArray$3(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } + + function ownKeys$4(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; } + + function _objectSpread$4(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$4(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$4(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + var Text = { + /** + * Check if two text nodes are equal. + * + * When loose is set, the text is not compared. This is + * used to check whether sibling text nodes can be merged. + */ + equals: function equals(text, another) { + var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; + var _options$loose = options.loose, + loose = _options$loose === void 0 ? false : _options$loose; + + function omitText(obj) { + obj.text; + var rest = _objectWithoutProperties(obj, _excluded$1); + + return rest; + } + + return isDeepEqual(loose ? omitText(text) : text, loose ? omitText(another) : another); + }, + + /** + * Check if a value implements the `Text` interface. + */ + isText: function isText(value) { + return isPlainObject.isPlainObject(value) && typeof value.text === 'string'; + }, + + /** + * Check if a value is a list of `Text` objects. + */ + isTextList: function isTextList(value) { + return Array.isArray(value) && value.every(function (val) { + return Text.isText(val); + }); + }, + + /** + * Check if some props are a partial of Text. + */ + isTextProps: function isTextProps(props) { + return props.text !== undefined; + }, + + /** + * Check if an text matches set of properties. + * + * Note: this is for matching custom properties, and it does not ensure that + * the `text` property are two nodes equal. + */ + matches: function matches(text, props) { + for (var key in props) { + if (key === 'text') { + continue; + } + + if (!text.hasOwnProperty(key) || text[key] !== props[key]) { + return false; + } + } + + return true; + }, + + /** + * Get the leaves for a text node given decorations. + */ + decorations: function decorations(node, _decorations) { + var leaves = [_objectSpread$4({}, node)]; + + var _iterator = _createForOfIteratorHelper$3(_decorations), + _step; + + try { + for (_iterator.s(); !(_step = _iterator.n()).done;) { + var dec = _step.value; + + var anchor = dec.anchor, + focus = dec.focus, + rest = _objectWithoutProperties(dec, _excluded2$1); + + var _Range$edges = Range.edges(dec), + _Range$edges2 = _slicedToArray(_Range$edges, 2), + start = _Range$edges2[0], + end = _Range$edges2[1]; + + var next = []; + var o = 0; + + var _iterator2 = _createForOfIteratorHelper$3(leaves), + _step2; + + try { + for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) { + var leaf = _step2.value; + var length = leaf.text.length; + var offset = o; + o += length; // If the range encompases the entire leaf, add the range. + + if (start.offset <= offset && end.offset >= o) { + Object.assign(leaf, rest); + next.push(leaf); + continue; + } // If the range expanded and match the leaf, or starts after, or ends before it, continue. + + + if (start.offset !== end.offset && (start.offset === o || end.offset === offset) || start.offset > o || end.offset < offset || end.offset === offset && offset !== 0) { + next.push(leaf); + continue; + } // Otherwise we need to split the leaf, at the start, end, or both, + // and add the range to the middle intersecting section. Do the end + // split first since we don't need to update the offset that way. + + + var middle = leaf; + var before = void 0; + var after = void 0; + + if (end.offset < o) { + var off = end.offset - offset; + after = _objectSpread$4(_objectSpread$4({}, middle), {}, { + text: middle.text.slice(off) + }); + middle = _objectSpread$4(_objectSpread$4({}, middle), {}, { + text: middle.text.slice(0, off) + }); + } + + if (start.offset > offset) { + var _off = start.offset - offset; + + before = _objectSpread$4(_objectSpread$4({}, middle), {}, { + text: middle.text.slice(0, _off) + }); + middle = _objectSpread$4(_objectSpread$4({}, middle), {}, { + text: middle.text.slice(_off) + }); + } + + Object.assign(middle, rest); + + if (before) { + next.push(before); + } + + next.push(middle); + + if (after) { + next.push(after); + } + } + } catch (err) { + _iterator2.e(err); + } finally { + _iterator2.f(); + } + + leaves = next; + } + } catch (err) { + _iterator.e(err); + } finally { + _iterator.f(); + } + + return leaves; + } + }; + + function ownKeys$3(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; } + + function _objectSpread$3(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$3(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$3(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + + function _createForOfIteratorHelper$2(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray$2(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; } + + function _unsupportedIterableToArray$2(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray$2(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$2(o, minLen); } + + function _arrayLikeToArray$2(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } + + var applyToDraft = function applyToDraft(editor, selection, op) { + switch (op.type) { + case 'insert_node': + { + var path = op.path, + node = op.node; + var parent = Node$1.parent(editor, path); + var index = path[path.length - 1]; + + if (index > parent.children.length) { + throw new Error("Cannot apply an \"insert_node\" operation at path [".concat(path, "] because the destination is past the end of the node.")); + } + + parent.children.splice(index, 0, node); + + if (selection) { + var _iterator = _createForOfIteratorHelper$2(Range.points(selection)), + _step; + + try { + for (_iterator.s(); !(_step = _iterator.n()).done;) { + var _step$value = _slicedToArray(_step.value, 2), + point = _step$value[0], + key = _step$value[1]; + + selection[key] = Point.transform(point, op); + } + } catch (err) { + _iterator.e(err); + } finally { + _iterator.f(); + } + } + + break; + } + + case 'insert_text': + { + var _path = op.path, + offset = op.offset, + text = op.text; + if (text.length === 0) break; + + var _node = Node$1.leaf(editor, _path); + + var before = _node.text.slice(0, offset); + + var after = _node.text.slice(offset); + + _node.text = before + text + after; + + if (selection) { + var _iterator2 = _createForOfIteratorHelper$2(Range.points(selection)), + _step2; + + try { + for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) { + var _step2$value = _slicedToArray(_step2.value, 2), + _point = _step2$value[0], + _key = _step2$value[1]; + + selection[_key] = Point.transform(_point, op); + } + } catch (err) { + _iterator2.e(err); + } finally { + _iterator2.f(); + } + } + + break; + } + + case 'merge_node': + { + var _path2 = op.path; + + var _node2 = Node$1.get(editor, _path2); + + var prevPath = Path.previous(_path2); + var prev = Node$1.get(editor, prevPath); + + var _parent = Node$1.parent(editor, _path2); + + var _index = _path2[_path2.length - 1]; + + if (Text.isText(_node2) && Text.isText(prev)) { + prev.text += _node2.text; + } else if (!Text.isText(_node2) && !Text.isText(prev)) { + var _prev$children; + + (_prev$children = prev.children).push.apply(_prev$children, _toConsumableArray(_node2.children)); + } else { + throw new Error("Cannot apply a \"merge_node\" operation at path [".concat(_path2, "] to nodes of different interfaces: ").concat(_node2, " ").concat(prev)); + } + + _parent.children.splice(_index, 1); + + if (selection) { + var _iterator3 = _createForOfIteratorHelper$2(Range.points(selection)), + _step3; + + try { + for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) { + var _step3$value = _slicedToArray(_step3.value, 2), + _point2 = _step3$value[0], + _key2 = _step3$value[1]; + + selection[_key2] = Point.transform(_point2, op); + } + } catch (err) { + _iterator3.e(err); + } finally { + _iterator3.f(); + } + } + + break; + } + + case 'move_node': + { + var _path3 = op.path, + newPath = op.newPath; + + if (Path.isAncestor(_path3, newPath)) { + throw new Error("Cannot move a path [".concat(_path3, "] to new path [").concat(newPath, "] because the destination is inside itself.")); + } + + var _node3 = Node$1.get(editor, _path3); + + var _parent2 = Node$1.parent(editor, _path3); + + var _index2 = _path3[_path3.length - 1]; // This is tricky, but since the `path` and `newPath` both refer to + // the same snapshot in time, there's a mismatch. After either + // removing the original position, the second step's path can be out + // of date. So instead of using the `op.newPath` directly, we + // transform `op.path` to ascertain what the `newPath` would be after + // the operation was applied. + + _parent2.children.splice(_index2, 1); + + var truePath = Path.transform(_path3, op); + var newParent = Node$1.get(editor, Path.parent(truePath)); + var newIndex = truePath[truePath.length - 1]; + newParent.children.splice(newIndex, 0, _node3); + + if (selection) { + var _iterator4 = _createForOfIteratorHelper$2(Range.points(selection)), + _step4; + + try { + for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) { + var _step4$value = _slicedToArray(_step4.value, 2), + _point3 = _step4$value[0], + _key3 = _step4$value[1]; + + selection[_key3] = Point.transform(_point3, op); + } + } catch (err) { + _iterator4.e(err); + } finally { + _iterator4.f(); + } + } + + break; + } + + case 'remove_node': + { + var _path4 = op.path; + var _index3 = _path4[_path4.length - 1]; + + var _parent3 = Node$1.parent(editor, _path4); + + _parent3.children.splice(_index3, 1); // Transform all of the points in the value, but if the point was in the + // node that was removed we need to update the range or remove it. + + + if (selection) { + var _iterator5 = _createForOfIteratorHelper$2(Range.points(selection)), + _step5; + + try { + for (_iterator5.s(); !(_step5 = _iterator5.n()).done;) { + var _step5$value = _slicedToArray(_step5.value, 2), + _point4 = _step5$value[0], + _key4 = _step5$value[1]; + + var result = Point.transform(_point4, op); + + if (selection != null && result != null) { + selection[_key4] = result; + } else { + var _prev = void 0; + + var next = void 0; + + var _iterator6 = _createForOfIteratorHelper$2(Node$1.texts(editor)), + _step6; + + try { + for (_iterator6.s(); !(_step6 = _iterator6.n()).done;) { + var _step6$value = _slicedToArray(_step6.value, 2), + n = _step6$value[0], + p = _step6$value[1]; + + if (Path.compare(p, _path4) === -1) { + _prev = [n, p]; + } else { + next = [n, p]; + break; + } + } + } catch (err) { + _iterator6.e(err); + } finally { + _iterator6.f(); + } + + var preferNext = false; + + if (_prev && next) { + if (Path.equals(next[1], _path4)) { + preferNext = !Path.hasPrevious(next[1]); + } else { + preferNext = Path.common(_prev[1], _path4).length < Path.common(next[1], _path4).length; + } + } + + if (_prev && !preferNext) { + _point4.path = _prev[1]; + _point4.offset = _prev[0].text.length; + } else if (next) { + _point4.path = next[1]; + _point4.offset = 0; + } else { + selection = null; + } + } + } + } catch (err) { + _iterator5.e(err); + } finally { + _iterator5.f(); + } + } + + break; + } + + case 'remove_text': + { + var _path5 = op.path, + _offset = op.offset, + _text = op.text; + if (_text.length === 0) break; + + var _node4 = Node$1.leaf(editor, _path5); + + var _before = _node4.text.slice(0, _offset); + + var _after = _node4.text.slice(_offset + _text.length); + + _node4.text = _before + _after; + + if (selection) { + var _iterator7 = _createForOfIteratorHelper$2(Range.points(selection)), + _step7; + + try { + for (_iterator7.s(); !(_step7 = _iterator7.n()).done;) { + var _step7$value = _slicedToArray(_step7.value, 2), + _point5 = _step7$value[0], + _key5 = _step7$value[1]; + + selection[_key5] = Point.transform(_point5, op); + } + } catch (err) { + _iterator7.e(err); + } finally { + _iterator7.f(); + } + } + + break; + } + + case 'set_node': + { + var _path6 = op.path, + properties = op.properties, + newProperties = op.newProperties; + + if (_path6.length === 0) { + throw new Error("Cannot set properties on the root node!"); + } + + var _node5 = Node$1.get(editor, _path6); + + for (var _key6 in newProperties) { + if (_key6 === 'children' || _key6 === 'text') { + throw new Error("Cannot set the \"".concat(_key6, "\" property of nodes!")); + } + + var value = newProperties[_key6]; + + if (value == null) { + delete _node5[_key6]; + } else { + _node5[_key6] = value; + } + } // properties that were previously defined, but are now missing, must be deleted + + + for (var _key7 in properties) { + if (!newProperties.hasOwnProperty(_key7)) { + delete _node5[_key7]; + } + } + + break; + } + + case 'set_selection': + { + var _newProperties = op.newProperties; + + if (_newProperties == null) { + selection = _newProperties; + } else { + if (selection == null) { + if (!Range.isRange(_newProperties)) { + throw new Error("Cannot apply an incomplete \"set_selection\" operation properties ".concat(JSON.stringify(_newProperties), " when there is no current selection.")); + } + + selection = _objectSpread$3({}, _newProperties); + } + + for (var _key8 in _newProperties) { + var _value = _newProperties[_key8]; + + if (_value == null) { + if (_key8 === 'anchor' || _key8 === 'focus') { + throw new Error("Cannot remove the \"".concat(_key8, "\" selection property")); + } + + delete selection[_key8]; + } else { + selection[_key8] = _value; + } + } + } + + break; + } + + case 'split_node': + { + var _path7 = op.path, + position = op.position, + _properties = op.properties; + + if (_path7.length === 0) { + throw new Error("Cannot apply a \"split_node\" operation at path [".concat(_path7, "] because the root node cannot be split.")); + } + + var _node6 = Node$1.get(editor, _path7); + + var _parent4 = Node$1.parent(editor, _path7); + + var _index4 = _path7[_path7.length - 1]; + var newNode; + + if (Text.isText(_node6)) { + var _before2 = _node6.text.slice(0, position); + + var _after2 = _node6.text.slice(position); + + _node6.text = _before2; + newNode = _objectSpread$3(_objectSpread$3({}, _properties), {}, { + text: _after2 + }); + } else { + var _before3 = _node6.children.slice(0, position); + + var _after3 = _node6.children.slice(position); + + _node6.children = _before3; + newNode = _objectSpread$3(_objectSpread$3({}, _properties), {}, { + children: _after3 + }); + } + + _parent4.children.splice(_index4 + 1, 0, newNode); + + if (selection) { + var _iterator8 = _createForOfIteratorHelper$2(Range.points(selection)), + _step8; + + try { + for (_iterator8.s(); !(_step8 = _iterator8.n()).done;) { + var _step8$value = _slicedToArray(_step8.value, 2), + _point6 = _step8$value[0], + _key9 = _step8$value[1]; + + selection[_key9] = Point.transform(_point6, op); + } + } catch (err) { + _iterator8.e(err); + } finally { + _iterator8.f(); + } + } + + break; + } + } + + return selection; + }; + + var GeneralTransforms = { + /** + * Transform the editor by an operation. + */ + transform: function transform(editor, op) { + editor.children = immer.createDraft(editor.children); + var selection = editor.selection && immer.createDraft(editor.selection); + + try { + selection = applyToDraft(editor, selection, op); + } finally { + editor.children = immer.finishDraft(editor.children); + + if (selection) { + editor.selection = immer.isDraft(selection) ? immer.finishDraft(selection) : selection; + } else { + editor.selection = null; + } + } + } + }; + + var _excluded = ["text"], + _excluded2 = ["children"]; + + function ownKeys$2(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; } + + function _objectSpread$2(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$2(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$2(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + + function _createForOfIteratorHelper$1(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray$1(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; } + + function _unsupportedIterableToArray$1(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray$1(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$1(o, minLen); } + + function _arrayLikeToArray$1(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } + var NodeTransforms = { + /** + * Insert nodes at a specific location in the Editor. + */ + insertNodes: function insertNodes(editor, nodes) { + var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; + Editor.withoutNormalizing(editor, function () { + var _options$hanging = options.hanging, + hanging = _options$hanging === void 0 ? false : _options$hanging, + _options$voids = options.voids, + voids = _options$voids === void 0 ? false : _options$voids, + _options$mode = options.mode, + mode = _options$mode === void 0 ? 'lowest' : _options$mode; + var at = options.at, + match = options.match, + select = options.select; + + if (Node$1.isNode(nodes)) { + nodes = [nodes]; + } + + if (nodes.length === 0) { + return; + } + + var _nodes = nodes, + _nodes2 = _slicedToArray(_nodes, 1), + node = _nodes2[0]; // By default, use the selection as the target location. But if there is + // no selection, insert at the end of the document since that is such a + // common use case when inserting from a non-selected state. + + + if (!at) { + if (editor.selection) { + at = editor.selection; + } else if (editor.children.length > 0) { + at = Editor.end(editor, []); + } else { + at = [0]; + } + + select = true; + } + + if (select == null) { + select = false; + } + + if (Range.isRange(at)) { + if (!hanging) { + at = Editor.unhangRange(editor, at); + } + + if (Range.isCollapsed(at)) { + at = at.anchor; + } else { + var _Range$edges = Range.edges(at), + _Range$edges2 = _slicedToArray(_Range$edges, 2), + end = _Range$edges2[1]; + + var pointRef = Editor.pointRef(editor, end); + Transforms["delete"](editor, { + at: at + }); + at = pointRef.unref(); + } + } + + if (Point.isPoint(at)) { + if (match == null) { + if (Text.isText(node)) { + match = function match(n) { + return Text.isText(n); + }; + } else if (editor.isInline(node)) { + match = function match(n) { + return Text.isText(n) || Editor.isInline(editor, n); + }; + } else { + match = function match(n) { + return Editor.isBlock(editor, n); + }; + } + } + + var _Editor$nodes = Editor.nodes(editor, { + at: at.path, + match: match, + mode: mode, + voids: voids + }), + _Editor$nodes2 = _slicedToArray(_Editor$nodes, 1), + entry = _Editor$nodes2[0]; + + if (entry) { + var _entry = _slicedToArray(entry, 2), + _matchPath = _entry[1]; + + var pathRef = Editor.pathRef(editor, _matchPath); + var isAtEnd = Editor.isEnd(editor, at, _matchPath); + Transforms.splitNodes(editor, { + at: at, + match: match, + mode: mode, + voids: voids + }); + var path = pathRef.unref(); + at = isAtEnd ? Path.next(path) : path; + } else { + return; + } + } + + var parentPath = Path.parent(at); + var index = at[at.length - 1]; + + if (!voids && Editor["void"](editor, { + at: parentPath + })) { + return; + } + + var _iterator = _createForOfIteratorHelper$1(nodes), + _step; + + try { + for (_iterator.s(); !(_step = _iterator.n()).done;) { + var _node = _step.value; + + var _path = parentPath.concat(index); + + index++; + editor.apply({ + type: 'insert_node', + path: _path, + node: _node + }); + at = Path.next(at); + } + } catch (err) { + _iterator.e(err); + } finally { + _iterator.f(); + } + + at = Path.previous(at); + + if (select) { + var point = Editor.end(editor, at); + + if (point) { + Transforms.select(editor, point); + } + } + }); + }, + + /** + * Lift nodes at a specific location upwards in the document tree, splitting + * their parent in two if necessary. + */ + liftNodes: function liftNodes(editor) { + var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + Editor.withoutNormalizing(editor, function () { + var _options$at = options.at, + at = _options$at === void 0 ? editor.selection : _options$at, + _options$mode2 = options.mode, + mode = _options$mode2 === void 0 ? 'lowest' : _options$mode2, + _options$voids2 = options.voids, + voids = _options$voids2 === void 0 ? false : _options$voids2; + var match = options.match; + + if (match == null) { + match = Path.isPath(at) ? matchPath(editor, at) : function (n) { + return Editor.isBlock(editor, n); + }; + } + + if (!at) { + return; + } + + var matches = Editor.nodes(editor, { + at: at, + match: match, + mode: mode, + voids: voids + }); + var pathRefs = Array.from(matches, function (_ref) { + var _ref2 = _slicedToArray(_ref, 2), + p = _ref2[1]; + + return Editor.pathRef(editor, p); + }); + + for (var _i = 0, _pathRefs = pathRefs; _i < _pathRefs.length; _i++) { + var pathRef = _pathRefs[_i]; + var path = pathRef.unref(); + + if (path.length < 2) { + throw new Error("Cannot lift node at a path [".concat(path, "] because it has a depth of less than `2`.")); + } + + var parentNodeEntry = Editor.node(editor, Path.parent(path)); + + var _parentNodeEntry = _slicedToArray(parentNodeEntry, 2), + parent = _parentNodeEntry[0], + parentPath = _parentNodeEntry[1]; + + var index = path[path.length - 1]; + var length = parent.children.length; + + if (length === 1) { + var toPath = Path.next(parentPath); + Transforms.moveNodes(editor, { + at: path, + to: toPath, + voids: voids + }); + Transforms.removeNodes(editor, { + at: parentPath, + voids: voids + }); + } else if (index === 0) { + Transforms.moveNodes(editor, { + at: path, + to: parentPath, + voids: voids + }); + } else if (index === length - 1) { + var _toPath = Path.next(parentPath); + + Transforms.moveNodes(editor, { + at: path, + to: _toPath, + voids: voids + }); + } else { + var splitPath = Path.next(path); + + var _toPath2 = Path.next(parentPath); + + Transforms.splitNodes(editor, { + at: splitPath, + voids: voids + }); + Transforms.moveNodes(editor, { + at: path, + to: _toPath2, + voids: voids + }); + } + } + }); + }, + + /** + * Merge a node at a location with the previous node of the same depth, + * removing any empty containing nodes after the merge if necessary. + */ + mergeNodes: function mergeNodes(editor) { + var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + Editor.withoutNormalizing(editor, function () { + var match = options.match, + _options$at2 = options.at, + at = _options$at2 === void 0 ? editor.selection : _options$at2; + var _options$hanging2 = options.hanging, + hanging = _options$hanging2 === void 0 ? false : _options$hanging2, + _options$voids3 = options.voids, + voids = _options$voids3 === void 0 ? false : _options$voids3, + _options$mode3 = options.mode, + mode = _options$mode3 === void 0 ? 'lowest' : _options$mode3; + + if (!at) { + return; + } + + if (match == null) { + if (Path.isPath(at)) { + var _Editor$parent = Editor.parent(editor, at), + _Editor$parent2 = _slicedToArray(_Editor$parent, 1), + parent = _Editor$parent2[0]; + + match = function match(n) { + return parent.children.includes(n); + }; + } else { + match = function match(n) { + return Editor.isBlock(editor, n); + }; + } + } + + if (!hanging && Range.isRange(at)) { + at = Editor.unhangRange(editor, at); + } + + if (Range.isRange(at)) { + if (Range.isCollapsed(at)) { + at = at.anchor; + } else { + var _Range$edges3 = Range.edges(at), + _Range$edges4 = _slicedToArray(_Range$edges3, 2), + end = _Range$edges4[1]; + + var pointRef = Editor.pointRef(editor, end); + Transforms["delete"](editor, { + at: at + }); + at = pointRef.unref(); + + if (options.at == null) { + Transforms.select(editor, at); + } + } + } + + var _Editor$nodes3 = Editor.nodes(editor, { + at: at, + match: match, + voids: voids, + mode: mode + }), + _Editor$nodes4 = _slicedToArray(_Editor$nodes3, 1), + current = _Editor$nodes4[0]; + + var prev = Editor.previous(editor, { + at: at, + match: match, + voids: voids, + mode: mode + }); + + if (!current || !prev) { + return; + } + + var _current = _slicedToArray(current, 2), + node = _current[0], + path = _current[1]; + + var _prev = _slicedToArray(prev, 2), + prevNode = _prev[0], + prevPath = _prev[1]; + + if (path.length === 0 || prevPath.length === 0) { + return; + } + + var newPath = Path.next(prevPath); + var commonPath = Path.common(path, prevPath); + var isPreviousSibling = Path.isSibling(path, prevPath); + var levels = Array.from(Editor.levels(editor, { + at: path + }), function (_ref3) { + var _ref4 = _slicedToArray(_ref3, 1), + n = _ref4[0]; + + return n; + }).slice(commonPath.length).slice(0, -1); // Determine if the merge will leave an ancestor of the path empty as a + // result, in which case we'll want to remove it after merging. + + var emptyAncestor = Editor.above(editor, { + at: path, + mode: 'highest', + match: function match(n) { + return levels.includes(n) && hasSingleChildNest(editor, n); + } + }); + var emptyRef = emptyAncestor && Editor.pathRef(editor, emptyAncestor[1]); + var properties; + var position; // Ensure that the nodes are equivalent, and figure out what the position + // and extra properties of the merge will be. + + if (Text.isText(node) && Text.isText(prevNode)) { + node.text; + var rest = _objectWithoutProperties(node, _excluded); + + position = prevNode.text.length; + properties = rest; + } else if (Element$1.isElement(node) && Element$1.isElement(prevNode)) { + node.children; + var _rest = _objectWithoutProperties(node, _excluded2); + + position = prevNode.children.length; + properties = _rest; + } else { + throw new Error("Cannot merge the node at path [".concat(path, "] with the previous sibling because it is not the same kind: ").concat(JSON.stringify(node), " ").concat(JSON.stringify(prevNode))); + } // If the node isn't already the next sibling of the previous node, move + // it so that it is before merging. + + + if (!isPreviousSibling) { + Transforms.moveNodes(editor, { + at: path, + to: newPath, + voids: voids + }); + } // If there was going to be an empty ancestor of the node that was merged, + // we remove it from the tree. + + + if (emptyRef) { + Transforms.removeNodes(editor, { + at: emptyRef.current, + voids: voids + }); + } // If the target node that we're merging with is empty, remove it instead + // of merging the two. This is a common rich text editor behavior to + // prevent losing formatting when deleting entire nodes when you have a + // hanging selection. + // if prevNode is first child in parent,don't remove it. + + + if (Element$1.isElement(prevNode) && Editor.isEmpty(editor, prevNode) || Text.isText(prevNode) && prevNode.text === '' && prevPath[prevPath.length - 1] !== 0) { + Transforms.removeNodes(editor, { + at: prevPath, + voids: voids + }); + } else { + editor.apply({ + type: 'merge_node', + path: newPath, + position: position, + properties: properties + }); + } + + if (emptyRef) { + emptyRef.unref(); + } + }); + }, + + /** + * Move the nodes at a location to a new location. + */ + moveNodes: function moveNodes(editor, options) { + Editor.withoutNormalizing(editor, function () { + var to = options.to, + _options$at3 = options.at, + at = _options$at3 === void 0 ? editor.selection : _options$at3, + _options$mode4 = options.mode, + mode = _options$mode4 === void 0 ? 'lowest' : _options$mode4, + _options$voids4 = options.voids, + voids = _options$voids4 === void 0 ? false : _options$voids4; + var match = options.match; + + if (!at) { + return; + } + + if (match == null) { + match = Path.isPath(at) ? matchPath(editor, at) : function (n) { + return Editor.isBlock(editor, n); + }; + } + + var toRef = Editor.pathRef(editor, to); + var targets = Editor.nodes(editor, { + at: at, + match: match, + mode: mode, + voids: voids + }); + var pathRefs = Array.from(targets, function (_ref5) { + var _ref6 = _slicedToArray(_ref5, 2), + p = _ref6[1]; + + return Editor.pathRef(editor, p); + }); + + for (var _i2 = 0, _pathRefs2 = pathRefs; _i2 < _pathRefs2.length; _i2++) { + var pathRef = _pathRefs2[_i2]; + var path = pathRef.unref(); + var newPath = toRef.current; + + if (path.length !== 0) { + editor.apply({ + type: 'move_node', + path: path, + newPath: newPath + }); + } + + if (toRef.current && Path.isSibling(newPath, path) && Path.isAfter(newPath, path)) { + // When performing a sibling move to a later index, the path at the destination is shifted + // to before the insertion point instead of after. To ensure our group of nodes are inserted + // in the correct order we increment toRef to account for that + toRef.current = Path.next(toRef.current); + } + } + + toRef.unref(); + }); + }, + + /** + * Remove the nodes at a specific location in the document. + */ + removeNodes: function removeNodes(editor) { + var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + Editor.withoutNormalizing(editor, function () { + var _options$hanging3 = options.hanging, + hanging = _options$hanging3 === void 0 ? false : _options$hanging3, + _options$voids5 = options.voids, + voids = _options$voids5 === void 0 ? false : _options$voids5, + _options$mode5 = options.mode, + mode = _options$mode5 === void 0 ? 'lowest' : _options$mode5; + var _options$at4 = options.at, + at = _options$at4 === void 0 ? editor.selection : _options$at4, + match = options.match; + + if (!at) { + return; + } + + if (match == null) { + match = Path.isPath(at) ? matchPath(editor, at) : function (n) { + return Editor.isBlock(editor, n); + }; + } + + if (!hanging && Range.isRange(at)) { + at = Editor.unhangRange(editor, at); + } + + var depths = Editor.nodes(editor, { + at: at, + match: match, + mode: mode, + voids: voids + }); + var pathRefs = Array.from(depths, function (_ref7) { + var _ref8 = _slicedToArray(_ref7, 2), + p = _ref8[1]; + + return Editor.pathRef(editor, p); + }); + + for (var _i3 = 0, _pathRefs3 = pathRefs; _i3 < _pathRefs3.length; _i3++) { + var pathRef = _pathRefs3[_i3]; + var path = pathRef.unref(); + + if (path) { + var _Editor$node = Editor.node(editor, path), + _Editor$node2 = _slicedToArray(_Editor$node, 1), + node = _Editor$node2[0]; + + editor.apply({ + type: 'remove_node', + path: path, + node: node + }); + } + } + }); + }, + + /** + * Set new properties on the nodes at a location. + */ + setNodes: function setNodes(editor, props) { + var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; + Editor.withoutNormalizing(editor, function () { + var match = options.match, + _options$at5 = options.at, + at = _options$at5 === void 0 ? editor.selection : _options$at5; + var _options$hanging4 = options.hanging, + hanging = _options$hanging4 === void 0 ? false : _options$hanging4, + _options$mode6 = options.mode, + mode = _options$mode6 === void 0 ? 'lowest' : _options$mode6, + _options$split = options.split, + split = _options$split === void 0 ? false : _options$split, + _options$voids6 = options.voids, + voids = _options$voids6 === void 0 ? false : _options$voids6; + + if (!at) { + return; + } + + if (match == null) { + match = Path.isPath(at) ? matchPath(editor, at) : function (n) { + return Editor.isBlock(editor, n); + }; + } + + if (!hanging && Range.isRange(at)) { + at = Editor.unhangRange(editor, at); + } + + if (split && Range.isRange(at)) { + if (Range.isCollapsed(at) && Editor.leaf(editor, at.anchor)[0].text.length > 0) { + // If the range is collapsed in a non-empty node and 'split' is true, there's nothing to + // set that won't get normalized away + return; + } + + var rangeRef = Editor.rangeRef(editor, at, { + affinity: 'inward' + }); + + var _Range$edges5 = Range.edges(at), + _Range$edges6 = _slicedToArray(_Range$edges5, 2), + start = _Range$edges6[0], + end = _Range$edges6[1]; + + var splitMode = mode === 'lowest' ? 'lowest' : 'highest'; + var endAtEndOfNode = Editor.isEnd(editor, end, end.path); + Transforms.splitNodes(editor, { + at: end, + match: match, + mode: splitMode, + voids: voids, + always: !endAtEndOfNode + }); + var startAtStartOfNode = Editor.isStart(editor, start, start.path); + Transforms.splitNodes(editor, { + at: start, + match: match, + mode: splitMode, + voids: voids, + always: !startAtStartOfNode + }); + at = rangeRef.unref(); + + if (options.at == null) { + Transforms.select(editor, at); + } + } + + var _iterator2 = _createForOfIteratorHelper$1(Editor.nodes(editor, { + at: at, + match: match, + mode: mode, + voids: voids + })), + _step2; + + try { + for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) { + var _step2$value = _slicedToArray(_step2.value, 2), + node = _step2$value[0], + path = _step2$value[1]; + + var properties = {}; + var newProperties = {}; // You can't set properties on the editor node. + + if (path.length === 0) { + continue; + } + + var hasChanges = false; + + for (var k in props) { + if (k === 'children' || k === 'text') { + continue; + } + + if (props[k] !== node[k]) { + hasChanges = true; // Omit new properties from the old properties list + + if (node.hasOwnProperty(k)) properties[k] = node[k]; // Omit properties that have been removed from the new properties list + + if (props[k] != null) newProperties[k] = props[k]; + } + } + + if (hasChanges) { + editor.apply({ + type: 'set_node', + path: path, + properties: properties, + newProperties: newProperties + }); + } + } + } catch (err) { + _iterator2.e(err); + } finally { + _iterator2.f(); + } + }); + }, + + /** + * Split the nodes at a specific location. + */ + splitNodes: function splitNodes(editor) { + var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + Editor.withoutNormalizing(editor, function () { + var _options$mode7 = options.mode, + mode = _options$mode7 === void 0 ? 'lowest' : _options$mode7, + _options$voids7 = options.voids, + voids = _options$voids7 === void 0 ? false : _options$voids7; + var match = options.match, + _options$at6 = options.at, + at = _options$at6 === void 0 ? editor.selection : _options$at6, + _options$height = options.height, + height = _options$height === void 0 ? 0 : _options$height, + _options$always = options.always, + always = _options$always === void 0 ? false : _options$always; + + if (match == null) { + match = function match(n) { + return Editor.isBlock(editor, n); + }; + } + + if (Range.isRange(at)) { + at = deleteRange(editor, at); + } // If the target is a path, the default height-skipping and position + // counters need to account for us potentially splitting at a non-leaf. + + + if (Path.isPath(at)) { + var path = at; + var point = Editor.point(editor, path); + + var _Editor$parent3 = Editor.parent(editor, path), + _Editor$parent4 = _slicedToArray(_Editor$parent3, 1), + parent = _Editor$parent4[0]; + + match = function match(n) { + return n === parent; + }; + + height = point.path.length - path.length + 1; + at = point; + always = true; + } + + if (!at) { + return; + } + + var beforeRef = Editor.pointRef(editor, at, { + affinity: 'backward' + }); + + var _Editor$nodes5 = Editor.nodes(editor, { + at: at, + match: match, + mode: mode, + voids: voids + }), + _Editor$nodes6 = _slicedToArray(_Editor$nodes5, 1), + highest = _Editor$nodes6[0]; + + if (!highest) { + return; + } + + var voidMatch = Editor["void"](editor, { + at: at, + mode: 'highest' + }); + var nudge = 0; + + if (!voids && voidMatch) { + var _voidMatch = _slicedToArray(voidMatch, 2), + voidNode = _voidMatch[0], + voidPath = _voidMatch[1]; + + if (Element$1.isElement(voidNode) && editor.isInline(voidNode)) { + var after = Editor.after(editor, voidPath); + + if (!after) { + var text = { + text: '' + }; + var afterPath = Path.next(voidPath); + Transforms.insertNodes(editor, text, { + at: afterPath, + voids: voids + }); + after = Editor.point(editor, afterPath); + } + + at = after; + always = true; + } + + var siblingHeight = at.path.length - voidPath.length; + height = siblingHeight + 1; + always = true; + } + + var afterRef = Editor.pointRef(editor, at); + var depth = at.path.length - height; + + var _highest = _slicedToArray(highest, 2), + highestPath = _highest[1]; + + var lowestPath = at.path.slice(0, depth); + var position = height === 0 ? at.offset : at.path[depth] + nudge; + + var _iterator3 = _createForOfIteratorHelper$1(Editor.levels(editor, { + at: lowestPath, + reverse: true, + voids: voids + })), + _step3; + + try { + for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) { + var _step3$value = _slicedToArray(_step3.value, 2), + node = _step3$value[0], + _path2 = _step3$value[1]; + + var split = false; + + if (_path2.length < highestPath.length || _path2.length === 0 || !voids && Editor.isVoid(editor, node)) { + break; + } + + var _point2 = beforeRef.current; + var isEnd = Editor.isEnd(editor, _point2, _path2); + + if (always || !beforeRef || !Editor.isEdge(editor, _point2, _path2)) { + split = true; + var properties = Node$1.extractProps(node); + editor.apply({ + type: 'split_node', + path: _path2, + position: position, + properties: properties + }); + } + + position = _path2[_path2.length - 1] + (split || isEnd ? 1 : 0); + } + } catch (err) { + _iterator3.e(err); + } finally { + _iterator3.f(); + } + + if (options.at == null) { + var _point = afterRef.current || Editor.end(editor, []); + + Transforms.select(editor, _point); + } + + beforeRef.unref(); + afterRef.unref(); + }); + }, + + /** + * Unset properties on the nodes at a location. + */ + unsetNodes: function unsetNodes(editor, props) { + var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; + + if (!Array.isArray(props)) { + props = [props]; + } + + var obj = {}; + + var _iterator4 = _createForOfIteratorHelper$1(props), + _step4; + + try { + for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) { + var key = _step4.value; + obj[key] = null; + } + } catch (err) { + _iterator4.e(err); + } finally { + _iterator4.f(); + } + + Transforms.setNodes(editor, obj, options); + }, + + /** + * Unwrap the nodes at a location from a parent node, splitting the parent if + * necessary to ensure that only the content in the range is unwrapped. + */ + unwrapNodes: function unwrapNodes(editor) { + var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + Editor.withoutNormalizing(editor, function () { + var _options$mode8 = options.mode, + mode = _options$mode8 === void 0 ? 'lowest' : _options$mode8, + _options$split2 = options.split, + split = _options$split2 === void 0 ? false : _options$split2, + _options$voids8 = options.voids, + voids = _options$voids8 === void 0 ? false : _options$voids8; + var _options$at7 = options.at, + at = _options$at7 === void 0 ? editor.selection : _options$at7, + match = options.match; + + if (!at) { + return; + } + + if (match == null) { + match = Path.isPath(at) ? matchPath(editor, at) : function (n) { + return Editor.isBlock(editor, n); + }; + } + + if (Path.isPath(at)) { + at = Editor.range(editor, at); + } + + var rangeRef = Range.isRange(at) ? Editor.rangeRef(editor, at) : null; + var matches = Editor.nodes(editor, { + at: at, + match: match, + mode: mode, + voids: voids + }); + var pathRefs = Array.from(matches, function (_ref9) { + var _ref10 = _slicedToArray(_ref9, 2), + p = _ref10[1]; + + return Editor.pathRef(editor, p); + } // unwrapNode will call liftNode which does not support splitting the node when nested. + // If we do not reverse the order and call it from top to the bottom, it will remove all blocks + // that wrap target node. So we reverse the order. + ).reverse(); + + var _iterator5 = _createForOfIteratorHelper$1(pathRefs), + _step5; + + try { + var _loop = function _loop() { + var pathRef = _step5.value; + var path = pathRef.unref(); + + var _Editor$node3 = Editor.node(editor, path), + _Editor$node4 = _slicedToArray(_Editor$node3, 1), + node = _Editor$node4[0]; + + var range = Editor.range(editor, path); + + if (split && rangeRef) { + range = Range.intersection(rangeRef.current, range); + } + + Transforms.liftNodes(editor, { + at: range, + match: function match(n) { + return Element$1.isAncestor(node) && node.children.includes(n); + }, + voids: voids + }); + }; + + for (_iterator5.s(); !(_step5 = _iterator5.n()).done;) { + _loop(); + } + } catch (err) { + _iterator5.e(err); + } finally { + _iterator5.f(); + } + + if (rangeRef) { + rangeRef.unref(); + } + }); + }, + + /** + * Wrap the nodes at a location in a new container node, splitting the edges + * of the range first to ensure that only the content in the range is wrapped. + */ + wrapNodes: function wrapNodes(editor, element) { + var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; + Editor.withoutNormalizing(editor, function () { + var _options$mode9 = options.mode, + mode = _options$mode9 === void 0 ? 'lowest' : _options$mode9, + _options$split3 = options.split, + split = _options$split3 === void 0 ? false : _options$split3, + _options$voids9 = options.voids, + voids = _options$voids9 === void 0 ? false : _options$voids9; + var match = options.match, + _options$at8 = options.at, + at = _options$at8 === void 0 ? editor.selection : _options$at8; + + if (!at) { + return; + } + + if (match == null) { + if (Path.isPath(at)) { + match = matchPath(editor, at); + } else if (editor.isInline(element)) { + match = function match(n) { + return Editor.isInline(editor, n) || Text.isText(n); + }; + } else { + match = function match(n) { + return Editor.isBlock(editor, n); + }; + } + } + + if (split && Range.isRange(at)) { + var _Range$edges7 = Range.edges(at), + _Range$edges8 = _slicedToArray(_Range$edges7, 2), + start = _Range$edges8[0], + end = _Range$edges8[1]; + + var rangeRef = Editor.rangeRef(editor, at, { + affinity: 'inward' + }); + Transforms.splitNodes(editor, { + at: end, + match: match, + voids: voids + }); + Transforms.splitNodes(editor, { + at: start, + match: match, + voids: voids + }); + at = rangeRef.unref(); + + if (options.at == null) { + Transforms.select(editor, at); + } + } + + var roots = Array.from(Editor.nodes(editor, { + at: at, + match: editor.isInline(element) ? function (n) { + return Editor.isBlock(editor, n); + } : function (n) { + return Editor.isEditor(n); + }, + mode: 'lowest', + voids: voids + })); + + for (var _i4 = 0, _roots = roots; _i4 < _roots.length; _i4++) { + var _roots$_i = _slicedToArray(_roots[_i4], 2), + rootPath = _roots$_i[1]; + + var a = Range.isRange(at) ? Range.intersection(at, Editor.range(editor, rootPath)) : at; + + if (!a) { + continue; + } + + var matches = Array.from(Editor.nodes(editor, { + at: a, + match: match, + mode: mode, + voids: voids + })); + + if (matches.length > 0) { + var _ret = function () { + var _matches = _slicedToArray(matches, 1), + first = _matches[0]; + + var last = matches[matches.length - 1]; + + var _first = _slicedToArray(first, 2), + firstPath = _first[1]; + + var _last = _slicedToArray(last, 2), + lastPath = _last[1]; + + if (firstPath.length === 0 && lastPath.length === 0) { + // if there's no matching parent - usually means the node is an editor - don't do anything + return "continue"; + } + + var commonPath = Path.equals(firstPath, lastPath) ? Path.parent(firstPath) : Path.common(firstPath, lastPath); + var range = Editor.range(editor, firstPath, lastPath); + var commonNodeEntry = Editor.node(editor, commonPath); + + var _commonNodeEntry = _slicedToArray(commonNodeEntry, 1), + commonNode = _commonNodeEntry[0]; + + var depth = commonPath.length + 1; + var wrapperPath = Path.next(lastPath.slice(0, depth)); + + var wrapper = _objectSpread$2(_objectSpread$2({}, element), {}, { + children: [] + }); + + Transforms.insertNodes(editor, wrapper, { + at: wrapperPath, + voids: voids + }); + Transforms.moveNodes(editor, { + at: range, + match: function match(n) { + return Element$1.isAncestor(commonNode) && commonNode.children.includes(n); + }, + to: wrapperPath.concat(0), + voids: voids + }); + }(); + + if (_ret === "continue") continue; + } + } + }); + } + }; + + var hasSingleChildNest = function hasSingleChildNest(editor, node) { + if (Element$1.isElement(node)) { + var element = node; + + if (Editor.isVoid(editor, node)) { + return true; + } else if (element.children.length === 1) { + return hasSingleChildNest(editor, element.children[0]); + } else { + return false; + } + } else if (Editor.isEditor(node)) { + return false; + } else { + return true; + } + }; + /** + * Convert a range into a point by deleting it's content. + */ + + + var deleteRange = function deleteRange(editor, range) { + if (Range.isCollapsed(range)) { + return range.anchor; + } else { + var _Range$edges9 = Range.edges(range), + _Range$edges10 = _slicedToArray(_Range$edges9, 2), + end = _Range$edges10[1]; + + var pointRef = Editor.pointRef(editor, end); + Transforms["delete"](editor, { + at: range + }); + return pointRef.unref(); + } + }; + + var matchPath = function matchPath(editor, path) { + var _Editor$node5 = Editor.node(editor, path), + _Editor$node6 = _slicedToArray(_Editor$node5, 1), + node = _Editor$node6[0]; + + return function (n) { + return n === node; + }; + }; + + function ownKeys$1(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; } + + function _objectSpread$1(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$1(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$1(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + var SelectionTransforms = { + /** + * Collapse the selection. + */ + collapse: function collapse(editor) { + var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + var _options$edge = options.edge, + edge = _options$edge === void 0 ? 'anchor' : _options$edge; + var selection = editor.selection; + + if (!selection) { + return; + } else if (edge === 'anchor') { + Transforms.select(editor, selection.anchor); + } else if (edge === 'focus') { + Transforms.select(editor, selection.focus); + } else if (edge === 'start') { + var _Range$edges = Range.edges(selection), + _Range$edges2 = _slicedToArray(_Range$edges, 1), + start = _Range$edges2[0]; + + Transforms.select(editor, start); + } else if (edge === 'end') { + var _Range$edges3 = Range.edges(selection), + _Range$edges4 = _slicedToArray(_Range$edges3, 2), + end = _Range$edges4[1]; + + Transforms.select(editor, end); + } + }, + + /** + * Unset the selection. + */ + deselect: function deselect(editor) { + var selection = editor.selection; + + if (selection) { + editor.apply({ + type: 'set_selection', + properties: selection, + newProperties: null + }); + } + }, + + /** + * Move the selection's point forward or backward. + */ + move: function move(editor) { + var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + var selection = editor.selection; + var _options$distance = options.distance, + distance = _options$distance === void 0 ? 1 : _options$distance, + _options$unit = options.unit, + unit = _options$unit === void 0 ? 'character' : _options$unit, + _options$reverse = options.reverse, + reverse = _options$reverse === void 0 ? false : _options$reverse; + var _options$edge2 = options.edge, + edge = _options$edge2 === void 0 ? null : _options$edge2; + + if (!selection) { + return; + } + + if (edge === 'start') { + edge = Range.isBackward(selection) ? 'focus' : 'anchor'; + } + + if (edge === 'end') { + edge = Range.isBackward(selection) ? 'anchor' : 'focus'; + } + + var anchor = selection.anchor, + focus = selection.focus; + var opts = { + distance: distance, + unit: unit + }; + var props = {}; + + if (edge == null || edge === 'anchor') { + var point = reverse ? Editor.before(editor, anchor, opts) : Editor.after(editor, anchor, opts); + + if (point) { + props.anchor = point; + } + } + + if (edge == null || edge === 'focus') { + var _point = reverse ? Editor.before(editor, focus, opts) : Editor.after(editor, focus, opts); + + if (_point) { + props.focus = _point; + } + } + + Transforms.setSelection(editor, props); + }, + + /** + * Set the selection to a new value. + */ + select: function select(editor, target) { + var selection = editor.selection; + target = Editor.range(editor, target); + + if (selection) { + Transforms.setSelection(editor, target); + return; + } + + if (!Range.isRange(target)) { + throw new Error("When setting the selection and the current selection is `null` you must provide at least an `anchor` and `focus`, but you passed: ".concat(JSON.stringify(target))); + } + + editor.apply({ + type: 'set_selection', + properties: selection, + newProperties: target + }); + }, + + /** + * Set new properties on one of the selection's points. + */ + setPoint: function setPoint(editor, props) { + var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; + var selection = editor.selection; + var _options$edge3 = options.edge, + edge = _options$edge3 === void 0 ? 'both' : _options$edge3; + + if (!selection) { + return; + } + + if (edge === 'start') { + edge = Range.isBackward(selection) ? 'focus' : 'anchor'; + } + + if (edge === 'end') { + edge = Range.isBackward(selection) ? 'anchor' : 'focus'; + } + + var anchor = selection.anchor, + focus = selection.focus; + var point = edge === 'anchor' ? anchor : focus; + Transforms.setSelection(editor, _defineProperty({}, edge === 'anchor' ? 'anchor' : 'focus', _objectSpread$1(_objectSpread$1({}, point), props))); + }, + + /** + * Set new properties on the selection. + */ + setSelection: function setSelection(editor, props) { + var selection = editor.selection; + var oldProps = {}; + var newProps = {}; + + if (!selection) { + return; + } + + for (var k in props) { + if (k === 'anchor' && props.anchor != null && !Point.equals(props.anchor, selection.anchor) || k === 'focus' && props.focus != null && !Point.equals(props.focus, selection.focus) || k !== 'anchor' && k !== 'focus' && props[k] !== selection[k]) { + oldProps[k] = selection[k]; + newProps[k] = props[k]; + } + } + + if (Object.keys(oldProps).length > 0) { + editor.apply({ + type: 'set_selection', + properties: oldProps, + newProperties: newProps + }); + } + } + }; + + function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; } + + function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } + + function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } + var TextTransforms = { + /** + * Delete content in the editor. + */ + "delete": function _delete(editor) { + var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + Editor.withoutNormalizing(editor, function () { + var _options$reverse = options.reverse, + reverse = _options$reverse === void 0 ? false : _options$reverse, + _options$unit = options.unit, + unit = _options$unit === void 0 ? 'character' : _options$unit, + _options$distance = options.distance, + distance = _options$distance === void 0 ? 1 : _options$distance, + _options$voids = options.voids, + voids = _options$voids === void 0 ? false : _options$voids; + var _options$at = options.at, + at = _options$at === void 0 ? editor.selection : _options$at, + _options$hanging = options.hanging, + hanging = _options$hanging === void 0 ? false : _options$hanging; + + if (!at) { + return; + } + + if (Range.isRange(at) && Range.isCollapsed(at)) { + at = at.anchor; + } + + if (Point.isPoint(at)) { + var furthestVoid = Editor["void"](editor, { + at: at, + mode: 'highest' + }); + + if (!voids && furthestVoid) { + var _furthestVoid = _slicedToArray(furthestVoid, 2), + voidPath = _furthestVoid[1]; + + at = voidPath; + } else { + var opts = { + unit: unit, + distance: distance + }; + var target = reverse ? Editor.before(editor, at, opts) || Editor.start(editor, []) : Editor.after(editor, at, opts) || Editor.end(editor, []); + at = { + anchor: at, + focus: target + }; + hanging = true; + } + } + + if (Path.isPath(at)) { + Transforms.removeNodes(editor, { + at: at, + voids: voids + }); + return; + } + + if (Range.isCollapsed(at)) { + return; + } + + if (!hanging) { + var _Range$edges = Range.edges(at), + _Range$edges2 = _slicedToArray(_Range$edges, 2), + _end = _Range$edges2[1]; + + var endOfDoc = Editor.end(editor, []); + + if (!Point.equals(_end, endOfDoc)) { + at = Editor.unhangRange(editor, at, { + voids: voids + }); + } + } + + var _Range$edges3 = Range.edges(at), + _Range$edges4 = _slicedToArray(_Range$edges3, 2), + start = _Range$edges4[0], + end = _Range$edges4[1]; + + var startBlock = Editor.above(editor, { + match: function match(n) { + return Editor.isBlock(editor, n); + }, + at: start, + voids: voids + }); + var endBlock = Editor.above(editor, { + match: function match(n) { + return Editor.isBlock(editor, n); + }, + at: end, + voids: voids + }); + var isAcrossBlocks = startBlock && endBlock && !Path.equals(startBlock[1], endBlock[1]); + var isSingleText = Path.equals(start.path, end.path); + var startVoid = voids ? null : Editor["void"](editor, { + at: start, + mode: 'highest' + }); + var endVoid = voids ? null : Editor["void"](editor, { + at: end, + mode: 'highest' + }); // If the start or end points are inside an inline void, nudge them out. + + if (startVoid) { + var before = Editor.before(editor, start); + + if (before && startBlock && Path.isAncestor(startBlock[1], before.path)) { + start = before; + } + } + + if (endVoid) { + var after = Editor.after(editor, end); + + if (after && endBlock && Path.isAncestor(endBlock[1], after.path)) { + end = after; + } + } // Get the highest nodes that are completely inside the range, as well as + // the start and end nodes. + + + var matches = []; + var lastPath; + + var _iterator = _createForOfIteratorHelper(Editor.nodes(editor, { + at: at, + voids: voids + })), + _step; + + try { + for (_iterator.s(); !(_step = _iterator.n()).done;) { + var entry = _step.value; + + var _entry = _slicedToArray(entry, 2), + _node2 = _entry[0], + _path3 = _entry[1]; + + if (lastPath && Path.compare(_path3, lastPath) === 0) { + continue; + } + + if (!voids && Editor.isVoid(editor, _node2) || !Path.isCommon(_path3, start.path) && !Path.isCommon(_path3, end.path)) { + matches.push(entry); + lastPath = _path3; + } + } + } catch (err) { + _iterator.e(err); + } finally { + _iterator.f(); + } + + var pathRefs = Array.from(matches, function (_ref) { + var _ref2 = _slicedToArray(_ref, 2), + p = _ref2[1]; + + return Editor.pathRef(editor, p); + }); + var startRef = Editor.pointRef(editor, start); + var endRef = Editor.pointRef(editor, end); + + if (!isSingleText && !startVoid) { + var _point = startRef.current; + + var _Editor$leaf = Editor.leaf(editor, _point), + _Editor$leaf2 = _slicedToArray(_Editor$leaf, 1), + node = _Editor$leaf2[0]; + + var path = _point.path; + var _start = start, + offset = _start.offset; + var text = node.text.slice(offset); + if (text.length > 0) editor.apply({ + type: 'remove_text', + path: path, + offset: offset, + text: text + }); + } + + for (var _i = 0, _pathRefs = pathRefs; _i < _pathRefs.length; _i++) { + var pathRef = _pathRefs[_i]; + + var _path = pathRef.unref(); + + Transforms.removeNodes(editor, { + at: _path, + voids: voids + }); + } + + if (!endVoid) { + var _point2 = endRef.current; + + var _Editor$leaf3 = Editor.leaf(editor, _point2), + _Editor$leaf4 = _slicedToArray(_Editor$leaf3, 1), + _node = _Editor$leaf4[0]; + + var _path2 = _point2.path; + + var _offset = isSingleText ? start.offset : 0; + + var _text = _node.text.slice(_offset, end.offset); + + if (_text.length > 0) editor.apply({ + type: 'remove_text', + path: _path2, + offset: _offset, + text: _text + }); + } + + if (!isSingleText && isAcrossBlocks && endRef.current && startRef.current) { + Transforms.mergeNodes(editor, { + at: endRef.current, + hanging: true, + voids: voids + }); + } + + var point = reverse ? startRef.unref() || endRef.unref() : endRef.unref() || startRef.unref(); + + if (options.at == null && point) { + Transforms.select(editor, point); + } + }); + }, + + /** + * Insert a fragment at a specific location in the editor. + */ + insertFragment: function insertFragment(editor, fragment) { + var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; + Editor.withoutNormalizing(editor, function () { + var _options$hanging2 = options.hanging, + hanging = _options$hanging2 === void 0 ? false : _options$hanging2, + _options$voids2 = options.voids, + voids = _options$voids2 === void 0 ? false : _options$voids2; + var _options$at2 = options.at, + at = _options$at2 === void 0 ? editor.selection : _options$at2; + + if (!fragment.length) { + return; + } + + if (!at) { + return; + } else if (Range.isRange(at)) { + if (!hanging) { + at = Editor.unhangRange(editor, at); + } + + if (Range.isCollapsed(at)) { + at = at.anchor; + } else { + var _Range$edges5 = Range.edges(at), + _Range$edges6 = _slicedToArray(_Range$edges5, 2), + end = _Range$edges6[1]; + + if (!voids && Editor["void"](editor, { + at: end + })) { + return; + } + + var pointRef = Editor.pointRef(editor, end); + Transforms["delete"](editor, { + at: at + }); + at = pointRef.unref(); + } + } else if (Path.isPath(at)) { + at = Editor.start(editor, at); + } + + if (!voids && Editor["void"](editor, { + at: at + })) { + return; + } // If the insert point is at the edge of an inline node, move it outside + // instead since it will need to be split otherwise. + + + var inlineElementMatch = Editor.above(editor, { + at: at, + match: function match(n) { + return Editor.isInline(editor, n); + }, + mode: 'highest', + voids: voids + }); + + if (inlineElementMatch) { + var _inlineElementMatch = _slicedToArray(inlineElementMatch, 2), + _inlinePath = _inlineElementMatch[1]; + + if (Editor.isEnd(editor, at, _inlinePath)) { + var after = Editor.after(editor, _inlinePath); + at = after; + } else if (Editor.isStart(editor, at, _inlinePath)) { + var before = Editor.before(editor, _inlinePath); + at = before; + } + } + + var blockMatch = Editor.above(editor, { + match: function match(n) { + return Editor.isBlock(editor, n); + }, + at: at, + voids: voids + }); + + var _blockMatch = _slicedToArray(blockMatch, 2), + blockPath = _blockMatch[1]; + + var isBlockStart = Editor.isStart(editor, at, blockPath); + var isBlockEnd = Editor.isEnd(editor, at, blockPath); + var isBlockEmpty = isBlockStart && isBlockEnd; + var mergeStart = !isBlockStart || isBlockStart && isBlockEnd; + var mergeEnd = !isBlockEnd; + + var _Node$first = Node$1.first({ + children: fragment + }, []), + _Node$first2 = _slicedToArray(_Node$first, 2), + firstPath = _Node$first2[1]; + + var _Node$last = Node$1.last({ + children: fragment + }, []), + _Node$last2 = _slicedToArray(_Node$last, 2), + lastPath = _Node$last2[1]; + + var matches = []; + + var matcher = function matcher(_ref3) { + var _ref4 = _slicedToArray(_ref3, 2), + n = _ref4[0], + p = _ref4[1]; + + var isRoot = p.length === 0; + + if (isRoot) { + return false; + } + + if (isBlockEmpty) { + return true; + } + + if (mergeStart && Path.isAncestor(p, firstPath) && Element$1.isElement(n) && !editor.isVoid(n) && !editor.isInline(n)) { + return false; + } + + if (mergeEnd && Path.isAncestor(p, lastPath) && Element$1.isElement(n) && !editor.isVoid(n) && !editor.isInline(n)) { + return false; + } + + return true; + }; + + var _iterator2 = _createForOfIteratorHelper(Node$1.nodes({ + children: fragment + }, { + pass: matcher + })), + _step2; + + try { + for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) { + var entry = _step2.value; + + if (matcher(entry)) { + matches.push(entry); + } + } + } catch (err) { + _iterator2.e(err); + } finally { + _iterator2.f(); + } + + var starts = []; + var middles = []; + var ends = []; + var starting = true; + var hasBlocks = false; + + for (var _i2 = 0, _matches = matches; _i2 < _matches.length; _i2++) { + var _matches$_i = _slicedToArray(_matches[_i2], 1), + node = _matches$_i[0]; + + if (Element$1.isElement(node) && !editor.isInline(node)) { + starting = false; + hasBlocks = true; + middles.push(node); + } else if (starting) { + starts.push(node); + } else { + ends.push(node); + } + } + + var _Editor$nodes = Editor.nodes(editor, { + at: at, + match: function match(n) { + return Text.isText(n) || Editor.isInline(editor, n); + }, + mode: 'highest', + voids: voids + }), + _Editor$nodes2 = _slicedToArray(_Editor$nodes, 1), + inlineMatch = _Editor$nodes2[0]; + + var _inlineMatch = _slicedToArray(inlineMatch, 2), + inlinePath = _inlineMatch[1]; + + var isInlineStart = Editor.isStart(editor, at, inlinePath); + var isInlineEnd = Editor.isEnd(editor, at, inlinePath); + var middleRef = Editor.pathRef(editor, isBlockEnd ? Path.next(blockPath) : blockPath); + var endRef = Editor.pathRef(editor, isInlineEnd ? Path.next(inlinePath) : inlinePath); + var blockPathRef = Editor.pathRef(editor, blockPath); + Transforms.splitNodes(editor, { + at: at, + match: function match(n) { + return hasBlocks ? Editor.isBlock(editor, n) : Text.isText(n) || Editor.isInline(editor, n); + }, + mode: hasBlocks ? 'lowest' : 'highest', + voids: voids + }); + var startRef = Editor.pathRef(editor, !isInlineStart || isInlineStart && isInlineEnd ? Path.next(inlinePath) : inlinePath); + Transforms.insertNodes(editor, starts, { + at: startRef.current, + match: function match(n) { + return Text.isText(n) || Editor.isInline(editor, n); + }, + mode: 'highest', + voids: voids + }); + + if (isBlockEmpty && middles.length) { + Transforms["delete"](editor, { + at: blockPathRef.unref(), + voids: voids + }); + } + + Transforms.insertNodes(editor, middles, { + at: middleRef.current, + match: function match(n) { + return Editor.isBlock(editor, n); + }, + mode: 'lowest', + voids: voids + }); + Transforms.insertNodes(editor, ends, { + at: endRef.current, + match: function match(n) { + return Text.isText(n) || Editor.isInline(editor, n); + }, + mode: 'highest', + voids: voids + }); + + if (!options.at) { + var path; + + if (ends.length > 0) { + path = Path.previous(endRef.current); + } else if (middles.length > 0) { + path = Path.previous(middleRef.current); + } else { + path = Path.previous(startRef.current); + } + + var _end2 = Editor.end(editor, path); + + Transforms.select(editor, _end2); + } + + startRef.unref(); + middleRef.unref(); + endRef.unref(); + }); + }, + + /** + * Insert a string of text in the Editor. + */ + insertText: function insertText(editor, text) { + var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; + Editor.withoutNormalizing(editor, function () { + var _options$voids3 = options.voids, + voids = _options$voids3 === void 0 ? false : _options$voids3; + var _options$at3 = options.at, + at = _options$at3 === void 0 ? editor.selection : _options$at3; + + if (!at) { + return; + } + + if (Path.isPath(at)) { + at = Editor.range(editor, at); + } + + if (Range.isRange(at)) { + if (Range.isCollapsed(at)) { + at = at.anchor; + } else { + var end = Range.end(at); + + if (!voids && Editor["void"](editor, { + at: end + })) { + return; + } + + var pointRef = Editor.pointRef(editor, end); + Transforms["delete"](editor, { + at: at, + voids: voids + }); + at = pointRef.unref(); + Transforms.setSelection(editor, { + anchor: at, + focus: at + }); + } + } + + if (!voids && Editor["void"](editor, { + at: at + })) { + return; + } + + var _at = at, + path = _at.path, + offset = _at.offset; + if (text.length > 0) editor.apply({ + type: 'insert_text', + path: path, + offset: offset, + text: text + }); + }); + } + }; + + function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; } + + function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + var Transforms = _objectSpread(_objectSpread(_objectSpread(_objectSpread({}, GeneralTransforms), NodeTransforms), SelectionTransforms), TextTransforms); + + var Editor_1 = Editor; + var Element_1 = Element$1; + var Location_1 = Location; + var Node_1 = Node$1; + var Operation_1 = Operation; + var Path_1 = Path; + var PathRef_1 = PathRef; + var Point_1 = Point; + var PointRef_1 = PointRef; + var Range_1 = Range; + var RangeRef_1 = RangeRef; + var Span_1 = Span; + var Text_1 = Text; + var Transforms_1 = Transforms; + var createEditor_1 = createEditor$1; + + + var dist$7 = /*#__PURE__*/Object.defineProperty({ + Editor: Editor_1, + Element: Element_1, + Location: Location_1, + Node: Node_1, + Operation: Operation_1, + Path: Path_1, + PathRef: PathRef_1, + Point: Point_1, + PointRef: PointRef_1, + Range: Range_1, + RangeRef: RangeRef_1, + Span: Span_1, + Text: Text_1, + Transforms: Transforms_1, + createEditor: createEditor_1 + }, '__esModule', {value: true}); + + /** + * lodash (Custom Build) + * Build: `lodash modularize exports="npm" -o ./` + * Copyright jQuery Foundation and other contributors + * Released under MIT license + * Based on Underscore.js 1.8.3 + * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors + */ + + /** Used as references for various `Number` constants. */ + var MAX_SAFE_INTEGER$1 = 9007199254740991; + + /** `Object#toString` result references. */ + var argsTag$1 = '[object Arguments]', + funcTag$1 = '[object Function]', + genTag$1 = '[object GeneratorFunction]', + mapTag = '[object Map]', + objectTag = '[object Object]', + promiseTag = '[object Promise]', + setTag = '[object Set]', + stringTag = '[object String]', + weakMapTag = '[object WeakMap]'; + + var dataViewTag = '[object DataView]'; + + /** + * Used to match `RegExp` + * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns). + */ + var reRegExpChar = /[\\^$.*+?()[\]{}|]/g; + + /** Used to detect host constructors (Safari). */ + var reIsHostCtor = /^\[object .+?Constructor\]$/; + + /** Used to detect unsigned integer values. */ + var reIsUint$1 = /^(?:0|[1-9]\d*)$/; + + /** Used to compose unicode character classes. */ + var rsAstralRange$1 = '\\ud800-\\udfff', + rsComboMarksRange$1 = '\\u0300-\\u036f\\ufe20-\\ufe23', + rsComboSymbolsRange$1 = '\\u20d0-\\u20f0', + rsVarRange$1 = '\\ufe0e\\ufe0f'; + + /** Used to compose unicode capture groups. */ + var rsAstral$1 = '[' + rsAstralRange$1 + ']', + rsCombo$1 = '[' + rsComboMarksRange$1 + rsComboSymbolsRange$1 + ']', + rsFitz$1 = '\\ud83c[\\udffb-\\udfff]', + rsModifier$1 = '(?:' + rsCombo$1 + '|' + rsFitz$1 + ')', + rsNonAstral$1 = '[^' + rsAstralRange$1 + ']', + rsRegional$1 = '(?:\\ud83c[\\udde6-\\uddff]){2}', + rsSurrPair$1 = '[\\ud800-\\udbff][\\udc00-\\udfff]', + rsZWJ$1 = '\\u200d'; + + /** Used to compose unicode regexes. */ + var reOptMod$1 = rsModifier$1 + '?', + rsOptVar$1 = '[' + rsVarRange$1 + ']?', + rsOptJoin$1 = '(?:' + rsZWJ$1 + '(?:' + [rsNonAstral$1, rsRegional$1, rsSurrPair$1].join('|') + ')' + rsOptVar$1 + reOptMod$1 + ')*', + rsSeq$1 = rsOptVar$1 + reOptMod$1 + rsOptJoin$1, + rsSymbol$1 = '(?:' + [rsNonAstral$1 + rsCombo$1 + '?', rsCombo$1, rsRegional$1, rsSurrPair$1, rsAstral$1].join('|') + ')'; + + /** Used to match [string symbols](https://mathiasbynens.be/notes/javascript-unicode). */ + var reUnicode$1 = RegExp(rsFitz$1 + '(?=' + rsFitz$1 + ')|' + rsSymbol$1 + rsSeq$1, 'g'); + + /** Used to detect strings with [zero-width joiners or code points from the astral planes](http://eev.ee/blog/2015/09/12/dark-corners-of-unicode/). */ + var reHasUnicode$1 = RegExp('[' + rsZWJ$1 + rsAstralRange$1 + rsComboMarksRange$1 + rsComboSymbolsRange$1 + rsVarRange$1 + ']'); + + /** Detect free variable `global` from Node.js. */ + var freeGlobal$3 = typeof commonjsGlobal == 'object' && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal; + + /** Detect free variable `self`. */ + var freeSelf$3 = typeof self == 'object' && self && self.Object === Object && self; + + /** Used as a reference to the global object. */ + var root$3 = freeGlobal$3 || freeSelf$3 || Function('return this')(); + + /** + * A specialized version of `_.map` for arrays without support for iteratee + * shorthands. + * + * @private + * @param {Array} [array] The array to iterate over. + * @param {Function} iteratee The function invoked per iteration. + * @returns {Array} Returns the new mapped array. + */ + function arrayMap(array, iteratee) { + var index = -1, + length = array ? array.length : 0, + result = Array(length); + + while (++index < length) { + result[index] = iteratee(array[index], index, array); + } + return result; + } + + /** + * Converts an ASCII `string` to an array. + * + * @private + * @param {string} string The string to convert. + * @returns {Array} Returns the converted array. + */ + function asciiToArray$1(string) { + return string.split(''); + } + + /** + * The base implementation of `_.times` without support for iteratee shorthands + * or max array length checks. + * + * @private + * @param {number} n The number of times to invoke `iteratee`. + * @param {Function} iteratee The function invoked per iteration. + * @returns {Array} Returns the array of results. + */ + function baseTimes$1(n, iteratee) { + var index = -1, + result = Array(n); + + while (++index < n) { + result[index] = iteratee(index); + } + return result; + } + + /** + * The base implementation of `_.values` and `_.valuesIn` which creates an + * array of `object` property values corresponding to the property names + * of `props`. + * + * @private + * @param {Object} object The object to query. + * @param {Array} props The property names to get values for. + * @returns {Object} Returns the array of property values. + */ + function baseValues(object, props) { + return arrayMap(props, function(key) { + return object[key]; + }); + } + + /** + * Gets the value at `key` of `object`. + * + * @private + * @param {Object} [object] The object to query. + * @param {string} key The key of the property to get. + * @returns {*} Returns the property value. + */ + function getValue(object, key) { + return object == null ? undefined : object[key]; + } + + /** + * Checks if `string` contains Unicode symbols. + * + * @private + * @param {string} string The string to inspect. + * @returns {boolean} Returns `true` if a symbol is found, else `false`. + */ + function hasUnicode$1(string) { + return reHasUnicode$1.test(string); + } + + /** + * Checks if `value` is a host object in IE < 9. + * + * @private + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a host object, else `false`. + */ + function isHostObject(value) { + // Many host objects are `Object` objects that can coerce to strings + // despite having improperly defined `toString` methods. + var result = false; + if (value != null && typeof value.toString != 'function') { + try { + result = !!(value + ''); + } catch (e) {} + } + return result; + } + + /** + * Converts `iterator` to an array. + * + * @private + * @param {Object} iterator The iterator to convert. + * @returns {Array} Returns the converted array. + */ + function iteratorToArray(iterator) { + var data, + result = []; + + while (!(data = iterator.next()).done) { + result.push(data.value); + } + return result; + } + + /** + * Converts `map` to its key-value pairs. + * + * @private + * @param {Object} map The map to convert. + * @returns {Array} Returns the key-value pairs. + */ + function mapToArray(map) { + var index = -1, + result = Array(map.size); + + map.forEach(function(value, key) { + result[++index] = [key, value]; + }); + return result; + } + + /** + * Creates a unary function that invokes `func` with its argument transformed. + * + * @private + * @param {Function} func The function to wrap. + * @param {Function} transform The argument transform. + * @returns {Function} Returns the new function. + */ + function overArg$1(func, transform) { + return function(arg) { + return func(transform(arg)); + }; + } + + /** + * Converts `set` to an array of its values. + * + * @private + * @param {Object} set The set to convert. + * @returns {Array} Returns the values. + */ + function setToArray(set) { + var index = -1, + result = Array(set.size); + + set.forEach(function(value) { + result[++index] = value; + }); + return result; + } + + /** + * Converts `string` to an array. + * + * @private + * @param {string} string The string to convert. + * @returns {Array} Returns the converted array. + */ + function stringToArray$1(string) { + return hasUnicode$1(string) + ? unicodeToArray$1(string) + : asciiToArray$1(string); + } + + /** + * Converts a Unicode `string` to an array. + * + * @private + * @param {string} string The string to convert. + * @returns {Array} Returns the converted array. + */ + function unicodeToArray$1(string) { + return string.match(reUnicode$1) || []; + } + + /** Used for built-in method references. */ + var funcProto = Function.prototype, + objectProto$4 = Object.prototype; + + /** Used to detect overreaching core-js shims. */ + var coreJsData = root$3['__core-js_shared__']; + + /** Used to detect methods masquerading as native. */ + var maskSrcKey = (function() { + var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || ''); + return uid ? ('Symbol(src)_1.' + uid) : ''; + }()); + + /** Used to resolve the decompiled source of functions. */ + var funcToString = funcProto.toString; + + /** Used to check objects for own properties. */ + var hasOwnProperty$2 = objectProto$4.hasOwnProperty; + + /** + * Used to resolve the + * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring) + * of values. + */ + var objectToString$4 = objectProto$4.toString; + + /** Used to detect if a method is native. */ + var reIsNative = RegExp('^' + + funcToString.call(hasOwnProperty$2).replace(reRegExpChar, '\\$&') + .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$' + ); + + /** Built-in value references. */ + var Symbol$2 = root$3.Symbol, + iteratorSymbol = Symbol$2 ? Symbol$2.iterator : undefined, + propertyIsEnumerable$1 = objectProto$4.propertyIsEnumerable; + + /* Built-in method references for those with the same name as other `lodash` methods. */ + var nativeKeys$1 = overArg$1(Object.keys, Object); + + /* Built-in method references that are verified to be native. */ + var DataView = getNative(root$3, 'DataView'), + Map$1 = getNative(root$3, 'Map'), + Promise$1 = getNative(root$3, 'Promise'), + Set$1 = getNative(root$3, 'Set'), + WeakMap$1 = getNative(root$3, 'WeakMap'); + + /** Used to detect maps, sets, and weakmaps. */ + var dataViewCtorString = toSource(DataView), + mapCtorString = toSource(Map$1), + promiseCtorString = toSource(Promise$1), + setCtorString = toSource(Set$1), + weakMapCtorString = toSource(WeakMap$1); + + /** + * Creates an array of the enumerable property names of the array-like `value`. + * + * @private + * @param {*} value The value to query. + * @param {boolean} inherited Specify returning inherited property names. + * @returns {Array} Returns the array of property names. + */ + function arrayLikeKeys$1(value, inherited) { + // Safari 8.1 makes `arguments.callee` enumerable in strict mode. + // Safari 9 makes `arguments.length` enumerable in strict mode. + var result = (isArray$1(value) || isArguments$1(value)) + ? baseTimes$1(value.length, String) + : []; + + var length = result.length, + skipIndexes = !!length; + + for (var key in value) { + if ((inherited || hasOwnProperty$2.call(value, key)) && + !(skipIndexes && (key == 'length' || isIndex$1(key, length)))) { + result.push(key); + } + } + return result; + } + + /** + * The base implementation of `getTag`. + * + * @private + * @param {*} value The value to query. + * @returns {string} Returns the `toStringTag`. + */ + function baseGetTag(value) { + return objectToString$4.call(value); + } + + /** + * The base implementation of `_.isNative` without bad shim checks. + * + * @private + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a native function, + * else `false`. + */ + function baseIsNative(value) { + if (!isObject$3(value) || isMasked(value)) { + return false; + } + var pattern = (isFunction$1(value) || isHostObject(value)) ? reIsNative : reIsHostCtor; + return pattern.test(toSource(value)); + } + + /** + * The base implementation of `_.keys` which doesn't treat sparse arrays as dense. + * + * @private + * @param {Object} object The object to query. + * @returns {Array} Returns the array of property names. + */ + function baseKeys$1(object) { + if (!isPrototype$1(object)) { + return nativeKeys$1(object); + } + var result = []; + for (var key in Object(object)) { + if (hasOwnProperty$2.call(object, key) && key != 'constructor') { + result.push(key); + } + } + return result; + } + + /** + * Copies the values of `source` to `array`. + * + * @private + * @param {Array} source The array to copy values from. + * @param {Array} [array=[]] The array to copy values to. + * @returns {Array} Returns `array`. + */ + function copyArray(source, array) { + var index = -1, + length = source.length; + + array || (array = Array(length)); + while (++index < length) { + array[index] = source[index]; + } + return array; + } + + /** + * Gets the native function at `key` of `object`. + * + * @private + * @param {Object} object The object to query. + * @param {string} key The key of the method to get. + * @returns {*} Returns the function if it's native, else `undefined`. + */ + function getNative(object, key) { + var value = getValue(object, key); + return baseIsNative(value) ? value : undefined; + } + + /** + * Gets the `toStringTag` of `value`. + * + * @private + * @param {*} value The value to query. + * @returns {string} Returns the `toStringTag`. + */ + var getTag = baseGetTag; + + // Fallback for data views, maps, sets, and weak maps in IE 11, + // for data views in Edge < 14, and promises in Node.js. + if ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) || + (Map$1 && getTag(new Map$1) != mapTag) || + (Promise$1 && getTag(Promise$1.resolve()) != promiseTag) || + (Set$1 && getTag(new Set$1) != setTag) || + (WeakMap$1 && getTag(new WeakMap$1) != weakMapTag)) { + getTag = function(value) { + var result = objectToString$4.call(value), + Ctor = result == objectTag ? value.constructor : undefined, + ctorString = Ctor ? toSource(Ctor) : undefined; + + if (ctorString) { + switch (ctorString) { + case dataViewCtorString: return dataViewTag; + case mapCtorString: return mapTag; + case promiseCtorString: return promiseTag; + case setCtorString: return setTag; + case weakMapCtorString: return weakMapTag; + } + } + return result; + }; + } + + /** + * Checks if `value` is a valid array-like index. + * + * @private + * @param {*} value The value to check. + * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index. + * @returns {boolean} Returns `true` if `value` is a valid index, else `false`. + */ + function isIndex$1(value, length) { + length = length == null ? MAX_SAFE_INTEGER$1 : length; + return !!length && + (typeof value == 'number' || reIsUint$1.test(value)) && + (value > -1 && value % 1 == 0 && value < length); + } + + /** + * Checks if `func` has its source masked. + * + * @private + * @param {Function} func The function to check. + * @returns {boolean} Returns `true` if `func` is masked, else `false`. + */ + function isMasked(func) { + return !!maskSrcKey && (maskSrcKey in func); + } + + /** + * Checks if `value` is likely a prototype object. + * + * @private + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a prototype, else `false`. + */ + function isPrototype$1(value) { + var Ctor = value && value.constructor, + proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto$4; + + return value === proto; + } + + /** + * Converts `func` to its source code. + * + * @private + * @param {Function} func The function to process. + * @returns {string} Returns the source code. + */ + function toSource(func) { + if (func != null) { + try { + return funcToString.call(func); + } catch (e) {} + try { + return (func + ''); + } catch (e) {} + } + return ''; + } + + /** + * Checks if `value` is likely an `arguments` object. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is an `arguments` object, + * else `false`. + * @example + * + * _.isArguments(function() { return arguments; }()); + * // => true + * + * _.isArguments([1, 2, 3]); + * // => false + */ + function isArguments$1(value) { + // Safari 8.1 makes `arguments.callee` enumerable in strict mode. + return isArrayLikeObject$1(value) && hasOwnProperty$2.call(value, 'callee') && + (!propertyIsEnumerable$1.call(value, 'callee') || objectToString$4.call(value) == argsTag$1); + } + + /** + * Checks if `value` is classified as an `Array` object. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is an array, else `false`. + * @example + * + * _.isArray([1, 2, 3]); + * // => true + * + * _.isArray(document.body.children); + * // => false + * + * _.isArray('abc'); + * // => false + * + * _.isArray(_.noop); + * // => false + */ + var isArray$1 = Array.isArray; + + /** + * Checks if `value` is array-like. A value is considered array-like if it's + * not a function and has a `value.length` that's an integer greater than or + * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is array-like, else `false`. + * @example + * + * _.isArrayLike([1, 2, 3]); + * // => true + * + * _.isArrayLike(document.body.children); + * // => true + * + * _.isArrayLike('abc'); + * // => true + * + * _.isArrayLike(_.noop); + * // => false + */ + function isArrayLike$1(value) { + return value != null && isLength$1(value.length) && !isFunction$1(value); + } + + /** + * This method is like `_.isArrayLike` except that it also checks if `value` + * is an object. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is an array-like object, + * else `false`. + * @example + * + * _.isArrayLikeObject([1, 2, 3]); + * // => true + * + * _.isArrayLikeObject(document.body.children); + * // => true + * + * _.isArrayLikeObject('abc'); + * // => false + * + * _.isArrayLikeObject(_.noop); + * // => false + */ + function isArrayLikeObject$1(value) { + return isObjectLike$4(value) && isArrayLike$1(value); + } + + /** + * Checks if `value` is classified as a `Function` object. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a function, else `false`. + * @example + * + * _.isFunction(_); + * // => true + * + * _.isFunction(/abc/); + * // => false + */ + function isFunction$1(value) { + // The use of `Object#toString` avoids issues with the `typeof` operator + // in Safari 8-9 which returns 'object' for typed array and other constructors. + var tag = isObject$3(value) ? objectToString$4.call(value) : ''; + return tag == funcTag$1 || tag == genTag$1; + } + + /** + * Checks if `value` is a valid array-like length. + * + * **Note:** This method is loosely based on + * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength). + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a valid length, else `false`. + * @example + * + * _.isLength(3); + * // => true + * + * _.isLength(Number.MIN_VALUE); + * // => false + * + * _.isLength(Infinity); + * // => false + * + * _.isLength('3'); + * // => false + */ + function isLength$1(value) { + return typeof value == 'number' && + value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER$1; + } + + /** + * Checks if `value` is the + * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types) + * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`) + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is an object, else `false`. + * @example + * + * _.isObject({}); + * // => true + * + * _.isObject([1, 2, 3]); + * // => true + * + * _.isObject(_.noop); + * // => true + * + * _.isObject(null); + * // => false + */ + function isObject$3(value) { + var type = typeof value; + return !!value && (type == 'object' || type == 'function'); + } + + /** + * Checks if `value` is object-like. A value is object-like if it's not `null` + * and has a `typeof` result of "object". + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is object-like, else `false`. + * @example + * + * _.isObjectLike({}); + * // => true + * + * _.isObjectLike([1, 2, 3]); + * // => true + * + * _.isObjectLike(_.noop); + * // => false + * + * _.isObjectLike(null); + * // => false + */ + function isObjectLike$4(value) { + return !!value && typeof value == 'object'; + } + + /** + * Checks if `value` is classified as a `String` primitive or object. + * + * @static + * @since 0.1.0 + * @memberOf _ + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a string, else `false`. + * @example + * + * _.isString('abc'); + * // => true + * + * _.isString(1); + * // => false + */ + function isString(value) { + return typeof value == 'string' || + (!isArray$1(value) && isObjectLike$4(value) && objectToString$4.call(value) == stringTag); + } + + /** + * Converts `value` to an array. + * + * @static + * @since 0.1.0 + * @memberOf _ + * @category Lang + * @param {*} value The value to convert. + * @returns {Array} Returns the converted array. + * @example + * + * _.toArray({ 'a': 1, 'b': 2 }); + * // => [1, 2] + * + * _.toArray('abc'); + * // => ['a', 'b', 'c'] + * + * _.toArray(1); + * // => [] + * + * _.toArray(null); + * // => [] + */ + function toArray(value) { + if (!value) { + return []; + } + if (isArrayLike$1(value)) { + return isString(value) ? stringToArray$1(value) : copyArray(value); + } + if (iteratorSymbol && value[iteratorSymbol]) { + return iteratorToArray(value[iteratorSymbol]()); + } + var tag = getTag(value), + func = tag == mapTag ? mapToArray : (tag == setTag ? setToArray : values); + + return func(value); + } + + /** + * Creates an array of the own enumerable property names of `object`. + * + * **Note:** Non-object values are coerced to objects. See the + * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys) + * for more details. + * + * @static + * @since 0.1.0 + * @memberOf _ + * @category Object + * @param {Object} object The object to query. + * @returns {Array} Returns the array of property names. + * @example + * + * function Foo() { + * this.a = 1; + * this.b = 2; + * } + * + * Foo.prototype.c = 3; + * + * _.keys(new Foo); + * // => ['a', 'b'] (iteration order is not guaranteed) + * + * _.keys('hi'); + * // => ['0', '1'] + */ + function keys$1(object) { + return isArrayLike$1(object) ? arrayLikeKeys$1(object) : baseKeys$1(object); + } + + /** + * Creates an array of the own enumerable string keyed property values of `object`. + * + * **Note:** Non-object values are coerced to objects. + * + * @static + * @since 0.1.0 + * @memberOf _ + * @category Object + * @param {Object} object The object to query. + * @returns {Array} Returns the array of property values. + * @example + * + * function Foo() { + * this.a = 1; + * this.b = 2; + * } + * + * Foo.prototype.c = 3; + * + * _.values(new Foo); + * // => [1, 2] (iteration order is not guaranteed) + * + * _.values('hi'); + * // => ['h', 'i'] + */ + function values(object) { + return object ? baseValues(object, keys$1(object)) : []; + } + + var lodash_toarray = toArray; + + /** + * SSR Window 3.0.0 + * Better handling for window object in SSR environment + * https://github.com/nolimits4web/ssr-window + * + * Copyright 2020, Vladimir Kharlampidi + * + * Licensed under MIT + * + * Released on: November 9, 2020 + */ + + var ssrWindow_umd = createCommonjsModule$1(function (module, exports) { + (function (global, factory) { + factory(exports) ; + }(commonjsGlobal, (function (exports) { + /* eslint-disable no-param-reassign */ + function isObject(obj) { + return (obj !== null && + typeof obj === 'object' && + 'constructor' in obj && + obj.constructor === Object); + } + function extend(target, src) { + if (target === void 0) { target = {}; } + if (src === void 0) { src = {}; } + Object.keys(src).forEach(function (key) { + if (typeof target[key] === 'undefined') + target[key] = src[key]; + else if (isObject(src[key]) && + isObject(target[key]) && + Object.keys(src[key]).length > 0) { + extend(target[key], src[key]); + } + }); + } + + var ssrDocument = { + body: {}, + addEventListener: function () { }, + removeEventListener: function () { }, + activeElement: { + blur: function () { }, + nodeName: '', + }, + querySelector: function () { + return null; + }, + querySelectorAll: function () { + return []; + }, + getElementById: function () { + return null; + }, + createEvent: function () { + return { + initEvent: function () { }, + }; + }, + createElement: function () { + return { + children: [], + childNodes: [], + style: {}, + setAttribute: function () { }, + getElementsByTagName: function () { + return []; + }, + }; + }, + createElementNS: function () { + return {}; + }, + importNode: function () { + return null; + }, + location: { + hash: '', + host: '', + hostname: '', + href: '', + origin: '', + pathname: '', + protocol: '', + search: '', + }, + }; + function getDocument() { + var doc = typeof document !== 'undefined' ? document : {}; + extend(doc, ssrDocument); + return doc; + } + + var ssrWindow = { + document: ssrDocument, + navigator: { + userAgent: '', + }, + location: { + hash: '', + host: '', + hostname: '', + href: '', + origin: '', + pathname: '', + protocol: '', + search: '', + }, + history: { + replaceState: function () { }, + pushState: function () { }, + go: function () { }, + back: function () { }, + }, + CustomEvent: function CustomEvent() { + return this; + }, + addEventListener: function () { }, + removeEventListener: function () { }, + getComputedStyle: function () { + return { + getPropertyValue: function () { + return ''; + }, + }; + }, + Image: function () { }, + Date: function () { }, + screen: {}, + setTimeout: function () { }, + clearTimeout: function () { }, + matchMedia: function () { + return {}; + }, + requestAnimationFrame: function (callback) { + if (typeof setTimeout === 'undefined') { + callback(); + return null; + } + return setTimeout(callback, 0); + }, + cancelAnimationFrame: function (id) { + if (typeof setTimeout === 'undefined') { + return; + } + clearTimeout(id); + }, + }; + function getWindow() { + var win = typeof window !== 'undefined' ? window : {}; + extend(win, ssrWindow); + return win; + } + + exports.extend = extend; + exports.getDocument = getDocument; + exports.getWindow = getWindow; + exports.ssrDocument = ssrDocument; + exports.ssrWindow = ssrWindow; + + Object.defineProperty(exports, '__esModule', { value: true }); + + }))); + + }); + + /** + * Dom7 3.0.0 + * Minimalistic JavaScript library for DOM manipulation, with a jQuery-compatible API + * https://framework7.io/docs/dom7.html + * + * Copyright 2020, Vladimir Kharlampidi + * + * Licensed under MIT + * + * Released on: November 9, 2020 + */ + + + + + + function _inheritsLoose(subClass, superClass) { + subClass.prototype = Object.create(superClass.prototype); + subClass.prototype.constructor = subClass; + subClass.__proto__ = superClass; + } + + function _getPrototypeOf(o) { + _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { + return o.__proto__ || Object.getPrototypeOf(o); + }; + return _getPrototypeOf(o); + } + + function _setPrototypeOf(o, p) { + _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { + o.__proto__ = p; + return o; + }; + + return _setPrototypeOf(o, p); + } + + function _isNativeReflectConstruct() { + if (typeof Reflect === "undefined" || !Reflect.construct) return false; + if (Reflect.construct.sham) return false; + if (typeof Proxy === "function") return true; + + try { + Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); + return true; + } catch (e) { + return false; + } + } + + function _construct(Parent, args, Class) { + if (_isNativeReflectConstruct()) { + _construct = Reflect.construct; + } else { + _construct = function _construct(Parent, args, Class) { + var a = [null]; + a.push.apply(a, args); + var Constructor = Function.bind.apply(Parent, a); + var instance = new Constructor(); + if (Class) _setPrototypeOf(instance, Class.prototype); + return instance; + }; + } + + return _construct.apply(null, arguments); + } + + function _isNativeFunction(fn) { + return Function.toString.call(fn).indexOf("[native code]") !== -1; + } + + function _wrapNativeSuper(Class) { + var _cache = typeof Map === "function" ? new Map() : undefined; + + _wrapNativeSuper = function _wrapNativeSuper(Class) { + if (Class === null || !_isNativeFunction(Class)) return Class; + + if (typeof Class !== "function") { + throw new TypeError("Super expression must either be null or a function"); + } + + if (typeof _cache !== "undefined") { + if (_cache.has(Class)) return _cache.get(Class); + + _cache.set(Class, Wrapper); + } + + function Wrapper() { + return _construct(Class, arguments, _getPrototypeOf(this).constructor); + } + + Wrapper.prototype = Object.create(Class.prototype, { + constructor: { + value: Wrapper, + enumerable: false, + writable: true, + configurable: true + } + }); + return _setPrototypeOf(Wrapper, Class); + }; + + return _wrapNativeSuper(Class); + } + + function _assertThisInitialized(self) { + if (self === void 0) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return self; + } + + /* eslint-disable no-proto */ + function makeReactive(obj) { + var proto = obj.__proto__; + Object.defineProperty(obj, '__proto__', { + get: function get() { + return proto; + }, + set: function set(value) { + proto.__proto__ = value; + } + }); + } + + var Dom7 = /*#__PURE__*/function (_Array) { + _inheritsLoose(Dom7, _Array); + + function Dom7(items) { + var _this; + + _this = _Array.call.apply(_Array, [this].concat(items)) || this; + makeReactive(_assertThisInitialized(_this)); + return _this; + } + + return Dom7; + }( /*#__PURE__*/_wrapNativeSuper(Array)); + + function arrayFlat(arr) { + if (arr === void 0) { + arr = []; + } + + var res = []; + arr.forEach(function (el) { + if (Array.isArray(el)) { + res.push.apply(res, arrayFlat(el)); + } else { + res.push(el); + } + }); + return res; + } + function arrayFilter(arr, callback) { + return Array.prototype.filter.call(arr, callback); + } + function arrayUnique(arr) { + var uniqueArray = []; + + for (var i = 0; i < arr.length; i += 1) { + if (uniqueArray.indexOf(arr[i]) === -1) uniqueArray.push(arr[i]); + } + + return uniqueArray; + } + function toCamelCase(string) { + return string.toLowerCase().replace(/-(.)/g, function (match, group) { + return group.toUpperCase(); + }); + } + + function qsa(selector, context) { + if (typeof selector !== 'string') { + return [selector]; + } + + var a = []; + var res = context.querySelectorAll(selector); + + for (var i = 0; i < res.length; i += 1) { + a.push(res[i]); + } + + return a; + } + + function $(selector, context) { + var window = ssrWindow_umd.getWindow(); + var document = ssrWindow_umd.getDocument(); + var arr = []; + + if (!context && selector instanceof Dom7) { + return selector; + } + + if (!selector) { + return new Dom7(arr); + } + + if (typeof selector === 'string') { + var html = selector.trim(); + + if (html.indexOf('<') >= 0 && html.indexOf('>') >= 0) { + var toCreate = 'div'; + if (html.indexOf(' 0; + }).length > 0; + } + + function attr(attrs, value) { + if (arguments.length === 1 && typeof attrs === 'string') { + // Get attr + if (this[0]) return this[0].getAttribute(attrs); + return undefined; + } // Set attrs + + + for (var i = 0; i < this.length; i += 1) { + if (arguments.length === 2) { + // String + this[i].setAttribute(attrs, value); + } else { + // Object + for (var attrName in attrs) { + this[i][attrName] = attrs[attrName]; + this[i].setAttribute(attrName, attrs[attrName]); + } + } + } + + return this; + } + + function removeAttr(attr) { + for (var i = 0; i < this.length; i += 1) { + this[i].removeAttribute(attr); + } + + return this; + } + + function prop(props, value) { + if (arguments.length === 1 && typeof props === 'string') { + // Get prop + if (this[0]) return this[0][props]; + } else { + // Set props + for (var i = 0; i < this.length; i += 1) { + if (arguments.length === 2) { + // String + this[i][props] = value; + } else { + // Object + for (var propName in props) { + this[i][propName] = props[propName]; + } + } + } + + return this; + } + + return this; + } + + function data(key, value) { + var el; + + if (typeof value === 'undefined') { + el = this[0]; + if (!el) return undefined; // Get value + + if (el.dom7ElementDataStorage && key in el.dom7ElementDataStorage) { + return el.dom7ElementDataStorage[key]; + } + + var dataKey = el.getAttribute("data-" + key); + + if (dataKey) { + return dataKey; + } + + return undefined; + } // Set value + + + for (var i = 0; i < this.length; i += 1) { + el = this[i]; + if (!el.dom7ElementDataStorage) el.dom7ElementDataStorage = {}; + el.dom7ElementDataStorage[key] = value; + } + + return this; + } + + function removeData(key) { + for (var i = 0; i < this.length; i += 1) { + var el = this[i]; + + if (el.dom7ElementDataStorage && el.dom7ElementDataStorage[key]) { + el.dom7ElementDataStorage[key] = null; + delete el.dom7ElementDataStorage[key]; + } + } + } + + function dataset() { + var el = this[0]; + if (!el) return undefined; + var dataset = {}; // eslint-disable-line + + if (el.dataset) { + for (var dataKey in el.dataset) { + dataset[dataKey] = el.dataset[dataKey]; + } + } else { + for (var i = 0; i < el.attributes.length; i += 1) { + var _attr = el.attributes[i]; + + if (_attr.name.indexOf('data-') >= 0) { + dataset[toCamelCase(_attr.name.split('data-')[1])] = _attr.value; + } + } + } + + for (var key in dataset) { + if (dataset[key] === 'false') dataset[key] = false;else if (dataset[key] === 'true') dataset[key] = true;else if (parseFloat(dataset[key]) === dataset[key] * 1) dataset[key] *= 1; + } + + return dataset; + } + + function val(value) { + if (typeof value === 'undefined') { + // get value + var el = this[0]; + if (!el) return undefined; + + if (el.multiple && el.nodeName.toLowerCase() === 'select') { + var values = []; + + for (var i = 0; i < el.selectedOptions.length; i += 1) { + values.push(el.selectedOptions[i].value); + } + + return values; + } + + return el.value; + } // set value + + + for (var _i = 0; _i < this.length; _i += 1) { + var _el = this[_i]; + + if (Array.isArray(value) && _el.multiple && _el.nodeName.toLowerCase() === 'select') { + for (var j = 0; j < _el.options.length; j += 1) { + _el.options[j].selected = value.indexOf(_el.options[j].value) >= 0; + } + } else { + _el.value = value; + } + } + + return this; + } + + function value(value) { + return this.val(value); + } + + function transform(transform) { + for (var i = 0; i < this.length; i += 1) { + this[i].style.transform = transform; + } + + return this; + } + + function transition(duration) { + for (var i = 0; i < this.length; i += 1) { + this[i].style.transitionDuration = typeof duration !== 'string' ? duration + "ms" : duration; + } + + return this; + } + + function on() { + for (var _len5 = arguments.length, args = new Array(_len5), _key5 = 0; _key5 < _len5; _key5++) { + args[_key5] = arguments[_key5]; + } + + var eventType = args[0], + targetSelector = args[1], + listener = args[2], + capture = args[3]; + + if (typeof args[1] === 'function') { + eventType = args[0]; + listener = args[1]; + capture = args[2]; + targetSelector = undefined; + } + + if (!capture) capture = false; + + function handleLiveEvent(e) { + var target = e.target; + if (!target) return; + var eventData = e.target.dom7EventData || []; + + if (eventData.indexOf(e) < 0) { + eventData.unshift(e); + } + + if ($(target).is(targetSelector)) listener.apply(target, eventData);else { + var _parents = $(target).parents(); // eslint-disable-line + + + for (var k = 0; k < _parents.length; k += 1) { + if ($(_parents[k]).is(targetSelector)) listener.apply(_parents[k], eventData); + } + } + } + + function handleEvent(e) { + var eventData = e && e.target ? e.target.dom7EventData || [] : []; + + if (eventData.indexOf(e) < 0) { + eventData.unshift(e); + } + + listener.apply(this, eventData); + } + + var events = eventType.split(' '); + var j; + + for (var i = 0; i < this.length; i += 1) { + var el = this[i]; + + if (!targetSelector) { + for (j = 0; j < events.length; j += 1) { + var event = events[j]; + if (!el.dom7Listeners) el.dom7Listeners = {}; + if (!el.dom7Listeners[event]) el.dom7Listeners[event] = []; + el.dom7Listeners[event].push({ + listener: listener, + proxyListener: handleEvent + }); + el.addEventListener(event, handleEvent, capture); + } + } else { + // Live events + for (j = 0; j < events.length; j += 1) { + var _event = events[j]; + if (!el.dom7LiveListeners) el.dom7LiveListeners = {}; + if (!el.dom7LiveListeners[_event]) el.dom7LiveListeners[_event] = []; + + el.dom7LiveListeners[_event].push({ + listener: listener, + proxyListener: handleLiveEvent + }); + + el.addEventListener(_event, handleLiveEvent, capture); + } + } + } + + return this; + } + + function off() { + for (var _len6 = arguments.length, args = new Array(_len6), _key6 = 0; _key6 < _len6; _key6++) { + args[_key6] = arguments[_key6]; + } + + var eventType = args[0], + targetSelector = args[1], + listener = args[2], + capture = args[3]; + + if (typeof args[1] === 'function') { + eventType = args[0]; + listener = args[1]; + capture = args[2]; + targetSelector = undefined; + } + + if (!capture) capture = false; + var events = eventType.split(' '); + + for (var i = 0; i < events.length; i += 1) { + var event = events[i]; + + for (var j = 0; j < this.length; j += 1) { + var el = this[j]; + var handlers = void 0; + + if (!targetSelector && el.dom7Listeners) { + handlers = el.dom7Listeners[event]; + } else if (targetSelector && el.dom7LiveListeners) { + handlers = el.dom7LiveListeners[event]; + } + + if (handlers && handlers.length) { + for (var k = handlers.length - 1; k >= 0; k -= 1) { + var handler = handlers[k]; + + if (listener && handler.listener === listener) { + el.removeEventListener(event, handler.proxyListener, capture); + handlers.splice(k, 1); + } else if (listener && handler.listener && handler.listener.dom7proxy && handler.listener.dom7proxy === listener) { + el.removeEventListener(event, handler.proxyListener, capture); + handlers.splice(k, 1); + } else if (!listener) { + el.removeEventListener(event, handler.proxyListener, capture); + handlers.splice(k, 1); + } + } + } + } + } + + return this; + } + + function once() { + var dom = this; + + for (var _len7 = arguments.length, args = new Array(_len7), _key7 = 0; _key7 < _len7; _key7++) { + args[_key7] = arguments[_key7]; + } + + var eventName = args[0], + targetSelector = args[1], + listener = args[2], + capture = args[3]; + + if (typeof args[1] === 'function') { + eventName = args[0]; + listener = args[1]; + capture = args[2]; + targetSelector = undefined; + } + + function onceHandler() { + for (var _len8 = arguments.length, eventArgs = new Array(_len8), _key8 = 0; _key8 < _len8; _key8++) { + eventArgs[_key8] = arguments[_key8]; + } + + listener.apply(this, eventArgs); + dom.off(eventName, targetSelector, onceHandler, capture); + + if (onceHandler.dom7proxy) { + delete onceHandler.dom7proxy; + } + } + + onceHandler.dom7proxy = listener; + return dom.on(eventName, targetSelector, onceHandler, capture); + } + + function trigger() { + var window = ssrWindow_umd.getWindow(); + + for (var _len9 = arguments.length, args = new Array(_len9), _key9 = 0; _key9 < _len9; _key9++) { + args[_key9] = arguments[_key9]; + } + + var events = args[0].split(' '); + var eventData = args[1]; + + for (var i = 0; i < events.length; i += 1) { + var event = events[i]; + + for (var j = 0; j < this.length; j += 1) { + var el = this[j]; + + if (window.CustomEvent) { + var evt = new window.CustomEvent(event, { + detail: eventData, + bubbles: true, + cancelable: true + }); + el.dom7EventData = args.filter(function (data, dataIndex) { + return dataIndex > 0; + }); + el.dispatchEvent(evt); + el.dom7EventData = []; + delete el.dom7EventData; + } + } + } + + return this; + } + + function transitionEnd(callback) { + var dom = this; + + function fireCallBack(e) { + if (e.target !== this) return; + callback.call(this, e); + dom.off('transitionend', fireCallBack); + } + + if (callback) { + dom.on('transitionend', fireCallBack); + } + + return this; + } + + function animationEnd(callback) { + var dom = this; + + function fireCallBack(e) { + if (e.target !== this) return; + callback.call(this, e); + dom.off('animationend', fireCallBack); + } + + if (callback) { + dom.on('animationend', fireCallBack); + } + + return this; + } + + function width() { + var window = ssrWindow_umd.getWindow(); + + if (this[0] === window) { + return window.innerWidth; + } + + if (this.length > 0) { + return parseFloat(this.css('width')); + } + + return null; + } + + function outerWidth(includeMargins) { + if (this.length > 0) { + if (includeMargins) { + var _styles = this.styles(); + + return this[0].offsetWidth + parseFloat(_styles.getPropertyValue('margin-right')) + parseFloat(_styles.getPropertyValue('margin-left')); + } + + return this[0].offsetWidth; + } + + return null; + } + + function height() { + var window = ssrWindow_umd.getWindow(); + + if (this[0] === window) { + return window.innerHeight; + } + + if (this.length > 0) { + return parseFloat(this.css('height')); + } + + return null; + } + + function outerHeight(includeMargins) { + if (this.length > 0) { + if (includeMargins) { + var _styles2 = this.styles(); + + return this[0].offsetHeight + parseFloat(_styles2.getPropertyValue('margin-top')) + parseFloat(_styles2.getPropertyValue('margin-bottom')); + } + + return this[0].offsetHeight; + } + + return null; + } + + function offset() { + if (this.length > 0) { + var window = ssrWindow_umd.getWindow(); + var document = ssrWindow_umd.getDocument(); + var el = this[0]; + var box = el.getBoundingClientRect(); + var body = document.body; + var clientTop = el.clientTop || body.clientTop || 0; + var clientLeft = el.clientLeft || body.clientLeft || 0; + var scrollTop = el === window ? window.scrollY : el.scrollTop; + var scrollLeft = el === window ? window.scrollX : el.scrollLeft; + return { + top: box.top + scrollTop - clientTop, + left: box.left + scrollLeft - clientLeft + }; + } + + return null; + } + + function hide() { + for (var i = 0; i < this.length; i += 1) { + this[i].style.display = 'none'; + } + + return this; + } + + function show() { + var window = ssrWindow_umd.getWindow(); + + for (var i = 0; i < this.length; i += 1) { + var el = this[i]; + + if (el.style.display === 'none') { + el.style.display = ''; + } + + if (window.getComputedStyle(el, null).getPropertyValue('display') === 'none') { + // Still not visible + el.style.display = 'block'; + } + } + + return this; + } + + function styles() { + var window = ssrWindow_umd.getWindow(); + if (this[0]) return window.getComputedStyle(this[0], null); + return {}; + } + + function css(props, value) { + var window = ssrWindow_umd.getWindow(); + var i; + + if (arguments.length === 1) { + if (typeof props === 'string') { + // .css('width') + if (this[0]) return window.getComputedStyle(this[0], null).getPropertyValue(props); + } else { + // .css({ width: '100px' }) + for (i = 0; i < this.length; i += 1) { + for (var _prop in props) { + this[i].style[_prop] = props[_prop]; + } + } + + return this; + } + } + + if (arguments.length === 2 && typeof props === 'string') { + // .css('width', '100px') + for (i = 0; i < this.length; i += 1) { + this[i].style[props] = value; + } + + return this; + } + + return this; + } + + function each(callback) { + if (!callback) return this; + this.forEach(function (el, index) { + callback.apply(el, [el, index]); + }); + return this; + } + + function filter(callback) { + var result = arrayFilter(this, callback); + return $(result); + } + + function html(html) { + if (typeof html === 'undefined') { + return this[0] ? this[0].innerHTML : null; + } + + for (var i = 0; i < this.length; i += 1) { + this[i].innerHTML = html; + } + + return this; + } + + function text(text) { + if (typeof text === 'undefined') { + return this[0] ? this[0].textContent.trim() : null; + } + + for (var i = 0; i < this.length; i += 1) { + this[i].textContent = text; + } + + return this; + } + + function is(selector) { + var window = ssrWindow_umd.getWindow(); + var document = ssrWindow_umd.getDocument(); + var el = this[0]; + var compareWith; + var i; + if (!el || typeof selector === 'undefined') return false; + + if (typeof selector === 'string') { + if (el.matches) return el.matches(selector); + if (el.webkitMatchesSelector) return el.webkitMatchesSelector(selector); + if (el.msMatchesSelector) return el.msMatchesSelector(selector); + compareWith = $(selector); + + for (i = 0; i < compareWith.length; i += 1) { + if (compareWith[i] === el) return true; + } + + return false; + } + + if (selector === document) { + return el === document; + } + + if (selector === window) { + return el === window; + } + + if (selector.nodeType || selector instanceof Dom7) { + compareWith = selector.nodeType ? [selector] : selector; + + for (i = 0; i < compareWith.length; i += 1) { + if (compareWith[i] === el) return true; + } + + return false; + } + + return false; + } + + function index$1() { + var child = this[0]; + var i; + + if (child) { + i = 0; // eslint-disable-next-line + + while ((child = child.previousSibling) !== null) { + if (child.nodeType === 1) i += 1; + } + + return i; + } + + return undefined; + } + + function eq(index) { + if (typeof index === 'undefined') return this; + var length = this.length; + + if (index > length - 1) { + return $([]); + } + + if (index < 0) { + var returnIndex = length + index; + if (returnIndex < 0) return $([]); + return $([this[returnIndex]]); + } + + return $([this[index]]); + } + + function append() { + var newChild; + var document = ssrWindow_umd.getDocument(); + + for (var k = 0; k < arguments.length; k += 1) { + newChild = k < 0 || arguments.length <= k ? undefined : arguments[k]; + + for (var i = 0; i < this.length; i += 1) { + if (typeof newChild === 'string') { + var tempDiv = document.createElement('div'); + tempDiv.innerHTML = newChild; + + while (tempDiv.firstChild) { + this[i].appendChild(tempDiv.firstChild); + } + } else if (newChild instanceof Dom7) { + for (var j = 0; j < newChild.length; j += 1) { + this[i].appendChild(newChild[j]); + } + } else { + this[i].appendChild(newChild); + } + } + } + + return this; + } + + function appendTo(parent) { + $(parent).append(this); + return this; + } + + function prepend(newChild) { + var document = ssrWindow_umd.getDocument(); + var i; + var j; + + for (i = 0; i < this.length; i += 1) { + if (typeof newChild === 'string') { + var tempDiv = document.createElement('div'); + tempDiv.innerHTML = newChild; + + for (j = tempDiv.childNodes.length - 1; j >= 0; j -= 1) { + this[i].insertBefore(tempDiv.childNodes[j], this[i].childNodes[0]); + } + } else if (newChild instanceof Dom7) { + for (j = 0; j < newChild.length; j += 1) { + this[i].insertBefore(newChild[j], this[i].childNodes[0]); + } + } else { + this[i].insertBefore(newChild, this[i].childNodes[0]); + } + } + + return this; + } + + function prependTo(parent) { + $(parent).prepend(this); + return this; + } + + function insertBefore(selector) { + var before = $(selector); + + for (var i = 0; i < this.length; i += 1) { + if (before.length === 1) { + before[0].parentNode.insertBefore(this[i], before[0]); + } else if (before.length > 1) { + for (var j = 0; j < before.length; j += 1) { + before[j].parentNode.insertBefore(this[i].cloneNode(true), before[j]); + } + } + } + } + + function insertAfter(selector) { + var after = $(selector); + + for (var i = 0; i < this.length; i += 1) { + if (after.length === 1) { + after[0].parentNode.insertBefore(this[i], after[0].nextSibling); + } else if (after.length > 1) { + for (var j = 0; j < after.length; j += 1) { + after[j].parentNode.insertBefore(this[i].cloneNode(true), after[j].nextSibling); + } + } + } + } + + function next(selector) { + if (this.length > 0) { + if (selector) { + if (this[0].nextElementSibling && $(this[0].nextElementSibling).is(selector)) { + return $([this[0].nextElementSibling]); + } + + return $([]); + } + + if (this[0].nextElementSibling) return $([this[0].nextElementSibling]); + return $([]); + } + + return $([]); + } + + function nextAll(selector) { + var nextEls = []; + var el = this[0]; + if (!el) return $([]); + + while (el.nextElementSibling) { + var _next = el.nextElementSibling; // eslint-disable-line + + if (selector) { + if ($(_next).is(selector)) nextEls.push(_next); + } else nextEls.push(_next); + + el = _next; + } + + return $(nextEls); + } + + function prev(selector) { + if (this.length > 0) { + var el = this[0]; + + if (selector) { + if (el.previousElementSibling && $(el.previousElementSibling).is(selector)) { + return $([el.previousElementSibling]); + } + + return $([]); + } + + if (el.previousElementSibling) return $([el.previousElementSibling]); + return $([]); + } + + return $([]); + } + + function prevAll(selector) { + var prevEls = []; + var el = this[0]; + if (!el) return $([]); + + while (el.previousElementSibling) { + var _prev = el.previousElementSibling; // eslint-disable-line + + if (selector) { + if ($(_prev).is(selector)) prevEls.push(_prev); + } else prevEls.push(_prev); + + el = _prev; + } + + return $(prevEls); + } + + function siblings(selector) { + return this.nextAll(selector).add(this.prevAll(selector)); + } + + function parent(selector) { + var parents = []; // eslint-disable-line + + for (var i = 0; i < this.length; i += 1) { + if (this[i].parentNode !== null) { + if (selector) { + if ($(this[i].parentNode).is(selector)) parents.push(this[i].parentNode); + } else { + parents.push(this[i].parentNode); + } + } + } + + return $(parents); + } + + function parents(selector) { + var parents = []; // eslint-disable-line + + for (var i = 0; i < this.length; i += 1) { + var _parent = this[i].parentNode; // eslint-disable-line + + while (_parent) { + if (selector) { + if ($(_parent).is(selector)) parents.push(_parent); + } else { + parents.push(_parent); + } + + _parent = _parent.parentNode; + } + } + + return $(parents); + } + + function closest(selector) { + var closest = this; // eslint-disable-line + + if (typeof selector === 'undefined') { + return $([]); + } + + if (!closest.is(selector)) { + closest = closest.parents(selector).eq(0); + } + + return closest; + } + + function find(selector) { + var foundElements = []; + + for (var i = 0; i < this.length; i += 1) { + var found = this[i].querySelectorAll(selector); + + for (var j = 0; j < found.length; j += 1) { + foundElements.push(found[j]); + } + } + + return $(foundElements); + } + + function children(selector) { + var children = []; // eslint-disable-line + + for (var i = 0; i < this.length; i += 1) { + var childNodes = this[i].children; + + for (var j = 0; j < childNodes.length; j += 1) { + if (!selector || $(childNodes[j]).is(selector)) { + children.push(childNodes[j]); + } + } + } + + return $(children); + } + + function remove() { + for (var i = 0; i < this.length; i += 1) { + if (this[i].parentNode) this[i].parentNode.removeChild(this[i]); + } + + return this; + } + + function detach() { + return this.remove(); + } + + function add() { + var dom = this; + var i; + var j; + + for (var _len10 = arguments.length, els = new Array(_len10), _key10 = 0; _key10 < _len10; _key10++) { + els[_key10] = arguments[_key10]; + } + + for (i = 0; i < els.length; i += 1) { + var toAdd = $(els[i]); + + for (j = 0; j < toAdd.length; j += 1) { + dom.push(toAdd[j]); + } + } + + return dom; + } + + function empty() { + for (var i = 0; i < this.length; i += 1) { + var el = this[i]; + + if (el.nodeType === 1) { + for (var j = 0; j < el.childNodes.length; j += 1) { + if (el.childNodes[j].parentNode) { + el.childNodes[j].parentNode.removeChild(el.childNodes[j]); + } + } + + el.textContent = ''; + } + } + + return this; + } + + function scrollTo() { + var window = ssrWindow_umd.getWindow(); + + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + + var left = args[0], + top = args[1], + duration = args[2], + easing = args[3], + callback = args[4]; + + if (args.length === 4 && typeof easing === 'function') { + callback = easing; + left = args[0]; + top = args[1]; + duration = args[2]; + callback = args[3]; + easing = args[4]; + } + + if (typeof easing === 'undefined') easing = 'swing'; + return this.each(function animate() { + var el = this; + var currentTop; + var currentLeft; + var maxTop; + var maxLeft; + var newTop; + var newLeft; + var scrollTop; // eslint-disable-line + + var scrollLeft; // eslint-disable-line + + var animateTop = top > 0 || top === 0; + var animateLeft = left > 0 || left === 0; + + if (typeof easing === 'undefined') { + easing = 'swing'; + } + + if (animateTop) { + currentTop = el.scrollTop; + + if (!duration) { + el.scrollTop = top; + } + } + + if (animateLeft) { + currentLeft = el.scrollLeft; + + if (!duration) { + el.scrollLeft = left; + } + } + + if (!duration) return; + + if (animateTop) { + maxTop = el.scrollHeight - el.offsetHeight; + newTop = Math.max(Math.min(top, maxTop), 0); + } + + if (animateLeft) { + maxLeft = el.scrollWidth - el.offsetWidth; + newLeft = Math.max(Math.min(left, maxLeft), 0); + } + + var startTime = null; + if (animateTop && newTop === currentTop) animateTop = false; + if (animateLeft && newLeft === currentLeft) animateLeft = false; + + function render(time) { + if (time === void 0) { + time = new Date().getTime(); + } + + if (startTime === null) { + startTime = time; + } + + var progress = Math.max(Math.min((time - startTime) / duration, 1), 0); + var easeProgress = easing === 'linear' ? progress : 0.5 - Math.cos(progress * Math.PI) / 2; + var done; + if (animateTop) scrollTop = currentTop + easeProgress * (newTop - currentTop); + if (animateLeft) scrollLeft = currentLeft + easeProgress * (newLeft - currentLeft); + + if (animateTop && newTop > currentTop && scrollTop >= newTop) { + el.scrollTop = newTop; + done = true; + } + + if (animateTop && newTop < currentTop && scrollTop <= newTop) { + el.scrollTop = newTop; + done = true; + } + + if (animateLeft && newLeft > currentLeft && scrollLeft >= newLeft) { + el.scrollLeft = newLeft; + done = true; + } + + if (animateLeft && newLeft < currentLeft && scrollLeft <= newLeft) { + el.scrollLeft = newLeft; + done = true; + } + + if (done) { + if (callback) callback(); + return; + } + + if (animateTop) el.scrollTop = scrollTop; + if (animateLeft) el.scrollLeft = scrollLeft; + window.requestAnimationFrame(render); + } + + window.requestAnimationFrame(render); + }); + } // scrollTop(top, duration, easing, callback) { + + + function scrollTop() { + for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) { + args[_key2] = arguments[_key2]; + } + + var top = args[0], + duration = args[1], + easing = args[2], + callback = args[3]; + + if (args.length === 3 && typeof easing === 'function') { + top = args[0]; + duration = args[1]; + callback = args[2]; + easing = args[3]; + } + + var dom = this; + + if (typeof top === 'undefined') { + if (dom.length > 0) return dom[0].scrollTop; + return null; + } + + return dom.scrollTo(undefined, top, duration, easing, callback); + } + + function scrollLeft() { + for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) { + args[_key3] = arguments[_key3]; + } + + var left = args[0], + duration = args[1], + easing = args[2], + callback = args[3]; + + if (args.length === 3 && typeof easing === 'function') { + left = args[0]; + duration = args[1]; + callback = args[2]; + easing = args[3]; + } + + var dom = this; + + if (typeof left === 'undefined') { + if (dom.length > 0) return dom[0].scrollLeft; + return null; + } + + return dom.scrollTo(left, undefined, duration, easing, callback); + } + + function animate(initialProps, initialParams) { + var window = ssrWindow_umd.getWindow(); + var els = this; + var a = { + props: Object.assign({}, initialProps), + params: Object.assign({ + duration: 300, + easing: 'swing' // or 'linear' + + /* Callbacks + begin(elements) + complete(elements) + progress(elements, complete, remaining, start, tweenValue) + */ + + }, initialParams), + elements: els, + animating: false, + que: [], + easingProgress: function easingProgress(easing, progress) { + if (easing === 'swing') { + return 0.5 - Math.cos(progress * Math.PI) / 2; + } + + if (typeof easing === 'function') { + return easing(progress); + } + + return progress; + }, + stop: function stop() { + if (a.frameId) { + window.cancelAnimationFrame(a.frameId); + } + + a.animating = false; + a.elements.each(function (el) { + var element = el; + delete element.dom7AnimateInstance; + }); + a.que = []; + }, + done: function done(complete) { + a.animating = false; + a.elements.each(function (el) { + var element = el; + delete element.dom7AnimateInstance; + }); + if (complete) complete(els); + + if (a.que.length > 0) { + var que = a.que.shift(); + a.animate(que[0], que[1]); + } + }, + animate: function animate(props, params) { + if (a.animating) { + a.que.push([props, params]); + return a; + } + + var elements = []; // Define & Cache Initials & Units + + a.elements.each(function (el, index) { + var initialFullValue; + var initialValue; + var unit; + var finalValue; + var finalFullValue; + if (!el.dom7AnimateInstance) a.elements[index].dom7AnimateInstance = a; + elements[index] = { + container: el + }; + Object.keys(props).forEach(function (prop) { + initialFullValue = window.getComputedStyle(el, null).getPropertyValue(prop).replace(',', '.'); + initialValue = parseFloat(initialFullValue); + unit = initialFullValue.replace(initialValue, ''); + finalValue = parseFloat(props[prop]); + finalFullValue = props[prop] + unit; + elements[index][prop] = { + initialFullValue: initialFullValue, + initialValue: initialValue, + unit: unit, + finalValue: finalValue, + finalFullValue: finalFullValue, + currentValue: initialValue + }; + }); + }); + var startTime = null; + var time; + var elementsDone = 0; + var propsDone = 0; + var done; + var began = false; + a.animating = true; + + function render() { + time = new Date().getTime(); + var progress; + var easeProgress; // let el; + + if (!began) { + began = true; + if (params.begin) params.begin(els); + } + + if (startTime === null) { + startTime = time; + } + + if (params.progress) { + // eslint-disable-next-line + params.progress(els, Math.max(Math.min((time - startTime) / params.duration, 1), 0), startTime + params.duration - time < 0 ? 0 : startTime + params.duration - time, startTime); + } + + elements.forEach(function (element) { + var el = element; + if (done || el.done) return; + Object.keys(props).forEach(function (prop) { + if (done || el.done) return; + progress = Math.max(Math.min((time - startTime) / params.duration, 1), 0); + easeProgress = a.easingProgress(params.easing, progress); + var _el$prop = el[prop], + initialValue = _el$prop.initialValue, + finalValue = _el$prop.finalValue, + unit = _el$prop.unit; + el[prop].currentValue = initialValue + easeProgress * (finalValue - initialValue); + var currentValue = el[prop].currentValue; + + if (finalValue > initialValue && currentValue >= finalValue || finalValue < initialValue && currentValue <= finalValue) { + el.container.style[prop] = finalValue + unit; + propsDone += 1; + + if (propsDone === Object.keys(props).length) { + el.done = true; + elementsDone += 1; + } + + if (elementsDone === elements.length) { + done = true; + } + } + + if (done) { + a.done(params.complete); + return; + } + + el.container.style[prop] = currentValue + unit; + }); + }); + if (done) return; // Then call + + a.frameId = window.requestAnimationFrame(render); + } + + a.frameId = window.requestAnimationFrame(render); + return a; + } + }; + + if (a.elements.length === 0) { + return els; + } + + var animateInstance; + + for (var i = 0; i < a.elements.length; i += 1) { + if (a.elements[i].dom7AnimateInstance) { + animateInstance = a.elements[i].dom7AnimateInstance; + } else a.elements[i].dom7AnimateInstance = a; + } + + if (!animateInstance) { + animateInstance = a; + } + + if (initialProps === 'stop') { + animateInstance.stop(); + } else { + animateInstance.animate(a.props, a.params); + } + + return els; + } + + function stop() { + var els = this; + + for (var i = 0; i < els.length; i += 1) { + if (els[i].dom7AnimateInstance) { + els[i].dom7AnimateInstance.stop(); + } + } + } + + var noTrigger = 'resize scroll'.split(' '); + + function shortcut(name) { + function eventHandler() { + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + + if (typeof args[0] === 'undefined') { + for (var i = 0; i < this.length; i += 1) { + if (noTrigger.indexOf(name) < 0) { + if (name in this[i]) this[i][name]();else { + $(this[i]).trigger(name); + } + } + } + + return this; + } + + return this.on.apply(this, [name].concat(args)); + } + + return eventHandler; + } + + var click = shortcut('click'); + var blur = shortcut('blur'); + var focus = shortcut('focus'); + var focusin = shortcut('focusin'); + var focusout = shortcut('focusout'); + var keyup = shortcut('keyup'); + var keydown = shortcut('keydown'); + var keypress = shortcut('keypress'); + var submit = shortcut('submit'); + var change = shortcut('change'); + var mousedown = shortcut('mousedown'); + var mousemove = shortcut('mousemove'); + var mouseup = shortcut('mouseup'); + var mouseenter = shortcut('mouseenter'); + var mouseleave = shortcut('mouseleave'); + var mouseout = shortcut('mouseout'); + var mouseover = shortcut('mouseover'); + var touchstart = shortcut('touchstart'); + var touchend = shortcut('touchend'); + var touchmove = shortcut('touchmove'); + var resize = shortcut('resize'); + var scroll = shortcut('scroll'); + + var $_1 = $; + var add_1 = add; + var addClass_1 = addClass; + var animate_1 = animate; + var animationEnd_1 = animationEnd; + var append_1 = append; + var appendTo_1 = appendTo; + var attr_1 = attr; + var blur_1 = blur; + var change_1 = change; + var children_1 = children; + var click_1 = click; + var closest_1 = closest; + var css_1 = css; + var data_1 = data; + var dataset_1 = dataset; + var _default$1 = $; + var detach_1 = detach; + var each_1 = each; + var empty_1 = empty; + var eq_1 = eq; + var filter_1 = filter; + var find_1 = find; + var focus_1 = focus; + var focusin_1 = focusin; + var focusout_1 = focusout; + var hasClass_1 = hasClass; + var height_1 = height; + var hide_1 = hide; + var html_1 = html; + var index_1 = index$1; + var insertAfter_1 = insertAfter; + var insertBefore_1 = insertBefore; + var is_1 = is; + var keydown_1 = keydown; + var keypress_1 = keypress; + var keyup_1 = keyup; + var mousedown_1 = mousedown; + var mouseenter_1 = mouseenter; + var mouseleave_1 = mouseleave; + var mousemove_1 = mousemove; + var mouseout_1 = mouseout; + var mouseover_1 = mouseover; + var mouseup_1 = mouseup; + var next_1 = next; + var nextAll_1 = nextAll; + var off_1 = off; + var offset_1 = offset; + var on_1 = on; + var once_1 = once; + var outerHeight_1 = outerHeight; + var outerWidth_1 = outerWidth; + var parent_1 = parent; + var parents_1 = parents; + var prepend_1 = prepend; + var prependTo_1 = prependTo; + var prev_1 = prev; + var prevAll_1 = prevAll; + var prop_1 = prop; + var remove_1 = remove; + var removeAttr_1 = removeAttr; + var removeClass_1 = removeClass; + var removeData_1 = removeData; + var resize_1 = resize; + var scroll_1 = scroll; + var scrollLeft_1 = scrollLeft; + var scrollTo_1 = scrollTo; + var scrollTop_1 = scrollTop; + var show_1 = show; + var siblings_1 = siblings; + var stop_1 = stop; + var styles_1 = styles; + var submit_1 = submit; + var text_1 = text; + var toggleClass_1 = toggleClass; + var touchend_1 = touchend; + var touchmove_1 = touchmove; + var touchstart_1 = touchstart; + var transform_1 = transform; + var transition_1 = transition; + var transitionEnd_1 = transitionEnd; + var trigger_1 = trigger; + var val_1 = val; + var value_1 = value; + var width_1 = width; + + var dom7_cjs = /*#__PURE__*/Object.defineProperty({ + $: $_1, + add: add_1, + addClass: addClass_1, + animate: animate_1, + animationEnd: animationEnd_1, + append: append_1, + appendTo: appendTo_1, + attr: attr_1, + blur: blur_1, + change: change_1, + children: children_1, + click: click_1, + closest: closest_1, + css: css_1, + data: data_1, + dataset: dataset_1, + default: _default$1, + detach: detach_1, + each: each_1, + empty: empty_1, + eq: eq_1, + filter: filter_1, + find: find_1, + focus: focus_1, + focusin: focusin_1, + focusout: focusout_1, + hasClass: hasClass_1, + height: height_1, + hide: hide_1, + html: html_1, + index: index_1, + insertAfter: insertAfter_1, + insertBefore: insertBefore_1, + is: is_1, + keydown: keydown_1, + keypress: keypress_1, + keyup: keyup_1, + mousedown: mousedown_1, + mouseenter: mouseenter_1, + mouseleave: mouseleave_1, + mousemove: mousemove_1, + mouseout: mouseout_1, + mouseover: mouseover_1, + mouseup: mouseup_1, + next: next_1, + nextAll: nextAll_1, + off: off_1, + offset: offset_1, + on: on_1, + once: once_1, + outerHeight: outerHeight_1, + outerWidth: outerWidth_1, + parent: parent_1, + parents: parents_1, + prepend: prepend_1, + prependTo: prependTo_1, + prev: prev_1, + prevAll: prevAll_1, + prop: prop_1, + remove: remove_1, + removeAttr: removeAttr_1, + removeClass: removeClass_1, + removeData: removeData_1, + resize: resize_1, + scroll: scroll_1, + scrollLeft: scrollLeft_1, + scrollTo: scrollTo_1, + scrollTop: scrollTop_1, + show: show_1, + siblings: siblings_1, + stop: stop_1, + styles: styles_1, + submit: submit_1, + text: text_1, + toggleClass: toggleClass_1, + touchend: touchend_1, + touchmove: touchmove_1, + touchstart: touchstart_1, + transform: transform_1, + transition: transition_1, + transitionEnd: transitionEnd_1, + trigger: trigger_1, + val: val_1, + value: value_1, + width: width_1 + }, '__esModule', {value: true}); + + /** + * lodash (Custom Build) + * Build: `lodash modularize exports="npm" -o ./` + * Copyright jQuery Foundation and other contributors + * Released under MIT license + * Based on Underscore.js 1.8.3 + * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors + */ + /** Used as references for various `Number` constants. */ + var MAX_SAFE_INTEGER = 9007199254740991; + + /** `Object#toString` result references. */ + var argsTag = '[object Arguments]', + funcTag = '[object Function]', + genTag = '[object GeneratorFunction]'; + + /** Used to detect unsigned integer values. */ + var reIsUint = /^(?:0|[1-9]\d*)$/; + + /** + * A specialized version of `_.forEach` for arrays without support for + * iteratee shorthands. + * + * @private + * @param {Array} [array] The array to iterate over. + * @param {Function} iteratee The function invoked per iteration. + * @returns {Array} Returns `array`. + */ + function arrayEach(array, iteratee) { + var index = -1, + length = array ? array.length : 0; + + while (++index < length) { + if (iteratee(array[index], index, array) === false) { + break; + } + } + return array; + } + + /** + * The base implementation of `_.times` without support for iteratee shorthands + * or max array length checks. + * + * @private + * @param {number} n The number of times to invoke `iteratee`. + * @param {Function} iteratee The function invoked per iteration. + * @returns {Array} Returns the array of results. + */ + function baseTimes(n, iteratee) { + var index = -1, + result = Array(n); + + while (++index < n) { + result[index] = iteratee(index); + } + return result; + } + + /** + * Creates a unary function that invokes `func` with its argument transformed. + * + * @private + * @param {Function} func The function to wrap. + * @param {Function} transform The argument transform. + * @returns {Function} Returns the new function. + */ + function overArg(func, transform) { + return function(arg) { + return func(transform(arg)); + }; + } + + /** Used for built-in method references. */ + var objectProto$3 = Object.prototype; + + /** Used to check objects for own properties. */ + var hasOwnProperty$1 = objectProto$3.hasOwnProperty; + + /** + * Used to resolve the + * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring) + * of values. + */ + var objectToString$3 = objectProto$3.toString; + + /** Built-in value references. */ + var propertyIsEnumerable = objectProto$3.propertyIsEnumerable; + + /* Built-in method references for those with the same name as other `lodash` methods. */ + var nativeKeys = overArg(Object.keys, Object); + + /** + * Creates an array of the enumerable property names of the array-like `value`. + * + * @private + * @param {*} value The value to query. + * @param {boolean} inherited Specify returning inherited property names. + * @returns {Array} Returns the array of property names. + */ + function arrayLikeKeys(value, inherited) { + // Safari 8.1 makes `arguments.callee` enumerable in strict mode. + // Safari 9 makes `arguments.length` enumerable in strict mode. + var result = (isArray(value) || isArguments(value)) + ? baseTimes(value.length, String) + : []; + + var length = result.length, + skipIndexes = !!length; + + for (var key in value) { + if ((inherited || hasOwnProperty$1.call(value, key)) && + !(skipIndexes && (key == 'length' || isIndex(key, length)))) { + result.push(key); + } + } + return result; + } + + /** + * The base implementation of `_.forEach` without support for iteratee shorthands. + * + * @private + * @param {Array|Object} collection The collection to iterate over. + * @param {Function} iteratee The function invoked per iteration. + * @returns {Array|Object} Returns `collection`. + */ + var baseEach = createBaseEach(baseForOwn); + + /** + * The base implementation of `baseForOwn` which iterates over `object` + * properties returned by `keysFunc` and invokes `iteratee` for each property. + * Iteratee functions may exit iteration early by explicitly returning `false`. + * + * @private + * @param {Object} object The object to iterate over. + * @param {Function} iteratee The function invoked per iteration. + * @param {Function} keysFunc The function to get the keys of `object`. + * @returns {Object} Returns `object`. + */ + var baseFor = createBaseFor(); + + /** + * The base implementation of `_.forOwn` without support for iteratee shorthands. + * + * @private + * @param {Object} object The object to iterate over. + * @param {Function} iteratee The function invoked per iteration. + * @returns {Object} Returns `object`. + */ + function baseForOwn(object, iteratee) { + return object && baseFor(object, iteratee, keys); + } + + /** + * The base implementation of `_.keys` which doesn't treat sparse arrays as dense. + * + * @private + * @param {Object} object The object to query. + * @returns {Array} Returns the array of property names. + */ + function baseKeys(object) { + if (!isPrototype(object)) { + return nativeKeys(object); + } + var result = []; + for (var key in Object(object)) { + if (hasOwnProperty$1.call(object, key) && key != 'constructor') { + result.push(key); + } + } + return result; + } + + /** + * Creates a `baseEach` or `baseEachRight` function. + * + * @private + * @param {Function} eachFunc The function to iterate over a collection. + * @param {boolean} [fromRight] Specify iterating from right to left. + * @returns {Function} Returns the new base function. + */ + function createBaseEach(eachFunc, fromRight) { + return function(collection, iteratee) { + if (collection == null) { + return collection; + } + if (!isArrayLike(collection)) { + return eachFunc(collection, iteratee); + } + var length = collection.length, + index = fromRight ? length : -1, + iterable = Object(collection); + + while ((fromRight ? index-- : ++index < length)) { + if (iteratee(iterable[index], index, iterable) === false) { + break; + } + } + return collection; + }; + } + + /** + * Creates a base function for methods like `_.forIn` and `_.forOwn`. + * + * @private + * @param {boolean} [fromRight] Specify iterating from right to left. + * @returns {Function} Returns the new base function. + */ + function createBaseFor(fromRight) { + return function(object, iteratee, keysFunc) { + var index = -1, + iterable = Object(object), + props = keysFunc(object), + length = props.length; + + while (length--) { + var key = props[fromRight ? length : ++index]; + if (iteratee(iterable[key], key, iterable) === false) { + break; + } + } + return object; + }; + } + + /** + * Checks if `value` is a valid array-like index. + * + * @private + * @param {*} value The value to check. + * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index. + * @returns {boolean} Returns `true` if `value` is a valid index, else `false`. + */ + function isIndex(value, length) { + length = length == null ? MAX_SAFE_INTEGER : length; + return !!length && + (typeof value == 'number' || reIsUint.test(value)) && + (value > -1 && value % 1 == 0 && value < length); + } + + /** + * Checks if `value` is likely a prototype object. + * + * @private + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a prototype, else `false`. + */ + function isPrototype(value) { + var Ctor = value && value.constructor, + proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto$3; + + return value === proto; + } + + /** + * Iterates over elements of `collection` and invokes `iteratee` for each element. + * The iteratee is invoked with three arguments: (value, index|key, collection). + * Iteratee functions may exit iteration early by explicitly returning `false`. + * + * **Note:** As with other "Collections" methods, objects with a "length" + * property are iterated like arrays. To avoid this behavior use `_.forIn` + * or `_.forOwn` for object iteration. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @alias each + * @category Collection + * @param {Array|Object} collection The collection to iterate over. + * @param {Function} [iteratee=_.identity] The function invoked per iteration. + * @returns {Array|Object} Returns `collection`. + * @see _.forEachRight + * @example + * + * _([1, 2]).forEach(function(value) { + * console.log(value); + * }); + * // => Logs `1` then `2`. + * + * _.forEach({ 'a': 1, 'b': 2 }, function(value, key) { + * console.log(key); + * }); + * // => Logs 'a' then 'b' (iteration order is not guaranteed). + */ + function forEach(collection, iteratee) { + var func = isArray(collection) ? arrayEach : baseEach; + return func(collection, typeof iteratee == 'function' ? iteratee : identity); + } + + /** + * Checks if `value` is likely an `arguments` object. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is an `arguments` object, + * else `false`. + * @example + * + * _.isArguments(function() { return arguments; }()); + * // => true + * + * _.isArguments([1, 2, 3]); + * // => false + */ + function isArguments(value) { + // Safari 8.1 makes `arguments.callee` enumerable in strict mode. + return isArrayLikeObject(value) && hasOwnProperty$1.call(value, 'callee') && + (!propertyIsEnumerable.call(value, 'callee') || objectToString$3.call(value) == argsTag); + } + + /** + * Checks if `value` is classified as an `Array` object. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is an array, else `false`. + * @example + * + * _.isArray([1, 2, 3]); + * // => true + * + * _.isArray(document.body.children); + * // => false + * + * _.isArray('abc'); + * // => false + * + * _.isArray(_.noop); + * // => false + */ + var isArray = Array.isArray; + + /** + * Checks if `value` is array-like. A value is considered array-like if it's + * not a function and has a `value.length` that's an integer greater than or + * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is array-like, else `false`. + * @example + * + * _.isArrayLike([1, 2, 3]); + * // => true + * + * _.isArrayLike(document.body.children); + * // => true + * + * _.isArrayLike('abc'); + * // => true + * + * _.isArrayLike(_.noop); + * // => false + */ + function isArrayLike(value) { + return value != null && isLength(value.length) && !isFunction(value); + } + + /** + * This method is like `_.isArrayLike` except that it also checks if `value` + * is an object. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is an array-like object, + * else `false`. + * @example + * + * _.isArrayLikeObject([1, 2, 3]); + * // => true + * + * _.isArrayLikeObject(document.body.children); + * // => true + * + * _.isArrayLikeObject('abc'); + * // => false + * + * _.isArrayLikeObject(_.noop); + * // => false + */ + function isArrayLikeObject(value) { + return isObjectLike$3(value) && isArrayLike(value); + } + + /** + * Checks if `value` is classified as a `Function` object. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a function, else `false`. + * @example + * + * _.isFunction(_); + * // => true + * + * _.isFunction(/abc/); + * // => false + */ + function isFunction(value) { + // The use of `Object#toString` avoids issues with the `typeof` operator + // in Safari 8-9 which returns 'object' for typed array and other constructors. + var tag = isObject$2(value) ? objectToString$3.call(value) : ''; + return tag == funcTag || tag == genTag; + } + + /** + * Checks if `value` is a valid array-like length. + * + * **Note:** This method is loosely based on + * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength). + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a valid length, else `false`. + * @example + * + * _.isLength(3); + * // => true + * + * _.isLength(Number.MIN_VALUE); + * // => false + * + * _.isLength(Infinity); + * // => false + * + * _.isLength('3'); + * // => false + */ + function isLength(value) { + return typeof value == 'number' && + value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER; + } + + /** + * Checks if `value` is the + * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types) + * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`) + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is an object, else `false`. + * @example + * + * _.isObject({}); + * // => true + * + * _.isObject([1, 2, 3]); + * // => true + * + * _.isObject(_.noop); + * // => true + * + * _.isObject(null); + * // => false + */ + function isObject$2(value) { + var type = typeof value; + return !!value && (type == 'object' || type == 'function'); + } + + /** + * Checks if `value` is object-like. A value is object-like if it's not `null` + * and has a `typeof` result of "object". + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is object-like, else `false`. + * @example + * + * _.isObjectLike({}); + * // => true + * + * _.isObjectLike([1, 2, 3]); + * // => true + * + * _.isObjectLike(_.noop); + * // => false + * + * _.isObjectLike(null); + * // => false + */ + function isObjectLike$3(value) { + return !!value && typeof value == 'object'; + } + + /** + * Creates an array of the own enumerable property names of `object`. + * + * **Note:** Non-object values are coerced to objects. See the + * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys) + * for more details. + * + * @static + * @since 0.1.0 + * @memberOf _ + * @category Object + * @param {Object} object The object to query. + * @returns {Array} Returns the array of property names. + * @example + * + * function Foo() { + * this.a = 1; + * this.b = 2; + * } + * + * Foo.prototype.c = 3; + * + * _.keys(new Foo); + * // => ['a', 'b'] (iteration order is not guaranteed) + * + * _.keys('hi'); + * // => ['0', '1'] + */ + function keys(object) { + return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object); + } + + /** + * This method returns the first argument it receives. + * + * @static + * @since 0.1.0 + * @memberOf _ + * @category Util + * @param {*} value Any value. + * @returns {*} Returns `value`. + * @example + * + * var object = { 'a': 1 }; + * + * console.log(_.identity(object) === object); + * // => true + */ + function identity(value) { + return value; + } + + var lodash_foreach = forEach; + + let urlAlphabet$1 = + 'useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict'; + var urlAlphabet_1 = { urlAlphabet: urlAlphabet$1 }; + + let { urlAlphabet } = urlAlphabet_1; + { + if ( + typeof navigator !== 'undefined' && + navigator.product === 'ReactNative' && + typeof crypto === 'undefined' + ) { + throw new Error( + 'React Native does not have a built-in secure random generator. ' + + 'If you don’t need unpredictable IDs use `nanoid/non-secure`. ' + + 'For secure IDs, import `react-native-get-random-values` ' + + 'before Nano ID.' + ) + } + if (typeof msCrypto !== 'undefined' && typeof crypto === 'undefined') { + throw new Error( + 'Import file with `if (!window.crypto) window.crypto = window.msCrypto`' + + ' before importing Nano ID to fix IE 11 support' + ) + } + if (typeof crypto === 'undefined') { + throw new Error( + 'Your browser does not have secure random generator. ' + + 'If you don’t need unpredictable IDs, you can use nanoid/non-secure.' + ) + } + } + let random = bytes => crypto.getRandomValues(new Uint8Array(bytes)); + let customRandom = (alphabet, size, getRandom) => { + let mask = (2 << (Math.log(alphabet.length - 1) / Math.LN2)) - 1; + let step = -~((1.6 * mask * size) / alphabet.length); + return () => { + let id = ''; + while (true) { + let bytes = getRandom(step); + let j = step; + while (j--) { + id += alphabet[bytes[j] & mask] || ''; + if (id.length === size) return id + } + } + } + }; + let customAlphabet = (alphabet, size) => customRandom(alphabet, size, random); + let nanoid$2 = (size = 21) => { + let id = ''; + let bytes = crypto.getRandomValues(new Uint8Array(size)); + while (size--) { + let byte = bytes[size] & 63; + if (byte < 36) { + id += byte.toString(36); + } else if (byte < 62) { + id += (byte - 26).toString(36).toUpperCase(); + } else if (byte < 63) { + id += '_'; + } else { + id += '-'; + } + } + return id + }; + var index_browser = { nanoid: nanoid$2, customAlphabet, customRandom, urlAlphabet, random }; + + /** + * lodash (Custom Build) + * Build: `lodash modularize exports="npm" -o ./` + * Copyright jQuery Foundation and other contributors + * Released under MIT license + * Based on Underscore.js 1.8.3 + * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors + */ + + /** Used as the `TypeError` message for "Functions" methods. */ + var FUNC_ERROR_TEXT$1 = 'Expected a function'; + + /** Used as references for various `Number` constants. */ + var NAN$1 = 0 / 0; + + /** `Object#toString` result references. */ + var symbolTag$2 = '[object Symbol]'; + + /** Used to match leading and trailing whitespace. */ + var reTrim$1 = /^\s+|\s+$/g; + + /** Used to detect bad signed hexadecimal string values. */ + var reIsBadHex$1 = /^[-+]0x[0-9a-f]+$/i; + + /** Used to detect binary string values. */ + var reIsBinary$1 = /^0b[01]+$/i; + + /** Used to detect octal string values. */ + var reIsOctal$1 = /^0o[0-7]+$/i; + + /** Built-in method references without a dependency on `root`. */ + var freeParseInt$1 = parseInt; + + /** Detect free variable `global` from Node.js. */ + var freeGlobal$2 = typeof commonjsGlobal == 'object' && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal; + + /** Detect free variable `self`. */ + var freeSelf$2 = typeof self == 'object' && self && self.Object === Object && self; + + /** Used as a reference to the global object. */ + var root$2 = freeGlobal$2 || freeSelf$2 || Function('return this')(); + + /** Used for built-in method references. */ + var objectProto$2 = Object.prototype; + + /** + * Used to resolve the + * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring) + * of values. + */ + var objectToString$2 = objectProto$2.toString; + + /* Built-in method references for those with the same name as other `lodash` methods. */ + var nativeMax$1 = Math.max, + nativeMin$1 = Math.min; + + /** + * Gets the timestamp of the number of milliseconds that have elapsed since + * the Unix epoch (1 January 1970 00:00:00 UTC). + * + * @static + * @memberOf _ + * @since 2.4.0 + * @category Date + * @returns {number} Returns the timestamp. + * @example + * + * _.defer(function(stamp) { + * console.log(_.now() - stamp); + * }, _.now()); + * // => Logs the number of milliseconds it took for the deferred invocation. + */ + var now$1 = function() { + return root$2.Date.now(); + }; + + /** + * Creates a debounced function that delays invoking `func` until after `wait` + * milliseconds have elapsed since the last time the debounced function was + * invoked. The debounced function comes with a `cancel` method to cancel + * delayed `func` invocations and a `flush` method to immediately invoke them. + * Provide `options` to indicate whether `func` should be invoked on the + * leading and/or trailing edge of the `wait` timeout. The `func` is invoked + * with the last arguments provided to the debounced function. Subsequent + * calls to the debounced function return the result of the last `func` + * invocation. + * + * **Note:** If `leading` and `trailing` options are `true`, `func` is + * invoked on the trailing edge of the timeout only if the debounced function + * is invoked more than once during the `wait` timeout. + * + * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred + * until to the next tick, similar to `setTimeout` with a timeout of `0`. + * + * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/) + * for details over the differences between `_.debounce` and `_.throttle`. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Function + * @param {Function} func The function to debounce. + * @param {number} [wait=0] The number of milliseconds to delay. + * @param {Object} [options={}] The options object. + * @param {boolean} [options.leading=false] + * Specify invoking on the leading edge of the timeout. + * @param {number} [options.maxWait] + * The maximum time `func` is allowed to be delayed before it's invoked. + * @param {boolean} [options.trailing=true] + * Specify invoking on the trailing edge of the timeout. + * @returns {Function} Returns the new debounced function. + * @example + * + * // Avoid costly calculations while the window size is in flux. + * jQuery(window).on('resize', _.debounce(calculateLayout, 150)); + * + * // Invoke `sendMail` when clicked, debouncing subsequent calls. + * jQuery(element).on('click', _.debounce(sendMail, 300, { + * 'leading': true, + * 'trailing': false + * })); + * + * // Ensure `batchLog` is invoked once after 1 second of debounced calls. + * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 }); + * var source = new EventSource('/stream'); + * jQuery(source).on('message', debounced); + * + * // Cancel the trailing debounced invocation. + * jQuery(window).on('popstate', debounced.cancel); + */ + function debounce$2(func, wait, options) { + var lastArgs, + lastThis, + maxWait, + result, + timerId, + lastCallTime, + lastInvokeTime = 0, + leading = false, + maxing = false, + trailing = true; + + if (typeof func != 'function') { + throw new TypeError(FUNC_ERROR_TEXT$1); + } + wait = toNumber$1(wait) || 0; + if (isObject$1(options)) { + leading = !!options.leading; + maxing = 'maxWait' in options; + maxWait = maxing ? nativeMax$1(toNumber$1(options.maxWait) || 0, wait) : maxWait; + trailing = 'trailing' in options ? !!options.trailing : trailing; + } + + function invokeFunc(time) { + var args = lastArgs, + thisArg = lastThis; + + lastArgs = lastThis = undefined; + lastInvokeTime = time; + result = func.apply(thisArg, args); + return result; + } + + function leadingEdge(time) { + // Reset any `maxWait` timer. + lastInvokeTime = time; + // Start the timer for the trailing edge. + timerId = setTimeout(timerExpired, wait); + // Invoke the leading edge. + return leading ? invokeFunc(time) : result; + } + + function remainingWait(time) { + var timeSinceLastCall = time - lastCallTime, + timeSinceLastInvoke = time - lastInvokeTime, + result = wait - timeSinceLastCall; + + return maxing ? nativeMin$1(result, maxWait - timeSinceLastInvoke) : result; + } + + function shouldInvoke(time) { + var timeSinceLastCall = time - lastCallTime, + timeSinceLastInvoke = time - lastInvokeTime; + + // Either this is the first call, activity has stopped and we're at the + // trailing edge, the system time has gone backwards and we're treating + // it as the trailing edge, or we've hit the `maxWait` limit. + return (lastCallTime === undefined || (timeSinceLastCall >= wait) || + (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait)); + } + + function timerExpired() { + var time = now$1(); + if (shouldInvoke(time)) { + return trailingEdge(time); + } + // Restart the timer. + timerId = setTimeout(timerExpired, remainingWait(time)); + } + + function trailingEdge(time) { + timerId = undefined; + + // Only invoke if we have `lastArgs` which means `func` has been + // debounced at least once. + if (trailing && lastArgs) { + return invokeFunc(time); + } + lastArgs = lastThis = undefined; + return result; + } + + function cancel() { + if (timerId !== undefined) { + clearTimeout(timerId); + } + lastInvokeTime = 0; + lastArgs = lastCallTime = lastThis = timerId = undefined; + } + + function flush() { + return timerId === undefined ? result : trailingEdge(now$1()); + } + + function debounced() { + var time = now$1(), + isInvoking = shouldInvoke(time); + + lastArgs = arguments; + lastThis = this; + lastCallTime = time; + + if (isInvoking) { + if (timerId === undefined) { + return leadingEdge(lastCallTime); + } + if (maxing) { + // Handle invocations in a tight loop. + timerId = setTimeout(timerExpired, wait); + return invokeFunc(lastCallTime); + } + } + if (timerId === undefined) { + timerId = setTimeout(timerExpired, wait); + } + return result; + } + debounced.cancel = cancel; + debounced.flush = flush; + return debounced; + } + + /** + * Creates a throttled function that only invokes `func` at most once per + * every `wait` milliseconds. The throttled function comes with a `cancel` + * method to cancel delayed `func` invocations and a `flush` method to + * immediately invoke them. Provide `options` to indicate whether `func` + * should be invoked on the leading and/or trailing edge of the `wait` + * timeout. The `func` is invoked with the last arguments provided to the + * throttled function. Subsequent calls to the throttled function return the + * result of the last `func` invocation. + * + * **Note:** If `leading` and `trailing` options are `true`, `func` is + * invoked on the trailing edge of the timeout only if the throttled function + * is invoked more than once during the `wait` timeout. + * + * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred + * until to the next tick, similar to `setTimeout` with a timeout of `0`. + * + * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/) + * for details over the differences between `_.throttle` and `_.debounce`. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Function + * @param {Function} func The function to throttle. + * @param {number} [wait=0] The number of milliseconds to throttle invocations to. + * @param {Object} [options={}] The options object. + * @param {boolean} [options.leading=true] + * Specify invoking on the leading edge of the timeout. + * @param {boolean} [options.trailing=true] + * Specify invoking on the trailing edge of the timeout. + * @returns {Function} Returns the new throttled function. + * @example + * + * // Avoid excessively updating the position while scrolling. + * jQuery(window).on('scroll', _.throttle(updatePosition, 100)); + * + * // Invoke `renewToken` when the click event is fired, but not more than once every 5 minutes. + * var throttled = _.throttle(renewToken, 300000, { 'trailing': false }); + * jQuery(element).on('click', throttled); + * + * // Cancel the trailing throttled invocation. + * jQuery(window).on('popstate', throttled.cancel); + */ + function throttle(func, wait, options) { + var leading = true, + trailing = true; + + if (typeof func != 'function') { + throw new TypeError(FUNC_ERROR_TEXT$1); + } + if (isObject$1(options)) { + leading = 'leading' in options ? !!options.leading : leading; + trailing = 'trailing' in options ? !!options.trailing : trailing; + } + return debounce$2(func, wait, { + 'leading': leading, + 'maxWait': wait, + 'trailing': trailing + }); + } + + /** + * Checks if `value` is the + * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types) + * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`) + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is an object, else `false`. + * @example + * + * _.isObject({}); + * // => true + * + * _.isObject([1, 2, 3]); + * // => true + * + * _.isObject(_.noop); + * // => true + * + * _.isObject(null); + * // => false + */ + function isObject$1(value) { + var type = typeof value; + return !!value && (type == 'object' || type == 'function'); + } + + /** + * Checks if `value` is object-like. A value is object-like if it's not `null` + * and has a `typeof` result of "object". + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is object-like, else `false`. + * @example + * + * _.isObjectLike({}); + * // => true + * + * _.isObjectLike([1, 2, 3]); + * // => true + * + * _.isObjectLike(_.noop); + * // => false + * + * _.isObjectLike(null); + * // => false + */ + function isObjectLike$2(value) { + return !!value && typeof value == 'object'; + } + + /** + * Checks if `value` is classified as a `Symbol` primitive or object. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a symbol, else `false`. + * @example + * + * _.isSymbol(Symbol.iterator); + * // => true + * + * _.isSymbol('abc'); + * // => false + */ + function isSymbol$2(value) { + return typeof value == 'symbol' || + (isObjectLike$2(value) && objectToString$2.call(value) == symbolTag$2); + } + + /** + * Converts `value` to a number. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Lang + * @param {*} value The value to process. + * @returns {number} Returns the number. + * @example + * + * _.toNumber(3.2); + * // => 3.2 + * + * _.toNumber(Number.MIN_VALUE); + * // => 5e-324 + * + * _.toNumber(Infinity); + * // => Infinity + * + * _.toNumber('3.2'); + * // => 3.2 + */ + function toNumber$1(value) { + if (typeof value == 'number') { + return value; + } + if (isSymbol$2(value)) { + return NAN$1; + } + if (isObject$1(value)) { + var other = typeof value.valueOf == 'function' ? value.valueOf() : value; + value = isObject$1(other) ? (other + '') : other; + } + if (typeof value != 'string') { + return value === 0 ? value : +value; + } + value = value.replace(reTrim$1, ''); + var isBinary = reIsBinary$1.test(value); + return (isBinary || reIsOctal$1.test(value)) + ? freeParseInt$1(value.slice(2), isBinary ? 2 : 8) + : (reIsBadHex$1.test(value) ? NAN$1 : +value); + } + + var lodash_throttle = throttle; + + var snabbdom_cjs = createCommonjsModule$1(function (module, exports) { + + Object.defineProperty(exports, '__esModule', { value: true }); + + function createElement(tagName, options) { + return document.createElement(tagName, options); + } + function createElementNS(namespaceURI, qualifiedName, options) { + return document.createElementNS(namespaceURI, qualifiedName, options); + } + function createTextNode(text) { + return document.createTextNode(text); + } + function createComment(text) { + return document.createComment(text); + } + function insertBefore(parentNode, newNode, referenceNode) { + parentNode.insertBefore(newNode, referenceNode); + } + function removeChild(node, child) { + node.removeChild(child); + } + function appendChild(node, child) { + node.appendChild(child); + } + function parentNode(node) { + return node.parentNode; + } + function nextSibling(node) { + return node.nextSibling; + } + function tagName(elm) { + return elm.tagName; + } + function setTextContent(node, text) { + node.textContent = text; + } + function getTextContent(node) { + return node.textContent; + } + function isElement(node) { + return node.nodeType === 1; + } + function isText(node) { + return node.nodeType === 3; + } + function isComment(node) { + return node.nodeType === 8; + } + const htmlDomApi = { + createElement, + createElementNS, + createTextNode, + createComment, + insertBefore, + removeChild, + appendChild, + parentNode, + nextSibling, + tagName, + setTextContent, + getTextContent, + isElement, + isText, + isComment, + }; + + function vnode(sel, data, children, text, elm) { + const key = data === undefined ? undefined : data.key; + return { sel, data, children, text, elm, key }; + } + + const array = Array.isArray; + function primitive(s) { + return typeof s === "string" || + typeof s === "number" || + s instanceof String || + s instanceof Number; + } + + function isUndef(s) { + return s === undefined; + } + function isDef(s) { + return s !== undefined; + } + const emptyNode = vnode("", {}, [], undefined, undefined); + function sameVnode(vnode1, vnode2) { + var _a, _b; + const isSameKey = vnode1.key === vnode2.key; + const isSameIs = ((_a = vnode1.data) === null || _a === void 0 ? void 0 : _a.is) === ((_b = vnode2.data) === null || _b === void 0 ? void 0 : _b.is); + const isSameSel = vnode1.sel === vnode2.sel; + return isSameSel && isSameKey && isSameIs; + } + function isVnode(vnode) { + return vnode.sel !== undefined; + } + function createKeyToOldIdx(children, beginIdx, endIdx) { + var _a; + const map = {}; + for (let i = beginIdx; i <= endIdx; ++i) { + const key = (_a = children[i]) === null || _a === void 0 ? void 0 : _a.key; + if (key !== undefined) { + map[key] = i; + } + } + return map; + } + const hooks = [ + "create", + "update", + "remove", + "destroy", + "pre", + "post", + ]; + function init$1(modules, domApi) { + const cbs = { + create: [], + update: [], + remove: [], + destroy: [], + pre: [], + post: [], + }; + const api = domApi !== undefined ? domApi : htmlDomApi; + for (const hook of hooks) { + for (const module of modules) { + const currentHook = module[hook]; + if (currentHook !== undefined) { + cbs[hook].push(currentHook); + } + } + } + function emptyNodeAt(elm) { + const id = elm.id ? "#" + elm.id : ""; + // elm.className doesn't return a string when elm is an SVG element inside a shadowRoot. + // https://stackoverflow.com/questions/29454340/detecting-classname-of-svganimatedstring + const classes = elm.getAttribute("class"); + const c = classes ? "." + classes.split(" ").join(".") : ""; + return vnode(api.tagName(elm).toLowerCase() + id + c, {}, [], undefined, elm); + } + function createRmCb(childElm, listeners) { + return function rmCb() { + if (--listeners === 0) { + const parent = api.parentNode(childElm); + api.removeChild(parent, childElm); + } + }; + } + function createElm(vnode, insertedVnodeQueue) { + var _a, _b; + let i; + let data = vnode.data; + if (data !== undefined) { + const init = (_a = data.hook) === null || _a === void 0 ? void 0 : _a.init; + if (isDef(init)) { + init(vnode); + data = vnode.data; + } + } + const children = vnode.children; + const sel = vnode.sel; + if (sel === "!") { + if (isUndef(vnode.text)) { + vnode.text = ""; + } + vnode.elm = api.createComment(vnode.text); + } + else if (sel !== undefined) { + // Parse selector + const hashIdx = sel.indexOf("#"); + const dotIdx = sel.indexOf(".", hashIdx); + const hash = hashIdx > 0 ? hashIdx : sel.length; + const dot = dotIdx > 0 ? dotIdx : sel.length; + const tag = hashIdx !== -1 || dotIdx !== -1 + ? sel.slice(0, Math.min(hash, dot)) + : sel; + const elm = (vnode.elm = + isDef(data) && isDef((i = data.ns)) + ? api.createElementNS(i, tag, data) + : api.createElement(tag, data)); + if (hash < dot) + elm.setAttribute("id", sel.slice(hash + 1, dot)); + if (dotIdx > 0) + elm.setAttribute("class", sel.slice(dot + 1).replace(/\./g, " ")); + for (i = 0; i < cbs.create.length; ++i) + cbs.create[i](emptyNode, vnode); + if (array(children)) { + for (i = 0; i < children.length; ++i) { + const ch = children[i]; + if (ch != null) { + api.appendChild(elm, createElm(ch, insertedVnodeQueue)); + } + } + } + else if (primitive(vnode.text)) { + api.appendChild(elm, api.createTextNode(vnode.text)); + } + const hook = vnode.data.hook; + if (isDef(hook)) { + (_b = hook.create) === null || _b === void 0 ? void 0 : _b.call(hook, emptyNode, vnode); + if (hook.insert) { + insertedVnodeQueue.push(vnode); + } + } + } + else { + vnode.elm = api.createTextNode(vnode.text); + } + return vnode.elm; + } + function addVnodes(parentElm, before, vnodes, startIdx, endIdx, insertedVnodeQueue) { + for (; startIdx <= endIdx; ++startIdx) { + const ch = vnodes[startIdx]; + if (ch != null) { + api.insertBefore(parentElm, createElm(ch, insertedVnodeQueue), before); + } + } + } + function invokeDestroyHook(vnode) { + var _a, _b; + const data = vnode.data; + if (data !== undefined) { + (_b = (_a = data === null || data === void 0 ? void 0 : data.hook) === null || _a === void 0 ? void 0 : _a.destroy) === null || _b === void 0 ? void 0 : _b.call(_a, vnode); + for (let i = 0; i < cbs.destroy.length; ++i) + cbs.destroy[i](vnode); + if (vnode.children !== undefined) { + for (let j = 0; j < vnode.children.length; ++j) { + const child = vnode.children[j]; + if (child != null && typeof child !== "string") { + invokeDestroyHook(child); + } + } + } + } + } + function removeVnodes(parentElm, vnodes, startIdx, endIdx) { + var _a, _b; + for (; startIdx <= endIdx; ++startIdx) { + let listeners; + let rm; + const ch = vnodes[startIdx]; + if (ch != null) { + if (isDef(ch.sel)) { + invokeDestroyHook(ch); + listeners = cbs.remove.length + 1; + rm = createRmCb(ch.elm, listeners); + for (let i = 0; i < cbs.remove.length; ++i) + cbs.remove[i](ch, rm); + const removeHook = (_b = (_a = ch === null || ch === void 0 ? void 0 : ch.data) === null || _a === void 0 ? void 0 : _a.hook) === null || _b === void 0 ? void 0 : _b.remove; + if (isDef(removeHook)) { + removeHook(ch, rm); + } + else { + rm(); + } + } + else { + // Text node + api.removeChild(parentElm, ch.elm); + } + } + } + } + function updateChildren(parentElm, oldCh, newCh, insertedVnodeQueue) { + let oldStartIdx = 0; + let newStartIdx = 0; + let oldEndIdx = oldCh.length - 1; + let oldStartVnode = oldCh[0]; + let oldEndVnode = oldCh[oldEndIdx]; + let newEndIdx = newCh.length - 1; + let newStartVnode = newCh[0]; + let newEndVnode = newCh[newEndIdx]; + let oldKeyToIdx; + let idxInOld; + let elmToMove; + let before; + while (oldStartIdx <= oldEndIdx && newStartIdx <= newEndIdx) { + if (oldStartVnode == null) { + oldStartVnode = oldCh[++oldStartIdx]; // Vnode might have been moved left + } + else if (oldEndVnode == null) { + oldEndVnode = oldCh[--oldEndIdx]; + } + else if (newStartVnode == null) { + newStartVnode = newCh[++newStartIdx]; + } + else if (newEndVnode == null) { + newEndVnode = newCh[--newEndIdx]; + } + else if (sameVnode(oldStartVnode, newStartVnode)) { + patchVnode(oldStartVnode, newStartVnode, insertedVnodeQueue); + oldStartVnode = oldCh[++oldStartIdx]; + newStartVnode = newCh[++newStartIdx]; + } + else if (sameVnode(oldEndVnode, newEndVnode)) { + patchVnode(oldEndVnode, newEndVnode, insertedVnodeQueue); + oldEndVnode = oldCh[--oldEndIdx]; + newEndVnode = newCh[--newEndIdx]; + } + else if (sameVnode(oldStartVnode, newEndVnode)) { + // Vnode moved right + patchVnode(oldStartVnode, newEndVnode, insertedVnodeQueue); + api.insertBefore(parentElm, oldStartVnode.elm, api.nextSibling(oldEndVnode.elm)); + oldStartVnode = oldCh[++oldStartIdx]; + newEndVnode = newCh[--newEndIdx]; + } + else if (sameVnode(oldEndVnode, newStartVnode)) { + // Vnode moved left + patchVnode(oldEndVnode, newStartVnode, insertedVnodeQueue); + api.insertBefore(parentElm, oldEndVnode.elm, oldStartVnode.elm); + oldEndVnode = oldCh[--oldEndIdx]; + newStartVnode = newCh[++newStartIdx]; + } + else { + if (oldKeyToIdx === undefined) { + oldKeyToIdx = createKeyToOldIdx(oldCh, oldStartIdx, oldEndIdx); + } + idxInOld = oldKeyToIdx[newStartVnode.key]; + if (isUndef(idxInOld)) { + // New element + api.insertBefore(parentElm, createElm(newStartVnode, insertedVnodeQueue), oldStartVnode.elm); + } + else { + elmToMove = oldCh[idxInOld]; + if (elmToMove.sel !== newStartVnode.sel) { + api.insertBefore(parentElm, createElm(newStartVnode, insertedVnodeQueue), oldStartVnode.elm); + } + else { + patchVnode(elmToMove, newStartVnode, insertedVnodeQueue); + oldCh[idxInOld] = undefined; + api.insertBefore(parentElm, elmToMove.elm, oldStartVnode.elm); + } + } + newStartVnode = newCh[++newStartIdx]; + } + } + if (oldStartIdx <= oldEndIdx || newStartIdx <= newEndIdx) { + if (oldStartIdx > oldEndIdx) { + before = newCh[newEndIdx + 1] == null ? null : newCh[newEndIdx + 1].elm; + addVnodes(parentElm, before, newCh, newStartIdx, newEndIdx, insertedVnodeQueue); + } + else { + removeVnodes(parentElm, oldCh, oldStartIdx, oldEndIdx); + } + } + } + function patchVnode(oldVnode, vnode, insertedVnodeQueue) { + var _a, _b, _c, _d, _e; + const hook = (_a = vnode.data) === null || _a === void 0 ? void 0 : _a.hook; + (_b = hook === null || hook === void 0 ? void 0 : hook.prepatch) === null || _b === void 0 ? void 0 : _b.call(hook, oldVnode, vnode); + const elm = (vnode.elm = oldVnode.elm); + const oldCh = oldVnode.children; + const ch = vnode.children; + if (oldVnode === vnode) + return; + if (vnode.data !== undefined) { + for (let i = 0; i < cbs.update.length; ++i) + cbs.update[i](oldVnode, vnode); + (_d = (_c = vnode.data.hook) === null || _c === void 0 ? void 0 : _c.update) === null || _d === void 0 ? void 0 : _d.call(_c, oldVnode, vnode); + } + if (isUndef(vnode.text)) { + if (isDef(oldCh) && isDef(ch)) { + if (oldCh !== ch) + updateChildren(elm, oldCh, ch, insertedVnodeQueue); + } + else if (isDef(ch)) { + if (isDef(oldVnode.text)) + api.setTextContent(elm, ""); + addVnodes(elm, null, ch, 0, ch.length - 1, insertedVnodeQueue); + } + else if (isDef(oldCh)) { + removeVnodes(elm, oldCh, 0, oldCh.length - 1); + } + else if (isDef(oldVnode.text)) { + api.setTextContent(elm, ""); + } + } + else if (oldVnode.text !== vnode.text) { + if (isDef(oldCh)) { + removeVnodes(elm, oldCh, 0, oldCh.length - 1); + } + api.setTextContent(elm, vnode.text); + } + (_e = hook === null || hook === void 0 ? void 0 : hook.postpatch) === null || _e === void 0 ? void 0 : _e.call(hook, oldVnode, vnode); + } + return function patch(oldVnode, vnode) { + let i, elm, parent; + const insertedVnodeQueue = []; + for (i = 0; i < cbs.pre.length; ++i) + cbs.pre[i](); + if (!isVnode(oldVnode)) { + oldVnode = emptyNodeAt(oldVnode); + } + if (sameVnode(oldVnode, vnode)) { + patchVnode(oldVnode, vnode, insertedVnodeQueue); + } + else { + elm = oldVnode.elm; + parent = api.parentNode(elm); + createElm(vnode, insertedVnodeQueue); + if (parent !== null) { + api.insertBefore(parent, vnode.elm, api.nextSibling(elm)); + removeVnodes(parent, [oldVnode], 0, 0); + } + } + for (i = 0; i < insertedVnodeQueue.length; ++i) { + insertedVnodeQueue[i].data.hook.insert(insertedVnodeQueue[i]); + } + for (i = 0; i < cbs.post.length; ++i) + cbs.post[i](); + return vnode; + }; + } + + function addNS(data, children, sel) { + data.ns = "http://www.w3.org/2000/svg"; + if (sel !== "foreignObject" && children !== undefined) { + for (let i = 0; i < children.length; ++i) { + const childData = children[i].data; + if (childData !== undefined) { + addNS(childData, children[i].children, children[i].sel); + } + } + } + } + function h(sel, b, c) { + let data = {}; + let children; + let text; + let i; + if (c !== undefined) { + if (b !== null) { + data = b; + } + if (array(c)) { + children = c; + } + else if (primitive(c)) { + text = c.toString(); + } + else if (c && c.sel) { + children = [c]; + } + } + else if (b !== undefined && b !== null) { + if (array(b)) { + children = b; + } + else if (primitive(b)) { + text = b.toString(); + } + else if (b && b.sel) { + children = [b]; + } + else { + data = b; + } + } + if (children !== undefined) { + for (i = 0; i < children.length; ++i) { + if (primitive(children[i])) + children[i] = vnode(undefined, undefined, undefined, children[i], undefined); + } + } + if (sel[0] === "s" && + sel[1] === "v" && + sel[2] === "g" && + (sel.length === 3 || sel[3] === "." || sel[3] === "#")) { + addNS(data, children, sel); + } + return vnode(sel, data, children, text, undefined); + } + + function copyToThunk(vnode, thunk) { + vnode.data.fn = thunk.data.fn; + vnode.data.args = thunk.data.args; + thunk.data = vnode.data; + thunk.children = vnode.children; + thunk.text = vnode.text; + thunk.elm = vnode.elm; + } + function init(thunk) { + const cur = thunk.data; + const vnode = cur.fn(...cur.args); + copyToThunk(vnode, thunk); + } + function prepatch(oldVnode, thunk) { + let i; + const old = oldVnode.data; + const cur = thunk.data; + const oldArgs = old.args; + const args = cur.args; + if (old.fn !== cur.fn || oldArgs.length !== args.length) { + copyToThunk(cur.fn(...args), thunk); + return; + } + for (i = 0; i < args.length; ++i) { + if (oldArgs[i] !== args[i]) { + copyToThunk(cur.fn(...args), thunk); + return; + } + } + copyToThunk(oldVnode, thunk); + } + const thunk = function thunk(sel, key, fn, args) { + if (args === undefined) { + args = fn; + fn = key; + key = undefined; + } + return h(sel, { + key: key, + hook: { init, prepatch }, + fn: fn, + args: args, + }); + }; + + function pre(vnode, newVnode) { + const attachData = vnode.data.attachData; + // Copy created placeholder and real element from old vnode + newVnode.data.attachData.placeholder = attachData.placeholder; + newVnode.data.attachData.real = attachData.real; + // Mount real element in vnode so the patch process operates on it + vnode.elm = vnode.data.attachData.real; + } + function post(_, vnode) { + // Mount dummy placeholder in vnode so potential reorders use it + vnode.elm = vnode.data.attachData.placeholder; + } + function destroy(vnode) { + // Remove placeholder + if (vnode.elm !== undefined) { + vnode.elm.parentNode.removeChild(vnode.elm); + } + // Remove real element from where it was inserted + vnode.elm = vnode.data.attachData.real; + } + function create(_, vnode) { + const real = vnode.elm; + const attachData = vnode.data.attachData; + const placeholder = document.createElement("span"); + // Replace actual element with dummy placeholder + // Snabbdom will then insert placeholder instead + vnode.elm = placeholder; + attachData.target.appendChild(real); + attachData.real = real; + attachData.placeholder = placeholder; + } + function attachTo(target, vnode) { + if (vnode.data === undefined) + vnode.data = {}; + if (vnode.data.hook === undefined) + vnode.data.hook = {}; + const data = vnode.data; + const hook = vnode.data.hook; + data.attachData = { target: target, placeholder: undefined, real: undefined }; + hook.create = create; + hook.prepatch = pre; + hook.postpatch = post; + hook.destroy = destroy; + return vnode; + } + + function toVNode(node, domApi) { + const api = domApi !== undefined ? domApi : htmlDomApi; + let text; + if (api.isElement(node)) { + const id = node.id ? "#" + node.id : ""; + const cn = node.getAttribute("class"); + const c = cn ? "." + cn.split(" ").join(".") : ""; + const sel = api.tagName(node).toLowerCase() + id + c; + const attrs = {}; + const children = []; + let name; + let i, n; + const elmAttrs = node.attributes; + const elmChildren = node.childNodes; + for (i = 0, n = elmAttrs.length; i < n; i++) { + name = elmAttrs[i].nodeName; + if (name !== "id" && name !== "class") { + attrs[name] = elmAttrs[i].nodeValue; + } + } + for (i = 0, n = elmChildren.length; i < n; i++) { + children.push(toVNode(elmChildren[i], domApi)); + } + return vnode(sel, { attrs }, children, undefined, node); + } + else if (api.isText(node)) { + text = api.getTextContent(node); + return vnode(undefined, undefined, undefined, text, node); + } + else if (api.isComment(node)) { + text = api.getTextContent(node); + return vnode("!", {}, [], text, node); + } + else { + return vnode("", {}, [], undefined, node); + } + } + + const xlinkNS = "http://www.w3.org/1999/xlink"; + const xmlNS = "http://www.w3.org/XML/1998/namespace"; + const colonChar = 58; + const xChar = 120; + function updateAttrs(oldVnode, vnode) { + let key; + const elm = vnode.elm; + let oldAttrs = oldVnode.data.attrs; + let attrs = vnode.data.attrs; + if (!oldAttrs && !attrs) + return; + if (oldAttrs === attrs) + return; + oldAttrs = oldAttrs || {}; + attrs = attrs || {}; + // update modified attributes, add new attributes + for (key in attrs) { + const cur = attrs[key]; + const old = oldAttrs[key]; + if (old !== cur) { + if (cur === true) { + elm.setAttribute(key, ""); + } + else if (cur === false) { + elm.removeAttribute(key); + } + else { + if (key.charCodeAt(0) !== xChar) { + elm.setAttribute(key, cur); + } + else if (key.charCodeAt(3) === colonChar) { + // Assume xml namespace + elm.setAttributeNS(xmlNS, key, cur); + } + else if (key.charCodeAt(5) === colonChar) { + // Assume xlink namespace + elm.setAttributeNS(xlinkNS, key, cur); + } + else { + elm.setAttribute(key, cur); + } + } + } + } + // remove removed attributes + // use `in` operator since the previous `for` iteration uses it (.i.e. add even attributes with undefined value) + // the other option is to remove all attributes with value == undefined + for (key in oldAttrs) { + if (!(key in attrs)) { + elm.removeAttribute(key); + } + } + } + const attributesModule = { + create: updateAttrs, + update: updateAttrs, + }; + + function updateClass(oldVnode, vnode) { + let cur; + let name; + const elm = vnode.elm; + let oldClass = oldVnode.data.class; + let klass = vnode.data.class; + if (!oldClass && !klass) + return; + if (oldClass === klass) + return; + oldClass = oldClass || {}; + klass = klass || {}; + for (name in oldClass) { + if (oldClass[name] && !Object.prototype.hasOwnProperty.call(klass, name)) { + // was `true` and now not provided + elm.classList.remove(name); + } + } + for (name in klass) { + cur = klass[name]; + if (cur !== oldClass[name]) { + elm.classList[cur ? "add" : "remove"](name); + } + } + } + const classModule = { create: updateClass, update: updateClass }; + + const CAPS_REGEX = /[A-Z]/g; + function updateDataset(oldVnode, vnode) { + const elm = vnode.elm; + let oldDataset = oldVnode.data.dataset; + let dataset = vnode.data.dataset; + let key; + if (!oldDataset && !dataset) + return; + if (oldDataset === dataset) + return; + oldDataset = oldDataset || {}; + dataset = dataset || {}; + const d = elm.dataset; + for (key in oldDataset) { + if (!dataset[key]) { + if (d) { + if (key in d) { + delete d[key]; + } + } + else { + elm.removeAttribute("data-" + key.replace(CAPS_REGEX, "-$&").toLowerCase()); + } + } + } + for (key in dataset) { + if (oldDataset[key] !== dataset[key]) { + if (d) { + d[key] = dataset[key]; + } + else { + elm.setAttribute("data-" + key.replace(CAPS_REGEX, "-$&").toLowerCase(), dataset[key]); + } + } + } + } + const datasetModule = { + create: updateDataset, + update: updateDataset, + }; + + function invokeHandler(handler, vnode, event) { + if (typeof handler === "function") { + // call function handler + handler.call(vnode, event, vnode); + } + else if (typeof handler === "object") { + // call multiple handlers + for (let i = 0; i < handler.length; i++) { + invokeHandler(handler[i], vnode, event); + } + } + } + function handleEvent(event, vnode) { + const name = event.type; + const on = vnode.data.on; + // call event handler(s) if exists + if (on && on[name]) { + invokeHandler(on[name], vnode, event); + } + } + function createListener() { + return function handler(event) { + handleEvent(event, handler.vnode); + }; + } + function updateEventListeners(oldVnode, vnode) { + const oldOn = oldVnode.data.on; + const oldListener = oldVnode.listener; + const oldElm = oldVnode.elm; + const on = vnode && vnode.data.on; + const elm = (vnode && vnode.elm); + let name; + // optimization for reused immutable handlers + if (oldOn === on) { + return; + } + // remove existing listeners which no longer used + if (oldOn && oldListener) { + // if element changed or deleted we remove all existing listeners unconditionally + if (!on) { + for (name in oldOn) { + // remove listener if element was changed or existing listeners removed + oldElm.removeEventListener(name, oldListener, false); + } + } + else { + for (name in oldOn) { + // remove listener if existing listener removed + if (!on[name]) { + oldElm.removeEventListener(name, oldListener, false); + } + } + } + } + // add new listeners which has not already attached + if (on) { + // reuse existing listener or create new + const listener = (vnode.listener = + oldVnode.listener || createListener()); + // update vnode for listener + listener.vnode = vnode; + // if element changed or added we add all needed listeners unconditionally + if (!oldOn) { + for (name in on) { + // add listener if element was changed or new listeners added + elm.addEventListener(name, listener, false); + } + } + else { + for (name in on) { + // add listener if new listener added + if (!oldOn[name]) { + elm.addEventListener(name, listener, false); + } + } + } + } + } + const eventListenersModule = { + create: updateEventListeners, + update: updateEventListeners, + destroy: updateEventListeners, + }; + + function updateProps(oldVnode, vnode) { + let key; + let cur; + let old; + const elm = vnode.elm; + let oldProps = oldVnode.data.props; + let props = vnode.data.props; + if (!oldProps && !props) + return; + if (oldProps === props) + return; + oldProps = oldProps || {}; + props = props || {}; + for (key in props) { + cur = props[key]; + old = oldProps[key]; + if (old !== cur && (key !== "value" || elm[key] !== cur)) { + elm[key] = cur; + } + } + } + const propsModule = { create: updateProps, update: updateProps }; + + // Bindig `requestAnimationFrame` like this fixes a bug in IE/Edge. See #360 and #409. + const raf = (typeof window !== "undefined" && + window.requestAnimationFrame.bind(window)) || + setTimeout; + const nextFrame = function (fn) { + raf(function () { + raf(fn); + }); + }; + let reflowForced = false; + function setNextFrame(obj, prop, val) { + nextFrame(function () { + obj[prop] = val; + }); + } + function updateStyle(oldVnode, vnode) { + let cur; + let name; + const elm = vnode.elm; + let oldStyle = oldVnode.data.style; + let style = vnode.data.style; + if (!oldStyle && !style) + return; + if (oldStyle === style) + return; + oldStyle = oldStyle || {}; + style = style || {}; + const oldHasDel = "delayed" in oldStyle; + for (name in oldStyle) { + if (!style[name]) { + if (name[0] === "-" && name[1] === "-") { + elm.style.removeProperty(name); + } + else { + elm.style[name] = ""; + } + } + } + for (name in style) { + cur = style[name]; + if (name === "delayed" && style.delayed) { + for (const name2 in style.delayed) { + cur = style.delayed[name2]; + if (!oldHasDel || cur !== oldStyle.delayed[name2]) { + setNextFrame(elm.style, name2, cur); + } + } + } + else if (name !== "remove" && cur !== oldStyle[name]) { + if (name[0] === "-" && name[1] === "-") { + elm.style.setProperty(name, cur); + } + else { + elm.style[name] = cur; + } + } + } + } + function applyDestroyStyle(vnode) { + let style; + let name; + const elm = vnode.elm; + const s = vnode.data.style; + if (!s || !(style = s.destroy)) + return; + for (name in style) { + elm.style[name] = style[name]; + } + } + function applyRemoveStyle(vnode, rm) { + const s = vnode.data.style; + if (!s || !s.remove) { + rm(); + return; + } + if (!reflowForced) { + // eslint-disable-next-line @typescript-eslint/no-unused-expressions + vnode.elm.offsetLeft; + reflowForced = true; + } + let name; + const elm = vnode.elm; + let i = 0; + const style = s.remove; + let amount = 0; + const applied = []; + for (name in style) { + applied.push(name); + elm.style[name] = style[name]; + } + const compStyle = getComputedStyle(elm); + const props = compStyle["transition-property"].split(", "); + for (; i < props.length; ++i) { + if (applied.indexOf(props[i]) !== -1) + amount++; + } + elm.addEventListener("transitionend", function (ev) { + if (ev.target === elm) + --amount; + if (amount === 0) + rm(); + }); + } + function forceReflow() { + reflowForced = false; + } + const styleModule = { + pre: forceReflow, + create: updateStyle, + update: updateStyle, + destroy: applyDestroyStyle, + remove: applyRemoveStyle, + }; + + /* eslint-disable @typescript-eslint/no-namespace, import/export */ + function flattenAndFilter(children, flattened) { + for (const child of children) { + // filter out falsey children, except 0 since zero can be a valid value e.g inside a chart + if (child !== undefined && + child !== null && + child !== false && + child !== "") { + if (Array.isArray(child)) { + flattenAndFilter(child, flattened); + } + else if (typeof child === "string" || + typeof child === "number" || + typeof child === "boolean") { + flattened.push(vnode(undefined, undefined, undefined, String(child), undefined)); + } + else { + flattened.push(child); + } + } + } + return flattened; + } + /** + * jsx/tsx compatible factory function + * see: https://www.typescriptlang.org/docs/handbook/jsx.html#factory-functions + */ + function jsx(tag, data, ...children) { + const flatChildren = flattenAndFilter(children, []); + if (typeof tag === "function") { + // tag is a function component + return tag(data, flatChildren); + } + else { + if (flatChildren.length === 1 && + !flatChildren[0].sel && + flatChildren[0].text) { + // only child is a simple text node, pass as text for a simpler vtree + return h(tag, data, flatChildren[0].text); + } + else { + return h(tag, data, flatChildren); + } + } + } + (function (jsx) { + })(jsx || (jsx = {})); + + exports.array = array; + exports.attachTo = attachTo; + exports.attributesModule = attributesModule; + exports.classModule = classModule; + exports.datasetModule = datasetModule; + exports.eventListenersModule = eventListenersModule; + exports.h = h; + exports.htmlDomApi = htmlDomApi; + exports.init = init$1; + exports.jsx = jsx; + exports.primitive = primitive; + exports.propsModule = propsModule; + exports.styleModule = styleModule; + exports.thunk = thunk; + exports.toVNode = toVNode; + exports.vnode = vnode; + }); + + /** + * lodash (Custom Build) + * Build: `lodash modularize exports="npm" -o ./` + * Copyright jQuery Foundation and other contributors + * Released under MIT license + * Based on Underscore.js 1.8.3 + * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors + */ + + /** Used as references for various `Number` constants. */ + var INFINITY = 1 / 0; + + /** `Object#toString` result references. */ + var symbolTag$1 = '[object Symbol]'; + + /** Used to match words composed of alphanumeric characters. */ + var reAsciiWord = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g; + + /** Used to match Latin Unicode letters (excluding mathematical operators). */ + var reLatin = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g; + + /** Used to compose unicode character classes. */ + var rsAstralRange = '\\ud800-\\udfff', + rsComboMarksRange = '\\u0300-\\u036f\\ufe20-\\ufe23', + rsComboSymbolsRange = '\\u20d0-\\u20f0', + rsDingbatRange = '\\u2700-\\u27bf', + rsLowerRange = 'a-z\\xdf-\\xf6\\xf8-\\xff', + rsMathOpRange = '\\xac\\xb1\\xd7\\xf7', + rsNonCharRange = '\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf', + rsPunctuationRange = '\\u2000-\\u206f', + rsSpaceRange = ' \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000', + rsUpperRange = 'A-Z\\xc0-\\xd6\\xd8-\\xde', + rsVarRange = '\\ufe0e\\ufe0f', + rsBreakRange = rsMathOpRange + rsNonCharRange + rsPunctuationRange + rsSpaceRange; + + /** Used to compose unicode capture groups. */ + var rsApos = "['\u2019]", + rsAstral = '[' + rsAstralRange + ']', + rsBreak = '[' + rsBreakRange + ']', + rsCombo = '[' + rsComboMarksRange + rsComboSymbolsRange + ']', + rsDigits = '\\d+', + rsDingbat = '[' + rsDingbatRange + ']', + rsLower = '[' + rsLowerRange + ']', + rsMisc = '[^' + rsAstralRange + rsBreakRange + rsDigits + rsDingbatRange + rsLowerRange + rsUpperRange + ']', + rsFitz = '\\ud83c[\\udffb-\\udfff]', + rsModifier = '(?:' + rsCombo + '|' + rsFitz + ')', + rsNonAstral = '[^' + rsAstralRange + ']', + rsRegional = '(?:\\ud83c[\\udde6-\\uddff]){2}', + rsSurrPair = '[\\ud800-\\udbff][\\udc00-\\udfff]', + rsUpper = '[' + rsUpperRange + ']', + rsZWJ = '\\u200d'; + + /** Used to compose unicode regexes. */ + var rsLowerMisc = '(?:' + rsLower + '|' + rsMisc + ')', + rsUpperMisc = '(?:' + rsUpper + '|' + rsMisc + ')', + rsOptLowerContr = '(?:' + rsApos + '(?:d|ll|m|re|s|t|ve))?', + rsOptUpperContr = '(?:' + rsApos + '(?:D|LL|M|RE|S|T|VE))?', + reOptMod = rsModifier + '?', + rsOptVar = '[' + rsVarRange + ']?', + rsOptJoin = '(?:' + rsZWJ + '(?:' + [rsNonAstral, rsRegional, rsSurrPair].join('|') + ')' + rsOptVar + reOptMod + ')*', + rsSeq = rsOptVar + reOptMod + rsOptJoin, + rsEmoji = '(?:' + [rsDingbat, rsRegional, rsSurrPair].join('|') + ')' + rsSeq, + rsSymbol = '(?:' + [rsNonAstral + rsCombo + '?', rsCombo, rsRegional, rsSurrPair, rsAstral].join('|') + ')'; + + /** Used to match apostrophes. */ + var reApos = RegExp(rsApos, 'g'); + + /** + * Used to match [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks) and + * [combining diacritical marks for symbols](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks_for_Symbols). + */ + var reComboMark = RegExp(rsCombo, 'g'); + + /** Used to match [string symbols](https://mathiasbynens.be/notes/javascript-unicode). */ + var reUnicode = RegExp(rsFitz + '(?=' + rsFitz + ')|' + rsSymbol + rsSeq, 'g'); + + /** Used to match complex or compound words. */ + var reUnicodeWord = RegExp([ + rsUpper + '?' + rsLower + '+' + rsOptLowerContr + '(?=' + [rsBreak, rsUpper, '$'].join('|') + ')', + rsUpperMisc + '+' + rsOptUpperContr + '(?=' + [rsBreak, rsUpper + rsLowerMisc, '$'].join('|') + ')', + rsUpper + '?' + rsLowerMisc + '+' + rsOptLowerContr, + rsUpper + '+' + rsOptUpperContr, + rsDigits, + rsEmoji + ].join('|'), 'g'); + + /** Used to detect strings with [zero-width joiners or code points from the astral planes](http://eev.ee/blog/2015/09/12/dark-corners-of-unicode/). */ + var reHasUnicode = RegExp('[' + rsZWJ + rsAstralRange + rsComboMarksRange + rsComboSymbolsRange + rsVarRange + ']'); + + /** Used to detect strings that need a more robust regexp to match words. */ + var reHasUnicodeWord = /[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/; + + /** Used to map Latin Unicode letters to basic Latin letters. */ + var deburredLetters = { + // Latin-1 Supplement block. + '\xc0': 'A', '\xc1': 'A', '\xc2': 'A', '\xc3': 'A', '\xc4': 'A', '\xc5': 'A', + '\xe0': 'a', '\xe1': 'a', '\xe2': 'a', '\xe3': 'a', '\xe4': 'a', '\xe5': 'a', + '\xc7': 'C', '\xe7': 'c', + '\xd0': 'D', '\xf0': 'd', + '\xc8': 'E', '\xc9': 'E', '\xca': 'E', '\xcb': 'E', + '\xe8': 'e', '\xe9': 'e', '\xea': 'e', '\xeb': 'e', + '\xcc': 'I', '\xcd': 'I', '\xce': 'I', '\xcf': 'I', + '\xec': 'i', '\xed': 'i', '\xee': 'i', '\xef': 'i', + '\xd1': 'N', '\xf1': 'n', + '\xd2': 'O', '\xd3': 'O', '\xd4': 'O', '\xd5': 'O', '\xd6': 'O', '\xd8': 'O', + '\xf2': 'o', '\xf3': 'o', '\xf4': 'o', '\xf5': 'o', '\xf6': 'o', '\xf8': 'o', + '\xd9': 'U', '\xda': 'U', '\xdb': 'U', '\xdc': 'U', + '\xf9': 'u', '\xfa': 'u', '\xfb': 'u', '\xfc': 'u', + '\xdd': 'Y', '\xfd': 'y', '\xff': 'y', + '\xc6': 'Ae', '\xe6': 'ae', + '\xde': 'Th', '\xfe': 'th', + '\xdf': 'ss', + // Latin Extended-A block. + '\u0100': 'A', '\u0102': 'A', '\u0104': 'A', + '\u0101': 'a', '\u0103': 'a', '\u0105': 'a', + '\u0106': 'C', '\u0108': 'C', '\u010a': 'C', '\u010c': 'C', + '\u0107': 'c', '\u0109': 'c', '\u010b': 'c', '\u010d': 'c', + '\u010e': 'D', '\u0110': 'D', '\u010f': 'd', '\u0111': 'd', + '\u0112': 'E', '\u0114': 'E', '\u0116': 'E', '\u0118': 'E', '\u011a': 'E', + '\u0113': 'e', '\u0115': 'e', '\u0117': 'e', '\u0119': 'e', '\u011b': 'e', + '\u011c': 'G', '\u011e': 'G', '\u0120': 'G', '\u0122': 'G', + '\u011d': 'g', '\u011f': 'g', '\u0121': 'g', '\u0123': 'g', + '\u0124': 'H', '\u0126': 'H', '\u0125': 'h', '\u0127': 'h', + '\u0128': 'I', '\u012a': 'I', '\u012c': 'I', '\u012e': 'I', '\u0130': 'I', + '\u0129': 'i', '\u012b': 'i', '\u012d': 'i', '\u012f': 'i', '\u0131': 'i', + '\u0134': 'J', '\u0135': 'j', + '\u0136': 'K', '\u0137': 'k', '\u0138': 'k', + '\u0139': 'L', '\u013b': 'L', '\u013d': 'L', '\u013f': 'L', '\u0141': 'L', + '\u013a': 'l', '\u013c': 'l', '\u013e': 'l', '\u0140': 'l', '\u0142': 'l', + '\u0143': 'N', '\u0145': 'N', '\u0147': 'N', '\u014a': 'N', + '\u0144': 'n', '\u0146': 'n', '\u0148': 'n', '\u014b': 'n', + '\u014c': 'O', '\u014e': 'O', '\u0150': 'O', + '\u014d': 'o', '\u014f': 'o', '\u0151': 'o', + '\u0154': 'R', '\u0156': 'R', '\u0158': 'R', + '\u0155': 'r', '\u0157': 'r', '\u0159': 'r', + '\u015a': 'S', '\u015c': 'S', '\u015e': 'S', '\u0160': 'S', + '\u015b': 's', '\u015d': 's', '\u015f': 's', '\u0161': 's', + '\u0162': 'T', '\u0164': 'T', '\u0166': 'T', + '\u0163': 't', '\u0165': 't', '\u0167': 't', + '\u0168': 'U', '\u016a': 'U', '\u016c': 'U', '\u016e': 'U', '\u0170': 'U', '\u0172': 'U', + '\u0169': 'u', '\u016b': 'u', '\u016d': 'u', '\u016f': 'u', '\u0171': 'u', '\u0173': 'u', + '\u0174': 'W', '\u0175': 'w', + '\u0176': 'Y', '\u0177': 'y', '\u0178': 'Y', + '\u0179': 'Z', '\u017b': 'Z', '\u017d': 'Z', + '\u017a': 'z', '\u017c': 'z', '\u017e': 'z', + '\u0132': 'IJ', '\u0133': 'ij', + '\u0152': 'Oe', '\u0153': 'oe', + '\u0149': "'n", '\u017f': 'ss' + }; + + /** Detect free variable `global` from Node.js. */ + var freeGlobal$1 = typeof commonjsGlobal == 'object' && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal; + + /** Detect free variable `self`. */ + var freeSelf$1 = typeof self == 'object' && self && self.Object === Object && self; + + /** Used as a reference to the global object. */ + var root$1 = freeGlobal$1 || freeSelf$1 || Function('return this')(); + + /** + * A specialized version of `_.reduce` for arrays without support for + * iteratee shorthands. + * + * @private + * @param {Array} [array] The array to iterate over. + * @param {Function} iteratee The function invoked per iteration. + * @param {*} [accumulator] The initial value. + * @param {boolean} [initAccum] Specify using the first element of `array` as + * the initial value. + * @returns {*} Returns the accumulated value. + */ + function arrayReduce(array, iteratee, accumulator, initAccum) { + var index = -1, + length = array ? array.length : 0; + + if (initAccum && length) { + accumulator = array[++index]; + } + while (++index < length) { + accumulator = iteratee(accumulator, array[index], index, array); + } + return accumulator; + } + + /** + * Converts an ASCII `string` to an array. + * + * @private + * @param {string} string The string to convert. + * @returns {Array} Returns the converted array. + */ + function asciiToArray(string) { + return string.split(''); + } + + /** + * Splits an ASCII `string` into an array of its words. + * + * @private + * @param {string} The string to inspect. + * @returns {Array} Returns the words of `string`. + */ + function asciiWords(string) { + return string.match(reAsciiWord) || []; + } + + /** + * The base implementation of `_.propertyOf` without support for deep paths. + * + * @private + * @param {Object} object The object to query. + * @returns {Function} Returns the new accessor function. + */ + function basePropertyOf(object) { + return function(key) { + return object == null ? undefined : object[key]; + }; + } + + /** + * Used by `_.deburr` to convert Latin-1 Supplement and Latin Extended-A + * letters to basic Latin letters. + * + * @private + * @param {string} letter The matched letter to deburr. + * @returns {string} Returns the deburred letter. + */ + var deburrLetter = basePropertyOf(deburredLetters); + + /** + * Checks if `string` contains Unicode symbols. + * + * @private + * @param {string} string The string to inspect. + * @returns {boolean} Returns `true` if a symbol is found, else `false`. + */ + function hasUnicode(string) { + return reHasUnicode.test(string); + } + + /** + * Checks if `string` contains a word composed of Unicode symbols. + * + * @private + * @param {string} string The string to inspect. + * @returns {boolean} Returns `true` if a word is found, else `false`. + */ + function hasUnicodeWord(string) { + return reHasUnicodeWord.test(string); + } + + /** + * Converts `string` to an array. + * + * @private + * @param {string} string The string to convert. + * @returns {Array} Returns the converted array. + */ + function stringToArray(string) { + return hasUnicode(string) + ? unicodeToArray(string) + : asciiToArray(string); + } + + /** + * Converts a Unicode `string` to an array. + * + * @private + * @param {string} string The string to convert. + * @returns {Array} Returns the converted array. + */ + function unicodeToArray(string) { + return string.match(reUnicode) || []; + } + + /** + * Splits a Unicode `string` into an array of its words. + * + * @private + * @param {string} The string to inspect. + * @returns {Array} Returns the words of `string`. + */ + function unicodeWords(string) { + return string.match(reUnicodeWord) || []; + } + + /** Used for built-in method references. */ + var objectProto$1 = Object.prototype; + + /** + * Used to resolve the + * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring) + * of values. + */ + var objectToString$1 = objectProto$1.toString; + + /** Built-in value references. */ + var Symbol$1 = root$1.Symbol; + + /** Used to convert symbols to primitives and strings. */ + var symbolProto = Symbol$1 ? Symbol$1.prototype : undefined, + symbolToString = symbolProto ? symbolProto.toString : undefined; + + /** + * The base implementation of `_.slice` without an iteratee call guard. + * + * @private + * @param {Array} array The array to slice. + * @param {number} [start=0] The start position. + * @param {number} [end=array.length] The end position. + * @returns {Array} Returns the slice of `array`. + */ + function baseSlice(array, start, end) { + var index = -1, + length = array.length; + + if (start < 0) { + start = -start > length ? 0 : (length + start); + } + end = end > length ? length : end; + if (end < 0) { + end += length; + } + length = start > end ? 0 : ((end - start) >>> 0); + start >>>= 0; + + var result = Array(length); + while (++index < length) { + result[index] = array[index + start]; + } + return result; + } + + /** + * The base implementation of `_.toString` which doesn't convert nullish + * values to empty strings. + * + * @private + * @param {*} value The value to process. + * @returns {string} Returns the string. + */ + function baseToString(value) { + // Exit early for strings to avoid a performance hit in some environments. + if (typeof value == 'string') { + return value; + } + if (isSymbol$1(value)) { + return symbolToString ? symbolToString.call(value) : ''; + } + var result = (value + ''); + return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result; + } + + /** + * Casts `array` to a slice if it's needed. + * + * @private + * @param {Array} array The array to inspect. + * @param {number} start The start position. + * @param {number} [end=array.length] The end position. + * @returns {Array} Returns the cast slice. + */ + function castSlice(array, start, end) { + var length = array.length; + end = end === undefined ? length : end; + return (!start && end >= length) ? array : baseSlice(array, start, end); + } + + /** + * Creates a function like `_.lowerFirst`. + * + * @private + * @param {string} methodName The name of the `String` case method to use. + * @returns {Function} Returns the new case function. + */ + function createCaseFirst(methodName) { + return function(string) { + string = toString(string); + + var strSymbols = hasUnicode(string) + ? stringToArray(string) + : undefined; + + var chr = strSymbols + ? strSymbols[0] + : string.charAt(0); + + var trailing = strSymbols + ? castSlice(strSymbols, 1).join('') + : string.slice(1); + + return chr[methodName]() + trailing; + }; + } + + /** + * Creates a function like `_.camelCase`. + * + * @private + * @param {Function} callback The function to combine each word. + * @returns {Function} Returns the new compounder function. + */ + function createCompounder(callback) { + return function(string) { + return arrayReduce(words(deburr(string).replace(reApos, '')), callback, ''); + }; + } + + /** + * Checks if `value` is object-like. A value is object-like if it's not `null` + * and has a `typeof` result of "object". + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is object-like, else `false`. + * @example + * + * _.isObjectLike({}); + * // => true + * + * _.isObjectLike([1, 2, 3]); + * // => true + * + * _.isObjectLike(_.noop); + * // => false + * + * _.isObjectLike(null); + * // => false + */ + function isObjectLike$1(value) { + return !!value && typeof value == 'object'; + } + + /** + * Checks if `value` is classified as a `Symbol` primitive or object. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a symbol, else `false`. + * @example + * + * _.isSymbol(Symbol.iterator); + * // => true + * + * _.isSymbol('abc'); + * // => false + */ + function isSymbol$1(value) { + return typeof value == 'symbol' || + (isObjectLike$1(value) && objectToString$1.call(value) == symbolTag$1); + } + + /** + * Converts `value` to a string. An empty string is returned for `null` + * and `undefined` values. The sign of `-0` is preserved. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Lang + * @param {*} value The value to process. + * @returns {string} Returns the string. + * @example + * + * _.toString(null); + * // => '' + * + * _.toString(-0); + * // => '-0' + * + * _.toString([1, 2, 3]); + * // => '1,2,3' + */ + function toString(value) { + return value == null ? '' : baseToString(value); + } + + /** + * Converts `string` to [camel case](https://en.wikipedia.org/wiki/CamelCase). + * + * @static + * @memberOf _ + * @since 3.0.0 + * @category String + * @param {string} [string=''] The string to convert. + * @returns {string} Returns the camel cased string. + * @example + * + * _.camelCase('Foo Bar'); + * // => 'fooBar' + * + * _.camelCase('--foo-bar--'); + * // => 'fooBar' + * + * _.camelCase('__FOO_BAR__'); + * // => 'fooBar' + */ + var camelCase = createCompounder(function(result, word, index) { + word = word.toLowerCase(); + return result + (index ? capitalize(word) : word); + }); + + /** + * Converts the first character of `string` to upper case and the remaining + * to lower case. + * + * @static + * @memberOf _ + * @since 3.0.0 + * @category String + * @param {string} [string=''] The string to capitalize. + * @returns {string} Returns the capitalized string. + * @example + * + * _.capitalize('FRED'); + * // => 'Fred' + */ + function capitalize(string) { + return upperFirst(toString(string).toLowerCase()); + } + + /** + * Deburrs `string` by converting + * [Latin-1 Supplement](https://en.wikipedia.org/wiki/Latin-1_Supplement_(Unicode_block)#Character_table) + * and [Latin Extended-A](https://en.wikipedia.org/wiki/Latin_Extended-A) + * letters to basic Latin letters and removing + * [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks). + * + * @static + * @memberOf _ + * @since 3.0.0 + * @category String + * @param {string} [string=''] The string to deburr. + * @returns {string} Returns the deburred string. + * @example + * + * _.deburr('déjà vu'); + * // => 'deja vu' + */ + function deburr(string) { + string = toString(string); + return string && string.replace(reLatin, deburrLetter).replace(reComboMark, ''); + } + + /** + * Converts the first character of `string` to upper case. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category String + * @param {string} [string=''] The string to convert. + * @returns {string} Returns the converted string. + * @example + * + * _.upperFirst('fred'); + * // => 'Fred' + * + * _.upperFirst('FRED'); + * // => 'FRED' + */ + var upperFirst = createCaseFirst('toUpperCase'); + + /** + * Splits `string` into an array of its words. + * + * @static + * @memberOf _ + * @since 3.0.0 + * @category String + * @param {string} [string=''] The string to inspect. + * @param {RegExp|string} [pattern] The pattern to match words. + * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`. + * @returns {Array} Returns the words of `string`. + * @example + * + * _.words('fred, barney, & pebbles'); + * // => ['fred', 'barney', 'pebbles'] + * + * _.words('fred, barney, & pebbles', /[^, ]+/g); + * // => ['fred', 'barney', '&', 'pebbles'] + */ + function words(string, pattern, guard) { + string = toString(string); + pattern = guard ? undefined : pattern; + + if (pattern === undefined) { + return hasUnicodeWord(string) ? unicodeWords(string) : asciiWords(string); + } + return string.match(pattern) || []; + } + + var lodash_camelcase = camelCase; + + /** + * Constants. + */ + + var IS_MAC = typeof window != 'undefined' && /Mac|iPod|iPhone|iPad/.test(window.navigator.platform); + + var MODIFIERS = { + alt: 'altKey', + control: 'ctrlKey', + meta: 'metaKey', + shift: 'shiftKey' + }; + + var ALIASES = { + add: '+', + break: 'pause', + cmd: 'meta', + command: 'meta', + ctl: 'control', + ctrl: 'control', + del: 'delete', + down: 'arrowdown', + esc: 'escape', + ins: 'insert', + left: 'arrowleft', + mod: IS_MAC ? 'meta' : 'control', + opt: 'alt', + option: 'alt', + return: 'enter', + right: 'arrowright', + space: ' ', + spacebar: ' ', + up: 'arrowup', + win: 'meta', + windows: 'meta' + }; + + var CODES = { + backspace: 8, + tab: 9, + enter: 13, + shift: 16, + control: 17, + alt: 18, + pause: 19, + capslock: 20, + escape: 27, + ' ': 32, + pageup: 33, + pagedown: 34, + end: 35, + home: 36, + arrowleft: 37, + arrowup: 38, + arrowright: 39, + arrowdown: 40, + insert: 45, + delete: 46, + meta: 91, + numlock: 144, + scrolllock: 145, + ';': 186, + '=': 187, + ',': 188, + '-': 189, + '.': 190, + '/': 191, + '`': 192, + '[': 219, + '\\': 220, + ']': 221, + '\'': 222 + }; + + for (var f = 1; f < 20; f++) { + CODES['f' + f] = 111 + f; + } + + /** + * Is hotkey? + */ + + function isHotkey(hotkey, options, event) { + if (options && !('byKey' in options)) { + event = options; + options = null; + } + + if (!Array.isArray(hotkey)) { + hotkey = [hotkey]; + } + + var array = hotkey.map(function (string) { + return parseHotkey(string, options); + }); + var check = function check(e) { + return array.some(function (object) { + return compareHotkey(object, e); + }); + }; + var ret = event == null ? check : check(event); + return ret; + } + + function isCodeHotkey(hotkey, event) { + return isHotkey(hotkey, event); + } + + function isKeyHotkey(hotkey, event) { + return isHotkey(hotkey, { byKey: true }, event); + } + + /** + * Parse. + */ + + function parseHotkey(hotkey, options) { + var byKey = options && options.byKey; + var ret = {}; + + // Special case to handle the `+` key since we use it as a separator. + hotkey = hotkey.replace('++', '+add'); + var values = hotkey.split('+'); + var length = values.length; + + // Ensure that all the modifiers are set to false unless the hotkey has them. + + for (var k in MODIFIERS) { + ret[MODIFIERS[k]] = false; + } + + var _iteratorNormalCompletion = true; + var _didIteratorError = false; + var _iteratorError = undefined; + + try { + for (var _iterator = values[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) { + var value = _step.value; + + var optional = value.endsWith('?') && value.length > 1; + + if (optional) { + value = value.slice(0, -1); + } + + var name = toKeyName(value); + var modifier = MODIFIERS[name]; + + if (value.length > 1 && !modifier && !ALIASES[value] && !CODES[name]) { + throw new TypeError('Unknown modifier: "' + value + '"'); + } + + if (length === 1 || !modifier) { + if (byKey) { + ret.key = name; + } else { + ret.which = toKeyCode(value); + } + } + + if (modifier) { + ret[modifier] = optional ? null : true; + } + } + } catch (err) { + _didIteratorError = true; + _iteratorError = err; + } finally { + try { + if (!_iteratorNormalCompletion && _iterator.return) { + _iterator.return(); + } + } finally { + if (_didIteratorError) { + throw _iteratorError; + } + } + } + + return ret; + } + + /** + * Compare. + */ + + function compareHotkey(object, event) { + for (var key in object) { + var expected = object[key]; + var actual = void 0; + + if (expected == null) { + continue; + } + + if (key === 'key' && event.key != null) { + actual = event.key.toLowerCase(); + } else if (key === 'which') { + actual = expected === 91 && event.which === 93 ? 91 : event.which; + } else { + actual = event[key]; + } + + if (actual == null && expected === false) { + continue; + } + + if (actual !== expected) { + return false; + } + } + + return true; + } + + /** + * Utils. + */ + + function toKeyCode(name) { + name = toKeyName(name); + var code = CODES[name] || name.toUpperCase().charCodeAt(0); + return code; + } + + function toKeyName(name) { + name = name.toLowerCase(); + name = ALIASES[name] || name; + return name; + } + + /** + * Export. + */ + + var _default = isHotkey; + var isHotkey_1 = isHotkey; + var isCodeHotkey_1 = isCodeHotkey; + var isKeyHotkey_1 = isKeyHotkey; + var parseHotkey_1 = parseHotkey; + var compareHotkey_1 = compareHotkey; + var toKeyCode_1 = toKeyCode; + var toKeyName_1 = toKeyName; + + var lib$4 = /*#__PURE__*/Object.defineProperty({ + default: _default, + isHotkey: isHotkey_1, + isCodeHotkey: isCodeHotkey_1, + isKeyHotkey: isKeyHotkey_1, + parseHotkey: parseHotkey_1, + compareHotkey: compareHotkey_1, + toKeyCode: toKeyCode_1, + toKeyName: toKeyName_1 + }, '__esModule', {value: true}); + + /** + * lodash (Custom Build) + * Build: `lodash modularize exports="npm" -o ./` + * Copyright jQuery Foundation and other contributors + * Released under MIT license + * Based on Underscore.js 1.8.3 + * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors + */ + + /** Used as the `TypeError` message for "Functions" methods. */ + var FUNC_ERROR_TEXT = 'Expected a function'; + + /** Used as references for various `Number` constants. */ + var NAN = 0 / 0; + + /** `Object#toString` result references. */ + var symbolTag = '[object Symbol]'; + + /** Used to match leading and trailing whitespace. */ + var reTrim = /^\s+|\s+$/g; + + /** Used to detect bad signed hexadecimal string values. */ + var reIsBadHex = /^[-+]0x[0-9a-f]+$/i; + + /** Used to detect binary string values. */ + var reIsBinary = /^0b[01]+$/i; + + /** Used to detect octal string values. */ + var reIsOctal = /^0o[0-7]+$/i; + + /** Built-in method references without a dependency on `root`. */ + var freeParseInt = parseInt; + + /** Detect free variable `global` from Node.js. */ + var freeGlobal = typeof commonjsGlobal == 'object' && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal; + + /** Detect free variable `self`. */ + var freeSelf = typeof self == 'object' && self && self.Object === Object && self; + + /** Used as a reference to the global object. */ + var root = freeGlobal || freeSelf || Function('return this')(); + + /** Used for built-in method references. */ + var objectProto = Object.prototype; + + /** + * Used to resolve the + * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring) + * of values. + */ + var objectToString = objectProto.toString; + + /* Built-in method references for those with the same name as other `lodash` methods. */ + var nativeMax = Math.max, + nativeMin = Math.min; + + /** + * Gets the timestamp of the number of milliseconds that have elapsed since + * the Unix epoch (1 January 1970 00:00:00 UTC). + * + * @static + * @memberOf _ + * @since 2.4.0 + * @category Date + * @returns {number} Returns the timestamp. + * @example + * + * _.defer(function(stamp) { + * console.log(_.now() - stamp); + * }, _.now()); + * // => Logs the number of milliseconds it took for the deferred invocation. + */ + var now = function() { + return root.Date.now(); + }; + + /** + * Creates a debounced function that delays invoking `func` until after `wait` + * milliseconds have elapsed since the last time the debounced function was + * invoked. The debounced function comes with a `cancel` method to cancel + * delayed `func` invocations and a `flush` method to immediately invoke them. + * Provide `options` to indicate whether `func` should be invoked on the + * leading and/or trailing edge of the `wait` timeout. The `func` is invoked + * with the last arguments provided to the debounced function. Subsequent + * calls to the debounced function return the result of the last `func` + * invocation. + * + * **Note:** If `leading` and `trailing` options are `true`, `func` is + * invoked on the trailing edge of the timeout only if the debounced function + * is invoked more than once during the `wait` timeout. + * + * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred + * until to the next tick, similar to `setTimeout` with a timeout of `0`. + * + * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/) + * for details over the differences between `_.debounce` and `_.throttle`. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Function + * @param {Function} func The function to debounce. + * @param {number} [wait=0] The number of milliseconds to delay. + * @param {Object} [options={}] The options object. + * @param {boolean} [options.leading=false] + * Specify invoking on the leading edge of the timeout. + * @param {number} [options.maxWait] + * The maximum time `func` is allowed to be delayed before it's invoked. + * @param {boolean} [options.trailing=true] + * Specify invoking on the trailing edge of the timeout. + * @returns {Function} Returns the new debounced function. + * @example + * + * // Avoid costly calculations while the window size is in flux. + * jQuery(window).on('resize', _.debounce(calculateLayout, 150)); + * + * // Invoke `sendMail` when clicked, debouncing subsequent calls. + * jQuery(element).on('click', _.debounce(sendMail, 300, { + * 'leading': true, + * 'trailing': false + * })); + * + * // Ensure `batchLog` is invoked once after 1 second of debounced calls. + * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 }); + * var source = new EventSource('/stream'); + * jQuery(source).on('message', debounced); + * + * // Cancel the trailing debounced invocation. + * jQuery(window).on('popstate', debounced.cancel); + */ + function debounce$1(func, wait, options) { + var lastArgs, + lastThis, + maxWait, + result, + timerId, + lastCallTime, + lastInvokeTime = 0, + leading = false, + maxing = false, + trailing = true; + + if (typeof func != 'function') { + throw new TypeError(FUNC_ERROR_TEXT); + } + wait = toNumber(wait) || 0; + if (isObject(options)) { + leading = !!options.leading; + maxing = 'maxWait' in options; + maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait; + trailing = 'trailing' in options ? !!options.trailing : trailing; + } + + function invokeFunc(time) { + var args = lastArgs, + thisArg = lastThis; + + lastArgs = lastThis = undefined; + lastInvokeTime = time; + result = func.apply(thisArg, args); + return result; + } + + function leadingEdge(time) { + // Reset any `maxWait` timer. + lastInvokeTime = time; + // Start the timer for the trailing edge. + timerId = setTimeout(timerExpired, wait); + // Invoke the leading edge. + return leading ? invokeFunc(time) : result; + } + + function remainingWait(time) { + var timeSinceLastCall = time - lastCallTime, + timeSinceLastInvoke = time - lastInvokeTime, + result = wait - timeSinceLastCall; + + return maxing ? nativeMin(result, maxWait - timeSinceLastInvoke) : result; + } + + function shouldInvoke(time) { + var timeSinceLastCall = time - lastCallTime, + timeSinceLastInvoke = time - lastInvokeTime; + + // Either this is the first call, activity has stopped and we're at the + // trailing edge, the system time has gone backwards and we're treating + // it as the trailing edge, or we've hit the `maxWait` limit. + return (lastCallTime === undefined || (timeSinceLastCall >= wait) || + (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait)); + } + + function timerExpired() { + var time = now(); + if (shouldInvoke(time)) { + return trailingEdge(time); + } + // Restart the timer. + timerId = setTimeout(timerExpired, remainingWait(time)); + } + + function trailingEdge(time) { + timerId = undefined; + + // Only invoke if we have `lastArgs` which means `func` has been + // debounced at least once. + if (trailing && lastArgs) { + return invokeFunc(time); + } + lastArgs = lastThis = undefined; + return result; + } + + function cancel() { + if (timerId !== undefined) { + clearTimeout(timerId); + } + lastInvokeTime = 0; + lastArgs = lastCallTime = lastThis = timerId = undefined; + } + + function flush() { + return timerId === undefined ? result : trailingEdge(now()); + } + + function debounced() { + var time = now(), + isInvoking = shouldInvoke(time); + + lastArgs = arguments; + lastThis = this; + lastCallTime = time; + + if (isInvoking) { + if (timerId === undefined) { + return leadingEdge(lastCallTime); + } + if (maxing) { + // Handle invocations in a tight loop. + timerId = setTimeout(timerExpired, wait); + return invokeFunc(lastCallTime); + } + } + if (timerId === undefined) { + timerId = setTimeout(timerExpired, wait); + } + return result; + } + debounced.cancel = cancel; + debounced.flush = flush; + return debounced; + } + + /** + * Checks if `value` is the + * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types) + * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`) + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is an object, else `false`. + * @example + * + * _.isObject({}); + * // => true + * + * _.isObject([1, 2, 3]); + * // => true + * + * _.isObject(_.noop); + * // => true + * + * _.isObject(null); + * // => false + */ + function isObject(value) { + var type = typeof value; + return !!value && (type == 'object' || type == 'function'); + } + + /** + * Checks if `value` is object-like. A value is object-like if it's not `null` + * and has a `typeof` result of "object". + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is object-like, else `false`. + * @example + * + * _.isObjectLike({}); + * // => true + * + * _.isObjectLike([1, 2, 3]); + * // => true + * + * _.isObjectLike(_.noop); + * // => false + * + * _.isObjectLike(null); + * // => false + */ + function isObjectLike(value) { + return !!value && typeof value == 'object'; + } + + /** + * Checks if `value` is classified as a `Symbol` primitive or object. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a symbol, else `false`. + * @example + * + * _.isSymbol(Symbol.iterator); + * // => true + * + * _.isSymbol('abc'); + * // => false + */ + function isSymbol(value) { + return typeof value == 'symbol' || + (isObjectLike(value) && objectToString.call(value) == symbolTag); + } + + /** + * Converts `value` to a number. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Lang + * @param {*} value The value to process. + * @returns {number} Returns the number. + * @example + * + * _.toNumber(3.2); + * // => 3.2 + * + * _.toNumber(Number.MIN_VALUE); + * // => 5e-324 + * + * _.toNumber(Infinity); + * // => Infinity + * + * _.toNumber('3.2'); + * // => 3.2 + */ + function toNumber(value) { + if (typeof value == 'number') { + return value; + } + if (isSymbol(value)) { + return NAN; + } + if (isObject(value)) { + var other = typeof value.valueOf == 'function' ? value.valueOf() : value; + value = isObject(other) ? (other + '') : other; + } + if (typeof value != 'string') { + return value === 0 ? value : +value; + } + value = value.replace(reTrim, ''); + var isBinary = reIsBinary.test(value); + return (isBinary || reIsOctal.test(value)) + ? freeParseInt(value.slice(2), isBinary ? 2 : 8) + : (reIsBadHex.test(value) ? NAN : +value); + } + + var lodash_debounce = debounce$1; + + /** + * lodash (Custom Build) + * Build: `lodash modularize exports="npm" -o ./` + * Copyright jQuery Foundation and other contributors + * Released under MIT license + * Based on Underscore.js 1.8.3 + * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors + */ + + var lodash_clonedeep = createCommonjsModule$1(function (module, exports) { + /** Used as the size to enable large array optimizations. */ + var LARGE_ARRAY_SIZE = 200; + + /** Used to stand-in for `undefined` hash values. */ + var HASH_UNDEFINED = '__lodash_hash_undefined__'; + + /** Used as references for various `Number` constants. */ + var MAX_SAFE_INTEGER = 9007199254740991; + + /** `Object#toString` result references. */ + var argsTag = '[object Arguments]', + arrayTag = '[object Array]', + boolTag = '[object Boolean]', + dateTag = '[object Date]', + errorTag = '[object Error]', + funcTag = '[object Function]', + genTag = '[object GeneratorFunction]', + mapTag = '[object Map]', + numberTag = '[object Number]', + objectTag = '[object Object]', + promiseTag = '[object Promise]', + regexpTag = '[object RegExp]', + setTag = '[object Set]', + stringTag = '[object String]', + symbolTag = '[object Symbol]', + weakMapTag = '[object WeakMap]'; + + var arrayBufferTag = '[object ArrayBuffer]', + dataViewTag = '[object DataView]', + float32Tag = '[object Float32Array]', + float64Tag = '[object Float64Array]', + int8Tag = '[object Int8Array]', + int16Tag = '[object Int16Array]', + int32Tag = '[object Int32Array]', + uint8Tag = '[object Uint8Array]', + uint8ClampedTag = '[object Uint8ClampedArray]', + uint16Tag = '[object Uint16Array]', + uint32Tag = '[object Uint32Array]'; + + /** + * Used to match `RegExp` + * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns). + */ + var reRegExpChar = /[\\^$.*+?()[\]{}|]/g; + + /** Used to match `RegExp` flags from their coerced string values. */ + var reFlags = /\w*$/; + + /** Used to detect host constructors (Safari). */ + var reIsHostCtor = /^\[object .+?Constructor\]$/; + + /** Used to detect unsigned integer values. */ + var reIsUint = /^(?:0|[1-9]\d*)$/; + + /** Used to identify `toStringTag` values supported by `_.clone`. */ + var cloneableTags = {}; + cloneableTags[argsTag] = cloneableTags[arrayTag] = + cloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] = + cloneableTags[boolTag] = cloneableTags[dateTag] = + cloneableTags[float32Tag] = cloneableTags[float64Tag] = + cloneableTags[int8Tag] = cloneableTags[int16Tag] = + cloneableTags[int32Tag] = cloneableTags[mapTag] = + cloneableTags[numberTag] = cloneableTags[objectTag] = + cloneableTags[regexpTag] = cloneableTags[setTag] = + cloneableTags[stringTag] = cloneableTags[symbolTag] = + cloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] = + cloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true; + cloneableTags[errorTag] = cloneableTags[funcTag] = + cloneableTags[weakMapTag] = false; + + /** Detect free variable `global` from Node.js. */ + var freeGlobal = typeof commonjsGlobal == 'object' && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal; + + /** Detect free variable `self`. */ + var freeSelf = typeof self == 'object' && self && self.Object === Object && self; + + /** Used as a reference to the global object. */ + var root = freeGlobal || freeSelf || Function('return this')(); + + /** Detect free variable `exports`. */ + var freeExports = exports && !exports.nodeType && exports; + + /** Detect free variable `module`. */ + var freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module; + + /** Detect the popular CommonJS extension `module.exports`. */ + var moduleExports = freeModule && freeModule.exports === freeExports; + + /** + * Adds the key-value `pair` to `map`. + * + * @private + * @param {Object} map The map to modify. + * @param {Array} pair The key-value pair to add. + * @returns {Object} Returns `map`. + */ + function addMapEntry(map, pair) { + // Don't return `map.set` because it's not chainable in IE 11. + map.set(pair[0], pair[1]); + return map; + } + + /** + * Adds `value` to `set`. + * + * @private + * @param {Object} set The set to modify. + * @param {*} value The value to add. + * @returns {Object} Returns `set`. + */ + function addSetEntry(set, value) { + // Don't return `set.add` because it's not chainable in IE 11. + set.add(value); + return set; + } + + /** + * A specialized version of `_.forEach` for arrays without support for + * iteratee shorthands. + * + * @private + * @param {Array} [array] The array to iterate over. + * @param {Function} iteratee The function invoked per iteration. + * @returns {Array} Returns `array`. + */ + function arrayEach(array, iteratee) { + var index = -1, + length = array ? array.length : 0; + + while (++index < length) { + if (iteratee(array[index], index, array) === false) { + break; + } + } + return array; + } + + /** + * Appends the elements of `values` to `array`. + * + * @private + * @param {Array} array The array to modify. + * @param {Array} values The values to append. + * @returns {Array} Returns `array`. + */ + function arrayPush(array, values) { + var index = -1, + length = values.length, + offset = array.length; + + while (++index < length) { + array[offset + index] = values[index]; + } + return array; + } + + /** + * A specialized version of `_.reduce` for arrays without support for + * iteratee shorthands. + * + * @private + * @param {Array} [array] The array to iterate over. + * @param {Function} iteratee The function invoked per iteration. + * @param {*} [accumulator] The initial value. + * @param {boolean} [initAccum] Specify using the first element of `array` as + * the initial value. + * @returns {*} Returns the accumulated value. + */ + function arrayReduce(array, iteratee, accumulator, initAccum) { + var index = -1, + length = array ? array.length : 0; + + if (initAccum && length) { + accumulator = array[++index]; + } + while (++index < length) { + accumulator = iteratee(accumulator, array[index], index, array); + } + return accumulator; + } + + /** + * The base implementation of `_.times` without support for iteratee shorthands + * or max array length checks. + * + * @private + * @param {number} n The number of times to invoke `iteratee`. + * @param {Function} iteratee The function invoked per iteration. + * @returns {Array} Returns the array of results. + */ + function baseTimes(n, iteratee) { + var index = -1, + result = Array(n); + + while (++index < n) { + result[index] = iteratee(index); + } + return result; + } + + /** + * Gets the value at `key` of `object`. + * + * @private + * @param {Object} [object] The object to query. + * @param {string} key The key of the property to get. + * @returns {*} Returns the property value. + */ + function getValue(object, key) { + return object == null ? undefined : object[key]; + } + + /** + * Checks if `value` is a host object in IE < 9. + * + * @private + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a host object, else `false`. + */ + function isHostObject(value) { + // Many host objects are `Object` objects that can coerce to strings + // despite having improperly defined `toString` methods. + var result = false; + if (value != null && typeof value.toString != 'function') { + try { + result = !!(value + ''); + } catch (e) {} + } + return result; + } + + /** + * Converts `map` to its key-value pairs. + * + * @private + * @param {Object} map The map to convert. + * @returns {Array} Returns the key-value pairs. + */ + function mapToArray(map) { + var index = -1, + result = Array(map.size); + + map.forEach(function(value, key) { + result[++index] = [key, value]; + }); + return result; + } + + /** + * Creates a unary function that invokes `func` with its argument transformed. + * + * @private + * @param {Function} func The function to wrap. + * @param {Function} transform The argument transform. + * @returns {Function} Returns the new function. + */ + function overArg(func, transform) { + return function(arg) { + return func(transform(arg)); + }; + } + + /** + * Converts `set` to an array of its values. + * + * @private + * @param {Object} set The set to convert. + * @returns {Array} Returns the values. + */ + function setToArray(set) { + var index = -1, + result = Array(set.size); + + set.forEach(function(value) { + result[++index] = value; + }); + return result; + } + + /** Used for built-in method references. */ + var arrayProto = Array.prototype, + funcProto = Function.prototype, + objectProto = Object.prototype; + + /** Used to detect overreaching core-js shims. */ + var coreJsData = root['__core-js_shared__']; + + /** Used to detect methods masquerading as native. */ + var maskSrcKey = (function() { + var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || ''); + return uid ? ('Symbol(src)_1.' + uid) : ''; + }()); + + /** Used to resolve the decompiled source of functions. */ + var funcToString = funcProto.toString; + + /** Used to check objects for own properties. */ + var hasOwnProperty = objectProto.hasOwnProperty; + + /** + * Used to resolve the + * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring) + * of values. + */ + var objectToString = objectProto.toString; + + /** Used to detect if a method is native. */ + var reIsNative = RegExp('^' + + funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\$&') + .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$' + ); + + /** Built-in value references. */ + var Buffer = moduleExports ? root.Buffer : undefined, + Symbol = root.Symbol, + Uint8Array = root.Uint8Array, + getPrototype = overArg(Object.getPrototypeOf, Object), + objectCreate = Object.create, + propertyIsEnumerable = objectProto.propertyIsEnumerable, + splice = arrayProto.splice; + + /* Built-in method references for those with the same name as other `lodash` methods. */ + var nativeGetSymbols = Object.getOwnPropertySymbols, + nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined, + nativeKeys = overArg(Object.keys, Object); + + /* Built-in method references that are verified to be native. */ + var DataView = getNative(root, 'DataView'), + Map = getNative(root, 'Map'), + Promise = getNative(root, 'Promise'), + Set = getNative(root, 'Set'), + WeakMap = getNative(root, 'WeakMap'), + nativeCreate = getNative(Object, 'create'); + + /** Used to detect maps, sets, and weakmaps. */ + var dataViewCtorString = toSource(DataView), + mapCtorString = toSource(Map), + promiseCtorString = toSource(Promise), + setCtorString = toSource(Set), + weakMapCtorString = toSource(WeakMap); + + /** Used to convert symbols to primitives and strings. */ + var symbolProto = Symbol ? Symbol.prototype : undefined, + symbolValueOf = symbolProto ? symbolProto.valueOf : undefined; + + /** + * Creates a hash object. + * + * @private + * @constructor + * @param {Array} [entries] The key-value pairs to cache. + */ + function Hash(entries) { + var index = -1, + length = entries ? entries.length : 0; + + this.clear(); + while (++index < length) { + var entry = entries[index]; + this.set(entry[0], entry[1]); + } + } + + /** + * Removes all key-value entries from the hash. + * + * @private + * @name clear + * @memberOf Hash + */ + function hashClear() { + this.__data__ = nativeCreate ? nativeCreate(null) : {}; + } + + /** + * Removes `key` and its value from the hash. + * + * @private + * @name delete + * @memberOf Hash + * @param {Object} hash The hash to modify. + * @param {string} key The key of the value to remove. + * @returns {boolean} Returns `true` if the entry was removed, else `false`. + */ + function hashDelete(key) { + return this.has(key) && delete this.__data__[key]; + } + + /** + * Gets the hash value for `key`. + * + * @private + * @name get + * @memberOf Hash + * @param {string} key The key of the value to get. + * @returns {*} Returns the entry value. + */ + function hashGet(key) { + var data = this.__data__; + if (nativeCreate) { + var result = data[key]; + return result === HASH_UNDEFINED ? undefined : result; + } + return hasOwnProperty.call(data, key) ? data[key] : undefined; + } + + /** + * Checks if a hash value for `key` exists. + * + * @private + * @name has + * @memberOf Hash + * @param {string} key The key of the entry to check. + * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`. + */ + function hashHas(key) { + var data = this.__data__; + return nativeCreate ? data[key] !== undefined : hasOwnProperty.call(data, key); + } + + /** + * Sets the hash `key` to `value`. + * + * @private + * @name set + * @memberOf Hash + * @param {string} key The key of the value to set. + * @param {*} value The value to set. + * @returns {Object} Returns the hash instance. + */ + function hashSet(key, value) { + var data = this.__data__; + data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value; + return this; + } + + // Add methods to `Hash`. + Hash.prototype.clear = hashClear; + Hash.prototype['delete'] = hashDelete; + Hash.prototype.get = hashGet; + Hash.prototype.has = hashHas; + Hash.prototype.set = hashSet; + + /** + * Creates an list cache object. + * + * @private + * @constructor + * @param {Array} [entries] The key-value pairs to cache. + */ + function ListCache(entries) { + var index = -1, + length = entries ? entries.length : 0; + + this.clear(); + while (++index < length) { + var entry = entries[index]; + this.set(entry[0], entry[1]); + } + } + + /** + * Removes all key-value entries from the list cache. + * + * @private + * @name clear + * @memberOf ListCache + */ + function listCacheClear() { + this.__data__ = []; + } + + /** + * Removes `key` and its value from the list cache. + * + * @private + * @name delete + * @memberOf ListCache + * @param {string} key The key of the value to remove. + * @returns {boolean} Returns `true` if the entry was removed, else `false`. + */ + function listCacheDelete(key) { + var data = this.__data__, + index = assocIndexOf(data, key); + + if (index < 0) { + return false; + } + var lastIndex = data.length - 1; + if (index == lastIndex) { + data.pop(); + } else { + splice.call(data, index, 1); + } + return true; + } + + /** + * Gets the list cache value for `key`. + * + * @private + * @name get + * @memberOf ListCache + * @param {string} key The key of the value to get. + * @returns {*} Returns the entry value. + */ + function listCacheGet(key) { + var data = this.__data__, + index = assocIndexOf(data, key); + + return index < 0 ? undefined : data[index][1]; + } + + /** + * Checks if a list cache value for `key` exists. + * + * @private + * @name has + * @memberOf ListCache + * @param {string} key The key of the entry to check. + * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`. + */ + function listCacheHas(key) { + return assocIndexOf(this.__data__, key) > -1; + } + + /** + * Sets the list cache `key` to `value`. + * + * @private + * @name set + * @memberOf ListCache + * @param {string} key The key of the value to set. + * @param {*} value The value to set. + * @returns {Object} Returns the list cache instance. + */ + function listCacheSet(key, value) { + var data = this.__data__, + index = assocIndexOf(data, key); + + if (index < 0) { + data.push([key, value]); + } else { + data[index][1] = value; + } + return this; + } + + // Add methods to `ListCache`. + ListCache.prototype.clear = listCacheClear; + ListCache.prototype['delete'] = listCacheDelete; + ListCache.prototype.get = listCacheGet; + ListCache.prototype.has = listCacheHas; + ListCache.prototype.set = listCacheSet; + + /** + * Creates a map cache object to store key-value pairs. + * + * @private + * @constructor + * @param {Array} [entries] The key-value pairs to cache. + */ + function MapCache(entries) { + var index = -1, + length = entries ? entries.length : 0; + + this.clear(); + while (++index < length) { + var entry = entries[index]; + this.set(entry[0], entry[1]); + } + } + + /** + * Removes all key-value entries from the map. + * + * @private + * @name clear + * @memberOf MapCache + */ + function mapCacheClear() { + this.__data__ = { + 'hash': new Hash, + 'map': new (Map || ListCache), + 'string': new Hash + }; + } + + /** + * Removes `key` and its value from the map. + * + * @private + * @name delete + * @memberOf MapCache + * @param {string} key The key of the value to remove. + * @returns {boolean} Returns `true` if the entry was removed, else `false`. + */ + function mapCacheDelete(key) { + return getMapData(this, key)['delete'](key); + } + + /** + * Gets the map value for `key`. + * + * @private + * @name get + * @memberOf MapCache + * @param {string} key The key of the value to get. + * @returns {*} Returns the entry value. + */ + function mapCacheGet(key) { + return getMapData(this, key).get(key); + } + + /** + * Checks if a map value for `key` exists. + * + * @private + * @name has + * @memberOf MapCache + * @param {string} key The key of the entry to check. + * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`. + */ + function mapCacheHas(key) { + return getMapData(this, key).has(key); + } + + /** + * Sets the map `key` to `value`. + * + * @private + * @name set + * @memberOf MapCache + * @param {string} key The key of the value to set. + * @param {*} value The value to set. + * @returns {Object} Returns the map cache instance. + */ + function mapCacheSet(key, value) { + getMapData(this, key).set(key, value); + return this; + } + + // Add methods to `MapCache`. + MapCache.prototype.clear = mapCacheClear; + MapCache.prototype['delete'] = mapCacheDelete; + MapCache.prototype.get = mapCacheGet; + MapCache.prototype.has = mapCacheHas; + MapCache.prototype.set = mapCacheSet; + + /** + * Creates a stack cache object to store key-value pairs. + * + * @private + * @constructor + * @param {Array} [entries] The key-value pairs to cache. + */ + function Stack(entries) { + this.__data__ = new ListCache(entries); + } + + /** + * Removes all key-value entries from the stack. + * + * @private + * @name clear + * @memberOf Stack + */ + function stackClear() { + this.__data__ = new ListCache; + } + + /** + * Removes `key` and its value from the stack. + * + * @private + * @name delete + * @memberOf Stack + * @param {string} key The key of the value to remove. + * @returns {boolean} Returns `true` if the entry was removed, else `false`. + */ + function stackDelete(key) { + return this.__data__['delete'](key); + } + + /** + * Gets the stack value for `key`. + * + * @private + * @name get + * @memberOf Stack + * @param {string} key The key of the value to get. + * @returns {*} Returns the entry value. + */ + function stackGet(key) { + return this.__data__.get(key); + } + + /** + * Checks if a stack value for `key` exists. + * + * @private + * @name has + * @memberOf Stack + * @param {string} key The key of the entry to check. + * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`. + */ + function stackHas(key) { + return this.__data__.has(key); + } + + /** + * Sets the stack `key` to `value`. + * + * @private + * @name set + * @memberOf Stack + * @param {string} key The key of the value to set. + * @param {*} value The value to set. + * @returns {Object} Returns the stack cache instance. + */ + function stackSet(key, value) { + var cache = this.__data__; + if (cache instanceof ListCache) { + var pairs = cache.__data__; + if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) { + pairs.push([key, value]); + return this; + } + cache = this.__data__ = new MapCache(pairs); + } + cache.set(key, value); + return this; + } + + // Add methods to `Stack`. + Stack.prototype.clear = stackClear; + Stack.prototype['delete'] = stackDelete; + Stack.prototype.get = stackGet; + Stack.prototype.has = stackHas; + Stack.prototype.set = stackSet; + + /** + * Creates an array of the enumerable property names of the array-like `value`. + * + * @private + * @param {*} value The value to query. + * @param {boolean} inherited Specify returning inherited property names. + * @returns {Array} Returns the array of property names. + */ + function arrayLikeKeys(value, inherited) { + // Safari 8.1 makes `arguments.callee` enumerable in strict mode. + // Safari 9 makes `arguments.length` enumerable in strict mode. + var result = (isArray(value) || isArguments(value)) + ? baseTimes(value.length, String) + : []; + + var length = result.length, + skipIndexes = !!length; + + for (var key in value) { + if ((inherited || hasOwnProperty.call(value, key)) && + !(skipIndexes && (key == 'length' || isIndex(key, length)))) { + result.push(key); + } + } + return result; + } + + /** + * Assigns `value` to `key` of `object` if the existing value is not equivalent + * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero) + * for equality comparisons. + * + * @private + * @param {Object} object The object to modify. + * @param {string} key The key of the property to assign. + * @param {*} value The value to assign. + */ + function assignValue(object, key, value) { + var objValue = object[key]; + if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) || + (value === undefined && !(key in object))) { + object[key] = value; + } + } + + /** + * Gets the index at which the `key` is found in `array` of key-value pairs. + * + * @private + * @param {Array} array The array to inspect. + * @param {*} key The key to search for. + * @returns {number} Returns the index of the matched value, else `-1`. + */ + function assocIndexOf(array, key) { + var length = array.length; + while (length--) { + if (eq(array[length][0], key)) { + return length; + } + } + return -1; + } + + /** + * The base implementation of `_.assign` without support for multiple sources + * or `customizer` functions. + * + * @private + * @param {Object} object The destination object. + * @param {Object} source The source object. + * @returns {Object} Returns `object`. + */ + function baseAssign(object, source) { + return object && copyObject(source, keys(source), object); + } + + /** + * The base implementation of `_.clone` and `_.cloneDeep` which tracks + * traversed objects. + * + * @private + * @param {*} value The value to clone. + * @param {boolean} [isDeep] Specify a deep clone. + * @param {boolean} [isFull] Specify a clone including symbols. + * @param {Function} [customizer] The function to customize cloning. + * @param {string} [key] The key of `value`. + * @param {Object} [object] The parent object of `value`. + * @param {Object} [stack] Tracks traversed objects and their clone counterparts. + * @returns {*} Returns the cloned value. + */ + function baseClone(value, isDeep, isFull, customizer, key, object, stack) { + var result; + if (customizer) { + result = object ? customizer(value, key, object, stack) : customizer(value); + } + if (result !== undefined) { + return result; + } + if (!isObject(value)) { + return value; + } + var isArr = isArray(value); + if (isArr) { + result = initCloneArray(value); + if (!isDeep) { + return copyArray(value, result); + } + } else { + var tag = getTag(value), + isFunc = tag == funcTag || tag == genTag; + + if (isBuffer(value)) { + return cloneBuffer(value, isDeep); + } + if (tag == objectTag || tag == argsTag || (isFunc && !object)) { + if (isHostObject(value)) { + return object ? value : {}; + } + result = initCloneObject(isFunc ? {} : value); + if (!isDeep) { + return copySymbols(value, baseAssign(result, value)); + } + } else { + if (!cloneableTags[tag]) { + return object ? value : {}; + } + result = initCloneByTag(value, tag, baseClone, isDeep); + } + } + // Check for circular references and return its corresponding clone. + stack || (stack = new Stack); + var stacked = stack.get(value); + if (stacked) { + return stacked; + } + stack.set(value, result); + + if (!isArr) { + var props = isFull ? getAllKeys(value) : keys(value); + } + arrayEach(props || value, function(subValue, key) { + if (props) { + key = subValue; + subValue = value[key]; + } + // Recursively populate clone (susceptible to call stack limits). + assignValue(result, key, baseClone(subValue, isDeep, isFull, customizer, key, value, stack)); + }); + return result; + } + + /** + * The base implementation of `_.create` without support for assigning + * properties to the created object. + * + * @private + * @param {Object} prototype The object to inherit from. + * @returns {Object} Returns the new object. + */ + function baseCreate(proto) { + return isObject(proto) ? objectCreate(proto) : {}; + } + + /** + * The base implementation of `getAllKeys` and `getAllKeysIn` which uses + * `keysFunc` and `symbolsFunc` to get the enumerable property names and + * symbols of `object`. + * + * @private + * @param {Object} object The object to query. + * @param {Function} keysFunc The function to get the keys of `object`. + * @param {Function} symbolsFunc The function to get the symbols of `object`. + * @returns {Array} Returns the array of property names and symbols. + */ + function baseGetAllKeys(object, keysFunc, symbolsFunc) { + var result = keysFunc(object); + return isArray(object) ? result : arrayPush(result, symbolsFunc(object)); + } + + /** + * The base implementation of `getTag`. + * + * @private + * @param {*} value The value to query. + * @returns {string} Returns the `toStringTag`. + */ + function baseGetTag(value) { + return objectToString.call(value); + } + + /** + * The base implementation of `_.isNative` without bad shim checks. + * + * @private + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a native function, + * else `false`. + */ + function baseIsNative(value) { + if (!isObject(value) || isMasked(value)) { + return false; + } + var pattern = (isFunction(value) || isHostObject(value)) ? reIsNative : reIsHostCtor; + return pattern.test(toSource(value)); + } + + /** + * The base implementation of `_.keys` which doesn't treat sparse arrays as dense. + * + * @private + * @param {Object} object The object to query. + * @returns {Array} Returns the array of property names. + */ + function baseKeys(object) { + if (!isPrototype(object)) { + return nativeKeys(object); + } + var result = []; + for (var key in Object(object)) { + if (hasOwnProperty.call(object, key) && key != 'constructor') { + result.push(key); + } + } + return result; + } + + /** + * Creates a clone of `buffer`. + * + * @private + * @param {Buffer} buffer The buffer to clone. + * @param {boolean} [isDeep] Specify a deep clone. + * @returns {Buffer} Returns the cloned buffer. + */ + function cloneBuffer(buffer, isDeep) { + if (isDeep) { + return buffer.slice(); + } + var result = new buffer.constructor(buffer.length); + buffer.copy(result); + return result; + } + + /** + * Creates a clone of `arrayBuffer`. + * + * @private + * @param {ArrayBuffer} arrayBuffer The array buffer to clone. + * @returns {ArrayBuffer} Returns the cloned array buffer. + */ + function cloneArrayBuffer(arrayBuffer) { + var result = new arrayBuffer.constructor(arrayBuffer.byteLength); + new Uint8Array(result).set(new Uint8Array(arrayBuffer)); + return result; + } + + /** + * Creates a clone of `dataView`. + * + * @private + * @param {Object} dataView The data view to clone. + * @param {boolean} [isDeep] Specify a deep clone. + * @returns {Object} Returns the cloned data view. + */ + function cloneDataView(dataView, isDeep) { + var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer; + return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength); + } + + /** + * Creates a clone of `map`. + * + * @private + * @param {Object} map The map to clone. + * @param {Function} cloneFunc The function to clone values. + * @param {boolean} [isDeep] Specify a deep clone. + * @returns {Object} Returns the cloned map. + */ + function cloneMap(map, isDeep, cloneFunc) { + var array = isDeep ? cloneFunc(mapToArray(map), true) : mapToArray(map); + return arrayReduce(array, addMapEntry, new map.constructor); + } + + /** + * Creates a clone of `regexp`. + * + * @private + * @param {Object} regexp The regexp to clone. + * @returns {Object} Returns the cloned regexp. + */ + function cloneRegExp(regexp) { + var result = new regexp.constructor(regexp.source, reFlags.exec(regexp)); + result.lastIndex = regexp.lastIndex; + return result; + } + + /** + * Creates a clone of `set`. + * + * @private + * @param {Object} set The set to clone. + * @param {Function} cloneFunc The function to clone values. + * @param {boolean} [isDeep] Specify a deep clone. + * @returns {Object} Returns the cloned set. + */ + function cloneSet(set, isDeep, cloneFunc) { + var array = isDeep ? cloneFunc(setToArray(set), true) : setToArray(set); + return arrayReduce(array, addSetEntry, new set.constructor); + } + + /** + * Creates a clone of the `symbol` object. + * + * @private + * @param {Object} symbol The symbol object to clone. + * @returns {Object} Returns the cloned symbol object. + */ + function cloneSymbol(symbol) { + return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {}; + } + + /** + * Creates a clone of `typedArray`. + * + * @private + * @param {Object} typedArray The typed array to clone. + * @param {boolean} [isDeep] Specify a deep clone. + * @returns {Object} Returns the cloned typed array. + */ + function cloneTypedArray(typedArray, isDeep) { + var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer; + return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length); + } + + /** + * Copies the values of `source` to `array`. + * + * @private + * @param {Array} source The array to copy values from. + * @param {Array} [array=[]] The array to copy values to. + * @returns {Array} Returns `array`. + */ + function copyArray(source, array) { + var index = -1, + length = source.length; + + array || (array = Array(length)); + while (++index < length) { + array[index] = source[index]; + } + return array; + } + + /** + * Copies properties of `source` to `object`. + * + * @private + * @param {Object} source The object to copy properties from. + * @param {Array} props The property identifiers to copy. + * @param {Object} [object={}] The object to copy properties to. + * @param {Function} [customizer] The function to customize copied values. + * @returns {Object} Returns `object`. + */ + function copyObject(source, props, object, customizer) { + object || (object = {}); + + var index = -1, + length = props.length; + + while (++index < length) { + var key = props[index]; + + var newValue = customizer + ? customizer(object[key], source[key], key, object, source) + : undefined; + + assignValue(object, key, newValue === undefined ? source[key] : newValue); + } + return object; + } + + /** + * Copies own symbol properties of `source` to `object`. + * + * @private + * @param {Object} source The object to copy symbols from. + * @param {Object} [object={}] The object to copy symbols to. + * @returns {Object} Returns `object`. + */ + function copySymbols(source, object) { + return copyObject(source, getSymbols(source), object); + } + + /** + * Creates an array of own enumerable property names and symbols of `object`. + * + * @private + * @param {Object} object The object to query. + * @returns {Array} Returns the array of property names and symbols. + */ + function getAllKeys(object) { + return baseGetAllKeys(object, keys, getSymbols); + } + + /** + * Gets the data for `map`. + * + * @private + * @param {Object} map The map to query. + * @param {string} key The reference key. + * @returns {*} Returns the map data. + */ + function getMapData(map, key) { + var data = map.__data__; + return isKeyable(key) + ? data[typeof key == 'string' ? 'string' : 'hash'] + : data.map; + } + + /** + * Gets the native function at `key` of `object`. + * + * @private + * @param {Object} object The object to query. + * @param {string} key The key of the method to get. + * @returns {*} Returns the function if it's native, else `undefined`. + */ + function getNative(object, key) { + var value = getValue(object, key); + return baseIsNative(value) ? value : undefined; + } + + /** + * Creates an array of the own enumerable symbol properties of `object`. + * + * @private + * @param {Object} object The object to query. + * @returns {Array} Returns the array of symbols. + */ + var getSymbols = nativeGetSymbols ? overArg(nativeGetSymbols, Object) : stubArray; + + /** + * Gets the `toStringTag` of `value`. + * + * @private + * @param {*} value The value to query. + * @returns {string} Returns the `toStringTag`. + */ + var getTag = baseGetTag; + + // Fallback for data views, maps, sets, and weak maps in IE 11, + // for data views in Edge < 14, and promises in Node.js. + if ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) || + (Map && getTag(new Map) != mapTag) || + (Promise && getTag(Promise.resolve()) != promiseTag) || + (Set && getTag(new Set) != setTag) || + (WeakMap && getTag(new WeakMap) != weakMapTag)) { + getTag = function(value) { + var result = objectToString.call(value), + Ctor = result == objectTag ? value.constructor : undefined, + ctorString = Ctor ? toSource(Ctor) : undefined; + + if (ctorString) { + switch (ctorString) { + case dataViewCtorString: return dataViewTag; + case mapCtorString: return mapTag; + case promiseCtorString: return promiseTag; + case setCtorString: return setTag; + case weakMapCtorString: return weakMapTag; + } + } + return result; + }; + } + + /** + * Initializes an array clone. + * + * @private + * @param {Array} array The array to clone. + * @returns {Array} Returns the initialized clone. + */ + function initCloneArray(array) { + var length = array.length, + result = array.constructor(length); + + // Add properties assigned by `RegExp#exec`. + if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) { + result.index = array.index; + result.input = array.input; + } + return result; + } + + /** + * Initializes an object clone. + * + * @private + * @param {Object} object The object to clone. + * @returns {Object} Returns the initialized clone. + */ + function initCloneObject(object) { + return (typeof object.constructor == 'function' && !isPrototype(object)) + ? baseCreate(getPrototype(object)) + : {}; + } + + /** + * Initializes an object clone based on its `toStringTag`. + * + * **Note:** This function only supports cloning values with tags of + * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`. + * + * @private + * @param {Object} object The object to clone. + * @param {string} tag The `toStringTag` of the object to clone. + * @param {Function} cloneFunc The function to clone values. + * @param {boolean} [isDeep] Specify a deep clone. + * @returns {Object} Returns the initialized clone. + */ + function initCloneByTag(object, tag, cloneFunc, isDeep) { + var Ctor = object.constructor; + switch (tag) { + case arrayBufferTag: + return cloneArrayBuffer(object); + + case boolTag: + case dateTag: + return new Ctor(+object); + + case dataViewTag: + return cloneDataView(object, isDeep); + + case float32Tag: case float64Tag: + case int8Tag: case int16Tag: case int32Tag: + case uint8Tag: case uint8ClampedTag: case uint16Tag: case uint32Tag: + return cloneTypedArray(object, isDeep); + + case mapTag: + return cloneMap(object, isDeep, cloneFunc); + + case numberTag: + case stringTag: + return new Ctor(object); + + case regexpTag: + return cloneRegExp(object); + + case setTag: + return cloneSet(object, isDeep, cloneFunc); + + case symbolTag: + return cloneSymbol(object); + } + } + + /** + * Checks if `value` is a valid array-like index. + * + * @private + * @param {*} value The value to check. + * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index. + * @returns {boolean} Returns `true` if `value` is a valid index, else `false`. + */ + function isIndex(value, length) { + length = length == null ? MAX_SAFE_INTEGER : length; + return !!length && + (typeof value == 'number' || reIsUint.test(value)) && + (value > -1 && value % 1 == 0 && value < length); + } + + /** + * Checks if `value` is suitable for use as unique object key. + * + * @private + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is suitable, else `false`. + */ + function isKeyable(value) { + var type = typeof value; + return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean') + ? (value !== '__proto__') + : (value === null); + } + + /** + * Checks if `func` has its source masked. + * + * @private + * @param {Function} func The function to check. + * @returns {boolean} Returns `true` if `func` is masked, else `false`. + */ + function isMasked(func) { + return !!maskSrcKey && (maskSrcKey in func); + } + + /** + * Checks if `value` is likely a prototype object. + * + * @private + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a prototype, else `false`. + */ + function isPrototype(value) { + var Ctor = value && value.constructor, + proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto; + + return value === proto; + } + + /** + * Converts `func` to its source code. + * + * @private + * @param {Function} func The function to process. + * @returns {string} Returns the source code. + */ + function toSource(func) { + if (func != null) { + try { + return funcToString.call(func); + } catch (e) {} + try { + return (func + ''); + } catch (e) {} + } + return ''; + } + + /** + * This method is like `_.clone` except that it recursively clones `value`. + * + * @static + * @memberOf _ + * @since 1.0.0 + * @category Lang + * @param {*} value The value to recursively clone. + * @returns {*} Returns the deep cloned value. + * @see _.clone + * @example + * + * var objects = [{ 'a': 1 }, { 'b': 2 }]; + * + * var deep = _.cloneDeep(objects); + * console.log(deep[0] === objects[0]); + * // => false + */ + function cloneDeep(value) { + return baseClone(value, true, true); + } + + /** + * Performs a + * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero) + * comparison between two values to determine if they are equivalent. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Lang + * @param {*} value The value to compare. + * @param {*} other The other value to compare. + * @returns {boolean} Returns `true` if the values are equivalent, else `false`. + * @example + * + * var object = { 'a': 1 }; + * var other = { 'a': 1 }; + * + * _.eq(object, object); + * // => true + * + * _.eq(object, other); + * // => false + * + * _.eq('a', 'a'); + * // => true + * + * _.eq('a', Object('a')); + * // => false + * + * _.eq(NaN, NaN); + * // => true + */ + function eq(value, other) { + return value === other || (value !== value && other !== other); + } + + /** + * Checks if `value` is likely an `arguments` object. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is an `arguments` object, + * else `false`. + * @example + * + * _.isArguments(function() { return arguments; }()); + * // => true + * + * _.isArguments([1, 2, 3]); + * // => false + */ + function isArguments(value) { + // Safari 8.1 makes `arguments.callee` enumerable in strict mode. + return isArrayLikeObject(value) && hasOwnProperty.call(value, 'callee') && + (!propertyIsEnumerable.call(value, 'callee') || objectToString.call(value) == argsTag); + } + + /** + * Checks if `value` is classified as an `Array` object. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is an array, else `false`. + * @example + * + * _.isArray([1, 2, 3]); + * // => true + * + * _.isArray(document.body.children); + * // => false + * + * _.isArray('abc'); + * // => false + * + * _.isArray(_.noop); + * // => false + */ + var isArray = Array.isArray; + + /** + * Checks if `value` is array-like. A value is considered array-like if it's + * not a function and has a `value.length` that's an integer greater than or + * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is array-like, else `false`. + * @example + * + * _.isArrayLike([1, 2, 3]); + * // => true + * + * _.isArrayLike(document.body.children); + * // => true + * + * _.isArrayLike('abc'); + * // => true + * + * _.isArrayLike(_.noop); + * // => false + */ + function isArrayLike(value) { + return value != null && isLength(value.length) && !isFunction(value); + } + + /** + * This method is like `_.isArrayLike` except that it also checks if `value` + * is an object. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is an array-like object, + * else `false`. + * @example + * + * _.isArrayLikeObject([1, 2, 3]); + * // => true + * + * _.isArrayLikeObject(document.body.children); + * // => true + * + * _.isArrayLikeObject('abc'); + * // => false + * + * _.isArrayLikeObject(_.noop); + * // => false + */ + function isArrayLikeObject(value) { + return isObjectLike(value) && isArrayLike(value); + } + + /** + * Checks if `value` is a buffer. + * + * @static + * @memberOf _ + * @since 4.3.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a buffer, else `false`. + * @example + * + * _.isBuffer(new Buffer(2)); + * // => true + * + * _.isBuffer(new Uint8Array(2)); + * // => false + */ + var isBuffer = nativeIsBuffer || stubFalse; + + /** + * Checks if `value` is classified as a `Function` object. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a function, else `false`. + * @example + * + * _.isFunction(_); + * // => true + * + * _.isFunction(/abc/); + * // => false + */ + function isFunction(value) { + // The use of `Object#toString` avoids issues with the `typeof` operator + // in Safari 8-9 which returns 'object' for typed array and other constructors. + var tag = isObject(value) ? objectToString.call(value) : ''; + return tag == funcTag || tag == genTag; + } + + /** + * Checks if `value` is a valid array-like length. + * + * **Note:** This method is loosely based on + * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength). + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a valid length, else `false`. + * @example + * + * _.isLength(3); + * // => true + * + * _.isLength(Number.MIN_VALUE); + * // => false + * + * _.isLength(Infinity); + * // => false + * + * _.isLength('3'); + * // => false + */ + function isLength(value) { + return typeof value == 'number' && + value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER; + } + + /** + * Checks if `value` is the + * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types) + * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`) + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is an object, else `false`. + * @example + * + * _.isObject({}); + * // => true + * + * _.isObject([1, 2, 3]); + * // => true + * + * _.isObject(_.noop); + * // => true + * + * _.isObject(null); + * // => false + */ + function isObject(value) { + var type = typeof value; + return !!value && (type == 'object' || type == 'function'); + } + + /** + * Checks if `value` is object-like. A value is object-like if it's not `null` + * and has a `typeof` result of "object". + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is object-like, else `false`. + * @example + * + * _.isObjectLike({}); + * // => true + * + * _.isObjectLike([1, 2, 3]); + * // => true + * + * _.isObjectLike(_.noop); + * // => false + * + * _.isObjectLike(null); + * // => false + */ + function isObjectLike(value) { + return !!value && typeof value == 'object'; + } + + /** + * Creates an array of the own enumerable property names of `object`. + * + * **Note:** Non-object values are coerced to objects. See the + * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys) + * for more details. + * + * @static + * @since 0.1.0 + * @memberOf _ + * @category Object + * @param {Object} object The object to query. + * @returns {Array} Returns the array of property names. + * @example + * + * function Foo() { + * this.a = 1; + * this.b = 2; + * } + * + * Foo.prototype.c = 3; + * + * _.keys(new Foo); + * // => ['a', 'b'] (iteration order is not guaranteed) + * + * _.keys('hi'); + * // => ['0', '1'] + */ + function keys(object) { + return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object); + } + + /** + * This method returns a new empty array. + * + * @static + * @memberOf _ + * @since 4.13.0 + * @category Util + * @returns {Array} Returns the new empty array. + * @example + * + * var arrays = _.times(2, _.stubArray); + * + * console.log(arrays); + * // => [[], []] + * + * console.log(arrays[0] === arrays[1]); + * // => false + */ + function stubArray() { + return []; + } + + /** + * This method returns `false`. + * + * @static + * @memberOf _ + * @since 4.13.0 + * @category Util + * @returns {boolean} Returns `false`. + * @example + * + * _.times(2, _.stubFalse); + * // => [false, false] + */ + function stubFalse() { + return false; + } + + module.exports = cloneDeep; + }); + + var hasProperty = function has(object, key) { + return Object.prototype.hasOwnProperty.call(object, key); + }; + + var _apply; + + function _classPrivateFieldLooseBase$8(receiver, privateKey) { if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) { throw new TypeError("attempted to use private field on non-instance"); } return receiver; } + + var id$8 = 0; + + function _classPrivateFieldLooseKey$8(name) { return "__private_" + id$8++ + "_" + name; } + + + + function insertReplacement(source, rx, replacement) { + const newParts = []; + source.forEach(chunk => { + // When the source contains multiple placeholders for interpolation, + // we should ignore chunks that are not strings, because those + // can be JSX objects and will be otherwise incorrectly turned into strings. + // Without this condition we’d get this: [object Object] hello [object Object] my