From eea37ebba24b55a5647cdbe27df7659d2c9b051e Mon Sep 17 00:00:00 2001
From: Jason <5340635+wen-jason@user.noreply.gitee.com>
Date: Thu, 15 Sep 2022 14:15:12 +0800
Subject: [PATCH] =?UTF-8?q?=E5=85=AC=E4=BC=97=E5=8F=B7=E5=BE=AE=E4=BF=A1?=
=?UTF-8?q?=E7=99=BB=E5=BD=95=E8=B0=83=E8=AF=95?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
app/src/pages.json | 5 ++++-
app/src/pages/login/login.vue | 2 +-
app/src/utils/wechat.ts | 12 +++++++-----
.../{account.1635de1e.js => account.0621c489.js} | 2 +-
h5/assets/index.cc82eebf.css | 1 -
h5/assets/{index.f454d8a6.js => index.ef372d98.js} | 6 +++---
h5/assets/index.fee70b76.css | 1 +
h5/assets/{login.839ab8cb.css => login.eeb9f64f.css} | 2 +-
.../{news-card.3a153186.js => news-card.2caa196e.js} | 2 +-
h5/assets/{news.51b7c944.js => news.fd358f8b.js} | 2 +-
...60f6.js => pages-agreement-agreement.ffbeea36.js} | 2 +-
..._us.6e4cedc4.js => pages-as_us-as_us.13b5d708.js} | 2 +-
....js => pages-bind_mobile-bind_mobile.9976773a.js} | 2 +-
...pages-change_password-change_password.45805ac8.js | 1 -
...pages-change_password-change_password.4b4c4e23.js | 1 +
...33.js => pages-collection-collection.699bd116.js} | 2 +-
...ges-customer_service-customer_service.3652b67c.js | 1 -
...ges-customer_service-customer_service.7258d3eb.js | 1 +
h5/assets/pages-empty-empty.1da2761c.js | 1 +
h5/assets/pages-empty-empty.372fc0fd.js | 1 -
...8c.js => pages-forget_pwd-forget_pwd.41216787.js} | 2 +-
...dex.16266423.js => pages-index-index.e6645fe2.js} | 2 +-
h5/assets/pages-login-login.0445c254.js | 1 +
h5/assets/pages-login-login.3be0729d.js | 1 -
...-news.6263fcb6.js => pages-news-news.df583f22.js} | 2 +-
h5/assets/pages-news_detail-news_detail.8e3a9d19.js | 1 -
h5/assets/pages-news_detail-news_detail.e49844c4.js | 1 +
...432ca1.js => pages-register-register.70093c85.js} | 2 +-
...h.38a0019e.js => pages-search-search.90508a69.js} | 2 +-
...-user.d45532fb.js => pages-user-user.4e61a1bc.js} | 2 +-
...10d3.js => pages-user_data-user_data.0604926d.js} | 2 +-
...10a3b4.js => pages-user_set-user_set.60f42558.js} | 2 +-
h5/assets/pages-webview-webview.889d84ec.js | 1 +
h5/assets/pages-webview-webview.ef0d0b40.js | 1 -
h5/assets/shop.1613d923.js | 1 -
h5/assets/shop.c6085ded.js | 1 +
h5/assets/{tabbar.4d2fd3d6.js => tabbar.82f862b0.js} | 2 +-
.../{u-avatar.fdf13b95.js => u-avatar.181717cb.js} | 2 +-
.../{u-button.eea16af6.js => u-button.7e0d03be.js} | 2 +-
...u-checkbox.5a2f545a.js => u-checkbox.23ce3001.js} | 2 +-
...form-item.f22e24c4.js => u-form-item.3e4ea6bc.js} | 2 +-
h5/assets/{u-form.626cd20c.js => u-form.33540811.js} | 2 +-
h5/assets/{u-icon.67abb9d0.js => u-icon.7d02c0ea.js} | 2 +-
.../{u-image.b3557ec2.js => u-image.48553c64.js} | 2 +-
.../{u-parse.e7b36706.js => u-parse.e4319bf9.js} | 2 +-
.../{u-popup.0e42b453.js => u-popup.01c27f8b.js} | 2 +-
.../{u-search.910e6bc8.js => u-search.b9a60d6f.js} | 2 +-
...e.b4052f22.js => u-verification-code.5c5fbd7d.js} | 2 +-
h5/assets/{uni.b073940d.css => uni.8c78ef93.css} | 2 +-
...ts-u-avatar-cropper-u-avatar-cropper.c8bb0505.js} | 2 +-
h5/assets/{util.65cb1743.js => util.ed3f348a.js} | 2 +-
.../{z-paging.5a890c8e.js => z-paging.08aeef91.js} | 2 +-
h5/index.html | 6 +++---
53 files changed, 58 insertions(+), 53 deletions(-)
rename h5/assets/{account.1635de1e.js => account.0621c489.js} (92%)
delete mode 100644 h5/assets/index.cc82eebf.css
rename h5/assets/{index.f454d8a6.js => index.ef372d98.js} (54%)
create mode 100644 h5/assets/index.fee70b76.css
rename h5/assets/{login.839ab8cb.css => login.eeb9f64f.css} (91%)
rename h5/assets/{news-card.3a153186.js => news-card.2caa196e.js} (86%)
rename h5/assets/{news.51b7c944.js => news.fd358f8b.js} (86%)
rename h5/assets/{pages-agreement-agreement.8aae60f6.js => pages-agreement-agreement.ffbeea36.js} (77%)
rename h5/assets/{pages-as_us-as_us.6e4cedc4.js => pages-as_us-as_us.13b5d708.js} (88%)
rename h5/assets/{pages-bind_mobile-bind_mobile.41f2e570.js => pages-bind_mobile-bind_mobile.9976773a.js} (71%)
delete mode 100644 h5/assets/pages-change_password-change_password.45805ac8.js
create mode 100644 h5/assets/pages-change_password-change_password.4b4c4e23.js
rename h5/assets/{pages-collection-collection.d4730e33.js => pages-collection-collection.699bd116.js} (78%)
delete mode 100644 h5/assets/pages-customer_service-customer_service.3652b67c.js
create mode 100644 h5/assets/pages-customer_service-customer_service.7258d3eb.js
create mode 100644 h5/assets/pages-empty-empty.1da2761c.js
delete mode 100644 h5/assets/pages-empty-empty.372fc0fd.js
rename h5/assets/{pages-forget_pwd-forget_pwd.8665878c.js => pages-forget_pwd-forget_pwd.41216787.js} (83%)
rename h5/assets/{pages-index-index.16266423.js => pages-index-index.e6645fe2.js} (59%)
create mode 100644 h5/assets/pages-login-login.0445c254.js
delete mode 100644 h5/assets/pages-login-login.3be0729d.js
rename h5/assets/{pages-news-news.6263fcb6.js => pages-news-news.df583f22.js} (96%)
delete mode 100644 h5/assets/pages-news_detail-news_detail.8e3a9d19.js
create mode 100644 h5/assets/pages-news_detail-news_detail.e49844c4.js
rename h5/assets/{pages-register-register.d8432ca1.js => pages-register-register.70093c85.js} (89%)
rename h5/assets/{pages-search-search.38a0019e.js => pages-search-search.90508a69.js} (86%)
rename h5/assets/{pages-user-user.d45532fb.js => pages-user-user.4e61a1bc.js} (91%)
rename h5/assets/{pages-user_data-user_data.6d3a10d3.js => pages-user_data-user_data.0604926d.js} (99%)
rename h5/assets/{pages-user_set-user_set.b110a3b4.js => pages-user_set-user_set.60f42558.js} (96%)
create mode 100644 h5/assets/pages-webview-webview.889d84ec.js
delete mode 100644 h5/assets/pages-webview-webview.ef0d0b40.js
delete mode 100644 h5/assets/shop.1613d923.js
create mode 100644 h5/assets/shop.c6085ded.js
rename h5/assets/{tabbar.4d2fd3d6.js => tabbar.82f862b0.js} (97%)
rename h5/assets/{u-avatar.fdf13b95.js => u-avatar.181717cb.js} (88%)
rename h5/assets/{u-button.eea16af6.js => u-button.7e0d03be.js} (98%)
rename h5/assets/{u-checkbox.5a2f545a.js => u-checkbox.23ce3001.js} (96%)
rename h5/assets/{u-form-item.f22e24c4.js => u-form-item.3e4ea6bc.js} (99%)
rename h5/assets/{u-form.626cd20c.js => u-form.33540811.js} (68%)
rename h5/assets/{u-icon.67abb9d0.js => u-icon.7d02c0ea.js} (98%)
rename h5/assets/{u-image.b3557ec2.js => u-image.48553c64.js} (95%)
rename h5/assets/{u-parse.e7b36706.js => u-parse.e4319bf9.js} (99%)
rename h5/assets/{u-popup.0e42b453.js => u-popup.01c27f8b.js} (78%)
rename h5/assets/{u-search.910e6bc8.js => u-search.b9a60d6f.js} (96%)
rename h5/assets/{u-verification-code.b4052f22.js => u-verification-code.5c5fbd7d.js} (96%)
rename h5/assets/{uni.b073940d.css => uni.8c78ef93.css} (80%)
rename h5/assets/{uni_modules-vk-uview-ui-components-u-avatar-cropper-u-avatar-cropper.46e2ad7b.js => uni_modules-vk-uview-ui-components-u-avatar-cropper-u-avatar-cropper.c8bb0505.js} (99%)
rename h5/assets/{util.65cb1743.js => util.ed3f348a.js} (94%)
rename h5/assets/{z-paging.5a890c8e.js => z-paging.08aeef91.js} (99%)
diff --git a/app/src/pages.json b/app/src/pages.json
index 77e725c4..e2e7ef9e 100644
--- a/app/src/pages.json
+++ b/app/src/pages.json
@@ -121,7 +121,10 @@
"navigationBarTextStyle": "black",
"navigationBarTitleText": "商城",
"navigationBarBackgroundColor": "#FFFFFF",
- "backgroundColor": "#F8F8F8"
+ "backgroundColor": "#F8F8F8",
+ "h5": {
+ "navigationStyle": "custom"
+ }
},
"easycom": {
"custom": {
diff --git a/app/src/pages/login/login.vue b/app/src/pages/login/login.vue
index 4ed432e0..b11f93aa 100644
--- a/app/src/pages/login/login.vue
+++ b/app/src/pages/login/login.vue
@@ -6,7 +6,7 @@
{{ appStore.config.website.name }}
-
+
{
OALogin({
code
- }).then((res) => {
- const userStore = useUserStore()
- userStore.login(res.token)
- resolve(res)
})
+ .then((res) => {
+ resolve(res)
+ })
+ .catch((err) => {
+ reject(err)
+ })
})
},
ready() {
- return new Promise((resolve, reject) => {
+ return new Promise((resolve) => {
weixin.ready(() => {
resolve('success')
})
diff --git a/h5/assets/account.1635de1e.js b/h5/assets/account.0621c489.js
similarity index 92%
rename from h5/assets/account.1635de1e.js
rename to h5/assets/account.0621c489.js
index f0844502..c4819fb5 100644
--- a/h5/assets/account.1635de1e.js
+++ b/h5/assets/account.0621c489.js
@@ -1 +1 @@
-import{C as n}from"./appEnums.a2ba827b.js";import{D as r}from"./index.f454d8a6.js";function t(){const n=navigator.userAgent;return n.indexOf("Android")>-1||n.indexOf("Adr")>-1}const o=(({MP_WEIXIN:n,OA_WEIXIN:r,H5:t,IOS:o,ANDROID:a,OTHER:e})=>/MicroMessenger/i.test(navigator.userAgent)?r():t())({MP_WEIXIN:()=>n.MP_WEIXIN,OA_WEIXIN:()=>n.OA_WEIXIN,H5:()=>n.H5,IOS:()=>n.IOS,ANDROID:()=>n.ANDROID,OTHER:()=>null});function a(n){return r.post({url:"/login/check",data:{...n,client:o}})}function e(n){return r.post({url:"/login/register",data:{...n,client:o}})}function i(n){return r.post({url:"/login/forgotPassword",data:n})}function s(){return r.get({url:"/login/codeUrl",data:{url:location.href}})}function u(n){return r.get({url:"/login/oaLogin",data:n})}export{u as O,i as f,s as g,t as i,a as l,e as r};
+import{C as n}from"./appEnums.a2ba827b.js";import{D as r}from"./index.ef372d98.js";function t(){const n=navigator.userAgent;return n.indexOf("Android")>-1||n.indexOf("Adr")>-1}const o=(({MP_WEIXIN:n,OA_WEIXIN:r,H5:t,IOS:o,ANDROID:a,OTHER:e})=>/MicroMessenger/i.test(navigator.userAgent)?r():t())({MP_WEIXIN:()=>n.MP_WEIXIN,OA_WEIXIN:()=>n.OA_WEIXIN,H5:()=>n.H5,IOS:()=>n.IOS,ANDROID:()=>n.ANDROID,OTHER:()=>null});function a(n){return r.post({url:"/login/check",data:{...n,client:o}})}function e(n){return r.post({url:"/login/register",data:{...n,client:o}})}function i(n){return r.post({url:"/login/forgotPassword",data:n})}function s(){return r.get({url:"/login/codeUrl",data:{url:location.href}})}function u(n){return r.get({url:"/login/oaLogin",data:n})}export{u as O,i as f,s as g,t as i,a as l,e as r};
diff --git a/h5/assets/index.cc82eebf.css b/h5/assets/index.cc82eebf.css
deleted file mode 100644
index 740871f4..00000000
--- a/h5/assets/index.cc82eebf.css
+++ /dev/null
@@ -1 +0,0 @@
-*{margin:0;-webkit-tap-highlight-color:transparent}html,body{-webkit-user-select:none;-moz-user-select:none;user-select:none;width:100%;height:100%}body{overflow-x:hidden;font-size:16px}uni-app,uni-page,uni-page-wrapper,uni-page-body{display:block;box-sizing:border-box;width:100%}uni-page-wrapper{position:relative}#app,uni-app,uni-page,uni-page-wrapper{height:100%}.uni-mask{position:fixed;z-index:999;top:0;right:0;left:0;bottom:0;background:rgba(0,0,0,.5)}.uni-fade-enter-active,.uni-fade-leave-active{transition-duration:.25s;transition-property:opacity;transition-timing-function:ease}.uni-fade-enter-from,.uni-fade-leave-active{opacity:0}.uni-loading,uni-button[loading]:before{background-color:transparent;background-image:url(data:image/svg+xml;base64,\ PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMjAiIGhlaWdodD0iMTIwIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCI+PHBhdGggZmlsbD0ibm9uZSIgZD0iTTAgMGgxMDB2MTAwSDB6Ii8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTlFOUU5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgLTMwKSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iIzk4OTY5NyIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgzMCAxMDUuOTggNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjOUI5OTlBIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKDYwIDc1Ljk4IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0EzQTFBMiIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSg5MCA2NSA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNBQkE5QUEiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoMTIwIDU4LjY2IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0IyQjJCMiIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgxNTAgNTQuMDIgNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjQkFCOEI5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKDE4MCA1MCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNDMkMwQzEiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTE1MCA0NS45OCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNDQkNCQ0IiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTEyMCA0MS4zNCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNEMkQyRDIiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTkwIDM1IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0RBREFEQSIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgtNjAgMjQuMDIgNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTJFMkUyIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKC0zMCAtNS45OCA2NSkiLz48L3N2Zz4=);background-repeat:no-repeat}.uni-loading{width:20px;height:20px;display:inline-block;vertical-align:middle;-webkit-animation:uni-loading 1s steps(12,end) infinite;animation:uni-loading 1s steps(12,end) infinite;background-size:100%}@-webkit-keyframes uni-loading{0%{transform:rotate3d(0,0,1,0)}to{transform:rotate3d(0,0,1,360deg)}}@keyframes uni-loading{0%{transform:rotate3d(0,0,1,0)}to{transform:rotate3d(0,0,1,360deg)}}body:after{position:fixed;content:"";left:-1000px;top:-1000px;-webkit-animation:shadow-preload .1s;animation:shadow-preload .1s;-webkit-animation-delay:3s;animation-delay:3s}@-webkit-keyframes shadow-preload{0%{background-image:url(https://cdn.dcloud.net.cn/img/shadow-grey.png)}to{background-image:url(https://cdn.dcloud.net.cn/img/shadow-grey.png)}}@keyframes shadow-preload{0%{background-image:url(https://cdn.dcloud.net.cn/img/shadow-grey.png)}to{background-image:url(https://cdn.dcloud.net.cn/img/shadow-grey.png)}}.uni-async-error{position:absolute;left:0;right:0;top:0;bottom:0;color:#999;padding:100px 10px;text-align:center}.uni-async-loading{box-sizing:border-box;width:100%;padding:50px;text-align:center}.uni-async-loading .uni-loading{width:30px;height:30px}uni-page-head{display:block;box-sizing:border-box}.uni-page-head{position:fixed;left:var(--window-left);right:var(--window-right);height:44px;height:calc(44px + constant(safe-area-inset-top));height:calc(44px + env(safe-area-inset-top));padding:7px 3px;padding-top:calc(7px + constant(safe-area-inset-top));padding-top:calc(7px + env(safe-area-inset-top));display:flex;overflow:hidden;justify-content:space-between;box-sizing:border-box;z-index:998;color:#fff;background-color:#000;transition-property:all}.uni-page-head *{box-sizing:border-box}.uni-page-head .uni-btn-icon{overflow:hidden;min-width:1em;font-style:normal}.uni-page-head-titlePenetrate,.uni-page-head-titlePenetrate .uni-page-head-bd,.uni-page-head-titlePenetrate .uni-page-head-bd *{pointer-events:none}.uni-page-head-titlePenetrate *{pointer-events:auto}.uni-page-head.uni-page-head-transparent .uni-page-head-ft>div{justify-content:center}.uni-page-head~.uni-placeholder{width:100%;height:44px;height:calc(44px + constant(safe-area-inset-top));height:calc(44px + env(safe-area-inset-top))}.uni-placeholder-titlePenetrate{pointer-events:none}.uni-page-head-hd{display:flex;align-items:center;font-size:16px}.uni-page-head-bd{position:absolute;left:70px;right:70px;min-width:0;-webkit-user-select:auto;-moz-user-select:auto;user-select:auto}.uni-page-head-btn{position:relative;width:auto;margin:0 2px;word-break:keep-all;white-space:pre;cursor:pointer}.uni-page-head-btn svg{margin-top:-2px}.uni-page-head-transparent .uni-page-head-btn{display:flex;align-items:center;width:32px;height:32px;border-radius:50%;background-color:rgba(0,0,0,.5)}.uni-page-head-btn-red-dot:after{content:attr(badge-text);position:absolute;right:0;top:0;background-color:red;color:#fff;width:18px;height:18px;line-height:18px;border-radius:18px;overflow:hidden;transform:scale(.5) translate(40%,-40%);transform-origin:100% 0}.uni-page-head-btn-red-dot[badge-text]:after{font-size:12px;width:auto;min-width:18px;max-width:42px;text-align:center;padding:0 3px;transform:scale(.7) translate(40%,-40%)}.uni-page-head-btn-select>.uni-btn-icon:after{display:inline-block;font-family:unibtn;content:"\e601";margin-left:2px;transform:rotate(-90deg) scale(.8)}.uni-page-head-search{position:relative;display:flex;flex:1;margin:0 2px;line-height:30px;font-size:15px}.uni-page-head-search-input{width:100%;height:100%;padding-left:34px;text-align:left}.uni-page-head-search-placeholder{position:absolute;max-width:100%;height:100%;padding-left:34px;overflow:hidden;word-break:keep-all;white-space:pre}.uni-page-head-search-placeholder-right{right:0}.uni-page-head-search-placeholder-center{left:50%;transform:translate(-50%)}.uni-page-head-search-icon{position:absolute;top:0;left:2px;width:30px;height:30px;display:flex;justify-content:center;align-items:center}.uni-page-head-ft{display:flex;align-items:center;flex-direction:row-reverse;font-size:13px}.uni-page-head__title{font-weight:700;font-size:16px;line-height:30px;text-align:center;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.uni-page-head__title .uni-loading{width:16px;height:16px;margin-top:-3px}.uni-page-head__title .uni-page-head__title_image{width:auto;height:26px;vertical-align:middle}.uni-page-head-shadow{overflow:visible}.uni-page-head-shadow:after{content:"";position:absolute;left:0;right:0;top:100%;height:5px;background-size:100% 100%}.uni-page-head-shadow-grey:after{background-image:url(https://cdn.dcloud.net.cn/img/shadow-grey.png)}.uni-page-head-shadow-blue:after{background-image:url(https://cdn.dcloud.net.cn/img/shadow-blue.png)}.uni-page-head-shadow-green:after{background-image:url(https://cdn.dcloud.net.cn/img/shadow-green.png)}.uni-page-head-shadow-orange:after{background-image:url(https://cdn.dcloud.net.cn/img/shadow-orange.png)}.uni-page-head-shadow-red:after{background-image:url(https://cdn.dcloud.net.cn/img/shadow-red.png)}.uni-page-head-shadow-yellow:after{background-image:url(https://cdn.dcloud.net.cn/img/shadow-yellow.png)}uni-page-head[uni-page-head-type=default]~uni-page-wrapper{height:calc(100% - 44px);height:calc(100% - 44px - constant(safe-area-inset-top));height:calc(100% - 44px - env(safe-area-inset-top))}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::-webkit-backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.visible{visibility:visible}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:-webkit-sticky;position:sticky}.mx-\[20rpx\]{margin-left:.625rem;margin-right:.625rem}.my-\[30rpx\]{margin-top:.9375rem;margin-bottom:.9375rem}.mx-\[26rpx\]{margin-left:.8125rem;margin-right:.8125rem}.mx-\[36rpx\]{margin-left:1.125rem;margin-right:1.125rem}.mx-\[24rpx\]{margin-left:.75rem;margin-right:.75rem}.my-\[40rpx\]{margin-top:1.25rem;margin-bottom:1.25rem}.mr-\[20rpx\]{margin-right:.625rem}.mt-\[16rpx\]{margin-top:.5rem}.mt-\[12rpx\]{margin-top:.375rem}.ml-\[10rpx\]{margin-left:.3125rem}.mt-\[20rpx\]{margin-top:.625rem}.ml-3{margin-left:.75rem}.mt-\[40rpx\]{margin-top:1.25rem}.mb-\[60rpx\]{margin-bottom:1.875rem}.mt-\[100rpx\]{margin-top:3.125rem}.mt-4{margin-top:1rem}.mt-\[60rpx\]{margin-top:1.875rem}.mr-2{margin-right:.5rem}.mt-\[80rpx\]{margin-top:2.5rem}.mt-\[10px\]{margin-top:10px}.mr-\[40rpx\]{margin-right:1.25rem}.mb-\[70rpx\]{margin-bottom:2.1875rem}.ml-\[20rpx\]{margin-left:.625rem}.mb-\[15rpx\]{margin-bottom:.46875rem}.mt-\[14rpx\]{margin-top:.4375rem}.mb-\[15px\]{margin-bottom:15px}.mt-\[7px\]{margin-top:7px}.mb-\[30rpx\]{margin-bottom:.9375rem}.mt-\[18rpx\]{margin-top:.5625rem}.box-border{box-sizing:border-box}.block{display:block}.inline{display:inline}.\!inline{display:inline!important}.flex{display:flex}.table{display:table}.grid{display:grid}.hidden{display:none}.h-\[30rpx\]{height:.9375rem}.h-\[80rpx\]{height:2.5rem}.h-\[340rpx\]{height:10.625rem}.h-full{height:100%}.h-\[100rpx\]{height:3.125rem}.h-\[200rpx\]{height:6.25rem}.min-h-full{min-height:100%}.w-full{width:100%}.w-\[30rpx\]{width:.9375rem}.w-\[180rpx\]{width:5.625rem}.w-\[80rpx\]{width:2.5rem}.w-1\/4{width:25%}.w-1\/5{width:20%}.flex-1{flex:1 1 0%}.flex-shrink{flex-shrink:1}.flex-grow{flex-grow:1}.translate-y-0{--tw-translate-y: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.rounded-lg{border-radius:.5rem}.border{border-width:1px}.border-0{border-width:0px}.border-l{border-left-width:1px}.border-b{border-bottom-width:1px}.border-solid{border-style:solid}.border-light{--tw-border-opacity: 1;border-color:rgb(229 229 229 / var(--tw-border-opacity))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.p-\[20rpx\]{padding:.625rem}.px-\[20rpx\]{padding-left:.625rem;padding-right:.625rem}.py-\[32rpx\]{padding-top:1rem;padding-bottom:1rem}.px-\[40rpx\]{padding-left:1.25rem;padding-right:1.25rem}.px-\[24rpx\]{padding-left:.75rem;padding-right:.75rem}.py-\[14rpx\]{padding-top:.4375rem;padding-bottom:.4375rem}.py-\[20rpx\]{padding-top:.625rem;padding-bottom:.625rem}.px-\[30rpx\]{padding-left:.9375rem;padding-right:.9375rem}.px-\[34rpx\]{padding-left:1.0625rem;padding-right:1.0625rem}.px-\[50rpx\]{padding-left:1.5625rem;padding-right:1.5625rem}.py-\[40rpx\]{padding-top:1.25rem;padding-bottom:1.25rem}.px-\[110rpx\]{padding-left:3.4375rem;padding-right:3.4375rem}.py-\[50rpx\]{padding-top:1.5625rem;padding-bottom:1.5625rem}.pt-\[40rpx\]{padding-top:1.25rem}.pl-3{padding-left:.75rem}.pt-\[100rpx\]{padding-top:3.125rem}.pt-\[80rpx\]{padding-top:2.5rem}.pt-\[20rpx\]{padding-top:.625rem}.pt-\[30rpx\]{padding-top:.9375rem}.pb-\[160rpx\]{padding-bottom:5rem}.pb-\[20rpx\]{padding-bottom:.625rem}.pb-\[16rpx\]{padding-bottom:.5rem}.pl-\[24rpx\]{padding-left:.75rem}.pt-\[26rpx\]{padding-top:.8125rem}.pb-\[6rpx\]{padding-bottom:.1875rem}.pr-\[8rpx\]{padding-right:.25rem}.text-center{text-align:center}.text-lg{font-size:.9375rem}.text-sm{font-size:.8125rem}.text-xs{font-size:.75rem}.text-2xl{font-size:1.0625rem}.text-3xl{font-size:1.1875rem}.text-base{font-size:.875rem}.text-xl{font-size:1rem}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.lowercase{text-transform:lowercase}.italic{font-style:italic}.leading-4{line-height:1rem}.text-muted{--tw-text-opacity: 1;color:rgb(153 153 153 / var(--tw-text-opacity))}.text-content{--tw-text-opacity: 1;color:rgb(102 102 102 / var(--tw-text-opacity))}.text-primary{--tw-text-opacity: 1;color:rgb(65 115 255 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.underline{-webkit-text-decoration-line:underline;text-decoration-line:underline}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}uni-page-body{background-color:#f3f4f6;font-size:.875rem}body{background-color:#f3f4f6}.u-relative,.u-rela{position:relative}.u-absolute,.u-abso{position:absolute}uni-image{display:inline-block}uni-view,uni-text{box-sizing:border-box}.u-font-xs{font-size:.6875rem}.u-font-sm{font-size:.8125rem}.u-font-md{font-size:.875rem}.u-font-lg{font-size:.9375rem}.u-font-xl{font-size:1.0625rem}.u-flex{display:flex;flex-direction:row;align-items:center}.u-flex-wrap{flex-wrap:wrap}.u-flex-nowrap{flex-wrap:nowrap}.u-col-center{align-items:center}.u-col-top{align-items:flex-start}.u-col-bottom{align-items:flex-end}.u-row-center{justify-content:center}.u-row-left{justify-content:flex-start}.u-row-right{justify-content:flex-end}.u-row-between{justify-content:space-between}.u-row-around{justify-content:space-around}.u-text-left{text-align:left}.u-text-center{text-align:center}.u-text-right{text-align:right}.u-flex-col{display:flex;flex-direction:column}.u-flex-0{flex:0}.u-flex-1{flex:1}.u-flex-2{flex:2}.u-flex-3{flex:3}.u-flex-4{flex:4}.u-flex-5{flex:5}.u-flex-6{flex:6}.u-flex-7{flex:7}.u-flex-8{flex:8}.u-flex-9{flex:9}.u-flex-10{flex:10}.u-flex-11{flex:11}.u-flex-12{flex:12}.u-font-9{font-size:9px}.u-font-10{font-size:10px}.u-font-11{font-size:11px}.u-font-12{font-size:12px}.u-font-13{font-size:13px}.u-font-14{font-size:14px}.u-font-15{font-size:15px}.u-font-16{font-size:16px}.u-font-17{font-size:17px}.u-font-18{font-size:18px}.u-font-19{font-size:19px}.u-font-20{font-size:.625rem}.u-font-21{font-size:.65625rem}.u-font-22{font-size:.6875rem}.u-font-23{font-size:.71875rem}.u-font-24{font-size:.75rem}.u-font-25{font-size:.78125rem}.u-font-26{font-size:.8125rem}.u-font-27{font-size:.84375rem}.u-font-28{font-size:.875rem}.u-font-29{font-size:.90625rem}.u-font-30{font-size:.9375rem}.u-font-31{font-size:.96875rem}.u-font-32{font-size:1rem}.u-font-33{font-size:1.03125rem}.u-font-34{font-size:1.0625rem}.u-font-35{font-size:1.09375rem}.u-font-36{font-size:1.125rem}.u-font-37{font-size:1.15625rem}.u-font-38{font-size:1.1875rem}.u-font-39{font-size:1.21875rem}.u-font-40{font-size:1.25rem}.u-margin-0,.u-m-0{margin:0!important}.u-padding-0,.u-p-0{padding:0!important}.u-m-l-0{margin-left:0!important}.u-p-l-0{padding-left:0!important}.u-margin-left-0{margin-left:0!important}.u-padding-left-0{padding-left:0!important}.u-m-t-0{margin-top:0!important}.u-p-t-0{padding-top:0!important}.u-margin-top-0{margin-top:0!important}.u-padding-top-0{padding-top:0!important}.u-m-r-0{margin-right:0!important}.u-p-r-0{padding-right:0!important}.u-margin-right-0{margin-right:0!important}.u-padding-right-0{padding-right:0!important}.u-m-b-0{margin-bottom:0!important}.u-p-b-0{padding-bottom:0!important}.u-margin-bottom-0{margin-bottom:0!important}.u-padding-bottom-0{padding-bottom:0!important}.u-margin-2,.u-m-2{margin:.0625rem!important}.u-padding-2,.u-p-2{padding:.0625rem!important}.u-m-l-2{margin-left:.0625rem!important}.u-p-l-2{padding-left:.0625rem!important}.u-margin-left-2{margin-left:.0625rem!important}.u-padding-left-2{padding-left:.0625rem!important}.u-m-t-2{margin-top:.0625rem!important}.u-p-t-2{padding-top:.0625rem!important}.u-margin-top-2{margin-top:.0625rem!important}.u-padding-top-2{padding-top:.0625rem!important}.u-m-r-2{margin-right:.0625rem!important}.u-p-r-2{padding-right:.0625rem!important}.u-margin-right-2{margin-right:.0625rem!important}.u-padding-right-2{padding-right:.0625rem!important}.u-m-b-2{margin-bottom:.0625rem!important}.u-p-b-2{padding-bottom:.0625rem!important}.u-margin-bottom-2{margin-bottom:.0625rem!important}.u-padding-bottom-2{padding-bottom:.0625rem!important}.u-margin-4,.u-m-4{margin:.125rem!important}.u-padding-4,.u-p-4{padding:.125rem!important}.u-m-l-4{margin-left:.125rem!important}.u-p-l-4{padding-left:.125rem!important}.u-margin-left-4{margin-left:.125rem!important}.u-padding-left-4{padding-left:.125rem!important}.u-m-t-4{margin-top:.125rem!important}.u-p-t-4{padding-top:.125rem!important}.u-margin-top-4{margin-top:.125rem!important}.u-padding-top-4{padding-top:.125rem!important}.u-m-r-4{margin-right:.125rem!important}.u-p-r-4{padding-right:.125rem!important}.u-margin-right-4{margin-right:.125rem!important}.u-padding-right-4{padding-right:.125rem!important}.u-m-b-4{margin-bottom:.125rem!important}.u-p-b-4{padding-bottom:.125rem!important}.u-margin-bottom-4{margin-bottom:.125rem!important}.u-padding-bottom-4{padding-bottom:.125rem!important}.u-margin-5,.u-m-5{margin:.15625rem!important}.u-padding-5,.u-p-5{padding:.15625rem!important}.u-m-l-5{margin-left:.15625rem!important}.u-p-l-5{padding-left:.15625rem!important}.u-margin-left-5{margin-left:.15625rem!important}.u-padding-left-5{padding-left:.15625rem!important}.u-m-t-5{margin-top:.15625rem!important}.u-p-t-5{padding-top:.15625rem!important}.u-margin-top-5{margin-top:.15625rem!important}.u-padding-top-5{padding-top:.15625rem!important}.u-m-r-5{margin-right:.15625rem!important}.u-p-r-5{padding-right:.15625rem!important}.u-margin-right-5{margin-right:.15625rem!important}.u-padding-right-5{padding-right:.15625rem!important}.u-m-b-5{margin-bottom:.15625rem!important}.u-p-b-5{padding-bottom:.15625rem!important}.u-margin-bottom-5{margin-bottom:.15625rem!important}.u-padding-bottom-5{padding-bottom:.15625rem!important}.u-margin-6,.u-m-6{margin:.1875rem!important}.u-padding-6,.u-p-6{padding:.1875rem!important}.u-m-l-6{margin-left:.1875rem!important}.u-p-l-6{padding-left:.1875rem!important}.u-margin-left-6{margin-left:.1875rem!important}.u-padding-left-6{padding-left:.1875rem!important}.u-m-t-6{margin-top:.1875rem!important}.u-p-t-6{padding-top:.1875rem!important}.u-margin-top-6{margin-top:.1875rem!important}.u-padding-top-6{padding-top:.1875rem!important}.u-m-r-6{margin-right:.1875rem!important}.u-p-r-6{padding-right:.1875rem!important}.u-margin-right-6{margin-right:.1875rem!important}.u-padding-right-6{padding-right:.1875rem!important}.u-m-b-6{margin-bottom:.1875rem!important}.u-p-b-6{padding-bottom:.1875rem!important}.u-margin-bottom-6{margin-bottom:.1875rem!important}.u-padding-bottom-6{padding-bottom:.1875rem!important}.u-margin-8,.u-m-8{margin:.25rem!important}.u-padding-8,.u-p-8{padding:.25rem!important}.u-m-l-8{margin-left:.25rem!important}.u-p-l-8{padding-left:.25rem!important}.u-margin-left-8{margin-left:.25rem!important}.u-padding-left-8{padding-left:.25rem!important}.u-m-t-8{margin-top:.25rem!important}.u-p-t-8{padding-top:.25rem!important}.u-margin-top-8{margin-top:.25rem!important}.u-padding-top-8{padding-top:.25rem!important}.u-m-r-8{margin-right:.25rem!important}.u-p-r-8{padding-right:.25rem!important}.u-margin-right-8{margin-right:.25rem!important}.u-padding-right-8{padding-right:.25rem!important}.u-m-b-8{margin-bottom:.25rem!important}.u-p-b-8{padding-bottom:.25rem!important}.u-margin-bottom-8{margin-bottom:.25rem!important}.u-padding-bottom-8{padding-bottom:.25rem!important}.u-margin-10,.u-m-10{margin:.3125rem!important}.u-padding-10,.u-p-10{padding:.3125rem!important}.u-m-l-10{margin-left:.3125rem!important}.u-p-l-10{padding-left:.3125rem!important}.u-margin-left-10{margin-left:.3125rem!important}.u-padding-left-10{padding-left:.3125rem!important}.u-m-t-10{margin-top:.3125rem!important}.u-p-t-10{padding-top:.3125rem!important}.u-margin-top-10{margin-top:.3125rem!important}.u-padding-top-10{padding-top:.3125rem!important}.u-m-r-10{margin-right:.3125rem!important}.u-p-r-10{padding-right:.3125rem!important}.u-margin-right-10{margin-right:.3125rem!important}.u-padding-right-10{padding-right:.3125rem!important}.u-m-b-10{margin-bottom:.3125rem!important}.u-p-b-10{padding-bottom:.3125rem!important}.u-margin-bottom-10{margin-bottom:.3125rem!important}.u-padding-bottom-10{padding-bottom:.3125rem!important}.u-margin-12,.u-m-12{margin:.375rem!important}.u-padding-12,.u-p-12{padding:.375rem!important}.u-m-l-12{margin-left:.375rem!important}.u-p-l-12{padding-left:.375rem!important}.u-margin-left-12{margin-left:.375rem!important}.u-padding-left-12{padding-left:.375rem!important}.u-m-t-12{margin-top:.375rem!important}.u-p-t-12{padding-top:.375rem!important}.u-margin-top-12{margin-top:.375rem!important}.u-padding-top-12{padding-top:.375rem!important}.u-m-r-12{margin-right:.375rem!important}.u-p-r-12{padding-right:.375rem!important}.u-margin-right-12{margin-right:.375rem!important}.u-padding-right-12{padding-right:.375rem!important}.u-m-b-12{margin-bottom:.375rem!important}.u-p-b-12{padding-bottom:.375rem!important}.u-margin-bottom-12{margin-bottom:.375rem!important}.u-padding-bottom-12{padding-bottom:.375rem!important}.u-margin-14,.u-m-14{margin:.4375rem!important}.u-padding-14,.u-p-14{padding:.4375rem!important}.u-m-l-14{margin-left:.4375rem!important}.u-p-l-14{padding-left:.4375rem!important}.u-margin-left-14{margin-left:.4375rem!important}.u-padding-left-14{padding-left:.4375rem!important}.u-m-t-14{margin-top:.4375rem!important}.u-p-t-14{padding-top:.4375rem!important}.u-margin-top-14{margin-top:.4375rem!important}.u-padding-top-14{padding-top:.4375rem!important}.u-m-r-14{margin-right:.4375rem!important}.u-p-r-14{padding-right:.4375rem!important}.u-margin-right-14{margin-right:.4375rem!important}.u-padding-right-14{padding-right:.4375rem!important}.u-m-b-14{margin-bottom:.4375rem!important}.u-p-b-14{padding-bottom:.4375rem!important}.u-margin-bottom-14{margin-bottom:.4375rem!important}.u-padding-bottom-14{padding-bottom:.4375rem!important}.u-margin-15,.u-m-15{margin:.46875rem!important}.u-padding-15,.u-p-15{padding:.46875rem!important}.u-m-l-15{margin-left:.46875rem!important}.u-p-l-15{padding-left:.46875rem!important}.u-margin-left-15{margin-left:.46875rem!important}.u-padding-left-15{padding-left:.46875rem!important}.u-m-t-15{margin-top:.46875rem!important}.u-p-t-15{padding-top:.46875rem!important}.u-margin-top-15{margin-top:.46875rem!important}.u-padding-top-15{padding-top:.46875rem!important}.u-m-r-15{margin-right:.46875rem!important}.u-p-r-15{padding-right:.46875rem!important}.u-margin-right-15{margin-right:.46875rem!important}.u-padding-right-15{padding-right:.46875rem!important}.u-m-b-15{margin-bottom:.46875rem!important}.u-p-b-15{padding-bottom:.46875rem!important}.u-margin-bottom-15{margin-bottom:.46875rem!important}.u-padding-bottom-15{padding-bottom:.46875rem!important}.u-margin-16,.u-m-16{margin:.5rem!important}.u-padding-16,.u-p-16{padding:.5rem!important}.u-m-l-16{margin-left:.5rem!important}.u-p-l-16{padding-left:.5rem!important}.u-margin-left-16{margin-left:.5rem!important}.u-padding-left-16{padding-left:.5rem!important}.u-m-t-16{margin-top:.5rem!important}.u-p-t-16{padding-top:.5rem!important}.u-margin-top-16{margin-top:.5rem!important}.u-padding-top-16{padding-top:.5rem!important}.u-m-r-16{margin-right:.5rem!important}.u-p-r-16{padding-right:.5rem!important}.u-margin-right-16{margin-right:.5rem!important}.u-padding-right-16{padding-right:.5rem!important}.u-m-b-16{margin-bottom:.5rem!important}.u-p-b-16{padding-bottom:.5rem!important}.u-margin-bottom-16{margin-bottom:.5rem!important}.u-padding-bottom-16{padding-bottom:.5rem!important}.u-margin-18,.u-m-18{margin:.5625rem!important}.u-padding-18,.u-p-18{padding:.5625rem!important}.u-m-l-18{margin-left:.5625rem!important}.u-p-l-18{padding-left:.5625rem!important}.u-margin-left-18{margin-left:.5625rem!important}.u-padding-left-18{padding-left:.5625rem!important}.u-m-t-18{margin-top:.5625rem!important}.u-p-t-18{padding-top:.5625rem!important}.u-margin-top-18{margin-top:.5625rem!important}.u-padding-top-18{padding-top:.5625rem!important}.u-m-r-18{margin-right:.5625rem!important}.u-p-r-18{padding-right:.5625rem!important}.u-margin-right-18{margin-right:.5625rem!important}.u-padding-right-18{padding-right:.5625rem!important}.u-m-b-18{margin-bottom:.5625rem!important}.u-p-b-18{padding-bottom:.5625rem!important}.u-margin-bottom-18{margin-bottom:.5625rem!important}.u-padding-bottom-18{padding-bottom:.5625rem!important}.u-margin-20,.u-m-20{margin:.625rem!important}.u-padding-20,.u-p-20{padding:.625rem!important}.u-m-l-20{margin-left:.625rem!important}.u-p-l-20{padding-left:.625rem!important}.u-margin-left-20{margin-left:.625rem!important}.u-padding-left-20{padding-left:.625rem!important}.u-m-t-20{margin-top:.625rem!important}.u-p-t-20{padding-top:.625rem!important}.u-margin-top-20{margin-top:.625rem!important}.u-padding-top-20{padding-top:.625rem!important}.u-m-r-20{margin-right:.625rem!important}.u-p-r-20{padding-right:.625rem!important}.u-margin-right-20{margin-right:.625rem!important}.u-padding-right-20{padding-right:.625rem!important}.u-m-b-20{margin-bottom:.625rem!important}.u-p-b-20{padding-bottom:.625rem!important}.u-margin-bottom-20{margin-bottom:.625rem!important}.u-padding-bottom-20{padding-bottom:.625rem!important}.u-margin-22,.u-m-22{margin:.6875rem!important}.u-padding-22,.u-p-22{padding:.6875rem!important}.u-m-l-22{margin-left:.6875rem!important}.u-p-l-22{padding-left:.6875rem!important}.u-margin-left-22{margin-left:.6875rem!important}.u-padding-left-22{padding-left:.6875rem!important}.u-m-t-22{margin-top:.6875rem!important}.u-p-t-22{padding-top:.6875rem!important}.u-margin-top-22{margin-top:.6875rem!important}.u-padding-top-22{padding-top:.6875rem!important}.u-m-r-22{margin-right:.6875rem!important}.u-p-r-22{padding-right:.6875rem!important}.u-margin-right-22{margin-right:.6875rem!important}.u-padding-right-22{padding-right:.6875rem!important}.u-m-b-22{margin-bottom:.6875rem!important}.u-p-b-22{padding-bottom:.6875rem!important}.u-margin-bottom-22{margin-bottom:.6875rem!important}.u-padding-bottom-22{padding-bottom:.6875rem!important}.u-margin-24,.u-m-24{margin:.75rem!important}.u-padding-24,.u-p-24{padding:.75rem!important}.u-m-l-24{margin-left:.75rem!important}.u-p-l-24{padding-left:.75rem!important}.u-margin-left-24{margin-left:.75rem!important}.u-padding-left-24{padding-left:.75rem!important}.u-m-t-24{margin-top:.75rem!important}.u-p-t-24{padding-top:.75rem!important}.u-margin-top-24{margin-top:.75rem!important}.u-padding-top-24{padding-top:.75rem!important}.u-m-r-24{margin-right:.75rem!important}.u-p-r-24{padding-right:.75rem!important}.u-margin-right-24{margin-right:.75rem!important}.u-padding-right-24{padding-right:.75rem!important}.u-m-b-24{margin-bottom:.75rem!important}.u-p-b-24{padding-bottom:.75rem!important}.u-margin-bottom-24{margin-bottom:.75rem!important}.u-padding-bottom-24{padding-bottom:.75rem!important}.u-margin-25,.u-m-25{margin:.78125rem!important}.u-padding-25,.u-p-25{padding:.78125rem!important}.u-m-l-25{margin-left:.78125rem!important}.u-p-l-25{padding-left:.78125rem!important}.u-margin-left-25{margin-left:.78125rem!important}.u-padding-left-25{padding-left:.78125rem!important}.u-m-t-25{margin-top:.78125rem!important}.u-p-t-25{padding-top:.78125rem!important}.u-margin-top-25{margin-top:.78125rem!important}.u-padding-top-25{padding-top:.78125rem!important}.u-m-r-25{margin-right:.78125rem!important}.u-p-r-25{padding-right:.78125rem!important}.u-margin-right-25{margin-right:.78125rem!important}.u-padding-right-25{padding-right:.78125rem!important}.u-m-b-25{margin-bottom:.78125rem!important}.u-p-b-25{padding-bottom:.78125rem!important}.u-margin-bottom-25{margin-bottom:.78125rem!important}.u-padding-bottom-25{padding-bottom:.78125rem!important}.u-margin-26,.u-m-26{margin:.8125rem!important}.u-padding-26,.u-p-26{padding:.8125rem!important}.u-m-l-26{margin-left:.8125rem!important}.u-p-l-26{padding-left:.8125rem!important}.u-margin-left-26{margin-left:.8125rem!important}.u-padding-left-26{padding-left:.8125rem!important}.u-m-t-26{margin-top:.8125rem!important}.u-p-t-26{padding-top:.8125rem!important}.u-margin-top-26{margin-top:.8125rem!important}.u-padding-top-26{padding-top:.8125rem!important}.u-m-r-26{margin-right:.8125rem!important}.u-p-r-26{padding-right:.8125rem!important}.u-margin-right-26{margin-right:.8125rem!important}.u-padding-right-26{padding-right:.8125rem!important}.u-m-b-26{margin-bottom:.8125rem!important}.u-p-b-26{padding-bottom:.8125rem!important}.u-margin-bottom-26{margin-bottom:.8125rem!important}.u-padding-bottom-26{padding-bottom:.8125rem!important}.u-margin-28,.u-m-28{margin:.875rem!important}.u-padding-28,.u-p-28{padding:.875rem!important}.u-m-l-28{margin-left:.875rem!important}.u-p-l-28{padding-left:.875rem!important}.u-margin-left-28{margin-left:.875rem!important}.u-padding-left-28{padding-left:.875rem!important}.u-m-t-28{margin-top:.875rem!important}.u-p-t-28{padding-top:.875rem!important}.u-margin-top-28{margin-top:.875rem!important}.u-padding-top-28{padding-top:.875rem!important}.u-m-r-28{margin-right:.875rem!important}.u-p-r-28{padding-right:.875rem!important}.u-margin-right-28{margin-right:.875rem!important}.u-padding-right-28{padding-right:.875rem!important}.u-m-b-28{margin-bottom:.875rem!important}.u-p-b-28{padding-bottom:.875rem!important}.u-margin-bottom-28{margin-bottom:.875rem!important}.u-padding-bottom-28{padding-bottom:.875rem!important}.u-margin-30,.u-m-30{margin:.9375rem!important}.u-padding-30,.u-p-30{padding:.9375rem!important}.u-m-l-30{margin-left:.9375rem!important}.u-p-l-30{padding-left:.9375rem!important}.u-margin-left-30{margin-left:.9375rem!important}.u-padding-left-30{padding-left:.9375rem!important}.u-m-t-30{margin-top:.9375rem!important}.u-p-t-30{padding-top:.9375rem!important}.u-margin-top-30{margin-top:.9375rem!important}.u-padding-top-30{padding-top:.9375rem!important}.u-m-r-30{margin-right:.9375rem!important}.u-p-r-30{padding-right:.9375rem!important}.u-margin-right-30{margin-right:.9375rem!important}.u-padding-right-30{padding-right:.9375rem!important}.u-m-b-30{margin-bottom:.9375rem!important}.u-p-b-30{padding-bottom:.9375rem!important}.u-margin-bottom-30{margin-bottom:.9375rem!important}.u-padding-bottom-30{padding-bottom:.9375rem!important}.u-margin-32,.u-m-32{margin:1rem!important}.u-padding-32,.u-p-32{padding:1rem!important}.u-m-l-32{margin-left:1rem!important}.u-p-l-32{padding-left:1rem!important}.u-margin-left-32{margin-left:1rem!important}.u-padding-left-32{padding-left:1rem!important}.u-m-t-32{margin-top:1rem!important}.u-p-t-32{padding-top:1rem!important}.u-margin-top-32{margin-top:1rem!important}.u-padding-top-32{padding-top:1rem!important}.u-m-r-32{margin-right:1rem!important}.u-p-r-32{padding-right:1rem!important}.u-margin-right-32{margin-right:1rem!important}.u-padding-right-32{padding-right:1rem!important}.u-m-b-32{margin-bottom:1rem!important}.u-p-b-32{padding-bottom:1rem!important}.u-margin-bottom-32{margin-bottom:1rem!important}.u-padding-bottom-32{padding-bottom:1rem!important}.u-margin-34,.u-m-34{margin:1.0625rem!important}.u-padding-34,.u-p-34{padding:1.0625rem!important}.u-m-l-34{margin-left:1.0625rem!important}.u-p-l-34{padding-left:1.0625rem!important}.u-margin-left-34{margin-left:1.0625rem!important}.u-padding-left-34{padding-left:1.0625rem!important}.u-m-t-34{margin-top:1.0625rem!important}.u-p-t-34{padding-top:1.0625rem!important}.u-margin-top-34{margin-top:1.0625rem!important}.u-padding-top-34{padding-top:1.0625rem!important}.u-m-r-34{margin-right:1.0625rem!important}.u-p-r-34{padding-right:1.0625rem!important}.u-margin-right-34{margin-right:1.0625rem!important}.u-padding-right-34{padding-right:1.0625rem!important}.u-m-b-34{margin-bottom:1.0625rem!important}.u-p-b-34{padding-bottom:1.0625rem!important}.u-margin-bottom-34{margin-bottom:1.0625rem!important}.u-padding-bottom-34{padding-bottom:1.0625rem!important}.u-margin-35,.u-m-35{margin:1.09375rem!important}.u-padding-35,.u-p-35{padding:1.09375rem!important}.u-m-l-35{margin-left:1.09375rem!important}.u-p-l-35{padding-left:1.09375rem!important}.u-margin-left-35{margin-left:1.09375rem!important}.u-padding-left-35{padding-left:1.09375rem!important}.u-m-t-35{margin-top:1.09375rem!important}.u-p-t-35{padding-top:1.09375rem!important}.u-margin-top-35{margin-top:1.09375rem!important}.u-padding-top-35{padding-top:1.09375rem!important}.u-m-r-35{margin-right:1.09375rem!important}.u-p-r-35{padding-right:1.09375rem!important}.u-margin-right-35{margin-right:1.09375rem!important}.u-padding-right-35{padding-right:1.09375rem!important}.u-m-b-35{margin-bottom:1.09375rem!important}.u-p-b-35{padding-bottom:1.09375rem!important}.u-margin-bottom-35{margin-bottom:1.09375rem!important}.u-padding-bottom-35{padding-bottom:1.09375rem!important}.u-margin-36,.u-m-36{margin:1.125rem!important}.u-padding-36,.u-p-36{padding:1.125rem!important}.u-m-l-36{margin-left:1.125rem!important}.u-p-l-36{padding-left:1.125rem!important}.u-margin-left-36{margin-left:1.125rem!important}.u-padding-left-36{padding-left:1.125rem!important}.u-m-t-36{margin-top:1.125rem!important}.u-p-t-36{padding-top:1.125rem!important}.u-margin-top-36{margin-top:1.125rem!important}.u-padding-top-36{padding-top:1.125rem!important}.u-m-r-36{margin-right:1.125rem!important}.u-p-r-36{padding-right:1.125rem!important}.u-margin-right-36{margin-right:1.125rem!important}.u-padding-right-36{padding-right:1.125rem!important}.u-m-b-36{margin-bottom:1.125rem!important}.u-p-b-36{padding-bottom:1.125rem!important}.u-margin-bottom-36{margin-bottom:1.125rem!important}.u-padding-bottom-36{padding-bottom:1.125rem!important}.u-margin-38,.u-m-38{margin:1.1875rem!important}.u-padding-38,.u-p-38{padding:1.1875rem!important}.u-m-l-38{margin-left:1.1875rem!important}.u-p-l-38{padding-left:1.1875rem!important}.u-margin-left-38{margin-left:1.1875rem!important}.u-padding-left-38{padding-left:1.1875rem!important}.u-m-t-38{margin-top:1.1875rem!important}.u-p-t-38{padding-top:1.1875rem!important}.u-margin-top-38{margin-top:1.1875rem!important}.u-padding-top-38{padding-top:1.1875rem!important}.u-m-r-38{margin-right:1.1875rem!important}.u-p-r-38{padding-right:1.1875rem!important}.u-margin-right-38{margin-right:1.1875rem!important}.u-padding-right-38{padding-right:1.1875rem!important}.u-m-b-38{margin-bottom:1.1875rem!important}.u-p-b-38{padding-bottom:1.1875rem!important}.u-margin-bottom-38{margin-bottom:1.1875rem!important}.u-padding-bottom-38{padding-bottom:1.1875rem!important}.u-margin-40,.u-m-40{margin:1.25rem!important}.u-padding-40,.u-p-40{padding:1.25rem!important}.u-m-l-40{margin-left:1.25rem!important}.u-p-l-40{padding-left:1.25rem!important}.u-margin-left-40{margin-left:1.25rem!important}.u-padding-left-40{padding-left:1.25rem!important}.u-m-t-40{margin-top:1.25rem!important}.u-p-t-40{padding-top:1.25rem!important}.u-margin-top-40{margin-top:1.25rem!important}.u-padding-top-40{padding-top:1.25rem!important}.u-m-r-40{margin-right:1.25rem!important}.u-p-r-40{padding-right:1.25rem!important}.u-margin-right-40{margin-right:1.25rem!important}.u-padding-right-40{padding-right:1.25rem!important}.u-m-b-40{margin-bottom:1.25rem!important}.u-p-b-40{padding-bottom:1.25rem!important}.u-margin-bottom-40{margin-bottom:1.25rem!important}.u-padding-bottom-40{padding-bottom:1.25rem!important}.u-margin-42,.u-m-42{margin:1.3125rem!important}.u-padding-42,.u-p-42{padding:1.3125rem!important}.u-m-l-42{margin-left:1.3125rem!important}.u-p-l-42{padding-left:1.3125rem!important}.u-margin-left-42{margin-left:1.3125rem!important}.u-padding-left-42{padding-left:1.3125rem!important}.u-m-t-42{margin-top:1.3125rem!important}.u-p-t-42{padding-top:1.3125rem!important}.u-margin-top-42{margin-top:1.3125rem!important}.u-padding-top-42{padding-top:1.3125rem!important}.u-m-r-42{margin-right:1.3125rem!important}.u-p-r-42{padding-right:1.3125rem!important}.u-margin-right-42{margin-right:1.3125rem!important}.u-padding-right-42{padding-right:1.3125rem!important}.u-m-b-42{margin-bottom:1.3125rem!important}.u-p-b-42{padding-bottom:1.3125rem!important}.u-margin-bottom-42{margin-bottom:1.3125rem!important}.u-padding-bottom-42{padding-bottom:1.3125rem!important}.u-margin-44,.u-m-44{margin:1.375rem!important}.u-padding-44,.u-p-44{padding:1.375rem!important}.u-m-l-44{margin-left:1.375rem!important}.u-p-l-44{padding-left:1.375rem!important}.u-margin-left-44{margin-left:1.375rem!important}.u-padding-left-44{padding-left:1.375rem!important}.u-m-t-44{margin-top:1.375rem!important}.u-p-t-44{padding-top:1.375rem!important}.u-margin-top-44{margin-top:1.375rem!important}.u-padding-top-44{padding-top:1.375rem!important}.u-m-r-44{margin-right:1.375rem!important}.u-p-r-44{padding-right:1.375rem!important}.u-margin-right-44{margin-right:1.375rem!important}.u-padding-right-44{padding-right:1.375rem!important}.u-m-b-44{margin-bottom:1.375rem!important}.u-p-b-44{padding-bottom:1.375rem!important}.u-margin-bottom-44{margin-bottom:1.375rem!important}.u-padding-bottom-44{padding-bottom:1.375rem!important}.u-margin-45,.u-m-45{margin:1.40625rem!important}.u-padding-45,.u-p-45{padding:1.40625rem!important}.u-m-l-45{margin-left:1.40625rem!important}.u-p-l-45{padding-left:1.40625rem!important}.u-margin-left-45{margin-left:1.40625rem!important}.u-padding-left-45{padding-left:1.40625rem!important}.u-m-t-45{margin-top:1.40625rem!important}.u-p-t-45{padding-top:1.40625rem!important}.u-margin-top-45{margin-top:1.40625rem!important}.u-padding-top-45{padding-top:1.40625rem!important}.u-m-r-45{margin-right:1.40625rem!important}.u-p-r-45{padding-right:1.40625rem!important}.u-margin-right-45{margin-right:1.40625rem!important}.u-padding-right-45{padding-right:1.40625rem!important}.u-m-b-45{margin-bottom:1.40625rem!important}.u-p-b-45{padding-bottom:1.40625rem!important}.u-margin-bottom-45{margin-bottom:1.40625rem!important}.u-padding-bottom-45{padding-bottom:1.40625rem!important}.u-margin-46,.u-m-46{margin:1.4375rem!important}.u-padding-46,.u-p-46{padding:1.4375rem!important}.u-m-l-46{margin-left:1.4375rem!important}.u-p-l-46{padding-left:1.4375rem!important}.u-margin-left-46{margin-left:1.4375rem!important}.u-padding-left-46{padding-left:1.4375rem!important}.u-m-t-46{margin-top:1.4375rem!important}.u-p-t-46{padding-top:1.4375rem!important}.u-margin-top-46{margin-top:1.4375rem!important}.u-padding-top-46{padding-top:1.4375rem!important}.u-m-r-46{margin-right:1.4375rem!important}.u-p-r-46{padding-right:1.4375rem!important}.u-margin-right-46{margin-right:1.4375rem!important}.u-padding-right-46{padding-right:1.4375rem!important}.u-m-b-46{margin-bottom:1.4375rem!important}.u-p-b-46{padding-bottom:1.4375rem!important}.u-margin-bottom-46{margin-bottom:1.4375rem!important}.u-padding-bottom-46{padding-bottom:1.4375rem!important}.u-margin-48,.u-m-48{margin:1.5rem!important}.u-padding-48,.u-p-48{padding:1.5rem!important}.u-m-l-48{margin-left:1.5rem!important}.u-p-l-48{padding-left:1.5rem!important}.u-margin-left-48{margin-left:1.5rem!important}.u-padding-left-48{padding-left:1.5rem!important}.u-m-t-48{margin-top:1.5rem!important}.u-p-t-48{padding-top:1.5rem!important}.u-margin-top-48{margin-top:1.5rem!important}.u-padding-top-48{padding-top:1.5rem!important}.u-m-r-48{margin-right:1.5rem!important}.u-p-r-48{padding-right:1.5rem!important}.u-margin-right-48{margin-right:1.5rem!important}.u-padding-right-48{padding-right:1.5rem!important}.u-m-b-48{margin-bottom:1.5rem!important}.u-p-b-48{padding-bottom:1.5rem!important}.u-margin-bottom-48{margin-bottom:1.5rem!important}.u-padding-bottom-48{padding-bottom:1.5rem!important}.u-margin-50,.u-m-50{margin:1.5625rem!important}.u-padding-50,.u-p-50{padding:1.5625rem!important}.u-m-l-50{margin-left:1.5625rem!important}.u-p-l-50{padding-left:1.5625rem!important}.u-margin-left-50{margin-left:1.5625rem!important}.u-padding-left-50{padding-left:1.5625rem!important}.u-m-t-50{margin-top:1.5625rem!important}.u-p-t-50{padding-top:1.5625rem!important}.u-margin-top-50{margin-top:1.5625rem!important}.u-padding-top-50{padding-top:1.5625rem!important}.u-m-r-50{margin-right:1.5625rem!important}.u-p-r-50{padding-right:1.5625rem!important}.u-margin-right-50{margin-right:1.5625rem!important}.u-padding-right-50{padding-right:1.5625rem!important}.u-m-b-50{margin-bottom:1.5625rem!important}.u-p-b-50{padding-bottom:1.5625rem!important}.u-margin-bottom-50{margin-bottom:1.5625rem!important}.u-padding-bottom-50{padding-bottom:1.5625rem!important}.u-margin-52,.u-m-52{margin:1.625rem!important}.u-padding-52,.u-p-52{padding:1.625rem!important}.u-m-l-52{margin-left:1.625rem!important}.u-p-l-52{padding-left:1.625rem!important}.u-margin-left-52{margin-left:1.625rem!important}.u-padding-left-52{padding-left:1.625rem!important}.u-m-t-52{margin-top:1.625rem!important}.u-p-t-52{padding-top:1.625rem!important}.u-margin-top-52{margin-top:1.625rem!important}.u-padding-top-52{padding-top:1.625rem!important}.u-m-r-52{margin-right:1.625rem!important}.u-p-r-52{padding-right:1.625rem!important}.u-margin-right-52{margin-right:1.625rem!important}.u-padding-right-52{padding-right:1.625rem!important}.u-m-b-52{margin-bottom:1.625rem!important}.u-p-b-52{padding-bottom:1.625rem!important}.u-margin-bottom-52{margin-bottom:1.625rem!important}.u-padding-bottom-52{padding-bottom:1.625rem!important}.u-margin-54,.u-m-54{margin:1.6875rem!important}.u-padding-54,.u-p-54{padding:1.6875rem!important}.u-m-l-54{margin-left:1.6875rem!important}.u-p-l-54{padding-left:1.6875rem!important}.u-margin-left-54{margin-left:1.6875rem!important}.u-padding-left-54{padding-left:1.6875rem!important}.u-m-t-54{margin-top:1.6875rem!important}.u-p-t-54{padding-top:1.6875rem!important}.u-margin-top-54{margin-top:1.6875rem!important}.u-padding-top-54{padding-top:1.6875rem!important}.u-m-r-54{margin-right:1.6875rem!important}.u-p-r-54{padding-right:1.6875rem!important}.u-margin-right-54{margin-right:1.6875rem!important}.u-padding-right-54{padding-right:1.6875rem!important}.u-m-b-54{margin-bottom:1.6875rem!important}.u-p-b-54{padding-bottom:1.6875rem!important}.u-margin-bottom-54{margin-bottom:1.6875rem!important}.u-padding-bottom-54{padding-bottom:1.6875rem!important}.u-margin-55,.u-m-55{margin:1.71875rem!important}.u-padding-55,.u-p-55{padding:1.71875rem!important}.u-m-l-55{margin-left:1.71875rem!important}.u-p-l-55{padding-left:1.71875rem!important}.u-margin-left-55{margin-left:1.71875rem!important}.u-padding-left-55{padding-left:1.71875rem!important}.u-m-t-55{margin-top:1.71875rem!important}.u-p-t-55{padding-top:1.71875rem!important}.u-margin-top-55{margin-top:1.71875rem!important}.u-padding-top-55{padding-top:1.71875rem!important}.u-m-r-55{margin-right:1.71875rem!important}.u-p-r-55{padding-right:1.71875rem!important}.u-margin-right-55{margin-right:1.71875rem!important}.u-padding-right-55{padding-right:1.71875rem!important}.u-m-b-55{margin-bottom:1.71875rem!important}.u-p-b-55{padding-bottom:1.71875rem!important}.u-margin-bottom-55{margin-bottom:1.71875rem!important}.u-padding-bottom-55{padding-bottom:1.71875rem!important}.u-margin-56,.u-m-56{margin:1.75rem!important}.u-padding-56,.u-p-56{padding:1.75rem!important}.u-m-l-56{margin-left:1.75rem!important}.u-p-l-56{padding-left:1.75rem!important}.u-margin-left-56{margin-left:1.75rem!important}.u-padding-left-56{padding-left:1.75rem!important}.u-m-t-56{margin-top:1.75rem!important}.u-p-t-56{padding-top:1.75rem!important}.u-margin-top-56{margin-top:1.75rem!important}.u-padding-top-56{padding-top:1.75rem!important}.u-m-r-56{margin-right:1.75rem!important}.u-p-r-56{padding-right:1.75rem!important}.u-margin-right-56{margin-right:1.75rem!important}.u-padding-right-56{padding-right:1.75rem!important}.u-m-b-56{margin-bottom:1.75rem!important}.u-p-b-56{padding-bottom:1.75rem!important}.u-margin-bottom-56{margin-bottom:1.75rem!important}.u-padding-bottom-56{padding-bottom:1.75rem!important}.u-margin-58,.u-m-58{margin:1.8125rem!important}.u-padding-58,.u-p-58{padding:1.8125rem!important}.u-m-l-58{margin-left:1.8125rem!important}.u-p-l-58{padding-left:1.8125rem!important}.u-margin-left-58{margin-left:1.8125rem!important}.u-padding-left-58{padding-left:1.8125rem!important}.u-m-t-58{margin-top:1.8125rem!important}.u-p-t-58{padding-top:1.8125rem!important}.u-margin-top-58{margin-top:1.8125rem!important}.u-padding-top-58{padding-top:1.8125rem!important}.u-m-r-58{margin-right:1.8125rem!important}.u-p-r-58{padding-right:1.8125rem!important}.u-margin-right-58{margin-right:1.8125rem!important}.u-padding-right-58{padding-right:1.8125rem!important}.u-m-b-58{margin-bottom:1.8125rem!important}.u-p-b-58{padding-bottom:1.8125rem!important}.u-margin-bottom-58{margin-bottom:1.8125rem!important}.u-padding-bottom-58{padding-bottom:1.8125rem!important}.u-margin-60,.u-m-60{margin:1.875rem!important}.u-padding-60,.u-p-60{padding:1.875rem!important}.u-m-l-60{margin-left:1.875rem!important}.u-p-l-60{padding-left:1.875rem!important}.u-margin-left-60{margin-left:1.875rem!important}.u-padding-left-60{padding-left:1.875rem!important}.u-m-t-60{margin-top:1.875rem!important}.u-p-t-60{padding-top:1.875rem!important}.u-margin-top-60{margin-top:1.875rem!important}.u-padding-top-60{padding-top:1.875rem!important}.u-m-r-60{margin-right:1.875rem!important}.u-p-r-60{padding-right:1.875rem!important}.u-margin-right-60{margin-right:1.875rem!important}.u-padding-right-60{padding-right:1.875rem!important}.u-m-b-60{margin-bottom:1.875rem!important}.u-p-b-60{padding-bottom:1.875rem!important}.u-margin-bottom-60{margin-bottom:1.875rem!important}.u-padding-bottom-60{padding-bottom:1.875rem!important}.u-margin-62,.u-m-62{margin:1.9375rem!important}.u-padding-62,.u-p-62{padding:1.9375rem!important}.u-m-l-62{margin-left:1.9375rem!important}.u-p-l-62{padding-left:1.9375rem!important}.u-margin-left-62{margin-left:1.9375rem!important}.u-padding-left-62{padding-left:1.9375rem!important}.u-m-t-62{margin-top:1.9375rem!important}.u-p-t-62{padding-top:1.9375rem!important}.u-margin-top-62{margin-top:1.9375rem!important}.u-padding-top-62{padding-top:1.9375rem!important}.u-m-r-62{margin-right:1.9375rem!important}.u-p-r-62{padding-right:1.9375rem!important}.u-margin-right-62{margin-right:1.9375rem!important}.u-padding-right-62{padding-right:1.9375rem!important}.u-m-b-62{margin-bottom:1.9375rem!important}.u-p-b-62{padding-bottom:1.9375rem!important}.u-margin-bottom-62{margin-bottom:1.9375rem!important}.u-padding-bottom-62{padding-bottom:1.9375rem!important}.u-margin-64,.u-m-64{margin:2rem!important}.u-padding-64,.u-p-64{padding:2rem!important}.u-m-l-64{margin-left:2rem!important}.u-p-l-64{padding-left:2rem!important}.u-margin-left-64{margin-left:2rem!important}.u-padding-left-64{padding-left:2rem!important}.u-m-t-64{margin-top:2rem!important}.u-p-t-64{padding-top:2rem!important}.u-margin-top-64{margin-top:2rem!important}.u-padding-top-64{padding-top:2rem!important}.u-m-r-64{margin-right:2rem!important}.u-p-r-64{padding-right:2rem!important}.u-margin-right-64{margin-right:2rem!important}.u-padding-right-64{padding-right:2rem!important}.u-m-b-64{margin-bottom:2rem!important}.u-p-b-64{padding-bottom:2rem!important}.u-margin-bottom-64{margin-bottom:2rem!important}.u-padding-bottom-64{padding-bottom:2rem!important}.u-margin-65,.u-m-65{margin:2.03125rem!important}.u-padding-65,.u-p-65{padding:2.03125rem!important}.u-m-l-65{margin-left:2.03125rem!important}.u-p-l-65{padding-left:2.03125rem!important}.u-margin-left-65{margin-left:2.03125rem!important}.u-padding-left-65{padding-left:2.03125rem!important}.u-m-t-65{margin-top:2.03125rem!important}.u-p-t-65{padding-top:2.03125rem!important}.u-margin-top-65{margin-top:2.03125rem!important}.u-padding-top-65{padding-top:2.03125rem!important}.u-m-r-65{margin-right:2.03125rem!important}.u-p-r-65{padding-right:2.03125rem!important}.u-margin-right-65{margin-right:2.03125rem!important}.u-padding-right-65{padding-right:2.03125rem!important}.u-m-b-65{margin-bottom:2.03125rem!important}.u-p-b-65{padding-bottom:2.03125rem!important}.u-margin-bottom-65{margin-bottom:2.03125rem!important}.u-padding-bottom-65{padding-bottom:2.03125rem!important}.u-margin-66,.u-m-66{margin:2.0625rem!important}.u-padding-66,.u-p-66{padding:2.0625rem!important}.u-m-l-66{margin-left:2.0625rem!important}.u-p-l-66{padding-left:2.0625rem!important}.u-margin-left-66{margin-left:2.0625rem!important}.u-padding-left-66{padding-left:2.0625rem!important}.u-m-t-66{margin-top:2.0625rem!important}.u-p-t-66{padding-top:2.0625rem!important}.u-margin-top-66{margin-top:2.0625rem!important}.u-padding-top-66{padding-top:2.0625rem!important}.u-m-r-66{margin-right:2.0625rem!important}.u-p-r-66{padding-right:2.0625rem!important}.u-margin-right-66{margin-right:2.0625rem!important}.u-padding-right-66{padding-right:2.0625rem!important}.u-m-b-66{margin-bottom:2.0625rem!important}.u-p-b-66{padding-bottom:2.0625rem!important}.u-margin-bottom-66{margin-bottom:2.0625rem!important}.u-padding-bottom-66{padding-bottom:2.0625rem!important}.u-margin-68,.u-m-68{margin:2.125rem!important}.u-padding-68,.u-p-68{padding:2.125rem!important}.u-m-l-68{margin-left:2.125rem!important}.u-p-l-68{padding-left:2.125rem!important}.u-margin-left-68{margin-left:2.125rem!important}.u-padding-left-68{padding-left:2.125rem!important}.u-m-t-68{margin-top:2.125rem!important}.u-p-t-68{padding-top:2.125rem!important}.u-margin-top-68{margin-top:2.125rem!important}.u-padding-top-68{padding-top:2.125rem!important}.u-m-r-68{margin-right:2.125rem!important}.u-p-r-68{padding-right:2.125rem!important}.u-margin-right-68{margin-right:2.125rem!important}.u-padding-right-68{padding-right:2.125rem!important}.u-m-b-68{margin-bottom:2.125rem!important}.u-p-b-68{padding-bottom:2.125rem!important}.u-margin-bottom-68{margin-bottom:2.125rem!important}.u-padding-bottom-68{padding-bottom:2.125rem!important}.u-margin-70,.u-m-70{margin:2.1875rem!important}.u-padding-70,.u-p-70{padding:2.1875rem!important}.u-m-l-70{margin-left:2.1875rem!important}.u-p-l-70{padding-left:2.1875rem!important}.u-margin-left-70{margin-left:2.1875rem!important}.u-padding-left-70{padding-left:2.1875rem!important}.u-m-t-70{margin-top:2.1875rem!important}.u-p-t-70{padding-top:2.1875rem!important}.u-margin-top-70{margin-top:2.1875rem!important}.u-padding-top-70{padding-top:2.1875rem!important}.u-m-r-70{margin-right:2.1875rem!important}.u-p-r-70{padding-right:2.1875rem!important}.u-margin-right-70{margin-right:2.1875rem!important}.u-padding-right-70{padding-right:2.1875rem!important}.u-m-b-70{margin-bottom:2.1875rem!important}.u-p-b-70{padding-bottom:2.1875rem!important}.u-margin-bottom-70{margin-bottom:2.1875rem!important}.u-padding-bottom-70{padding-bottom:2.1875rem!important}.u-margin-72,.u-m-72{margin:2.25rem!important}.u-padding-72,.u-p-72{padding:2.25rem!important}.u-m-l-72{margin-left:2.25rem!important}.u-p-l-72{padding-left:2.25rem!important}.u-margin-left-72{margin-left:2.25rem!important}.u-padding-left-72{padding-left:2.25rem!important}.u-m-t-72{margin-top:2.25rem!important}.u-p-t-72{padding-top:2.25rem!important}.u-margin-top-72{margin-top:2.25rem!important}.u-padding-top-72{padding-top:2.25rem!important}.u-m-r-72{margin-right:2.25rem!important}.u-p-r-72{padding-right:2.25rem!important}.u-margin-right-72{margin-right:2.25rem!important}.u-padding-right-72{padding-right:2.25rem!important}.u-m-b-72{margin-bottom:2.25rem!important}.u-p-b-72{padding-bottom:2.25rem!important}.u-margin-bottom-72{margin-bottom:2.25rem!important}.u-padding-bottom-72{padding-bottom:2.25rem!important}.u-margin-74,.u-m-74{margin:2.3125rem!important}.u-padding-74,.u-p-74{padding:2.3125rem!important}.u-m-l-74{margin-left:2.3125rem!important}.u-p-l-74{padding-left:2.3125rem!important}.u-margin-left-74{margin-left:2.3125rem!important}.u-padding-left-74{padding-left:2.3125rem!important}.u-m-t-74{margin-top:2.3125rem!important}.u-p-t-74{padding-top:2.3125rem!important}.u-margin-top-74{margin-top:2.3125rem!important}.u-padding-top-74{padding-top:2.3125rem!important}.u-m-r-74{margin-right:2.3125rem!important}.u-p-r-74{padding-right:2.3125rem!important}.u-margin-right-74{margin-right:2.3125rem!important}.u-padding-right-74{padding-right:2.3125rem!important}.u-m-b-74{margin-bottom:2.3125rem!important}.u-p-b-74{padding-bottom:2.3125rem!important}.u-margin-bottom-74{margin-bottom:2.3125rem!important}.u-padding-bottom-74{padding-bottom:2.3125rem!important}.u-margin-75,.u-m-75{margin:2.34375rem!important}.u-padding-75,.u-p-75{padding:2.34375rem!important}.u-m-l-75{margin-left:2.34375rem!important}.u-p-l-75{padding-left:2.34375rem!important}.u-margin-left-75{margin-left:2.34375rem!important}.u-padding-left-75{padding-left:2.34375rem!important}.u-m-t-75{margin-top:2.34375rem!important}.u-p-t-75{padding-top:2.34375rem!important}.u-margin-top-75{margin-top:2.34375rem!important}.u-padding-top-75{padding-top:2.34375rem!important}.u-m-r-75{margin-right:2.34375rem!important}.u-p-r-75{padding-right:2.34375rem!important}.u-margin-right-75{margin-right:2.34375rem!important}.u-padding-right-75{padding-right:2.34375rem!important}.u-m-b-75{margin-bottom:2.34375rem!important}.u-p-b-75{padding-bottom:2.34375rem!important}.u-margin-bottom-75{margin-bottom:2.34375rem!important}.u-padding-bottom-75{padding-bottom:2.34375rem!important}.u-margin-76,.u-m-76{margin:2.375rem!important}.u-padding-76,.u-p-76{padding:2.375rem!important}.u-m-l-76{margin-left:2.375rem!important}.u-p-l-76{padding-left:2.375rem!important}.u-margin-left-76{margin-left:2.375rem!important}.u-padding-left-76{padding-left:2.375rem!important}.u-m-t-76{margin-top:2.375rem!important}.u-p-t-76{padding-top:2.375rem!important}.u-margin-top-76{margin-top:2.375rem!important}.u-padding-top-76{padding-top:2.375rem!important}.u-m-r-76{margin-right:2.375rem!important}.u-p-r-76{padding-right:2.375rem!important}.u-margin-right-76{margin-right:2.375rem!important}.u-padding-right-76{padding-right:2.375rem!important}.u-m-b-76{margin-bottom:2.375rem!important}.u-p-b-76{padding-bottom:2.375rem!important}.u-margin-bottom-76{margin-bottom:2.375rem!important}.u-padding-bottom-76{padding-bottom:2.375rem!important}.u-margin-78,.u-m-78{margin:2.4375rem!important}.u-padding-78,.u-p-78{padding:2.4375rem!important}.u-m-l-78{margin-left:2.4375rem!important}.u-p-l-78{padding-left:2.4375rem!important}.u-margin-left-78{margin-left:2.4375rem!important}.u-padding-left-78{padding-left:2.4375rem!important}.u-m-t-78{margin-top:2.4375rem!important}.u-p-t-78{padding-top:2.4375rem!important}.u-margin-top-78{margin-top:2.4375rem!important}.u-padding-top-78{padding-top:2.4375rem!important}.u-m-r-78{margin-right:2.4375rem!important}.u-p-r-78{padding-right:2.4375rem!important}.u-margin-right-78{margin-right:2.4375rem!important}.u-padding-right-78{padding-right:2.4375rem!important}.u-m-b-78{margin-bottom:2.4375rem!important}.u-p-b-78{padding-bottom:2.4375rem!important}.u-margin-bottom-78{margin-bottom:2.4375rem!important}.u-padding-bottom-78{padding-bottom:2.4375rem!important}.u-margin-80,.u-m-80{margin:2.5rem!important}.u-padding-80,.u-p-80{padding:2.5rem!important}.u-m-l-80{margin-left:2.5rem!important}.u-p-l-80{padding-left:2.5rem!important}.u-margin-left-80{margin-left:2.5rem!important}.u-padding-left-80{padding-left:2.5rem!important}.u-m-t-80{margin-top:2.5rem!important}.u-p-t-80{padding-top:2.5rem!important}.u-margin-top-80{margin-top:2.5rem!important}.u-padding-top-80{padding-top:2.5rem!important}.u-m-r-80{margin-right:2.5rem!important}.u-p-r-80{padding-right:2.5rem!important}.u-margin-right-80{margin-right:2.5rem!important}.u-padding-right-80{padding-right:2.5rem!important}.u-m-b-80{margin-bottom:2.5rem!important}.u-p-b-80{padding-bottom:2.5rem!important}.u-margin-bottom-80{margin-bottom:2.5rem!important}.u-padding-bottom-80{padding-bottom:2.5rem!important}.u-reset-nvue{flex-direction:row;align-items:center}.u-type-primary-light{color:#ecf5ff}.u-type-warning-light{color:#fdf6ec}.u-type-success-light{color:#dbf1e1}.u-type-error-light{color:#fef0f0}.u-type-info-light{color:#f4f4f5}.u-type-primary-light-bg{background-color:#ecf5ff}.u-type-warning-light-bg{background-color:#fdf6ec}.u-type-success-light-bg{background-color:#dbf1e1}.u-type-error-light-bg{background-color:#fef0f0}.u-type-info-light-bg{background-color:#f4f4f5}.u-type-primary-dark{color:#2b85e4}.u-type-warning-dark{color:#f29100}.u-type-success-dark{color:#18b566}.u-type-error-dark{color:#dd6161}.u-type-info-dark{color:#82848a}.u-type-primary-dark-bg{background-color:#2b85e4}.u-type-warning-dark-bg{background-color:#f29100}.u-type-success-dark-bg{background-color:#18b566}.u-type-error-dark-bg{background-color:#dd6161}.u-type-info-dark-bg{background-color:#82848a}.u-type-primary-disabled{color:#a0cfff}.u-type-warning-disabled{color:#fcbd71}.u-type-success-disabled{color:#71d5a1}.u-type-error-disabled{color:#fab6b6}.u-type-info-disabled{color:#c8c9cc}.u-type-primary{color:#4173ff}.u-type-warning{color:#f90}.u-type-success{color:#19be6b}.u-type-error{color:#fa3534}.u-type-info{color:#909399}.u-type-primary-bg{background-color:#4173ff}.u-type-warning-bg{background-color:#f90}.u-type-success-bg{background-color:#19be6b}.u-type-error-bg{background-color:#fa3534}.u-type-info-bg{background-color:#909399}.u-main-color{color:#333}.u-content-color{color:#666}.u-tips-color{color:#999}.u-light-color{color:#c0c4cc}uni-page-body{color:#333;font-size:.875rem}.u-fix-ios-appearance{-webkit-appearance:none}.u-icon-wrap{display:flex;align-items:center}.safe-area-inset-bottom{padding-bottom:0;padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}.u-hover-class{opacity:.6}.u-cell-hover{background-color:#f7f8f9!important}.u-line-1{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.u-line-2{-webkit-line-clamp:2}.u-line-3{-webkit-line-clamp:3}.u-line-4{-webkit-line-clamp:4}.u-line-5{-webkit-line-clamp:5}.u-line-2,.u-line-3,.u-line-4,.u-line-5{overflow:hidden;word-break:break-all;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical}.u-border,.u-border-bottom,.u-border-left,.u-border-right,.u-border-top,.u-border-top-bottom{position:relative}.u-border-bottom:after,.u-border-left:after,.u-border-right:after,.u-border-top-bottom:after,.u-border-top:after,.u-border:after{content:" ";position:absolute;left:0;top:0;pointer-events:none;box-sizing:border-box;transform-origin:0 0;width:199.8%;height:199.7%;transform:scale(.5);border:0 solid #e5e5e5;z-index:2}.u-border-top:after{border-top-width:1px}.u-border-left:after{border-left-width:1px}.u-border-right:after{border-right-width:1px}.u-border-bottom:after{border-bottom-width:1px}.u-border-top-bottom:after{border-width:1px 0}.u-border:after{border-width:1px}.u-clearfix:after,.clearfix:after{content:"";display:table;clear:both}.u-blur-effect-inset{width:23.4375rem;height:var(--window-bottom);background-color:#fff}uni-toast{z-index:10090}uni-toast .uni-toast{z-index:10090}.u-reset-button{padding:0;font-size:inherit;line-height:inherit;background-color:transparent;color:inherit}.u-reset-button:after{border:none}::-webkit-scrollbar{display:none;width:0!important;height:0!important;-webkit-appearance:none;background:transparent}
diff --git a/h5/assets/index.f454d8a6.js b/h5/assets/index.ef372d98.js
similarity index 54%
rename from h5/assets/index.f454d8a6.js
rename to h5/assets/index.ef372d98.js
index 16a0cf0b..d81b36fe 100644
--- a/h5/assets/index.f454d8a6.js
+++ b/h5/assets/index.ef372d98.js
@@ -1,9 +1,9 @@
-var __defProp=Object.defineProperty,__defNormalProp=(e,t,n)=>t in e?__defProp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,__publicField=(e,t,n)=>(__defNormalProp(e,"symbol"!=typeof t?t+"":t,n),n);const p$2=function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))t(e);new MutationObserver((e=>{for(const n of e)if("childList"===n.type)for(const e of n.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&t(e)})).observe(document,{childList:!0,subtree:!0})}function t(e){if(e.ep)return;e.ep=!0;const t=function(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerpolicy&&(t.referrerPolicy=e.referrerpolicy),"use-credentials"===e.crossorigin?t.credentials="include":"anonymous"===e.crossorigin?t.credentials="omit":t.credentials="same-origin",t}(e);fetch(e.href,t)}};p$2();const scriptRel="modulepreload",seen={},base$1="/",__vitePreload=function(e,t){return t&&0!==t.length?Promise.all(t.map((e=>{if((e=`${base$1}${e}`)in seen)return;seen[e]=!0;const t=e.endsWith(".css"),n=t?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${e}"]${n}`))return;const o=document.createElement("link");return o.rel=t?"stylesheet":scriptRel,t||(o.as="script",o.crossOrigin=""),o.href=e,document.head.appendChild(o),t?new Promise(((t,n)=>{o.addEventListener("load",t),o.addEventListener("error",(()=>n(new Error(`Unable to preload CSS for ${e}`))))})):void 0}))).then((()=>e())):e()};function makeMap(e,t){const n=Object.create(null),o=e.split(",");for(let r=0;r!!n[e.toLowerCase()]:e=>!!n[e]}const specialBooleanAttrs="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",isSpecialBooleanAttr=makeMap(specialBooleanAttrs);function includeBooleanAttr(e){return!!e||""===e}const isNoUnitNumericStyleProp=makeMap("animation-iteration-count,border-image-outset,border-image-slice,border-image-width,box-flex,box-flex-group,box-ordinal-group,column-count,columns,flex,flex-grow,flex-positive,flex-shrink,flex-negative,flex-order,grid-row,grid-row-end,grid-row-span,grid-row-start,grid-column,grid-column-end,grid-column-span,grid-column-start,font-weight,line-clamp,line-height,opacity,order,orphans,tab-size,widows,z-index,zoom,fill-opacity,flood-opacity,stop-opacity,stroke-dasharray,stroke-dashoffset,stroke-miterlimit,stroke-opacity,stroke-width");function normalizeStyle(e){if(isArray$4(e)){const t={};for(let n=0;n{if(e){const n=e.split(propertyDelimiterRE);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function stringifyStyle(e){let t="";if(!e||isString(e))return t;for(const n in e){const o=e[n],r=n.startsWith("--")?n:hyphenate(n);(isString(o)||"number"==typeof o&&isNoUnitNumericStyleProp(r))&&(t+=`${r}:${o};`)}return t}function normalizeClass(e){let t="";if(isString(e))t=e;else if(isArray$4(e))for(let n=0;nisString(e)?e:null==e?"":isArray$4(e)||isObject$2(e)&&(e.toString===objectToString$1||!isFunction$1(e.toString))?JSON.stringify(e,replacer,2):String(e),replacer=(e,t)=>t&&t.__v_isRef?replacer(e,t.value):isMap(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n])=>(e[`${t} =>`]=n,e)),{})}:isSet(t)?{[`Set(${t.size})`]:[...t.values()]}:!isObject$2(t)||isArray$4(t)||isPlainObject$2(t)?t:String(t),EMPTY_OBJ={},EMPTY_ARR=[],NOOP=()=>{},NO=()=>!1,onRE=/^on[^a-z]/,isOn=e=>onRE.test(e),isModelListener=e=>e.startsWith("onUpdate:"),extend$1=Object.assign,remove=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},hasOwnProperty$a=Object.prototype.hasOwnProperty,hasOwn$1=(e,t)=>hasOwnProperty$a.call(e,t),isArray$4=Array.isArray,isMap=e=>"[object Map]"===toTypeString(e),isSet=e=>"[object Set]"===toTypeString(e),isFunction$1=e=>"function"==typeof e,isString=e=>"string"==typeof e,isSymbol=e=>"symbol"==typeof e,isObject$2=e=>null!==e&&"object"==typeof e,isPromise=e=>isObject$2(e)&&isFunction$1(e.then)&&isFunction$1(e.catch),objectToString$1=Object.prototype.toString,toTypeString=e=>objectToString$1.call(e),toRawType=e=>toTypeString(e).slice(8,-1),isPlainObject$2=e=>"[object Object]"===toTypeString(e),isIntegerKey=e=>isString(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,isReservedProp=makeMap(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),cacheStringFunction=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},camelizeRE=/-(\w)/g,camelize=cacheStringFunction((e=>e.replace(camelizeRE,((e,t)=>t?t.toUpperCase():"")))),hyphenateRE=/\B([A-Z])/g,hyphenate=cacheStringFunction((e=>e.replace(hyphenateRE,"-$1").toLowerCase())),capitalize=cacheStringFunction((e=>e.charAt(0).toUpperCase()+e.slice(1))),toHandlerKey=cacheStringFunction((e=>e?`on${capitalize(e)}`:"")),hasChanged=(e,t)=>!Object.is(e,t),invokeArrayFns$1=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},toNumber=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let _globalThis;const getGlobalThis=()=>_globalThis||(_globalThis="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{}),BUILT_IN_TAG_NAMES=["ad","ad-content-page","ad-draw","audio","button","camera","canvas","checkbox","checkbox-group","cover-image","cover-view","editor","form","functional-page-navigator","icon","image","input","label","live-player","live-pusher","map","movable-area","movable-view","navigator","official-account","open-data","picker","picker-view","picker-view-column","progress","radio","radio-group","rich-text","scroll-view","slider","swiper","swiper-item","switch","text","textarea","video","view","web-view"],BUILT_IN_TAGS=BUILT_IN_TAG_NAMES.map((e=>"uni-"+e));function isBuiltInComponent(e){return-1!==BUILT_IN_TAGS.indexOf("uni-"+e.replace("v-uni-",""))}const LINEFEED="\n",NAVBAR_HEIGHT=44,ON_REACH_BOTTOM_DISTANCE=50,UNI_STORAGE_LOCALE="UNI_LOCALE",I18N_JSON_DELIMITERS=["%","%"],PRIMARY_COLOR="#007aff",SCHEME_RE=/^([a-z-]+:)?\/\//i,DATA_RE=/^data:.*,.*/,WEB_INVOKE_APPSERVICE="WEB_INVOKE_APPSERVICE",ON_SHOW="onShow",ON_HIDE="onHide",ON_LAUNCH="onLaunch",ON_ERROR="onError",ON_THEME_CHANGE="onThemeChange",ON_PAGE_NOT_FOUND="onPageNotFound",ON_UNHANDLE_REJECTION="onUnhandledRejection",ON_LOAD="onLoad",ON_READY="onReady",ON_UNLOAD="onUnload",ON_INIT="onInit",ON_SAVE_EXIT_STATE="onSaveExitState",ON_RESIZE="onResize",ON_BACK_PRESS="onBackPress",ON_PAGE_SCROLL="onPageScroll",ON_TAB_ITEM_TAP="onTabItemTap",ON_REACH_BOTTOM="onReachBottom",ON_PULL_DOWN_REFRESH="onPullDownRefresh",ON_SHARE_TIMELINE="onShareTimeline",ON_ADD_TO_FAVORITES="onAddToFavorites",ON_SHARE_APP_MESSAGE="onShareAppMessage",ON_NAVIGATION_BAR_BUTTON_TAP="onNavigationBarButtonTap",ON_NAVIGATION_BAR_CHANGE="onNavigationBarChange",ON_NAVIGATION_BAR_SEARCH_INPUT_CLICKED="onNavigationBarSearchInputClicked",ON_NAVIGATION_BAR_SEARCH_INPUT_CHANGED="onNavigationBarSearchInputChanged",ON_NAVIGATION_BAR_SEARCH_INPUT_CONFIRMED="onNavigationBarSearchInputConfirmed",ON_NAVIGATION_BAR_SEARCH_INPUT_FOCUS_CHANGED="onNavigationBarSearchInputFocusChanged",ON_APP_ENTER_FOREGROUND="onAppEnterForeground",ON_APP_ENTER_BACKGROUND="onAppEnterBackground",ON_WEB_INVOKE_APP_SERVICE="onWebInvokeAppService",ON_WXS_INVOKE_CALL_METHOD="onWxsInvokeCallMethod";function isComponentInternalInstance(e){return!!e.appContext}function resolveComponentInstance(e){return e&&(isComponentInternalInstance(e)?e.proxy:e)}function resolveOwnerVm(e){if(!e)return;let t=e.type.name;for(;t&&isBuiltInComponent(hyphenate(t));)t=(e=e.parent).type.name;return e.proxy}function isElement(e){return 1===e.nodeType}function resolveOwnerEl(e){const{vnode:t}=e;if(isElement(t.el))return t.el;const{subTree:n}=e;if(16&n.shapeFlag){const e=n.children.find((e=>e.el&&isElement(e.el)));if(e)return e.el}return t.el}function getLen(e=""){return(""+e).replace(/[^\x00-\xff]/g,"**").length}function hasLeadingSlash(e){return 0===e.indexOf("/")}function addLeadingSlash(e){return hasLeadingSlash(e)?e:"/"+e}function removeLeadingSlash(e){return hasLeadingSlash(e)?e.slice(1):e}const invokeArrayFns=(e,t)=>{let n;for(let o=0;o(e&&(n=e.apply(t,o),e=null),n)}function callOptions(e,t){e=e||{},isString(t)&&(t={errMsg:t}),/:ok$/.test(t.errMsg)?isFunction$1(e.success)&&e.success(t):isFunction$1(e.fail)&&e.fail(t),isFunction$1(e.complete)&&e.complete(t)}function sortObject(e){let t={};return isPlainObject$2(e)&&Object.keys(e).sort().forEach((n=>{const o=n;t[o]=e[o]})),Object.keys(t)?t:e}function formatKey(e){return camelize(e.substring(5))}const initCustomDatasetOnce=once((()=>{const e=HTMLElement.prototype,t=e.setAttribute;e.setAttribute=function(e,n){if(e.startsWith("data-")&&this.tagName.startsWith("UNI-")){(this.__uniDataset||(this.__uniDataset={}))[formatKey(e)]=n}t.call(this,e,n)};const n=e.removeAttribute;e.removeAttribute=function(e){this.__uniDataset&&e.startsWith("data-")&&this.tagName.startsWith("UNI-")&&delete this.__uniDataset[formatKey(e)],n.call(this,e)}}));function getCustomDataset(e){return extend$1({},e.dataset,e.__uniDataset)}function passive(e){return{passive:e}}function normalizeTarget(e){const{id:t,offsetTop:n,offsetLeft:o}=e;return{id:t,dataset:getCustomDataset(e),offsetTop:n,offsetLeft:o}}function scrollTo(e,t,n){if(isString(e)){const t=document.querySelector(e);if(t){const{height:o,top:r}=t.getBoundingClientRect();e=r+window.pageYOffset,n&&(e-=o)}}e<0&&(e=0);const o=document.documentElement,{clientHeight:r,scrollHeight:i}=o;if(e=Math.min(e,i-r),0===t)return void(o.scrollTop=document.body.scrollTop=e);if(window.scrollY===e)return;const a=t=>{if(t<=0)return void window.scrollTo(0,e);const n=e-window.scrollY;requestAnimationFrame((function(){window.scrollTo(0,window.scrollY+n/t*10),a(t-10)}))};a(t)}function decode$1(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}function decodedQuery(e={}){const t={};return Object.keys(e).forEach((n=>{try{t[n]=decode$1(e[n])}catch(o){t[n]=e[n]}})),t}const PLUS_RE$1=/\+/g;function parseQuery$1(e){const t={};if(""===e||"?"===e)return t;const n=("?"===e[0]?e.slice(1):e).split("&");for(let o=0;oe.apply(this,arguments);r=o(i,t)};return i.cancel=function(){n(r)},i}class EventChannel{constructor(e,t){this.id=e,this.listener={},this.emitCache={},t&&Object.keys(t).forEach((e=>{this.on(e,t[e])}))}emit(e,...t){const n=this.listener[e];if(!n)return(this.emitCache[e]||(this.emitCache[e]=[])).push(t);n.forEach((e=>{e.fn.apply(e.fn,t)})),this.listener[e]=n.filter((e=>"once"!==e.type))}on(e,t){this._addListener(e,"on",t),this._clearCache(e)}once(e,t){this._addListener(e,"once",t),this._clearCache(e)}off(e,t){const n=this.listener[e];if(n)if(t)for(let o=0;o0;)this.emit.apply(this,[e,...t.shift()])}_addListener(e,t,n){(this.listener[e]||(this.listener[e]=[])).push({fn:n,type:t})}}const PAGE_HOOKS=[ON_INIT,ON_LOAD,ON_SHOW,ON_HIDE,ON_UNLOAD,ON_BACK_PRESS,ON_PAGE_SCROLL,ON_TAB_ITEM_TAP,ON_REACH_BOTTOM,ON_PULL_DOWN_REFRESH,ON_SHARE_TIMELINE,ON_SHARE_APP_MESSAGE,ON_ADD_TO_FAVORITES,ON_SAVE_EXIT_STATE,ON_NAVIGATION_BAR_BUTTON_TAP,ON_NAVIGATION_BAR_SEARCH_INPUT_CLICKED,ON_NAVIGATION_BAR_SEARCH_INPUT_CHANGED,ON_NAVIGATION_BAR_SEARCH_INPUT_CONFIRMED,ON_NAVIGATION_BAR_SEARCH_INPUT_FOCUS_CHANGED],PAGE_SYNC_HOOKS=[ON_LOAD,ON_SHOW];function isRootImmediateHook(e){return PAGE_SYNC_HOOKS.indexOf(e)>-1}function isRootHook(e){return PAGE_HOOKS.indexOf(e)>-1}const UniLifecycleHooks=[ON_SHOW,ON_HIDE,ON_LAUNCH,ON_ERROR,ON_THEME_CHANGE,ON_PAGE_NOT_FOUND,ON_UNHANDLE_REJECTION,ON_INIT,ON_LOAD,ON_READY,ON_UNLOAD,ON_RESIZE,ON_BACK_PRESS,ON_PAGE_SCROLL,ON_TAB_ITEM_TAP,ON_REACH_BOTTOM,ON_PULL_DOWN_REFRESH,ON_SHARE_TIMELINE,ON_ADD_TO_FAVORITES,ON_SHARE_APP_MESSAGE,ON_SAVE_EXIT_STATE,ON_NAVIGATION_BAR_BUTTON_TAP,ON_NAVIGATION_BAR_SEARCH_INPUT_CLICKED,ON_NAVIGATION_BAR_SEARCH_INPUT_CHANGED,ON_NAVIGATION_BAR_SEARCH_INPUT_CONFIRMED,ON_NAVIGATION_BAR_SEARCH_INPUT_FOCUS_CHANGED],createVueAppHooks=[];function invokeCreateVueAppHook(e){createVueAppHooks.forEach((t=>t(e)))}const E=function(){};E.prototype={on:function(e,t,n){var o=this.e||(this.e={});return(o[e]||(o[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){var o=this;function r(){o.off(e,r),t.apply(n,arguments)}return r._=t,this.on(e,r,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),o=0,r=n.length;o{const t=new Set(e);return t.w=0,t.n=0,t},wasTracked=e=>(e.w&trackOpBit)>0,newTracked=e=>(e.n&trackOpBit)>0,initDepMarkers=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let o=0;o{("length"===t||t>=o)&&s.push(e)}));else switch(void 0!==n&&s.push(a.get(n)),t){case"add":isArray$4(e)?isIntegerKey(n)&&s.push(a.get("length")):(s.push(a.get(ITERATE_KEY)),isMap(e)&&s.push(a.get(MAP_KEY_ITERATE_KEY)));break;case"delete":isArray$4(e)||(s.push(a.get(ITERATE_KEY)),isMap(e)&&s.push(a.get(MAP_KEY_ITERATE_KEY)));break;case"set":isMap(e)&&s.push(a.get(ITERATE_KEY))}if(1===s.length)s[0]&&triggerEffects(s[0]);else{const e=[];for(const t of s)t&&e.push(...t);triggerEffects(createDep(e))}}function triggerEffects(e,t){const n=isArray$4(e)?e:[...e];for(const o of n)o.computed&&triggerEffect(o);for(const o of n)o.computed||triggerEffect(o)}function triggerEffect(e,t){(e!==activeEffect||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const isNonTrackableKeys=makeMap("__proto__,__v_isRef,__isVue"),builtInSymbols=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(isSymbol)),get=createGetter(),shallowGet=createGetter(!1,!0),readonlyGet=createGetter(!0),arrayInstrumentations=createArrayInstrumentations();function createArrayInstrumentations(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=toRaw(this);for(let t=0,r=this.length;t{e[t]=function(...e){pauseTracking();const n=toRaw(this)[t].apply(this,e);return resetTracking(),n}})),e}function createGetter(e=!1,t=!1){return function(n,o,r){if("__v_isReactive"===o)return!e;if("__v_isReadonly"===o)return e;if("__v_isShallow"===o)return t;if("__v_raw"===o&&r===(e?t?shallowReadonlyMap:readonlyMap:t?shallowReactiveMap:reactiveMap).get(n))return n;const i=isArray$4(n);if(!e&&i&&hasOwn$1(arrayInstrumentations,o))return Reflect.get(arrayInstrumentations,o,r);const a=Reflect.get(n,o,r);return(isSymbol(o)?builtInSymbols.has(o):isNonTrackableKeys(o))?a:(e||track(n,"get",o),t?a:isRef(a)?i&&isIntegerKey(o)?a:a.value:isObject$2(a)?e?readonly(a):reactive(a):a)}}const set$1=createSetter(),shallowSet=createSetter(!0);function createSetter(e=!1){return function(t,n,o,r){let i=t[n];if(isReadonly(i)&&isRef(i)&&!isRef(o))return!1;if(!e&&!isReadonly(o)&&(isShallow(o)||(o=toRaw(o),i=toRaw(i)),!isArray$4(t)&&isRef(i)&&!isRef(o)))return i.value=o,!0;const a=isArray$4(t)&&isIntegerKey(n)?Number(n)!0,deleteProperty:(e,t)=>!0},shallowReactiveHandlers=extend$1({},mutableHandlers,{get:shallowGet,set:shallowSet}),toShallow=e=>e,getProto=e=>Reflect.getPrototypeOf(e);function get$1(e,t,n=!1,o=!1){const r=toRaw(e=e.__v_raw),i=toRaw(t);n||(t!==i&&track(r,"get",t),track(r,"get",i));const{has:a}=getProto(r),s=o?toShallow:n?toReadonly:toReactive;return a.call(r,t)?s(e.get(t)):a.call(r,i)?s(e.get(i)):void(e!==r&&e.get(t))}function has$1(e,t=!1){const n=this.__v_raw,o=toRaw(n),r=toRaw(e);return t||(e!==r&&track(o,"has",e),track(o,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function size(e,t=!1){return e=e.__v_raw,!t&&track(toRaw(e),"iterate",ITERATE_KEY),Reflect.get(e,"size",e)}function add(e){e=toRaw(e);const t=toRaw(this);return getProto(t).has.call(t,e)||(t.add(e),trigger(t,"add",e,e)),this}function set$1$1(e,t){t=toRaw(t);const n=toRaw(this),{has:o,get:r}=getProto(n);let i=o.call(n,e);i||(e=toRaw(e),i=o.call(n,e));const a=r.call(n,e);return n.set(e,t),i?hasChanged(t,a)&&trigger(n,"set",e,t):trigger(n,"add",e,t),this}function deleteEntry(e){const t=toRaw(this),{has:n,get:o}=getProto(t);let r=n.call(t,e);r||(e=toRaw(e),r=n.call(t,e)),o&&o.call(t,e);const i=t.delete(e);return r&&trigger(t,"delete",e,void 0),i}function clear(){const e=toRaw(this),t=0!==e.size,n=e.clear();return t&&trigger(e,"clear",void 0,void 0),n}function createForEach(e,t){return function(n,o){const r=this,i=r.__v_raw,a=toRaw(i),s=t?toShallow:e?toReadonly:toReactive;return!e&&track(a,"iterate",ITERATE_KEY),i.forEach(((e,t)=>n.call(o,s(e),s(t),r)))}}function createIterableMethod(e,t,n){return function(...o){const r=this.__v_raw,i=toRaw(r),a=isMap(i),s="entries"===e||e===Symbol.iterator&&a,c="keys"===e&&a,l=r[e](...o),u=n?toShallow:t?toReadonly:toReactive;return!t&&track(i,"iterate",c?MAP_KEY_ITERATE_KEY:ITERATE_KEY),{next(){const{value:e,done:t}=l.next();return t?{value:e,done:t}:{value:s?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}function createReadonlyMethod(e){return function(...t){return"delete"!==e&&this}}function createInstrumentations(){const e={get(e){return get$1(this,e)},get size(){return size(this)},has:has$1,add:add,set:set$1$1,delete:deleteEntry,clear:clear,forEach:createForEach(!1,!1)},t={get(e){return get$1(this,e,!1,!0)},get size(){return size(this)},has:has$1,add:add,set:set$1$1,delete:deleteEntry,clear:clear,forEach:createForEach(!1,!0)},n={get(e){return get$1(this,e,!0)},get size(){return size(this,!0)},has(e){return has$1.call(this,e,!0)},add:createReadonlyMethod("add"),set:createReadonlyMethod("set"),delete:createReadonlyMethod("delete"),clear:createReadonlyMethod("clear"),forEach:createForEach(!0,!1)},o={get(e){return get$1(this,e,!0,!0)},get size(){return size(this,!0)},has(e){return has$1.call(this,e,!0)},add:createReadonlyMethod("add"),set:createReadonlyMethod("set"),delete:createReadonlyMethod("delete"),clear:createReadonlyMethod("clear"),forEach:createForEach(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((r=>{e[r]=createIterableMethod(r,!1,!1),n[r]=createIterableMethod(r,!0,!1),t[r]=createIterableMethod(r,!1,!0),o[r]=createIterableMethod(r,!0,!0)})),[e,n,t,o]}const[mutableInstrumentations,readonlyInstrumentations,shallowInstrumentations,shallowReadonlyInstrumentations]=createInstrumentations();function createInstrumentationGetter(e,t){const n=t?e?shallowReadonlyInstrumentations:shallowInstrumentations:e?readonlyInstrumentations:mutableInstrumentations;return(t,o,r)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get(hasOwn$1(n,o)&&o in t?n:t,o,r)}const mutableCollectionHandlers={get:createInstrumentationGetter(!1,!1)},shallowCollectionHandlers={get:createInstrumentationGetter(!1,!0)},readonlyCollectionHandlers={get:createInstrumentationGetter(!0,!1)},reactiveMap=new WeakMap,shallowReactiveMap=new WeakMap,readonlyMap=new WeakMap,shallowReadonlyMap=new WeakMap;function targetTypeMap(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function getTargetType(e){return e.__v_skip||!Object.isExtensible(e)?0:targetTypeMap(toRawType(e))}function reactive(e){return isReadonly(e)?e:createReactiveObject(e,!1,mutableHandlers,mutableCollectionHandlers,reactiveMap)}function shallowReactive(e){return createReactiveObject(e,!1,shallowReactiveHandlers,shallowCollectionHandlers,shallowReactiveMap)}function readonly(e){return createReactiveObject(e,!0,readonlyHandlers,readonlyCollectionHandlers,readonlyMap)}function createReactiveObject(e,t,n,o,r){if(!isObject$2(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const a=getTargetType(e);if(0===a)return e;const s=new Proxy(e,2===a?o:n);return r.set(e,s),s}function isReactive(e){return isReadonly(e)?isReactive(e.__v_raw):!(!e||!e.__v_isReactive)}function isReadonly(e){return!(!e||!e.__v_isReadonly)}function isShallow(e){return!(!e||!e.__v_isShallow)}function isProxy(e){return isReactive(e)||isReadonly(e)}function toRaw(e){const t=e&&e.__v_raw;return t?toRaw(t):e}function markRaw(e){return def(e,"__v_skip",!0),e}const toReactive=e=>isObject$2(e)?reactive(e):e,toReadonly=e=>isObject$2(e)?readonly(e):e;function trackRefValue(e){shouldTrack&&activeEffect&&trackEffects((e=toRaw(e)).dep||(e.dep=createDep()))}function triggerRefValue(e,t){(e=toRaw(e)).dep&&triggerEffects(e.dep)}function isRef(e){return!(!e||!0!==e.__v_isRef)}function ref(e){return createRef(e,!1)}function shallowRef(e){return createRef(e,!0)}function createRef(e,t){return isRef(e)?e:new RefImpl(e,t)}class RefImpl{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:toRaw(e),this._value=t?e:toReactive(e)}get value(){return trackRefValue(this),this._value}set value(e){e=this.__v_isShallow?e:toRaw(e),hasChanged(e,this._rawValue)&&(this._rawValue=e,this._value=this.__v_isShallow?e:toReactive(e),triggerRefValue(this))}}function unref(e){return isRef(e)?e.value:e}const shallowUnwrapHandlers={get:(e,t,n)=>unref(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return isRef(r)&&!isRef(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function proxyRefs(e){return isReactive(e)?e:new Proxy(e,shallowUnwrapHandlers)}function toRefs(e){const t=isArray$4(e)?new Array(e.length):{};for(const n in e)t[n]=toRef(e,n);return t}class ObjectRefImpl{constructor(e,t,n){this._object=e,this._key=t,this._defaultValue=n,this.__v_isRef=!0}get value(){const e=this._object[this._key];return void 0===e?this._defaultValue:e}set value(e){this._object[this._key]=e}}function toRef(e,t,n){const o=e[t];return isRef(o)?o:new ObjectRefImpl(e,t,n)}class ComputedRefImpl{constructor(e,t,n,o){this._setter=t,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new ReactiveEffect(e,(()=>{this._dirty||(this._dirty=!0,triggerRefValue(this))})),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=n}get value(){const e=toRaw(this);return trackRefValue(e),!e._dirty&&e._cacheable||(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}function computed(e,t,n=!1){let o,r;const i=isFunction$1(e);i?(o=e,r=NOOP):(o=e.get,r=e.set);return new ComputedRefImpl(o,r,i||!r,n)}function callWithErrorHandling(e,t,n,o){let r;try{r=o?e(...o):e()}catch(i){handleError(i,t,n)}return r}function callWithAsyncErrorHandling(e,t,n,o){if(isFunction$1(e)){const r=callWithErrorHandling(e,t,n,o);return r&&isPromise(r)&&r.catch((e=>{handleError(e,t,n)})),r}const r=[];for(let i=0;i>>1;getId(queue$1[o])flushIndex&&queue$1.splice(t,1)}function queueCb(e,t,n,o){isArray$4(e)?n.push(...e):t&&t.includes(e,e.allowRecurse?o+1:o)||n.push(e),queueFlush()}function queuePreFlushCb(e){queueCb(e,activePreFlushCbs,pendingPreFlushCbs,preFlushIndex)}function queuePostFlushCb(e){queueCb(e,activePostFlushCbs,pendingPostFlushCbs,postFlushIndex)}function flushPreFlushCbs(e,t=null){if(pendingPreFlushCbs.length){for(currentPreFlushParentJob=t,activePreFlushCbs=[...new Set(pendingPreFlushCbs)],pendingPreFlushCbs.length=0,preFlushIndex=0;preFlushIndexgetId(e)-getId(t))),postFlushIndex=0;postFlushIndexnull==e.id?1/0:e.id;function flushJobs(e){isFlushPending=!1,isFlushing=!0,flushPreFlushCbs(e),queue$1.sort(((e,t)=>getId(e)-getId(t)));try{for(flushIndex=0;flushIndexe.trim()))),t&&(r=n.map(toNumber))}let s,c=o[s=toHandlerKey(t)]||o[s=toHandlerKey(camelize(t))];!c&&i&&(c=o[s=toHandlerKey(hyphenate(t))]),c&&callWithAsyncErrorHandling(c,e,6,normalizeWxsEventArgs(e,c,r));const l=o[s+"Once"];if(l){if(e.emitted){if(e.emitted[s])return}else e.emitted={};e.emitted[s]=!0,callWithAsyncErrorHandling(l,e,6,normalizeWxsEventArgs(e,l,r))}}function normalizeWxsEventArgs(e,t,n){if(1!==n.length)return n;if(isFunction$1(t)){if(t.length<2)return n}else if(!t.find((e=>e.length>=2)))return n;const o=n[0];if(o&&hasOwn$1(o,"type")&&hasOwn$1(o,"timeStamp")&&hasOwn$1(o,"target")&&hasOwn$1(o,"currentTarget")&&hasOwn$1(o,"detail")){const t=e.proxy,o=t.$gcd(t,!0);o&&n.push(o)}return n}function normalizeEmitsOptions(e,t,n=!1){const o=t.emitsCache,r=o.get(e);if(void 0!==r)return r;const i=e.emits;let a={},s=!1;if(!isFunction$1(e)){const o=e=>{const n=normalizeEmitsOptions(e,t,!0);n&&(s=!0,extend$1(a,n))};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}return i||s?(isArray$4(i)?i.forEach((e=>a[e]=null)):extend$1(a,i),o.set(e,a),a):(o.set(e,null),null)}function isEmitListener(e,t){return!(!e||!isOn(t))&&(t=t.slice(2).replace(/Once$/,""),hasOwn$1(e,t[0].toLowerCase()+t.slice(1))||hasOwn$1(e,hyphenate(t))||hasOwn$1(e,t))}let currentRenderingInstance=null,currentScopeId=null;function setCurrentRenderingInstance(e){const t=currentRenderingInstance;return currentRenderingInstance=e,currentScopeId=e&&e.type.__scopeId||null,t}function withCtx(e,t=currentRenderingInstance,n){if(!t)return e;if(e._n)return e;const o=(...n)=>{o._d&&setBlockTracking(-1);const r=setCurrentRenderingInstance(t),i=e(...n);return setCurrentRenderingInstance(r),o._d&&setBlockTracking(1),i};return o._n=!0,o._c=!0,o._d=!0,o}function markAttrsAccessed(){}function renderComponentRoot(e){const{type:t,vnode:n,proxy:o,withProxy:r,props:i,propsOptions:[a],slots:s,attrs:c,emit:l,render:u,renderCache:d,data:f,setupState:p,ctx:h,inheritAttrs:g}=e;let m,v;const _=setCurrentRenderingInstance(e);try{if(4&n.shapeFlag){const e=r||o;m=normalizeVNode(u.call(e,e,d,i,p,f,h)),v=c}else{const e=t;0,m=normalizeVNode(e.length>1?e(i,{attrs:c,slots:s,emit:l}):e(i,null)),v=t.props?c:getFunctionalFallthrough(c)}}catch(b){blockStack.length=0,handleError(b,e,1),m=createVNode(Comment)}let y=m;if(v&&!1!==g){const e=Object.keys(v),{shapeFlag:t}=y;e.length&&7&t&&(a&&e.some(isModelListener)&&(v=filterModelListeners(v,a)),y=cloneVNode(y,v))}return n.dirs&&(y=cloneVNode(y),y.dirs=y.dirs?y.dirs.concat(n.dirs):n.dirs),n.transition&&(y.transition=n.transition),m=y,setCurrentRenderingInstance(_),m}const getFunctionalFallthrough=e=>{let t;for(const n in e)("class"===n||"style"===n||isOn(n))&&((t||(t={}))[n]=e[n]);return t},filterModelListeners=(e,t)=>{const n={};for(const o in e)isModelListener(o)&&o.slice(9)in t||(n[o]=e[o]);return n};function shouldUpdateComponent(e,t,n){const{props:o,children:r,component:i}=e,{props:a,children:s,patchFlag:c}=t,l=i.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&c>=0))return!(!r&&!s||s&&s.$stable)||o!==a&&(o?!a||hasPropsChanged(o,a,l):!!a);if(1024&c)return!0;if(16&c)return o?hasPropsChanged(o,a,l):!!a;if(8&c){const e=t.dynamicProps;for(let t=0;te.__isSuspense;function queueEffectWithSuspense(e,t){t&&t.pendingBranch?isArray$4(e)?t.effects.push(...e):t.effects.push(e):queuePostFlushCb(e)}function provide(e,t){if(currentInstance){let n=currentInstance.provides;const o=currentInstance.parent&¤tInstance.parent.provides;o===n&&(n=currentInstance.provides=Object.create(o)),n[e]=t,"app"===currentInstance.type.mpType&¤tInstance.appContext.app.provide(e,t)}else;}function inject(e,t,n=!1){const o=currentInstance||currentRenderingInstance;if(o){const r=null==o.parent?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&isFunction$1(t)?t.call(o.proxy):t}}function watchEffect(e,t){return doWatch(e,null,t)}const INITIAL_WATCHER_VALUE={};function watch(e,t,n){return doWatch(e,t,n)}function doWatch(e,t,{immediate:n,deep:o,flush:r,onTrack:i,onTrigger:a}=EMPTY_OBJ){const s=currentInstance;let c,l,u=!1,d=!1;if(isRef(e)?(c=()=>e.value,u=isShallow(e)):isReactive(e)?(c=()=>e,o=!0):isArray$4(e)?(d=!0,u=e.some((e=>isReactive(e)||isShallow(e))),c=()=>e.map((e=>isRef(e)?e.value:isReactive(e)?traverse(e):isFunction$1(e)?callWithErrorHandling(e,s,2):void 0))):c=isFunction$1(e)?t?()=>callWithErrorHandling(e,s,2):()=>{if(!s||!s.isUnmounted)return l&&l(),callWithAsyncErrorHandling(e,s,3,[f])}:NOOP,t&&o){const e=c;c=()=>traverse(e())}let f=e=>{l=m.onStop=()=>{callWithErrorHandling(e,s,4)}};if(isInSSRComponentSetup)return f=NOOP,t?n&&callWithAsyncErrorHandling(t,s,3,[c(),d?[]:void 0,f]):c(),NOOP;let p=d?[]:INITIAL_WATCHER_VALUE;const h=()=>{if(m.active)if(t){const e=m.run();(o||u||(d?e.some(((e,t)=>hasChanged(e,p[t]))):hasChanged(e,p)))&&(l&&l(),callWithAsyncErrorHandling(t,s,3,[e,p===INITIAL_WATCHER_VALUE?void 0:p,f]),p=e)}else m.run()};let g;h.allowRecurse=!!t,g="sync"===r?h:"post"===r?()=>queuePostRenderEffect(h,s&&s.suspense):()=>queuePreFlushCb(h);const m=new ReactiveEffect(c,g);return t?n?h():p=m.run():"post"===r?queuePostRenderEffect(m.run.bind(m),s&&s.suspense):m.run(),()=>{m.stop(),s&&s.scope&&remove(s.scope.effects,m)}}function instanceWatch(e,t,n){const o=this.proxy,r=isString(e)?e.includes(".")?createPathGetter(o,e):()=>o[e]:e.bind(o,o);let i;isFunction$1(t)?i=t:(i=t.handler,n=t);const a=currentInstance;setCurrentInstance(this);const s=doWatch(r,i.bind(o),n);return a?setCurrentInstance(a):unsetCurrentInstance(),s}function createPathGetter(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e{traverse(e,t)}));else if(isPlainObject$2(e))for(const n in e)traverse(e[n],t);return e}function useTransitionState(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return onMounted((()=>{e.isMounted=!0})),onBeforeUnmount((()=>{e.isUnmounting=!0})),e}const TransitionHookValidator=[Function,Array],BaseTransitionImpl={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:TransitionHookValidator,onEnter:TransitionHookValidator,onAfterEnter:TransitionHookValidator,onEnterCancelled:TransitionHookValidator,onBeforeLeave:TransitionHookValidator,onLeave:TransitionHookValidator,onAfterLeave:TransitionHookValidator,onLeaveCancelled:TransitionHookValidator,onBeforeAppear:TransitionHookValidator,onAppear:TransitionHookValidator,onAfterAppear:TransitionHookValidator,onAppearCancelled:TransitionHookValidator},setup(e,{slots:t}){const n=getCurrentInstance(),o=useTransitionState();let r;return()=>{const i=t.default&&getTransitionRawChildren(t.default(),!0);if(!i||!i.length)return;let a=i[0];if(i.length>1)for(const e of i)if(e.type!==Comment){a=e;break}const s=toRaw(e),{mode:c}=s;if(o.isLeaving)return emptyPlaceholder(a);const l=getKeepAliveChild(a);if(!l)return emptyPlaceholder(a);const u=resolveTransitionHooks(l,s,o,n);setTransitionHooks(l,u);const d=n.subTree,f=d&&getKeepAliveChild(d);let p=!1;const{getTransitionKey:h}=l.type;if(h){const e=h();void 0===r?r=e:e!==r&&(r=e,p=!0)}if(f&&f.type!==Comment&&(!isSameVNodeType(l,f)||p)){const e=resolveTransitionHooks(f,s,o,n);if(setTransitionHooks(f,e),"out-in"===c)return o.isLeaving=!0,e.afterLeave=()=>{o.isLeaving=!1,n.update()},emptyPlaceholder(a);"in-out"===c&&l.type!==Comment&&(e.delayLeave=(e,t,n)=>{getLeavingNodesForType(o,f)[String(f.key)]=f,e._leaveCb=()=>{t(),e._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=n})}return a}}},BaseTransition=BaseTransitionImpl;function getLeavingNodesForType(e,t){const{leavingVNodes:n}=e;let o=n.get(t.type);return o||(o=Object.create(null),n.set(t.type,o)),o}function resolveTransitionHooks(e,t,n,o){const{appear:r,mode:i,persisted:a=!1,onBeforeEnter:s,onEnter:c,onAfterEnter:l,onEnterCancelled:u,onBeforeLeave:d,onLeave:f,onAfterLeave:p,onLeaveCancelled:h,onBeforeAppear:g,onAppear:m,onAfterAppear:v,onAppearCancelled:_}=t,y=String(e.key),b=getLeavingNodesForType(n,e),w=(e,t)=>{e&&callWithAsyncErrorHandling(e,o,9,t)},T=(e,t)=>{const n=t[1];w(e,t),isArray$4(e)?e.every((e=>e.length<=1))&&n():e.length<=1&&n()},E={mode:i,persisted:a,beforeEnter(t){let o=s;if(!n.isMounted){if(!r)return;o=g||s}t._leaveCb&&t._leaveCb(!0);const i=b[y];i&&isSameVNodeType(e,i)&&i.el._leaveCb&&i.el._leaveCb(),w(o,[t])},enter(e){let t=c,o=l,i=u;if(!n.isMounted){if(!r)return;t=m||c,o=v||l,i=_||u}let a=!1;const s=e._enterCb=t=>{a||(a=!0,w(t?i:o,[e]),E.delayedLeave&&E.delayedLeave(),e._enterCb=void 0)};t?T(t,[e,s]):s()},leave(t,o){const r=String(e.key);if(t._enterCb&&t._enterCb(!0),n.isUnmounting)return o();w(d,[t]);let i=!1;const a=t._leaveCb=n=>{i||(i=!0,o(),w(n?h:p,[t]),t._leaveCb=void 0,b[r]===e&&delete b[r])};b[r]=e,f?T(f,[t,a]):a()},clone:e=>resolveTransitionHooks(e,t,n,o)};return E}function emptyPlaceholder(e){if(isKeepAlive(e))return(e=cloneVNode(e)).children=null,e}function getKeepAliveChild(e){return isKeepAlive(e)?e.children?e.children[0]:void 0:e}function setTransitionHooks(e,t){6&e.shapeFlag&&e.component?setTransitionHooks(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 getTransitionRawChildren(e,t=!1,n){let o=[],r=0;for(let i=0;i1)for(let i=0;i!!e.type.__asyncLoader;function defineAsyncComponent(e){isFunction$1(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:o,delay:r=200,timeout:i,suspensible:a=!0,onError:s}=e;let c,l=null,u=0;const d=()=>{let e;return l||(e=l=t().catch((e=>{if(e=e instanceof Error?e:new Error(String(e)),s)return new Promise(((t,n)=>{s(e,(()=>t((u++,l=null,d()))),(()=>n(e)),u+1)}));throw e})).then((t=>e!==l&&l?l:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),c=t,t))))};return defineComponent({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return c},setup(){const e=currentInstance;if(c)return()=>createInnerComp(c,e);const t=t=>{l=null,handleError(t,e,13,!o)};if(a&&e.suspense||isInSSRComponentSetup)return d().then((t=>()=>createInnerComp(t,e))).catch((e=>(t(e),()=>o?createVNode(o,{error:e}):null)));const s=ref(!1),u=ref(),f=ref(!!r);return r&&setTimeout((()=>{f.value=!1}),r),null!=i&&setTimeout((()=>{if(!s.value&&!u.value){const e=new Error(`Async component timed out after ${i}ms.`);t(e),u.value=e}}),i),d().then((()=>{s.value=!0,e.parent&&isKeepAlive(e.parent.vnode)&&queueJob(e.parent.update)})).catch((e=>{t(e),u.value=e})),()=>s.value&&c?createInnerComp(c,e):u.value&&o?createVNode(o,{error:u.value}):n&&!f.value?createVNode(n):void 0}})}function createInnerComp(e,{vnode:{ref:t,props:n,children:o,shapeFlag:r},parent:i}){const a=createVNode(e,n,o);return a.ref=t,a}const isKeepAlive=e=>e.type.__isKeepAlive;class Cache{constructor(e){this.max=e,this._cache=new Map,this._keys=new Set,this._max=parseInt(e,10)}get(e){const{_cache:t,_keys:n,_max:o}=this,r=t.get(e);if(r)n.delete(e),n.add(e);else if(n.add(e),o&&n.size>o){const e=n.values().next().value;this.pruneCacheEntry(t.get(e)),this.delete(e)}return r}set(e,t){this._cache.set(e,t)}delete(e){this._cache.delete(e),this._keys.delete(e)}forEach(e,t){this._cache.forEach(e.bind(t))}}const KeepAliveImpl={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number],matchBy:{type:String,default:"name"},cache:Object},setup(e,{slots:t}){const n=getCurrentInstance(),o=n.ctx;if(!o.renderer)return()=>{const e=t.default&&t.default();return e&&1===e.length?e[0]:e};const r=e.cache||new Cache(e.max);r.pruneCacheEntry=a;let i=null;function a(t){var o;!i||t.type!==i.type||"key"===e.matchBy&&t.key!==i.key?(resetShapeFlag(o=t),u(o,n,s,!0)):i&&resetShapeFlag(i)}const s=n.suspense,{renderer:{p:c,m:l,um:u,o:{createElement:d}}}=o,f=d("div");function p(t){r.forEach(((n,o)=>{const i=getMatchingName(n,e.matchBy);!i||t&&t(i)||(r.delete(o),a(n))}))}o.activate=(e,t,n,o,r)=>{const i=e.component;if(i.ba){const e=i.isDeactivated;i.isDeactivated=!1,invokeArrayFns$1(i.ba),i.isDeactivated=e}l(e,t,n,0,s),c(i.vnode,e,t,n,i,s,o,e.slotScopeIds,r),queuePostRenderEffect((()=>{i.isDeactivated=!1,i.a&&invokeArrayFns$1(i.a);const t=e.props&&e.props.onVnodeMounted;t&&invokeVNodeHook(t,i.parent,e)}),s)},o.deactivate=e=>{const t=e.component;t.bda&&invokeKeepAliveHooks(t.bda),l(e,f,null,1,s),queuePostRenderEffect((()=>{t.bda&&resetHookState(t.bda),t.da&&invokeArrayFns$1(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&invokeVNodeHook(n,t.parent,e),t.isDeactivated=!0}),s)},watch((()=>[e.include,e.exclude,e.matchBy]),(([e,t])=>{e&&p((t=>matches$1(e,t))),t&&p((e=>!matches$1(t,e)))}),{flush:"post",deep:!0});let h=null;const g=()=>{null!=h&&r.set(h,getInnerChild(n.subTree))};return onMounted(g),onUpdated(g),onBeforeUnmount((()=>{r.forEach(((t,o)=>{r.delete(o),a(t);const{subTree:i,suspense:s}=n,c=getInnerChild(i);if(t.type!==c.type||"key"===e.matchBy&&t.key!==c.key);else{c.component.bda&&invokeArrayFns$1(c.component.bda),resetShapeFlag(c);const e=c.component.da;e&&queuePostRenderEffect(e,s)}}))})),()=>{if(h=null,!t.default)return null;const n=t.default(),o=n[0];if(n.length>1)return i=null,n;if(!isVNode(o)||!(4&o.shapeFlag)&&!isSuspense(o.type))return i=null,o;let a=getInnerChild(o);const s=a.type,c=getMatchingName(a,e.matchBy),{include:l,exclude:u}=e;if(l&&(!c||!matches$1(l,c))||u&&c&&matches$1(u,c))return i=a,o;const d=null==a.key?s:a.key,f=r.get(d);return a.el&&(a=cloneVNode(a),isSuspense(o.type)&&(o.ssContent=a)),h=d,f&&(a.el=f.el,a.component=f.component,a.transition&&setTransitionHooks(a,a.transition),a.shapeFlag|=512),a.shapeFlag|=256,i=a,isSuspense(o.type)?o:a}}},KeepAlive=KeepAliveImpl;function matches$1(e,t){return isArray$4(e)?e.some((e=>matches$1(e,t))):isString(e)?e.split(",").includes(t):!!e.test&&e.test(t)}function onBeforeActivate(e,t){registerKeepAliveHook(e,"ba",t)}function onActivated(e,t){registerKeepAliveHook(e,"a",t)}function onBeforeDeactivate(e,t){registerKeepAliveHook(e,"bda",t)}function onDeactivated(e,t){registerKeepAliveHook(e,"da",t)}function registerKeepAliveHook(e,t,n=currentInstance){const o=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(o.__called=!1,injectHook(t,o,n),n){let e=n.parent;for(;e&&e.parent;)isKeepAlive(e.parent.vnode)&&injectToKeepAliveRoot(o,t,n,e),e=e.parent}}function injectToKeepAliveRoot(e,t,n,o){const r=injectHook(t,e,o,!0);onUnmounted((()=>{remove(o[t],r)}),n)}function resetShapeFlag(e){let t=e.shapeFlag;256&t&&(t-=256),512&t&&(t-=512),e.shapeFlag=t}function getInnerChild(e){return isSuspense(e.type)?e.ssContent:e}function getMatchingName(e,t){if("name"===t){const t=e.type;return getComponentName(isAsyncWrapper(e)?t.__asyncResolved||{}:t)}return String(e.key)}function invokeKeepAliveHooks(e){for(let t=0;te.__called=!1))}function injectHook(e,t,n=currentInstance,o=!1){if(n){if(isRootHook(e)&&n.$pageInstance){if(n.type.__reserved)return;if(n!==n.$pageInstance&&(n=n.$pageInstance,isRootImmediateHook(e))){const o=n.proxy;callWithAsyncErrorHandling(t.bind(o),n,e,ON_LOAD===e?[o.$page.options]:[])}}const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;pauseTracking(),setCurrentInstance(n);const r=callWithAsyncErrorHandling(t,n,e,o);return unsetCurrentInstance(),resetTracking(),r});return o?r.unshift(i):r.push(i),i}}const createHook$1=e=>(t,n=currentInstance)=>(!isInSSRComponentSetup||"sp"===e)&&injectHook(e,t,n),onBeforeMount=createHook$1("bm"),onMounted=createHook$1("m"),onBeforeUpdate=createHook$1("bu"),onUpdated=createHook$1("u"),onBeforeUnmount=createHook$1("bum"),onUnmounted=createHook$1("um"),onServerPrefetch=createHook$1("sp"),onRenderTriggered=createHook$1("rtg"),onRenderTracked=createHook$1("rtc");function onErrorCaptured(e,t=currentInstance){injectHook("ec",e,t)}function withDirectives(e,t){const n=currentRenderingInstance;if(null===n)return e;const o=getExposeProxy(n)||n.proxy,r=e.dirs||(e.dirs=[]);for(let i=0;it(e,n,void 0,i&&i[n])));else{const n=Object.keys(e);r=new Array(n.length);for(let o=0,a=n.length;o!isVNode(e)||e.type!==Comment&&!(e.type===Fragment&&!ensureValidVNode(e.children))))?e:null}const getPublicInstance=e=>e?isStatefulComponent(e)?getExposeProxy(e)||e.proxy:getPublicInstance(e.parent):null,publicPropertiesMap=extend$1(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=>getPublicInstance(e.parent),$root:e=>getPublicInstance(e.root),$emit:e=>e.emit,$options:e=>resolveMergedOptions(e),$forceUpdate:e=>e.f||(e.f=()=>queueJob(e.update)),$nextTick:e=>e.n||(e.n=nextTick.bind(e.proxy)),$watch:e=>instanceWatch.bind(e)}),PublicInstanceProxyHandlers={get({_:e},t){const{ctx:n,setupState:o,data:r,props:i,accessCache:a,type:s,appContext:c}=e;let l;if("$"!==t[0]){const s=a[t];if(void 0!==s)switch(s){case 1:return o[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(o!==EMPTY_OBJ&&hasOwn$1(o,t))return a[t]=1,o[t];if(r!==EMPTY_OBJ&&hasOwn$1(r,t))return a[t]=2,r[t];if((l=e.propsOptions[0])&&hasOwn$1(l,t))return a[t]=3,i[t];if(n!==EMPTY_OBJ&&hasOwn$1(n,t))return a[t]=4,n[t];shouldCacheAccess&&(a[t]=0)}}const u=publicPropertiesMap[t];let d,f;return u?("$attrs"===t&&track(e,"get",t),u(e)):(d=s.__cssModules)&&(d=d[t])?d:n!==EMPTY_OBJ&&hasOwn$1(n,t)?(a[t]=4,n[t]):(f=c.config.globalProperties,hasOwn$1(f,t)?f[t]:void 0)},set({_:e},t,n){const{data:o,setupState:r,ctx:i}=e;return r!==EMPTY_OBJ&&hasOwn$1(r,t)?(r[t]=n,!0):o!==EMPTY_OBJ&&hasOwn$1(o,t)?(o[t]=n,!0):!hasOwn$1(e.props,t)&&(("$"!==t[0]||!(t.slice(1)in e))&&(i[t]=n,!0))},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:r,propsOptions:i}},a){let s;return!!n[a]||e!==EMPTY_OBJ&&hasOwn$1(e,a)||t!==EMPTY_OBJ&&hasOwn$1(t,a)||(s=i[0])&&hasOwn$1(s,a)||hasOwn$1(o,a)||hasOwn$1(publicPropertiesMap,a)||hasOwn$1(r.config.globalProperties,a)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:hasOwn$1(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};let shouldCacheAccess=!0;function applyOptions$1(e){const t=resolveMergedOptions(e),n=e.proxy,o=e.ctx;shouldCacheAccess=!1,t.beforeCreate&&callHook(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:a,watch:s,provide:c,inject:l,created:u,beforeMount:d,mounted:f,beforeUpdate:p,updated:h,activated:g,deactivated:m,beforeDestroy:v,beforeUnmount:_,destroyed:y,unmounted:b,render:w,renderTracked:T,renderTriggered:E,errorCaptured:S,serverPrefetch:C,expose:O,inheritAttrs:I,components:A,directives:x,filters:P}=t;if(l&&resolveInjections(l,o,null,e.appContext.config.unwrapInjectedRef),a)for(const $ in a){const e=a[$];isFunction$1(e)&&(o[$]=e.bind(n))}if(r){const t=r.call(n,n);isObject$2(t)&&(e.data=reactive(t))}if(shouldCacheAccess=!0,i)for(const $ in i){const e=i[$],t=isFunction$1(e)?e.bind(n,n):isFunction$1(e.get)?e.get.bind(n,n):NOOP,r=!isFunction$1(e)&&isFunction$1(e.set)?e.set.bind(n):NOOP,a=computed$1({get:t,set:r});Object.defineProperty(o,$,{enumerable:!0,configurable:!0,get:()=>a.value,set:e=>a.value=e})}if(s)for(const $ in s)createWatcher(s[$],o,n,$);if(c){const e=isFunction$1(c)?c.call(n):c;Reflect.ownKeys(e).forEach((t=>{provide(t,e[t])}))}function R(e,t){isArray$4(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n))}if(u&&callHook(u,e,"c"),R(onBeforeMount,d),R(onMounted,f),R(onBeforeUpdate,p),R(onUpdated,h),R(onActivated,g),R(onDeactivated,m),R(onErrorCaptured,S),R(onRenderTracked,T),R(onRenderTriggered,E),R(onBeforeUnmount,_),R(onUnmounted,b),R(onServerPrefetch,C),isArray$4(O))if(O.length){const t=e.exposed||(e.exposed={});O.forEach((e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})}))}else e.exposed||(e.exposed={});w&&e.render===NOOP&&(e.render=w),null!=I&&(e.inheritAttrs=I),A&&(e.components=A),x&&(e.directives=x);const L=e.appContext.config.globalProperties.$applyOptions;L&&L(t,e,n)}function resolveInjections(e,t,n=NOOP,o=!1){isArray$4(e)&&(e=normalizeInject(e));for(const r in e){const n=e[r];let i;i=isObject$2(n)?"default"in n?inject(n.from||r,n.default,!0):inject(n.from||r):inject(n),isRef(i)&&o?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:e=>i.value=e}):t[r]=i}}function callHook(e,t,n){callWithAsyncErrorHandling(isArray$4(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,n)}function createWatcher(e,t,n,o){const r=o.includes(".")?createPathGetter(n,o):()=>n[o];if(isString(e)){const n=t[e];isFunction$1(n)&&watch(r,n)}else if(isFunction$1(e))watch(r,e.bind(n));else if(isObject$2(e))if(isArray$4(e))e.forEach((e=>createWatcher(e,t,n,o)));else{const o=isFunction$1(e.handler)?e.handler.bind(n):t[e.handler];isFunction$1(o)&&watch(r,o,e)}}function resolveMergedOptions(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:a}}=e.appContext,s=i.get(t);let c;return s?c=s:r.length||n||o?(c={},r.length&&r.forEach((e=>mergeOptions$1(c,e,a,!0))),mergeOptions$1(c,t,a)):c=t,i.set(t,c),c}function mergeOptions$1(e,t,n,o=!1){const{mixins:r,extends:i}=t;i&&mergeOptions$1(e,i,n,!0),r&&r.forEach((t=>mergeOptions$1(e,t,n,!0)));for(const a in t)if(o&&"expose"===a);else{const o=internalOptionMergeStrats[a]||n&&n[a];e[a]=o?o(e[a],t[a]):t[a]}return e}const internalOptionMergeStrats={data:mergeDataFn,props:mergeObjectOptions,emits:mergeObjectOptions,methods:mergeObjectOptions,computed:mergeObjectOptions,beforeCreate:mergeAsArray$1,created:mergeAsArray$1,beforeMount:mergeAsArray$1,mounted:mergeAsArray$1,beforeUpdate:mergeAsArray$1,updated:mergeAsArray$1,beforeDestroy:mergeAsArray$1,beforeUnmount:mergeAsArray$1,destroyed:mergeAsArray$1,unmounted:mergeAsArray$1,activated:mergeAsArray$1,deactivated:mergeAsArray$1,errorCaptured:mergeAsArray$1,serverPrefetch:mergeAsArray$1,components:mergeObjectOptions,directives:mergeObjectOptions,watch:mergeWatchOptions,provide:mergeDataFn,inject:mergeInject};function mergeDataFn(e,t){return t?e?function(){return extend$1(isFunction$1(e)?e.call(this,this):e,isFunction$1(t)?t.call(this,this):t)}:t:e}function mergeInject(e,t){return mergeObjectOptions(normalizeInject(e),normalizeInject(t))}function normalizeInject(e){if(isArray$4(e)){const t={};for(let n=0;n0)||16&a){let o;setFullProps(e,t,r,i)&&(l=!0);for(const i in s)t&&(hasOwn$1(t,i)||(o=hyphenate(i))!==i&&hasOwn$1(t,o))||(c?!n||void 0===n[i]&&void 0===n[o]||(r[i]=resolvePropValue(c,s,i,void 0,e,!0)):delete r[i]);if(i!==s)for(const e in i)t&&hasOwn$1(t,e)||(delete i[e],l=!0)}else if(8&a){const n=e.vnode.dynamicProps;for(let o=0;o{c=!0;const[n,o]=normalizePropsOptions(e,t,!0);extend$1(a,n),o&&s.push(...o)};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}if(!i&&!c)return o.set(e,EMPTY_ARR),EMPTY_ARR;if(isArray$4(i))for(let u=0;u-1,n[1]=o<0||t-1||hasOwn$1(n,"default"))&&s.push(e)}}}const l=[a,s];return o.set(e,l),l}function validatePropName(e){return"$"!==e[0]}function getType(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:null===e?"null":""}function isSameType(e,t){return getType(e)===getType(t)}function getTypeIndex(e,t){return isArray$4(t)?t.findIndex((t=>isSameType(t,e))):isFunction$1(t)&&isSameType(t,e)?0:-1}const isInternalKey=e=>"_"===e[0]||"$stable"===e,normalizeSlotValue=e=>isArray$4(e)?e.map(normalizeVNode):[normalizeVNode(e)],normalizeSlot$1=(e,t,n)=>{if(t._n)return t;const o=withCtx(((...e)=>normalizeSlotValue(t(...e))),n);return o._c=!1,o},normalizeObjectSlots=(e,t,n)=>{const o=e._ctx;for(const r in e){if(isInternalKey(r))continue;const n=e[r];if(isFunction$1(n))t[r]=normalizeSlot$1(r,n,o);else if(null!=n){const e=normalizeSlotValue(n);t[r]=()=>e}}},normalizeVNodeSlots=(e,t)=>{const n=normalizeSlotValue(t);e.slots.default=()=>n},initSlots=(e,t)=>{if(32&e.vnode.shapeFlag){const n=t._;n?(e.slots=toRaw(t),def(t,"_",n)):normalizeObjectSlots(t,e.slots={})}else e.slots={},t&&normalizeVNodeSlots(e,t);def(e.slots,InternalObjectKey,1)},updateSlots=(e,t,n)=>{const{vnode:o,slots:r}=e;let i=!0,a=EMPTY_OBJ;if(32&o.shapeFlag){const e=t._;e?n&&1===e?i=!1:(extend$1(r,t),n||1!==e||delete r._):(i=!t.$stable,normalizeObjectSlots(t,r)),a=t}else t&&(normalizeVNodeSlots(e,t),a={default:1});if(i)for(const s in r)isInternalKey(s)||s in a||delete r[s]};function createAppContext(){return{app:null,config:{isNativeTag:NO,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let uid=0;function createAppAPI(e,t){return function(n,o=null){isFunction$1(n)||(n=Object.assign({},n)),null==o||isObject$2(o)||(o=null);const r=createAppContext(),i=new Set;let a=!1;const s=r.app={_uid:uid++,_component:n,_props:o,_container:null,_context:r,_instance:null,version:version$1,get config(){return r.config},set config(e){},use:(e,...t)=>(i.has(e)||(e&&isFunction$1(e.install)?(i.add(e),e.install(s,...t)):isFunction$1(e)&&(i.add(e),e(s,...t))),s),mixin:e=>(r.mixins.includes(e)||r.mixins.push(e),s),component:(e,t)=>t?(r.components[e]=t,s):r.components[e],directive:(e,t)=>t?(r.directives[e]=t,s):r.directives[e],mount(i,c,l){if(!a){const u=createVNode(n,o);return u.appContext=r,c&&t?t(u,i):e(u,i,l),a=!0,s._container=i,i.__vue_app__=s,s._instance=u.component,getExposeProxy(u.component)||u.component.proxy}},unmount(){a&&(e(null,s._container),delete s._container.__vue_app__)},provide:(e,t)=>(r.provides[e]=t,s)};return s}}function setRef(e,t,n,o,r=!1){if(isArray$4(e))return void e.forEach(((e,i)=>setRef(e,t&&(isArray$4(t)?t[i]:t),n,o,r)));if(isAsyncWrapper(o)&&!r)return;const i=4&o.shapeFlag?getExposeProxy(o.component)||o.component.proxy:o.el,a=r?null:i,{i:s,r:c}=e,l=t&&t.r,u=s.refs===EMPTY_OBJ?s.refs={}:s.refs,d=s.setupState;if(null!=l&&l!==c&&(isString(l)?(u[l]=null,hasOwn$1(d,l)&&(d[l]=null)):isRef(l)&&(l.value=null)),isFunction$1(c))callWithErrorHandling(c,s,12,[a,u]);else{const t=isString(c),o=isRef(c);if(t||o){const s=()=>{if(e.f){const n=t?u[c]:c.value;r?isArray$4(n)&&remove(n,i):isArray$4(n)?n.includes(i)||n.push(i):t?(u[c]=[i],hasOwn$1(d,c)&&(d[c]=u[c])):(c.value=[i],e.k&&(u[e.k]=c.value))}else t?(u[c]=a,hasOwn$1(d,c)&&(d[c]=a)):o&&(c.value=a,e.k&&(u[e.k]=a))};a?(s.id=-1,queuePostRenderEffect(s,n)):s()}}}const queuePostRenderEffect=queueEffectWithSuspense;function createRenderer(e){return baseCreateRenderer(e)}function baseCreateRenderer(e,t){getGlobalThis().__VUE__=!0;const{insert:n,remove:o,patchProp:r,forcePatchProp:i,createElement:a,createText:s,createComment:c,setText:l,setElementText:u,parentNode:d,nextSibling:f,setScopeId:p=NOOP,cloneNode:h,insertStaticContent:g}=e,m=(e,t,n,o=null,r=null,i=null,a=!1,s=null,c=!!t.dynamicChildren)=>{if(e===t)return;e&&!isSameVNodeType(e,t)&&(o=U(e),D(e,r,i,!0),e=null),-2===t.patchFlag&&(c=!1,t.dynamicChildren=null);const{type:l,ref:u,shapeFlag:d}=t;switch(l){case Text:v(e,t,n,o);break;case Comment:_(e,t,n,o);break;case Static:null==e&&y(t,n,o,a);break;case Fragment:I(e,t,n,o,r,i,a,s,c);break;default:1&d?b(e,t,n,o,r,i,a,s,c):6&d?A(e,t,n,o,r,i,a,s,c):(64&d||128&d)&&l.process(e,t,n,o,r,i,a,s,c,G)}null!=u&&r&&setRef(u,e&&e.ref,i,t||e,!t)},v=(e,t,o,r)=>{if(null==e)n(t.el=s(t.children),o,r);else{const n=t.el=e.el;t.children!==e.children&&l(n,t.children)}},_=(e,t,o,r)=>{null==e?n(t.el=c(t.children||""),o,r):t.el=e.el},y=(e,t,n,o)=>{[e.el,e.anchor]=g(e.children,t,n,o,e.el,e.anchor)},b=(e,t,n,o,r,i,a,s,c)=>{a=a||"svg"===t.type,null==e?w(t,n,o,r,i,a,s,c):S(e,t,r,i,a,s,c)},w=(e,t,o,i,s,c,l,d)=>{let f,p;const{type:g,props:m,shapeFlag:v,transition:_,patchFlag:y,dirs:b}=e;if(e.el&&void 0!==h&&-1===y)f=e.el=h(e.el);else{if(f=e.el=a(e.type,c,m&&m.is,m),8&v?u(f,e.children):16&v&&E(e.children,f,null,i,s,c&&"foreignObject"!==g,l,d),b&&invokeDirectiveHook(e,null,i,"created"),m){for(const t in m)"value"===t||isReservedProp(t)||r(f,t,null,m[t],c,e.children,i,s,F);"value"in m&&r(f,"value",null,m.value),(p=m.onVnodeBeforeMount)&&invokeVNodeHook(p,i,e)}T(f,e,e.scopeId,l,i)}Object.defineProperty(f,"__vueParentComponent",{value:i,enumerable:!1}),b&&invokeDirectiveHook(e,null,i,"beforeMount");const w=(!s||s&&!s.pendingBranch)&&_&&!_.persisted;w&&_.beforeEnter(f),n(f,t,o),((p=m&&m.onVnodeMounted)||w||b)&&queuePostRenderEffect((()=>{p&&invokeVNodeHook(p,i,e),w&&_.enter(f),b&&invokeDirectiveHook(e,null,i,"mounted")}),s)},T=(e,t,n,o,r)=>{if(n&&p(e,n),o)for(let i=0;i{for(let l=c;l{const l=t.el=e.el;let{patchFlag:d,dynamicChildren:f,dirs:p}=t;d|=16&e.patchFlag;const h=e.props||EMPTY_OBJ,g=t.props||EMPTY_OBJ;let m;n&&toggleRecurse(n,!1),(m=g.onVnodeBeforeUpdate)&&invokeVNodeHook(m,n,t,e),p&&invokeDirectiveHook(t,e,n,"beforeUpdate"),n&&toggleRecurse(n,!0);const v=a&&"foreignObject"!==t.type;if(f?C(e.dynamicChildren,f,l,n,o,v,s):c||$(e,t,l,null,n,o,v,s,!1),d>0){if(16&d)O(l,t,h,g,n,o,a);else if(2&d&&h.class!==g.class&&r(l,"class",null,g.class,a),4&d&&r(l,"style",h.style,g.style,a),8&d){const s=t.dynamicProps;for(let t=0;t{m&&invokeVNodeHook(m,n,t,e),p&&invokeDirectiveHook(t,e,n,"updated")}),o)},C=(e,t,n,o,r,i,a)=>{for(let s=0;s{if(n!==o){for(const l in o){if(isReservedProp(l))continue;const u=o[l],d=n[l];(u!==d&&"value"!==l||i&&i(e,l))&&r(e,l,d,u,c,t.children,a,s,F)}if(n!==EMPTY_OBJ)for(const i in n)isReservedProp(i)||i in o||r(e,i,n[i],null,c,t.children,a,s,F);"value"in o&&r(e,"value",n.value,o.value)}},I=(e,t,o,r,i,a,c,l,u)=>{const d=t.el=e?e.el:s(""),f=t.anchor=e?e.anchor:s("");let{patchFlag:p,dynamicChildren:h,slotScopeIds:g}=t;g&&(l=l?l.concat(g):g),null==e?(n(d,o,r),n(f,o,r),E(t.children,o,f,i,a,c,l,u)):p>0&&64&p&&h&&e.dynamicChildren?(C(e.dynamicChildren,h,o,i,a,c,l),(null!=t.key||i&&t===i.subTree)&&traverseStaticChildren(e,t,!0)):$(e,t,o,f,i,a,c,l,u)},A=(e,t,n,o,r,i,a,s,c)=>{t.slotScopeIds=s,null==e?512&t.shapeFlag?r.ctx.activate(t,n,o,a,c):x(t,n,o,r,i,a,c):P(e,t,c)},x=(e,t,n,o,r,i,a)=>{const s=e.component=createComponentInstance(e,o,r);if(isKeepAlive(e)&&(s.ctx.renderer=G),setupComponent$1(s),s.asyncDep){if(r&&r.registerDep(s,R),!e.el){const e=s.subTree=createVNode(Comment);_(null,e,t,n)}}else R(s,e,t,n,r,i,a)},P=(e,t,n)=>{const o=t.component=e.component;if(shouldUpdateComponent(e,t,n)){if(o.asyncDep&&!o.asyncResolved)return void L(o,t,n);o.next=t,invalidateJob(o.update),o.update()}else t.el=e.el,o.vnode=t},R=(e,t,n,o,r,i,a)=>{const s=e.effect=new ReactiveEffect((()=>{if(e.isMounted){let t,{next:n,bu:o,u:s,parent:c,vnode:l}=e,u=n;toggleRecurse(e,!1),n?(n.el=l.el,L(e,n,a)):n=l,o&&invokeArrayFns$1(o),(t=n.props&&n.props.onVnodeBeforeUpdate)&&invokeVNodeHook(t,c,n,l),toggleRecurse(e,!0);const f=renderComponentRoot(e),p=e.subTree;e.subTree=f,m(p,f,d(p.el),U(p),e,r,i),n.el=f.el,null===u&&updateHOCHostEl(e,f.el),s&&queuePostRenderEffect(s,r),(t=n.props&&n.props.onVnodeUpdated)&&queuePostRenderEffect((()=>invokeVNodeHook(t,c,n,l)),r)}else{let a;const{el:s,props:c}=t,{bm:l,m:u,parent:d}=e,f=isAsyncWrapper(t);if(toggleRecurse(e,!1),l&&invokeArrayFns$1(l),!f&&(a=c&&c.onVnodeBeforeMount)&&invokeVNodeHook(a,d,t),toggleRecurse(e,!0),s&&z){const n=()=>{e.subTree=renderComponentRoot(e),z(s,e.subTree,e,r,null)};f?t.type.__asyncLoader().then((()=>!e.isUnmounted&&n())):n()}else{const a=e.subTree=renderComponentRoot(e);m(null,a,n,o,e,r,i),t.el=a.el}if(u&&queuePostRenderEffect(u,r),!f&&(a=c&&c.onVnodeMounted)){const e=t;queuePostRenderEffect((()=>invokeVNodeHook(a,d,e)),r)}const{ba:p,a:h}=e;(256&t.shapeFlag||d&&isAsyncWrapper(d.vnode)&&256&d.vnode.shapeFlag)&&(p&&invokeKeepAliveHooks(p),h&&queuePostRenderEffect(h,r),p&&queuePostRenderEffect((()=>resetHookState(p)),r)),e.isMounted=!0,t=n=o=null}}),(()=>queueJob(c)),e.scope),c=e.update=()=>s.run();c.id=e.uid,toggleRecurse(e,!0),c()},L=(e,t,n)=>{t.component=e;const o=e.vnode.props;e.vnode=t,e.next=null,updateProps(e,t.props,o,n),updateSlots(e,t.children,n),pauseTracking(),flushPreFlushCbs(void 0,e.update),resetTracking()},$=(e,t,n,o,r,i,a,s,c=!1)=>{const l=e&&e.children,d=e?e.shapeFlag:0,f=t.children,{patchFlag:p,shapeFlag:h}=t;if(p>0){if(128&p)return void N(l,f,n,o,r,i,a,s,c);if(256&p)return void k(l,f,n,o,r,i,a,s,c)}8&h?(16&d&&F(l,r,i),f!==l&&u(n,f)):16&d?16&h?N(l,f,n,o,r,i,a,s,c):F(l,r,i,!0):(8&d&&u(n,""),16&h&&E(f,n,o,r,i,a,s,c))},k=(e,t,n,o,r,i,a,s,c)=>{t=t||EMPTY_ARR;const l=(e=e||EMPTY_ARR).length,u=t.length,d=Math.min(l,u);let f;for(f=0;fu?F(e,r,i,!0,!1,d):E(t,n,o,r,i,a,s,c,d)},N=(e,t,n,o,r,i,a,s,c)=>{let l=0;const u=t.length;let d=e.length-1,f=u-1;for(;l<=d&&l<=f;){const o=e[l],u=t[l]=c?cloneIfMounted(t[l]):normalizeVNode(t[l]);if(!isSameVNodeType(o,u))break;m(o,u,n,null,r,i,a,s,c),l++}for(;l<=d&&l<=f;){const o=e[d],l=t[f]=c?cloneIfMounted(t[f]):normalizeVNode(t[f]);if(!isSameVNodeType(o,l))break;m(o,l,n,null,r,i,a,s,c),d--,f--}if(l>d){if(l<=f){const e=f+1,d=ef)for(;l<=d;)D(e[l],r,i,!0),l++;else{const p=l,h=l,g=new Map;for(l=h;l<=f;l++){const e=t[l]=c?cloneIfMounted(t[l]):normalizeVNode(t[l]);null!=e.key&&g.set(e.key,l)}let v,_=0;const y=f-h+1;let b=!1,w=0;const T=new Array(y);for(l=0;l=y){D(o,r,i,!0);continue}let u;if(null!=o.key)u=g.get(o.key);else for(v=h;v<=f;v++)if(0===T[v-h]&&isSameVNodeType(o,t[v])){u=v;break}void 0===u?D(o,r,i,!0):(T[u-h]=l+1,u>=w?w=u:b=!0,m(o,t[u],n,null,r,i,a,s,c),_++)}const E=b?getSequence(T):EMPTY_ARR;for(v=E.length-1,l=y-1;l>=0;l--){const e=h+l,d=t[e],f=e+1{const{el:a,type:s,transition:c,children:l,shapeFlag:u}=e;if(6&u)return void M(e.component.subTree,t,o,r);if(128&u)return void e.suspense.move(t,o,r);if(64&u)return void s.move(e,t,o,G);if(s===Fragment){n(a,t,o);for(let e=0;e{let i;for(;e&&e!==t;)i=f(e),n(e,o,r),e=i;n(t,o,r)})(e,t,o);if(2!==r&&1&u&&c)if(0===r)c.beforeEnter(a),n(a,t,o),queuePostRenderEffect((()=>c.enter(a)),i);else{const{leave:e,delayLeave:r,afterLeave:i}=c,s=()=>n(a,t,o),l=()=>{e(a,(()=>{s(),i&&i()}))};r?r(a,s,l):l()}else n(a,t,o)},D=(e,t,n,o=!1,r=!1)=>{const{type:i,props:a,ref:s,children:c,dynamicChildren:l,shapeFlag:u,patchFlag:d,dirs:f}=e;if(null!=s&&setRef(s,null,n,e,!0),256&u)return void t.ctx.deactivate(e);const p=1&u&&f,h=!isAsyncWrapper(e);let g;if(h&&(g=a&&a.onVnodeBeforeUnmount)&&invokeVNodeHook(g,t,e),6&u)j(e.component,n,o);else{if(128&u)return void e.suspense.unmount(n,o);p&&invokeDirectiveHook(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,r,G,o):l&&(i!==Fragment||d>0&&64&d)?F(l,t,n,!1,!0):(i===Fragment&&384&d||!r&&16&u)&&F(c,t,n),o&&B(e)}(h&&(g=a&&a.onVnodeUnmounted)||p)&&queuePostRenderEffect((()=>{g&&invokeVNodeHook(g,t,e),p&&invokeDirectiveHook(e,null,t,"unmounted")}),n)},B=e=>{const{type:t,el:n,anchor:r,transition:i}=e;if(t===Fragment)return void V(n,r);if(t===Static)return void(({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=f(e),o(e),e=n;o(t)})(e);const a=()=>{o(n),i&&!i.persisted&&i.afterLeave&&i.afterLeave()};if(1&e.shapeFlag&&i&&!i.persisted){const{leave:t,delayLeave:o}=i,r=()=>t(n,a);o?o(e.el,a,r):r()}else a()},V=(e,t)=>{let n;for(;e!==t;)n=f(e),o(e),e=n;o(t)},j=(e,t,n)=>{const{bum:o,scope:r,update:i,subTree:a,um:s}=e;o&&invokeArrayFns$1(o),r.stop(),i&&(i.active=!1,D(a,e,t,n)),s&&queuePostRenderEffect(s,t),queuePostRenderEffect((()=>{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},F=(e,t,n,o=!1,r=!1,i=0)=>{for(let a=i;a6&e.shapeFlag?U(e.component.subTree):128&e.shapeFlag?e.suspense.next():f(e.anchor||e.el),H=(e,t,n)=>{null==e?t._vnode&&D(t._vnode,null,null,!0):m(t._vnode||null,e,t,null,null,null,n),flushPostFlushCbs(),t._vnode=e},G={p:m,um:D,m:M,r:B,mt:x,mc:E,pc:$,pbc:C,n:U,o:e};let W,z;return t&&([W,z]=t(G)),{render:H,hydrate:W,createApp:createAppAPI(H,W)}}function toggleRecurse({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function traverseStaticChildren(e,t,n=!1){const o=e.children,r=t.children;if(isArray$4(o)&&isArray$4(r))for(let i=0;i>1,e[n[s]]0&&(t[o]=n[i-1]),n[i]=o)}}for(i=n.length,a=n[i-1];i-- >0;)n[i]=a,a=t[a];return n}const isTeleport=e=>e.__isTeleport,Fragment=Symbol(void 0),Text=Symbol(void 0),Comment=Symbol(void 0),Static=Symbol(void 0),blockStack=[];let currentBlock=null;function openBlock(e=!1){blockStack.push(currentBlock=e?null:[])}function closeBlock(){blockStack.pop(),currentBlock=blockStack[blockStack.length-1]||null}let isBlockTreeEnabled=1;function setBlockTracking(e){isBlockTreeEnabled+=e}function setupBlock(e){return e.dynamicChildren=isBlockTreeEnabled>0?currentBlock||EMPTY_ARR:null,closeBlock(),isBlockTreeEnabled>0&¤tBlock&¤tBlock.push(e),e}function createElementBlock(e,t,n,o,r,i){return setupBlock(createBaseVNode(e,t,n,o,r,i,!0))}function createBlock(e,t,n,o,r){return setupBlock(createVNode(e,t,n,o,r,!0))}function isVNode(e){return!!e&&!0===e.__v_isVNode}function isSameVNodeType(e,t){return e.type===t.type&&e.key===t.key}const InternalObjectKey="__vInternal",normalizeKey=({key:e})=>null!=e?e:null,normalizeRef=({ref:e,ref_key:t,ref_for:n})=>null!=e?isString(e)||isRef(e)||isFunction$1(e)?{i:currentRenderingInstance,r:e,k:t,f:!!n}:e:null;function createBaseVNode(e,t=null,n=null,o=0,r=null,i=(e===Fragment?0:1),a=!1,s=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&normalizeKey(t),ref:t&&normalizeRef(t),scopeId:currentScopeId,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:o,dynamicProps:r,dynamicChildren:null,appContext:null};return s?(normalizeChildren(c,n),128&i&&e.normalize(c)):n&&(c.shapeFlag|=isString(n)?8:16),isBlockTreeEnabled>0&&!a&¤tBlock&&(c.patchFlag>0||6&i)&&32!==c.patchFlag&¤tBlock.push(c),c}const createVNode=_createVNode;function _createVNode(e,t=null,n=null,o=0,r=null,i=!1){if(e&&e!==NULL_DYNAMIC_COMPONENT||(e=Comment),isVNode(e)){const o=cloneVNode(e,t,!0);return n&&normalizeChildren(o,n),isBlockTreeEnabled>0&&!i&¤tBlock&&(6&o.shapeFlag?currentBlock[currentBlock.indexOf(e)]=o:currentBlock.push(o)),o.patchFlag|=-2,o}if(isClassComponent(e)&&(e=e.__vccOpts),t){t=guardReactiveProps(t);let{class:e,style:n}=t;e&&!isString(e)&&(t.class=normalizeClass(e)),isObject$2(n)&&(isProxy(n)&&!isArray$4(n)&&(n=extend$1({},n)),t.style=normalizeStyle(n))}return createBaseVNode(e,t,n,o,r,isString(e)?1:isSuspense(e)?128:isTeleport(e)?64:isObject$2(e)?4:isFunction$1(e)?2:0,i,!0)}function guardReactiveProps(e){return e?isProxy(e)||InternalObjectKey in e?extend$1({},e):e:null}function cloneVNode(e,t,n=!1){const{props:o,ref:r,patchFlag:i,children:a}=e,s=t?mergeProps(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&normalizeKey(s),ref:t&&t.ref?n&&r?isArray$4(r)?r.concat(normalizeRef(t)):[r,normalizeRef(t)]:normalizeRef(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Fragment?-1===i?16:16|i:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&cloneVNode(e.ssContent),ssFallback:e.ssFallback&&cloneVNode(e.ssFallback),el:e.el,anchor:e.anchor}}function createTextVNode(e=" ",t=0){return createVNode(Text,null,e,t)}function createCommentVNode(e="",t=!1){return t?(openBlock(),createBlock(Comment,null,e)):createVNode(Comment,null,e)}function normalizeVNode(e){return null==e||"boolean"==typeof e?createVNode(Comment):isArray$4(e)?createVNode(Fragment,null,e.slice()):"object"==typeof e?cloneIfMounted(e):createVNode(Text,null,String(e))}function cloneIfMounted(e){return null===e.el||e.memo?e:cloneVNode(e)}function normalizeChildren(e,t){let n=0;const{shapeFlag:o}=e;if(null==t)t=null;else if(isArray$4(t))n=16;else if("object"==typeof t){if(65&o){const n=t.default;return void(n&&(n._c&&(n._d=!1),normalizeChildren(e,n()),n._c&&(n._d=!0)))}{n=32;const o=t._;o||InternalObjectKey in t?3===o&¤tRenderingInstance&&(1===currentRenderingInstance.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=currentRenderingInstance}}else isFunction$1(t)?(t={default:t,_ctx:currentRenderingInstance},n=32):(t=String(t),64&o?(n=16,t=[createTextVNode(t)]):n=8);e.children=t,e.shapeFlag|=n}function mergeProps(...e){const t={};for(let n=0;ncurrentInstance||currentRenderingInstance,setCurrentInstance=e=>{currentInstance=e,e.scope.on()},unsetCurrentInstance=()=>{currentInstance&¤tInstance.scope.off(),currentInstance=null};function isStatefulComponent(e){return 4&e.vnode.shapeFlag}let isInSSRComponentSetup=!1,compile$1;function setupComponent$1(e,t=!1){isInSSRComponentSetup=t;const{props:n,children:o}=e.vnode,r=isStatefulComponent(e);initProps(e,n,r,t),initSlots(e,o);const i=r?setupStatefulComponent(e,t):void 0;return isInSSRComponentSetup=!1,i}function setupStatefulComponent(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=markRaw(new Proxy(e.ctx,PublicInstanceProxyHandlers));const{setup:o}=n;if(o){const n=e.setupContext=o.length>1?createSetupContext(e):null;setCurrentInstance(e),pauseTracking();const r=callWithErrorHandling(o,e,0,[e.props,n]);if(resetTracking(),unsetCurrentInstance(),isPromise(r)){if(r.then(unsetCurrentInstance,unsetCurrentInstance),t)return r.then((n=>{handleSetupResult(e,n,t)})).catch((t=>{handleError(t,e,0)}));e.asyncDep=r}else handleSetupResult(e,r,t)}else finishComponentSetup(e,t)}function handleSetupResult(e,t,n){isFunction$1(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:isObject$2(t)&&(e.setupState=proxyRefs(t)),finishComponentSetup(e,n)}function finishComponentSetup(e,t,n){const o=e.type;if(!e.render){if(!t&&compile$1&&!o.render){const t=o.template;if(t){const{isCustomElement:n,compilerOptions:r}=e.appContext.config,{delimiters:i,compilerOptions:a}=o,s=extend$1(extend$1({isCustomElement:n,delimiters:i},r),a);o.render=compile$1(t,s)}}e.render=o.render||NOOP}setCurrentInstance(e),pauseTracking(),applyOptions$1(e),resetTracking(),unsetCurrentInstance()}function createAttrsProxy(e){return new Proxy(e.attrs,{get:(t,n)=>(track(e,"get","$attrs"),t[n])})}function createSetupContext(e){const t=t=>{e.exposed=t||{}};let n;return{get attrs(){return n||(n=createAttrsProxy(e))},slots:e.slots,emit:e.emit,expose:t}}function getExposeProxy(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(proxyRefs(markRaw(e.exposed)),{get:(t,n)=>n in t?t[n]:n in publicPropertiesMap?publicPropertiesMap[n](e):void 0}))}function getComponentName(e,t=!0){return isFunction$1(e)?e.displayName||e.name:e.name||t&&e.__name}function isClassComponent(e){return isFunction$1(e)&&"__vccOpts"in e}const computed$1=(e,t)=>computed(e,t,isInSSRComponentSetup);function h(e,t,n){const o=arguments.length;return 2===o?isObject$2(t)&&!isArray$4(t)?isVNode(t)?createVNode(e,null,[t]):createVNode(e,t):createVNode(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):3===o&&isVNode(n)&&(n=[n]),createVNode(e,t,n))}const version$1="3.2.37",svgNS="http://www.w3.org/2000/svg",doc="undefined"!=typeof document?document:null,templateContainer=doc&&doc.createElement("template"),nodeOps={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const r=t?doc.createElementNS(svgNS,e):doc.createElement(e,n?{is:n}:void 0);return"select"===e&&o&&null!=o.multiple&&r.setAttribute("multiple",o.multiple),r},createText:e=>doc.createTextNode(e),createComment:e=>doc.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>doc.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},cloneNode(e){const t=e.cloneNode(!0);return"_value"in e&&(t._value=e._value),t},insertStaticContent(e,t,n,o,r,i){const a=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),r!==i&&(r=r.nextSibling););else{templateContainer.innerHTML=o?``:e;const r=templateContainer.content;if(o){const e=r.firstChild;for(;e.firstChild;)r.appendChild(e.firstChild);r.removeChild(e)}t.insertBefore(r,n)}return[a?a.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function patchClass(e,t,n){const{__wxsAddClass:o,__wxsRemoveClass:r}=e;r&&r.length&&(t=(t||"").split(/\s+/).filter((e=>-1===r.indexOf(e))).join(" "),r.length=0),o&&o.length&&(t=(t||"")+" "+o.join(" "));const i=e._vtc;i&&(t=(t?[t,...i]:[...i]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function patchStyle(e,t,n){const o=e.style,r=isString(n);if(n&&!r){for(const e in n)setStyle(o,e,n[e]);if(t&&!isString(t))for(const e in t)null==n[e]&&setStyle(o,e,"")}else{const i=o.display;r?t!==n&&(o.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(o.display=i)}const{__wxsStyle:i}=e;if(i)for(const a in i)setStyle(o,a,i[a])}const importantRE=/\s*!important$/;function setStyle(e,t,n){if(isArray$4(n))n.forEach((n=>setStyle(e,t,n)));else if(null==n&&(n=""),n=normalizeRpx(n),t.startsWith("--"))e.setProperty(t,n);else{const o=autoPrefix(e,t);importantRE.test(n)?e.setProperty(hyphenate(o),n.replace(importantRE,""),"important"):e[o]=n}}const prefixes=["Webkit","Moz","ms"],prefixCache={};function autoPrefix(e,t){const n=prefixCache[t];if(n)return n;let o=camelize(t);if("filter"!==o&&o in e)return prefixCache[t]=o;o=capitalize(o);for(let r=0;r"function"!=typeof rpx2px?e:isString(e)?e.replace(rpxRE,((e,t)=>rpx2px(t)+"px")):e,xlinkNS="http://www.w3.org/1999/xlink";function patchAttr(e,t,n,o,r){if(o&&t.startsWith("xlink:"))null==n?e.removeAttributeNS(xlinkNS,t.slice(6,t.length)):e.setAttributeNS(xlinkNS,t,n);else{const o=isSpecialBooleanAttr(t);null==n||o&&!includeBooleanAttr(n)?e.removeAttribute(t):e.setAttribute(t,o?"":n)}}function patchDOMProp(e,t,n,o,r,i,a){if("innerHTML"===t||"textContent"===t)return o&&a(o,r,i),void(e[t]=null==n?"":n);if("value"===t&&"PROGRESS"!==e.tagName&&!e.tagName.includes("-")){e._value=n;const o=null==n?"":n;return e.value===o&&"OPTION"!==e.tagName||(e.value=o),void(null==n&&e.removeAttribute(t))}let s=!1;if(""===n||null==n){const o=typeof e[t];"boolean"===o?n=includeBooleanAttr(n):null==n&&"string"===o?(n="",s=!0):"number"===o&&(n=0,s=!0)}try{e[t]=n}catch(c){}s&&e.removeAttribute(t)}const[_getNow,skipTimestampCheck]=(()=>{let e=Date.now,t=!1;if("undefined"!=typeof window){Date.now()>document.createEvent("Event").timeStamp&&(e=performance.now.bind(performance));const n=navigator.userAgent.match(/firefox\/(\d+)/i);t=!!(n&&Number(n[1])<=53)}return[e,t]})();let cachedNow=0;const p$1=Promise.resolve(),reset=()=>{cachedNow=0},getNow=()=>cachedNow||(p$1.then(reset),cachedNow=_getNow());function addEventListener(e,t,n,o){e.addEventListener(t,n,o)}function removeEventListener(e,t,n,o){e.removeEventListener(t,n,o)}function patchEvent(e,t,n,o,r=null){const i=e._vei||(e._vei={}),a=i[t];if(o&&a)a.value=o;else{const[n,s]=parseName(t);if(o){addEventListener(e,n,i[t]=createInvoker(o,r),s)}else a&&(removeEventListener(e,n,a,s),i[t]=void 0)}}const optionsModifierRE=/(?:Once|Passive|Capture)$/;function parseName(e){let t;if(optionsModifierRE.test(e)){let n;for(t={};n=e.match(optionsModifierRE);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[hyphenate(e.slice(2)),t]}function createInvoker(e,t){const n=e=>{const o=e.timeStamp||_getNow();if(skipTimestampCheck||o>=n.attached-1){const o=t&&t.proxy,r=o&&o.$nne,{value:i}=n;if(r&&isArray$4(i)){const n=patchStopImmediatePropagation(e,i);for(let o=0;o{n.call(e),e._stopped=!0},t.map((e=>{const t=t=>!t._stopped&&e&&e(t);return t.__wwe=e.__wwe,t}))}return t}function patchWxs(e,t,n,o=null){if(!n||!o)return;const r=t.replace("change:",""),{attrs:i}=o,a=i[r],s=(e.__wxsProps||(e.__wxsProps={}))[r];if(s===a)return;e.__wxsProps[r]=a;const c=o.proxy;nextTick((()=>{n(a,s,c.$gcd(c,!0),c.$gcd(c,!1))}))}const nativeOnRE=/^on[a-z]/,forcePatchProp=(e,t)=>0===t.indexOf("change:")||("class"===t&&e.__wxsClassChanged?(e.__wxsClassChanged=!1,!0):!("style"!==t||!e.__wxsStyleChanged)&&(e.__wxsStyleChanged=!1,!0)),patchProp=(e,t,n,o,r=!1,i,a,s,c)=>{if(0===t.indexOf("change:"))return patchWxs(e,t,o,a);"class"===t?patchClass(e,o,r):"style"===t?patchStyle(e,n,o):isOn(t)?isModelListener(t)||patchEvent(e,t,n,o,a):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):shouldSetAsProp(e,t,o,r))?patchDOMProp(e,t,o,i,a,s,c):("true-value"===t?e._trueValue=o:"false-value"===t&&(e._falseValue=o),patchAttr(e,t,o,r))};function shouldSetAsProp(e,t,n,o){return o?"innerHTML"===t||"textContent"===t||!!(t in e&&nativeOnRE.test(t)&&isFunction$1(n)):"spellcheck"!==t&&"draggable"!==t&&"translate"!==t&&("form"!==t&&(("list"!==t||"INPUT"!==e.tagName)&&(("type"!==t||"TEXTAREA"!==e.tagName)&&((!nativeOnRE.test(t)||!isString(n))&&t in e))))}const TRANSITION="transition",ANIMATION="animation",Transition=(e,{slots:t})=>h(BaseTransition,resolveTransitionProps(e),t);Transition.displayName="Transition";const DOMTransitionPropsValidators={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};Transition.props=extend$1({},BaseTransition.props,DOMTransitionPropsValidators);const callHook$1=(e,t=[])=>{isArray$4(e)?e.forEach((e=>e(...t))):e&&e(...t)},hasExplicitCallback=e=>!!e&&(isArray$4(e)?e.some((e=>e.length>1)):e.length>1);function resolveTransitionProps(e){const t={};for(const A in e)A in DOMTransitionPropsValidators||(t[A]=e[A]);if(!1===e.css)return t;const{name:n="v",type:o,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:c=i,appearActiveClass:l=a,appearToClass:u=s,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,h=normalizeDuration(r),g=h&&h[0],m=h&&h[1],{onBeforeEnter:v,onEnter:_,onEnterCancelled:y,onLeave:b,onLeaveCancelled:w,onBeforeAppear:T=v,onAppear:E=_,onAppearCancelled:S=y}=t,C=(e,t,n)=>{removeTransitionClass(e,t?u:s),removeTransitionClass(e,t?l:a),n&&n()},O=(e,t)=>{e._isLeaving=!1,removeTransitionClass(e,d),removeTransitionClass(e,p),removeTransitionClass(e,f),t&&t()},I=e=>(t,n)=>{const r=e?E:_,a=()=>C(t,e,n);callHook$1(r,[t,a]),nextFrame((()=>{removeTransitionClass(t,e?c:i),addTransitionClass(t,e?u:s),hasExplicitCallback(r)||whenTransitionEnds(t,o,g,a)}))};return extend$1(t,{onBeforeEnter(e){callHook$1(v,[e]),addTransitionClass(e,i),addTransitionClass(e,a)},onBeforeAppear(e){callHook$1(T,[e]),addTransitionClass(e,c),addTransitionClass(e,l)},onEnter:I(!1),onAppear:I(!0),onLeave(e,t){e._isLeaving=!0;const n=()=>O(e,t);addTransitionClass(e,d),forceReflow(),addTransitionClass(e,f),nextFrame((()=>{e._isLeaving&&(removeTransitionClass(e,d),addTransitionClass(e,p),hasExplicitCallback(b)||whenTransitionEnds(e,o,m,n))})),callHook$1(b,[e,n])},onEnterCancelled(e){C(e,!1),callHook$1(y,[e])},onAppearCancelled(e){C(e,!0),callHook$1(S,[e])},onLeaveCancelled(e){O(e),callHook$1(w,[e])}})}function normalizeDuration(e){if(null==e)return null;if(isObject$2(e))return[NumberOf(e.enter),NumberOf(e.leave)];{const t=NumberOf(e);return[t,t]}}function NumberOf(e){return toNumber(e)}function addTransitionClass(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),(e._vtc||(e._vtc=new Set)).add(t)}function removeTransitionClass(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.remove(t)));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function nextFrame(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let endId=0;function whenTransitionEnds(e,t,n,o){const r=e._endId=++endId,i=()=>{r===e._endId&&o()};if(n)return setTimeout(i,n);const{type:a,timeout:s,propCount:c}=getTransitionInfo(e,t);if(!a)return o();const l=a+"end";let u=0;const d=()=>{e.removeEventListener(l,f),i()},f=t=>{t.target===e&&++u>=c&&d()};setTimeout((()=>{u(n[e]||"").split(", "),r=o(TRANSITION+"Delay"),i=o(TRANSITION+"Duration"),a=getTimeout(r,i),s=o(ANIMATION+"Delay"),c=o(ANIMATION+"Duration"),l=getTimeout(s,c);let u=null,d=0,f=0;t===TRANSITION?a>0&&(u=TRANSITION,d=a,f=i.length):t===ANIMATION?l>0&&(u=ANIMATION,d=l,f=c.length):(d=Math.max(a,l),u=d>0?a>l?TRANSITION:ANIMATION:null,f=u?u===TRANSITION?i.length:c.length:0);return{type:u,timeout:d,propCount:f,hasTransform:u===TRANSITION&&/\b(transform|all)(,|$)/.test(n[TRANSITION+"Property"])}}function getTimeout(e,t){for(;e.lengthtoMs(t)+toMs(e[n]))))}function toMs(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}function forceReflow(){return document.body.offsetHeight}const systemModifiers=["ctrl","shift","alt","meta"],modifierGuards={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)=>systemModifiers.some((n=>e[`${n}Key`]&&!t.includes(n)))},withModifiers=(e,t)=>(n,...o)=>{for(let e=0;e{setDisplay(e,!1)})):setDisplay(e,t))},beforeUnmount(e,{value:t}){setDisplay(e,t)}};function setDisplay(e,t){e.style.display=t?e._vod:"none"}const rendererOptions=extend$1({patchProp:patchProp,forcePatchProp:forcePatchProp},nodeOps);let renderer;function ensureRenderer(){return renderer||(renderer=createRenderer(rendererOptions))}const createApp$1=(...e)=>{const t=ensureRenderer().createApp(...e),{mount:n}=t;return t.mount=e=>{const o=normalizeContainer(e);if(!o)return;const r=t._component;isFunction$1(r)||r.render||r.template||(r.template=o.innerHTML),o.innerHTML="";const i=n(o,!1,o instanceof SVGElement);return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t};function normalizeContainer(e){if(isString(e)){return document.querySelector(e)}return e}const isObject$1=e=>null!==e&&"object"==typeof e,defaultDelimiters=["{","}"];class BaseFormatter{constructor(){this._caches=Object.create(null)}interpolate(e,t,n=defaultDelimiters){if(!t)return[e];let o=this._caches[e];return o||(o=parse(e,n),this._caches[e]=o),compile(o,t)}}const RE_TOKEN_LIST_VALUE=/^(?:\d)+/,RE_TOKEN_NAMED_VALUE=/^(?:\w)+/;function parse(e,[t,n]){const o=[];let r=0,i="";for(;rhasOwnProperty$9.call(e,t),defaultFormatter=new BaseFormatter;function include(e,t){return!!t.find((t=>-1!==e.indexOf(t)))}function startsWith(e,t){return t.find((t=>0===e.indexOf(t)))}function normalizeLocale(e,t){if(!e)return;if(e=e.trim().replace(/_/g,"-"),t&&t[e])return e;if("chinese"===(e=e.toLowerCase()))return LOCALE_ZH_HANS;if(0===e.indexOf("zh"))return e.indexOf("-hans")>-1?LOCALE_ZH_HANS:e.indexOf("-hant")>-1||include(e,["-tw","-hk","-mo","-cht"])?LOCALE_ZH_HANT:LOCALE_ZH_HANS;const n=startsWith(e,[LOCALE_EN,LOCALE_FR,LOCALE_ES]);return n||void 0}class I18n{constructor({locale:e,fallbackLocale:t,messages:n,watcher:o,formater:r}){this.locale=LOCALE_EN,this.fallbackLocale=LOCALE_EN,this.message={},this.messages={},this.watchers=[],t&&(this.fallbackLocale=t),this.formater=r||defaultFormatter,this.messages=n||{},this.setLocale(e||LOCALE_EN),o&&this.watchLocale(o)}setLocale(e){const t=this.locale;this.locale=normalizeLocale(e,this.messages)||this.fallbackLocale,this.messages[this.locale]||(this.messages[this.locale]={}),this.message=this.messages[this.locale],t!==this.locale&&this.watchers.forEach((e=>{e(this.locale,t)}))}getLocale(){return this.locale}watchLocale(e){const t=this.watchers.push(e)-1;return()=>{this.watchers.splice(t,1)}}add(e,t,n=!0){const o=this.messages[e];o?n?Object.assign(o,t):Object.keys(t).forEach((e=>{hasOwn(o,e)||(o[e]=t[e])})):this.messages[e]=t}f(e,t,n){return this.formater.interpolate(e,t,n).join("")}t(e,t,n){let o=this.message;return"string"==typeof t?(t=normalizeLocale(t,this.messages))&&(o=this.messages[t]):n=t,hasOwn(o,e)?this.formater.interpolate(o[e],n).join(""):(console.warn(`Cannot translate the value of keypath ${e}. Use the value of keypath as default.`),e)}}function watchAppLocale(e,t){e.$watchLocale?e.$watchLocale((e=>{t.setLocale(e)})):e.$watch((()=>e.$locale),(e=>{t.setLocale(e)}))}function getDefaultLocale(){return"undefined"!=typeof uni&&getLocale?getLocale():"undefined"!=typeof global&&global.getLocale?global.getLocale():LOCALE_EN}function initVueI18n(e,t={},n,o){"string"!=typeof e&&([e,t]=[t,e]),"string"!=typeof e&&(e=getDefaultLocale()),"string"!=typeof n&&(n="undefined"!=typeof __uniConfig&&__uniConfig.fallbackLocale||LOCALE_EN);const r=new I18n({locale:e,fallbackLocale:n,messages:t,watcher:o});let i=(e,t)=>{if("function"!=typeof getApp$1)i=function(e,t){return r.t(e,t)};else{let e=!1;i=function(t,n){const o=getApp$1().$vm;return o&&(o.$locale,e||(e=!0,watchAppLocale(o,r))),r.t(t,n)}}return i(e,t)};return{i18n:r,f:(e,t,n)=>r.f(e,t,n),t:(e,t)=>i(e,t),add:(e,t,n=!0)=>r.add(e,t,n),watch:e=>r.watchLocale(e),getLocale:()=>r.getLocale(),setLocale:e=>r.setLocale(e)}}function isI18nStr(e,t){return e.indexOf(t[0])>-1}
+var __defProp=Object.defineProperty,__defNormalProp=(e,t,n)=>t in e?__defProp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,__publicField=(e,t,n)=>(__defNormalProp(e,"symbol"!=typeof t?t+"":t,n),n);const p$2=function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))t(e);new MutationObserver((e=>{for(const n of e)if("childList"===n.type)for(const e of n.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&t(e)})).observe(document,{childList:!0,subtree:!0})}function t(e){if(e.ep)return;e.ep=!0;const t=function(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerpolicy&&(t.referrerPolicy=e.referrerpolicy),"use-credentials"===e.crossorigin?t.credentials="include":"anonymous"===e.crossorigin?t.credentials="omit":t.credentials="same-origin",t}(e);fetch(e.href,t)}};p$2();const scriptRel="modulepreload",seen={},base$1="/",__vitePreload=function(e,t){return t&&0!==t.length?Promise.all(t.map((e=>{if((e=`${base$1}${e}`)in seen)return;seen[e]=!0;const t=e.endsWith(".css"),n=t?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${e}"]${n}`))return;const o=document.createElement("link");return o.rel=t?"stylesheet":scriptRel,t||(o.as="script",o.crossOrigin=""),o.href=e,document.head.appendChild(o),t?new Promise(((t,n)=>{o.addEventListener("load",t),o.addEventListener("error",(()=>n(new Error(`Unable to preload CSS for ${e}`))))})):void 0}))).then((()=>e())):e()};function makeMap(e,t){const n=Object.create(null),o=e.split(",");for(let r=0;r!!n[e.toLowerCase()]:e=>!!n[e]}const specialBooleanAttrs="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",isSpecialBooleanAttr=makeMap(specialBooleanAttrs);function includeBooleanAttr(e){return!!e||""===e}const isNoUnitNumericStyleProp=makeMap("animation-iteration-count,border-image-outset,border-image-slice,border-image-width,box-flex,box-flex-group,box-ordinal-group,column-count,columns,flex,flex-grow,flex-positive,flex-shrink,flex-negative,flex-order,grid-row,grid-row-end,grid-row-span,grid-row-start,grid-column,grid-column-end,grid-column-span,grid-column-start,font-weight,line-clamp,line-height,opacity,order,orphans,tab-size,widows,z-index,zoom,fill-opacity,flood-opacity,stop-opacity,stroke-dasharray,stroke-dashoffset,stroke-miterlimit,stroke-opacity,stroke-width");function normalizeStyle(e){if(isArray$4(e)){const t={};for(let n=0;n{if(e){const n=e.split(propertyDelimiterRE);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function stringifyStyle(e){let t="";if(!e||isString(e))return t;for(const n in e){const o=e[n],r=n.startsWith("--")?n:hyphenate(n);(isString(o)||"number"==typeof o&&isNoUnitNumericStyleProp(r))&&(t+=`${r}:${o};`)}return t}function normalizeClass(e){let t="";if(isString(e))t=e;else if(isArray$4(e))for(let n=0;nisString(e)?e:null==e?"":isArray$4(e)||isObject$2(e)&&(e.toString===objectToString$1||!isFunction$1(e.toString))?JSON.stringify(e,replacer,2):String(e),replacer=(e,t)=>t&&t.__v_isRef?replacer(e,t.value):isMap(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n])=>(e[`${t} =>`]=n,e)),{})}:isSet(t)?{[`Set(${t.size})`]:[...t.values()]}:!isObject$2(t)||isArray$4(t)||isPlainObject$2(t)?t:String(t),EMPTY_OBJ={},EMPTY_ARR=[],NOOP=()=>{},NO=()=>!1,onRE=/^on[^a-z]/,isOn=e=>onRE.test(e),isModelListener=e=>e.startsWith("onUpdate:"),extend$1=Object.assign,remove=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},hasOwnProperty$a=Object.prototype.hasOwnProperty,hasOwn$1=(e,t)=>hasOwnProperty$a.call(e,t),isArray$4=Array.isArray,isMap=e=>"[object Map]"===toTypeString(e),isSet=e=>"[object Set]"===toTypeString(e),isFunction$1=e=>"function"==typeof e,isString=e=>"string"==typeof e,isSymbol=e=>"symbol"==typeof e,isObject$2=e=>null!==e&&"object"==typeof e,isPromise=e=>isObject$2(e)&&isFunction$1(e.then)&&isFunction$1(e.catch),objectToString$1=Object.prototype.toString,toTypeString=e=>objectToString$1.call(e),toRawType=e=>toTypeString(e).slice(8,-1),isPlainObject$2=e=>"[object Object]"===toTypeString(e),isIntegerKey=e=>isString(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,isReservedProp=makeMap(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),cacheStringFunction=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},camelizeRE=/-(\w)/g,camelize=cacheStringFunction((e=>e.replace(camelizeRE,((e,t)=>t?t.toUpperCase():"")))),hyphenateRE=/\B([A-Z])/g,hyphenate=cacheStringFunction((e=>e.replace(hyphenateRE,"-$1").toLowerCase())),capitalize=cacheStringFunction((e=>e.charAt(0).toUpperCase()+e.slice(1))),toHandlerKey=cacheStringFunction((e=>e?`on${capitalize(e)}`:"")),hasChanged=(e,t)=>!Object.is(e,t),invokeArrayFns$1=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},toNumber=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let _globalThis;const getGlobalThis=()=>_globalThis||(_globalThis="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{}),BUILT_IN_TAG_NAMES=["ad","ad-content-page","ad-draw","audio","button","camera","canvas","checkbox","checkbox-group","cover-image","cover-view","editor","form","functional-page-navigator","icon","image","input","label","live-player","live-pusher","map","movable-area","movable-view","navigator","official-account","open-data","picker","picker-view","picker-view-column","progress","radio","radio-group","rich-text","scroll-view","slider","swiper","swiper-item","switch","text","textarea","video","view","web-view"],BUILT_IN_TAGS=BUILT_IN_TAG_NAMES.map((e=>"uni-"+e));function isBuiltInComponent(e){return-1!==BUILT_IN_TAGS.indexOf("uni-"+e.replace("v-uni-",""))}const LINEFEED="\n",ON_REACH_BOTTOM_DISTANCE=50,UNI_STORAGE_LOCALE="UNI_LOCALE",I18N_JSON_DELIMITERS=["%","%"],PRIMARY_COLOR="#007aff",SCHEME_RE=/^([a-z-]+:)?\/\//i,DATA_RE=/^data:.*,.*/,WEB_INVOKE_APPSERVICE="WEB_INVOKE_APPSERVICE",ON_SHOW="onShow",ON_HIDE="onHide",ON_LAUNCH="onLaunch",ON_ERROR="onError",ON_THEME_CHANGE="onThemeChange",ON_PAGE_NOT_FOUND="onPageNotFound",ON_UNHANDLE_REJECTION="onUnhandledRejection",ON_LOAD="onLoad",ON_READY="onReady",ON_UNLOAD="onUnload",ON_INIT="onInit",ON_SAVE_EXIT_STATE="onSaveExitState",ON_RESIZE="onResize",ON_BACK_PRESS="onBackPress",ON_PAGE_SCROLL="onPageScroll",ON_TAB_ITEM_TAP="onTabItemTap",ON_REACH_BOTTOM="onReachBottom",ON_PULL_DOWN_REFRESH="onPullDownRefresh",ON_SHARE_TIMELINE="onShareTimeline",ON_ADD_TO_FAVORITES="onAddToFavorites",ON_SHARE_APP_MESSAGE="onShareAppMessage",ON_NAVIGATION_BAR_BUTTON_TAP="onNavigationBarButtonTap",ON_NAVIGATION_BAR_CHANGE="onNavigationBarChange",ON_NAVIGATION_BAR_SEARCH_INPUT_CLICKED="onNavigationBarSearchInputClicked",ON_NAVIGATION_BAR_SEARCH_INPUT_CHANGED="onNavigationBarSearchInputChanged",ON_NAVIGATION_BAR_SEARCH_INPUT_CONFIRMED="onNavigationBarSearchInputConfirmed",ON_NAVIGATION_BAR_SEARCH_INPUT_FOCUS_CHANGED="onNavigationBarSearchInputFocusChanged",ON_APP_ENTER_FOREGROUND="onAppEnterForeground",ON_APP_ENTER_BACKGROUND="onAppEnterBackground",ON_WEB_INVOKE_APP_SERVICE="onWebInvokeAppService",ON_WXS_INVOKE_CALL_METHOD="onWxsInvokeCallMethod";function isComponentInternalInstance(e){return!!e.appContext}function resolveComponentInstance(e){return e&&(isComponentInternalInstance(e)?e.proxy:e)}function resolveOwnerVm(e){if(!e)return;let t=e.type.name;for(;t&&isBuiltInComponent(hyphenate(t));)t=(e=e.parent).type.name;return e.proxy}function isElement(e){return 1===e.nodeType}function resolveOwnerEl(e){const{vnode:t}=e;if(isElement(t.el))return t.el;const{subTree:n}=e;if(16&n.shapeFlag){const e=n.children.find((e=>e.el&&isElement(e.el)));if(e)return e.el}return t.el}function getLen(e=""){return(""+e).replace(/[^\x00-\xff]/g,"**").length}function hasLeadingSlash(e){return 0===e.indexOf("/")}function addLeadingSlash(e){return hasLeadingSlash(e)?e:"/"+e}function removeLeadingSlash(e){return hasLeadingSlash(e)?e.slice(1):e}const invokeArrayFns=(e,t)=>{let n;for(let o=0;o(e&&(n=e.apply(t,o),e=null),n)}function callOptions(e,t){e=e||{},isString(t)&&(t={errMsg:t}),/:ok$/.test(t.errMsg)?isFunction$1(e.success)&&e.success(t):isFunction$1(e.fail)&&e.fail(t),isFunction$1(e.complete)&&e.complete(t)}function sortObject(e){let t={};return isPlainObject$2(e)&&Object.keys(e).sort().forEach((n=>{const o=n;t[o]=e[o]})),Object.keys(t)?t:e}function formatKey(e){return camelize(e.substring(5))}const initCustomDatasetOnce=once((()=>{const e=HTMLElement.prototype,t=e.setAttribute;e.setAttribute=function(e,n){if(e.startsWith("data-")&&this.tagName.startsWith("UNI-")){(this.__uniDataset||(this.__uniDataset={}))[formatKey(e)]=n}t.call(this,e,n)};const n=e.removeAttribute;e.removeAttribute=function(e){this.__uniDataset&&e.startsWith("data-")&&this.tagName.startsWith("UNI-")&&delete this.__uniDataset[formatKey(e)],n.call(this,e)}}));function getCustomDataset(e){return extend$1({},e.dataset,e.__uniDataset)}function passive(e){return{passive:e}}function normalizeTarget(e){const{id:t,offsetTop:n,offsetLeft:o}=e;return{id:t,dataset:getCustomDataset(e),offsetTop:n,offsetLeft:o}}function scrollTo(e,t,n){if(isString(e)){const t=document.querySelector(e);if(t){const{height:o,top:r}=t.getBoundingClientRect();e=r+window.pageYOffset,n&&(e-=o)}}e<0&&(e=0);const o=document.documentElement,{clientHeight:r,scrollHeight:i}=o;if(e=Math.min(e,i-r),0===t)return void(o.scrollTop=document.body.scrollTop=e);if(window.scrollY===e)return;const a=t=>{if(t<=0)return void window.scrollTo(0,e);const n=e-window.scrollY;requestAnimationFrame((function(){window.scrollTo(0,window.scrollY+n/t*10),a(t-10)}))};a(t)}function decode$1(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}function decodedQuery(e={}){const t={};return Object.keys(e).forEach((n=>{try{t[n]=decode$1(e[n])}catch(o){t[n]=e[n]}})),t}const PLUS_RE$1=/\+/g;function parseQuery$1(e){const t={};if(""===e||"?"===e)return t;const n=("?"===e[0]?e.slice(1):e).split("&");for(let o=0;oe.apply(this,arguments);r=o(i,t)};return i.cancel=function(){n(r)},i}class EventChannel{constructor(e,t){this.id=e,this.listener={},this.emitCache={},t&&Object.keys(t).forEach((e=>{this.on(e,t[e])}))}emit(e,...t){const n=this.listener[e];if(!n)return(this.emitCache[e]||(this.emitCache[e]=[])).push(t);n.forEach((e=>{e.fn.apply(e.fn,t)})),this.listener[e]=n.filter((e=>"once"!==e.type))}on(e,t){this._addListener(e,"on",t),this._clearCache(e)}once(e,t){this._addListener(e,"once",t),this._clearCache(e)}off(e,t){const n=this.listener[e];if(n)if(t)for(let o=0;o0;)this.emit.apply(this,[e,...t.shift()])}_addListener(e,t,n){(this.listener[e]||(this.listener[e]=[])).push({fn:n,type:t})}}const PAGE_HOOKS=[ON_INIT,ON_LOAD,ON_SHOW,ON_HIDE,ON_UNLOAD,ON_BACK_PRESS,ON_PAGE_SCROLL,ON_TAB_ITEM_TAP,ON_REACH_BOTTOM,ON_PULL_DOWN_REFRESH,ON_SHARE_TIMELINE,ON_SHARE_APP_MESSAGE,ON_ADD_TO_FAVORITES,ON_SAVE_EXIT_STATE,ON_NAVIGATION_BAR_BUTTON_TAP,ON_NAVIGATION_BAR_SEARCH_INPUT_CLICKED,ON_NAVIGATION_BAR_SEARCH_INPUT_CHANGED,ON_NAVIGATION_BAR_SEARCH_INPUT_CONFIRMED,ON_NAVIGATION_BAR_SEARCH_INPUT_FOCUS_CHANGED],PAGE_SYNC_HOOKS=[ON_LOAD,ON_SHOW];function isRootImmediateHook(e){return PAGE_SYNC_HOOKS.indexOf(e)>-1}function isRootHook(e){return PAGE_HOOKS.indexOf(e)>-1}const UniLifecycleHooks=[ON_SHOW,ON_HIDE,ON_LAUNCH,ON_ERROR,ON_THEME_CHANGE,ON_PAGE_NOT_FOUND,ON_UNHANDLE_REJECTION,ON_INIT,ON_LOAD,ON_READY,ON_UNLOAD,ON_RESIZE,ON_BACK_PRESS,ON_PAGE_SCROLL,ON_TAB_ITEM_TAP,ON_REACH_BOTTOM,ON_PULL_DOWN_REFRESH,ON_SHARE_TIMELINE,ON_ADD_TO_FAVORITES,ON_SHARE_APP_MESSAGE,ON_SAVE_EXIT_STATE,ON_NAVIGATION_BAR_BUTTON_TAP,ON_NAVIGATION_BAR_SEARCH_INPUT_CLICKED,ON_NAVIGATION_BAR_SEARCH_INPUT_CHANGED,ON_NAVIGATION_BAR_SEARCH_INPUT_CONFIRMED,ON_NAVIGATION_BAR_SEARCH_INPUT_FOCUS_CHANGED],createVueAppHooks=[];function invokeCreateVueAppHook(e){createVueAppHooks.forEach((t=>t(e)))}const E=function(){};E.prototype={on:function(e,t,n){var o=this.e||(this.e={});return(o[e]||(o[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){var o=this;function r(){o.off(e,r),t.apply(n,arguments)}return r._=t,this.on(e,r,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),o=0,r=n.length;o{const t=new Set(e);return t.w=0,t.n=0,t},wasTracked=e=>(e.w&trackOpBit)>0,newTracked=e=>(e.n&trackOpBit)>0,initDepMarkers=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let o=0;o{("length"===t||t>=o)&&s.push(e)}));else switch(void 0!==n&&s.push(a.get(n)),t){case"add":isArray$4(e)?isIntegerKey(n)&&s.push(a.get("length")):(s.push(a.get(ITERATE_KEY)),isMap(e)&&s.push(a.get(MAP_KEY_ITERATE_KEY)));break;case"delete":isArray$4(e)||(s.push(a.get(ITERATE_KEY)),isMap(e)&&s.push(a.get(MAP_KEY_ITERATE_KEY)));break;case"set":isMap(e)&&s.push(a.get(ITERATE_KEY))}if(1===s.length)s[0]&&triggerEffects(s[0]);else{const e=[];for(const t of s)t&&e.push(...t);triggerEffects(createDep(e))}}function triggerEffects(e,t){const n=isArray$4(e)?e:[...e];for(const o of n)o.computed&&triggerEffect(o);for(const o of n)o.computed||triggerEffect(o)}function triggerEffect(e,t){(e!==activeEffect||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const isNonTrackableKeys=makeMap("__proto__,__v_isRef,__isVue"),builtInSymbols=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(isSymbol)),get=createGetter(),shallowGet=createGetter(!1,!0),readonlyGet=createGetter(!0),arrayInstrumentations=createArrayInstrumentations();function createArrayInstrumentations(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=toRaw(this);for(let t=0,r=this.length;t{e[t]=function(...e){pauseTracking();const n=toRaw(this)[t].apply(this,e);return resetTracking(),n}})),e}function createGetter(e=!1,t=!1){return function(n,o,r){if("__v_isReactive"===o)return!e;if("__v_isReadonly"===o)return e;if("__v_isShallow"===o)return t;if("__v_raw"===o&&r===(e?t?shallowReadonlyMap:readonlyMap:t?shallowReactiveMap:reactiveMap).get(n))return n;const i=isArray$4(n);if(!e&&i&&hasOwn$1(arrayInstrumentations,o))return Reflect.get(arrayInstrumentations,o,r);const a=Reflect.get(n,o,r);return(isSymbol(o)?builtInSymbols.has(o):isNonTrackableKeys(o))?a:(e||track(n,"get",o),t?a:isRef(a)?i&&isIntegerKey(o)?a:a.value:isObject$2(a)?e?readonly(a):reactive(a):a)}}const set$1=createSetter(),shallowSet=createSetter(!0);function createSetter(e=!1){return function(t,n,o,r){let i=t[n];if(isReadonly(i)&&isRef(i)&&!isRef(o))return!1;if(!e&&!isReadonly(o)&&(isShallow(o)||(o=toRaw(o),i=toRaw(i)),!isArray$4(t)&&isRef(i)&&!isRef(o)))return i.value=o,!0;const a=isArray$4(t)&&isIntegerKey(n)?Number(n)!0,deleteProperty:(e,t)=>!0},shallowReactiveHandlers=extend$1({},mutableHandlers,{get:shallowGet,set:shallowSet}),toShallow=e=>e,getProto=e=>Reflect.getPrototypeOf(e);function get$1(e,t,n=!1,o=!1){const r=toRaw(e=e.__v_raw),i=toRaw(t);n||(t!==i&&track(r,"get",t),track(r,"get",i));const{has:a}=getProto(r),s=o?toShallow:n?toReadonly:toReactive;return a.call(r,t)?s(e.get(t)):a.call(r,i)?s(e.get(i)):void(e!==r&&e.get(t))}function has$1(e,t=!1){const n=this.__v_raw,o=toRaw(n),r=toRaw(e);return t||(e!==r&&track(o,"has",e),track(o,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function size(e,t=!1){return e=e.__v_raw,!t&&track(toRaw(e),"iterate",ITERATE_KEY),Reflect.get(e,"size",e)}function add(e){e=toRaw(e);const t=toRaw(this);return getProto(t).has.call(t,e)||(t.add(e),trigger(t,"add",e,e)),this}function set$1$1(e,t){t=toRaw(t);const n=toRaw(this),{has:o,get:r}=getProto(n);let i=o.call(n,e);i||(e=toRaw(e),i=o.call(n,e));const a=r.call(n,e);return n.set(e,t),i?hasChanged(t,a)&&trigger(n,"set",e,t):trigger(n,"add",e,t),this}function deleteEntry(e){const t=toRaw(this),{has:n,get:o}=getProto(t);let r=n.call(t,e);r||(e=toRaw(e),r=n.call(t,e)),o&&o.call(t,e);const i=t.delete(e);return r&&trigger(t,"delete",e,void 0),i}function clear(){const e=toRaw(this),t=0!==e.size,n=e.clear();return t&&trigger(e,"clear",void 0,void 0),n}function createForEach(e,t){return function(n,o){const r=this,i=r.__v_raw,a=toRaw(i),s=t?toShallow:e?toReadonly:toReactive;return!e&&track(a,"iterate",ITERATE_KEY),i.forEach(((e,t)=>n.call(o,s(e),s(t),r)))}}function createIterableMethod(e,t,n){return function(...o){const r=this.__v_raw,i=toRaw(r),a=isMap(i),s="entries"===e||e===Symbol.iterator&&a,c="keys"===e&&a,l=r[e](...o),u=n?toShallow:t?toReadonly:toReactive;return!t&&track(i,"iterate",c?MAP_KEY_ITERATE_KEY:ITERATE_KEY),{next(){const{value:e,done:t}=l.next();return t?{value:e,done:t}:{value:s?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}function createReadonlyMethod(e){return function(...t){return"delete"!==e&&this}}function createInstrumentations(){const e={get(e){return get$1(this,e)},get size(){return size(this)},has:has$1,add:add,set:set$1$1,delete:deleteEntry,clear:clear,forEach:createForEach(!1,!1)},t={get(e){return get$1(this,e,!1,!0)},get size(){return size(this)},has:has$1,add:add,set:set$1$1,delete:deleteEntry,clear:clear,forEach:createForEach(!1,!0)},n={get(e){return get$1(this,e,!0)},get size(){return size(this,!0)},has(e){return has$1.call(this,e,!0)},add:createReadonlyMethod("add"),set:createReadonlyMethod("set"),delete:createReadonlyMethod("delete"),clear:createReadonlyMethod("clear"),forEach:createForEach(!0,!1)},o={get(e){return get$1(this,e,!0,!0)},get size(){return size(this,!0)},has(e){return has$1.call(this,e,!0)},add:createReadonlyMethod("add"),set:createReadonlyMethod("set"),delete:createReadonlyMethod("delete"),clear:createReadonlyMethod("clear"),forEach:createForEach(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((r=>{e[r]=createIterableMethod(r,!1,!1),n[r]=createIterableMethod(r,!0,!1),t[r]=createIterableMethod(r,!1,!0),o[r]=createIterableMethod(r,!0,!0)})),[e,n,t,o]}const[mutableInstrumentations,readonlyInstrumentations,shallowInstrumentations,shallowReadonlyInstrumentations]=createInstrumentations();function createInstrumentationGetter(e,t){const n=t?e?shallowReadonlyInstrumentations:shallowInstrumentations:e?readonlyInstrumentations:mutableInstrumentations;return(t,o,r)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get(hasOwn$1(n,o)&&o in t?n:t,o,r)}const mutableCollectionHandlers={get:createInstrumentationGetter(!1,!1)},shallowCollectionHandlers={get:createInstrumentationGetter(!1,!0)},readonlyCollectionHandlers={get:createInstrumentationGetter(!0,!1)},reactiveMap=new WeakMap,shallowReactiveMap=new WeakMap,readonlyMap=new WeakMap,shallowReadonlyMap=new WeakMap;function targetTypeMap(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function getTargetType(e){return e.__v_skip||!Object.isExtensible(e)?0:targetTypeMap(toRawType(e))}function reactive(e){return isReadonly(e)?e:createReactiveObject(e,!1,mutableHandlers,mutableCollectionHandlers,reactiveMap)}function shallowReactive(e){return createReactiveObject(e,!1,shallowReactiveHandlers,shallowCollectionHandlers,shallowReactiveMap)}function readonly(e){return createReactiveObject(e,!0,readonlyHandlers,readonlyCollectionHandlers,readonlyMap)}function createReactiveObject(e,t,n,o,r){if(!isObject$2(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const a=getTargetType(e);if(0===a)return e;const s=new Proxy(e,2===a?o:n);return r.set(e,s),s}function isReactive(e){return isReadonly(e)?isReactive(e.__v_raw):!(!e||!e.__v_isReactive)}function isReadonly(e){return!(!e||!e.__v_isReadonly)}function isShallow(e){return!(!e||!e.__v_isShallow)}function isProxy(e){return isReactive(e)||isReadonly(e)}function toRaw(e){const t=e&&e.__v_raw;return t?toRaw(t):e}function markRaw(e){return def(e,"__v_skip",!0),e}const toReactive=e=>isObject$2(e)?reactive(e):e,toReadonly=e=>isObject$2(e)?readonly(e):e;function trackRefValue(e){shouldTrack&&activeEffect&&trackEffects((e=toRaw(e)).dep||(e.dep=createDep()))}function triggerRefValue(e,t){(e=toRaw(e)).dep&&triggerEffects(e.dep)}function isRef(e){return!(!e||!0!==e.__v_isRef)}function ref(e){return createRef(e,!1)}function shallowRef(e){return createRef(e,!0)}function createRef(e,t){return isRef(e)?e:new RefImpl(e,t)}class RefImpl{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:toRaw(e),this._value=t?e:toReactive(e)}get value(){return trackRefValue(this),this._value}set value(e){e=this.__v_isShallow?e:toRaw(e),hasChanged(e,this._rawValue)&&(this._rawValue=e,this._value=this.__v_isShallow?e:toReactive(e),triggerRefValue(this))}}function unref(e){return isRef(e)?e.value:e}const shallowUnwrapHandlers={get:(e,t,n)=>unref(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return isRef(r)&&!isRef(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function proxyRefs(e){return isReactive(e)?e:new Proxy(e,shallowUnwrapHandlers)}function toRefs(e){const t=isArray$4(e)?new Array(e.length):{};for(const n in e)t[n]=toRef(e,n);return t}class ObjectRefImpl{constructor(e,t,n){this._object=e,this._key=t,this._defaultValue=n,this.__v_isRef=!0}get value(){const e=this._object[this._key];return void 0===e?this._defaultValue:e}set value(e){this._object[this._key]=e}}function toRef(e,t,n){const o=e[t];return isRef(o)?o:new ObjectRefImpl(e,t,n)}class ComputedRefImpl{constructor(e,t,n,o){this._setter=t,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new ReactiveEffect(e,(()=>{this._dirty||(this._dirty=!0,triggerRefValue(this))})),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=n}get value(){const e=toRaw(this);return trackRefValue(e),!e._dirty&&e._cacheable||(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}function computed(e,t,n=!1){let o,r;const i=isFunction$1(e);i?(o=e,r=NOOP):(o=e.get,r=e.set);return new ComputedRefImpl(o,r,i||!r,n)}function callWithErrorHandling(e,t,n,o){let r;try{r=o?e(...o):e()}catch(i){handleError(i,t,n)}return r}function callWithAsyncErrorHandling(e,t,n,o){if(isFunction$1(e)){const r=callWithErrorHandling(e,t,n,o);return r&&isPromise(r)&&r.catch((e=>{handleError(e,t,n)})),r}const r=[];for(let i=0;i>>1;getId(queue$1[o])flushIndex&&queue$1.splice(t,1)}function queueCb(e,t,n,o){isArray$4(e)?n.push(...e):t&&t.includes(e,e.allowRecurse?o+1:o)||n.push(e),queueFlush()}function queuePreFlushCb(e){queueCb(e,activePreFlushCbs,pendingPreFlushCbs,preFlushIndex)}function queuePostFlushCb(e){queueCb(e,activePostFlushCbs,pendingPostFlushCbs,postFlushIndex)}function flushPreFlushCbs(e,t=null){if(pendingPreFlushCbs.length){for(currentPreFlushParentJob=t,activePreFlushCbs=[...new Set(pendingPreFlushCbs)],pendingPreFlushCbs.length=0,preFlushIndex=0;preFlushIndexgetId(e)-getId(t))),postFlushIndex=0;postFlushIndexnull==e.id?1/0:e.id;function flushJobs(e){isFlushPending=!1,isFlushing=!0,flushPreFlushCbs(e),queue$1.sort(((e,t)=>getId(e)-getId(t)));try{for(flushIndex=0;flushIndexe.trim()))),t&&(r=n.map(toNumber))}let s,c=o[s=toHandlerKey(t)]||o[s=toHandlerKey(camelize(t))];!c&&i&&(c=o[s=toHandlerKey(hyphenate(t))]),c&&callWithAsyncErrorHandling(c,e,6,normalizeWxsEventArgs(e,c,r));const l=o[s+"Once"];if(l){if(e.emitted){if(e.emitted[s])return}else e.emitted={};e.emitted[s]=!0,callWithAsyncErrorHandling(l,e,6,normalizeWxsEventArgs(e,l,r))}}function normalizeWxsEventArgs(e,t,n){if(1!==n.length)return n;if(isFunction$1(t)){if(t.length<2)return n}else if(!t.find((e=>e.length>=2)))return n;const o=n[0];if(o&&hasOwn$1(o,"type")&&hasOwn$1(o,"timeStamp")&&hasOwn$1(o,"target")&&hasOwn$1(o,"currentTarget")&&hasOwn$1(o,"detail")){const t=e.proxy,o=t.$gcd(t,!0);o&&n.push(o)}return n}function normalizeEmitsOptions(e,t,n=!1){const o=t.emitsCache,r=o.get(e);if(void 0!==r)return r;const i=e.emits;let a={},s=!1;if(!isFunction$1(e)){const o=e=>{const n=normalizeEmitsOptions(e,t,!0);n&&(s=!0,extend$1(a,n))};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}return i||s?(isArray$4(i)?i.forEach((e=>a[e]=null)):extend$1(a,i),o.set(e,a),a):(o.set(e,null),null)}function isEmitListener(e,t){return!(!e||!isOn(t))&&(t=t.slice(2).replace(/Once$/,""),hasOwn$1(e,t[0].toLowerCase()+t.slice(1))||hasOwn$1(e,hyphenate(t))||hasOwn$1(e,t))}let currentRenderingInstance=null,currentScopeId=null;function setCurrentRenderingInstance(e){const t=currentRenderingInstance;return currentRenderingInstance=e,currentScopeId=e&&e.type.__scopeId||null,t}function withCtx(e,t=currentRenderingInstance,n){if(!t)return e;if(e._n)return e;const o=(...n)=>{o._d&&setBlockTracking(-1);const r=setCurrentRenderingInstance(t),i=e(...n);return setCurrentRenderingInstance(r),o._d&&setBlockTracking(1),i};return o._n=!0,o._c=!0,o._d=!0,o}function markAttrsAccessed(){}function renderComponentRoot(e){const{type:t,vnode:n,proxy:o,withProxy:r,props:i,propsOptions:[a],slots:s,attrs:c,emit:l,render:u,renderCache:d,data:f,setupState:p,ctx:h,inheritAttrs:g}=e;let m,v;const _=setCurrentRenderingInstance(e);try{if(4&n.shapeFlag){const e=r||o;m=normalizeVNode(u.call(e,e,d,i,p,f,h)),v=c}else{const e=t;0,m=normalizeVNode(e.length>1?e(i,{attrs:c,slots:s,emit:l}):e(i,null)),v=t.props?c:getFunctionalFallthrough(c)}}catch(b){blockStack.length=0,handleError(b,e,1),m=createVNode(Comment)}let y=m;if(v&&!1!==g){const e=Object.keys(v),{shapeFlag:t}=y;e.length&&7&t&&(a&&e.some(isModelListener)&&(v=filterModelListeners(v,a)),y=cloneVNode(y,v))}return n.dirs&&(y=cloneVNode(y),y.dirs=y.dirs?y.dirs.concat(n.dirs):n.dirs),n.transition&&(y.transition=n.transition),m=y,setCurrentRenderingInstance(_),m}const getFunctionalFallthrough=e=>{let t;for(const n in e)("class"===n||"style"===n||isOn(n))&&((t||(t={}))[n]=e[n]);return t},filterModelListeners=(e,t)=>{const n={};for(const o in e)isModelListener(o)&&o.slice(9)in t||(n[o]=e[o]);return n};function shouldUpdateComponent(e,t,n){const{props:o,children:r,component:i}=e,{props:a,children:s,patchFlag:c}=t,l=i.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&c>=0))return!(!r&&!s||s&&s.$stable)||o!==a&&(o?!a||hasPropsChanged(o,a,l):!!a);if(1024&c)return!0;if(16&c)return o?hasPropsChanged(o,a,l):!!a;if(8&c){const e=t.dynamicProps;for(let t=0;te.__isSuspense;function queueEffectWithSuspense(e,t){t&&t.pendingBranch?isArray$4(e)?t.effects.push(...e):t.effects.push(e):queuePostFlushCb(e)}function provide(e,t){if(currentInstance){let n=currentInstance.provides;const o=currentInstance.parent&¤tInstance.parent.provides;o===n&&(n=currentInstance.provides=Object.create(o)),n[e]=t,"app"===currentInstance.type.mpType&¤tInstance.appContext.app.provide(e,t)}else;}function inject(e,t,n=!1){const o=currentInstance||currentRenderingInstance;if(o){const r=null==o.parent?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&isFunction$1(t)?t.call(o.proxy):t}}function watchEffect(e,t){return doWatch(e,null,t)}const INITIAL_WATCHER_VALUE={};function watch(e,t,n){return doWatch(e,t,n)}function doWatch(e,t,{immediate:n,deep:o,flush:r,onTrack:i,onTrigger:a}=EMPTY_OBJ){const s=currentInstance;let c,l,u=!1,d=!1;if(isRef(e)?(c=()=>e.value,u=isShallow(e)):isReactive(e)?(c=()=>e,o=!0):isArray$4(e)?(d=!0,u=e.some((e=>isReactive(e)||isShallow(e))),c=()=>e.map((e=>isRef(e)?e.value:isReactive(e)?traverse(e):isFunction$1(e)?callWithErrorHandling(e,s,2):void 0))):c=isFunction$1(e)?t?()=>callWithErrorHandling(e,s,2):()=>{if(!s||!s.isUnmounted)return l&&l(),callWithAsyncErrorHandling(e,s,3,[f])}:NOOP,t&&o){const e=c;c=()=>traverse(e())}let f=e=>{l=m.onStop=()=>{callWithErrorHandling(e,s,4)}};if(isInSSRComponentSetup)return f=NOOP,t?n&&callWithAsyncErrorHandling(t,s,3,[c(),d?[]:void 0,f]):c(),NOOP;let p=d?[]:INITIAL_WATCHER_VALUE;const h=()=>{if(m.active)if(t){const e=m.run();(o||u||(d?e.some(((e,t)=>hasChanged(e,p[t]))):hasChanged(e,p)))&&(l&&l(),callWithAsyncErrorHandling(t,s,3,[e,p===INITIAL_WATCHER_VALUE?void 0:p,f]),p=e)}else m.run()};let g;h.allowRecurse=!!t,g="sync"===r?h:"post"===r?()=>queuePostRenderEffect(h,s&&s.suspense):()=>queuePreFlushCb(h);const m=new ReactiveEffect(c,g);return t?n?h():p=m.run():"post"===r?queuePostRenderEffect(m.run.bind(m),s&&s.suspense):m.run(),()=>{m.stop(),s&&s.scope&&remove(s.scope.effects,m)}}function instanceWatch(e,t,n){const o=this.proxy,r=isString(e)?e.includes(".")?createPathGetter(o,e):()=>o[e]:e.bind(o,o);let i;isFunction$1(t)?i=t:(i=t.handler,n=t);const a=currentInstance;setCurrentInstance(this);const s=doWatch(r,i.bind(o),n);return a?setCurrentInstance(a):unsetCurrentInstance(),s}function createPathGetter(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e{traverse(e,t)}));else if(isPlainObject$2(e))for(const n in e)traverse(e[n],t);return e}function useTransitionState(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return onMounted((()=>{e.isMounted=!0})),onBeforeUnmount((()=>{e.isUnmounting=!0})),e}const TransitionHookValidator=[Function,Array],BaseTransitionImpl={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:TransitionHookValidator,onEnter:TransitionHookValidator,onAfterEnter:TransitionHookValidator,onEnterCancelled:TransitionHookValidator,onBeforeLeave:TransitionHookValidator,onLeave:TransitionHookValidator,onAfterLeave:TransitionHookValidator,onLeaveCancelled:TransitionHookValidator,onBeforeAppear:TransitionHookValidator,onAppear:TransitionHookValidator,onAfterAppear:TransitionHookValidator,onAppearCancelled:TransitionHookValidator},setup(e,{slots:t}){const n=getCurrentInstance(),o=useTransitionState();let r;return()=>{const i=t.default&&getTransitionRawChildren(t.default(),!0);if(!i||!i.length)return;let a=i[0];if(i.length>1)for(const e of i)if(e.type!==Comment){a=e;break}const s=toRaw(e),{mode:c}=s;if(o.isLeaving)return emptyPlaceholder(a);const l=getKeepAliveChild(a);if(!l)return emptyPlaceholder(a);const u=resolveTransitionHooks(l,s,o,n);setTransitionHooks(l,u);const d=n.subTree,f=d&&getKeepAliveChild(d);let p=!1;const{getTransitionKey:h}=l.type;if(h){const e=h();void 0===r?r=e:e!==r&&(r=e,p=!0)}if(f&&f.type!==Comment&&(!isSameVNodeType(l,f)||p)){const e=resolveTransitionHooks(f,s,o,n);if(setTransitionHooks(f,e),"out-in"===c)return o.isLeaving=!0,e.afterLeave=()=>{o.isLeaving=!1,n.update()},emptyPlaceholder(a);"in-out"===c&&l.type!==Comment&&(e.delayLeave=(e,t,n)=>{getLeavingNodesForType(o,f)[String(f.key)]=f,e._leaveCb=()=>{t(),e._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=n})}return a}}},BaseTransition=BaseTransitionImpl;function getLeavingNodesForType(e,t){const{leavingVNodes:n}=e;let o=n.get(t.type);return o||(o=Object.create(null),n.set(t.type,o)),o}function resolveTransitionHooks(e,t,n,o){const{appear:r,mode:i,persisted:a=!1,onBeforeEnter:s,onEnter:c,onAfterEnter:l,onEnterCancelled:u,onBeforeLeave:d,onLeave:f,onAfterLeave:p,onLeaveCancelled:h,onBeforeAppear:g,onAppear:m,onAfterAppear:v,onAppearCancelled:_}=t,y=String(e.key),b=getLeavingNodesForType(n,e),w=(e,t)=>{e&&callWithAsyncErrorHandling(e,o,9,t)},T=(e,t)=>{const n=t[1];w(e,t),isArray$4(e)?e.every((e=>e.length<=1))&&n():e.length<=1&&n()},E={mode:i,persisted:a,beforeEnter(t){let o=s;if(!n.isMounted){if(!r)return;o=g||s}t._leaveCb&&t._leaveCb(!0);const i=b[y];i&&isSameVNodeType(e,i)&&i.el._leaveCb&&i.el._leaveCb(),w(o,[t])},enter(e){let t=c,o=l,i=u;if(!n.isMounted){if(!r)return;t=m||c,o=v||l,i=_||u}let a=!1;const s=e._enterCb=t=>{a||(a=!0,w(t?i:o,[e]),E.delayedLeave&&E.delayedLeave(),e._enterCb=void 0)};t?T(t,[e,s]):s()},leave(t,o){const r=String(e.key);if(t._enterCb&&t._enterCb(!0),n.isUnmounting)return o();w(d,[t]);let i=!1;const a=t._leaveCb=n=>{i||(i=!0,o(),w(n?h:p,[t]),t._leaveCb=void 0,b[r]===e&&delete b[r])};b[r]=e,f?T(f,[t,a]):a()},clone:e=>resolveTransitionHooks(e,t,n,o)};return E}function emptyPlaceholder(e){if(isKeepAlive(e))return(e=cloneVNode(e)).children=null,e}function getKeepAliveChild(e){return isKeepAlive(e)?e.children?e.children[0]:void 0:e}function setTransitionHooks(e,t){6&e.shapeFlag&&e.component?setTransitionHooks(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 getTransitionRawChildren(e,t=!1,n){let o=[],r=0;for(let i=0;i1)for(let i=0;i!!e.type.__asyncLoader;function defineAsyncComponent(e){isFunction$1(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:o,delay:r=200,timeout:i,suspensible:a=!0,onError:s}=e;let c,l=null,u=0;const d=()=>{let e;return l||(e=l=t().catch((e=>{if(e=e instanceof Error?e:new Error(String(e)),s)return new Promise(((t,n)=>{s(e,(()=>t((u++,l=null,d()))),(()=>n(e)),u+1)}));throw e})).then((t=>e!==l&&l?l:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),c=t,t))))};return defineComponent({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return c},setup(){const e=currentInstance;if(c)return()=>createInnerComp(c,e);const t=t=>{l=null,handleError(t,e,13,!o)};if(a&&e.suspense||isInSSRComponentSetup)return d().then((t=>()=>createInnerComp(t,e))).catch((e=>(t(e),()=>o?createVNode(o,{error:e}):null)));const s=ref(!1),u=ref(),f=ref(!!r);return r&&setTimeout((()=>{f.value=!1}),r),null!=i&&setTimeout((()=>{if(!s.value&&!u.value){const e=new Error(`Async component timed out after ${i}ms.`);t(e),u.value=e}}),i),d().then((()=>{s.value=!0,e.parent&&isKeepAlive(e.parent.vnode)&&queueJob(e.parent.update)})).catch((e=>{t(e),u.value=e})),()=>s.value&&c?createInnerComp(c,e):u.value&&o?createVNode(o,{error:u.value}):n&&!f.value?createVNode(n):void 0}})}function createInnerComp(e,{vnode:{ref:t,props:n,children:o,shapeFlag:r},parent:i}){const a=createVNode(e,n,o);return a.ref=t,a}const isKeepAlive=e=>e.type.__isKeepAlive;class Cache{constructor(e){this.max=e,this._cache=new Map,this._keys=new Set,this._max=parseInt(e,10)}get(e){const{_cache:t,_keys:n,_max:o}=this,r=t.get(e);if(r)n.delete(e),n.add(e);else if(n.add(e),o&&n.size>o){const e=n.values().next().value;this.pruneCacheEntry(t.get(e)),this.delete(e)}return r}set(e,t){this._cache.set(e,t)}delete(e){this._cache.delete(e),this._keys.delete(e)}forEach(e,t){this._cache.forEach(e.bind(t))}}const KeepAliveImpl={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number],matchBy:{type:String,default:"name"},cache:Object},setup(e,{slots:t}){const n=getCurrentInstance(),o=n.ctx;if(!o.renderer)return()=>{const e=t.default&&t.default();return e&&1===e.length?e[0]:e};const r=e.cache||new Cache(e.max);r.pruneCacheEntry=a;let i=null;function a(t){var o;!i||t.type!==i.type||"key"===e.matchBy&&t.key!==i.key?(resetShapeFlag(o=t),u(o,n,s,!0)):i&&resetShapeFlag(i)}const s=n.suspense,{renderer:{p:c,m:l,um:u,o:{createElement:d}}}=o,f=d("div");function p(t){r.forEach(((n,o)=>{const i=getMatchingName(n,e.matchBy);!i||t&&t(i)||(r.delete(o),a(n))}))}o.activate=(e,t,n,o,r)=>{const i=e.component;if(i.ba){const e=i.isDeactivated;i.isDeactivated=!1,invokeArrayFns$1(i.ba),i.isDeactivated=e}l(e,t,n,0,s),c(i.vnode,e,t,n,i,s,o,e.slotScopeIds,r),queuePostRenderEffect((()=>{i.isDeactivated=!1,i.a&&invokeArrayFns$1(i.a);const t=e.props&&e.props.onVnodeMounted;t&&invokeVNodeHook(t,i.parent,e)}),s)},o.deactivate=e=>{const t=e.component;t.bda&&invokeKeepAliveHooks(t.bda),l(e,f,null,1,s),queuePostRenderEffect((()=>{t.bda&&resetHookState(t.bda),t.da&&invokeArrayFns$1(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&invokeVNodeHook(n,t.parent,e),t.isDeactivated=!0}),s)},watch((()=>[e.include,e.exclude,e.matchBy]),(([e,t])=>{e&&p((t=>matches$1(e,t))),t&&p((e=>!matches$1(t,e)))}),{flush:"post",deep:!0});let h=null;const g=()=>{null!=h&&r.set(h,getInnerChild(n.subTree))};return onMounted(g),onUpdated(g),onBeforeUnmount((()=>{r.forEach(((t,o)=>{r.delete(o),a(t);const{subTree:i,suspense:s}=n,c=getInnerChild(i);if(t.type!==c.type||"key"===e.matchBy&&t.key!==c.key);else{c.component.bda&&invokeArrayFns$1(c.component.bda),resetShapeFlag(c);const e=c.component.da;e&&queuePostRenderEffect(e,s)}}))})),()=>{if(h=null,!t.default)return null;const n=t.default(),o=n[0];if(n.length>1)return i=null,n;if(!isVNode(o)||!(4&o.shapeFlag)&&!isSuspense(o.type))return i=null,o;let a=getInnerChild(o);const s=a.type,c=getMatchingName(a,e.matchBy),{include:l,exclude:u}=e;if(l&&(!c||!matches$1(l,c))||u&&c&&matches$1(u,c))return i=a,o;const d=null==a.key?s:a.key,f=r.get(d);return a.el&&(a=cloneVNode(a),isSuspense(o.type)&&(o.ssContent=a)),h=d,f&&(a.el=f.el,a.component=f.component,a.transition&&setTransitionHooks(a,a.transition),a.shapeFlag|=512),a.shapeFlag|=256,i=a,isSuspense(o.type)?o:a}}},KeepAlive=KeepAliveImpl;function matches$1(e,t){return isArray$4(e)?e.some((e=>matches$1(e,t))):isString(e)?e.split(",").includes(t):!!e.test&&e.test(t)}function onBeforeActivate(e,t){registerKeepAliveHook(e,"ba",t)}function onActivated(e,t){registerKeepAliveHook(e,"a",t)}function onBeforeDeactivate(e,t){registerKeepAliveHook(e,"bda",t)}function onDeactivated(e,t){registerKeepAliveHook(e,"da",t)}function registerKeepAliveHook(e,t,n=currentInstance){const o=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(o.__called=!1,injectHook(t,o,n),n){let e=n.parent;for(;e&&e.parent;)isKeepAlive(e.parent.vnode)&&injectToKeepAliveRoot(o,t,n,e),e=e.parent}}function injectToKeepAliveRoot(e,t,n,o){const r=injectHook(t,e,o,!0);onUnmounted((()=>{remove(o[t],r)}),n)}function resetShapeFlag(e){let t=e.shapeFlag;256&t&&(t-=256),512&t&&(t-=512),e.shapeFlag=t}function getInnerChild(e){return isSuspense(e.type)?e.ssContent:e}function getMatchingName(e,t){if("name"===t){const t=e.type;return getComponentName(isAsyncWrapper(e)?t.__asyncResolved||{}:t)}return String(e.key)}function invokeKeepAliveHooks(e){for(let t=0;te.__called=!1))}function injectHook(e,t,n=currentInstance,o=!1){if(n){if(isRootHook(e)&&n.$pageInstance){if(n.type.__reserved)return;if(n!==n.$pageInstance&&(n=n.$pageInstance,isRootImmediateHook(e))){const o=n.proxy;callWithAsyncErrorHandling(t.bind(o),n,e,ON_LOAD===e?[o.$page.options]:[])}}const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;pauseTracking(),setCurrentInstance(n);const r=callWithAsyncErrorHandling(t,n,e,o);return unsetCurrentInstance(),resetTracking(),r});return o?r.unshift(i):r.push(i),i}}const createHook$1=e=>(t,n=currentInstance)=>(!isInSSRComponentSetup||"sp"===e)&&injectHook(e,t,n),onBeforeMount=createHook$1("bm"),onMounted=createHook$1("m"),onBeforeUpdate=createHook$1("bu"),onUpdated=createHook$1("u"),onBeforeUnmount=createHook$1("bum"),onUnmounted=createHook$1("um"),onServerPrefetch=createHook$1("sp"),onRenderTriggered=createHook$1("rtg"),onRenderTracked=createHook$1("rtc");function onErrorCaptured(e,t=currentInstance){injectHook("ec",e,t)}function withDirectives(e,t){const n=currentRenderingInstance;if(null===n)return e;const o=getExposeProxy(n)||n.proxy,r=e.dirs||(e.dirs=[]);for(let i=0;it(e,n,void 0,i&&i[n])));else{const n=Object.keys(e);r=new Array(n.length);for(let o=0,a=n.length;o!isVNode(e)||e.type!==Comment&&!(e.type===Fragment&&!ensureValidVNode(e.children))))?e:null}const getPublicInstance=e=>e?isStatefulComponent(e)?getExposeProxy(e)||e.proxy:getPublicInstance(e.parent):null,publicPropertiesMap=extend$1(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=>getPublicInstance(e.parent),$root:e=>getPublicInstance(e.root),$emit:e=>e.emit,$options:e=>resolveMergedOptions(e),$forceUpdate:e=>e.f||(e.f=()=>queueJob(e.update)),$nextTick:e=>e.n||(e.n=nextTick.bind(e.proxy)),$watch:e=>instanceWatch.bind(e)}),PublicInstanceProxyHandlers={get({_:e},t){const{ctx:n,setupState:o,data:r,props:i,accessCache:a,type:s,appContext:c}=e;let l;if("$"!==t[0]){const s=a[t];if(void 0!==s)switch(s){case 1:return o[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(o!==EMPTY_OBJ&&hasOwn$1(o,t))return a[t]=1,o[t];if(r!==EMPTY_OBJ&&hasOwn$1(r,t))return a[t]=2,r[t];if((l=e.propsOptions[0])&&hasOwn$1(l,t))return a[t]=3,i[t];if(n!==EMPTY_OBJ&&hasOwn$1(n,t))return a[t]=4,n[t];shouldCacheAccess&&(a[t]=0)}}const u=publicPropertiesMap[t];let d,f;return u?("$attrs"===t&&track(e,"get",t),u(e)):(d=s.__cssModules)&&(d=d[t])?d:n!==EMPTY_OBJ&&hasOwn$1(n,t)?(a[t]=4,n[t]):(f=c.config.globalProperties,hasOwn$1(f,t)?f[t]:void 0)},set({_:e},t,n){const{data:o,setupState:r,ctx:i}=e;return r!==EMPTY_OBJ&&hasOwn$1(r,t)?(r[t]=n,!0):o!==EMPTY_OBJ&&hasOwn$1(o,t)?(o[t]=n,!0):!hasOwn$1(e.props,t)&&(("$"!==t[0]||!(t.slice(1)in e))&&(i[t]=n,!0))},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:r,propsOptions:i}},a){let s;return!!n[a]||e!==EMPTY_OBJ&&hasOwn$1(e,a)||t!==EMPTY_OBJ&&hasOwn$1(t,a)||(s=i[0])&&hasOwn$1(s,a)||hasOwn$1(o,a)||hasOwn$1(publicPropertiesMap,a)||hasOwn$1(r.config.globalProperties,a)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:hasOwn$1(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};let shouldCacheAccess=!0;function applyOptions$1(e){const t=resolveMergedOptions(e),n=e.proxy,o=e.ctx;shouldCacheAccess=!1,t.beforeCreate&&callHook(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:a,watch:s,provide:c,inject:l,created:u,beforeMount:d,mounted:f,beforeUpdate:p,updated:h,activated:g,deactivated:m,beforeDestroy:v,beforeUnmount:_,destroyed:y,unmounted:b,render:w,renderTracked:T,renderTriggered:E,errorCaptured:S,serverPrefetch:C,expose:O,inheritAttrs:I,components:A,directives:x,filters:P}=t;if(l&&resolveInjections(l,o,null,e.appContext.config.unwrapInjectedRef),a)for(const $ in a){const e=a[$];isFunction$1(e)&&(o[$]=e.bind(n))}if(r){const t=r.call(n,n);isObject$2(t)&&(e.data=reactive(t))}if(shouldCacheAccess=!0,i)for(const $ in i){const e=i[$],t=isFunction$1(e)?e.bind(n,n):isFunction$1(e.get)?e.get.bind(n,n):NOOP,r=!isFunction$1(e)&&isFunction$1(e.set)?e.set.bind(n):NOOP,a=computed$1({get:t,set:r});Object.defineProperty(o,$,{enumerable:!0,configurable:!0,get:()=>a.value,set:e=>a.value=e})}if(s)for(const $ in s)createWatcher(s[$],o,n,$);if(c){const e=isFunction$1(c)?c.call(n):c;Reflect.ownKeys(e).forEach((t=>{provide(t,e[t])}))}function R(e,t){isArray$4(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n))}if(u&&callHook(u,e,"c"),R(onBeforeMount,d),R(onMounted,f),R(onBeforeUpdate,p),R(onUpdated,h),R(onActivated,g),R(onDeactivated,m),R(onErrorCaptured,S),R(onRenderTracked,T),R(onRenderTriggered,E),R(onBeforeUnmount,_),R(onUnmounted,b),R(onServerPrefetch,C),isArray$4(O))if(O.length){const t=e.exposed||(e.exposed={});O.forEach((e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})}))}else e.exposed||(e.exposed={});w&&e.render===NOOP&&(e.render=w),null!=I&&(e.inheritAttrs=I),A&&(e.components=A),x&&(e.directives=x);const L=e.appContext.config.globalProperties.$applyOptions;L&&L(t,e,n)}function resolveInjections(e,t,n=NOOP,o=!1){isArray$4(e)&&(e=normalizeInject(e));for(const r in e){const n=e[r];let i;i=isObject$2(n)?"default"in n?inject(n.from||r,n.default,!0):inject(n.from||r):inject(n),isRef(i)&&o?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:e=>i.value=e}):t[r]=i}}function callHook(e,t,n){callWithAsyncErrorHandling(isArray$4(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,n)}function createWatcher(e,t,n,o){const r=o.includes(".")?createPathGetter(n,o):()=>n[o];if(isString(e)){const n=t[e];isFunction$1(n)&&watch(r,n)}else if(isFunction$1(e))watch(r,e.bind(n));else if(isObject$2(e))if(isArray$4(e))e.forEach((e=>createWatcher(e,t,n,o)));else{const o=isFunction$1(e.handler)?e.handler.bind(n):t[e.handler];isFunction$1(o)&&watch(r,o,e)}}function resolveMergedOptions(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:a}}=e.appContext,s=i.get(t);let c;return s?c=s:r.length||n||o?(c={},r.length&&r.forEach((e=>mergeOptions$1(c,e,a,!0))),mergeOptions$1(c,t,a)):c=t,i.set(t,c),c}function mergeOptions$1(e,t,n,o=!1){const{mixins:r,extends:i}=t;i&&mergeOptions$1(e,i,n,!0),r&&r.forEach((t=>mergeOptions$1(e,t,n,!0)));for(const a in t)if(o&&"expose"===a);else{const o=internalOptionMergeStrats[a]||n&&n[a];e[a]=o?o(e[a],t[a]):t[a]}return e}const internalOptionMergeStrats={data:mergeDataFn,props:mergeObjectOptions,emits:mergeObjectOptions,methods:mergeObjectOptions,computed:mergeObjectOptions,beforeCreate:mergeAsArray$1,created:mergeAsArray$1,beforeMount:mergeAsArray$1,mounted:mergeAsArray$1,beforeUpdate:mergeAsArray$1,updated:mergeAsArray$1,beforeDestroy:mergeAsArray$1,beforeUnmount:mergeAsArray$1,destroyed:mergeAsArray$1,unmounted:mergeAsArray$1,activated:mergeAsArray$1,deactivated:mergeAsArray$1,errorCaptured:mergeAsArray$1,serverPrefetch:mergeAsArray$1,components:mergeObjectOptions,directives:mergeObjectOptions,watch:mergeWatchOptions,provide:mergeDataFn,inject:mergeInject};function mergeDataFn(e,t){return t?e?function(){return extend$1(isFunction$1(e)?e.call(this,this):e,isFunction$1(t)?t.call(this,this):t)}:t:e}function mergeInject(e,t){return mergeObjectOptions(normalizeInject(e),normalizeInject(t))}function normalizeInject(e){if(isArray$4(e)){const t={};for(let n=0;n0)||16&a){let o;setFullProps(e,t,r,i)&&(l=!0);for(const i in s)t&&(hasOwn$1(t,i)||(o=hyphenate(i))!==i&&hasOwn$1(t,o))||(c?!n||void 0===n[i]&&void 0===n[o]||(r[i]=resolvePropValue(c,s,i,void 0,e,!0)):delete r[i]);if(i!==s)for(const e in i)t&&hasOwn$1(t,e)||(delete i[e],l=!0)}else if(8&a){const n=e.vnode.dynamicProps;for(let o=0;o{c=!0;const[n,o]=normalizePropsOptions(e,t,!0);extend$1(a,n),o&&s.push(...o)};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}if(!i&&!c)return o.set(e,EMPTY_ARR),EMPTY_ARR;if(isArray$4(i))for(let u=0;u-1,n[1]=o<0||t-1||hasOwn$1(n,"default"))&&s.push(e)}}}const l=[a,s];return o.set(e,l),l}function validatePropName(e){return"$"!==e[0]}function getType(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:null===e?"null":""}function isSameType(e,t){return getType(e)===getType(t)}function getTypeIndex(e,t){return isArray$4(t)?t.findIndex((t=>isSameType(t,e))):isFunction$1(t)&&isSameType(t,e)?0:-1}const isInternalKey=e=>"_"===e[0]||"$stable"===e,normalizeSlotValue=e=>isArray$4(e)?e.map(normalizeVNode):[normalizeVNode(e)],normalizeSlot$1=(e,t,n)=>{if(t._n)return t;const o=withCtx(((...e)=>normalizeSlotValue(t(...e))),n);return o._c=!1,o},normalizeObjectSlots=(e,t,n)=>{const o=e._ctx;for(const r in e){if(isInternalKey(r))continue;const n=e[r];if(isFunction$1(n))t[r]=normalizeSlot$1(r,n,o);else if(null!=n){const e=normalizeSlotValue(n);t[r]=()=>e}}},normalizeVNodeSlots=(e,t)=>{const n=normalizeSlotValue(t);e.slots.default=()=>n},initSlots=(e,t)=>{if(32&e.vnode.shapeFlag){const n=t._;n?(e.slots=toRaw(t),def(t,"_",n)):normalizeObjectSlots(t,e.slots={})}else e.slots={},t&&normalizeVNodeSlots(e,t);def(e.slots,InternalObjectKey,1)},updateSlots=(e,t,n)=>{const{vnode:o,slots:r}=e;let i=!0,a=EMPTY_OBJ;if(32&o.shapeFlag){const e=t._;e?n&&1===e?i=!1:(extend$1(r,t),n||1!==e||delete r._):(i=!t.$stable,normalizeObjectSlots(t,r)),a=t}else t&&(normalizeVNodeSlots(e,t),a={default:1});if(i)for(const s in r)isInternalKey(s)||s in a||delete r[s]};function createAppContext(){return{app:null,config:{isNativeTag:NO,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let uid=0;function createAppAPI(e,t){return function(n,o=null){isFunction$1(n)||(n=Object.assign({},n)),null==o||isObject$2(o)||(o=null);const r=createAppContext(),i=new Set;let a=!1;const s=r.app={_uid:uid++,_component:n,_props:o,_container:null,_context:r,_instance:null,version:version$1,get config(){return r.config},set config(e){},use:(e,...t)=>(i.has(e)||(e&&isFunction$1(e.install)?(i.add(e),e.install(s,...t)):isFunction$1(e)&&(i.add(e),e(s,...t))),s),mixin:e=>(r.mixins.includes(e)||r.mixins.push(e),s),component:(e,t)=>t?(r.components[e]=t,s):r.components[e],directive:(e,t)=>t?(r.directives[e]=t,s):r.directives[e],mount(i,c,l){if(!a){const u=createVNode(n,o);return u.appContext=r,c&&t?t(u,i):e(u,i,l),a=!0,s._container=i,i.__vue_app__=s,s._instance=u.component,getExposeProxy(u.component)||u.component.proxy}},unmount(){a&&(e(null,s._container),delete s._container.__vue_app__)},provide:(e,t)=>(r.provides[e]=t,s)};return s}}function setRef(e,t,n,o,r=!1){if(isArray$4(e))return void e.forEach(((e,i)=>setRef(e,t&&(isArray$4(t)?t[i]:t),n,o,r)));if(isAsyncWrapper(o)&&!r)return;const i=4&o.shapeFlag?getExposeProxy(o.component)||o.component.proxy:o.el,a=r?null:i,{i:s,r:c}=e,l=t&&t.r,u=s.refs===EMPTY_OBJ?s.refs={}:s.refs,d=s.setupState;if(null!=l&&l!==c&&(isString(l)?(u[l]=null,hasOwn$1(d,l)&&(d[l]=null)):isRef(l)&&(l.value=null)),isFunction$1(c))callWithErrorHandling(c,s,12,[a,u]);else{const t=isString(c),o=isRef(c);if(t||o){const s=()=>{if(e.f){const n=t?u[c]:c.value;r?isArray$4(n)&&remove(n,i):isArray$4(n)?n.includes(i)||n.push(i):t?(u[c]=[i],hasOwn$1(d,c)&&(d[c]=u[c])):(c.value=[i],e.k&&(u[e.k]=c.value))}else t?(u[c]=a,hasOwn$1(d,c)&&(d[c]=a)):o&&(c.value=a,e.k&&(u[e.k]=a))};a?(s.id=-1,queuePostRenderEffect(s,n)):s()}}}const queuePostRenderEffect=queueEffectWithSuspense;function createRenderer(e){return baseCreateRenderer(e)}function baseCreateRenderer(e,t){getGlobalThis().__VUE__=!0;const{insert:n,remove:o,patchProp:r,forcePatchProp:i,createElement:a,createText:s,createComment:c,setText:l,setElementText:u,parentNode:d,nextSibling:f,setScopeId:p=NOOP,cloneNode:h,insertStaticContent:g}=e,m=(e,t,n,o=null,r=null,i=null,a=!1,s=null,c=!!t.dynamicChildren)=>{if(e===t)return;e&&!isSameVNodeType(e,t)&&(o=U(e),D(e,r,i,!0),e=null),-2===t.patchFlag&&(c=!1,t.dynamicChildren=null);const{type:l,ref:u,shapeFlag:d}=t;switch(l){case Text:v(e,t,n,o);break;case Comment:_(e,t,n,o);break;case Static:null==e&&y(t,n,o,a);break;case Fragment:I(e,t,n,o,r,i,a,s,c);break;default:1&d?b(e,t,n,o,r,i,a,s,c):6&d?A(e,t,n,o,r,i,a,s,c):(64&d||128&d)&&l.process(e,t,n,o,r,i,a,s,c,G)}null!=u&&r&&setRef(u,e&&e.ref,i,t||e,!t)},v=(e,t,o,r)=>{if(null==e)n(t.el=s(t.children),o,r);else{const n=t.el=e.el;t.children!==e.children&&l(n,t.children)}},_=(e,t,o,r)=>{null==e?n(t.el=c(t.children||""),o,r):t.el=e.el},y=(e,t,n,o)=>{[e.el,e.anchor]=g(e.children,t,n,o,e.el,e.anchor)},b=(e,t,n,o,r,i,a,s,c)=>{a=a||"svg"===t.type,null==e?w(t,n,o,r,i,a,s,c):S(e,t,r,i,a,s,c)},w=(e,t,o,i,s,c,l,d)=>{let f,p;const{type:g,props:m,shapeFlag:v,transition:_,patchFlag:y,dirs:b}=e;if(e.el&&void 0!==h&&-1===y)f=e.el=h(e.el);else{if(f=e.el=a(e.type,c,m&&m.is,m),8&v?u(f,e.children):16&v&&E(e.children,f,null,i,s,c&&"foreignObject"!==g,l,d),b&&invokeDirectiveHook(e,null,i,"created"),m){for(const t in m)"value"===t||isReservedProp(t)||r(f,t,null,m[t],c,e.children,i,s,F);"value"in m&&r(f,"value",null,m.value),(p=m.onVnodeBeforeMount)&&invokeVNodeHook(p,i,e)}T(f,e,e.scopeId,l,i)}Object.defineProperty(f,"__vueParentComponent",{value:i,enumerable:!1}),b&&invokeDirectiveHook(e,null,i,"beforeMount");const w=(!s||s&&!s.pendingBranch)&&_&&!_.persisted;w&&_.beforeEnter(f),n(f,t,o),((p=m&&m.onVnodeMounted)||w||b)&&queuePostRenderEffect((()=>{p&&invokeVNodeHook(p,i,e),w&&_.enter(f),b&&invokeDirectiveHook(e,null,i,"mounted")}),s)},T=(e,t,n,o,r)=>{if(n&&p(e,n),o)for(let i=0;i{for(let l=c;l{const l=t.el=e.el;let{patchFlag:d,dynamicChildren:f,dirs:p}=t;d|=16&e.patchFlag;const h=e.props||EMPTY_OBJ,g=t.props||EMPTY_OBJ;let m;n&&toggleRecurse(n,!1),(m=g.onVnodeBeforeUpdate)&&invokeVNodeHook(m,n,t,e),p&&invokeDirectiveHook(t,e,n,"beforeUpdate"),n&&toggleRecurse(n,!0);const v=a&&"foreignObject"!==t.type;if(f?C(e.dynamicChildren,f,l,n,o,v,s):c||$(e,t,l,null,n,o,v,s,!1),d>0){if(16&d)O(l,t,h,g,n,o,a);else if(2&d&&h.class!==g.class&&r(l,"class",null,g.class,a),4&d&&r(l,"style",h.style,g.style,a),8&d){const s=t.dynamicProps;for(let t=0;t{m&&invokeVNodeHook(m,n,t,e),p&&invokeDirectiveHook(t,e,n,"updated")}),o)},C=(e,t,n,o,r,i,a)=>{for(let s=0;s{if(n!==o){for(const l in o){if(isReservedProp(l))continue;const u=o[l],d=n[l];(u!==d&&"value"!==l||i&&i(e,l))&&r(e,l,d,u,c,t.children,a,s,F)}if(n!==EMPTY_OBJ)for(const i in n)isReservedProp(i)||i in o||r(e,i,n[i],null,c,t.children,a,s,F);"value"in o&&r(e,"value",n.value,o.value)}},I=(e,t,o,r,i,a,c,l,u)=>{const d=t.el=e?e.el:s(""),f=t.anchor=e?e.anchor:s("");let{patchFlag:p,dynamicChildren:h,slotScopeIds:g}=t;g&&(l=l?l.concat(g):g),null==e?(n(d,o,r),n(f,o,r),E(t.children,o,f,i,a,c,l,u)):p>0&&64&p&&h&&e.dynamicChildren?(C(e.dynamicChildren,h,o,i,a,c,l),(null!=t.key||i&&t===i.subTree)&&traverseStaticChildren(e,t,!0)):$(e,t,o,f,i,a,c,l,u)},A=(e,t,n,o,r,i,a,s,c)=>{t.slotScopeIds=s,null==e?512&t.shapeFlag?r.ctx.activate(t,n,o,a,c):x(t,n,o,r,i,a,c):P(e,t,c)},x=(e,t,n,o,r,i,a)=>{const s=e.component=createComponentInstance(e,o,r);if(isKeepAlive(e)&&(s.ctx.renderer=G),setupComponent$1(s),s.asyncDep){if(r&&r.registerDep(s,R),!e.el){const e=s.subTree=createVNode(Comment);_(null,e,t,n)}}else R(s,e,t,n,r,i,a)},P=(e,t,n)=>{const o=t.component=e.component;if(shouldUpdateComponent(e,t,n)){if(o.asyncDep&&!o.asyncResolved)return void L(o,t,n);o.next=t,invalidateJob(o.update),o.update()}else t.el=e.el,o.vnode=t},R=(e,t,n,o,r,i,a)=>{const s=e.effect=new ReactiveEffect((()=>{if(e.isMounted){let t,{next:n,bu:o,u:s,parent:c,vnode:l}=e,u=n;toggleRecurse(e,!1),n?(n.el=l.el,L(e,n,a)):n=l,o&&invokeArrayFns$1(o),(t=n.props&&n.props.onVnodeBeforeUpdate)&&invokeVNodeHook(t,c,n,l),toggleRecurse(e,!0);const f=renderComponentRoot(e),p=e.subTree;e.subTree=f,m(p,f,d(p.el),U(p),e,r,i),n.el=f.el,null===u&&updateHOCHostEl(e,f.el),s&&queuePostRenderEffect(s,r),(t=n.props&&n.props.onVnodeUpdated)&&queuePostRenderEffect((()=>invokeVNodeHook(t,c,n,l)),r)}else{let a;const{el:s,props:c}=t,{bm:l,m:u,parent:d}=e,f=isAsyncWrapper(t);if(toggleRecurse(e,!1),l&&invokeArrayFns$1(l),!f&&(a=c&&c.onVnodeBeforeMount)&&invokeVNodeHook(a,d,t),toggleRecurse(e,!0),s&&z){const n=()=>{e.subTree=renderComponentRoot(e),z(s,e.subTree,e,r,null)};f?t.type.__asyncLoader().then((()=>!e.isUnmounted&&n())):n()}else{const a=e.subTree=renderComponentRoot(e);m(null,a,n,o,e,r,i),t.el=a.el}if(u&&queuePostRenderEffect(u,r),!f&&(a=c&&c.onVnodeMounted)){const e=t;queuePostRenderEffect((()=>invokeVNodeHook(a,d,e)),r)}const{ba:p,a:h}=e;(256&t.shapeFlag||d&&isAsyncWrapper(d.vnode)&&256&d.vnode.shapeFlag)&&(p&&invokeKeepAliveHooks(p),h&&queuePostRenderEffect(h,r),p&&queuePostRenderEffect((()=>resetHookState(p)),r)),e.isMounted=!0,t=n=o=null}}),(()=>queueJob(c)),e.scope),c=e.update=()=>s.run();c.id=e.uid,toggleRecurse(e,!0),c()},L=(e,t,n)=>{t.component=e;const o=e.vnode.props;e.vnode=t,e.next=null,updateProps(e,t.props,o,n),updateSlots(e,t.children,n),pauseTracking(),flushPreFlushCbs(void 0,e.update),resetTracking()},$=(e,t,n,o,r,i,a,s,c=!1)=>{const l=e&&e.children,d=e?e.shapeFlag:0,f=t.children,{patchFlag:p,shapeFlag:h}=t;if(p>0){if(128&p)return void N(l,f,n,o,r,i,a,s,c);if(256&p)return void k(l,f,n,o,r,i,a,s,c)}8&h?(16&d&&F(l,r,i),f!==l&&u(n,f)):16&d?16&h?N(l,f,n,o,r,i,a,s,c):F(l,r,i,!0):(8&d&&u(n,""),16&h&&E(f,n,o,r,i,a,s,c))},k=(e,t,n,o,r,i,a,s,c)=>{t=t||EMPTY_ARR;const l=(e=e||EMPTY_ARR).length,u=t.length,d=Math.min(l,u);let f;for(f=0;fu?F(e,r,i,!0,!1,d):E(t,n,o,r,i,a,s,c,d)},N=(e,t,n,o,r,i,a,s,c)=>{let l=0;const u=t.length;let d=e.length-1,f=u-1;for(;l<=d&&l<=f;){const o=e[l],u=t[l]=c?cloneIfMounted(t[l]):normalizeVNode(t[l]);if(!isSameVNodeType(o,u))break;m(o,u,n,null,r,i,a,s,c),l++}for(;l<=d&&l<=f;){const o=e[d],l=t[f]=c?cloneIfMounted(t[f]):normalizeVNode(t[f]);if(!isSameVNodeType(o,l))break;m(o,l,n,null,r,i,a,s,c),d--,f--}if(l>d){if(l<=f){const e=f+1,d=ef)for(;l<=d;)D(e[l],r,i,!0),l++;else{const p=l,h=l,g=new Map;for(l=h;l<=f;l++){const e=t[l]=c?cloneIfMounted(t[l]):normalizeVNode(t[l]);null!=e.key&&g.set(e.key,l)}let v,_=0;const y=f-h+1;let b=!1,w=0;const T=new Array(y);for(l=0;l=y){D(o,r,i,!0);continue}let u;if(null!=o.key)u=g.get(o.key);else for(v=h;v<=f;v++)if(0===T[v-h]&&isSameVNodeType(o,t[v])){u=v;break}void 0===u?D(o,r,i,!0):(T[u-h]=l+1,u>=w?w=u:b=!0,m(o,t[u],n,null,r,i,a,s,c),_++)}const E=b?getSequence(T):EMPTY_ARR;for(v=E.length-1,l=y-1;l>=0;l--){const e=h+l,d=t[e],f=e+1{const{el:a,type:s,transition:c,children:l,shapeFlag:u}=e;if(6&u)return void M(e.component.subTree,t,o,r);if(128&u)return void e.suspense.move(t,o,r);if(64&u)return void s.move(e,t,o,G);if(s===Fragment){n(a,t,o);for(let e=0;e{let i;for(;e&&e!==t;)i=f(e),n(e,o,r),e=i;n(t,o,r)})(e,t,o);if(2!==r&&1&u&&c)if(0===r)c.beforeEnter(a),n(a,t,o),queuePostRenderEffect((()=>c.enter(a)),i);else{const{leave:e,delayLeave:r,afterLeave:i}=c,s=()=>n(a,t,o),l=()=>{e(a,(()=>{s(),i&&i()}))};r?r(a,s,l):l()}else n(a,t,o)},D=(e,t,n,o=!1,r=!1)=>{const{type:i,props:a,ref:s,children:c,dynamicChildren:l,shapeFlag:u,patchFlag:d,dirs:f}=e;if(null!=s&&setRef(s,null,n,e,!0),256&u)return void t.ctx.deactivate(e);const p=1&u&&f,h=!isAsyncWrapper(e);let g;if(h&&(g=a&&a.onVnodeBeforeUnmount)&&invokeVNodeHook(g,t,e),6&u)j(e.component,n,o);else{if(128&u)return void e.suspense.unmount(n,o);p&&invokeDirectiveHook(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,r,G,o):l&&(i!==Fragment||d>0&&64&d)?F(l,t,n,!1,!0):(i===Fragment&&384&d||!r&&16&u)&&F(c,t,n),o&&B(e)}(h&&(g=a&&a.onVnodeUnmounted)||p)&&queuePostRenderEffect((()=>{g&&invokeVNodeHook(g,t,e),p&&invokeDirectiveHook(e,null,t,"unmounted")}),n)},B=e=>{const{type:t,el:n,anchor:r,transition:i}=e;if(t===Fragment)return void V(n,r);if(t===Static)return void(({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=f(e),o(e),e=n;o(t)})(e);const a=()=>{o(n),i&&!i.persisted&&i.afterLeave&&i.afterLeave()};if(1&e.shapeFlag&&i&&!i.persisted){const{leave:t,delayLeave:o}=i,r=()=>t(n,a);o?o(e.el,a,r):r()}else a()},V=(e,t)=>{let n;for(;e!==t;)n=f(e),o(e),e=n;o(t)},j=(e,t,n)=>{const{bum:o,scope:r,update:i,subTree:a,um:s}=e;o&&invokeArrayFns$1(o),r.stop(),i&&(i.active=!1,D(a,e,t,n)),s&&queuePostRenderEffect(s,t),queuePostRenderEffect((()=>{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},F=(e,t,n,o=!1,r=!1,i=0)=>{for(let a=i;a6&e.shapeFlag?U(e.component.subTree):128&e.shapeFlag?e.suspense.next():f(e.anchor||e.el),H=(e,t,n)=>{null==e?t._vnode&&D(t._vnode,null,null,!0):m(t._vnode||null,e,t,null,null,null,n),flushPostFlushCbs(),t._vnode=e},G={p:m,um:D,m:M,r:B,mt:x,mc:E,pc:$,pbc:C,n:U,o:e};let W,z;return t&&([W,z]=t(G)),{render:H,hydrate:W,createApp:createAppAPI(H,W)}}function toggleRecurse({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function traverseStaticChildren(e,t,n=!1){const o=e.children,r=t.children;if(isArray$4(o)&&isArray$4(r))for(let i=0;i>1,e[n[s]]0&&(t[o]=n[i-1]),n[i]=o)}}for(i=n.length,a=n[i-1];i-- >0;)n[i]=a,a=t[a];return n}const isTeleport=e=>e.__isTeleport,Fragment=Symbol(void 0),Text=Symbol(void 0),Comment=Symbol(void 0),Static=Symbol(void 0),blockStack=[];let currentBlock=null;function openBlock(e=!1){blockStack.push(currentBlock=e?null:[])}function closeBlock(){blockStack.pop(),currentBlock=blockStack[blockStack.length-1]||null}let isBlockTreeEnabled=1;function setBlockTracking(e){isBlockTreeEnabled+=e}function setupBlock(e){return e.dynamicChildren=isBlockTreeEnabled>0?currentBlock||EMPTY_ARR:null,closeBlock(),isBlockTreeEnabled>0&¤tBlock&¤tBlock.push(e),e}function createElementBlock(e,t,n,o,r,i){return setupBlock(createBaseVNode(e,t,n,o,r,i,!0))}function createBlock(e,t,n,o,r){return setupBlock(createVNode(e,t,n,o,r,!0))}function isVNode(e){return!!e&&!0===e.__v_isVNode}function isSameVNodeType(e,t){return e.type===t.type&&e.key===t.key}const InternalObjectKey="__vInternal",normalizeKey=({key:e})=>null!=e?e:null,normalizeRef=({ref:e,ref_key:t,ref_for:n})=>null!=e?isString(e)||isRef(e)||isFunction$1(e)?{i:currentRenderingInstance,r:e,k:t,f:!!n}:e:null;function createBaseVNode(e,t=null,n=null,o=0,r=null,i=(e===Fragment?0:1),a=!1,s=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&normalizeKey(t),ref:t&&normalizeRef(t),scopeId:currentScopeId,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:o,dynamicProps:r,dynamicChildren:null,appContext:null};return s?(normalizeChildren(c,n),128&i&&e.normalize(c)):n&&(c.shapeFlag|=isString(n)?8:16),isBlockTreeEnabled>0&&!a&¤tBlock&&(c.patchFlag>0||6&i)&&32!==c.patchFlag&¤tBlock.push(c),c}const createVNode=_createVNode;function _createVNode(e,t=null,n=null,o=0,r=null,i=!1){if(e&&e!==NULL_DYNAMIC_COMPONENT||(e=Comment),isVNode(e)){const o=cloneVNode(e,t,!0);return n&&normalizeChildren(o,n),isBlockTreeEnabled>0&&!i&¤tBlock&&(6&o.shapeFlag?currentBlock[currentBlock.indexOf(e)]=o:currentBlock.push(o)),o.patchFlag|=-2,o}if(isClassComponent(e)&&(e=e.__vccOpts),t){t=guardReactiveProps(t);let{class:e,style:n}=t;e&&!isString(e)&&(t.class=normalizeClass(e)),isObject$2(n)&&(isProxy(n)&&!isArray$4(n)&&(n=extend$1({},n)),t.style=normalizeStyle(n))}return createBaseVNode(e,t,n,o,r,isString(e)?1:isSuspense(e)?128:isTeleport(e)?64:isObject$2(e)?4:isFunction$1(e)?2:0,i,!0)}function guardReactiveProps(e){return e?isProxy(e)||InternalObjectKey in e?extend$1({},e):e:null}function cloneVNode(e,t,n=!1){const{props:o,ref:r,patchFlag:i,children:a}=e,s=t?mergeProps(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&normalizeKey(s),ref:t&&t.ref?n&&r?isArray$4(r)?r.concat(normalizeRef(t)):[r,normalizeRef(t)]:normalizeRef(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Fragment?-1===i?16:16|i:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&cloneVNode(e.ssContent),ssFallback:e.ssFallback&&cloneVNode(e.ssFallback),el:e.el,anchor:e.anchor}}function createTextVNode(e=" ",t=0){return createVNode(Text,null,e,t)}function createCommentVNode(e="",t=!1){return t?(openBlock(),createBlock(Comment,null,e)):createVNode(Comment,null,e)}function normalizeVNode(e){return null==e||"boolean"==typeof e?createVNode(Comment):isArray$4(e)?createVNode(Fragment,null,e.slice()):"object"==typeof e?cloneIfMounted(e):createVNode(Text,null,String(e))}function cloneIfMounted(e){return null===e.el||e.memo?e:cloneVNode(e)}function normalizeChildren(e,t){let n=0;const{shapeFlag:o}=e;if(null==t)t=null;else if(isArray$4(t))n=16;else if("object"==typeof t){if(65&o){const n=t.default;return void(n&&(n._c&&(n._d=!1),normalizeChildren(e,n()),n._c&&(n._d=!0)))}{n=32;const o=t._;o||InternalObjectKey in t?3===o&¤tRenderingInstance&&(1===currentRenderingInstance.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=currentRenderingInstance}}else isFunction$1(t)?(t={default:t,_ctx:currentRenderingInstance},n=32):(t=String(t),64&o?(n=16,t=[createTextVNode(t)]):n=8);e.children=t,e.shapeFlag|=n}function mergeProps(...e){const t={};for(let n=0;ncurrentInstance||currentRenderingInstance,setCurrentInstance=e=>{currentInstance=e,e.scope.on()},unsetCurrentInstance=()=>{currentInstance&¤tInstance.scope.off(),currentInstance=null};function isStatefulComponent(e){return 4&e.vnode.shapeFlag}let isInSSRComponentSetup=!1,compile$1;function setupComponent$1(e,t=!1){isInSSRComponentSetup=t;const{props:n,children:o}=e.vnode,r=isStatefulComponent(e);initProps(e,n,r,t),initSlots(e,o);const i=r?setupStatefulComponent(e,t):void 0;return isInSSRComponentSetup=!1,i}function setupStatefulComponent(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=markRaw(new Proxy(e.ctx,PublicInstanceProxyHandlers));const{setup:o}=n;if(o){const n=e.setupContext=o.length>1?createSetupContext(e):null;setCurrentInstance(e),pauseTracking();const r=callWithErrorHandling(o,e,0,[e.props,n]);if(resetTracking(),unsetCurrentInstance(),isPromise(r)){if(r.then(unsetCurrentInstance,unsetCurrentInstance),t)return r.then((n=>{handleSetupResult(e,n,t)})).catch((t=>{handleError(t,e,0)}));e.asyncDep=r}else handleSetupResult(e,r,t)}else finishComponentSetup(e,t)}function handleSetupResult(e,t,n){isFunction$1(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:isObject$2(t)&&(e.setupState=proxyRefs(t)),finishComponentSetup(e,n)}function finishComponentSetup(e,t,n){const o=e.type;if(!e.render){if(!t&&compile$1&&!o.render){const t=o.template;if(t){const{isCustomElement:n,compilerOptions:r}=e.appContext.config,{delimiters:i,compilerOptions:a}=o,s=extend$1(extend$1({isCustomElement:n,delimiters:i},r),a);o.render=compile$1(t,s)}}e.render=o.render||NOOP}setCurrentInstance(e),pauseTracking(),applyOptions$1(e),resetTracking(),unsetCurrentInstance()}function createAttrsProxy(e){return new Proxy(e.attrs,{get:(t,n)=>(track(e,"get","$attrs"),t[n])})}function createSetupContext(e){const t=t=>{e.exposed=t||{}};let n;return{get attrs(){return n||(n=createAttrsProxy(e))},slots:e.slots,emit:e.emit,expose:t}}function getExposeProxy(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(proxyRefs(markRaw(e.exposed)),{get:(t,n)=>n in t?t[n]:n in publicPropertiesMap?publicPropertiesMap[n](e):void 0}))}function getComponentName(e,t=!0){return isFunction$1(e)?e.displayName||e.name:e.name||t&&e.__name}function isClassComponent(e){return isFunction$1(e)&&"__vccOpts"in e}const computed$1=(e,t)=>computed(e,t,isInSSRComponentSetup);function h(e,t,n){const o=arguments.length;return 2===o?isObject$2(t)&&!isArray$4(t)?isVNode(t)?createVNode(e,null,[t]):createVNode(e,t):createVNode(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):3===o&&isVNode(n)&&(n=[n]),createVNode(e,t,n))}const version$1="3.2.37",svgNS="http://www.w3.org/2000/svg",doc="undefined"!=typeof document?document:null,templateContainer=doc&&doc.createElement("template"),nodeOps={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const r=t?doc.createElementNS(svgNS,e):doc.createElement(e,n?{is:n}:void 0);return"select"===e&&o&&null!=o.multiple&&r.setAttribute("multiple",o.multiple),r},createText:e=>doc.createTextNode(e),createComment:e=>doc.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>doc.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},cloneNode(e){const t=e.cloneNode(!0);return"_value"in e&&(t._value=e._value),t},insertStaticContent(e,t,n,o,r,i){const a=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),r!==i&&(r=r.nextSibling););else{templateContainer.innerHTML=o?``:e;const r=templateContainer.content;if(o){const e=r.firstChild;for(;e.firstChild;)r.appendChild(e.firstChild);r.removeChild(e)}t.insertBefore(r,n)}return[a?a.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function patchClass(e,t,n){const{__wxsAddClass:o,__wxsRemoveClass:r}=e;r&&r.length&&(t=(t||"").split(/\s+/).filter((e=>-1===r.indexOf(e))).join(" "),r.length=0),o&&o.length&&(t=(t||"")+" "+o.join(" "));const i=e._vtc;i&&(t=(t?[t,...i]:[...i]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function patchStyle(e,t,n){const o=e.style,r=isString(n);if(n&&!r){for(const e in n)setStyle(o,e,n[e]);if(t&&!isString(t))for(const e in t)null==n[e]&&setStyle(o,e,"")}else{const i=o.display;r?t!==n&&(o.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(o.display=i)}const{__wxsStyle:i}=e;if(i)for(const a in i)setStyle(o,a,i[a])}const importantRE=/\s*!important$/;function setStyle(e,t,n){if(isArray$4(n))n.forEach((n=>setStyle(e,t,n)));else if(null==n&&(n=""),n=normalizeRpx(n),t.startsWith("--"))e.setProperty(t,n);else{const o=autoPrefix(e,t);importantRE.test(n)?e.setProperty(hyphenate(o),n.replace(importantRE,""),"important"):e[o]=n}}const prefixes=["Webkit","Moz","ms"],prefixCache={};function autoPrefix(e,t){const n=prefixCache[t];if(n)return n;let o=camelize(t);if("filter"!==o&&o in e)return prefixCache[t]=o;o=capitalize(o);for(let r=0;r"function"!=typeof rpx2px?e:isString(e)?e.replace(rpxRE,((e,t)=>rpx2px(t)+"px")):e,xlinkNS="http://www.w3.org/1999/xlink";function patchAttr(e,t,n,o,r){if(o&&t.startsWith("xlink:"))null==n?e.removeAttributeNS(xlinkNS,t.slice(6,t.length)):e.setAttributeNS(xlinkNS,t,n);else{const o=isSpecialBooleanAttr(t);null==n||o&&!includeBooleanAttr(n)?e.removeAttribute(t):e.setAttribute(t,o?"":n)}}function patchDOMProp(e,t,n,o,r,i,a){if("innerHTML"===t||"textContent"===t)return o&&a(o,r,i),void(e[t]=null==n?"":n);if("value"===t&&"PROGRESS"!==e.tagName&&!e.tagName.includes("-")){e._value=n;const o=null==n?"":n;return e.value===o&&"OPTION"!==e.tagName||(e.value=o),void(null==n&&e.removeAttribute(t))}let s=!1;if(""===n||null==n){const o=typeof e[t];"boolean"===o?n=includeBooleanAttr(n):null==n&&"string"===o?(n="",s=!0):"number"===o&&(n=0,s=!0)}try{e[t]=n}catch(c){}s&&e.removeAttribute(t)}const[_getNow,skipTimestampCheck]=(()=>{let e=Date.now,t=!1;if("undefined"!=typeof window){Date.now()>document.createEvent("Event").timeStamp&&(e=performance.now.bind(performance));const n=navigator.userAgent.match(/firefox\/(\d+)/i);t=!!(n&&Number(n[1])<=53)}return[e,t]})();let cachedNow=0;const p$1=Promise.resolve(),reset=()=>{cachedNow=0},getNow=()=>cachedNow||(p$1.then(reset),cachedNow=_getNow());function addEventListener(e,t,n,o){e.addEventListener(t,n,o)}function removeEventListener(e,t,n,o){e.removeEventListener(t,n,o)}function patchEvent(e,t,n,o,r=null){const i=e._vei||(e._vei={}),a=i[t];if(o&&a)a.value=o;else{const[n,s]=parseName(t);if(o){addEventListener(e,n,i[t]=createInvoker(o,r),s)}else a&&(removeEventListener(e,n,a,s),i[t]=void 0)}}const optionsModifierRE=/(?:Once|Passive|Capture)$/;function parseName(e){let t;if(optionsModifierRE.test(e)){let n;for(t={};n=e.match(optionsModifierRE);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[hyphenate(e.slice(2)),t]}function createInvoker(e,t){const n=e=>{const o=e.timeStamp||_getNow();if(skipTimestampCheck||o>=n.attached-1){const o=t&&t.proxy,r=o&&o.$nne,{value:i}=n;if(r&&isArray$4(i)){const n=patchStopImmediatePropagation(e,i);for(let o=0;o{n.call(e),e._stopped=!0},t.map((e=>{const t=t=>!t._stopped&&e&&e(t);return t.__wwe=e.__wwe,t}))}return t}function patchWxs(e,t,n,o=null){if(!n||!o)return;const r=t.replace("change:",""),{attrs:i}=o,a=i[r],s=(e.__wxsProps||(e.__wxsProps={}))[r];if(s===a)return;e.__wxsProps[r]=a;const c=o.proxy;nextTick((()=>{n(a,s,c.$gcd(c,!0),c.$gcd(c,!1))}))}const nativeOnRE=/^on[a-z]/,forcePatchProp=(e,t)=>0===t.indexOf("change:")||("class"===t&&e.__wxsClassChanged?(e.__wxsClassChanged=!1,!0):!("style"!==t||!e.__wxsStyleChanged)&&(e.__wxsStyleChanged=!1,!0)),patchProp=(e,t,n,o,r=!1,i,a,s,c)=>{if(0===t.indexOf("change:"))return patchWxs(e,t,o,a);"class"===t?patchClass(e,o,r):"style"===t?patchStyle(e,n,o):isOn(t)?isModelListener(t)||patchEvent(e,t,n,o,a):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):shouldSetAsProp(e,t,o,r))?patchDOMProp(e,t,o,i,a,s,c):("true-value"===t?e._trueValue=o:"false-value"===t&&(e._falseValue=o),patchAttr(e,t,o,r))};function shouldSetAsProp(e,t,n,o){return o?"innerHTML"===t||"textContent"===t||!!(t in e&&nativeOnRE.test(t)&&isFunction$1(n)):"spellcheck"!==t&&"draggable"!==t&&"translate"!==t&&("form"!==t&&(("list"!==t||"INPUT"!==e.tagName)&&(("type"!==t||"TEXTAREA"!==e.tagName)&&((!nativeOnRE.test(t)||!isString(n))&&t in e))))}const TRANSITION="transition",ANIMATION="animation",Transition=(e,{slots:t})=>h(BaseTransition,resolveTransitionProps(e),t);Transition.displayName="Transition";const DOMTransitionPropsValidators={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};Transition.props=extend$1({},BaseTransition.props,DOMTransitionPropsValidators);const callHook$1=(e,t=[])=>{isArray$4(e)?e.forEach((e=>e(...t))):e&&e(...t)},hasExplicitCallback=e=>!!e&&(isArray$4(e)?e.some((e=>e.length>1)):e.length>1);function resolveTransitionProps(e){const t={};for(const A in e)A in DOMTransitionPropsValidators||(t[A]=e[A]);if(!1===e.css)return t;const{name:n="v",type:o,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:c=i,appearActiveClass:l=a,appearToClass:u=s,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,h=normalizeDuration(r),g=h&&h[0],m=h&&h[1],{onBeforeEnter:v,onEnter:_,onEnterCancelled:y,onLeave:b,onLeaveCancelled:w,onBeforeAppear:T=v,onAppear:E=_,onAppearCancelled:S=y}=t,C=(e,t,n)=>{removeTransitionClass(e,t?u:s),removeTransitionClass(e,t?l:a),n&&n()},O=(e,t)=>{e._isLeaving=!1,removeTransitionClass(e,d),removeTransitionClass(e,p),removeTransitionClass(e,f),t&&t()},I=e=>(t,n)=>{const r=e?E:_,a=()=>C(t,e,n);callHook$1(r,[t,a]),nextFrame((()=>{removeTransitionClass(t,e?c:i),addTransitionClass(t,e?u:s),hasExplicitCallback(r)||whenTransitionEnds(t,o,g,a)}))};return extend$1(t,{onBeforeEnter(e){callHook$1(v,[e]),addTransitionClass(e,i),addTransitionClass(e,a)},onBeforeAppear(e){callHook$1(T,[e]),addTransitionClass(e,c),addTransitionClass(e,l)},onEnter:I(!1),onAppear:I(!0),onLeave(e,t){e._isLeaving=!0;const n=()=>O(e,t);addTransitionClass(e,d),forceReflow(),addTransitionClass(e,f),nextFrame((()=>{e._isLeaving&&(removeTransitionClass(e,d),addTransitionClass(e,p),hasExplicitCallback(b)||whenTransitionEnds(e,o,m,n))})),callHook$1(b,[e,n])},onEnterCancelled(e){C(e,!1),callHook$1(y,[e])},onAppearCancelled(e){C(e,!0),callHook$1(S,[e])},onLeaveCancelled(e){O(e),callHook$1(w,[e])}})}function normalizeDuration(e){if(null==e)return null;if(isObject$2(e))return[NumberOf(e.enter),NumberOf(e.leave)];{const t=NumberOf(e);return[t,t]}}function NumberOf(e){return toNumber(e)}function addTransitionClass(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),(e._vtc||(e._vtc=new Set)).add(t)}function removeTransitionClass(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.remove(t)));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function nextFrame(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let endId=0;function whenTransitionEnds(e,t,n,o){const r=e._endId=++endId,i=()=>{r===e._endId&&o()};if(n)return setTimeout(i,n);const{type:a,timeout:s,propCount:c}=getTransitionInfo(e,t);if(!a)return o();const l=a+"end";let u=0;const d=()=>{e.removeEventListener(l,f),i()},f=t=>{t.target===e&&++u>=c&&d()};setTimeout((()=>{u(n[e]||"").split(", "),r=o(TRANSITION+"Delay"),i=o(TRANSITION+"Duration"),a=getTimeout(r,i),s=o(ANIMATION+"Delay"),c=o(ANIMATION+"Duration"),l=getTimeout(s,c);let u=null,d=0,f=0;t===TRANSITION?a>0&&(u=TRANSITION,d=a,f=i.length):t===ANIMATION?l>0&&(u=ANIMATION,d=l,f=c.length):(d=Math.max(a,l),u=d>0?a>l?TRANSITION:ANIMATION:null,f=u?u===TRANSITION?i.length:c.length:0);return{type:u,timeout:d,propCount:f,hasTransform:u===TRANSITION&&/\b(transform|all)(,|$)/.test(n[TRANSITION+"Property"])}}function getTimeout(e,t){for(;e.lengthtoMs(t)+toMs(e[n]))))}function toMs(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}function forceReflow(){return document.body.offsetHeight}const systemModifiers=["ctrl","shift","alt","meta"],modifierGuards={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)=>systemModifiers.some((n=>e[`${n}Key`]&&!t.includes(n)))},withModifiers=(e,t)=>(n,...o)=>{for(let e=0;e{setDisplay(e,!1)})):setDisplay(e,t))},beforeUnmount(e,{value:t}){setDisplay(e,t)}};function setDisplay(e,t){e.style.display=t?e._vod:"none"}const rendererOptions=extend$1({patchProp:patchProp,forcePatchProp:forcePatchProp},nodeOps);let renderer;function ensureRenderer(){return renderer||(renderer=createRenderer(rendererOptions))}const createApp$1=(...e)=>{const t=ensureRenderer().createApp(...e),{mount:n}=t;return t.mount=e=>{const o=normalizeContainer(e);if(!o)return;const r=t._component;isFunction$1(r)||r.render||r.template||(r.template=o.innerHTML),o.innerHTML="";const i=n(o,!1,o instanceof SVGElement);return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t};function normalizeContainer(e){if(isString(e)){return document.querySelector(e)}return e}const isObject$1=e=>null!==e&&"object"==typeof e,defaultDelimiters=["{","}"];class BaseFormatter{constructor(){this._caches=Object.create(null)}interpolate(e,t,n=defaultDelimiters){if(!t)return[e];let o=this._caches[e];return o||(o=parse(e,n),this._caches[e]=o),compile(o,t)}}const RE_TOKEN_LIST_VALUE=/^(?:\d)+/,RE_TOKEN_NAMED_VALUE=/^(?:\w)+/;function parse(e,[t,n]){const o=[];let r=0,i="";for(;rhasOwnProperty$9.call(e,t),defaultFormatter=new BaseFormatter;function include(e,t){return!!t.find((t=>-1!==e.indexOf(t)))}function startsWith(e,t){return t.find((t=>0===e.indexOf(t)))}function normalizeLocale(e,t){if(!e)return;if(e=e.trim().replace(/_/g,"-"),t&&t[e])return e;if("chinese"===(e=e.toLowerCase()))return LOCALE_ZH_HANS;if(0===e.indexOf("zh"))return e.indexOf("-hans")>-1?LOCALE_ZH_HANS:e.indexOf("-hant")>-1||include(e,["-tw","-hk","-mo","-cht"])?LOCALE_ZH_HANT:LOCALE_ZH_HANS;const n=startsWith(e,[LOCALE_EN,LOCALE_FR,LOCALE_ES]);return n||void 0}class I18n{constructor({locale:e,fallbackLocale:t,messages:n,watcher:o,formater:r}){this.locale=LOCALE_EN,this.fallbackLocale=LOCALE_EN,this.message={},this.messages={},this.watchers=[],t&&(this.fallbackLocale=t),this.formater=r||defaultFormatter,this.messages=n||{},this.setLocale(e||LOCALE_EN),o&&this.watchLocale(o)}setLocale(e){const t=this.locale;this.locale=normalizeLocale(e,this.messages)||this.fallbackLocale,this.messages[this.locale]||(this.messages[this.locale]={}),this.message=this.messages[this.locale],t!==this.locale&&this.watchers.forEach((e=>{e(this.locale,t)}))}getLocale(){return this.locale}watchLocale(e){const t=this.watchers.push(e)-1;return()=>{this.watchers.splice(t,1)}}add(e,t,n=!0){const o=this.messages[e];o?n?Object.assign(o,t):Object.keys(t).forEach((e=>{hasOwn(o,e)||(o[e]=t[e])})):this.messages[e]=t}f(e,t,n){return this.formater.interpolate(e,t,n).join("")}t(e,t,n){let o=this.message;return"string"==typeof t?(t=normalizeLocale(t,this.messages))&&(o=this.messages[t]):n=t,hasOwn(o,e)?this.formater.interpolate(o[e],n).join(""):(console.warn(`Cannot translate the value of keypath ${e}. Use the value of keypath as default.`),e)}}function watchAppLocale(e,t){e.$watchLocale?e.$watchLocale((e=>{t.setLocale(e)})):e.$watch((()=>e.$locale),(e=>{t.setLocale(e)}))}function getDefaultLocale(){return"undefined"!=typeof uni&&getLocale?getLocale():"undefined"!=typeof global&&global.getLocale?global.getLocale():LOCALE_EN}function initVueI18n(e,t={},n,o){"string"!=typeof e&&([e,t]=[t,e]),"string"!=typeof e&&(e=getDefaultLocale()),"string"!=typeof n&&(n="undefined"!=typeof __uniConfig&&__uniConfig.fallbackLocale||LOCALE_EN);const r=new I18n({locale:e,fallbackLocale:n,messages:t,watcher:o});let i=(e,t)=>{if("function"!=typeof getApp$1)i=function(e,t){return r.t(e,t)};else{let e=!1;i=function(t,n){const o=getApp$1().$vm;return o&&(o.$locale,e||(e=!0,watchAppLocale(o,r))),r.t(t,n)}}return i(e,t)};return{i18n:r,f:(e,t,n)=>r.f(e,t,n),t:(e,t)=>i(e,t),add:(e,t,n=!0)=>r.add(e,t,n),watch:e=>r.watchLocale(e),getLocale:()=>r.getLocale(),setLocale:e=>r.setLocale(e)}}function isI18nStr(e,t){return e.indexOf(t[0])>-1}
/*!
* vue-router v4.1.4
* (c) 2022 Eduardo San Martin Morote
* @license MIT
- */const isBrowser="undefined"!=typeof window;function isESModule(e){return e.__esModule||"Module"===e[Symbol.toStringTag]}const assign$1=Object.assign;function applyToParams(e,t){const n={};for(const o in t){const r=t[o];n[o]=isArray$3(r)?r.map(e):e(r)}return n}const noop$1=()=>{},isArray$3=Array.isArray,TRAILING_SLASH_RE=/\/$/,removeTrailingSlash=e=>e.replace(TRAILING_SLASH_RE,"");function parseURL(e,t,n="/"){let o,r={},i="",a="";const s=t.indexOf("#");let c=t.indexOf("?");return s=0&&(c=-1),c>-1&&(o=t.slice(0,c),i=t.slice(c+1,s>-1?s:t.length),r=e(i)),s>-1&&(o=o||t.slice(0,s),a=t.slice(s,t.length)),o=resolveRelativePath(null!=o?o:t,n),{fullPath:o+(i&&"?")+i+a,path:o,query:r,hash:a}}function stringifyURL(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function stripBase(e,t){return t&&e.toLowerCase().startsWith(t.toLowerCase())?e.slice(t.length)||"/":e}function isSameRouteLocation(e,t,n){const o=t.matched.length-1,r=n.matched.length-1;return o>-1&&o===r&&isSameRouteRecord(t.matched[o],n.matched[r])&&isSameRouteLocationParams(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function isSameRouteRecord(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function isSameRouteLocationParams(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!isSameRouteLocationParamsValue(e[n],t[n]))return!1;return!0}function isSameRouteLocationParamsValue(e,t){return isArray$3(e)?isEquivalentArray(e,t):isArray$3(t)?isEquivalentArray(t,e):e===t}function isEquivalentArray(e,t){return isArray$3(t)?e.length===t.length&&e.every(((e,n)=>e===t[n])):1===e.length&&e[0]===t}function resolveRelativePath(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),o=e.split("/");let r,i,a=n.length-1;for(r=0;r1&&a--}return n.slice(0,a).join("/")+"/"+o.slice(r-(r===o.length?1:0)).join("/")}var NavigationType,NavigationType2,NavigationDirection,NavigationDirection2;function normalizeBase(e){if(!e)if(isBrowser){const t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return"/"!==e[0]&&"#"!==e[0]&&(e="/"+e),removeTrailingSlash(e)}NavigationType2=NavigationType||(NavigationType={}),NavigationType2.pop="pop",NavigationType2.push="push",NavigationDirection2=NavigationDirection||(NavigationDirection={}),NavigationDirection2.back="back",NavigationDirection2.forward="forward",NavigationDirection2.unknown="";const BEFORE_HASH_RE=/^[^#]+#/;function createHref(e,t){return e.replace(BEFORE_HASH_RE,"#")+t}function getElementPosition(e,t){const n=document.documentElement.getBoundingClientRect(),o=e.getBoundingClientRect();return{behavior:t.behavior,left:o.left-n.left-(t.left||0),top:o.top-n.top-(t.top||0)}}const computeScrollPosition=()=>({left:window.pageXOffset,top:window.pageYOffset});function scrollToPosition(e){let t;if("el"in e){const n=e.el,o="string"==typeof n&&n.startsWith("#"),r="string"==typeof n?o?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=getElementPosition(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(null!=t.left?t.left:window.pageXOffset,null!=t.top?t.top:window.pageYOffset)}function getScrollKey(e,t){return(history.state?history.state.position-t:-1)+e}const scrollPositions=new Map;function saveScrollPosition(e,t){scrollPositions.set(e,t)}function getSavedScrollPosition(e){const t=scrollPositions.get(e);return scrollPositions.delete(e),t}let createBaseLocation=()=>location.protocol+"//"+location.host;function createCurrentLocation(e,t){const{pathname:n,search:o,hash:r}=t,i=e.indexOf("#");if(i>-1){let t=r.includes(e.slice(i))?e.slice(i).length:1,n=r.slice(t);return"/"!==n[0]&&(n="/"+n),stripBase(n,"")}return stripBase(n,e)+o+r}function useHistoryListeners(e,t,n,o){let r=[],i=[],a=null;const s=({state:i})=>{const s=createCurrentLocation(e,location),c=n.value,l=t.value;let u=0;if(i){if(n.value=s,t.value=i,a&&a===c)return void(a=null);u=l?i.position-l.position:0}else o(s);r.forEach((e=>{e(n.value,c,{delta:u,type:NavigationType.pop,direction:u?u>0?NavigationDirection.forward:NavigationDirection.back:NavigationDirection.unknown})}))};function c(){const{history:e}=window;e.state&&e.replaceState(assign$1({},e.state,{scroll:computeScrollPosition()}),"")}return window.addEventListener("popstate",s),window.addEventListener("beforeunload",c),{pauseListeners:function(){a=n.value},listen:function(e){r.push(e);const t=()=>{const t=r.indexOf(e);t>-1&&r.splice(t,1)};return i.push(t),t},destroy:function(){for(const e of i)e();i=[],window.removeEventListener("popstate",s),window.removeEventListener("beforeunload",c)}}}function buildState(e,t,n,o=!1,r=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:r?computeScrollPosition():null}}function useHistoryStateNavigation(e){const{history:t,location:n}=window,o={value:createCurrentLocation(e,n)},r={value:t.state};function i(o,i,a){const s=e.indexOf("#"),c=s>-1?(n.host&&document.querySelector("base")?e:e.slice(s))+o:createBaseLocation()+e+o;try{t[a?"replaceState":"pushState"](i,"",c),r.value=i}catch(l){console.error(l),n[a?"replace":"assign"](c)}}return r.value||i(o.value,{back:null,current:o.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0),{location:o,state:r,push:function(e,n){const a=assign$1({},r.value,t.state,{forward:e,scroll:computeScrollPosition()});i(a.current,a,!0),i(e,assign$1({},buildState(o.value,e,null),{position:a.position+1},n),!1),o.value=e},replace:function(e,n){i(e,assign$1({},t.state,buildState(r.value.back,e,r.value.forward,!0),n,{position:r.value.position}),!0),o.value=e}}}function createWebHistory(e){const t=useHistoryStateNavigation(e=normalizeBase(e)),n=useHistoryListeners(e,t.state,t.location,t.replace);const o=assign$1({location:"",base:e,go:function(e,t=!0){t||n.pauseListeners(),history.go(e)},createHref:createHref.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function isRouteLocation(e){return"string"==typeof e||e&&"object"==typeof e}function isRouteName(e){return"string"==typeof e||"symbol"==typeof e}const START_LOCATION_NORMALIZED={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},NavigationFailureSymbol=Symbol("");var NavigationFailureType,NavigationFailureType2;function createRouterError(e,t){return assign$1(new Error,{type:e,[NavigationFailureSymbol]:!0},t)}function isNavigationFailure(e,t){return e instanceof Error&&NavigationFailureSymbol in e&&(null==t||!!(e.type&t))}NavigationFailureType2=NavigationFailureType||(NavigationFailureType={}),NavigationFailureType2[NavigationFailureType2.aborted=4]="aborted",NavigationFailureType2[NavigationFailureType2.cancelled=8]="cancelled",NavigationFailureType2[NavigationFailureType2.duplicated=16]="duplicated";const BASE_PARAM_PATTERN="[^/]+?",BASE_PATH_PARSER_OPTIONS={sensitive:!1,strict:!1,start:!0,end:!0},REGEX_CHARS_RE=/[.+*?^${}()[\]/\\]/g;function tokensToParser(e,t){const n=assign$1({},BASE_PATH_PARSER_OPTIONS,t),o=[];let r=n.start?"^":"";const i=[];for(const c of e){const e=c.length?[]:[90];n.strict&&!c.length&&(r+="/");for(let t=0;tt.length?1===t.length&&80===t[0]?1:-1:0}function comparePathParserScore(e,t){let n=0;const o=e.score,r=t.score;for(;n0&&t[t.length-1]<0}const ROOT_TOKEN={type:0,value:""},VALID_PARAM_RE=/[a-zA-Z0-9_]/;function tokenizePath(e){if(!e)return[[]];if("/"===e)return[[ROOT_TOKEN]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(e){throw new Error(`ERR (${n})/"${l}": ${e}`)}let n=0,o=n;const r=[];let i;function a(){i&&r.push(i),i=[]}let s,c=0,l="",u="";function d(){l&&(0===n?i.push({type:0,value:l}):1===n||2===n||3===n?(i.length>1&&("*"===s||"+"===s)&&t(`A repeatable param (${l}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:l,regexp:u,repeatable:"*"===s||"+"===s,optional:"*"===s||"?"===s})):t("Invalid state to consume buffer"),l="")}function f(){l+=s}for(;c{i(f)}:noop$1}function i(e){if(isRouteName(e)){const t=o.get(e);t&&(o.delete(e),n.splice(n.indexOf(t),1),t.children.forEach(i),t.alias.forEach(i))}else{const t=n.indexOf(e);t>-1&&(n.splice(t,1),e.record.name&&o.delete(e.record.name),e.children.forEach(i),e.alias.forEach(i))}}function a(e){let t=0;for(;t=0&&(e.record.path!==n[t].record.path||!isRecordChildOf(e,n[t]));)t++;n.splice(t,0,e),e.record.name&&!isAliasRecord(e)&&o.set(e.record.name,e)}return t=mergeOptions({strict:!1,end:!0,sensitive:!1},t),e.forEach((e=>r(e))),{addRoute:r,resolve:function(e,t){let r,i,a,s={};if("name"in e&&e.name){if(r=o.get(e.name),!r)throw createRouterError(1,{location:e});a=r.record.name,s=assign$1(paramsFromLocation(t.params,r.keys.filter((e=>!e.optional)).map((e=>e.name))),e.params&¶msFromLocation(e.params,r.keys.map((e=>e.name)))),i=r.stringify(s)}else if("path"in e)i=e.path,r=n.find((e=>e.re.test(i))),r&&(s=r.parse(i),a=r.record.name);else{if(r=t.name?o.get(t.name):n.find((e=>e.re.test(t.path))),!r)throw createRouterError(1,{location:e,currentLocation:t});a=r.record.name,s=assign$1({},t.params,e.params),i=r.stringify(s)}const c=[];let l=r;for(;l;)c.unshift(l.record),l=l.parent;return{name:a,path:i,params:s,matched:c,meta:mergeMetaFields(c)}},removeRoute:i,getRoutes:function(){return n},getRecordMatcher:function(e){return o.get(e)}}}function paramsFromLocation(e,t){const n={};for(const o of t)o in e&&(n[o]=e[o]);return n}function normalizeRouteRecord(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:normalizeRecordProps(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function normalizeRecordProps(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const o in e.components)t[o]="boolean"==typeof n?n:n[o];return t}function isAliasRecord(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function mergeMetaFields(e){return e.reduce(((e,t)=>assign$1(e,t.meta)),{})}function mergeOptions(e,t){const n={};for(const o in e)n[o]=o in t?t[o]:e[o];return n}function isRecordChildOf(e,t){return t.children.some((t=>t===e||isRecordChildOf(e,t)))}const HASH_RE=/#/g,AMPERSAND_RE=/&/g,SLASH_RE=/\//g,EQUAL_RE=/=/g,IM_RE=/\?/g,PLUS_RE=/\+/g,ENC_BRACKET_OPEN_RE=/%5B/g,ENC_BRACKET_CLOSE_RE=/%5D/g,ENC_CARET_RE=/%5E/g,ENC_BACKTICK_RE=/%60/g,ENC_CURLY_OPEN_RE=/%7B/g,ENC_PIPE_RE=/%7C/g,ENC_CURLY_CLOSE_RE=/%7D/g,ENC_SPACE_RE=/%20/g;function commonEncode(e){return encodeURI(""+e).replace(ENC_PIPE_RE,"|").replace(ENC_BRACKET_OPEN_RE,"[").replace(ENC_BRACKET_CLOSE_RE,"]")}function encodeHash(e){return commonEncode(e).replace(ENC_CURLY_OPEN_RE,"{").replace(ENC_CURLY_CLOSE_RE,"}").replace(ENC_CARET_RE,"^")}function encodeQueryValue(e){return commonEncode(e).replace(PLUS_RE,"%2B").replace(ENC_SPACE_RE,"+").replace(HASH_RE,"%23").replace(AMPERSAND_RE,"%26").replace(ENC_BACKTICK_RE,"`").replace(ENC_CURLY_OPEN_RE,"{").replace(ENC_CURLY_CLOSE_RE,"}").replace(ENC_CARET_RE,"^")}function encodeQueryKey(e){return encodeQueryValue(e).replace(EQUAL_RE,"%3D")}function encodePath(e){return commonEncode(e).replace(HASH_RE,"%23").replace(IM_RE,"%3F")}function encodeParam(e){return null==e?"":encodePath(e).replace(SLASH_RE,"%2F")}function decode(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}function parseQuery(e){const t={};if(""===e||"?"===e)return t;const n=("?"===e[0]?e.slice(1):e).split("&");for(let o=0;oe&&encodeQueryValue(e))):[o&&encodeQueryValue(o)]).forEach((e=>{void 0!==e&&(t+=(t.length?"&":"")+n,null!=e&&(t+="="+e))}))}return t}function normalizeQuery(e){const t={};for(const n in e){const o=e[n];void 0!==o&&(t[n]=isArray$3(o)?o.map((e=>null==e?null:""+e)):null==o?o:""+o)}return t}const matchedRouteKey=Symbol(""),viewDepthKey=Symbol(""),routerKey=Symbol(""),routeLocationKey=Symbol(""),routerViewLocationKey=Symbol("");function useCallbacks(){let e=[];return{add:function(t){return e.push(t),()=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)}},list:()=>e,reset:function(){e=[]}}}function guardToPromiseFn(e,t,n,o,r){const i=o&&(o.enterCallbacks[r]=o.enterCallbacks[r]||[]);return()=>new Promise(((a,s)=>{const c=e=>{!1===e?s(createRouterError(4,{from:n,to:t})):e instanceof Error?s(e):isRouteLocation(e)?s(createRouterError(2,{from:t,to:e})):(i&&o.enterCallbacks[r]===i&&"function"==typeof e&&i.push(e),a())},l=e.call(o&&o.instances[r],t,n,c);let u=Promise.resolve(l);e.length<3&&(u=u.then(c)),u.catch((e=>s(e)))}))}function extractComponentsGuards(e,t,n,o){const r=[];for(const i of e)for(const e in i.components){let a=i.components[e];if("beforeRouteEnter"===t||i.instances[e])if(isRouteComponent(a)){const s=(a.__vccOpts||a)[t];s&&r.push(guardToPromiseFn(s,n,o,i,e))}else{let s=a();r.push((()=>s.then((r=>{if(!r)return Promise.reject(new Error(`Couldn't resolve component "${e}" at "${i.path}"`));const a=isESModule(r)?r.default:r;i.components[e]=a;const s=(a.__vccOpts||a)[t];return s&&guardToPromiseFn(s,n,o,i,e)()}))))}}return r}function isRouteComponent(e){return"object"==typeof e||"displayName"in e||"props"in e||"__vccOpts"in e}function useLink(e){const t=inject(routerKey),n=inject(routeLocationKey),o=computed$1((()=>t.resolve(unref(e.to)))),r=computed$1((()=>{const{matched:e}=o.value,{length:t}=e,r=e[t-1],i=n.matched;if(!r||!i.length)return-1;const a=i.findIndex(isSameRouteRecord.bind(null,r));if(a>-1)return a;const s=getOriginalPath(e[t-2]);return t>1&&getOriginalPath(r)===s&&i[i.length-1].path!==s?i.findIndex(isSameRouteRecord.bind(null,e[t-2])):a})),i=computed$1((()=>r.value>-1&&includesParams(n.params,o.value.params))),a=computed$1((()=>r.value>-1&&r.value===n.matched.length-1&&isSameRouteLocationParams(n.params,o.value.params)));return{route:o,href:computed$1((()=>o.value.href)),isActive:i,isExactActive:a,navigate:function(n={}){return guardEvent(n)?t[unref(e.replace)?"replace":"push"](unref(e.to)).catch(noop$1):Promise.resolve()}}}const RouterLinkImpl=defineComponent({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:useLink,setup(e,{slots:t}){const n=reactive(useLink(e)),{options:o}=inject(routerKey),r=computed$1((()=>({[getLinkClass(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[getLinkClass(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive})));return()=>{const o=t.default&&t.default(n);return e.custom?o:h("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}}),RouterLink=RouterLinkImpl;function guardEvent(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey||e.defaultPrevented||void 0!==e.button&&0!==e.button)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function includesParams(e,t){for(const n in t){const o=t[n],r=e[n];if("string"==typeof o){if(o!==r)return!1}else if(!isArray$3(r)||r.length!==o.length||o.some(((e,t)=>e!==r[t])))return!1}return!0}function getOriginalPath(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const getLinkClass=(e,t,n)=>null!=e?e:null!=t?t:n,RouterViewImpl=defineComponent({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=inject(routerViewLocationKey),r=computed$1((()=>e.route||o.value)),i=inject(viewDepthKey,0),a=computed$1((()=>{let e=unref(i);const{matched:t}=r.value;let n;for(;(n=t[e])&&!n.components;)e++;return e})),s=computed$1((()=>r.value.matched[a.value]));provide(viewDepthKey,computed$1((()=>a.value+1))),provide(matchedRouteKey,s),provide(routerViewLocationKey,r);const c=ref();return watch((()=>[c.value,s.value,e.name]),(([e,t,n],[o,r,i])=>{t&&(t.instances[n]=e,r&&r!==t&&e&&e===o&&(t.leaveGuards.size||(t.leaveGuards=r.leaveGuards),t.updateGuards.size||(t.updateGuards=r.updateGuards))),!e||!t||r&&isSameRouteRecord(t,r)&&o||(t.enterCallbacks[n]||[]).forEach((t=>t(e)))}),{flush:"post"}),()=>{const o=r.value,i=e.name,a=s.value,l=a&&a.components[i];if(!l)return normalizeSlot(n.default,{Component:l,route:o});const u=a.props[i],d=u?!0===u?o.params:"function"==typeof u?u(o):u:null,f=h(l,assign$1({},d,t,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(a.instances[i]=null)},ref:c}));return normalizeSlot(n.default,{Component:f,route:o})||f}}});function normalizeSlot(e,t){if(!e)return null;const n=e(t);return 1===n.length?n[0]:n}const RouterView=RouterViewImpl;function createRouter(e){const t=createRouterMatcher(e.routes,e),n=e.parseQuery||parseQuery,o=e.stringifyQuery||stringifyQuery$1,r=e.history,i=useCallbacks(),a=useCallbacks(),s=useCallbacks(),c=shallowRef(START_LOCATION_NORMALIZED);let l=START_LOCATION_NORMALIZED;isBrowser&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=applyToParams.bind(null,(e=>""+e)),d=applyToParams.bind(null,encodeParam),f=applyToParams.bind(null,decode);function p(e,i){if(i=assign$1({},i||c.value),"string"==typeof e){const o=parseURL(n,e,i.path),a=t.resolve({path:o.path},i),s=r.createHref(o.fullPath);return assign$1(o,a,{params:f(a.params),hash:decode(o.hash),redirectedFrom:void 0,href:s})}let a;if("path"in e)a=assign$1({},e,{path:parseURL(n,e.path,i.path).path});else{const t=assign$1({},e.params);for(const e in t)null==t[e]&&delete t[e];a=assign$1({},e,{params:d(e.params)}),i.params=d(i.params)}const s=t.resolve(a,i),l=e.hash||"";s.params=u(f(s.params));const p=stringifyURL(o,assign$1({},e,{hash:encodeHash(l),path:s.path})),h=r.createHref(p);return assign$1({fullPath:p,hash:l,query:o===stringifyQuery$1?normalizeQuery(e.query):e.query||{}},s,{redirectedFrom:void 0,href:h})}function h(e){return"string"==typeof e?parseURL(n,e,c.value.path):assign$1({},e)}function g(e,t){if(l!==e)return createRouterError(8,{from:t,to:e})}function m(e){return _(e)}function v(e){const t=e.matched[e.matched.length-1];if(t&&t.redirect){const{redirect:n}=t;let o="function"==typeof n?n(e):n;return"string"==typeof o&&(o=o.includes("?")||o.includes("#")?o=h(o):{path:o},o.params={}),assign$1({query:e.query,hash:e.hash,params:"path"in o?{}:e.params},o)}}function _(e,t){const n=l=p(e),r=c.value,i=e.state,a=e.force,s=!0===e.replace,u=v(n);if(u)return _(assign$1(h(u),{state:"object"==typeof u?assign$1({},i,u.state):i,force:a,replace:s}),t||n);const d=n;let f;return d.redirectedFrom=t,!a&&isSameRouteLocation(o,r,n)&&(f=createRouterError(16,{to:d,from:r}),x(r,r,!0,!1)),(f?Promise.resolve(f):b(d,r)).catch((e=>isNavigationFailure(e)?isNavigationFailure(e,2)?e:A(e):I(e,d,r))).then((e=>{if(e){if(isNavigationFailure(e,2))return _(assign$1({replace:s},h(e.to),{state:"object"==typeof e.to?assign$1({},i,e.to.state):i,force:a}),t||d)}else e=T(d,r,!0,s,i);return w(d,r,e),e}))}function y(e,t){const n=g(e,t);return n?Promise.reject(n):Promise.resolve()}function b(e,t){let n;const[o,r,s]=extractChangingRecords(e,t);n=extractComponentsGuards(o.reverse(),"beforeRouteLeave",e,t);for(const i of o)i.leaveGuards.forEach((o=>{n.push(guardToPromiseFn(o,e,t))}));const c=y.bind(null,e,t);return n.push(c),runGuardQueue(n).then((()=>{n=[];for(const o of i.list())n.push(guardToPromiseFn(o,e,t));return n.push(c),runGuardQueue(n)})).then((()=>{n=extractComponentsGuards(r,"beforeRouteUpdate",e,t);for(const o of r)o.updateGuards.forEach((o=>{n.push(guardToPromiseFn(o,e,t))}));return n.push(c),runGuardQueue(n)})).then((()=>{n=[];for(const o of e.matched)if(o.beforeEnter&&!t.matched.includes(o))if(isArray$3(o.beforeEnter))for(const r of o.beforeEnter)n.push(guardToPromiseFn(r,e,t));else n.push(guardToPromiseFn(o.beforeEnter,e,t));return n.push(c),runGuardQueue(n)})).then((()=>(e.matched.forEach((e=>e.enterCallbacks={})),n=extractComponentsGuards(s,"beforeRouteEnter",e,t),n.push(c),runGuardQueue(n)))).then((()=>{n=[];for(const o of a.list())n.push(guardToPromiseFn(o,e,t));return n.push(c),runGuardQueue(n)})).catch((e=>isNavigationFailure(e,8)?e:Promise.reject(e)))}function w(e,t,n){for(const o of s.list())o(e,t,n)}function T(e,t,n,o,i){const a=g(e,t);if(a)return a;const s=t===START_LOCATION_NORMALIZED,l=isBrowser?history.state:{};n&&(o||s?r.replace(e.fullPath,assign$1({scroll:s&&l&&l.scroll},i)):r.push(e.fullPath,i)),c.value=e,x(e,t,n,s),A()}let E;let S,C=useCallbacks(),O=useCallbacks();function I(e,t,n){A(e);const o=O.list();return o.length?o.forEach((o=>o(e,t,n))):console.error(e),Promise.reject(e)}function A(e){return S||(S=!e,E||(E=r.listen(((e,t,n)=>{if(!$.listening)return;const o=p(e),i=v(o);if(i)return void _(assign$1(i,{replace:!0}),o).catch(noop$1);l=o;const a=c.value;isBrowser&&saveScrollPosition(getScrollKey(a.fullPath,n.delta),computeScrollPosition()),b(o,a).catch((e=>isNavigationFailure(e,12)?e:isNavigationFailure(e,2)?(_(e.to,o).then((e=>{isNavigationFailure(e,20)&&!n.delta&&n.type===NavigationType.pop&&r.go(-1,!1)})).catch(noop$1),Promise.reject()):(n.delta&&r.go(-n.delta,!1),I(e,o,a)))).then((e=>{(e=e||T(o,a,!1))&&(n.delta&&!isNavigationFailure(e,8)?r.go(-n.delta,!1):n.type===NavigationType.pop&&isNavigationFailure(e,20)&&r.go(-1,!1)),w(o,a,e)})).catch(noop$1)}))),C.list().forEach((([t,n])=>e?n(e):t())),C.reset()),e}function x(t,n,o,r){const{scrollBehavior:i}=e;if(!isBrowser||!i)return Promise.resolve();const a=!o&&getSavedScrollPosition(getScrollKey(t.fullPath,0))||(r||!o)&&history.state&&history.state.scroll||null;return nextTick().then((()=>i(t,n,a))).then((e=>e&&scrollToPosition(e))).catch((e=>I(e,t,n)))}const P=e=>r.go(e);let R;const L=new Set,$={currentRoute:c,listening:!0,addRoute:function(e,n){let o,r;return isRouteName(e)?(o=t.getRecordMatcher(e),r=n):r=e,t.addRoute(r,o)},removeRoute:function(e){const n=t.getRecordMatcher(e);n&&t.removeRoute(n)},hasRoute:function(e){return!!t.getRecordMatcher(e)},getRoutes:function(){return t.getRoutes().map((e=>e.record))},resolve:p,options:e,push:m,replace:function(e){return m(assign$1(h(e),{replace:!0}))},go:P,back:()=>P(-1),forward:()=>P(1),beforeEach:i.add,beforeResolve:a.add,afterEach:s.add,onError:O.add,isReady:function(){return S&&c.value!==START_LOCATION_NORMALIZED?Promise.resolve():new Promise(((e,t)=>{C.add([e,t])}))},install(e){e.component("RouterLink",RouterLink),e.component("RouterView",RouterView),e.config.globalProperties.$router=this,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>unref(c)}),isBrowser&&!R&&c.value===START_LOCATION_NORMALIZED&&(R=!0,m(r.location).catch((e=>{})));const t={};for(const o in START_LOCATION_NORMALIZED)t[o]=computed$1((()=>c.value[o]));e.provide(routerKey,this),e.provide(routeLocationKey,reactive(t)),e.provide(routerViewLocationKey,c);const n=e.unmount;L.add(e),e.unmount=function(){L.delete(e),L.size<1&&(l=START_LOCATION_NORMALIZED,E&&E(),E=null,c.value=START_LOCATION_NORMALIZED,R=!1,S=!1),n()}}};return $}function runGuardQueue(e){return e.reduce(((e,t)=>e.then((()=>t()))),Promise.resolve())}function extractChangingRecords(e,t){const n=[],o=[],r=[],i=Math.max(t.matched.length,e.matched.length);for(let a=0;aisSameRouteRecord(e,i)))?o.push(i):n.push(i));const s=e.matched[a];s&&(t.matched.find((e=>isSameRouteRecord(e,s)))||r.push(s))}return[n,o,r]}function useRouter(){return inject(routerKey)}function useRoute(){return inject(routeLocationKey)}const isEnableLocale=once((()=>"undefined"!=typeof __uniConfig&&__uniConfig.locales&&!!Object.keys(__uniConfig.locales).length));let i18n;function getLocaleMessage(){const e=getLocale(),t=__uniConfig.locales;return t[e]||t[__uniConfig.fallbackLocale]||t.en||{}}function formatI18n(e){return isI18nStr(e,I18N_JSON_DELIMITERS)?useI18n().f(e,getLocaleMessage(),I18N_JSON_DELIMITERS):e}function resolveJsonObj(e,t){if(1===t.length){if(e){const n=e[t[0]];if(isString(n)&&isI18nStr(n,I18N_JSON_DELIMITERS))return e}return}const n=t.shift();return resolveJsonObj(e&&e[n],t)}function defineI18nProperty(e,t){const n=resolveJsonObj(e,t);if(!n)return!1;const o=t[t.length-1];let r=n[o];return Object.defineProperty(n,o,{get:()=>formatI18n(r),set(e){r=e}}),!0}function useI18n(){if(!i18n){let e;if(e=window.localStorage&&localStorage[UNI_STORAGE_LOCALE]||__uniConfig.locale||navigator.language,i18n=initVueI18n(e),isEnableLocale()){const t=Object.keys(__uniConfig.locales||{});t.length&&t.forEach((e=>i18n.add(e,__uniConfig.locales[e]))),i18n.setLocale(e)}}return i18n}function normalizeMessages(e,t,n){return t.reduce(((t,o,r)=>(t[e+o]=n[r],t)),{})}const initI18nAsyncMsgsOnce=once((()=>{const e="uni.async.",t=["error"];useI18n().add(LOCALE_EN,normalizeMessages(e,t,["The connection timed out, click the screen to try again."]),!1),useI18n().add(LOCALE_ES,normalizeMessages(e,t,["Se agotó el tiempo de conexión, haga clic en la pantalla para volver a intentarlo."]),!1),useI18n().add(LOCALE_FR,normalizeMessages(e,t,["La connexion a expiré, cliquez sur l'écran pour réessayer."]),!1),useI18n().add(LOCALE_ZH_HANS,normalizeMessages(e,t,["连接服务器超时,点击屏幕重试"]),!1),useI18n().add(LOCALE_ZH_HANT,normalizeMessages(e,t,["連接服務器超時,點擊屏幕重試"]),!1)})),initI18nShowToastMsgsOnce=once((()=>{const e="uni.showToast.",t=["unpaired"];useI18n().add(LOCALE_EN,normalizeMessages(e,t,["Please note showToast must be paired with hideToast"]),!1),useI18n().add(LOCALE_ES,normalizeMessages(e,t,["Tenga en cuenta que showToast debe estar emparejado con hideToast"]),!1),useI18n().add(LOCALE_FR,normalizeMessages(e,t,["Veuillez noter que showToast doit être associé à hideToast"]),!1),useI18n().add(LOCALE_ZH_HANS,normalizeMessages(e,t,["请注意 showToast 与 hideToast 必须配对使用"]),!1),useI18n().add(LOCALE_ZH_HANT,normalizeMessages(e,t,["請注意 showToast 與 hideToast 必須配對使用"]),!1)})),initI18nShowLoadingMsgsOnce=once((()=>{const e="uni.showLoading.",t=["unpaired"];useI18n().add(LOCALE_EN,normalizeMessages(e,t,["Please note showLoading must be paired with hideLoading"]),!1),useI18n().add(LOCALE_ES,normalizeMessages(e,t,["Tenga en cuenta que showLoading debe estar emparejado con hideLoading"]),!1),useI18n().add(LOCALE_FR,normalizeMessages(e,t,["Veuillez noter que showLoading doit être associé à hideLoading"]),!1),useI18n().add(LOCALE_ZH_HANS,normalizeMessages(e,t,["请注意 showLoading 与 hideLoading 必须配对使用"]),!1),useI18n().add(LOCALE_ZH_HANT,normalizeMessages(e,t,["請注意 showLoading 與 hideLoading 必須配對使用"]),!1)})),initI18nShowModalMsgsOnce=once((()=>{const e="uni.showModal.",t=["cancel","confirm"];useI18n().add(LOCALE_EN,normalizeMessages(e,t,["Cancel","OK"]),!1),useI18n().add(LOCALE_ES,normalizeMessages(e,t,["Cancelar","OK"]),!1),useI18n().add(LOCALE_FR,normalizeMessages(e,t,["Annuler","OK"]),!1),useI18n().add(LOCALE_ZH_HANS,normalizeMessages(e,t,["取消","确定"]),!1),useI18n().add(LOCALE_ZH_HANT,normalizeMessages(e,t,["取消","確定"]),!1)})),initI18nChooseFileMsgsOnce=once((()=>{const e="uni.chooseFile.",t=["notUserActivation"];useI18n().add(LOCALE_EN,normalizeMessages(e,t,["File chooser dialog can only be shown with a user activation"]),!1),useI18n().add(LOCALE_ES,normalizeMessages(e,t,["El cuadro de diálogo del selector de archivos solo se puede mostrar con la activación del usuario"]),!1),useI18n().add(LOCALE_FR,normalizeMessages(e,t,["La boîte de dialogue du sélecteur de fichier ne peut être affichée qu'avec une activation par l'utilisateur"]),!1),useI18n().add(LOCALE_ZH_HANS,normalizeMessages(e,t,["文件选择器对话框只能在用户激活时显示"]),!1),useI18n().add(LOCALE_ZH_HANT,normalizeMessages(e,t,["文件選擇器對話框只能在用戶激活時顯示"]),!1)}));function initTabBarI18n(e){return isEnableLocale()&&e.list&&e.list.forEach((e=>{defineI18nProperty(e,["text"])})),e}function initBridge(e){const t=new E$1;return{on:(e,n)=>t.on(e,n),once:(e,n)=>t.once(e,n),off:(e,n)=>t.off(e,n),emit:(e,...n)=>t.emit(e,...n),subscribe(n,o,r=!1){t[r?"once":"on"](`${e}.${n}`,o)},unsubscribe(n,o){t.off(`${e}.${n}`,o)},subscribeHandler(n,o,r){t.emit(`${e}.${n}`,o,r)}}}const INVOKE_VIEW_API="invokeViewApi",INVOKE_SERVICE_API="invokeServiceApi";let invokeServiceMethodId=1;const invokeServiceMethod=(e,t,n)=>{const{subscribe:o,publishHandler:r}=UniViewJSBridge$1,i=n?invokeServiceMethodId++:0;n&&o(INVOKE_SERVICE_API+"."+i,n,!0),r(INVOKE_SERVICE_API,{id:i,name:e,args:t})},viewMethods=Object.create(null);function normalizeViewMethodName(e,t){return e+"."+t}function subscribeViewMethod(e,t){UniViewJSBridge$1.subscribe(normalizeViewMethodName(e,INVOKE_VIEW_API),t?t(onInvokeViewMethod):onInvokeViewMethod)}function unsubscribeViewMethod(e){UniViewJSBridge$1.unsubscribe(normalizeViewMethodName(e,INVOKE_VIEW_API)),Object.keys(viewMethods).forEach((t=>{0===t.indexOf(e+".")&&delete viewMethods[t]}))}function registerViewMethod(e,t,n){t=normalizeViewMethodName(e,t),viewMethods[t]||(viewMethods[t]=n)}function unregisterViewMethod(e,t){t=normalizeViewMethodName(e,t),delete viewMethods[t]}function onInvokeViewMethod({id:e,name:t,args:n},o){t=normalizeViewMethodName(o,t);const r=t=>{e&&UniViewJSBridge$1.publishHandler(INVOKE_VIEW_API+"."+e,t)},i=viewMethods[t];i?i(n,r):r({})}const ViewJSBridge=extend$1(initBridge("service"),{invokeServiceMethod:invokeServiceMethod}),LONGPRESS_TIMEOUT=350,LONGPRESS_THRESHOLD=10,passiveOptions$2=passive(!0);let longPressTimer;function clearLongPressTimer(){longPressTimer&&(clearTimeout(longPressTimer),longPressTimer=null)}let startPageX=0,startPageY=0;function touchstart(e){if(clearLongPressTimer(),1!==e.touches.length)return;const{pageX:t,pageY:n}=e.touches[0];startPageX=t,startPageY=n,longPressTimer=setTimeout((function(){const t=new CustomEvent("longpress",{bubbles:!0,cancelable:!0,target:e.target,currentTarget:e.currentTarget});t.touches=e.touches,t.changedTouches=e.changedTouches,e.target.dispatchEvent(t)}),LONGPRESS_TIMEOUT)}function touchmove(e){if(!longPressTimer)return;if(1!==e.touches.length)return clearLongPressTimer();const{pageX:t,pageY:n}=e.touches[0];return Math.abs(t-startPageX)>LONGPRESS_THRESHOLD||Math.abs(n-startPageY)>LONGPRESS_THRESHOLD?clearLongPressTimer():void 0}function initLongPress(){window.addEventListener("touchstart",touchstart,passiveOptions$2),window.addEventListener("touchmove",touchmove,passiveOptions$2),window.addEventListener("touchend",clearLongPressTimer,passiveOptions$2),window.addEventListener("touchcancel",clearLongPressTimer,passiveOptions$2)}function checkValue$1(e,t){const n=Number(e);return isNaN(n)?t:n}function getWindowWidth$1(){const e=/^Apple/.test(navigator.vendor)&&"number"==typeof window.orientation,t=e&&90===Math.abs(window.orientation);var n=e?Math[t?"max":"min"](screen.width,screen.height):screen.width;return Math.min(window.innerWidth,document.documentElement.clientWidth,n)||n}function useRem(){const e=__uniConfig.globalStyle||{},t=checkValue$1(e.rpxCalcMaxDeviceWidth,960),n=checkValue$1(e.rpxCalcBaseDeviceWidth,375);function o(){let e=getWindowWidth$1();e=e<=t?e:n,document.documentElement.style.fontSize=e/23.4375+"px"}o(),document.addEventListener("DOMContentLoaded",o),window.addEventListener("load",o),window.addEventListener("resize",o)}function initView(){useRem(),initCustomDatasetOnce(),initLongPress()}var attrs=["top","left","right","bottom"],inited$1,elementComputedStyle={},support;function getSupport(){return support="CSS"in window&&"function"==typeof CSS.supports?CSS.supports("top: env(safe-area-inset-top)")?"env":CSS.supports("top: constant(safe-area-inset-top)")?"constant":"":""}function init(){if(support="string"==typeof support?support:getSupport()){var e=[],t=!1;try{var n=Object.defineProperty({},"passive",{get:function(){t={passive:!0}}});window.addEventListener("test",null,n)}catch(a){}var o=document.createElement("div");r(o,{position:"absolute",left:"0",top:"0",width:"0",height:"0",zIndex:"-1",overflow:"hidden",visibility:"hidden"}),attrs.forEach((function(e){!function(e,n){var o=document.createElement("div"),a=document.createElement("div"),s=document.createElement("div"),c=document.createElement("div"),l={position:"absolute",width:"100px",height:"200px",boxSizing:"border-box",overflow:"hidden",paddingBottom:support+"(safe-area-inset-"+n+")"};r(o,l),r(a,l),r(s,{transition:"0s",animation:"none",width:"400px",height:"400px"}),r(c,{transition:"0s",animation:"none",width:"250%",height:"250%"}),o.appendChild(s),a.appendChild(c),e.appendChild(o),e.appendChild(a),i((function(){o.scrollTop=a.scrollTop=1e4;var e=o.scrollTop,r=a.scrollTop;function i(){this.scrollTop!==(this===o?e:r)&&(o.scrollTop=a.scrollTop=1e4,e=o.scrollTop,r=a.scrollTop,attrChange(n))}o.addEventListener("scroll",i,t),a.addEventListener("scroll",i,t)}));var u=getComputedStyle(o);Object.defineProperty(elementComputedStyle,n,{configurable:!0,get:function(){return parseFloat(u.paddingBottom)}})}(o,e)})),document.body.appendChild(o),i(),inited$1=!0}else attrs.forEach((function(e){elementComputedStyle[e]=0}));function r(e,t){var n=e.style;Object.keys(t).forEach((function(e){var o=t[e];n[e]=o}))}function i(t){t?e.push(t):e.forEach((function(e){e()}))}}function getAttr(e){return inited$1||init(),elementComputedStyle[e]}var changeAttrs=[];function attrChange(e){changeAttrs.length||setTimeout((function(){var e={};changeAttrs.forEach((function(t){e[t]=elementComputedStyle[t]})),changeAttrs.length=0,callbacks.forEach((function(t){t(e)}))}),0),changeAttrs.push(e)}var callbacks=[];function onChange(e){getSupport()&&(inited$1||init(),"function"==typeof e&&callbacks.push(e))}function offChange(e){var t=callbacks.indexOf(e);t>=0&&callbacks.splice(t,1)}var safeAreaInsets={get support(){return 0!=("string"==typeof support?support:getSupport()).length},get top(){return getAttr("top")},get left(){return getAttr("left")},get right(){return getAttr("right")},get bottom(){return getAttr("bottom")},onChange:onChange,offChange:offChange},out=safeAreaInsets;const onEventPrevent=withModifiers((()=>{}),["prevent"]),onEventStop=withModifiers((()=>{}),["stop"]);function getWindowOffsetCssVar(e,t){return parseInt((e.getPropertyValue(t).match(/\d+/)||["0"])[0])}function getWindowTop(){const e=getWindowOffsetCssVar(document.documentElement.style,"--window-top");return e?e+out.top:0}function getWindowOffset(){const e=document.documentElement.style,t=getWindowTop(),n=getWindowOffsetCssVar(e,"--window-bottom"),o=getWindowOffsetCssVar(e,"--window-left"),r=getWindowOffsetCssVar(e,"--window-right"),i=getWindowOffsetCssVar(e,"--top-window-height");return{top:t,bottom:n?n+out.bottom:0,left:o?o+out.left:0,right:r?r+out.right:0,topWindowHeight:i||0}}function updateCssVar(e){const t=document.documentElement.style;Object.keys(e).forEach((n=>{t.setProperty(n,e[n])}))}function updatePageCssVar(e){return updateCssVar(e)}function PolySymbol(e){return Symbol(e)}function hasRpx(e){return-1!==(e+="").indexOf("rpx")||-1!==e.indexOf("upx")}function rpx2px$1(e,t=!1){if(t)return rpx2pxWithReplace(e);if(isString(e)){const t=parseInt(e)||0;return hasRpx(e)?upx2px(t):t}return e}function rpx2pxWithReplace(e){return hasRpx(e)?e.replace(/(\d+(\.\d+)?)[ru]px/g,((e,t)=>upx2px(parseFloat(t))+"px")):e}const ICON_PATH_SUCCESS_NO_CIRCLE="M1.952 18.080q-0.32-0.352-0.416-0.88t0.128-0.976l0.16-0.352q0.224-0.416 0.64-0.528t0.8 0.176l6.496 4.704q0.384 0.288 0.912 0.272t0.88-0.336l17.312-14.272q0.352-0.288 0.848-0.256t0.848 0.352l-0.416-0.416q0.32 0.352 0.32 0.816t-0.32 0.816l-18.656 18.912q-0.32 0.352-0.8 0.352t-0.8-0.32l-7.936-8.064z",ICON_PATH_WARN="M15.808 0.16q-4.224 0-7.872 2.176-3.552 2.112-5.632 5.728-2.144 3.744-2.144 8.128 0 4.192 2.144 7.872 2.112 3.52 5.632 5.632 3.68 2.144 7.872 2.144 4.384 0 8.128-2.144 3.616-2.080 5.728-5.632 2.176-3.648 2.176-7.872 0-4.384-2.176-8.128-2.112-3.616-5.728-5.728-3.744-2.176-8.128-2.176zM15.136 8.672h1.728q0.128 0 0.224 0.096t0.096 0.256l-0.384 10.24q0 0.064-0.048 0.112t-0.112 0.048h-1.248q-0.096 0-0.144-0.048t-0.048-0.112l-0.384-10.24q0-0.16 0.096-0.256t0.224-0.096zM16 23.328q-0.48 0-0.832-0.352t-0.352-0.848 0.352-0.848 0.832-0.352 0.832 0.352 0.352 0.848-0.352 0.848-0.832 0.352z",ICON_PATH_BACK="M21.781 7.844l-9.063 8.594 9.063 8.594q0.25 0.25 0.25 0.609t-0.25 0.578q-0.25 0.25-0.578 0.25t-0.578-0.25l-9.625-9.125q-0.156-0.125-0.203-0.297t-0.047-0.359q0-0.156 0.047-0.328t0.203-0.297l9.625-9.125q0.25-0.25 0.578-0.25t0.578 0.25q0.25 0.219 0.25 0.578t-0.25 0.578z";function createSvgIconVNode(e,t="#000",n=27){return createVNode("svg",{width:n,height:n,viewBox:"0 0 32 32"},[createVNode("path",{d:e,fill:t},null,8,["d","fill"])],8,["width","height"])}function useCurrentPageId(){{const{$pageInstance:e}=getCurrentInstance();return e&&e.proxy.$page.id}}function getPageIdByVm(e){const t=resolveComponentInstance(e);if(t.$page)return t.$page.id;if(t.$){const{$pageInstance:e}=t.$;return e&&e.proxy.$page.id}}function getCurrentPage(){const e=getCurrentPages$1(),t=e.length;if(t)return e[t-1]}function getCurrentPageMeta(){const e=getCurrentPage();if(e)return e.$page.meta}function getCurrentPageId(){const e=getCurrentPageMeta();return e?e.id:-1}function getCurrentPageVm(){const e=getCurrentPage();if(e)return e.$vm}const PAGE_META_KEYS=["navigationBar","pullToRefresh"];function initGlobalStyle(){return JSON.parse(JSON.stringify(__uniConfig.globalStyle||{}))}function initRouteMeta(e,t){const n=initGlobalStyle(),o=extend$1({id:t},n,e);PAGE_META_KEYS.forEach((t=>{o[t]=extend$1({},n[t],e[t])}));const{navigationBar:r}=o;return r.titleText&&r.titleImage&&(r.titleText=""),o}function initPageInternalInstance(e,t,n,o,r){const{id:i,route:a}=o;return{id:i,path:addLeadingSlash(a),route:a,fullPath:t,options:n,meta:o,openType:e,eventChannel:r,statusBarStyle:"#000000"===o.navigationBar.titleColor?"dark":"light"}}function invokeHook(e,t,n){if(isString(e))n=t,t=e,e=getCurrentPageVm();else if("number"==typeof e){const t=getCurrentPages$1().find((t=>t.$page.id===e));e=t?t.$vm:getCurrentPageVm()}if(!e)return;const o=e.$[t];return o&&invokeArrayFns(o,n)}function disableScrollListener(e){e.preventDefault()}let testReachBottomTimer,lastScrollHeight=0;function createScrollListener({onPageScroll:e,onReachBottom:t,onReachBottomDistance:n}){let o=!1,r=!1,i=!0;const a=()=>{function a(){if((()=>{const{scrollHeight:e}=document.documentElement,t=window.innerHeight,o=window.scrollY,i=o>0&&e>t&&o+t+n>=e,a=Math.abs(e-lastScrollHeight)>n;return!i||r&&!a?(!i&&r&&(r=!1),!1):(lastScrollHeight=e,r=!0,!0)})())return t&&t(),i=!1,setTimeout((function(){i=!0}),350),!0}e&&e(window.pageYOffset),t&&i&&(a()||(testReachBottomTimer=setTimeout(a,300))),o=!1};return function(){clearTimeout(testReachBottomTimer),o||requestAnimationFrame(a),o=!0}}function normalizeRoute(e){if(0===e.indexOf("/"))return e;let t="";const n=getCurrentPages$1();return n.length&&(t=n[n.length-1].$page.route),getRealRoute(t,e)}function getRealRoute(e,t){if(0===t.indexOf("/"))return t;if(0===t.indexOf("./"))return getRealRoute(e,t.slice(2));const n=t.split("/"),o=n.length;let r=0;for(;r0?e.split("/"):[];return i.splice(i.length-r-1,r+1),addLeadingSlash(i.concat(n).join("/"))}function getRouteOptions(e,t=!1){return t?__uniRoutes.find((t=>t.path===e||t.alias===e)):__uniRoutes.find((t=>t.path===e))}function normalizeTabBarRoute(e,t,n){const o=getRouteOptions(addLeadingSlash(t));if(o){const{meta:e}=o;delete e.tabBarIndex,e.isQuit=e.isTabBar=!1}const r=getRouteOptions(addLeadingSlash(n));if(r){const{meta:t}=r;t.tabBarIndex=e,t.isQuit=t.isTabBar=!0;const o=__uniConfig.tabBar;o&&o.list&&o.list[e]&&(o.list[e].pagePath=removeLeadingSlash(n))}}class ComponentDescriptor{constructor(e){this.$bindClass=!1,this.$bindStyle=!1,this.$vm=e,this.$el=resolveOwnerEl(e.$),this.$el.getAttribute&&(this.$bindClass=!!this.$el.getAttribute("class"),this.$bindStyle=!!this.$el.getAttribute("style"))}selectComponent(e){if(!this.$el||!e)return;const t=getWxsVm(this.$el.querySelector(e));return t?createComponentDescriptor(t,!1):void 0}selectAllComponents(e){if(!this.$el||!e)return[];const t=[],n=this.$el.querySelectorAll(e);for(let o=0;o-1&&t.splice(n,1)}const n=this.$el.__wxsRemoveClass||(this.$el.__wxsRemoveClass=[]);return-1===n.indexOf(e)&&(n.push(e),this.forceUpdate("class")),this}hasClass(e){return this.$el&&this.$el.classList.contains(e)}getDataset(){return this.$el&&this.$el.dataset}callMethod(e,t={}){const n=this.$vm[e];isFunction$1(n)?n(JSON.parse(JSON.stringify(t))):this.$vm.ownerId&&UniViewJSBridge$1.publishHandler(ON_WXS_INVOKE_CALL_METHOD,{nodeId:this.$el.__id,ownerId:this.$vm.ownerId,method:e,args:t})}requestAnimationFrame(e){return window.requestAnimationFrame(e)}getState(){return this.$el&&(this.$el.__wxsState||(this.$el.__wxsState={}))}triggerEvent(e,t={}){return this.$vm.$emit(e,t),this}getComputedStyle(e){if(this.$el){const t=window.getComputedStyle(this.$el);return e&&e.length?e.reduce(((e,n)=>(e[n]=t[n],e)),{}):t}return{}}setTimeout(e,t){return window.setTimeout(e,t)}clearTimeout(e){return window.clearTimeout(e)}getBoundingClientRect(){return this.$el.getBoundingClientRect()}}function createComponentDescriptor(e,t=!0){if(t&&e&&(e=resolveOwnerVm(e.$)),e&&e.$el)return e.$el.__wxsComponentDescriptor||(e.$el.__wxsComponentDescriptor=new ComponentDescriptor(e)),e.$el.__wxsComponentDescriptor}function getComponentDescriptor(e,t){return createComponentDescriptor(e,t)}function resolveOwnerComponentPublicInstance(e,t,n=!0){if(!t)return!1;if(n&&e.length<2)return!1;const o=resolveOwnerVm(t);if(!o)return!1;const r=o.$.type;return!(!r.$wxs&&!r.$renderjs)&&o}function wrapperH5WxsEvent(e,t,n,o=!0){if(t){e.__instance||(e.__instance=!0,Object.defineProperty(e,"instance",{get:()=>getComponentDescriptor(n.proxy,!1)}));const r=resolveOwnerComponentPublicInstance(t,n,o);if(r)return[e,getComponentDescriptor(r,!1)]}}function getWxsVm(e){if(e)return e.__vueParentComponent&&e.__vueParentComponent.proxy}const isClickEvent=e=>"click"===e.type,isMouseEvent=e=>0===e.type.indexOf("mouse")||["contextmenu"].includes(e.type);function $nne(e,t,n){const{currentTarget:o}=e;if(!(e instanceof Event&&o instanceof HTMLElement))return[e];const r=0!==o.tagName.indexOf("UNI-");if(r)return wrapperH5WxsEvent(e,t,n,!1)||[e];const i=createNativeEvent(e,r);if(isClickEvent(e))normalizeClickEvent(i,e);else if(isMouseEvent(e))normalizeMouseEvent(i,e);else if(e instanceof TouchEvent){const t=getWindowTop();i.touches=normalizeTouchEvent(e.touches,t),i.changedTouches=normalizeTouchEvent(e.changedTouches,t)}return wrapperH5WxsEvent(i,t,n)||[i]}function findUniTarget(e){for(;e&&0!==e.tagName.indexOf("UNI-");)e=e.parentElement;return e}function createNativeEvent(e,t=!1){const{type:n,timeStamp:o,target:r,currentTarget:i}=e,a={type:n,timeStamp:o,target:normalizeTarget(t?r:findUniTarget(r)),detail:{},currentTarget:normalizeTarget(i)};return e._stopped&&(a._stopped=!0),e.type.startsWith("touch")&&(a.touches=e.touches,a.changedTouches=e.changedTouches),wrapperEvent(a,e),a}function wrapperEvent(e,t){extend$1(e,{preventDefault:()=>t.preventDefault(),stopPropagation:()=>t.stopPropagation()})}function normalizeClickEvent(e,t){const{x:n,y:o}=t,r=getWindowTop();e.detail={x:n,y:o-r},e.touches=e.changedTouches=[createTouchEvent(t,r)]}function normalizeMouseEvent(e,t){const n=getWindowTop();e.pageX=t.pageX,e.pageY=t.pageY-n,e.clientX=t.clientX,e.clientY=t.clientY-n,e.touches=e.changedTouches=[createTouchEvent(t,n)]}function createTouchEvent(e,t){return{force:1,identifier:0,clientX:e.clientX,clientY:e.clientY-t,pageX:e.pageX,pageY:e.pageY-t}}function normalizeTouchEvent(e,t){const n=[];for(let o=0;oUniServiceJSBridge$1.emit("api."+e,t);let invokeViewMethodId=1;function publishViewMethodName(){return getCurrentPageId()+"."+INVOKE_VIEW_API}const invokeViewMethod=(e,t,n,o)=>{const{subscribe:r,publishHandler:i}=UniServiceJSBridge$1,a=o?invokeViewMethodId++:0;o&&r(INVOKE_VIEW_API+"."+a,o,!0),i(publishViewMethodName(),{id:a,name:e,args:t},n)},invokeViewMethodKeepAlive=(e,t,n,o)=>{const{subscribe:r,unsubscribe:i,publishHandler:a}=UniServiceJSBridge$1,s=invokeViewMethodId++,c=INVOKE_VIEW_API+"."+s;return r(c,n),a(publishViewMethodName(),{id:s,name:e,args:t},o),()=>{i(c)}},ServiceJSBridge=extend$1(initBridge("view"),{invokeOnCallback:invokeOnCallback,invokeViewMethod:invokeViewMethod,invokeViewMethodKeepAlive:invokeViewMethodKeepAlive});function initOn(){const{on:e}=UniServiceJSBridge$1;e(ON_RESIZE,onResize$1),e(ON_APP_ENTER_FOREGROUND,onAppEnterForeground),e(ON_APP_ENTER_BACKGROUND,onAppEnterBackground)}function onResize$1(e){invokeHook(getCurrentPage(),ON_RESIZE,e),UniServiceJSBridge$1.invokeOnCallback("onWindowResize",e)}function onAppEnterForeground(e){const t=getCurrentPage();invokeHook(getApp$1(),ON_SHOW,e),invokeHook(t,ON_SHOW)}function onAppEnterBackground(){invokeHook(getApp$1(),ON_HIDE),invokeHook(getCurrentPage(),ON_HIDE)}const SUBSCRIBE_LIFECYCLE_HOOKS=[ON_PAGE_SCROLL,ON_REACH_BOTTOM];function initSubscribe(){SUBSCRIBE_LIFECYCLE_HOOKS.forEach((e=>UniServiceJSBridge$1.subscribe(e,createPageEvent(e))))}function createPageEvent(e){return(t,n)=>{invokeHook(parseInt(n),e,t)}}function initService(){initOn(),initSubscribe()}function initAppVm(e){e.$vm=e,e.$mpType="app";const t=ref(useI18n().getLocale());Object.defineProperty(e,"$locale",{get:()=>t.value,set(e){t.value=e}})}function initPageVm(e,t){e.route=t.route,e.$vm=e,e.$page=t,e.$mpType="page",t.meta.isTabBar&&(e.$.__isTabBar=!0,e.$.__isActive=!0)}function getOpenerEventChannel(){if(this.$route){const e=this.$route.meta;return e.eventChannel||(e.eventChannel=new EventChannel(this.$page.id)),e.eventChannel}}function initAppConfig(e){e.globalProperties.getOpenerEventChannel=getOpenerEventChannel}function initServicePlugin(e){initAppConfig(e._context.config)}function createLaunchOptions(){return{path:"",query:{},scene:1001,referrerInfo:{appId:"",extraData:{}}}}function defineGlobalData(e,t){const n=e.$options||{};n.globalData=extend$1(n.globalData||{},t),Object.defineProperty(e,"globalData",{get:()=>n.globalData,set(e){n.globalData=e}})}function converPx(e){return/^-?\d+[ur]px$/i.test(e)?e.replace(/(^-?\d+)[ur]px$/i,((e,t)=>`${upx2px(parseFloat(t))}px`)):/^-?[\d\.]+$/.test(e)?`${e}px`:e||""}function converType(e){return e.replace(/[A-Z]/g,(e=>`-${e.toLowerCase()}`)).replace("webkit","-webkit")}function getStyle(e){const t=["matrix","matrix3d","scale","scale3d","rotate3d","skew","translate","translate3d"],n=["scaleX","scaleY","scaleZ","rotate","rotateX","rotateY","rotateZ","skewX","skewY","translateX","translateY","translateZ"],o=["opacity","background-color"],r=["width","height","left","right","top","bottom"],i=e.animates,a=e.option,s=a.transition,c={},l=[];return i.forEach((e=>{let i=e.type,a=[...e.args];if(t.concat(n).includes(i))i.startsWith("rotate")||i.startsWith("skew")?a=a.map((e=>parseFloat(e)+"deg")):i.startsWith("translate")&&(a=a.map(converPx)),n.indexOf(i)>=0&&(a.length=1),l.push(`${i}(${a.join(",")})`);else if(o.concat(r).includes(a[0])){i=a[0];const e=a[1];c[i]=r.includes(i)?converPx(e):e}})),c.transform=c.webkitTransform=l.join(" "),c.transition=c.webkitTransition=Object.keys(c).map((e=>`${converType(e)} ${s.duration}ms ${s.timingFunction} ${s.delay}ms`)).join(","),c.transformOrigin=c.webkitTransformOrigin=a.transformOrigin,c}function startAnimation(e){const t=e.animation;if(!t||!t.actions||!t.actions.length)return;let n=0;const o=t.actions,r=t.actions.length;function i(){const t=o[n],a=t.option.transition,s=getStyle(t);Object.keys(s).forEach((t=>{e.$el.style[t]=s[t]})),n+=1,n{i()}),0)}var animation={props:["animation"],watch:{animation:{deep:!0,handler(){startAnimation(this)}}},mounted(){startAnimation(this)}};const defineBuiltInComponent=e=>{e.__reserved=!0;const{props:t,mixins:n}=e;return t&&t.animation||(n||(e.mixins=[])).push(animation),defineSystemComponent(e)},defineSystemComponent=e=>(e.__reserved=!0,e.compatConfig={MODE:3},defineComponent(e)),hoverProps={hoverClass:{type:String,default:"none"},hoverStopPropagation:{type:Boolean,default:!1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:400}};function useHover(e){const t=ref(!1);let n,o,r=!1;function i(){requestAnimationFrame((()=>{clearTimeout(o),o=setTimeout((()=>{t.value=!1}),parseInt(e.hoverStayTime))}))}function a(o){o._hoverPropagationStopped||e.hoverClass&&"none"!==e.hoverClass&&!e.disabled&&(e.hoverStopPropagation&&(o._hoverPropagationStopped=!0),r=!0,n=setTimeout((()=>{t.value=!0,r||i()}),parseInt(e.hoverStartTime)))}function s(){r=!1,t.value&&i()}function c(){s(),window.removeEventListener("mouseup",c)}return{hovering:t,binding:{onTouchstartPassive:function(e){e.touches.length>1||a(e)},onMousedown:function(e){r||(a(e),window.addEventListener("mouseup",c))},onTouchend:function(){s()},onMouseup:function(){r&&c()},onTouchcancel:function(){r=!1,t.value=!1,clearTimeout(n)}}}}function useBooleanAttr(e,t){return isString(t)&&(t=[t]),t.reduce(((t,n)=>(e[n]&&(t[n]=!0),t)),Object.create(null))}function withWebEvent(e){return e.__wwe=!0,e}function useCustomEvent(e,t){return(n,o,r)=>{e.value&&t(n,normalizeCustomEvent(n,o,e.value,r||{}))}}function useNativeEvent(e){return(t,n)=>{e(t,createNativeEvent(n))}}function normalizeCustomEvent(e,t,n,o){const r=normalizeTarget(n);return{type:o.type||e,timeStamp:t.timeStamp||0,target:r,currentTarget:r,detail:o}}const uniFormKey=PolySymbol("uf"),uniLabelKey=PolySymbol("ul");function useListeners$1(e,t){_addListeners(e.id,t),watch((()=>e.id),((e,n)=>{_removeListeners(n,t,!0),_addListeners(e,t,!0)})),onUnmounted((()=>{_removeListeners(e.id,t)}))}function _addListeners(e,t,n){const o=useCurrentPageId();n&&!e||isPlainObject$2(t)&&Object.keys(t).forEach((r=>{n?0!==r.indexOf("@")&&0!==r.indexOf("uni-")&&UniViewJSBridge$1.on(`uni-${r}-${o}-${e}`,t[r]):0===r.indexOf("uni-")?UniViewJSBridge$1.on(r,t[r]):e&&UniViewJSBridge$1.on(`uni-${r}-${o}-${e}`,t[r])}))}function _removeListeners(e,t,n){const o=useCurrentPageId();n&&!e||isPlainObject$2(t)&&Object.keys(t).forEach((r=>{n?0!==r.indexOf("@")&&0!==r.indexOf("uni-")&&UniViewJSBridge$1.off(`uni-${r}-${o}-${e}`,t[r]):0===r.indexOf("uni-")?UniViewJSBridge$1.off(r,t[r]):e&&UniViewJSBridge$1.off(`uni-${r}-${o}-${e}`,t[r])}))}const buttonProps={id:{type:String,default:""},hoverClass:{type:String,default:"button-hover"},hoverStartTime:{type:[Number,String],default:20},hoverStayTime:{type:[Number,String],default:70},hoverStopPropagation:{type:Boolean,default:!1},disabled:{type:[Boolean,String],default:!1},formType:{type:String,default:""},openType:{type:String,default:""},loading:{type:[Boolean,String],default:!1},plain:{type:[Boolean,String],default:!1}};var index$z=defineBuiltInComponent({name:"Button",props:buttonProps,setup(e,{slots:t}){const n=ref(null),o=inject(uniFormKey,!1),{hovering:r,binding:i}=useHover(e);useI18n();const a=withWebEvent(((t,r)=>{if(e.disabled)return t.stopImmediatePropagation();r&&n.value.click();const i=e.formType;if(i){if(!o)return;"submit"===i?o.submit(t):"reset"===i&&o.reset(t)}else;})),s=inject(uniLabelKey,!1);return s&&(s.addHandler(a),onBeforeUnmount((()=>{s.removeHandler(a)}))),useListeners$1(e,{"label-click":a}),()=>{const o=e.hoverClass,s=useBooleanAttr(e,"disabled"),c=useBooleanAttr(e,"loading"),l=useBooleanAttr(e,"plain"),u=o&&"none"!==o;return createVNode("uni-button",mergeProps({ref:n,onClick:a,class:u&&r.value?o:""},u&&i,s,c,l),[t.default&&t.default()],16,["onClick"])}}});function findElem(e){return e.$el}function addBase(e){const{base:t}=__uniConfig.router;return 0===addLeadingSlash(e).indexOf(t)?addLeadingSlash(e):t+e}function getRealPath(e){const{base:t,assets:n}=__uniConfig.router;if("./"===t&&(0===e.indexOf("./static/")||n&&0===e.indexOf("./"+n+"/"))&&(e=e.slice(1)),0===e.indexOf("/")){if(0!==e.indexOf("//"))return addBase(e.slice(1));e="https:"+e}if(SCHEME_RE.test(e)||DATA_RE.test(e)||0===e.indexOf("blob:"))return e;const o=getCurrentPages$1();return o.length?addBase(getRealRoute(o[o.length-1].$page.route,e).slice(1)):e}const ua=navigator.userAgent,isAndroid=/android/i.test(ua),isIOS$1=/iphone|ipad|ipod/i.test(ua),isWindows=ua.match(/Windows NT ([\d|\d.\d]*)/i),isMac=/Macintosh|Mac/i.test(ua),isLinux=/Linux|X11/i.test(ua),isIPadOS=isMac&&navigator.maxTouchPoints>0;function getScreenFix(){return/^Apple/.test(navigator.vendor)&&"number"==typeof window.orientation}function isLandscape(e){return e&&90===Math.abs(window.orientation)}function getScreenWidth(e,t){return e?Math[t?"max":"min"](screen.width,screen.height):screen.width}function getScreenHeight(e,t){return e?Math[t?"min":"max"](screen.height,screen.width):screen.height}function getWindowWidth(e){return Math.min(window.innerWidth,document.documentElement.clientWidth,e)||e}function getBaseSystemInfo(){const e=getScreenFix(),t=getWindowWidth(getScreenWidth(e,isLandscape(e)));return{platform:isIOS$1?"ios":"other",pixelRatio:window.devicePixelRatio,windowWidth:t}}function operateVideoPlayer(e,t,n,o){UniServiceJSBridge$1.invokeViewMethod("video."+e,{videoId:e,type:n,data:o},t)}function operateMap(e,t,n,o,r){UniServiceJSBridge$1.invokeViewMethod("map."+e,{type:n,data:o},t,r)}function getRootInfo(e){const t={};if(e.id&&(t.id=""),e.dataset&&(t.dataset={}),e.rect&&(t.left=0,t.right=0,t.top=0,t.bottom=0),e.size&&(t.width=document.documentElement.clientWidth,t.height=document.documentElement.clientHeight),e.scrollOffset){const e=document.documentElement,n=document.body;t.scrollLeft=e.scrollLeft||n.scrollLeft||0,t.scrollTop=e.scrollTop||n.scrollTop||0,t.scrollHeight=e.scrollHeight||n.scrollHeight||0,t.scrollWidth=e.scrollWidth||n.scrollWidth||0}return t}function getNodeInfo(e,t){const n={},{top:o,topWindowHeight:r}=getWindowOffset();if(t.id&&(n.id=e.id),t.dataset&&(n.dataset=getCustomDataset(e)),t.rect||t.size){const i=e.getBoundingClientRect();t.rect&&(n.left=i.left,n.right=i.right,n.top=i.top-o-r,n.bottom=i.bottom-o-r),t.size&&(n.width=i.width,n.height=i.height)}if(isArray$4(t.properties)&&t.properties.forEach((e=>{e=e.replace(/-([a-z])/g,(function(e,t){return t.toUpperCase()}))})),t.scrollOffset)if("UNI-SCROLL-VIEW"===e.tagName){const t=e.children[0].children[0];n.scrollLeft=t.scrollLeft,n.scrollTop=t.scrollTop,n.scrollHeight=t.scrollHeight,n.scrollWidth=t.scrollWidth}else n.scrollLeft=0,n.scrollTop=0,n.scrollHeight=0,n.scrollWidth=0;if(isArray$4(t.computedStyle)){const o=getComputedStyle(e);t.computedStyle.forEach((e=>{n[e]=o[e]}))}return t.context&&(n.contextInfo=getContextInfo(e)),n}function findElm(e,t){return e?e.$el:t.$el}function matches(e,t){return(e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector||function(e){const t=this.parentElement.querySelectorAll(e);let n=t.length;for(;--n>=0&&t.item(n)!==this;);return n>-1}).call(e,t)}function getNodesInfo(e,t,n,o,r){const i=findElm(t,e),a=i.parentElement;if(!a)return o?null:[];const{nodeType:s}=i,c=3===s||8===s;if(o){const e=c?a.querySelector(n):matches(i,n)?i:i.querySelector(n);return e?getNodeInfo(e,r):null}{let e=[];const t=(c?a:i).querySelectorAll(n);return t&&t.length&&[].forEach.call(t,(t=>{e.push(getNodeInfo(t,r))})),!c&&matches(i,n)&&e.unshift(getNodeInfo(i,r)),e}}function requestComponentInfo(e,t,n){const o=[];t.forEach((({component:t,selector:n,single:r,fields:i})=>{null===t?o.push(getRootInfo(i)):o.push(getNodesInfo(e,t,n,r,i))})),n(o)}const CHOOSE_SIZE_TYPES=["original","compressed"],CHOOSE_SOURCE_TYPES=["album","camera"],HTTP_METHODS=["GET","OPTIONS","HEAD","POST","PUT","DELETE","TRACE","CONNECT","PATCH"];function elemInArray(e,t){return e&&-1!==t.indexOf(e)?e:t[0]}function elemsInArray(e,t){return!isArray$4(e)||0===e.length||e.find((e=>-1===t.indexOf(e)))?t:e}function tryCatch(e){return function(){try{return e.apply(e,arguments)}catch(t){console.error(t)}}}let invokeCallbackId=1;const invokeCallbacks={};function addInvokeCallback(e,t,n,o=!1){return invokeCallbacks[e]={name:t,keepAlive:o,callback:n},e}function invokeCallback(e,t,n){if("number"==typeof e){const o=invokeCallbacks[e];if(o)return o.keepAlive||delete invokeCallbacks[e],o.callback(t,n)}return t}const API_SUCCESS="success",API_FAIL="fail",API_COMPLETE="complete";function getApiCallbacks(e){const t={};for(const n in e){const o=e[n];isFunction$1(o)&&(t[n]=tryCatch(o),delete e[n])}return t}function normalizeErrMsg$1(e,t){return e&&-1!==e.indexOf(":fail")?t+e.substring(e.indexOf(":fail")):t+":ok"}function createAsyncApiCallback(e,t={},{beforeAll:n,beforeSuccess:o}={}){isPlainObject$2(t)||(t={});const{success:r,fail:i,complete:a}=getApiCallbacks(t),s=isFunction$1(r),c=isFunction$1(i),l=isFunction$1(a),u=invokeCallbackId++;return addInvokeCallback(u,e,(u=>{(u=u||{}).errMsg=normalizeErrMsg$1(u.errMsg,e),isFunction$1(n)&&n(u),u.errMsg===e+":ok"?(isFunction$1(o)&&o(u,t),s&&r(u)):c&&i(u),l&&a(u)})),u}const HOOK_SUCCESS="success",HOOK_FAIL="fail",HOOK_COMPLETE="complete",globalInterceptors={},scopedInterceptors={};function wrapperHook(e){return function(t){return e(t)||t}}function queue(e,t){let n=!1;for(let o=0;oe(t),catch(){}}}function wrapperOptions(e,t={}){return[HOOK_SUCCESS,HOOK_FAIL,HOOK_COMPLETE].forEach((n=>{const o=e[n];if(!isArray$4(o))return;const r=t[n];t[n]=function(e){queue(o,e).then((e=>isFunction$1(r)&&r(e)||e))}})),t}function wrapperReturnValue(e,t){const n=[];isArray$4(globalInterceptors.returnValue)&&n.push(...globalInterceptors.returnValue);const o=scopedInterceptors[e];return o&&isArray$4(o.returnValue)&&n.push(...o.returnValue),n.forEach((e=>{t=e(t)||t})),t}function getApiInterceptorHooks(e){const t=Object.create(null);Object.keys(globalInterceptors).forEach((e=>{"returnValue"!==e&&(t[e]=globalInterceptors[e].slice())}));const n=scopedInterceptors[e];return n&&Object.keys(n).forEach((e=>{"returnValue"!==e&&(t[e]=(t[e]||[]).concat(n[e]))})),t}function invokeApi(e,t,n,o){const r=getApiInterceptorHooks(e);if(r&&Object.keys(r).length){if(isArray$4(r.invoke)){return queue(r.invoke,n).then((e=>t(wrapperOptions(r,e),...o)))}return t(wrapperOptions(r,n),...o)}return t(n,...o)}function hasCallback(e){return!(!isPlainObject$2(e)||![API_SUCCESS,API_FAIL,API_COMPLETE].find((t=>isFunction$1(e[t]))))}function handlePromise(e){return e}function promisify(e,t){return(n={},...o)=>hasCallback(n)?wrapperReturnValue(e,invokeApi(e,t,n,o)):wrapperReturnValue(e,handlePromise(new Promise(((r,i)=>{invokeApi(e,t,extend$1(n,{success:r,fail:i}),o)}))))}function formatApiArgs(e,t){const n=e[0];if(!t||!isPlainObject$2(t.formatArgs)&&isPlainObject$2(n))return;const o=t.formatArgs,r=Object.keys(o);for(let i=0;i{const i=createAsyncApiCallback(e,r,o),a=beforeInvokeApi(e,[r],n,o);return a?invokeFail(i,e,a):t(r,{resolve:t=>invokeSuccess(i,e,t),reject:(t,n)=>invokeFail(i,e,normalizeErrMsg(t),n)})}}function wrapperSyncApi(e,t,n,o){return(...r)=>{const i=beforeInvokeApi(e,r,n,o);if(i)throw new Error(i);return t.apply(null,r)}}function wrapperAsyncApi(e,t,n,o){return wrapperTaskApi(e,t,n,o)}function defineTaskApi(e,t,n,o){return promisify(e,wrapperTaskApi(e,t,void 0,o))}function defineSyncApi(e,t,n,o){return wrapperSyncApi(e,t,void 0,o)}function defineAsyncApi(e,t,n,o){return promisify(e,wrapperAsyncApi(e,t,void 0,o))}function createUnsupportedMsg(e){return`method 'uni.${e}' not supported`}function createUnsupportedAsyncApi(e){return(t,{reject:n})=>n(createUnsupportedMsg(e))}const API_UPX2PX="upx2px",EPS=1e-4,BASE_DEVICE_WIDTH=750;let isIOS=!1,deviceWidth=0,deviceDPR=0,maxWidth=960,baseWidth=375;function checkDeviceWidth(){const{platform:e,pixelRatio:t,windowWidth:n}=getBaseSystemInfo();deviceWidth=n,deviceDPR=t,isIOS="ios"===e}function checkValue(e,t){const n=Number(e);return isNaN(n)?t:n}function checkMaxWidth(){const e=__uniConfig.globalStyle||{};maxWidth=checkValue(e.rpxCalcMaxDeviceWidth,960),baseWidth=checkValue(e.rpxCalcBaseDeviceWidth,375)}const upx2px=defineSyncApi(API_UPX2PX,((e,t)=>{if(0===deviceWidth&&(checkDeviceWidth(),checkMaxWidth()),0===(e=Number(e)))return 0;let n=t||deviceWidth;n=n<=maxWidth?n:baseWidth;let o=e/BASE_DEVICE_WIDTH*n;return o<0&&(o=-o),o=Math.floor(o+EPS),0===o&&(o=1!==deviceDPR&&isIOS?.5:1),e<0?-o:o})),API_ADD_INTERCEPTOR="addInterceptor";function mergeInterceptorHook(e,t){Object.keys(t).forEach((n=>{isFunction$1(t[n])&&(e[n]=mergeHook(e[n],t[n]))}))}function mergeHook(e,t){const n=t?e?e.concat(t):isArray$4(t)?t:[t]:e;return n?dedupeHooks(n):n}function dedupeHooks(e){const t=[];for(let n=0;n{isString(e)&&isPlainObject$2(t)?mergeInterceptorHook(scopedInterceptors[e]||(scopedInterceptors[e]={}),t):isPlainObject$2(e)&&mergeInterceptorHook(globalInterceptors,e)})),API_ON="$on",API_OFF="$off",API_EMIT="$emit",emitter=new E$1,$on=defineSyncApi(API_ON,((e,t)=>(emitter.on(e,t),()=>emitter.off(e,t)))),$off=defineSyncApi(API_OFF,((e,t)=>{e?(isArray$4(e)||(e=[e]),e.forEach((e=>emitter.off(e,t)))):emitter.e={}})),$emit=defineSyncApi(API_EMIT,((e,...t)=>{emitter.emit(e,...t)})),validator=[{name:"id",type:String,required:!0}],API_CREATE_CANVAS_CONTEXT="createCanvasContext";validator.concat({name:"componentInstance",type:Object});const RATES=[.5,.8,1,1.25,1.5,2];class VideoContext{constructor(e,t){this.id=e,this.pageId=t}play(){operateVideoPlayer(this.id,this.pageId,"play")}pause(){operateVideoPlayer(this.id,this.pageId,"pause")}stop(){operateVideoPlayer(this.id,this.pageId,"stop")}seek(e){operateVideoPlayer(this.id,this.pageId,"seek",{position:e})}sendDanmu(e){operateVideoPlayer(this.id,this.pageId,"sendDanmu",e)}playbackRate(e){~RATES.indexOf(e)||(e=1),operateVideoPlayer(this.id,this.pageId,"playbackRate",{rate:e})}requestFullScreen(e={}){operateVideoPlayer(this.id,this.pageId,"requestFullScreen",e)}exitFullScreen(){operateVideoPlayer(this.id,this.pageId,"exitFullScreen")}showStatusBar(){operateVideoPlayer(this.id,this.pageId,"showStatusBar")}hideStatusBar(){operateVideoPlayer(this.id,this.pageId,"hideStatusBar")}}const operateMapCallback=(e,t)=>{const n=t.errMsg||"";new RegExp("\\:\\s*fail").test(n)?e.fail&&e.fail(t):e.success&&e.success(t),e.complete&&e.complete(t)},operateMapWrap=(e,t,n,o)=>{operateMap(e,t,n,o,(e=>{o&&operateMapCallback(o,e)}))};class MapContext{constructor(e,t){this.id=e,this.pageId=t}getCenterLocation(e){operateMapWrap(this.id,this.pageId,"getCenterLocation",e)}moveToLocation(e){operateMapWrap(this.id,this.pageId,"moveToLocation",e)}getScale(e){operateMapWrap(this.id,this.pageId,"getScale",e)}getRegion(e){operateMapWrap(this.id,this.pageId,"getRegion",e)}includePoints(e){operateMapWrap(this.id,this.pageId,"includePoints",e)}translateMarker(e){operateMapWrap(this.id,this.pageId,"translateMarker",e)}$getAppMap(){}addCustomLayer(e){operateMapWrap(this.id,this.pageId,"addCustomLayer",e)}removeCustomLayer(e){operateMapWrap(this.id,this.pageId,"removeCustomLayer",e)}addGroundOverlay(e){operateMapWrap(this.id,this.pageId,"addGroundOverlay",e)}removeGroundOverlay(e){operateMapWrap(this.id,this.pageId,"removeGroundOverlay",e)}updateGroundOverlay(e){operateMapWrap(this.id,this.pageId,"updateGroundOverlay",e)}initMarkerCluster(e){operateMapWrap(this.id,this.pageId,"initMarkerCluster",e)}addMarkers(e){operateMapWrap(this.id,this.pageId,"addMarkers",e)}removeMarkers(e){operateMapWrap(this.id,this.pageId,"removeMarkers",e)}moveAlong(e){operateMapWrap(this.id,this.pageId,"moveAlong",e)}openMapApp(e){operateMapWrap(this.id,this.pageId,"openMapApp",e)}on(e){operateMapWrap(this.id,this.pageId,"on",e)}}function getInt(e,t){return function(n,o){n?o[e]=Math.round(n):void 0!==t&&(o[e]=t)}}const formatWidth=getInt("width"),formatHeight=getInt("height"),API_CANVAS_GET_IMAGE_DATA="canvasGetImageData",CanvasGetImageDataOptions={formatArgs:{x:getInt("x"),y:getInt("y"),width:formatWidth,height:formatHeight}},CanvasGetImageDataProtocol={canvasId:{type:String,required:!0},x:{type:Number,required:!0},y:{type:Number,required:!0},width:{type:Number,required:!0},height:{type:Number,required:!0}},fileTypes={PNG:"png",JPG:"jpg",JPEG:"jpg"},API_CANVAS_TO_TEMP_FILE_PATH="canvasToTempFilePath",CanvasToTempFilePathOptions={formatArgs:{x:getInt("x",0),y:getInt("y",0),width:formatWidth,height:formatHeight,destWidth:getInt("destWidth"),destHeight:getInt("destHeight"),fileType(e,t){e=(e||"").toUpperCase();let n=fileTypes[e];n||(n=fileTypes.PNG),t.fileType=n},quality(e,t){t.quality=e&&e>0&&e<1?e:1}}},CanvasToTempFilePathProtocol={x:Number,y:Number,width:Number,height:Number,destWidth:Number,destHeight:Number,canvasId:{type:String,required:!0},fileType:String,quality:Number};function operateCanvas(e,t,n,o,r){UniServiceJSBridge$1.invokeViewMethod(`canvas.${e}`,{type:n,data:o},t,(e=>{r&&r(e)}))}var methods1=["scale","rotate","translate","setTransform","transform"],methods2=["drawImage","fillText","fill","stroke","fillRect","strokeRect","clearRect","strokeText"],methods3=["setFillStyle","setTextAlign","setStrokeStyle","setGlobalAlpha","setShadow","setFontSize","setLineCap","setLineJoin","setLineWidth","setMiterLimit","setTextBaseline","setLineDash"];function measureText(e,t){const n=document.createElement("canvas").getContext("2d");return n.font=t,n.measureText(e).width||0}const predefinedColor={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",darkgrey:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",grey:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgrey:"#d3d3d3",lightgreen:"#90ee90",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",transparent:"#00000000"};function checkColor(e){var t=null;if(null!=(t=/^#([0-9|A-F|a-f]{6})$/.exec(e=e||"#000000"))){return[parseInt(t[1].slice(0,2),16),parseInt(t[1].slice(2,4),16),parseInt(t[1].slice(4),16),255]}if(null!=(t=/^#([0-9|A-F|a-f]{3})$/.exec(e))){let e=t[1].slice(0,1),n=t[1].slice(1,2),o=t[1].slice(2,3);return e=parseInt(e+e,16),n=parseInt(n+n,16),o=parseInt(o+o,16),[e,n,o,255]}if(null!=(t=/^rgb\((.+)\)$/.exec(e)))return t[1].split(",").map((function(e){return Math.min(255,parseInt(e.trim()))})).concat(255);if(null!=(t=/^rgba\((.+)\)$/.exec(e)))return t[1].split(",").map((function(e,t){return 3===t?Math.floor(255*parseFloat(e.trim())):Math.min(255,parseInt(e.trim()))}));var n=e.toLowerCase();if(hasOwn$1(predefinedColor,n)){t=/^#([0-9|A-F|a-f]{6,8})$/.exec(predefinedColor[n]);const e=parseInt(t[1].slice(0,2),16),o=parseInt(t[1].slice(2,4),16),r=parseInt(t[1].slice(4,6),16);let i=parseInt(t[1].slice(6,8),16);return i=i>=0?i:255,[e,o,r,i]}return console.error("unsupported color:"+e),[0,0,0,255]}class CanvasGradient{constructor(e,t){this.type=e,this.data=t,this.colorStop=[]}addColorStop(e,t){this.colorStop.push([e,checkColor(t)])}}class Pattern{constructor(e,t){this.type="pattern",this.data=e,this.colorStop=t}}class TextMetrics{constructor(e){this.width=e}}class CanvasContext{constructor(e,t){this.id=e,this.pageId=t,this.actions=[],this.path=[],this.subpath=[],this.drawingState=[],this.state={lineDash:[0,0],shadowOffsetX:0,shadowOffsetY:0,shadowBlur:0,shadowColor:[0,0,0,0],font:"10px sans-serif",fontSize:10,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif"}}draw(e=!1,t){var n=[...this.actions];this.actions=[],this.path=[],operateCanvas(this.id,this.pageId,"actionsChanged",{actions:n,reserve:e},t)}createLinearGradient(e,t,n,o){return new CanvasGradient("linear",[e,t,n,o])}createCircularGradient(e,t,n){return new CanvasGradient("radial",[e,t,n])}createPattern(e,t){if(void 0===t)console.error("Failed to execute 'createPattern' on 'CanvasContext': 2 arguments required, but only 1 present.");else{if(!(["repeat","repeat-x","repeat-y","no-repeat"].indexOf(t)<0))return new Pattern(e,t);console.error("Failed to execute 'createPattern' on 'CanvasContext': The provided type ('"+t+"') is not one of 'repeat', 'no-repeat', 'repeat-x', or 'repeat-y'.")}}measureText(e){let t=0;return t=measureText(e,this.state.font),new TextMetrics(t)}save(){this.actions.push({method:"save",data:[]}),this.drawingState.push(this.state)}restore(){this.actions.push({method:"restore",data:[]}),this.state=this.drawingState.pop()||{lineDash:[0,0],shadowOffsetX:0,shadowOffsetY:0,shadowBlur:0,shadowColor:[0,0,0,0],font:"10px sans-serif",fontSize:10,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif"}}beginPath(){this.path=[],this.subpath=[],this.path.push({method:"beginPath",data:[]})}moveTo(e,t){this.path.push({method:"moveTo",data:[e,t]}),this.subpath=[[e,t]]}lineTo(e,t){0===this.path.length&&0===this.subpath.length?this.path.push({method:"moveTo",data:[e,t]}):this.path.push({method:"lineTo",data:[e,t]}),this.subpath.push([e,t])}quadraticCurveTo(e,t,n,o){this.path.push({method:"quadraticCurveTo",data:[e,t,n,o]}),this.subpath.push([n,o])}bezierCurveTo(e,t,n,o,r,i){this.path.push({method:"bezierCurveTo",data:[e,t,n,o,r,i]}),this.subpath.push([r,i])}arc(e,t,n,o,r,i=!1){this.path.push({method:"arc",data:[e,t,n,o,r,i]}),this.subpath.push([e,t])}rect(e,t,n,o){this.path.push({method:"rect",data:[e,t,n,o]}),this.subpath=[[e,t]]}arcTo(e,t,n,o,r){this.path.push({method:"arcTo",data:[e,t,n,o,r]}),this.subpath.push([n,o])}clip(){this.actions.push({method:"clip",data:[...this.path]})}closePath(){this.path.push({method:"closePath",data:[]}),this.subpath.length&&(this.subpath=[this.subpath.shift()])}clearActions(){this.actions=[],this.path=[],this.subpath=[]}getActions(){var e=[...this.actions];return this.clearActions(),e}set lineDashOffset(e){this.actions.push({method:"setLineDashOffset",data:[e]})}set globalCompositeOperation(e){this.actions.push({method:"setGlobalCompositeOperation",data:[e]})}set shadowBlur(e){this.actions.push({method:"setShadowBlur",data:[e]})}set shadowColor(e){this.actions.push({method:"setShadowColor",data:[e]})}set shadowOffsetX(e){this.actions.push({method:"setShadowOffsetX",data:[e]})}set shadowOffsetY(e){this.actions.push({method:"setShadowOffsetY",data:[e]})}set font(e){var t=this;this.state.font=e;var n=e.match(/^(([\w\-]+\s)*)(\d+r?px)(\/(\d+\.?\d*(r?px)?))?\s+(.*)/);if(n){var o=n[1].trim().split(/\s/),r=parseFloat(n[3]),i=n[7],a=[];o.forEach((function(e,n){["italic","oblique","normal"].indexOf(e)>-1?(a.push({method:"setFontStyle",data:[e]}),t.state.fontStyle=e):["bold","normal"].indexOf(e)>-1?(a.push({method:"setFontWeight",data:[e]}),t.state.fontWeight=e):0===n?(a.push({method:"setFontStyle",data:["normal"]}),t.state.fontStyle="normal"):1===n&&s()})),1===o.length&&s(),o=a.map((function(e){return e.data[0]})).join(" "),this.state.fontSize=r,this.state.fontFamily=i,this.actions.push({method:"setFont",data:[`${o} ${r}px ${i}`]})}else console.warn("Failed to set 'font' on 'CanvasContext': invalid format.");function s(){a.push({method:"setFontWeight",data:["normal"]}),t.state.fontWeight="normal"}}get font(){return this.state.font}set fillStyle(e){this.setFillStyle(e)}set strokeStyle(e){this.setStrokeStyle(e)}set globalAlpha(e){e=Math.floor(255*parseFloat(e)),this.actions.push({method:"setGlobalAlpha",data:[e]})}set textAlign(e){this.actions.push({method:"setTextAlign",data:[e]})}set lineCap(e){this.actions.push({method:"setLineCap",data:[e]})}set lineJoin(e){this.actions.push({method:"setLineJoin",data:[e]})}set lineWidth(e){this.actions.push({method:"setLineWidth",data:[e]})}set miterLimit(e){this.actions.push({method:"setMiterLimit",data:[e]})}set textBaseline(e){this.actions.push({method:"setTextBaseline",data:[e]})}}const initCanvasContextProperty=once((()=>{[...methods1,...methods2].forEach((function(e){CanvasContext.prototype[e]=function(e){switch(e){case"fill":case"stroke":return function(){this.actions.push({method:e+"Path",data:[...this.path]})};case"fillRect":return function(e,t,n,o){this.actions.push({method:"fillPath",data:[{method:"rect",data:[e,t,n,o]}]})};case"strokeRect":return function(e,t,n,o){this.actions.push({method:"strokePath",data:[{method:"rect",data:[e,t,n,o]}]})};case"fillText":case"strokeText":return function(t,n,o,r){var i=[t.toString(),n,o];"number"==typeof r&&i.push(r),this.actions.push({method:e,data:i})};case"drawImage":return function(t,n,o,r,i,a,s,c,l){var u;function d(e){return"number"==typeof e}void 0===l&&(a=n,s=o,c=r,l=i,n=void 0,o=void 0,r=void 0,i=void 0),u=d(n)&&d(o)&&d(r)&&d(i)?[t,a,s,c,l,n,o,r,i]:d(c)&&d(l)?[t,a,s,c,l]:[t,a,s],this.actions.push({method:e,data:u})};default:return function(...t){this.actions.push({method:e,data:t})}}}(e)})),methods3.forEach((function(e){CanvasContext.prototype[e]=function(e){switch(e){case"setFillStyle":case"setStrokeStyle":return function(t){"object"!=typeof t?this.actions.push({method:e,data:["normal",checkColor(t)]}):this.actions.push({method:e,data:[t.type,t.data,t.colorStop]})};case"setGlobalAlpha":return function(t){t=Math.floor(255*parseFloat(t)),this.actions.push({method:e,data:[t]})};case"setShadow":return function(t,n,o,r){r=checkColor(r),this.actions.push({method:e,data:[t,n,o,r]}),this.state.shadowBlur=o,this.state.shadowColor=r,this.state.shadowOffsetX=t,this.state.shadowOffsetY=n};case"setLineDash":return function(t,n){t=t||[0,0],n=n||0,this.actions.push({method:e,data:[t,n]}),this.state.lineDash=t};case"setFontSize":return function(t){this.state.font=this.state.font.replace(/\d+\.?\d*px/,t+"px"),this.state.fontSize=t,this.actions.push({method:e,data:[t]})};default:return function(...t){this.actions.push({method:e,data:t})}}}(e)}))})),createCanvasContext=defineSyncApi(API_CREATE_CANVAS_CONTEXT,((e,t)=>{if(initCanvasContextProperty(),t)return new CanvasContext(e,getPageIdByVm(t));const n=getPageIdByVm(getCurrentPageVm());if(n)return new CanvasContext(e,n);UniServiceJSBridge$1.emit(ON_ERROR,"createCanvasContext:fail")})),canvasGetImageData=defineAsyncApi(API_CANVAS_GET_IMAGE_DATA,(({canvasId:e,x:t,y:n,width:o,height:r},{resolve:i,reject:a})=>{const s=getPageIdByVm(getCurrentPageVm());s?operateCanvas(e,s,"getImageData",{x:t,y:n,width:o,height:r},(function(e){if(e.errMsg&&-1!==e.errMsg.indexOf("fail"))return void a("",e);let t=e.data;t&&t.length&&(e.data=new Uint8ClampedArray(t)),delete e.compressed,i(e)})):a()}),CanvasGetImageDataProtocol,CanvasGetImageDataOptions),canvasToTempFilePath=defineAsyncApi(API_CANVAS_TO_TEMP_FILE_PATH,(({x:e=0,y:t=0,width:n,height:o,destWidth:r,destHeight:i,canvasId:a,fileType:s,quality:c},{resolve:l,reject:u})=>{var d=getPageIdByVm(getCurrentPageVm());if(!d)return void u();operateCanvas(a,d,"toTempFilePath",{x:e,y:t,width:n,height:o,destWidth:r,destHeight:i,fileType:s,quality:c,dirname:`${TEMP_PATH}/canvas`},(e=>{e.errMsg&&-1!==e.errMsg.indexOf("fail")?u("",e):l(e)}))}),CanvasToTempFilePathProtocol,CanvasToTempFilePathOptions),defaultOptions$1={thresholds:[0],initialRatio:0,observeAll:!1},MARGINS=["top","right","bottom","left"];let reqComponentObserverId$1=1;function normalizeRootMargin(e={}){return MARGINS.map((t=>`${Number(e[t])||0}px`)).join(" ")}class ServiceIntersectionObserver{constructor(e,t){this._pageId=getPageIdByVm(e),this._component=e,this._options=extend$1({},defaultOptions$1,t)}relativeTo(e,t){return this._options.relativeToSelector=e,this._options.rootMargin=normalizeRootMargin(t),this}relativeToViewport(e){return this._options.relativeToSelector=void 0,this._options.rootMargin=normalizeRootMargin(e),this}observe(e,t){isFunction$1(t)&&(this._options.selector=e,this._reqId=reqComponentObserverId$1++,addIntersectionObserver({reqId:this._reqId,component:this._component,options:this._options,callback:t},this._pageId))}disconnect(){this._reqId&&removeIntersectionObserver({reqId:this._reqId,component:this._component},this._pageId)}}const createIntersectionObserver=defineSyncApi("createIntersectionObserver",((e,t)=>((e=resolveComponentInstance(e))&&!getPageIdByVm(e)&&(t=e,e=null),new ServiceIntersectionObserver(e||getCurrentPageVm(),t))));let index$y=0,optionsCache={};function operateEditor(e,t,n,o){const r={options:o},i=o&&("success"in o||"fail"in o||"complete"in o);if(i){const e=String(index$y++);r.callbackId=e,optionsCache[e]=o}UniServiceJSBridge$1.invokeViewMethod(`editor.${e}`,{type:n,data:r},t,(({callbackId:e,data:t})=>{i&&(callOptions(optionsCache[e],t),delete optionsCache[e])}))}class EditorContext{constructor(e,t){this.id=e,this.pageId=t}format(e,t){this._exec("format",{name:e,value:t})}insertDivider(){this._exec("insertDivider")}insertImage(e){this._exec("insertImage",e)}insertText(e){this._exec("insertText",e)}setContents(e){this._exec("setContents",e)}getContents(e){this._exec("getContents",e)}clear(e){this._exec("clear",e)}removeFormat(e){this._exec("removeFormat",e)}undo(e){this._exec("undo",e)}redo(e){this._exec("redo",e)}blur(e){this._exec("blur",e)}getSelectionText(e){this._exec("getSelectionText",e)}scrollIntoView(e){this._exec("scrollIntoView",e)}_exec(e,t){operateEditor(this.id,this.pageId,e,t)}}const ContextClasss={canvas:CanvasContext,map:MapContext,video:VideoContext,editor:EditorContext};function convertContext(e){if(e&&e.contextInfo){const{id:t,type:n,page:o}=e.contextInfo,r=ContextClasss[n];e.context=new r(t,o),delete e.contextInfo}}class NodesRef{constructor(e,t,n,o){this._selectorQuery=e,this._component=t,this._selector=n,this._single=o}boundingClientRect(e){return this._selectorQuery._push(this._selector,this._component,this._single,{id:!0,dataset:!0,rect:!0,size:!0},e),this._selectorQuery}fields(e,t){return this._selectorQuery._push(this._selector,this._component,this._single,e,t),this._selectorQuery}scrollOffset(e){return this._selectorQuery._push(this._selector,this._component,this._single,{id:!0,dataset:!0,scrollOffset:!0},e),this._selectorQuery}context(e){return this._selectorQuery._push(this._selector,this._component,this._single,{context:!0},e),this._selectorQuery}node(e){return this._selectorQuery}}class SelectorQuery{constructor(e){this._component=void 0,this._page=e,this._queue=[],this._queueCb=[]}exec(e){return requestComponentInfo(this._page,this._queue,(t=>{const n=this._queueCb;t.forEach(((e,t)=>{isArray$4(e)?e.forEach(convertContext):convertContext(e);const o=n[t];isFunction$1(o)&&o.call(this,e)})),isFunction$1(e)&&e.call(this,t)})),this._nodesRef}in(e){return this._component=resolveComponentInstance(e),this}select(e){return this._nodesRef=new NodesRef(this,this._component,e,!0)}selectAll(e){return this._nodesRef=new NodesRef(this,this._component,e,!1)}selectViewport(){return this._nodesRef=new NodesRef(this,null,"",!0)}_push(e,t,n,o,r){this._queue.push({component:t,selector:e,single:n,fields:o}),this._queueCb.push(r)}}const createSelectorQuery=defineSyncApi("createSelectorQuery",(e=>((e=resolveComponentInstance(e))&&!getPageIdByVm(e)&&(e=null),new SelectorQuery(e||getCurrentPageVm())))),API_GET_LOCALE="getLocale",getLocale=defineSyncApi(API_GET_LOCALE,(()=>{const e=getApp$1();return e&&e.$vm?e.$vm.$locale:useI18n().getLocale()})),appHooks={[ON_UNHANDLE_REJECTION]:[],[ON_PAGE_NOT_FOUND]:[],[ON_ERROR]:[],[ON_SHOW]:[],[ON_HIDE]:[]};function injectAppHooks(e){Object.keys(appHooks).forEach((t=>{appHooks[t].forEach((n=>{injectHook(t,n,e)}))}))}const API_VIBRATE_SHORT="vibrateShort",API_GET_STORAGE_SYNC="getStorageSync",API_SET_STORAGE="setStorage",API_SET_STORAGE_SYNC="setStorageSync",API_REMOVE_STORAGE="removeStorage",API_HIDE_KEYBOARD="hideKeyboard",API_CHOOSE_IMAGE="chooseImage",ChooseImageOptions={formatArgs:{count(e,t){(!e||e<=0)&&(t.count=9)},sizeType(e,t){t.sizeType=elemsInArray(e,CHOOSE_SIZE_TYPES)},sourceType(e,t){t.sourceType=elemsInArray(e,CHOOSE_SOURCE_TYPES)},extension(e,t){if(e instanceof Array&&0===e.length)return"param extension should not be empty.";e||(t.extension=["*"])}}},ChooseImageProtocol={count:Number,sizeType:[Array,String],sourceType:Array,extension:Array},API_GET_IMAGE_INFO="getImageInfo",GetImageInfoOptions={formatArgs:{src(e,t){t.src=getRealPath(e)}}},GetImageInfoProtocol={src:{type:String,required:!0}},API_PREVIEW_IMAGE="previewImage",PreviewImageOptions={formatArgs:{urls(e,t){t.urls=e.map((e=>isString(e)&&e?getRealPath(e):""))},current(e,t){"number"==typeof e?t.current=e>0&&ee)),a={};i.forEach((e=>{const t=e.split("=");a[t[0]]=t[1]}));for(const s in t)if(hasOwn$1(t,s)){let e=t[s];null==e?e="":isPlainObject$2(e)&&(e=JSON.stringify(e)),a[encode(s)]=encode(e)}return r=Object.keys(a).map((e=>`${e}=${a[e]}`)).join("&"),e+(r?"?"+r:"")+(o?"#"+o:"")}const RequestProtocol={method:String,data:[Object,String,Array,ArrayBuffer],url:{type:String,required:!0},header:Object,dataType:String,responseType:String,withCredentials:Boolean},RequestOptions={formatArgs:{method(e,t){t.method=elemInArray((e||"").toUpperCase(),HTTP_METHODS)},data(e,t){t.data=e||""},url(e,t){t.method===HTTP_METHODS[0]&&isPlainObject$2(t.data)&&Object.keys(t.data).length&&(t.url=stringifyQuery(e,t.data))},header(e,t){const n=t.header=e||{};t.method!==HTTP_METHODS[0]&&(Object.keys(n).find((e=>"content-type"===e.toLowerCase()))||(n["Content-Type"]="application/json"))},dataType(e,t){t.dataType=(e||dataType.JSON).toLowerCase()},responseType(e,t){t.responseType=(e||"").toLowerCase(),-1===RESPONSE_TYPE.indexOf(t.responseType)&&(t.responseType=DEFAULT_RESPONSE_TYPE)}}},API_DOWNLOAD_FILE="downloadFile",DownloadFileOptions={formatArgs:{header(e,t){t.header=e||{}}}},DownloadFileProtocol={url:{type:String,required:!0},header:Object,timeout:Number},API_UPLOAD_FILE="uploadFile",UploadFileOptions={formatArgs:{filePath(e,t){e&&(t.filePath=getRealPath(e))},header(e,t){t.header=e||{}},formData(e,t){t.formData=e||{}}}},UploadFileProtocol={url:{type:String,required:!0},files:Array,filePath:String,name:String,header:Object,formData:Object,timeout:Number};function encodeQueryString(e){if(!isString(e))return e;const t=e.indexOf("?");if(-1===t)return e;const n=e.slice(t+1).trim().replace(/^(\?|#|&)/,"");if(!n)return e;e=e.slice(0,t);const o=[];return n.split("&").forEach((e=>{const t=e.replace(/\+/g," ").split("="),n=t.shift(),r=t.length>0?t.join("="):"";o.push(n+"="+encodeURIComponent(r))})),o.length?e+"?"+o.join("&"):e}const ANIMATION_IN$1=["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"],ANIMATION_OUT$1=["slide-out-right","slide-out-left","slide-out-top","slide-out-bottom","fade-out","zoom-in","zoom-fade-in","pop-out","none"],BaseRouteProtocol={url:{type:String,required:!0}},API_NAVIGATE_TO="navigateTo",API_REDIRECT_TO="redirectTo",API_RE_LAUNCH="reLaunch",API_SWITCH_TAB="switchTab",API_NAVIGATE_BACK="navigateBack",API_PRELOAD_PAGE="preloadPage",API_UN_PRELOAD_PAGE="unPreloadPage",NavigateToProtocol=extend$1({},BaseRouteProtocol,createAnimationProtocol(ANIMATION_IN$1)),NavigateBackProtocol=extend$1({delta:{type:Number}},createAnimationProtocol(ANIMATION_OUT$1)),RedirectToProtocol=BaseRouteProtocol,ReLaunchProtocol=BaseRouteProtocol,SwitchTabProtocol=BaseRouteProtocol,NavigateToOptions=createRouteOptions(API_NAVIGATE_TO),RedirectToOptions=createRouteOptions(API_REDIRECT_TO),ReLaunchOptions=createRouteOptions(API_RE_LAUNCH),SwitchTabOptions=createRouteOptions(API_SWITCH_TAB),NavigateBackOptions={formatArgs:{delta(e,t){e=parseInt(e+"")||1,t.delta=Math.min(getCurrentPages$1().length-1,e)}}};function createAnimationProtocol(e){return{animationType:{type:String,validator(t){if(t&&-1===e.indexOf(t))return"`"+t+"` is not supported for `animationType` (supported values are: `"+e.join("`|`")+"`)"}},animationDuration:{type:Number}}}let navigatorLock;function beforeRoute(){navigatorLock=""}function createRouteOptions(e){return{formatArgs:{url:createNormalizeUrl(e)},beforeAll:beforeRoute}}function createNormalizeUrl(e){return function(t,n){if(!t)return'Missing required args: "url"';const o=(t=normalizeRoute(t)).split("?")[0],r=getRouteOptions(o,!0);if(!r)return"page `"+t+"` is not found";if(e===API_NAVIGATE_TO||e===API_REDIRECT_TO){if(r.meta.isTabBar)return`can not ${e} a tabbar page`}else if(e===API_SWITCH_TAB&&!r.meta.isTabBar)return"can not switch to no-tabBar page";if(e!==API_SWITCH_TAB&&e!==API_PRELOAD_PAGE||!r.meta.isTabBar||"appLaunch"===n.openType||(t=o),r.meta.isEntry&&(t=t.replace(r.alias,"/")),n.url=encodeQueryString(t),e!==API_UN_PRELOAD_PAGE)if(e!==API_PRELOAD_PAGE){if(navigatorLock===t&&"appLaunch"!==n.openType)return`${navigatorLock} locked`;__uniConfig.ready&&(navigatorLock=t)}else if(r.meta.isTabBar){const e=getCurrentPages$1(),t=r.path.slice(1);if(e.find((e=>e.route===t)))return"tabBar page `"+t+"` already exists"}}}const API_HIDE_LOADING="hideLoading",FRONT_COLORS=["#ffffff","#000000"],API_SET_NAVIGATION_BAR_COLOR="setNavigationBarColor",SetNavigationBarColorOptions={formatArgs:{animation(e,t){e||(e={duration:0,timingFunc:"linear"}),t.animation={duration:e.duration||0,timingFunc:e.timingFunc||"linear"}}}},SetNavigationBarColorProtocol={frontColor:{type:String,required:!0,validator(e){if(-1===FRONT_COLORS.indexOf(e))return`invalid frontColor "${e}"`}},backgroundColor:{type:String,required:!0},animation:Object},API_SET_NAVIGATION_BAR_TITLE="setNavigationBarTitle",API_SHOW_NAVIGATION_BAR_LOADING="showNavigationBarLoading",API_HIDE_NAVIGATION_BAR_LOADING="hideNavigationBarLoading",API_PAGE_SCROLL_TO="pageScrollTo",PageScrollToProtocol={scrollTop:Number,selector:String,duration:Number},PageScrollToOptions={formatArgs:{duration:300}},API_SHOW_LOADING="showLoading",ShowLoadingProtocol={title:String,mask:Boolean},ShowLoadingOptions={formatArgs:{title:"",mask:!1}},API_SHOW_MODAL="showModal",ShowModalProtocol={title:String,content:String,showCancel:Boolean,cancelText:String,cancelColor:String,confirmText:String,confirmColor:String},ShowModalOptions={beforeInvoke(){initI18nShowModalMsgsOnce()},formatArgs:{title:"",content:"",showCancel:!0,cancelText(e,t){if(!hasOwn$1(t,"cancelText")){const{t:e}=useI18n();t.cancelText=e("uni.showModal.cancel")}},cancelColor:"#000",confirmText(e,t){if(!hasOwn$1(t,"confirmText")){const{t:e}=useI18n();t.confirmText=e("uni.showModal.confirm")}},confirmColor:PRIMARY_COLOR}},API_SHOW_TOAST="showToast",SHOW_TOAST_ICON=["success","loading","none","error"],ShowToastProtocol={title:String,icon:String,image:String,duration:Number,mask:Boolean},ShowToastOptions={formatArgs:{title:"",icon(e,t){t.icon=elemInArray(e,SHOW_TOAST_ICON)},image(e,t){t.image=e?getRealPath(e):""},duration:1500,mask:!1}},API_STOP_PULL_DOWN_REFRESH="stopPullDownRefresh",IndexOptions={beforeInvoke(){const e=getCurrentPageMeta();if(e&&!e.isTabBar)return"not TabBar page"},formatArgs:{index(e){if(!__uniConfig.tabBar.list[e])return"tabbar item not found"}}},API_SET_TAB_BAR_ITEM="setTabBarItem";IndexOptions.beforeInvoke,IndexOptions.formatArgs;const API_SET_TAB_BAR_STYLE="setTabBarStyle",GRADIENT_RE=/^(linear|radial)-gradient\(.+?\);?$/;IndexOptions.beforeInvoke;const API_HIDE_TAB_BAR="hideTabBar",API_SHOW_TAB_BAR="showTabBar",API_HIDE_TAB_BAR_RED_DOT="hideTabBarRedDot",API_SHOW_TAB_BAR_RED_DOT="showTabBarRedDot",API_REMOVE_TAB_BAR_BADGE="removeTabBarBadge",API_SET_TAB_BAR_BADGE="setTabBarBadge";IndexOptions.beforeInvoke,IndexOptions.formatArgs;const initIntersectionObserverPolyfill=function(){if("object"==typeof window)if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});else{var e=function(e){for(var t=window.document,n=r(t);n;)n=r(t=n.ownerDocument);return t}(),t=[],n=null,o=null;a.prototype.THROTTLE_TIMEOUT=100,a.prototype.POLL_INTERVAL=null,a.prototype.USE_MUTATION_OBSERVER=!0,a._setupCrossOriginUpdater=function(){return n||(n=function(e,n){o=e&&n?d(e,n):{top:0,bottom:0,left:0,right:0,width:0,height:0},t.forEach((function(e){e._checkForIntersections()}))}),n},a._resetCrossOriginUpdater=function(){n=null,o=null},a.prototype.observe=function(e){if(!this._observationTargets.some((function(t){return t.element==e}))){if(!e||1!=e.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:e,entry:null}),this._monitorIntersections(e.ownerDocument),this._checkForIntersections()}},a.prototype.unobserve=function(e){this._observationTargets=this._observationTargets.filter((function(t){return t.element!=e})),this._unmonitorIntersections(e.ownerDocument),0==this._observationTargets.length&&this._unregisterInstance()},a.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},a.prototype.takeRecords=function(){var e=this._queuedEntries.slice();return this._queuedEntries=[],e},a.prototype._initThresholds=function(e){var t=e||[0];return Array.isArray(t)||(t=[t]),t.sort().filter((function(e,t,n){if("number"!=typeof e||isNaN(e)||e<0||e>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return e!==n[t-1]}))},a.prototype._parseRootMargin=function(e){var t=(e||"0px").split(/\s+/).map((function(e){var t=/^(-?\d*\.?\d+)(px|%)$/.exec(e);if(!t)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(t[1]),unit:t[2]}}));return t[1]=t[1]||t[0],t[2]=t[2]||t[0],t[3]=t[3]||t[1],t},a.prototype._monitorIntersections=function(t){var n=t.defaultView;if(n&&-1==this._monitoringDocuments.indexOf(t)){var o=this._checkForIntersections,i=null,a=null;this.POLL_INTERVAL?i=n.setInterval(o,this.POLL_INTERVAL):(s(n,"resize",o,!0),s(t,"scroll",o,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in n&&(a=new n.MutationObserver(o)).observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0})),this._monitoringDocuments.push(t),this._monitoringUnsubscribes.push((function(){var e=t.defaultView;e&&(i&&e.clearInterval(i),c(e,"resize",o,!0)),c(t,"scroll",o,!0),a&&a.disconnect()}));var l=this.root&&(this.root.ownerDocument||this.root)||e;if(t!=l){var u=r(t);u&&this._monitorIntersections(u.ownerDocument)}}},a.prototype._unmonitorIntersections=function(t){var n=this._monitoringDocuments.indexOf(t);if(-1!=n){var o=this.root&&(this.root.ownerDocument||this.root)||e;if(!this._observationTargets.some((function(e){var n=e.element.ownerDocument;if(n==t)return!0;for(;n&&n!=o;){var i=r(n);if((n=i&&i.ownerDocument)==t)return!0}return!1}))){var i=this._monitoringUnsubscribes[n];if(this._monitoringDocuments.splice(n,1),this._monitoringUnsubscribes.splice(n,1),i(),t!=o){var a=r(t);a&&this._unmonitorIntersections(a.ownerDocument)}}}},a.prototype._unmonitorAllIntersections=function(){var e=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var t=0;t=0&&m>=0&&{top:c,bottom:u,left:f,right:h,width:g,height:m}||null),!v)break;_=_&&p(_)}return v}},a.prototype._getRootRect=function(){var t;if(this.root&&!h(this.root))t=l(this.root);else{var n=h(this.root)?this.root:e,o=n.documentElement,r=n.body;t={top:0,left:0,right:o.clientWidth||r.clientWidth,width:o.clientWidth||r.clientWidth,bottom:o.clientHeight||r.clientHeight,height:o.clientHeight||r.clientHeight}}return this._expandRectByRootMargin(t)},a.prototype._expandRectByRootMargin=function(e){var t=this._rootMarginValues.map((function(t,n){return"px"==t.unit?t.value:t.value*(n%2?e.width:e.height)/100})),n={top:e.top-t[0],right:e.right+t[1],bottom:e.bottom+t[2],left:e.left-t[3]};return n.width=n.right-n.left,n.height=n.bottom-n.top,n},a.prototype._hasCrossedThreshold=function(e,t){var n=e&&e.isIntersecting?e.intersectionRatio||0:-1,o=t.isIntersecting?t.intersectionRatio||0:-1;if(n!==o)for(var r=0;r{e.forEach((e=>{n({intersectionRatio:rectifyIntersectionRatio(e),intersectionRect:normalizeRect(e.intersectionRect),boundingClientRect:normalizeRect(e.boundingClientRect),relativeRect:normalizeRect(e.rootBounds),time:Date.now(),dataset:getCustomDataset(e.target),id:e.target.id})}))}),{root:o,rootMargin:t.rootMargin,threshold:t.thresholds});if(t.observeAll){r.USE_MUTATION_OBSERVER=!0;const n=e.querySelectorAll(t.selector);for(let e=0;e{const o=new XMLHttpRequest;o.open("GET",e,!0),o.responseType="blob",o.onload=function(){t(this.response)},o.onerror=n,o.send()}))}function base64ToFile(e){const t=e.split(","),n=t[0].match(/:(.*?);/),o=n?n[1]:"",r=atob(t[1]);let i=r.length;const a=new Uint8Array(i);for(;i--;)a[i]=r.charCodeAt(i);return blobToFile(a,o)}function getExtname(e){const t=e.split("/")[1];return t?`.${t}`:""}function getFileName(e){const t=(e=e.split("#")[0].split("?")[0]).split("/");return t[t.length-1]}function blobToFile(e,t){let n;if(e instanceof File)n=e;else{t=t||e.type||"";const r=`${Date.now()}${getExtname(t)}`;try{n=new File([e],r,{type:t})}catch(o){n=e=e instanceof Blob?e:new Blob([e],{type:t}),n.name=n.name||r}}return n}function fileToUrl(e){for(const n in files)if(hasOwn$1(files,n)){if(files[n]===e)return n}var t=(window.URL||window.webkitURL).createObjectURL(e);return files[t]=e,t}function getSameOriginUrl(e){const t=document.createElement("a");return t.href=e,t.origin===location.origin?Promise.resolve(e):urlToFile(e).then(fileToUrl)}const launchOptions=createLaunchOptions(),enterOptions=createLaunchOptions();function getEnterOptions(){return extend$1({},enterOptions)}function initLaunchOptions({path:e,query:t}){return extend$1(launchOptions,{path:e,query:t}),extend$1(enterOptions,launchOptions),extend$1({},launchOptions)}var ResizeSensor=defineBuiltInComponent({name:"ResizeSensor",props:{initial:{type:Boolean,default:!1}},emits:["resize"],setup(e,{emit:t}){const n=ref(null),o=useResizeSensorReset(n),r=useResizeSensorUpdate(n,t,o);return useResizeSensorLifecycle(n,e,r,o),()=>createVNode("uni-resize-sensor",{ref:n,onAnimationstartOnce:r},[createVNode("div",{onScroll:r},[createVNode("div",null,null)],40,["onScroll"]),createVNode("div",{onScroll:r},[createVNode("div",null,null)],40,["onScroll"])],40,["onAnimationstartOnce"])}});function useResizeSensorUpdate(e,t,n){const o=reactive({width:-1,height:-1});return watch((()=>extend$1({},o)),(e=>t("resize",e))),()=>{const t=e.value;o.width=t.offsetWidth,o.height=t.offsetHeight,n()}}function useResizeSensorReset(e){return()=>{const{firstElementChild:t,lastElementChild:n}=e.value;t.scrollLeft=1e5,t.scrollTop=1e5,n.scrollLeft=1e5,n.scrollTop=1e5}}function useResizeSensorLifecycle(e,t,n,o){onActivated(o),onMounted((()=>{t.initial&&nextTick(n);const r=e.value;r.offsetParent!==r.parentElement&&(r.parentElement.style.position="relative"),"AnimationEvent"in window||o()}))}const pixelRatio=function(){if(navigator.userAgent.includes("jsdom"))return 1;const e=document.createElement("canvas");e.height=e.width=0;const t=e.getContext("2d"),n=t.backingStorePixelRatio||t.webkitBackingStorePixelRatio||t.mozBackingStorePixelRatio||t.msBackingStorePixelRatio||t.oBackingStorePixelRatio||t.backingStorePixelRatio||1;return(window.devicePixelRatio||1)/n}();function wrapper(e,t=!0){e.width=e.offsetWidth*(t?pixelRatio:1),e.height=e.offsetHeight*(t?pixelRatio:1),e.getContext("2d").__hidpi__=t}let isHidpi=!1;function initHidpi(){if(isHidpi)return;isHidpi=!0;const e={fillRect:"all",clearRect:"all",strokeRect:"all",moveTo:"all",lineTo:"all",arc:[0,1,2],arcTo:"all",bezierCurveTo:"all",isPointinPath:"all",isPointinStroke:"all",quadraticCurveTo:"all",rect:"all",translate:"all",createRadialGradient:"all",createLinearGradient:"all",transform:[4,5],setTransform:[4,5]},t=CanvasRenderingContext2D.prototype;var n;t.drawImageByCanvas=(n=t.drawImage,function(e,t,o,r,i,a,s,c,l,u){if(!this.__hidpi__)return n.apply(this,arguments);t*=pixelRatio,o*=pixelRatio,r*=pixelRatio,i*=pixelRatio,a*=pixelRatio,s*=pixelRatio,c=u?c*pixelRatio:c,l=u?l*pixelRatio:l,n.call(this,e,t,o,r,i,a,s,c,l)}),1!==pixelRatio&&(!function(e,t){for(const n in e)hasOwn$1(e,n)&&t(e[n],n)}(e,(function(e,n){t[n]=function(t){return function(){if(!this.__hidpi__)return t.apply(this,arguments);let n=Array.prototype.slice.call(arguments);if("all"===e)n=n.map((function(e){return e*pixelRatio}));else if(Array.isArray(e))for(let t=0;tinitHidpi()));function $getRealPath(e){return e?getRealPath(e):e}function resolveColor(e){return(e=e.slice(0))[3]=e[3]/255,"rgba("+e.join(",")+")"}function processTouches(e,t){Array.from(t).forEach((t=>{t.x=t.clientX-e.left,t.y=t.clientY-e.top}))}let tempCanvas;function getTempCanvas(e=0,t=0){return tempCanvas||(tempCanvas=document.createElement("canvas")),tempCanvas.width=e,tempCanvas.height=t,tempCanvas}const props$x={canvasId:{type:String,default:""},disableScroll:{type:[Boolean,String],default:!1},hidpi:{type:Boolean,default:!0}};var index$x=defineBuiltInComponent({inheritAttrs:!1,name:"Canvas",compatConfig:{MODE:3},props:props$x,computed:{id(){return this.canvasId}},setup(e,{emit:t,slots:n}){initHidpiOnce();const o=ref(null),r=ref(null),i=ref(!1),a=useNativeEvent(t),{$attrs:s,$excludeAttrs:c,$listeners:l}=useAttrs({excludeListeners:!0}),{_listeners:u}=useListeners(e,l,a),{_handleSubscribe:d,_resize:f}=useMethods(e,o,i);return useSubscribe(d,useContextInfo(e.canvasId),!0),onMounted((()=>{f()})),()=>{const{canvasId:t,disableScroll:i}=e;return createVNode("uni-canvas",mergeProps({"canvas-id":t,"disable-scroll":i},s.value,c.value,u.value),[createVNode("canvas",{ref:o,class:"uni-canvas-canvas",width:"300",height:"150"},null,512),createVNode("div",{style:"position: absolute;top: 0;left: 0;width: 100%;height: 100%;overflow: hidden;"},[n.default&&n.default()]),createVNode(ResizeSensor,{ref:r,onResize:f},null,8,["onResize"])],16,["canvas-id","disable-scroll"])}}});function useListeners(e,t,n){return{_listeners:computed$1((()=>{let o=t.value,r=extend$1({},(()=>{let e={};for(const t in o)if(hasOwn$1(o,t)){const n=o[t];e[t]=n}return e})());return["onTouchstart","onTouchmove","onTouchend"].forEach((t=>{let o=[];r[t]&&o.push(withWebEvent((e=>{const o=e.currentTarget.getBoundingClientRect();processTouches(o,e.touches),processTouches(o,e.changedTouches),n(t.replace("on","").toLocaleLowerCase(),e)}))),e.disableScroll&&"onTouchmove"===t&&o.push(onEventPrevent),r[t]=o})),r}))}}function useMethods(e,t,n){let o=[],r={};const i=computed$1((()=>e.hidpi?pixelRatio:1));function a({actions:e,reserve:i},a){if(!e)return;if(n.value)return void o.push([e,i]);let c=t.value,l=c.getContext("2d");i||(l.fillStyle="#000000",l.strokeStyle="#000000",l.shadowColor="#000000",l.shadowBlur=0,l.shadowOffsetX=0,l.shadowOffsetY=0,l.setTransform(1,0,0,1,0,0),l.clearRect(0,0,c.width,c.height)),function(e){e.forEach((function(e){let t=e.method,n=e.data,o="";function i(){const e=r[o]=new Image;e.onload=function(){e.ready=!0},getSameOriginUrl(o).then((t=>{e.src=t})).catch((()=>{e.src=o}))}"drawImage"===t?(o=n[0],o=$getRealPath(o),n[0]=o):"setFillStyle"===t&&"pattern"===n[0]&&(o=n[1],o=$getRealPath(o),n[1]=o),o&&!r[o]&&i()}))}(e);for(let t=0;t{let n="toTempFilePath:"+(e?"fail":"ok");e&&(n+=` ${e.message}`),u({errMsg:n,tempFilePath:t})})):u({errMsg:d.errMsg.replace("canvasPutImageData","toTempFilePath")})}};return extend$1(l,{_resize:function(n){let o=t.value;if(!n||o.width!==Math.floor(n.width*i.value)||o.height!==Math.floor(n.height*i.value))if(o.width>0&&o.height>0){let t=o.getContext("2d"),n=t.getImageData(0,0,o.width,o.height);wrapper(o,e.hidpi),t.putImageData(n,0,0)}else wrapper(o,e.hidpi)},_handleSubscribe:function(e,t,n){let o=l[e];0!==e.indexOf("_")&&isFunction$1(o)&&o(t,n)}})}let resetTimer;function iosHideKeyboard(){}const props$u={cursorSpacing:{type:[Number,String],default:0},showConfirmBar:{type:[Boolean,String],default:"auto"},adjustPosition:{type:[Boolean,String],default:!0},autoBlur:{type:[Boolean,String],default:!1}},emit$1=["keyboardheightchange"];function useKeyboard$1(e,t,n){function o(e){const t=computed$1((()=>0===String(navigator.vendor).indexOf("Apple")));e.addEventListener("focus",(()=>{clearTimeout(resetTimer),document.addEventListener("click",iosHideKeyboard,!1)}));e.addEventListener("blur",(()=>{t.value&&e.blur(),document.removeEventListener("click",iosHideKeyboard,!1),t.value&&document.documentElement.scrollTo(document.documentElement.scrollLeft,document.documentElement.scrollTop)}))}watch((()=>t.value),(e=>o(e)))}const props$s={src:{type:String,default:""},mode:{type:String,default:"scaleToFill"},lazyLoad:{type:[Boolean,String],default:!1},draggable:{type:Boolean,default:!1}},FIX_MODES={widthFix:["offsetWidth","height",(e,t)=>e/t],heightFix:["offsetHeight","width",(e,t)=>e*t]},IMAGE_MODES={aspectFit:["center center","contain"],aspectFill:["center center","cover"],widthFix:[,"100% 100%"],heightFix:[,"100% 100%"],top:["center top"],bottom:["center bottom"],center:["center center"],left:["left center"],right:["right center"],"top left":["left top"],"top right":["right top"],"bottom left":["left bottom"],"bottom right":["right bottom"]};var index$s=defineBuiltInComponent({name:"Image",props:props$s,setup(e,{emit:t}){const n=ref(null),o=useImageState(n,e),r=useCustomEvent(n,t),{fixSize:i}=useImageSize(n,e,o);return useImageLoader(o,e,n,i,r),()=>createVNode("uni-image",{ref:n},[createVNode("div",{style:o.modeStyle},null,4),FIX_MODES[e.mode]?createVNode(ResizeSensor,{onResize:i},null,8,["onResize"]):createVNode("span",null,null)],512)}});function useImageState(e,t){const n=ref(""),o=computed$1((()=>{let e="auto",o="";const r=IMAGE_MODES[t.mode];return r?(r[0]&&(o=r[0]),r[1]&&(e=r[1])):(o="0% 0%",e="100% 100%"),`background-image:${n.value?'url("'+n.value+'")':"none"};background-position:${o};background-size:${e};`})),r=reactive({rootEl:e,src:computed$1((()=>t.src?getRealPath(t.src):"")),origWidth:0,origHeight:0,origStyle:{width:"",height:""},modeStyle:o,imgSrc:n});return onMounted((()=>{const t=e.value.style;r.origWidth=Number(t.width)||0,r.origHeight=Number(t.height)||0})),r}function useImageLoader(e,t,n,o,r){let i,a;const s=(t=0,n=0,o="")=>{e.origWidth=t,e.origHeight=n,e.imgSrc=o},c=c=>{if(!c)return l(),void s();i=i||new Image,i.onload=e=>{const{width:u,height:d}=i;s(u,d,c),o(),i.draggable=t.draggable,a&&a.remove(),a=i,n.value.appendChild(i),l(),r("load",e,{width:u,height:d})},i.onerror=t=>{s(),l(),r("error",t,{errMsg:`GET ${e.src} 404 (Not Found)`})},i.src=c},l=()=>{i&&(i.onload=null,i.onerror=null,i=null)};watch((()=>e.src),(e=>c(e))),watch((()=>e.imgSrc),(e=>{!e&&a&&(a.remove(),a=null)})),onMounted((()=>c(e.src))),onBeforeUnmount((()=>l()))}const isChrome="Google Inc."===navigator.vendor;function fixNumber(e){return isChrome&&e>10&&(e=2*Math.round(e/2)),e}function useImageSize(e,t,n){const o=()=>{const{mode:o}=t,r=FIX_MODES[o];if(!r)return;const{origWidth:i,origHeight:a}=n,s=i&&a?i/a:0;if(!s)return;const c=e.value,l=c[r[0]];l&&(c.style[r[1]]=fixNumber(r[2](l,s))+"px")},r=()=>{const{style:t}=e.value,{origStyle:{width:o,height:r}}=n;t.width=o,t.height=r};return watch((()=>t.mode),((e,t)=>{FIX_MODES[t]&&r(),FIX_MODES[e]&&o()})),{fixSize:o,resetSize:r}}function throttle$1(e,t){let n,o,r=0;const i=function(...i){const a=Date.now();clearTimeout(n),o=()=>{o=null,r=a,e.apply(this,i)},a-rstates.forEach((t=>t.userAction=e));function addInteractListener(e={userAction:!1}){if(!inited){["touchstart","touchmove","touchend","mousedown","mouseup"].forEach((e=>{document.addEventListener(e,(function(){!userInteract&&setUserAction(!0),userInteract++,setTimeout((()=>{!--userInteract&&setUserAction(!1)}),0)}),passiveOptions$1)})),inited=!0}states.push(e)}function removeInteractListener(e){const t=states.indexOf(e);t>=0&&states.splice(t,1)}const getInteractStatus=()=>!!userInteract;function useUserAction(){const e=reactive({userAction:!1});return onMounted((()=>{addInteractListener(e)})),onBeforeUnmount((()=>{removeInteractListener(e)})),{state:e}}function useScopedAttrs(){const e=reactive({attrs:{}});return onMounted((()=>{let t=getCurrentInstance();for(;t;){const n=t.type.__scopeId;n&&(e.attrs[n]=""),t=t.proxy&&"page"===t.proxy.$mpType?null:t.parent}})),{state:e}}function useFormField(e,t){const n=inject(uniFormKey,!1);if(!n)return;const o=getCurrentInstance(),r={submit(){const n=o.proxy;return[n[e],isString(t)?n[t]:t.value]},reset(){isString(t)?o.proxy[t]="":t.value=""}};n.addField(r),onBeforeUnmount((()=>{n.removeField(r)}))}function getSelectedTextRange(e,t){const n=document.activeElement;if(!n)return t({});const o={};["input","textarea"].includes(n.tagName.toLowerCase())&&(o.start=n.selectionStart,o.end=n.selectionEnd),t(o)}const UniViewJSBridgeSubscribe=function(){registerViewMethod(getCurrentPageId(),"getSelectedTextRange",getSelectedTextRange)};function getValueString(e,t){return"number"===t&&isNaN(Number(e))&&(e=""),null===e?"":String(e)}const props$r=extend$1({},{name:{type:String,default:""},modelValue:{type:[String,Number],default:""},value:{type:[String,Number],default:""},disabled:{type:[Boolean,String],default:!1},autoFocus:{type:[Boolean,String],default:!1},focus:{type:[Boolean,String],default:!1},cursor:{type:[Number,String],default:-1},selectionStart:{type:[Number,String],default:-1},selectionEnd:{type:[Number,String],default:-1},type:{type:String,default:"text"},password:{type:[Boolean,String],default:!1},placeholder:{type:String,default:""},placeholderStyle:{type:String,default:""},placeholderClass:{type:String,default:""},maxlength:{type:[Number,String],default:140},confirmType:{type:String,default:"done"},confirmHold:{type:Boolean,default:!1},ignoreCompositionEvent:{type:Boolean,default:!0},step:{type:String,default:"0.000000000000000001"}},props$u),emit=["input","focus","blur","update:value","update:modelValue","update:focus","compositionstart","compositionupdate","compositionend",...emit$1];function useBase(e,t,n){const o=ref(null),r=useCustomEvent(t,n),i=computed$1((()=>{const t=Number(e.selectionStart);return isNaN(t)?-1:t})),a=computed$1((()=>{const t=Number(e.selectionEnd);return isNaN(t)?-1:t})),s=computed$1((()=>{const t=Number(e.cursor);return isNaN(t)?-1:t})),c=computed$1((()=>{var t=Number(e.maxlength);return isNaN(t)?140:t})),l=getValueString(e.modelValue,e.type)||getValueString(e.value,e.type),u=reactive({value:l,valueOrigin:l,maxlength:c,focus:e.focus,composing:!1,selectionStart:i,selectionEnd:a,cursor:s});return watch((()=>u.focus),(e=>n("update:focus",e))),watch((()=>u.maxlength),(e=>u.value=u.value.slice(0,e))),{fieldRef:o,state:u,trigger:r}}function useValueSync(e,t,n,o){const r=debounce$1((n=>{t.value=getValueString(n,e.type)}),100,{setTimeout:setTimeout,clearTimeout:clearTimeout});watch((()=>e.modelValue),r),watch((()=>e.value),r);const i=throttle$1(((e,t)=>{r.cancel(),n("update:modelValue",t.value),n("update:value",t.value),o("input",e,t)}),100);return onBeforeMount((()=>{r.cancel(),i.cancel()})),{trigger:o,triggerInput:(e,t,n)=>{r.cancel(),i(e,t),n&&i.flush()}}}function useAutoFocus(e,t){useUserAction();const n=computed$1((()=>e.autoFocus||e.focus));function o(){if(!n.value)return;const e=t.value;e?e.focus():setTimeout(o,100)}watch((()=>e.focus),(e=>{e?o():function(){const e=t.value;e&&e.blur()}()})),onMounted((()=>{n.value&&nextTick(o)}))}function useEvent(e,t,n,o,r,i){function a(){const n=e.value;n&&t.focus&&t.selectionStart>-1&&t.selectionEnd>-1&&"number"!==n.type&&(n.selectionStart=t.selectionStart,n.selectionEnd=t.selectionEnd)}function s(){const n=e.value;n&&t.focus&&t.selectionStart<0&&t.selectionEnd<0&&t.cursor>-1&&"number"!==n.type&&(n.selectionEnd=n.selectionStart=t.cursor)}function c(e){return"number"===e.type?null:e.selectionEnd}watch([()=>t.selectionStart,()=>t.selectionEnd],a),watch((()=>t.cursor),s),watch((()=>e.value),(function(){const l=e.value,u=function(e,o){e.stopPropagation(),isFunction$1(i)&&!1===i(e,t)||(t.value=l.value,t.composing&&n.ignoreCompositionEvent||r(e,{value:l.value,cursor:c(l)},o))};function d(e){n.ignoreCompositionEvent||o(e.type,e,{value:e.data})}l.addEventListener("change",(e=>e.stopPropagation())),l.addEventListener("focus",(function(e){t.focus=!0,o("focus",e,{value:t.value}),a(),s()})),l.addEventListener("blur",(function(e){t.composing&&(t.composing=!1,u(e,!0)),t.focus=!1,o("blur",e,{value:t.value,cursor:c(e.target)})})),l.addEventListener("input",u),l.addEventListener("compositionstart",(e=>{e.stopPropagation(),t.composing=!0,d(e)})),l.addEventListener("compositionend",(e=>{e.stopPropagation(),t.composing&&(t.composing=!1,u(e)),d(e)})),l.addEventListener("compositionupdate",d)}))}function useField(e,t,n,o){UniViewJSBridgeSubscribe();const{fieldRef:r,state:i,trigger:a}=useBase(e,t,n),{triggerInput:s}=useValueSync(e,i,n,a);useAutoFocus(e,r),useKeyboard$1(e,r);const{state:c}=useScopedAttrs();useFormField("name",i),useEvent(r,i,e,a,s,o);return{fieldRef:r,state:i,scopedAttrsState:c,fixDisabledColor:0===String(navigator.vendor).indexOf("Apple")&&CSS.supports("image-orientation:from-image"),trigger:a}}const props$q=extend$1({},props$r,{placeholderClass:{type:String,default:"input-placeholder"},textContentType:{type:String,default:""}});var Input=defineBuiltInComponent({name:"Input",props:props$q,emits:["confirm",...emit],setup(e,{emit:t}){const n=["text","number","idcard","digit","password","tel"],o=["off","one-time-code"],r=computed$1((()=>{let t="";switch(e.type){case"text":"search"===e.confirmType&&(t="search");break;case"idcard":t="text";break;case"digit":t="number";break;default:t=~n.includes(e.type)?e.type:"text"}return e.password?"password":t})),i=computed$1((()=>{const t=o.indexOf(e.textContentType),n=o.indexOf(hyphenate(e.textContentType));return o[-1!==t?t:-1!==n?n:0]}));let a,s=ref("");const c=ref(null),{fieldRef:l,state:u,scopedAttrsState:d,fixDisabledColor:f,trigger:p}=useField(e,c,t,((e,t)=>{const n=e.target;if("number"===r.value){if(a&&(n.removeEventListener("blur",a),a=null),n.validity&&!n.validity.valid)return!s.value&&"-"===e.data||"-"===s.value[0]&&"deleteContentBackward"===e.inputType?(s.value="-",t.value="",a=()=>{s.value=n.value=""},n.addEventListener("blur",a),!1):(s.value=t.value=n.value="-"===s.value?"":s.value,!1);s.value=n.value;const o=t.maxlength;if(o>0&&n.value.length>o)return n.value=n.value.slice(0,o),t.value=n.value,!1}}));watch((()=>u.value),(t=>{"number"!==e.type||"-"===s.value&&""===t||(s.value=t)}));const h=["number","digit"],g=computed$1((()=>h.includes(e.type)?e.step:""));function m(t){if("Enter"!==t.key)return;const n=t.target;t.stopPropagation(),p("confirm",t,{value:n.value}),!e.confirmHold&&n.blur()}return()=>{let t=e.disabled&&f?createVNode("input",{ref:l,value:u.value,tabindex:"-1",readonly:!!e.disabled,type:r.value,maxlength:u.maxlength,step:g.value,class:"uni-input-input",onFocus:e=>e.target.blur()},null,40,["value","readonly","type","maxlength","step","onFocus"]):createVNode("input",{ref:l,value:u.value,disabled:!!e.disabled,type:r.value,maxlength:u.maxlength,step:g.value,enterkeyhint:e.confirmType,pattern:"number"===e.type?"[0-9]*":void 0,class:"uni-input-input",autocomplete:i.value,onKeyup:m},null,40,["value","disabled","type","maxlength","step","enterkeyhint","pattern","autocomplete","onKeyup"]);return createVNode("uni-input",{ref:c},[createVNode("div",{class:"uni-input-wrapper"},[withDirectives(createVNode("div",mergeProps(d.attrs,{style:e.placeholderStyle,class:["uni-input-placeholder",e.placeholderClass]}),[e.placeholder],16),[[vShow,!(u.value.length||"-"===s.value)]]),"search"===e.confirmType?createVNode("form",{action:"",onSubmit:e=>e.preventDefault(),class:"uni-input-form"},[t],40,["onSubmit"]):t])],512)}}});function entries(e){return Object.keys(e).map((t=>[t,e[t]]))}const DEFAULT_EXCLUDE_KEYS=["class","style"],LISTENER_PREFIX=/^on[A-Z]+/,useAttrs=(e={})=>{const{excludeListeners:t=!1,excludeKeys:n=[]}=e,o=getCurrentInstance(),r=shallowRef({}),i=shallowRef({}),a=shallowRef({}),s=n.concat(DEFAULT_EXCLUDE_KEYS);return o.attrs=reactive(o.attrs),watchEffect((()=>{const e=entries(o.attrs).reduce(((e,[n,o])=>(s.includes(n)?e.exclude[n]=o:LISTENER_PREFIX.test(n)?(t||(e.attrs[n]=o),e.listeners[n]=o):e.attrs[n]=o,e)),{exclude:{},attrs:{},listeners:{}});r.value=e.attrs,i.value=e.listeners,a.value=e.exclude})),{$attrs:r,$listeners:i,$excludeAttrs:a}};function flatVNode(e){const t=[];return isArray$4(e)&&e.forEach((e=>{isVNode(e)?e.type===Fragment?t.push(...flatVNode(e.children)):t.push(e):isArray$4(e)&&t.push(...flatVNode(e))})),t}const movableAreaProps={scaleArea:{type:Boolean,default:!1}};var MovableArea=defineBuiltInComponent({inheritAttrs:!1,name:"MovableArea",props:movableAreaProps,setup(e,{slots:t}){const n=ref(null),o=ref(!1);let{setContexts:r,events:i}=useMovableAreaState(e,n);const{$listeners:a,$attrs:s,$excludeAttrs:c}=useAttrs(),l=a.value;["onTouchstart","onTouchmove","onTouchend"].forEach((e=>{let t=l[e],n=i[`_${e}`];l[e]=t?[].concat(t,n):n})),onMounted((()=>{i._resize(),o.value=!0}));let u=[];const d=[];function f(){const e=[];for(let t=0;tn===e.rootRef.value));o&&e.push(markRaw(o))}r(e)}return provide("_isMounted",o),provide("movableAreaRootRef",n),provide("addMovableViewContext",(e=>{d.push(e),f()})),provide("removeMovableViewContext",(e=>{const t=d.indexOf(e);t>=0&&(d.splice(t,1),f())})),()=>{const e=t.default&&t.default();return u=flatVNode(e),createVNode("uni-movable-area",mergeProps({ref:n},s.value,c.value,l),[createVNode(ResizeSensor,{onReize:i._resize},null,8,["onReize"]),u],16)}}});function calc(e){return Math.sqrt(e.x*e.x+e.y*e.y)}function useMovableAreaState(e,t){const n=ref(0),o=ref(0),r=reactive({x:null,y:null}),i=ref(null);let a=null,s=[];function c(e,n=s){let o=t.value;return function e(t){for(let o=0;o{let n=t.touches;if(n&&n.length>1){let t={x:n[1].pageX-n[0].pageX,y:n[1].pageY-n[0].pageY};if(i.value=calc(t),r.x=t.x,r.y=t.y,!e.scaleArea){let e=c(n[0].target),t=c(n[1].target);a=e&&e===t?e:null}}})),u=withWebEvent((t=>{let n=t.touches;if(n&&n.length>1){t.preventDefault();let c={x:n[1].pageX-n[0].pageX,y:n[1].pageY-n[0].pageY};if(null!==r.x&&i.value&&i.value>0){let t=calc(c)/i.value;(o=t)&&1!==o&&(e.scaleArea?s.forEach((function(e){e._setScale(o)})):a&&a._setScale(o))}r.x=c.x,r.y=c.y}var o})),d=withWebEvent((t=>{let n=t.touches;n&&n.length||t.changedTouches&&(r.x=0,r.y=0,i.value=null,e.scaleArea?s.forEach((function(e){e._endScale()})):a&&a._endScale())}));return provide("movableAreaWidth",n),provide("movableAreaHeight",o),{setContexts(e){s=e},events:{_onTouchstart:l,_onTouchmove:u,_onTouchend:d,_resize:function(){!function(){let e=window.getComputedStyle(t.value),r=t.value.getBoundingClientRect();n.value=r.width-["Left","Right"].reduce((function(t,n){const o="padding"+n;return t+parseFloat(e["border"+n+"Width"])+parseFloat(e[o])}),0),o.value=r.height-["Top","Bottom"].reduce((function(t,n){const o="padding"+n;return t+parseFloat(e["border"+n+"Width"])+parseFloat(e[o])}),0)}(),s.forEach((function(e,t){e.setParent()}))}}}}const addListenerToElement=function(e,t,n,o){e.addEventListener(t,(e=>{isFunction$1(n)&&!1===n(e)&&((void 0===e.cancelable||e.cancelable)&&e.preventDefault(),e.stopPropagation())}),{passive:!1})};let __mouseMoveEventListener,__mouseUpEventListener;function useTouchtrack(e,t,n){onBeforeUnmount((()=>{document.removeEventListener("mousemove",__mouseMoveEventListener),document.removeEventListener("mouseup",__mouseUpEventListener)}));let o=0,r=0,i=0,a=0;const s=function(e,n,s,c){if(!1===t({cancelable:e.cancelable,target:e.target,currentTarget:e.currentTarget,preventDefault:e.preventDefault.bind(e),stopPropagation:e.stopPropagation.bind(e),touches:e.touches,changedTouches:e.changedTouches,detail:{state:n,x:s,y:c,dx:s-o,dy:c-r,ddx:s-i,ddy:c-a,timeStamp:e.timeStamp}}))return!1};let c,l,u=null;addListenerToElement(e,"touchstart",(function(e){if(c=!0,1===e.touches.length&&!u)return u=e,o=i=e.touches[0].pageX,r=a=e.touches[0].pageY,s(e,"start",o,r)})),addListenerToElement(e,"mousedown",(function(e){if(l=!0,!c&&!u)return u=e,o=i=e.pageX,r=a=e.pageY,s(e,"start",o,r)})),addListenerToElement(e,"touchmove",(function(e){if(1===e.touches.length&&u){const t=s(e,"move",e.touches[0].pageX,e.touches[0].pageY);return i=e.touches[0].pageX,a=e.touches[0].pageY,t}}));const d=__mouseMoveEventListener=function(e){if(!c&&l&&u){const t=s(e,"move",e.pageX,e.pageY);return i=e.pageX,a=e.pageY,t}};document.addEventListener("mousemove",d),addListenerToElement(e,"touchend",(function(e){if(0===e.touches.length&&u)return c=!1,u=null,s(e,"end",e.changedTouches[0].pageX,e.changedTouches[0].pageY)}));const f=__mouseUpEventListener=function(e){if(l=!1,!c&&u)return u=null,s(e,"end",e.pageX,e.pageY)};document.addEventListener("mouseup",f),addListenerToElement(e,"touchcancel",(function(e){if(u){c=!1;const t=u;return u=null,s(e,n?"cancel":"end",t.touches[0].pageX,t.touches[0].pageY)}}))}function e(e,t,n){return e>t-n&ðis._t&&(e=this._t,this._lastDt=e);let t=this._x_v*e+.5*this._x_a*Math.pow(e,2)+this._x_s,n=this._y_v*e+.5*this._y_a*Math.pow(e,2)+this._y_s;return(this._x_a>0&&tthis._endPositionX)&&(t=this._endPositionX),(this._y_a>0&&nthis._endPositionY)&&(n=this._endPositionY),{x:t,y:n}},Friction$1.prototype.ds=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),e>this._t&&(e=this._t),{dx:this._x_v+this._x_a*e,dy:this._y_v+this._y_a*e}},Friction$1.prototype.delta=function(){return{x:-1.5*Math.pow(this._x_v,2)/this._x_a||0,y:-1.5*Math.pow(this._y_v,2)/this._y_a||0}},Friction$1.prototype.dt=function(){return-this._x_v/this._x_a},Friction$1.prototype.done=function(){const t=e(this.s().x,this._endPositionX)||e(this.s().y,this._endPositionY)||this._lastDt===this._t;return this._lastDt=null,t},Friction$1.prototype.setEnd=function(e,t){this._endPositionX=e,this._endPositionY=t},Friction$1.prototype.reconfigure=function(e,t){this._m=e,this._f=1e3*t},Spring$1.prototype._solve=function(e,t){const n=this._c,o=this._m,r=this._k,i=n*n-4*o*r;if(0===i){const r=-n/(2*o),i=e,a=t/(r*e);return{x:function(e){return(i+a*e)*Math.pow(Math.E,r*e)},dx:function(e){const t=Math.pow(Math.E,r*e);return r*(i+a*e)*t+a*t}}}if(i>0){const r=(-n-Math.sqrt(i))/(2*o),a=(-n+Math.sqrt(i))/(2*o),s=(t-r*e)/(a-r),c=e-s;return{x:function(e){let t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,r*e)),n||(n=this._powER2T=Math.pow(Math.E,a*e)),c*t+s*n},dx:function(e){let t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,r*e)),n||(n=this._powER2T=Math.pow(Math.E,a*e)),c*r*t+s*a*n}}}const a=Math.sqrt(4*o*r-n*n)/(2*o),s=-n/2*o,c=e,l=(t-s*e)/a;return{x:function(e){return Math.pow(Math.E,s*e)*(c*Math.cos(a*e)+l*Math.sin(a*e))},dx:function(e){const t=Math.pow(Math.E,s*e),n=Math.cos(a*e),o=Math.sin(a*e);return t*(l*a*n-c*a*o)+s*t*(l*o+c*n)}}},Spring$1.prototype.x=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(e):0},Spring$1.prototype.dx=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._solution.dx(e):0},Spring$1.prototype.setEnd=function(e,n,o){if(o||(o=(new Date).getTime()),e!==this._endPosition||!t(n,.1)){n=n||0;let r=this._endPosition;this._solution&&(t(n,.1)&&(n=this._solution.dx((o-this._startTime)/1e3)),r=this._solution.x((o-this._startTime)/1e3),t(n,.1)&&(n=0),t(r,.1)&&(r=0),r+=this._endPosition),this._solution&&t(r-e,.1)&&t(n,.1)||(this._endPosition=e,this._solution=this._solve(r-this._endPosition,n),this._startTime=o)}},Spring$1.prototype.snap=function(e){this._startTime=(new Date).getTime(),this._endPosition=e,this._solution={x:function(){return 0},dx:function(){return 0}}},Spring$1.prototype.done=function(n){return n||(n=(new Date).getTime()),e(this.x(),this._endPosition,.1)&&t(this.dx(),.1)},Spring$1.prototype.reconfigure=function(e,t,n){this._m=e,this._k=t,this._c=n,this.done()||(this._solution=this._solve(this.x()-this._endPosition,this.dx()),this._startTime=(new Date).getTime())},Spring$1.prototype.springConstant=function(){return this._k},Spring$1.prototype.damping=function(){return this._c},Spring$1.prototype.configuration=function(){return[{label:"Spring Constant",read:this.springConstant.bind(this),write:function(e,t){e.reconfigure(1,t,e.damping())}.bind(this,this),min:100,max:1e3},{label:"Damping",read:this.damping.bind(this),write:function(e,t){e.reconfigure(1,e.springConstant(),t)}.bind(this,this),min:1,max:500}]},STD.prototype.setEnd=function(e,t,n,o){const r=(new Date).getTime();this._springX.setEnd(e,o,r),this._springY.setEnd(t,o,r),this._springScale.setEnd(n,o,r),this._startTime=r},STD.prototype.x=function(){const e=((new Date).getTime()-this._startTime)/1e3;return{x:this._springX.x(e),y:this._springY.x(e),scale:this._springScale.x(e)}},STD.prototype.done=function(){const e=(new Date).getTime();return this._springX.done(e)&&this._springY.done(e)&&this._springScale.done(e)},STD.prototype.reconfigure=function(e,t,n){this._springX.reconfigure(e,t,n),this._springY.reconfigure(e,t,n),this._springScale.reconfigure(e,t,n)};const movableViewProps={direction:{type:String,default:"none"},inertia:{type:[Boolean,String],default:!1},outOfBounds:{type:[Boolean,String],default:!1},x:{type:[Number,String],default:0},y:{type:[Number,String],default:0},damping:{type:[Number,String],default:20},friction:{type:[Number,String],default:2},disabled:{type:[Boolean,String],default:!1},scale:{type:[Boolean,String],default:!1},scaleMin:{type:[Number,String],default:.5},scaleMax:{type:[Number,String],default:10},scaleValue:{type:[Number,String],default:1},animation:{type:[Boolean,String],default:!0}};function v(e,t){return+((1e3*e-1e3*t)/1e3).toFixed(1)}var MovableView=defineBuiltInComponent({name:"MovableView",props:movableViewProps,emits:["change","scale"],setup(e,{slots:t,emit:n}){const o=ref(null),r=useCustomEvent(o,n),{setParent:i}=useMovableViewState(e,r,o);return()=>createVNode("uni-movable-view",{ref:o},[createVNode(ResizeSensor,{onResize:i},null,8,["onResize"]),t.default&&t.default()],512)}});let requesting=!1;function _requestAnimationFrame(e){requesting||(requesting=!0,requestAnimationFrame((function(){e(),requesting=!1})))}function p(e,t){if(e===t)return 0;let n=e.offsetLeft;return e.offsetParent?n+=p(e.offsetParent,t):0}function f(e,t){if(e===t)return 0;let n=e.offsetTop;return e.offsetParent?n+=f(e.offsetParent,t):0}function g(e,t,n){let o={id:0,cancelled:!1};return function e(t,n,o,r){if(!t||!t.cancelled){o(n);let i=n.done();i||t.cancelled||(t.id=requestAnimationFrame(e.bind(null,t,n,o,r))),i&&r&&r(n)}}(o,e,t,n),{cancel:function(e){e&&e.id&&cancelAnimationFrame(e.id),e&&(e.cancelled=!0)}.bind(null,o),model:e}}function _getPx(e){return/\d+[ur]px$/i.test(e)?upx2px(parseFloat(e)):Number(e)||0}function useMovableViewState(e,t,n){const o=inject("movableAreaWidth",ref(0)),r=inject("movableAreaHeight",ref(0)),i=inject("_isMounted",ref(!1)),a=inject("movableAreaRootRef"),s=inject("addMovableViewContext",(()=>{})),c=inject("removeMovableViewContext",(()=>{})),l=ref(_getPx(e.x)),u=ref(_getPx(e.y)),d=ref(Number(e.scaleValue)||1),h=ref(0),m=ref(0),_=ref(0),y=ref(0),b=ref(0),w=ref(0);let T=null,E=null;const S={x:0,y:0},C={x:0,y:0};let O,I,A=1,x=1,P=0,R=0,L=!1,$=!1,k=null,N=null;const M=new Decline,D=new Decline,B={historyX:[0,0],historyY:[0,0],historyT:[0,0]},V=computed$1((()=>{let t=Number(e.damping);return isNaN(t)?20:t})),j=computed$1((()=>{let t=Number(e.friction);return isNaN(t)||t<=0?2:t})),F=computed$1((()=>{let t=Number(e.scaleMin);return isNaN(t)?.5:t})),U=computed$1((()=>{let t=Number(e.scaleMax);return isNaN(t)?10:t})),H=computed$1((()=>"all"===e.direction||"horizontal"===e.direction)),G=computed$1((()=>"all"===e.direction||"vertical"===e.direction)),W=new STD(1,9*Math.pow(V.value,2)/40,V.value),z=new Friction$1(1,j.value);function q(){E&&E.cancel(),T&&T.cancel()}function K(){if(!e.scale)return!1;ee(A,!0),te(A)}function Y(){L||e.disabled||(q(),B.historyX=[0,0],B.historyY=[0,0],B.historyT=[0,0],H.value&&(O=P),G.value&&(I=R),n.value.style.willChange="transform",k=null,N=null,$=!0)}function X(){if(!L&&!e.disabled&&$&&(n.value.style.willChange="auto",$=!1,!k&&!function(e){let t=Z(P,R),n=t.x,o=t.y,r=t.outOfBounds;r&&oe(n,o,A,e);return r}("out-of-bounds")&&e.inertia)){const e=1e3*(B.historyX[1]-B.historyX[0])/(B.historyT[1]-B.historyT[0]),t=1e3*(B.historyY[1]-B.historyY[0])/(B.historyT[1]-B.historyT[0]);z.setV(e,t),z.setS(P,R);const n=z.delta().x,o=z.delta().y;let r=n+P,i=o+R;r<_.value?(r=_.value,i=R+(_.value-P)*o/n):r>b.value&&(r=b.value,i=R+(b.value-P)*o/n),iw.value&&(i=w.value,r=P+(w.value-R)*n/o),z.setEnd(r,i),E=g(z,(function(){let e=z.s();re(e.x,e.y,A,"friction")}),(function(){E.cancel()}))}e.outOfBounds||e.inertia||q()}function Z(e,t){let n=!1;return e>b.value?(e=b.value,n=!0):e<_.value&&(e=_.value,n=!0),t>w.value?(t=w.value,n=!0):te.x),(e=>{l.value=_getPx(e)})),watch((()=>e.y),(e=>{u.value=_getPx(e)})),watch(l,(e=>{!function(e){if(H.value){if(e+C.x===P)return P;T&&T.cancel(),oe(e+C.x,u.value+C.y,A)}}(e)})),watch(u,(e=>{!function(e){if(G.value){if(e+C.y===R)return R;T&&T.cancel(),oe(l.value+C.x,e+C.y,A)}}(e)})),watch((()=>e.disabled),(()=>{Y()})),watch((()=>e.scaleValue),(e=>{d.value=Number(e)||0})),watch(d,(t=>{!function(t){if(!e.scale)return!1;ee(t=ne(t),!0),te(t)}(t)})),watch(F,(()=>{K()})),watch(U,(()=>{K()})),onMounted((()=>{useTouchtrack(n.value,(t=>{switch(t.detail.state){case"start":Y();break;case"move":!function(t){if(!L&&!e.disabled&&$){let n=P,o=R;if(null===N&&(N=Math.abs(t.detail.dx/t.detail.dy)>1?"htouchmove":"vtouchmove"),H.value&&(n=t.detail.dx+O,B.historyX.shift(),B.historyX.push(n),G.value||null!==k||(k=Math.abs(t.detail.dx/t.detail.dy)<1)),G.value&&(o=t.detail.dy+I,B.historyY.shift(),B.historyY.push(o),H.value||null!==k||(k=Math.abs(t.detail.dy/t.detail.dx)<1)),B.historyT.shift(),B.historyT.push(t.detail.timeStamp),!k){t.preventDefault();let r="touch";n<_.value?e.outOfBounds?(r="touch-out-of-bounds",n=_.value-M.x(_.value-n)):n=_.value:n>b.value&&(e.outOfBounds?(r="touch-out-of-bounds",n=b.value+M.x(n-b.value)):n=b.value),ow.value&&(e.outOfBounds?(r="touch-out-of-bounds",o=w.value+D.x(o-w.value)):o=w.value),_requestAnimationFrame((function(){re(n,o,A,r)}))}}}(t);break;case"end":X()}})),ie(),z.reconfigure(1,j.value),W.reconfigure(1,9*Math.pow(V.value,2)/40,V.value),n.value.style.transformOrigin="center";const t={rootRef:n,setParent:ie,_endScale:ae,_setScale:se};s(t),onUnmounted((()=>{c(t)}))})),onUnmounted((()=>{q()})),{setParent:ie}}const OPEN_TYPES=["navigate","redirect","switchTab","reLaunch","navigateBack"],ANIMATION_IN=["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"],ANIMATION_OUT=["slide-out-right","slide-out-left","slide-out-top","slide-out-bottom","fade-out","zoom-in","zoom-fade-in","pop-out","none"],navigatorProps={hoverClass:{type:String,default:"navigator-hover"},url:{type:String,default:""},openType:{type:String,default:"navigate",validator:e=>Boolean(~OPEN_TYPES.indexOf(e))},delta:{type:Number,default:1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:600},exists:{type:String,default:""},hoverStopPropagation:{type:Boolean,default:!1},animationType:{type:String,default:"",validator:e=>!e||ANIMATION_IN.concat(ANIMATION_OUT).includes(e)},animationDuration:{type:[String,Number],default:300}};function createNavigatorOnClick(e){return()=>{if("navigateBack"!==e.openType&&!e.url)return void console.error(" should have url attribute when using navigateTo, redirectTo, reLaunch or switchTab");const t=parseInt(e.animationDuration);switch(e.openType){case"navigate":navigateTo({url:e.url,animationType:e.animationType||"pop-in",animationDuration:t});break;case"redirect":redirectTo({url:e.url,exists:e.exists});break;case"switchTab":switchTab({url:e.url});break;case"reLaunch":reLaunch({url:e.url});break;case"navigateBack":navigateBack({delta:e.delta,animationType:e.animationType||"pop-out",animationDuration:t})}}}var index$r=defineBuiltInComponent({name:"Navigator",inheritAttrs:!1,compatConfig:{MODE:3},props:navigatorProps,setup(e,{slots:t}){const n=getCurrentInstance(),o=n&&n.vnode.scopeId||"",{hovering:r,binding:i}=useHover(e),a=createNavigatorOnClick(e);return()=>{const{hoverClass:s,url:c}=e,l=e.hoverClass&&"none"!==e.hoverClass;return createVNode("a",{class:"navigator-wrap",href:c,onClick:onEventPrevent,onMousedown:onEventPrevent},[createVNode("uni-navigator",mergeProps({class:l&&r.value?s:""},l&&i,n?n.attrs:{},{[o]:""},{onClick:a}),[t.default&&t.default()],16,["onClick"])],40,["href","onClick","onMousedown"])}}});const pickerViewProps={value:{type:Array,default:()=>[],validator:function(e){return isArray$4(e)&&e.filter((e=>"number"==typeof e)).length===e.length}},indicatorStyle:{type:String,default:""},indicatorClass:{type:String,default:""},maskStyle:{type:String,default:""},maskClass:{type:String,default:""}};function useState$4(e){const t=reactive([...e.value]),n=reactive({value:t,height:34});return watch((()=>e.value),((e,t)=>{n.value.length=e.length,e.forEach(((e,t)=>{e!==n.value[t]&&n.value.splice(t,1,e)}))})),n}var PickerView=defineBuiltInComponent({name:"PickerView",props:pickerViewProps,emits:["change","pickstart","pickend","update:value"],setup(e,{slots:t,emit:n}){const o=ref(null),r=ref(null),i=useCustomEvent(o,n),a=useState$4(e),s=ref(null);onMounted((()=>{const e=s.value;a.height=e.$el.offsetHeight}));let c=ref([]),l=ref([]);function u(e){let t=l.value;t=t.filter((e=>e.type!==Comment));let n=t.indexOf(e);return-1!==n?n:c.value.indexOf(e)}return provide("getPickerViewColumn",(function(e){return computed$1({get(){const t=u(e.vnode);return a.value[t]||0},set(t){const o=u(e.vnode);if(o<0)return;if(a.value[o]!==t){a.value[o]=t;const e=a.value.map((e=>e));n("update:value",e),i("change",{},{value:e})}}})})),provide("pickerViewProps",e),provide("pickerViewState",a),()=>{const e=t.default&&t.default();{const t=flatVNode(e);c.value=t,nextTick((()=>{l.value=t}))}return createVNode("uni-picker-view",{ref:o},[createVNode(ResizeSensor,{ref:s,onResize:({height:e})=>a.height=e},null,8,["onResize"]),createVNode("div",{ref:r,class:"uni-picker-view-wrapper"},[e],512)],512)}}});class Friction{constructor(e){this._drag=e,this._dragLog=Math.log(e),this._x=0,this._v=0,this._startTime=0}set(e,t){this._x=e,this._v=t,this._startTime=(new Date).getTime()}setVelocityByEnd(e){this._v=(e-this._x)*this._dragLog/(Math.pow(this._drag,100)-1)}x(e){void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3);const t=e===this._dt&&this._powDragDt?this._powDragDt:this._powDragDt=Math.pow(this._drag,e);return this._dt=e,this._x+this._v*t/this._dragLog-this._v/this._dragLog}dx(e){void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3);const t=e===this._dt&&this._powDragDt?this._powDragDt:this._powDragDt=Math.pow(this._drag,e);return this._dt=e,this._v*t}done(){return Math.abs(this.dx())<3}reconfigure(e){const t=this.x(),n=this.dx();this._drag=e,this._dragLog=Math.log(e),this.set(t,n)}configuration(){const e=this;return[{label:"Friction",read:function(){return e._drag},write:function(t){e.reconfigure(t)},min:.001,max:.1,step:.001}]}}function o(e,t,n){return e>t-n&&e0){const r=(-n-Math.sqrt(i))/(2*o),a=(-n+Math.sqrt(i))/(2*o),s=(t-r*e)/(a-r),c=e-s;return{x:function(e){let t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,r*e)),n||(n=this._powER2T=Math.pow(Math.E,a*e)),c*t+s*n},dx:function(e){let t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,r*e)),n||(n=this._powER2T=Math.pow(Math.E,a*e)),c*r*t+s*a*n}}}const a=Math.sqrt(4*o*r-n*n)/(2*o),s=-n/2*o,c=e,l=(t-s*e)/a;return{x:function(e){return Math.pow(Math.E,s*e)*(c*Math.cos(a*e)+l*Math.sin(a*e))},dx:function(e){const t=Math.pow(Math.E,s*e),n=Math.cos(a*e),o=Math.sin(a*e);return t*(l*a*n-c*a*o)+s*t*(l*o+c*n)}}}x(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(e):0}dx(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._solution.dx(e):0}setEnd(e,t,n){if(n||(n=(new Date).getTime()),e!==this._endPosition||!a(t,.4)){t=t||0;let o=this._endPosition;this._solution&&(a(t,.4)&&(t=this._solution.dx((n-this._startTime)/1e3)),o=this._solution.x((n-this._startTime)/1e3),a(t,.4)&&(t=0),a(o,.4)&&(o=0),o+=this._endPosition),this._solution&&a(o-e,.4)&&a(t,.4)||(this._endPosition=e,this._solution=this._solve(o-this._endPosition,t),this._startTime=n)}}snap(e){this._startTime=(new Date).getTime(),this._endPosition=e,this._solution={x:function(){return 0},dx:function(){return 0}}}done(e){return e||(e=(new Date).getTime()),o(this.x(),this._endPosition,.4)&&a(this.dx(),.4)}reconfigure(e,t,n){this._m=e,this._k=t,this._c=n,this.done()||(this._solution=this._solve(this.x()-this._endPosition,this.dx()),this._startTime=(new Date).getTime())}springConstant(){return this._k}damping(){return this._c}configuration(){return[{label:"Spring Constant",read:this.springConstant.bind(this),write:function(e,t){e.reconfigure(1,t,e.damping())}.bind(this,this),min:100,max:1e3},{label:"Damping",read:this.damping.bind(this),write:function(e,t){e.reconfigure(1,e.springConstant(),t)}.bind(this,this),min:1,max:500}]}}class Scroll{constructor(e,t,n){this._extent=e,this._friction=t||new Friction(.01),this._spring=n||new Spring(1,90,20),this._startTime=0,this._springing=!1,this._springOffset=0}snap(e,t){this._springOffset=0,this._springing=!0,this._spring.snap(e),this._spring.setEnd(t)}set(e,t){this._friction.set(e,t),e>0&&t>=0?(this._springOffset=0,this._springing=!0,this._spring.snap(e),this._spring.setEnd(0)):e<-this._extent&&t<=0?(this._springOffset=0,this._springing=!0,this._spring.snap(e),this._spring.setEnd(-this._extent)):this._springing=!1,this._startTime=(new Date).getTime()}x(e){if(!this._startTime)return 0;if(e||(e=((new Date).getTime()-this._startTime)/1e3),this._springing)return this._spring.x()+this._springOffset;let t=this._friction.x(e),n=this.dx(e);return(t>0&&n>=0||t<-this._extent&&n<=0)&&(this._springing=!0,this._spring.setEnd(0,n),t<-this._extent?this._springOffset=-this._extent:this._springOffset=0,t=this._spring.x()+this._springOffset),t}dx(e){let t;return t=this._lastTime===e?this._lastDx:this._springing?this._spring.dx(e):this._friction.dx(e),this._lastTime=e,this._lastDx=t,t}done(){return this._springing?this._spring.done():this._friction.done()}setVelocityByEnd(e){this._friction.setVelocityByEnd(e)}configuration(){const e=this._friction.configuration();return e.push.apply(e,this._spring.configuration()),e}}function createAnimation(e,t,n){const o={id:0,cancelled:!1};return function e(t,n,o,r){if(!t||!t.cancelled){o(n);const i=n.done();i||t.cancelled||(t.id=requestAnimationFrame(e.bind(null,t,n,o,r))),i&&r&&r(n)}}(o,e,t,n),{cancel:function(e){e&&e.id&&cancelAnimationFrame(e.id),e&&(e.cancelled=!0)}.bind(null,o),model:e}}class Scroller{constructor(e,t){t=t||{},this._element=e,this._options=t,this._enableSnap=t.enableSnap||!1,this._itemSize=t.itemSize||0,this._enableX=t.enableX||!1,this._enableY=t.enableY||!1,this._shouldDispatchScrollEvent=!!t.onScroll,this._enableX?(this._extent=(t.scrollWidth||this._element.offsetWidth)-this._element.parentElement.offsetWidth,this._scrollWidth=t.scrollWidth):(this._extent=(t.scrollHeight||this._element.offsetHeight)-this._element.parentElement.offsetHeight,this._scrollHeight=t.scrollHeight),this._position=0,this._scroll=new Scroll(this._extent,t.friction,t.spring),this._onTransitionEnd=this.onTransitionEnd.bind(this),this.updatePosition()}onTouchStart(){this._startPosition=this._position,this._lastChangePos=this._startPosition,this._startPosition>0?this._startPosition/=.5:this._startPosition<-this._extent&&(this._startPosition=(this._startPosition+this._extent)/.5-this._extent),this._animation&&(this._animation.cancel(),this._scrolling=!1),this.updatePosition()}onTouchMove(e,t){let n=this._startPosition;this._enableX?n+=e:this._enableY&&(n+=t),n>0?n*=.5:n<-this._extent&&(n=.5*(n+this._extent)-this._extent),this._position=n,this.updatePosition(),this.dispatchScroll()}onTouchEnd(e,t,n){if(this._enableSnap&&this._position>-this._extent&&this._position<0){if(this._enableY&&(Math.abs(t)this._itemSize/2?e-(this._itemSize-Math.abs(t)):e-t,o<=0&&o>=-this._extent&&this._scroll.setVelocityByEnd(o)}this._lastTime=Date.now(),this._lastDelay=0,this._scrolling=!0,this._lastChangePos=this._position,this._lastIdx=Math.floor(Math.abs(this._position/this._itemSize)),this._animation=createAnimation(this._scroll,(()=>{const e=Date.now(),t=(e-this._scroll._startTime)/1e3,n=this._scroll.x(t);this._position=n,this.updatePosition();const o=this._scroll.dx(t);this._shouldDispatchScrollEvent&&e-this._lastTime>this._lastDelay&&(this.dispatchScroll(),this._lastDelay=Math.abs(2e3/o),this._lastTime=e)}),(()=>{this._enableSnap&&(o<=0&&o>=-this._extent&&(this._position=o,this.updatePosition()),isFunction$1(this._options.onSnap)&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize))),this._shouldDispatchScrollEvent&&this.dispatchScroll(),this._scrolling=!1}))}onTransitionEnd(){this._element.style.webkitTransition="",this._element.style.transition="",this._element.removeEventListener("transitionend",this._onTransitionEnd),this._snapping&&(this._snapping=!1),this.dispatchScroll()}snap(){const e=this._itemSize,t=this._position%e,n=Math.abs(t)>this._itemSize/2?this._position-(e-Math.abs(t)):this._position-t;this._position!==n&&(this._snapping=!0,this.scrollTo(-n),isFunction$1(this._options.onSnap)&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize)))}scrollTo(e,t){this._animation&&(this._animation.cancel(),this._scrolling=!1),"number"==typeof e&&(this._position=-e),this._position<-this._extent?this._position=-this._extent:this._position>0&&(this._position=0);const n="transform "+(t||.2)+"s ease-out";this._element.style.webkitTransition="-webkit-"+n,this._element.style.transition=n,this.updatePosition(),this._element.addEventListener("transitionend",this._onTransitionEnd)}dispatchScroll(){if(isFunction$1(this._options.onScroll)&&Math.round(Number(this._lastPos))!==Math.round(this._position)){this._lastPos=this._position;const e={target:{scrollLeft:this._enableX?-this._position:0,scrollTop:this._enableY?-this._position:0,scrollHeight:this._scrollHeight||this._element.offsetHeight,scrollWidth:this._scrollWidth||this._element.offsetWidth,offsetHeight:this._element.parentElement.offsetHeight,offsetWidth:this._element.parentElement.offsetWidth}};this._options.onScroll(e)}}update(e,t,n){let o=0;const r=this._position;this._enableX?(o=this._element.childNodes.length?(t||this._element.offsetWidth)-this._element.parentElement.offsetWidth:0,this._scrollWidth=t):(o=this._element.childNodes.length?(t||this._element.offsetHeight)-this._element.parentElement.offsetHeight:0,this._scrollHeight=t),"number"==typeof e&&(this._position=-e),this._position<-o?this._position=-o:this._position>0&&(this._position=0),this._itemSize=n||this._itemSize,this.updatePosition(),r!==this._position&&(this.dispatchScroll(),isFunction$1(this._options.onSnap)&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize))),this._extent=o,this._scroll._extent=o}updatePosition(){let e="";this._enableX?e="translateX("+this._position+"px) translateZ(0)":this._enableY&&(e="translateY("+this._position+"px) translateZ(0)"),this._element.style.webkitTransform=e,this._element.style.transform=e}isScrolling(){return this._scrolling||this._snapping}}function useScroller(e,t){const n={trackingID:-1,maxDy:0,maxDx:0},o=new Scroller(e,t);function r(e){const t=e,o=e;return"move"===t.detail.state||"end"===t.detail.state?{x:t.detail.dx,y:t.detail.dy}:{x:o.screenX-n.x,y:o.screenY-n.y}}return{scroller:o,handleTouchStart:function(e){const t=e,r=e;"start"===t.detail.state?(n.trackingID="touch",n.x=t.detail.x,n.y=t.detail.y):(n.trackingID="mouse",n.x=r.screenX,n.y=r.screenY),n.maxDx=0,n.maxDy=0,n.historyX=[0],n.historyY=[0],n.historyTime=[t.detail.timeStamp||r.timeStamp],n.listener=o,o.onTouchStart&&o.onTouchStart(),("boolean"!=typeof e.cancelable||e.cancelable)&&e.preventDefault()},handleTouchMove:function(e){const t=e,o=e;if(-1!==n.trackingID){("boolean"!=typeof e.cancelable||e.cancelable)&&e.preventDefault();const i=r(e);if(i){for(n.maxDy=Math.max(n.maxDy,Math.abs(i.y)),n.maxDx=Math.max(n.maxDx,Math.abs(i.x)),n.historyX.push(i.x),n.historyY.push(i.y),n.historyTime.push(t.detail.timeStamp||o.timeStamp);n.historyTime.length>10;)n.historyTime.shift(),n.historyX.shift(),n.historyY.shift();n.listener&&n.listener.onTouchMove&&n.listener.onTouchMove(i.x,i.y)}}},handleTouchEnd:function(e){if(-1!==n.trackingID){e.preventDefault();const t=r(e);if(t){const e=n.listener;n.trackingID=-1,n.listener=null;const o={x:0,y:0};if(n.historyTime.length>2)for(let t=n.historyTime.length-1,r=n.historyTime[t],i=n.historyX[t],a=n.historyY[t];t>0;){t--;const e=r-n.historyTime[t];if(e>30&&e<50){o.x=(i-n.historyX[t])/(e/1e3),o.y=(a-n.historyY[t])/(e/1e3);break}}n.historyTime=[],n.historyX=[],n.historyY=[],e&&e.onTouchEnd&&e.onTouchEnd(t.x,t.y,o)}}}}}let scopedIndex=0;function useScopedClass(e){const t="uni-picker-view-content-"+scopedIndex++;return watch((()=>e.value),(function(){const n=document.createElement("style");n.innerText=`.uni-picker-view-content.${t}>*{height: ${e.value}px;overflow: hidden;}`,document.head.appendChild(n)})),t}function useCustomClick(e){let t=0,n=0;e.addEventListener("touchstart",(e=>{const o=e.changedTouches[0];t=o.clientX,n=o.clientY})),e.addEventListener("touchend",(e=>{const o=e.changedTouches[0];if(Math.abs(o.clientX-t)<20&&Math.abs(o.clientY-n)<20){const t={bubbles:!0,cancelable:!0,target:e.target,currentTarget:e.currentTarget},n=new CustomEvent("click",t);["screenX","screenY","clientX","clientY","pageX","pageY"].forEach((e=>{n[e]=o[e]})),e.target.dispatchEvent(n)}}))}var PickerViewColumn=defineBuiltInComponent({name:"PickerViewColumn",setup(e,{slots:t,emit:n}){const o=ref(null),r=ref(null),i=inject("getPickerViewColumn"),a=getCurrentInstance(),s=i?i(a):ref(0),c=inject("pickerViewProps"),l=inject("pickerViewState"),u=ref(34),d=ref(null);onMounted((()=>{const e=d.value;u.value=e.$el.offsetHeight}));const f=computed$1((()=>(l.height-u.value)/2)),{state:p}=useScopedAttrs(),h=useScopedClass(u);let g;const m=reactive({current:s.value,length:0});let v;function _(){g&&!v&&(v=!0,nextTick((()=>{v=!1;let e=Math.min(m.current,m.length-1);e=Math.max(e,0),g.update(e*u.value,void 0,u.value)})))}watch((()=>s.value),(e=>{e!==m.current&&(m.current=e,_())})),watch((()=>m.current),(e=>s.value=e)),watch([()=>u.value,()=>m.length,()=>l.height],_);let y=0;function b(e){const t=y+e.deltaY;if(Math.abs(t)>10){y=0;let e=Math.min(m.current+(t<0?-1:1),m.length-1);m.current=e=Math.max(e,0),g.scrollTo(e*u.value)}else y=t;e.preventDefault()}function w({clientY:e}){const t=o.value;if(!g.isScrolling()){const n=e-t.getBoundingClientRect().top-l.height/2,o=u.value/2;if(!(Math.abs(n)<=o)){const e=Math.ceil((Math.abs(n)-o)/u.value),t=n<0?-e:e;let r=Math.min(m.current+t,m.length-1);m.current=r=Math.max(r,0),g.scrollTo(r*u.value)}}}return onMounted((()=>{const e=o.value,t=r.value,{scroller:n,handleTouchStart:i,handleTouchMove:a,handleTouchEnd:s}=useScroller(t,{enableY:!0,enableX:!1,enableSnap:!0,itemSize:u.value,friction:new Friction(1e-4),spring:new Spring(2,90,20),onSnap:e=>{isNaN(e)||e===m.current||(m.current=e)}});g=n,useTouchtrack(e,(e=>{switch(e.detail.state){case"start":i(e);break;case"move":a(e),e.stopPropagation();break;case"end":case"cancel":s(e)}}),!0),useCustomClick(e),_()})),()=>{const e=t.default&&t.default();m.length=flatVNode(e).length;const n=`${f.value}px 0`;return createVNode("uni-picker-view-column",{ref:o},[createVNode("div",{onWheel:b,onClick:w,class:"uni-picker-view-group"},[createVNode("div",mergeProps(p.attrs,{class:["uni-picker-view-mask",c.maskClass],style:`background-size: 100% ${f.value}px;${c.maskStyle}`}),null,16),createVNode("div",mergeProps(p.attrs,{class:["uni-picker-view-indicator",c.indicatorClass],style:c.indicatorStyle}),[createVNode(ResizeSensor,{ref:d,onResize:({height:e})=>u.value=e},null,8,["onResize"])],16),createVNode("div",{ref:r,class:["uni-picker-view-content",h],style:{padding:n}},[e],6)],40,["onWheel","onClick"])],512)}}});const passiveOptions=passive(!0),props$m={scrollX:{type:[Boolean,String],default:!1},scrollY:{type:[Boolean,String],default:!1},upperThreshold:{type:[Number,String],default:50},lowerThreshold:{type:[Number,String],default:50},scrollTop:{type:[Number,String],default:0},scrollLeft:{type:[Number,String],default:0},scrollIntoView:{type:String,default:""},scrollWithAnimation:{type:[Boolean,String],default:!1},enableBackToTop:{type:[Boolean,String],default:!1},refresherEnabled:{type:[Boolean,String],default:!1},refresherThreshold:{type:Number,default:45},refresherDefaultStyle:{type:String,default:"back"},refresherBackground:{type:String,default:"#fff"},refresherTriggered:{type:[Boolean,String],default:!1}};var ScrollView=defineBuiltInComponent({name:"ScrollView",compatConfig:{MODE:3},props:props$m,emits:["scroll","scrolltoupper","scrolltolower","refresherrefresh","refresherrestore","refresherpulling","refresherabort","update:refresherTriggered"],setup(e,{emit:t,slots:n}){const o=ref(null),r=ref(null),i=ref(null),a=ref(null),s=ref(null),c=useCustomEvent(o,t),{state:l,scrollTopNumber:u,scrollLeftNumber:d}=useScrollViewState(e);useScrollViewLoader(e,l,u,d,c,o,r,a,t);const f=computed$1((()=>{let t="";return e.scrollX?t+="overflow-x:auto;":t+="overflow-x:hidden;",e.scrollY?t+="overflow-y:auto;":t+="overflow-y:hidden;",t}));return()=>{const{refresherEnabled:t,refresherBackground:c,refresherDefaultStyle:u}=e,{refresherHeight:d,refreshState:p,refreshRotate:h}=l;return createVNode("uni-scroll-view",{ref:o},[createVNode("div",{ref:i,class:"uni-scroll-view"},[createVNode("div",{ref:r,style:f.value,class:"uni-scroll-view"},[createVNode("div",{ref:a,class:"uni-scroll-view-content"},[t?createVNode("div",{ref:s,style:{backgroundColor:c,height:d+"px"},class:"uni-scroll-view-refresher"},["none"!==u?createVNode("div",{class:"uni-scroll-view-refresh"},[createVNode("div",{class:"uni-scroll-view-refresh-inner"},["pulling"==p?createVNode("svg",{key:"refresh__icon",style:{transform:"rotate("+h+"deg)"},fill:"#2BD009",class:"uni-scroll-view-refresh__icon",width:"24",height:"24",viewBox:"0 0 24 24"},[createVNode("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"},null),createVNode("path",{d:"M0 0h24v24H0z",fill:"none"},null)],4):null,"refreshing"==p?createVNode("svg",{key:"refresh__spinner",class:"uni-scroll-view-refresh__spinner",width:"24",height:"24",viewBox:"25 25 50 50"},[createVNode("circle",{cx:"50",cy:"50",r:"20",fill:"none",style:"color: #2bd009","stroke-width":"3"},null)]):null])]):null,"none"==u?n.refresher&&n.refresher():null],4):null,n.default&&n.default()],512)],4)],512)],512)}}});function useScrollViewState(e){const t=computed$1((()=>Number(e.scrollTop)||0)),n=computed$1((()=>Number(e.scrollLeft)||0));return{state:reactive({lastScrollTop:t.value,lastScrollLeft:n.value,lastScrollToUpperTime:0,lastScrollToLowerTime:0,refresherHeight:0,refreshRotate:0,refreshState:""}),scrollTopNumber:t,scrollLeftNumber:n}}function useScrollViewLoader(e,t,n,o,r,i,a,s,c){let l=!1,u=0,d=!1,f=()=>{};const p=computed$1((()=>{let t=Number(e.upperThreshold);return isNaN(t)?50:t})),h=computed$1((()=>{let t=Number(e.lowerThreshold);return isNaN(t)?50:t}));function g(t,n){const o=a.value;let r=0,i="";if(t<0?t=0:"x"===n&&t>o.scrollWidth-o.offsetWidth?t=o.scrollWidth-o.offsetWidth:"y"===n&&t>o.scrollHeight-o.offsetHeight&&(t=o.scrollHeight-o.offsetHeight),"x"===n?r=o.scrollLeft-t:"y"===n&&(r=o.scrollTop-t),0===r)return;let c=s.value;c.style.transition="transform .3s ease-out",c.style.webkitTransition="-webkit-transform .3s ease-out","x"===n?i="translateX("+r+"px) translateZ(0)":"y"===n&&(i="translateY("+r+"px) translateZ(0)"),c.removeEventListener("transitionend",f),c.removeEventListener("webkitTransitionEnd",f),f=()=>function(t,n){s.value.style.transition="",s.value.style.webkitTransition="",s.value.style.transform="",s.value.style.webkitTransform="";let o=a.value;"x"===n?(o.style.overflowX=e.scrollX?"auto":"hidden",o.scrollLeft=t):"y"===n&&(o.style.overflowY=e.scrollY?"auto":"hidden",o.scrollTop=t);s.value.removeEventListener("transitionend",f),s.value.removeEventListener("webkitTransitionEnd",f)}(t,n),c.addEventListener("transitionend",f),c.addEventListener("webkitTransitionEnd",f),"x"===n?o.style.overflowX="hidden":"y"===n&&(o.style.overflowY="hidden"),c.style.transform=i,c.style.webkitTransform=i}function m(t){e.scrollY&&(e.scrollWithAnimation?g(t,"y"):a.value.scrollTop=t)}function v(t){e.scrollX&&(e.scrollWithAnimation?g(t,"x"):a.value.scrollLeft=t)}function _(t){if(t){if(!/^[_a-zA-Z][-_a-zA-Z0-9:]*$/.test(t))return void console.error(`id error: scroll-into-view=${t}`);let n=i.value.querySelector("#"+t);if(n){let t=a.value.getBoundingClientRect(),o=n.getBoundingClientRect();if(e.scrollX){let n=o.left-t.left,r=a.value.scrollLeft+n;e.scrollWithAnimation?g(r,"x"):a.value.scrollLeft=r}if(e.scrollY){let n=o.top-t.top,r=a.value.scrollTop+n;e.scrollWithAnimation?g(r,"y"):a.value.scrollTop=r}}}}function y(n){switch(n){case"refreshing":t.refresherHeight=e.refresherThreshold,l||(l=!0,r("refresherrefresh",{},{}),c("update:refresherTriggered",!0));break;case"restore":case"refresherabort":l=!1,t.refresherHeight=u=0,"restore"===n&&(d=!1,r("refresherrestore",{},{})),"refresherabort"===n&&d&&(d=!1,r("refresherabort",{},{}))}t.refreshState=n}onMounted((()=>{nextTick((()=>{m(n.value),v(o.value)})),_(e.scrollIntoView);let i=function(n){n.preventDefault(),n.stopPropagation(),function(n){const o=n.target;r("scroll",n,{scrollLeft:o.scrollLeft,scrollTop:o.scrollTop,scrollHeight:o.scrollHeight,scrollWidth:o.scrollWidth,deltaX:t.lastScrollLeft-o.scrollLeft,deltaY:t.lastScrollTop-o.scrollTop}),e.scrollY&&(o.scrollTop<=p.value&&t.lastScrollTop-o.scrollTop>0&&n.timeStamp-t.lastScrollToUpperTime>200&&(r("scrolltoupper",n,{direction:"top"}),t.lastScrollToUpperTime=n.timeStamp),o.scrollTop+o.offsetHeight+h.value>=o.scrollHeight&&t.lastScrollTop-o.scrollTop<0&&n.timeStamp-t.lastScrollToLowerTime>200&&(r("scrolltolower",n,{direction:"bottom"}),t.lastScrollToLowerTime=n.timeStamp)),e.scrollX&&(o.scrollLeft<=p.value&&t.lastScrollLeft-o.scrollLeft>0&&n.timeStamp-t.lastScrollToUpperTime>200&&(r("scrolltoupper",n,{direction:"left"}),t.lastScrollToUpperTime=n.timeStamp),o.scrollLeft+o.offsetWidth+h.value>=o.scrollWidth&&t.lastScrollLeft-o.scrollLeft<0&&n.timeStamp-t.lastScrollToLowerTime>200&&(r("scrolltolower",n,{direction:"right"}),t.lastScrollToLowerTime=n.timeStamp)),t.lastScrollTop=o.scrollTop,t.lastScrollLeft=o.scrollLeft}(n)},s={x:0,y:0},c=null,f=function(n){if(null===s)return;let o=n.touches[0].pageX,i=n.touches[0].pageY,f=a.value;if(Math.abs(o-s.x)>Math.abs(i-s.y))if(e.scrollX){if(0===f.scrollLeft&&o>s.x)return void(c=!1);if(f.scrollWidth===f.offsetWidth+f.scrollLeft&&os.y)c=!1,e.refresherEnabled&&!1!==n.cancelable&&n.preventDefault();else{if(f.scrollHeight===f.offsetHeight+f.scrollTop&&i0&&(d=!0,r("refresherpulling",n,{deltaY:o})));const a=t.refresherHeight/e.refresherThreshold;t.refreshRotate=360*(a>1?1:a)}},g=function(e){1===e.touches.length&&(s={x:e.touches[0].pageX,y:e.touches[0].pageY})},b=function(n){s=null,t.refresherHeight>=e.refresherThreshold?y("refreshing"):y("refresherabort")};a.value.addEventListener("touchstart",g,passiveOptions),a.value.addEventListener("touchmove",f,passive(!1)),a.value.addEventListener("scroll",i,passive(!1)),a.value.addEventListener("touchend",b,passiveOptions),onBeforeUnmount((()=>{a.value.removeEventListener("touchstart",g),a.value.removeEventListener("touchmove",f),a.value.removeEventListener("scroll",i),a.value.removeEventListener("touchend",b)}))})),onActivated((()=>{e.scrollY&&(a.value.scrollTop=t.lastScrollTop),e.scrollX&&(a.value.scrollLeft=t.lastScrollLeft)})),watch(n,(e=>{m(e)})),watch(o,(e=>{v(e)})),watch((()=>e.scrollIntoView),(e=>{_(e)})),watch((()=>e.refresherTriggered),(e=>{!0===e?y("refreshing"):!1===e&&y("restore")}))}const props$k={indicatorDots:{type:[Boolean,String],default:!1},vertical:{type:[Boolean,String],default:!1},autoplay:{type:[Boolean,String],default:!1},circular:{type:[Boolean,String],default:!1},interval:{type:[Number,String],default:5e3},duration:{type:[Number,String],default:500},current:{type:[Number,String],default:0},indicatorColor:{type:String,default:""},indicatorActiveColor:{type:String,default:""},previousMargin:{type:String,default:""},nextMargin:{type:String,default:""},currentItemId:{type:String,default:""},skipHiddenItemLayout:{type:[Boolean,String],default:!1},displayMultipleItems:{type:[Number,String],default:1},disableTouch:{type:[Boolean,String],default:!1}};function useState$3(e){return reactive({interval:computed$1((()=>{const t=Number(e.interval);return isNaN(t)?5e3:t})),duration:computed$1((()=>{const t=Number(e.duration);return isNaN(t)?500:t})),displayMultipleItems:computed$1((()=>{const t=Math.round(e.displayMultipleItems);return isNaN(t)?1:t})),current:Math.round(e.current)||0,currentItemId:e.currentItemId,userTracking:!1})}function useLayout(e,t,n,o,r,i){function a(){l&&(clearTimeout(l),l=null)}let s,c,l=null,u=!0,d=0,f=1,p=null,h=!1,g=0,m="";const v=computed$1((()=>e.circular&&n.value.length>t.displayMultipleItems));function _(r){Math.floor(2*d)===Math.floor(2*r)&&Math.ceil(2*d)===Math.ceil(2*r)||v.value&&function(o){if(!u)for(let r=n.value,i=r.length,a=o+t.displayMultipleItems,s=0;s=l.length&&(r-=l.length),r=s%1>.5||s<0?r-1:r,i("transition",{},{dx:e.vertical?0:r*c.offsetWidth,dy:e.vertical?r*c.offsetHeight:0})}function y(e){const o=n.value.length;if(!o)return-1;const r=(Math.round(e)%o+o)%o;if(v.value){if(o<=t.displayMultipleItems)return 0}else if(r>o-t.displayMultipleItems)return o-t.displayMultipleItems;return r}function b(){p=null}function w(){if(!p)return void(h=!1);const e=p,o=e.toPos,r=e.acc,a=e.endTime,l=e.source,u=a-Date.now();if(u<=0){_(o),p=null,h=!1,s=null;const e=n.value[t.current];if(e){const n=e.getItemId();i("animationfinish",{},{current:t.current,currentItemId:n,source:l})}return}_(o+r*u*u/2),c=requestAnimationFrame(w)}function T(e,o,r){b();const i=t.duration,a=n.value.length;let s=d;if(v.value)if(r<0){for(;se;)s-=a}else if(r>0){for(;s>e;)s-=a;for(;s+ae;)s-=a;s+a-ee.current,()=>e.currentItemId,()=>[...n.value]],(()=>{let o=-1;if(e.currentItemId)for(let t=0,r=n.value;te.vertical,()=>v.value,()=>t.displayMultipleItems,()=>[...n.value]],(function(){a(),p&&(_(p.toPos),p=null);const r=n.value;for(let t=0;t0&&f<1||(f=1)}const s=d;d=-2;const c=t.current;c>=0?(u=!1,t.userTracking?(_(s+c-g),g=c):(_(c),e.autoplay&&E())):(u=!0,_(-t.displayMultipleItems-1))})),watch((()=>t.interval),(()=>{l&&(a(),E())})),watch((()=>t.current),((e,o)=>{!function(e,o){const r=m;m="";const a=n.value;if(!r){const t=a.length;T(e,"",v.value&&o+(t-e)%t>t/2?1:0)}const s=a[e];if(s){const e=t.currentItemId=s.getItemId();i("change",{},{current:t.current,currentItemId:e,source:r})}}(e,o),r("update:current",e)})),watch((()=>t.currentItemId),(e=>{r("update:currentItemId",e)})),watch((()=>e.autoplay&&!t.userTracking),S),S(e.autoplay&&!t.userTracking),onMounted((()=>{let r=!1,i=0,s=0;function c(e){t.userTracking=!1;const n=i/Math.abs(i);let o=0;!e&&Math.abs(i)>.2&&(o=.5*n);const r=y(d+o);e?_(g):(m="touch",t.current=r,T(r,"touch",0!==o?o:0===r&&v.value&&d>=1?1:0))}useTouchtrack(o.value,(l=>{if(!e.disableTouch&&!u){if("start"===l.detail.state)return t.userTracking=!0,r=!1,a(),g=d,i=0,s=Date.now(),void b();if("end"===l.detail.state)return c(!1);if("cancel"===l.detail.state)return c(!0);if(t.userTracking){if(!r){r=!0;const n=Math.abs(l.detail.dx),o=Math.abs(l.detail.dy);if((n>=o&&e.vertical||n<=o&&!e.vertical)&&(t.userTracking=!1),!t.userTracking)return void(e.autoplay&&E())}return function(r){const a=s;s=Date.now();const c=n.value.length-t.displayMultipleItems;function l(e){return.5-.25/(e+.5)}function u(e,t){let n=g+e;i=.6*i+.4*t,v.value||(n<0||n>c)&&(n<0?n=-l(-n):n>c&&(n=c+l(n-c)),i=0),_(n)}const d=s-a||1,f=o.value;e.vertical?u(-r.dy/f.offsetHeight,-r.ddy/d):u(-r.dx/f.offsetWidth,-r.ddx/d)}(l.detail),!1}}}))})),onUnmounted((()=>{a(),cancelAnimationFrame(c)})),{onSwiperDotClick:function(e){T(t.current=e,m="click",v.value?1:0)}}}var Swiper=defineBuiltInComponent({name:"Swiper",props:props$k,emits:["change","transition","animationfinish","update:current","update:currentItemId"],setup(e,{slots:t,emit:n}){const o=ref(null),r=useCustomEvent(o,n),i=ref(null),a=ref(null),s=useState$3(e),c=computed$1((()=>{let t={};return(e.nextMargin||e.previousMargin)&&(t=e.vertical?{left:0,right:0,top:rpx2px$1(e.previousMargin,!0),bottom:rpx2px$1(e.nextMargin,!0)}:{top:0,bottom:0,left:rpx2px$1(e.previousMargin,!0),right:rpx2px$1(e.nextMargin,!0)}),t})),l=computed$1((()=>{const t=Math.abs(100/s.displayMultipleItems)+"%";return{width:e.vertical?"100%":t,height:e.vertical?t:"100%"}}));let u=[];const d=[],f=ref([]);function p(){const e=[];for(let t=0;tn===e.rootRef.value));o&&e.push(markRaw(o))}f.value=e}provide("addSwiperContext",(function(e){d.push(e),p()}));provide("removeSwiperContext",(function(e){const t=d.indexOf(e);t>=0&&(d.splice(t,1),p())}));const{onSwiperDotClick:h}=useLayout(e,s,f,a,n,r);return()=>{const n=t.default&&t.default();return u=flatVNode(n),createVNode("uni-swiper",{ref:o},[createVNode("div",{ref:i,class:"uni-swiper-wrapper"},[createVNode("div",{class:"uni-swiper-slides",style:c.value},[createVNode("div",{ref:a,class:"uni-swiper-slide-frame",style:l.value},[n],4)],4),e.indicatorDots&&createVNode("div",{class:["uni-swiper-dots",e.vertical?"uni-swiper-dots-vertical":"uni-swiper-dots-horizontal"]},[f.value.map(((t,n,o)=>createVNode("div",{onClick:()=>h(n),class:{"uni-swiper-dot":!0,"uni-swiper-dot-active":n=s.current||ne.itemId,getBoundingClientRect:()=>n.value.getBoundingClientRect(),updatePosition(e,t){const o=t?"0":100*e+"%",r=t?100*e+"%":"0",i=n.value,a=`translate(${o},${r}) translateZ(0)`;i&&(i.style.webkitTransform=a,i.style.transform=a)}};return onMounted((()=>{const e=inject("addSwiperContext");e&&e(o)})),onUnmounted((()=>{const e=inject("removeSwiperContext");e&&e(o)})),()=>createVNode("uni-swiper-item",{ref:n,style:{position:"absolute",width:"100%",height:"100%"}},[t.default&&t.default()],512)}});const SPACE_UNICODE={ensp:" ",emsp:" ",nbsp:" "};function parseText(e,t){return e.replace(/\\n/g,LINEFEED).split(LINEFEED).map((e=>normalizeText(e,t)))}function normalizeText(e,{space:t,decode:n}){return e?(t&&SPACE_UNICODE[t]&&(e=e.replace(/ /g,SPACE_UNICODE[t])),n?e.replace(/ /g,SPACE_UNICODE.nbsp).replace(/ /g,SPACE_UNICODE.ensp).replace(/ /g,SPACE_UNICODE.emsp).replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'"):e):e}var index$k=defineBuiltInComponent({name:"Text",props:{selectable:{type:[Boolean,String],default:!1},space:{type:String,default:""},decode:{type:[Boolean,String],default:!1}},setup:(e,{slots:t})=>()=>{const n=[];return t.default&&t.default().forEach((t=>{if(8&t.shapeFlag&&t.type!==Comment){const o=parseText(t.children,{space:e.space,decode:e.decode}),r=o.length-1;o.forEach(((e,t)=>{(0!==t||e)&&n.push(createTextVNode(e)),t!==r&&n.push(createVNode("br"))}))}else n.push(t)})),createVNode("uni-text",{selectable:!!e.selectable||null},[createVNode("span",null,n)],8,["selectable"])}});const props$h=extend$1({},props$r,{placeholderClass:{type:String,default:"input-placeholder"},autoHeight:{type:[Boolean,String],default:!1},confirmType:{type:String,default:"return",validator:e=>ConfirmTypes.concat("return").includes(e)}});let fixMargin=!1;const ConfirmTypes=["done","go","next","search","send"];function setFixMargin(){const e="(prefers-color-scheme: dark)";fixMargin=0===String(navigator.platform).indexOf("iP")&&0===String(navigator.vendor).indexOf("Apple")&&window.matchMedia(e).media!==e}var index$j=defineBuiltInComponent({name:"Textarea",props:props$h,emits:["confirm","linechange",...emit],setup(e,{emit:t}){const n=ref(null),o=ref(null),{fieldRef:r,state:i,scopedAttrsState:a,fixDisabledColor:s,trigger:c}=useField(e,n,t),l=computed$1((()=>i.value.split(LINEFEED))),u=computed$1((()=>ConfirmTypes.includes(e.confirmType))),d=ref(0),f=ref(null);function p({height:e}){d.value=e}function h(e){"Enter"===e.key&&u.value&&e.preventDefault()}function g(t){if("Enter"===t.key&&u.value){!function(e){c("confirm",e,{value:i.value})}(t);const n=t.target;!e.confirmHold&&n.blur()}}return watch((()=>d.value),(t=>{const r=n.value,i=f.value,a=o.value;let s=parseFloat(getComputedStyle(r).lineHeight);isNaN(s)&&(s=i.offsetHeight);var l=Math.round(t/s);c("linechange",{},{height:t,heightRpx:750/window.innerWidth*t,lineCount:l}),e.autoHeight&&(r.style.height="auto",a.style.height=t+"px")})),setFixMargin(),()=>{let t=e.disabled&&s?createVNode("textarea",{ref:r,value:i.value,tabindex:"-1",readonly:!!e.disabled,maxlength:i.maxlength,class:{"uni-textarea-textarea":!0,"uni-textarea-textarea-fix-margin":fixMargin},style:{overflowY:e.autoHeight?"hidden":"auto"},onFocus:e=>e.target.blur()},null,46,["value","readonly","maxlength","onFocus"]):createVNode("textarea",{ref:r,value:i.value,disabled:!!e.disabled,maxlength:i.maxlength,enterkeyhint:e.confirmType,class:{"uni-textarea-textarea":!0,"uni-textarea-textarea-fix-margin":fixMargin},style:{overflowY:e.autoHeight?"hidden":"auto"},onKeydown:h,onKeyup:g},null,46,["value","disabled","maxlength","enterkeyhint","onKeydown","onKeyup"]);return createVNode("uni-textarea",{ref:n},[createVNode("div",{ref:o,class:"uni-textarea-wrapper"},[withDirectives(createVNode("div",mergeProps(a.attrs,{style:e.placeholderStyle,class:["uni-textarea-placeholder",e.placeholderClass]}),[e.placeholder],16),[[vShow,!i.value.length]]),createVNode("div",{ref:f,class:"uni-textarea-line"},[" "],512),createVNode("div",{class:"uni-textarea-compute"},[l.value.map((e=>createVNode("div",null,[e.trim()?e:"."]))),createVNode(ResizeSensor,{initial:!0,onResize:p},null,8,["initial","onResize"])]),"search"===e.confirmType?createVNode("form",{action:"",onSubmit:()=>!1,class:"uni-input-form"},[t],40,["onSubmit"]):t],512)],512)}}}),index$i=defineBuiltInComponent({name:"View",props:extend$1({},hoverProps),setup(e,{slots:t}){const{hovering:n,binding:o}=useHover(e);return()=>{const r=e.hoverClass;return r&&"none"!==r?createVNode("uni-view",mergeProps({class:n.value?r:""},o),[t.default&&t.default()],16):createVNode("uni-view",null,[t.default&&t.default()])}}});function normalizeEvent(e,t){if(t||(t=e.id),t)return e.$options.name.toLowerCase()+"."+t}function addSubscribe(e,t,n){e&®isterViewMethod(n||getCurrentPageId(),e,(({type:e,data:n},o)=>{t(e,n,o)}))}function removeSubscribe(e,t){e&&unregisterViewMethod(t||getCurrentPageId(),e)}function useSubscribe(e,t,n,o){const r=getCurrentInstance().proxy;onMounted((()=>{addSubscribe(t||normalizeEvent(r),e,o),!n&&t||watch((()=>r.id),((t,n)=>{addSubscribe(normalizeEvent(r,t),e,o),removeSubscribe(n&&normalizeEvent(r,n))}))})),onBeforeUnmount((()=>{removeSubscribe(t||normalizeEvent(r),o)}))}let index$h=0;function useContextInfo(e){const t=useCurrentPageId(),n=getCurrentInstance().proxy,o=n.$options.name.toLowerCase(),r=e||n.id||"context"+index$h++;return onMounted((()=>{n.$el.__uniContextInfo={id:r,type:o,page:t}})),`${o}.${r}`}function getContextInfo(e){return e.__uniContextInfo}function injectLifecycleHook(e,t,n,o){isFunction$1(t)&&injectHook(e,t.bind(n),o)}function initHooks(e,t,n){const o=e.mpType||n.$mpType;if(o&&(Object.keys(e).forEach((o=>{if(0===o.indexOf("on")){const r=e[o];isArray$4(r)?r.forEach((e=>injectLifecycleHook(o,e,n,t))):injectLifecycleHook(o,r,n,t)}})),"page"===o)){t.__isVisible=!0;try{invokeHook(n,ON_LOAD,t.attrs.__pageQuery),delete t.attrs.__pageQuery,invokeHook(n,ON_SHOW)}catch(r){console.error(r.message+LINEFEED+r.stack)}}}function applyOptions(e,t,n){initHooks(e,t,n)}function set(e,t,n){return e[t]=n}function createErrorHandler(e){return function(t,n,o){if(!n)throw t;const r=e._instance;if(!r||!r.proxy)throw t;invokeHook(r.proxy,ON_ERROR,t)}}function mergeAsArray(e,t){return e?[...new Set([].concat(e,t))]:t}function initOptionMergeStrategies(e){UniLifecycleHooks.forEach((t=>{e[t]=mergeAsArray}))}function initApp$1(e){const t=e._context.config;isFunction$1(e._component.onError)&&(t.errorHandler=createErrorHandler(e)),initOptionMergeStrategies(t.optionMergeStrategies);const n=t.globalProperties;n.$set=set,n.$applyOptions=applyOptions,invokeCreateVueAppHook(e)}const pageMetaKey=PolySymbol("upm");function usePageMeta(){return inject(pageMetaKey)}function providePageMeta(e){const t=initPageMeta(e);return provide(pageMetaKey,t),t}function usePageRoute(){return useRoute()}function initPageMeta(e){return reactive(normalizePageMeta(JSON.parse(JSON.stringify(initRouteMeta(useRoute().meta,e)))))}function normalizePageMeta(e){{const{navigationBar:t}=e,{titleSize:n,titleColor:o,backgroundColor:r}=t;t.titleText=t.titleText||"",t.type=t.type||"default",t.titleSize=n||"16px",t.titleColor=o||"#ffffff",t.backgroundColor=r||"#F7F7F7"}if(history.state){const t=history.state.__type__;"redirectTo"!==t&&"reLaunch"!==t||0!==getCurrentPages$1().length||(e.isEntry=!0,e.isQuit=!0)}return e}function getStateId(){return history.state&&history.state.__id__||1}let tabBar;function useTabBar(){return tabBar||(tabBar=__uniConfig.tabBar&&reactive(initTabBarI18n(__uniConfig.tabBar))),tabBar}const supports=window.CSS&&window.CSS.supports;function cssSupports(e){return supports&&(supports(e)||supports.apply(window.CSS,e.split(":")))}const cssEnv=cssSupports("top:env(a)"),cssConstant=cssSupports("top:constant(a)"),envMethod=(()=>cssEnv?"env":cssConstant?"constant":"")();function updateCurPageCssVar(e){let t=0;["default","float"].indexOf(e.navigationBar.type)>-1&&(t=NAVBAR_HEIGHT),updatePageCssVar({"--window-top":normalizeWindowTop(t),"--window-bottom":normalizeWindowBottom(0)})}function normalizeWindowTop(e){return envMethod?`calc(${e}px + ${envMethod}(safe-area-inset-top))`:`${e}px`}function normalizeWindowBottom(e){return envMethod?`calc(${e}px + ${envMethod}(safe-area-inset-bottom))`:`${e}px`}const SEP="$$",currentPagesMap=new Map;function pruneCurrentPages(){currentPagesMap.forEach(((e,t)=>{e.$.isUnmounted&¤tPagesMap.delete(t)}))}function getCurrentPagesMap(){return currentPagesMap}function getCurrentPages$1(){const e=[],t=currentPagesMap.values();for(const n of t)n.$.__isTabBar?n.$.__isActive&&e.push(n):e.push(n);return e}function removeRouteCache(e){const t=pageCacheMap.get(e);t&&(pageCacheMap.delete(e),routeCache.pruneCacheEntry(t))}function removePage(e,t=!0){const n=currentPagesMap.get(e);n.$.__isUnload=!0,invokeHook(n,ON_UNLOAD),currentPagesMap.delete(e),t&&removeRouteCache(e)}let id=getStateId();function createPageState(e,t){return{__id__:t||++id,__type__:e}}function initPublicPage(e){const t=usePageMeta();let n=e.fullPath;return e.meta.isEntry&&-1===n.indexOf(e.meta.route)&&(n="/"+e.meta.route+n.replace("/","")),initPageInternalInstance("navigateTo",n,{},t)}function initPage(e){const t=initPublicPage(e.$route);initPageVm(e,t),currentPagesMap.set(normalizeRouteKey(t.path,t.id),e)}function normalizeRouteKey(e,t){return e+SEP+t}function useKeepAliveRoute(){const e=useRoute();return{routeKey:computed$1((()=>normalizeRouteKey("/"+e.meta.route,getStateId()))),isTabBar:computed$1((()=>e.meta.isTabBar)),routeCache:routeCache}}const pageCacheMap=new Map,routeCache={get:e=>pageCacheMap.get(e),set(e,t){pruneRouteCache(e),pageCacheMap.set(e,t)},delete(e){pageCacheMap.get(e)&&pageCacheMap.delete(e)},forEach(e){pageCacheMap.forEach(e)}};function pruneRouteCache(e){const t=parseInt(e.split(SEP)[1]);t&&routeCache.forEach(((e,n)=>{const o=parseInt(n.split(SEP)[1]);o&&o>t&&(routeCache.delete(n),routeCache.pruneCacheEntry(e),nextTick((()=>pruneCurrentPages())))}))}function updateCurPageAttrs(e){const t="nvue-dir-"+__uniConfig.nvue["flex-direction"];e.isNVue?(document.body.setAttribute("nvue",""),document.body.setAttribute(t,"")):(document.body.removeAttribute("nvue"),document.body.removeAttribute(t))}function onPageShow(e,t){updateBodyScopeId(e),updateCurPageCssVar(t),updateCurPageAttrs(t),initPageScrollListener(e,t)}function onPageReady(e){const t=getScopeId(e);t&&updateCurPageBodyScopeId(t)}function updateCurPageBodyScopeId(e){const t=document.querySelector("uni-page-body");t&&t.setAttribute(e,"")}function getScopeId(e){return e.type.__scopeId}let curScopeId,curScrollListener;function updateBodyScopeId(e){const t=getScopeId(e),{body:n}=document;curScopeId&&n.removeAttribute(curScopeId),t&&n.setAttribute(t,""),curScopeId=t}function initPageScrollListener(e,t){if(document.removeEventListener("touchmove",disableScrollListener),curScrollListener&&document.removeEventListener("scroll",curScrollListener),t.disableScroll)return document.addEventListener("touchmove",disableScrollListener);const{onPageScroll:n,onReachBottom:o}=e,r="transparent"===t.navigationBar.type;if(!n&&!o&&!r)return;const i={},a=e.proxy.$page.id;(n||r)&&(i.onPageScroll=createOnPageScroll(a,n,r)),o&&(i.onReachBottomDistance=t.onReachBottomDistance||ON_REACH_BOTTOM_DISTANCE,i.onReachBottom=()=>UniViewJSBridge$1.publishHandler(ON_REACH_BOTTOM,{},a)),curScrollListener=createScrollListener(i),requestAnimationFrame((()=>document.addEventListener("scroll",curScrollListener)))}function createOnPageScroll(e,t,n){return o=>{t&&UniViewJSBridge$1.publishHandler(ON_PAGE_SCROLL,{scrollTop:o},e),n&&UniViewJSBridge$1.emit(e+"."+ON_PAGE_SCROLL,{scrollTop:o})}}function initRouter(e){const t=createRouter(createRouterOptions());e.router=t,e.use(t)}const scrollBehavior=(e,t,n)=>{if(n)return n};function createRouterOptions(){return{history:initHistory(),strict:!!__uniConfig.router.strict,routes:__uniRoutes,scrollBehavior:scrollBehavior}}function removeCurrentPages(e=1){const t=getCurrentPages$1(),n=t.length-1,o=n-e;for(let r=n;r>o;r--){const e=t[r].$page;removePage(normalizeRouteKey(e.path,e.id),!1)}}function initHistory(){let{base:e}=__uniConfig.router;"/"===e&&(e="");const t=createWebHistory(e);return t.listen(((e,t,n)=>{"back"===n.direction&&removeCurrentPages(Math.abs(n.delta))})),t}var index$g={install(e){initApp$1(e),initViewPlugin(e),initServicePlugin(e),e.config.warnHandler=warnHandler,initRouter(e)}};function warnHandler(e,t,n){if(t){if("PageMetaHead"===t.$.type.name)return;const e=t.$.parent;if(e&&"PageMeta"===e.type.name)return}const o=[`[Vue warn]: ${e}`];n.length&&o.push("\n",n),console.warn(...o)}let appVm;function getApp$1(){return appVm}function initApp(e){appVm=e,initAppVm(appVm),defineGlobalData(appVm),initService(),initView()}function wrapperComponentSetup(e,{clone:t,init:n,setup:o,before:r}){t&&(e=extend$1({},e)),r&&r(e);const i=e.setup;return e.setup=(e,t)=>{const r=getCurrentInstance();n(r.proxy);const a=o(r);if(i)return i(a||e,t)},e}function setupComponent(e,t){return e&&(e.__esModule||"Module"===e[Symbol.toStringTag])?wrapperComponentSetup(e.default,t):wrapperComponentSetup(e,t)}function setupPage(e){return setupComponent(e,{clone:!0,init:initPage,setup(e){e.$pageInstance=e;const t=decodedQuery(usePageRoute().query);e.attrs.__pageQuery=t,e.proxy.$page.options=t;const n=usePageMeta();return onBeforeMount((()=>{onPageShow(e,n)})),onMounted((()=>{onPageReady(e);const{onReady:t}=e;t&&invokeArrayFns$1(t)})),onBeforeActivate((()=>{if(!e.__isVisible){onPageShow(e,n),e.__isVisible=!0;const{onShow:t}=e;t&&invokeArrayFns$1(t)}})),onBeforeDeactivate((()=>{if(e.__isVisible&&!e.__isUnload){e.__isVisible=!1;const{onHide:t}=e;t&&invokeArrayFns$1(t)}})),subscribeViewMethod(n.id),onBeforeUnmount((()=>{unsubscribeViewMethod(n.id)})),t}})}function setupApp(e){return setupComponent(e,{init:initApp,setup(e){const t=usePageRoute(),n=()=>{injectAppHooks(e);const{onLaunch:n,onShow:o,onPageNotFound:r}=e,i=initLaunchOptions({path:t.path.slice(1)||__uniRoutes[0].meta.route,query:decodedQuery(t.query)});if(n&&invokeArrayFns$1(n,i),o&&invokeArrayFns$1(o,i),!t.matched.length){const e={notFound:!0,openType:"appLaunch",path:t.path,query:{},scene:1001};r&&invokeArrayFns$1(r,e)}};return useRouter().isReady().then(n),onMounted((()=>{window.addEventListener("resize",debounce$1(onResize,50,{setTimeout:setTimeout,clearTimeout:clearTimeout})),window.addEventListener("message",onMessage),document.addEventListener("visibilitychange",onVisibilityChange)})),t.query},before(e){e.mpType="app";const{setup:t}=e,n=()=>(openBlock(),createBlock(LayoutComponent));e.setup=(e,o)=>{const r=t&&t(e,o);return isFunction$1(r)?n:r},e.render=n}})}function onResize(){const{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}=getSystemInfoSync(),r=90===Math.abs(Number(window.orientation))?"landscape":"portrait";UniServiceJSBridge$1.emit(ON_RESIZE,{deviceOrientation:r,size:{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}})}function onMessage(e){isPlainObject$2(e.data)&&e.data.type===WEB_INVOKE_APPSERVICE&&UniServiceJSBridge$1.emit(ON_WEB_INVOKE_APP_SERVICE,e.data.data,e.data.pageId)}function onVisibilityChange(){const{emit:e}=UniServiceJSBridge$1;"visible"===document.visibilityState?e(ON_APP_ENTER_FOREGROUND,getEnterOptions()):e(ON_APP_ENTER_BACKGROUND)}const onWebInvokeAppService=({name:e,arg:t})=>{"postMessage"===e||uni[e](t)},Invoke=once((()=>UniServiceJSBridge$1.on(ON_WEB_INVOKE_APP_SERVICE,onWebInvokeAppService))),props$f={src:{type:String,default:""},fullscreen:{type:Boolean,default:!0}};var index$e=defineBuiltInComponent({inheritAttrs:!1,name:"WebView",props:props$f,setup(e){Invoke();const t=ref(null),n=ref(null),{$attrs:o,$excludeAttrs:r,$listeners:i}=useAttrs({excludeListeners:!0});let a;return(()=>{const r=document.createElement("iframe");watchEffect((()=>{for(const e in o.value)if(hasOwn$1(o.value,e)){const t=o.value[e];r[e]=t}})),watchEffect((()=>{r.src=getRealPath(e.src)})),n.value=r,a=useWebViewSize(t,n,e.fullscreen),e.fullscreen&&document.body.appendChild(r)})(),onMounted((()=>{var o;a(),!e.fullscreen&&(null==(o=t.value)||o.appendChild(n.value))})),onActivated((()=>{e.fullscreen&&(n.value.style.display="block")})),onDeactivated((()=>{e.fullscreen&&(n.value.style.display="none")})),onBeforeUnmount((()=>{e.fullscreen&&document.body.removeChild(n.value)})),()=>createVNode(Fragment,null,[createVNode("uni-web-view",mergeProps({class:e.fullscreen?"uni-webview--fullscreen":""},i.value,r.value,{ref:t}),[createVNode(ResizeSensor,{onResize:a},null,8,["onResize"])],16)])}});function useWebViewSize(e,t,n){return()=>{var o,r;if(n){const{top:n,left:o,width:r,height:i}=e.value.getBoundingClientRect();updateElementStyle(t.value,{position:"absolute",display:"block",border:"0",top:n+"px",left:o+"px",width:r+"px",height:i+"px"})}else updateElementStyle(t.value,{width:(null==(o=e.value)?void 0:o.style.width)||"300px",height:(null==(r=e.value)?void 0:r.style.height)||"150px"})}}const UUID_KEY="__DC_STAT_UUID",storage=window.localStorage||window.sessionStorage||{};let deviceId;function deviceId$1(){if(deviceId=deviceId||storage[UUID_KEY],!deviceId){deviceId=Date.now()+""+Math.floor(1e7*Math.random());try{storage[UUID_KEY]=deviceId}catch(e){}}return deviceId}function IEVersion(){const e=navigator.userAgent,t=e.indexOf("compatible")>-1&&e.indexOf("MSIE")>-1,n=e.indexOf("Edge")>-1&&!t,o=e.indexOf("Trident")>-1&&e.indexOf("rv:11.0")>-1;if(t){new RegExp("MSIE (\\d+\\.\\d+);").test(e);const t=parseFloat(RegExp.$1);return t>6?t:6}return n?-1:o?11:-1}function getBrowserInfo(){let e,t="0",n="",o="phone";const r=navigator.language;if(isIOS$1){e="iOS";const o=ua.match(/OS\s([\w_]+)\slike/);o&&(t=o[1].replace(/_/g,"."));const r=ua.match(/\(([a-zA-Z]+);/);r&&(n=r[1])}else if(isAndroid){e="Android";const o=ua.match(/Android[\s/]([\w\.]+)[;\s]/);o&&(t=o[1]);const r=ua.match(/\((.+?)\)/),i=r?r[1].split(";"):ua.split(" "),a=[/\bAndroid\b/i,/\bLinux\b/i,/\bU\b/i,/^\s?[a-z][a-z]$/i,/^\s?[a-z][a-z]-[a-z][a-z]$/i,/\bwv\b/i,/\/[\d\.,]+$/,/^\s?[\d\.,]+$/,/\bBrowser\b/i,/\bMobile\b/i];for(let e=0;e0){n=t.split("Build")[0].trim();break}let o;for(let e=0;e{const e=window.devicePixelRatio,t=getScreenFix(),n=isLandscape(t),o=getScreenWidth(t,n),r=getScreenHeight(t,n),i=getWindowWidth(o);let a=window.innerHeight;const s=out.top,c={left:out.left,right:i-out.right,top:out.top,bottom:a-out.bottom,width:i-out.left-out.right,height:a-out.top-out.bottom},{top:l,bottom:u}=getWindowOffset();return a-=l,a-=u,{windowTop:l,windowBottom:u,windowWidth:i,windowHeight:a,pixelRatio:e,screenWidth:o,screenHeight:r,statusBarHeight:s,safeArea:c,safeAreaInsets:{top:out.top,right:out.right,bottom:out.bottom,left:out.left},screenTop:r-a}}));let browserInfo,_initBrowserInfo=!0;function initBrowserInfo(){_initBrowserInfo&&(browserInfo=getBrowserInfo())}const getDeviceInfo=defineSyncApi("getDeviceInfo",(()=>{initBrowserInfo();const{deviceBrand:e,deviceModel:t,brand:n,model:o,platform:r,system:i,deviceOrientation:a,deviceType:s}=browserInfo;return{brand:n,deviceBrand:e,deviceModel:t,devicePixelRatio:window.devicePixelRatio,deviceId:deviceId$1(),deviceOrientation:a,deviceType:s,model:o,platform:r,system:i}})),getAppBaseInfo=defineSyncApi("getAppBaseInfo",(()=>{initBrowserInfo();const{theme:e,language:t,browserName:n,browserVersion:o}=browserInfo;return{appId:__uniConfig.appId,appName:__uniConfig.appName,appVersion:__uniConfig.appVersion,appVersionCode:__uniConfig.appVersionCode,appLanguage:getLocale?getLocale():t,enableDebug:!1,hostSDKVersion:void 0,hostPackageName:void 0,hostFontSizeSetting:void 0,hostName:n,hostVersion:o,hostTheme:e,hostLanguage:t,language:t,SDKVersion:"",theme:e,version:""}})),getSystemInfoSync=defineSyncApi("getSystemInfoSync",(()=>{_initBrowserInfo=!0,initBrowserInfo(),_initBrowserInfo=!1;const e=getWindowInfo(),t=getDeviceInfo(),n=getAppBaseInfo();_initBrowserInfo=!0;const{ua:o,browserName:r,browserVersion:i,osname:a,osversion:s}=browserInfo,c=extend$1(e,t,n,{ua:o,browserName:r,browserVersion:i,uniPlatform:"web",uniCompileVersion:__uniConfig.compilerVersion,uniRuntimeVersion:__uniConfig.compilerVersion,fontSizeSetting:void 0,osName:a.toLocaleLowerCase(),osVersion:s,osLanguage:void 0,osTheme:void 0});return delete c.screenTop,delete c.enableDebug,delete c.theme,sortObject(c)})),_isSupport=!!window.navigator.vibrate,vibrateShort=defineAsyncApi(API_VIBRATE_SHORT,((e,{resolve:t,reject:n})=>{_isSupport&&window.navigator.vibrate(15)?t():n("vibrateLong:fail")})),KEY_MAPS={esc:["Esc","Escape"],enter:["Enter"]},KEYS=Object.keys(KEY_MAPS);function useKeyboard(){const e=ref(""),t=ref(!1),n=n=>{if(t.value)return;const o=KEYS.find((e=>-1!==KEY_MAPS[e].indexOf(n.key)));o&&(e.value=o),nextTick((()=>e.value=""))};return onMounted((()=>{document.addEventListener("keyup",n)})),onBeforeUnmount((()=>{document.removeEventListener("keyup",n)})),{key:e,disable:t}}const VNODE_MASK=createVNode("div",{class:"uni-mask"},null,-1);function createRootApp(e,t,n){return t.onClose=(...e)=>(t.visible=!1,n.apply(null,e)),createApp$1(defineComponent({setup:()=>()=>(openBlock(),createBlock(e,t,null,16))}))}function ensureRoot(e){let t=document.getElementById(e);return t||(t=document.createElement("div"),t.id=e,document.body.append(t)),t}function usePopup(e,{onEsc:t,onEnter:n}){const o=ref(e.visible),{key:r,disable:i}=useKeyboard();return watch((()=>e.visible),(e=>o.value=e)),watch((()=>o.value),(e=>i.value=!e)),watchEffect((()=>{const{value:e}=r;"esc"===e?t&&t():"enter"===e&&n&&n()})),o}const props$a={title:{type:String,default:""},content:{type:String,default:""},showCancel:{type:Boolean,default:!0},cancelText:{type:String,default:"Cancel"},cancelColor:{type:String,default:"#000000"},confirmText:{type:String,default:"OK"},confirmColor:{type:String,default:"#007aff"},visible:{type:Boolean},editable:{type:Boolean,default:!1},placeholderText:{type:String,default:""}};var modal=defineComponent({props:props$a,setup(e,{emit:t}){const n=ref(""),o=()=>a.value=!1,r=()=>(o(),t("close","cancel")),i=()=>(o(),t("close","confirm",n.value)),a=usePopup(e,{onEsc:r,onEnter:()=>{!e.editable&&i()}});return()=>{const{title:t,content:o,showCancel:s,confirmText:c,confirmColor:l,editable:u,placeholderText:d}=e;return n.value=o,createVNode(Transition,{name:"uni-fade"},{default:()=>[withDirectives(createVNode("uni-modal",{onTouchmove:onEventPrevent},[VNODE_MASK,createVNode("div",{class:"uni-modal"},[t&&createVNode("div",{class:"uni-modal__hd"},[createVNode("strong",{class:"uni-modal__title",textContent:t},null,8,["textContent"])]),u?createVNode("textarea",{class:"uni-modal__textarea",rows:"1",placeholder:d,value:o,onInput:e=>n.value=e.target.value},null,40,["placeholder","value","onInput"]):createVNode("div",{class:"uni-modal__bd",onTouchmovePassive:onEventStop,textContent:o},null,40,["onTouchmovePassive","textContent"]),createVNode("div",{class:"uni-modal__ft"},[s&&createVNode("div",{style:{color:e.cancelColor},class:"uni-modal__btn uni-modal__btn_default",onClick:r},[e.cancelText],12,["onClick"]),createVNode("div",{style:{color:l},class:"uni-modal__btn uni-modal__btn_primary",onClick:i},[c],12,["onClick"])])])],40,["onTouchmove"]),[[vShow,a.value]])]})}}});let showModalState;const onHidePopupOnce$1=once((()=>{UniServiceJSBridge$1.on("onHidePopup",(()=>showModalState.visible=!1))}));let currentShowModalResolve;function onModalClose(e,t){const n="confirm"===e,o={confirm:n,cancel:"cancel"===e};n&&showModalState.editable&&(o.content=t),currentShowModalResolve&¤tShowModalResolve(o)}const showModal=defineAsyncApi(API_SHOW_MODAL,((e,{resolve:t})=>{onHidePopupOnce$1(),currentShowModalResolve=t,showModalState?(extend$1(showModalState,e),showModalState.visible=!0):(showModalState=reactive(e),nextTick((()=>(createRootApp(modal,showModalState,onModalClose).mount(ensureRoot("u-a-m")),nextTick((()=>showModalState.visible=!0))))))}),ShowModalProtocol,ShowModalOptions);function parseValue(e){const t=["object","string","number","boolean","undefined"];try{const n=isString(e)?JSON.parse(e):e,o=n.type;if(t.indexOf(o)>=0){const e=Object.keys(n);if(2===e.length&&"data"in n){if(typeof n.data===o)return n.data;if("object"===o&&/^\d{4}-\d{2}-\d{2}T\d{2}\:\d{2}\:\d{2}\.\d{3}Z$/.test(n.data))return new Date(n.data)}else if(1===e.length)return""}}catch(n){}}const setStorageSync=defineSyncApi(API_SET_STORAGE_SYNC,((e,t)=>{const n=typeof t,o="string"===n?t:JSON.stringify({type:n,data:t});localStorage.setItem(e,o)})),setStorage=defineAsyncApi(API_SET_STORAGE,(({key:e,data:t},{resolve:n,reject:o})=>{try{setStorageSync(e,t),n()}catch(r){o(r.message)}}));function getStorageOrigin(e){const t=localStorage&&localStorage.getItem(e);if(!isString(t))throw new Error("data not found");let n=t;try{const e=parseValue(JSON.parse(t));void 0!==e&&(n=e)}catch(o){}return n}const getStorageSync=defineSyncApi(API_GET_STORAGE_SYNC,((e,t)=>{try{return getStorageOrigin(e)}catch(n){return""}})),removeStorageSync=defineSyncApi(API_REMOVE_STORAGE,(e=>{localStorage&&localStorage.removeItem(e)})),hideKeyboard=defineAsyncApi(API_HIDE_KEYBOARD,((e,{resolve:t,reject:n})=>{const o=document.activeElement;!o||"TEXTAREA"!==o.tagName&&"INPUT"!==o.tagName||(o.blur(),t())}));function getServiceAddress(){return window.location.protocol+"//"+window.location.host}const getImageInfo=defineAsyncApi(API_GET_IMAGE_INFO,(({src:e},{resolve:t,reject:n})=>{const o=new Image;o.onload=function(){t({width:o.naturalWidth,height:o.naturalHeight,path:0===e.indexOf("/")?getServiceAddress()+e:e})},o.onerror=function(){n()},o.src=e}),GetImageInfoProtocol,GetImageInfoOptions),MIMEType={image:{jpg:"jpeg",jpe:"jpeg",pbm:"x-portable-bitmap",pgm:"x-portable-graymap",pnm:"x-portable-anymap",ppm:"x-portable-pixmap",psd:"vnd.adobe.photoshop",pic:"x-pict",rgb:"x-rgb",svg:"svg+xml",svgz:"svg+xml",tif:"tiff",xif:"vnd.xiff",wbmp:"vnd.wap.wbmp",wdp:"vnd.ms-photo",xbm:"x-xbitmap",ico:"x-icon"},video:{"3g2":"3gpp2","3gp":"3gpp",avi:"x-msvideo",f4v:"x-f4v",flv:"x-flv",jpgm:"jpm",jpgv:"jpeg",m1v:"mpeg",m2v:"mpeg",mpe:"mpeg",mpg:"mpeg",mpg4:"mpeg",m4v:"x-m4v",mkv:"x-matroska",mov:"quicktime",qt:"quicktime",movie:"x-sgi-movie",mp4v:"mp4",ogv:"ogg",smv:"x-smv",wm:"x-ms-wm",wmv:"x-ms-wmv",wmx:"x-ms-wmx",wvx:"x-ms-wvx"}},ALL="all";function isWXEnv(){const e=window.navigator.userAgent.toLowerCase().match(/MicroMessenger/i);return!(!e||"micromessenger"!==e[0])}function _createInput({count:e,sourceType:t,type:n,extension:o}){const r=document.createElement("input");return r.type="file",updateElementStyle(r,{position:"absolute",visibility:"hidden",zIndex:"-999",width:"0",height:"0",top:"0",left:"0"}),r.accept=o.map((e=>{if(n!==ALL){const t=e.replace(".","");return`${n}/${MIMEType[n][t]||t}`}return isWXEnv()?".":0===e.indexOf(".")?e:`.${e}`})).join(","),e&&e>1&&(r.multiple=!0),n!==ALL&&t instanceof Array&&1===t.length&&"camera"===t[0]&&r.setAttribute("capture","camera"),r}addInteractListener();let imageInput=null;const chooseImage=defineAsyncApi(API_CHOOSE_IMAGE,(({count:e,sourceType:t,extension:n},{resolve:o,reject:r})=>{initI18nChooseFileMsgsOnce();const{t:i}=useI18n();imageInput&&(document.body.removeChild(imageInput),imageInput=null),imageInput=_createInput({count:e,sourceType:t,extension:n,type:"image"}),document.body.appendChild(imageInput),imageInput.addEventListener("change",(function(t){const n=t.target,r=[];if(n&&n.files){const t=n.files.length;for(let o=0;o(i=i||fileToUrl(t),i)}),oe))},tempFiles:r})})),imageInput.click(),getInteractStatus()||console.warn(i("uni.chooseFile.notUserActivation"))}),ChooseImageProtocol,ChooseImageOptions);let index$d=0,overflow="";function preventScroll(e){let t=index$d;index$d+=e?1:-1,index$d=Math.max(0,index$d),index$d>0?0===t&&(overflow=document.body.style.overflow,document.body.style.overflow="hidden"):(document.body.style.overflow=overflow,overflow="")}function usePreventScroll(){onMounted((()=>preventScroll(!0))),onUnmounted((()=>preventScroll(!1)))}const props$9={src:{type:String,default:""}};var ImageView=defineSystemComponent({name:"ImageView",props:props$9,setup(e){const t=reactive({direction:"none"});let n=1,o=0,r=0,i=0,a=0;function s({detail:e}){n=e.scale}function c(e){const t=e.target.getBoundingClientRect();o=t.width,r=t.height}function l(e){const t=e.target.getBoundingClientRect();i=t.width,a=t.height,d(e)}function u(e){const s=n*o>i,c=n*r>a;t.direction=s&&c?"all":s?"horizontal":c?"vertical":"none",d(e)}function d(e){"all"!==t.direction&&"horizontal"!==t.direction||e.stopPropagation()}return()=>{const n={position:"absolute",left:"0",top:"0",width:"100%",height:"100%"};return createVNode(MovableArea,{style:n,onTouchstart:withWebEvent(l),onTouchmove:withWebEvent(d),onTouchend:withWebEvent(u)},{default:()=>[createVNode(MovableView,{style:n,direction:t.direction,inertia:!0,scale:!0,"scale-min":"1","scale-max":"4",onScale:s},{default:()=>[createVNode("img",{src:e.src,style:{position:"absolute",left:"50%",top:"50%",transform:"translate(-50%, -50%)",maxHeight:"100%",maxWidth:"100%"},onLoad:c},null,40,["src","onLoad"])]},8,["style","direction","inertia","scale","onScale"])]},8,["style","onTouchstart","onTouchmove","onTouchend"])}}});function _isSlot$2(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!isVNode(e)}const props$8={urls:{type:Array,default:()=>[]},current:{type:[Number,String],default:0}};function getIndex(e){let t="number"==typeof e.current?e.current:e.urls.indexOf(e.current);return t=t<0?0:t,t}var ImagePreview=defineSystemComponent({name:"ImagePreview",props:props$8,emits:["close"],setup(e,{emit:t}){usePreventScroll();const n=ref(null),o=ref(getIndex(e));let r;function i(){r||nextTick((()=>{t("close")}))}function a(e){o.value=e.detail.current}return watch((()=>e.current),(()=>o.value=getIndex(e))),onMounted((()=>{const e=n.value;let t=0,o=0;e.addEventListener("mousedown",(e=>{r=!1,t=e.clientX,o=e.clientY})),e.addEventListener("mouseup",(e=>{(Math.abs(e.clientX-t)>20||Math.abs(e.clientY-o)>20)&&(r=!0)}))})),()=>{let t;return createVNode("div",{ref:n,style:{display:"block",position:"fixed",left:"0",top:"0",width:"100%",height:"100%",zIndex:999,background:"rgba(0,0,0,0.8)"},onClick:i},[createVNode(Swiper,{current:o.value,onChange:a,"indicator-dots":!1,autoplay:!1,style:{position:"absolute",left:"0",top:"0",width:"100%",height:"100%"}},_isSlot$2(t=e.urls.map((e=>createVNode(SwiperItem,null,{default:()=>[createVNode(ImageView,{src:e},null,8,["src"])]}))))?t:{default:()=>[t],_:1},8,["current","onChange"])],8,["onClick"])}}});let state$2=null,imagePreviewInstance;const closePreviewImageView=()=>{state$2=null,nextTick((()=>{null==imagePreviewInstance||imagePreviewInstance.unmount(),imagePreviewInstance=null}))},previewImage=defineAsyncApi(API_PREVIEW_IMAGE,((e,{resolve:t})=>{state$2?extend$1(state$2,e):(state$2=reactive(e),nextTick((()=>{imagePreviewInstance=createRootApp(ImagePreview,state$2,closePreviewImageView),imagePreviewInstance.mount(ensureRoot("u-a-p"))}))),t()}),PreviewImageProtocol,PreviewImageOptions),request$1=defineTaskApi(API_REQUEST,(({url:e,data:t,header:n,method:o,dataType:r,responseType:i,withCredentials:a,timeout:s=__uniConfig.networkTimeout.request},{resolve:c,reject:l})=>{let u=null;const d=normalizeContentType(n);if("GET"!==o)if(isString(t)||t instanceof ArrayBuffer)u=t;else if("json"===d)try{u=JSON.stringify(t)}catch(g){u=t.toString()}else if("urlencoded"===d){const e=[];for(const n in t)hasOwn$1(t,n)&&e.push(encodeURIComponent(n)+"="+encodeURIComponent(t[n]));u=e.join("&")}else u=t.toString();const f=new XMLHttpRequest,p=new RequestTask(f);f.open(o,e);for(const m in n)hasOwn$1(n,m)&&f.setRequestHeader(m,n[m]);const h=setTimeout((function(){f.onload=f.onabort=f.onerror=null,p.abort(),l("timeout")}),s);return f.responseType=i,f.onload=function(){clearTimeout(h);const e=f.status;let t="text"===i?f.responseText:f.response;if("text"===i&&"json"===r)try{t=JSON.parse(t)}catch(g){}c({data:t,statusCode:e,header:parseHeaders(f.getAllResponseHeaders()),cookies:[]})},f.onabort=function(){clearTimeout(h),l("abort")},f.onerror=function(){clearTimeout(h),l()},f.withCredentials=a,f.send(u),p}),RequestProtocol,RequestOptions);function normalizeContentType(e){const t=Object.keys(e).find((e=>"content-type"===e.toLowerCase()));if(!t)return;const n=e[t];return 0===n.indexOf("application/json")?"json":0===n.indexOf("application/x-www-form-urlencoded")?"urlencoded":"string"}class RequestTask{constructor(e){this._xhr=e}abort(){this._xhr&&(this._xhr.abort(),delete this._xhr)}onHeadersReceived(e){throw new Error("Method not implemented.")}offHeadersReceived(e){throw new Error("Method not implemented.")}}function parseHeaders(e){const t={};return e.split(LINEFEED).forEach((e=>{const n=e.match(/(\S+\s*):\s*(.*)/);n&&3===n.length&&(t[n[1]]=n[2])})),t}class DownloadTask{constructor(e){this._callbacks=[],this._xhr=e}onProgressUpdate(e){isFunction$1(e)&&this._callbacks.push(e)}offProgressUpdate(e){const t=this._callbacks.indexOf(e);t>=0&&this._callbacks.splice(t,1)}abort(){this._xhr&&(this._xhr.abort(),delete this._xhr)}onHeadersReceived(e){throw new Error("Method not implemented.")}offHeadersReceived(e){throw new Error("Method not implemented.")}}const downloadFile=defineTaskApi(API_DOWNLOAD_FILE,(({url:e,header:t,timeout:n=__uniConfig.networkTimeout.downloadFile},{resolve:o,reject:r})=>{var i,a=new XMLHttpRequest,s=new DownloadTask(a);return a.open("GET",e,!0),Object.keys(t).forEach((e=>{a.setRequestHeader(e,t[e])})),a.responseType="blob",a.onload=function(){clearTimeout(i);const t=a.status,n=this.response;let r;const s=a.getResponseHeader("content-disposition");if(s){const e=s.match(/filename="?(\S+)"?\b/);e&&(r=e[1])}n.name=r||getFileName(e),o({statusCode:t,tempFilePath:fileToUrl(n)})},a.onabort=function(){clearTimeout(i),r("abort")},a.onerror=function(){clearTimeout(i),r()},a.onprogress=function(e){s._callbacks.forEach((t=>{var n=e.loaded,o=e.total;t({progress:Math.round(n/o*100),totalBytesWritten:n,totalBytesExpectedToWrite:o})}))},a.send(),i=setTimeout((function(){a.onprogress=a.onload=a.onabort=a.onerror=null,s.abort(),r("timeout")}),n),s}),DownloadFileProtocol,DownloadFileOptions);class UploadTask{constructor(e){this._callbacks=[],this._xhr=e}onProgressUpdate(e){isFunction$1(e)&&this._callbacks.push(e)}offProgressUpdate(e){const t=this._callbacks.indexOf(e);t>=0&&this._callbacks.splice(t,1)}abort(){this._isAbort=!0,this._xhr&&(this._xhr.abort(),delete this._xhr)}onHeadersReceived(e){throw new Error("Method not implemented.")}offHeadersReceived(e){throw new Error("Method not implemented.")}}const uploadFile=defineTaskApi(API_UPLOAD_FILE,(({url:e,file:t,filePath:n,name:o,files:r,header:i,formData:a,timeout:s=__uniConfig.networkTimeout.uploadFile},{resolve:c,reject:l})=>{var u=new UploadTask;return isArray$4(r)&&r.length||(r=[{name:o,file:t,uri:n}]),Promise.all(r.map((({file:e,uri:t})=>e instanceof Blob?Promise.resolve(blobToFile(e)):urlToFile(t)))).then((function(t){var n,o=new XMLHttpRequest,d=new FormData;Object.keys(a).forEach((e=>{d.append(e,a[e])})),Object.values(r).forEach((({name:e},n)=>{const o=t[n];d.append(e||"file",o,o.name||`file-${Date.now()}`)})),o.open("POST",e),Object.keys(i).forEach((e=>{o.setRequestHeader(e,i[e])})),o.upload.onprogress=function(e){u._callbacks.forEach((t=>{var n=e.loaded,o=e.total;t({progress:Math.round(n/o*100),totalBytesSent:n,totalBytesExpectedToSend:o})}))},o.onerror=function(){clearTimeout(n),l()},o.onabort=function(){clearTimeout(n),l("abort")},o.onload=function(){clearTimeout(n);const e=o.status;c({statusCode:e,data:o.responseText||o.response})},u._isAbort?l("abort"):(n=setTimeout((function(){o.upload.onprogress=o.onload=o.onabort=o.onerror=null,u.abort(),l("timeout")}),s),o.send(d),u._xhr=o)})).catch((()=>{setTimeout((()=>{l("file error")}),0)})),u}),UploadFileProtocol,UploadFileOptions),navigateBack=defineAsyncApi(API_NAVIGATE_BACK,((e,{resolve:t,reject:n})=>{let o=!0;return!0===invokeHook(ON_BACK_PRESS,{from:e.from||"navigateBack"})&&(o=!1),o?(getApp$1().$router.go(-e.delta),t()):n(ON_BACK_PRESS)}),NavigateBackProtocol,NavigateBackOptions);function navigate({type:e,url:t,events:n},o){const r=getApp$1().$router,{path:i,query:a}=parseUrl(t);return new Promise(((t,s)=>{const c=createPageState(e,o);r["navigateTo"===e?"push":"replace"]({path:i,query:a,state:c,force:!0}).then((o=>{if(isNavigationFailure(o))return s(o.message);if("navigateTo"===e){const e=new EventChannel(c.__id__,n);return r.currentRoute.value.meta.eventChannel=e,t({eventChannel:e})}return t()}))}))}const navigateTo=defineAsyncApi(API_NAVIGATE_TO,(({url:e,events:t},{resolve:n,reject:o})=>navigate({type:API_NAVIGATE_TO,url:e,events:t}).then(n).catch(o)),NavigateToProtocol,NavigateToOptions);function removeLastPage(){const e=getCurrentPage();if(!e)return;const t=e.$page;removePage(normalizeRouteKey(t.path,t.id))}const redirectTo=defineAsyncApi(API_REDIRECT_TO,(({url:e},{resolve:t,reject:n})=>(removeLastPage(),navigate({type:API_REDIRECT_TO,url:e}).then(t).catch(n))),RedirectToProtocol,RedirectToOptions);function removeAllPages(){const e=getCurrentPagesMap().keys();for(const t of e)removePage(t)}const reLaunch=defineAsyncApi(API_RE_LAUNCH,(({url:e},{resolve:t,reject:n})=>(removeAllPages(),navigate({type:API_RE_LAUNCH,url:e}).then(t).catch(n))),ReLaunchProtocol,ReLaunchOptions);function removeNonTabBarPages(){const e=getCurrentPageVm();if(!e)return;const t=getCurrentPagesMap(),n=t.keys();for(const o of n){const e=t.get(o);e.$.__isTabBar?e.$.__isActive=!1:removePage(o)}e.$.__isTabBar&&(e.$.__isVisible=!1,invokeHook(e,ON_HIDE))}function isSamePage(e,t){return e===t.fullPath}function getTabBarPageId(e){const t=getCurrentPagesMap().values();for(const n of t){const t=n.$page;if(isSamePage(e,t))return n.$.__isActive=!0,t.id}}const switchTab=defineAsyncApi(API_SWITCH_TAB,(({url:e},{resolve:t,reject:n})=>(removeNonTabBarPages(),navigate({type:API_SWITCH_TAB,url:e},getTabBarPageId(e)).then(t).catch(n))),SwitchTabProtocol,SwitchTabOptions),props$5={title:{type:String,default:""},icon:{default:"success",validator:e=>-1!==SHOW_TOAST_ICON.indexOf(e)},image:{type:String,default:""},duration:{type:Number,default:1500},mask:{type:Boolean,default:!1},visible:{type:Boolean}},ToastIconClassName="uni-toast__icon";var Toast=defineComponent({name:"Toast",props:props$5,setup(e){initI18nShowToastMsgsOnce(),initI18nShowLoadingMsgsOnce();const{Icon:t}=useToastIcon(e),n=usePopup(e,{});return()=>{const{mask:o,duration:r,title:i,image:a}=e;return createVNode(Transition,{name:"uni-fade"},{default:()=>[withDirectives(createVNode("uni-toast",{"data-duration":r},[o?createVNode("div",{class:"uni-mask",style:"background: transparent;",onTouchmove:onEventPrevent},null,40,["onTouchmove"]):"",a||t.value?createVNode("div",{class:"uni-toast"},[a?createVNode("img",{src:a,class:ToastIconClassName},null,10,["src"]):t.value,createVNode("p",{class:"uni-toast__content"},[i])]):createVNode("div",{class:"uni-sample-toast"},[createVNode("p",{class:"uni-simple-toast__text"},[i])])],8,["data-duration"]),[[vShow,n.value]])]})}}});function useToastIcon(e){return{Icon:computed$1((()=>{switch(e.icon){case"success":return createVNode(createSvgIconVNode(ICON_PATH_SUCCESS_NO_CIRCLE,"#fff",38),{class:ToastIconClassName});case"error":return createVNode(createSvgIconVNode(ICON_PATH_WARN,"#fff",38),{class:ToastIconClassName});case"loading":return createVNode("i",{class:[ToastIconClassName,"uni-loading"]},null,2);default:return null}}))}}let showToastState,showType="",timeoutId;const scope=effectScope();function watchVisible(){scope.run((()=>{watch([()=>showToastState.visible,()=>showToastState.duration],(([e,t])=>{if(e){if(timeoutId&&clearTimeout(timeoutId),"onShowLoading"===showType)return;timeoutId=setTimeout((()=>{hidePopup("onHideToast")}),t)}else timeoutId&&clearTimeout(timeoutId)}))}))}function createToast(e){showToastState?extend$1(showToastState,e):(showToastState=reactive(extend$1(e,{visible:!1})),nextTick((()=>{watchVisible(),UniServiceJSBridge$1.on("onHidePopup",(()=>hidePopup("onHidePopup"))),createRootApp(Toast,showToastState,(()=>{})).mount(ensureRoot("u-a-t"))}))),setTimeout((()=>{showToastState.visible=!0}),10)}const showToast=defineAsyncApi(API_SHOW_TOAST,((e,{resolve:t,reject:n})=>{createToast(e),showType="onShowToast",t()}),ShowToastProtocol,ShowToastOptions),showLoadingDefaultState={icon:"loading",duration:1e8,image:""},showLoading=defineAsyncApi(API_SHOW_LOADING,((e,{resolve:t,reject:n})=>{extend$1(e,showLoadingDefaultState),createToast(e),showType="onShowLoading",t()}),ShowLoadingProtocol,ShowLoadingOptions),hideLoading=defineAsyncApi(API_HIDE_LOADING,((e,{resolve:t,reject:n})=>{hidePopup("onHideLoading"),t()}));function hidePopup(e){const{t:t}=useI18n();if(!showType)return;let n="";if("onHideToast"===e&&"onShowToast"!==showType?n=t("uni.showToast.unpaired"):"onHideLoading"===e&&"onShowLoading"!==showType&&(n=t("uni.showLoading.unpaired")),n)return console.warn(n);showType="",setTimeout((()=>{showToastState.visible=!1}),10)}function updateDocumentTitle(e){document.title=e,UniServiceJSBridge$1.emit(ON_NAVIGATION_BAR_CHANGE,{titleText:e})}function useDocumentTitle(e){function t(){updateDocumentTitle(e.navigationBar.titleText)}watchEffect(t),onActivated(t)}function setNavigationBar(e,t,n,o,r){if(!e)return r("page not found");const{navigationBar:i}=e;switch(t){case API_SET_NAVIGATION_BAR_COLOR:const{frontColor:e,backgroundColor:t,animation:o}=n,{duration:r,timingFunc:a}=o;e&&(i.titleColor="#000000"===e?"#000000":"#ffffff"),t&&(i.backgroundColor=t),i.duration=r+"ms",i.timingFunc=a;break;case API_SHOW_NAVIGATION_BAR_LOADING:i.loading=!0;break;case API_HIDE_NAVIGATION_BAR_LOADING:i.loading=!1;break;case API_SET_NAVIGATION_BAR_TITLE:const{title:s}=n;i.titleText=s}o()}const setNavigationBarColor=defineAsyncApi(API_SET_NAVIGATION_BAR_COLOR,((e,{resolve:t,reject:n})=>{setNavigationBar(getCurrentPageMeta(),API_SET_NAVIGATION_BAR_COLOR,e,t,n)}),SetNavigationBarColorProtocol,SetNavigationBarColorOptions),setNavigationBarTitle=defineAsyncApi(API_SET_NAVIGATION_BAR_TITLE,((e,{resolve:t,reject:n})=>{setNavigationBar(getCurrentPageMeta(),API_SET_NAVIGATION_BAR_TITLE,e,t,n)})),pageScrollTo=defineAsyncApi(API_PAGE_SCROLL_TO,(({scrollTop:e,selector:t,duration:n},{resolve:o})=>{scrollTo(t||e||0,n,!0),o()}),PageScrollToProtocol,PageScrollToOptions),stopPullDownRefresh=defineAsyncApi(API_STOP_PULL_DOWN_REFRESH,((e,{resolve:t})=>{UniServiceJSBridge$1.invokeViewMethod(API_STOP_PULL_DOWN_REFRESH,{},getCurrentPageId()),t()})),setTabBarItemProps=["text","iconPath","iconfont","selectedIconPath","visible"],setTabBarStyleProps=["color","selectedColor","backgroundColor","borderStyle"],setTabBarBadgeProps=["badge","redDot"];function setProperties(e,t,n){t.forEach((function(t){hasOwn$1(n,t)&&(e[t]=n[t])}))}function setTabBar(e,t,n){const o=useTabBar();switch(e){case API_SHOW_TAB_BAR:o.shown=!0;break;case API_HIDE_TAB_BAR:o.shown=!1;break;case API_SET_TAB_BAR_ITEM:const{index:e}=t,n=o.list[e],r=n.pagePath;setProperties(n,setTabBarItemProps,t);const{pagePath:i}=t;if(i){const t=addLeadingSlash(i);t!==r&&normalizeTabBarRoute(e,r,t)}break;case API_SET_TAB_BAR_STYLE:setProperties(o,setTabBarStyleProps,t);break;case API_SHOW_TAB_BAR_RED_DOT:setProperties(o.list[t.index],setTabBarBadgeProps,{badge:"",redDot:!0});break;case API_SET_TAB_BAR_BADGE:setProperties(o.list[t.index],setTabBarBadgeProps,{badge:t.text,redDot:!0});break;case API_HIDE_TAB_BAR_RED_DOT:case API_REMOVE_TAB_BAR_BADGE:setProperties(o.list[t.index],setTabBarBadgeProps,{badge:"",redDot:!1})}n()}const hideTabBar=defineAsyncApi(API_HIDE_TAB_BAR,((e,{resolve:t})=>{setTabBar(API_HIDE_TAB_BAR,e||{},t)})),DEFAULT_CSS_VAR_VALUE="0px";var LayoutComponent=defineSystemComponent({name:"Layout",setup(e,{emit:t}){const n=ref(null);initCssVar();const o=useKeepAliveRoute(),{layoutState:r,windowState:i}=useState();useMaxWidth(r,n);const a=useAppClass(!1);return()=>{const e=createLayoutTsx(o);return createVNode("uni-app",{ref:n,class:a.value},[e,!1],2)}}});function useAppClass(e){const t=ref(!1);return computed$1((()=>({"uni-app--showtabbar":e&&e.value,"uni-app--maxwidth":t.value})))}function initCssVar(){updateCssVar({"--status-bar-height":DEFAULT_CSS_VAR_VALUE,"--top-window-height":DEFAULT_CSS_VAR_VALUE,"--window-left":DEFAULT_CSS_VAR_VALUE,"--window-right":DEFAULT_CSS_VAR_VALUE,"--window-margin":DEFAULT_CSS_VAR_VALUE,"--tab-bar-height":DEFAULT_CSS_VAR_VALUE})}function useMaxWidth(e,t){const n=usePageRoute();function o(){const n=document.body.clientWidth,o=parseInt(String(__uniConfig.globalStyle.maxWidth||Number.MAX_SAFE_INTEGER));let r=!1;r=n>o,r&&o?(e.marginWidth=(n-o)/2,nextTick((()=>{const e=t.value;e&&e.setAttribute("style","max-width:"+o+"px;margin:0 auto;")}))):(e.marginWidth=0,nextTick((()=>{const e=t.value;e&&e.removeAttribute("style")})))}watch([()=>n.path],o),onMounted((()=>{o(),window.addEventListener("resize",o)}))}function useState(){usePageRoute();{const e=reactive({marginWidth:0});return watch((()=>e.marginWidth),(e=>updateCssVar({"--window-margin":e+"px"}))),{layoutState:e,windowState:computed$1((()=>({})))}}}function createLayoutTsx(e,t,n,o,r,i){return createRouterViewVNode(e)}function createRouterViewVNode({routeKey:e,isTabBar:t,routeCache:n}){return createVNode(RouterView,null,{default:withCtx((({Component:o})=>[(openBlock(),createBlock(KeepAlive,{matchBy:"key",cache:n},[(openBlock(),createBlock(resolveDynamicComponent(o),{type:t.value?"tabBar":"",key:e.value}))],1032,["cache"]))])),_:1})}const saveImageToPhotosAlbum=defineAsyncApi(API_SAVE_IMAGE_TO_PHOTOS_ALBUM,createUnsupportedAsyncApi(API_SAVE_IMAGE_TO_PHOTOS_ALBUM)),UniViewJSBridge$1=extend$1(ViewJSBridge,{publishHandler(e,t,n){UniServiceJSBridge$1.subscribeHandler(e,t,n)}}),UniServiceJSBridge$1=extend$1(ServiceJSBridge,{publishHandler(e,t,n){UniViewJSBridge$1.subscribeHandler(e,t,n)}});var PageHead=defineSystemComponent({name:"PageHead",setup(){const e=ref(null),t=usePageMeta(),n=t.navigationBar,{clazz:o,style:r}=usePageHead(n);return()=>{const i=createBackButtonTsx(t),a=n.type||"default",s="transparent"!==a&&"float"!==a&&createVNode("div",{class:{"uni-placeholder":!0,"uni-placeholder-titlePenetrate":n.titlePenetrate}},null,2);return createVNode("uni-page-head",{"uni-page-head-type":a},[createVNode("div",{ref:e,class:o.value,style:r.value},[createVNode("div",{class:"uni-page-head-hd"},[i]),createPageHeadBdTsx(n),createVNode("div",{class:"uni-page-head-ft"},[])],6),s],8,["uni-page-head-type"])}}});function createBackButtonTsx(e){const{navigationBar:t,isQuit:n}=e;if(!n)return createVNode("div",{class:"uni-page-head-btn",onClick:onPageHeadBackButton},[createSvgIconVNode(ICON_PATH_BACK,"transparent"===t.type?"#fff":t.titleColor,27)],8,["onClick"])}function createPageHeadBdTsx(e,t){return createPageHeadTitleTextTsx(e)}function createPageHeadTitleTextTsx({type:e,loading:t,titleSize:n,titleText:o,titleImage:r}){return createVNode("div",{class:"uni-page-head-bd"},[createVNode("div",{style:{fontSize:n,opacity:"transparent"===e?0:1},class:"uni-page-head__title"},[t?createVNode("i",{class:"uni-loading"},null):r?createVNode("img",{src:r,class:"uni-page-head__title_image"},null,8,["src"]):o],4)])}function onPageHeadBackButton(){1===getCurrentPages$1().length?reLaunch({url:"/"}):navigateBack({from:"backbutton",success(){}})}function usePageHead(e){return{clazz:computed$1((()=>{const{type:t,titlePenetrate:n,shadowColorType:o}=e,r={"uni-page-head":!0,"uni-page-head-transparent":"transparent"===t,"uni-page-head-titlePenetrate":"YES"===n,"uni-page-head-shadow":!!o};return o&&(r[`uni-page-head-shadow-${o}`]=!0),r})),style:computed$1((()=>({backgroundColor:e.backgroundColor,color:e.titleColor,transitionDuration:e.duration,transitionTimingFunction:e.timingFunc})))}}var PageBody=defineSystemComponent({name:"PageBody",setup:(e,t)=>()=>createVNode(Fragment,null,[!1,createVNode("uni-page-wrapper",null,[createVNode("uni-page-body",null,[renderSlot(t.slots,"default")])],16)])}),index$2=defineSystemComponent({name:"Page",setup(e,t){const n=providePageMeta(getStateId()),o=n.navigationBar;return useDocumentTitle(n),()=>createVNode("uni-page",{"data-page":n.route},"custom"!==o.style?[createVNode(PageHead),createPageBodyVNode(t)]:[createPageBodyVNode(t)])}});function createPageBodyVNode(e){return openBlock(),createBlock(PageBody,{key:0},{default:withCtx((()=>[renderSlot(e.slots,"page")])),_:3})}function reload(){window.location.reload()}var index$1=defineSystemComponent({name:"AsyncError",setup(){initI18nAsyncMsgsOnce();const{t:e}=useI18n();return()=>createVNode("div",{class:"uni-async-error",onClick:reload},[e("uni.async.error")],8,["onClick"])}});const clazz={class:"uni-async-loading"},loadingVNode=createVNode("i",{class:"uni-loading"},null,-1);var index$3=defineSystemComponent({name:"AsyncLoading",render:()=>(openBlock(),createBlock("div",clazz,[loadingVNode]))});const appId="",appName="",appVersion="1.0.0",appVersionCode="100",debug=!1,nvue={"flex-direction":"column"},networkTimeout={request:6e4,connectSocket:6e4,uploadFile:6e4,downloadFile:6e4},router={mode:"history",base:"/",assets:"assets"},async$1={loading:"AsyncLoading",error:"AsyncError",delay:200,timeout:6e4,suspensible:!0},qqMapKey=void 0,googleMapKey=void 0,aMapKey=void 0,aMapSecurityJsCode=void 0,aMapServiceHost=void 0,sdkConfigs={},locale="",fallbackLocale="";var base="",shadow="",async="",pageHead="";window.uni={},window.wx={},window.rpx2px=upx2px;const locales={},extend=Object.assign;window.__uniConfig=extend({globalStyle:{backgroundColor:"#F8F8F8",navigationBar:{backgroundColor:"#FFFFFF",titleText:"商城",type:"default",titleColor:"#000000"},isNVue:!1},easycom:{custom:{"^(?!z-paging-refresh|z-paging-load-more)z-paging(.*)":"z-paging/components/z-paging$1/z-paging$1.vue","^w-(.*)":"@/components/widgets/$1/$1.vue"}},compilerVersion:"3.5.5"},{appId:appId,appName:appName,appVersion:appVersion,appVersionCode:appVersionCode,async:async$1,debug:debug,networkTimeout:networkTimeout,sdkConfigs:sdkConfigs,qqMapKey:qqMapKey,googleMapKey:googleMapKey,aMapKey:aMapKey,aMapSecurityJsCode:aMapSecurityJsCode,aMapServiceHost:aMapServiceHost,nvue:nvue,locale:locale,fallbackLocale:fallbackLocale,locales:Object.keys(locales).reduce(((e,t)=>{const n=t.replace(/\.\/locale\/(uni-app.)?(.*).json/,"$2");return extend(e[n]||(e[n]={}),locales[t].default),e}),{}),router:router}),window.__uniLayout=window.__uniLayout||{};const AsyncComponentOptions={loadingComponent:index$3,errorComponent:index$1,delay:async$1.delay,timeout:async$1.timeout,suspensible:async$1.suspensible},PagesIndexIndexLoader=()=>__vitePreload((()=>import("./pages-index-index.16266423.js")),["assets/pages-index-index.16266423.js","assets/index.ffcb57f7.css","assets/u-search.910e6bc8.js","assets/u-search.35cfd0ff.css","assets/u-icon.67abb9d0.js","assets/u-icon.81bcc25e.css","assets/plugin-vue_export-helper.21dcd24c.js","assets/u-image.b3557ec2.js","assets/u-image.a7813cd9.css","assets/util.65cb1743.js","assets/news-card.3a153186.js","assets/news-card.9d2e9b2e.css","assets/icon_visit.5f8ba9a3.js","assets/tabbar.4d2fd3d6.js","assets/tabbar.0a69452b.css","assets/shop.1613d923.js"]).then((e=>setupPage(e.default||e))),PagesIndexIndex=defineAsyncComponent(extend({loader:PagesIndexIndexLoader},AsyncComponentOptions)),PagesNewsNewsLoader=()=>__vitePreload((()=>import("./pages-news-news.6263fcb6.js")),["assets/pages-news-news.6263fcb6.js","assets/news.6a2c6971.css","assets/u-search.910e6bc8.js","assets/u-search.35cfd0ff.css","assets/u-icon.67abb9d0.js","assets/u-icon.81bcc25e.css","assets/plugin-vue_export-helper.21dcd24c.js","assets/tabbar.4d2fd3d6.js","assets/tabbar.0a69452b.css","assets/util.65cb1743.js","assets/news-card.3a153186.js","assets/news-card.9d2e9b2e.css","assets/u-image.b3557ec2.js","assets/u-image.a7813cd9.css","assets/icon_visit.5f8ba9a3.js","assets/z-paging.5a890c8e.js","assets/z-paging.7a94f2f9.css","assets/news.51b7c944.js"]).then((e=>setupPage(e.default||e))),PagesNewsNews=defineAsyncComponent(extend({loader:PagesNewsNewsLoader},AsyncComponentOptions)),PagesUserUserLoader=()=>__vitePreload((()=>import("./pages-user-user.d45532fb.js")),["assets/pages-user-user.d45532fb.js","assets/user.32ac385a.css","assets/u-avatar.fdf13b95.js","assets/u-avatar.dfe1b6cb.css","assets/u-icon.67abb9d0.js","assets/u-icon.81bcc25e.css","assets/plugin-vue_export-helper.21dcd24c.js","assets/u-image.b3557ec2.js","assets/u-image.a7813cd9.css","assets/util.65cb1743.js","assets/tabbar.4d2fd3d6.js","assets/tabbar.0a69452b.css","assets/shop.1613d923.js"]).then((e=>setupPage(e.default||e))),PagesUserUser=defineAsyncComponent(extend({loader:PagesUserUserLoader},AsyncComponentOptions)),PagesLoginLoginLoader=()=>__vitePreload((()=>import("./pages-login-login.3be0729d.js")),["assets/pages-login-login.3be0729d.js","assets/login.839ab8cb.css","assets/u-image.b3557ec2.js","assets/u-image.a7813cd9.css","assets/u-icon.67abb9d0.js","assets/u-icon.81bcc25e.css","assets/plugin-vue_export-helper.21dcd24c.js","assets/u-form-item.f22e24c4.js","assets/u-form-item.f95e2da5.css","assets/u-verification-code.b4052f22.js","assets/u-verification-code.e967c1e9.css","assets/u-form.626cd20c.js","assets/u-checkbox.5a2f545a.js","assets/u-checkbox.c93b1db2.css","assets/u-button.eea16af6.js","assets/u-button.48af928a.css","assets/account.1635de1e.js","assets/appEnums.a2ba827b.js","assets/util.65cb1743.js"]).then((e=>setupPage(e.default||e))),PagesLoginLogin=defineAsyncComponent(extend({loader:PagesLoginLoginLoader},AsyncComponentOptions)),PagesRegisterRegisterLoader=()=>__vitePreload((()=>import("./pages-register-register.d8432ca1.js")),["assets/pages-register-register.d8432ca1.js","assets/register.23c48e00.css","assets/u-form-item.f22e24c4.js","assets/u-form-item.f95e2da5.css","assets/u-icon.67abb9d0.js","assets/u-icon.81bcc25e.css","assets/plugin-vue_export-helper.21dcd24c.js","assets/u-form.626cd20c.js","assets/u-checkbox.5a2f545a.js","assets/u-checkbox.c93b1db2.css","assets/u-button.eea16af6.js","assets/u-button.48af928a.css","assets/account.1635de1e.js","assets/appEnums.a2ba827b.js"]).then((e=>setupPage(e.default||e))),PagesRegisterRegister=defineAsyncComponent(extend({loader:PagesRegisterRegisterLoader},AsyncComponentOptions)),PagesForget_pwdForget_pwdLoader=()=>__vitePreload((()=>import("./pages-forget_pwd-forget_pwd.8665878c.js")),["assets/pages-forget_pwd-forget_pwd.8665878c.js","assets/forget_pwd.f576be29.css","assets/u-form-item.f22e24c4.js","assets/u-form-item.f95e2da5.css","assets/u-icon.67abb9d0.js","assets/u-icon.81bcc25e.css","assets/plugin-vue_export-helper.21dcd24c.js","assets/u-verification-code.b4052f22.js","assets/u-verification-code.e967c1e9.css","assets/u-form.626cd20c.js","assets/u-button.eea16af6.js","assets/u-button.48af928a.css","assets/account.1635de1e.js","assets/appEnums.a2ba827b.js"]).then((e=>setupPage(e.default||e))),PagesForget_pwdForget_pwd=defineAsyncComponent(extend({loader:PagesForget_pwdForget_pwdLoader},AsyncComponentOptions)),PagesCustomer_serviceCustomer_serviceLoader=()=>__vitePreload((()=>import("./pages-customer_service-customer_service.3652b67c.js")),["assets/pages-customer_service-customer_service.3652b67c.js","assets/u-image.b3557ec2.js","assets/u-image.a7813cd9.css","assets/u-icon.67abb9d0.js","assets/u-icon.81bcc25e.css","assets/plugin-vue_export-helper.21dcd24c.js","assets/u-button.eea16af6.js","assets/u-button.48af928a.css","assets/shop.1613d923.js"]).then((e=>setupPage(e.default||e))),PagesCustomer_serviceCustomer_service=defineAsyncComponent(extend({loader:PagesCustomer_serviceCustomer_serviceLoader},AsyncComponentOptions)),PagesNews_detailNews_detailLoader=()=>__vitePreload((()=>import("./pages-news_detail-news_detail.8e3a9d19.js")),["assets/pages-news_detail-news_detail.8e3a9d19.js","assets/news_detail.70b77abb.css","assets/u-parse.e7b36706.js","assets/u-parse.93f983af.css","assets/plugin-vue_export-helper.21dcd24c.js","assets/u-icon.67abb9d0.js","assets/u-icon.81bcc25e.css","assets/icon_visit.5f8ba9a3.js","assets/news.51b7c944.js"]).then((e=>setupPage(e.default||e))),PagesNews_detailNews_detail=defineAsyncComponent(extend({loader:PagesNews_detailNews_detailLoader},AsyncComponentOptions)),PagesUser_setUser_setLoader=()=>__vitePreload((()=>import("./pages-user_set-user_set.b110a3b4.js")),["assets/pages-user_set-user_set.b110a3b4.js","assets/user_set.f2c8c93e.css","assets/u-avatar.fdf13b95.js","assets/u-avatar.dfe1b6cb.css","assets/u-icon.67abb9d0.js","assets/u-icon.81bcc25e.css","assets/plugin-vue_export-helper.21dcd24c.js","assets/u-button.eea16af6.js","assets/u-button.48af928a.css","assets/u-popup.0e42b453.js","assets/u-popup.3b64afbe.css"]).then((e=>setupPage(e.default||e))),PagesUser_setUser_set=defineAsyncComponent(extend({loader:PagesUser_setUser_setLoader},AsyncComponentOptions)),PagesCollectionCollectionLoader=()=>__vitePreload((()=>import("./pages-collection-collection.d4730e33.js")),["assets/pages-collection-collection.d4730e33.js","assets/collection.c4157529.css","assets/news-card.3a153186.js","assets/news-card.9d2e9b2e.css","assets/u-image.b3557ec2.js","assets/u-image.a7813cd9.css","assets/u-icon.67abb9d0.js","assets/u-icon.81bcc25e.css","assets/plugin-vue_export-helper.21dcd24c.js","assets/icon_visit.5f8ba9a3.js","assets/z-paging.5a890c8e.js","assets/z-paging.7a94f2f9.css","assets/news.51b7c944.js"]).then((e=>setupPage(e.default||e))),PagesCollectionCollection=defineAsyncComponent(extend({loader:PagesCollectionCollectionLoader},AsyncComponentOptions)),PagesAs_usAs_usLoader=()=>__vitePreload((()=>import("./pages-as_us-as_us.6e4cedc4.js")),["assets/pages-as_us-as_us.6e4cedc4.js","assets/as_us.a2f8b82c.css","assets/plugin-vue_export-helper.21dcd24c.js"]).then((e=>setupPage(e.default||e))),PagesAs_usAs_us=defineAsyncComponent(extend({loader:PagesAs_usAs_usLoader},AsyncComponentOptions)),PagesAgreementAgreementLoader=()=>__vitePreload((()=>import("./pages-agreement-agreement.8aae60f6.js")),["assets/pages-agreement-agreement.8aae60f6.js","assets/u-parse.e7b36706.js","assets/u-parse.93f983af.css","assets/plugin-vue_export-helper.21dcd24c.js"]).then((e=>setupPage(e.default||e))),PagesAgreementAgreement=defineAsyncComponent(extend({loader:PagesAgreementAgreementLoader},AsyncComponentOptions)),PagesChange_passwordChange_passwordLoader=()=>__vitePreload((()=>import("./pages-change_password-change_password.45805ac8.js")),["assets/pages-change_password-change_password.45805ac8.js","assets/change_password.9d9aa0f3.css","assets/u-form-item.f22e24c4.js","assets/u-form-item.f95e2da5.css","assets/u-icon.67abb9d0.js","assets/u-icon.81bcc25e.css","assets/plugin-vue_export-helper.21dcd24c.js","assets/u-form.626cd20c.js","assets/u-button.eea16af6.js","assets/u-button.48af928a.css"]).then((e=>setupPage(e.default||e))),PagesChange_passwordChange_password=defineAsyncComponent(extend({loader:PagesChange_passwordChange_passwordLoader},AsyncComponentOptions)),PagesUser_dataUser_dataLoader=()=>__vitePreload((()=>import("./pages-user_data-user_data.6d3a10d3.js")),["assets/pages-user_data-user_data.6d3a10d3.js","assets/user_data.f731938f.css","assets/u-icon.67abb9d0.js","assets/u-icon.81bcc25e.css","assets/plugin-vue_export-helper.21dcd24c.js","assets/u-button.eea16af6.js","assets/u-button.48af928a.css","assets/u-form-item.f22e24c4.js","assets/u-form-item.f95e2da5.css","assets/u-popup.0e42b453.js","assets/u-popup.3b64afbe.css","assets/u-verification-code.b4052f22.js","assets/u-verification-code.e967c1e9.css","assets/appEnums.a2ba827b.js","assets/util.65cb1743.js"]).then((e=>setupPage(e.default||e))),PagesUser_dataUser_data=defineAsyncComponent(extend({loader:PagesUser_dataUser_dataLoader},AsyncComponentOptions)),PagesSearchSearchLoader=()=>__vitePreload((()=>import("./pages-search-search.38a0019e.js")),["assets/pages-search-search.38a0019e.js","assets/search.69183a16.css","assets/u-search.910e6bc8.js","assets/u-search.35cfd0ff.css","assets/u-icon.67abb9d0.js","assets/u-icon.81bcc25e.css","assets/plugin-vue_export-helper.21dcd24c.js","assets/news-card.3a153186.js","assets/news-card.9d2e9b2e.css","assets/u-image.b3557ec2.js","assets/u-image.a7813cd9.css","assets/icon_visit.5f8ba9a3.js","assets/z-paging.5a890c8e.js","assets/z-paging.7a94f2f9.css","assets/shop.1613d923.js"]).then((e=>setupPage(e.default||e))),PagesSearchSearch=defineAsyncComponent(extend({loader:PagesSearchSearchLoader},AsyncComponentOptions)),PagesWebviewWebviewLoader=()=>__vitePreload((()=>import("./pages-webview-webview.ef0d0b40.js")),[]).then((e=>setupPage(e.default||e))),PagesWebviewWebview=defineAsyncComponent(extend({loader:PagesWebviewWebviewLoader},AsyncComponentOptions)),PagesBind_mobileBind_mobileLoader=()=>__vitePreload((()=>import("./pages-bind_mobile-bind_mobile.41f2e570.js")),["assets/pages-bind_mobile-bind_mobile.41f2e570.js","assets/bind_mobile.883a800d.css","assets/u-form-item.f22e24c4.js","assets/u-form-item.f95e2da5.css","assets/u-icon.67abb9d0.js","assets/u-icon.81bcc25e.css","assets/plugin-vue_export-helper.21dcd24c.js","assets/u-verification-code.b4052f22.js","assets/u-verification-code.e967c1e9.css","assets/u-form.626cd20c.js","assets/u-button.eea16af6.js","assets/u-button.48af928a.css","assets/appEnums.a2ba827b.js"]).then((e=>setupPage(e.default||e))),PagesBind_mobileBind_mobile=defineAsyncComponent(extend({loader:PagesBind_mobileBind_mobileLoader},AsyncComponentOptions)),PagesEmptyEmptyLoader=()=>__vitePreload((()=>import("./pages-empty-empty.372fc0fd.js")),["assets/pages-empty-empty.372fc0fd.js","assets/plugin-vue_export-helper.21dcd24c.js"]).then((e=>setupPage(e.default||e))),PagesEmptyEmpty=defineAsyncComponent(extend({loader:PagesEmptyEmptyLoader},AsyncComponentOptions)),Uni_modulesVkUviewUiComponentsUAvatarCropperUAvatarCropperLoader=()=>__vitePreload((()=>import("./uni_modules-vk-uview-ui-components-u-avatar-cropper-u-avatar-cropper.46e2ad7b.js")),["assets/uni_modules-vk-uview-ui-components-u-avatar-cropper-u-avatar-cropper.46e2ad7b.js","assets/u-avatar-cropper.91a54bb1.css","assets/plugin-vue_export-helper.21dcd24c.js"]).then((e=>setupPage(e.default||e))),Uni_modulesVkUviewUiComponentsUAvatarCropperUAvatarCropper=defineAsyncComponent(extend({loader:Uni_modulesVkUviewUiComponentsUAvatarCropperUAvatarCropperLoader},AsyncComponentOptions));function renderPage(e,t){return openBlock(),createBlock(index$2,null,{page:withCtx((()=>[createVNode(e,extend({},t,{ref:"page"}),null,512)])),_:1})}function resolveEasycom(e,t){return isString(e)?t:e}window.__uniRoutes=[{path:"/",alias:"/pages/index/index",component:{setup(){const e=getApp$1(),t=e&&e.$route&&e.$route.query||{};return()=>renderPage(PagesIndexIndex,t)}},loader:PagesIndexIndexLoader,meta:{isQuit:!0,isEntry:!0,navigationBar:{titleText:"首页",type:"default"},isNVue:!1}},{path:"/pages/news/news",component:{setup(){const e=getApp$1(),t=e&&e.$route&&e.$route.query||{};return()=>renderPage(PagesNewsNews,t)}},loader:PagesNewsNewsLoader,meta:{navigationBar:{titleText:"资讯",type:"default"},isNVue:!1}},{path:"/pages/user/user",component:{setup(){const e=getApp$1(),t=e&&e.$route&&e.$route.query||{};return()=>renderPage(PagesUserUser,t)}},loader:PagesUserUserLoader,meta:{navigationBar:{titleText:"个人中心",type:"default"},isNVue:!1}},{path:"/pages/login/login",component:{setup(){const e=getApp$1(),t=e&&e.$route&&e.$route.query||{};return()=>renderPage(PagesLoginLogin,t)}},loader:PagesLoginLoginLoader,meta:{navigationBar:{titleText:"登录",type:"default"},isNVue:!1}},{path:"/pages/register/register",component:{setup(){const e=getApp$1(),t=e&&e.$route&&e.$route.query||{};return()=>renderPage(PagesRegisterRegister,t)}},loader:PagesRegisterRegisterLoader,meta:{navigationBar:{titleText:"注册",type:"default"},isNVue:!1}},{path:"/pages/forget_pwd/forget_pwd",component:{setup(){const e=getApp$1(),t=e&&e.$route&&e.$route.query||{};return()=>renderPage(PagesForget_pwdForget_pwd,t)}},loader:PagesForget_pwdForget_pwdLoader,meta:{navigationBar:{titleText:"忘记密码",type:"default"},isNVue:!1}},{path:"/pages/customer_service/customer_service",component:{setup(){const e=getApp$1(),t=e&&e.$route&&e.$route.query||{};return()=>renderPage(PagesCustomer_serviceCustomer_service,t)}},loader:PagesCustomer_serviceCustomer_serviceLoader,meta:{navigationBar:{titleText:"联系客服",type:"default"},isNVue:!1}},{path:"/pages/news_detail/news_detail",component:{setup(){const e=getApp$1(),t=e&&e.$route&&e.$route.query||{};return()=>renderPage(PagesNews_detailNews_detail,t)}},loader:PagesNews_detailNews_detailLoader,meta:{navigationBar:{titleText:"详情",type:"default"},isNVue:!1}},{path:"/pages/user_set/user_set",component:{setup(){const e=getApp$1(),t=e&&e.$route&&e.$route.query||{};return()=>renderPage(PagesUser_setUser_set,t)}},loader:PagesUser_setUser_setLoader,meta:{navigationBar:{titleText:"个人设置",type:"default"},isNVue:!1}},{path:"/pages/collection/collection",component:{setup(){const e=getApp$1(),t=e&&e.$route&&e.$route.query||{};return()=>renderPage(PagesCollectionCollection,t)}},loader:PagesCollectionCollectionLoader,meta:{navigationBar:{titleText:"我的收藏",type:"default"},isNVue:!1}},{path:"/pages/as_us/as_us",component:{setup(){const e=getApp$1(),t=e&&e.$route&&e.$route.query||{};return()=>renderPage(PagesAs_usAs_us,t)}},loader:PagesAs_usAs_usLoader,meta:{navigationBar:{titleText:"关于我们",type:"default"},isNVue:!1}},{path:"/pages/agreement/agreement",component:{setup(){const e=getApp$1(),t=e&&e.$route&&e.$route.query||{};return()=>renderPage(PagesAgreementAgreement,t)}},loader:PagesAgreementAgreementLoader,meta:{navigationBar:{titleText:"协议",type:"default"},isNVue:!1}},{path:"/pages/change_password/change_password",component:{setup(){const e=getApp$1(),t=e&&e.$route&&e.$route.query||{};return()=>renderPage(PagesChange_passwordChange_password,t)}},loader:PagesChange_passwordChange_passwordLoader,meta:{navigationBar:{titleText:"修改密码",type:"default"},isNVue:!1}},{path:"/pages/user_data/user_data",component:{setup(){const e=getApp$1(),t=e&&e.$route&&e.$route.query||{};return()=>renderPage(PagesUser_dataUser_data,t)}},loader:PagesUser_dataUser_dataLoader,meta:{navigationBar:{titleText:"个人资料",type:"default"},isNVue:!1}},{path:"/pages/search/search",component:{setup(){const e=getApp$1(),t=e&&e.$route&&e.$route.query||{};return()=>renderPage(PagesSearchSearch,t)}},loader:PagesSearchSearchLoader,meta:{navigationBar:{titleText:"搜索",type:"default"},isNVue:!1}},{path:"/pages/webview/webview",component:{setup(){const e=getApp$1(),t=e&&e.$route&&e.$route.query||{};return()=>renderPage(PagesWebviewWebview,t)}},loader:PagesWebviewWebviewLoader,meta:{navigationBar:{},isNVue:!1}},{path:"/pages/bind_mobile/bind_mobile",component:{setup(){const e=getApp$1(),t=e&&e.$route&&e.$route.query||{};return()=>renderPage(PagesBind_mobileBind_mobile,t)}},loader:PagesBind_mobileBind_mobileLoader,meta:{navigationBar:{titleText:"绑定手机号",type:"default"},isNVue:!1}},{path:"/pages/empty/empty",component:{setup(){const e=getApp$1(),t=e&&e.$route&&e.$route.query||{};return()=>renderPage(PagesEmptyEmpty,t)}},loader:PagesEmptyEmptyLoader,meta:{navigationBar:{style:"custom",type:"default"},isNVue:!1}},{path:"/uni_modules/vk-uview-ui/components/u-avatar-cropper/u-avatar-cropper",component:{setup(){const e=getApp$1(),t=e&&e.$route&&e.$route.query||{};return()=>renderPage(Uni_modulesVkUviewUiComponentsUAvatarCropperUAvatarCropper,t)}},loader:Uni_modulesVkUviewUiComponentsUAvatarCropperUAvatarCropperLoader,meta:{navigationBar:{backgroundColor:"#000000",titleText:"头像裁剪",type:"default"},isNVue:!1}}].map((e=>(e.meta.route=(e.alias||e.path).slice(1),e)));const createHook=e=>(t,n=getCurrentInstance())=>{!isInSSRComponentSetup&&injectHook(e,t,n)},onShow=createHook(ON_SHOW),onLaunch=createHook(ON_LAUNCH),onLoad=createHook(ON_LOAD),onUnload=createHook(ON_UNLOAD);var isVue2=!1;
+ */const isBrowser="undefined"!=typeof window;function isESModule(e){return e.__esModule||"Module"===e[Symbol.toStringTag]}const assign$1=Object.assign;function applyToParams(e,t){const n={};for(const o in t){const r=t[o];n[o]=isArray$3(r)?r.map(e):e(r)}return n}const noop$1=()=>{},isArray$3=Array.isArray,TRAILING_SLASH_RE=/\/$/,removeTrailingSlash=e=>e.replace(TRAILING_SLASH_RE,"");function parseURL(e,t,n="/"){let o,r={},i="",a="";const s=t.indexOf("#");let c=t.indexOf("?");return s=0&&(c=-1),c>-1&&(o=t.slice(0,c),i=t.slice(c+1,s>-1?s:t.length),r=e(i)),s>-1&&(o=o||t.slice(0,s),a=t.slice(s,t.length)),o=resolveRelativePath(null!=o?o:t,n),{fullPath:o+(i&&"?")+i+a,path:o,query:r,hash:a}}function stringifyURL(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function stripBase(e,t){return t&&e.toLowerCase().startsWith(t.toLowerCase())?e.slice(t.length)||"/":e}function isSameRouteLocation(e,t,n){const o=t.matched.length-1,r=n.matched.length-1;return o>-1&&o===r&&isSameRouteRecord(t.matched[o],n.matched[r])&&isSameRouteLocationParams(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function isSameRouteRecord(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function isSameRouteLocationParams(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!isSameRouteLocationParamsValue(e[n],t[n]))return!1;return!0}function isSameRouteLocationParamsValue(e,t){return isArray$3(e)?isEquivalentArray(e,t):isArray$3(t)?isEquivalentArray(t,e):e===t}function isEquivalentArray(e,t){return isArray$3(t)?e.length===t.length&&e.every(((e,n)=>e===t[n])):1===e.length&&e[0]===t}function resolveRelativePath(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),o=e.split("/");let r,i,a=n.length-1;for(r=0;r1&&a--}return n.slice(0,a).join("/")+"/"+o.slice(r-(r===o.length?1:0)).join("/")}var NavigationType,NavigationType2,NavigationDirection,NavigationDirection2;function normalizeBase(e){if(!e)if(isBrowser){const t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return"/"!==e[0]&&"#"!==e[0]&&(e="/"+e),removeTrailingSlash(e)}NavigationType2=NavigationType||(NavigationType={}),NavigationType2.pop="pop",NavigationType2.push="push",NavigationDirection2=NavigationDirection||(NavigationDirection={}),NavigationDirection2.back="back",NavigationDirection2.forward="forward",NavigationDirection2.unknown="";const BEFORE_HASH_RE=/^[^#]+#/;function createHref(e,t){return e.replace(BEFORE_HASH_RE,"#")+t}function getElementPosition(e,t){const n=document.documentElement.getBoundingClientRect(),o=e.getBoundingClientRect();return{behavior:t.behavior,left:o.left-n.left-(t.left||0),top:o.top-n.top-(t.top||0)}}const computeScrollPosition=()=>({left:window.pageXOffset,top:window.pageYOffset});function scrollToPosition(e){let t;if("el"in e){const n=e.el,o="string"==typeof n&&n.startsWith("#"),r="string"==typeof n?o?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=getElementPosition(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(null!=t.left?t.left:window.pageXOffset,null!=t.top?t.top:window.pageYOffset)}function getScrollKey(e,t){return(history.state?history.state.position-t:-1)+e}const scrollPositions=new Map;function saveScrollPosition(e,t){scrollPositions.set(e,t)}function getSavedScrollPosition(e){const t=scrollPositions.get(e);return scrollPositions.delete(e),t}let createBaseLocation=()=>location.protocol+"//"+location.host;function createCurrentLocation(e,t){const{pathname:n,search:o,hash:r}=t,i=e.indexOf("#");if(i>-1){let t=r.includes(e.slice(i))?e.slice(i).length:1,n=r.slice(t);return"/"!==n[0]&&(n="/"+n),stripBase(n,"")}return stripBase(n,e)+o+r}function useHistoryListeners(e,t,n,o){let r=[],i=[],a=null;const s=({state:i})=>{const s=createCurrentLocation(e,location),c=n.value,l=t.value;let u=0;if(i){if(n.value=s,t.value=i,a&&a===c)return void(a=null);u=l?i.position-l.position:0}else o(s);r.forEach((e=>{e(n.value,c,{delta:u,type:NavigationType.pop,direction:u?u>0?NavigationDirection.forward:NavigationDirection.back:NavigationDirection.unknown})}))};function c(){const{history:e}=window;e.state&&e.replaceState(assign$1({},e.state,{scroll:computeScrollPosition()}),"")}return window.addEventListener("popstate",s),window.addEventListener("beforeunload",c),{pauseListeners:function(){a=n.value},listen:function(e){r.push(e);const t=()=>{const t=r.indexOf(e);t>-1&&r.splice(t,1)};return i.push(t),t},destroy:function(){for(const e of i)e();i=[],window.removeEventListener("popstate",s),window.removeEventListener("beforeunload",c)}}}function buildState(e,t,n,o=!1,r=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:r?computeScrollPosition():null}}function useHistoryStateNavigation(e){const{history:t,location:n}=window,o={value:createCurrentLocation(e,n)},r={value:t.state};function i(o,i,a){const s=e.indexOf("#"),c=s>-1?(n.host&&document.querySelector("base")?e:e.slice(s))+o:createBaseLocation()+e+o;try{t[a?"replaceState":"pushState"](i,"",c),r.value=i}catch(l){console.error(l),n[a?"replace":"assign"](c)}}return r.value||i(o.value,{back:null,current:o.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0),{location:o,state:r,push:function(e,n){const a=assign$1({},r.value,t.state,{forward:e,scroll:computeScrollPosition()});i(a.current,a,!0),i(e,assign$1({},buildState(o.value,e,null),{position:a.position+1},n),!1),o.value=e},replace:function(e,n){i(e,assign$1({},t.state,buildState(r.value.back,e,r.value.forward,!0),n,{position:r.value.position}),!0),o.value=e}}}function createWebHistory(e){const t=useHistoryStateNavigation(e=normalizeBase(e)),n=useHistoryListeners(e,t.state,t.location,t.replace);const o=assign$1({location:"",base:e,go:function(e,t=!0){t||n.pauseListeners(),history.go(e)},createHref:createHref.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function isRouteLocation(e){return"string"==typeof e||e&&"object"==typeof e}function isRouteName(e){return"string"==typeof e||"symbol"==typeof e}const START_LOCATION_NORMALIZED={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},NavigationFailureSymbol=Symbol("");var NavigationFailureType,NavigationFailureType2;function createRouterError(e,t){return assign$1(new Error,{type:e,[NavigationFailureSymbol]:!0},t)}function isNavigationFailure(e,t){return e instanceof Error&&NavigationFailureSymbol in e&&(null==t||!!(e.type&t))}NavigationFailureType2=NavigationFailureType||(NavigationFailureType={}),NavigationFailureType2[NavigationFailureType2.aborted=4]="aborted",NavigationFailureType2[NavigationFailureType2.cancelled=8]="cancelled",NavigationFailureType2[NavigationFailureType2.duplicated=16]="duplicated";const BASE_PARAM_PATTERN="[^/]+?",BASE_PATH_PARSER_OPTIONS={sensitive:!1,strict:!1,start:!0,end:!0},REGEX_CHARS_RE=/[.+*?^${}()[\]/\\]/g;function tokensToParser(e,t){const n=assign$1({},BASE_PATH_PARSER_OPTIONS,t),o=[];let r=n.start?"^":"";const i=[];for(const c of e){const e=c.length?[]:[90];n.strict&&!c.length&&(r+="/");for(let t=0;tt.length?1===t.length&&80===t[0]?1:-1:0}function comparePathParserScore(e,t){let n=0;const o=e.score,r=t.score;for(;n0&&t[t.length-1]<0}const ROOT_TOKEN={type:0,value:""},VALID_PARAM_RE=/[a-zA-Z0-9_]/;function tokenizePath(e){if(!e)return[[]];if("/"===e)return[[ROOT_TOKEN]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(e){throw new Error(`ERR (${n})/"${l}": ${e}`)}let n=0,o=n;const r=[];let i;function a(){i&&r.push(i),i=[]}let s,c=0,l="",u="";function d(){l&&(0===n?i.push({type:0,value:l}):1===n||2===n||3===n?(i.length>1&&("*"===s||"+"===s)&&t(`A repeatable param (${l}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:l,regexp:u,repeatable:"*"===s||"+"===s,optional:"*"===s||"?"===s})):t("Invalid state to consume buffer"),l="")}function f(){l+=s}for(;c{i(f)}:noop$1}function i(e){if(isRouteName(e)){const t=o.get(e);t&&(o.delete(e),n.splice(n.indexOf(t),1),t.children.forEach(i),t.alias.forEach(i))}else{const t=n.indexOf(e);t>-1&&(n.splice(t,1),e.record.name&&o.delete(e.record.name),e.children.forEach(i),e.alias.forEach(i))}}function a(e){let t=0;for(;t=0&&(e.record.path!==n[t].record.path||!isRecordChildOf(e,n[t]));)t++;n.splice(t,0,e),e.record.name&&!isAliasRecord(e)&&o.set(e.record.name,e)}return t=mergeOptions({strict:!1,end:!0,sensitive:!1},t),e.forEach((e=>r(e))),{addRoute:r,resolve:function(e,t){let r,i,a,s={};if("name"in e&&e.name){if(r=o.get(e.name),!r)throw createRouterError(1,{location:e});a=r.record.name,s=assign$1(paramsFromLocation(t.params,r.keys.filter((e=>!e.optional)).map((e=>e.name))),e.params&¶msFromLocation(e.params,r.keys.map((e=>e.name)))),i=r.stringify(s)}else if("path"in e)i=e.path,r=n.find((e=>e.re.test(i))),r&&(s=r.parse(i),a=r.record.name);else{if(r=t.name?o.get(t.name):n.find((e=>e.re.test(t.path))),!r)throw createRouterError(1,{location:e,currentLocation:t});a=r.record.name,s=assign$1({},t.params,e.params),i=r.stringify(s)}const c=[];let l=r;for(;l;)c.unshift(l.record),l=l.parent;return{name:a,path:i,params:s,matched:c,meta:mergeMetaFields(c)}},removeRoute:i,getRoutes:function(){return n},getRecordMatcher:function(e){return o.get(e)}}}function paramsFromLocation(e,t){const n={};for(const o of t)o in e&&(n[o]=e[o]);return n}function normalizeRouteRecord(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:normalizeRecordProps(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function normalizeRecordProps(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const o in e.components)t[o]="boolean"==typeof n?n:n[o];return t}function isAliasRecord(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function mergeMetaFields(e){return e.reduce(((e,t)=>assign$1(e,t.meta)),{})}function mergeOptions(e,t){const n={};for(const o in e)n[o]=o in t?t[o]:e[o];return n}function isRecordChildOf(e,t){return t.children.some((t=>t===e||isRecordChildOf(e,t)))}const HASH_RE=/#/g,AMPERSAND_RE=/&/g,SLASH_RE=/\//g,EQUAL_RE=/=/g,IM_RE=/\?/g,PLUS_RE=/\+/g,ENC_BRACKET_OPEN_RE=/%5B/g,ENC_BRACKET_CLOSE_RE=/%5D/g,ENC_CARET_RE=/%5E/g,ENC_BACKTICK_RE=/%60/g,ENC_CURLY_OPEN_RE=/%7B/g,ENC_PIPE_RE=/%7C/g,ENC_CURLY_CLOSE_RE=/%7D/g,ENC_SPACE_RE=/%20/g;function commonEncode(e){return encodeURI(""+e).replace(ENC_PIPE_RE,"|").replace(ENC_BRACKET_OPEN_RE,"[").replace(ENC_BRACKET_CLOSE_RE,"]")}function encodeHash(e){return commonEncode(e).replace(ENC_CURLY_OPEN_RE,"{").replace(ENC_CURLY_CLOSE_RE,"}").replace(ENC_CARET_RE,"^")}function encodeQueryValue(e){return commonEncode(e).replace(PLUS_RE,"%2B").replace(ENC_SPACE_RE,"+").replace(HASH_RE,"%23").replace(AMPERSAND_RE,"%26").replace(ENC_BACKTICK_RE,"`").replace(ENC_CURLY_OPEN_RE,"{").replace(ENC_CURLY_CLOSE_RE,"}").replace(ENC_CARET_RE,"^")}function encodeQueryKey(e){return encodeQueryValue(e).replace(EQUAL_RE,"%3D")}function encodePath(e){return commonEncode(e).replace(HASH_RE,"%23").replace(IM_RE,"%3F")}function encodeParam(e){return null==e?"":encodePath(e).replace(SLASH_RE,"%2F")}function decode(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}function parseQuery(e){const t={};if(""===e||"?"===e)return t;const n=("?"===e[0]?e.slice(1):e).split("&");for(let o=0;oe&&encodeQueryValue(e))):[o&&encodeQueryValue(o)]).forEach((e=>{void 0!==e&&(t+=(t.length?"&":"")+n,null!=e&&(t+="="+e))}))}return t}function normalizeQuery(e){const t={};for(const n in e){const o=e[n];void 0!==o&&(t[n]=isArray$3(o)?o.map((e=>null==e?null:""+e)):null==o?o:""+o)}return t}const matchedRouteKey=Symbol(""),viewDepthKey=Symbol(""),routerKey=Symbol(""),routeLocationKey=Symbol(""),routerViewLocationKey=Symbol("");function useCallbacks(){let e=[];return{add:function(t){return e.push(t),()=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)}},list:()=>e,reset:function(){e=[]}}}function guardToPromiseFn(e,t,n,o,r){const i=o&&(o.enterCallbacks[r]=o.enterCallbacks[r]||[]);return()=>new Promise(((a,s)=>{const c=e=>{!1===e?s(createRouterError(4,{from:n,to:t})):e instanceof Error?s(e):isRouteLocation(e)?s(createRouterError(2,{from:t,to:e})):(i&&o.enterCallbacks[r]===i&&"function"==typeof e&&i.push(e),a())},l=e.call(o&&o.instances[r],t,n,c);let u=Promise.resolve(l);e.length<3&&(u=u.then(c)),u.catch((e=>s(e)))}))}function extractComponentsGuards(e,t,n,o){const r=[];for(const i of e)for(const e in i.components){let a=i.components[e];if("beforeRouteEnter"===t||i.instances[e])if(isRouteComponent(a)){const s=(a.__vccOpts||a)[t];s&&r.push(guardToPromiseFn(s,n,o,i,e))}else{let s=a();r.push((()=>s.then((r=>{if(!r)return Promise.reject(new Error(`Couldn't resolve component "${e}" at "${i.path}"`));const a=isESModule(r)?r.default:r;i.components[e]=a;const s=(a.__vccOpts||a)[t];return s&&guardToPromiseFn(s,n,o,i,e)()}))))}}return r}function isRouteComponent(e){return"object"==typeof e||"displayName"in e||"props"in e||"__vccOpts"in e}function useLink(e){const t=inject(routerKey),n=inject(routeLocationKey),o=computed$1((()=>t.resolve(unref(e.to)))),r=computed$1((()=>{const{matched:e}=o.value,{length:t}=e,r=e[t-1],i=n.matched;if(!r||!i.length)return-1;const a=i.findIndex(isSameRouteRecord.bind(null,r));if(a>-1)return a;const s=getOriginalPath(e[t-2]);return t>1&&getOriginalPath(r)===s&&i[i.length-1].path!==s?i.findIndex(isSameRouteRecord.bind(null,e[t-2])):a})),i=computed$1((()=>r.value>-1&&includesParams(n.params,o.value.params))),a=computed$1((()=>r.value>-1&&r.value===n.matched.length-1&&isSameRouteLocationParams(n.params,o.value.params)));return{route:o,href:computed$1((()=>o.value.href)),isActive:i,isExactActive:a,navigate:function(n={}){return guardEvent(n)?t[unref(e.replace)?"replace":"push"](unref(e.to)).catch(noop$1):Promise.resolve()}}}const RouterLinkImpl=defineComponent({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:useLink,setup(e,{slots:t}){const n=reactive(useLink(e)),{options:o}=inject(routerKey),r=computed$1((()=>({[getLinkClass(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[getLinkClass(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive})));return()=>{const o=t.default&&t.default(n);return e.custom?o:h("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}}),RouterLink=RouterLinkImpl;function guardEvent(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey||e.defaultPrevented||void 0!==e.button&&0!==e.button)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function includesParams(e,t){for(const n in t){const o=t[n],r=e[n];if("string"==typeof o){if(o!==r)return!1}else if(!isArray$3(r)||r.length!==o.length||o.some(((e,t)=>e!==r[t])))return!1}return!0}function getOriginalPath(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const getLinkClass=(e,t,n)=>null!=e?e:null!=t?t:n,RouterViewImpl=defineComponent({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=inject(routerViewLocationKey),r=computed$1((()=>e.route||o.value)),i=inject(viewDepthKey,0),a=computed$1((()=>{let e=unref(i);const{matched:t}=r.value;let n;for(;(n=t[e])&&!n.components;)e++;return e})),s=computed$1((()=>r.value.matched[a.value]));provide(viewDepthKey,computed$1((()=>a.value+1))),provide(matchedRouteKey,s),provide(routerViewLocationKey,r);const c=ref();return watch((()=>[c.value,s.value,e.name]),(([e,t,n],[o,r,i])=>{t&&(t.instances[n]=e,r&&r!==t&&e&&e===o&&(t.leaveGuards.size||(t.leaveGuards=r.leaveGuards),t.updateGuards.size||(t.updateGuards=r.updateGuards))),!e||!t||r&&isSameRouteRecord(t,r)&&o||(t.enterCallbacks[n]||[]).forEach((t=>t(e)))}),{flush:"post"}),()=>{const o=r.value,i=e.name,a=s.value,l=a&&a.components[i];if(!l)return normalizeSlot(n.default,{Component:l,route:o});const u=a.props[i],d=u?!0===u?o.params:"function"==typeof u?u(o):u:null,f=h(l,assign$1({},d,t,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(a.instances[i]=null)},ref:c}));return normalizeSlot(n.default,{Component:f,route:o})||f}}});function normalizeSlot(e,t){if(!e)return null;const n=e(t);return 1===n.length?n[0]:n}const RouterView=RouterViewImpl;function createRouter(e){const t=createRouterMatcher(e.routes,e),n=e.parseQuery||parseQuery,o=e.stringifyQuery||stringifyQuery$1,r=e.history,i=useCallbacks(),a=useCallbacks(),s=useCallbacks(),c=shallowRef(START_LOCATION_NORMALIZED);let l=START_LOCATION_NORMALIZED;isBrowser&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=applyToParams.bind(null,(e=>""+e)),d=applyToParams.bind(null,encodeParam),f=applyToParams.bind(null,decode);function p(e,i){if(i=assign$1({},i||c.value),"string"==typeof e){const o=parseURL(n,e,i.path),a=t.resolve({path:o.path},i),s=r.createHref(o.fullPath);return assign$1(o,a,{params:f(a.params),hash:decode(o.hash),redirectedFrom:void 0,href:s})}let a;if("path"in e)a=assign$1({},e,{path:parseURL(n,e.path,i.path).path});else{const t=assign$1({},e.params);for(const e in t)null==t[e]&&delete t[e];a=assign$1({},e,{params:d(e.params)}),i.params=d(i.params)}const s=t.resolve(a,i),l=e.hash||"";s.params=u(f(s.params));const p=stringifyURL(o,assign$1({},e,{hash:encodeHash(l),path:s.path})),h=r.createHref(p);return assign$1({fullPath:p,hash:l,query:o===stringifyQuery$1?normalizeQuery(e.query):e.query||{}},s,{redirectedFrom:void 0,href:h})}function h(e){return"string"==typeof e?parseURL(n,e,c.value.path):assign$1({},e)}function g(e,t){if(l!==e)return createRouterError(8,{from:t,to:e})}function m(e){return _(e)}function v(e){const t=e.matched[e.matched.length-1];if(t&&t.redirect){const{redirect:n}=t;let o="function"==typeof n?n(e):n;return"string"==typeof o&&(o=o.includes("?")||o.includes("#")?o=h(o):{path:o},o.params={}),assign$1({query:e.query,hash:e.hash,params:"path"in o?{}:e.params},o)}}function _(e,t){const n=l=p(e),r=c.value,i=e.state,a=e.force,s=!0===e.replace,u=v(n);if(u)return _(assign$1(h(u),{state:"object"==typeof u?assign$1({},i,u.state):i,force:a,replace:s}),t||n);const d=n;let f;return d.redirectedFrom=t,!a&&isSameRouteLocation(o,r,n)&&(f=createRouterError(16,{to:d,from:r}),x(r,r,!0,!1)),(f?Promise.resolve(f):b(d,r)).catch((e=>isNavigationFailure(e)?isNavigationFailure(e,2)?e:A(e):I(e,d,r))).then((e=>{if(e){if(isNavigationFailure(e,2))return _(assign$1({replace:s},h(e.to),{state:"object"==typeof e.to?assign$1({},i,e.to.state):i,force:a}),t||d)}else e=T(d,r,!0,s,i);return w(d,r,e),e}))}function y(e,t){const n=g(e,t);return n?Promise.reject(n):Promise.resolve()}function b(e,t){let n;const[o,r,s]=extractChangingRecords(e,t);n=extractComponentsGuards(o.reverse(),"beforeRouteLeave",e,t);for(const i of o)i.leaveGuards.forEach((o=>{n.push(guardToPromiseFn(o,e,t))}));const c=y.bind(null,e,t);return n.push(c),runGuardQueue(n).then((()=>{n=[];for(const o of i.list())n.push(guardToPromiseFn(o,e,t));return n.push(c),runGuardQueue(n)})).then((()=>{n=extractComponentsGuards(r,"beforeRouteUpdate",e,t);for(const o of r)o.updateGuards.forEach((o=>{n.push(guardToPromiseFn(o,e,t))}));return n.push(c),runGuardQueue(n)})).then((()=>{n=[];for(const o of e.matched)if(o.beforeEnter&&!t.matched.includes(o))if(isArray$3(o.beforeEnter))for(const r of o.beforeEnter)n.push(guardToPromiseFn(r,e,t));else n.push(guardToPromiseFn(o.beforeEnter,e,t));return n.push(c),runGuardQueue(n)})).then((()=>(e.matched.forEach((e=>e.enterCallbacks={})),n=extractComponentsGuards(s,"beforeRouteEnter",e,t),n.push(c),runGuardQueue(n)))).then((()=>{n=[];for(const o of a.list())n.push(guardToPromiseFn(o,e,t));return n.push(c),runGuardQueue(n)})).catch((e=>isNavigationFailure(e,8)?e:Promise.reject(e)))}function w(e,t,n){for(const o of s.list())o(e,t,n)}function T(e,t,n,o,i){const a=g(e,t);if(a)return a;const s=t===START_LOCATION_NORMALIZED,l=isBrowser?history.state:{};n&&(o||s?r.replace(e.fullPath,assign$1({scroll:s&&l&&l.scroll},i)):r.push(e.fullPath,i)),c.value=e,x(e,t,n,s),A()}let E;let S,C=useCallbacks(),O=useCallbacks();function I(e,t,n){A(e);const o=O.list();return o.length?o.forEach((o=>o(e,t,n))):console.error(e),Promise.reject(e)}function A(e){return S||(S=!e,E||(E=r.listen(((e,t,n)=>{if(!$.listening)return;const o=p(e),i=v(o);if(i)return void _(assign$1(i,{replace:!0}),o).catch(noop$1);l=o;const a=c.value;isBrowser&&saveScrollPosition(getScrollKey(a.fullPath,n.delta),computeScrollPosition()),b(o,a).catch((e=>isNavigationFailure(e,12)?e:isNavigationFailure(e,2)?(_(e.to,o).then((e=>{isNavigationFailure(e,20)&&!n.delta&&n.type===NavigationType.pop&&r.go(-1,!1)})).catch(noop$1),Promise.reject()):(n.delta&&r.go(-n.delta,!1),I(e,o,a)))).then((e=>{(e=e||T(o,a,!1))&&(n.delta&&!isNavigationFailure(e,8)?r.go(-n.delta,!1):n.type===NavigationType.pop&&isNavigationFailure(e,20)&&r.go(-1,!1)),w(o,a,e)})).catch(noop$1)}))),C.list().forEach((([t,n])=>e?n(e):t())),C.reset()),e}function x(t,n,o,r){const{scrollBehavior:i}=e;if(!isBrowser||!i)return Promise.resolve();const a=!o&&getSavedScrollPosition(getScrollKey(t.fullPath,0))||(r||!o)&&history.state&&history.state.scroll||null;return nextTick().then((()=>i(t,n,a))).then((e=>e&&scrollToPosition(e))).catch((e=>I(e,t,n)))}const P=e=>r.go(e);let R;const L=new Set,$={currentRoute:c,listening:!0,addRoute:function(e,n){let o,r;return isRouteName(e)?(o=t.getRecordMatcher(e),r=n):r=e,t.addRoute(r,o)},removeRoute:function(e){const n=t.getRecordMatcher(e);n&&t.removeRoute(n)},hasRoute:function(e){return!!t.getRecordMatcher(e)},getRoutes:function(){return t.getRoutes().map((e=>e.record))},resolve:p,options:e,push:m,replace:function(e){return m(assign$1(h(e),{replace:!0}))},go:P,back:()=>P(-1),forward:()=>P(1),beforeEach:i.add,beforeResolve:a.add,afterEach:s.add,onError:O.add,isReady:function(){return S&&c.value!==START_LOCATION_NORMALIZED?Promise.resolve():new Promise(((e,t)=>{C.add([e,t])}))},install(e){e.component("RouterLink",RouterLink),e.component("RouterView",RouterView),e.config.globalProperties.$router=this,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>unref(c)}),isBrowser&&!R&&c.value===START_LOCATION_NORMALIZED&&(R=!0,m(r.location).catch((e=>{})));const t={};for(const o in START_LOCATION_NORMALIZED)t[o]=computed$1((()=>c.value[o]));e.provide(routerKey,this),e.provide(routeLocationKey,reactive(t)),e.provide(routerViewLocationKey,c);const n=e.unmount;L.add(e),e.unmount=function(){L.delete(e),L.size<1&&(l=START_LOCATION_NORMALIZED,E&&E(),E=null,c.value=START_LOCATION_NORMALIZED,R=!1,S=!1),n()}}};return $}function runGuardQueue(e){return e.reduce(((e,t)=>e.then((()=>t()))),Promise.resolve())}function extractChangingRecords(e,t){const n=[],o=[],r=[],i=Math.max(t.matched.length,e.matched.length);for(let a=0;aisSameRouteRecord(e,i)))?o.push(i):n.push(i));const s=e.matched[a];s&&(t.matched.find((e=>isSameRouteRecord(e,s)))||r.push(s))}return[n,o,r]}function useRouter(){return inject(routerKey)}function useRoute(){return inject(routeLocationKey)}const isEnableLocale=once((()=>"undefined"!=typeof __uniConfig&&__uniConfig.locales&&!!Object.keys(__uniConfig.locales).length));let i18n;function getLocaleMessage(){const e=getLocale(),t=__uniConfig.locales;return t[e]||t[__uniConfig.fallbackLocale]||t.en||{}}function formatI18n(e){return isI18nStr(e,I18N_JSON_DELIMITERS)?useI18n().f(e,getLocaleMessage(),I18N_JSON_DELIMITERS):e}function resolveJsonObj(e,t){if(1===t.length){if(e){const n=e[t[0]];if(isString(n)&&isI18nStr(n,I18N_JSON_DELIMITERS))return e}return}const n=t.shift();return resolveJsonObj(e&&e[n],t)}function defineI18nProperty(e,t){const n=resolveJsonObj(e,t);if(!n)return!1;const o=t[t.length-1];let r=n[o];return Object.defineProperty(n,o,{get:()=>formatI18n(r),set(e){r=e}}),!0}function useI18n(){if(!i18n){let e;if(e=window.localStorage&&localStorage[UNI_STORAGE_LOCALE]||__uniConfig.locale||navigator.language,i18n=initVueI18n(e),isEnableLocale()){const t=Object.keys(__uniConfig.locales||{});t.length&&t.forEach((e=>i18n.add(e,__uniConfig.locales[e]))),i18n.setLocale(e)}}return i18n}function normalizeMessages(e,t,n){return t.reduce(((t,o,r)=>(t[e+o]=n[r],t)),{})}const initI18nAsyncMsgsOnce=once((()=>{const e="uni.async.",t=["error"];useI18n().add(LOCALE_EN,normalizeMessages(e,t,["The connection timed out, click the screen to try again."]),!1),useI18n().add(LOCALE_ES,normalizeMessages(e,t,["Se agotó el tiempo de conexión, haga clic en la pantalla para volver a intentarlo."]),!1),useI18n().add(LOCALE_FR,normalizeMessages(e,t,["La connexion a expiré, cliquez sur l'écran pour réessayer."]),!1),useI18n().add(LOCALE_ZH_HANS,normalizeMessages(e,t,["连接服务器超时,点击屏幕重试"]),!1),useI18n().add(LOCALE_ZH_HANT,normalizeMessages(e,t,["連接服務器超時,點擊屏幕重試"]),!1)})),initI18nShowToastMsgsOnce=once((()=>{const e="uni.showToast.",t=["unpaired"];useI18n().add(LOCALE_EN,normalizeMessages(e,t,["Please note showToast must be paired with hideToast"]),!1),useI18n().add(LOCALE_ES,normalizeMessages(e,t,["Tenga en cuenta que showToast debe estar emparejado con hideToast"]),!1),useI18n().add(LOCALE_FR,normalizeMessages(e,t,["Veuillez noter que showToast doit être associé à hideToast"]),!1),useI18n().add(LOCALE_ZH_HANS,normalizeMessages(e,t,["请注意 showToast 与 hideToast 必须配对使用"]),!1),useI18n().add(LOCALE_ZH_HANT,normalizeMessages(e,t,["請注意 showToast 與 hideToast 必須配對使用"]),!1)})),initI18nShowLoadingMsgsOnce=once((()=>{const e="uni.showLoading.",t=["unpaired"];useI18n().add(LOCALE_EN,normalizeMessages(e,t,["Please note showLoading must be paired with hideLoading"]),!1),useI18n().add(LOCALE_ES,normalizeMessages(e,t,["Tenga en cuenta que showLoading debe estar emparejado con hideLoading"]),!1),useI18n().add(LOCALE_FR,normalizeMessages(e,t,["Veuillez noter que showLoading doit être associé à hideLoading"]),!1),useI18n().add(LOCALE_ZH_HANS,normalizeMessages(e,t,["请注意 showLoading 与 hideLoading 必须配对使用"]),!1),useI18n().add(LOCALE_ZH_HANT,normalizeMessages(e,t,["請注意 showLoading 與 hideLoading 必須配對使用"]),!1)})),initI18nShowModalMsgsOnce=once((()=>{const e="uni.showModal.",t=["cancel","confirm"];useI18n().add(LOCALE_EN,normalizeMessages(e,t,["Cancel","OK"]),!1),useI18n().add(LOCALE_ES,normalizeMessages(e,t,["Cancelar","OK"]),!1),useI18n().add(LOCALE_FR,normalizeMessages(e,t,["Annuler","OK"]),!1),useI18n().add(LOCALE_ZH_HANS,normalizeMessages(e,t,["取消","确定"]),!1),useI18n().add(LOCALE_ZH_HANT,normalizeMessages(e,t,["取消","確定"]),!1)})),initI18nChooseFileMsgsOnce=once((()=>{const e="uni.chooseFile.",t=["notUserActivation"];useI18n().add(LOCALE_EN,normalizeMessages(e,t,["File chooser dialog can only be shown with a user activation"]),!1),useI18n().add(LOCALE_ES,normalizeMessages(e,t,["El cuadro de diálogo del selector de archivos solo se puede mostrar con la activación del usuario"]),!1),useI18n().add(LOCALE_FR,normalizeMessages(e,t,["La boîte de dialogue du sélecteur de fichier ne peut être affichée qu'avec une activation par l'utilisateur"]),!1),useI18n().add(LOCALE_ZH_HANS,normalizeMessages(e,t,["文件选择器对话框只能在用户激活时显示"]),!1),useI18n().add(LOCALE_ZH_HANT,normalizeMessages(e,t,["文件選擇器對話框只能在用戶激活時顯示"]),!1)}));function initTabBarI18n(e){return isEnableLocale()&&e.list&&e.list.forEach((e=>{defineI18nProperty(e,["text"])})),e}function initBridge(e){const t=new E$1;return{on:(e,n)=>t.on(e,n),once:(e,n)=>t.once(e,n),off:(e,n)=>t.off(e,n),emit:(e,...n)=>t.emit(e,...n),subscribe(n,o,r=!1){t[r?"once":"on"](`${e}.${n}`,o)},unsubscribe(n,o){t.off(`${e}.${n}`,o)},subscribeHandler(n,o,r){t.emit(`${e}.${n}`,o,r)}}}const INVOKE_VIEW_API="invokeViewApi",INVOKE_SERVICE_API="invokeServiceApi";let invokeServiceMethodId=1;const invokeServiceMethod=(e,t,n)=>{const{subscribe:o,publishHandler:r}=UniViewJSBridge$1,i=n?invokeServiceMethodId++:0;n&&o(INVOKE_SERVICE_API+"."+i,n,!0),r(INVOKE_SERVICE_API,{id:i,name:e,args:t})},viewMethods=Object.create(null);function normalizeViewMethodName(e,t){return e+"."+t}function subscribeViewMethod(e,t){UniViewJSBridge$1.subscribe(normalizeViewMethodName(e,INVOKE_VIEW_API),t?t(onInvokeViewMethod):onInvokeViewMethod)}function unsubscribeViewMethod(e){UniViewJSBridge$1.unsubscribe(normalizeViewMethodName(e,INVOKE_VIEW_API)),Object.keys(viewMethods).forEach((t=>{0===t.indexOf(e+".")&&delete viewMethods[t]}))}function registerViewMethod(e,t,n){t=normalizeViewMethodName(e,t),viewMethods[t]||(viewMethods[t]=n)}function unregisterViewMethod(e,t){t=normalizeViewMethodName(e,t),delete viewMethods[t]}function onInvokeViewMethod({id:e,name:t,args:n},o){t=normalizeViewMethodName(o,t);const r=t=>{e&&UniViewJSBridge$1.publishHandler(INVOKE_VIEW_API+"."+e,t)},i=viewMethods[t];i?i(n,r):r({})}const ViewJSBridge=extend$1(initBridge("service"),{invokeServiceMethod:invokeServiceMethod}),LONGPRESS_TIMEOUT=350,LONGPRESS_THRESHOLD=10,passiveOptions$2=passive(!0);let longPressTimer;function clearLongPressTimer(){longPressTimer&&(clearTimeout(longPressTimer),longPressTimer=null)}let startPageX=0,startPageY=0;function touchstart(e){if(clearLongPressTimer(),1!==e.touches.length)return;const{pageX:t,pageY:n}=e.touches[0];startPageX=t,startPageY=n,longPressTimer=setTimeout((function(){const t=new CustomEvent("longpress",{bubbles:!0,cancelable:!0,target:e.target,currentTarget:e.currentTarget});t.touches=e.touches,t.changedTouches=e.changedTouches,e.target.dispatchEvent(t)}),LONGPRESS_TIMEOUT)}function touchmove(e){if(!longPressTimer)return;if(1!==e.touches.length)return clearLongPressTimer();const{pageX:t,pageY:n}=e.touches[0];return Math.abs(t-startPageX)>LONGPRESS_THRESHOLD||Math.abs(n-startPageY)>LONGPRESS_THRESHOLD?clearLongPressTimer():void 0}function initLongPress(){window.addEventListener("touchstart",touchstart,passiveOptions$2),window.addEventListener("touchmove",touchmove,passiveOptions$2),window.addEventListener("touchend",clearLongPressTimer,passiveOptions$2),window.addEventListener("touchcancel",clearLongPressTimer,passiveOptions$2)}function checkValue$1(e,t){const n=Number(e);return isNaN(n)?t:n}function getWindowWidth$1(){const e=/^Apple/.test(navigator.vendor)&&"number"==typeof window.orientation,t=e&&90===Math.abs(window.orientation);var n=e?Math[t?"max":"min"](screen.width,screen.height):screen.width;return Math.min(window.innerWidth,document.documentElement.clientWidth,n)||n}function useRem(){const e=__uniConfig.globalStyle||{},t=checkValue$1(e.rpxCalcMaxDeviceWidth,960),n=checkValue$1(e.rpxCalcBaseDeviceWidth,375);function o(){let e=getWindowWidth$1();e=e<=t?e:n,document.documentElement.style.fontSize=e/23.4375+"px"}o(),document.addEventListener("DOMContentLoaded",o),window.addEventListener("load",o),window.addEventListener("resize",o)}function initView(){useRem(),initCustomDatasetOnce(),initLongPress()}var attrs=["top","left","right","bottom"],inited$1,elementComputedStyle={},support;function getSupport(){return support="CSS"in window&&"function"==typeof CSS.supports?CSS.supports("top: env(safe-area-inset-top)")?"env":CSS.supports("top: constant(safe-area-inset-top)")?"constant":"":""}function init(){if(support="string"==typeof support?support:getSupport()){var e=[],t=!1;try{var n=Object.defineProperty({},"passive",{get:function(){t={passive:!0}}});window.addEventListener("test",null,n)}catch(a){}var o=document.createElement("div");r(o,{position:"absolute",left:"0",top:"0",width:"0",height:"0",zIndex:"-1",overflow:"hidden",visibility:"hidden"}),attrs.forEach((function(e){!function(e,n){var o=document.createElement("div"),a=document.createElement("div"),s=document.createElement("div"),c=document.createElement("div"),l={position:"absolute",width:"100px",height:"200px",boxSizing:"border-box",overflow:"hidden",paddingBottom:support+"(safe-area-inset-"+n+")"};r(o,l),r(a,l),r(s,{transition:"0s",animation:"none",width:"400px",height:"400px"}),r(c,{transition:"0s",animation:"none",width:"250%",height:"250%"}),o.appendChild(s),a.appendChild(c),e.appendChild(o),e.appendChild(a),i((function(){o.scrollTop=a.scrollTop=1e4;var e=o.scrollTop,r=a.scrollTop;function i(){this.scrollTop!==(this===o?e:r)&&(o.scrollTop=a.scrollTop=1e4,e=o.scrollTop,r=a.scrollTop,attrChange(n))}o.addEventListener("scroll",i,t),a.addEventListener("scroll",i,t)}));var u=getComputedStyle(o);Object.defineProperty(elementComputedStyle,n,{configurable:!0,get:function(){return parseFloat(u.paddingBottom)}})}(o,e)})),document.body.appendChild(o),i(),inited$1=!0}else attrs.forEach((function(e){elementComputedStyle[e]=0}));function r(e,t){var n=e.style;Object.keys(t).forEach((function(e){var o=t[e];n[e]=o}))}function i(t){t?e.push(t):e.forEach((function(e){e()}))}}function getAttr(e){return inited$1||init(),elementComputedStyle[e]}var changeAttrs=[];function attrChange(e){changeAttrs.length||setTimeout((function(){var e={};changeAttrs.forEach((function(t){e[t]=elementComputedStyle[t]})),changeAttrs.length=0,callbacks.forEach((function(t){t(e)}))}),0),changeAttrs.push(e)}var callbacks=[];function onChange(e){getSupport()&&(inited$1||init(),"function"==typeof e&&callbacks.push(e))}function offChange(e){var t=callbacks.indexOf(e);t>=0&&callbacks.splice(t,1)}var safeAreaInsets={get support(){return 0!=("string"==typeof support?support:getSupport()).length},get top(){return getAttr("top")},get left(){return getAttr("left")},get right(){return getAttr("right")},get bottom(){return getAttr("bottom")},onChange:onChange,offChange:offChange},out=safeAreaInsets;const onEventPrevent=withModifiers((()=>{}),["prevent"]),onEventStop=withModifiers((()=>{}),["stop"]);function getWindowOffsetCssVar(e,t){return parseInt((e.getPropertyValue(t).match(/\d+/)||["0"])[0])}function getWindowTop(){const e=getWindowOffsetCssVar(document.documentElement.style,"--window-top");return e?e+out.top:0}function getWindowOffset(){const e=document.documentElement.style,t=getWindowTop(),n=getWindowOffsetCssVar(e,"--window-bottom"),o=getWindowOffsetCssVar(e,"--window-left"),r=getWindowOffsetCssVar(e,"--window-right"),i=getWindowOffsetCssVar(e,"--top-window-height");return{top:t,bottom:n?n+out.bottom:0,left:o?o+out.left:0,right:r?r+out.right:0,topWindowHeight:i||0}}function updateCssVar(e){const t=document.documentElement.style;Object.keys(e).forEach((n=>{t.setProperty(n,e[n])}))}function updatePageCssVar(e){return updateCssVar(e)}function PolySymbol(e){return Symbol(e)}function hasRpx(e){return-1!==(e+="").indexOf("rpx")||-1!==e.indexOf("upx")}function rpx2px$1(e,t=!1){if(t)return rpx2pxWithReplace(e);if(isString(e)){const t=parseInt(e)||0;return hasRpx(e)?upx2px(t):t}return e}function rpx2pxWithReplace(e){return hasRpx(e)?e.replace(/(\d+(\.\d+)?)[ru]px/g,((e,t)=>upx2px(parseFloat(t))+"px")):e}const ICON_PATH_SUCCESS_NO_CIRCLE="M1.952 18.080q-0.32-0.352-0.416-0.88t0.128-0.976l0.16-0.352q0.224-0.416 0.64-0.528t0.8 0.176l6.496 4.704q0.384 0.288 0.912 0.272t0.88-0.336l17.312-14.272q0.352-0.288 0.848-0.256t0.848 0.352l-0.416-0.416q0.32 0.352 0.32 0.816t-0.32 0.816l-18.656 18.912q-0.32 0.352-0.8 0.352t-0.8-0.32l-7.936-8.064z",ICON_PATH_WARN="M15.808 0.16q-4.224 0-7.872 2.176-3.552 2.112-5.632 5.728-2.144 3.744-2.144 8.128 0 4.192 2.144 7.872 2.112 3.52 5.632 5.632 3.68 2.144 7.872 2.144 4.384 0 8.128-2.144 3.616-2.080 5.728-5.632 2.176-3.648 2.176-7.872 0-4.384-2.176-8.128-2.112-3.616-5.728-5.728-3.744-2.176-8.128-2.176zM15.136 8.672h1.728q0.128 0 0.224 0.096t0.096 0.256l-0.384 10.24q0 0.064-0.048 0.112t-0.112 0.048h-1.248q-0.096 0-0.144-0.048t-0.048-0.112l-0.384-10.24q0-0.16 0.096-0.256t0.224-0.096zM16 23.328q-0.48 0-0.832-0.352t-0.352-0.848 0.352-0.848 0.832-0.352 0.832 0.352 0.352 0.848-0.352 0.848-0.832 0.352z";function createSvgIconVNode(e,t="#000",n=27){return createVNode("svg",{width:n,height:n,viewBox:"0 0 32 32"},[createVNode("path",{d:e,fill:t},null,8,["d","fill"])],8,["width","height"])}function useCurrentPageId(){{const{$pageInstance:e}=getCurrentInstance();return e&&e.proxy.$page.id}}function getPageIdByVm(e){const t=resolveComponentInstance(e);if(t.$page)return t.$page.id;if(t.$){const{$pageInstance:e}=t.$;return e&&e.proxy.$page.id}}function getCurrentPage(){const e=getCurrentPages$1(),t=e.length;if(t)return e[t-1]}function getCurrentPageMeta(){const e=getCurrentPage();if(e)return e.$page.meta}function getCurrentPageId(){const e=getCurrentPageMeta();return e?e.id:-1}function getCurrentPageVm(){const e=getCurrentPage();if(e)return e.$vm}const PAGE_META_KEYS=["navigationBar","pullToRefresh"];function initGlobalStyle(){return JSON.parse(JSON.stringify(__uniConfig.globalStyle||{}))}function initRouteMeta(e,t){const n=initGlobalStyle(),o=extend$1({id:t},n,e);PAGE_META_KEYS.forEach((t=>{o[t]=extend$1({},n[t],e[t])}));const{navigationBar:r}=o;return r.titleText&&r.titleImage&&(r.titleText=""),o}function initPageInternalInstance(e,t,n,o,r){const{id:i,route:a}=o;return{id:i,path:addLeadingSlash(a),route:a,fullPath:t,options:n,meta:o,openType:e,eventChannel:r,statusBarStyle:"#000000"===o.navigationBar.titleColor?"dark":"light"}}function invokeHook(e,t,n){if(isString(e))n=t,t=e,e=getCurrentPageVm();else if("number"==typeof e){const t=getCurrentPages$1().find((t=>t.$page.id===e));e=t?t.$vm:getCurrentPageVm()}if(!e)return;const o=e.$[t];return o&&invokeArrayFns(o,n)}function disableScrollListener(e){e.preventDefault()}let testReachBottomTimer,lastScrollHeight=0;function createScrollListener({onPageScroll:e,onReachBottom:t,onReachBottomDistance:n}){let o=!1,r=!1,i=!0;const a=()=>{function a(){if((()=>{const{scrollHeight:e}=document.documentElement,t=window.innerHeight,o=window.scrollY,i=o>0&&e>t&&o+t+n>=e,a=Math.abs(e-lastScrollHeight)>n;return!i||r&&!a?(!i&&r&&(r=!1),!1):(lastScrollHeight=e,r=!0,!0)})())return t&&t(),i=!1,setTimeout((function(){i=!0}),350),!0}e&&e(window.pageYOffset),t&&i&&(a()||(testReachBottomTimer=setTimeout(a,300))),o=!1};return function(){clearTimeout(testReachBottomTimer),o||requestAnimationFrame(a),o=!0}}function normalizeRoute(e){if(0===e.indexOf("/"))return e;let t="";const n=getCurrentPages$1();return n.length&&(t=n[n.length-1].$page.route),getRealRoute(t,e)}function getRealRoute(e,t){if(0===t.indexOf("/"))return t;if(0===t.indexOf("./"))return getRealRoute(e,t.slice(2));const n=t.split("/"),o=n.length;let r=0;for(;r0?e.split("/"):[];return i.splice(i.length-r-1,r+1),addLeadingSlash(i.concat(n).join("/"))}function getRouteOptions(e,t=!1){return t?__uniRoutes.find((t=>t.path===e||t.alias===e)):__uniRoutes.find((t=>t.path===e))}function normalizeTabBarRoute(e,t,n){const o=getRouteOptions(addLeadingSlash(t));if(o){const{meta:e}=o;delete e.tabBarIndex,e.isQuit=e.isTabBar=!1}const r=getRouteOptions(addLeadingSlash(n));if(r){const{meta:t}=r;t.tabBarIndex=e,t.isQuit=t.isTabBar=!0;const o=__uniConfig.tabBar;o&&o.list&&o.list[e]&&(o.list[e].pagePath=removeLeadingSlash(n))}}class ComponentDescriptor{constructor(e){this.$bindClass=!1,this.$bindStyle=!1,this.$vm=e,this.$el=resolveOwnerEl(e.$),this.$el.getAttribute&&(this.$bindClass=!!this.$el.getAttribute("class"),this.$bindStyle=!!this.$el.getAttribute("style"))}selectComponent(e){if(!this.$el||!e)return;const t=getWxsVm(this.$el.querySelector(e));return t?createComponentDescriptor(t,!1):void 0}selectAllComponents(e){if(!this.$el||!e)return[];const t=[],n=this.$el.querySelectorAll(e);for(let o=0;o-1&&t.splice(n,1)}const n=this.$el.__wxsRemoveClass||(this.$el.__wxsRemoveClass=[]);return-1===n.indexOf(e)&&(n.push(e),this.forceUpdate("class")),this}hasClass(e){return this.$el&&this.$el.classList.contains(e)}getDataset(){return this.$el&&this.$el.dataset}callMethod(e,t={}){const n=this.$vm[e];isFunction$1(n)?n(JSON.parse(JSON.stringify(t))):this.$vm.ownerId&&UniViewJSBridge$1.publishHandler(ON_WXS_INVOKE_CALL_METHOD,{nodeId:this.$el.__id,ownerId:this.$vm.ownerId,method:e,args:t})}requestAnimationFrame(e){return window.requestAnimationFrame(e)}getState(){return this.$el&&(this.$el.__wxsState||(this.$el.__wxsState={}))}triggerEvent(e,t={}){return this.$vm.$emit(e,t),this}getComputedStyle(e){if(this.$el){const t=window.getComputedStyle(this.$el);return e&&e.length?e.reduce(((e,n)=>(e[n]=t[n],e)),{}):t}return{}}setTimeout(e,t){return window.setTimeout(e,t)}clearTimeout(e){return window.clearTimeout(e)}getBoundingClientRect(){return this.$el.getBoundingClientRect()}}function createComponentDescriptor(e,t=!0){if(t&&e&&(e=resolveOwnerVm(e.$)),e&&e.$el)return e.$el.__wxsComponentDescriptor||(e.$el.__wxsComponentDescriptor=new ComponentDescriptor(e)),e.$el.__wxsComponentDescriptor}function getComponentDescriptor(e,t){return createComponentDescriptor(e,t)}function resolveOwnerComponentPublicInstance(e,t,n=!0){if(!t)return!1;if(n&&e.length<2)return!1;const o=resolveOwnerVm(t);if(!o)return!1;const r=o.$.type;return!(!r.$wxs&&!r.$renderjs)&&o}function wrapperH5WxsEvent(e,t,n,o=!0){if(t){e.__instance||(e.__instance=!0,Object.defineProperty(e,"instance",{get:()=>getComponentDescriptor(n.proxy,!1)}));const r=resolveOwnerComponentPublicInstance(t,n,o);if(r)return[e,getComponentDescriptor(r,!1)]}}function getWxsVm(e){if(e)return e.__vueParentComponent&&e.__vueParentComponent.proxy}const isClickEvent=e=>"click"===e.type,isMouseEvent=e=>0===e.type.indexOf("mouse")||["contextmenu"].includes(e.type);function $nne(e,t,n){const{currentTarget:o}=e;if(!(e instanceof Event&&o instanceof HTMLElement))return[e];const r=0!==o.tagName.indexOf("UNI-");if(r)return wrapperH5WxsEvent(e,t,n,!1)||[e];const i=createNativeEvent(e,r);if(isClickEvent(e))normalizeClickEvent(i,e);else if(isMouseEvent(e))normalizeMouseEvent(i,e);else if(e instanceof TouchEvent){const t=getWindowTop();i.touches=normalizeTouchEvent(e.touches,t),i.changedTouches=normalizeTouchEvent(e.changedTouches,t)}return wrapperH5WxsEvent(i,t,n)||[i]}function findUniTarget(e){for(;e&&0!==e.tagName.indexOf("UNI-");)e=e.parentElement;return e}function createNativeEvent(e,t=!1){const{type:n,timeStamp:o,target:r,currentTarget:i}=e,a={type:n,timeStamp:o,target:normalizeTarget(t?r:findUniTarget(r)),detail:{},currentTarget:normalizeTarget(i)};return e._stopped&&(a._stopped=!0),e.type.startsWith("touch")&&(a.touches=e.touches,a.changedTouches=e.changedTouches),wrapperEvent(a,e),a}function wrapperEvent(e,t){extend$1(e,{preventDefault:()=>t.preventDefault(),stopPropagation:()=>t.stopPropagation()})}function normalizeClickEvent(e,t){const{x:n,y:o}=t,r=getWindowTop();e.detail={x:n,y:o-r},e.touches=e.changedTouches=[createTouchEvent(t,r)]}function normalizeMouseEvent(e,t){const n=getWindowTop();e.pageX=t.pageX,e.pageY=t.pageY-n,e.clientX=t.clientX,e.clientY=t.clientY-n,e.touches=e.changedTouches=[createTouchEvent(t,n)]}function createTouchEvent(e,t){return{force:1,identifier:0,clientX:e.clientX,clientY:e.clientY-t,pageX:e.pageX,pageY:e.pageY-t}}function normalizeTouchEvent(e,t){const n=[];for(let o=0;oUniServiceJSBridge$1.emit("api."+e,t);let invokeViewMethodId=1;function publishViewMethodName(){return getCurrentPageId()+"."+INVOKE_VIEW_API}const invokeViewMethod=(e,t,n,o)=>{const{subscribe:r,publishHandler:i}=UniServiceJSBridge$1,a=o?invokeViewMethodId++:0;o&&r(INVOKE_VIEW_API+"."+a,o,!0),i(publishViewMethodName(),{id:a,name:e,args:t},n)},invokeViewMethodKeepAlive=(e,t,n,o)=>{const{subscribe:r,unsubscribe:i,publishHandler:a}=UniServiceJSBridge$1,s=invokeViewMethodId++,c=INVOKE_VIEW_API+"."+s;return r(c,n),a(publishViewMethodName(),{id:s,name:e,args:t},o),()=>{i(c)}},ServiceJSBridge=extend$1(initBridge("view"),{invokeOnCallback:invokeOnCallback,invokeViewMethod:invokeViewMethod,invokeViewMethodKeepAlive:invokeViewMethodKeepAlive});function initOn(){const{on:e}=UniServiceJSBridge$1;e(ON_RESIZE,onResize$1),e(ON_APP_ENTER_FOREGROUND,onAppEnterForeground),e(ON_APP_ENTER_BACKGROUND,onAppEnterBackground)}function onResize$1(e){invokeHook(getCurrentPage(),ON_RESIZE,e),UniServiceJSBridge$1.invokeOnCallback("onWindowResize",e)}function onAppEnterForeground(e){const t=getCurrentPage();invokeHook(getApp$1(),ON_SHOW,e),invokeHook(t,ON_SHOW)}function onAppEnterBackground(){invokeHook(getApp$1(),ON_HIDE),invokeHook(getCurrentPage(),ON_HIDE)}const SUBSCRIBE_LIFECYCLE_HOOKS=[ON_PAGE_SCROLL,ON_REACH_BOTTOM];function initSubscribe(){SUBSCRIBE_LIFECYCLE_HOOKS.forEach((e=>UniServiceJSBridge$1.subscribe(e,createPageEvent(e))))}function createPageEvent(e){return(t,n)=>{invokeHook(parseInt(n),e,t)}}function initService(){initOn(),initSubscribe()}function initAppVm(e){e.$vm=e,e.$mpType="app";const t=ref(useI18n().getLocale());Object.defineProperty(e,"$locale",{get:()=>t.value,set(e){t.value=e}})}function initPageVm(e,t){e.route=t.route,e.$vm=e,e.$page=t,e.$mpType="page",t.meta.isTabBar&&(e.$.__isTabBar=!0,e.$.__isActive=!0)}function getOpenerEventChannel(){if(this.$route){const e=this.$route.meta;return e.eventChannel||(e.eventChannel=new EventChannel(this.$page.id)),e.eventChannel}}function initAppConfig(e){e.globalProperties.getOpenerEventChannel=getOpenerEventChannel}function initServicePlugin(e){initAppConfig(e._context.config)}function createLaunchOptions(){return{path:"",query:{},scene:1001,referrerInfo:{appId:"",extraData:{}}}}function defineGlobalData(e,t){const n=e.$options||{};n.globalData=extend$1(n.globalData||{},t),Object.defineProperty(e,"globalData",{get:()=>n.globalData,set(e){n.globalData=e}})}function converPx(e){return/^-?\d+[ur]px$/i.test(e)?e.replace(/(^-?\d+)[ur]px$/i,((e,t)=>`${upx2px(parseFloat(t))}px`)):/^-?[\d\.]+$/.test(e)?`${e}px`:e||""}function converType(e){return e.replace(/[A-Z]/g,(e=>`-${e.toLowerCase()}`)).replace("webkit","-webkit")}function getStyle(e){const t=["matrix","matrix3d","scale","scale3d","rotate3d","skew","translate","translate3d"],n=["scaleX","scaleY","scaleZ","rotate","rotateX","rotateY","rotateZ","skewX","skewY","translateX","translateY","translateZ"],o=["opacity","background-color"],r=["width","height","left","right","top","bottom"],i=e.animates,a=e.option,s=a.transition,c={},l=[];return i.forEach((e=>{let i=e.type,a=[...e.args];if(t.concat(n).includes(i))i.startsWith("rotate")||i.startsWith("skew")?a=a.map((e=>parseFloat(e)+"deg")):i.startsWith("translate")&&(a=a.map(converPx)),n.indexOf(i)>=0&&(a.length=1),l.push(`${i}(${a.join(",")})`);else if(o.concat(r).includes(a[0])){i=a[0];const e=a[1];c[i]=r.includes(i)?converPx(e):e}})),c.transform=c.webkitTransform=l.join(" "),c.transition=c.webkitTransition=Object.keys(c).map((e=>`${converType(e)} ${s.duration}ms ${s.timingFunction} ${s.delay}ms`)).join(","),c.transformOrigin=c.webkitTransformOrigin=a.transformOrigin,c}function startAnimation(e){const t=e.animation;if(!t||!t.actions||!t.actions.length)return;let n=0;const o=t.actions,r=t.actions.length;function i(){const t=o[n],a=t.option.transition,s=getStyle(t);Object.keys(s).forEach((t=>{e.$el.style[t]=s[t]})),n+=1,n{i()}),0)}var animation={props:["animation"],watch:{animation:{deep:!0,handler(){startAnimation(this)}}},mounted(){startAnimation(this)}};const defineBuiltInComponent=e=>{e.__reserved=!0;const{props:t,mixins:n}=e;return t&&t.animation||(n||(e.mixins=[])).push(animation),defineSystemComponent(e)},defineSystemComponent=e=>(e.__reserved=!0,e.compatConfig={MODE:3},defineComponent(e)),hoverProps={hoverClass:{type:String,default:"none"},hoverStopPropagation:{type:Boolean,default:!1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:400}};function useHover(e){const t=ref(!1);let n,o,r=!1;function i(){requestAnimationFrame((()=>{clearTimeout(o),o=setTimeout((()=>{t.value=!1}),parseInt(e.hoverStayTime))}))}function a(o){o._hoverPropagationStopped||e.hoverClass&&"none"!==e.hoverClass&&!e.disabled&&(e.hoverStopPropagation&&(o._hoverPropagationStopped=!0),r=!0,n=setTimeout((()=>{t.value=!0,r||i()}),parseInt(e.hoverStartTime)))}function s(){r=!1,t.value&&i()}function c(){s(),window.removeEventListener("mouseup",c)}return{hovering:t,binding:{onTouchstartPassive:function(e){e.touches.length>1||a(e)},onMousedown:function(e){r||(a(e),window.addEventListener("mouseup",c))},onTouchend:function(){s()},onMouseup:function(){r&&c()},onTouchcancel:function(){r=!1,t.value=!1,clearTimeout(n)}}}}function useBooleanAttr(e,t){return isString(t)&&(t=[t]),t.reduce(((t,n)=>(e[n]&&(t[n]=!0),t)),Object.create(null))}function withWebEvent(e){return e.__wwe=!0,e}function useCustomEvent(e,t){return(n,o,r)=>{e.value&&t(n,normalizeCustomEvent(n,o,e.value,r||{}))}}function useNativeEvent(e){return(t,n)=>{e(t,createNativeEvent(n))}}function normalizeCustomEvent(e,t,n,o){const r=normalizeTarget(n);return{type:o.type||e,timeStamp:t.timeStamp||0,target:r,currentTarget:r,detail:o}}const uniFormKey=PolySymbol("uf"),uniLabelKey=PolySymbol("ul");function useListeners$1(e,t){_addListeners(e.id,t),watch((()=>e.id),((e,n)=>{_removeListeners(n,t,!0),_addListeners(e,t,!0)})),onUnmounted((()=>{_removeListeners(e.id,t)}))}function _addListeners(e,t,n){const o=useCurrentPageId();n&&!e||isPlainObject$2(t)&&Object.keys(t).forEach((r=>{n?0!==r.indexOf("@")&&0!==r.indexOf("uni-")&&UniViewJSBridge$1.on(`uni-${r}-${o}-${e}`,t[r]):0===r.indexOf("uni-")?UniViewJSBridge$1.on(r,t[r]):e&&UniViewJSBridge$1.on(`uni-${r}-${o}-${e}`,t[r])}))}function _removeListeners(e,t,n){const o=useCurrentPageId();n&&!e||isPlainObject$2(t)&&Object.keys(t).forEach((r=>{n?0!==r.indexOf("@")&&0!==r.indexOf("uni-")&&UniViewJSBridge$1.off(`uni-${r}-${o}-${e}`,t[r]):0===r.indexOf("uni-")?UniViewJSBridge$1.off(r,t[r]):e&&UniViewJSBridge$1.off(`uni-${r}-${o}-${e}`,t[r])}))}const buttonProps={id:{type:String,default:""},hoverClass:{type:String,default:"button-hover"},hoverStartTime:{type:[Number,String],default:20},hoverStayTime:{type:[Number,String],default:70},hoverStopPropagation:{type:Boolean,default:!1},disabled:{type:[Boolean,String],default:!1},formType:{type:String,default:""},openType:{type:String,default:""},loading:{type:[Boolean,String],default:!1},plain:{type:[Boolean,String],default:!1}};var index$z=defineBuiltInComponent({name:"Button",props:buttonProps,setup(e,{slots:t}){const n=ref(null),o=inject(uniFormKey,!1),{hovering:r,binding:i}=useHover(e);useI18n();const a=withWebEvent(((t,r)=>{if(e.disabled)return t.stopImmediatePropagation();r&&n.value.click();const i=e.formType;if(i){if(!o)return;"submit"===i?o.submit(t):"reset"===i&&o.reset(t)}else;})),s=inject(uniLabelKey,!1);return s&&(s.addHandler(a),onBeforeUnmount((()=>{s.removeHandler(a)}))),useListeners$1(e,{"label-click":a}),()=>{const o=e.hoverClass,s=useBooleanAttr(e,"disabled"),c=useBooleanAttr(e,"loading"),l=useBooleanAttr(e,"plain"),u=o&&"none"!==o;return createVNode("uni-button",mergeProps({ref:n,onClick:a,class:u&&r.value?o:""},u&&i,s,c,l),[t.default&&t.default()],16,["onClick"])}}});function findElem(e){return e.$el}function addBase(e){const{base:t}=__uniConfig.router;return 0===addLeadingSlash(e).indexOf(t)?addLeadingSlash(e):t+e}function getRealPath(e){const{base:t,assets:n}=__uniConfig.router;if("./"===t&&(0===e.indexOf("./static/")||n&&0===e.indexOf("./"+n+"/"))&&(e=e.slice(1)),0===e.indexOf("/")){if(0!==e.indexOf("//"))return addBase(e.slice(1));e="https:"+e}if(SCHEME_RE.test(e)||DATA_RE.test(e)||0===e.indexOf("blob:"))return e;const o=getCurrentPages$1();return o.length?addBase(getRealRoute(o[o.length-1].$page.route,e).slice(1)):e}const ua=navigator.userAgent,isAndroid=/android/i.test(ua),isIOS$1=/iphone|ipad|ipod/i.test(ua),isWindows=ua.match(/Windows NT ([\d|\d.\d]*)/i),isMac=/Macintosh|Mac/i.test(ua),isLinux=/Linux|X11/i.test(ua),isIPadOS=isMac&&navigator.maxTouchPoints>0;function getScreenFix(){return/^Apple/.test(navigator.vendor)&&"number"==typeof window.orientation}function isLandscape(e){return e&&90===Math.abs(window.orientation)}function getScreenWidth(e,t){return e?Math[t?"max":"min"](screen.width,screen.height):screen.width}function getScreenHeight(e,t){return e?Math[t?"min":"max"](screen.height,screen.width):screen.height}function getWindowWidth(e){return Math.min(window.innerWidth,document.documentElement.clientWidth,e)||e}function getBaseSystemInfo(){const e=getScreenFix(),t=getWindowWidth(getScreenWidth(e,isLandscape(e)));return{platform:isIOS$1?"ios":"other",pixelRatio:window.devicePixelRatio,windowWidth:t}}function operateVideoPlayer(e,t,n,o){UniServiceJSBridge$1.invokeViewMethod("video."+e,{videoId:e,type:n,data:o},t)}function operateMap(e,t,n,o,r){UniServiceJSBridge$1.invokeViewMethod("map."+e,{type:n,data:o},t,r)}function getRootInfo(e){const t={};if(e.id&&(t.id=""),e.dataset&&(t.dataset={}),e.rect&&(t.left=0,t.right=0,t.top=0,t.bottom=0),e.size&&(t.width=document.documentElement.clientWidth,t.height=document.documentElement.clientHeight),e.scrollOffset){const e=document.documentElement,n=document.body;t.scrollLeft=e.scrollLeft||n.scrollLeft||0,t.scrollTop=e.scrollTop||n.scrollTop||0,t.scrollHeight=e.scrollHeight||n.scrollHeight||0,t.scrollWidth=e.scrollWidth||n.scrollWidth||0}return t}function getNodeInfo(e,t){const n={},{top:o,topWindowHeight:r}=getWindowOffset();if(t.id&&(n.id=e.id),t.dataset&&(n.dataset=getCustomDataset(e)),t.rect||t.size){const i=e.getBoundingClientRect();t.rect&&(n.left=i.left,n.right=i.right,n.top=i.top-o-r,n.bottom=i.bottom-o-r),t.size&&(n.width=i.width,n.height=i.height)}if(isArray$4(t.properties)&&t.properties.forEach((e=>{e=e.replace(/-([a-z])/g,(function(e,t){return t.toUpperCase()}))})),t.scrollOffset)if("UNI-SCROLL-VIEW"===e.tagName){const t=e.children[0].children[0];n.scrollLeft=t.scrollLeft,n.scrollTop=t.scrollTop,n.scrollHeight=t.scrollHeight,n.scrollWidth=t.scrollWidth}else n.scrollLeft=0,n.scrollTop=0,n.scrollHeight=0,n.scrollWidth=0;if(isArray$4(t.computedStyle)){const o=getComputedStyle(e);t.computedStyle.forEach((e=>{n[e]=o[e]}))}return t.context&&(n.contextInfo=getContextInfo(e)),n}function findElm(e,t){return e?e.$el:t.$el}function matches(e,t){return(e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector||function(e){const t=this.parentElement.querySelectorAll(e);let n=t.length;for(;--n>=0&&t.item(n)!==this;);return n>-1}).call(e,t)}function getNodesInfo(e,t,n,o,r){const i=findElm(t,e),a=i.parentElement;if(!a)return o?null:[];const{nodeType:s}=i,c=3===s||8===s;if(o){const e=c?a.querySelector(n):matches(i,n)?i:i.querySelector(n);return e?getNodeInfo(e,r):null}{let e=[];const t=(c?a:i).querySelectorAll(n);return t&&t.length&&[].forEach.call(t,(t=>{e.push(getNodeInfo(t,r))})),!c&&matches(i,n)&&e.unshift(getNodeInfo(i,r)),e}}function requestComponentInfo(e,t,n){const o=[];t.forEach((({component:t,selector:n,single:r,fields:i})=>{null===t?o.push(getRootInfo(i)):o.push(getNodesInfo(e,t,n,r,i))})),n(o)}const CHOOSE_SIZE_TYPES=["original","compressed"],CHOOSE_SOURCE_TYPES=["album","camera"],HTTP_METHODS=["GET","OPTIONS","HEAD","POST","PUT","DELETE","TRACE","CONNECT","PATCH"];function elemInArray(e,t){return e&&-1!==t.indexOf(e)?e:t[0]}function elemsInArray(e,t){return!isArray$4(e)||0===e.length||e.find((e=>-1===t.indexOf(e)))?t:e}function tryCatch(e){return function(){try{return e.apply(e,arguments)}catch(t){console.error(t)}}}let invokeCallbackId=1;const invokeCallbacks={};function addInvokeCallback(e,t,n,o=!1){return invokeCallbacks[e]={name:t,keepAlive:o,callback:n},e}function invokeCallback(e,t,n){if("number"==typeof e){const o=invokeCallbacks[e];if(o)return o.keepAlive||delete invokeCallbacks[e],o.callback(t,n)}return t}const API_SUCCESS="success",API_FAIL="fail",API_COMPLETE="complete";function getApiCallbacks(e){const t={};for(const n in e){const o=e[n];isFunction$1(o)&&(t[n]=tryCatch(o),delete e[n])}return t}function normalizeErrMsg$1(e,t){return e&&-1!==e.indexOf(":fail")?t+e.substring(e.indexOf(":fail")):t+":ok"}function createAsyncApiCallback(e,t={},{beforeAll:n,beforeSuccess:o}={}){isPlainObject$2(t)||(t={});const{success:r,fail:i,complete:a}=getApiCallbacks(t),s=isFunction$1(r),c=isFunction$1(i),l=isFunction$1(a),u=invokeCallbackId++;return addInvokeCallback(u,e,(u=>{(u=u||{}).errMsg=normalizeErrMsg$1(u.errMsg,e),isFunction$1(n)&&n(u),u.errMsg===e+":ok"?(isFunction$1(o)&&o(u,t),s&&r(u)):c&&i(u),l&&a(u)})),u}const HOOK_SUCCESS="success",HOOK_FAIL="fail",HOOK_COMPLETE="complete",globalInterceptors={},scopedInterceptors={};function wrapperHook(e){return function(t){return e(t)||t}}function queue(e,t){let n=!1;for(let o=0;oe(t),catch(){}}}function wrapperOptions(e,t={}){return[HOOK_SUCCESS,HOOK_FAIL,HOOK_COMPLETE].forEach((n=>{const o=e[n];if(!isArray$4(o))return;const r=t[n];t[n]=function(e){queue(o,e).then((e=>isFunction$1(r)&&r(e)||e))}})),t}function wrapperReturnValue(e,t){const n=[];isArray$4(globalInterceptors.returnValue)&&n.push(...globalInterceptors.returnValue);const o=scopedInterceptors[e];return o&&isArray$4(o.returnValue)&&n.push(...o.returnValue),n.forEach((e=>{t=e(t)||t})),t}function getApiInterceptorHooks(e){const t=Object.create(null);Object.keys(globalInterceptors).forEach((e=>{"returnValue"!==e&&(t[e]=globalInterceptors[e].slice())}));const n=scopedInterceptors[e];return n&&Object.keys(n).forEach((e=>{"returnValue"!==e&&(t[e]=(t[e]||[]).concat(n[e]))})),t}function invokeApi(e,t,n,o){const r=getApiInterceptorHooks(e);if(r&&Object.keys(r).length){if(isArray$4(r.invoke)){return queue(r.invoke,n).then((e=>t(wrapperOptions(r,e),...o)))}return t(wrapperOptions(r,n),...o)}return t(n,...o)}function hasCallback(e){return!(!isPlainObject$2(e)||![API_SUCCESS,API_FAIL,API_COMPLETE].find((t=>isFunction$1(e[t]))))}function handlePromise(e){return e}function promisify(e,t){return(n={},...o)=>hasCallback(n)?wrapperReturnValue(e,invokeApi(e,t,n,o)):wrapperReturnValue(e,handlePromise(new Promise(((r,i)=>{invokeApi(e,t,extend$1(n,{success:r,fail:i}),o)}))))}function formatApiArgs(e,t){const n=e[0];if(!t||!isPlainObject$2(t.formatArgs)&&isPlainObject$2(n))return;const o=t.formatArgs,r=Object.keys(o);for(let i=0;i{const i=createAsyncApiCallback(e,r,o),a=beforeInvokeApi(e,[r],n,o);return a?invokeFail(i,e,a):t(r,{resolve:t=>invokeSuccess(i,e,t),reject:(t,n)=>invokeFail(i,e,normalizeErrMsg(t),n)})}}function wrapperSyncApi(e,t,n,o){return(...r)=>{const i=beforeInvokeApi(e,r,n,o);if(i)throw new Error(i);return t.apply(null,r)}}function wrapperAsyncApi(e,t,n,o){return wrapperTaskApi(e,t,n,o)}function defineTaskApi(e,t,n,o){return promisify(e,wrapperTaskApi(e,t,void 0,o))}function defineSyncApi(e,t,n,o){return wrapperSyncApi(e,t,void 0,o)}function defineAsyncApi(e,t,n,o){return promisify(e,wrapperAsyncApi(e,t,void 0,o))}function createUnsupportedMsg(e){return`method 'uni.${e}' not supported`}function createUnsupportedAsyncApi(e){return(t,{reject:n})=>n(createUnsupportedMsg(e))}const API_UPX2PX="upx2px",EPS=1e-4,BASE_DEVICE_WIDTH=750;let isIOS=!1,deviceWidth=0,deviceDPR=0,maxWidth=960,baseWidth=375;function checkDeviceWidth(){const{platform:e,pixelRatio:t,windowWidth:n}=getBaseSystemInfo();deviceWidth=n,deviceDPR=t,isIOS="ios"===e}function checkValue(e,t){const n=Number(e);return isNaN(n)?t:n}function checkMaxWidth(){const e=__uniConfig.globalStyle||{};maxWidth=checkValue(e.rpxCalcMaxDeviceWidth,960),baseWidth=checkValue(e.rpxCalcBaseDeviceWidth,375)}const upx2px=defineSyncApi(API_UPX2PX,((e,t)=>{if(0===deviceWidth&&(checkDeviceWidth(),checkMaxWidth()),0===(e=Number(e)))return 0;let n=t||deviceWidth;n=n<=maxWidth?n:baseWidth;let o=e/BASE_DEVICE_WIDTH*n;return o<0&&(o=-o),o=Math.floor(o+EPS),0===o&&(o=1!==deviceDPR&&isIOS?.5:1),e<0?-o:o})),API_ADD_INTERCEPTOR="addInterceptor";function mergeInterceptorHook(e,t){Object.keys(t).forEach((n=>{isFunction$1(t[n])&&(e[n]=mergeHook(e[n],t[n]))}))}function mergeHook(e,t){const n=t?e?e.concat(t):isArray$4(t)?t:[t]:e;return n?dedupeHooks(n):n}function dedupeHooks(e){const t=[];for(let n=0;n{isString(e)&&isPlainObject$2(t)?mergeInterceptorHook(scopedInterceptors[e]||(scopedInterceptors[e]={}),t):isPlainObject$2(e)&&mergeInterceptorHook(globalInterceptors,e)})),API_ON="$on",API_OFF="$off",API_EMIT="$emit",emitter=new E$1,$on=defineSyncApi(API_ON,((e,t)=>(emitter.on(e,t),()=>emitter.off(e,t)))),$off=defineSyncApi(API_OFF,((e,t)=>{e?(isArray$4(e)||(e=[e]),e.forEach((e=>emitter.off(e,t)))):emitter.e={}})),$emit=defineSyncApi(API_EMIT,((e,...t)=>{emitter.emit(e,...t)})),validator=[{name:"id",type:String,required:!0}],API_CREATE_CANVAS_CONTEXT="createCanvasContext";validator.concat({name:"componentInstance",type:Object});const RATES=[.5,.8,1,1.25,1.5,2];class VideoContext{constructor(e,t){this.id=e,this.pageId=t}play(){operateVideoPlayer(this.id,this.pageId,"play")}pause(){operateVideoPlayer(this.id,this.pageId,"pause")}stop(){operateVideoPlayer(this.id,this.pageId,"stop")}seek(e){operateVideoPlayer(this.id,this.pageId,"seek",{position:e})}sendDanmu(e){operateVideoPlayer(this.id,this.pageId,"sendDanmu",e)}playbackRate(e){~RATES.indexOf(e)||(e=1),operateVideoPlayer(this.id,this.pageId,"playbackRate",{rate:e})}requestFullScreen(e={}){operateVideoPlayer(this.id,this.pageId,"requestFullScreen",e)}exitFullScreen(){operateVideoPlayer(this.id,this.pageId,"exitFullScreen")}showStatusBar(){operateVideoPlayer(this.id,this.pageId,"showStatusBar")}hideStatusBar(){operateVideoPlayer(this.id,this.pageId,"hideStatusBar")}}const operateMapCallback=(e,t)=>{const n=t.errMsg||"";new RegExp("\\:\\s*fail").test(n)?e.fail&&e.fail(t):e.success&&e.success(t),e.complete&&e.complete(t)},operateMapWrap=(e,t,n,o)=>{operateMap(e,t,n,o,(e=>{o&&operateMapCallback(o,e)}))};class MapContext{constructor(e,t){this.id=e,this.pageId=t}getCenterLocation(e){operateMapWrap(this.id,this.pageId,"getCenterLocation",e)}moveToLocation(e){operateMapWrap(this.id,this.pageId,"moveToLocation",e)}getScale(e){operateMapWrap(this.id,this.pageId,"getScale",e)}getRegion(e){operateMapWrap(this.id,this.pageId,"getRegion",e)}includePoints(e){operateMapWrap(this.id,this.pageId,"includePoints",e)}translateMarker(e){operateMapWrap(this.id,this.pageId,"translateMarker",e)}$getAppMap(){}addCustomLayer(e){operateMapWrap(this.id,this.pageId,"addCustomLayer",e)}removeCustomLayer(e){operateMapWrap(this.id,this.pageId,"removeCustomLayer",e)}addGroundOverlay(e){operateMapWrap(this.id,this.pageId,"addGroundOverlay",e)}removeGroundOverlay(e){operateMapWrap(this.id,this.pageId,"removeGroundOverlay",e)}updateGroundOverlay(e){operateMapWrap(this.id,this.pageId,"updateGroundOverlay",e)}initMarkerCluster(e){operateMapWrap(this.id,this.pageId,"initMarkerCluster",e)}addMarkers(e){operateMapWrap(this.id,this.pageId,"addMarkers",e)}removeMarkers(e){operateMapWrap(this.id,this.pageId,"removeMarkers",e)}moveAlong(e){operateMapWrap(this.id,this.pageId,"moveAlong",e)}openMapApp(e){operateMapWrap(this.id,this.pageId,"openMapApp",e)}on(e){operateMapWrap(this.id,this.pageId,"on",e)}}function getInt(e,t){return function(n,o){n?o[e]=Math.round(n):void 0!==t&&(o[e]=t)}}const formatWidth=getInt("width"),formatHeight=getInt("height"),API_CANVAS_GET_IMAGE_DATA="canvasGetImageData",CanvasGetImageDataOptions={formatArgs:{x:getInt("x"),y:getInt("y"),width:formatWidth,height:formatHeight}},CanvasGetImageDataProtocol={canvasId:{type:String,required:!0},x:{type:Number,required:!0},y:{type:Number,required:!0},width:{type:Number,required:!0},height:{type:Number,required:!0}},fileTypes={PNG:"png",JPG:"jpg",JPEG:"jpg"},API_CANVAS_TO_TEMP_FILE_PATH="canvasToTempFilePath",CanvasToTempFilePathOptions={formatArgs:{x:getInt("x",0),y:getInt("y",0),width:formatWidth,height:formatHeight,destWidth:getInt("destWidth"),destHeight:getInt("destHeight"),fileType(e,t){e=(e||"").toUpperCase();let n=fileTypes[e];n||(n=fileTypes.PNG),t.fileType=n},quality(e,t){t.quality=e&&e>0&&e<1?e:1}}},CanvasToTempFilePathProtocol={x:Number,y:Number,width:Number,height:Number,destWidth:Number,destHeight:Number,canvasId:{type:String,required:!0},fileType:String,quality:Number};function operateCanvas(e,t,n,o,r){UniServiceJSBridge$1.invokeViewMethod(`canvas.${e}`,{type:n,data:o},t,(e=>{r&&r(e)}))}var methods1=["scale","rotate","translate","setTransform","transform"],methods2=["drawImage","fillText","fill","stroke","fillRect","strokeRect","clearRect","strokeText"],methods3=["setFillStyle","setTextAlign","setStrokeStyle","setGlobalAlpha","setShadow","setFontSize","setLineCap","setLineJoin","setLineWidth","setMiterLimit","setTextBaseline","setLineDash"];function measureText(e,t){const n=document.createElement("canvas").getContext("2d");return n.font=t,n.measureText(e).width||0}const predefinedColor={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",darkgrey:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",grey:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgrey:"#d3d3d3",lightgreen:"#90ee90",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",transparent:"#00000000"};function checkColor(e){var t=null;if(null!=(t=/^#([0-9|A-F|a-f]{6})$/.exec(e=e||"#000000"))){return[parseInt(t[1].slice(0,2),16),parseInt(t[1].slice(2,4),16),parseInt(t[1].slice(4),16),255]}if(null!=(t=/^#([0-9|A-F|a-f]{3})$/.exec(e))){let e=t[1].slice(0,1),n=t[1].slice(1,2),o=t[1].slice(2,3);return e=parseInt(e+e,16),n=parseInt(n+n,16),o=parseInt(o+o,16),[e,n,o,255]}if(null!=(t=/^rgb\((.+)\)$/.exec(e)))return t[1].split(",").map((function(e){return Math.min(255,parseInt(e.trim()))})).concat(255);if(null!=(t=/^rgba\((.+)\)$/.exec(e)))return t[1].split(",").map((function(e,t){return 3===t?Math.floor(255*parseFloat(e.trim())):Math.min(255,parseInt(e.trim()))}));var n=e.toLowerCase();if(hasOwn$1(predefinedColor,n)){t=/^#([0-9|A-F|a-f]{6,8})$/.exec(predefinedColor[n]);const e=parseInt(t[1].slice(0,2),16),o=parseInt(t[1].slice(2,4),16),r=parseInt(t[1].slice(4,6),16);let i=parseInt(t[1].slice(6,8),16);return i=i>=0?i:255,[e,o,r,i]}return console.error("unsupported color:"+e),[0,0,0,255]}class CanvasGradient{constructor(e,t){this.type=e,this.data=t,this.colorStop=[]}addColorStop(e,t){this.colorStop.push([e,checkColor(t)])}}class Pattern{constructor(e,t){this.type="pattern",this.data=e,this.colorStop=t}}class TextMetrics{constructor(e){this.width=e}}class CanvasContext{constructor(e,t){this.id=e,this.pageId=t,this.actions=[],this.path=[],this.subpath=[],this.drawingState=[],this.state={lineDash:[0,0],shadowOffsetX:0,shadowOffsetY:0,shadowBlur:0,shadowColor:[0,0,0,0],font:"10px sans-serif",fontSize:10,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif"}}draw(e=!1,t){var n=[...this.actions];this.actions=[],this.path=[],operateCanvas(this.id,this.pageId,"actionsChanged",{actions:n,reserve:e},t)}createLinearGradient(e,t,n,o){return new CanvasGradient("linear",[e,t,n,o])}createCircularGradient(e,t,n){return new CanvasGradient("radial",[e,t,n])}createPattern(e,t){if(void 0===t)console.error("Failed to execute 'createPattern' on 'CanvasContext': 2 arguments required, but only 1 present.");else{if(!(["repeat","repeat-x","repeat-y","no-repeat"].indexOf(t)<0))return new Pattern(e,t);console.error("Failed to execute 'createPattern' on 'CanvasContext': The provided type ('"+t+"') is not one of 'repeat', 'no-repeat', 'repeat-x', or 'repeat-y'.")}}measureText(e){let t=0;return t=measureText(e,this.state.font),new TextMetrics(t)}save(){this.actions.push({method:"save",data:[]}),this.drawingState.push(this.state)}restore(){this.actions.push({method:"restore",data:[]}),this.state=this.drawingState.pop()||{lineDash:[0,0],shadowOffsetX:0,shadowOffsetY:0,shadowBlur:0,shadowColor:[0,0,0,0],font:"10px sans-serif",fontSize:10,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif"}}beginPath(){this.path=[],this.subpath=[],this.path.push({method:"beginPath",data:[]})}moveTo(e,t){this.path.push({method:"moveTo",data:[e,t]}),this.subpath=[[e,t]]}lineTo(e,t){0===this.path.length&&0===this.subpath.length?this.path.push({method:"moveTo",data:[e,t]}):this.path.push({method:"lineTo",data:[e,t]}),this.subpath.push([e,t])}quadraticCurveTo(e,t,n,o){this.path.push({method:"quadraticCurveTo",data:[e,t,n,o]}),this.subpath.push([n,o])}bezierCurveTo(e,t,n,o,r,i){this.path.push({method:"bezierCurveTo",data:[e,t,n,o,r,i]}),this.subpath.push([r,i])}arc(e,t,n,o,r,i=!1){this.path.push({method:"arc",data:[e,t,n,o,r,i]}),this.subpath.push([e,t])}rect(e,t,n,o){this.path.push({method:"rect",data:[e,t,n,o]}),this.subpath=[[e,t]]}arcTo(e,t,n,o,r){this.path.push({method:"arcTo",data:[e,t,n,o,r]}),this.subpath.push([n,o])}clip(){this.actions.push({method:"clip",data:[...this.path]})}closePath(){this.path.push({method:"closePath",data:[]}),this.subpath.length&&(this.subpath=[this.subpath.shift()])}clearActions(){this.actions=[],this.path=[],this.subpath=[]}getActions(){var e=[...this.actions];return this.clearActions(),e}set lineDashOffset(e){this.actions.push({method:"setLineDashOffset",data:[e]})}set globalCompositeOperation(e){this.actions.push({method:"setGlobalCompositeOperation",data:[e]})}set shadowBlur(e){this.actions.push({method:"setShadowBlur",data:[e]})}set shadowColor(e){this.actions.push({method:"setShadowColor",data:[e]})}set shadowOffsetX(e){this.actions.push({method:"setShadowOffsetX",data:[e]})}set shadowOffsetY(e){this.actions.push({method:"setShadowOffsetY",data:[e]})}set font(e){var t=this;this.state.font=e;var n=e.match(/^(([\w\-]+\s)*)(\d+r?px)(\/(\d+\.?\d*(r?px)?))?\s+(.*)/);if(n){var o=n[1].trim().split(/\s/),r=parseFloat(n[3]),i=n[7],a=[];o.forEach((function(e,n){["italic","oblique","normal"].indexOf(e)>-1?(a.push({method:"setFontStyle",data:[e]}),t.state.fontStyle=e):["bold","normal"].indexOf(e)>-1?(a.push({method:"setFontWeight",data:[e]}),t.state.fontWeight=e):0===n?(a.push({method:"setFontStyle",data:["normal"]}),t.state.fontStyle="normal"):1===n&&s()})),1===o.length&&s(),o=a.map((function(e){return e.data[0]})).join(" "),this.state.fontSize=r,this.state.fontFamily=i,this.actions.push({method:"setFont",data:[`${o} ${r}px ${i}`]})}else console.warn("Failed to set 'font' on 'CanvasContext': invalid format.");function s(){a.push({method:"setFontWeight",data:["normal"]}),t.state.fontWeight="normal"}}get font(){return this.state.font}set fillStyle(e){this.setFillStyle(e)}set strokeStyle(e){this.setStrokeStyle(e)}set globalAlpha(e){e=Math.floor(255*parseFloat(e)),this.actions.push({method:"setGlobalAlpha",data:[e]})}set textAlign(e){this.actions.push({method:"setTextAlign",data:[e]})}set lineCap(e){this.actions.push({method:"setLineCap",data:[e]})}set lineJoin(e){this.actions.push({method:"setLineJoin",data:[e]})}set lineWidth(e){this.actions.push({method:"setLineWidth",data:[e]})}set miterLimit(e){this.actions.push({method:"setMiterLimit",data:[e]})}set textBaseline(e){this.actions.push({method:"setTextBaseline",data:[e]})}}const initCanvasContextProperty=once((()=>{[...methods1,...methods2].forEach((function(e){CanvasContext.prototype[e]=function(e){switch(e){case"fill":case"stroke":return function(){this.actions.push({method:e+"Path",data:[...this.path]})};case"fillRect":return function(e,t,n,o){this.actions.push({method:"fillPath",data:[{method:"rect",data:[e,t,n,o]}]})};case"strokeRect":return function(e,t,n,o){this.actions.push({method:"strokePath",data:[{method:"rect",data:[e,t,n,o]}]})};case"fillText":case"strokeText":return function(t,n,o,r){var i=[t.toString(),n,o];"number"==typeof r&&i.push(r),this.actions.push({method:e,data:i})};case"drawImage":return function(t,n,o,r,i,a,s,c,l){var u;function d(e){return"number"==typeof e}void 0===l&&(a=n,s=o,c=r,l=i,n=void 0,o=void 0,r=void 0,i=void 0),u=d(n)&&d(o)&&d(r)&&d(i)?[t,a,s,c,l,n,o,r,i]:d(c)&&d(l)?[t,a,s,c,l]:[t,a,s],this.actions.push({method:e,data:u})};default:return function(...t){this.actions.push({method:e,data:t})}}}(e)})),methods3.forEach((function(e){CanvasContext.prototype[e]=function(e){switch(e){case"setFillStyle":case"setStrokeStyle":return function(t){"object"!=typeof t?this.actions.push({method:e,data:["normal",checkColor(t)]}):this.actions.push({method:e,data:[t.type,t.data,t.colorStop]})};case"setGlobalAlpha":return function(t){t=Math.floor(255*parseFloat(t)),this.actions.push({method:e,data:[t]})};case"setShadow":return function(t,n,o,r){r=checkColor(r),this.actions.push({method:e,data:[t,n,o,r]}),this.state.shadowBlur=o,this.state.shadowColor=r,this.state.shadowOffsetX=t,this.state.shadowOffsetY=n};case"setLineDash":return function(t,n){t=t||[0,0],n=n||0,this.actions.push({method:e,data:[t,n]}),this.state.lineDash=t};case"setFontSize":return function(t){this.state.font=this.state.font.replace(/\d+\.?\d*px/,t+"px"),this.state.fontSize=t,this.actions.push({method:e,data:[t]})};default:return function(...t){this.actions.push({method:e,data:t})}}}(e)}))})),createCanvasContext=defineSyncApi(API_CREATE_CANVAS_CONTEXT,((e,t)=>{if(initCanvasContextProperty(),t)return new CanvasContext(e,getPageIdByVm(t));const n=getPageIdByVm(getCurrentPageVm());if(n)return new CanvasContext(e,n);UniServiceJSBridge$1.emit(ON_ERROR,"createCanvasContext:fail")})),canvasGetImageData=defineAsyncApi(API_CANVAS_GET_IMAGE_DATA,(({canvasId:e,x:t,y:n,width:o,height:r},{resolve:i,reject:a})=>{const s=getPageIdByVm(getCurrentPageVm());s?operateCanvas(e,s,"getImageData",{x:t,y:n,width:o,height:r},(function(e){if(e.errMsg&&-1!==e.errMsg.indexOf("fail"))return void a("",e);let t=e.data;t&&t.length&&(e.data=new Uint8ClampedArray(t)),delete e.compressed,i(e)})):a()}),CanvasGetImageDataProtocol,CanvasGetImageDataOptions),canvasToTempFilePath=defineAsyncApi(API_CANVAS_TO_TEMP_FILE_PATH,(({x:e=0,y:t=0,width:n,height:o,destWidth:r,destHeight:i,canvasId:a,fileType:s,quality:c},{resolve:l,reject:u})=>{var d=getPageIdByVm(getCurrentPageVm());if(!d)return void u();operateCanvas(a,d,"toTempFilePath",{x:e,y:t,width:n,height:o,destWidth:r,destHeight:i,fileType:s,quality:c,dirname:`${TEMP_PATH}/canvas`},(e=>{e.errMsg&&-1!==e.errMsg.indexOf("fail")?u("",e):l(e)}))}),CanvasToTempFilePathProtocol,CanvasToTempFilePathOptions),defaultOptions$1={thresholds:[0],initialRatio:0,observeAll:!1},MARGINS=["top","right","bottom","left"];let reqComponentObserverId$1=1;function normalizeRootMargin(e={}){return MARGINS.map((t=>`${Number(e[t])||0}px`)).join(" ")}class ServiceIntersectionObserver{constructor(e,t){this._pageId=getPageIdByVm(e),this._component=e,this._options=extend$1({},defaultOptions$1,t)}relativeTo(e,t){return this._options.relativeToSelector=e,this._options.rootMargin=normalizeRootMargin(t),this}relativeToViewport(e){return this._options.relativeToSelector=void 0,this._options.rootMargin=normalizeRootMargin(e),this}observe(e,t){isFunction$1(t)&&(this._options.selector=e,this._reqId=reqComponentObserverId$1++,addIntersectionObserver({reqId:this._reqId,component:this._component,options:this._options,callback:t},this._pageId))}disconnect(){this._reqId&&removeIntersectionObserver({reqId:this._reqId,component:this._component},this._pageId)}}const createIntersectionObserver=defineSyncApi("createIntersectionObserver",((e,t)=>((e=resolveComponentInstance(e))&&!getPageIdByVm(e)&&(t=e,e=null),new ServiceIntersectionObserver(e||getCurrentPageVm(),t))));let index$y=0,optionsCache={};function operateEditor(e,t,n,o){const r={options:o},i=o&&("success"in o||"fail"in o||"complete"in o);if(i){const e=String(index$y++);r.callbackId=e,optionsCache[e]=o}UniServiceJSBridge$1.invokeViewMethod(`editor.${e}`,{type:n,data:r},t,(({callbackId:e,data:t})=>{i&&(callOptions(optionsCache[e],t),delete optionsCache[e])}))}class EditorContext{constructor(e,t){this.id=e,this.pageId=t}format(e,t){this._exec("format",{name:e,value:t})}insertDivider(){this._exec("insertDivider")}insertImage(e){this._exec("insertImage",e)}insertText(e){this._exec("insertText",e)}setContents(e){this._exec("setContents",e)}getContents(e){this._exec("getContents",e)}clear(e){this._exec("clear",e)}removeFormat(e){this._exec("removeFormat",e)}undo(e){this._exec("undo",e)}redo(e){this._exec("redo",e)}blur(e){this._exec("blur",e)}getSelectionText(e){this._exec("getSelectionText",e)}scrollIntoView(e){this._exec("scrollIntoView",e)}_exec(e,t){operateEditor(this.id,this.pageId,e,t)}}const ContextClasss={canvas:CanvasContext,map:MapContext,video:VideoContext,editor:EditorContext};function convertContext(e){if(e&&e.contextInfo){const{id:t,type:n,page:o}=e.contextInfo,r=ContextClasss[n];e.context=new r(t,o),delete e.contextInfo}}class NodesRef{constructor(e,t,n,o){this._selectorQuery=e,this._component=t,this._selector=n,this._single=o}boundingClientRect(e){return this._selectorQuery._push(this._selector,this._component,this._single,{id:!0,dataset:!0,rect:!0,size:!0},e),this._selectorQuery}fields(e,t){return this._selectorQuery._push(this._selector,this._component,this._single,e,t),this._selectorQuery}scrollOffset(e){return this._selectorQuery._push(this._selector,this._component,this._single,{id:!0,dataset:!0,scrollOffset:!0},e),this._selectorQuery}context(e){return this._selectorQuery._push(this._selector,this._component,this._single,{context:!0},e),this._selectorQuery}node(e){return this._selectorQuery}}class SelectorQuery{constructor(e){this._component=void 0,this._page=e,this._queue=[],this._queueCb=[]}exec(e){return requestComponentInfo(this._page,this._queue,(t=>{const n=this._queueCb;t.forEach(((e,t)=>{isArray$4(e)?e.forEach(convertContext):convertContext(e);const o=n[t];isFunction$1(o)&&o.call(this,e)})),isFunction$1(e)&&e.call(this,t)})),this._nodesRef}in(e){return this._component=resolveComponentInstance(e),this}select(e){return this._nodesRef=new NodesRef(this,this._component,e,!0)}selectAll(e){return this._nodesRef=new NodesRef(this,this._component,e,!1)}selectViewport(){return this._nodesRef=new NodesRef(this,null,"",!0)}_push(e,t,n,o,r){this._queue.push({component:t,selector:e,single:n,fields:o}),this._queueCb.push(r)}}const createSelectorQuery=defineSyncApi("createSelectorQuery",(e=>((e=resolveComponentInstance(e))&&!getPageIdByVm(e)&&(e=null),new SelectorQuery(e||getCurrentPageVm())))),API_GET_LOCALE="getLocale",getLocale=defineSyncApi(API_GET_LOCALE,(()=>{const e=getApp$1();return e&&e.$vm?e.$vm.$locale:useI18n().getLocale()})),appHooks={[ON_UNHANDLE_REJECTION]:[],[ON_PAGE_NOT_FOUND]:[],[ON_ERROR]:[],[ON_SHOW]:[],[ON_HIDE]:[]};function injectAppHooks(e){Object.keys(appHooks).forEach((t=>{appHooks[t].forEach((n=>{injectHook(t,n,e)}))}))}const API_VIBRATE_SHORT="vibrateShort",API_GET_STORAGE_SYNC="getStorageSync",API_SET_STORAGE="setStorage",API_SET_STORAGE_SYNC="setStorageSync",API_REMOVE_STORAGE="removeStorage",API_HIDE_KEYBOARD="hideKeyboard",API_CHOOSE_IMAGE="chooseImage",ChooseImageOptions={formatArgs:{count(e,t){(!e||e<=0)&&(t.count=9)},sizeType(e,t){t.sizeType=elemsInArray(e,CHOOSE_SIZE_TYPES)},sourceType(e,t){t.sourceType=elemsInArray(e,CHOOSE_SOURCE_TYPES)},extension(e,t){if(e instanceof Array&&0===e.length)return"param extension should not be empty.";e||(t.extension=["*"])}}},ChooseImageProtocol={count:Number,sizeType:[Array,String],sourceType:Array,extension:Array},API_GET_IMAGE_INFO="getImageInfo",GetImageInfoOptions={formatArgs:{src(e,t){t.src=getRealPath(e)}}},GetImageInfoProtocol={src:{type:String,required:!0}},API_PREVIEW_IMAGE="previewImage",PreviewImageOptions={formatArgs:{urls(e,t){t.urls=e.map((e=>isString(e)&&e?getRealPath(e):""))},current(e,t){"number"==typeof e?t.current=e>0&&ee)),a={};i.forEach((e=>{const t=e.split("=");a[t[0]]=t[1]}));for(const s in t)if(hasOwn$1(t,s)){let e=t[s];null==e?e="":isPlainObject$2(e)&&(e=JSON.stringify(e)),a[encode(s)]=encode(e)}return r=Object.keys(a).map((e=>`${e}=${a[e]}`)).join("&"),e+(r?"?"+r:"")+(o?"#"+o:"")}const RequestProtocol={method:String,data:[Object,String,Array,ArrayBuffer],url:{type:String,required:!0},header:Object,dataType:String,responseType:String,withCredentials:Boolean},RequestOptions={formatArgs:{method(e,t){t.method=elemInArray((e||"").toUpperCase(),HTTP_METHODS)},data(e,t){t.data=e||""},url(e,t){t.method===HTTP_METHODS[0]&&isPlainObject$2(t.data)&&Object.keys(t.data).length&&(t.url=stringifyQuery(e,t.data))},header(e,t){const n=t.header=e||{};t.method!==HTTP_METHODS[0]&&(Object.keys(n).find((e=>"content-type"===e.toLowerCase()))||(n["Content-Type"]="application/json"))},dataType(e,t){t.dataType=(e||dataType.JSON).toLowerCase()},responseType(e,t){t.responseType=(e||"").toLowerCase(),-1===RESPONSE_TYPE.indexOf(t.responseType)&&(t.responseType=DEFAULT_RESPONSE_TYPE)}}},API_DOWNLOAD_FILE="downloadFile",DownloadFileOptions={formatArgs:{header(e,t){t.header=e||{}}}},DownloadFileProtocol={url:{type:String,required:!0},header:Object,timeout:Number},API_UPLOAD_FILE="uploadFile",UploadFileOptions={formatArgs:{filePath(e,t){e&&(t.filePath=getRealPath(e))},header(e,t){t.header=e||{}},formData(e,t){t.formData=e||{}}}},UploadFileProtocol={url:{type:String,required:!0},files:Array,filePath:String,name:String,header:Object,formData:Object,timeout:Number};function encodeQueryString(e){if(!isString(e))return e;const t=e.indexOf("?");if(-1===t)return e;const n=e.slice(t+1).trim().replace(/^(\?|#|&)/,"");if(!n)return e;e=e.slice(0,t);const o=[];return n.split("&").forEach((e=>{const t=e.replace(/\+/g," ").split("="),n=t.shift(),r=t.length>0?t.join("="):"";o.push(n+"="+encodeURIComponent(r))})),o.length?e+"?"+o.join("&"):e}const ANIMATION_IN$1=["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"],ANIMATION_OUT$1=["slide-out-right","slide-out-left","slide-out-top","slide-out-bottom","fade-out","zoom-in","zoom-fade-in","pop-out","none"],BaseRouteProtocol={url:{type:String,required:!0}},API_NAVIGATE_TO="navigateTo",API_REDIRECT_TO="redirectTo",API_RE_LAUNCH="reLaunch",API_SWITCH_TAB="switchTab",API_NAVIGATE_BACK="navigateBack",API_PRELOAD_PAGE="preloadPage",API_UN_PRELOAD_PAGE="unPreloadPage",NavigateToProtocol=extend$1({},BaseRouteProtocol,createAnimationProtocol(ANIMATION_IN$1)),NavigateBackProtocol=extend$1({delta:{type:Number}},createAnimationProtocol(ANIMATION_OUT$1)),RedirectToProtocol=BaseRouteProtocol,ReLaunchProtocol=BaseRouteProtocol,SwitchTabProtocol=BaseRouteProtocol,NavigateToOptions=createRouteOptions(API_NAVIGATE_TO),RedirectToOptions=createRouteOptions(API_REDIRECT_TO),ReLaunchOptions=createRouteOptions(API_RE_LAUNCH),SwitchTabOptions=createRouteOptions(API_SWITCH_TAB),NavigateBackOptions={formatArgs:{delta(e,t){e=parseInt(e+"")||1,t.delta=Math.min(getCurrentPages$1().length-1,e)}}};function createAnimationProtocol(e){return{animationType:{type:String,validator(t){if(t&&-1===e.indexOf(t))return"`"+t+"` is not supported for `animationType` (supported values are: `"+e.join("`|`")+"`)"}},animationDuration:{type:Number}}}let navigatorLock;function beforeRoute(){navigatorLock=""}function createRouteOptions(e){return{formatArgs:{url:createNormalizeUrl(e)},beforeAll:beforeRoute}}function createNormalizeUrl(e){return function(t,n){if(!t)return'Missing required args: "url"';const o=(t=normalizeRoute(t)).split("?")[0],r=getRouteOptions(o,!0);if(!r)return"page `"+t+"` is not found";if(e===API_NAVIGATE_TO||e===API_REDIRECT_TO){if(r.meta.isTabBar)return`can not ${e} a tabbar page`}else if(e===API_SWITCH_TAB&&!r.meta.isTabBar)return"can not switch to no-tabBar page";if(e!==API_SWITCH_TAB&&e!==API_PRELOAD_PAGE||!r.meta.isTabBar||"appLaunch"===n.openType||(t=o),r.meta.isEntry&&(t=t.replace(r.alias,"/")),n.url=encodeQueryString(t),e!==API_UN_PRELOAD_PAGE)if(e!==API_PRELOAD_PAGE){if(navigatorLock===t&&"appLaunch"!==n.openType)return`${navigatorLock} locked`;__uniConfig.ready&&(navigatorLock=t)}else if(r.meta.isTabBar){const e=getCurrentPages$1(),t=r.path.slice(1);if(e.find((e=>e.route===t)))return"tabBar page `"+t+"` already exists"}}}const API_HIDE_LOADING="hideLoading",FRONT_COLORS=["#ffffff","#000000"],API_SET_NAVIGATION_BAR_COLOR="setNavigationBarColor",SetNavigationBarColorOptions={formatArgs:{animation(e,t){e||(e={duration:0,timingFunc:"linear"}),t.animation={duration:e.duration||0,timingFunc:e.timingFunc||"linear"}}}},SetNavigationBarColorProtocol={frontColor:{type:String,required:!0,validator(e){if(-1===FRONT_COLORS.indexOf(e))return`invalid frontColor "${e}"`}},backgroundColor:{type:String,required:!0},animation:Object},API_SET_NAVIGATION_BAR_TITLE="setNavigationBarTitle",API_SHOW_NAVIGATION_BAR_LOADING="showNavigationBarLoading",API_HIDE_NAVIGATION_BAR_LOADING="hideNavigationBarLoading",API_PAGE_SCROLL_TO="pageScrollTo",PageScrollToProtocol={scrollTop:Number,selector:String,duration:Number},PageScrollToOptions={formatArgs:{duration:300}},API_SHOW_LOADING="showLoading",ShowLoadingProtocol={title:String,mask:Boolean},ShowLoadingOptions={formatArgs:{title:"",mask:!1}},API_SHOW_MODAL="showModal",ShowModalProtocol={title:String,content:String,showCancel:Boolean,cancelText:String,cancelColor:String,confirmText:String,confirmColor:String},ShowModalOptions={beforeInvoke(){initI18nShowModalMsgsOnce()},formatArgs:{title:"",content:"",showCancel:!0,cancelText(e,t){if(!hasOwn$1(t,"cancelText")){const{t:e}=useI18n();t.cancelText=e("uni.showModal.cancel")}},cancelColor:"#000",confirmText(e,t){if(!hasOwn$1(t,"confirmText")){const{t:e}=useI18n();t.confirmText=e("uni.showModal.confirm")}},confirmColor:PRIMARY_COLOR}},API_SHOW_TOAST="showToast",SHOW_TOAST_ICON=["success","loading","none","error"],ShowToastProtocol={title:String,icon:String,image:String,duration:Number,mask:Boolean},ShowToastOptions={formatArgs:{title:"",icon(e,t){t.icon=elemInArray(e,SHOW_TOAST_ICON)},image(e,t){t.image=e?getRealPath(e):""},duration:1500,mask:!1}},API_STOP_PULL_DOWN_REFRESH="stopPullDownRefresh",IndexOptions={beforeInvoke(){const e=getCurrentPageMeta();if(e&&!e.isTabBar)return"not TabBar page"},formatArgs:{index(e){if(!__uniConfig.tabBar.list[e])return"tabbar item not found"}}},API_SET_TAB_BAR_ITEM="setTabBarItem";IndexOptions.beforeInvoke,IndexOptions.formatArgs;const API_SET_TAB_BAR_STYLE="setTabBarStyle",GRADIENT_RE=/^(linear|radial)-gradient\(.+?\);?$/;IndexOptions.beforeInvoke;const API_HIDE_TAB_BAR="hideTabBar",API_SHOW_TAB_BAR="showTabBar",API_HIDE_TAB_BAR_RED_DOT="hideTabBarRedDot",API_SHOW_TAB_BAR_RED_DOT="showTabBarRedDot",API_REMOVE_TAB_BAR_BADGE="removeTabBarBadge",API_SET_TAB_BAR_BADGE="setTabBarBadge";IndexOptions.beforeInvoke,IndexOptions.formatArgs;const initIntersectionObserverPolyfill=function(){if("object"==typeof window)if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});else{var e=function(e){for(var t=window.document,n=r(t);n;)n=r(t=n.ownerDocument);return t}(),t=[],n=null,o=null;a.prototype.THROTTLE_TIMEOUT=100,a.prototype.POLL_INTERVAL=null,a.prototype.USE_MUTATION_OBSERVER=!0,a._setupCrossOriginUpdater=function(){return n||(n=function(e,n){o=e&&n?d(e,n):{top:0,bottom:0,left:0,right:0,width:0,height:0},t.forEach((function(e){e._checkForIntersections()}))}),n},a._resetCrossOriginUpdater=function(){n=null,o=null},a.prototype.observe=function(e){if(!this._observationTargets.some((function(t){return t.element==e}))){if(!e||1!=e.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:e,entry:null}),this._monitorIntersections(e.ownerDocument),this._checkForIntersections()}},a.prototype.unobserve=function(e){this._observationTargets=this._observationTargets.filter((function(t){return t.element!=e})),this._unmonitorIntersections(e.ownerDocument),0==this._observationTargets.length&&this._unregisterInstance()},a.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},a.prototype.takeRecords=function(){var e=this._queuedEntries.slice();return this._queuedEntries=[],e},a.prototype._initThresholds=function(e){var t=e||[0];return Array.isArray(t)||(t=[t]),t.sort().filter((function(e,t,n){if("number"!=typeof e||isNaN(e)||e<0||e>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return e!==n[t-1]}))},a.prototype._parseRootMargin=function(e){var t=(e||"0px").split(/\s+/).map((function(e){var t=/^(-?\d*\.?\d+)(px|%)$/.exec(e);if(!t)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(t[1]),unit:t[2]}}));return t[1]=t[1]||t[0],t[2]=t[2]||t[0],t[3]=t[3]||t[1],t},a.prototype._monitorIntersections=function(t){var n=t.defaultView;if(n&&-1==this._monitoringDocuments.indexOf(t)){var o=this._checkForIntersections,i=null,a=null;this.POLL_INTERVAL?i=n.setInterval(o,this.POLL_INTERVAL):(s(n,"resize",o,!0),s(t,"scroll",o,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in n&&(a=new n.MutationObserver(o)).observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0})),this._monitoringDocuments.push(t),this._monitoringUnsubscribes.push((function(){var e=t.defaultView;e&&(i&&e.clearInterval(i),c(e,"resize",o,!0)),c(t,"scroll",o,!0),a&&a.disconnect()}));var l=this.root&&(this.root.ownerDocument||this.root)||e;if(t!=l){var u=r(t);u&&this._monitorIntersections(u.ownerDocument)}}},a.prototype._unmonitorIntersections=function(t){var n=this._monitoringDocuments.indexOf(t);if(-1!=n){var o=this.root&&(this.root.ownerDocument||this.root)||e;if(!this._observationTargets.some((function(e){var n=e.element.ownerDocument;if(n==t)return!0;for(;n&&n!=o;){var i=r(n);if((n=i&&i.ownerDocument)==t)return!0}return!1}))){var i=this._monitoringUnsubscribes[n];if(this._monitoringDocuments.splice(n,1),this._monitoringUnsubscribes.splice(n,1),i(),t!=o){var a=r(t);a&&this._unmonitorIntersections(a.ownerDocument)}}}},a.prototype._unmonitorAllIntersections=function(){var e=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var t=0;t=0&&m>=0&&{top:c,bottom:u,left:f,right:h,width:g,height:m}||null),!v)break;_=_&&p(_)}return v}},a.prototype._getRootRect=function(){var t;if(this.root&&!h(this.root))t=l(this.root);else{var n=h(this.root)?this.root:e,o=n.documentElement,r=n.body;t={top:0,left:0,right:o.clientWidth||r.clientWidth,width:o.clientWidth||r.clientWidth,bottom:o.clientHeight||r.clientHeight,height:o.clientHeight||r.clientHeight}}return this._expandRectByRootMargin(t)},a.prototype._expandRectByRootMargin=function(e){var t=this._rootMarginValues.map((function(t,n){return"px"==t.unit?t.value:t.value*(n%2?e.width:e.height)/100})),n={top:e.top-t[0],right:e.right+t[1],bottom:e.bottom+t[2],left:e.left-t[3]};return n.width=n.right-n.left,n.height=n.bottom-n.top,n},a.prototype._hasCrossedThreshold=function(e,t){var n=e&&e.isIntersecting?e.intersectionRatio||0:-1,o=t.isIntersecting?t.intersectionRatio||0:-1;if(n!==o)for(var r=0;r{e.forEach((e=>{n({intersectionRatio:rectifyIntersectionRatio(e),intersectionRect:normalizeRect(e.intersectionRect),boundingClientRect:normalizeRect(e.boundingClientRect),relativeRect:normalizeRect(e.rootBounds),time:Date.now(),dataset:getCustomDataset(e.target),id:e.target.id})}))}),{root:o,rootMargin:t.rootMargin,threshold:t.thresholds});if(t.observeAll){r.USE_MUTATION_OBSERVER=!0;const n=e.querySelectorAll(t.selector);for(let e=0;e{const o=new XMLHttpRequest;o.open("GET",e,!0),o.responseType="blob",o.onload=function(){t(this.response)},o.onerror=n,o.send()}))}function base64ToFile(e){const t=e.split(","),n=t[0].match(/:(.*?);/),o=n?n[1]:"",r=atob(t[1]);let i=r.length;const a=new Uint8Array(i);for(;i--;)a[i]=r.charCodeAt(i);return blobToFile(a,o)}function getExtname(e){const t=e.split("/")[1];return t?`.${t}`:""}function getFileName(e){const t=(e=e.split("#")[0].split("?")[0]).split("/");return t[t.length-1]}function blobToFile(e,t){let n;if(e instanceof File)n=e;else{t=t||e.type||"";const r=`${Date.now()}${getExtname(t)}`;try{n=new File([e],r,{type:t})}catch(o){n=e=e instanceof Blob?e:new Blob([e],{type:t}),n.name=n.name||r}}return n}function fileToUrl(e){for(const n in files)if(hasOwn$1(files,n)){if(files[n]===e)return n}var t=(window.URL||window.webkitURL).createObjectURL(e);return files[t]=e,t}function getSameOriginUrl(e){const t=document.createElement("a");return t.href=e,t.origin===location.origin?Promise.resolve(e):urlToFile(e).then(fileToUrl)}const launchOptions=createLaunchOptions(),enterOptions=createLaunchOptions();function getEnterOptions(){return extend$1({},enterOptions)}function initLaunchOptions({path:e,query:t}){return extend$1(launchOptions,{path:e,query:t}),extend$1(enterOptions,launchOptions),extend$1({},launchOptions)}var ResizeSensor=defineBuiltInComponent({name:"ResizeSensor",props:{initial:{type:Boolean,default:!1}},emits:["resize"],setup(e,{emit:t}){const n=ref(null),o=useResizeSensorReset(n),r=useResizeSensorUpdate(n,t,o);return useResizeSensorLifecycle(n,e,r,o),()=>createVNode("uni-resize-sensor",{ref:n,onAnimationstartOnce:r},[createVNode("div",{onScroll:r},[createVNode("div",null,null)],40,["onScroll"]),createVNode("div",{onScroll:r},[createVNode("div",null,null)],40,["onScroll"])],40,["onAnimationstartOnce"])}});function useResizeSensorUpdate(e,t,n){const o=reactive({width:-1,height:-1});return watch((()=>extend$1({},o)),(e=>t("resize",e))),()=>{const t=e.value;o.width=t.offsetWidth,o.height=t.offsetHeight,n()}}function useResizeSensorReset(e){return()=>{const{firstElementChild:t,lastElementChild:n}=e.value;t.scrollLeft=1e5,t.scrollTop=1e5,n.scrollLeft=1e5,n.scrollTop=1e5}}function useResizeSensorLifecycle(e,t,n,o){onActivated(o),onMounted((()=>{t.initial&&nextTick(n);const r=e.value;r.offsetParent!==r.parentElement&&(r.parentElement.style.position="relative"),"AnimationEvent"in window||o()}))}const pixelRatio=function(){if(navigator.userAgent.includes("jsdom"))return 1;const e=document.createElement("canvas");e.height=e.width=0;const t=e.getContext("2d"),n=t.backingStorePixelRatio||t.webkitBackingStorePixelRatio||t.mozBackingStorePixelRatio||t.msBackingStorePixelRatio||t.oBackingStorePixelRatio||t.backingStorePixelRatio||1;return(window.devicePixelRatio||1)/n}();function wrapper(e,t=!0){e.width=e.offsetWidth*(t?pixelRatio:1),e.height=e.offsetHeight*(t?pixelRatio:1),e.getContext("2d").__hidpi__=t}let isHidpi=!1;function initHidpi(){if(isHidpi)return;isHidpi=!0;const e={fillRect:"all",clearRect:"all",strokeRect:"all",moveTo:"all",lineTo:"all",arc:[0,1,2],arcTo:"all",bezierCurveTo:"all",isPointinPath:"all",isPointinStroke:"all",quadraticCurveTo:"all",rect:"all",translate:"all",createRadialGradient:"all",createLinearGradient:"all",transform:[4,5],setTransform:[4,5]},t=CanvasRenderingContext2D.prototype;var n;t.drawImageByCanvas=(n=t.drawImage,function(e,t,o,r,i,a,s,c,l,u){if(!this.__hidpi__)return n.apply(this,arguments);t*=pixelRatio,o*=pixelRatio,r*=pixelRatio,i*=pixelRatio,a*=pixelRatio,s*=pixelRatio,c=u?c*pixelRatio:c,l=u?l*pixelRatio:l,n.call(this,e,t,o,r,i,a,s,c,l)}),1!==pixelRatio&&(!function(e,t){for(const n in e)hasOwn$1(e,n)&&t(e[n],n)}(e,(function(e,n){t[n]=function(t){return function(){if(!this.__hidpi__)return t.apply(this,arguments);let n=Array.prototype.slice.call(arguments);if("all"===e)n=n.map((function(e){return e*pixelRatio}));else if(Array.isArray(e))for(let t=0;tinitHidpi()));function $getRealPath(e){return e?getRealPath(e):e}function resolveColor(e){return(e=e.slice(0))[3]=e[3]/255,"rgba("+e.join(",")+")"}function processTouches(e,t){Array.from(t).forEach((t=>{t.x=t.clientX-e.left,t.y=t.clientY-e.top}))}let tempCanvas;function getTempCanvas(e=0,t=0){return tempCanvas||(tempCanvas=document.createElement("canvas")),tempCanvas.width=e,tempCanvas.height=t,tempCanvas}const props$x={canvasId:{type:String,default:""},disableScroll:{type:[Boolean,String],default:!1},hidpi:{type:Boolean,default:!0}};var index$x=defineBuiltInComponent({inheritAttrs:!1,name:"Canvas",compatConfig:{MODE:3},props:props$x,computed:{id(){return this.canvasId}},setup(e,{emit:t,slots:n}){initHidpiOnce();const o=ref(null),r=ref(null),i=ref(!1),a=useNativeEvent(t),{$attrs:s,$excludeAttrs:c,$listeners:l}=useAttrs({excludeListeners:!0}),{_listeners:u}=useListeners(e,l,a),{_handleSubscribe:d,_resize:f}=useMethods(e,o,i);return useSubscribe(d,useContextInfo(e.canvasId),!0),onMounted((()=>{f()})),()=>{const{canvasId:t,disableScroll:i}=e;return createVNode("uni-canvas",mergeProps({"canvas-id":t,"disable-scroll":i},s.value,c.value,u.value),[createVNode("canvas",{ref:o,class:"uni-canvas-canvas",width:"300",height:"150"},null,512),createVNode("div",{style:"position: absolute;top: 0;left: 0;width: 100%;height: 100%;overflow: hidden;"},[n.default&&n.default()]),createVNode(ResizeSensor,{ref:r,onResize:f},null,8,["onResize"])],16,["canvas-id","disable-scroll"])}}});function useListeners(e,t,n){return{_listeners:computed$1((()=>{let o=t.value,r=extend$1({},(()=>{let e={};for(const t in o)if(hasOwn$1(o,t)){const n=o[t];e[t]=n}return e})());return["onTouchstart","onTouchmove","onTouchend"].forEach((t=>{let o=[];r[t]&&o.push(withWebEvent((e=>{const o=e.currentTarget.getBoundingClientRect();processTouches(o,e.touches),processTouches(o,e.changedTouches),n(t.replace("on","").toLocaleLowerCase(),e)}))),e.disableScroll&&"onTouchmove"===t&&o.push(onEventPrevent),r[t]=o})),r}))}}function useMethods(e,t,n){let o=[],r={};const i=computed$1((()=>e.hidpi?pixelRatio:1));function a({actions:e,reserve:i},a){if(!e)return;if(n.value)return void o.push([e,i]);let c=t.value,l=c.getContext("2d");i||(l.fillStyle="#000000",l.strokeStyle="#000000",l.shadowColor="#000000",l.shadowBlur=0,l.shadowOffsetX=0,l.shadowOffsetY=0,l.setTransform(1,0,0,1,0,0),l.clearRect(0,0,c.width,c.height)),function(e){e.forEach((function(e){let t=e.method,n=e.data,o="";function i(){const e=r[o]=new Image;e.onload=function(){e.ready=!0},getSameOriginUrl(o).then((t=>{e.src=t})).catch((()=>{e.src=o}))}"drawImage"===t?(o=n[0],o=$getRealPath(o),n[0]=o):"setFillStyle"===t&&"pattern"===n[0]&&(o=n[1],o=$getRealPath(o),n[1]=o),o&&!r[o]&&i()}))}(e);for(let t=0;t{let n="toTempFilePath:"+(e?"fail":"ok");e&&(n+=` ${e.message}`),u({errMsg:n,tempFilePath:t})})):u({errMsg:d.errMsg.replace("canvasPutImageData","toTempFilePath")})}};return extend$1(l,{_resize:function(n){let o=t.value;if(!n||o.width!==Math.floor(n.width*i.value)||o.height!==Math.floor(n.height*i.value))if(o.width>0&&o.height>0){let t=o.getContext("2d"),n=t.getImageData(0,0,o.width,o.height);wrapper(o,e.hidpi),t.putImageData(n,0,0)}else wrapper(o,e.hidpi)},_handleSubscribe:function(e,t,n){let o=l[e];0!==e.indexOf("_")&&isFunction$1(o)&&o(t,n)}})}let resetTimer;function iosHideKeyboard(){}const props$u={cursorSpacing:{type:[Number,String],default:0},showConfirmBar:{type:[Boolean,String],default:"auto"},adjustPosition:{type:[Boolean,String],default:!0},autoBlur:{type:[Boolean,String],default:!1}},emit$1=["keyboardheightchange"];function useKeyboard$1(e,t,n){function o(e){const t=computed$1((()=>0===String(navigator.vendor).indexOf("Apple")));e.addEventListener("focus",(()=>{clearTimeout(resetTimer),document.addEventListener("click",iosHideKeyboard,!1)}));e.addEventListener("blur",(()=>{t.value&&e.blur(),document.removeEventListener("click",iosHideKeyboard,!1),t.value&&document.documentElement.scrollTo(document.documentElement.scrollLeft,document.documentElement.scrollTop)}))}watch((()=>t.value),(e=>o(e)))}const props$s={src:{type:String,default:""},mode:{type:String,default:"scaleToFill"},lazyLoad:{type:[Boolean,String],default:!1},draggable:{type:Boolean,default:!1}},FIX_MODES={widthFix:["offsetWidth","height",(e,t)=>e/t],heightFix:["offsetHeight","width",(e,t)=>e*t]},IMAGE_MODES={aspectFit:["center center","contain"],aspectFill:["center center","cover"],widthFix:[,"100% 100%"],heightFix:[,"100% 100%"],top:["center top"],bottom:["center bottom"],center:["center center"],left:["left center"],right:["right center"],"top left":["left top"],"top right":["right top"],"bottom left":["left bottom"],"bottom right":["right bottom"]};var index$s=defineBuiltInComponent({name:"Image",props:props$s,setup(e,{emit:t}){const n=ref(null),o=useImageState(n,e),r=useCustomEvent(n,t),{fixSize:i}=useImageSize(n,e,o);return useImageLoader(o,e,n,i,r),()=>createVNode("uni-image",{ref:n},[createVNode("div",{style:o.modeStyle},null,4),FIX_MODES[e.mode]?createVNode(ResizeSensor,{onResize:i},null,8,["onResize"]):createVNode("span",null,null)],512)}});function useImageState(e,t){const n=ref(""),o=computed$1((()=>{let e="auto",o="";const r=IMAGE_MODES[t.mode];return r?(r[0]&&(o=r[0]),r[1]&&(e=r[1])):(o="0% 0%",e="100% 100%"),`background-image:${n.value?'url("'+n.value+'")':"none"};background-position:${o};background-size:${e};`})),r=reactive({rootEl:e,src:computed$1((()=>t.src?getRealPath(t.src):"")),origWidth:0,origHeight:0,origStyle:{width:"",height:""},modeStyle:o,imgSrc:n});return onMounted((()=>{const t=e.value.style;r.origWidth=Number(t.width)||0,r.origHeight=Number(t.height)||0})),r}function useImageLoader(e,t,n,o,r){let i,a;const s=(t=0,n=0,o="")=>{e.origWidth=t,e.origHeight=n,e.imgSrc=o},c=c=>{if(!c)return l(),void s();i=i||new Image,i.onload=e=>{const{width:u,height:d}=i;s(u,d,c),o(),i.draggable=t.draggable,a&&a.remove(),a=i,n.value.appendChild(i),l(),r("load",e,{width:u,height:d})},i.onerror=t=>{s(),l(),r("error",t,{errMsg:`GET ${e.src} 404 (Not Found)`})},i.src=c},l=()=>{i&&(i.onload=null,i.onerror=null,i=null)};watch((()=>e.src),(e=>c(e))),watch((()=>e.imgSrc),(e=>{!e&&a&&(a.remove(),a=null)})),onMounted((()=>c(e.src))),onBeforeUnmount((()=>l()))}const isChrome="Google Inc."===navigator.vendor;function fixNumber(e){return isChrome&&e>10&&(e=2*Math.round(e/2)),e}function useImageSize(e,t,n){const o=()=>{const{mode:o}=t,r=FIX_MODES[o];if(!r)return;const{origWidth:i,origHeight:a}=n,s=i&&a?i/a:0;if(!s)return;const c=e.value,l=c[r[0]];l&&(c.style[r[1]]=fixNumber(r[2](l,s))+"px")},r=()=>{const{style:t}=e.value,{origStyle:{width:o,height:r}}=n;t.width=o,t.height=r};return watch((()=>t.mode),((e,t)=>{FIX_MODES[t]&&r(),FIX_MODES[e]&&o()})),{fixSize:o,resetSize:r}}function throttle$1(e,t){let n,o,r=0;const i=function(...i){const a=Date.now();clearTimeout(n),o=()=>{o=null,r=a,e.apply(this,i)},a-rstates.forEach((t=>t.userAction=e));function addInteractListener(e={userAction:!1}){if(!inited){["touchstart","touchmove","touchend","mousedown","mouseup"].forEach((e=>{document.addEventListener(e,(function(){!userInteract&&setUserAction(!0),userInteract++,setTimeout((()=>{!--userInteract&&setUserAction(!1)}),0)}),passiveOptions$1)})),inited=!0}states.push(e)}function removeInteractListener(e){const t=states.indexOf(e);t>=0&&states.splice(t,1)}const getInteractStatus=()=>!!userInteract;function useUserAction(){const e=reactive({userAction:!1});return onMounted((()=>{addInteractListener(e)})),onBeforeUnmount((()=>{removeInteractListener(e)})),{state:e}}function useScopedAttrs(){const e=reactive({attrs:{}});return onMounted((()=>{let t=getCurrentInstance();for(;t;){const n=t.type.__scopeId;n&&(e.attrs[n]=""),t=t.proxy&&"page"===t.proxy.$mpType?null:t.parent}})),{state:e}}function useFormField(e,t){const n=inject(uniFormKey,!1);if(!n)return;const o=getCurrentInstance(),r={submit(){const n=o.proxy;return[n[e],isString(t)?n[t]:t.value]},reset(){isString(t)?o.proxy[t]="":t.value=""}};n.addField(r),onBeforeUnmount((()=>{n.removeField(r)}))}function getSelectedTextRange(e,t){const n=document.activeElement;if(!n)return t({});const o={};["input","textarea"].includes(n.tagName.toLowerCase())&&(o.start=n.selectionStart,o.end=n.selectionEnd),t(o)}const UniViewJSBridgeSubscribe=function(){registerViewMethod(getCurrentPageId(),"getSelectedTextRange",getSelectedTextRange)};function getValueString(e,t){return"number"===t&&isNaN(Number(e))&&(e=""),null===e?"":String(e)}const props$r=extend$1({},{name:{type:String,default:""},modelValue:{type:[String,Number],default:""},value:{type:[String,Number],default:""},disabled:{type:[Boolean,String],default:!1},autoFocus:{type:[Boolean,String],default:!1},focus:{type:[Boolean,String],default:!1},cursor:{type:[Number,String],default:-1},selectionStart:{type:[Number,String],default:-1},selectionEnd:{type:[Number,String],default:-1},type:{type:String,default:"text"},password:{type:[Boolean,String],default:!1},placeholder:{type:String,default:""},placeholderStyle:{type:String,default:""},placeholderClass:{type:String,default:""},maxlength:{type:[Number,String],default:140},confirmType:{type:String,default:"done"},confirmHold:{type:Boolean,default:!1},ignoreCompositionEvent:{type:Boolean,default:!0},step:{type:String,default:"0.000000000000000001"}},props$u),emit=["input","focus","blur","update:value","update:modelValue","update:focus","compositionstart","compositionupdate","compositionend",...emit$1];function useBase(e,t,n){const o=ref(null),r=useCustomEvent(t,n),i=computed$1((()=>{const t=Number(e.selectionStart);return isNaN(t)?-1:t})),a=computed$1((()=>{const t=Number(e.selectionEnd);return isNaN(t)?-1:t})),s=computed$1((()=>{const t=Number(e.cursor);return isNaN(t)?-1:t})),c=computed$1((()=>{var t=Number(e.maxlength);return isNaN(t)?140:t})),l=getValueString(e.modelValue,e.type)||getValueString(e.value,e.type),u=reactive({value:l,valueOrigin:l,maxlength:c,focus:e.focus,composing:!1,selectionStart:i,selectionEnd:a,cursor:s});return watch((()=>u.focus),(e=>n("update:focus",e))),watch((()=>u.maxlength),(e=>u.value=u.value.slice(0,e))),{fieldRef:o,state:u,trigger:r}}function useValueSync(e,t,n,o){const r=debounce$1((n=>{t.value=getValueString(n,e.type)}),100,{setTimeout:setTimeout,clearTimeout:clearTimeout});watch((()=>e.modelValue),r),watch((()=>e.value),r);const i=throttle$1(((e,t)=>{r.cancel(),n("update:modelValue",t.value),n("update:value",t.value),o("input",e,t)}),100);return onBeforeMount((()=>{r.cancel(),i.cancel()})),{trigger:o,triggerInput:(e,t,n)=>{r.cancel(),i(e,t),n&&i.flush()}}}function useAutoFocus(e,t){useUserAction();const n=computed$1((()=>e.autoFocus||e.focus));function o(){if(!n.value)return;const e=t.value;e?e.focus():setTimeout(o,100)}watch((()=>e.focus),(e=>{e?o():function(){const e=t.value;e&&e.blur()}()})),onMounted((()=>{n.value&&nextTick(o)}))}function useEvent(e,t,n,o,r,i){function a(){const n=e.value;n&&t.focus&&t.selectionStart>-1&&t.selectionEnd>-1&&"number"!==n.type&&(n.selectionStart=t.selectionStart,n.selectionEnd=t.selectionEnd)}function s(){const n=e.value;n&&t.focus&&t.selectionStart<0&&t.selectionEnd<0&&t.cursor>-1&&"number"!==n.type&&(n.selectionEnd=n.selectionStart=t.cursor)}function c(e){return"number"===e.type?null:e.selectionEnd}watch([()=>t.selectionStart,()=>t.selectionEnd],a),watch((()=>t.cursor),s),watch((()=>e.value),(function(){const l=e.value,u=function(e,o){e.stopPropagation(),isFunction$1(i)&&!1===i(e,t)||(t.value=l.value,t.composing&&n.ignoreCompositionEvent||r(e,{value:l.value,cursor:c(l)},o))};function d(e){n.ignoreCompositionEvent||o(e.type,e,{value:e.data})}l.addEventListener("change",(e=>e.stopPropagation())),l.addEventListener("focus",(function(e){t.focus=!0,o("focus",e,{value:t.value}),a(),s()})),l.addEventListener("blur",(function(e){t.composing&&(t.composing=!1,u(e,!0)),t.focus=!1,o("blur",e,{value:t.value,cursor:c(e.target)})})),l.addEventListener("input",u),l.addEventListener("compositionstart",(e=>{e.stopPropagation(),t.composing=!0,d(e)})),l.addEventListener("compositionend",(e=>{e.stopPropagation(),t.composing&&(t.composing=!1,u(e)),d(e)})),l.addEventListener("compositionupdate",d)}))}function useField(e,t,n,o){UniViewJSBridgeSubscribe();const{fieldRef:r,state:i,trigger:a}=useBase(e,t,n),{triggerInput:s}=useValueSync(e,i,n,a);useAutoFocus(e,r),useKeyboard$1(e,r);const{state:c}=useScopedAttrs();useFormField("name",i),useEvent(r,i,e,a,s,o);return{fieldRef:r,state:i,scopedAttrsState:c,fixDisabledColor:0===String(navigator.vendor).indexOf("Apple")&&CSS.supports("image-orientation:from-image"),trigger:a}}const props$q=extend$1({},props$r,{placeholderClass:{type:String,default:"input-placeholder"},textContentType:{type:String,default:""}});var Input=defineBuiltInComponent({name:"Input",props:props$q,emits:["confirm",...emit],setup(e,{emit:t}){const n=["text","number","idcard","digit","password","tel"],o=["off","one-time-code"],r=computed$1((()=>{let t="";switch(e.type){case"text":"search"===e.confirmType&&(t="search");break;case"idcard":t="text";break;case"digit":t="number";break;default:t=~n.includes(e.type)?e.type:"text"}return e.password?"password":t})),i=computed$1((()=>{const t=o.indexOf(e.textContentType),n=o.indexOf(hyphenate(e.textContentType));return o[-1!==t?t:-1!==n?n:0]}));let a,s=ref("");const c=ref(null),{fieldRef:l,state:u,scopedAttrsState:d,fixDisabledColor:f,trigger:p}=useField(e,c,t,((e,t)=>{const n=e.target;if("number"===r.value){if(a&&(n.removeEventListener("blur",a),a=null),n.validity&&!n.validity.valid)return!s.value&&"-"===e.data||"-"===s.value[0]&&"deleteContentBackward"===e.inputType?(s.value="-",t.value="",a=()=>{s.value=n.value=""},n.addEventListener("blur",a),!1):(s.value=t.value=n.value="-"===s.value?"":s.value,!1);s.value=n.value;const o=t.maxlength;if(o>0&&n.value.length>o)return n.value=n.value.slice(0,o),t.value=n.value,!1}}));watch((()=>u.value),(t=>{"number"!==e.type||"-"===s.value&&""===t||(s.value=t)}));const h=["number","digit"],g=computed$1((()=>h.includes(e.type)?e.step:""));function m(t){if("Enter"!==t.key)return;const n=t.target;t.stopPropagation(),p("confirm",t,{value:n.value}),!e.confirmHold&&n.blur()}return()=>{let t=e.disabled&&f?createVNode("input",{ref:l,value:u.value,tabindex:"-1",readonly:!!e.disabled,type:r.value,maxlength:u.maxlength,step:g.value,class:"uni-input-input",onFocus:e=>e.target.blur()},null,40,["value","readonly","type","maxlength","step","onFocus"]):createVNode("input",{ref:l,value:u.value,disabled:!!e.disabled,type:r.value,maxlength:u.maxlength,step:g.value,enterkeyhint:e.confirmType,pattern:"number"===e.type?"[0-9]*":void 0,class:"uni-input-input",autocomplete:i.value,onKeyup:m},null,40,["value","disabled","type","maxlength","step","enterkeyhint","pattern","autocomplete","onKeyup"]);return createVNode("uni-input",{ref:c},[createVNode("div",{class:"uni-input-wrapper"},[withDirectives(createVNode("div",mergeProps(d.attrs,{style:e.placeholderStyle,class:["uni-input-placeholder",e.placeholderClass]}),[e.placeholder],16),[[vShow,!(u.value.length||"-"===s.value)]]),"search"===e.confirmType?createVNode("form",{action:"",onSubmit:e=>e.preventDefault(),class:"uni-input-form"},[t],40,["onSubmit"]):t])],512)}}});function entries(e){return Object.keys(e).map((t=>[t,e[t]]))}const DEFAULT_EXCLUDE_KEYS=["class","style"],LISTENER_PREFIX=/^on[A-Z]+/,useAttrs=(e={})=>{const{excludeListeners:t=!1,excludeKeys:n=[]}=e,o=getCurrentInstance(),r=shallowRef({}),i=shallowRef({}),a=shallowRef({}),s=n.concat(DEFAULT_EXCLUDE_KEYS);return o.attrs=reactive(o.attrs),watchEffect((()=>{const e=entries(o.attrs).reduce(((e,[n,o])=>(s.includes(n)?e.exclude[n]=o:LISTENER_PREFIX.test(n)?(t||(e.attrs[n]=o),e.listeners[n]=o):e.attrs[n]=o,e)),{exclude:{},attrs:{},listeners:{}});r.value=e.attrs,i.value=e.listeners,a.value=e.exclude})),{$attrs:r,$listeners:i,$excludeAttrs:a}};function flatVNode(e){const t=[];return isArray$4(e)&&e.forEach((e=>{isVNode(e)?e.type===Fragment?t.push(...flatVNode(e.children)):t.push(e):isArray$4(e)&&t.push(...flatVNode(e))})),t}const movableAreaProps={scaleArea:{type:Boolean,default:!1}};var MovableArea=defineBuiltInComponent({inheritAttrs:!1,name:"MovableArea",props:movableAreaProps,setup(e,{slots:t}){const n=ref(null),o=ref(!1);let{setContexts:r,events:i}=useMovableAreaState(e,n);const{$listeners:a,$attrs:s,$excludeAttrs:c}=useAttrs(),l=a.value;["onTouchstart","onTouchmove","onTouchend"].forEach((e=>{let t=l[e],n=i[`_${e}`];l[e]=t?[].concat(t,n):n})),onMounted((()=>{i._resize(),o.value=!0}));let u=[];const d=[];function f(){const e=[];for(let t=0;tn===e.rootRef.value));o&&e.push(markRaw(o))}r(e)}return provide("_isMounted",o),provide("movableAreaRootRef",n),provide("addMovableViewContext",(e=>{d.push(e),f()})),provide("removeMovableViewContext",(e=>{const t=d.indexOf(e);t>=0&&(d.splice(t,1),f())})),()=>{const e=t.default&&t.default();return u=flatVNode(e),createVNode("uni-movable-area",mergeProps({ref:n},s.value,c.value,l),[createVNode(ResizeSensor,{onReize:i._resize},null,8,["onReize"]),u],16)}}});function calc(e){return Math.sqrt(e.x*e.x+e.y*e.y)}function useMovableAreaState(e,t){const n=ref(0),o=ref(0),r=reactive({x:null,y:null}),i=ref(null);let a=null,s=[];function c(e,n=s){let o=t.value;return function e(t){for(let o=0;o{let n=t.touches;if(n&&n.length>1){let t={x:n[1].pageX-n[0].pageX,y:n[1].pageY-n[0].pageY};if(i.value=calc(t),r.x=t.x,r.y=t.y,!e.scaleArea){let e=c(n[0].target),t=c(n[1].target);a=e&&e===t?e:null}}})),u=withWebEvent((t=>{let n=t.touches;if(n&&n.length>1){t.preventDefault();let c={x:n[1].pageX-n[0].pageX,y:n[1].pageY-n[0].pageY};if(null!==r.x&&i.value&&i.value>0){let t=calc(c)/i.value;(o=t)&&1!==o&&(e.scaleArea?s.forEach((function(e){e._setScale(o)})):a&&a._setScale(o))}r.x=c.x,r.y=c.y}var o})),d=withWebEvent((t=>{let n=t.touches;n&&n.length||t.changedTouches&&(r.x=0,r.y=0,i.value=null,e.scaleArea?s.forEach((function(e){e._endScale()})):a&&a._endScale())}));return provide("movableAreaWidth",n),provide("movableAreaHeight",o),{setContexts(e){s=e},events:{_onTouchstart:l,_onTouchmove:u,_onTouchend:d,_resize:function(){!function(){let e=window.getComputedStyle(t.value),r=t.value.getBoundingClientRect();n.value=r.width-["Left","Right"].reduce((function(t,n){const o="padding"+n;return t+parseFloat(e["border"+n+"Width"])+parseFloat(e[o])}),0),o.value=r.height-["Top","Bottom"].reduce((function(t,n){const o="padding"+n;return t+parseFloat(e["border"+n+"Width"])+parseFloat(e[o])}),0)}(),s.forEach((function(e,t){e.setParent()}))}}}}const addListenerToElement=function(e,t,n,o){e.addEventListener(t,(e=>{isFunction$1(n)&&!1===n(e)&&((void 0===e.cancelable||e.cancelable)&&e.preventDefault(),e.stopPropagation())}),{passive:!1})};let __mouseMoveEventListener,__mouseUpEventListener;function useTouchtrack(e,t,n){onBeforeUnmount((()=>{document.removeEventListener("mousemove",__mouseMoveEventListener),document.removeEventListener("mouseup",__mouseUpEventListener)}));let o=0,r=0,i=0,a=0;const s=function(e,n,s,c){if(!1===t({cancelable:e.cancelable,target:e.target,currentTarget:e.currentTarget,preventDefault:e.preventDefault.bind(e),stopPropagation:e.stopPropagation.bind(e),touches:e.touches,changedTouches:e.changedTouches,detail:{state:n,x:s,y:c,dx:s-o,dy:c-r,ddx:s-i,ddy:c-a,timeStamp:e.timeStamp}}))return!1};let c,l,u=null;addListenerToElement(e,"touchstart",(function(e){if(c=!0,1===e.touches.length&&!u)return u=e,o=i=e.touches[0].pageX,r=a=e.touches[0].pageY,s(e,"start",o,r)})),addListenerToElement(e,"mousedown",(function(e){if(l=!0,!c&&!u)return u=e,o=i=e.pageX,r=a=e.pageY,s(e,"start",o,r)})),addListenerToElement(e,"touchmove",(function(e){if(1===e.touches.length&&u){const t=s(e,"move",e.touches[0].pageX,e.touches[0].pageY);return i=e.touches[0].pageX,a=e.touches[0].pageY,t}}));const d=__mouseMoveEventListener=function(e){if(!c&&l&&u){const t=s(e,"move",e.pageX,e.pageY);return i=e.pageX,a=e.pageY,t}};document.addEventListener("mousemove",d),addListenerToElement(e,"touchend",(function(e){if(0===e.touches.length&&u)return c=!1,u=null,s(e,"end",e.changedTouches[0].pageX,e.changedTouches[0].pageY)}));const f=__mouseUpEventListener=function(e){if(l=!1,!c&&u)return u=null,s(e,"end",e.pageX,e.pageY)};document.addEventListener("mouseup",f),addListenerToElement(e,"touchcancel",(function(e){if(u){c=!1;const t=u;return u=null,s(e,n?"cancel":"end",t.touches[0].pageX,t.touches[0].pageY)}}))}function e(e,t,n){return e>t-n&ðis._t&&(e=this._t,this._lastDt=e);let t=this._x_v*e+.5*this._x_a*Math.pow(e,2)+this._x_s,n=this._y_v*e+.5*this._y_a*Math.pow(e,2)+this._y_s;return(this._x_a>0&&tthis._endPositionX)&&(t=this._endPositionX),(this._y_a>0&&nthis._endPositionY)&&(n=this._endPositionY),{x:t,y:n}},Friction$1.prototype.ds=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),e>this._t&&(e=this._t),{dx:this._x_v+this._x_a*e,dy:this._y_v+this._y_a*e}},Friction$1.prototype.delta=function(){return{x:-1.5*Math.pow(this._x_v,2)/this._x_a||0,y:-1.5*Math.pow(this._y_v,2)/this._y_a||0}},Friction$1.prototype.dt=function(){return-this._x_v/this._x_a},Friction$1.prototype.done=function(){const t=e(this.s().x,this._endPositionX)||e(this.s().y,this._endPositionY)||this._lastDt===this._t;return this._lastDt=null,t},Friction$1.prototype.setEnd=function(e,t){this._endPositionX=e,this._endPositionY=t},Friction$1.prototype.reconfigure=function(e,t){this._m=e,this._f=1e3*t},Spring$1.prototype._solve=function(e,t){const n=this._c,o=this._m,r=this._k,i=n*n-4*o*r;if(0===i){const r=-n/(2*o),i=e,a=t/(r*e);return{x:function(e){return(i+a*e)*Math.pow(Math.E,r*e)},dx:function(e){const t=Math.pow(Math.E,r*e);return r*(i+a*e)*t+a*t}}}if(i>0){const r=(-n-Math.sqrt(i))/(2*o),a=(-n+Math.sqrt(i))/(2*o),s=(t-r*e)/(a-r),c=e-s;return{x:function(e){let t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,r*e)),n||(n=this._powER2T=Math.pow(Math.E,a*e)),c*t+s*n},dx:function(e){let t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,r*e)),n||(n=this._powER2T=Math.pow(Math.E,a*e)),c*r*t+s*a*n}}}const a=Math.sqrt(4*o*r-n*n)/(2*o),s=-n/2*o,c=e,l=(t-s*e)/a;return{x:function(e){return Math.pow(Math.E,s*e)*(c*Math.cos(a*e)+l*Math.sin(a*e))},dx:function(e){const t=Math.pow(Math.E,s*e),n=Math.cos(a*e),o=Math.sin(a*e);return t*(l*a*n-c*a*o)+s*t*(l*o+c*n)}}},Spring$1.prototype.x=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(e):0},Spring$1.prototype.dx=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._solution.dx(e):0},Spring$1.prototype.setEnd=function(e,n,o){if(o||(o=(new Date).getTime()),e!==this._endPosition||!t(n,.1)){n=n||0;let r=this._endPosition;this._solution&&(t(n,.1)&&(n=this._solution.dx((o-this._startTime)/1e3)),r=this._solution.x((o-this._startTime)/1e3),t(n,.1)&&(n=0),t(r,.1)&&(r=0),r+=this._endPosition),this._solution&&t(r-e,.1)&&t(n,.1)||(this._endPosition=e,this._solution=this._solve(r-this._endPosition,n),this._startTime=o)}},Spring$1.prototype.snap=function(e){this._startTime=(new Date).getTime(),this._endPosition=e,this._solution={x:function(){return 0},dx:function(){return 0}}},Spring$1.prototype.done=function(n){return n||(n=(new Date).getTime()),e(this.x(),this._endPosition,.1)&&t(this.dx(),.1)},Spring$1.prototype.reconfigure=function(e,t,n){this._m=e,this._k=t,this._c=n,this.done()||(this._solution=this._solve(this.x()-this._endPosition,this.dx()),this._startTime=(new Date).getTime())},Spring$1.prototype.springConstant=function(){return this._k},Spring$1.prototype.damping=function(){return this._c},Spring$1.prototype.configuration=function(){return[{label:"Spring Constant",read:this.springConstant.bind(this),write:function(e,t){e.reconfigure(1,t,e.damping())}.bind(this,this),min:100,max:1e3},{label:"Damping",read:this.damping.bind(this),write:function(e,t){e.reconfigure(1,e.springConstant(),t)}.bind(this,this),min:1,max:500}]},STD.prototype.setEnd=function(e,t,n,o){const r=(new Date).getTime();this._springX.setEnd(e,o,r),this._springY.setEnd(t,o,r),this._springScale.setEnd(n,o,r),this._startTime=r},STD.prototype.x=function(){const e=((new Date).getTime()-this._startTime)/1e3;return{x:this._springX.x(e),y:this._springY.x(e),scale:this._springScale.x(e)}},STD.prototype.done=function(){const e=(new Date).getTime();return this._springX.done(e)&&this._springY.done(e)&&this._springScale.done(e)},STD.prototype.reconfigure=function(e,t,n){this._springX.reconfigure(e,t,n),this._springY.reconfigure(e,t,n),this._springScale.reconfigure(e,t,n)};const movableViewProps={direction:{type:String,default:"none"},inertia:{type:[Boolean,String],default:!1},outOfBounds:{type:[Boolean,String],default:!1},x:{type:[Number,String],default:0},y:{type:[Number,String],default:0},damping:{type:[Number,String],default:20},friction:{type:[Number,String],default:2},disabled:{type:[Boolean,String],default:!1},scale:{type:[Boolean,String],default:!1},scaleMin:{type:[Number,String],default:.5},scaleMax:{type:[Number,String],default:10},scaleValue:{type:[Number,String],default:1},animation:{type:[Boolean,String],default:!0}};function v(e,t){return+((1e3*e-1e3*t)/1e3).toFixed(1)}var MovableView=defineBuiltInComponent({name:"MovableView",props:movableViewProps,emits:["change","scale"],setup(e,{slots:t,emit:n}){const o=ref(null),r=useCustomEvent(o,n),{setParent:i}=useMovableViewState(e,r,o);return()=>createVNode("uni-movable-view",{ref:o},[createVNode(ResizeSensor,{onResize:i},null,8,["onResize"]),t.default&&t.default()],512)}});let requesting=!1;function _requestAnimationFrame(e){requesting||(requesting=!0,requestAnimationFrame((function(){e(),requesting=!1})))}function p(e,t){if(e===t)return 0;let n=e.offsetLeft;return e.offsetParent?n+=p(e.offsetParent,t):0}function f(e,t){if(e===t)return 0;let n=e.offsetTop;return e.offsetParent?n+=f(e.offsetParent,t):0}function g(e,t,n){let o={id:0,cancelled:!1};return function e(t,n,o,r){if(!t||!t.cancelled){o(n);let i=n.done();i||t.cancelled||(t.id=requestAnimationFrame(e.bind(null,t,n,o,r))),i&&r&&r(n)}}(o,e,t,n),{cancel:function(e){e&&e.id&&cancelAnimationFrame(e.id),e&&(e.cancelled=!0)}.bind(null,o),model:e}}function _getPx(e){return/\d+[ur]px$/i.test(e)?upx2px(parseFloat(e)):Number(e)||0}function useMovableViewState(e,t,n){const o=inject("movableAreaWidth",ref(0)),r=inject("movableAreaHeight",ref(0)),i=inject("_isMounted",ref(!1)),a=inject("movableAreaRootRef"),s=inject("addMovableViewContext",(()=>{})),c=inject("removeMovableViewContext",(()=>{})),l=ref(_getPx(e.x)),u=ref(_getPx(e.y)),d=ref(Number(e.scaleValue)||1),h=ref(0),m=ref(0),_=ref(0),y=ref(0),b=ref(0),w=ref(0);let T=null,E=null;const S={x:0,y:0},C={x:0,y:0};let O,I,A=1,x=1,P=0,R=0,L=!1,$=!1,k=null,N=null;const M=new Decline,D=new Decline,B={historyX:[0,0],historyY:[0,0],historyT:[0,0]},V=computed$1((()=>{let t=Number(e.damping);return isNaN(t)?20:t})),j=computed$1((()=>{let t=Number(e.friction);return isNaN(t)||t<=0?2:t})),F=computed$1((()=>{let t=Number(e.scaleMin);return isNaN(t)?.5:t})),U=computed$1((()=>{let t=Number(e.scaleMax);return isNaN(t)?10:t})),H=computed$1((()=>"all"===e.direction||"horizontal"===e.direction)),G=computed$1((()=>"all"===e.direction||"vertical"===e.direction)),W=new STD(1,9*Math.pow(V.value,2)/40,V.value),z=new Friction$1(1,j.value);function q(){E&&E.cancel(),T&&T.cancel()}function K(){if(!e.scale)return!1;ee(A,!0),te(A)}function Y(){L||e.disabled||(q(),B.historyX=[0,0],B.historyY=[0,0],B.historyT=[0,0],H.value&&(O=P),G.value&&(I=R),n.value.style.willChange="transform",k=null,N=null,$=!0)}function X(){if(!L&&!e.disabled&&$&&(n.value.style.willChange="auto",$=!1,!k&&!function(e){let t=Z(P,R),n=t.x,o=t.y,r=t.outOfBounds;r&&oe(n,o,A,e);return r}("out-of-bounds")&&e.inertia)){const e=1e3*(B.historyX[1]-B.historyX[0])/(B.historyT[1]-B.historyT[0]),t=1e3*(B.historyY[1]-B.historyY[0])/(B.historyT[1]-B.historyT[0]);z.setV(e,t),z.setS(P,R);const n=z.delta().x,o=z.delta().y;let r=n+P,i=o+R;r<_.value?(r=_.value,i=R+(_.value-P)*o/n):r>b.value&&(r=b.value,i=R+(b.value-P)*o/n),iw.value&&(i=w.value,r=P+(w.value-R)*n/o),z.setEnd(r,i),E=g(z,(function(){let e=z.s();re(e.x,e.y,A,"friction")}),(function(){E.cancel()}))}e.outOfBounds||e.inertia||q()}function Z(e,t){let n=!1;return e>b.value?(e=b.value,n=!0):e<_.value&&(e=_.value,n=!0),t>w.value?(t=w.value,n=!0):te.x),(e=>{l.value=_getPx(e)})),watch((()=>e.y),(e=>{u.value=_getPx(e)})),watch(l,(e=>{!function(e){if(H.value){if(e+C.x===P)return P;T&&T.cancel(),oe(e+C.x,u.value+C.y,A)}}(e)})),watch(u,(e=>{!function(e){if(G.value){if(e+C.y===R)return R;T&&T.cancel(),oe(l.value+C.x,e+C.y,A)}}(e)})),watch((()=>e.disabled),(()=>{Y()})),watch((()=>e.scaleValue),(e=>{d.value=Number(e)||0})),watch(d,(t=>{!function(t){if(!e.scale)return!1;ee(t=ne(t),!0),te(t)}(t)})),watch(F,(()=>{K()})),watch(U,(()=>{K()})),onMounted((()=>{useTouchtrack(n.value,(t=>{switch(t.detail.state){case"start":Y();break;case"move":!function(t){if(!L&&!e.disabled&&$){let n=P,o=R;if(null===N&&(N=Math.abs(t.detail.dx/t.detail.dy)>1?"htouchmove":"vtouchmove"),H.value&&(n=t.detail.dx+O,B.historyX.shift(),B.historyX.push(n),G.value||null!==k||(k=Math.abs(t.detail.dx/t.detail.dy)<1)),G.value&&(o=t.detail.dy+I,B.historyY.shift(),B.historyY.push(o),H.value||null!==k||(k=Math.abs(t.detail.dy/t.detail.dx)<1)),B.historyT.shift(),B.historyT.push(t.detail.timeStamp),!k){t.preventDefault();let r="touch";n<_.value?e.outOfBounds?(r="touch-out-of-bounds",n=_.value-M.x(_.value-n)):n=_.value:n>b.value&&(e.outOfBounds?(r="touch-out-of-bounds",n=b.value+M.x(n-b.value)):n=b.value),ow.value&&(e.outOfBounds?(r="touch-out-of-bounds",o=w.value+D.x(o-w.value)):o=w.value),_requestAnimationFrame((function(){re(n,o,A,r)}))}}}(t);break;case"end":X()}})),ie(),z.reconfigure(1,j.value),W.reconfigure(1,9*Math.pow(V.value,2)/40,V.value),n.value.style.transformOrigin="center";const t={rootRef:n,setParent:ie,_endScale:ae,_setScale:se};s(t),onUnmounted((()=>{c(t)}))})),onUnmounted((()=>{q()})),{setParent:ie}}const OPEN_TYPES=["navigate","redirect","switchTab","reLaunch","navigateBack"],ANIMATION_IN=["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"],ANIMATION_OUT=["slide-out-right","slide-out-left","slide-out-top","slide-out-bottom","fade-out","zoom-in","zoom-fade-in","pop-out","none"],navigatorProps={hoverClass:{type:String,default:"navigator-hover"},url:{type:String,default:""},openType:{type:String,default:"navigate",validator:e=>Boolean(~OPEN_TYPES.indexOf(e))},delta:{type:Number,default:1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:600},exists:{type:String,default:""},hoverStopPropagation:{type:Boolean,default:!1},animationType:{type:String,default:"",validator:e=>!e||ANIMATION_IN.concat(ANIMATION_OUT).includes(e)},animationDuration:{type:[String,Number],default:300}};function createNavigatorOnClick(e){return()=>{if("navigateBack"!==e.openType&&!e.url)return void console.error(" should have url attribute when using navigateTo, redirectTo, reLaunch or switchTab");const t=parseInt(e.animationDuration);switch(e.openType){case"navigate":navigateTo({url:e.url,animationType:e.animationType||"pop-in",animationDuration:t});break;case"redirect":redirectTo({url:e.url,exists:e.exists});break;case"switchTab":switchTab({url:e.url});break;case"reLaunch":reLaunch({url:e.url});break;case"navigateBack":navigateBack({delta:e.delta,animationType:e.animationType||"pop-out",animationDuration:t})}}}var index$r=defineBuiltInComponent({name:"Navigator",inheritAttrs:!1,compatConfig:{MODE:3},props:navigatorProps,setup(e,{slots:t}){const n=getCurrentInstance(),o=n&&n.vnode.scopeId||"",{hovering:r,binding:i}=useHover(e),a=createNavigatorOnClick(e);return()=>{const{hoverClass:s,url:c}=e,l=e.hoverClass&&"none"!==e.hoverClass;return createVNode("a",{class:"navigator-wrap",href:c,onClick:onEventPrevent,onMousedown:onEventPrevent},[createVNode("uni-navigator",mergeProps({class:l&&r.value?s:""},l&&i,n?n.attrs:{},{[o]:""},{onClick:a}),[t.default&&t.default()],16,["onClick"])],40,["href","onClick","onMousedown"])}}});const pickerViewProps={value:{type:Array,default:()=>[],validator:function(e){return isArray$4(e)&&e.filter((e=>"number"==typeof e)).length===e.length}},indicatorStyle:{type:String,default:""},indicatorClass:{type:String,default:""},maskStyle:{type:String,default:""},maskClass:{type:String,default:""}};function useState$4(e){const t=reactive([...e.value]),n=reactive({value:t,height:34});return watch((()=>e.value),((e,t)=>{n.value.length=e.length,e.forEach(((e,t)=>{e!==n.value[t]&&n.value.splice(t,1,e)}))})),n}var PickerView=defineBuiltInComponent({name:"PickerView",props:pickerViewProps,emits:["change","pickstart","pickend","update:value"],setup(e,{slots:t,emit:n}){const o=ref(null),r=ref(null),i=useCustomEvent(o,n),a=useState$4(e),s=ref(null);onMounted((()=>{const e=s.value;a.height=e.$el.offsetHeight}));let c=ref([]),l=ref([]);function u(e){let t=l.value;t=t.filter((e=>e.type!==Comment));let n=t.indexOf(e);return-1!==n?n:c.value.indexOf(e)}return provide("getPickerViewColumn",(function(e){return computed$1({get(){const t=u(e.vnode);return a.value[t]||0},set(t){const o=u(e.vnode);if(o<0)return;if(a.value[o]!==t){a.value[o]=t;const e=a.value.map((e=>e));n("update:value",e),i("change",{},{value:e})}}})})),provide("pickerViewProps",e),provide("pickerViewState",a),()=>{const e=t.default&&t.default();{const t=flatVNode(e);c.value=t,nextTick((()=>{l.value=t}))}return createVNode("uni-picker-view",{ref:o},[createVNode(ResizeSensor,{ref:s,onResize:({height:e})=>a.height=e},null,8,["onResize"]),createVNode("div",{ref:r,class:"uni-picker-view-wrapper"},[e],512)],512)}}});class Friction{constructor(e){this._drag=e,this._dragLog=Math.log(e),this._x=0,this._v=0,this._startTime=0}set(e,t){this._x=e,this._v=t,this._startTime=(new Date).getTime()}setVelocityByEnd(e){this._v=(e-this._x)*this._dragLog/(Math.pow(this._drag,100)-1)}x(e){void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3);const t=e===this._dt&&this._powDragDt?this._powDragDt:this._powDragDt=Math.pow(this._drag,e);return this._dt=e,this._x+this._v*t/this._dragLog-this._v/this._dragLog}dx(e){void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3);const t=e===this._dt&&this._powDragDt?this._powDragDt:this._powDragDt=Math.pow(this._drag,e);return this._dt=e,this._v*t}done(){return Math.abs(this.dx())<3}reconfigure(e){const t=this.x(),n=this.dx();this._drag=e,this._dragLog=Math.log(e),this.set(t,n)}configuration(){const e=this;return[{label:"Friction",read:function(){return e._drag},write:function(t){e.reconfigure(t)},min:.001,max:.1,step:.001}]}}function o(e,t,n){return e>t-n&&e0){const r=(-n-Math.sqrt(i))/(2*o),a=(-n+Math.sqrt(i))/(2*o),s=(t-r*e)/(a-r),c=e-s;return{x:function(e){let t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,r*e)),n||(n=this._powER2T=Math.pow(Math.E,a*e)),c*t+s*n},dx:function(e){let t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,r*e)),n||(n=this._powER2T=Math.pow(Math.E,a*e)),c*r*t+s*a*n}}}const a=Math.sqrt(4*o*r-n*n)/(2*o),s=-n/2*o,c=e,l=(t-s*e)/a;return{x:function(e){return Math.pow(Math.E,s*e)*(c*Math.cos(a*e)+l*Math.sin(a*e))},dx:function(e){const t=Math.pow(Math.E,s*e),n=Math.cos(a*e),o=Math.sin(a*e);return t*(l*a*n-c*a*o)+s*t*(l*o+c*n)}}}x(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(e):0}dx(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._solution.dx(e):0}setEnd(e,t,n){if(n||(n=(new Date).getTime()),e!==this._endPosition||!a(t,.4)){t=t||0;let o=this._endPosition;this._solution&&(a(t,.4)&&(t=this._solution.dx((n-this._startTime)/1e3)),o=this._solution.x((n-this._startTime)/1e3),a(t,.4)&&(t=0),a(o,.4)&&(o=0),o+=this._endPosition),this._solution&&a(o-e,.4)&&a(t,.4)||(this._endPosition=e,this._solution=this._solve(o-this._endPosition,t),this._startTime=n)}}snap(e){this._startTime=(new Date).getTime(),this._endPosition=e,this._solution={x:function(){return 0},dx:function(){return 0}}}done(e){return e||(e=(new Date).getTime()),o(this.x(),this._endPosition,.4)&&a(this.dx(),.4)}reconfigure(e,t,n){this._m=e,this._k=t,this._c=n,this.done()||(this._solution=this._solve(this.x()-this._endPosition,this.dx()),this._startTime=(new Date).getTime())}springConstant(){return this._k}damping(){return this._c}configuration(){return[{label:"Spring Constant",read:this.springConstant.bind(this),write:function(e,t){e.reconfigure(1,t,e.damping())}.bind(this,this),min:100,max:1e3},{label:"Damping",read:this.damping.bind(this),write:function(e,t){e.reconfigure(1,e.springConstant(),t)}.bind(this,this),min:1,max:500}]}}class Scroll{constructor(e,t,n){this._extent=e,this._friction=t||new Friction(.01),this._spring=n||new Spring(1,90,20),this._startTime=0,this._springing=!1,this._springOffset=0}snap(e,t){this._springOffset=0,this._springing=!0,this._spring.snap(e),this._spring.setEnd(t)}set(e,t){this._friction.set(e,t),e>0&&t>=0?(this._springOffset=0,this._springing=!0,this._spring.snap(e),this._spring.setEnd(0)):e<-this._extent&&t<=0?(this._springOffset=0,this._springing=!0,this._spring.snap(e),this._spring.setEnd(-this._extent)):this._springing=!1,this._startTime=(new Date).getTime()}x(e){if(!this._startTime)return 0;if(e||(e=((new Date).getTime()-this._startTime)/1e3),this._springing)return this._spring.x()+this._springOffset;let t=this._friction.x(e),n=this.dx(e);return(t>0&&n>=0||t<-this._extent&&n<=0)&&(this._springing=!0,this._spring.setEnd(0,n),t<-this._extent?this._springOffset=-this._extent:this._springOffset=0,t=this._spring.x()+this._springOffset),t}dx(e){let t;return t=this._lastTime===e?this._lastDx:this._springing?this._spring.dx(e):this._friction.dx(e),this._lastTime=e,this._lastDx=t,t}done(){return this._springing?this._spring.done():this._friction.done()}setVelocityByEnd(e){this._friction.setVelocityByEnd(e)}configuration(){const e=this._friction.configuration();return e.push.apply(e,this._spring.configuration()),e}}function createAnimation(e,t,n){const o={id:0,cancelled:!1};return function e(t,n,o,r){if(!t||!t.cancelled){o(n);const i=n.done();i||t.cancelled||(t.id=requestAnimationFrame(e.bind(null,t,n,o,r))),i&&r&&r(n)}}(o,e,t,n),{cancel:function(e){e&&e.id&&cancelAnimationFrame(e.id),e&&(e.cancelled=!0)}.bind(null,o),model:e}}class Scroller{constructor(e,t){t=t||{},this._element=e,this._options=t,this._enableSnap=t.enableSnap||!1,this._itemSize=t.itemSize||0,this._enableX=t.enableX||!1,this._enableY=t.enableY||!1,this._shouldDispatchScrollEvent=!!t.onScroll,this._enableX?(this._extent=(t.scrollWidth||this._element.offsetWidth)-this._element.parentElement.offsetWidth,this._scrollWidth=t.scrollWidth):(this._extent=(t.scrollHeight||this._element.offsetHeight)-this._element.parentElement.offsetHeight,this._scrollHeight=t.scrollHeight),this._position=0,this._scroll=new Scroll(this._extent,t.friction,t.spring),this._onTransitionEnd=this.onTransitionEnd.bind(this),this.updatePosition()}onTouchStart(){this._startPosition=this._position,this._lastChangePos=this._startPosition,this._startPosition>0?this._startPosition/=.5:this._startPosition<-this._extent&&(this._startPosition=(this._startPosition+this._extent)/.5-this._extent),this._animation&&(this._animation.cancel(),this._scrolling=!1),this.updatePosition()}onTouchMove(e,t){let n=this._startPosition;this._enableX?n+=e:this._enableY&&(n+=t),n>0?n*=.5:n<-this._extent&&(n=.5*(n+this._extent)-this._extent),this._position=n,this.updatePosition(),this.dispatchScroll()}onTouchEnd(e,t,n){if(this._enableSnap&&this._position>-this._extent&&this._position<0){if(this._enableY&&(Math.abs(t)this._itemSize/2?e-(this._itemSize-Math.abs(t)):e-t,o<=0&&o>=-this._extent&&this._scroll.setVelocityByEnd(o)}this._lastTime=Date.now(),this._lastDelay=0,this._scrolling=!0,this._lastChangePos=this._position,this._lastIdx=Math.floor(Math.abs(this._position/this._itemSize)),this._animation=createAnimation(this._scroll,(()=>{const e=Date.now(),t=(e-this._scroll._startTime)/1e3,n=this._scroll.x(t);this._position=n,this.updatePosition();const o=this._scroll.dx(t);this._shouldDispatchScrollEvent&&e-this._lastTime>this._lastDelay&&(this.dispatchScroll(),this._lastDelay=Math.abs(2e3/o),this._lastTime=e)}),(()=>{this._enableSnap&&(o<=0&&o>=-this._extent&&(this._position=o,this.updatePosition()),isFunction$1(this._options.onSnap)&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize))),this._shouldDispatchScrollEvent&&this.dispatchScroll(),this._scrolling=!1}))}onTransitionEnd(){this._element.style.webkitTransition="",this._element.style.transition="",this._element.removeEventListener("transitionend",this._onTransitionEnd),this._snapping&&(this._snapping=!1),this.dispatchScroll()}snap(){const e=this._itemSize,t=this._position%e,n=Math.abs(t)>this._itemSize/2?this._position-(e-Math.abs(t)):this._position-t;this._position!==n&&(this._snapping=!0,this.scrollTo(-n),isFunction$1(this._options.onSnap)&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize)))}scrollTo(e,t){this._animation&&(this._animation.cancel(),this._scrolling=!1),"number"==typeof e&&(this._position=-e),this._position<-this._extent?this._position=-this._extent:this._position>0&&(this._position=0);const n="transform "+(t||.2)+"s ease-out";this._element.style.webkitTransition="-webkit-"+n,this._element.style.transition=n,this.updatePosition(),this._element.addEventListener("transitionend",this._onTransitionEnd)}dispatchScroll(){if(isFunction$1(this._options.onScroll)&&Math.round(Number(this._lastPos))!==Math.round(this._position)){this._lastPos=this._position;const e={target:{scrollLeft:this._enableX?-this._position:0,scrollTop:this._enableY?-this._position:0,scrollHeight:this._scrollHeight||this._element.offsetHeight,scrollWidth:this._scrollWidth||this._element.offsetWidth,offsetHeight:this._element.parentElement.offsetHeight,offsetWidth:this._element.parentElement.offsetWidth}};this._options.onScroll(e)}}update(e,t,n){let o=0;const r=this._position;this._enableX?(o=this._element.childNodes.length?(t||this._element.offsetWidth)-this._element.parentElement.offsetWidth:0,this._scrollWidth=t):(o=this._element.childNodes.length?(t||this._element.offsetHeight)-this._element.parentElement.offsetHeight:0,this._scrollHeight=t),"number"==typeof e&&(this._position=-e),this._position<-o?this._position=-o:this._position>0&&(this._position=0),this._itemSize=n||this._itemSize,this.updatePosition(),r!==this._position&&(this.dispatchScroll(),isFunction$1(this._options.onSnap)&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize))),this._extent=o,this._scroll._extent=o}updatePosition(){let e="";this._enableX?e="translateX("+this._position+"px) translateZ(0)":this._enableY&&(e="translateY("+this._position+"px) translateZ(0)"),this._element.style.webkitTransform=e,this._element.style.transform=e}isScrolling(){return this._scrolling||this._snapping}}function useScroller(e,t){const n={trackingID:-1,maxDy:0,maxDx:0},o=new Scroller(e,t);function r(e){const t=e,o=e;return"move"===t.detail.state||"end"===t.detail.state?{x:t.detail.dx,y:t.detail.dy}:{x:o.screenX-n.x,y:o.screenY-n.y}}return{scroller:o,handleTouchStart:function(e){const t=e,r=e;"start"===t.detail.state?(n.trackingID="touch",n.x=t.detail.x,n.y=t.detail.y):(n.trackingID="mouse",n.x=r.screenX,n.y=r.screenY),n.maxDx=0,n.maxDy=0,n.historyX=[0],n.historyY=[0],n.historyTime=[t.detail.timeStamp||r.timeStamp],n.listener=o,o.onTouchStart&&o.onTouchStart(),("boolean"!=typeof e.cancelable||e.cancelable)&&e.preventDefault()},handleTouchMove:function(e){const t=e,o=e;if(-1!==n.trackingID){("boolean"!=typeof e.cancelable||e.cancelable)&&e.preventDefault();const i=r(e);if(i){for(n.maxDy=Math.max(n.maxDy,Math.abs(i.y)),n.maxDx=Math.max(n.maxDx,Math.abs(i.x)),n.historyX.push(i.x),n.historyY.push(i.y),n.historyTime.push(t.detail.timeStamp||o.timeStamp);n.historyTime.length>10;)n.historyTime.shift(),n.historyX.shift(),n.historyY.shift();n.listener&&n.listener.onTouchMove&&n.listener.onTouchMove(i.x,i.y)}}},handleTouchEnd:function(e){if(-1!==n.trackingID){e.preventDefault();const t=r(e);if(t){const e=n.listener;n.trackingID=-1,n.listener=null;const o={x:0,y:0};if(n.historyTime.length>2)for(let t=n.historyTime.length-1,r=n.historyTime[t],i=n.historyX[t],a=n.historyY[t];t>0;){t--;const e=r-n.historyTime[t];if(e>30&&e<50){o.x=(i-n.historyX[t])/(e/1e3),o.y=(a-n.historyY[t])/(e/1e3);break}}n.historyTime=[],n.historyX=[],n.historyY=[],e&&e.onTouchEnd&&e.onTouchEnd(t.x,t.y,o)}}}}}let scopedIndex=0;function useScopedClass(e){const t="uni-picker-view-content-"+scopedIndex++;return watch((()=>e.value),(function(){const n=document.createElement("style");n.innerText=`.uni-picker-view-content.${t}>*{height: ${e.value}px;overflow: hidden;}`,document.head.appendChild(n)})),t}function useCustomClick(e){let t=0,n=0;e.addEventListener("touchstart",(e=>{const o=e.changedTouches[0];t=o.clientX,n=o.clientY})),e.addEventListener("touchend",(e=>{const o=e.changedTouches[0];if(Math.abs(o.clientX-t)<20&&Math.abs(o.clientY-n)<20){const t={bubbles:!0,cancelable:!0,target:e.target,currentTarget:e.currentTarget},n=new CustomEvent("click",t);["screenX","screenY","clientX","clientY","pageX","pageY"].forEach((e=>{n[e]=o[e]})),e.target.dispatchEvent(n)}}))}var PickerViewColumn=defineBuiltInComponent({name:"PickerViewColumn",setup(e,{slots:t,emit:n}){const o=ref(null),r=ref(null),i=inject("getPickerViewColumn"),a=getCurrentInstance(),s=i?i(a):ref(0),c=inject("pickerViewProps"),l=inject("pickerViewState"),u=ref(34),d=ref(null);onMounted((()=>{const e=d.value;u.value=e.$el.offsetHeight}));const f=computed$1((()=>(l.height-u.value)/2)),{state:p}=useScopedAttrs(),h=useScopedClass(u);let g;const m=reactive({current:s.value,length:0});let v;function _(){g&&!v&&(v=!0,nextTick((()=>{v=!1;let e=Math.min(m.current,m.length-1);e=Math.max(e,0),g.update(e*u.value,void 0,u.value)})))}watch((()=>s.value),(e=>{e!==m.current&&(m.current=e,_())})),watch((()=>m.current),(e=>s.value=e)),watch([()=>u.value,()=>m.length,()=>l.height],_);let y=0;function b(e){const t=y+e.deltaY;if(Math.abs(t)>10){y=0;let e=Math.min(m.current+(t<0?-1:1),m.length-1);m.current=e=Math.max(e,0),g.scrollTo(e*u.value)}else y=t;e.preventDefault()}function w({clientY:e}){const t=o.value;if(!g.isScrolling()){const n=e-t.getBoundingClientRect().top-l.height/2,o=u.value/2;if(!(Math.abs(n)<=o)){const e=Math.ceil((Math.abs(n)-o)/u.value),t=n<0?-e:e;let r=Math.min(m.current+t,m.length-1);m.current=r=Math.max(r,0),g.scrollTo(r*u.value)}}}return onMounted((()=>{const e=o.value,t=r.value,{scroller:n,handleTouchStart:i,handleTouchMove:a,handleTouchEnd:s}=useScroller(t,{enableY:!0,enableX:!1,enableSnap:!0,itemSize:u.value,friction:new Friction(1e-4),spring:new Spring(2,90,20),onSnap:e=>{isNaN(e)||e===m.current||(m.current=e)}});g=n,useTouchtrack(e,(e=>{switch(e.detail.state){case"start":i(e);break;case"move":a(e),e.stopPropagation();break;case"end":case"cancel":s(e)}}),!0),useCustomClick(e),_()})),()=>{const e=t.default&&t.default();m.length=flatVNode(e).length;const n=`${f.value}px 0`;return createVNode("uni-picker-view-column",{ref:o},[createVNode("div",{onWheel:b,onClick:w,class:"uni-picker-view-group"},[createVNode("div",mergeProps(p.attrs,{class:["uni-picker-view-mask",c.maskClass],style:`background-size: 100% ${f.value}px;${c.maskStyle}`}),null,16),createVNode("div",mergeProps(p.attrs,{class:["uni-picker-view-indicator",c.indicatorClass],style:c.indicatorStyle}),[createVNode(ResizeSensor,{ref:d,onResize:({height:e})=>u.value=e},null,8,["onResize"])],16),createVNode("div",{ref:r,class:["uni-picker-view-content",h],style:{padding:n}},[e],6)],40,["onWheel","onClick"])],512)}}});const passiveOptions=passive(!0),props$m={scrollX:{type:[Boolean,String],default:!1},scrollY:{type:[Boolean,String],default:!1},upperThreshold:{type:[Number,String],default:50},lowerThreshold:{type:[Number,String],default:50},scrollTop:{type:[Number,String],default:0},scrollLeft:{type:[Number,String],default:0},scrollIntoView:{type:String,default:""},scrollWithAnimation:{type:[Boolean,String],default:!1},enableBackToTop:{type:[Boolean,String],default:!1},refresherEnabled:{type:[Boolean,String],default:!1},refresherThreshold:{type:Number,default:45},refresherDefaultStyle:{type:String,default:"back"},refresherBackground:{type:String,default:"#fff"},refresherTriggered:{type:[Boolean,String],default:!1}};var ScrollView=defineBuiltInComponent({name:"ScrollView",compatConfig:{MODE:3},props:props$m,emits:["scroll","scrolltoupper","scrolltolower","refresherrefresh","refresherrestore","refresherpulling","refresherabort","update:refresherTriggered"],setup(e,{emit:t,slots:n}){const o=ref(null),r=ref(null),i=ref(null),a=ref(null),s=ref(null),c=useCustomEvent(o,t),{state:l,scrollTopNumber:u,scrollLeftNumber:d}=useScrollViewState(e);useScrollViewLoader(e,l,u,d,c,o,r,a,t);const f=computed$1((()=>{let t="";return e.scrollX?t+="overflow-x:auto;":t+="overflow-x:hidden;",e.scrollY?t+="overflow-y:auto;":t+="overflow-y:hidden;",t}));return()=>{const{refresherEnabled:t,refresherBackground:c,refresherDefaultStyle:u}=e,{refresherHeight:d,refreshState:p,refreshRotate:h}=l;return createVNode("uni-scroll-view",{ref:o},[createVNode("div",{ref:i,class:"uni-scroll-view"},[createVNode("div",{ref:r,style:f.value,class:"uni-scroll-view"},[createVNode("div",{ref:a,class:"uni-scroll-view-content"},[t?createVNode("div",{ref:s,style:{backgroundColor:c,height:d+"px"},class:"uni-scroll-view-refresher"},["none"!==u?createVNode("div",{class:"uni-scroll-view-refresh"},[createVNode("div",{class:"uni-scroll-view-refresh-inner"},["pulling"==p?createVNode("svg",{key:"refresh__icon",style:{transform:"rotate("+h+"deg)"},fill:"#2BD009",class:"uni-scroll-view-refresh__icon",width:"24",height:"24",viewBox:"0 0 24 24"},[createVNode("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"},null),createVNode("path",{d:"M0 0h24v24H0z",fill:"none"},null)],4):null,"refreshing"==p?createVNode("svg",{key:"refresh__spinner",class:"uni-scroll-view-refresh__spinner",width:"24",height:"24",viewBox:"25 25 50 50"},[createVNode("circle",{cx:"50",cy:"50",r:"20",fill:"none",style:"color: #2bd009","stroke-width":"3"},null)]):null])]):null,"none"==u?n.refresher&&n.refresher():null],4):null,n.default&&n.default()],512)],4)],512)],512)}}});function useScrollViewState(e){const t=computed$1((()=>Number(e.scrollTop)||0)),n=computed$1((()=>Number(e.scrollLeft)||0));return{state:reactive({lastScrollTop:t.value,lastScrollLeft:n.value,lastScrollToUpperTime:0,lastScrollToLowerTime:0,refresherHeight:0,refreshRotate:0,refreshState:""}),scrollTopNumber:t,scrollLeftNumber:n}}function useScrollViewLoader(e,t,n,o,r,i,a,s,c){let l=!1,u=0,d=!1,f=()=>{};const p=computed$1((()=>{let t=Number(e.upperThreshold);return isNaN(t)?50:t})),h=computed$1((()=>{let t=Number(e.lowerThreshold);return isNaN(t)?50:t}));function g(t,n){const o=a.value;let r=0,i="";if(t<0?t=0:"x"===n&&t>o.scrollWidth-o.offsetWidth?t=o.scrollWidth-o.offsetWidth:"y"===n&&t>o.scrollHeight-o.offsetHeight&&(t=o.scrollHeight-o.offsetHeight),"x"===n?r=o.scrollLeft-t:"y"===n&&(r=o.scrollTop-t),0===r)return;let c=s.value;c.style.transition="transform .3s ease-out",c.style.webkitTransition="-webkit-transform .3s ease-out","x"===n?i="translateX("+r+"px) translateZ(0)":"y"===n&&(i="translateY("+r+"px) translateZ(0)"),c.removeEventListener("transitionend",f),c.removeEventListener("webkitTransitionEnd",f),f=()=>function(t,n){s.value.style.transition="",s.value.style.webkitTransition="",s.value.style.transform="",s.value.style.webkitTransform="";let o=a.value;"x"===n?(o.style.overflowX=e.scrollX?"auto":"hidden",o.scrollLeft=t):"y"===n&&(o.style.overflowY=e.scrollY?"auto":"hidden",o.scrollTop=t);s.value.removeEventListener("transitionend",f),s.value.removeEventListener("webkitTransitionEnd",f)}(t,n),c.addEventListener("transitionend",f),c.addEventListener("webkitTransitionEnd",f),"x"===n?o.style.overflowX="hidden":"y"===n&&(o.style.overflowY="hidden"),c.style.transform=i,c.style.webkitTransform=i}function m(t){e.scrollY&&(e.scrollWithAnimation?g(t,"y"):a.value.scrollTop=t)}function v(t){e.scrollX&&(e.scrollWithAnimation?g(t,"x"):a.value.scrollLeft=t)}function _(t){if(t){if(!/^[_a-zA-Z][-_a-zA-Z0-9:]*$/.test(t))return void console.error(`id error: scroll-into-view=${t}`);let n=i.value.querySelector("#"+t);if(n){let t=a.value.getBoundingClientRect(),o=n.getBoundingClientRect();if(e.scrollX){let n=o.left-t.left,r=a.value.scrollLeft+n;e.scrollWithAnimation?g(r,"x"):a.value.scrollLeft=r}if(e.scrollY){let n=o.top-t.top,r=a.value.scrollTop+n;e.scrollWithAnimation?g(r,"y"):a.value.scrollTop=r}}}}function y(n){switch(n){case"refreshing":t.refresherHeight=e.refresherThreshold,l||(l=!0,r("refresherrefresh",{},{}),c("update:refresherTriggered",!0));break;case"restore":case"refresherabort":l=!1,t.refresherHeight=u=0,"restore"===n&&(d=!1,r("refresherrestore",{},{})),"refresherabort"===n&&d&&(d=!1,r("refresherabort",{},{}))}t.refreshState=n}onMounted((()=>{nextTick((()=>{m(n.value),v(o.value)})),_(e.scrollIntoView);let i=function(n){n.preventDefault(),n.stopPropagation(),function(n){const o=n.target;r("scroll",n,{scrollLeft:o.scrollLeft,scrollTop:o.scrollTop,scrollHeight:o.scrollHeight,scrollWidth:o.scrollWidth,deltaX:t.lastScrollLeft-o.scrollLeft,deltaY:t.lastScrollTop-o.scrollTop}),e.scrollY&&(o.scrollTop<=p.value&&t.lastScrollTop-o.scrollTop>0&&n.timeStamp-t.lastScrollToUpperTime>200&&(r("scrolltoupper",n,{direction:"top"}),t.lastScrollToUpperTime=n.timeStamp),o.scrollTop+o.offsetHeight+h.value>=o.scrollHeight&&t.lastScrollTop-o.scrollTop<0&&n.timeStamp-t.lastScrollToLowerTime>200&&(r("scrolltolower",n,{direction:"bottom"}),t.lastScrollToLowerTime=n.timeStamp)),e.scrollX&&(o.scrollLeft<=p.value&&t.lastScrollLeft-o.scrollLeft>0&&n.timeStamp-t.lastScrollToUpperTime>200&&(r("scrolltoupper",n,{direction:"left"}),t.lastScrollToUpperTime=n.timeStamp),o.scrollLeft+o.offsetWidth+h.value>=o.scrollWidth&&t.lastScrollLeft-o.scrollLeft<0&&n.timeStamp-t.lastScrollToLowerTime>200&&(r("scrolltolower",n,{direction:"right"}),t.lastScrollToLowerTime=n.timeStamp)),t.lastScrollTop=o.scrollTop,t.lastScrollLeft=o.scrollLeft}(n)},s={x:0,y:0},c=null,f=function(n){if(null===s)return;let o=n.touches[0].pageX,i=n.touches[0].pageY,f=a.value;if(Math.abs(o-s.x)>Math.abs(i-s.y))if(e.scrollX){if(0===f.scrollLeft&&o>s.x)return void(c=!1);if(f.scrollWidth===f.offsetWidth+f.scrollLeft&&os.y)c=!1,e.refresherEnabled&&!1!==n.cancelable&&n.preventDefault();else{if(f.scrollHeight===f.offsetHeight+f.scrollTop&&i0&&(d=!0,r("refresherpulling",n,{deltaY:o})));const a=t.refresherHeight/e.refresherThreshold;t.refreshRotate=360*(a>1?1:a)}},g=function(e){1===e.touches.length&&(s={x:e.touches[0].pageX,y:e.touches[0].pageY})},b=function(n){s=null,t.refresherHeight>=e.refresherThreshold?y("refreshing"):y("refresherabort")};a.value.addEventListener("touchstart",g,passiveOptions),a.value.addEventListener("touchmove",f,passive(!1)),a.value.addEventListener("scroll",i,passive(!1)),a.value.addEventListener("touchend",b,passiveOptions),onBeforeUnmount((()=>{a.value.removeEventListener("touchstart",g),a.value.removeEventListener("touchmove",f),a.value.removeEventListener("scroll",i),a.value.removeEventListener("touchend",b)}))})),onActivated((()=>{e.scrollY&&(a.value.scrollTop=t.lastScrollTop),e.scrollX&&(a.value.scrollLeft=t.lastScrollLeft)})),watch(n,(e=>{m(e)})),watch(o,(e=>{v(e)})),watch((()=>e.scrollIntoView),(e=>{_(e)})),watch((()=>e.refresherTriggered),(e=>{!0===e?y("refreshing"):!1===e&&y("restore")}))}const props$k={indicatorDots:{type:[Boolean,String],default:!1},vertical:{type:[Boolean,String],default:!1},autoplay:{type:[Boolean,String],default:!1},circular:{type:[Boolean,String],default:!1},interval:{type:[Number,String],default:5e3},duration:{type:[Number,String],default:500},current:{type:[Number,String],default:0},indicatorColor:{type:String,default:""},indicatorActiveColor:{type:String,default:""},previousMargin:{type:String,default:""},nextMargin:{type:String,default:""},currentItemId:{type:String,default:""},skipHiddenItemLayout:{type:[Boolean,String],default:!1},displayMultipleItems:{type:[Number,String],default:1},disableTouch:{type:[Boolean,String],default:!1}};function useState$3(e){return reactive({interval:computed$1((()=>{const t=Number(e.interval);return isNaN(t)?5e3:t})),duration:computed$1((()=>{const t=Number(e.duration);return isNaN(t)?500:t})),displayMultipleItems:computed$1((()=>{const t=Math.round(e.displayMultipleItems);return isNaN(t)?1:t})),current:Math.round(e.current)||0,currentItemId:e.currentItemId,userTracking:!1})}function useLayout(e,t,n,o,r,i){function a(){l&&(clearTimeout(l),l=null)}let s,c,l=null,u=!0,d=0,f=1,p=null,h=!1,g=0,m="";const v=computed$1((()=>e.circular&&n.value.length>t.displayMultipleItems));function _(r){Math.floor(2*d)===Math.floor(2*r)&&Math.ceil(2*d)===Math.ceil(2*r)||v.value&&function(o){if(!u)for(let r=n.value,i=r.length,a=o+t.displayMultipleItems,s=0;s=l.length&&(r-=l.length),r=s%1>.5||s<0?r-1:r,i("transition",{},{dx:e.vertical?0:r*c.offsetWidth,dy:e.vertical?r*c.offsetHeight:0})}function y(e){const o=n.value.length;if(!o)return-1;const r=(Math.round(e)%o+o)%o;if(v.value){if(o<=t.displayMultipleItems)return 0}else if(r>o-t.displayMultipleItems)return o-t.displayMultipleItems;return r}function b(){p=null}function w(){if(!p)return void(h=!1);const e=p,o=e.toPos,r=e.acc,a=e.endTime,l=e.source,u=a-Date.now();if(u<=0){_(o),p=null,h=!1,s=null;const e=n.value[t.current];if(e){const n=e.getItemId();i("animationfinish",{},{current:t.current,currentItemId:n,source:l})}return}_(o+r*u*u/2),c=requestAnimationFrame(w)}function T(e,o,r){b();const i=t.duration,a=n.value.length;let s=d;if(v.value)if(r<0){for(;se;)s-=a}else if(r>0){for(;s>e;)s-=a;for(;s+ae;)s-=a;s+a-ee.current,()=>e.currentItemId,()=>[...n.value]],(()=>{let o=-1;if(e.currentItemId)for(let t=0,r=n.value;te.vertical,()=>v.value,()=>t.displayMultipleItems,()=>[...n.value]],(function(){a(),p&&(_(p.toPos),p=null);const r=n.value;for(let t=0;t0&&f<1||(f=1)}const s=d;d=-2;const c=t.current;c>=0?(u=!1,t.userTracking?(_(s+c-g),g=c):(_(c),e.autoplay&&E())):(u=!0,_(-t.displayMultipleItems-1))})),watch((()=>t.interval),(()=>{l&&(a(),E())})),watch((()=>t.current),((e,o)=>{!function(e,o){const r=m;m="";const a=n.value;if(!r){const t=a.length;T(e,"",v.value&&o+(t-e)%t>t/2?1:0)}const s=a[e];if(s){const e=t.currentItemId=s.getItemId();i("change",{},{current:t.current,currentItemId:e,source:r})}}(e,o),r("update:current",e)})),watch((()=>t.currentItemId),(e=>{r("update:currentItemId",e)})),watch((()=>e.autoplay&&!t.userTracking),S),S(e.autoplay&&!t.userTracking),onMounted((()=>{let r=!1,i=0,s=0;function c(e){t.userTracking=!1;const n=i/Math.abs(i);let o=0;!e&&Math.abs(i)>.2&&(o=.5*n);const r=y(d+o);e?_(g):(m="touch",t.current=r,T(r,"touch",0!==o?o:0===r&&v.value&&d>=1?1:0))}useTouchtrack(o.value,(l=>{if(!e.disableTouch&&!u){if("start"===l.detail.state)return t.userTracking=!0,r=!1,a(),g=d,i=0,s=Date.now(),void b();if("end"===l.detail.state)return c(!1);if("cancel"===l.detail.state)return c(!0);if(t.userTracking){if(!r){r=!0;const n=Math.abs(l.detail.dx),o=Math.abs(l.detail.dy);if((n>=o&&e.vertical||n<=o&&!e.vertical)&&(t.userTracking=!1),!t.userTracking)return void(e.autoplay&&E())}return function(r){const a=s;s=Date.now();const c=n.value.length-t.displayMultipleItems;function l(e){return.5-.25/(e+.5)}function u(e,t){let n=g+e;i=.6*i+.4*t,v.value||(n<0||n>c)&&(n<0?n=-l(-n):n>c&&(n=c+l(n-c)),i=0),_(n)}const d=s-a||1,f=o.value;e.vertical?u(-r.dy/f.offsetHeight,-r.ddy/d):u(-r.dx/f.offsetWidth,-r.ddx/d)}(l.detail),!1}}}))})),onUnmounted((()=>{a(),cancelAnimationFrame(c)})),{onSwiperDotClick:function(e){T(t.current=e,m="click",v.value?1:0)}}}var Swiper=defineBuiltInComponent({name:"Swiper",props:props$k,emits:["change","transition","animationfinish","update:current","update:currentItemId"],setup(e,{slots:t,emit:n}){const o=ref(null),r=useCustomEvent(o,n),i=ref(null),a=ref(null),s=useState$3(e),c=computed$1((()=>{let t={};return(e.nextMargin||e.previousMargin)&&(t=e.vertical?{left:0,right:0,top:rpx2px$1(e.previousMargin,!0),bottom:rpx2px$1(e.nextMargin,!0)}:{top:0,bottom:0,left:rpx2px$1(e.previousMargin,!0),right:rpx2px$1(e.nextMargin,!0)}),t})),l=computed$1((()=>{const t=Math.abs(100/s.displayMultipleItems)+"%";return{width:e.vertical?"100%":t,height:e.vertical?t:"100%"}}));let u=[];const d=[],f=ref([]);function p(){const e=[];for(let t=0;tn===e.rootRef.value));o&&e.push(markRaw(o))}f.value=e}provide("addSwiperContext",(function(e){d.push(e),p()}));provide("removeSwiperContext",(function(e){const t=d.indexOf(e);t>=0&&(d.splice(t,1),p())}));const{onSwiperDotClick:h}=useLayout(e,s,f,a,n,r);return()=>{const n=t.default&&t.default();return u=flatVNode(n),createVNode("uni-swiper",{ref:o},[createVNode("div",{ref:i,class:"uni-swiper-wrapper"},[createVNode("div",{class:"uni-swiper-slides",style:c.value},[createVNode("div",{ref:a,class:"uni-swiper-slide-frame",style:l.value},[n],4)],4),e.indicatorDots&&createVNode("div",{class:["uni-swiper-dots",e.vertical?"uni-swiper-dots-vertical":"uni-swiper-dots-horizontal"]},[f.value.map(((t,n,o)=>createVNode("div",{onClick:()=>h(n),class:{"uni-swiper-dot":!0,"uni-swiper-dot-active":n=s.current||ne.itemId,getBoundingClientRect:()=>n.value.getBoundingClientRect(),updatePosition(e,t){const o=t?"0":100*e+"%",r=t?100*e+"%":"0",i=n.value,a=`translate(${o},${r}) translateZ(0)`;i&&(i.style.webkitTransform=a,i.style.transform=a)}};return onMounted((()=>{const e=inject("addSwiperContext");e&&e(o)})),onUnmounted((()=>{const e=inject("removeSwiperContext");e&&e(o)})),()=>createVNode("uni-swiper-item",{ref:n,style:{position:"absolute",width:"100%",height:"100%"}},[t.default&&t.default()],512)}});const SPACE_UNICODE={ensp:" ",emsp:" ",nbsp:" "};function parseText(e,t){return e.replace(/\\n/g,LINEFEED).split(LINEFEED).map((e=>normalizeText(e,t)))}function normalizeText(e,{space:t,decode:n}){return e?(t&&SPACE_UNICODE[t]&&(e=e.replace(/ /g,SPACE_UNICODE[t])),n?e.replace(/ /g,SPACE_UNICODE.nbsp).replace(/ /g,SPACE_UNICODE.ensp).replace(/ /g,SPACE_UNICODE.emsp).replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'"):e):e}var index$k=defineBuiltInComponent({name:"Text",props:{selectable:{type:[Boolean,String],default:!1},space:{type:String,default:""},decode:{type:[Boolean,String],default:!1}},setup:(e,{slots:t})=>()=>{const n=[];return t.default&&t.default().forEach((t=>{if(8&t.shapeFlag&&t.type!==Comment){const o=parseText(t.children,{space:e.space,decode:e.decode}),r=o.length-1;o.forEach(((e,t)=>{(0!==t||e)&&n.push(createTextVNode(e)),t!==r&&n.push(createVNode("br"))}))}else n.push(t)})),createVNode("uni-text",{selectable:!!e.selectable||null},[createVNode("span",null,n)],8,["selectable"])}});const props$h=extend$1({},props$r,{placeholderClass:{type:String,default:"input-placeholder"},autoHeight:{type:[Boolean,String],default:!1},confirmType:{type:String,default:"return",validator:e=>ConfirmTypes.concat("return").includes(e)}});let fixMargin=!1;const ConfirmTypes=["done","go","next","search","send"];function setFixMargin(){const e="(prefers-color-scheme: dark)";fixMargin=0===String(navigator.platform).indexOf("iP")&&0===String(navigator.vendor).indexOf("Apple")&&window.matchMedia(e).media!==e}var index$j=defineBuiltInComponent({name:"Textarea",props:props$h,emits:["confirm","linechange",...emit],setup(e,{emit:t}){const n=ref(null),o=ref(null),{fieldRef:r,state:i,scopedAttrsState:a,fixDisabledColor:s,trigger:c}=useField(e,n,t),l=computed$1((()=>i.value.split(LINEFEED))),u=computed$1((()=>ConfirmTypes.includes(e.confirmType))),d=ref(0),f=ref(null);function p({height:e}){d.value=e}function h(e){"Enter"===e.key&&u.value&&e.preventDefault()}function g(t){if("Enter"===t.key&&u.value){!function(e){c("confirm",e,{value:i.value})}(t);const n=t.target;!e.confirmHold&&n.blur()}}return watch((()=>d.value),(t=>{const r=n.value,i=f.value,a=o.value;let s=parseFloat(getComputedStyle(r).lineHeight);isNaN(s)&&(s=i.offsetHeight);var l=Math.round(t/s);c("linechange",{},{height:t,heightRpx:750/window.innerWidth*t,lineCount:l}),e.autoHeight&&(r.style.height="auto",a.style.height=t+"px")})),setFixMargin(),()=>{let t=e.disabled&&s?createVNode("textarea",{ref:r,value:i.value,tabindex:"-1",readonly:!!e.disabled,maxlength:i.maxlength,class:{"uni-textarea-textarea":!0,"uni-textarea-textarea-fix-margin":fixMargin},style:{overflowY:e.autoHeight?"hidden":"auto"},onFocus:e=>e.target.blur()},null,46,["value","readonly","maxlength","onFocus"]):createVNode("textarea",{ref:r,value:i.value,disabled:!!e.disabled,maxlength:i.maxlength,enterkeyhint:e.confirmType,class:{"uni-textarea-textarea":!0,"uni-textarea-textarea-fix-margin":fixMargin},style:{overflowY:e.autoHeight?"hidden":"auto"},onKeydown:h,onKeyup:g},null,46,["value","disabled","maxlength","enterkeyhint","onKeydown","onKeyup"]);return createVNode("uni-textarea",{ref:n},[createVNode("div",{ref:o,class:"uni-textarea-wrapper"},[withDirectives(createVNode("div",mergeProps(a.attrs,{style:e.placeholderStyle,class:["uni-textarea-placeholder",e.placeholderClass]}),[e.placeholder],16),[[vShow,!i.value.length]]),createVNode("div",{ref:f,class:"uni-textarea-line"},[" "],512),createVNode("div",{class:"uni-textarea-compute"},[l.value.map((e=>createVNode("div",null,[e.trim()?e:"."]))),createVNode(ResizeSensor,{initial:!0,onResize:p},null,8,["initial","onResize"])]),"search"===e.confirmType?createVNode("form",{action:"",onSubmit:()=>!1,class:"uni-input-form"},[t],40,["onSubmit"]):t],512)],512)}}}),index$i=defineBuiltInComponent({name:"View",props:extend$1({},hoverProps),setup(e,{slots:t}){const{hovering:n,binding:o}=useHover(e);return()=>{const r=e.hoverClass;return r&&"none"!==r?createVNode("uni-view",mergeProps({class:n.value?r:""},o),[t.default&&t.default()],16):createVNode("uni-view",null,[t.default&&t.default()])}}});function normalizeEvent(e,t){if(t||(t=e.id),t)return e.$options.name.toLowerCase()+"."+t}function addSubscribe(e,t,n){e&®isterViewMethod(n||getCurrentPageId(),e,(({type:e,data:n},o)=>{t(e,n,o)}))}function removeSubscribe(e,t){e&&unregisterViewMethod(t||getCurrentPageId(),e)}function useSubscribe(e,t,n,o){const r=getCurrentInstance().proxy;onMounted((()=>{addSubscribe(t||normalizeEvent(r),e,o),!n&&t||watch((()=>r.id),((t,n)=>{addSubscribe(normalizeEvent(r,t),e,o),removeSubscribe(n&&normalizeEvent(r,n))}))})),onBeforeUnmount((()=>{removeSubscribe(t||normalizeEvent(r),o)}))}let index$h=0;function useContextInfo(e){const t=useCurrentPageId(),n=getCurrentInstance().proxy,o=n.$options.name.toLowerCase(),r=e||n.id||"context"+index$h++;return onMounted((()=>{n.$el.__uniContextInfo={id:r,type:o,page:t}})),`${o}.${r}`}function getContextInfo(e){return e.__uniContextInfo}function injectLifecycleHook(e,t,n,o){isFunction$1(t)&&injectHook(e,t.bind(n),o)}function initHooks(e,t,n){const o=e.mpType||n.$mpType;if(o&&(Object.keys(e).forEach((o=>{if(0===o.indexOf("on")){const r=e[o];isArray$4(r)?r.forEach((e=>injectLifecycleHook(o,e,n,t))):injectLifecycleHook(o,r,n,t)}})),"page"===o)){t.__isVisible=!0;try{invokeHook(n,ON_LOAD,t.attrs.__pageQuery),delete t.attrs.__pageQuery,invokeHook(n,ON_SHOW)}catch(r){console.error(r.message+LINEFEED+r.stack)}}}function applyOptions(e,t,n){initHooks(e,t,n)}function set(e,t,n){return e[t]=n}function createErrorHandler(e){return function(t,n,o){if(!n)throw t;const r=e._instance;if(!r||!r.proxy)throw t;invokeHook(r.proxy,ON_ERROR,t)}}function mergeAsArray(e,t){return e?[...new Set([].concat(e,t))]:t}function initOptionMergeStrategies(e){UniLifecycleHooks.forEach((t=>{e[t]=mergeAsArray}))}function initApp$1(e){const t=e._context.config;isFunction$1(e._component.onError)&&(t.errorHandler=createErrorHandler(e)),initOptionMergeStrategies(t.optionMergeStrategies);const n=t.globalProperties;n.$set=set,n.$applyOptions=applyOptions,invokeCreateVueAppHook(e)}const pageMetaKey=PolySymbol("upm");function usePageMeta(){return inject(pageMetaKey)}function providePageMeta(e){const t=initPageMeta(e);return provide(pageMetaKey,t),t}function usePageRoute(){return useRoute()}function initPageMeta(e){return reactive(normalizePageMeta(JSON.parse(JSON.stringify(initRouteMeta(useRoute().meta,e)))))}function normalizePageMeta(e){if(history.state){const t=history.state.__type__;"redirectTo"!==t&&"reLaunch"!==t||0!==getCurrentPages$1().length||(e.isEntry=!0,e.isQuit=!0)}return e}function getStateId(){return history.state&&history.state.__id__||1}let tabBar;function useTabBar(){return tabBar||(tabBar=__uniConfig.tabBar&&reactive(initTabBarI18n(__uniConfig.tabBar))),tabBar}const supports=window.CSS&&window.CSS.supports;function cssSupports(e){return supports&&(supports(e)||supports.apply(window.CSS,e.split(":")))}const cssEnv=cssSupports("top:env(a)"),cssConstant=cssSupports("top:constant(a)"),envMethod=(()=>cssEnv?"env":cssConstant?"constant":"")();function updateCurPageCssVar(e){updatePageCssVar({"--window-top":normalizeWindowTop(0),"--window-bottom":normalizeWindowBottom(0)})}function normalizeWindowTop(e){return envMethod?`calc(${e}px + ${envMethod}(safe-area-inset-top))`:`${e}px`}function normalizeWindowBottom(e){return envMethod?`calc(${e}px + ${envMethod}(safe-area-inset-bottom))`:`${e}px`}const SEP="$$",currentPagesMap=new Map;function pruneCurrentPages(){currentPagesMap.forEach(((e,t)=>{e.$.isUnmounted&¤tPagesMap.delete(t)}))}function getCurrentPagesMap(){return currentPagesMap}function getCurrentPages$1(){const e=[],t=currentPagesMap.values();for(const n of t)n.$.__isTabBar?n.$.__isActive&&e.push(n):e.push(n);return e}function removeRouteCache(e){const t=pageCacheMap.get(e);t&&(pageCacheMap.delete(e),routeCache.pruneCacheEntry(t))}function removePage(e,t=!0){const n=currentPagesMap.get(e);n.$.__isUnload=!0,invokeHook(n,ON_UNLOAD),currentPagesMap.delete(e),t&&removeRouteCache(e)}let id=getStateId();function createPageState(e,t){return{__id__:t||++id,__type__:e}}function initPublicPage(e){const t=usePageMeta();let n=e.fullPath;return e.meta.isEntry&&-1===n.indexOf(e.meta.route)&&(n="/"+e.meta.route+n.replace("/","")),initPageInternalInstance("navigateTo",n,{},t)}function initPage(e){const t=initPublicPage(e.$route);initPageVm(e,t),currentPagesMap.set(normalizeRouteKey(t.path,t.id),e)}function normalizeRouteKey(e,t){return e+SEP+t}function useKeepAliveRoute(){const e=useRoute();return{routeKey:computed$1((()=>normalizeRouteKey("/"+e.meta.route,getStateId()))),isTabBar:computed$1((()=>e.meta.isTabBar)),routeCache:routeCache}}const pageCacheMap=new Map,routeCache={get:e=>pageCacheMap.get(e),set(e,t){pruneRouteCache(e),pageCacheMap.set(e,t)},delete(e){pageCacheMap.get(e)&&pageCacheMap.delete(e)},forEach(e){pageCacheMap.forEach(e)}};function pruneRouteCache(e){const t=parseInt(e.split(SEP)[1]);t&&routeCache.forEach(((e,n)=>{const o=parseInt(n.split(SEP)[1]);o&&o>t&&(routeCache.delete(n),routeCache.pruneCacheEntry(e),nextTick((()=>pruneCurrentPages())))}))}function updateCurPageAttrs(e){const t="nvue-dir-"+__uniConfig.nvue["flex-direction"];e.isNVue?(document.body.setAttribute("nvue",""),document.body.setAttribute(t,"")):(document.body.removeAttribute("nvue"),document.body.removeAttribute(t))}function onPageShow(e,t){updateBodyScopeId(e),updateCurPageCssVar(),updateCurPageAttrs(t),initPageScrollListener(e,t)}function onPageReady(e){const t=getScopeId(e);t&&updateCurPageBodyScopeId(t)}function updateCurPageBodyScopeId(e){const t=document.querySelector("uni-page-body");t&&t.setAttribute(e,"")}function getScopeId(e){return e.type.__scopeId}let curScopeId,curScrollListener;function updateBodyScopeId(e){const t=getScopeId(e),{body:n}=document;curScopeId&&n.removeAttribute(curScopeId),t&&n.setAttribute(t,""),curScopeId=t}function initPageScrollListener(e,t){if(document.removeEventListener("touchmove",disableScrollListener),curScrollListener&&document.removeEventListener("scroll",curScrollListener),t.disableScroll)return document.addEventListener("touchmove",disableScrollListener);const{onPageScroll:n,onReachBottom:o}=e,r="transparent"===t.navigationBar.type;if(!n&&!o&&!r)return;const i={},a=e.proxy.$page.id;(n||r)&&(i.onPageScroll=createOnPageScroll(a,n,r)),o&&(i.onReachBottomDistance=t.onReachBottomDistance||ON_REACH_BOTTOM_DISTANCE,i.onReachBottom=()=>UniViewJSBridge$1.publishHandler(ON_REACH_BOTTOM,{},a)),curScrollListener=createScrollListener(i),requestAnimationFrame((()=>document.addEventListener("scroll",curScrollListener)))}function createOnPageScroll(e,t,n){return o=>{t&&UniViewJSBridge$1.publishHandler(ON_PAGE_SCROLL,{scrollTop:o},e),n&&UniViewJSBridge$1.emit(e+"."+ON_PAGE_SCROLL,{scrollTop:o})}}function initRouter(e){const t=createRouter(createRouterOptions());e.router=t,e.use(t)}const scrollBehavior=(e,t,n)=>{if(n)return n};function createRouterOptions(){return{history:initHistory(),strict:!!__uniConfig.router.strict,routes:__uniRoutes,scrollBehavior:scrollBehavior}}function removeCurrentPages(e=1){const t=getCurrentPages$1(),n=t.length-1,o=n-e;for(let r=n;r>o;r--){const e=t[r].$page;removePage(normalizeRouteKey(e.path,e.id),!1)}}function initHistory(){let{base:e}=__uniConfig.router;"/"===e&&(e="");const t=createWebHistory(e);return t.listen(((e,t,n)=>{"back"===n.direction&&removeCurrentPages(Math.abs(n.delta))})),t}var index$g={install(e){initApp$1(e),initViewPlugin(e),initServicePlugin(e),e.config.warnHandler=warnHandler,initRouter(e)}};function warnHandler(e,t,n){if(t){if("PageMetaHead"===t.$.type.name)return;const e=t.$.parent;if(e&&"PageMeta"===e.type.name)return}const o=[`[Vue warn]: ${e}`];n.length&&o.push("\n",n),console.warn(...o)}let appVm;function getApp$1(){return appVm}function initApp(e){appVm=e,initAppVm(appVm),defineGlobalData(appVm),initService(),initView()}function wrapperComponentSetup(e,{clone:t,init:n,setup:o,before:r}){t&&(e=extend$1({},e)),r&&r(e);const i=e.setup;return e.setup=(e,t)=>{const r=getCurrentInstance();n(r.proxy);const a=o(r);if(i)return i(a||e,t)},e}function setupComponent(e,t){return e&&(e.__esModule||"Module"===e[Symbol.toStringTag])?wrapperComponentSetup(e.default,t):wrapperComponentSetup(e,t)}function setupPage(e){return setupComponent(e,{clone:!0,init:initPage,setup(e){e.$pageInstance=e;const t=decodedQuery(usePageRoute().query);e.attrs.__pageQuery=t,e.proxy.$page.options=t;const n=usePageMeta();return onBeforeMount((()=>{onPageShow(e,n)})),onMounted((()=>{onPageReady(e);const{onReady:t}=e;t&&invokeArrayFns$1(t)})),onBeforeActivate((()=>{if(!e.__isVisible){onPageShow(e,n),e.__isVisible=!0;const{onShow:t}=e;t&&invokeArrayFns$1(t)}})),onBeforeDeactivate((()=>{if(e.__isVisible&&!e.__isUnload){e.__isVisible=!1;const{onHide:t}=e;t&&invokeArrayFns$1(t)}})),subscribeViewMethod(n.id),onBeforeUnmount((()=>{unsubscribeViewMethod(n.id)})),t}})}function setupApp(e){return setupComponent(e,{init:initApp,setup(e){const t=usePageRoute(),n=()=>{injectAppHooks(e);const{onLaunch:n,onShow:o,onPageNotFound:r}=e,i=initLaunchOptions({path:t.path.slice(1)||__uniRoutes[0].meta.route,query:decodedQuery(t.query)});if(n&&invokeArrayFns$1(n,i),o&&invokeArrayFns$1(o,i),!t.matched.length){const e={notFound:!0,openType:"appLaunch",path:t.path,query:{},scene:1001};r&&invokeArrayFns$1(r,e)}};return useRouter().isReady().then(n),onMounted((()=>{window.addEventListener("resize",debounce$1(onResize,50,{setTimeout:setTimeout,clearTimeout:clearTimeout})),window.addEventListener("message",onMessage),document.addEventListener("visibilitychange",onVisibilityChange)})),t.query},before(e){e.mpType="app";const{setup:t}=e,n=()=>(openBlock(),createBlock(LayoutComponent));e.setup=(e,o)=>{const r=t&&t(e,o);return isFunction$1(r)?n:r},e.render=n}})}function onResize(){const{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}=getSystemInfoSync(),r=90===Math.abs(Number(window.orientation))?"landscape":"portrait";UniServiceJSBridge$1.emit(ON_RESIZE,{deviceOrientation:r,size:{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}})}function onMessage(e){isPlainObject$2(e.data)&&e.data.type===WEB_INVOKE_APPSERVICE&&UniServiceJSBridge$1.emit(ON_WEB_INVOKE_APP_SERVICE,e.data.data,e.data.pageId)}function onVisibilityChange(){const{emit:e}=UniServiceJSBridge$1;"visible"===document.visibilityState?e(ON_APP_ENTER_FOREGROUND,getEnterOptions()):e(ON_APP_ENTER_BACKGROUND)}const onWebInvokeAppService=({name:e,arg:t})=>{"postMessage"===e||uni[e](t)},Invoke=once((()=>UniServiceJSBridge$1.on(ON_WEB_INVOKE_APP_SERVICE,onWebInvokeAppService))),props$f={src:{type:String,default:""},fullscreen:{type:Boolean,default:!0}};var index$e=defineBuiltInComponent({inheritAttrs:!1,name:"WebView",props:props$f,setup(e){Invoke();const t=ref(null),n=ref(null),{$attrs:o,$excludeAttrs:r,$listeners:i}=useAttrs({excludeListeners:!0});let a;return(()=>{const r=document.createElement("iframe");watchEffect((()=>{for(const e in o.value)if(hasOwn$1(o.value,e)){const t=o.value[e];r[e]=t}})),watchEffect((()=>{r.src=getRealPath(e.src)})),n.value=r,a=useWebViewSize(t,n,e.fullscreen),e.fullscreen&&document.body.appendChild(r)})(),onMounted((()=>{var o;a(),!e.fullscreen&&(null==(o=t.value)||o.appendChild(n.value))})),onActivated((()=>{e.fullscreen&&(n.value.style.display="block")})),onDeactivated((()=>{e.fullscreen&&(n.value.style.display="none")})),onBeforeUnmount((()=>{e.fullscreen&&document.body.removeChild(n.value)})),()=>createVNode(Fragment,null,[createVNode("uni-web-view",mergeProps({class:e.fullscreen?"uni-webview--fullscreen":""},i.value,r.value,{ref:t}),[createVNode(ResizeSensor,{onResize:a},null,8,["onResize"])],16)])}});function useWebViewSize(e,t,n){return()=>{var o,r;if(n){const{top:n,left:o,width:r,height:i}=e.value.getBoundingClientRect();updateElementStyle(t.value,{position:"absolute",display:"block",border:"0",top:n+"px",left:o+"px",width:r+"px",height:i+"px"})}else updateElementStyle(t.value,{width:(null==(o=e.value)?void 0:o.style.width)||"300px",height:(null==(r=e.value)?void 0:r.style.height)||"150px"})}}const UUID_KEY="__DC_STAT_UUID",storage=window.localStorage||window.sessionStorage||{};let deviceId;function deviceId$1(){if(deviceId=deviceId||storage[UUID_KEY],!deviceId){deviceId=Date.now()+""+Math.floor(1e7*Math.random());try{storage[UUID_KEY]=deviceId}catch(e){}}return deviceId}function IEVersion(){const e=navigator.userAgent,t=e.indexOf("compatible")>-1&&e.indexOf("MSIE")>-1,n=e.indexOf("Edge")>-1&&!t,o=e.indexOf("Trident")>-1&&e.indexOf("rv:11.0")>-1;if(t){new RegExp("MSIE (\\d+\\.\\d+);").test(e);const t=parseFloat(RegExp.$1);return t>6?t:6}return n?-1:o?11:-1}function getBrowserInfo(){let e,t="0",n="",o="phone";const r=navigator.language;if(isIOS$1){e="iOS";const o=ua.match(/OS\s([\w_]+)\slike/);o&&(t=o[1].replace(/_/g,"."));const r=ua.match(/\(([a-zA-Z]+);/);r&&(n=r[1])}else if(isAndroid){e="Android";const o=ua.match(/Android[\s/]([\w\.]+)[;\s]/);o&&(t=o[1]);const r=ua.match(/\((.+?)\)/),i=r?r[1].split(";"):ua.split(" "),a=[/\bAndroid\b/i,/\bLinux\b/i,/\bU\b/i,/^\s?[a-z][a-z]$/i,/^\s?[a-z][a-z]-[a-z][a-z]$/i,/\bwv\b/i,/\/[\d\.,]+$/,/^\s?[\d\.,]+$/,/\bBrowser\b/i,/\bMobile\b/i];for(let e=0;e0){n=t.split("Build")[0].trim();break}let o;for(let e=0;e{const e=window.devicePixelRatio,t=getScreenFix(),n=isLandscape(t),o=getScreenWidth(t,n),r=getScreenHeight(t,n),i=getWindowWidth(o);let a=window.innerHeight;const s=out.top,c={left:out.left,right:i-out.right,top:out.top,bottom:a-out.bottom,width:i-out.left-out.right,height:a-out.top-out.bottom},{top:l,bottom:u}=getWindowOffset();return a-=l,a-=u,{windowTop:l,windowBottom:u,windowWidth:i,windowHeight:a,pixelRatio:e,screenWidth:o,screenHeight:r,statusBarHeight:s,safeArea:c,safeAreaInsets:{top:out.top,right:out.right,bottom:out.bottom,left:out.left},screenTop:r-a}}));let browserInfo,_initBrowserInfo=!0;function initBrowserInfo(){_initBrowserInfo&&(browserInfo=getBrowserInfo())}const getDeviceInfo=defineSyncApi("getDeviceInfo",(()=>{initBrowserInfo();const{deviceBrand:e,deviceModel:t,brand:n,model:o,platform:r,system:i,deviceOrientation:a,deviceType:s}=browserInfo;return{brand:n,deviceBrand:e,deviceModel:t,devicePixelRatio:window.devicePixelRatio,deviceId:deviceId$1(),deviceOrientation:a,deviceType:s,model:o,platform:r,system:i}})),getAppBaseInfo=defineSyncApi("getAppBaseInfo",(()=>{initBrowserInfo();const{theme:e,language:t,browserName:n,browserVersion:o}=browserInfo;return{appId:__uniConfig.appId,appName:__uniConfig.appName,appVersion:__uniConfig.appVersion,appVersionCode:__uniConfig.appVersionCode,appLanguage:getLocale?getLocale():t,enableDebug:!1,hostSDKVersion:void 0,hostPackageName:void 0,hostFontSizeSetting:void 0,hostName:n,hostVersion:o,hostTheme:e,hostLanguage:t,language:t,SDKVersion:"",theme:e,version:""}})),getSystemInfoSync=defineSyncApi("getSystemInfoSync",(()=>{_initBrowserInfo=!0,initBrowserInfo(),_initBrowserInfo=!1;const e=getWindowInfo(),t=getDeviceInfo(),n=getAppBaseInfo();_initBrowserInfo=!0;const{ua:o,browserName:r,browserVersion:i,osname:a,osversion:s}=browserInfo,c=extend$1(e,t,n,{ua:o,browserName:r,browserVersion:i,uniPlatform:"web",uniCompileVersion:__uniConfig.compilerVersion,uniRuntimeVersion:__uniConfig.compilerVersion,fontSizeSetting:void 0,osName:a.toLocaleLowerCase(),osVersion:s,osLanguage:void 0,osTheme:void 0});return delete c.screenTop,delete c.enableDebug,delete c.theme,sortObject(c)})),_isSupport=!!window.navigator.vibrate,vibrateShort=defineAsyncApi(API_VIBRATE_SHORT,((e,{resolve:t,reject:n})=>{_isSupport&&window.navigator.vibrate(15)?t():n("vibrateLong:fail")})),KEY_MAPS={esc:["Esc","Escape"],enter:["Enter"]},KEYS=Object.keys(KEY_MAPS);function useKeyboard(){const e=ref(""),t=ref(!1),n=n=>{if(t.value)return;const o=KEYS.find((e=>-1!==KEY_MAPS[e].indexOf(n.key)));o&&(e.value=o),nextTick((()=>e.value=""))};return onMounted((()=>{document.addEventListener("keyup",n)})),onBeforeUnmount((()=>{document.removeEventListener("keyup",n)})),{key:e,disable:t}}const VNODE_MASK=createVNode("div",{class:"uni-mask"},null,-1);function createRootApp(e,t,n){return t.onClose=(...e)=>(t.visible=!1,n.apply(null,e)),createApp$1(defineComponent({setup:()=>()=>(openBlock(),createBlock(e,t,null,16))}))}function ensureRoot(e){let t=document.getElementById(e);return t||(t=document.createElement("div"),t.id=e,document.body.append(t)),t}function usePopup(e,{onEsc:t,onEnter:n}){const o=ref(e.visible),{key:r,disable:i}=useKeyboard();return watch((()=>e.visible),(e=>o.value=e)),watch((()=>o.value),(e=>i.value=!e)),watchEffect((()=>{const{value:e}=r;"esc"===e?t&&t():"enter"===e&&n&&n()})),o}const props$a={title:{type:String,default:""},content:{type:String,default:""},showCancel:{type:Boolean,default:!0},cancelText:{type:String,default:"Cancel"},cancelColor:{type:String,default:"#000000"},confirmText:{type:String,default:"OK"},confirmColor:{type:String,default:"#007aff"},visible:{type:Boolean},editable:{type:Boolean,default:!1},placeholderText:{type:String,default:""}};var modal=defineComponent({props:props$a,setup(e,{emit:t}){const n=ref(""),o=()=>a.value=!1,r=()=>(o(),t("close","cancel")),i=()=>(o(),t("close","confirm",n.value)),a=usePopup(e,{onEsc:r,onEnter:()=>{!e.editable&&i()}});return()=>{const{title:t,content:o,showCancel:s,confirmText:c,confirmColor:l,editable:u,placeholderText:d}=e;return n.value=o,createVNode(Transition,{name:"uni-fade"},{default:()=>[withDirectives(createVNode("uni-modal",{onTouchmove:onEventPrevent},[VNODE_MASK,createVNode("div",{class:"uni-modal"},[t&&createVNode("div",{class:"uni-modal__hd"},[createVNode("strong",{class:"uni-modal__title",textContent:t},null,8,["textContent"])]),u?createVNode("textarea",{class:"uni-modal__textarea",rows:"1",placeholder:d,value:o,onInput:e=>n.value=e.target.value},null,40,["placeholder","value","onInput"]):createVNode("div",{class:"uni-modal__bd",onTouchmovePassive:onEventStop,textContent:o},null,40,["onTouchmovePassive","textContent"]),createVNode("div",{class:"uni-modal__ft"},[s&&createVNode("div",{style:{color:e.cancelColor},class:"uni-modal__btn uni-modal__btn_default",onClick:r},[e.cancelText],12,["onClick"]),createVNode("div",{style:{color:l},class:"uni-modal__btn uni-modal__btn_primary",onClick:i},[c],12,["onClick"])])])],40,["onTouchmove"]),[[vShow,a.value]])]})}}});let showModalState;const onHidePopupOnce$1=once((()=>{UniServiceJSBridge$1.on("onHidePopup",(()=>showModalState.visible=!1))}));let currentShowModalResolve;function onModalClose(e,t){const n="confirm"===e,o={confirm:n,cancel:"cancel"===e};n&&showModalState.editable&&(o.content=t),currentShowModalResolve&¤tShowModalResolve(o)}const showModal=defineAsyncApi(API_SHOW_MODAL,((e,{resolve:t})=>{onHidePopupOnce$1(),currentShowModalResolve=t,showModalState?(extend$1(showModalState,e),showModalState.visible=!0):(showModalState=reactive(e),nextTick((()=>(createRootApp(modal,showModalState,onModalClose).mount(ensureRoot("u-a-m")),nextTick((()=>showModalState.visible=!0))))))}),ShowModalProtocol,ShowModalOptions);function parseValue(e){const t=["object","string","number","boolean","undefined"];try{const n=isString(e)?JSON.parse(e):e,o=n.type;if(t.indexOf(o)>=0){const e=Object.keys(n);if(2===e.length&&"data"in n){if(typeof n.data===o)return n.data;if("object"===o&&/^\d{4}-\d{2}-\d{2}T\d{2}\:\d{2}\:\d{2}\.\d{3}Z$/.test(n.data))return new Date(n.data)}else if(1===e.length)return""}}catch(n){}}const setStorageSync=defineSyncApi(API_SET_STORAGE_SYNC,((e,t)=>{const n=typeof t,o="string"===n?t:JSON.stringify({type:n,data:t});localStorage.setItem(e,o)})),setStorage=defineAsyncApi(API_SET_STORAGE,(({key:e,data:t},{resolve:n,reject:o})=>{try{setStorageSync(e,t),n()}catch(r){o(r.message)}}));function getStorageOrigin(e){const t=localStorage&&localStorage.getItem(e);if(!isString(t))throw new Error("data not found");let n=t;try{const e=parseValue(JSON.parse(t));void 0!==e&&(n=e)}catch(o){}return n}const getStorageSync=defineSyncApi(API_GET_STORAGE_SYNC,((e,t)=>{try{return getStorageOrigin(e)}catch(n){return""}})),removeStorageSync=defineSyncApi(API_REMOVE_STORAGE,(e=>{localStorage&&localStorage.removeItem(e)})),hideKeyboard=defineAsyncApi(API_HIDE_KEYBOARD,((e,{resolve:t,reject:n})=>{const o=document.activeElement;!o||"TEXTAREA"!==o.tagName&&"INPUT"!==o.tagName||(o.blur(),t())}));function getServiceAddress(){return window.location.protocol+"//"+window.location.host}const getImageInfo=defineAsyncApi(API_GET_IMAGE_INFO,(({src:e},{resolve:t,reject:n})=>{const o=new Image;o.onload=function(){t({width:o.naturalWidth,height:o.naturalHeight,path:0===e.indexOf("/")?getServiceAddress()+e:e})},o.onerror=function(){n()},o.src=e}),GetImageInfoProtocol,GetImageInfoOptions),MIMEType={image:{jpg:"jpeg",jpe:"jpeg",pbm:"x-portable-bitmap",pgm:"x-portable-graymap",pnm:"x-portable-anymap",ppm:"x-portable-pixmap",psd:"vnd.adobe.photoshop",pic:"x-pict",rgb:"x-rgb",svg:"svg+xml",svgz:"svg+xml",tif:"tiff",xif:"vnd.xiff",wbmp:"vnd.wap.wbmp",wdp:"vnd.ms-photo",xbm:"x-xbitmap",ico:"x-icon"},video:{"3g2":"3gpp2","3gp":"3gpp",avi:"x-msvideo",f4v:"x-f4v",flv:"x-flv",jpgm:"jpm",jpgv:"jpeg",m1v:"mpeg",m2v:"mpeg",mpe:"mpeg",mpg:"mpeg",mpg4:"mpeg",m4v:"x-m4v",mkv:"x-matroska",mov:"quicktime",qt:"quicktime",movie:"x-sgi-movie",mp4v:"mp4",ogv:"ogg",smv:"x-smv",wm:"x-ms-wm",wmv:"x-ms-wmv",wmx:"x-ms-wmx",wvx:"x-ms-wvx"}},ALL="all";function isWXEnv(){const e=window.navigator.userAgent.toLowerCase().match(/MicroMessenger/i);return!(!e||"micromessenger"!==e[0])}function _createInput({count:e,sourceType:t,type:n,extension:o}){const r=document.createElement("input");return r.type="file",updateElementStyle(r,{position:"absolute",visibility:"hidden",zIndex:"-999",width:"0",height:"0",top:"0",left:"0"}),r.accept=o.map((e=>{if(n!==ALL){const t=e.replace(".","");return`${n}/${MIMEType[n][t]||t}`}return isWXEnv()?".":0===e.indexOf(".")?e:`.${e}`})).join(","),e&&e>1&&(r.multiple=!0),n!==ALL&&t instanceof Array&&1===t.length&&"camera"===t[0]&&r.setAttribute("capture","camera"),r}addInteractListener();let imageInput=null;const chooseImage=defineAsyncApi(API_CHOOSE_IMAGE,(({count:e,sourceType:t,extension:n},{resolve:o,reject:r})=>{initI18nChooseFileMsgsOnce();const{t:i}=useI18n();imageInput&&(document.body.removeChild(imageInput),imageInput=null),imageInput=_createInput({count:e,sourceType:t,extension:n,type:"image"}),document.body.appendChild(imageInput),imageInput.addEventListener("change",(function(t){const n=t.target,r=[];if(n&&n.files){const t=n.files.length;for(let o=0;o(i=i||fileToUrl(t),i)}),oe))},tempFiles:r})})),imageInput.click(),getInteractStatus()||console.warn(i("uni.chooseFile.notUserActivation"))}),ChooseImageProtocol,ChooseImageOptions);let index$d=0,overflow="";function preventScroll(e){let t=index$d;index$d+=e?1:-1,index$d=Math.max(0,index$d),index$d>0?0===t&&(overflow=document.body.style.overflow,document.body.style.overflow="hidden"):(document.body.style.overflow=overflow,overflow="")}function usePreventScroll(){onMounted((()=>preventScroll(!0))),onUnmounted((()=>preventScroll(!1)))}const props$9={src:{type:String,default:""}};var ImageView=defineSystemComponent({name:"ImageView",props:props$9,setup(e){const t=reactive({direction:"none"});let n=1,o=0,r=0,i=0,a=0;function s({detail:e}){n=e.scale}function c(e){const t=e.target.getBoundingClientRect();o=t.width,r=t.height}function l(e){const t=e.target.getBoundingClientRect();i=t.width,a=t.height,d(e)}function u(e){const s=n*o>i,c=n*r>a;t.direction=s&&c?"all":s?"horizontal":c?"vertical":"none",d(e)}function d(e){"all"!==t.direction&&"horizontal"!==t.direction||e.stopPropagation()}return()=>{const n={position:"absolute",left:"0",top:"0",width:"100%",height:"100%"};return createVNode(MovableArea,{style:n,onTouchstart:withWebEvent(l),onTouchmove:withWebEvent(d),onTouchend:withWebEvent(u)},{default:()=>[createVNode(MovableView,{style:n,direction:t.direction,inertia:!0,scale:!0,"scale-min":"1","scale-max":"4",onScale:s},{default:()=>[createVNode("img",{src:e.src,style:{position:"absolute",left:"50%",top:"50%",transform:"translate(-50%, -50%)",maxHeight:"100%",maxWidth:"100%"},onLoad:c},null,40,["src","onLoad"])]},8,["style","direction","inertia","scale","onScale"])]},8,["style","onTouchstart","onTouchmove","onTouchend"])}}});function _isSlot$2(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!isVNode(e)}const props$8={urls:{type:Array,default:()=>[]},current:{type:[Number,String],default:0}};function getIndex(e){let t="number"==typeof e.current?e.current:e.urls.indexOf(e.current);return t=t<0?0:t,t}var ImagePreview=defineSystemComponent({name:"ImagePreview",props:props$8,emits:["close"],setup(e,{emit:t}){usePreventScroll();const n=ref(null),o=ref(getIndex(e));let r;function i(){r||nextTick((()=>{t("close")}))}function a(e){o.value=e.detail.current}return watch((()=>e.current),(()=>o.value=getIndex(e))),onMounted((()=>{const e=n.value;let t=0,o=0;e.addEventListener("mousedown",(e=>{r=!1,t=e.clientX,o=e.clientY})),e.addEventListener("mouseup",(e=>{(Math.abs(e.clientX-t)>20||Math.abs(e.clientY-o)>20)&&(r=!0)}))})),()=>{let t;return createVNode("div",{ref:n,style:{display:"block",position:"fixed",left:"0",top:"0",width:"100%",height:"100%",zIndex:999,background:"rgba(0,0,0,0.8)"},onClick:i},[createVNode(Swiper,{current:o.value,onChange:a,"indicator-dots":!1,autoplay:!1,style:{position:"absolute",left:"0",top:"0",width:"100%",height:"100%"}},_isSlot$2(t=e.urls.map((e=>createVNode(SwiperItem,null,{default:()=>[createVNode(ImageView,{src:e},null,8,["src"])]}))))?t:{default:()=>[t],_:1},8,["current","onChange"])],8,["onClick"])}}});let state$2=null,imagePreviewInstance;const closePreviewImageView=()=>{state$2=null,nextTick((()=>{null==imagePreviewInstance||imagePreviewInstance.unmount(),imagePreviewInstance=null}))},previewImage=defineAsyncApi(API_PREVIEW_IMAGE,((e,{resolve:t})=>{state$2?extend$1(state$2,e):(state$2=reactive(e),nextTick((()=>{imagePreviewInstance=createRootApp(ImagePreview,state$2,closePreviewImageView),imagePreviewInstance.mount(ensureRoot("u-a-p"))}))),t()}),PreviewImageProtocol,PreviewImageOptions),request$1=defineTaskApi(API_REQUEST,(({url:e,data:t,header:n,method:o,dataType:r,responseType:i,withCredentials:a,timeout:s=__uniConfig.networkTimeout.request},{resolve:c,reject:l})=>{let u=null;const d=normalizeContentType(n);if("GET"!==o)if(isString(t)||t instanceof ArrayBuffer)u=t;else if("json"===d)try{u=JSON.stringify(t)}catch(g){u=t.toString()}else if("urlencoded"===d){const e=[];for(const n in t)hasOwn$1(t,n)&&e.push(encodeURIComponent(n)+"="+encodeURIComponent(t[n]));u=e.join("&")}else u=t.toString();const f=new XMLHttpRequest,p=new RequestTask(f);f.open(o,e);for(const m in n)hasOwn$1(n,m)&&f.setRequestHeader(m,n[m]);const h=setTimeout((function(){f.onload=f.onabort=f.onerror=null,p.abort(),l("timeout")}),s);return f.responseType=i,f.onload=function(){clearTimeout(h);const e=f.status;let t="text"===i?f.responseText:f.response;if("text"===i&&"json"===r)try{t=JSON.parse(t)}catch(g){}c({data:t,statusCode:e,header:parseHeaders(f.getAllResponseHeaders()),cookies:[]})},f.onabort=function(){clearTimeout(h),l("abort")},f.onerror=function(){clearTimeout(h),l()},f.withCredentials=a,f.send(u),p}),RequestProtocol,RequestOptions);function normalizeContentType(e){const t=Object.keys(e).find((e=>"content-type"===e.toLowerCase()));if(!t)return;const n=e[t];return 0===n.indexOf("application/json")?"json":0===n.indexOf("application/x-www-form-urlencoded")?"urlencoded":"string"}class RequestTask{constructor(e){this._xhr=e}abort(){this._xhr&&(this._xhr.abort(),delete this._xhr)}onHeadersReceived(e){throw new Error("Method not implemented.")}offHeadersReceived(e){throw new Error("Method not implemented.")}}function parseHeaders(e){const t={};return e.split(LINEFEED).forEach((e=>{const n=e.match(/(\S+\s*):\s*(.*)/);n&&3===n.length&&(t[n[1]]=n[2])})),t}class DownloadTask{constructor(e){this._callbacks=[],this._xhr=e}onProgressUpdate(e){isFunction$1(e)&&this._callbacks.push(e)}offProgressUpdate(e){const t=this._callbacks.indexOf(e);t>=0&&this._callbacks.splice(t,1)}abort(){this._xhr&&(this._xhr.abort(),delete this._xhr)}onHeadersReceived(e){throw new Error("Method not implemented.")}offHeadersReceived(e){throw new Error("Method not implemented.")}}const downloadFile=defineTaskApi(API_DOWNLOAD_FILE,(({url:e,header:t,timeout:n=__uniConfig.networkTimeout.downloadFile},{resolve:o,reject:r})=>{var i,a=new XMLHttpRequest,s=new DownloadTask(a);return a.open("GET",e,!0),Object.keys(t).forEach((e=>{a.setRequestHeader(e,t[e])})),a.responseType="blob",a.onload=function(){clearTimeout(i);const t=a.status,n=this.response;let r;const s=a.getResponseHeader("content-disposition");if(s){const e=s.match(/filename="?(\S+)"?\b/);e&&(r=e[1])}n.name=r||getFileName(e),o({statusCode:t,tempFilePath:fileToUrl(n)})},a.onabort=function(){clearTimeout(i),r("abort")},a.onerror=function(){clearTimeout(i),r()},a.onprogress=function(e){s._callbacks.forEach((t=>{var n=e.loaded,o=e.total;t({progress:Math.round(n/o*100),totalBytesWritten:n,totalBytesExpectedToWrite:o})}))},a.send(),i=setTimeout((function(){a.onprogress=a.onload=a.onabort=a.onerror=null,s.abort(),r("timeout")}),n),s}),DownloadFileProtocol,DownloadFileOptions);class UploadTask{constructor(e){this._callbacks=[],this._xhr=e}onProgressUpdate(e){isFunction$1(e)&&this._callbacks.push(e)}offProgressUpdate(e){const t=this._callbacks.indexOf(e);t>=0&&this._callbacks.splice(t,1)}abort(){this._isAbort=!0,this._xhr&&(this._xhr.abort(),delete this._xhr)}onHeadersReceived(e){throw new Error("Method not implemented.")}offHeadersReceived(e){throw new Error("Method not implemented.")}}const uploadFile=defineTaskApi(API_UPLOAD_FILE,(({url:e,file:t,filePath:n,name:o,files:r,header:i,formData:a,timeout:s=__uniConfig.networkTimeout.uploadFile},{resolve:c,reject:l})=>{var u=new UploadTask;return isArray$4(r)&&r.length||(r=[{name:o,file:t,uri:n}]),Promise.all(r.map((({file:e,uri:t})=>e instanceof Blob?Promise.resolve(blobToFile(e)):urlToFile(t)))).then((function(t){var n,o=new XMLHttpRequest,d=new FormData;Object.keys(a).forEach((e=>{d.append(e,a[e])})),Object.values(r).forEach((({name:e},n)=>{const o=t[n];d.append(e||"file",o,o.name||`file-${Date.now()}`)})),o.open("POST",e),Object.keys(i).forEach((e=>{o.setRequestHeader(e,i[e])})),o.upload.onprogress=function(e){u._callbacks.forEach((t=>{var n=e.loaded,o=e.total;t({progress:Math.round(n/o*100),totalBytesSent:n,totalBytesExpectedToSend:o})}))},o.onerror=function(){clearTimeout(n),l()},o.onabort=function(){clearTimeout(n),l("abort")},o.onload=function(){clearTimeout(n);const e=o.status;c({statusCode:e,data:o.responseText||o.response})},u._isAbort?l("abort"):(n=setTimeout((function(){o.upload.onprogress=o.onload=o.onabort=o.onerror=null,u.abort(),l("timeout")}),s),o.send(d),u._xhr=o)})).catch((()=>{setTimeout((()=>{l("file error")}),0)})),u}),UploadFileProtocol,UploadFileOptions),navigateBack=defineAsyncApi(API_NAVIGATE_BACK,((e,{resolve:t,reject:n})=>{let o=!0;return!0===invokeHook(ON_BACK_PRESS,{from:e.from||"navigateBack"})&&(o=!1),o?(getApp$1().$router.go(-e.delta),t()):n(ON_BACK_PRESS)}),NavigateBackProtocol,NavigateBackOptions);function navigate({type:e,url:t,events:n},o){const r=getApp$1().$router,{path:i,query:a}=parseUrl(t);return new Promise(((t,s)=>{const c=createPageState(e,o);r["navigateTo"===e?"push":"replace"]({path:i,query:a,state:c,force:!0}).then((o=>{if(isNavigationFailure(o))return s(o.message);if("navigateTo"===e){const e=new EventChannel(c.__id__,n);return r.currentRoute.value.meta.eventChannel=e,t({eventChannel:e})}return t()}))}))}const navigateTo=defineAsyncApi(API_NAVIGATE_TO,(({url:e,events:t},{resolve:n,reject:o})=>navigate({type:API_NAVIGATE_TO,url:e,events:t}).then(n).catch(o)),NavigateToProtocol,NavigateToOptions);function removeLastPage(){const e=getCurrentPage();if(!e)return;const t=e.$page;removePage(normalizeRouteKey(t.path,t.id))}const redirectTo=defineAsyncApi(API_REDIRECT_TO,(({url:e},{resolve:t,reject:n})=>(removeLastPage(),navigate({type:API_REDIRECT_TO,url:e}).then(t).catch(n))),RedirectToProtocol,RedirectToOptions);function removeAllPages(){const e=getCurrentPagesMap().keys();for(const t of e)removePage(t)}const reLaunch=defineAsyncApi(API_RE_LAUNCH,(({url:e},{resolve:t,reject:n})=>(removeAllPages(),navigate({type:API_RE_LAUNCH,url:e}).then(t).catch(n))),ReLaunchProtocol,ReLaunchOptions);function removeNonTabBarPages(){const e=getCurrentPageVm();if(!e)return;const t=getCurrentPagesMap(),n=t.keys();for(const o of n){const e=t.get(o);e.$.__isTabBar?e.$.__isActive=!1:removePage(o)}e.$.__isTabBar&&(e.$.__isVisible=!1,invokeHook(e,ON_HIDE))}function isSamePage(e,t){return e===t.fullPath}function getTabBarPageId(e){const t=getCurrentPagesMap().values();for(const n of t){const t=n.$page;if(isSamePage(e,t))return n.$.__isActive=!0,t.id}}const switchTab=defineAsyncApi(API_SWITCH_TAB,(({url:e},{resolve:t,reject:n})=>(removeNonTabBarPages(),navigate({type:API_SWITCH_TAB,url:e},getTabBarPageId(e)).then(t).catch(n))),SwitchTabProtocol,SwitchTabOptions),props$5={title:{type:String,default:""},icon:{default:"success",validator:e=>-1!==SHOW_TOAST_ICON.indexOf(e)},image:{type:String,default:""},duration:{type:Number,default:1500},mask:{type:Boolean,default:!1},visible:{type:Boolean}},ToastIconClassName="uni-toast__icon";var Toast=defineComponent({name:"Toast",props:props$5,setup(e){initI18nShowToastMsgsOnce(),initI18nShowLoadingMsgsOnce();const{Icon:t}=useToastIcon(e),n=usePopup(e,{});return()=>{const{mask:o,duration:r,title:i,image:a}=e;return createVNode(Transition,{name:"uni-fade"},{default:()=>[withDirectives(createVNode("uni-toast",{"data-duration":r},[o?createVNode("div",{class:"uni-mask",style:"background: transparent;",onTouchmove:onEventPrevent},null,40,["onTouchmove"]):"",a||t.value?createVNode("div",{class:"uni-toast"},[a?createVNode("img",{src:a,class:ToastIconClassName},null,10,["src"]):t.value,createVNode("p",{class:"uni-toast__content"},[i])]):createVNode("div",{class:"uni-sample-toast"},[createVNode("p",{class:"uni-simple-toast__text"},[i])])],8,["data-duration"]),[[vShow,n.value]])]})}}});function useToastIcon(e){return{Icon:computed$1((()=>{switch(e.icon){case"success":return createVNode(createSvgIconVNode(ICON_PATH_SUCCESS_NO_CIRCLE,"#fff",38),{class:ToastIconClassName});case"error":return createVNode(createSvgIconVNode(ICON_PATH_WARN,"#fff",38),{class:ToastIconClassName});case"loading":return createVNode("i",{class:[ToastIconClassName,"uni-loading"]},null,2);default:return null}}))}}let showToastState,showType="",timeoutId;const scope=effectScope();function watchVisible(){scope.run((()=>{watch([()=>showToastState.visible,()=>showToastState.duration],(([e,t])=>{if(e){if(timeoutId&&clearTimeout(timeoutId),"onShowLoading"===showType)return;timeoutId=setTimeout((()=>{hidePopup("onHideToast")}),t)}else timeoutId&&clearTimeout(timeoutId)}))}))}function createToast(e){showToastState?extend$1(showToastState,e):(showToastState=reactive(extend$1(e,{visible:!1})),nextTick((()=>{watchVisible(),UniServiceJSBridge$1.on("onHidePopup",(()=>hidePopup("onHidePopup"))),createRootApp(Toast,showToastState,(()=>{})).mount(ensureRoot("u-a-t"))}))),setTimeout((()=>{showToastState.visible=!0}),10)}const showToast=defineAsyncApi(API_SHOW_TOAST,((e,{resolve:t,reject:n})=>{createToast(e),showType="onShowToast",t()}),ShowToastProtocol,ShowToastOptions),showLoadingDefaultState={icon:"loading",duration:1e8,image:""},showLoading=defineAsyncApi(API_SHOW_LOADING,((e,{resolve:t,reject:n})=>{extend$1(e,showLoadingDefaultState),createToast(e),showType="onShowLoading",t()}),ShowLoadingProtocol,ShowLoadingOptions),hideLoading=defineAsyncApi(API_HIDE_LOADING,((e,{resolve:t,reject:n})=>{hidePopup("onHideLoading"),t()}));function hidePopup(e){const{t:t}=useI18n();if(!showType)return;let n="";if("onHideToast"===e&&"onShowToast"!==showType?n=t("uni.showToast.unpaired"):"onHideLoading"===e&&"onShowLoading"!==showType&&(n=t("uni.showLoading.unpaired")),n)return console.warn(n);showType="",setTimeout((()=>{showToastState.visible=!1}),10)}function updateDocumentTitle(e){document.title=e,UniServiceJSBridge$1.emit(ON_NAVIGATION_BAR_CHANGE,{titleText:e})}function useDocumentTitle(e){function t(){updateDocumentTitle(e.navigationBar.titleText)}watchEffect(t),onActivated(t)}function setNavigationBar(e,t,n,o,r){if(!e)return r("page not found");const{navigationBar:i}=e;switch(t){case API_SET_NAVIGATION_BAR_COLOR:const{frontColor:e,backgroundColor:t,animation:o}=n,{duration:r,timingFunc:a}=o;e&&(i.titleColor="#000000"===e?"#000000":"#ffffff"),t&&(i.backgroundColor=t),i.duration=r+"ms",i.timingFunc=a;break;case API_SHOW_NAVIGATION_BAR_LOADING:i.loading=!0;break;case API_HIDE_NAVIGATION_BAR_LOADING:i.loading=!1;break;case API_SET_NAVIGATION_BAR_TITLE:const{title:s}=n;i.titleText=s}o()}const setNavigationBarColor=defineAsyncApi(API_SET_NAVIGATION_BAR_COLOR,((e,{resolve:t,reject:n})=>{setNavigationBar(getCurrentPageMeta(),API_SET_NAVIGATION_BAR_COLOR,e,t,n)}),SetNavigationBarColorProtocol,SetNavigationBarColorOptions),setNavigationBarTitle=defineAsyncApi(API_SET_NAVIGATION_BAR_TITLE,((e,{resolve:t,reject:n})=>{setNavigationBar(getCurrentPageMeta(),API_SET_NAVIGATION_BAR_TITLE,e,t,n)})),pageScrollTo=defineAsyncApi(API_PAGE_SCROLL_TO,(({scrollTop:e,selector:t,duration:n},{resolve:o})=>{scrollTo(t||e||0,n,!0),o()}),PageScrollToProtocol,PageScrollToOptions),stopPullDownRefresh=defineAsyncApi(API_STOP_PULL_DOWN_REFRESH,((e,{resolve:t})=>{UniServiceJSBridge$1.invokeViewMethod(API_STOP_PULL_DOWN_REFRESH,{},getCurrentPageId()),t()})),setTabBarItemProps=["text","iconPath","iconfont","selectedIconPath","visible"],setTabBarStyleProps=["color","selectedColor","backgroundColor","borderStyle"],setTabBarBadgeProps=["badge","redDot"];function setProperties(e,t,n){t.forEach((function(t){hasOwn$1(n,t)&&(e[t]=n[t])}))}function setTabBar(e,t,n){const o=useTabBar();switch(e){case API_SHOW_TAB_BAR:o.shown=!0;break;case API_HIDE_TAB_BAR:o.shown=!1;break;case API_SET_TAB_BAR_ITEM:const{index:e}=t,n=o.list[e],r=n.pagePath;setProperties(n,setTabBarItemProps,t);const{pagePath:i}=t;if(i){const t=addLeadingSlash(i);t!==r&&normalizeTabBarRoute(e,r,t)}break;case API_SET_TAB_BAR_STYLE:setProperties(o,setTabBarStyleProps,t);break;case API_SHOW_TAB_BAR_RED_DOT:setProperties(o.list[t.index],setTabBarBadgeProps,{badge:"",redDot:!0});break;case API_SET_TAB_BAR_BADGE:setProperties(o.list[t.index],setTabBarBadgeProps,{badge:t.text,redDot:!0});break;case API_HIDE_TAB_BAR_RED_DOT:case API_REMOVE_TAB_BAR_BADGE:setProperties(o.list[t.index],setTabBarBadgeProps,{badge:"",redDot:!1})}n()}const hideTabBar=defineAsyncApi(API_HIDE_TAB_BAR,((e,{resolve:t})=>{setTabBar(API_HIDE_TAB_BAR,e||{},t)})),DEFAULT_CSS_VAR_VALUE="0px";var LayoutComponent=defineSystemComponent({name:"Layout",setup(e,{emit:t}){const n=ref(null);initCssVar();const o=useKeepAliveRoute(),{layoutState:r,windowState:i}=useState();useMaxWidth(r,n);const a=useAppClass(!1);return()=>{const e=createLayoutTsx(o);return createVNode("uni-app",{ref:n,class:a.value},[e,!1],2)}}});function useAppClass(e){const t=ref(!1);return computed$1((()=>({"uni-app--showtabbar":e&&e.value,"uni-app--maxwidth":t.value})))}function initCssVar(){updateCssVar({"--status-bar-height":DEFAULT_CSS_VAR_VALUE,"--top-window-height":DEFAULT_CSS_VAR_VALUE,"--window-left":DEFAULT_CSS_VAR_VALUE,"--window-right":DEFAULT_CSS_VAR_VALUE,"--window-margin":DEFAULT_CSS_VAR_VALUE,"--tab-bar-height":DEFAULT_CSS_VAR_VALUE})}function useMaxWidth(e,t){const n=usePageRoute();function o(){const n=document.body.clientWidth,o=parseInt(String(__uniConfig.globalStyle.maxWidth||Number.MAX_SAFE_INTEGER));let r=!1;r=n>o,r&&o?(e.marginWidth=(n-o)/2,nextTick((()=>{const e=t.value;e&&e.setAttribute("style","max-width:"+o+"px;margin:0 auto;")}))):(e.marginWidth=0,nextTick((()=>{const e=t.value;e&&e.removeAttribute("style")})))}watch([()=>n.path],o),onMounted((()=>{o(),window.addEventListener("resize",o)}))}function useState(){usePageRoute();{const e=reactive({marginWidth:0});return watch((()=>e.marginWidth),(e=>updateCssVar({"--window-margin":e+"px"}))),{layoutState:e,windowState:computed$1((()=>({})))}}}function createLayoutTsx(e,t,n,o,r,i){return createRouterViewVNode(e)}function createRouterViewVNode({routeKey:e,isTabBar:t,routeCache:n}){return createVNode(RouterView,null,{default:withCtx((({Component:o})=>[(openBlock(),createBlock(KeepAlive,{matchBy:"key",cache:n},[(openBlock(),createBlock(resolveDynamicComponent(o),{type:t.value?"tabBar":"",key:e.value}))],1032,["cache"]))])),_:1})}const saveImageToPhotosAlbum=defineAsyncApi(API_SAVE_IMAGE_TO_PHOTOS_ALBUM,createUnsupportedAsyncApi(API_SAVE_IMAGE_TO_PHOTOS_ALBUM)),UniViewJSBridge$1=extend$1(ViewJSBridge,{publishHandler(e,t,n){UniServiceJSBridge$1.subscribeHandler(e,t,n)}}),UniServiceJSBridge$1=extend$1(ServiceJSBridge,{publishHandler(e,t,n){UniViewJSBridge$1.subscribeHandler(e,t,n)}});var PageBody=defineSystemComponent({name:"PageBody",setup:(e,t)=>()=>createVNode(Fragment,null,[!1,createVNode("uni-page-wrapper",null,[createVNode("uni-page-body",null,[renderSlot(t.slots,"default")])],16)])}),index$2=defineSystemComponent({name:"Page",setup(e,t){const n=providePageMeta(getStateId());return n.navigationBar,useDocumentTitle(n),()=>createVNode("uni-page",{"data-page":n.route},[createPageBodyVNode(t)])}});function createPageBodyVNode(e){return openBlock(),createBlock(PageBody,{key:0},{default:withCtx((()=>[renderSlot(e.slots,"page")])),_:3})}function reload(){window.location.reload()}var index$1=defineSystemComponent({name:"AsyncError",setup(){initI18nAsyncMsgsOnce();const{t:e}=useI18n();return()=>createVNode("div",{class:"uni-async-error",onClick:reload},[e("uni.async.error")],8,["onClick"])}});const clazz={class:"uni-async-loading"},loadingVNode=createVNode("i",{class:"uni-loading"},null,-1);var index$3=defineSystemComponent({name:"AsyncLoading",render:()=>(openBlock(),createBlock("div",clazz,[loadingVNode]))});const appId="",appName="",appVersion="1.0.0",appVersionCode="100",debug=!1,nvue={"flex-direction":"column"},networkTimeout={request:6e4,connectSocket:6e4,uploadFile:6e4,downloadFile:6e4},router={mode:"history",base:"/",assets:"assets"},async$1={loading:"AsyncLoading",error:"AsyncError",delay:200,timeout:6e4,suspensible:!0},qqMapKey=void 0,googleMapKey=void 0,aMapKey=void 0,aMapSecurityJsCode=void 0,aMapServiceHost=void 0,sdkConfigs={},locale="",fallbackLocale="";var base="",shadow="",async="";window.uni={},window.wx={},window.rpx2px=upx2px;const locales={},extend=Object.assign;window.__uniConfig=extend({globalStyle:{backgroundColor:"#F8F8F8",navigationBar:{backgroundColor:"#FFFFFF",titleText:"商城",style:"custom",type:"default",titleColor:"#000000"},isNVue:!1},easycom:{custom:{"^(?!z-paging-refresh|z-paging-load-more)z-paging(.*)":"z-paging/components/z-paging$1/z-paging$1.vue","^w-(.*)":"@/components/widgets/$1/$1.vue"}},compilerVersion:"3.5.5"},{appId:appId,appName:appName,appVersion:appVersion,appVersionCode:appVersionCode,async:async$1,debug:debug,networkTimeout:networkTimeout,sdkConfigs:sdkConfigs,qqMapKey:qqMapKey,googleMapKey:googleMapKey,aMapKey:aMapKey,aMapSecurityJsCode:aMapSecurityJsCode,aMapServiceHost:aMapServiceHost,nvue:nvue,locale:locale,fallbackLocale:fallbackLocale,locales:Object.keys(locales).reduce(((e,t)=>{const n=t.replace(/\.\/locale\/(uni-app.)?(.*).json/,"$2");return extend(e[n]||(e[n]={}),locales[t].default),e}),{}),router:router}),window.__uniLayout=window.__uniLayout||{};const AsyncComponentOptions={loadingComponent:index$3,errorComponent:index$1,delay:async$1.delay,timeout:async$1.timeout,suspensible:async$1.suspensible},PagesIndexIndexLoader=()=>__vitePreload((()=>import("./pages-index-index.e6645fe2.js")),["assets/pages-index-index.e6645fe2.js","assets/index.ffcb57f7.css","assets/u-search.b9a60d6f.js","assets/u-search.35cfd0ff.css","assets/u-icon.7d02c0ea.js","assets/u-icon.81bcc25e.css","assets/plugin-vue_export-helper.21dcd24c.js","assets/u-image.48553c64.js","assets/u-image.a7813cd9.css","assets/util.ed3f348a.js","assets/news-card.2caa196e.js","assets/news-card.9d2e9b2e.css","assets/icon_visit.5f8ba9a3.js","assets/tabbar.82f862b0.js","assets/tabbar.0a69452b.css","assets/shop.c6085ded.js"]).then((e=>setupPage(e.default||e))),PagesIndexIndex=defineAsyncComponent(extend({loader:PagesIndexIndexLoader},AsyncComponentOptions)),PagesNewsNewsLoader=()=>__vitePreload((()=>import("./pages-news-news.df583f22.js")),["assets/pages-news-news.df583f22.js","assets/news.6a2c6971.css","assets/u-search.b9a60d6f.js","assets/u-search.35cfd0ff.css","assets/u-icon.7d02c0ea.js","assets/u-icon.81bcc25e.css","assets/plugin-vue_export-helper.21dcd24c.js","assets/tabbar.82f862b0.js","assets/tabbar.0a69452b.css","assets/util.ed3f348a.js","assets/news-card.2caa196e.js","assets/news-card.9d2e9b2e.css","assets/u-image.48553c64.js","assets/u-image.a7813cd9.css","assets/icon_visit.5f8ba9a3.js","assets/z-paging.08aeef91.js","assets/z-paging.7a94f2f9.css","assets/news.fd358f8b.js"]).then((e=>setupPage(e.default||e))),PagesNewsNews=defineAsyncComponent(extend({loader:PagesNewsNewsLoader},AsyncComponentOptions)),PagesUserUserLoader=()=>__vitePreload((()=>import("./pages-user-user.4e61a1bc.js")),["assets/pages-user-user.4e61a1bc.js","assets/user.32ac385a.css","assets/u-avatar.181717cb.js","assets/u-avatar.dfe1b6cb.css","assets/u-icon.7d02c0ea.js","assets/u-icon.81bcc25e.css","assets/plugin-vue_export-helper.21dcd24c.js","assets/u-image.48553c64.js","assets/u-image.a7813cd9.css","assets/util.ed3f348a.js","assets/tabbar.82f862b0.js","assets/tabbar.0a69452b.css","assets/shop.c6085ded.js"]).then((e=>setupPage(e.default||e))),PagesUserUser=defineAsyncComponent(extend({loader:PagesUserUserLoader},AsyncComponentOptions)),PagesLoginLoginLoader=()=>__vitePreload((()=>import("./pages-login-login.0445c254.js")),["assets/pages-login-login.0445c254.js","assets/login.eeb9f64f.css","assets/u-image.48553c64.js","assets/u-image.a7813cd9.css","assets/u-icon.7d02c0ea.js","assets/u-icon.81bcc25e.css","assets/plugin-vue_export-helper.21dcd24c.js","assets/u-form-item.3e4ea6bc.js","assets/u-form-item.f95e2da5.css","assets/u-verification-code.5c5fbd7d.js","assets/u-verification-code.e967c1e9.css","assets/u-form.33540811.js","assets/u-checkbox.23ce3001.js","assets/u-checkbox.c93b1db2.css","assets/u-button.7e0d03be.js","assets/u-button.48af928a.css","assets/account.0621c489.js","assets/appEnums.a2ba827b.js","assets/util.ed3f348a.js"]).then((e=>setupPage(e.default||e))),PagesLoginLogin=defineAsyncComponent(extend({loader:PagesLoginLoginLoader},AsyncComponentOptions)),PagesRegisterRegisterLoader=()=>__vitePreload((()=>import("./pages-register-register.70093c85.js")),["assets/pages-register-register.70093c85.js","assets/register.23c48e00.css","assets/u-form-item.3e4ea6bc.js","assets/u-form-item.f95e2da5.css","assets/u-icon.7d02c0ea.js","assets/u-icon.81bcc25e.css","assets/plugin-vue_export-helper.21dcd24c.js","assets/u-form.33540811.js","assets/u-checkbox.23ce3001.js","assets/u-checkbox.c93b1db2.css","assets/u-button.7e0d03be.js","assets/u-button.48af928a.css","assets/account.0621c489.js","assets/appEnums.a2ba827b.js"]).then((e=>setupPage(e.default||e))),PagesRegisterRegister=defineAsyncComponent(extend({loader:PagesRegisterRegisterLoader},AsyncComponentOptions)),PagesForget_pwdForget_pwdLoader=()=>__vitePreload((()=>import("./pages-forget_pwd-forget_pwd.41216787.js")),["assets/pages-forget_pwd-forget_pwd.41216787.js","assets/forget_pwd.f576be29.css","assets/u-form-item.3e4ea6bc.js","assets/u-form-item.f95e2da5.css","assets/u-icon.7d02c0ea.js","assets/u-icon.81bcc25e.css","assets/plugin-vue_export-helper.21dcd24c.js","assets/u-verification-code.5c5fbd7d.js","assets/u-verification-code.e967c1e9.css","assets/u-form.33540811.js","assets/u-button.7e0d03be.js","assets/u-button.48af928a.css","assets/account.0621c489.js","assets/appEnums.a2ba827b.js"]).then((e=>setupPage(e.default||e))),PagesForget_pwdForget_pwd=defineAsyncComponent(extend({loader:PagesForget_pwdForget_pwdLoader},AsyncComponentOptions)),PagesCustomer_serviceCustomer_serviceLoader=()=>__vitePreload((()=>import("./pages-customer_service-customer_service.7258d3eb.js")),["assets/pages-customer_service-customer_service.7258d3eb.js","assets/u-image.48553c64.js","assets/u-image.a7813cd9.css","assets/u-icon.7d02c0ea.js","assets/u-icon.81bcc25e.css","assets/plugin-vue_export-helper.21dcd24c.js","assets/u-button.7e0d03be.js","assets/u-button.48af928a.css","assets/shop.c6085ded.js"]).then((e=>setupPage(e.default||e))),PagesCustomer_serviceCustomer_service=defineAsyncComponent(extend({loader:PagesCustomer_serviceCustomer_serviceLoader},AsyncComponentOptions)),PagesNews_detailNews_detailLoader=()=>__vitePreload((()=>import("./pages-news_detail-news_detail.e49844c4.js")),["assets/pages-news_detail-news_detail.e49844c4.js","assets/news_detail.70b77abb.css","assets/u-parse.e4319bf9.js","assets/u-parse.93f983af.css","assets/plugin-vue_export-helper.21dcd24c.js","assets/u-icon.7d02c0ea.js","assets/u-icon.81bcc25e.css","assets/icon_visit.5f8ba9a3.js","assets/news.fd358f8b.js"]).then((e=>setupPage(e.default||e))),PagesNews_detailNews_detail=defineAsyncComponent(extend({loader:PagesNews_detailNews_detailLoader},AsyncComponentOptions)),PagesUser_setUser_setLoader=()=>__vitePreload((()=>import("./pages-user_set-user_set.60f42558.js")),["assets/pages-user_set-user_set.60f42558.js","assets/user_set.f2c8c93e.css","assets/u-avatar.181717cb.js","assets/u-avatar.dfe1b6cb.css","assets/u-icon.7d02c0ea.js","assets/u-icon.81bcc25e.css","assets/plugin-vue_export-helper.21dcd24c.js","assets/u-button.7e0d03be.js","assets/u-button.48af928a.css","assets/u-popup.01c27f8b.js","assets/u-popup.3b64afbe.css"]).then((e=>setupPage(e.default||e))),PagesUser_setUser_set=defineAsyncComponent(extend({loader:PagesUser_setUser_setLoader},AsyncComponentOptions)),PagesCollectionCollectionLoader=()=>__vitePreload((()=>import("./pages-collection-collection.699bd116.js")),["assets/pages-collection-collection.699bd116.js","assets/collection.c4157529.css","assets/news-card.2caa196e.js","assets/news-card.9d2e9b2e.css","assets/u-image.48553c64.js","assets/u-image.a7813cd9.css","assets/u-icon.7d02c0ea.js","assets/u-icon.81bcc25e.css","assets/plugin-vue_export-helper.21dcd24c.js","assets/icon_visit.5f8ba9a3.js","assets/z-paging.08aeef91.js","assets/z-paging.7a94f2f9.css","assets/news.fd358f8b.js"]).then((e=>setupPage(e.default||e))),PagesCollectionCollection=defineAsyncComponent(extend({loader:PagesCollectionCollectionLoader},AsyncComponentOptions)),PagesAs_usAs_usLoader=()=>__vitePreload((()=>import("./pages-as_us-as_us.13b5d708.js")),["assets/pages-as_us-as_us.13b5d708.js","assets/as_us.a2f8b82c.css","assets/plugin-vue_export-helper.21dcd24c.js"]).then((e=>setupPage(e.default||e))),PagesAs_usAs_us=defineAsyncComponent(extend({loader:PagesAs_usAs_usLoader},AsyncComponentOptions)),PagesAgreementAgreementLoader=()=>__vitePreload((()=>import("./pages-agreement-agreement.ffbeea36.js")),["assets/pages-agreement-agreement.ffbeea36.js","assets/u-parse.e4319bf9.js","assets/u-parse.93f983af.css","assets/plugin-vue_export-helper.21dcd24c.js"]).then((e=>setupPage(e.default||e))),PagesAgreementAgreement=defineAsyncComponent(extend({loader:PagesAgreementAgreementLoader},AsyncComponentOptions)),PagesChange_passwordChange_passwordLoader=()=>__vitePreload((()=>import("./pages-change_password-change_password.4b4c4e23.js")),["assets/pages-change_password-change_password.4b4c4e23.js","assets/change_password.9d9aa0f3.css","assets/u-form-item.3e4ea6bc.js","assets/u-form-item.f95e2da5.css","assets/u-icon.7d02c0ea.js","assets/u-icon.81bcc25e.css","assets/plugin-vue_export-helper.21dcd24c.js","assets/u-form.33540811.js","assets/u-button.7e0d03be.js","assets/u-button.48af928a.css"]).then((e=>setupPage(e.default||e))),PagesChange_passwordChange_password=defineAsyncComponent(extend({loader:PagesChange_passwordChange_passwordLoader},AsyncComponentOptions)),PagesUser_dataUser_dataLoader=()=>__vitePreload((()=>import("./pages-user_data-user_data.0604926d.js")),["assets/pages-user_data-user_data.0604926d.js","assets/user_data.f731938f.css","assets/u-icon.7d02c0ea.js","assets/u-icon.81bcc25e.css","assets/plugin-vue_export-helper.21dcd24c.js","assets/u-button.7e0d03be.js","assets/u-button.48af928a.css","assets/u-form-item.3e4ea6bc.js","assets/u-form-item.f95e2da5.css","assets/u-popup.01c27f8b.js","assets/u-popup.3b64afbe.css","assets/u-verification-code.5c5fbd7d.js","assets/u-verification-code.e967c1e9.css","assets/appEnums.a2ba827b.js","assets/util.ed3f348a.js"]).then((e=>setupPage(e.default||e))),PagesUser_dataUser_data=defineAsyncComponent(extend({loader:PagesUser_dataUser_dataLoader},AsyncComponentOptions)),PagesSearchSearchLoader=()=>__vitePreload((()=>import("./pages-search-search.90508a69.js")),["assets/pages-search-search.90508a69.js","assets/search.69183a16.css","assets/u-search.b9a60d6f.js","assets/u-search.35cfd0ff.css","assets/u-icon.7d02c0ea.js","assets/u-icon.81bcc25e.css","assets/plugin-vue_export-helper.21dcd24c.js","assets/news-card.2caa196e.js","assets/news-card.9d2e9b2e.css","assets/u-image.48553c64.js","assets/u-image.a7813cd9.css","assets/icon_visit.5f8ba9a3.js","assets/z-paging.08aeef91.js","assets/z-paging.7a94f2f9.css","assets/shop.c6085ded.js"]).then((e=>setupPage(e.default||e))),PagesSearchSearch=defineAsyncComponent(extend({loader:PagesSearchSearchLoader},AsyncComponentOptions)),PagesWebviewWebviewLoader=()=>__vitePreload((()=>import("./pages-webview-webview.889d84ec.js")),[]).then((e=>setupPage(e.default||e))),PagesWebviewWebview=defineAsyncComponent(extend({loader:PagesWebviewWebviewLoader},AsyncComponentOptions)),PagesBind_mobileBind_mobileLoader=()=>__vitePreload((()=>import("./pages-bind_mobile-bind_mobile.9976773a.js")),["assets/pages-bind_mobile-bind_mobile.9976773a.js","assets/bind_mobile.883a800d.css","assets/u-form-item.3e4ea6bc.js","assets/u-form-item.f95e2da5.css","assets/u-icon.7d02c0ea.js","assets/u-icon.81bcc25e.css","assets/plugin-vue_export-helper.21dcd24c.js","assets/u-verification-code.5c5fbd7d.js","assets/u-verification-code.e967c1e9.css","assets/u-form.33540811.js","assets/u-button.7e0d03be.js","assets/u-button.48af928a.css","assets/appEnums.a2ba827b.js"]).then((e=>setupPage(e.default||e))),PagesBind_mobileBind_mobile=defineAsyncComponent(extend({loader:PagesBind_mobileBind_mobileLoader},AsyncComponentOptions)),PagesEmptyEmptyLoader=()=>__vitePreload((()=>import("./pages-empty-empty.1da2761c.js")),["assets/pages-empty-empty.1da2761c.js","assets/plugin-vue_export-helper.21dcd24c.js"]).then((e=>setupPage(e.default||e))),PagesEmptyEmpty=defineAsyncComponent(extend({loader:PagesEmptyEmptyLoader},AsyncComponentOptions)),Uni_modulesVkUviewUiComponentsUAvatarCropperUAvatarCropperLoader=()=>__vitePreload((()=>import("./uni_modules-vk-uview-ui-components-u-avatar-cropper-u-avatar-cropper.c8bb0505.js")),["assets/uni_modules-vk-uview-ui-components-u-avatar-cropper-u-avatar-cropper.c8bb0505.js","assets/u-avatar-cropper.91a54bb1.css","assets/plugin-vue_export-helper.21dcd24c.js"]).then((e=>setupPage(e.default||e))),Uni_modulesVkUviewUiComponentsUAvatarCropperUAvatarCropper=defineAsyncComponent(extend({loader:Uni_modulesVkUviewUiComponentsUAvatarCropperUAvatarCropperLoader},AsyncComponentOptions));function renderPage(e,t){return openBlock(),createBlock(index$2,null,{page:withCtx((()=>[createVNode(e,extend({},t,{ref:"page"}),null,512)])),_:1})}function resolveEasycom(e,t){return isString(e)?t:e}window.__uniRoutes=[{path:"/",alias:"/pages/index/index",component:{setup(){const e=getApp$1(),t=e&&e.$route&&e.$route.query||{};return()=>renderPage(PagesIndexIndex,t)}},loader:PagesIndexIndexLoader,meta:{isQuit:!0,isEntry:!0,navigationBar:{titleText:"首页",type:"default"},isNVue:!1}},{path:"/pages/news/news",component:{setup(){const e=getApp$1(),t=e&&e.$route&&e.$route.query||{};return()=>renderPage(PagesNewsNews,t)}},loader:PagesNewsNewsLoader,meta:{navigationBar:{titleText:"资讯",type:"default"},isNVue:!1}},{path:"/pages/user/user",component:{setup(){const e=getApp$1(),t=e&&e.$route&&e.$route.query||{};return()=>renderPage(PagesUserUser,t)}},loader:PagesUserUserLoader,meta:{navigationBar:{titleText:"个人中心",type:"default"},isNVue:!1}},{path:"/pages/login/login",component:{setup(){const e=getApp$1(),t=e&&e.$route&&e.$route.query||{};return()=>renderPage(PagesLoginLogin,t)}},loader:PagesLoginLoginLoader,meta:{navigationBar:{titleText:"登录",type:"default"},isNVue:!1}},{path:"/pages/register/register",component:{setup(){const e=getApp$1(),t=e&&e.$route&&e.$route.query||{};return()=>renderPage(PagesRegisterRegister,t)}},loader:PagesRegisterRegisterLoader,meta:{navigationBar:{titleText:"注册",type:"default"},isNVue:!1}},{path:"/pages/forget_pwd/forget_pwd",component:{setup(){const e=getApp$1(),t=e&&e.$route&&e.$route.query||{};return()=>renderPage(PagesForget_pwdForget_pwd,t)}},loader:PagesForget_pwdForget_pwdLoader,meta:{navigationBar:{titleText:"忘记密码",type:"default"},isNVue:!1}},{path:"/pages/customer_service/customer_service",component:{setup(){const e=getApp$1(),t=e&&e.$route&&e.$route.query||{};return()=>renderPage(PagesCustomer_serviceCustomer_service,t)}},loader:PagesCustomer_serviceCustomer_serviceLoader,meta:{navigationBar:{titleText:"联系客服",type:"default"},isNVue:!1}},{path:"/pages/news_detail/news_detail",component:{setup(){const e=getApp$1(),t=e&&e.$route&&e.$route.query||{};return()=>renderPage(PagesNews_detailNews_detail,t)}},loader:PagesNews_detailNews_detailLoader,meta:{navigationBar:{titleText:"详情",type:"default"},isNVue:!1}},{path:"/pages/user_set/user_set",component:{setup(){const e=getApp$1(),t=e&&e.$route&&e.$route.query||{};return()=>renderPage(PagesUser_setUser_set,t)}},loader:PagesUser_setUser_setLoader,meta:{navigationBar:{titleText:"个人设置",type:"default"},isNVue:!1}},{path:"/pages/collection/collection",component:{setup(){const e=getApp$1(),t=e&&e.$route&&e.$route.query||{};return()=>renderPage(PagesCollectionCollection,t)}},loader:PagesCollectionCollectionLoader,meta:{navigationBar:{titleText:"我的收藏",type:"default"},isNVue:!1}},{path:"/pages/as_us/as_us",component:{setup(){const e=getApp$1(),t=e&&e.$route&&e.$route.query||{};return()=>renderPage(PagesAs_usAs_us,t)}},loader:PagesAs_usAs_usLoader,meta:{navigationBar:{titleText:"关于我们",type:"default"},isNVue:!1}},{path:"/pages/agreement/agreement",component:{setup(){const e=getApp$1(),t=e&&e.$route&&e.$route.query||{};return()=>renderPage(PagesAgreementAgreement,t)}},loader:PagesAgreementAgreementLoader,meta:{navigationBar:{titleText:"协议",type:"default"},isNVue:!1}},{path:"/pages/change_password/change_password",component:{setup(){const e=getApp$1(),t=e&&e.$route&&e.$route.query||{};return()=>renderPage(PagesChange_passwordChange_password,t)}},loader:PagesChange_passwordChange_passwordLoader,meta:{navigationBar:{titleText:"修改密码",type:"default"},isNVue:!1}},{path:"/pages/user_data/user_data",component:{setup(){const e=getApp$1(),t=e&&e.$route&&e.$route.query||{};return()=>renderPage(PagesUser_dataUser_data,t)}},loader:PagesUser_dataUser_dataLoader,meta:{navigationBar:{titleText:"个人资料",type:"default"},isNVue:!1}},{path:"/pages/search/search",component:{setup(){const e=getApp$1(),t=e&&e.$route&&e.$route.query||{};return()=>renderPage(PagesSearchSearch,t)}},loader:PagesSearchSearchLoader,meta:{navigationBar:{titleText:"搜索",type:"default"},isNVue:!1}},{path:"/pages/webview/webview",component:{setup(){const e=getApp$1(),t=e&&e.$route&&e.$route.query||{};return()=>renderPage(PagesWebviewWebview,t)}},loader:PagesWebviewWebviewLoader,meta:{navigationBar:{},isNVue:!1}},{path:"/pages/bind_mobile/bind_mobile",component:{setup(){const e=getApp$1(),t=e&&e.$route&&e.$route.query||{};return()=>renderPage(PagesBind_mobileBind_mobile,t)}},loader:PagesBind_mobileBind_mobileLoader,meta:{navigationBar:{titleText:"绑定手机号",type:"default"},isNVue:!1}},{path:"/pages/empty/empty",component:{setup(){const e=getApp$1(),t=e&&e.$route&&e.$route.query||{};return()=>renderPage(PagesEmptyEmpty,t)}},loader:PagesEmptyEmptyLoader,meta:{navigationBar:{style:"custom",type:"default"},isNVue:!1}},{path:"/uni_modules/vk-uview-ui/components/u-avatar-cropper/u-avatar-cropper",component:{setup(){const e=getApp$1(),t=e&&e.$route&&e.$route.query||{};return()=>renderPage(Uni_modulesVkUviewUiComponentsUAvatarCropperUAvatarCropper,t)}},loader:Uni_modulesVkUviewUiComponentsUAvatarCropperUAvatarCropperLoader,meta:{navigationBar:{backgroundColor:"#000000",titleText:"头像裁剪",type:"default"},isNVue:!1}}].map((e=>(e.meta.route=(e.alias||e.path).slice(1),e)));const createHook=e=>(t,n=getCurrentInstance())=>{!isInSSRComponentSetup&&injectHook(e,t,n)},onShow=createHook(ON_SHOW),onLaunch=createHook(ON_LAUNCH),onLoad=createHook(ON_LOAD),onUnload=createHook(ON_UNLOAD);var isVue2=!1;
/*!
* pinia v2.0.20
* (c) 2022 Eduardo San Martin Morote
@@ -17,4 +17,4 @@ var __defProp=Object.defineProperty,__defNormalProp=(e,t,n)=>t in e?__defProp(e,
* Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
* http://opensource.org/licenses/MIT
* 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(module,exports){var n;commonjsGlobal||self,n=function(){return function(){var __webpack_modules__={4264:function(e,t,n){e.exports=n(7588)},5036:function(e,t,n){n(1719),n(5677),n(6394),n(5334),n(6969),n(2021),n(8328),n(2129);var o=n(1287);e.exports=o.Promise},2582:function(e,t,n){n(1646),n(6394),n(2004),n(462),n(8407),n(2429),n(1172),n(8288),n(1274),n(8201),n(6626),n(3211),n(9952),n(15),n(9831),n(7521),n(2972),n(6956),n(5222),n(2257);var o=n(1287);e.exports=o.Symbol},8257:function(e,t,n){var o=n(7583),r=n(9212),i=n(5637),a=o.TypeError;e.exports=function(e){if(r(e))return e;throw a(i(e)+" is not a function")}},1186:function(e,t,n){var o=n(7583),r=n(2097),i=n(5637),a=o.TypeError;e.exports=function(e){if(r(e))return e;throw a(i(e)+" is not a constructor")}},9882:function(e,t,n){var o=n(7583),r=n(9212),i=o.String,a=o.TypeError;e.exports=function(e){if("object"==typeof e||r(e))return e;throw a("Can't set "+i(e)+" as a prototype")}},6288:function(e,t,n){var o=n(3649),r=n(3590),i=n(4615),a=o("unscopables"),s=Array.prototype;null==s[a]&&i.f(s,a,{configurable:!0,value:r(null)}),e.exports=function(e){s[a][e]=!0}},4761:function(e,t,n){var o=n(7583),r=n(2447),i=o.TypeError;e.exports=function(e,t){if(r(t,e))return e;throw i("Incorrect invocation")}},2569:function(e,t,n){var o=n(7583),r=n(794),i=o.String,a=o.TypeError;e.exports=function(e){if(r(e))return e;throw a(i(e)+" is not an object")}},5766:function(e,t,n){var o=n(2977),r=n(6782),i=n(1825),a=function(e){return function(t,n,a){var s,c=o(t),l=i(c),u=r(a,l);if(e&&n!=n){for(;l>u;)if((s=c[u++])!=s)return!0}else for(;l>u;u++)if((e||u in c)&&c[u]===n)return e||u||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},4805:function(e,t,n){var o=n(2938),r=n(7386),i=n(5044),a=n(1324),s=n(1825),c=n(4822),l=r([].push),u=function(e){var t=1==e,n=2==e,r=3==e,u=4==e,d=6==e,f=7==e,p=5==e||d;return function(h,g,m,v){for(var _,y,b=a(h),w=i(b),T=o(g,m),E=s(w),S=0,C=v||c,O=t?C(h,E):n||f?C(h,0):void 0;E>S;S++)if((p||S in w)&&(y=T(_=w[S],S,b),e))if(t)O[S]=y;else if(y)switch(e){case 3:return!0;case 5:return _;case 6:return S;case 2:l(O,_)}else switch(e){case 4:return!1;case 7:l(O,_)}return d?-1:r||u?u:O}};e.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterReject:u(7)}},9269:function(e,t,n){var o=n(6544),r=n(3649),i=n(4061),a=r("species");e.exports=function(e){return i>=51||!o((function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},4546:function(e,t,n){var o=n(7583),r=n(6782),i=n(1825),a=n(5999),s=o.Array,c=Math.max;e.exports=function(e,t,n){for(var o=i(e),l=r(t,o),u=r(void 0===n?o:n,o),d=s(c(u-l,0)),f=0;l0&&o[0]<4?1:+(o[0]+o[1])),!r&&a&&(!(o=a.match(/Edge\/(\d+)/))||o[1]>=74)&&(o=a.match(/Chrome\/(\d+)/))&&(r=+o[1]),e.exports=r},5690:function(e){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},1178:function(e,t,n){var o=n(6544),r=n(4677);e.exports=!o((function(){var e=Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",r(1,7)),7!==e.stack)}))},7263:function(e,t,n){var o=n(7583),r=n(6683).f,i=n(57),a=n(1270),s=n(460),c=n(3478),l=n(4451);e.exports=function(e,t){var n,u,d,f,p,h=e.target,g=e.global,m=e.stat;if(n=g?o:m?o[h]||s(h,{}):(o[h]||{}).prototype)for(u in t){if(f=t[u],d=e.noTargetGet?(p=r(n,u))&&p.value:n[u],!l(g?u:h+(m?".":"#")+u,e.forced)&&void 0!==d){if(typeof f==typeof d)continue;c(f,d)}(e.sham||d&&d.sham)&&i(f,"sham",!0),a(n,u,f,e)}}},6544:function(e){e.exports=function(e){try{return!!e()}catch(t){return!0}}},1611:function(e,t,n){var o=n(8987),r=Function.prototype,i=r.apply,a=r.call;e.exports="object"==typeof Reflect&&Reflect.apply||(o?a.bind(i):function(){return a.apply(i,arguments)})},2938:function(e,t,n){var o=n(7386),r=n(8257),i=n(8987),a=o(o.bind);e.exports=function(e,t){return r(e),void 0===t?e:i?a(e,t):function(){return e.apply(t,arguments)}}},8987:function(e,t,n){var o=n(6544);e.exports=!o((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},8262:function(e,t,n){var o=n(8987),r=Function.prototype.call;e.exports=o?r.bind(r):function(){return r.apply(r,arguments)}},4340:function(e,t,n){var o=n(8494),r=n(2870),i=Function.prototype,a=o&&Object.getOwnPropertyDescriptor,s=r(i,"name"),c=s&&"something"===function(){}.name,l=s&&(!o||o&&a(i,"name").configurable);e.exports={EXISTS:s,PROPER:c,CONFIGURABLE:l}},7386:function(e,t,n){var o=n(8987),r=Function.prototype,i=r.bind,a=r.call,s=o&&i.bind(a,a);e.exports=o?function(e){return e&&s(e)}:function(e){return e&&function(){return a.apply(e,arguments)}}},5897:function(e,t,n){var o=n(7583),r=n(9212),i=function(e){return r(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?i(o[e]):o[e]&&o[e][t]}},8272:function(e,t,n){var o=n(3058),r=n(911),i=n(339),a=n(3649)("iterator");e.exports=function(e){if(null!=e)return r(e,a)||r(e,"@@iterator")||i[o(e)]}},6307:function(e,t,n){var o=n(7583),r=n(8262),i=n(8257),a=n(2569),s=n(5637),c=n(8272),l=o.TypeError;e.exports=function(e,t){var n=arguments.length<2?c(e):t;if(i(n))return a(r(n,e));throw l(s(e)+" is not iterable")}},911:function(e,t,n){var o=n(8257);e.exports=function(e,t){var n=e[t];return null==n?void 0:o(n)}},7583:function(e,t,n){var o=function(e){return e&&e.Math==Math&&e};e.exports=o("object"==typeof globalThis&&globalThis)||o("object"==typeof window&&window)||o("object"==typeof self&&self)||o("object"==typeof n.g&&n.g)||function(){return this}()||Function("return this")()},2870:function(e,t,n){var o=n(7386),r=n(1324),i=o({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(r(e),t)}},4639:function(e){e.exports={}},2716:function(e,t,n){var o=n(7583);e.exports=function(e,t){var n=o.console;n&&n.error&&(1==arguments.length?n.error(e):n.error(e,t))}},482:function(e,t,n){var o=n(5897);e.exports=o("document","documentElement")},275:function(e,t,n){var o=n(8494),r=n(6544),i=n(6668);e.exports=!o&&!r((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},5044:function(e,t,n){var o=n(7583),r=n(7386),i=n(6544),a=n(9624),s=o.Object,c=r("".split);e.exports=i((function(){return!s("z").propertyIsEnumerable(0)}))?function(e){return"String"==a(e)?c(e,""):s(e)}:s},9734:function(e,t,n){var o=n(7386),r=n(9212),i=n(1314),a=o(Function.toString);r(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),e.exports=i.inspectSource},4402:function(e,t,n){var o=n(794),r=n(57);e.exports=function(e,t){o(t)&&"cause"in t&&r(e,"cause",t.cause)}},2743:function(e,t,n){var o,r,i,a=n(9491),s=n(7583),c=n(7386),l=n(794),u=n(57),d=n(2870),f=n(1314),p=n(9137),h=n(4639),g="Object already initialized",m=s.TypeError,v=s.WeakMap;if(a||f.state){var _=f.state||(f.state=new v),y=c(_.get),b=c(_.has),w=c(_.set);o=function(e,t){if(b(_,e))throw new m(g);return t.facade=e,w(_,e,t),t},r=function(e){return y(_,e)||{}},i=function(e){return b(_,e)}}else{var T=p("state");h[T]=!0,o=function(e,t){if(d(e,T))throw new m(g);return t.facade=e,u(e,T,t),t},r=function(e){return d(e,T)?e[T]:{}},i=function(e){return d(e,T)}}e.exports={set:o,get:r,has:i,enforce:function(e){return i(e)?r(e):o(e,{})},getterFor:function(e){return function(t){var n;if(!l(t)||(n=r(t)).type!==e)throw m("Incompatible receiver, "+e+" required");return n}}}},114:function(e,t,n){var o=n(3649),r=n(339),i=o("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||a[i]===e)}},4521:function(e,t,n){var o=n(9624);e.exports=Array.isArray||function(e){return"Array"==o(e)}},9212:function(e){e.exports=function(e){return"function"==typeof e}},2097:function(e,t,n){var o=n(7386),r=n(6544),i=n(9212),a=n(3058),s=n(5897),c=n(9734),l=function(){},u=[],d=s("Reflect","construct"),f=/^\s*(?:class|function)\b/,p=o(f.exec),h=!f.exec(l),g=function(e){if(!i(e))return!1;try{return d(l,u,e),!0}catch(t){return!1}},m=function(e){if(!i(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return h||!!p(f,c(e))}catch(t){return!0}};m.sham=!0,e.exports=!d||r((function(){var e;return g(g.call)||!g(Object)||!g((function(){e=!0}))||e}))?m:g},4451:function(e,t,n){var o=n(6544),r=n(9212),i=/#|\.prototype\./,a=function(e,t){var n=c[s(e)];return n==u||n!=l&&(r(t)?o(t):!!t)},s=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},c=a.data={},l=a.NATIVE="N",u=a.POLYFILL="P";e.exports=a},794:function(e,t,n){var o=n(9212);e.exports=function(e){return"object"==typeof e?null!==e:o(e)}},6268:function(e){e.exports=!1},5871:function(e,t,n){var o=n(7583),r=n(5897),i=n(9212),a=n(2447),s=n(7786),c=o.Object;e.exports=s?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return i(t)&&a(t.prototype,c(e))}},4026:function(e,t,n){var o=n(7583),r=n(2938),i=n(8262),a=n(2569),s=n(5637),c=n(114),l=n(1825),u=n(2447),d=n(6307),f=n(8272),p=n(7093),h=o.TypeError,g=function(e,t){this.stopped=e,this.result=t},m=g.prototype;e.exports=function(e,t,n){var o,v,_,y,b,w,T,E=n&&n.that,S=!(!n||!n.AS_ENTRIES),C=!(!n||!n.IS_ITERATOR),O=!(!n||!n.INTERRUPTED),I=r(t,E),A=function(e){return o&&p(o,"normal",e),new g(!0,e)},x=function(e){return S?(a(e),O?I(e[0],e[1],A):I(e[0],e[1])):O?I(e,A):I(e)};if(C)o=e;else{if(!(v=f(e)))throw h(s(e)+" is not iterable");if(c(v)){for(_=0,y=l(e);y>_;_++)if((b=x(e[_]))&&u(m,b))return b;return new g(!1)}o=d(e,v)}for(w=o.next;!(T=i(w,o)).done;){try{b=x(T.value)}catch(P){p(o,"throw",P)}if("object"==typeof b&&b&&u(m,b))return b}return new g(!1)}},7093:function(e,t,n){var o=n(8262),r=n(2569),i=n(911);e.exports=function(e,t,n){var a,s;r(e);try{if(!(a=i(e,"return"))){if("throw"===t)throw n;return n}a=o(a,e)}catch(c){s=!0,a=c}if("throw"===t)throw n;if(s)throw a;return r(a),n}},2365:function(e,t,n){var o,r,i,a=n(6544),s=n(9212),c=n(3590),l=n(729),u=n(1270),d=n(3649),f=n(6268),p=d("iterator"),h=!1;[].keys&&("next"in(i=[].keys())?(r=l(l(i)))!==Object.prototype&&(o=r):h=!0),null==o||a((function(){var e={};return o[p].call(e)!==e}))?o={}:f&&(o=c(o)),s(o[p])||u(o,p,(function(){return this})),e.exports={IteratorPrototype:o,BUGGY_SAFARI_ITERATORS:h}},339:function(e){e.exports={}},1825:function(e,t,n){var o=n(97);e.exports=function(e){return o(e.length)}},2095:function(e,t,n){var o,r,i,a,s,c,l,u,d=n(7583),f=n(2938),p=n(6683).f,h=n(8117).set,g=n(7020),m=n(3256),v=n(6846),_=n(5354),y=d.MutationObserver||d.WebKitMutationObserver,b=d.document,w=d.process,T=d.Promise,E=p(d,"queueMicrotask"),S=E&&E.value;S||(o=function(){var e,t;for(_&&(e=w.domain)&&e.exit();r;){t=r.fn,r=r.next;try{t()}catch(n){throw r?a():i=void 0,n}}i=void 0,e&&e.enter()},g||_||v||!y||!b?!m&&T&&T.resolve?((l=T.resolve(void 0)).constructor=T,u=f(l.then,l),a=function(){u(o)}):_?a=function(){w.nextTick(o)}:(h=f(h,d),a=function(){h(o)}):(s=!0,c=b.createTextNode(""),new y(o).observe(c,{characterData:!0}),a=function(){c.data=s=!s})),e.exports=S||function(e){var t={fn:e,next:void 0};i&&(i.next=t),r||(r=t,a()),i=t}},783:function(e,t,n){var o=n(7583);e.exports=o.Promise},8640:function(e,t,n){var o=n(4061),r=n(6544);e.exports=!!Object.getOwnPropertySymbols&&!r((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&o&&o<41}))},9491:function(e,t,n){var o=n(7583),r=n(9212),i=n(9734),a=o.WeakMap;e.exports=r(a)&&/native code/.test(i(a))},5084:function(e,t,n){var o=n(8257),r=function(e){var t,n;this.promise=new e((function(e,o){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=o})),this.resolve=o(t),this.reject=o(n)};e.exports.f=function(e){return new r(e)}},2764:function(e,t,n){var o=n(8320);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:o(e)}},3590:function(e,t,n){var o,r=n(2569),i=n(8728),a=n(5690),s=n(4639),c=n(482),l=n(6668),u=n(9137)("IE_PROTO"),d=function(){},f=function(e){return"
-
+
+