diff --git a/compontent/public/huakuai.vue b/compontent/public/huakuai.vue new file mode 100644 index 0000000..927c6ce --- /dev/null +++ b/compontent/public/huakuai.vue @@ -0,0 +1,263 @@ + + + + + + \ No newline at end of file diff --git a/compontent/useWeChatAuth.js b/compontent/useWeChatAuth.js index 7a74a7c..00582cb 100644 --- a/compontent/useWeChatAuth.js +++ b/compontent/useWeChatAuth.js @@ -19,7 +19,6 @@ export function useWeChatAuth() { `&scope=${scope}` + `&state=${state}` + `#wechat_redirect`; - // console.log("????",scope) window.location.href = url; } diff --git a/main.js b/main.js index 324d89f..3bf9172 100644 --- a/main.js +++ b/main.js @@ -3,6 +3,8 @@ import uView from './uni_modules/vk-uview-ui'; // #ifndef VUE3 import Vue from 'vue' import './uni.promisify.adaptor' +import uView from './uni_modules/vk-uview-ui'; +Vue.use(uView); Vue.config.productionTip = false App.mpType = 'app' const app = new Vue({ diff --git a/pages.json b/pages.json index 2f09a7a..c808535 100644 --- a/pages.json +++ b/pages.json @@ -1,29 +1,41 @@ { "pages": [ { - "path": "pages/index/index", + "path": "pages/login/index", "style": { "navigationBarTitleText": "登录" } }, { - "path": "pages/index/phonebumber", + "path": "pages/login/phonebumber", "style": { "navigationBarTitleText": "登录" } }, { - "path": "pages/index/code", + "path": "pages/login/code", "style": { "navigationBarTitleText": "登录" } }, { - "path": "pages/index/callback", + "path": "pages/login/callback", "style": { "navigationBarTitleText": "登录" } }, + { + "path": "pages/login/protocol", + "style": { + "navigationBarTitleText": "护理单元使用条款" + } + }, + { + "path": "pages/index/index", + "style": { + "navigationBarTitleText": "首页" + } + }, { "path": "pages/map/index", "style": { diff --git a/pages/index/callback.vue b/pages/index/callback.vue deleted file mode 100644 index 0a5d7ab..0000000 --- a/pages/index/callback.vue +++ /dev/null @@ -1,151 +0,0 @@ - - - - - \ No newline at end of file diff --git a/pages/index/code.vue b/pages/index/code.vue deleted file mode 100644 index b5323d7..0000000 --- a/pages/index/code.vue +++ /dev/null @@ -1,282 +0,0 @@ - - - - - \ No newline at end of file diff --git a/pages/index/index.vue b/pages/index/index.vue index 59174db..95cf083 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -1,30 +1,14 @@ @@ -32,27 +41,30 @@ ref } from 'vue'; + import huakuai from "@/compontent/public/huakuai.vue" - const jumpto = () =>{ + const huakuaiOpen = ref(false); + + const jumpto = () => { uni.navigateTo({ - url: `/pages/index/code?phonenumber=${phonenumber.value}` + url: `/pages/login/code?phonenumber=${phonenumber.value}` }); } //检测是不是11位手机号 function is11DigitNumber(value) { - return /^\d{11}$/.test(value.toString()); + return /^\d{11}$/.test(value.toString()); } const phonenumber = ref(""); const canClick = ref(false); - const isRight = (res) =>{ - console.log("????",res.detail.value) - if(is11DigitNumber(res.detail.value)){ + const isRight = (res) => { + console.log("????", res.detail.value) + if (is11DigitNumber(res.detail.value)) { phonenumber.value = res.detail.value canClick.value = true; - }else{ + } else { canClick.value = false; } - + } @@ -60,26 +72,26 @@ .login-container { display: flex; flex-direction: column; - align-items: center; - height: 100vh; + min-height: 100vh; width: 100%; background-color: rgb(239, 241, 252); position: relative; .title { - display: flex; - margin-top: 120rpx; + margin-top: 70rpx; align-items: center; .title-imge { - width: 110rpx; - height: 110rpx; - margin-right: 30rpx; + width: 100rpx; + height: 105rpx; + margin-left: 100rpx; } .title-font { font-size: 35rpx; - font-weight: 500; + font-weight: 600; + margin-left: 105rpx; + margin-top: 10rpx; } } @@ -93,19 +105,18 @@ .old-imge { position: absolute; - left: 50%; - transform: translate(-50%, -50%); - top: 550rpx; + right: 30rpx; + top: 400rpx; width: 400rpx; height: 400rpx; } .under-container { - position: absolute; + position: fixed; left: 0; bottom: 0; width: 100%; - height: 680rpx; + height: 45vh; background-color: #fff; border-top-left-radius: 50rpx; border-top-right-radius: 50rpx; @@ -151,12 +162,13 @@ .under-container-title { display: flex; margin-top: 60rpx; - margin-bottom: 30rpx; + margin-bottom: 60rpx; align-items: center; justify-content: center; font-size: 25rpx; font-weight: 500; width: 100%; + .radio-circle-blue { color: #0083FF; margin-top: 3rpx; @@ -167,7 +179,8 @@ margin-left: 18rpx; margin-top: 3rpx; } - .under-container-input{ + + .under-container-input { width: 80%; display: flex; align-items: center; @@ -176,7 +189,8 @@ color: #5A607F; font-size: 33rpx; border: 2rpx solid #C0C5D9; - .input-left{ + + .input-left { margin: 0 30rpx; } } @@ -189,7 +203,7 @@ align-items: center; height: 100rpx; border-radius: 43rpx; - background-color: rgb(188,188,188); + background-color: rgb(188, 188, 188); color: #fff; font-size: 33rpx; margin-bottom: 30rpx; @@ -207,6 +221,7 @@ margin-bottom: 30rpx; border: 2rpx solid #C0C5D9; } + .button-blue { width: 80%; display: flex; @@ -219,6 +234,7 @@ font-size: 33rpx; margin-bottom: 30rpx; } + .bubble { transition: opacity 1s ease-out; position: absolute; @@ -252,4 +268,17 @@ opacity: 0; } + .bg-mask { + position: fixed; + top: 0; + left: 0; + width: 100vw; + height: 100vh; + background: rgba(0, 0, 0, 0.3); + backdrop-filter: blur(5rpx); + z-index: 998; + display: flex; + justify-content: center; + align-items: center; + } \ No newline at end of file diff --git a/pages/login/protocol.vue b/pages/login/protocol.vue new file mode 100644 index 0000000..928ba0a --- /dev/null +++ b/pages/login/protocol.vue @@ -0,0 +1,87 @@ + + + + + \ No newline at end of file diff --git a/static/login/0.png b/static/login/0.png new file mode 100644 index 0000000..f9e7677 Binary files /dev/null and b/static/login/0.png differ diff --git a/static/login/1.png b/static/login/1.png new file mode 100644 index 0000000..f494ea7 Binary files /dev/null and b/static/login/1.png differ diff --git a/static/login/2.png b/static/login/2.png new file mode 100644 index 0000000..428d63d Binary files /dev/null and b/static/login/2.png differ diff --git a/static/login/3.png b/static/login/3.png new file mode 100644 index 0000000..a4a24f1 Binary files /dev/null and b/static/login/3.png differ diff --git a/unpackage/dist/build/web/assets/0-DC0meffC.png b/unpackage/dist/build/web/assets/0-DC0meffC.png new file mode 100644 index 0000000..f55b086 Binary files /dev/null and b/unpackage/dist/build/web/assets/0-DC0meffC.png differ diff --git a/unpackage/dist/build/web/assets/1-BjS2h1iy.png b/unpackage/dist/build/web/assets/1-BjS2h1iy.png new file mode 100644 index 0000000..133d709 Binary files /dev/null and b/unpackage/dist/build/web/assets/1-BjS2h1iy.png differ diff --git a/unpackage/dist/build/web/assets/callback-Do3UYDt7.css b/unpackage/dist/build/web/assets/callback-Do3UYDt7.css new file mode 100644 index 0000000..e13e870 --- /dev/null +++ b/unpackage/dist/build/web/assets/callback-Do3UYDt7.css @@ -0,0 +1 @@ +.callback-container[data-v-4644647c]{padding:24px}.avatar[data-v-4644647c]{width:80px;height:80px;border-radius:40px;margin-top:12px} diff --git a/unpackage/dist/build/web/assets/callback-k9HmfsB1.css b/unpackage/dist/build/web/assets/callback-k9HmfsB1.css deleted file mode 100644 index 9ac574d..0000000 --- a/unpackage/dist/build/web/assets/callback-k9HmfsB1.css +++ /dev/null @@ -1 +0,0 @@ -.callback-container[data-v-0b73e663]{padding:24px}.avatar[data-v-0b73e663]{width:80px;height:80px;border-radius:40px;margin-top:12px} diff --git a/unpackage/dist/build/web/assets/code-CLjXvbSV.css b/unpackage/dist/build/web/assets/code-CLjXvbSV.css deleted file mode 100644 index 31af707..0000000 --- a/unpackage/dist/build/web/assets/code-CLjXvbSV.css +++ /dev/null @@ -1 +0,0 @@ -.login-container[data-v-b906b8c8]{display:flex;flex-direction:column;align-items:center;height:100vh;width:100%;background-color:#eff1fc;position:relative}.login-container .title[data-v-b906b8c8]{display:flex;margin-top:3.75rem;align-items:center}.login-container .title .title-imge[data-v-b906b8c8]{width:3.4375rem;height:3.4375rem;margin-right:.9375rem}.login-container .title .title-font[data-v-b906b8c8]{font-size:1.09375rem;font-weight:500}.login-container .photo-imge[data-v-b906b8c8]{position:absolute;top:3.75rem;left:0;width:100%;height:34.375rem}.login-container .old-imge[data-v-b906b8c8]{position:absolute;left:50%;transform:translate(-50%,-50%);top:17.1875rem;width:12.5rem;height:12.5rem}.login-container .under-container[data-v-b906b8c8]{position:absolute;left:0;bottom:0;width:100%;height:21.25rem;background-color:#fff;border-top-left-radius:1.5625rem;border-top-right-radius:1.5625rem;box-shadow:.3125rem .3125rem .625rem rgba(0,0,0,.1);display:flex;flex-direction:column;color:#5a607f}.login-container .under-container .radio-circle[data-v-b906b8c8],.login-container .under-container .radio-circle-target[data-v-b906b8c8]{position:relative;margin-top:.0625rem;width:1.25rem;height:1.25rem;border-radius:50%;border:.0625rem solid #C0C5D9;background-color:transparent}.login-container .under-container .radio-circle-target[data-v-b906b8c8]:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:.9375rem;height:.9375rem;background-color:#00c9ff;border-radius:50%}.under-container-title[data-v-b906b8c8]{margin-top:1.5625rem;margin-bottom:.625rem;font-size:.78125rem;font-weight:500;width:100%}.under-container-title .code-title[data-v-b906b8c8]{margin-left:2.5rem;font-size:1.03125rem;color:#000;font-weight:500;margin-bottom:.625rem}.under-container-title .code-number[data-v-b906b8c8]{margin-left:2.5rem;font-size:.875rem;margin-bottom:.625rem}.captcha-container[data-v-b906b8c8]{display:flex;flex-direction:column;align-items:center}.captcha-box[data-v-b906b8c8]{display:flex;justify-content:space-between;margin-bottom:.625rem}.captcha-item[data-v-b906b8c8]{display:flex;justify-content:center;align-items:center}.captcha-input[data-v-b906b8c8]{width:3.4375rem;height:3.4375rem;border:.0625rem solid #C0C5D9;border-radius:.625rem;font-size:.875rem;text-align:center;margin-right:1.25rem;outline:none}.captcha-input[data-v-b906b8c8]:focus{border-color:#00c9ff}.submit-btn[data-v-b906b8c8]{padding:.3125rem .625rem;background-color:#00c9ff;color:#fff;border-radius:1.34375rem;font-size:.875rem;margin-top:.625rem;width:80%;text-align:center}.right-blue[data-v-b906b8c8]{float:right;color:#0083ff;margin-right:2.5rem} diff --git a/unpackage/dist/build/web/assets/code-ao1fDG99.css b/unpackage/dist/build/web/assets/code-ao1fDG99.css new file mode 100644 index 0000000..598959b --- /dev/null +++ b/unpackage/dist/build/web/assets/code-ao1fDG99.css @@ -0,0 +1 @@ +.login-container[data-v-edc97756]{display:flex;flex-direction:column;min-height:100vh;width:100%;background-color:#eff1fc;position:relative}.login-container .title[data-v-edc97756]{margin-top:2.1875rem;align-items:center}.login-container .title .title-imge[data-v-edc97756]{width:3.125rem;height:3.28125rem;margin-left:3.125rem}.login-container .title .title-font[data-v-edc97756]{font-size:1.09375rem;font-weight:600;margin-left:3.28125rem;margin-top:.3125rem}.login-container .photo-imge[data-v-edc97756]{position:absolute;top:3.75rem;left:0;width:100%;height:34.375rem}.login-container .old-imge[data-v-edc97756]{position:absolute;right:.9375rem;top:12.5rem;width:12.5rem;height:12.5rem}.login-container .under-container[data-v-edc97756]{position:fixed;left:0;bottom:0;width:100%;height:45vh;background-color:#fff;border-top-left-radius:1.5625rem;border-top-right-radius:1.5625rem;box-shadow:.3125rem .3125rem .625rem rgba(0,0,0,.1);display:flex;flex-direction:column;color:#5a607f}.login-container .under-container .radio-circle[data-v-edc97756],.login-container .under-container .radio-circle-target[data-v-edc97756]{position:relative;margin-top:.0625rem;width:1.25rem;height:1.25rem;border-radius:50%;border:.0625rem solid #C0C5D9;background-color:transparent}.login-container .under-container .radio-circle-target[data-v-edc97756]:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:.9375rem;height:.9375rem;background-color:#00c9ff;border-radius:50%}.under-container-title[data-v-edc97756]{margin-top:1.5625rem;margin-bottom:.625rem;font-size:.78125rem;font-weight:500;width:100%}.under-container-title .code-title[data-v-edc97756]{margin-left:2.5rem;font-size:1.09375rem;color:#000;font-weight:500;margin-bottom:.625rem}.under-container-title .code-number[data-v-edc97756]{margin-left:2.5rem;font-size:.875rem;margin-bottom:.625rem}.captcha-container[data-v-edc97756]{display:flex;flex-direction:column;align-items:center;margin-top:.625rem}.captcha-box[data-v-edc97756]{display:flex;justify-content:space-between;margin-bottom:.625rem}.captcha-item[data-v-edc97756]{display:flex;justify-content:center;align-items:center}.captcha-input[data-v-edc97756]{width:3.4375rem;height:3.4375rem;border:.09375rem solid #C0C5D9;border-radius:.9375rem;font-size:1.5625rem;font-weight:700;text-align:center;margin-right:1.25rem;outline:none}.captcha-input[data-v-edc97756]:focus{border-color:#00c9ff}.right-blue[data-v-edc97756]{color:#0083ff;margin-left:1.875rem}.right-white[data-v-edc97756]{color:#c2c6d3;margin-left:1.875rem}.right-black[data-v-edc97756]{margin-right:2.5rem;color:#000}.under-view[data-v-edc97756]{width:100%;margin-top:.3125rem;display:flex;justify-content:space-between}.overlay[data-v-edc97756]{position:fixed;top:0;left:0;width:100%;height:100%;z-index:998}.modal[data-v-edc97756]{position:fixed;bottom:0;left:0;background-color:#fff;z-index:999;border-top-left-radius:1.5625rem;border-top-right-radius:1.5625rem;width:100%;height:15.625rem;display:flex;flex-direction:column;align-items:center}.modal .modal-title[data-v-edc97756]{font-size:1rem;font-weight:700;margin:1.5625rem 0 .9375rem}.modal .model-p[data-v-edc97756]{padding:0 1.5625rem;width:100%;font-size:.9375rem}.modal .model-down[data-v-edc97756]{display:flex;width:100%;justify-content:space-between;padding:0 1.5625rem;margin-top:1.25rem}.modal .model-down .model-white[data-v-edc97756]{border-radius:1.5625rem;width:9.375rem;height:2.96875rem;border:.15625rem solid #008dff;color:#008dff;font-size:1.09375rem;display:flex;justify-content:center;align-items:center}.modal .model-down .model-blue[data-v-edc97756]{border-radius:1.5625rem;width:9.375rem;height:2.96875rem;background:linear-gradient(to right,#00c9ff,#0076ff);color:#fff;font-size:1.09375rem;display:flex;justify-content:center;align-items:center}.fade-enter-active[data-v-edc97756],.fade-leave-active[data-v-edc97756]{transition:opacity .3s}.fade-enter-from[data-v-edc97756],.fade-leave-to[data-v-edc97756]{opacity:0}.fade-enter-to[data-v-edc97756],.fade-leave-from[data-v-edc97756]{opacity:1}.slide-up-enter-active[data-v-edc97756],.slide-up-leave-active[data-v-edc97756]{transition:transform .3s}.slide-up-enter-from[data-v-edc97756],.slide-up-leave-to[data-v-edc97756]{transform:translateY(100%)}.slide-up-enter-to[data-v-edc97756],.slide-up-leave-from[data-v-edc97756]{transform:translateY(0)}.text-view[data-v-edc97756]{margin-bottom:.625rem} diff --git a/unpackage/dist/build/web/assets/index-DVDje-mb.css b/unpackage/dist/build/web/assets/index-DVDje-mb.css deleted file mode 100644 index 352b384..0000000 --- a/unpackage/dist/build/web/assets/index-DVDje-mb.css +++ /dev/null @@ -1 +0,0 @@ -.login-container[data-v-00b697a2]{display:flex;flex-direction:column;align-items:center;height:100vh;width:100%;background-color:#eff1fc;position:relative}.login-container .title[data-v-00b697a2]{display:flex;margin-top:3.75rem;align-items:center}.login-container .title .title-imge[data-v-00b697a2]{width:3.4375rem;height:3.4375rem;margin-right:.9375rem}.login-container .title .title-font[data-v-00b697a2]{font-size:1.09375rem;font-weight:500}.login-container .photo-imge[data-v-00b697a2]{position:absolute;top:3.75rem;left:0;width:100%;height:34.375rem}.login-container .old-imge[data-v-00b697a2]{position:absolute;left:50%;transform:translate(-50%,-50%);top:17.1875rem;width:12.5rem;height:12.5rem}.login-container .under-container[data-v-00b697a2]{position:absolute;left:0;bottom:0;width:100%;height:21.25rem;background-color:#fff;border-top-left-radius:1.5625rem;border-top-right-radius:1.5625rem;box-shadow:.3125rem .3125rem .625rem rgba(0,0,0,.1);display:flex;flex-direction:column;align-items:center}.login-container .under-container .radio-circle[data-v-00b697a2],.login-container .under-container .radio-circle-target[data-v-00b697a2]{position:relative;margin-top:.0625rem;width:1.25rem;height:1.25rem;border-radius:50%;border:.0625rem solid #C0C5D9;background-color:transparent}.login-container .under-container .radio-circle-target[data-v-00b697a2]:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:.9375rem;height:.9375rem;background-color:#00c9ff;border-radius:50%}.under-container-title[data-v-00b697a2]{display:flex;margin-top:1.875rem;margin-bottom:.9375rem;align-items:center;font-size:.78125rem;font-weight:500}.under-container-title .radio-circle-blue[data-v-00b697a2]{color:#0083ff;margin-top:.09375rem}.under-container-title .radio-circle-font[data-v-00b697a2]{color:#5a607f;margin-left:.5625rem;margin-top:.09375rem}.button-blue[data-v-00b697a2]{width:80%;display:flex;justify-content:center;align-items:center;height:3.125rem;border-radius:1.34375rem;background:linear-gradient(to right,#00c9ff,#0076ff);color:#fff;font-size:1.03125rem;margin-bottom:.9375rem}.button-white[data-v-00b697a2]{width:80%;display:flex;justify-content:center;align-items:center;height:3.125rem;border-radius:1.34375rem;color:#5a607f;font-size:1.03125rem;margin-bottom:.9375rem;border:.0625rem solid #C0C5D9}.bubble[data-v-00b697a2]{transition:opacity 1s ease-out;position:absolute;left:.78125rem;top:-.15625rem;background-color:#000;color:#fff;padding:.3125rem;border-radius:.3125rem;font-size:.71875rem;box-shadow:.0625rem .0625rem .15625rem rgba(0,0,0,.2);pointer-events:none;opacity:1}.bubble[data-v-00b697a2]:after{transition:opacity 1s ease-out;content:"";position:absolute;left:50%;bottom:-.25rem;border-left:.3125rem solid transparent;border-right:.3125rem solid transparent;border-top:.3125rem solid black;transform:translate(-50%)}.bubble.hidden[data-v-00b697a2]{opacity:0} diff --git a/unpackage/dist/build/web/assets/index-BwwWwpov.js b/unpackage/dist/build/web/assets/index-DVIfOFfO.js similarity index 79% rename from unpackage/dist/build/web/assets/index-BwwWwpov.js rename to unpackage/dist/build/web/assets/index-DVIfOFfO.js index 1e7c3ae..d6c997b 100644 --- a/unpackage/dist/build/web/assets/index-BwwWwpov.js +++ b/unpackage/dist/build/web/assets/index-DVIfOFfO.js @@ -1,6 +1,6 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/pages-index-index.DwQoNhOO.js","assets/old.CKixGO1Z.js","assets/useWeChatAuth.BbPcLRMD.js","assets/_plugin-vue_export-helper.BCo6x5W8.js","assets/index-DVDje-mb.css","assets/pages-index-phonebumber.BA1uUnPp.js","assets/phonebumber-D3FOy7V7.css","assets/pages-index-code.A-2JBG3o.js","assets/uni-app.es.CdisLe7k.js","assets/code-CLjXvbSV.css","assets/pages-index-callback.Cjt7QCcb.js","assets/callback-k9HmfsB1.css","assets/pages-map-index.s85BvS79.js","assets/index-A6Qk_IiB.css","assets/pages-pay-index.BLyKtgIz.js","assets/index-Bj1b-t7_.css"] + __vite__mapDeps.viteFileDeps = ["assets/pages-login-index.BxfPqYHS.js","assets/old.CKixGO1Z.js","assets/useWeChatAuth.s7uh5--2.js","assets/_plugin-vue_export-helper.BCo6x5W8.js","assets/index-DjWbGhVx.css","assets/pages-login-phonebumber.BhyyGBGp.js","assets/uni-app.es.DNqITeUz.js","assets/phonebumber-CuSI2dFj.css","assets/pages-login-code.Dc_lm9ob.js","assets/code-ao1fDG99.css","assets/pages-login-callback.0dOI8hHL.js","assets/callback-Do3UYDt7.css","assets/pages-login-protocol.DzE2Fy0G.js","assets/protocol-Cu_7ppq0.css","assets/pages-index-index.Ck-F5yLO.js","assets/index-fD2zsNOQ.css","assets/pages-map-index.CSfvTUNk.js","assets/index-A6Qk_IiB.css","assets/pages-pay-index.C3l5wi3I.js","assets/index-Bj1b-t7_.css"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } @@ -22,4 +22,4 @@ function n(e,t){const n=new Set(e.split(","));return t?e=>n.has(e.toLowerCase()) * vue-router v4.3.0 * (c) 2024 Eduardo San Martin Morote * @license MIT - */(e);if(!o)return;const r=t._component;m(r)||r.render||r.template||(r.template=o.innerHTML),o.innerHTML="";const i=n(o,!1,function(e){if(e instanceof SVGElement)return"svg";if("function"==typeof MathMLElement&&e instanceof MathMLElement)return"mathml"}(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t};const xs="undefined"!=typeof document;const Ss=Object.assign;function Cs(e,t){const n={};for(const o in t){const r=t[o];n[o]=ks(r)?r.map(e):e(r)}return n}const Ts=()=>{},ks=Array.isArray,Es=/#/g,$s=/&/g,Os=/\//g,Ls=/=/g,As=/\?/g,Ps=/\+/g,Is=/%5B/g,js=/%5D/g,Rs=/%5E/g,Bs=/%60/g,Ms=/%7B/g,Ns=/%7C/g,Fs=/%7D/g,Vs=/%20/g;function Ds(e){return encodeURI(""+e).replace(Ns,"|").replace(Is,"[").replace(js,"]")}function qs(e){return Ds(e).replace(Ps,"%2B").replace(Vs,"+").replace(Es,"%23").replace($s,"%26").replace(Bs,"`").replace(Ms,"{").replace(Fs,"}").replace(Rs,"^")}function Ws(e){return null==e?"":function(e){return Ds(e).replace(Es,"%23").replace(As,"%3F")}(e).replace(Os,"%2F")}function Hs(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}const zs=/\/$/;function Us(e,t,n="/"){let o,r={},i="",s="";const a=t.indexOf("#");let l=t.indexOf("?");return a=0&&(l=-1),l>-1&&(o=t.slice(0,l),i=t.slice(l+1,a>-1?a:t.length),r=e(i)),a>-1&&(o=o||t.slice(0,a),s=t.slice(a,t.length)),o=function(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),o=e.split("/"),r=o[o.length-1];".."!==r&&"."!==r||o.push("");let i,s,a=n.length-1;for(i=0;i1&&a--}return n.slice(0,a).join("/")+"/"+o.slice(i).join("/")}(null!=o?o:t,n),{fullPath:o+(i&&"?")+i+s,path:o,query:r,hash:Hs(s)}}function Gs(e,t){return t&&e.toLowerCase().startsWith(t.toLowerCase())?e.slice(t.length)||"/":e}function Xs(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Ks(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Ys(e[n],t[n]))return!1;return!0}function Ys(e,t){return ks(e)?Js(e,t):ks(t)?Js(t,e):e===t}function Js(e,t){return ks(t)?e.length===t.length&&e.every(((e,n)=>e===t[n])):1===e.length&&e[0]===t}var Zs,Qs,ea,ta;function na(e){if(!e)if(xs){const t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return"/"!==e[0]&&"#"!==e[0]&&(e="/"+e),e.replace(zs,"")}(Qs=Zs||(Zs={})).pop="pop",Qs.push="push",(ta=ea||(ea={})).back="back",ta.forward="forward",ta.unknown="";const oa=/^[^#]+#/;function ra(e,t){return e.replace(oa,"#")+t}const ia=()=>({left:window.scrollX,top:window.scrollY});function sa(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=function(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)}}(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(null!=t.left?t.left:window.scrollX,null!=t.top?t.top:window.scrollY)}function aa(e,t){return(history.state?history.state.position-t:-1)+e}const la=new Map;function ca(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),Gs(n,"")}return Gs(n,e)+o+r}function ua(e,t,n,o=!1,r=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:r?ia():null}}function fa(e){const{history:t,location:n}=window,o={value:ca(e,n)},r={value:t.state};function i(o,i,s){const a=e.indexOf("#"),l=a>-1?(n.host&&document.querySelector("base")?e:e.slice(a))+o:location.protocol+"//"+location.host+e+o;try{t[s?"replaceState":"pushState"](i,"",l),r.value=i}catch(c){console.error(c),n[s?"replace":"assign"](l)}}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 s=Ss({},r.value,t.state,{forward:e,scroll:ia()});i(s.current,s,!0),i(e,Ss({},ua(o.value,e,null),{position:s.position+1},n),!1),o.value=e},replace:function(e,n){i(e,Ss({},t.state,ua(r.value.back,e,r.value.forward,!0),n,{position:r.value.position}),!0),o.value=e}}}function da(e){const t=fa(e=na(e)),n=function(e,t,n,o){let r=[],i=[],s=null;const a=({state:i})=>{const a=ca(e,location),l=n.value,c=t.value;let u=0;if(i){if(n.value=a,t.value=i,s&&s===l)return void(s=null);u=c?i.position-c.position:0}else o(a);r.forEach((e=>{e(n.value,l,{delta:u,type:Zs.pop,direction:u?u>0?ea.forward:ea.back:ea.unknown})}))};function l(){const{history:e}=window;e.state&&e.replaceState(Ss({},e.state,{scroll:ia()}),"")}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",l,{passive:!0}),{pauseListeners:function(){s=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",a),window.removeEventListener("beforeunload",l)}}}(e,t.state,t.location,t.replace);const o=Ss({location:"",base:e,go:function(e,t=!0){t||n.pauseListeners(),history.go(e)},createHref:ra.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 pa(e){return"string"==typeof e||"symbol"==typeof e}const ha={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},ga=Symbol("");var ma,va;function ya(e,t){return Ss(new Error,{type:e,[ga]:!0},t)}function ba(e,t){return e instanceof Error&&ga in e&&(null==t||!!(e.type&t))}(va=ma||(ma={}))[va.aborted=4]="aborted",va[va.cancelled=8]="cancelled",va[va.duplicated=16]="duplicated";const _a={sensitive:!1,strict:!1,start:!0,end:!0},wa=/[.+*?^${}()[\]/\\]/g;function xa(e,t){let n=0;for(;nt.length?1===t.length&&80===t[0]?1:-1:0}function Sa(e,t){let n=0;const o=e.score,r=t.score;for(;n0&&t[t.length-1]<0}const Ta={type:0,value:""},ka=/[a-zA-Z0-9_]/;function Ea(e,t,n){const o=function(e,t){const n=Ss({},_a,t),o=[];let r=n.start?"^":"";const i=[];for(const l of e){const e=l.length?[]:[90];n.strict&&!l.length&&(r+="/");for(let t=0;t1&&("*"===a||"+"===a)&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:c,regexp:u,repeatable:"*"===a||"+"===a,optional:"*"===a||"?"===a})):t("Invalid state to consume buffer"),c="")}function d(){c+=a}for(;l{i(d)}:Ts}function i(e){if(pa(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 s(e){let t=0;for(;t=0&&(e.record.path!==n[t].record.path||!ja(e,n[t]));)t++;n.splice(t,0,e),e.record.name&&!Aa(e)&&o.set(e.record.name,e)}return t=Ia({strict:!1,end:!0,sensitive:!1},t),e.forEach((e=>r(e))),{addRoute:r,resolve:function(e,t){let r,i,s,a={};if("name"in e&&e.name){if(r=o.get(e.name),!r)throw ya(1,{location:e});s=r.record.name,a=Ss(Oa(t.params,r.keys.filter((e=>!e.optional)).concat(r.parent?r.parent.keys.filter((e=>e.optional)):[]).map((e=>e.name))),e.params&&Oa(e.params,r.keys.map((e=>e.name)))),i=r.stringify(a)}else if(null!=e.path)i=e.path,r=n.find((e=>e.re.test(i))),r&&(a=r.parse(i),s=r.record.name);else{if(r=t.name?o.get(t.name):n.find((e=>e.re.test(t.path))),!r)throw ya(1,{location:e,currentLocation:t});s=r.record.name,a=Ss({},t.params,e.params),i=r.stringify(a)}const l=[];let c=r;for(;c;)l.unshift(c.record),c=c.parent;return{name:s,path:i,params:a,matched:l,meta:Pa(l)}},removeRoute:i,getRoutes:function(){return n},getRecordMatcher:function(e){return o.get(e)}}}function Oa(e,t){const n={};for(const o of t)o in e&&(n[o]=e[o]);return n}function La(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const o in e.components)t[o]="object"==typeof n?n[o]:n;return t}function Aa(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Pa(e){return e.reduce(((e,t)=>Ss(e,t.meta)),{})}function Ia(e,t){const n={};for(const o in e)n[o]=o in t?t[o]:e[o];return n}function ja(e,t){return t.children.some((t=>t===e||ja(e,t)))}function Ra(e){const t={};if(""===e||"?"===e)return t;const n=("?"===e[0]?e.slice(1):e).split("&");for(let o=0;oe&&qs(e))):[o&&qs(o)]).forEach((e=>{void 0!==e&&(t+=(t.length?"&":"")+n,null!=e&&(t+="="+e))}))}return t}function Ma(e){const t={};for(const n in e){const o=e[n];void 0!==o&&(t[n]=ks(o)?o.map((e=>null==e?null:""+e)):null==o?o:""+o)}return t}const Na=Symbol(""),Fa=Symbol(""),Va=Symbol(""),Da=Symbol(""),qa=Symbol("");function Wa(){let e=[];return{add:function(t){return e.push(t),()=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)}},list:()=>e.slice(),reset:function(){e=[]}}}function Ha(e,t,n,o,r,i=(e=>e())){const s=o&&(o.enterCallbacks[r]=o.enterCallbacks[r]||[]);return()=>new Promise(((a,l)=>{const c=e=>{var i;!1===e?l(ya(4,{from:n,to:t})):e instanceof Error?l(e):"string"==typeof(i=e)||i&&"object"==typeof i?l(ya(2,{from:t,to:e})):(s&&o.enterCallbacks[r]===s&&"function"==typeof e&&s.push(e),a())},u=i((()=>e.call(o&&o.instances[r],t,n,c)));let f=Promise.resolve(u);e.length<3&&(f=f.then(c)),f.catch((e=>l(e)))}))}function za(e,t,n,o,r=(e=>e())){const i=[];for(const a of e)for(const e in a.components){let l=a.components[e];if("beforeRouteEnter"===t||a.instances[e])if("object"==typeof(s=l)||"displayName"in s||"props"in s||"__vccOpts"in s){const s=(l.__vccOpts||l)[t];s&&i.push(Ha(s,n,o,a,e,r))}else{let s=l();i.push((()=>s.then((i=>{if(!i)return Promise.reject(new Error(`Couldn't resolve component "${e}" at "${a.path}"`));const s=(l=i).__esModule||"Module"===l[Symbol.toStringTag]?i.default:i;var l;a.components[e]=s;const c=(s.__vccOpts||s)[t];return c&&Ha(c,n,o,a,e,r)()}))))}}var s;return i}function Ua(e){const t=vr(Va),n=vr(Da),o=Ci((()=>t.resolve(an(e.to)))),r=Ci((()=>{const{matched:e}=o.value,{length:t}=e,r=e[t-1],i=n.matched;if(!r||!i.length)return-1;const s=i.findIndex(Xs.bind(null,r));if(s>-1)return s;const a=Xa(e[t-2]);return t>1&&Xa(r)===a&&i[i.length-1].path!==a?i.findIndex(Xs.bind(null,e[t-2])):s})),i=Ci((()=>r.value>-1&&function(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(!ks(r)||r.length!==o.length||o.some(((e,t)=>e!==r[t])))return!1}return!0}(n.params,o.value.params))),s=Ci((()=>r.value>-1&&r.value===n.matched.length-1&&Ks(n.params,o.value.params)));return{route:o,href:Ci((()=>o.value.href)),isActive:i,isExactActive:s,navigate:function(n={}){return function(e){if(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)return;if(e.defaultPrevented)return;if(void 0!==e.button&&0!==e.button)return;if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}e.preventDefault&&e.preventDefault();return!0}(n)?t[an(e.replace)?"replace":"push"](an(e.to)).catch(Ts):Promise.resolve()}}}const Ga=vo({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:Ua,setup(e,{slots:t}){const n=Dt(Ua(e)),{options:o}=vr(Va),r=Ci((()=>({[Ka(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[Ka(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive})));return()=>{const o=t.default&&t.default(n);return e.custom?o:Ti("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}});function Xa(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Ka=(e,t,n)=>null!=e?e:null!=t?t:n;function Ya(e,t){if(!e)return null;const n=e(t);return 1===n.length?n[0]:n}const Ja=vo({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=vr(qa),r=Ci((()=>e.route||o.value)),i=vr(Fa,0),s=Ci((()=>{let e=an(i);const{matched:t}=r.value;let n;for(;(n=t[e])&&!n.components;)e++;return e})),a=Ci((()=>r.value.matched[s.value]));mr(Fa,Ci((()=>s.value+1))),mr(Na,a),mr(qa,r);const l=on();return Zn((()=>[l.value,a.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&&Xs(t,r)&&o||(t.enterCallbacks[n]||[]).forEach((t=>t(e)))}),{flush:"post"}),()=>{const o=r.value,i=e.name,s=a.value,c=s&&s.components[i];if(!c)return Ya(n.default,{Component:c,route:o});const u=s.props[i],f=u?!0===u?o.params:"function"==typeof u?u(o):u:null,d=Ti(c,Ss({},f,t,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(s.instances[i]=null)},ref:l}));return Ya(n.default,{Component:d,route:o})||d}}});function Za(e){const t=$a(e.routes,e),n=e.parseQuery||Ra,o=e.stringifyQuery||Ba,r=e.history,i=Wa(),s=Wa(),a=Wa(),l=rn(ha,!0);let c=ha;xs&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Cs.bind(null,(e=>""+e)),f=Cs.bind(null,Ws),d=Cs.bind(null,Hs);function p(e,i){if(i=Ss({},i||l.value),"string"==typeof e){const o=Us(n,e,i.path),s=t.resolve({path:o.path},i),a=r.createHref(o.fullPath);return Ss(o,s,{params:d(s.params),hash:Hs(o.hash),redirectedFrom:void 0,href:a})}let s;if(null!=e.path)s=Ss({},e,{path:Us(n,e.path,i.path).path});else{const t=Ss({},e.params);for(const e in t)null==t[e]&&delete t[e];s=Ss({},e,{params:f(t)}),i.params=f(i.params)}const a=t.resolve(s,i),c=e.hash||"";a.params=u(d(a.params));const p=function(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}(o,Ss({},e,{hash:(h=c,Ds(h).replace(Ms,"{").replace(Fs,"}").replace(Rs,"^")),path:a.path}));var h;const g=r.createHref(p);return Ss({fullPath:p,hash:c,query:o===Ba?Ma(e.query):e.query||{}},a,{redirectedFrom:void 0,href:g})}function h(e){return"string"==typeof e?Us(n,e,l.value.path):Ss({},e)}function g(e,t){if(c!==e)return ya(8,{from:t,to:e})}function m(e){return y(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={}),Ss({query:e.query,hash:e.hash,params:null!=o.path?{}:e.params},o)}}function y(e,t){const n=c=p(e),r=l.value,i=e.state,s=e.force,a=!0===e.replace,u=v(n);if(u)return y(Ss(h(u),{state:"object"==typeof u?Ss({},i,u.state):i,force:s,replace:a}),t||n);const f=n;let d;return f.redirectedFrom=t,!s&&function(e,t,n){const o=t.matched.length-1,r=n.matched.length-1;return o>-1&&o===r&&Xs(t.matched[o],n.matched[r])&&Ks(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}(o,r,n)&&(d=ya(16,{to:f,from:r}),A(r,r,!0,!1)),(d?Promise.resolve(d):w(f,r)).catch((e=>ba(e)?ba(e,2)?e:L(e):O(e,f,r))).then((e=>{if(e){if(ba(e,2))return y(Ss({replace:a},h(e.to),{state:"object"==typeof e.to?Ss({},i,e.to.state):i,force:s}),t||f)}else e=S(f,r,!0,a,i);return x(f,r,e),e}))}function b(e,t){const n=g(e,t);return n?Promise.reject(n):Promise.resolve()}function _(e){const t=j.values().next().value;return t&&"function"==typeof t.runWithContext?t.runWithContext(e):e()}function w(e,t){let n;const[o,r,a]=function(e,t){const n=[],o=[],r=[],i=Math.max(t.matched.length,e.matched.length);for(let s=0;sXs(e,i)))?o.push(i):n.push(i));const a=e.matched[s];a&&(t.matched.find((e=>Xs(e,a)))||r.push(a))}return[n,o,r]}(e,t);n=za(o.reverse(),"beforeRouteLeave",e,t);for(const i of o)i.leaveGuards.forEach((o=>{n.push(Ha(o,e,t))}));const l=b.bind(null,e,t);return n.push(l),B(n).then((()=>{n=[];for(const o of i.list())n.push(Ha(o,e,t));return n.push(l),B(n)})).then((()=>{n=za(r,"beforeRouteUpdate",e,t);for(const o of r)o.updateGuards.forEach((o=>{n.push(Ha(o,e,t))}));return n.push(l),B(n)})).then((()=>{n=[];for(const o of a)if(o.beforeEnter)if(ks(o.beforeEnter))for(const r of o.beforeEnter)n.push(Ha(r,e,t));else n.push(Ha(o.beforeEnter,e,t));return n.push(l),B(n)})).then((()=>(e.matched.forEach((e=>e.enterCallbacks={})),n=za(a,"beforeRouteEnter",e,t,_),n.push(l),B(n)))).then((()=>{n=[];for(const o of s.list())n.push(Ha(o,e,t));return n.push(l),B(n)})).catch((e=>ba(e,8)?e:Promise.reject(e)))}function x(e,t,n){a.list().forEach((o=>_((()=>o(e,t,n)))))}function S(e,t,n,o,i){const s=g(e,t);if(s)return s;const a=t===ha,c=xs?history.state:{};n&&(o||a?r.replace(e.fullPath,Ss({scroll:a&&c&&c.scroll},i)):r.push(e.fullPath,i)),l.value=e,A(e,t,n,a),L()}let C;function T(){C||(C=r.listen(((e,t,n)=>{if(!R.listening)return;const o=p(e),i=v(o);if(i)return void y(Ss(i,{replace:!0}),o).catch(Ts);c=o;const s=l.value;var a,u;xs&&(a=aa(s.fullPath,n.delta),u=ia(),la.set(a,u)),w(o,s).catch((e=>ba(e,12)?e:ba(e,2)?(y(e.to,o).then((e=>{ba(e,20)&&!n.delta&&n.type===Zs.pop&&r.go(-1,!1)})).catch(Ts),Promise.reject()):(n.delta&&r.go(-n.delta,!1),O(e,o,s)))).then((e=>{(e=e||S(o,s,!1))&&(n.delta&&!ba(e,8)?r.go(-n.delta,!1):n.type===Zs.pop&&ba(e,20)&&r.go(-1,!1)),x(o,s,e)})).catch(Ts)})))}let k,E=Wa(),$=Wa();function O(e,t,n){L(e);const o=$.list();return o.length?o.forEach((o=>o(e,t,n))):console.error(e),Promise.reject(e)}function L(e){return k||(k=!e,T(),E.list().forEach((([t,n])=>e?n(e):t())),E.reset()),e}function A(t,n,o,r){const{scrollBehavior:i}=e;if(!xs||!i)return Promise.resolve();const s=!o&&function(e){const t=la.get(e);return la.delete(e),t}(aa(t.fullPath,0))||(r||!o)&&history.state&&history.state.scroll||null;return Sn().then((()=>i(t,n,s))).then((e=>e&&sa(e))).catch((e=>O(e,t,n)))}const P=e=>r.go(e);let I;const j=new Set,R={currentRoute:l,listening:!0,addRoute:function(e,n){let o,r;return pa(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(Ss(h(e),{replace:!0}))},go:P,back:()=>P(-1),forward:()=>P(1),beforeEach:i.add,beforeResolve:s.add,afterEach:a.add,onError:$.add,isReady:function(){return k&&l.value!==ha?Promise.resolve():new Promise(((e,t)=>{E.add([e,t])}))},install(e){e.component("RouterLink",Ga),e.component("RouterView",Ja),e.config.globalProperties.$router=this,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>an(l)}),xs&&!I&&l.value===ha&&(I=!0,m(r.location).catch((e=>{})));const t={};for(const o in ha)Object.defineProperty(t,o,{get:()=>l.value[o],enumerable:!0});e.provide(Va,this),e.provide(Da,qt(t)),e.provide(qa,l);const n=e.unmount;j.add(e),e.unmount=function(){j.delete(e),j.size<1&&(c=ha,C&&C(),C=null,l.value=ha,I=!1,k=!1),n()}}};function B(e){return e.reduce(((e,t)=>e.then((()=>_(t)))),Promise.resolve())}return R}function Qa(){return vr(Da)}const el=["{","}"];const tl=/^(?:\d)+/,nl=/^(?:\w)+/;const ol=Object.prototype.hasOwnProperty,rl=(e,t)=>ol.call(e,t),il=new class{constructor(){this._caches=Object.create(null)}interpolate(e,t,n=el){if(!t)return[e];let o=this._caches[e];return o||(o=function(e,[t,n]){const o=[];let r=0,i="";for(;r-1?"zh-Hans":e.indexOf("-hant")>-1?"zh-Hant":(n=e,["-tw","-hk","-mo","-cht"].find((e=>-1!==n.indexOf(e)))?"zh-Hant":"zh-Hans");var n;let o=["en","fr","es"];t&&Object.keys(t).length>0&&(o=Object.keys(t));const r=function(e,t){return t.find((t=>0===e.indexOf(t)))}(e,o);return r||void 0}class al{constructor({locale:e,fallbackLocale:t,messages:n,watcher:o,formater:r}){this.locale="en",this.fallbackLocale="en",this.message={},this.messages={},this.watchers=[],t&&(this.fallbackLocale=t),this.formater=r||il,this.messages=n||{},this.setLocale(e||"en"),o&&this.watchLocale(o)}setLocale(e){const t=this.locale;this.locale=sl(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=>{rl(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=sl(t,this.messages))&&(o=this.messages[t]):n=t,rl(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 ll(e,t={},n,o){if("string"!=typeof e){const n=[t,e];e=n[0],t=n[1]}"string"!=typeof e&&(e="undefined"!=typeof uni&&rf?rf():"undefined"!=typeof global&&global.getLocale?global.getLocale():"en"),"string"!=typeof n&&(n="undefined"!=typeof __uniConfig&&__uniConfig.fallbackLocale||"en");const r=new al({locale:e,fallbackLocale:n,messages:t,watcher:o});let i=(e,t)=>{{let e=!1;i=function(t,n){const o=_p().$vm;return o&&(o.$locale,e||(e=!0,function(e,t){e.$watchLocale?e.$watchLocale((e=>{t.setLocale(e)})):e.$watch((()=>e.$locale),(e=>{t.setLocale(e)}))}(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)}}const cl=ie((()=>"undefined"!=typeof __uniConfig&&__uniConfig.locales&&!!Object.keys(__uniConfig.locales).length));let ul;function fl(){if(!ul){let e;if(e=navigator.cookieEnabled&&window.localStorage&&localStorage.UNI_LOCALE||__uniConfig.locale||navigator.language,ul=ll(e),cl()){const t=Object.keys(__uniConfig.locales||{});t.length&&t.forEach((e=>ul.add(e,__uniConfig.locales[e]))),ul.setLocale(e)}}return ul}function dl(e,t,n){return t.reduce(((t,o,r)=>(t[e+o]=n[r],t)),{})}const pl=ie((()=>{const e="uni.async.",t=["error"];fl().add("en",dl(e,t,["The connection timed out, click the screen to try again."]),!1),fl().add("es",dl(e,t,["Se agotó el tiempo de conexión, haga clic en la pantalla para volver a intentarlo."]),!1),fl().add("fr",dl(e,t,["La connexion a expiré, cliquez sur l'écran pour réessayer."]),!1),fl().add("zh-Hans",dl(e,t,["连接服务器超时,点击屏幕重试"]),!1),fl().add("zh-Hant",dl(e,t,["連接服務器超時,點擊屏幕重試"]),!1)})),hl=ie((()=>{const e="uni.showToast.",t=["unpaired"];fl().add("en",dl(e,t,["Please note showToast must be paired with hideToast"]),!1),fl().add("es",dl(e,t,["Tenga en cuenta que showToast debe estar emparejado con hideToast"]),!1),fl().add("fr",dl(e,t,["Veuillez noter que showToast doit être associé à hideToast"]),!1),fl().add("zh-Hans",dl(e,t,["请注意 showToast 与 hideToast 必须配对使用"]),!1),fl().add("zh-Hant",dl(e,t,["請注意 showToast 與 hideToast 必須配對使用"]),!1)})),gl=ie((()=>{const e="uni.showLoading.",t=["unpaired"];fl().add("en",dl(e,t,["Please note showLoading must be paired with hideLoading"]),!1),fl().add("es",dl(e,t,["Tenga en cuenta que showLoading debe estar emparejado con hideLoading"]),!1),fl().add("fr",dl(e,t,["Veuillez noter que showLoading doit être associé à hideLoading"]),!1),fl().add("zh-Hans",dl(e,t,["请注意 showLoading 与 hideLoading 必须配对使用"]),!1),fl().add("zh-Hant",dl(e,t,["請注意 showLoading 與 hideLoading 必須配對使用"]),!1)}));function ml(e){const t=new Le;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)}}}let vl=1;const yl=Object.create(null);function bl(e,t){return e+"."+t}function _l({id:e,name:t,args:n},o){t=bl(o,t);const r=t=>{e&&gh.publishHandler("invokeViewApi."+e,t)},i=yl[t];i?i(n,r):r({})}const wl=c(ml("service"),{invokeServiceMethod:(e,t,n)=>{const{subscribe:o,publishHandler:r}=gh,i=n?vl++:0;n&&o("invokeServiceApi."+i,n,!0),r("invokeServiceApi",{id:i,name:e,args:t})}}),xl=ve(!0);let Sl;function Cl(){Sl&&(clearTimeout(Sl),Sl=null)}let Tl=0,kl=0;function El(e){if(Cl(),1!==e.touches.length)return;const{pageX:t,pageY:n}=e.touches[0];Tl=t,kl=n,Sl=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)}),350)}function $l(e){if(!Sl)return;if(1!==e.touches.length)return Cl();const{pageX:t,pageY:n}=e.touches[0];return Math.abs(t-Tl)>10||Math.abs(n-kl)>10?Cl():void 0}function Ol(e,t){const n=Number(e);return isNaN(n)?t:n}function Ll(){const e=__uniConfig.globalStyle||{},t=Ol(e.rpxCalcMaxDeviceWidth,960),n=Ol(e.rpxCalcBaseDeviceWidth,375);function o(){let e=function(){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}();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 Al(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Pl,Il,jl=["top","left","right","bottom"],Rl={};function Bl(){return Il="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 Ml(){if(Il="string"==typeof Il?Il:Bl()){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"}),jl.forEach((function(e){s(o,e)})),document.body.appendChild(o),i(),Pl=!0}else jl.forEach((function(e){Rl[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 s(e,n){var o=document.createElement("div"),s=document.createElement("div"),a=document.createElement("div"),l=document.createElement("div"),c={position:"absolute",width:"100px",height:"200px",boxSizing:"border-box",overflow:"hidden",paddingBottom:Il+"(safe-area-inset-"+n+")"};r(o,c),r(s,c),r(a,{transition:"0s",animation:"none",width:"400px",height:"400px"}),r(l,{transition:"0s",animation:"none",width:"250%",height:"250%"}),o.appendChild(a),s.appendChild(l),e.appendChild(o),e.appendChild(s),i((function(){o.scrollTop=s.scrollTop=1e4;var e=o.scrollTop,r=s.scrollTop;function i(){this.scrollTop!==(this===o?e:r)&&(o.scrollTop=s.scrollTop=1e4,e=o.scrollTop,r=s.scrollTop,function(e){Fl.length||setTimeout((function(){var e={};Fl.forEach((function(t){e[t]=Rl[t]})),Fl.length=0,Vl.forEach((function(t){t(e)}))}),0);Fl.push(e)}(n))}o.addEventListener("scroll",i,t),s.addEventListener("scroll",i,t)}));var u=getComputedStyle(o);Object.defineProperty(Rl,n,{configurable:!0,get:function(){return parseFloat(u.paddingBottom)}})}}function Nl(e){return Pl||Ml(),Rl[e]}var Fl=[];var Vl=[];const Dl=Al({get support(){return 0!=("string"==typeof Il?Il:Bl()).length},get top(){return Nl("top")},get left(){return Nl("left")},get right(){return Nl("right")},get bottom(){return Nl("bottom")},onChange:function(e){Bl()&&(Pl||Ml(),"function"==typeof e&&Vl.push(e))},offChange:function(e){var t=Vl.indexOf(e);t>=0&&Vl.splice(t,1)}}),ql=ys((()=>{}),["prevent"]);function Wl(e,t){return parseInt((e.getPropertyValue(t).match(/\d+/)||["0"])[0])}function Hl(){const e=Wl(document.documentElement.style,"--window-top");return e?e+Dl.top:0}function zl(){const e=document.documentElement.style,t=Hl(),n=Wl(e,"--window-bottom"),o=Wl(e,"--window-left"),r=Wl(e,"--window-right"),i=Wl(e,"--top-window-height");return{top:t,bottom:n?n+Dl.bottom:0,left:o?o+Dl.left:0,right:r?r+Dl.right:0,topWindowHeight:i||0}}function Ul(e){const t=document.documentElement.style;Object.keys(e).forEach((n=>{t.setProperty(n,e[n])}))}function Gl(e){return Symbol(e)}function Xl(e){return e.$page}function Kl(e){return 0===e.tagName.indexOf("UNI-")}const Yl="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",Jl="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 Zl(e,t="#000",n=27){return ti("svg",{width:n,height:n,viewBox:"0 0 32 32"},[ti("path",{d:e,fill:t},null,8,["d","fill"])],8,["width","height"])}function Ql(){{const{$pageInstance:e}=pi();return e&&ac(e.proxy)}}function ec(){const e=Gf(),t=e.length;if(t)return e[t-1]}function tc(){var e;const t=null==(e=ec())?void 0:e.$page;if(t)return t.meta}function nc(){const e=tc();return e?e.id:-1}function oc(){const e=ec();if(e)return e.$vm}const rc=["navigationBar","pullToRefresh"];function ic(e,t){const n=JSON.parse(JSON.stringify(__uniConfig.globalStyle||{})),o=c({id:t},n,e);rc.forEach((t=>{o[t]=c({},n[t],e[t])}));const{navigationBar:r}=o;return r.titleText&&r.titleImage&&(r.titleText=""),o}function sc(e,t,n,o,r,i){const{id:s,route:a}=o,l=Ie(o.navigationBar,__uniConfig.themeConfig,i).titleColor;return{id:s,path:re(a),route:a,fullPath:t,options:n,meta:o,openType:e,eventChannel:r,statusBarStyle:"#ffffff"===l?"light":"dark"}}function ac(e){var t,n;return(null==(t=e.$page)?void 0:t.id)||(null==(n=e.$basePage)?void 0:n.id)}function lc(e,t,n){if(v(e))n=t,t=e,e=oc();else if("number"==typeof e){const t=Gf().find((t=>Xl(t).id===e));e=t?t.$vm:oc()}if(!e)return;const o=e.$[t];return o&&((e,t)=>{let n;for(let o=0;o{function s(){if((()=>{const{scrollHeight:e}=document.documentElement,t=window.innerHeight,o=window.scrollY,i=o>0&&e>t&&o+t+n>=e,s=Math.abs(e-fc)>n;return!i||r&&!s?(!i&&r&&(r=!1),!1):(fc=e,r=!0,!0)})())return t&&t(),i=!1,setTimeout((function(){i=!0}),350),!0}e&&e(window.pageYOffset),t&&i&&(s()||(uc=setTimeout(s,300))),o=!1};return function(){clearTimeout(uc),o||requestAnimationFrame(s),o=!0}}function pc(e,t){if(0===t.indexOf("/"))return t;if(0===t.indexOf("./"))return pc(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),re(i.concat(n).join("/"))}function hc(e,t=!1){return t?__uniRoutes.find((t=>t.path===e||t.alias===e)):__uniRoutes.find((t=>t.path===e))}function gc(){Ll(),he(Kl),window.addEventListener("touchstart",El,xl),window.addEventListener("touchmove",$l,xl),window.addEventListener("touchend",Cl,xl),window.addEventListener("touchcancel",Cl,xl)}class mc{constructor(e){this.$bindClass=!1,this.$bindStyle=!1,this.$vm=e,this.$el=function(e,t=!1){const{vnode:n}=e;if(ue(n.el))return t?n.el?[n.el]:[]:n.el;const{subTree:o}=e;if(16&o.shapeFlag){const e=o.children.filter((e=>e.el&&ue(e.el)));if(e.length>0)return t?e.map((e=>e.el)):e[0].el}return t?n.el?[n.el]:[]:n.el}(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=_c(this.$el.querySelector(e));return t?vc(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];m(n)?n(JSON.parse(JSON.stringify(t))):this.$vm.ownerId&&gh.publishHandler("onWxsInvokeCallMethod",{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 vc(e,t=!0){if(t&&e&&(e=ce(e.$)),e&&e.$el)return e.$el.__wxsComponentDescriptor||(e.$el.__wxsComponentDescriptor=new mc(e)),e.$el.__wxsComponentDescriptor}function yc(e,t){return vc(e,t)}function bc(e,t,n,o=!0){if(t){e.__instance||(e.__instance=!0,Object.defineProperty(e,"instance",{get:()=>yc(n.proxy,!1)}));const r=function(e,t,n=!0){if(!t)return!1;if(n&&e.length<2)return!1;const o=ce(t);if(!o)return!1;const r=o.$.type;return!(!r.$wxs&&!r.$renderjs)&&o}(t,n,o);if(r)return[e,yc(r,!1)]}}function _c(e){if(e)return e.__vueParentComponent&&e.__vueParentComponent.proxy}function wc(e,t=!1){const{type:n,timeStamp:o,target:r,currentTarget:i}=e;let s,a;s=ye(t?r:function(e){for(;!Kl(e);)e=e.parentElement;return e}(r)),a=ye(i);const l={type:n,timeStamp:o,target:s,detail:{},currentTarget:a};return e instanceof CustomEvent&&S(e.detail)&&(l.detail=e.detail),e._stopped&&(l._stopped=!0),e.type.startsWith("touch")&&(l.touches=e.touches,l.changedTouches=e.changedTouches),function(e,t){c(e,{preventDefault:()=>t.preventDefault(),stopPropagation:()=>t.stopPropagation()})}(l,e),l}function xc(e,t){return{force:1,identifier:0,clientX:e.clientX,clientY:e.clientY-t,pageX:e.pageX,pageY:e.pageY-t}}function Sc(e,t){const n=[];for(let o=0;o0===e.type.indexOf("mouse")||["contextmenu"].includes(e.type))(e))!function(e,t){const n=Hl();e.pageX=t.pageX,e.pageY=t.pageY-n,e.clientX=t.clientX,e.clientY=t.clientY-n,e.touches=e.changedTouches=[xc(t,n)]}(i,e);else if((e=>"undefined"!=typeof TouchEvent&&e instanceof TouchEvent||0===e.type.indexOf("touch")||["longpress"].indexOf(e.type)>=0)(e)){const t=Hl();i.touches=Sc(e.touches,t),i.changedTouches=Sc(e.changedTouches,t)}else if((e=>!e.type.indexOf("key")&&e instanceof KeyboardEvent)(e)){["key","code"].forEach((t=>{Object.defineProperty(i,t,{get:()=>e[t]})}))}return bc(i,t,n)||[i]},createNativeEvent:wc},Symbol.toStringTag,{value:"Module"});function Tc(e){!function(e){const t=e.globalProperties;c(t,Cc),t.$gcd=yc}(e._context.config)}let kc=1;function Ec(e){return(e||nc())+".invokeViewApi"}const $c=c(ml("view"),{invokeOnCallback:(e,t)=>mh.emit("api."+e,t),invokeViewMethod:(e,t,n,o)=>{const{subscribe:r,publishHandler:i}=mh,s=o?kc++:0;o&&r("invokeViewApi."+s,o,!0),i(Ec(n),{id:s,name:e,args:t},n)},invokeViewMethodKeepAlive:(e,t,n,o)=>{const{subscribe:r,unsubscribe:i,publishHandler:s}=mh,a=kc++,l="invokeViewApi."+a;return r(l,n),s(Ec(o),{id:a,name:e,args:t},o),()=>{i(l)}}});function Oc(e){lc(ec(),"onResize",e),mh.invokeOnCallback("onWindowResize",e)}function Lc(e){const t=ec();lc(_p(),"onShow",e),lc(t,"onShow")}function Ac(){lc(_p(),"onHide"),lc(ec(),"onHide")}const Pc=["onPageScroll","onReachBottom"];function Ic(){Pc.forEach((e=>mh.subscribe(e,function(e){return(t,n)=>{lc(parseInt(n),e,t)}}(e))))}function jc(){!function(){const{on:e}=mh;e("onResize",Oc),e("onAppEnterForeground",Lc),e("onAppEnterBackground",Ac)}(),Ic()}function Rc(){if(this.$route){const e=this.$route.meta;return e.eventChannel||(e.eventChannel=new Ce(this.$page.id)),e.eventChannel}}function Bc(e){e._context.config.globalProperties.getOpenerEventChannel=Rc}function Mc(){return{path:"",query:{},scene:1001,referrerInfo:{appId:"",extraData:{}}}}function Nc(e){return/^-?\d+[ur]px$/i.test(e)?e.replace(/(^-?\d+)[ur]px$/i,((e,t)=>`${Vu(parseFloat(t))}px`)):/^-?[\d\.]+$/.test(e)?`${e}px`:e||""}function Fc(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],s=t.option.transition,a=function(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,s=e.option,a=s.transition,l={},c=[];return i.forEach((e=>{let i=e.type,s=[...e.args];if(t.concat(n).includes(i))i.startsWith("rotate")||i.startsWith("skew")?s=s.map((e=>parseFloat(e)+"deg")):i.startsWith("translate")&&(s=s.map(Nc)),n.indexOf(i)>=0&&(s.length=1),c.push(`${i}(${s.join(",")})`);else if(o.concat(r).includes(s[0])){i=s[0];const e=s[1];l[i]=r.includes(i)?Nc(e):e}})),l.transform=l.webkitTransform=c.join(" "),l.transition=l.webkitTransition=Object.keys(l).map((e=>`${function(e){return e.replace(/[A-Z]/g,(e=>`-${e.toLowerCase()}`)).replace("webkit","-webkit")}(e)} ${a.duration}ms ${a.timingFunction} ${a.delay}ms`)).join(","),l.transformOrigin=l.webkitTransformOrigin=s.transformOrigin,l}(t);Object.keys(a).forEach((t=>{e.$el.style[t]=a[t]})),n+=1,n{i()}),0)}const Vc={props:["animation"],watch:{animation:{deep:!0,handler(){Fc(this)}}},mounted(){Fc(this)}},Dc=e=>{e.__reserved=!0;const{props:t,mixins:n}=e;return t&&t.animation||(n||(e.mixins=[])).push(Vc),qc(e)},qc=e=>(e.__reserved=!0,e.compatConfig={MODE:3},vo(e));function Wc(e){return e.__wwe=!0,e}function Hc(e,t){return(n,o,r)=>{e.value&&t(n,function(e,t,n,o){let r;return r=ye(n),{type:t.__evName||o.type||e,timeStamp:t.timeStamp||0,target:r,currentTarget:r,detail:o}}(n,o,e.value,r||{}))}}const zc={hoverClass:{type:String,default:"none"},hoverStopPropagation:{type:Boolean,default:!1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:400}};function Uc(e){const t=on(!1);let n,o,r=!1;function i(){requestAnimationFrame((()=>{clearTimeout(o),o=setTimeout((()=>{t.value=!1}),parseInt(e.hoverStayTime))}))}function s(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 a(){r=!1,t.value&&i()}function l(){a(),window.removeEventListener("mouseup",l)}return{hovering:t,binding:{onTouchstartPassive:Wc((function(e){e.touches.length>1||s(e)})),onMousedown:Wc((function(e){r||(s(e),window.addEventListener("mouseup",l))})),onTouchend:Wc((function(){a()})),onMouseup:Wc((function(){r&&l()})),onTouchcancel:Wc((function(){r=!1,t.value=!1,clearTimeout(n)}))}}}function Gc(e,t){return v(t)&&(t=[t]),t.reduce(((t,n)=>(e[n]&&(t[n]=!0),t)),Object.create(null))}const Xc=Gl("uf"),Kc=Gl("ul");function Yc(e,t,n){const o=Ql();n&&!e||S(t)&&Object.keys(t).forEach((r=>{n?0!==r.indexOf("@")&&0!==r.indexOf("uni-")&&gh.on(`uni-${r}-${o}-${e}`,t[r]):0===r.indexOf("uni-")?gh.on(r,t[r]):e&&gh.on(`uni-${r}-${o}-${e}`,t[r])}))}function Jc(e,t,n){const o=Ql();n&&!e||S(t)&&Object.keys(t).forEach((r=>{n?0!==r.indexOf("@")&&0!==r.indexOf("uni-")&&gh.off(`uni-${r}-${o}-${e}`,t[r]):0===r.indexOf("uni-")?gh.off(r,t[r]):e&&gh.off(`uni-${r}-${o}-${e}`,t[r])}))}const Zc=Dc({name:"Button",props:{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}},setup(e,{slots:t}){const n=on(null),o=vr(Xc,!1),{hovering:r,binding:i}=Uc(e),s=Wc(((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;})),a=vr(Kc,!1);return a&&(a.addHandler(s),Vo((()=>{a.removeHandler(s)}))),function(e,t){Yc(e.id,t),Zn((()=>e.id),((e,n)=>{Jc(n,t,!0),Yc(e,t,!0)})),Do((()=>{Jc(e.id,t)}))}(e,{"label-click":s}),()=>{const o=e.hoverClass,a=Gc(e,"disabled"),l=Gc(e,"loading"),c=Gc(e,"plain"),u=o&&"none"!==o;return ti("uni-button",li({ref:n,onClick:s,id:e.id,class:u&&r.value?o:""},u&&i,a,l,c),[t.default&&t.default()],16,["onClick","id"])}}}),Qc=Gl("upm");function eu(){return vr(Qc)}function tu(e){const t=function(e){return Dt(function(e){if(history.state){const t=history.state.__type__;"redirectTo"!==t&&"reLaunch"!==t||0!==Gf().length||(e.isEntry=!0,e.isQuit=!0)}return e}(JSON.parse(JSON.stringify(ic(Qa().meta,e)))))}(e);return mr(Qc,t),t}function nu(){return Qa()}function ou(){return history.state&&history.state.__id__||1}const ru=["GET","OPTIONS","HEAD","POST","PUT","DELETE","TRACE","CONNECT","PATCH"];function iu(e,t){return e&&-1!==t.indexOf(e)?e:t[0]}function su(e){return function(){try{return e.apply(e,arguments)}catch(t){console.error(t)}}}let au=1;const lu={};function cu(e,t,n){if("number"==typeof e){const o=lu[e];if(o)return o.keepAlive||delete lu[e],o.callback(t,n)}return t}const uu="success",fu="fail",du="complete";function pu(e,t={},{beforeAll:n,beforeSuccess:o}={}){S(t)||(t={});const{success:r,fail:i,complete:s}=function(e){const t={};for(const n in e){const o=e[n];m(o)&&(t[n]=su(o),delete e[n])}return t}(t),a=m(r),l=m(i),c=m(s),u=au++;return function(e,t,n,o=!1){lu[e]={name:t,keepAlive:o,callback:n}}(u,e,(u=>{(u=u||{}).errMsg=function(e,t){return e&&-1!==e.indexOf(":fail")?t+e.substring(e.indexOf(":fail")):t+":ok"}(u.errMsg,e),m(n)&&n(u),u.errMsg===e+":ok"?(m(o)&&o(u,t),a&&r(u)):l&&i(u),c&&s(u)})),u}const hu="success",gu="fail",mu="complete",vu={},yu={};function bu(e,t){return function(n){return e(n,t)||n}}function _u(e,t,n){let o=!1;for(let r=0;re(t),catch(){}}}function wu(e,t={}){return[hu,gu,mu].forEach((n=>{const o=e[n];if(!p(o))return;const r=t[n];t[n]=function(e){_u(o,e,t).then((e=>m(r)&&r(e)||e))}})),t}function xu(e,t){const n=[];p(vu.returnValue)&&n.push(...vu.returnValue);const o=yu[e];return o&&p(o.returnValue)&&n.push(...o.returnValue),n.forEach((e=>{t=e(t)||t})),t}function Su(e){const t=Object.create(null);Object.keys(vu).forEach((e=>{"returnValue"!==e&&(t[e]=vu[e].slice())}));const n=yu[e];return n&&Object.keys(n).forEach((e=>{"returnValue"!==e&&(t[e]=(t[e]||[]).concat(n[e]))})),t}function Cu(e,t,n,o){const r=Su(e);if(r&&Object.keys(r).length){if(p(r.invoke)){return _u(r.invoke,n).then((n=>t(wu(Su(e),n),...o)))}return t(wu(r,n),...o)}return t(n,...o)}function Tu(e,t){return(n={},...o)=>function(e){return!(!S(e)||![uu,fu,du].find((t=>m(e[t]))))}(n)?xu(e,Cu(e,t,n,o)):xu(e,new Promise(((r,i)=>{Cu(e,t,c(n,{success:r,fail:i}),o)})))}function ku(e,t,n,o={}){const r=t+":fail";let i="";return i=n?0===n.indexOf(r)?n:r+" "+n:r,delete o.errCode,cu(e,c({errMsg:i},o))}function Eu(e,t,n,o){if(o&&o.beforeInvoke){const e=o.beforeInvoke(t);if(v(e))return e}const r=function(e,t){const n=e[0];if(!t||!t.formatArgs||!S(t.formatArgs)&&S(n))return;const o=t.formatArgs,r=Object.keys(o);for(let i=0;i{const r=pu(e,n,o),i=Eu(0,[n],0,o);return i?ku(r,e,i):t(n,{resolve:t=>function(e,t,n){return cu(e,c(n||{},{errMsg:t+":ok"}))}(r,e,t),reject:(t,n)=>ku(r,e,function(e){return!e||v(e)?e:e.stack?("undefined"!=typeof globalThis&&globalThis.harmonyChannel||console.error(e.message+"\n"+e.stack),e.message):e}(t),n)})}}function Ou(e,t,n,o){return Tu(e,$u(e,t,0,o))}function Lu(e,t,n,o){return function(e,t,n,o){return(...e)=>{const n=Eu(0,e,0,o);if(n)throw new Error(n);return t.apply(null,e)}}(0,t,0,o)}function Au(e,t,n,o){return Tu(e,function(e,t,n,o){return $u(e,t,0,o)}(e,t,0,o))}let Pu=!1,Iu=0,ju=0,Ru=960,Bu=375,Mu=750;function Nu(){let e,t,n;{const{windowWidth:o,pixelRatio:r,platform:i}=function(){const e=md(),t=bd(yd(e,vd(e)));return{platform:fd?"ios":"other",pixelRatio:window.devicePixelRatio,windowWidth:t}}();e=o,t=r,n=i}Iu=e,ju=t,Pu="ios"===n}function Fu(e,t){const n=Number(e);return isNaN(n)?t:n}const Vu=Lu(0,((e,t)=>{if(0===Iu&&(Nu(),function(){const e=__uniConfig.globalStyle||{};Ru=Fu(e.rpxCalcMaxDeviceWidth,960),Bu=Fu(e.rpxCalcBaseDeviceWidth,375),Mu=Fu(e.rpxCalcBaseDeviceWidth,750)}()),0===(e=Number(e)))return 0;let n=t||Iu;n=e===Mu||n<=Ru?n:Bu;let o=e/750*n;return o<0&&(o=-o),o=Math.floor(o+1e-4),0===o&&(o=1!==ju&&Pu?.5:1),e<0?-o:o}));const Du=new class{constructor(){this.$emitter=new Le}on(e,t){return this.$emitter.on(e,t)}once(e,t){return this.$emitter.once(e,t)}off(e,t){e?this.$emitter.off(e,t):this.$emitter.e={}}emit(e,...t){this.$emitter.emit(e,...t)}},qu=Lu(0,((e,...t)=>{Du.emit(e,...t)})),Wu=[.5,.8,1,1.25,1.5,2];const Hu=(e,t,n,o)=>{!function(e,t,n,o,r){mh.invokeViewMethod("map."+e,{type:n,data:o},t,r)}(e,t,n,o,(e=>{o&&((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)})(o,e)}))};const zu={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 Uu(e){let 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(d(zu,n)){t=/^#([0-9|A-F|a-f]{6,8})$/.exec(zu[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 Gu{constructor(e,t){this.type=e,this.data=t,this.colorStop=[]}addColorStop(e,t){this.colorStop.push([e,Uu(t)])}}class Xu{constructor(e,t){this.type="pattern",this.data=e,this.colorStop=t}}class Ku{constructor(e){this.width=e}}let Yu=0,Ju={};function Zu(e,t,n,o){const r={options:o},i=o&&("success"in o||"fail"in o||"complete"in o);if(i){const e=String(Yu++);r.callbackId=e,Ju[e]=o}mh.invokeViewMethod(`editor.${e}`,{type:n,data:r},t,(({callbackId:e,data:t})=>{i&&(!function(e,t){e=e||{},v(t)&&(t={errMsg:t}),/:ok$/.test(t.errMsg)?m(e.success)&&e.success(t):m(e.fail)&&e.fail(t),m(e.complete)&&e.complete(t)}(Ju[e],t),delete Ju[e])}))}const Qu={canvas:class{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"}}setFillStyle(e){console.log("initCanvasContextProperty implemented.")}setStrokeStyle(e){console.log("initCanvasContextProperty implemented.")}setShadow(e,t,n,o){console.log("initCanvasContextProperty implemented.")}addColorStop(e,t){console.log("initCanvasContextProperty implemented.")}setLineWidth(e){console.log("initCanvasContextProperty implemented.")}setLineCap(e){console.log("initCanvasContextProperty implemented.")}setLineJoin(e){console.log("initCanvasContextProperty implemented.")}setLineDash(e,t){console.log("initCanvasContextProperty implemented.")}setMiterLimit(e){console.log("initCanvasContextProperty implemented.")}fillRect(e,t,n,o){console.log("initCanvasContextProperty implemented.")}strokeRect(e,t,n,o){console.log("initCanvasContextProperty implemented.")}clearRect(e,t,n,o){console.log("initCanvasContextProperty implemented.")}fill(){console.log("initCanvasContextProperty implemented.")}stroke(){console.log("initCanvasContextProperty implemented.")}scale(e,t){console.log("initCanvasContextProperty implemented.")}rotate(e){console.log("initCanvasContextProperty implemented.")}translate(e,t){console.log("initCanvasContextProperty implemented.")}setFontSize(e){console.log("initCanvasContextProperty implemented.")}fillText(e,t,n,o){console.log("initCanvasContextProperty implemented.")}setTextAlign(e){console.log("initCanvasContextProperty implemented.")}setTextBaseline(e){console.log("initCanvasContextProperty implemented.")}drawImage(e,t,n,o,r,i,s,a,l){console.log("initCanvasContextProperty implemented.")}setGlobalAlpha(e){console.log("initCanvasContextProperty implemented.")}strokeText(e,t,n,o){console.log("initCanvasContextProperty implemented.")}setTransform(e,t,n,o,r,i){console.log("initCanvasContextProperty implemented.")}draw(e=!1,t){var n=[...this.actions];this.actions=[],this.path=[],function(e,t,n,o,r){mh.invokeViewMethod(`canvas.${e}`,{type:n,data:o},t,(e=>{r&&r(e)}))}(this.id,this.pageId,"actionsChanged",{actions:n,reserve:e},t)}createLinearGradient(e,t,n,o){return new Gu("linear",[e,t,n,o])}createCircularGradient(e,t,n){return new Gu("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 Xu(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,t){let n=0;return n=function(e,t){const n=document.createElement("canvas").getContext("2d");return n.font=t,n.measureText(e).width||0}(e,this.state.font),new Ku(n)}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+\.?\d*r?px)(\/(\d+\.?\d*(r?px)?))?\s+(.*)/);if(n){var o=n[1].trim().split(/\s/),r=parseFloat(n[3]),i=n[7],s=[];o.forEach((function(e,n){["italic","oblique","normal"].indexOf(e)>-1?(s.push({method:"setFontStyle",data:[e]}),t.state.fontStyle=e):["bold","normal","lighter","bolder"].indexOf(e)>-1||/^\d+$/.test(e)?(s.push({method:"setFontWeight",data:[e]}),t.state.fontWeight=e):0===n?(s.push({method:"setFontStyle",data:["normal"]}),t.state.fontStyle="normal"):1===n&&a()})),1===o.length&&a(),o=s.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 a(){s.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]})}},map:class{constructor(e,t){this.id=e,this.pageId=t}getCenterLocation(e){Hu(this.id,this.pageId,"getCenterLocation",e)}moveToLocation(e){Hu(this.id,this.pageId,"moveToLocation",e)}getScale(e){Hu(this.id,this.pageId,"getScale",e)}getRegion(e){Hu(this.id,this.pageId,"getRegion",e)}includePoints(e){Hu(this.id,this.pageId,"includePoints",e)}translateMarker(e){Hu(this.id,this.pageId,"translateMarker",e)}$getAppMap(){}addCustomLayer(e){Hu(this.id,this.pageId,"addCustomLayer",e)}removeCustomLayer(e){Hu(this.id,this.pageId,"removeCustomLayer",e)}addGroundOverlay(e){Hu(this.id,this.pageId,"addGroundOverlay",e)}removeGroundOverlay(e){Hu(this.id,this.pageId,"removeGroundOverlay",e)}updateGroundOverlay(e){Hu(this.id,this.pageId,"updateGroundOverlay",e)}initMarkerCluster(e){Hu(this.id,this.pageId,"initMarkerCluster",e)}addMarkers(e){Hu(this.id,this.pageId,"addMarkers",e)}removeMarkers(e){Hu(this.id,this.pageId,"removeMarkers",e)}moveAlong(e){Hu(this.id,this.pageId,"moveAlong",e)}setLocMarkerIcon(e){Hu(this.id,this.pageId,"setLocMarkerIcon",e)}openMapApp(e){Hu(this.id,this.pageId,"openMapApp",e)}on(e,t){Hu(this.id,this.pageId,"on",{name:e,callback:t})}},video:class{constructor(e,t){this.id=e,this.pageId=t}play(){_d(this.id,this.pageId,"play")}pause(){_d(this.id,this.pageId,"pause")}stop(){_d(this.id,this.pageId,"stop")}seek(e){_d(this.id,this.pageId,"seek",{position:e})}sendDanmu(e){_d(this.id,this.pageId,"sendDanmu",e)}playbackRate(e){~Wu.indexOf(e)||(e=1),_d(this.id,this.pageId,"playbackRate",{rate:e})}requestFullScreen(e={}){_d(this.id,this.pageId,"requestFullScreen",e)}exitFullScreen(){_d(this.id,this.pageId,"exitFullScreen")}showStatusBar(){_d(this.id,this.pageId,"showStatusBar")}hideStatusBar(){_d(this.id,this.pageId,"hideStatusBar")}},editor:class{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){Zu(this.id,this.pageId,e,t)}}};function ef(e){if(e&&e.contextInfo){const{id:t,type:n,page:o}=e.contextInfo,r=Qu[n];e.context=new r(t,o),delete e.contextInfo}}class tf{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._push(this._selector,this._component,this._single,{node:!0},e),this._selectorQuery}}class nf{constructor(e){this._component=void 0,this._page=e,this._queue=[],this._queueCb=[]}exec(e){return function(e,t,n){const o=[];t.forEach((({component:t,selector:n,single:r,fields:i})=>{null===t?o.push(function(e){const t={};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);if(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}(i)):o.push(function(e,t,n,o,r){const i=function(e,t){if(!e)return t.$el;return e.$el}(t,e),s=i.parentElement;if(!s)return o?null:[];const{nodeType:a}=i,l=3===a||8===a;if(o){const e=l?s.querySelector(n):xd(i,n)?i:i.querySelector(n);return e?wd(e,r):null}{let e=[];const t=(l?s:i).querySelectorAll(n);return t&&t.length&&[].forEach.call(t,(t=>{e.push(wd(t,r))})),!l&&xd(i,n)&&e.unshift(wd(i,r)),e}}(e,t,n,r,i))})),n(o)}(this._page,this._queue,(t=>{const n=this._queueCb;t.forEach(((e,t)=>{p(e)?e.forEach(ef):ef(e);const o=n[t];m(o)&&o.call(this,e)})),m(e)&&e.call(this,t)})),this._nodesRef}in(e){return this._component=le(e),this}select(e){return this._nodesRef=new tf(this,this._component,e,!0)}selectAll(e){return this._nodesRef=new tf(this,this._component,e,!1)}selectViewport(){return this._nodesRef=new tf(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 of=Lu(0,(e=>((e=le(e))&&!function(e){const t=le(e);if(t.$page)return ac(t);if(!t.$)return;{const{$pageInstance:e}=t.$;if(e)return ac(e.proxy)}const n=t.$.root.proxy;return n&&n.$page?ac(n):void 0}(e)&&(e=null),new nf(e||oc())))),rf=Lu(0,(()=>{const e=_p();return e&&e.$vm?e.$vm.$locale:fl().getLocale()})),sf={onUnhandledRejection:[],onPageNotFound:[],onError:[],onShow:[],onHide:[]};const af="json",lf=["text","arraybuffer"],cf=encodeURIComponent;ArrayBuffer,Boolean;const uf={formatArgs:{method(e,t){t.method=iu((e||"").toUpperCase(),ru)},data(e,t){t.data=e||""},url(e,t){t.method===ru[0]&&S(t.data)&&Object.keys(t.data).length&&(t.url=function(e,t){let n=e.split("#");const o=n[1]||"";n=n[0].split("?");let r=n[1]||"";e=n[0];const i=r.split("&").filter((e=>e)),s={};i.forEach((e=>{const t=e.split("=");s[t[0]]=t[1]}));for(const a in t)if(d(t,a)){let e=t[a];null==e?e="":S(e)&&(e=JSON.stringify(e)),s[cf(a)]=cf(e)}return r=Object.keys(s).map((e=>`${e}=${s[e]}`)).join("&"),e+(r?"?"+r:"")+(o?"#"+o:"")}(e,t.data))},header(e,t){const n=t.header=e||{};t.method!==ru[0]&&(Object.keys(n).find((e=>"content-type"===e.toLowerCase()))||(n["Content-Type"]="application/json"))},dataType(e,t){t.dataType=(e||af).toLowerCase()},responseType(e,t){t.responseType=(e||"").toLowerCase(),-1===lf.indexOf(t.responseType)&&(t.responseType="text")}}};const ff={url:{type:String,required:!0}},df=(mf(["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"]),mf(["slide-out-right","slide-out-left","slide-out-top","slide-out-bottom","fade-out","zoom-in","zoom-fade-in","pop-out","none"]),bf("navigateTo")),pf=bf("redirectTo"),hf=bf("reLaunch"),gf={formatArgs:{delta(e,t){e=parseInt(e+"")||1,t.delta=Math.min(Gf().length-1,e)}}};function mf(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 vf;function yf(){vf=""}function bf(e){return{formatArgs:{url:_f(e)},beforeAll:yf}}function _f(e){return function(t,n){if(!t)return'Missing required args: "url"';const o=(t=function(e){if(0===e.indexOf("/")||0===e.indexOf("uni:"))return e;let t="";const n=Gf();return n.length&&(t=Xl(n[n.length-1]).route),pc(t,e)}(t)).split("?")[0],r=hc(o,!0);if(!r)return"page `"+t+"` is not found";if("navigateTo"===e||"redirectTo"===e){if(r.meta.isTabBar)return`can not ${e} a tabbar page`}else if("switchTab"===e&&!r.meta.isTabBar)return"can not switch to no-tabBar page";if("switchTab"!==e&&"preloadPage"!==e||!r.meta.isTabBar||"appLaunch"===n.openType||(t=o),r.meta.isEntry&&(t=t.replace(r.alias,"/")),n.url=function(e){if(!v(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}(t),"unPreloadPage"!==e)if("preloadPage"!==e){if(vf===t&&"appLaunch"!==n.openType)return`${vf} locked`;__uniConfig.ready&&(vf=t)}else if(r.meta.isTabBar){const e=Gf(),t=r.path.slice(1);if(e.find((e=>e.route===t)))return"tabBar page `"+t+"` already exists"}}}Boolean;const wf={formatArgs:{title:"",mask:!1}},xf=["success","loading","none","error"],Sf=(Boolean,{formatArgs:{title:"",icon(e,t){t.icon=iu(e,xf)},image(e,t){t.image=e?ld(e):""},duration:1500,mask:!1}});function Cf(){const e=oc();if(!e)return;const t=Uf(),n=t.keys();for(const o of n){const e=t.get(o);e.$.__isTabBar?e.$.__isActive=!1:Kf(o)}e.$.__isTabBar&&(e.$.__isVisible=!1,lc(e,"onHide"))}function Tf(e,t){return e===t.fullPath||"/"===e&&t.meta.isEntry}function kf(e){const t=Uf().values();for(const n of t){const t=Vf(n);if(Tf(e,t))return n.$.__isActive=!0,t.id}}const Ef=Au("switchTab",(({url:e,tabBarText:t,isAutomatedTesting:n},{resolve:o,reject:r})=>{if(Df.handledBeforeEntryPageRoutes)return Cf(),Pf({type:"switchTab",url:e,tabBarText:t,isAutomatedTesting:n},kf(e)).then(o).catch(r);Wf.push({args:{type:"switchTab",url:e,tabBarText:t,isAutomatedTesting:n},resolve:o,reject:r})}),0,bf("switchTab"));function $f(){const e=ec();if(!e)return;const t=Vf(e);Kf(Zf(t.path,t.id))}const Of=Au("redirectTo",(({url:e,isAutomatedTesting:t},{resolve:n,reject:o})=>{if(Df.handledBeforeEntryPageRoutes)return $f(),Pf({type:"redirectTo",url:e,isAutomatedTesting:t}).then(n).catch(o);Hf.push({args:{type:"redirectTo",url:e,isAutomatedTesting:t},resolve:n,reject:o})}),0,pf);function Lf(){const e=Uf().keys();for(const t of e)Kf(t)}const Af=Au("reLaunch",(({url:e,isAutomatedTesting:t},{resolve:n,reject:o})=>{if(Df.handledBeforeEntryPageRoutes)return Lf(),Pf({type:"reLaunch",url:e,isAutomatedTesting:t}).then(n).catch(o);zf.push({args:{type:"reLaunch",url:e,isAutomatedTesting:t},resolve:n,reject:o})}),0,hf);function Pf({type:e,url:t,tabBarText:n,events:o,isAutomatedTesting:r},i){const s=_p().$router,{path:a,query:l}=function(e){const[t,n]=e.split("?",2);return{path:t,query:xe(n||"")}}(t);return new Promise(((t,c)=>{const u=function(e,t){return{__id__:t||++Yf,__type__:e}}(e,i);s["navigateTo"===e?"push":"replace"]({path:a,query:l,state:u,force:!0}).then((i=>{if(ba(i))return c(i.message);if("switchTab"===e&&(s.currentRoute.value.meta.tabBarText=n),"navigateTo"===e){const e=s.currentRoute.value.meta;return e.eventChannel?o&&(Object.keys(o).forEach((t=>{e.eventChannel._addListener(t,"on",o[t])})),e.eventChannel._clearCache()):e.eventChannel=new Ce(u.__id__,o),t(r?{__id__:u.__id__}:{eventChannel:e.eventChannel})}return r?t({__id__:u.__id__}):t()}))}))}function If(){if(Df.handledBeforeEntryPageRoutes)return;Df.handledBeforeEntryPageRoutes=!0;const e=[...qf];qf.length=0,e.forEach((({args:e,resolve:t,reject:n})=>Pf(e).then(t).catch(n)));const t=[...Wf];Wf.length=0,t.forEach((({args:e,resolve:t,reject:n})=>(Cf(),Pf(e,kf(e.url)).then(t).catch(n))));const n=[...Hf];Hf.length=0,n.forEach((({args:e,resolve:t,reject:n})=>($f(),Pf(e).then(t).catch(n))));const o=[...zf];zf.length=0,o.forEach((({args:e,resolve:t,reject:n})=>(Lf(),Pf(e).then(t).catch(n))))}function jf(e){const t=window.CSS&&window.CSS.supports;return t&&(t(e)||t.apply(window.CSS,e.split(":")))}const Rf=jf("top:env(a)"),Bf=jf("top:constant(a)"),Mf=(()=>Rf?"env":Bf?"constant":"")();function Nf(e){var t,n;Ul({"--window-top":(n=0,Mf?`calc(${n}px + ${Mf}(safe-area-inset-top))`:`${n}px`),"--window-bottom":(t=0,Mf?`calc(${t}px + ${Mf}(safe-area-inset-bottom))`:`${t}px`)})}const Ff=new Map;function Vf(e){return e.$page}const Df={handledBeforeEntryPageRoutes:!1},qf=[],Wf=[],Hf=[],zf=[];function Uf(){return Ff}function Gf(){return Xf()}function Xf(){const e=[],t=Ff.values();for(const n of t)n.$.__isTabBar?n.$.__isActive&&e.push(n):e.push(n);return e}function Kf(e,t=!0){const n=Ff.get(e);n.$.__isUnload=!0,lc(n,"onUnload"),Ff.delete(e),t&&function(e){const t=Qf.get(e);t&&(Qf.delete(e),ed.pruneCacheEntry(t))}(e)}let Yf=ou();function Jf(e){const t=function(e){const t=eu();let n=e.fullPath;return e.meta.isEntry&&-1===n.indexOf(e.meta.route)&&(n="/"+e.meta.route+n.replace("/","")),sc("navigateTo",n,{},t)}(e.$route);!function(e,t){e.route=t.route,e.$vm=e,e.$page=t,e.$mpType="page",e.$fontFamilySet=new Set,t.meta.isTabBar&&(e.$.__isTabBar=!0,e.$.__isActive=!0)}(e,t),Ff.set(Zf(t.path,t.id),e),1===Ff.size&&setTimeout((()=>{If()}),0)}function Zf(e,t){return e+"$$"+t}const Qf=new Map,ed={get:e=>Qf.get(e),set(e,t){!function(e){const t=parseInt(e.split("$$")[1]);if(!t)return;ed.forEach(((e,n)=>{const o=parseInt(n.split("$$")[1]);o&&o>t&&(ed.delete(n),ed.pruneCacheEntry(e),Sn((()=>{Ff.forEach(((e,t)=>{e.$.isUnmounted&&Ff.delete(t)}))})))}))}(e),Qf.set(e,t)},delete(e){Qf.get(e)&&Qf.delete(e)},forEach(e){Qf.forEach(e)}};function td(e,t){!function(e){const t=od(e),{body:n}=document;rd&&n.removeAttribute(rd),t&&n.setAttribute(t,""),rd=t}(e),Nf(),function(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))}}(t),sd(e,t)}function nd(e){const t=od(e);t&&function(e){const t=document.querySelector("uni-page-body");t&&t.setAttribute(e,"")}(t)}function od(e){return e.type.__scopeId}let rd,id;function sd(e,t){if(document.removeEventListener("touchmove",cc),id&&document.removeEventListener("scroll",id),t.disableScroll)return document.addEventListener("touchmove",cc);const{onPageScroll:n,onReachBottom:o}=e,r="transparent"===t.navigationBar.type;if(!(null==n?void 0:n.length)&&!(null==o?void 0:o.length)&&!r)return;const i={},s=Vf(e.proxy).id;(n||r)&&(i.onPageScroll=function(e,t,n){return o=>{t&&gh.publishHandler("onPageScroll",{scrollTop:o},e),n&&gh.emit(e+".onPageScroll",{scrollTop:o})}}(s,n,r)),(null==o?void 0:o.length)&&(i.onReachBottomDistance=t.onReachBottomDistance||50,i.onReachBottom=()=>gh.publishHandler("onReachBottom",{},s)),id=dc(i),requestAnimationFrame((()=>document.addEventListener("scroll",id)))}function ad(e){const{base:t}=__uniConfig.router;return 0===re(e).indexOf(t)?re(e):t+e}function ld(e){const{base:t,assets:n}=__uniConfig.router;if("./"===t&&(0!==e.indexOf("./")||!e.includes("/static/")&&0!==e.indexOf("./"+(n||"assets")+"/")||(e=e.slice(1))),0===e.indexOf("/")){if(0!==e.indexOf("//"))return ad(e.slice(1));e="https:"+e}if(ee.test(e)||te.test(e)||0===e.indexOf("blob:"))return e;const o=Xf();return o.length?ad(pc(Vf(o[o.length-1]).route,e).slice(1)):e}const cd=navigator.userAgent,ud=/android/i.test(cd),fd=/iphone|ipad|ipod/i.test(cd),dd=cd.match(/Windows NT ([\d|\d.\d]*)/i),pd=/Macintosh|Mac/i.test(cd),hd=/Linux|X11/i.test(cd),gd=pd&&navigator.maxTouchPoints>0;function md(){return/^Apple/.test(navigator.vendor)&&"number"==typeof window.orientation}function vd(e){return e&&90===Math.abs(window.orientation)}function yd(e,t){return e?Math[t?"max":"min"](screen.width,screen.height):screen.width}function bd(e){return Math.min(window.innerWidth,document.documentElement.clientWidth,e)||e}function _d(e,t,n,o){mh.invokeViewMethod("video."+e,{videoId:e,type:n,data:o},t)}function wd(e,t){const n={},{top:o,topWindowHeight:r}=zl();if(t.node){const t=e.tagName.split("-")[1]||e.tagName;t&&(n.node=e.querySelector(t))}if(t.id&&(n.id=e.id),t.dataset&&(n.dataset=ge(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(p(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(p(t.computedStyle)){const o=getComputedStyle(e);t.computedStyle.forEach((e=>{n[e]=o[e]}))}return t.context&&(n.contextInfo=function(e){return e.__uniContextInfo}(e)),n}function xd(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)}const Sd=Mc(),Cd=Mc();const Td=Dc({name:"ResizeSensor",props:{initial:{type:Boolean,default:!1}},emits:["resize"],setup(e,{emit:t}){const n=on(null),o=function(e){return()=>{const{firstElementChild:t,lastElementChild:n}=e.value;t.scrollLeft=1e5,t.scrollTop=1e5,n.scrollLeft=1e5,n.scrollTop=1e5}}(n),r=function(e,t,n){const o=Dt({width:-1,height:-1});return Zn((()=>c({},o)),(e=>t("resize",e))),()=>{const t=e.value;t&&(o.width=t.offsetWidth,o.height=t.offsetHeight,n())}}(n,t,o);return function(e,t,n,o){ko(o),Mo((()=>{t.initial&&Sn(n);const r=e.value;r.offsetParent!==r.parentElement&&(r.parentElement.style.position="relative"),"AnimationEvent"in window||o()}))}(n,e,r,o),()=>ti("uni-resize-sensor",{ref:n,onAnimationstartOnce:r},[ti("div",{onScroll:r},[ti("div",null,null)],40,["onScroll"]),ti("div",{onScroll:r},[ti("div",null,null)],40,["onScroll"])],40,["onAnimationstartOnce"])}});function kd(){}const Ed={cursorSpacing:{type:[Number,String],default:0},showConfirmBar:{type:[Boolean,String],default:"auto"},adjustPosition:{type:[Boolean,String],default:!0},autoBlur:{type:[Boolean,String],default:!1}};function $d(e,t,n){function o(e){const t=Ci((()=>0===String(navigator.vendor).indexOf("Apple")));e.addEventListener("focus",(()=>{clearTimeout(undefined),document.addEventListener("click",kd,!1)}));e.addEventListener("blur",(()=>{t.value&&e.blur(),document.removeEventListener("click",kd,!1),t.value&&document.documentElement.scrollTo(document.documentElement.scrollLeft,document.documentElement.scrollTop)}))}Zn((()=>t.value),(e=>e&&o(e)))}const Od={src:{type:String,default:""},mode:{type:String,default:"scaleToFill"},lazyLoad:{type:[Boolean,String],default:!1},draggable:{type:Boolean,default:!1}},Ld={widthFix:["offsetWidth","height",(e,t)=>e/t],heightFix:["offsetHeight","width",(e,t)=>e*t]},Ad={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"]},Pd=Dc({name:"Image",props:Od,setup(e,{emit:t}){const n=on(null),o=function(e,t){const n=on(""),o=Ci((()=>{let e="auto",o="";const r=Ad[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=Dt({rootEl:e,src:Ci((()=>t.src?ld(t.src):"")),origWidth:0,origHeight:0,origStyle:{width:"",height:""},modeStyle:o,imgSrc:n});return Mo((()=>{const t=e.value;r.origWidth=t.clientWidth||0,r.origHeight=t.clientHeight||0})),r}(n,e),r=Hc(n,t),{fixSize:i}=function(e,t,n){const o=()=>{const{mode:o}=t,r=Ld[o];if(!r)return;const{origWidth:i,origHeight:s}=n,a=i&&s?i/s:0;if(!a)return;const l=e.value,c=l[r[0]];c&&(l.style[r[1]]=function(e){Id&&e>10&&(e=2*Math.round(e/2));return e}(r[2](c,a))+"px")},r=()=>{const{style:t}=e.value,{origStyle:{width:o,height:r}}=n;t.width=o,t.height=r};return Zn((()=>t.mode),((e,t)=>{Ld[t]&&r(),Ld[e]&&o()})),{fixSize:o,resetSize:r}}(n,e,o);return function(e,t,n,o,r){let i,s;const a=(t=0,n=0,o="")=>{e.origWidth=t,e.origHeight=n,e.imgSrc=o},l=l=>{if(!l)return c(),void a();i=i||new Image,i.onload=e=>{const{width:u,height:f}=i;a(u,f,l),Sn((()=>{o()})),i.draggable=t.draggable,s&&s.remove(),s=i,n.value.appendChild(i),c(),r("load",e,{width:u,height:f})},i.onerror=t=>{a(),c(),r("error",t,{errMsg:`GET ${e.src} 404 (Not Found)`})},i.src=l},c=()=>{i&&(i.onload=null,i.onerror=null,i=null)};Zn((()=>e.src),(e=>l(e))),Zn((()=>e.imgSrc),(e=>{!e&&s&&(s.remove(),s=null)})),Mo((()=>l(e.src))),Vo((()=>c()))}(o,e,n,i,r),()=>ti("uni-image",{ref:n},[ti("div",{style:o.modeStyle},null,4),Ld[e.mode]?ti(Td,{onResize:i},null,8,["onResize"]):ti("span",null,null)],512)}});const Id="Google Inc."===navigator.vendor;const jd=ve(!0),Rd=[];let Bd=0,Md=!1;const Nd=e=>Rd.forEach((t=>t.userAction=e));function Fd(){const e=Dt({userAction:!1});return Mo((()=>{!function(e={userAction:!1}){Md||(["touchstart","touchmove","touchend","mousedown","mouseup"].forEach((e=>{document.addEventListener(e,(function(){!Bd&&Nd(!0),Bd++,setTimeout((()=>{!--Bd&&Nd(!1)}),0)}),jd)})),Md=!0);Rd.push(e)}(e)})),Vo((()=>{!function(e){const t=Rd.indexOf(e);t>=0&&Rd.splice(t,1)}(e)})),{state:e}}function Vd(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 Dd=function(){var e,t,n;e=nc(),n=Vd,t=bl(e,t="getSelectedTextRange"),yl[t]||(yl[t]=n)};function qd(e,t,n){"number"===t&&isNaN(Number(e))&&(e="");return null==e?"":String(e)}const Wd=["none","text","decimal","numeric","tel","search","email","url"],Hd=c({},{name:{type:String,default:""},modelValue:{type:[String,Number]},value:{type:[String,Number]},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"},inputmode:{type:String,default:void 0,validator:e=>!!~Wd.indexOf(e)},cursorColor:{type:String,default:""}},Ed),zd=["input","focus","blur","update:value","update:modelValue","update:focus","compositionstart","compositionupdate","compositionend","keyboardheightchange"];function Ud(e,t,n,o){let r=null;r=Se((n=>{t.value=qd(n,e.type)}),100,{setTimeout:setTimeout,clearTimeout:clearTimeout}),Zn((()=>e.modelValue),r),Zn((()=>e.value),r);const i=function(e,t){let n,o,r=0;const i=function(...i){const s=Date.now();clearTimeout(n),o=()=>{o=null,r=s,e.apply(this,i)},s-r{r.cancel(),n("update:modelValue",t.value),n("update:value",t.value),o("input",e,t)}),100);return Bo((()=>{r.cancel(),i.cancel()})),{trigger:o,triggerInput:(e,t,n)=>{r.cancel(),i(e,t),n&&i.flush()}}}function Gd(e,t){Fd();const n=Ci((()=>e.autoFocus||e.focus));function o(){if(!n.value)return;const e=t.value;e?e.focus():setTimeout(o,100)}Zn((()=>e.focus),(e=>{e?o():function(){const e=t.value;e&&e.blur()}()})),Mo((()=>{n.value&&Sn(o)}))}function Xd(e,t,n,o){Dd();const{fieldRef:r,state:i,trigger:s}=function(e,t,n){const o=on(null),r=Hc(t,n),i=Ci((()=>{const t=Number(e.selectionStart);return isNaN(t)?-1:t})),s=Ci((()=>{const t=Number(e.selectionEnd);return isNaN(t)?-1:t})),a=Ci((()=>{const t=Number(e.cursor);return isNaN(t)?-1:t})),l=Ci((()=>{var t=Number(e.maxlength);return isNaN(t)?140:t}));let c="";c=qd(e.modelValue,e.type)||qd(e.value,e.type);const u=Dt({value:c,valueOrigin:c,maxlength:l,focus:e.focus,composing:!1,selectionStart:i,selectionEnd:s,cursor:a});return Zn((()=>u.focus),(e=>n("update:focus",e))),Zn((()=>u.maxlength),(e=>u.value=u.value.slice(0,e)),{immediate:!1}),{fieldRef:o,state:u,trigger:r}}(e,t,n),{triggerInput:a}=Ud(e,i,n,s);Gd(e,r),$d(0,r);const{state:l}=function(){const e=Dt({attrs:{}});return Mo((()=>{let t=pi();for(;t;){const n=t.type.__scopeId;n&&(e.attrs[n]=""),t=t.proxy&&"page"===t.proxy.$mpType?null:t.parent}})),{state:e}}();!function(e,t){const n=vr(Xc,!1);if(!n)return;const o=pi(),r={submit(){const n=o.proxy;return[n[e],v(t)?n[t]:t.value]},reset(){v(t)?o.proxy[t]="":t.value=""}};n.addField(r),Vo((()=>{n.removeField(r)}))}("name",i),function(e,t,n,o,r,i){function s(){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 a(){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 l(e){return"number"===e.type?null:e.selectionEnd}Zn([()=>t.selectionStart,()=>t.selectionEnd],s),Zn((()=>t.cursor),a),Zn((()=>e.value),(function(){const c=e.value;if(!c)return;const u=function(e,o){e.stopPropagation(),m(i)&&!1===i(e,t)||(t.value=c.value,t.composing&&n.ignoreCompositionEvent||r(e,{value:c.value,cursor:l(c)},o))};function f(e){n.ignoreCompositionEvent||o(e.type,e,{value:e.data})}c.addEventListener("change",(e=>e.stopPropagation())),c.addEventListener("focus",(function(e){t.focus=!0,o("focus",e,{value:t.value}),s(),a()})),c.addEventListener("blur",(function(e){t.composing&&(t.composing=!1,u(e,!0)),t.focus=!1,o("blur",e,{value:t.value,cursor:l(e.target)})})),c.addEventListener("input",u),c.addEventListener("compositionstart",(e=>{e.stopPropagation(),t.composing=!0,f(e)})),c.addEventListener("compositionend",(e=>{e.stopPropagation(),t.composing&&(t.composing=!1,u(e)),f(e)})),c.addEventListener("compositionupdate",f)}))}(r,i,e,s,a,o);return{fieldRef:r,state:i,scopedAttrsState:l,fixDisabledColor:0===String(navigator.vendor).indexOf("Apple")&&CSS.supports("image-orientation:from-image"),trigger:s}}const Kd=c({},Hd,{placeholderClass:{type:String,default:"input-placeholder"},textContentType:{type:String,default:""}}),Yd=ie((()=>{{const e=navigator.userAgent;let t="";const n=e.match(/OS\s([\w_]+)\slike/);if(n)t=n[1].replace(/_/g,".");else if(/Macintosh|Mac/i.test(e)&&navigator.maxTouchPoints>0){const n=e.match(/Version\/(\S*)\b/);n&&(t=n[1])}return!!t&&parseInt(t)>=16&&parseFloat(t)<17.2}}));function Jd(e,t,n,o,r){if(t.value)if("."===e.data){if("."===t.value.slice(-1))return n.value=o.value=t.value=t.value.slice(0,-1),!1;if(t.value&&!t.value.includes("."))return t.value+=".",r&&(r.fn=()=>{n.value=o.value=t.value=t.value.slice(0,-1),o.removeEventListener("blur",r.fn)},o.addEventListener("blur",r.fn)),!1}else if("deleteContentBackward"===e.inputType&&Yd()&&"."===t.value.slice(-2,-1))return t.value=n.value=o.value=t.value.slice(0,-2),!0}const Zd=Dc({name:"Input",props:Kd,emits:["confirm",...zd],setup(e,{emit:t,expose:n}){const o=["text","number","idcard","digit","password","tel"],r=["off","one-time-code"],i=Ci((()=>{let t="";switch(e.type){case"text":t="text","search"===e.confirmType&&(t="search");break;case"idcard":t="text";break;case"digit":t="number";break;default:t=o.includes(e.type)?e.type:"text"}return e.password?"password":t})),s=Ci((()=>{const t=r.indexOf(e.textContentType),n=r.indexOf(L(e.textContentType));return r[-1!==t?t:-1!==n?n:0]}));let a=function(e,t){if("number"===t.value){const t=void 0===e.modelValue?e.value:e.modelValue,n=on(null!=t?t.toLocaleString():"");return Zn((()=>e.modelValue),(e=>{n.value=null!=e?e.toLocaleString():""})),Zn((()=>e.value),(e=>{n.value=null!=e?e.toLocaleString():""})),n}return on("")}(e,i),l={fn:null};const c=on(null),{fieldRef:u,state:f,scopedAttrsState:d,fixDisabledColor:p,trigger:h}=Xd(e,c,t,((t,n)=>{const o=t.target;if("number"===i.value){if(l.fn&&(o.removeEventListener("blur",l.fn),l.fn=null),o.validity&&!o.validity.valid){if((!a.value||!o.value)&&"-"===t.data||"-"===a.value[0]&&"deleteContentBackward"===t.inputType)return a.value="-",n.value="",l.fn=()=>{a.value=o.value=""},o.addEventListener("blur",l.fn),!1;const e=Jd(t,a,n,o,l);return"boolean"==typeof e?e:(a.value=n.value=o.value="-"===a.value?"":a.value,!1)}{const e=Jd(t,a,n,o,l);if("boolean"==typeof e)return e;a.value=o.value}const r=n.maxlength;if(r>0&&o.value.length>r){o.value=o.value.slice(0,r),n.value=o.value;return(void 0!==e.modelValue&&null!==e.modelValue?e.modelValue.toString():"")!==o.value}}}));Zn((()=>f.value),(t=>{"number"!==e.type||"-"===a.value&&""===t||(a.value=t.toString())}));const g=["number","digit"],m=Ci((()=>g.includes(e.type)?e.step:""));function v(t){if("Enter"!==t.key)return;const n=t.target;t.stopPropagation(),h("confirm",t,{value:n.value}),!e.confirmHold&&n.blur()}return n({$triggerInput:e=>{t("update:modelValue",e.value),t("update:value",e.value),f.value=e.value}}),()=>{let t=e.disabled&&p?ti("input",{key:"disabled-input",ref:u,value:f.value,tabindex:"-1",readonly:!!e.disabled,type:i.value,maxlength:f.maxlength,step:m.value,class:"uni-input-input",style:e.cursorColor?{caretColor:e.cursorColor}:{},onFocus:e=>e.target.blur()},null,44,["value","readonly","type","maxlength","step","onFocus"]):ti("input",{key:"input",ref:u,value:f.value,onInput:e=>{f.value=e.target.value.toString()},disabled:!!e.disabled,type:i.value,maxlength:f.maxlength,step:m.value,enterkeyhint:e.confirmType,pattern:"number"===e.type?"[0-9]*":void 0,class:"uni-input-input",style:e.cursorColor?{caretColor:e.cursorColor}:{},autocomplete:s.value,onKeyup:v,inputmode:e.inputmode},null,44,["value","onInput","disabled","type","maxlength","step","enterkeyhint","pattern","autocomplete","onKeyup","inputmode"]);return ti("uni-input",{ref:c},[ti("div",{class:"uni-input-wrapper"},[oo(ti("div",li(d.attrs,{style:e.placeholderStyle,class:["uni-input-placeholder",e.placeholderClass]}),[e.placeholder],16),[[Ui,!(f.value.length||"-"===a.value||a.value.includes("."))]]),"search"===e.confirmType?ti("form",{action:"",onSubmit:e=>e.preventDefault(),class:"uni-input-form"},[t],40,["onSubmit"]):t])],512)}}}),Qd=Dc({name:"View",props:c({},zc),setup(e,{slots:t}){const n=on(null),{hovering:o,binding:r}=Uc(e);return()=>{const i=e.hoverClass;return i&&"none"!==i?ti("uni-view",li({class:o.value?i:"",ref:n},r),[Go(t,"default")],16):ti("uni-view",{ref:n},[Go(t,"default")],512)}}});function ep(e,t,n,o){m(t)&&jo(e,t.bind(n),o)}function tp(e,t,n){const o=e.mpType||n.$mpType;if(o&&"component"!==o&&(Object.keys(e).forEach((o=>{if(function(e,t,n=!0){return!(n&&!m(t))&&(ke.indexOf(e)>-1||0===e.indexOf("on"))}(o,e[o],!1)){const r=e[o];p(r)?r.forEach((e=>ep(o,e,n,t))):ep(o,r,n,t)}})),"page"===o)){t.__isVisible=!0;try{let e=t.attrs.__pageQuery;0,lc(n,"onLoad",e),delete t.attrs.__pageQuery;const o=n.$page;"preloadPage"!==(null==o?void 0:o.openType)&&lc(n,"onShow")}catch(r){console.error(r.message+"\n"+r.stack)}}}function np(e,t,n){tp(e,t,n)}function op(e,t,n){return e[t]=n}function rp(e,...t){const n=this[e];return n?n(...t):(console.error(`method ${e} not found`),null)}function ip(e){const t=e.config.errorHandler;return function(n,o,r){t&&t(n,o,r);const i=e._instance;if(!i||!i.proxy)throw n;i.onError?lc(i.proxy,"onError",n):pn(n,0,o&&o.$.vnode,!1)}}function sp(e,t){return e?[...new Set([].concat(e,t))]:t}function ap(e){const t=e.config;var n;t.errorHandler=$e(e,ip),n=t.optionMergeStrategies,ke.forEach((e=>{n[e]=sp}));const o=t.globalProperties;o.$set=op,o.$applyOptions=np,o.$callMethod=rp,function(e){Ee.forEach((t=>t(e)))}(e)}function lp(e){const t=Za({history:fp(),strict:!!__uniConfig.router.strict,routes:__uniRoutes,scrollBehavior:up});t.beforeEach(((e,t)=>{var n;e&&t&&e.meta.isTabBar&&t.meta.isTabBar&&(n=t.meta.tabBarIndex,"undefined"!=typeof window&&(cp[n]={left:window.pageXOffset,top:window.pageYOffset}))})),e.router=t,e.use(t)}let cp=Object.create(null);const up=(e,t,n)=>{if(n)return n;if(e&&t&&e.meta.isTabBar&&t.meta.isTabBar){const t=(o=e.meta.tabBarIndex,cp[o]);if(t)return t}return{left:0,top:0};var o};function fp(){let{routerBase:e}=__uniConfig.router;"/"===e&&(e="");const t=(n=e,(n=location.host?n||location.pathname+location.search:"").includes("#")||(n+="#"),da(n));var n;return t.listen(((e,t,n)=>{"back"===n.direction&&function(e=1){const t=Xf(),n=t.length-1,o=n-e;for(let r=n;r>o;r--){const e=Vf(t[r]);Kf(Zf(e.path,e.id),!1)}}(Math.abs(n.delta))})),t}const dp={install(e){ap(e),Tc(e),Bc(e),e.config.warnHandler||(e.config.warnHandler=pp),lp(e)}};function pp(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)}const hp={class:"uni-async-loading"},gp=ti("i",{class:"uni-loading"},null,-1),mp=qc({name:"AsyncLoading",render:()=>(Wr(),Xr("div",hp,[gp]))});function vp(){window.location.reload()}const yp=qc({name:"AsyncError",setup(){pl();const{t:e}=fl();return()=>ti("div",{class:"uni-async-error",onClick:vp},[e("uni.async.error")],8,["onClick"])}});let bp;function _p(){return bp}function wp(e){bp=e,Object.defineProperty(bp.$.ctx,"$children",{get:()=>Xf().map((e=>e.$vm))});const t=bp.$.appContext.app;t.component(mp.name)||t.component(mp.name,mp),t.component(yp.name)||t.component(yp.name,yp),function(e){e.$vm=e,e.$mpType="app";const t=on(fl().getLocale());Object.defineProperty(e,"$locale",{get:()=>t.value,set(e){t.value=e}})}(bp),function(e,t){const n=e.$options||{};n.globalData=c(n.globalData||{},t),Object.defineProperty(e,"globalData",{get:()=>n.globalData,set(e){n.globalData=e}})}(bp),jc(),gc()}function xp(e,{clone:t,init:n,setup:o,before:r}){t&&(e=c({},e)),r&&r(e);const i=e.setup;return e.setup=(e,t)=>{const r=pi();if(n(r.proxy),o(r),i)return i(e,t)},e}function Sp(e,t){return e&&(e.__esModule||"Module"===e[Symbol.toStringTag])?xp(e.default,t):xp(e,t)}function Cp(e){return Sp(e,{clone:!0,init:Jf,setup(e){e.$pageInstance=e;const t=nu(),n=_e(t.query);e.attrs.__pageQuery=n,Vf(e.proxy).options=n,e.proxy.options=n;const o=eu();var r,i;return e.onReachBottom=Dt([]),e.onPageScroll=Dt([]),Zn([e.onReachBottom,e.onPageScroll],(()=>{const t=ec();e.proxy===t&&sd(e,o)}),{once:!0}),Bo((()=>{td(e,o)})),Mo((()=>{nd(e);const{onReady:n}=e;n&&j(n),$p(t)})),$o((()=>{if(!e.__isVisible){td(e,o),e.__isVisible=!0;const{onShow:n}=e;n&&j(n),Sn((()=>{$p(t)}))}}),"ba",r),function(e,t){$o(e,"bda",t)}((()=>{if(e.__isVisible&&!e.__isUnload){e.__isVisible=!1;{const{onHide:t}=e;t&&j(t)}}})),i=o.id,gh.subscribe(bl(i,"invokeViewApi"),_l),Vo((()=>{!function(e){gh.unsubscribe(bl(e,"invokeViewApi")),Object.keys(yl).forEach((t=>{0===t.indexOf(e+".")&&delete yl[t]}))}(o.id)})),n}})}function Tp(){const{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}=Vp(),r=90===Math.abs(Number(window.orientation))?"landscape":"portrait";mh.emit("onResize",{deviceOrientation:r,size:{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}})}function kp(e){S(e.data)&&"WEB_INVOKE_APPSERVICE"===e.data.type&&mh.emit("onWebInvokeAppService",e.data.data,e.data.pageId)}function Ep(){const{emit:e}=mh;"visible"===document.visibilityState?e("onAppEnterForeground",c({},Cd)):e("onAppEnterBackground")}function $p(e){const{tabBarText:t,tabBarIndex:n,route:o}=e.meta;t&&lc("onTabItemTap",{index:n,text:t,pagePath:o})}const Op=navigator.cookieEnabled&&(window.localStorage||window.sessionStorage)||{};let Lp;function Ap(){if(Lp=Lp||Op.__DC_STAT_UUID,!Lp){Lp=Date.now()+""+Math.floor(1e7*Math.random());try{Op.__DC_STAT_UUID=Lp}catch(e){}}return Lp}function Pp(){if(!0!==__uniConfig.darkmode)return v(__uniConfig.darkmode)?__uniConfig.darkmode:"light";try{return window.matchMedia("(prefers-color-scheme: light)").matches?"light":"dark"}catch(e){return"light"}}function Ip(){let e,t="0",n="",o="phone";const r=navigator.language;if(fd){e="iOS";const o=cd.match(/OS\s([\w_]+)\slike/);o&&(t=o[1].replace(/_/g,"."));const r=cd.match(/\(([a-zA-Z]+);/);r&&(n=r[1])}else if(ud){e="Android";const o=cd.match(/Android[\s/]([\w\.]+)[;\s]/);o&&(t=o[1]);const r=cd.match(/\((.+?)\)/),i=r?r[1].split(";"):cd.split(" "),s=[/\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-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}());if("-1"!==l)a="IE";else{const e=["Version","Firefox","Chrome","Edge{0,1}"],t=["Safari","Firefox","Chrome","Edge"];for(let n=0;n{const e=window.devicePixelRatio,t=md(),n=vd(t),o=yd(t,n),r=function(e,t){return e?Math[t?"min":"max"](screen.height,screen.width):screen.height}(t,n),i=bd(o);let s=window.innerHeight;const a=Dl.top,l={left:Dl.left,right:i-Dl.right,top:Dl.top,bottom:s-Dl.bottom,width:i-Dl.left-Dl.right,height:s-Dl.top-Dl.bottom},{top:c,bottom:u}=zl();return s-=c,s-=u,{windowTop:c,windowBottom:u,windowWidth:i,windowHeight:s,pixelRatio:e,screenWidth:o,screenHeight:r,statusBarHeight:a,safeArea:l,safeAreaInsets:{top:Dl.top,right:Dl.right,bottom:Dl.bottom,left:Dl.left},screenTop:r-s}}));let Rp,Bp=!0;function Mp(){Bp&&(Rp=Ip())}const Np=Lu(0,(()=>{Mp();const{deviceBrand:e,deviceModel:t,brand:n,model:o,platform:r,system:i,deviceOrientation:s,deviceType:a,osname:l,osversion:u}=Rp;return c({brand:n,deviceBrand:e,deviceModel:t,devicePixelRatio:window.devicePixelRatio,deviceId:Ap(),deviceOrientation:s,deviceType:a,model:o,platform:r,system:i,osName:l?l.toLocaleLowerCase():void 0,osVersion:u})})),Fp=Lu(0,(()=>{Mp();const{theme:e,language:t,browserName:n,browserVersion:o}=Rp;return c({appId:__uniConfig.appId,appName:__uniConfig.appName,appVersion:__uniConfig.appVersion,appVersionCode:__uniConfig.appVersionCode,appLanguage:rf?rf():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:"",uniPlatform:"web",isUniAppX:!1,uniCompileVersion:__uniConfig.compilerVersion,uniCompilerVersion:__uniConfig.compilerVersion,uniRuntimeVersion:__uniConfig.compilerVersion},{})})),Vp=Lu(0,(()=>{Bp=!0,Mp(),Bp=!1;const e=jp(),t=Np(),n=Fp();Bp=!0;const{ua:o,browserName:r,browserVersion:i,osname:s,osversion:a}=Rp,l=c(e,t,n,{ua:o,browserName:r,browserVersion:i,uniPlatform:"web",uniCompileVersion:__uniConfig.compilerVersion,uniRuntimeVersion:__uniConfig.compilerVersion,fontSizeSetting:void 0,osName:s.toLocaleLowerCase(),osVersion:a,osLanguage:void 0,osTheme:void 0});return delete l.screenTop,delete l.enableDebug,__uniConfig.darkmode||delete l.theme,function(e){let t={};return S(e)&&Object.keys(e).sort().forEach((n=>{const o=n;t[o]=e[o]})),Object.keys(t)?t:e}(l)}));const Dp=Lu(0,((e,t)=>{const n=typeof t,o="string"===n?t:JSON.stringify({type:n,data:t});localStorage.setItem(e,o)})),qp=Au("setStorage",(({key:e,data:t},{resolve:n,reject:o})=>{try{Dp(e,t),n()}catch(r){o(r.message)}}));function Wp(e){const t=localStorage&&localStorage.getItem(e);if(!v(t))throw new Error("data not found");let n=t;try{const e=function(e){const t=["object","string","number","boolean","undefined"];try{const n=v(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){}}(JSON.parse(t));void 0!==e&&(n=e)}catch(o){}return n}const Hp=Au("getStorage",(({key:e},{resolve:t,reject:n})=>{try{t({data:Wp(e)})}catch(o){n(o.message)}})),zp={esc:["Esc","Escape"],enter:["Enter"]},Up=Object.keys(zp);function Gp(e,{onEsc:t,onEnter:n}){const o=on(e.visible),{key:r,disable:i}=function(){const e=on(""),t=on(!1),n=n=>{if(t.value)return;const o=Up.find((e=>-1!==zp[e].indexOf(n.key)));o&&(e.value=o),Sn((()=>e.value=""))};return Mo((()=>{document.addEventListener("keyup",n)})),Vo((()=>{document.removeEventListener("keyup",n)})),{key:e,disable:t}}();return Zn((()=>e.visible),(e=>o.value=e)),Zn((()=>o.value),(e=>i.value=!e)),Yn((()=>{const{value:e}=r;"esc"===e?t&&t():"enter"===e&&n&&n()})),o}const Xp=Ou("request",(({url:e,data:t,header:n={},method:o,dataType:r,responseType:i,withCredentials:s,timeout:a=__uniConfig.networkTimeout.request},{resolve:l,reject:c})=>{let u=null;const f=function(e){const t=Object.keys(e).find((e=>"content-type"===e.toLowerCase()));if(!t)return;const n=e[t];if(0===n.indexOf("application/json"))return"json";if(0===n.indexOf("application/x-www-form-urlencoded"))return"urlencoded";return"string"}(n);if("GET"!==o)if(v(t)||t instanceof ArrayBuffer)u=t;else if("json"===f)try{u=JSON.stringify(t)}catch(m){u=t.toString()}else if("urlencoded"===f){const e=[];for(const n in t)d(t,n)&&e.push(encodeURIComponent(n)+"="+encodeURIComponent(t[n]));u=e.join("&")}else u=t.toString();const p=new XMLHttpRequest,h=new Kp(p);p.open(o,e);for(const v in n)d(n,v)&&p.setRequestHeader(v,n[v]);const g=setTimeout((function(){p.onload=p.onabort=p.onerror=null,h.abort(),c("timeout",{errCode:5})}),a);return p.responseType=i,p.onload=function(){clearTimeout(g);const e=p.status;let t="text"===i?p.responseText:p.response;if("text"===i&&"json"===r)try{t=JSON.parse(t)}catch(m){}l({data:t,statusCode:e,header:Yp(p.getAllResponseHeaders()),cookies:[]})},p.onabort=function(){clearTimeout(g),c("abort",{errCode:600003})},p.onerror=function(){clearTimeout(g),c(void 0,{errCode:5})},p.withCredentials=s,p.send(u),h}),0,uf);class Kp{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 Yp(e){const t={};return e.split("\n").forEach((e=>{const n=e.match(/(\S+\s*):\s*(.*)/);n&&3===n.length&&(t[n[1]]=n[2])})),t}const Jp=Au("navigateBack",((e,{resolve:t,reject:n})=>{let o=!0;return!0===lc("onBackPress",{from:e.from||"navigateBack"})&&(o=!1),o?(_p().$router.go(-e.delta),t()):n("onBackPress")}),0,gf),Zp=Au("navigateTo",(({url:e,events:t,isAutomatedTesting:n},{resolve:o,reject:r})=>{if(Df.handledBeforeEntryPageRoutes)return Pf({type:"navigateTo",url:e,events:t,isAutomatedTesting:n}).then(o).catch(r);qf.push({args:{type:"navigateTo",url:e,events:t,isAutomatedTesting:n},resolve:o,reject:r})}),0,df);const Qp={title:{type:String,default:""},icon:{default:"success",validator:e=>-1!==xf.indexOf(e)},image:{type:String,default:""},duration:{type:Number,default:1500},mask:{type:Boolean,default:!1},visible:{type:Boolean}},eh={light:"#fff",dark:"rgba(255,255,255,0.9)"},th=e=>eh[e],nh=vo({name:"Toast",props:Qp,setup(e){hl(),gl();const{Icon:t}=function(e){const t=on(th(Pp())),n=({theme:e})=>t.value=th(e);Yn((()=>{var t;e.visible?(t=n,__uniConfig.darkmode&&mh.on("onThemeChange",t)):function(e){mh.off("onThemeChange",e)}(n)}));return{Icon:Ci((()=>{switch(e.icon){case"success":return ti(Zl(Yl,t.value,38),{class:"uni-toast__icon"});case"error":return ti(Zl(Jl,t.value,38),{class:"uni-toast__icon"});case"loading":return ti("i",{class:["uni-toast__icon","uni-loading"]},null,2);default:return null}}))}}(e),n=Gp(e,{});return()=>{const{mask:o,duration:r,title:i,image:s}=e;return ti(Pi,{name:"uni-fade"},{default:()=>[oo(ti("uni-toast",{"data-duration":r},[o?ti("div",{class:"uni-mask",style:"background: transparent;",onTouchmove:ql},null,40,["onTouchmove"]):"",s||t.value?ti("div",{class:"uni-toast"},[s?ti("img",{src:s,class:"uni-toast__icon"},null,10,["src"]):t.value,ti("p",{class:"uni-toast__content"},[i])]):ti("div",{class:"uni-sample-toast"},[ti("p",{class:"uni-simple-toast__text"},[i])])],8,["data-duration"]),[[Ui,n.value]])]})}}});let oh,rh,ih="";const sh=Me();function ah(e){oh?c(oh,e):(oh=Dt(c(e,{visible:!1})),Sn((()=>{var e,t,n;sh.run((()=>{Zn([()=>oh.visible,()=>oh.duration],(([e,t])=>{if(e){if(rh&&clearTimeout(rh),"onShowLoading"===ih)return;rh=setTimeout((()=>{dh("onHideToast")}),t)}else rh&&clearTimeout(rh)}))})),mh.on("onHidePopup",(()=>dh("onHidePopup"))),(e=nh,t=oh,n=()=>{},t.onClose=(...e)=>(t.visible=!1,n.apply(null,e)),ws(vo({setup:()=>()=>(Wr(),Xr(e,t,null,16))}))).mount(function(e){let t=document.getElementById(e);return t||(t=document.createElement("div"),t.id=e,document.body.append(t)),t}("u-a-t"))}))),setTimeout((()=>{oh.visible=!0}),10)}const lh=Au("showToast",((e,{resolve:t,reject:n})=>{ah(e),ih="onShowToast",t()}),0,Sf),ch={icon:"loading",duration:1e8,image:""},uh=Au("showLoading",((e,{resolve:t,reject:n})=>{c(e,ch),ah(e),ih="onShowLoading",t()}),0,wf),fh=Au("hideLoading",((e,{resolve:t,reject:n})=>{dh("onHideLoading"),t()}));function dh(e){const{t:t}=fl();if(!ih)return;let n="";if("onHideToast"===e&&"onShowToast"!==ih?n=t("uni.showToast.unpaired"):"onHideLoading"===e&&"onShowLoading"!==ih&&(n=t("uni.showLoading.unpaired")),n)return console.warn(n);ih="",setTimeout((()=>{oh.visible=!1}),10)}function ph(e){function t(){var t;t=e.navigationBar.titleText,document.title=t,mh.emit("onNavigationBarChange",{titleText:t})}Yn(t),ko(t)}const hh=qc({name:"Layout",setup(e,{emit:t}){const n=on(null);Ul({"--status-bar-height":"0px","--top-window-height":"0px","--window-left":"0px","--window-right":"0px","--window-margin":"0px","--tab-bar-height":"0px"});const o=function(){const e=Qa();return{routeKey:Ci((()=>Zf("/"+e.meta.route,ou()))),isTabBar:Ci((()=>e.meta.isTabBar)),routeCache:ed}}(),{layoutState:r,windowState:i}=function(){nu();{const e=Dt({marginWidth:0,leftWindowWidth:0,rightWindowWidth:0});return Zn((()=>e.marginWidth),(e=>Ul({"--window-margin":e+"px"}))),Zn((()=>e.leftWindowWidth+e.marginWidth),(e=>{Ul({"--window-left":e+"px"})})),Zn((()=>e.rightWindowWidth+e.marginWidth),(e=>{Ul({"--window-right":e+"px"})})),{layoutState:e,windowState:Ci((()=>({})))}}}();!function(e,t){const n=nu();function o(){const o=document.body.clientWidth,r=Xf();let i={};if(r.length>0){i=Vf(r[r.length-1]).meta}else{const e=hc(n.path,!0);e&&(i=e.meta)}const s=parseInt(String((d(i,"maxWidth")?i.maxWidth:__uniConfig.globalStyle.maxWidth)||Number.MAX_SAFE_INTEGER));let a=!1;a=o>s,a&&s?(e.marginWidth=(o-s)/2,Sn((()=>{const e=t.value;e&&e.setAttribute("style","max-width:"+s+"px;margin:0 auto;")}))):(e.marginWidth=0,Sn((()=>{const e=t.value;e&&e.removeAttribute("style")})))}Zn([()=>n.path],o),Mo((()=>{o(),window.addEventListener("resize",o)}))}(r,n);const s=function(e){const t=on(!1);return Ci((()=>({"uni-app--showtabbar":e&&e.value,"uni-app--maxwidth":t.value})))}(!1);return()=>{const e=function(e,t,n,o,r,i){return function({routeKey:e,isTabBar:t,routeCache:n}){return ti(Ja,null,{default:Nn((({Component:o})=>[(Wr(),Xr(Co,{matchBy:"key",cache:n},[(Wr(),Xr(zn(o),{type:t.value?"tabBar":"",key:e.value}))],1032,["cache"]))])),_:1})}(e)}(o);return ti("uni-app",{ref:n,class:s.value},[e,!1],2)}}});const gh=c(wl,{publishHandler(e,t,n){mh.subscribeHandler(e,t,n)}}),mh=c($c,{publishHandler(e,t,n){gh.subscribeHandler(e,t,n)}}),vh=qc({name:"PageBody",setup(e,t){const n=on(null),o=on(null);return Zn((()=>false.enablePullDownRefresh),(()=>{o.value=null}),{immediate:!0}),()=>ti(Mr,null,[!1,ti("uni-page-wrapper",li({ref:n},o.value),[ti("uni-page-body",null,[Go(t.slots,"default")]),null],16)])}}),yh=qc({name:"Page",setup(e,t){let n=tu(ou());n.navigationBar;const o={};return ph(n),()=>ti("uni-page",{"data-page":n.route,style:o},[bh(t),null])}});function bh(e){return Wr(),Xr(vh,{key:0},{default:Nn((()=>[Go(e.slots,"page")])),_:3})}const _h={loading:"AsyncLoading",error:"AsyncError",delay:200,timeout:6e4,suspensible:!0};window.uni={},window.wx={},window.rpx2px=Vu;const wh=Object.assign({}),xh=Object.assign;window.__uniConfig=xh({globalStyle:{backgroundColor:"#F8F8F8",navigationBar:{backgroundColor:"#F8F8F8",style:"custom",type:"default",titleColor:"#000000"},isNVue:!1},uniIdRouter:{},compilerVersion:"4.66"},{appId:"__UNI__010B3C0",appName:"weixin-officialaccount",appVersion:"1.0.0",appVersionCode:"100",async:_h,debug:!1,networkTimeout:{request:6e4,connectSocket:6e4,uploadFile:6e4,downloadFile:6e4},sdkConfigs:{},qqMapKey:void 0,bMapKey:void 0,googleMapKey:void 0,aMapKey:void 0,aMapSecurityJsCode:void 0,aMapServiceHost:void 0,nvue:{"flex-direction":"column"},locale:"",fallbackLocale:"",locales:Object.keys(wh).reduce(((e,t)=>{const n=t.replace(/\.\/locale\/(uni-app.)?(.*).json/,"$2");return xh(e[n]||(e[n]={}),wh[t].default),e}),{}),router:{mode:"hash",base:"/wechat/thd/",assets:"assets",routerBase:"/wechat/thd/"},darkmode:!1,themeConfig:{}}),window.__uniLayout=window.__uniLayout||{};const Sh={delay:_h.delay,timeout:_h.timeout,suspensible:_h.suspensible};_h.loading&&(Sh.loadingComponent={name:"SystemAsyncLoading",render:()=>ti(Wn(_h.loading))}),_h.error&&(Sh.errorComponent={name:"SystemAsyncError",render:()=>ti(Wn(_h.error))});const Ch=()=>t((()=>import("./pages-index-index.DwQoNhOO.js")),__vite__mapDeps([0,1,2,3,4])).then((e=>Cp(e.default||e))),Th=bo(xh({loader:Ch},Sh)),kh=()=>t((()=>import("./pages-index-phonebumber.BA1uUnPp.js")),__vite__mapDeps([5,1,3,6])).then((e=>Cp(e.default||e))),Eh=bo(xh({loader:kh},Sh)),$h=()=>t((()=>import("./pages-index-code.A-2JBG3o.js")),__vite__mapDeps([7,1,8,3,9])).then((e=>Cp(e.default||e))),Oh=bo(xh({loader:$h},Sh)),Lh=()=>t((()=>import("./pages-index-callback.Cjt7QCcb.js")),__vite__mapDeps([10,8,2,3,11])).then((e=>Cp(e.default||e))),Ah=bo(xh({loader:Lh},Sh)),Ph=()=>t((()=>import("./pages-map-index.s85BvS79.js")),__vite__mapDeps([12,3,13])).then((e=>Cp(e.default||e))),Ih=bo(xh({loader:Ph},Sh)),jh=()=>t((()=>import("./pages-pay-index.BLyKtgIz.js")),__vite__mapDeps([14,3,15])).then((e=>Cp(e.default||e))),Rh=bo(xh({loader:jh},Sh));function Bh(e,t){return Wr(),Xr(yh,null,{page:Nn((()=>[ti(e,xh({},t,{ref:"page"}),null,512)])),_:1})}window.__uniRoutes=[{path:"/",alias:"/pages/index/index",component:{setup(){const e=_p(),t=e&&e.$route&&e.$route.query||{};return()=>Bh(Th,t)}},loader:Ch,meta:{isQuit:!0,isEntry:!0,navigationBar:{titleText:"登录",type:"default"},isNVue:!1}},{path:"/pages/index/phonebumber",component:{setup(){const e=_p(),t=e&&e.$route&&e.$route.query||{};return()=>Bh(Eh,t)}},loader:kh,meta:{navigationBar:{titleText:"登录",type:"default"},isNVue:!1}},{path:"/pages/index/code",component:{setup(){const e=_p(),t=e&&e.$route&&e.$route.query||{};return()=>Bh(Oh,t)}},loader:$h,meta:{navigationBar:{titleText:"登录",type:"default"},isNVue:!1}},{path:"/pages/index/callback",component:{setup(){const e=_p(),t=e&&e.$route&&e.$route.query||{};return()=>Bh(Ah,t)}},loader:Lh,meta:{navigationBar:{titleText:"登录",type:"default"},isNVue:!1}},{path:"/pages/map/index",component:{setup(){const e=_p(),t=e&&e.$route&&e.$route.query||{};return()=>Bh(Ih,t)}},loader:Ph,meta:{navigationBar:{titleText:"地图",type:"default"},isNVue:!1}},{path:"/pages/pay/index",component:{setup(){const e=_p(),t=e&&e.$route&&e.$route.query||{};return()=>Bh(Rh,t)}},loader:jh,meta:{navigationBar:{titleText:"支付",type:"default"},isNVue:!1}}].map((e=>(e.meta.route=(e.alias||e.path).slice(1),e)));const Mh={onLaunch:function(){console.log("App Launch")},onShow:function(){console.log("App Show")},onHide:function(){console.log("App Hide")}};Sp(Mh,{init:wp,setup(e){const t=nu(),n=()=>{var n;n=e,Object.keys(sf).forEach((e=>{sf[e].forEach((t=>{jo(e,t,n)}))}));const{onLaunch:o,onShow:r,onPageNotFound:i}=e,s=function({path:e,query:t}){return c(Sd,{path:e,query:t}),c(Cd,Sd),c({},Sd)}({path:t.path.slice(1)||__uniRoutes[0].meta.route,query:_e(t.query)});if(o&&j(o,s),r&&j(r,s),!t.matched.length){const e={notFound:!0,openType:"appLaunch",path:t.path,query:{},scene:1001};If(),i&&j(i,e)}};return vr(Va).isReady().then(n),Mo((()=>{window.addEventListener("resize",Se(Tp,50,{setTimeout:setTimeout,clearTimeout:clearTimeout})),window.addEventListener("message",kp),document.addEventListener("visibilitychange",Ep),function(){let e=null;try{e=window.matchMedia("(prefers-color-scheme: dark)")}catch(t){}if(e){let t=e=>{mh.emit("onThemeChange",{theme:e.matches?"dark":"light"})};e.addEventListener?e.addEventListener("change",t):e.addListener(t)}}()})),t.query},before(e){e.mpType="app";const{setup:t}=e,n=()=>(Wr(),Xr(hh));e.setup=(e,o)=>{const r=t&&t(e,o);return m(r)?n:r},e.render=n}});const Nh={data:()=>({}),onLoad(){this.$u.getRect=this.$uGetRect},methods:{$uGetRect(e,t){return new Promise((n=>{of().in(this)[t?"selectAll":"select"](e).boundingClientRect((e=>{t&&Array.isArray(e)&&e.length&&n(e),!t&&e&&n(e)})).exec()}))},getParentData(e=""){this.parent||(this.parent=!1),this.parent=this.$u.$parent.call(this,e),this.parent&&(Object.keys(this.parentData).map((e=>{this.parentData[e]=this.parent[e]})),this.parentData.value=this.parent.modelValue)},preventEvent(e){e&&e.stopPropagation&&e.stopPropagation()}},onReachBottom(){qu("uOnReachBottom")},beforeUnmount(){if(this.parent&&uni.$u.test.array(this.parent.children)){const e=this.parent.children;e.map(((t,n)=>{t===this&&e.splice(n,1)}))}}};function Fh(e){if([null,void 0,NaN,!1].includes(e))return e;if("object"!=typeof e&&"function"!=typeof e)return e;var t,n=(t=e,"[object Array]"===Object.prototype.toString.call(t)?[]:{});for(let o in e)e.hasOwnProperty(o)&&(n[o]="object"==typeof e[o]?Fh(e[o]):e[o]);return n}function Vh(e={},t={}){if("object"!=typeof(e=Fh(e))||"object"!=typeof t)return!1;for(var n in t)t.hasOwnProperty(n)&&(n in e?"object"!=typeof e[n]||"object"!=typeof t[n]?e[n]=t[n]:e[n].concat&&t[n].concat?e[n]=e[n].concat(t[n]):e[n]=Vh(e[n],t[n]):e[n]=t[n]);return e}function Dh(e){return/^(?:-?\d+|-?\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/.test(e)}function qh(e){switch(typeof e){case"undefined":return!0;case"string":if(0==e.replace(/(^[ \t\n\r]*)|([ \t\n\r]*$)/g,"").length)return!0;break;case"boolean":if(!e)return!0;break;case"number":if(0===e||isNaN(e))return!0;break;case"object":if(null===e||0===e.length)return!0;for(var t in e)return!1;return!0}return!1}function Wh(e){return"[object Object]"===Object.prototype.toString.call(e)}function Hh(e){return"function"==typeof e}const zh={email:function(e){return/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/.test(e)},mobile:function(e){return/^1[23456789]\d{9}$/.test(e)},url:function(e){return/http(s)?:\/\/([\w-]+\.)+[\w-]+(\/[\w-.\/?%&=]*)?/.test(e)},date:function(e){return!!e&&(Dh(e)&&(e=+e),!/Invalid|NaN/.test(new Date(e).toString()))},dateISO:function(e){return/^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(e)},number:Dh,digits:function(e){return/^\d+$/.test(e)},idCard:function(e){return/^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}([0-9]|X)$/.test(e)},carNo:function(e){const t=/^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[A-Z]{1}(([0-9]{5}[DF]$)|([DF][A-HJ-NP-Z0-9][0-9]{4}$))/,n=/^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[A-Z]{1}[A-HJ-NP-Z0-9]{4}[A-HJ-NP-Z0-9挂学警港澳]{1}$/;return 7===e.length?n.test(e):8===e.length&&t.test(e)},amount:function(e){return/^[1-9]\d*(,\d{3})*(\.\d{1,2})?$|^0\.\d{1,2}$/.test(e)},chinese:function(e){return/^[\u4e00-\u9fa5]+$/gi.test(e)},letter:function(e){return/^[a-zA-Z]*$/.test(e)},enOrNum:function(e){return/^[0-9a-zA-Z]*$/g.test(e)},contains:function(e,t){return e.indexOf(t)>=0},range:function(e,t){return e>=t[0]&&e<=t[1]},rangeLength:function(e,t){return e.length>=t[0]&&e.length<=t[1]},empty:qh,isEmpty:qh,jsonString:function(e){if("string"==typeof e)try{var t=JSON.parse(e);return!("object"!=typeof t||!t)}catch(n){return!1}return!1},landline:function(e){return/^\d{3,4}-\d{7,8}(-\d{3,4})?$/.test(e)},object:Wh,array:function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===Object.prototype.toString.call(e)},code:function(e,t=6){return new RegExp(`^\\d{${t}}$`).test(e)},func:Hh,promise:function(e){return Wh(e)&&Hh(e.then)&&Hh(e.catch)},video:function(e){const t=e.split("?")[0];return new RegExp(/\.(mp4|mpg|mpeg|dat|asf|avi|rm|rmvb|mov|wmv|flv|mkv|m3u8|3gp)$/).test(t)},image:function(e){const t=e.split("?")[0];return new RegExp(/\.(jpeg|jpg|gif|png|svg|webp|jfif|bmp|dpg)$/).test(t)},regExp:function(e){return e&&"[object RegExp]"===Object.prototype.toString.call(e)},string:function(e){return"string"==typeof e}};const Uh=new class{setConfig(e){this.config=Vh(this.config,e)}request(e={}){if(this.interceptor.request&&"function"==typeof this.interceptor.request){let t=this.interceptor.request(e);if(!1===t)return new Promise((()=>{}));this.options=t}return e.dataType=e.dataType||this.config.dataType,e.responseType=e.responseType||this.config.responseType,e.url=e.url||"",e.params=e.params||{},e.header=Object.assign({},this.config.header,e.header),e.method=e.method||this.config.method,new Promise(((t,n)=>{e.complete=e=>{if(fh(),clearTimeout(this.config.timer),this.config.timer=null,this.config.originalData)if(this.interceptor.response&&"function"==typeof this.interceptor.response){let o=this.interceptor.response(e);!1!==o?t(o):n(e)}else t(e);else if(200==e.statusCode)if(this.interceptor.response&&"function"==typeof this.interceptor.response){let o=this.interceptor.response(e.data);!1!==o?t(o):n(e.data)}else t(e.data);else n(e)},e.url=zh.url(e.url)?e.url:this.config.baseUrl+(0==e.url.indexOf("/")?e.url:"/"+e.url),this.config.showLoading&&!this.config.timer&&(this.config.timer=setTimeout((()=>{uh({title:this.config.loadingText,mask:this.config.loadingMask}),this.config.timer=null}),this.config.loadingTime)),Xp(e)}))}constructor(){this.config={baseUrl:"",header:{},method:"POST",dataType:"json",responseType:"text",showLoading:!0,loadingText:"请求中...",loadingTime:800,timer:null,originalData:!1,loadingMask:!0},this.interceptor={request:null,response:null},this.get=(e,t={},n={})=>this.request({method:"GET",url:e,header:n,data:t}),this.post=(e,t={},n={})=>this.request({url:e,method:"POST",header:n,data:t}),this.put=(e,t={},n={})=>this.request({url:e,method:"PUT",header:n,data:t}),this.delete=(e,t={},n={})=>this.request({url:e,method:"DELETE",header:n,data:t})}};const Gh=(new class{constructor(){this.config={type:"navigateTo",url:"",delta:1,params:{},animationType:"pop-in",animationDuration:300,intercept:!1},this.route=this.route.bind(this)}addRootPath(e){return"/"===e[0]?e:`/${e}`}mixinParam(e,t){e=e&&this.addRootPath(e);let n="";return/.*\/.*\?.*=.*/.test(e)?(n=uni.$u.queryParams(t,!1),e+"&"+n):(n=uni.$u.queryParams(t),e+n)}async route(e={},t={}){let n={};if("string"==typeof e?(n.url=this.mixinParam(e,t),n.type="navigateTo"):(n=uni.$u.deepClone(e,this.config),n.url=this.mixinParam(e.url,e.params)),t.intercept&&(this.config.intercept=t.intercept),n.params=t,n=uni.$u.deepMerge(this.config,n),"function"==typeof uni.$u.routeIntercept){await new Promise(((e,t)=>{uni.$u.routeIntercept(n,e)}))&&this.openPage(n)}else this.openPage(n)}openPage(e){const{url:t,type:n,delta:o,animationType:r,animationDuration:i}=e;"navigateTo"!=e.type&&"to"!=e.type||Zp({url:t,animationType:r,animationDuration:i}),"redirectTo"!=e.type&&"redirect"!=e.type||Of({url:t}),"switchTab"!=e.type&&"tab"!=e.type||Ef({url:t}),"reLaunch"!=e.type&&"launch"!=e.type||Af({url:t}),"navigateBack"!=e.type&&"back"!=e.type||Jp({delta:o})}}).route;function Xh(e=null,t="yyyy-mm-dd"){e||(e=Number(new Date)),10==e.toString().length&&(e*=1e3);let n,o=new Date(e),r={"y+":o.getFullYear().toString(),"m+":(o.getMonth()+1).toString(),"d+":o.getDate().toString(),"h+":o.getHours().toString(),"M+":o.getMinutes().toString(),"s+":o.getSeconds().toString()};for(let i in r)n=new RegExp("("+i+")").exec(t),n&&(t=t.replace(n[1],1==n[1].length?r[i]:r[i].padStart(n[1].length,"0")));return t}function Kh(e,t=!0){if((e=e.toLowerCase())&&/^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/.test(e)){if(4===e.length){let t="#";for(let n=1;n<4;n+=1)t+=e.slice(n,n+1).concat(e.slice(n,n+1));e=t}let n=[];for(let t=1;t<7;t+=2)n.push(parseInt("0x"+e.slice(t,t+2)));return t?`rgb(${n[0]},${n[1]},${n[2]})`:n}if(/^(rgb|RGB)/.test(e)){return e.replace(/(?:\(|\)|rgb|RGB)*/g,"").split(",").map((e=>Number(e)))}return e}function Yh(e){let t=e;if(/^(rgb|RGB)/.test(t)){let e=t.replace(/(?:\(|\)|rgb|RGB)*/g,"").split(","),n="#";for(let t=0;t=e)return String(n);let o=e-n.length,r=Math.ceil(o/t.length);for(;r>>=1;)t+=t,1===r&&(t+=t);return t.slice(0,o)+n});const Jh={colorGradient:function(e="rgb(0, 0, 0)",t="rgb(255, 255, 255)",n=10){let o=Kh(e,!1),r=o[0],i=o[1],s=o[2],a=Kh(t,!1),l=(a[0]-r)/n,c=(a[1]-i)/n,u=(a[2]-s)/n,f=[];for(let d=0;d=0))if(t.constructor===Array)switch(n){case"indices":for(let n=0;n{r.push(i+"[]="+e)}));break;case"repeat":t.forEach((e=>{r.push(i+"="+e)}));break;case"comma":let e="";t.forEach((t=>{e+=(e?",":"")+t})),r.push(i+"="+e)}else r.push(i+"="+t)}return r.length?o+r.join("&"):""},route:Gh,timeFormat:Xh,date:Xh,timeFrom:function(e=null,t="yyyy-mm-dd"){e||(e=Number(new Date)),10==e.toString().length&&(e*=1e3);let n=+new Date(Number(e)),o=(Number(new Date)-n)/1e3,r="";switch(!0){case o<300:r="刚刚";break;case o>=300&&o<3600:r=parseInt(o/60)+"分钟前";break;case o>=3600&&o<86400:r=parseInt(o/3600)+"小时前";break;case o>=86400&&o<2592e3:r=parseInt(o/86400)+"天前";break;default:r=!1===t?o>=2592e3&&o<31536e3?parseInt(o/2592e3)+"个月前":parseInt(o/31536e3)+"年前":Xh(n,t)}return r},colorGradient:Jh.colorGradient,colorToRgba:Jh.colorToRgba,guid:function(e=32,t=!0,n=null){let o="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),r=[];if(n=n||o.length,e)for(let i=0;iMath.random()-.5))},wranning:function(e){},get:Uh.get,post:Uh.post,put:Uh.put,delete:Uh.delete,hexToRgb:Jh.hexToRgb,rgbToHex:Jh.rgbToHex,test:zh,random:function(e,t){if(e>=0&&t>0&&t>=e){let n=t-e+1;return Math.floor(Math.random()*n+e)}return 0},deepClone:Fh,deepMerge:Vh,getParent:function(e,t){let n=this.$parent;for(;n;){if(n.$options.name===e){let e={};if(Array.isArray(t))t.map((t=>{e[t]=n[t]?n[t]:""}));else for(let o in t)Array.isArray(t[o])?t[o].length?e[o]=t[o]:e[o]=n[o]:t[o].constructor===Object?Object.keys(t[o]).length?e[o]=t[o]:e[o]=n[o]:e[o]=t[o]||!1===t[o]?t[o]:n[o];return e}n=n.$parent}return{}},$parent:function(e){let t=this.$parent;for(;t;){if(!t.$options||t.$options.name===e)return t;t=t.$parent}return!1},addUnit:function(e="auto",t="rpx"){return e=String(e),zh.number(e)?`${e}${t}`:e},trim:function(e,t="both"){return"both"==t?e.replace(/^\s+|\s+$/g,""):"left"==t?e.replace(/^\s*/,""):"right"==t?e.replace(/(\s*$)/g,""):"all"==t?e.replace(/\s+/g,""):e},type:["primary","success","error","warning","info"],http:Uh,toast:function(e,t=1500){lh({title:e,icon:"none",duration:t})},config:og,zIndex:{toast:10090,noNetwork:10080,popup:10075,mask:10070,navbar:980,topTips:975,sticky:970,indexListSticky:965},debounce:function(e,t=500,n=!1){if(null!==Qh&&clearTimeout(Qh),n){var o=!Qh;Qh=setTimeout((function(){Qh=null}),t),o&&"function"==typeof e&&e()}else Qh=setTimeout((function(){"function"==typeof e&&e()}),t)},throttle:function(e,t=500,n=!0,o="default"){eg[o]||(eg[o]=null),n?tg[o]||(tg[o]=!0,"function"==typeof e&&e(),eg[o]=setTimeout((()=>{tg[o]=!1}),t)):tg[o]||(tg[o]=!0,eg[o]=setTimeout((()=>{tg[o]=!1,"function"==typeof e&&e()}),t))},addStyle:function(e,t="object"){if(zh.empty(e)||"object"==typeof e&&"object"===t||"string"===t&&"string"==typeof e)return e;if("object"===t){const t=(e=ng(e)).split(";"),n={};for(let e=0;e{e.mixin(Nh),e.config.globalProperties.$u=rg}};(function(){const e=ws(Mh);return e.use(ig),{app:e}})().app.use(dp).mount("#app");export{Mr as F,Zd as I,ne as O,ti as a,oi as b,Xr as c,oo as d,ei as e,Zp as f,Pd as g,Gr as h,Qd as i,Uo as j,Sn as k,Dt as l,bi as m,de as n,Wr as o,jo as p,pi as q,on as r,qp as s,G as t,Mo as u,Ui as v,Nn as w,ri as x,Hp as y,Zc as z}; + */(e);if(!o)return;const r=t._component;m(r)||r.render||r.template||(r.template=o.innerHTML),o.innerHTML="";const i=n(o,!1,function(e){if(e instanceof SVGElement)return"svg";if("function"==typeof MathMLElement&&e instanceof MathMLElement)return"mathml"}(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t};const xs="undefined"!=typeof document;const Ss=Object.assign;function Cs(e,t){const n={};for(const o in t){const r=t[o];n[o]=ks(r)?r.map(e):e(r)}return n}const Ts=()=>{},ks=Array.isArray,Es=/#/g,$s=/&/g,Os=/\//g,Ls=/=/g,As=/\?/g,Ps=/\+/g,Is=/%5B/g,js=/%5D/g,Rs=/%5E/g,Bs=/%60/g,Ms=/%7B/g,Ns=/%7C/g,Fs=/%7D/g,Vs=/%20/g;function Ds(e){return encodeURI(""+e).replace(Ns,"|").replace(Is,"[").replace(js,"]")}function qs(e){return Ds(e).replace(Ps,"%2B").replace(Vs,"+").replace(Es,"%23").replace($s,"%26").replace(Bs,"`").replace(Ms,"{").replace(Fs,"}").replace(Rs,"^")}function Ws(e){return null==e?"":function(e){return Ds(e).replace(Es,"%23").replace(As,"%3F")}(e).replace(Os,"%2F")}function Hs(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}const zs=/\/$/;function Us(e,t,n="/"){let o,r={},i="",s="";const a=t.indexOf("#");let l=t.indexOf("?");return a=0&&(l=-1),l>-1&&(o=t.slice(0,l),i=t.slice(l+1,a>-1?a:t.length),r=e(i)),a>-1&&(o=o||t.slice(0,a),s=t.slice(a,t.length)),o=function(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),o=e.split("/"),r=o[o.length-1];".."!==r&&"."!==r||o.push("");let i,s,a=n.length-1;for(i=0;i1&&a--}return n.slice(0,a).join("/")+"/"+o.slice(i).join("/")}(null!=o?o:t,n),{fullPath:o+(i&&"?")+i+s,path:o,query:r,hash:Hs(s)}}function Gs(e,t){return t&&e.toLowerCase().startsWith(t.toLowerCase())?e.slice(t.length)||"/":e}function Xs(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Ks(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Ys(e[n],t[n]))return!1;return!0}function Ys(e,t){return ks(e)?Js(e,t):ks(t)?Js(t,e):e===t}function Js(e,t){return ks(t)?e.length===t.length&&e.every(((e,n)=>e===t[n])):1===e.length&&e[0]===t}var Zs,Qs,ea,ta;function na(e){if(!e)if(xs){const t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return"/"!==e[0]&&"#"!==e[0]&&(e="/"+e),e.replace(zs,"")}(Qs=Zs||(Zs={})).pop="pop",Qs.push="push",(ta=ea||(ea={})).back="back",ta.forward="forward",ta.unknown="";const oa=/^[^#]+#/;function ra(e,t){return e.replace(oa,"#")+t}const ia=()=>({left:window.scrollX,top:window.scrollY});function sa(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=function(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)}}(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(null!=t.left?t.left:window.scrollX,null!=t.top?t.top:window.scrollY)}function aa(e,t){return(history.state?history.state.position-t:-1)+e}const la=new Map;function ca(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),Gs(n,"")}return Gs(n,e)+o+r}function ua(e,t,n,o=!1,r=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:r?ia():null}}function fa(e){const{history:t,location:n}=window,o={value:ca(e,n)},r={value:t.state};function i(o,i,s){const a=e.indexOf("#"),l=a>-1?(n.host&&document.querySelector("base")?e:e.slice(a))+o:location.protocol+"//"+location.host+e+o;try{t[s?"replaceState":"pushState"](i,"",l),r.value=i}catch(c){console.error(c),n[s?"replace":"assign"](l)}}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 s=Ss({},r.value,t.state,{forward:e,scroll:ia()});i(s.current,s,!0),i(e,Ss({},ua(o.value,e,null),{position:s.position+1},n),!1),o.value=e},replace:function(e,n){i(e,Ss({},t.state,ua(r.value.back,e,r.value.forward,!0),n,{position:r.value.position}),!0),o.value=e}}}function da(e){const t=fa(e=na(e)),n=function(e,t,n,o){let r=[],i=[],s=null;const a=({state:i})=>{const a=ca(e,location),l=n.value,c=t.value;let u=0;if(i){if(n.value=a,t.value=i,s&&s===l)return void(s=null);u=c?i.position-c.position:0}else o(a);r.forEach((e=>{e(n.value,l,{delta:u,type:Zs.pop,direction:u?u>0?ea.forward:ea.back:ea.unknown})}))};function l(){const{history:e}=window;e.state&&e.replaceState(Ss({},e.state,{scroll:ia()}),"")}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",l,{passive:!0}),{pauseListeners:function(){s=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",a),window.removeEventListener("beforeunload",l)}}}(e,t.state,t.location,t.replace);const o=Ss({location:"",base:e,go:function(e,t=!0){t||n.pauseListeners(),history.go(e)},createHref:ra.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 pa(e){return"string"==typeof e||"symbol"==typeof e}const ha={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},ga=Symbol("");var ma,va;function ya(e,t){return Ss(new Error,{type:e,[ga]:!0},t)}function ba(e,t){return e instanceof Error&&ga in e&&(null==t||!!(e.type&t))}(va=ma||(ma={}))[va.aborted=4]="aborted",va[va.cancelled=8]="cancelled",va[va.duplicated=16]="duplicated";const _a={sensitive:!1,strict:!1,start:!0,end:!0},wa=/[.+*?^${}()[\]/\\]/g;function xa(e,t){let n=0;for(;nt.length?1===t.length&&80===t[0]?1:-1:0}function Sa(e,t){let n=0;const o=e.score,r=t.score;for(;n0&&t[t.length-1]<0}const Ta={type:0,value:""},ka=/[a-zA-Z0-9_]/;function Ea(e,t,n){const o=function(e,t){const n=Ss({},_a,t),o=[];let r=n.start?"^":"";const i=[];for(const l of e){const e=l.length?[]:[90];n.strict&&!l.length&&(r+="/");for(let t=0;t1&&("*"===a||"+"===a)&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:c,regexp:u,repeatable:"*"===a||"+"===a,optional:"*"===a||"?"===a})):t("Invalid state to consume buffer"),c="")}function d(){c+=a}for(;l{i(d)}:Ts}function i(e){if(pa(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 s(e){let t=0;for(;t=0&&(e.record.path!==n[t].record.path||!ja(e,n[t]));)t++;n.splice(t,0,e),e.record.name&&!Aa(e)&&o.set(e.record.name,e)}return t=Ia({strict:!1,end:!0,sensitive:!1},t),e.forEach((e=>r(e))),{addRoute:r,resolve:function(e,t){let r,i,s,a={};if("name"in e&&e.name){if(r=o.get(e.name),!r)throw ya(1,{location:e});s=r.record.name,a=Ss(Oa(t.params,r.keys.filter((e=>!e.optional)).concat(r.parent?r.parent.keys.filter((e=>e.optional)):[]).map((e=>e.name))),e.params&&Oa(e.params,r.keys.map((e=>e.name)))),i=r.stringify(a)}else if(null!=e.path)i=e.path,r=n.find((e=>e.re.test(i))),r&&(a=r.parse(i),s=r.record.name);else{if(r=t.name?o.get(t.name):n.find((e=>e.re.test(t.path))),!r)throw ya(1,{location:e,currentLocation:t});s=r.record.name,a=Ss({},t.params,e.params),i=r.stringify(a)}const l=[];let c=r;for(;c;)l.unshift(c.record),c=c.parent;return{name:s,path:i,params:a,matched:l,meta:Pa(l)}},removeRoute:i,getRoutes:function(){return n},getRecordMatcher:function(e){return o.get(e)}}}function Oa(e,t){const n={};for(const o of t)o in e&&(n[o]=e[o]);return n}function La(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const o in e.components)t[o]="object"==typeof n?n[o]:n;return t}function Aa(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Pa(e){return e.reduce(((e,t)=>Ss(e,t.meta)),{})}function Ia(e,t){const n={};for(const o in e)n[o]=o in t?t[o]:e[o];return n}function ja(e,t){return t.children.some((t=>t===e||ja(e,t)))}function Ra(e){const t={};if(""===e||"?"===e)return t;const n=("?"===e[0]?e.slice(1):e).split("&");for(let o=0;oe&&qs(e))):[o&&qs(o)]).forEach((e=>{void 0!==e&&(t+=(t.length?"&":"")+n,null!=e&&(t+="="+e))}))}return t}function Ma(e){const t={};for(const n in e){const o=e[n];void 0!==o&&(t[n]=ks(o)?o.map((e=>null==e?null:""+e)):null==o?o:""+o)}return t}const Na=Symbol(""),Fa=Symbol(""),Va=Symbol(""),Da=Symbol(""),qa=Symbol("");function Wa(){let e=[];return{add:function(t){return e.push(t),()=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)}},list:()=>e.slice(),reset:function(){e=[]}}}function Ha(e,t,n,o,r,i=(e=>e())){const s=o&&(o.enterCallbacks[r]=o.enterCallbacks[r]||[]);return()=>new Promise(((a,l)=>{const c=e=>{var i;!1===e?l(ya(4,{from:n,to:t})):e instanceof Error?l(e):"string"==typeof(i=e)||i&&"object"==typeof i?l(ya(2,{from:t,to:e})):(s&&o.enterCallbacks[r]===s&&"function"==typeof e&&s.push(e),a())},u=i((()=>e.call(o&&o.instances[r],t,n,c)));let f=Promise.resolve(u);e.length<3&&(f=f.then(c)),f.catch((e=>l(e)))}))}function za(e,t,n,o,r=(e=>e())){const i=[];for(const a of e)for(const e in a.components){let l=a.components[e];if("beforeRouteEnter"===t||a.instances[e])if("object"==typeof(s=l)||"displayName"in s||"props"in s||"__vccOpts"in s){const s=(l.__vccOpts||l)[t];s&&i.push(Ha(s,n,o,a,e,r))}else{let s=l();i.push((()=>s.then((i=>{if(!i)return Promise.reject(new Error(`Couldn't resolve component "${e}" at "${a.path}"`));const s=(l=i).__esModule||"Module"===l[Symbol.toStringTag]?i.default:i;var l;a.components[e]=s;const c=(s.__vccOpts||s)[t];return c&&Ha(c,n,o,a,e,r)()}))))}}var s;return i}function Ua(e){const t=vr(Va),n=vr(Da),o=Ci((()=>t.resolve(an(e.to)))),r=Ci((()=>{const{matched:e}=o.value,{length:t}=e,r=e[t-1],i=n.matched;if(!r||!i.length)return-1;const s=i.findIndex(Xs.bind(null,r));if(s>-1)return s;const a=Xa(e[t-2]);return t>1&&Xa(r)===a&&i[i.length-1].path!==a?i.findIndex(Xs.bind(null,e[t-2])):s})),i=Ci((()=>r.value>-1&&function(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(!ks(r)||r.length!==o.length||o.some(((e,t)=>e!==r[t])))return!1}return!0}(n.params,o.value.params))),s=Ci((()=>r.value>-1&&r.value===n.matched.length-1&&Ks(n.params,o.value.params)));return{route:o,href:Ci((()=>o.value.href)),isActive:i,isExactActive:s,navigate:function(n={}){return function(e){if(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)return;if(e.defaultPrevented)return;if(void 0!==e.button&&0!==e.button)return;if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}e.preventDefault&&e.preventDefault();return!0}(n)?t[an(e.replace)?"replace":"push"](an(e.to)).catch(Ts):Promise.resolve()}}}const Ga=vo({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:Ua,setup(e,{slots:t}){const n=Dt(Ua(e)),{options:o}=vr(Va),r=Ci((()=>({[Ka(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[Ka(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive})));return()=>{const o=t.default&&t.default(n);return e.custom?o:Ti("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}});function Xa(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Ka=(e,t,n)=>null!=e?e:null!=t?t:n;function Ya(e,t){if(!e)return null;const n=e(t);return 1===n.length?n[0]:n}const Ja=vo({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=vr(qa),r=Ci((()=>e.route||o.value)),i=vr(Fa,0),s=Ci((()=>{let e=an(i);const{matched:t}=r.value;let n;for(;(n=t[e])&&!n.components;)e++;return e})),a=Ci((()=>r.value.matched[s.value]));mr(Fa,Ci((()=>s.value+1))),mr(Na,a),mr(qa,r);const l=on();return Zn((()=>[l.value,a.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&&Xs(t,r)&&o||(t.enterCallbacks[n]||[]).forEach((t=>t(e)))}),{flush:"post"}),()=>{const o=r.value,i=e.name,s=a.value,c=s&&s.components[i];if(!c)return Ya(n.default,{Component:c,route:o});const u=s.props[i],f=u?!0===u?o.params:"function"==typeof u?u(o):u:null,d=Ti(c,Ss({},f,t,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(s.instances[i]=null)},ref:l}));return Ya(n.default,{Component:d,route:o})||d}}});function Za(e){const t=$a(e.routes,e),n=e.parseQuery||Ra,o=e.stringifyQuery||Ba,r=e.history,i=Wa(),s=Wa(),a=Wa(),l=rn(ha,!0);let c=ha;xs&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Cs.bind(null,(e=>""+e)),f=Cs.bind(null,Ws),d=Cs.bind(null,Hs);function p(e,i){if(i=Ss({},i||l.value),"string"==typeof e){const o=Us(n,e,i.path),s=t.resolve({path:o.path},i),a=r.createHref(o.fullPath);return Ss(o,s,{params:d(s.params),hash:Hs(o.hash),redirectedFrom:void 0,href:a})}let s;if(null!=e.path)s=Ss({},e,{path:Us(n,e.path,i.path).path});else{const t=Ss({},e.params);for(const e in t)null==t[e]&&delete t[e];s=Ss({},e,{params:f(t)}),i.params=f(i.params)}const a=t.resolve(s,i),c=e.hash||"";a.params=u(d(a.params));const p=function(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}(o,Ss({},e,{hash:(h=c,Ds(h).replace(Ms,"{").replace(Fs,"}").replace(Rs,"^")),path:a.path}));var h;const g=r.createHref(p);return Ss({fullPath:p,hash:c,query:o===Ba?Ma(e.query):e.query||{}},a,{redirectedFrom:void 0,href:g})}function h(e){return"string"==typeof e?Us(n,e,l.value.path):Ss({},e)}function g(e,t){if(c!==e)return ya(8,{from:t,to:e})}function m(e){return y(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={}),Ss({query:e.query,hash:e.hash,params:null!=o.path?{}:e.params},o)}}function y(e,t){const n=c=p(e),r=l.value,i=e.state,s=e.force,a=!0===e.replace,u=v(n);if(u)return y(Ss(h(u),{state:"object"==typeof u?Ss({},i,u.state):i,force:s,replace:a}),t||n);const f=n;let d;return f.redirectedFrom=t,!s&&function(e,t,n){const o=t.matched.length-1,r=n.matched.length-1;return o>-1&&o===r&&Xs(t.matched[o],n.matched[r])&&Ks(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}(o,r,n)&&(d=ya(16,{to:f,from:r}),A(r,r,!0,!1)),(d?Promise.resolve(d):w(f,r)).catch((e=>ba(e)?ba(e,2)?e:L(e):O(e,f,r))).then((e=>{if(e){if(ba(e,2))return y(Ss({replace:a},h(e.to),{state:"object"==typeof e.to?Ss({},i,e.to.state):i,force:s}),t||f)}else e=S(f,r,!0,a,i);return x(f,r,e),e}))}function b(e,t){const n=g(e,t);return n?Promise.reject(n):Promise.resolve()}function _(e){const t=j.values().next().value;return t&&"function"==typeof t.runWithContext?t.runWithContext(e):e()}function w(e,t){let n;const[o,r,a]=function(e,t){const n=[],o=[],r=[],i=Math.max(t.matched.length,e.matched.length);for(let s=0;sXs(e,i)))?o.push(i):n.push(i));const a=e.matched[s];a&&(t.matched.find((e=>Xs(e,a)))||r.push(a))}return[n,o,r]}(e,t);n=za(o.reverse(),"beforeRouteLeave",e,t);for(const i of o)i.leaveGuards.forEach((o=>{n.push(Ha(o,e,t))}));const l=b.bind(null,e,t);return n.push(l),B(n).then((()=>{n=[];for(const o of i.list())n.push(Ha(o,e,t));return n.push(l),B(n)})).then((()=>{n=za(r,"beforeRouteUpdate",e,t);for(const o of r)o.updateGuards.forEach((o=>{n.push(Ha(o,e,t))}));return n.push(l),B(n)})).then((()=>{n=[];for(const o of a)if(o.beforeEnter)if(ks(o.beforeEnter))for(const r of o.beforeEnter)n.push(Ha(r,e,t));else n.push(Ha(o.beforeEnter,e,t));return n.push(l),B(n)})).then((()=>(e.matched.forEach((e=>e.enterCallbacks={})),n=za(a,"beforeRouteEnter",e,t,_),n.push(l),B(n)))).then((()=>{n=[];for(const o of s.list())n.push(Ha(o,e,t));return n.push(l),B(n)})).catch((e=>ba(e,8)?e:Promise.reject(e)))}function x(e,t,n){a.list().forEach((o=>_((()=>o(e,t,n)))))}function S(e,t,n,o,i){const s=g(e,t);if(s)return s;const a=t===ha,c=xs?history.state:{};n&&(o||a?r.replace(e.fullPath,Ss({scroll:a&&c&&c.scroll},i)):r.push(e.fullPath,i)),l.value=e,A(e,t,n,a),L()}let C;function T(){C||(C=r.listen(((e,t,n)=>{if(!R.listening)return;const o=p(e),i=v(o);if(i)return void y(Ss(i,{replace:!0}),o).catch(Ts);c=o;const s=l.value;var a,u;xs&&(a=aa(s.fullPath,n.delta),u=ia(),la.set(a,u)),w(o,s).catch((e=>ba(e,12)?e:ba(e,2)?(y(e.to,o).then((e=>{ba(e,20)&&!n.delta&&n.type===Zs.pop&&r.go(-1,!1)})).catch(Ts),Promise.reject()):(n.delta&&r.go(-n.delta,!1),O(e,o,s)))).then((e=>{(e=e||S(o,s,!1))&&(n.delta&&!ba(e,8)?r.go(-n.delta,!1):n.type===Zs.pop&&ba(e,20)&&r.go(-1,!1)),x(o,s,e)})).catch(Ts)})))}let k,E=Wa(),$=Wa();function O(e,t,n){L(e);const o=$.list();return o.length?o.forEach((o=>o(e,t,n))):console.error(e),Promise.reject(e)}function L(e){return k||(k=!e,T(),E.list().forEach((([t,n])=>e?n(e):t())),E.reset()),e}function A(t,n,o,r){const{scrollBehavior:i}=e;if(!xs||!i)return Promise.resolve();const s=!o&&function(e){const t=la.get(e);return la.delete(e),t}(aa(t.fullPath,0))||(r||!o)&&history.state&&history.state.scroll||null;return Sn().then((()=>i(t,n,s))).then((e=>e&&sa(e))).catch((e=>O(e,t,n)))}const P=e=>r.go(e);let I;const j=new Set,R={currentRoute:l,listening:!0,addRoute:function(e,n){let o,r;return pa(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(Ss(h(e),{replace:!0}))},go:P,back:()=>P(-1),forward:()=>P(1),beforeEach:i.add,beforeResolve:s.add,afterEach:a.add,onError:$.add,isReady:function(){return k&&l.value!==ha?Promise.resolve():new Promise(((e,t)=>{E.add([e,t])}))},install(e){e.component("RouterLink",Ga),e.component("RouterView",Ja),e.config.globalProperties.$router=this,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>an(l)}),xs&&!I&&l.value===ha&&(I=!0,m(r.location).catch((e=>{})));const t={};for(const o in ha)Object.defineProperty(t,o,{get:()=>l.value[o],enumerable:!0});e.provide(Va,this),e.provide(Da,qt(t)),e.provide(qa,l);const n=e.unmount;j.add(e),e.unmount=function(){j.delete(e),j.size<1&&(c=ha,C&&C(),C=null,l.value=ha,I=!1,k=!1),n()}}};function B(e){return e.reduce(((e,t)=>e.then((()=>_(t)))),Promise.resolve())}return R}function Qa(){return vr(Da)}const el=["{","}"];const tl=/^(?:\d)+/,nl=/^(?:\w)+/;const ol=Object.prototype.hasOwnProperty,rl=(e,t)=>ol.call(e,t),il=new class{constructor(){this._caches=Object.create(null)}interpolate(e,t,n=el){if(!t)return[e];let o=this._caches[e];return o||(o=function(e,[t,n]){const o=[];let r=0,i="";for(;r-1?"zh-Hans":e.indexOf("-hant")>-1?"zh-Hant":(n=e,["-tw","-hk","-mo","-cht"].find((e=>-1!==n.indexOf(e)))?"zh-Hant":"zh-Hans");var n;let o=["en","fr","es"];t&&Object.keys(t).length>0&&(o=Object.keys(t));const r=function(e,t){return t.find((t=>0===e.indexOf(t)))}(e,o);return r||void 0}class al{constructor({locale:e,fallbackLocale:t,messages:n,watcher:o,formater:r}){this.locale="en",this.fallbackLocale="en",this.message={},this.messages={},this.watchers=[],t&&(this.fallbackLocale=t),this.formater=r||il,this.messages=n||{},this.setLocale(e||"en"),o&&this.watchLocale(o)}setLocale(e){const t=this.locale;this.locale=sl(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=>{rl(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=sl(t,this.messages))&&(o=this.messages[t]):n=t,rl(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 ll(e,t={},n,o){if("string"!=typeof e){const n=[t,e];e=n[0],t=n[1]}"string"!=typeof e&&(e="undefined"!=typeof uni&&rf?rf():"undefined"!=typeof global&&global.getLocale?global.getLocale():"en"),"string"!=typeof n&&(n="undefined"!=typeof __uniConfig&&__uniConfig.fallbackLocale||"en");const r=new al({locale:e,fallbackLocale:n,messages:t,watcher:o});let i=(e,t)=>{{let e=!1;i=function(t,n){const o=Sp().$vm;return o&&(o.$locale,e||(e=!0,function(e,t){e.$watchLocale?e.$watchLocale((e=>{t.setLocale(e)})):e.$watch((()=>e.$locale),(e=>{t.setLocale(e)}))}(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)}}const cl=ie((()=>"undefined"!=typeof __uniConfig&&__uniConfig.locales&&!!Object.keys(__uniConfig.locales).length));let ul;function fl(){if(!ul){let e;if(e=navigator.cookieEnabled&&window.localStorage&&localStorage.UNI_LOCALE||__uniConfig.locale||navigator.language,ul=ll(e),cl()){const t=Object.keys(__uniConfig.locales||{});t.length&&t.forEach((e=>ul.add(e,__uniConfig.locales[e]))),ul.setLocale(e)}}return ul}function dl(e,t,n){return t.reduce(((t,o,r)=>(t[e+o]=n[r],t)),{})}const pl=ie((()=>{const e="uni.async.",t=["error"];fl().add("en",dl(e,t,["The connection timed out, click the screen to try again."]),!1),fl().add("es",dl(e,t,["Se agotó el tiempo de conexión, haga clic en la pantalla para volver a intentarlo."]),!1),fl().add("fr",dl(e,t,["La connexion a expiré, cliquez sur l'écran pour réessayer."]),!1),fl().add("zh-Hans",dl(e,t,["连接服务器超时,点击屏幕重试"]),!1),fl().add("zh-Hant",dl(e,t,["連接服務器超時,點擊屏幕重試"]),!1)})),hl=ie((()=>{const e="uni.showToast.",t=["unpaired"];fl().add("en",dl(e,t,["Please note showToast must be paired with hideToast"]),!1),fl().add("es",dl(e,t,["Tenga en cuenta que showToast debe estar emparejado con hideToast"]),!1),fl().add("fr",dl(e,t,["Veuillez noter que showToast doit être associé à hideToast"]),!1),fl().add("zh-Hans",dl(e,t,["请注意 showToast 与 hideToast 必须配对使用"]),!1),fl().add("zh-Hant",dl(e,t,["請注意 showToast 與 hideToast 必須配對使用"]),!1)})),gl=ie((()=>{const e="uni.showLoading.",t=["unpaired"];fl().add("en",dl(e,t,["Please note showLoading must be paired with hideLoading"]),!1),fl().add("es",dl(e,t,["Tenga en cuenta que showLoading debe estar emparejado con hideLoading"]),!1),fl().add("fr",dl(e,t,["Veuillez noter que showLoading doit être associé à hideLoading"]),!1),fl().add("zh-Hans",dl(e,t,["请注意 showLoading 与 hideLoading 必须配对使用"]),!1),fl().add("zh-Hant",dl(e,t,["請注意 showLoading 與 hideLoading 必須配對使用"]),!1)}));function ml(e){const t=new Le;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)}}}let vl=1;const yl=Object.create(null);function bl(e,t){return e+"."+t}function _l({id:e,name:t,args:n},o){t=bl(o,t);const r=t=>{e&&yh.publishHandler("invokeViewApi."+e,t)},i=yl[t];i?i(n,r):r({})}const wl=c(ml("service"),{invokeServiceMethod:(e,t,n)=>{const{subscribe:o,publishHandler:r}=yh,i=n?vl++:0;n&&o("invokeServiceApi."+i,n,!0),r("invokeServiceApi",{id:i,name:e,args:t})}}),xl=ve(!0);let Sl;function Cl(){Sl&&(clearTimeout(Sl),Sl=null)}let Tl=0,kl=0;function El(e){if(Cl(),1!==e.touches.length)return;const{pageX:t,pageY:n}=e.touches[0];Tl=t,kl=n,Sl=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)}),350)}function $l(e){if(!Sl)return;if(1!==e.touches.length)return Cl();const{pageX:t,pageY:n}=e.touches[0];return Math.abs(t-Tl)>10||Math.abs(n-kl)>10?Cl():void 0}function Ol(e,t){const n=Number(e);return isNaN(n)?t:n}function Ll(){const e=__uniConfig.globalStyle||{},t=Ol(e.rpxCalcMaxDeviceWidth,960),n=Ol(e.rpxCalcBaseDeviceWidth,375);function o(){let e=function(){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}();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 Al(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Pl,Il,jl=["top","left","right","bottom"],Rl={};function Bl(){return Il="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 Ml(){if(Il="string"==typeof Il?Il:Bl()){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"}),jl.forEach((function(e){s(o,e)})),document.body.appendChild(o),i(),Pl=!0}else jl.forEach((function(e){Rl[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 s(e,n){var o=document.createElement("div"),s=document.createElement("div"),a=document.createElement("div"),l=document.createElement("div"),c={position:"absolute",width:"100px",height:"200px",boxSizing:"border-box",overflow:"hidden",paddingBottom:Il+"(safe-area-inset-"+n+")"};r(o,c),r(s,c),r(a,{transition:"0s",animation:"none",width:"400px",height:"400px"}),r(l,{transition:"0s",animation:"none",width:"250%",height:"250%"}),o.appendChild(a),s.appendChild(l),e.appendChild(o),e.appendChild(s),i((function(){o.scrollTop=s.scrollTop=1e4;var e=o.scrollTop,r=s.scrollTop;function i(){this.scrollTop!==(this===o?e:r)&&(o.scrollTop=s.scrollTop=1e4,e=o.scrollTop,r=s.scrollTop,function(e){Fl.length||setTimeout((function(){var e={};Fl.forEach((function(t){e[t]=Rl[t]})),Fl.length=0,Vl.forEach((function(t){t(e)}))}),0);Fl.push(e)}(n))}o.addEventListener("scroll",i,t),s.addEventListener("scroll",i,t)}));var u=getComputedStyle(o);Object.defineProperty(Rl,n,{configurable:!0,get:function(){return parseFloat(u.paddingBottom)}})}}function Nl(e){return Pl||Ml(),Rl[e]}var Fl=[];var Vl=[];const Dl=Al({get support(){return 0!=("string"==typeof Il?Il:Bl()).length},get top(){return Nl("top")},get left(){return Nl("left")},get right(){return Nl("right")},get bottom(){return Nl("bottom")},onChange:function(e){Bl()&&(Pl||Ml(),"function"==typeof e&&Vl.push(e))},offChange:function(e){var t=Vl.indexOf(e);t>=0&&Vl.splice(t,1)}}),ql=ys((()=>{}),["prevent"]);function Wl(e,t){return parseInt((e.getPropertyValue(t).match(/\d+/)||["0"])[0])}function Hl(){const e=Wl(document.documentElement.style,"--window-top");return e?e+Dl.top:0}function zl(){const e=document.documentElement.style,t=Hl(),n=Wl(e,"--window-bottom"),o=Wl(e,"--window-left"),r=Wl(e,"--window-right"),i=Wl(e,"--top-window-height");return{top:t,bottom:n?n+Dl.bottom:0,left:o?o+Dl.left:0,right:r?r+Dl.right:0,topWindowHeight:i||0}}function Ul(e){const t=document.documentElement.style;Object.keys(e).forEach((n=>{t.setProperty(n,e[n])}))}function Gl(e){return Symbol(e)}function Xl(e){return e.$page}function Kl(e){return 0===e.tagName.indexOf("UNI-")}const Yl="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",Jl="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 Zl(e,t="#000",n=27){return ti("svg",{width:n,height:n,viewBox:"0 0 32 32"},[ti("path",{d:e,fill:t},null,8,["d","fill"])],8,["width","height"])}function Ql(){{const{$pageInstance:e}=pi();return e&&ac(e.proxy)}}function ec(){const e=Gf(),t=e.length;if(t)return e[t-1]}function tc(){var e;const t=null==(e=ec())?void 0:e.$page;if(t)return t.meta}function nc(){const e=tc();return e?e.id:-1}function oc(){const e=ec();if(e)return e.$vm}const rc=["navigationBar","pullToRefresh"];function ic(e,t){const n=JSON.parse(JSON.stringify(__uniConfig.globalStyle||{})),o=c({id:t},n,e);rc.forEach((t=>{o[t]=c({},n[t],e[t])}));const{navigationBar:r}=o;return r.titleText&&r.titleImage&&(r.titleText=""),o}function sc(e,t,n,o,r,i){const{id:s,route:a}=o,l=Ie(o.navigationBar,__uniConfig.themeConfig,i).titleColor;return{id:s,path:re(a),route:a,fullPath:t,options:n,meta:o,openType:e,eventChannel:r,statusBarStyle:"#ffffff"===l?"light":"dark"}}function ac(e){var t,n;return(null==(t=e.$page)?void 0:t.id)||(null==(n=e.$basePage)?void 0:n.id)}function lc(e,t,n){if(v(e))n=t,t=e,e=oc();else if("number"==typeof e){const t=Gf().find((t=>Xl(t).id===e));e=t?t.$vm:oc()}if(!e)return;const o=e.$[t];return o&&((e,t)=>{let n;for(let o=0;o{function s(){if((()=>{const{scrollHeight:e}=document.documentElement,t=window.innerHeight,o=window.scrollY,i=o>0&&e>t&&o+t+n>=e,s=Math.abs(e-fc)>n;return!i||r&&!s?(!i&&r&&(r=!1),!1):(fc=e,r=!0,!0)})())return t&&t(),i=!1,setTimeout((function(){i=!0}),350),!0}e&&e(window.pageYOffset),t&&i&&(s()||(uc=setTimeout(s,300))),o=!1};return function(){clearTimeout(uc),o||requestAnimationFrame(s),o=!0}}function pc(e,t){if(0===t.indexOf("/"))return t;if(0===t.indexOf("./"))return pc(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),re(i.concat(n).join("/"))}function hc(e,t=!1){return t?__uniRoutes.find((t=>t.path===e||t.alias===e)):__uniRoutes.find((t=>t.path===e))}function gc(){Ll(),he(Kl),window.addEventListener("touchstart",El,xl),window.addEventListener("touchmove",$l,xl),window.addEventListener("touchend",Cl,xl),window.addEventListener("touchcancel",Cl,xl)}class mc{constructor(e){this.$bindClass=!1,this.$bindStyle=!1,this.$vm=e,this.$el=function(e,t=!1){const{vnode:n}=e;if(ue(n.el))return t?n.el?[n.el]:[]:n.el;const{subTree:o}=e;if(16&o.shapeFlag){const e=o.children.filter((e=>e.el&&ue(e.el)));if(e.length>0)return t?e.map((e=>e.el)):e[0].el}return t?n.el?[n.el]:[]:n.el}(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=_c(this.$el.querySelector(e));return t?vc(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];m(n)?n(JSON.parse(JSON.stringify(t))):this.$vm.ownerId&&yh.publishHandler("onWxsInvokeCallMethod",{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 vc(e,t=!0){if(t&&e&&(e=ce(e.$)),e&&e.$el)return e.$el.__wxsComponentDescriptor||(e.$el.__wxsComponentDescriptor=new mc(e)),e.$el.__wxsComponentDescriptor}function yc(e,t){return vc(e,t)}function bc(e,t,n,o=!0){if(t){e.__instance||(e.__instance=!0,Object.defineProperty(e,"instance",{get:()=>yc(n.proxy,!1)}));const r=function(e,t,n=!0){if(!t)return!1;if(n&&e.length<2)return!1;const o=ce(t);if(!o)return!1;const r=o.$.type;return!(!r.$wxs&&!r.$renderjs)&&o}(t,n,o);if(r)return[e,yc(r,!1)]}}function _c(e){if(e)return e.__vueParentComponent&&e.__vueParentComponent.proxy}function wc(e,t=!1){const{type:n,timeStamp:o,target:r,currentTarget:i}=e;let s,a;s=ye(t?r:function(e){for(;!Kl(e);)e=e.parentElement;return e}(r)),a=ye(i);const l={type:n,timeStamp:o,target:s,detail:{},currentTarget:a};return e instanceof CustomEvent&&S(e.detail)&&(l.detail=e.detail),e._stopped&&(l._stopped=!0),e.type.startsWith("touch")&&(l.touches=e.touches,l.changedTouches=e.changedTouches),function(e,t){c(e,{preventDefault:()=>t.preventDefault(),stopPropagation:()=>t.stopPropagation()})}(l,e),l}function xc(e,t){return{force:1,identifier:0,clientX:e.clientX,clientY:e.clientY-t,pageX:e.pageX,pageY:e.pageY-t}}function Sc(e,t){const n=[];for(let o=0;o0===e.type.indexOf("mouse")||["contextmenu"].includes(e.type))(e))!function(e,t){const n=Hl();e.pageX=t.pageX,e.pageY=t.pageY-n,e.clientX=t.clientX,e.clientY=t.clientY-n,e.touches=e.changedTouches=[xc(t,n)]}(i,e);else if((e=>"undefined"!=typeof TouchEvent&&e instanceof TouchEvent||0===e.type.indexOf("touch")||["longpress"].indexOf(e.type)>=0)(e)){const t=Hl();i.touches=Sc(e.touches,t),i.changedTouches=Sc(e.changedTouches,t)}else if((e=>!e.type.indexOf("key")&&e instanceof KeyboardEvent)(e)){["key","code"].forEach((t=>{Object.defineProperty(i,t,{get:()=>e[t]})}))}return bc(i,t,n)||[i]},createNativeEvent:wc},Symbol.toStringTag,{value:"Module"});function Tc(e){!function(e){const t=e.globalProperties;c(t,Cc),t.$gcd=yc}(e._context.config)}let kc=1;function Ec(e){return(e||nc())+".invokeViewApi"}const $c=c(ml("view"),{invokeOnCallback:(e,t)=>bh.emit("api."+e,t),invokeViewMethod:(e,t,n,o)=>{const{subscribe:r,publishHandler:i}=bh,s=o?kc++:0;o&&r("invokeViewApi."+s,o,!0),i(Ec(n),{id:s,name:e,args:t},n)},invokeViewMethodKeepAlive:(e,t,n,o)=>{const{subscribe:r,unsubscribe:i,publishHandler:s}=bh,a=kc++,l="invokeViewApi."+a;return r(l,n),s(Ec(o),{id:a,name:e,args:t},o),()=>{i(l)}}});function Oc(e){lc(ec(),"onResize",e),bh.invokeOnCallback("onWindowResize",e)}function Lc(e){const t=ec();lc(Sp(),"onShow",e),lc(t,"onShow")}function Ac(){lc(Sp(),"onHide"),lc(ec(),"onHide")}const Pc=["onPageScroll","onReachBottom"];function Ic(){Pc.forEach((e=>bh.subscribe(e,function(e){return(t,n)=>{lc(parseInt(n),e,t)}}(e))))}function jc(){!function(){const{on:e}=bh;e("onResize",Oc),e("onAppEnterForeground",Lc),e("onAppEnterBackground",Ac)}(),Ic()}function Rc(){if(this.$route){const e=this.$route.meta;return e.eventChannel||(e.eventChannel=new Ce(this.$page.id)),e.eventChannel}}function Bc(e){e._context.config.globalProperties.getOpenerEventChannel=Rc}function Mc(){return{path:"",query:{},scene:1001,referrerInfo:{appId:"",extraData:{}}}}function Nc(e){return/^-?\d+[ur]px$/i.test(e)?e.replace(/(^-?\d+)[ur]px$/i,((e,t)=>`${Vu(parseFloat(t))}px`)):/^-?[\d\.]+$/.test(e)?`${e}px`:e||""}function Fc(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],s=t.option.transition,a=function(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,s=e.option,a=s.transition,l={},c=[];return i.forEach((e=>{let i=e.type,s=[...e.args];if(t.concat(n).includes(i))i.startsWith("rotate")||i.startsWith("skew")?s=s.map((e=>parseFloat(e)+"deg")):i.startsWith("translate")&&(s=s.map(Nc)),n.indexOf(i)>=0&&(s.length=1),c.push(`${i}(${s.join(",")})`);else if(o.concat(r).includes(s[0])){i=s[0];const e=s[1];l[i]=r.includes(i)?Nc(e):e}})),l.transform=l.webkitTransform=c.join(" "),l.transition=l.webkitTransition=Object.keys(l).map((e=>`${function(e){return e.replace(/[A-Z]/g,(e=>`-${e.toLowerCase()}`)).replace("webkit","-webkit")}(e)} ${a.duration}ms ${a.timingFunction} ${a.delay}ms`)).join(","),l.transformOrigin=l.webkitTransformOrigin=s.transformOrigin,l}(t);Object.keys(a).forEach((t=>{e.$el.style[t]=a[t]})),n+=1,n{i()}),0)}const Vc={props:["animation"],watch:{animation:{deep:!0,handler(){Fc(this)}}},mounted(){Fc(this)}},Dc=e=>{e.__reserved=!0;const{props:t,mixins:n}=e;return t&&t.animation||(n||(e.mixins=[])).push(Vc),qc(e)},qc=e=>(e.__reserved=!0,e.compatConfig={MODE:3},vo(e));function Wc(e){return e.__wwe=!0,e}function Hc(e,t){return(n,o,r)=>{e.value&&t(n,function(e,t,n,o){let r;return r=ye(n),{type:t.__evName||o.type||e,timeStamp:t.timeStamp||0,target:r,currentTarget:r,detail:o}}(n,o,e.value,r||{}))}}const zc={hoverClass:{type:String,default:"none"},hoverStopPropagation:{type:Boolean,default:!1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:400}};function Uc(e){const t=on(!1);let n,o,r=!1;function i(){requestAnimationFrame((()=>{clearTimeout(o),o=setTimeout((()=>{t.value=!1}),parseInt(e.hoverStayTime))}))}function s(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 a(){r=!1,t.value&&i()}function l(){a(),window.removeEventListener("mouseup",l)}return{hovering:t,binding:{onTouchstartPassive:Wc((function(e){e.touches.length>1||s(e)})),onMousedown:Wc((function(e){r||(s(e),window.addEventListener("mouseup",l))})),onTouchend:Wc((function(){a()})),onMouseup:Wc((function(){r&&l()})),onTouchcancel:Wc((function(){r=!1,t.value=!1,clearTimeout(n)}))}}}function Gc(e,t){return v(t)&&(t=[t]),t.reduce(((t,n)=>(e[n]&&(t[n]=!0),t)),Object.create(null))}const Xc=Gl("uf"),Kc=Gl("ul");function Yc(e,t,n){const o=Ql();n&&!e||S(t)&&Object.keys(t).forEach((r=>{n?0!==r.indexOf("@")&&0!==r.indexOf("uni-")&&yh.on(`uni-${r}-${o}-${e}`,t[r]):0===r.indexOf("uni-")?yh.on(r,t[r]):e&&yh.on(`uni-${r}-${o}-${e}`,t[r])}))}function Jc(e,t,n){const o=Ql();n&&!e||S(t)&&Object.keys(t).forEach((r=>{n?0!==r.indexOf("@")&&0!==r.indexOf("uni-")&&yh.off(`uni-${r}-${o}-${e}`,t[r]):0===r.indexOf("uni-")?yh.off(r,t[r]):e&&yh.off(`uni-${r}-${o}-${e}`,t[r])}))}const Zc=Dc({name:"Button",props:{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}},setup(e,{slots:t}){const n=on(null),o=vr(Xc,!1),{hovering:r,binding:i}=Uc(e),s=Wc(((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;})),a=vr(Kc,!1);return a&&(a.addHandler(s),Vo((()=>{a.removeHandler(s)}))),function(e,t){Yc(e.id,t),Zn((()=>e.id),((e,n)=>{Jc(n,t,!0),Yc(e,t,!0)})),Do((()=>{Jc(e.id,t)}))}(e,{"label-click":s}),()=>{const o=e.hoverClass,a=Gc(e,"disabled"),l=Gc(e,"loading"),c=Gc(e,"plain"),u=o&&"none"!==o;return ti("uni-button",li({ref:n,onClick:s,id:e.id,class:u&&r.value?o:""},u&&i,a,l,c),[t.default&&t.default()],16,["onClick","id"])}}}),Qc=Gl("upm");function eu(){return vr(Qc)}function tu(e){const t=function(e){return Dt(function(e){if(history.state){const t=history.state.__type__;"redirectTo"!==t&&"reLaunch"!==t||0!==Gf().length||(e.isEntry=!0,e.isQuit=!0)}return e}(JSON.parse(JSON.stringify(ic(Qa().meta,e)))))}(e);return mr(Qc,t),t}function nu(){return Qa()}function ou(){return history.state&&history.state.__id__||1}const ru=["GET","OPTIONS","HEAD","POST","PUT","DELETE","TRACE","CONNECT","PATCH"];function iu(e,t){return e&&-1!==t.indexOf(e)?e:t[0]}function su(e){return function(){try{return e.apply(e,arguments)}catch(t){console.error(t)}}}let au=1;const lu={};function cu(e,t,n){if("number"==typeof e){const o=lu[e];if(o)return o.keepAlive||delete lu[e],o.callback(t,n)}return t}const uu="success",fu="fail",du="complete";function pu(e,t={},{beforeAll:n,beforeSuccess:o}={}){S(t)||(t={});const{success:r,fail:i,complete:s}=function(e){const t={};for(const n in e){const o=e[n];m(o)&&(t[n]=su(o),delete e[n])}return t}(t),a=m(r),l=m(i),c=m(s),u=au++;return function(e,t,n,o=!1){lu[e]={name:t,keepAlive:o,callback:n}}(u,e,(u=>{(u=u||{}).errMsg=function(e,t){return e&&-1!==e.indexOf(":fail")?t+e.substring(e.indexOf(":fail")):t+":ok"}(u.errMsg,e),m(n)&&n(u),u.errMsg===e+":ok"?(m(o)&&o(u,t),a&&r(u)):l&&i(u),c&&s(u)})),u}const hu="success",gu="fail",mu="complete",vu={},yu={};function bu(e,t){return function(n){return e(n,t)||n}}function _u(e,t,n){let o=!1;for(let r=0;re(t),catch(){}}}function wu(e,t={}){return[hu,gu,mu].forEach((n=>{const o=e[n];if(!p(o))return;const r=t[n];t[n]=function(e){_u(o,e,t).then((e=>m(r)&&r(e)||e))}})),t}function xu(e,t){const n=[];p(vu.returnValue)&&n.push(...vu.returnValue);const o=yu[e];return o&&p(o.returnValue)&&n.push(...o.returnValue),n.forEach((e=>{t=e(t)||t})),t}function Su(e){const t=Object.create(null);Object.keys(vu).forEach((e=>{"returnValue"!==e&&(t[e]=vu[e].slice())}));const n=yu[e];return n&&Object.keys(n).forEach((e=>{"returnValue"!==e&&(t[e]=(t[e]||[]).concat(n[e]))})),t}function Cu(e,t,n,o){const r=Su(e);if(r&&Object.keys(r).length){if(p(r.invoke)){return _u(r.invoke,n).then((n=>t(wu(Su(e),n),...o)))}return t(wu(r,n),...o)}return t(n,...o)}function Tu(e,t){return(n={},...o)=>function(e){return!(!S(e)||![uu,fu,du].find((t=>m(e[t]))))}(n)?xu(e,Cu(e,t,n,o)):xu(e,new Promise(((r,i)=>{Cu(e,t,c(n,{success:r,fail:i}),o)})))}function ku(e,t,n,o={}){const r=t+":fail";let i="";return i=n?0===n.indexOf(r)?n:r+" "+n:r,delete o.errCode,cu(e,c({errMsg:i},o))}function Eu(e,t,n,o){if(o&&o.beforeInvoke){const e=o.beforeInvoke(t);if(v(e))return e}const r=function(e,t){const n=e[0];if(!t||!t.formatArgs||!S(t.formatArgs)&&S(n))return;const o=t.formatArgs,r=Object.keys(o);for(let i=0;i{const r=pu(e,n,o),i=Eu(0,[n],0,o);return i?ku(r,e,i):t(n,{resolve:t=>function(e,t,n){return cu(e,c(n||{},{errMsg:t+":ok"}))}(r,e,t),reject:(t,n)=>ku(r,e,function(e){return!e||v(e)?e:e.stack?("undefined"!=typeof globalThis&&globalThis.harmonyChannel||console.error(e.message+"\n"+e.stack),e.message):e}(t),n)})}}function Ou(e,t,n,o){return Tu(e,$u(e,t,0,o))}function Lu(e,t,n,o){return function(e,t,n,o){return(...e)=>{const n=Eu(0,e,0,o);if(n)throw new Error(n);return t.apply(null,e)}}(0,t,0,o)}function Au(e,t,n,o){return Tu(e,function(e,t,n,o){return $u(e,t,0,o)}(e,t,0,o))}let Pu=!1,Iu=0,ju=0,Ru=960,Bu=375,Mu=750;function Nu(){let e,t,n;{const{windowWidth:o,pixelRatio:r,platform:i}=function(){const e=md(),t=bd(yd(e,vd(e)));return{platform:fd?"ios":"other",pixelRatio:window.devicePixelRatio,windowWidth:t}}();e=o,t=r,n=i}Iu=e,ju=t,Pu="ios"===n}function Fu(e,t){const n=Number(e);return isNaN(n)?t:n}const Vu=Lu(0,((e,t)=>{if(0===Iu&&(Nu(),function(){const e=__uniConfig.globalStyle||{};Ru=Fu(e.rpxCalcMaxDeviceWidth,960),Bu=Fu(e.rpxCalcBaseDeviceWidth,375),Mu=Fu(e.rpxCalcBaseDeviceWidth,750)}()),0===(e=Number(e)))return 0;let n=t||Iu;n=e===Mu||n<=Ru?n:Bu;let o=e/750*n;return o<0&&(o=-o),o=Math.floor(o+1e-4),0===o&&(o=1!==ju&&Pu?.5:1),e<0?-o:o}));const Du=new class{constructor(){this.$emitter=new Le}on(e,t){return this.$emitter.on(e,t)}once(e,t){return this.$emitter.once(e,t)}off(e,t){e?this.$emitter.off(e,t):this.$emitter.e={}}emit(e,...t){this.$emitter.emit(e,...t)}},qu=Lu(0,((e,...t)=>{Du.emit(e,...t)})),Wu=[.5,.8,1,1.25,1.5,2];const Hu=(e,t,n,o)=>{!function(e,t,n,o,r){bh.invokeViewMethod("map."+e,{type:n,data:o},t,r)}(e,t,n,o,(e=>{o&&((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)})(o,e)}))};const zu={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 Uu(e){let 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(d(zu,n)){t=/^#([0-9|A-F|a-f]{6,8})$/.exec(zu[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 Gu{constructor(e,t){this.type=e,this.data=t,this.colorStop=[]}addColorStop(e,t){this.colorStop.push([e,Uu(t)])}}class Xu{constructor(e,t){this.type="pattern",this.data=e,this.colorStop=t}}class Ku{constructor(e){this.width=e}}let Yu=0,Ju={};function Zu(e,t,n,o){const r={options:o},i=o&&("success"in o||"fail"in o||"complete"in o);if(i){const e=String(Yu++);r.callbackId=e,Ju[e]=o}bh.invokeViewMethod(`editor.${e}`,{type:n,data:r},t,(({callbackId:e,data:t})=>{i&&(!function(e,t){e=e||{},v(t)&&(t={errMsg:t}),/:ok$/.test(t.errMsg)?m(e.success)&&e.success(t):m(e.fail)&&e.fail(t),m(e.complete)&&e.complete(t)}(Ju[e],t),delete Ju[e])}))}const Qu={canvas:class{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"}}setFillStyle(e){console.log("initCanvasContextProperty implemented.")}setStrokeStyle(e){console.log("initCanvasContextProperty implemented.")}setShadow(e,t,n,o){console.log("initCanvasContextProperty implemented.")}addColorStop(e,t){console.log("initCanvasContextProperty implemented.")}setLineWidth(e){console.log("initCanvasContextProperty implemented.")}setLineCap(e){console.log("initCanvasContextProperty implemented.")}setLineJoin(e){console.log("initCanvasContextProperty implemented.")}setLineDash(e,t){console.log("initCanvasContextProperty implemented.")}setMiterLimit(e){console.log("initCanvasContextProperty implemented.")}fillRect(e,t,n,o){console.log("initCanvasContextProperty implemented.")}strokeRect(e,t,n,o){console.log("initCanvasContextProperty implemented.")}clearRect(e,t,n,o){console.log("initCanvasContextProperty implemented.")}fill(){console.log("initCanvasContextProperty implemented.")}stroke(){console.log("initCanvasContextProperty implemented.")}scale(e,t){console.log("initCanvasContextProperty implemented.")}rotate(e){console.log("initCanvasContextProperty implemented.")}translate(e,t){console.log("initCanvasContextProperty implemented.")}setFontSize(e){console.log("initCanvasContextProperty implemented.")}fillText(e,t,n,o){console.log("initCanvasContextProperty implemented.")}setTextAlign(e){console.log("initCanvasContextProperty implemented.")}setTextBaseline(e){console.log("initCanvasContextProperty implemented.")}drawImage(e,t,n,o,r,i,s,a,l){console.log("initCanvasContextProperty implemented.")}setGlobalAlpha(e){console.log("initCanvasContextProperty implemented.")}strokeText(e,t,n,o){console.log("initCanvasContextProperty implemented.")}setTransform(e,t,n,o,r,i){console.log("initCanvasContextProperty implemented.")}draw(e=!1,t){var n=[...this.actions];this.actions=[],this.path=[],function(e,t,n,o,r){bh.invokeViewMethod(`canvas.${e}`,{type:n,data:o},t,(e=>{r&&r(e)}))}(this.id,this.pageId,"actionsChanged",{actions:n,reserve:e},t)}createLinearGradient(e,t,n,o){return new Gu("linear",[e,t,n,o])}createCircularGradient(e,t,n){return new Gu("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 Xu(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,t){let n=0;return n=function(e,t){const n=document.createElement("canvas").getContext("2d");return n.font=t,n.measureText(e).width||0}(e,this.state.font),new Ku(n)}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+\.?\d*r?px)(\/(\d+\.?\d*(r?px)?))?\s+(.*)/);if(n){var o=n[1].trim().split(/\s/),r=parseFloat(n[3]),i=n[7],s=[];o.forEach((function(e,n){["italic","oblique","normal"].indexOf(e)>-1?(s.push({method:"setFontStyle",data:[e]}),t.state.fontStyle=e):["bold","normal","lighter","bolder"].indexOf(e)>-1||/^\d+$/.test(e)?(s.push({method:"setFontWeight",data:[e]}),t.state.fontWeight=e):0===n?(s.push({method:"setFontStyle",data:["normal"]}),t.state.fontStyle="normal"):1===n&&a()})),1===o.length&&a(),o=s.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 a(){s.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]})}},map:class{constructor(e,t){this.id=e,this.pageId=t}getCenterLocation(e){Hu(this.id,this.pageId,"getCenterLocation",e)}moveToLocation(e){Hu(this.id,this.pageId,"moveToLocation",e)}getScale(e){Hu(this.id,this.pageId,"getScale",e)}getRegion(e){Hu(this.id,this.pageId,"getRegion",e)}includePoints(e){Hu(this.id,this.pageId,"includePoints",e)}translateMarker(e){Hu(this.id,this.pageId,"translateMarker",e)}$getAppMap(){}addCustomLayer(e){Hu(this.id,this.pageId,"addCustomLayer",e)}removeCustomLayer(e){Hu(this.id,this.pageId,"removeCustomLayer",e)}addGroundOverlay(e){Hu(this.id,this.pageId,"addGroundOverlay",e)}removeGroundOverlay(e){Hu(this.id,this.pageId,"removeGroundOverlay",e)}updateGroundOverlay(e){Hu(this.id,this.pageId,"updateGroundOverlay",e)}initMarkerCluster(e){Hu(this.id,this.pageId,"initMarkerCluster",e)}addMarkers(e){Hu(this.id,this.pageId,"addMarkers",e)}removeMarkers(e){Hu(this.id,this.pageId,"removeMarkers",e)}moveAlong(e){Hu(this.id,this.pageId,"moveAlong",e)}setLocMarkerIcon(e){Hu(this.id,this.pageId,"setLocMarkerIcon",e)}openMapApp(e){Hu(this.id,this.pageId,"openMapApp",e)}on(e,t){Hu(this.id,this.pageId,"on",{name:e,callback:t})}},video:class{constructor(e,t){this.id=e,this.pageId=t}play(){_d(this.id,this.pageId,"play")}pause(){_d(this.id,this.pageId,"pause")}stop(){_d(this.id,this.pageId,"stop")}seek(e){_d(this.id,this.pageId,"seek",{position:e})}sendDanmu(e){_d(this.id,this.pageId,"sendDanmu",e)}playbackRate(e){~Wu.indexOf(e)||(e=1),_d(this.id,this.pageId,"playbackRate",{rate:e})}requestFullScreen(e={}){_d(this.id,this.pageId,"requestFullScreen",e)}exitFullScreen(){_d(this.id,this.pageId,"exitFullScreen")}showStatusBar(){_d(this.id,this.pageId,"showStatusBar")}hideStatusBar(){_d(this.id,this.pageId,"hideStatusBar")}},editor:class{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){Zu(this.id,this.pageId,e,t)}}};function ef(e){if(e&&e.contextInfo){const{id:t,type:n,page:o}=e.contextInfo,r=Qu[n];e.context=new r(t,o),delete e.contextInfo}}class tf{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._push(this._selector,this._component,this._single,{node:!0},e),this._selectorQuery}}class nf{constructor(e){this._component=void 0,this._page=e,this._queue=[],this._queueCb=[]}exec(e){return function(e,t,n){const o=[];t.forEach((({component:t,selector:n,single:r,fields:i})=>{null===t?o.push(function(e){const t={};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);if(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}(i)):o.push(function(e,t,n,o,r){const i=function(e,t){if(!e)return t.$el;return e.$el}(t,e),s=i.parentElement;if(!s)return o?null:[];const{nodeType:a}=i,l=3===a||8===a;if(o){const e=l?s.querySelector(n):xd(i,n)?i:i.querySelector(n);return e?wd(e,r):null}{let e=[];const t=(l?s:i).querySelectorAll(n);return t&&t.length&&[].forEach.call(t,(t=>{e.push(wd(t,r))})),!l&&xd(i,n)&&e.unshift(wd(i,r)),e}}(e,t,n,r,i))})),n(o)}(this._page,this._queue,(t=>{const n=this._queueCb;t.forEach(((e,t)=>{p(e)?e.forEach(ef):ef(e);const o=n[t];m(o)&&o.call(this,e)})),m(e)&&e.call(this,t)})),this._nodesRef}in(e){return this._component=le(e),this}select(e){return this._nodesRef=new tf(this,this._component,e,!0)}selectAll(e){return this._nodesRef=new tf(this,this._component,e,!1)}selectViewport(){return this._nodesRef=new tf(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 of=Lu(0,(e=>((e=le(e))&&!function(e){const t=le(e);if(t.$page)return ac(t);if(!t.$)return;{const{$pageInstance:e}=t.$;if(e)return ac(e.proxy)}const n=t.$.root.proxy;return n&&n.$page?ac(n):void 0}(e)&&(e=null),new nf(e||oc())))),rf=Lu(0,(()=>{const e=Sp();return e&&e.$vm?e.$vm.$locale:fl().getLocale()})),sf={onUnhandledRejection:[],onPageNotFound:[],onError:[],onShow:[],onHide:[]};const af="json",lf=["text","arraybuffer"],cf=encodeURIComponent;ArrayBuffer,Boolean;const uf={formatArgs:{method(e,t){t.method=iu((e||"").toUpperCase(),ru)},data(e,t){t.data=e||""},url(e,t){t.method===ru[0]&&S(t.data)&&Object.keys(t.data).length&&(t.url=function(e,t){let n=e.split("#");const o=n[1]||"";n=n[0].split("?");let r=n[1]||"";e=n[0];const i=r.split("&").filter((e=>e)),s={};i.forEach((e=>{const t=e.split("=");s[t[0]]=t[1]}));for(const a in t)if(d(t,a)){let e=t[a];null==e?e="":S(e)&&(e=JSON.stringify(e)),s[cf(a)]=cf(e)}return r=Object.keys(s).map((e=>`${e}=${s[e]}`)).join("&"),e+(r?"?"+r:"")+(o?"#"+o:"")}(e,t.data))},header(e,t){const n=t.header=e||{};t.method!==ru[0]&&(Object.keys(n).find((e=>"content-type"===e.toLowerCase()))||(n["Content-Type"]="application/json"))},dataType(e,t){t.dataType=(e||af).toLowerCase()},responseType(e,t){t.responseType=(e||"").toLowerCase(),-1===lf.indexOf(t.responseType)&&(t.responseType="text")}}};const ff={url:{type:String,required:!0}},df=(mf(["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"]),mf(["slide-out-right","slide-out-left","slide-out-top","slide-out-bottom","fade-out","zoom-in","zoom-fade-in","pop-out","none"]),bf("navigateTo")),pf=bf("redirectTo"),hf=bf("reLaunch"),gf={formatArgs:{delta(e,t){e=parseInt(e+"")||1,t.delta=Math.min(Gf().length-1,e)}}};function mf(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 vf;function yf(){vf=""}function bf(e){return{formatArgs:{url:_f(e)},beforeAll:yf}}function _f(e){return function(t,n){if(!t)return'Missing required args: "url"';const o=(t=function(e){if(0===e.indexOf("/")||0===e.indexOf("uni:"))return e;let t="";const n=Gf();return n.length&&(t=Xl(n[n.length-1]).route),pc(t,e)}(t)).split("?")[0],r=hc(o,!0);if(!r)return"page `"+t+"` is not found";if("navigateTo"===e||"redirectTo"===e){if(r.meta.isTabBar)return`can not ${e} a tabbar page`}else if("switchTab"===e&&!r.meta.isTabBar)return"can not switch to no-tabBar page";if("switchTab"!==e&&"preloadPage"!==e||!r.meta.isTabBar||"appLaunch"===n.openType||(t=o),r.meta.isEntry&&(t=t.replace(r.alias,"/")),n.url=function(e){if(!v(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}(t),"unPreloadPage"!==e)if("preloadPage"!==e){if(vf===t&&"appLaunch"!==n.openType)return`${vf} locked`;__uniConfig.ready&&(vf=t)}else if(r.meta.isTabBar){const e=Gf(),t=r.path.slice(1);if(e.find((e=>e.route===t)))return"tabBar page `"+t+"` already exists"}}}Boolean;const wf={formatArgs:{title:"",mask:!1}},xf=["success","loading","none","error"],Sf=(Boolean,{formatArgs:{title:"",icon(e,t){t.icon=iu(e,xf)},image(e,t){t.image=e?ld(e):""},duration:1500,mask:!1}});function Cf(){const e=oc();if(!e)return;const t=Uf(),n=t.keys();for(const o of n){const e=t.get(o);e.$.__isTabBar?e.$.__isActive=!1:Kf(o)}e.$.__isTabBar&&(e.$.__isVisible=!1,lc(e,"onHide"))}function Tf(e,t){return e===t.fullPath||"/"===e&&t.meta.isEntry}function kf(e){const t=Uf().values();for(const n of t){const t=Vf(n);if(Tf(e,t))return n.$.__isActive=!0,t.id}}const Ef=Au("switchTab",(({url:e,tabBarText:t,isAutomatedTesting:n},{resolve:o,reject:r})=>{if(Df.handledBeforeEntryPageRoutes)return Cf(),Pf({type:"switchTab",url:e,tabBarText:t,isAutomatedTesting:n},kf(e)).then(o).catch(r);Wf.push({args:{type:"switchTab",url:e,tabBarText:t,isAutomatedTesting:n},resolve:o,reject:r})}),0,bf("switchTab"));function $f(){const e=ec();if(!e)return;const t=Vf(e);Kf(Zf(t.path,t.id))}const Of=Au("redirectTo",(({url:e,isAutomatedTesting:t},{resolve:n,reject:o})=>{if(Df.handledBeforeEntryPageRoutes)return $f(),Pf({type:"redirectTo",url:e,isAutomatedTesting:t}).then(n).catch(o);Hf.push({args:{type:"redirectTo",url:e,isAutomatedTesting:t},resolve:n,reject:o})}),0,pf);function Lf(){const e=Uf().keys();for(const t of e)Kf(t)}const Af=Au("reLaunch",(({url:e,isAutomatedTesting:t},{resolve:n,reject:o})=>{if(Df.handledBeforeEntryPageRoutes)return Lf(),Pf({type:"reLaunch",url:e,isAutomatedTesting:t}).then(n).catch(o);zf.push({args:{type:"reLaunch",url:e,isAutomatedTesting:t},resolve:n,reject:o})}),0,hf);function Pf({type:e,url:t,tabBarText:n,events:o,isAutomatedTesting:r},i){const s=Sp().$router,{path:a,query:l}=function(e){const[t,n]=e.split("?",2);return{path:t,query:xe(n||"")}}(t);return new Promise(((t,c)=>{const u=function(e,t){return{__id__:t||++Yf,__type__:e}}(e,i);s["navigateTo"===e?"push":"replace"]({path:a,query:l,state:u,force:!0}).then((i=>{if(ba(i))return c(i.message);if("switchTab"===e&&(s.currentRoute.value.meta.tabBarText=n),"navigateTo"===e){const e=s.currentRoute.value.meta;return e.eventChannel?o&&(Object.keys(o).forEach((t=>{e.eventChannel._addListener(t,"on",o[t])})),e.eventChannel._clearCache()):e.eventChannel=new Ce(u.__id__,o),t(r?{__id__:u.__id__}:{eventChannel:e.eventChannel})}return r?t({__id__:u.__id__}):t()}))}))}function If(){if(Df.handledBeforeEntryPageRoutes)return;Df.handledBeforeEntryPageRoutes=!0;const e=[...qf];qf.length=0,e.forEach((({args:e,resolve:t,reject:n})=>Pf(e).then(t).catch(n)));const t=[...Wf];Wf.length=0,t.forEach((({args:e,resolve:t,reject:n})=>(Cf(),Pf(e,kf(e.url)).then(t).catch(n))));const n=[...Hf];Hf.length=0,n.forEach((({args:e,resolve:t,reject:n})=>($f(),Pf(e).then(t).catch(n))));const o=[...zf];zf.length=0,o.forEach((({args:e,resolve:t,reject:n})=>(Lf(),Pf(e).then(t).catch(n))))}function jf(e){const t=window.CSS&&window.CSS.supports;return t&&(t(e)||t.apply(window.CSS,e.split(":")))}const Rf=jf("top:env(a)"),Bf=jf("top:constant(a)"),Mf=(()=>Rf?"env":Bf?"constant":"")();function Nf(e){var t,n;Ul({"--window-top":(n=0,Mf?`calc(${n}px + ${Mf}(safe-area-inset-top))`:`${n}px`),"--window-bottom":(t=0,Mf?`calc(${t}px + ${Mf}(safe-area-inset-bottom))`:`${t}px`)})}const Ff=new Map;function Vf(e){return e.$page}const Df={handledBeforeEntryPageRoutes:!1},qf=[],Wf=[],Hf=[],zf=[];function Uf(){return Ff}function Gf(){return Xf()}function Xf(){const e=[],t=Ff.values();for(const n of t)n.$.__isTabBar?n.$.__isActive&&e.push(n):e.push(n);return e}function Kf(e,t=!0){const n=Ff.get(e);n.$.__isUnload=!0,lc(n,"onUnload"),Ff.delete(e),t&&function(e){const t=Qf.get(e);t&&(Qf.delete(e),ed.pruneCacheEntry(t))}(e)}let Yf=ou();function Jf(e){const t=function(e){const t=eu();let n=e.fullPath;return e.meta.isEntry&&-1===n.indexOf(e.meta.route)&&(n="/"+e.meta.route+n.replace("/","")),sc("navigateTo",n,{},t)}(e.$route);!function(e,t){e.route=t.route,e.$vm=e,e.$page=t,e.$mpType="page",e.$fontFamilySet=new Set,t.meta.isTabBar&&(e.$.__isTabBar=!0,e.$.__isActive=!0)}(e,t),Ff.set(Zf(t.path,t.id),e),1===Ff.size&&setTimeout((()=>{If()}),0)}function Zf(e,t){return e+"$$"+t}const Qf=new Map,ed={get:e=>Qf.get(e),set(e,t){!function(e){const t=parseInt(e.split("$$")[1]);if(!t)return;ed.forEach(((e,n)=>{const o=parseInt(n.split("$$")[1]);o&&o>t&&(ed.delete(n),ed.pruneCacheEntry(e),Sn((()=>{Ff.forEach(((e,t)=>{e.$.isUnmounted&&Ff.delete(t)}))})))}))}(e),Qf.set(e,t)},delete(e){Qf.get(e)&&Qf.delete(e)},forEach(e){Qf.forEach(e)}};function td(e,t){!function(e){const t=od(e),{body:n}=document;rd&&n.removeAttribute(rd),t&&n.setAttribute(t,""),rd=t}(e),Nf(),function(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))}}(t),sd(e,t)}function nd(e){const t=od(e);t&&function(e){const t=document.querySelector("uni-page-body");t&&t.setAttribute(e,"")}(t)}function od(e){return e.type.__scopeId}let rd,id;function sd(e,t){if(document.removeEventListener("touchmove",cc),id&&document.removeEventListener("scroll",id),t.disableScroll)return document.addEventListener("touchmove",cc);const{onPageScroll:n,onReachBottom:o}=e,r="transparent"===t.navigationBar.type;if(!(null==n?void 0:n.length)&&!(null==o?void 0:o.length)&&!r)return;const i={},s=Vf(e.proxy).id;(n||r)&&(i.onPageScroll=function(e,t,n){return o=>{t&&yh.publishHandler("onPageScroll",{scrollTop:o},e),n&&yh.emit(e+".onPageScroll",{scrollTop:o})}}(s,n,r)),(null==o?void 0:o.length)&&(i.onReachBottomDistance=t.onReachBottomDistance||50,i.onReachBottom=()=>yh.publishHandler("onReachBottom",{},s)),id=dc(i),requestAnimationFrame((()=>document.addEventListener("scroll",id)))}function ad(e){const{base:t}=__uniConfig.router;return 0===re(e).indexOf(t)?re(e):t+e}function ld(e){const{base:t,assets:n}=__uniConfig.router;if("./"===t&&(0!==e.indexOf("./")||!e.includes("/static/")&&0!==e.indexOf("./"+(n||"assets")+"/")||(e=e.slice(1))),0===e.indexOf("/")){if(0!==e.indexOf("//"))return ad(e.slice(1));e="https:"+e}if(ee.test(e)||te.test(e)||0===e.indexOf("blob:"))return e;const o=Xf();return o.length?ad(pc(Vf(o[o.length-1]).route,e).slice(1)):e}const cd=navigator.userAgent,ud=/android/i.test(cd),fd=/iphone|ipad|ipod/i.test(cd),dd=cd.match(/Windows NT ([\d|\d.\d]*)/i),pd=/Macintosh|Mac/i.test(cd),hd=/Linux|X11/i.test(cd),gd=pd&&navigator.maxTouchPoints>0;function md(){return/^Apple/.test(navigator.vendor)&&"number"==typeof window.orientation}function vd(e){return e&&90===Math.abs(window.orientation)}function yd(e,t){return e?Math[t?"max":"min"](screen.width,screen.height):screen.width}function bd(e){return Math.min(window.innerWidth,document.documentElement.clientWidth,e)||e}function _d(e,t,n,o){bh.invokeViewMethod("video."+e,{videoId:e,type:n,data:o},t)}function wd(e,t){const n={},{top:o,topWindowHeight:r}=zl();if(t.node){const t=e.tagName.split("-")[1]||e.tagName;t&&(n.node=e.querySelector(t))}if(t.id&&(n.id=e.id),t.dataset&&(n.dataset=ge(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(p(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(p(t.computedStyle)){const o=getComputedStyle(e);t.computedStyle.forEach((e=>{n[e]=o[e]}))}return t.context&&(n.contextInfo=function(e){return e.__uniContextInfo}(e)),n}function xd(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)}const Sd=Mc(),Cd=Mc();const Td=Dc({name:"ResizeSensor",props:{initial:{type:Boolean,default:!1}},emits:["resize"],setup(e,{emit:t}){const n=on(null),o=function(e){return()=>{const{firstElementChild:t,lastElementChild:n}=e.value;t.scrollLeft=1e5,t.scrollTop=1e5,n.scrollLeft=1e5,n.scrollTop=1e5}}(n),r=function(e,t,n){const o=Dt({width:-1,height:-1});return Zn((()=>c({},o)),(e=>t("resize",e))),()=>{const t=e.value;t&&(o.width=t.offsetWidth,o.height=t.offsetHeight,n())}}(n,t,o);return function(e,t,n,o){ko(o),Mo((()=>{t.initial&&Sn(n);const r=e.value;r.offsetParent!==r.parentElement&&(r.parentElement.style.position="relative"),"AnimationEvent"in window||o()}))}(n,e,r,o),()=>ti("uni-resize-sensor",{ref:n,onAnimationstartOnce:r},[ti("div",{onScroll:r},[ti("div",null,null)],40,["onScroll"]),ti("div",{onScroll:r},[ti("div",null,null)],40,["onScroll"])],40,["onAnimationstartOnce"])}});function kd(){}const Ed={cursorSpacing:{type:[Number,String],default:0},showConfirmBar:{type:[Boolean,String],default:"auto"},adjustPosition:{type:[Boolean,String],default:!0},autoBlur:{type:[Boolean,String],default:!1}};function $d(e,t,n){function o(e){const t=Ci((()=>0===String(navigator.vendor).indexOf("Apple")));e.addEventListener("focus",(()=>{clearTimeout(undefined),document.addEventListener("click",kd,!1)}));e.addEventListener("blur",(()=>{t.value&&e.blur(),document.removeEventListener("click",kd,!1),t.value&&document.documentElement.scrollTo(document.documentElement.scrollLeft,document.documentElement.scrollTop)}))}Zn((()=>t.value),(e=>e&&o(e)))}const Od={src:{type:String,default:""},mode:{type:String,default:"scaleToFill"},lazyLoad:{type:[Boolean,String],default:!1},draggable:{type:Boolean,default:!1}},Ld={widthFix:["offsetWidth","height",(e,t)=>e/t],heightFix:["offsetHeight","width",(e,t)=>e*t]},Ad={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"]},Pd=Dc({name:"Image",props:Od,setup(e,{emit:t}){const n=on(null),o=function(e,t){const n=on(""),o=Ci((()=>{let e="auto",o="";const r=Ad[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=Dt({rootEl:e,src:Ci((()=>t.src?ld(t.src):"")),origWidth:0,origHeight:0,origStyle:{width:"",height:""},modeStyle:o,imgSrc:n});return Mo((()=>{const t=e.value;r.origWidth=t.clientWidth||0,r.origHeight=t.clientHeight||0})),r}(n,e),r=Hc(n,t),{fixSize:i}=function(e,t,n){const o=()=>{const{mode:o}=t,r=Ld[o];if(!r)return;const{origWidth:i,origHeight:s}=n,a=i&&s?i/s:0;if(!a)return;const l=e.value,c=l[r[0]];c&&(l.style[r[1]]=function(e){Id&&e>10&&(e=2*Math.round(e/2));return e}(r[2](c,a))+"px")},r=()=>{const{style:t}=e.value,{origStyle:{width:o,height:r}}=n;t.width=o,t.height=r};return Zn((()=>t.mode),((e,t)=>{Ld[t]&&r(),Ld[e]&&o()})),{fixSize:o,resetSize:r}}(n,e,o);return function(e,t,n,o,r){let i,s;const a=(t=0,n=0,o="")=>{e.origWidth=t,e.origHeight=n,e.imgSrc=o},l=l=>{if(!l)return c(),void a();i=i||new Image,i.onload=e=>{const{width:u,height:f}=i;a(u,f,l),Sn((()=>{o()})),i.draggable=t.draggable,s&&s.remove(),s=i,n.value.appendChild(i),c(),r("load",e,{width:u,height:f})},i.onerror=t=>{a(),c(),r("error",t,{errMsg:`GET ${e.src} 404 (Not Found)`})},i.src=l},c=()=>{i&&(i.onload=null,i.onerror=null,i=null)};Zn((()=>e.src),(e=>l(e))),Zn((()=>e.imgSrc),(e=>{!e&&s&&(s.remove(),s=null)})),Mo((()=>l(e.src))),Vo((()=>c()))}(o,e,n,i,r),()=>ti("uni-image",{ref:n},[ti("div",{style:o.modeStyle},null,4),Ld[e.mode]?ti(Td,{onResize:i},null,8,["onResize"]):ti("span",null,null)],512)}});const Id="Google Inc."===navigator.vendor;const jd=ve(!0),Rd=[];let Bd=0,Md=!1;const Nd=e=>Rd.forEach((t=>t.userAction=e));function Fd(){const e=Dt({userAction:!1});return Mo((()=>{!function(e={userAction:!1}){Md||(["touchstart","touchmove","touchend","mousedown","mouseup"].forEach((e=>{document.addEventListener(e,(function(){!Bd&&Nd(!0),Bd++,setTimeout((()=>{!--Bd&&Nd(!1)}),0)}),jd)})),Md=!0);Rd.push(e)}(e)})),Vo((()=>{!function(e){const t=Rd.indexOf(e);t>=0&&Rd.splice(t,1)}(e)})),{state:e}}function Vd(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 Dd=function(){var e,t,n;e=nc(),n=Vd,t=bl(e,t="getSelectedTextRange"),yl[t]||(yl[t]=n)};function qd(e,t,n){"number"===t&&isNaN(Number(e))&&(e="");return null==e?"":String(e)}const Wd=["none","text","decimal","numeric","tel","search","email","url"],Hd=c({},{name:{type:String,default:""},modelValue:{type:[String,Number]},value:{type:[String,Number]},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"},inputmode:{type:String,default:void 0,validator:e=>!!~Wd.indexOf(e)},cursorColor:{type:String,default:""}},Ed),zd=["input","focus","blur","update:value","update:modelValue","update:focus","compositionstart","compositionupdate","compositionend","keyboardheightchange"];function Ud(e,t,n,o){let r=null;r=Se((n=>{t.value=qd(n,e.type)}),100,{setTimeout:setTimeout,clearTimeout:clearTimeout}),Zn((()=>e.modelValue),r),Zn((()=>e.value),r);const i=function(e,t){let n,o,r=0;const i=function(...i){const s=Date.now();clearTimeout(n),o=()=>{o=null,r=s,e.apply(this,i)},s-r{r.cancel(),n("update:modelValue",t.value),n("update:value",t.value),o("input",e,t)}),100);return Bo((()=>{r.cancel(),i.cancel()})),{trigger:o,triggerInput:(e,t,n)=>{r.cancel(),i(e,t),n&&i.flush()}}}function Gd(e,t){Fd();const n=Ci((()=>e.autoFocus||e.focus));function o(){if(!n.value)return;const e=t.value;e?e.focus():setTimeout(o,100)}Zn((()=>e.focus),(e=>{e?o():function(){const e=t.value;e&&e.blur()}()})),Mo((()=>{n.value&&Sn(o)}))}function Xd(e,t,n,o){Dd();const{fieldRef:r,state:i,trigger:s}=function(e,t,n){const o=on(null),r=Hc(t,n),i=Ci((()=>{const t=Number(e.selectionStart);return isNaN(t)?-1:t})),s=Ci((()=>{const t=Number(e.selectionEnd);return isNaN(t)?-1:t})),a=Ci((()=>{const t=Number(e.cursor);return isNaN(t)?-1:t})),l=Ci((()=>{var t=Number(e.maxlength);return isNaN(t)?140:t}));let c="";c=qd(e.modelValue,e.type)||qd(e.value,e.type);const u=Dt({value:c,valueOrigin:c,maxlength:l,focus:e.focus,composing:!1,selectionStart:i,selectionEnd:s,cursor:a});return Zn((()=>u.focus),(e=>n("update:focus",e))),Zn((()=>u.maxlength),(e=>u.value=u.value.slice(0,e)),{immediate:!1}),{fieldRef:o,state:u,trigger:r}}(e,t,n),{triggerInput:a}=Ud(e,i,n,s);Gd(e,r),$d(0,r);const{state:l}=function(){const e=Dt({attrs:{}});return Mo((()=>{let t=pi();for(;t;){const n=t.type.__scopeId;n&&(e.attrs[n]=""),t=t.proxy&&"page"===t.proxy.$mpType?null:t.parent}})),{state:e}}();!function(e,t){const n=vr(Xc,!1);if(!n)return;const o=pi(),r={submit(){const n=o.proxy;return[n[e],v(t)?n[t]:t.value]},reset(){v(t)?o.proxy[t]="":t.value=""}};n.addField(r),Vo((()=>{n.removeField(r)}))}("name",i),function(e,t,n,o,r,i){function s(){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 a(){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 l(e){return"number"===e.type?null:e.selectionEnd}Zn([()=>t.selectionStart,()=>t.selectionEnd],s),Zn((()=>t.cursor),a),Zn((()=>e.value),(function(){const c=e.value;if(!c)return;const u=function(e,o){e.stopPropagation(),m(i)&&!1===i(e,t)||(t.value=c.value,t.composing&&n.ignoreCompositionEvent||r(e,{value:c.value,cursor:l(c)},o))};function f(e){n.ignoreCompositionEvent||o(e.type,e,{value:e.data})}c.addEventListener("change",(e=>e.stopPropagation())),c.addEventListener("focus",(function(e){t.focus=!0,o("focus",e,{value:t.value}),s(),a()})),c.addEventListener("blur",(function(e){t.composing&&(t.composing=!1,u(e,!0)),t.focus=!1,o("blur",e,{value:t.value,cursor:l(e.target)})})),c.addEventListener("input",u),c.addEventListener("compositionstart",(e=>{e.stopPropagation(),t.composing=!0,f(e)})),c.addEventListener("compositionend",(e=>{e.stopPropagation(),t.composing&&(t.composing=!1,u(e)),f(e)})),c.addEventListener("compositionupdate",f)}))}(r,i,e,s,a,o);return{fieldRef:r,state:i,scopedAttrsState:l,fixDisabledColor:0===String(navigator.vendor).indexOf("Apple")&&CSS.supports("image-orientation:from-image"),trigger:s}}const Kd=c({},Hd,{placeholderClass:{type:String,default:"input-placeholder"},textContentType:{type:String,default:""}}),Yd=ie((()=>{{const e=navigator.userAgent;let t="";const n=e.match(/OS\s([\w_]+)\slike/);if(n)t=n[1].replace(/_/g,".");else if(/Macintosh|Mac/i.test(e)&&navigator.maxTouchPoints>0){const n=e.match(/Version\/(\S*)\b/);n&&(t=n[1])}return!!t&&parseInt(t)>=16&&parseFloat(t)<17.2}}));function Jd(e,t,n,o,r){if(t.value)if("."===e.data){if("."===t.value.slice(-1))return n.value=o.value=t.value=t.value.slice(0,-1),!1;if(t.value&&!t.value.includes("."))return t.value+=".",r&&(r.fn=()=>{n.value=o.value=t.value=t.value.slice(0,-1),o.removeEventListener("blur",r.fn)},o.addEventListener("blur",r.fn)),!1}else if("deleteContentBackward"===e.inputType&&Yd()&&"."===t.value.slice(-2,-1))return t.value=n.value=o.value=t.value.slice(0,-2),!0}const Zd=Dc({name:"Input",props:Kd,emits:["confirm",...zd],setup(e,{emit:t,expose:n}){const o=["text","number","idcard","digit","password","tel"],r=["off","one-time-code"],i=Ci((()=>{let t="";switch(e.type){case"text":t="text","search"===e.confirmType&&(t="search");break;case"idcard":t="text";break;case"digit":t="number";break;default:t=o.includes(e.type)?e.type:"text"}return e.password?"password":t})),s=Ci((()=>{const t=r.indexOf(e.textContentType),n=r.indexOf(L(e.textContentType));return r[-1!==t?t:-1!==n?n:0]}));let a=function(e,t){if("number"===t.value){const t=void 0===e.modelValue?e.value:e.modelValue,n=on(null!=t?t.toLocaleString():"");return Zn((()=>e.modelValue),(e=>{n.value=null!=e?e.toLocaleString():""})),Zn((()=>e.value),(e=>{n.value=null!=e?e.toLocaleString():""})),n}return on("")}(e,i),l={fn:null};const c=on(null),{fieldRef:u,state:f,scopedAttrsState:d,fixDisabledColor:p,trigger:h}=Xd(e,c,t,((t,n)=>{const o=t.target;if("number"===i.value){if(l.fn&&(o.removeEventListener("blur",l.fn),l.fn=null),o.validity&&!o.validity.valid){if((!a.value||!o.value)&&"-"===t.data||"-"===a.value[0]&&"deleteContentBackward"===t.inputType)return a.value="-",n.value="",l.fn=()=>{a.value=o.value=""},o.addEventListener("blur",l.fn),!1;const e=Jd(t,a,n,o,l);return"boolean"==typeof e?e:(a.value=n.value=o.value="-"===a.value?"":a.value,!1)}{const e=Jd(t,a,n,o,l);if("boolean"==typeof e)return e;a.value=o.value}const r=n.maxlength;if(r>0&&o.value.length>r){o.value=o.value.slice(0,r),n.value=o.value;return(void 0!==e.modelValue&&null!==e.modelValue?e.modelValue.toString():"")!==o.value}}}));Zn((()=>f.value),(t=>{"number"!==e.type||"-"===a.value&&""===t||(a.value=t.toString())}));const g=["number","digit"],m=Ci((()=>g.includes(e.type)?e.step:""));function v(t){if("Enter"!==t.key)return;const n=t.target;t.stopPropagation(),h("confirm",t,{value:n.value}),!e.confirmHold&&n.blur()}return n({$triggerInput:e=>{t("update:modelValue",e.value),t("update:value",e.value),f.value=e.value}}),()=>{let t=e.disabled&&p?ti("input",{key:"disabled-input",ref:u,value:f.value,tabindex:"-1",readonly:!!e.disabled,type:i.value,maxlength:f.maxlength,step:m.value,class:"uni-input-input",style:e.cursorColor?{caretColor:e.cursorColor}:{},onFocus:e=>e.target.blur()},null,44,["value","readonly","type","maxlength","step","onFocus"]):ti("input",{key:"input",ref:u,value:f.value,onInput:e=>{f.value=e.target.value.toString()},disabled:!!e.disabled,type:i.value,maxlength:f.maxlength,step:m.value,enterkeyhint:e.confirmType,pattern:"number"===e.type?"[0-9]*":void 0,class:"uni-input-input",style:e.cursorColor?{caretColor:e.cursorColor}:{},autocomplete:s.value,onKeyup:v,inputmode:e.inputmode},null,44,["value","onInput","disabled","type","maxlength","step","enterkeyhint","pattern","autocomplete","onKeyup","inputmode"]);return ti("uni-input",{ref:c},[ti("div",{class:"uni-input-wrapper"},[oo(ti("div",li(d.attrs,{style:e.placeholderStyle,class:["uni-input-placeholder",e.placeholderClass]}),[e.placeholder],16),[[Ui,!(f.value.length||"-"===a.value||a.value.includes("."))]]),"search"===e.confirmType?ti("form",{action:"",onSubmit:e=>e.preventDefault(),class:"uni-input-form"},[t],40,["onSubmit"]):t])],512)}}}),Qd={ensp:" ",emsp:" ",nbsp:" "};function ep(e,t){return function(e,{space:t,decode:n}){let o="",r=!1;for(let i of e)t&&Qd[t]&&" "===i&&(i=Qd[t]),r?(o+="n"===i?"\n":"\\"===i?"\\":"\\"+i,r=!1):"\\"===i?r=!0:o+=i;return n?o.replace(/ /g,Qd.nbsp).replace(/ /g,Qd.ensp).replace(/ /g,Qd.emsp).replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'"):o}(e,t).split("\n")}const tp=Dc({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=on(null);return()=>{const o=[];return t.default&&t.default().forEach((t=>{if(8&t.shapeFlag&&t.type!==Fr){const n=ep(t.children,{space:e.space,decode:e.decode}),r=n.length-1;n.forEach(((e,t)=>{(0!==t||e)&&o.push(oi(e)),t!==r&&o.push(ti("br"))}))}else o.push(t)})),ti("uni-text",{ref:n,selectable:!!e.selectable||null},[ti("span",null,o)],8,["selectable"])}}}),np=Dc({name:"View",props:c({},zc),setup(e,{slots:t}){const n=on(null),{hovering:o,binding:r}=Uc(e);return()=>{const i=e.hoverClass;return i&&"none"!==i?ti("uni-view",li({class:o.value?i:"",ref:n},r),[Go(t,"default")],16):ti("uni-view",{ref:n},[Go(t,"default")],512)}}});function op(e,t,n,o){m(t)&&jo(e,t.bind(n),o)}function rp(e,t,n){const o=e.mpType||n.$mpType;if(o&&"component"!==o&&(Object.keys(e).forEach((o=>{if(function(e,t,n=!0){return!(n&&!m(t))&&(ke.indexOf(e)>-1||0===e.indexOf("on"))}(o,e[o],!1)){const r=e[o];p(r)?r.forEach((e=>op(o,e,n,t))):op(o,r,n,t)}})),"page"===o)){t.__isVisible=!0;try{let e=t.attrs.__pageQuery;0,lc(n,"onLoad",e),delete t.attrs.__pageQuery;const o=n.$page;"preloadPage"!==(null==o?void 0:o.openType)&&lc(n,"onShow")}catch(r){console.error(r.message+"\n"+r.stack)}}}function ip(e,t,n){rp(e,t,n)}function sp(e,t,n){return e[t]=n}function ap(e,...t){const n=this[e];return n?n(...t):(console.error(`method ${e} not found`),null)}function lp(e){const t=e.config.errorHandler;return function(n,o,r){t&&t(n,o,r);const i=e._instance;if(!i||!i.proxy)throw n;i.onError?lc(i.proxy,"onError",n):pn(n,0,o&&o.$.vnode,!1)}}function cp(e,t){return e?[...new Set([].concat(e,t))]:t}function up(e){const t=e.config;var n;t.errorHandler=$e(e,lp),n=t.optionMergeStrategies,ke.forEach((e=>{n[e]=cp}));const o=t.globalProperties;o.$set=sp,o.$applyOptions=ip,o.$callMethod=ap,function(e){Ee.forEach((t=>t(e)))}(e)}function fp(e){const t=Za({history:hp(),strict:!!__uniConfig.router.strict,routes:__uniRoutes,scrollBehavior:pp});t.beforeEach(((e,t)=>{var n;e&&t&&e.meta.isTabBar&&t.meta.isTabBar&&(n=t.meta.tabBarIndex,"undefined"!=typeof window&&(dp[n]={left:window.pageXOffset,top:window.pageYOffset}))})),e.router=t,e.use(t)}let dp=Object.create(null);const pp=(e,t,n)=>{if(n)return n;if(e&&t&&e.meta.isTabBar&&t.meta.isTabBar){const t=(o=e.meta.tabBarIndex,dp[o]);if(t)return t}return{left:0,top:0};var o};function hp(){let{routerBase:e}=__uniConfig.router;"/"===e&&(e="");const t=(n=e,(n=location.host?n||location.pathname+location.search:"").includes("#")||(n+="#"),da(n));var n;return t.listen(((e,t,n)=>{"back"===n.direction&&function(e=1){const t=Xf(),n=t.length-1,o=n-e;for(let r=n;r>o;r--){const e=Vf(t[r]);Kf(Zf(e.path,e.id),!1)}}(Math.abs(n.delta))})),t}const gp={install(e){up(e),Tc(e),Bc(e),e.config.warnHandler||(e.config.warnHandler=mp),fp(e)}};function mp(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)}const vp={class:"uni-async-loading"},yp=ti("i",{class:"uni-loading"},null,-1),bp=qc({name:"AsyncLoading",render:()=>(Wr(),Xr("div",vp,[yp]))});function _p(){window.location.reload()}const wp=qc({name:"AsyncError",setup(){pl();const{t:e}=fl();return()=>ti("div",{class:"uni-async-error",onClick:_p},[e("uni.async.error")],8,["onClick"])}});let xp;function Sp(){return xp}function Cp(e){xp=e,Object.defineProperty(xp.$.ctx,"$children",{get:()=>Xf().map((e=>e.$vm))});const t=xp.$.appContext.app;t.component(bp.name)||t.component(bp.name,bp),t.component(wp.name)||t.component(wp.name,wp),function(e){e.$vm=e,e.$mpType="app";const t=on(fl().getLocale());Object.defineProperty(e,"$locale",{get:()=>t.value,set(e){t.value=e}})}(xp),function(e,t){const n=e.$options||{};n.globalData=c(n.globalData||{},t),Object.defineProperty(e,"globalData",{get:()=>n.globalData,set(e){n.globalData=e}})}(xp),jc(),gc()}function Tp(e,{clone:t,init:n,setup:o,before:r}){t&&(e=c({},e)),r&&r(e);const i=e.setup;return e.setup=(e,t)=>{const r=pi();if(n(r.proxy),o(r),i)return i(e,t)},e}function kp(e,t){return e&&(e.__esModule||"Module"===e[Symbol.toStringTag])?Tp(e.default,t):Tp(e,t)}function Ep(e){return kp(e,{clone:!0,init:Jf,setup(e){e.$pageInstance=e;const t=nu(),n=_e(t.query);e.attrs.__pageQuery=n,Vf(e.proxy).options=n,e.proxy.options=n;const o=eu();var r,i;return e.onReachBottom=Dt([]),e.onPageScroll=Dt([]),Zn([e.onReachBottom,e.onPageScroll],(()=>{const t=ec();e.proxy===t&&sd(e,o)}),{once:!0}),Bo((()=>{td(e,o)})),Mo((()=>{nd(e);const{onReady:n}=e;n&&j(n),Ap(t)})),$o((()=>{if(!e.__isVisible){td(e,o),e.__isVisible=!0;const{onShow:n}=e;n&&j(n),Sn((()=>{Ap(t)}))}}),"ba",r),function(e,t){$o(e,"bda",t)}((()=>{if(e.__isVisible&&!e.__isUnload){e.__isVisible=!1;{const{onHide:t}=e;t&&j(t)}}})),i=o.id,yh.subscribe(bl(i,"invokeViewApi"),_l),Vo((()=>{!function(e){yh.unsubscribe(bl(e,"invokeViewApi")),Object.keys(yl).forEach((t=>{0===t.indexOf(e+".")&&delete yl[t]}))}(o.id)})),n}})}function $p(){const{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}=Wp(),r=90===Math.abs(Number(window.orientation))?"landscape":"portrait";bh.emit("onResize",{deviceOrientation:r,size:{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}})}function Op(e){S(e.data)&&"WEB_INVOKE_APPSERVICE"===e.data.type&&bh.emit("onWebInvokeAppService",e.data.data,e.data.pageId)}function Lp(){const{emit:e}=bh;"visible"===document.visibilityState?e("onAppEnterForeground",c({},Cd)):e("onAppEnterBackground")}function Ap(e){const{tabBarText:t,tabBarIndex:n,route:o}=e.meta;t&&lc("onTabItemTap",{index:n,text:t,pagePath:o})}const Pp=navigator.cookieEnabled&&(window.localStorage||window.sessionStorage)||{};let Ip;function jp(){if(Ip=Ip||Pp.__DC_STAT_UUID,!Ip){Ip=Date.now()+""+Math.floor(1e7*Math.random());try{Pp.__DC_STAT_UUID=Ip}catch(e){}}return Ip}function Rp(){if(!0!==__uniConfig.darkmode)return v(__uniConfig.darkmode)?__uniConfig.darkmode:"light";try{return window.matchMedia("(prefers-color-scheme: light)").matches?"light":"dark"}catch(e){return"light"}}function Bp(){let e,t="0",n="",o="phone";const r=navigator.language;if(fd){e="iOS";const o=cd.match(/OS\s([\w_]+)\slike/);o&&(t=o[1].replace(/_/g,"."));const r=cd.match(/\(([a-zA-Z]+);/);r&&(n=r[1])}else if(ud){e="Android";const o=cd.match(/Android[\s/]([\w\.]+)[;\s]/);o&&(t=o[1]);const r=cd.match(/\((.+?)\)/),i=r?r[1].split(";"):cd.split(" "),s=[/\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-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}());if("-1"!==l)a="IE";else{const e=["Version","Firefox","Chrome","Edge{0,1}"],t=["Safari","Firefox","Chrome","Edge"];for(let n=0;n{const e=window.devicePixelRatio,t=md(),n=vd(t),o=yd(t,n),r=function(e,t){return e?Math[t?"min":"max"](screen.height,screen.width):screen.height}(t,n),i=bd(o);let s=window.innerHeight;const a=Dl.top,l={left:Dl.left,right:i-Dl.right,top:Dl.top,bottom:s-Dl.bottom,width:i-Dl.left-Dl.right,height:s-Dl.top-Dl.bottom},{top:c,bottom:u}=zl();return s-=c,s-=u,{windowTop:c,windowBottom:u,windowWidth:i,windowHeight:s,pixelRatio:e,screenWidth:o,screenHeight:r,statusBarHeight:a,safeArea:l,safeAreaInsets:{top:Dl.top,right:Dl.right,bottom:Dl.bottom,left:Dl.left},screenTop:r-s}}));let Np,Fp=!0;function Vp(){Fp&&(Np=Bp())}const Dp=Lu(0,(()=>{Vp();const{deviceBrand:e,deviceModel:t,brand:n,model:o,platform:r,system:i,deviceOrientation:s,deviceType:a,osname:l,osversion:u}=Np;return c({brand:n,deviceBrand:e,deviceModel:t,devicePixelRatio:window.devicePixelRatio,deviceId:jp(),deviceOrientation:s,deviceType:a,model:o,platform:r,system:i,osName:l?l.toLocaleLowerCase():void 0,osVersion:u})})),qp=Lu(0,(()=>{Vp();const{theme:e,language:t,browserName:n,browserVersion:o}=Np;return c({appId:__uniConfig.appId,appName:__uniConfig.appName,appVersion:__uniConfig.appVersion,appVersionCode:__uniConfig.appVersionCode,appLanguage:rf?rf():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:"",uniPlatform:"web",isUniAppX:!1,uniCompileVersion:__uniConfig.compilerVersion,uniCompilerVersion:__uniConfig.compilerVersion,uniRuntimeVersion:__uniConfig.compilerVersion},{})})),Wp=Lu(0,(()=>{Fp=!0,Vp(),Fp=!1;const e=Mp(),t=Dp(),n=qp();Fp=!0;const{ua:o,browserName:r,browserVersion:i,osname:s,osversion:a}=Np,l=c(e,t,n,{ua:o,browserName:r,browserVersion:i,uniPlatform:"web",uniCompileVersion:__uniConfig.compilerVersion,uniRuntimeVersion:__uniConfig.compilerVersion,fontSizeSetting:void 0,osName:s.toLocaleLowerCase(),osVersion:a,osLanguage:void 0,osTheme:void 0});return delete l.screenTop,delete l.enableDebug,__uniConfig.darkmode||delete l.theme,function(e){let t={};return S(e)&&Object.keys(e).sort().forEach((n=>{const o=n;t[o]=e[o]})),Object.keys(t)?t:e}(l)}));const Hp=Lu(0,((e,t)=>{const n=typeof t,o="string"===n?t:JSON.stringify({type:n,data:t});localStorage.setItem(e,o)})),zp=Au("setStorage",(({key:e,data:t},{resolve:n,reject:o})=>{try{Hp(e,t),n()}catch(r){o(r.message)}}));function Up(e){const t=localStorage&&localStorage.getItem(e);if(!v(t))throw new Error("data not found");let n=t;try{const e=function(e){const t=["object","string","number","boolean","undefined"];try{const n=v(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){}}(JSON.parse(t));void 0!==e&&(n=e)}catch(o){}return n}const Gp=Au("getStorage",(({key:e},{resolve:t,reject:n})=>{try{t({data:Up(e)})}catch(o){n(o.message)}})),Xp={esc:["Esc","Escape"],enter:["Enter"]},Kp=Object.keys(Xp);function Yp(e,{onEsc:t,onEnter:n}){const o=on(e.visible),{key:r,disable:i}=function(){const e=on(""),t=on(!1),n=n=>{if(t.value)return;const o=Kp.find((e=>-1!==Xp[e].indexOf(n.key)));o&&(e.value=o),Sn((()=>e.value=""))};return Mo((()=>{document.addEventListener("keyup",n)})),Vo((()=>{document.removeEventListener("keyup",n)})),{key:e,disable:t}}();return Zn((()=>e.visible),(e=>o.value=e)),Zn((()=>o.value),(e=>i.value=!e)),Yn((()=>{const{value:e}=r;"esc"===e?t&&t():"enter"===e&&n&&n()})),o}const Jp=Ou("request",(({url:e,data:t,header:n={},method:o,dataType:r,responseType:i,withCredentials:s,timeout:a=__uniConfig.networkTimeout.request},{resolve:l,reject:c})=>{let u=null;const f=function(e){const t=Object.keys(e).find((e=>"content-type"===e.toLowerCase()));if(!t)return;const n=e[t];if(0===n.indexOf("application/json"))return"json";if(0===n.indexOf("application/x-www-form-urlencoded"))return"urlencoded";return"string"}(n);if("GET"!==o)if(v(t)||t instanceof ArrayBuffer)u=t;else if("json"===f)try{u=JSON.stringify(t)}catch(m){u=t.toString()}else if("urlencoded"===f){const e=[];for(const n in t)d(t,n)&&e.push(encodeURIComponent(n)+"="+encodeURIComponent(t[n]));u=e.join("&")}else u=t.toString();const p=new XMLHttpRequest,h=new Zp(p);p.open(o,e);for(const v in n)d(n,v)&&p.setRequestHeader(v,n[v]);const g=setTimeout((function(){p.onload=p.onabort=p.onerror=null,h.abort(),c("timeout",{errCode:5})}),a);return p.responseType=i,p.onload=function(){clearTimeout(g);const e=p.status;let t="text"===i?p.responseText:p.response;if("text"===i&&"json"===r)try{t=JSON.parse(t)}catch(m){}l({data:t,statusCode:e,header:Qp(p.getAllResponseHeaders()),cookies:[]})},p.onabort=function(){clearTimeout(g),c("abort",{errCode:600003})},p.onerror=function(){clearTimeout(g),c(void 0,{errCode:5})},p.withCredentials=s,p.send(u),h}),0,uf);class Zp{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 Qp(e){const t={};return e.split("\n").forEach((e=>{const n=e.match(/(\S+\s*):\s*(.*)/);n&&3===n.length&&(t[n[1]]=n[2])})),t}const eh=Au("navigateBack",((e,{resolve:t,reject:n})=>{let o=!0;return!0===lc("onBackPress",{from:e.from||"navigateBack"})&&(o=!1),o?(Sp().$router.go(-e.delta),t()):n("onBackPress")}),0,gf),th=Au("navigateTo",(({url:e,events:t,isAutomatedTesting:n},{resolve:o,reject:r})=>{if(Df.handledBeforeEntryPageRoutes)return Pf({type:"navigateTo",url:e,events:t,isAutomatedTesting:n}).then(o).catch(r);qf.push({args:{type:"navigateTo",url:e,events:t,isAutomatedTesting:n},resolve:o,reject:r})}),0,df);const nh={title:{type:String,default:""},icon:{default:"success",validator:e=>-1!==xf.indexOf(e)},image:{type:String,default:""},duration:{type:Number,default:1500},mask:{type:Boolean,default:!1},visible:{type:Boolean}},oh={light:"#fff",dark:"rgba(255,255,255,0.9)"},rh=e=>oh[e],ih=vo({name:"Toast",props:nh,setup(e){hl(),gl();const{Icon:t}=function(e){const t=on(rh(Rp())),n=({theme:e})=>t.value=rh(e);Yn((()=>{var t;e.visible?(t=n,__uniConfig.darkmode&&bh.on("onThemeChange",t)):function(e){bh.off("onThemeChange",e)}(n)}));return{Icon:Ci((()=>{switch(e.icon){case"success":return ti(Zl(Yl,t.value,38),{class:"uni-toast__icon"});case"error":return ti(Zl(Jl,t.value,38),{class:"uni-toast__icon"});case"loading":return ti("i",{class:["uni-toast__icon","uni-loading"]},null,2);default:return null}}))}}(e),n=Yp(e,{});return()=>{const{mask:o,duration:r,title:i,image:s}=e;return ti(Pi,{name:"uni-fade"},{default:()=>[oo(ti("uni-toast",{"data-duration":r},[o?ti("div",{class:"uni-mask",style:"background: transparent;",onTouchmove:ql},null,40,["onTouchmove"]):"",s||t.value?ti("div",{class:"uni-toast"},[s?ti("img",{src:s,class:"uni-toast__icon"},null,10,["src"]):t.value,ti("p",{class:"uni-toast__content"},[i])]):ti("div",{class:"uni-sample-toast"},[ti("p",{class:"uni-simple-toast__text"},[i])])],8,["data-duration"]),[[Ui,n.value]])]})}}});let sh,ah,lh="";const ch=Me();function uh(e){sh?c(sh,e):(sh=Dt(c(e,{visible:!1})),Sn((()=>{var e,t,n;ch.run((()=>{Zn([()=>sh.visible,()=>sh.duration],(([e,t])=>{if(e){if(ah&&clearTimeout(ah),"onShowLoading"===lh)return;ah=setTimeout((()=>{gh("onHideToast")}),t)}else ah&&clearTimeout(ah)}))})),bh.on("onHidePopup",(()=>gh("onHidePopup"))),(e=ih,t=sh,n=()=>{},t.onClose=(...e)=>(t.visible=!1,n.apply(null,e)),ws(vo({setup:()=>()=>(Wr(),Xr(e,t,null,16))}))).mount(function(e){let t=document.getElementById(e);return t||(t=document.createElement("div"),t.id=e,document.body.append(t)),t}("u-a-t"))}))),setTimeout((()=>{sh.visible=!0}),10)}const fh=Au("showToast",((e,{resolve:t,reject:n})=>{uh(e),lh="onShowToast",t()}),0,Sf),dh={icon:"loading",duration:1e8,image:""},ph=Au("showLoading",((e,{resolve:t,reject:n})=>{c(e,dh),uh(e),lh="onShowLoading",t()}),0,wf),hh=Au("hideLoading",((e,{resolve:t,reject:n})=>{gh("onHideLoading"),t()}));function gh(e){const{t:t}=fl();if(!lh)return;let n="";if("onHideToast"===e&&"onShowToast"!==lh?n=t("uni.showToast.unpaired"):"onHideLoading"===e&&"onShowLoading"!==lh&&(n=t("uni.showLoading.unpaired")),n)return console.warn(n);lh="",setTimeout((()=>{sh.visible=!1}),10)}function mh(e){function t(){var t;t=e.navigationBar.titleText,document.title=t,bh.emit("onNavigationBarChange",{titleText:t})}Yn(t),ko(t)}const vh=qc({name:"Layout",setup(e,{emit:t}){const n=on(null);Ul({"--status-bar-height":"0px","--top-window-height":"0px","--window-left":"0px","--window-right":"0px","--window-margin":"0px","--tab-bar-height":"0px"});const o=function(){const e=Qa();return{routeKey:Ci((()=>Zf("/"+e.meta.route,ou()))),isTabBar:Ci((()=>e.meta.isTabBar)),routeCache:ed}}(),{layoutState:r,windowState:i}=function(){nu();{const e=Dt({marginWidth:0,leftWindowWidth:0,rightWindowWidth:0});return Zn((()=>e.marginWidth),(e=>Ul({"--window-margin":e+"px"}))),Zn((()=>e.leftWindowWidth+e.marginWidth),(e=>{Ul({"--window-left":e+"px"})})),Zn((()=>e.rightWindowWidth+e.marginWidth),(e=>{Ul({"--window-right":e+"px"})})),{layoutState:e,windowState:Ci((()=>({})))}}}();!function(e,t){const n=nu();function o(){const o=document.body.clientWidth,r=Xf();let i={};if(r.length>0){i=Vf(r[r.length-1]).meta}else{const e=hc(n.path,!0);e&&(i=e.meta)}const s=parseInt(String((d(i,"maxWidth")?i.maxWidth:__uniConfig.globalStyle.maxWidth)||Number.MAX_SAFE_INTEGER));let a=!1;a=o>s,a&&s?(e.marginWidth=(o-s)/2,Sn((()=>{const e=t.value;e&&e.setAttribute("style","max-width:"+s+"px;margin:0 auto;")}))):(e.marginWidth=0,Sn((()=>{const e=t.value;e&&e.removeAttribute("style")})))}Zn([()=>n.path],o),Mo((()=>{o(),window.addEventListener("resize",o)}))}(r,n);const s=function(e){const t=on(!1);return Ci((()=>({"uni-app--showtabbar":e&&e.value,"uni-app--maxwidth":t.value})))}(!1);return()=>{const e=function(e,t,n,o,r,i){return function({routeKey:e,isTabBar:t,routeCache:n}){return ti(Ja,null,{default:Nn((({Component:o})=>[(Wr(),Xr(Co,{matchBy:"key",cache:n},[(Wr(),Xr(zn(o),{type:t.value?"tabBar":"",key:e.value}))],1032,["cache"]))])),_:1})}(e)}(o);return ti("uni-app",{ref:n,class:s.value},[e,!1],2)}}});const yh=c(wl,{publishHandler(e,t,n){bh.subscribeHandler(e,t,n)}}),bh=c($c,{publishHandler(e,t,n){yh.subscribeHandler(e,t,n)}}),_h=qc({name:"PageBody",setup(e,t){const n=on(null),o=on(null);return Zn((()=>false.enablePullDownRefresh),(()=>{o.value=null}),{immediate:!0}),()=>ti(Mr,null,[!1,ti("uni-page-wrapper",li({ref:n},o.value),[ti("uni-page-body",null,[Go(t.slots,"default")]),null],16)])}}),wh=qc({name:"Page",setup(e,t){let n=tu(ou());n.navigationBar;const o={};return mh(n),()=>ti("uni-page",{"data-page":n.route,style:o},[xh(t),null])}});function xh(e){return Wr(),Xr(_h,{key:0},{default:Nn((()=>[Go(e.slots,"page")])),_:3})}const Sh={loading:"AsyncLoading",error:"AsyncError",delay:200,timeout:6e4,suspensible:!0};window.uni={},window.wx={},window.rpx2px=Vu;const Ch=Object.assign({}),Th=Object.assign;window.__uniConfig=Th({globalStyle:{backgroundColor:"#F8F8F8",navigationBar:{backgroundColor:"#F8F8F8",style:"custom",type:"default",titleColor:"#000000"},isNVue:!1},uniIdRouter:{},compilerVersion:"4.66"},{appId:"__UNI__010B3C0",appName:"weixin-officialaccount",appVersion:"1.0.0",appVersionCode:"100",async:Sh,debug:!1,networkTimeout:{request:6e4,connectSocket:6e4,uploadFile:6e4,downloadFile:6e4},sdkConfigs:{},qqMapKey:void 0,bMapKey:void 0,googleMapKey:void 0,aMapKey:void 0,aMapSecurityJsCode:void 0,aMapServiceHost:void 0,nvue:{"flex-direction":"column"},locale:"",fallbackLocale:"",locales:Object.keys(Ch).reduce(((e,t)=>{const n=t.replace(/\.\/locale\/(uni-app.)?(.*).json/,"$2");return Th(e[n]||(e[n]={}),Ch[t].default),e}),{}),router:{mode:"hash",base:"/wechat/thd/",assets:"assets",routerBase:"/wechat/thd/"},darkmode:!1,themeConfig:{}}),window.__uniLayout=window.__uniLayout||{};const kh={delay:Sh.delay,timeout:Sh.timeout,suspensible:Sh.suspensible};Sh.loading&&(kh.loadingComponent={name:"SystemAsyncLoading",render:()=>ti(Wn(Sh.loading))}),Sh.error&&(kh.errorComponent={name:"SystemAsyncError",render:()=>ti(Wn(Sh.error))});const Eh=()=>t((()=>import("./pages-login-index.BxfPqYHS.js")),__vite__mapDeps([0,1,2,3,4])).then((e=>Ep(e.default||e))),$h=bo(Th({loader:Eh},kh)),Oh=()=>t((()=>import("./pages-login-phonebumber.BhyyGBGp.js")),__vite__mapDeps([5,1,6,3,7])).then((e=>Ep(e.default||e))),Lh=bo(Th({loader:Oh},kh)),Ah=()=>t((()=>import("./pages-login-code.Dc_lm9ob.js")),__vite__mapDeps([8,1,6,3,9])).then((e=>Ep(e.default||e))),Ph=bo(Th({loader:Ah},kh)),Ih=()=>t((()=>import("./pages-login-callback.0dOI8hHL.js")),__vite__mapDeps([10,6,2,3,11])).then((e=>Ep(e.default||e))),jh=bo(Th({loader:Ih},kh)),Rh=()=>t((()=>import("./pages-login-protocol.DzE2Fy0G.js")),__vite__mapDeps([12,3,13])).then((e=>Ep(e.default||e))),Bh=bo(Th({loader:Rh},kh)),Mh=()=>t((()=>import("./pages-index-index.Ck-F5yLO.js")),__vite__mapDeps([14,3,15])).then((e=>Ep(e.default||e))),Nh=bo(Th({loader:Mh},kh)),Fh=()=>t((()=>import("./pages-map-index.CSfvTUNk.js")),__vite__mapDeps([16,3,17])).then((e=>Ep(e.default||e))),Vh=bo(Th({loader:Fh},kh)),Dh=()=>t((()=>import("./pages-pay-index.C3l5wi3I.js")),__vite__mapDeps([18,3,19])).then((e=>Ep(e.default||e))),qh=bo(Th({loader:Dh},kh));function Wh(e,t){return Wr(),Xr(wh,null,{page:Nn((()=>[ti(e,Th({},t,{ref:"page"}),null,512)])),_:1})}window.__uniRoutes=[{path:"/",alias:"/pages/login/index",component:{setup(){const e=Sp(),t=e&&e.$route&&e.$route.query||{};return()=>Wh($h,t)}},loader:Eh,meta:{isQuit:!0,isEntry:!0,navigationBar:{titleText:"登录",type:"default"},isNVue:!1}},{path:"/pages/login/phonebumber",component:{setup(){const e=Sp(),t=e&&e.$route&&e.$route.query||{};return()=>Wh(Lh,t)}},loader:Oh,meta:{navigationBar:{titleText:"登录",type:"default"},isNVue:!1}},{path:"/pages/login/code",component:{setup(){const e=Sp(),t=e&&e.$route&&e.$route.query||{};return()=>Wh(Ph,t)}},loader:Ah,meta:{navigationBar:{titleText:"登录",type:"default"},isNVue:!1}},{path:"/pages/login/callback",component:{setup(){const e=Sp(),t=e&&e.$route&&e.$route.query||{};return()=>Wh(jh,t)}},loader:Ih,meta:{navigationBar:{titleText:"登录",type:"default"},isNVue:!1}},{path:"/pages/login/protocol",component:{setup(){const e=Sp(),t=e&&e.$route&&e.$route.query||{};return()=>Wh(Bh,t)}},loader:Rh,meta:{navigationBar:{titleText:"护理单元使用条款",type:"default"},isNVue:!1}},{path:"/pages/index/index",component:{setup(){const e=Sp(),t=e&&e.$route&&e.$route.query||{};return()=>Wh(Nh,t)}},loader:Mh,meta:{navigationBar:{titleText:"首页",type:"default"},isNVue:!1}},{path:"/pages/map/index",component:{setup(){const e=Sp(),t=e&&e.$route&&e.$route.query||{};return()=>Wh(Vh,t)}},loader:Fh,meta:{navigationBar:{titleText:"地图",type:"default"},isNVue:!1}},{path:"/pages/pay/index",component:{setup(){const e=Sp(),t=e&&e.$route&&e.$route.query||{};return()=>Wh(qh,t)}},loader:Dh,meta:{navigationBar:{titleText:"支付",type:"default"},isNVue:!1}}].map((e=>(e.meta.route=(e.alias||e.path).slice(1),e)));const Hh={onLaunch:function(){console.log("App Launch")},onShow:function(){console.log("App Show")},onHide:function(){console.log("App Hide")}};kp(Hh,{init:Cp,setup(e){const t=nu(),n=()=>{var n;n=e,Object.keys(sf).forEach((e=>{sf[e].forEach((t=>{jo(e,t,n)}))}));const{onLaunch:o,onShow:r,onPageNotFound:i}=e,s=function({path:e,query:t}){return c(Sd,{path:e,query:t}),c(Cd,Sd),c({},Sd)}({path:t.path.slice(1)||__uniRoutes[0].meta.route,query:_e(t.query)});if(o&&j(o,s),r&&j(r,s),!t.matched.length){const e={notFound:!0,openType:"appLaunch",path:t.path,query:{},scene:1001};If(),i&&j(i,e)}};return vr(Va).isReady().then(n),Mo((()=>{window.addEventListener("resize",Se($p,50,{setTimeout:setTimeout,clearTimeout:clearTimeout})),window.addEventListener("message",Op),document.addEventListener("visibilitychange",Lp),function(){let e=null;try{e=window.matchMedia("(prefers-color-scheme: dark)")}catch(t){}if(e){let t=e=>{bh.emit("onThemeChange",{theme:e.matches?"dark":"light"})};e.addEventListener?e.addEventListener("change",t):e.addListener(t)}}()})),t.query},before(e){e.mpType="app";const{setup:t}=e,n=()=>(Wr(),Xr(vh));e.setup=(e,o)=>{const r=t&&t(e,o);return m(r)?n:r},e.render=n}});const zh={data:()=>({}),onLoad(){this.$u.getRect=this.$uGetRect},methods:{$uGetRect(e,t){return new Promise((n=>{of().in(this)[t?"selectAll":"select"](e).boundingClientRect((e=>{t&&Array.isArray(e)&&e.length&&n(e),!t&&e&&n(e)})).exec()}))},getParentData(e=""){this.parent||(this.parent=!1),this.parent=this.$u.$parent.call(this,e),this.parent&&(Object.keys(this.parentData).map((e=>{this.parentData[e]=this.parent[e]})),this.parentData.value=this.parent.modelValue)},preventEvent(e){e&&e.stopPropagation&&e.stopPropagation()}},onReachBottom(){qu("uOnReachBottom")},beforeUnmount(){if(this.parent&&uni.$u.test.array(this.parent.children)){const e=this.parent.children;e.map(((t,n)=>{t===this&&e.splice(n,1)}))}}};function Uh(e){if([null,void 0,NaN,!1].includes(e))return e;if("object"!=typeof e&&"function"!=typeof e)return e;var t,n=(t=e,"[object Array]"===Object.prototype.toString.call(t)?[]:{});for(let o in e)e.hasOwnProperty(o)&&(n[o]="object"==typeof e[o]?Uh(e[o]):e[o]);return n}function Gh(e={},t={}){if("object"!=typeof(e=Uh(e))||"object"!=typeof t)return!1;for(var n in t)t.hasOwnProperty(n)&&(n in e?"object"!=typeof e[n]||"object"!=typeof t[n]?e[n]=t[n]:e[n].concat&&t[n].concat?e[n]=e[n].concat(t[n]):e[n]=Gh(e[n],t[n]):e[n]=t[n]);return e}function Xh(e){return/^(?:-?\d+|-?\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/.test(e)}function Kh(e){switch(typeof e){case"undefined":return!0;case"string":if(0==e.replace(/(^[ \t\n\r]*)|([ \t\n\r]*$)/g,"").length)return!0;break;case"boolean":if(!e)return!0;break;case"number":if(0===e||isNaN(e))return!0;break;case"object":if(null===e||0===e.length)return!0;for(var t in e)return!1;return!0}return!1}function Yh(e){return"[object Object]"===Object.prototype.toString.call(e)}function Jh(e){return"function"==typeof e}const Zh={email:function(e){return/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/.test(e)},mobile:function(e){return/^1[23456789]\d{9}$/.test(e)},url:function(e){return/http(s)?:\/\/([\w-]+\.)+[\w-]+(\/[\w-.\/?%&=]*)?/.test(e)},date:function(e){return!!e&&(Xh(e)&&(e=+e),!/Invalid|NaN/.test(new Date(e).toString()))},dateISO:function(e){return/^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(e)},number:Xh,digits:function(e){return/^\d+$/.test(e)},idCard:function(e){return/^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}([0-9]|X)$/.test(e)},carNo:function(e){const t=/^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[A-Z]{1}(([0-9]{5}[DF]$)|([DF][A-HJ-NP-Z0-9][0-9]{4}$))/,n=/^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[A-Z]{1}[A-HJ-NP-Z0-9]{4}[A-HJ-NP-Z0-9挂学警港澳]{1}$/;return 7===e.length?n.test(e):8===e.length&&t.test(e)},amount:function(e){return/^[1-9]\d*(,\d{3})*(\.\d{1,2})?$|^0\.\d{1,2}$/.test(e)},chinese:function(e){return/^[\u4e00-\u9fa5]+$/gi.test(e)},letter:function(e){return/^[a-zA-Z]*$/.test(e)},enOrNum:function(e){return/^[0-9a-zA-Z]*$/g.test(e)},contains:function(e,t){return e.indexOf(t)>=0},range:function(e,t){return e>=t[0]&&e<=t[1]},rangeLength:function(e,t){return e.length>=t[0]&&e.length<=t[1]},empty:Kh,isEmpty:Kh,jsonString:function(e){if("string"==typeof e)try{var t=JSON.parse(e);return!("object"!=typeof t||!t)}catch(n){return!1}return!1},landline:function(e){return/^\d{3,4}-\d{7,8}(-\d{3,4})?$/.test(e)},object:Yh,array:function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===Object.prototype.toString.call(e)},code:function(e,t=6){return new RegExp(`^\\d{${t}}$`).test(e)},func:Jh,promise:function(e){return Yh(e)&&Jh(e.then)&&Jh(e.catch)},video:function(e){const t=e.split("?")[0];return new RegExp(/\.(mp4|mpg|mpeg|dat|asf|avi|rm|rmvb|mov|wmv|flv|mkv|m3u8|3gp)$/).test(t)},image:function(e){const t=e.split("?")[0];return new RegExp(/\.(jpeg|jpg|gif|png|svg|webp|jfif|bmp|dpg)$/).test(t)},regExp:function(e){return e&&"[object RegExp]"===Object.prototype.toString.call(e)},string:function(e){return"string"==typeof e}};const Qh=new class{setConfig(e){this.config=Gh(this.config,e)}request(e={}){if(this.interceptor.request&&"function"==typeof this.interceptor.request){let t=this.interceptor.request(e);if(!1===t)return new Promise((()=>{}));this.options=t}return e.dataType=e.dataType||this.config.dataType,e.responseType=e.responseType||this.config.responseType,e.url=e.url||"",e.params=e.params||{},e.header=Object.assign({},this.config.header,e.header),e.method=e.method||this.config.method,new Promise(((t,n)=>{e.complete=e=>{if(hh(),clearTimeout(this.config.timer),this.config.timer=null,this.config.originalData)if(this.interceptor.response&&"function"==typeof this.interceptor.response){let o=this.interceptor.response(e);!1!==o?t(o):n(e)}else t(e);else if(200==e.statusCode)if(this.interceptor.response&&"function"==typeof this.interceptor.response){let o=this.interceptor.response(e.data);!1!==o?t(o):n(e.data)}else t(e.data);else n(e)},e.url=Zh.url(e.url)?e.url:this.config.baseUrl+(0==e.url.indexOf("/")?e.url:"/"+e.url),this.config.showLoading&&!this.config.timer&&(this.config.timer=setTimeout((()=>{ph({title:this.config.loadingText,mask:this.config.loadingMask}),this.config.timer=null}),this.config.loadingTime)),Jp(e)}))}constructor(){this.config={baseUrl:"",header:{},method:"POST",dataType:"json",responseType:"text",showLoading:!0,loadingText:"请求中...",loadingTime:800,timer:null,originalData:!1,loadingMask:!0},this.interceptor={request:null,response:null},this.get=(e,t={},n={})=>this.request({method:"GET",url:e,header:n,data:t}),this.post=(e,t={},n={})=>this.request({url:e,method:"POST",header:n,data:t}),this.put=(e,t={},n={})=>this.request({url:e,method:"PUT",header:n,data:t}),this.delete=(e,t={},n={})=>this.request({url:e,method:"DELETE",header:n,data:t})}};const eg=(new class{constructor(){this.config={type:"navigateTo",url:"",delta:1,params:{},animationType:"pop-in",animationDuration:300,intercept:!1},this.route=this.route.bind(this)}addRootPath(e){return"/"===e[0]?e:`/${e}`}mixinParam(e,t){e=e&&this.addRootPath(e);let n="";return/.*\/.*\?.*=.*/.test(e)?(n=uni.$u.queryParams(t,!1),e+"&"+n):(n=uni.$u.queryParams(t),e+n)}async route(e={},t={}){let n={};if("string"==typeof e?(n.url=this.mixinParam(e,t),n.type="navigateTo"):(n=uni.$u.deepClone(e,this.config),n.url=this.mixinParam(e.url,e.params)),t.intercept&&(this.config.intercept=t.intercept),n.params=t,n=uni.$u.deepMerge(this.config,n),"function"==typeof uni.$u.routeIntercept){await new Promise(((e,t)=>{uni.$u.routeIntercept(n,e)}))&&this.openPage(n)}else this.openPage(n)}openPage(e){const{url:t,type:n,delta:o,animationType:r,animationDuration:i}=e;"navigateTo"!=e.type&&"to"!=e.type||th({url:t,animationType:r,animationDuration:i}),"redirectTo"!=e.type&&"redirect"!=e.type||Of({url:t}),"switchTab"!=e.type&&"tab"!=e.type||Ef({url:t}),"reLaunch"!=e.type&&"launch"!=e.type||Af({url:t}),"navigateBack"!=e.type&&"back"!=e.type||eh({delta:o})}}).route;function tg(e=null,t="yyyy-mm-dd"){e||(e=Number(new Date)),10==e.toString().length&&(e*=1e3);let n,o=new Date(e),r={"y+":o.getFullYear().toString(),"m+":(o.getMonth()+1).toString(),"d+":o.getDate().toString(),"h+":o.getHours().toString(),"M+":o.getMinutes().toString(),"s+":o.getSeconds().toString()};for(let i in r)n=new RegExp("("+i+")").exec(t),n&&(t=t.replace(n[1],1==n[1].length?r[i]:r[i].padStart(n[1].length,"0")));return t}function ng(e,t=!0){if((e=e.toLowerCase())&&/^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/.test(e)){if(4===e.length){let t="#";for(let n=1;n<4;n+=1)t+=e.slice(n,n+1).concat(e.slice(n,n+1));e=t}let n=[];for(let t=1;t<7;t+=2)n.push(parseInt("0x"+e.slice(t,t+2)));return t?`rgb(${n[0]},${n[1]},${n[2]})`:n}if(/^(rgb|RGB)/.test(e)){return e.replace(/(?:\(|\)|rgb|RGB)*/g,"").split(",").map((e=>Number(e)))}return e}function og(e){let t=e;if(/^(rgb|RGB)/.test(t)){let e=t.replace(/(?:\(|\)|rgb|RGB)*/g,"").split(","),n="#";for(let t=0;t=e)return String(n);let o=e-n.length,r=Math.ceil(o/t.length);for(;r>>=1;)t+=t,1===r&&(t+=t);return t.slice(0,o)+n});const rg={colorGradient:function(e="rgb(0, 0, 0)",t="rgb(255, 255, 255)",n=10){let o=ng(e,!1),r=o[0],i=o[1],s=o[2],a=ng(t,!1),l=(a[0]-r)/n,c=(a[1]-i)/n,u=(a[2]-s)/n,f=[];for(let d=0;d=0))if(t.constructor===Array)switch(n){case"indices":for(let n=0;n{r.push(i+"[]="+e)}));break;case"repeat":t.forEach((e=>{r.push(i+"="+e)}));break;case"comma":let e="";t.forEach((t=>{e+=(e?",":"")+t})),r.push(i+"="+e)}else r.push(i+"="+t)}return r.length?o+r.join("&"):""},route:eg,timeFormat:tg,date:tg,timeFrom:function(e=null,t="yyyy-mm-dd"){e||(e=Number(new Date)),10==e.toString().length&&(e*=1e3);let n=+new Date(Number(e)),o=(Number(new Date)-n)/1e3,r="";switch(!0){case o<300:r="刚刚";break;case o>=300&&o<3600:r=parseInt(o/60)+"分钟前";break;case o>=3600&&o<86400:r=parseInt(o/3600)+"小时前";break;case o>=86400&&o<2592e3:r=parseInt(o/86400)+"天前";break;default:r=!1===t?o>=2592e3&&o<31536e3?parseInt(o/2592e3)+"个月前":parseInt(o/31536e3)+"年前":tg(n,t)}return r},colorGradient:rg.colorGradient,colorToRgba:rg.colorToRgba,guid:function(e=32,t=!0,n=null){let o="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),r=[];if(n=n||o.length,e)for(let i=0;iMath.random()-.5))},wranning:function(e){},get:Qh.get,post:Qh.post,put:Qh.put,delete:Qh.delete,hexToRgb:rg.hexToRgb,rgbToHex:rg.rgbToHex,test:Zh,random:function(e,t){if(e>=0&&t>0&&t>=e){let n=t-e+1;return Math.floor(Math.random()*n+e)}return 0},deepClone:Uh,deepMerge:Gh,getParent:function(e,t){let n=this.$parent;for(;n;){if(n.$options.name===e){let e={};if(Array.isArray(t))t.map((t=>{e[t]=n[t]?n[t]:""}));else for(let o in t)Array.isArray(t[o])?t[o].length?e[o]=t[o]:e[o]=n[o]:t[o].constructor===Object?Object.keys(t[o]).length?e[o]=t[o]:e[o]=n[o]:e[o]=t[o]||!1===t[o]?t[o]:n[o];return e}n=n.$parent}return{}},$parent:function(e){let t=this.$parent;for(;t;){if(!t.$options||t.$options.name===e)return t;t=t.$parent}return!1},addUnit:function(e="auto",t="rpx"){return e=String(e),Zh.number(e)?`${e}${t}`:e},trim:function(e,t="both"){return"both"==t?e.replace(/^\s+|\s+$/g,""):"left"==t?e.replace(/^\s*/,""):"right"==t?e.replace(/(\s*$)/g,""):"all"==t?e.replace(/\s+/g,""):e},type:["primary","success","error","warning","info"],http:Qh,toast:function(e,t=1500){fh({title:e,icon:"none",duration:t})},config:ug,zIndex:{toast:10090,noNetwork:10080,popup:10075,mask:10070,navbar:980,topTips:975,sticky:970,indexListSticky:965},debounce:function(e,t=500,n=!1){if(null!==sg&&clearTimeout(sg),n){var o=!sg;sg=setTimeout((function(){sg=null}),t),o&&"function"==typeof e&&e()}else sg=setTimeout((function(){"function"==typeof e&&e()}),t)},throttle:function(e,t=500,n=!0,o="default"){ag[o]||(ag[o]=null),n?lg[o]||(lg[o]=!0,"function"==typeof e&&e(),ag[o]=setTimeout((()=>{lg[o]=!1}),t)):lg[o]||(lg[o]=!0,ag[o]=setTimeout((()=>{lg[o]=!1,"function"==typeof e&&e()}),t))},addStyle:function(e,t="object"){if(Zh.empty(e)||"object"==typeof e&&"object"===t||"string"===t&&"string"==typeof e)return e;if("object"===t){const t=(e=cg(e)).split(";"),n={};for(let e=0;e{e.mixin(zh),e.config.globalProperties.$u=fg}};(function(){const e=ws(Hh);return e.use(dg),{app:e}})().app.use(gp).mount("#app");export{bi as A,jo as B,pi as C,ei as D,Mo as E,Mr as F,Gp as G,Zc as H,Zd as I,ne as O,Pi as T,ti as a,oi as b,Xr as c,fe as d,ri as e,th as f,Pd as g,tp as h,np as i,Vo as j,ys as k,of as l,oo as m,de as n,Wr as o,Do as p,Gr as q,on as r,Uo as s,G as t,Sn as u,Ui as v,Nn as w,Af as x,Dt as y,zp as z}; diff --git a/unpackage/dist/build/web/assets/index-DjWbGhVx.css b/unpackage/dist/build/web/assets/index-DjWbGhVx.css new file mode 100644 index 0000000..c463dff --- /dev/null +++ b/unpackage/dist/build/web/assets/index-DjWbGhVx.css @@ -0,0 +1 @@ +.login-container[data-v-8017333f]{display:flex;flex-direction:column;min-height:100vh;width:100%;background-color:#eff1fc;position:relative}.login-container .title[data-v-8017333f]{margin-top:2.1875rem;align-items:center}.login-container .title .title-imge[data-v-8017333f]{width:3.125rem;height:3.28125rem;margin-left:3.125rem}.login-container .title .title-font[data-v-8017333f]{font-size:1.09375rem;font-weight:600;margin-left:3.28125rem;margin-top:.3125rem}.login-container .photo-imge[data-v-8017333f]{position:absolute;top:3.75rem;left:0;width:100%;height:34.375rem}.login-container .old-imge[data-v-8017333f]{position:absolute;right:.9375rem;top:12.5rem;width:12.5rem;height:12.5rem}.login-container .under-container[data-v-8017333f]{position:fixed;left:0;bottom:0;width:100%;height:45vh;background-color:#fff;border-top-left-radius:1.5625rem;border-top-right-radius:1.5625rem;box-shadow:.3125rem .3125rem .625rem rgba(0,0,0,.1);display:flex;flex-direction:column;align-items:center}.login-container .under-container .radio-circle[data-v-8017333f],.login-container .under-container .radio-circle-target[data-v-8017333f]{position:relative;margin-top:.0625rem;width:1.25rem;height:1.25rem;border-radius:50%;border:.0625rem solid #C0C5D9;background-color:transparent}.login-container .under-container .radio-circle-target[data-v-8017333f]:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:.9375rem;height:.9375rem;background-color:#00c9ff;border-radius:50%}.under-container-title[data-v-8017333f]{display:flex;margin-top:1.875rem;margin-bottom:1.25rem;align-items:center;font-size:.78125rem;font-weight:500}.under-container-title .radio-circle-blue[data-v-8017333f]{color:#0083ff;margin-top:.09375rem}.under-container-title .radio-circle-font[data-v-8017333f]{color:#5a607f;margin-top:.09375rem}.button-blue[data-v-8017333f]{width:80%;display:flex;justify-content:center;align-items:center;height:3.125rem;border-radius:1.34375rem;background:linear-gradient(to right,#00c9ff,#0076ff);color:#fff;font-size:1.03125rem;margin-bottom:.9375rem}.overlay[data-v-8017333f]{position:fixed;top:0;left:0;width:100%;height:100%;z-index:998}.modal[data-v-8017333f]{position:fixed;bottom:0;left:0;background-color:#fff;z-index:999;border-top-left-radius:1.5625rem;border-top-right-radius:1.5625rem;width:100%;height:15.625rem;display:flex;flex-direction:column;align-items:center}.modal .modal-title[data-v-8017333f]{font-size:1rem;font-weight:700;margin:1.5625rem 0}.modal .model-p[data-v-8017333f]{padding:0 1.5625rem;width:100%;font-size:.9375rem}.modal .model-down[data-v-8017333f]{display:flex;width:100%;justify-content:space-between;padding:0 1.5625rem;margin-top:1.25rem}.modal .model-down .model-white[data-v-8017333f]{border-radius:1.5625rem;width:9.375rem;height:2.96875rem;border:.15625rem solid #008dff;color:#008dff;font-size:1.09375rem;display:flex;justify-content:center;align-items:center}.modal .model-down .model-blue[data-v-8017333f]{border-radius:1.5625rem;width:9.375rem;height:2.96875rem;background:linear-gradient(to right,#00c9ff,#0076ff);color:#fff;font-size:1.09375rem;display:flex;justify-content:center;align-items:center}.fade-enter-active[data-v-8017333f],.fade-leave-active[data-v-8017333f]{transition:opacity .3s}.fade-enter-from[data-v-8017333f],.fade-leave-to[data-v-8017333f]{opacity:0}.fade-enter-to[data-v-8017333f],.fade-leave-from[data-v-8017333f]{opacity:1}.slide-up-enter-active[data-v-8017333f],.slide-up-leave-active[data-v-8017333f]{transition:transform .3s}.slide-up-enter-from[data-v-8017333f],.slide-up-leave-to[data-v-8017333f]{transform:translateY(100%)}.slide-up-enter-to[data-v-8017333f],.slide-up-leave-from[data-v-8017333f]{transform:translateY(0)} diff --git a/unpackage/dist/build/web/assets/index-fD2zsNOQ.css b/unpackage/dist/build/web/assets/index-fD2zsNOQ.css new file mode 100644 index 0000000..ae3a18c --- /dev/null +++ b/unpackage/dist/build/web/assets/index-fD2zsNOQ.css @@ -0,0 +1 @@ +.login-container[data-v-0ae6d08b]{display:flex;flex-direction:column;min-height:100vh;width:100%;background-color:#eff1fc;position:relative}.array-father[data-v-0ae6d08b]{width:33%;position:relative}.botton-view[data-v-0ae6d08b]{position:fixed;bottom:0;left:0;height:6.25rem;width:100%;display:flex;justify-content:space-between;font-weight:500}.botton-view .bottom-button[data-v-0ae6d08b]{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.botton-view .bottom-button-target[data-v-0ae6d08b]{width:100%;height:100%;display:flex;justify-content:center;align-items:center;color:#2a85eb}.botton-view .blue-heng[data-v-0ae6d08b]{height:.1875rem;width:4.6875rem;background-color:#2a85eb;position:absolute;bottom:1.71875rem;left:50%;transform:translate(-50%)} diff --git a/unpackage/dist/build/web/assets/pages-index-callback.Cjt7QCcb.js b/unpackage/dist/build/web/assets/pages-index-callback.Cjt7QCcb.js deleted file mode 100644 index a530d2f..0000000 --- a/unpackage/dist/build/web/assets/pages-index-callback.Cjt7QCcb.js +++ /dev/null @@ -1 +0,0 @@ -import{l as e,r as n,c as o,w as s,s as t,i as a,o as i,b as r,t as c,h as l,j as u,F as p,a as d,f as h,g as f}from"./index-BwwWwpov.js";import{o as m}from"./uni-app.es.CdisLe7k.js";import{u as w}from"./useWeChatAuth.BbPcLRMD.js";import{_ as g}from"./_plugin-vue_export-helper.BCo6x5W8.js";const y=g({__name:"callback",setup(g){w();const y=e({name:"",openid:""}),v=()=>{console.log("???"),h({url:"/pages/pay/index"})},I=()=>{const e=`https://www.focusnu.com/nursing-unit/h5Api/nuBizAdvisoryInfo/queryWeixinInfo?openId=${encodeURIComponent(y.openid)}&wechatName=${encodeURIComponent(y.name)}`;fetch(e).then((e=>e.json())).then((e=>{console.log("个人信息打印",e),_()}))},x=n([]),_=()=>{fetch("https://www.focusnu.com/nursing-unit/sys/sysDepart/queryInstitutionsList").then((e=>e.json())).then((e=>{x.value=[...e],console.log("机构打印",x.value)}))},j=n([]);return m((()=>{var e;const n=null==(e=window.location.href.split("?")[1])?void 0:e.split("#")[0],o={};n&&n.split("&").forEach((e=>{const[n,s]=e.split("=");o[n]=decodeURIComponent(s)})),console.log("解析到的 query 参数:",o),o.code&&(e=>{const n=`https://www.focusnu.com/nursing-unit/weixin/wechat/callback?code=${encodeURIComponent(e)}`;fetch(n).then((e=>e.json())).then((e=>{console.log("✅ 获取用户信息成功:",e),y.name=e.nickname,y.openid=e.openid,t({key:"openid",data:{openid:e.openid}}),I()})).catch((e=>{console.error("❌ 获取用户信息失败:",e)}))})(o.code)})),(e,n)=>{const h=a,m=f;return i(),o(h,{class:"callback-container"},{default:s((()=>[r(" 回调成功"+c(y.name)+c(y.openid)+" ",1),(i(!0),l(p,null,u(x.value,((e,n)=>(i(),o(h,{key:n},{default:s((()=>[d(h,{style:{"font-size":"30rpx","margin-top":"10rpx","font-weight":"700"},onClick:n=>(e=>{const n=`${e.serverUrl}/h5Api/nuBaseInfo/list`;fetch(n).then((e=>e.json())).then((e=>{j.value=[...e.result]})),t({key:"serverUrl",data:{url:e.serverUrl}});const o={openId:y.openid,serverUrl:e.serverUrl};console.log("???/",o),fetch("https://www.focusnu.com/nursing-unit/h5Api/nuBizAdvisoryInfo/editNuBizAdvisoryInfo",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(o)}).then((e=>e.json())).then((e=>{console.log("???",e)})).catch((e=>{console.error("请求失败:",e)}))})(e)},{default:s((()=>[r(c(e.departName),1)])),_:2},1032,["onClick"]),d(m,{style:{width:"60rpx",height:"60rpx"},src:`https://www.focusnu.com/nursing-unit/sys/common/static/${e.picUrl}`},null,8,["src"])])),_:2},1024)))),128)),(i(!0),l(p,null,u(j.value,((e,n)=>(i(),o(h,{key:n,onClick:v},{default:s((()=>[d(h,{style:{"font-size":"30rpx","margin-top":"10rpx","font-weight":"700"}},{default:s((()=>[r(c(e.nuName),1)])),_:2},1024)])),_:2},1024)))),128))])),_:1})}}},[["__scopeId","data-v-0b73e663"]]);export{y as default}; diff --git a/unpackage/dist/build/web/assets/pages-index-code.A-2JBG3o.js b/unpackage/dist/build/web/assets/pages-index-code.A-2JBG3o.js deleted file mode 100644 index 2f99592..0000000 --- a/unpackage/dist/build/web/assets/pages-index-code.A-2JBG3o.js +++ /dev/null @@ -1 +0,0 @@ -import{r as a,c as e,w as l,i as s,o as t,a as o,b as c,t as u,h as n,j as d,F as r,g as p,k as i,I as f}from"./index-BwwWwpov.js";import{_,a as m,b as h}from"./old.CKixGO1Z.js";import{o as v}from"./uni-app.es.CdisLe7k.js";import{_ as g}from"./_plugin-vue_export-helper.BCo6x5W8.js";const b=g({__name:"code",setup(g){const b=a(""),j=a(["","","",""]),y=a(0),x=()=>{const a=j.value.join("");4===a.length?console.log("提交验证码:",a):console.log("验证码未输入完整")};return v((a=>{b.value=a.phonenumber})),(a,v)=>{const g=p,k=s,w=f;return t(),e(k,{class:"login-container"},{default:l((()=>[o(k,{class:"title"},{default:l((()=>[o(g,{class:"title-imge",src:_}),o(k,{class:"title-font"},{default:l((()=>[o(k,{class:""},{default:l((()=>[c("您好,")])),_:1}),o(k,{class:""},{default:l((()=>[c("欢迎使用nu护理单元~")])),_:1})])),_:1})])),_:1}),o(g,{class:"photo-imge",src:m}),o(g,{class:"old-imge",src:h}),o(k,{class:"under-container"},{default:l((()=>[o(k,{class:"under-container-title"},{default:l((()=>[o(k,{class:"code-title"},{default:l((()=>[c(" 请输入验证码 ")])),_:1}),o(k,{class:"code-number"},{default:l((()=>[c(" 验证码已发送至"+u(b.value),1)])),_:1})])),_:1}),o(k,{class:"captcha-container"},{default:l((()=>[o(k,{class:"captcha-box"},{default:l((()=>[(t(!0),n(r,null,d(j.value,((a,s)=>(t(),e(k,{key:s,class:"captcha-item"},{default:l((()=>[o(w,{modelValue:j.value[s],"onUpdate:modelValue":a=>j.value[s]=a,class:"captcha-input",type:"number",maxlength:"1",placeholder:s<3?"":" ",onInput:a=>(a=>{j.value[a]&&a<3&&(y.value=a+1);let e=!0;j.value.forEach((a=>{a||(e=!1)})),i((()=>{e&&x()}))})(s),onKeydown:a=>((a,e)=>{"Backspace"!==e.key||j.value[a]||a>0&&(y.value=a-1)})(s,a),focus:y.value===s},null,8,["modelValue","onUpdate:modelValue","placeholder","onInput","onKeydown","focus"])])),_:2},1024)))),128))])),_:1})])),_:1}),o(k,{style:{width:"100%"}},{default:l((()=>[o(k,{class:"right-blue"},{default:l((()=>[c(" 重新发送 ")])),_:1})])),_:1})])),_:1})])),_:1})}}},[["__scopeId","data-v-b906b8c8"]]);export{b as default}; diff --git a/unpackage/dist/build/web/assets/pages-index-index.Ck-F5yLO.js b/unpackage/dist/build/web/assets/pages-index-index.Ck-F5yLO.js new file mode 100644 index 0000000..f0d9c53 --- /dev/null +++ b/unpackage/dist/build/web/assets/pages-index-index.Ck-F5yLO.js @@ -0,0 +1 @@ +import{r as a,c as s,w as t,i as e,o as l,a as o,q as n,s as u,F as r,n as c,b as _,t as d,m as i,v as f}from"./index-DVIfOFfO.js";import{_ as b}from"./_plugin-vue_export-helper.BCo6x5W8.js";const m=b({__name:"index",setup(b){const m=["NU","动态","我的"],p=a(0);return(a,b)=>{const v=e;return l(),s(v,{class:"login-container"},{default:t((()=>[o(v,{class:"botton-view"},{default:t((()=>[(l(),n(r,null,u(m,((a,s)=>o(v,{class:"array-father"},{default:t((()=>[o(v,{class:c(p.value===s?"bottom-button-target":"bottom-button"),onClick:a=>p.value=s},{default:t((()=>[o(v,{class:""},{default:t((()=>[_(d(a),1)])),_:2},1024)])),_:2},1032,["class","onClick"]),i(o(v,{class:"blue-heng"},null,512),[[f,p.value===s]])])),_:2},1024))),64))])),_:1})])),_:1})}}},[["__scopeId","data-v-0ae6d08b"]]);export{m as default}; diff --git a/unpackage/dist/build/web/assets/pages-index-index.DwQoNhOO.js b/unpackage/dist/build/web/assets/pages-index-index.DwQoNhOO.js deleted file mode 100644 index ca3ec53..0000000 --- a/unpackage/dist/build/web/assets/pages-index-index.DwQoNhOO.js +++ /dev/null @@ -1 +0,0 @@ -import{r as a,c as e,w as l,i as s,o as t,a as u,b as c,d as o,v as i,e as r,n,f as d,g as f}from"./index-BwwWwpov.js";import{_,a as m,b as v}from"./old.CKixGO1Z.js";import{u as p}from"./useWeChatAuth.BbPcLRMD.js";import{_ as b}from"./_plugin-vue_export-helper.BCo6x5W8.js";const g=b({__name:"index",setup(b){const g=a(!1),h=a(!1),{login:x}=p();let C=null;const j=()=>{C&&clearTimeout(C),g.value?x():(h.value=!0,C=setTimeout((()=>{h.value=!1}),1e3))},k=()=>{C&&clearTimeout(C),g.value?d({url:"/pages/index/phonebumber"}):(h.value=!0,C=setTimeout((()=>{h.value=!1}),1e3))};return(a,d)=>{const p=f,b=s;return t(),e(b,{class:"login-container"},{default:l((()=>[u(b,{class:"title"},{default:l((()=>[u(p,{class:"title-imge",src:_}),u(b,{class:"title-font"},{default:l((()=>[u(b,{class:""},{default:l((()=>[c("您好,")])),_:1}),u(b,{class:""},{default:l((()=>[c("欢迎使用nu护理单元~")])),_:1})])),_:1})])),_:1}),u(p,{class:"photo-imge",src:m}),u(p,{class:"old-imge",src:v}),u(b,{class:"under-container"},{default:l((()=>[u(b,{class:"under-container-title"},{default:l((()=>[o(r("div",{class:"bubble"}," 请勾选同意该协议 ",512),[[i,h.value]]),u(b,{class:n(g.value?"radio-circle-target":"radio-circle"),onClick:d[0]||(d[0]=a=>g.value=!g.value)},null,8,["class"]),u(b,{class:"radio-circle-font",onClick:d[1]||(d[1]=a=>g.value=!g.value)},{default:l((()=>[c("登录代表您已同意")])),_:1}),u(b,{class:"radio-circle-blue"},{default:l((()=>[c(" 《法律条款与隐私政策》 ")])),_:1})])),_:1}),u(b,{class:"button-blue",onClick:j},{default:l((()=>[c(" 一键登录 ")])),_:1}),u(b,{class:"button-white",onClick:k},{default:l((()=>[c(" 手机登录/注册 ")])),_:1})])),_:1})])),_:1})}}},[["__scopeId","data-v-00b697a2"]]);export{g as default}; diff --git a/unpackage/dist/build/web/assets/pages-index-phonebumber.BA1uUnPp.js b/unpackage/dist/build/web/assets/pages-index-phonebumber.BA1uUnPp.js deleted file mode 100644 index f1eab09..0000000 --- a/unpackage/dist/build/web/assets/pages-index-phonebumber.BA1uUnPp.js +++ /dev/null @@ -1 +0,0 @@ -import{r as a,c as e,w as s,i as t,o as l,a as u,b as n,d as o,v as r,f as c,g as d,I as i}from"./index-BwwWwpov.js";import{_ as p,a as _,b as f}from"./old.CKixGO1Z.js";import{_ as m}from"./_plugin-vue_export-helper.BCo6x5W8.js";const v=m({__name:"phonebumber",setup(m){const v=()=>{c({url:`/pages/index/code?phonenumber=${g.value}`})};const g=a(""),b=a(!1),h=a=>{var e;console.log("????",a.detail.value),e=a.detail.value,/^\d{11}$/.test(e.toString())?(g.value=a.detail.value,b.value=!0):b.value=!1};return(a,c)=>{const m=d,g=t,x=i;return l(),e(g,{class:"login-container"},{default:s((()=>[u(g,{class:"title"},{default:s((()=>[u(m,{class:"title-imge",src:p}),u(g,{class:"title-font"},{default:s((()=>[u(g,{class:""},{default:s((()=>[n("您好,")])),_:1}),u(g,{class:""},{default:s((()=>[n("欢迎使用nu护理单元~")])),_:1})])),_:1})])),_:1}),u(m,{class:"photo-imge",src:_}),u(m,{class:"old-imge",src:f}),u(g,{class:"under-container"},{default:s((()=>[u(g,{class:"under-container-title"},{default:s((()=>[u(g,{class:"under-container-input"},{default:s((()=>[u(g,{class:"input-left"},{default:s((()=>[n("+86")])),_:1}),u(x,{type:"number",style:{width:"600rpx"},maxlength:"11",placeholder:"请输入手机号",onInput:h})])),_:1})])),_:1}),o(u(g,{class:"button-blue",onClick:v},{default:s((()=>[n(" 获得验证码 ")])),_:1},512),[[r,b.value]]),o(u(g,{class:"button-gray"},{default:s((()=>[n(" 获得验证码 ")])),_:1},512),[[r,!b.value]])])),_:1})])),_:1})}}},[["__scopeId","data-v-506393aa"]]);export{v as default}; diff --git a/unpackage/dist/build/web/assets/pages-login-callback.0dOI8hHL.js b/unpackage/dist/build/web/assets/pages-login-callback.0dOI8hHL.js new file mode 100644 index 0000000..88baaa3 --- /dev/null +++ b/unpackage/dist/build/web/assets/pages-login-callback.0dOI8hHL.js @@ -0,0 +1 @@ +import{y as e,r as n,c as o,w as s,z as t,i as a,o as c,b as i,t as r,q as l,s as p,F as u,a as d,f as h,g as f}from"./index-DVIfOFfO.js";import{o as m}from"./uni-app.es.DNqITeUz.js";import{u as g}from"./useWeChatAuth.s7uh5--2.js";import{_ as w}from"./_plugin-vue_export-helper.BCo6x5W8.js";const y=w({__name:"callback",setup(w){g();const y=e({name:"",openid:"",accessToken:""}),v=()=>{console.log("???"),h({url:"/pages/pay/index"})},k=n(""),I=()=>{const e=`https://www.focusnu.com/nursing-unit/h5Api/nuBizAdvisoryInfo/queryWeixinInfo?openId=${encodeURIComponent(y.openid)}&wechatName=${encodeURIComponent(y.name)}`;fetch(e).then((e=>e.json())).then((e=>{console.log("个人信息打印",e);const n=`${e.result.serverUrl}/weiXinPay/getUserInfo`,o={openid:y.openid,access_token:y.accessToken};console.log("???/",o),fetch(n,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(o)}).then((e=>e.json())).then((e=>{k.value=e,console.log("!!!!!!!!!!!!!!!!!!!!!!!",e)})).catch((e=>{console.error("请求失败:",e)})),j()}))},_=n([]),j=()=>{fetch("https://www.focusnu.com/nursing-unit/sys/sysDepart/queryInstitutionsList").then((e=>e.json())).then((e=>{_.value=[...e],console.log("机构打印",_.value)}))},x=n([]);return m((()=>{var e;const n=null==(e=window.location.href.split("?")[1])?void 0:e.split("#")[0],o={};n&&n.split("&").forEach((e=>{const[n,s]=e.split("=");o[n]=decodeURIComponent(s)})),console.log("解析到的 query 参数:",o),o.code&&(e=>{const n=`https://www.focusnu.com/nursing-unit/weixin/wechat/callback?code=${encodeURIComponent(e)}`;fetch(n).then((e=>e.json())).then((e=>{console.log("✅ 获取用户信息成功:",e),y.name=e.data.nickname,y.openid=e.data.openid,y.accessToken=e.accessToken,t({key:"openid",data:{openid:e.data.openid,accessToken:e.accessToken}}),I()})).catch((e=>{console.error("❌ 获取用户信息失败:",e)}))})(o.code)})),(e,n)=>{const h=a,m=f;return c(),o(h,{class:"callback-container"},{default:s((()=>[i(" 回调成功"+r(y.name)+r(y.openid)+" ",1),(c(!0),l(u,null,p(_.value,((e,n)=>(c(),o(h,{key:n},{default:s((()=>[d(h,{style:{"font-size":"30rpx","margin-top":"10rpx","font-weight":"700"},onClick:n=>(e=>{const n=`${e.serverUrl}/h5Api/nuBaseInfo/list`;fetch(n).then((e=>e.json())).then((e=>{x.value=[...e.result]})),t({key:"serverUrl",data:{url:e.serverUrl}});const o={openId:y.openid,serverUrl:e.serverUrl};console.log("???/",o),fetch("https://www.focusnu.com/nursing-unit/h5Api/nuBizAdvisoryInfo/editNuBizAdvisoryInfo",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(o)}).then((e=>e.json())).then((e=>{console.log("???",e)})).catch((e=>{console.error("请求失败:",e)}))})(e)},{default:s((()=>[i(r(e.departName),1)])),_:2},1032,["onClick"]),d(m,{style:{width:"60rpx",height:"60rpx"},src:`https://www.focusnu.com/nursing-unit/sys/common/static/${e.picUrl}`},null,8,["src"])])),_:2},1024)))),128)),(c(!0),l(u,null,p(x.value,((e,n)=>(c(),o(h,{key:n,onClick:v},{default:s((()=>[d(h,{style:{"font-size":"30rpx","margin-top":"10rpx","font-weight":"700"}},{default:s((()=>[i(r(e.nuName),1)])),_:2},1024)])),_:2},1024)))),128))])),_:1})}}},[["__scopeId","data-v-4644647c"]]);export{y as default}; diff --git a/unpackage/dist/build/web/assets/pages-login-code.Dc_lm9ob.js b/unpackage/dist/build/web/assets/pages-login-code.Dc_lm9ob.js new file mode 100644 index 0000000..adb73e7 --- /dev/null +++ b/unpackage/dist/build/web/assets/pages-login-code.Dc_lm9ob.js @@ -0,0 +1 @@ +import{r as e,p as a,c as l,w as s,i as t,o as u,a as c,b as o,t as n,q as d,s as r,F as i,m as f,v,d as _,e as p,T as m,g as h,u as g,I as w,x}from"./index-DVIfOFfO.js";import{_ as y,a as b,b as k}from"./old.CKixGO1Z.js";import{o as I}from"./uni-app.es.DNqITeUz.js";import{_ as j}from"./_plugin-vue_export-helper.BCo6x5W8.js";const V=j({__name:"code",setup(j){const V=e(""),C=e(["","","",""]),K=e(0),S=e(!1),U=e("rgba(0, 0, 0, 0.5)");function q(){S.value=!1}const B=()=>{const e=C.value.join("");4===e.length?(console.log("提交验证码:",e),x({url:"/pages/index/index"})):console.log("验证码未输入完整")},D=e(60);let E=null;return a((()=>{E&&clearInterval(E)})),I((e=>{V.value=e.phonenumber,(()=>{const e=`https://www.focusnu.com/nursing-unit/sys/randomImage/${Date.now()}`;fetch(e).then((e=>e.json())).then((e=>{console.log("code测试",e)}))})(),D.value=60,E=setInterval((()=>{D.value>0?D.value--:(clearInterval(E),E=null)}),1e3)})),(e,a)=>{const x=h,I=t,j=w;return u(),l(I,{class:"login-container"},{default:s((()=>[c(I,{class:"title"},{default:s((()=>[c(x,{class:"title-imge",src:y}),c(I,{class:"title-font"},{default:s((()=>[c(I,{class:""},{default:s((()=>[o("您好,")])),_:1}),c(I,{class:""},{default:s((()=>[o("欢迎使用护理单元~")])),_:1})])),_:1})])),_:1}),c(x,{class:"photo-imge",src:b}),c(x,{class:"old-imge",src:k}),c(I,{class:"under-container"},{default:s((()=>[c(I,{class:"under-container-title"},{default:s((()=>[c(I,{class:"code-title"},{default:s((()=>[o(" 请输入验证码 ")])),_:1}),c(I,{class:"code-number"},{default:s((()=>[o(" 验证码已发送至"+n(V.value),1)])),_:1})])),_:1}),c(I,{class:"captcha-container"},{default:s((()=>[c(I,{class:"captcha-box"},{default:s((()=>[(u(!0),d(i,null,r(C.value,((e,a)=>(u(),l(I,{key:a,class:"captcha-item"},{default:s((()=>[c(j,{modelValue:C.value[a],"onUpdate:modelValue":e=>C.value[a]=e,class:"captcha-input",type:"number",maxlength:"1",placeholder:a<3?"":" ",onInput:e=>(e=>{C.value[e]&&e<3&&(K.value=e+1);let a=!0;C.value.forEach((e=>{e||(a=!1)})),g((()=>{a&&B()}))})(a),onKeydown:e=>((e,a)=>{"Backspace"!==a.key||C.value[e]||e>0&&(K.value=e-1)})(a,e),focus:K.value===a},null,8,["modelValue","onUpdate:modelValue","placeholder","onInput","onKeydown","focus"])])),_:2},1024)))),128))])),_:1})])),_:1}),c(I,{class:"under-view"},{default:s((()=>[f(c(I,{class:"right-blue"},{default:s((()=>[o(" 重新发送 ")])),_:1},512),[[v,!D.value]]),f(c(I,{class:"right-white"},{default:s((()=>[o(n(D.value)+"S后重新发送 ",1)])),_:1},512),[[v,D.value]]),c(I,{class:"right-black",onClick:a[0]||(a[0]=e=>S.value=!0)},{default:s((()=>[o(" 收不到验证码 ")])),_:1})])),_:1})])),_:1}),c(m,{name:"fade"},{default:s((()=>[S.value?(u(),l(I,{key:0,class:"overlay",onClick:q,style:_({backgroundColor:U.value})},null,8,["style"])):p("",!0)])),_:1}),c(m,{name:"slide-up"},{default:s((()=>[S.value?(u(),l(I,{key:0,class:"modal"},{default:s((()=>[c(I,{class:"modal-title"},{default:s((()=>[o("收不到验证码")])),_:1}),c(I,{class:"model-p"},{default:s((()=>[c(I,{class:"text-view",style:{"font-weight":"600"}},{default:s((()=>[o("手机号可正常使用:")])),_:1}),c(I,{class:"text-view"},{default:s((()=>[o("1 是否输错手机号")])),_:1}),c(I,{class:"text-view"},{default:s((()=>[o("2 手机是否设置短信拦截/欠费/信号不好")])),_:1}),c(I,{class:"text-view"},{default:s((()=>[o("3 手机内存是否满了")])),_:1}),c(I,{class:"text-view"},{default:s((()=>[o("4 手机卡是否为物联卡,而非SIM卡")])),_:1})])),_:1})])),_:1})):p("",!0)])),_:1})])),_:1})}}},[["__scopeId","data-v-edc97756"]]);export{V as default}; diff --git a/unpackage/dist/build/web/assets/pages-login-index.BxfPqYHS.js b/unpackage/dist/build/web/assets/pages-login-index.BxfPqYHS.js new file mode 100644 index 0000000..0377e9d --- /dev/null +++ b/unpackage/dist/build/web/assets/pages-login-index.BxfPqYHS.js @@ -0,0 +1 @@ +import{r as l,c as a,w as e,i as s,o as t,a as o,b as c,n as u,d as n,e as d,T as r,f as i,g as f,h as _}from"./index-DVIfOFfO.js";import{_ as m,a as p,b as v}from"./old.CKixGO1Z.js";import{u as g}from"./useWeChatAuth.s7uh5--2.js";import{_ as b}from"./_plugin-vue_export-helper.BCo6x5W8.js";const k=b({__name:"index",setup(b){const k=l(!1),C=l(!1);g();const h=l("rgba(0, 0, 0, 0.5)");function y(){C.value=!1}const x=()=>{k.value?i({url:"/pages/login/phonebumber"}):C.value=!0},j=()=>{console.log("????"),i({url:"/pages/login/protocol"})};return(l,i)=>{const g=f,b=s,w=_;return t(),a(b,{class:"login-container"},{default:e((()=>[o(b,{class:"title"},{default:e((()=>[o(g,{class:"title-imge",src:m}),o(b,{class:"title-font"},{default:e((()=>[o(b,{class:""},{default:e((()=>[c("您好,")])),_:1}),o(b,{class:""},{default:e((()=>[c("欢迎使用护理单元~")])),_:1})])),_:1})])),_:1}),o(g,{class:"photo-imge",src:p}),o(g,{class:"old-imge",src:v}),o(b,{class:"under-container"},{default:e((()=>[o(b,{class:"under-container-title"},{default:e((()=>[o(b,{class:u(k.value?"radio-circle-target":"radio-circle"),onClick:i[0]||(i[0]=l=>k.value=!k.value)},null,8,["class"]),o(b,{style:{"margin-left":"17rpx"},class:"radio-circle-font",onClick:i[1]||(i[1]=l=>k.value=!k.value)},{default:e((()=>[c("同意")])),_:1}),o(b,{class:"radio-circle-blue",onClick:j},{default:e((()=>[c(" 《护理单元使用条款》 ")])),_:1}),o(b,{class:"radio-circle-font",onClick:i[2]||(i[2]=l=>k.value=!k.value)},{default:e((()=>[c("并授权NU获取本机号码")])),_:1})])),_:1}),o(b,{class:"button-blue",onClick:x},{default:e((()=>[c(" 一键登录 ")])),_:1})])),_:1}),o(r,{name:"fade"},{default:e((()=>[C.value?(t(),a(b,{key:0,class:"overlay",onClick:y,style:n({backgroundColor:h.value})},null,8,["style"])):d("",!0)])),_:1}),o(r,{name:"slide-up"},{default:e((()=>[C.value?(t(),a(b,{key:0,class:"modal"},{default:e((()=>[o(b,{class:"modal-title"},{default:e((()=>[c("服务协议及隐私保护")])),_:1}),o(b,{class:"model-p"},{default:e((()=>[o(w,null,{default:e((()=>[c("  为了更好地保障您的合法权益,请阅读并同意以下协议")])),_:1}),o(w,{style:{color:"rgb(0,141,255)"},onClick:j},{default:e((()=>[c("《护理单元使用条款》")])),_:1}),o(w,null,{default:e((()=>[c(",同意后将自动登录。")])),_:1})])),_:1}),o(b,{class:"model-down"},{default:e((()=>[o(b,{class:"model-white",onClick:y},{default:e((()=>[c(" 不同意 ")])),_:1}),o(b,{class:"model-blue",onClick:i[3]||(i[3]=l=>{y(),k.value=!0})},{default:e((()=>[c(" 同意 ")])),_:1})])),_:1})])),_:1})):d("",!0)])),_:1})])),_:1})}}},[["__scopeId","data-v-8017333f"]]);export{k as default}; diff --git a/unpackage/dist/build/web/assets/pages-login-phonebumber.BhyyGBGp.js b/unpackage/dist/build/web/assets/pages-login-phonebumber.BhyyGBGp.js new file mode 100644 index 0000000..9f0d3fb --- /dev/null +++ b/unpackage/dist/build/web/assets/pages-login-phonebumber.BhyyGBGp.js @@ -0,0 +1 @@ +import{r as e,j as a,o as t,c as l,w as n,a as s,d as o,k as u,l as r,g as i,i as c,b as v,m as d,v as h,e as p,f as m,I as f}from"./index-DVIfOFfO.js";import{_ as g,a as w,b as _}from"./old.CKixGO1Z.js";import{o as x}from"./uni-app.es.DNqITeUz.js";import{_ as b}from"./_plugin-vue_export-helper.BCo6x5W8.js";const y="/wechat/thd/assets/1-BjS2h1iy.png",$=b({__name:"huakuai",setup(v){const d=100,h=e(null),p=e(null),m=e(400),f=e(600),g=e(0),w=e(0),_=e(0),b=e(!1),$=e(0);const k=`path('${L=d,`\n M20 0\n h${L/3-20}\n a20 20 0 0 1 0 40\n h${L/3}\n a20 20 0 0 0 0 -40\n h${L/3-20}\n v${L/3-20}\n a20 20 0 0 1 -40 0\n v${L/3}\n a20 20 0 0 0 40 0\n v${L/3-20}\n h-${L/3-20}\n a20 20 0 0 1 0 -40\n h-${L/3}\n a20 20 0 0 0 0 40\n h-${L/3-20}\n z\n `}')`;var L;function E(){r().in(h.value).select(".bg-image").boundingClientRect((e=>{e?(console.log("图片宽高:",e.width,e.height),m.value=2*e.width,f.value=2*e.height,g.value=Math.random()*(m.value-200)+d,w.value=f.value/2,_.value=0,console.log("originX:",g.value,"originY:",w.value)):console.error("无法获取.bg-image尺寸")})).exec()}function C(e){b.value=!0,$.value=e.touches?2*e.touches[0].clientX:2*e.clientX,window.addEventListener("mousemove",M),window.addEventListener("mouseup",j),window.addEventListener("touchmove",M),window.addEventListener("touchend",j)}function M(e){if(!b.value)return;let a=(e.touches?2*e.touches[0].clientX:2*e.clientX)-$.value;a=Math.max(0,Math.min(a,m.value-d)),_.value=a}function j(){b.value=!1,window.removeEventListener("mousemove",M),window.removeEventListener("mouseup",j),window.removeEventListener("touchmove",M),window.removeEventListener("touchend",j),Math.abs(_.value-g.value)<20?console.log("验证成功"):_.value=0}const I=e("");return x((()=>{let e=Math.floor(4*Math.random());const a=["/wechat/thd/assets/0-DC0meffC.png",y,y,y];I.value=a[e]})),a((()=>{window.removeEventListener("mousemove",M),window.removeEventListener("mouseup",j),window.removeEventListener("touchmove",M),window.removeEventListener("touchend",j)})),(e,a)=>{const r=i,v=c;return t(),l(v,{class:"captcha-container",ref_key:"container",ref:h},{default:n((()=>[s(v,{class:"captcha-image",style:{position:"relative",width:"100%",height:"400rpx",overflow:"hidden"}},{default:n((()=>[s(r,{src:I.value,class:"bg-image",mode:"widthFix",onLoad:E},null,8,["src"]),s(v,{class:"overlay",style:o({width:m.value+"rpx",height:f.value+"rpx"})},{default:n((()=>[s(v,{class:"hole",style:o({top:w.value+"rpx",left:g.value+"rpx",width:"100rpx",height:"100rpx",clipPath:k,transform:"translate(-50%, -50%)",backgroundColor:"rgba(0,0,0,0.3)"})},null,8,["style"]),s(v,{class:"piece",style:o({top:w.value+"rpx",left:_.value+"rpx",width:"100rpx",height:"100rpx",backgroundImage:`url(${I.value})`,backgroundSize:m.value+"rpx "+f.value+"rpx",backgroundPosition:`-${g.value}rpx -${w.value}rpx`,clipPath:k,transform:"translate(-50%, -50%)"})},null,8,["style"])])),_:1},8,["style"])])),_:1}),s(v,{class:"slider-bar"},{default:n((()=>[s(v,{class:"slider-button",ref_key:"btn",ref:p,onTouchstart:u(C,["prevent"]),onMousedown:u(C,["prevent"]),style:o({left:_.value+"rpx",maxWidth:m.value-d+"rpx"})},null,8,["style"])])),_:1})])),_:1},512)}}},[["__scopeId","data-v-9fb232f4"]]),k=b({__name:"phonebumber",setup(a){const o=e(!1),r=()=>{m({url:`/pages/login/code?phonenumber=${x.value}`})};const x=e(""),b=e(!1),y=e=>{var a;console.log("????",e.detail.value),a=e.detail.value,/^\d{11}$/.test(a.toString())?(x.value=e.detail.value,b.value=!0):b.value=!1};return(e,a)=>{const m=i,x=c,k=f;return t(),l(x,{class:"login-container"},{default:n((()=>[s(x,{class:"title"},{default:n((()=>[s(m,{class:"title-imge",src:g}),s(x,{class:"title-font"},{default:n((()=>[s(x,{class:""},{default:n((()=>[v("您好,")])),_:1}),s(x,{class:""},{default:n((()=>[v("欢迎使用护理单元~")])),_:1})])),_:1})])),_:1}),s(m,{class:"photo-imge",src:w}),s(m,{class:"old-imge",src:_}),s(x,{class:"under-container"},{default:n((()=>[s(x,{class:"under-container-title"},{default:n((()=>[s(x,{class:"under-container-input"},{default:n((()=>[s(x,{class:"input-left"},{default:n((()=>[v("+86")])),_:1}),s(k,{type:"number",style:{width:"600rpx","font-size":"33rpx"},maxlength:"11",placeholder:"请输入绑定手机号",onInput:y})])),_:1})])),_:1}),s(x,{class:"button-blue",onClick:a[0]||(a[0]=e=>o.value=!0)},{default:n((()=>[v(" 滑块校验 ")])),_:1}),d(s(x,{class:"button-blue",onClick:r},{default:n((()=>[v(" 获得验证码 ")])),_:1},512),[[h,b.value]]),d(s(x,{class:"button-gray"},{default:n((()=>[v(" 获得验证码 ")])),_:1},512),[[h,!b.value]])])),_:1}),o.value?(t(),l(x,{key:0,class:"bg-mask",onClick:a[2]||(a[2]=e=>o.value=!1)},{default:n((()=>[s($,{onClick:a[1]||(a[1]=u((()=>{}),["stop"]))})])),_:1})):p("",!0)])),_:1})}}},[["__scopeId","data-v-a00813dc"]]);export{k as default}; diff --git a/unpackage/dist/build/web/assets/pages-login-protocol.DzE2Fy0G.js b/unpackage/dist/build/web/assets/pages-login-protocol.DzE2Fy0G.js new file mode 100644 index 0000000..6aed7da --- /dev/null +++ b/unpackage/dist/build/web/assets/pages-login-protocol.DzE2Fy0G.js @@ -0,0 +1 @@ +import{c as l,w as n,i as p,o as u,a as r,b as a,D as s}from"./index-DVIfOFfO.js";import{_ as t}from"./_plugin-vue_export-helper.BCo6x5W8.js";const e=t({},[["render",function(t,e){const b=p;return u(),l(b,{class:"font-father"},{default:n((()=>[r(b,{class:"font-title"},{default:n((()=>[a(" 护理单元隐私条款 ")])),_:1}),r(b,{class:""},{default:n((()=>[s("p",null,"  本《护理单元隐私条款》(以下简称“本条款”)为用户在登录并使用本护理单元(包括网站、App及相关服务)时必须共同遵守的法律协议。请您在使用本护理单元前,认真阅读并充分理解本条款全部内容,如您不同意本条款任何内容,请勿登录或使用本护理单元。"),s("br"),s("p",null,"一、总则"),s("p",null,"1.1 本护理单元由[公司名称](以下简称“本平台”)提供维护,具有独立运营权。"),s("p",null,"1.2 用户是指注册、登录并使用本护理单元的机构、医护人员及相关人员,您在注册或登录时提交的信息应真实、准确、完整,并对其真实性负责。"),s("p",null,"1.3 本条款构成用户与本平台之间关于护理单元使用的完整协议,除本条款外,用户与本平台可能不另行签署其他协议。"),s("br"),s("p",null,"二、服务内容"),s("p",null,"2.1 本平台为用户提供以下主要服务:"),s("p",null,"a) 护理计划制定与管理;"),s("p",null,"b) 病人信息记录与查询;"),s("p",null,"c) 护理任务分派与跟踪;"),s("p",null,"d) 护理质量考核与评估;"),s("p",null,"e) 其他相关护理支持服务。"),s("p",null,"2.2 本平台可根据业务发展和技术需求,不时调整、本条款所描述的服务内容并在平台界面或其他适当位置予以公告。"),s("br"),s("p",null,"三、用户权利与义务"),s("p",null,"3.1 用户有权按照本条款、平台规则及法律法规的相关规定,使用本平台提供的各项服务。"),s("p",null,"3.2 用户应按照本平台要求,妥善保管登录账户及密码,不得将账户转借、转让或泄露给他人。如因账户外泄导致的任何损失,由用户自行承担。"),s("p",null,"3.3 用户在使用本平台时,应遵守国家法律法规及行业规范,不得利用本平台从事下列行为:"),s("p",null,"a) 侵犯他人合法权益的行为;"),s("p",null,"b) 发布或传播违法、淫秽、暴力或其他不良信息;"),s("p",null,"c) 非法获取、使用或披露他人隐私信息;"),s("p",null,"d) 利用本平台实施任何违法或不当行为。"),s("p",null,"3.4 用户保证对上传、发布至本平台的所有资料及信息拥有合法权利。如因用户发布的信息引发任何纠纷或法律责任,与本平台无关,概由用户自行承担。"),s("br"),s("p",null,"四、隐私与数据保护"),s("p",null,"4.1 本平台依法收集、使用、存储和保护用户的个人信息与病人健康信息,并采取合理的技术和管理措施,防止信息泄露、损毁或被非法访问。"),s("p",null,"4.2 未经用户同意,本平台不会向任何第三方披露用户个人信息,但法律法规另有规定或司法机关、行政机关依职权要求的除外。"),s("p",null,"4.3 用户同意本平台在执行业务过程中,对用户及病人信息进行处理与统计,并用于优化服务、产品研发及内部管理等用途。"),s("br"),s("p",null,"五、使用规范"),s("p",null,"5.1 用户应在具备相应资格或授权的前提下使用本平台的专业护理模块。"),s("p",null,"5.2 平台仅为辅助工具,用户在实际护理过程中,应结合临床实际情况及专业判断,不得完全依赖平台数据而忽视专业判断。"),s("p",null,"5.3 用户应合理使用系统资源,不得恶意攻击、干扰或破坏本平台的正常运行。"),s("br"),s("p",null,"六、免责声明"),s("p",null,"6.1 本平台对因本款项原因导致的服务中断、延迟或数据丢失不承担责任,但将尽最大努力恢复服务并减少损失。"),s("p",null,"6.2 本平台对因技术故障、停电、通讯线路中断、第三方服务故障、不可抗力等原因导致的服务中断或其他问题不承担责任。"),s("p",null,"6.3 本平台对用户因使用本平台服务而产生的任何间接、附带、特殊或惩罚性损害赔偿不承担责任。"),s("br"),s("p",null,"七、知识产权"),s("p",null,"7.1 本平台及其所提供服务中的所有内容(包括文字、图片、图表、界面设计、程序等)的著作权、专利权、 商标权益及其他知识产权,均归本平台或相关权利人所有。"),s("p",null,"7.2 未经本平台事先书面许可,用户不得擅自复制、改编、发布、传播或以其他方式使用上述内容。"),s("br"),s("p",null,"八、协议变更与终止"),s("p",null,"8.1 本平台有权根据业务发展需要,不时修订本条款并在平台界面或其他适当位置予以公告。修订后的条款自公告之日起生效。"),s("p",null,"8.2 如用户不接受修订后的条款,应停止使用本平台。如继续使用,视为接受修订后的条款。"),s("p",null,"8.3 本平台有权在用户严重违反本条款或法律法规的情况下,暂停或终止向该用户提供服务,并保留追究其法律责任的权利。"),s("br"),s("p",null,"九、争议解决"),s("p",null,"9.1 本条款的解释、效力及纠纷解决,适用中华人民共和国法律。"),s("p",null,"9.2 因本条款或因使用本平台服务产生的任何争议,双方应友好协商解决;协商不成时,任一方可向本平台所在地有管辖权的人民法院提起诉讼。"),s("br"),s("p",null,"十、其他"),s("p",null,"10.1 如本条款某一条款被有权机关认定为无效或不可执行,不影响其他条款的有效性。"),s("p",null,"10.2 本条款自用户在登录界面点击“同意”并登录成功之日起生效。"),s("br")])),_:1})])),_:1})}],["__scopeId","data-v-c417cc79"]]);export{e as default}; diff --git a/unpackage/dist/build/web/assets/pages-map-index.s85BvS79.js b/unpackage/dist/build/web/assets/pages-map-index.CSfvTUNk.js similarity index 99% rename from unpackage/dist/build/web/assets/pages-map-index.s85BvS79.js rename to unpackage/dist/build/web/assets/pages-map-index.CSfvTUNk.js index 2c98b92..107d3b8 100644 --- a/unpackage/dist/build/web/assets/pages-map-index.s85BvS79.js +++ b/unpackage/dist/build/web/assets/pages-map-index.CSfvTUNk.js @@ -1,4 +1,4 @@ -import{r as t,u as e,h as n,e as i,o as r}from"./index-BwwWwpov.js";import{_ as a}from"./_plugin-vue_export-helper.BCo6x5W8.js"; +import{r as t,E as e,q as n,D as i,o as r}from"./index-DVIfOFfO.js";import{_ as a}from"./_plugin-vue_export-helper.BCo6x5W8.js"; /** * @license * Copyright 2010-2025 Three.js Authors diff --git a/unpackage/dist/build/web/assets/pages-pay-index.BLyKtgIz.js b/unpackage/dist/build/web/assets/pages-pay-index.C3l5wi3I.js similarity index 66% rename from unpackage/dist/build/web/assets/pages-pay-index.BLyKtgIz.js rename to unpackage/dist/build/web/assets/pages-pay-index.C3l5wi3I.js index d3cc57b..ee3a392 100644 --- a/unpackage/dist/build/web/assets/pages-pay-index.BLyKtgIz.js +++ b/unpackage/dist/build/web/assets/pages-pay-index.C3l5wi3I.js @@ -1 +1 @@ -import{r as e,h as a,e as n,a as t,w as o,t as s,x as l,y as i,I as d,z as p,o as u,b as c}from"./index-BwwWwpov.js";import{_ as r}from"./_plugin-vue_export-helper.BCo6x5W8.js";const v=r({__name:"index",setup(r){const v=e(""),g=e(!1),y=e("");e({timeStamp:"1747983532",package:"prepay_id=wx23145806465232c82870c59d2d41cf0000",paySign:"0pUqj2JZ77BYchyJuthQyP4yRfqhjvwag78Q4IMnIyQ3/OQP6OyJreZfmj0GFSEMrRsKAHIdBBM7tVnot0aaRhI5qwSOWpzyvJCkYa4eqPgqlV4XYVMqE3zeB/Cx4C9bv4poMXnaGlfFPdkhMYbUcdtsw4gBXXhqUx//9x7eu9cOERRzLquM8Z8rewRpar/kkVKSCV6h8pX19kRj+KEkK5LZB8IUIG995g1lsVFOqdO4mVFBJ1wZCkwJczgVI+jdNGgnR2lpdjwIpJFm+5Hm0y9SwR0UFvgkm95NrmY+Sruty/Zf8ekQwF4+atubW8CE6i8wm2zZpMEnnfS4WFwAwg==",appId:"wx8fc3e4305d2fbf0b",signType:"RSA",nonceStr:"DxpF2uIMl0VM7vPOG7pWnPHk2Dvi3V7K"});const m=()=>{const e=`${w.value}/weiXinPay/native`,a={title:"测试",openId:S.value,amountPrice:v.value};console.log("???/",a),fetch(e,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(a)}).then((e=>e.json())).then((e=>{!function(e){const a=()=>{window.WeixinJSBridge.invoke("getBrandWCPayRequest",{appId:e.appId,timeStamp:e.timeStamp,nonceStr:e.nonceStr,package:e.package,signType:e.signType,paySign:e.paySign},(function(e){g.value=!1,"get_brand_wcpay_request:ok"===e.err_msg?y.value="支付成功":y.value="支付失败或取消"}))};void 0===window.WeixinJSBridge?document.addEventListener("WeixinJSBridgeReady",a,!1):a()}(e)})).catch((e=>{console.error("请求失败:",e)}))},w=e(""),S=e("");function f(){v.value&&(g.value=!0,y.value="拉起微信支付...",i({key:"serverUrl",success:function(e){console.log("读取缓存:",e.data.url),w.value=e.data.url}}),i({key:"openid",success:function(e){console.log("读取缓存:",e.data.openid),S.value=e.data.openid}}),m())}return(e,i)=>{const r=d,m=p;return u(),a("div",{class:"container"},[n("div",{class:"input-group"},[t(r,{type:"number",modelValue:v.value,"onUpdate:modelValue":i[0]||(i[0]=e=>v.value=e),placeholder:"请输入金额",class:"amount-input"},null,8,["modelValue"]),t(m,{onClick:f,disabled:g.value||!v.value,class:"pay-btn"},{default:o((()=>[c(" 支付 ")])),_:1},8,["disabled"])]),y.value?(u(),a("div",{key:0,class:"status-group"},[n("p",null,s(y.value),1)])):l("",!0)])}}},[["__scopeId","data-v-8d52c10e"]]);export{v as default}; +import{r as e,q as a,D as n,a as t,w as o,t as s,e as l,G as i,I as d,H as p,o as u,b as c}from"./index-DVIfOFfO.js";import{_ as r}from"./_plugin-vue_export-helper.BCo6x5W8.js";const v=r({__name:"index",setup(r){const v=e(""),g=e(!1),m=e("");e({timeStamp:"1747983532",package:"prepay_id=wx23145806465232c82870c59d2d41cf0000",paySign:"0pUqj2JZ77BYchyJuthQyP4yRfqhjvwag78Q4IMnIyQ3/OQP6OyJreZfmj0GFSEMrRsKAHIdBBM7tVnot0aaRhI5qwSOWpzyvJCkYa4eqPgqlV4XYVMqE3zeB/Cx4C9bv4poMXnaGlfFPdkhMYbUcdtsw4gBXXhqUx//9x7eu9cOERRzLquM8Z8rewRpar/kkVKSCV6h8pX19kRj+KEkK5LZB8IUIG995g1lsVFOqdO4mVFBJ1wZCkwJczgVI+jdNGgnR2lpdjwIpJFm+5Hm0y9SwR0UFvgkm95NrmY+Sruty/Zf8ekQwF4+atubW8CE6i8wm2zZpMEnnfS4WFwAwg==",appId:"wx8fc3e4305d2fbf0b",signType:"RSA",nonceStr:"DxpF2uIMl0VM7vPOG7pWnPHk2Dvi3V7K"});const y=()=>{const e=`${w.value}/weiXinPay/native`,a={title:"测试",openId:S.value,amountPrice:v.value};console.log("???/",a),fetch(e,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(a)}).then((e=>e.json())).then((e=>{!function(e){const a=()=>{window.WeixinJSBridge.invoke("getBrandWCPayRequest",{appId:e.appId,timeStamp:e.timeStamp,nonceStr:e.nonceStr,package:e.package,signType:e.signType,paySign:e.paySign},(function(e){g.value=!1,"get_brand_wcpay_request:ok"===e.err_msg?m.value="支付成功":m.value="支付失败或取消"}))};void 0===window.WeixinJSBridge?document.addEventListener("WeixinJSBridgeReady",a,!1):a()}(e)})).catch((e=>{console.error("请求失败:",e)}))},w=e(""),S=e("");function f(){v.value&&(g.value=!0,m.value="拉起微信支付...",i({key:"serverUrl",success:function(e){console.log("读取缓存:",e.data.url),w.value=e.data.url}}),i({key:"openid",success:function(e){console.log("读取缓存:",e.data.openid),S.value=e.data.openid}}),y())}return(e,i)=>{const r=d,y=p;return u(),a("div",{class:"container"},[n("div",{class:"input-group"},[t(r,{type:"number",modelValue:v.value,"onUpdate:modelValue":i[0]||(i[0]=e=>v.value=e),placeholder:"请输入金额",class:"amount-input"},null,8,["modelValue"]),t(y,{onClick:f,disabled:g.value||!v.value,class:"pay-btn"},{default:o((()=>[c(" 支付 ")])),_:1},8,["disabled"])]),m.value?(u(),a("div",{key:0,class:"status-group"},[n("p",null,s(m.value),1)])):l("",!0)])}}},[["__scopeId","data-v-8d52c10e"]]);export{v as default}; diff --git a/unpackage/dist/build/web/assets/phonebumber-CuSI2dFj.css b/unpackage/dist/build/web/assets/phonebumber-CuSI2dFj.css new file mode 100644 index 0000000..765ff77 --- /dev/null +++ b/unpackage/dist/build/web/assets/phonebumber-CuSI2dFj.css @@ -0,0 +1 @@ +.captcha-container[data-v-9fb232f4]{-webkit-user-select:none;user-select:none;background-color:#fff;width:18.75rem;height:18.75rem;margin:0 auto;z-index:999;border-radius:.9375rem;overflow:hidden}.captcha-image[data-v-9fb232f4]{position:relative;overflow:hidden}.bg-image[data-v-9fb232f4]{position:relative;z-index:1;display:block;width:100%;height:100%}.overlay[data-v-9fb232f4]{position:absolute;top:0;left:0;width:100%;height:100%;z-index:100;pointer-events:none}.hole[data-v-9fb232f4],.piece[data-v-9fb232f4]{position:absolute;z-index:101;border-radius:.15625rem;box-shadow:0 0 .1875rem rgba(0,0,0,.4)}.hole[data-v-9fb232f4]{background-color:rgba(0,0,0,.3)}.piece[data-v-9fb232f4]{background-repeat:no-repeat;background-size:cover;cursor:grab}.slider-bar[data-v-9fb232f4]{position:relative;height:5rem;margin-top:0;background:#eee;border-radius:2.5rem;width:18.75rem}.slider-button[data-v-9fb232f4]{position:absolute;top:.625rem;width:3.75rem;height:3.75rem;background:#fff;border-radius:1.875rem;box-shadow:0 0 .625rem rgba(0,0,0,.2);transition:background .3s;-webkit-user-select:none;user-select:none}.slider-button.success[data-v-9fb232f4]{background:#4caf50}.login-container[data-v-a00813dc]{display:flex;flex-direction:column;min-height:100vh;width:100%;background-color:#eff1fc;position:relative}.login-container .title[data-v-a00813dc]{margin-top:2.1875rem;align-items:center}.login-container .title .title-imge[data-v-a00813dc]{width:3.125rem;height:3.28125rem;margin-left:3.125rem}.login-container .title .title-font[data-v-a00813dc]{font-size:1.09375rem;font-weight:600;margin-left:3.28125rem;margin-top:.3125rem}.login-container .photo-imge[data-v-a00813dc]{position:absolute;top:3.75rem;left:0;width:100%;height:34.375rem}.login-container .old-imge[data-v-a00813dc]{position:absolute;right:.9375rem;top:12.5rem;width:12.5rem;height:12.5rem}.login-container .under-container[data-v-a00813dc]{position:fixed;left:0;bottom:0;width:100%;height:45vh;background-color:#fff;border-top-left-radius:1.5625rem;border-top-right-radius:1.5625rem;box-shadow:.3125rem .3125rem .625rem rgba(0,0,0,.1);display:flex;flex-direction:column;align-items:center}.login-container .under-container .radio-circle[data-v-a00813dc],.login-container .under-container .radio-circle-target[data-v-a00813dc]{position:relative;margin-top:.0625rem;width:1.25rem;height:1.25rem;border-radius:50%;border:.0625rem solid #C0C5D9;background-color:transparent}.login-container .under-container .radio-circle-target[data-v-a00813dc]:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:.9375rem;height:.9375rem;background-color:#00c9ff;border-radius:50%}.under-container-title[data-v-a00813dc]{display:flex;margin-top:1.875rem;margin-bottom:1.875rem;align-items:center;justify-content:center;font-size:.78125rem;font-weight:500;width:100%}.under-container-title .radio-circle-blue[data-v-a00813dc]{color:#0083ff;margin-top:.09375rem}.under-container-title .radio-circle-font[data-v-a00813dc]{color:#5a607f;margin-left:.5625rem;margin-top:.09375rem}.under-container-title .under-container-input[data-v-a00813dc]{width:80%;display:flex;align-items:center;height:3.125rem;border-radius:1.34375rem;color:#5a607f;font-size:1.03125rem;border:.0625rem solid #C0C5D9}.under-container-title .under-container-input .input-left[data-v-a00813dc]{margin:0 .9375rem}.button-gray[data-v-a00813dc]{width:80%;display:flex;justify-content:center;align-items:center;height:3.125rem;border-radius:1.34375rem;background-color:#bcbcbc;color:#fff;font-size:1.03125rem;margin-bottom:.9375rem}.button-white[data-v-a00813dc]{width:80%;display:flex;justify-content:center;align-items:center;height:3.125rem;border-radius:1.34375rem;color:#5a607f;font-size:1.03125rem;margin-bottom:.9375rem;border:.0625rem solid #C0C5D9}.button-blue[data-v-a00813dc]{width:80%;display:flex;justify-content:center;align-items:center;height:3.125rem;border-radius:1.34375rem;background:linear-gradient(to right,#00c9ff,#0076ff);color:#fff;font-size:1.03125rem;margin-bottom:.9375rem}.bubble[data-v-a00813dc]{transition:opacity 1s ease-out;position:absolute;left:.78125rem;top:-.15625rem;background-color:#000;color:#fff;padding:.3125rem;border-radius:.3125rem;font-size:.71875rem;box-shadow:.0625rem .0625rem .15625rem rgba(0,0,0,.2);pointer-events:none;opacity:1}.bubble[data-v-a00813dc]:after{transition:opacity 1s ease-out;content:"";position:absolute;left:50%;bottom:-.25rem;border-left:.3125rem solid transparent;border-right:.3125rem solid transparent;border-top:.3125rem solid black;transform:translate(-50%)}.bubble.hidden[data-v-a00813dc]{opacity:0}.bg-mask[data-v-a00813dc]{position:fixed;top:0;left:0;width:100vw;height:100vh;background:rgba(0,0,0,.3);-webkit-backdrop-filter:blur(.15625rem);backdrop-filter:blur(.15625rem);z-index:998;display:flex;justify-content:center;align-items:center} diff --git a/unpackage/dist/build/web/assets/phonebumber-D3FOy7V7.css b/unpackage/dist/build/web/assets/phonebumber-D3FOy7V7.css deleted file mode 100644 index 89f9b05..0000000 --- a/unpackage/dist/build/web/assets/phonebumber-D3FOy7V7.css +++ /dev/null @@ -1 +0,0 @@ -.login-container[data-v-506393aa]{display:flex;flex-direction:column;align-items:center;height:100vh;width:100%;background-color:#eff1fc;position:relative}.login-container .title[data-v-506393aa]{display:flex;margin-top:3.75rem;align-items:center}.login-container .title .title-imge[data-v-506393aa]{width:3.4375rem;height:3.4375rem;margin-right:.9375rem}.login-container .title .title-font[data-v-506393aa]{font-size:1.09375rem;font-weight:500}.login-container .photo-imge[data-v-506393aa]{position:absolute;top:3.75rem;left:0;width:100%;height:34.375rem}.login-container .old-imge[data-v-506393aa]{position:absolute;left:50%;transform:translate(-50%,-50%);top:17.1875rem;width:12.5rem;height:12.5rem}.login-container .under-container[data-v-506393aa]{position:absolute;left:0;bottom:0;width:100%;height:21.25rem;background-color:#fff;border-top-left-radius:1.5625rem;border-top-right-radius:1.5625rem;box-shadow:.3125rem .3125rem .625rem rgba(0,0,0,.1);display:flex;flex-direction:column;align-items:center}.login-container .under-container .radio-circle[data-v-506393aa],.login-container .under-container .radio-circle-target[data-v-506393aa]{position:relative;margin-top:.0625rem;width:1.25rem;height:1.25rem;border-radius:50%;border:.0625rem solid #C0C5D9;background-color:transparent}.login-container .under-container .radio-circle-target[data-v-506393aa]:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:.9375rem;height:.9375rem;background-color:#00c9ff;border-radius:50%}.under-container-title[data-v-506393aa]{display:flex;margin-top:1.875rem;margin-bottom:.9375rem;align-items:center;justify-content:center;font-size:.78125rem;font-weight:500;width:100%}.under-container-title .radio-circle-blue[data-v-506393aa]{color:#0083ff;margin-top:.09375rem}.under-container-title .radio-circle-font[data-v-506393aa]{color:#5a607f;margin-left:.5625rem;margin-top:.09375rem}.under-container-title .under-container-input[data-v-506393aa]{width:80%;display:flex;align-items:center;height:3.125rem;border-radius:1.34375rem;color:#5a607f;font-size:1.03125rem;border:.0625rem solid #C0C5D9}.under-container-title .under-container-input .input-left[data-v-506393aa]{margin:0 .9375rem}.button-gray[data-v-506393aa]{width:80%;display:flex;justify-content:center;align-items:center;height:3.125rem;border-radius:1.34375rem;background-color:#bcbcbc;color:#fff;font-size:1.03125rem;margin-bottom:.9375rem}.button-white[data-v-506393aa]{width:80%;display:flex;justify-content:center;align-items:center;height:3.125rem;border-radius:1.34375rem;color:#5a607f;font-size:1.03125rem;margin-bottom:.9375rem;border:.0625rem solid #C0C5D9}.button-blue[data-v-506393aa]{width:80%;display:flex;justify-content:center;align-items:center;height:3.125rem;border-radius:1.34375rem;background:linear-gradient(to right,#00c9ff,#0076ff);color:#fff;font-size:1.03125rem;margin-bottom:.9375rem}.bubble[data-v-506393aa]{transition:opacity 1s ease-out;position:absolute;left:.78125rem;top:-.15625rem;background-color:#000;color:#fff;padding:.3125rem;border-radius:.3125rem;font-size:.71875rem;box-shadow:.0625rem .0625rem .15625rem rgba(0,0,0,.2);pointer-events:none;opacity:1}.bubble[data-v-506393aa]:after{transition:opacity 1s ease-out;content:"";position:absolute;left:50%;bottom:-.25rem;border-left:.3125rem solid transparent;border-right:.3125rem solid transparent;border-top:.3125rem solid black;transform:translate(-50%)}.bubble.hidden[data-v-506393aa]{opacity:0} diff --git a/unpackage/dist/build/web/assets/protocol-Cu_7ppq0.css b/unpackage/dist/build/web/assets/protocol-Cu_7ppq0.css new file mode 100644 index 0000000..c23f8f6 --- /dev/null +++ b/unpackage/dist/build/web/assets/protocol-Cu_7ppq0.css @@ -0,0 +1 @@ +.font-father[data-v-c417cc79]{width:100%;padding:0 1.5625rem;display:flex;justify-content:center;align-items:center;flex-direction:column}.font-father .font-title[data-v-c417cc79]{font-size:1.09375rem;font-weight:700;margin:.625rem 0} diff --git a/unpackage/dist/build/web/assets/uni-app.es.CdisLe7k.js b/unpackage/dist/build/web/assets/uni-app.es.CdisLe7k.js deleted file mode 100644 index 15e72f9..0000000 --- a/unpackage/dist/build/web/assets/uni-app.es.CdisLe7k.js +++ /dev/null @@ -1 +0,0 @@ -import{m as s,p as a,q as o,O as m}from"./index-BwwWwpov.js";const p=(m=>(p,r=o())=>{!s&&a(m,p,r)})(m);export{p as o}; diff --git a/unpackage/dist/build/web/assets/uni-app.es.DNqITeUz.js b/unpackage/dist/build/web/assets/uni-app.es.DNqITeUz.js new file mode 100644 index 0000000..ef11573 --- /dev/null +++ b/unpackage/dist/build/web/assets/uni-app.es.DNqITeUz.js @@ -0,0 +1 @@ +import{A as s,B as a,C as o,O as r}from"./index-DVIfOFfO.js";const t=(r=>(t,e=o())=>{!s&&a(r,t,e)})(r);export{t as o}; diff --git a/unpackage/dist/build/web/assets/uni.1d16bcf0.css b/unpackage/dist/build/web/assets/uni.60c8949f.css similarity index 67% rename from unpackage/dist/build/web/assets/uni.1d16bcf0.css rename to unpackage/dist/build/web/assets/uni.60c8949f.css index 5040f49..e4fec31 100644 --- a/unpackage/dist/build/web/assets/uni.1d16bcf0.css +++ b/unpackage/dist/build/web/assets/uni.60c8949f.css @@ -1 +1 @@ -uni-button{position:relative;display:block;margin-left:auto;margin-right:auto;padding-left:14px;padding-right:14px;box-sizing:border-box;font-size:18px;text-align:center;text-decoration:none;line-height:2.55555556;border-radius:5px;-webkit-tap-highlight-color:transparent;overflow:hidden;color:#000;background-color:#f8f8f8;cursor:pointer}uni-button[hidden]{display:none!important}uni-button:after{content:" ";width:200%;height:200%;position:absolute;top:0;left:0;border:1px solid rgba(0,0,0,.2);transform:scale(.5);transform-origin:0 0;box-sizing:border-box;border-radius:10px}uni-button[native]{padding-left:0;padding-right:0}uni-button[native] .uni-button-cover-view-wrapper{border:inherit;border-color:inherit;border-radius:inherit;background-color:inherit}uni-button[native] .uni-button-cover-view-inner{padding-left:14px;padding-right:14px}uni-button uni-cover-view{line-height:inherit;white-space:inherit}uni-button[type=default]{color:#000;background-color:#f8f8f8}uni-button[type=primary]{color:#fff;background-color:#007aff}uni-button[type=warn]{color:#fff;background-color:#e64340}uni-button[disabled]{color:rgba(255,255,255,.6);cursor:not-allowed}uni-button[disabled][type=default],uni-button[disabled]:not([type]){color:rgba(0,0,0,.3);background-color:#f7f7f7}uni-button[disabled][type=primary]{background-color:rgba(0,122,255,.6)}uni-button[disabled][type=warn]{background-color:#ec8b89}uni-button[type=primary][plain]{color:#007aff;border:1px solid #007aff;background-color:transparent}uni-button[type=primary][plain][disabled]{color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.2)}uni-button[type=primary][plain]:after{border-width:0}uni-button[type=default][plain]{color:#353535;border:1px solid #353535;background-color:transparent}uni-button[type=default][plain][disabled]{color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.2)}uni-button[type=default][plain]:after{border-width:0}uni-button[plain]{color:#353535;border:1px solid #353535;background-color:transparent}uni-button[plain][disabled]{color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.2)}uni-button[plain]:after{border-width:0}uni-button[plain][native] .uni-button-cover-view-inner{padding:0}uni-button[type=warn][plain]{color:#e64340;border:1px solid #e64340;background-color:transparent}uni-button[type=warn][plain][disabled]{color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.2)}uni-button[type=warn][plain]:after{border-width:0}uni-button[size=mini]{display:inline-block;line-height:2.3;font-size:13px;padding:0 1.34em}uni-button[size=mini][native]{padding:0}uni-button[size=mini][native] .uni-button-cover-view-inner{padding:0 1.34em}uni-button[loading]:not([disabled]){cursor:progress}uni-button[loading]:before{content:" ";display:inline-block;width:18px;height:18px;vertical-align:middle;animation:uni-loading 1s steps(12,end) infinite;background-size:100%}uni-button[loading][type=primary]{color:rgba(255,255,255,.6);background-color:#0062cc}uni-button[loading][type=primary][plain]{color:#007aff;background-color:transparent}uni-button[loading][type=default]{color:rgba(0,0,0,.6);background-color:#dedede}uni-button[loading][type=default][plain]{color:#353535;background-color:transparent}uni-button[loading][type=warn]{color:rgba(255,255,255,.6);background-color:#ce3c39}uni-button[loading][type=warn][plain]{color:#e64340;background-color:transparent}uni-button[loading][native]:before{content:none}.button-hover{color:rgba(0,0,0,.6);background-color:#dedede}.button-hover[plain]{color:rgba(53,53,53,.6);border-color:rgba(53,53,53,.6);background-color:transparent}.button-hover[type=primary]{color:rgba(255,255,255,.6);background-color:#0062cc}.button-hover[type=primary][plain]{color:rgba(0,122,255,.6);border-color:rgba(0,122,255,.6);background-color:transparent}.button-hover[type=default]{color:rgba(0,0,0,.6);background-color:#dedede}.button-hover[type=default][plain]{color:rgba(53,53,53,.6);border-color:rgba(53,53,53,.6);background-color:transparent}.button-hover[type=warn]{color:rgba(255,255,255,.6);background-color:#ce3c39}.button-hover[type=warn][plain]{color:rgba(230,67,64,.6);border-color:rgba(230,67,64,.6);background-color:transparent}uni-image{width:320px;height:240px;display:inline-block;overflow:hidden;position:relative}uni-image[hidden]{display:none}uni-image>div{width:100%;height:100%;background-repeat:no-repeat}uni-image>img{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;display:block;position:absolute;top:0;left:0;width:100%;height:100%;opacity:0}uni-image>.uni-image-will-change{will-change:transform}uni-input{display:block;font-size:16px;line-height:1.4em;height:1.4em;min-height:1.4em;overflow:hidden}uni-input[hidden]{display:none}.uni-input-wrapper,.uni-input-placeholder,.uni-input-form,.uni-input-input{outline:none;border:none;padding:0;margin:0;text-decoration:inherit}.uni-input-wrapper,.uni-input-form{display:flex;position:relative;width:100%;height:100%;flex-direction:column;justify-content:center}.uni-input-placeholder,.uni-input-input{width:100%}.uni-input-placeholder{position:absolute;top:auto!important;left:0;color:gray;overflow:hidden;text-overflow:clip;white-space:pre;word-break:keep-all;pointer-events:none;line-height:inherit}.uni-input-input{position:relative;display:block;height:100%;background:none;color:inherit;opacity:1;font:inherit;line-height:inherit;letter-spacing:inherit;text-align:inherit;text-indent:inherit;text-transform:inherit;text-shadow:inherit}.uni-input-input[type=search]::-webkit-search-cancel-button,.uni-input-input[type=search]::-webkit-search-decoration{display:none}.uni-input-input::-webkit-outer-spin-button,.uni-input-input::-webkit-inner-spin-button{-webkit-appearance:none;appearance:none;margin:0}.uni-input-input[type=number]{-moz-appearance:textfield}.uni-input-input:disabled{-webkit-text-fill-color:currentcolor}@keyframes once-show{0%{top:0}}uni-resize-sensor,uni-resize-sensor>div{position:absolute;left:0;top:0;right:0;bottom:0;overflow:hidden}uni-resize-sensor{display:block;z-index:-1;visibility:hidden;animation:once-show 1ms}uni-resize-sensor>div>div{position:absolute;left:0;top:0}uni-resize-sensor>div:first-child>div{width:100000px;height:100000px}uni-resize-sensor>div:last-child>div{width:200%;height:200%}uni-view{display:block}uni-view[hidden]{display:none}uni-modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:999;display:block;box-sizing:border-box}.uni-modal{position:fixed;z-index:999;width:80%;max-width:300px;top:50%;left:50%;transform:translate(-50%,-50%);background-color:#fff;text-align:center;border-radius:3px;overflow:hidden}.uni-modal *{box-sizing:border-box}.uni-modal__hd{padding:1em 1.6em .3em}.uni-modal__title{font-weight:400;font-size:18px;word-wrap:break-word;word-break:break-all;white-space:pre-wrap;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.uni-modal__bd{padding:1.3em 1.6em;min-height:40px;font-size:15px;line-height:1.4;word-wrap:break-word;word-break:break-all;white-space:pre-wrap;color:#999;max-height:400px;overflow-x:hidden;overflow-y:auto}.uni-modal__textarea{resize:none;border:0;margin:0;width:90%;padding:10px;font-size:20px;outline:none;border:none;background-color:#eee;text-decoration:inherit}.uni-modal__ft{position:relative;line-height:48px;font-size:18px;display:flex}.uni-modal__ft:after{content:" ";position:absolute;left:0;top:0;right:0;height:1px;border-top:1px solid #d5d5d6;color:#d5d5d6;transform-origin:0 0;transform:scaleY(.5)}.uni-modal__btn{display:block;flex:1;color:#3cc51f;text-decoration:none;-webkit-tap-highlight-color:rgba(0,0,0,0);position:relative;cursor:pointer}.uni-modal__btn:active{background-color:#eee}.uni-modal__btn:after{content:" ";position:absolute;left:0;top:0;width:1px;bottom:0;border-left:1px solid #d5d5d6;color:#d5d5d6;transform-origin:0 0;transform:scaleX(.5)}.uni-modal__btn:first-child:after{display:none}.uni-modal__btn_default{color:#353535}.uni-modal__btn_primary{color:#007aff}uni-toast{position:fixed;top:0;right:0;bottom:0;left:0;z-index:999;display:block;box-sizing:border-box;pointer-events:none;font-size:16px}.uni-sample-toast{position:fixed;z-index:999;top:50%;left:50%;transform:translate(-50%,-50%);text-align:center;max-width:80%}.uni-simple-toast__text{display:inline-block;vertical-align:middle;color:#fff;background-color:rgba(17,17,17,.7);padding:10px 20px;border-radius:5px;font-size:13px;text-align:center;max-width:100%;word-break:break-all;white-space:normal}uni-toast .uni-mask{pointer-events:auto}.uni-toast{position:fixed;z-index:999;width:8em;top:50%;left:50%;transform:translate(-50%,-50%);background:rgba(17,17,17,.7);text-align:center;border-radius:5px;color:#fff}.uni-toast *{box-sizing:border-box}.uni-toast__icon{margin:20px 0 0;width:38px!important;height:38px!important;vertical-align:baseline!important}.uni-icon_toast{margin:15px 0 0}.uni-icon_toast.uni-icon-success-no-circle:before{color:#fff;font-size:55px}.uni-icon_toast.uni-loading{margin:20px 0 0;width:38px;height:38px;vertical-align:baseline}.uni-toast__content{margin:0 0 15px} +uni-button{position:relative;display:block;margin-left:auto;margin-right:auto;padding-left:14px;padding-right:14px;box-sizing:border-box;font-size:18px;text-align:center;text-decoration:none;line-height:2.55555556;border-radius:5px;-webkit-tap-highlight-color:transparent;overflow:hidden;color:#000;background-color:#f8f8f8;cursor:pointer}uni-button[hidden]{display:none!important}uni-button:after{content:" ";width:200%;height:200%;position:absolute;top:0;left:0;border:1px solid rgba(0,0,0,.2);transform:scale(.5);transform-origin:0 0;box-sizing:border-box;border-radius:10px}uni-button[native]{padding-left:0;padding-right:0}uni-button[native] .uni-button-cover-view-wrapper{border:inherit;border-color:inherit;border-radius:inherit;background-color:inherit}uni-button[native] .uni-button-cover-view-inner{padding-left:14px;padding-right:14px}uni-button uni-cover-view{line-height:inherit;white-space:inherit}uni-button[type=default]{color:#000;background-color:#f8f8f8}uni-button[type=primary]{color:#fff;background-color:#007aff}uni-button[type=warn]{color:#fff;background-color:#e64340}uni-button[disabled]{color:rgba(255,255,255,.6);cursor:not-allowed}uni-button[disabled][type=default],uni-button[disabled]:not([type]){color:rgba(0,0,0,.3);background-color:#f7f7f7}uni-button[disabled][type=primary]{background-color:rgba(0,122,255,.6)}uni-button[disabled][type=warn]{background-color:#ec8b89}uni-button[type=primary][plain]{color:#007aff;border:1px solid #007aff;background-color:transparent}uni-button[type=primary][plain][disabled]{color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.2)}uni-button[type=primary][plain]:after{border-width:0}uni-button[type=default][plain]{color:#353535;border:1px solid #353535;background-color:transparent}uni-button[type=default][plain][disabled]{color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.2)}uni-button[type=default][plain]:after{border-width:0}uni-button[plain]{color:#353535;border:1px solid #353535;background-color:transparent}uni-button[plain][disabled]{color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.2)}uni-button[plain]:after{border-width:0}uni-button[plain][native] .uni-button-cover-view-inner{padding:0}uni-button[type=warn][plain]{color:#e64340;border:1px solid #e64340;background-color:transparent}uni-button[type=warn][plain][disabled]{color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.2)}uni-button[type=warn][plain]:after{border-width:0}uni-button[size=mini]{display:inline-block;line-height:2.3;font-size:13px;padding:0 1.34em}uni-button[size=mini][native]{padding:0}uni-button[size=mini][native] .uni-button-cover-view-inner{padding:0 1.34em}uni-button[loading]:not([disabled]){cursor:progress}uni-button[loading]:before{content:" ";display:inline-block;width:18px;height:18px;vertical-align:middle;animation:uni-loading 1s steps(12,end) infinite;background-size:100%}uni-button[loading][type=primary]{color:rgba(255,255,255,.6);background-color:#0062cc}uni-button[loading][type=primary][plain]{color:#007aff;background-color:transparent}uni-button[loading][type=default]{color:rgba(0,0,0,.6);background-color:#dedede}uni-button[loading][type=default][plain]{color:#353535;background-color:transparent}uni-button[loading][type=warn]{color:rgba(255,255,255,.6);background-color:#ce3c39}uni-button[loading][type=warn][plain]{color:#e64340;background-color:transparent}uni-button[loading][native]:before{content:none}.button-hover{color:rgba(0,0,0,.6);background-color:#dedede}.button-hover[plain]{color:rgba(53,53,53,.6);border-color:rgba(53,53,53,.6);background-color:transparent}.button-hover[type=primary]{color:rgba(255,255,255,.6);background-color:#0062cc}.button-hover[type=primary][plain]{color:rgba(0,122,255,.6);border-color:rgba(0,122,255,.6);background-color:transparent}.button-hover[type=default]{color:rgba(0,0,0,.6);background-color:#dedede}.button-hover[type=default][plain]{color:rgba(53,53,53,.6);border-color:rgba(53,53,53,.6);background-color:transparent}.button-hover[type=warn]{color:rgba(255,255,255,.6);background-color:#ce3c39}.button-hover[type=warn][plain]{color:rgba(230,67,64,.6);border-color:rgba(230,67,64,.6);background-color:transparent}uni-image{width:320px;height:240px;display:inline-block;overflow:hidden;position:relative}uni-image[hidden]{display:none}uni-image>div{width:100%;height:100%;background-repeat:no-repeat}uni-image>img{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;display:block;position:absolute;top:0;left:0;width:100%;height:100%;opacity:0}uni-image>.uni-image-will-change{will-change:transform}uni-input{display:block;font-size:16px;line-height:1.4em;height:1.4em;min-height:1.4em;overflow:hidden}uni-input[hidden]{display:none}.uni-input-wrapper,.uni-input-placeholder,.uni-input-form,.uni-input-input{outline:none;border:none;padding:0;margin:0;text-decoration:inherit}.uni-input-wrapper,.uni-input-form{display:flex;position:relative;width:100%;height:100%;flex-direction:column;justify-content:center}.uni-input-placeholder,.uni-input-input{width:100%}.uni-input-placeholder{position:absolute;top:auto!important;left:0;color:gray;overflow:hidden;text-overflow:clip;white-space:pre;word-break:keep-all;pointer-events:none;line-height:inherit}.uni-input-input{position:relative;display:block;height:100%;background:none;color:inherit;opacity:1;font:inherit;line-height:inherit;letter-spacing:inherit;text-align:inherit;text-indent:inherit;text-transform:inherit;text-shadow:inherit}.uni-input-input[type=search]::-webkit-search-cancel-button,.uni-input-input[type=search]::-webkit-search-decoration{display:none}.uni-input-input::-webkit-outer-spin-button,.uni-input-input::-webkit-inner-spin-button{-webkit-appearance:none;appearance:none;margin:0}.uni-input-input[type=number]{-moz-appearance:textfield}.uni-input-input:disabled{-webkit-text-fill-color:currentcolor}@keyframes once-show{0%{top:0}}uni-resize-sensor,uni-resize-sensor>div{position:absolute;left:0;top:0;right:0;bottom:0;overflow:hidden}uni-resize-sensor{display:block;z-index:-1;visibility:hidden;animation:once-show 1ms}uni-resize-sensor>div>div{position:absolute;left:0;top:0}uni-resize-sensor>div:first-child>div{width:100000px;height:100000px}uni-resize-sensor>div:last-child>div{width:200%;height:200%}uni-text[selectable]{cursor:auto;-webkit-user-select:text;user-select:text}uni-text{white-space:pre-line}uni-view{display:block}uni-view[hidden]{display:none}uni-modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:999;display:block;box-sizing:border-box}.uni-modal{position:fixed;z-index:999;width:80%;max-width:300px;top:50%;left:50%;transform:translate(-50%,-50%);background-color:#fff;text-align:center;border-radius:3px;overflow:hidden}.uni-modal *{box-sizing:border-box}.uni-modal__hd{padding:1em 1.6em .3em}.uni-modal__title{font-weight:400;font-size:18px;word-wrap:break-word;word-break:break-all;white-space:pre-wrap;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.uni-modal__bd{padding:1.3em 1.6em;min-height:40px;font-size:15px;line-height:1.4;word-wrap:break-word;word-break:break-all;white-space:pre-wrap;color:#999;max-height:400px;overflow-x:hidden;overflow-y:auto}.uni-modal__textarea{resize:none;border:0;margin:0;width:90%;padding:10px;font-size:20px;outline:none;border:none;background-color:#eee;text-decoration:inherit}.uni-modal__ft{position:relative;line-height:48px;font-size:18px;display:flex}.uni-modal__ft:after{content:" ";position:absolute;left:0;top:0;right:0;height:1px;border-top:1px solid #d5d5d6;color:#d5d5d6;transform-origin:0 0;transform:scaleY(.5)}.uni-modal__btn{display:block;flex:1;color:#3cc51f;text-decoration:none;-webkit-tap-highlight-color:rgba(0,0,0,0);position:relative;cursor:pointer}.uni-modal__btn:active{background-color:#eee}.uni-modal__btn:after{content:" ";position:absolute;left:0;top:0;width:1px;bottom:0;border-left:1px solid #d5d5d6;color:#d5d5d6;transform-origin:0 0;transform:scaleX(.5)}.uni-modal__btn:first-child:after{display:none}.uni-modal__btn_default{color:#353535}.uni-modal__btn_primary{color:#007aff}uni-toast{position:fixed;top:0;right:0;bottom:0;left:0;z-index:999;display:block;box-sizing:border-box;pointer-events:none;font-size:16px}.uni-sample-toast{position:fixed;z-index:999;top:50%;left:50%;transform:translate(-50%,-50%);text-align:center;max-width:80%}.uni-simple-toast__text{display:inline-block;vertical-align:middle;color:#fff;background-color:rgba(17,17,17,.7);padding:10px 20px;border-radius:5px;font-size:13px;text-align:center;max-width:100%;word-break:break-all;white-space:normal}uni-toast .uni-mask{pointer-events:auto}.uni-toast{position:fixed;z-index:999;width:8em;top:50%;left:50%;transform:translate(-50%,-50%);background:rgba(17,17,17,.7);text-align:center;border-radius:5px;color:#fff}.uni-toast *{box-sizing:border-box}.uni-toast__icon{margin:20px 0 0;width:38px!important;height:38px!important;vertical-align:baseline!important}.uni-icon_toast{margin:15px 0 0}.uni-icon_toast.uni-icon-success-no-circle:before{color:#fff;font-size:55px}.uni-icon_toast.uni-loading{margin:20px 0 0;width:38px;height:38px;vertical-align:baseline}.uni-toast__content{margin:0 0 15px} diff --git a/unpackage/dist/build/web/assets/useWeChatAuth.BbPcLRMD.js b/unpackage/dist/build/web/assets/useWeChatAuth.s7uh5--2.js similarity index 84% rename from unpackage/dist/build/web/assets/useWeChatAuth.BbPcLRMD.js rename to unpackage/dist/build/web/assets/useWeChatAuth.s7uh5--2.js index 20defcb..fdad2ab 100644 --- a/unpackage/dist/build/web/assets/useWeChatAuth.BbPcLRMD.js +++ b/unpackage/dist/build/web/assets/useWeChatAuth.s7uh5--2.js @@ -1 +1 @@ -import{r as e}from"./index-BwwWwpov.js";const o=encodeURIComponent("https://www.focusnu.com/wechat/thd/#/pages/index/callback");function n(){return e(""),e(""),e(null),{login:function(e="snsapi_userinfo",n=""){const t=`https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx8fc3e4305d2fbf0b&redirect_uri=${o}&response_type=code&scope=${e}&state=${n}#wechat_redirect`;window.location.href=t}}}export{n as u}; +import{r as e}from"./index-DVIfOFfO.js";const o=encodeURIComponent("https://www.focusnu.com/wechat/thd/#/pages/index/callback");function n(){return e(""),e(""),e(null),{login:function(e="snsapi_userinfo",n=""){const t=`https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx8fc3e4305d2fbf0b&redirect_uri=${o}&response_type=code&scope=${e}&state=${n}#wechat_redirect`;window.location.href=t}}}export{n as u}; diff --git a/unpackage/dist/build/web/index.html b/unpackage/dist/build/web/index.html index dcdc9d7..87e00b8 100644 --- a/unpackage/dist/build/web/index.html +++ b/unpackage/dist/build/web/index.html @@ -1,7 +1,7 @@ - + + diff --git a/unpackage/dist/build/web/static/login/0.png b/unpackage/dist/build/web/static/login/0.png new file mode 100644 index 0000000..f55b086 Binary files /dev/null and b/unpackage/dist/build/web/static/login/0.png differ diff --git a/unpackage/dist/build/web/static/login/1.png b/unpackage/dist/build/web/static/login/1.png new file mode 100644 index 0000000..133d709 Binary files /dev/null and b/unpackage/dist/build/web/static/login/1.png differ diff --git a/unpackage/dist/build/web/static/login/2.png b/unpackage/dist/build/web/static/login/2.png new file mode 100644 index 0000000..121dbc5 Binary files /dev/null and b/unpackage/dist/build/web/static/login/2.png differ diff --git a/unpackage/dist/build/web/static/login/3.png b/unpackage/dist/build/web/static/login/3.png new file mode 100644 index 0000000..47ed640 Binary files /dev/null and b/unpackage/dist/build/web/static/login/3.png differ diff --git a/unpackage/dist/dev/.sourcemap/mp-weixin-devtools/compontent/useWeChatAuth.js.map b/unpackage/dist/dev/.sourcemap/mp-weixin-devtools/compontent/useWeChatAuth.js.map new file mode 100644 index 0000000..dd9923f --- /dev/null +++ b/unpackage/dist/dev/.sourcemap/mp-weixin-devtools/compontent/useWeChatAuth.js.map @@ -0,0 +1 @@ +{"version":3,"names":["APPID","REDIRECT_URI","encodeURIComponent","useWeChatAuth","common_vendor","ref","login","scope","arguments","length","undefined","state","url","concat","window","location","href"],"sources":["useWeChatAuth.js"],"sourcesContent":["// src/composables/useWeChatAuth.js\nimport { ref } from 'vue';\nimport request from '@/request/index.js';\n\nconst APPID = 'wx8fc3e4305d2fbf0b';\nconst REDIRECT_URI = encodeURIComponent('https://www.focusnu.com/wechat/thd/#/pages/index/callback');\n\nexport function useWeChatAuth() {\n const code = ref('');\n const openid = ref('');\n const userInfo = ref(null);\n\n function login(scope = 'snsapi_userinfo', state = '') {\n const url =\n `https://open.weixin.qq.com/connect/oauth2/authorize` +\n `?appid=${APPID}` +\n `&redirect_uri=${REDIRECT_URI}` +\n `&response_type=code` +\n `&scope=${scope}` +\n `&state=${state}` +\n `#wechat_redirect`;\r\n\t\n window.location.href = url;\n }\n\n\n return { login };\n}"],"mappings":";;;;AAIA,IAAMA,KAAA,GAAQ;AACd,IAAMC,YAAA,GAAeC,kBAAA,CAAmB,2DAA2D;AAE5F,SAASC,cAAA,EAAgB;EACjBC,aAAA,CAAAC,GAAA,CAAI,EAAE;EACJD,aAAA,CAAAC,GAAA,CAAI,EAAE;EACJD,aAAA,CAAAC,GAAA,CAAI,IAAI;EAEzB,SAASC,MAAA,EAA6C;IAAA,IAAvCC,KAAA,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAQ;IAAA,IAAmBG,KAAA,GAAAH,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAQ;IAChD,IAAMI,GAAA,gEAAAC,MAAA,CAEMb,KAAK,oBAAAa,MAAA,CACEZ,YAAY,gCAAAY,MAAA,CAEnBN,KAAK,aAAAM,MAAA,CACLF,KAAK;IAGjBG,MAAA,CAAOC,QAAA,CAASC,IAAA,GAAOJ,GAAA;EACxB;EAGD,OAAO;IAAEN,KAAA,EAAAA;EAAK;AAChB","ignoreList":[]} \ No newline at end of file diff --git a/unpackage/dist/dev/.sourcemap/mp-weixin/app.js.map b/unpackage/dist/dev/.sourcemap/mp-weixin/app.js.map index d947675..6ed544f 100644 --- a/unpackage/dist/dev/.sourcemap/mp-weixin/app.js.map +++ b/unpackage/dist/dev/.sourcemap/mp-weixin/app.js.map @@ -1 +1 @@ -{"version":3,"file":"app.js","sources":["App.vue","main.js"],"sourcesContent":["\r\n\r\n\n","import App from './App'\r\nimport uView from './uni_modules/vk-uview-ui';\r\n// #ifndef VUE3\r\nimport Vue from 'vue'\r\nimport './uni.promisify.adaptor'\r\nVue.config.productionTip = false\r\nApp.mpType = 'app'\r\nconst app = new Vue({\r\n\t...App\r\n})\r\napp.$mount()\r\n// #endif\r\n\r\n// #ifdef VUE3\r\nimport {\r\n\tcreateSSRApp\r\n} from 'vue'\r\nexport function createApp() {\r\n\tconst app = createSSRApp(App)\r\n\t// 使用 uView UI\r\n\tapp.use(uView)\r\n\treturn {\r\n\t\tapp\r\n\t}\r\n}\r\n// #endif"],"names":["uni","createSSRApp","App","uView"],"mappings":";;;;;;;;;;;;AACC,MAAK,YAAU;AAAA,EACd,UAAU,WAAW;AACpBA,kBAAAA,MAAA,MAAA,OAAA,gBAAY,YAAY;AAAA,EACxB;AAAA,EACD,QAAQ,WAAW;AAClBA,kBAAAA,MAAY,MAAA,OAAA,gBAAA,UAAU;AAAA,EACtB;AAAA,EACD,QAAQ,WAAW;AAClBA,kBAAAA,MAAY,MAAA,OAAA,iBAAA,UAAU;AAAA,EACvB;AACD;ACMM,SAAS,YAAY;AAC3B,QAAM,MAAMC,cAAY,aAACC,SAAG;AAE5B,MAAI,IAAIC,iCAAK;AACb,SAAO;AAAA,IACN;AAAA,EACA;AACF;;;"} \ No newline at end of file +{"version":3,"file":"app.js","sources":["App.vue","main.js"],"sourcesContent":["\r\n\r\n\n","import App from './App'\r\nimport uView from './uni_modules/vk-uview-ui';\r\n// #ifndef VUE3\r\nimport Vue from 'vue'\r\nimport './uni.promisify.adaptor'\r\nimport uView from './uni_modules/vk-uview-ui';\nVue.use(uView);\r\nVue.config.productionTip = false\r\nApp.mpType = 'app'\r\nconst app = new Vue({\r\n\t...App\r\n})\r\napp.$mount()\r\n// #endif\r\n\r\n// #ifdef VUE3\r\nimport {\r\n\tcreateSSRApp\r\n} from 'vue'\r\nexport function createApp() {\r\n\tconst app = createSSRApp(App)\r\n\t// 使用 uView UI\r\n\tapp.use(uView)\r\n\treturn {\r\n\t\tapp\r\n\t}\r\n}\r\n// #endif"],"names":["uni","createSSRApp","App","uView"],"mappings":";;;;;;;;;;;;;;AACC,MAAK,YAAU;AAAA,EACd,UAAU,WAAW;AACpBA,kBAAAA,MAAA,MAAA,OAAA,gBAAY,YAAY;AAAA,EACxB;AAAA,EACD,QAAQ,WAAW;AAClBA,kBAAAA,MAAY,MAAA,OAAA,gBAAA,UAAU;AAAA,EACtB;AAAA,EACD,QAAQ,WAAW;AAClBA,kBAAAA,MAAY,MAAA,OAAA,iBAAA,UAAU;AAAA,EACvB;AACD;ACQM,SAAS,YAAY;AAC3B,QAAM,MAAMC,cAAY,aAACC,SAAG;AAE5B,MAAI,IAAIC,iCAAK;AACb,SAAO;AAAA,IACN;AAAA,EACA;AACF;;;"} \ No newline at end of file diff --git a/unpackage/dist/dev/.sourcemap/mp-weixin/common/assets.js.map b/unpackage/dist/dev/.sourcemap/mp-weixin/common/assets.js.map index 8f73f4f..adc962a 100644 --- a/unpackage/dist/dev/.sourcemap/mp-weixin/common/assets.js.map +++ b/unpackage/dist/dev/.sourcemap/mp-weixin/common/assets.js.map @@ -1 +1 @@ -{"version":3,"file":"assets.js","sources":["static/index/nu.png","static/index/bgc.png","static/index/old.png"],"sourcesContent":["export default \"__VITE_ASSET__e7faca07__\"","export default \"__VITE_ASSET__12a7a67c__\"","export default \"__VITE_ASSET__a6c3231b__\""],"names":[],"mappings":";AAAA,MAAe,aAAA;ACAf,MAAe,aAAA;ACAf,MAAe,aAAA;;;;"} \ No newline at end of file +{"version":3,"file":"assets.js","sources":["static/index/nu.png","static/index/bgc.png","static/index/old.png","static/login/0.png","static/login/1.png","static/login/2.png","static/login/3.png"],"sourcesContent":["export default \"__VITE_ASSET__e7faca07__\"","export default \"__VITE_ASSET__12a7a67c__\"","export default \"__VITE_ASSET__a6c3231b__\"","export default \"__VITE_ASSET__40aa7e44__\"","export default \"__VITE_ASSET__ae8e3dba__\"","export default \"__VITE_ASSET__75e1826f__\"","export default \"__VITE_ASSET__0c2bc10b__\""],"names":[],"mappings":";AAAA,MAAe,aAAA;ACAf,MAAe,aAAA;ACAf,MAAe,aAAA;ACAf,MAAe,OAAA;ACAf,MAAe,OAAA;ACAf,MAAe,OAAA;ACAf,MAAe,OAAA;;;;;;;;"} \ No newline at end of file diff --git a/unpackage/dist/dev/.sourcemap/mp-weixin/common/vendor.js.map b/unpackage/dist/dev/.sourcemap/mp-weixin/common/vendor.js.map index 46b1d27..99df970 100644 --- a/unpackage/dist/dev/.sourcemap/mp-weixin/common/vendor.js.map +++ b/unpackage/dist/dev/.sourcemap/mp-weixin/common/vendor.js.map @@ -1 +1 @@ -{"version":3,"file":"vendor.js","sources":["../Hbuilder/HBuilderX/plugins/uniapp-cli-vite/node_modules/@vue/shared/dist/shared.esm-bundler.js","../Hbuilder/HBuilderX/plugins/uniapp-cli-vite/node_modules/@dcloudio/uni-i18n/dist/uni-i18n.es.js","../Hbuilder/HBuilderX/plugins/uniapp-cli-vite/node_modules/@dcloudio/uni-shared/dist/uni-shared.es.js","../Hbuilder/HBuilderX/plugins/uniapp-cli-vite/node_modules/@dcloudio/uni-mp-vue/dist/vue.runtime.esm.js","../Hbuilder/HBuilderX/plugins/uniapp-cli-vite/node_modules/@dcloudio/uni-mp-weixin/dist/uni.api.esm.js","../Hbuilder/HBuilderX/plugins/uniapp-cli-vite/node_modules/@dcloudio/uni-console/dist/mp.esm.js","../Hbuilder/HBuilderX/plugins/uniapp-cli-vite/node_modules/@dcloudio/uni-mp-weixin/dist/uni.mp.esm.js","../Hbuilder/HBuilderX/plugins/uniapp-cli-vite/node_modules/@dcloudio/uni-app/dist/uni-app.es.js","node_modules/three/build/three.core.js","node_modules/three/build/three.module.js","node_modules/three/examples/jsm/controls/OrbitControls.js"],"sourcesContent":["/**\n* @vue/shared v3.4.21\n* (c) 2018-present Yuxi (Evan) You and Vue contributors\n* @license MIT\n**/\nfunction makeMap(str, expectsLowerCase) {\n const set = new Set(str.split(\",\"));\n return expectsLowerCase ? (val) => set.has(val.toLowerCase()) : (val) => set.has(val);\n}\n\nconst EMPTY_OBJ = !!(process.env.NODE_ENV !== \"production\") ? Object.freeze({}) : {};\nconst EMPTY_ARR = !!(process.env.NODE_ENV !== \"production\") ? Object.freeze([]) : [];\nconst NOOP = () => {\n};\nconst NO = () => false;\nconst isOn = (key) => key.charCodeAt(0) === 111 && key.charCodeAt(1) === 110 && // uppercase letter\n(key.charCodeAt(2) > 122 || key.charCodeAt(2) < 97);\nconst isModelListener = (key) => key.startsWith(\"onUpdate:\");\nconst extend = Object.assign;\nconst remove = (arr, el) => {\n const i = arr.indexOf(el);\n if (i > -1) {\n arr.splice(i, 1);\n }\n};\nconst hasOwnProperty = Object.prototype.hasOwnProperty;\nconst hasOwn = (val, key) => hasOwnProperty.call(val, key);\nconst isArray = Array.isArray;\nconst isMap = (val) => toTypeString(val) === \"[object Map]\";\nconst isSet = (val) => toTypeString(val) === \"[object Set]\";\nconst isDate = (val) => toTypeString(val) === \"[object Date]\";\nconst isRegExp = (val) => toTypeString(val) === \"[object RegExp]\";\nconst isFunction = (val) => typeof val === \"function\";\nconst isString = (val) => typeof val === \"string\";\nconst isSymbol = (val) => typeof val === \"symbol\";\nconst isObject = (val) => val !== null && typeof val === \"object\";\nconst isPromise = (val) => {\n return (isObject(val) || isFunction(val)) && isFunction(val.then) && isFunction(val.catch);\n};\nconst objectToString = Object.prototype.toString;\nconst toTypeString = (value) => objectToString.call(value);\nconst toRawType = (value) => {\n return toTypeString(value).slice(8, -1);\n};\nconst isPlainObject = (val) => toTypeString(val) === \"[object Object]\";\nconst isIntegerKey = (key) => isString(key) && key !== \"NaN\" && key[0] !== \"-\" && \"\" + parseInt(key, 10) === key;\nconst isReservedProp = /* @__PURE__ */ makeMap(\n // the leading comma is intentional so empty string \"\" is also included\n \",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted\"\n);\nconst isBuiltInDirective = /* @__PURE__ */ makeMap(\n \"bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo\"\n);\nconst cacheStringFunction = (fn) => {\n const cache = /* @__PURE__ */ Object.create(null);\n return (str) => {\n const hit = cache[str];\n return hit || (cache[str] = fn(str));\n };\n};\nconst camelizeRE = /-(\\w)/g;\nconst camelize = cacheStringFunction((str) => {\n return str.replace(camelizeRE, (_, c) => c ? c.toUpperCase() : \"\");\n});\nconst hyphenateRE = /\\B([A-Z])/g;\nconst hyphenate = cacheStringFunction(\n (str) => str.replace(hyphenateRE, \"-$1\").toLowerCase()\n);\nconst capitalize = cacheStringFunction((str) => {\n return str.charAt(0).toUpperCase() + str.slice(1);\n});\nconst toHandlerKey = cacheStringFunction((str) => {\n const s = str ? `on${capitalize(str)}` : ``;\n return s;\n});\nconst hasChanged = (value, oldValue) => !Object.is(value, oldValue);\nconst invokeArrayFns = (fns, arg) => {\n for (let i = 0; i < fns.length; i++) {\n fns[i](arg);\n }\n};\nconst def = (obj, key, value) => {\n Object.defineProperty(obj, key, {\n configurable: true,\n enumerable: false,\n value\n });\n};\nconst looseToNumber = (val) => {\n const n = parseFloat(val);\n return isNaN(n) ? val : n;\n};\nconst toNumber = (val) => {\n const n = isString(val) ? Number(val) : NaN;\n return isNaN(n) ? val : n;\n};\nlet _globalThis;\nconst getGlobalThis = () => {\n return _globalThis || (_globalThis = typeof globalThis !== \"undefined\" ? globalThis : typeof self !== \"undefined\" ? self : typeof window !== \"undefined\" ? window : typeof global !== \"undefined\" ? global : {});\n};\nconst identRE = /^[_$a-zA-Z\\xA0-\\uFFFF][_$a-zA-Z0-9\\xA0-\\uFFFF]*$/;\nfunction genPropsAccessExp(name) {\n return identRE.test(name) ? `__props.${name}` : `__props[${JSON.stringify(name)}]`;\n}\n\nconst PatchFlags = {\n \"TEXT\": 1,\n \"1\": \"TEXT\",\n \"CLASS\": 2,\n \"2\": \"CLASS\",\n \"STYLE\": 4,\n \"4\": \"STYLE\",\n \"PROPS\": 8,\n \"8\": \"PROPS\",\n \"FULL_PROPS\": 16,\n \"16\": \"FULL_PROPS\",\n \"NEED_HYDRATION\": 32,\n \"32\": \"NEED_HYDRATION\",\n \"STABLE_FRAGMENT\": 64,\n \"64\": \"STABLE_FRAGMENT\",\n \"KEYED_FRAGMENT\": 128,\n \"128\": \"KEYED_FRAGMENT\",\n \"UNKEYED_FRAGMENT\": 256,\n \"256\": \"UNKEYED_FRAGMENT\",\n \"NEED_PATCH\": 512,\n \"512\": \"NEED_PATCH\",\n \"DYNAMIC_SLOTS\": 1024,\n \"1024\": \"DYNAMIC_SLOTS\",\n \"DEV_ROOT_FRAGMENT\": 2048,\n \"2048\": \"DEV_ROOT_FRAGMENT\",\n \"HOISTED\": -1,\n \"-1\": \"HOISTED\",\n \"BAIL\": -2,\n \"-2\": \"BAIL\"\n};\nconst PatchFlagNames = {\n [1]: `TEXT`,\n [2]: `CLASS`,\n [4]: `STYLE`,\n [8]: `PROPS`,\n [16]: `FULL_PROPS`,\n [32]: `NEED_HYDRATION`,\n [64]: `STABLE_FRAGMENT`,\n [128]: `KEYED_FRAGMENT`,\n [256]: `UNKEYED_FRAGMENT`,\n [512]: `NEED_PATCH`,\n [1024]: `DYNAMIC_SLOTS`,\n [2048]: `DEV_ROOT_FRAGMENT`,\n [-1]: `HOISTED`,\n [-2]: `BAIL`\n};\n\nconst ShapeFlags = {\n \"ELEMENT\": 1,\n \"1\": \"ELEMENT\",\n \"FUNCTIONAL_COMPONENT\": 2,\n \"2\": \"FUNCTIONAL_COMPONENT\",\n \"STATEFUL_COMPONENT\": 4,\n \"4\": \"STATEFUL_COMPONENT\",\n \"TEXT_CHILDREN\": 8,\n \"8\": \"TEXT_CHILDREN\",\n \"ARRAY_CHILDREN\": 16,\n \"16\": \"ARRAY_CHILDREN\",\n \"SLOTS_CHILDREN\": 32,\n \"32\": \"SLOTS_CHILDREN\",\n \"TELEPORT\": 64,\n \"64\": \"TELEPORT\",\n \"SUSPENSE\": 128,\n \"128\": \"SUSPENSE\",\n \"COMPONENT_SHOULD_KEEP_ALIVE\": 256,\n \"256\": \"COMPONENT_SHOULD_KEEP_ALIVE\",\n \"COMPONENT_KEPT_ALIVE\": 512,\n \"512\": \"COMPONENT_KEPT_ALIVE\",\n \"COMPONENT\": 6,\n \"6\": \"COMPONENT\"\n};\n\nconst SlotFlags = {\n \"STABLE\": 1,\n \"1\": \"STABLE\",\n \"DYNAMIC\": 2,\n \"2\": \"DYNAMIC\",\n \"FORWARDED\": 3,\n \"3\": \"FORWARDED\"\n};\nconst slotFlagsText = {\n [1]: \"STABLE\",\n [2]: \"DYNAMIC\",\n [3]: \"FORWARDED\"\n};\n\nconst GLOBALS_ALLOWED = \"Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error\";\nconst isGloballyAllowed = /* @__PURE__ */ makeMap(GLOBALS_ALLOWED);\nconst isGloballyWhitelisted = isGloballyAllowed;\n\nconst range = 2;\nfunction generateCodeFrame(source, start = 0, end = source.length) {\n let lines = source.split(/(\\r?\\n)/);\n const newlineSequences = lines.filter((_, idx) => idx % 2 === 1);\n lines = lines.filter((_, idx) => idx % 2 === 0);\n let count = 0;\n const res = [];\n for (let i = 0; i < lines.length; i++) {\n count += lines[i].length + (newlineSequences[i] && newlineSequences[i].length || 0);\n if (count >= start) {\n for (let j = i - range; j <= i + range || end > count; j++) {\n if (j < 0 || j >= lines.length)\n continue;\n const line = j + 1;\n res.push(\n `${line}${\" \".repeat(Math.max(3 - String(line).length, 0))}| ${lines[j]}`\n );\n const lineLength = lines[j].length;\n const newLineSeqLength = newlineSequences[j] && newlineSequences[j].length || 0;\n if (j === i) {\n const pad = start - (count - (lineLength + newLineSeqLength));\n const length = Math.max(\n 1,\n end > count ? lineLength - pad : end - start\n );\n res.push(` | ` + \" \".repeat(pad) + \"^\".repeat(length));\n } else if (j > i) {\n if (end > count) {\n const length = Math.max(Math.min(end - count, lineLength), 1);\n res.push(` | ` + \"^\".repeat(length));\n }\n count += lineLength + newLineSeqLength;\n }\n }\n break;\n }\n }\n return res.join(\"\\n\");\n}\n\nfunction normalizeStyle(value) {\n if (isArray(value)) {\n const res = {};\n for (let i = 0; i < value.length; i++) {\n const item = value[i];\n const normalized = isString(item) ? parseStringStyle(item) : normalizeStyle(item);\n if (normalized) {\n for (const key in normalized) {\n res[key] = normalized[key];\n }\n }\n }\n return res;\n } else if (isString(value) || isObject(value)) {\n return value;\n }\n}\nconst listDelimiterRE = /;(?![^(]*\\))/g;\nconst propertyDelimiterRE = /:([^]+)/;\nconst styleCommentRE = /\\/\\*[^]*?\\*\\//g;\nfunction parseStringStyle(cssText) {\n const ret = {};\n cssText.replace(styleCommentRE, \"\").split(listDelimiterRE).forEach((item) => {\n if (item) {\n const tmp = item.split(propertyDelimiterRE);\n tmp.length > 1 && (ret[tmp[0].trim()] = tmp[1].trim());\n }\n });\n return ret;\n}\nfunction stringifyStyle(styles) {\n let ret = \"\";\n if (!styles || isString(styles)) {\n return ret;\n }\n for (const key in styles) {\n const value = styles[key];\n const normalizedKey = key.startsWith(`--`) ? key : hyphenate(key);\n if (isString(value) || typeof value === \"number\") {\n ret += `${normalizedKey}:${value};`;\n }\n }\n return ret;\n}\nfunction normalizeClass(value) {\n let res = \"\";\n if (isString(value)) {\n res = value;\n } else if (isArray(value)) {\n for (let i = 0; i < value.length; i++) {\n const normalized = normalizeClass(value[i]);\n if (normalized) {\n res += normalized + \" \";\n }\n }\n } else if (isObject(value)) {\n for (const name in value) {\n if (value[name]) {\n res += name + \" \";\n }\n }\n }\n return res.trim();\n}\nfunction normalizeProps(props) {\n if (!props)\n return null;\n let { class: klass, style } = props;\n if (klass && !isString(klass)) {\n props.class = normalizeClass(klass);\n }\n if (style) {\n props.style = normalizeStyle(style);\n }\n return props;\n}\n\nconst HTML_TAGS = \"html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot\";\nconst SVG_TAGS = \"svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view\";\nconst MATH_TAGS = \"annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics\";\nconst VOID_TAGS = \"area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr\";\nconst isHTMLTag = /* @__PURE__ */ makeMap(HTML_TAGS);\nconst isSVGTag = /* @__PURE__ */ makeMap(SVG_TAGS);\nconst isMathMLTag = /* @__PURE__ */ makeMap(MATH_TAGS);\nconst isVoidTag = /* @__PURE__ */ makeMap(VOID_TAGS);\n\nconst specialBooleanAttrs = `itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly`;\nconst isSpecialBooleanAttr = /* @__PURE__ */ makeMap(specialBooleanAttrs);\nconst isBooleanAttr = /* @__PURE__ */ makeMap(\n specialBooleanAttrs + `,async,autofocus,autoplay,controls,default,defer,disabled,hidden,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected`\n);\nfunction includeBooleanAttr(value) {\n return !!value || value === \"\";\n}\nconst unsafeAttrCharRE = /[>/=\"'\\u0009\\u000a\\u000c\\u0020]/;\nconst attrValidationCache = {};\nfunction isSSRSafeAttrName(name) {\n if (attrValidationCache.hasOwnProperty(name)) {\n return attrValidationCache[name];\n }\n const isUnsafe = unsafeAttrCharRE.test(name);\n if (isUnsafe) {\n console.error(`unsafe attribute name: ${name}`);\n }\n return attrValidationCache[name] = !isUnsafe;\n}\nconst propsToAttrMap = {\n acceptCharset: \"accept-charset\",\n className: \"class\",\n htmlFor: \"for\",\n httpEquiv: \"http-equiv\"\n};\nconst isKnownHtmlAttr = /* @__PURE__ */ makeMap(\n `accept,accept-charset,accesskey,action,align,allow,alt,async,autocapitalize,autocomplete,autofocus,autoplay,background,bgcolor,border,buffered,capture,challenge,charset,checked,cite,class,code,codebase,color,cols,colspan,content,contenteditable,contextmenu,controls,coords,crossorigin,csp,data,datetime,decoding,default,defer,dir,dirname,disabled,download,draggable,dropzone,enctype,enterkeyhint,for,form,formaction,formenctype,formmethod,formnovalidate,formtarget,headers,height,hidden,high,href,hreflang,http-equiv,icon,id,importance,inert,integrity,ismap,itemprop,keytype,kind,label,lang,language,loading,list,loop,low,manifest,max,maxlength,minlength,media,min,multiple,muted,name,novalidate,open,optimum,pattern,ping,placeholder,poster,preload,radiogroup,readonly,referrerpolicy,rel,required,reversed,rows,rowspan,sandbox,scope,scoped,selected,shape,size,sizes,slot,span,spellcheck,src,srcdoc,srclang,srcset,start,step,style,summary,tabindex,target,title,translate,type,usemap,value,width,wrap`\n);\nconst isKnownSvgAttr = /* @__PURE__ */ makeMap(\n `xmlns,accent-height,accumulate,additive,alignment-baseline,alphabetic,amplitude,arabic-form,ascent,attributeName,attributeType,azimuth,baseFrequency,baseline-shift,baseProfile,bbox,begin,bias,by,calcMode,cap-height,class,clip,clipPathUnits,clip-path,clip-rule,color,color-interpolation,color-interpolation-filters,color-profile,color-rendering,contentScriptType,contentStyleType,crossorigin,cursor,cx,cy,d,decelerate,descent,diffuseConstant,direction,display,divisor,dominant-baseline,dur,dx,dy,edgeMode,elevation,enable-background,end,exponent,fill,fill-opacity,fill-rule,filter,filterRes,filterUnits,flood-color,flood-opacity,font-family,font-size,font-size-adjust,font-stretch,font-style,font-variant,font-weight,format,from,fr,fx,fy,g1,g2,glyph-name,glyph-orientation-horizontal,glyph-orientation-vertical,glyphRef,gradientTransform,gradientUnits,hanging,height,href,hreflang,horiz-adv-x,horiz-origin-x,id,ideographic,image-rendering,in,in2,intercept,k,k1,k2,k3,k4,kernelMatrix,kernelUnitLength,kerning,keyPoints,keySplines,keyTimes,lang,lengthAdjust,letter-spacing,lighting-color,limitingConeAngle,local,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mask,maskContentUnits,maskUnits,mathematical,max,media,method,min,mode,name,numOctaves,offset,opacity,operator,order,orient,orientation,origin,overflow,overline-position,overline-thickness,panose-1,paint-order,path,pathLength,patternContentUnits,patternTransform,patternUnits,ping,pointer-events,points,pointsAtX,pointsAtY,pointsAtZ,preserveAlpha,preserveAspectRatio,primitiveUnits,r,radius,referrerPolicy,refX,refY,rel,rendering-intent,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,result,rotate,rx,ry,scale,seed,shape-rendering,slope,spacing,specularConstant,specularExponent,speed,spreadMethod,startOffset,stdDeviation,stemh,stemv,stitchTiles,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,string,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,style,surfaceScale,systemLanguage,tabindex,tableValues,target,targetX,targetY,text-anchor,text-decoration,text-rendering,textLength,to,transform,transform-origin,type,u1,u2,underline-position,underline-thickness,unicode,unicode-bidi,unicode-range,units-per-em,v-alphabetic,v-hanging,v-ideographic,v-mathematical,values,vector-effect,version,vert-adv-y,vert-origin-x,vert-origin-y,viewBox,viewTarget,visibility,width,widths,word-spacing,writing-mode,x,x-height,x1,x2,xChannelSelector,xlink:actuate,xlink:arcrole,xlink:href,xlink:role,xlink:show,xlink:title,xlink:type,xmlns:xlink,xml:base,xml:lang,xml:space,y,y1,y2,yChannelSelector,z,zoomAndPan`\n);\nfunction isRenderableAttrValue(value) {\n if (value == null) {\n return false;\n }\n const type = typeof value;\n return type === \"string\" || type === \"number\" || type === \"boolean\";\n}\n\nconst escapeRE = /[\"'&<>]/;\nfunction escapeHtml(string) {\n const str = \"\" + string;\n const match = escapeRE.exec(str);\n if (!match) {\n return str;\n }\n let html = \"\";\n let escaped;\n let index;\n let lastIndex = 0;\n for (index = match.index; index < str.length; index++) {\n switch (str.charCodeAt(index)) {\n case 34:\n escaped = \""\";\n break;\n case 38:\n escaped = \"&\";\n break;\n case 39:\n escaped = \"'\";\n break;\n case 60:\n escaped = \"<\";\n break;\n case 62:\n escaped = \">\";\n break;\n default:\n continue;\n }\n if (lastIndex !== index) {\n html += str.slice(lastIndex, index);\n }\n lastIndex = index + 1;\n html += escaped;\n }\n return lastIndex !== index ? html + str.slice(lastIndex, index) : html;\n}\nconst commentStripRE = /^-?>||--!>| looseEqual(item, val));\n}\n\nconst toDisplayString = (val) => {\n return isString(val) ? val : val == null ? \"\" : isArray(val) || isObject(val) && (val.toString === objectToString || !isFunction(val.toString)) ? JSON.stringify(val, replacer, 2) : String(val);\n};\nconst replacer = (_key, val) => {\n if (val && val.__v_isRef) {\n return replacer(_key, val.value);\n } else if (isMap(val)) {\n return {\n [`Map(${val.size})`]: [...val.entries()].reduce(\n (entries, [key, val2], i) => {\n entries[stringifySymbol(key, i) + \" =>\"] = val2;\n return entries;\n },\n {}\n )\n };\n } else if (isSet(val)) {\n return {\n [`Set(${val.size})`]: [...val.values()].map((v) => stringifySymbol(v))\n };\n } else if (isSymbol(val)) {\n return stringifySymbol(val);\n } else if (isObject(val) && !isArray(val) && !isPlainObject(val)) {\n return String(val);\n }\n return val;\n};\nconst stringifySymbol = (v, i = \"\") => {\n var _a;\n return isSymbol(v) ? `Symbol(${(_a = v.description) != null ? _a : i})` : v;\n};\n\nexport { EMPTY_ARR, EMPTY_OBJ, NO, NOOP, PatchFlagNames, PatchFlags, ShapeFlags, SlotFlags, camelize, capitalize, def, escapeHtml, escapeHtmlComment, extend, genPropsAccessExp, generateCodeFrame, getGlobalThis, hasChanged, hasOwn, hyphenate, includeBooleanAttr, invokeArrayFns, isArray, isBooleanAttr, isBuiltInDirective, isDate, isFunction, isGloballyAllowed, isGloballyWhitelisted, isHTMLTag, isIntegerKey, isKnownHtmlAttr, isKnownSvgAttr, isMap, isMathMLTag, isModelListener, isObject, isOn, isPlainObject, isPromise, isRegExp, isRenderableAttrValue, isReservedProp, isSSRSafeAttrName, isSVGTag, isSet, isSpecialBooleanAttr, isString, isSymbol, isVoidTag, looseEqual, looseIndexOf, looseToNumber, makeMap, normalizeClass, normalizeProps, normalizeStyle, objectToString, parseStringStyle, propsToAttrMap, remove, slotFlagsText, stringifyStyle, toDisplayString, toHandlerKey, toNumber, toRawType, toTypeString };\n","const isObject = (val) => val !== null && typeof val === 'object';\nconst defaultDelimiters = ['{', '}'];\nclass BaseFormatter {\n constructor() {\n this._caches = Object.create(null);\n }\n interpolate(message, values, delimiters = defaultDelimiters) {\n if (!values) {\n return [message];\n }\n let tokens = this._caches[message];\n if (!tokens) {\n tokens = parse(message, delimiters);\n this._caches[message] = tokens;\n }\n return compile(tokens, values);\n }\n}\nconst RE_TOKEN_LIST_VALUE = /^(?:\\d)+/;\nconst RE_TOKEN_NAMED_VALUE = /^(?:\\w)+/;\nfunction parse(format, [startDelimiter, endDelimiter]) {\n const tokens = [];\n let position = 0;\n let text = '';\n while (position < format.length) {\n let char = format[position++];\n if (char === startDelimiter) {\n if (text) {\n tokens.push({ type: 'text', value: text });\n }\n text = '';\n let sub = '';\n char = format[position++];\n while (char !== undefined && char !== endDelimiter) {\n sub += char;\n char = format[position++];\n }\n const isClosed = char === endDelimiter;\n const type = RE_TOKEN_LIST_VALUE.test(sub)\n ? 'list'\n : isClosed && RE_TOKEN_NAMED_VALUE.test(sub)\n ? 'named'\n : 'unknown';\n tokens.push({ value: sub, type });\n }\n // else if (char === '%') {\n // // when found rails i18n syntax, skip text capture\n // if (format[position] !== '{') {\n // text += char\n // }\n // }\n else {\n text += char;\n }\n }\n text && tokens.push({ type: 'text', value: text });\n return tokens;\n}\nfunction compile(tokens, values) {\n const compiled = [];\n let index = 0;\n const mode = Array.isArray(values)\n ? 'list'\n : isObject(values)\n ? 'named'\n : 'unknown';\n if (mode === 'unknown') {\n return compiled;\n }\n while (index < tokens.length) {\n const token = tokens[index];\n switch (token.type) {\n case 'text':\n compiled.push(token.value);\n break;\n case 'list':\n compiled.push(values[parseInt(token.value, 10)]);\n break;\n case 'named':\n if (mode === 'named') {\n compiled.push(values[token.value]);\n }\n else {\n if (process.env.NODE_ENV !== 'production') {\n console.warn(`Type of token '${token.type}' and format of value '${mode}' don't match!`);\n }\n }\n break;\n case 'unknown':\n if (process.env.NODE_ENV !== 'production') {\n console.warn(`Detect 'unknown' type of token!`);\n }\n break;\n }\n index++;\n }\n return compiled;\n}\n\nconst LOCALE_ZH_HANS = 'zh-Hans';\nconst LOCALE_ZH_HANT = 'zh-Hant';\nconst LOCALE_EN = 'en';\nconst LOCALE_FR = 'fr';\nconst LOCALE_ES = 'es';\nconst hasOwnProperty = Object.prototype.hasOwnProperty;\nconst hasOwn = (val, key) => hasOwnProperty.call(val, key);\nconst defaultFormatter = new BaseFormatter();\nfunction include(str, parts) {\n return !!parts.find((part) => str.indexOf(part) !== -1);\n}\nfunction startsWith(str, parts) {\n return parts.find((part) => str.indexOf(part) === 0);\n}\nfunction normalizeLocale(locale, messages) {\n if (!locale) {\n return;\n }\n locale = locale.trim().replace(/_/g, '-');\n if (messages && messages[locale]) {\n return locale;\n }\n locale = locale.toLowerCase();\n if (locale === 'chinese') {\n // 支付宝\n return LOCALE_ZH_HANS;\n }\n if (locale.indexOf('zh') === 0) {\n if (locale.indexOf('-hans') > -1) {\n return LOCALE_ZH_HANS;\n }\n if (locale.indexOf('-hant') > -1) {\n return LOCALE_ZH_HANT;\n }\n if (include(locale, ['-tw', '-hk', '-mo', '-cht'])) {\n return LOCALE_ZH_HANT;\n }\n return LOCALE_ZH_HANS;\n }\n let locales = [LOCALE_EN, LOCALE_FR, LOCALE_ES];\n if (messages && Object.keys(messages).length > 0) {\n locales = Object.keys(messages);\n }\n const lang = startsWith(locale, locales);\n if (lang) {\n return lang;\n }\n}\nclass I18n {\n constructor({ locale, fallbackLocale, messages, watcher, formater, }) {\n this.locale = LOCALE_EN;\n this.fallbackLocale = LOCALE_EN;\n this.message = {};\n this.messages = {};\n this.watchers = [];\n if (fallbackLocale) {\n this.fallbackLocale = fallbackLocale;\n }\n this.formater = formater || defaultFormatter;\n this.messages = messages || {};\n this.setLocale(locale || LOCALE_EN);\n if (watcher) {\n this.watchLocale(watcher);\n }\n }\n setLocale(locale) {\n const oldLocale = this.locale;\n this.locale = normalizeLocale(locale, this.messages) || this.fallbackLocale;\n if (!this.messages[this.locale]) {\n // 可能初始化时不存在\n this.messages[this.locale] = {};\n }\n this.message = this.messages[this.locale];\n // 仅发生变化时,通知\n if (oldLocale !== this.locale) {\n this.watchers.forEach((watcher) => {\n watcher(this.locale, oldLocale);\n });\n }\n }\n getLocale() {\n return this.locale;\n }\n watchLocale(fn) {\n const index = this.watchers.push(fn) - 1;\n return () => {\n this.watchers.splice(index, 1);\n };\n }\n add(locale, message, override = true) {\n const curMessages = this.messages[locale];\n if (curMessages) {\n if (override) {\n Object.assign(curMessages, message);\n }\n else {\n Object.keys(message).forEach((key) => {\n if (!hasOwn(curMessages, key)) {\n curMessages[key] = message[key];\n }\n });\n }\n }\n else {\n this.messages[locale] = message;\n }\n }\n f(message, values, delimiters) {\n return this.formater.interpolate(message, values, delimiters).join('');\n }\n t(key, locale, values) {\n let message = this.message;\n if (typeof locale === 'string') {\n locale = normalizeLocale(locale, this.messages);\n locale && (message = this.messages[locale]);\n }\n else {\n values = locale;\n }\n if (!hasOwn(message, key)) {\n console.warn(`Cannot translate the value of keypath ${key}. Use the value of keypath as default.`);\n return key;\n }\n return this.formater.interpolate(message[key], values).join('');\n }\n}\n\nfunction watchAppLocale(appVm, i18n) {\n // 需要保证 watch 的触发在组件渲染之前\n if (appVm.$watchLocale) {\n // vue2\n appVm.$watchLocale((newLocale) => {\n i18n.setLocale(newLocale);\n });\n }\n else {\n appVm.$watch(() => appVm.$locale, (newLocale) => {\n i18n.setLocale(newLocale);\n });\n }\n}\nfunction getDefaultLocale() {\n if (typeof uni !== 'undefined' && uni.getLocale) {\n return uni.getLocale();\n }\n // 小程序平台,uni 和 uni-i18n 互相引用,导致访问不到 uni,故在 global 上挂了 getLocale\n if (typeof global !== 'undefined' && global.getLocale) {\n return global.getLocale();\n }\n return LOCALE_EN;\n}\nfunction initVueI18n(locale, messages = {}, fallbackLocale, watcher) {\n // 兼容旧版本入参\n if (typeof locale !== 'string') {\n // ;[locale, messages] = [\n // messages as unknown as string,\n // locale as unknown as LocaleMessages,\n // ]\n // 暂不使用数组解构,uts编译器暂未支持。\n const options = [\n messages,\n locale,\n ];\n locale = options[0];\n messages = options[1];\n }\n if (typeof locale !== 'string') {\n // 因为小程序平台,uni-i18n 和 uni 互相引用,导致此时访问 uni 时,为 undefined\n locale = getDefaultLocale();\n }\n if (typeof fallbackLocale !== 'string') {\n fallbackLocale =\n (typeof __uniConfig !== 'undefined' && __uniConfig.fallbackLocale) ||\n LOCALE_EN;\n }\n const i18n = new I18n({\n locale,\n fallbackLocale,\n messages,\n watcher,\n });\n let t = (key, values) => {\n if (typeof getApp !== 'function') {\n // app view\n /* eslint-disable no-func-assign */\n t = function (key, values) {\n return i18n.t(key, values);\n };\n }\n else {\n let isWatchedAppLocale = false;\n t = function (key, values) {\n const appVm = getApp().$vm;\n // 可能$vm还不存在,比如在支付宝小程序中,组件定义较早,在props的default里使用了t()函数(如uni-goods-nav),此时app还未初始化\n // options: {\n // \ttype: Array,\n // \tdefault () {\n // \t\treturn [{\n // \t\t\ticon: 'shop',\n // \t\t\ttext: t(\"uni-goods-nav.options.shop\"),\n // \t\t}, {\n // \t\t\ticon: 'cart',\n // \t\t\ttext: t(\"uni-goods-nav.options.cart\")\n // \t\t}]\n // \t}\n // },\n if (appVm) {\n // 触发响应式\n appVm.$locale;\n if (!isWatchedAppLocale) {\n isWatchedAppLocale = true;\n watchAppLocale(appVm, i18n);\n }\n }\n return i18n.t(key, values);\n };\n }\n return t(key, values);\n };\n return {\n i18n,\n f(message, values, delimiters) {\n return i18n.f(message, values, delimiters);\n },\n t(key, values) {\n return t(key, values);\n },\n add(locale, message, override = true) {\n return i18n.add(locale, message, override);\n },\n watch(fn) {\n return i18n.watchLocale(fn);\n },\n getLocale() {\n return i18n.getLocale();\n },\n setLocale(newLocale) {\n return i18n.setLocale(newLocale);\n },\n };\n}\n\nconst isString = (val) => typeof val === 'string';\nlet formater;\nfunction hasI18nJson(jsonObj, delimiters) {\n if (!formater) {\n formater = new BaseFormatter();\n }\n return walkJsonObj(jsonObj, (jsonObj, key) => {\n const value = jsonObj[key];\n if (isString(value)) {\n if (isI18nStr(value, delimiters)) {\n return true;\n }\n }\n else {\n return hasI18nJson(value, delimiters);\n }\n });\n}\nfunction parseI18nJson(jsonObj, values, delimiters) {\n if (!formater) {\n formater = new BaseFormatter();\n }\n walkJsonObj(jsonObj, (jsonObj, key) => {\n const value = jsonObj[key];\n if (isString(value)) {\n if (isI18nStr(value, delimiters)) {\n jsonObj[key] = compileStr(value, values, delimiters);\n }\n }\n else {\n parseI18nJson(value, values, delimiters);\n }\n });\n return jsonObj;\n}\nfunction compileI18nJsonStr(jsonStr, { locale, locales, delimiters, }) {\n if (!isI18nStr(jsonStr, delimiters)) {\n return jsonStr;\n }\n if (!formater) {\n formater = new BaseFormatter();\n }\n const localeValues = [];\n Object.keys(locales).forEach((name) => {\n if (name !== locale) {\n localeValues.push({\n locale: name,\n values: locales[name],\n });\n }\n });\n localeValues.unshift({ locale, values: locales[locale] });\n try {\n return JSON.stringify(compileJsonObj(JSON.parse(jsonStr), localeValues, delimiters), null, 2);\n }\n catch (e) { }\n return jsonStr;\n}\nfunction isI18nStr(value, delimiters) {\n return value.indexOf(delimiters[0]) > -1;\n}\nfunction compileStr(value, values, delimiters) {\n return formater.interpolate(value, values, delimiters).join('');\n}\nfunction compileValue(jsonObj, key, localeValues, delimiters) {\n const value = jsonObj[key];\n if (isString(value)) {\n // 存在国际化\n if (isI18nStr(value, delimiters)) {\n jsonObj[key] = compileStr(value, localeValues[0].values, delimiters);\n if (localeValues.length > 1) {\n // 格式化国际化语言\n const valueLocales = (jsonObj[key + 'Locales'] = {});\n localeValues.forEach((localValue) => {\n valueLocales[localValue.locale] = compileStr(value, localValue.values, delimiters);\n });\n }\n }\n }\n else {\n compileJsonObj(value, localeValues, delimiters);\n }\n}\nfunction compileJsonObj(jsonObj, localeValues, delimiters) {\n walkJsonObj(jsonObj, (jsonObj, key) => {\n compileValue(jsonObj, key, localeValues, delimiters);\n });\n return jsonObj;\n}\nfunction walkJsonObj(jsonObj, walk) {\n if (Array.isArray(jsonObj)) {\n for (let i = 0; i < jsonObj.length; i++) {\n if (walk(jsonObj, i)) {\n return true;\n }\n }\n }\n else if (isObject(jsonObj)) {\n for (const key in jsonObj) {\n if (walk(jsonObj, key)) {\n return true;\n }\n }\n }\n return false;\n}\n\nfunction resolveLocale(locales) {\n return (locale) => {\n if (!locale) {\n return locale;\n }\n locale = normalizeLocale(locale) || locale;\n return resolveLocaleChain(locale).find((locale) => locales.indexOf(locale) > -1);\n };\n}\nfunction resolveLocaleChain(locale) {\n const chain = [];\n const tokens = locale.split('-');\n while (tokens.length) {\n chain.push(tokens.join('-'));\n tokens.pop();\n }\n return chain;\n}\n\nexport { BaseFormatter as Formatter, I18n, LOCALE_EN, LOCALE_ES, LOCALE_FR, LOCALE_ZH_HANS, LOCALE_ZH_HANT, compileI18nJsonStr, hasI18nJson, initVueI18n, isI18nStr, isString, normalizeLocale, parseI18nJson, resolveLocale };\n","import { isHTMLTag, isSVGTag, isVoidTag, isString, isFunction, isPlainObject, hyphenate, camelize, normalizeStyle as normalizeStyle$1, parseStringStyle, isArray, normalizeClass as normalizeClass$1, extend, capitalize } from '@vue/shared';\n\nconst BUILT_IN_TAG_NAMES = [\n 'ad',\n 'ad-content-page',\n 'ad-draw',\n 'audio',\n 'button',\n 'camera',\n 'canvas',\n 'checkbox',\n 'checkbox-group',\n 'cover-image',\n 'cover-view',\n 'editor',\n 'form',\n 'functional-page-navigator',\n 'icon',\n 'image',\n 'input',\n 'label',\n 'live-player',\n 'live-pusher',\n 'map',\n 'movable-area',\n 'movable-view',\n 'navigator',\n 'official-account',\n 'open-data',\n 'picker',\n 'picker-view',\n 'picker-view-column',\n 'progress',\n 'radio',\n 'radio-group',\n 'rich-text',\n 'scroll-view',\n 'slider',\n 'swiper',\n 'swiper-item',\n 'switch',\n 'text',\n 'textarea',\n 'video',\n 'view',\n 'web-view',\n 'location-picker',\n 'location-view',\n];\nconst BUILT_IN_TAGS = BUILT_IN_TAG_NAMES.map((tag) => 'uni-' + tag);\nconst TAGS = [\n 'app',\n 'layout',\n 'content',\n 'main',\n 'top-window',\n 'left-window',\n 'right-window',\n 'tabbar',\n 'page',\n 'page-head',\n 'page-wrapper',\n 'page-body',\n 'page-refresh',\n 'actionsheet',\n 'modal',\n 'toast',\n 'resize-sensor',\n 'shadow-root',\n].map((tag) => 'uni-' + tag);\nconst NVUE_BUILT_IN_TAGS = [\n 'svg',\n 'view',\n 'a',\n 'div',\n 'img',\n 'image',\n 'text',\n 'span',\n 'input',\n 'textarea',\n 'spinner',\n 'select',\n // slider 被自定义 u-slider 替代\n // 'slider',\n 'slider-neighbor',\n 'indicator',\n 'canvas',\n 'list',\n 'cell',\n 'header',\n 'loading',\n 'loading-indicator',\n 'refresh',\n 'scrollable',\n 'scroller',\n 'video',\n 'web',\n 'embed',\n 'tabbar',\n 'tabheader',\n 'datepicker',\n 'timepicker',\n 'marquee',\n 'countdown',\n 'dc-switch',\n 'waterfall',\n 'richtext',\n 'recycle-list',\n 'u-scalable',\n 'barcode',\n 'gcanvas',\n];\nconst UVUE_BUILT_IN_TAGS = [\n 'ad',\n 'ad-content-page',\n 'ad-draw',\n 'native-view',\n 'loading-indicator',\n 'list-view',\n 'list-item',\n 'swiper',\n 'swiper-item',\n 'rich-text',\n 'sticky-view',\n 'sticky-header',\n 'sticky-section',\n // 自定义\n 'uni-slider',\n // 原生实现\n 'button',\n 'nested-scroll-header',\n 'nested-scroll-body',\n 'waterflow',\n 'flow-item',\n 'share-element',\n 'cover-view',\n 'cover-image',\n];\nconst UVUE_WEB_BUILT_IN_TAGS = [\n 'list-view',\n 'list-item',\n 'sticky-section',\n 'sticky-header',\n 'cloud-db-element',\n].map((tag) => 'uni-' + tag);\nconst UVUE_IOS_BUILT_IN_TAGS = [\n 'scroll-view',\n 'web-view',\n 'slider',\n 'form',\n 'switch',\n];\nconst UVUE_HARMONY_BUILT_IN_TAGS = [\n // TODO 列出完整列表\n ...BUILT_IN_TAG_NAMES,\n 'volume-panel',\n];\nconst NVUE_U_BUILT_IN_TAGS = [\n 'u-text',\n 'u-image',\n 'u-input',\n 'u-textarea',\n 'u-video',\n 'u-web-view',\n 'u-slider',\n 'u-ad',\n 'u-ad-draw',\n 'u-rich-text',\n];\nconst UNI_UI_CONFLICT_TAGS = ['list-item'].map((tag) => 'uni-' + tag);\nfunction isBuiltInComponent(tag) {\n if (UNI_UI_CONFLICT_TAGS.indexOf(tag) !== -1) {\n return false;\n }\n // h5 平台会被转换为 v-uni-\n const realTag = 'uni-' + tag.replace('v-uni-', '');\n // TODO 区分x和非x\n return (BUILT_IN_TAGS.indexOf(realTag) !== -1 ||\n UVUE_WEB_BUILT_IN_TAGS.indexOf(realTag) !== -1);\n}\nfunction isH5CustomElement(tag, isX = false) {\n if (isX && UVUE_WEB_BUILT_IN_TAGS.indexOf(tag) !== -1) {\n return true;\n }\n return TAGS.indexOf(tag) !== -1 || BUILT_IN_TAGS.indexOf(tag) !== -1;\n}\nfunction isUniXElement(name) {\n return /^I?Uni.*Element(?:Impl)?$/.test(name);\n}\nfunction isH5NativeTag(tag) {\n return (tag !== 'head' &&\n (isHTMLTag(tag) || isSVGTag(tag)) &&\n !isBuiltInComponent(tag));\n}\nfunction isAppNativeTag(tag) {\n return isHTMLTag(tag) || isSVGTag(tag) || isBuiltInComponent(tag);\n}\nconst NVUE_CUSTOM_COMPONENTS = [\n 'ad',\n 'ad-draw',\n 'button',\n 'checkbox-group',\n 'checkbox',\n 'form',\n 'icon',\n 'label',\n 'movable-area',\n 'movable-view',\n 'navigator',\n 'picker',\n 'progress',\n 'radio-group',\n 'radio',\n 'rich-text',\n 'swiper-item',\n 'swiper',\n 'switch',\n 'slider',\n 'picker-view',\n 'picker-view-column',\n];\n// 内置的easycom组件\nconst UVUE_BUILT_IN_EASY_COMPONENTS = ['map', 'camera'];\nfunction isAppUVueBuiltInEasyComponent(tag) {\n return UVUE_BUILT_IN_EASY_COMPONENTS.includes(tag);\n}\n// 主要是指前端实现的组件列表\nconst UVUE_CUSTOM_COMPONENTS = [\n ...NVUE_CUSTOM_COMPONENTS,\n ...UVUE_BUILT_IN_EASY_COMPONENTS,\n];\nfunction isAppUVueNativeTag(tag) {\n // 前端实现的内置组件都会注册一个根组件\n if (tag.startsWith('uni-') && tag.endsWith('-element')) {\n return true;\n }\n if (UVUE_BUILT_IN_TAGS.includes(tag)) {\n return true;\n }\n if (UVUE_CUSTOM_COMPONENTS.includes(tag)) {\n return false;\n }\n if (isBuiltInComponent(tag)) {\n return true;\n }\n // u-text,u-video...\n if (NVUE_U_BUILT_IN_TAGS.includes(tag)) {\n return true;\n }\n return false;\n}\nfunction isAppIOSUVueNativeTag(tag) {\n // 前端实现的内置组件都会注册一个根组件\n if (tag.startsWith('uni-') && tag.endsWith('-element')) {\n return true;\n }\n if (NVUE_BUILT_IN_TAGS.includes(tag)) {\n return true;\n }\n if (UVUE_BUILT_IN_TAGS.includes(tag)) {\n return true;\n }\n if (UVUE_IOS_BUILT_IN_TAGS.includes(tag)) {\n return true;\n }\n return false;\n}\nfunction isAppHarmonyUVueNativeTag(tag) {\n // video 目前是easycom实现的\n if (tag === 'video' || tag === 'map') {\n return false;\n }\n // 前端实现的内置组件都会注册一个根组件\n if (tag.startsWith('uni-') && tag.endsWith('-element')) {\n return true;\n }\n if (NVUE_BUILT_IN_TAGS.includes(tag)) {\n return true;\n }\n if (UVUE_BUILT_IN_TAGS.includes(tag)) {\n return true;\n }\n if (UVUE_HARMONY_BUILT_IN_TAGS.includes(tag)) {\n return true;\n }\n return false;\n}\nfunction isAppNVueNativeTag(tag) {\n if (NVUE_BUILT_IN_TAGS.includes(tag)) {\n return true;\n }\n if (NVUE_CUSTOM_COMPONENTS.includes(tag)) {\n return false;\n }\n if (isBuiltInComponent(tag)) {\n return true;\n }\n // u-text,u-video...\n if (NVUE_U_BUILT_IN_TAGS.includes(tag)) {\n return true;\n }\n return false;\n}\nfunction isMiniProgramNativeTag(tag) {\n return isBuiltInComponent(tag);\n}\nfunction isMiniProgramUVueNativeTag(tag) {\n // 小程序平台内置的自定义元素,会被转换为 view\n if (tag.startsWith('uni-') && tag.endsWith('-element')) {\n return true;\n }\n return isBuiltInComponent(tag);\n}\nfunction createIsCustomElement(tags = []) {\n return function isCustomElement(tag) {\n return tags.includes(tag);\n };\n}\nfunction isComponentTag(tag) {\n return tag[0].toLowerCase() + tag.slice(1) === 'component';\n}\nconst COMPONENT_SELECTOR_PREFIX = 'uni-';\nconst COMPONENT_PREFIX = 'v-' + COMPONENT_SELECTOR_PREFIX;\n// TODO 是否还存在其他需要特殊处理的 void 标签?\nconst APP_VOID_TAGS = ['textarea'];\nfunction isAppVoidTag(tag) {\n return APP_VOID_TAGS.includes(tag) || isVoidTag(tag);\n}\n\nconst LINEFEED = '\\n';\nconst NAVBAR_HEIGHT = 44;\nconst TABBAR_HEIGHT = 50;\nconst ON_REACH_BOTTOM_DISTANCE = 50;\nconst RESPONSIVE_MIN_WIDTH = 768;\nconst UNI_STORAGE_LOCALE = 'UNI_LOCALE';\n// quickapp-webview 不能使用 default 作为插槽名称\nconst SLOT_DEFAULT_NAME = 'd';\nconst COMPONENT_NAME_PREFIX = 'VUni';\nconst I18N_JSON_DELIMITERS = ['%', '%'];\nconst PRIMARY_COLOR = '#007aff';\nconst SELECTED_COLOR = '#0062cc'; // 选中的颜色,如选项卡默认的选中颜色\nconst BACKGROUND_COLOR = '#f7f7f7'; // 背景色,如标题栏默认背景色\nconst UNI_SSR = '__uniSSR';\nconst UNI_SSR_TITLE = 'title';\nconst UNI_SSR_STORE = 'store';\nconst UNI_SSR_DATA = 'data';\nconst UNI_SSR_GLOBAL_DATA = 'globalData';\nconst SCHEME_RE = /^([a-z-]+:)?\\/\\//i;\nconst DATA_RE = /^data:.*,.*/;\nconst WEB_INVOKE_APPSERVICE = 'WEB_INVOKE_APPSERVICE';\nconst WXS_PROTOCOL = 'wxs://';\nconst JSON_PROTOCOL = 'json://';\nconst WXS_MODULES = 'wxsModules';\nconst RENDERJS_MODULES = 'renderjsModules';\n// lifecycle\n// App and Page\nconst ON_SHOW = 'onShow';\nconst ON_HIDE = 'onHide';\n//App\nconst ON_LAUNCH = 'onLaunch';\nconst ON_ERROR = 'onError';\nconst ON_THEME_CHANGE = 'onThemeChange';\nconst OFF_THEME_CHANGE = 'offThemeChange';\nconst ON_HOST_THEME_CHANGE = 'onHostThemeChange';\nconst OFF_HOST_THEME_CHANGE = 'offHostThemeChange';\nconst ON_KEYBOARD_HEIGHT_CHANGE = 'onKeyboardHeightChange';\nconst ON_PAGE_NOT_FOUND = 'onPageNotFound';\nconst ON_UNHANDLE_REJECTION = 'onUnhandledRejection';\nconst ON_EXIT = 'onExit';\n//Page\nconst ON_LOAD = 'onLoad';\nconst ON_READY = 'onReady';\nconst ON_UNLOAD = 'onUnload';\n// 百度特有\nconst ON_INIT = 'onInit';\n// 微信特有\nconst ON_SAVE_EXIT_STATE = 'onSaveExitState';\nconst ON_RESIZE = 'onResize';\nconst ON_BACK_PRESS = 'onBackPress';\nconst ON_PAGE_SCROLL = 'onPageScroll';\nconst ON_TAB_ITEM_TAP = 'onTabItemTap';\nconst ON_REACH_BOTTOM = 'onReachBottom';\nconst ON_PULL_DOWN_REFRESH = 'onPullDownRefresh';\nconst ON_SHARE_TIMELINE = 'onShareTimeline';\nconst ON_SHARE_CHAT = 'onShareChat'; // xhs-share\nconst ON_ADD_TO_FAVORITES = 'onAddToFavorites';\nconst ON_SHARE_APP_MESSAGE = 'onShareAppMessage';\n// navigationBar\nconst ON_NAVIGATION_BAR_BUTTON_TAP = 'onNavigationBarButtonTap';\nconst ON_NAVIGATION_BAR_CHANGE = 'onNavigationBarChange';\nconst ON_NAVIGATION_BAR_SEARCH_INPUT_CLICKED = 'onNavigationBarSearchInputClicked';\nconst ON_NAVIGATION_BAR_SEARCH_INPUT_CHANGED = 'onNavigationBarSearchInputChanged';\nconst ON_NAVIGATION_BAR_SEARCH_INPUT_CONFIRMED = 'onNavigationBarSearchInputConfirmed';\nconst ON_NAVIGATION_BAR_SEARCH_INPUT_FOCUS_CHANGED = 'onNavigationBarSearchInputFocusChanged';\n// framework\nconst ON_APP_ENTER_FOREGROUND = 'onAppEnterForeground';\nconst ON_APP_ENTER_BACKGROUND = 'onAppEnterBackground';\nconst ON_WEB_INVOKE_APP_SERVICE = 'onWebInvokeAppService';\nconst ON_WXS_INVOKE_CALL_METHOD = 'onWxsInvokeCallMethod';\n// mergeVirtualHostAttributes\nconst VIRTUAL_HOST_STYLE = 'virtualHostStyle';\nconst VIRTUAL_HOST_CLASS = 'virtualHostClass';\nconst VIRTUAL_HOST_HIDDEN = 'virtualHostHidden';\nconst VIRTUAL_HOST_ID = 'virtualHostId';\n\nfunction cache(fn) {\n const cache = Object.create(null);\n return (str) => {\n const hit = cache[str];\n return hit || (cache[str] = fn(str));\n };\n}\nfunction cacheStringFunction(fn) {\n return cache(fn);\n}\nfunction getLen(str = '') {\n return ('' + str).replace(/[^\\x00-\\xff]/g, '**').length;\n}\nfunction hasLeadingSlash(str) {\n return str.indexOf('/') === 0;\n}\nfunction addLeadingSlash(str) {\n return hasLeadingSlash(str) ? str : '/' + str;\n}\nfunction removeLeadingSlash(str) {\n return hasLeadingSlash(str) ? str.slice(1) : str;\n}\nconst invokeArrayFns = (fns, arg) => {\n let ret;\n for (let i = 0; i < fns.length; i++) {\n ret = fns[i](arg);\n }\n return ret;\n};\nfunction updateElementStyle(element, styles) {\n for (const attrName in styles) {\n element.style[attrName] = styles[attrName];\n }\n}\nfunction once(fn, ctx = null) {\n let res;\n return ((...args) => {\n if (fn) {\n res = fn.apply(ctx, args);\n fn = null;\n }\n return res;\n });\n}\nconst sanitise = (val) => (val && JSON.parse(JSON.stringify(val))) || val;\nconst _completeValue = (value) => (value > 9 ? value : '0' + value);\nfunction formatDateTime({ date = new Date(), mode = 'date' }) {\n if (mode === 'time') {\n return (_completeValue(date.getHours()) + ':' + _completeValue(date.getMinutes()));\n }\n else {\n return (date.getFullYear() +\n '-' +\n _completeValue(date.getMonth() + 1) +\n '-' +\n _completeValue(date.getDate()));\n }\n}\nfunction callOptions(options, data) {\n options = options || {};\n if (isString(data)) {\n data = {\n errMsg: data,\n };\n }\n if (/:ok$/.test(data.errMsg)) {\n if (isFunction(options.success)) {\n options.success(data);\n }\n }\n else {\n if (isFunction(options.fail)) {\n options.fail(data);\n }\n }\n if (isFunction(options.complete)) {\n options.complete(data);\n }\n}\nfunction getValueByDataPath(obj, path) {\n if (!isString(path)) {\n return;\n }\n path = path.replace(/\\[(\\d+)\\]/g, '.$1');\n const parts = path.split('.');\n let key = parts[0];\n if (!obj) {\n obj = {};\n }\n if (parts.length === 1) {\n return obj[key];\n }\n return getValueByDataPath(obj[key], parts.slice(1).join('.'));\n}\nfunction sortObject(obj) {\n let sortObj = {};\n if (isPlainObject(obj)) {\n Object.keys(obj)\n .sort()\n .forEach((key) => {\n const _key = key;\n sortObj[_key] = obj[_key];\n });\n }\n return !Object.keys(sortObj) ? obj : sortObj;\n}\nfunction getGlobalOnce() {\n if (typeof globalThis !== 'undefined') {\n return globalThis;\n }\n // worker\n if (typeof self !== 'undefined') {\n return self;\n }\n // browser\n if (typeof window !== 'undefined') {\n return window;\n }\n // nodejs\n // if (typeof global !== 'undefined') {\n // return global\n // }\n function g() {\n return this;\n }\n if (typeof g() !== 'undefined') {\n return g();\n }\n return (function () {\n return new Function('return this')();\n })();\n}\nlet g = undefined;\nfunction getGlobal() {\n if (g) {\n return g;\n }\n g = getGlobalOnce();\n return g;\n}\n\nfunction isComponentInternalInstance(vm) {\n return !!vm.appContext;\n}\nfunction resolveComponentInstance(instance) {\n return (instance &&\n (isComponentInternalInstance(instance) ? instance.proxy : instance));\n}\nfunction resolveOwnerVm(vm) {\n if (!vm) {\n return;\n }\n let componentName = vm.type.name;\n while (componentName && isBuiltInComponent(hyphenate(componentName))) {\n // ownerInstance 内置组件需要使用父 vm\n vm = vm.parent;\n componentName = vm.type.name;\n }\n return vm.proxy;\n}\nfunction isElement(el) {\n // Element\n return el.nodeType === 1;\n}\nfunction resolveOwnerEl(instance, multi = false) {\n const { vnode } = instance;\n if (isElement(vnode.el)) {\n return multi ? (vnode.el ? [vnode.el] : []) : vnode.el;\n }\n const { subTree } = instance;\n // ShapeFlags.ARRAY_CHILDREN = 1<<4\n if (subTree.shapeFlag & 16) {\n const elemVNodes = subTree.children.filter((vnode) => vnode.el && isElement(vnode.el));\n if (elemVNodes.length > 0) {\n if (multi) {\n return elemVNodes.map((node) => node.el);\n }\n return elemVNodes[0].el;\n }\n }\n return multi ? (vnode.el ? [vnode.el] : []) : vnode.el;\n}\nfunction dynamicSlotName(name) {\n return name === 'default' ? SLOT_DEFAULT_NAME : name;\n}\nconst customizeRE = /:/g;\nfunction customizeEvent(str) {\n return camelize(str.replace(customizeRE, '-'));\n}\nfunction normalizeStyle(value) {\n const g = getGlobal();\n if (g && g.UTSJSONObject && value instanceof g.UTSJSONObject) {\n const styleObject = {};\n g.UTSJSONObject.keys(value).forEach((key) => {\n styleObject[key] = value[key];\n });\n return normalizeStyle$1(styleObject);\n }\n else if (value instanceof Map) {\n const styleObject = {};\n value.forEach((value, key) => {\n styleObject[key] = value;\n });\n return normalizeStyle$1(styleObject);\n }\n else if (isString(value)) {\n return parseStringStyle(value);\n }\n else if (isArray(value)) {\n const res = {};\n for (let i = 0; i < value.length; i++) {\n const item = value[i];\n const normalized = isString(item)\n ? parseStringStyle(item)\n : normalizeStyle(item);\n if (normalized) {\n for (const key in normalized) {\n res[key] = normalized[key];\n }\n }\n }\n return res;\n }\n else {\n return normalizeStyle$1(value);\n }\n}\nfunction normalizeClass(value) {\n let res = '';\n const g = getGlobal();\n if (g && g.UTSJSONObject && value instanceof g.UTSJSONObject) {\n g.UTSJSONObject.keys(value).forEach((key) => {\n if (value[key]) {\n res += key + ' ';\n }\n });\n }\n else if (value instanceof Map) {\n value.forEach((value, key) => {\n if (value) {\n res += key + ' ';\n }\n });\n }\n else if (isArray(value)) {\n for (let i = 0; i < value.length; i++) {\n const normalized = normalizeClass(value[i]);\n if (normalized) {\n res += normalized + ' ';\n }\n }\n }\n else {\n res = normalizeClass$1(value);\n }\n return res.trim();\n}\nfunction normalizeProps(props) {\n if (!props)\n return null;\n let { class: klass, style } = props;\n if (klass && !isString(klass)) {\n props.class = normalizeClass(klass);\n }\n if (style) {\n props.style = normalizeStyle(style);\n }\n return props;\n}\n\nlet lastLogTime = 0;\nfunction formatLog(module, ...args) {\n const now = Date.now();\n const diff = lastLogTime ? now - lastLogTime : 0;\n lastLogTime = now;\n return `[${now}][${diff}ms][${module}]:${args\n .map((arg) => JSON.stringify(arg))\n .join(' ')}`;\n}\n\nfunction formatKey(key) {\n return camelize(key.substring(5));\n}\n// question/139181,增加副作用,避免 initCustomDataset 在 build 下被 tree-shaking\nconst initCustomDatasetOnce = /*#__PURE__*/ once((isBuiltInElement) => {\n isBuiltInElement =\n isBuiltInElement || ((el) => el.tagName.startsWith('UNI-'));\n const prototype = HTMLElement.prototype;\n const setAttribute = prototype.setAttribute;\n prototype.setAttribute = function (key, value) {\n if (key.startsWith('data-') && isBuiltInElement(this)) {\n const dataset = this.__uniDataset ||\n (this.__uniDataset = {});\n dataset[formatKey(key)] = value;\n }\n setAttribute.call(this, key, value);\n };\n const removeAttribute = prototype.removeAttribute;\n prototype.removeAttribute = function (key) {\n if (this.__uniDataset &&\n key.startsWith('data-') &&\n isBuiltInElement(this)) {\n delete this.__uniDataset[formatKey(key)];\n }\n removeAttribute.call(this, key);\n };\n});\nfunction getCustomDataset(el) {\n return extend({}, el.dataset, el.__uniDataset);\n}\n\nconst unitRE = new RegExp(`\"[^\"]+\"|'[^']+'|url\\\\([^)]+\\\\)|(\\\\d*\\\\.?\\\\d+)[r|u]px`, 'g');\nfunction toFixed(number, precision) {\n const multiplier = Math.pow(10, precision + 1);\n const wholeNumber = Math.floor(number * multiplier);\n return (Math.round(wholeNumber / 10) * 10) / multiplier;\n}\nconst defaultRpx2Unit = {\n unit: 'rem',\n unitRatio: 10 / 320,\n unitPrecision: 5,\n};\nconst defaultMiniProgramRpx2Unit = {\n unit: 'rpx',\n unitRatio: 1,\n unitPrecision: 1,\n};\nconst defaultNVueRpx2Unit = defaultMiniProgramRpx2Unit;\nfunction createRpx2Unit(unit, unitRatio, unitPrecision) {\n // ignore: rpxCalcIncludeWidth\n return (val) => val.replace(unitRE, (m, $1) => {\n if (!$1) {\n return m;\n }\n if (unitRatio === 1) {\n return `${$1}${unit}`;\n }\n const value = toFixed(parseFloat($1) * unitRatio, unitPrecision);\n return value === 0 ? '0' : `${value}${unit}`;\n });\n}\n\nfunction passive(passive) {\n return { passive };\n}\nfunction normalizeDataset(el) {\n // TODO\n return JSON.parse(JSON.stringify(el.dataset || {}));\n}\nfunction normalizeTarget(el) {\n const { id, offsetTop, offsetLeft } = el;\n return {\n id,\n dataset: getCustomDataset(el),\n offsetTop,\n offsetLeft,\n };\n}\nfunction addFont(family, source, desc) {\n const fonts = document.fonts;\n if (fonts) {\n const fontFace = new FontFace(family, source, desc);\n return fontFace.load().then(() => {\n fonts.add && fonts.add(fontFace);\n });\n }\n return new Promise((resolve) => {\n const style = document.createElement('style');\n const values = [];\n if (desc) {\n const { style, weight, stretch, unicodeRange, variant, featureSettings } = desc;\n style && values.push(`font-style:${style}`);\n weight && values.push(`font-weight:${weight}`);\n stretch && values.push(`font-stretch:${stretch}`);\n unicodeRange && values.push(`unicode-range:${unicodeRange}`);\n variant && values.push(`font-variant:${variant}`);\n featureSettings && values.push(`font-feature-settings:${featureSettings}`);\n }\n style.innerText = `@font-face{font-family:\"${family}\";src:${source};${values.join(';')}}`;\n document.head.appendChild(style);\n resolve();\n });\n}\nfunction scrollTo(scrollTop, duration, isH5) {\n if (isString(scrollTop)) {\n const el = document.querySelector(scrollTop);\n if (el) {\n const { top } = el.getBoundingClientRect();\n scrollTop = top + window.pageYOffset;\n // 如果存在,减去 高度\n const pageHeader = document.querySelector('uni-page-head');\n if (pageHeader) {\n scrollTop -= pageHeader.offsetHeight;\n }\n }\n }\n if (scrollTop < 0) {\n scrollTop = 0;\n }\n const documentElement = document.documentElement;\n const { clientHeight, scrollHeight } = documentElement;\n scrollTop = Math.min(scrollTop, scrollHeight - clientHeight);\n if (duration === 0) {\n // 部分浏览器(比如微信)中 scrollTop 的值需要通过 document.body 来控制\n documentElement.scrollTop = document.body.scrollTop = scrollTop;\n return;\n }\n if (window.scrollY === scrollTop) {\n return;\n }\n const scrollTo = (duration) => {\n if (duration <= 0) {\n window.scrollTo(0, scrollTop);\n return;\n }\n const distaince = scrollTop - window.scrollY;\n requestAnimationFrame(function () {\n window.scrollTo(0, window.scrollY + (distaince / duration) * 10);\n scrollTo(duration - 10);\n });\n };\n scrollTo(duration);\n}\n\nconst encode = encodeURIComponent;\nfunction stringifyQuery(obj, encodeStr = encode) {\n const res = obj\n ? Object.keys(obj)\n .map((key) => {\n let val = obj[key];\n if (typeof val === undefined || val === null) {\n val = '';\n }\n else if (isPlainObject(val)) {\n val = JSON.stringify(val);\n }\n return encodeStr(key) + '=' + encodeStr(val);\n })\n .filter((x) => x.length > 0)\n .join('&')\n : null;\n return res ? `?${res}` : '';\n}\n/**\n * Decode text using `decodeURIComponent`. Returns the original text if it\n * fails.\n *\n * @param text - string to decode\n * @returns decoded string\n */\nfunction decode(text) {\n try {\n return decodeURIComponent('' + text);\n }\n catch (err) { }\n return '' + text;\n}\nfunction decodedQuery(query = {}) {\n const decodedQuery = {};\n Object.keys(query).forEach((name) => {\n try {\n decodedQuery[name] = decode(query[name]);\n }\n catch (e) {\n decodedQuery[name] = query[name];\n }\n });\n return decodedQuery;\n}\nconst PLUS_RE = /\\+/g; // %2B\n/**\n * https://github.com/vuejs/vue-router-next/blob/master/src/query.ts\n * @internal\n *\n * @param search - search string to parse\n * @returns a query object\n */\nfunction parseQuery(search) {\n const query = {};\n // avoid creating an object with an empty key and empty value\n // because of split('&')\n if (search === '' || search === '?')\n return query;\n const hasLeadingIM = search[0] === '?';\n const searchParams = (hasLeadingIM ? search.slice(1) : search).split('&');\n for (let i = 0; i < searchParams.length; ++i) {\n // pre decode the + into space\n const searchParam = searchParams[i].replace(PLUS_RE, ' ');\n // allow the = character\n let eqPos = searchParam.indexOf('=');\n let key = decode(eqPos < 0 ? searchParam : searchParam.slice(0, eqPos));\n let value = eqPos < 0 ? null : decode(searchParam.slice(eqPos + 1));\n if (key in query) {\n // an extra variable for ts types\n let currentValue = query[key];\n if (!isArray(currentValue)) {\n currentValue = query[key] = [currentValue];\n }\n currentValue.push(value);\n }\n else {\n query[key] = value;\n }\n }\n return query;\n}\n\nfunction parseUrl(url) {\n const [path, querystring] = url.split('?', 2);\n return {\n path,\n query: parseQuery(querystring || ''),\n };\n}\n\nfunction parseNVueDataset(attr) {\n const dataset = {};\n if (attr) {\n Object.keys(attr).forEach((key) => {\n if (key.indexOf('data-') === 0) {\n dataset[key.replace('data-', '')] = attr[key];\n }\n });\n }\n return dataset;\n}\n\nfunction plusReady(callback) {\n if (!isFunction(callback)) {\n return;\n }\n if (window.plus) {\n return callback();\n }\n document.addEventListener('plusready', callback);\n}\n\nclass DOMException extends Error {\n constructor(message) {\n super(message);\n this.name = 'DOMException';\n }\n}\n\nfunction normalizeEventType(type, options) {\n if (options) {\n if (options.capture) {\n type += 'Capture';\n }\n if (options.once) {\n type += 'Once';\n }\n if (options.passive) {\n type += 'Passive';\n }\n }\n return `on${capitalize(camelize(type))}`;\n}\nclass UniEvent {\n constructor(type, opts) {\n this.defaultPrevented = false;\n this.timeStamp = Date.now();\n this._stop = false;\n this._end = false;\n this.type = type;\n this.bubbles = !!opts.bubbles;\n this.cancelable = !!opts.cancelable;\n }\n preventDefault() {\n this.defaultPrevented = true;\n }\n stopImmediatePropagation() {\n this._end = this._stop = true;\n }\n stopPropagation() {\n this._stop = true;\n }\n}\nfunction createUniEvent(evt) {\n if (evt instanceof UniEvent) {\n return evt;\n }\n const [type] = parseEventName(evt.type);\n const uniEvent = new UniEvent(type, {\n bubbles: false,\n cancelable: false,\n });\n extend(uniEvent, evt);\n return uniEvent;\n}\nclass UniEventTarget {\n constructor() {\n this.listeners = Object.create(null);\n }\n dispatchEvent(evt) {\n const listeners = this.listeners[evt.type];\n if (!listeners) {\n if ((process.env.NODE_ENV !== 'production')) {\n console.error(formatLog('dispatchEvent', this.nodeId), evt.type, 'not found');\n }\n return false;\n }\n // 格式化事件类型\n const event = createUniEvent(evt);\n const len = listeners.length;\n for (let i = 0; i < len; i++) {\n listeners[i].call(this, event);\n if (event._end) {\n break;\n }\n }\n return event.cancelable && event.defaultPrevented;\n }\n addEventListener(type, listener, options) {\n type = normalizeEventType(type, options);\n (this.listeners[type] || (this.listeners[type] = [])).push(listener);\n }\n removeEventListener(type, callback, options) {\n type = normalizeEventType(type, options);\n const listeners = this.listeners[type];\n if (!listeners) {\n return;\n }\n const index = listeners.indexOf(callback);\n if (index > -1) {\n listeners.splice(index, 1);\n }\n }\n}\nconst optionsModifierRE = /(?:Once|Passive|Capture)$/;\nfunction parseEventName(name) {\n let options;\n if (optionsModifierRE.test(name)) {\n options = {};\n let m;\n while ((m = name.match(optionsModifierRE))) {\n name = name.slice(0, name.length - m[0].length);\n options[m[0].toLowerCase()] = true;\n }\n }\n return [hyphenate(name.slice(2)), options];\n}\n\nconst EventModifierFlags = /*#__PURE__*/ (() => {\n return {\n stop: 1,\n prevent: 1 << 1,\n self: 1 << 2,\n };\n})();\nfunction encodeModifier(modifiers) {\n let flag = 0;\n if (modifiers.includes('stop')) {\n flag |= EventModifierFlags.stop;\n }\n if (modifiers.includes('prevent')) {\n flag |= EventModifierFlags.prevent;\n }\n if (modifiers.includes('self')) {\n flag |= EventModifierFlags.self;\n }\n return flag;\n}\n\nconst NODE_TYPE_PAGE = 0;\nconst NODE_TYPE_ELEMENT = 1;\nconst NODE_TYPE_TEXT = 3;\nconst NODE_TYPE_COMMENT = 8;\nfunction sibling(node, type) {\n const { parentNode } = node;\n if (!parentNode) {\n return null;\n }\n const { childNodes } = parentNode;\n return childNodes[childNodes.indexOf(node) + (type === 'n' ? 1 : -1)] || null;\n}\nfunction removeNode(node) {\n const { parentNode } = node;\n if (parentNode) {\n const { childNodes } = parentNode;\n const index = childNodes.indexOf(node);\n if (index > -1) {\n node.parentNode = null;\n childNodes.splice(index, 1);\n }\n }\n}\nfunction checkNodeId(node) {\n if (!node.nodeId && node.pageNode) {\n node.nodeId = node.pageNode.genId();\n }\n}\n// 为优化性能,各平台不使用proxy来实现node的操作拦截,而是直接通过pageNode定制\nclass UniNode extends UniEventTarget {\n constructor(nodeType, nodeName, container) {\n super();\n this.pageNode = null;\n this.parentNode = null;\n this._text = null;\n if (container) {\n const { pageNode } = container;\n if (pageNode) {\n this.pageNode = pageNode;\n this.nodeId = pageNode.genId();\n !pageNode.isUnmounted && pageNode.onCreate(this, nodeName);\n }\n }\n this.nodeType = nodeType;\n this.nodeName = nodeName;\n this.childNodes = [];\n }\n get firstChild() {\n return this.childNodes[0] || null;\n }\n get lastChild() {\n const { childNodes } = this;\n const length = childNodes.length;\n return length ? childNodes[length - 1] : null;\n }\n get nextSibling() {\n return sibling(this, 'n');\n }\n get nodeValue() {\n return null;\n }\n set nodeValue(_val) { }\n get textContent() {\n return this._text || '';\n }\n set textContent(text) {\n this._text = text;\n if (this.pageNode && !this.pageNode.isUnmounted) {\n this.pageNode.onTextContent(this, text);\n }\n }\n get parentElement() {\n const { parentNode } = this;\n if (parentNode && parentNode.nodeType === NODE_TYPE_ELEMENT) {\n return parentNode;\n }\n return null;\n }\n get previousSibling() {\n return sibling(this, 'p');\n }\n appendChild(newChild) {\n return this.insertBefore(newChild, null);\n }\n cloneNode(deep) {\n const cloned = extend(Object.create(Object.getPrototypeOf(this)), this);\n const { attributes } = cloned;\n if (attributes) {\n cloned.attributes = extend({}, attributes);\n }\n if (deep) {\n cloned.childNodes = cloned.childNodes.map((childNode) => childNode.cloneNode(true));\n }\n return cloned;\n }\n insertBefore(newChild, refChild) {\n // 先从现在的父节点移除(注意:不能触发onRemoveChild,否则会生成先remove该 id,再 insert)\n removeNode(newChild);\n newChild.pageNode = this.pageNode;\n newChild.parentNode = this;\n checkNodeId(newChild);\n const { childNodes } = this;\n if (refChild) {\n const index = childNodes.indexOf(refChild);\n if (index === -1) {\n throw new DOMException(`Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.`);\n }\n childNodes.splice(index, 0, newChild);\n }\n else {\n childNodes.push(newChild);\n }\n return this.pageNode && !this.pageNode.isUnmounted\n ? this.pageNode.onInsertBefore(this, newChild, refChild)\n : newChild;\n }\n removeChild(oldChild) {\n const { childNodes } = this;\n const index = childNodes.indexOf(oldChild);\n if (index === -1) {\n throw new DOMException(`Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.`);\n }\n oldChild.parentNode = null;\n childNodes.splice(index, 1);\n return this.pageNode && !this.pageNode.isUnmounted\n ? this.pageNode.onRemoveChild(oldChild)\n : oldChild;\n }\n}\nconst ATTR_CLASS = 'class';\nconst ATTR_STYLE = 'style';\nconst ATTR_INNER_HTML = 'innerHTML';\nconst ATTR_TEXT_CONTENT = 'textContent';\nconst ATTR_V_SHOW = '.vShow';\nconst ATTR_V_OWNER_ID = '.vOwnerId';\nconst ATTR_V_RENDERJS = '.vRenderjs';\nconst ATTR_CHANGE_PREFIX = 'change:';\nclass UniBaseNode extends UniNode {\n constructor(nodeType, nodeName, container) {\n super(nodeType, nodeName, container);\n this.attributes = Object.create(null);\n this.style = null;\n this.vShow = null;\n this._html = null;\n }\n get className() {\n return (this.attributes[ATTR_CLASS] || '');\n }\n set className(val) {\n this.setAttribute(ATTR_CLASS, val);\n }\n get innerHTML() {\n return '';\n }\n set innerHTML(html) {\n this._html = html;\n }\n addEventListener(type, listener, options) {\n super.addEventListener(type, listener, options);\n if (this.pageNode && !this.pageNode.isUnmounted) {\n if (listener.wxsEvent) {\n this.pageNode.onAddWxsEvent(this, normalizeEventType(type, options), listener.wxsEvent, encodeModifier(listener.modifiers || []));\n }\n else {\n this.pageNode.onAddEvent(this, normalizeEventType(type, options), encodeModifier(listener.modifiers || []));\n }\n }\n }\n removeEventListener(type, callback, options) {\n super.removeEventListener(type, callback, options);\n if (this.pageNode && !this.pageNode.isUnmounted) {\n this.pageNode.onRemoveEvent(this, normalizeEventType(type, options));\n }\n }\n getAttribute(qualifiedName) {\n if (qualifiedName === ATTR_STYLE) {\n return this.style;\n }\n return this.attributes[qualifiedName];\n }\n removeAttribute(qualifiedName) {\n if (qualifiedName == ATTR_STYLE) {\n this.style = null;\n }\n else {\n delete this.attributes[qualifiedName];\n }\n if (this.pageNode && !this.pageNode.isUnmounted) {\n this.pageNode.onRemoveAttribute(this, qualifiedName);\n }\n }\n setAttribute(qualifiedName, value) {\n if (qualifiedName === ATTR_STYLE) {\n this.style = value;\n }\n else {\n this.attributes[qualifiedName] = value;\n }\n if (this.pageNode && !this.pageNode.isUnmounted) {\n this.pageNode.onSetAttribute(this, qualifiedName, value);\n }\n }\n toJSON({ attr, normalize, } = {}) {\n const { attributes, style, listeners, _text } = this;\n const res = {};\n if (Object.keys(attributes).length) {\n res.a = normalize ? normalize(attributes) : attributes;\n }\n const events = Object.keys(listeners);\n if (events.length) {\n let w = undefined;\n const e = {};\n events.forEach((name) => {\n const handlers = listeners[name];\n if (handlers.length) {\n // 可能存在多个 handler 且不同 modifiers 吗?\n const { wxsEvent, modifiers } = handlers[0];\n const modifier = encodeModifier(modifiers || []);\n if (!wxsEvent) {\n e[name] = modifier;\n }\n else {\n if (!w) {\n w = {};\n }\n w[name] = [normalize ? normalize(wxsEvent) : wxsEvent, modifier];\n }\n }\n });\n res.e = normalize ? normalize(e, false) : e;\n if (w) {\n res.w = normalize ? normalize(w, false) : w;\n }\n }\n if (style !== null) {\n res.s = normalize ? normalize(style) : style;\n }\n if (!attr) {\n res.i = this.nodeId;\n res.n = this.nodeName;\n }\n if (_text !== null) {\n res.t = normalize ? normalize(_text) : _text;\n }\n return res;\n }\n}\n\nclass UniCommentNode extends UniNode {\n constructor(text, container) {\n super(NODE_TYPE_COMMENT, '#comment', container);\n this._text = (process.env.NODE_ENV !== 'production') ? text : '';\n }\n toJSON(opts = {}) {\n // 暂时不传递 text 到 view 层,没啥意义,节省点数据量\n return opts.attr\n ? {}\n : {\n i: this.nodeId,\n };\n // return opts.attr\n // ? { t: this._text as string }\n // : {\n // i: this.nodeId!,\n // t: this._text as string,\n // }\n }\n}\n\nclass UniElement extends UniBaseNode {\n constructor(nodeName, container) {\n super(NODE_TYPE_ELEMENT, nodeName.toUpperCase(), container);\n this.tagName = this.nodeName;\n }\n}\nclass UniInputElement extends UniElement {\n get value() {\n return this.getAttribute('value');\n }\n set value(val) {\n this.setAttribute('value', val);\n }\n}\nclass UniTextAreaElement extends UniInputElement {\n}\n\nclass UniTextNode extends UniBaseNode {\n constructor(text, container) {\n super(NODE_TYPE_TEXT, '#text', container);\n this._text = text;\n }\n get nodeValue() {\n return this._text || '';\n }\n set nodeValue(text) {\n this._text = text;\n if (this.pageNode && !this.pageNode.isUnmounted) {\n this.pageNode.onNodeValue(this, text);\n }\n }\n}\n\nconst forcePatchProps = {\n AD: ['data'],\n 'AD-DRAW': ['data'],\n 'LIVE-PLAYER': ['picture-in-picture-mode'],\n MAP: [\n 'markers',\n 'polyline',\n 'circles',\n 'controls',\n 'include-points',\n 'polygons',\n ],\n PICKER: ['range', 'value'],\n 'PICKER-VIEW': ['value'],\n 'RICH-TEXT': ['nodes'],\n VIDEO: ['danmu-list', 'header'],\n 'WEB-VIEW': ['webview-styles'],\n};\nconst forcePatchPropKeys = ['animation'];\n\nconst forcePatchProp = (el, key) => {\n if (forcePatchPropKeys.indexOf(key) > -1) {\n return true;\n }\n const keys = forcePatchProps[el.nodeName];\n if (keys && keys.indexOf(key) > -1) {\n return true;\n }\n return false;\n};\n\nconst ACTION_TYPE_PAGE_CREATE = 1;\nconst ACTION_TYPE_PAGE_CREATED = 2;\nconst ACTION_TYPE_CREATE = 3;\nconst ACTION_TYPE_INSERT = 4;\nconst ACTION_TYPE_REMOVE = 5;\nconst ACTION_TYPE_SET_ATTRIBUTE = 6;\nconst ACTION_TYPE_REMOVE_ATTRIBUTE = 7;\nconst ACTION_TYPE_ADD_EVENT = 8;\nconst ACTION_TYPE_REMOVE_EVENT = 9;\nconst ACTION_TYPE_SET_TEXT = 10;\nconst ACTION_TYPE_ADD_WXS_EVENT = 12;\nconst ACTION_TYPE_PAGE_SCROLL = 15;\nconst ACTION_TYPE_EVENT = 20;\n\n/**\n * 需要手动传入 timer,主要是解决 App 平台的定制 timer\n */\nfunction debounce(fn, delay, { clearTimeout, setTimeout }) {\n let timeout;\n const newFn = function () {\n clearTimeout(timeout);\n const timerFn = () => fn.apply(this, arguments);\n timeout = setTimeout(timerFn, delay);\n };\n newFn.cancel = function () {\n clearTimeout(timeout);\n };\n return newFn;\n}\n\nclass EventChannel {\n constructor(id, events) {\n this.id = id;\n this.listener = {};\n this.emitCache = [];\n if (events) {\n Object.keys(events).forEach((name) => {\n this.on(name, events[name]);\n });\n }\n }\n emit(eventName, ...args) {\n const fns = this.listener[eventName];\n if (!fns) {\n return this.emitCache.push({\n eventName,\n args,\n });\n }\n fns.forEach((opt) => {\n opt.fn.apply(opt.fn, args);\n });\n this.listener[eventName] = fns.filter((opt) => opt.type !== 'once');\n }\n on(eventName, fn) {\n this._addListener(eventName, 'on', fn);\n this._clearCache(eventName);\n }\n once(eventName, fn) {\n this._addListener(eventName, 'once', fn);\n this._clearCache(eventName);\n }\n off(eventName, fn) {\n const fns = this.listener[eventName];\n if (!fns) {\n return;\n }\n if (fn) {\n for (let i = 0; i < fns.length;) {\n if (fns[i].fn === fn) {\n fns.splice(i, 1);\n i--;\n }\n i++;\n }\n }\n else {\n delete this.listener[eventName];\n }\n }\n _clearCache(eventName) {\n for (let index = 0; index < this.emitCache.length; index++) {\n const cache = this.emitCache[index];\n const _name = eventName\n ? cache.eventName === eventName\n ? eventName\n : null\n : cache.eventName;\n if (!_name)\n continue;\n const location = this.emit.apply(this, [_name, ...cache.args]);\n if (typeof location === 'number') {\n this.emitCache.pop();\n continue;\n }\n this.emitCache.splice(index, 1);\n index--;\n }\n }\n _addListener(eventName, type, fn) {\n (this.listener[eventName] || (this.listener[eventName] = [])).push({\n fn,\n type,\n });\n }\n}\n\nconst PAGE_HOOKS = [\n ON_INIT,\n ON_LOAD,\n ON_SHOW,\n ON_HIDE,\n ON_UNLOAD,\n ON_BACK_PRESS,\n ON_PAGE_SCROLL,\n ON_TAB_ITEM_TAP,\n ON_REACH_BOTTOM,\n ON_PULL_DOWN_REFRESH,\n ON_SHARE_TIMELINE,\n ON_SHARE_APP_MESSAGE,\n ON_SHARE_CHAT,\n ON_ADD_TO_FAVORITES,\n ON_SAVE_EXIT_STATE,\n ON_NAVIGATION_BAR_BUTTON_TAP,\n ON_NAVIGATION_BAR_SEARCH_INPUT_CLICKED,\n ON_NAVIGATION_BAR_SEARCH_INPUT_CHANGED,\n ON_NAVIGATION_BAR_SEARCH_INPUT_CONFIRMED,\n ON_NAVIGATION_BAR_SEARCH_INPUT_FOCUS_CHANGED,\n];\nfunction isRootImmediateHook(name) {\n const PAGE_SYNC_HOOKS = [ON_LOAD, ON_SHOW];\n return PAGE_SYNC_HOOKS.indexOf(name) > -1;\n}\n// isRootImmediateHookX deprecated\nfunction isRootHook(name) {\n return PAGE_HOOKS.indexOf(name) > -1;\n}\nconst UniLifecycleHooks = [\n ON_SHOW,\n ON_HIDE,\n ON_LAUNCH,\n ON_ERROR,\n ON_THEME_CHANGE,\n ON_PAGE_NOT_FOUND,\n ON_UNHANDLE_REJECTION,\n ON_EXIT,\n ON_INIT,\n ON_LOAD,\n ON_READY,\n ON_UNLOAD,\n ON_RESIZE,\n ON_BACK_PRESS,\n ON_PAGE_SCROLL,\n ON_TAB_ITEM_TAP,\n ON_REACH_BOTTOM,\n ON_PULL_DOWN_REFRESH,\n ON_SHARE_TIMELINE,\n ON_ADD_TO_FAVORITES,\n ON_SHARE_APP_MESSAGE,\n ON_SHARE_CHAT,\n ON_SAVE_EXIT_STATE,\n ON_NAVIGATION_BAR_BUTTON_TAP,\n ON_NAVIGATION_BAR_SEARCH_INPUT_CLICKED,\n ON_NAVIGATION_BAR_SEARCH_INPUT_CHANGED,\n ON_NAVIGATION_BAR_SEARCH_INPUT_CONFIRMED,\n ON_NAVIGATION_BAR_SEARCH_INPUT_FOCUS_CHANGED,\n];\nconst MINI_PROGRAM_PAGE_RUNTIME_HOOKS = /*#__PURE__*/ (() => {\n return {\n onPageScroll: 1,\n onShareAppMessage: 1 << 1,\n onShareTimeline: 1 << 2,\n };\n})();\nfunction isUniLifecycleHook(name, value, checkType = true) {\n // 检查类型\n if (checkType && !isFunction(value)) {\n return false;\n }\n if (UniLifecycleHooks.indexOf(name) > -1) {\n // 已预定义\n return true;\n }\n else if (name.indexOf('on') === 0) {\n // 以 on 开头\n return true;\n }\n return false;\n}\n\nlet vueApp;\nconst createVueAppHooks = [];\n/**\n * 提供 createApp 的回调事件,方便三方插件接收 App 对象,处理挂靠全局 mixin 之类的逻辑\n */\nfunction onCreateVueApp(hook) {\n // TODO 每个 nvue 页面都会触发\n if (vueApp) {\n return hook(vueApp);\n }\n createVueAppHooks.push(hook);\n}\nfunction invokeCreateVueAppHook(app) {\n vueApp = app;\n createVueAppHooks.forEach((hook) => hook(app));\n}\nconst invokeCreateErrorHandler = once((app, createErrorHandler) => {\n // 不再判断开发者是否监听了onError,直接返回 createErrorHandler,内部 errorHandler 会调用开发者自定义的 errorHandler,以及判断开发者是否监听了onError\n return createErrorHandler(app);\n});\n\nconst E = function () {\n // Keep this empty so it's easier to inherit from\n // (via https://github.com/lipsmack from https://github.com/scottcorgan/tiny-emitter/issues/3)\n};\nE.prototype = {\n _id: 1,\n on: function (name, callback, ctx) {\n var e = this.e || (this.e = {});\n (e[name] || (e[name] = [])).push({\n fn: callback,\n ctx: ctx,\n _id: this._id,\n });\n return this._id++;\n },\n once: function (name, callback, ctx) {\n var self = this;\n function listener() {\n self.off(name, listener);\n callback.apply(ctx, arguments);\n }\n listener._ = callback;\n return this.on(name, listener, ctx);\n },\n emit: function (name) {\n var data = [].slice.call(arguments, 1);\n var evtArr = ((this.e || (this.e = {}))[name] || []).slice();\n var i = 0;\n var len = evtArr.length;\n for (i; i < len; i++) {\n evtArr[i].fn.apply(evtArr[i].ctx, data);\n }\n return this;\n },\n off: function (name, event) {\n var e = this.e || (this.e = {});\n var evts = e[name];\n var liveEvents = [];\n if (evts && event) {\n for (var i = evts.length - 1; i >= 0; i--) {\n if (evts[i].fn === event ||\n evts[i].fn._ === event ||\n evts[i]._id === event) {\n evts.splice(i, 1);\n break;\n }\n }\n liveEvents = evts;\n }\n // Remove event from queue to prevent memory leak\n // Suggested by https://github.com/lazd\n // Ref: https://github.com/scottcorgan/tiny-emitter/commit/c6ebfaa9bc973b33d110a84a307742b7cf94c953#commitcomment-5024910\n liveEvents.length ? (e[name] = liveEvents) : delete e[name];\n return this;\n },\n};\nvar E$1 = E;\n\nconst borderStyles = {\n black: 'rgba(0,0,0,0.4)',\n white: 'rgba(255,255,255,0.4)',\n};\nfunction normalizeTabBarStyles(borderStyle) {\n if (borderStyle && borderStyle in borderStyles) {\n return borderStyles[borderStyle];\n }\n return borderStyle;\n}\nfunction normalizeTitleColor(titleColor) {\n return titleColor === 'black' ? '#000000' : '#ffffff';\n}\nfunction resolveStringStyleItem(modeStyle, styleItem, key) {\n if (isString(styleItem) && styleItem.startsWith('@')) {\n const _key = styleItem.replace('@', '');\n let _styleItem = modeStyle[_key] || styleItem;\n switch (key) {\n case 'titleColor':\n _styleItem = normalizeTitleColor(_styleItem);\n break;\n case 'borderStyle':\n _styleItem = normalizeTabBarStyles(_styleItem);\n break;\n }\n return _styleItem;\n }\n return styleItem;\n}\nfunction normalizeStyles(pageStyle, themeConfig = {}, mode = 'light') {\n const modeStyle = themeConfig[mode];\n const styles = {};\n if (typeof modeStyle === 'undefined' || !pageStyle)\n return pageStyle;\n Object.keys(pageStyle).forEach((key) => {\n const styleItem = pageStyle[key]; // Object Array String\n const parseStyleItem = () => {\n if (isPlainObject(styleItem))\n return normalizeStyles(styleItem, themeConfig, mode);\n if (isArray(styleItem))\n return styleItem.map((item) => {\n if (isPlainObject(item))\n return normalizeStyles(item, themeConfig, mode);\n return resolveStringStyleItem(modeStyle, item);\n });\n return resolveStringStyleItem(modeStyle, styleItem, key);\n };\n styles[key] = parseStyleItem();\n });\n return styles;\n}\n\nfunction getEnvLocale() {\n const { env } = process;\n const lang = env.LC_ALL || env.LC_MESSAGES || env.LANG || env.LANGUAGE;\n return (lang && lang.replace(/[.:].*/, '')) || 'en';\n}\n\nconst isStringIntegerKey = (key) => typeof key === 'string' &&\n key !== 'NaN' &&\n key[0] !== '-' &&\n '' + parseInt(key, 10) === key;\nconst isNumberIntegerKey = (key) => typeof key === 'number' &&\n !isNaN(key) &&\n key >= 0 &&\n parseInt(key + '', 10) === key;\n/**\n * 用于替代@vue/shared的isIntegerKey,原始方法在鸿蒙arkts中会引发bug。根本原因是arkts的数组的key是数字而不是字符串。\n * 目前这个方法使用的地方都和数组有关,切记不能挪作他用。\n * @param key\n * @returns\n */\nconst isIntegerKey = (key) => isNumberIntegerKey(key) || isStringIntegerKey(key);\n\nexport { ACTION_TYPE_ADD_EVENT, ACTION_TYPE_ADD_WXS_EVENT, ACTION_TYPE_CREATE, ACTION_TYPE_EVENT, ACTION_TYPE_INSERT, ACTION_TYPE_PAGE_CREATE, ACTION_TYPE_PAGE_CREATED, ACTION_TYPE_PAGE_SCROLL, ACTION_TYPE_REMOVE, ACTION_TYPE_REMOVE_ATTRIBUTE, ACTION_TYPE_REMOVE_EVENT, ACTION_TYPE_SET_ATTRIBUTE, ACTION_TYPE_SET_TEXT, ATTR_CHANGE_PREFIX, ATTR_CLASS, ATTR_INNER_HTML, ATTR_STYLE, ATTR_TEXT_CONTENT, ATTR_V_OWNER_ID, ATTR_V_RENDERJS, ATTR_V_SHOW, BACKGROUND_COLOR, BUILT_IN_TAGS, BUILT_IN_TAG_NAMES, COMPONENT_NAME_PREFIX, COMPONENT_PREFIX, COMPONENT_SELECTOR_PREFIX, DATA_RE, E$1 as Emitter, EventChannel, EventModifierFlags, I18N_JSON_DELIMITERS, JSON_PROTOCOL, LINEFEED, MINI_PROGRAM_PAGE_RUNTIME_HOOKS, NAVBAR_HEIGHT, NODE_TYPE_COMMENT, NODE_TYPE_ELEMENT, NODE_TYPE_PAGE, NODE_TYPE_TEXT, NVUE_BUILT_IN_TAGS, NVUE_U_BUILT_IN_TAGS, OFF_HOST_THEME_CHANGE, OFF_THEME_CHANGE, ON_ADD_TO_FAVORITES, ON_APP_ENTER_BACKGROUND, ON_APP_ENTER_FOREGROUND, ON_BACK_PRESS, ON_ERROR, ON_EXIT, ON_HIDE, ON_HOST_THEME_CHANGE, ON_INIT, ON_KEYBOARD_HEIGHT_CHANGE, ON_LAUNCH, ON_LOAD, ON_NAVIGATION_BAR_BUTTON_TAP, ON_NAVIGATION_BAR_CHANGE, ON_NAVIGATION_BAR_SEARCH_INPUT_CHANGED, ON_NAVIGATION_BAR_SEARCH_INPUT_CLICKED, ON_NAVIGATION_BAR_SEARCH_INPUT_CONFIRMED, ON_NAVIGATION_BAR_SEARCH_INPUT_FOCUS_CHANGED, ON_PAGE_NOT_FOUND, ON_PAGE_SCROLL, ON_PULL_DOWN_REFRESH, ON_REACH_BOTTOM, ON_REACH_BOTTOM_DISTANCE, ON_READY, ON_RESIZE, ON_SAVE_EXIT_STATE, ON_SHARE_APP_MESSAGE, ON_SHARE_CHAT, ON_SHARE_TIMELINE, ON_SHOW, ON_TAB_ITEM_TAP, ON_THEME_CHANGE, ON_UNHANDLE_REJECTION, ON_UNLOAD, ON_WEB_INVOKE_APP_SERVICE, ON_WXS_INVOKE_CALL_METHOD, PLUS_RE, PRIMARY_COLOR, RENDERJS_MODULES, RESPONSIVE_MIN_WIDTH, SCHEME_RE, SELECTED_COLOR, SLOT_DEFAULT_NAME, TABBAR_HEIGHT, TAGS, UNI_SSR, UNI_SSR_DATA, UNI_SSR_GLOBAL_DATA, UNI_SSR_STORE, UNI_SSR_TITLE, UNI_STORAGE_LOCALE, UNI_UI_CONFLICT_TAGS, UVUE_BUILT_IN_TAGS, UVUE_HARMONY_BUILT_IN_TAGS, UVUE_IOS_BUILT_IN_TAGS, UVUE_WEB_BUILT_IN_TAGS, UniBaseNode, UniCommentNode, UniElement, UniEvent, UniInputElement, UniLifecycleHooks, UniNode, UniTextAreaElement, UniTextNode, VIRTUAL_HOST_CLASS, VIRTUAL_HOST_HIDDEN, VIRTUAL_HOST_ID, VIRTUAL_HOST_STYLE, WEB_INVOKE_APPSERVICE, WXS_MODULES, WXS_PROTOCOL, addFont, addLeadingSlash, borderStyles, cache, cacheStringFunction, callOptions, createIsCustomElement, createRpx2Unit, createUniEvent, customizeEvent, debounce, decode, decodedQuery, defaultMiniProgramRpx2Unit, defaultNVueRpx2Unit, defaultRpx2Unit, dynamicSlotName, forcePatchProp, formatDateTime, formatLog, getCustomDataset, getEnvLocale, getGlobal, getLen, getValueByDataPath, initCustomDatasetOnce, invokeArrayFns, invokeCreateErrorHandler, invokeCreateVueAppHook, isAppHarmonyUVueNativeTag, isAppIOSUVueNativeTag, isAppNVueNativeTag, isAppNativeTag, isAppUVueBuiltInEasyComponent, isAppUVueNativeTag, isAppVoidTag, isBuiltInComponent, isComponentInternalInstance, isComponentTag, isH5CustomElement, isH5NativeTag, isIntegerKey, isMiniProgramNativeTag, isMiniProgramUVueNativeTag, isRootHook, isRootImmediateHook, isUniLifecycleHook, isUniXElement, normalizeClass, normalizeDataset, normalizeEventType, normalizeProps, normalizeStyle, normalizeStyles, normalizeTabBarStyles, normalizeTarget, normalizeTitleColor, onCreateVueApp, once, parseEventName, parseNVueDataset, parseQuery, parseUrl, passive, plusReady, removeLeadingSlash, resolveComponentInstance, resolveOwnerEl, resolveOwnerVm, sanitise, scrollTo, sortObject, stringifyQuery, updateElementStyle };\n","import { isRootHook, getValueByDataPath, isUniLifecycleHook, ON_ERROR, UniLifecycleHooks, invokeCreateErrorHandler, dynamicSlotName } from '@dcloudio/uni-shared';\nimport { NOOP, extend, isSymbol, isObject, def, hasChanged, isFunction, isArray, isPromise, camelize, capitalize, EMPTY_OBJ, remove, toHandlerKey, hasOwn, hyphenate, isReservedProp, toRawType, isString, normalizeClass, normalizeStyle, isOn, toTypeString, isMap, isIntegerKey, isSet, isPlainObject, makeMap, invokeArrayFns, isBuiltInDirective, looseToNumber, NO, EMPTY_ARR, isModelListener, toNumber, toDisplayString } from '@vue/shared';\nexport { EMPTY_OBJ, camelize, normalizeClass, normalizeProps, normalizeStyle, toDisplayString, toHandlerKey } from '@vue/shared';\n\n/**\n* @dcloudio/uni-mp-vue v3.4.21\n* (c) 2018-present Yuxi (Evan) You and Vue contributors\n* @license MIT\n**/\n\nfunction warn$2(msg, ...args) {\n console.warn(`[Vue warn] ${msg}`, ...args);\n}\n\nlet activeEffectScope;\nclass EffectScope {\n constructor(detached = false) {\n this.detached = detached;\n /**\n * @internal\n */\n this._active = true;\n /**\n * @internal\n */\n this.effects = [];\n /**\n * @internal\n */\n this.cleanups = [];\n this.parent = activeEffectScope;\n if (!detached && activeEffectScope) {\n this.index = (activeEffectScope.scopes || (activeEffectScope.scopes = [])).push(\n this\n ) - 1;\n }\n }\n get active() {\n return this._active;\n }\n run(fn) {\n if (this._active) {\n const currentEffectScope = activeEffectScope;\n try {\n activeEffectScope = this;\n return fn();\n } finally {\n activeEffectScope = currentEffectScope;\n }\n } else if (!!(process.env.NODE_ENV !== \"production\")) {\n warn$2(`cannot run an inactive effect scope.`);\n }\n }\n /**\n * This should only be called on non-detached scopes\n * @internal\n */\n on() {\n activeEffectScope = this;\n }\n /**\n * This should only be called on non-detached scopes\n * @internal\n */\n off() {\n activeEffectScope = this.parent;\n }\n stop(fromParent) {\n if (this._active) {\n let i, l;\n for (i = 0, l = this.effects.length; i < l; i++) {\n this.effects[i].stop();\n }\n for (i = 0, l = this.cleanups.length; i < l; i++) {\n this.cleanups[i]();\n }\n if (this.scopes) {\n for (i = 0, l = this.scopes.length; i < l; i++) {\n this.scopes[i].stop(true);\n }\n }\n if (!this.detached && this.parent && !fromParent) {\n const last = this.parent.scopes.pop();\n if (last && last !== this) {\n this.parent.scopes[this.index] = last;\n last.index = this.index;\n }\n }\n this.parent = void 0;\n this._active = false;\n }\n }\n}\nfunction effectScope(detached) {\n return new EffectScope(detached);\n}\nfunction recordEffectScope(effect, scope = activeEffectScope) {\n if (scope && scope.active) {\n scope.effects.push(effect);\n }\n}\nfunction getCurrentScope() {\n return activeEffectScope;\n}\nfunction onScopeDispose(fn) {\n if (activeEffectScope) {\n activeEffectScope.cleanups.push(fn);\n } else if (!!(process.env.NODE_ENV !== \"production\")) {\n warn$2(\n `onScopeDispose() is called when there is no active effect scope to be associated with.`\n );\n }\n}\n\nlet activeEffect;\nclass ReactiveEffect {\n constructor(fn, trigger, scheduler, scope) {\n this.fn = fn;\n this.trigger = trigger;\n this.scheduler = scheduler;\n this.active = true;\n this.deps = [];\n /**\n * @internal\n */\n this._dirtyLevel = 4;\n /**\n * @internal\n */\n this._trackId = 0;\n /**\n * @internal\n */\n this._runnings = 0;\n /**\n * @internal\n */\n this._shouldSchedule = false;\n /**\n * @internal\n */\n this._depsLength = 0;\n recordEffectScope(this, scope);\n }\n get dirty() {\n if (this._dirtyLevel === 2 || this._dirtyLevel === 3) {\n this._dirtyLevel = 1;\n pauseTracking();\n for (let i = 0; i < this._depsLength; i++) {\n const dep = this.deps[i];\n if (dep.computed) {\n triggerComputed(dep.computed);\n if (this._dirtyLevel >= 4) {\n break;\n }\n }\n }\n if (this._dirtyLevel === 1) {\n this._dirtyLevel = 0;\n }\n resetTracking();\n }\n return this._dirtyLevel >= 4;\n }\n set dirty(v) {\n this._dirtyLevel = v ? 4 : 0;\n }\n run() {\n this._dirtyLevel = 0;\n if (!this.active) {\n return this.fn();\n }\n let lastShouldTrack = shouldTrack;\n let lastEffect = activeEffect;\n try {\n shouldTrack = true;\n activeEffect = this;\n this._runnings++;\n preCleanupEffect(this);\n return this.fn();\n } finally {\n postCleanupEffect(this);\n this._runnings--;\n activeEffect = lastEffect;\n shouldTrack = lastShouldTrack;\n }\n }\n stop() {\n var _a;\n if (this.active) {\n preCleanupEffect(this);\n postCleanupEffect(this);\n (_a = this.onStop) == null ? void 0 : _a.call(this);\n this.active = false;\n }\n }\n}\nfunction triggerComputed(computed) {\n return computed.value;\n}\nfunction preCleanupEffect(effect2) {\n effect2._trackId++;\n effect2._depsLength = 0;\n}\nfunction postCleanupEffect(effect2) {\n if (effect2.deps.length > effect2._depsLength) {\n for (let i = effect2._depsLength; i < effect2.deps.length; i++) {\n cleanupDepEffect(effect2.deps[i], effect2);\n }\n effect2.deps.length = effect2._depsLength;\n }\n}\nfunction cleanupDepEffect(dep, effect2) {\n const trackId = dep.get(effect2);\n if (trackId !== void 0 && effect2._trackId !== trackId) {\n dep.delete(effect2);\n if (dep.size === 0) {\n dep.cleanup();\n }\n }\n}\nfunction effect(fn, options) {\n if (fn.effect instanceof ReactiveEffect) {\n fn = fn.effect.fn;\n }\n const _effect = new ReactiveEffect(fn, NOOP, () => {\n if (_effect.dirty) {\n _effect.run();\n }\n });\n if (options) {\n extend(_effect, options);\n if (options.scope)\n recordEffectScope(_effect, options.scope);\n }\n if (!options || !options.lazy) {\n _effect.run();\n }\n const runner = _effect.run.bind(_effect);\n runner.effect = _effect;\n return runner;\n}\nfunction stop(runner) {\n runner.effect.stop();\n}\nlet shouldTrack = true;\nlet pauseScheduleStack = 0;\nconst trackStack = [];\nfunction pauseTracking() {\n trackStack.push(shouldTrack);\n shouldTrack = false;\n}\nfunction resetTracking() {\n const last = trackStack.pop();\n shouldTrack = last === void 0 ? true : last;\n}\nfunction pauseScheduling() {\n pauseScheduleStack++;\n}\nfunction resetScheduling() {\n pauseScheduleStack--;\n while (!pauseScheduleStack && queueEffectSchedulers.length) {\n queueEffectSchedulers.shift()();\n }\n}\nfunction trackEffect(effect2, dep, debuggerEventExtraInfo) {\n var _a;\n if (dep.get(effect2) !== effect2._trackId) {\n dep.set(effect2, effect2._trackId);\n const oldDep = effect2.deps[effect2._depsLength];\n if (oldDep !== dep) {\n if (oldDep) {\n cleanupDepEffect(oldDep, effect2);\n }\n effect2.deps[effect2._depsLength++] = dep;\n } else {\n effect2._depsLength++;\n }\n if (!!(process.env.NODE_ENV !== \"production\")) {\n (_a = effect2.onTrack) == null ? void 0 : _a.call(effect2, extend({ effect: effect2 }, debuggerEventExtraInfo));\n }\n }\n}\nconst queueEffectSchedulers = [];\nfunction triggerEffects(dep, dirtyLevel, debuggerEventExtraInfo) {\n var _a;\n pauseScheduling();\n for (const effect2 of dep.keys()) {\n let tracking;\n if (effect2._dirtyLevel < dirtyLevel && (tracking != null ? tracking : tracking = dep.get(effect2) === effect2._trackId)) {\n effect2._shouldSchedule || (effect2._shouldSchedule = effect2._dirtyLevel === 0);\n effect2._dirtyLevel = dirtyLevel;\n }\n if (effect2._shouldSchedule && (tracking != null ? tracking : tracking = dep.get(effect2) === effect2._trackId)) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n (_a = effect2.onTrigger) == null ? void 0 : _a.call(effect2, extend({ effect: effect2 }, debuggerEventExtraInfo));\n }\n effect2.trigger();\n if ((!effect2._runnings || effect2.allowRecurse) && effect2._dirtyLevel !== 2) {\n effect2._shouldSchedule = false;\n if (effect2.scheduler) {\n queueEffectSchedulers.push(effect2.scheduler);\n }\n }\n }\n }\n resetScheduling();\n}\n\nconst createDep = (cleanup, computed) => {\n const dep = /* @__PURE__ */ new Map();\n dep.cleanup = cleanup;\n dep.computed = computed;\n return dep;\n};\n\nconst targetMap = /* @__PURE__ */ new WeakMap();\nconst ITERATE_KEY = Symbol(!!(process.env.NODE_ENV !== \"production\") ? \"iterate\" : \"\");\nconst MAP_KEY_ITERATE_KEY = Symbol(!!(process.env.NODE_ENV !== \"production\") ? \"Map key iterate\" : \"\");\nfunction track(target, type, key) {\n if (shouldTrack && activeEffect) {\n let depsMap = targetMap.get(target);\n if (!depsMap) {\n targetMap.set(target, depsMap = /* @__PURE__ */ new Map());\n }\n let dep = depsMap.get(key);\n if (!dep) {\n depsMap.set(key, dep = createDep(() => depsMap.delete(key)));\n }\n trackEffect(\n activeEffect,\n dep,\n !!(process.env.NODE_ENV !== \"production\") ? {\n target,\n type,\n key\n } : void 0\n );\n }\n}\nfunction trigger(target, type, key, newValue, oldValue, oldTarget) {\n const depsMap = targetMap.get(target);\n if (!depsMap) {\n return;\n }\n let deps = [];\n if (type === \"clear\") {\n deps = [...depsMap.values()];\n } else if (key === \"length\" && isArray(target)) {\n const newLength = Number(newValue);\n depsMap.forEach((dep, key2) => {\n if (key2 === \"length\" || !isSymbol(key2) && key2 >= newLength) {\n deps.push(dep);\n }\n });\n } else {\n if (key !== void 0) {\n deps.push(depsMap.get(key));\n }\n switch (type) {\n case \"add\":\n if (!isArray(target)) {\n deps.push(depsMap.get(ITERATE_KEY));\n if (isMap(target)) {\n deps.push(depsMap.get(MAP_KEY_ITERATE_KEY));\n }\n } else if (isIntegerKey(key)) {\n deps.push(depsMap.get(\"length\"));\n }\n break;\n case \"delete\":\n if (!isArray(target)) {\n deps.push(depsMap.get(ITERATE_KEY));\n if (isMap(target)) {\n deps.push(depsMap.get(MAP_KEY_ITERATE_KEY));\n }\n }\n break;\n case \"set\":\n if (isMap(target)) {\n deps.push(depsMap.get(ITERATE_KEY));\n }\n break;\n }\n }\n pauseScheduling();\n for (const dep of deps) {\n if (dep) {\n triggerEffects(\n dep,\n 4,\n !!(process.env.NODE_ENV !== \"production\") ? {\n target,\n type,\n key,\n newValue,\n oldValue,\n oldTarget\n } : void 0\n );\n }\n }\n resetScheduling();\n}\nfunction getDepFromReactive(object, key) {\n var _a;\n return (_a = targetMap.get(object)) == null ? void 0 : _a.get(key);\n}\n\nconst isNonTrackableKeys = /* @__PURE__ */ makeMap(`__proto__,__v_isRef,__isVue`);\nconst builtInSymbols = new Set(\n /* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((key) => key !== \"arguments\" && key !== \"caller\").map((key) => Symbol[key]).filter(isSymbol)\n);\nconst arrayInstrumentations = /* @__PURE__ */ createArrayInstrumentations();\nfunction createArrayInstrumentations() {\n const instrumentations = {};\n [\"includes\", \"indexOf\", \"lastIndexOf\"].forEach((key) => {\n instrumentations[key] = function(...args) {\n const arr = toRaw(this);\n for (let i = 0, l = this.length; i < l; i++) {\n track(arr, \"get\", i + \"\");\n }\n const res = arr[key](...args);\n if (res === -1 || res === false) {\n return arr[key](...args.map(toRaw));\n } else {\n return res;\n }\n };\n });\n [\"push\", \"pop\", \"shift\", \"unshift\", \"splice\"].forEach((key) => {\n instrumentations[key] = function(...args) {\n pauseTracking();\n pauseScheduling();\n const res = toRaw(this)[key].apply(this, args);\n resetScheduling();\n resetTracking();\n return res;\n };\n });\n return instrumentations;\n}\nfunction hasOwnProperty(key) {\n const obj = toRaw(this);\n track(obj, \"has\", key);\n return obj.hasOwnProperty(key);\n}\nclass BaseReactiveHandler {\n constructor(_isReadonly = false, _isShallow = false) {\n this._isReadonly = _isReadonly;\n this._isShallow = _isShallow;\n }\n get(target, key, receiver) {\n const isReadonly2 = this._isReadonly, isShallow2 = this._isShallow;\n if (key === \"__v_isReactive\") {\n return !isReadonly2;\n } else if (key === \"__v_isReadonly\") {\n return isReadonly2;\n } else if (key === \"__v_isShallow\") {\n return isShallow2;\n } else if (key === \"__v_raw\") {\n if (receiver === (isReadonly2 ? isShallow2 ? shallowReadonlyMap : readonlyMap : isShallow2 ? shallowReactiveMap : reactiveMap).get(target) || // receiver is not the reactive proxy, but has the same prototype\n // this means the reciever is a user proxy of the reactive proxy\n Object.getPrototypeOf(target) === Object.getPrototypeOf(receiver)) {\n return target;\n }\n return;\n }\n const targetIsArray = isArray(target);\n if (!isReadonly2) {\n if (targetIsArray && hasOwn(arrayInstrumentations, key)) {\n return Reflect.get(arrayInstrumentations, key, receiver);\n }\n if (key === \"hasOwnProperty\") {\n return hasOwnProperty;\n }\n }\n const res = Reflect.get(target, key, receiver);\n if (isSymbol(key) ? builtInSymbols.has(key) : isNonTrackableKeys(key)) {\n return res;\n }\n if (!isReadonly2) {\n track(target, \"get\", key);\n }\n if (isShallow2) {\n return res;\n }\n if (isRef(res)) {\n return targetIsArray && isIntegerKey(key) ? res : res.value;\n }\n if (isObject(res)) {\n return isReadonly2 ? readonly(res) : reactive(res);\n }\n return res;\n }\n}\nclass MutableReactiveHandler extends BaseReactiveHandler {\n constructor(isShallow2 = false) {\n super(false, isShallow2);\n }\n set(target, key, value, receiver) {\n let oldValue = target[key];\n if (!this._isShallow) {\n const isOldValueReadonly = isReadonly(oldValue);\n if (!isShallow(value) && !isReadonly(value)) {\n oldValue = toRaw(oldValue);\n value = toRaw(value);\n }\n if (!isArray(target) && isRef(oldValue) && !isRef(value)) {\n if (isOldValueReadonly) {\n return false;\n } else {\n oldValue.value = value;\n return true;\n }\n }\n }\n const hadKey = isArray(target) && isIntegerKey(key) ? Number(key) < target.length : hasOwn(target, key);\n const result = Reflect.set(target, key, value, receiver);\n if (target === toRaw(receiver)) {\n if (!hadKey) {\n trigger(target, \"add\", key, value);\n } else if (hasChanged(value, oldValue)) {\n trigger(target, \"set\", key, value, oldValue);\n }\n }\n return result;\n }\n deleteProperty(target, key) {\n const hadKey = hasOwn(target, key);\n const oldValue = target[key];\n const result = Reflect.deleteProperty(target, key);\n if (result && hadKey) {\n trigger(target, \"delete\", key, void 0, oldValue);\n }\n return result;\n }\n has(target, key) {\n const result = Reflect.has(target, key);\n if (!isSymbol(key) || !builtInSymbols.has(key)) {\n track(target, \"has\", key);\n }\n return result;\n }\n ownKeys(target) {\n track(\n target,\n \"iterate\",\n isArray(target) ? \"length\" : ITERATE_KEY\n );\n return Reflect.ownKeys(target);\n }\n}\nclass ReadonlyReactiveHandler extends BaseReactiveHandler {\n constructor(isShallow2 = false) {\n super(true, isShallow2);\n }\n set(target, key) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n warn$2(\n `Set operation on key \"${String(key)}\" failed: target is readonly.`,\n target\n );\n }\n return true;\n }\n deleteProperty(target, key) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n warn$2(\n `Delete operation on key \"${String(key)}\" failed: target is readonly.`,\n target\n );\n }\n return true;\n }\n}\nconst mutableHandlers = /* @__PURE__ */ new MutableReactiveHandler();\nconst readonlyHandlers = /* @__PURE__ */ new ReadonlyReactiveHandler();\nconst shallowReactiveHandlers = /* @__PURE__ */ new MutableReactiveHandler(\n true\n);\nconst shallowReadonlyHandlers = /* @__PURE__ */ new ReadonlyReactiveHandler(true);\n\nconst toShallow = (value) => value;\nconst getProto = (v) => Reflect.getPrototypeOf(v);\nfunction get(target, key, isReadonly = false, isShallow = false) {\n target = target[\"__v_raw\"];\n const rawTarget = toRaw(target);\n const rawKey = toRaw(key);\n if (!isReadonly) {\n if (hasChanged(key, rawKey)) {\n track(rawTarget, \"get\", key);\n }\n track(rawTarget, \"get\", rawKey);\n }\n const { has: has2 } = getProto(rawTarget);\n const wrap = isShallow ? toShallow : isReadonly ? toReadonly : toReactive;\n if (has2.call(rawTarget, key)) {\n return wrap(target.get(key));\n } else if (has2.call(rawTarget, rawKey)) {\n return wrap(target.get(rawKey));\n } else if (target !== rawTarget) {\n target.get(key);\n }\n}\nfunction has(key, isReadonly = false) {\n const target = this[\"__v_raw\"];\n const rawTarget = toRaw(target);\n const rawKey = toRaw(key);\n if (!isReadonly) {\n if (hasChanged(key, rawKey)) {\n track(rawTarget, \"has\", key);\n }\n track(rawTarget, \"has\", rawKey);\n }\n return key === rawKey ? target.has(key) : target.has(key) || target.has(rawKey);\n}\nfunction size(target, isReadonly = false) {\n target = target[\"__v_raw\"];\n !isReadonly && track(toRaw(target), \"iterate\", ITERATE_KEY);\n return Reflect.get(target, \"size\", target);\n}\nfunction add(value) {\n value = toRaw(value);\n const target = toRaw(this);\n const proto = getProto(target);\n const hadKey = proto.has.call(target, value);\n if (!hadKey) {\n target.add(value);\n trigger(target, \"add\", value, value);\n }\n return this;\n}\nfunction set$1(key, value) {\n value = toRaw(value);\n const target = toRaw(this);\n const { has: has2, get: get2 } = getProto(target);\n let hadKey = has2.call(target, key);\n if (!hadKey) {\n key = toRaw(key);\n hadKey = has2.call(target, key);\n } else if (!!(process.env.NODE_ENV !== \"production\")) {\n checkIdentityKeys(target, has2, key);\n }\n const oldValue = get2.call(target, key);\n target.set(key, value);\n if (!hadKey) {\n trigger(target, \"add\", key, value);\n } else if (hasChanged(value, oldValue)) {\n trigger(target, \"set\", key, value, oldValue);\n }\n return this;\n}\nfunction deleteEntry(key) {\n const target = toRaw(this);\n const { has: has2, get: get2 } = getProto(target);\n let hadKey = has2.call(target, key);\n if (!hadKey) {\n key = toRaw(key);\n hadKey = has2.call(target, key);\n } else if (!!(process.env.NODE_ENV !== \"production\")) {\n checkIdentityKeys(target, has2, key);\n }\n const oldValue = get2 ? get2.call(target, key) : void 0;\n const result = target.delete(key);\n if (hadKey) {\n trigger(target, \"delete\", key, void 0, oldValue);\n }\n return result;\n}\nfunction clear() {\n const target = toRaw(this);\n const hadItems = target.size !== 0;\n const oldTarget = !!(process.env.NODE_ENV !== \"production\") ? isMap(target) ? new Map(target) : new Set(target) : void 0;\n const result = target.clear();\n if (hadItems) {\n trigger(target, \"clear\", void 0, void 0, oldTarget);\n }\n return result;\n}\nfunction createForEach(isReadonly, isShallow) {\n return function forEach(callback, thisArg) {\n const observed = this;\n const target = observed[\"__v_raw\"];\n const rawTarget = toRaw(target);\n const wrap = isShallow ? toShallow : isReadonly ? toReadonly : toReactive;\n !isReadonly && track(rawTarget, \"iterate\", ITERATE_KEY);\n return target.forEach((value, key) => {\n return callback.call(thisArg, wrap(value), wrap(key), observed);\n });\n };\n}\nfunction createIterableMethod(method, isReadonly, isShallow) {\n return function(...args) {\n const target = this[\"__v_raw\"];\n const rawTarget = toRaw(target);\n const targetIsMap = isMap(rawTarget);\n const isPair = method === \"entries\" || method === Symbol.iterator && targetIsMap;\n const isKeyOnly = method === \"keys\" && targetIsMap;\n const innerIterator = target[method](...args);\n const wrap = isShallow ? toShallow : isReadonly ? toReadonly : toReactive;\n !isReadonly && track(\n rawTarget,\n \"iterate\",\n isKeyOnly ? MAP_KEY_ITERATE_KEY : ITERATE_KEY\n );\n return {\n // iterator protocol\n next() {\n const { value, done } = innerIterator.next();\n return done ? { value, done } : {\n value: isPair ? [wrap(value[0]), wrap(value[1])] : wrap(value),\n done\n };\n },\n // iterable protocol\n [Symbol.iterator]() {\n return this;\n }\n };\n };\n}\nfunction createReadonlyMethod(type) {\n return function(...args) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n const key = args[0] ? `on key \"${args[0]}\" ` : ``;\n warn$2(\n `${capitalize(type)} operation ${key}failed: target is readonly.`,\n toRaw(this)\n );\n }\n return type === \"delete\" ? false : type === \"clear\" ? void 0 : this;\n };\n}\nfunction createInstrumentations() {\n const mutableInstrumentations2 = {\n get(key) {\n return get(this, key);\n },\n get size() {\n return size(this);\n },\n has,\n add,\n set: set$1,\n delete: deleteEntry,\n clear,\n forEach: createForEach(false, false)\n };\n const shallowInstrumentations2 = {\n get(key) {\n return get(this, key, false, true);\n },\n get size() {\n return size(this);\n },\n has,\n add,\n set: set$1,\n delete: deleteEntry,\n clear,\n forEach: createForEach(false, true)\n };\n const readonlyInstrumentations2 = {\n get(key) {\n return get(this, key, true);\n },\n get size() {\n return size(this, true);\n },\n has(key) {\n return has.call(this, key, true);\n },\n add: createReadonlyMethod(\"add\"),\n set: createReadonlyMethod(\"set\"),\n delete: createReadonlyMethod(\"delete\"),\n clear: createReadonlyMethod(\"clear\"),\n forEach: createForEach(true, false)\n };\n const shallowReadonlyInstrumentations2 = {\n get(key) {\n return get(this, key, true, true);\n },\n get size() {\n return size(this, true);\n },\n has(key) {\n return has.call(this, key, true);\n },\n add: createReadonlyMethod(\"add\"),\n set: createReadonlyMethod(\"set\"),\n delete: createReadonlyMethod(\"delete\"),\n clear: createReadonlyMethod(\"clear\"),\n forEach: createForEach(true, true)\n };\n const iteratorMethods = [\n \"keys\",\n \"values\",\n \"entries\",\n Symbol.iterator\n ];\n iteratorMethods.forEach((method) => {\n mutableInstrumentations2[method] = createIterableMethod(method, false, false);\n readonlyInstrumentations2[method] = createIterableMethod(method, true, false);\n shallowInstrumentations2[method] = createIterableMethod(method, false, true);\n shallowReadonlyInstrumentations2[method] = createIterableMethod(\n method,\n true,\n true\n );\n });\n return [\n mutableInstrumentations2,\n readonlyInstrumentations2,\n shallowInstrumentations2,\n shallowReadonlyInstrumentations2\n ];\n}\nconst [\n mutableInstrumentations,\n readonlyInstrumentations,\n shallowInstrumentations,\n shallowReadonlyInstrumentations\n] = /* @__PURE__ */ createInstrumentations();\nfunction createInstrumentationGetter(isReadonly, shallow) {\n const instrumentations = shallow ? isReadonly ? shallowReadonlyInstrumentations : shallowInstrumentations : isReadonly ? readonlyInstrumentations : mutableInstrumentations;\n return (target, key, receiver) => {\n if (key === \"__v_isReactive\") {\n return !isReadonly;\n } else if (key === \"__v_isReadonly\") {\n return isReadonly;\n } else if (key === \"__v_raw\") {\n return target;\n }\n return Reflect.get(\n hasOwn(instrumentations, key) && key in target ? instrumentations : target,\n key,\n receiver\n );\n };\n}\nconst mutableCollectionHandlers = {\n get: /* @__PURE__ */ createInstrumentationGetter(false, false)\n};\nconst shallowCollectionHandlers = {\n get: /* @__PURE__ */ createInstrumentationGetter(false, true)\n};\nconst readonlyCollectionHandlers = {\n get: /* @__PURE__ */ createInstrumentationGetter(true, false)\n};\nconst shallowReadonlyCollectionHandlers = {\n get: /* @__PURE__ */ createInstrumentationGetter(true, true)\n};\nfunction checkIdentityKeys(target, has2, key) {\n const rawKey = toRaw(key);\n if (rawKey !== key && has2.call(target, rawKey)) {\n const type = toRawType(target);\n warn$2(\n `Reactive ${type} contains both the raw and reactive versions of the same object${type === `Map` ? ` as keys` : ``}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`\n );\n }\n}\n\nconst reactiveMap = /* @__PURE__ */ new WeakMap();\nconst shallowReactiveMap = /* @__PURE__ */ new WeakMap();\nconst readonlyMap = /* @__PURE__ */ new WeakMap();\nconst shallowReadonlyMap = /* @__PURE__ */ new WeakMap();\nfunction targetTypeMap(rawType) {\n switch (rawType) {\n case \"Object\":\n case \"Array\":\n return 1 /* COMMON */;\n case \"Map\":\n case \"Set\":\n case \"WeakMap\":\n case \"WeakSet\":\n return 2 /* COLLECTION */;\n default:\n return 0 /* INVALID */;\n }\n}\nfunction getTargetType(value) {\n return value[\"__v_skip\"] || !Object.isExtensible(value) ? 0 /* INVALID */ : targetTypeMap(toRawType(value));\n}\nfunction reactive(target) {\n if (isReadonly(target)) {\n return target;\n }\n return createReactiveObject(\n target,\n false,\n mutableHandlers,\n mutableCollectionHandlers,\n reactiveMap\n );\n}\nfunction shallowReactive(target) {\n return createReactiveObject(\n target,\n false,\n shallowReactiveHandlers,\n shallowCollectionHandlers,\n shallowReactiveMap\n );\n}\nfunction readonly(target) {\n return createReactiveObject(\n target,\n true,\n readonlyHandlers,\n readonlyCollectionHandlers,\n readonlyMap\n );\n}\nfunction shallowReadonly(target) {\n return createReactiveObject(\n target,\n true,\n shallowReadonlyHandlers,\n shallowReadonlyCollectionHandlers,\n shallowReadonlyMap\n );\n}\nfunction createReactiveObject(target, isReadonly2, baseHandlers, collectionHandlers, proxyMap) {\n if (!isObject(target)) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n warn$2(`value cannot be made reactive: ${String(target)}`);\n }\n return target;\n }\n if (target[\"__v_raw\"] && !(isReadonly2 && target[\"__v_isReactive\"])) {\n return target;\n }\n const existingProxy = proxyMap.get(target);\n if (existingProxy) {\n return existingProxy;\n }\n const targetType = getTargetType(target);\n if (targetType === 0 /* INVALID */) {\n return target;\n }\n const proxy = new Proxy(\n target,\n targetType === 2 /* COLLECTION */ ? collectionHandlers : baseHandlers\n );\n proxyMap.set(target, proxy);\n return proxy;\n}\nfunction isReactive(value) {\n if (isReadonly(value)) {\n return isReactive(value[\"__v_raw\"]);\n }\n return !!(value && value[\"__v_isReactive\"]);\n}\nfunction isReadonly(value) {\n return !!(value && value[\"__v_isReadonly\"]);\n}\nfunction isShallow(value) {\n return !!(value && value[\"__v_isShallow\"]);\n}\nfunction isProxy(value) {\n return isReactive(value) || isReadonly(value);\n}\nfunction toRaw(observed) {\n const raw = observed && observed[\"__v_raw\"];\n return raw ? toRaw(raw) : observed;\n}\nfunction markRaw(value) {\n if (Object.isExtensible(value)) {\n def(value, \"__v_skip\", true);\n }\n return value;\n}\nconst toReactive = (value) => isObject(value) ? reactive(value) : value;\nconst toReadonly = (value) => isObject(value) ? readonly(value) : value;\n\nconst COMPUTED_SIDE_EFFECT_WARN = `Computed is still dirty after getter evaluation, likely because a computed is mutating its own dependency in its getter. State mutations in computed getters should be avoided. Check the docs for more details: https://vuejs.org/guide/essentials/computed.html#getters-should-be-side-effect-free`;\nclass ComputedRefImpl {\n constructor(getter, _setter, isReadonly, isSSR) {\n this.getter = getter;\n this._setter = _setter;\n this.dep = void 0;\n this.__v_isRef = true;\n this[\"__v_isReadonly\"] = false;\n this.effect = new ReactiveEffect(\n () => getter(this._value),\n () => triggerRefValue(\n this,\n this.effect._dirtyLevel === 2 ? 2 : 3\n )\n );\n this.effect.computed = this;\n this.effect.active = this._cacheable = !isSSR;\n this[\"__v_isReadonly\"] = isReadonly;\n }\n get value() {\n const self = toRaw(this);\n if ((!self._cacheable || self.effect.dirty) && hasChanged(self._value, self._value = self.effect.run())) {\n triggerRefValue(self, 4);\n }\n trackRefValue(self);\n if (self.effect._dirtyLevel >= 2) {\n if (!!(process.env.NODE_ENV !== \"production\") && this._warnRecursive) {\n warn$2(COMPUTED_SIDE_EFFECT_WARN, `\n\ngetter: `, this.getter);\n }\n triggerRefValue(self, 2);\n }\n return self._value;\n }\n set value(newValue) {\n this._setter(newValue);\n }\n // #region polyfill _dirty for backward compatibility third party code for Vue <= 3.3.x\n get _dirty() {\n return this.effect.dirty;\n }\n set _dirty(v) {\n this.effect.dirty = v;\n }\n // #endregion\n}\nfunction computed$1(getterOrOptions, debugOptions, isSSR = false) {\n let getter;\n let setter;\n const onlyGetter = isFunction(getterOrOptions);\n if (onlyGetter) {\n getter = getterOrOptions;\n setter = !!(process.env.NODE_ENV !== \"production\") ? () => {\n warn$2(\"Write operation failed: computed value is readonly\");\n } : NOOP;\n } else {\n getter = getterOrOptions.get;\n setter = getterOrOptions.set;\n }\n const cRef = new ComputedRefImpl(getter, setter, onlyGetter || !setter, isSSR);\n if (!!(process.env.NODE_ENV !== \"production\") && debugOptions && !isSSR) {\n cRef.effect.onTrack = debugOptions.onTrack;\n cRef.effect.onTrigger = debugOptions.onTrigger;\n }\n return cRef;\n}\n\nfunction trackRefValue(ref2) {\n var _a;\n if (shouldTrack && activeEffect) {\n ref2 = toRaw(ref2);\n trackEffect(\n activeEffect,\n (_a = ref2.dep) != null ? _a : ref2.dep = createDep(\n () => ref2.dep = void 0,\n ref2 instanceof ComputedRefImpl ? ref2 : void 0\n ),\n !!(process.env.NODE_ENV !== \"production\") ? {\n target: ref2,\n type: \"get\",\n key: \"value\"\n } : void 0\n );\n }\n}\nfunction triggerRefValue(ref2, dirtyLevel = 4, newVal) {\n ref2 = toRaw(ref2);\n const dep = ref2.dep;\n if (dep) {\n triggerEffects(\n dep,\n dirtyLevel,\n !!(process.env.NODE_ENV !== \"production\") ? {\n target: ref2,\n type: \"set\",\n key: \"value\",\n newValue: newVal\n } : void 0\n );\n }\n}\nfunction isRef(r) {\n return !!(r && r.__v_isRef === true);\n}\nfunction ref(value) {\n return createRef(value, false);\n}\nfunction shallowRef(value) {\n return createRef(value, true);\n}\nfunction createRef(rawValue, shallow) {\n if (isRef(rawValue)) {\n return rawValue;\n }\n return new RefImpl(rawValue, shallow);\n}\nclass RefImpl {\n constructor(value, __v_isShallow) {\n this.__v_isShallow = __v_isShallow;\n this.dep = void 0;\n this.__v_isRef = true;\n this._rawValue = __v_isShallow ? value : toRaw(value);\n this._value = __v_isShallow ? value : toReactive(value);\n }\n get value() {\n trackRefValue(this);\n return this._value;\n }\n set value(newVal) {\n const useDirectValue = this.__v_isShallow || isShallow(newVal) || isReadonly(newVal);\n newVal = useDirectValue ? newVal : toRaw(newVal);\n if (hasChanged(newVal, this._rawValue)) {\n this._rawValue = newVal;\n this._value = useDirectValue ? newVal : toReactive(newVal);\n triggerRefValue(this, 4, newVal);\n }\n }\n}\nfunction triggerRef(ref2) {\n triggerRefValue(ref2, 4, !!(process.env.NODE_ENV !== \"production\") ? ref2.value : void 0);\n}\nfunction unref(ref2) {\n return isRef(ref2) ? ref2.value : ref2;\n}\nfunction toValue(source) {\n return isFunction(source) ? source() : unref(source);\n}\nconst shallowUnwrapHandlers = {\n get: (target, key, receiver) => unref(Reflect.get(target, key, receiver)),\n set: (target, key, value, receiver) => {\n const oldValue = target[key];\n if (isRef(oldValue) && !isRef(value)) {\n oldValue.value = value;\n return true;\n } else {\n return Reflect.set(target, key, value, receiver);\n }\n }\n};\nfunction proxyRefs(objectWithRefs) {\n return isReactive(objectWithRefs) ? objectWithRefs : new Proxy(objectWithRefs, shallowUnwrapHandlers);\n}\nclass CustomRefImpl {\n constructor(factory) {\n this.dep = void 0;\n this.__v_isRef = true;\n const { get, set } = factory(\n () => trackRefValue(this),\n () => triggerRefValue(this)\n );\n this._get = get;\n this._set = set;\n }\n get value() {\n return this._get();\n }\n set value(newVal) {\n this._set(newVal);\n }\n}\nfunction customRef(factory) {\n return new CustomRefImpl(factory);\n}\nfunction toRefs(object) {\n if (!!(process.env.NODE_ENV !== \"production\") && !isProxy(object)) {\n warn$2(`toRefs() expects a reactive object but received a plain one.`);\n }\n const ret = isArray(object) ? new Array(object.length) : {};\n for (const key in object) {\n ret[key] = propertyToRef(object, key);\n }\n return ret;\n}\nclass ObjectRefImpl {\n constructor(_object, _key, _defaultValue) {\n this._object = _object;\n this._key = _key;\n this._defaultValue = _defaultValue;\n this.__v_isRef = true;\n }\n get value() {\n const val = this._object[this._key];\n return val === void 0 ? this._defaultValue : val;\n }\n set value(newVal) {\n this._object[this._key] = newVal;\n }\n get dep() {\n return getDepFromReactive(toRaw(this._object), this._key);\n }\n}\nclass GetterRefImpl {\n constructor(_getter) {\n this._getter = _getter;\n this.__v_isRef = true;\n this.__v_isReadonly = true;\n }\n get value() {\n return this._getter();\n }\n}\nfunction toRef(source, key, defaultValue) {\n if (isRef(source)) {\n return source;\n } else if (isFunction(source)) {\n return new GetterRefImpl(source);\n } else if (isObject(source) && arguments.length > 1) {\n return propertyToRef(source, key, defaultValue);\n } else {\n return ref(source);\n }\n}\nfunction propertyToRef(source, key, defaultValue) {\n const val = source[key];\n return isRef(val) ? val : new ObjectRefImpl(source, key, defaultValue);\n}\n\nconst stack = [];\nfunction pushWarningContext(vnode) {\n stack.push(vnode);\n}\nfunction popWarningContext() {\n stack.pop();\n}\nfunction warn$1(msg, ...args) {\n pauseTracking();\n const instance = stack.length ? stack[stack.length - 1].component : null;\n const appWarnHandler = instance && instance.appContext.config.warnHandler;\n const trace = getComponentTrace();\n if (appWarnHandler) {\n callWithErrorHandling(\n appWarnHandler,\n instance,\n 11,\n [\n msg + args.map((a) => {\n var _a, _b;\n return (_b = (_a = a.toString) == null ? void 0 : _a.call(a)) != null ? _b : JSON.stringify(a);\n }).join(\"\"),\n instance && instance.proxy,\n trace.map(\n ({ vnode }) => `at <${formatComponentName(instance, vnode.type)}>`\n ).join(\"\\n\"),\n trace\n ]\n );\n } else {\n const warnArgs = [`[Vue warn]: ${msg}`, ...args];\n if (trace.length && // avoid spamming console during tests\n true) {\n warnArgs.push(`\n`, ...formatTrace(trace));\n }\n console.warn(...warnArgs);\n }\n resetTracking();\n}\nfunction getComponentTrace() {\n let currentVNode = stack[stack.length - 1];\n if (!currentVNode) {\n return [];\n }\n const normalizedStack = [];\n while (currentVNode) {\n const last = normalizedStack[0];\n if (last && last.vnode === currentVNode) {\n last.recurseCount++;\n } else {\n normalizedStack.push({\n vnode: currentVNode,\n recurseCount: 0\n });\n }\n const parentInstance = currentVNode.component && currentVNode.component.parent;\n currentVNode = parentInstance && parentInstance.vnode;\n }\n return normalizedStack;\n}\nfunction formatTrace(trace) {\n const logs = [];\n trace.forEach((entry, i) => {\n logs.push(...i === 0 ? [] : [`\n`], ...formatTraceEntry(entry));\n });\n return logs;\n}\nfunction formatTraceEntry({ vnode, recurseCount }) {\n const postfix = recurseCount > 0 ? `... (${recurseCount} recursive calls)` : ``;\n const isRoot = vnode.component ? vnode.component.parent == null : false;\n const open = ` at <${formatComponentName(\n vnode.component,\n vnode.type,\n isRoot\n )}`;\n const close = `>` + postfix;\n return vnode.props ? [open, ...formatProps(vnode.props), close] : [open + close];\n}\nfunction formatProps(props) {\n const res = [];\n const keys = Object.keys(props);\n keys.slice(0, 3).forEach((key) => {\n res.push(...formatProp(key, props[key]));\n });\n if (keys.length > 3) {\n res.push(` ...`);\n }\n return res;\n}\nfunction formatProp(key, value, raw) {\n if (isString(value)) {\n value = JSON.stringify(value);\n return raw ? value : [`${key}=${value}`];\n } else if (typeof value === \"number\" || typeof value === \"boolean\" || value == null) {\n return raw ? value : [`${key}=${value}`];\n } else if (isRef(value)) {\n value = formatProp(key, toRaw(value.value), true);\n return raw ? value : [`${key}=Ref<`, value, `>`];\n } else if (isFunction(value)) {\n return [`${key}=fn${value.name ? `<${value.name}>` : ``}`];\n } else {\n value = toRaw(value);\n return raw ? value : [`${key}=`, value];\n }\n}\n\nconst ErrorTypeStrings = {\n [\"sp\"]: \"serverPrefetch hook\",\n [\"bc\"]: \"beforeCreate hook\",\n [\"c\"]: \"created hook\",\n [\"bm\"]: \"beforeMount hook\",\n [\"m\"]: \"mounted hook\",\n [\"bu\"]: \"beforeUpdate hook\",\n [\"u\"]: \"updated\",\n [\"bum\"]: \"beforeUnmount hook\",\n [\"um\"]: \"unmounted hook\",\n [\"a\"]: \"activated hook\",\n [\"da\"]: \"deactivated hook\",\n [\"ec\"]: \"errorCaptured hook\",\n [\"rtc\"]: \"renderTracked hook\",\n [\"rtg\"]: \"renderTriggered hook\",\n [0]: \"setup function\",\n [1]: \"render function\",\n [2]: \"watcher getter\",\n [3]: \"watcher callback\",\n [4]: \"watcher cleanup function\",\n [5]: \"native event handler\",\n [6]: \"component event handler\",\n [7]: \"vnode hook\",\n [8]: \"directive hook\",\n [9]: \"transition hook\",\n [10]: \"app errorHandler\",\n [11]: \"app warnHandler\",\n [12]: \"ref function\",\n [13]: \"async component loader\",\n [14]: \"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://github.com/vuejs/core .\"\n};\nfunction callWithErrorHandling(fn, instance, type, args) {\n try {\n return args ? fn(...args) : fn();\n } catch (err) {\n handleError(err, instance, type);\n }\n}\nfunction callWithAsyncErrorHandling(fn, instance, type, args) {\n if (isFunction(fn)) {\n const res = callWithErrorHandling(fn, instance, type, args);\n if (res && isPromise(res)) {\n res.catch((err) => {\n handleError(err, instance, type);\n });\n }\n return res;\n }\n const values = [];\n for (let i = 0; i < fn.length; i++) {\n values.push(callWithAsyncErrorHandling(fn[i], instance, type, args));\n }\n return values;\n}\nfunction handleError(err, instance, type, throwInDev = true) {\n const contextVNode = instance ? instance.vnode : null;\n if (instance) {\n let cur = instance.parent;\n const exposedInstance = instance.proxy;\n const errorInfo = !!(process.env.NODE_ENV !== \"production\") ? ErrorTypeStrings[type] || type : `https://vuejs.org/error-reference/#runtime-${type}`;\n while (cur) {\n const errorCapturedHooks = cur.ec;\n if (errorCapturedHooks) {\n for (let i = 0; i < errorCapturedHooks.length; i++) {\n if (errorCapturedHooks[i](err, exposedInstance, errorInfo) === false) {\n return;\n }\n }\n }\n cur = cur.parent;\n }\n const appErrorHandler = instance.appContext.config.errorHandler;\n if (appErrorHandler) {\n callWithErrorHandling(\n appErrorHandler,\n null,\n 10,\n [err, exposedInstance, errorInfo]\n );\n return;\n }\n }\n logError(err, type, contextVNode, throwInDev);\n}\nfunction logError(err, type, contextVNode, throwInDev = true) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n const info = ErrorTypeStrings[type] || type;\n if (contextVNode) {\n pushWarningContext(contextVNode);\n }\n warn$1(`Unhandled error${info ? ` during execution of ${info}` : ``}`);\n if (contextVNode) {\n popWarningContext();\n }\n if (throwInDev) {\n console.error(err);\n } else {\n console.error(err);\n }\n } else {\n console.error(err);\n }\n}\n\nlet isFlushing = false;\nlet isFlushPending = false;\nconst queue = [];\nlet flushIndex = 0;\nconst pendingPostFlushCbs = [];\nlet activePostFlushCbs = null;\nlet postFlushIndex = 0;\nconst resolvedPromise = /* @__PURE__ */ Promise.resolve();\nlet currentFlushPromise = null;\nconst RECURSION_LIMIT = 100;\nfunction nextTick$1(fn) {\n const p = currentFlushPromise || resolvedPromise;\n return fn ? p.then(this ? fn.bind(this) : fn) : p;\n}\nfunction findInsertionIndex(id) {\n let start = flushIndex + 1;\n let end = queue.length;\n while (start < end) {\n const middle = start + end >>> 1;\n const middleJob = queue[middle];\n const middleJobId = getId(middleJob);\n if (middleJobId < id || middleJobId === id && middleJob.pre) {\n start = middle + 1;\n } else {\n end = middle;\n }\n }\n return start;\n}\nfunction queueJob(job) {\n if (!queue.length || !queue.includes(\n job,\n isFlushing && job.allowRecurse ? flushIndex + 1 : flushIndex\n )) {\n if (job.id == null) {\n queue.push(job);\n } else {\n queue.splice(findInsertionIndex(job.id), 0, job);\n }\n queueFlush();\n }\n}\nfunction queueFlush() {\n if (!isFlushing && !isFlushPending) {\n isFlushPending = true;\n currentFlushPromise = resolvedPromise.then(flushJobs);\n }\n}\nfunction hasQueueJob(job) {\n return queue.indexOf(job) > -1;\n}\nfunction invalidateJob(job) {\n const i = queue.indexOf(job);\n if (i > flushIndex) {\n queue.splice(i, 1);\n }\n}\nfunction queuePostFlushCb(cb) {\n if (!isArray(cb)) {\n if (!activePostFlushCbs || !activePostFlushCbs.includes(\n cb,\n cb.allowRecurse ? postFlushIndex + 1 : postFlushIndex\n )) {\n pendingPostFlushCbs.push(cb);\n }\n } else {\n pendingPostFlushCbs.push(...cb);\n }\n queueFlush();\n}\nfunction flushPreFlushCbs(instance, seen, i = isFlushing ? flushIndex + 1 : 0) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n seen = seen || /* @__PURE__ */ new Map();\n }\n for (; i < queue.length; i++) {\n const cb = queue[i];\n if (cb && cb.pre) {\n if (!!(process.env.NODE_ENV !== \"production\") && checkRecursiveUpdates(seen, cb)) {\n continue;\n }\n queue.splice(i, 1);\n i--;\n cb();\n }\n }\n}\nfunction flushPostFlushCbs(seen) {\n if (pendingPostFlushCbs.length) {\n const deduped = [...new Set(pendingPostFlushCbs)].sort(\n (a, b) => getId(a) - getId(b)\n );\n pendingPostFlushCbs.length = 0;\n if (activePostFlushCbs) {\n activePostFlushCbs.push(...deduped);\n return;\n }\n activePostFlushCbs = deduped;\n if (!!(process.env.NODE_ENV !== \"production\")) {\n seen = seen || /* @__PURE__ */ new Map();\n }\n for (postFlushIndex = 0; postFlushIndex < activePostFlushCbs.length; postFlushIndex++) {\n if (!!(process.env.NODE_ENV !== \"production\") && checkRecursiveUpdates(seen, activePostFlushCbs[postFlushIndex])) {\n continue;\n }\n activePostFlushCbs[postFlushIndex]();\n }\n activePostFlushCbs = null;\n postFlushIndex = 0;\n }\n}\nconst getId = (job) => job.id == null ? Infinity : job.id;\nconst comparator = (a, b) => {\n const diff = getId(a) - getId(b);\n if (diff === 0) {\n if (a.pre && !b.pre)\n return -1;\n if (b.pre && !a.pre)\n return 1;\n }\n return diff;\n};\nfunction flushJobs(seen) {\n isFlushPending = false;\n isFlushing = true;\n if (!!(process.env.NODE_ENV !== \"production\")) {\n seen = seen || /* @__PURE__ */ new Map();\n }\n queue.sort(comparator);\n const check = !!(process.env.NODE_ENV !== \"production\") ? (job) => checkRecursiveUpdates(seen, job) : NOOP;\n try {\n for (flushIndex = 0; flushIndex < queue.length; flushIndex++) {\n const job = queue[flushIndex];\n if (job && job.active !== false) {\n if (!!(process.env.NODE_ENV !== \"production\") && check(job)) {\n continue;\n }\n callWithErrorHandling(job, null, 14);\n }\n }\n } finally {\n flushIndex = 0;\n queue.length = 0;\n flushPostFlushCbs(seen);\n isFlushing = false;\n currentFlushPromise = null;\n if (queue.length || pendingPostFlushCbs.length) {\n flushJobs(seen);\n }\n }\n}\nfunction checkRecursiveUpdates(seen, fn) {\n if (!seen.has(fn)) {\n seen.set(fn, 1);\n } else {\n const count = seen.get(fn);\n if (count > RECURSION_LIMIT) {\n const instance = fn.ownerInstance;\n const componentName = instance && getComponentName(instance.type);\n handleError(\n `Maximum recursive updates exceeded${componentName ? ` in component <${componentName}>` : ``}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,\n null,\n 10\n );\n return true;\n } else {\n seen.set(fn, count + 1);\n }\n }\n}\n\nlet devtools;\nlet buffer = [];\nlet devtoolsNotInstalled = false;\nfunction emit$1(event, ...args) {\n if (devtools) {\n devtools.emit(event, ...args);\n } else if (!devtoolsNotInstalled) {\n buffer.push({ event, args });\n }\n}\nfunction setDevtoolsHook(hook, target) {\n var _a, _b;\n devtools = hook;\n if (devtools) {\n devtools.enabled = true;\n buffer.forEach(({ event, args }) => devtools.emit(event, ...args));\n buffer = [];\n } else if (\n // handle late devtools injection - only do this if we are in an actual\n // browser environment to avoid the timer handle stalling test runner exit\n // (#4815)\n typeof window !== \"undefined\" && // some envs mock window but not fully\n window.HTMLElement && // also exclude jsdom\n !((_b = (_a = window.navigator) == null ? void 0 : _a.userAgent) == null ? void 0 : _b.includes(\"jsdom\"))\n ) {\n const replay = target.__VUE_DEVTOOLS_HOOK_REPLAY__ = target.__VUE_DEVTOOLS_HOOK_REPLAY__ || [];\n replay.push((newHook) => {\n setDevtoolsHook(newHook, target);\n });\n setTimeout(() => {\n if (!devtools) {\n target.__VUE_DEVTOOLS_HOOK_REPLAY__ = null;\n devtoolsNotInstalled = true;\n buffer = [];\n }\n }, 3e3);\n } else {\n devtoolsNotInstalled = true;\n buffer = [];\n }\n}\nfunction devtoolsInitApp(app, version) {\n emit$1(\"app:init\" /* APP_INIT */, app, version, {\n Fragment,\n Text,\n Comment,\n Static\n });\n}\nconst devtoolsComponentAdded = /* @__PURE__ */ createDevtoolsComponentHook(\n \"component:added\" /* COMPONENT_ADDED */\n);\nconst devtoolsComponentUpdated = /* @__PURE__ */ createDevtoolsComponentHook(\"component:updated\" /* COMPONENT_UPDATED */);\nconst _devtoolsComponentRemoved = /* @__PURE__ */ createDevtoolsComponentHook(\n \"component:removed\" /* COMPONENT_REMOVED */\n);\nconst devtoolsComponentRemoved = (component) => {\n if (devtools && typeof devtools.cleanupBuffer === \"function\" && // remove the component if it wasn't buffered\n !devtools.cleanupBuffer(component)) {\n _devtoolsComponentRemoved(component);\n }\n};\n/*! #__NO_SIDE_EFFECTS__ */\n// @__NO_SIDE_EFFECTS__\nfunction createDevtoolsComponentHook(hook) {\n return (component) => {\n emit$1(\n hook,\n component.appContext.app,\n component.uid,\n // fixed by xxxxxx\n // 为 0 是 App,无 parent 是 Page 指向 App\n component.uid === 0 ? void 0 : component.parent ? component.parent.uid : 0,\n component\n );\n };\n}\nconst devtoolsPerfStart = /* @__PURE__ */ createDevtoolsPerformanceHook(\n \"perf:start\" /* PERFORMANCE_START */\n);\nconst devtoolsPerfEnd = /* @__PURE__ */ createDevtoolsPerformanceHook(\n \"perf:end\" /* PERFORMANCE_END */\n);\nfunction createDevtoolsPerformanceHook(hook) {\n return (component, type, time) => {\n emit$1(hook, component.appContext.app, component.uid, component, type, time);\n };\n}\nfunction devtoolsComponentEmit(component, event, params) {\n emit$1(\n \"component:emit\" /* COMPONENT_EMIT */,\n component.appContext.app,\n component,\n event,\n params\n );\n}\n\nfunction emit(instance, event, ...rawArgs) {\n if (instance.isUnmounted)\n return;\n const props = instance.vnode.props || EMPTY_OBJ;\n if (!!(process.env.NODE_ENV !== \"production\")) {\n const {\n emitsOptions,\n propsOptions: [propsOptions]\n } = instance;\n if (emitsOptions) {\n if (!(event in emitsOptions) && true) {\n if (!propsOptions || !(toHandlerKey(event) in propsOptions)) {\n warn$1(\n `Component emitted event \"${event}\" but it is neither declared in the emits option nor as an \"${toHandlerKey(event)}\" prop.`\n );\n }\n } else {\n const validator = emitsOptions[event];\n if (isFunction(validator)) {\n const isValid = validator(...rawArgs);\n if (!isValid) {\n warn$1(\n `Invalid event arguments: event validation failed for event \"${event}\".`\n );\n }\n }\n }\n }\n }\n let args = rawArgs;\n const isModelListener = event.startsWith(\"update:\");\n const modelArg = isModelListener && event.slice(7);\n if (modelArg && modelArg in props) {\n const modifiersKey = `${modelArg === \"modelValue\" ? \"model\" : modelArg}Modifiers`;\n const { number, trim } = props[modifiersKey] || EMPTY_OBJ;\n if (trim) {\n args = rawArgs.map((a) => isString(a) ? a.trim() : a);\n }\n if (number) {\n args = rawArgs.map(looseToNumber);\n }\n }\n if (!!(process.env.NODE_ENV !== \"production\") || __VUE_PROD_DEVTOOLS__) {\n devtoolsComponentEmit(instance, event, args);\n }\n if (!!(process.env.NODE_ENV !== \"production\")) {\n const lowerCaseEvent = event.toLowerCase();\n if (lowerCaseEvent !== event && props[toHandlerKey(lowerCaseEvent)]) {\n warn$1(\n `Event \"${lowerCaseEvent}\" is emitted in component ${formatComponentName(\n instance,\n instance.type\n )} but the handler is registered for \"${event}\". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use \"${hyphenate(\n event\n )}\" instead of \"${event}\".`\n );\n }\n }\n let handlerName;\n let handler = props[handlerName = toHandlerKey(event)] || // also try camelCase event handler (#2249)\n props[handlerName = toHandlerKey(camelize(event))];\n if (!handler && isModelListener) {\n handler = props[handlerName = toHandlerKey(hyphenate(event))];\n }\n if (handler) {\n callWithAsyncErrorHandling(\n handler,\n instance,\n 6,\n args\n );\n }\n const onceHandler = props[handlerName + `Once`];\n if (onceHandler) {\n if (!instance.emitted) {\n instance.emitted = {};\n } else if (instance.emitted[handlerName]) {\n return;\n }\n instance.emitted[handlerName] = true;\n callWithAsyncErrorHandling(\n onceHandler,\n instance,\n 6,\n args\n );\n }\n}\nfunction normalizeEmitsOptions(comp, appContext, asMixin = false) {\n const cache = appContext.emitsCache;\n const cached = cache.get(comp);\n if (cached !== void 0) {\n return cached;\n }\n const raw = comp.emits;\n let normalized = {};\n let hasExtends = false;\n if (__VUE_OPTIONS_API__ && !isFunction(comp)) {\n const extendEmits = (raw2) => {\n const normalizedFromExtend = normalizeEmitsOptions(raw2, appContext, true);\n if (normalizedFromExtend) {\n hasExtends = true;\n extend(normalized, normalizedFromExtend);\n }\n };\n if (!asMixin && appContext.mixins.length) {\n appContext.mixins.forEach(extendEmits);\n }\n if (comp.extends) {\n extendEmits(comp.extends);\n }\n if (comp.mixins) {\n comp.mixins.forEach(extendEmits);\n }\n }\n if (!raw && !hasExtends) {\n if (isObject(comp)) {\n cache.set(comp, null);\n }\n return null;\n }\n if (isArray(raw)) {\n raw.forEach((key) => normalized[key] = null);\n } else {\n extend(normalized, raw);\n }\n if (isObject(comp)) {\n cache.set(comp, normalized);\n }\n return normalized;\n}\nfunction isEmitListener(options, key) {\n if (!options || !isOn(key)) {\n return false;\n }\n key = key.slice(2).replace(/Once$/, \"\");\n return hasOwn(options, key[0].toLowerCase() + key.slice(1)) || hasOwn(options, hyphenate(key)) || hasOwn(options, key);\n}\n\nlet currentRenderingInstance = null;\nlet currentScopeId = null;\nfunction setCurrentRenderingInstance(instance) {\n const prev = currentRenderingInstance;\n currentRenderingInstance = instance;\n currentScopeId = instance && instance.type.__scopeId || null;\n return prev;\n}\nconst withScopeId = (_id) => withCtx;\nfunction withCtx(fn, ctx = currentRenderingInstance, isNonScopedSlot) {\n if (!ctx)\n return fn;\n if (fn._n) {\n return fn;\n }\n const renderFnWithContext = (...args) => {\n if (renderFnWithContext._d) {\n setBlockTracking(-1);\n }\n const prevInstance = setCurrentRenderingInstance(ctx);\n let res;\n try {\n res = fn(...args);\n } finally {\n setCurrentRenderingInstance(prevInstance);\n if (renderFnWithContext._d) {\n setBlockTracking(1);\n }\n }\n if (!!(process.env.NODE_ENV !== \"production\") || __VUE_PROD_DEVTOOLS__) {\n devtoolsComponentUpdated(ctx);\n }\n return res;\n };\n renderFnWithContext._n = true;\n renderFnWithContext._c = true;\n renderFnWithContext._d = true;\n return renderFnWithContext;\n}\n\nfunction markAttrsAccessed() {\n}\n\nconst COMPONENTS = \"components\";\nconst DIRECTIVES = \"directives\";\nfunction resolveComponent(name, maybeSelfReference) {\n return resolveAsset(COMPONENTS, name, true, maybeSelfReference) || name;\n}\nconst NULL_DYNAMIC_COMPONENT = Symbol.for(\"v-ndc\");\nfunction resolveDirective(name) {\n return resolveAsset(DIRECTIVES, name);\n}\nfunction resolveAsset(type, name, warnMissing = true, maybeSelfReference = false) {\n const instance = currentRenderingInstance || currentInstance;\n if (instance) {\n const Component = instance.type;\n if (type === COMPONENTS) {\n const selfName = getComponentName(\n Component,\n false\n );\n if (selfName && (selfName === name || selfName === camelize(name) || selfName === capitalize(camelize(name)))) {\n return Component;\n }\n }\n const res = (\n // local registration\n // check instance[type] first which is resolved for options API\n resolve(instance[type] || Component[type], name) || // global registration\n resolve(instance.appContext[type], name)\n );\n if (!res && maybeSelfReference) {\n return Component;\n }\n if (!!(process.env.NODE_ENV !== \"production\") && warnMissing && !res) {\n const extra = type === COMPONENTS ? `\nIf this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.` : ``;\n warn$1(`Failed to resolve ${type.slice(0, -1)}: ${name}${extra}`);\n }\n return res;\n } else if (!!(process.env.NODE_ENV !== \"production\")) {\n warn$1(\n `resolve${capitalize(type.slice(0, -1))} can only be used in render() or setup().`\n );\n }\n}\nfunction resolve(registry, name) {\n return registry && (registry[name] || registry[camelize(name)] || registry[capitalize(camelize(name))]);\n}\n\nconst ssrContextKey = Symbol.for(\"v-scx\");\nconst useSSRContext = () => {\n {\n const ctx = inject(ssrContextKey);\n if (!ctx) {\n !!(process.env.NODE_ENV !== \"production\") && warn$1(\n `Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build.`\n );\n }\n return ctx;\n }\n};\n\nfunction watchEffect(effect, options) {\n return doWatch(effect, null, options);\n}\nfunction watchPostEffect(effect, options) {\n return doWatch(\n effect,\n null,\n !!(process.env.NODE_ENV !== \"production\") ? extend({}, options, { flush: \"post\" }) : { flush: \"post\" }\n );\n}\nfunction watchSyncEffect(effect, options) {\n return doWatch(\n effect,\n null,\n !!(process.env.NODE_ENV !== \"production\") ? extend({}, options, { flush: \"sync\" }) : { flush: \"sync\" }\n );\n}\nconst INITIAL_WATCHER_VALUE = {};\nfunction watch(source, cb, options) {\n if (!!(process.env.NODE_ENV !== \"production\") && !isFunction(cb)) {\n warn$1(\n `\\`watch(fn, options?)\\` signature has been moved to a separate API. Use \\`watchEffect(fn, options?)\\` instead. \\`watch\\` now only supports \\`watch(source, cb, options?) signature.`\n );\n }\n return doWatch(source, cb, options);\n}\nfunction doWatch(source, cb, {\n immediate,\n deep,\n flush,\n once,\n onTrack,\n onTrigger\n} = EMPTY_OBJ) {\n if (cb && once) {\n const _cb = cb;\n cb = (...args) => {\n _cb(...args);\n unwatch();\n };\n }\n if (!!(process.env.NODE_ENV !== \"production\") && deep !== void 0 && typeof deep === \"number\") {\n warn$1(\n `watch() \"deep\" option with number value will be used as watch depth in future versions. Please use a boolean instead to avoid potential breakage.`\n );\n }\n if (!!(process.env.NODE_ENV !== \"production\") && !cb) {\n if (immediate !== void 0) {\n warn$1(\n `watch() \"immediate\" option is only respected when using the watch(source, callback, options?) signature.`\n );\n }\n if (deep !== void 0) {\n warn$1(\n `watch() \"deep\" option is only respected when using the watch(source, callback, options?) signature.`\n );\n }\n if (once !== void 0) {\n warn$1(\n `watch() \"once\" option is only respected when using the watch(source, callback, options?) signature.`\n );\n }\n }\n const warnInvalidSource = (s) => {\n warn$1(\n `Invalid watch source: `,\n s,\n `A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.`\n );\n };\n const instance = currentInstance;\n const reactiveGetter = (source2) => deep === true ? source2 : (\n // for deep: false, only traverse root-level properties\n traverse(source2, deep === false ? 1 : void 0)\n );\n let getter;\n let forceTrigger = false;\n let isMultiSource = false;\n if (isRef(source)) {\n getter = () => source.value;\n forceTrigger = isShallow(source);\n } else if (isReactive(source)) {\n getter = () => reactiveGetter(source);\n forceTrigger = true;\n } else if (isArray(source)) {\n isMultiSource = true;\n forceTrigger = source.some((s) => isReactive(s) || isShallow(s));\n getter = () => source.map((s) => {\n if (isRef(s)) {\n return s.value;\n } else if (isReactive(s)) {\n return reactiveGetter(s);\n } else if (isFunction(s)) {\n return callWithErrorHandling(s, instance, 2);\n } else {\n !!(process.env.NODE_ENV !== \"production\") && warnInvalidSource(s);\n }\n });\n } else if (isFunction(source)) {\n if (cb) {\n getter = () => callWithErrorHandling(source, instance, 2);\n } else {\n getter = () => {\n if (cleanup) {\n cleanup();\n }\n return callWithAsyncErrorHandling(\n source,\n instance,\n 3,\n [onCleanup]\n );\n };\n }\n } else {\n getter = NOOP;\n !!(process.env.NODE_ENV !== \"production\") && warnInvalidSource(source);\n }\n if (cb && deep) {\n const baseGetter = getter;\n getter = () => traverse(baseGetter());\n }\n let cleanup;\n let onCleanup = (fn) => {\n cleanup = effect.onStop = () => {\n callWithErrorHandling(fn, instance, 4);\n cleanup = effect.onStop = void 0;\n };\n };\n let oldValue = isMultiSource ? new Array(source.length).fill(INITIAL_WATCHER_VALUE) : INITIAL_WATCHER_VALUE;\n const job = () => {\n if (!effect.active || !effect.dirty) {\n return;\n }\n if (cb) {\n const newValue = effect.run();\n if (deep || forceTrigger || (isMultiSource ? newValue.some((v, i) => hasChanged(v, oldValue[i])) : hasChanged(newValue, oldValue)) || false) {\n if (cleanup) {\n cleanup();\n }\n callWithAsyncErrorHandling(cb, instance, 3, [\n newValue,\n // pass undefined as the old value when it's changed for the first time\n oldValue === INITIAL_WATCHER_VALUE ? void 0 : isMultiSource && oldValue[0] === INITIAL_WATCHER_VALUE ? [] : oldValue,\n onCleanup\n ]);\n oldValue = newValue;\n }\n } else {\n effect.run();\n }\n };\n job.allowRecurse = !!cb;\n let scheduler;\n if (flush === \"sync\") {\n scheduler = job;\n } else if (flush === \"post\") {\n scheduler = () => queuePostRenderEffect$1(job, instance && instance.suspense);\n } else {\n job.pre = true;\n if (instance)\n job.id = instance.uid;\n scheduler = () => queueJob(job);\n }\n const effect = new ReactiveEffect(getter, NOOP, scheduler);\n const scope = getCurrentScope();\n const unwatch = () => {\n effect.stop();\n if (scope) {\n remove(scope.effects, effect);\n }\n };\n if (!!(process.env.NODE_ENV !== \"production\")) {\n effect.onTrack = onTrack;\n effect.onTrigger = onTrigger;\n }\n if (cb) {\n if (immediate) {\n job();\n } else {\n oldValue = effect.run();\n }\n } else if (flush === \"post\") {\n queuePostRenderEffect$1(\n effect.run.bind(effect),\n instance && instance.suspense\n );\n } else {\n effect.run();\n }\n return unwatch;\n}\nfunction instanceWatch(source, value, options) {\n const publicThis = this.proxy;\n const getter = isString(source) ? source.includes(\".\") ? createPathGetter(publicThis, source) : () => publicThis[source] : source.bind(publicThis, publicThis);\n let cb;\n if (isFunction(value)) {\n cb = value;\n } else {\n cb = value.handler;\n options = value;\n }\n const reset = setCurrentInstance(this);\n const res = doWatch(getter, cb.bind(publicThis), options);\n reset();\n return res;\n}\nfunction createPathGetter(ctx, path) {\n const segments = path.split(\".\");\n return () => {\n let cur = ctx;\n for (let i = 0; i < segments.length && cur; i++) {\n cur = cur[segments[i]];\n }\n return cur;\n };\n}\nfunction traverse(value, depth, currentDepth = 0, seen) {\n if (!isObject(value) || value[\"__v_skip\"]) {\n return value;\n }\n if (depth && depth > 0) {\n if (currentDepth >= depth) {\n return value;\n }\n currentDepth++;\n }\n seen = seen || /* @__PURE__ */ new Set();\n if (seen.has(value)) {\n return value;\n }\n seen.add(value);\n if (isRef(value)) {\n traverse(value.value, depth, currentDepth, seen);\n } else if (isArray(value)) {\n for (let i = 0; i < value.length; i++) {\n traverse(value[i], depth, currentDepth, seen);\n }\n } else if (isSet(value) || isMap(value)) {\n value.forEach((v) => {\n traverse(v, depth, currentDepth, seen);\n });\n } else if (isPlainObject(value)) {\n for (const key in value) {\n traverse(value[key], depth, currentDepth, seen);\n }\n }\n return value;\n}\n\nfunction validateDirectiveName(name) {\n if (isBuiltInDirective(name)) {\n warn$1(\"Do not use built-in directive ids as custom directive id: \" + name);\n }\n}\nfunction withDirectives(vnode, directives) {\n if (currentRenderingInstance === null) {\n !!(process.env.NODE_ENV !== \"production\") && warn$1(`withDirectives can only be used inside render functions.`);\n return vnode;\n }\n const instance = getExposeProxy(currentRenderingInstance) || currentRenderingInstance.proxy;\n const bindings = vnode.dirs || (vnode.dirs = []);\n for (let i = 0; i < directives.length; i++) {\n let [dir, value, arg, modifiers = EMPTY_OBJ] = directives[i];\n if (dir) {\n if (isFunction(dir)) {\n dir = {\n mounted: dir,\n updated: dir\n };\n }\n if (dir.deep) {\n traverse(value);\n }\n bindings.push({\n dir,\n instance,\n value,\n oldValue: void 0,\n arg,\n modifiers\n });\n }\n }\n return vnode;\n}\n\nfunction createAppContext() {\n return {\n app: null,\n config: {\n isNativeTag: NO,\n performance: false,\n globalProperties: {},\n optionMergeStrategies: {},\n errorHandler: void 0,\n warnHandler: void 0,\n compilerOptions: {}\n },\n mixins: [],\n components: {},\n directives: {},\n provides: /* @__PURE__ */ Object.create(null),\n optionsCache: /* @__PURE__ */ new WeakMap(),\n propsCache: /* @__PURE__ */ new WeakMap(),\n emitsCache: /* @__PURE__ */ new WeakMap()\n };\n}\nlet uid$1 = 0;\nfunction createAppAPI(render, hydrate) {\n return function createApp(rootComponent, rootProps = null) {\n if (!isFunction(rootComponent)) {\n rootComponent = extend({}, rootComponent);\n }\n if (rootProps != null && !isObject(rootProps)) {\n !!(process.env.NODE_ENV !== \"production\") && warn$1(`root props passed to app.mount() must be an object.`);\n rootProps = null;\n }\n const context = createAppContext();\n const installedPlugins = /* @__PURE__ */ new WeakSet();\n const app = context.app = {\n _uid: uid$1++,\n _component: rootComponent,\n _props: rootProps,\n _container: null,\n _context: context,\n _instance: null,\n version,\n get config() {\n return context.config;\n },\n set config(v) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n warn$1(\n `app.config cannot be replaced. Modify individual options instead.`\n );\n }\n },\n use(plugin, ...options) {\n if (installedPlugins.has(plugin)) {\n !!(process.env.NODE_ENV !== \"production\") && warn$1(`Plugin has already been applied to target app.`);\n } else if (plugin && isFunction(plugin.install)) {\n installedPlugins.add(plugin);\n plugin.install(app, ...options);\n } else if (isFunction(plugin)) {\n installedPlugins.add(plugin);\n plugin(app, ...options);\n } else if (!!(process.env.NODE_ENV !== \"production\")) {\n warn$1(\n `A plugin must either be a function or an object with an \"install\" function.`\n );\n }\n return app;\n },\n mixin(mixin) {\n if (__VUE_OPTIONS_API__) {\n if (!context.mixins.includes(mixin)) {\n context.mixins.push(mixin);\n } else if (!!(process.env.NODE_ENV !== \"production\")) {\n warn$1(\n \"Mixin has already been applied to target app\" + (mixin.name ? `: ${mixin.name}` : \"\")\n );\n }\n } else if (!!(process.env.NODE_ENV !== \"production\")) {\n warn$1(\"Mixins are only available in builds supporting Options API\");\n }\n return app;\n },\n component(name, component) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n validateComponentName(name, context.config);\n }\n if (!component) {\n return context.components[name];\n }\n if (!!(process.env.NODE_ENV !== \"production\") && context.components[name]) {\n warn$1(`Component \"${name}\" has already been registered in target app.`);\n }\n context.components[name] = component;\n return app;\n },\n directive(name, directive) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n validateDirectiveName(name);\n }\n if (!directive) {\n return context.directives[name];\n }\n if (!!(process.env.NODE_ENV !== \"production\") && context.directives[name]) {\n warn$1(`Directive \"${name}\" has already been registered in target app.`);\n }\n context.directives[name] = directive;\n return app;\n },\n // fixed by xxxxxx\n mount() {\n },\n // fixed by xxxxxx\n unmount() {\n },\n provide(key, value) {\n if (!!(process.env.NODE_ENV !== \"production\") && key in context.provides) {\n warn$1(\n `App already provides property with key \"${String(key)}\". It will be overwritten with the new value.`\n );\n }\n context.provides[key] = value;\n return app;\n },\n runWithContext(fn) {\n const lastApp = currentApp;\n currentApp = app;\n try {\n return fn();\n } finally {\n currentApp = lastApp;\n }\n }\n };\n return app;\n };\n}\nlet currentApp = null;\n\nfunction provide(key, value) {\n if (!currentInstance) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n warn$1(`provide() can only be used inside setup().`);\n }\n } else {\n let provides = currentInstance.provides;\n const parentProvides = currentInstance.parent && currentInstance.parent.provides;\n if (parentProvides === provides) {\n provides = currentInstance.provides = Object.create(parentProvides);\n }\n provides[key] = value;\n if (currentInstance.type.mpType === \"app\") {\n currentInstance.appContext.app.provide(key, value);\n }\n }\n}\nfunction inject(key, defaultValue, treatDefaultAsFactory = false) {\n const instance = currentInstance || currentRenderingInstance;\n if (instance || currentApp) {\n const provides = instance ? instance.parent == null ? instance.vnode.appContext && instance.vnode.appContext.provides : instance.parent.provides : currentApp._context.provides;\n if (provides && key in provides) {\n return provides[key];\n } else if (arguments.length > 1) {\n return treatDefaultAsFactory && isFunction(defaultValue) ? defaultValue.call(instance && instance.proxy) : defaultValue;\n } else if (!!(process.env.NODE_ENV !== \"production\")) {\n warn$1(`injection \"${String(key)}\" not found.`);\n }\n } else if (!!(process.env.NODE_ENV !== \"production\")) {\n warn$1(`inject() can only be used inside setup() or functional components.`);\n }\n}\nfunction hasInjectionContext() {\n return !!(currentInstance || currentRenderingInstance || currentApp);\n}\n\n/*! #__NO_SIDE_EFFECTS__ */\n// @__NO_SIDE_EFFECTS__\nfunction defineComponent(options, extraOptions) {\n return isFunction(options) ? (\n // #8326: extend call and options.name access are considered side-effects\n // by Rollup, so we have to wrap it in a pure-annotated IIFE.\n /* @__PURE__ */ (() => extend({ name: options.name }, extraOptions, { setup: options }))()\n ) : options;\n}\n\nconst isKeepAlive = (vnode) => vnode.type.__isKeepAlive;\nfunction onActivated(hook, target) {\n registerKeepAliveHook(hook, \"a\", target);\n}\nfunction onDeactivated(hook, target) {\n registerKeepAliveHook(hook, \"da\", target);\n}\nfunction registerKeepAliveHook(hook, type, target = currentInstance) {\n const wrappedHook = hook.__wdc || (hook.__wdc = () => {\n let current = target;\n while (current) {\n if (current.isDeactivated) {\n return;\n }\n current = current.parent;\n }\n return hook();\n });\n injectHook(type, wrappedHook, target);\n if (target) {\n let current = target.parent;\n while (current && current.parent) {\n if (isKeepAlive(current.parent.vnode)) {\n injectToKeepAliveRoot(wrappedHook, type, target, current);\n }\n current = current.parent;\n }\n }\n}\nfunction injectToKeepAliveRoot(hook, type, target, keepAliveRoot) {\n const injected = injectHook(\n type,\n hook,\n keepAliveRoot,\n true\n /* prepend */\n );\n onUnmounted(() => {\n remove(keepAliveRoot[type], injected);\n }, target);\n}\n\nfunction injectHook(type, hook, target = currentInstance, prepend = false) {\n if (target) {\n if (isRootHook(type)) {\n target = target.root;\n }\n const hooks = target[type] || (target[type] = []);\n const wrappedHook = hook.__weh || (hook.__weh = (...args) => {\n if (target.isUnmounted) {\n return;\n }\n pauseTracking();\n const reset = setCurrentInstance(target);\n const res = callWithAsyncErrorHandling(hook, target, type, args);\n reset();\n resetTracking();\n return res;\n });\n if (prepend) {\n hooks.unshift(wrappedHook);\n } else {\n hooks.push(wrappedHook);\n }\n return wrappedHook;\n } else if (!!(process.env.NODE_ENV !== \"production\")) {\n const apiName = toHandlerKey(\n (ErrorTypeStrings[type] || type.replace(/^on/, \"\")).replace(/ hook$/, \"\")\n );\n warn$1(\n `${apiName} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup().` + (``)\n );\n }\n}\nconst createHook = (lifecycle) => (hook, target = currentInstance) => (\n // post-create lifecycle registrations are noops during SSR (except for serverPrefetch)\n (!isInSSRComponentSetup || lifecycle === \"sp\") && injectHook(lifecycle, (...args) => hook(...args), target)\n);\nconst onBeforeMount = createHook(\"bm\");\nconst onMounted = createHook(\"m\");\nconst onBeforeUpdate = createHook(\"bu\");\nconst onUpdated = createHook(\"u\");\nconst onBeforeUnmount = createHook(\"bum\");\nconst onUnmounted = createHook(\"um\");\nconst onServerPrefetch = createHook(\"sp\");\nconst onRenderTriggered = createHook(\n \"rtg\"\n);\nconst onRenderTracked = createHook(\n \"rtc\"\n);\nfunction onErrorCaptured(hook, target = currentInstance) {\n injectHook(\"ec\", hook, target);\n}\n\nfunction toHandlers(obj, preserveCaseIfNecessary) {\n const ret = {};\n if (!!(process.env.NODE_ENV !== \"production\") && !isObject(obj)) {\n warn$1(`v-on with no argument expects an object value.`);\n return ret;\n }\n for (const key in obj) {\n ret[preserveCaseIfNecessary && /[A-Z]/.test(key) ? `on:${key}` : toHandlerKey(key)] = obj[key];\n }\n return ret;\n}\n\nconst getPublicInstance = (i) => {\n if (!i)\n return null;\n if (isStatefulComponent(i))\n return getExposeProxy(i) || i.proxy;\n return getPublicInstance(i.parent);\n};\nconst publicPropertiesMap = (\n // Move PURE marker to new line to workaround compiler discarding it\n // due to type annotation\n /* @__PURE__ */ extend(/* @__PURE__ */ Object.create(null), {\n $: (i) => i,\n // fixed by xxxxxx vue-i18n 在 dev 模式,访问了 $el,故模拟一个假的\n // $el: i => i.vnode.el,\n $el: (i) => i.__$el || (i.__$el = {}),\n $data: (i) => i.data,\n $props: (i) => !!(process.env.NODE_ENV !== \"production\") ? shallowReadonly(i.props) : i.props,\n $attrs: (i) => !!(process.env.NODE_ENV !== \"production\") ? shallowReadonly(i.attrs) : i.attrs,\n $slots: (i) => !!(process.env.NODE_ENV !== \"production\") ? shallowReadonly(i.slots) : i.slots,\n $refs: (i) => !!(process.env.NODE_ENV !== \"production\") ? shallowReadonly(i.refs) : i.refs,\n $parent: (i) => getPublicInstance(i.parent),\n $root: (i) => getPublicInstance(i.root),\n $emit: (i) => i.emit,\n $options: (i) => __VUE_OPTIONS_API__ ? resolveMergedOptions(i) : i.type,\n $forceUpdate: (i) => i.f || (i.f = () => {\n i.effect.dirty = true;\n queueJob(i.update);\n }),\n // $nextTick: i => i.n || (i.n = nextTick.bind(i.proxy!)),// fixed by xxxxxx\n $watch: (i) => __VUE_OPTIONS_API__ ? instanceWatch.bind(i) : NOOP\n })\n);\nconst isReservedPrefix = (key) => key === \"_\" || key === \"$\";\nconst hasSetupBinding = (state, key) => state !== EMPTY_OBJ && !state.__isScriptSetup && hasOwn(state, key);\nconst PublicInstanceProxyHandlers = {\n get({ _: instance }, key) {\n const { ctx, setupState, data, props, accessCache, type, appContext } = instance;\n if (!!(process.env.NODE_ENV !== \"production\") && key === \"__isVue\") {\n return true;\n }\n let normalizedProps;\n if (key[0] !== \"$\") {\n const n = accessCache[key];\n if (n !== void 0) {\n switch (n) {\n case 1 /* SETUP */:\n return setupState[key];\n case 2 /* DATA */:\n return data[key];\n case 4 /* CONTEXT */:\n return ctx[key];\n case 3 /* PROPS */:\n return props[key];\n }\n } else if (hasSetupBinding(setupState, key)) {\n accessCache[key] = 1 /* SETUP */;\n return setupState[key];\n } else if (data !== EMPTY_OBJ && hasOwn(data, key)) {\n accessCache[key] = 2 /* DATA */;\n return data[key];\n } else if (\n // only cache other properties when instance has declared (thus stable)\n // props\n (normalizedProps = instance.propsOptions[0]) && hasOwn(normalizedProps, key)\n ) {\n accessCache[key] = 3 /* PROPS */;\n return props[key];\n } else if (ctx !== EMPTY_OBJ && hasOwn(ctx, key)) {\n accessCache[key] = 4 /* CONTEXT */;\n return ctx[key];\n } else if (!__VUE_OPTIONS_API__ || shouldCacheAccess) {\n accessCache[key] = 0 /* OTHER */;\n }\n }\n const publicGetter = publicPropertiesMap[key];\n let cssModule, globalProperties;\n if (publicGetter) {\n if (key === \"$attrs\") {\n track(instance, \"get\", key);\n !!(process.env.NODE_ENV !== \"production\") && markAttrsAccessed();\n } else if (!!(process.env.NODE_ENV !== \"production\") && key === \"$slots\") {\n track(instance, \"get\", key);\n }\n return publicGetter(instance);\n } else if (\n // css module (injected by vue-loader)\n (cssModule = type.__cssModules) && (cssModule = cssModule[key])\n ) {\n return cssModule;\n } else if (ctx !== EMPTY_OBJ && hasOwn(ctx, key)) {\n accessCache[key] = 4 /* CONTEXT */;\n return ctx[key];\n } else if (\n // global properties\n globalProperties = appContext.config.globalProperties, hasOwn(globalProperties, key)\n ) {\n {\n return globalProperties[key];\n }\n } else if (!!(process.env.NODE_ENV !== \"production\") && currentRenderingInstance && (!isString(key) || // #1091 avoid internal isRef/isVNode checks on component instance leading\n // to infinite warning loop\n key.indexOf(\"__v\") !== 0)) {\n if (data !== EMPTY_OBJ && isReservedPrefix(key[0]) && hasOwn(data, key)) {\n warn$1(\n `Property ${JSON.stringify(\n key\n )} must be accessed via $data because it starts with a reserved character (\"$\" or \"_\") and is not proxied on the render context.`\n );\n } else if (instance === currentRenderingInstance) {\n warn$1(\n `Property ${JSON.stringify(key)} was accessed during render but is not defined on instance.`\n );\n }\n }\n },\n set({ _: instance }, key, value) {\n const { data, setupState, ctx } = instance;\n if (hasSetupBinding(setupState, key)) {\n setupState[key] = value;\n return true;\n } else if (!!(process.env.NODE_ENV !== \"production\") && setupState.__isScriptSetup && hasOwn(setupState, key)) {\n warn$1(`Cannot mutate \r\n\r\n\r\n","import Component from 'D:/officialAccount/compontent/public/huakuai.vue'\nwx.createComponent(Component)"],"names":["ref","uni","onLoad","img0","img1","img2","img3","onBeforeUnmount"],"mappings":";;;AAmDC,MAAM,cAAc;AAEpB,MAAM,YAAY;AAKlB,MAAM,mBAAmB;AACzB,MAAM,oBAAoB;;;;AAP1B,UAAM,YAAY,cAAc;AAGhC,UAAM,YAAYA,kBAAI,IAAI;AACdA,kBAAAA,IAAI,IAAI;AAKpB,UAAM,iBAAiBA,cAAAA,IAAI,mBAAmB,CAAC;AAC/C,UAAM,kBAAkBA,cAAAA,IAAI,oBAAoB,CAAC;AAEjD,UAAM,UAAUA,kBAAI,CAAC;AACrB,UAAM,UAAUA,kBAAI,CAAC;AACrB,UAAM,UAAUA,kBAAI,CAAC;AACrB,UAAM,WAAWA,kBAAI,KAAK;AAC1B,UAAM,SAASA,kBAAI,CAAC;AAEpB,aAAS,mBAAmB,MAAM;AACjC,YAAM,IAAI;AACV,aAAO;AAAA,OACF,KAAG,CAAC;AAAA,OACJ,IAAI,IAAI,KAAG,CAAC;AAAA,OACZ,KAAG,CAAC,IAAI,KAAG,CAAC,YAAY,KAAG,CAAC;AAAA,OAC5B,IAAI,CAAC;AAAA,OACL,KAAG,CAAC,IAAI,KAAG,CAAC,aAAa,KAAG,CAAC;AAAA,OAC7B,IAAI,IAAI,KAAG,CAAC;AAAA,OACZ,IAAI,IAAI,KAAG,CAAC;AAAA,OACZ,KAAG,CAAC,IAAI,KAAG,CAAC,WAAW,KAAG,CAAC;AAAA,OAC3B,IAAI,CAAC;AAAA,OACL,KAAG,CAAC,IAAI,KAAG,CAAC,UAAU,KAAG,CAAC;AAAA,OAC1B,IAAI,IAAI,KAAG,CAAC;AAAA,QACX,IAAI,IAAI,KAAG,CAAC;AAAA,OACb,KAAG,CAAC,IAAI,KAAG,CAAC,aAAa,KAAG,CAAC;AAAA,QAC5B,IAAI,CAAC;AAAA,OACN,KAAG,CAAC,IAAI,KAAG,CAAC,YAAY,KAAG,CAAC;AAAA,QAC3B,IAAI,IAAI,KAAG,CAAC;AAAA;AAAA;AAAA,IAGlB;AAED,UAAM,WAAW,SAAS,mBAAmB,SAAS,CAAC;AAEvD,aAAS,OAAO;AACfC,oBAAAA,MAAI,oBAAqB,EACvB,GAAG,UAAU,KAAK,EAClB,OAAO,WAAW,EAClB,mBAAmB,UAAQ;AAC3B,YAAI,CAAC,MAAM;AACVA,wBAAAA,MAAA,MAAA,SAAA,wCAAc,iBAAiB;AAC/B;AAAA,QACA;AACDA,4BAAA,MAAA,OAAA,wCAAY,SAAS,KAAK,OAAO,KAAK,MAAM;AAE5C,uBAAe,QAAQ,KAAK,QAAQ;AACpC,wBAAgB,QAAQ,KAAK,SAAS;AAEtC,gBAAQ,QAAQ,KAAK,OAAQ,KAAI,eAAe,QAAQ,YAAY,KAAK;AACzE,gBAAQ,QAAQ,gBAAgB,QAAQ;AACxC,gBAAQ,QAAQ;AAEhBA,sBAAAA,MAAY,MAAA,OAAA,wCAAA,YAAY,QAAQ,OAAO,YAAY,QAAQ,KAAK;AAAA,MACpE,CAAI,EACA;IACF;AAED,aAAS,QAAQ,GAAG;AACnB,eAAS,QAAQ;AACjB,aAAO,QAAQ,EAAE,UAAU,EAAE,QAAQ,CAAC,EAAE,UAAU,IAAI,EAAE,UAAU;AAClE,aAAO,iBAAiB,aAAa,MAAM;AAC3C,aAAO,iBAAiB,WAAW,KAAK;AACxC,aAAO,iBAAiB,aAAa,MAAM;AAC3C,aAAO,iBAAiB,YAAY,KAAK;AAAA,IACzC;AAED,aAAS,OAAO,GAAG;AAClB,UAAI,CAAC,SAAS;AAAO;AACrB,YAAM,UAAU,EAAE,UAAU,EAAE,QAAQ,CAAC,EAAE,UAAU,IAAI,EAAE,UAAU;AACnE,UAAI,KAAK,UAAU,OAAO;AAC1B,WAAK,KAAK,IAAI,GAAG,KAAK,IAAI,IAAI,eAAe,QAAQ,SAAS,CAAC;AAC/D,cAAQ,QAAQ;AAAA,IAChB;AACcD,kBAAAA,IAAI,IAAI;AAGvB,aAAS,QAAQ;AAChB,eAAS,QAAQ;AACjB,aAAO,oBAAoB,aAAa,MAAM;AAC9C,aAAO,oBAAoB,WAAW,KAAK;AAC3C,aAAO,oBAAoB,aAAa,MAAM;AAC9C,aAAO,oBAAoB,YAAY,KAAK;AAE5C,UAAI,KAAK,IAAI,QAAQ,QAAQ,QAAQ,KAAK,IAAI,WAAW;AACxDC,sBAAAA,MAAA,MAAA,OAAA,wCAAY,MAAM;AAAA,MACrB,OAAS;AACN,gBAAQ,QAAQ;AAChBA,sBAAAA,MAAI,UAAU;AAAA,UACZ,OAAO;AAAA,UACP,MAAM;AAAA;AAAA,UACN,UAAU;AAAA;AAAA,QACf,CAAI;AAAA,MACD;AAAA,IACD;AAED,UAAM,UAAUD,kBAAI,EAAE;AACtBE,kBAAAA,OAAO,MAAM;AACZ,UAAI,YAAY,KAAK,MAAM,KAAK,OAAM,IAAK,CAAC;AAC5C,YAAM,aAAa,CAACC,cAAI,MAAEC,cAAI,MAAEC,cAAI,MAAEC,cAAI,IAAA;AAC1C,cAAQ,QAAQ,WAAW,SAAS;AAAA,IACtC,CAAE;AAEDC,kBAAAA,gBAAgB,MAAM;AACrB,aAAO,oBAAoB,aAAa,MAAM;AAC9C,aAAO,oBAAoB,WAAW,KAAK;AAC3C,aAAO,oBAAoB,aAAa,MAAM;AAC9C,aAAO,oBAAoB,YAAY,KAAK;AAAA,IAC9C,CAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACvKF,GAAG,gBAAgB,SAAS;"} \ No newline at end of file diff --git a/unpackage/dist/dev/.sourcemap/mp-weixin/compontent/useWeChatAuth.js.map b/unpackage/dist/dev/.sourcemap/mp-weixin/compontent/useWeChatAuth.js.map index e5ccf24..e22aa6c 100644 --- a/unpackage/dist/dev/.sourcemap/mp-weixin/compontent/useWeChatAuth.js.map +++ b/unpackage/dist/dev/.sourcemap/mp-weixin/compontent/useWeChatAuth.js.map @@ -1 +1 @@ -{"version":3,"file":"useWeChatAuth.js","sources":["compontent/useWeChatAuth.js"],"sourcesContent":["// src/composables/useWeChatAuth.js\nimport { ref } from 'vue';\nimport request from '@/request/index.js';\n\nconst APPID = 'wx8fc3e4305d2fbf0b';\nconst REDIRECT_URI = encodeURIComponent('https://www.focusnu.com/wechat/thd/#/pages/index/callback');\n\nexport function useWeChatAuth() {\n const code = ref('');\n const openid = ref('');\n const userInfo = ref(null);\n\n function login(scope = 'snsapi_userinfo', state = '') {\n const url =\n `https://open.weixin.qq.com/connect/oauth2/authorize` +\n `?appid=${APPID}` +\n `&redirect_uri=${REDIRECT_URI}` +\n `&response_type=code` +\n `&scope=${scope}` +\n `&state=${state}` +\n `#wechat_redirect`;\r\n\t// console.log(\"????\",scope)\r\n\t\n window.location.href = url;\n }\n\n\n return { login };\n}"],"names":["ref"],"mappings":";;AAIA,MAAM,QAAQ;AACd,MAAM,eAAe,mBAAmB,2DAA2D;AAE5F,SAAS,gBAAgB;AACjBA,gBAAAA,IAAI,EAAE;AACJA,gBAAAA,IAAI,EAAE;AACJA,gBAAAA,IAAI,IAAI;AAEzB,WAAS,MAAM,QAAQ,mBAAmB,QAAQ,IAAI;AACpD,UAAM,MACJ,6DACU,KAAK,iBACE,YAAY,6BAEnB,KAAK,UACL,KAAK;AAIjB,WAAO,SAAS,OAAO;AAAA,EACxB;AAGD,SAAO,EAAE,MAAK;AAChB;;"} \ No newline at end of file +{"version":3,"file":"useWeChatAuth.js","sources":["compontent/useWeChatAuth.js"],"sourcesContent":["// src/composables/useWeChatAuth.js\nimport { ref } from 'vue';\nimport request from '@/request/index.js';\n\nconst APPID = 'wx8fc3e4305d2fbf0b';\nconst REDIRECT_URI = encodeURIComponent('https://www.focusnu.com/wechat/thd/#/pages/index/callback');\n\nexport function useWeChatAuth() {\n const code = ref('');\n const openid = ref('');\n const userInfo = ref(null);\n\n function login(scope = 'snsapi_userinfo', state = '') {\n const url =\n `https://open.weixin.qq.com/connect/oauth2/authorize` +\n `?appid=${APPID}` +\n `&redirect_uri=${REDIRECT_URI}` +\n `&response_type=code` +\n `&scope=${scope}` +\n `&state=${state}` +\n `#wechat_redirect`;\r\n\t\n window.location.href = url;\n }\n\n\n return { login };\n}"],"names":["ref"],"mappings":";;AAIA,MAAM,QAAQ;AACd,MAAM,eAAe,mBAAmB,2DAA2D;AAE5F,SAAS,gBAAgB;AACjBA,gBAAAA,IAAI,EAAE;AACJA,gBAAAA,IAAI,EAAE;AACJA,gBAAAA,IAAI,IAAI;AAEzB,WAAS,MAAM,QAAQ,mBAAmB,QAAQ,IAAI;AACpD,UAAM,MACJ,6DACU,KAAK,iBACE,YAAY,6BAEnB,KAAK,UACL,KAAK;AAGjB,WAAO,SAAS,OAAO;AAAA,EACxB;AAGD,SAAO,EAAE,MAAK;AAChB;;"} \ No newline at end of file diff --git a/unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/callback.js.map b/unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/callback.js.map index feb774d..672fdcc 100644 --- a/unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/callback.js.map +++ b/unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/callback.js.map @@ -1 +1 @@ -{"version":3,"file":"callback.js","sources":["pages/index/callback.vue","../Hbuilder/HBuilderX/plugins/uniapp-cli-vite/uniPage:/cGFnZXMvaW5kZXgvY2FsbGJhY2sudnVl"],"sourcesContent":["\n\n\n\n","import MiniProgramPage from 'D:/officialAccount/pages/index/callback.vue'\nwx.createPage(MiniProgramPage)"],"names":["useWeChatAuth","reactive","uni","ref","onLoad"],"mappings":";;;;;;AA6B4CA,6BAAAA,cAAgB;AAE5D,UAAM,QAAQC,cAAAA,SAAS;AAAA,MACtB,MAAK;AAAA,MACL,QAAO;AAAA,IACR,CAAC;AACD,UAAM,SAAS,MAAK;AACnBC,oBAAAA,qDAAY,KAAK;AACjBA,oBAAAA,MAAI,WAAW;AAAA,QACd,KAAK;AAAA,MACP,CAAE;AAAA,IACF;AACA,UAAM,YAAY,CAAC,SAAQ;AAC1B,YAAM,MAAM,oEAAoE,mBAAmB,IAAI,CAAC;AAExG,YAAM,GAAG,EACN,KAAK,SAAO,IAAI,MAAM,EACtB,KAAK,UAAQ;AACZA,sBAAA,MAAA,MAAA,OAAA,kCAAY,eAAe,IAAI;AAClC,cAAM,OAAO,KAAK;AAClB,cAAM,SAAS,KAAK;AACpBA,sBAAAA,MAAI,WAAW;AAAA,UACb,KAAK;AAAA,UACL,MAAM;AAAA,YACJ,QAAQ,KAAK;AAAA,UACd;AAAA,QACL,CAAG;AACD,uBAAgB;AAAA,MAElB,CAAI,EACA,MAAM,SAAO;AACZA,sBAAA,MAAA,MAAA,SAAA,kCAAc,eAAe,GAAG;AAAA,MACrC,CAAI;AAAA,IACJ;AACA,UAAM,iBAAiB,MAAK;AAC3B,YAAM,MAAM,uFAAuF,mBAAmB,MAAM,MAAM,CAAC,eAAe,mBAAmB,MAAM,IAAI,CAAC;AAChL,YAAM,GAAG,EACN,KAAK,SAAO,IAAI,MAAM,EACtB,KAAK,UAAQ;AACbA,sBAAAA,qDAAY,UAAS,IAAI;AACzB,iBAAU;AAAA,MACd,CAAM;AAAA,IACN;AACA,UAAM,aAAaC,cAAAA,IAAI,CAAA,CAAE;AACzB,UAAM,WAAW,MAAK;AACrB,YAAM,MAAM;AACZ,YAAM,GAAG,EACN,KAAK,SAAO,IAAI,MAAM,EACtB,KAAK,UAAQ;AACb,mBAAW,QAAQ,CAAC,GAAG,IAAI;AAC3BD,sBAAA,MAAA,MAAA,OAAA,kCAAY,QAAO,WAAW,KAAK;AAAA,MACvC,CAAM;AAAA,IACN;AACA,UAAM,cAAcC,cAAAA,IAAI,CAAA,CAAE;AAC1B,UAAM,aAAa,CAAC,YAAW;AAC9B,YAAM,MAAM,GAAG,QAAQ,SAAS;AAChC,YAAM,GAAG,EACN,KAAK,SAAO,IAAI,MAAM,EACtB,KAAK,UAAQ;AACb,oBAAY,QAAQ,CAAC,GAAG,KAAK,MAAM;AAAA,MACvC,CAAM;AACLD,oBAAAA,MAAI,WAAW;AAAA,QACb,KAAK;AAAA,QACL,MAAM;AAAA,UACJ,KAAK,QAAQ;AAAA,QACd;AAAA,MACJ,CAAE;AACD,YAAM,UAAU;AAChB,YAAM,UAAU;AAAA,QACd,QAAQ,MAAM;AAAA,QACd,WAAW,QAAQ;AAAA,MACtB;AACCA,oBAAAA,sDAAY,QAAO,OAAO;AAC1B,YAAM,SAAS;AAAA,QACb,QAAQ;AAAA,QACR,SAAS;AAAA,UACP,gBAAgB;AAAA,QACjB;AAAA,QACD,MAAM,KAAK,UAAU,OAAO;AAAA,MAC/B,CAAE,EACE,KAAK,SAAO,IAAI,MAAM,EACtB,KAAK,UAAQ;AAEfA,sBAAAA,MAAA,MAAA,OAAA,mCAAY,OAAM,IAAI;AAAA,MACxB,CAAI,EACA,MAAM,SAAO;AACZA,sBAAc,MAAA,MAAA,SAAA,mCAAA,SAAS,GAAG;AAAA,MAC/B,CAAI;AAAA,IACJ;AACAE,kBAAAA,OAAO,MAAM;;AACX,YAAM,OAAO,OAAO,SAAS;AAC7B,YAAM,eAAc,UAAK,MAAM,GAAG,EAAE,CAAC,MAAjB,mBAAoB,MAAM,KAAK;AACnD,YAAM,QAAQ,CAAA;AAEd,UAAI,aAAa;AACf,oBAAY,MAAM,GAAG,EAAE,QAAQ,UAAQ;AACrC,gBAAM,CAAC,KAAK,KAAK,IAAI,KAAK,MAAM,GAAG;AACnC,gBAAM,GAAG,IAAI,mBAAmB,KAAK;AAAA,QAC3C,CAAK;AAAA,MACF;AAEDF,oBAAY,MAAA,MAAA,OAAA,mCAAA,kBAAkB,KAAK;AAEnC,UAAI,MAAM,MAAM;AACd,kBAAU,MAAM,IAAI;AAAA,MAGrB;AAAA,IACH,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;ACxID,GAAG,WAAW,eAAe;"} \ No newline at end of file +{"version":3,"file":"callback.js","sources":["pages/index/callback.vue","../Hbuilder/HBuilderX/plugins/uniapp-cli-vite/uniPage:/cGFnZXMvaW5kZXgvY2FsbGJhY2sudnVl"],"sourcesContent":["\r\n\r\n\r\n\r\n","import MiniProgramPage from 'D:/officialAccount/pages/index/callback.vue'\nwx.createPage(MiniProgramPage)"],"names":["useWeChatAuth","reactive","uni","ref","data","onLoad"],"mappings":";;;;;;AA0CKA,2CAAgB;AAEpB,UAAM,QAAQC,cAAAA,SAAS;AAAA,MACtB,MAAM;AAAA,MACN,QAAQ;AAAA,MACR,aAAa;AAAA,IACf,CAAE;AACD,UAAM,SAAS,MAAM;AACpBC,oBAAAA,qDAAY,KAAK;AACjBA,oBAAAA,MAAI,WAAW;AAAA,QACd,KAAK;AAAA,MACR,CAAG;AAAA,IACD;AACD,UAAM,YAAY,CAAC,SAAS;AAC3B,YAAM,MAAM,oEAAoE,mBAAmB,IAAI,CAAC;AAExG,YAAM,GAAG,EACP,KAAK,SAAO,IAAI,MAAM,EACtB,KAAK,UAAQ;AACbA,sBAAY,MAAA,MAAA,OAAA,kCAAA,eAAe,IAAI;AAC/B,cAAM,OAAO,KAAK,KAAK;AACvB,cAAM,SAAS,KAAK,KAAK;AACzB,cAAM,cAAc,KAAK;AACzBA,sBAAAA,MAAI,WAAW;AAAA,UACd,KAAK;AAAA,UACL,MAAM;AAAA,YACL,QAAQ,KAAK,KAAK;AAAA,YAClB,aAAa,KAAK;AAAA,UAClB;AAAA,QACN,CAAK;AACD,uBAAgB;AAAA,MAEpB,CAAI,EACA,MAAM,SAAO;AACbA,sBAAc,MAAA,MAAA,SAAA,kCAAA,eAAe,GAAG;AAAA,MACpC,CAAI;AAAA,IACF;AAED,UAAM,OAAOC,cAAG,IAAC,EAAE;AACnB,UAAM,iBAAiB,MAAM;AAC5B,YAAM,MACL,uFAAuF,mBAAmB,MAAM,MAAM,CAAC,eAAe,mBAAmB,MAAM,IAAI,CAAC;AACrK,YAAM,GAAG,EACP,KAAK,SAAO,IAAI,MAAM,EACtB,KAAK,UAAQ;AACbD,sBAAAA,qDAAY,UAAU,IAAI;AAG1B,cAAM,UAAU,GAAG,KAAK,OAAO,SAAS;AACxC,cAAM,UAAU;AAAA,UACf,QAAQ,MAAM;AAAA,UACd,cAAc,MAAM;AAAA;AAAA,QAEzB;AACIA,sBAAAA,MAAA,MAAA,OAAA,kCAAY,QAAQ,OAAO;AAC3B,cAAM,SAAS;AAAA,UACb,QAAQ;AAAA,UACR,SAAS;AAAA,YACR,gBAAgB;AAAA,UAChB;AAAA,UACD,MAAM,KAAK,UAAU,OAAO;AAAA,QAClC,CAAM,EACA,KAAK,SAAO,IAAI,MAAM,EACtB,KAAK,CAAAE,UAAQ;AAEb,eAAK,QAAQA;AACbF,wBAAAA,sDAAY,2BAA2BE,KAAI;AAAA,QACjD,CAAM,EACA,MAAM,SAAO;AACbF,wBAAc,MAAA,MAAA,SAAA,mCAAA,SAAS,GAAG;AAAA,QAChC,CAAM;AAGF,iBAAU;AAAA,MACd,CAAI;AAAA,IAEF;AACD,UAAM,aAAaC,kBAAI,CAAA,CAAE;AACzB,UAAM,WAAW,MAAM;AACtB,YAAM,MAAM;AACZ,YAAM,GAAG,EACP,KAAK,SAAO,IAAI,MAAM,EACtB,KAAK,UAAQ;AACb,mBAAW,QAAQ,CAAC,GAAG,IAAI;AAC3BD,sBAAA,MAAA,MAAA,OAAA,mCAAY,QAAQ,WAAW,KAAK;AAAA,MACxC,CAAI;AAAA,IACF;AACD,UAAM,cAAcC,kBAAI,CAAA,CAAE;AAC1B,UAAM,aAAa,CAAC,YAAY;AAC/B,YAAM,MAAM,GAAG,QAAQ,SAAS;AAChC,YAAM,GAAG,EACP,KAAK,SAAO,IAAI,MAAM,EACtB,KAAK,UAAQ;AACb,oBAAY,QAAQ,CAAC,GAAG,KAAK,MAAM;AAAA,MACvC,CAAI;AACFD,oBAAAA,MAAI,WAAW;AAAA,QACd,KAAK;AAAA,QACL,MAAM;AAAA,UACL,KAAK,QAAQ;AAAA,QACb;AAAA,MACJ,CAAG;AACD,YAAM,UAAU;AAChB,YAAM,UAAU;AAAA,QACf,QAAQ,MAAM;AAAA,QACd,WAAW,QAAQ;AAAA,MACtB;AACEA,oBAAAA,MAAY,MAAA,OAAA,mCAAA,QAAQ,OAAO;AAC3B,YAAM,SAAS;AAAA,QACb,QAAQ;AAAA,QACR,SAAS;AAAA,UACR,gBAAgB;AAAA,QAChB;AAAA,QACD,MAAM,KAAK,UAAU,OAAO;AAAA,MAChC,CAAI,EACA,KAAK,SAAO,IAAI,MAAM,EACtB,KAAK,UAAQ;AAEbA,sBAAAA,MAAY,MAAA,OAAA,mCAAA,OAAO,IAAI;AAAA,MAC3B,CAAI,EACA,MAAM,SAAO;AACbA,8EAAc,SAAS,GAAG;AAAA,MAC9B,CAAI;AAAA,IACF;AACDG,kBAAAA,OAAO,MAAM;;AACZ,YAAM,OAAO,OAAO,SAAS;AAC7B,YAAM,eAAc,UAAK,MAAM,GAAG,EAAE,CAAC,MAAjB,mBAAoB,MAAM,KAAK;AACnD,YAAM,QAAQ,CAAA;AAEd,UAAI,aAAa;AAChB,oBAAY,MAAM,GAAG,EAAE,QAAQ,UAAQ;AACtC,gBAAM,CAAC,KAAK,KAAK,IAAI,KAAK,MAAM,GAAG;AACnC,gBAAM,GAAG,IAAI,mBAAmB,KAAK;AAAA,QACzC,CAAI;AAAA,MACD;AAEDH,oBAAY,MAAA,MAAA,OAAA,mCAAA,kBAAkB,KAAK;AAEnC,UAAI,MAAM,MAAM;AACf,kBAAU,MAAM,IAAI;AAAA,MAGpB;AAAA,IACH,CAAE;;;;;;;;;;;;;;;;;;;;;;;;;ACvLF,GAAG,WAAW,eAAe;"} \ No newline at end of file diff --git a/unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/code.js.map b/unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/code.js.map index cc14628..032e277 100644 --- a/unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/code.js.map +++ b/unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/code.js.map @@ -1 +1 @@ -{"version":3,"file":"code.js","sources":["pages/index/code.vue","../Hbuilder/HBuilderX/plugins/uniapp-cli-vite/uniPage:/cGFnZXMvaW5kZXgvY29kZS52dWU"],"sourcesContent":["\r\n\r\n\r\n\r\n","import MiniProgramPage from 'D:/officialAccount/pages/index/code.vue'\nwx.createPage(MiniProgramPage)"],"names":["ref","nextTick","uni","onLoad"],"mappings":";;;;;;AAgEC,UAAM,cAAcA,cAAG,IAAC,EAAE;AAC1B,UAAM,UAAUA,cAAAA,IAAI,CAAC,IAAI,IAAI,IAAI,EAAE,CAAC;AACpC,UAAM,eAAeA,kBAAI,CAAC;AAG1B,UAAM,cAAc,CAAC,UAAU;AAC9B,UAAI,QAAQ,MAAM,KAAK,GAAG;AACzB,YAAI,QAAQ,GAAG;AACd,uBAAa,QAAQ,QAAQ;AAAA,QAC7B;AAAA,MACD;AACD,UAAI,SAAS;AACb,cAAQ,MAAM,QAAQ,YAAQ;AAC7B,YAAG,CAAC,QAAO;AACV,mBAAS;AAAA,QACT;AAAA,MACJ,CAAG;AACDC,oBAAAA,WAAS,MAAI;AACZ,YAAG,QAAO;AACT,wBAAe;AAAA,QACf;AAAA,MAEJ,CAAG;AAAA,IACH;AAGC,UAAM,gBAAgB,CAAC,OAAO,UAAU;AACvC,UAAI,MAAM,QAAQ,eAAe,CAAC,QAAQ,MAAM,KAAK,GAAG;AACvD,YAAI,QAAQ,GAAG;AACd,uBAAa,QAAQ,QAAQ;AAAA,QAC7B;AAAA,MACD;AAAA,IACH;AAGC,UAAM,gBAAgB,MAAM;AAC3B,YAAM,OAAO,QAAQ,MAAM,KAAK,EAAE;AAClC,UAAI,KAAK,WAAW,GAAG;AACtBC,sBAAA,MAAA,MAAA,OAAA,+BAAY,UAAU,IAAI;AAAA,MAE7B,OAAS;AACNA,sBAAAA,MAAY,MAAA,OAAA,+BAAA,UAAU;AAAA,MACtB;AAAA,IACH;AAECC,kBAAM,OAAC,CAAC,YAAY;AAEnB,kBAAY,QAAQ,QAAQ;AAAA,IAC9B,CAAE;;;;;;;;;;;;;;;;;;;;;;AC/GF,GAAG,WAAW,eAAe;"} \ No newline at end of file +{"version":3,"file":"code.js","sources":["pages/index/code.vue","../Hbuilder/HBuilderX/plugins/uniapp-cli-vite/uniPage:/cGFnZXMvaW5kZXgvY29kZS52dWU"],"sourcesContent":["\r\n\r\n\r\n\r\n","import MiniProgramPage from 'D:/officialAccount/pages/index/code.vue'\nwx.createPage(MiniProgramPage)"],"names":["ref","nextTick","uni","onUnmounted","onLoad"],"mappings":";;;;;;;;;;AA0EC,UAAM,cAAcA,cAAG,IAAC,EAAE;AAC1B,UAAM,UAAUA,cAAAA,IAAI,CAAC,IAAI,IAAI,IAAI,EAAE,CAAC;AACpC,UAAM,eAAeA,kBAAI,CAAC;AAC1B,UAAM,cAAcA,kBAAI,KAAK;AAE7B,UAAM,YAAYA,cAAG,IAAC,oBAAoB;AAE1C,aAAS,aAAa;AACrB,kBAAY,QAAQ;AAAA,IACpB;AAED,UAAM,cAAc,CAAC,UAAU;AAC9B,UAAI,QAAQ,MAAM,KAAK,GAAG;AACzB,YAAI,QAAQ,GAAG;AACd,uBAAa,QAAQ,QAAQ;AAAA,QAC7B;AAAA,MACD;AACD,UAAI,SAAS;AACb,cAAQ,MAAM,QAAQ,YAAQ;AAC7B,YAAG,CAAC,QAAO;AACV,mBAAS;AAAA,QACT;AAAA,MACJ,CAAG;AACDC,oBAAAA,WAAS,MAAI;AACZ,YAAG,QAAO;AACT,wBAAe;AAAA,QACf;AAAA,MACJ,CAAG;AAAA,IACH;AAGC,UAAM,gBAAgB,CAAC,OAAO,UAAU;AACvC,UAAI,MAAM,QAAQ,eAAe,CAAC,QAAQ,MAAM,KAAK,GAAG;AACvD,YAAI,QAAQ,GAAG;AACd,uBAAa,QAAQ,QAAQ;AAAA,QAC7B;AAAA,MACD;AAAA,IACH;AAGC,UAAM,gBAAgB,MAAM;AAC3B,YAAM,OAAO,QAAQ,MAAM,KAAK,EAAE;AAClC,UAAI,KAAK,WAAW,GAAG;AACtBC,sBAAA,MAAA,MAAA,OAAA,+BAAY,UAAU,IAAI;AAAA,MAE7B,OAAS;AACNA,sBAAAA,MAAY,MAAA,OAAA,+BAAA,UAAU;AAAA,MACtB;AAAA,IACH;AAEC,UAAM,UAAU,MAAK;AAmBpB,YAAM,MAAM,wDAAwD,KAAK,IAAG,CAAE;AAC9E,YAAM,GAAG,EACP,KAAK,SAAO,IAAI,MAAM,EACtB,KAAK,UAAQ;AACbA,sBAAAA,kDAAY,UAAS,IAAI;AAAA,MAC7B,CAAI;AAAA,IACF;AAGD,UAAM,YAAYF,kBAAI,EAAE;AACxB,QAAI,UAAU;AAEdG,kBAAAA,YAAY,MAAM;AAChB,UAAI,SAAS;AACX,sBAAc,OAAO;AAAA,MACtB;AAAA,IACJ,CAAE;AAEDC,kBAAM,OAAC,CAAC,YAAY;AAClB,kBAAY,QAAQ,QAAQ;AAC7B,cAAS;AAIR,gBAAU,QAAQ;AAClB,gBAAU,YAAY,MAAM;AAC1B,YAAI,UAAU,QAAQ,GAAG;AACvB,oBAAU;AAAA,QACjB,OAAY;AACL,wBAAc,OAAO;AACrB,oBAAU;AAAA,QACX;AAAA,MACF,GAAE,GAAI;AAAA,IACV,CAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC/KF,GAAG,WAAW,eAAe;"} \ No newline at end of file diff --git a/unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/index.js.map b/unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/index.js.map index bcfdfbd..ab1ad73 100644 --- a/unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/index.js.map +++ b/unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","sources":["pages/index/index.vue","../Hbuilder/HBuilderX/plugins/uniapp-cli-vite/uniPage:/cGFnZXMvaW5kZXgvaW5kZXgudnVl"],"sourcesContent":["\r\n\r\n\r\n\r\n","import MiniProgramPage from 'D:/officialAccount/pages/index/index.vue'\nwx.createPage(MiniProgramPage)"],"names":["ref","useWeChatAuth","uni"],"mappings":";;;;;;;AAyCC,UAAM,WAAWA,kBAAI,KAAK;AAC1B,UAAM,cAAcA,kBAAI,KAAK;AAC7B,UAAM;AAAA,MACL;AAAA,IACA,IAAGC,yBAAa,cAAA;AAEjB,QAAI,UAAU;AAEd,UAAM,UAAU,MAAM;AAErB,UAAI,SAAS;AACZ,qBAAa,OAAO;AAAA,MACpB;AAED,UAAI,CAAC,SAAS,OAAO;AACpB,oBAAY,QAAQ;AACpB,kBAAU,WAAW,MAAM;AAC1B,sBAAY,QAAQ;AAAA,QACpB,GAAE,GAAI;AAAA,MACV,OAAS;AACN;MACA;AAAA,IACH;AACC,UAAM,aAAa,MAAM;AACxB,UAAI,SAAS;AACZ,qBAAa,OAAO;AAAA,MACpB;AAED,UAAI,CAAC,SAAS,OAAO;AACpB,oBAAY,QAAQ;AACpB,kBAAU,WAAW,MAAM;AAC1B,sBAAY,QAAQ;AAAA,QACpB,GAAE,GAAI;AAAA,MACV,OAAS;AACNC,sBAAAA,MAAI,WAAW;AAAA,UACd,KAAK;AAAA,QACT,CAAI;AAAA,MACD;AAAA,IAED;;;;;;;;;;;;;;;;;AC/EF,GAAG,WAAW,eAAe;"} \ No newline at end of file +{"version":3,"file":"index.js","sources":["pages/index/index.vue","../Hbuilder/HBuilderX/plugins/uniapp-cli-vite/uniPage:/cGFnZXMvaW5kZXgvaW5kZXgudnVl"],"sourcesContent":["\r\n\r\n\r\n\r\n","import MiniProgramPage from 'D:/officialAccount/pages/index/index.vue'\nwx.createPage(MiniProgramPage)"],"names":["ref"],"mappings":";;;;;AAqBC,UAAM,YAAY,CAAC,MAAM,MAAM,IAAI;AACnC,UAAM,aAAaA,kBAAI,CAAC;;;;;;;;;;;;;;;;ACrBzB,GAAG,WAAW,eAAe;"} \ No newline at end of file diff --git a/unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/phonebumber.js.map b/unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/phonebumber.js.map index dfb399e..064a55a 100644 --- a/unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/phonebumber.js.map +++ b/unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/phonebumber.js.map @@ -1 +1 @@ -{"version":3,"file":"phonebumber.js","sources":["pages/index/phonebumber.vue","../Hbuilder/HBuilderX/plugins/uniapp-cli-vite/uniPage:/cGFnZXMvaW5kZXgvcGhvbmVidW1iZXIudnVl"],"sourcesContent":["\r\n\r\n\r\n\r\n","import MiniProgramPage from 'D:/officialAccount/pages/index/phonebumber.vue'\nwx.createPage(MiniProgramPage)"],"names":["uni","ref"],"mappings":";;;;;;AAmCI,UAAM,SAAS,MAAK;AACtBA,oBAAAA,MAAI,WAAW;AAAA,QACd,KAAK,iCAAiC,YAAY,KAAK;AAAA,MAC1D,CAAG;AAAA,IACD;AAED,aAAS,gBAAgB,OAAO;AAC9B,aAAO,WAAW,KAAK,MAAM,SAAU,CAAA;AAAA,IACxC;AACD,UAAM,cAAcC,kBAAI,EAAE;AAC1B,UAAM,WAAWA,kBAAI,KAAK;AAC1B,UAAM,UAAU,CAAC,QAAO;AACvBD,oBAAY,MAAA,MAAA,OAAA,qCAAA,QAAO,IAAI,OAAO,KAAK;AACnC,UAAG,gBAAgB,IAAI,OAAO,KAAK,GAAE;AACpC,oBAAY,QAAQ,IAAI,OAAO;AAC/B,iBAAS,QAAQ;AAAA,MACpB,OAAO;AACJ,iBAAS,QAAQ;AAAA,MACjB;AAAA,IAED;;;;;;;;;;;;;;;ACtDF,GAAG,WAAW,eAAe;"} \ No newline at end of file +{"version":3,"file":"phonebumber.js","sources":["pages/index/phonebumber.vue","../Hbuilder/HBuilderX/plugins/uniapp-cli-vite/uniPage:/cGFnZXMvaW5kZXgvcGhvbmVidW1iZXIudnVl"],"sourcesContent":["\r\n\r\n\r\n\r\n","import MiniProgramPage from 'D:/officialAccount/pages/index/phonebumber.vue'\nwx.createPage(MiniProgramPage)"],"names":["uni","ref"],"mappings":";;;;;;AAoCI,UAAM,SAAS,MAAK;AACtBA,oBAAAA,MAAI,WAAW;AAAA,QACd,KAAK,iCAAiC,YAAY,KAAK;AAAA,MAC1D,CAAG;AAAA,IACD;AAED,aAAS,gBAAgB,OAAO;AAC9B,aAAO,WAAW,KAAK,MAAM,SAAU,CAAA;AAAA,IACxC;AACD,UAAM,cAAcC,kBAAI,EAAE;AAC1B,UAAM,WAAWA,kBAAI,KAAK;AAC1B,UAAM,UAAU,CAAC,QAAO;AACvBD,oBAAY,MAAA,MAAA,OAAA,qCAAA,QAAO,IAAI,OAAO,KAAK;AACnC,UAAG,gBAAgB,IAAI,OAAO,KAAK,GAAE;AACpC,oBAAY,QAAQ,IAAI,OAAO;AAC/B,iBAAS,QAAQ;AAAA,MACpB,OAAO;AACJ,iBAAS,QAAQ;AAAA,MACjB;AAAA,IAED;;;;;;;;;;;;;;;ACvDF,GAAG,WAAW,eAAe;"} \ No newline at end of file diff --git a/unpackage/dist/dev/.sourcemap/mp-weixin/pages/login/callback.js.map b/unpackage/dist/dev/.sourcemap/mp-weixin/pages/login/callback.js.map new file mode 100644 index 0000000..8d17b2b --- /dev/null +++ b/unpackage/dist/dev/.sourcemap/mp-weixin/pages/login/callback.js.map @@ -0,0 +1 @@ +{"version":3,"file":"callback.js","sources":["pages/login/callback.vue","../Hbuilder/HBuilderX/plugins/uniapp-cli-vite/uniPage:/cGFnZXMvbG9naW4vY2FsbGJhY2sudnVl"],"sourcesContent":["\r\n\r\n\r\n\r\n","import MiniProgramPage from 'D:/officialAccount/pages/login/callback.vue'\nwx.createPage(MiniProgramPage)"],"names":["useWeChatAuth","reactive","uni","ref","data","onLoad"],"mappings":";;;;;;AA0CKA,2CAAgB;AAEpB,UAAM,QAAQC,cAAAA,SAAS;AAAA,MACtB,MAAM;AAAA,MACN,QAAQ;AAAA,MACR,aAAa;AAAA,IACf,CAAE;AACD,UAAM,SAAS,MAAM;AACpBC,oBAAAA,qDAAY,KAAK;AACjBA,oBAAAA,MAAI,WAAW;AAAA,QACd,KAAK;AAAA,MACR,CAAG;AAAA,IACD;AACD,UAAM,YAAY,CAAC,SAAS;AAC3B,YAAM,MAAM,oEAAoE,mBAAmB,IAAI,CAAC;AAExG,YAAM,GAAG,EACP,KAAK,SAAO,IAAI,MAAM,EACtB,KAAK,UAAQ;AACbA,sBAAY,MAAA,MAAA,OAAA,kCAAA,eAAe,IAAI;AAC/B,cAAM,OAAO,KAAK,KAAK;AACvB,cAAM,SAAS,KAAK,KAAK;AACzB,cAAM,cAAc,KAAK;AACzBA,sBAAAA,MAAI,WAAW;AAAA,UACd,KAAK;AAAA,UACL,MAAM;AAAA,YACL,QAAQ,KAAK,KAAK;AAAA,YAClB,aAAa,KAAK;AAAA,UAClB;AAAA,QACN,CAAK;AACD,uBAAgB;AAAA,MAEpB,CAAI,EACA,MAAM,SAAO;AACbA,sBAAc,MAAA,MAAA,SAAA,kCAAA,eAAe,GAAG;AAAA,MACpC,CAAI;AAAA,IACF;AAED,UAAM,OAAOC,cAAG,IAAC,EAAE;AACnB,UAAM,iBAAiB,MAAM;AAC5B,YAAM,MACL,uFAAuF,mBAAmB,MAAM,MAAM,CAAC,eAAe,mBAAmB,MAAM,IAAI,CAAC;AACrK,YAAM,GAAG,EACP,KAAK,SAAO,IAAI,MAAM,EACtB,KAAK,UAAQ;AACbD,sBAAAA,qDAAY,UAAU,IAAI;AAG1B,cAAM,UAAU,GAAG,KAAK,OAAO,SAAS;AACxC,cAAM,UAAU;AAAA,UACf,QAAQ,MAAM;AAAA,UACd,cAAc,MAAM;AAAA;AAAA,QAEzB;AACIA,sBAAAA,MAAA,MAAA,OAAA,kCAAY,QAAQ,OAAO;AAC3B,cAAM,SAAS;AAAA,UACb,QAAQ;AAAA,UACR,SAAS;AAAA,YACR,gBAAgB;AAAA,UAChB;AAAA,UACD,MAAM,KAAK,UAAU,OAAO;AAAA,QAClC,CAAM,EACA,KAAK,SAAO,IAAI,MAAM,EACtB,KAAK,CAAAE,UAAQ;AAEb,eAAK,QAAQA;AACbF,wBAAAA,sDAAY,2BAA2BE,KAAI;AAAA,QACjD,CAAM,EACA,MAAM,SAAO;AACbF,wBAAc,MAAA,MAAA,SAAA,mCAAA,SAAS,GAAG;AAAA,QAChC,CAAM;AAGF,iBAAU;AAAA,MACd,CAAI;AAAA,IAEF;AACD,UAAM,aAAaC,kBAAI,CAAA,CAAE;AACzB,UAAM,WAAW,MAAM;AACtB,YAAM,MAAM;AACZ,YAAM,GAAG,EACP,KAAK,SAAO,IAAI,MAAM,EACtB,KAAK,UAAQ;AACb,mBAAW,QAAQ,CAAC,GAAG,IAAI;AAC3BD,sBAAA,MAAA,MAAA,OAAA,mCAAY,QAAQ,WAAW,KAAK;AAAA,MACxC,CAAI;AAAA,IACF;AACD,UAAM,cAAcC,kBAAI,CAAA,CAAE;AAC1B,UAAM,aAAa,CAAC,YAAY;AAC/B,YAAM,MAAM,GAAG,QAAQ,SAAS;AAChC,YAAM,GAAG,EACP,KAAK,SAAO,IAAI,MAAM,EACtB,KAAK,UAAQ;AACb,oBAAY,QAAQ,CAAC,GAAG,KAAK,MAAM;AAAA,MACvC,CAAI;AACFD,oBAAAA,MAAI,WAAW;AAAA,QACd,KAAK;AAAA,QACL,MAAM;AAAA,UACL,KAAK,QAAQ;AAAA,QACb;AAAA,MACJ,CAAG;AACD,YAAM,UAAU;AAChB,YAAM,UAAU;AAAA,QACf,QAAQ,MAAM;AAAA,QACd,WAAW,QAAQ;AAAA,MACtB;AACEA,oBAAAA,MAAY,MAAA,OAAA,mCAAA,QAAQ,OAAO;AAC3B,YAAM,SAAS;AAAA,QACb,QAAQ;AAAA,QACR,SAAS;AAAA,UACR,gBAAgB;AAAA,QAChB;AAAA,QACD,MAAM,KAAK,UAAU,OAAO;AAAA,MAChC,CAAI,EACA,KAAK,SAAO,IAAI,MAAM,EACtB,KAAK,UAAQ;AAEbA,sBAAAA,MAAY,MAAA,OAAA,mCAAA,OAAO,IAAI;AAAA,MAC3B,CAAI,EACA,MAAM,SAAO;AACbA,8EAAc,SAAS,GAAG;AAAA,MAC9B,CAAI;AAAA,IACF;AACDG,kBAAAA,OAAO,MAAM;;AACZ,YAAM,OAAO,OAAO,SAAS;AAC7B,YAAM,eAAc,UAAK,MAAM,GAAG,EAAE,CAAC,MAAjB,mBAAoB,MAAM,KAAK;AACnD,YAAM,QAAQ,CAAA;AAEd,UAAI,aAAa;AAChB,oBAAY,MAAM,GAAG,EAAE,QAAQ,UAAQ;AACtC,gBAAM,CAAC,KAAK,KAAK,IAAI,KAAK,MAAM,GAAG;AACnC,gBAAM,GAAG,IAAI,mBAAmB,KAAK;AAAA,QACzC,CAAI;AAAA,MACD;AAEDH,oBAAY,MAAA,MAAA,OAAA,mCAAA,kBAAkB,KAAK;AAEnC,UAAI,MAAM,MAAM;AACf,kBAAU,MAAM,IAAI;AAAA,MAGpB;AAAA,IACH,CAAE;;;;;;;;;;;;;;;;;;;;;;;;;ACvLF,GAAG,WAAW,eAAe;"} \ No newline at end of file diff --git a/unpackage/dist/dev/.sourcemap/mp-weixin/pages/login/code.js.map b/unpackage/dist/dev/.sourcemap/mp-weixin/pages/login/code.js.map new file mode 100644 index 0000000..78845a1 --- /dev/null +++ b/unpackage/dist/dev/.sourcemap/mp-weixin/pages/login/code.js.map @@ -0,0 +1 @@ +{"version":3,"file":"code.js","sources":["pages/login/code.vue","../Hbuilder/HBuilderX/plugins/uniapp-cli-vite/uniPage:/cGFnZXMvbG9naW4vY29kZS52dWU"],"sourcesContent":["\r\n\r\n\r\n\r\n","import MiniProgramPage from 'D:/officialAccount/pages/login/code.vue'\nwx.createPage(MiniProgramPage)"],"names":["ref","nextTick","uni","onUnmounted","onLoad"],"mappings":";;;;;;;;;;AA0EC,UAAM,cAAcA,cAAG,IAAC,EAAE;AAC1B,UAAM,UAAUA,cAAAA,IAAI,CAAC,IAAI,IAAI,IAAI,EAAE,CAAC;AACpC,UAAM,eAAeA,kBAAI,CAAC;AAC1B,UAAM,cAAcA,kBAAI,KAAK;AAE7B,UAAM,YAAYA,cAAG,IAAC,oBAAoB;AAE1C,aAAS,aAAa;AACrB,kBAAY,QAAQ;AAAA,IACpB;AAED,UAAM,cAAc,CAAC,UAAU;AAC9B,UAAI,QAAQ,MAAM,KAAK,GAAG;AACzB,YAAI,QAAQ,GAAG;AACd,uBAAa,QAAQ,QAAQ;AAAA,QAC7B;AAAA,MACD;AACD,UAAI,SAAS;AACb,cAAQ,MAAM,QAAQ,YAAQ;AAC7B,YAAG,CAAC,QAAO;AACV,mBAAS;AAAA,QACT;AAAA,MACJ,CAAG;AACDC,oBAAAA,WAAS,MAAI;AACZ,YAAG,QAAO;AACT,wBAAe;AAAA,QACf;AAAA,MACJ,CAAG;AAAA,IACH;AAGC,UAAM,gBAAgB,CAAC,OAAO,UAAU;AACvC,UAAI,MAAM,QAAQ,eAAe,CAAC,QAAQ,MAAM,KAAK,GAAG;AACvD,YAAI,QAAQ,GAAG;AACd,uBAAa,QAAQ,QAAQ;AAAA,QAC7B;AAAA,MACD;AAAA,IACH;AAGC,UAAM,gBAAgB,MAAM;AAC3B,YAAM,OAAO,QAAQ,MAAM,KAAK,EAAE;AAClC,UAAI,KAAK,WAAW,GAAG;AACtBC,sBAAA,MAAA,MAAA,OAAA,+BAAY,UAAU,IAAI;AAC1BA,sBAAAA,MAAI,SAAS;AAAA,UACZ,KAAK;AAAA,QACT,CAAI;AAAA,MAGJ,OAAS;AACNA,sBAAAA,MAAY,MAAA,OAAA,+BAAA,UAAU;AAAA,MACtB;AAAA,IACH;AAEC,UAAM,UAAU,MAAK;AAmBpB,YAAM,MAAM,wDAAwD,KAAK,IAAG,CAAE;AAC9E,YAAM,GAAG,EACP,KAAK,SAAO,IAAI,MAAM,EACtB,KAAK,UAAQ;AACbA,sBAAAA,kDAAY,UAAS,IAAI;AAAA,MAC7B,CAAI;AAAA,IACF;AAGD,UAAM,YAAYF,kBAAI,EAAE;AACxB,QAAI,UAAU;AAEdG,kBAAAA,YAAY,MAAM;AAChB,UAAI,SAAS;AACX,sBAAc,OAAO;AAAA,MACtB;AAAA,IACJ,CAAE;AAEDC,kBAAM,OAAC,CAAC,YAAY;AAClB,kBAAY,QAAQ,QAAQ;AAC7B,cAAS;AAIR,gBAAU,QAAQ;AAClB,gBAAU,YAAY,MAAM;AAC1B,YAAI,UAAU,QAAQ,GAAG;AACvB,oBAAU;AAAA,QACjB,OAAY;AACL,wBAAc,OAAO;AACrB,oBAAU;AAAA,QACX;AAAA,MACF,GAAE,GAAI;AAAA,IACV,CAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACnLF,GAAG,WAAW,eAAe;"} \ No newline at end of file diff --git a/unpackage/dist/dev/.sourcemap/mp-weixin/pages/login/index.js.map b/unpackage/dist/dev/.sourcemap/mp-weixin/pages/login/index.js.map new file mode 100644 index 0000000..c703977 --- /dev/null +++ b/unpackage/dist/dev/.sourcemap/mp-weixin/pages/login/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sources":["pages/login/index.vue","../Hbuilder/HBuilderX/plugins/uniapp-cli-vite/uniPage:/cGFnZXMvbG9naW4vaW5kZXgudnVl"],"sourcesContent":["\r\n\r\n\r\n\r\n","import MiniProgramPage from 'D:/officialAccount/pages/login/index.vue'\nwx.createPage(MiniProgramPage)"],"names":["ref","useWeChatAuth","uni"],"mappings":";;;;;;;;;;;AA6DC,UAAM,WAAWA,kBAAI,KAAK;AAC1B,UAAM,cAAcA,kBAAI,KAAK;AAGzBC,2CAAgB;AAGpB,UAAM,YAAYD,cAAG,IAAC,oBAAoB;AAE1C,aAAS,aAAa;AACrB,kBAAY,QAAQ;AAAA,IACpB;AAED,UAAM,UAAU,MAAM;AAErB,UAAI,CAAC,SAAS,OAAO;AACpB,oBAAY,QAAQ;AAAA,MACvB,OAAS;AACNE,sBAAAA,MAAI,WAAW;AAAA,UACd,KAAK;AAAA,QACT,CAAI;AAAA,MAED;AAAA,IACH;AACC,UAAM,YAAY,MAAK;AACtBA,oBAAAA,kDAAY,MAAM;AAClBA,oBAAAA,MAAI,WAAW;AAAA,QACd,KAAK;AAAA,MACR,CAAG;AAAA,IACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACzFF,GAAG,WAAW,eAAe;"} \ No newline at end of file diff --git a/unpackage/dist/dev/.sourcemap/mp-weixin/pages/login/phonebumber.js.map b/unpackage/dist/dev/.sourcemap/mp-weixin/pages/login/phonebumber.js.map new file mode 100644 index 0000000..7993b7f --- /dev/null +++ b/unpackage/dist/dev/.sourcemap/mp-weixin/pages/login/phonebumber.js.map @@ -0,0 +1 @@ +{"version":3,"file":"phonebumber.js","sources":["pages/login/phonebumber.vue","../Hbuilder/HBuilderX/plugins/uniapp-cli-vite/uniPage:/cGFnZXMvbG9naW4vcGhvbmVidW1iZXIudnVl"],"sourcesContent":["\r\n\r\n\r\n\r\n","import MiniProgramPage from 'D:/officialAccount/pages/login/phonebumber.vue'\nwx.createPage(MiniProgramPage)"],"names":["ref","uni"],"mappings":";;;;;;AA2CC,MAAM,UAAU,MAAW;;;;AAE3B,UAAM,cAAcA,kBAAI,KAAK;AAE7B,UAAM,SAAS,MAAM;AACpBC,oBAAAA,MAAI,WAAW;AAAA,QACd,KAAK,iCAAiC,YAAY,KAAK;AAAA,MAC1D,CAAG;AAAA,IACD;AAED,aAAS,gBAAgB,OAAO;AAC/B,aAAO,WAAW,KAAK,MAAM,SAAU,CAAA;AAAA,IACvC;AACD,UAAM,cAAcD,kBAAI,EAAE;AAC1B,UAAM,WAAWA,kBAAI,KAAK;AAC1B,UAAM,UAAU,CAAC,QAAQ;AACxBC,oBAAY,MAAA,MAAA,OAAA,qCAAA,QAAQ,IAAI,OAAO,KAAK;AACpC,UAAI,gBAAgB,IAAI,OAAO,KAAK,GAAG;AACtC,oBAAY,QAAQ,IAAI,OAAO;AAC/B,iBAAS,QAAQ;AAAA,MACpB,OAAS;AACN,iBAAS,QAAQ;AAAA,MACjB;AAAA,IAED;;;;;;;;;;;;;;;;;;;;;AClEF,GAAG,WAAW,eAAe;"} \ No newline at end of file diff --git a/unpackage/dist/dev/.sourcemap/mp-weixin/pages/login/protocol.js.map b/unpackage/dist/dev/.sourcemap/mp-weixin/pages/login/protocol.js.map new file mode 100644 index 0000000..c992b59 --- /dev/null +++ b/unpackage/dist/dev/.sourcemap/mp-weixin/pages/login/protocol.js.map @@ -0,0 +1 @@ +{"version":3,"file":"protocol.js","sources":["../Hbuilder/HBuilderX/plugins/uniapp-cli-vite/uniPage:/cGFnZXMvbG9naW4vcHJvdG9jb2wudnVl"],"sourcesContent":["import MiniProgramPage from 'D:/officialAccount/pages/login/protocol.vue'\nwx.createPage(MiniProgramPage)"],"names":[],"mappings":";;;;;;;AACA,GAAG,WAAW,eAAe;"} \ No newline at end of file diff --git a/unpackage/dist/dev/mp-weixin/app.js b/unpackage/dist/dev/mp-weixin/app.js index 732a2c2..1929a04 100644 --- a/unpackage/dist/dev/mp-weixin/app.js +++ b/unpackage/dist/dev/mp-weixin/app.js @@ -3,10 +3,12 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" }); const common_vendor = require("./common/vendor.js"); const uni_modules_vkUviewUi_index = require("./uni_modules/vk-uview-ui/index.js"); if (!Math) { + "./pages/login/index.js"; + "./pages/login/phonebumber.js"; + "./pages/login/code.js"; + "./pages/login/callback.js"; + "./pages/login/protocol.js"; "./pages/index/index.js"; - "./pages/index/phonebumber.js"; - "./pages/index/code.js"; - "./pages/index/callback.js"; "./pages/map/index.js"; "./pages/pay/index.js"; } diff --git a/unpackage/dist/dev/mp-weixin/app.json b/unpackage/dist/dev/mp-weixin/app.json index 7c64b03..8f1b6aa 100644 --- a/unpackage/dist/dev/mp-weixin/app.json +++ b/unpackage/dist/dev/mp-weixin/app.json @@ -1,9 +1,11 @@ { "pages": [ + "pages/login/index", + "pages/login/phonebumber", + "pages/login/code", + "pages/login/callback", + "pages/login/protocol", "pages/index/index", - "pages/index/phonebumber", - "pages/index/code", - "pages/index/callback", "pages/map/index", "pages/pay/index" ], diff --git a/unpackage/dist/dev/mp-weixin/common/assets.js b/unpackage/dist/dev/mp-weixin/common/assets.js index f1b7b6c..73f2b2d 100644 --- a/unpackage/dist/dev/mp-weixin/common/assets.js +++ b/unpackage/dist/dev/mp-weixin/common/assets.js @@ -2,7 +2,15 @@ const _imports_0 = "/static/index/nu.png"; const _imports_1 = "/static/index/bgc.png"; const _imports_2 = "/static/index/old.png"; +const img0 = "/static/login/0.png"; +const img1 = "/static/login/1.png"; +const img2 = "/static/login/2.png"; +const img3 = "/static/login/3.png"; exports._imports_0 = _imports_0; exports._imports_1 = _imports_1; exports._imports_2 = _imports_2; +exports.img0 = img0; +exports.img1 = img1; +exports.img2 = img2; +exports.img3 = img3; //# sourceMappingURL=../../.sourcemap/mp-weixin/common/assets.js.map diff --git a/unpackage/dist/dev/mp-weixin/common/vendor.js b/unpackage/dist/dev/mp-weixin/common/vendor.js index 3a28312..6df7ec8 100644 --- a/unpackage/dist/dev/mp-weixin/common/vendor.js +++ b/unpackage/dist/dev/mp-weixin/common/vendor.js @@ -1303,6 +1303,9 @@ function isReadonly(value) { function isShallow(value) { return !!(value && value["__v_isShallow"]); } +function isProxy(value) { + return isReactive(value) || isReadonly(value); +} function toRaw(observed) { const raw = observed && observed["__v_raw"]; return raw ? toRaw(raw) : observed; @@ -2094,6 +2097,47 @@ function setCurrentRenderingInstance(instance) { instance && instance.type.__scopeId || null; return prev; } +const COMPONENTS = "components"; +function resolveComponent(name, maybeSelfReference) { + return resolveAsset(COMPONENTS, name, true, maybeSelfReference) || name; +} +function resolveAsset(type, name, warnMissing = true, maybeSelfReference = false) { + const instance = currentRenderingInstance || currentInstance; + if (instance) { + const Component2 = instance.type; + if (type === COMPONENTS) { + const selfName = getComponentName( + Component2, + false + ); + if (selfName && (selfName === name || selfName === camelize(name) || selfName === capitalize(camelize(name)))) { + return Component2; + } + } + const res = ( + // local registration + // check instance[type] first which is resolved for options API + resolve(instance[type] || Component2[type], name) || // global registration + resolve(instance.appContext[type], name) + ); + if (!res && maybeSelfReference) { + return Component2; + } + if (warnMissing && !res) { + const extra = type === COMPONENTS ? ` +If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.` : ``; + warn$1(`Failed to resolve ${type.slice(0, -1)}: ${name}${extra}`); + } + return res; + } else { + warn$1( + `resolve${capitalize(type.slice(0, -1))} can only be used in render() or setup().` + ); + } +} +function resolve(registry, name) { + return registry && (registry[name] || registry[camelize(name)] || registry[capitalize(camelize(name))]); +} const INITIAL_WATCHER_VALUE = {}; function watch(source, cb, options) { if (!isFunction(cb)) { @@ -3704,6 +3748,12 @@ const Static = Symbol.for("v-stc"); function isVNode(value) { return value ? value.__v_isVNode === true : false; } +const InternalObjectKey = `__vInternal`; +function guardReactiveProps(props) { + if (!props) + return null; + return isProxy(props) || InternalObjectKey in props ? extend({}, props) : props; +} const emptyAppContext = createAppContext(); let uid = 0; function createComponentInstance(vnode, parent, suspense) { @@ -4942,6 +4992,11 @@ function initApp(app) { } } const propsCaches = /* @__PURE__ */ Object.create(null); +function renderProps(props) { + const { uid: uid2, __counter } = getCurrentInstance(); + const propsId = (propsCaches[uid2] || (propsCaches[uid2] = [])).push(guardReactiveProps(props)) - 1; + return uid2 + "," + propsId + "," + __counter; +} function pruneComponentPropsCache(uid2) { delete propsCaches[uid2]; } @@ -5113,6 +5168,7 @@ const f = (source, renderItem) => vFor(source, renderItem); const e = (target, ...sources) => extend(target, ...sources); const n = (value) => normalizeClass(value); const t = (val) => toDisplayString(val); +const p = (props) => renderProps(props); function createApp$1(rootComponent, rootProps = null) { rootComponent && (rootComponent.mpType = "app"); return createVueApp(rootComponent, rootProps).use(plugin); @@ -5434,8 +5490,8 @@ function promisify$1(name, fn) { if (hasCallback(args)) { return wrapperReturnValue(name, invokeApi(name, fn, args, rest)); } - return wrapperReturnValue(name, handlePromise(new Promise((resolve, reject) => { - invokeApi(name, fn, extend(args, { success: resolve, fail: reject }), rest); + return wrapperReturnValue(name, handlePromise(new Promise((resolve2, reject) => { + invokeApi(name, fn, extend(args, { success: resolve2, fail: reject }), rest); }))); }; } @@ -5756,7 +5812,7 @@ function invokeGetPushCidCallbacks(cid2, errMsg) { getPushCidCallbacks.length = 0; } const API_GET_PUSH_CLIENT_ID = "getPushClientId"; -const getPushClientId = defineAsyncApi(API_GET_PUSH_CLIENT_ID, (_, { resolve, reject }) => { +const getPushClientId = defineAsyncApi(API_GET_PUSH_CLIENT_ID, (_, { resolve: resolve2, reject }) => { Promise.resolve().then(() => { if (typeof enabled === "undefined") { enabled = false; @@ -5765,7 +5821,7 @@ const getPushClientId = defineAsyncApi(API_GET_PUSH_CLIENT_ID, (_, { resolve, re } getPushCidCallbacks.push((cid2, errMsg) => { if (cid2) { - resolve({ cid: cid2 }); + resolve2({ cid: cid2 }); } else { reject(errMsg); } @@ -5834,9 +5890,9 @@ function promisify(name, api) { if (isFunction(options.success) || isFunction(options.fail) || isFunction(options.complete)) { return wrapperReturnValue(name, invokeApi(name, api, options, rest)); } - return wrapperReturnValue(name, handlePromise(new Promise((resolve, reject) => { + return wrapperReturnValue(name, handlePromise(new Promise((resolve2, reject) => { invokeApi(name, api, extend({}, options, { - success: resolve, + success: resolve2, fail: reject }), rest); }))); @@ -6443,13 +6499,13 @@ function initRuntimeSocket(hosts, port, id) { } const SOCKET_TIMEOUT = 500; function tryConnectSocket(host2, port, id) { - return new Promise((resolve, reject) => { + return new Promise((resolve2, reject) => { const socket = index.connectSocket({ url: `ws://${host2}:${port}/${id}`, multiple: true, // 支付宝小程序 是否开启多实例 fail() { - resolve(null); + resolve2(null); } }); const timer = setTimeout(() => { @@ -6457,19 +6513,19 @@ function tryConnectSocket(host2, port, id) { code: 1006, reason: "connect timeout" }); - resolve(null); + resolve2(null); }, SOCKET_TIMEOUT); socket.onOpen((e2) => { clearTimeout(timer); - resolve(socket); + resolve2(socket); }); socket.onClose((e2) => { clearTimeout(timer); - resolve(null); + resolve2(null); }); socket.onError((e2) => { clearTimeout(timer); - resolve(null); + resolve2(null); }); }); } @@ -6934,7 +6990,7 @@ function isConsoleWritable() { function initRuntimeSocketService() { const hosts = "192.168.2.24,127.0.0.1"; const port = "8090"; - const id = "mp-weixin_JkT_v2"; + const id = "mp-weixin_c0fjQb"; const lazy = typeof swan !== "undefined"; let restoreError = lazy ? () => { } : initOnError(); @@ -9622,7 +9678,7 @@ function warnOnce(message) { index.__f__("warn", "at node_modules/three/build/three.core.js:4054", message); } function probeAsync(gl, sync, interval) { - return new Promise(function(resolve, reject) { + return new Promise(function(resolve2, reject) { function probe() { switch (gl.clientWaitSync(sync, gl.SYNC_FLUSH_COMMANDS_BIT, 0)) { case gl.WAIT_FAILED: @@ -9632,7 +9688,7 @@ function probeAsync(gl, sync, interval) { setTimeout(probe, interval); break; default: - resolve(); + resolve2(); } } setTimeout(probe, interval); @@ -14885,16 +14941,16 @@ class Matrix4 { const te = this.elements; const w = 1 / (right - left); const h = 1 / (top - bottom); - const p = 1 / (far - near); + const p2 = 1 / (far - near); const x = (right + left) * w; const y = (top + bottom) * h; let z, zInv; if (coordinateSystem === WebGLCoordinateSystem) { - z = (far + near) * p; - zInv = -2 * p; + z = (far + near) * p2; + zInv = -2 * p2; } else if (coordinateSystem === WebGPUCoordinateSystem) { - z = near * p; - zInv = -1 * p; + z = near * p2; + zInv = -1 * p2; } else { throw new Error("THREE.Matrix4.makeOrthographic(): Invalid coordinate system: " + coordinateSystem); } @@ -16614,18 +16670,18 @@ class Triangle { * @param {Vector3} target - The target vector that is used to store the method's result. * @return {Vector3} The closest point on the triangle. */ - closestPointToPoint(p, target) { + closestPointToPoint(p2, target) { const a = this.a, b = this.b, c = this.c; let v, w; _vab.subVectors(b, a); _vac.subVectors(c, a); - _vap.subVectors(p, a); + _vap.subVectors(p2, a); const d1 = _vab.dot(_vap); const d2 = _vac.dot(_vap); if (d1 <= 0 && d2 <= 0) { return target.copy(a); } - _vbp.subVectors(p, b); + _vbp.subVectors(p2, b); const d3 = _vab.dot(_vbp); const d4 = _vac.dot(_vbp); if (d3 >= 0 && d4 <= d3) { @@ -16636,7 +16692,7 @@ class Triangle { v = d1 / (d1 - d3); return target.copy(a).addScaledVector(_vab, v); } - _vcp.subVectors(p, c); + _vcp.subVectors(p2, c); const d5 = _vab.dot(_vcp); const d6 = _vac.dot(_vcp); if (d6 >= 0 && d5 <= d6) { @@ -16820,18 +16876,18 @@ const _colorKeywords = { }; const _hslA = { h: 0, s: 0, l: 0 }; const _hslB = { h: 0, s: 0, l: 0 }; -function hue2rgb(p, q, t2) { +function hue2rgb(p2, q, t2) { if (t2 < 0) t2 += 1; if (t2 > 1) t2 -= 1; if (t2 < 1 / 6) - return p + (q - p) * 6 * t2; + return p2 + (q - p2) * 6 * t2; if (t2 < 1 / 2) return q; if (t2 < 2 / 3) - return p + (q - p) * 6 * (2 / 3 - t2); - return p; + return p2 + (q - p2) * 6 * (2 / 3 - t2); + return p2; } class Color { /** @@ -16935,11 +16991,11 @@ class Color { if (s === 0) { this.r = this.g = this.b = l; } else { - const p = l <= 0.5 ? l * (1 + s) : l + s - l * s; - const q = 2 * l - p; - this.r = hue2rgb(q, p, h + 1 / 3); - this.g = hue2rgb(q, p, h); - this.b = hue2rgb(q, p, h - 1 / 3); + const p2 = l <= 0.5 ? l * (1 + s) : l + s - l * s; + const q = 2 * l - p2; + this.r = hue2rgb(q, p2, h + 1 / 3); + this.g = hue2rgb(q, p2, h); + this.b = hue2rgb(q, p2, h - 1 / 3); } ColorManagement.toWorkingColorSpace(this, colorSpace); return this; @@ -19589,19 +19645,19 @@ function cloneUniforms(src) { const dst = {}; for (const u in src) { dst[u] = {}; - for (const p in src[u]) { - const property = src[u][p]; + for (const p2 in src[u]) { + const property = src[u][p2]; if (property && (property.isColor || property.isMatrix3 || property.isMatrix4 || property.isVector2 || property.isVector3 || property.isVector4 || property.isTexture || property.isQuaternion)) { if (property.isRenderTargetTexture) { index.__f__("warn", "at node_modules/three/build/three.core.js:20645", "UniformsUtils: Textures of render targets cannot be cloned via cloneUniforms() or mergeUniforms()."); - dst[u][p] = null; + dst[u][p2] = null; } else { - dst[u][p] = property.clone(); + dst[u][p2] = property.clone(); } } else if (Array.isArray(property)) { - dst[u][p] = property.slice(); + dst[u][p2] = property.slice(); } else { - dst[u][p] = property; + dst[u][p2] = property; } } } @@ -19611,8 +19667,8 @@ function mergeUniforms(uniforms) { const merged = {}; for (let u = 0; u < uniforms.length; u++) { const tmp = cloneUniforms(uniforms[u]); - for (const p in tmp) { - merged[p] = tmp[p]; + for (const p2 in tmp) { + merged[p2] = tmp[p2]; } } return merged; @@ -26613,8 +26669,8 @@ function WebGLPrograms(renderer, cubemaps, cubeuvmaps, extensions, capabilities, } function acquireProgram(parameters, cacheKey) { let program; - for (let p = 0, pl = programs.length; p < pl; p++) { - const preexistingProgram = programs[p]; + for (let p2 = 0, pl = programs.length; p2 < pl; p2++) { + const preexistingProgram = programs[p2]; if (preexistingProgram.cacheKey === cacheKey) { program = preexistingProgram; ++program.usedTimes; @@ -29461,62 +29517,62 @@ function WebGLTextures(_gl, extensions, state, properties, capabilities, utils, this.useMultisampledRTT = useMultisampledRTT; } function WebGLUtils(gl, extensions) { - function convert(p, colorSpace = NoColorSpace) { + function convert(p2, colorSpace = NoColorSpace) { let extension; const transfer = ColorManagement.getTransfer(colorSpace); - if (p === UnsignedByteType) + if (p2 === UnsignedByteType) return gl.UNSIGNED_BYTE; - if (p === UnsignedShort4444Type) + if (p2 === UnsignedShort4444Type) return gl.UNSIGNED_SHORT_4_4_4_4; - if (p === UnsignedShort5551Type) + if (p2 === UnsignedShort5551Type) return gl.UNSIGNED_SHORT_5_5_5_1; - if (p === UnsignedInt5999Type) + if (p2 === UnsignedInt5999Type) return gl.UNSIGNED_INT_5_9_9_9_REV; - if (p === ByteType) + if (p2 === ByteType) return gl.BYTE; - if (p === ShortType) + if (p2 === ShortType) return gl.SHORT; - if (p === UnsignedShortType) + if (p2 === UnsignedShortType) return gl.UNSIGNED_SHORT; - if (p === IntType) + if (p2 === IntType) return gl.INT; - if (p === UnsignedIntType) + if (p2 === UnsignedIntType) return gl.UNSIGNED_INT; - if (p === FloatType) + if (p2 === FloatType) return gl.FLOAT; - if (p === HalfFloatType) + if (p2 === HalfFloatType) return gl.HALF_FLOAT; - if (p === AlphaFormat) + if (p2 === AlphaFormat) return gl.ALPHA; - if (p === RGBFormat) + if (p2 === RGBFormat) return gl.RGB; - if (p === RGBAFormat) + if (p2 === RGBAFormat) return gl.RGBA; - if (p === DepthFormat) + if (p2 === DepthFormat) return gl.DEPTH_COMPONENT; - if (p === DepthStencilFormat) + if (p2 === DepthStencilFormat) return gl.DEPTH_STENCIL; - if (p === RedFormat) + if (p2 === RedFormat) return gl.RED; - if (p === RedIntegerFormat) + if (p2 === RedIntegerFormat) return gl.RED_INTEGER; - if (p === RGFormat) + if (p2 === RGFormat) return gl.RG; - if (p === RGIntegerFormat) + if (p2 === RGIntegerFormat) return gl.RG_INTEGER; - if (p === RGBAIntegerFormat) + if (p2 === RGBAIntegerFormat) return gl.RGBA_INTEGER; - if (p === RGB_S3TC_DXT1_Format || p === RGBA_S3TC_DXT1_Format || p === RGBA_S3TC_DXT3_Format || p === RGBA_S3TC_DXT5_Format) { + if (p2 === RGB_S3TC_DXT1_Format || p2 === RGBA_S3TC_DXT1_Format || p2 === RGBA_S3TC_DXT3_Format || p2 === RGBA_S3TC_DXT5_Format) { if (transfer === SRGBTransfer) { extension = extensions.get("WEBGL_compressed_texture_s3tc_srgb"); if (extension !== null) { - if (p === RGB_S3TC_DXT1_Format) + if (p2 === RGB_S3TC_DXT1_Format) return extension.COMPRESSED_SRGB_S3TC_DXT1_EXT; - if (p === RGBA_S3TC_DXT1_Format) + if (p2 === RGBA_S3TC_DXT1_Format) return extension.COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT; - if (p === RGBA_S3TC_DXT3_Format) + if (p2 === RGBA_S3TC_DXT3_Format) return extension.COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT; - if (p === RGBA_S3TC_DXT5_Format) + if (p2 === RGBA_S3TC_DXT5_Format) return extension.COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT; } else { return null; @@ -29524,111 +29580,111 @@ function WebGLUtils(gl, extensions) { } else { extension = extensions.get("WEBGL_compressed_texture_s3tc"); if (extension !== null) { - if (p === RGB_S3TC_DXT1_Format) + if (p2 === RGB_S3TC_DXT1_Format) return extension.COMPRESSED_RGB_S3TC_DXT1_EXT; - if (p === RGBA_S3TC_DXT1_Format) + if (p2 === RGBA_S3TC_DXT1_Format) return extension.COMPRESSED_RGBA_S3TC_DXT1_EXT; - if (p === RGBA_S3TC_DXT3_Format) + if (p2 === RGBA_S3TC_DXT3_Format) return extension.COMPRESSED_RGBA_S3TC_DXT3_EXT; - if (p === RGBA_S3TC_DXT5_Format) + if (p2 === RGBA_S3TC_DXT5_Format) return extension.COMPRESSED_RGBA_S3TC_DXT5_EXT; } else { return null; } } } - if (p === RGB_PVRTC_4BPPV1_Format || p === RGB_PVRTC_2BPPV1_Format || p === RGBA_PVRTC_4BPPV1_Format || p === RGBA_PVRTC_2BPPV1_Format) { + if (p2 === RGB_PVRTC_4BPPV1_Format || p2 === RGB_PVRTC_2BPPV1_Format || p2 === RGBA_PVRTC_4BPPV1_Format || p2 === RGBA_PVRTC_2BPPV1_Format) { extension = extensions.get("WEBGL_compressed_texture_pvrtc"); if (extension !== null) { - if (p === RGB_PVRTC_4BPPV1_Format) + if (p2 === RGB_PVRTC_4BPPV1_Format) return extension.COMPRESSED_RGB_PVRTC_4BPPV1_IMG; - if (p === RGB_PVRTC_2BPPV1_Format) + if (p2 === RGB_PVRTC_2BPPV1_Format) return extension.COMPRESSED_RGB_PVRTC_2BPPV1_IMG; - if (p === RGBA_PVRTC_4BPPV1_Format) + if (p2 === RGBA_PVRTC_4BPPV1_Format) return extension.COMPRESSED_RGBA_PVRTC_4BPPV1_IMG; - if (p === RGBA_PVRTC_2BPPV1_Format) + if (p2 === RGBA_PVRTC_2BPPV1_Format) return extension.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG; } else { return null; } } - if (p === RGB_ETC1_Format || p === RGB_ETC2_Format || p === RGBA_ETC2_EAC_Format) { + if (p2 === RGB_ETC1_Format || p2 === RGB_ETC2_Format || p2 === RGBA_ETC2_EAC_Format) { extension = extensions.get("WEBGL_compressed_texture_etc"); if (extension !== null) { - if (p === RGB_ETC1_Format || p === RGB_ETC2_Format) + if (p2 === RGB_ETC1_Format || p2 === RGB_ETC2_Format) return transfer === SRGBTransfer ? extension.COMPRESSED_SRGB8_ETC2 : extension.COMPRESSED_RGB8_ETC2; - if (p === RGBA_ETC2_EAC_Format) + if (p2 === RGBA_ETC2_EAC_Format) return transfer === SRGBTransfer ? extension.COMPRESSED_SRGB8_ALPHA8_ETC2_EAC : extension.COMPRESSED_RGBA8_ETC2_EAC; } else { return null; } } - if (p === RGBA_ASTC_4x4_Format || p === RGBA_ASTC_5x4_Format || p === RGBA_ASTC_5x5_Format || p === RGBA_ASTC_6x5_Format || p === RGBA_ASTC_6x6_Format || p === RGBA_ASTC_8x5_Format || p === RGBA_ASTC_8x6_Format || p === RGBA_ASTC_8x8_Format || p === RGBA_ASTC_10x5_Format || p === RGBA_ASTC_10x6_Format || p === RGBA_ASTC_10x8_Format || p === RGBA_ASTC_10x10_Format || p === RGBA_ASTC_12x10_Format || p === RGBA_ASTC_12x12_Format) { + if (p2 === RGBA_ASTC_4x4_Format || p2 === RGBA_ASTC_5x4_Format || p2 === RGBA_ASTC_5x5_Format || p2 === RGBA_ASTC_6x5_Format || p2 === RGBA_ASTC_6x6_Format || p2 === RGBA_ASTC_8x5_Format || p2 === RGBA_ASTC_8x6_Format || p2 === RGBA_ASTC_8x8_Format || p2 === RGBA_ASTC_10x5_Format || p2 === RGBA_ASTC_10x6_Format || p2 === RGBA_ASTC_10x8_Format || p2 === RGBA_ASTC_10x10_Format || p2 === RGBA_ASTC_12x10_Format || p2 === RGBA_ASTC_12x12_Format) { extension = extensions.get("WEBGL_compressed_texture_astc"); if (extension !== null) { - if (p === RGBA_ASTC_4x4_Format) + if (p2 === RGBA_ASTC_4x4_Format) return transfer === SRGBTransfer ? extension.COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR : extension.COMPRESSED_RGBA_ASTC_4x4_KHR; - if (p === RGBA_ASTC_5x4_Format) + if (p2 === RGBA_ASTC_5x4_Format) return transfer === SRGBTransfer ? extension.COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR : extension.COMPRESSED_RGBA_ASTC_5x4_KHR; - if (p === RGBA_ASTC_5x5_Format) + if (p2 === RGBA_ASTC_5x5_Format) return transfer === SRGBTransfer ? extension.COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR : extension.COMPRESSED_RGBA_ASTC_5x5_KHR; - if (p === RGBA_ASTC_6x5_Format) + if (p2 === RGBA_ASTC_6x5_Format) return transfer === SRGBTransfer ? extension.COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR : extension.COMPRESSED_RGBA_ASTC_6x5_KHR; - if (p === RGBA_ASTC_6x6_Format) + if (p2 === RGBA_ASTC_6x6_Format) return transfer === SRGBTransfer ? extension.COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR : extension.COMPRESSED_RGBA_ASTC_6x6_KHR; - if (p === RGBA_ASTC_8x5_Format) + if (p2 === RGBA_ASTC_8x5_Format) return transfer === SRGBTransfer ? extension.COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR : extension.COMPRESSED_RGBA_ASTC_8x5_KHR; - if (p === RGBA_ASTC_8x6_Format) + if (p2 === RGBA_ASTC_8x6_Format) return transfer === SRGBTransfer ? extension.COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR : extension.COMPRESSED_RGBA_ASTC_8x6_KHR; - if (p === RGBA_ASTC_8x8_Format) + if (p2 === RGBA_ASTC_8x8_Format) return transfer === SRGBTransfer ? extension.COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR : extension.COMPRESSED_RGBA_ASTC_8x8_KHR; - if (p === RGBA_ASTC_10x5_Format) + if (p2 === RGBA_ASTC_10x5_Format) return transfer === SRGBTransfer ? extension.COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR : extension.COMPRESSED_RGBA_ASTC_10x5_KHR; - if (p === RGBA_ASTC_10x6_Format) + if (p2 === RGBA_ASTC_10x6_Format) return transfer === SRGBTransfer ? extension.COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR : extension.COMPRESSED_RGBA_ASTC_10x6_KHR; - if (p === RGBA_ASTC_10x8_Format) + if (p2 === RGBA_ASTC_10x8_Format) return transfer === SRGBTransfer ? extension.COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR : extension.COMPRESSED_RGBA_ASTC_10x8_KHR; - if (p === RGBA_ASTC_10x10_Format) + if (p2 === RGBA_ASTC_10x10_Format) return transfer === SRGBTransfer ? extension.COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR : extension.COMPRESSED_RGBA_ASTC_10x10_KHR; - if (p === RGBA_ASTC_12x10_Format) + if (p2 === RGBA_ASTC_12x10_Format) return transfer === SRGBTransfer ? extension.COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR : extension.COMPRESSED_RGBA_ASTC_12x10_KHR; - if (p === RGBA_ASTC_12x12_Format) + if (p2 === RGBA_ASTC_12x12_Format) return transfer === SRGBTransfer ? extension.COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR : extension.COMPRESSED_RGBA_ASTC_12x12_KHR; } else { return null; } } - if (p === RGBA_BPTC_Format || p === RGB_BPTC_SIGNED_Format || p === RGB_BPTC_UNSIGNED_Format) { + if (p2 === RGBA_BPTC_Format || p2 === RGB_BPTC_SIGNED_Format || p2 === RGB_BPTC_UNSIGNED_Format) { extension = extensions.get("EXT_texture_compression_bptc"); if (extension !== null) { - if (p === RGBA_BPTC_Format) + if (p2 === RGBA_BPTC_Format) return transfer === SRGBTransfer ? extension.COMPRESSED_SRGB_ALPHA_BPTC_UNORM_EXT : extension.COMPRESSED_RGBA_BPTC_UNORM_EXT; - if (p === RGB_BPTC_SIGNED_Format) + if (p2 === RGB_BPTC_SIGNED_Format) return extension.COMPRESSED_RGB_BPTC_SIGNED_FLOAT_EXT; - if (p === RGB_BPTC_UNSIGNED_Format) + if (p2 === RGB_BPTC_UNSIGNED_Format) return extension.COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_EXT; } else { return null; } } - if (p === RED_RGTC1_Format || p === SIGNED_RED_RGTC1_Format || p === RED_GREEN_RGTC2_Format || p === SIGNED_RED_GREEN_RGTC2_Format) { + if (p2 === RED_RGTC1_Format || p2 === SIGNED_RED_RGTC1_Format || p2 === RED_GREEN_RGTC2_Format || p2 === SIGNED_RED_GREEN_RGTC2_Format) { extension = extensions.get("EXT_texture_compression_rgtc"); if (extension !== null) { - if (p === RGBA_BPTC_Format) + if (p2 === RGBA_BPTC_Format) return extension.COMPRESSED_RED_RGTC1_EXT; - if (p === SIGNED_RED_RGTC1_Format) + if (p2 === SIGNED_RED_RGTC1_Format) return extension.COMPRESSED_SIGNED_RED_RGTC1_EXT; - if (p === RED_GREEN_RGTC2_Format) + if (p2 === RED_GREEN_RGTC2_Format) return extension.COMPRESSED_RED_GREEN_RGTC2_EXT; - if (p === SIGNED_RED_GREEN_RGTC2_Format) + if (p2 === SIGNED_RED_GREEN_RGTC2_Format) return extension.COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT; } else { return null; } } - if (p === UnsignedInt248Type) + if (p2 === UnsignedInt248Type) return gl.UNSIGNED_INT_24_8; - return gl[p] !== void 0 ? gl[p] : null; + return gl[p2] !== void 0 ? gl[p2] : null; } return { convert }; } @@ -31255,7 +31311,7 @@ class WebGLRenderer { }; this.compileAsync = function(scene, camera, targetScene = null) { const materials2 = this.compile(scene, camera, targetScene); - return new Promise((resolve) => { + return new Promise((resolve2) => { function checkMaterialsReady() { materials2.forEach(function(material) { const materialProperties = properties.get(material); @@ -31265,7 +31321,7 @@ class WebGLRenderer { } }); if (materials2.size === 0) { - resolve(scene); + resolve2(scene); return; } setTimeout(checkMaterialsReady, 10); @@ -33172,10 +33228,14 @@ exports.index = index; exports.n = n; exports.nextTick$1 = nextTick$1; exports.o = o; +exports.onBeforeUnmount = onBeforeUnmount; exports.onLoad = onLoad; exports.onMounted = onMounted; +exports.onUnmounted = onUnmounted; +exports.p = p; exports.reactive = reactive; exports.ref = ref; +exports.resolveComponent = resolveComponent; exports.t = t; exports.wx$1 = wx$1; //# sourceMappingURL=../../.sourcemap/mp-weixin/common/vendor.js.map diff --git a/unpackage/dist/dev/mp-weixin/compontent/public/huakuai.js b/unpackage/dist/dev/mp-weixin/compontent/public/huakuai.js new file mode 100644 index 0000000..f06e3ea --- /dev/null +++ b/unpackage/dist/dev/mp-weixin/compontent/public/huakuai.js @@ -0,0 +1,136 @@ +"use strict"; +const common_vendor = require("../../common/vendor.js"); +const common_assets = require("../../common/assets.js"); +const pieceSizePx = 50; +const tolerance = 20; +const containerWidthPx = 200; +const containerHeightPx = 300; +const _sfc_main = { + __name: "huakuai", + setup(__props) { + const pieceSize = pieceSizePx * 2; + const container = common_vendor.ref(null); + common_vendor.ref(null); + const containerWidth = common_vendor.ref(containerWidthPx * 2); + const containerHeight = common_vendor.ref(containerHeightPx * 2); + const originX = common_vendor.ref(0); + const originY = common_vendor.ref(0); + const offsetX = common_vendor.ref(0); + const dragging = common_vendor.ref(false); + const startX = common_vendor.ref(0); + function getPuzzlePiecePath(size) { + const s = size; + return ` + M${10 * 2} 0 + h${s / 3 - 10 * 2} + a${10 * 2} ${10 * 2} 0 0 1 0 ${20 * 2} + h${s / 3} + a${10 * 2} ${10 * 2} 0 0 0 0 -${20 * 2} + h${s / 3 - 10 * 2} + v${s / 3 - 10 * 2} + a${10 * 2} ${10 * 2} 0 0 1 -${20 * 2} 0 + v${s / 3} + a${10 * 2} ${10 * 2} 0 0 0 ${20 * 2} 0 + v${s / 3 - 10 * 2} + h-${s / 3 - 10 * 2} + a${10 * 2} ${10 * 2} 0 0 1 0 -${20 * 2} + h-${s / 3} + a${10 * 2} ${10 * 2} 0 0 0 0 ${20 * 2} + h-${s / 3 - 10 * 2} + z + `; + } + const clipPath = `path('${getPuzzlePiecePath(pieceSize)}')`; + function init() { + common_vendor.index.createSelectorQuery().in(container.value).select(".bg-image").boundingClientRect((data) => { + if (!data) { + common_vendor.index.__f__("error", "at compontent/public/huakuai.vue:102", "无法获取.bg-image尺寸"); + return; + } + common_vendor.index.__f__("log", "at compontent/public/huakuai.vue:105", "图片宽高:", data.width, data.height); + containerWidth.value = data.width * 2; + containerHeight.value = data.height * 2; + originX.value = Math.random() * (containerWidth.value - pieceSize * 2) + pieceSize; + originY.value = containerHeight.value / 2; + offsetX.value = 0; + common_vendor.index.__f__("log", "at compontent/public/huakuai.vue:114", "originX:", originX.value, "originY:", originY.value); + }).exec(); + } + function onStart(e) { + dragging.value = true; + startX.value = e.touches ? e.touches[0].clientX * 2 : e.clientX * 2; + window.addEventListener("mousemove", onMove); + window.addEventListener("mouseup", onEnd); + window.addEventListener("touchmove", onMove); + window.addEventListener("touchend", onEnd); + } + function onMove(e) { + if (!dragging.value) + return; + const clientX = e.touches ? e.touches[0].clientX * 2 : e.clientX * 2; + let dx = clientX - startX.value; + dx = Math.max(0, Math.min(dx, containerWidth.value - pieceSize)); + offsetX.value = dx; + } + common_vendor.ref(null); + function onEnd() { + dragging.value = false; + window.removeEventListener("mousemove", onMove); + window.removeEventListener("mouseup", onEnd); + window.removeEventListener("touchmove", onMove); + window.removeEventListener("touchend", onEnd); + if (Math.abs(offsetX.value - originX.value) < tolerance) { + common_vendor.index.__f__("log", "at compontent/public/huakuai.vue:146", "验证成功"); + } else { + offsetX.value = 0; + common_vendor.index.showToast({ + title: "验证失败", + icon: "none", + // 不显示图标(提示信息) + duration: 2e3 + // 显示时长(毫秒) + }); + } + } + const bgImage = common_vendor.ref(""); + common_vendor.onLoad(() => { + let randomInt = Math.floor(Math.random() * 4); + const bgImageMap = [common_assets.img0, common_assets.img1, common_assets.img2, common_assets.img3]; + bgImage.value = bgImageMap[randomInt]; + }); + common_vendor.onBeforeUnmount(() => { + window.removeEventListener("mousemove", onMove); + window.removeEventListener("mouseup", onEnd); + window.removeEventListener("touchmove", onMove); + window.removeEventListener("touchend", onEnd); + }); + return (_ctx, _cache) => { + return { + a: bgImage.value, + b: common_vendor.o(init), + c: originY.value + "rpx", + d: originX.value + "rpx", + e: pieceSize + "rpx", + f: pieceSize + "rpx", + g: clipPath, + h: originY.value + "rpx", + i: offsetX.value + "rpx", + j: pieceSize + "rpx", + k: pieceSize + "rpx", + l: `url(${bgImage.value})`, + m: containerWidth.value + "rpx " + containerHeight.value + "rpx", + n: `-${originX.value - 30}rpx -${originY.value - 45}rpx`, + o: clipPath, + p: containerWidth.value + "rpx", + q: containerHeight.value + "rpx", + r: common_vendor.o(onStart), + s: common_vendor.o(onStart), + t: offsetX.value + "rpx", + v: containerWidth.value - pieceSize + "rpx" + }; + }; + } +}; +const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-2ca77e4c"]]); +wx.createComponent(Component); +//# sourceMappingURL=../../../.sourcemap/mp-weixin/compontent/public/huakuai.js.map diff --git a/unpackage/dist/dev/mp-weixin/compontent/public/huakuai.json b/unpackage/dist/dev/mp-weixin/compontent/public/huakuai.json new file mode 100644 index 0000000..e8cfaaf --- /dev/null +++ b/unpackage/dist/dev/mp-weixin/compontent/public/huakuai.json @@ -0,0 +1,4 @@ +{ + "component": true, + "usingComponents": {} +} \ No newline at end of file diff --git a/unpackage/dist/dev/mp-weixin/compontent/public/huakuai.wxml b/unpackage/dist/dev/mp-weixin/compontent/public/huakuai.wxml new file mode 100644 index 0000000..53412ff --- /dev/null +++ b/unpackage/dist/dev/mp-weixin/compontent/public/huakuai.wxml @@ -0,0 +1 @@ +请通过滑块验证 \ No newline at end of file diff --git a/unpackage/dist/dev/mp-weixin/compontent/public/huakuai.wxss b/unpackage/dist/dev/mp-weixin/compontent/public/huakuai.wxss new file mode 100644 index 0000000..5d319de --- /dev/null +++ b/unpackage/dist/dev/mp-weixin/compontent/public/huakuai.wxss @@ -0,0 +1,82 @@ + +.captcha-container.data-v-2ca77e4c { + /* margin: 20rpx auto; */ + -webkit-user-select: none; + user-select: none; + background-color: #fff; + width: 600rpx; + height: 800rpx; + margin: 0 auto; + z-index: 999; + border-radius: 30rpx; + overflow: hidden; + padding: 0 30rpx; +} +.captcha-image.data-v-2ca77e4c { + position: relative; + overflow: hidden; +} +.bg-image.data-v-2ca77e4c { + position: relative; + z-index: 1; + display: block; + /* margin-top: 30rpx; */ + width: 100%; + height: 100%; +} +.overlay.data-v-2ca77e4c { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + z-index: 100; + pointer-events: none; +} +.hole.data-v-2ca77e4c, + .piece.data-v-2ca77e4c { + position: absolute; + z-index: 101; + border-radius: 5rpx; + box-shadow: 0 0 6rpx rgba(0, 0, 0, 0.4); +} +.hole.data-v-2ca77e4c { + background-color: rgba(0, 0, 0, 0.3); +} +.piece.data-v-2ca77e4c { + background-repeat: no-repeat; + background-size: cover; + cursor: grab; +} +.slider-bar.data-v-2ca77e4c { + position: relative; + height: 160rpx; + margin-top: 0rpx; + background: #eee; + border-radius: 80rpx; + width: 600rpx; +} +.slider-button.data-v-2ca77e4c { + position: absolute; + top: 20rpx; + width: 120rpx; + height: 120rpx; + background: #fff; + border-radius: 60rpx; + box-shadow: 0 0 20rpx rgba(0, 0, 0, 0.2); + transition: background 0.3s; + -webkit-user-select: none; + user-select: none; +} +.slider-button.success.data-v-2ca77e4c { + background: #4caf50; +} +.font-title.data-v-2ca77e4c { + width: 100%; + display: flex; + justify-content: center; + align-items: center; + height: 80rpx; + font-size: 30rpx; + font-weight: 700; +} diff --git a/unpackage/dist/dev/mp-weixin/pages/index/callback.js b/unpackage/dist/dev/mp-weixin/pages/index/callback.js index f6fbb52..6f6a6fc 100644 --- a/unpackage/dist/dev/mp-weixin/pages/index/callback.js +++ b/unpackage/dist/dev/mp-weixin/pages/index/callback.js @@ -7,10 +7,11 @@ const _sfc_main = { compontent_useWeChatAuth.useWeChatAuth(); const ceshi = common_vendor.reactive({ name: "", - openid: "" + openid: "", + accessToken: "" }); const jumpto = () => { - common_vendor.index.__f__("log", "at pages/index/callback.vue:37", "???"); + common_vendor.index.__f__("log", "at pages/index/callback.vue:51", "???"); common_vendor.index.navigateTo({ url: "/pages/pay/index" }); @@ -18,24 +19,46 @@ const _sfc_main = { const getOpenId = (code) => { const url = `https://www.focusnu.com/nursing-unit/weixin/wechat/callback?code=${encodeURIComponent(code)}`; fetch(url).then((res) => res.json()).then((data) => { - common_vendor.index.__f__("log", "at pages/index/callback.vue:48", "✅ 获取用户信息成功:", data); - ceshi.name = data.nickname; - ceshi.openid = data.openid; + common_vendor.index.__f__("log", "at pages/index/callback.vue:62", "✅ 获取用户信息成功:", data); + ceshi.name = data.data.nickname; + ceshi.openid = data.data.openid; + ceshi.accessToken = data.accessToken; common_vendor.index.setStorage({ key: "openid", data: { - openid: data.openid + openid: data.data.openid, + accessToken: data.accessToken } }); getUserMessage(); }).catch((err) => { - common_vendor.index.__f__("error", "at pages/index/callback.vue:61", "❌ 获取用户信息失败:", err); + common_vendor.index.__f__("error", "at pages/index/callback.vue:77", "❌ 获取用户信息失败:", err); }); }; + const look = common_vendor.ref(""); const getUserMessage = () => { const url = `https://www.focusnu.com/nursing-unit/h5Api/nuBizAdvisoryInfo/queryWeixinInfo?openId=${encodeURIComponent(ceshi.openid)}&wechatName=${encodeURIComponent(ceshi.name)}`; fetch(url).then((res) => res.json()).then((data) => { - common_vendor.index.__f__("log", "at pages/index/callback.vue:69", "个人信息打印", data); + common_vendor.index.__f__("log", "at pages/index/callback.vue:88", "个人信息打印", data); + const urlpost = `${data.result.serverUrl}/weiXinPay/getUserInfo`; + const payload = { + openid: ceshi.openid, + access_token: ceshi.accessToken + // serverUrl: serve.value + }; + common_vendor.index.__f__("log", "at pages/index/callback.vue:97", "???/", payload); + fetch(urlpost, { + method: "POST", + headers: { + "Content-Type": "application/json" + }, + body: JSON.stringify(payload) + }).then((res) => res.json()).then((data2) => { + look.value = data2; + common_vendor.index.__f__("log", "at pages/index/callback.vue:109", "!!!!!!!!!!!!!!!!!!!!!!!", data2); + }).catch((err) => { + common_vendor.index.__f__("error", "at pages/index/callback.vue:112", "请求失败:", err); + }); getjigou(); }); }; @@ -44,7 +67,7 @@ const _sfc_main = { const url = `https://www.focusnu.com/nursing-unit/sys/sysDepart/queryInstitutionsList`; fetch(url).then((res) => res.json()).then((data) => { jigouArray.value = [...data]; - common_vendor.index.__f__("log", "at pages/index/callback.vue:80", "机构打印", jigouArray.value); + common_vendor.index.__f__("log", "at pages/index/callback.vue:127", "机构打印", jigouArray.value); }); }; const secondArray = common_vendor.ref([]); @@ -64,7 +87,7 @@ const _sfc_main = { openId: ceshi.openid, serverUrl: element.serverUrl }; - common_vendor.index.__f__("log", "at pages/index/callback.vue:102", "???/", payload); + common_vendor.index.__f__("log", "at pages/index/callback.vue:149", "???/", payload); fetch(urlpost, { method: "POST", headers: { @@ -72,9 +95,9 @@ const _sfc_main = { }, body: JSON.stringify(payload) }).then((res) => res.json()).then((data) => { - common_vendor.index.__f__("log", "at pages/index/callback.vue:113", "???", data); + common_vendor.index.__f__("log", "at pages/index/callback.vue:160", "???", data); }).catch((err) => { - common_vendor.index.__f__("error", "at pages/index/callback.vue:116", "请求失败:", err); + common_vendor.index.__f__("error", "at pages/index/callback.vue:163", "请求失败:", err); }); }; common_vendor.onLoad(() => { @@ -88,7 +111,7 @@ const _sfc_main = { query[key] = decodeURIComponent(value); }); } - common_vendor.index.__f__("log", "at pages/index/callback.vue:131", "解析到的 query 参数:", query); + common_vendor.index.__f__("log", "at pages/index/callback.vue:178", "解析到的 query 参数:", query); if (query.code) { getOpenId(query.code); } diff --git a/unpackage/dist/dev/mp-weixin/pages/index/callback.wxss b/unpackage/dist/dev/mp-weixin/pages/index/callback.wxss index 2612d06..85c2765 100644 --- a/unpackage/dist/dev/mp-weixin/pages/index/callback.wxss +++ b/unpackage/dist/dev/mp-weixin/pages/index/callback.wxss @@ -1,10 +1,10 @@ .callback-container.data-v-dd49f168 { - padding: 24px; + padding: 24px; } .avatar.data-v-dd49f168 { - width: 80px; - height: 80px; - border-radius: 40px; - margin-top: 12px; + width: 80px; + height: 80px; + border-radius: 40px; + margin-top: 12px; } diff --git a/unpackage/dist/dev/mp-weixin/pages/index/code.js b/unpackage/dist/dev/mp-weixin/pages/index/code.js index 0252338..9968943 100644 --- a/unpackage/dist/dev/mp-weixin/pages/index/code.js +++ b/unpackage/dist/dev/mp-weixin/pages/index/code.js @@ -1,12 +1,21 @@ "use strict"; const common_vendor = require("../../common/vendor.js"); const common_assets = require("../../common/assets.js"); +if (!Array) { + const _component_transition = common_vendor.resolveComponent("transition"); + _component_transition(); +} const _sfc_main = { __name: "code", setup(__props) { const phonenumber = common_vendor.ref(""); const captcha = common_vendor.ref(["", "", "", ""]); const focusedIndex = common_vendor.ref(0); + const isFadingOut = common_vendor.ref(false); + const maskColor = common_vendor.ref("rgba(0, 0, 0, 0.5)"); + function closeModal() { + isFadingOut.value = false; + } const handleInput = (index) => { if (captcha.value[index]) { if (index < 3) { @@ -35,16 +44,39 @@ const _sfc_main = { const submitCaptcha = () => { const code = captcha.value.join(""); if (code.length === 4) { - common_vendor.index.__f__("log", "at pages/index/code.vue:103", "提交验证码:", code); + common_vendor.index.__f__("log", "at pages/index/code.vue:118", "提交验证码:", code); } else { - common_vendor.index.__f__("log", "at pages/index/code.vue:106", "验证码未输入完整"); + common_vendor.index.__f__("log", "at pages/index/code.vue:121", "验证码未输入完整"); } }; + const getcode = () => { + const url = `https://www.focusnu.com/nursing-unit/sys/randomImage/${Date.now()}`; + fetch(url).then((res) => res.json()).then((data) => { + common_vendor.index.__f__("log", "at pages/index/code.vue:148", "code测试", data); + }); + }; + const countdown = common_vendor.ref(60); + let timerId = null; + common_vendor.onUnmounted(() => { + if (timerId) { + clearInterval(timerId); + } + }); common_vendor.onLoad((options) => { phonenumber.value = options.phonenumber; + getcode(); + countdown.value = 60; + timerId = setInterval(() => { + if (countdown.value > 0) { + countdown.value--; + } else { + clearInterval(timerId); + timerId = null; + } + }, 1e3); }); return (_ctx, _cache) => { - return { + return common_vendor.e({ a: common_assets._imports_0, b: common_assets._imports_1, c: common_assets._imports_2, @@ -58,8 +90,25 @@ const _sfc_main = { e: captcha.value[index], f: index }; + }), + f: !countdown.value, + g: common_vendor.t(countdown.value), + h: countdown.value, + i: common_vendor.o(($event) => isFadingOut.value = true), + j: isFadingOut.value + }, isFadingOut.value ? { + k: common_vendor.o(closeModal), + l: maskColor.value + } : {}, { + m: common_vendor.p({ + name: "fade" + }), + n: isFadingOut.value + }, isFadingOut.value ? {} : {}, { + o: common_vendor.p({ + name: "slide-up" }) - }; + }); }; } }; diff --git a/unpackage/dist/dev/mp-weixin/pages/index/code.wxml b/unpackage/dist/dev/mp-weixin/pages/index/code.wxml index 5b0d8a2..87085db 100644 --- a/unpackage/dist/dev/mp-weixin/pages/index/code.wxml +++ b/unpackage/dist/dev/mp-weixin/pages/index/code.wxml @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/unpackage/dist/dev/mp-weixin/pages/index/code.wxss b/unpackage/dist/dev/mp-weixin/pages/index/code.wxss index f4c08c3..8b18b88 100644 --- a/unpackage/dist/dev/mp-weixin/pages/index/code.wxss +++ b/unpackage/dist/dev/mp-weixin/pages/index/code.wxss @@ -26,25 +26,25 @@ .login-container.data-v-7e06bee2 { display: flex; flex-direction: column; - align-items: center; - height: 100vh; + min-height: 100vh; width: 100%; background-color: #eff1fc; position: relative; } .login-container .title.data-v-7e06bee2 { - display: flex; - margin-top: 120rpx; + margin-top: 70rpx; align-items: center; } .login-container .title .title-imge.data-v-7e06bee2 { - width: 110rpx; - height: 110rpx; - margin-right: 30rpx; + width: 100rpx; + height: 105rpx; + margin-left: 100rpx; } .login-container .title .title-font.data-v-7e06bee2 { font-size: 35rpx; - font-weight: 500; + font-weight: 600; + margin-left: 105rpx; + margin-top: 10rpx; } .login-container .photo-imge.data-v-7e06bee2 { position: absolute; @@ -55,18 +55,17 @@ } .login-container .old-imge.data-v-7e06bee2 { position: absolute; - left: 50%; - transform: translate(-50%, -50%); - top: 550rpx; + right: 30rpx; + top: 400rpx; width: 400rpx; height: 400rpx; } .login-container .under-container.data-v-7e06bee2 { - position: absolute; + position: fixed; left: 0; bottom: 0; width: 100%; - height: 680rpx; + height: 45vh; background-color: #fff; border-top-left-radius: 50rpx; border-top-right-radius: 50rpx; @@ -113,7 +112,7 @@ } .under-container-title .code-title.data-v-7e06bee2 { margin-left: 80rpx; - font-size: 33rpx; + font-size: 35rpx; color: black; font-weight: 500; margin-bottom: 20rpx; @@ -127,6 +126,7 @@ display: flex; flex-direction: column; align-items: center; + margin-top: 20rpx; } .captcha-box.data-v-7e06bee2 { display: flex; @@ -141,9 +141,10 @@ .captcha-input.data-v-7e06bee2 { width: 110rpx; height: 110rpx; - border: 2rpx solid #C0C5D9; - border-radius: 20rpx; - font-size: 28rpx; + border: 3rpx solid #C0C5D9; + border-radius: 30rpx; + font-size: 50rpx; + font-weight: 700; text-align: center; margin-right: 40rpx; outline: none; @@ -151,18 +152,119 @@ .captcha-input.data-v-7e06bee2:focus { border-color: #00C9FF; } -.submit-btn.data-v-7e06bee2 { - padding: 10rpx 20rpx; - background-color: #00C9FF; - color: white; - border-radius: 43rpx; - font-size: 28rpx; - margin-top: 20rpx; - width: 80%; - text-align: center; -} .right-blue.data-v-7e06bee2 { - float: right; color: #0083FF; + margin-left: 60rpx; +} +.right-white.data-v-7e06bee2 { + color: #c2c6d3; + margin-left: 60rpx; +} +.right-black.data-v-7e06bee2 { margin-right: 80rpx; + color: black; +} +.under-view.data-v-7e06bee2 { + width: 100%; + margin-top: 10rpx; + display: flex; + justify-content: space-between; +} + +/* 遮罩 */ +.overlay.data-v-7e06bee2 { + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 100%; + z-index: 998; +} + +/* 弹窗 */ +.modal.data-v-7e06bee2 { + position: fixed; + bottom: 0; + left: 0; + width: 100%; + background-color: #fff; + z-index: 999; + border-top-left-radius: 50rpx; + border-top-right-radius: 50rpx; + width: 100%; + height: 500rpx; + display: flex; + flex-direction: column; + align-items: center; +} +.modal .modal-title.data-v-7e06bee2 { + font-size: 32rpx; + font-weight: 700; + margin: 50rpx 0; + margin-bottom: 30rpx; +} +.modal .model-p.data-v-7e06bee2 { + padding: 0 50rpx; + width: 100%; + font-size: 30rpx; +} +.modal .model-down.data-v-7e06bee2 { + display: flex; + width: 100%; + justify-content: space-between; + padding: 0 50rpx; + margin-top: 40rpx; +} +.modal .model-down .model-white.data-v-7e06bee2 { + border-radius: 50rpx; + width: 300rpx; + height: 95rpx; + border: 5rpx solid #008dff; + color: #008dff; + font-size: 35rpx; + display: flex; + justify-content: center; + align-items: center; +} +.modal .model-down .model-blue.data-v-7e06bee2 { + border-radius: 50rpx; + width: 300rpx; + height: 95rpx; + background: linear-gradient(to right, #00C9FF, #0076FF); + color: #fff; + font-size: 35rpx; + display: flex; + justify-content: center; + align-items: center; +} + +/* 动画:遮罩淡入淡出 */ +.fade-enter-active.data-v-7e06bee2, +.fade-leave-active.data-v-7e06bee2 { + transition: opacity 0.3s; +} +.fade-enter-from.data-v-7e06bee2, +.fade-leave-to.data-v-7e06bee2 { + opacity: 0; +} +.fade-enter-to.data-v-7e06bee2, +.fade-leave-from.data-v-7e06bee2 { + opacity: 1; +} + +/* 动画:弹窗上滑 */ +.slide-up-enter-active.data-v-7e06bee2, +.slide-up-leave-active.data-v-7e06bee2 { + transition: transform 0.3s; +} +.slide-up-enter-from.data-v-7e06bee2, +.slide-up-leave-to.data-v-7e06bee2 { + transform: translateY(100%); +} +.slide-up-enter-to.data-v-7e06bee2, +.slide-up-leave-from.data-v-7e06bee2 { + transform: translateY(0); +} +.text-view.data-v-7e06bee2 { + margin-bottom: 20rpx; } \ No newline at end of file diff --git a/unpackage/dist/dev/mp-weixin/pages/index/index.js b/unpackage/dist/dev/mp-weixin/pages/index/index.js index 339b46e..7814219 100644 --- a/unpackage/dist/dev/mp-weixin/pages/index/index.js +++ b/unpackage/dist/dev/mp-weixin/pages/index/index.js @@ -1,55 +1,20 @@ "use strict"; const common_vendor = require("../../common/vendor.js"); -const common_assets = require("../../common/assets.js"); -const compontent_useWeChatAuth = require("../../compontent/useWeChatAuth.js"); const _sfc_main = { __name: "index", setup(__props) { - const isTarget = common_vendor.ref(false); - const isFadingOut = common_vendor.ref(false); - const { - login - } = compontent_useWeChatAuth.useWeChatAuth(); - let timerId = null; - const loginIt = () => { - if (timerId) { - clearTimeout(timerId); - } - if (!isTarget.value) { - isFadingOut.value = true; - timerId = setTimeout(() => { - isFadingOut.value = false; - }, 1e3); - } else { - login(); - } - }; - const yanzhengma = () => { - if (timerId) { - clearTimeout(timerId); - } - if (!isTarget.value) { - isFadingOut.value = true; - timerId = setTimeout(() => { - isFadingOut.value = false; - }, 1e3); - } else { - common_vendor.index.navigateTo({ - url: "/pages/index/phonebumber" - }); - } - }; + const itemArray = ["NU", "动态", "我的"]; + const itemTarget = common_vendor.ref(0); return (_ctx, _cache) => { return { - a: common_assets._imports_0, - b: common_assets._imports_1, - c: common_assets._imports_2, - d: isFadingOut.value, - e: common_vendor.n(isTarget.value ? "radio-circle-target" : "radio-circle"), - f: common_vendor.o(($event) => isTarget.value = !isTarget.value), - g: common_vendor.o(($event) => isTarget.value = !isTarget.value), - h: common_vendor.o(loginIt), - i: common_vendor.o(yanzhengma) + a: common_vendor.f(itemArray, (item, index, i0) => { + return { + a: common_vendor.t(item), + b: common_vendor.n(itemTarget.value === index ? `bottom-button-target` : `bottom-button`), + c: common_vendor.o(($event) => itemTarget.value = index), + d: itemTarget.value === index + }; + }) }; }; } diff --git a/unpackage/dist/dev/mp-weixin/pages/index/index.json b/unpackage/dist/dev/mp-weixin/pages/index/index.json index e301e43..a860429 100644 --- a/unpackage/dist/dev/mp-weixin/pages/index/index.json +++ b/unpackage/dist/dev/mp-weixin/pages/index/index.json @@ -1,4 +1,4 @@ { - "navigationBarTitleText": "登录", + "navigationBarTitleText": "首页", "usingComponents": {} } \ No newline at end of file diff --git a/unpackage/dist/dev/mp-weixin/pages/index/index.wxml b/unpackage/dist/dev/mp-weixin/pages/index/index.wxml index 032042a..b856abf 100644 --- a/unpackage/dist/dev/mp-weixin/pages/index/index.wxml +++ b/unpackage/dist/dev/mp-weixin/pages/index/index.wxml @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/unpackage/dist/dev/mp-weixin/pages/index/index.wxss b/unpackage/dist/dev/mp-weixin/pages/index/index.wxss index a47045f..e18ab9d 100644 --- a/unpackage/dist/dev/mp-weixin/pages/index/index.wxss +++ b/unpackage/dist/dev/mp-weixin/pages/index/index.wxss @@ -26,153 +26,47 @@ .login-container.data-v-1cf27b2a { display: flex; flex-direction: column; - align-items: center; - height: 100vh; + min-height: 100vh; width: 100%; background-color: #eff1fc; position: relative; } -.login-container .title.data-v-1cf27b2a { - display: flex; - margin-top: 120rpx; - align-items: center; +.array-father.data-v-1cf27b2a { + width: 33%; + position: relative; } -.login-container .title .title-imge.data-v-1cf27b2a { - width: 110rpx; - height: 110rpx; - margin-right: 30rpx; -} -.login-container .title .title-font.data-v-1cf27b2a { - font-size: 35rpx; - font-weight: 500; -} -.login-container .photo-imge.data-v-1cf27b2a { - position: absolute; - top: 120rpx; - left: 0; - width: 100%; - height: 1100rpx; -} -.login-container .old-imge.data-v-1cf27b2a { - position: absolute; - left: 50%; - transform: translate(-50%, -50%); - top: 550rpx; - width: 400rpx; - height: 400rpx; -} -.login-container .under-container.data-v-1cf27b2a { - position: absolute; - left: 0; +.botton-view.data-v-1cf27b2a { + position: fixed; bottom: 0; + left: 0; + height: 200rpx; width: 100%; - height: 680rpx; - background-color: #fff; - border-top-left-radius: 50rpx; - border-top-right-radius: 50rpx; - box-shadow: 10rpx 10rpx 20rpx rgba(0, 0, 0, 0.1); display: flex; - flex-direction: column; - align-items: center; -} -.login-container .under-container .radio-circle.data-v-1cf27b2a { - position: relative; - margin-top: 2rpx; - width: 40rpx; - height: 40rpx; - border-radius: 50%; - border: 2rpx solid #C0C5D9; - background-color: transparent; -} -.login-container .under-container .radio-circle-target.data-v-1cf27b2a { - position: relative; - margin-top: 2rpx; - width: 40rpx; - height: 40rpx; - border-radius: 50%; - border: 2rpx solid #C0C5D9; - background-color: transparent; -} -.login-container .under-container .radio-circle-target.data-v-1cf27b2a::after { - content: ""; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-50%, -50%); - width: 30rpx; - height: 30rpx; - background-color: #00C9FF; - border-radius: 50%; -} -.under-container-title.data-v-1cf27b2a { - display: flex; - margin-top: 60rpx; - margin-bottom: 30rpx; - align-items: center; - font-size: 25rpx; + justify-content: space-between; font-weight: 500; } -.under-container-title .radio-circle-blue.data-v-1cf27b2a { - color: #0083FF; - margin-top: 3rpx; -} -.under-container-title .radio-circle-font.data-v-1cf27b2a { - color: #5A607F; - margin-left: 18rpx; - margin-top: 3rpx; -} -.button-blue.data-v-1cf27b2a { - width: 80%; +.botton-view .bottom-button.data-v-1cf27b2a { + width: 100%; + height: 100%; display: flex; justify-content: center; align-items: center; - height: 100rpx; - border-radius: 43rpx; - background: linear-gradient(to right, #00C9FF, #0076FF); - color: #fff; - font-size: 33rpx; - margin-bottom: 30rpx; } -.button-white.data-v-1cf27b2a { - width: 80%; +.botton-view .bottom-button-target.data-v-1cf27b2a { + width: 100%; + height: 100%; display: flex; justify-content: center; align-items: center; - height: 100rpx; - border-radius: 43rpx; - color: #5A607F; - font-size: 33rpx; - margin-bottom: 30rpx; - border: 2rpx solid #C0C5D9; + color: #2a85eb; } -.bubble.data-v-1cf27b2a { - transition: opacity 1s ease-out; - position: absolute; - left: 25rpx; - top: -5rpx; - background-color: black; - color: white; - padding: 10rpx; - border-radius: 10rpx; - font-size: 23rpx; - box-shadow: 2rpx 2rpx 5rpx rgba(0, 0, 0, 0.2); - pointer-events: none; - opacity: 1; - /* 初始为可见 */ -} -.bubble.data-v-1cf27b2a::after { - transition: opacity 1s ease-out; - content: ""; +.botton-view .blue-heng.data-v-1cf27b2a { + height: 6rpx; + width: 150rpx; + background-color: #2a85eb; position: absolute; + bottom: 55rpx; left: 50%; - bottom: -8rpx; - border-left: 10rpx solid transparent; - border-right: 10rpx solid transparent; - border-top: 10rpx solid black; + /* 左边缘到父容器左边的距离占父宽度 50% */ transform: translateX(-50%); -} - -/* 隐藏气泡 */ -.bubble.hidden.data-v-1cf27b2a { - opacity: 0; } \ No newline at end of file diff --git a/unpackage/dist/dev/mp-weixin/pages/index/phonebumber.js b/unpackage/dist/dev/mp-weixin/pages/index/phonebumber.js index 987870d..8399c7b 100644 --- a/unpackage/dist/dev/mp-weixin/pages/index/phonebumber.js +++ b/unpackage/dist/dev/mp-weixin/pages/index/phonebumber.js @@ -15,7 +15,7 @@ const _sfc_main = { const phonenumber = common_vendor.ref(""); const canClick = common_vendor.ref(false); const isRight = (res) => { - common_vendor.index.__f__("log", "at pages/index/phonebumber.vue:48", "????", res.detail.value); + common_vendor.index.__f__("log", "at pages/index/phonebumber.vue:49", "????", res.detail.value); if (is11DigitNumber(res.detail.value)) { phonenumber.value = res.detail.value; canClick.value = true; diff --git a/unpackage/dist/dev/mp-weixin/pages/index/phonebumber.wxml b/unpackage/dist/dev/mp-weixin/pages/index/phonebumber.wxml index d8f8c0b..e02c408 100644 --- a/unpackage/dist/dev/mp-weixin/pages/index/phonebumber.wxml +++ b/unpackage/dist/dev/mp-weixin/pages/index/phonebumber.wxml @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/unpackage/dist/dev/mp-weixin/pages/index/phonebumber.wxss b/unpackage/dist/dev/mp-weixin/pages/index/phonebumber.wxss index dba4e8e..f8917ee 100644 --- a/unpackage/dist/dev/mp-weixin/pages/index/phonebumber.wxss +++ b/unpackage/dist/dev/mp-weixin/pages/index/phonebumber.wxss @@ -26,25 +26,25 @@ .login-container.data-v-5d75f7c6 { display: flex; flex-direction: column; - align-items: center; - height: 100vh; + min-height: 100vh; width: 100%; background-color: #eff1fc; position: relative; } .login-container .title.data-v-5d75f7c6 { - display: flex; - margin-top: 120rpx; + margin-top: 70rpx; align-items: center; } .login-container .title .title-imge.data-v-5d75f7c6 { - width: 110rpx; - height: 110rpx; - margin-right: 30rpx; + width: 100rpx; + height: 105rpx; + margin-left: 100rpx; } .login-container .title .title-font.data-v-5d75f7c6 { font-size: 35rpx; - font-weight: 500; + font-weight: 600; + margin-left: 105rpx; + margin-top: 10rpx; } .login-container .photo-imge.data-v-5d75f7c6 { position: absolute; @@ -55,18 +55,17 @@ } .login-container .old-imge.data-v-5d75f7c6 { position: absolute; - left: 50%; - transform: translate(-50%, -50%); - top: 550rpx; + right: 30rpx; + top: 400rpx; width: 400rpx; height: 400rpx; } .login-container .under-container.data-v-5d75f7c6 { - position: absolute; + position: fixed; left: 0; bottom: 0; width: 100%; - height: 680rpx; + height: 45vh; background-color: #fff; border-top-left-radius: 50rpx; border-top-right-radius: 50rpx; @@ -107,7 +106,7 @@ .under-container-title.data-v-5d75f7c6 { display: flex; margin-top: 60rpx; - margin-bottom: 30rpx; + margin-bottom: 60rpx; align-items: center; justify-content: center; font-size: 25rpx; diff --git a/unpackage/dist/dev/mp-weixin/pages/login/callback.js b/unpackage/dist/dev/mp-weixin/pages/login/callback.js new file mode 100644 index 0000000..6accaa0 --- /dev/null +++ b/unpackage/dist/dev/mp-weixin/pages/login/callback.js @@ -0,0 +1,144 @@ +"use strict"; +const common_vendor = require("../../common/vendor.js"); +const compontent_useWeChatAuth = require("../../compontent/useWeChatAuth.js"); +const _sfc_main = { + __name: "callback", + setup(__props) { + compontent_useWeChatAuth.useWeChatAuth(); + const ceshi = common_vendor.reactive({ + name: "", + openid: "", + accessToken: "" + }); + const jumpto = () => { + common_vendor.index.__f__("log", "at pages/login/callback.vue:51", "???"); + common_vendor.index.navigateTo({ + url: "/pages/pay/index" + }); + }; + const getOpenId = (code) => { + const url = `https://www.focusnu.com/nursing-unit/weixin/wechat/callback?code=${encodeURIComponent(code)}`; + fetch(url).then((res) => res.json()).then((data) => { + common_vendor.index.__f__("log", "at pages/login/callback.vue:62", "✅ 获取用户信息成功:", data); + ceshi.name = data.data.nickname; + ceshi.openid = data.data.openid; + ceshi.accessToken = data.accessToken; + common_vendor.index.setStorage({ + key: "openid", + data: { + openid: data.data.openid, + accessToken: data.accessToken + } + }); + getUserMessage(); + }).catch((err) => { + common_vendor.index.__f__("error", "at pages/login/callback.vue:77", "❌ 获取用户信息失败:", err); + }); + }; + const look = common_vendor.ref(""); + const getUserMessage = () => { + const url = `https://www.focusnu.com/nursing-unit/h5Api/nuBizAdvisoryInfo/queryWeixinInfo?openId=${encodeURIComponent(ceshi.openid)}&wechatName=${encodeURIComponent(ceshi.name)}`; + fetch(url).then((res) => res.json()).then((data) => { + common_vendor.index.__f__("log", "at pages/login/callback.vue:88", "个人信息打印", data); + const urlpost = `${data.result.serverUrl}/weiXinPay/getUserInfo`; + const payload = { + openid: ceshi.openid, + access_token: ceshi.accessToken + // serverUrl: serve.value + }; + common_vendor.index.__f__("log", "at pages/login/callback.vue:97", "???/", payload); + fetch(urlpost, { + method: "POST", + headers: { + "Content-Type": "application/json" + }, + body: JSON.stringify(payload) + }).then((res) => res.json()).then((data2) => { + look.value = data2; + common_vendor.index.__f__("log", "at pages/login/callback.vue:109", "!!!!!!!!!!!!!!!!!!!!!!!", data2); + }).catch((err) => { + common_vendor.index.__f__("error", "at pages/login/callback.vue:112", "请求失败:", err); + }); + getjigou(); + }); + }; + const jigouArray = common_vendor.ref([]); + const getjigou = () => { + const url = `https://www.focusnu.com/nursing-unit/sys/sysDepart/queryInstitutionsList`; + fetch(url).then((res) => res.json()).then((data) => { + jigouArray.value = [...data]; + common_vendor.index.__f__("log", "at pages/login/callback.vue:127", "机构打印", jigouArray.value); + }); + }; + const secondArray = common_vendor.ref([]); + const jigouClick = (element) => { + const url = `${element.serverUrl}/h5Api/nuBaseInfo/list`; + fetch(url).then((res) => res.json()).then((data) => { + secondArray.value = [...data.result]; + }); + common_vendor.index.setStorage({ + key: "serverUrl", + data: { + url: element.serverUrl + } + }); + const urlpost = `https://www.focusnu.com/nursing-unit/h5Api/nuBizAdvisoryInfo/editNuBizAdvisoryInfo`; + const payload = { + openId: ceshi.openid, + serverUrl: element.serverUrl + }; + common_vendor.index.__f__("log", "at pages/login/callback.vue:149", "???/", payload); + fetch(urlpost, { + method: "POST", + headers: { + "Content-Type": "application/json" + }, + body: JSON.stringify(payload) + }).then((res) => res.json()).then((data) => { + common_vendor.index.__f__("log", "at pages/login/callback.vue:160", "???", data); + }).catch((err) => { + common_vendor.index.__f__("error", "at pages/login/callback.vue:163", "请求失败:", err); + }); + }; + common_vendor.onLoad(() => { + var _a; + const href = window.location.href; + const queryString = (_a = href.split("?")[1]) == null ? void 0 : _a.split("#")[0]; + const query = {}; + if (queryString) { + queryString.split("&").forEach((pair) => { + const [key, value] = pair.split("="); + query[key] = decodeURIComponent(value); + }); + } + common_vendor.index.__f__("log", "at pages/login/callback.vue:178", "解析到的 query 参数:", query); + if (query.code) { + getOpenId(query.code); + } + }); + return (_ctx, _cache) => { + return { + a: common_vendor.t(ceshi.name), + b: common_vendor.t(ceshi.openid), + c: common_vendor.f(jigouArray.value, (item, index, i0) => { + return { + a: common_vendor.t(item.departName), + b: common_vendor.o(($event) => jigouClick(item), index), + c: `https://www.focusnu.com/nursing-unit/sys/common/static/${item.picUrl}`, + d: index + }; + }), + d: common_vendor.f(secondArray.value, (item, index, i0) => { + return { + a: common_vendor.t(item.nuName), + b: index, + c: common_vendor.o(jumpto, index) + }; + }) + }; + }; + } +}; +const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-47aa4dce"]]); +wx.createPage(MiniProgramPage); +//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/login/callback.js.map diff --git a/unpackage/dist/dev/mp-weixin/pages/login/callback.json b/unpackage/dist/dev/mp-weixin/pages/login/callback.json new file mode 100644 index 0000000..e301e43 --- /dev/null +++ b/unpackage/dist/dev/mp-weixin/pages/login/callback.json @@ -0,0 +1,4 @@ +{ + "navigationBarTitleText": "登录", + "usingComponents": {} +} \ No newline at end of file diff --git a/unpackage/dist/dev/mp-weixin/pages/login/callback.wxml b/unpackage/dist/dev/mp-weixin/pages/login/callback.wxml new file mode 100644 index 0000000..eb1a3a7 --- /dev/null +++ b/unpackage/dist/dev/mp-weixin/pages/login/callback.wxml @@ -0,0 +1 @@ + 回调成功{{a}}{{b}} {{item.a}}{{item.a}} \ No newline at end of file diff --git a/unpackage/dist/dev/mp-weixin/pages/login/callback.wxss b/unpackage/dist/dev/mp-weixin/pages/login/callback.wxss new file mode 100644 index 0000000..8c3195d --- /dev/null +++ b/unpackage/dist/dev/mp-weixin/pages/login/callback.wxss @@ -0,0 +1,10 @@ + +.callback-container.data-v-47aa4dce { + padding: 24px; +} +.avatar.data-v-47aa4dce { + width: 80px; + height: 80px; + border-radius: 40px; + margin-top: 12px; +} diff --git a/unpackage/dist/dev/mp-weixin/pages/login/code.js b/unpackage/dist/dev/mp-weixin/pages/login/code.js new file mode 100644 index 0000000..2cd5b48 --- /dev/null +++ b/unpackage/dist/dev/mp-weixin/pages/login/code.js @@ -0,0 +1,120 @@ +"use strict"; +const common_vendor = require("../../common/vendor.js"); +const common_assets = require("../../common/assets.js"); +if (!Array) { + const _component_transition = common_vendor.resolveComponent("transition"); + _component_transition(); +} +const _sfc_main = { + __name: "code", + setup(__props) { + const phonenumber = common_vendor.ref(""); + const captcha = common_vendor.ref(["", "", "", ""]); + const focusedIndex = common_vendor.ref(0); + const isFadingOut = common_vendor.ref(false); + const maskColor = common_vendor.ref("rgba(0, 0, 0, 0.5)"); + function closeModal() { + isFadingOut.value = false; + } + const handleInput = (index) => { + if (captcha.value[index]) { + if (index < 3) { + focusedIndex.value = index + 1; + } + } + let isFour = true; + captcha.value.forEach((number) => { + if (!number) { + isFour = false; + } + }); + common_vendor.nextTick$1(() => { + if (isFour) { + submitCaptcha(); + } + }); + }; + const handleKeydown = (index, event) => { + if (event.key === "Backspace" && !captcha.value[index]) { + if (index > 0) { + focusedIndex.value = index - 1; + } + } + }; + const submitCaptcha = () => { + const code = captcha.value.join(""); + if (code.length === 4) { + common_vendor.index.__f__("log", "at pages/login/code.vue:118", "提交验证码:", code); + common_vendor.index.reLaunch({ + url: `/pages/index/index` + }); + } else { + common_vendor.index.__f__("log", "at pages/login/code.vue:125", "验证码未输入完整"); + } + }; + const getcode = () => { + const url = `https://www.focusnu.com/nursing-unit/sys/randomImage/${Date.now()}`; + fetch(url).then((res) => res.json()).then((data) => { + common_vendor.index.__f__("log", "at pages/login/code.vue:152", "code测试", data); + }); + }; + const countdown = common_vendor.ref(60); + let timerId = null; + common_vendor.onUnmounted(() => { + if (timerId) { + clearInterval(timerId); + } + }); + common_vendor.onLoad((options) => { + phonenumber.value = options.phonenumber; + getcode(); + countdown.value = 60; + timerId = setInterval(() => { + if (countdown.value > 0) { + countdown.value--; + } else { + clearInterval(timerId); + timerId = null; + } + }, 1e3); + }); + return (_ctx, _cache) => { + return common_vendor.e({ + a: common_assets._imports_0, + b: common_assets._imports_1, + c: common_assets._imports_2, + d: common_vendor.t(phonenumber.value), + e: common_vendor.f(captcha.value, (digit, index, i0) => { + return { + a: index < 3 ? "" : " ", + b: common_vendor.o([($event) => captcha.value[index] = $event.detail.value, index, ($event) => handleInput(index), index], index), + c: common_vendor.o(($event) => handleKeydown(index, $event), index), + d: focusedIndex.value === index, + e: captcha.value[index], + f: index + }; + }), + f: !countdown.value, + g: common_vendor.t(countdown.value), + h: countdown.value, + i: common_vendor.o(($event) => isFadingOut.value = true), + j: isFadingOut.value + }, isFadingOut.value ? { + k: common_vendor.o(closeModal), + l: maskColor.value + } : {}, { + m: common_vendor.p({ + name: "fade" + }), + n: isFadingOut.value + }, isFadingOut.value ? {} : {}, { + o: common_vendor.p({ + name: "slide-up" + }) + }); + }; + } +}; +const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-7f72106f"]]); +wx.createPage(MiniProgramPage); +//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/login/code.js.map diff --git a/unpackage/dist/dev/mp-weixin/pages/login/code.json b/unpackage/dist/dev/mp-weixin/pages/login/code.json new file mode 100644 index 0000000..e301e43 --- /dev/null +++ b/unpackage/dist/dev/mp-weixin/pages/login/code.json @@ -0,0 +1,4 @@ +{ + "navigationBarTitleText": "登录", + "usingComponents": {} +} \ No newline at end of file diff --git a/unpackage/dist/dev/mp-weixin/pages/login/code.wxml b/unpackage/dist/dev/mp-weixin/pages/login/code.wxml new file mode 100644 index 0000000..7114952 --- /dev/null +++ b/unpackage/dist/dev/mp-weixin/pages/login/code.wxml @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/unpackage/dist/dev/mp-weixin/pages/login/code.wxss b/unpackage/dist/dev/mp-weixin/pages/login/code.wxss new file mode 100644 index 0000000..41f1d5e --- /dev/null +++ b/unpackage/dist/dev/mp-weixin/pages/login/code.wxss @@ -0,0 +1,270 @@ +/** + * 这里是uni-app内置的常用样式变量 + * + * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 + * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App + * + */ +/** + * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 + * + * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 + */ +/* 颜色变量 */ +/* 行为相关颜色 */ +/* 文字基本颜色 */ +/* 背景颜色 */ +/* 边框颜色 */ +/* 尺寸变量 */ +/* 文字尺寸 */ +/* 图片尺寸 */ +/* Border Radius */ +/* 水平间距 */ +/* 垂直间距 */ +/* 透明度 */ +/* 文章场景相关 */ +.login-container.data-v-7f72106f { + display: flex; + flex-direction: column; + min-height: 100vh; + width: 100%; + background-color: #eff1fc; + position: relative; +} +.login-container .title.data-v-7f72106f { + margin-top: 70rpx; + align-items: center; +} +.login-container .title .title-imge.data-v-7f72106f { + width: 100rpx; + height: 105rpx; + margin-left: 100rpx; +} +.login-container .title .title-font.data-v-7f72106f { + font-size: 35rpx; + font-weight: 600; + margin-left: 105rpx; + margin-top: 10rpx; +} +.login-container .photo-imge.data-v-7f72106f { + position: absolute; + top: 120rpx; + left: 0; + width: 100%; + height: 1100rpx; +} +.login-container .old-imge.data-v-7f72106f { + position: absolute; + right: 30rpx; + top: 400rpx; + width: 400rpx; + height: 400rpx; +} +.login-container .under-container.data-v-7f72106f { + position: fixed; + left: 0; + bottom: 0; + width: 100%; + height: 45vh; + background-color: #fff; + border-top-left-radius: 50rpx; + border-top-right-radius: 50rpx; + box-shadow: 10rpx 10rpx 20rpx rgba(0, 0, 0, 0.1); + display: flex; + flex-direction: column; + color: #5A607F; +} +.login-container .under-container .radio-circle.data-v-7f72106f { + position: relative; + margin-top: 2rpx; + width: 40rpx; + height: 40rpx; + border-radius: 50%; + border: 2rpx solid #C0C5D9; + background-color: transparent; +} +.login-container .under-container .radio-circle-target.data-v-7f72106f { + position: relative; + margin-top: 2rpx; + width: 40rpx; + height: 40rpx; + border-radius: 50%; + border: 2rpx solid #C0C5D9; + background-color: transparent; +} +.login-container .under-container .radio-circle-target.data-v-7f72106f::after { + content: ""; + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + width: 30rpx; + height: 30rpx; + background-color: #00C9FF; + border-radius: 50%; +} +.under-container-title.data-v-7f72106f { + margin-top: 50rpx; + margin-bottom: 20rpx; + font-size: 25rpx; + font-weight: 500; + width: 100%; +} +.under-container-title .code-title.data-v-7f72106f { + margin-left: 80rpx; + font-size: 35rpx; + color: black; + font-weight: 500; + margin-bottom: 20rpx; +} +.under-container-title .code-number.data-v-7f72106f { + margin-left: 80rpx; + font-size: 28rpx; + margin-bottom: 20rpx; +} +.captcha-container.data-v-7f72106f { + display: flex; + flex-direction: column; + align-items: center; + margin-top: 20rpx; +} +.captcha-box.data-v-7f72106f { + display: flex; + justify-content: space-between; + margin-bottom: 20rpx; +} +.captcha-item.data-v-7f72106f { + display: flex; + justify-content: center; + align-items: center; +} +.captcha-input.data-v-7f72106f { + width: 110rpx; + height: 110rpx; + border: 3rpx solid #C0C5D9; + border-radius: 30rpx; + font-size: 50rpx; + font-weight: 700; + text-align: center; + margin-right: 40rpx; + outline: none; +} +.captcha-input.data-v-7f72106f:focus { + border-color: #00C9FF; +} +.right-blue.data-v-7f72106f { + color: #0083FF; + margin-left: 60rpx; +} +.right-white.data-v-7f72106f { + color: #c2c6d3; + margin-left: 60rpx; +} +.right-black.data-v-7f72106f { + margin-right: 80rpx; + color: black; +} +.under-view.data-v-7f72106f { + width: 100%; + margin-top: 10rpx; + display: flex; + justify-content: space-between; +} + +/* 遮罩 */ +.overlay.data-v-7f72106f { + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 100%; + z-index: 998; +} + +/* 弹窗 */ +.modal.data-v-7f72106f { + position: fixed; + bottom: 0; + left: 0; + width: 100%; + background-color: #fff; + z-index: 999; + border-top-left-radius: 50rpx; + border-top-right-radius: 50rpx; + width: 100%; + height: 500rpx; + display: flex; + flex-direction: column; + align-items: center; +} +.modal .modal-title.data-v-7f72106f { + font-size: 32rpx; + font-weight: 700; + margin: 50rpx 0; + margin-bottom: 30rpx; +} +.modal .model-p.data-v-7f72106f { + padding: 0 50rpx; + width: 100%; + font-size: 30rpx; +} +.modal .model-down.data-v-7f72106f { + display: flex; + width: 100%; + justify-content: space-between; + padding: 0 50rpx; + margin-top: 40rpx; +} +.modal .model-down .model-white.data-v-7f72106f { + border-radius: 50rpx; + width: 300rpx; + height: 95rpx; + border: 5rpx solid #008dff; + color: #008dff; + font-size: 35rpx; + display: flex; + justify-content: center; + align-items: center; +} +.modal .model-down .model-blue.data-v-7f72106f { + border-radius: 50rpx; + width: 300rpx; + height: 95rpx; + background: linear-gradient(to right, #00C9FF, #0076FF); + color: #fff; + font-size: 35rpx; + display: flex; + justify-content: center; + align-items: center; +} + +/* 动画:遮罩淡入淡出 */ +.fade-enter-active.data-v-7f72106f, +.fade-leave-active.data-v-7f72106f { + transition: opacity 0.3s; +} +.fade-enter-from.data-v-7f72106f, +.fade-leave-to.data-v-7f72106f { + opacity: 0; +} +.fade-enter-to.data-v-7f72106f, +.fade-leave-from.data-v-7f72106f { + opacity: 1; +} + +/* 动画:弹窗上滑 */ +.slide-up-enter-active.data-v-7f72106f, +.slide-up-leave-active.data-v-7f72106f { + transition: transform 0.3s; +} +.slide-up-enter-from.data-v-7f72106f, +.slide-up-leave-to.data-v-7f72106f { + transform: translateY(100%); +} +.slide-up-enter-to.data-v-7f72106f, +.slide-up-leave-from.data-v-7f72106f { + transform: translateY(0); +} +.text-view.data-v-7f72106f { + margin-bottom: 20rpx; +} \ No newline at end of file diff --git a/unpackage/dist/dev/mp-weixin/pages/login/index.js b/unpackage/dist/dev/mp-weixin/pages/login/index.js new file mode 100644 index 0000000..f0e3775 --- /dev/null +++ b/unpackage/dist/dev/mp-weixin/pages/login/index.js @@ -0,0 +1,71 @@ +"use strict"; +const common_vendor = require("../../common/vendor.js"); +const common_assets = require("../../common/assets.js"); +const compontent_useWeChatAuth = require("../../compontent/useWeChatAuth.js"); +if (!Array) { + const _component_transition = common_vendor.resolveComponent("transition"); + _component_transition(); +} +const _sfc_main = { + __name: "index", + setup(__props) { + const isTarget = common_vendor.ref(false); + const isFadingOut = common_vendor.ref(false); + compontent_useWeChatAuth.useWeChatAuth(); + const maskColor = common_vendor.ref("rgba(0, 0, 0, 0.5)"); + function closeModal() { + isFadingOut.value = false; + } + const loginIt = () => { + if (!isTarget.value) { + isFadingOut.value = true; + } else { + common_vendor.index.navigateTo({ + url: "/pages/login/phonebumber" + }); + } + }; + const jumpToPro = () => { + common_vendor.index.__f__("log", "at pages/login/index.vue:87", "????"); + common_vendor.index.navigateTo({ + url: "/pages/login/protocol" + }); + }; + return (_ctx, _cache) => { + return common_vendor.e({ + a: common_assets._imports_0, + b: common_assets._imports_1, + c: common_assets._imports_2, + d: common_vendor.n(isTarget.value ? "radio-circle-target" : "radio-circle"), + e: common_vendor.o(($event) => isTarget.value = !isTarget.value), + f: common_vendor.o(($event) => isTarget.value = !isTarget.value), + g: common_vendor.o(jumpToPro), + h: common_vendor.o(($event) => isTarget.value = !isTarget.value), + i: common_vendor.o(loginIt), + j: isFadingOut.value + }, isFadingOut.value ? { + k: common_vendor.o(closeModal), + l: maskColor.value + } : {}, { + m: common_vendor.p({ + name: "fade" + }), + n: isFadingOut.value + }, isFadingOut.value ? { + o: common_vendor.o(jumpToPro), + p: common_vendor.o(closeModal), + q: common_vendor.o(($event) => { + closeModal(); + isTarget.value = true; + }) + } : {}, { + r: common_vendor.p({ + name: "slide-up" + }) + }); + }; + } +}; +const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-d08ef7d4"]]); +wx.createPage(MiniProgramPage); +//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/login/index.js.map diff --git a/unpackage/dist/dev/mp-weixin/pages/login/index.json b/unpackage/dist/dev/mp-weixin/pages/login/index.json new file mode 100644 index 0000000..e301e43 --- /dev/null +++ b/unpackage/dist/dev/mp-weixin/pages/login/index.json @@ -0,0 +1,4 @@ +{ + "navigationBarTitleText": "登录", + "usingComponents": {} +} \ No newline at end of file diff --git a/unpackage/dist/dev/mp-weixin/pages/login/index.wxml b/unpackage/dist/dev/mp-weixin/pages/login/index.wxml new file mode 100644 index 0000000..5611443 --- /dev/null +++ b/unpackage/dist/dev/mp-weixin/pages/login/index.wxml @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/unpackage/dist/dev/mp-weixin/pages/login/index.wxss b/unpackage/dist/dev/mp-weixin/pages/login/index.wxss new file mode 100644 index 0000000..2f47d66 --- /dev/null +++ b/unpackage/dist/dev/mp-weixin/pages/login/index.wxss @@ -0,0 +1,227 @@ +/** + * 这里是uni-app内置的常用样式变量 + * + * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 + * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App + * + */ +/** + * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 + * + * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 + */ +/* 颜色变量 */ +/* 行为相关颜色 */ +/* 文字基本颜色 */ +/* 背景颜色 */ +/* 边框颜色 */ +/* 尺寸变量 */ +/* 文字尺寸 */ +/* 图片尺寸 */ +/* Border Radius */ +/* 水平间距 */ +/* 垂直间距 */ +/* 透明度 */ +/* 文章场景相关 */ +.login-container.data-v-d08ef7d4 { + display: flex; + flex-direction: column; + min-height: 100vh; + width: 100%; + background-color: #eff1fc; + position: relative; +} +.login-container .title.data-v-d08ef7d4 { + margin-top: 70rpx; + align-items: center; +} +.login-container .title .title-imge.data-v-d08ef7d4 { + width: 100rpx; + height: 105rpx; + margin-left: 100rpx; +} +.login-container .title .title-font.data-v-d08ef7d4 { + font-size: 35rpx; + font-weight: 600; + margin-left: 105rpx; + margin-top: 10rpx; +} +.login-container .photo-imge.data-v-d08ef7d4 { + position: absolute; + top: 120rpx; + left: 0; + width: 100%; + height: 1100rpx; +} +.login-container .old-imge.data-v-d08ef7d4 { + position: absolute; + right: 30rpx; + top: 400rpx; + width: 400rpx; + height: 400rpx; +} +.login-container .under-container.data-v-d08ef7d4 { + position: fixed; + left: 0; + bottom: 0; + width: 100%; + height: 45vh; + background-color: #fff; + border-top-left-radius: 50rpx; + border-top-right-radius: 50rpx; + box-shadow: 10rpx 10rpx 20rpx rgba(0, 0, 0, 0.1); + display: flex; + flex-direction: column; + align-items: center; +} +.login-container .under-container .radio-circle.data-v-d08ef7d4 { + position: relative; + margin-top: 2rpx; + width: 40rpx; + height: 40rpx; + border-radius: 50%; + border: 2rpx solid #C0C5D9; + background-color: transparent; +} +.login-container .under-container .radio-circle-target.data-v-d08ef7d4 { + position: relative; + margin-top: 2rpx; + width: 40rpx; + height: 40rpx; + border-radius: 50%; + border: 2rpx solid #C0C5D9; + background-color: transparent; +} +.login-container .under-container .radio-circle-target.data-v-d08ef7d4::after { + content: ""; + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + width: 30rpx; + height: 30rpx; + background-color: #00C9FF; + border-radius: 50%; +} +.under-container-title.data-v-d08ef7d4 { + display: flex; + margin-top: 60rpx; + margin-bottom: 40rpx; + align-items: center; + font-size: 25rpx; + font-weight: 500; +} +.under-container-title .radio-circle-blue.data-v-d08ef7d4 { + color: #0083FF; + margin-top: 3rpx; +} +.under-container-title .radio-circle-font.data-v-d08ef7d4 { + color: #5A607F; + margin-top: 3rpx; +} +.button-blue.data-v-d08ef7d4 { + width: 80%; + display: flex; + justify-content: center; + align-items: center; + height: 100rpx; + border-radius: 43rpx; + background: linear-gradient(to right, #00C9FF, #0076FF); + color: #fff; + font-size: 33rpx; + margin-bottom: 30rpx; +} + +/* 遮罩 */ +.overlay.data-v-d08ef7d4 { + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 100%; + z-index: 998; +} + +/* 弹窗 */ +.modal.data-v-d08ef7d4 { + position: fixed; + bottom: 0; + left: 0; + width: 100%; + background-color: #fff; + z-index: 999; + border-top-left-radius: 50rpx; + border-top-right-radius: 50rpx; + width: 100%; + height: 500rpx; + display: flex; + flex-direction: column; + align-items: center; +} +.modal .modal-title.data-v-d08ef7d4 { + font-size: 32rpx; + font-weight: 700; + margin: 50rpx 0; +} +.modal .model-p.data-v-d08ef7d4 { + padding: 0 50rpx; + width: 100%; + font-size: 30rpx; +} +.modal .model-down.data-v-d08ef7d4 { + display: flex; + width: 100%; + justify-content: space-between; + padding: 0 50rpx; + margin-top: 40rpx; +} +.modal .model-down .model-white.data-v-d08ef7d4 { + border-radius: 50rpx; + width: 300rpx; + height: 95rpx; + border: 5rpx solid #008dff; + color: #008dff; + font-size: 35rpx; + display: flex; + justify-content: center; + align-items: center; +} +.modal .model-down .model-blue.data-v-d08ef7d4 { + border-radius: 50rpx; + width: 300rpx; + height: 95rpx; + background: linear-gradient(to right, #00C9FF, #0076FF); + color: #fff; + font-size: 35rpx; + display: flex; + justify-content: center; + align-items: center; +} + +/* 动画:遮罩淡入淡出 */ +.fade-enter-active.data-v-d08ef7d4, +.fade-leave-active.data-v-d08ef7d4 { + transition: opacity 0.3s; +} +.fade-enter-from.data-v-d08ef7d4, +.fade-leave-to.data-v-d08ef7d4 { + opacity: 0; +} +.fade-enter-to.data-v-d08ef7d4, +.fade-leave-from.data-v-d08ef7d4 { + opacity: 1; +} + +/* 动画:弹窗上滑 */ +.slide-up-enter-active.data-v-d08ef7d4, +.slide-up-leave-active.data-v-d08ef7d4 { + transition: transform 0.3s; +} +.slide-up-enter-from.data-v-d08ef7d4, +.slide-up-leave-to.data-v-d08ef7d4 { + transform: translateY(100%); +} +.slide-up-enter-to.data-v-d08ef7d4, +.slide-up-leave-from.data-v-d08ef7d4 { + transform: translateY(0); +} \ No newline at end of file diff --git a/unpackage/dist/dev/mp-weixin/pages/login/phonebumber.js b/unpackage/dist/dev/mp-weixin/pages/login/phonebumber.js new file mode 100644 index 0000000..63aa366 --- /dev/null +++ b/unpackage/dist/dev/mp-weixin/pages/login/phonebumber.js @@ -0,0 +1,52 @@ +"use strict"; +const common_vendor = require("../../common/vendor.js"); +const common_assets = require("../../common/assets.js"); +if (!Math) { + huakuai(); +} +const huakuai = () => "../../compontent/public/huakuai.js"; +const _sfc_main = { + __name: "phonebumber", + setup(__props) { + const huakuaiOpen = common_vendor.ref(false); + const jumpto = () => { + common_vendor.index.navigateTo({ + url: `/pages/login/code?phonenumber=${phonenumber.value}` + }); + }; + function is11DigitNumber(value) { + return /^\d{11}$/.test(value.toString()); + } + const phonenumber = common_vendor.ref(""); + const canClick = common_vendor.ref(false); + const isRight = (res) => { + common_vendor.index.__f__("log", "at pages/login/phonebumber.vue:60", "????", res.detail.value); + if (is11DigitNumber(res.detail.value)) { + phonenumber.value = res.detail.value; + canClick.value = true; + } else { + canClick.value = false; + } + }; + return (_ctx, _cache) => { + return common_vendor.e({ + a: common_assets._imports_0, + b: common_assets._imports_1, + c: common_assets._imports_2, + d: common_vendor.o(isRight), + e: common_vendor.o(($event) => huakuaiOpen.value = true), + f: canClick.value, + g: common_vendor.o(jumpto), + h: !canClick.value, + i: huakuaiOpen.value + }, huakuaiOpen.value ? { + j: common_vendor.o(() => { + }), + k: common_vendor.o(($event) => huakuaiOpen.value = false) + } : {}); + }; + } +}; +const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-94511ff7"]]); +wx.createPage(MiniProgramPage); +//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/login/phonebumber.js.map diff --git a/unpackage/dist/dev/mp-weixin/pages/login/phonebumber.json b/unpackage/dist/dev/mp-weixin/pages/login/phonebumber.json new file mode 100644 index 0000000..f30bfe5 --- /dev/null +++ b/unpackage/dist/dev/mp-weixin/pages/login/phonebumber.json @@ -0,0 +1,6 @@ +{ + "navigationBarTitleText": "登录", + "usingComponents": { + "huakuai": "../../compontent/public/huakuai" + } +} \ No newline at end of file diff --git a/unpackage/dist/dev/mp-weixin/pages/login/phonebumber.wxml b/unpackage/dist/dev/mp-weixin/pages/login/phonebumber.wxml new file mode 100644 index 0000000..8f1309f --- /dev/null +++ b/unpackage/dist/dev/mp-weixin/pages/login/phonebumber.wxml @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/unpackage/dist/dev/mp-weixin/pages/login/phonebumber.wxss b/unpackage/dist/dev/mp-weixin/pages/login/phonebumber.wxss new file mode 100644 index 0000000..dc83d2c --- /dev/null +++ b/unpackage/dist/dev/mp-weixin/pages/login/phonebumber.wxss @@ -0,0 +1,218 @@ +/** + * 这里是uni-app内置的常用样式变量 + * + * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 + * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App + * + */ +/** + * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 + * + * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 + */ +/* 颜色变量 */ +/* 行为相关颜色 */ +/* 文字基本颜色 */ +/* 背景颜色 */ +/* 边框颜色 */ +/* 尺寸变量 */ +/* 文字尺寸 */ +/* 图片尺寸 */ +/* Border Radius */ +/* 水平间距 */ +/* 垂直间距 */ +/* 透明度 */ +/* 文章场景相关 */ +.login-container.data-v-94511ff7 { + display: flex; + flex-direction: column; + min-height: 100vh; + width: 100%; + background-color: #eff1fc; + position: relative; +} +.login-container .title.data-v-94511ff7 { + margin-top: 70rpx; + align-items: center; +} +.login-container .title .title-imge.data-v-94511ff7 { + width: 100rpx; + height: 105rpx; + margin-left: 100rpx; +} +.login-container .title .title-font.data-v-94511ff7 { + font-size: 35rpx; + font-weight: 600; + margin-left: 105rpx; + margin-top: 10rpx; +} +.login-container .photo-imge.data-v-94511ff7 { + position: absolute; + top: 120rpx; + left: 0; + width: 100%; + height: 1100rpx; +} +.login-container .old-imge.data-v-94511ff7 { + position: absolute; + right: 30rpx; + top: 400rpx; + width: 400rpx; + height: 400rpx; +} +.login-container .under-container.data-v-94511ff7 { + position: fixed; + left: 0; + bottom: 0; + width: 100%; + height: 45vh; + background-color: #fff; + border-top-left-radius: 50rpx; + border-top-right-radius: 50rpx; + box-shadow: 10rpx 10rpx 20rpx rgba(0, 0, 0, 0.1); + display: flex; + flex-direction: column; + align-items: center; +} +.login-container .under-container .radio-circle.data-v-94511ff7 { + position: relative; + margin-top: 2rpx; + width: 40rpx; + height: 40rpx; + border-radius: 50%; + border: 2rpx solid #C0C5D9; + background-color: transparent; +} +.login-container .under-container .radio-circle-target.data-v-94511ff7 { + position: relative; + margin-top: 2rpx; + width: 40rpx; + height: 40rpx; + border-radius: 50%; + border: 2rpx solid #C0C5D9; + background-color: transparent; +} +.login-container .under-container .radio-circle-target.data-v-94511ff7::after { + content: ""; + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + width: 30rpx; + height: 30rpx; + background-color: #00C9FF; + border-radius: 50%; +} +.under-container-title.data-v-94511ff7 { + display: flex; + margin-top: 60rpx; + margin-bottom: 60rpx; + align-items: center; + justify-content: center; + font-size: 25rpx; + font-weight: 500; + width: 100%; +} +.under-container-title .radio-circle-blue.data-v-94511ff7 { + color: #0083FF; + margin-top: 3rpx; +} +.under-container-title .radio-circle-font.data-v-94511ff7 { + color: #5A607F; + margin-left: 18rpx; + margin-top: 3rpx; +} +.under-container-title .under-container-input.data-v-94511ff7 { + width: 80%; + display: flex; + align-items: center; + height: 100rpx; + border-radius: 43rpx; + color: #5A607F; + font-size: 33rpx; + border: 2rpx solid #C0C5D9; +} +.under-container-title .under-container-input .input-left.data-v-94511ff7 { + margin: 0 30rpx; +} +.button-gray.data-v-94511ff7 { + width: 80%; + display: flex; + justify-content: center; + align-items: center; + height: 100rpx; + border-radius: 43rpx; + background-color: #bcbcbc; + color: #fff; + font-size: 33rpx; + margin-bottom: 30rpx; +} +.button-white.data-v-94511ff7 { + width: 80%; + display: flex; + justify-content: center; + align-items: center; + height: 100rpx; + border-radius: 43rpx; + color: #5A607F; + font-size: 33rpx; + margin-bottom: 30rpx; + border: 2rpx solid #C0C5D9; +} +.button-blue.data-v-94511ff7 { + width: 80%; + display: flex; + justify-content: center; + align-items: center; + height: 100rpx; + border-radius: 43rpx; + background: linear-gradient(to right, #00C9FF, #0076FF); + color: #fff; + font-size: 33rpx; + margin-bottom: 30rpx; +} +.bubble.data-v-94511ff7 { + transition: opacity 1s ease-out; + position: absolute; + left: 25rpx; + top: -5rpx; + background-color: black; + color: white; + padding: 10rpx; + border-radius: 10rpx; + font-size: 23rpx; + box-shadow: 2rpx 2rpx 5rpx rgba(0, 0, 0, 0.2); + pointer-events: none; + opacity: 1; + /* 初始为可见 */ +} +.bubble.data-v-94511ff7::after { + transition: opacity 1s ease-out; + content: ""; + position: absolute; + left: 50%; + bottom: -8rpx; + border-left: 10rpx solid transparent; + border-right: 10rpx solid transparent; + border-top: 10rpx solid black; + transform: translateX(-50%); +} + +/* 隐藏气泡 */ +.bubble.hidden.data-v-94511ff7 { + opacity: 0; +} +.bg-mask.data-v-94511ff7 { + position: fixed; + top: 0; + left: 0; + width: 100vw; + height: 100vh; + background: rgba(0, 0, 0, 0.3); + -webkit-backdrop-filter: blur(5rpx); + backdrop-filter: blur(5rpx); + z-index: 998; + display: flex; + justify-content: center; + align-items: center; +} \ No newline at end of file diff --git a/unpackage/dist/dev/mp-weixin/pages/login/protocol.js b/unpackage/dist/dev/mp-weixin/pages/login/protocol.js new file mode 100644 index 0000000..1c22901 --- /dev/null +++ b/unpackage/dist/dev/mp-weixin/pages/login/protocol.js @@ -0,0 +1,9 @@ +"use strict"; +const common_vendor = require("../../common/vendor.js"); +const _sfc_main = {}; +function _sfc_render(_ctx, _cache) { + return {}; +} +const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-d224a900"]]); +wx.createPage(MiniProgramPage); +//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/login/protocol.js.map diff --git a/unpackage/dist/dev/mp-weixin/pages/login/protocol.json b/unpackage/dist/dev/mp-weixin/pages/login/protocol.json new file mode 100644 index 0000000..6ae7b41 --- /dev/null +++ b/unpackage/dist/dev/mp-weixin/pages/login/protocol.json @@ -0,0 +1,4 @@ +{ + "navigationBarTitleText": "护理单元使用条款", + "usingComponents": {} +} \ No newline at end of file diff --git a/unpackage/dist/dev/mp-weixin/pages/login/protocol.wxml b/unpackage/dist/dev/mp-weixin/pages/login/protocol.wxml new file mode 100644 index 0000000..759fe97 --- /dev/null +++ b/unpackage/dist/dev/mp-weixin/pages/login/protocol.wxml @@ -0,0 +1 @@ + 护理单元隐私条款   本《护理单元隐私条款》(以下简称“本条款”)为用户在登录并使用本护理单元(包括网站、App及相关服务)时必须共同遵守的法律协议。请您在使用本护理单元前,认真阅读并充分理解本条款全部内容,如您不同意本条款任何内容,请勿登录或使用本护理单元。一、总则1.1 本护理单元由[公司名称](以下简称“本平台”)提供维护,具有独立运营权。1.2 用户是指注册、登录并使用本护理单元的机构、医护人员及相关人员,您在注册或登录时提交的信息应真实、准确、完整,并对其真实性负责。1.3 本条款构成用户与本平台之间关于护理单元使用的完整协议,除本条款外,用户与本平台可能不另行签署其他协议。二、服务内容2.1 本平台为用户提供以下主要服务:a) 护理计划制定与管理;b) 病人信息记录与查询;c) 护理任务分派与跟踪;d) 护理质量考核与评估;e) 其他相关护理支持服务。2.2 本平台可根据业务发展和技术需求,不时调整、本条款所描述的服务内容并在平台界面或其他适当位置予以公告。三、用户权利与义务3.1 用户有权按照本条款、平台规则及法律法规的相关规定,使用本平台提供的各项服务。3.2 用户应按照本平台要求,妥善保管登录账户及密码,不得将账户转借、转让或泄露给他人。如因账户外泄导致的任何损失,由用户自行承担。3.3 用户在使用本平台时,应遵守国家法律法规及行业规范,不得利用本平台从事下列行为:a) 侵犯他人合法权益的行为;b) 发布或传播违法、淫秽、暴力或其他不良信息;c) 非法获取、使用或披露他人隐私信息;d) 利用本平台实施任何违法或不当行为。3.4 用户保证对上传、发布至本平台的所有资料及信息拥有合法权利。如因用户发布的信息引发任何纠纷或法律责任,与本平台无关,概由用户自行承担。四、隐私与数据保护4.1 本平台依法收集、使用、存储和保护用户的个人信息与病人健康信息,并采取合理的技术和管理措施,防止信息泄露、损毁或被非法访问。4.2 未经用户同意,本平台不会向任何第三方披露用户个人信息,但法律法规另有规定或司法机关、行政机关依职权要求的除外。4.3 用户同意本平台在执行业务过程中,对用户及病人信息进行处理与统计,并用于优化服务、产品研发及内部管理等用途。五、使用规范5.1 用户应在具备相应资格或授权的前提下使用本平台的专业护理模块。5.2 平台仅为辅助工具,用户在实际护理过程中,应结合临床实际情况及专业判断,不得完全依赖平台数据而忽视专业判断。5.3 用户应合理使用系统资源,不得恶意攻击、干扰或破坏本平台的正常运行。六、免责声明6.1 本平台对因本款项原因导致的服务中断、延迟或数据丢失不承担责任,但将尽最大努力恢复服务并减少损失。6.2 本平台对因技术故障、停电、通讯线路中断、第三方服务故障、不可抗力等原因导致的服务中断或其他问题不承担责任。6.3 本平台对用户因使用本平台服务而产生的任何间接、附带、特殊或惩罚性损害赔偿不承担责任。七、知识产权7.1 本平台及其所提供服务中的所有内容(包括文字、图片、图表、界面设计、程序等)的著作权、专利权、 商标权益及其他知识产权,均归本平台或相关权利人所有。7.2 未经本平台事先书面许可,用户不得擅自复制、改编、发布、传播或以其他方式使用上述内容。八、协议变更与终止8.1 本平台有权根据业务发展需要,不时修订本条款并在平台界面或其他适当位置予以公告。修订后的条款自公告之日起生效。8.2 如用户不接受修订后的条款,应停止使用本平台。如继续使用,视为接受修订后的条款。8.3 本平台有权在用户严重违反本条款或法律法规的情况下,暂停或终止向该用户提供服务,并保留追究其法律责任的权利。九、争议解决9.1 本条款的解释、效力及纠纷解决,适用中华人民共和国法律。9.2 因本条款或因使用本平台服务产生的任何争议,双方应友好协商解决;协商不成时,任一方可向本平台所在地有管辖权的人民法院提起诉讼。十、其他10.1 如本条款某一条款被有权机关认定为无效或不可执行,不影响其他条款的有效性。10.2 本条款自用户在登录界面点击“同意”并登录成功之日起生效。 \ No newline at end of file diff --git a/unpackage/dist/dev/mp-weixin/pages/login/protocol.wxss b/unpackage/dist/dev/mp-weixin/pages/login/protocol.wxss new file mode 100644 index 0000000..cb86b1b --- /dev/null +++ b/unpackage/dist/dev/mp-weixin/pages/login/protocol.wxss @@ -0,0 +1,38 @@ +/** + * 这里是uni-app内置的常用样式变量 + * + * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 + * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App + * + */ +/** + * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 + * + * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 + */ +/* 颜色变量 */ +/* 行为相关颜色 */ +/* 文字基本颜色 */ +/* 背景颜色 */ +/* 边框颜色 */ +/* 尺寸变量 */ +/* 文字尺寸 */ +/* 图片尺寸 */ +/* Border Radius */ +/* 水平间距 */ +/* 垂直间距 */ +/* 透明度 */ +/* 文章场景相关 */ +.font-father.data-v-d224a900 { + width: 100%; + padding: 0 50rpx; + display: flex; + justify-content: center; + align-items: center; + flex-direction: column; +} +.font-father .font-title.data-v-d224a900 { + font-size: 35rpx; + font-weight: 700; + margin: 20rpx 0; +} \ No newline at end of file diff --git a/unpackage/dist/dev/mp-weixin/static/login/0.png b/unpackage/dist/dev/mp-weixin/static/login/0.png new file mode 100644 index 0000000..f9e7677 Binary files /dev/null and b/unpackage/dist/dev/mp-weixin/static/login/0.png differ diff --git a/unpackage/dist/dev/mp-weixin/static/login/1.png b/unpackage/dist/dev/mp-weixin/static/login/1.png new file mode 100644 index 0000000..f494ea7 Binary files /dev/null and b/unpackage/dist/dev/mp-weixin/static/login/1.png differ diff --git a/unpackage/dist/dev/mp-weixin/static/login/2.png b/unpackage/dist/dev/mp-weixin/static/login/2.png new file mode 100644 index 0000000..428d63d Binary files /dev/null and b/unpackage/dist/dev/mp-weixin/static/login/2.png differ diff --git a/unpackage/dist/dev/mp-weixin/static/login/3.png b/unpackage/dist/dev/mp-weixin/static/login/3.png new file mode 100644 index 0000000..a4a24f1 Binary files /dev/null and b/unpackage/dist/dev/mp-weixin/static/login/3.png differ